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
220 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
257 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
2152e4d7411322badcc18057abeadb63b01fcfe2
c44d2beeab0f42bc3a830be379ac74ab33b3fc50
/LAB4/UDP Programming/big_sender.py
fc3bce3cb26f3ca9b5359eb2fa8f7306e284332e
[]
no_license
moffeemoffee/cs-138-lab-exercises
b563a17efec6ccbdc34e571dece099be10b9a9cd
ea56215be39cc19ab6a53d4d937dc1adb8fd9de2
refs/heads/master
2020-04-13T03:45:03.717085
2018-12-24T02:29:24
2018-12-24T02:29:24
162,940,889
1
0
null
null
null
null
UTF-8
Python
false
false
1,266
py
#!/usr/bin/env python3 # Foundations for Python Network Programming, Third Edition # Send a big UDP datagram to learn the MTU of the network path. import argparse, socket, sys class IN: IP_MTU = 14 IP_MTU_DISCOVER = 10 IP_PMTUDISC_DO = 2 if sys.platform != 'linux': print('Unsupported: Can only perfor...
[ "festbawi@gmail.com" ]
festbawi@gmail.com
42c10837c0d812cc3d3d37b0bf88b603173ac3eb
46a9e114d4cd67d6a7359be492885e6d722e9f9c
/neural_nets/RAM_V2/Predictor.py
4e1710be0f719f7436fb3a6cc11528d84f551680
[]
no_license
EvgnEvgn/diplom
44c7eed485a4f29416790326d65aae30cdcca909
aaf98d6efcf2c1c546f99d0c249f0a579b2d8d06
refs/heads/master
2020-09-16T09:35:22.021494
2020-08-03T11:28:40
2020-08-03T11:28:40
223,727,989
0
0
null
null
null
null
UTF-8
Python
false
false
3,101
py
import os import scipy.misc import numpy as np import tensorflow.compat.v1 as tf import matplotlib.pyplot as plt import matplotlib.patches as patches class Predictor(object): def __init__(self, model): self._model = model self._accuracy_op = model.get_accuracy() self._pred_op = model.laye...
[ "sharipovevgn@gmail.com" ]
sharipovevgn@gmail.com
891071c010df3c7f66cf29a7b23281da0ff4a439
d1df1ea6dee606c15144f8f6a351aa39ccf885ea
/process.py
61f959a4d472218346b85fb514a2e990548a71ea
[]
no_license
liyumeng/HadoopPractice
2c4b43bc67602d89f0ed7ad38a0b5b0dd7ee2acb
338ddabc516c7e781b3d98ba993028693090abb1
refs/heads/master
2020-06-25T10:19:23.133155
2017-07-12T08:30:08
2017-07-12T08:30:08
96,974,849
0
0
null
null
null
null
UTF-8
Python
false
false
175
py
f=open('wiki.output') dst=open('cluster.vec','w') for i in range(5): items=f.readline().split(' ') items[0]=str(i+1) dst.write(' '.join(items)) dst.close() f.close()
[ "v-yumeli@microsoft.com" ]
v-yumeli@microsoft.com
3fe76dba2406707715ea71443aa5c68084b6427c
a97db7d2f2e6de010db9bb70e4f85b76637ccfe6
/leetcode/143-Reorder-List.py
76dc35a930512a20ad60fd1ba66c72c733a1b227
[]
no_license
dongxiaohe/Algorithm-DataStructure
34547ea0d474464676ffffadda26a92c50bff29f
a9881ac5b35642760ae78233973b1608686730d0
refs/heads/master
2020-05-24T20:53:45.689748
2019-07-19T03:46:35
2019-07-19T03:46:35
187,463,938
0
1
null
null
null
null
UTF-8
Python
false
false
792
py
class Solution: def reorderList(self, head): if not head or not head.next: return slow, fast = head, head while fast.next and fast.next.next: slow = slow.next fast = fast.next.next first, second = slow, slow.next while second.next: # 1->2->3->4->5->6 t...
[ "ddong@zendesk.com" ]
ddong@zendesk.com
506c9e187e8a68aa4848d9d6899080b388210d83
ca82aece0685d2000133bc727feca59b75b169ec
/app/views/userprofile/forms.py
14a4938e304baf3e9d6ab7104f50b5c18709679a
[ "MIT" ]
permissive
BMeu/Aerarium
98ebfbb56d1aaa045721b168674411a8e2835a6c
119946cead727ef68b5ecea339990d982c006391
refs/heads/master
2022-12-14T20:34:52.924257
2021-04-30T04:18:38
2021-04-30T04:18:38
138,426,826
0
0
MIT
2022-12-08T07:43:17
2018-06-23T19:03:41
Python
UTF-8
Python
false
false
6,554
py
# -*- coding: utf-8 -*- """ Forms and form related functionality for the user profile. """ from typing import Any from typing import Optional from flask_babel import lazy_gettext as _l from flask_login import current_user from flask_wtf import FlaskForm from wtforms import BooleanField from wtforms import Field ...
[ "bastian@bastianmeyer.eu" ]
bastian@bastianmeyer.eu
c8dfb5d9132e2ac7bee8e778528416727c9f1cc8
59232d1a9a411a906f366bcfec013824f1929b4f
/lab1/task-6.py
7ef4fd1d1381fd0a47ba2fd1ac0d07ba5e55886f
[]
no_license
KolyanPie/python-labs
71859eae1d2257e145e9cb5ad136446a8628f0aa
69109e970979f407ed612661d337cce73160dde7
refs/heads/master
2020-08-02T10:57:56.722604
2019-10-16T13:26:20
2019-10-16T13:26:20
211,326,436
0
0
null
null
null
null
UTF-8
Python
false
false
2,129
py
import time import math def task_1(): n = int(input('Введите кол-во секунд: ')) while n > -1: start_time = time.time() print('Осталось секунд:', n) n -= 1 try: time.sleep(1 - (start_time - time.time())) except ValueError: continue print('Пуск...
[ "43596340+KolyanPie@users.noreply.github.com" ]
43596340+KolyanPie@users.noreply.github.com
16bf080046bbb5795a3e2e0ec451f052d94d6c77
de38c7292bf1f27a4fbe787d9d7dae40b4de178c
/conditional.py
bd891ffd7a135244206103661dea5420426de876
[]
no_license
kyuing/python_syntax
cc10dd6c3a7248ff9a5b691494905711bcf0875c
c1d71c8c69d22bede863dfaae7308731a56556d6
refs/heads/master
2020-06-26T04:46:40.721407
2019-07-30T22:48:23
2019-07-30T22:48:23
199,533,065
0
0
null
null
null
null
UTF-8
Python
false
false
595
py
#input user_id = input('what is your id?') userInput = input('what is your password?') #if statement ''' if userInput == '111111': print("The user password is authorized") else: print("Try Again") if user_id == 'kyu': if userInput == '111111': print("The user is authorized") else: prin...
[ "kyykyu000@gmail.com" ]
kyykyu000@gmail.com
3765a76c2e7c3127825dddf18f72246aac243fac
efd95aa667e4f5d38b853ab5af3369eff14d9a4c
/tests/test_unit_cell.py
6a9f36e2cdf8007a1ab17a247451ee76cc6046a7
[]
no_license
khurrumsaleem/FIG
dca401344a619626c53e0ef302ad376cbc0f907b
3abe717a4fe26e99a3b6f4a79fbff39dc7552af3
refs/heads/master
2023-03-15T18:05:31.625132
2018-08-01T15:54:49
2018-08-01T15:54:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,963
py
#!/usr/bin/python from FIG import triso from FIG import pbed from FIG import pb from FIG import mat from FIG.pb_gen import FuelPbGen from FIG.serp_concept import Cell, Universe, Surface from more_itertools import unique_everseen from util.mkdir import mkdir import config import shutil import numpy as np def create_a_...
[ "imwangxin@gmail.com" ]
imwangxin@gmail.com
749b3658fc50ff9ff75cd1f23584da73f32d9a20
3d8f0fffbde79ee3b8cb6a2d157f7bfaadb21b87
/baseball/stats.py
430a528c35d7cb58295496aef235661123801a13
[ "MIT" ]
permissive
CBEAR-BASEBALL/baseball
93dd6c9e686f46ee116c04c2e170d83f0f54a460
4478375f49f19dc3537ac09955a25e5e5c97ac51
refs/heads/master
2020-03-13T17:27:29.328677
2018-04-12T19:40:59
2018-04-12T19:40:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
30,299
py
from collections import namedtuple from baseball.baseball_events import Pickoff, RunnerAdvance, Pitch NOT_AT_BAT_CODE_LIST = ['SB', 'SF', 'BB', 'CI', 'FI', 'IBB', 'HBP', 'CS', 'PO'] HIT_CODE_LIST = ['1B', '2B', '3B', 'HR'] InningStatsTuple = namedtuple('InningStatsTuple', 'S P BB K LOB E H R') BatterBoxScore = nam...
[ "benjamincrom@Benjamin-Croms-MacBook-Pro.local" ]
benjamincrom@Benjamin-Croms-MacBook-Pro.local
1fb33c4a4b1fe9e1f60f69dc812c4ce19ef1d974
f7a8c14d51b2df7861da540813381e7f84a07ea4
/20170728/writefile.py
b21466573584b8a9b96446fef3313462e61ffb66
[]
no_license
wangyincheng/pythonstudy
987be259988c68a0f71ffdae5fedae8b3a92e749
f711dd181648d1eee64a2251fa1745e38cb8a97c
refs/heads/master
2021-01-01T19:41:28.704371
2018-02-23T03:03:48
2018-02-23T03:03:48
98,651,844
1
0
null
null
null
null
UTF-8
Python
false
false
420
py
#!/usr/env python # name='', # version='', # packages=, # author='', # create time= # change author= # change time= # author_email='', # msg= #with open('D:/pycharmworkspace/pythonstudy/20170728/HELLOWORD.TXT',mode='w',encoding='utf-8') as file: # file.writelines('hello word!') with...
[ "979411006@qq.com" ]
979411006@qq.com
01a770beaa99d7f4d58decb95afc5e00073bece7
4cc6a24bc28f97ba08a42310317c6cdd83f67cab
/pi/node_ui/node_ui.py
de2554cfe4bbcb63202f54ece0d332235bb09fb9
[]
no_license
bsinglet/EmbeddedSystemsDesign_F2016
186aaa2c271184903138be0b2d0acff8ad1daf49
6935cf335aa7579d3e636c6d56a91e8960554eed
refs/heads/master
2022-04-05T09:29:15.014212
2016-12-14T01:15:23
2016-12-14T01:15:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,464
py
#!/usr/bin/python2 import sys from PyQt4 import QtGui, QtCore from itertools import product nodes = list(product(xrange(5), xrange(5))) print(nodes) class Example(QtGui.QWidget): def __init__(self): super(Example, self).__init__() self.initUI() def initUI(self): ...
[ "duttondj@vt.edu" ]
duttondj@vt.edu
701e8b034a2cb1962009d375e11c3d0997ccb87e
4ca346cabfa2377f63a36bc0579a5bcd65e9fb57
/Week-1-Task-4.py
fa687b6f6510c87998a953d9d40b8ca90fdb298e
[]
no_license
fahixa/PROCLUB
199fa590beadd8b9bff6c405b1c64e590d6f3b7c
03a00cfe6943150efcf2e407bcc020c687bde5c0
refs/heads/main
2023-01-24T22:09:46.636209
2020-11-19T08:24:56
2020-11-19T08:24:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,920
py
def half_pyramid_pattern(rows): for i in range(0, rows): for j in range(0, i+1): print("* ",end="") print("\r") def half_pyramid_pattern_inverted(rows): for i in range(rows, 0, -1): for j in range(1, i + 1): print("*", end=' ') print('\r') def half_p...
[ "noreply@github.com" ]
fahixa.noreply@github.com
f39c5b174846ac3a115206eea553e303ba6bae2d
cb39d25e115557c26d89a7c8a08dc08464b101d3
/main/calculations.py
4bac744f6d6c5125ec88d14e7761b46ab728dbcb
[]
no_license
kelvinxuande/keithley-opensource
8f7c787952d5d4132dab543b1c59167a94d305cf
661f9002cc03fd395e69628b0470aee99af135ca
refs/heads/master
2022-11-21T02:39:32.668396
2020-07-26T09:16:17
2020-07-26T09:16:17
195,480,543
0
0
null
null
null
null
UTF-8
Python
false
false
2,518
py
""" Generate estimated time based on start time, poll period and number of polls Designed for use-cases shorter than 24 hours """ from datetime import datetime def updateEst(numberOftimes, period): totalSeconds = (numberOftimes*period) clockedHours = int(totalSeconds/3600) secondsLeft = totalSecon...
[ "noreply@github.com" ]
kelvinxuande.noreply@github.com
931896263bebf84e1b742fc4256243bdbe10d638
395f974e62eafed74572efebcd91d62966e61639
/deprecated/obsolete/src/testavl.py
10d7a4e08ece3e0ff7e6d4fe13926d33defb668e
[ "Apache-2.0" ]
permissive
agroce/tstl
ad386d027f0f5ff750eab19a722a4b119ed39211
8d43ef7fa49534868e6cdf1697863748260405c7
refs/heads/master
2023-08-08T19:14:52.020314
2023-07-26T17:51:36
2023-07-26T17:51:36
32,408,285
106
33
NOASSERTION
2021-01-26T19:05:17
2015-03-17T17:14:04
Python
UTF-8
Python
false
false
1,506
py
import avl import random import sys import coverage import time import numpy start = time.time() branchesHit = set() maxval = int(sys.argv[1]) testlen = int(sys.argv[2]) numtests = int(sys.argv[3]) cov = coverage.coverage(branch=True, source=["avl.py"]) cov.start() for t in xrange(0,numtests): a = avl.AVLTree...
[ "agroce@gmail.com" ]
agroce@gmail.com
84a3003f58be5449b9138304a8c0114eeaf794a0
75831bfff82ea921365ab8baef55178d63621e2b
/kjn_biedronka_demo/kjn_pricetag/forms.py
5244103eaae30268d34d8c274c976ff625b2d769
[ "MIT" ]
permissive
kornellewy/kjn_biedronka_demo
1a6c0f0ec0447dc3309997b43bda1e3cb4db7f6f
a1b0d3baaaee5bca4977b76fa0b3934a533a2f59
refs/heads/main
2023-01-04T00:45:48.911657
2020-10-15T16:31:10
2020-10-15T16:31:10
304,374,754
1
0
null
null
null
null
UTF-8
Python
false
false
253
py
from django import forms import os from django.conf import settings class UploadFieldForm(forms.Form): movie_name = forms.CharField(max_length=1000) movie_field = forms.FileField(widget=forms.ClearableFileInput(attrs={'multiple': False}))
[ "noreply@github.com" ]
kornellewy.noreply@github.com
da8082ea2ec2d2f8041e4b9c4dd6fc2abd1ff954
767f83ada603bf0330fff9a9df888573ebe87eae
/src-bib/pybtex/pybtex/style/template.py
a682f243fc85498e6f2e81d9a3587407bfb0d1b1
[ "MIT" ]
permissive
AndreaCensi/andreaweb
756e03114d2bb63012523e9f6a179bee3b9d745c
ac110acf59797f096f2ab50e848969f964771295
refs/heads/master
2021-01-13T08:44:30.774965
2020-12-29T17:14:25
2020-12-29T17:14:25
81,645,465
0
0
null
null
null
null
UTF-8
Python
false
false
9,742
py
# vim:fileencoding=utf8 # Copyright (c) 2008, 2009, 2010, 2011, 2012 Andrey Golovizin # # Permission is hereby granted, free of charge, to any person obtaining # a copy of this software and associated documentation files (the # "Software"), to deal in the Software without restriction, including # without limitation t...
[ "andrea@cds.caltech.edu" ]
andrea@cds.caltech.edu
39b8064697b235b8ee56a59fd9fa9f492e89e499
9883c74087fbd0b63f2320d55860908ff28b572d
/part1_week5/sample3.py
8526d7a80eae8688d92bcb838134228912d3a193
[]
no_license
venkateswararao-kotha/it-cert-automation-all-modules
54fab51355d2154e165d3307d49d214915fd428a
3a4b5bce1325384c45669f9d20fc9c9c9944d58f
refs/heads/master
2022-12-01T15:24:45.596704
2020-08-12T21:53:06
2020-08-12T21:53:06
287,121,325
0
0
null
null
null
null
UTF-8
Python
false
false
254
py
#!/usr/bin/python3 def KelvinToFahrenheit(Temperature): assert (Temperature >= 0),"Colder than absolute zero!" return ((Temperature-273)*1.8)+32 print(KelvinToFahrenheit(273)) print(int(KelvinToFahrenheit(505.78))) print(KelvinToFahrenheit(-5))
[ "venkatababu@gmail.com" ]
venkatababu@gmail.com
ab6413657b6aec2d0baa7f294c401ed057ccceb3
fb3818cfa326aad3ad958eec6376d3b9a242f96d
/app/algorithms/debackground.py
c7bf37f36087526df2b03eea76c4cf712227ec2f
[]
no_license
StaveWu/RamanSpectrometer-Flasky
2aaa647657b70594fddccfa853cac02695317341
85056e5f07227a4405f0bef077976387bf29ff4b
refs/heads/master
2022-11-24T07:57:42.953905
2019-06-14T15:25:03
2019-06-14T15:25:03
185,988,925
1
0
null
2022-11-21T21:30:45
2019-05-10T12:59:20
Python
UTF-8
Python
false
false
2,167
py
import numpy as np from scipy.sparse import csc_matrix, eye, diags from scipy.sparse.linalg import spsolve def WhittakerSmooth(x, w, lambda_, differences=1): """ Penalized least squares algorithms for background fitting input x: input data (i.e. chromatogram of spectrum) w: binary masks (...
[ "wtengda0816@outlook.com" ]
wtengda0816@outlook.com
3a3b6649c42c0c69bdab53756dd8b7c4e679608d
6180c367888de6a9cba252f1930f0e801f2528e0
/hackingtools.py
ca058193518e310048c023764c771825d07db326
[ "Apache-2.0" ]
permissive
hawk-unity/hawksploit
43837ff80f4fdda42264fc28253e5b63265681d8
3518f8fe0d10862cce1c267f01445a81fe55ccf1
refs/heads/main
2023-08-18T09:04:15.211491
2021-09-26T16:12:41
2021-09-26T16:12:41
407,313,402
0
0
null
null
null
null
UTF-8
Python
false
false
6,311
py
import hashlib import os import json import subprocess import urllib3 import socket import requests import colorama import random import string from colorama import Fore, Back, Style, init print(""" _________ ___ _______ __ _______ ____ __ ____ __________ __ / ___/ __ \/ _ \/ __/ _ \ / /...
[ "noreply@github.com" ]
hawk-unity.noreply@github.com
774075e9fbc067028af2fc09e5962c2d20284cc4
3c7efd9093af21927318d707ac3a5027e9618ff1
/hw_4/jdfuller_hw_4_9_3.py
5bdaaadd0014a5091cbfa5f2afde2d1110ab9563
[]
no_license
nguyenhuuthinhvnpl/met-cs-521-python
1b628e7ca9ace43bd4732578bdffe9ace718593e
6faf68ad1780b2804d3df940b0d8b52ef1174ac0
refs/heads/master
2023-01-02T13:42:53.624212
2020-11-02T00:37:57
2020-11-02T00:37:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
758
py
""" JD Fuller Class: CS 521 - Fall 1 Date: 04OCT2020 Homework Problem # 3 Description of Problem: Validate two lists for size, create a dictionary with keys of last name and value = first name """ # Two Constant lists f_name = ['Jane', 'John', 'Jack'] l_name = ['Doe', 'Deer', 'Black'] # Function to check length of i...
[ "jdfuller@live.com" ]
jdfuller@live.com
0d90a0e294b9f072e189229811680e4b4e3babb1
a777170c979214015df511999f5f08fc2e0533d8
/train.py
e6fbe847bc160c06cca04e2c8f32707f3e1cf0ac
[ "MIT", "Apache-2.0", "BSD-3-Clause" ]
permissive
srlee-ai/claf
210b2d51918cf210683e7489ccb8347cb8b1f146
89b3e5c5ec0486886876ea3bac381508c6a6bf58
refs/heads/master
2021-02-13T04:38:36.198288
2020-03-03T15:01:01
2020-03-03T15:01:01
244,661,892
0
0
MIT
2020-03-03T14:45:52
2020-03-03T14:45:52
null
UTF-8
Python
false
false
248
py
# -*- coding: utf-8 -*- from claf.config import args from claf.learn.experiment import Experiment from claf.learn.mode import Mode if __name__ == "__main__": experiment = Experiment(Mode.TRAIN, args.config(mode=Mode.TRAIN)) experiment()
[ "humanbrain.djlee@gmail.com" ]
humanbrain.djlee@gmail.com
34ac7a3126ac16fa1d6c38c6a98abcbeeac04fa3
cc18ad6df3249b891a8fb6491a940ac2a33d284a
/tests/test_l.py
8f31bdd414ae7368ace95e1ffa2f21be89d241f8
[]
no_license
ASU-CompMethodsPhysics-PHY494/activity-03-python_calculator
39ee8d654a3376a51a432179efd4c7a7e1de82d8
60acaaf07338294180e9c804d2343b4f4d41304d
refs/heads/main
2023-02-24T20:33:55.020537
2021-01-28T16:23:31
2021-01-28T16:23:31
333,042,224
0
1
null
null
null
null
UTF-8
Python
false
false
131
py
import pytest from .tst import _test_variable def test_l(name='l', reference=-1+3j): return _test_variable(name, reference)
[ "orbeckst@gmail.com" ]
orbeckst@gmail.com
23a2097a7cc61138e387807676a9e26a1c578749
48e124e97cc776feb0ad6d17b9ef1dfa24e2e474
/sdk/python/pulumi_azure_native/web/list_web_app_site_backups_slot.py
d462ca9222f2a90ee8600578a233a9c59f113a18
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
bpkgoud/pulumi-azure-native
0817502630062efbc35134410c4a784b61a4736d
a3215fe1b87fba69294f248017b1591767c2b96c
refs/heads/master
2023-08-29T22:39:49.984212
2021-11-15T12:43:41
2021-11-15T12:43:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,748
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities from...
[ "noreply@github.com" ]
bpkgoud.noreply@github.com
47253660053b62e3a3400992df6e8e5c92705a2f
9e988c0dfbea15cd23a3de860cb0c88c3dcdbd97
/sdBs/AllRun/pg_2336+264/sdB_PG_2336+264_lc.py
5a89a24209124435ed571d1c422e1be8d34c29e3
[]
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=[354.680542,26.667064], stepsz=30., csvfile="/data2/fleming/GPHOTON_OUTPU/LIGHTCURVES/sdBs/sdB_PG_2336+264 /sdB_PG_2336+264_lc.csv", maxgap=1000., overwrite=True, radius=0.00555556, annulus=[0.005972227,0.0103888972], verbose=3) if __name...
[ "thomas@boudreauxmail.com" ]
thomas@boudreauxmail.com
41b07f3167dc701df489a7cfefe5e0ac8ffc139a
ced57a2acb564869237ba6e0d1a528f22eb8bd8d
/Problem11/py/p11.py
1199fef4addb9dee3abce8213d98b75b08323b35
[ "MIT" ]
permissive
shaunn/projecteuler
c79771f2c51fdb222f775887836b59ff29a5c752
eac7734c8a258f87bfa1ff944ad3bb208ad613d4
refs/heads/main
2023-03-25T21:40:51.172242
2021-03-26T04:00:00
2021-03-26T04:00:00
334,136,921
0
0
MIT
2021-03-26T04:00:00
2021-01-29T12:20:59
Python
UTF-8
Python
false
false
5,567
py
# In the 20×20 grid below, four numbers along a diagonal line have been marked in red. # # ``` # 08 02 22 97 38 15 00 40 00 75 04 05 07 78 52 12 50 77 91 08 # 49 49 99 40 17 81 18 57 60 87 17 40 98 43 69 48 04 56 62 00 # 81 49 31 73 55 79 14 29 93 71 40 67 53 88 30 03 49 13 36 65 # 52 70 95 23 04 60 11 42 69 24 68 56 0...
[ "noreply@github.com" ]
shaunn.noreply@github.com
3632c672e8908a01c30238f2f37c19a7580ccb3b
26cfe83c77d3724d21328224b349958d0f1d1086
/if else 2.py
bc049bf8b7521676ba82cee4b3c83aff2b8038d0
[]
no_license
oblakulovsardor/Start_python
a31c9eef52dca0babe50cc18a1c59d3f4cd0097b
ee745e5178bc896bc1d27271055ae4cbd8806369
refs/heads/main
2023-03-03T22:32:26.352536
2021-02-13T21:09:37
2021-02-13T21:09:37
338,150,765
0
0
null
null
null
null
UTF-8
Python
false
false
343
py
yosh = int(input('Tugikgan yilingiz qachon?\n>>>')) if 2021-yosh <4: print(f'Siz {2021-yosh} yosh yani 4 yosgdan kichiklarga kirish bepul') elif 2021-yosh <12: print(f'Siz {2021-yosh} yosh sizga kirish 5 000 sum, yani 12 yoshdan kichiklarga') else: print(f'Siz {2021-yosh} yosh sizga kirish 10 000 sum, yani ...
[ "oblakulov_sarik@mail.ru" ]
oblakulov_sarik@mail.ru
339b40cffdba256c1392efef793fe36cf721def1
e10cec4cc5d45a69c4f2eaa3d85565553458bcbe
/tracker_effi/run_trkreff.py
8176ff797b8082183ae591f9a82ca7c67bafabf1
[]
no_license
jnugent42/mcsframework
7f3ba2c11b96175d014e53f61bea292a5e0e3b03
2c75f6e071229ab0585cf8d594fa26d7b5794388
refs/heads/master
2022-04-28T07:34:32.076223
2022-04-07T16:14:17
2022-04-07T16:14:17
91,683,266
0
1
null
null
null
null
UTF-8
Python
false
false
10,320
py
import libxml2 import os, subprocess from ROOT import TRandom3, TMath def updatesysval(infile, outfile, name, value): doc = libxml2.parseFile(infile) for node in doc.xpathEval("spec/sys"): if node.prop("name").find(name) >= 0: node.setProp("value", str(value)) f = open(outfile,"w") ...
[ "john.nugent@glasgow.ac.uk" ]
john.nugent@glasgow.ac.uk
b921463d3f564663e3156653e0c50503afa1fdc6
3747770128a4e3abf616a94b236ddd9a6765e34a
/icp.py
84c389658ea0f09068070cd313c6f1791639305e
[]
no_license
abelttitus/vslam-recognition
dc941eed86ae68682452e77f1836d505a9315eae
f7cc2c6510f039f9633c2be5d96ad214e89c8198
refs/heads/master
2022-11-06T06:13:31.852238
2020-06-24T15:01:26
2020-06-24T15:01:26
261,393,430
0
0
null
null
null
null
UTF-8
Python
false
false
3,524
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Fri May 8 11:24:47 2020 @author: abel """ import numpy as np from sklearn.neighbors import NearestNeighbors def best_fit_transform(A, B): ''' Calculates the least-squares best-fit transform that maps corresponding points A to B in m spatial dim...
[ "abelttitus1998@gmail.com" ]
abelttitus1998@gmail.com
820fb21b55c430e223b4c4d6dff810df79a6d5e4
ac6fa9d25f1b41fe3cae0881711ad7f394d644ac
/client.py
4b6e196871d934e08f143b08541d92cd522749a7
[]
no_license
raman-chumber/Email-Spoofing-in-Python
6b78926a65cf504eda4386a8116eea6de4969c8d
8cbaaa1692de677a0ba8b48556e5a4a15774357b
refs/heads/master
2020-04-17T10:34:43.625358
2019-10-24T03:08:03
2019-10-24T03:08:03
166,505,977
3
0
null
null
null
null
UTF-8
Python
false
false
1,733
py
from socket import * msg = "\r\n I love computer networks!" endmsg = "\r\n.\r\n" server = "localhost" port = 25 emailFrom = "mallroy@notexisting.org" emailto = "ramanchumber1@gmail.com" # Choose a mail server mailserver = (server, port) #Create socket called clientSocket and establish a TCP connection with mailserve...
[ "ramanchumber1@gmail.com" ]
ramanchumber1@gmail.com
7de882a045d7bd2506036e98940a411e3359f43f
73b6778f2d6c013371a1b1a7d35de69b0562062f
/FOR문.py
306642f0413af7c2643dbb9d9f08a4b21884f204
[]
no_license
jkimtokyo/python
94c94e683513d55c96cc60827f596683693216d6
50caf5e06ca688b99c8192b2c7f10da08872d368
refs/heads/master
2021-01-18T20:58:31.035214
2016-12-20T03:24:00
2016-12-20T03:24:00
68,670,648
0
0
null
null
null
null
UTF-8
Python
false
false
3,945
py
# 반복문, 기본적 구문은 FOR 변수 in 리스트 (튜플 혹은 문자열): list = ['one', 'two', 'three'] for i in list: print(i) # 출력값은 one two three list = [(1, 2), (3, 4)] for (a, b) in list: print(a + b) # 3 7 list의 요소값이 튜플이기 때문에 각각의 요소들이 자동으로 (a,b) 변수에 대입된다. # FOR문의 응용 # 차례차례 참 거짓 판단 point = [90, 47, 62] for i in point: if i >= 6...
[ "jkimtokyo@gmail.com" ]
jkimtokyo@gmail.com
a1f3bc4d55d184b81e91982984e3e08d1fb53fe5
b4659495b297910d1a8896a2da13c9fd4cd204db
/FinalProject/theIdiot.py
9606918865058db37add58c8cab01916f9c3e42b
[]
no_license
rahdirs11/Pirple-pythonIsEasy
864b2320434ae20fc45f41a7ddfd8a93884542f6
515421cb2db1d300bf9f5c603f06e49f43dd2e84
refs/heads/master
2023-04-15T04:20:42.090503
2021-05-02T02:41:04
2021-05-02T02:41:04
363,009,250
0
0
null
null
null
null
UTF-8
Python
false
false
6,430
py
#!/usr/bin/env python3 ''' Rules: -> Take a deck -> 2 is a wild card -> 10 is a card used to burn the deck -> A > K > Q > J -> 4 cards of the same suit burns the deck -> If you can't beat the cards with a number >= the value of the topmost card on the deck, or with 2 or 10, you get to ta...
[ "iamsridhar11@gmail.com" ]
iamsridhar11@gmail.com
c248e46b22276b4df7ea0afdb538bcfe8fb13aec
7498a33b5e6ff9b9ebad3f309a750363c1337d9d
/DeepLearning/VGG16_Class.py
b7e199a184bc419e99ac286a02d5387a7876f0bb
[]
no_license
jsysley/Code
a603e6677eb07b0a4a192134276b86aeb00b2a58
3364cc11862581168ef1e72cb571356ec44c169b
refs/heads/master
2021-01-12T13:57:24.646498
2017-08-07T01:36:20
2017-08-07T01:36:20
69,252,536
1
1
null
null
null
null
UTF-8
Python
false
false
10,095
py
# -*- coding: utf-8 -*- """ Created on Sat May 20 14:05:12 2017 @author: jsysley """ import time import tensorflow as tf import matplotlib.pyplot as plt class VGG16: def __init__(self,lr,iterations,batch_size,n_inputs, n_classes,n,display_epoch = 1,keep_prob = 1): # Hyperparameters ...
[ "237149516@qq.com" ]
237149516@qq.com
ac01b0964e31f632558c44346006f03235d2cbaf
5021cd17ce5fb52f7859d69ffa660c1393820fea
/34.py
273b15775856ae587f4dd416663870f2c79d0f4c
[]
no_license
slavo3dev/python_100_exercises
720e4f76de670fa969c9d62bddee1db20caf24f1
2983131a2a3ec40bbf3460a2e1baed57c6514e6a
refs/heads/master
2021-08-23T05:22:21.673477
2017-12-03T16:14:48
2017-12-03T16:14:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
407
py
# Question: The following script throws a NameError in the last line saying that c is not defined. Please fix the function so that there is no error and the last line is able to print out the value of c (i.e. 1 ). def foo(): global c = 1 return c foo() print(c) # c is not defined becuse variable is in...
[ "slavo@mimicom24.com" ]
slavo@mimicom24.com
0705dd5c07bfad91663f42c75cf7aa1bb9b44d02
e3efe48efd5f5433f8488e647139b5594e6f2101
/hackernews/settings.py
493e188cb34c309d5c77377e0a1e5e57970201c6
[]
no_license
kev-luo/hackernews-python
fadbc7043d172ec03a35cf369ad839f2c342b900
7524e400dbfa2b4983bb8de28816a1b7b034f2b3
refs/heads/main
2023-05-08T22:46:59.030296
2021-06-06T17:33:47
2021-06-06T17:33:47
374,679,955
0
0
null
null
null
null
UTF-8
Python
false
false
3,482
py
""" Django settings for hackernews project. Generated by 'django-admin startproject' using Django 2.1.4. 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 os...
[ "kevinluo@Kevins-MacBook-Air.local" ]
kevinluo@Kevins-MacBook-Air.local
ae273d6c7df4668f63223a3a9c09633173817c6f
70bb5993653ae14c3334ad27bfe74ba7fdaff003
/Crypto/Tiny LFSR/Encrypt.py
65830aa1e7ba77fbdb195eb6045647f8c5c775b4
[ "MIT" ]
permissive
CSUAuroraLab/AFCTF2018
b3681b5c14ac2166ae03b57fa29c849eaa91077f
5bcf6da5ab14b4483c4f7068362cbab48512ecfa
refs/heads/master
2021-07-07T01:39:20.678947
2020-07-22T13:25:20
2020-07-22T13:25:20
130,701,722
2
0
null
null
null
null
UTF-8
Python
false
false
990
py
import sys from binascii import unhexlify if(len(sys.argv)<4): print("Usage: python Encrypt.py keyfile plaintext ciphername") exit(1) def lfsr(R, mask): output = (R << 1) & 0xffffffffffffffff i=(R&mask)&0xffffffffffffffff lastbit=0 while i!=0: lastbit^=(i&1) i=i>>1 output^=lastbit return (o...
[ "daddy_hong@foxmail.com" ]
daddy_hong@foxmail.com
529aab4a0e29b33711b5c91b9fc462f6cc37dbe5
5b8bf799d0d4322802168f0aa3cee3950eb0a6a8
/40/my_game.py
3968dba42d678e007f7e958ee958ada2ee2bfc94
[]
no_license
MrCuffe/TGPD2020S2_Demos
675c10f6ea09c870ca415fdcd555068143792321
451c533625473869f53341a19f6e78461fc404bb
refs/heads/main
2023-01-14T05:07:11.298573
2020-11-22T22:58:17
2020-11-22T22:58:17
309,209,182
0
0
null
null
null
null
UTF-8
Python
false
false
26,694
py
# # Snehita's Python Game at Final Submission. The following program starts off with a prologue explaining the game's current situation and the player's primary objective. To begin their quest, new-time players are allocated a Pokémon which is at random. If they wish to change Pokémon, that option is available. Once se...
[ "72066423+MrCuffe@users.noreply.github.com" ]
72066423+MrCuffe@users.noreply.github.com
374c960f285d4baaf8c9ce3b8205ea9135cd46b5
d571d407cfda435fcab8b7ccadb1be812c7047c7
/guild/tests/samples/projects/flags-dest/submod.py
6416966dcb06abb15601a3c47796545306d1ac5c
[ "Apache-2.0", "LicenseRef-scancode-free-unknown" ]
permissive
guildai/guildai
2d8661a2a6bf0d1ced6334095c8bf5a8e391d8af
149055da49f57eaf4aec418f2e339c8905c1f02f
refs/heads/main
2023-08-25T10:09:58.560059
2023-08-12T20:19:05
2023-08-12T20:19:05
105,057,392
833
86
Apache-2.0
2023-08-07T19:34:27
2017-09-27T18:57:50
Python
UTF-8
Python
false
false
169
py
import argparse p = argparse.ArgumentParser() p.add_argument("--bar", default=456) if __name__ == "__main__": args = p.parse_args() print("bar: %s", args.bar)
[ "g@rre.tt" ]
g@rre.tt
60a2c3b6500f994d9254381f0d45ff8fc5063280
8400e9327064dbbee0c4c51c7c0cbc5b330d699e
/manage.py
07608b8519fb9a797e0de7559dc2d272eaca3985
[]
no_license
zerobits01/Tourino
7c17a547f8f388d4cd2581ab0df1621beff89453
a3500acd8efb41aeefbadbff966f956a9f1e7766
refs/heads/master
2020-09-20T21:21:09.765230
2019-12-23T07:13:37
2019-12-23T07:13:37
224,592,429
0
0
null
null
null
null
UTF-8
Python
false
false
627
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'Tourino.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise Import...
[ "zerobits01@yahoo.com" ]
zerobits01@yahoo.com
4be16408f688e6b5cb887f4a18ae62b9a56fd20a
af3ec207381de315f4cb6dddba727d16d42d6c57
/dialogue-engine/test/programytest/parser/template/node_tests/richmedia_tests/test_carousel.py
00edd17c4ac2091155b647b8e43f064c5c9e3f10
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
mcf-yuichi/cotoba-agent-oss
02a5554fe81ce21517f33229101013b6487f5404
ce60833915f484c4cbdc54b4b8222d64be4b6c0d
refs/heads/master
2023-01-12T20:07:34.364188
2020-11-11T00:55:16
2020-11-11T00:55:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,968
py
""" Copyright (c) 2020 COTOBA DESIGN, Inc. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distri...
[ "cliff@cotobadesign.com" ]
cliff@cotobadesign.com
d86e8a56715d2861eb6f379c89f452d56bee2111
3de345b744400b26c8df1522bfe395cadbd8a6b3
/molecule/default/tests/test_default.py
b14ed8ceebd088f7b48f1e625f84f696acd1d0ce
[ "MIT" ]
permissive
nbjwl/ansible-role-docker
2f2bcd79b6f903d6664d0c94b0baa2c40c265f44
dbd5a43968ffa1e9f27924a81bebc8ec9d0abcec
refs/heads/master
2021-01-09T16:58:39.065555
2020-02-23T07:23:42
2020-02-23T07:23:42
242,381,541
0
0
null
null
null
null
UTF-8
Python
false
false
518
py
import os import pytest import testinfra.utils.ansible_runner testinfra_hosts = testinfra.utils.ansible_runner.AnsibleRunner( os.environ['MOLECULE_INVENTORY_FILE']).get_hosts('all') def test_hosts_file(host): f = host.file('/etc/hosts') assert f.exists assert f.user == 'root' assert f.group == '...
[ "nbjwl@live.com" ]
nbjwl@live.com
6dcc3179577ce0122669aa7bf91612de6f07389b
5907240a1c23082e614a78dbf085cf21e7ea0e97
/ProgrammingCollectiveIntellegence/Chapter9/advancedClassify.py
5d4d3bb23c1ad5a7ae915148c3b23c12d047485c
[]
no_license
sadaharu-gintama/SomeCode
b742ec44efded16cad32e872a5c3865da1892de4
fa5361cd0302343208f1ef73acd31947d84a4fb9
refs/heads/master
2021-06-16T18:42:56.617939
2017-06-05T04:56:08
2017-06-05T04:56:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,472
py
import matplotlib.pylab as plt class matchRow: def __init__(self, row, allNum = False): if allNum: self.data = [float(row[i]) for i in range(len(row) - 1)] else: self.data = row[0 : len(row) - 1] self.match = int(row[len(row) - 1]) def loadMatch(f, allNum = False): ...
[ "yi.liu.197@gmail.com" ]
yi.liu.197@gmail.com
ad07d455b953cbe243b84fdd40d6f1f6a9c3f4a2
0119a00c981009a82e30554036062327ed9aef32
/updateSymbols_sql.py
d9c59d9127e04b6d7bb33062f7d1f2d8cc1d1c6a
[]
no_license
tnszabo/thirteenf
25431b69c90670ac55a580726381aa5cf1cc4482
bb24ea69ba61a1d805c0ac599f5d3c23edea1e17
refs/heads/master
2021-01-19T04:28:52.118845
2016-08-16T19:22:12
2016-08-16T19:22:12
65,668,134
0
0
null
null
null
null
UTF-8
Python
false
false
641
py
import thirteenf_sql as db import fidelity_v2 as fidelity import datetime import pandas as pd c = db.getNewCusips() print "New cusips:", len(c) start = datetime.datetime.now() # get names and symbols names = fidelity.getSymbols(c) print "Run time:", datetime.datetime.now() - start print "New symbols:",...
[ "tom@tszabo.com" ]
tom@tszabo.com
21c0443c59c65a77addd1fcc15d3b94c4b037acc
7884d75d9835493ff627d0468e94fe7a838a6aa1
/ocr_server/restapi/recognize.py
ff03aad6edbfd4381bcff7e6a1e274ae8b269893
[]
no_license
fjibj/OCRServer
d2c7c5217046ffbec6f2affdd1c77379f9453d67
e23c23198fc89feb2f714faf2d022b1e21ac2151
refs/heads/master
2020-03-18T18:50:51.501629
2017-01-18T08:35:40
2017-01-18T08:35:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
817
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import yaml CONFIG_PATH = './recognize/config.yaml' CONFIG_DATA = {} def loadConfig(): global CONFIG_DATA f = open(CONFIG_PATH, encoding='utf-8') CONFIG_DATA = yaml.safe_load(f) f.close() for name in CONFIG_DATA: config = CONFIG_DATA[name] ...
[ "=" ]
=
62fd7f83ae140306bbea3251e99b3e08f097a951
61dfa0ac80a6979d135e969b5b7b78a370c16904
/analysis/projections/get_projection_alpha_dm.py
7abcc8371fcb01ab5adfeceb45330d9e01e88595
[]
no_license
bvillasen/cosmo_tools
574d84f9c18d92d2a9610d1d156113730d80f5a4
6bb54534f2242a15a6edcf696f29a3cf22edd342
refs/heads/master
2021-07-13T06:43:32.902153
2020-10-05T21:17:30
2020-10-05T21:17:30
207,036,538
0
0
null
null
null
null
UTF-8
Python
false
false
6,967
py
import sys, os import numpy as np import h5py as h5 import matplotlib.pyplot as plt # from mpl_toolkits.axes_grid1 import make_axes_locatable # import matplotlib.transforms as tfrms # import matplotlib # import matplotlib as mpl # mpl.rcParams['savefig.pad_inches'] = 0 # import palettable.cmocean.sequential as colors ...
[ "bvillasen@gmail.com" ]
bvillasen@gmail.com
cb28bc77c7ffe7a86aca2b6068e51f22b9506545
8128a2fca39015776db33958924c823bb88794b6
/HW4_3_Apriltag/main.py
13e7b0a4eadab0a0d00f75457793037af07803ed
[]
no_license
byron936/HW4
b7767708ecf6d3a7104e8e872524241d55e38894
a8e3779accca18bf61112857a2808c7a9bfca5d7
refs/heads/master
2023-05-29T00:37:08.110145
2021-06-15T22:50:04
2021-06-15T22:50:04
374,660,852
0
0
null
null
null
null
UTF-8
Python
false
false
4,751
py
'''import pyb import math import sensor import image import time enable_lens_corr = False # turn on for straighter lines... sensor.reset() sensor.set_pixformat(sensor.RGB565) # grayscale is faster sensor.set_framesize(sensor.QQVGA) sensor.skip_frames(time=2000) clock = time.clock() # All lines also have `x1()`, `y1...
[ "cm9930914@gmail.com" ]
cm9930914@gmail.com
18cb031ce6319630a87080c1a289dd048cab29ae
de328c69238b9c730781ab79bac50610bc36e53d
/wdreconcile/wikidatavalue.py
4df3de858fb6e93247823146a60dd6052bb2d42b
[ "MIT" ]
permissive
Henri-Lo/openrefine-wikidata
c6ac2870fe8f5e1210edf001ad81e233aa9bde82
5df3ee99f8658c6bb2501cadaaf8a628e18d8843
refs/heads/master
2021-01-01T18:27:13.254163
2017-07-25T18:32:19
2017-07-25T18:32:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,008
py
import dateutil.parser from urllib.parse import urlparse, urlunparse import math from .utils import to_q, fuzzy_match_strings, match_ints, match_floats wdvalue_mapping = {} def register(cls): wdvalue_mapping[cls.value_type] = cls return cls # TODO treat somevalue and novalue differently class WikidataValue...
[ "antonin@delpeuch.eu" ]
antonin@delpeuch.eu
1272736d3a8880723999a6aae6bed0354ffd6e63
8cff329c19482621fd4950d2f2749f495a974178
/Day16 - OOP/money_machine.py
32ef9f42d44c5aaadf80ad79690404be12032f85
[]
no_license
redoctoberbluechristmas/100DaysOfCodePython
4caee023026800cd4ab9de3c1120543bec9668db
19e68d67de39c679061dfc155488aca99d84d897
refs/heads/master
2023-07-27T05:35:51.966925
2021-09-11T16:02:49
2021-09-11T16:02:49
323,444,972
0
0
null
null
null
null
UTF-8
Python
false
false
1,280
py
class MoneyMachine: CURRENCY = "$" COIN_VALUES = { "quarters": 0.25, "dimes": 0.10, "nickles": 0.05, "pennies": 0.01 } def __init__(self): self.profit = 0 self.money_received = 0 def report(self): """Prints the current profit""" prin...
[ "redoctoberbluechristmas@protonmail.com" ]
redoctoberbluechristmas@protonmail.com
5b2179a2439730b1162882adb56bcf9da6062535
2bb90b620f86d0d49f19f01593e1a4cc3c2e7ba8
/pardus/tags/2008.1/applications/games/simutrans-waste/actions.py
9fcfaccbd3668b1ec6905a88338d406b19946b22
[]
no_license
aligulle1/kuller
bda0d59ce8400aa3c7ba9c7e19589f27313492f7
7f98de19be27d7a517fe19a37c814748f7e18ba6
refs/heads/master
2021-01-20T02:22:09.451356
2013-07-23T17:57:58
2013-07-23T17:57:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
627
py
#!/usr/bin/python # -*- coding: utf-8 -*- # # Licensed under the GNU General Public License, version 2. # See the file http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt from pisi.actionsapi import shelltools from pisi.actionsapi import pisitools import os def fixperms(d): for root, dirs, files in os.walk(d): ...
[ "yusuf.aydemir@istanbul.com" ]
yusuf.aydemir@istanbul.com
7a2568b90975aa483686fc1009ae279abc99eaf3
50cd3151800fc03c3db208e6e48e3e04a788ea42
/msgraph-cli-extensions/src/notes/azext_notes/generated/_help.py
e0b33cf8f597cbaaaddafecb124637bf587c9a66
[ "MIT" ]
permissive
isabella232/msgraph-cli
ba761b1047f9b71fd6b86fa1feedc4a949602eeb
de2e0381ec29e6e0cd7ab47d75f4e7e80e1c1e2b
refs/heads/main
2023-01-21T09:22:13.246565
2020-10-12T13:55:28
2020-10-12T13:55:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
986,960
py
# -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incor...
[ "japhethobalak@gmail.com" ]
japhethobalak@gmail.com
1555377c41913fd09e80066305f590bfe9a837ce
e48f531f7bd40f42ded18e521653feaaca1cea19
/test.py
26b621242fc797d3e04effb2e796351829e73dbc
[]
no_license
konata39/HW3.py
63a655bd8606666b28eef612fe57d7efc4b82ccd
a0569ed39f4642d401286058d74c9a95e4d549f8
refs/heads/master
2020-03-28T07:12:37.397418
2016-06-21T16:44:54
2016-06-21T16:44:54
60,108,859
0
0
null
null
null
null
UTF-8
Python
false
false
428
py
file = open(sys.argv[2], 'r') result = {} found_1 = 0 found_2 = 0 for line in file: spilt_pair = line.split("\twikiPageRedirects\t") spilt_pair[1] = spilt_pair[1].split("\n") if spilt_pair[0] in result.keys(): result[spilt_pair[0]] = result[spilt_pair[0]] + 1 else: result[spilt_pair[0]]=1 if spilt_pair[1][0] i...
[ "noreply@github.com" ]
konata39.noreply@github.com
20ef4d64c7f687955aabb1cd7657f03e26d0dd2a
9f04c2977434c5854e889b424e34593fa9f938d1
/util.py
130285a7131223a594293f1fb1627d28ff4bb93f
[ "MIT" ]
permissive
B10856017/chatbot_telegram_dialogflow
f5ca40d1d5568864c9944ea919fa36707d356523
b33172951c5513b1b60e68a1b5893506a073c397
refs/heads/main
2023-05-04T19:57:51.495156
2021-05-26T04:00:17
2021-05-26T04:00:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
858
py
# https://code.activestate.com/recipes/410692/ # This class provides the functionality we want. You only need to look at # this if you want to know how this works. It only needs to be defined # once, no need to muck around with its internals. class Switch(object): def __init__(self, value): self.value...
[ "noreply@github.com" ]
B10856017.noreply@github.com
6b8ccbd8a85bd0978cc793d7598f0530a85e9cb4
81e11e47150ac47426151af9c7cfb59694f725f2
/jogo nim.py
462bde74e4e7d54a65e55a8e7917be51fd65c0bd
[]
no_license
MCirilo/Estudos
efbce220e5c33a9c11fe211a1dc09d9ad7ad172e
4694f6bac88016daa38cf7ff55f5d5b9ce13ec26
refs/heads/master
2020-06-25T20:21:11.925091
2019-07-29T08:41:37
2019-07-29T08:41:37
199,413,100
0
0
null
null
null
null
UTF-8
Python
false
false
2,645
py
def computador_escolhe_jogada(n, m): computadorRetira = 1 while computadorRetira != m: if (n - computadorRetira) % (m+1) == 0: return computadorRetira else: computadorRetira += 1 return computadorRetira def...
[ "noreply@github.com" ]
MCirilo.noreply@github.com
96c59b253768c26f43bbf64f7bd1c655facbbaca
a7347bd30b2bfc61ef2272f43dc6a583ca50ea85
/timeline/libs.py
c42effe7d5e3101417501dfbf42f6af42021117f
[ "MIT" ]
permissive
Sergey19940808/blog
cb5a731a5b1af3e3ffe22d03ae554188b573051c
26beea5b218ddfe3347e251994c5c2f500975df0
refs/heads/master
2022-04-11T06:56:05.171087
2020-03-21T13:59:45
2020-03-21T13:59:45
248,254,285
0
0
null
null
null
null
UTF-8
Python
false
false
457
py
class GetSubscribeRecordIdsMixin: def get_subscribes_record_ids(self, subscribes_by_blog): subscribes_record_ids = [] for subscribe_by_blog in subscribes_by_blog: subscribes_record_ids.extend( [ subscribe_record.get('id') for subscr...
[ "aleksey.serzh@mail.ru" ]
aleksey.serzh@mail.ru
9ce8ba8ed02d447b630541ebffebfeb1900a1f8a
83c62d10899b4e5d7028915a9f727bcdec0f861c
/reports/tests.py
e868d5496f433f94b227b269b675d01567a51c08
[ "Apache-2.0" ]
permissive
meetjitesh/cito_engine
1b70139d762a9540bc40d2544ff4c9884de4eef3
ae63ff1147fa1c536dc2673e873768e5624b40bb
refs/heads/master
2020-12-26T10:45:52.137856
2014-05-18T14:19:38
2014-05-18T14:19:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
618
py
"""Copyright 2014 Cyrus Dasadia 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 distr...
[ "cyrus@extremeunix.com" ]
cyrus@extremeunix.com
22bb5262bfdf64575926a0fa28d985c7f98f04dd
2f9b7689ef4afebf5f09e6f6ef0865b449482c60
/milestone_1/ridge_10cv_scan_lambda.py
8853d9d3571ae10a74e82ac58712bcaee62d8601
[]
no_license
jlandman/CSE517A-Application-Project
8b07d7e4cf91039ce85bf2c613375a519b2044be
d14c5549a36d44686ef873cef236f9e393f2b8ab
refs/heads/master
2021-05-01T03:19:03.994812
2018-05-07T23:48:23
2018-05-07T23:48:23
121,190,419
2
0
null
null
null
null
UTF-8
Python
false
false
2,379
py
import numpy as np import math from sklearn import linear_model from sklearn.model_selection import KFold import matplotlib.pyplot as plt def cross_val_error(X,Y,lam): insample = 0.0 outsample = 0.0 kf = KFold(10) for train_index, test_index in kf.split(X): Xtr = X[train_index] Ytr ...
[ "glickzachary@gmail.com" ]
glickzachary@gmail.com
43dc9ca7fee52eea74438ce9d6652081a92314f5
148bb391b6476230b864f070fed1424df50a65ff
/BRG_to_HSV/recognition.py
ee40a11ae3efdb03775f1a407cb245447c592fc3
[]
no_license
parshvas25/OpenCv_Python
9e4a3985cddd9caae18963047d376e905268effc
94de46ada177428b2101e9b09c6cc9466c7a019b
refs/heads/master
2020-05-25T19:58:01.432176
2019-06-21T04:31:55
2019-06-21T04:31:55
187,964,643
2
0
null
null
null
null
UTF-8
Python
false
false
589
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Tue May 21 11:22:28 2019 @author: parshvashah """ import cv2 import numpy as np from matplotlib import pyplot as plt BGRImage = cv2.imread('turtle.jpg') #plt.imshow(BGRImage) RGBImage = cv2.cvtColor(BGRImage, cv2.COLOR_BGR2RGB) #plt.imshow(RGBImage) hsv_...
[ "noreply@github.com" ]
parshvas25.noreply@github.com
2941a49805c7649c3387fa6627205b414ac1750d
7f1ffa9d929d572ea8fea3477c4341cc138f99e6
/easy_rec/python/inference/predictor.py
9c2248c96c2166035a102c1255ca44d0562aa158
[ "Apache-2.0" ]
permissive
xinghudamowang/EasyRec
004a104a33206e2ba594e5590fb67652837d6c05
5a68c589a6bd6809d6da9b070be63e315ed7ea91
refs/heads/master
2023-08-28T03:53:17.003770
2021-11-11T08:24:11
2021-11-11T08:24:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
18,904
py
# -*- encoding:utf-8 -*- # Copyright (c) Alibaba, Inc. and its affiliates. from __future__ import absolute_import from __future__ import division from __future__ import print_function import abc import logging import math import os import time import numpy as np import six import tensorflow as tf from tensorflow.core...
[ "chengmengli06@qq.com" ]
chengmengli06@qq.com
df1199ce98947f77019b2fc3ee51342bf6b3f2a9
b5aedecd9c928f39ded89b0a7f209e75cf326a89
/while loop.py
476a566393fcf3d1fd272659a93d790c2f949038
[]
no_license
Aneesawan34/Assignments
f945e0e5e413e4812e64bb719eee019e0f409219
d57d59bdd74da67e2e20eab703e63a05fe245484
refs/heads/master
2021-09-08T00:57:36.587495
2018-03-04T21:29:04
2018-03-04T21:29:04
112,734,643
2
0
null
null
null
null
UTF-8
Python
false
false
131
py
current_value = 1 my_name=" anees" while current_value <= 5: print(str(current_value) + my_name.title()) current_value += 1
[ "aneesawan34@yahoo.com" ]
aneesawan34@yahoo.com
64217402f5ba7531d6d16c011e9923000e824b9a
919e74f05976d9ea5f28d5dcf0a3e9311a4d22b2
/conans/test/integration/cache/test_home_special_char.py
9c8ad39a70060a614aa24ffe500e1e6c0b312817
[ "MIT" ]
permissive
thorsten-klein/conan
1801b021a66a89fc7d83e32100a6a44e98d4e567
7cf8f384b00ba5842886e39b2039963fc939b00e
refs/heads/develop
2023-09-01T12:04:28.975538
2023-07-26T10:55:02
2023-07-26T10:55:02
150,574,910
0
0
MIT
2023-08-22T14:45:06
2018-09-27T11:16:48
Python
UTF-8
Python
false
false
2,319
py
import os import platform import pytest from conans.test.utils.test_files import temp_folder from conans.test.utils.tools import TestClient import textwrap _path_chars = "päthñç$" @pytest.fixture(scope="module") def client_with_special_chars(): """ the path with special characters is creating a conanbuild.bat...
[ "noreply@github.com" ]
thorsten-klein.noreply@github.com
8213be913811367f84c82f598abfd0d655db5a67
16c1964238da72cfd8ed4771e3f0007d5d5dfbc9
/workers/urls.py
5f3ac1a365cb20dd27c4c209cd0650d751d4ee03
[]
no_license
fatima2030/mraseel
6dea6a4a4089bdac50d6045ec8ddf09b20bb6064
739c8e4d291eef29c7a5af5c53425f9a66de4c4b
refs/heads/master
2023-02-01T20:27:03.417628
2020-12-19T21:15:41
2020-12-19T21:15:41
322,831,871
2
0
null
null
null
null
UTF-8
Python
false
false
522
py
from workers import views from workers.views import Login,RegistrationView,ProfileDetailView,JobsView from django.urls import path app_name = 'workers' urlpatterns = [ path('register/', RegistrationView.as_view(), name='worker_user' ), path('login2/', Login.as_view(), name='login2' ), path('profile/m...
[ "71964561+fatima2030@users.noreply.github.com" ]
71964561+fatima2030@users.noreply.github.com
2fd3bcd0b1e0a265de56a4a6fcf68eb7015bb7eb
98c6ea9c884152e8340605a706efefbea6170be5
/examples/data/Assignment_6/sngakh004/question4.py
64ef79e9395c406a90e97ab814688ab603b0c013
[]
no_license
MrHamdulay/csc3-capstone
479d659e1dcd28040e83ebd9e3374d0ccc0c6817
6f0fa0fa1555ceb1b0fb33f25e9694e68b6a53d2
refs/heads/master
2021-03-12T21:55:57.781339
2014-09-22T02:22:22
2014-09-22T02:22:22
22,372,174
0
0
null
null
null
null
UTF-8
Python
false
false
985
py
"""Akhil Singh SNGAKH004 Program to draw a histogram of class mark data. 23 April 2014""" #Get class marks from user class_mark=input("Enter a space-separated list of marks:\n") #Converting a string into a list of intergers class_mark=class_mark.split() for a in range(len(class_mark)): class_mark[a]=ev...
[ "jarr2000@gmail.com" ]
jarr2000@gmail.com
4370fe568105d6947b4b17e170453c6a279fbf30
3f3471faa4a693fb18adb651500753f637ab1916
/book.py
65bdcf54cb5837e194d347af766617add40fcbf4
[]
no_license
sarte3/pj5
1f7a54fc5a6e78a3e803416787ea32c3626761cd
afdb2dd49292c8647f9dec5a061a8d4f1bba06d7
refs/heads/master
2023-03-06T04:11:22.607225
2021-02-25T05:17:36
2021-02-25T05:17:36
342,131,195
0
0
null
null
null
null
UTF-8
Python
false
false
1,384
py
from datetime import datetime import pandas as pd import matplotlib.pyplot as plt # 한글처리 from matplotlib import font_manager, rc fontname = font_manager.FontProperties(fname='malgun.ttf').get_name() rc('font', family=fontname) import json import os import sys import urllib.request client_id = "twrhEE4LU8HoKxIrMwzM" ...
[ "sarte@outlook.kr" ]
sarte@outlook.kr
d864b1f1950e3c4adba5e11db324cb046ce4f2db
bb2fe96e921cf6e9b29026a4b4ff13ec683b8211
/heartrisk.py
70ddf43f662ad125b0d35de9dc48f1a5b22abf51
[]
no_license
vinayaklal98/Heart-Disease-Risk-Prediction-
bf4fb7ee969fb26b65cee813652a9b17824d5595
63e93f44fc14c193f65a57869ac8420b24e1f602
refs/heads/master
2023-02-05T15:05:06.157969
2020-12-30T06:51:23
2020-12-30T06:51:23
325,477,682
0
0
null
null
null
null
UTF-8
Python
false
false
1,031
py
from flask import Flask,render_template,request import joblib import numpy as np import warnings warnings.filterwarnings("ignore") model=joblib.load('heart_risk_prediction_regression_model.sav') app = Flask(__name__) @app.route('/',methods=['GET']) def index(): return render_template("patient_details.html") @ap...
[ "vinayaklal98@gmail.com" ]
vinayaklal98@gmail.com
e548f54d3a7c8da2d51938e1da6415835d9d5685
94f156b362fbce8f89c8e15cd7687f8af267ef08
/midterm/main/permissions.py
57ee4beb272ac8cfc9255ea149ac2f53b1a21476
[]
no_license
DastanB/AdvancedDjango
6eee5477cd5a00423972c9cc3d2b5f1e4a501841
2b5d4c22b278c6d0e08ab7e84161163fe42e9a3f
refs/heads/master
2020-07-17T19:21:16.271964
2019-12-03T21:58:51
2019-12-03T21:58:51
206,081,522
0
0
null
null
null
null
UTF-8
Python
false
false
1,228
py
from rest_framework.permissions import IsAuthenticated, BasePermission from users.models import MainUser class ProductPermission(BasePermission): message = 'You must be the authenticated.' def has_permission(self, request, view): if view.action is 'create': return request.user.is_superuser...
[ "dastan211298@gmail.com" ]
dastan211298@gmail.com
754a283bfa2fe8ab5210ac909f41b2f0798b8fd7
6902af02d25bb26f091a3f2674af0f903210e461
/manage.py
01f2b400bb4a31395b2de1ae8eebfdcb7ea60394
[]
no_license
ahmadebtisam3/django-redis-chasing
5b14a9134a6f5f0cbe0bb416d94af128472aa7dd
5c271ca426509a6d73187898594e83b11f756ee8
refs/heads/master
2023-08-14T14:45:04.574871
2021-09-30T10:59:21
2021-09-30T10:59:21
412,029,465
0
0
null
null
null
null
UTF-8
Python
false
false
668
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): """Run administrative tasks.""" os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'RedisCashing.settings') try: from django.core.management import execute_from_command_line except...
[ "ahmadebtisam3@gmail.com" ]
ahmadebtisam3@gmail.com
0d7a29612c94c3aff018646361474a2b36fa2b89
ebaf0a5aa1814214cd362d9eefd4dcfc865373f9
/rf-main/src/recency_frequency.py
726b069cb39d6a509edcccf2db976c24ef4827f3
[ "MIT" ]
permissive
sfnanalytics/rf
5aedcc0e866aa0bfd48ae209b64aa7d1a52464d7
b17593070e371e98ca3c552711e4cc87ad010860
refs/heads/main
2023-04-01T16:41:49.545640
2021-04-13T19:32:51
2021-04-13T19:32:51
351,134,141
0
0
null
null
null
null
UTF-8
Python
false
false
2,188
py
# Membership Recency + Frequency # Membership Recency + Frequency import pandas as pd import glob import os import sys path = os.getcwd() # use your path all_files = glob.glob(path + "/*.xlsx") # print(all_files) li = [] for filename in all_files: df = pd.read_excel(filename, #engine='openpyxl', skiprows=2...
[ "jweinapple@sfn.org" ]
jweinapple@sfn.org
f0e40c9efa5cf541e7b15f1bd98727ed54f47496
e98ca69c0c517098f21f8e780b65a25b866a6975
/end_to_end_tests/client_test.py
12ec6696f8fe7055c63efa19d021abaa7b622d0d
[ "Apache-2.0" ]
permissive
wajihyassine/timesketch
6db935f34324d64da10106088509faa400888546
e508b6a3e60e54bac50d275dd93d6c1c6c0359d1
refs/heads/master
2023-06-22T00:36:01.245595
2023-06-09T14:12:49
2023-06-09T14:12:49
213,988,343
0
0
Apache-2.0
2019-10-09T18:01:29
2019-10-09T18:01:28
null
UTF-8
Python
false
false
10,440
py
# Copyright 2020 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 a...
[ "noreply@github.com" ]
wajihyassine.noreply@github.com
67d522dfc5a4b2ef058c2780218d6e3a6643b97a
8ed1cc347a70ecfcc8b1510c036244539bd0227b
/request.py
7fc89045b60758747835a4afe60c35ac0387c87e
[]
no_license
thatdanish/Keras-RestAPI_eg_ResNet50
efa59ea0655d79c281559903b1725141657178b8
6027cb6bd1f497bf9a4bdd8fe0d51775c6fd5e59
refs/heads/master
2022-11-15T07:30:08.530558
2020-07-11T05:37:56
2020-07-11T05:37:56
278,796,100
0
0
null
null
null
null
UTF-8
Python
false
false
330
py
import requests url = 'http://localhost:3000/predict' image_path = 'dog.jfif' image = open(image_path,'rb').read() payload = {'image':image} r = requests.post(url,files=payload).json() if r['success']: for (i,result) in enumerate(r['predictions']): print(i,result) else: print('Reques...
[ "noreply@github.com" ]
thatdanish.noreply@github.com
aa228be134ad0fd021196aa26da34874f256bab8
15c24ee280cadc05b9db7c5b79fde298d583e17d
/spider/test1/test1/items.py
407f6df6cde41628ca281793e108f1b52a3ba5a0
[ "Apache-2.0" ]
permissive
shyorange/MovieWebsite
b0476547fd46726d8f1be75b56068d43c7eae867
aaf3be332b9f944ea93fbd841e1758b4a11d4581
refs/heads/master
2020-04-12T09:48:37.475528
2019-01-05T10:22:48
2019-01-05T10:22:48
162,408,888
0
0
null
null
null
null
UTF-8
Python
false
false
1,394
py
# -*- coding: utf-8 -*- # Define here the models for your scraped items # # See documentation in: # https://doc.scrapy.org/en/latest/topics/items.html import scrapy # 电影天堂的Item类 class Test1Item(scrapy.Item): # define the fields for your item here like: # name = scrapy.Field() movie_name = scrapy.Field();...
[ "mr.fatter@qq.com" ]
mr.fatter@qq.com
362fdceb16b7af2c8c4fd778a23f14a23f4e918d
a0ea7bc7ec0fa0ca5a0a1624f7c853bbcf1180da
/statsboard.py
35a271daabc757b3c9cd3eda4aac8414cd9ec55c
[]
no_license
frogfather78/Questy_quest
2a2dbcf9da91addcf63d54aefcb1a0e525f78fda
b826f3a40228de7fbcd4866d6370b7d194d2a234
refs/heads/master
2020-08-01T14:15:00.756965
2020-06-07T20:34:35
2020-06-07T20:34:35
73,573,936
0
0
null
2018-05-31T16:11:43
2016-11-12T19:33:58
Python
UTF-8
Python
false
false
2,046
py
import pygame.font from pygame.sprite import Group from quester import Quester level_limits = [0, 10, 100, 300] class Statsboard(): """to show quester's stats""" def __init__(self, screen, quester): """set up some things for the board""" self.screen = screen self.screen_rect = screen.get_rect() #font ...
[ "frogfather@gmail.com" ]
frogfather@gmail.com
ef9ccaa8e5773f7b498712d204a323eb30753369
58c2d945597308d985b1d95166c1eb743c4ff0dd
/ddw_crawler/ddw_crawler/middlewares.py
a8e9efd8f2a125f150db4297dec43eb4a690d6ab
[ "MIT" ]
permissive
ggljzr/scrapy-spider
b96a9a3ce62c9cbed2e1f8abb80951ca7a14276f
a9c3a488671451fc6df328b2b8e2656ea12824e5
refs/heads/master
2020-05-21T10:15:38.204426
2017-03-12T11:02:44
2017-03-12T11:02:44
84,613,881
0
0
null
null
null
null
UTF-8
Python
false
false
1,884
py
# -*- coding: utf-8 -*- # Define here the models for your spider middleware # # See documentation in: # http://doc.scrapy.org/en/latest/topics/spider-middleware.html from scrapy import signals class DdwCrawlerSpiderMiddleware(object): # Not all methods need to be defined. If a method is not defined, # scrap...
[ "cerveon3@fit.cvut.cz" ]
cerveon3@fit.cvut.cz
4523705994d512150e1159dc7a4886ab6ee31be1
8804ceaa8b2c136cc92f7eb4ef633f20cc505cc6
/ddby/money.py
9480a5f8a8b8ddfde257068f8e12c20166d37e2f
[]
no_license
shazow/ddby
7e1186e711b74d5d7f4f5ae73251d64b08238fd2
3a06b63404fc403c8ab27e3fcbc62fc6c5e855fc
refs/heads/master
2020-02-26T14:48:13.468787
2013-03-28T03:39:18
2013-03-28T03:39:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,399
py
# -*- coding: utf-8 -*- from .error import InvalidOperationException from .currency import get_currency, Currency __all__ = ['Money'] class Money(object): "An object representing money" def __init__(self, amount, currency): if isinstance(currency, basestring): # Currency code was ...
[ "brian@btoconnor.net" ]
brian@btoconnor.net
7bbe3d2066efd578b09eee3aee8ab3d57cc65694
c95310db610fd4ca1899903d3982d0733c2c693d
/problems/reverse_bits/solution.py
5fbfca10974c1a7d264cfe02ae82088da1d3273a
[]
no_license
findcongwang/leetcode
e8cbc8899a6af2134de66d6ff1a1ead4c10d38e6
f52ea63fc0680613a3ebf3f3b4e4f1be7bbfd87c
refs/heads/main
2023-02-25T17:33:41.270128
2021-01-29T17:57:15
2021-01-29T17:57:15
306,998,473
0
0
null
null
null
null
UTF-8
Python
false
false
221
py
class Solution: def reverseBits(self, n: int) -> int: count = 31 num = 0 while n > 0: num = num + ((n&1) * 2**count) n = n >> 1 count -= 1 return num
[ "findcongwang@gmail.com" ]
findcongwang@gmail.com
8b8bf90de1cd2ddf69c3dc799118a8896b9a845e
3a796615364d0f6d3053b0fce5748301399923a3
/toos/blast生成/blast.py
80851279b1f9eedcd6262aaa62de30ca4626eb73
[]
no_license
lkiko/data
d1df57c17cc7f44e5552d94ca2308b13a966cc17
d0405c612b4b642cacac0afb757bcfcb7b38a9ad
refs/heads/master
2022-12-19T03:18:34.626267
2020-09-16T01:43:53
2020-09-16T01:43:53
295,779,980
0
0
null
null
null
null
UTF-8
Python
false
false
1,083
py
#coding = utf-8 ##blast.py调用cmd执行blast #基础文件为faa和物种列表 ### ###by charles lan### ###邮箱:charles_kiko@163.com### ### import os from multiprocessing import cpu_count#读取CPU核心数用于匹配线程数 name=[] for line in open("test.txt",mode='r'):################# x=line if (x!='' and x!="\n"): x=x.strip("\n") lt=x.split("\t") name....
[ "2177727470@qq.com" ]
2177727470@qq.com
acc0a1be6531ff69b956ab61565fa4ebda0839ee
5cc94ad2377777067e7e9fad08823f201b790a63
/github-backup
94c4a4a40db48d1d39243f0149b93648e9e996ca
[]
no_license
rrosajp/github-backup
86ea44a6addd24072cfe150de2be4c4a71310720
a538de0bd0a29b82f4cc669cf60132aa83548469
refs/heads/master
2022-03-17T23:15:25.856395
2019-11-27T19:02:35
2019-11-27T19:02:35
273,772,938
1
0
null
2020-06-20T19:37:44
2020-06-20T19:37:43
null
UTF-8
Python
false
false
4,511
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # # github_backup.py # # Copyright 2017 Spencer McIntyre <zeroSteiner@gmail.com> # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redistributions of source cod...
[ "zeroSteiner@gmail.com" ]
zeroSteiner@gmail.com
021d848039bc9120c983a8803aeb88354a9905c5
5a3b5e97dd995da304a3cdc8588c196307938dab
/Start2Run.py
d7400a2ec27b4eb316602d6dfcc0f3d49c7c9b6c
[]
no_license
micai20171009/mouse
dd43617f6adcfc0820dbfb6e46cf702f5f32c2b3
74402f5a008636540a3e1b07a8069d15ed577857
refs/heads/master
2021-04-12T08:27:27.918839
2018-03-19T14:26:02
2018-03-19T14:26:02
125,953,744
0
0
null
2018-03-20T03:12:37
2018-03-20T03:12:37
null
UTF-8
Python
false
false
821
py
import os import sys import utils_params import runner import utils_log BASE_FILE = os.path.dirname(os.path.abspath(__file__)) if __name__ == "__main__": test_modules = {} requirement_id = '' case_list = [] if len(sys.argv) < 2: print "Usage of %s:" % sys.argv[0] print " For run test l...
[ "yhong@redhat.com" ]
yhong@redhat.com
3fb43fde0c3c30ff359ad45502555447f39d8cdb
6543e5bfec2f2d89ac6a7e42e8f38d2f3df26615
/1306JumpGameIII.py
5545d7464d227a8cbade8389f59323cc7f68b298
[]
no_license
adityachhajer/LeetCodeSolutions
bc3136fa638a3b2c7d35e419a063e9ce257bc1af
693fd3aef0f823f9c3cfc14c3d1010584b7a762d
refs/heads/master
2023-02-17T08:21:00.064932
2021-01-19T14:05:08
2021-01-19T14:05:08
270,973,258
2
1
null
2020-09-30T18:30:21
2020-06-09T10:33:39
Python
UTF-8
Python
false
false
532
py
class Solution: def solve(self,arr,start,ans): if start>=len(arr) or start<0: return False elif arr[start]==0: # ans[start]=True return True elif ans[start]==1: return False else: ans[start]=1 return self....
[ "noreply@github.com" ]
adityachhajer.noreply@github.com
467e17853ada885fa0d37ed0071733eda9281dbe
55b4e2af8ce2a7ad282eee11a6c6611f3eafaed5
/jumper.py
4db12882f3121ddfb06ca6236e3e9bf8ca1c2422
[]
no_license
electricdarb/bored-projects
2b0a092560c1e5d5bdc3dca3d3cfd45c27fca36d
ef0ea532bd248c081c402f20b410342a45beddfd
refs/heads/master
2020-12-20T23:06:20.549449
2020-04-25T00:56:02
2020-04-25T00:56:02
236,235,216
0
0
null
null
null
null
UTF-8
Python
false
false
3,483
py
import pygame from util import randomize_color, sequencial_color, box import math import random from time import sleep from time import time """ this is honestly some of my worst code, im writing this during class bc class is boring i was writing fast, some small aspects are hard coded. this was stupid of me comme...
[ "noreply@github.com" ]
electricdarb.noreply@github.com
27f04a2798064a552630d19e0789beea800c099a
5e5a13e522fdb0797f24bb7b273b3873e31c70fa
/lesson2.py
5e27812224a792e72d313ff19169f1706a5ceb4c
[]
no_license
niha28/bingo_python_lesson
d04be0953dc948ce25116b099dea6619a6a0ba9b
afacf4f428b3dccbdd045d1176b931525d1b23ce
refs/heads/master
2023-06-24T17:16:48.559058
2021-07-19T06:50:46
2021-07-19T06:50:46
386,899,734
0
0
null
null
null
null
UTF-8
Python
false
false
1,517
py
# プログラミングの基礎である計算とデータの形を学ぶ # 文字列と数字が違うものということだけしっかり伝えてください. # データの形による出力の差 # pythonでは数字と文字は別々なもの print(1) # 数字の場合は計算される print(1+2+3) # 文字の場合はそのまま出る print("1+2+3") # 四則演算に関する演算子 # 和差積商ができる print(3-2+1) A = 3*2+(3-5)/2 print(A) # 割り算のあまり print(3%2) # 割り算の切り捨て print(7//3) # 乗算 print(3**5) # inputで入力された値は文字列 """ print("...
[ "u55773sh@gmail.com" ]
u55773sh@gmail.com
fe1a0e8c9ddaa1a7fa94404a66e4dc8769440385
e2a006a139330bca613169e547e185b1a5048646
/L8/busca_punto.py
a31fad5cb4ef87ebcb323606529b9ccf720bee06
[]
no_license
Mi7ai/EI1022
013d54d470b38c125503c0173b355cc7bc681784
f80d5b4f99e1427fd5c2673499a3eee0d1dfc1ca
refs/heads/master
2020-03-29T13:54:58.231532
2018-12-05T13:50:27
2018-12-05T13:50:27
149,988,593
0
0
null
null
null
null
UTF-8
Python
false
false
976
py
def busca_punto_rec(v): def rec(b: int, e:int ): if e-b == 0: return None h = (b+e)//2 if v[h] < h: return rec(h,e) elif v[h] > h: return rec(b,h) else: return h return rec(0, len(v)) #para acasa hacrlo sin recursividad # def busca_p...
[ "hottmayer@gmail.com" ]
hottmayer@gmail.com
7e8185b954c7aad21024d466b6adf503e4442918
4664bb1572d1d9bb90f99a11016d0fbe9b28c632
/search/utils/constants.py
647ceca9fa4eb44b99e06938b96dd418393a4d69
[]
no_license
prdx/Indexer
32cfbf05dfec595c00550322859260c15a2906e8
08b52734b293cb2f0a57ed74d818ece70425711f
refs/heads/master
2020-03-22T23:22:27.947273
2018-07-20T16:27:40
2018-07-20T16:27:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
494
py
class Constants: CACHE_PATH = './cache/' DATA_PATH = './AP_DATA/ap89_collection/' DOC_TYPE = 'document' DOCLIST_PATH = './AP_DATA/processed_doclist.txt' ES_SCRIPTS_PATH = './es/' INDEX_NAME = 'ap89_collection' MAX_OUTPUT = 1000 RESULTS_PATH = './results/' STOPWORDS_PATH = './AP_DATA...
[ "astungkara.project@gmail.com" ]
astungkara.project@gmail.com
60fa94a477c735bce770c654cb01942e4d75606d
910abac65a2e48139956e727b90b84225ff3554a
/src/controller/user.py
3a530fb72fadd3cc40c7ee3e6572b3cfe2f4f4f6
[]
no_license
joaocpinto/serverless-api-bootstrap
823abd38533953db26ed6666db8fa26e8a1e0832
484aa960d4fef8c30a52e4cee72e512a38e1a4f5
refs/heads/main
2023-08-11T01:44:05.799520
2021-09-26T21:22:06
2021-09-26T21:22:06
410,648,811
0
0
null
2021-09-26T21:22:07
2021-09-26T19:54:49
Python
UTF-8
Python
false
false
1,594
py
import json from aws_lambda_powertools import Logger from datetime import date from src.helper.config import Config from src.service.dynamodb import DynamoDbService from src.model.user import UserModel class UserController: """ Class containing user logic """ def __init__(self, logger: Logger = Non...
[ "joao.caldeira.pinto@gmail.com" ]
joao.caldeira.pinto@gmail.com
3c5a792df436f3e0e34534c2f0ed5d38c96f3568
ace3b915478d60af81ec1439a4edb4849a87baee
/envname/bin/pip3
283bbf83e9b528687c90db6714772a3f49bb11aa
[]
no_license
Satya753/DYNAMIC-SLICING
1dbec199350bdc97fbe72f4cf6a7843052fd5c58
3725a17fe8631a7e55c7b15a898b8c94c1bcf683
refs/heads/master
2022-11-12T17:23:29.330248
2020-07-07T14:22:04
2020-07-07T14:22:04
257,921,691
2
0
null
null
null
null
UTF-8
Python
false
false
259
#!/home/satya/Documents/dyn_slice/envname/bin/python3 # -*- coding: utf-8 -*- import re import sys from pip._internal.cli.main import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "satyajeet753@gmail.com" ]
satyajeet753@gmail.com
8c70839fbca911c28cb64833edc09ca68c394b6f
e7605b31e3c6ff5558c171ee7fc4c7e7f7276694
/scripts/sppIDer_lite.py
e3edd378c9567f74bedadb6e9a62f5f098876dd0
[]
no_license
JingxuanChen7/sppIDer
e0bdad8e8b1f421d1dcefd5bbf07baf0f625267b
b2e465c265f16e8c801ffdd54861eb8a2a43058d
refs/heads/master
2020-05-07T15:53:09.846610
2019-04-26T21:27:05
2019-04-26T21:27:05
180,657,454
0
0
null
2019-04-10T20:19:27
2019-04-10T20:19:27
null
UTF-8
Python
false
false
8,803
py
__author__ = 'Quinn' import argparse, multiprocessing, sys, re, subprocess, time ################################################################ # This script runs the full sppIDer pipeline. # Before running this you must make your combination reference genome with the script combineRefGenomes.py # This script will ...
[ "jc33471@uga.edu" ]
jc33471@uga.edu
60d9d38344aaddba363d2f41e13945ad44bac4c0
425be4acf66cd46fb2a9fd022ef5b748cdaef028
/29_includes/includes.py
1e5929c7b8f6690f159ef2ba930d3eb3aa92656a
[]
no_license
john-tettis/python-ds-practice
2888a38dbf3f4bb530a04f535b270e13ffef1433
261f9cefb8d5488acd6eb9354696f807152b5388
refs/heads/master
2023-03-06T04:20:09.338164
2021-02-18T18:07:36
2021-02-18T18:07:36
340,136,151
0
0
null
null
null
null
UTF-8
Python
false
false
1,303
py
def includes(collection, sought, start=None): """Is sought in collection, starting at index start? Return True/False if sought is in the given collection: - lists/strings/sets/tuples: returns True/False if sought present - dictionaries: return True/False if *value* of sought in dictionary If strin...
[ "johndavidtettis@gmail.com" ]
johndavidtettis@gmail.com
cada0de202a4c12c7482abbcfd7991b7cca60c85
92034199e3beb9830ff1d91447a68f207368ebe6
/pimdm/mld/wrapper/NoListenersPresent.py
063c81c82765c4c8fd2bcf3aea51f593331c8712
[ "MIT" ]
permissive
elvissmog/pim_dm
f6a90457ec7fed9d88a465bdf55e0f53e57cc2b6
75439b90bbfc5e2bbd8a91c12957b0aa4811aadb
refs/heads/master
2022-11-28T14:37:35.710024
2020-08-04T19:35:13
2020-08-04T19:35:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,182
py
from pimdm.utils import TYPE_CHECKING if TYPE_CHECKING: from ..RouterState import RouterState def get_state(router_state: 'RouterState'): return router_state.interface_state.get_no_listeners_present_state() def print_state(): return "NoListenersPresent" ''' def group_membership_timeout(group_state): ...
[ "noreply@github.com" ]
elvissmog.noreply@github.com
d3b38d9183e453184a9cbc3ba6574a778fc49705
74649c1220c68ad0af79e420d572e3769fcd7a53
/_unittests/ut_documentation/test_run_notebooks_onnx_viz.py
6a0613ce77a5e839c1437dc40f2a84f34aab0076
[ "MIT" ]
permissive
sdpython/mlprodict
e62edcb428700cb2c4527e54e96431c1d2b36118
27d6da4ecdd76e18292f265fde61d19b66937a5c
refs/heads/master
2023-05-08T10:44:30.418658
2023-03-08T22:48:56
2023-03-08T22:48:56
112,469,804
60
13
MIT
2023-04-19T01:21:38
2017-11-29T11:57:10
Python
UTF-8
Python
false
false
991
py
# -*- coding: utf-8 -*- """ @brief test log(time=30s) """ import os import unittest from pyquickhelper.loghelper import fLOG from pyquickhelper.ipythonhelper import test_notebook_execution_coverage from pyquickhelper.pycode import ( add_missing_development_version, ExtTestCase ) import mlprodict class TestNo...
[ "xavier.dupre@gmail.com" ]
xavier.dupre@gmail.com
b9099f1a563f84adefaa53edf66d68c304d29f0c
8ba71e08a06a8a77fd35bcaa630230f9185f1a2f
/ESIM/code/config.py
7e44df31ec90c4a205a773bf932ae62dd801ee9c
[]
no_license
wuyong97/work
0cdf7317ac6abe4309b93bc8881d459c47803e54
90c7d8fbad4250c18db44a5b1a7e89a9352903a9
refs/heads/master
2023-02-04T16:20:32.356138
2020-12-26T08:18:47
2020-12-26T08:18:47
266,905,400
3
1
null
2020-05-26T02:35:00
2020-05-26T00:11:50
Python
UTF-8
Python
false
false
425
py
class Config(object): def __init__(self): self.embedding_size = 100 # 词向量维度 self.hidden_num = 100 # 隐藏层规模 self.l2_lambda = 0.0 self.learning_rate = 0.0001 self.dropout_keep_prob = 0.5 self.attn_size = 200 self.K = 2 self.epoch = 20 ...
[ "noreply@github.com" ]
wuyong97.noreply@github.com
12ca9036ec5ee0d878ebaeb40f87f6d7bfe28b2d
4dd995a8b8137239871143780c463374284e8ab3
/hydrogen/common/middleware/reqwrapper.py
3c13578028c28b006a7ee89924b9b2b7f6a833cb
[]
no_license
kinglongchen/alligatorproxy
61bcf9a193b48d1d493eb5a44fbff0bb32ce9b1a
ddd19c30fcc35b7b50cb83c4b997383d29ac2d4f
refs/heads/master
2020-07-07T23:50:00.904043
2014-09-17T02:16:20
2014-09-17T02:16:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
608
py
from common.dbop import Mysql import webob.dec import webob.exc class DBSessionWrapper(object): def __init__(self,app,kwargs): host = kwargs['host'] user=kwargs['user'] passwd = kwargs['passwd'] db = kwargs['db'] charset=kwargs['charset'] self.db_session=Mysql() self.db_session.connect(host,user,passwd,d...
[ "kinglong_chen@163.com" ]
kinglong_chen@163.com
82a1fc92fe198a109b3287ee4730928c9d081839
1978a9455159b7c2f3286e0ad602652bc5277ffa
/exercises/04_data_structures/task_4_8.py
e089dd1a02e42d41758421e563cf86a42a9f841c
[]
no_license
fortredux/py_net_eng
338fd7a80debbeda55b5915dbfba4f5577279ef0
61cf0b2a355d519c58bc9f2b59d7e5d224922890
refs/heads/master
2020-12-03T17:32:53.598813
2020-04-08T20:55:45
2020-04-08T20:55:45
231,409,656
0
0
null
null
null
null
UTF-8
Python
false
false
1,337
py
# -*- coding: utf-8 -*- ''' Задание 4.8 Преобразовать IP-адрес в двоичный формат и вывести на стандартный поток вывода вывод столбцами, таким образом: - первой строкой должны идти десятичные значения байтов - второй строкой двоичные значения Вывод должен быть упорядочен также, как в примере: - столбцами - ширина стол...
[ "fortunaredux@protonmail.com" ]
fortunaredux@protonmail.com
bad8b52941b1e958f8939f396f6d4b4514d4af9c
c3d3e4684fdba127ffbaf71f714f7b481f3fe4b5
/gitutil.py
01cccf0e9b853be5d10b39dc0bb3b1a0eb1d2938
[ "Apache-2.0" ]
permissive
gulyasm/gitutil
3d06efc93caf162b98918b55d299170d75a22f2f
0923f05d9322be763d34e7d0c43b9cb4765aac4f
refs/heads/master
2021-01-01T17:42:36.791542
2013-10-14T14:50:59
2013-10-14T14:50:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
978
py
#!/usr/bin/python import sys import getopt import os import git def check_repo(folder, g): changed_str = "Changed" if g.is_dirty() else "Not changed" if g.is_dirty(): print g.working_dir.replace(folder, "", 1).ljust(70), g.active_branch.name.ljust(12), changed_str.ljust(20) def main(argv): fold...
[ "mgulyas86@gmail.com" ]
mgulyas86@gmail.com
e549a8235d2a5da545f99ea36ba537dabb3e169c
29f7aedaaa4a249e9581aa2398ba540d38b6fb28
/node_modules/fsevents/build/config.gypi
e65e2b2c0c848599c588d65b8fc4a7c6a79b3919
[ "MIT" ]
permissive
julissamackeydev/ChristianZaremba
61bac262809cc77b3d4a9abfaf7901a5ee246ccd
cd1bff1e43a9b96f84b3e48a4ef244d2f2de0420
refs/heads/master
2020-04-13T17:08:08.811741
2019-03-09T01:11:57
2019-03-09T01:11:57
163,339,764
0
0
null
null
null
null
UTF-8
Python
false
false
5,636
gypi
# Do not edit. File was generated by node-gyp's "configure" step { "target_defaults": { "cflags": [], "default_configuration": "Release", "defines": [], "include_dirs": [], "libraries": [] }, "variables": { "asan": 0, "build_v8_with_gn": "false", "coverage": "false", "debug_ngh...
[ "julissamackey@Julissas-MacBook-Air.local" ]
julissamackey@Julissas-MacBook-Air.local
920f4452d90e699d289148b8978d08ac6d9ab071
ca9ab449331c31c1046ddbdd09a7079a65024a8a
/data_structure/dict/dictionary-basic.py
f66a2c66a35de603ed5c996bb9c524f11ebfc656
[]
no_license
linth/learn-python
95947fd40f578d4473496c263ab45a7459fe4773
33c36b45c0dc46cf6d9a5d1237b63c8c2442b3fd
refs/heads/master
2023-04-28T17:08:06.473326
2023-04-24T17:09:41
2023-04-24T17:09:41
172,464,385
0
0
null
null
null
null
UTF-8
Python
false
false
1,583
py
# dictionary: key and value. dict = { "name": "George", "year": 2019, "sex": "boy", "weight": 78, "height": 190, } print(dict) # get value print(dict['year']) # first way to get value. x = dict.get('year') # another way to get value. print(x) # 2019. # change value dict['year'] = 2000 print(dict[...
[ "zhua0404@gmail.com" ]
zhua0404@gmail.com
795ecff9237f19bcdee8d947768f501d043feb54
4c4bfbdd9540eb67d0379a8fc9c3e8ebcdb7e390
/solutions/PangHW/EOY2021/CODE3_S301_25_Ryan Theodore The.py
b86ae0181ee467066310aeaf522866d581e9c3b7
[]
no_license
theboi/competitive-programming
caf9634025edd0b28cf00aa6d6f494ae63eb6573
b77e756e38b6f1f91baf1c7bb6702e38487c895d
refs/heads/master
2023-08-21T07:51:38.783785
2021-10-25T06:49:50
2021-10-25T06:49:50
274,824,158
2
0
null
null
null
null
UTF-8
Python
false
false
688
py
def FindEnds(F): pre = [x[:2] for x in F] post = [x[1:] for x in F] print(pre, post) for i in range(len(F)): nex = i while nex != -1: visited = [] if post[i] in pre: startfrm = 0 nex = pre[startfrm:].index(post[i]) ...
[ "ryan.the.2006@gmail.com" ]
ryan.the.2006@gmail.com
92f7307872dca44b336ed5abff40710a8a1f8571
4f749c99a15635d693933d725301bd5f15efcb94
/problem4/palindrome.py
01e1d2882d8fb11acfc068915f74cbe59c414f0f
[]
no_license
PCloherty/project_eular
c57cb0d478d8fd66e2c64b996795392aae9ebb17
4376b754a6a3222bf09400279d52d6c8ff6f766b
refs/heads/main
2023-01-29T07:48:50.347910
2020-12-09T14:29:33
2020-12-09T14:29:33
316,298,608
0
0
null
null
null
null
UTF-8
Python
false
false
1,597
py
# A palindromic number reads the same both ways. The largest palindrome made from the product # of two 2-digit numbers is 9009 = 91 × 99. # Find the largest palindrome made from the product of two 3-digit numbers. def main(): #definitions x = 100 y= 100 normal=0 reverse=0 highest={'x_value':0,'...
[ "p.cloherty@hotmail.co.uk" ]
p.cloherty@hotmail.co.uk
30365afeb3524db5724ccb54cc10342043d3baa8
5749aa612746b167c2f11ca9b4b2b8fe571f2426
/test/find_obj.py
6c9a4840f74b0d909355800cb23ace210f7db9ae
[]
no_license
donkaban/opencv-dist
767e73cb3d142c5889605cdedaba27922c9a0d17
efe36d61e448c850c8b5f63b06d5799ba6a6d9a1
refs/heads/master
2020-12-06T12:04:45.170174
2016-09-26T10:50:32
2016-09-26T10:50:32
66,547,963
0
0
null
null
null
null
UTF-8
Python
false
false
6,745
py
#!/usr/bin/env python ''' Feature-based image matching sample. Note, that you will need the https://github.com/Itseez/opencv_contrib repo for SIFT and SURF USAGE find_obj.py [--feature=<sift|surf|orb|akaze|brisk>[-flann]] [ <image1> <image2> ] --feature - Feature to use. Can be sift, surf, orb or brisk. Append...
[ "k.shabordin@cardsmobile.ru" ]
k.shabordin@cardsmobile.ru
77c68ab4c13cbce19d54670392e9faad998ac27a
2a1d97744fb9292c76842baaee8c87b9916d6013
/pymysql_test.py
da9ca8af82d614481fbcc307a77d7c3c2f9280ea
[]
no_license
kevinsay/pythonstudy
f5c508f2b4dd52d6927df50512c17910b2484730
be8ee5d30e2718aa2a97717e1b47ee9260e2f872
refs/heads/master
2020-05-16T01:26:58.992296
2019-04-22T01:13:46
2019-04-22T01:13:46
182,602,556
0
0
null
null
null
null
UTF-8
Python
false
false
458
py
import pymysql conn = pymysql.connect(host='127.0.0.1',port=3306,user='root',password='shiyutao2012',db='shiyutao') cursor = conn.cursor() sql = 'select * from mystudent' print(cursor.execute(sql)) # print(cursor.fetchall()) # add_infos=[("ax",28,'2018-11-11'),("ax1",28,'2018-11-11'),("ax2",28,'2018-11-11')] # # cur...
[ "syt_8091@163.com" ]
syt_8091@163.com
d348b2ed798851b3ca34bbfdcb624c6df23eb785
b107883be08ea56bd3a56ddb0e2dd8dacce7db2e
/src/polystar/pipeline/keras/trainer.py
db62a563eeff68041d0a316b49186f70f8caffa3
[]
no_license
PolySTAR-mtl/cv
ef7977b62577e520f6c69a9b7891c7f38e307028
27564abe89e7dff612e3630c31e080fae4164751
refs/heads/master
2023-05-01T16:45:19.777459
2021-05-30T10:36:10
2021-05-30T10:36:10
356,053,312
0
0
null
2021-05-30T10:36:11
2021-04-08T21:32:06
Python
UTF-8
Python
false
false
1,427
py
from dataclasses import dataclass, field from typing import List from numpy.core._multiarray_umath import ndarray from tensorflow.python.keras.callbacks import Callback from tensorflow.python.keras.models import Model from polystar.pipeline.keras.compilation_parameters import KerasCompilationParameters from polystar....
[ "mathieu@feedly.com" ]
mathieu@feedly.com
ad539ee8f8e0e2e4c16e5d93c63e04528c93d0ce
c492c46d15755a2c48dc1e7954a03d5d46d12136
/examples/echo/client.py
a4aa6da570f6d4823709c22c2f3d7889bb48a086
[ "MIT" ]
permissive
PhilipTrauner/highway.py
8985380d2f49d368798e17d87b0a0ecbc15a0e34
b5626dd82e4a4e7015f4bf5d80bf33a9d501d8d3
refs/heads/master
2021-03-16T10:18:42.448680
2017-10-14T19:27:16
2017-10-14T19:27:16
91,607,974
2
0
null
null
null
null
UTF-8
Python
false
false
329
py
from highway import Client from highway import Handler as Handler_ class Handler(Handler_): def __init__(self, websocket, base): super().__init__(websocket, base) client = Client(Handler, debug=True) @client.route("echo") async def echo(data, handler): await handler.send(data, "echo") client.start("localhos...
[ "philip.trauner@aol.com" ]
philip.trauner@aol.com
02ae2bc23f3e2eb1ae2eaa25d2b06540fd152327
109a8fb3e17ccf1efa6057d59441933ce678c2f0
/app/schemas/user_schema.py
39d4e7768ecc51aca1201755f784f6fcb9b635f7
[]
no_license
oulabla/rest_test
8daac7db642adb72a07a9662920bcbfd7b750fbf
fad8eb7bd253271706518b3ba6f117997ba08dfa
refs/heads/main
2023-08-27T07:39:15.079957
2021-10-15T15:56:02
2021-10-15T15:56:02
416,887,760
0
0
null
null
null
null
UTF-8
Python
false
false
801
py
from marshmallow import fields from . import BaseSchema from marshmallow_sqlalchemy import auto_field from marshmallow.fields import Date from marshmallow_sqlalchemy.fields import Nested from app.models.user import User from app.schemas.role_schema import RoleSchema from app.schemas.phone_schema import PhoneSchema ...
[ "=" ]
=