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
3c67a4b9cc2936a7735c731d515fa2157533c963
9bc93942dd89dcac95b5216a7bb70bf530e29236
/pythonAlgo/DFS&BFS/등산경로.py
240f7b03a8c86a9c4ef5479ac55bdf61ece999c8
[]
no_license
zbqlr456/zbqlr456
65edccef49f63fa72d98aa58105b87797465a157
8b5811d8e7a9f7d3c28cb12450ae69c0ed44216b
refs/heads/main
2022-12-25T06:11:10.931084
2022-12-13T06:55:15
2022-12-13T06:55:15
252,738,892
0
0
null
null
null
null
UTF-8
Python
false
false
893
py
import sys di = [-1, 1, 0, 0] dj = [0, 0, -1, 1] def DFS(x,y): global cnt if x == end[0] and y == end[1]: cnt += 1 else: for d in range(4): nexti = x + di[d] nextj = y + dj[d] if 0 <= nexti < n and 0 <= nextj < n and g[nexti][nextj] > g[x][y]: ...
[ "zbqlr456@naver.com" ]
zbqlr456@naver.com
d1ede18d2d2e4505c05518905e58bd32ee7fa1e2
0a1d48a2b740b5bd74505f2b392b92f56f99f880
/app.py
634594cf9fcaf5fc74cfe9c90b9814278995ac31
[]
no_license
sarahoeri/Giraffe
4dde173b42665250c51cd4f86e2404e4ade7b5d9
283b44714f07509879392b1455416df5ee246c51
refs/heads/master
2020-12-20T08:07:40.583411
2020-01-27T13:28:21
2020-01-27T13:28:21
236,009,706
0
0
null
null
null
null
UTF-8
Python
false
false
894
py
# Variables character_name = "John" character_age = "50" isMale = True print("there was once a man called " + character_name) print("he was at an age of " + character_age) # Functions phrase = "Giraffe Academy" print(phrase + " is developed now") print(phrase.upper()) print(phrase.lower()) print(phrase.isupper()) pri...
[ "oerisarah@gmail.com" ]
oerisarah@gmail.com
5ba9e377fc2b1c5b3775045e195f5149da9627d2
8d14d526969d8e970254f08563ff2c6e6583dd35
/Python/2019/ClassOrnek/kullanici.py
235c35cfc5458e2c5b66ae4511e018339c8b2338
[]
no_license
osmanraifgunes/MedipolCodes
c29db62896162c4b1a2c8c274877fff63149f826
943b014269e9a7b529e74741ce14447dbd7d5df5
refs/heads/master
2023-01-09T10:31:02.907945
2020-06-09T18:05:04
2020-06-09T18:05:04
218,612,787
6
13
null
2023-01-07T18:58:55
2019-10-30T19:59:16
Python
UTF-8
Python
false
false
546
py
import tkinter as tk import Ornek orn = Ornek.deneme2() """print (type(orn)) print (orn.acilis)""" #orn.globalOzellik3 = 123 print (orn.globalOzellikGetter) #print (orn.globalOzellik3) #print (Ornek.deneme2.globalOzellik) def topla(sayi1,sayi2): return sayi1 + sayi2 orn.globalOzellikSetter = topla(5,55) print ...
[ "osmanraifgunes@gmail.com" ]
osmanraifgunes@gmail.com
efb6d49912852567e840d7d060577207271bfb3d
3a30af04ebb4970896de7554a3384e5777556b6d
/B_Transformation and ICP/slam_04_c_estimate_transform_question.py
d0c28e76f07ef6fac76727b9ddb40ecb2d8f7100
[]
no_license
konanrobot/Filter-SLAM
be757e9b0ae0b2c4a2ee348d4d504130c939cbb8
52898bcc374baaf7a48df02ae51ed0000c673c4e
refs/heads/master
2021-06-17T11:16:45.779883
2017-05-25T15:23:30
2017-05-25T15:23:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,182
py
# For each cylinder in the scan, find its cartesian coordinates, # in the world coordinate system. # Find the closest pairs of cylinders from the scanner and cylinders # from the reference, and the optimal transformation which aligns them. # Then, output the scanned cylinders, using this transform. # 04_c_estimate...
[ "xushangnjlh@gmail.com" ]
xushangnjlh@gmail.com
a33eefbf9b26a91be2b862f3f88994ead11d060e
27404287781cdbc9f66c75cb3f3bdc20e602740c
/util.py
ab9481c0d986c78301245646a4b725eb334e420f
[]
no_license
z-van-baars/Citigen
20f713fe45f8a012a311c35c17b51f32ae7d948a
0ce0eed94c7313741b65c1739befd017a322308a
refs/heads/master
2022-04-23T18:08:53.620323
2020-04-29T05:16:08
2020-04-29T05:16:08
257,134,459
0
0
null
null
null
null
UTF-8
Python
false
false
4,153
py
import random import math import string import pygame CHARACTERS = (string.ascii_letters + string.digits + '-._~') def generate_unique_key(length=8): """Returns a unique unicode key of length l, default=8""" return ''.join(random.sample(CHARACTERS, length)) def generate_coordin...
[ "zvanbaars@gmail.com" ]
zvanbaars@gmail.com
85722f6d4dadf839b0b2b64b210aa5a325367cd5
5e0755091efd2d4ed61bead8aa38b45bab5a8b07
/python/anyascii/_data/_1b0.py
4d80487311c754b87a50572f39d147a8be20a53e
[ "ISC" ]
permissive
casept/anyascii
c27261d87257c17c47fe0e9fc77438437de94c1c
d4f426b91751254b68eaa84c6cd23099edd668e6
refs/heads/master
2022-12-05T07:13:53.075144
2020-08-07T07:55:50
2020-08-07T07:55:50
285,904,577
0
0
ISC
2020-08-07T19:20:00
2020-08-07T19:19:59
null
UTF-8
Python
false
false
748
py
b='e e a a a a i i i i u u u u u e e e e e o o o ka ka ka ka ka ka ka ka ka ka ka ka ki ki ki ki ki ki ki ki ku ku ku ku ku ku ku ke ke ke ke ke ke ko ko ko ko sa sa sa sa sa sa sa sa si si si si si si su su su su su su su su se se se se se so so so so so so so ta ta ta ta ti ti ti ti ti ti ti tu tu tu tu tu te te te t...
[ "hunter@hunterwb.com" ]
hunter@hunterwb.com
9ae7e8b3abe41c13083a6010f9fb09895c3d755e
b1cf797d4d26553a6121d36bb560097260c462f3
/math.py
66fbbae7a20df53adfbce836f68c3f7215bfb13c
[]
no_license
gahlm/DarkOverLordsCreepyDungeon
1bc8812094151354ed26f66234c50a765f7de911
9ab6b79ea27a6a7ac903f348ca7c2eedec337c34
refs/heads/master
2022-09-10T09:04:02.730706
2020-06-04T15:49:28
2020-06-04T15:49:28
269,231,222
0
1
null
2020-06-04T15:49:29
2020-06-04T01:22:10
Python
UTF-8
Python
false
false
328
py
import random class Dice: def __init__(self, name, value): self.name = name self.value = value def get_dice(self): return random.randrange(1, int(self.value + 1)) d2 = Dice("d2", 2) d4 = Dice("d4", 4) d6 = Dice("d6", 6) d8 = Dice("d8", 8) d10 = Dice("d10", 10) dice = [d2, d4, d6, d8...
[ "noreply@github.com" ]
gahlm.noreply@github.com
c51225515680be1d025e75852fbe272c51510692
b40d57de3d06884822f9b4e7dee0c07bdb00ab29
/ENV/bin/python-config
518fa5a69982e217531e5a743f74856432984435
[]
no_license
chrislupdx/URLshort
44dc562cd3abd0eac3614f9472e6e87e0cd07462
b74a0abcfc9091fd5469d6973df38040c39300c7
refs/heads/master
2020-03-26T06:45:52.837644
2018-10-29T20:47:07
2018-10-29T20:47:07
144,620,878
0
0
null
null
null
null
UTF-8
Python
false
false
2,344
#!/home/egh/Homework/URL/ENV/bin/python import sys import getopt import sysconfig valid_opts = ['prefix', 'exec-prefix', 'includes', 'libs', 'cflags', 'ldflags', 'help'] if sys.version_info >= (3, 2): valid_opts.insert(-1, 'extension-suffix') valid_opts.append('abiflags') if sys.version_info >=...
[ "christopherlu.pdx@gmail.com" ]
christopherlu.pdx@gmail.com
a35cbfcc66192e32df195659da657709620feccb
f4271f87915f2ce7f0906801485b41a67790ce59
/cart/urls.py
c05d0b8d3b29a15683bce11264f1b6d0383afc9e
[]
no_license
ikeyurp/Courseily
388560a85d6f4dcee767c01246bb8974ddf65949
cd0c0be78c0a0061615951fbbac5e2c594741765
refs/heads/main
2023-03-19T05:29:56.486841
2021-03-14T18:30:32
2021-03-14T18:30:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
338
py
from django.urls import path from . import views app_name = 'cart' urlpatterns = [ path('', views.cart_detail, name='cart_detail'), path('add/<slug:slug>/', views.cart_add, name='cart_add'), path('remove/<slug:slug>', views.cart_remove, name='cart_remove'), path('checkout', views.cart_checkout, name='...
[ "keyurbhut12345@gmail.com" ]
keyurbhut12345@gmail.com
5bceb0d3f3d2d2bd9a515aaf742430e092604d10
4d496a62949c25a4c5eabfc617d25d8f6bfbc713
/Aula 7 Funções e Métodos.py
32d749fdf169ab3480aa296823536d91fbf25579
[]
no_license
Jhonnylibra/Aprendendo-Python
57bede8a48e93f876353f36a5fe55533b72a0440
fa03dbd688d9e2928f40275773c7a9e854ba1f3f
refs/heads/main
2023-05-12T17:40:50.406002
2021-05-31T00:11:52
2021-05-31T00:11:52
367,945,375
1
0
null
null
null
null
UTF-8
Python
false
false
589
py
class Calculadora: def __init__(self, num1, num2): self.valor_a = num1 self.valor_b = num2 # Funções retornam valores def soma(self): return self.valor_a + self.valor_b def subtracao(self): return self.valor_a - self.valor_b def multip(self): ...
[ "noreply@github.com" ]
Jhonnylibra.noreply@github.com
16fe7899fdb89976f298c7e6c833803990bebb7f
e13584adb4d99aa355de6b4674d01e819a874b59
/env/bin/python-config
c7510464bb7ec892148c05d85b1b771877a85b08
[]
no_license
monetree/algoscale
d6a4b66c50faf6529a74301513ca42a9492b07d0
86b7fb4e8ea22fb84d64e2703905ab95bde827f3
refs/heads/master
2020-03-30T10:35:26.528734
2018-10-01T17:17:24
2018-10-01T17:17:24
151,126,850
0
0
null
null
null
null
UTF-8
Python
false
false
2,355
#!/home/soubhagya/Desktop/algoscale/env/bin/python import sys import getopt import sysconfig valid_opts = ['prefix', 'exec-prefix', 'includes', 'libs', 'cflags', 'ldflags', 'help'] if sys.version_info >= (3, 2): valid_opts.insert(-1, 'extension-suffix') valid_opts.append('abiflags') if sys.vers...
[ "soubhagyakumar666@gmail.com" ]
soubhagyakumar666@gmail.com
a7a100d9fb9ff8d513977a88dd73613b8130d2ad
feecc591c08bf23f1ff78826549d326dd53d1f20
/run_sampling_fixed_parameters.py
3a34f23e01eea7a865c1bf7b58d87cf3d919d355
[]
no_license
LoLab-MSM/CORM
cd732615021ef19c9f8ad89447acdcb8e7f14b83
71630627eb1e1afa80bd449acb8fde026ca2d6c0
refs/heads/master
2022-11-24T03:24:12.858546
2017-02-28T20:17:49
2017-02-28T20:17:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,620
py
# -*- coding: utf-8 -*- """ Created on Wed Mar 23 16:58:34 2016 @author: Erin """ # -*- coding: utf-8 -*- """ Created on Tue Dec 9 15:26:46 2014 @author: Erin """ from core import run_dream from pysb.integrate import Solver import numpy as np from parameters import NormalParam from scipy.stats import norm import py...
[ "erin.shockley@vanderbilt.edu" ]
erin.shockley@vanderbilt.edu
0f6141d3b2eed8a6a8945815a306d2ecf31c065d
05723c953a5ce5392c9db0210e4cfe13a1621e1c
/src/server.py
eca7891b271a408fcb0db35dd74c45c107ac4b50
[ "MIT" ]
permissive
Shicheng-Guo/recountmethylation_server
269bac8c81e7fbeb67a828ccd62294bded6f2b6a
e7cfaaca431f1b063c3ed2715f62de0a06845448
refs/heads/master
2023-06-16T02:57:03.050080
2021-07-08T17:49:47
2021-07-08T17:49:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,014
py
#!/usr/bin/env python3 """ server.py Authors: Sean Maden, Abhinav Nellore Description: Server script to manage an instance of the recount-methylation database. Overview: A recount-methylation instance consists of files (namely edirect query results, experiment metadata in soft format, and m...
[ "maden@ohsu.edu" ]
maden@ohsu.edu
0a92c2795618c067dffe8514cc858a8d46a72240
4f88c6737240c902d1093d1bc250137aa28c3669
/Hangman_game.py
a1f7e473ac23acf3cbdc22d67e72c729f6a03609
[]
no_license
jaydeep283/Hangman-Game
0a92bd540e85e428cbdb4710c2af7183097092f6
3e693bae05b02fb24011d9af713c57f99539fbf2
refs/heads/main
2023-07-05T17:23:34.040250
2021-08-28T15:19:36
2021-08-28T15:19:36
400,824,080
0
0
null
null
null
null
UTF-8
Python
false
false
4,997
py
# Hangman game which lets user to predict the letters from the random word chosen by program. #For choosing word randomly import random #Path for text file containing all possible words. WORDLIST_FILENAME = "words.txt" def loadWords(): """ Returns a list of valid words. Words are strings of lower...
[ "noreply@github.com" ]
jaydeep283.noreply@github.com
974a2d4a88ed7a61a78b987b186da95ea207fda6
64ada708c3ee39c624a223fa4881ce3689041606
/Chapter3/list0303_2.py
5aaa75fbb416c44e7ca982dafdd8633312280cfa
[]
no_license
kimcaptin/PythonGame_1
1173cf3ac356d29b1cb254b1607bd4528e0a28cc
af32318bf1e6ea73aa00fc4c72d07e1a5d7c5300
refs/heads/main
2023-01-04T05:46:02.782910
2020-10-28T06:53:30
2020-10-28T06:53:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
119
py
gold = 100 if gold == 0: print("소지금이 없습니다") else: print("구입을 계속하시겠습니까?")
[ "jeipubmanager@gmail.com" ]
jeipubmanager@gmail.com
b22322fe3489c5384a325c3f92dd5aed24dc2fdc
1b88937115f698eaa40b3bf1f106bb5377ead4d5
/django_base/playlist/models.py
4f5ea70c37369e3a4cee3651a02f91c626d30e82
[ "MIT" ]
permissive
gasbarroni8/best-channels
259903ac6a280790e99fe5331570edd672027f59
f82a9b51be6292945e3d4ef2cd2702ac4fdbe0cf
refs/heads/master
2020-11-30T05:31:32.184496
2019-09-10T01:01:20
2019-09-10T01:01:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
861
py
from django.db import models from inner.models import Inner class Playlist(models.Model): HOT = 'hot' NEW = 'new' PLAYLIST_TYPE = ( (HOT, 'hot'), (NEW, 'new'), ) inner = models.ForeignKey( Inner, related_name="playlist", on_delete=models.CASCADE) channel_id = models.C...
[ "wiwindson@outlook.com" ]
wiwindson@outlook.com
0889868667158ce67e7e7dff2559b9c9c4e29d70
f02cca2785c16a18e05fb9ccee40341c48cda9ec
/getprice.py
397320eca28c622b63e2a050559a390127488de9
[]
no_license
joshagoldstein/binance_notifications
b53045633855b0d40cc9268a3071a755b32cf90b
d58526f4d7695f9397ef20268c82d2ebcd511a5c
refs/heads/main
2023-05-03T10:29:24.320118
2021-05-08T08:37:58
2021-05-08T08:37:58
365,339,210
0
0
null
null
null
null
UTF-8
Python
false
false
1,769
py
from binance.client import Client import time t = time.localtime() current_time = time.strftime("%H:%M:%S", t) client = Client('3wfiKJWWSW42XSsSw0Y4fxm9iVHMaZeQFSyIMqn6RzAG8s33CpXW8rrr1J4TzC5m', 'o8BfTLXoa1evd5FpLn1TD1WqpRg3bGfvKSzwmta7a9T0afHe1SrEYJyb8qqSLw9w') #Get current price of each coin # info = client.get...
[ "noreply@github.com" ]
joshagoldstein.noreply@github.com
345a0494dccef9249e506fe626e36609d43e3f4a
9e4967f0bbe29ee3a78b1e6a1d153f2c7156be13
/tweetnacl_pure.py
6c073d28bf78e0eb981f2b956eb202c266828fea
[]
no_license
rofl0r/backdoor-py
981bf3fbd2bdd07ce3fe267ff3ad109d44ed9a84
2b0c65b86ee8af6a154ce2dbffc18a41a5332e66
refs/heads/master
2021-06-28T09:10:57.078374
2020-10-16T22:48:52
2020-10-16T22:48:52
176,001,354
7
1
null
null
null
null
UTF-8
Python
false
false
43,929
py
# -*- coding: utf-8 -*- """ taken from https://github.com/jfindlay/pure_pynacl Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definiti...
[ "rofl0r@users.noreply.github.com" ]
rofl0r@users.noreply.github.com
337fc9acd874ec2fe78a22c97a899891aa30bc6e
cac5c5fc82a6f1a377786bca731996bbb6d67e70
/lab8/perceptron.py
6eef9b9e40d9d9237973383b3e6b92244c5d9d8e
[]
no_license
njordan3/Artificial-Intelligence
db81cfe92d28fe9a14b438140ac387587c892200
a63f7d91e4fb8f1a36738a7999819c53870f2d04
refs/heads/master
2022-08-27T16:53:17.638856
2020-05-20T15:24:49
2020-05-20T15:24:49
265,606,840
0
0
null
null
null
null
UTF-8
Python
false
false
1,649
py
# Author: Nicholas Jordan # Date: 4/7/20 # Lab 8: Perceptron Learning Algorithm Using Fisher's Iris Dataset import csv from random import seed from random import random filename = "iris.csv" array = [] with open(filename, newline='') as csvfile: csvreader = csv.reader(csvfile, delimiter=',') for row in csvr...
[ "noreply@github.com" ]
njordan3.noreply@github.com
f321eb6f45926063501fb2e517aa62032f931345
16516732031deb7f7e074be9fe757897557eee2d
/AtCoder/ABC144/B - 81.py
20cb27b770682ca06d845b8961d895932b2f6ea9
[]
no_license
cale-i/atcoder
90a04d3228864201cf63c8f8fae62100a19aefa5
c21232d012191ede866ee4b9b14ba97eaab47ea9
refs/heads/master
2021-06-24T13:10:37.006328
2021-03-31T11:41:59
2021-03-31T11:41:59
196,288,266
0
0
null
null
null
null
UTF-8
Python
false
false
172
py
# 2019/10/29 n=int(input()) for i in range(1,10): for j in range(1,10): if n==i*j: print('Yes') exit() else: print('No')
[ "calei078029@gmail.com" ]
calei078029@gmail.com
dc507a14aa2d66870ccc251aaa3639821fae136b
d1b27a90037b3b7ad5a14cf77d28b6313104d8c5
/backend/users/tasks.py
191013ed3960dff89e30bbfabd4955c4a9537763
[ "MIT" ]
permissive
zepplinsbass/imperial_assault
66ad08c8dddc56e9300fbf33a597e2ce503b0ead
b6bd0ecef15962978308269f909573bef1c05bfc
refs/heads/main
2023-04-14T03:53:48.455018
2021-04-20T13:23:58
2021-04-20T13:23:58
355,036,618
0
0
null
null
null
null
UTF-8
Python
false
false
161
py
from django.core import management from imperial-assault import celery_app @celery_app.task def clearsessions(): management.call_command('clearsessions')
[ "zepplinsbass@gmail.com" ]
zepplinsbass@gmail.com
ed0549291501f587e1235fcff85f3db9dc1f164c
358b5a026e0865af26bb1abd451b8a55bc478f11
/Scripts/ClassifyMibigTsv.py
67e1859ae98150ba7335b4c93ed18b375112aea3
[]
no_license
OscarHoekstra/ClassifyNPDB
0a38599f6e23d8af8748ed36a960f2024cee699b
2fd2e30e16cabc324d2d1c17e692bc609c2e94df
refs/heads/master
2020-04-18T13:44:06.499639
2019-03-22T11:21:41
2019-03-22T11:21:41
167,569,325
2
1
null
null
null
null
UTF-8
Python
false
false
1,754
py
#!/usr/bin/env python3 """ Author: Oscar Hoekstra Student Number: 961007346130 Email: oscarhoekstra@wur.nl Description: Loads a TSV file with mibig compound-id, compound name and smile strings, uploads the smiles to ClassyFire and creates a dictionary with the compound id and name with the QueryID to retrieve th...
[ "oscar.hoekstra@wur.nl" ]
oscar.hoekstra@wur.nl
dcd45071d9de9c2cd68da8c294b12261666ef0c7
82fce9aae9e855a73f4e92d750e6a8df2ef877a5
/Lab/venv/lib/python3.8/site-packages/OpenGL/WGL/I3D/swap_frame_lock.py
55165c5511d39959c40ce8e2e34740a4e67b88d3
[]
no_license
BartoszRudnik/GK
1294f7708902e867dacd7da591b9f2e741bfe9e5
6dc09184a3af07143b9729e42a6f62f13da50128
refs/heads/main
2023-02-20T19:02:12.408974
2021-01-22T10:51:14
2021-01-22T10:51:14
307,847,589
0
0
null
null
null
null
UTF-8
Python
false
false
574
py
'''OpenGL extension I3D.swap_frame_lock This module customises the behaviour of the OpenGL.raw.WGL.I3D.swap_frame_lock to provide a more Python-friendly API The official definition of this extension is available here: http://www.opengl.org/registry/specs/I3D/swap_frame_lock.txt ''' from OpenGL.raw.WGL.I3D.swap_fram...
[ "rudnik49@gmail.com" ]
rudnik49@gmail.com
354b8e8c9970c9f648bc4121fee221c159995f3d
356c00aed4c9e45d5b9cae067dcb8d1bbb09cb1d
/backend/src/paruzorus/web/__init__.py
182b8bdfe777d6f98b52d8d8ae2f3b4e16ac1fe0
[]
no_license
TwistedSim/Paruzorus
74fedd97696114918021daa3117c2e7ce8d6038a
e857881d0d9d359b677e3cc4bc7a9c79019ae097
refs/heads/master
2023-08-15T09:27:33.943014
2021-09-14T16:41:20
2021-09-14T16:41:20
349,588,484
1
0
null
null
null
null
UTF-8
Python
false
false
1,063
py
import base64 from logging import getLogger from aiohttp import web from aiohttp_middlewares import cors_middleware, error_middleware from aiohttp_session import setup from aiohttp_session.cookie_storage import EncryptedCookieStorage from cryptography import fernet from paruzorus.controllers.quiz_controller import Qu...
[ "bouchards@amotus.ca" ]
bouchards@amotus.ca
3776da41918b7c075ae74dc769b3cd91266c96a7
92662baf27ff293ea9dc4ef84ef6e9f60a3683b2
/BillBoard/user/views.py
d74b680769dba014a2f98f8b8590538a6b9f6ea8
[]
no_license
AleenaVarghese/BillBoard
3a3dc21946f4a3a52d42182f2bc1a9c1eabdce42
0cb7c9259eb351fe1ca3d54bb3e5c87cce62584e
refs/heads/master
2020-06-23T21:44:55.884861
2019-07-25T05:20:11
2019-07-25T05:20:11
198,760,393
0
0
null
null
null
null
UTF-8
Python
false
false
2,569
py
from django.shortcuts import render from boards.models import BillBoard from django.views.generic import CreateView, ListView, DetailView, DeleteView, UpdateView from .forms import BillBoardForm, BillBoardUpdateForm from django.urls import reverse_lazy from django.shortcuts import get_object_or_404 from boards.choices ...
[ "aleenav.sayone@gmail.com" ]
aleenav.sayone@gmail.com
9abbe07830ef42f726486d4859b96e0c7f30f1ef
4cfdcb102dc1c8eed379401cc6edd2a6f423f937
/pksig_all other code/pksig_cllww12_benchmark.py
2d49a3269347b6e27536565d6b584b873c6660f8
[]
no_license
zfwise/myCharmCode
daf10467d993cbc1c469271ab53234f2a84b6d3a
15578a942ecd8f3a614714d3c04a7ce55b0fb7ca
refs/heads/master
2021-01-18T18:12:19.482614
2013-04-26T14:08:32
2013-04-26T14:08:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,078
py
from charm.toolbox.pairinggroup import PairingGroup,ZR,G1,G2,GT,pair from charm.core.crypto.cryptobase import * from charm.toolbox.IBEnc import IBEnc from charm.schemes.pksig.pksig_cllww12 import Sign_Chen12 from charm.schemes.pksig.pksig_cllww12_swap import Sign_Chen12_swap from charm.schemes.pksig.pksig_cllww12_swap_...
[ "zfwise@gwu.edu" ]
zfwise@gwu.edu
67d0ed6cd877795ed91f5aacc2466ff064532e60
6b019cc6b08042a6bc915b39353217feabc45910
/converter/biostudies.py
bd61f42e533aa97a8716ffa963eb74ec9ff5121a
[ "Apache-2.0" ]
permissive
ebi-ait/ingest-archiver
c13fa70c42c3649902eec1477b647af783c9b9df
6d48111d9c050200869958991fcc6d10cd93b609
refs/heads/dev
2023-08-03T10:32:25.537418
2023-07-29T19:40:24
2023-07-29T19:40:24
234,517,272
2
4
Apache-2.0
2022-08-16T14:12:18
2020-01-17T09:36:55
Python
UTF-8
Python
false
false
8,590
py
import copy from datetime import datetime from json_converter.json_mapper import JsonMapper from json_converter.post_process import default_to from converter import array_to_string ACCNO_PREFIX_FOR_ORGANIZATIONS = "o" ACCNO_PREFIX_FOR_AUTHORS = "a" PUBLICATION_SPEC = { 'type': 'Publication', 'on': 'publica...
[ "karoly@ebi.ac.uk" ]
karoly@ebi.ac.uk
af9e7b5aa228de28434df110fd779d32173f3e3f
ddaee32e64c1320245a0422a681e70ffeafe5c14
/unit_tests.py
8a2cfd895fc9b7dfbb302aa1e0979fc4aacfeb09
[]
no_license
LiDuaDua/DecisionTree-with-REP-pruning
4270c66df5355cf88cc384d23826d67aaca4dc23
8c80f33a00f1ce8bc92594b6ed6a70605948697e
refs/heads/master
2021-01-19T16:02:46.494620
2017-04-14T07:23:23
2017-04-14T07:23:23
88,242,224
0
0
null
null
null
null
UTF-8
Python
false
false
5,285
py
import ID3, parse, random import matplotlib.pyplot as plt import numpy as np def testID3AndEvaluate(): data = [dict(a=1, b=0, Class=1), dict(a=1, b=1, Class=1)] tree = ID3.ID3(data, 0) if tree != None: ans = ID3.evaluate(tree, dict(a=1, b=0)) if ans != 1: print "ID3 test failed." els...
[ "bestlzl1994@gmail.com" ]
bestlzl1994@gmail.com
aa8496b9327623dffb3ff03cf1fc191646340675
bf9be62b49e1096e8983753e9a8606f9d4fdb987
/beisia_app/memo/migrations/0003_lists_phone.py
741b12afeda8026dab5ad46c8f656443ef9c00ba
[]
no_license
sakuraichigo/baisia
6dbef747e8c77514e8e10985f5741c67a33412be
4a77185420d761c64d3a336217d3d1c27b3c014a
refs/heads/master
2023-01-30T19:36:17.810994
2020-12-11T07:10:03
2020-12-11T07:10:03
320,491,200
0
0
null
null
null
null
UTF-8
Python
false
false
370
py
# Generated by Django 3.0.5 on 2020-11-20 06:45 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('memo', '0002_lists_date'), ] operations = [ migrations.AddField( model_name='lists', name='phone', field...
[ "sakura15yumy@gmail.com" ]
sakura15yumy@gmail.com
0cbe171c509209bed85a34988e5940acc8efcb70
e9c3c631eac669b211ff6ae99587916aba5ec71b
/Part5FeatureObtainer.py
65ce9dcb9ba7afff8dca092cfcf74f3f09e92ded
[]
no_license
Shaun2h/Basic-HMM
9d59759ba3ad1add3a5bd4c9682101d21420bb1d
336b0ceae047d76c53ef147dec15863e63c4e2ed
refs/heads/master
2020-04-06T21:47:53.452959
2019-01-24T08:37:28
2019-01-24T08:37:28
157,814,310
1
0
null
null
null
null
UTF-8
Python
false
false
10,318
py
def line_feature(line,force_lowercase): # Returns the actual word, classification, and whether it is a punctuation """Place your lines here to process""" holder = line.split() classification = holder.pop() string = "" # get completed word for i in holder: string += i if force_lowerca...
[ "smurfination1@gmail.com" ]
smurfination1@gmail.com
477db84e7b886bf239362f2011c9005cc081462c
0a973640f0b02d7f3cf9211fcce33221c3a50c88
/.history/src/qichamao_cmpInfo_20210129160650.py
41a75bbec713f276826d997f9fcd49cf5f4aab93
[]
no_license
JiajunChen123/IPO_under_review_crawler
5468b9079950fdd11c5e3ce45af2c75ccb30323c
031aac915ebe350ec816c05a29b5827fde588567
refs/heads/main
2023-02-26T08:23:09.622725
2021-02-04T10:11:16
2021-02-04T10:11:16
332,619,348
0
0
null
null
null
null
UTF-8
Python
false
false
2,386
py
import requests from bs4 import BeautifulSoup import time # login = {'user':'13710149700', # 'password':'123456'} # 使用的网站是企查查 # requests.post('https://www.qichamao.com',data=login,headers=afterLogin_headers) afterLogin_headers = {'Cookie':'qznewsite.uid=y4eseo3a1q4xbrwimor3o5tm; Hm_lvt_55ad112b0079dd9ab0042...
[ "chenjiajun.jason@outlook.com" ]
chenjiajun.jason@outlook.com
2fefc1e52ae0e6cfbbfc6ff6ca2d377a99c5d549
39896b6ca41d589e2eccb3dcb0c716340a444afe
/tensorflow/2.定义变量variable.py
6536225d9b0260abfb7dd04de5d6a3ff5a8fcf00
[]
no_license
coco369/algorithm
237bf5f7691a70bd98c90be5c604a16155448e86
a069ae7ee6f4cb421ba3e44d13371716e75314b6
refs/heads/master
2022-12-29T10:48:11.282338
2020-10-13T10:25:46
2020-10-13T10:25:46
263,520,123
1
1
null
null
null
null
UTF-8
Python
false
false
242
py
import tensorflow as tf """ 定义变量 """ a = tf.Variable(1) print('value:', a.numpy()) b = a + 1 print('value:', b.numpy()) c = tf.Variable(4) c.assign_add(2) print('value:', c.numpy()) c.assign_sub(1) print('value:', c.numpy())
[ "1571236356@qq.com" ]
1571236356@qq.com
b5ad7749f829100b0ef3b43a66a64a5e805ac245
469a4e535877e868c590ddfdeae7451b9ad3b5bf
/case3_form_filling/pybrain_rlklm/egreedy.py
5158f189554052db45ebae2419cd98ed40d36147
[ "BSD-2-Clause" ]
permissive
aalto-speech/rl-klm
443c3c182e30d4fde75d44b80f13db929a99d9d9
1a48fc49c1afae581720dc2eab4055816b887cb2
refs/heads/master
2021-07-19T05:08:14.276118
2020-05-18T10:57:32
2020-05-18T10:57:32
163,522,009
3
0
null
null
null
null
UTF-8
Python
false
false
1,564
py
__author__ = "Thomas Rueckstiess, ruecksti@in.tum.de" # MODIFIED by Katri Leino: Only select allowed actions in exploration. from scipy import random, array import numpy as np from pybrain.rl.explorers.discrete.discrete import DiscreteExplorer from pybrain.rl.environments.environment import Environment class Epsilo...
[ "katri.k.leino@aalto.fi" ]
katri.k.leino@aalto.fi
af50ff57d4d23ba855a7064fe2d3e77f667e3432
fa57716e950b1ad1970f158ac2346c9c918267a6
/opengever/latex/tests/test_dossierlisting.py
4847964ef8ff53fa86cb77fe71382dedf7f74b2a
[]
no_license
hellfish2/opengever.core
1e76e04439f89518bb3f7bb021f83ae4fa4ff7fc
954964872f73c0d18d5b0e0ab2dbf603849e4e87
refs/heads/master
2020-04-08T18:03:06.781579
2014-06-05T13:02:05
2014-06-05T13:02:05
20,575,363
1
0
null
null
null
null
UTF-8
Python
false
false
2,328
py
from ftw.pdfgenerator.interfaces import IBuilder from ftw.pdfgenerator.interfaces import ILaTeXLayout from ftw.pdfgenerator.interfaces import ILaTeXView from ftw.testing import MockTestCase from grokcore.component.testing import grok from opengever.latex import dossierlisting from opengever.latex.testing import LATEX_Z...
[ "jone@jone.ch" ]
jone@jone.ch
3394c6a751749a717887e0e98f938a281d9e151c
46e7c10f91329d05b9200ab0e53950abc8ab6d8b
/app/user/tests/test_user_api.py
2f0938d6300b9c0455c68a9de044229e3f302c5a
[ "MIT" ]
permissive
Romitha/recipe-api-django-rest
4306f4c55a044768f5f4e56ad1a8a357c04a0eaf
d1b64ab2fe384eee8cff124168273ac7316bf72e
refs/heads/master
2020-12-09T14:40:01.993169
2020-01-28T06:07:08
2020-01-28T06:07:08
233,336,519
0
0
null
null
null
null
UTF-8
Python
false
false
4,834
py
from django.test import TestCase from django.contrib.auth import get_user_model from django.urls import reverse from rest_framework.test import APIClient from rest_framework import status CREATE_USER_URL = reverse('user:create') TOKEN_URL = reverse('user:token') ME_URL = reverse('user:me') def create_user(**params)...
[ "janith2011@gmail.com" ]
janith2011@gmail.com
99b09c524ea449b6bbe9bf5eaacbfb72619c2baa
f4be48866d7d2181d563939cee82671b893ddbb9
/kubecd/cli/__init__.py
cd5b30c9e7f93b6d691f26ac10bb7aeef69f7ed4
[ "Apache-2.0" ]
permissive
cvega/kubecd
cd893639cf6e683caa6a94eea730cf956be3f0ed
3e181d29caa4220c19dcd80ed44e5aaec1e6c955
refs/heads/master
2020-03-26T22:19:51.775077
2018-06-20T06:12:23
2018-06-20T06:12:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,260
py
import argparse import os import sys import argcomplete import logging from argcomplete import FilesCompleter from blessings import Terminal from .. import __version__ from .commands import ( apply_env, dump_env, indent_file, init_contexts, json2yaml, lint_environment, list_kind, obser...
[ "stig@zedge.net" ]
stig@zedge.net
7a0b60792ed25223de52fbb3b5be3e40333b2e4a
01a8424a51d61649a19128c446fbcc3e83d3d484
/accounts/views.py
d39fa08d3f65bbeae235c1836e07b2b672b1aebb
[]
no_license
MarkyMOD/Real_Estate_Website
c25c68560a1cc294de17f97dee2535090155a27a
97450fedfb597e865718aa09220949614f6c80de
refs/heads/master
2022-12-23T21:35:30.129225
2019-07-11T21:12:01
2019-07-11T21:12:01
163,868,044
0
0
null
2022-11-22T03:11:06
2019-01-02T17:05:00
Python
UTF-8
Python
false
false
2,857
py
from django.shortcuts import render, redirect from django.contrib import messages, auth from django.contrib.auth.models import User from contacts.models import Contact # Create your views here. def register(request): if request.method == 'POST': # Get form values first_name = request.POST['first_n...
[ "strictlybusinessemail242@gmail.com" ]
strictlybusinessemail242@gmail.com
ea2bfba36cf210900ac9c97e85fdeeed2b902033
bbd1b7f86e39f7bd3daf5d86ccdaa388a5fd0d74
/decision_tree.py
836cdea55e29220b46599851d387fc91e0932d38
[]
no_license
westernmeadow/CS4210Assignment1
de7a7d72a0e16543cd0210c4a9d5079d77fe4a1c
add2b1c29befed4b87a4ec5f7bb4cb09693df233
refs/heads/main
2023-04-13T17:53:04.402556
2021-04-09T21:32:58
2021-04-09T21:32:58
356,402,971
0
0
null
null
null
null
UTF-8
Python
false
false
2,053
py
#------------------------------------------------------------------------- # AUTHOR: Wesley Kwan # FILENAME: decision_tree # SPECIFICATION: ID3 algorithm for contact lens data # FOR: CS 4200- Assignment #1 # TIME SPENT: 30 min #-----------------------------------------------------------*/ #IMPORTANT NOTE: DO N...
[ "noreply@github.com" ]
westernmeadow.noreply@github.com
0235c874286b4bdd4f3f54cb7327d8aef8741517
74e5b97fd7ead5f2d0a37c03c5109f23e05e2da4
/write_csv.py
6d4243b7f4831de6ad8c133adb4a60a4bf4253eb
[]
no_license
Dream-991029/Lago
e3c173e1d61389f8de729499d4234a5ebf361df6
0f7c87bddc0a981a898adc92d631bcb6a37db723
refs/heads/master
2023-07-23T20:12:08.712517
2021-09-10T06:03:23
2021-09-10T06:03:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,134
py
import csv from typing import List, NoReturn class Csv(object): """ 封装csv写入类。 该类包含列表嵌套字典所涉及到的一些常用属性。 属性: file_path: string类型的目标文件路径 data_list: list类型的数据 count: int类型计数器 """ def __init__(self) -> NoReturn: pass def append_csv(self, file_path: str, data_li...
[ "981846339@qq.com" ]
981846339@qq.com
43471736de06cb51b5cd20be7f2654515cc9d4f7
c074333c90e682646e49d4d9a085ac7cc265d3d5
/mysite/polls/models.py
487cee3c09377a9c7f07f528e879d105f100ab1f
[]
no_license
kHarshit/django_tutorial
0bc9d15128621dabdabe7cd0f53a74a3baacf482
75bcdcf88dcd96076bdcf10ddcdca495784dca10
refs/heads/master
2020-05-28T13:20:10.285152
2017-02-20T18:57:49
2017-02-20T18:57:49
82,591,096
0
0
null
null
null
null
UTF-8
Python
false
false
967
py
from __future__ import unicode_literals import datetime from django.db import models from django.utils import timezone # Create your models here. class Question(models.Model): question_text = models.CharField(max_length=200) pub_date = models.DateTimeField('date published') def __str__(self): retu...
[ "harshitk.997@gmail.com" ]
harshitk.997@gmail.com
db2708b2709b6d896c466cb05bbf921c3dac4c93
5be7ca1d2ee8353f966d50dd0957cad08c32d1d6
/assignments/web_practice/second_practice/po_weixin/testcases/test_addcontact.py
0373dcb2620bbcd4795a3893da387a2341ea419e
[]
no_license
InsaneLoafer/HogwartsLG4_ZT
48a6b1d578bad48c92b541abb862dcb17c6d338e
870c66565e34329122a7d1953035718c251c00e0
refs/heads/master
2023-01-14T13:40:37.264260
2020-11-22T09:40:29
2020-11-22T09:40:29
310,861,090
0
0
null
null
null
null
UTF-8
Python
false
false
1,088
py
#!/usr/bin/python3 # -*- coding: utf-8 -*- # @Time : 2020/11/8 20:41 # @Author : ZhangTao # @File : test_addcontact.py import allure import pytest from assignments.web_practice.second_practice.po_weixin.pages.index_pages.index_page import IndexPage @allure.feature('测试添加成员') class TestAddContact: user...
[ "Insane_Loafer@163.com" ]
Insane_Loafer@163.com
9bbca53ee48cb4bac59c71ec6959ecf7494d0554
039ad6224e8954f5889a388c5fd09faf53892746
/socket-service/server/room.py
20a71e662626d8470f5ade9f2ac66baa72908dfe
[ "MIT" ]
permissive
TheSmartMonkey/codenames
f70b0166f456d862409d5dc65d3de38daf86083f
a39946c8c705d50548f655838e4d32525c211e30
refs/heads/master
2023-04-22T05:49:41.586522
2020-05-12T19:29:03
2020-05-12T19:29:03
256,967,291
2
0
MIT
2021-05-06T20:05:19
2020-04-19T10:05:13
JavaScript
UTF-8
Python
false
false
2,129
py
import uuid from types import SimpleNamespace from game import CodenamesGame from random import sample class Room(object): def __init__(self): self.roomid=uuid.uuid1().hex self.players={} self.game=None def addPlayer(self,playername,avatar,isAdmin): if playername not in se...
[ "gilles.vandelle@kelkoo.com" ]
gilles.vandelle@kelkoo.com
89b107a01160959d3a7d92a2f824a53b46849515
7df7642c30f0cd09db47c42abe2738a00d8c9562
/hearthstone/deckstrings.py
bb7ffc3007aa14a8b418ea181aab3366577b118e
[ "MIT" ]
permissive
mshirinyan/python-hearthstone
601887c49385f041acd0c98c23170269b29ff5f5
3855e9565d45f0a5677fffe2f88cbe160cc6c7e1
refs/heads/master
2021-09-07T12:33:05.479242
2018-02-14T12:33:20
2018-02-14T16:05:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,991
py
""" Blizzard Deckstring format support """ import base64 from io import BytesIO from .enums import FormatType DECKSTRING_VERSION = 1 def _read_varint(stream): shift = 0 result = 0 while True: c = stream.read(1) if c == "": raise EOFError("Unexpected EOF while reading varint") i = ord(c) result |= (i...
[ "jerome@leclan.ch" ]
jerome@leclan.ch
d9b2635bc34362ceaa4eafae793347d0f853fb78
df4fa533c14ad84db4c69f3a029210874676c84a
/set4/print orime numbers in given range.py
1b40b57dbae85559479b733287c4f2318c9081c6
[]
no_license
JagadeeshMandala/python-programs
f9f5376092e2d1cf02e35a22fcedaab7fe842cdd
07934980d3f971e390b1a0a641a002170a7ed0bd
refs/heads/master
2023-08-28T21:04:29.446639
2021-11-03T05:52:53
2021-11-03T05:52:53
424,103,122
0
1
null
null
null
null
UTF-8
Python
false
false
289
py
lower=int(input("enter the lower range of number")) higher=int(input("enter the higher range of number")) for num in range(lower,higher+1): if num>1: for i in range(2,num): if num%i==0: break else: print(num,end=" ")
[ "jagadeeshmandala888@gmail.com" ]
jagadeeshmandala888@gmail.com
3ed6ce16285c35d94d8e6e78dde18c2cacac5da4
36746a067069f974056c562c0af559576c598497
/scraper_karriera.py
5ed8b15635859273e0f586401a387a88bb1e1a54
[]
no_license
calogerobra/job_portal_scraper_medium_js
042ac2867722e6cc2f36b104f40400693c7553e3
1ed3023bb18e626ddfcf53faf5dfd5e9bb2ecae6
refs/heads/main
2023-06-30T10:27:13.273603
2021-08-05T15:37:02
2021-08-05T15:37:02
393,088,796
0
0
null
null
null
null
UTF-8
Python
false
false
15,473
py
# Import general libraries import datetime import pandas as pd from bs4 import BeautifulSoup as soup import time import csv import requests requests.packages.urllib3.disable_warnings() import random # Improt Selenium packages from selenium import webdriver from selenium.common.exceptions import NoSuchElementExceptio...
[ "70377216+calogerobra@users.noreply.github.com" ]
70377216+calogerobra@users.noreply.github.com
0599ad0639d06d818def4fa99b5cb87567b0b85f
5ad255257f58705b8ce28121c0cc0d1000af1077
/CI/1.Epopcon/intern/CI_company_category_dashboard/src/CI_company_category_dashboard.py
ed400d654387018b8ccfbe84c71ea5740685144d
[]
no_license
benepopds/epop_poi
92e4301dbfbecf676f5b154d7b43108dff9ab82f
153e5ef423e6a76f01037fe06ce354a6dc2268a7
refs/heads/master
2020-03-22T23:45:30.533090
2018-10-31T07:30:24
2018-10-31T07:30:24
140,827,236
1
4
null
2018-08-17T07:27:52
2018-07-13T09:31:18
Python
UTF-8
Python
false
false
17,907
py
import dash from dash.dependencies import Input, Output, State import dash_core_components as dcc import dash_html_components as html import dash_table_experiments as dt import plotly.graph_objs as go import plotly.plotly as py import squarify import json import pandas as pd import numpy as np import plotly import pick...
[ "rmsxor94@naver.com" ]
rmsxor94@naver.com
deba1e3f47315ccc1ff205db11a6c8001b565e86
0ad589622461664e446e0f3b0063d6a8ad988838
/thread.py
10a35e2e00e0e271a3f8d7cebfd3d6b614cfc29d
[]
no_license
mrlam99n01/vim_file
d166ca0bd663839780f8cec553a9952c73137615
37dca98fc4c4a747545c82e8dbe0a3d5ade55c46
refs/heads/master
2023-02-08T08:33:17.441322
2021-01-02T13:05:23
2021-01-02T13:05:23
326,182,576
0
0
null
null
null
null
UTF-8
Python
false
false
659
py
import time import concurrent.futures start = time.perf_counter() def do_something(seconds): print('Sleeping 1 second...') time.sleep(seconds) return 'Done something ... ' with concurrent.futures.ThreadPoolExecutor() as executor: results = [executor.submit(do_something,1) for _ in range(10)] fo...
[ "mrlam99n01@gmail.com" ]
mrlam99n01@gmail.com
ce1a0986a077a61178984b37c1a0e8b95eaab459
a6e4672c5924732f9c4d509540f577a2d2115454
/new_dawn_server/management/commands/create_super_user.py
0fc41b80819dc830d42e81b2d48fa23d63f9955c
[]
no_license
new-dawn/new_dawn_server
78f9e9e4815c589414e02ebadd7d9b41b059c6d4
31c39553cd919b8f8d2e24329822f383e7203ce2
refs/heads/master
2022-12-18T19:29:56.407943
2019-08-07T03:05:40
2019-08-07T03:05:40
156,310,163
0
0
null
2022-12-08T01:28:21
2018-11-06T01:51:43
Python
UTF-8
Python
false
false
662
py
import os from django.contrib.auth.models import User from django.core.management.base import BaseCommand class Command(BaseCommand): def handle(self, *args, **options): if 'SUPER_USER_NAME' in os.environ and 'SUPER_USER_EMAIL' in os.environ and 'SUPER_USER_PASSWORD' in os.environ: username = os.environ['SUPER...
[ "noreply@github.com" ]
new-dawn.noreply@github.com
2dc34c03a5e5fc786e8c488d98eae17ebcdbda9c
066a5d8c5f11dcd9183eebe8f808859a931d17fb
/polls/migrations/0001_initial.py
df878c22ab6c45fa24c43c4b1b7849b467d76d72
[]
no_license
huangxinkid/mysite
215b4ea787a7d683db3c5a4a869d83083b85eb92
be774fad11b5f5406b65673a17c9e2db2599e550
refs/heads/master
2022-08-31T13:16:19.164454
2021-02-21T14:25:10
2021-02-21T14:25:10
204,312,992
1
0
null
2022-08-23T18:24:27
2019-08-25T15:25:56
JavaScript
UTF-8
Python
false
false
1,165
py
# Generated by Django 2.0.1 on 2019-08-25 13:30 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Choice', fields=[ ...
[ "364296999@qq.com" ]
364296999@qq.com
dcdb1097b0de04146d7c8ec4355dd753d1332ac7
d1f38423b37020f64a32eda523fb77e0cde23a05
/Course_on_stepik/Python_on_stepik/python_bases_and_practice/part_1/week_2_practice_buffer.py
ae9208c801d32f0df059d2968ee980363d729f81
[]
no_license
zarkaltair/Data-Scientist
9f2c1234a4f1f014165d3389be9ab77c787c0226
ca318046caff51977efff0762fa8f4704f77433a
refs/heads/master
2021-06-12T08:08:40.787110
2021-04-19T17:55:10
2021-04-19T17:55:10
171,741,930
2
1
null
null
null
null
UTF-8
Python
false
false
3,155
py
''' Вам дается последовательность целых чисел и вам нужно ее обработать и вывести на экран сумму первой пятерки чисел из этой последовательности, затем сумму второй пятерки, и т. д. Но последовательность не дается вам сразу целиком. С течением времени к вам поступают её последовательные части. Например, сначала первые...
[ "zarkaltair@gmail.com" ]
zarkaltair@gmail.com
0302cfab8147b8ca85bfdca9e6fde5623b1387b2
b7c2de28db8bcfec43fcd537ce35e60f6fbc62fd
/portfolio/bin/python-config
11be30d2806749a68c0b5c1a7ef6ca564f10490b
[]
no_license
Kzone-m/MyPortfolio
b128f1b27f7d410488f6d5aa6af40206e58251c6
3ff0ceb37b6ef82180bc2bd2d0cc6e0fb72d0954
refs/heads/master
2021-06-20T12:20:27.523689
2017-05-22T07:57:04
2017-05-22T07:57:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,357
#!/Users/Kazune/PycharmProjects/portfolio/bin/python import sys import getopt import sysconfig valid_opts = ['prefix', 'exec-prefix', 'includes', 'libs', 'cflags', 'ldflags', 'help'] if sys.version_info >= (3, 2): valid_opts.insert(-1, 'extension-suffix') valid_opts.append('abiflags') if sys.ve...
[ "kazune.miyagi92@gmail.com" ]
kazune.miyagi92@gmail.com
4f6a0062ff2121f83fa9c6e0e97d63db101af486
3b4a5d2c62fe2c6f4222be7c117b1a5d423f81a8
/SYSTEM-B/main.py
ce3326a19454661ad9ff2fb5e97459eb4ef0489c
[]
no_license
PaulSiddharth/Statisctics
56f5d391d7a1507b4fb57389ea5fcc5d7ca29945
23404cbfe528b7b4054b0034d73ef73b9dc62f8d
refs/heads/master
2023-01-31T15:49:13.361493
2019-07-08T19:50:14
2019-07-08T19:50:14
195,870,792
0
0
null
2023-01-04T03:58:35
2019-07-08T19:03:41
Vue
UTF-8
Python
false
false
1,166
py
from flask import Flask from flask import request app = Flask(__name__) @app.route("/") def root(): """ Root router """ return 'Welcome to BH Reco!' @app.route("/generatenumber", methods=['GET']) def generatenumber(): """ Generate Random Number """ import random ...
[ "siddhartha.paul@sap.com" ]
siddhartha.paul@sap.com
cd69465ea34835feab0709e1ecd39a8742b02b67
c28198fbc8ee472586eaef7ce1356fea52e822dc
/confirmation_mail/mail_confirm/mail_confirm/settings.py
96694bf681bbec8c1a5e5dd84886ca6b7831494e
[]
no_license
CODEr-SaNjU/Confirm_mail
2ec7de76d21631e9d75118521af997b6409c674c
d405d5b88c6af7ecbc9cbded3ab2ee75e2e48732
refs/heads/master
2023-05-05T08:54:23.950937
2022-05-18T14:14:40
2022-05-18T14:14:40
234,261,880
0
0
null
2023-04-21T22:10:48
2020-01-16T07:34:41
Python
UTF-8
Python
false
false
3,378
py
""" Django settings for mail_confirm project. Generated by 'django-admin startproject' using Django 2.2. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ import os...
[ "sanju2help@gmail.com" ]
sanju2help@gmail.com
70bc84ae75d364f5e5d51b1a1aebb93a6249f0cb
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/4/ky2.py
71729497763cd3bd7a28d0c2fe334d924ec8eb4b
[]
no_license
G4te-Keep3r/HowdyHackers
46bfad63eafe5ac515da363e1c75fa6f4b9bca32
fb6d391aaecb60ab5c4650d4ae2ddd599fd85db2
refs/heads/master
2020-08-01T12:08:10.782018
2016-11-13T20:45:50
2016-11-13T20:45:50
73,624,224
0
1
null
null
null
null
UTF-8
Python
false
false
486
py
import sys def printFunction(lineRemaining): if lineRemaining[0] == '"' and lineRemaining[-1] == '"': if len(lineRemaining) > 2: #data to print lineRemaining = lineRemaining[1:-1] print ' '.join(lineRemaining) else: print def main(fileName): with open(fileName) as f: for line in f: ...
[ "juliettaylorswift@gmail.com" ]
juliettaylorswift@gmail.com
d352ea9e6b81a9572d3a7eada7b843cc47ffd773
31afebde0a0f52d14bdfeff55d6d2e3030bf7f62
/crawlers/common_nlp/pdf_to_text.py
28bf69b00b2e6e4861161ae02d28a868063e15f5
[ "Apache-2.0" ]
permissive
FabioAyresInsper/Pesquisas
fb8f4a6e3835c49e7dd2d033b5f1e05cfc2448ba
ebc4a45b9953ff9d91a7284bd579ad02cf818e2a
refs/heads/master
2020-03-17T22:11:42.741226
2018-05-29T12:23:11
2018-05-29T12:23:11
133,992,854
0
0
null
2018-05-18T18:53:39
2018-05-18T18:53:38
null
UTF-8
Python
false
false
1,425
py
from pdfminer.pdfparser import PDFParser from pdfminer.pdfdocument import PDFDocument from pdfminer.pdfpage import PDFPage from pdfminer.pdfinterp import PDFResourceManager, PDFPageInterpreter from pdfminer.converter import PDFPageAggregator from pdfminer.layout import LAParams, LTTextBox, LTTextLine import PyPDF2 cla...
[ "danilopcarlotti@gmail.com" ]
danilopcarlotti@gmail.com
7d8f0504b3a317a137e02df5fcdf426b4e32f534
f63db957cb63b3a37642d138d3092f8f897d6a53
/roundup_getnodes/roundup/init.py
7ecba91ef516ad7d261a828aa6e6dfd9f8dd374b
[ "LicenseRef-scancode-unknown-license-reference", "MIT", "ZPL-2.1", "ZPL-2.0" ]
permissive
fillarikanava/old-fillarikanava
c6fd819f95e675e6eddc674e71528c798b391967
8dbb89ea34c2aa98450e403ca2d7f17179edff8d
refs/heads/master
2021-01-13T02:30:01.501771
2013-10-03T16:26:13
2013-10-03T16:26:13
13,201,013
0
1
null
null
null
null
UTF-8
Python
false
false
6,395
py
# # Copyright (c) 2001 Bizar Software Pty Ltd (http://www.bizarsoftware.com.au/) # This module is free software, and you may redistribute it and/or modify # under the same terms as Python, so long as this copyright message and # disclaimer are retained in their original form. # # IN NO EVENT SHALL BIZAR SOFTWARE PTY LT...
[ "rkarhila@iki.fi" ]
rkarhila@iki.fi
a26bd92e4e80fe22862e8021588404a0bd9b2554
28c614942558229bb9adca33070331b04d454015
/py/pantone-p-color-bridge-coated.py
b32073b70b4e7854182ebfab9d6ddb13602b0a57
[]
no_license
qdv/Colorly
95827b077b888251dea3a2ed58e8a37e98837409
6891a2d550a66e374c5da441b452256abccaffad
refs/heads/gh-pages
2021-05-28T02:57:53.409957
2014-11-12T03:00:26
2014-11-12T03:00:26
100,415,084
1
0
null
2017-08-15T20:05:44
2017-08-15T20:05:44
null
UTF-8
Python
false
false
106,974
py
PALETTE = [ { "name": "PANTONE Process Yellow CP", "label": "process-yellow", "hex": "#ffed00" }, { "name": "PANTONE Process Magenta CP", "label": "process-magenta", "hex": "#e3007d" }, { "name": "PANTONE Process Cyan CP", "label": "process-cyan", "hex": "#00a0e1" }, { ...
[ "thomas@ether.com.au" ]
thomas@ether.com.au
06230ecdcf31b4856ba0534b9ff9efc8622d69c9
47f172fae0a9a32c9928a0dc025f1515a6baa658
/src/data/cifar10.py
ad3546655297e66c0b6f4e65e42751971d0ef2aa
[]
no_license
flasharrow1981/cifar10_tensorflow
953fcc7f4cea2458f30db9f80f6a940156af5c1f
05df8c9818219ba213ee21ff47c822d40aa10221
refs/heads/master
2021-08-19T12:51:31.260671
2017-11-26T10:28:21
2017-11-26T10:28:21
112,076,733
1
0
null
null
null
null
UTF-8
Python
false
false
9,638
py
# coding: utf-8 # In[2]: # %load cifar10.py import pickle import numpy import random import matplotlib.pyplot as plt import platform import cv2 import os import tensorflow as tf from PIL import Image import numpy as np class Corpus: def __init__(self): #self.load_cifar10('data/CIFAR10_data') ...
[ "emailtocheng@sina.com" ]
emailtocheng@sina.com
0586254129352bfb36f515bc01aaa91501665f1e
1d785e0506163d2ba7746408bc4c3d365a1aa8b4
/runserver.py
8ffce111bc04b5de242bf5b025e9ac7495b3a40d
[]
no_license
vijaya22/loaners
770e0af9872dfbb39022ca9d96d3e81200f307c6
6eb479f5936afebe173ed24a8c9b94a2551a5541
refs/heads/master
2021-01-15T12:49:22.955905
2016-04-03T12:09:30
2016-04-03T12:09:30
55,423,664
0
1
null
2017-10-29T13:11:09
2016-04-04T15:41:51
CSS
UTF-8
Python
false
false
72
py
from myapp import app if __name__ == '__main__': app.run(debug=True)
[ "suyashgargsfam@gmail.com" ]
suyashgargsfam@gmail.com
e5b6511e4d3f74222c3dbd31bce3b0057939db28
0023a88840b80b0a0bded858136748343b6ac725
/muda/version.py
f5322bd12ed85650018482ee6633666c8b4c19d8
[ "ISC" ]
permissive
jatinkhilnani/muda
5b57df2dd3ced952d8b3500fc65fff5fbc64bd31
8b60b88c0597ad11b23680d1181334e4bc85ec6f
refs/heads/master
2022-11-22T23:42:06.610313
2020-07-28T18:11:51
2020-07-28T18:11:51
261,575,849
0
0
ISC
2020-05-05T20:27:15
2020-05-05T20:27:14
null
UTF-8
Python
false
false
108
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """Version info""" short_version = "0.4.1" version = "0.4.1"
[ "brian.mcfee@nyu.edu" ]
brian.mcfee@nyu.edu
4deef57a4db017517753bdb28d72ce7cb6b01c94
d4a569dcf616b7f05e53a44803e38196b436b8b9
/Thesis@3.9.1/Lib/site-packages/mypy/typeshed/stdlib/2and3/math.pyi
2988c5a0ac7e48bc4181fa8d5975f7e3ee0d0c16
[ "MIT" ]
permissive
nverbois/TFE21-232
ac3178d24939c872c02a671c0f1d8cc471af516b
7113837b5263b5c508bfc6903cb6982b48aa7ee4
refs/heads/main
2023-06-05T18:50:59.207392
2021-06-25T19:54:40
2021-06-25T19:54:40
337,691,391
0
0
null
null
null
null
UTF-8
Python
false
false
3,455
pyi
# Stubs for math # See: http://docs.python.org/2/library/math.html from typing import Tuple, Iterable, SupportsFloat, SupportsInt, overload import sys e: float pi: float if sys.version_info >= (3, 5): inf: float nan: float if sys.version_info >= (3, 6): tau: float def acos(__x: SupportsFloat) -> float: ...
[ "38432529+nverbois@users.noreply.github.com" ]
38432529+nverbois@users.noreply.github.com
911a53b6fafdc87fa178c71b55ed5c02fd666fbe
9123a6624cf7d327414f5a40ea6450eef835ac4d
/src/res/reset_hs.py
fdc6a184a5826c0c0b760ee51de9b9c6d2e7be0f
[ "Apache-2.0" ]
permissive
Ale-XYX/Flappe
2718876c837c32a6464bd28dc886b5918b314b75
8199a99e44722765c01ee95f13b137336b0fba57
refs/heads/master
2021-10-23T09:24:45.353423
2019-03-16T20:41:37
2019-03-16T20:41:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
52
py
import pickle pickle.dump(0, open('hs.dat', 'wb'))
[ "33987596+Pygasm@users.noreply.github.com" ]
33987596+Pygasm@users.noreply.github.com
4bcbdbb6bf47f706baea36af411230deefae2a74
45a2ab312c822b6ae426122402b68f93409d7fe3
/webui-flask2/vizdoc_server.py
3890d1668fedd4c6b1a79c2a0e476fbb9fc625a4
[]
no_license
sai-r-susarla/visual-search
9e1231aa076549924435263a280855d617e93d7c
768b73233ed5c612ba575c9c65b1e0b156c118e9
refs/heads/master
2021-05-30T17:45:21.196702
2015-12-03T10:14:06
2015-12-03T10:14:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,229
py
import os from flask import request from os import path from flask.ext.pymongo import PyMongo from flask import * from functools import wraps import json,time from werkzeug import secure_filename #import datetime from vizdoc_config import * #import vizdoc_user #import vizdoc_anno ALLOWED_EXTENSIONS = set(['txt', 'pdf...
[ "sai.susarla@gmail.com" ]
sai.susarla@gmail.com
b63d322ca7aefa38272299340d05171952a16de8
f7b18d08eb75fb33d74239c98686afbed1c12d1c
/2016/california/scripts/california_election.py
e6c029d8faecb7df65de9aaa17dc9392556e9e46
[]
permissive
democracyworks/hand-collection-to-vip
af0056a3357c90db4a50e16b3c3dd313ee48b3ef
b50aea21a46f1db7865c7c5561ae1057b6cd5ecd
refs/heads/master
2022-11-20T10:27:35.191302
2022-11-10T15:33:38
2022-11-10T15:33:38
64,783,559
0
1
BSD-3-Clause
2022-08-08T14:20:45
2016-08-02T18:49:52
Python
UTF-8
Python
false
false
9,375
py
""" id, date, name, election_type, state_id, is_statewide, registration_info, absentee_ballot_info, results_uri, polling_hours, has_election_day_registration, registration_deadline, absentee_request_deadline, hours_open_id """ import datetime import csv import config from california_polling_location import PollingL...
[ "danielgilberg@gmail.com" ]
danielgilberg@gmail.com
a81d0fda8526c9874b884eb9b04820a627082e31
21da6cac0e7e1786dc6749ba5fc744a231c5178d
/cbt/apps.py
1ccb35ab7c2a2cc4d3924fbb872cef1d4e82d9be
[]
no_license
CodeLuminary/cbt-api-with-django
d3636d1ffdf8a022577345187ee9a8cb5119e29b
4ee77a50f533326abe0f28450d1f9e4faec33cfe
refs/heads/main
2023-09-01T06:13:55.525634
2021-11-05T14:02:40
2021-11-05T14:02:40
416,970,799
4
1
null
null
null
null
UTF-8
Python
false
false
138
py
from django.apps import AppConfig class CbtConfig(AppConfig): default_auto_field = 'django.db.models.BigAutoField' name = 'cbt'
[ "victorijoni@yahoo.com" ]
victorijoni@yahoo.com
3298402de596ffc2f42925eca95072ff096b4bea
44be0786a0d3e7022b3b8d1dfb34ac84bd91c77e
/mysite/settings.py
bd91ba17a69d5753fef9a6195cf6499a32132bfc
[]
no_license
tommytang088/my-first-blog
49c9811af177117f2bdbab2104bad532177d803b
0e4243440ba1ff20dc515227a23fe381dd94b304
refs/heads/master
2016-09-13T12:15:24.645188
2016-04-29T18:20:23
2016-04-29T18:20:23
57,331,268
0
0
null
null
null
null
UTF-8
Python
false
false
3,238
py
""" Django settings for mysite project. Generated by 'django-admin startproject' using Django 1.9.5. For more information on this file, see https://docs.djangoproject.com/en/1.9/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.9/ref/settings/ """ import os # ...
[ "tommy.tang@rbccm.com" ]
tommy.tang@rbccm.com
bfa3bf4ddd1e536eee8ccd20e64290b2565cec39
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03945/s800732169.py
5d9f0dfa4044f793cd90924fc2efff0bfe5ae8fe
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
111
py
line = list(input()) temp = line[0] cnt = 0 for c in line[1:]: if temp != c: cnt += 1 temp = c print(cnt)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
dbea34b24e0169d9a319879a40f7625e53d7c6d2
0ce0e8ea2d4637b0825edfbe7bbd581ea2063c28
/casescms/wsgi.py
64b398c9e0334f247922062b235f2b682318057d
[]
no_license
tmusters/casescms
e6ecc96c5600f3e01a8ed2fb3cc00aa0358f9de3
6f41cd6e4709144e5ac8a375ed5a55bc561572ce
refs/heads/master
2021-01-01T06:15:25.253609
2017-07-16T20:14:35
2017-07-16T20:14:35
97,394,769
0
0
null
2017-07-16T20:14:36
2017-07-16T16:08:15
Python
UTF-8
Python
false
false
394
py
""" WSGI config for casescms project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.11/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO_SET...
[ "tmusters@gmail.com" ]
tmusters@gmail.com
5b0c9cf44a0fe6ae809bd608a0f229a4c1f18b66
4ce666c4ddc227a4a8afd6ebd185fc4a2fb6aed5
/API/app.py
c3b4e157e3409803fe4872285a06fbfdc4e4ae29
[]
no_license
Shrirama-Upadhya-A/Indoor_navigation_system-1
69b2fc212e44161dcc2659835450193b068c9e20
e1cb0e01cf8fe094f35faf09dd4ca235040bc68a
refs/heads/master
2022-03-21T18:10:50.830277
2019-10-21T11:13:25
2019-10-21T11:13:25
216,563,853
0
0
null
null
null
null
UTF-8
Python
false
false
3,776
py
from flask import Flask from math import sin, cos, atan2, sqrt, pi from flask import jsonify, request import googlemaps import os import pandas as pd PORT = 8000 app = Flask(__name__) r_earth = 6378 def get_distance(slat, slng, vlat, vlng): dlon = vlng - slng dlat = vlat - slat a = (sin(dlat/2))**2 + cos(...
[ "varun.muniaplle2017@vitstudent.ac.in" ]
varun.muniaplle2017@vitstudent.ac.in
19c80295cf35ec53845b2aaba74ba2f9db072b47
30645acd9cd6bc9624603789706fbf76e2ac9822
/Number Data type.py
2209d5840e04d94b26ced311e643502405b1f41d
[]
no_license
Sahil4UI/PythonNewSept2020
9ba059b2e6d94ee8a6879d603c1d1d887643bbee
6be4c6294f0df1d60fbf221c092bf3a409e94d32
refs/heads/master
2022-12-20T21:40:15.969728
2020-10-04T14:26:31
2020-10-04T14:26:31
299,897,378
0
0
null
null
null
null
UTF-8
Python
false
false
7,275
py
Python 3.7.8 (v3.7.8:4b47a5b6ba, Jun 27 2020, 04:47:50) [Clang 6.0 (clang-600.0.57)] on darwin Type "help", "copyright", "credits" or "license()" for more information. >>> num1 = 10 >>> num2 = 7 >>> num1-num2 3 >>> num1+num2 17 >>> num1*num2 70 >>> num1/num2 1.4285714285714286 >>> #floor division >>> num1//num2 1 >>> ...
[ "noreply@github.com" ]
Sahil4UI.noreply@github.com
8fdc36cb05bf5f2c8b637c9259fdc760acc76965
b67efb7ac1832f2a70aa570f8025c69498a8cd71
/setup.py
a56b26ffcf01291aa8264b1ca3a35448338471e2
[ "LicenseRef-scancode-warranty-disclaimer", "MIT" ]
permissive
PogoHop/pgoapi-hsvr
f1513d7548075a7defd21f1018bd59afcb79d78f
b5761159e0240bbb81ef6c257fe2eb1bc1ce2d47
refs/heads/master
2021-01-12T11:17:55.334203
2016-11-05T12:48:38
2016-11-05T12:48:38
72,892,081
0
0
null
null
null
null
UTF-8
Python
false
false
652
py
#!/usr/bin/env python import os from setuptools import setup, find_packages from pip.req import parse_requirements setup_dir = os.path.dirname(os.path.realpath(__file__)) path_req = os.path.join(setup_dir, 'requirements.txt') install_reqs = parse_requirements(path_req, session=False) reqs = [str(ir.req) fo...
[ "hoptional@gmail.com" ]
hoptional@gmail.com
abb210cef1a84d366213fcde9dcbe381d737a29d
143604a4668d4ccad1162e9ecfebe4e8839344de
/tests/util/test_price_extractor.py
33cef22074129c595c003f3b559aa682bbe7b426
[]
no_license
lzy7071/portfolio_tools
58c86f8eded670b8e1f5f0b45c8aadadc4e091c3
f688e22258e29c275e1d692b14a59d65f6e3f2a1
refs/heads/master
2020-09-06T00:30:18.364057
2020-03-11T20:26:23
2020-03-11T20:26:23
220,259,091
0
0
null
null
null
null
UTF-8
Python
false
false
789
py
import unittest from portfolio_tools.util import price_extractor import datetime as dt class TestPriceExtractor(unittest.TestCase): @classmethod def setUpClass(cls): companies = ['AAPL', 'GOOG'] cls.src = price_extractor.PriceExtractor(companies) def test_price_extractor(self): ...
[ "zhouyang.lian@familian.life" ]
zhouyang.lian@familian.life
8a5cbffd89ae328c913b84e3de4a409169ecddd1
86f860eab66ce0681cda293ee063e225747d113c
/Python_Collections/Sets/operations_set.py
13d74e26c0b77fbdfb1b797616826e75fc456587
[]
no_license
tkj5008/Luminar_Python_Programs
a1e7b85ad2b7537081bdedad3a5a4a2d9f6c1f07
d47ef0c44d5811e7039e62938a90a1de0fe7977b
refs/heads/master
2023-08-03T05:15:04.963129
2021-09-23T14:33:21
2021-09-23T14:33:21
403,316,476
0
0
null
null
null
null
UTF-8
Python
false
false
144
py
#1union #2Intersection #3Difference a={1,2,3,4,5,6,7,8,9} b={3,5,4,6,7,8,9,10} print(a.union(b)) print(a.intersection(b)) print(a.difference(b))
[ "thomas@gmail.com" ]
thomas@gmail.com
ebe439ef72b5d614dd23234e7bcadf7d5fe6285a
1d474eff74e7b83bc2fd4a52bdcb47cd1eb906d4
/library/graph.py
a8916f44b2c28f94a9c793220de77b61bdbab2a7
[]
no_license
spirosmastorakis/FSP_Engine
4d7a5cbc495dfee8268e8e9e3bd8496cf2b74ecc
be06e767151babf3c9d02681770d54aa5543a646
refs/heads/master
2021-01-23T10:00:35.327934
2014-05-14T15:13:36
2014-05-14T15:13:36
19,502,402
3
2
null
null
null
null
UTF-8
Python
false
false
4,456
py
#!/usr/bin/env python ''' Library functions for working w/graphs that are not specific to an algorithm. ''' import logging import networkx as nx lg = logging.getLogger("cc") def flatten(paths): '''Compute and return flattened graph, given paths. By flattened graph, we mean one created from the union of a ...
[ "spiros.mastorakis@gmail.com" ]
spiros.mastorakis@gmail.com
d484570a7c3dc8fd04ecadb2edb816aaf3e2f4fd
aee507b29648fa3f05eaab130d04e7c03f24448c
/Task1.py
b88d6187fe2037f3ade2b220007fd0227b8edaa6
[]
no_license
AkshadK7/Advanced_Programming_Python
e319fa83d361e71c507add3e9ca1a815c8754f5d
16cfff53ecae5b7d91d9d0b4100c1f4904ecb30d
refs/heads/main
2023-04-03T02:20:12.549956
2021-04-07T07:03:07
2021-04-07T07:03:07
336,991,398
1
0
null
null
null
null
UTF-8
Python
false
false
456
py
""" Q] Using a for loop, print a table of powers of x, where x ranges from 1 to 10. For each value x, print the quantity x, x^2 and x^3 . Using tab characters in your print statement to make the values line up nicely. """ # Program : # Iterate 10 times from x = 1 to 10 for x in range(1, 11): print( "For value of x...
[ "noreply@github.com" ]
AkshadK7.noreply@github.com
8e7a504cb3086bd4ccec033b8f92e9008b8f392a
aea8fea216234fd48269e4a1830b345c52d85de2
/fhir/resources/DSTU2/tests/test_healthcareservice.py
54d52d232e42e533c559cbf4f0677d3b24adfda6
[ "BSD-3-Clause" ]
permissive
mmabey/fhir.resources
67fce95c6b35bfdc3cbbc8036e02c962a6a7340c
cc73718e9762c04726cd7de240c8f2dd5313cbe1
refs/heads/master
2023-04-12T15:50:30.104992
2020-04-11T17:21:36
2020-04-11T17:21:36
269,712,884
0
0
NOASSERTION
2020-06-05T17:03:04
2020-06-05T17:03:04
null
UTF-8
Python
false
false
6,521
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Generated from FHIR 1.0.2.7202 on 2019-05-14. # 2019, SMART Health IT. import io import json import os import unittest from . import healthcareservice from .fhirdate import FHIRDate class HealthcareServiceTests(unittest.TestCase): def instantiate_from(self, f...
[ "connect2nazrul@gmail.com" ]
connect2nazrul@gmail.com
2eae2bccc3471614f6e26c9a445bc3a0e63bd35d
92d8db95c71bbf851a2fed6c909bbf5dc3967e9c
/activity/views.py
21f687581bbee4a7f1cc1fb9102ec8317ac17e85
[]
no_license
HuShuai666/test
68a77ea23bcf1f20d7a56e0f5fc8ae182bb30016
9d9cc50acf2f9e48f6a62b478a55bd01a0b0c0fb
refs/heads/master
2020-04-01T10:39:40.469584
2018-10-15T15:41:25
2018-10-15T15:41:25
153,126,100
0
0
null
null
null
null
UTF-8
Python
false
false
4,137
py
import uuid from rest_framework.response import Response from rest_framework.views import APIView from activity.models import Activity, Coupon, Notice from activity.serializers import ActivitySerializer, NoticeSerializer from rest_framework import exceptions, serializers from authentication.models import User from co...
[ "2313153604@qq.com" ]
2313153604@qq.com
cfe6fab25c27790ec99d7f067e35d953cc60db87
0b7c51035767007871302df94215ff56e6d10447
/assessment/views.py
f59f80ed5fc82e35bd3befb5c3ccfd09e748796a
[]
no_license
judeakinwale/sms-lotus
d6c60f99fab55d040779f0255796e89a02465512
96bc60212066946cac247f5142f0bc44988372a1
refs/heads/master
2023-07-06T10:44:37.601515
2021-08-06T10:34:52
2021-08-06T10:34:52
379,289,006
0
0
null
null
null
null
UTF-8
Python
false
false
1,704
py
from django.shortcuts import render from rest_framework import viewsets, permissions from assessment import models, serializers # Create your views here. class QuizViewSet(viewsets.ModelViewSet): queryset = models.Quiz.objects.all() serializer_class = serializers.QuizSerializer permission_classes = [perm...
[ "judeakinwale@gmail.com" ]
judeakinwale@gmail.com
b61e98b1e283ec7cc661c9f391b485c013e7a4b8
249a27b7617ca6eb3858016e63d1d9b4a8de1bff
/Script/Scanner de portas.py
a9b0e95d4ea55d399d54626b51bb00284c822869
[ "MIT" ]
permissive
Samio-Santos/Scanner-de-portas
634ef8c8574df7ff1be44c49c6a09399ace65720
16989150d4a618cd231a8d42513e2d7f6c369b84
refs/heads/master
2022-12-17T09:45:33.975707
2020-09-25T12:13:28
2020-09-25T12:13:28
298,557,240
0
0
null
null
null
null
UTF-8
Python
false
false
826
py
import socket # Este script faz uma varredura e verifica quais portas estão abertas na rede. def portscan(porta): # Inserir o endereço ip local, por exemplo: target = '192.168.0.1' try: sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) scann = sock.connect_ex((target, porta)) ...
[ "71763791+Samio-Santos@users.noreply.github.com" ]
71763791+Samio-Santos@users.noreply.github.com
3f2de76a80d22d0304eed9ec2ccc9329b56d3957
440c2f17a64b718227bbc9ac1f799630d0f3233d
/Chapter05_Tree&Recurison/leetcode104.py
c600ee29ff408abb6aacab4d442a1c91352b07b3
[]
no_license
HuichuanLI/alogritme-interview
6fc84fdbfe1123c1e587eaf2df6b6e9fb2ca7dda
0ac672a1582707fcaa6b6ad1f2a1d927034447df
refs/heads/master
2023-02-05T03:29:14.458783
2020-12-25T14:04:17
2020-12-25T14:04:17
206,583,220
1
0
null
null
null
null
UTF-8
Python
false
false
379
py
# class TreeNode(object): # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Solution(object): def maxDepth(self, root): """ :type root: TreeNode :rtype: int """ if not root: return 0 return ma...
[ "lhc14124908@163.com" ]
lhc14124908@163.com
9f7e1de8ee9ed5cd715f59c8bd334aafe1daa5e5
c302d680691695ee1de91ff4c32d554b66ad39ee
/api/delete/deleteItem.py
fd6cef881b3b9c33c33d9b6b4f9abfbd83a98b5a
[]
no_license
abdullah-ezzat/pycommerce
11e6aefa026ac5c154de2ac667930103b66bcd6d
1acbd4a94c89c1001751c031992dbca6f921e83f
refs/heads/master
2023-08-16T12:33:04.370271
2023-08-14T12:02:30
2023-08-14T12:02:30
364,235,542
0
0
null
null
null
null
UTF-8
Python
false
false
579
py
from django.views.decorators.csrf import csrf_exempt from abc import ABC, abstractmethod from django.http.response import JsonResponse from PyCommerce.models import cartTransactions class IDeleteCartItem(ABC): @abstractmethod def delete_cart_item(): pass class DeleteCartItem(): @csrf_exempt ...
[ "abdullahmohamedezzat21@gmail.com" ]
abdullahmohamedezzat21@gmail.com
f486c3b5e7cc5cacf8cda0420dc58fb8424142cd
2975a9701876253807ea0c05bf84acd07375a6bb
/core/tests.py
f2a59a5ec6197aa96aea57e9f69e8e4f9496699f
[]
no_license
NeOneSoft/BackEndMusicaAPI
c8268b5e9825e4e62a4c3a59f760e5c75834fc93
84f6cb778d2779d06f665c7b3a1d9a3281160ab3
refs/heads/master
2020-09-16T02:42:08.381383
2019-11-28T03:26:32
2019-11-28T03:26:32
223,624,541
0
0
null
null
null
null
UTF-8
Python
false
false
1,596
py
from django.contrib.auth.models import User from rest_framework.test import APITestCase class TokenTestCase(APITestCase): def setUp(self): self.user = User.objects.create_user(username='admin', password='admin', email='admin@gmail.com') def test_authenticate(self): result = self.client.post(...
[ "gonclapton@hotmail.com" ]
gonclapton@hotmail.com
c695b8c93d0f33cd8389af9d4481160cd350534f
266f2f192f87d908edd004e8c6b25f97e0262953
/.parts/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/android.py
d9bbfdaf2314426a58e3ca262531c4db075c35ce
[]
no_license
jnbishop/XTOL
80578d6b014699c4925a72b2c94082bd75faa74a
78ea7bb1f6f5b89724f36e325e7cd33d852a33b6
refs/heads/master
2020-04-01T18:42:04.636127
2015-02-16T06:04:19
2015-02-16T06:04:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
121
py
/home/action/.parts/packages/nodejs/0.10.35/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/android.py
[ "georgeavidon@optonline.net" ]
georgeavidon@optonline.net
4aee57ad10d37198d7d95147c0fef7f2a6ecd32b
48e124e97cc776feb0ad6d17b9ef1dfa24e2e474
/sdk/python/pulumi_azure_native/dbforpostgresql/v20210410privatepreview/get_firewall_rule.py
f871372b76ea0ee2e5bf9e82f4b45c99f9d34b68
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
bpkgoud/pulumi-azure-native
0817502630062efbc35134410c4a784b61a4736d
a3215fe1b87fba69294f248017b1591767c2b96c
refs/heads/master
2023-08-29T22:39:49.984212
2021-11-15T12:43:41
2021-11-15T12:43:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,111
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from ... import _utilities __...
[ "noreply@github.com" ]
bpkgoud.noreply@github.com
d9a54f9de4ed2a12a022dcf1a3a8cdd5df4601ff
d512ad00318ec1e06f58551adf678be372e59d3a
/File_Controller_Tools(Python)/Example_Code/Day1/File_Remove.py
e56d55c1a556d11ca93540c3ed19920493b775ba
[]
no_license
john911120/Java_ToyProject
aeb337f16cfd06b755fcd1b3d67ad3a68d6f4352
71c17a6edc4836257d9b72954742c80746c88046
refs/heads/master
2022-11-18T04:53:41.278766
2020-07-18T07:08:39
2020-07-18T07:08:39
270,526,236
0
0
null
null
null
null
UTF-8
Python
false
false
232
py
from os import remove target_file = 'Dn3CV3EUcAETK63_Copy.jpg' k = input('[%s] 파일을 삭제 하겠습니까?(y/n)'%target_file) if k == 'y': remove(target_file) print('[%s]를 삭제했습니다.'%target_file)
[ "noreply@github.com" ]
john911120.noreply@github.com
b50a6aedcddc9733aaad753d771efdeafd33fbcb
fd9dd0b4aea0f55e2b35529462bf5fa7bd4f9d33
/pos_num.py
36afd7e3ff6b919ccdd28b42839a0f21c2ace73d
[]
no_license
mraines4/Python_wk1
833a48f6576cb2130c02516c69a537a1a4e0f158
88bb07b706a67254d795e616412b2baf70217e6c
refs/heads/master
2020-04-23T16:05:43.731860
2019-02-19T20:28:39
2019-02-19T20:28:39
171,286,541
0
0
null
null
null
null
UTF-8
Python
false
false
87
py
numbers = [16, 2, 3, -8, 5, 10] for pos in numbers: if pos > 0: print(pos)
[ "mraines4@DC-MacBook-Air.T-mobile.com" ]
mraines4@DC-MacBook-Air.T-mobile.com
7ad3326cbaca85ab363d12b50eca96bafd2349e9
1fff39c8cffa4b273fa17473d8313f208b111a83
/H1/1.2阶乘求和.py
3904247cb0e12dab18912f52d4f195c1f233d39e
[]
no_license
pkuzhd/Python
9c00c3c2f2969b7349a265ea816ada5df97657d3
54199d1189b4c2458cc525b3b1ad19b645b7c295
refs/heads/master
2021-01-19T08:17:22.440486
2017-04-28T16:25:58
2017-04-28T16:25:58
87,615,592
0
0
null
null
null
null
UTF-8
Python
false
false
225
py
n = int(input()) def factorailSum(n): s = 0 for i in range(1,n+1): m = 1 #m用来记录j的阶乘 for j in range(1,i+1): m *= j s += m return s print(factorailSum(n))
[ "noreply@github.com" ]
pkuzhd.noreply@github.com
c6149ab26615a39e47fb26a9271b478a2d9b3c09
9bd8facfe26300d12661c31272e2f87db36fc0aa
/site-form-works/car_admin/app/models.py
691949186f52019c9dc5660ccad8065e9fe11531
[]
no_license
x350/django
9c75a85ba63ae1c7f7ee0a28b6dfcd73a6d507dc
187dd00fcddb619ff102bf9b3913883774ead565
refs/heads/master
2022-12-07T05:13:54.383754
2019-05-28T21:40:55
2019-05-28T21:40:55
178,067,928
0
0
null
2022-11-22T03:13:37
2019-03-27T20:13:44
Python
UTF-8
Python
false
false
780
py
from django.db import models class Car(models.Model): brand = models.CharField(max_length=50, verbose_name='Бренд') model = models.CharField(max_length=50, verbose_name='Модель') def __str__(self): return self.brand def review_count(self): return Review.objects.filter(car=self).count...
[ "x350sh@gmail.com" ]
x350sh@gmail.com
feb0a40e60b20afcc8c457b4c5ed4d50a1b52e62
d229e1e9476e53ed5776135d0afdad0a5770d323
/tests/test_topic_stock.py
9a5099b42c01ba49126fb33c2cb6bb820d738626
[ "Apache-2.0" ]
permissive
lukeone/eaiser
5f4cecd8be0a8a888d36477e50cba1117b42e470
9d16b28f9cd5286ebe0da68c38bbedab16b15e68
refs/heads/master
2020-06-19T20:32:30.464830
2019-10-25T02:45:13
2019-10-25T02:45:13
196,861,341
1
0
null
null
null
null
UTF-8
Python
false
false
1,381
py
# -*- coding: utf-8 -*- import pytest from easier.topic.stock import Stock from easier.context import Context @pytest.fixture(scope="module") def topic(): context = Context() topic = Stock(context) context.set_current(topic) yield topic topic.release() @pytest.mark.usefixtures("topic") clas...
[ "luo86106@gmail.com" ]
luo86106@gmail.com
3462cfff2ec738dd09b64149bfc88294d07a1c38
b73106d844259b2ba4dc0d4c3177fdd5ee65457d
/run_all.py
ef1251a7f7aba7a93dc02c6b53834f0c2966a527
[]
no_license
narendra-ism/task
445764b044608848af6e134d76db0218337d301e
f4dfb3bb9bd0eac15f39e7414e7aa4a05704e4d1
refs/heads/master
2022-12-11T09:10:12.769150
2019-11-05T08:02:19
2019-11-05T08:02:19
218,512,728
0
0
null
2022-12-07T20:30:42
2019-10-30T11:33:32
Python
UTF-8
Python
false
false
653
py
import os import time print('zookeeper is starting') a=['./confluent-4.1.0/bin/zookeeper-server-start -daemon ./confluent-4.1.0/etc/kafka/zookeeper.properties'] os.system(a[0]) time.sleep(10) print('zookeeper is running') print('') print('kafka is starting') b=['./confluent-4.1.0/bin/kafka-server-start -daemon ./con...
[ "narendra11d@gmail.com" ]
narendra11d@gmail.com
f3f977c51021182dec91d0c3e0df7f9325e5120d
bb7aa6e986d8371b65649ebf72eecd79a98eb465
/pset7/houses/import.py
e620753627cdf16dd8cd7b6072c1fd224a1bf264
[]
no_license
brendonn40/CS50
35253f9ab4cb9a9ea07f7099a10d5ed0e4f6fc76
c99536dd935330ba61afa3617c25504216b59403
refs/heads/master
2022-04-13T20:38:25.995614
2020-04-09T14:20:05
2020-04-09T14:20:05
242,616,328
0
0
null
null
null
null
UTF-8
Python
false
false
926
py
from csv import DictReader from sys import argv,exit from cs50 import SQL open(f"students.db", "w").close() db = SQL("sqlite:///students.db") if len(argv)!= 2: print("Usage python import.py file.csv") exit(1) db.execute("CREATE TABLE students (id INT , first TEXT, middle TEXT, last TEXT, house TEXT,birth NUME...
[ "noreply@github.com" ]
brendonn40.noreply@github.com
7ce4ab6fcd870ee1929d1564be706a340aae55da
652121d51e6ff25aa5b1ad6df2be7eb341683c35
/examples/e2cylinder.py
e6cfcdcb96ff792080e988aeadbefe32b8a3509e
[]
no_license
jgalaz84/eman2
be93624f1c261048170b85416e517e5813992501
6d3a1249ed590bbc92e25fb0fc319e3ce17deb65
refs/heads/master
2020-04-25T18:15:55.870663
2015-06-05T20:21:44
2015-06-05T20:21:44
36,952,784
2
0
null
null
null
null
UTF-8
Python
false
false
7,482
py
#!/usr/bin/env python ''' ==================== Author: Jesus Galaz - 02/March/2013, Last update: 29/October/2014 ==================== # This software is issued under a joint BSD/GNU license. You may use the # source code in this file under either license. However, note that the # complete EMAN2 and SPARX software pac...
[ "jgalaz@gmail.com" ]
jgalaz@gmail.com
387dabd782ce5ff9ef6a24211f7525578847f816
ee8c4c954b7c1711899b6d2527bdb12b5c79c9be
/assessment2/amazon/run/core/controllers/dull.py
fe0bc212a62abe4ede34e4e1fbbd1c7e1de2186d
[]
no_license
sqlconsult/byte
02ac9899aebea4475614969b594bfe2992ffe29a
548f6cb5038e927b54adca29caf02c981fdcecfc
refs/heads/master
2021-01-25T14:45:42.120220
2018-08-11T23:45:31
2018-08-11T23:45:31
117,135,069
0
0
null
null
null
null
UTF-8
Python
false
false
362
py
#!/usr/bin/env python3 from flask import Blueprint, Flask, render_template, request, url_for controller = Blueprint('dull', __name__, url_prefix='/dull') # @controller.route('/<string:title>', methods=['GET']) # def lookup(title): # if title == 'Republic': # TODO 2 # return render_template('republic.ht...
[ "sqlconsult@hotmail.com" ]
sqlconsult@hotmail.com
0823c8bea45494d2905b0e5043439fae6e53ae03
1a7c7b6785ba275bad55ea24fc4ab82b7344adb6
/Mission_to_Mars.py
936f9d67e310d88cfa51161be42bb3770f219ab6
[]
no_license
nicbrownrigg/Mission-to-Mars
2565ad86102880448073daf4c55d13af539f9746
f9517b8df7d0decf452ada1906d386e682db2d89
refs/heads/main
2023-07-18T10:12:58.761635
2021-08-23T03:52:27
2021-08-23T03:52:27
398,953,092
0
0
null
null
null
null
UTF-8
Python
false
false
2,383
py
# Import Splinter, BeautifulSoup, and Pandas from splinter import Browser from bs4 import BeautifulSoup as soup import pandas as pd from webdriver_manager.chrome import ChromeDriverManager from flask import Flask, render_template, redirect, url_for from flask_pymongo import PyMongo import scraping # Set up Splinter exe...
[ "noreply@github.com" ]
nicbrownrigg.noreply@github.com
bf842dabd136a3c999d9455ac2d5af0d645e01d4
f231fd7cb34b042a91addf2e96468cc08ab785e3
/courses/MITx/MITx 6.86x Machine Learning with Python-From Linear Models to Deep Learning/project2/mnist/part1/softmax.py
a457fb19cff54403aa402ebf63b391387f635ffd
[ "Apache-2.0" ]
permissive
xunilrj/sandbox
f1a0d7a1af536bea217bc713e748f04819c2480b
d65076ba487b8bf170368c9e0a0d23e0575fc09f
refs/heads/master
2023-05-10T09:27:59.541942
2023-04-26T15:39:25
2023-04-26T15:39:25
64,613,121
8
5
Apache-2.0
2023-03-07T01:57:24
2016-07-31T20:12:02
C++
UTF-8
Python
false
false
7,347
py
import sys sys.path.append("..") import utils from utils import * import numpy as np import matplotlib.pyplot as plt import scipy.sparse as sparse def augment_feature_vector(X): """ Adds the x[i][0] = 1 feature for each data point x[i]. Args: X - a NumPy matrix of n data points, each with d - 1 f...
[ "1985.daniel@gmail.com" ]
1985.daniel@gmail.com
976b1c3cf14d08fa85ce19b565a2bd70f48d89c9
12c66f064758507068d7cd9e97819fc20105407a
/src/add_cilin.py
355241c1e979461be43a943aa55c69dbedb9cb48
[]
no_license
whr94621/synextractor
64b34b0f6187bb0fc0bbae602298663da4c2f2f1
aa9fc786720a0113b01edd89cb5524029aa42421
refs/heads/master
2020-12-25T06:47:55.744622
2016-07-20T07:25:09
2016-07-20T07:25:09
63,651,121
12
2
null
null
null
null
UTF-8
Python
false
false
1,296
py
# -*- coding: utf-8 -*- """ Created on Tue Jul 19 09:02:18 2016 @author: whr94621 """ import tensorflow as tf from synonym import Synonym ################## # mutable params # ################## top = 15 conf1 = 'configure.json' conf2 = 'configure_1.json' cilin = '../data/cilin.txt' # the script g1 = tf.Graph() g2...
[ "whr94621@163.com" ]
whr94621@163.com
75456499fe4c49df64a6eb1cc9eb3dc3a1039719
7dcb63e13c287ea5701840b22067b4d0302e2293
/User/urls.py
a35aa43aa926bf93acbf8043da7b60180ac48e78
[]
no_license
dpitkevics/Jooglin
a09fea1206591933631066ed230cfdeaa5573dc2
ed7f6b78caf71ef446a1207a96cb30e7c2d767d9
refs/heads/master
2021-01-10T13:03:15.411244
2015-04-20T15:22:29
2015-04-20T15:22:29
32,028,245
0
0
null
2015-03-30T14:11:25
2015-03-11T16:24:54
Python
UTF-8
Python
false
false
287
py
from django.conf.urls import patterns, url from User import views urlpatterns = patterns('', url(r'^login$', views.login, name='login'), url(r'^get-balance/$', views.get_balance, name='get_balance'), url(r'^get-experience/$', views.get_experience, name='get_experience'), )
[ "daniels.pitkevics@gmail.com" ]
daniels.pitkevics@gmail.com
435ac96107cd1300a5af9e79f7ec2474327ca74e
bbfaa2609b0a9775e89eaf261b5fa8a5b20445e0
/backend/manage.py
86ecd51d3529074253b3b121308e4264df0aa7cf
[]
no_license
crowdbotics-apps/in-the-mix-20320
9f8921718d9298154adc8278c04b25a9f7f8761b
a8e283776f3fb50049ddb830573e1cf0cfbfb743
refs/heads/master
2022-12-25T02:49:13.689263
2020-09-16T00:36:46
2020-09-16T00:36:46
295,881,723
0
0
null
null
null
null
UTF-8
Python
false
false
636
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault("DJANGO_SETTINGS_MODULE", "in_the_mix_20320.settings") try: from django.core.management import execute_from_command_line except ImportError as exc: rai...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
a828c1cbad38ff9441e7096e89181cbdb0003fd5
e16d86ae86e338a8091c9adeead4df5fe0451e0c
/fetcher.py
68b7e69b37536e5d27ba1baa5b3b8608ece4f0a2
[]
no_license
nekyian/xbmc-suggester
6e40cf69268807637d096a5f3a0452bb8f17e8f1
6bfc5a5513634a64869bbb17321dc1b23062f7e2
refs/heads/master
2020-05-07T11:16:34.029906
2013-04-20T11:33:03
2013-04-20T11:33:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
901
py
#!/usr/bin/python # Import XBMC module import xbmc # First we need to create an object containing the getMusicInfoTag() class from XBMC.Player(). # This is in order to use the same instance of the class twice and not create a new class # for every time we query for information. # This is a bit important to notice,...
[ "dan.stativa@gmail.com" ]
dan.stativa@gmail.com
a8dbb51ef0ca26def134a3942bb8d2f0822cf411
2836013e948f89165a0de1ed3feaf262f3a3a1f0
/models/TextCNN_PGD.py
ff675206b4786a47ab9278fa4cdee3b413ee50d5
[ "MIT" ]
permissive
zpyzl/adversarial
66be9d48b884af1417c8f42122338ea4c193bb96
2a0376e5691c00ff39f5dd3fb496e544c39cb0e8
refs/heads/master
2023-03-09T17:13:28.819692
2021-03-03T01:57:43
2021-03-03T01:57:43
336,278,967
0
0
null
null
null
null
UTF-8
Python
false
false
3,612
py
# coding: UTF-8 import torch import torch.nn as nn import torch.nn.functional as F import numpy as np from utils import clamp, add_perturbed_labels class Config(object): """配置参数""" def __init__(self, dataset, embedding): self.model_name = 'TextCNN' self.train_path = dataset + '/data/train.txt...
[ "zpyzl@qq.com" ]
zpyzl@qq.com