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
2df59917675f17b1ef4c2e128cb4b35161ef9123
c578281dc76364763c4e633c6a2ce984464a6600
/scarlette/constants.py
adcea08899bc71f26bee492da282d9deabbaa0b4
[ "MIT" ]
permissive
frankhart2018/scarlette
faef851ab720ac789d730ea63851dcb3f26b3745
de472fbd03f27ebc9056bd40b2d818fbef493ee6
refs/heads/master
2023-06-09T09:21:06.753448
2021-06-22T14:08:32
2021-06-22T14:08:32
379,288,720
0
0
null
null
null
null
UTF-8
Python
false
false
211
py
from pathlib import Path import os INSTALLATION_DIR: str = os.path.join(str(Path.home()), ".scarlette") GITHUB_CREDS_FILE: str = os.path.join(INSTALLATION_DIR, "github") OPTIONS = """1. Github Repo Creator"""
[ "siddharthadhar.soumen@srmuniv.edu.in" ]
siddharthadhar.soumen@srmuniv.edu.in
53b343e14ec050c62cbaff4ace4811ff12ea876e
52af41612bdff8ca2348197b7a80dc365cac0664
/test/functional/feature_filelock.py
e80a2271b135cb890b8fd8a96fbe3d4b02898bee
[ "MIT" ]
permissive
pill-pals/pillcoin
263617fa9787d2700b74c50c6bd06cd4ff300f71
ddab177dd6973982975890831a56ad6f1fd96448
refs/heads/master
2023-05-04T03:14:18.131963
2021-05-23T22:12:17
2021-05-23T22:12:17
369,870,018
1
0
null
null
null
null
UTF-8
Python
false
false
1,795
py
#!/usr/bin/env python3 # Copyright (c) 2018 The Bitcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Check that it's not possible to start a second pillcoind instance using the same datadir or wallet.""" impor...
[ "williamnharvey@gmail.com" ]
williamnharvey@gmail.com
1dfbbe2ea61180cb081caccafe1da9c037398c25
bb32aa23f6c87dba0e5fc2afa49a71f48c82bf54
/toutiao/牌积分.py
5e90da5b3ce87bc6752caef2ef330a3e51b216fc
[]
no_license
jwf-ai/algorithm
fecae169f0efb96ae70d0591ef0a981d130c1df1
7d5521472a9536a04ae1827ae67e6067c8809538
refs/heads/master
2020-03-26T03:06:51.694616
2018-09-18T06:55:46
2018-09-18T06:55:46
144,440,033
0
0
null
null
null
null
UTF-8
Python
false
false
659
py
# encoding: utf-8 scores = [ (9,7), (5,3), (5,8), (3,7), (1,4), (8,5), (4,2), (1,3)] scores = sorted(scores,key = lambda i:[i[0]],reverse=True) print(scores) a = 0 b = 0 sum_score = 0 temp = 0 for i in range(0,len(scores)): if a > b: b += scores[i][0] temp += score...
[ "jiawenfu@foxmail.com" ]
jiawenfu@foxmail.com
3d4e242013f1f59e23cd6283e76aeefb57384ae8
88a67b8291d6aec658fb2a8ca39f9ca49c6912e4
/regression/adaboost/imp_z99_z0.py
6f77e0ed985dd518862cb46ca53a6721c1b400dd
[]
no_license
lluciesmith/mlhalos_code
fc08929181020bf98a801d6d4c1bcde178b33035
d17502f8d1d633ba1f9cfdc44e3706b26a081f02
refs/heads/master
2023-02-05T15:35:30.957324
2020-12-30T13:44:17
2020-12-30T13:44:17
186,514,112
0
0
null
null
null
null
UTF-8
Python
false
false
4,287
py
""" Get errorbars for importances on z=0 and z=99 training features from different training sets. """ import sys sys.path.append("/home/lls/mlhalos_code") import numpy as np from regression.adaboost import gbm_04_only as gbm_fun from multiprocessing.pool import Pool saving_path_z0 = "/share/data2/lls/regression/grad...
[ "ucapllu@ucl.ac.uk" ]
ucapllu@ucl.ac.uk
51c46c7b731fd93f82f800a5134109dc0fd3e110
cc37173708f802eb6d095708524a8b808833f102
/scratch/test/pyflow_unit_tests.py
fa260a733bb425419c0d0368ac68bec4efc6a471
[ "BSD-2-Clause" ]
permissive
abladon/pyflow
d6b2b0b9d4c069179a6a1fca504aadcff4a96edb
bbce40b983e90a40255ecd38112cf8301d2b6994
refs/heads/master
2021-01-16T20:32:15.685045
2016-02-21T20:15:58
2016-02-21T20:15:58
51,919,180
0
0
null
2016-02-17T11:55:10
2016-02-17T11:55:10
null
UTF-8
Python
false
false
13,495
py
#!/usr/bin/env python import unittest import os import sys scriptDir=os.path.abspath(os.path.dirname(__file__)) def pyflow_lib_dir() : return os.path.abspath(os.path.join(scriptDir,os.pardir,os.pardir,"pyflow","src")) try : # if pyflow is in PYTHONPATH already then use the specified copy: from pyflow im...
[ "csaunders@illumina.com" ]
csaunders@illumina.com
cb4f44a116888a1d380e4583492b90293e51c33b
0d01cff14457e2d2feb111f74c07f3b8113de98e
/Scrapy1/shiyanlou_courses_spider.py
92cd6bc2ac4795b1186c86c8e58d16ae921635a9
[]
no_license
njqijie/shiyanlou-001
1824726efe3acf4d31852e00a6803c1528f3e4a2
55985974cb659cfec345b271685a4e911d66a1a7
refs/heads/master
2020-03-25T01:58:57.439549
2018-12-31T02:31:54
2018-12-31T02:31:54
143,267,722
0
0
null
null
null
null
UTF-8
Python
false
false
770
py
import scrapy class ShiyanlouCourseSpider(scrapy.Spider): name = 'shiyanlou-courses' def start_requests(self): url_temp = 'https://www.shiyanlou.com/courses/?category=all&course_type=all&fee=all&tag=all&page={}' urls = (url_temp.format(i) for i in range(1,23)) for url in urls: yield scrapy.Request(url=url,c...
[ "909967625@qq.com" ]
909967625@qq.com
65332f10fc0988bb35231e7f78e2f5138eccf221
a94711afdd30bcf2e8ddb7d7fb7100b808b32a8c
/events/scaffolding.py
1584737e3698498bbcc4eca150d6cac948bf88ca
[ "MIT", "Apache-2.0" ]
permissive
shawnwanderson/campfire-empire
7dda251912d6e823864cbeb7c03200082c0c3863
6492d9fd938b3e567e61257bd94848b0dd8a7e1f
refs/heads/master
2021-01-12T09:12:25.879677
2016-12-23T22:56:11
2016-12-23T22:56:11
76,797,101
0
0
null
null
null
null
UTF-8
Python
false
false
154
py
from generic_scaffold import CrudManager from events import models class EventCrudManager(CrudManager): model = models.Event prefix = 'events/'
[ "swanders@ualberta.ca" ]
swanders@ualberta.ca
01f4fe39300dabb28ebd9429d9b72f65a855968c
ae400fd04ee0bb85f96e044c78bf492be027b2df
/ML/sample/knn/knntest1.py
172e92305bba32bab538f1ab0a95a0970d1ca765
[]
no_license
allragedbody/stocknew
34df913c22e0174d1176262044f8413e83e64899
62a5bbf17e3780a52b51b262e0d70bfe4cd8ca4e
refs/heads/master
2022-12-21T11:40:28.695153
2018-05-25T20:12:23
2018-05-25T20:12:23
114,553,952
1
1
null
2022-12-15T19:16:03
2017-12-17T17:06:28
JavaScript
UTF-8
Python
false
false
194
py
# -*- coding: utf-8 -*- from numpy import * import operator def createDataSet(): group = array([[1,0,1,1],[1,0,1,0],[0,0],[0,0,1]]) lables=["A","A","B","B"] return group,labels
[ "dengyunfei@360buyAD.local" ]
dengyunfei@360buyAD.local
3ac346f5f0d1b99994cb17d2dd5b8ece984c5a40
239efcf3d973038c30ea9babc701563d65871df7
/app/app-mon.py
bb72073d12af98f4ff9219fc6dfb540fed0c94e4
[]
no_license
Shaverdoff/k8s-conf-demo
c36df1b71957748841ee5385edb005eddd8f2d2f
6f00715be73c5ad328b3d493ce514836759a66d4
refs/heads/master
2023-05-31T06:35:17.677962
2019-11-28T22:45:13
2019-11-29T08:30:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
575
py
import logging import os import time from flask import Flask, request from prometheus_flask_exporter import PrometheusMetrics app = Flask(__name__) metrics = PrometheusMetrics(app) metrics.register_default( metrics.counter( 'by_path_counter', 'Request count by request paths', labels={'path': la...
[ "s.filatov@corp.mail.ru" ]
s.filatov@corp.mail.ru
c96da4d6adf70412a46950a957b42ea1338f0606
b2ba670818623f8ab18162382f7394baed97b7cb
/test-data/AndroidSlicer/BankDroid/DD/37.py
af170605ae9b42ea75c17acd7f27e44ef9df9f88
[ "MIT" ]
permissive
hsumyatwin/ESDroid-artifact
012c26c40537a79b255da033e7b36d78086b743a
bff082c4daeeed62ceda3d715c07643203a0b44b
refs/heads/main
2023-04-11T19:17:33.711133
2022-09-30T13:40:23
2022-09-30T13:40:23
303,378,286
1
1
null
null
null
null
UTF-8
Python
false
false
2,060
py
#start monkey test seedNo 0 import os; from subprocess import Popen from subprocess import PIPE from com.android.monkeyrunner import MonkeyRunner, MonkeyDevice, MonkeyImage from com.android.monkeyrunner.MonkeyDevice import takeSnapshot from com.android.monkeyrunner.easy import EasyMonkeyDevice from com.android.monkeyru...
[ "hsumyatwin@gmail.com" ]
hsumyatwin@gmail.com
3f1f86b62b84192ceadb64c5442dcff6c7359b7b
0ae8c7592a4e0b5c47f79a333e442db5f0c2b147
/amstr.py
677f4adda054e711de41b1d871fd3022febee8f9
[]
no_license
Rihanashariff/pythonscript
3ff350495f28533f65d209e3e2f2548f94828477
d0417d214e5f527e2a07895c5cf8e93715177034
refs/heads/master
2020-06-12T07:41:58.571425
2019-08-28T09:41:55
2019-08-28T09:41:55
194,235,397
0
2
null
null
null
null
UTF-8
Python
false
false
119
py
a=int(input()) xy=a sum=0 while a>0: y=a%10 sum=sum+y*y*y a=a//10 if xy==sum: print("yes") else: print("no")
[ "noreply@github.com" ]
Rihanashariff.noreply@github.com
320d1ef55d49843b686a7ad0ff8487e2fcbb025f
ef7ed04e1fa70d13cdbdb2155f7381fdf5f79be7
/src/reporter/core/migrations/0002_auto_20200617_1718.py
846345d10ccd73093fd48ae793f2cdd0cc458834
[]
no_license
seisplot-coder-s/reporter
8b23ee0e3ac691849d612750092fe2d532f39eb1
1a05ea28d8720b28d779b199a00340bf40569a47
refs/heads/master
2022-11-13T23:47:59.659270
2020-07-03T11:38:55
2020-07-03T11:38:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
421
py
# Generated by Django 3.0.7 on 2020-06-17 17:18 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('core', '0001_initial'), ] operations = [ migrations.AlterField( model_name='report', name='ciurl', field...
[ "barsch@egu.eu" ]
barsch@egu.eu
8ab62bba43b349293d0d75cf4f8bbc37c78f4b0e
59841c08b203d8471842deb3aaff100f1c75b4ee
/ResonanceCheck.py
5af950b3287fe5ad24bcf09b7a6bf7809a3f43cd
[]
no_license
Rabaa-basha/PlanetaryResonance
5307e981d165ddf218102e80e8a6716d3107cf6f
731dc4b2757771cf7692add4e5918643db1c0aee
refs/heads/master
2023-01-22T00:27:33.363204
2020-12-01T12:31:39
2020-12-01T12:31:39
299,296,874
0
0
null
null
null
null
UTF-8
Python
false
false
11,435
py
__author__ = "Samantha Lawler" __copyright__ = "Copyright 2020" __version__ = "1.0.1" __maintainer__ = "Rabaa" __email__ = "beborabaa@gmail.com" import numpy as np import sys class TestParticle: def __init__(self): # Attributes defined self.Resonant = False self.ResonanceType = 'n:n' se...
[ "noreply@github.com" ]
Rabaa-basha.noreply@github.com
1c5180b83cdc8885c48ae3fdcdcde1daed57ea2f
7e7a00b2c845be85f243666cc01751de0a367e14
/Session4/intro_con.py
806e471fb8c3bd17349c7fa7c0e2ce05ee01cc3c
[]
no_license
MeinSpaghett/C4T16-1
f5de3886fccbd08b2f989620dbdad1b9abd8190a
d5b4f62f0a2d1c77fd2ff5571f6b1fe5e1c7ae12
refs/heads/master
2020-06-24T12:58:29.263176
2019-07-26T06:25:32
2019-07-26T06:25:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
217
py
month=int(input("Month: ")) if month<1 or month>12: print("Invalid") elif month<=3: print("Spring") elif month<=6: print("Summer") elif month<=9: print("Autumn") else: print("Winter") print ("Bye")
[ "minhtri9201@gmail.com" ]
minhtri9201@gmail.com
d3f3c8bf9d854803f2851bd69700d221860bc46b
f717be1c7d0455a726c9d87f8560662e9d505c60
/cfmtx.py
cd4c3021a0963e179549ba62a828835239e8cee9
[ "MIT" ]
permissive
yodacatmeow/VGG16-SNU-B36-50
c56f5976b0b3a5fc73f0f349159ff8c2f2661aa4
e583eccfc9775288f457bfef4655a813e827eb03
refs/heads/master
2020-03-17T09:04:21.775732
2019-03-11T04:17:29
2019-03-11T04:17:29
133,459,939
2
0
null
null
null
null
UTF-8
Python
false
false
4,433
py
""" "cfmtx.py" References # Plot a confusion matrix http://scikit-learn.org/stable/auto_examples/model_selection/plot_confusion_matrix.html """ # Public python modules import os import sys import numpy as np import matplotlib.pyplot as plt import pandas as pd import itertools # Custom python module from s...
[ "its_me_chy@snu.ac.kr" ]
its_me_chy@snu.ac.kr
74995875dc35115994335d1dceeec3fc4b65b3de
9eef6a845e03c20f940536f0d6331ba0dce2019f
/ShinaTimeSeries.py
50197f0df3e4f3a0da74727edc5b0b81ce8d7142
[]
no_license
sPaMFouR/PythonJunk
6523985766c057dded4c412c9944753c68184391
a234e6c35a0663b15757c55f499db9ef7572721f
refs/heads/master
2021-05-05T06:11:15.910934
2018-01-24T16:49:15
2018-01-24T16:49:15
118,786,049
0
0
null
null
null
null
UTF-8
Python
false
false
1,703
py
import pandas as pd def user_input(message, default): while True: try: user_value = int(raw_input("{0}(Default = {1}): ".format(message, default)) or str(default)) except ValueError: print("\n*ERROR: The User Input Is Not A Number*\n") else: break re...
[ "noreply@github.com" ]
sPaMFouR.noreply@github.com
5a1c12b74b4fea0c91d86dada50adabd244268ef
0c436d9c5eefa59aaee1a46d0c4bdf6701014803
/model.py
96988e29e97fa1c769e616f4bdefedc42a197bea
[]
no_license
soham96/grab_safety
ab7e41340c5416c1fb37d44925ef4aba48e23eed
838e1585f3b17fe701862fb32fd44345bce0afb7
refs/heads/master
2023-04-19T02:43:43.433453
2019-06-17T16:20:28
2019-06-17T16:20:28
192,161,022
0
0
null
2023-03-24T23:02:47
2019-06-16T07:08:12
Python
UTF-8
Python
false
false
4,810
py
import argparse import os import numpy as np from keras.models import Sequential from keras.layers import Flatten, Conv1D, Dense, TimeDistributed, ConvLSTM2D, Dropout, LSTM, MaxPooling1D from keras.utils import to_categorical from sklearn.metrics import confusion_matrix, precision_score, recall_score, f1_score, cohen_k...
[ "96soham96@gmail.com" ]
96soham96@gmail.com
734f55e09030ebb7d9fbf0535d07c75dbd730d08
e9f4bf4aed7c68b0cde2e2cd02f7bc8f06978a24
/lib/python3.8/site-packages/multidict-5.0.2-py3.8-linux-x86_64.egg/multidict/_multidict.py
ff0d136d32c09a7af0956b7e197199b94ea33f81
[]
no_license
mihalko711/bot
d0abdcbafafef71df584187d2fd3dbdada99cedf
c08d34e46d8b218d8b68ab19e8948286523e9138
refs/heads/master
2023-01-18T20:50:23.351484
2020-11-15T00:09:24
2020-11-15T00:09:24
312,925,762
0
0
null
null
null
null
UTF-8
Python
false
false
314
py
def __bootstrap__(): global __bootstrap__, __loader__, __file__ import sys, pkg_resources, imp __file__ = pkg_resources.resource_filename(__name__, '_multidict.cpython-38-x86_64-linux-gnu.so') __loader__ = None; del __bootstrap__, __loader__ imp.load_dynamic(__name__,__file__) __bootstrap__()
[ "“mihchirkov711@gmail.com”" ]
“mihchirkov711@gmail.com”
9bdf567e333e76234a4dfe0b334b47cf62c82dfd
41b6b1ea3692e6f8f2f05b99c6a5bbf4b8bc1007
/task12.py
79c8a8f8151eb7e0058e3e8473e411e54cf7c4ba
[]
no_license
komap2017/euler
8d96fe1f2fece8b74a57dc99f4e1afa8c09c47c0
b0738248089108ac104760f621c870760ec98d90
refs/heads/master
2020-03-26T11:38:49.696716
2018-08-15T21:19:19
2018-08-15T21:19:19
144,852,395
0
0
null
null
null
null
UTF-8
Python
false
false
518
py
import numpy as np import num import seq def triangular(n): return np.sum(range(1, n + 1)) def main(): arr = [] start = 12 a = seq.Array([1, 2, 3]) print(a) print(a[-1]) while len(arr) == 0: arr = seq.Array(np.arange(start * 1000, (start + 1) * 1000)) print(arr) a...
[ "nikitos-grigorenko@yandex.ru" ]
nikitos-grigorenko@yandex.ru
9fe54c21a865df6d0240e60ece7685cca2636c37
a2d364202982b14b1c3c5a12956306f9276a1071
/live_coins_with_selenium/live_coins_with_selenium/middlewares.py
c7c35921cdba839aa6b69bbe53316d1a4ee535dc
[]
no_license
izharabbasi/Scraping-with-scrapy
2fa2571339894128d958f64c94168de9eaaa0965
9fb8dca2b048191f11e101664e7ec8a072192dc2
refs/heads/master
2022-12-11T09:02:14.574777
2020-09-05T14:08:07
2020-09-05T14:08:07
281,634,442
0
0
null
null
null
null
UTF-8
Python
false
false
3,627
py
# -*- coding: utf-8 -*- # Define here the models for your spider middleware # # See documentation in: # https://doc.scrapy.org/en/latest/topics/spider-middleware.html from scrapy import signals class LiveCoinsWithSeleniumSpiderMiddleware(object): # Not all methods need to be defined. If a method is not defined,...
[ "izharabbasi103@gmail.com" ]
izharabbasi103@gmail.com
48524d5ca62173a782642eea459cb9ee3a61d5a8
dc950817c283a31ad4c3ee047d1bc3b11b20b435
/ronaldo.py
b5f0ad288f2d0c8fe98586b653726d8332963d18
[]
no_license
rajatkeshri/ZS-HACK-predict-ronaldo-goal
319c3e5faba5eb4a2b1c073afa21a2a2f2ba1394
8da586712e08aa7bdca326816ff82126bd6a7e7b
refs/heads/master
2020-07-16T02:27:31.448438
2020-05-31T13:14:03
2020-05-31T13:14:03
205,700,116
1
1
null
null
null
null
UTF-8
Python
false
false
3,777
py
import pandas as pd import numpy as np import math from sklearn.preprocessing import LabelEncoder, OneHotEncoder from sklearn.model_selection import train_test_split from sklearn.linear_model import LinearRegression from sklearn.model_selection import train_test_split from sklearn.datasets import load_boston fr...
[ "noreply@github.com" ]
rajatkeshri.noreply@github.com
52abb923e5ea3868b73c18035ecd3ed6b254bee3
004f8f49e335f8e41462eae512bbe20d750fce8c
/rldb/db/paper__ddqn/algo__random/__init__.py
1dc5a63582d0a276e767fc89de8e1692297ca2ae
[ "MIT" ]
permissive
seungjaeryanlee/rldb
3ab4317e26a39e6fa9b6e7ed9063907dc6a60070
8c471c4666d6210c68f3cb468e439a2b168c785d
refs/heads/master
2020-04-29T15:50:26.890588
2019-12-19T08:31:12
2019-12-19T08:31:12
176,241,314
52
2
MIT
2019-05-16T06:33:17
2019-03-18T08:54:24
Python
UTF-8
Python
false
false
449
py
""" Random scores from DDQN paper. 106 entries - 49 no-op entries from DQN - 49 human entries from Gorila DQN ------------------------------------------------------------------------ 8 unique entries """ from .entries import entries # Specify ALGORITHM algo = { # ALGORITHM "algo-title": "Random", ...
[ "noreply@github.com" ]
seungjaeryanlee.noreply@github.com
e86dc53a1ad4fd2dc2052d8609c6dedf4840b3ac
79c0c60dc5e380ae30d0cd8ea08fa9b81247047e
/scripts/Jesutofunmi-Adewole.py
b7e587fb0dfb08e8dd6ddd9622b62034877b6f45
[]
no_license
ahmed2929/Team-Incredible
440e35077de4953926bc26ef968313a9d0f31cac
6e2e312232c929d373cfa969e04456020ec2667f
refs/heads/master
2022-09-30T02:24:46.414439
2020-06-05T17:53:33
2020-06-05T17:53:33
269,724,967
3
0
null
2020-06-05T17:46:43
2020-06-05T17:46:43
null
UTF-8
Python
false
false
230
py
#!/usr/bin/env python3 import json my_data = "Hello World, this is Jesutofunmi Adewole with HNGi7 ID HNG-03321 and email tofdebby@gmail.com using Python for stage 2 task." def print_my_data(): print(my_data) print_my_data()
[ "tofdebby@gmail.com" ]
tofdebby@gmail.com
9ffcac02920e318763ea537522fab3362b56979c
49a130c36c2db4007a7ace6bcab2b2644092cd7a
/blackjackenv.py
35735727424acbd216bbcd644e5256cfb76dbae1
[]
no_license
nbeguier/Q_Blackjack
91bcdb0c3ca5b3a193bd0773d495b5d5485f5b4e
8771cef05f7b718cc6c96638dd1517c358d5cdce
refs/heads/master
2021-06-14T05:33:45.609365
2017-04-30T17:40:08
2017-04-30T17:40:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,570
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ BlackJack Environment """ from random import randint from pybrain.rl.environments.environment import Environment class BlackjackEnv(Environment): """ A (terribly simplified) Blackjack game implementation of an environment. """ # the number of action values th...
[ "nicolas_beguier@hotmail.com" ]
nicolas_beguier@hotmail.com
cea6eac4eae56b5cb5246f602da345bb5071700f
b2ead300f2f62de62d1d10e3678c89fc4ff3ce19
/quicksort.py
233ab0eace544643f04caaf09ecb8f682d6a8f9f
[ "MIT" ]
permissive
shaneslone/cs_week4_day4
0fa2e263c5342c16c58e1e715b57414abe4acc1c
7504e70d637d1dbe3e4b0530b1d7fbbb1005e4d8
refs/heads/main
2023-02-25T09:33:57.949844
2021-02-05T03:19:04
2021-02-05T03:19:04
336,150,669
0
0
null
null
null
null
UTF-8
Python
false
false
359
py
def quicksort(a): if len(a) <= 1: return a pivot = a[0] left = [] right = [] for i in range(1, len(a)): if a[i] > pivot: right.append(a[i]) else: left.append(a[i]) left = quicksort(left) right = quicksort(right) return left + [pivot] + r...
[ "slone.shane@gmail.com" ]
slone.shane@gmail.com
df58907e1b6de8efe4fd2f7e41c0775d357df081
df1a0bcb185a6ef6ec67bdf06b6846680d14784d
/load_table.py
6d520e69885fa757e5057adce937583d332a7fe0
[]
no_license
Ruidi/Select-Optimal-Decisoins-via-DRO-KNN
c82153c8a4e23bd51cbb38eb9e4e9edfbbd7d9e5
e6e52585fd95aab8812d0c0148c9ac6bbad83454
refs/heads/master
2020-08-24T00:48:35.645889
2019-10-22T06:20:18
2019-10-22T06:20:18
216,734,983
0
0
null
null
null
null
UTF-8
Python
false
false
5,866
py
import sys sys.path.append('/home/rchen15/prescription/run_pres') import pandas as pd import numpy as np from sklearn.model_selection import ShuffleSplit from collections import Counter from util import get_base_path def load_diabetes_final_table_for_prescription(trial_id, test_ratio=0.2): """ load preprocess...
[ "noreply@github.com" ]
Ruidi.noreply@github.com
70a5d7670fe8a0d65eb10fa79e5d71bc62ccad8a
86cba2a1bc203454d4b4c4400fd2f6acfa5671ff
/ProjectFiles/Project/API/datafinderTest.py
805dca72e3021a7275b61ffd9b6f77537dfd14ed
[]
no_license
AndresMtzP/Globetrotters
ce7b5a17dcfd29cfc607ddeb03f937ec99768684
dc8731a825dabc574e26bfaa5bd0d4d7630159e3
refs/heads/master
2023-02-07T09:27:56.868605
2017-05-24T23:54:45
2017-05-24T23:54:45
80,865,053
1
4
null
2020-12-30T09:17:46
2017-02-03T20:07:41
C
UTF-8
Python
false
false
682
py
import urllib import requests import wptools from datafinder import getGeneral, getImage loc = raw_input("Enter a location: ") # tries to get population information for location getGeneral(loc) # saves image in python folder as loc.jpg getImage(loc) # OUTPUT FOR loc=Toronto AFTER RUNNING PROGRAM # Ent...
[ "andresmartinez@Andres-Martinezs-MacBook-Pro.local" ]
andresmartinez@Andres-Martinezs-MacBook-Pro.local
6790a614d2c9581ab252bca4167e963b1e55845f
249782453476c5cd2937522806cbb0f15d7ab52b
/bot.py
ef5bcb2c0f34c6a1a3bd335ba90e819c9f78300e
[]
no_license
ComedicChimera/Null-Discord-Bot
9247382f8a675fee6385af16400aba608e41b9ce
3c0376500695abf920dd404c092d70d1d500c149
refs/heads/master
2021-03-31T01:58:54.912752
2018-06-17T19:37:51
2018-06-17T19:37:51
124,813,710
0
2
null
null
null
null
UTF-8
Python
false
false
3,439
py
import util from command import process_command import session as discord_session import filters from discord import Embed from logger import log # for the memes from random import choice @util.client.event async def on_message(message): if message.author.bot: # check to make sure it didn't send message ...
[ "forlornsisu@gmail.com" ]
forlornsisu@gmail.com
9ed19fde50f5ddaf080e4ab38c3515b6a0952675
6250bcc03d18734672c200edad776b9407b2d1b7
/libra/spectra/__init__.py
92a00dd59216796be75917777bb1ca8871c95afa
[ "MIT" ]
permissive
bmorris3/libra
f7835110d288e4765e89d78d9022a6e49e65604f
2a6faa54c72e1c077f521260dfb0eda744f6afc7
refs/heads/master
2023-03-19T08:50:10.178743
2018-11-08T15:53:26
2018-11-08T15:53:26
117,314,484
0
2
MIT
2018-02-21T16:31:58
2018-01-13T04:40:01
Jupyter Notebook
UTF-8
Python
false
false
125
py
from .phoenix import * from .spectrum import * from .irtf import * from .spectral_types import * from .transmission import *
[ "brettmorris21@gmail.com" ]
brettmorris21@gmail.com
4655af3f1bdada7560da13b76b6b2a81021a9c4a
9de3976bb633fd4418193221a4e09aa229cab827
/adminEnviron/views.py
91ba616aefaff5224fac868543a217b2e36928de
[]
no_license
hbbuildbot/adminPromax
6f17d5238bea4a9add60fc49699d328b89106e2b
3548b0ff0be5b97d1fe79b6536b3673fc9b4e5fd
refs/heads/master
2021-06-30T20:57:07.000206
2017-09-20T17:24:11
2017-09-20T17:24:11
104,246,649
0
0
null
2017-09-20T17:27:39
2017-09-20T17:27:39
null
UTF-8
Python
false
false
577
py
from django.shortcuts import get_object_or_404, render from datetime import datetime from django.views import generic from django.http import HttpRequest, HttpResponse # Create your views here. def index(request): """Renders the 'index' page.""" assert isinstance(request, HttpRequest) return render( ...
[ "nunix@hbsis.com.br" ]
nunix@hbsis.com.br
317686d0f4e788f51f6ea851decc5e1779293a01
25944ee62c9bf6e7b8aacaecdc6072bc1d9c93bc
/paprika_sync/core/utils.py
0fb7d43871f36d8ea5ab6995c34a08cd602e2563
[ "MIT" ]
permissive
grschafer/paprika-sync
b6c797858a99618b80aa289860c2598f31c34db1
8b6fcd6246557bb79009fa9355fd4d588fb8ed90
refs/heads/master
2021-09-02T09:10:26.848750
2021-08-15T20:13:04
2021-08-15T20:13:04
171,336,526
1
0
null
null
null
null
UTF-8
Python
false
false
806
py
import functools import re # Logs start and end of the wrapped function # Used for extra logging verbosity on cronjobs (management commands) def log_start_end(logger): def decorator(func): @functools.wraps(func) def wrapper(*args, **kwargs): logger.info('Start') val = func(...
[ "greg@occipital.com" ]
greg@occipital.com
5f9a64bbd544a9c6fa5ebb1d8ddc4a03a1a6da60
a2312fe43596c308627982719537b6c552ad912d
/p7.py
5f78b8893576ed928368bc3953efe270d122e061
[]
no_license
aasa11/pychallenge
19417e58a3420755174917826b51b433c37ebaa7
3a490c05826f8a387f05067b28662c5e042df72f
refs/heads/master
2021-01-15T14:46:37.302484
2013-08-21T07:39:54
2013-08-21T07:39:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,215
py
#!/usr/bin/ #coding=gbk ''' Created on 2013/08/06 @summary: @author: huxiufeng ''' import Image def isalpha(ch): if ord(ch) <= ord('z') and ord(ch) >= ord('a') : return True elif ord(ch) <= ord('Z') and ord(ch) >= ord('A') : return True elif ord(ch) <= ord('9') and ord(ch) >= ord('0') :...
[ "anferneextt@gmail.com" ]
anferneextt@gmail.com
fffedbf33f2b5efc781108075f4a6faaec096934
dcc16942a331f7a48df7271c158153bb621ff96d
/dynamic_programming/unique_paths_in_a_grid.py
06fd2ec9308c2ff58dab8e2e7b867c952d093379
[]
no_license
muzavan/py-interviewbit
eb639ecad7fc35e8963cb9c2df244e9269537804
a66acf22f1f7fee04af63864051b8a93428b669f
refs/heads/master
2023-01-06T06:20:49.741860
2020-10-25T10:25:14
2020-10-25T10:25:14
306,753,027
5
1
null
2020-10-24T16:59:10
2020-10-23T21:43:06
Python
UTF-8
Python
false
false
931
py
class Solution: # @param A : list of list of integers # @return an integer def uniquePathsWithObstacles(self, A): prev = [] R = len(A) C = len(A[0]) for r in range(R): curr = [] for c in range(C): a = A[r][...
[ "muzavan@gmail.com" ]
muzavan@gmail.com
9015233865c959df846691b9d184dbb18c449eeb
dd48c9a21aa25742cf2b2c5140849e8cd38afbc2
/lunch_and_learn/examples.py
0529d4d304c4bcbdad10214ed794582071aa2a0e
[]
no_license
jayfry1077/dynamo_db_examples
f8177373c61479ab7ca0c89da466a1de5a57f74f
fe4c6cbef557ab4d3d618a0f6bfb2168756e9a62
refs/heads/master
2022-11-22T19:41:33.094284
2020-07-18T21:48:38
2020-07-18T21:48:38
277,045,635
1
0
null
null
null
null
UTF-8
Python
false
false
9,418
py
import datetime import boto3 from botocore.exceptions import ClientError from botocore.exceptions import ValidationError import uuid import json dynamodb = boto3.client('dynamodb', 'us-east-1') TABLE_NAME = 'lunch_and_learn' def put_owner(owner_name, franchise_name, owner_phone, owner_email, PPP): created_at = d...
[ "53982942+jayfry1077@users.noreply.github.com" ]
53982942+jayfry1077@users.noreply.github.com
93f6b405d9e674595aa73ac2ae21af8d1576e29a
251f0caf2b9bbb2ff2f469e37cd56280184d2f15
/src/classify_proj/urls.py
994d44104d13b0704139dc6d647fcce6ec677d4f
[]
no_license
boluwatifeajayi/draw-app-react-django-cnn
ccc190a135d5ee729b9c29903f939b0ccb63fac6
ee4a3168b924f4478706a1d8931ea4f05e72a636
refs/heads/main
2023-02-08T11:51:08.013229
2021-01-02T12:51:36
2021-01-02T12:51:36
326,181,748
0
0
null
null
null
null
UTF-8
Python
false
false
1,019
py
"""classify_proj URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class...
[ "bolu4good@gmail.com" ]
bolu4good@gmail.com
80c71a359a9e7ac7377d8ce5d1c8d082f91f6b72
6ee49a8922c052703c5281b2ee9fce1cd9c14a9b
/datamidplatform/synchronizationTeacher_hotvalue.py
36f452d008fc60379c6aed43a73581f1de3a9986
[]
no_license
XingshengLiu/PythonTools
a5f50388bd598be39a2d93138b0d6031c372d36c
701ce95fe6e0682685115d032cbdd3287bcbc187
refs/heads/master
2023-08-17T05:51:39.012439
2023-07-21T02:07:20
2023-07-21T02:07:20
136,017,511
0
0
null
null
null
null
UTF-8
Python
false
false
2,194
py
# @File : synchronizationTeacher_hotvalue.py # @Author: LiuXingsheng # @Date : 2020/7/19 # @Desc : 同步名师热度 import os import csv import collections import xlsxwriter DirPath= r'H:\大数据中台项目\标签测试报告\同步名师热度' def readSourceData(): teachercollectionlist = collections.defaultdict(dict) datacollectionlist = collecti...
[ "liuxingsheng@oaserver.dw.gdbbk.com" ]
liuxingsheng@oaserver.dw.gdbbk.com
b9f8ac63e8bd57e0dde32e47e098edd7df71f28d
0ae526b50510a4c7ccccfe81929029316bfcd452
/test/dataset/test_common.py
e3b9fd3f3edba167eb39f8f5560102aabc075737
[ "Apache-2.0" ]
permissive
yejiachen/gluon-ts
6ecf837743fc5b05909c606184a243164009a411
ed3fa81cef12a1852398fac1410e00524cb99b46
refs/heads/master
2020-07-13T13:35:54.717207
2019-08-28T15:37:15
2019-08-28T15:37:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,018
py
# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"). # You may not use this file except in compliance with the License. # A copy of the License is located at # # http://www.apache.org/licenses/LICENSE-2.0 # # or in the "license...
[ "noreply@github.com" ]
yejiachen.noreply@github.com
62640cef3eac0c7d5abd2ea298c00f5fad2944e7
5908f3b7e5f074f7acd88e43458ab6f4fb8bbd1e
/graphic/colorscheme.py
7c840734b4dd3c5751f46545a143738d9753bfab
[]
no_license
S-W-R/game-points
c53206bedde818a66929113bd8e9e4d9be0f1ea7
4b8eb6db4a0c6b37b4188528ac08466ebe0c88ef
refs/heads/master
2023-02-08T22:32:22.551774
2020-12-23T23:59:09
2020-12-23T23:59:09
304,621,771
0
0
null
null
null
null
UTF-8
Python
false
false
720
py
from __future__ import annotations from typing import Dict from entities.celltype import CellType from graphic.cellgraphic import CellGraphic class ColorScheme: def __init__(self, name: str, border_color: str, scheme: Dict[CellType, CellGraphic]): self._name = name self._border_c...
[ "sn_swr1@mail.ru" ]
sn_swr1@mail.ru
57c357522868b421355e456829230f9d6e918e51
7efd687ae84f7680e7af7f103f2756a814f48194
/最新socket网络编程/socket通信介绍 2.py
71451e10de4d10c72b3561aa9105bb8165892d63
[ "Apache-2.0" ]
permissive
xiaoyongaa/ALL
1746e43c241cdb58f2f2e39ed49f0aa9ba57f099
76acb00db7d3a7126efea74750a33ec0c5ea0a62
refs/heads/master
2021-01-11T03:05:33.405232
2016-12-21T07:15:34
2016-12-21T07:15:34
71,097,431
2
2
null
null
null
null
UTF-8
Python
false
false
94
py
#!/application/python3.5/bin/python3.5 # -*- coding:utf-8 -*- # Author:xiaoyong import socket
[ "845219159@qq.com" ]
845219159@qq.com
c1327c26686ac918eb23487df03337cc8e9209f4
cb14c47a41204f4179f097295ec05309da8406e5
/binaryExploitation/playground/1/exploit.py
3d33c9da63e8bc040a2d167a949b1bc81cb97a88
[ "MIT" ]
permissive
mapa17/pwn
301a15908e73368aab650d3f9b0154a644a99e97
c863fde63fc8698403726bcf6bac18c1433fc42c
refs/heads/main
2023-02-13T07:27:24.632432
2021-01-13T17:25:43
2021-01-13T17:25:43
329,381,139
0
0
null
null
null
null
UTF-8
Python
false
false
117
py
from xUtils import hexAddrInverted buffer = b'B'*24 jmpAddr = hexAddrInverted(0x004001ebd) print(buffer + jmpAddr)
[ "manuel.pasieka@protonmail.ch" ]
manuel.pasieka@protonmail.ch
0815a63e25929d456a187a3afc2d91881b57b98f
0daaeb23beccecb4302c3c504fa904d038d4c1eb
/app/tests/test_posts.py
c8797c66db4fc8309c171a9a1f90c878d5610b27
[ "MIT" ]
permissive
vaultah/L
80e2d566a99753f427bf7354477f3cd5391746fc
6e3eb6b0832ae6ccaea23abb0258b5abe0956901
refs/heads/master
2021-01-13T05:33:34.977484
2016-10-08T11:05:45
2016-10-08T11:05:45
42,345,740
4
0
null
null
null
null
UTF-8
Python
false
false
3,235
py
import pytest from app.el import posts from app.el.accounts.records import Record from app.el.images import Image def test_create(): acct = Record.new() objects = next(Image.new()), post = posts.Post.new(acct, content='<string>', images=objects) assert post.good() @pytest.mark.parametrize('base_type'...
[ "waultah@gmail.com" ]
waultah@gmail.com
42c5d0fbbf756c31a7e1d7d1ea47df337f3661a6
1ac689147abb4d86885b249dce35ba6c20f7b8b6
/python/nehe/opengl_app.py
fec65990bbfa43a99b7a3e4db5fddd0b4bb2612c
[ "Apache-2.0" ]
permissive
acs/opengl-samples
0ec81b9794ebca493985881a2a8af8dfefccf198
ea2cfee663781e7eaf56e001e4ea7c992c58722e
refs/heads/master
2022-11-24T18:32:04.781573
2020-07-27T17:02:32
2020-07-27T17:02:32
280,253,985
1
0
null
null
null
null
UTF-8
Python
false
false
8,284
py
#!/usr/bin/env python # Base class App used for the OpenGL tutorials http://nehe.gamedev.net import numpy from OpenGL.GL import * from OpenGL.GLUT import * from OpenGL.GLU import * from PIL import Image import sys class OpenGLApp: # Keyboard ESCAPE_KEY = b'\x1b' CTRLC_KEY = b'\x03' # GL Window ...
[ "adelcastillo@thingso2.com" ]
adelcastillo@thingso2.com
73a45cae89d010094ec8cfb94f87ce9f8b6ed4e7
2d11051177f7b2666d58c2e4bf1af1cba36a5b95
/python/cuboid.py
6254317e3e640b6f3e896ccba9d02e3f930d7f1e
[]
no_license
cpausmit/JLabTools
cb7c097628125baf65035d8c5df93e2357344abe
926bd32dec43f6679b687e769cf8f32869b60d57
refs/heads/master
2021-07-24T01:50:19.820985
2020-06-10T19:49:28
2020-06-10T19:49:28
30,076,352
0
0
null
null
null
null
UTF-8
Python
false
false
3,432
py
#!/usr/bin/env python import numpy as np import matplotlib.pyplot as plt import matplotlib as mlp from scipy.optimize import curve_fit from optparse import OptionParser # initial settings mlp.rcParams['axes.linewidth'] = 2 # give tick labels a little more space from axis mlp.rcParams['xtick.major.pad'] = 12 mlp.rcPa...
[ "paus@mit.edu" ]
paus@mit.edu
7db725538e29a6206585a021132a0022eaf7d0c1
100954953c3c94ff357500a14c3c57ba52fc20b1
/eventFinderApp/admin.py
31c0c12e965e315e9fc549202c1d61be6bb46022
[]
no_license
shae1811/event-finda
de1b152eb5453949200d7c2ee7ddadf09817a5b6
4d4622a4d21918854c0885957127195a02eb03ab
refs/heads/master
2022-12-15T09:43:19.493439
2019-10-05T05:30:37
2019-10-05T05:30:37
206,282,071
0
0
null
2022-12-08T06:40:38
2019-09-04T09:26:46
Python
UTF-8
Python
false
false
166
py
from django.contrib import admin from .models import Event, Category, Account admin.site.register(Event) # admin.site.register(Category) admin.site.register(Account)
[ "shae1811@gmail.com" ]
shae1811@gmail.com
2ae16f046b84775e7191a18977aebee595321a24
b1262dcefffb4e73ee183fd6ca8329d1a7a46d93
/back/common/helpers/passwordHelper.py
055fde6bba2663c749add2ddf15a6236f4244c3a
[]
no_license
lahirusamaraweera/otmp-python
b247a979469f6f5c6e0a508b4afeee55aed55086
2f25bd52575a6ad88a32f7a1e486b3768dd4c258
refs/heads/develop
2023-02-22T19:59:21.246375
2023-02-03T16:48:41
2023-02-03T16:48:41
238,250,169
7
1
null
2023-01-07T15:07:40
2020-02-04T16:21:05
JavaScript
UTF-8
Python
false
false
873
py
import hashlib, binascii, os def hash_password(password): """Hash a password for storing.""" salt = hashlib.sha256(os.urandom(60)).hexdigest().encode('ascii') pwdhash = hashlib.pbkdf2_hmac('sha512', password.encode('utf-8'), salt, 100000) pwdhash = binascii.hexlify(pwdh...
[ "lahiru.studixeon@gmail.com" ]
lahiru.studixeon@gmail.com
6ce92864a9897b5b66aca9f7a38a6c671609e383
a987aba8d1c52a41577a8ba9f242870b4a66140a
/assignment9/q1_g.py
3d189a3380c0be1af4027da5db1880258c2913fc
[]
no_license
valbartlett/PHY3090_MaterialScience
0e3b27df087888b5a7e1c307b937a17586484c65
42ff382bf387d9aa9d1df0d5eaac5ff401467ae8
refs/heads/master
2016-09-10T20:18:10.393806
2015-02-24T17:14:02
2015-02-24T17:14:02
28,978,576
0
0
null
null
null
null
UTF-8
Python
false
false
505
py
#!/usr/bin/env python dt = 0.0001 maxRun = 1000000 k = 1 m = 3.0 t = 0. v = 0. x = 2. i = 0 xprevious = x timeThroughZero = [] while i < maxRun: a = -(k/m)**.5*x v = v + a*dt x = x + v*dt if ( xprevious > 0) and ( x < 0): timeThroughZero.append(t) xprevious = x t = t + dt i=i+1 ...
[ "val.bartlett@live.com" ]
val.bartlett@live.com
6449302ae6905785e53e6f2f4c4f919e2da37df6
8b2af3cff75ba2a6f8557cdea0d852b9076ff6a3
/day005/2-week-work.py
772acc3130683d348f3bce8ecc511eb80bc54760
[]
no_license
AlexYangLong/Foundations-of-Python
98e5eaf7e7348120049f1ff4bb3d31393ad05592
bcf3a1fe526140fd2b05283c104488698ebc99fd
refs/heads/master
2020-03-16T21:45:34.232670
2018-05-11T10:19:21
2018-05-11T10:19:21
133,013,526
3
0
null
null
null
null
UTF-8
Python
false
false
287
py
''' title: 打印出所有三位数中的水仙花数 time: 2018.03.31 08:50 author: 杨龙(Alex) ''' start = 100 while start < 1000: bw = start // 100 sw = start // 10 % 10 gw = start % 10 if bw ** 3 + sw ** 3 + gw ** 3 == start: print(start) start += 1
[ "alex@alex.com" ]
alex@alex.com
38e9f9b4869c72739f6b918c741836dd0e083902
5f747b3d7935b566fbe12d96c0f9a283a03dc049
/new_search/search.py
af79f0d9cfdb8e0e9fd18b57bf4f402ee477becc
[]
no_license
zhangqian12/interface_dx2
378c244c0714485ddb5f668b8ba25c398a68f42a
f59235eecafcc292b19acc93e43c6c0dcf28ce84
refs/heads/master
2021-05-14T19:06:40.412751
2018-01-03T06:41:28
2018-01-03T06:41:28
116,099,330
0
0
null
null
null
null
UTF-8
Python
false
false
9,382
py
# -*- coding:utf-8 -*- __author__ = 'zhangqian' import unittest import requests import json import random class InterfaceTestCase(unittest.TestCase): def setUp(self): self.domain = 'http://search.diaox2.com' #测试地址 # self.domain = 'https://api.diaox2.com' #生产地址 self.json_headers = {...
[ "451677236@qq.com" ]
451677236@qq.com
408ffc3f89cd3fe9bc8896486cb00bdecadcaee0
9377fafd93ef351497336d0cc8b37f730265ba3e
/aes/key_expander.py
bbb2e775c1e17e87cc60eb8644cafee0c6ce0559
[]
no_license
FennaHD/cs465
02bcb6b8523311bf348cbba80aaa97d00335b852
62b6e2f88fbed7c0a54e2c6f0d948cfdf745a0d2
refs/heads/main
2023-08-02T17:02:54.781855
2021-10-09T00:50:38
2021-10-09T00:50:38
403,775,362
0
0
null
null
null
null
UTF-8
Python
false
false
2,700
py
from ff_math import FFMath as ffm from r_con import Rcon as rc from s_box import SBox class KeyExpander: """ Class in charge of performing all operations involving key expansion. Is also in charge of transforming input into the format we want to work with. So far we are inputting a string of space separated bytes...
[ "fmaluendap@gmail.com" ]
fmaluendap@gmail.com
074860fc83c9d423f7bb879580455ccb728ed393
6ee76c78547d36f3b349da8e1503f690067729dc
/list_account_messages.py
91dba919945a7b5bb536eb0729156b05e3d1cba9
[]
no_license
ATOIMIO/iota_iot_hub
3bf8ae2e71b292141c3c209359d9da0aa799a069
ab1a5b94412457dbfb344c882e775e6d68e36b23
refs/heads/master
2023-04-27T08:27:46.502585
2021-05-26T10:58:28
2021-05-26T10:58:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
851
py
# Copyright 2020 IOTA Stiftung # SPDX-License-Identifier: Apache-2.0 import iota_wallet as iw import os from dotenv import load_dotenv from app.wallet_interact import get_account account = get_account() # Load the env variables #load_dotenv() # Get the stronghold password #STRONGHOLD_PASSWORD = os.getenv('STRONGH...
[ "hgreg@online.no" ]
hgreg@online.no
7cbe60fb521bbc9077104c6d20aa3297d1e98f3b
023e3b1e887edc237bdc0734d842f34a6d9d3a9f
/method/gui/main_panel.py
a327118b8678b1f06a0d1eb23c3b8ce9a837c521
[]
no_license
mokusen/deresute-fans
64b0e4d53fc48f54f816439d48cd357a1b29d2f7
f383c4b0daf6d53568d9043f6ec20f47b398c827
refs/heads/master
2022-12-16T03:38:29.976073
2021-02-13T07:11:09
2021-02-13T07:11:09
188,259,142
0
0
null
null
null
null
UTF-8
Python
false
false
7,893
py
import wx import datetime from method.sql import connect_mysql from method.utils import handle_yaml from pathlib import Path class MainGui(wx.Frame): def __init__(self, parent, id, title): wx.Frame.__init__(self, parent, id, title, size=(330, 330)) panel = MainPanel(self) self.C...
[ "kikawa.tech@gmail.com" ]
kikawa.tech@gmail.com
9d3ac3a02335392317299ac89caa4c3082512770
7ac43f018756573e12eb49ec55ed854fb5f9d2b1
/TEST_1/Analysis/orderparameter.py
9beb11b21cb83557ae0e3ed135f5e760df09fd6c
[ "MIT" ]
permissive
dmalagarriga/PLoS_2015_segregation
68d92965c1db5f58a2e6b913e630d788bffad65f
949afedf96945c11ee84b1a6c9842e5257fb5be8
refs/heads/main
2023-01-03T09:18:10.985981
2020-10-28T07:58:25
2020-10-28T07:58:25
307,944,255
1
0
null
null
null
null
UTF-8
Python
false
false
884
py
#!/usr/bin/python from scipy import * from pylab import * from numpy import * from matplotlib.collections import LineCollection import glob import os from os.path import join as pjoin def comparacio(a,b): (Sepa,numa) = a.split('_') (pa,exta) = numa.split('.') (Sepb,numb) = b.split('_') (pb,extb) = nu...
[ "Dani@My-MacBook-Pro.lan" ]
Dani@My-MacBook-Pro.lan
f33938d14928c678f1d821d2abc65fe23f9ed2b2
92f16bbef4597221059cc66c33087f54f72a7519
/auto_exp/items.py
6382133a5c63f3cba0dc8d511e17e192b2b4b045
[]
no_license
zeratul0097/auto_exp
9d2537810d8062d577c00cc07f93acd7f95104d6
cb8be78c93080d6c0c95d068c0b1ea36f09a7f9c
refs/heads/master
2022-11-25T20:22:43.122996
2020-07-19T02:09:09
2020-07-19T02:09:09
276,880,599
0
0
null
null
null
null
UTF-8
Python
false
false
442
py
# -*- coding: utf-8 -*- # Define here the models for your scraped items # # See documentation in: # https://docs.scrapy.org/en/latest/topics/items.html from scrapy import Item, Field from scrapy.loader.processors import Join, MapCompose from auto_exp.utilities.yy_utilities import get_last_chapter class BookInfo(Ite...
[ "daoducminh1997@gmail.com" ]
daoducminh1997@gmail.com
a325d935d28e2e5df75b636247f66d4eb34ef0dd
f45fab2976ad78f259741e8a77c4b1101dee5792
/venv/bin/easy_install
4026dadf436804590ba625cba3c7f31d19a7a2d9
[]
no_license
hoin14/python_game
bc13a733aa13e0bff5cc6997ef5017a24856db06
009692079a2311ed5e0484fc729d07ef252088f6
refs/heads/master
2023-01-06T21:58:28.298680
2020-11-09T02:54:09
2020-11-09T02:54:09
311,207,255
0
0
null
null
null
null
UTF-8
Python
false
false
269
#!/Users/hoins/PycharmProjects/pythonGame/venv/bin/python # -*- coding: utf-8 -*- import re import sys from setuptools.command.easy_install import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "hoins@hoin-ui-MacBookPro.local" ]
hoins@hoin-ui-MacBookPro.local
e8acac5e7e384d71ed93af5458c5f553acef9d13
1e1f7d3687b71e69efa958d5bbda2573178f2acd
/srm/doctype/qa_inspection_report/qa_inspection_report.py
58ad248c87e4412395558022a598565562eaeb1b
[]
no_license
ravidey/erpnext
680a31e2a6b957fd3f3ddc5fd6b383d8ea50f515
bb4b9bfa1551226a1d58fcef0cfe8150c423f49d
refs/heads/master
2021-01-17T22:07:36.049581
2011-06-10T07:32:01
2011-06-10T07:32:01
1,869,316
1
0
null
null
null
null
UTF-8
Python
false
false
2,204
py
# Please edit this list and import only required elements import webnotes from webnotes.utils import add_days, add_months, add_years, cint, cstr, date_diff, default_fields, flt, fmt_money, formatdate, generate_hash, getTraceback, get_defaults, get_first_day, get_last_day, getdate, has_common, month_name, now, nowdate,...
[ "pdvyas@erpnext.com" ]
pdvyas@erpnext.com
46f0cc2808d25eef61326b4ee6646188640eff4b
3a5ea75a5039207104fd478fb69ac4664c3c3a46
/vega/common/__init__.py
cba02abb9bbbc58fa821ba5f13084f865b0d986d
[ "MIT" ]
permissive
fmsnew/vega
e3df25efa6af46073c441f41da4f2fdc4929fec5
8e0af84a57eca5745fe2db3d13075393838036bb
refs/heads/master
2023-06-10T04:47:11.661814
2021-06-26T07:45:30
2021-06-26T07:45:30
285,174,199
0
0
MIT
2020-08-11T14:19:09
2020-08-05T03:59:49
Python
UTF-8
Python
false
false
622
py
from .utils import init_log, module_existed, update_dict, copy_search_file from .utils import update_dict_with_flatten_keys, switch_directory from .config import Config from .file_ops import FileOps from .task_ops import TaskOps from .user_config import UserConfig from .config_serializable import ConfigSerializable fro...
[ "zhangjiajin@huawei.com" ]
zhangjiajin@huawei.com
d258b4757fa8e7ec847e8658053ba8ec722fe9f3
57a775c5a896d0f9e821552f69f4ecc12e53b823
/ems_server/ems_server/settings.py
86dbaf6b011ba3a32335663edbe126c2efc15944
[]
no_license
hrynbnbyo/day6
ef0f630b14267121cf1bdd77f37b501b83e06355
63cda889e6375898b39a034a5addb243f0acdcfa
refs/heads/master
2023-03-30T05:49:48.543874
2021-04-06T18:23:44
2021-04-06T18:23:44
355,290,367
0
0
null
null
null
null
UTF-8
Python
false
false
3,597
py
""" Django settings for ems_server project. Generated by 'django-admin startproject' using Django 2.0.6. For more information on this file, see https://docs.djangoproject.com/en/2.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.0/ref/settings/ """ import os...
[ "3202448109@qq.com" ]
3202448109@qq.com
34040193b78929d5295fbdf8d8da64db038005e7
385408aa4b4b63212ed7fc53e8549cb61466d0ef
/backend/manage.py
9dc57b80d448ecacdd9d878b0359ed725232809a
[]
no_license
crowdbotics-apps/lithium-18155
a0a671a9c56ee0371ba11a225567e717bb545b6b
d44c419789c633b6d6f08b51f2b4288bbf4fa3ac
refs/heads/master
2022-10-18T06:29:10.028600
2020-06-16T23:53:19
2020-06-16T23:53:19
272,836,074
0
0
null
null
null
null
UTF-8
Python
false
false
633
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'lithium_18155.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise ...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
35f3e209cb9a1c50f11c2104cc1650ae5831e986
e617a2a6ba47348a496f38fb8781cced92bbe74d
/test.py
ac4a7ed3bce3c02dcdaa1f256e9403c97a4f0c91
[ "Apache-2.0" ]
permissive
YuehChuan/Keras_2_CMSIS
f87864db66d7e2595e5a7727aaf49fec0a906aa9
f4ca1a126e61e923488a56d6832b178871b27711
refs/heads/master
2022-01-11T17:16:29.505725
2019-05-12T20:20:59
2019-05-12T20:20:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,116
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Fri May 10 15:29:18 2019 @author: quinn """ import keras.backend as K from keras.models import Sequential from keras.layers import Conv1D, MaxPool1D, AvgPool1D, UpSampling1D #from numpy.random import normal from main import convert_model def gen_test_mo...
[ "quinna@wearstrive.com" ]
quinna@wearstrive.com
a743110325998544601a239a68b21f038d064b34
3d2b991bf016ee8bb67944e2e78c27ffdfadf4d1
/tests/challenges/test_get_edge.py
075a5f39dddc8d34f81e4c630ffaad63e550d5e1
[]
no_license
Hadeaji/data-structures-and-algorithms
748b5fdb31621b6a5e1c09cd71e60ba1b956fb98
cb9a2d756bf0a495fef5f927d7b84b52d7b9545c
refs/heads/master
2023-02-20T17:42:18.444686
2021-01-26T23:14:55
2021-01-26T23:14:55
316,959,706
0
1
null
2021-01-26T23:14:56
2020-11-29T13:41:33
Python
UTF-8
Python
false
false
1,815
py
from data_structures_and_algorithms.challenges.get_edge.get_edge import * import pytest def test_get_edge_1(graph_test): actual = get_edge(graph_test,['Metroville', 'Pandora',]) expect = 'True, $82' assert expect == actual def test_get_edge_2(graph_test): actual = get_edge(graph_test,['Arendelle', 'N...
[ "hadeaji@gmail.com" ]
hadeaji@gmail.com
f0286c737255c570c63958d337554514988f27f5
c99d76d2cf0b4c0e6760959c9e986bd6d7e62e95
/09_TOW/PV_Lib Toolbox/Python/pvlib-python-master/docs/sphinx/source/conf.py
24d41deb6ad723f6288044a70fedcf9b1fb37703
[ "BSD-3-Clause" ]
permissive
maxin8852/CAPER
812cb1fbcf3daca0a2d30ebe351330503a8db177
dab894567ba1cfb1062881aa0ad2d3518ffff0cc
refs/heads/master
2023-02-27T14:07:06.141965
2017-04-24T14:04:38
2017-04-24T14:04:38
89,206,279
1
0
null
2017-04-24T06:41:28
2017-04-24T06:41:28
null
UTF-8
Python
false
false
9,505
py
# -*- coding: utf-8 -*- # # PVLIB_Python documentation build configuration file, created by # sphinx-quickstart on Fri Nov 7 15:56:33 2014. # # This file is execfile()d with the current directory set to its # containing dir. # # Note that not all possible configuration values are present in this # autogenerated file. ...
[ "atow@g.clemson.edu" ]
atow@g.clemson.edu
765d7b8c972737e542068be83e7155ef12408ca6
b26bf2fc0a1cd2dbefd550d6a5518107bd3b9124
/examples/easy_wav_player.py
92b7a13de9b55cd27006bae54a77ce71bbb104f1
[]
no_license
TGiles1998/micropython-i2s-examples
06234a48e3df69fe45c2a8f7e365f557035957ac
237efced6df21653843a1291e5d2c32558e863f2
refs/heads/master
2023-08-24T09:36:31.452437
2021-09-30T17:33:15
2021-09-30T17:33:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,040
py
# The MIT License (MIT) # Copyright (c) 2021 Mike Teachman # https://opensource.org/licenses/MIT # # Purpose: Play a WAV audio file out of a speaker or headphones # import os import time from machine import Pin from wavplayer import WavPlayer if os.uname().machine.find("PYBv1") == 0: # ======= I2S CONFIGURA...
[ "mike.teachman@gmail.com" ]
mike.teachman@gmail.com
e2a0f2fce01349f1c3eaec839b214cbafdf62cbd
5723347dc2bcd20c7993ab99aa9758a0365b1707
/line-notify.py
0100b89a993390ba73d4d62c5b6635386ffaca0c
[]
no_license
NPEMasa/Line-notify
a089115b15d26af0631010621a8272b678416605
1412f91e8671265980cf0680bc012ede01e151ce
refs/heads/master
2021-01-01T20:47:31.273116
2017-11-19T06:54:34
2017-11-19T06:54:34
98,935,649
0
0
null
null
null
null
UTF-8
Python
false
false
298
py
import requests line_token = "<Your API Key>" url = "https://notify-api.line.me/api/notify" msg = "こんにちは" payload = {'message': msg} headers = {'Authorization': 'Bearer ' + line_token} line_notify = requests.post(url, data=payload, headers=headers) res = line_notify.text print (res)
[ "masanobu.miyagi@lac.co.jp" ]
masanobu.miyagi@lac.co.jp
4a03c0d099001823b6ed2dabd024c042aacdbbae
d2b4f08e8feaab12251f5840da7df08fd87b5b8f
/RunCarAll.py
9ccbec526d789a407e8c40ae62d9484816e60e99
[]
no_license
zzhang1987/HyperGraphMatchingBP
821fd78f869327969cd8d771ee53909f284ec275
2ce1a3651ad82a20681a63d4c190709e25c97ace
refs/heads/master
2021-01-20T01:43:41.475232
2018-09-26T07:15:52
2018-09-26T07:15:52
89,321,207
5
2
null
null
null
null
UTF-8
Python
false
false
4,800
py
import matlab.engine eng = matlab.engine.start_matlab() #import matlab.engine import numpy as np; import FactorBP as FB import drawMatches as dm import RunAlgorithm as RA from Utils import LoadCar import cPickle as pickle def ComputeAccuracyPas(decode, gTruth, NofInliers ): Ccnt = 0 for i in range(len(gTruth)...
[ "zhen@zzhang.org" ]
zhen@zzhang.org
fcfe654d69b045cb2e2d84dfc858c98db2b70af4
3daf74bdadb46f4aa18918f1b6938c714b331723
/poco/drivers/unity3d/test/test.py
18262e6b341cf52a9d321d00496b0e905a6c9128
[ "Apache-2.0" ]
permissive
AirtestProject/Poco
d173b465edefbae72f02bb11d60edfa5af8d4ec4
65c2c5be0c0c1de680eedf34ac18ae065c5408ee
refs/heads/master
2023-08-15T23:00:11.805669
2023-03-29T08:58:41
2023-03-29T08:58:41
118,706,014
1,703
312
Apache-2.0
2023-08-08T10:30:21
2018-01-24T03:24:01
Python
UTF-8
Python
false
false
608
py
# coding=utf-8 import base64 import json import traceback import time import unittest from poco.drivers.std.test.simple import TestStandardFunction from poco.drivers.unity3d.unity3d_poco import UnityPoco from airtest.core.api import connect_device class TestU3dDriverAndroid(TestStandardFunction): @classmethod ...
[ "lxn3032@corp.netease.com" ]
lxn3032@corp.netease.com
52cd062f35c2f6ce934437db2c865a5be97238d7
2620b8104daf0cf6b306496d22f443f662b9d503
/rsmtool/test_utils.py
d97ed64b7e2ac9958462ec59632eefdabeb70ef9
[ "Apache-2.0" ]
permissive
jkahn/rsmtool
b4477cbd176350f9bc31e9848d1b99aca9ee3192
53d90ab8442776ff212eaeb78d8f7a677f2941fd
refs/heads/master
2021-01-15T17:07:56.026008
2016-06-28T16:57:02
2016-06-28T16:57:02
62,756,214
0
0
null
2016-07-06T22:02:22
2016-07-06T22:02:22
null
UTF-8
Python
false
false
12,097
py
import re import numpy as np import pandas as pd from glob import glob from os import remove from os.path import basename, join from nose.tools import assert_equal, ok_ from pandas.util.testing import assert_frame_equal from rsmtool import run_experiment from rsmtool.model import create_fake_skll_learner from rsmto...
[ "nmadnani@ets.org" ]
nmadnani@ets.org
6133f9bcf6b914d9ce3daf3ca186dda3e4a2b218
75e180f4adbf14d0c04e9cf28bdbdb9455f78c3c
/getfile.py
eced28617d97d54cd504aaf0d074bba428ab052f
[]
no_license
Tyzex/Text-Recognition
73664b60c7378c5b96760e2c429016fc890a3eb8
76177cdd3920e5424ffa8fa35c2d34e62011c2eb
refs/heads/master
2023-07-16T09:43:49.384072
2021-08-17T15:17:27
2021-08-17T15:17:27
392,409,870
0
0
null
null
null
null
UTF-8
Python
false
false
625
py
from tkinter import filedialog from configfile import * class GetFile(object): def __init__(self, root): self.root = root self.filename = None def getfilename(self): self.filepath = filedialog.askopenfilename(initialdir="/", title="Select Image", ...
[ "deveshsingh45450@gmail.com" ]
deveshsingh45450@gmail.com
c52843fca25bdd4385022115b3a2b45db15056c4
159a2e75ff6cc7c0b58741c25636b83410e42bc7
/模块openpyxl例子.py
ada0274c1493986d594c89335089c53e722a2fea
[]
no_license
articuly/python_study
e32ba6827e649773e5ccd953e35635aec92c2c15
b7f23cdf3b74431f245fe30c9d73b4c6910b1067
refs/heads/master
2020-11-24T04:20:35.131925
2020-09-10T08:21:06
2020-09-10T08:21:06
227,961,859
3
1
null
null
null
null
UTF-8
Python
false
false
230
py
# coding:utf-8 from openpyxl import Workbook wb = Workbook() ws = wb.active ws.title = 'python' ws1 = wb.create_sheet('PHP') print(wb.sheetnames) ws['C1'] = '123' ws.cell(row=2, column=4, value=456) wb.save('python sample.xlsx')
[ "articuly@gmail.com" ]
articuly@gmail.com
5d47d24e7688ed9ee77ee0c71cb829e8f7d1b023
4c7d9ea3edebf1c39f22ed3e040f5dc77ece6e25
/dharanipro20.py
6b091f576aafb495e293bd18a53f31018b82133a
[]
no_license
muvendiran/dharania
d1ca74423dddb6ae5024dc84ff0a4a3226a516bf
d99f6bd86e47ea375d973687d0affab1f7c4a720
refs/heads/master
2020-07-04T13:39:59.284332
2019-08-14T09:20:12
2019-08-14T09:20:12
202,301,558
0
0
null
null
null
null
UTF-8
Python
false
false
347
py
#d x,y=map(int,input().split()) arr=list(map(int,input().split())) arr.sort(reverse=True) a=0 total=y for i in arr: if total>=i: rem=int(total/i) a+=rem total=total - (i*rem) if total==0: break if total==0: print(a) else: print("it's not possible to sum up coins in such a...
[ "noreply@github.com" ]
muvendiran.noreply@github.com
e0611ecd79179045ed445f18ae54a628b75624bc
de1d66cb03d9e0a6891b74828a51f5ffdc06ce36
/Python_3/ex38.py
6323c00a30bf3302a2b6344659e939e8d4339808
[]
no_license
almazkun/the_hard_way
6c029ab7ce26d78b312e1f231533bec2291828ae
be2ae13af3de8f6005f03eccae3f4e556257259e
refs/heads/master
2023-05-01T17:37:25.813050
2022-02-11T09:24:07
2022-02-11T09:24:07
203,321,326
0
0
null
2023-04-21T21:56:47
2019-08-20T07:16:57
Python
UTF-8
Python
false
false
700
py
ten_things = "Apples Oranges Cross Telephone Light Sugar" print("Wait a minute, There shpuld be 10 items! Let's fix it!") stuff = ten_things.split(" ") more_stuff = ["Day", "Night", "Song", "Flisbee", "Corn", "Banana", "Girl", "Boy"] while len(stuff) != 10: next_one = more_stuff.pop() print("Add: {}".forma...
[ "almaz.kun@gmail.com" ]
almaz.kun@gmail.com
22cac2d85470799d1a79fcb952061ca24753cb6a
f862200d97a8b926b474a6d17afc3d5b7f96d6df
/python/card-games/lists.py
0190f48dd25721dcabe0c44a8d4e85063784d2f8
[ "MIT" ]
permissive
res0nat0r/exercism
2f7e80505b924a7701d369f9d6afb68b0150d3ca
eaf6b3db18c1724e91d9a339758bdc5f3a0f156c
refs/heads/main
2023-08-16T17:56:30.084462
2023-08-16T05:38:40
2023-08-16T05:38:40
231,866,137
0
0
MIT
2023-09-14T18:19:54
2020-01-05T04:16:15
C++
UTF-8
Python
false
false
2,631
py
"""Functions for tracking poker hands and assorted card tasks. Python list documentation: https://docs.python.org/3/tutorial/datastructures.html """ def get_rounds(number): """Create a list containing the current and next two round numbers. :param number: int - current round number. :return: list - curr...
[ "noreply@github.com" ]
res0nat0r.noreply@github.com
7f3b087d26ed86bc780046df17e65c01cb7e8c13
cdab54a34b4f954275ffd800eb80a58a300ff30f
/lsnn/my_spiking_models.py
6bd5bb0acfe7acecbe3a5b7f308dc9d75cabb2db
[ "BSD-3-Clause-Clear" ]
permissive
Quickblink/LSNN-official
085f4a6b2f8db6b638d3956d4a2ff45d67747173
8a423ccbfa4a8f16791affeabfef9f8e1b13c535
refs/heads/master
2022-11-16T14:09:28.192315
2020-07-13T22:24:01
2020-07-13T22:24:01
269,710,196
0
0
BSD-3-Clause-Clear
2020-06-05T16:54:12
2020-06-05T16:54:11
null
UTF-8
Python
false
false
43,931
py
""" The Clear BSD License Copyright (c) 2019 the LSNN team, institute for theoretical computer science, TU Graz All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted (subject to the limitations in the disclaimer below) provided that the following condition...
[ "eric.koepke@tum.de" ]
eric.koepke@tum.de
1f0159477038149cef6ee32026e10ec26cf0b494
564ccf876cd04d199dd2364e2e138989598be98d
/Stock/venv/Lib/site-packages/plotly/graph_objs/indicator/_gauge.py
5ffccfcbd6f25787dd47a74ef1d46be6634c81a8
[]
no_license
hcz2000/pywork
7eedcc7d53d85036b823a2ed96a1bffe761a8aec
345820faa87de131203a98932a039725ff2bebda
refs/heads/master
2023-08-15T10:48:36.176886
2023-07-26T09:23:09
2023-07-26T09:23:09
134,735,647
0
0
null
null
null
null
UTF-8
Python
false
false
27,017
py
from plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType import copy as _copy class Gauge(_BaseTraceHierarchyType): # class properties # -------------------- _parent_path_str = "indicator" _path_str = "indicator.gauge" _valid_props = { "axis", "bar", ...
[ "huangchangzhan@hotmail.com" ]
huangchangzhan@hotmail.com
51a0194d0c81e8e32f497aeb6035955bfdb104a8
19fd5d0de9be45b3fd0c6c71e64f5b5887d42fa2
/mandatory_main.py
7d5ea2f2f58f4a130eb4309af3f39b9d01b05c28
[]
no_license
Skydt90/Python_mandatory
8269ae8823cf8002e548a1a6624e4bc17688cd7b
ab800f7c013c83afda0b20f85bc66132a1464093
refs/heads/master
2020-04-28T00:32:14.056852
2019-06-13T15:23:55
2019-06-13T15:23:55
174,819,180
0
0
null
null
null
null
UTF-8
Python
false
false
285
py
import sys import time from request_clone_and_pull import cloneAndPullRepos, getGithubCloneUrls from md_create import createMDFile, pullAndPushToGit def main(): cloneAndPullRepos(getGithubCloneUrls()) time.sleep(3) pullAndPushToGit() if __name__ == "__main__": main()
[ "Christian@camillas-air.home" ]
Christian@camillas-air.home
bbf34e777ab0d9cabee867c88b277fe54d361da6
5935e39dedac1479f52a715e5f40ddd5861b7598
/Generator/model/field.py
755798447a6833f846b0a447d3fc7501565f58bd
[]
no_license
vkochano1/SchemaGen
a9d5e0e6805e942df1f6544f12214246886e1427
c971eb999db788af366677f703056b712976a602
refs/heads/master
2020-03-31T06:59:18.033077
2018-11-15T06:35:44
2018-11-15T06:35:44
152,002,843
0
0
null
null
null
null
UTF-8
Python
false
false
1,496
py
import namespace import logging import utils import copy from common import * class Field(ModelObject): def __init__(self, name, tag, dataType, namespace, attrs = None, displayName = None): super(Field, self).__init__(ObjectType.Field, namespace, name) self.className = 'Field' + self.name s...
[ "vladimir.kochanov.g@gmail.com" ]
vladimir.kochanov.g@gmail.com
9324968def63f1bc2a815d281034d41cb14f2c18
823b828854e2a9a8e7585f5ac70ec02b36ddc320
/ERP Python/pb-music-library-pa-sample-pasternakewa/file_handling.py
82cec7a9b2f5dce10337b957541f62f3418037b4
[]
no_license
Stachozaur/ERP
f57d4e865d40b97c76b8990569b4212fc3e32005
1d4e5340eadd1cfe2b56eeeb8e1750ea2c653b5f
refs/heads/master
2022-11-06T06:39:44.885635
2020-06-22T11:09:46
2020-06-22T11:09:46
274,113,893
0
0
null
null
null
null
UTF-8
Python
false
false
1,006
py
def import_data(filename='albums_data.txt'): """ Import data from a file to a list. Expected returned data format: ["David Bowie", "Low", "1977", "rock", "38:26"], ["Britney Spears", "Baby One More Time", "1999", "pop", "42:20"], ...] :param str filename: optional, name of the file ...
[ "noreply@github.com" ]
Stachozaur.noreply@github.com
eb1d2064715d7ec8f340bcb3bbec0f22274bcacf
da01dcf75e9674f2123fd1e548f117ab27394f0d
/export_spare_parts.py
d012fecf9eae598b97dbfd5783d3b0217934e719
[]
no_license
lolbefree/export_spare_parts
778198b9b72c7d3159dc66ddfd8d08fc48d84235
2adfe0fe94b78666a3208a1854fb6c7056edc6e1
refs/heads/master
2023-03-05T09:21:37.090344
2021-02-23T11:44:40
2021-02-23T11:44:40
341,150,840
0
0
null
null
null
null
UTF-8
Python
false
false
20,856
py
#!/usr/bin/python # -*- coding: utf-8 -*- from PyQt5 import QtWidgets, uic import pyodbc import openpyxl from openpyxl import Workbook import sys from untitled import Ui_Export_spare_parts import sql_querys class SpareParts(QtWidgets.QDialog): wb = Workbook() server = '' database = '' username = '' ...
[ "jioji1000@gmail.com" ]
jioji1000@gmail.com
e6177a3a63b8598016491d7e2ef26786706b0d63
d443e632c3359c7888f7cccc17d3ada64759f6fd
/scripts/test.py
692cb0b983618581f62f2b3d6d7d190c700c31ee
[]
no_license
andrewhalle/gomeetpeople
b2e123ede2170e01e3b133e652ab555617443f14
a9c52137f17e3c089ae7e55f86449546fbd613b5
refs/heads/master
2021-08-07T18:21:15.591804
2017-11-08T18:00:15
2017-11-08T18:00:15
108,918,032
0
1
null
null
null
null
UTF-8
Python
false
false
2,510
py
import os import sys from pathlib import Path # Detect running script from any directory other than /gomeetpeople if Path(os.getcwd()).parts[-1] != "gomeetpeople": print("Please run scripts from /gomeetpeople, the top-level directory of this project") sys.exit() import app import unittest class TestGetUsers(...
[ "ahalle@berkeley.edu" ]
ahalle@berkeley.edu
b79cb0b787dc77b2ddd4a7a402ddcff61edf845f
f154280f1e991a6db1c1ab01a56b70d73ed7b043
/PracticaWeb/flylo/migrations/0022_auto_20170427_0628.py
fe5f0adf2103a99ed7f5ca6eb868caba8cb26093
[]
no_license
pausanchezv/Flylo
6b0dfa317102d97a83f2b7518d5cbe2efd5cb897
820a66e02c7ea66bbaab9f7a91b5e7f6824674bb
refs/heads/master
2020-12-10T03:25:12.384765
2017-06-27T05:54:54
2017-06-27T05:54:54
95,522,157
0
0
null
null
null
null
UTF-8
Python
false
false
598
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.6 on 2017-04-27 06:28 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('flylo', '0021_clientflights_airline'), ] operations = [ migrations.RemoveFi...
[ "pausanchez.admifin@gmail.com" ]
pausanchez.admifin@gmail.com
b4e1a3269787ae9b42a3a530aa59faf672684c4b
d7c45c2dc0f4c76a49b850582ff4adcd0dae1cab
/client-python/pycti/entities/opencti_stix_observable_relation.py
a2446ee86629477674ea9b2afea26e45ff94b2d2
[ "Apache-2.0" ]
permissive
0xmanhnv/OpenCTI-Platform
cc4fbc7bde5de0363f9ffbba177de0f304f223f6
19af1b904bd908501d7e6b700fa9b2ac210989ab
refs/heads/master
2022-07-01T06:03:05.183165
2020-05-11T17:18:28
2020-05-11T17:18:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
19,313
py
# coding: utf-8 import dateutil.parser import datetime class StixObservableRelation: def __init__(self, opencti): self.opencti = opencti self.properties = """ id stix_id_key entity_type relationship_type description weight ...
[ "ngovantu1211@gmail.com" ]
ngovantu1211@gmail.com
8b8dc423f44e89a08daa4f54c382b61ef245fdae
d3dd39f878c4dbe38f63c5760fd4dab5f5680ab5
/add_factions.py
a541cc5be72af6e13f991ea34f39f0d3a526c244
[]
no_license
drvarner/infinity
2607d58795d395d90b5cb33c2798ef6422346593
13ebe05d8811b77e4603aff17e7d233bf09262e6
refs/heads/master
2021-01-21T18:57:43.670578
2017-05-27T23:28:43
2017-05-27T23:28:43
92,098,710
0
0
null
null
null
null
UTF-8
Python
false
false
494
py
from app import db from app.models import Faction pano = Faction('PanOceania', 101) yuji = Faction('Yu Jing', 201) aria = Faction('Ariadna', 301) haqq = Faction('Haqqislam', 401) noma = Faction('Nomads', 501) comb = Faction('Combined Army', 601) alep = Faction('Aleph', 701) toha = Faction('Tohaa', 801) db.session.add...
[ "david.r.varner@gmail.com" ]
david.r.varner@gmail.com
f2379650e0dd6343b60ab59650eff837015f9c3e
91b80ef798cbcdaab7f6ae0be994f5a3b12f1515
/199_2.py
7fd6af39a342243b36e1fd985043c0e445de5aba
[]
no_license
luckkyzhou/leetcode
13377565a1cc2c7861601ca5d55f6b83c63d490e
43bcf65d31f1b729ac8ca293635f46ffbe03c80b
refs/heads/master
2021-06-21T11:26:06.114096
2021-03-24T21:06:15
2021-03-24T21:06:15
205,568,339
0
1
null
null
null
null
UTF-8
Python
false
false
674
py
class TreeNode: def __init__(self, val): self.val = val self.left = None self.right = None class Solution(object): def rightSideView(self, root): """ :type root: TreeNode :rtype: List[int] """ res = list() if not root: return r...
[ "luckkyzhou@gmail.com" ]
luckkyzhou@gmail.com
5155c3a801662511c62cdf2006a8d750af586233
b8f51945f532350bb5388490da0366bcecee042f
/model/disciplina_ofertada.py
a2854f41c8b0f7d1ffd2deef38b9c12f82cb8866
[]
no_license
Flaks009/api-cadastros
2d0e86c29050b1137361cec35f8390bb8c177021
fb1e2a42fdc5769c705a12b03dc31a3aafaaef2b
refs/heads/master
2020-05-18T08:33:54.267170
2019-05-07T18:38:29
2019-05-07T18:38:29
184,298,198
0
0
null
2019-10-03T01:42:40
2019-04-30T16:44:39
Python
UTF-8
Python
false
false
1,805
py
#id: inteiro, id_disciplina: inteiro, id_professor: inteiro, ano: inteiro, semestre: inteiro, turma: texto, id_curso: inteiro, data: date class Disciplina_ofertada(): def __init__(self, id, id_disciplina, id_professor, id_curso, ano, semestre, turma, data): self.__id = id self.__id_disciplina = id_d...
[ "bruno.flaks@aluno.faculdadeimpacta.com.br" ]
bruno.flaks@aluno.faculdadeimpacta.com.br
c003668bad68a6261c5ef756832963ba513c2b68
05b859a82f8b634a760c5d3998ba2a0eb3ca08d8
/migrations/versions/145df4f73ca2_.py
39529c0f61589b3f091d7d7c56f3e129a7398867
[ "MIT" ]
permissive
akelshareif/fiscally
e69b43ddde830881cbf99eef8cae976508451972
ca44ca00537d2b9ef1bca8a3a67b66427394dc72
refs/heads/master
2022-12-03T02:23:23.869998
2020-08-26T19:21:41
2020-08-26T19:21:41
285,939,808
3
0
null
null
null
null
UTF-8
Python
false
false
691
py
"""empty message Revision ID: 145df4f73ca2 Revises: 22527c758991 Create Date: 2020-08-17 19:12:58.148706 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '145df4f73ca2' down_revision = '22527c758991' branch_labels = None depends_on = None def upgrade(): # ...
[ "abdelkareemelshareif@Abdelkareems-MacBook-Pro.local" ]
abdelkareemelshareif@Abdelkareems-MacBook-Pro.local
a5a9181fee6a2e332de834a4584fec005a8df231
d83c981aab3c299e2a0e5c4329550acbaaa5e031
/Week 6/venv/Scripts/pip3-script.py
d9351c4280b2b2911207578f6d30495b0f34a140
[]
no_license
Adit-COCO-Garg/Computer-Science-Intro-at-RIT
1570a24b12962bad50a436f5252b563173271fb7
04af43edd559163ac01e20f6b62a3c2711740acd
refs/heads/master
2020-04-16T22:36:45.146161
2020-01-02T07:08:46
2020-01-02T07:08:46
165,975,850
0
0
null
null
null
null
UTF-8
Python
false
false
420
py
#!"Z:\IGMProfile\Desktop\SEM 3\CSCI-141\Week 6\venv\Scripts\python.exe" # EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip3' __requires__ = 'pip==19.0.3' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sy...
[ "ag9126@ad.rit.edu" ]
ag9126@ad.rit.edu
2f70eac9c2392ead56e7947b876359c87083acf0
fceef7219b16f067054a5d0350f503b48660d54a
/smartcity/profile/views.py
7f157f413188f59dcb46f8f73e091b810f7a62db
[]
no_license
jiashengc/IFB299
e67a393df3aa9f2174a6bfcd1eb8183f69d44536
6bd7eea88700d9d715f6cec50e940babae5b9ef9
refs/heads/master
2021-03-24T12:38:14.931668
2017-11-01T11:37:39
2017-11-01T11:37:39
98,381,234
0
0
null
null
null
null
UTF-8
Python
false
false
541
py
from django.shortcuts import render from django.http import HttpResponse from django.http import HttpResponseForbidden from django.shortcuts import HttpResponseRedirect from django.core import serializers from splash import models import json def profile(request): if not request.user.is_authenticated(): r...
[ "n9483985@qut.edu.au" ]
n9483985@qut.edu.au
24f127ca764cdb6bc48af66564549bb9072a956c
fba2f0cb205f3456f78e47db5470b5244e5fcfaf
/problem1.py
174f1ed4e6574b2d9f23edbb3b299c1fecae8f0f
[]
no_license
Donkey1996/Perceptron
0d74698f818dd3a6b7b9da197a2bdfa3ef4d96de
e6b83db7d987938052eb923a7eff1efa29547933
refs/heads/master
2020-06-24T22:08:19.105738
2019-07-27T02:41:18
2019-07-27T02:41:18
199,105,996
1
0
null
null
null
null
UTF-8
Python
false
false
1,593
py
import pandas as pd from visualize import visualize_scatter import sys class Perceptron: def __init__(self): self.x1 = [] self.x2 = [] self.y = [] self.weights = [0, 0, 0] self.fx = [] def read(self, data): self.x1 = list(data['x1']) self.x2 = list(data['x2']) self.y = list(data['y'])...
[ "noreply@github.com" ]
Donkey1996.noreply@github.com
c584c53cbfbda7c86cd1e5675fabd0dd424f48ed
f3198eaa900c8d994fdfcc590b29720c790ab262
/docker-compose/dags/data_piplines_book/chapter3/daily_scheduled.py
519cb1e8aa03a3d53abb958d804bde6229c3be9b
[]
no_license
markday1962/airflow
dceef2ebf51584bea6a3070e43fdb3233cb82351
c20bb8c7cacd1061f6b8e3a335bbfa4cadb0dcd2
refs/heads/master
2023-01-03T14:53:15.488958
2020-10-16T12:39:03
2020-10-16T12:39:03
289,263,538
0
0
null
null
null
null
UTF-8
Python
false
false
1,234
py
from datetime import datetime from pathlib import Path import pandas as pd from airflow import DAG from airflow.operators.bash_operator import BashOperator from airflow.operators.python_operator import PythonOperator dag = DAG( dag_id="daily_scheduled", start_date=datetime(year=2020, month=10, day=16), sc...
[ "mark.day@aistemos.com" ]
mark.day@aistemos.com
2abbbf73517dccdb9129cff5d91a75ec2f606013
648e0eef462faf933cde77f88869033722967ac3
/CodeSignal/stringsRearrangement.py
2a7ce6503626f432eb5e0f2a29f298eff32060a4
[ "MIT" ]
permissive
andremichalowski/code-challenge
3ff8de2381de5e3ee3538a08cafb7172ded66766
9ea037cd4e3d6bf319b2ecab5badba94c2329528
refs/heads/main
2023-01-28T08:55:00.843177
2020-12-05T19:43:41
2020-12-05T19:43:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,306
py
# CodeSignal problem: https://app.codesignal.com/arcade/intro/level-7/PTWhv2oWqd6p4AHB9 # This solution on CodeSignal: https://app.codesignal.com/arcade/intro/level-7/PTWhv2oWqd6p4AHB9/solutions?solutionId=cNGxjcQ9Mti5fmTNe # Worst case time complexity O(n!) # Space complexity O(n^2) # Commented solution: stringsRearra...
[ "harry@gebel.tech" ]
harry@gebel.tech
14260221a37d4da5624aed84ef13269be8805d26
16c2077504a905be3f9db0c6e46d308880926dbb
/ChatBotWEB/QQChat/textsimilar/test.py
7ec1defdbbe2b574b9970d4485d97e4b2cd5c5b9
[]
no_license
Tr0py/QQbot_Kia
a9f359d1b97a2b863a7bc9ffc46ea1ac67300b7c
bf0c0d807c930fad5f665ad281ad7ef415093515
refs/heads/master
2020-03-31T11:58:11.185969
2018-10-09T07:05:25
2018-10-09T07:05:25
152,198,136
2
0
null
null
null
null
UTF-8
Python
false
false
790
py
#!/usr/bin/env python3 # coding: utf-8 # File: test.py # Author: lhy<lhy_in_blcu@126.com,https://huangyong.github.io> # Date: 18-4-27 from sim_cilin import * from sim_hownet import * from sim_simhash import * from sim_tokenvector import * from sim_vsm import * def test(): cilin = SimCilin() hownet = SimHownet(...
[ "1610839@mail.nankai.edu.cn" ]
1610839@mail.nankai.edu.cn
ab9afd063b8a0d3acec0c3d527357298316bc819
1b3700b7ad398eeba342383e8cb977216f69e906
/api/v1/utils/decorator.py
62e801125083fa69b22404925c4a4580114b9913
[ "MIT" ]
permissive
jorgep0496/Backend_FinalProject4Geek
cbe024e1ca8e9eef69343083339482abd99e7153
d61f4702335d75577a7d0b19151fa6f4028654c5
refs/heads/main
2023-01-21T01:12:35.852012
2020-12-02T05:14:56
2020-12-02T05:14:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
901
py
from functools import wraps from flask import request from api.v1.services.auth_service import Auth def token_required(f): @wraps(f) def decorated(*args, **kwargs): data, status = Auth.get_logged_in_user(request) token = data.get('data') if not token: return data, statu...
[ "lilianmonterolopez@gmail.com" ]
lilianmonterolopez@gmail.com
2708743f94efe43f3b567232aa149f30939b96ae
b9ff578716936db04baa887c8e0be0dc43fda682
/thirdparty/node_and_linklist.py
87ddd96e5ea1645e431e7b9b489f714433e5f00b
[ "MIT" ]
permissive
csyhping/Advent-of-Code-2019
a7791beaf33a5096e8cffedbaad8b788192523fa
86ea7fc4340619ddd732c070c4ad518133960fed
refs/heads/master
2020-09-23T23:25:38.032306
2019-12-20T09:38:38
2019-12-20T09:38:38
225,614,112
0
0
null
null
null
null
UTF-8
Python
false
false
2,150
py
# apply Node annd link list in python # define Node class class Node(): """Create a new node, args1 = data, args2 = next""" def __init__(self, data = None, next = None): super(Node, self).__init__() self.data = data self.next = next def __repr__(self): # print the data of the node return str(self.data) ...
[ "csyhping@connect.hku.hk" ]
csyhping@connect.hku.hk
34d3a738bb8e035c680612508bb860ecf43b4724
7a6049d9d99b676bde93fc1564ab736eaa2d80e7
/WebServer/public/chatbot/utils/Preprocess.py
d4675d9a21781f6024355281c00ce00a8654bbe5
[]
no_license
Aromdami/HybridAICharacter
1aff73ec7fecab523c14ee1bef9d999a67c4614e
91bf4e9824b8fa7c7a9ab5f99d2df19ecf8e49bf
refs/heads/main
2023-08-23T12:33:22.155801
2021-10-13T04:11:38
2021-10-13T04:11:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,887
py
from konlpy.tag import Komoran import pickle import jpype class Preprocess: def __init__(self, word2index_dic='', userdic=None): # 단어 인덱스 사전 불러오기 if(word2index_dic != ''): f = open(word2index_dic, "rb") self.word_index = pickle.load(f) f.close() ...
[ "noreply@github.com" ]
Aromdami.noreply@github.com
12b5d42a0a18f840c1a60bb40b91bd7aa8ce0507
6014ae7deb5066555acaa0881fb3d0a5debeefef
/week04/Film_News/manage.py
769b7945b53fe588a1b9c50b850568b434c9e29e
[]
no_license
wdlcoke/Python006-006
6e1b9355efd429930b86240b9c838933516237d5
4d3be1ef4ca1e136a36d7937ae3c7f354673f5ec
refs/heads/main
2023-04-02T18:44:01.674768
2021-03-21T15:37:47
2021-03-21T15:37:47
323,491,211
0
0
null
2020-12-22T01:41:49
2020-12-22T01:41:48
null
UTF-8
Python
false
false
629
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'Film_News.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise Impo...
[ "saibeilingyuanfe@126.com" ]
saibeilingyuanfe@126.com
37f6eea0ea5e08df396251ae139b189c804a84c1
989eba1d1a9bb60d21eba86f137171a3c453bee4
/vision/camera_tryhard.py
cfee5f701602f1309284f98bd95dbe9e94450e5b
[]
no_license
herculanodavi/balizabot
b698c2aab54ce9504bebc09dc19eae7eb1c96bb5
9b606b7fc70575638760d668dfc30a7c1abe613c
refs/heads/master
2021-03-13T01:25:49.488962
2017-07-07T15:51:48
2017-07-07T15:51:48
91,476,584
0
1
null
2017-06-13T18:48:42
2017-05-16T15:50:34
Python
UTF-8
Python
false
false
1,995
py
import numpy as np import cv2 properties=["CV_CAP_PROP_FRAME_WIDTH",# Width of the frames in the video stream. "CV_CAP_PROP_FRAME_HEIGHT",# Height of the frames in the video stream. "CV_CAP_PROP_BRIGHTNESS",# Brightness of the image (only for cameras). "CV_CAP_PROP_CONTRAST",# Contr...
[ "herculanodavi@gmail.com" ]
herculanodavi@gmail.com
226eb526c9383b4780dc18c15674b5da25188b0e
17db1d93f22021392b834623390486bb47efa414
/meiduo_mall/meiduo_mall/apps/orders/urls.py
c02d3b0ab075c9a7d5cb8d280d96c0f1a7cef8b5
[]
no_license
lisa530/meiduo
634f3bf3b0b7aac590e4ec28d7fcb08aa75d2bb8
9081dc0d16090f23c006727934880f0e79d1a7f7
refs/heads/master
2022-12-18T22:24:30.297694
2020-09-20T10:06:57
2020-09-20T10:06:57
292,215,639
0
0
null
null
null
null
UTF-8
Python
false
false
647
py
from django.conf.urls import url from . import views urlpatterns = [ # 订单结算 url(r'^orders/settlement/$', views.OrderSettlementView.as_view(),name='settlement'), # 提交订单 url(r'^orders/commit/$', views.OrderCommitView.as_view()), # 提交订单成功 url(r'^orders/success/$', views.OrderSuccessView.as_view())...
[ "lisa_283022177@126.com" ]
lisa_283022177@126.com
fbce6c099d23663062ea7acbaffa0159634404e6
a968ccd89787540982de76a5bfc7c7efbf811189
/projects/breakout/analog_MCP3008/saatovastus.py
8db2a0358082c2557015d408c0d700466e6cdac9
[]
no_license
Pohjois-Tapiolan-lukio/raspberry_pi-projects
43ce8e0da0e3a96fbb5c7520fc831efcdb4490d3
846b2625eb0bf7d87c84288d3ec1c25c146361d3
refs/heads/master
2021-05-06T11:42:41.269727
2019-06-06T05:29:59
2019-06-06T05:29:59
114,273,386
2
3
null
null
null
null
UTF-8
Python
false
false
582
py
''' PINnit raspbyn ja dca muuntimen valissa Raspberry--> MCP3008 Pin1 (3.3V)--> Pin16(VDD) Pin1 --> Pin15(vref) Pin6 (GND)--> Pin14(AGND) Pin23(Sclk)-->Pin13(CLK) Pin21(MISO)--> Pin12 (DOUT) Pin19(MOSI)--> Pin11 (DIN) Pin 24 (CE0) --> Pin10 (CS/SHDN) Pin6(GND)-->Pin9(DGND) output valilla 0...1 ''' from gpiozero import...
[ "kahvikannu@gmail.com" ]
kahvikannu@gmail.com
95143bdbaec49649b31fff9740d2c2f3502ea677
42fc3542747a8e74e8c0d1daeb087e33ccc2a97e
/backend/manage.py
317be14109aafa4915c3dcebd55f34d3e02e7493
[]
no_license
crowdbotics-apps/nilai-sidang-22115
6b2eb34e38d1c1af6fcfbcccbac6f0980f5dc5c7
e81adc7606a200d5d298dc41a71bb7e1a95e4cc8
refs/heads/master
2023-01-09T00:43:22.798201
2020-10-30T08:45:35
2020-10-30T08:45:35
308,571,285
0
0
null
null
null
null
UTF-8
Python
false
false
638
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault("DJANGO_SETTINGS_MODULE", "nilai_sidang_22115.settings") try: from django.core.management import execute_from_command_line except ImportError as exc: r...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
2cd118a99c5e88d03b834efc5e89d827926f740a
eb8b5cde971573668800146b3632e43ed6e493d2
/python/oneflow/compatible/single_client/nn/modules/sparse.py
f1e7ac3286dbd95fb3eef79b3eb8899929a564d2
[ "Apache-2.0" ]
permissive
big-data-ai/oneflow
16f167f7fb7fca2ce527d6e3383c577a90829e8a
b1c67df42fb9c5ab1335008441b0273272d7128d
refs/heads/master
2023-07-08T21:21:41.136387
2021-08-21T11:31:14
2021-08-21T11:31:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,346
py
""" Copyright 2020 The OneFlow Authors. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agr...
[ "noreply@github.com" ]
big-data-ai.noreply@github.com
a3a660f9f94b8e2cd9eced37e919540a58f771dc
263b1997190f39b4547530ce05e889699a77a922
/Problems/Patients/main.py
6e0b83d31abbdda1c3e89f82b1a09be7cb067872
[]
no_license
IgnatIvanov/To-Do_List_JetBrainsAcademy
fa593a29143bf388f085d4ba95713540cd89eeca
2bc4ed360c41ece09634e72e705dbc257e686958
refs/heads/master
2023-03-08T08:25:11.022569
2021-02-20T19:28:47
2021-02-20T19:28:47
339,089,324
0
0
null
null
null
null
UTF-8
Python
false
false
413
py
class Patient: def __init__(self, name, last_name, age): self.name = name self.last_name = last_name self.age = age # create methods here def __repr__(self): return "Object of the class Patient. name: {}, last_name: {}, age: {}".format(self.name, self.last_name, self.age) ...
[ "ignativanov1996@mail.ru" ]
ignativanov1996@mail.ru