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
fda194aff772871c7c4b2ea781497dc72cf05c8a
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/verbs/_cryings.py
62b48a889fcdd5f58f940b8aca110dd0c8ff2b83
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
223
py
from xai.brain.wordbase.verbs._cry import _CRY #calss header class _CRYINGS(_CRY, ): def __init__(self,): _CRY.__init__(self) self.name = "CRYINGS" self.specie = 'verbs' self.basic = "cry" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
240ee78594f9cde78e782abfe63180952dadd898
440b918affee34f5ae09f9389e10212eb00738d4
/pir.py
205cb238cc331fa40307c6183c3ad1b3dbda6cca
[]
no_license
wildtangent/raspberry-pi-examples
4cd0deaf2b8bba7d6e08ba58f3a1f991b96fdde4
4f74f9cfb6008bfa953c8b9ee3b5bfbd30662d35
refs/heads/master
2021-01-10T02:14:54.855946
2015-11-03T01:51:14
2015-11-03T01:51:14
45,083,645
0
0
null
null
null
null
UTF-8
Python
false
false
1,114
py
import RPi.GPIO as GPIO class MyPiPIR: # Current Pin on GPIO DEFAULT = 7 # States INACTIVE = 0 ACTIVE = 1 ACTIVATED = 2 DEACTIVATED = 3 def __init__(self, pin): self.pin = pin self.current_state = 0 self.previous_state = 0 self.setup() def setup(self): GPIO.setmode(GPIO.BCM) ...
[ "joe@authomedia.co.uk" ]
joe@authomedia.co.uk
30df20c459875066299b819277787ea6cd268ad7
0fd506e2651fde07ff65ae80c12226a18d7778a2
/wildfire/pandas_cut_test.py
d3bbc09ac55c3f2995b8e3a3325024673de427c4
[]
no_license
MillerWu2014/remote_project
af69e20d84809ea3d1e121e5cac57715073f70d6
7458ec6571b5b046f07ce2f89dcb393e0dd2e478
refs/heads/master
2020-08-03T15:43:36.028810
2019-09-30T07:45:06
2019-09-30T07:45:06
211,804,058
2
0
null
null
null
null
UTF-8
Python
false
false
86
py
import pandas as pd x = pd.Series(range(100)) print(pd.cut(x, 50, labels=range(50)))
[ "root@localhost.localdomain" ]
root@localhost.localdomain
cd846f89d90d6f2f5ce61fa895e49409d4e39009
604ffaf79c5f9c816bb1a2151ae33fbf29bca52b
/cloudstoragetui/keypress.py
6eaf37d5320d02c08c43e2c2b52b735c33eabb6f
[ "MIT" ]
permissive
joeyism/cloud-storage-tui
1069092b51f1d11daa033ea5896b625e42e55691
8fda9bc8551756e88db706944489f1bbcc95a52c
refs/heads/master
2023-05-31T00:33:07.979555
2021-06-07T17:19:26
2021-06-07T17:19:26
352,346,198
0
0
null
null
null
null
UTF-8
Python
false
false
1,773
py
import curses from typing import List from cloudstoragetui.constants import KEY_QUIT, KEY_UP, KEY_DOWN, KEY_LEFT, KEY_RIGHT, KEY_ENTER, ESC, UP, DOWN, LEFT, RIGHT from cloudstoragetui.draw import DrawnBox from cloudstoragetui.cursor_state import CursorState from cloudstoragetui.debug import log def _extract_min_max(b...
[ "sham.joey@gmail.com" ]
sham.joey@gmail.com
17b06bd2a43cb53c3dac057bdad33d265da42666
3df70c9573f55311f03ad02a329b580eb8f4997f
/hms.py
dca8751cf4a45a172e85f7c24234b0d4d7634d97
[]
no_license
sumukharm/Distributed-Systems-projects-and-Implementations
02b57f34dfbd5582c630d04e027033dccfb929ea
61fbe949614e6d7eaeda530cf6ee1c22322ba898
refs/heads/master
2020-03-29T00:40:28.160427
2019-03-23T05:24:30
2019-03-23T05:24:30
149,350,446
0
0
null
null
null
null
UTF-8
Python
false
false
6,811
py
# -*- generated by 1.1.0b13 -*- import da PatternExpr_254 = da.pat.TuplePattern([da.pat.ConstantPattern('ack')]) PatternExpr_259 = da.pat.BoundPattern('_BoundPattern260_') PatternExpr_298 = da.pat.TuplePattern([da.pat.ConstantPattern('push'), da.pat.FreePattern('secrets'), da.pat.FreePattern('predecessor')]) Patte...
[ "noreply@github.com" ]
sumukharm.noreply@github.com
ca010878792d0bc73fec72213f7db9f251dfd0e5
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_bandaged.py
9ef009f331d8a4fe83aa934179c391e624957156
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
245
py
from xai.brain.wordbase.nouns._bandage import _BANDAGE #calss header class _BANDAGED(_BANDAGE, ): def __init__(self,): _BANDAGE.__init__(self) self.name = "BANDAGED" self.specie = 'nouns' self.basic = "bandage" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
a51a6f80ca166b4e727549a24872fb0c2e79b437
84b35f9c88de110056ae8fc4463a8b5218219112
/validations/float_validations.py
24e9afe52009e25fb1db90d5f58945298a8a43e5
[]
no_license
JMGalvan/python
7657889acba2a7eefacb62632903ad0fe3362765
38c6ae0b67d2e1913380f53db1b12fcffd6b922e
refs/heads/main
2023-03-25T18:09:49.989527
2021-03-28T12:54:51
2021-03-28T12:54:51
351,547,667
0
0
null
2021-03-28T12:54:51
2021-03-25T19:09:09
Python
UTF-8
Python
false
false
1,814
py
# -*- coding: utf-8 -*- """ @author: José Manuel Galván Díaz @course: 08GIIN Metodología de Programación """ # # isValidFloat: Comprueba si el valor es un número Real, en caso de no serlo, # revisa si se puede transformar a Real # @param value (Integer): Valor a revisar # @return boolean # def isVa...
[ "noreply@github.com" ]
JMGalvan.noreply@github.com
0708d1f53178ef53448b79db82b98db55f6ac3f9
7540483a0fc5c529c00e8af2bcf0734b731c0478
/src/python/modules/setup.py
39115cf421b7a0cea8061112f70e494ca7183a86
[ "MIT" ]
permissive
Mart1250/bluebrain
a10bbae853efa0ed0c70bf02bb972e7f67873453
69670cb43c74e38b3dece288478b0c86bb9e4e23
refs/heads/master
2021-01-21T09:33:46.713262
2015-06-30T07:08:33
2015-06-30T07:08:33
38,633,562
1
0
null
2015-07-06T17:08:57
2015-07-06T17:08:57
null
UTF-8
Python
false
false
210
py
from distutils.core import setup setup( name='Cannybots', version='0.1dev', packages=['cannybots','cannybots.clients'], license='MIT license', long_description=open('README.txt').read(), )
[ "wayne@cannybots.com" ]
wayne@cannybots.com
b3646cc8d6f341f85ee10da44ac42e4e9153fe19
12747304dbdfced3ac425870c2c0f680ae3db26e
/todo/migrations/0002_auto_20180904_1255.py
c78e8f801d0741b67e4be50ed9668ab8ee029803
[]
no_license
Rudresh17/jarvisr
c0079333691092cc55171c757b6f1dfc8a3a1eb6
9ce0d1d96545bcd150b3533f508f1d764870e0ef
refs/heads/master
2020-03-28T18:23:46.240550
2018-09-15T06:58:11
2018-09-15T06:58:11
148,877,980
0
0
null
null
null
null
UTF-8
Python
false
false
311
py
# Generated by Django 2.0.5 on 2018-09-04 07:25 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('todo', '0001_initial'), ] operations = [ migrations.RenameModel( old_name='todo', new_name='add', ), ]
[ "rudreshlegend@gmail.com" ]
rudreshlegend@gmail.com
8020760bc5cd0a1d148739c5991cea3a09beb85f
5aadc1f06bdb68a73bb003b23cc85af528d61bf4
/detection_network/src/rl/ppo.py
b71a185fbb72e8e16bc734d17634f6bdea14b165
[]
no_license
zideajang/zi_full_self_drive_system
81dca2ca0541dfab7c021c6e3a0e58701bbf1693
fee2e4057619a19a585fbd8b9622f69c25946be1
refs/heads/master
2023-09-03T02:41:35.720600
2021-09-27T02:37:41
2021-09-27T02:37:41
358,083,188
1
1
null
null
null
null
UTF-8
Python
false
false
2,307
py
import torch import torch.optim as optim class RolloutStorage: def __init__(self,num_steps,num_processes,action_size): pass class PPO(object): def __init__( self, controller, clip_param, lr, baseline_decay, action_size = 18, ppo_epoch=1, ...
[ "you@example.com" ]
you@example.com
38c7d9d6bb8677f9a4868e805cbb65a375dc0c84
352d5acef4e8fca2d1306d9e749444869ed4ef2f
/easy/WeakestRowInAMatrix.py
213a28f74b1de73ce29e57445ecf4565a51837dc
[]
no_license
rupafn/leetcode
d73672a5fce8fd2027d3a7d0118d9ff7b9e89c5e
2c75625db500d806e2a55954c85f389cfde2c3aa
refs/heads/master
2021-06-07T20:01:07.992640
2021-05-07T15:29:15
2021-05-07T15:29:15
128,645,991
0
0
null
null
null
null
UTF-8
Python
false
false
432
py
class Solution: def kWeakestRows(self, mat, k): sums = [] for i in range(0,len(mat)): sums.append(sum(mat[i])) res = [] while(k>0): ind = sums.index(min(sums)) sums[ind] = 100000 res.append(ind) k-=1 return res obj...
[ "rupafn@gmail.com" ]
rupafn@gmail.com
4cd13153a646bc5c96f4e50481b78f266720eb61
4d7f0434526a8f286e98a36379b991a1a307a6cb
/WikiTextsDataset/WrapperTextsSource.py
85b66a99e4284c66a10a0443e95af82e0643595d
[]
no_license
PerfectStepCoder/NeuroProjects
464acbaa50e0067f70710d13bd0024dbd1117825
d385828a0e0b668760f9990a75c13cb05f5efef4
refs/heads/master
2020-03-24T21:30:14.668472
2018-08-09T11:13:15
2018-08-09T11:13:15
143,035,960
0
0
null
null
null
null
UTF-8
Python
false
false
2,567
py
import os import torch from torch.utils.data import Dataset from torch.utils.data import DataLoader from src.NN.WikiTextsDataset.wiki_utils import Texts wikitext_folder = os.path.abspath(os.path.join(os.path.curdir, 'wikitext')) class WikitextDataset(Dataset): """ Dataset of Wikitext """ def __init__...
[ "xfile2003@mail.ru" ]
xfile2003@mail.ru
1fe3fb6fa971710011542bc58df695cb0c6d7730
c3082eb2adc43b311dd3c9ff16fd3ed9df85f266
/python/examples/fastapi/dynamic-response/main.py
e9ecf608f59322153963fae72ce85a28b0f05e1f
[]
no_license
szabgab/slides
78818c7138331b3ba9e221c81da3678a46efe9b3
63bba06678554db737602f2fbcd6510c36037e8a
refs/heads/main
2023-08-31T07:13:51.536711
2023-08-29T13:17:59
2023-08-29T13:17:59
122,212,527
87
69
null
2023-05-19T06:55:11
2018-02-20T14:57:03
Python
UTF-8
Python
false
false
164
py
from fastapi import FastAPI import datetime app = FastAPI() @app.get("/") async def root(): return {"message": f"Hello World at {datetime.datetime.now()}"}
[ "gabor@szabgab.com" ]
gabor@szabgab.com
c5248a3cae6dcafab9c6ad505abc712db1980a72
74ec860957869ea48af8535bf32f9fd87cc81011
/dna-methylation/scripts/develop/illumina450k/residuals/plot/scatter_comparison.py
22a26b4bf6f95cc4078b5e99f2a407784322a5a3
[]
no_license
GillianGrayson/dna-methylation
f1a0878f4aa8c917bee9e5230387d6145826fb3a
e602ba91f3d275d92aadf0f874ac6f189adf547b
refs/heads/master
2022-02-08T03:31:22.423781
2022-02-01T16:50:37
2022-02-01T16:50:37
164,105,085
0
1
null
2020-03-20T18:08:24
2019-01-04T12:30:29
Python
UTF-8
Python
false
false
2,721
py
import pydnameth as pdm import pandas as pd import os.path from scripts.develop.routines import * max_rows = 10 fn = 'scatter_comparison_rows.xlsx' rows_dict = {} if os.path.isfile(fn): df = pd.read_excel(fn) tmp_dict = df.to_dict() for key in tmp_dict: curr_dict = tmp_dict[key] rows_dict[...
[ "hewitt.archie@yandex.ru" ]
hewitt.archie@yandex.ru
9e4a2dfbb16d5446314128083d3801b0a07f75b3
f2e5abc20da551051f0d1f306227b1b3838d7997
/NEZHA_MODEL/utils/data_utils.py
828586476622b66fb3540c628099fc1f1c89e1f0
[]
no_license
chenmingwei00/bert-ner
3224fec5f979a5c1cfbcf5762fd3957dfded4206
6ca5cc34c71be879a34333c7dc4b1fbaa0870cc9
refs/heads/master
2022-11-30T04:31:42.682793
2020-08-11T14:08:38
2020-08-11T14:08:38
286,760,176
5
1
null
null
null
null
UTF-8
Python
false
false
17,904
py
import tensorflow as tf import os, codecs, pickle, collections, json from NEZHA_TensorFlow.NEZHA_MODEL.nezha_bert import tokenization from NEZHA_TensorFlow.NEZHA_MODEL.server.helper import set_logger from NEZHA_TensorFlow.NEZHA_MODEL.nezha_bert.models import create_model, InputFeatures, InputExample logger = set_logge...
[ "614489362@qq.com" ]
614489362@qq.com
2e307cc53432f29673c4057851212ede07e1b46d
7f1830dd630a6ee7fe63a01fd0bff31c7c1979a3
/users/urls.py
3d83515c2b19584e96029f25c21881319baa06a0
[]
no_license
kot6egemot/musicwebsite
d610c81a764e809b502b762b7355e74157a5d26e
585f7a34a3ecbcd9b6b827240b8cf7875b1955de
refs/heads/true_media
2022-12-03T00:57:38.215244
2019-03-15T21:22:22
2019-03-15T21:22:22
165,709,813
1
0
null
null
null
null
UTF-8
Python
false
false
395
py
from django.urls import path from django.conf.urls import url from django.contrib.auth.views import auth_login from .views import logout_view,login_view,register_view app_name = 'users' urlpatterns = [ path('login/', login_view, name = 'login_view'), path('logout/', logout_view, name = 'logout_...
[ "ex-2k@yandex.ru" ]
ex-2k@yandex.ru
d64dd27b9a3bc143aa7bf6611da63721f4d4da41
5a4539b69985e9d61162a5b1876dea244da98c07
/config.py
a7d974a5f6e917e179e1f1a9a6a6152acb1acaf3
[]
no_license
Koperundevi/user-profile-api
50d5af289ae22a43eef772b6c0a26dcc4b96f645
4e6c9a63665e9ffb69a76a325085e33c493746e2
refs/heads/master
2023-04-01T07:14:25.872925
2021-04-04T11:03:31
2021-04-04T11:03:31
353,040,197
0
0
null
null
null
null
UTF-8
Python
false
false
2,453
py
from datetime import timedelta import sys, os '''get config based on environment''' def getEnvConfig(): env = os.getenv('FLASK_ENV') return app_config[env] if env else DevelopmentConfig class Config(object): """ Common configurations """ PROPAGATE_EXCEPTIONS = True class DevelopmentConfig(Con...
[ "koperundevianbu@gmail.com" ]
koperundevianbu@gmail.com
a9582fe1ff3a16c1aa108f54b5ff1ae3984f5ccb
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_171/ch65_2019_06_07_01_24_18_525767.py
79aa0ff8a8f6334244edcac2ba434f9ec46d556f
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
206
py
def acha_bigramas(string): lista=[] i=0 while i<len(string): if string[i:i+2] not in lista and len(string[i:i+2])>3: lista.append(string[i:i+2]) i+=1 return lista
[ "you@example.com" ]
you@example.com
26571c6b5080ba1be22ee2d52d6fd124c821b6c7
b5952ec93687e66bc0fc0ee7dbd6b2a2cfc6bbaa
/Server/app/__init__.py
a4e30a7b0af85f379d2994d8e66779eb2078688e
[]
no_license
elektrobohemian/imi-unicorns
32001448ea7cbc5276a9c3fb54fc7e51d0029138
a3dac66d8d6d1d36749473883ced8de7e2678e26
refs/heads/master
2020-03-31T08:37:48.046267
2019-03-16T07:06:24
2019-03-16T07:06:24
152,065,376
2
0
null
2018-10-08T10:59:58
2018-10-08T10:59:58
null
UTF-8
Python
false
false
829
py
from flask import Flask from pymongo import MongoClient # Setup Flask app app = Flask(__name__) app.config.from_object('app.config') # Setup MongoDB connection client = MongoClient('localhost', 27017) db = client['unicorns'] from app import category_controller, image_controller, book_controller, genre_controller, m...
[ "caglar.oezel@gmail.com" ]
caglar.oezel@gmail.com
6e90658a4808635df02ace2c0dd08c4d5d2ceb3e
4beabdb5089e3284251dcaf046366c35d3afe02f
/communication/multithreading/Client.py
8743a1106aebdb0b5ab603d90c530f73da03cc10
[]
no_license
AndrewFendrich/Mandelbrot
c3fa2b1463d6e01b91ac0a3c53ef88c8e1716641
074ebd9028c13a9f840c2436ab2c8c3d2275dbf6
refs/heads/master
2021-01-13T00:52:24.060863
2017-05-08T14:30:02
2017-05-08T14:30:02
50,623,517
1
0
null
null
null
null
UTF-8
Python
false
false
472
py
from multiprocessing.connection import Client from array import array address = ('localhost', 6000) with Client(address, authkey=b'secret password') as conn: print(conn.recv()) # => [2.25, None, 'junk', float] print(conn.recv_bytes()) # => 'hello' arr = array('i', [0, 0, 0, 0...
[ "afendrich@gmail.com" ]
afendrich@gmail.com
2e3e48d88ad0126676c3194181242ceb8c20f327
3d110d335dc51c8f270676675c742cf406ecdeb5
/RESTSerializer/serializers.py
f8dc80dafac6c9d175cf5572054eb4ebbf4f8339
[]
no_license
1284753334/RESTAPI
2de797cc931214e4c32731c71e5f0163ca00e3fb
f96b2a868a892912d6933cc8444e5ad7b8e91f62
refs/heads/master
2022-11-18T08:12:00.783699
2020-07-16T04:30:32
2020-07-16T04:30:32
280,053,281
0
0
null
null
null
null
UTF-8
Python
false
false
1,169
py
from rest_framework import serializers from RESTSerializer.models import Person, Student, Book # 原生序列化 代码比person 多 class PersonSerializer(serializers.Serializer): id = serializers.IntegerField(read_only=True) p_name = serializers.CharField(max_length=32) p_age = serializers.IntegerField(default=1) ...
[ "xiaomin@169.com" ]
xiaomin@169.com
8df0a5de30770486d65f5750ddf7332158529917
385ce240ae264a1449079c21bd0c4cbe7c0fe3b8
/myowntests/ifelseladder.py
6be8802a946907017b902d6c6c70418b5968deb2
[]
no_license
Maxcousin123/Python-workspace
3ed60ae80d790b5c055bf47872ff0fdd39f4ec58
326b023190a12e082dcb35ae5ab8ef644c32159b
refs/heads/master
2022-11-24T11:05:08.707003
2020-07-29T06:32:08
2020-07-29T06:32:08
283,415,557
0
0
null
null
null
null
UTF-8
Python
false
false
576
py
maths=int(input('fill your math grade')) physics=int(input('fill your physics grade')) chemistry=int(input('fill your chemistry grade')) av=(maths+physics+chemistry)/3 if maths<35: print('Exam Failed') else:print('Exam passed') if physics<35: print('Exam failed') else:print('Exam passed') if physics<35: ...
[ "66350396+Maxcousin123@users.noreply.github.com" ]
66350396+Maxcousin123@users.noreply.github.com
1bbcca3940cb02865ed6ba250a1b7e06fe44680c
e72337dd656adfabe62325a472763a2836f30f8e
/problem19.py
2837b3d4e8213832c0d860e66e9fe792f7222d5a
[]
no_license
deepachari/euler
1b3285b43c136122d59a418740f4ae4fc853a54f
6995293cd6cb391772bd883d17c12d545aa162a3
refs/heads/master
2021-07-25T05:17:36.860375
2017-11-05T11:01:19
2017-11-05T11:01:19
109,484,529
0
0
null
null
null
null
UTF-8
Python
false
false
969
py
# You are given the following information, but you may prefer to do some research for yourself. # # 1 Jan 1900 was a Monday. # Thirty days has September, # April, June and November. # All the rest have thirty-one, # Saving February alone, # Which has twenty-eight, rain or shine. # And on leap years, twenty-nine. # A le...
[ "dchari@newclassrooms.org" ]
dchari@newclassrooms.org
a30c882225f0729f7727634a091398bc4b341d00
a58fcf9467749de7d269c5b17430773069e29791
/designate/exceptions.py
bd807f15966c85208c564dccc08126f802c00c8e
[ "Apache-2.0" ]
permissive
Woody89/designate-private
586df6c28a2da573663487e4728c3fddfef095af
0a6ed5a1d7cdac5cb1e9dec8fd3ddfb9a77c58f5
refs/heads/master
2021-01-22T19:22:49.391876
2017-08-19T06:16:53
2017-08-19T06:16:53
100,774,211
1
0
null
null
null
null
UTF-8
Python
false
false
17,905
py
# Copyright 2012 Managed I.T. # # Author: Kiall Mac Innes <kiall@managedit.ie> # # 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 r...
[ "dongpzh@adtec.com.cn" ]
dongpzh@adtec.com.cn
e730f6b2b0eca72e7e22623e746eb8a5f9fc2013
0e1e643e864bcb96cf06f14f4cb559b034e114d0
/Exps_7_v3/I_to_M_Gk3_no_pad/pyramid_2side/bce_s001_tv_s0p1_L8/step09_2side_L8.py
150ed37ed776a944b01f8ce846b25ba5de404b7b
[]
no_license
KongBOy/kong_model2
33a94a9d2be5b0f28f9d479b3744e1d0e0ebd307
1af20b168ffccf0d5293a393a40a9fa9519410b2
refs/heads/master
2022-10-14T03:09:22.543998
2022-10-06T11:33:42
2022-10-06T11:33:42
242,080,692
3
0
null
null
null
null
UTF-8
Python
false
false
24,319
py
############################################################################################################################################################################################################# ##################################################################################################################...
[ "s89334roy@yahoo.com.tw" ]
s89334roy@yahoo.com.tw
4ebf8a054879eac94e2f5d8095ece9d5956ab041
71dad77ffa026e8ce2f80ac4214220b02eaa77fd
/src/concordion/impl/java.py
26eccce54f06e2fe190ccd312eb7875ad62ff44a
[]
no_license
jcplessis/pyconcordion
bf288e3f8fb4a5896396e3a6090cd0672262f1be
09fdbc0094c17f046f46202d216f8d91f8f5bcd3
refs/heads/master
2021-01-22T11:38:33.060065
2015-03-16T08:19:14
2015-03-16T08:19:14
32,134,378
0
0
null
null
null
null
UTF-8
Python
false
false
7,984
py
import os import glob import sys package = """ package %s; """ imports = """ import java.net.*; import org.apache.ws.commons.util.NamespaceContextImpl; import org.apache.xmlrpc.common.TypeFactoryImpl; import org.apache.xmlrpc.common.XmlRpcController; import org.apache.xmlrpc.common.XmlRpcStreamConfig; import org.apac...
[ "jcplessis@3b747d5a-b732-11dd-8af8-77a15857c330" ]
jcplessis@3b747d5a-b732-11dd-8af8-77a15857c330
c737af5d1ff073a22f5a3aaaf91937cb8797fb95
8164fd930d78efbd3885198efbfd9692c585319b
/week7/CrawWeb/craw_web.py
b837f0305e260bb319dc6622a4866529aa9c6f96
[]
no_license
kobso1245/Hack_BG
7a7b7524b20fada3d9856a583e02c6959d442e66
7ffdb8ccefd67aeca5a49c9a9354e65c77149ad4
refs/heads/master
2020-05-31T17:43:10.316633
2015-10-05T21:43:20
2015-10-05T21:43:20
30,460,888
0
1
null
null
null
null
UTF-8
Python
false
false
194
py
from Crawler import * from Histogram import * from Plotter import * if __name__ == '__main__': craw("http://register.start.bg/", "histogram2") plot("path_to_database_file/websites.db")
[ "kalo.evt@mail.bg" ]
kalo.evt@mail.bg
91ba9347fb713f1ec0e076a66bf3ce839adf7db1
087c9782bfad42a3fe33ba8d5a28577661a2e33a
/modules/EstadoSesion.py
f8109a2204cf2ea8f88c31abbee0a84f4575eaeb
[]
no_license
jav-rojas/capacitaciones
5d9ec7406eb4ad2018f4cbd000bd62f096328b14
fcff5aa9d87b0d6341240a8b2e84fa70487b9c9c
refs/heads/main
2023-01-12T05:39:15.737496
2020-11-17T20:55:47
2020-11-17T20:55:47
301,771,861
0
0
null
null
null
null
UTF-8
Python
false
false
1,563
py
try: import streamlit.ReportThread as ReportThread from streamlit.server.Server import Server except Exception: # Streamlit >= 0.65.0 import streamlit.report_thread as ReportThread from streamlit.server.server import Server class SessionState(object): def __init__(self, **kwargs): for ...
[ "54907635+jav-rojas@users.noreply.github.com" ]
54907635+jav-rojas@users.noreply.github.com
d022916a345025cb425f8776ec7613b96ad69f8d
abd471c7ef4a5ebae08a0b478e724ce4f5779c24
/setup.py
687c70dcd18e7a0dc3c3a41a281db8df46a2b83b
[ "MIT" ]
permissive
lazy-scrivener-games/homebrewery-to-libris
f0334df94a33ba14411fe00080d72581f75a8706
4420657b72c7ccc3339614c1e7937637b486a8af
refs/heads/main
2023-08-23T21:02:35.177631
2021-10-21T22:23:36
2021-10-21T22:23:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,317
py
from setuptools import setup setup( name='homebrewery-to-libris', version='1.1.0', description='Converter between homebrewery and libris markdown formats.', url='https://github.com/lazy-scrivener-games/homebrewery-to-libris', download_url='https://github.com/lazy-scrivener-games/homebrewery-to-libri...
[ "illusorycaesura@gmail.com" ]
illusorycaesura@gmail.com
c008cb5d4d87cdea6e0a73a3afebeb74385aead1
bf9df944e54c4cca22f62f79c3150cf6b7f33fea
/NTupleMaker/bin/preAnalyzerTauTau_Batch_Summer15.py
2a24532b0a43b28671f3510bce77f74775f063ad
[]
no_license
bobovnii/DesyTauAnalysesRun2_25ns
39dce38e34486f98e630fbed515c7410a4a905f3
c45d0071f3024136a97c0af83c00219d22d2242a
refs/heads/master
2020-12-11T07:59:58.389966
2016-04-29T08:07:23
2016-04-29T08:07:23
58,554,259
1
0
null
2016-05-11T14:54:33
2016-05-11T14:54:33
null
UTF-8
Python
false
false
3,549
py
#!/usr/bin/env python import commands import re import os import sys sys.path.append('./') ########################################### ########################################### def preAnalyze( ana, sample, runInSeries=False): #os.system( 'mkdir batch/' ) stream = "TauTau" print "Stream ", stream ...
[ "francesco.costanza@desy.de" ]
francesco.costanza@desy.de
7fa564e54a994f80546bfabe9d520dff0eacb74a
fa46fd872bd6aae13721569ef24c09d2dd09bc83
/ch_16_coroutines/simple_coroutines.py
0dbe70a9082015c8c4887d93e0fee9a4d61495ce
[]
no_license
justincrapse/fluent_python
0da1c7ce713c03fd3ed2ca5519b9d8a1a0b2dfcd
fa58da79adfa2bf6031667bc6290e272d9715d5c
refs/heads/master
2022-06-13T05:15:02.103596
2020-05-10T19:22:15
2020-05-10T19:22:15
257,097,106
0
0
null
null
null
null
UTF-8
Python
false
false
742
py
from inspect import getgeneratorstate def simple_coroutine(a): print('-> Started: a = ', a) b = yield a # b != a. b receives what is sent in my_coro.send(), which is 28 in the code below print('-> Received: b =', b) c = yield a + b print('-> Received: c =', c) my_coro = simple_coroutine(14) pri...
[ "justincrapse@gmail.com" ]
justincrapse@gmail.com
d913221b2594a670e1a1296137e8184576959356
d5862abce5457bbe3865c6c8fc0fcec42e8c27f7
/mgn/tools/run_train_e2e.py
c287a63a310f9980b196ca64f2f1e4e47df4b8ee
[ "MIT" ]
permissive
cdsfcesf/mgn
ecaf64bd51c3209d96646eb1beebf6b1ea28cb96
341d9feae7c400c0d56f3849633a2b357df8d8ed
refs/heads/master
2023-04-14T11:14:17.723482
2021-04-30T22:48:10
2021-04-30T22:48:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,453
py
#! /usr/bin/env python3 # -*- coding: utf-8 -*- # File: run_train_e2e.py # Author: anon # Email: anon@cs.anon.edu # Created on: 2020-05-18 # # This file is part of MGN # Distributed under terms of the MIT License import os import sys _dir = os.path.split(os.getcwd())[0] if _dir not in sys.path: sys.path.insert(0...
[ "raeidsaqur@cs.toronto.edu" ]
raeidsaqur@cs.toronto.edu
2736296850dec612e5894e270ae5b568fc2c1cb0
f2c27c44ee4d54f1441df40cf5453b199e0f8142
/test3.py
0fc400769530d178a248c7fedc04935d734ec257
[]
no_license
weinan123/tests
e05f308ef7f5c3a1409b4be6eb644a6a11d05e6d
0a7e91e1977942babb574ea8bdf45a571d74ba4a
refs/heads/master
2020-04-27T06:48:01.596598
2019-03-26T08:12:50
2019-03-26T08:12:50
174,118,099
0
0
null
null
null
null
UTF-8
Python
false
false
1,364
py
# -*- coding: UTF-8 -*- #高阶函数 f = abs #函数本身可以赋值给变量 print f(-10) ''' 函数接收另外一个函数作为参数,称为高阶函数''' def add(x,y,f): return f(x)+f(y) result = add(-5,-6,abs) print result #map def f(x): return x*x r = map(f,[1,2,3,4,5,6,7]) print list(r) #capitalize()首字母大写,其他字母小写 def normalize(name): return name.capitalize() L1...
[ "tom.weng@yff.com" ]
tom.weng@yff.com
ce19c5dcc0781b0f973bef61f84f4c439f3f4947
924c65166eee1da93c0a0c85f067c028b1d7c6be
/deepforest/deepforest.py
19e80e8a67f29e7e8a2266c1c25eca30a205a678
[ "MIT" ]
permissive
geo-py/DeepForest
4cf8e1fd742c6a52b67cb57d2f6825e149a0903b
39cb1db4b57ca7fbb64f0f87fee0f74487e4d7e3
refs/heads/master
2021-04-08T09:48:58.526848
2020-03-19T03:04:01
2020-03-19T03:04:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
20,798
py
""" Deepforest main module. This module holds the deepforest class for model building and training """ import os import csv import warnings from PIL import Image with warnings.catch_warnings(): #Suppress some of the verbose tensorboard warnings, compromise to avoid numpy version errors warnings.filterwarnings(...
[ "benweinstein2010@gmail.com" ]
benweinstein2010@gmail.com
b808890d42c126b65c5b6213a5c1efc90ba24f4f
8e8487a365988830bce965cf6a80c179e7125292
/GitHub_test.py
ff877ce4130281f84b86dfab7e69f72ce4396bd3
[]
no_license
github-ruben/NeuralNetwork
f93d98b6c021dd91088fe96f33c6983606a550ad
d78f2a4c8cd32854f9c0d29b98b72eae4ba5b25f
refs/heads/master
2020-05-06T12:19:58.993602
2019-04-08T14:51:59
2019-04-08T14:51:59
180,117,231
0
0
null
null
null
null
UTF-8
Python
false
false
7,941
py
import sys import os import pandas as pd feature_sel_NN = ['SpdLimit', 'LengthMeter', 'IsPaved', 'HasSpdBumps', 'NrSharpTurns' ,'IsPriority', 'IsUrban', 'IsRamp'] training_data = (r'data_vrachtwagen_training.csv') test_data = (r'data_vrachtwagen_test.csv') def load_and_prepare(data_f...
[ "noreply@github.com" ]
github-ruben.noreply@github.com
8ebabb8929c847e3c9edcd7a71bcd0940adfa0c2
d44bfb67b8b19f3773558870a71a42e0cd3ec002
/telemetry-library/telemetry/telemetry_mqtt.py
cc84776095c2500d7a5842bdd8449b8635c5956f
[ "Apache-2.0" ]
permissive
Abstract-Horizon/pyros-telemetry
764cdbb8cc98b7d72b1b2a04490c4989c003cbd2
7ecb5deaf266689555cbf0721f9c156e4dfe28d7
refs/heads/master
2023-08-17T19:52:24.684594
2021-10-11T17:46:40
2021-10-11T17:46:40
272,370,230
0
0
null
null
null
null
UTF-8
Python
false
false
6,580
py
################################################################################ # Copyright (C) 2016-2020 Abstract Horizon # All rights reserved. This program and the accompanying materials # are made available under the terms of the Apache License v2.0 # which accompanies this distribution, and is available at # http...
[ "natdan@users.noreply.github.com" ]
natdan@users.noreply.github.com
35aed6992cd479774142420d442e2ef3961ae208
77fd9e792b1e72ee4522ed6173b51b7ae923bf8f
/p5/gamefile/sketch.py
f7eddf763efd4b55c8d2ea4d46bc53a70cf21371
[]
no_license
christophejacques/examples
28e2f46ca8b60ff3adb48eb8f03e2693c01f81a0
80ad880298bf9f6a2f32f87ec90e43068380c7a5
refs/heads/master
2023-08-17T01:30:19.180254
2023-08-05T18:13:16
2023-08-05T18:13:16
188,475,439
0
0
null
null
null
null
UTF-8
Python
false
false
2,014
py
import random from __init__ import background, createCanvas, stroke, fill, circle, rect, square, rectMode from __init__ import P5, strokeWeight, noStroke, map, Vector, line from __init__ import * SIZE = 10 ROWS, COLS = 0, 0 grid = [] updating = True olds = 0 compteur = 0 def nbVoisins(x, y): somme = 0 for i...
[ "cjacques.programmes@numericable.fr" ]
cjacques.programmes@numericable.fr
414d29786eb51284f28473d7090b7778c546c6c3
dd860973103347b382d8a04ef68a9376561725ea
/wazimap_ng/profile/serializers/highlights_serializer.py
003ee147dc77b5daa5f28a8c58f772775589eb56
[ "Apache-2.0" ]
permissive
mauricemojito/wazimap-ng
7a7da6c9fc653054c376d77c22df120ed0abb653
e03748cb1258cbafb43faba441bbc37dd0556a2a
refs/heads/master
2023-03-12T01:45:53.173039
2020-09-30T13:55:29
2020-09-30T13:55:29
342,342,503
0
0
Apache-2.0
2021-02-25T18:55:09
2021-02-25T18:34:39
Python
UTF-8
Python
false
false
2,545
py
from wazimap_ng.datasets.models import IndicatorData from wazimap_ng.utils import mergedict def get_subindicator(highlight): subindicators = highlight.indicator.subindicators idx = highlight.subindicator if highlight.subindicator is not None else 0 return subindicators[idx] def sibling(highlight, geogra...
[ "adi@openup.org.za" ]
adi@openup.org.za
1cf5824c168f9b478a4172a158f56e06d2c4acc3
3110d538f3801370d5853be7f7388dfcd1c47064
/app/migrations/0008_answer_empresa.py
a2e2b46945259e9daa7c4be7d2bfc58008f54e85
[]
no_license
thiagosouza448/ask-tech
1090e8ed0986e86cf7f23dae727c1c9b4652b2ad
765ea936b17ac50919fa96af8b504ee7bdedfb9c
refs/heads/master
2023-08-10T12:40:33.374088
2023-06-13T13:11:51
2023-06-13T13:11:51
223,251,326
0
0
null
2023-07-25T21:13:00
2019-11-21T19:40:59
Python
UTF-8
Python
false
false
510
py
# Generated by Django 2.1 on 2018-08-19 16:51 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('app', '0007_answer_data_resposta'), ] operations = [ migrations.AddField( model_name='answer', ...
[ "tgraca@grupogbi.com" ]
tgraca@grupogbi.com
3291856511a2416a25502d0b24cfff8ea292b989
a5db32e65fac3b30a50c3ee0e049a180db491a87
/checkf2.py
f07fab697157f670f308b5fd5f3853d45dac34d7
[]
no_license
ulibanesu/project
d3ea9db5be57b22201c48c7a8ae991ac438ecd86
13b703a8fc4f21c315c79b17f20cf4cc7513d20b
refs/heads/master
2020-04-06T07:10:07.319812
2016-09-01T20:57:06
2016-09-01T20:57:06
62,409,585
0
0
null
null
null
null
UTF-8
Python
false
false
129
py
version https://git-lfs.github.com/spec/v1 oid sha256:792eae919c97ecd16cd24965e89be8385de6483f1ba1247940486a64db21a9bf size 1613
[ "olivier.khatib@gmail.com" ]
olivier.khatib@gmail.com
910e66c7519bc439e5c9b699b496a6a967a0b70a
bef3ef5c44d97c468b5359b81bb8c4c4b95f151d
/Api1/tests/resources/test_login.py
6df447b1a79e092b571bd91388fcc1d5f23efa04
[]
no_license
stsiwo/sts_blogs
3a90f883f65b4a680f0b271e3792c63bcdc25aef
57231d4f040e5d4be557dc14cc583d269b812602
refs/heads/master
2023-01-14T01:37:22.538717
2020-04-02T18:03:52
2020-04-02T18:03:52
212,732,622
0
0
null
2023-01-04T23:30:34
2019-10-04T04:00:43
TypeScript
UTF-8
Python
false
false
2,668
py
from flask import Response import json from utils.util import prettyPrint from flask_jwt_extended import decode_token def test_login_endpoint_no_json_data_should_response_with_400(client): rv = client.post('/login') assert 400 == rv.status_code def test_login_endpoint_no_json_data_should_response_with_400_...
[ "stsiwo@gmail.com" ]
stsiwo@gmail.com
825adaf12bd86b90c9eab39068698a70bb4a198e
433fe4a402a29737d580661ff23bbfe3b6b19729
/pyloom/worker.py
2eeba4ac84b2478359b1bc586833b8e0fe056404
[]
no_license
forgeries/PyLoom
082de65674039d5d315280215f7cf66335aa04dd
cf447ec3a22d7a9562bc55509f0246affe7b15aa
refs/heads/master
2021-10-27T03:04:02.710632
2019-04-15T15:57:38
2019-04-15T15:57:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,765
py
import redis import signal import traceback import threading import multiprocessing from . import buckets from .utils import * from .tasks import Task, execute from .scheduler import Spider, Queue logger = logging.getLogger("worker") def worker_process(redis_conf, spiders, threads, token_curr, token_new): """ ...
[ "ss@uutoto.com" ]
ss@uutoto.com
e190d58d3252c1adf559ac5037d33c99ebfaa92f
d007e87ae0e76035ddcb25959e74303c44fb2e5e
/test_openCV/cards/test_opencv_exposure.py
dbc41e72e090c64e8ed61a9b6ac463f38fc53b7d
[]
no_license
nju-luke/Test
a52ac1390c241d42a950a5eea1175771259e87ba
a70754e7cc619ab6363a35c5940efd5f82f78e6e
refs/heads/master
2020-07-12T22:56:02.517965
2017-09-28T06:31:15
2017-09-28T06:31:15
73,898,474
0
0
null
null
null
null
UTF-8
Python
false
false
983
py
# -*- coding: utf-8 -*- # @Time : 10/14/16 18:25 # @Author : Luke # @Software: PyCharm import cv2 import numpy as np import tflearn from matplotlib import pyplot as plt img1 = cv2.imread('11.jpg') img2 = cv2.imread('22.jpg') img3 = cv2.imread('33.jpg') cv2.imshow("fig1.1",img1) cv2.imshow("fig2.1",img2) cv2.imsho...
[ "nju.hyhb@gmail.com" ]
nju.hyhb@gmail.com
f8c398deeee8b69e7cadf5ddbcf2202196b38563
50d7b77d1185320cf4989d5a096a073531991cc0
/app.py
2b440b1fc7bb0615f31398fc8cd8239f80214e7e
[]
no_license
kashrocks/Market-Place-Backeng-API-Development
7380835351810a1970a9b8f9df4b2d6e971562a8
fdf1642210371c2254d1c0fd093fd6b3672bf5ff
refs/heads/master
2020-04-16T05:25:38.803466
2019-01-17T02:56:44
2019-01-17T02:56:44
165,304,464
1
0
null
null
null
null
UTF-8
Python
false
false
6,161
py
# Shopify 2019 Developer Challenge # Author: Kashyap Achar # Date: 2019-01-0-12 # Python Version: 3.7.2 # README available at https://github.com/kashrocks/Shopify-Developer-Challenge from flask import Flask, jsonify, request app = Flask(__name__) # global dictionary of shoes that customer will see all_sho...
[ "noreply@github.com" ]
kashrocks.noreply@github.com
69f4c17eca81e4e9cf3c95d9894745677f59a7b4
42a5277bb987a623489330187847356682a41783
/spec/part_spec.py
c88fbcdf150154104728318883abc52e09049142
[]
no_license
GestaoDeReuniao/gest-o-de-reuni-o
05d7bd1bb8014c77218589fbf344ba1ba0515102
9d1b8acfd1719866e7cbe766f94ab6b638c7ba1c
refs/heads/master
2021-01-19T07:24:30.293758
2014-03-11T22:55:52
2014-03-11T22:55:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
216
py
import unittest from should_dsl import should from part import Part class PartSpec(unittest.TestCase): def it_criar_part(self): part = Part('123') part.tempo |should| equal_to('123')
[ "thiagolessam@hotmail.com" ]
thiagolessam@hotmail.com
229bb954ad637b3c780475f96f2f202e84d0a4db
c8cf1bdacdbf6de75e61cc6a2ce8617479c19ec6
/test/mobile/test_bytecode.py
95baa86d5763e5e308c727fa87d6d77972080125
[ "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "BSL-1.0", "Apache-2.0", "BSD-2-Clause" ]
permissive
Afonso-2403/pytorch
7f5ddf8370de938045b4ec412b98bef9dfc193ed
e35e6237d24b6c96b122deb21f015c0fe3eccb13
refs/heads/master
2023-08-21T18:43:43.019194
2021-09-13T17:58:00
2021-09-13T17:58:00
363,847,561
1
0
NOASSERTION
2021-07-08T19:06:16
2021-05-03T07:16:49
C++
UTF-8
Python
false
false
13,355
py
import fnmatch import io import shutil import tempfile import torch import torch.utils.show_pickle # from torch.utils.mobile_optimizer import optimize_for_mobile from torch.jit.mobile import ( _load_for_lite_interpreter, _get_model_bytecode_version, _get_model_ops_and_info, _backport_for_mobile_to_buffe...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
3a1d2b7b1ca964b83fb27615d0d4a1acf3343435
dd512d0f5f217c40340d2c4a1a3b77ac047c286e
/venv/bin/pip3
5ff136764df2057a356e506cdd40fbeb570b5a40
[]
no_license
alexdemeo/RokuApp
b7256f67036ca6b6964a9d04c00731cd7bb62584
fb20ab3c571c4396d16f521a38b54ea6549512f0
refs/heads/master
2020-06-12T23:37:48.338812
2020-04-27T21:57:52
2020-04-27T21:57:52
194,462,636
0
0
null
null
null
null
UTF-8
Python
false
false
407
#!/Users/alexdemeo/Documents/Other/RokuApp/venv/bin/python # 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)?$', '', sys.argv[0]) ...
[ "alex.demeo129@gmail.com" ]
alex.demeo129@gmail.com
373835e7e99ec0d675171328272741ec1442da52
55f012626575008a5497b99e98c583996c75da55
/Permutations of a number.py
6c3384480fe51b110e345366944f3a3a66ddf9af
[]
no_license
nitish283/Python_Coding
15fa861779f2fe325cf3b2f532df9ee3c12e95a7
5b165ddebec7234e0f42ba3db2a70c3f6016b0f5
refs/heads/master
2022-12-13T06:27:54.385836
2020-09-07T09:28:36
2020-09-07T09:28:36
293,481,837
0
0
null
null
null
null
UTF-8
Python
false
false
593
py
import copy def perm(n): if(n==2): x=[[1,2],[2,1]] return(x) else: t=[] x=perm(n-1) b=copy.deepcopy(x) for i in range(len(x)): for j in ra...
[ "noreply@github.com" ]
nitish283.noreply@github.com
631f910181d17efb14583a50b22675b9e5c41974
2300b448e9c13fd39068a46a1062baa19acd3853
/day18/part2/main.py
1a8925840cf33420ff56b60937946ebe6ef0771f
[]
no_license
cryptable/adventcode2020
42764bc1a26ee5e242f2b267fd82ac2f2fb05b09
6a65ba00c93d92c627e7b71243faccee69f304a9
refs/heads/master
2023-02-05T22:42:53.641937
2020-12-26T15:19:53
2020-12-26T15:19:53
318,576,531
0
0
null
null
null
null
UTF-8
Python
false
false
5,900
py
# Vocabularia # statement : '(' <mul-expression> ')' | <number> # mul-expression : plus-expression ('*' plus-expression)* # plus-expression : statement ('+' statement)* # <operand> : '+' | '*' # <number> : [1-9][0-9]* class Token: def __init__(self, token, value): self.token = token self.value = v...
[ "david.tillemans@cryptable.org" ]
david.tillemans@cryptable.org
e74a21dbb2b0a860b6fb7b8cad7c50db9fe62cdb
4e3de79f0c1f49b64e53c368622ea540208c3c6b
/.ycm_extra_conf.py
b2e8bd91540ff5681fec730b42a1d3291e57f3db
[]
no_license
rappet/md5spoofer
7c8b41bb6e0af2728e5f1be5d40369db3fe850ed
b1903efe9b376eea02dda566278af69f5016fb34
refs/heads/master
2021-01-10T05:40:47.135184
2016-04-03T20:57:51
2016-04-03T20:57:51
55,368,698
0
0
null
null
null
null
UTF-8
Python
false
false
4,661
py
# Generated by YCM Generator at 2016-04-03 18:01:58.710140 # This file is NOT licensed under the GPLv3, which is the license for the rest # of YouCompleteMe. # # Here's the license text for this file: # # This is free and unencumbered software released into the public domain. # # Anyone is free to copy, modify, publis...
[ "raphael.r.peters@gmail.com" ]
raphael.r.peters@gmail.com
466373d76ca24cb2a34c4824c5097fc46feafc28
88cc55bc6e6feee2fa5f186d57ccb5e1d420217c
/django_websocket/__init__.py
6e4e96ace8d71052cc4fc96b0c8e0a06953e792e
[ "BSD-3-Clause" ]
permissive
gregmuellegger/django-websocket
7c16d3ba27970284b8fbeab5cecd1358d47373a2
cb4804e98f397f242e74c6f9e6f4fabab41a7ab7
refs/heads/master
2021-07-05T00:13:21.719973
2016-05-10T06:27:40
2016-05-10T06:27:40
773,121
68
19
BSD-3-Clause
2021-06-10T17:32:54
2010-07-13T19:40:14
Python
UTF-8
Python
false
false
42
py
from django_websocket.decorators import *
[ "gregor@muellegger.de" ]
gregor@muellegger.de
3f6d7ec8d6856734417c11a6e64dec45fb9e6067
ebf8541575709eaaf59515ee972f482b81499fe5
/app/repository/teams.py
124a6316a0c11641da1d33b3aacaeaeba3e3d745
[ "Apache-2.0" ]
permissive
maestro-server/data-app
d689411d2bad9991c8995439792929d894e053da
cde6479cc84fe410220b34742772d5017571e3d3
refs/heads/master
2023-07-15T05:50:50.199168
2021-10-15T17:12:32
2021-10-15T17:12:32
129,275,899
0
0
Apache-2.0
2023-07-11T01:13:44
2018-04-12T15:51:15
Python
UTF-8
Python
false
false
56
py
from .model import Model class Teams(Model): pass
[ "felipeklerk@yahoo.com.br" ]
felipeklerk@yahoo.com.br
78ba15feb70dfa3b47f3b5c30834f09806324425
ab0c5c2da1a98276df745e922ea9483360fa476b
/ex103.py
b9b02e595934d590697061a2da67d9f1b4631574
[]
no_license
edlorencetti/Python-3
7b18cf4ea434b864fb576bda83ab5fb13d5d703a
a66a197f4de2bfd8e197fbb5a4e6d2ed0a2dc05c
refs/heads/master
2022-09-11T12:22:54.711256
2020-05-29T13:23:28
2020-05-29T13:23:28
264,819,685
0
0
null
null
null
null
UTF-8
Python
false
false
282
py
def ficha(jog='<esconhecido>', gol=0): print(f'O jogador {jog} fez {gol} gol(s) no campeonato.') n = str(input("Nome do jogador: ")) g = str(input("Número de gol: ")) if g.isnumeric(): g = int(g) else: g = 0 if n.strip() == '': ficha(gol=g) else: ficha(n, g)
[ "edlorencetti@yahoo.com.br" ]
edlorencetti@yahoo.com.br
7bea582bb5ad2dd0f88b003d966aaf9fd502fe7c
17c6294e656703acb394b63e978fdf605746c3c3
/resume_scanner/wsgi.py
88964705e5997d10a6fb6fe6af6ff0509af8f9ed
[]
no_license
oraby8/resume_scanner
c0e2bd6cb1beb2870fc5816b3770d65d90825f6e
e3000e8f1bafdfd654b70e6cbb4d3ecaace98110
refs/heads/master
2023-07-11T05:59:03.372907
2019-11-04T11:10:07
2019-11-04T11:10:07
219,481,787
5
0
null
2023-07-06T21:49:43
2019-11-04T11:06:57
CSS
UTF-8
Python
false
false
497
py
""" WSGI config for resume_scanner project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/2.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application #from whitenoise.django impor...
[ "ahmedsamiroraby8@gmail.com" ]
ahmedsamiroraby8@gmail.com
09da46de08db8efd21ef86e80c0bd1b0bfa4641f
9e988c0dfbea15cd23a3de860cb0c88c3dcdbd97
/sdBs/AllRun/fbs_0140+360/sdB_FBS_0140+360_lc.py
757218cb78912bdc16ba760e680f6cef9c974b74
[]
no_license
tboudreaux/SummerSTScICode
73b2e5839b10c0bf733808f4316d34be91c5a3bd
4dd1ffbb09e0a599257d21872f9d62b5420028b0
refs/heads/master
2021-01-20T18:07:44.723496
2016-08-08T16:49:53
2016-08-08T16:49:53
65,221,159
0
0
null
null
null
null
UTF-8
Python
false
false
346
py
from gPhoton.gAperture import gAperture def main(): gAperture(band="NUV", skypos=[25.926708,36.25925], stepsz=30., csvfile="/data2/fleming/GPHOTON_OUTPU/LIGHTCURVES/sdBs/sdB_FBS_0140+360 /sdB_FBS_0140+360_lc.csv", maxgap=1000., overwrite=True, radius=0.00555556, annulus=[0.005972227,0.0103888972], verbose=3) if __name...
[ "thomas@boudreauxmail.com" ]
thomas@boudreauxmail.com
51149a9b0f94c7ee80090fabec79d37acd1ca528
b1b495eb9cd761ed4a968828b62ef8b12888990b
/Network/data_loader.py
df1c344c71328e347e02e9ba94b85427d2801319
[]
no_license
liuwenhaha/LungNoduleRetrieval
7aaaa79eac22dbd93efd2599d69777e34d7e2c9d
49ae736ae0410f5869559d7eaa4399872ff9c00b
refs/heads/master
2020-06-21T04:22:11.886122
2019-05-08T19:22:52
2019-05-08T19:22:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,306
py
import pickle import numpy as np from functools import partial, reduce from skimage import transform from config import dataset_dir as input_dir, pred_as_dataset_dir, output_dir, local from config import input_dir as in_dir from Network.FileManager import Dataset, Dataset3d, DatasetFromPredication from experiments impo...
[ "Mark.Loyman@gmail.com" ]
Mark.Loyman@gmail.com
c3be66df4769ed5c17fa2bf6be33d73e1d59c8c9
cacea9e8c9261717e8ce0b404f16a2ff2d7782e1
/train_conditional.py
2a4e6c9ef745b276dada7de8a523b615cf43526b
[ "MIT" ]
permissive
vislearn/HINT
6fc583bdff80d93a669535f42d7a54f4f05f483b
b26c5026bd486bb392a9416430cb1dfebe5aa06f
refs/heads/master
2023-03-07T03:01:11.791414
2021-02-11T11:49:40
2021-02-11T11:49:40
248,197,267
1
0
null
null
null
null
UTF-8
Python
false
false
7,707
py
from time import time import torch from FrEIA.framework import * from FrEIA.modules import * import monitoring # Load training configuration, model and data set # from configs.fourier_curve.conditional_cinn_1 import c, model, model_inverse # from configs.fourier_curve.conditional_cinn_2 import c, model, model_inve...
[ "jakob.kruse@iwr.uni-heidelberg.de" ]
jakob.kruse@iwr.uni-heidelberg.de
32bdc9074cfc1034329d665841a417491497b35a
d45d9111e4e5736c7bb7eebef27bfef7bc27b3b8
/projects/Python/proto/enums.py
c516eda6a82699c787794c1584339b5707d5c4a1
[ "MIT" ]
permissive
museghost/FastBinaryEncoding
0c0b4b4d6ae1004f13810fd1db0bb761116106cf
7e8425552d4c42cd78162dbe0dedab796808ae78
refs/heads/master
2023-01-02T08:47:52.223902
2020-10-16T10:53:09
2020-10-16T10:53:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
176,545
py
# Automatically generated by the Fast Binary Encoding compiler, do not modify! # https://github.com/chronoxor/FastBinaryEncoding # Source: enums.fbe # Version: 1.4.0.0 import base64 import decimal import enum import functools import json import sys import uuid import fbe class EnumByte(enum.IntEnum, metaclass=fbe.D...
[ "chronoxor@gmail.com" ]
chronoxor@gmail.com
269e62c46fbf46b0860106a026daa1e57e7d2698
d0c8170d1189cb7b6914b7d37d672531f0992f66
/week 1/Hackerrank/mutations.py
c4801b73718913dceb3d0bd5369cb1e362db4450
[]
no_license
shynaraaya/BFDjango
3c459e45a8c253144783416e06f7fdd43e44ceef
dd26cc6f21619c260fda05d46f22ff69bce09f82
refs/heads/master
2021-09-25T15:33:29.148280
2020-04-20T02:26:02
2020-04-20T02:26:02
234,970,186
0
0
null
2021-09-22T18:31:24
2020-01-19T21:23:50
Python
UTF-8
Python
false
false
259
py
def mutate_string(string, position, character): res = string[:position] + character + string[position+1:] return res if __name__ == '__main__': s = raw_input() i, c = raw_input().split() s_new = mutate_string(s, int(i), c) print s_new
[ "ayanbekshynar@gmail.com" ]
ayanbekshynar@gmail.com
266c418c43ab368672a7149e70538c0e807b5f91
8c6fa70bae915c70268c1180281b2b6d78399ce4
/venv/Scripts/easy_install-3.6-script.py
c653fcfbb7ae0fe3c591da67ededb234868bfb59
[]
no_license
cha-n/PG
6aad26fe32521e4713c0b0828b1365da7dcd1613
681051fff24f37302c2bba2f4614dc07386b3f89
refs/heads/master
2022-11-18T14:34:58.439384
2020-07-03T07:30:41
2020-07-03T07:30:41
276,623,082
0
0
null
null
null
null
UTF-8
Python
false
false
451
py
#!C:\Users\JCY\PycharmProjects\PG\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==39.1.0','console_scripts','easy_install-3.6' __requires__ = 'setuptools==39.1.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe...
[ "chan01115@naver.com" ]
chan01115@naver.com
a6269498158572202304da939470fc4fdd2e3b1f
060ce17de7b5cdbd5f7064d1fceb4ded17a23649
/fn_github/tests/test_releases.py
afd754d1f6b234e0108ff323b9fb987cfd825a66
[ "MIT" ]
permissive
ibmresilient/resilient-community-apps
74bbd770062a22801cef585d4415c29cbb4d34e2
6878c78b94eeca407998a41ce8db2cc00f2b6758
refs/heads/main
2023-06-26T20:47:15.059297
2023-06-23T16:33:58
2023-06-23T16:33:58
101,410,006
81
107
MIT
2023-03-29T20:40:31
2017-08-25T14:07:33
Python
UTF-8
Python
false
false
4,464
py
# -*- coding: utf-8 -*- """Tests using pytest_resilient_circuits""" import pytest from .common_config import github_config, TS from resilient_circuits.util import get_config_data, get_function_definition from resilient_circuits import SubmitTestFunction, FunctionResult PACKAGE_NAME = "fn_github" FUNCTION_NAME = "gith...
[ "travis@example.org" ]
travis@example.org
dae2ef9510eb7658c02a8bec10863d09063de120
75e5600bcd545b36b0c70700e947c9714569d305
/manyActualparameters.py
ed6fa7e38812b20666ce9b9a4ac61c6530df91bf
[]
no_license
CandyZ93/Python_Work
5f720c5b644aef1198c0ad785697f88997ff98b7
33c673e4235e103ed6cbad5a40d884524e3d3bd3
refs/heads/master
2021-05-06T13:35:54.272085
2017-12-06T04:56:53
2017-12-06T04:56:53
113,270,347
0
0
null
null
null
null
UTF-8
Python
false
false
1,956
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # #many actual parameters ''' def make_pizza(size, *toppings): """print all the topping""" print("\nMaking a " + str(size) + "-inch pizza with the following toppings:") for topping in toppings: print("- " + topping) make_pizza(16,'pepperoni') make_piz...
[ "lance.z1993@outlook.com" ]
lance.z1993@outlook.com
0f923332d74ab03086681ff9097adf5ed4fd7603
70ec704fdd3e30c5df97323cd4c9532ebfd544ea
/ml_wiki/ch2/selenium-login.py
d53a91bf593dc64f47bd9b445885c8954f53b454
[]
no_license
smart1004/learn_src
e02c13c82bae65b7de2a572e4a1ae58e2ea11588
353f92f7657a6f676a271d8d7f00d7c20e39d234
refs/heads/master
2021-01-25T11:49:49.906805
2018-04-08T13:26:18
2018-04-08T13:26:18
123,435,997
3
0
null
null
null
null
UTF-8
Python
false
false
1,073
py
from selenium import webdriver USER = "<아이디>" PASS = "<비밀번호>" # PhantomJS 드라이버 추출하기 --- (※1) browser = webdriver.PhantomJS() browser.implicitly_wait(3) # 로그인 페이지에 접근하기 --- (※2) url_login = "https://nid.naver.com/nidlogin.login" browser.get(url_login) print("로그인 페이지에 접근합니다.") # 텍스트 박스에 아이디와 비밀번호 입력하기 --- (※3) ...
[ "kusung25@naver.com" ]
kusung25@naver.com
8ee7f264c8f5e86b5c66a93f520750a34ee73f7b
cab0673e71c6294103d8c2b57b25081dd3e0fb24
/model/ActiveLearning.py
65fb987633c3c138151765856e2ffa99419d6e06
[]
no_license
akassara/Bayesian-Active-Learning
236873c9c93b04494a01facc1791a36d26bdd07b
b5b8b912dbe83271eeee2226ab36ae986c361d11
refs/heads/main
2023-01-18T23:20:43.009164
2020-11-23T16:09:01
2020-11-23T16:09:01
314,571,081
1
0
null
null
null
null
UTF-8
Python
false
false
4,043
py
import numpy as np from utils.train_utils import to_var, to_numpy, train_model import torch from utils.Preprocessing import FashionDataset, complex_preprocess from model.BayesianCNN import BayesianCNN if torch.cuda.is_available(): device = 'cuda' else: device = 'cpu' def select_from_pool(model, D_train, N, nb...
[ "kassara.amyn@gmail.com" ]
kassara.amyn@gmail.com
5bd1ccd8e4f231ed43f68842d8cd667f6c5ea565
9b2d05c7d759e9c8f7e2bf817088b8943402ef15
/itdiscovery.py
c7868ebf2001c8e7bd56450250a404f598d02754
[]
no_license
zipi85/AWL
9c3f54483d5899177770668a8e970ec16eadb91a
ea2592e68bc0d2cd25102616d4719e4d1283b936
refs/heads/master
2021-01-25T08:13:19.623508
2017-06-19T20:02:50
2017-06-19T20:02:50
93,733,338
0
0
null
null
null
null
UTF-8
Python
false
false
1,852
py
from fabric.api import task, hide, sudo import fabric.contrib.files from fabric.contrib.files import exists, contains, append, first, sed @task() def update(): """update itdiscovery""" with hide('stdout', 'stderr'): sudo('yum -y update itdiscovery --enablerepo=awl-main,epel') @task() def remove_pci_optio...
[ "dariusz.noga@atos.net" ]
dariusz.noga@atos.net
f7242ea788b8b591ac5ace6f519661bc61723bd8
8012340a24e3b367ca0c536f6d0a2646587f6319
/project/app/models.py
b5417cb2281985735e0f04bd95d7b8ccc82a2bec
[]
no_license
urvisuthar85/drc_project
f175ab707b5f32ab0bd22dd6127f4b1df9c29c23
2469692b140fe0eb547af8e4744e96dd216ce7ff
refs/heads/master
2023-01-02T00:18:57.554134
2020-10-25T18:07:15
2020-10-25T18:07:15
307,160,459
0
0
null
null
null
null
UTF-8
Python
false
false
349
py
from django.db import models # Create your models here. class User(models.Model): username = models.CharField(max_length=255) phone = models.IntegerField() email = models.EmailField(max_length=255,unique=True) password = models.CharField(max_length=20) def __str__(self): return self.username # from django.co...
[ "urvashicitrusbug@gmail.com" ]
urvashicitrusbug@gmail.com
38459d585c7f1861e8774c7571859a85236be08b
6515a47190986c4f3b6beececfabab42e3d34e34
/Models/GPT2_Model/Model/GPT2LMHead.py
7f0304b3b13ce6e44e8c037aec7823bb34427b7e
[]
no_license
jk96491/Advanced_Models
f4140936f5004ed9a9464ad745b33e52d63157fa
cde49356fec3c53296446a54f4be497a89dd08cd
refs/heads/master
2023-06-14T02:26:43.869417
2021-06-30T13:07:31
2021-06-30T13:07:31
143,489,382
60
16
null
null
null
null
UTF-8
Python
false
false
782
py
import torch.nn as nn class GPT2LMHead(nn.Module): def __init__(self, model_embeddings_weights, config): super(GPT2LMHead, self).__init__() self.n_embd = config.n_embd self.set_embeddings_weights(model_embeddings_weights) def set_embeddings_weights(self, model_embeddings_weig...
[ "jk96491@naver.com" ]
jk96491@naver.com
40e508f888e6e5ccfdc610d006a27e1b0da0f9c1
713ffaf6b0633cb217cff7297799f2c29a75d8ba
/main/settings.py
51d07ae0663ee131c1dbd75e3096fb7df021033a
[]
no_license
Dora72/surveyForm
15398fd84856c23704b18e60e7dae8bee878a3c1
1b4cfaf0a1cc57e64c32728cd95f7a6badb10c2a
refs/heads/master
2021-01-23T02:19:20.013812
2017-03-23T18:48:51
2017-03-23T18:48:51
85,985,213
0
0
null
null
null
null
UTF-8
Python
false
false
3,113
py
""" Django settings for main project. Generated by 'django-admin startproject' using Django 1.10.6. For more information on this file, see https://docs.djangoproject.com/en/1.10/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.10/ref/settings/ """ import os #...
[ "dorineazmy@gmail.com" ]
dorineazmy@gmail.com
1e236e30d75c559339f1261b732a9a70d9df7122
35053a371d85c2d45a4f52239d8a70b38194ef48
/Can Place Flowers.py
86bf8aeeb427181d1fe805cbf5b1d1bcb364a643
[]
no_license
Kuehar/LeetCode
51d169c81a2e572ea854399fc78e1130220388f9
4555c20455f181f9dd7b3aba2a8779dea795edfb
refs/heads/master
2023-04-16T10:13:03.584541
2023-04-06T11:47:21
2023-04-06T11:47:21
243,361,421
4
0
null
null
null
null
UTF-8
Python
false
false
930
py
class Solution: def canPlaceFlowers(self, flowerbed: List[int], n: int) -> bool: if n == 0: return True if len(flowerbed) == 0: return False if len(flowerbed) == 1: return flowerbed[0] == 0 pre,cur = flowerbed[0],flowerbed[1] if pre + cur == 0: flower...
[ "noreply@github.com" ]
Kuehar.noreply@github.com
9ae92d30735a63f876e54362e26dba76ae2b811a
b73dbd5810be0ee54143a9f1a58f1f662fb6063b
/polls/tests.py
15c916d5d65908e20dd6f0c1fccf497f9f87c77e
[]
no_license
wataruxun/LearnDjango
030c380ec3f5e810dac24ca43cd096668164495a
ba604c0b04fa4d2968f035421609dc65ab4e3344
refs/heads/master
2022-01-29T18:50:35.255105
2019-05-06T01:54:52
2019-05-06T01:54:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,889
py
import datetime from django.test import TestCase from django.utils import timezone from django.urls import reverse from .models import Question # Create your tests here. class QuestionModelTests(TestCase): """ was_published_recently() returns False for questions whose pub_date is in the future """ ...
[ "mikoto.toaru@gmail.com" ]
mikoto.toaru@gmail.com
2e79679ebdc6ebb91b85f95ac5bccc7866b865ab
ace30d0a4b1452171123c46eb0f917e106a70225
/filesystems/vnx_rootfs_lxc_ubuntu64-16.04-v025-openstack-compute/rootfs/usr/lib/python2.7/dist-packages/openstackclient/tests/functional/image/v2/test_image.py
6faff94a3295cd738875bfb8fda2baf1ac162efb
[ "Python-2.0" ]
permissive
juancarlosdiaztorres/Ansible-OpenStack
e98aa8c1c59b0c0040c05df292964520dd796f71
c01951b33e278de9e769c2d0609c0be61d2cb26b
refs/heads/master
2022-11-21T18:08:21.948330
2018-10-15T11:39:20
2018-10-15T11:39:20
152,568,204
0
3
null
2022-11-19T17:38:49
2018-10-11T09:45:48
Python
UTF-8
Python
false
false
3,865
py
# 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 agreed to in writing, software # d...
[ "jcdiaztorres96@gmail.com" ]
jcdiaztorres96@gmail.com
b40a347f034798cd207d5819205c875aa7fb8bdb
0c8b1eedb2f3c5b7aa5fddfe902174d68a5ba40d
/array/using python/kadane.py
a5de2ad2e54f972bdefd2b4464f1a55c32e05286
[]
no_license
vibhav21/must_do_coding_ques
4838619fb42935fdc5816c159a440e8cee1a5e29
3b6d59868fb7da3f7cb09c4a9449729892ddf16b
refs/heads/master
2020-04-28T06:04:02.888082
2019-07-24T15:06:55
2019-07-24T15:06:55
175,043,273
0
0
null
null
null
null
UTF-8
Python
false
false
414
py
# -*- coding: utf-8 -*- """ Created on Wed Feb 13 20:09:09 2019 @author: Vaibhav """ arr=[] a=int(input()) while(a): max_s=-32000 max_t=0 size=int(input()) arr=list(map(int,input().split())) for i in range(size): max_t=max_t+arr[i] if(max_s<max_t): max_s=max_t ...
[ "vaibhavchat1@gmail.com" ]
vaibhavchat1@gmail.com
e806e3218cd8bc55131bce1e7d166c76ad1ec718
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03288/s779086883.py
309d8d3ea1e3ed5219effec5418e8a99e6125de3
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
64
py
r=int(input()) print("ABC"if r<1200else"ARC"if r<2800else"AGC")
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
2c9513597922cdf544f8ece8671ae067d202e958
1e888f58fce5356b556a8a68562f6fcc19baad8a
/publish_handler.py
29ca024c425f530ff0a40e7d7e91545bbc0edc8e
[]
no_license
carcigenicate/song-searcher
1cded140c7609b7d5e58f64f15d02db02f3ff4c4
acd0c322e17e1635d2974735e7b29ac62adb3e75
refs/heads/master
2023-04-14T02:11:31.907739
2021-04-25T14:44:00
2021-04-25T14:44:00
358,049,145
6
0
null
null
null
null
UTF-8
Python
false
false
1,774
py
import json import logging import ssl from paho.mqtt import MQTTException from paho.mqtt.publish import single as publish_single import common as comm from simple_handlers import bad_request_handler from broker_config import Config REQUEST_PARAMETER = "yid" CONFIG_PATH = "./broker.cfg" CONFIG = Config.from_file(CO...
[ "brendon@localhost.localdomain" ]
brendon@localhost.localdomain
7078a2ddc9cf33c2fc31c6ca289eae0fe39c85e5
829b1d2661e9fead0f4ac1397129a62e50184683
/src/runGdEval.py
38d4cee47278954b0f451ae6322eeb9257ac3ce1
[]
no_license
vmanisha/tasks_track_evaluation
6366bd325b8d274c1f2404c6c425dd67ff1d1fa3
c79c4925a608c33433d11019d10f708c5950b8df
refs/heads/master
2021-07-11T03:06:13.287375
2017-10-12T20:18:03
2017-10-12T20:18:03
106,740,749
0
0
null
null
null
null
UTF-8
Python
false
false
3,143
py
import os import argparse as ap import sys import pandas as pd def RunNdEval(qrelFile,runFolder, outFolder): docTopics= range(1,51) # used for 2015: [1, 2 ,3 ,4 ,5 ,6 ,7, 8, 9, 11, 12, 14 ,15 ,16, 17 ,18 ,19 ,20, 21, 22, 23, 24, 25, 26, 28, 29, 31, 32, 34, 35, 36, 37, 42, 43, 50] commandString = 'perl ./e...
[ "manishav@yahoo-inc.com" ]
manishav@yahoo-inc.com
cfe76fa70009f31c4fa505c0f592be700b7e4c89
9a056a03487a7594a4c2379282638ca22a585670
/resources/libs/notify.py
ce6a6e0c01f69675483fecf057557ec2fa21eb53
[]
no_license
leosupreme/plugin.program.ghost.wizard-1.0.0
d67d2d77c74f29cb50b27a1f010ee77cd1c6c892
6505cc6f7718598ece7e1005ff1252a1a26723b2
refs/heads/master
2022-10-06T11:40:17.414864
2020-06-11T12:15:26
2020-06-11T12:15:26
271,537,300
0
0
null
null
null
null
UTF-8
Python
false
false
43,867
py
############################################################################ # /T /I # # / |/ | .-~/ # # T\ Y I |/ / _ # # /T...
[ "LeoNguena@gmail.com" ]
LeoNguena@gmail.com
3b4876337161a3823dec9d8ca32ffca1ec5482ca
013444f1d7030f9bbe56240cb695e12b8cf71e18
/tests/conftest.py
e4e01bfc4ea668329cb14fae5617a196d32070e5
[ "MIT" ]
permissive
caperea/django-admin-resumable-js
63feb8fd84d02d6d4bf9f74104c6b1dbbdbab373
3dbd8e46dd3558180525d861811881ad9966e2a3
refs/heads/master
2020-12-25T09:48:03.162724
2015-08-29T08:27:14
2015-08-29T08:27:14
41,584,547
0
0
null
2015-08-29T07:18:42
2015-08-29T07:18:41
null
UTF-8
Python
false
false
2,089
py
import pytest import os from selenium import webdriver browsers = { 'firefox': webdriver.Firefox, #'chrome': webdriver.Chrome, } @pytest.fixture(scope='session', params=browsers.keys()) def driver(request): if 'DISPLAY' not in os.environ: pytest.skip('Test requires display server ...
[ "jonath4n@gmail.com" ]
jonath4n@gmail.com
159cad8ebc54a5a356612b41ee281288113cfa71
6df44f3f9660cf63f64cf31af98fa96c23d55bdc
/venv/bin/flask
e4023bf9e1b6ed60f4b570ff42d0ffc45fa02c1f
[]
no_license
ethanchewy/FriendOrNot
82a9c8bda2e70e8e692d5c1aae1869a9cfcb6ae3
3aeb8e7b2a5481cad391767daf5eb0ffd20f1b04
refs/heads/master
2021-01-11T18:45:16.496180
2017-02-23T20:22:35
2017-02-23T20:22:35
79,618,551
2
3
null
null
null
null
UTF-8
Python
false
false
233
#!/home/ethanc/pennapps/venv/bin/python # -*- coding: utf-8 -*- import re import sys from flask.cli import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "17chiue@gmail.com" ]
17chiue@gmail.com
4fe46a3e69863bca6e98c1cb6ab5c17fd36f8261
5c531de5e4759c904e608b4fc653b2b041f79a0e
/779. K-th Symbol in Grammar.py
06e46cf683b3f090a9b595db7b7a9fd6675029aa
[]
no_license
jianhui-ben/leetcode_python
133c7e6e5c7316d00607ba2e327239e002de28b2
fcc16124cc24a5993e27f5d97e78d8f290e68230
refs/heads/master
2022-06-05T22:32:18.034581
2022-05-17T02:27:11
2022-05-17T02:27:11
250,683,308
0
0
null
null
null
null
UTF-8
Python
false
false
728
py
#779. K-th Symbol in Grammar #On the first row, we write a 0. Now in every subsequent row, we look at the previous row and replace each occurrence of 0 with 01, and each occurrence of 1 with 10. #Given row N and index K, return the K-th indexed symbol in row N. (The values of K are 1-indexed.) (1 indexed). #Examples:...
[ "jianhui.ben@gmail.com" ]
jianhui.ben@gmail.com
2c5c74923e47610c9a47e37607a43702de94c859
37260ad04c3a965014cd95d6b1bc81e3c3822068
/SoundSpeedPrediction/load_weights.py
ee4657c0b8252490221406ec3727e94dcb737e58
[]
no_license
MarineBioAcousticsRC/ShipNoise
db17c330a7892c0eca57cd3377a3751844f7c3a9
07d3ccfdeef09e4a8609b9bbbc4f4d2097eb70f5
refs/heads/master
2022-11-27T13:36:17.284376
2021-12-10T19:54:25
2021-12-10T19:54:25
196,640,839
2
1
null
null
null
null
UTF-8
Python
false
false
2,716
py
from keras.models import load_model import data_gen_mixed_stand as pd import numpy as np import ML_data_collection as dc import model_gen as mg from keras.models import Model from keras.layers import Input, Dense, Dropout, Activation,Flatten from keras.layers import concatenate from keras.utils import np_utils import ...
[ "kfrasier@users.noreply.github.com" ]
kfrasier@users.noreply.github.com
d5956bba85c35f02ea953943898e93b84a8d93c3
dee95af958bde1937d47646c706f815450023d3c
/maya-tools/shelf/scripts/reload_scripts.py
ac50bd9996f619e38a18925a2c91b83390122722
[]
no_license
tws0002/byu-pipeline-tools
4e06556033ea3b4a0d4f2d792ae7962300b689a8
076b3f461a7dc239ca7919ed99dbcd212fdfe061
refs/heads/master
2020-03-16T00:24:22.763033
2018-05-03T01:44:24
2018-05-03T01:44:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
801
py
import maya.cmds as mc import alembic_static_exporter import alembic_exporter import reference_selection import alembic_tagger import alembic_untagger import checkout import new_body import playblast import publish import rollback import fk_ik_snapping import cluster_interpolate import reference import reload_scripts i...
[ "benjamin.demann@gmail.com" ]
benjamin.demann@gmail.com
f92340c5080f725a48b938b510a93a68ecd76fca
d1b0f7ba2f23a12dbc3aac6f8e54c646d8c18b95
/myprofileApp/urls.py
8493915c8364881266798bc5ac8aa51eb7db35a7
[]
no_license
Oliver-CodeRepo/Oliver-Mulaku-Profile
f81a0e790913e4499616681309d5389f5c4ba60d
47e500bf1ad766e7e1fd7dff58e15f0a48192702
refs/heads/master
2023-03-01T04:28:55.536207
2021-02-05T16:32:17
2021-02-05T16:32:17
331,657,275
0
0
null
null
null
null
UTF-8
Python
false
false
169
py
from django.urls import path from . import views urlpatterns = [ path('', views.homePage, name='home'), path('my-resume/', views.downloadFile, name='resume') ]
[ "sinyorr.mi@gmail.com" ]
sinyorr.mi@gmail.com
786ebda7175d2b93a3367c33edc52cf774294e06
8ac3ef229436abdb2a9ae4c428ab1f62148897a3
/Vijay_Sir/28-04-2021/Constructor_Override.py
f0c5d291738df6cb877b0b0dbf8d4bd883e2963c
[]
no_license
udayreddy026/pdemo_Python
358e01cf6599e1bea3f787e6dfae2d039ee66668
6b7272fe205053141ed273ae70beb4358a4071f2
refs/heads/main
2023-05-01T04:33:40.558187
2021-05-14T07:06:20
2021-05-14T07:06:20
349,928,315
0
0
null
null
null
null
UTF-8
Python
false
false
407
py
class Example: def __init__(self): self.a = 'Sting Instance Variable' class Ex: def __init__(self): super(Ex, self).__init__() self.b = 'Second Class Instance Variable' class Ex1(Ex, Example): def __init__(self): super(Ex1, self).__init__() self.c = 'Ex1 Class Ins...
[ "udayreddy026gmail.com" ]
udayreddy026gmail.com
04358d64c0ac30747ca35d7106ea8a5cbd6927be
be1fe1f60420c76bce5ffe71795bb5e7930d3771
/Algorithm_Specialization_Course3/Assignment2/clusteringBig.py
6615eb376b62141768d953f06d113ec12dd47f75
[]
no_license
MagnIeeT/AlgorithmSpecializationStanford
b37c2a103835ef8abae1675b3c82080d7b6c31d3
d18167fc3a08614ec4a5b3ddb73328e39d9c40fb
refs/heads/master
2021-09-04T10:02:37.361788
2018-01-17T18:56:56
2018-01-17T18:56:56
114,814,492
2
0
null
null
null
null
UTF-8
Python
false
false
1,734
py
# -*- coding: utf-8 -*- """ Created on Fri Jan 05 22:48:14 2018 @author: Neeraj Agrawal """ from unionFind import UnionFind def graph(): with open("clustering_big.txt", 'r') as f: data = f.readlines() numberNodes = int(data[0].split()[0]) vertexlist =[] for line...
[ "Neeraj.Agrawal@Honeywell.com" ]
Neeraj.Agrawal@Honeywell.com
95173e69d72af810e8c4a7049b2ec3ff78a41093
8956d5b5c519b2c30e9ba83f8456ec7448cd00a3
/Ch02 kNN/kNN_sklearn.py
5cda4eec993e7d869b298a4626987f14b6d5b043
[]
no_license
zhsama/ml_in_action
1f03da846fffa9011d92881fa78fcf498e36e150
e0b6af6b9ad1f322c3b1161930299a3338e921f9
refs/heads/master
2020-04-09T23:16:57.240355
2018-12-24T13:39:31
2018-12-24T13:39:31
160,652,161
0
0
null
null
null
null
UTF-8
Python
false
false
2,027
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 2018/12/7 15:43 # @Author : zhcf1ess # @Site : # @File : kNN_sklearn.py # @Software: PyCharm print(__doc__) import numpy as np import matplotlib.pyplot as plt from matplotlib.colors import ListedColormap from sklearn import neighbors, datasets n_neigh...
[ "939020488@qq.com" ]
939020488@qq.com
aa2a15e47cf92dff5ccf95452ce98b39fcdab1e3
edd0b7ecc93778832965f428cc591d8ee517be27
/pymoviedb/excs/__init__.py
34f031c1b0adb10f5328b554b135287ef181f7dd
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
SensiPeeps/PyMovieDB
035a90f9550ab80b6adccc335c350de5da707580
1686b267399bcfc8dfe8119fb67b90142f6a878c
refs/heads/master
2023-02-25T06:56:08.033303
2021-01-30T05:16:44
2021-01-30T05:16:44
293,163,066
3
1
null
null
null
null
UTF-8
Python
false
false
311
py
class PyMovieDBError(Exception): """ Base class for all PyMovieDB errors """ class TmdbApiError(PyMovieDBError): """ raised when API response is not `OK 200` """ class ZeroResultsFound(PyMovieDBError): """ raised when zero results are found against search query. """
[ "starry369126@outlook.com" ]
starry369126@outlook.com
781153323d66fcb4c682d3c1a289b8abfdd599a0
b2db5765f567177d17b27163f6f17f1c32a1f275
/working on text data/cleaning_regency.py
ecb547dc86fb1d8dbf9203acbd2386ad74341820
[]
no_license
udaykumar156/ML_codes
35ca95c3ebe29477e67ad3e4ece15b09c18b6779
e8f7edd0a8362ec6625ae79a1c43247845b3a78b
refs/heads/master
2021-01-19T20:22:56.819949
2017-11-04T06:03:16
2017-11-04T06:03:16
88,501,414
0
1
null
2018-02-08T09:50:19
2017-04-17T11:21:54
Jupyter Notebook
UTF-8
Python
false
false
2,840
py
import pandas as pd import numpy as np from sqlalchemy import create_engine engine = create_engine('#######################################') reg = pd.read_sql_table(table_name='regency_final', con=engine) reg.fillna(np.nan, inplace=True) reg.replace('None', np.nan, inplace=True) reg.replace(' ', np.nan, inplace=True) ...
[ "noreply@github.com" ]
udaykumar156.noreply@github.com
5adf7e2ecf8e0908041fd9b472f7833397d98c44
e990606b3db8429e87f9a0a5a10e3c10b17ae13b
/data_proc/wordpiece/mlperf_tags.py
88313a6ba9df4bb9205a4755d963ed60a5c9aa46
[]
no_license
michael-wzhu/redesign_vocab_for_zh_bert
4c9ae36295815ea58cfb34d4f46ac2ace097861f
4e7e72e8f4554feebba6ae2f553a5240e5bedcd4
refs/heads/master
2022-12-16T17:41:09.704451
2020-09-26T12:06:35
2020-09-26T12:06:35
274,569,222
1
0
null
null
null
null
UTF-8
Python
false
false
12,882
py
# coding=utf-8 # Copyright 2020 The Tensor2Tensor Authors. # # 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...
[ "michael_wzhu91@163.com" ]
michael_wzhu91@163.com
618b5d6a7e123ec702bb14cb6cac13e2bdf14346
1c859d75ef777168d111f6dc7e5aa51d89d3028f
/chat/mainmenu/views.py
8334f1269cd140ef11354c3ea2c71e95d91dda41
[]
no_license
Alex-proktor/Chat
ae8e34c2cccc2a687742e784f79413b96bbe3c4b
f561cfa308fdded6cdadf77316be905bd7b94495
refs/heads/master
2021-04-27T19:41:43.692910
2018-03-03T15:42:42
2018-03-03T15:42:42
122,362,739
0
0
null
null
null
null
UTF-8
Python
false
false
199
py
from django.shortcuts import render from django.contrib import auth def index(request): username = "Bob" return render(request, 'chat.html', {'username': auth.get_user(request).username})
[ "a.ivanov@dunice.net" ]
a.ivanov@dunice.net
1082ace705179dde53219daae2a8d6cf3f9c2bba
bf25e2478d11132ea4db03c4b8e12180dd72b39a
/reviewweb/urls.py
6b528d4606635fb1e55ffc279c25006000fdc78c
[]
no_license
hassanito/reviewweb
0892d6d444e93e88daabaa2289b7a1c8a8e69deb
3233299f0570f60ef0a1d321e56d19104900ceac
refs/heads/master
2020-06-25T13:54:27.716798
2019-09-09T21:09:13
2019-09-09T21:09:13
199,328,513
0
0
null
null
null
null
UTF-8
Python
false
false
1,689
py
"""reviewweb URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.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-bas...
[ "1Aa_12345" ]
1Aa_12345
94171e19440d59601861aee4f580b056a82ba31e
104085f6878411a137521b17c06612e5f648ef33
/service_pro/service_pro/doctype/agent_payment_request/agent_payment_request_dashboard.py
bf5bad55f86a6116faab28263273e7b0828fce28
[ "MIT" ]
permissive
ksbbalean/service-pro
d39f0d12977dd66627b9f7c0336c605d7be4c388
c89b39a8e9967dada50dc0db4b08460ed45843bf
refs/heads/master
2023-04-13T05:35:19.842021
2021-04-22T11:05:18
2021-04-22T11:05:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
188
py
from frappe import _ def get_data(): return { 'fieldname': 'agent_payment_request', 'transactions': [ { 'label': _('Linked Forms'), 'items': ["Journal Entry"] } ] }
[ "jangeles@bai.ph" ]
jangeles@bai.ph
600d648aef968fa6d9aaf3ddd8d410059382df4b
65f856bb3c782fe2fec794192260d5b7aa997ef3
/wsc_django/wsc_django/apps/shop/services.py
0a53f3c8e183bdcaeeefad41252f7a5440069671
[ "MIT" ]
permissive
hzh595395786/wsc_django
0c8faf0cac1d8db8d9e3fa22f6914b6b64bf788b
c0a4de1a4479fe83f36108c1fdd4d68d18348b8d
refs/heads/main
2023-06-06T07:26:17.979944
2021-06-24T13:14:53
2021-06-24T13:14:53
336,303,377
2
0
null
null
null
null
UTF-8
Python
false
false
4,909
py
from uuid import uuid4 from django.db.models import Count from product.constant import ProductStatus from shop.models import Shop, HistoryRealName, ShopRejectReason, PayChannel from shop.utils import get_shop_mini_program_qcode, put_qcode_file_to_tencent_cos from user.models import User from shop.constant import ( ...
[ "595395786@qq.com" ]
595395786@qq.com
6e0eaa8412f98de3cb193a1d8b771c2ac490c3db
2e682fd72e3feaa70e3f7bf2a3b83c50d783ec02
/PyTorch/dev/cv/image_classification/SimplePose_ID1038_for_PyTorch/parallel_encoding/paralle.py
22a4742535a0677b59076b72a684e6b7562466f4
[ "BSD-3-Clause", "Apache-2.0", "BSD-2-Clause", "MIT", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-unknown-license-reference", "GPL-1.0-or-later" ]
permissive
Ascend/ModelZoo-PyTorch
4c89414b9e2582cef9926d4670108a090c839d2d
92acc188d3a0f634de58463b6676e70df83ef808
refs/heads/master
2023-07-19T12:40:00.512853
2023-07-17T02:48:18
2023-07-17T02:48:18
483,502,469
23
6
Apache-2.0
2022-10-15T09:29:12
2022-04-20T04:11:18
Python
UTF-8
Python
false
false
13,118
py
# # BSD 3-Clause License # # Copyright (c) 2017 xxxx # All rights reserved. # Copyright 2021 Huawei Technologies Co., Ltd # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # * Redistributions of source code must retain ...
[ "wangjiangben@huawei.com" ]
wangjiangben@huawei.com
a69fba4e5d07f0b75304b6ba75e87e6f68467fdc
1e449c2b408c59f7722aeeacf01ac6d904016785
/boardapp/models.py
488018ad7e9ed9e552116797d04d734d4ff54611
[]
no_license
alittlekitten/hangoverlion
62930111298000ceb99aa282bbbdbc596150f5c5
3643adfac2fb5c420a00e9548ef5c43a629f0c78
refs/heads/master
2023-04-29T00:29:59.874724
2019-06-01T10:17:53
2019-06-01T10:17:53
189,718,352
0
0
null
2023-04-21T20:33:41
2019-06-01T10:13:16
JavaScript
UTF-8
Python
false
false
600
py
from django.db import models # Create your models here. class Board(models.Model): title = models.CharField(max_length=200) name = models.CharField(max_length=50) pub_date = models.DateTimeField('date published') body = models.TextField() def __str__(self): return self.title class Co...
[ "alittlekitten" ]
alittlekitten
a4988105b8f44db42f20393940d9d3a3ae4e6178
e23a4f57ce5474d468258e5e63b9e23fb6011188
/125_algorithms/_exercises/templates/_algorithms_challenges/pybites/intermediate/191/bmi.py
0ee130d805eb92fd958498062113b022207001d6
[]
no_license
syurskyi/Python_Topics
52851ecce000cb751a3b986408efe32f0b4c0835
be331826b490b73f0a176e6abed86ef68ff2dd2b
refs/heads/master
2023-06-08T19:29:16.214395
2023-05-29T17:09:11
2023-05-29T17:09:11
220,583,118
3
2
null
2023-02-16T03:08:10
2019-11-09T02:58:47
Python
UTF-8
Python
false
false
1,056
py
# data """Luke Skywalker,172,77 # C-3PO,167,75 # R2-D2,96,32 # Darth Vader,202,136 # Leia Organa,150,49 # Owen Lars,178,120 # Beru Whitesun lars,165,75 # R5-D4,97,32 # Biggs Darklighter,183,84 # Obi-Wan Kenobi,182,77 # A...
[ "sergejyurskyj@yahoo.com" ]
sergejyurskyj@yahoo.com
a0fee7a87dd4a39dd09e787d7f658e7974737e16
f49bf19b343a6230573afdb5bdce61298baca914
/HT12/generate_teachers/core/tasks.py
59532528ee8df19922fdb68e1016d677a43f8447
[]
no_license
DaniilOmelianenko/Python_Advanced_course_Hillel
bfb71fcfa0228bef74f4c0594c176223cd970f85
5fa7101801e7668bd57a106f40066d88d6845861
refs/heads/master
2023-05-14T00:24:29.820741
2021-03-31T11:22:45
2021-03-31T11:22:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
812
py
from datetime import date, timedelta from core.models import Logger from core.rates import get_kurstoday_rate, get_minfin_mejbank_rate,\ get_mono_rate, get_national_bank_rate, get_vkurse_rate from django.core.mail import send_mail from generate_teachers import celery_app @celery_app.task def send_mail_task(tit...
[ "dr.odiram@gmail.com" ]
dr.odiram@gmail.com
ba3339eeda813a3c7d315fcb1cb1c530a8080125
d094ba0c8a9b1217fbf014aa79a283a49aabe88c
/env/lib/python3.6/site-packages/sklearn/preprocessing/_discretization.py
7b26ce916e1893d6d13fc02304699fa07bd412b3
[ "Apache-2.0" ]
permissive
Raniac/NEURO-LEARN
d9274e0baadd97bb02da54bdfcf6ca091fc1c703
3c3acc55de8ba741e673063378e6cbaf10b64c7a
refs/heads/master
2022-12-25T23:46:54.922237
2020-09-06T03:15:14
2020-09-06T03:15:14
182,013,100
9
2
Apache-2.0
2022-12-09T21:01:00
2019-04-18T03:57:00
CSS
UTF-8
Python
false
false
12,083
py
# -*- coding: utf-8 -*- # Author: Henry Lin <hlin117@gmail.com> # Tom Dupré la Tour # License: BSD from __future__ import division, absolute_import import numbers import numpy as np import warnings from . import OneHotEncoder from ..base import BaseEstimator, TransformerMixin from ..utils.validation impor...
[ "leibingye@outlook.com" ]
leibingye@outlook.com
a776987187e4d6bc91acfa696ed24a492103e6e9
4231a5ad312a3a03434a49b08ac6ed0bbce7edb7
/models/nets/resnet_v2.py
7a2ad32a045416fd9fadf2c06e5c52fb4fb726fd
[]
no_license
fxle/DFL-CNN-tensorflow
db3c97f14b89d60f19e7350735028ecb4ec2019a
9c5e3574940ccfc5ada1f09b5afc8bbb03857b43
refs/heads/master
2020-04-07T04:40:05.303507
2018-11-16T08:35:42
2018-11-16T08:35:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
15,511
py
# Copyright 2016 The TensorFlow 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 ...
[ "noreply@github.com" ]
fxle.noreply@github.com
bcc75b28b810ed3342694c31eda9379e6b0b1569
0af56ece1f50f93cd4e4841ba101600f958fe94c
/camera.py
0887896256ffbf12bfd73d540af4f556ee8777e2
[]
no_license
strikerdlm/HAB-pi-cam
df21f8f483b0c8b5e0ca9ffb53cdec7af9f5ca91
b1eb0f4c87501adcae7cb5ec28f8ad96ddaa0e4d
refs/heads/master
2021-09-07T07:21:05.872448
2018-02-19T14:17:41
2018-02-19T14:17:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,917
py
#!/usr/bin/python2 # Import required modules import picamera import time import signal import sys import os # The following code will write the Process ID of this script to a hidden file pid = os.getpid() PIDfilename = ".PID" PIDfile = open(PIDfilename, "wt") PIDfile.write(str(pid)) PIDfile.close() # Variables nu...
[ "robo_man11@hotmail.com" ]
robo_man11@hotmail.com
bad6ea385845a9eb0bc05e0022b7b16e5480692f
9353358a88ca52b4fa5c62ed2f2d2f8feeebc194
/core/utils.py
31dbf88f744027f0b5771cb6555900de6edaa016
[]
no_license
Ydrasil/neomad.org
d2b47f7ed983c5b4eea656d4f2c8d22a281e4af4
70f7b4c704fcb58c625a758ab8d5b55878ae130f
refs/heads/master
2021-01-19T07:17:46.160125
2017-07-18T15:52:26
2017-07-31T13:33:20
87,534,270
0
0
null
2017-07-26T16:38:54
2017-04-07T10:23:31
Python
UTF-8
Python
false
false
767
py
import base64 import re from io import BytesIO from feincms_cleanse import Cleanse from PIL import Image def is_base64(data): return len(re.findall('^data:\w+/(\w+);base64,', data)) def save_base64_image(data, output, size=None): meta, data = data.split(',') try: format_ = re.findall('data:\w+/(...
[ "vincent.agnano@scopyleft.fr" ]
vincent.agnano@scopyleft.fr