blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
213 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
246 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
be1f066283f5fc6153faa4a33622e7bcf627724c
0bb474290e13814c2498c086780da5096453da05
/code-festival-2018-final/E/main.py
dbd827d56fd4197001f45e30c3085466ba045326
[]
no_license
ddtkra/atcoder
49b6205bf1bf6a50106b4ae94d2206a324f278e0
eb57c144b5c2dbdd4abc432ecd8b1b3386244e30
refs/heads/master
2022-01-25T15:38:10.415959
2020-03-18T09:22:08
2020-03-18T09:22:08
208,825,724
1
0
null
2022-01-21T20:10:20
2019-09-16T14:51:01
Python
UTF-8
Python
false
false
516
py
#!/usr/bin/env python3 import sys sys.setrecursionlimit(10000000) INF = 1<<32 def solve(N: int, K: int, A: "List[int]"): return def main(): def iterate_tokens(): for line in sys.stdin: for word in line.split(): yield word tokens = iterate_tokens() N = int(next(to...
[ "deritefully@gmail.com" ]
deritefully@gmail.com
b865161161cec01eff6c0fb80ba8e1ae7bf8b6a4
5d35e0adfb6316535900fd9aeb21fc349913dd6a
/venv/bin/easy_install
411bd80da8591e098ed08e8c4d1e930da531e1d7
[]
no_license
coma2441/appnp_tf2
3e2ae0f3d073b5edbbd589a760f408732ff22da8
4ded26555e2e66869383b8d460016083941ea0f0
refs/heads/master
2020-12-19T14:06:52.943448
2020-01-23T12:34:13
2020-01-23T12:34:13
235,756,525
0
0
null
null
null
null
UTF-8
Python
false
false
446
#!/Users/changkyu/Documents/GitHub/appnp_tf2/venv/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==40.8.0','console_scripts','easy_install' __requires__ = 'setuptools==40.8.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)...
[ "changkyu.choi@uit.no" ]
changkyu.choi@uit.no
00836a0c635a9d150cd9e3ede019f8918f922dd2
b56fbf5308a5494c4064315767ee003771444f42
/Algorithm/0418_greedyicecream.py
9b222672c48c4565cb6ba6cf88193137d60503ea
[]
no_license
Universe-Liu/Python
9a25888581a3d395e5d83d3e7eb164d7d5c3e0e8
26f54f63be03896de9004b4451b6af211210154d
refs/heads/master
2023-04-27T17:57:36.640407
2021-05-14T02:40:31
2021-05-14T02:40:31
284,634,098
0
0
null
null
null
null
UTF-8
Python
false
false
329
py
costs=[1,6,3,1,2,5] coins=20 def maxIceCream(costs, coins) -> int: ans=0 s=0 costs.sort() if costs[0]>coins: return ans for i in range(len(costs)): if costs[i]+s<=coins: ans+=1 s+=costs[i] else: break return ans print(maxIceCream(cost...
[ "842124824@qq.com" ]
842124824@qq.com
108d08d36e676c7be42ed12baef6c44c616f1a23
cd2cb47552a5ee914898bb27e5a7eb02362c4e0d
/Restaurantapp/views.py
36a6ebe0d499d842bc71ab679841c705f83788fc
[]
no_license
Jap9/Django_Restaurant
02bcfb46d24bd83ea10bbc4c9db6c9b17a851396
9f9e0d36a1368f8fb7d9faf7a3be0c1586e69544
refs/heads/master
2021-01-10T16:33:50.811446
2016-04-30T12:44:07
2016-04-30T12:44:07
54,205,064
0
0
null
null
null
null
UTF-8
Python
false
false
1,331
py
from django.http import HttpResponse, HttpResponseRedirect from django.shortcuts import render, render_to_response from django.core.urlresolvers import reverse from django.utils import timezone from django.shortcuts import redirect from .models import Restaurant from forms import * def mainpage(request): rests ...
[ "josepalbertpifarre@gmail.com" ]
josepalbertpifarre@gmail.com
cf2843748fee2cf8c6e7fc097c62279e7a0f3867
6d348a21b8345ed7ce9a85a1a3859dbf5b1cf429
/conanfile.py
b122302a1a90c5bad32d7f6fb237551d77144f4d
[ "MIT" ]
permissive
lckroom/voxel-fluid
de535081177c86458223ce8254fff44621b10a13
3fd833629199cc0b31f0209b46b786aa9028a137
refs/heads/master
2023-03-17T09:22:58.117790
2018-11-17T23:22:35
2018-11-17T23:22:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
564
py
from conans import ConanFile, CMake class FluidConan(ConanFile): name = "Fluid" version = "0.1" settings = "os", "compiler", "build_type", "arch" options = {} requires = ( "gtest/1.8.0@lasote/stable", ) default_options = ( "gtest:shared=False", ) generators = "cmake...
[ "zoltan.gilian@gmail.com" ]
zoltan.gilian@gmail.com
dd2a5d08559fdd5c85eaf3cf498ca2a3e338c55d
f0e7e46e8eb1ade59e006f3fa4e0c7967f1750f1
/RPIServers/restartServers.py
8bde480b1990b61601c16ea594eed3e540a666dc
[]
no_license
flavioipp/RPIxmlrpc
3eec378e194804245c125b9c33f82d9545930056
1ad76cd08a4c0c2f0861e02c1cd740479d6bd05b
refs/heads/master
2021-09-10T06:28:58.039843
2018-03-21T15:15:27
2018-03-21T15:15:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,048
py
#!/usr/bin/env python3 import os import sys import time import ctypes import logging import logging.config from ansicolors import * from pexpect import pxssh BASE_DIR = os.path.dirname(os.path.abspath(__file__)) sys.path.append(BASE_DIR + '/..') from RPIServers import rpiConst userID=rpiConst.USER['id'] userPWD=...
[ "pi@raspberry.com" ]
pi@raspberry.com
af1869fbca418280a9fc8f31dec79b970cfeddaf
0141361f7c4d276f471ac278580479fa15bc4296
/arrayAndString/removeComments.py
710e9312eb976f20595fec8727a33ee4ad64cd2c
[]
no_license
tr1503/LeetCode
a7f2f1801c9424aa96d3cde497290ac1f7992f58
6d361cad2821248350f1d8432fdfef86895ca281
refs/heads/master
2021-06-24T19:03:08.681432
2020-10-09T23:53:22
2020-10-09T23:53:22
146,689,171
0
0
null
null
null
null
UTF-8
Python
false
false
1,093
py
class Solution: def removeComments(self, source): """ :type source: List[str] :rtype: List[str] """ res = [] comment = False out = "" for line in source: i = 0 while i < len(line): if not comment: ...
[ "noreply@github.com" ]
tr1503.noreply@github.com
78c05de618fa12839d79cf4cfc563337b93b099a
844b8a9d8ec1a2c93cc338deedc53eaf6426b2e0
/belote/client.py
668249ddd3f8bd387030e62a090333f90c0d34eb
[]
no_license
FlorianDenis/Belote
57e42625999d7e286f4d3cfa5a6ad71c9c11116b
b72e40c304249cbd2fbb659dbfe7a8796d823dd4
refs/heads/master
2023-03-20T03:03:10.997610
2021-03-01T21:52:27
2021-03-01T21:52:27
250,744,944
1
0
null
2020-04-12T15:32:55
2020-03-28T08:14:52
Python
UTF-8
Python
false
false
2,900
py
# # Copyright (C) Florian Denis - All Rights Reserved # Unauthorized copying of this file, via any medium is strictly prohibited. # Proprietary and confidential. # import logging import random import socket import os from . import constants from . import packet from . import player from . import transport from . impo...
[ "me@floriandenis.net" ]
me@floriandenis.net
f41a4712e424658046a063682bfa65d6740679ef
c19165ac2929a937265f456c339bfdecb899ca15
/Solucion/Obstaculo.py
d0601c5eb137e01bbc841778eb6d48051b391644
[]
no_license
kazp058/AlgoritmosGeneticos
41fd163d9e721ddb9259e97fcd9020567e6a85ae
c27773d0d33317a8f5b2296d7164207ac438e42f
refs/heads/master
2022-09-04T19:23:51.253673
2020-06-01T01:12:16
2020-06-01T01:12:16
268,134,725
0
0
null
null
null
null
UTF-8
Python
false
false
1,236
py
import pygame class Obstaculo(pygame.sprite.Sprite): def __init__(self, color, x, y, ancho, alto, izq): pygame.sprite.Sprite.__init__(self) self.ancho = ancho self.alto = alto self.izq = izq self.velocidad = 5 self.superficie = pygame.Surface((self.ancho, ...
[ "noreply@github.com" ]
kazp058.noreply@github.com
c7487eb0e9a609d76bda84a0c104a6502dc38533
a8e66df1408a9c44b0771c6a6085d6d6540e138d
/bookclubapp/migrations/0003_auto_20180530_1757.py
ffd99fca39972a0fb6f9651e620e99b59ee92afd
[]
no_license
Kiptim54/BookClub
6a1cabee174ce7286135ebd54b405f79851a02df
c0a28bc5a0d5a382da00cdd5b4cbbb431dc6991a
refs/heads/master
2020-03-19T01:18:51.419857
2018-06-04T14:50:16
2018-06-04T14:50:16
135,536,759
1
0
null
null
null
null
UTF-8
Python
false
false
759
py
# Generated by Django 2.0 on 2018-05-30 14:57 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('bookclubapp', '0002_auto_20180530_1730'), ] operations = [ migrations.AlterModelOptions( name='comment', options={'ord...
[ "kiptim54@gmail.com" ]
kiptim54@gmail.com
8f709f9485507eee939356065d8ac417c13155df
8f42a498f02abbfe05c8a99be45c4574f1eab8b4
/airline0/flights/migrations/0001_initial.py
e75f5c664b0914a1e886eec6e9f21af76d89f83e
[]
no_license
Noshi96/AirlineDjango
b20528d720f919035fcfad719a34657155b1bb24
bd6a2fd954187d1a8bf463a6f5f873fdbdd2f0e8
refs/heads/master
2023-08-30T20:23:51.592659
2021-10-26T19:40:16
2021-10-26T19:40:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,141
py
# Generated by Django 3.2.7 on 2021-09-16 14:48 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Airport', fields=[ ...
[ "2spawel2@gmail.com" ]
2spawel2@gmail.com
27b40f018874059501cc285337c05b7abc54e896
3aec6f08678f13bf3878bce77007f74cfe637773
/versions/1.1.0/lib/node_modules/slc/node_modules/sls-sample-app/node_modules/loopback-connector-oracle/node_modules/oracle/build/config.gypi
9deb7aba9050bc108a69eb3a04eb5960439c7489
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
lulinqing/sls-cartridge
93a32a1f1035901cf2a6699988c8b28b46ddad27
a0d704f69ad313a05825aa2be360c1d0dc4e6c79
refs/heads/master
2021-01-13T02:08:09.340281
2013-11-03T14:32:26
2013-11-03T14:32:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,968
gypi
# Do not edit. File was generated by node-gyp's "configure" step { "target_defaults": { "cflags": [], "default_configuration": "Release", "defines": [], "include_dirs": [], "libraries": [] }, "variables": { "clang": 0, "gcc_version": 44, "host_arch": "x64", "node_install_npm": ...
[ "lulinqing@gmail.com" ]
lulinqing@gmail.com
ef11ce0b204e77697cad987aa597887b7411b96f
bfaf76a40c9ec192aa53332f66460375e89eccfe
/profil3r/modules/email/email.py
0ae1cc031a3bc60325eef8e623956a017d5145b1
[ "MIT" ]
permissive
utopikkad/Profil3r
2e8b50063ed9051feff93be0865c8c5057d22d85
c76e04f9da9122926ac2ac077ec54245c3283a67
refs/heads/main
2023-04-13T20:02:09.913294
2021-04-15T12:38:53
2021-04-15T12:38:53
358,276,341
0
0
MIT
2021-04-15T13:51:54
2021-04-15T13:51:45
null
UTF-8
Python
false
false
1,808
py
import time import pwnedpasswords from profil3r.colors import Colors class Email: def __init__(self, config, permutations_list): # Have I been pwned API rate limit ( 1500 ms) self.delay = DELAY = config['plateform']['email']['rate_limit'] / 1000 # The 20 most common email domains, you can ...
[ "r0g3r5@protonmail.com" ]
r0g3r5@protonmail.com
d9e1cc2298c99c803b828a8b40aa0eb55c015a49
fc7828cdb69f4c0fbd137d989607e6c4972406de
/teaching/jordan/assignments/a4/a4.py
e4348e4b1599ded900c8ac86e1d5e4f2214cb56a
[]
no_license
KWMalik/organization
398167eb7b641df1bbc7f8c07d873baf77728440
977dcf68f9f07a36dd1cfbdeb907594b75a58ce4
refs/heads/master
2021-01-13T01:55:26.651655
2010-02-26T20:19:05
2010-02-26T20:19:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,053
py
class Empty: pass class List: def __init__(self, head, tail): self.hd = head self.tl = tail def List(L): if L==Empty return Empty else: return List(L.hd + L.tl) #Returns a List containing all natural numbers by which "n" is divisible. #List begins from "m" and co...
[ "=" ]
=
028c708347c597b72970133746f8e13bd7df4c9f
eaba0e6a50db2ec435904e72b019b0fd1c2f4562
/rospy_markerutils/__init__.py
56ac5fe28b17cd5df92995ae480ccfebedc5d925
[ "BSD-3-Clause" ]
permissive
dimatura/rospy_markerutils
bb1474b3d09993b828494eba7e5eb9bcfb6b1b77
0f8d8f1f397612fd1bb6ef8d176286a33c425ab5
refs/heads/master
2020-03-23T23:12:03.654289
2018-08-28T07:46:05
2018-08-28T07:46:05
142,221,457
0
0
null
null
null
null
UTF-8
Python
false
false
635
py
# # @author Daniel Maturana # @year 2015 # # @attention Copyright (c) 2015 # @attention Carnegie Mellon University # @attention All rights reserved. # # @= from make_markers import make_marker from make_markers import make_cube_marker from make_markers import MarkerWrapper from make_markers import CubeMarker fro...
[ "dimatura@cmu.edu" ]
dimatura@cmu.edu
f7d5cf15a51e28c62772043a155ecd084d090450
ae2f576bdc72e0a7d7578ced35987b9be56aeaaa
/cowin_notifier.py
6bfba0ca2a0fade5f2fdec059623fb7020377c83
[]
no_license
raghurao4/Cowin_Notifier
cbbc6da24f773c55b13bab35e4a099f98863b1a3
b7936e89c2c3726f0080e742d71bac1bed12b745
refs/heads/main
2023-04-28T11:12:54.488426
2021-05-24T11:06:51
2021-05-24T11:06:51
369,985,604
0
0
null
null
null
null
UTF-8
Python
false
false
2,192
py
#!/usr/bin/python import sys import cowin_switcher import cowin_utility def main(): text = '\n######################################################################' text = text + '\n# Hello, Welcome to CoWin query notification autobot by distId! #' text = text + '\n#########################...
[ "noreply@github.com" ]
raghurao4.noreply@github.com
340720e639b9ccf4197d1bb3b318ec99db33c1e1
c7d2c6fdf4911b92c36b6d33debeb5b7cbb2c9d8
/Pacote download/Desafios/90. Dicionário em Python.py
3e5a6fcb3fb2ef9d44a60ad5df473cf43855752a
[]
no_license
luhpazos/Exercicios-Python
8a744f749796d1ac14a9c208c88bb21af0e3d0e2
c42d095f50b7fd7085dc11c15decb82df7db38be
refs/heads/main
2023-07-27T09:54:32.293220
2021-09-08T17:22:45
2021-09-08T17:22:45
404,376,989
0
0
null
null
null
null
UTF-8
Python
false
false
375
py
dados = dict() dados['nome'] = str(input('Nome:')).strip().capitalize() dados['media'] = float(input(f'Média de {dados["nome"]}:')) if dados['media'] >= 7: dados['situaçao'] = 'Aprovado' elif dados['media'] <= 5: dados['situaçao'] = 'Reprovado' else: dados['situaçao'] = 'Recuperação' for k, v in dados.items...
[ "pazosluh@gmail.com" ]
pazosluh@gmail.com
72f1f4c207a2f65c6bf9049fa6b03b36df605ef9
2fd7686218d3a8aa86dbeabe17d63d35b05d2472
/tf_models/tpu/models/official/efficientnet/count_spikes.py
1c42c6ed31decfe8d3f9a0b4a2c9d8f005d3899e
[ "Apache-2.0" ]
permissive
christophstoeckl/FS-neurons
42d14bf1e42ba4cf0e08db703de683687d2f04bb
899af4e2bdf915001ef8610373482679887a80c9
refs/heads/master
2023-04-13T21:07:30.727368
2021-04-12T07:21:12
2021-04-12T07:21:12
257,293,154
38
15
null
2022-12-08T11:22:53
2020-04-20T13:40:59
Jupyter Notebook
UTF-8
Python
false
false
335
py
import numpy as np import sys if len(sys.argv) != 2: print("Usage: python3 count_spikes.py log_file_name.txt") quit() with open(sys.argv[1], "r") as file: log = file.read() log = log.split("\n") a = [] for i, line in enumerate(log): if line.startswith("["): a.append(eval(line)[0]) print(np.su...
[ "christoph.stoeckl@hotmail.com" ]
christoph.stoeckl@hotmail.com
1fc1c8485ec1ef2c4f1c0cbc330304f0c2838563
59628a6ddef19c6e7493eb2a9f669339dcb014ae
/demo/views.py
5fa41dbbb35cc5a59b1b96cd7e5fdfb3e47ea82c
[]
no_license
tzangms/django-bootstrap-form-demo
e5efbf995bd59d18a9d57681dd29155bec661486
8e16b7f002a17b4caf426366ec3547f90531aea7
refs/heads/master
2021-01-22T22:53:45.779273
2013-12-08T16:05:13
2013-12-08T16:05:13
15,019,093
4
0
null
null
null
null
UTF-8
Python
false
false
585
py
from django.shortcuts import render from demo.forms import ExampleForm def index(request): form = ExampleForm() return render(request, 'index.html', {'form': form}) def basic(request): form = ExampleForm(request.POST or None) if form.is_valid(): return render(request, 'basic_done.html') ...
[ "tzangms@gmail.com" ]
tzangms@gmail.com
7d2f19c42b8c5c0ec4c1fc8ad6c8dc5d08d16533
854f9c1101772b30baa3999fa5461b62e75f1754
/cobiv.py
04057ace17d8f6580f88f5ade735ef2ec14dd6fd
[ "MIT" ]
permissive
gokudomatic/cobiv
fd27aa46be8389909827eee5fcb838142c3511d6
c095eda704fab319fccc04d43d8099f1e8327734
refs/heads/master
2020-04-05T10:14:35.361695
2018-04-11T16:46:04
2018-04-11T16:46:04
81,542,555
4
1
null
2017-10-01T20:18:38
2017-02-10T08:10:10
Python
UTF-8
Python
false
false
78
py
from cobiv.MainApp import Cobiv if __name__ == '__main__': Cobiv().run()
[ "gourry.gabrief@gmail.com" ]
gourry.gabrief@gmail.com
7752a9dec6ae1571706fd1b98c1f9d017c4ad33e
e8a9719b1af70cd1269d85b5c05faebf50b9997e
/codes/balanced_bracket
b6776801f1f75fc850757ff786e650ddeb5c287b
[]
no_license
nirushanayak/datastructure_and_algorithms_code
2d8df881e88d4fd734292e7d8927eb2d2f7b233c
561d19006f063cf8f4cb0b89863150c2e30c6e75
refs/heads/master
2023-02-13T04:36:50.503000
2021-01-04T07:32:08
2021-01-04T07:32:08
326,603,051
0
0
null
null
null
null
UTF-8
Python
false
false
613
#!/bin/python3 import math import os import random import re import sys from queue import LifoQueue # Complete the isBalanced function below. def isBalanced(s): open_bra=['{','(','['] closed_bra=['}',')',']'] stack = LifoQueue() for i in range(len(s)): if s[i] in open_bra: stack.p...
[ "nirunaya@cisco.com" ]
nirunaya@cisco.com
225174a0152774e11e4a07f205ae153687681cfa
055d5a4dccb2296a73039ae1301dd3f442a590c3
/Course/admin.py
060722a8d45c6e599d83c885a55518415ed8dbce
[]
no_license
IMRAN104/LeadManager
aa677cd6ae7ea6881b6dec504ca90c88c627e841
1d01a2c55542a162210626b382435a9a71cd11c7
refs/heads/master
2021-09-28T01:39:32.717616
2020-03-25T15:57:25
2020-03-25T15:57:25
250,023,646
0
0
null
2021-09-22T18:56:48
2020-03-25T15:56:34
Python
UTF-8
Python
false
false
291
py
from django.contrib import admin from .models import Course, Step # Register your models here. class StepInline(admin.StackedInline): model = Step class CourseAdmin(admin.ModelAdmin): inlines = [StepInline, ] admin.site.register(Course, CourseAdmin) admin.site.register(Step)
[ "omeca13@gmail.com" ]
omeca13@gmail.com
a77ac77ef1eec43199e15ab11683f52bd42110f3
6860411d0dc3acea9994e288f7a524bac2be4894
/1/1c.py
fcd8baa3ebc7c28b2736c601d4efd38d19a82e11
[]
no_license
mario-laserna/Apps.co-Python
3a2abdeb05c38bb961105b79e3594cb36a94e31b
d1adaf0559844f443312f210344139440bc77b88
refs/heads/master
2016-09-06T03:26:56.853441
2013-03-28T22:07:23
2013-03-28T22:07:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
312
py
# operadores matematicos print(3+4+2) print(3-4-2) print(3*4) print(25/4) print(25%4) #operadores logicos print (5 < 4) print (5 < 6) print (5 <= 5) # expresiones de comparacion print(3 == 4) print(2 == 2) print('a' == 'a') print('a' == 'aa') print(6 != 7) print(1 == 1 and 2 == 3) print(1 == 1 or 2 == 3)
[ "laserna.mario@gmail.com" ]
laserna.mario@gmail.com
b533c2d9b13257193f37d8f1f24ff20f8efe3e97
1cbc5e586beaf110edbab505d0d87d7cfac5628b
/Allen-Cahn equation.py
6752c4267fc00eaf53f8bb4f5b434ce67dee1a7a
[]
no_license
lightunifly/repeat-the-result
1f14233eb6d337a95a57a2868d7bf89c1ba5e8fa
98dcc45b4211ee774dde3be3e30bd70fd6494e6a
refs/heads/master
2020-07-05T13:47:03.656561
2019-08-16T06:20:16
2019-08-16T06:20:16
202,664,789
0
0
null
null
null
null
UTF-8
Python
false
false
10,373
py
import tensorflow as tf import numpy as np dims=100 T=0.3 N=20 deltaT=T/N std=0.0 #biaozhuicha x=tf.zeros([dims],dtype=tf.float64) u0=tf.Variable(1.0,dtype=tf.float64) deltau0=tf.Variable(tf.random_normal([dims],stddev=std,dtype=tf.float64)) W1=tf.Variable(tf.random_normal([N-1,dims,dims+10],stddev=std,d...
[ "noreply@github.com" ]
lightunifly.noreply@github.com
0ab7a1eaccd4af1af23d2d07510fced51c3cbd2a
41fd80f9ccc72a17c2db16b7019312a87d3181e8
/zhang_local/pdep/network4029_1.py
73ffd608834052497471ddced44db683940ef5a5
[]
no_license
aberdeendinius/n-heptane
1510e6704d87283043357aec36317fdb4a2a0c34
1806622607f74495477ef3fd772908d94cff04d9
refs/heads/master
2020-05-26T02:06:49.084015
2019-07-01T15:12:44
2019-07-01T15:12:44
188,069,618
0
0
null
null
null
null
UTF-8
Python
false
false
35,122
py
species( label = '[CH]C(=C)O[C]=O(17928)', structure = SMILES('[CH]C(=C)O[C]=O'), E0 = (231.142,'kJ/mol'), modes = [ HarmonicOscillator(frequencies=([2950,3100,1380,975,1025,1650,350,440,435,1725,1855,455,950,253.416,253.814,253.894,253.897,254.577],'cm^-1')), HinderedRotor(inertia=(1.09...
[ "dinius.ab@husky.neu.edu" ]
dinius.ab@husky.neu.edu
f0a4e25f5f04b19c48edef0b28dd0e78b0ea160e
c254fa15d9ac2a7e94bd1bba406a55f84db3a363
/ChaosClient/Tools/GM/depend/setuptools-20.1.1/setuptools/tests/test_test.py
a1d49ecff23651297772b20f46cd6a681ec5d5e9
[]
no_license
atom-chen/ChaosGame
a1e7589ac084bba40f0d8cd937681a50c16a2f29
ec12208475435696e52c045ffd2f6bdfda45f275
refs/heads/master
2021-03-04T02:10:55.613286
2016-12-08T03:31:24
2016-12-08T03:31:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,465
py
# -*- coding: UTF-8 -*- from __future__ import unicode_literals import os import site from distutils.errors import DistutilsError import pytest from setuptools.command.test import test from setuptools.dist import Distribution from .textwrap import DALS from . import contexts SETUP_PY = DALS(""" ...
[ "evence_chen@live.com" ]
evence_chen@live.com
906c192f7f18cafdb3c34e483501bbca940f8490
fb2cc597f319380d228fc15c4008760a82203687
/var/spack/repos/builtin/packages/r-scdblfinder/package.py
2dcd41c2578611979e0248ab7443c65d58f20a1a
[ "Apache-2.0", "MIT", "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause", "LGPL-2.1-only" ]
permissive
JayjeetAtGithub/spack
c41b5debcbe139abb2eab626210505b7f930d637
6c2df00443a2cd092446c7d84431ae37e64e4296
refs/heads/develop
2023-03-21T02:35:58.391230
2022-10-08T22:57:45
2022-10-08T22:57:45
205,764,532
0
0
MIT
2019-09-02T02:44:48
2019-09-02T02:44:47
null
UTF-8
Python
false
false
1,967
py
# Copyright 2013-2022 Lawrence Livermore National Security, LLC and other # Spack Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) from spack.package import * class RScdblfinder(RPackage): """The scDblFinder package gathers various methods for the...
[ "noreply@github.com" ]
JayjeetAtGithub.noreply@github.com
e0584cb81912975614de8c2f2686e676763337e5
4bd53a28fdd810d66b2742606728e2adc9e421e5
/opengl_render.py
7c313aafbe993cd4874c600dacbc511f0fef8d7b
[]
no_license
jake32321/OpenGL_Python_Render
12fd9235d1f04f0728ae830a50a391122cc8e988
547cee39976aca1907e4ebca1058c656512be768
refs/heads/master
2021-01-10T10:35:42.755722
2015-11-07T03:13:25
2015-11-07T03:13:25
45,586,905
0
0
null
null
null
null
UTF-8
Python
false
false
2,355
py
import pygame from pygame.locals import * from OpenGL.GL import * from OpenGL.GLU import * vertices = ( #Diffrent Nodes for vertices given in three dimensional coordinates (1, -1, -1), (1, 1, -1), (-1, 1, -1), (-1, -1, -1), (1, -1, 1), (1, 1, 1), (-1, -1, 1), (-1, 1, 1) ) edges = ( #Nodes for the twelve e...
[ "jake32321@yahoo.com" ]
jake32321@yahoo.com
e6e26aecc3f4fb7442bb069ffb237b2bfda27146
4bcc9806152542ab43fc2cf47c499424f200896c
/tensorflow/python/autograph/operators/variables_test.py
59ff90120f0d71246433a4830682d9d8ded100d5
[ "Apache-2.0", "LicenseRef-scancode-generic-cla", "BSD-2-Clause" ]
permissive
tensorflow/tensorflow
906276dbafcc70a941026aa5dc50425ef71ee282
a7f3934a67900720af3d3b15389551483bee50b8
refs/heads/master
2023-08-25T04:24:41.611870
2023-08-25T04:06:24
2023-08-25T04:14:08
45,717,250
208,740
109,943
Apache-2.0
2023-09-14T20:55:50
2015-11-07T01:19:20
C++
UTF-8
Python
false
false
1,864
py
# Copyright 2019 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
ed818f77be185c01325b67e695e6679b9e3c3c1e
1f3f0dc8799dac1e7974b1b05211c2bb863db787
/junki/Chapter1/train-unigram.py
21c1f543c1bbf93d6530d0689905eed5bb87da60
[]
no_license
m-note/100knock2015
665bb27bc84a0eacaa795523b5e65a5b64c426ac
84cd1d0617b0b5c15f64e593dd2e0ae21a4dcef7
refs/heads/master
2021-01-18T19:41:54.111994
2015-07-28T16:15:53
2015-07-28T16:15:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
344
py
#!/usr/bin/python #-*-coding:utf-8-*- import sys my_dict = {} total_count = 0 for line in open(sys.argv[1], "r"): words = line.split(" ") words.append("</s>") for word in words: my_dict[word] += 1 total_count += 1 for word, count in total_count: probability = my_dict["words"] / total_count print "%s %f" ...
[ "junkimatsuo@Junki-no-MacBook-Air.local" ]
junkimatsuo@Junki-no-MacBook-Air.local
92a24ce38c35186254b552e74be00a5c60872181
c7036e204574380adea3d8ea8c0e7a92a1dbc8e6
/utils/Utils/MyRangeList.py
c806d151804aa26bae34be76d01d101b0fc562d7
[]
no_license
thegisexpert/someutilities
32a8b0dbd93f41584260652270fc88f52d205f28
18b4d1424fc5aa73ea4f6694f48c786b081bddf0
refs/heads/master
2020-12-11T13:28:17.873038
2020-01-14T14:56:16
2020-01-14T14:56:16
233,861,084
0
0
null
null
null
null
UTF-8
Python
false
false
1,204
py
#https://docs.qgis.org/testing/pdf/en/QGIS-testing-PyQGISDeveloperCookbook-en.pdf p 35 from qgis.core import * myVectorLayer = QgsVectorLayer(myVectorPath, myName, 'ogr') myTargetField = 'target_field' myRangeList = [] myOpacity = 1 # Make our first symbol and range... myMin = 0.0 myMax = 50.0 myLabel = 'Group...
[ "noreply@github.com" ]
thegisexpert.noreply@github.com
1c1c6ec77538e78dcf7f601fc87c8e36bbed9efb
4bccab04a435e4fe42e5a5fa8f053d18d7f9567c
/and/xgb_online.py
816c43cbf102405367de5079659f131bc411b433
[]
no_license
thousandface/jdd_c
224ac90cbb8a819633a009196b35c4ae37c86d3d
cf28941075b6d303767384d7093c9005e2f86f3d
refs/heads/master
2021-05-11T01:51:30.644317
2018-01-21T14:21:30
2018-01-21T14:21:30
118,341,510
1
0
null
null
null
null
UTF-8
Python
false
false
1,389
py
import xgboost import numpy as np import pandas as pd train = pd.read_csv('../newdata/online_train_1126.csv') test = pd.read_csv('../newdata/online_test_1126.csv') orig = ['history_sum_mean', 'history_sum_median', 'history_sum_max', 'history_sum_min'] train = train.drop('dt',axis = 1) test = test.drop('dt', axis = 1...
[ "thousandface@yahoo.com" ]
thousandface@yahoo.com
8005abbe7fa52a78761f3f422c67487cd25bbc66
80216241654e9ecc368aee1c7465622753b053b5
/demo_运动传感器.py
a993e6819ce482ff0dd8e36aa6a838fc2e7f379c
[]
no_license
tanglang1990/blog
e5b76b918e61ee62d16093703410fd58f668033f
4cab27ecefcf0d72988c3f20e0c209fbf101be2f
refs/heads/master
2020-06-23T09:33:51.478728
2019-10-31T06:11:07
2019-10-31T06:11:07
170,971,128
0
0
null
null
null
null
UTF-8
Python
false
false
4,477
py
import datetime import cv2 # pip install opencv-python import numpy as np import easygui from wx_notice import send_msg camera = cv2.VideoCapture(0) # cv2获取摄像头,0代表默认的摄像头,传给camera这个变量 if not camera.isOpened(): easygui.msgbox('please turn on you camera or switch to functional one') ''' 取得一个结构化的元素,用来做形态学膨胀, MOR...
[ "noreply@github.com" ]
tanglang1990.noreply@github.com
10348f2b2d3cb371fbf0cc7dfddd63b0dbc6ae3d
697e75455b17370abfe1c1af577dba5e6cea174d
/backend/test_sketch_15062/urls.py
1f80daaca68da0867f5ed4d6062700ac36b9b594
[]
no_license
crowdbotics-apps/test-sketch-15062
5eda58eb4ab04a3e75d5428c8d58bede86e69043
1c6331195bbe17d76218a52e184a9c6c5088e245
refs/heads/master
2023-01-30T21:38:38.475884
2020-03-25T16:41:50
2020-03-25T16:41:50
250,034,521
0
0
null
2023-01-26T16:17:52
2020-03-25T16:41:01
JavaScript
UTF-8
Python
false
false
1,932
py
"""test_sketch_15062 URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') C...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
2c13944446f7380430dd943b1632885da99a8784
e9b923f661c770c56136f59dbed786cd46924664
/crafted-pkt/tls-handshake-fragments.py
ad35dfeabc6e647ef920167cd5123efdb5bfc12b
[]
no_license
Lekensteyn/wireshark-notes
47852566358e27778be83980a6d4219fe063e036
278ca860093c3a1c5c9d9171e8c2532f94b20902
refs/heads/master
2023-03-15T22:50:24.131652
2023-03-11T15:20:24
2023-03-11T15:26:29
227,219,034
5
2
null
null
null
null
UTF-8
Python
false
false
2,553
py
#!/usr/bin/env python3 import argparse import random from scapy.all import * # msg_type: 1 (Client Hello) # length: 47 # client_version: 1.2 # random: 32 bytes # session_id: empty # cipher_suite[1]: 0x002F (TLS_RSA_WITH_AES_128_CBC_SHA) # compression_method[1]: null # extensions[1]: 0xAAAA (GREASE) with t...
[ "peter@lekensteyn.nl" ]
peter@lekensteyn.nl
32b75511f5f67bc0830183000def055d8e2a9796
4a71d8deae938c4b0b551419d3604e3e3f71b347
/Heroes.py
613b857820237861a9d2d2b74881b725a3f42776
[]
no_license
zankrus/rpg2.0
041ff57822adbc005815a1f14a31b3c05bbaf51f
3449a5d3af68edcb374c9fa080b3e415bec9dda6
refs/heads/master
2022-11-15T16:27:53.544870
2020-07-01T12:35:22
2020-07-01T12:35:22
274,862,746
0
0
null
null
null
null
UTF-8
Python
false
false
5,039
py
from abc import ABC, abstractmethod import random import Items class Hero(ABC): """Abstract hero class""" name = '' hp = 30 weapons_list = {'sword': 10} summary_arrows = 2 monster_dead = 0 save_hp = None save_weapons_list = None save_summary_arrows = 0 save_monster_dead = 0 ...
[ "sealthepirate@gmail.com" ]
sealthepirate@gmail.com
90784936f134554fe7973fa9a4916265586e31d6
a2dd34c194d53af9aeba7ffc43054a4443fa3485
/style_stripper/model/content_panel.py
3c3c70fca07dbeb70ab3c76a3665ade81aacad83
[]
no_license
gre7g/style-stripper
c8ba544e9d43df1bdabd0fafe97312533860300c
07c76a22e96d1b34f1c5aa135f94121ce5613814
refs/heads/master
2022-11-16T19:16:23.652160
2022-11-15T01:07:59
2022-11-15T01:07:59
206,849,502
0
0
null
null
null
null
UTF-8
Python
false
false
894
py
import wx from style_stripper.data.enums import PanelType try: from style_stripper.model.main_app import StyleStripperApp except ImportError: StyleStripperApp = None class ContentPanel(wx.Panel): app: StyleStripperApp PANEL_TYPE: PanelType def __init__(self, *args, **kwargs): super(Cont...
[ "greg.luterman@synapsewireless.com" ]
greg.luterman@synapsewireless.com
558e2450afbfe1fed19b1389fbb7a74f64d381df
5cc70f94f73be01bcbe7275ed21b4c087e60c684
/example/views/application_user_messages.py
344436e22c8d2b744d77b519a6d14e1415c8af06
[]
no_license
lloubiere/pyramid_rest
dfced8b37893f0072e6dfb8550291c5973656ad3
fcabb94d9a79580de11163715af8ba35ca937c38
refs/heads/master
2021-01-17T22:04:22.759942
2014-04-16T18:18:09
2014-04-16T18:18:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
186
py
# -*- coding: utf-8 -*- from pyramid_rest.mongo import CollectionView from example.model import Message class ApplicationUserMessagesView(CollectionView): model_class = Message
[ "hadrien@ectobal.com" ]
hadrien@ectobal.com
94bad560eac184705536a6ca53035cc708e72f98
ab835f1ca110389079c81fff71bd073dcf303c1d
/abstract_factory.py
99a7e74dda94ea8e5ead571e51354c4f48712c32
[]
no_license
mndimitrov92/Python_Scripts
333d375c6316af60277b4be81a2a94b1eb20144a
3ea7397c81f26d694c564148ee9660203efaf156
refs/heads/master
2023-05-10T17:32:09.827488
2023-04-29T15:26:39
2023-04-29T15:26:39
137,658,192
0
0
null
null
null
null
UTF-8
Python
false
false
3,479
py
import abc import urllib2 from BeautifulSoup import BeautifulStoneSoup class AbstractFactory(object): """ Abstract factory interface which will provide methods to implement in its subclasses """ __metaclass__ = abc.ABCMeta def __init__(self, is_secure): """ if is_secure is True, factory tries to make co...
[ "=marin.dimitrov92@gmail.com" ]
=marin.dimitrov92@gmail.com
0ddeecabdafba350249119eb97782aa41fba8852
94743a85befdf16892cd28f771cd96373ddc995f
/GRPH.py
fa5d40c3dc735e24e129d3324b265d03f0966ec0
[]
no_license
doelling/Rosalind
caa0201d792bd2aa06d76d53916e75858a3ca67a
ddefdab630fa9712cb7a69b540c2c4921d34f5d9
refs/heads/master
2020-06-03T13:46:12.055127
2019-07-03T16:33:25
2019-07-03T16:33:25
191,591,438
0
0
null
null
null
null
UTF-8
Python
false
false
476
py
from Bio import SeqIO import itertools def overlapThree(strA, strB): return strA[-3:] == strB[:3] def main(): dnaStrands = {str(i.id): str(i.seq) for i in SeqIO.parse('grph.fna', 'fasta')} for j, k in itertools.combinations(dnaStrands.keys(), 2): jStrand, kStrand = dnaStrands[j], dnaStran...
[ "45838137+doelling@users.noreply.github.com" ]
45838137+doelling@users.noreply.github.com
766bf2bbcc44602bb399c557f76f7d7532a2f02b
4d558925161df4a4ccf2b148a66d709baf32c46c
/Crypto/triple_prime/secret.py
bdb65aa8d65bf6b7d0adffd5b2f9c25494215f84
[]
no_license
scist-tw/109-mini-CTF
41dc95ae4b403feb111425f1eb352125ae5f8c98
ffb6d071d1e3a2d39d2bf63b5819e24415a5672a
refs/heads/main
2023-02-22T13:16:33.827354
2021-01-27T15:34:34
2021-01-27T15:34:34
325,246,706
0
0
null
null
null
null
UTF-8
Python
false
false
40
py
flag = b'SCIST{twin_prime==vykp_rtkog}'
[ "tsguan11@gmail.com" ]
tsguan11@gmail.com
61328a76583eb2214a98f089697310c1ec6b10b2
b2acf2dab56a42c22304b0e236b154d453175d6d
/tests/BackTests.py
683ad5ee4a1bfa7b8deda39e87690f728d898f5c
[ "MIT" ]
permissive
bitsalt/bitbot
8cd14da5015598e18e65d41843ab7ecb7d3347da
24dcc037fcc2778929cb1091f2c87f38359e50c1
refs/heads/main
2023-03-29T22:07:01.746273
2021-04-13T20:42:25
2021-04-13T20:42:25
357,523,571
0
0
null
null
null
null
UTF-8
Python
false
false
1,748
py
import unittest import configparser from oanda_backtest import Backtest class UnitTests(unittest.TestCase): def test_canBacktestOanda(self): config = configparser.ConfigParser() config.read('../oanda.cfg') # api = opy.API( # environment='practice', # a...
[ "jeff@bitsalt.com" ]
jeff@bitsalt.com
53f61304c2c224d35c58274d8e1443ff13f481ef
8588cff59e11fd3d39b59f1666d2aa72d92c1784
/demo/previews.py
279e7b0bbf32245b2501d88fb65035488af484be
[]
no_license
amygwong/csc59866
54f566d46a0f6bbd12d36602aaf6a1856d612d12
17bde501b9da11764712ffdcf2c30bd3dcf361ff
refs/heads/master
2021-01-17T18:35:30.341289
2017-05-21T03:59:47
2017-05-21T03:59:47
69,483,710
2
1
null
null
null
null
UTF-8
Python
false
false
1,740
py
from os import system, path from speech_to_text import getUserInput import subprocess # opens a file in Prview with name def findOpenImage(name): # get all paths of files with value in its name fpath = subprocess.check_output("mdfind -name " + name, shell=True) fpath = fpath.decode("utf-8") flist = fpa...
[ "amygwlife123@gmail.com" ]
amygwlife123@gmail.com
a376fdc691415fb9aa423aecba5b5ec02d31694e
72de9fe0f0252f965a7d791a7dbda245b1a48bbc
/webserver.py
a481d46757321ee7cc76273ce69f97f3e258028e
[]
no_license
tianhao0211/web-server
3b6dca57255744099176bf8fee7dd743935240d7
bec92c0b5c288cbffa5788db5a9c7799bff3196d
refs/heads/main
2023-03-18T09:48:11.346539
2021-03-05T21:27:15
2021-03-05T21:27:15
338,962,547
0
0
null
null
null
null
UTF-8
Python
false
false
2,904
py
import os from os import curdir from os.path import join as pjoin import json from datetime import datetime #from http.server import BaseHTTPRequestHandler, HTTPServer from BaseHTTPServer import BaseHTTPRequestHandler from BaseHTTPServer import HTTPServer PORT = 8080 FILE = 'store.json' # initialize the storage file ...
[ "noreply@github.com" ]
tianhao0211.noreply@github.com
c1b177946e9f4e9be47868c4aa13bc7bb8632722
d032e376d1632cad38c767a866f8d75817f40231
/exercises/exc_02_04.py
001a09ca5663189e021e82ee5965d6edbdae1b12
[ "MIT" ]
permissive
ali4413/MCL-DSCI-511-programming-in-python
2918d10195ede2432bd452657ff4a1c457da23a6
723422f3b57ad4290e82b1b07d33c4f2e2ec3ea2
refs/heads/master
2022-06-08T02:09:41.134527
2020-05-08T19:08:18
2020-05-08T19:08:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
208
py
import pandas as pd # Read in the data from the text file using the full pathway # Use the pokemon name as the index ____ = ____(____, ____, ____) # Display the first 10 rows ____
[ "hayleyfboyce@hotmail.com" ]
hayleyfboyce@hotmail.com
61deaaae3c82727d6ab5332fabcdd07c9532859b
b953a0f99042c43c07332b705bef86bf4769a32b
/polls/migrations/0005_auto_20151122_1023.py
147232772fb8dddc3dc197b5d41852b6e4084193
[]
no_license
eshantewari/MBHS_SGA
a108d5d9d9f98b3feb14b03683b3eb69b61d37c1
38bc7eb38d61d8c13bd97f64f988d118519c923a
refs/heads/master
2020-05-30T20:17:55.724918
2016-08-14T01:20:48
2016-08-14T01:20:48
42,009,100
0
0
null
null
null
null
UTF-8
Python
false
false
439
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('polls', '0004_auto_20151108_1939'), ] operations = [ migrations.AlterField( model_name='candidate', ...
[ "eshan.tewari@gmail.com" ]
eshan.tewari@gmail.com
e6d325ff856ba2b28e77783b99918a918a6ab823
7cfe8583ae7819799b18b88566eeff3e8cb4ba9e
/5_1_BuildingARecurrentNeuralNetwork-tf/data_utils.py
e4a28219d4df1a887d4923bd016fac7893b55fe4
[]
no_license
IHNF262/DeepLearningPractice
5cb33e73625c947661314be86d9ae810605c2540
80ea499d24cffcf0ed3e16d73995d274594b4609
refs/heads/main
2023-06-25T01:22:07.042995
2021-07-23T09:30:45
2021-07-23T09:30:45
376,475,455
0
0
null
2021-06-13T08:24:56
2021-06-13T07:59:12
null
UTF-8
Python
false
false
6,107
py
from music_utils import * from preprocess import * from keras.utils import to_categorical chords, abstract_grammars = get_musical_data('../data/original_metheny.mid') corpus, tones, tones_indices, indices_tones = get_corpus_data(abstract_grammars) N_tones = len(set(corpus)) n_a = 64 x_initializer = np.zeros((1, 1, 7...
[ "noreply@github.com" ]
IHNF262.noreply@github.com
8886c1dd47cd18565ecd6229a7357158d3105b71
407097d7c2058160e313e15a3bbd3a695b07ad4a
/composante_detection_CG_flux.py
aaf807a8dc26d68a13529086e7902a80a41df7ee
[]
no_license
JouvinLea/multi_analysis
0427aa84d6184ef531733959914e30a0f871e9dd
1b086b19e3481e28976329cc108e1ee660a227e7
refs/heads/master
2020-07-23T00:32:48.899142
2017-06-14T15:35:41
2017-06-14T15:35:41
94,346,658
0
0
null
null
null
null
UTF-8
Python
false
false
6,526
py
import numpy as np from astropy.table import Table from matplotlib import pyplot as plt from gammapy.utils.energy import EnergyBounds, Energy from gammapy.image import SkyImageList from astropy.wcs.utils import pixel_to_skycoord, skycoord_to_pixel import yaml import sys from method_fit import * input_param=yaml.load(o...
[ "lea.jouvin@gmail.com" ]
lea.jouvin@gmail.com
5bab08f19961fec6da631384fc26abe23e29a028
6b10d023db347810c35298f8166af42de5dd13d3
/Udemi/Section 7/Script1.py
cbd66a13306fda0bef8f1e0a2eacd14795f9df53
[]
no_license
alex89n/Py_Exercise
6bdf02ebedf4998a1135ca44ac3c60d99e1d3fce
bb5c9b0c967b2957230d398477193980ed12ea15
refs/heads/master
2020-07-23T06:25:26.759261
2017-09-06T10:53:01
2017-09-06T10:53:01
94,354,462
0
0
null
null
null
null
UTF-8
Python
false
false
255
py
import random, string def generator(): letter1 = random.choice(string.ascii_lowercase) letter2 = random.choice(string.ascii_lowercase) letter3 = random.choice(string.ascii_lowercase) return letter1 + letter2 + letter3 print(generator())
[ "aleksandar.nikolic@rt-rk.com" ]
aleksandar.nikolic@rt-rk.com
442030f5246fb8e61aaec6289d70093b01c5a6d5
f9576955010b4bd5512bd5af1f42dbef16009922
/exerise-2-9-number-of-negitive-numbers.py
3bcb91e2bd724273ffb9761efc9a9c24c7c248d7
[]
no_license
den01-python-programming-exercises/exercise-2-9-number-of-negative-numbers-rangorstormbron
4ee5cfad4c0c6ec9c4f02525c13d22fc68d0c543
ae68f71d2b17b852a70a4b84a38122d7341f31f0
refs/heads/master
2023-02-25T14:00:44.161452
2021-02-08T15:57:41
2021-02-08T15:57:41
337,127,402
0
0
null
null
null
null
UTF-8
Python
false
false
388
py
count=0 number=int(input("please enter a number to add to the count count stops when 0 is entered")) while True: number=int(input("please enter a number to add to the count count stops when 0 is entered")) if(number ==0): print("total number =" , str(count)) break if(number ...
[ "noreply@github.com" ]
den01-python-programming-exercises.noreply@github.com
e85a77066d6a4f8022f19aecd6eed15b41dd31b5
82fbd036b8f8f636ed38d859d52343cbe2dc6ecf
/test/loader_tests.py
4936d741e1de9dbefb18e5ea3d5f835d5e1c235c
[]
no_license
dhpollack/bytenet.pytorch
9db425b080c7ba41cd0e7cbde9056621526856b2
9aba0efe5139d886079c789e6420ce46f3f20683
refs/heads/master
2021-09-15T22:58:56.481145
2018-06-12T08:47:11
2018-06-12T08:47:11
115,529,747
9
6
null
null
null
null
UTF-8
Python
false
false
723
py
import unittest import json import time from data.enwik8_loader import * from data.wmt_loader import * class Loaders_Test(unittest.TestCase): config = json.load(open("config.json")) print(config) def test_1_enwik8(self): ds = WIKIPEDIA(self.config["HUTTER_DIR"]) for i, (src, tgt) in enumer...
[ "david@da3.net" ]
david@da3.net
34e35985b36457bd4c5d814e0b138d08647c99c3
bb3c62c4d1726ab0b3a71753a17e6b7d25ad5b50
/automateScript/post.py
1b55840b8da204ad0657e0f02f1feac9bfe18d39
[]
no_license
JasonCodeIT/g12code
b984ab7a2273c3ba2c26e737595af447b72d74ea
da343c24b610e289f46313d790f4161ed6b7226c
refs/heads/master
2021-06-01T13:10:09.487643
2018-12-03T01:58:57
2018-12-03T01:58:57
32,397,549
0
0
null
2015-04-01T14:09:04
2015-03-17T14:15:37
Python
UTF-8
Python
false
false
161
py
import requests def post(url, data=None, cookies=None): r = requests.post(url, data=data, cookies=cookies, verify=False) return r.text.encode('utf-8')
[ "dzy0451@gmail.com" ]
dzy0451@gmail.com
beb573f485521049d08a6feec29654c350245495
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_258/ch34_2019_03_19_16_59_24_061231.py
d6a923627829377948c28cf477c1fda1f09a90dd
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
210
py
a=float(input('Qual o valor do depósito inicial? ')) b=float(input('Qual o valor da taxa de juros? ')) n=1 while n<=24: c=a*b**n d=c-a n+=1 print("{0:.2f}".format(c)) print("{0:.2f}".format(d))
[ "you@example.com" ]
you@example.com
781f986fa5d85dd9546502e8ae29c6135ff9e1fc
bd3e8e7bbb85a1c99b392bac5298f38f87b6a739
/resources/user.py
162da241272955b1ef94a1273bf6df6ac99dda24
[]
no_license
DimitriMichel/Flask-RESTful-for-Heroku
0a08c5508c71dbc65e4b44a725b66cb5a4d6010d
a5947ed622b7551d08f9fb760d8586f8f5c5ed7b
refs/heads/master
2020-08-16T17:05:37.902220
2019-10-16T17:13:03
2019-10-16T17:13:03
215,528,881
1
0
null
null
null
null
UTF-8
Python
false
false
1,006
py
from flask_restful import Resource, reqparse from models.user import UserModel class UserRegister(Resource): # important to require arguments so users cant be empty in either field parser = reqparse.RequestParser() parser.add_argument('username', type=str, ...
[ "dimitripl@Dimitris-MBP.fios-router.home" ]
dimitripl@Dimitris-MBP.fios-router.home
f00f0ec16d5c23510d81f61420f4c02d8948e730
9bb8f046743021611d110b69521b04ebf5a2a254
/income/migrations/0003_auto_20201226_2137.py
d4df2290418f2292d58c64ea88a20b1453a21dc9
[]
no_license
Sukhvsin2/Expense-Income-Api
89b8ca8f517fcabe9c0b1c5406dde68858af928e
6f11fe8a64783bbd332a6c93a5bd10997f16a6c6
refs/heads/master
2023-04-01T13:12:21.362974
2021-03-09T21:54:02
2021-03-09T21:54:02
324,355,505
0
0
null
null
null
null
UTF-8
Python
false
false
536
py
# Generated by Django 3.1.4 on 2020-12-26 16:07 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('income', '0002_auto_20201226_2136'), ] operations = [ migrations.AlterField( model_name='income', name='source', ...
[ "sukhvsingh2026@gmail.com" ]
sukhvsingh2026@gmail.com
a067cc38f5853f9457b486b101c755817cddf438
b111524b4bbec6e8d5ad42e6969a42b060fc9e24
/qa/rpc-tests/test_framework/util.py
3928e67feb218eae56aa5e5811b2c0a7b398e4fc
[ "MIT" ]
permissive
lamhuuvan/octoin
9c2c39865503bb00ad17d3cd08e26bfc792d9fb4
f406ea4b9c4ea76d12866682e47c1f782f742787
refs/heads/master
2020-03-18T18:25:44.133335
2018-02-20T12:55:54
2018-02-20T12:55:54
135,092,121
1
0
MIT
2018-05-28T00:35:58
2018-05-28T00:35:57
null
UTF-8
Python
false
false
22,954
py
#!/usr/bin/env python3 # Copyright (c) 2014-2016 The Bitcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. # # Helpful routines for regression testing # import os import sys from binascii import hexlify, unhex...
[ "root@build3.occ" ]
root@build3.occ
32406dd2aa2de9ae977c1df924adc8b5b501ba3f
fe317eff7427e24db4b905d3e2ac395b25bb4c9f
/CoviHelp/forms.py
36bfcc1c2c41e50911d51fc6db0564cfb709a634
[]
no_license
ishivanshgoel/Combatting-Covid
71e99fa91ee32c3cf6876ffd845cf8d8094c268b
2abb2665eed3f6a978b463a2475610ebe6136e91
refs/heads/master
2023-04-25T19:39:01.926190
2021-05-21T08:02:49
2021-05-21T08:02:49
360,958,587
2
1
null
null
null
null
UTF-8
Python
false
false
628
py
from django import forms ## login forms class UserSignIn(forms.Form): email = forms.CharField(label='Email', max_length=20) password = forms.CharField(label='Password', max_length=20) class OxygenUser(UserSignIn): pass class PharmaUser(UserSignIn): pass class HospitalUser(UserSignIn): pass ## ...
[ "ishivanshgoel@gmail.com" ]
ishivanshgoel@gmail.com
657ab173695eee56f3c94d50c887b2dde25fec3b
7fd6c2e12894060b7e3c74cba8302f1acece9db3
/functions/functionsdemo.py
2da9177b201e57431d58b007ef6c73f72f2cda68
[]
no_license
karthikapresannan/karthikapresannan
c664ae5cd8d33df0e8b4c2e57c29e1e2787dad81
5d0d55d3d64186659d6eebee391aeca4fc609c22
refs/heads/master
2023-03-29T15:38:03.559918
2021-04-08T15:45:55
2021-04-08T15:45:55
335,202,361
0
0
null
null
null
null
UTF-8
Python
false
false
241
py
def add(num1,num2): result=num1*num2 print(result) add(100,200) def mul(num1,num2): res=num1*num2 print(res) mul(100,200) def sub(num1,num2): res=num1-num2 print(res) sub(100,200) #combine cheyathekuna program calc
[ "karthikapresannan97@gmail.com" ]
karthikapresannan97@gmail.com
389eabd5e691f8a8709ba52c6936a0ad41ce47fb
103ee7cb409ec7495b1a1d28d1fbb849c69180a9
/utils/transducer/train_transducer.py
b5a491f85266151c29cee5ce7562df49d0ba7df3
[]
no_license
m-wiesner/GKT
2777081d28c02f496c61556518e53a17de9fdb79
fa977494322863f6607849e2e094853c02f4e581
refs/heads/master
2020-09-25T19:35:45.457465
2016-09-01T19:41:20
2016-09-01T19:41:20
66,901,793
0
0
null
null
null
null
UTF-8
Python
false
false
3,551
py
#!/usr/local/bin/pypy from __future__ import print_function import pickle import sys import os from Transducer import Grapheme, Utterance import argparse import json import mlf DEF_MIN_LL = -999.0 def usage(): print(" Usage: ./make_transducer.py [opts] <REF_ALI> <AUD_ALI> <OUTPUT> <EMISSIONS>") print(" -...
[ "wiesner@jhu.edu" ]
wiesner@jhu.edu
f6d690fcbc0cef5954203798eebf583e0922e61f
6c7ec742e9b92a54de54e32b242057ab105f5399
/scienv/bin/rst2odt.py
33a437123869e84aca776a9abba58fc13cd0c14b
[]
no_license
sdnnet3/scienceprobs
0a72a59755ede896f97a973657ff83c820ae0af6
07c0adc68a171427bf7eb9c83b0fddfd0fbb9341
refs/heads/master
2020-06-04T23:51:06.227553
2019-06-16T20:58:56
2019-06-16T20:58:56
161,008,514
0
0
null
null
null
null
UTF-8
Python
false
false
793
py
#!/home/clayton/scienceprobs/scienv/bin/python3 # $Id: rst2odt.py 5839 2009-01-07 19:09:28Z dkuhlman $ # Author: Dave Kuhlman <dkuhlman@rexx.com> # Copyright: This module has been placed in the public domain. """ A front end to the Docutils Publisher, producing OpenOffice documents. """ import sys try: import lo...
[ "clayton.hutton@gmail.com" ]
clayton.hutton@gmail.com
a17b2ddfb0202a5bbf9947270096fe596200604d
71a93e99a9e2c15c8a1727e823c20c6007d6a787
/desc.py
fa045d10b28c77d2bdfc97938a64257962f8dfb0
[]
no_license
7erduk/tor
d5334b40211b3f2509d7a0d562146f694c2e862e
631bc6b29d92e00b5bb0b56f1217fe77b601613b
refs/heads/master
2021-01-19T00:40:51.109871
2018-10-21T07:43:44
2018-10-21T07:43:44
87,199,784
0
0
null
null
null
null
UTF-8
Python
false
false
2,023
py
import re import stem.descriptor from stem.exit_policy import ExitPolicy import StringIO import marshal import random class Descriptors: def __init__(self,routers={}): self.routers=routers def loadTextDesc(self,fname): f=open(fname,'rb') desc=stem.descriptor.parse_file...
[ "7erduk@gmail.com" ]
7erduk@gmail.com
d1444d69323c69bb381deecdeeaef7eedd2c783a
72c3c34f9eb47c9490f5461adaf28693eca27ebd
/test_coronavirus_reader.py
19ea00d6536f85a085ac5849e053d4baacb4f8be
[]
no_license
JasonMTarka/Coronavirus-Tracker
ba88ca327b76eed2945a4f65788aca48d70ffff9
90ff2e12713dad777cbcdd99499490b74e179994
refs/heads/main
2023-08-18T00:17:23.581131
2021-10-08T13:07:46
2021-10-08T13:07:46
341,175,289
0
0
null
null
null
null
UTF-8
Python
false
false
523
py
import unittest from coronavirus_reader import COVID19_Reader class TestReader(unittest.TestCase): @classmethod def setUpClass(cls): cvd_reader = COVID19_Reader() cls.data = cvd_reader.data_reader() def test_dataislist(self): self.assertEqual(type(self.data), type([])) def t...
[ "jasonmtarka@gmail.com" ]
jasonmtarka@gmail.com
420f7ad5777496c03d255f050c43577174561aa9
5c96fae506378a1ff0618e82e56fb89038df260c
/stockExchangePrediction/newsInput.py
7462750b287b9a2c5c602e78ed4152e2fb284a61
[]
no_license
Skyraider150/stock_market_pred
6c89f34ac9802b0f1ca85533e161872051d9ad45
1f68eec6612f8eefdf178bbac9d0742ca5af3a58
refs/heads/master
2020-04-01T08:04:36.084798
2018-12-09T20:37:15
2018-12-09T20:37:15
153,016,664
0
0
null
2018-12-09T12:08:54
2018-10-14T20:36:47
Python
UTF-8
Python
false
false
4,451
py
from stockPreprocessing import * # Lets Check how our news data files look #For this purpose we load a list with the name of the files FilesOfNews=['data/news/abcnews-date-text.csv','data/news/articles1.csv','data/news/articles2.csv','data/news/articles3.csv','data/news/RedditNews.csv','data/news/Combined_News_DJIA.cs...
[ "holloszaboakos.1996@gmail.com" ]
holloszaboakos.1996@gmail.com
10db0ee4df7314f6e57d235041f86412e0e3397f
3869cbd5ee40e2bab5ca08b80b48115a7b4c1d5a
/Python-3/basic_examples/strings/string_contains.py
91c957a2f8af0439feffe2bf2eb5c39d78bec717
[ "MIT" ]
permissive
Tecmax/journaldev
0774c441078816f22edfd68286621493dd271803
322caa8e88d98cfe7c71393bcd2a67cf77368884
refs/heads/master
2020-07-08T04:05:03.028015
2019-08-12T09:17:48
2019-08-12T09:17:48
203,559,030
0
1
MIT
2019-08-21T10:13:47
2019-08-21T10:13:47
null
UTF-8
Python
false
false
426
py
s = 'abc' print('s contains a =', s.__contains__('a')) print('s contains A =', s.__contains__('A')) print('s contains X =', s.__contains__('X')) print(str.__contains__('ABC', 'A')) print(str.__contains__('ABC', 'D')) input_str1 = input('Please enter first input string\n') input_str2 = input('Please enter second in...
[ "pankaj.0323@gmail.com" ]
pankaj.0323@gmail.com
f8d7d22ef6d96ecd64064d87736a65402390b602
ee63710a782fc75491a92b7e7860f433d803701d
/Problems/How many nuts will be left after division/task.py
b515069005cdb92cd82fe6c48282cdb49eefa108
[]
no_license
kudrinsky/jba_simple_chatty_bot
b252cc32c8701d8e18229ea1137ee9b82c915b1e
064e73ba58e929464f6f243f9a4602fddb602b27
refs/heads/master
2022-11-07T12:30:01.947207
2020-06-16T09:41:14
2020-06-16T09:41:14
272,668,740
0
0
null
null
null
null
UTF-8
Python
false
false
78
py
squirrels = abs(int(input())) nuts = abs(int(input())) print(nuts % squirrels)
[ "66451886+kudrinsky@users.noreply.github.com" ]
66451886+kudrinsky@users.noreply.github.com
0affee18b4eb2f0d6b168699a616474a7dd1bd50
368465d522ccfcb7292405943c153c8488bd3292
/blog/migrations/0002_comment.py
ec43cc40385aaf5c354e8551ebaa02af62a8f40d
[]
no_license
Yejin6911/piro12-Django
d83d4fae68c6396e65aa3d1a9ce3ab34a39bbc41
70368a9a9c38b1921ecf7449c200153462774d21
refs/heads/master
2020-12-12T20:13:33.168241
2020-01-21T08:20:07
2020-01-21T08:20:07
234,218,096
0
0
null
null
null
null
UTF-8
Python
false
false
629
py
# Generated by Django 2.2.9 on 2020-01-17 14:23 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('blog', '0001_initial'), ] operations = [ migrations.CreateModel( name='Comment', fi...
[ "cdjin6911@gmail.com" ]
cdjin6911@gmail.com
c3c54dc37a631e08fb78b5443f7372563c1875f3
9237a661640afa4b755ae2fc69a86dbdc75f019f
/analysis/splicing/splicing_differential_genesis_helpers.py
aa503a63c04976a31f6672e73dd1fbcb9bd5aaef
[ "MIT" ]
permissive
TrentBrick/genesis
06ca7e665b0713d8dee9b9a966e3ff97fdb0eae3
d80725b51b4b97fb5cddde7b7f0dc1362c11b26b
refs/heads/master
2021-03-10T04:49:49.960116
2019-12-03T22:51:56
2019-12-03T22:51:56
246,420,721
0
1
MIT
2020-03-10T22:24:05
2020-03-10T22:24:04
null
UTF-8
Python
false
false
9,310
py
import isolearn.keras as iso import numpy as np import pandas as pd import scipy.sparse as sp import scipy.io as spio import matplotlib.pyplot as plt import seaborn as sns def plot_logo_w_hexamer_scores(pwm, iso_pred, cut_pred, hexamer_scores, cse_start_pos=70, annotate_peaks=None, sequence_template=None, figsize...
[ "jlinder2@cs.washington.edu" ]
jlinder2@cs.washington.edu
28f39f597186477ec91bf7e05985629bf67e5cc3
d45af79b136fe6f43ec039061dcba323e69fa3d1
/larb/models.py
c8468212b5e95e26c9b8a96d489608776a7d7d66
[]
no_license
claireellul/allauth_tests
9111c552cb44e93725a087ffaf721fb4febbbcee
8f0fdbd390f6ebcae04ac4efb2063efa47a64b66
refs/heads/master
2021-01-09T20:33:42.123935
2016-08-07T09:32:24
2016-08-07T09:32:24
65,121,976
0
0
null
null
null
null
UTF-8
Python
false
false
1,415
py
from django.contrib.auth.models import User from django.db import models from allauth.account.models import EmailAddress from allauth.socialaccount.models import SocialAccount import hashlib class UserProfile(models.Model): user = models.OneToOneField(User, related_name='profile') about_me = models.TextField...
[ "c.ellul@ucl.ac.uk" ]
c.ellul@ucl.ac.uk
99d0f95105b52e4fc4cfacbe6ec49fbd64f80a9d
8afb5afd38548c631f6f9536846039ef6cb297b9
/MY_REPOS/INTERVIEW-PREP-COMPLETE/Leetcode/170.py
b238a6610bd16f36ca650f8091f32d871ece572a
[ "MIT" ]
permissive
bgoonz/UsefulResourceRepo2.0
d87588ffd668bb498f7787b896cc7b20d83ce0ad
2cb4b45dd14a230aa0e800042e893f8dfb23beda
refs/heads/master
2023-03-17T01:22:05.254751
2022-08-11T03:18:22
2022-08-11T03:18:22
382,628,698
10
12
MIT
2022-10-10T14:13:54
2021-07-03T13:58:52
null
UTF-8
Python
false
false
865
py
class TwoSum: def __init__(self): """ Initialize your data structure here. """ self.d = {} def add(self, number: int) -> None: """ Add the number to an internal data structure.. """ if number in self.d: self.d[number] += 1 else...
[ "bryan.guner@gmail.com" ]
bryan.guner@gmail.com
f94aab8232101484b98aba33e99cbdde14146796
cddfc1e27c32e0913c144694727d78d1e9961490
/locallibreria/noticias/migrations/0040_auto_20201128_1826.py
27231fd7ef3078c1115d7fa4a3e9a06384dc472c
[]
no_license
jimfox27/Fase3BarrigaCabrera001
faf47502365603974721881d4e6d810286325369
149504becd4552a80f1c9b4fe8f48cb837ea4dfa
refs/heads/main
2023-01-23T11:03:08.589478
2020-11-30T02:57:42
2020-11-30T02:57:42
317,052,644
0
0
null
null
null
null
UTF-8
Python
false
false
693
py
# Generated by Django 3.1.2 on 2020-11-28 21:26 from django.conf import settings from django.db import migrations class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('noticias', '0039_profile'), ] operations = [ mig...
[ "jim.cabrera@alumnos.duoc.cl" ]
jim.cabrera@alumnos.duoc.cl
b0fd358140c1977de4c6b967445752375d5b320d
0841643267b9fc1478f6e3d21bfccb17aba67af6
/gs_quant/test/timeseries/multi_measure/test_commod.py
62cf3e27ac706122e335c093c15aad79882e93ec
[ "Apache-2.0" ]
permissive
goldmansachs/gs-quant
55618e0e4e961d4ee50b7393f27c258e2647a957
4cf8ec75c4d85b16ec08371c46cc1a9ede9d72a2
refs/heads/master
2023-08-20T00:55:43.324547
2023-08-16T16:55:22
2023-08-16T16:55:22
161,840,815
2,088
596
Apache-2.0
2023-08-16T16:55:23
2018-12-14T21:10:40
Jupyter Notebook
UTF-8
Python
false
false
2,325
py
""" Copyright 2021 Goldman Sachs. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software di...
[ "noreply@github.com" ]
goldmansachs.noreply@github.com
670d6399b2a39e759e420646da725fcdb2bf9977
93ad9efb1576207fe53d2d46051088d507aaae82
/Day05/regex3.py
c5ba0a293b4d7611743cd30d28a303db3be3d274
[]
no_license
akkiaakriti/FSDP_2019
0e18653122ef283b4fa917edea9b644db3132ff7
6768d57642e441377dfc01f18f73240caeb97b34
refs/heads/master
2020-06-04T04:51:24.274917
2019-06-14T07:08:35
2019-06-14T07:08:35
191,879,133
0
0
null
null
null
null
UTF-8
Python
false
false
413
py
# -*- coding: utf-8 -*- """ Created on Fri Jun 7 13:21:14 2019 @author: Aakriti """ card=[] n=int(input("enter the no.of credit cards>>")) for i in range(n): st=input("enter the credit card no. \n") card.append(st) print(card) import re #check whether valid or not card for num in card: if re.search(r'^...
[ "aakritiya2001@gmail.com" ]
aakritiya2001@gmail.com
97a4c72c7fcccc9e7f1ef779b3c122d0659d0abc
d37c6cb24324325ce54306bfe538c7582fae1dcd
/testapp/eventhandler/migrations/0004_remove_event_author.py
6b065e4d33e7b46290c814ba15688074b8462a0d
[]
no_license
lazysuperturtle/webPortfolio
fa996e7e7179197b3fc203d081131442869d0a32
7e50fac890e7c3b03cf965b86e6aa46b90612c9d
refs/heads/master
2022-11-18T09:34:08.217802
2020-07-09T18:39:40
2020-07-09T18:39:40
278,443,352
0
0
null
null
null
null
UTF-8
Python
false
false
332
py
# Generated by Django 2.2.7 on 2020-05-02 12:03 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('eventhandler', '0003_auto_20200502_1144'), ] operations = [ migrations.RemoveField( model_name='event', name='author', ...
[ "denisbereziuc@gmail.com" ]
denisbereziuc@gmail.com
74f7f62634d459c2674276c9979443d8848b6d3c
54e5ef4f91e271ad8ae4582bac30257e52095aff
/leetcode/Compress_the_string.py
2bfcfd7e697601b2ca77385d055a82d1a50449a2
[]
no_license
Rahuly-adav/leetcode
71e1fa638f689f45283e0022b34bbd58be4e6d5f
c2f345e3bd8353e01fc09ee1308f946dbc027c90
refs/heads/main
2023-02-25T10:42:36.189639
2021-02-02T13:28:56
2021-02-02T13:28:56
335,296,597
0
0
null
null
null
null
UTF-8
Python
false
false
264
py
a="1213412346453876587654653425345343334343" b=[] i=0 while i<len(a): co=1 d=1 for j in range(i+1,len(a)): if a[i]==a[j]: co+=1 d+=1 else: break b.append([a[i],co]) i+=d print(b)
[ "noreply@github.com" ]
Rahuly-adav.noreply@github.com
e59776c112e433c63c93c9b9c5ec31a490ebdcd0
6241a486ce4969187d9d1939bda063168b41927b
/SDL/occurance.py
d30cb93fe1ec49584f13b9a660e3cefc315f1fe5
[]
no_license
AadityaDeshpande/TE-Assignments
0b9de8d691f26b6056360b8ce727ea0893bc628e
730480624d7a6952f2c23213c4f2711477e5eeaa
refs/heads/master
2022-03-07T15:12:06.603440
2019-09-25T13:34:51
2019-09-25T13:34:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
344
py
#input a word to search in a given string para="this is a string to test the program hello hello is " print(para) para=para.split(" ") count=0 z=input("Enter a word to search : ") for i in para: if(i==z): count=count+1 print("***************************OUTPUT*****************************") print("occurance of "+z+...
[ "noreply@github.com" ]
AadityaDeshpande.noreply@github.com
cc3955239bdf5d9f39a4dce8866b9062fe174133
cbd5be8ec36d68dce7ebbfd78277ffe80bf0e50d
/fibo.py
e8eaed97ab1f5c13e3dd9caf1b2150da92af656f
[]
no_license
Gaya3balu0509/program
56afa3451da71d7e434b3a1c10d22cef71e63acb
9b1c5c42b9f57368ecc2ee274e56d2ee094a58c8
refs/heads/master
2020-05-28T03:19:43.368488
2019-08-12T11:35:30
2019-08-12T11:35:30
188,865,443
0
1
null
null
null
null
UTF-8
Python
false
false
116
py
numb1=int(input()) a,b=0,1 print(b,end=" ") for i in range(1,numb1): c=a+b print(c,end=" ") a=b b=c
[ "noreply@github.com" ]
Gaya3balu0509.noreply@github.com
3d770c7e452d235ccfc7f3f73b99e99c26666f20
a5ce0be27c22f3db1a9829c5c30142a7db21daeb
/Sifter2-master/Fargate/Orchestrator/register_task.py
1dddd3e6fcd3815006c0771eb5fc6d512781356f
[]
no_license
naveen-10d/backend-shift
eaa6fa49d48c55ddb194bd99ba9d45014a2d4f3a
fc7b9fd57525b5752ceddefd9933e2feeff3655c
refs/heads/master
2020-03-29T16:29:49.833605
2018-09-24T14:34:04
2018-09-24T14:34:04
150,116,190
0
0
null
null
null
null
UTF-8
Python
false
false
916
py
import boto3 client = boto3.client('ecs') response = client.register_task_definition( family='test', networkMode= 'awsvpc', cpu='256', memory='512', taskRoleArn='arn:aws:iam::967636366309:role/ecsExecutionRole', executionRoleArn='arn:aws:iam::967636366309:role/ecsExecutionRole', requiresC...
[ "navyn10d@gmail.com" ]
navyn10d@gmail.com
c07ae0324a8d1e763a658f7ca5d998829eaab954
2ea690a9cd4560aeaaa78dd54a88cc1f1a28b6fc
/fooddelivery/dbinsert.py
5eff11bd717f0af16dbf31de1eb4eb02a4601793
[ "MIT" ]
permissive
rasika-chavan/Food-Delivery-System
56efb6c7864ff364984773a7cf268cf2d9f4fd22
9306c49ab26973a8e209f976ce027ac7e675f7b3
refs/heads/master
2021-04-23T18:13:13.029676
2020-04-24T05:29:11
2020-04-24T05:29:11
249,962,433
1
1
null
null
null
null
UTF-8
Python
false
false
2,426
py
import sqlite3 conn = sqlite3.connect('C:/Users/Admin/Desktop/foodizz/fooddelivery/site1.db') print("DB connected sucessfully") cursor = conn.cursor() print("Connected to SQLite") sqlite_insert_query = """insert into course(coid,catgry_id,coname)values(30,0,"Desserts") """ count=cursor.execute(sqlite_insert_query) co...
[ "shreyadj5@gmail.com" ]
shreyadj5@gmail.com
2b09786d97063f6e780eec0529832c7d10ea7f7c
aa771dcaaa255c49c36a7d29d6321932c584134f
/transformer_lm.py
7c802066440e2c8b4b9da85cf831f5bb94c1862c
[]
no_license
svwriting/Anytime-Auto-Regressive-Model
88a81860913fefe93e7cc90117ee563addee77b9
9ee5a833e3614a20d98b64243e902f7995b90e26
refs/heads/master
2023-06-13T04:52:29.056698
2021-06-23T01:37:24
2021-06-23T01:37:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,131
py
from fairseq import options, utils from fairseq.models import ( FairseqLanguageModel, register_model, register_model_architecture, ) from fairseq.models.transformer import ( Embedding, TransformerDecoder, ) from fairseq.modules import ( AdaptiveInput, CharacterTokenEmbedder, ) DEFAULT_MAX_...
[ "aaronxu@DNab421a90.stanford.edu" ]
aaronxu@DNab421a90.stanford.edu
96cfb7c483f708319a7c00e984a8af71fdb83c5e
121e16003427287b14a93fe7c3e915715cb16ff8
/config.py
4c2e1f1158a15987fd0d28e9da87046685a4deb2
[]
no_license
sandsmark/desman
6eac2ffb83259acbc45b78cefc1cf15c366d5790
cb138159772a238a1bae3ba02a357c504d23f1b5
refs/heads/master
2021-03-13T00:12:01.574273
2014-06-13T21:37:48
2014-06-13T21:37:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
666
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Configuration - the python way ------------------------------ Fuck. """ #### #### # Generic Configuration # # Path to where Lollercoaster is installed: PATH = "/home/cassarossa/itk/sandsmark/prosjekter/lollercoaster" # Key used to authenticate commu...
[ "martin.sandsmark@kde.org" ]
martin.sandsmark@kde.org
8134fcc62254ea05f408dee156c66462980f38c1
0b0f29a6c02c800a3efe6c832438356df1faf39a
/tensorflow/lite/experimental/examples/lstm/unidirectional_sequence_rnn_test.py
6f9e2dd9498f03665b52e423db43ce38d5401eb1
[ "Apache-2.0" ]
permissive
minminsun/tensorflow
aa6ad47307e72489836015b116630efea89303ce
0f2192d6439bf6826d71f2ca46dbe44d585883af
refs/heads/master
2021-05-10T11:54:07.972749
2019-01-31T08:15:57
2019-01-31T08:15:57
168,342,618
1
0
Apache-2.0
2019-01-30T14:49:22
2019-01-30T12:53:21
C++
UTF-8
Python
false
false
7,155
py
# Copyright 2018 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
8d6fdd93b74d1e23f7bc5d19b6e87989d4225dd9
60a107093402d7a50b4a16d495d043b9b71757f9
/model_builder.py
b888cf3702cf12bcf1b809a839732b526572130e
[ "MIT" ]
permissive
AtriSaxena/ssd-detection-app
9428b8b6fe9e7f500f224922cc08e63b660fe600
2662d93c8daf0ed2226c4d956037ce14e092d94f
refs/heads/master
2020-12-26T23:52:40.653368
2020-02-02T00:43:37
2020-02-02T00:43:37
237,694,205
4
0
null
null
null
null
UTF-8
Python
false
false
2,080
py
# ssds part #from lib.modeling.ssds import ssd #from lib.modeling.ssds import ssd_lite import rfb #from lib.modeling.ssds import rfb_lite #from lib.modeling.ssds import fssd #from lib.modeling.ssds import fssd_lite #from lib.modeling.ssds import yolo ssds_map = { 'rfb': rfb.build_rfb, ...
[ "noreply@github.com" ]
AtriSaxena.noreply@github.com
14fc007e35c67323a39194333b4fc33d88ef3611
bcfb257c25fda93175613ec17d0261fa9d8cebfc
/DownWeb/OpenStack/apps.py
0d604a888fdd64fcf74a27c83af66aebd15f0b38
[]
no_license
downtiser/DownWeb
cca02e532c6d584a6e4e33f694d9e034d526e660
3c5c86a971a0c79af6e61b9b4d45edb8ce350b82
refs/heads/master
2020-03-28T14:29:55.013783
2018-09-14T08:20:54
2018-09-14T08:20:54
148,492,871
0
0
null
null
null
null
UTF-8
Python
false
false
98
py
from django.apps import AppConfig class OpenstackConfig(AppConfig): name = 'OpenStack'
[ "noreply@github.com" ]
downtiser.noreply@github.com
cc6bf435aa7d12ea3ebbb2f45ae5a21a4c5deb36
512ac468047cf3b8bf2580ac99c80fb8f0f938d3
/daemon/lib/raw_parsers/document_raw_parser.py
0a8a03ea4acfec3f846f1249c2f931b4d3644f66
[]
no_license
secaglobal/Document-Generator
033b6d7a4eac7a761ba4209a16bf735592f2cc1e
bd80258cfd72703f126eedc06be53176e6168d27
refs/heads/master
2016-09-05T09:13:04.486702
2012-03-18T18:59:01
2012-03-18T18:59:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
541
py
import logging import FileBroken from Exceptions import JSONRawParser from json_raw_parser DocumentRawParser(object): """Interface for parsing document raw files (pattern Bridge)""" def __init__(self, filepath): self.filepath = filepath self.parser_impl = None def __getParser(self): """Returns par...
[ "levandovskiy.s@gmail.com" ]
levandovskiy.s@gmail.com
e937b8b73e73ecfc56fbada1397ff4fb0189da70
a925f08a313f3e74e02a1793db7679a37edf26ec
/homework, 2-1.py
8733dc0c8beb4c0abc18583de09ccd8bcaec5069
[]
no_license
oynovichkova/python-learning
b1a5d476bdcc566bdf7b7d789eaa4ec78c96ea5a
a6727824fefa4c2f5cc6667da426549689263d26
refs/heads/master
2021-01-20T06:11:44.819623
2017-05-29T15:44:45
2017-05-29T15:44:45
89,849,716
1
1
null
null
null
null
UTF-8
Python
false
false
396
py
#1. Написать функцию принимающую на вход число и # возвращающую последовательность чисел Фибоначи до этого числа. n=int(input()) from __future__ import division import math def fib(n): SQRT5 = math.sqrt(5) PHI = (SQRT5 + 1) / 2 return int(PHI ** n / SQRT5 + 0.5) print(fib(n))
[ "noreply@github.com" ]
oynovichkova.noreply@github.com
d9684aba570e5e88fb207cccb8de9c32dddb5451
3345eb032afa159a5b4b32fe0b62e4435dac523f
/dingtalk/api/rest/OapiEduFamilyChildGetRequest.py
42eedcee8bcf1a1220f5d83407a7417d041548e1
[]
no_license
xududu/dingDingApi
ada6c17e5c6e25fd00bdc4b444171b99bc9ebad7
b1e7c384eb8fb7f79f6f5a6879faadfa95d3eda3
refs/heads/master
2023-08-31T03:04:48.438185
2021-10-13T08:52:13
2021-10-13T08:52:13
416,558,271
0
0
null
null
null
null
UTF-8
Python
false
false
348
py
''' Created by auto_sdk on 2021.01.20 ''' from dingtalk.api.base import RestApi class OapiEduFamilyChildGetRequest(RestApi): def __init__(self,url=None): RestApi.__init__(self,url) self.child_userid = None self.op_userid = None def getHttpMethod(self): return 'POST' def getapiname(self): return 'dingtalk...
[ "739893589@qq.com" ]
739893589@qq.com
def48508b78949edd5005daa6c518427f898c0c1
0f2c8dcd9b54e1c2723c18f1207a9b3b668e20be
/hints.py
035607b5c5ac301348e7358568c9e634ca345cb9
[]
no_license
DiWorm/py-selenium-learning
68b68e11caf4f167c71d22715664688d11a69894
ba3fccfbbaf8e4318a13b327ef5aff02be5c5f9a
refs/heads/master
2020-04-26T23:56:54.201935
2019-04-02T10:32:51
2019-04-02T10:32:51
173,919,200
0
0
null
null
null
null
UTF-8
Python
false
false
6,535
py
#element exist? from selenium.common.exceptions import NoSuchElementException from selenium.webdriver.common.by import By def is_element_present(driver, *args): try: driver.find_element(*args) return True except NoSuchElementException: return False is_element_present(driver, By.name, "q") ### def are_...
[ "dyworm@gmail.com" ]
dyworm@gmail.com
99324ee02481ac62b51faf12124967285ab469b3
f516b7561b93f640bcb376766a7ecc3440dcbb99
/contests/codeforces/ed-59-div-2-rated/a.py
72f069f62c4b5f6ac44f9b6d8c8c6372abc9c36c
[ "Apache-2.0" ]
permissive
vtemian/interviews-prep
c41e1399cdaac9653c76d09598612f7450e6d302
ddef96b5ecc699a590376a892a804c143fe18034
refs/heads/master
2020-04-30T15:44:42.116286
2019-09-10T19:41:41
2019-09-10T19:41:41
176,928,167
8
1
null
null
null
null
UTF-8
Python
false
false
321
py
n = int(input()) def solve(): no_digits = int(input()) seq = input() if len(seq) < 2: print('NO') return first = seq[0] if not int(first) < int(seq[1:]): print('NO') return print('YES') print('2') print(first, seq[1:]) while n: solve() n -= 1...
[ "vladtemian@gmail.com" ]
vladtemian@gmail.com
38740b98576b55d5cd8c85e332533a2421918824
c24ad19b65992dd2be3d3210b889d970e43b9cdc
/class/phase1/day14/exercise01.py
8005be1464a334e50856aaca74d8b3cb1914041a
[]
no_license
ivoryli/myproject
23f39449a0bd23abcc3058c08149cebbfd787d12
cebfa2594198060d3f8f439c971864e0639bbf7e
refs/heads/master
2020-05-30T06:25:41.345645
2019-05-31T11:15:55
2019-05-31T11:15:55
189,578,491
0
0
null
null
null
null
UTF-8
Python
false
false
274
py
def get_score(): while True: try: n = int(input("请输入成绩:")) except ValueError: print("输入有误") continue if 0 < n < 101: return n print("成绩不在范围内") get_score()
[ "2712455490@qq.com" ]
2712455490@qq.com
117b993bbae896721a3b122edc3855657b696d81
85cb87ea9f1faa780b14ca5acbc8ebd96feb498d
/leetcode_python/pic45.py
b26ce3b880a2fa3622c1d080df6b04161de06a74
[]
no_license
Bxyz/learnPython
0225f0a70297eff68b1d77a447e95a35c24ba7f0
dfd698ed8237b47b0162d4840184c5d7c22f7c6c
refs/heads/master
2021-05-22T16:55:13.362339
2018-10-22T04:33:08
2018-10-22T04:33:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
88
py
a = 77 b = a & 3 print(b) b = a & 0 print(b) #按位与:0&0=0; 0&1=0; 1&0=0; 1&1=1。
[ "645112728@qq.com" ]
645112728@qq.com
e65a43c45593bea9823add36d55d59cbf9ee83a9
ae7849ced646132c235f1244856ef8f08108a294
/4sqdungeoncrawl.com/passenger_wsgi.py
0c744ef715fffe524428fe5f7b65e3fff81f80c9
[]
no_license
sarvenna/dungeoncrawl
81726547c6e78846a9cf4fd2fa7dec7ba76137d5
f5849a849fce90297efe57a1b6d9adcb7b98170e
refs/heads/master
2021-01-10T00:54:42.031590
2011-02-20T01:12:47
2011-02-20T01:12:47
1,386,708
2
0
null
null
null
null
UTF-8
Python
false
false
194
py
import sys, os sys.path.append(os.getcwd()) os.environ['DJANGO_SETTINGS_MODULE'] = "dungeoncrawl.settings" import django.core.handlers.wsgi application = django.core.handlers.wsgi.WSGIHandler()
[ "dungeoncrawl@alcor.dreamhost.com" ]
dungeoncrawl@alcor.dreamhost.com
ff8eaaceca06ce5bda3a8176aefdf72bb1f77635
f42a10b970c4e0c91f5430ce206297fa0f54f451
/application.py
3a0c0efb22f1b9df35f296b4b9fd08dd212a3831
[]
no_license
williamssanders/generateMappings
1914cbbcb09e206d63690ac4315dc34f98351dff
22f11bb401a80f545d26174ab75112732970d924
refs/heads/master
2021-01-06T00:47:44.379656
2020-02-17T18:53:07
2020-02-17T18:53:07
241,181,690
0
0
null
null
null
null
UTF-8
Python
false
false
1,768
py
class Application: def __init__(self,key,name,rate,perturbedRate,computeName,mapping): self.key = key self.name = name self.rate = rate self.perturbedRate = perturbedRate self.computeName = computeName self.mapping = mapping def get_key(self): return self...
[ "william.s.sanders@gmail.com" ]
william.s.sanders@gmail.com
bb9f0c7c0157706622f6063db74fe839cbfb853b
7c80dad63f56f7c83fd9d1d970804da2c8c79a9c
/apps/blog/templatetags/my_func.py
397f876f9dd3dec69a3c01ee3948461962b09503
[]
no_license
zzy0371/Django-demo1
d7115ff9b236f9b21e12e2f259e850b28b905fd0
25f32035d38a69681a3eafb02fda1b46436b16f5
refs/heads/master
2022-12-07T18:33:53.805005
2019-08-23T02:30:18
2019-08-23T02:30:18
203,908,229
0
0
null
2022-11-22T04:12:26
2019-08-23T02:23:24
JavaScript
UTF-8
Python
false
false
818
py
""" 自定义模板表达式 扩展Django原有功能 """ from django.template import library register = library.Library() from blog.models import Article,Category,Tag,Ads @register.simple_tag def getads(): return Ads.objects.all() @register.simple_tag def getlatestarticles(num=3): return Article.objects.order_by("-create_time")[:num]...
[ "496575233@qq.com" ]
496575233@qq.com
26dcbfa26bb2658c145592501ec56fe06211e560
340fd9a6345a1fd6ea5c494fd1e25ef1a15cd83d
/my_blog/article/migrations/0002_articlepost_author.py
4e223e50fc8e55a2de6e430d3361f5dab52f13d0
[]
no_license
ltfred/blog
48024992922d570db7042d56855f6c28b7c581f8
9e7c9253a4576cbc443edea8fdebed92733d6f9f
refs/heads/master
2020-07-26T15:24:24.215702
2019-09-23T02:18:55
2019-09-23T02:18:55
208,689,787
1
0
null
null
null
null
UTF-8
Python
false
false
686
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.11 on 2019-09-16 06:07 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrati...
[ "liutao@Freddembp.local" ]
liutao@Freddembp.local
d7e3a9a23c6de743ce2aa6d5ceebc803276c5541
50be0c9ffbb8e019c723add6447efcfc70e9b250
/faceNet/get_emb_serving/pre_whiten.py
b470dfae122d90cd70196c941c8ff349c9a2d721
[]
no_license
wkkyle/based_on_facenet
4df2fdcd20c83fe9a8e77e8f493794587fe962e0
1f9cb914d86934afd24697342e488b068bb813dc
refs/heads/master
2020-06-12T16:02:08.065407
2019-06-28T08:46:36
2019-06-28T08:46:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,475
py
import numpy as np from scipy import misc import os import cv2 def load_data(image_paths, image_size): images = np.zeros((image_size, image_size, 3)) img = misc.imread(image_paths) # print('pre-wihten', img) if img.ndim == 2: img = to_rgb(img) img = prewhiten(img) images[:,:,:] = img ...
[ "zhushuaisjtu@qq.com" ]
zhushuaisjtu@qq.com
07ff42ba2fc6571a35e448bad26b012e1fccf8d7
9a70f9d53466db9bd6c772505a7084668ad16a2c
/fbone/config.py
c497c0f25e0c341482262071058190b1d1ea2da9
[ "MIT", "BSD-3-Clause" ]
permissive
butfriendly/flaskbone
14a27a52a83e094196cddb76190804e7c514836e
b3e0316eb53892423e2b5f24a2627184ba2bcb91
refs/heads/master
2021-01-18T12:06:32.536036
2012-12-06T09:33:06
2012-12-06T09:33:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,426
py
# -*- coding: utf-8 -*- PROJECT = "fbone" class BaseConfig(object): DEBUG = False TESTING = False # os.urandom(24) SECRET_KEY = 'secret key' class DefaultConfig(BaseConfig): DEBUG = True SQLALCHEMY_ECHO = True # Sqlite # Use a tmp database, change to anywhere to suit yourself. ...
[ "im.wilson.xu@gmail.com" ]
im.wilson.xu@gmail.com
198c93de09e3177371ddbe742a4b5e083ea10b82
9b58789397b939438d6016a13334b32de58f458f
/psdaq/psdaq/control_gui/CGWMainTabExpert.py
1af1af7b97771df392a36211575f77930c5ed68b
[ "BSD-2-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
AntoineDujardin/lcls2
8a07e73ebf2d583e6a3ff518147b1908cce9e17b
8b9d2815497fbbabb4d37800fd86a7be1728b552
refs/heads/master
2020-07-07T19:22:05.176926
2019-08-20T20:46:52
2019-08-20T20:48:46
203,452,948
0
0
NOASSERTION
2019-08-20T20:53:56
2019-08-20T20:53:55
null
UTF-8
Python
false
false
3,826
py
""" Class :py:class:`CGWMainTabExpert` is a QWidget for interactive image ======================================================================= Usage :: import sys from PyQt5.QtWidgets import QApplication from psdaq.control_gui.CGWMainTabExpert import CGWMainTabExpert app = QApplication(sys.argv) ...
[ "msdubrovin@gmail.com" ]
msdubrovin@gmail.com
2c994000c850714168262903315cb27d77c69372
144cfa74610b439d0fdb867b72f4bba82990e86f
/Ejercicios Realizados/librerias/datetime_ejercicio_tres.py
040ae641cae57658b17893714aecfbb3bb3e436b
[]
no_license
rbo93/mi_primer_programa
2d2ea089f5cabbb491fc9ea38f1c711d15caaf4f
1f65b9dea507696944975c829e17d5b4bfde79ba
refs/heads/master
2020-07-31T07:13:18.148156
2019-10-28T04:15:22
2019-10-28T04:15:22
210,527,004
0
0
null
null
null
null
UTF-8
Python
false
false
1,335
py
""" Ejercicio 3 Crea un programa que te diga, introduciendo cualquier fecha, cuantas horas han pasado desde ese momento. """ import datetime hoy = datetime.datetime.now() print("Fecha actual {} {}:{}".format(hoy.strftime("%d-%m-%y"), hoy.hour, hoy.minute)) print("Dime una fecha y te dire cuantas horas han pasado de e...
[ "rbo.93@hotmail.com" ]
rbo.93@hotmail.com
b1055682fe506ed63bbfba2ce4bc1c423a6661f1
35825218a8e032dc44abd216788be92f8c518d1c
/event_extraction/model.py
61944fa2a3387b07f35e09d7c3a8e94d0810b5d7
[]
no_license
qfzxhy/EventExtraction_system
31deca268e1d05eeee0ebaa3656762803bee9558
ad03d24a030ac6ea2467cf1d9d5a97621fa98399
refs/heads/master
2020-03-19T01:05:01.160144
2018-05-31T02:32:30
2018-05-31T02:32:30
135,521,338
2
0
null
null
null
null
UTF-8
Python
false
false
41,293
py
# -*- coding:utf-8 -*- _author_ = 'qianf' import helper import tensorflow as tf import codecs # from tensorflow.models.rnn import rnn import math import os import numpy as np import heapq import MDAtt as mdatt # from voc import Tri_Tag_Index # tri_num_class = 4 # print(tri_num_class) def bidirectional_LSTM(input, hid...
[ "qfzxhy@qianfangdeMacBook-Pro.local" ]
qfzxhy@qianfangdeMacBook-Pro.local
91df19419892d18e2f7d515207f89d1433bf1a48
0bf2955e12abc2ccd4c074e1d75cc421a0c25270
/my_neighbors/settings.py
ed93256f2e4321b04c43363279b497aa1743de46
[]
no_license
Kamiran79/my_neighbors_server
dbde22dc52cf95402f07a9f9bb209ce79fc29b83
70c5943b250ae7f81faf8a45a8941abf385f327c
refs/heads/main
2023-03-26T10:47:46.150514
2021-03-28T22:16:06
2021-03-28T22:16:06
345,204,364
0
0
null
2021-03-28T22:16:06
2021-03-06T22:01:28
Python
UTF-8
Python
false
false
3,818
py
""" Django settings for my_neighbors project. Generated by 'django-admin startproject' using Django 3.1.3. For more information on this file, see https://docs.djangoproject.com/en/3.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.1/ref/settings/ """ from pa...
[ "kamiran.ibrahim@gmail.com" ]
kamiran.ibrahim@gmail.com