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
1bb1df55d712332daea1beb8814c86596515bfd9
7c210974865d87978005a65637e496cc88820323
/maiusculas.py
57ab1d7ee2c5bf4e4807eebca321c4836a750392
[]
no_license
xandenunes/python-cousera-
2e070e805f2e115046a4ca5bd72f8d44d9a27a8a
3e1946ab428a7d6689cbd47ad422234834ba794f
refs/heads/main
2023-03-17T20:46:15.203268
2021-03-22T16:49:02
2021-03-22T16:49:02
343,896,547
0
0
null
null
null
null
UTF-8
Python
false
false
271
py
def maiusculas(frase): respostas="p" for palavras in frase: for letras in palavras: if ord(letras) <= 90 and ord(letras) >= 65: if respostas=="p": respostas = letras else: respostas = respostas + letras return respostas
[ "xandenunes302@outlook.com" ]
xandenunes302@outlook.com
cdc6692f0da110d0a1311d6ee5520bc67d75c56c
ba9687909c1b11d7baa361d16413d1e41dcbdf7b
/examples/python/pe_reader.py
e384f840d0d444946eed554e8f6a372f7c3c59de
[ "Apache-2.0" ]
permissive
tomagoyaky/LIEF
f78ea47e0aad31e6df60342544bdb97f73f787a8
758ddc7e3e7484a37eae344203c3485fc15d9097
refs/heads/master
2021-01-19T03:30:05.245889
2017-04-05T13:33:18
2017-04-05T13:33:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
17,310
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Description # ----------- # Print information about a PE file import lief from lief import PE from lief.PE import oid_to_string from optparse import OptionParser import sys def print_header(binary): dos_header = binary.dos_header header = bi...
[ "romainthomasc@gmail.com" ]
romainthomasc@gmail.com
ca9b77104fbf847e25a09d55cddd3c89bbcf7b5a
bf9a34e13a0cfdea6020ef3bacc0450c38e367e1
/POS.py
f4225ec14f6ba33111e449d93d8839786cb58114
[]
no_license
JusticeTorkornoo/POS-System
e1784914f8cf406863d94addf08ba93da32cee5c
9f929833d48a652a17f6944cf8dbecb784f5300d
refs/heads/master
2020-05-06T14:00:48.861785
2019-04-08T14:54:11
2019-04-08T14:54:11
180,168,392
0
0
null
null
null
null
UTF-8
Python
false
false
473
py
#Droid POS System import os import time import menu_items os.system('cls') print("Welcome to the Droid Restaraunt!\n") answer = input("What would you like to do?\n1. See Menu\n2. Place Order\n\n") if answer == "1": os.system('cls') #Access menu text file fr = open('menu.txt', 'r') menu = fr.read() ...
[ "justicetorkornoo@protonmail.com" ]
justicetorkornoo@protonmail.com
3e092f5d4ea1b3b19675eef2e3aa1c24813c1131
96c183fc658c92131450fdda47ff01ea4755872f
/django/microblog/apps/accounts/models.py
652bf31174d3b93d6e325ecb2fcc274468c60505
[ "MIT" ]
permissive
verkaufer/microblog
2f5beb70e49affaaec165af734e2c3f95e4158f1
3b456735e61c80a30ad0c80e70eaba533cdc008a
refs/heads/master
2020-03-17T05:03:48.831667
2018-05-16T04:22:37
2018-05-16T04:22:37
133,300,133
0
0
null
null
null
null
UTF-8
Python
false
false
2,133
py
from django.db import models from django.contrib.auth.models import AbstractUser from django.conf import settings # In case we want to switch out our auth user model in the future AUTH_USER_MODEL = getattr(settings, 'AUTH_USER_MODEL', 'auth.User') FOLLOWING = 1 RELATION_TYPES = ( (FOLLOWING, "Following"), ) # Cr...
[ "david@davidgunter.ca" ]
david@davidgunter.ca
29053d45e5500fe934811c8904129ab33aa03b60
75c72d22ab0938ba99669740358bc73ba7de4a10
/index Python basic.py
5f8febad38d8399b3ea5102ae942d17633b72465
[]
no_license
braulio300/pythonBasico
419e07b2f7142fd82ab1b6b39372160d5cc1d550
2c05566e8681ade9d10df4bad01471778b7102f2
refs/heads/master
2023-01-05T11:41:39.747502
2020-10-28T03:02:25
2020-10-28T03:02:25
307,889,392
1
0
null
null
null
null
UTF-8
Python
false
false
2,120
py
# Acá va a un comentario if 3 > 5: # Acá va a un comentario print('Esto no se va a imprimir') # if 5 > 3: # Acá va otro comentario # print('5 es mayor a 3') x = 5 y = 'chanchito feliz' print(x, y) correo = 'chanchito@feliz.com' print(correo) _mi_var = 'chanchito' MIVAR = 'chanchito' a, b, c = 'Lala', 'Le...
[ "lucas.zosst@gmail.com" ]
lucas.zosst@gmail.com
6c97434f0d179d877d4e4270e024f22dede4c34e
3d056e94e0e653a9bcde6324f0cd87fe73dc6fee
/HotNet.py
1085e0f3a77cbb3681958cc0f0f229ddea53531b
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
fvandin/HotNet
e98f67035e1fb60234707c809e139d01941f5c89
10c7001c072cf115bb3104ac9ce42500a0c0acb1
refs/heads/master
2021-01-01T16:26:17.635872
2012-03-06T22:53:10
2012-03-06T22:53:10
3,650,962
0
1
null
null
null
null
UTF-8
Python
false
false
5,111
py
#!/usr/bin/env python #Copyright 2010,2011 Brown University, Providence, RI. #All Rights Reserved #Permission to use, copy, modify, and distribute this software and its #documentation for any purpose other than its incorporation into a #commercial product is hereby granted without fee, provi...
[ "ssmith@genome.wustl.edu" ]
ssmith@genome.wustl.edu
18f75fa52d22f599cfeee1955d182996a04f31fd
4c699f2014067a5b94f926e9fa23c0b2929a2f92
/hackerrank/src/main/python/stack_exchange_question_classifier/solution_lib.py
40519891f84580e21ef60dc90097f3f84aca5117
[]
no_license
nvijayv/programming
3c8f315378e4b9ef3102a1485e81ab9a63f3774e
7cd1bcb2ea879ef1de8996ec4ed29f6e628a4b04
refs/heads/master
2020-04-06T05:05:24.363354
2018-04-25T16:32:09
2018-04-25T16:32:09
43,246,099
1
0
null
null
null
null
UTF-8
Python
false
false
2,164
py
import json import numpy import sklearn.feature_extraction import sklearn.naive_bayes training_file_path = 'training.json' train_documents = [] train_labels = [] test_documents = [] label_to_int = dict() int_to_label = dict() def main(): ### Training ### training_size = -1 with open(training_file_path, ...
[ "nitesh9vijay@gmail.com" ]
nitesh9vijay@gmail.com
e05eaa484fcc3ba5e03a90a7887dca29236b685f
7a9489b25ddbfd066d19523dbabd1afdf6006e17
/venv/Lib/site-packages/plotly/graph_objs/_scattergl.py
1b8175314030b77821d0bec23208316c0dcd0e22
[]
no_license
aidam401/Harmonic_Scanner
840b0b39cefee1fcf290850330a9b406c26ffe68
1196ae83fc517a9470cc3ab70bfd4765f0ade7bf
refs/heads/main
2023-08-25T12:49:31.502910
2021-09-21T19:25:36
2021-09-21T19:25:36
408,947,129
1
0
null
null
null
null
UTF-8
Python
false
false
107,200
py
from plotly.basedatatypes import BaseTraceType as _BaseTraceType import copy as _copy class Scattergl(_BaseTraceType): # class properties # -------------------- _parent_path_str = "" _path_str = "scattergl" _valid_props = { "connectgaps", "customdata", "customdatasrc", ...
[ "adam.tomasek@centrum.cz" ]
adam.tomasek@centrum.cz
c2ebf0a8d3fae10915bd3bdfeca2117780971c2f
7b72fd26da7817fa3371be0cc5ca39ed4a16f7bc
/Parser/src/parsetab.py
30c8dc29141f92bb1f51f9fa23d344a13dfa93e8
[]
no_license
rohitkrbose/AdaCompiler
49a50352fa5d1661f912323a40f78ebdb8dc715f
cb8d4f61a8cb951d6b79641aed5702598fd6d330
refs/heads/master
2020-04-19T04:46:22.013863
2019-04-16T16:51:31
2019-04-16T16:51:31
167,970,860
1
1
null
null
null
null
UTF-8
Python
false
false
160,548
py
# parsetab.py # This file is automatically generated. Do not edit. # pylint: disable=W,C,R _tabversion = '3.10' _lr_method = 'LALR' _lr_signature = "goal_symbolABORT ABS ABSTRACT ACCEPT ACCESS ALIASED ALL AND ARRAY ARROW ASSIGN AT BEGIN BODY BOX CASE CHAR CONSTANT DECLARE DELAY DELTA DIGITS DO DOTDOT ELSE ELSIF END ...
[ "rohit.kr.bose@gmail.com" ]
rohit.kr.bose@gmail.com
f920d5374dd4edf0fdb6cce968870eb37f011401
abe7c17c8755a6228b45238091692d0ec83d6f04
/answers/4/answer.py
4073b48ff4fdbb2665c28d88ee4d3ee40de5fe85
[]
no_license
strangeprogrammer/ProjectEuler
36c93d9245c813bf647242b49bc4a736d3c8d832
2f3261d695ed62ccd726dda4c31c98bbb65273c2
refs/heads/master
2022-12-12T03:54:07.208996
2022-12-03T17:49:44
2022-12-03T17:49:44
253,071,771
0
0
null
null
null
null
UTF-8
Python
false
false
373
py
#!/bin/python3 from math import floor def chopnum(x): if x == 0: return [] d = floor(x / 10) r = x % 10 return [*chopnum(d), r] def searcher(): maximum = 0 for i in range(999, 99, -1): for j in range(i, 99, -1): totem = i * j if chopnum(totem) == chopnum(totem)[::-1] and totem > maximum: ...
[ "32551324+strangeprogrammer@users.noreply.github.com" ]
32551324+strangeprogrammer@users.noreply.github.com
c66b87f3b058b11717f98f559d00f37b8634f962
d325bfb40ce84b26496b97466df3d231bfe6d8ab
/django_calculator/arithmaticapp/apps.py
76dea17deaad9b70b7b1da6bda967abbd3a9d434
[]
no_license
rsachink123/Django-calculator-project
e37f9dbe46dc1ceca4c7024e5d37b9648fc321c6
a8b8ec44fab4d7f7e0740929ebbcca2db8e3d2a3
refs/heads/master
2020-04-06T13:35:48.396715
2018-11-14T07:23:15
2018-11-14T07:23:15
157,507,113
2
1
null
null
null
null
UTF-8
Python
false
false
106
py
from django.apps import AppConfig class ArithmaticappConfig(AppConfig): name = 'arithmaticapp'
[ "noreply@github.com" ]
noreply@github.com
d6ff14f554f95d76d0df269401af7c9ea809743b
844336942376d18e52ab67cd6382e4f68a88f886
/pizzapy/store.py
a4ec81d6dfd4d6b02e59e9a16cf359bae04fa0ac
[ "MIT" ]
permissive
jemadd04/dominos-order
fbb1eb5a9a2bb27f6343005edba2b4f90eee228b
58c51f2eaedb9af839a21f4e95151f2efc57f25b
refs/heads/master
2022-04-19T10:12:43.841959
2020-04-15T20:25:08
2020-04-15T20:25:08
255,782,900
0
0
null
null
null
null
UTF-8
Python
false
false
2,494
py
from .menu import Menu from .urls import Urls, COUNTRY_USA from .utils import request_json class Store(object): """The interface to the Store API You can use this to find store information about stores near an address, or to find the closest store to an address. """ def __init__(self, data={}, ...
[ "james.maddox07@gmail.com" ]
james.maddox07@gmail.com
554b2682974f241ebaf13f17e89ff467d9ae6c07
b51f2c3623dafba9546c74347cea8a89d40d28d6
/medium/0881_boats_to_save_people.py
d51058ef09b8d20372db1bfdd03a52aca9417877
[]
no_license
toh995/leetcode-practice
eb5d9d23b185bb8600f5ede4fdb0e4f2b8f822e3
5648a96476d0be5094a91628c8e5444b00874c7e
refs/heads/master
2023-03-15T04:45:12.739082
2021-03-14T01:31:09
2021-03-14T01:31:09
268,459,090
0
0
null
null
null
null
UTF-8
Python
false
false
494
py
class Solution: def numRescueBoats(self, people: List[int], limit: int) -> int: people.sort() ret = 0 i, j = 0, len(people)-1 while i < j: # if this is the case, then the heavy guy can't ride with a partner - has to ride alone if people[i] + people[j] > limi...
[ "toh995@gmail.com" ]
toh995@gmail.com
7325ae304d235b7a782d87159dd5bb3bda70ee36
da92f27626485f3d75dd85b83e7d404fe5ce63eb
/migrations/versions/7ca65b6611b6_.py
404d4f4e6b46d99e35425d14f33f002d67d9a15a
[ "Apache-2.0" ]
permissive
DD-DeCaF/design-storage
c0a88c554b427d6b86ac09e5ab0b4154174ef250
0c0e07f0dc505eb4a1e4521a87f5f7ac6f879b6d
refs/heads/devel
2021-06-23T16:45:27.322527
2020-05-26T20:17:11
2020-05-26T20:17:11
161,643,976
0
0
Apache-2.0
2020-12-08T14:35:36
2018-12-13T13:34:53
Python
UTF-8
Python
false
false
1,112
py
"""empty message Revision ID: 7ca65b6611b6 Revises: Create Date: 2018-12-18 14:28:03.918045 """ from alembic import op import sqlalchemy as sa from sqlalchemy.dialects import postgresql # revision identifiers, used by Alembic. revision = '7ca65b6611b6' down_revision = None branch_labels = None depends_on = None d...
[ "ali@kvikshaug.no" ]
ali@kvikshaug.no
5f10e5e0aa37a8ef63ccb1b53c90affdd19da1a3
5b64404b8835b45a55bcfe493defb36a62ea9dfd
/VenvDjango/django-drf-react-quickstart/project/leads/models.py
f0a06a7fd169c8490088720fc0836e85d5d65f98
[]
no_license
Crusinski/React-POC
1c62e765f042529d42331c926dd3b50ee2582766
1be7c9b3975746719dd0721f7aac20c7843a2210
refs/heads/master
2020-05-02T15:30:08.279768
2019-03-27T17:26:15
2019-03-27T17:26:15
177,652,830
0
0
null
null
null
null
UTF-8
Python
false
false
235
py
from django.db import models class Lead(models.Model) : name = models.CharField(maxlength=100) email = models.EmailFeild() message = models.CharField(maxlength=300) created_at = models.DateTimeField(auto_now_add=True)
[ "crusin12@vt.edu" ]
crusin12@vt.edu
72b11eaf797d7b77e5a9273e7dd42d9378775be4
8a70e7ceb205a18a36463d7a2044622b2f538eba
/EEE.py
c1e93f1e04913f25e45efd6ad03a4a8207ac2a58
[]
no_license
joseortunomacias/Modelo_estelar
8823c25fc9ae9aaf23911249bdd646be2f5efb06
5f7a52f31dce4beb7adc2e7b32417c3dec073e71
refs/heads/main
2023-07-13T23:54:53.388651
2021-08-26T10:54:12
2021-08-26T10:54:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
25,396
py
# -*- coding: utf-8 -*- import numpy as np from math import * #******************* #Ritmo de generación de energía #******************* def calc_epsilon(Z, T): # ciclo PP X1PP = X #fracción de masa del hidrógeno X2PP = X #fracción de masa de elementos pesados if (T*10.0 <= 4.0): epsilon1PP = 0.0 nuPP = 0.0 ...
[ "joseortunomacias@gmail.com" ]
joseortunomacias@gmail.com
7768470497ac4e17f1fb76a6e0cb75dc7186fdc7
05e5363dbf29cd30074478fa69335892554a9b44
/motion/motion_det.py
55f2656273713f39d6f3058963647a2a333e0dd6
[]
no_license
NicoAN42/Intruder_Cam
a17ddbea7adb28399d98a617cecc00b3844466ce
80f94bdc73f924b2d29fb82af029a8ae17ebee68
refs/heads/master
2020-12-19T11:23:51.524986
2020-01-23T04:23:58
2020-01-23T04:23:58
235,719,398
0
0
null
null
null
null
UTF-8
Python
false
false
1,450
py
import cv2 import numpy as np cap = cv2.VideoCapture('cctv6.mp4') frame_width = int( cap.get(cv2.CAP_PROP_FRAME_WIDTH)) frame_height =int( cap.get( cv2.CAP_PROP_FRAME_HEIGHT)) fourcc = cv2.VideoWriter_fourcc('M','J','P','G') out = cv2.VideoWriter("outpy" +"cctv6"+ ".mp4", fourcc, 10, (frame_width, frame_hei...
[ "noreply@github.com" ]
noreply@github.com
036b3d34dda706015d59f43a42cdd3801efa1468
e89d3a5e5ca92c61b5a893e4612326a18c4b16ad
/File.py
c1c02d01a870ba37284a095d3a69c75778bf53d4
[]
no_license
macro-su/Piltov
208fb5dfdb2db149972d7e50264fd2cae391ba1e
051f9ac3285bcdb78d54499db3b964e84f2035cf
refs/heads/master
2020-06-23T15:07:51.600745
2019-07-24T15:07:57
2019-07-24T15:07:57
198,658,930
0
0
null
null
null
null
UTF-8
Python
false
false
558
py
""" file: 必需,文件路径(相对或者绝对路径)。 mode: 可选,文件打开模式 buffering: 设置缓冲 encoding: 一般使用utf8 errors: 报错级别 newline: 区分换行符 closefd: 传入的file参数类型 opener: """ f = open('D:\\1.text', 'w') i = 0 while i < 20: f.write('python 非常简单 \n') i += 1 f.close() r = open('D:\\1.text') # str = r.read() # print(str) line = r.readline() print(...
[ "suhong" ]
suhong
1fd3c7dcdaee0f2cd6192865afab9d0e2e5b0b6d
3ecc46537428feb5f0b5b68a1a7bd0d862c022f7
/binding.gyp
08a3b59c2d72398bf5ee63b3e30d815fe957bed9
[]
no_license
black--cat/node-xmms2
9bfc42297ed15065be8e840292bb7d3008ec4c54
99a8123535f4ee483a87e38824fb52a0c84e5b89
refs/heads/master
2016-09-05T21:55:51.654474
2013-05-01T12:11:48
2013-05-01T12:11:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
486
gyp
{ "targets": [ { "target_name": "xmms2", "include_dirs": [ "<!@(pkg-config xmms2-client-cpp --cflags-only-I | sed s/-I//g)", "<!@(pkg-config glib-2.0 --cflags-only-I | sed s/-I//g)" ], "libraries": [ "<!@(pkg-config xmms2-client-cpp --libs)", "<!@(pkg-config...
[ "blacksoron@lavabit.com" ]
blacksoron@lavabit.com
2dee56f857da54a849b045a4fc35cf310a5cd549
6036226b6820c8d1117e81e0611fef0a32f1996b
/nlp_preprocess/stopwords_removal.py
59995071ce870939eefc5c9d301117a91818ecee
[ "BSD-2-Clause" ]
permissive
nitinranjansharma/nlp_preprocess
5d86d989308c4e0e181b8f80bd35d29d4c4ce998
3b29810326bace1f55feb5e96933f12e9323abc4
refs/heads/master
2022-12-11T21:58:42.433168
2020-09-15T04:54:39
2020-09-15T04:54:39
293,078,267
0
0
null
null
null
null
UTF-8
Python
false
false
343
py
class StopWords(): def __init__(self, text, stop_list): self.text = text self.stop_list = stop_list def get_data(self): return(' '.join([i for i in self.text.split(" ") if i not in self.stop_list])) def rem_stopwords(text, stop_list): rem_stop = StopWords(text, stop_list) retu...
[ "nitinranjansharma@gmail.com" ]
nitinranjansharma@gmail.com
1d02be350bd89c4ad24b2390e8c69e52de9cb2c8
24b79d18bc9b522c86d65d7601d7012fe29b0693
/program9-11/main_pro.py
58caffbe4b62c30aec554f26abfbfda139e026c1
[]
no_license
meenapandey500/Python_program
409fafa2e8f50edfbf30ddfbdf85b47569bf229c
2bcb5fd51aebb4dca4bcc31a26e6b05a3603d5f0
refs/heads/main
2023-03-18T11:49:58.302858
2021-03-19T09:29:24
2021-03-19T09:29:24
349,359,162
0
0
null
null
null
null
UTF-8
Python
false
false
128
py
import file_class as f1 #main program f=f1.files() #f is a object of class files f.writefile() f.readfile() f.copyfile()
[ "noreply@github.com" ]
noreply@github.com
1972b188b299cf8d5a87405f14673cc2f1f5a87a
d4b142fe30a807e444b1a2a00896616b38690403
/backEnd.py
e6d0d0ab614b54f31849f25313c53615f8dc759b
[]
no_license
vcruzato/python-bottle-vue
09a780cff91723f7301082c4ea1c7fd24ce86544
eb9f4bb5549f54cd1689cb3e055c4ed0d6bfbbee
refs/heads/master
2021-09-07T09:37:48.902067
2018-02-21T02:30:50
2018-02-21T02:30:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,069
py
# -*- coding: utf-8 -*- from bottle import run, app, template, post, get, put, delete, static_file, request, json_dumps from pony.orm import Database, PrimaryKey, Set, Required, db_session, Optional, select from pony.orm.core import TransactionIntegrityError, CacheIndexError from os import path __author__ = 'Vinicius...
[ "vinicius.cruzato@gmail.com" ]
vinicius.cruzato@gmail.com
f9d0cd913bc644438b2283c4c73a842bb429935f
2151ee9ad78e68e3720753fa5042d6c5b2625fcf
/book/campaigns/urls.py
b27be8988b1ec8e70c84785c2899c9528c12911a
[]
no_license
sulesuleman/combined-webpush
d102fa9b06a66851b1701aca386d88ef7a5fc062
c8eeeb1fdd9dc2889c2ec0a5b469ba8ec26e0d99
refs/heads/master
2023-02-18T23:49:12.456631
2021-01-19T18:06:01
2021-01-19T18:06:01
326,957,591
0
0
null
null
null
null
UTF-8
Python
false
false
285
py
from django.urls import path, include from campaigns.views import CampaignViewSet, ExportCampaignViewSet urlpatterns = [ path('', CampaignViewSet.as_view( {'get': 'list', 'post': 'create'})), path('export/', ExportCampaignViewSet.as_view( {'get': 'list'})), ]
[ "64007954+sulesuleman@users.noreply.github.com" ]
64007954+sulesuleman@users.noreply.github.com
bff3b2c527447f1f88f50748842058001df6d0b2
1e177ebdcb470f738c058606ac0f86a36085f661
/Python/AdafruitIO/SendBlockHeat02_0.py
dc11ecc9ab7849e9906af300e627f575c087dfc7
[]
no_license
robingreig/raspi-git
5cbdd295c1048a0571aa2c2f8576438269439f07
7373bf94557d7a88c8f343362ba64f9cd19c8ce7
refs/heads/master
2023-08-31T03:16:17.286700
2023-08-26T11:54:23
2023-08-26T11:54:23
16,873,881
2
0
null
null
null
null
UTF-8
Python
false
false
357
py
#!/usr/bin/python # Import Library & create instance of REST client from Adafruit_IO import Client aio = Client('7e01e8b5e56360efc48a27682324fc353e18d14f') # Send the value of 1 to BlockHeat02 aio.send('blockheat02',0) # Retrieve the most recent value from 'BlockHeat02' data = aio.receive('BlockHeat02') print('Recei...
[ "robin.greig@calalta.com" ]
robin.greig@calalta.com
7afae805fd09468669dd3aa384b9b6a62a658cbf
1056768e433507e4a87514799556844061771a3d
/nputils.py
a89379f32ccddb36951ed4e5e06f6eeff86e1895
[]
no_license
wass88/ubongo3d
d6b45a38dfbc33027d00ff9cf116ed449a97ca41
6b88327330c9c4c41f6f434fe4e1f9da95bd7d0d
refs/heads/master
2021-06-11T05:49:24.521505
2021-03-01T09:27:13
2021-03-01T09:27:13
134,140,597
0
0
null
null
null
null
UTF-8
Python
false
false
4,062
py
import numpy as np import string class NpUtils: X = 2 Y = 1 Z = 0 @staticmethod def zeros(shape): return np.zeros(shape, dtype=np.int) @staticmethod def rotX(block): return np.flip(np.swapaxes(block, NpUtils.Y, NpUtils.Z), NpUtils.Z) @staticmethod def rotY(block): return np.flip(np.swa...
[ "wasss80@gmail.com" ]
wasss80@gmail.com
4f0fe3d099194e915d8a5db2b0850bd92f76cbc2
0facb323be8a76bb4c168641309972fa77cbecf2
/Configurations/HWWSemiLepHighMass/Full_v6Production/template_seed/templates_jhchoi_combine/StructureFiles/MakeSampleStructureNuisancePythons.py
2e5c33f66236b1b84dc00bbe1203bd86d8005a68
[]
no_license
bhoh/SNuAnalytics
ef0a1ba9fa0d682834672a831739dfcfa1e7486b
34d1fc062e212da152faa83be50561600819df0e
refs/heads/master
2023-07-06T03:23:45.343449
2023-06-26T12:18:28
2023-06-26T12:18:28
242,880,298
0
1
null
2020-02-25T01:17:50
2020-02-25T01:17:49
null
UTF-8
Python
false
false
3,908
py
import os import sys sys.path.insert(0, os.getcwd()+"/../MassPoints") sys.path.insert(0, os.getcwd()+"/../") ##--signal Mass points--## from List_MX import * from List_MX_VBF import * from WPandCut2016 import Year List_MX_common=list(set(List_MX).intersection(List_MX_VBF)) ##--bkg--## #BKG=[ 'DY', 'WZZ', 'WWZ','WWW',...
[ "soarnsoar@gmail.com" ]
soarnsoar@gmail.com
64b439f86b8db69aa457c8926de6da91364da90e
559da96cbbedd3bb986de23b5ff3beab3941938a
/MoteData.py
e0508fe771281856e4f27468727cfe0553ab7e3e
[]
no_license
LW-Ho/CoAP_CLI
4e2501e54d9b801bf96f555b03ffc6e981c30afc
71f2c308ba201edaed12e19e397379cfdd8ee636
refs/heads/s-tasa
2023-05-25T23:23:28.809873
2019-08-02T02:09:38
2019-08-02T02:09:38
150,559,819
1
3
null
2023-05-22T21:27:40
2018-09-27T09:10:42
Roff
UTF-8
Python
false
false
3,963
py
import logging log = logging.getLogger("moteData") import struct import datetime from sqlalchemy.ext.declarative import declarative_base from sqlalchemy import Column, Integer, String, DateTime import core.nodeinfo as NodeInfo Base = declarative_base() nodeinfo = None class MoteData(Base): __tablename__ = 'mot...
[ "leoleo41306@gmail.com" ]
leoleo41306@gmail.com
d43bbab9f9a13477a8b74776ca4f57d1be26f5b5
7aba7c5aa159f626dae51cb8f48a7915f010c621
/src/event.py
23f110fcc23b537838488a1eb5b9fbfc87d4eff4
[]
no_license
Kirk-KD/dispy
4a7f10b94e390c2baa86ff0ab5a85e528dfe9093
c30ea41bd7a280498cc4e8b0161b66e73424f989
refs/heads/master
2023-09-01T12:21:08.060758
2021-10-24T23:03:51
2021-10-24T23:03:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,288
py
import datetime import discord event_type = [ "DM Message Received" ] class Event: def __init__(self, event_type: int, timestamp: datetime.datetime): self.event_type = event_type self.timestamp = timestamp def make_json(self, data: dict={}): return { "event_type":...
[ "kirk.ding123@gmail.com" ]
kirk.ding123@gmail.com
112246a1eab029129fc678e7c54c4b4b9a03bf68
3b6e22df9a90ebabe3c83792066661eee0a455e6
/chapter1thru2/modulePractice.py
659fd88041d81465ba900aeafe64a277939edc45
[]
no_license
lgngrvs/atbswp
5890f0106a45f8056d18398aed5f5bc14a8238da
21ed6ba7c21343cf63218a39f3bd436762035c25
refs/heads/main
2023-06-26T22:18:46.532692
2021-08-02T05:18:31
2021-08-02T05:18:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
496
py
import random # or you could do # from random import * # if you do that you don't need to specify random.me # but the code is less readable # Loc 9% thru book while True: #repeats over and over until it breaks randomNumber = random.randint(5, 20) if randomNumber != 13: print(randomNumber) co...
[ "github@logangraves.com" ]
github@logangraves.com
0eee5ad99006d12b728fdab7b208da44e7506461
7b2ef3501b79edb7cf5bb62c7467f11b8af97ba6
/txt_save.py
a77aecfc1e67998e541e963645140d30be9f8650
[]
no_license
Hihien/recognition_hand_raising
ffc13c27dbfab0142b1a9ca4c6c066ec8fc02171
f28ee96f918d582026fec9a544e4ab5f7511895f
refs/heads/master
2023-07-29T12:41:18.814764
2021-09-12T03:37:49
2021-09-12T03:37:49
405,535,146
0
0
null
null
null
null
UTF-8
Python
false
false
2,435
py
import hashlib import os import pathlib import shutil import sys import time import cv2 import torch import numpy as np import json data_dir = "D:/code/pose_3d_human/outputs/alpha_pose_1/split_image/" output_path = 'D:/code/pose_3d_human/outputs/alpha_pose_1/' file = 'D:/code/pose_3d_human/outputs/alpha_pose_1/alphapo...
[ "LeThuHien22" ]
LeThuHien22
dcdc97fea93c9ce704f6bfac7b4877a1df65eb42
085d0dd930503015be184acda4b8ee9823bd4874
/files.py
9a5434d41f90402d1f7d61a7049846971e4f1795
[]
no_license
darshita1108/files
db2eb8b26d120a2f6612242a3c18cdb8826ab132
fbb4f9fe60472c146edd1e9286503b23460c4d6c
refs/heads/master
2021-04-24T21:12:38.581384
2018-01-18T10:33:25
2018-01-18T10:33:25
116,720,330
0
0
null
null
null
null
UTF-8
Python
false
false
531
py
from urllib import request goog_url="http://samplecsvs.s3.amazonaws.com/SacramentocrimeJanuary2006.csv" def download(csv_url): response = request.urlopen(csv_url)#we had reached that webpage csv = response.read()#data is now in csv csv_str = str(csv) lines=csv_str.split("\\n")#split takes a hu...
[ "noreply@github.com" ]
noreply@github.com
98814039152f200bde3c68476e555c6edfdd7b18
59b39e1f95a61cfbd362e9c7c46acada4265ed4f
/modelling.py
d2a4248cfeeccfbcccd71556fb043ff705928d6e
[]
no_license
nosos-kindynos/Modelling
dc0e95bcf5170a5095c9073762898aec1ce0ccd2
c02252656bc6fb2b073dac14934aa42b0902a38f
refs/heads/main
2023-01-24T07:47:49.197000
2020-12-05T15:09:18
2020-12-05T15:09:18
310,035,066
0
0
null
null
null
null
UTF-8
Python
false
false
2,768
py
from functions import * def model_data_to_weighted_dyadic_relationships(average_transfer_chance, data): def convert_data_to_risk_mapping(data): average_deviation_of_vertex = {} for person in data: total_deviation = [] for contact in data.get(person): found ...
[ "noreply@github.com" ]
noreply@github.com
6b133f948bde3b69357f0d0355163472611ee2c0
b15d2787a1eeb56dfa700480364337216d2b1eb9
/samples/cli/accelbyte_py_sdk_cli/dsmc/_get_pod_config.py
fd77e0232409867b0e87d628c72505c2b76f2569
[ "MIT" ]
permissive
AccelByte/accelbyte-python-sdk
dedf3b8a592beef5fcf86b4245678ee3277f953d
539c617c7e6938892fa49f95585b2a45c97a59e0
refs/heads/main
2023-08-24T14:38:04.370340
2023-08-22T01:08:03
2023-08-22T01:08:03
410,735,805
2
1
MIT
2022-08-02T03:54:11
2021-09-27T04:00:10
Python
UTF-8
Python
false
false
2,210
py
# Copyright (c) 2021 AccelByte Inc. All Rights Reserved. # This is licensed software from AccelByte Inc, for limitations # and restrictions contact your company contract manager. # # Code generated. DO NOT EDIT! # template_file: python-cli-command.j2 # AGS Dsm Controller Service (6.4.0) # pylint: disable=duplicate-c...
[ "elmernocon@gmail.com" ]
elmernocon@gmail.com
8359151fec2dce200691a8e0fbdf342e8666fae4
d0d9a339597789f4a212106d6128ace8edd7bf84
/Proj1/Proj1/asgi.py
c46ff2ca4859f3d0d8db1b239478f3dd4b335bf9
[]
no_license
SanjayaBista/CRUD
a29b32a77569fe5d10648f607e7c8a93127f1b1a
e521009749508c97691d897cbc05eb378eab6a4d
refs/heads/master
2023-07-02T04:37:24.812280
2021-08-11T08:15:19
2021-08-11T08:15:19
394,915,051
0
0
null
null
null
null
UTF-8
Python
false
false
403
py
""" ASGI config for Proj1 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.2/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('D...
[ "Sanjaybista681@gmail.com" ]
Sanjaybista681@gmail.com
80e2aeecb919b1588a758c55155b5fc6de42db11
8de8d2e0bdf3904fe52716ba479632c483190138
/day_15/intcode.py
9a2e90e57757c4209d2156f6d1aae37b564a533b
[]
no_license
Foknetics/AoC_2019
751603d5207bb04b253088df91fba3740b4b8da8
8f49bb4cfef250fb4f1862a21502e7f4a302ab87
refs/heads/master
2020-09-22T17:04:51.637690
2019-12-17T03:14:21
2019-12-17T03:14:21
225,280,412
1
0
null
null
null
null
UTF-8
Python
false
false
4,645
py
from intcode_operators import ( equality_ops, io_ops, jump_ops, len_op, math_ops ) class Intcode: def __init__(self, starting_memory=None, inputs=None): if starting_memory: self.memory = starting_memory + [0 for _ in range(1000)] else: self.memory = None...
[ "connorabratten@gmail.com" ]
connorabratten@gmail.com
7947ba5836665cbc7a669790723bb83bc4c55796
983c2cb1d69a4b35b1884dcebcf4be534282300b
/utils_mongodb/__init__.py
dd4f74091274e569564ed87d0a4f752b4585a3e3
[ "MIT" ]
permissive
BrunoASNascimento/api_aluraflix
a4e13dca6fb086cbf641b3fdd61c2097cf87aa50
ef0f3f033602796a295d23b36786ae762a111557
refs/heads/main
2023-08-11T10:09:48.623816
2023-07-23T17:14:36
2023-07-23T17:14:36
387,951,505
0
0
null
null
null
null
UTF-8
Python
false
false
155
py
from .mongo_connection import * from .read_documents import * from .create_document import * from .delete_document import * from .update_document import *
[ "bruno-asn@outlook.com.br" ]
bruno-asn@outlook.com.br
975777e5413f813c32b2310caad5d5c414a812e0
bdc3f0d94410ed587c9d44893ab1f3ae19f65edf
/starter_code/migrations/versions/d6b863cbccad_.py
f6f5be8b16cc2092375e8a8549741f72db9b398b
[]
no_license
Raghad-Kayal/fyyur_01
81f1c8a041ad28144fe7ae995579359ee1fedd71
57fe1b5b3ac61b05912aeefaeb4702eb51e70a1b
refs/heads/master
2022-12-31T17:43:30.795779
2020-10-22T10:40:07
2020-10-22T10:40:07
304,607,897
0
0
null
null
null
null
UTF-8
Python
false
false
999
py
"""empty message Revision ID: d6b863cbccad Revises: c3d72ae61b1a Create Date: 2020-10-21 15:40:54.737706 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = 'd6b863cbccad' down_revision = 'c3d72ae61b1a' branch_labels = None depends_on = None def upgrade(): # ...
[ "ragadkayal@hotmail.com" ]
ragadkayal@hotmail.com
81fd2c954c0a052cc19526a8aa2c6951dac03eb3
b333dc607a2f1556f6a8adb6d16dc88fa8a30c8b
/portal/apps/endless_pagination/templatetags/endless.py
4da67090f0acea9637dac724cdd9b6567db42bb0
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
hernan0216/utopia-cms
6558f8f600620c042dd79c7d2edf18fb77caebb8
48b48ef9acf8e3d0eb7d52601a122a01da82075c
refs/heads/main
2023-02-06T10:31:35.525180
2020-12-15T17:43:28
2020-12-15T17:43:28
321,775,279
1
0
BSD-3-Clause
2020-12-15T19:59:17
2020-12-15T19:59:16
null
UTF-8
Python
false
false
18,712
py
import re from django import template from endless_pagination import settings, models, utils from endless_pagination.paginator import DefaultPaginator, LazyPaginator, EmptyPage register = template.Library() @register.tag def paginate(parser, token, paginator_class=None): """ Usage:: {% paginate obj...
[ "apacheco@ladiaria.com.uy" ]
apacheco@ladiaria.com.uy
dad8659649aeb63f25fada90a07283d2b929593d
97da7ab2ba2c3aec8e1a2e659e1b0737bad2eef3
/Benitez/app/estudiantes/views.py
d52c69ef41b313a511f931f2a5101e4a87d8c1a2
[]
no_license
Orixstranger/examen
fcb18dd5daaa02234c0e70ecce5002a83cb3f076
2749eb2fb3c1fb51ac275ca84dc8b0cc7f9055b3
refs/heads/master
2020-04-05T13:12:02.505822
2018-11-09T16:55:43
2018-11-09T16:55:43
156,891,507
0
0
null
null
null
null
UTF-8
Python
false
false
2,392
py
from django.shortcuts import render,redirect from django.http import HttpResponse from django.contrib.auth.decorators import login_required from app.estudiantes import forms from .forms import FomularioEstudiante from app.modelo.models import Estudiante # Create your views here. @login_required def principal(request)...
[ "33458570+Orixstranger@users.noreply.github.com" ]
33458570+Orixstranger@users.noreply.github.com
0e5c0c98690ecb3c59999d929bd967c588c57ff0
8439b8260badd360f835b4b8b2783ab3de357767
/m2_d01_Logging/m2_d01_Logging/spiders/spider_logger.py
3011860d27803fa8ee871b38e6bcdc56232aa67f
[]
no_license
HendrixReino/Slight
c1903f5722add00a7b5084fd627fc3a6c76b4c32
d83d24a1d2cf8388ec996aa9f024129b4cf8e818
refs/heads/master
2020-09-10T14:48:58.511800
2019-11-14T15:18:32
2019-11-14T15:18:32
221,726,327
0
0
null
null
null
null
UTF-8
Python
false
false
901
py
import scrapy from m2_d01_Logging.items import QuestionItem from scrapy.loader import ItemLoader from scrapy.loader.processors import TakeFirst class LogExampleSpider(scrapy.Spider): name = 'logger' start_urls = ['https://stackoverflow.com/questions?sort=featured'] def parse(self,response): que...
[ "hendrixviera@Hendrixs-MBP.attlocal.net" ]
hendrixviera@Hendrixs-MBP.attlocal.net
16ffbb828eb5b231641af1eb33529a5d9c012970
4bee2ed8a94591e57a31c2279da119e9d1563d0a
/nlp_paper_implement/classification/Text-CNN/code/model.py
ffa1bf3b47a82c0a7d90494f9e26c37aa322ae48
[]
no_license
TEAMLAB-Lecture/deep_nlp_101
8caf7d571ca3f1feb2a06f2f4a22a5e2723154d7
52c9d6e5e19b1302d0b8e1d9411e65b2d4c9ed3a
refs/heads/master
2020-03-22T14:07:28.196683
2018-12-12T23:55:37
2018-12-12T23:55:37
140,154,739
3
1
null
null
null
null
UTF-8
Python
false
false
12,519
py
import tensorflow as tf import numpy as np from sklearn.utils import shuffle from sklearn import preprocessing from konlpy.tag import Twitter pos_tagger = Twitter() class KoreanTextCnn(): def __init__(self,channel_shape): self.TRAIN_DIRECTORY = '../data/ratings_train.txt' self.TEST_DI...
[ "kimjeyoung1@naver.com" ]
kimjeyoung1@naver.com
e4983001b9f4e18a89396bb619bdb020cc0b2a34
a46ca123ee541af37e42ed874db9826355cffdd7
/run.py
53b4b006a6c907bca61c83863045faeb06665e57
[]
no_license
xiaoyuoshu/HouseKeeper
d5bec03a7a7bf15e4711df7c7700dd7c5927958a
93afded7b4745ab789c172dbc9f7e12d2ecd4dda
refs/heads/master
2020-06-08T10:34:18.529304
2019-10-18T16:10:51
2019-10-18T16:10:51
193,214,750
0
0
null
null
null
null
UTF-8
Python
false
false
70
py
from StoreHouseKeeperWeb import app if __name__ == "main": app.run()
[ "395506376@qq.com" ]
395506376@qq.com
724571859b87554d5239a16c56269c8f69bbbcd9
b8f681a2cd806301ce755f3bd05effd8af4ca03f
/api/helpers/serializer.py
46129d0ef1431905e196eafa0b7642f1cd7b2a05
[]
no_license
ljxproject/comics
b9fe8e964fc44ac16032afc70f262755adf524e7
f57aff02fd1e718f37e628f5ae220759a74f1fa2
refs/heads/master
2022-12-17T08:40:43.960238
2018-12-03T01:52:52
2018-12-03T01:52:52
144,719,518
0
0
null
null
null
null
UTF-8
Python
false
false
4,779
py
from rest_framework import serializers from userapi.models import Permission, User from userapi.models.feedback import FeedBackDetail, FeedBack class ComicsSuccessSerializer(serializers.BaseSerializer): def to_representation(self, data): return { "code": "200", "msg": "O...
[ "grave@ijdeMacBook-Pro.local" ]
grave@ijdeMacBook-Pro.local
89ea2edafb311dcf15707aa79731a3be564775b6
1804187f39dd6004250933b35ba9ce24297f32a5
/strip.py
93c4a5fd8135cbbe7e5fba71b7874cec07e99291
[]
no_license
xiaomengxiangjia/Python
ecd2e3e8576364f15482669cb75b52b8790543f5
7f52a33d7956068d26347cf34d35c953b945a635
refs/heads/master
2020-03-20T23:01:09.981928
2018-08-23T09:04:53
2018-08-27T05:46:38
137,825,481
0
0
null
null
null
null
UTF-8
Python
false
false
49
py
favorite_language = ' python ' favorite_language
[ "645334483@qq.com" ]
645334483@qq.com
d798508db278b21b33d7535d4228a09122e05c85
4be9a5bdb8e051001b78c8f127ccc1a7f85c14e7
/monitoring/forms.py
e1648ae00d7df6d2c21eabc75faeffdc180af623
[]
no_license
quentin-david/heimdall
f72a85606e7ab53683df2023ef5eaba762198211
84a429ee52e1891bc2ee4eb07a084dff209c789c
refs/heads/master
2021-01-21T10:26:28.895663
2017-07-21T19:19:46
2017-07-21T19:19:46
83,432,596
0
0
null
null
null
null
UTF-8
Python
false
false
150
py
from django import forms from .models import Munin class MuninForm(forms.ModelForm): class Meta: model = Munin fields = '__all__'
[ "david@hemdgsa01.local.lan" ]
david@hemdgsa01.local.lan
699200756372ed209e1b275cdae246f2b9b3e134
e9b8cf0b0dd333fec7f12a1f4f3d0de096de4422
/dhira/data/dataset/internal/indexed_text.py
e000d6946229e9e6864186a1886c2f82fee3bcb9
[]
no_license
Mageswaran1989/dhira
f111985b530b21278b9c6b438ab17667c966c39d
37927094c279e5c8a95d845c379fcebb409cfdff
refs/heads/master
2023-01-08T09:36:04.761102
2017-09-19T07:41:19
2017-09-19T07:41:19
85,969,187
4
2
null
2022-12-20T18:53:05
2017-03-23T15:58:38
Jupyter Notebook
UTF-8
Python
false
false
11,685
py
import logging from tqdm import tqdm_notebook as tqdm from dhira.data.dataset.internal.dataset_base import Dataset from dhira.data.dataset.internal.text import TextDataset logger = logging.getLogger(__name__) # pylint: disable=invalid-name class IndexedDataset(Dataset): """ A Dataset of IndexedFeatures, w...
[ "mageswaran1989@gmail.com" ]
mageswaran1989@gmail.com
6a23a981aee9cdb4a99be8a058480b53fee52b4a
098d02ef4761ad7c08f70b6880fb32aeb7ef0c9f
/home/views.py
097758bb0fc992b9811a427ad63ac3b6e4a78f70
[]
no_license
caisi35/djangoFilm
1f178a2111591f9e8d35d364a2c07aa44a907d8a
cd73289803bfd340416109261e3f76bbb0276c4b
refs/heads/master
2022-09-05T01:28:47.576300
2020-05-31T13:55:01
2020-05-31T13:55:01
267,245,732
3
4
null
null
null
null
UTF-8
Python
false
false
2,950
py
from django.shortcuts import render from django.http import JsonResponse import os from djangoFilm import settings from home.models import book, hits from django.http import HttpResponse import csv # 将上传的文件保存到本地 def handle_upload_file(name, file): """ 将上传的文件保存到服务器的uploads文件夹下,并调用insertToSQL函数 :param name:...
[ "caisi1735@163.com" ]
caisi1735@163.com
e6ab242e80894670d80c6e7da6c81c708c0fee29
fdbfd06bab128dd242b39fc8b2cb4291f14df2b2
/55knock_py/knock_10.py
8834061be6298a8f639080a7533b18aa6205d72e
[]
no_license
yuukou3333/study-python
c76823fc0df1ff859b225bfce90dfc36d863796f
a32dea6c64b948fa59c56496777d46a86405773a
refs/heads/main
2023-02-19T09:37:16.757645
2021-01-23T01:19:14
2021-01-23T01:19:14
328,935,813
1
0
null
null
null
null
UTF-8
Python
false
false
157
py
# 文字列 (format) a = 5 b = 3 print(f"{a}%{b}={a%b}") # 他の解答 ==================================== ans = "{}%{}={}".format(a,b,a%b) print(ans)
[ "" ]
1962bffc0d869af480acd6737a50ac335e08cba3
cc2668e2007b550b0f134daba5ba52e652291a50
/RF-LSTM/rflstm_on_syn_arma.py
6b57176daf96d2b3c3c608b7a8a2c1d4d9a43493
[ "MIT" ]
permissive
bekerov/Generative-Models-in-Classification
ca715165f7f707f8c109059c58013cbddc86837b
eca360a2fb7cf5548e8987c2524654e2340a7209
refs/heads/master
2020-04-07T17:35:51.083890
2016-08-01T19:12:04
2016-08-01T19:12:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,902
py
""" Generate a dataset with the following properties - Binary classification - Static features which are ~0.7 separable using RF - Dynamic features which are ~0.7 separable using generative-model-based classifier - Some of the instances must be predicatable only from the static features, other only fro...
[ "annitrolla@gmail.com" ]
annitrolla@gmail.com
94b00d5162fd902e50ba592485b05b50bd89e40f
eec764c9ef137c84b723a10f0f3d98483df79d8f
/Algorithm.Python/PortfolioRebalanceOnCustomFuncRegressionAlgorithm.py
db636c64b600147203dcaec0dbc87fe93fe638f6
[ "Apache-2.0" ]
permissive
xposure/Lean
0cddeeb8ef0788eda574b767baa96de93d9af427
3cbcf3b00cbf0007fa0cfccf9d08d5682e76abf5
refs/heads/master
2023-03-12T08:31:17.345977
2021-03-05T19:58:27
2021-03-05T19:58:27
339,163,340
4
1
Apache-2.0
2021-02-15T18:02:42
2021-02-15T18:02:41
null
UTF-8
Python
false
false
4,214
py
# QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals. # Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation. # # 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 Lice...
[ "martin.molinero1@gmail.com" ]
martin.molinero1@gmail.com
1fd4b36c279b6ff7043219926090c9f2869224d8
07cc3272aa520be978a2157b2cfc5e64f8e77b39
/pyaff4/rdfvalue.py
1f53c2b31c17ddf089af461880e267fab1388ac0
[ "Apache-2.0" ]
permissive
tweksteen/aff4
09e4cd6b8140691442866507013bd18e803aafdd
9287ec766a2fd4c41f4220f107ed8434e6e074a9
refs/heads/master
2021-01-17T19:56:27.582579
2015-11-23T03:48:21
2015-11-23T03:48:21
46,695,030
0
0
null
2015-11-23T03:43:08
2015-11-23T03:43:08
null
UTF-8
Python
false
false
4,762
py
# Copyright 2014 Google Inc. 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 agre...
[ "scudette@gmail.com" ]
scudette@gmail.com
349d8f743ffa3363cffd62c63ed15f1cd36ff3ce
755c40f562c17f288ae069f3ad5f3733b63e2f9e
/chinatimes.py
f7e6d49977c6c74e998ffbe90810552df9c2c1ca
[]
no_license
JueXiuHuang/taiwan-news-crawler
75fa811a2887a12d35dd86fb979658e193c186b8
b5e3c6af82c973c4de7ed1b625a7aa86da0c2e6d
refs/heads/main
2023-03-15T17:12:12.062392
2021-03-05T09:53:01
2021-03-05T09:53:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,772
py
import configparser import requests import configparser import os import time from bs4 import BeautifulSoup from tqdm import tqdm from selenium import webdriver from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.common.by import By from selenium.webdriver.support import expected_c...
[ "joshua87719@gmail.com" ]
joshua87719@gmail.com
8012a946d83765a5131fa425e263a6fd226890ca
e74166c797e3c6d95e224cbc06515ded35461880
/wrangling_scripts/wrangle_data.py
b66d764392109ceaa32d794799b9f8554a35b9bb
[ "MIT" ]
permissive
rahul385/Web-Application-World-Bank
a417cd82606cba6eb39f5deb30dda447cfedcfbb
739811f06e347a7a7c8d340a662e12274d4d9623
refs/heads/master
2023-02-25T06:01:14.337769
2021-02-16T00:44:44
2021-02-16T00:44:44
324,350,765
1
0
null
null
null
null
UTF-8
Python
false
false
6,353
py
import pandas as pd import plotly.graph_objs as go # TODO: Scroll down to line 157 and set up a fifth visualization for the data dashboard def cleandata(dataset, keepcolumns = ['Country Name', '1990', '2015'], value_variables = ['1990', '2015']): """Clean world bank data for a visualizaiton dashboard Keeps d...
[ "385.rahul@gmail.com" ]
385.rahul@gmail.com
99213e0f9bddf23d930719eea440ec3f2da7d938
c38f96a00ecb4cadc40ce813ea4708e10a8ae24b
/test.py
fad7e31f0b3683dcad235c3cf3f376f36df30ff9
[]
no_license
marcobaturan/matrix_symbol
e59377b0822e44925821d8be5e7618d1a8aa1072
4e5add0388183147251794c7be055a3a54d4e9a2
refs/heads/master
2021-09-07T17:07:00.909558
2018-02-26T15:30:20
2018-02-26T15:30:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
262
py
import unittest from Tkinter import * from matrix_symbol import * class TestMS(unittest.TestCase): def test_ms(self): application = program() self.assertEqual(application.run(), 'test') if __name__ == '__main__': unittest.main()
[ "marco.garciabaturan@gmail.com" ]
marco.garciabaturan@gmail.com
2b8a72aa08de33202a5c8687406a44e3a25ec8fa
0e738ccc77594585c08e2e8a87a67253d13f57b0
/flask-project-v8/manage.py
553b4f14fca06cd8a55af1b8edeb6eb9114e6f36
[]
no_license
saurabh-kumar88/flask-projects
cb02a991e05dbcf6a467bb126a4efecbe4bc4126
02827743e7a52f562be03975ceea9de10a4346cf
refs/heads/main
2023-01-31T06:42:15.273505
2020-12-14T09:09:07
2020-12-14T09:09:07
321,291,193
0
0
null
null
null
null
UTF-8
Python
false
false
359
py
from flask import Flask from flask_sqlalchemy import SQLAlchemy from flask_script import Manager from flask_migrate import Migrate, MigrateCommand from app.models import * app = Flask(__name__) db = SQLAlchemy(app) migrate = Migrate(app, db) manager = Manager(app) manager.add_command('db', MigrateCommand) if __n...
[ "ykings.saurabh@gmail.com" ]
ykings.saurabh@gmail.com
bfa9ddf1e0d12b248b8c72d444b2e8b68ca272ec
7ed8e6121865bef2ac6bad794071ed8fb67b01a3
/src/GUI/ip-calc.py
9567cecd2f5b0c71e6cf2c8f20c20f170e165821
[]
no_license
Mouhab-dev/ip-calculator
0127a80297d917fd8b5c0507a80c91fd792473a7
6cff0c7c725522a9f3fc07ebfa3f406b861c53ba
refs/heads/main
2023-01-04T18:42:46.687163
2020-10-30T15:09:06
2020-10-30T15:09:06
307,057,633
1
0
null
null
null
null
UTF-8
Python
false
false
5,165
py
""" This script is programmed by Mouhab-dev Follow me on Github: https://github.com/mouhab-dev """ from PyQt5 import QtCore, QtGui, QtWidgets from ipgui import Ui_MainWindow import sys app = QtWidgets.QApplication(sys.argv) MainWindow = QtWidgets.QMainWindow() ui = Ui_MainWindow() ui.setupUi(MainWindow) MainW...
[ "mohab.taher@yahoo.com" ]
mohab.taher@yahoo.com
b2fc87109627385c185b8e75175bcac1bd8e1839
445539eefd37bbd8feb327574333b464bbe9f858
/33/pool_pipe_celcius.py
d8ad66384d96d947b427ea589cc7b2bb2fdd0286
[ "CC0-1.0" ]
permissive
yz-liu/cpython-book-samples
8a2753ca2cebf8e5d8f5822e28ccf278f17864ae
d5a7cd72d14231a35d1d8b2ec74b04a171170686
refs/heads/master
2023-01-19T12:21:27.354487
2020-11-26T00:16:40
2020-11-26T00:16:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
617
py
import multiprocessing as mp def to_celcius(child_pipe: mp.Pipe, parent_pipe: mp.Pipe): f = parent_pipe.recv() # time-consuming task ... c = (f - 32) * (5/9) child_pipe.send(c) if __name__ == '__main__': mp.set_start_method('spawn') pool_manager = mp.Manager() with mp.Pool(2) as pool: ...
[ "anthony.p.shaw@gmail.com" ]
anthony.p.shaw@gmail.com
b3a813621833bfbe4cae7d9f80a0b7acd828002f
530fad7cc7af56b9189283092bd9798072171c31
/articles/migrations/0004_auto_20200217_1702.py
8bbd08348b8adb35824e6384fea9a0b17dc80c01
[]
no_license
hastur48/newspaper
cb8ad9a44f74e8ca36d6fc5e490c30f1ba3c4b43
a113a7e1887f2a84fe065be0dc9a8ebb25db0af2
refs/heads/master
2021-06-30T21:56:53.638393
2020-02-17T15:35:44
2020-02-17T15:35:44
241,118,492
0
0
null
2021-06-10T22:38:16
2020-02-17T13:48:04
Python
UTF-8
Python
false
false
748
py
# Generated by Django 2.1.5 on 2020-02-17 15:02 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('articles', '0003_auto_20200217_1633'), ] operations = [ migrations.AlterFi...
[ "vav4819@gmail.com" ]
vav4819@gmail.com
c0789ad08b4eaf50ce93dabe9040c45c7da775ac
23a9a86a04e036333ce707bc7e2cdc18073f4d3d
/File parser and Editor/bulk_file_exctractor_and_editor.py
ac9eea99781f721d368997bc142796dc07611b53
[]
no_license
rajesh333-3/projects
8e32affccfe40989ab08e8f61e733ad95bc8d9a4
c06063b1e6fa36bedf6da43b50f9c00f6bbcfd67
refs/heads/master
2023-03-11T10:34:18.205420
2021-03-03T06:25:56
2021-03-03T06:25:56
297,913,587
0
0
null
null
null
null
UTF-8
Python
false
false
2,037
py
#give the base path in the script and give the target variable name to edited import glob basepath='G:\Series' target_file_name=input('Enter the extension or target file name to locate..! --> ') relative_paths=glob.glob(basepath+"/**/*{}".format(target_file_name),recursive=True) #print((relative_paths)) n=int(input('...
[ "venkatadurgarajesh.thoomu@gmail.com" ]
venkatadurgarajesh.thoomu@gmail.com
02a578a223b7635c3eb0fda897ff10d997bd5c73
2db23349d4fbe0f40de7533235f74605fa762954
/Scripts/test.py
9819867b8d3363c65a4bb37ed2bbb96ebe3cb896
[]
no_license
cnetboy/edgebench
b54863d12371a4dad2de7536e6ab153bade9a3fe
dff969ff939051aa0e1ae0ac928ada518b594895
refs/heads/master
2022-02-15T01:59:29.751045
2019-08-07T15:36:24
2019-08-07T15:36:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,246
py
import subprocess import os import argparse from tqdm import tqdm """ Convert audio files to specific wav format for pocketshpinx According to : https://cmusphinx.github.io/wiki/faq/ """ parser = argparse.ArgumentParser() parser.add_argument('-s', "--source", help="Source Directory", required=True) parser.add_argument(...
[ "tobiasjpark73@gmail.com" ]
tobiasjpark73@gmail.com
f564700cdfd0e1bf8abdaccfd4573018373190c7
64bf39b96a014b5d3f69b3311430185c64a7ff0e
/intro-ansible/venv3/lib/python3.8/site-packages/ansible_collections/fortinet/fortimanager/plugins/modules/fmgr_system_locallog_syslogd_setting.py
a18bf7256e012bbdd51940685d4d6cc86acf3d10
[ "MIT" ]
permissive
SimonFangCisco/dne-dna-code
7072eba7da0389e37507b7a2aa5f7d0c0735a220
2ea7d4f00212f502bc684ac257371ada73da1ca9
refs/heads/master
2023-03-10T23:10:31.392558
2021-02-25T15:04:36
2021-02-25T15:04:36
342,274,373
0
0
MIT
2021-02-25T14:39:22
2021-02-25T14:39:22
null
UTF-8
Python
false
false
12,332
py
#!/usr/bin/python from __future__ import absolute_import, division, print_function # Copyright 2019-2020 Fortinet, Inc. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the ...
[ "sifang@cisco.com" ]
sifang@cisco.com
038a78ecf4331b3d18fb16a79383f077385711f8
8c14c6fef7539f3f946b955d4677a8c2f25bb7f1
/src/vsc/model/rangelist_model.py
8b135085fdf2c2385fb5c136cf7367cbd096cab5
[ "Apache-2.0" ]
permissive
hodjat91/pyvsc
2ce8b4cb1582793caee8f994e73ab867ef0eefb8
9b268db1970cd43058ea02f4fdbdc31990046230
refs/heads/master
2022-11-11T16:29:30.056186
2020-07-01T01:14:10
2020-07-01T01:14:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,241
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "matt.ballance@gmail.com" ]
matt.ballance@gmail.com
0a509b4951c7926fd1c341877dd2d87bdf27363b
1698238a9e4afa567be4c771940d8c919e862075
/emergency_app/models/relation.py
5da9fd02abab8564c64c1cd33c9bb50d9521bfcf
[]
no_license
psu-oit-capstone/emp-back-end
8fb090f154d36edddf0ef43015fb70b02b7e8029
31413f63d369a07bff1be97d80581c20eb5133dc
refs/heads/master
2022-06-21T17:14:57.384863
2019-09-03T00:01:21
2019-09-03T00:01:21
184,682,968
2
1
null
2022-05-25T02:32:14
2019-05-03T01:31:39
Python
UTF-8
Python
false
false
281
py
from django.db import models class Relation(models.Model): code = models.CharField(db_column='STVRELT_CODE', max_length=4, primary_key=True) description = models.CharField(db_column='STVRELT_DESC', max_length=120, null=True) class Meta: db_table = 'STVRELT'
[ "mjg@pdx.edu" ]
mjg@pdx.edu
df9f2ebddc59d18e8456ed82a9f87bc2a8b14002
74081581575e80b2b0f6b75ba912d58ea4f37ac6
/maskrcnn_benchmark/modeling/rpn/inference.py
26c6cbe68d37d714dcd22effb92a28c06445a4ba
[]
no_license
youngfly11/LCMCG-PyTorch
5f6b9f231613b86ac7b250ca0f34229402e1615e
e95299b9a9f1b13e21750ef0dcde0941d703d009
refs/heads/master
2021-10-25T19:29:12.967318
2021-10-25T03:35:14
2021-10-25T03:35:14
221,908,808
56
12
null
null
null
null
UTF-8
Python
false
false
8,755
py
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. import torch from maskrcnn_benchmark.modeling.box_coder import BoxCoder from maskrcnn_benchmark.structures.bounding_box import BoxList from maskrcnn_benchmark.structures.boxlist_ops import cat_boxlist from maskrcnn_benchmark.structures.boxlist_o...
[ "liuyf3@shanghaitech.edu.cn" ]
liuyf3@shanghaitech.edu.cn
25c7098642e640bcaba215aeb613ebd1d452dd43
544ab69770abaf0d28fa568ca3886832b0746b55
/KNN From Scratch - Breast Cancer Data.py
59febe6636416372d33c235761ea321aa359286b
[]
no_license
mtdugda/Breast-Cancer-Wisconsin-Dataset
79f43d1e90df5960dc3c04cd39d21d12a23c19ed
67b3d85b3a3862be8164bc8a2d27263150b2938b
refs/heads/master
2020-05-03T13:09:32.702551
2016-11-24T02:41:44
2016-11-24T02:41:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,052
py
import numpy as np import matplotlib.pyplot as plt from matplotlib import style import warnings from collections import Counter import pandas as pd import random style.use('fivethirtyeight') # Tutorial can be found at the following link: https://pythonprogramming.net/testing-our-k-nearest-neighbors-machine-learning-tu...
[ "noreply@github.com" ]
noreply@github.com
dc726d691a92d256199662328eaea86536d1f548
5287c4fe10bade56d3739321b53bb56b8a431227
/342_4_power.py
4868672df4f94600cf2699c7fe89e385119cb855
[]
no_license
kevinsamuel/lc-records
2e42adbd279c4507750aa905eb67fc37d4ded805
17ffb09bb2e099aeae0748f8da0c098fdb66bbd1
refs/heads/master
2020-04-29T08:23:39.898257
2019-03-20T06:09:27
2019-03-20T06:09:27
175,985,255
0
0
null
null
null
null
UTF-8
Python
false
false
1,547
py
class Solution(object): def isPowerOfFour(self, num): """ :type num: int :rtype: bool """ #执行用时 : 52 ms, 在Power of Four的Python提交中击败了1.52% 的用户 #内存消耗 : 10.8 MB, 在Power of Four的Python提交中击败了0.00% 的用户 if num < 1: return False while num % 4 == 0:...
[ "kevinsamuel1015@gmail.com" ]
kevinsamuel1015@gmail.com
d2131614e39aa8c614a183d26d864a18a3be4346
5f1877494c8da736b675b02480e42d79b570bbcc
/compile
dd69ea217ea74846bd08d2256f4c43b83f6a1fd7
[]
no_license
ojii/llpy16
757de9920a7c15e204ffbfc72995e713717e6ca4
f9ff6a58ddb46a26b807012ba57d37fef85e51a1
refs/heads/master
2021-01-16T19:32:40.354429
2013-03-19T05:21:12
2013-03-19T05:21:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
212
#!/usr/bin/env python import os import sys from llpy16.compiler import do_compile if __name__ == '__main__': with open(sys.argv[1]) as fobj: do_compile(fobj.read(), [os.path.dirname(sys.argv[1])])
[ "ojiidotch@gmail.com" ]
ojiidotch@gmail.com
6156024301040c1e46cb4d16f27928e3c90fbd7b
09a0e7d3945e38988d3d34e55fcb11b391ecb6c0
/icarusmotors/urls.py
36311614d542e3261c63a79e8bb07759fd123e8e
[]
no_license
Ayushmanraj/icarusmotors
0a69b22c4cb2f0018b90d089dbe5d9d3d226b95e
0ed944e9d25e1eab4f0ee861b419b768f715eea7
refs/heads/main
2023-02-07T04:06:30.939702
2020-11-14T06:28:46
2020-11-14T06:28:46
312,571,450
0
0
null
null
null
null
UTF-8
Python
false
false
798
py
"""icarusmotors URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.0/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-...
[ "ayushmanketan@gmail.com" ]
ayushmanketan@gmail.com
746d68210305e36f11ea9fb020d382147063b872
f33030aa02eb88661781c929a5910a160bb71e46
/stocks.py
9ae846d0f7c04c57b80e308bf4e44e84f679bf12
[]
no_license
aditya-vikram-parakala/Leetcode-problems
5e2d6ac577ae3c8d91ece4a716958362103fd465
7cea7288e69a274577ce358d8fb241c86eef9846
refs/heads/master
2020-06-25T07:34:59.599096
2019-07-28T05:44:41
2019-07-28T05:44:41
199,247,271
0
0
null
null
null
null
UTF-8
Python
false
false
361
py
prices = [7,1,5,3,6,4] mn = [] neglist = [] for i in range(len(prices)-1): for j in range(i+1,len(prices)): if((prices[i]-prices[j]) < 0 ): neglist.append(prices[i]-prices[j]) else: neglist.append(0) # print(neglist) mn.append(min(neglist)) if(len(mn)>=0): print(...
[ "44452865+aditya-vikram-parakala@users.noreply.github.com" ]
44452865+aditya-vikram-parakala@users.noreply.github.com
d9ddd98326974724ca4082a31f0f7d22cdd4a731
ef8792a05a75bb982fcf19ed7cca576fbb087d2a
/testuhm.py
f8d26edd87939daed605789b0cade4bb24a9bd26
[]
no_license
gatordevin/BrooklynAPI
507ef36f357f79fc05bcd8b013212c2000ae3a98
cecacabe093b99cf6d2204f5e7bc16559cf7c47a
refs/heads/master
2020-07-22T09:03:19.201054
2020-07-09T21:48:06
2020-07-09T21:48:06
207,142,228
1
4
null
2020-06-16T21:16:41
2019-09-08T16:40:31
Python
UTF-8
Python
false
false
192
py
import serial ser = serial.Serial(port="COM4",baudrate=1000000,timeout=None) ser.write(bytearray([0,0,0,180,2,45,9,155])) while True: ser.write(bytearray([180])) print(ord(ser.read()))
[ "gatordevin@gmail.com" ]
gatordevin@gmail.com
27deb05219752f3ffcf7d9723a87ea3bbb4633c6
9374db1a552d0e701850adb27e9b6be5d7ab8ba2
/HiddenMarkovModel/hmmlearn3.py
7ebeb0a33f3cdeef040e6d17f9de61afb628b49d
[]
no_license
xrick/NaturalLanguageProcessing
da20262fa9a9122afb9ed2d0a755aa5d07c0af75
efcf4e753546686ba3f6336c1687ec2afc44cc3a
refs/heads/master
2020-04-24T04:59:47.547902
2018-08-03T02:25:45
2018-08-03T02:25:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,976
py
import json import sys import numpy as np #Open file path = sys.argv[1] f = open(path,encoding="utf8") lines= f.readlines() f.close() #allword stores all word/tag in single list allword = [] for line in lines: words = line.split() for word in words: allword.append(word) # print(allword) #all word ta...
[ "gunjanjh@usc.edu" ]
gunjanjh@usc.edu
48ed87a743d3ff7ebb34a1ed31641b4c1b6b95d2
30d65e863026be9edc53715066b9b8f08a2dbf61
/venv/bin/easy_install-2.7
059db0b8ce7bccd90df3c5c4b5b249125bf3406c
[]
no_license
bongomin/basic-api-python-flask
be6f14935cb2987e5082898baa0f5aab671b5cdd
2adbca6894598b803aa62dc3d55b105e4415d4bc
refs/heads/master
2020-04-21T01:40:17.887716
2019-02-05T11:30:51
2019-02-05T11:30:51
169,230,996
1
0
null
null
null
null
UTF-8
Python
false
false
262
7
#!/home/danny/projects/API_V2/venv/bin/python2 # -*- 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())
[ "bongomindaniel@gmail.com" ]
bongomindaniel@gmail.com
ecac0ddbcf6d0e0bb34c14811014296919916076
c442cc0bb61284ae3313f4d2c008c7b454085f08
/data.py
4963f6d03a48cf7358232262546c24abd94ae8d7
[]
no_license
jakebasel/python-assignment3
634b46c3ececa9d8573de4cadfeef22324e55b72
1cfee000590f25eec5d21c87d68c42fb17ac8dc5
refs/heads/main
2023-06-14T05:53:03.177748
2021-07-10T21:31:37
2021-07-10T21:31:37
384,796,232
0
0
null
null
null
null
UTF-8
Python
false
false
2,291
py
data = [ { "_id": "1", "title": "Boogie Board", "description":"This is a boogie board", "image": "boogie-board.jpg", "price": 59.99, "stock": 20, "category": "Other Boards", "discount": 5, }, { "_id": "2", "title": "Grom Board",...
[ "noreply@github.com" ]
noreply@github.com
7f128626999fdb25a08a0b49abd7399c216ba13b
4c83b4d7aca6bbcd15b922ad7314440fea7c9a70
/2020-07-27_modo_horario_cp_onda1_10d/script_modo_horario_2020-03-05_fchk_1036.py
d462e860f46dceffa88ab39003f27bd308ae8ade
[]
no_license
poloplanejamento/odmatrix-joinville
63b60a85055700698cdb590c181e7c8a4d5c7361
be7ce0814fb9dad2d289cd836dde51baa9c0850d
refs/heads/main
2023-01-23T11:43:45.451126
2020-12-10T23:17:58
2020-12-10T23:17:58
320,402,809
0
0
null
null
null
null
UTF-8
Python
false
false
2,339
py
#!/usr/bin/env python3 # Bibliotecas from http.client import HTTPSConnection from base64 import b64encode import json import csv import pandas as pd # Variáveis projectID = "40" # ID do projeto, conforme mostrado no frontend Web c = HTTPSConnection("api.odmatrix.app") userAndPass = b64encode(b"fe6b53f0280443d5bd4...
[ "caiocco@gmail.com" ]
caiocco@gmail.com
a24a2db0228e5412adc4204bef7d76d48aec585c
7897caaabb1a963b98e723a6abfc53b99d300a86
/view/widgets/gallery/gallery.py
f183aba043c9138771a54a844dad6fd3c001e1d8
[ "MIT" ]
permissive
Wajdi-Mabroukeh/CvStudio
f6983c1372c29930e23c8a0d1775193cebf045be
b798ef7b3db7505a151f2df9cf55a6ce5828baa4
refs/heads/master
2021-04-20T14:10:08.228504
2020-03-20T02:34:34
2020-03-20T02:34:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,327
py
import mimetypes import os from enum import Enum,auto import cv2 import dask import imutils import numpy as np from PyQt5 import QtGui,QtCore from PyQt5.QtCore import QObject,QSize,pyqtSignal,QThreadPool from PyQt5.QtGui import QPixmap from PyQt5.QtWidgets import QWidget,QGridLayout,QLabel,QLayoutItem,QVBoxLayout from...
[ "henryruiz22@gmail.com" ]
henryruiz22@gmail.com
29faf5d932ddca990c15a4ecd76d784312b9e05a
99a4c6083ac786e89c825b7aeddadce74c25f80b
/src/gametree.py
b53b17066249e4a81f11ff7f6138963e5227499d
[ "MIT" ]
permissive
isihya/minimax_algorithm_MNKgame
56fb90f3e99b5b5688b42c2049b1c4b46d20b981
9876c12d065422334d87bf24c6d82171c7ace89e
refs/heads/main
2023-04-05T06:35:48.820823
2021-04-11T08:17:46
2021-04-11T08:17:46
355,540,875
0
0
null
null
null
null
UTF-8
Python
false
false
860
py
from copy import deepcopy class GameTree: def __init__(self, game): self.tree = {} self.field = game.field self.tree[game.field.tostring()] = GameNode(game.field) self.game = game def get_children(self, field, actions, val): field = deepcopy(field) children = [...
[ "isihya.katze@gmail.com" ]
isihya.katze@gmail.com
10c9a1c4063a9dbc167bea682133f4b74469d7c2
bce4a906faebfcab5db0e48ad587841d9ef3e74c
/train.py
6b93bc7a9fa165787181e7fd0a4ad5c992af7b36
[ "MIT" ]
permissive
scofield77/pytorch-action-recognition-toy
aecddd6da3c032ca25c2bd1facf6fc8f6d72b4e4
de0f8820c40d09d34a61849ee572f8af37f5725d
refs/heads/master
2020-07-20T21:39:46.453236
2019-03-05T00:52:39
2019-03-05T00:52:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,463
py
import torch import numpy as np import torch.nn as nn import torch.utils.data from net import ActionLSTM from data import ActionDataset from tensorboardX import SummaryWriter if __name__ == '__main__': batch_size = 8 dataset = ActionDataset() data_loader = torch.utils.data.DataLoader(dataset, batch_size=ba...
[ "linkinpark213@outlook.com" ]
linkinpark213@outlook.com
3d12dffe50a2cf5b391b22f9bd45bfc7ae941dcd
5db6b0cff68ecfc66c876f31f34e4a8dbf8888a1
/tests/workflows/base/test_projwfc.py
db3d3b11c08c9d49f368bf739fef4a271e80fd73
[ "MIT" ]
permissive
aiidateam/aiida-wannier90-workflows
2554f22a8383f456c64bcc4b0fb004ae8811d449
aeceb3519ffd1cd071d5b98f81888052fff58163
refs/heads/main
2023-07-25T09:50:51.711483
2023-07-07T08:17:43
2023-07-07T08:17:43
247,919,090
5
13
MIT
2023-09-07T09:06:39
2020-03-17T08:40:23
Python
UTF-8
Python
false
false
2,961
py
"""Tests for the `ProjwfcBaseWorkChain` class.""" import pytest from aiida.common import AttributeDict from aiida.engine import ProcessHandlerReport from aiida_quantumespresso.calculations.projwfc import ProjwfcCalculation from aiida_wannier90_workflows.workflows.base.projwfc import ProjwfcBaseWorkChain # pylint: d...
[ "qiaojunfeng@outlook.com" ]
qiaojunfeng@outlook.com
2593fea97670f6f01c1373b6c97d3ea269b07e49
990603c5fd4b678765898455314c08aa7f439e4c
/translate/urls.py
e42c9723179a6555bd355d43ce125e9fe8572076
[]
no_license
HajimeK/Servicize2
203fcf5f25211270f31865d0f3fc804056271052
c1ed29932fdc3a211846f7c0c09b031f40d60815
refs/heads/master
2016-08-12T21:49:00.383675
2015-11-25T15:42:54
2015-11-25T15:42:54
46,360,258
0
0
null
null
null
null
UTF-8
Python
false
false
127
py
from django.conf.urls import patterns, url from translate import views urlpatterns = patterns('', url(r'^$', views.home) )
[ "smec.kawata@gmail.com" ]
smec.kawata@gmail.com
a1c68bb70b517131d91f35fdb63beb201f6d32e6
df17bdd063e8d9743c234b422f9abf1ee1f48775
/create_amy_epw_files.py
f4d3689b4aecd16329d2b452fe60078c39e83c46
[ "BSD-2-Clause" ]
permissive
amandadsmith/diyepw-scripts
a8b9f11451989e5346218fd64417ef94211f43d5
0adcad8161ee30cedae8924f37c5158a0f20112f
refs/heads/main
2023-05-27T09:49:49.593581
2021-01-06T18:03:39
2021-01-06T18:03:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,558
py
import os import pandas as pd import argparse import diyepw # Set path to outputs produced by this script. create_out_path = os.path.abspath(os.path.join('outputs', 'create_amy_epw_files_output')) if not os.path.exists(create_out_path): os.mkdir(create_out_path) # Set path to where new EPW files should be saved. ...
[ "bstuermer@eno.de" ]
bstuermer@eno.de
aa1d0fb37e975f546da1e94f5fe44780e0fb8b3b
aa5c1a530f95d629e686ac9124caf1a49a9f23e9
/compiler/bindings/python/iree/compiler/tflite.py
9a9a9cb559e4db3ce49747ec9d44ecde8e55f7fc
[ "Apache-2.0", "LLVM-exception", "LicenseRef-scancode-unknown-license-reference" ]
permissive
openxla/iree
eacf5b239559e1d3b40c38039ac4c26315b523f7
13ef677e556d0a1d154e45b052fe016256057f65
refs/heads/main
2023-09-06T01:19:49.598662
2023-09-04T07:01:30
2023-09-04T07:01:30
208,145,128
387
110
Apache-2.0
2023-09-14T20:48:00
2019-09-12T20:57:39
C++
UTF-8
Python
false
false
287
py
# Copyright 2021 The IREE Authors # # Licensed under the Apache License v2.0 with LLVM Exceptions. # See https://llvm.org/LICENSE.txt for license information. # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception import sys from .tools import tflite sys.modules[__name__] = tflite
[ "noreply@github.com" ]
noreply@github.com
9957cfa6dcae5f7c12edbbbee6687a70d54e3523
0fc2b99fd8414dbce5f1f6057b9b800c968d5d05
/lpbio/swarm/__init__.py
293bff76afe1cd97181eb75f0eed192cfe8d24a1
[ "MIT" ]
permissive
widdowquinn/lpbio
9df898cb9580f62da1f66d5736cbf7a984633561
8b95642396d05a56c1c54389e3de6d88d7cbffb5
refs/heads/master
2020-03-29T02:08:56.675473
2019-11-07T14:27:44
2019-11-07T14:27:44
149,422,654
0
0
null
null
null
null
UTF-8
Python
false
false
5,395
py
# -*- coding: utf-8 -*- """Code for interaction with the Swarm clustering tool.""" import os import shlex import shutil import subprocess from collections import namedtuple from lpbio import LPBioNotExecutableError, is_exe class SwarmError(Exception): """Exception raised when swarm fails""" def __init__(s...
[ "leighton.pritchard@hutton.ac.uk" ]
leighton.pritchard@hutton.ac.uk
84dedbb82dea16e111bcd3e49c3d0bfc33cbf284
8bec445b0d9b63287d59b273947fa94370af8830
/SUSY_Radon/feddc.py
e289a613415210e351b4c1ad909bb084f999f45b
[ "Apache-2.0" ]
permissive
edykristianto/FedDC
af2edb13cfb658b5e649bf16e01c845465ff9bcc
01b85db3fbceca60fb49c07accb35f5af7412ff9
refs/heads/main
2023-08-31T17:10:22.442702
2021-11-04T14:29:25
2021-11-04T14:29:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,222
py
import numpy as np import pandas as pd from sklearn.model_selection import train_test_split from sklearn.svm import LinearSVC from sklearn.linear_model import SGDClassifier from sklearn.metrics import accuracy_score from sklearn.preprocessing import PolynomialFeatures import matplotlib.pyplot as plt import matplotlib.c...
[ "kamp@cs.uni-bonn.de" ]
kamp@cs.uni-bonn.de
18a22f3c337df5add5c12d4cb1e9a6a03243cd73
275e03aac9f740a1a1e45b82666f49904e89382c
/app/__init__.py
93116a0cef9d21524f18e2fa608824ec6ab63bd1
[]
no_license
zekaio/flask_wechat
48bf6fcad68bafa410cd1c9155466ec1d676a68c
6eae6461f3f24835911a09a0add2c5590848507b
refs/heads/master
2023-01-01T23:44:35.424646
2020-10-29T04:07:04
2020-10-29T04:07:04
307,349,097
0
2
null
null
null
null
UTF-8
Python
false
false
829
py
from flask import Flask, jsonify from app.config import AppConfig from app.controllers import * from app.extends.error import HttpError from app.extensions import cors, redis_client def create_app() -> Flask: app = Flask(__name__) app.config.from_object(AppConfig) register_errorhandler(app) register...
[ "zekailing@gmail.com" ]
zekailing@gmail.com
d1e7e62a9d44e4e9e7610fc1d65b6f674190a87f
649bd422025e421d86025743eac324c9b882a2e8
/exam/1_three-dimensional_atomic_system/dump/phasetrans/temp39_5000.py
29c3c85bcf5c2204ff27a92509062b40b32f8297
[]
no_license
scheuclu/atom_class
36ddee1f6a5995872e858add151c5942c109847c
0c9a8c63d9b38898c1869fe8983126cef17662cd
refs/heads/master
2021-01-21T10:52:28.448221
2017-03-07T23:04:41
2017-03-07T23:04:41
83,489,471
0
0
null
null
null
null
UTF-8
Python
false
false
68,887
py
ITEM: TIMESTEP 5000 ITEM: NUMBER OF ATOMS 2048 ITEM: BOX BOUNDS pp pp pp 7.5068537206807662e-01 4.6449314627930377e+01 7.5068537206807662e-01 4.6449314627930377e+01 7.5068537206807662e-01 4.6449314627930377e+01 ITEM: ATOMS id type xs ys zs 8 1 0.121758 0.058572 0.0589443 35 1 0.0657156 0.12252 0.0621003 130 1 0.0596188...
[ "scheuclu@gmail.com" ]
scheuclu@gmail.com
d24ec3145f8b765edb2ea85bd099f576650a4b42
de9ca289888ebd5eb5e94158158f534142467708
/sample_register/sample_register/doctype/test_book/test_test_book.py
199e86b37b9a98286f3742894c8a4e66a2a83c87
[ "MIT" ]
permissive
MohamedAbdulsalam96/sample_register
31318dbb887a64a0d20281b0edd69f8a5c99bc47
9e92f300903c93b2d28f69e4be671e023119a865
refs/heads/master
2023-04-15T01:29:01.795979
2016-12-09T09:15:54
2016-12-09T09:15:54
627,673,467
1
0
null
2023-04-14T00:49:27
2023-04-14T00:49:26
null
UTF-8
Python
false
false
264
py
# -*- coding: utf-8 -*- # Copyright (c) 2015, indictrans and Contributors # See license.txt from __future__ import unicode_literals import frappe import unittest # test_records = frappe.get_test_records('Test Book') class TestTestBook(unittest.TestCase): pass
[ "kolate.sambhajI@gmail.com" ]
kolate.sambhajI@gmail.com
f13ffc91ce07bbf34c92634a9fc7e5c133c1bdbe
f337bc5f179b25969ba73e7680ffb0a0616e3b97
/python/BOJ/1XXX/1525.py
230082c879b52617c741e0d9d696d6414422de10
[]
no_license
raiders032/PS
31771c5496a70f4730402698f743bbdc501e49a3
08e1384655975b868e80521167ec876b96fa01c8
refs/heads/master
2023-06-08T10:21:00.230154
2023-06-04T01:38:08
2023-06-04T01:38:08
349,925,005
1
0
null
null
null
null
UTF-8
Python
false
false
74
py
""" https://www.acmicpc.net/problem/1525 1525.퍼즐 골드2 풀이2. """
[ "nameks@naver.com" ]
nameks@naver.com
f2d933aad6f85103a9ed648a76c4415a244913fa
a42a43db3478d67edf593fa67b6ac2e572092e4c
/DTW code.py
c91899c7fcd67834d5f874d3c8d3a30aa85af643
[]
no_license
wbxuanyan/DTW
834b35b46a9d400daa6e7333caf098898b9f1b06
94ff23b6bc6b6b3ff70a259adc4eef70b665af90
refs/heads/master
2020-12-25T14:37:54.437446
2016-06-26T14:36:21
2016-06-26T14:36:21
60,390,217
0
0
null
null
null
null
UTF-8
Python
false
false
1,448
py
#encoding:utf-8 num0 = raw_input("请输入一组时间序列:") num1 = num0.replace(' ','') #去空格 num2 = list(num1) # 用列表表示,项是字符 num3 = [int(i) for i in num2] #将每一项转换成整型类型 num4 = raw_input("请再输入一组时间序列:") num5 = num4.replace(' ','') #同上 num6 = list(num5) num7 = [int(i) for i in num6] print num3 #打印出列表 print num7 print len(num3)...
[ "469173414@qq.com" ]
469173414@qq.com
d5cae73dbf27e7d3b612659b979837a3b7e7ab49
1e61c9f9f492b995c2a964c6001172fdac56d718
/venv/bin/rst2html4.py
c39ddd11e38455eaffbe2e1636a8c0a1b36fbcb4
[]
no_license
SilliusSodus/pubMedMiner
fe7c0723eba3e87aa8db47edb1b733b40c6497b0
2d624ee8d594c8a9a3878348ae42f8ddd9c58c0b
refs/heads/master
2020-03-19T06:44:53.101084
2018-06-06T15:15:04
2018-06-06T15:15:04
136,051,283
0
0
null
null
null
null
UTF-8
Python
false
false
758
py
#!/home/sebastiaan/PycharmProjects/pubmedMiner/venv/bin/python # $Id: rst2html4.py 7994 2016-12-10 17:41:45Z milde $ # Author: David Goodger <goodger@python.org> # Copyright: This module has been placed in the public domain. """ A minimal front end to the Docutils Publisher, producing (X)HTML. The output conforms to...
[ "S.TeMolder@student.han.nl" ]
S.TeMolder@student.han.nl
f7b0ae20faa8c28c9f9532853e63c4bb3ece2bcb
0d28a6df0a4f2834d1e46b9e94734ef5ce82d156
/osx/sublime/Packages/Format SQL/sqlparse/engine/grouping.py
a024016fca50b67e291fa398081a59f7200bb315
[ "Python-2.0", "BSD-3-Clause", "BSD-2-Clause" ]
permissive
isa/environments
fd6228eb01999f48637fa3adaaa0c7081801ee1e
9055d55868a628fb1cb9257c7849c53e82e96276
refs/heads/master
2020-04-07T14:24:16.177730
2013-12-11T06:07:27
2013-12-11T06:07:27
3,239,238
4
1
null
null
null
null
UTF-8
Python
false
false
12,278
py
# -*- coding: utf-8 -*- import itertools from sqlparse import sql from sqlparse import tokens as T try: next except NameError: # Python < 2.6 next = lambda i: i.next() def _group_left_right(tlist, ttype, value, cls, check_right=lambda t: True, check_left=lambda ...
[ "isa.goksu@gmail.com" ]
isa.goksu@gmail.com
e9aa2fd3059c9e3bc6b22b551a5e26c7e9d109f9
5624d6d0491d132125c09c3bd33bef6a744ecaeb
/mongo.py
36e5b90670cb0d265d3157940dbeb5ff1e42dd88
[]
no_license
justaleaf/tlgrm_test_bot
8d115e0136921b6ecd3fbad56cec3baa23ec4b0e
ac4ef2fdff51115c37c1ea89ad7722b3bd73517b
refs/heads/master
2022-11-14T09:36:42.693156
2020-07-15T18:59:51
2020-07-15T18:59:51
272,787,167
0
0
null
null
null
null
UTF-8
Python
false
false
161
py
from pymongo import MongoClient import gridfs client = MongoClient('localhost', 27017) db = client.bot_data collection = db.user_audio fs = gridfs.GridFS(db)
[ "nik.vag@mail.ru" ]
nik.vag@mail.ru
7ab58bd46a8750906184b4bcee2878dc388bb8a3
072ba98fbe6e44bca5ad6cecb4e738a8877a479b
/pythontest/aula08b.py
159200f3f795416b4d260b4eb9abf4930656e0c2
[]
no_license
alreis/Learning_Python
fb2e56a0c3b7730a9f53c4ce1ea5fc5786b95d92
5d2b5cee9304e6983422efc6e22e78e92842a34c
refs/heads/master
2022-11-22T23:07:00.497386
2020-07-02T20:25:45
2020-07-02T20:25:45
276,736,757
0
0
null
null
null
null
UTF-8
Python
false
false
106
py
import math num = float(input('Digite um numero : ')) num1 = math.trunc(num) print('{}'.format(num1))
[ "noreply@github.com" ]
noreply@github.com
bc19e6188169e31b4581a582c3fcda844a09e5b7
f6457da7fa1852c108e60431913b1064fa554228
/scrc/utils/monkey_patch.py
f55866421f2629d2279293a4d19fda03c59b07fa
[]
no_license
schnajos/SwissCourtRulingCorpus
f6b8b9c5780ed846fd542ddf6a98e6518b174f96
de7ef4e9e75beee55ca4b0362d5e3a96fbe68b2b
refs/heads/main
2023-08-24T14:37:22.010544
2021-10-13T07:13:46
2021-10-13T07:13:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
698
py
# Solving memory leak problem in pandas # https://github.com/pandas-dev/pandas/issues/2659#issuecomment-12021083 import sys import pandas as pd from ctypes import cdll, CDLL try: cdll.LoadLibrary("libc.so.6") libc = CDLL("libc.so.6") libc.malloc_trim(0) except (OSError, AttributeError): libc = None _...
[ "me@joelniklaus.ch" ]
me@joelniklaus.ch
4a9d371ca2d986c987d3aff9a4005a5dd3da1364
eacfc1c0b2acd991ec2cc7021664d8e79c9e58f6
/ccpnmr2.4/python/paris/aria/AriaRunFrame.py
389054dd281b65767174a9163b4c4474e8987a19
[]
no_license
edbrooksbank/ccpnmr2.4
cfecb0896dcf8978d796e6327f7e05a3f233a921
f279ca9bb2d972b1ce075dad5fcc16e6f4a9496c
refs/heads/master
2021-06-30T22:29:44.043951
2019-03-20T15:01:09
2019-03-20T15:01:09
176,757,815
0
1
null
2020-07-24T14:40:26
2019-03-20T14:59:23
HTML
UTF-8
Python
false
false
11,914
py
import os, sys import Tkinter from memops.gui.Button import Button from memops.gui.DataEntry import askString from memops.gui.Entry import Entry from memops.gui.Frame import Frame from memops.gui.FileSelectPopup import FileSelectPopup from memops.gui.FileSelect import FileType f...
[ "ejb66@le.ac.uk" ]
ejb66@le.ac.uk
49a869ece374303dc4e032b15af3d0aafd14c98c
f40683ce8639f2b519e1342ef380b6cadb3f2959
/apps/bot/builders/messages.py
2226d67a7c600d9410ea7b163c573a06b6dd7fd2
[]
no_license
DzesenKopeykin/chess-bot-telegram
7cd9b348919bfbbe82b795c89ac9efc258e1b5c8
831c932c741c27a6c410038641e4e12376c0b66e
refs/heads/master
2023-09-01T14:10:00.427974
2021-10-13T13:56:02
2021-10-13T13:56:02
290,772,662
0
0
null
null
null
null
UTF-8
Python
false
false
1,226
py
from telegram import InlineKeyboardButton, InlineKeyboardMarkup, User from ..models import User as DBUser from ..utils import build_mention class BaseMessage: def build(self): return dict(text=self._build_text(), reply_markup=self._build_keyboard_markup()) def _build_text(self) -> str: pass ...
[ "kopeykindzzesen@gmail.com" ]
kopeykindzzesen@gmail.com
11bfaa837fc86da18be12a69a6259cbb7ff24257
46082d14bc5411ecf14f9708f0f0c9ba86b3da10
/p12-pro.py
43f4a31422b6e58d995fd2a45b15d19d592cdc0e
[]
no_license
xuzjun/SolutionsForProjectEuler
6b87d57f0f5d39ddab56608ed10a6f9698c02cd8
035d3f316af4acbbf1e3818fdf4c4783987520c1
refs/heads/master
2020-04-15T10:15:54.764491
2019-01-10T15:23:57
2019-01-10T15:23:57
164,588,534
0
0
null
null
null
null
UTF-8
Python
false
false
687
py
# -*- coding: utf-8 -*- import math def isPrime(n): if n < 2: return False if n == 2: return True if n % 2 == 0: return False sqrt = int(math.ceil(math.sqrt(n))) for i in range(3, sqrt + 1, 2): if n % i == 0: return False return True def divisorNumber(n): sqrt = int(math.ceil(math.sqrt(n))) a = n ...
[ "xuzjun@gmail.com" ]
xuzjun@gmail.com
5fe28bbb5bc93700043f88a007f3546307b639c3
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/synthetic/class_def_attr-big-240.py
b5bd95ff2c12b474eee61f9edfe88fbe2ca06b44
[]
no_license
Virtlink/ccbench-chocopy
c3f7f6af6349aff6503196f727ef89f210a1eac8
c7efae43bf32696ee2b2ee781bdfe4f7730dec3f
refs/heads/main
2023-04-07T15:07:12.464038
2022-02-03T15:42:39
2022-02-03T15:42:39
451,969,776
0
0
null
null
null
null
UTF-8
Python
false
false
1,288
py
class A(object): x:int = 1 class A2(object): x:int = 1 x2:int = 1 class A3(object): x:int = 1 x2:int = 1 x3:int = 1 class A4(object): x:int = 1 x2:int = 1 x3:int = 1 x4:int = 1 class A5(object): x:int = 1 x2:int = 1 x3:int = 1 x4:int = 1 x5:int = 1 class ...
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
21da147270b44f74cabf04eee11661d91a41305d
bd21d862059f04a156f34281019293db7d6576e3
/polimorfizm/polim2.py
ea6139e97c50738760b81a6730014bd1ba4283d2
[]
no_license
Docmat/Homeworks
e8bc9cd706ecbdb2197da52680873463a90ded3b
b32f0d920537f292f9167e321a9c74875ddca022
refs/heads/master
2020-09-21T15:07:05.397369
2019-11-29T09:43:36
2019-11-29T09:43:36
224,826,211
0
0
null
null
null
null
UTF-8
Python
false
false
697
py
class BankAccount: def __init__(self): self.balance = 0 def deposit(self, num): self.balance += num return self.balance def withdraw(self, num): self.balance -= num return self.balance class MinimumBalanceAccount(BankAccount): def __init__(self,minimum_balan...
[ "asanalieveldiyar@gmail.com" ]
asanalieveldiyar@gmail.com
ab77595f94c5fabebe5c74a97f937eec913798c4
b1876db457091ce576ee46810c34d051319d050a
/first_project/settings.py
d65ae990c9fdae3230fc21a6ef76fdb0b29a25fe
[]
no_license
Abhilashjha1991/Demo_project
31b13685eb92e4211a27560b0203af61b87264d2
2374ea3f0fe1c161ea1a8289e18c3b9a03f16ec3
refs/heads/master
2020-04-29T15:21:00.773201
2019-03-18T07:23:22
2019-03-18T07:23:22
176,225,312
0
0
null
null
null
null
UTF-8
Python
false
false
3,109
py
""" Django settings for first_project project. Generated by 'django-admin startproject' using Django 2.1.5. For more information on this file, see https://docs.djangoproject.com/en/2.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.1/ref/settings/ """ import...
[ "abhilashkumarjha1991@gmail.com" ]
abhilashkumarjha1991@gmail.com
f5a3f01bec6ef7732a335af8371ee698762a0695
5d99028194fa3454149d99698107b36c4481a5bc
/cmake/generate_cpp_to_py_bindings.py
d486307134fc3f867ea3b6e047e8705fd122c01e
[ "BSD-3-Clause" ]
permissive
bebump/bbmp_interop
70c3740fdbf21033057b2a72a573b61dccb29a96
eb551e1384222b387ed7809daab483c197d5500b
refs/heads/master
2022-12-04T03:59:34.258482
2020-09-01T08:37:56
2020-09-01T08:37:56
281,749,455
0
1
null
null
null
null
UTF-8
Python
false
false
18,770
py
''' Copyright (c) 2020 Attila Szarvas <attila.szarvas@gmail.com> All rights reserved. Use of this source code is governed the 3-Clause BSD License BSD-style license that can be found in the LICENSE file. ''' import logging import os import pathlib import pickle import re from string import Template from typing import...
[ "ati@bebump.net" ]
ati@bebump.net