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
162cb9aa4751a361be68509ebfa3fbe28df00f56
dd6b0635021185bf29f20b5b49ab03f93ff841e3
/BH_Mergers.py
24b202c99314f23f6630a06b5e31721bdede2d65
[]
no_license
sbustamante/Spinstractor
27754ee5506b929fb51d6af35852c4780873e960
d546010735fb698963b48b19a2e017060d13ef10
refs/heads/master
2021-01-22T02:05:00.969180
2018-10-30T09:13:39
2018-10-30T09:13:39
92,332,959
0
0
null
null
null
null
UTF-8
Python
false
false
2,537
py
#======================================================================================== # LIBRARIES #======================================================================================== import matplotlib matplotlib.use('Agg') import matplotlib.pyplot as plt import numpy as np import os import h5py import time p...
[ "macsebas33@gmail.com" ]
macsebas33@gmail.com
944a2def0ca7b6df9c0c536d0bfbffe964741985
1e14c9538a7097521069460b8fef59093c93794b
/test_onedemoPERenv_system.py
ce0a861d2ed75ae934774bca36111d00a391e659
[]
no_license
nithin127/psketch
aea1ef7790757071bd846f60137b6ed862789ce7
536e119237d0a8b4d5afec9051f7eecb490b9b18
refs/heads/master
2020-06-15T13:20:34.459991
2020-03-22T22:45:44
2020-03-22T22:45:44
195,310,965
1
0
null
null
null
null
UTF-8
Python
false
false
3,934
py
import os, time import pickle import numpy as np from system3 import * # Single demonstration demos_water = pickle.load(open("demos_water_gold.pk", "rb")) demo = demos_water['1layer'][1] # Test environments test_env = pickle.load(open("maps__test.pk", "rb")) train_env = pickle.load(open("maps__train.pk", "rb")) ...
[ "nithin127vasisth@gmail.com" ]
nithin127vasisth@gmail.com
7b5fd35d31c7e7e0f82edd72284a15107292bad5
d65694948060fb3001a061f373e25c5dc1c143af
/m15_1.py
48e8eaa655a97bb82f369095b360fa40e1ad733a
[]
no_license
Jabba1988/Python_Examples
2a4d90e404904534a246bead27f09dec91180da2
50da1160e7c6efe3ded23caa043eb998bcd4e60c
refs/heads/main
2023-03-24T16:49:23.959728
2021-03-23T06:30:58
2021-03-23T06:30:58
343,868,994
0
0
null
null
null
null
UTF-8
Python
false
false
284
py
from tkinter import * def callback(e): print ('Нажата кнопка', e.widget['text']) root=Tk() button1 = Button(root, text='Первая') button1.pack() button2 = Button(root, text='Вторая') button2.pack() root.bind_class('Button', '<1>', callback) root.mainloop()
[ "bakhmatov@myservices.digital" ]
bakhmatov@myservices.digital
99e192fc19b867f41bba602ba3341184cab38871
194402c11456972e666ffd74fd147b382372a078
/lectures/scrape/lecture-scraper/tutorialscraper/settings.py
d8c43c16e15978aa8f6eb49d204f2449b6e988bd
[ "MIT" ]
permissive
renzotw/PIC16B
d62766d68459f7d688f92efc64dc4be21a01adbe
2cd99011fcf70f6a1f379f4f4c894d72214da67c
refs/heads/master
2023-08-20T18:12:56.899534
2021-10-29T21:51:28
2021-10-29T21:51:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,160
py
# Scrapy settings for tutorialscraper project # # For simplicity, this file contains only settings considered important or # commonly used. You can find more settings consulting the documentation: # # https://docs.scrapy.org/en/latest/topics/settings.html # https://docs.scrapy.org/en/latest/topics/downloader-mi...
[ "pchodrow@gmail.com" ]
pchodrow@gmail.com
5a4c0f8b35f1adeb3979835417b8c1265387168a
bf37cf684b670af23583d224dbb13d4aa034c9b2
/main.py
879e81ecc729dac5e2ab4cade290bd8257c53c65
[]
no_license
ArchitAshokGupta/pomodoro-app
e7aefa8c6bad4d083dd6b1e46328f72efe27e61a
0aa5cf7ec5047893db5a31386c98bf56154b9801
refs/heads/master
2023-05-08T08:13:26.486322
2021-06-02T16:21:55
2021-06-02T16:21:55
373,233,456
0
0
null
null
null
null
UTF-8
Python
false
false
2,649
py
from tkinter import * import math # ---------------------------- CONSTANTS ------------------------------- # PINK = "#e2979c" RED = "#e7305b" GREEN = "#9bdeac" YELLOW = "#f7f5dd" FONT_NAME = "Courier" WORK_MIN = 25 SHORT_BREAK_MIN = 5 LONG_BREAK_MIN = 20 reps = 0 timer = None # ---------------------------- TIMER RESE...
[ "architgupta923@gmail.com" ]
architgupta923@gmail.com
29203bc8227c4856647531604a348ebaafce84a7
77d3d5ebd3f07e030d9930226898d207d816c980
/Assets/Quest_Class.py
9e0c10597d23c99783d9f57d590846cc35dda1fd
[]
no_license
LandenBrown/TheUltimateDungeonCrawler
0f6c53be23bc6a7cf1cb2b3a9565c8fe3ef0b0a1
b6216edf53078f7e597454c9bf5de2dd9afde842
refs/heads/master
2021-09-03T22:58:36.622441
2018-01-12T17:37:23
2018-01-12T17:37:23
115,650,525
1
0
null
2018-01-12T17:40:55
2017-12-28T18:44:44
Python
UTF-8
Python
false
false
781
py
import easygui from easygui import * class Quest: def __init__(self, name, d1, d2, d3, d4, d5, d6, d7, d8, d9, d10, target, target_objective, goal, current, complete): self.d1 = d1 self.d2 = d2 self.d3 = d3 self.d4 = d4 self.d5 =...
[ "landensbrown@gmail.com" ]
landensbrown@gmail.com
536d7eba2c11439a4007584859de8e070eb51cd6
b1dc0d9277698f2cc8afc3b9b646077f81eb3835
/src/Collider.py
674652593953452c1604b6961c988acf6b79478a
[]
no_license
adammusial777/BIAI-Project
4bfeab2c9d2bbd689d91df76bf4a0b573bca3e8c
ba3f14c12bdb27c8cc685df991523b58d33bed60
refs/heads/master
2022-09-13T17:32:37.610919
2019-09-24T08:31:19
2019-09-24T08:31:19
183,948,547
0
0
null
2022-06-21T21:56:45
2019-04-28T19:12:49
Python
UTF-8
Python
false
false
673
py
from pygame.rect import Rect class Collider: def __init__(self, gameObject, tag): from GameManager import GameManager self.gameObject = gameObject self.tag = tag GameManager.collidingObjects.append(self.gameObject) def CheckCollision(self, other): return not self.game...
[ "adam.musial777@wp.pl" ]
adam.musial777@wp.pl
732a171a4a14f32de8a9b8dae037a8f0ef6c16ff
300caf797be4f80fc69d74c977e53f058ff6d5b6
/rockit/core/tests/test_holder.py
047882e4580f379977d141bafce27b3ed386cf8d
[ "MIT" ]
permissive
acreations/rockit-server
8a9d141fedbff1cea539c1e6cba843d4399e675c
4d1e87b563d9339e73bf0e5c698a59e8e124cc01
refs/heads/master
2016-09-10T11:22:14.391490
2015-02-17T21:57:42
2015-02-17T21:57:42
16,325,691
0
0
null
null
null
null
UTF-8
Python
false
false
3,132
py
from django.test import TestCase from rockit.core.holders import Holder class HolderTestCase(TestCase): def setUp(self): self.holder = Holder() def test_content_should_be_a_dictionary(self): self.assertTrue(isinstance(self.holder.get_content(), dict)) def test_content_should_contain_dat...
[ "aaron.wong.home@gmail.com" ]
aaron.wong.home@gmail.com
cfceca1971b875e30b97e489d0c32d251e87113c
5df97f6d539126c70f19ba7d480b3939ba20c657
/source/5.大数据获取/Xpath/XPath_example.py
72ed545f73e80a0a6bc31d70aa29a1193314af7a
[]
no_license
wulichunchun233/Pythonbigdata
524b15be7c4e07680ee136923af38dc28d8cfdde
48cb82a153d42b7ef5cba4d6a397cac8e2b9749d
refs/heads/master
2022-08-10T11:29:40.917347
2020-05-22T01:11:58
2020-05-22T01:11:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
655
py
from lxml import etree # 读取html内容 html = etree.parse(r"../data/Xpathexample.html", etree.HTMLParser()) result = etree.tostring(html) print(result.decode("utf-8")) # 获取所有节点 allnodes = html.xpath("//*") print(allnodes) # 获取指定节点 all_p = html.xpath("//p") print(all_p) # 获取子节点 child_a = html.xpath("//p/a") print(child_a...
[ "zhangxiao@nwpu.edu.cn" ]
zhangxiao@nwpu.edu.cn
447271e877d53137c51effe80534677bb917fc53
b67a1b1e8b9c027ad3456866803fee8298408da2
/aas/Estimating Delays/nn/networks/RestoreableComponent.py
b29482c096fa66f1f47134060c25dbc05b07d2a5
[]
no_license
andrewasheridan/hera_sandbox
216a112ebc365d62bb113fba6a9bc9523921faad
8af4f1f91d47121577a1eb8d16d1bc530bf6a671
refs/heads/master
2020-03-18T04:48:19.514755
2018-08-15T02:34:14
2018-08-15T02:34:14
134,307,210
1
0
null
2018-05-21T18:11:58
2018-05-21T18:11:58
null
UTF-8
Python
false
false
3,513
py
"""RestoreableComponent """ from pprint import pprint import numpy as np import sys import os class RestoreableComponent(object): """RestoreableComponent Allows saving / loading of object parameters. Excludes saving / loading of parameters begining with '_' or parameters that refer to tensorflow obj...
[ "sheridan@berkeley.edu" ]
sheridan@berkeley.edu
7f79426c1201450a250c2aaa0f77a5cad09a76d9
1d147a6bac841011957cb26eb3481c595a134d0d
/meeting_action_plan/meeting_action_plan/local_settings.py
38303a68864a985eb000d26d4f2f397f5d1a3e03
[]
no_license
technomicssolutions/meeting-action-plan
0db165961d5129134c93c952076cc7280b337696
71238bfc5ab9973cfc895785f958d21e360cb901
refs/heads/master
2021-01-23T21:36:16.481470
2014-08-11T05:48:12
2014-08-11T05:48:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
555
py
DATABASES = { 'default': { 'ENGINE': 'django.db.backends.postgresql_psycopg2', #'mysql', 'sqlite3' or 'oracle'. 'NAME': 'meeting_action_plan', # Or path to database file if using sqlite3. # The following settings are not used with sqlite3: 'USER': 'krishna', ...
[ "anoop@technomicssolutions.com" ]
anoop@technomicssolutions.com
dd3b322ecbb04513a786ce364efb5b982bc79300
f709aa102f6139fead280aa3ef770bbe5b61140b
/manage.py
7b2d4cc82f5a356a3184b13b8c9acd9caf21d6d1
[]
no_license
abarb014/cs179project
a251eac855ba7722d62e30b3d093f45a32b9d788
42c8662d0344e557e858226278c966cf31c8790d
refs/heads/master
2021-01-13T16:21:10.818355
2017-03-15T01:12:04
2017-03-15T01:12:04
79,854,438
0
2
null
2017-02-12T02:13:55
2017-01-23T22:23:26
Python
UTF-8
Python
false
false
801
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "ucr.settings") try: from django.core.management import execute_from_command_line except ImportError: # The above import may fail for some other reason. Ensure that the ...
[ "andybrbz@gmail.com" ]
andybrbz@gmail.com
4167e094c91aa9c0a85a31b45af335cbc7bac7a9
1d0228317b822e6697d9d7167961caa4512ae6a8
/three_layer_example.py
7dd0695e78b1ba9e1414e7193fee2831632febf3
[ "Apache-2.0" ]
permissive
HugoJBello/tests-text-recognition-python
4a608bc0120f7016e93a679e785df83ad65230db
5c6a07e1714e581fe30cf6d7e1b0fe2b8b3158cc
refs/heads/master
2020-09-05T04:26:44.306940
2019-12-17T13:13:16
2019-12-17T13:13:16
219,982,341
0
0
null
null
null
null
UTF-8
Python
false
false
1,374
py
#https://en.wikipedia.org/wiki/Backpropagation#Finding_the_derivative_of_the_error ##https://iamtrask.github.io//2015/07/12/basic-python-network/ import numpy as np def nonlin(x,deriv=False): if(deriv==True): return x*(1-x) return 1/(1+np.exp(-x)) X = np.array([[0,0,1], [0,1,1], [...
[ "hjbello.wk@gmail.com" ]
hjbello.wk@gmail.com
fd56ab226506e3b5d7d35df470f981c5dfecfd85
e0aa52c1704bfe7b1348eeb88e046c34e8b14212
/ejercicio_3.py
040eae85a73a4bbbc0fe0f96de83edb2ec35722c
[ "MIT" ]
permissive
juandab07/Algoritmos-y-programacion
53378a2b5ed1d8d16b43b3f438134b176e04a888
f3c10f5c4620b15432ecfe2b9f5831437a49ace9
refs/heads/main
2023-05-12T21:36:09.438550
2021-05-21T23:32:32
2021-05-21T23:32:32
357,763,665
0
0
null
null
null
null
UTF-8
Python
false
false
446
py
""" entradas venta1->float->v1 venta2->float->v2 venta3->float->v3 sueldobase->float->SB salidas comision->float->c sueldototal->float->sueldototal """ #entradas v1=float(input("digite la venta 1 " )) v2=float(input("digite la venta 2 " )) v3=float(input("digite la venta 3 " )) sueldobase=float(input("digite el sueldo...
[ "noreply@github.com" ]
juandab07.noreply@github.com
df1d048f17f5a566209ef32349cf25f4c9e2f754
be5ea20226c37d81f1ccb2f704d8825d36e88765
/09. Decorators/EXERCISE/07_execution_time.py
46206ea6d73977ddd8aef00da8cdfe89e906e747
[]
no_license
dimDamyanov/PythonOOP
3845e450e5a48fef4f70a186664e07c0cd60e09b
723204f5b7e953874fac9314e48eb1d1628d6ff5
refs/heads/main
2023-04-07T18:00:36.735248
2021-04-19T20:57:14
2021-04-19T20:57:14
341,329,346
0
0
null
null
null
null
UTF-8
Python
false
false
500
py
import time def exec_time(func): def wrapper(*args): start = time.time() func(*args) end = time.time() return end - start return wrapper @exec_time def loop(start, end): total = 0 for x in range(start, end): total += x return total print(loop(1, 1000000...
[ "dim.damianov@gmail.com" ]
dim.damianov@gmail.com
defefae49f1eb84b281fd9e549b90db6b4ca0560
d0ff62146e31d44ca19ae8bce7c321460c12bbb8
/laneTracking.py
7b71e6678e1331371fc5352a6e108ecc7ed3f296
[]
no_license
chowjimmy-wc/cityu_underwater
4fe6731640e3b1080d9f3f6ceeba72500a8147e1
3ea385365c93711e9211a58d0aabe9b11029c7a4
refs/heads/main
2023-09-04T23:30:10.401324
2021-10-14T12:10:49
2021-10-14T12:10:49
417,114,903
0
0
null
null
null
null
UTF-8
Python
false
false
2,947
py
import cv2 import numpy as np import utlis curveList = &#91;] avgVal=10 def getLaneCurve(img,display=2): imgCopy = img.copy() imgResult = img.copy() #### STEP 1 imgThres = utlis.thresholding(img) #### STEP 2 hT, wT, c = img.shape points = utlis.valTrackbars() imgWarp = utlis.warp...
[ "noreply@github.com" ]
chowjimmy-wc.noreply@github.com
eb05a439ca3e8cb84a9dd47e7476548ed343a980
5db75589901eb5eb991d8efd5aa043fbd475179c
/leetcode/strStr.py
6af411d87627e6fa6c68306c8bebf86d0cfe9c05
[]
no_license
cizixs/playground
b15f503ddb7a406791443768b6325776c9fe6f22
eea3668cc80d7f328359a56144a5344029e83b47
refs/heads/master
2021-01-22T02:53:09.981444
2014-10-26T07:19:17
2014-10-26T07:19:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
386
py
class Solution: # @param haystack, a string # @param needle, a string # @return a string or None def strStr(self, haystack, needle): if len(haystack) < len(needle): return None if needle == "": return haystack result = haystack.find(needle) if resu...
[ "vagrant@precise64.(none)" ]
vagrant@precise64.(none)
766e1262d5d939b9507e3f4e4665d396caeb8564
067187215cb2fbd776a232f66a14e42c5b25ff03
/wsgi.py
17783c7892d7e58256d71c3daed096fac3815cf6
[ "MIT" ]
permissive
tom-lord/r-slash-thebutton
27c4df62f82edaf6af41c7eac5f2fc6a4902c735
83818413e1522ac385dd3bc37ba66b85958cc876
refs/heads/master
2020-12-11T06:01:37.169006
2015-05-22T09:52:56
2015-05-22T09:52:56
36,288,683
0
0
null
2015-05-26T10:25:51
2015-05-26T10:25:50
HTML
UTF-8
Python
false
false
318
py
#!/home/www/venv/bin/python import threading import sys sys.path.insert(0, '/home/www/venv/lib/python3.4/site-packages/') sys.path.insert(0, '/home/www/') from app import app as application from app import Data threading.Thread(target=Data.socket_controller).start() threading.Thread(target=Data.scheduler).start()
[ "chris27stevens@gmail.com" ]
chris27stevens@gmail.com
59fd504fbfbc0a6e8befbfdadc46ce2cae5807d0
228921ea642e1116acec975975f5c2fbc6593968
/static/scripts/park_info_extract.py
f2c150dac6787ed93f612e7d240f78ce062f4b5e
[]
no_license
guwei1989/tool_by_flask
9795baaf1974526147f9d028e1df663542f4f203
b438c3afe94de3f486f51368eff0cfb8f71994f8
refs/heads/master
2022-12-14T19:29:03.549732
2018-08-18T11:11:48
2018-08-18T11:11:48
140,379,540
0
0
null
2022-12-08T02:15:49
2018-07-10T05:03:52
CSS
UTF-8
Python
false
false
15,275
py
# coding=utf-8 import datetime import re import sys from helper import start, end, info, err, traceback from log_helper import read_log_lines, LogFile ecoupon_lookup = { 66: u'次数券', 67: u'小时券', 68: u'时间段券', 69: u'金额券', 70: u'折扣券', 71: u'通用金额券' } def extract_park_info(lines, plate, out_dateti...
[ "874695320@qq.com" ]
874695320@qq.com
feb1c50396878922974b0468c4525f64dfce72da
0005b44bb91243a74d14413f638bf8c9a7c8096e
/views/productOrder/Order_params/Menpiao_Order_params.py
665bb4bb0f23fedff3cce830064a62b52d773c31
[]
no_license
luck1006/auto-api
3b347c3206c562cc0fe3e16bd0a2c8ed1147d365
0300b1c4f299a3713a9c60fe102a3919e8b88a44
refs/heads/master
2022-10-22T13:33:45.687287
2020-06-16T14:37:19
2020-06-16T14:37:19
272,685,499
0
0
null
null
null
null
UTF-8
Python
false
false
5,326
py
# -*- coding:UTF-8 -*- # @Author : huangfang from views.productOrder.BOH_params.Menpiao_BOH import Menpiao_BOH from app.actions.tools.commonData import productdata_menpiao import datetime import random,string class Menpiao_Order_params(Menpiao_BOH): #获取行程1ID def menpiao_get_journeyId1(self): ...
[ "zhuhaiyan@tuniu.com" ]
zhuhaiyan@tuniu.com
7c94c4246337922503c3c04bb85a88472f19f303
7caa2803db67f5c609865fe0f5c4d24bbbdb4afe
/leetcode/621-task-scheduler/main.py
ce57a5a949b68ada661a286438c646a3b5b02b77
[]
no_license
ataul443/AlgoDaily
106fd9e496ede30bfdf223ce54dcac2b14852815
b8ae4f80cf162681aaff1ff8ed6e1e4d05f2010d
refs/heads/master
2022-11-20T10:47:52.683016
2020-07-16T13:27:55
2020-07-16T13:27:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,729
py
import heapq from collections import * """ 1st approach: maxheap - similar to lc358 1. count occurence for each task 2. in each iteration - pop the tasks from maxheap n+1 times - put the tasks back to the queue with decremented count 3. remove trailing '-'(idle) Time O(nlog2...
[ "chan9118kin@gmail.com" ]
chan9118kin@gmail.com
1871588733267b2f9a6adeccbe55e2536732a85b
fe9935b08e22fc019fbcfd6c0bc37ab235e2a0e2
/catkin_ws/devel/lib/python3/dist-packages/turtlebot3_example/__init__.py
73776efd388bc523c9228410edb846b19f7e85a8
[]
no_license
abdussametkaradeniz/RosLessonsAndTutorials
ce22a06d8a881d949479956ea6aa06ff9f8bf41b
940597350f5ed85244696ec44fe567fd89a6d5d8
refs/heads/main
2023-07-18T22:56:52.075918
2021-09-07T21:42:24
2021-09-07T21:42:24
404,125,607
1
0
null
null
null
null
UTF-8
Python
false
false
1,046
py
# -*- coding: utf-8 -*- # generated from catkin/cmake/template/__init__.py.in # keep symbol table as clean as possible by deleting all unnecessary symbols from os import path as os_path from pkgutil import extend_path from sys import path as sys_path __extended_path = '/home/ardentblaze/catkin_ws/src/turtlebot3/turtl...
[ "abdussametgosukaradeniz@gmail.com" ]
abdussametgosukaradeniz@gmail.com
d1d7f72fe670ad80b483cebe8ae97847b8fc2824
9acb59a2aee291f3ce63e23492d668780134795b
/passwords.py
28463d87d5238edf0fab97040322f6191f6fc021
[]
no_license
mauropappaterra/Password-Generator
4b62c0c4224df2beea8b4006a3e48adbab60a4a2
1d5bc0c680401517209a253968ffc6be24b8a60d
refs/heads/master
2023-05-12T10:13:36.048279
2018-01-20T11:27:16
2018-01-20T11:27:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
165
py
# Password-Generator # passwords.py # Created by Mauro J. Pappaterra on 07 of November 2017. import model as m import view as v import controller as c c.start(m,v)
[ "mauropappaterra@gmail.com" ]
mauropappaterra@gmail.com
c2992a7f38bba9ba03dfa6c43ae76a6eb594705b
35d8cdd1eded0b7a6a6c09d386befe1891be347a
/userbot/plugins/hack.py
f28b4eb79ee5d0e33bb8439e8892f3554a315f76
[ "MIT" ]
permissive
shashi50505/Jarvis2
2de5a8ccecac0b36af1b280b39ff785efe6b31dc
977784224a13a15b76724792e3dbbf1e3ceab86d
refs/heads/master
2022-04-26T09:38:02.574973
2020-04-24T14:38:01
2020-04-24T14:38:01
258,545,735
1
0
MIT
2020-04-24T15:07:32
2020-04-24T15:07:31
null
UTF-8
Python
false
false
2,518
py
"""Emoji Available Commands: .emoji shrug .emoji apple .emoji :/ .emoji -_-""" from telethon import events import asyncio from uniborg.util import admin_cmd from telethon.tl.functions.users import GetFullUserRequest @borg.on(admin_cmd(pattern=r"hack")) async def _(event): if event.fwd_from...
[ "noreply@github.com" ]
shashi50505.noreply@github.com
861261d5bcc093077a78e927032649deaa9cc080
c89d50f7554f2eb551e5a493b7b9614c478a8ac2
/R/prepare_data.py
9f0a7a147a47fbfe77d3233e002876b1d03693e0
[]
no_license
junnyhe/Code
c741d5f6b559ef0d4fbb37f8b67f5dd59d89b3d4
b698e4831bc240dbc1229c21c71ceb88733aabd2
refs/heads/master
2020-04-11T09:44:22.451742
2015-08-30T02:28:51
2015-08-30T02:28:51
31,276,029
0
0
null
null
null
null
UTF-8
Python
false
false
28,456
py
import csv import gzip # change delimiter to "|" def convert_data(infile_name,outfile_name): # remove space in header, and strange characters in data infile=gzip.open(infile_name,'rb') incsv=csv.reader(infile) outfile=open(outfile_name,'w') outcsv=csv.writer(outfile,delimiter='|') ...
[ "junnyhe@gmail.com" ]
junnyhe@gmail.com
d5d1a0aeb4cdff1b577aa3fbecad4cbe580a5a0b
93813fecd8722805d680b730ec9864d2a3ee6744
/test_dmp/move_r_arm_prepick.py
7320abd54b3f802418e1a1ce0ff214f756470a61
[]
no_license
tony1994513/birl_trajectory_planner
88c5d7f0353b9d3b0b2e06d7b7de546c5d26e31d
6f147430bf059a1bdbc2a6cd42f1e4e6fa108f9d
refs/heads/master
2020-04-10T09:25:32.197475
2019-02-28T08:03:59
2019-02-28T08:03:59
160,935,909
0
0
null
null
null
null
UTF-8
Python
false
false
553
py
#!/usr/bin/env python import baxter_interface import rospy if __name__ == '__main__': rospy.init_node("set_right_arm_py") names = ['right_e0', 'right_e1', 'right_s0', 'right_s1', 'right_w0', 'right_w1', 'right_w2'] joints = [0.23354857495555426, 1.458432234082057, 0.6991117440787773, -1.1083011192472114, ...
[ "470963660@qq.com" ]
470963660@qq.com
621c91fb8cb28da16efc9fafb61faa465152baca
e9d0eb9ab40639ee6c3182cfa134f91197ba4fe6
/roslib/substitution_args.py
67cd9c5a4e538d3d557d99cba523b7e0ae5da4a3
[]
no_license
Vbilot/Minoides_NN
0e97232c5833278aa41e9f10df69caba8a475cac
560f0c1a3b61eca7d8853fb5b841261d2cc4bc75
refs/heads/master
2020-03-19T03:21:27.110113
2018-06-01T13:51:09
2018-06-01T13:51:09
135,720,254
0
0
null
null
null
null
UTF-8
Python
false
false
9,407
py
# Software License Agreement (BSD License) # # Copyright (c) 2008, Willow Garage, Inc. # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # * Redistributions of source code must retain the above...
[ "simon.vernin@depinfonancy.net" ]
simon.vernin@depinfonancy.net
e91f3640bd3681937eaa767062459684b6b2edcb
a3bc83cb82694e440db524c576fdcfd2b4e358bf
/notifications/admin.py
137219de046c3d6a85dda63037e2ae67b1e19a1f
[]
no_license
Resbel-960/Cocktail-app1
df5628a712876cc8ea2207cde857e47343be3492
2cf71ea35c374f1c72d74064db382133dbad461a
refs/heads/master
2022-12-01T05:23:50.448173
2020-07-18T20:15:17
2020-07-18T20:15:17
275,412,993
0
0
null
null
null
null
UTF-8
Python
false
false
190
py
from django.contrib import admin from .models import * # Register your models here. class NotificationAdmin(admin.ModelAdmin): pass admin.site.register(Notification, NotificationAdmin)
[ "resbel.zy@gmail.com" ]
resbel.zy@gmail.com
1625ded522b0c2e473970079db521e10d42a897b
8452e2798d35f309930d5984f4c65014de7802bf
/helper.py
e4e793a82980036fa102f98d1c81a1d7990b2816
[]
no_license
daveboe/blockingTaskEngine
19b5c0c5fb0800ad7cd548aeb6fe06a83912c5a6
7cef7897c34017ecdf3e5cb4d185ed7627ef217a
refs/heads/master
2021-04-25T03:11:27.851620
2018-01-12T17:41:47
2018-01-12T17:41:47
115,610,028
0
0
null
null
null
null
UTF-8
Python
false
false
446
py
import requests import logging def retry(func, max_tries=1, logging=False, hook=None): def retried_func(*args, **kwargs): tries = 0 while True: if hook is not None: hook(logging) resp = func(*args, **kwargs) if resp.status_code == 500 and tries <...
[ "d.boeller@bluewin.ch" ]
d.boeller@bluewin.ch
25c7bb17dfa66c9a49f81d72ac5b1b2985f076b2
8375c46ae4a2c74007a24fb740386e177d7e4853
/week09/2792_jimin3263.py
f67631739c840fd5190b83cbfd3b4d11b208ecb4
[]
no_license
hyeji1221/SMU_Algorithm
36f96f3423a8cc6e82511d4aa7ba481e76f59c8d
7d22529b2467e8c2c6f25770a7926bdf0c419b0d
refs/heads/main
2023-08-13T22:00:20.139790
2021-10-10T14:02:12
2021-10-10T14:02:12
348,924,731
4
1
null
null
null
null
UTF-8
Python
false
false
859
py
#같은 색 보석만 가질 수 있음 #가장 많이 가진 보석의 수가 최소가 되도록 import sys input = sys.stdin.readline n,m = map(int,input().split()) jewelry=[] for i in range(m): jewelry.append(int(input())) #시작 = 1, 질투심 = mid start, end=1, max(jewelry) while start <= end: mid = (start+end) // 2 #한 명당 가져가는 보석 수 sum = 0 #보석을 가져간 사람 for...
[ "noreply@github.com" ]
hyeji1221.noreply@github.com
f5841c57d24414e3a0fe5cfb04bd2b17d71eda5d
ae2e4f2c99225f81891b65b23be7d33262d8fa96
/app/core/proyectos/migrations/0001_initial.py
7fa6763594150d9e0ccebc9056697cd78bbc3751
[]
no_license
DFCCyii/python-chekinassist
cfd83e65ea511c3268632b3ceed6bf36e74d42fe
8f4e68a94f937b8644d88b31c62443eaad87cf4f
refs/heads/master
2022-10-30T08:35:18.268959
2020-06-18T22:40:37
2020-06-18T22:40:37
273,351,573
2
0
null
null
null
null
UTF-8
Python
false
false
525
py
# Generated by Django 2.2.12 on 2020-05-21 21:02 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='TipoDocu', fields=[ ('id', models.AutoFiel...
[ "57962258+DFCCyii@users.noreply.github.com" ]
57962258+DFCCyii@users.noreply.github.com
b02b6f4a8dad54e71517c5a53c23626326299904
1a36f8f77ca3d3093b51932f8df15b3c2fad3ae4
/mlx/filesystem/local_filesystem.py
599111e0fe82594c1cd126f3a05558c81109f986
[ "Apache-2.0" ]
permissive
lewfish/mlx
3c2477aa2fc53f5522e4e70975f0e430090c3024
027decf72bf9d96de3b4de13dcac7b352b07fd63
refs/heads/master
2020-04-20T13:57:36.831202
2019-10-08T00:37:55
2019-10-08T00:37:55
168,884,084
0
0
Apache-2.0
2019-10-08T00:37:56
2019-02-02T22:13:28
Jupyter Notebook
UTF-8
Python
false
false
4,068
py
import os import shutil from datetime import datetime, timezone import glob from mlx.filesystem import (FileSystem, NotReadableError) def make_dir(path, check_empty=False, force_empty=False, use_dirname=False): """Make a local directory. Args: path: path to directory check_empty: if True, ch...
[ "lewfish@gmail.com" ]
lewfish@gmail.com
ed08064f64c5c4407c7c2f69b59101480452a297
fa795af74cda4d92604fa3332179ba939460a9b5
/JUBioactivities/QSARDB/Zhang_Property_logKMXa_Cuticular_polymer_matrix/__init__.py
adddf136cd274fcf5c3c41ccd4a71b4f7ab2e83c
[]
no_license
JenniferHemmerich/JUBioactivities
7329a89db0e2790aff9bcfe153ab4dcd2c19a489
87054ac135d91e034dcfb6028562b4a7930a3433
refs/heads/master
2020-04-26T03:56:36.177955
2019-03-07T13:08:08
2019-03-07T13:08:08
173,284,341
1
1
null
null
null
null
UTF-8
Python
false
false
940
py
import os.path import pandas as pd from ... import utils import glob __data_src__ = [os.path.join(__path__[0], "compounds/InChI_from_XML.csv")] __data_src__ += list(sorted(glob.glob(os.path.join(__path__[0], "properties/*.txt")))) def read_data(raw=False): dat = pd.read_csv(__data_src__[0], index_col=0) pro...
[ "jennifer.hemmerich@univie.ac.at" ]
jennifer.hemmerich@univie.ac.at
ff3daba57560d371425b2d9a26fc6c1e778b2b8c
7e14ab86c9cdf9655ed5835f79000b52a487fdab
/lista01/ex05_l01.py
156ac7bf1ee5bd9fc4a68b0d0ffb665e861846d8
[]
no_license
cafecompython/FATEC
eb200bdb66b155e1e604ed98527f84f7cf8c9042
3c7004184f8a898e2dff69d0e34f68961f85327b
refs/heads/master
2020-05-01T10:55:50.381107
2019-03-24T15:06:11
2019-03-24T15:06:11
177,430,611
1
0
null
null
null
null
UTF-8
Python
false
false
488
py
'''05- Dados três números, A0, LIMITE e RAZÃO, imprima todos os números gerados pela PA (Progressão Aritmética) cujos valores são menores que o LIMITE. A PA tem valor inicial A0 e razão RAZÃO.''' A0 = int(input('Digite o valor inicial da PA (A0): ')) LIMITE = int(input('Digite o valor do limite da PA (LIMITE): ')) RAZ...
[ "dasilva.mcg@gmail.com" ]
dasilva.mcg@gmail.com
ce415090b6138be5793ba020c8a4743552fcc53e
d10a8465ab3e3fa93cd1feeb6cfb3b2321016b99
/index.py
490640d2d5f16200a207b5b48068f335d0b0dd22
[]
no_license
rintcius/xuanji.appspot.com
2cc125bf419d716e72b7d30000ed7e9173735f63
ca4ba727285ed2a8b7fe006ab19856708a40ce7b
refs/heads/master
2021-01-16T20:14:06.990238
2013-09-29T07:15:39
2013-09-29T07:15:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
485
py
import cgi import os import webapp2 from google.appengine.ext.webapp import template from python_grading import python class MainPage(webapp2.RequestHandler): def get(self): path = os.path.join(os.path.dirname(__file__), 'index.html') self.response.out.write(template.render(path, {})) app = webap...
[ "xuanji@gmail.com" ]
xuanji@gmail.com
fab7aa822ba2ce976ce6e3bd28674cdc8684e220
1132a279441daf848dc3069f5ad5992b4f666cdd
/popula_banco.py
b751e97c93c57eb24ee2595efe4e0842ab5cc7a6
[]
no_license
douglaswestley/HCV
30ae05cdbea941ab2b3b99d05354bf3ba66c5da1
df230dd2c9c12fa21ffa775b11e286c82b777a35
refs/heads/master
2020-03-31T19:05:40.397902
2018-12-13T13:30:42
2018-12-13T13:30:42
152,484,693
0
0
null
null
null
null
UTF-8
Python
false
false
149
py
from models import Usuario, Ocorrencia, db def cria_tabelas(): db.create_tables([Usuario, Ocorrencia]) def cria_usuarios(): usuarios = []
[ "walicen.r@gmail.com" ]
walicen.r@gmail.com
2112370b9ee110bc0a76c7315ceefa5583dfb1d4
37fb5b66145831f67d90f2810cef470e35e07810
/hzspell.py
1e0d677e85bed13d7804d40dee380bde3d37b287
[]
no_license
jiangce/tglib
8c7ac21334f014ff393199592f988a7e75d96142
8f9d1b2f229f91a51629fd5a3c762d65cf8839c6
refs/heads/master
2021-01-10T09:07:50.734054
2015-12-15T07:51:33
2015-12-15T07:51:33
36,805,416
2
0
null
null
null
null
UTF-8
Python
false
false
3,567
py
# -*- coding: utf-8 -*- ''' 汉字转拼音库 Created on 2012-7-2 @author: JC ''' import sqlite3, os, copy class Spell(object): ''' 汉字拼音转换类 ''' def __init__(self): self._dbname = os.path.join(os.path.dirname(__file__), 'hzspell.db3') self._connect = sqlite3.connect(self._dbname) self._c...
[ "jiangce@togeek.cn" ]
jiangce@togeek.cn
06c0697c042852553ea8f2603afaca223ce2c5c1
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_81/311.py
d316cf2c5a48f65d437f14d31ee4f5b5c78d65a5
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,068
py
def crash(): assert 1==2 def percentage(arrayWins): wins = arrayWins.count('1') losses = arrayWins.count('0') return float(wins)/(wins+losses) def average(arrayWins): return float(sum(arrayWins))/len(arrayWins) fileLoc = '/Users/alarobric/Downloads/' #fileLoc += 'A-small-attempt...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
97949505090c172520f2c6090895995db830ebf0
2f7a05fe584a948d203f0236b6f139220865aabc
/plugins/proofpoint_tap/komand_proofpoint_tap/actions/get_delivered_threats/action.py
a4321b2083f98276d5524bcb628bb3c75b9588c5
[ "MIT" ]
permissive
Kano69/insightconnect-plugins
6671995e9c3127137f59939369ab79bdd152127d
4dc54260470cd8a3d1cb31ae1c48ad3e8ec75194
refs/heads/master
2023-08-25T19:14:14.919805
2021-10-15T15:01:18
2021-10-15T15:01:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,566
py
import insightconnect_plugin_runtime from .schema import GetDeliveredThreatsInput, GetDeliveredThreatsOutput, Input, Output, Component # Custom imports below from komand_proofpoint_tap.util.api import Endpoint from komand_proofpoint_tap.util.util import SiemUtils class GetDeliveredThreats(insightconnect_plugin_runti...
[ "noreply@github.com" ]
Kano69.noreply@github.com
f73d3aa3fd0c4fe52cb8b168f061e0bde93a90a1
1daf0a34dab33f3835a91951e68607098fe0e2d2
/lesson_3/test_fixture2.py
0a8ec3653677beaaf79f069a0966f0ff8c833fda
[ "Apache-2.0" ]
permissive
Ryne777/Stepik_auto_test
1cd83f1e27cc1f5af7bc2ce14257bc1f0dcd4b7c
7543c6616db9945fd56433877a292a9bfe80eb8d
refs/heads/master
2021-06-30T09:10:06.636951
2020-02-03T09:57:57
2020-02-03T09:57:57
237,384,597
0
0
Apache-2.0
2021-06-02T01:00:08
2020-01-31T07:55:53
Python
UTF-8
Python
false
false
664
py
import pytest from selenium import webdriver link = "http://selenium1py.pythonanywhere.com/" @pytest.fixture def browser(): print("\nstart browser for test..") browser = webdriver.Chrome() return browser class TestMainPage1(): # вызываем фикстуру в тесте, передав ее как параметр def test_guest_...
[ "Rune777@yandex.ru" ]
Rune777@yandex.ru
81ea064da9a0ebd07d2e592b571bad2729c6fe2b
2f557f60fc609c03fbb42badf2c4f41ef2e60227
/L1Trigger/TrackFindingTMTT/python/TMTrackProducer_Defaults_cfi.py
15097a143b3f5b678e7a8c647a8e25e373174f69
[ "Apache-2.0" ]
permissive
CMS-TMTT/cmssw
91d70fc40a7110832a2ceb2dc08c15b5a299bd3b
80cb3a25c0d63594fe6455b837f7c3cbe3cf42d7
refs/heads/TMTT_1060
2020-03-24T07:49:39.440996
2020-03-04T17:21:36
2020-03-04T17:21:36
142,576,342
3
5
Apache-2.0
2019-12-05T21:16:34
2018-07-27T12:48:13
C++
UTF-8
Python
false
false
32,563
py
import FWCore.ParameterSet.Config as cms #--------------------------------------------------------------------------------------------------------- # This describes the full TMTT track reconstruction chain with 3 GeV threshold, where: # the GP divides the tracker into 18 eta sectors (each sub-divided into 2 virtual et...
[ "ian.tomalin@stfc.ac.uk" ]
ian.tomalin@stfc.ac.uk
84d16dc699f540476901eb0935eba31f39b44c87
cace862c1d95f6b85a9750a427063a8b0e5ed49c
/binaryapi/ws/chanels/statement.py
1feab178b3ce9eabd3e3223fa3549dc1c82fe4f4
[]
no_license
HyeongD/binaryapi
65486532389210f1ca83f6f2098276ecf984702b
e8daa229c04de712242e8e9b79be3b774b409e35
refs/heads/master
2023-08-29T13:24:58.364810
2021-10-26T19:00:59
2021-10-26T19:00:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,393
py
"""Module for Binary statement websocket channel.""" from binaryapi.ws.chanels.base import Base from typing import Any, Optional, Union from decimal import Decimal # https://developers.binary.com/api/#statement class Statement(Base): """Class for Binary statement websocket channel.""" name = "statement" ...
[ "mdn522@gmail.com" ]
mdn522@gmail.com
df1e8ddb3ba1beb120cad87ac180615319b306b8
fd9c57d21df2604dc98e9ac1d1699577485a9d57
/conn_mysql/http.py
00f612e6cc67e8c6bc1c34227872ac8ae703fadb
[]
no_license
klobodnf/XCLK_engine
6c46729ab39b313941c067591250b84761ce36b1
7184f6383c56bbd6788cbe4e78a2cacc31a4c609
refs/heads/master
2021-01-01T06:05:35.619194
2012-06-29T02:25:35
2012-06-29T02:25:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,511
py
#!/usr/bin/env python import urllib2 import httplib import socket import re import time import splite_query_sql import progressbar FLAG_TIMEOUT = 0x0001 FLAG_NOTFOUND = 0x0002 FLAG_BROKEN = 0x0010 FLAG_NOT_ENOUGH = 0x0020 FLAG_NOT_MATCH = 0x0100 FLAG_OK = 0x0200 FLAG_STATUS = 0x0000 BOOL_PRODUCT_A = 0x...
[ "kaidxc@gmail.com" ]
kaidxc@gmail.com
cbb7ec17c1c86b0fa6909c6cc39ce21228241646
3e6311b0aa835985ca4734d4e53e0b0a80242437
/manage.py
4462a42ea2cb4c1b20fcb36dac547ac364813bfa
[]
no_license
Amechi101/amechi-portfolio
50d8ae9cc1a6744b98a9d0e4dd864fda87173cfe
3a2bdd6f6b908c79cabead0f6efb6f00462d9725
refs/heads/master
2021-01-18T22:58:03.813769
2018-04-26T17:55:14
2018-04-26T17:55:14
39,911,558
0
0
null
null
null
null
UTF-8
Python
false
false
259
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "portfolio_amechi.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
[ "egbe@usc.edu" ]
egbe@usc.edu
b350298359633aa5540142780f7a08b46f312a36
39f57d87d5ab3825c79893bccd0df1ec93157e1e
/venv/Scripts/easy_install-3.7-script.py
554591b5d81ad073b9b70ab97ae6c7691a1b5b50
[]
no_license
Jxxyy/Flask
68ea81aef8d9a53543f0ee095b65feb665358918
13f8262bd24d2fe03dda13470144f05320d7ed74
refs/heads/master
2022-11-11T22:55:11.253717
2020-06-27T13:08:09
2020-06-27T13:08:09
270,966,700
0
0
null
null
null
null
UTF-8
Python
false
false
459
py
#!C:\Users\Administrator\Desktop\py\Flask\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==39.1.0','console_scripts','easy_install-3.7' __requires__ = 'setuptools==39.1.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.py...
[ "smtliuguiqian@163.com" ]
smtliuguiqian@163.com
243c8ea96740e0a146a8cdb1c453cdbdfbc3abfa
d9d2e02d32472c1627171c7a0ac874ac1d084604
/src/method/Recursive.py
e0cc86716f80c901df390eb69b6cdb619fec965e
[]
no_license
alantaorenjie/PythonBasis
973cf727a30746eecf6d823182f6304852b9d3a1
ff2e6e1688e92c742f66a04cfda890b2eaae7eb4
refs/heads/master
2020-04-01T01:04:33.486571
2018-10-18T08:22:19
2018-10-18T08:22:19
152,725,264
1
0
null
null
null
null
UTF-8
Python
false
false
100
py
# 递归 def fact(n): if n == 1: return 1 return n * fact(n - 1) print(fact(10))
[ "987687115@qq.com" ]
987687115@qq.com
41269b1ad756a575af19cebe13ff3c5e99daf49d
f9ca841a8f8658006b46e56c0a9f959f8da977cd
/python/active/evaluation_mixture.py
8150aa118f33744c7c3dfdef7d2292fb3729bd25
[ "LicenseRef-scancode-generic-cla", "BSD-2-Clause", "LicenseRef-scancode-public-domain", "BSD-3-Clause" ]
permissive
akosiorek/uncertainty
76cfc276a2ed5ddfe6430ad553c650773e84d5d2
9ddd4390e808dc4ef7b7378061de736245ca4f13
refs/heads/master
2021-01-24T16:10:53.365169
2016-03-16T13:10:25
2016-03-16T13:10:25
37,138,375
0
2
null
2016-02-25T20:40:00
2015-06-09T14:50:23
C++
UTF-8
Python
false
false
2,694
py
#!/usr/bin/env python import numpy as np import os import sys os.environ['GLOG_minloglevel'] = '1' import caffe import utils from evaluation import NetEvaluation UNCERTS = ['max_unc', 'entropy_conf', 'entropy_ip2', '2_max_ip2', 'entropy_weighted', '2_max_weighted'] NUM_UNC = len(UNCERTS) # TODO: doesn't work cla...
[ "kosiorek.adam@gmail.com" ]
kosiorek.adam@gmail.com
9679529a9dde00019de6a05fe0284c7722312008
5194ac62e9cc9a30fd0eff9c0277510357ff378c
/domain/models.py
dd85caf4bb83a63e83b8b954d0c84239adb6bbab
[]
no_license
weilaibuxiangshuo/domainurl
ec64cdf4ba9b091f499753e62044c2a36e5194ce
ca104a7f33478acf13c3d39c85eb9ce7481bc530
refs/heads/master
2020-07-21T17:00:47.772406
2019-09-22T07:08:52
2019-09-22T07:08:52
206,926,247
0
0
null
null
null
null
UTF-8
Python
false
false
1,138
py
from django.db import models from django.contrib.auth.models import AbstractUser from django.conf import settings class NewUser(AbstractUser): class Meta: db_table='newuser' ordering=["-id"] class Role(models.Model): name=models.CharField(max_length=128) relationship=models.ManyToManyFiel...
[ "weilaibuxiangshuo@gmail.com" ]
weilaibuxiangshuo@gmail.com
684d31fbe3f918f028cd2d51377441f62427ae18
d532aa2d02ea19ad8608ae33ce0c10cb87d212da
/todolist_app/migrations/0002_alter_tasklist_options.py
81b25aa98632185363853cb91c6bb6c86cfb52cc
[]
no_license
ollie-buja/TO-do_Web_App
701c930d83d8d788edfd3704fa5d5883b4daab2a
8074c51cf9758169d776d7d270509113c47673ac
refs/heads/master
2023-07-28T10:50:14.614650
2021-09-10T19:46:21
2021-09-10T19:46:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
375
py
# Generated by Django 3.2.7 on 2021-09-05 05:35 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('todolist_app', '0001_initial'), ] operations = [ migrations.AlterModelOptions( name='tasklist', options={'verbose_name': 'Ta...
[ "psingh9_be20@thapar.edu" ]
psingh9_be20@thapar.edu
2ab1669412b023ea423bb110ed68de70c027e4f6
c80d09cb1b2bb6dc05eee0a175375616fb117843
/multiprocess.py
7666763d0c488630da7f415f3324604ff77c0d63
[]
no_license
Firdauzfan/StreamingRTSPtoHTTP_PythonFlask
d51a18a677e9fb93f371d9628bb463ef70807453
d4a2c78f58284d36aaaa7dd547ce1cc2963da6a3
refs/heads/master
2020-03-26T13:03:40.175679
2018-08-16T01:30:04
2018-08-16T01:30:04
144,921,026
3
2
null
null
null
null
UTF-8
Python
false
false
208
py
python3.6 main.py & python3.6 main2.py & python3.6 main3.py & python3.6 main4.py & python3.6 main5.py & python3.6 main6.py & python3.6 main7.py & python3.6 main8.py & python3.6 main9.py & python3.6 main10.py
[ "firdauzfanani@gmail.com" ]
firdauzfanani@gmail.com
1875bce78efad2960af669395345413da4028522
684646e6d3fc5d1d679ac4f7c4c5a1d0c5feecd3
/assigmenrAPI/settings.py
1b3ed9bd52bd4b207c1c02deb81c6b412eb7c4ff
[]
no_license
balrajsingh98/ADVISOR-API-DJANGO
189070ce49d962077e3561aa1972b83197215712
40e2d4f725054d775750e6b18db81f8b1142453e
refs/heads/main
2023-04-20T02:49:31.148469
2021-05-14T08:10:17
2021-05-14T08:10:17
367,294,072
0
1
null
null
null
null
UTF-8
Python
false
false
3,096
py
from pathlib import Path import django_heroku # Build paths inside the project like this: BASE_DIR / 'subdir'. BASE_DIR = Path(__file__).resolve().parent.parent # Quick-start development settings - unsuitable for production # See https://docs.djangoproject.com/en/3.2/howto/deployment/checklist/ # SECURITY WARNING: ...
[ "balrajdhunna877@gmail.com" ]
balrajdhunna877@gmail.com
d080d3e8d1b6f4511ea71577ee373dcddf86faf3
559e6745868358da529c2916180edc90b97f852a
/tests/test_connection_serial.py
b455ad3694f789772efba6de4bee9a93bb5f2feb
[ "MIT" ]
permissive
SwiftyMorgan/msl-equipment
712290579e49682337548f8c4294907e9b56d5a3
56bc467e97a2a0a60aa6f031dd30bf1d98ebda5c
refs/heads/master
2020-04-21T14:49:23.902185
2019-01-18T18:43:16
2019-01-18T18:43:16
169,647,690
0
0
MIT
2019-02-07T22:08:37
2019-02-07T21:46:56
Python
UTF-8
Python
false
false
1,958
py
import os import time import threading try: import pty except ImportError: pty = None import pytest from msl.equipment import EquipmentRecord, ConnectionRecord, Backend, MSLConnectionError @pytest.mark.skipif(pty is None, reason='pty is not available') def test_connection_serial_read(): term = b'\r\n'...
[ "joe.borbely@gmail.com" ]
joe.borbely@gmail.com
fd8ba7457853c480f4536bb86ddc6b051a090e0a
779291cb83ec3cab36d8bb66ed46b3afd4907f95
/notebook/2020-02-25_gene_dists.py
fb81557f52dcb9ae4b74edaec0aa9f2c2a93caf2
[]
no_license
Shengqian95/ncbi_remap
ac3258411fda8e9317f3cdf951cc909cc0f1946e
3f2099058bce5d1670a672a69c13efd89d538cd1
refs/heads/master
2023-05-22T06:17:57.900135
2020-11-01T17:16:54
2020-11-01T17:16:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,105
py
# %% import numpy as np import pandas as pd import matplotlib.pyplot as plt import seaborn as sns from ncbi_remap import plotting # %% plt.style.use(("sra_talk", "sra")) plt.style.use("sra") # %% gene_metadata = ( pd.read_feather( "../../larval_gonad/references/gene_annotation_dmel_r6-26.feather", ...
[ "justin.m.fear@gmail.com" ]
justin.m.fear@gmail.com
b5d6de9593ee541239e8199b21cbfbc25541f3d2
058abd6c057053502ceb4be6a7ef03af7d49ce4b
/com/gefeng/python/auto/web_test/first.py
3da5553659e9b3770d3679a78562eef86db5077e
[]
no_license
gefeng77/PycharmProjects
dbeb272cd573e9362cdb2a7cb9731e696be3c419
d072a4a2a54e8c59ccb6f6e9a79f550ee51bd0ac
refs/heads/master
2022-07-06T14:09:39.947712
2020-05-19T09:58:56
2020-05-19T09:58:56
260,398,539
0
0
null
null
null
null
UTF-8
Python
false
false
5,370
py
# coding=utf-8 import time from selenium import webdriver import logging from selenium.webdriver.common.keys import Keys import ddt class DriverTest(object): """第一个web自动化的项目""" def __init__(self): # 加启动配置,不再弹出窗口受自动化控制的信息 opt = webdriver.ChromeOptions() opt.add_experimental_option('exc...
[ "gefeng_zhang@outlook.com" ]
gefeng_zhang@outlook.com
13c975a6ae894724b03aac3011e92c806b5a20a2
d0e19a354bc07f4f05c14729c2eac615196285dd
/test_tools/simgen_ta.py
4106f5d4699b3223cc2228e7847695fafe5ea1c7
[ "BSD-3-Clause" ]
permissive
cwlan2016/crystal
0d2c19d484e58835ab8d819dfa85f4322a503160
ff2f0a9d0691128b2c346ae8ffb8a2f6dc1a8916
refs/heads/master
2020-04-24T01:22:24.502588
2019-02-12T14:30:47
2019-02-12T14:30:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,578
py
#!/usr/bin/env python2.7 import sys import argparse import traceback import os from collections import namedtuple, OrderedDict from shutil import copy, rmtree import traceback import subprocess import itertools import re import random run_path = os.path.dirname(sys.argv[0]) crystal_path = os.path.dirname(run_path) ...
[ "tim.ist@gmail.com" ]
tim.ist@gmail.com
b25e06f2bc54a3f76bc9352a300577225c3d2139
799d71270d6888b2ece01d757597a60cbe681ed3
/CodePath-Before-Session/Week-1/ReverseString.py
078297f897eed28f4ee827057f83df6cfcdb22a2
[]
no_license
kesongxie/CodePath-Before-Session
dcc13c673599fcc01d275515b16201661498a257
73f0043c92de79025c7c2e5bf8915e98ff598ff9
refs/heads/master
2020-06-28T10:28:49.840773
2017-07-20T09:36:24
2017-07-20T09:36:24
97,092,022
0
0
null
null
null
null
UTF-8
Python
false
false
432
py
class ReverseString: # @param A : string # @return string # the sky is blue def reverseWords(self, A): str = self.reverse(A) words = str.split(" ") result = "" for w in words: result = result + self.reverse(w) + " " return result.strip() def rev...
[ "k8xie@ucsd.edu" ]
k8xie@ucsd.edu
f6090b4123803ea0f46d3530ec0f174c8b4fa349
c4e9b3e5686ed8c6e885aa9f6a72a571f4b33db6
/matplotlib_study/multiplot.py
1d61e196cd0bb3e007ee0e6d62a3ce621c044f01
[]
no_license
WhiteCri/learn-advanced-python
c2a081db0f901bb76e470341497014b4384ba803
8111cb12e8b05a9168a0236e05f4a6a1cda255eb
refs/heads/master
2023-04-13T22:55:49.060522
2021-04-28T05:00:49
2021-04-28T05:00:49
345,628,312
0
0
null
null
null
null
UTF-8
Python
false
false
279
py
import numpy as np import matplotlib.pyplot as plt x = np.linspace(-3, 3, 30) y = x**2 plt.plot(x, y) plt.show() x = np.linspace(-3, 3, 30) y = x ** 2 plt.plot(x, y, 'r.') plt.show() plt.plot(x, np.sin(x)) plt.plot(x, np.cos(x), 'r-') plt.plot(x, -np.sin(x), 'g--') plt.show()
[ "sjrnfu12@naver.com" ]
sjrnfu12@naver.com
1b84fa331d69434152a0e1fe0408b0732002943f
191a5cd1e2a4fd62edaaddfbc7a6040f46b216b5
/labellab-flask/api/controllers/mlclassifierscontroller.py
e60f1bf4a27e9b2c125ac3c1cbf59aa2ab50cbd9
[ "Apache-2.0" ]
permissive
rochakjain361/LabelLab
29d96fad6f7b5a330d876afe553b075a574b5af4
bb14fadb485fc3bec8dacb9ed7a2690b45281fbe
refs/heads/master
2022-12-04T03:34:23.328093
2020-08-05T11:12:33
2020-08-12T14:49:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
20,635
py
from flask.views import MethodView from flask import make_response, request, jsonify, current_app, send_file from flask_jwt_extended import jwt_required import pandas as pd import json import os import zipfile from api.config import config from api.models.MLClassifier import MLClassifier, optional_params from api.mode...
[ "oshan.ivantha@gmail.com" ]
oshan.ivantha@gmail.com
6330a3d49b55978d4a13312745a4615c598b435e
e74e0b41a2265acf0c74d6556de20908a0629973
/jal/ui_custom/reference_selector.py
2f93fa1c5418d4426f65c7ac59e575eb3933929b
[]
no_license
TonnyRed/jal
8a6ffb7aa3c47161d94a4ae52654ea625b105895
8a2e96d1c04e335da4a2374a88c3038541fcaf7e
refs/heads/master
2023-02-23T13:23:38.078159
2021-01-24T18:20:53
2021-01-24T18:20:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,743
py
from abc import ABC, abstractmethod from PySide2.QtCore import Qt, Signal, Property, Slot, QModelIndex from PySide2.QtWidgets import QWidget, QHBoxLayout, QLineEdit, QLabel, QPushButton, QCompleter from jal.ui_custom.helpers import g_tr from jal.ui_custom.reference_data import ReferenceDataDialog, ReferenceTreeDelega...
[ "55182132+titov-vv@users.noreply.github.com" ]
55182132+titov-vv@users.noreply.github.com
7d0a001fbe71572a586e106d8d22b957dfb9d5d7
692020d0c3053c4f646c578632ed403b9f1a4ffa
/django_test/django_test/urls.py
03863f4d7a7c35025bea92272f537d28fa9bed41
[]
no_license
elprimoa/HCMF_test
7a5cd1d0bdefdbe491b9f5a12b414b34773407d6
db56f3d2993688fcc0fe40646400859f0466ada5
refs/heads/master
2016-08-11T08:16:04.990473
2015-12-11T02:49:33
2015-12-11T02:49:33
47,784,557
0
0
null
null
null
null
UTF-8
Python
false
false
895
py
"""django_test URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.9/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class...
[ "el.primo.arguello@gmail.com" ]
el.primo.arguello@gmail.com
dcb4ae59c70db67fe8f6876b55b6de52dc773861
c975c0d4ad15a704ce29b6b9960fad3f09b43a90
/relayer-poc/src/ICONProofManager/merkle_tree.py
72aa4f1bf774ec0fb56b297993f98c0c7b613d91
[]
no_license
rodrigoieh/icon-btp-0.5-PoC
747ee5ce13e866d4fa8004056c9b95e4228410f9
9e0c7423b8db198cc5d795ebaffe1d5020b30779
refs/heads/master
2022-03-19T11:39:43.353999
2019-12-09T05:35:23
2019-12-09T05:35:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,157
py
# -*- coding: utf-8 -*- # Copyright 2019 ICON Foundation # # 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 ...
[ "dongchang.yoo@icon.foudation" ]
dongchang.yoo@icon.foudation
67d1a7aec25553058c4254040b54d6a8a5445f7d
cab849efeeacb5c2b7301abd9fd4aea3caf2e19e
/oned.py
bf7a7114dccae81b7d4fd0e521b1e730de45a2ba
[ "Apache-2.0" ]
permissive
koskinap/diffusion-maps
1c900d1c28fd41b57d0c8d706cf4782ba5372d5e
3b63e7509f1351b6bb2f08a5db79f7724cb31cfd
refs/heads/master
2020-04-09T16:54:12.829073
2016-08-31T22:18:52
2016-08-31T22:18:52
60,640,246
1
0
null
null
null
null
UTF-8
Python
false
false
7,926
py
"""Diffusion Maps implementation as part of MSc Data Science Project of student Napoleon Koskinas at University of Southampton, MSc Data Science course Script 6: Visulisation-scatterplot of timepoints in 2D-3D space, using a selected dimensionality reduction technique to find patterns """ import openpyxl import nu...
[ "zenapolewn@gmail.com" ]
zenapolewn@gmail.com
1c2c2d2f98992bc9fa0977afd50f1cab2695d4d5
0948951b5f2485c5175f68de473fa67e425a4556
/model/summaries.py
70250861e66214af7a57cfbbc0ff195acb0e2995
[]
no_license
RafalStaszak/tf_tutorial
ad15489435f6d68916c22293e6084163ee40be6b
fcd7db75f2b04b6ed099f689e3e905ded273d921
refs/heads/master
2020-07-03T12:26:42.146288
2019-08-12T10:23:27
2019-08-12T10:23:27
201,903,913
1
0
null
null
null
null
UTF-8
Python
false
false
1,409
py
import tensorflow as tf from tensorflow.contrib import summary as summary from system.misc import makedirs import matplotlib.pyplot as plt import io import os import shutil class BaseMetrics: def __init__(self) -> None: super().__init__() def compute(self, inputs, outputs, losses): pass cl...
[ "staszak.raf@gmail.com" ]
staszak.raf@gmail.com
d0396051443f673a29251a79bc65ffdc88a90964
d3f160634f3e76a473c6b41e836cb6a236acb803
/svo/pages.py
afbd26d0aa5939ed4d1b7d8c646a6f12942e5459
[]
no_license
kutrifd/project
823a276c130f8ce72fb3ad3e397bd22145157d4b
1506c1abf25e9d2ac443d3d4bb1a017291bfc246
refs/heads/master
2023-02-06T20:22:55.323517
2020-12-23T02:29:43
2020-12-23T02:29:43
323,373,418
0
0
null
null
null
null
UTF-8
Python
false
false
1,703
py
from otree.api import Currency as c, currency_range from . import models from ._builtin import Page, WaitPage from .models import Constants import random, json from .forms import SVOFormSet class Results(Page): ... def vars_for_template(self): return {'angle': round(self.player.svo_angle)} class Sv...
[ "timilsinaraja@gmail.com" ]
timilsinaraja@gmail.com
a64f61789af45f794ceb817f356e38ac2bcfa265
12a6f15a0ed1af285459ea61707984c0a4fd368d
/code/python_utilities_py3/irrigation_hash_control_py3.py
24d9d2e7bcde5e8236fe9d6b2f1f0b511c9663d0
[ "MIT" ]
permissive
NanoDataCenter/nano_data_center
66ec84ef8f78a6d35238bd18c71bb774b38b37db
76ad521e1a5139a37df80214af1413d2fd4ade60
refs/heads/master
2022-12-12T13:58:04.761671
2020-09-18T17:33:32
2020-09-18T17:33:32
119,457,568
2
2
MIT
2022-12-06T19:37:49
2018-01-29T23:58:26
C
UTF-8
Python
false
false
8,570
py
import time import redis import json from redis_support_py3.construct_data_handlers_py3 import Generate_Handlers from redis_support_py3.graph_query_support_py3 import Query_Support class Generate_Hash_Control_Handler(): def __init__(self,redis_site_data): qs = Query_Support( redis_server_ip = ...
[ "glenn-edgar@onyxengr.com" ]
glenn-edgar@onyxengr.com
b95757190f75c244f98cde51fd55a1f6010f586e
f07a42f652f46106dee4749277d41c302e2b7406
/Data Set/bug-fixing-5/ecf3f471c55ae18f8a0bbf4c7170104a63eeceb8-<solve>-bug.py
e8fa2b2c9ec86842a0502cfe3dd6c00fb1c8305d
[]
no_license
wsgan001/PyFPattern
e0fe06341cc5d51b3ad0fe29b84098d140ed54d1
cc347e32745f99c0cd95e79a18ddacc4574d7faa
refs/heads/main
2023-08-25T23:48:26.112133
2021-10-23T14:11:22
2021-10-23T14:11:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,350
py
def solve(self): '\n Runs the DifferentialEvolutionSolver.\n\n Returns\n -------\n res : OptimizeResult\n The optimization result represented as a ``OptimizeResult`` object.\n Important attributes are: ``x`` the solution array, ``success`` a\n Boolean fla...
[ "dg1732004@smail.nju.edu.cn" ]
dg1732004@smail.nju.edu.cn
d8168e3f6a90bc8d05c37a0e1a8fefc1ca182380
343d17359f0c735e60dede9b61f1d8964ec8d612
/ex26.py
1910a8e5cb7dc538801c5d069070858b2f348b4d
[]
no_license
Durell/LPTHW
2e10ce0e4df5d17cb8d3aa4e9091fb6e4a79cdc3
c3b1ab685eb2ae68f0e418d137f383d1ad7241c8
refs/heads/master
2021-06-01T17:25:05.915818
2020-10-23T23:11:47
2020-10-23T23:11:47
10,677,622
0
0
null
null
null
null
UTF-8
Python
false
false
2,294
py
def break_words(stuff): """This function will break up words for us.""" words = stuff.split(' ') return words def sort_words(words): """Sorts the words.""" return sorted(words) def print_first_word(words): """Prints the first word after popping it off.""" word = words.pop(0) print word...
[ "durell@sagacious.pw" ]
durell@sagacious.pw
6765e6eccaa7845dd1dfbcce37ca3e18dfc8895e
8f0c5cb4938cffb0fb931c9bed6ce3e74d63e342
/trydjango/settings.py
932475114b7fe2005eb83556f701b6668ca2e373
[]
no_license
Mehedi2885/trydjango2
acce9b3643769759c62fbc6475c6a3e68b162f1f
e1bfe3c14ef2df573d062b60a4a671d74103717b
refs/heads/master
2022-04-22T20:14:59.813475
2020-04-28T20:11:20
2020-04-28T20:11:20
257,658,950
0
0
null
null
null
null
UTF-8
Python
false
false
3,356
py
""" Django settings for trydjango project. Generated by 'django-admin startproject' using Django 3.0.5. For more information on this file, see https://docs.djangoproject.com/en/3.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.0/ref/settings/ """ import os ...
[ "mehedi_45seafarer@yahoo.com" ]
mehedi_45seafarer@yahoo.com
02d58505fe3fecede29bf87a52d2e4de86729e6f
bd6b9cfdc872adfb52beaca0c32658ebad4847d5
/homework1/bnqsl.py
3f6912842538baf407f5b837e023662b7368a0bc
[]
no_license
2082033549/FCXPYN
917cf006d79c9798be1396a9335987af68b937c8
0f65836aa0d178e00e0101d8d6f3023a0179cb44
refs/heads/master
2021-02-14T21:39:33.039446
2020-06-25T08:40:12
2020-06-25T08:40:12
244,836,590
0
0
null
null
null
null
UTF-8
Python
false
false
157
py
#6 前面2个元素为0,1,输出100以内的斐波那契数列; a=0 b=1 print(a) for i in range(1,100): if i==b+a: print(i) a,b=b,i
[ "2082033549@qq.com" ]
2082033549@qq.com
f11fe1dffdbf3c1f881723ca551483226c636db0
1e4dc77fa72cc611581c6936630041ab4a5fdb26
/lib/python3.6/site-packages/menu_generator/utils.py
74dbef66fd4debb94c65a99a334e14288d96b1d5
[]
no_license
fouriejoubert/storage
a4920b2da1c6e1180e372d0ce1e104ef541f672f
b3cb9e5b926667048d34a321e4ba3c9abdddd0b7
refs/heads/master
2020-03-11T09:56:45.306798
2018-04-18T15:06:04
2018-04-18T15:06:04
66,633,135
0
0
null
null
null
null
UTF-8
Python
false
false
420
py
from importlib import import_module def get_callable(func_or_path): """ Receives a dotted path or a callable, Returns a callable or None """ if callable(func_or_path): return func_or_path module_name = '.'.join(func_or_path.split('.')[:-1]) function_name = func_or_path.split('.')[-1] ...
[ "fourie.joubert@up.ac.za" ]
fourie.joubert@up.ac.za
1f5087d804203813a77c97cb25b4da086faba8ee
f50beb40257eb24074a68cb6f5b7240c57273fad
/Kirkorov/wsgi.py
2297d94adb4d760225e7cbb2321454bef10b1377
[]
no_license
iseedeadpeople1005000/myrepo
a03ffed7d61540b88e68ffcb99cd5597e1e597ff
a36223808b9ccbde398d1f46b9e315830dd86151
refs/heads/master
2020-04-17T10:55:20.007571
2019-01-19T08:59:35
2019-01-19T08:59:35
166,519,115
2
0
null
null
null
null
UTF-8
Python
false
false
393
py
""" WSGI config for Kirkorov 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/2.1/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SETT...
[ "tapakah88" ]
tapakah88
5e6416fa20b7c75266a35c0f033ba4e3ad7dab6e
20a0bd0a9675f52d4cbd100ee52f0f639fb552ef
/config/urls/admin.py
aef939fc4dc34e06fb39b702a80393a1c2a7734d
[]
no_license
yx20och/bods
2f7d70057ee9f21565df106ef28dc2c4687dfdc9
4e147829500a85dd1822e94a375f24e304f67a98
refs/heads/main
2023-08-02T21:23:06.066134
2021-10-06T16:49:43
2021-10-06T16:49:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,837
py
from django.conf import settings from django.contrib import admin from django.urls import include, path from django.views import defaults as default_views from transit_odp.common.utils.custom_error_handlers import ( page_not_found, permission_denied, ) from transit_odp.common.views import ComingSoonView from t...
[ "ciaran.mccormick@itoworld.com" ]
ciaran.mccormick@itoworld.com
1cf826f3434f222f6a1c0f07c95f350a136bcbdf
975b2d421d3661e6770b601929d5f11d981d8985
/msgraph/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/tasks/item/task_processing_results/item/task/task_request_builder.py
74e143cd39a71216df1663f18b9b3b6904c52782
[ "MIT" ]
permissive
microsoftgraph/msgraph-sdk-python
a7c551b85daadeebf76ec4ae12668664ea639b42
27de7ccbe688d7614b2f6bde0fdbcda4bc5cc949
refs/heads/main
2023-09-03T21:45:27.989672
2023-08-31T06:22:18
2023-08-31T06:22:18
534,665,999
135
18
MIT
2023-09-14T11:04:11
2022-09-09T14:00:17
Python
UTF-8
Python
false
false
4,988
py
from __future__ import annotations from dataclasses import dataclass, field from kiota_abstractions.base_request_builder import BaseRequestBuilder from kiota_abstractions.get_path_parameters import get_path_parameters from kiota_abstractions.method import Method from kiota_abstractions.request_adapter import RequestAda...
[ "GraphTooling@service.microsoft.com" ]
GraphTooling@service.microsoft.com
9d897d6ed3fda5c5f149ab8b4972b2966d008f86
7d19b8a32c7be4a7039c4b40e1b7838fca8a915c
/week2-turtle/turtlework.py
ce668ea2f61e47b9cada0aeb1ff10851adaaa4f5
[]
no_license
graywen24/Python3study
df81d34cb3d2c254d5f55e505cf78771df23cc7d
3b6b26697723d584039a49ed85396f6fe9e0e944
refs/heads/master
2023-07-12T22:37:58.153682
2021-08-26T18:08:24
2021-08-26T18:08:24
266,841,352
0
0
null
null
null
null
UTF-8
Python
false
false
81
py
import turtle as t t.fd(100) t.fd(100) t.left(90) t.fd(100) t.left(45) t.fd(140)
[ "wenwen@1-net.com.sg" ]
wenwen@1-net.com.sg
7bc56bc8747880d6a4458dcecb7ad15846f54719
a1d3792812471af6648a58c8990a9f8f84e4451a
/backup/tool_backup_005.py
6478098eb5b699eac99654a27fcd4723fe876607
[]
no_license
Chandan-IITI/CIFDM
cbef06a5b20e16df9b203860474af738687fe278
b74445ee313d0548ac8d4e4d32d8507b73c17860
refs/heads/master
2023-06-01T18:25:22.413136
2021-06-21T23:33:28
2021-06-21T23:33:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,656
py
from time import time from sklearn.metrics import accuracy_score, roc_auc_score, precision_score, recall_score from torch.utils.data import DataLoader import numpy as np from dataset import StreamDataset, data_select, data_select_mask, ParallelDataset import torch def init_weights(w, m='kaiming'): if m == 'kaimin...
[ "newhand555@gmail.com" ]
newhand555@gmail.com
ee7afa76eefd6ef3c782aa27cbdca01b72931430
96ffe2926805aad83e6380cedfac3a09bed2c33e
/editor/views/views_mail.py
d68f18f4c606350b534dda710f911b349cf04323
[]
no_license
comcur/ProBEG
3d168362c41c0d7832de30812adf1fc70f9aa838
0634d052ffbf96a9f133087a1af9a11ec263a593
refs/heads/master
2022-07-02T22:26:09.984541
2020-05-13T21:05:10
2020-05-13T21:05:10
262,343,410
0
0
null
null
null
null
UTF-8
Python
false
false
10,575
py
# -*- coding: utf-8 -*- from django.shortcuts import render, get_object_or_404 from django.template.loader import render_to_string from django.contrib.auth.models import User from django.http import HttpResponse from django.contrib import messages import json from results import models from .views_common import group_...
[ "C:\\Users\\riK\\AppData\\Roaming\\The Bat!" ]
C:\Users\riK\AppData\Roaming\The Bat!
1074b0e0aebfa01825348e37667bb191d4251df9
8722d34d6174609479a23ba860065c031e9a792c
/decorators_test.py
faa09fd2b2fef099ae81330f7aa75a9111153d1e
[]
no_license
reisthi/python-excercises
80b3c0219cd40ae91b5932a0a0dd6b8c728977c2
0f915701c9255c7ba4ebf25ed44516bfd8a3c6be
refs/heads/master
2021-09-10T16:17:57.933334
2018-03-29T04:42:17
2018-03-29T04:42:17
126,124,298
0
0
null
null
null
null
UTF-8
Python
false
false
6,629
py
"""Tests for decorator exercises""" from io import StringIO from textwrap import dedent import unittest from unittest.mock import patch, MagicMock from functools import partial from helpers import redirect_stdout from decorators import (call_logger, jsonify, groot, four, hide_errors, catch_all,...
[ "thiagoth.reis@gmail.com" ]
thiagoth.reis@gmail.com
a8883efda963384543236424e552a81c232f9147
63249c777db6ee393a328bda8fd88df7f6a2632e
/venv2/bin/pygmentize
633bc43ee622901436f11d1b5da48c766207c77b
[ "BSD-3-Clause" ]
permissive
tomorrow9913/django-script-slide
d7d674e107e18f3d3050e4951a3bfefaec1cbd76
ad6f5631898e0035bd8a938bcabffdb5290d7d09
refs/heads/master
2022-12-23T16:03:17.406452
2020-09-24T03:44:03
2020-09-24T03:44:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
281
#!/Users/jihoon/Desktop/p1045_speechx/server/django-script-slide/venv2/bin/python3.7 # -*- coding: utf-8 -*- import re import sys from pygments.cmdline import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "jihoon522@naver.com" ]
jihoon522@naver.com
0e3fc320d97a5fbbc2435d6b87cf9ab9b631be44
dbead8c0f305e5489a3f5b4d54dad86649f9073a
/main.py
b66ec77bbe141f37f542b643adea2842d6915b7e
[]
no_license
LucasAraujoDeSa/python-calculadora
5f3f67f1b0a73e720dfae7f0636a6950ddefde10
8b469d8befc899028374f38871c3a2f90812ec59
refs/heads/main
2023-08-22T05:20:18.606888
2021-10-04T19:51:45
2021-10-04T19:51:45
413,564,095
0
0
null
null
null
null
UTF-8
Python
false
false
230
py
from helper.calc_helper import calc resp = int(input("[1] - somar \n[2] - subtrair \n[3] - multiplicar \n[4] - dividir\n\n:")) n1 = int(input("\nDigite um numero: ")) n2 = int(input("Digite outro numero: ")) calc(n1, n2, resp)
[ "andrelucassaaraujo@gmail.com" ]
andrelucassaaraujo@gmail.com
a748b336fcd793f28754cc0d84d532703d2cbad0
6720b215ef1f519bdd05ab070b7b2d5d927f01f1
/tests/test_onboarding.py
80374c590f82ff89749c3589c53cf500347e0814
[ "Apache-2.0", "Python-2.0" ]
permissive
BunsDev/dydx-v3-python
59c1628f7bf6ddc1ff4fbec10a9dd8d2d4283564
92cd856cc3c166d9b5349dda40153a60f9655b4f
refs/heads/master
2023-08-29T02:00:58.475313
2021-11-05T00:46:20
2021-11-05T00:46:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,815
py
from web3 import Web3 from dydx3 import Client from dydx3.constants import NETWORK_ID_MAINNET from dydx3.constants import NETWORK_ID_ROPSTEN from tests.constants import DEFAULT_HOST GANACHE_PRIVATE_KEY = ( '0x4f3edf983ac636a65a842ce7c78d9aa706d3b113bce9c46f30d7d21715b23b1d' ) EXPECTED_API_KEY_CREDENTIALS_MAINNE...
[ "noreply@github.com" ]
BunsDev.noreply@github.com
1815295498b45c650cf9af7a74816a3bf40d03f8
f7c6301ee418f6424ce2af4a05fa832fffe4c733
/main.py
03bf62d95877c2bb7f6bf2f8f275f8ff69b5e51d
[]
no_license
el-rizado/bullstock_game
2a9a03c4505230f60cbcae88ae8696e2c523a9d9
f87b16ea2e5570a7887444cc83c6826273d1440c
refs/heads/master
2023-01-24T21:32:48.405781
2020-11-24T04:52:38
2020-11-24T04:52:38
315,522,533
0
0
null
null
null
null
UTF-8
Python
false
false
1,411
py
from random import randint def play(): number = generate_random() score = 100 bull = 0 stock = 0 finish = False while not finish: guess = int(input("Enter your number : ")) bull, stock = check(number, guess) if bull == 4: finish = True print(f"Yo...
[ "amirhosseinmohseni1996@yahoo.com" ]
amirhosseinmohseni1996@yahoo.com
633d28bde38ed552095728743f672de268168a1c
f97e0399580e0bb8d4646e67734987ef91a5d5a8
/textutils/views.py
d2e9834332470717fc7ee3b7f50d117d76fed59c
[]
no_license
hone191/ttext
95ba8743d1432b1a418e5fc6667c2cb172f52df5
3d4635b8542f4aa60ddf13da837947c1042e71fe
refs/heads/master
2021-05-18T09:58:36.481604
2020-03-30T15:05:10
2020-03-30T15:05:10
251,201,304
0
0
null
null
null
null
UTF-8
Python
false
false
1,830
py
# i have created thi file - ashish from django.http import HttpResponse from django.shortcuts import render def index(request): return render(request, 'index2.html') def analyze(request): djtext = request.POST.get('text', 'default') removepunc = request.POST.get('removepunc', 'off') fullcaps = requ...
[ "sharma02honey@gmail.com" ]
sharma02honey@gmail.com
ce51b6f5e22af967bc66a411ca6233d7435f87f9
22de68c5ee09703196c0e3c7f80dbdfd08052444
/eduportal/__init__.py
089aeee24cd7a5bb7e2e3afa18f96f462160ddaf
[]
no_license
danielkwak81/eduweb
4018b0d7bb736c43005b0f068deaf8d38a3e70f8
2c2e33634a1250fd407177c9ada3d231097ce60b
refs/heads/master
2021-01-06T09:37:07.004412
2020-02-19T14:48:50
2020-02-19T14:48:50
241,282,531
0
0
null
null
null
null
UTF-8
Python
false
false
151
py
from flask import Flask, render_template app = Flask(__name__) app.debug = True @app.route('/') def index(): return render_template('index.html')
[ "spacegem@hanmail.net" ]
spacegem@hanmail.net
5646bc2bfa01644e7dd33329cbf23c8c0eaf4687
c2b8c609a28aa3889fc31e7f8e5dce63c1b3f4e8
/shop_v3/app/shops/forms.py
e06a5809c944fb1ce7421037234d176200bf6d43
[]
no_license
artemlukyanovich/cursor_project_1
4de85d8bc379511702f120139519e8a28a90c086
73d4f0dcc022e107e460f98960978c5b9dad0005
refs/heads/master
2022-09-19T12:24:13.528070
2020-01-09T21:49:51
2020-01-09T21:49:51
221,288,464
0
0
null
2022-09-16T18:15:59
2019-11-12T18:48:47
Python
UTF-8
Python
false
false
871
py
from flask_wtf import FlaskForm from wtforms import StringField, PasswordField, BooleanField, SubmitField, IntegerField, SelectField from wtforms.ext.sqlalchemy.fields import QuerySelectField from wtforms.validators import DataRequired, Email, EqualTo, ValidationError, NoneOf from app.db import Shops, Products class...
[ "artemlukyanovich@gmail.com" ]
artemlukyanovich@gmail.com
5aaf36d65f2c7c1dbb09cf57c4219b92bf214e2e
1d3e2ee455d498cb47518b052db238b7c21e4f7e
/functions_task.py
14d4d52fd7b85bba674bd1c177d845c7f2a04e53
[]
no_license
dawoodalo/python
7d564a6225fb1b67c3d3b741ac73d816f4eb06b8
cbde6d98606a7b7a37f6044e97f67a17c466002d
refs/heads/master
2020-06-29T12:15:20.282575
2019-08-16T14:47:54
2019-08-16T14:47:54
200,532,521
0
0
null
null
null
null
UTF-8
Python
false
false
611
py
def check_birthdate(y,m,d): import datetime date_object = datetime.date.today() past_check = date_object > check_birthdate return past_check def calculate_age(y,m,d): from datetime import date calc_year = date.today().y - y calc_month = date.today().m - m calc_day = date.today().d - d print("You are %s year(s...
[ "Dawood@dlp-20.as5.sa-ap2.bih.net.ba" ]
Dawood@dlp-20.as5.sa-ap2.bih.net.ba
f9fedff9e4d783a6823b9fb25ad4aa897ee8700d
556e88a954cf031460ea7fdf3791eb968ca4fbdd
/fluent_python/chapter_10/ch10_vector_v3.py
6491b78aa2e5ea74affc5864f33b6aa2955b4065
[]
no_license
feng-hui/python_books_examples
c696243fcb8305be495f44d1a88a02e7f906b7bd
e38542db7be927cdaa5d85317a58a13b3a13ae25
refs/heads/master
2022-03-07T00:37:29.311687
2019-09-28T15:15:20
2019-09-28T15:15:20
122,941,867
1
0
null
null
null
null
UTF-8
Python
false
false
2,568
py
#!/usr/bin/python3 # -*- coding: utf-8 -*- # @time : 2018-11-09 21:44 # @author : feng_hui # @email : capricorn1203@126.com import reprlib from array import array from math import sqrt import numbers class Vector(object): type_code = 'd' shortcut_names = 'xyzt' def __init__(self, components): ...
[ "982698913@qq.com" ]
982698913@qq.com
583519b92ce761d0e1e0e72bd672705a1b529dcb
aae0432eede626a0ac39ff6d81234e82f8d678c2
/leetcode/algorithm/sum-root-to-leaf-numbers.py
cee216d9b117a9ebbc548177066cf7319651a4e1
[]
no_license
KIDJourney/algorithm
81c00186a6dfdc278df513d25fad75c78eb1bf68
e1cf8e12050b9f1419a734ff93f9c626fc10bfe0
refs/heads/master
2022-11-24T09:30:16.692316
2022-11-06T09:33:51
2022-11-06T09:33:51
40,428,125
2
0
null
null
null
null
UTF-8
Python
false
false
783
py
class TreeNode(object): def __init__(self, x): self.val = x self.left = None self.right = None class Solution(object): def sumNumbers(self, root): """ :type root: TreeNode :rtype: int """ self.num_strings = [] if root : self.vi...
[ "siyu.wang@ele.me" ]
siyu.wang@ele.me
368ae4b7b7dec9859c614e448a364e6c36d5dae8
dbc0c06b091befb8629d3692d70f360b48bc014f
/app_auth/urls.py
d32f9871249833569da4f2000b4b24189a285fa8
[]
no_license
Guy-Sylvestre/Blog_Django_Basic
042a28767eab85cf1177ca8b083196075dd23348
49320c76b387b1b697f53745ef45c7c2d1ba4af1
refs/heads/master
2023-07-27T05:05:51.184793
2021-09-06T16:27:13
2021-09-06T16:27:13
403,687,692
0
1
null
null
null
null
UTF-8
Python
false
false
255
py
from django.urls import path from . import views urlpatterns = [ path('connexion/', views.login_blog, name="login-blog"), path('inscription/', views.register_blog, name="register"), path('deconnexion/', views.register_blog, name="logout"), ]
[ "guysylvestre876@gmail.com" ]
guysylvestre876@gmail.com
84e47d5f381560982a153b6a526e0e7ae4d2d1ba
04e9f29b71eb2e580b659001dd5fd04e49461c7b
/algorithm/dynamic program.py
f569a62bdd82c2261e39ca730c7c7d133d6202ef
[]
no_license
liuyangc3/test
4d53b9f994d95237167c443a7e8c44b802507a9d
a1621073e61a67ae09e45132a223a2544098d7f0
refs/heads/master
2020-12-15T21:24:37.403010
2019-09-30T09:04:36
2019-09-30T09:04:36
37,116,225
0
0
null
null
null
null
UTF-8
Python
false
false
295
py
# -*- coding:utf-8 -*- coins = [1, 3, 5] def dp(money): """递归""" if money == 0: return 0 result = [] for i in range(len(coins)): coin = coins[i] if money >= coin: result.append(dp(money - coin) + 1) return min(result) print dp(11)
[ "liuyangc3@126.com" ]
liuyangc3@126.com
17ec92e3ac05477b8868ff0e22788a7ce32eae7b
bf683eb4a6080cf67669de90d1afdad53fccb738
/Lib/site-packages/django/contrib/auth/views.py
49fdda6e3b9e67e8b78fa213022329bba45d3e69
[ "MIT" ]
permissive
mspgeek/Client_Portal
cd513308840aa4203554ebc1160f17f0dd4b17cf
0267168bb90e8e9c85aecdd715972b9622b82384
refs/heads/master
2023-03-07T21:33:22.767108
2020-04-08T01:43:19
2020-04-08T01:43:19
253,946,635
6
0
MIT
2022-12-31T07:01:43
2020-04-08T00:43:07
HTML
UTF-8
Python
false
false
22,536
py
import warnings from urllib.parse import urlparse, urlunparse from django.conf import settings # Avoid shadowing the login() and logout() views below. from django.contrib.auth import ( REDIRECT_FIELD_NAME, get_user_model, login as auth_login, logout as auth_logout, update_session_auth_hash, ) from django.contr...
[ "kspooner13@yahoo.com" ]
kspooner13@yahoo.com
bb6672627931c34ac6c1db97baaee78f6b15e688
f4c3befa7df6e58acff59433d5232877f8ec035d
/src/fts3/model/base.py
874102daff5f607ba3301062d0c3efce5f73e64a
[]
no_license
mhellmic/fts3
4694b7e93e48dfc4a80c968dc34078837aee6d33
baae08dec18c8de319ca222b4e85432d2c35fe55
refs/heads/master
2020-04-10T14:50:21.752985
2013-05-14T09:43:07
2013-05-14T09:43:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,306
py
from sqlalchemy.ext.declarative import declarative_base from sqlalchemy.types import TypeDecorator, String import json import types Base = declarative_base() class Json(TypeDecorator): impl = String def process_bind_param(self, value, dialect): return json.dumps(value) def process_result...
[ "a.alvarezayllon@gmail.com" ]
a.alvarezayllon@gmail.com
cb49ea9751b360e8bbd4776dcadc2cf0ac212e79
6e8258a7209d6c26c4f8fd0293d4de04bbc6a499
/assignment2/cs231n/classifiers/fc_net.py
e53105f15e14f72a1bef2de9ca09eb7b5a9a6e0d
[]
no_license
SalilJain/CS231N
5c6c1c627352763d748f4dc6fc3207a005e4fca0
1a82105f61d71ce1e680b01225def8cd310e8128
refs/heads/master
2021-05-02T11:09:23.498591
2018-02-08T14:37:34
2018-02-08T14:37:34
120,771,740
0
0
null
null
null
null
UTF-8
Python
false
false
15,739
py
import numpy as np from cs231n.layers import * from cs231n.layer_utils import * class TwoLayerNet(object): """ A two-layer fully-connected neural network with ReLU nonlinearity and softmax loss that uses a modular layer design. We assume an input dimension of D, a hidden dimension of H, and perform classific...
[ "salil@iMac.local" ]
salil@iMac.local
ab79f50b8cf2c03b8bc2c37cd7454d33601b2013
005c50fb5d059612e980007a32ee0aff04b46b56
/utils/custom_messages.py
aa05463e3c712702c31023c7be98d5a45323cf1a
[]
no_license
abdul-mumeen/The-Dojo
53278ed86a09291f0d3e33d055481e7f86891e98
be2bf296d9aed939d60d20ea3c76535038b93bf2
refs/heads/master
2021-06-12T15:37:59.060767
2017-03-15T18:45:05
2017-03-15T18:46:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,801
py
invalid_command = ( 'Invalid Command: the value(s) are not entered' + ' correctly!\nKindly check the usage below' ) unexpected_error = "The operation failed due to unexpected error!" welcome_message = ( "\t\tWelcome to The Dojo Office Allocation Program!\n" "\t\t\t(type help for a list of commands.)\n"...
[ "abdulmumeen.olasode@andela.com" ]
abdulmumeen.olasode@andela.com
1e3147ce017be5104caacd8c442fd114bdde63b9
d0aff3e48f93cc9aeb9d523bd24f6e6da1432dc7
/bridge/bridge/asgi.py
639c557466ac712f6193fd43490b4fcf45c9f7f6
[]
no_license
GodefroyCourtin/projet3-bridge
c4a362ae1b6a586fcc43b006a4d901e1f5a12129
0276cea354aa0fa2bbbd1c3ef679cb0150f815cd
refs/heads/main
2022-12-27T22:48:45.379276
2020-10-16T12:09:05
2020-10-16T12:09:05
303,383,658
0
2
null
2020-10-16T12:09:06
2020-10-12T12:23:34
HTML
UTF-8
Python
false
false
389
py
""" ASGI config for bridge project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.1/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANGO_SETTIN...
[ "courtin.godefroy@gmail.com" ]
courtin.godefroy@gmail.com
9c991ec69bad62640f04f63e38a2696ca97388f3
adce51841e863bb3d678b1619102fc5f7db2da0f
/src/model.py
b6fbb8115aa7401d7364447ad84f22eb4d81dfa5
[]
no_license
bcaitech1/p2-tab-Jo-ad-fontes
489383d2df9c7d731452b4c036b5486ae6a83e1b
5dfbf23738880fc327cb3e14d2bbc2aeb28943f2
refs/heads/main
2023-04-16T06:59:47.556695
2021-04-26T11:48:21
2021-04-26T11:48:21
360,066,250
0
1
null
null
null
null
UTF-8
Python
false
false
11,669
py
import pandas as pd import numpy as np import os, sys, gc, random import datetime import dateutil.relativedelta import wandb from sklearn.model_selection import StratifiedKFold, TimeSeriesSplit from sklearn.metrics import roc_auc_score import lightgbm as lgb import xgboost as xgb from catboost import CatBoostClassi...
[ "choa873@gmail.com" ]
choa873@gmail.com
a5321564803e00cd859e5c843c4764bf33849218
7606d8bf415d44f311d0a41423bc7744397253b3
/contrib/devtools/copyright_header.py
a4f1b0dd30cae849d7bc5d4d0c34f5d5a704a39b
[ "MIT", "LicenseRef-scancode-public-domain" ]
permissive
martin-braun/REC
211c0ff17489c92160a74241f9f0de97e45ae0ed
148063bd6afe431c565f3ae3e75f010b11b3d4e8
refs/heads/master
2023-03-15T11:30:35.878465
2021-03-05T09:16:18
2021-03-05T09:16:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
22,944
py
#!/usr/bin/env python3 # Copyright (c) 2016-2018 The Bitcoin Core developers # Copyright (c) 2018-2019 The PIVX developers # Copyright (c) 2019-2020 The PIVX developers # Copyright (c) 2021 The Real E Coin developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensou...
[ "80086420+Real-E-Coin@users.noreply.github.com" ]
80086420+Real-E-Coin@users.noreply.github.com
50d26aab78618b859e96ab1d988d23e0c79009b2
992a31c82c3c5b8d7aea6ebcb04719daf69c0260
/frasco_users/jinja_ext.py
94dabfe6172f538e36f0c834a7677a21b6738dd3
[ "MIT" ]
permissive
frascoweb/frasco-users
6b93772c35e929eefc54eeb38373df9f9c50d450
16591ca466de5b7c80d7a2384327d9cf2d919c41
refs/heads/master
2020-12-23T18:13:23.273442
2018-12-14T15:24:05
2018-12-14T15:24:05
31,929,353
0
0
null
null
null
null
UTF-8
Python
false
false
1,305
py
from jinja2 import nodes from jinja2.ext import Extension from frasco.templating import jinja_fragment_extension from flask_login import current_user class LoginRequiredExtension(Extension): """Jinja extension that adds a {% login_required %}{% endlogin %} block. The content will only be outputted if the user...
[ "maxime.bouroumeau@gmail.com" ]
maxime.bouroumeau@gmail.com
1894781641cde3799ecfe8fa7fdd9baca4bf5e21
f656a2bb66b8117cceb42ca98ce52efdef38916c
/retails/admin.py
2a1cba2e820c2c970b2d7eaaebcd3270bdf03835
[ "MIT" ]
permissive
Choi702/djangox-template
67114bf5bb4c2ea29f0da773b5b294bdc8640049
c87f4d36b49276e8b10558bfd25e684b261b0c76
refs/heads/master
2023-03-24T03:15:15.934178
2021-03-11T22:20:54
2021-03-11T22:20:54
346,569,885
0
0
NOASSERTION
2021-03-11T22:20:55
2021-03-11T03:47:50
Python
UTF-8
Python
false
false
118
py
from django.contrib import admin from .models import Retail # Register your models here. admin.site.register(Retail)
[ "jaeychoi1@gmail.com" ]
jaeychoi1@gmail.com
e8a25edf6cf55a7d26838fd9f347dbeacacfc73f
188fa261446cee9fc1b56029e884c8e74364a7f4
/huseinhouse.com/MBTI-Study/soaning/function.py
c72af9fc818dc9cea5ec2ca6b50fa4a8414cc176
[ "MIT" ]
permissive
huseinzol05/Hackathon-Huseinhouse
026cc1346afb127aa2675be94a818ebf35f72bb5
6796af2fe02f10d7860ac8db27bd24fa27b8bb01
refs/heads/master
2021-06-29T23:04:35.027212
2020-09-07T04:01:49
2020-09-07T04:01:49
147,768,669
3
4
null
null
null
null
UTF-8
Python
false
false
3,469
py
import textract import re import pandas as pd from sklearn.feature_extraction.text import CountVectorizer from sklearn.pipeline import Pipeline from sklearn.linear_model import SGDClassifier from sklearn.preprocessing import LabelEncoder import sklearn.datasets import nltk nltk.data.path.append('/home/husein/nltk_data/...
[ "husein.zol05@gmail.com" ]
husein.zol05@gmail.com
8a26720902cf836409e8ebd5f93052f2c796be52
4254a8927f90af6278ccb4e3f4df8208e39f4a22
/lib_analysis/corr_util.py
d97f33b5dd6ca1be345fbadc14cc7094d66286bd
[]
no_license
cmcneile/lqcd_analysis
af763cd78ec198d57496acf669946b54dccb3e91
8ce5e7308acef3d7b4eee7bcbc2476f69c54f0ad
refs/heads/master
2021-01-20T15:36:39.510706
2019-10-31T15:22:33
2019-10-31T15:22:33
63,353,207
0
0
null
null
null
null
UTF-8
Python
false
false
5,808
py
# # Utilities for analyzing correlators # # import os.path import re import math # # load the correlators # def count_sample2( dirname , tag ): print "Counting files in " , dirname f = os.listdir(dirname) L = [] for line in f: if re.search(tag,line) : print line L.append(line) re...
[ "craig.mcneile@plymouth.ac.uk" ]
craig.mcneile@plymouth.ac.uk