blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
281
content_id
stringlengths
40
40
detected_licenses
listlengths
0
57
license_type
stringclasses
2 values
repo_name
stringlengths
6
116
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
313 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
18.2k
668M
⌀
star_events_count
int64
0
102k
fork_events_count
int64
0
38.2k
gha_license_id
stringclasses
17 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
107 values
src_encoding
stringclasses
20 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
4
6.02M
extension
stringclasses
78 values
content
stringlengths
2
6.02M
authors
listlengths
1
1
author
stringlengths
0
175
a5b84ff16e6346b80b7b9b39877c97ee15388366
869074821ac8a1d36f8ed413577036c8796c4de0
/StanManager.py
9d94c908bfc3f5bfa244ea064fd348f572c731f6
[]
no_license
PablitoCho/CategoryPOV
3b55990221d2d476c006c996fe8858c239217b43
6b2895cdd0f4246dbde5420551e0c3b66c2be044
refs/heads/master
2021-05-17T22:34:20.674685
2017-11-19T13:11:53
2017-11-19T13:11:53
250,982,744
1
0
null
2020-03-29T08:06:17
2020-03-29T08:06:16
null
UTF-8
Python
false
false
846
py
import pystan import pandas as pd class StanManager(): """Controls input, process running, and output manipulation for CmdStan.""" def __init__(dump_path, output_path): pass def make_standumps(brand_seperated = True, data_to_dump): """Create standump files. Args: brand...
[ "gray.stanton@hartman-group.com" ]
gray.stanton@hartman-group.com
94b669997a3323b0134fb232f7ee22fbcfc99aa8
630959d12868b88782c5b7f3177a6b62fca92bef
/TermProject/GA_Class.py
1eb0183b7f6df44ac52872d47182182e86f02209
[]
no_license
nesarasr/Optimisation-And-Heuristic-Methods--IM31012-IM39003
bbf9c7483cf14aff3cffdfb4cbc077c5793252ae
74f9d57c6c5a2e1de4f519b17d8c4ed3d66b4ee6
refs/heads/main
2023-04-30T00:53:45.380763
2021-04-20T17:51:13
2021-04-20T17:51:13
359,902,192
1
0
null
null
null
null
UTF-8
Python
false
false
6,821
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Tue Apr 6 10:38:09 2021 @author: nesarasr """ """ GENETIC ALGORITHM CLASS """ import numpy as np class GA: # initializes the required paramers def __init__(self,df,D,K,N,PIC,rT,rD,population_size, generations,crossover_pro...
[ "noreply@github.com" ]
noreply@github.com
4b6a289344396136f390ca4c0e685b2ce27c79e6
675ec51acadeb2112fa64bc090c41dd123d8b703
/problems/leetproblems/pipelines.py
e6128f43187b2c98bcf6dd53f7e2f7d337640d22
[]
no_license
bacazy/leetcode
d0a65fb76ac9e37f5ba548cc74e173d4b041a32a
ddb51836e2b4831bc18d3b7f792c66e0a1f9c276
refs/heads/master
2021-08-26T09:46:16.828072
2017-11-23T06:05:32
2017-11-23T06:05:32
108,978,900
0
0
null
null
null
null
UTF-8
Python
false
false
292
py
# -*- coding: utf-8 -*- # Define your item pipelines here # # Don't forget to add your pipeline to the ITEM_PIPELINES setting # See: http://doc.scrapy.org/en/latest/topics/item-pipeline.html class LeetproblemsPipeline(object): def process_item(self, item, spider): return item
[ "gc_zhangcheng@126.com" ]
gc_zhangcheng@126.com
ded520cb8fc350f09929c0adf1efe4dce795bf08
1ec4ea39a5f57d6cef70a1073cfaa16ff918e3ac
/TestData/exelDemo.py
9bb28fa7f16414ade02553cdc34e9baa27e6f6d1
[]
no_license
sathya-sai/SeleniumFramework
769e1b4a109fe4be80d3e734f00dc248eaa092e9
7ded298835ba1bbc8013520c28701dcaae4f9d5e
refs/heads/master
2020-12-20T17:06:32.184913
2020-01-25T09:14:08
2020-01-25T09:14:08
236,148,332
0
0
null
null
null
null
UTF-8
Python
false
false
631
py
import openpyxl book =openpyxl.load_workbook("/home/admin1/Downloads/python.xlsx") sheet =book.active Dict = {} cell =sheet.cell(row=1, column=2) print(cell.value) sheet.cell(row=2, column=2).value = "Rahul" print(sheet.cell(row=2, column=2).value) print(sheet.max_row) print(sheet.max_column) print(sheet['A5'].valu...
[ "sathyasai2691996@gmail.com" ]
sathyasai2691996@gmail.com
295fe8aaffb1e189be863d7776727e6536e11fe0
c1dc311e4ffde054f97c5da10f4178b28ce2514f
/models.py
8a28bb289426627b07dc31f33dd486988155a021
[ "MIT" ]
permissive
dylanrainwater/UTK-Transcript-Manager
ee419edcc80b932dec4a952fdd45c43c7b53d2b8
9d23bf2091d46806374f847a733d71d9823a88ac
refs/heads/master
2021-09-05T09:35:11.190820
2018-01-26T04:31:29
2018-01-26T04:31:29
95,023,454
0
0
null
null
null
null
UTF-8
Python
false
false
599
py
from peewee import * db = SqliteDatabase('calculator.db') class Profile(Model): """Profile Model holds name and GPA, has a one-to-many relationship with Course""" name = CharField(max_length=255, unique=True) GPA = DecimalField(default=0.0) class Meta: database = db class Course(Model): ...
[ "dylan.rainwater@cblproperties.com" ]
dylan.rainwater@cblproperties.com
8901d9ed4e11f85384994fcb6d8c5f74096f8e02
9f5cdbfa966f9292c0ba4dc903e0b6ac55d692a3
/test servo control.py
83fe0e3d0bb70bfef19606507c6c11ba23d7ea1b
[]
no_license
ArkimCity/Smart-Factory-Monitoring-System
7b9f4d79df693d90460f0f29474daf0d5a9d0626
b77c16e52a57f355a3cb9181c0b0b8a538628953
refs/heads/main
2023-02-09T03:30:36.705716
2021-01-06T02:42:45
2021-01-06T02:42:45
346,209,772
1
0
null
null
null
null
UTF-8
Python
false
false
1,344
py
import time import paho.mqtt.client as mqtt import RPi.GPIO as GPIO #callback which is executed when get CONNTACK response from server def on_connect(client, userdata, flags, rc): print("connected with result code "+str(rc)) client.subscribe("/servo") #subscribe "nodemcu" #callback which is executed when ...
[ "0712023@hanmail.net" ]
0712023@hanmail.net
d039483326f05db9afd0ba64eba7b581dee280ec
fc347406b479605236f5d49a13ab27a922e7f3e9
/Easy/0387-first-unique-character-in-a-string.py
6c2131b028efd9fdb9b3dfb372aa03f934005e88
[ "MIT" ]
permissive
sandychn/LeetCode-Solutions
0ebec09f977e15c10f3708796f63e6ef2495b50f
d0dd55d62b099c5b7db947822ab2111a4ecdc941
refs/heads/main
2023-08-10T22:30:21.399891
2021-10-07T16:31:49
2021-10-07T16:31:49
274,187,518
0
0
null
null
null
null
UTF-8
Python
false
false
373
py
# -*- coding:utf8 -*- class Solution(object): def firstUniqChar(self, s): """ :type s: str :rtype: int """ count = [0] * 26 for ch in s: count[ord(ch) - ord('a')] += 1 for i, ch in enumerate(s): if count[ord(ch) - ord('a')]...
[ "sandychn@163.com" ]
sandychn@163.com
78e1a62a7d9bc744dc45dbe0d38dd29dc771fb2f
ba24806cbcf25e9216bfb1718e3b47abc6ebad39
/hoo/src/hoo/gps.py
2256128eba19d3a89da3a164d2e3d558085c7e8b
[]
no_license
jeking04/thesis_tools
1585523fe020e7db40d13f0f94f4c302e35c6f1a
3e8a92c3c643b865514a7c6b6ec59c7cec6e2fb2
refs/heads/master
2020-06-06T09:23:00.474660
2016-08-11T23:31:33
2016-08-11T23:31:33
38,890,399
1
0
null
null
null
null
UTF-8
Python
false
false
667
py
#!/usr/bin/env python class GPS(object): def __init__(self, R, rfunc): import numpy self.phi = (numpy.sqrt(5) - 1.)/2. self.a = self.phi*R.min_val + (1. - self.phi)*R.max_val self.b = (1. - self.phi)*R.min_val + self.phi*R.max_val self.rfunc = rfunc def __str__(self): ...
[ "jeking@andrew.cmu.edu" ]
jeking@andrew.cmu.edu
07c9a37fbf0761b97b8e162cfbb380a576048089
c7b8001b9b8a40e7ac630b33c22a7dd28bf9c23e
/fiber_mode/charts/urls.py
64f331083446242189b5739488bc02ccbf4e428f
[]
no_license
mskwarek/topt
c30265442f700828a3b7c6302c314bdb5f80b857
8f910c283a834eca68a5014cd2216ff2a99a34b5
refs/heads/master
2021-01-13T03:08:59.895943
2017-01-24T22:53:55
2017-01-24T22:53:55
77,408,639
0
0
null
null
null
null
UTF-8
Python
false
false
210
py
from django.conf.urls import url from charts import views urlpatterns = [ url(r"^ajax/(?P<module>\w+)/(?P<function>\w+)/", views.ajax, name='ajax'), url(r'^$', views.index, name='index') ]
[ "m.skwarek@stud.elka.pw.edu.pl" ]
m.skwarek@stud.elka.pw.edu.pl
8695258bcb0994b02a1fc3dd323032a6d297e174
012ee09ae7f2405e2a9580442ea601fd32c9a40c
/ex45.py
15b02c1de8b9cf2c59d005f04d3546b7555365db
[]
no_license
itpropaul/LearnPythonTheHardWay
d430e71dd79e7415a9ff366b0deadc58b12520e3
fe2c468b5081ddd622a8ae0c002725a54669c6de
refs/heads/master
2021-08-30T01:13:11.281222
2017-12-15T13:54:48
2017-12-15T13:54:48
104,492,752
0
0
null
null
null
null
UTF-8
Python
false
false
9,852
py
#modules from sys import exit import random import pickle import os import time def new_line(): print "\n" ################# G A M E D E S C R I P T I O N #################################### def game_description(): """This is a Memory Game. The Goals of this game are as follows: -Ability ...
[ "noreply@github.com" ]
noreply@github.com
24c3588c7bfaf030d0ff19e8a4ae95bf19d6a7af
22f463496e429adeafe52bfd004bdd2cc911b548
/Złoty_ciąg.py
33f6009677350892c900ea204b6a9aca817f4493
[]
no_license
spec149/TestGit
819dfdb3fcfe63005f0d537d7d780937b6a1979c
c16b34889c1d965f4f7514843d479961617ca7bd
refs/heads/main
2023-01-22T18:17:16.051142
2020-12-07T12:44:50
2020-12-07T12:44:50
319,103,739
0
0
null
null
null
null
UTF-8
Python
false
false
187
py
# -*- coding: utf-8 -*- j = 0 for i in range(1, 11): j = i+j print(j) for i in range(1, 11): print('Wartość liczby', i, 'podniesionej do sześcianu wynosi:', i**3)
[ "noreply@github.com" ]
noreply@github.com
9e8990687ba51ea99339c7f9c2ea469e1b5dd496
94c16bc1a7c1deac9ba752772d4af97aca4e9234
/leetcode/523. 连续的子数组和.py
4415a4ce78f944dedff79a86ca086b6cf0e95162
[]
no_license
BoatInTheRiver/codes_algorithm
440267bd9241a3e99736843b670606ab0715ef9c
668fb64d3bbf26b3a1f6c2b2cfae847933493e21
refs/heads/master
2023-01-04T08:57:36.509252
2020-11-01T03:42:36
2020-11-01T03:42:36
285,283,540
2
0
null
null
null
null
UTF-8
Python
false
false
740
py
#coding:utf-8 ''' 给定一个包含 非负数 的数组和一个目标 整数 k,编写一个函数来判断该数组是否含有连续的子数组,其大小至少为 2, 且总和为 k 的倍数,即总和为 n*k,其中 n 也是一个整数。 示例: 输入:[23,2,4,6,7], k = 6 输出:True 解释:[2,4] 是一个大小为 2 的子数组,并且和为 6。 ''' class Solution: def checkSubarraySum(self, nums, k): dic = {0: -1} s = 0 for i, num in enumerate(nums): ...
[ "4302791@qq.com" ]
4302791@qq.com
634d9bd84c1a1d8fe8a27469b319b4955d06d6d9
9fac7365158496f248aba141f8fd54aac2c0ae67
/backend/campuscoffee/notifications/models.py
fe01ad59a8b8ca3227b5b430e4c57d50d48027ef
[ "MIT" ]
permissive
maeng2418/CampusCoffee
3b454fa360bd005cfb212f55f269e47c4d7e7726
41a580656ea1579c6343ea3fad187f2be81c2baf
refs/heads/master
2020-05-29T12:37:05.699157
2020-01-21T02:41:41
2020-01-21T02:41:41
187,471,953
0
0
null
null
null
null
UTF-8
Python
false
false
801
py
from django.db import models # Create your models here. from django.db import models from campuscoffee.users import models as user_models from campuscoffee.stores import models as store_models class Notification(store_models.TimeStampedModel): store = models.ForeignKey(user_models.User, on_delete=models.PROTECT...
[ "maeng2418@naver.com" ]
maeng2418@naver.com
1e8bb5e1533a3ade0f934a468df7425ba9fba7a9
831113b8adcbd0a8a8ab5ed78c87ee81648d6019
/utils/seed_add.py
2e538dacbba6f453caa9426b7d185fbb4a944418
[]
no_license
buckinha/FireGirl2
8940afa13b139f26cfaf2754c79e37b299d74a76
909bb477ffd6cc74d3bc6297188798d52bbdb55f
refs/heads/master
2021-01-10T12:54:15.497268
2016-04-22T02:40:47
2016-04-22T02:40:47
51,882,317
1
0
null
null
null
null
UTF-8
Python
false
false
341
py
import random def seed_add(seed, value): #if the seed is None, normally that uses system time, but I can't add values to a None val #So here, grab a system-time-seeded random val instead, and use it for the base seed if not seed: random.seed(None) seed = random.randint(-1000000,1000000) ...
[ "hailey.buckingham@oregonstate.edu" ]
hailey.buckingham@oregonstate.edu
3afdb163afed7231e32920b9590fd0cfc32f09da
4da88470f157adc9528e5faf2f4a8dab726a6820
/Webdemo/Rojgaar/admin.py
13478b18751e766da03f577c7a9e5d2196a8f535
[]
no_license
gauritoshniwal123/website
1a3781b810557d72f7ac9f0a86bd9dde29cb0271
f8b8861be55bc3e975c07e7d414e59a197a6ea72
refs/heads/master
2023-03-23T02:37:23.601289
2021-03-14T09:36:42
2021-03-14T09:36:42
347,593,654
0
0
null
null
null
null
UTF-8
Python
false
false
227
py
from django.contrib import admin from .models import SRecruiter,LRecruiter,SJobseeker,LJobseeker admin.site.register(SRecruiter) admin.site.register(LRecruiter) admin.site.register(SJobseeker) admin.site.register(LJobseeker)
[ "gauritoshniwal555@gmail.com" ]
gauritoshniwal555@gmail.com
3b71545bbfa3cf0b81dc43c505f9b0ee6d8e556f
5ded398a05f59f08f2add076fa50e42bfcb5cc92
/home/migrations/0002_load_initial_data.py
3fb748150d45554121b7e71e3ea15175052fd015
[]
no_license
crowdbotics-apps/vool-22192
1dc764992f07ce542f6691693503375007175a6d
d8c48223d5df02577fe997f6a50fdbd83eb96dce
refs/heads/master
2023-01-09T11:42:10.989994
2020-11-01T19:20:38
2020-11-01T19:20:38
309,170,178
0
0
null
null
null
null
UTF-8
Python
false
false
1,270
py
from django.db import migrations def create_customtext(apps, schema_editor): CustomText = apps.get_model("home", "CustomText") customtext_title = "vool" CustomText.objects.create(title=customtext_title) def create_homepage(apps, schema_editor): HomePage = apps.get_model("home", "HomePage") home...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
d2f91d9e02964c206df16fb3598b24bd1f3a4f8e
ee22ec2076a79e8de3011377fe205bc87163ab9f
/src/basic-c3/dockstring.py
5ada006cc7d290f3d8a9d64f64306ebce1e919b9
[]
no_license
n18018/programming-term2
039a95c67372a38a34e2aa8c5975045a9fc731be
86c455269eed312def529604e1ac3b00f476226c
refs/heads/master
2020-03-22T08:59:29.545280
2018-08-29T07:57:37
2018-08-29T07:57:37
139,806,131
0
0
null
2018-07-05T06:42:11
2018-07-05T06:42:11
null
UTF-8
Python
false
false
53
py
def a (hiki_1, hiki_2, hiki_3): ''' return i
[ "n18018@std.it-college.ac.jp" ]
n18018@std.it-college.ac.jp
ba0427eb98f02a5a35e7433cba51438b3c5875a3
d98883fe1007111b8795ac5661e56758eca3b62e
/KindnessCafe/Landing/migrations/0001_initial.py
35b77710794fb5b5fe7a0a8b74e736fb7fa235bf
[]
no_license
pyDeb/KindnessCafe
7303464e3c0693b0586a4a32740d8b9b19299caf
6ff8dfe338aefd986edf67c382aff1a2920945d1
refs/heads/master
2022-12-29T16:16:35.796387
2021-04-19T00:03:14
2021-04-19T00:03:14
243,533,146
3
4
null
2022-12-08T09:48:09
2020-02-27T14:01:16
Python
UTF-8
Python
false
false
670
py
# Generated by Django 3.0.3 on 2020-12-06 02:27 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='LandingContent', fields=[ ('id', models.Aut...
[ "imananoosheh@gmail.com" ]
imananoosheh@gmail.com
701edda3fc08ca5e204e91994d360e36880706aa
532a28255249530c98eea8985cdcfb093dbf28b1
/testing/test_boxed.py
bee936735f1ff0a109346bf20f8150639e74bb0f
[ "MIT" ]
permissive
lukas-bednar/pytest-xdist-convert
8dc09ebae810344f8ebf031b3d04de4e9a62602c
255c0617159b611eaa94b80c7b61568c5c8ce082
refs/heads/master
2021-01-23T12:18:04.783539
2015-09-01T15:28:21
2015-09-01T15:28:21
41,746,483
1
0
null
2015-09-01T15:21:30
2015-09-01T15:21:30
null
UTF-8
Python
false
false
1,610
py
import pytest import os needsfork = pytest.mark.skipif(not hasattr(os, "fork"), reason="os.fork required") @needsfork def test_functional_boxed(testdir): p1 = testdir.makepyfile(""" import os def test_function(): os.kill(os.getpid(), 15) """) resu...
[ "holger@merlinux.eu" ]
holger@merlinux.eu
c066cc2e89856eeb69a4a3d7ca845a7e5a744844
d5a60a0b2ab9aac8e01ea9994e7a87d8759e9702
/sql.py
5731d929af0e19cf59383d7fd38bde114c87d475
[]
no_license
kdmgs110/Tweet-Analyser
72201ccd0c4d2c70725cf7d19b8cbf1d23ff4ca2
78375be905c0e5756118e0f9d450d7171fe3b436
refs/heads/master
2020-03-08T01:13:03.245105
2018-04-17T15:11:21
2018-04-17T15:11:21
127,824,661
4
0
null
null
null
null
UTF-8
Python
false
false
314
py
import sqlite3 DATABASE = 'database.db' conn = sqlite3.connect(DATABASE) #データベースに接続 c = conn.cursor() # データベースの作成 create_db_sql = """CREATE TABLE IF NOT EXISTS client(name string, client_id string, client_secret string, redirect_uri string)""" c.execute(create_db_sql)
[ "kdmgs110@gmail.com" ]
kdmgs110@gmail.com
9143e1cbbe22494451daa57eb795cafba2ef2bff
cfb705f3727ff2f53288269ae37bd2cb6687951d
/build/CAFCore/SFramework/CMakeFiles/SFrameworkpycGen.py
5c92ddbf3102a6b81ff16550aee99de8cd85f4ab
[]
no_license
alessio94/di-Higgs-analysis
395934df01190998057f7c81775209c5d32f906e
79c793cc819df7c8511c45f3efe6bdd10fd966bf
refs/heads/master
2023-02-17T05:44:59.997960
2023-02-13T18:02:42
2023-02-13T18:02:42
224,252,187
0
0
null
null
null
null
UTF-8
Python
false
false
280
py
import py_compile; py_compile.compile( '/afs/cern.ch/work/a/apizzini/private/2022/nov/CAFbbll/CAFCore/SFramework/python/SFramework.py', cfile = '/afs/cern.ch/work/a/apizzini/private/2022/nov/CAFbbll/build/x86_64-centos7-gcc8-opt/python/SFramework/SFramework.pyc', doraise = True )
[ "alessiopizzini@gmail.com" ]
alessiopizzini@gmail.com
21aa8958edca79602fd8a9062a0ca2fb5d5a8527
c06d18ac5b87b3b82fc486454c422b119d6c1ee9
/src/demo/_tensorflow/notebooks/2_BasicModels/linear_regression.py
db1a4d9133a9a5e089a49002de6f171371fd87ae
[ "MIT" ]
permissive
tangermi/nlp
b3a4c9612e6049463bf12bc9abb7aff06a084ace
aa36b8b20e8c91807be73a252ff7799789514302
refs/heads/master
2022-12-09T12:33:15.009413
2020-04-03T04:03:24
2020-04-03T04:03:24
252,056,010
0
0
null
2022-12-08T07:26:55
2020-04-01T02:55:05
Jupyter Notebook
UTF-8
Python
false
false
2,211
py
# -*-coding:utf-8-*- from __future__ import absolute_import, division, print_function # %% import tensorflow as tf import numpy as np rng = np.random # %% # Parameters. learning_rate = 0.01#学习率 training_steps = 1000#总共训练次数 display_step = 50 # %% # Training Data. X = np.array([3.3, 4.4, 5.5, 6.71, 6.93, 4.168, 9....
[ "n10057862@qut.edu.au" ]
n10057862@qut.edu.au
8075119130f94c07e57befcfb0bb8a5b635241ae
be8778021ca3b6b291e396df8a04bdd787dd7fc4
/Day 18 - Hirst Spot Painting Generator/main.py
055983bd0b9ba06fb9711ccc321bb92fc8570c3b
[]
no_license
atena-data/Python-Bootcamp-Codes
eb0cb6f5a2a5edb3f95d30a568890afa418f2e89
9365ec6f10c893f31a50b56dde792461fb904018
refs/heads/main
2023-04-30T23:56:23.457165
2021-05-14T20:10:00
2021-05-14T20:10:00
319,782,116
0
0
null
null
null
null
UTF-8
Python
false
false
1,276
py
import colorgram import turtle as t import random # change color mode to RGB t.colormode(255) point = t.Turtle() # # extract a list of colors from an image # colors = colorgram.extract("image.jpg", 30) # color_list = [] # for color in colors: # rgb = (color.rgb[0], color.rgb[1], color.rgb[2]) # color_list.appe...
[ "68478574+atena-data@users.noreply.github.com" ]
68478574+atena-data@users.noreply.github.com
3ae8830fd94c0cd38223d716948c6ba72b2243b7
cda43bf6a84f7e55fab26aa70cda934683a51fe5
/MyWork/moModel.py
f0583bfc4748b1285e8ed8c12677936f09f2dcf3
[]
no_license
nikolaosdionelis/NeuralNetworksNNs
abb55622882e31c8d130a8986868b3d19ede186f
8a217490ad5bb3f7fccf4002c6b43a06c1e562fc
refs/heads/master
2022-11-13T00:50:23.578197
2020-07-12T18:52:20
2020-07-12T18:52:20
279,042,013
5
1
null
null
null
null
UTF-8
Python
false
false
113,860
py
from __future__ import division from __future__ import print_function import os import time import math from glob import glob import tensorflow as tf import numpy as np from six.moves import xrange #import real_nvp.model as nvp import real_nvp.nn as nvp_op #import imageio #imageio.imwrite('filename.jpg', array) #fro...
[ "noreply@github.com" ]
noreply@github.com
bb1ac22a487f48f5aecf8e085306bb195ad3fc8a
d73b8cb9b62369ae419d0b02970c85c18da5038a
/journal/urls.py
d5cb49bdb8ba20adb819ec2a7710c964286f2074
[]
no_license
Baindaer/musicware
f2e6fae482585f34d9fd857bf1f44fccd039a49d
ff013fcf4529752e25b37542bb5c6d6b7bf4b653
refs/heads/master
2020-03-28T00:47:44.455386
2019-06-07T02:26:42
2019-06-07T02:26:42
147,450,133
0
0
null
null
null
null
UTF-8
Python
false
false
811
py
from django.urls import path from . import views urlpatterns = [ path('', views.index, name='index'), path('login', views.login, name='login'), path('composers', views.composers, name='composers'), path('practice_items', views.practice_items, name='practice_items'), path('playlists', views.playlis...
[ "tsjuancamilo@gmail.com" ]
tsjuancamilo@gmail.com
797f75d711c35e8f51c4b63311f9c718f07a6b4c
91b6b36c7eba4ef0f97eea76a32c297760e24034
/games/migrations/0001_initial.py
a999330944ff2ace8f32685de6c1ac1b44d755f4
[]
no_license
joescaos/Tienda-video-juegos
ddfbba3affdb4302077d205d1a6b408cc08cf670
8b05f15d655398f7efc77af126fe022fec6d3261
refs/heads/main
2023-02-11T05:43:33.950151
2021-01-07T03:06:01
2021-01-07T03:06:01
327,482,763
0
0
null
null
null
null
UTF-8
Python
false
false
1,110
py
# Generated by Django 3.0.8 on 2020-07-04 19:54 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Game', fields=[ ('id', models.AutoField(aut...
[ "jxexcxo@gmail.com" ]
jxexcxo@gmail.com
3d2dfc7aea9fde464f13b5202bf279d6934d8173
6b66cb095ac4cd9ead2eab98f45af5558e7b28e4
/mxnet/unit_test.py
58cc4d513e267e855f75587af0a5fa8d5d5dcca1
[ "MIT" ]
permissive
Jiaolong/xnor-net
b5d5ffee0bb6f272a1298f3d80d0b6ce89eca6b4
97acda48e358659046fc0f69458789effea25688
refs/heads/master
2021-01-22T20:17:56.104899
2017-12-04T12:36:01
2017-12-04T12:36:01
85,303,815
11
7
null
null
null
null
UTF-8
Python
false
false
1,309
py
#! /usr/bin/env python #-------------------------------------------------- # Simple unit test on binarized convolution layer # # Written by Jiaolong Xu # Date: 03/17/17 # Copyright (c) 2017 #-------------------------------------------------- import numpy as np import mxnet as mx from bnn_layers import * data = mx.sy...
[ "jl.xu@ulsee.com" ]
jl.xu@ulsee.com
29a21788ca82574da26794cebdeef91568b75301
50b7c96ccc8331887ee279a406c3c35a14a5ffbe
/blog/tests.py
53c315c074db952a4cd3caf6e1710760d54cfec9
[]
no_license
PeriGK/jinyuz-blog
8888389b0e5740cb40d41cf39914bc61887426ae
08ce6a4bb3856f76e2b4f0b8c4b93f730eb9de74
refs/heads/master
2021-07-25T01:34:48.337978
2017-11-04T19:57:43
2017-11-04T19:57:43
109,523,181
0
0
null
2017-11-04T19:15:42
2017-11-04T19:15:41
null
UTF-8
Python
false
false
3,262
py
from django.test import TestCase from .models import Post, Category, Author from django.contrib.auth.models import User from django.shortcuts import reverse class BlogTestCase(TestCase): def setUp(self): self.category = Category.objects.create(title="Test Category", slug="test-category") self.user ...
[ "jinyuzprodigy@gmail.com" ]
jinyuzprodigy@gmail.com
0fa6083c10d10d0fd237b63dd89a046cd5d7ecf6
61efd764ae4586b6b2ee5e6e2c255079e2b01cfc
/azure-graphrbac/azure/graphrbac/models/graph_error.py
0bfa9744e63d8b4251f72750eb08d46a828b3f80
[ "MIT" ]
permissive
AutorestCI/azure-sdk-for-python
a3642f53b5bf79d1dbb77851ec56f4cc0c5b3b61
60b0726619ce9d7baca41f6cd38f741d74c4e54a
refs/heads/master
2021-01-21T02:23:59.207091
2018-01-31T21:31:27
2018-01-31T21:31:27
55,251,306
4
3
null
2017-11-13T17:57:46
2016-04-01T17:48:48
Python
UTF-8
Python
false
false
1,392
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # # Code generated by Microsoft (R) AutoRest Code Generator. # Changes ...
[ "autorestci@microsoft.com" ]
autorestci@microsoft.com
e73773cbfdab75fcb44a65b743925c7e1ee00ad7
234a837871b58301ba40fc192f0ca9eb41874b1a
/lstmRNN_improved.py
9cd337955119005e3fb812e1f7e5d6b1f236baa9
[]
no_license
myers1091/BibleLSTM
e4228a7bbc5259f1e5a4558796b1b55a8318cba4
1678e211c096943e8bfbbc6b88dcf5c2c898bdad
refs/heads/master
2020-09-12T17:49:11.182018
2019-11-18T17:13:19
2019-11-18T17:13:19
222,500,754
0
0
null
null
null
null
UTF-8
Python
false
false
2,170
py
import numpy from keras.models import Sequential from keras.layers import Dense from keras.layers import Dropout from keras.layers import LSTM from keras.callbacks import ModelCheckpoint from keras.utils import np_utils import pickle #Import file and convert to lowercase filename = 'Data/The Book of Psalms.txt' raw_t...
[ "john@Johns-MacBook-Pro.local" ]
john@Johns-MacBook-Pro.local
a67658f0ba4e3957c2b07e683cf18f9d800d4d49
962b7a864f6a85d4418292be2ad3f3c58ae89400
/docs/conf.py
1f83660b90ecd881682aa1743e2a7298a72d00e1
[ "MIT" ]
permissive
ArtusU/one_buy
eb415697d4d314f1a23f255b83486f75fa1f6adb
5d74a691f78f162eb6b16d9c3a2049043c36b0b0
refs/heads/master
2023-08-20T20:31:41.931260
2021-09-11T11:51:00
2021-09-11T11:51:00
405,059,103
0
0
null
null
null
null
UTF-8
Python
false
false
2,259
py
# Configuration file for the Sphinx documentation builder. # # This file only contains a selection of the most common options. For a full # list see the documentation: # https://www.sphinx-doc.org/en/master/usage/configuration.html # -- Path setup -------------------------------------------------------------- # If ex...
[ "artusrock@hotmail.com" ]
artusrock@hotmail.com
3a9491459c5d078d32933e3ae8b3410aa09cc12b
bedb7c4fd64ccf10f80e4cd7934e3b290f7c8c85
/week4_binary_search_trees/2_is_bst/is_bst_tests.py
fda8b7281558700dc63b6425d8a1bf214b4fd0d8
[]
no_license
basvasilich/study_data-structures
2f74cd74936848c388ab14eac3ee38cef9e96df7
3e126890df6675abb79d6ff7cc2a1d79014da723
refs/heads/master
2022-04-18T17:13:19.100690
2020-04-17T19:13:11
2020-04-17T19:13:11
246,841,397
1
0
null
null
null
null
UTF-8
Python
false
false
1,032
py
import unittest from test_runner import test_runner from is_bst import IsBinarySearchTree class TestCheckBrackets(unittest.TestCase): def test_1(self): self.assertIs(IsBinarySearchTree([[4, 1, -1], [2, 2, 3], [1, -1, -1], [5, -1, -1]]), False) def test_2(self): self.assertIs( IsB...
[ "basvasilich@yandex.ru" ]
basvasilich@yandex.ru
ff1b3b0dca727f260be29d791c3eb863c60bb44c
e40111dda0ad509d474adfe4c52ae9b5525f388e
/show_weather/migrations/0001_initial.py
257aa28f000c8c31d9e0659e17bdad9c05474fe7
[]
no_license
XeyyamSherif/Weather-App
2fb997fcfb5a6885ffffbf05e6ebe2127fd2bccf
6de019cf289ff60d299b9f1e58c1f8c04fa3517f
refs/heads/master
2023-01-23T06:57:55.655632
2020-12-04T20:10:42
2020-12-04T20:10:42
318,623,089
0
0
null
null
null
null
UTF-8
Python
false
false
1,168
py
<<<<<<< HEAD # Generated by Django 3.0.3 on 2020-03-01 14:01 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='added_cities', fields=[ ('id',...
[ "you@example.com" ]
you@example.com
02d57746d7b51ec673efb0edd4fd91b23b918b00
6f308801d6b17ee2500b7256ceb728c39793c825
/backend/usermanagement/utils/list_user_byemail.py
919c96f5c66179ac2fc83793889db185b644898c
[]
no_license
Manojakumarpanda-1995/backend_documentaion
53f297dc86bb12cdc526028a336be6c849ea3483
9ce51503074482e3bea386584496616abd6fdb36
refs/heads/master
2023-08-04T18:09:41.054351
2021-09-17T06:12:59
2021-09-17T06:12:59
392,740,003
0
0
null
null
null
null
UTF-8
Python
false
false
4,486
py
from usermanagement.models import Users # , AccessManagement, Roles # from usermanagement.utils.hash import encryption,decryption from django.conf import settings # import re import os import sys import logging import datetime # from organization.models import UserCompanyRole # from project.models import ProjectUsers...
[ "manojakumarpanda@momenttext.com" ]
manojakumarpanda@momenttext.com
0584bb10c38dba33bffbd8942a3bc1da49985993
d903801965f5a203360a989c5e5330160bb8f509
/pragmatics_2/settings/base.py
2de70505263bd2f12c487534bdb5eabadcb1482f
[]
no_license
matt700395/server_test
fbc63fe4a9aea29610089b3ec87dcf5834047d27
c21618bdf4d7f38889410d3204c15e4c61c15a54
refs/heads/master
2023-07-25T02:12:24.187475
2021-08-11T01:51:30
2021-08-11T01:51:30
387,237,779
0
0
null
null
null
null
UTF-8
Python
false
false
3,084
py
""" Django settings for pragmatics_2 project. Generated by 'django-admin startproject' using Django 3.1.7. For more information on this file, see https://docs.djangoproject.com/en/3.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.1/ref/settings/ """ "gkgk" f...
[ "matt7003@korea.ac.kr" ]
matt7003@korea.ac.kr
746dbef62b516ff59dc04fa89bbb2f22bfa4ff8a
82c6dedfe9040b453c22c3f93f1a2c9a922c988b
/ClusterFind/cluster_dbscan_precomputed_neighbours.py
7a4f8cb9ec5f99d729549b5d0ffd0a3962f8b5cc
[]
no_license
njcuk9999/g_clustering
8d34439fd78ef7017c0414c932d21cd19fc6551c
20e6a6ab17c72c5652ae33125f7dabf4131aa8d5
refs/heads/master
2021-05-11T16:10:41.382938
2018-05-08T22:55:03
2018-05-08T22:55:03
117,753,516
0
0
null
null
null
null
UTF-8
Python
false
false
12,436
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ # CODE NAME HERE # CODE DESCRIPTION HERE Created on 2018-01-16 at 14:13 @author: cook Version 0.0.0 """ import numpy as np from astropy.table import Table from sklearn.cluster import DBSCAN from sklearn import metrics import random import matplotlib.pyplot as plt...
[ "neil.james.cook@gmail.com" ]
neil.james.cook@gmail.com
aa6d9a1822835aebdd5132c6ba6a72d4ff601275
c49590eb7f01df37c8ec5fef00d0ffc7250fa321
/openapi_client/models/market_details_quote.py
9be5f6cec718e266059c4b82e375d42004f2e4ce
[]
no_license
harshad5498/ks-orderapi-python
373a4b85a56ff97e2367eebd076f67f972e92f51
237da6fc3297c02e85f0fff1a34857aaa4c1d295
refs/heads/master
2022-12-09T19:55:21.938764
2020-09-03T05:22:51
2020-09-03T05:22:51
293,533,651
0
0
null
2020-09-07T13:19:25
2020-09-07T13:19:24
null
UTF-8
Python
false
false
3,151
py
# coding: utf-8 """ KS Trade API's The version of the OpenAPI document: 1.0 """ import pprint import re # noqa: F401 import six from openapi_client.configuration import Configuration class MarketDetailsQuote(object): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://op...
[ "thebhushanp@gmail.com" ]
thebhushanp@gmail.com
1311ef916c2daecae891fb0a1fd07ed7261d3974
d302880316a4eb37952ac95fcfb6f4ae23979a41
/dict.py
c9cc2d86791c8e99a51064d368162e54cdfc0108
[]
no_license
sivaprakashSP/FlaskAPI-Stuffs
c87f71788c03c53ee219ce330c533034b04ac648
bcdfafb00734b77c9822219fbecebdb1aa6fc5ab
refs/heads/master
2023-02-13T22:30:40.375613
2021-01-11T15:36:20
2021-01-11T15:36:20
268,286,583
0
0
null
null
null
null
UTF-8
Python
false
false
1,079
py
import flask from flask import request, jsonify import json app = flask.Flask(__name__) app.config["DEBUG"] = True # Create some test data for our catalog in the form of a list of dictionaries. books = [ {'id': 0, 'title': 'A Fire Upon the Deep', 'author': 'Vernor Vinge', 'first_sentence': 'The co...
[ "sivaprakashsp@gmail.com" ]
sivaprakashsp@gmail.com
c7e195895a5762cd347b5b37da20a0cef43c963e
881684ef179da51fc68a7f448d7bc9257e9eb9c2
/LinsBlog/myblog/migrations/0005_auto_20200801_1658.py
3bb58d6aee0e6b2ff9bb0d49add2c9c23e7ccc04
[]
no_license
Sharlinlins/Project
cfefc0d3aa0049de1bc443dfb1e87971314a89f9
12771c53c1273e38944b9175d91698c0f1cf8d3c
refs/heads/master
2022-12-15T02:35:23.243564
2020-09-10T11:27:34
2020-09-10T11:27:34
294,388,516
0
0
null
null
null
null
UTF-8
Python
false
false
429
py
# Generated by Django 3.0.8 on 2020-08-01 11:28 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('myblog', '0004_auto_20200801_1529'), ] operations = [ migrations.AlterField( model_name='post', name='category', ...
[ "Sharlinlins@users.noreply.github.com" ]
Sharlinlins@users.noreply.github.com
1797cbb255dc3debffba5529df5ef44d11729187
fe33c07997830849eeb3d8651585af02e3755e7e
/pyro/contrib/randomvariable/random_variable.py
05d08238a5f74f493acf213865274c7e5ee2f414
[ "Apache-2.0" ]
permissive
dataronio/pyro
2f8423bbef94dc26be52cb820ebed6c293cf0ee1
2339ece6d020c6fd34f2b7ad9f9e0fdd093848fa
refs/heads/dev
2022-02-05T11:31:32.076775
2022-01-30T00:01:31
2022-01-30T00:01:31
159,904,265
0
0
NOASSERTION
2020-03-09T22:06:53
2018-12-01T03:15:50
Python
UTF-8
Python
false
false
5,426
py
# Copyright Contributors to the Pyro project. # SPDX-License-Identifier: Apache-2.0 from typing import Union from torch import Tensor from pyro.distributions import TransformedDistribution from pyro.distributions.transforms import ( AbsTransform, AffineTransform, ExpTransform, PowerTransform, Sig...
[ "noreply@github.com" ]
noreply@github.com
66b2ddc4d0658c6b564857dc23239f919175c02e
e60c9720d1a95424e78d7e27d72758e76b21090c
/utf8.py
57baf971c916ddc71bb9f324a9b8adb496b575ff
[]
no_license
rmccampbell/PythonProjects
122a8a40d7e9917e0848a9efb9437f1e3f5fac7d
19c9b0f6fc99fd6a2190163d4b793e2e76e2972c
refs/heads/master
2023-07-20T00:24:27.527281
2023-07-11T07:28:58
2023-07-11T07:28:58
49,752,046
2
0
null
null
null
null
UTF-8
Python
false
false
1,349
py
def leading_1s(b): return 8 - (~b & 0xff).bit_length() ## i = 0 ## while b & 0x80: ## b <<= 1 ## i += 1 ## return i def decode_utf8(bs): cs = [] rem = 0 c = 0 for b in bs: n = leading_1s(b) if n == 0: if rem != 0: raise ValueError('...
[ "rmccampbell7@gmail.com" ]
rmccampbell7@gmail.com
052892718032f785bcd5f17fce9cfd9bc7fce298
c0c8439a8713c6e10ea9674d6034ecfff9f866de
/stooge.py
4b7ad8d2a8c98fe2f84e48c2b8b712f905b8d10a
[]
no_license
SmugZombie/Stooge
dfd5d3a7604300485927f263f25f0552d69e8ea4
d124ac5da0147ab52b16337486f623b7233cf4c8
refs/heads/master
2020-04-10T17:35:23.589201
2016-04-03T22:03:27
2016-04-03T22:03:27
51,340,796
0
0
null
null
null
null
UTF-8
Python
false
false
19,926
py
#!/usr/bin/env python # stooge.py - "one who plays a subordinate or compliant role to a principal" # Ron Egli Version="0.8.4" # github.com/smugzombie - stooge.us # Python Imports import json; import subprocess; import pprint; import argparse; import commands; import os; import re; import textwrap; ...
[ "ron@r-egli.com" ]
ron@r-egli.com
5306c8ce78d29999776a31e33909e87526e0016b
2b206d802be8ac6b6c238c7f7b0afc59bd3ec47d
/evaluation/s3dis_merge.py
d4f7002c9aa9716b85df26a7ebbffd11c9e0011c
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
jtpils/PointCnn-1
62c0de24f63ca405ec360e1a63e0767143d4daca
bef3287a2f8886d472fa3970de47c654ab9df0bc
refs/heads/master
2020-06-09T06:50:20.190130
2019-04-10T14:55:38
2019-04-10T14:55:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,604
py
#!/usr/bin/python3 from __future__ import absolute_import from __future__ import division from __future__ import print_function import os,sys import plyfile import numpy as np import argparse import h5py def main(): parser = argparse.ArgumentParser() parser.add_argument('--datafolder', '-d',default='../../da...
[ "519710218@qq.com" ]
519710218@qq.com
4beda2946a73009f70fc4dd66340e5f0ea19c0bb
a85f6acdfbc2c36ebc206e6f8bf56db11dce9dfc
/app/controller/base_controller.py
792bfd79ccce2133d31d04c0df068b18fa217e79
[]
no_license
flaviacomp/app-paem-db-restful
51a80800d2def8524c85ce9b142c0a30528f77df
30dab9220460159ed43b5a87a5ef604beb2ab23d
refs/heads/master
2023-06-04T18:13:59.012443
2021-06-24T20:25:15
2021-06-24T20:25:15
334,000,369
1
0
null
2021-05-25T22:33:44
2021-01-29T01:11:17
Python
UTF-8
Python
false
false
1,527
py
from ..util.http_status_code import OK, CREATED, BAD_REQUEST, NOT_FOUND_REQUEST class BaseController: @classmethod def get_by_id(cls, id, Model): model = Model.find_by_id(id) if not model: return {"message":"Not found this resource."}, NOT_FOUND_REQUEST return ...
[ "j.janilson12@gmail.com" ]
j.janilson12@gmail.com
0d04fa2c27807dd543aa96a8eb34f13b5aa285a3
48b8ef4cb13195bd48c3bd741df407f4df7a7db1
/py2vega/functions/date_time.py
52cb563af5f98569f0a6115a6e91a96ee9e73dd4
[ "BSD-3-Clause" ]
permissive
QuantStack/py2vega
7c6d1e114e97f835ae2d3ef47950680d8a9b7e55
049f8a89adc4197a69a384160bbbb633c61abaf8
refs/heads/master
2021-06-22T22:38:32.885585
2021-03-03T09:46:31
2021-03-03T09:46:31
203,118,828
9
3
BSD-3-Clause
2021-03-03T08:32:02
2019-08-19T07:15:29
Python
UTF-8
Python
false
false
4,165
py
"""Module that implements mocking Vega date and time functions.""" date_time_functions = [ 'now', 'datetime', 'date', 'day', 'year', 'quarter', 'month', 'hours', 'minutes', 'seconds', 'milliseconds', 'time', 'timezoneoffset', 'utc', 'utcdate', 'utcday', 'utcyear', 'utcquarter', 'utcmonth', 'utchours', ...
[ "martin.renou@gmail.com" ]
martin.renou@gmail.com
a00eaff7c43f2734cc5e34167a1e3b2535928b9c
3b9082ed8c0717d40165f5cc520937c23e9c49c0
/lib/streamifiers/public_suffix.py
672978920b94dfef4ec6ab269c416a679a78dd1c
[ "BSD-3-Clause" ]
permissive
CYBAI/compression-test
2915c0d929be4689ba0df3beb1c19d808aef1405
ea1306131e32f44f97b197550e7b3a5d7734ad0b
refs/heads/master
2021-03-20T07:55:10.844035
2019-01-19T05:11:25
2019-01-19T05:11:25
247,191,443
1
0
NOASSERTION
2020-03-14T01:31:04
2020-03-14T01:31:03
null
UTF-8
Python
false
false
1,103
py
#!/usr/bin/env python from collections import defaultdict from . import BaseStreamifier, Stream from publicsuffix import PublicSuffixList class Streamifier(BaseStreamifier): """ Use the Public Suffix List <http://publicsuffix.org> to split the messages into streams, one per direction per suffix. """ def _...
[ "mnot@mnot.net" ]
mnot@mnot.net
9cc14a0d8484b7a1274d7519a78757f8a1879fbc
244ecfc2017a48c70b74556be8c188e7a4815848
/res_bw/scripts/common/lib/ctypes/test/test_numbers.py
d22b4be81fa25957e12f9a9ea14e9e9cab2b4b56
[]
no_license
webiumsk/WOT-0.9.12
c1e1259411ba1e6c7b02cd6408b731419d3174e5
5be5fd9186f335e7bae88c9761c378ff5fbf5351
refs/heads/master
2021-01-10T01:38:36.523788
2015-11-18T11:33:37
2015-11-18T11:33:37
46,414,438
1
0
null
null
null
null
WINDOWS-1250
Python
false
false
6,859
py
# 2015.11.18 12:02:44 Střední Evropa (běžný čas) # Embedded file name: scripts/common/Lib/ctypes/test/test_numbers.py from ctypes import * import unittest import struct def valid_ranges(*types): result = [] for t in types: fmt = t._type_ size = struct.calcsize(fmt) a = struct.unpack(fmt...
[ "info@webium.sk" ]
info@webium.sk
0b1a26e949dcfbed3b5006d78250144ec2f90c2c
662dba68f08165832228ed01e86481f401d2eae1
/main.py
be3a805453c96102bf71c06bae17f945c6592ee7
[ "Unlicense" ]
permissive
Pi0ter/Python-OOP-project-2
aeb724673452e3e56d9d2c2771e6309aef58b169
41baa17aa4ccb4472b9e80a37f302de62aeba2f8
refs/heads/master
2020-05-31T13:20:45.879177
2019-06-16T16:56:37
2019-06-16T16:56:37
190,300,535
0
0
null
null
null
null
UTF-8
Python
false
false
127
py
from drawing import * from menu import * if __name__ == "__main__": xd = Menu() xd.run() root.mainloop()
[ "noreply@github.com" ]
noreply@github.com
59f2f670e79a73f9a63ea201812ba33058fc67af
20b781bcd6a96ae071f35fdc317515b8defa0e3f
/bin/easy_install
e8222c852e76e62b3669155e32c2f5f93e4488eb
[]
no_license
catchmrbharath/blog-catchmrbharath
977a709bdbcc2ea6471b8535fd6f8b5e6be0972b
94fd2f6b3666d2f721d1c61107dfde2fccbcd233
refs/heads/master
2016-09-05T22:37:10.489654
2012-10-13T05:48:01
2012-10-13T05:48:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
327
#!/Users/bharathmr/pr/pelican-blog/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'distribute','console_scripts','easy_install' __requires__ = 'distribute' import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.exit( load_entry_point('distribute', 'console_scripts', 'easy_install')()...
[ "catchmrbharath@gmail.com" ]
catchmrbharath@gmail.com
5f6c69da0a503be105e2795033fabf02309bb5fb
f0852023fe878d13f0ca559351782c6de97442b9
/sugrpkg/Experimental_bolus.py
8f3bbd457b8327ef0041d873b85f4a8a8bd3ad38
[ "LicenseRef-scancode-other-permissive" ]
permissive
kelly1210/Diabetes-Analysis
60c306145140f9174fc01a0517ba7ef9935b921f
c7ad2c746d4070f0a2beef46712529b536be21c7
refs/heads/master
2023-02-09T08:12:13.009873
2020-12-19T15:07:54
2020-12-19T15:07:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,707
py
#!/usr/bin/env python # coding: utf-8 # In[1]: import os import multiprocessing as mp from functools import reduce, partial import pandas as pd import scipy import numpy as np import seaborn as sns import matplotlib.pyplot as plt import datetime as dt import copy import gc import warnings import statsmodels.api a...
[ "gmaganna.biomed@gmail.com" ]
gmaganna.biomed@gmail.com
314ed0dd3ff14db1bf30f6389b4132d1b6dd601b
f00212ec7e870d4ce1ffde577755194c1e4228ff
/ExtractNewsArticles/pipelines.py
27a2c6ff1ec5e8cabb976c9c86cc3f7adbdef0af
[]
no_license
gopida/WebCrawler-NewsArticles
bb8dd69ff20bd28e88f00f13cc963ea27ad62df7
786c696a6af6d8d996d531f3f32f7e48839731ea
refs/heads/master
2023-05-26T20:20:50.705310
2021-06-15T06:41:12
2021-06-15T06:41:12
180,868,340
0
0
null
null
null
null
UTF-8
Python
false
false
300
py
# -*- coding: utf-8 -*- # Define your item pipelines here # # Don't forget to add your pipeline to the ITEM_PIPELINES setting # See: https://doc.scrapy.org/en/latest/topics/item-pipeline.html class ExtractnewsarticlesPipeline(object): def process_item(self, item, spider): return item
[ "gopidaya91@gmail.com" ]
gopidaya91@gmail.com
1ea74cfbd3b53b0c894c7dd71a87e27f86ff80c8
9b6bf19373f9f17c1e47d3570229385815d9ff1b
/teams_ptt/ptt_teams.py
3c22364d8307dae1714b70b6cf2cd7d0d128cab3
[]
no_license
harshkc03/ADIC_project
06e5c0123b04f2607324e490251fcbfe5a182044
09ac7f56f32a6153f2689e30b72e58574e5c688e
refs/heads/master
2021-07-16T12:12:13.485559
2021-06-05T19:37:11
2021-06-05T19:37:11
249,772,458
0
0
null
null
null
null
UTF-8
Python
false
false
1,060
py
from pynput.keyboard import Key, Listener from playsound import playsound import subprocess import os #pactl list source-outputs id = 0 def get_id(): result = subprocess.run(['pactl', 'list', 'source-outputs'], stdout=subprocess.PIPE) out = result.stdout.decode('utf-8') sepa = out.split("\n") indices = [i for i,...
[ "harshkc2000@gmail.com" ]
harshkc2000@gmail.com
150e1214de30c25ea2b8e3d0c0de0283a2141b3f
de737eab60baef152f557f17570051a0f0bc0905
/solar_output_prediction/views.py
d09ece48259d3fd36e5d713f4cea16b394600658
[]
no_license
snowdj/solar-calculator-django-app
72d27329b65bcc62c795cad474810423a97fe3fb
7440b5cd0cdef96450dd7ba57b51044de9bc44d6
refs/heads/master
2021-06-17T23:07:12.416140
2017-06-09T18:15:24
2017-06-09T18:15:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,419
py
from django.shortcuts import render from django.utils import timezone import sys sys.path.append("./lib") import nrel import inst_size_cost import pandas as pd import sqlite3 import os import pickle import numpy as np db_file = "./solar_logs.sqlite" conn = sqlite3.Connection(db_file, check_same_thread=False) # readin...
[ "evancasebaker@gmail.com" ]
evancasebaker@gmail.com
2a42607304c997da7b4aa4c7611d17a3128629fb
c4f389bddd2f06dbe6cee8469d323f2e919b54af
/3.二叉树遍历.py
3ca46df421bc6a3e20043be098bc5ab2c9075c61
[]
no_license
moshuilanting/examination
a566eb4736296746836d543e4a5e1432b3d5ac1c
e80b136643f846ba5bd2421e8e7a7158157198bd
refs/heads/master
2020-03-29T21:40:18.314077
2019-07-17T05:48:17
2019-07-17T05:48:17
150,379,865
0
0
null
null
null
null
UTF-8
Python
false
false
1,102
py
#二叉树的遍历 # coding: utf-8 class Solution: def __init__(self): self.ret = [] """ @param root: The root of binary tree. @return: Preorder in ArrayList which contains node values. """ def inorderTraversal(self, root): # write your code here if root is not None...
[ "noreply@github.com" ]
noreply@github.com
356c3d0d2080ca4ad61b6ecd2046b5002212c549
0dd881b86146eff46a99e3100a12addcb5b1bde9
/weipinghui2019_zifuchuanxiangjia.py
9450013b2f20ba2c8819ba996bb4dcb91ebcc8c8
[]
no_license
BaijingML/leetcode
8b04599ba6f1f9cf12fbb2726f6a1463a42f0a70
0ba37ea32ad71d9467f73da6f9e71971911f1d4c
refs/heads/master
2020-03-22T05:07:17.884441
2020-01-10T12:13:54
2020-01-10T12:13:54
138,399,745
0
0
null
null
null
null
UTF-8
Python
false
false
697
py
#!/usr/bin/env python # encoding: utf-8 """ @version: python3.6 @Author : Zhangfusheng @Time : 2019/8/18 12:04 @File : weipinghui2019_zifuchuanxiangjia @Software: PyCharm """ if __name__ == "__main__": s1, s2 = input(), input() result = "" add = 0 if len(s1) < len(s2): s1, s2 = s2, s1 ...
[ "2670871693@qq.com" ]
2670871693@qq.com
25d1da88d1366f1ccb7cbe8670e06b566940541c
c62c9f5cb72e23d9ac35260d9c556b35ae1861e4
/collective/z3cform/html5widgets/widget_contenteditable.py
e3cdb08143c1fe06cda58e75623139d08489612d
[]
no_license
collective/collective.z3cform.html5widgets
667cb567d1873cf0ca439df564df8c0cdf4ea6e6
3357495e8b445b5d75ccfc14608c55019b01bf6e
refs/heads/master
2023-03-22T16:39:43.686088
2013-12-05T17:01:54
2013-12-05T17:01:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
815
py
#-*- coding: utf-8 -*- from zope import interface import z3c.form.interfaces import z3c.form.browser.widget import z3c.form.widget class IContentEditableWidget(z3c.form.interfaces.IWidget): """ ContentEditable widget marker for z3c.form""" class ContentEditableWidget( z3c.form.browser.widget.HTMLTextIn...
[ "toutpt@gmail.com" ]
toutpt@gmail.com
d3e24d2e30dd2b4733cc2c7fd0a883b1c2096dfe
1d176007cd7472465c0075f9c695a97517c91fb3
/mnemmaj.py
6ed34d351f7951d44292d3969ae4f0f9543ef79d
[]
no_license
johtso/mnemonic_major
7e2c28e561cb1cdb54cf5f12c5cecf020e75bdca
770ec6c3151bee1279aa6a9cb3d88dbabc699a87
refs/heads/master
2023-06-07T22:03:53.818776
2021-06-30T22:32:37
2021-06-30T22:32:37
381,848,320
0
0
null
null
null
null
UTF-8
Python
false
false
2,068
py
from __future__ import with_statement from collections import defaultdict from itertools import combinations from utils import multi_split def valid_cut_combos(length, max_parts=None, min_part_len=1): """Find all possible ways in which a sequence could be split and return the indices of the split points. ...
[ "johtso@gmail.com" ]
johtso@gmail.com
83e9de6ec92bd6a3b5cc5d7590f02b53fef9d194
d51ae5ad901442f117f68cbac61551fed4e6b89d
/article/migrations/0006_auto_20200326_1225.py
655cf381053b0eba3b0008d6b94b5d1127c72bd0
[]
no_license
wmc-wmc/wmc-ex_2
933717da29ef830d81eda1540ac3551d7f131e32
eea9ead0f66bd68167f46f796d154733b6b28dbc
refs/heads/master
2021-02-13T00:41:14.541497
2020-12-24T00:35:27
2020-12-24T00:35:27
244,646,110
0
0
null
null
null
null
UTF-8
Python
false
false
388
py
# Generated by Django 2.2 on 2020-03-26 12:25 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('article', '0005_text_subject'), ] operations = [ migrations.AlterField( model_name='text', name='image', f...
[ "ting@TingdeMacBook-Pro.local" ]
ting@TingdeMacBook-Pro.local
899115ede16865c53b02a851dff925b61a1bf92a
6eef7d400474384c9e36cafbbae95e3c34dbb6ad
/ben_kremer_clinvitae/urls.py
61103ac498270fed074b36b27f1ff25b7c810666
[]
no_license
codeAligned/clinvitae
61d3c160e9dbc65d548818292681a27501d330ce
4a75c14113dc562991c7d2d1a5812d2db91e2da0
refs/heads/master
2020-05-17T12:02:33.514187
2019-02-21T06:47:35
2019-02-21T06:47:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
182
py
from django.conf.urls import url, include from django.contrib import admin urlpatterns = [ url(r'^admin/', admin.site.urls), url(r'^', include('genomic_variants.urls')), ]
[ "kremerdesign@gmail.com" ]
kremerdesign@gmail.com
41c61351b378ba7f92f5311b6e7ea63f676834df
c6227497c6324cc534ca5d77a9b6cbaeef9876b3
/graphic/jdraw/jdraw_yacctab.py
ad16169ced80a43747e7a9d894d7701125911a2a
[]
no_license
tomasz285/msc-thesis
bb18896a04230ce206edb9d66f37aa4207e57b11
bbd36f9831827931e7ba276cb37b26caec52aa7f
refs/heads/master
2021-01-10T02:44:56.733370
2016-02-16T21:26:18
2016-02-16T21:26:18
49,384,461
0
0
null
null
null
null
UTF-8
Python
false
false
8,003
py
# /home/tango-cs/taurus/taurus-3.6.0/lib/taurus/qt/qtgui/graphic/jdraw/jdraw_yacctab.py # This file is automatically generated. Do not edit. _tabversion = '3.2' _lr_method = 'LALR' _lr_signature = '\x03\x1bS\x1d\xbf\x0c\xbe\xbaa\xfe\xbf\xb7G\x8d%\xb2' _lr_action_items = {'false':([36,48,],[39,39,]),'JDSWINGOBJE...
[ "kowal.tomaszk@gmail.com" ]
kowal.tomaszk@gmail.com
b5d11cb4fb11f4cf0e5130c36622f8d904058afb
fac42425658ee08e9b28dca702315e6dca592391
/analysis/markovs_chain/Python/code_with_comments.py
0a1912e6dcce2f102075a7a73fbebabe0cb5c745
[ "MIT" ]
permissive
maximzubkov/Python_Project
b77c2e0aad4a08b110143209044b6d79aacf258f
3e8295b2c2ee6e8c6a32a54037ea3ded2ce7efcf
refs/heads/master
2022-12-12T01:03:26.280075
2019-05-24T07:24:01
2019-05-24T07:24:01
173,253,159
2
2
MIT
2022-12-08T05:08:56
2019-03-01T07:11:07
Python
UTF-8
Python
false
false
11,323
py
# В этом файле находится много комментариев, которые Илья должен переправить в тех import numpy as np import pandas as pd import networkx as nx import matplotlib.pyplot as plt from pprint import pprint def forward(pi, A, B, obs): # Длина последовательности наблюдений, она, очевидно, равна длине последовательност...
[ "Zubkov.MD@phystech.edu" ]
Zubkov.MD@phystech.edu
2c61d2a6b698b46867da354fa68394e9d35fb506
be9716e8a831305fa3b2fbedf96ee9aa8f3cfaff
/Heuristics/Better_HalideAutotuner.py
d0ae6c0cdd7ad0825fcc7d41ebc763aaa50d542a
[]
no_license
Ikraam/HalideAutotuner
0b94e1c3b8de25cb11e67f69bc4697cf8f0b0f66
19153b72d2496bcdda980d8546bc9868f653d624
refs/heads/master
2020-03-11T11:03:55.880834
2018-06-13T05:04:30
2018-06-13T05:04:30
129,960,042
2
0
null
2018-05-03T12:29:33
2018-04-17T20:17:01
Python
UTF-8
Python
false
false
14,100
py
import hashlib import Restrictions_.ReorderRestriction_ as RR import Restrictions_.ParallelRestriction_ as PR import Restrictions_.SplitRestriction_ as SR import Restrictions_.TileRestriction_ as TR import Restrictions_.ComputeAtRestriction_ as CR import Restrictions_.StoreAtRestriction_ as StR import Restrictions_.Vec...
[ "=" ]
=
86a3b5cd4f854327e26eb753b997bdbb0abc70d4
05713e211c6e6ec956fd53dff57e0819e684e547
/Section 4/code/app.py
9e881a5beab2e11880540bfaf5c971bc4ca572dc
[]
no_license
raunakpalit/RestAPI_Flask
2f38621b478606d8a96b2aec5c2e24c8c06d13d7
c8b76cb2686c105ee6fea30fba22c3e711ba5cbf
refs/heads/master
2022-12-05T11:38:57.597764
2020-07-18T17:04:51
2020-07-18T17:04:51
242,742,854
0
1
null
2022-11-23T10:59:22
2020-02-24T13:26:19
Python
UTF-8
Python
false
false
1,690
py
from flask import Flask, request from flask_restful import Resource, Api, reqparse from flask_jwt import JWT, jwt_required from security import authenticate, identity app = Flask(__name__) app.secret_key = 'jose' api = Api(app) jwt = JWT(app, authenticate, identity) # /auth items = [] class Item(Resource): p...
[ "palit.raunak@gmail.com" ]
palit.raunak@gmail.com
101f0bcd26ac93a0d19c04a64193b47edfef9539
b8069ffd711fc7169d3040805637ada7a02fa3fb
/completed/epi-11:5.py
352d2ce7ab6aa43de2afe32e21e803f93d3d5f33
[]
no_license
aaronchu415/LeetCode
afcd1186f066d64e14e5276e589dd0f1d79227ed
cb8d2d13cb3318ae623db2bd3548e37e8400016c
refs/heads/master
2020-04-13T09:35:57.576275
2019-09-09T23:42:13
2019-09-09T23:42:13
163,115,690
2
2
null
null
null
null
UTF-8
Python
false
false
552
py
# // _NAME: Compute the Real Square Root # // _LINK: https://elementsofprogramminginterviews.com/ # // _CATEGORY: EPI def squareRoot(val, percision): l = 0 h = 0 # find high while h*h < val: h += 1 if h*h == val: return h # divide and conquer to find square root ...
[ "aaronchu415@gmail.com" ]
aaronchu415@gmail.com
51bb7efa0475ef45fd86ca8920bc1f315a6df292
8a70a0b13083fa1405da0b3c5e1f2a4ea961a0b6
/src/saltext/aws/modules/boto_cloudwatch_event.py
186cbb7fa7525d6618809155c4c72af5fae6e78b
[ "Apache-2.0" ]
permissive
major0/salt-aws-extension
2940037302e8bfcb86c1460624154a087248e7f2
ba3b2456a9829af47e0488157d29fd3188ce12df
refs/heads/master
2023-04-10T11:53:42.045542
2021-03-27T00:39:42
2021-03-27T00:49:43
351,498,283
1
0
null
null
null
null
UTF-8
Python
false
false
9,704
py
""" Connection module for Amazon CloudWatch Events .. versionadded:: 2016.11.0 :configuration: This module accepts explicit credentials but can also utilize IAM roles assigned to the instance through Instance Profiles. Dynamic credentials are then automatically obtained from AWS API and no further configu...
[ "major@homeonderanged.org" ]
major@homeonderanged.org
fe04336989f089a6befe5b28a0ce88ca13f12742
1926b52bd87e8fdfbbacdca086fea7c27c7ce048
/calibration_app/counter/Controller.py
2b0e046a3be07e1b462905ef3ff9df4efc93be2f
[]
no_license
mdctleo/calibration_app2
6fdc6cf6a44cbb1addda47bf6ac9243935876adf
2c9223ddf5f4dcb4c0318a4c48172ebdff4e5a92
refs/heads/master
2022-03-18T02:20:35.366680
2019-12-17T00:16:26
2019-12-17T00:16:26
201,561,513
0
0
null
null
null
null
UTF-8
Python
false
false
2,378
py
from flask_jwt_extended import jwt_required from calibration_app.counter import bp from flask import request from calibration_app.counter.Model import GammaCounter, GammaCounterSchema, DatabaseHelper as db from flask import jsonify from response.response import StandardResponse, StandardResponseSchema from exceptions....
[ "mdctleo@hotmail.com" ]
mdctleo@hotmail.com
38ead2deea8618df92b0772d89b4e82bba60f85b
7ce58197aa5d86e78af9c5fccfec68754d18141e
/Practical1/program6.py
5ea8497612d5af50bf624a02dcf8f927f5d7b0cb
[]
no_license
k08puntambekar/IMCC_Python
5187b0c0adeebd0d5caca7fbba21f30e9b10ed8b
815f0b8fd182826e6acb33710416fcbadb4ce5d4
refs/heads/master
2023-04-06T18:41:41.688360
2021-04-07T09:45:58
2021-04-07T09:45:58
355,428,674
0
0
null
null
null
null
UTF-8
Python
false
false
152
py
age = int(input("Enter the age : ")) if age >= 18: result = "eligible" else: result = "not eligible" print("You are ", result, " for voting")
[ "k08puntambekar@gmail.com" ]
k08puntambekar@gmail.com
d8d5f9784b844235aec0bfc1e1d37e1cac1b648a
5ba2331c7a6a55572072f0d7f1a8337b96dd8e62
/1-CrashCourse/selectiveCopy/selectiveCopy.py
ada337c26fe39d87d42a29ad345ffb36a767c07d
[]
no_license
vinnav/Automate-with-Python
3cb25cc6bd9a036e716da74baf96690b7f54dcdc
004d4c621f61591fea1845285167f271d62aa8aa
refs/heads/master
2020-09-01T16:52:37.773697
2020-05-14T09:50:42
2020-05-14T09:50:42
219,009,251
0
0
null
null
null
null
UTF-8
Python
false
false
975
py
# selectiveCopy.py - a program that walks through a folder tree and searches # for files with a certain file extension (such as .pdf or .jpg) to copy # from current folder to a new folder. import os, shutil ext = input("Choose the file extension to copy (\".xxx\"): ") folder = input("Input directory absolute path, o...
[ "54999963+vinnav@users.noreply.github.com" ]
54999963+vinnav@users.noreply.github.com
19129b1d78fce4161c33dcf6af2ae78c65419b8c
ba5648e40aafe40d12a459df72368e5a451520aa
/tripup/asgi.py
c8f761ecab54c5590df8a8aee905310a517cf0cb
[]
no_license
dhanushbmohan7/TripupDjangoDemoTask
ae453237c3582f7878534c3885e0fa6704c199ff
f1bdb792f71ee29e2e9ed97fff9766084ad3360e
refs/heads/master
2023-01-20T22:02:13.250260
2020-11-04T14:10:33
2020-11-04T14:10:33
308,585,921
0
0
null
null
null
null
UTF-8
Python
false
false
389
py
""" ASGI config for tripup 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.0/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANGO_SETTIN...
[ "dhanushmohan57@gmail.com" ]
dhanushmohan57@gmail.com
059d32bc5a3e43b81b2ed35ff301e7e7da28ee00
8b8bd2fd03f2d7cc7681d4d45bb59e0e06fe2284
/janela_principal.py
0ff22f01281e00fe2cd6b408774b588786a70bdb
[]
no_license
VitorFariaAssi/Concessionaria
ed70fd279e56b64867f641ab05dd15d626b37c79
6be225e5cf06b77db656efde607443c44224afe5
refs/heads/master
2020-04-08T09:31:32.371765
2018-11-29T21:09:38
2018-11-29T21:09:38
159,228,263
0
0
null
null
null
null
UTF-8
Python
false
false
1,724
py
#Importando as bibliotecas from tkinter import * from tkinter import messagebox from janela_carros import Janela_Carros from janela_compradores import Janela_Compradores from janela_vendedores import Janela_Vendedores class Janela_Principal(Tk): def __init__(self, controle): #Atributos se...
[ "noreply@github.com" ]
noreply@github.com
cc8a527ecdbc2c8e12cc19b5a1b62ab019acd526
e95f621aa7f8bd90079bc5e04f9f1efbd88dace2
/217.py
03d7a13a9dead6c75a7a64de427e1d149f9c2fa8
[]
no_license
viethan/leetcode
62e489d2fec427ffa19f47aa4ca6df0aa2784d88
b1769ec8cc69386aabbeee1b0f8f60af50d1d375
refs/heads/master
2023-02-24T06:27:41.958500
2021-02-03T20:01:57
2021-02-03T20:01:57
326,131,803
0
0
null
null
null
null
UTF-8
Python
false
false
232
py
class Solution: def containsDuplicate(self, nums: List[int]) -> bool: seto = set() for val in nums: if val in seto: return True seto.add(val) return False
[ "vietaing@gmail.com" ]
vietaing@gmail.com
85a62ad4e2d39d14b6ac3fcf076e854c23c061a7
fcbf03dc1884855ca90362a00ba077f13e0a58e3
/toxsign/scripts/management/commands/_signatures.py
e5a88544c5b00f46f12ee37d5c8c3d9bf2aa112c
[ "MIT" ]
permissive
umr1085-irset/toxsign_v2
ed11f6da404060b6ba6d1314cccb3281f9172d07
71ccf4c98226c6d3e757cec7277c8fcafc60004f
refs/heads/master
2023-05-27T09:33:59.744741
2022-02-11T09:44:11
2022-02-11T09:44:11
194,641,119
0
2
MIT
2022-08-25T08:57:54
2019-07-01T09:22:09
CSS
UTF-8
Python
false
false
6,258
py
import bson import os from ._users import get_owner from ._ontologies import get_ontology, get_ontology_slug from toxsign.signatures.models import Signature from django.core.files import File def process_signatures(path, user_dict, corresp_dict): with open(path,'rb') as f: data = bson.decode_all(f.read())...
[ "mateo.boudet@gmail.com" ]
mateo.boudet@gmail.com
2682f55aaf5210237ac86cccdd7b671bb2c8448f
f3a8b3072c37004cd99b33bc14a13c0b4d30888d
/deepspeed/runtime/config.py
b9ba6cf37cba4713a9f71ecdc516cf49a2c7a9ef
[ "MIT", "LicenseRef-scancode-generic-cla" ]
permissive
sangkeun00/DeepSpeed
5cc7448c43879698c275590b1fbad2be4e6df937
2805c3935ae02558f18a71a115185632b087da70
refs/heads/master
2023-04-14T15:25:33.689385
2021-04-16T21:40:23
2021-04-16T21:40:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
32,404
py
""" Copyright (c) Microsoft Corporation Licensed under the MIT license. """ import torch import json import copy from .constants import * from .fp16.loss_scaler import INITIAL_LOSS_SCALE, SCALE_WINDOW, DELAYED_SHIFT, MIN_LOSS_SCALE from .config_utils import get_scalar_param, dict_raise_error_on_duplicate_k...
[ "noreply@github.com" ]
noreply@github.com
18ec3b9176c0cadcb71400f69ac095ea871c5eee
b4339826d3def43a2553f0ac8d357ed393a8f471
/apps/operation/models.py
1447f0a0a33afa24c352bdb28c638b809f5acae7
[]
no_license
buzzzzx/MultiUser_blog
e8c19537d29ab4d8bc97a2ca62703110adc9d683
1ff6c2c345051406b5862d902ca51939be755528
refs/heads/master
2021-08-08T11:47:06.666011
2017-11-10T08:51:28
2017-11-10T08:51:59
110,224,608
0
0
null
null
null
null
UTF-8
Python
false
false
710
py
from django.db import models from account.models import UserProfile from blog.models import Post # Create your models here. class PostComment(models.Model): post = models.ForeignKey(Post, related_name='comments') # 可通过post.comments.all() user = models.ForeignKey(UserProfile, related_name='blog_comments') ...
[ "buzzzzx233@gmail.com" ]
buzzzzx233@gmail.com
a6e466c3d48ca8393ecaf59191624369d449f64a
45041dc40c1bccc00ab04404bb550b399eb631e6
/src/scripts/analysis.py
6997c12c8830e27188d08d81d58799507fc2ca9c
[]
no_license
rafsanahmed/nlp_pipeline
d034f4e6c20969e7b937f011bb0e03fe5bddbcd5
b6e472f62fe4ebe9bdb939f232b156fbc037dc68
refs/heads/master
2023-03-30T16:02:48.754495
2021-03-23T17:18:54
2021-03-23T17:18:54
350,783,829
0
0
null
null
null
null
UTF-8
Python
false
false
7,796
py
# coding=utf-8 import numpy as np import pandas as pd import math import itertools as it import matplotlib.pyplot as plt import seaborn as sns from collections import defaultdict from typing import Any, Dict, List, NamedTuple, Tuple from sklearn.manifold import TSNE """ meeting notes (unrelated to this file) RESULT -...
[ "rafsan.ahmed@std.antalya.edu.tr" ]
rafsan.ahmed@std.antalya.edu.tr
2bdb1b2385181fd239dace5a48e5ffa805a4bd4e
3c582a006b945cd95974d910ab5b0ff551ab42fa
/tsuru_dashboard/auth/tests/test_change_password_form.py
7842f5c31e26fd2cb7f2eda76671938ed23b4712
[]
no_license
tsuru/tsuru-dashboard
f8be15a72366a5cefeadd4a3aac117ed760e85bc
c94b0b1a6ec30d7f59b939adcff41646bad00e87
refs/heads/master
2023-06-22T12:01:20.024933
2022-10-20T19:50:47
2022-10-20T19:50:47
5,112,553
119
60
null
2023-06-13T17:53:35
2012-07-19T16:31:42
Python
UTF-8
Python
false
false
1,514
py
from django.test import TestCase from django.forms import PasswordInput from tsuru_dashboard.auth.forms import ChangePasswordForm class ChangePasswordFormTest(TestCase): def test_form_is_valid(self): data = { "old": "old", "new": "new", "confirm": "new", } ...
[ "andrewsmedina@gmail.com" ]
andrewsmedina@gmail.com
7f7b81e36271c0a7e841f36abcf7a0493c64449e
44ea4a4bcf2eb31c53bdab3eca6ec67be2f8f6b0
/1주차/인공지능기초수학(0736)(2020년도, 1학기, A00000736)-1주차 실습 과제-68270/이재언_108149_assignsubmission_file_/2014122215_week1.py
62d439fa9a8ed28d6db3ce6b75be10a5855e5ae6
[]
no_license
seungjae6874/AI_basicmath
12550a6805c3d71a7d988cfd4f1d36d9768d96bb
ca66ff9601f4a67073190fe256ec326d04d267ae
refs/heads/master
2021-03-25T21:37:26.313039
2020-03-27T17:13:13
2020-03-27T17:13:13
247,647,289
0
0
null
null
null
null
UTF-8
Python
false
false
935
py
import numpy as np #q_1 _1a = np.ones(5) print('1-a : ', _1a) _1b = np.zeros(5) print('1-b : ', _1b) _1c = np.full(5,5) print('1-3 : ', _1c) _1d = np.arange(1,6) print('1-d : ', _1d) _1e = np.arange(1,10,2) print('1-e : ', _1e) list_1f = [1,5,2,3,9] _1f = np.array(list_1f) print('1-f : ' , _1f) #q_2 _2a = np.a...
[ "qkrtmdwo1@gmail.com" ]
qkrtmdwo1@gmail.com
447a4c6bb4a56e90eca9853451f886b92d8691e2
c07f534ad2282e9077aba43033eb2b5c5d5ba90b
/BST_Cipher.py
38e3bc80d86dcd90866e37ebfa13a58527df5377
[]
no_license
rmoore2738/CS313e
66826e5333a199be6d5dd11aa96ac19dd07994e7
89b125087c47016a9ef4a07175242293524bb51c
refs/heads/main
2023-03-21T04:25:47.673971
2021-03-07T05:51:31
2021-03-07T05:51:31
345,267,398
0
0
null
null
null
null
UTF-8
Python
false
false
4,686
py
# File: BST_Cipher.py # Description: assignment 21 # Student Name: Rebecca Moore # Student UT EID: rrm2738 # Partner Name: Jacob Baack # Partner UT EID: jb72873 # Course Name: CS 313E # Unique Number: 50845 # Date Created: 11/15/2020 # Date Last Modified: 11/16/2020 import sys class Node(object): ...
[ "noreply@github.com" ]
noreply@github.com
ea5601e1a9a55b707c0d21519a92b1ec08e69eba
2075f2b59602ddaf539a5d35c4c84172a6433eb4
/scrape/pipelines.py
efc55fb66d1201c1de17f15caed225a41a0371e0
[]
no_license
jokull/orflaedi
75f5551b5ded6cb57c32cd6e53f402bec3d29e10
145847b107f59cccb65393ac015b3a229428561a
refs/heads/master
2023-07-06T16:59:35.239077
2023-06-29T19:35:37
2023-06-29T19:35:37
244,495,780
12
1
null
2023-06-29T19:35:38
2020-03-02T23:14:26
Python
UTF-8
Python
false
false
2,864
py
import os import datetime as dt from sqlalchemy import create_engine from sqlalchemy.orm import sessionmaker from scrapy.utils.project import get_project_settings from orflaedi.models import Model, Retailer, VehicleClassEnum def get_or_create_retailer(db, slug): retailer = db.query(Retailer).filter(Retailer.sl...
[ "jokull@solberg.is" ]
jokull@solberg.is
77916008cef97dbe592ed28bdeb1fc24ef507f5b
770801815a644df6de1d252799be520f69e467be
/dataResearch.py
6b536432e9bb4642b8725ba2d3387a16d122c71f
[]
no_license
chutianwen/CapitalOneHackerthon
ad2b693694945ff56fa5e2ebf1c3a00dfec75439
5337b954b529c03c87816e8927cf1620a26e8a49
refs/heads/master
2021-05-07T13:37:39.336866
2017-11-05T17:03:44
2017-11-05T17:03:44
109,598,580
0
0
null
null
null
null
UTF-8
Python
false
false
2,182
py
from collections import Counter with open("./Dataset/merchant_list.txt") as f: text = f.read() merchant_names = text.split(",") text = text.lower() text = text.replace('.', ' <PERIOD> ') text = text.replace(',', ' <COMMA> ') text = text.replace('"', ' <QUOTATION_MARK> ') text = text.replace(';', ' <SEMICOLON> ') t...
[ "tianwen.chu@fedcentric.com" ]
tianwen.chu@fedcentric.com
791d0a9fae82a498c3c6ab479b99bb52d29b6763
130215e73cd45824fc5b7b2bc85949ce03115f20
/py/portfol_classical050_1.py
0607e55cae5a9a34dcf658afe57615f9c5a260ba
[]
no_license
felicitygong/MINLPinstances
062634bf709a782a860234ec2daa7e6bf374371e
1cd9c799c5758baa0818394c07adea84659c064c
refs/heads/master
2022-12-06T11:58:14.141832
2022-12-01T17:17:35
2022-12-01T17:17:35
119,295,560
2
1
null
null
null
null
UTF-8
Python
false
false
74,910
py
# MINLP written by GAMS Convert at 11/10/17 15:35:22 # # Equation counts # Total E G L N X C B # 104 52 0 52 0 0 0 0 # # Variable counts # x b i s1s s2s sc ...
[ "feligongcity17@gmail.com" ]
feligongcity17@gmail.com
61d74a672da4b001da73993e6e359cca323cec19
feb642a2141e5f52495e05ee186eb58032267f88
/Python/Basics/Day2/ArpitPardesi_59128_Assignment(Day2)/Tuples/Q12.py
282e3150aff87c25e164c7d0a8fd4f8ad5e2188b
[]
no_license
arpitpardesi/Advance-Analytics
51a065122725ef8f77bd61b974528f080acd9662
121a1211a0e6a2f065323c1b93c9d4ec510e1663
refs/heads/master
2022-12-23T20:11:59.689926
2020-09-27T13:53:19
2020-09-27T13:53:19
283,406,449
1
0
null
null
null
null
UTF-8
Python
false
false
73
py
a = (2, 4, 5, 6, 2, 3, 4, 4, 7) a=list(a) a.remove(4) a=tuple(a) print(a)
[ "arpit.pardesi6@gmail.com" ]
arpit.pardesi6@gmail.com
973bb474b64c7180a6813c4c867dc5d616d93c62
784386a14c39f886c6d466a399cb42b3fd2223ee
/Códigos/Aumento dos Trabalhadores.py
d6fde0bcbb4de5de93e1cc338f04843bb60b3138
[]
no_license
Joao-Godoi/Python_The_Huxley
7ecf4c20616141e1286c7b35977193ba1da1e123
9f9469270cb79ec7c5245c3c97fd52dc8b40a419
refs/heads/master
2022-11-28T13:48:16.490584
2020-07-31T01:53:46
2020-07-31T01:53:46
283,913,642
2
0
null
null
null
null
UTF-8
Python
false
false
241
py
sal = float(input()) if sal > 500: salf = sal + (sal * 0.1) print("%.2f" % salf) elif sal > 300 and < 500: salf = sal + (sal * 0.07) print("%.2f" % salf) else: salf = sal + (sal * 0.05) print("%.2f" % salf)
[ "jaoo.godoi@gmail.com" ]
jaoo.godoi@gmail.com
75b85fa0661a0216227c774f41798c79fce39204
372d8a46cc772ec90185119d8d42abd70bd10a0e
/a5_pacman/.env/lib/python3.6/__future__.py
81df94d9965d1c3f95a3ce47e730587c5a4f3ed2
[]
no_license
white99black/CS221
30d6c1c3fa860b6fc8a0ccfc7e20e43a91623f19
5cdb80dda161671466343ac81ca33875116bca69
refs/heads/master
2023-03-17T14:59:52.839330
2019-04-22T13:38:00
2019-04-22T13:38:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
54
py
/Users/datnguyen/anaconda3/lib/python3.6/__future__.py
[ "lonelyicevalley@icloud.com" ]
lonelyicevalley@icloud.com
e62d95153f82bb367e71f172e35efcf46b0d94ff
c65b0d797c4ec076d883b353e5f12f8ec86f817c
/svdca/pages/crawling.py
eda644085b32b192be5f4bba2cfa56bf40ba5055
[]
no_license
yhx9527/graduate_project_yhx
18932994d3b2194fb0fa545deb322c0beac757b9
b89ad6deee41ea2feb6a669889bcfcb040b47086
refs/heads/master
2022-10-09T11:34:11.838666
2020-06-05T02:45:53
2020-06-05T02:45:53
255,004,827
11
2
null
null
null
null
UTF-8
Python
false
false
8,551
py
import dash_core_components as dcc import dash_html_components as html from dash.dependencies import Input, Output, State from dash.exceptions import PreventUpdate from app import app,server from .common import header, info_crawl # from douyin_crawler.crawl_post_pt import Douyin, MyRedis from celery_app.tasks import cr...
[ "540230904@qq.com" ]
540230904@qq.com
b474c6cdd565a582e877403b9c33d983b20435c5
2e321bfa40d9483a2fab479dbb201dfbe039d9c9
/simple_main.py
737298495ddb07bfc6afc30fd9637cdfe5e1e700
[]
no_license
lukawskikacper/sentiment-analysis-rd
f7d4f91a42a54c4d41276e3a2efd99315af0b0d2
b43d626556fd4dc6d6934690d62eb98eb6e385f8
refs/heads/master
2021-09-24T08:17:45.343159
2018-10-05T14:24:57
2018-10-05T14:24:57
104,850,554
0
0
null
null
null
null
UTF-8
Python
false
false
4,473
py
# -*- coding: UTF-8 -*- import copy import itertools import logging import random from sklearn.ensemble import RandomForestClassifier from sklearn.feature_extraction.text import CountVectorizer, TfidfVectorizer from sklearn.metrics import accuracy_score from sentiment.loader import load_airlines_data, load_thinknook_...
[ "kacper.lukawski@codete.com" ]
kacper.lukawski@codete.com
0d4cc0aec47d069baf3a3d517d8c41f8f44f7a43
dc3354ca5cae3cd4dd5e1a17dac160c833368ec6
/wandb/run-20210616_213902-ndmjb3sa/files/code/basnet_train.py
fe54b6ac7ef1d5030fbed7ff16115c44f2dc1f02
[ "MIT" ]
permissive
deephog/BASNet
35169db87d104190343fb90ae3f14630fb29a608
7770bc69f00b2bb7421c6ea7b26f38f6ca02082f
refs/heads/master
2023-05-31T10:53:41.032937
2021-06-27T01:09:15
2021-06-27T01:09:15
371,194,340
0
0
MIT
2021-05-26T23:38:03
2021-05-26T23:38:02
null
UTF-8
Python
false
false
10,781
py
import torch import torchvision from torch.autograd import Variable import torch.nn as nn import torch.nn.functional as F from torch.utils.data import Dataset, DataLoader from torchvision import transforms, utils import torch.optim as optim import wandb import torchvision.transforms as standard_transforms import nump...
[ "easonsbox@outlook.com" ]
easonsbox@outlook.com
663175d84618b1612f00e593024da938380a9840
98accbb4d8c8f972bfda31e12fabab7c3ca37533
/linux_lou_plus/step_7/multiprocess/process_sys.py
4d33b61e088ad55ac86b641f5138761583f1014d
[]
no_license
qimanchen/interview_plan
49e5a323f35b8b3496d5dc4baba0f12a1b2c2a13
6a11a1927a14ce3fc439149e907a3febbee446a7
refs/heads/master
2022-12-10T05:25:54.927847
2020-06-13T02:54:25
2020-06-13T02:54:25
194,584,004
0
0
null
2022-12-08T05:25:13
2019-07-01T02:08:27
Python
UTF-8
Python
false
false
555
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import time from multiprocessing import Process, Value, Lock def func(val, lock): for i in range(50): time.sleep(0.01) with lock: val.value += 1 if __name__ == "__main__": # 多进程无法使用全局变量,multiprocessing 提供的 Value 是一个代理器, # 可以实现在多进程中共享这个变量 v = Value('i', 0...
[ "1033178199@qq.com" ]
1033178199@qq.com
9851d845473ed6fbc6126a25358bcd7ae744f2b9
3043ff697647429b5164806e218a1bf69e96cd3d
/dolon/migrations/0004_auto__del_field_imageitem_image.py
d702793406f90a5723f909e6a3cb40bbb598fb99
[]
no_license
erickpeirson/Dolon
bc584823bd4dbc468a5b30d4a8045d7729dfe3ab
fa33aa5589c52c4770c7a177314b0a71318e313a
refs/heads/master
2016-09-11T02:27:07.226209
2014-10-15T17:02:15
2014-10-15T17:02:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
21,266
py
# -*- coding: utf-8 -*- from south.utils import datetime_utils as datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Deleting field 'ImageItem.image' db.delete_column(u'dolon_imageitem', '...
[ "erick.peirson@asu.edu" ]
erick.peirson@asu.edu
858de1928b97fdc5fad1fbb1c8ea95c4fac0d86e
9e6a38cd8a27c4469617a9ad0a22f45df1dd8996
/conftest.py
594eda7460af96367b51c3cf13aab408526587bd
[]
no_license
myd10/Testing-1-2-3-Exercise
21bd77b34f0f8d21cfab899bd569cb4cdbec74c2
53628d05b2815b2135f689a567ae56bcb8caf0e3
refs/heads/master
2021-04-18T12:58:50.661317
2020-03-23T21:53:00
2020-03-23T21:53:00
249,546,642
0
0
null
null
null
null
UTF-8
Python
false
false
79
py
#helps pytest recognize structure of repo #put it root directory of the repo
[ "myd10@georgetown.edu" ]
myd10@georgetown.edu
b623443023541b6e4ddddae8fe77cd330c279da3
aa4e8b335b6bd3041f91493115aae71af475ca6f
/server/activities/migrations/0012_auto__del_field_relational_scored_nodes__del_field_relational_source_p.py
fad771a00b15d1c466868eb98ae812b5d946f00b
[]
no_license
CulturePlex/DrGlearning
565165687544eda9b524f4b6ee7477fe017cd16a
1949ae23f76d9858e9ef3b529035b4a15c1dc5d3
refs/heads/master
2021-03-30T16:13:06.814365
2014-07-01T22:41:32
2014-07-01T22:41:32
2,485,130
1
0
null
null
null
null
UTF-8
Python
false
false
9,753
py
# encoding: utf-8 import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Deleting field 'Relational.scored_nodes' db.delete_column('activities_relational', 'scored_nodes') ...
[ "escalant3@gmail.com" ]
escalant3@gmail.com
45d2a65651be56165f6cfe5b28a341f127eb57a5
302442c32bacca6cde69184d3f2d7529361e4f3c
/cidtrsend-all/stage1-model/pytz/zoneinfo/America/Boa_Vista.py
297b01070fa499ceb5132271bc1a11bdd52ca2e8
[]
no_license
fucknoob/WebSemantic
580b85563072b1c9cc1fc8755f4b09dda5a14b03
f2b4584a994e00e76caccce167eb04ea61afa3e0
refs/heads/master
2021-01-19T09:41:59.135927
2015-02-07T02:11:23
2015-02-07T02:11:23
30,441,659
1
0
null
null
null
null
UTF-8
Python
false
false
1,896
py
'''tzinfo timezone information for America/Boa_Vista.''' from pytz.tzinfo import DstTzInfo from pytz.tzinfo import memorized_datetime as d from pytz.tzinfo import memorized_ttinfo as i class Boa_Vista(DstTzInfo): '''America/Boa_Vista timezone definition. See datetime.tzinfo for details''' zone = 'Amer...
[ "learnfuzzy@gmail.com" ]
learnfuzzy@gmail.com
74d2a558a4804828a9145faa9f29cb68befaa600
d89d79ff58847b32e4fd0bc9c82ac81562e2fa97
/FindString.py
67ca79d10a8cd5e7950d32e8e1caccc148fc74ea
[]
no_license
markuswehr/Hackerrank_Practice
a39e6ab5b1e3f8f044fa2946c1a5c5006ff31652
f8d35711ce00513553f1e96c10921c22b5e7093e
refs/heads/master
2020-12-23T11:15:54.709744
2020-03-02T20:59:51
2020-03-02T20:59:51
237,134,640
0
0
null
null
null
null
UTF-8
Python
false
false
1,190
py
{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "## Find a string" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "https://www.hackerrank.com/challenges/find-a-string/problem" ] }, { "cell_type": "code", "execution_count": 1, "metadata...
[ "51182774+markuswehr@users.noreply.github.com" ]
51182774+markuswehr@users.noreply.github.com
fbbdda07981435a1e5b2352eac237437b9b3a56a
4bdfeb18333b29093e3dc800c30ad3b807f954c4
/RaspberryPiTemp-dispenser/demo_lcd.py
23ee796d1641a1cfd07628fad4a7eee24aadb0cf
[]
no_license
munriver98/raspi
df4b8009237f01bfa0ab0c39dc1517736ab429f2
c16d71a1aa1e1c5d23d0026279289d52e2cd0455
refs/heads/master
2023-05-01T09:50:15.851954
2021-05-09T13:50:07
2021-05-09T13:50:07
365,542,270
0
0
null
null
null
null
UTF-8
Python
false
false
1,709
py
#! /usr/bin/env python # Simple string program. Writes and updates strings. # Demo program for the I2C 16x2 Display from Ryanteck.uk # Created by Matthew Timmons-Brown for The Raspberry Pi Guy YouTube channel # Import necessary libraries for communication and display use import drivers from time import sleep # Load ...
[ "munriver@gmail.com" ]
munriver@gmail.com
e3b34a1b4d9feee629b04bb027d7e2adb76cfdc4
9a4d54b57bf91a25c66056d5c69007c7b5064298
/Ringzero/SqlInjection/Challenge52/chall.py
7a5e8609b580dc8a278f016b49715c4001ed4eb0
[]
no_license
naiame-neltheri/WriteUps
b6b7f4d234eba0891cc316a955f6b83283b479bb
355b8a46b4eab3d8980cc858c2df222dc659591d
refs/heads/main
2023-04-20T20:02:23.000470
2021-05-04T15:42:06
2021-05-04T15:42:06
221,709,392
0
0
null
null
null
null
UTF-8
Python
false
false
1,062
py
from bs4 import BeautifulSoup import cmd, sys, urllib, requests, urllib3 urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning) SESSIONID = "koctqa7tb0g6fttle10bjk0470" BASE_URL = "https://ringzer0ctf.com/challenges/52" HEADERS = {"Content-Type" : "application/www-form-urlencoded", "Origin" : "https://ri...
[ "naiame.pb@gmail.com" ]
naiame.pb@gmail.com
aaf49f0a1c7a4fcc25f2f3662a00fbb7b9f63258
37f2645e35dca2a7bcd867a322fc194e2add254c
/git_comands.py
730c8356261505de0bdf755b3e797dd0cbc1287b
[]
no_license
Moldokulovvv/git_practice
2d0fa78ac3f28ba5f1063e5c252d9b81908f354d
9e113782294c93e060176adb9ad40cae444c2e47
refs/heads/test
2023-02-14T04:36:04.565206
2021-01-15T05:41:57
2021-01-15T05:41:57
329,815,109
0
0
null
2021-01-15T05:41:58
2021-01-15T05:11:19
Python
UTF-8
Python
false
false
207
py
git init -.git git remote add name url git pull origin master git status git add git commit -m 'comment' git branch git branch name branche git checkout name branch got push origin master git reset filename
[ "adis_98.kg@mail.ru" ]
adis_98.kg@mail.ru
ad78618b4ca3864729080a5015d73b1769666863
4a9ccb2c3fc568ab391a7d984404187cf35a8fa9
/python-model-tests/src/laman_tests.py
6405ecf29fc87e050e4cd06de0587126827fc1e0
[ "MIT" ]
permissive
listochkin/icfp-contest-2014-cw-Branto
6cad2c75315ce173e58b3cd233888abadd4f6ce4
89b70e240da85e429c9e685d982a30f4310e23a1
refs/heads/master
2018-12-29T17:02:14.198703
2014-07-30T23:31:24
2014-07-30T23:31:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,949
py
import unittest from laman import * class TestCase(unittest.TestCase): def assertDirectionEquals(self, expected, actual): self.assertEqual(expected, actual, "{} != {}".format(DIRECTION_NAMES[expected], DIRECTION_NAMES[actual])) text_map_chars = { '#': WALL, ' ': EMPTY, '.': PILL, 'o': PO...
[ "singalen@gmail.com" ]
singalen@gmail.com
6391caa9b05e6cdd34e7ec19d86a6e782acb9ba7
3e9719b1769c721deff50f221dadf7cdc4246d41
/tradinglib.py
67653f462a4c59c5b325aed68bd3ca0f558e579b
[]
no_license
bibiebliss/Stock-Trade
0fd801536d6a5fb618e38aa886da553e731cc059
917ecc8930855b9c7b422fb41e849fae278f39bf
refs/heads/main
2022-12-23T22:59:52.853599
2020-10-05T02:27:48
2020-10-05T02:27:48
301,264,958
0
0
null
2020-10-05T02:26:25
2020-10-05T01:32:49
null
UTF-8
Python
false
false
859
py
"""CSC 161 Project Extra Credit Blessing Babajide Lab Section TR 12:30 - 1:45pm Fall 2019 """ class Stock: def __init__(self, stocks, funds, price, qty): self.stocks = stocks self.funds = funds self.price = price self.qty = qty def buy_stock(self): if self.funds < (se...
[ "bibiebabajide@gmail.com" ]
bibiebabajide@gmail.com
27662d158b11bc9bb0943ec4d1b442d23925248b
b75fa0885bc3ba3f153225fd3396aadef6c1f97e
/slides/pypyjs/lib-py3k/modules/_functools.py
e51a4aa7f3b13c9b4d6cc9168e73ea720b598012
[ "MIT" ]
permissive
rfk/talk-pypyjs-what-how-why
e084303185167dbc9b704c3568e0c31d0a1f6885
1ab62ee32ff9495ae9313ec81e8ee2044212ea71
refs/heads/master
2016-09-06T05:27:09.800382
2015-04-10T03:12:07
2015-04-10T03:12:07
22,421,369
2
0
null
null
null
null
UTF-8
Python
false
false
2,980
py
""" Supplies the internal functions for functools.py in the standard library """ try: from __pypy__ import builtinify except ImportError: builtinify = lambda f: f sentinel = object() @builtinify def reduce(func, sequence, initial=sentinel): """reduce(function, sequence[, initial]) -> value Apply a function of t...
[ "ryan@rfk.id.au" ]
ryan@rfk.id.au
1ff299dbd34045ce3d21c1e6df2d76e864630543
83457103ecfe48114146c5d7528aa4f22734d529
/09.已完成/02.数据整理/真菌数据整理/genome_size.py
86350fdf6e0889b38e469a6a5ae2530d7496b8d6
[]
no_license
quincy-deng/pathogen-in-BGI
3edb063cc669ae1202cdd206c92f137a79638035
ae6688153fbb8464b6e5c58cf0b67a4544894d0d
refs/heads/master
2021-07-16T19:22:54.795828
2020-05-21T01:56:49
2020-05-21T01:56:49
155,389,968
0
1
null
null
null
null
UTF-8
Python
false
false
917
py
from urllib.request import urlopen import re from bs4 import BeautifulSoup html = urlopen( "https://morvanzhou.github.io/static/scraping/table.html" # 1, https://morvanzhou.github.io/static/scraping/basic-structure.html2, https://morvanzhou.github.io/static/scraping/list.html ).read().decode('utf-8') # res = re.fi...
[ "395319225@qq.com" ]
395319225@qq.com