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
876023ee1305ba3c1b5a7697f45835b1f3c3f4f6
641760e65d90d319705b1da2ee749c9789527815
/teamnovel/novels/migrations/0003_auto_20200524_0940.py
96b98565d2d898f4d8b4fbffc89b719daa9743d4
[]
no_license
bartoszkoper/teamnovel
35e26d6dddcf6fe7114de4c9b7163587d6463e23
90dc9f46304d5d9ed29687262f311728a24dfa5d
refs/heads/master
2023-03-06T03:21:14.432222
2021-02-16T14:20:09
2021-02-16T14:20:09
270,358,643
0
0
null
2021-02-16T14:20:11
2020-06-07T16:05:43
null
UTF-8
Python
false
false
865
py
# Generated by Django 2.2.6 on 2020-05-24 09:40 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('novels', '0002_auto_2020...
[ "marcinwodynski@MacBook-Pro-Marcin.local" ]
marcinwodynski@MacBook-Pro-Marcin.local
7fe8b165d679e1934a333cb9368f21b0ad3ef350
2160a59b264ae57ccc53857434e8717da56a8b9b
/lesson6/task5.py
227f1856018efd671ba6360f603e806b4332992e
[]
no_license
MuravevArt/repo-github1
e5d9a6ee18d74049796599c5c19c9c749ce674a3
a303e765a3d29ad8f45e53a895a9d4b74645b83d
refs/heads/main
2023-04-18T21:58:36.440771
2021-05-10T11:50:35
2021-05-10T11:50:35
356,639,004
0
0
null
null
null
null
UTF-8
Python
false
false
1,722
py
""" 5. Реализовать класс Stationery (канцелярская принадлежность). определить в нём атрибут title (название) и метод draw (отрисовка). Метод выводит сообщение «Запуск отрисовки»; создать три дочерних класса Pen (ручка), Pencil (карандаш), Handle (маркер); в каждом классе реализовать переопределение метода draw. Для каж...
[ "playerw8@yandex.ru" ]
playerw8@yandex.ru
9511d88a2c2c6863b54773e465b9758b93cf8822
1e426c120d254ad099ae2b4e732c194add556ecf
/agent/player.py
06b19a48edf884fde256d44333be31d432f03204
[]
no_license
ryonzhang/dl-supertuxkart
fdef82f68756efef3ec95e8ed6f9a9a1e1b59afc
2c3ec329de3a66012109390f2220706cf88ec717
refs/heads/master
2022-06-11T11:45:51.128526
2020-05-09T04:22:51
2020-05-09T04:22:51
261,785,449
0
1
null
null
null
null
UTF-8
Python
false
false
30,791
py
# import numpy as np # import math # import queue # from torchvision import transforms as T # # from . import models # # # class HockeyPlayer: # """ # Your ice hockey player. You may do whatever you want here. There are three rules: # 1. no calls to the pystk library (your code will not run on the to...
[ "zhangruiyang36@gmail.com" ]
zhangruiyang36@gmail.com
f75c04dead8520139d73eced6003c9e4f48c5c05
23bb60c20b5734219eff003b911c5b18f57193b5
/python/my_algorithms__Held_Karp.py
a896362d7e6448079cc6d03ed5740e792f99a92f
[]
no_license
codingMJ/my_functions
cd48ddeed6af159868d3cec9663fa0954f6b775f
f4dac9f19d3d48c95cd8dbe3d8bd37eef7fc48f7
refs/heads/master
2020-04-01T00:43:48.089274
2018-10-26T10:06:35
2018-10-26T10:06:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,038
py
''' import sys sys.path.insert(0, './my_functions') from my_algorithms__Held_Karp import Held_Karp ''' import numpy as np class Held_Karp(): def __init__(self, model, words_ls, start_index = 0): self.memo_path2dist = {} self.memo_path2visited = {} self.memo_path2unvisited = {} self.memo_group2paths = {} ...
[ "aman.altay@gmail.com" ]
aman.altay@gmail.com
c499dc7b72977641b03cb37eb9d3cad5cc9ff19c
d0b69e038465d3533209f0b0a042ceb37876da16
/Project_Euler/Q34.py
d76d57742d69e0ba96cc863223509326bb1ddbcb
[]
no_license
ru04ru041989/MOOC
51f5d3578c314d7c4d3825499c117a6036117285
43265251275a675f552cbe8d679f9432bdf6d620
refs/heads/master
2020-03-25T12:44:25.882604
2019-10-25T08:30:15
2019-10-25T08:30:15
139,113,355
0
0
null
null
null
null
UTF-8
Python
false
false
640
py
# Digit factorials """ 145 is a curious number, as 1! + 4! + 5! = 1 + 24 + 120 = 145. Find the sum of all numbers which are equal to the sum of the factorial of their digits. Note: as 1! = 1 and 2! = 2 are not sums they are not included. """ from math import factorial def check_digit_factorial(n): n_str = str(n)...
[ "ru04ru041989@gmail.com" ]
ru04ru041989@gmail.com
bed2145e093f7a408d8e95c1f2223dc2f6bd3911
3a586ca820a8ffb9286425b61d134878937365eb
/UShapelet.py
d140c993117a8fdc4c6ec1b58537839a5823955d
[]
no_license
Andrew0Hill/UShapelet_CUDA
ff55d05d8017beb97d314d444ea291d7bfa59e86
0765fa0854d1655c5c472ef9b9d1f3b4cb0a1153
refs/heads/master
2022-09-06T09:50:42.967407
2018-12-09T16:27:30
2018-12-09T16:27:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,948
py
import numpy as np from math import ceil,floor import time from utils import cut_points, runtime from cuda_helper import CUDA_sdist, CUDA_SAX_hash from timekeeper import TimeKeeper from matplotlib import pyplot as plt cuda_sdist = CUDA_sdist() cuda_sax = CUDA_SAX_hash() cluster_num = 0 def get_ushapelet(data, splen, n...
[ "andrew.2.hill@ucdenver.edu" ]
andrew.2.hill@ucdenver.edu
3d9ae6082318fdf4c502c52b9057262813ca4889
8785bd42e074f6a62f9fba58d188ce1d36ba2a5c
/src/collective/formbuilder/fields/sequence.py
946a0d8811995e02f5031178c7b19fedb563e00f
[]
no_license
abstract-open-solutions/collective.formbuilder
608a0d725ec650d1d9655c8dca7a066e9072d537
4d51ad0cd76b364aa0028d71797b27372b9c236c
refs/heads/master
2020-04-12T09:45:34.229846
2014-05-30T07:29:20
2014-05-30T07:29:20
19,608,169
0
1
null
null
null
null
UTF-8
Python
false
false
696
py
from zope.interface import implementer from zope.schema.interfaces import IChoice from zope.schema.interfaces import IList from zope.schema import Choice from zope.schema import List from zope.schema.interfaces import IFromUnicode from plone.supermodel.exportimport import ChoiceHandler from plone.supermodel.exportimpor...
[ "casaborelli@gmail.com" ]
casaborelli@gmail.com
a5cc8baed72231a991bb02cf15947aa7ab3e0198
f8bf407f84cfa01c5fad248cc64510e969e6dd66
/LikelionHW/cbvsearch/cbvapp/admin.py
8d257e36dd71cf878904af65b8d0bc2f2673f793
[]
no_license
Chungking-express/LikeLion2
12c3efa828d64a86732fee53a90dd123e58215b0
703f7635d711888967d209ae7359a751eb34ebbd
refs/heads/master
2022-12-01T04:43:23.626382
2020-07-28T16:30:35
2020-07-28T16:30:35
275,833,441
0
0
null
null
null
null
UTF-8
Python
false
false
112
py
from django.contrib import admin from .models import cbv admin.site.register(cbv) # Register your models here.
[ "rla1wlsdn@naver.com" ]
rla1wlsdn@naver.com
b57b1ddb28847d516bc86189013c4852b0257b0a
921912440422291a7ab87504656c1314b5058ea1
/2018/2/code.py
5cfbd105c60e47764163dadc5013511a49618303
[ "MIT" ]
permissive
maguesse/adventofcode
b728d34add4636adb906f9b930b85d5597e7427d
126f0baac4cf35bbfc31f1306682586cf0e5883e
refs/heads/master
2020-04-10T14:02:35.364455
2019-12-31T15:04:22
2019-12-31T15:04:22
161,065,848
0
0
null
null
null
null
UTF-8
Python
false
false
1,323
py
#!/usr/bin/env python def load_input(input_file): with open(input_file, 'r') as fp: candidates = [line for line in fp.read().splitlines()] return candidates def are_close_enough(id1, id2): res = [] diffs = 0 zap = zip(id1, id2) for i, j in zap: if i == j: res.append...
[ "maguesse@gmail.com" ]
maguesse@gmail.com
0b10edd818dd7957e66683392d1b9878cbd12290
235f96d4b2e0fb672f20be75b114375744efc9c3
/Contagem Regresiva.py
c5cab596aa1ae2c998ae1cece966205527348a19
[]
no_license
anderportela/Learning--Python3--Curso_em_Video
f13e1c47a628aa6dee2ba883a82c36adf751d6f7
3b0abe6367d04b5043207ddacf29a4af623ebadf
refs/heads/master
2020-06-29T03:34:48.422798
2019-09-15T00:37:50
2019-09-15T00:37:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
103
py
from time import sleep for cont in range(10, -1, -1): print(cont) sleep(1) print('ACABOU!!!!')
[ "noreply@github.com" ]
anderportela.noreply@github.com
503bcb65f9989763de2e60233960df779cd71c57
3e3bac97de2b9aa968a1a6dca60754bf26cd5fc4
/RPGv3.py
41e25b6ea0b62a73d3c3dc1607a90951deb2568a
[]
no_license
camscars/rpg
f5bc91439631a98989e54e3efa5bca938db20c0c
5183641e5f1aa75932c024d465d7bb1da09c89a7
refs/heads/master
2021-01-10T13:27:40.284290
2016-01-29T21:19:28
2016-01-29T21:19:28
50,688,003
0
0
null
null
null
null
UTF-8
Python
false
false
8,118
py
import random class Die: """Represents a single die.""" def __init__(self, sides=6): """Set the number of sides (defaults to six).""" self.sides = sides def roll(self): """Roll the die.""" return random.randint(1, self.sides) class Character: def __init__(self,name,h...
[ "camscars702@gmail.com" ]
camscars702@gmail.com
60832a1bdc8e24e3aef6fe07b07c9089bca57a07
0269ccdb7063bc85b20f8c689e03bccfe526c20a
/message/migrations/0007_auto_20180717_1102.py
e534eef80c2fe3726b539a22dee672e9758870ad
[]
no_license
Philipg99/isqip
2eefc2778814630149f1ef0b6a9beebb4d564a81
843eb44b8f432b668c481c6cac66a0a7b6dfbd2e
refs/heads/master
2020-03-23T04:48:02.885274
2019-07-09T09:47:47
2019-07-09T09:47:47
141,105,805
0
0
null
null
null
null
UTF-8
Python
false
false
376
py
# Generated by Django 2.0.7 on 2018-07-17 11:02 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('message', '0006_auto_20180717_1038'), ] operations = [ migrations.AlterField( model_name='message', name='location',...
[ "noreply@github.com" ]
Philipg99.noreply@github.com
8718fb18f40bed47885972a98c7d3c06d6a3ca6c
9db8e7bbd09eb07126a7f0c14e2f3af86bf6e8d9
/datasets/centralia/convert.py
51efa94fe2198d2ccf0de3656af8e6b03e2c11b4
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
jayschauer/TCPD
ddeb193eca2fa9ea04b791025fe529dfd3ee4686
f99ab1decc165707115fd60e991ac1c12091f334
refs/heads/master
2022-12-05T02:21:16.517774
2020-09-02T18:56:49
2020-09-02T18:56:49
292,368,325
0
0
MIT
2020-09-02T18:52:00
2020-09-02T18:52:00
null
UTF-8
Python
false
false
1,365
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Dataset conversion script Author: Gertjan van den Burg """ import json import argparse def parse_args(): parser = argparse.ArgumentParser() parser.add_argument( "-s", "--subsample", help="Number of observations to skip during subsam...
[ "gertjanvandenburg@gmail.com" ]
gertjanvandenburg@gmail.com
9f2c57c6000751c3bf3a84fbdafb3a3c2e4297c5
7934cbb5a7c4189530474f9d988c28153ab2fdfb
/union.py
5fee79929b863c45674e54169048137b78329af1
[ "MIT" ]
permissive
beneschtech/GOSAI
2047ad3e09af32629fc2b64492e5c4fc0e8e9689
9abf88441cf83c7297e8a227d8e1b340d1dbb49b
refs/heads/master
2020-12-18T13:21:15.063552
2020-01-21T17:53:23
2020-01-21T17:53:23
235,398,466
0
0
null
null
null
null
UTF-8
Python
false
false
188
py
class Union: name = "" allies = [] enemies = [] strength = 0 power = 0 def __init__(self,uname: str): print("Created union " + uname) name = uname
[ "chris@beneschtech.com" ]
chris@beneschtech.com
d61c068637c2781dc107309896df3bc5708eb115
6ae0f0c8954b7c9d93fa2c2eef5adbc44e93fe2f
/backend/filehandler.py
aec657c41e11a8e4083d9bb65163fe6572ccc6ec
[]
no_license
maldonado/comment_tagger
3794effcd17d1e2a6882a7eeafd73fb91a72cc8d
66d73320246fe7ed9485413e8decff21bf1efa75
refs/heads/master
2021-01-21T04:44:41.764483
2016-06-13T18:55:49
2016-06-13T18:55:49
51,111,745
0
0
null
2016-06-13T18:55:49
2016-02-04T22:54:46
Python
UTF-8
Python
false
false
12,944
py
import os import re import sys import subprocess import shutil from configkeys import DiretoryConfig, FileHandlerConfig from dbconnector import PSQLConnection # example of expected tuple [('everton'), ('aries')] move elsewhere and extract class def fetch_repositories(repo_list = tuple([])): connection = PSQLConn...
[ "everton.maldonado@gmail.com" ]
everton.maldonado@gmail.com
84f46815209d96e98cc55afacc1083a0116f2ec0
dff004e5906a1db65aee861edca9cf8ad26d3ee7
/flask/bin/pip3
92f5b86931b76a2cf7c2f047528ffa2fc7dd76a1
[]
no_license
rahulkashyap1506/illegal-hoarding
1246b25d462d4da82363e74dcf48d5f8fe2b62c1
39e93d2483a6f647bf2fbeb35e8b770b8ca1a0b2
refs/heads/master
2020-03-27T00:57:11.348172
2018-09-02T16:42:01
2018-09-02T16:42:01
145,669,463
1
1
null
null
null
null
UTF-8
Python
false
false
235
#!/home/ron/todo-api/flask/bin/python # -*- coding: utf-8 -*- import re import sys from pip._internal import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "rahulkashyap1506@gmail.com" ]
rahulkashyap1506@gmail.com
9ba3e88dae4af0e00068b6d7d86cbf5a6392b38f
23b6b6cfbd0239eac9d227457af1ab3dcb74dc50
/mllib/tools.py
917f5564d189370c13300f5bc20567533b2412bc
[]
no_license
emilemathieu/blog_cnn
ce1851c0410b5513e9d9c4a0ddb118ad2714a425
fc80650e95e77547afbf2679d1d2e83276d9c438
refs/heads/master
2020-03-25T17:52:12.727540
2018-08-09T16:00:47
2018-08-09T16:00:47
144,000,257
2
0
null
null
null
null
UTF-8
Python
false
false
1,092
py
import numpy as np def whiten(patches,eps_zca): """ Performs whitening of the patches ------------- Parameters: patches: collection of patches, numpy array nb_patches x dim_patch eps_zca: zca whitening constant """ C = np.cov(patches,rowvar=False) M = np.mean(patches,axis=0)...
[ "emile.mathieu@stats.ox.ac.uk" ]
emile.mathieu@stats.ox.ac.uk
449c16c008295c6be33a9bda2569fdb27038e5c7
063cbd9e08c3edc4cc8d14ae7233a7d1e83bf421
/Basic/02_Junior/03_listAndTuple.py
129edbc47e9e53b033076cb608d9a372786ebf12
[]
no_license
LearnAwesome/Python
1910afaab3ffd55b36c50b9f23c58ecebd5f0709
de7f822f68c9d80d88511d87031b6b28aab87807
refs/heads/master
2020-04-28T00:41:29.057352
2019-04-23T16:54:39
2019-04-23T16:54:39
174,825,529
1
0
null
null
null
null
UTF-8
Python
false
false
1,584
py
# 列表list ''' * 元素可变,长度可变,有序 * 索引值index正向0base,负向-1base ''' classmates = ['Michael', 'Lucy', 'Peter'] print(classmates) # ['Michael', 'Lucy', 'Peter'] print(classmates[1]) # 'Lucy' 正向下标获取列表中的元素 # built-in@len() 获取长度 print( len(classmates) ) # 3 # list@append() 添加元素(在最后一位后) classmates.append('Jeny') #...
[ "277133779@qq.com" ]
277133779@qq.com
e7bb5f16a923ff9ad17aaa6eb1e32af386aebe07
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/pa1/sample/def_func_global-20.py
dc6dfd6544ed1c4f088d8b9645ac5760817cfc2e
[]
no_license
Virtlink/ccbench-chocopy
c3f7f6af6349aff6503196f727ef89f210a1eac8
c7efae43bf32696ee2b2ee781bdfe4f7730dec3f
refs/heads/main
2023-04-07T15:07:12.464038
2022-02-03T15:42:39
2022-02-03T15:42:39
451,969,776
0
0
null
null
null
null
UTF-8
Python
false
false
72
py
z:int = 0 def foo(x:int) -> $ID: global z return x > z foo(1)
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
2f24faf9f038c86c643c790a22e5ac0adcea401e
7a5f0c4b4ddf795c4600d75ec23b8eb53e791171
/arbitrary_arguments.py
73e783f6ad33e203ce5bd45e4c25fa91c90d9022
[]
no_license
shikhasingh1797/Function_Question
8790539b25d2ae97f73a86a1ee1ee2d0a99c4232
2afa55fb1e1f79832594e33b4fa493b6bb54a0e0
refs/heads/main
2023-03-27T21:46:33.976339
2021-03-09T09:11:18
2021-03-09T09:11:18
345,891,489
0
0
null
null
null
null
UTF-8
Python
false
false
154
py
# def icecream(*flavours): # for flavour in flavours: # print("i love"+flavour) # icecream("chocolate","butter scoach","vanilla","strawberry")
[ "shikhasingh20@navgurukul.org" ]
shikhasingh20@navgurukul.org
45b40e88cc16ec4b4e3bf6112cd2b25a8e54b0c3
bc63bf5acfdba3b97b73ae3e907dbdc4048186c0
/CowinAlert.py
295e89b202224c79376f6d7f8ba1c96f4c636eab
[]
no_license
OfficialNMN/COWIN-Tracker
e015385aaa3160612fc6c07042c26bb1357de6b5
472bfa020e1ec247830ce500a22d448e8f595750
refs/heads/main
2023-04-27T19:17:16.138729
2021-05-16T11:35:51
2021-05-16T11:35:51
367,827,837
0
0
null
null
null
null
UTF-8
Python
false
false
1,869
py
import email import smtplib from datetime import datetime, timedelta import requests def create_session_info(session): return {"name": session["name"], "date": session["date"], "capacity": session["available_capacity"], "age_limit": session["min_age_limit"]} def get_sessions(da...
[ "noreply@github.com" ]
OfficialNMN.noreply@github.com
20906ab3c18a8740b0c15f21a626b89b87f75c8d
10fbe5526e5f0b8588b65f70f088cd86b6e9afbe
/qqpppzas/migrations/0015_auto_20150218_1630.py
8c6435040612046c9d19f24e8b395845cbb10c31
[]
no_license
MarkusH/django-migrations-benchmark
eb4b2312bb30a5a5d2abf25e95eca8f714162056
e2bd24755389668b34b87d254ec8ac63725dc56e
refs/heads/master
2016-09-05T15:36:45.250134
2015-03-31T23:44:28
2015-03-31T23:44:28
31,168,231
3
1
null
null
null
null
UTF-8
Python
false
false
1,078
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('cohutfvb', '0014_auto_20150218_1630'), ('qqpppzas', '0014_auto_20150218_1628'), ] run_before = [ ('ysgxuyu', '0012_d...
[ "info@markusholtermann.eu" ]
info@markusholtermann.eu
1c98bb8c2179fdbdf9aa8669dedcc0f41b325504
019b41d7b76e093f92c7bb611e8b829196e7b53c
/lesson_05/work.py
fe18fda48b6bffb96113e45683fec9bca0f604bc
[]
no_license
powerzhangw/pythonzdh
7855d90c58e60f76e4e3acd765defe1fbb0ff520
cbe5cd93ade3f47bb2c4d3d01a1813e0a51af076
refs/heads/master
2022-12-16T08:30:05.075920
2019-04-04T08:52:12
2019-04-04T08:52:12
175,937,382
0
0
null
2022-12-08T01:42:52
2019-03-16T06:55:47
Python
UTF-8
Python
false
false
391
py
import xlrd def read_excel(filename,index): xls = xlrd.open_workbook(filename) sheet = xls.sheet_by_index(index) print(sheet.nrows) print(sheet.ncols) dic={} for j in range(sheet.ncols): data=[] for i in range(sheet.nrows): data.append(sheet.row_values(i)[j]) ...
[ "power228@qq.com" ]
power228@qq.com
ac415525282185598f7818ce48ba05afe6778b4c
78efa54b2b253f99ea7e073f783e6121c20cdb52
/Codechef/Substraction Game 1.py
70eba9c0690d035feb1d0ea1b9eec2fb43d7f3d6
[]
no_license
NishchaySharma/Competitve-Programming
32a93581ab17f05d20129471f7450f34ec68cc53
1ec44324d64c116098eb0beb74baac7f1c3395bb
refs/heads/master
2020-04-08T04:02:46.599398
2020-01-01T15:51:39
2020-01-01T15:51:39
159,000,529
0
0
null
null
null
null
UTF-8
Python
false
false
275
py
def gcd(a:int,b:int)->int: if a==0 or b==0: return a+b else: return gcd(b%a,a) for _ in range(int(input())): n=int(input()) arr=list(map(int,input().split())) res=arr[0] for i in arr[1:]: res=gcd(res,i) if res==1: break print(res)
[ "noreply@github.com" ]
NishchaySharma.noreply@github.com
57ab08691bedc1016dc6c05f2aa6edfe18a287b3
ea5d73c1288ff39146b96acf39839ac0375a570c
/EC_P04/teste.py
ed0be8c010710ceaf2e1008595aeeb62a68ebb11
[]
no_license
REOSTA9/EvolutionaryComputation_2019.1
b1208e18ac43177962e3c4556c57b2f8d710e022
3a0069d29e2bd95be28824974ca8c2cb2af8ae71
refs/heads/master
2020-09-07T11:47:55.313200
2019-06-12T03:14:24
2019-06-12T03:14:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,202
py
import numpy as np def de(fobj, bounds, mut=0.8, crossp=0.7, popsize=20, its=1000): dimensions = len(bounds) pop = np.random.rand(popsize, dimensions) min_b, max_b = np.asarray(bounds).T diff = np.fabs(min_b - max_b) pop_denorm = min_b + pop * diff fitness = np.asarray([fobj(ind) for ind in pop...
[ "raissa_camelo@hotmail.com" ]
raissa_camelo@hotmail.com
efce919b3664c741e5e5cdd3efddf076345b6093
8afb5afd38548c631f6f9536846039ef6cb297b9
/MY_REPOS/Lambda-Resource-Static-Assets/2-resources/_External-learning-resources/02-pyth/PyPattyrn-master/pypattyrn/structural/decorator.py
947743818a1dceeb4c5e662540bafd0242dc5234
[ "MIT" ]
permissive
bgoonz/UsefulResourceRepo2.0
d87588ffd668bb498f7787b896cc7b20d83ce0ad
2cb4b45dd14a230aa0e800042e893f8dfb23beda
refs/heads/master
2023-03-17T01:22:05.254751
2022-08-11T03:18:22
2022-08-11T03:18:22
382,628,698
10
12
MIT
2022-10-10T14:13:54
2021-07-03T13:58:52
null
UTF-8
Python
false
false
2,788
py
from functools import partial from abc import ABCMeta, abstractmethod class Decorator(object, metaclass=ABCMeta): """ Base Decorator class that all decorator classes inherit from. - External Usage Documentation: U{https://github.com/tylerlaberge/PyPattyrn#decorator-pattern} - External Decorator Patte...
[ "bryan.guner@gmail.com" ]
bryan.guner@gmail.com
2b8ceb5c8f748e6de5eb012c4e20b14d58de77b3
6d1c596b9e483a94ff2624f4564eb0e699d286c8
/test_tushare.py
c937a5f39d894b3ced0ced83fe11e0e4a49df4df
[]
no_license
wmy367/stock
745ac12e7b59d24d796a9ef3f10e28696cc8bb85
4ce0b128f3794c63cf1edfb28da1edcac84ca7f6
refs/heads/master
2023-06-03T17:38:21.393461
2021-06-28T16:12:16
2021-06-28T16:12:16
367,933,356
0
0
null
null
null
null
UTF-8
Python
false
false
521
py
import os import tushare TOKEN_PATH = os.path.join(os.path.split( os.path.realpath(__file__))[0],"./tushare_token") TUSHARE_TOCKEN = open(TOKEN_PATH).read() tushare.set_token(TUSHARE_TOCKEN) fn = 'ts_code ,symbol ,name ,area ,industry,fullname,enname,cnspell,market,exchange,curr_type,list_status,list_date,delist_date,...
[ "cook_darwin@hotmail.com" ]
cook_darwin@hotmail.com
b587e87ac0cc7b9b447110d09c154c2dc54922a3
4b95739e0452949914736fd7d8c2a983b4448273
/OSW.py
ef8a6ec1431027ebe974c122dba7135e3f7c9587
[]
no_license
karishma347/gas-modules
1d148943a8c375f948a78ce75fa4dc6dbd6971e0
2d0bcc59a163fc918a94d8a165b94fc0148c8251
refs/heads/master
2022-11-30T03:48:00.768477
2020-08-01T19:39:58
2020-08-01T19:39:58
282,725,052
0
0
null
null
null
null
UTF-8
Python
false
false
4,109
py
# a python module to calculate gasdynamic oblique shock waves functions and their inverses # Karishma Bharti, Srisha Rao M V, IISc, July 2020 # Global conventions and variables # g=Ratio of Specific heats # TR=temperature ratio # PR=pressure ratio # dS=change in density # ro=density ratio # PO=stagnation pressu...
[ "noreply@github.com" ]
karishma347.noreply@github.com
966274447565beb53a92704b0d231fe808f50fc9
926b242da0965a0cf34138de8c474f27df6ec993
/discord/testing/maintest.py
09842ca601ef796798282156de374f85267ab917
[ "MIT" ]
permissive
mahi-official/CloutWatch
2d146a00f081331e59f5273d71d91fa934524e47
4ebd1904239784a652c1820e21b1c421bf2de3d0
refs/heads/master
2020-11-30T02:09:05.407456
2019-04-23T22:30:40
2019-04-23T22:30:40
230,271,656
1
0
MIT
2019-12-26T13:47:02
2019-12-26T13:47:01
null
UTF-8
Python
false
false
611
py
discord_token = 'NTQyMDQ3NDAwNDE2NTA5OTcz.D0odww.Z6RMtOrI4SWY_Ke9DhDEQbdz8fI' import discord import json import requests print("Logging in") client = discord.Client() client.run(discord_token) print("login completed") baseURL = "https://discordapp.com/api/channels/{}/messages".format('546528282284392448') while T...
[ "mathis.vaneetvelde@gmail.com" ]
mathis.vaneetvelde@gmail.com
8a845f0c89c35044592b224153f6da028b9b4d42
dcab57390ac471215ccb9206f3cfdbd882309613
/Lab07_neural_network/createdb.py
6b2c1b26bf47ee57a526a99bf90d9a63501146cb
[]
no_license
VaruTudor/Artificial-Intelligence
7cc5f4d2cdc8d5112369cefe3f4210eaf40ae498
f38b888e345cea08cd1e06deb2dedbbf2671ef73
refs/heads/main
2023-05-04T08:37:21.098056
2021-06-03T07:08:17
2021-06-03T07:08:17
365,523,499
1
0
null
null
null
null
UTF-8
Python
false
false
1,522
py
import numpy as np from utils.utils import * import torch class Repository: @staticmethod def createDistribution(): """ distribution of 1000 random points in the domain [− 10, 10]^2 """ return (MAX_VALUE_DISTRIBUTION_DOMAIN - MIN_VALUE_DISTRIBUTION_DOMAIN) * torch.rand( ...
[ "varutudor@gmail.com" ]
varutudor@gmail.com
26d061ef9388b3d4e74130e0603068f4d889c629
52cf8c6b51a32ef6a5755658c19c7454f1811e2f
/pro_5.py
54ef9f52e48e886ad94c2315a1ce64fe8c61d3b4
[]
no_license
815382636/python_practice_notes
14425f8e6f1d81b4e635d28b63e233bd018ce184
288b386a187e5a17cf791de5ad893d514ea82396
refs/heads/master
2022-12-28T09:26:24.388073
2020-10-07T06:37:19
2020-10-07T06:37:19
248,880,985
0
0
null
null
null
null
UTF-8
Python
false
false
1,734
py
#条件与循环 #字典的遍历 di = {"name":"zhangwei","year":13,"school":"qwe"} for key in di.keys(): print(key +"---") for k,v in di.items(): print(f"key ={k},value={v}") for value in di.values(): print(f"value ={value}") #range的运用 l = [1, 2, 3, 4, 5, 6, 7] for index in range(0, len(l)): if index < 5: print...
[ "admin@yueweiqideMacBook-Pro.local" ]
admin@yueweiqideMacBook-Pro.local
ef0eff35233191513b76fde38c78e1f3e0f13ea5
55c250525bd7198ac905b1f2f86d16a44f73e03a
/Python/Games/Attack/Attack.spec
c15c4364b14dd93124576beac54254b27f0aea6d
[]
no_license
NateWeiler/Resources
213d18ba86f7cc9d845741b8571b9e2c2c6be916
bd4a8a82a3e83a381c97d19e5df42cbababfc66c
refs/heads/master
2023-09-03T17:50:31.937137
2023-08-28T23:50:57
2023-08-28T23:50:57
267,368,545
2
1
null
2022-09-08T15:20:18
2020-05-27T16:18:17
null
UTF-8
Python
false
false
975
spec
# -*- mode: python ; coding: utf-8 -*- block_cipher = None a = Analysis(['Attack.py'], pathex=['D:\\Users\\dhhyey\\Code'], binaries=[], datas=[], hiddenimports=[], hookspath=[], runtime_hooks=[], excludes=[], win_...
[ "nateweiler84@gmail.com" ]
nateweiler84@gmail.com
e17529c3a121c0258f45934249dacc1b3beb8f55
a28c939f8af65bdd3d5106f5ef0c3b88de16b999
/blog/views.py
a104e6d3f5de614661b0a192282655e08601161d
[]
no_license
sayed-fikri/django-portfolio
d53a068775ca637467e6bc40e0ab7e5b785dc6b6
d1a7eb515f99c718256dbae3e5fabb4bdb1b133d
refs/heads/master
2022-04-22T11:29:40.999646
2020-04-26T13:51:58
2020-04-26T13:51:58
259,042,035
0
0
null
null
null
null
UTF-8
Python
false
false
392
py
from django.shortcuts import render, get_object_or_404 from .models import Blog def all_blogs(request): # blogs = Blog.objects.all() blogs = Blog.objects.order_by('-date')[:5] return render(request,'blog/all_blogs.html', {'blogs': blogs}) def detail(request, blog_id): blog = get_object_or_404(Blog, pk...
[ "sayedariffikri@gmail.com" ]
sayedariffikri@gmail.com
1a26d9c08428eed55bd5c2565f42afc31be2a584
f62398da3b89e0a1ac39545fbb4f33281e965080
/Workshop1/Project_09_page33.py
8ed10dd9f93b896d32a1deeb5bcbef77642e069d
[]
no_license
etasycandy/Python
525793eef8a5f4b3cbe0f253e07fb77a79dba73e
7df6d65b1aac549ae6a02b57d70f44aba1d6f5c9
refs/heads/main
2023-07-23T08:34:13.526356
2021-09-05T17:16:07
2021-09-05T17:16:07
400,847,880
0
0
null
null
null
null
UTF-8
Python
false
false
712
py
""" Author: Tran Dinh Hoang Date: 05/07/2021 Program: Project_09_page33.py Problem: 9. Enter an input statement using the input function at the shell prompt. When the prompt asks you for input, enter your first name, observe the results, and explain what happened. * * * * * ===========================...
[ "noreply@github.com" ]
etasycandy.noreply@github.com
339fbbf64e0beffc337a085e31729f800c8127dd
d03582a9f9a853a07eeb36f746530dee29f7a258
/build/catkin_generated/generate_cached_setup.py
b68e8b3be2e20e0a06efc00fe0407cd24717e837
[]
no_license
tanmayshankar/decision_making
6df835c6c26e9cb2f0fdfbec509f5a46bf3c98ae
fdd3b1ea127a89fb03181cb8f766e86e6d933eed
refs/heads/master
2021-01-21T04:48:16.259813
2016-07-15T17:43:06
2016-07-15T17:43:06
44,739,541
4
0
null
null
null
null
UTF-8
Python
false
false
1,339
py
# -*- coding: utf-8 -*- from __future__ import print_function import argparse import os import stat import sys # find the import for catkin's python package - either from source space or from an installed underlay if os.path.exists(os.path.join('/opt/ros/indigo/share/catkin/cmake', 'catkinConfig.cmake.in')): sys.p...
[ "tanmay.shankar@gmail.com" ]
tanmay.shankar@gmail.com
9099b68c27e3fbffcb996837b243735fb81db3c4
cc5eb8eb50d64ffbca780c42a908053ec549f295
/Python Course CSe11309x/quiz3_prog3.py
2b9ed7f99272eb84762ebb8b2b6185efa3fb98e4
[]
no_license
bemagee/LearnPython
328b1f7a9d5046fe1503aece8a5134a7dd2727d2
a42565f8fb45f9e2ebbcdcf359ebb9092bf837c2
refs/heads/master
2020-12-13T02:45:30.308604
2016-10-24T03:09:12
2016-10-24T03:09:12
10,793,864
0
0
null
null
null
null
UTF-8
Python
false
false
498
py
#!/usr/bin/env python3 # Write a program that asks the user for a positive number 'n' as input. Assume that the user # enters a number greater than or equal to 3 and print a triangle as described below. # For example if the user enters 6 then the output should be: #* #** #*** #**** #***** #****** #***** #**** #*** #*...
[ "bemagee@gmail.com" ]
bemagee@gmail.com
c8a366680fb4d5ade52e6604ca479ed16f7826cc
e56e2652cec39a11c2874408d0762c1ccba03455
/gnn_tsp_main.py
ae052d9674b319bd0b85d5b91990262733d8e227
[ "MIT" ]
permissive
jskimmons/AlphaGo-TSP
a406d1fcb262869f68b6755f024218261be3316e
ddc50ae0ca8228245ab99c13ae4fde294f75b8fd
refs/heads/master
2021-05-18T20:38:04.669438
2020-04-03T13:23:27
2020-04-03T13:23:27
251,408,584
0
0
null
null
null
null
UTF-8
Python
false
false
1,426
py
from TSPCoach import TSPCoach from tsp.TSPGame import TSPGame as Game from tsp.TSPNNet import NNetWrapper as nn from tsp.NNetShell import NNetShell as shell from utils import * args = dotdict({ 'numIters': 1, 'numEps': 1, # Number of complete self-play games to simulate during a new iteration. ...
[ "jwskimmons@gmail.com" ]
jwskimmons@gmail.com
b260c44d3bdcb165eb0610de971747dbf8a59911
3cddee875dc187e5e078f6eb0604df2b5f5e2e93
/toolbox/new_learn_postedits_algorithm.py
0eefb919203aeddce2831a518a75a5d6800aff46
[]
no_license
deltamachine/naive-automatic-postediting
123d12e14242881d3975d5feeae0c94ebc0c8994
59570cb139d9be20bcb90df841fb59b8c3a89761
refs/heads/master
2021-04-28T05:45:20.880102
2018-08-21T16:02:22
2018-08-21T16:02:22
122,185,618
0
0
null
2018-02-20T10:44:46
2018-02-20T10:44:45
null
UTF-8
Python
false
false
9,110
py
import re import pipes import argparse from streamparser import parse from nltk.tokenize import word_tokenize as tokenizer """ ===================== Global arguments section ================================= """ parser = argparse.ArgumentParser(description='Algorithm for postedits extraction') parser.add_argument('s...
[ "an-an-kondratjeva@yandex.ru" ]
an-an-kondratjeva@yandex.ru
1263ddb89056b808387eca0306da4fcb3839654b
f03984d07d1aea17f079600e631fe305d4896a75
/1_semester/Strokovaya_matrica.py
6e0f5330db810ea89d8fa1297ce33d6243a0d105
[]
no_license
shlyapos/bmstu_python_prog
4e63e6519142969ab25c22c30ecb7c91b995addd
28d2a124d716dc76e5f568fe1053ec8df9357f8c
refs/heads/master
2022-12-26T10:58:39.545932
2020-10-06T13:54:07
2020-10-06T13:54:07
259,959,391
3
0
null
null
null
null
UTF-8
Python
false
false
9,886
py
# Строковая матрица. # Программа получая команды, выполняет определённые команды с заданной матрицей. # Команды: # - Выравнивание по ширине; # - Выравнивание по левому краю; # - Выравнивание по правому краю; # - Замена во всём тексте одного слова другим; # - Удаление заданного слова ...
[ "alexandrsuchkov67@gmail.com" ]
alexandrsuchkov67@gmail.com
85e47a7c85de739bc65345d998fe641d0953a7cd
040abe86c2ec9d1f8acaa9f74884193a9809e0b2
/mainsite/order/migrations/0016_auto_20210421_1408.py
ec86b5234742eb8989e25d23145f7f80f2adf146
[]
no_license
Felice1004/onehalf-clothing-platform
1e4ab964ba6a0b5501848300bdd83c23245bbd3f
fbe43204b4729e09c775a6d7f07360284241881a
refs/heads/master
2023-04-28T15:59:01.061934
2021-05-13T14:36:58
2021-05-13T14:36:58
350,784,997
0
4
null
null
null
null
UTF-8
Python
false
false
986
py
# Generated by Django 3.1.7 on 2021-04-21 14:08 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('order', '0015_sellerrevenue_totalrevenue'), ] operations = [ migrations.AlterModelOptions( name='sellerrevenue', opt...
[ "palette1004@gamil.com" ]
palette1004@gamil.com
f4e20a66c309a6826f6f5a9671e49db15b7cd3da
d5ee089358d5cb98715276244b0af0690b03c337
/unittest_demo3/lib/assert_res.py
91d15c7e215863b0df8388c09ef2120605da0d7b
[]
no_license
wuyanxueling/unittest
7980afbe1601ec07eeee6fc1f1fa9241be6aa89b
5bf812a046bbd98babdde2925643c4a696acdf25
refs/heads/master
2022-11-04T21:47:48.221535
2020-07-07T03:14:05
2020-07-07T03:14:05
262,216,208
2
1
null
null
null
null
UTF-8
Python
false
false
811
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 2020/1/1 22:59 # @Blog : http://www.cnblogs.com/uncleyong # @Gitee : https://gitee.com/uncleyong # @QQ交流群 : 652122175 # @公众号 : 全栈测试笔记 import jsonpath,json def assert_res(assertRes, res): res_status = 'pass' for i in assertRes.split(";"): ...
[ "noreply@github.com" ]
wuyanxueling.noreply@github.com
54aa8087c13c8627310ba8e4300e942681d749cb
4192071ceb2448144a3dc4fac3bda21b251144a9
/neuronet/teachers/back_propagation.py
973ebe1586dc124e8eddfae487880ddf84e637cb
[ "Apache-2.0" ]
permissive
AspirantDrago/PyOptimizer
960a0b92177ed17a57ddd8fe7a9ce8ce6d26719e
a3919d9405f13cb303a948ed27290320a7437699
refs/heads/master
2021-09-24T16:35:59.456158
2021-09-14T17:30:09
2021-09-14T17:30:09
180,956,558
0
0
null
null
null
null
UTF-8
Python
false
false
1,759
py
import random class BackPropagation: def _learn_bprop_sample(self, x, y, is_norm=True, save_sign=False): y_out = self.gety(x=x, is_norm=is_norm) if is_norm: y_norm = [self.normalize(y[i], self.out_norm_to[i], self.out_norm_from[i]) for i in range(len(y))] y_out_norm = [self...
[ "sanekclubstr@mail.ru" ]
sanekclubstr@mail.ru
d58ebf4ac0db230cddebff1dad95bb3e7734694c
6ae1ba7d2ad2a97725699e1467171cc2deebb0d4
/文件、异常/02-文件的路径.py
3e1488362ed58e9b33d2e32db13dabf3db3ec841
[]
no_license
weizt/python_studying
6a95edcf781bd91d8b5f2684f1c6046a40a6d432
6dace3a6b73032de220c4b3ea4b3c37d47880ff1
refs/heads/master
2023-01-18T19:45:48.291898
2020-12-02T00:59:01
2020-12-02T00:59:01
293,965,283
2
0
null
2020-09-13T01:15:50
2020-09-09T01:04:03
Python
UTF-8
Python
false
false
1,156
py
# 路径:绝对路径 和 相对路径 # 绝对路径:是从盘符开始的路径,详细的路径 # 相对路径:从当前路径开始的路径,简写的路径 推荐 # 技巧:右键点击文件名,打开Show in Explorer。直接打开文件位置 import os print(os.sep) # 在windows操作系里,文件夹之间用 \ 分隔; # 而python中\表示字符串转义,所以会冲突 # 解决\冲突的三种方法 # 1.用两个\\表示一个\\ # 2.在字符串前加 r # 3.在非windows系统用 / 推荐这一种 # file = open('D:\\桌面备份文件\\207操作手册.txt', encoding='gbk') # fi...
[ "weizhetao3@163.com" ]
weizhetao3@163.com
430c548775d0d8742c15d372a488ec9c8cc3517b
8e09a5d01612dc25b1918d4a648f709e642699a2
/genetic_algo/datasets.py
4a15cc903bf445f6172d494e531dbe7ccd604ca3
[]
no_license
CheshireCat12/Deep_learning_challenges
24e18113132d8617844d7db92b190a8e1a30bf87
1af8d1a37a4633f927dbf5ba67b16ac219a0d34c
refs/heads/master
2020-04-27T01:24:54.900158
2020-04-23T09:30:03
2020-04-23T09:30:03
173,964,573
0
0
null
null
null
null
UTF-8
Python
false
false
6,112
py
from __future__ import print_function from PIL import Image import os import os.path import numpy as np import sys if sys.version_info[0] == 2: import cPickle as pickle else: import pickle import torch.utils.data as data from torchvision.datasets.utils import download_url, check_integrity class CIFAR10Limited...
[ "anthony.gillioz@outlook.com" ]
anthony.gillioz@outlook.com
fcaa43e5276c35849f130709477b7572762d419f
2173909e5a0a87d72f86f2805e602c1d73e07568
/w3af-repo/w3af_api
0cf1ba8264772b35e4afc17d9511014aa91b2031
[]
no_license
ZenSecurity/w3af-module
78d603ed076f879b8bd280c0bf3382d153aaacec
13967bffaa211fe7f793204796802f1a5967f1d7
refs/heads/master
2021-01-15T13:48:24.183830
2016-08-05T13:09:49
2016-08-05T13:09:49
40,010,219
2
0
null
null
null
null
UTF-8
Python
false
false
283
#!/usr/bin/env python import sys from w3af.core.controllers.dependency_check.dependency_check import dependency_check if __name__ == '__main__': # Check if I have all needed dependencies dependency_check() from w3af.core.ui.api.main import main sys.exit(main())
[ "mailto@zensecurity.su" ]
mailto@zensecurity.su
006511c3598e0ed757291ac9224617e8a162e211
a52d7bc054d955c0e5f1adcc7db2bdfd10899094
/tests/integration/test_select_access_rights/test.py
14eae1700d09073318087952e3521e1973142b94
[ "Apache-2.0" ]
permissive
songenjie/ClickHouse
d5a1746013e4b2f9413d4dcc6ff34a3f24dbe860
7657efb25c95119c40e605ff89848b2ddc1c1305
refs/heads/master
2021-07-21T16:25:18.847141
2021-05-13T13:12:14
2021-05-20T11:19:59
254,286,592
1
0
Apache-2.0
2021-01-12T06:23:18
2020-04-09T06:11:42
null
UTF-8
Python
false
false
8,237
py
import pytest from helpers.cluster import ClickHouseCluster from helpers.test_tools import TSV cluster = ClickHouseCluster(__file__) instance = cluster.add_instance('instance') @pytest.fixture(scope="module", autouse=True) def started_cluster(): try: cluster.start() yield cluster finally: ...
[ "vitbar@yandex-team.ru" ]
vitbar@yandex-team.ru
903ecb1e62838bd328928e5c98a0a549a90e83c0
8068168db594414e91190a6e7f88ebb6de6946a5
/codes/tsp_path.py
211e0aadc54ec8e2482bcbd8b3b119d9f27f4e89
[]
no_license
shankarutthandy/coding-challenges
a3c8d6b2673a1b25850e610e4b6cde213c759aba
211053e332db8440e65e932b4b41e5abdeed8363
refs/heads/master
2023-03-30T11:16:26.221446
2021-03-25T18:40:42
2021-03-25T18:40:42
348,433,963
1
0
null
null
null
null
UTF-8
Python
false
false
1,243
py
from p5 import * import numpy as np import random from pvector import Pvector class Path: def __init__(self,height,width,population): self.coordinates=[] self.order=np.arange(population) for _ in range(population): self.coordinates.append(Pvector(random.randrange(0,width),random....
[ "shankarnitteee@gmail.com" ]
shankarnitteee@gmail.com
df255a93aa6826829f42b9c50283a11d91b9f72d
25d2afe5d12fe58a97da7b51e23fdc55929e38f5
/anonymise_dataset_folder.py
18e10508f9b9043df95dc7985d4acfe30a7b2071
[]
no_license
apmoore1/tdsa_comparisons
071396efe0c5e0bad297119d2ce48bf0c1cbb42f
ba613afece15239e6a38f277c455a035739f0b2d
refs/heads/master
2021-06-23T16:00:49.803589
2021-05-25T09:32:53
2021-05-25T09:32:53
225,565,449
0
0
null
null
null
null
UTF-8
Python
false
false
1,574
py
import argparse from pathlib import Path from target_extraction.data_types import TargetTextCollection def parse_path(path_string: str) -> Path: path_string = Path(path_string).resolve() return path_string if __name__ == '__main__': save_dir_help = ('File Path to directory where the anonymised results ' ...
[ "andrew.p.moore94@gmail.com" ]
andrew.p.moore94@gmail.com
df654bfc6c383fd612857066472ca4e373afc485
913f4a19afbc6c13f7e4375b3e393a891404c260
/nodefiles/node_modules/sqlite3/build/config.gypi
3e5c66d5c9270e2fb247e28ac925944e986b41c3
[ "BSD-3-Clause" ]
permissive
michielAL/Robo-Router
0df10dafb00b962e46bb65924ce03bb383e14e4c
7a5ccc9a071a17525b5e1e0fa26fe8d22952e935
refs/heads/master
2020-05-22T13:57:41.113215
2013-08-26T10:29:43
2013-08-26T10:29:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,741
gypi
# Do not edit. File was generated by node-gyp's "configure" step { "target_defaults": { "cflags": [], "default_configuration": "Release", "defines": [], "include_dirs": [], "libraries": [] }, "variables": { "armv7": 0, "clang": 0, "gcc_version": 46, "host_arch": "arm", "nod...
[ "michiel.v.kampen@gmail.com" ]
michiel.v.kampen@gmail.com
1f388d22461a66dc0224b4a3af4acc9d733cb8b1
252faf20daac1bd8c1e8323185dd2645c03ff270
/tests/fixtures_teamps3.py
7a74278b24430b172d6a2b32aaad60ea4e01cf4a
[ "MIT" ]
permissive
glebb/nhlstatsscarper
724220e2bcdf95439f3b4c1a6972ef3143e0d4d8
5dfbc149e7f3e9caace819b8e402c7a4134346af
refs/heads/master
2021-01-25T06:37:05.439181
2014-05-10T20:03:01
2014-05-10T20:03:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
208,542
py
# -*- coding: utf-8 -*- murohoki_standings = ''' <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en-US" xml:lang="en-US"> <head> <meta http-equiv="Content-Type" content="text/html; charset=ut...
[ "antti.niiles@gmail.com" ]
antti.niiles@gmail.com
5c61552039a107a7d5f1de176801d74645d7323a
18edf08ac48f41980bae91f09411d0ebe5ed02f8
/ZENSE_SUBMISSION/iitb.py
a9ff3481100fa8cc2e3875ec4179383516f7d9e0
[]
no_license
Siddharth-Yedlapati/Grades_Webscraper
815c202436a5d5401562dd45577aca70e2c027b5
c91cd74bc04628b19ac8a6c504ae46c4f3d8c887
refs/heads/main
2023-07-19T01:41:42.418776
2021-09-12T08:21:18
2021-09-12T08:21:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,312
py
from selenium import webdriver import requests import pandas as pd from bs4 import BeautifulSoup from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.common.by import By from selenium.webdriver.support import expected_conditions as EC hindex_list_all = [] hindex_list_2016 = [] citations_2016...
[ "noreply@github.com" ]
Siddharth-Yedlapati.noreply@github.com
0d03883d7784067097556669a9d66f4dde920729
de01cb554c2292b0fbb79b4d5413a2f6414ea472
/algorithms/Medium/360.sort-transformed-array.py
0f69da25ba1935966ee90c3a22fa9f0d71097b1f
[]
no_license
h4hany/yeet-the-leet
98292017eadd3dde98a079aafcd7648aa98701b4
563d779467ef5a7cc85cbe954eeaf3c1f5463313
refs/heads/master
2022-12-10T08:35:39.830260
2020-09-02T23:12:15
2020-09-02T23:12:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
852
py
# # @lc app=leetcode id=360 lang=python3 # # [360] Sort Transformed Array # # https://leetcode.com/problems/sort-transformed-array/description/ # # algorithms # Medium (48.92%) # Total Accepted: 35.5K # Total Submissions: 72.6K # Testcase Example: '[-4,-2,2,4]\n1\n3\n5' # # Given a sorted array of integers nums and...
[ "kevin.wkmiao@gmail.com" ]
kevin.wkmiao@gmail.com
4786e319a6d0783f5c20af72244cc2d8b460d3bd
7cb349304cf5d1619ad774c1d0cd4e634c74106f
/I-should-upload-my-interview-problems-and-do-more-dp/ip4.py
f5b00596d7cbfbf04086e8d1c0ad387d742cd63f
[]
no_license
beluticona/competitive-programming
f1dd2d4a70fcd305c2522ef169c4533f66200335
be32222b7a94c350fe813e04982249c07f4f2a95
refs/heads/master
2023-06-25T19:27:47.100056
2021-08-02T19:16:32
2021-08-02T19:16:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
462
py
'124.45.23.0'-> 32bits 4 numbers of 8 bits -> number of 32 bits 0011 0 A 0100 23 B 0011 45 C 0011 124 D D.C.B.A -> A*2**0 + B*2**8 + C*2*16 + D**24 def string_IP4(ip_direction): numbers_in_decreasing_position = ip_direction.split('.') number = map(int(), numbers_in_decreasing_position) powers = [ 8*numbers...
[ "mticona@dc.uba.ar" ]
mticona@dc.uba.ar
990172a4b0a8917e4e13068d716647cb53aedeaa
3500932dd03ee857144164efcd5e5b05f51b31c7
/code/model/XGBoost.py
835d12f04fe841c0e2909fe26551ef315fd7dd51
[]
no_license
Sarahyouzi/myexperiment
aebcd4580126c4e61521e8e22ad1ab840c81a1bf
46cdb0c491d3aa79555019379be8eda30d6b1f3b
refs/heads/master
2020-12-03T22:47:36.352009
2020-01-15T09:21:34
2020-01-15T09:21:34
231,511,475
2
0
null
null
null
null
UTF-8
Python
false
false
6,254
py
# -*- coding: utf-8 -*- """ Created on Tue Jun 4 10:04:28 2019 @author: wanru """ from xgboost import XGBClassifier filename='D:\\data\\tzj31.csv' dataset=read_csv(filename,header=None) array=dataset.values X=array[:,0:2000] Y=array[:,2000] filename='D:\\data\\terEtzj31.csv' dataset=read_csv(filename,header=None...
[ "1533937610@qq.com" ]
1533937610@qq.com
cfac7879161065f706def9686ddfbc28119b790b
48832d27da16256ee62c364add45f21b968ee669
/res_bw/scripts/common/lib/idlelib/keybindingdialog.py
de38be02b11f8caf736a506da269f98fbd744c30
[]
no_license
webiumsk/WOT-0.9.15.1
0752d5bbd7c6fafdd7f714af939ae7bcf654faf7
17ca3550fef25e430534d079876a14fbbcccb9b4
refs/heads/master
2021-01-20T18:24:10.349144
2016-08-04T18:08:34
2016-08-04T18:08:34
64,955,694
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
11,956
py
# 2016.08.04 19:59:37 Střední Evropa (letní čas) # Embedded file name: scripts/common/Lib/idlelib/keybindingDialog.py """ Dialog for building Tkinter accelerator key bindings """ from Tkinter import * import tkMessageBox import string import sys class GetKeysDialog(Toplevel): def __init__(self, parent, title, act...
[ "info@webium.sk" ]
info@webium.sk
54fd06f3a3c582ecee5be42f0f5024462307512b
6f02fdffea9f6fa4ddf615c6140648aad59bff76
/proto/firephp/urls.py
90129a60183abf4a4d94fb43ab46be3ab4d5a779
[ "MIT" ]
permissive
cnelsonsic/firepy
cc462a1e687fec2ec0745a4feea07ff25886f4b0
8ef67670ef89e9ea7428e13b6b48316d0598a9b3
refs/heads/master
2021-01-24T10:20:23.902320
2010-04-14T15:32:25
2010-04-14T15:32:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
581
py
from django.conf.urls.defaults import * # Uncomment the next two lines to enable the admin: # from django.contrib import admin # admin.autodiscover() urlpatterns = patterns('', # Example: # (r'^fire/', include('firephp.fire.urls')), (r'^fire/', 'firephp.fire.views.fire'), # Uncomment the admin/doc li...
[ "serialx.net@bd028940-396c-11de-97fb-aff7d2a6cc54" ]
serialx.net@bd028940-396c-11de-97fb-aff7d2a6cc54
80022894a20c52bbfd6af025bf71a769a25deaf2
e321b5d5a5d1a6fd76a3d27af2645f356daf8446
/DataAnalysisScripts/OldFiles/Qtexamples.py
5f30687d2df82ed9c0b2f84eefc6d56ccdd783fc
[]
no_license
prakashlab/squid-analysis-scripts
1dcb151aba6ebfebc861f1ab85c8206710c25a60
010fe068008fad3791a33e53a0f54b9360df8f7f
refs/heads/master
2023-01-01T17:49:30.377242
2020-10-22T22:12:57
2020-10-22T22:12:57
306,466,318
0
0
null
null
null
null
UTF-8
Python
false
false
1,054
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Thu Feb 14 11:36:34 2019 @author: deepak """ from PyQt5 import QtGui # (the example applies equally well to PySide) import pyqtgraph as pg ## Always start by initializing Qt (only once per application) app = QtGui.QApplication([]) ## Define a top-level ...
[ "deepak90@stanford.edu" ]
deepak90@stanford.edu
638c2dfa47a7ef08b1ce70385f5063b644a249b1
63c08dcaa415e37feb15b63b52036d18726feef8
/tests/base.py
e59a10a92a346bf1f5c21dfc1a54431a5401011a
[]
no_license
kalsmic/iReporterApi
c80908284a948079c13525ac2c98e623ab2d9140
02a0e026b4c3113e7b96b3e94c6e0dbd84bf22d0
refs/heads/api-db-with-ui
2022-12-10T20:28:29.261393
2019-11-24T07:06:00
2019-11-24T07:06:00
162,483,849
0
5
null
2022-12-08T01:49:54
2018-12-19T19:50:18
Python
UTF-8
Python
false
false
1,937
py
import datetime # from api.models.incident import Incident from jwt import encode from api.helpers.auth_token import encode_token, secret_key from database.db import Database db = Database() def get_user_id(user_name): sql = f"SELECT id FROM users WHERE user_name='{user_name}'" db.cursor.execute(sql) r...
[ "kalulearthur@gmail.com" ]
kalulearthur@gmail.com
a0ed35e6fc27549ff2800fb20c22fb6efdff37bf
ce3499f5d09396e72151f4d742a5562ebdb127c3
/godap.py
367a6d0ef7f1af07ba0250eebd821485442e3696
[]
no_license
jscouet/godap
08fb0e020b95e00e92f3a94df3761cc965dda52d
e0dda750aba60ad59dfb7183e9beead62712dbe4
refs/heads/master
2021-01-01T04:06:41.399768
2016-05-24T15:35:37
2016-05-24T15:35:37
59,554,618
0
0
null
null
null
null
UTF-8
Python
false
false
3,244
py
#!/usr/bin/python3 """ script d'envoie de user dans LDAP """ VERSION = 0.2 import logging logging.basicConfig(filename='client_application.log', level=logging.DEBUG) from ldap3 import Server, Connection, SUBTREE from ldap3.utils.log import set_library_log_detail_level, OFF, BASIC, NETWORK, EXTENDED, PROTOCOL import ...
[ "gogs@fake.local" ]
gogs@fake.local
787348df5dba89a4821914b7c5338b798ecf0d17
6a15e1758ccacf95475752961d4d42dd21a262ef
/setup.py
7492f195088b9e1a4a8eddf7c60bd69220e44936
[ "Apache-2.0" ]
permissive
mahmoudimus/kosmosquest-ng
5be821612df7353dbf42f5866ef6c4c39abe081c
a53014b616f557ab1a6a6532b6f81f38e8776e94
refs/heads/master
2023-08-20T17:05:55.885402
2020-09-12T15:55:19
2020-09-12T15:55:19
288,841,546
2
0
null
null
null
null
UTF-8
Python
false
false
914
py
from glob import glob from os.path import basename from os.path import splitext import setuptools setuptools.setup( name='kosmosquest-ng', version='0.1-beta', url='https://github.com/mahmoudimus/kosmosquest-ng', license='Apache License 2.0', author='mahmoudimus', author_email='mahmoud - @ - l...
[ "mabdelkader@gmail.com" ]
mabdelkader@gmail.com
c91a12333e88b5db222d8723a9f00a64e37f9823
481c0ebb2879de8f244a940eca88811cc1861abc
/chapter19/ex19.py
99a291078be83860156345b4c279abf1c2fb14fb
[]
no_license
Krishna9331/python
d52c37681077e932ddc3c1e6eec2822a44928c5b
2687c65dff7bc454535a8c8087906e941c0ccc2c
refs/heads/master
2021-09-05T23:24:33.336691
2018-01-31T16:22:44
2018-01-31T16:22:44
108,510,929
0
0
null
null
null
null
UTF-8
Python
false
false
689
py
def cheese_and_crackers(cheese_count, boxes_of_crackers): print(f"You have {cheese_count} cheeses!") print(f"You have {boxes_of_crackers} boxes of crackers!") print("Man that's enough for a party!") print("Get a blanket!\n") print("We can just give the function numbers directly:") cheese_and_crackers(2...
[ "kkant551@gmail.com" ]
kkant551@gmail.com
65d2c65d848e492dac106319b8181ba67c0d36c5
02e3da391f01522e622f0752180b6499c9210bd1
/reader/books_window.py
1c8fc7325b735a93751efe6c25da05e6adc55e6e
[]
no_license
michael2012z/BitBible
94c4298352864f60c0ffc8bd562386b18b4fb8d0
4ec6529ab6682ab85dfaa11704bcd3f41873095a
refs/heads/master
2020-11-26T05:47:49.543761
2020-04-05T08:28:14
2020-04-05T08:28:14
228,977,742
0
0
null
null
null
null
UTF-8
Python
false
false
8,204
py
import sys import os import curses from window import Window from log import * import loader sys.path.append('../util/') import book_names class BooksWindow(Window): VIEW_INDEX_VERSION = 0 VIEW_INDEX_BOOK = 1 VIEW_INDEX_CHAPTER = 2 def __init__ (self, main_window, y, x, h, w, title="UNTITLED"...
[ "michael.zhao@arm.com" ]
michael.zhao@arm.com
ba9e02db9251502646053a31e5ae3d8d5b1db51b
802af18804ec36f084edcb2405065b83db2745cb
/studing/seleniumStuding/simple.py
bbc20939fe534c509a84f993cc907e493d05b196
[]
no_license
dahaihu/standard
1060c257ff599ba09ba44cddcb41cbdbe49b9ea3
f3e81bc39e8c3723ef9a83dc6235a0abe2871833
refs/heads/master
2021-06-06T16:37:28.638644
2020-08-02T07:30:21
2020-08-02T07:30:21
147,167,400
0
0
null
null
null
null
UTF-8
Python
false
false
200
py
from selenium import webdriver driver = webdriver.Chrome() driver.get('https://www.baidu.com/') ele = driver.find_element_by_xpath('//p[@class="tang-pass-footerBarULogin pass-link"]') # ele.click()
[ "hscxrzs1st" ]
hscxrzs1st
84d164297306bf3101ce889e88f40cfc4444d6d5
260aa7c38bfbae2bf7bdc17ab4e178f93bd60ec6
/week8/codingbat/String-2/4.py
970ce55e8debcfa468288ce2369426bf01ea813c
[]
no_license
Orik236/Web_Orka236
0fe177febe193821f62cf3687865a11799662e13
49ddf61de35213be490b4aa08ad041231fe584e7
refs/heads/master
2023-01-09T22:22:40.846945
2020-04-16T22:47:38
2020-04-16T22:47:38
247,916,965
0
0
null
null
null
null
UTF-8
Python
false
false
141
py
def count_code(str): cnt = 0 for i in range(4, len(str)+1): if (str[i-4:i-2] == 'co') & (str[i-1] == 'e'): cnt+=1 return cnt
[ "orik236@gmail.com" ]
orik236@gmail.com
b223c25deb92c2584942abe587611364fd6452fb
47c39800fa6f928e0d13f26727ba52bda2aa6ff0
/venv/Lib/site-packages/aliyunsdkrds/request/v20140815/DescribeDBInstanceNetInfoRequest.py
aaaad8b6f364419423cb88b61323a126dae4413a
[ "MIT" ]
permissive
dddluke/zhihuipingtai
952ed5f9a4011cb4fb2765a0571c978af784d708
4e46e01440f8c270c05259ac0f38bd56dd04016c
refs/heads/master
2023-03-09T03:32:47.807760
2021-02-26T02:36:10
2021-02-26T02:36:10
341,816,381
0
0
null
null
null
null
UTF-8
Python
false
false
2,765
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "lukeli0306@gmail.com" ]
lukeli0306@gmail.com
e7c3c37b884b4db6f430b7e75b4a7f27eceb9618
75c131be334978fd4c9d64f3e3f90f67dc667261
/sdk/python/feast/sdk/resources/feature_set.py
b39979b1554ecea246b128f0c8c98f5df76d9bed
[ "Apache-2.0" ]
permissive
mansiib/feast
27b9dc0ce4c5d60effbedd146bae56d3d2258af8
06cb1ec4ce11c49e76228a49942c6332b2fffee3
refs/heads/master
2020-04-15T10:53:58.235103
2019-01-17T02:28:58
2019-01-17T02:28:58
164,602,593
0
0
Apache-2.0
2019-01-08T08:35:14
2019-01-08T08:35:14
null
UTF-8
Python
false
false
2,435
py
# Copyright 2018 The Feast 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 # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
[ "46292936+feast-ci-bot@users.noreply.github.com" ]
46292936+feast-ci-bot@users.noreply.github.com
28a6c65b6535c7f4780e794c9a921b738100f9d0
23d05679dd5fceac997a19aac5614f2f2218fb8e
/LearnDictonaries.py
96282328e3d3e76d2f8bbf38c652dcc10ef462c2
[]
no_license
Aravindan-C/LearningPython
7e7120e86a312e53822291a3fa46d27c9181d9af
f8d2ed5aef89968a44eeef093be3042a76f5e859
refs/heads/master
2021-01-21T04:33:00.228004
2014-12-26T17:20:57
2014-12-26T17:20:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
681
py
__author__ = 'aravindan' """Dictonary is an associative array or hash table that contains objects indexed by keys""" stock ={"name" : "GOOG", "shares" : 100, "price" : 490.10} """To access members of a dictonary,use the key-indexing operator as follows""" name=stock["name"] value=stock["shares"]* stock["price"] pri...
[ "araviichan@gmail.com" ]
araviichan@gmail.com
fc7b1b5d968739779b228afacbe7d21fb4400c84
47acd9af647d93ad89ef2f282bb89e6f1974cdb9
/ask/qa/views.py
ebc0ed6d7a5217e1d044a4afdcfff7a43fc803dd
[]
no_license
GomaJoma/StepikWeb
4ded4a69458a7c7fbbae42ad1a6924a55adfd0e8
2e2a9565b5db19c8bc076914901f470a4ffef749
refs/heads/master
2023-07-28T09:41:36.616837
2021-09-18T01:40:57
2021-09-18T01:40:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,596
py
from django.http import HttpResponse from django.shortcuts import render from django.http.response import Http404 from django.core.paginator import Paginator from .models import Answer, Question from .forms import AskForm, AnswerForm def test(request, *args, **kwargs): return HttpResponse('OK') def home(request...
[ "vigoroous@gmail.com" ]
vigoroous@gmail.com
aad64cbd4dc0a5d56458a05570dc08d4e48ccf8a
6ebf601abd1a0b5dd79e8c157ed21662be52e9ee
/social_app/migrations/0001_initial.py
4518be017aaae7f2c9116971eb86a3b52ec91c7d
[ "MIT" ]
permissive
Nicholas-Lin/study-connect
900c1fc458efa0659aae05c85b508831da641bc3
cd87fa54a015138acdca05ad1e60137188d6475f
refs/heads/master
2023-01-21T07:37:43.916600
2020-12-06T02:20:02
2020-12-06T02:20:02
318,930,202
1
0
null
2020-12-06T02:20:03
2020-12-06T02:00:23
Python
UTF-8
Python
false
false
622
py
# Generated by Django 3.1.1 on 2020-10-22 14:53 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Course', fields=[ ('id', models.AutoField(a...
[ "samerkadoosh@hotmail.com" ]
samerkadoosh@hotmail.com
b07dcd0b6d5ed70f4762be3712ffec25cf02a73f
8a9855d887b5904530266351c629874dcad7ab18
/graph4nlp/pytorch/modules/evaluation/rouge.py
720214c726e6c8bf302cd577b73d4dc394377a0f
[ "Apache-2.0" ]
permissive
tanhimislam/graph4nlp
63bad53b4fe0ec5d3d79b52c0f19db9a66bdec3d
c6ebde32bc77d3a7b78f86a93f19b1c057963ffa
refs/heads/master
2023-07-06T20:17:23.867349
2021-08-04T18:07:08
2021-08-04T18:07:08
396,377,548
1
0
Apache-2.0
2021-08-15T14:25:51
2021-08-15T14:25:50
null
UTF-8
Python
false
false
1,307
py
from graph4nlp.pytorch.modules.evaluation.base import EvaluationMetricBase from graph4nlp.pytorch.modules.evaluation.rouge_tool.rouge import Rouge class ROUGE(EvaluationMetricBase): """ The METEOR evaluation metric class. Parameters ---------- """ def __init__(self): super(ROUGE, ...
[ "shenkai200861@gmail.com" ]
shenkai200861@gmail.com
5f5c2d5fd25e62e92717b420b164f974576182c3
3539d0e3ddd7849a14876e95f0332428ec28ebf7
/Data Scientist Career Path/3. Python Fundamentals/6. Python Loop/2. List Comprehension Code Challenge/18. ages.py
e5fdc328f0eaafe3e447ed0b4cf91a74ee9f7ef5
[ "MIT" ]
permissive
DincerDogan/Data-Science-Learning-Path
ff146de2cf4ebc5fedfa9377babf959208dfe7e6
2ba0f104bc67ab6ef0f8fb869aa12aa02f5f1efb
refs/heads/main
2023-05-08T10:53:47.449974
2021-06-06T21:27:31
2021-06-06T21:27:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
130
py
names = ["Shilah", "Arya", "Kele"] ages = [14, 9, 35] users = ["Name: " + x[0] + ", Age: " + str(x[1]) for x in zip(names, ages)]
[ "aristyanto2320@gmail.com" ]
aristyanto2320@gmail.com
61dfd97014190c556670e4e13bfc08611c87871e
defe74ca7cd55c38f64dc2a39d10af9a74feb561
/app/controllers/__init__.py
c146ffab15e30e797de8179aba1139fbc68fcd40
[]
no_license
nenodias/flask-base
d5b3f8b60ebade6c46fe2ae710fab55fbc1b4398
1b780adc26fa5a14e8f1f3b708f2c1a0cbb62bf1
refs/heads/master
2021-05-02T17:02:01.256201
2016-11-09T23:15:27
2016-11-09T23:15:27
72,540,150
0
0
null
null
null
null
UTF-8
Python
false
false
148
py
# -*- coding:utf-8 -*- from app import app from flask import render_template @app.route('/') def index(): return render_template('index.html',)
[ "horacio.dias92@gmail.com" ]
horacio.dias92@gmail.com
765b69f802ecfbd88400b7edf6ab2e3e0cba2dee
aef970854413a3959dcd7b4f89692133d2a0642f
/src/ds_open_dataseoul_ex.py
dca03c6db1a4ceb452b90ba13b189a76330036ed
[]
no_license
K-Edward/s_201111215
ac72a7c1ae4400ec173ef438c4321436dfda161e
9986e408f29300486c4363318a1faeab72818774
refs/heads/master
2020-05-25T06:50:23.798475
2017-06-09T10:31:04
2017-06-09T10:31:04
84,919,726
0
0
null
null
null
null
UTF-8
Python
false
false
688
py
# coding: utf-8 import os import requests import urlparse import mylib def doIt(): keyPath=os.path.join(os.getcwd(), 'src', 'key.properties') key=mylib.getKey(keyPath) # (1) make params with resource IDs KEY=key['dataseoul'] TYPE='json' SERVICE='SearchSTNBySubwayLineService' ST...
[ "noreply@github.com" ]
K-Edward.noreply@github.com
db42c8338d27538412d6a938a26dc85f6aa7139a
dd4622390bb7122db37a889e647f28004a265ccd
/1906101038江来洪/day20191218/作业题.py
585c0eaeceb622acae3148bea01baa24039067ae
[]
no_license
gschen/where2go-python-test
c8adaa095aa8a095401f98c7b3f8f17c72d0532d
eb9e6011b8d33fa45a6b1ef853affd01a296db21
refs/heads/master
2022-12-13T19:45:09.874691
2020-10-15T13:12:52
2020-10-15T13:12:52
211,591,156
4
1
null
2022-12-05T07:46:12
2019-09-29T02:35:00
Python
UTF-8
Python
false
false
248
py
#类的多线继承 class Parent(object): x = 1 class Child1(Parent): pass class Child2(Parent): pass print(Parent.x, Child1.x, Child2.x) Child1.x = 2 print(Parent.x, Child1.x, Child2.x) Parent.x = 3 print(Parent.x, Child1.x, Child2.x)
[ "2060736540@qq.com" ]
2060736540@qq.com
e54bde935059f88f0332b97430d04640323c1cfb
5cdf4df20e0fe2fd126f08d6a4650e12a61d6a27
/starforge/interface/wheel.py
99c72de3777704bd1b7358d960ddaebf94c38ba0
[ "MIT" ]
permissive
bgruening/docker-build
ef2a1d177f6d295e30d816dfff5c1b491d4816cc
a9411b7f9230b54b6678dd3bf0a75c34584f3f60
refs/heads/master
2022-12-22T10:23:33.822053
2022-12-14T20:44:38
2022-12-14T20:44:38
29,551,655
0
0
MIT
2022-12-15T03:24:57
2015-01-20T20:57:04
Python
UTF-8
Python
false
false
6,160
py
""" Interface to build platform-specific wheels with the wheel package. To use, import before importing wheel """ from __future__ import absolute_import import errno import json import os import distutils.util import wheel.pep425tags import wheel.bdist_wheel from wheel.pep425tags import get_impl_version_info, get_im...
[ "nate@bx.psu.edu" ]
nate@bx.psu.edu
82e620296a694e9c580f8642a4a64c21c8ce5d55
07d3a55ecb6cf0c0fc44c50bcc7da40a27e0198f
/threshholding.py
5b2f6013a366b94a914e09db5d5150e255b54ddf
[]
no_license
christiankay/SDC_projects_P4_advanced_lane_finding
9a1b6b30a453f77faa6f1943ec61b4a03632f0a6
3a09a43b31e22e13140a7344dd25cda248088d8e
refs/heads/master
2021-08-06T20:09:34.740647
2017-11-07T00:17:13
2017-11-07T00:17:13
109,617,361
0
0
null
null
null
null
UTF-8
Python
false
false
11,433
py
# -*- coding: utf-8 -*- """ Created on Tue Oct 31 13:41:04 2017 @author: Chris """ import numpy as np import cv2 import matplotlib.pyplot as plt import matplotlib.image as mpimg import glob import perspective as pers def abs_sobel_thresh(img, orient='x', sobel_kernel=3, thresh=(0,255)): # Conver...
[ "noreply@github.com" ]
christiankay.noreply@github.com
04b223b881020342a95dedd7cb5d5ff3bfcbab0b
74e3600ae56fca02a2f887f4dd0f281fa503b938
/manage.py
08fe1bd1234986f699d5ea69ebb5d0d694a99595
[]
no_license
CentraleLille-IG2I/mom-backend
2d7038e0cbc3646e5bfd2815f0862fff46859e87
1696df90b6abcf08bc91e8f33852d95862362bb7
refs/heads/master
2021-01-23T05:10:07.293683
2016-06-03T22:42:28
2016-06-03T22:42:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
246
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "mom.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
[ "richdeg2@gmail.com" ]
richdeg2@gmail.com
7255569c8acc19ac3578e3cafd7896d2f722cd24
72a6a9f93361e79df5c42b347c424ccc8880ce2b
/Cracking_Coding_Interview/CheckStringPerm.py
bd7c78bc89a137cd126f9a5bda928c14b83bb3c3
[]
no_license
Krondini/Practice
573d56878e60af8f685e997e62c2ad950578e00a
2c065ecb462c67d5d6ab4689fad98037f67f5483
refs/heads/master
2021-06-11T10:25:09.380916
2021-05-17T17:40:32
2021-05-17T17:40:32
173,389,183
0
0
null
null
null
null
UTF-8
Python
false
false
819
py
from sys import argv from string import ascii_uppercase, ascii_lowercase ''' Take two strings to compare against each other Create a dictionary for each string Add up the counts of each letter, if the two counts are equal then the two are permutations ''' def main(args): str1 = args[1] str2 = args[2] count1 = 0 ...
[ "koro5940@colorado.edu" ]
koro5940@colorado.edu
1347a718ac0fe7a1d32610c9e403b982b3bd4506
c5f58af61e3577ded52acda210f4f664651b598c
/template/mmdetection/configs/vfnet/vfnet_x101_32x4d_fpn_mstrain_2x_coco.py
9f445458c8365c10abb325f59a583923ce416a73
[ "Apache-2.0", "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
hojihun5516/object-detection-level2-cv-02
0a4ee5cea9a77ef5d43fb61a4b37fe3a87cb0eac
bc8a08286935b31b8e7e597c4b1ca2cbbaeb9109
refs/heads/master
2023-08-31T09:50:59.150971
2021-10-16T15:00:19
2021-10-16T15:00:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
441
py
_base_ = "./vfnet_r50_fpn_mstrain_2x_coco.py" model = dict( backbone=dict( type="ResNeXt", depth=101, groups=32, base_width=4, num_stages=4, out_indices=(0, 1, 2, 3), frozen_stages=1, norm_cfg=dict(type="BN", requires_grad=True), norm_eval=True...
[ "hojihun5516@daum.net" ]
hojihun5516@daum.net
72e7f4d23d4c6ed6744dc7adc518c149c30eb289
8bd2aa38bdd78158c34b2ef5bb8af343f6d43ae3
/NSEBSE/nse_bse.py
5203a9e45194cc34dddd3ef0f3eec5c8126e322d
[]
no_license
ShabbirHasan1/charlie
5b649c6eed60ea7ae9243ef9de4f264939853533
ddc9919f8fd584d951cf32f57c293cf03ad04760
refs/heads/master
2023-06-02T00:36:51.516635
2021-06-21T02:11:05
2021-06-21T02:11:05
532,588,962
0
1
null
null
null
null
UTF-8
Python
false
false
2,126
py
print("Om Namahshivaya:") import csv from datetime import datetime import pytz import pandas as pd from jugaad_trader import Zerodha from pprint import pprint from pandas.tseries.offsets import BDay import talib # get the standard UTC time UTC = pytz.utc # it will get the time zone # of the specified location IST = ...
[ "ubuntu@Linux.cissiebyctrexdxppui1pm3i1c.xx.internal.cloudapp.net" ]
ubuntu@Linux.cissiebyctrexdxppui1pm3i1c.xx.internal.cloudapp.net
bcefc0a44584f4d0e8ae881f0f81b5c364829748
988c6f01a8ac559e19e84055b1273c17c32463fd
/webpage/app.py
762d58e437af7a263c965a4f7301f9324d76fda2
[]
no_license
khanh21011999/final_ML
7551d5b4edbd73e86d27cb6868a6dfaa7d9adfe0
0dd8a4f8ac6a58c2d37ad8f020bb9e6209b45576
refs/heads/master
2022-11-12T20:41:16.827652
2020-07-11T02:50:36
2020-07-11T02:50:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,517
py
from flask import Flask, request, render_template from keras.models import load_model import tensorflow as tf import numpy as np import cv2 from PIL import Image app = Flask(__name__) @app.route('/') def home(): return render_template('CNN2.html') @app.route('/classify', methods=['POST']) def predict(): m...
[ "37074707+quockhanh21299@users.noreply.github.com" ]
37074707+quockhanh21299@users.noreply.github.com
53ecfb9de1ada1c2b4d49d05cc614c834db35232
fb062c252809322689e79a489919d16e82131dc1
/experiments/Fig2/matrix_factorization.py
af970d74f170bad2d9237decd70769f93b7bfc07
[]
no_license
tobnie/lcvi_idm
21fc40cecbca6eb07855e6ff1b1edf7dad4f00aa
c8d63ba527dbec96af84b693287d1bd7d41c503e
refs/heads/master
2023-07-12T22:31:20.053774
2020-01-23T15:41:31
2020-01-23T15:41:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,161
py
#!/usr/bin/env python # coding: utf-8 # # Matrix Factorization using Last.fm data # In[1]: #get_ipython().system('pip install torch seaborn matplotlib pandas numpy') # In[1]: import sys sys.path.append("../../.") import math import time import sys import pickle import numpy as np import pandas as pd import tor...
[ "tomasz.kusmierczyk@gmail.com" ]
tomasz.kusmierczyk@gmail.com
3c56e261ea73904a57695aed29ec5bbf8b152d9f
ee2bdd7af428ed54ffd624159a75efa6ebe7d38b
/project/bookreview/app.py
73b218a2378c062e72881220cd6cbc930b872c09
[]
no_license
seehop/sparta
0126a28eee05edc05c6e9de61d1b74e922e36596
33c1adf1f058c60efdcbc89accfc996e3f2a3761
refs/heads/master
2022-12-08T16:03:45.277857
2020-09-08T19:51:47
2020-09-08T19:51:47
283,502,709
0
0
null
null
null
null
UTF-8
Python
false
false
1,663
py
from flask import Flask, render_template, jsonify, request from pymongo import MongoClient # pymongo를 임포트 하기(패키지 인스톨 먼저 해야겠죠?) app = Flask(__name__) client = MongoClient('localhost', 27017) # mongoDB는 27017 포트로 돌아갑니다. db = client.dbsparta # 'dbsparta'라는 이름의 db를 만듭니다. ## HTML을 주는 부분 @app.route('/') def home(): ...
[ "67727186+seehop@users.noreply.github.com" ]
67727186+seehop@users.noreply.github.com
3a68029f539876708281d23051be8c94c328cd85
3171b42757e60a61c2a71474cb07f81b9219ee50
/tests/test_upload.py
ebf1b3cf99f8570e73ec3366ba494fdd4c1da8d1
[]
no_license
yoophi/flaskygram
cde431d1a177e5bf54558ab83bb07886b93bc9ed
363e29f393ab3e1b8d40102add09b1f9bff65670
refs/heads/main
2023-05-14T15:11:05.307578
2021-06-05T06:55:53
2021-06-05T06:55:53
57,872,879
0
0
null
2023-05-02T20:26:02
2016-05-02T07:40:40
Python
UTF-8
Python
false
false
695
py
""" TestCase migration with Flask-Testing """ from flask import url_for from cStringIO import StringIO from flaskygram.models import Media from tests import BaseTestCase class MediaTest(BaseTestCase): def test_upload(self): res = self.client.post(url_for('api.media_upload'), ...
[ "yoophi@gmail.com" ]
yoophi@gmail.com
7e9a70d74479b7adc4e4ffba1fab22436268a96e
7b5a87206ca100d368725a0f76b13a75fdd55268
/jitendrablog/manage.py
76099aef11194ec93f7c118433f5d1f4d1f488b5
[ "MIT" ]
permissive
mahatojitendra/jitendrablog_public
75e618f0b8c3a96b1bc89ad73d280f444ef250ec
2bdd81f71217f05a638214c8f7563c85ffa41344
refs/heads/main
2023-08-14T23:25:18.418170
2021-09-23T15:57:20
2021-09-23T15:57:20
409,358,205
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', 'jitendrablog.settings') try: from django.core.management import execute_from_command_line except...
[ "kumarjitendramahato@gmail.com" ]
kumarjitendramahato@gmail.com
f033866704481f9d7b8d3559f1585b495a1ded46
cba41504729298fb283bc80aad5f1f0511c2e73e
/destroyViral.py
f426f875b3bef2ea0575b13b33df3659543f4c27
[]
no_license
phoebobo/destroyViral
4028cba4f1c089e271a318989b36077745369184
59799b66f92873c1910f4211574bba3f063ce0cb
refs/heads/master
2020-05-03T00:21:40.570222
2019-03-29T03:00:57
2019-03-29T03:00:57
178,307,780
3
1
null
null
null
null
UTF-8
Python
false
false
3,063
py
import pygame import random from pygame.locals import * from random import randrange from airplane import Airplane from bullet import Bullet def loadgameover(scorenum):#绘出GAME OVER my_font=pygame.font.SysFont(None,50) levelstr='GAME OVER' over_screen=my_font.render(levelstr, True, (255, 0, 0)) screen.blit(ove...
[ "paul0926@foxmail.com" ]
paul0926@foxmail.com
1bdad74646ded2dbe5d41d72449d186dbcc5986a
fa9bae32c203323dfb345d9a415d4eaecb27a931
/492. Construct the Rectangle.py
223ca17420f3b701265528b09aa68d0b6bc71233
[]
no_license
IUIUN/The-Best-Time-Is-Now
48a0c2e9d449aa2f4b6e565868a227b6d555bf29
fab660f98bd36715d1ee613c4de5c7fd2b69369e
refs/heads/master
2020-09-14T12:06:24.074973
2020-02-15T06:55:08
2020-02-15T06:55:08
223,123,743
3
0
null
null
null
null
UTF-8
Python
false
false
253
py
class Solution: def constructRectangle(self, area: int) -> List[int]: mid = int(math.sqrt(area)) while mid > 0: if area % mid == 0: return [int(area // mid), int(mid)] mid -= 1
[ "liuyijun0621@hotmail.com" ]
liuyijun0621@hotmail.com
1ccdf344e438b328bc5918869e93daf75445c33f
c41b051b85df43666a50b4995152066a793957a6
/db_con.py
a4b19cd6a2d0aa332ffe4f3c81ac236b50c56202
[]
no_license
PabloCoello/tools
95bde8cbebcbfa429a3a5b7f91589b8a854a5edb
6f9f3f3c7d78a2b2feff8e3828cb7758e14bb0b6
refs/heads/master
2023-01-28T03:19:01.925060
2020-12-13T14:28:19
2020-12-13T14:28:19
297,358,061
0
0
null
2020-12-13T14:28:21
2020-09-21T14:04:43
Python
UTF-8
Python
false
false
4,856
py
from paramiko import SSHClient, AutoAddPolicy from pymongo import MongoClient, GEOSPHERE from sqlalchemy.orm import sessionmaker from sqlalchemy import create_engine, MetaData, Table, select import pandas as pd import json import re from collections import defaultdict import geopandas as gpd class SQL_bertamirans(): ...
[ "pablo.coello@outlook.com" ]
pablo.coello@outlook.com
567c3840bc402f32903d82167e5297cad51ba89b
2efc4c3ca87debb20a93086481206e38baf69ad0
/Finding Difference Picture macro/Resources/scripts/clicking.py
6839e2efa93a6be4ccefbb2ba51435bf938204f8
[]
no_license
ekgns0206/finding-difference-picture-macro
538f5c7525f8ac40a0652aa4986ddd090e2e4c48
87a84ede820db50a64f13dc1a0d2bfb06057bad4
refs/heads/master
2022-11-30T09:12:29.620079
2020-08-14T09:56:57
2020-08-14T09:56:57
287,500,681
0
0
null
null
null
null
UTF-8
Python
false
false
442
py
def callback(wform, frame, sprite, state, parameter): try: wform.UnsetTimer('clicking') if len(state['centroids']) == 0: wform.SetTimer('end click', 3000, 'end_click.py') else: position = state['centroids'][0] wform.app.Click(position) wform.History = 'CLICK : {}, {}'.format(position[0], position[1]...
[ "ekgns0206@naver.com" ]
ekgns0206@naver.com
5b9008f4115d31829731e94b936809f5f523efd7
068beb4a19fa64f0ec51824664626ce9b1f9a38e
/segmentation/unsupervised/embeddings/activity_change_recognition_context_emb_sim_desc.py
537c3caa89c14276b13006d2782f0277ea4ae0af
[]
no_license
babafemisorinolu/activity_segmentation
03dac3e5ee5fdb5af9eb6cf5178e55e601bdd002
fc9da743d23ac80b081d7d21b19ec7a3f787c8f7
refs/heads/main
2023-06-26T16:53:21.570483
2021-07-27T08:57:24
2021-07-27T08:57:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,290
py
import json import sys import numpy as np import pandas as pd import argparse from sklearn import preprocessing from pylab import * from math import sqrt sys.path.insert(1, '/activity_segmentation/preprocessing') sys.path.insert(1, '/activity_segmentation/segmentation/evaluate/utils') sys.path.insert(1, '/activity_se...
[ "aitoralmeida@gmail.com" ]
aitoralmeida@gmail.com
3a335ae6cc7bab264be2c947c01ec8df7a6e941e
abad82a1f487c5ff2fb6a84059a665aa178275cb
/Codewars/8kyu/age-range-compatibility-equation/Python/solution1.py
3657a02d2a92ac4c93199e60e1489bc9fdc04b1a
[ "MIT" ]
permissive
RevansChen/online-judge
8ae55f136739a54f9c9640a967ec931425379507
ad1b07fee7bd3c49418becccda904e17505f3018
refs/heads/master
2021-01-19T23:02:58.273081
2019-07-05T09:42:40
2019-07-05T09:42:40
88,911,035
9
0
null
null
null
null
UTF-8
Python
false
false
242
py
# Python - 3.4.3 from math import floor def dating_range(age): minage = lambda a: (a / 2) + 7 if a > 14 else 0.9 * a maxage = lambda a: (a - 7) * 2 if a > 14 else 1.1 * a return '%d-%d' % (floor(minage(age)), floor(maxage(age)))
[ "d79523@hotmail.com" ]
d79523@hotmail.com
dc7b11e30a87592e3dc6636a2b498628f26e62c4
311648b0b7d9cfed3b40b186749e7fc0965fef3f
/fixtures/application.py
f47c86ac8b022a141b6c672bb66e7b25448c599f
[]
no_license
IrynaIeremeichuk/python_training
9c8e54296a48d8adfc329e9bdb7c8fac37f6f997
5fd148e6e96818e525eecac07aca83d6359191f1
refs/heads/master
2020-03-26T20:44:50.559084
2018-09-22T04:24:54
2018-09-22T04:24:54
145,343,205
0
0
null
null
null
null
UTF-8
Python
false
false
477
py
from selenium.webdriver.firefox.webdriver import WebDriver from fixtures.session import SessionHelper from fixtures.group_helper import GroupHelper class Application: def __init__(self): self.wd = WebDriver() self.wd.implicitly_wait(60) self.session = SessionHelper(self) self.grou...
[ "ieremeichukiryna@gmail.com" ]
ieremeichukiryna@gmail.com
17edecbc27d50ca481223addf78f6ad1c50a9518
b8f199a07dd0277d4c4b1e85f5b47875762f17c0
/StudentApp.py
b9eeaf47ec6b811645d82f5d616f3c61d9ad4b0c
[]
no_license
Dikshaverma66/StudentApp
38eab55f284c0b4d374614b35f0a0974fc75284c
c4fb39c45ec4e3fe8e74b86c46aee39a50acecce
refs/heads/master
2023-06-06T02:47:00.469336
2021-06-21T10:22:52
2021-06-21T10:22:52
378,615,629
0
0
null
null
null
null
UTF-8
Python
false
false
2,234
py
from flask import Flask, render_template, request from pymysql import connections import os import boto3 from config import * app = Flask(__name__) bucket = custombucket region = customregion db_conn = connections.Connection( host=customhost, port=3306, user=customuser, password=custompass, db=cu...
[ "dikshav410@gmail.com" ]
dikshav410@gmail.com
d530a7bf3b884c53454f4a4536bda45a55c87586
3a3caf1ed5c0dfb98386cd3db4918b3f0545733a
/models/info_vae.py
0aa03460f3451975fc24b4fd40d5cc474e47ac86
[]
no_license
reivio/Autoencoding
2430a282ee32280faf9582ab4fa8efcc5581c0c5
dc2688de247276a53225de8c09a9169507c6878d
refs/heads/main
2023-03-03T14:39:22.302018
2021-02-11T14:29:41
2021-02-11T14:29:41
321,782,303
0
0
null
null
null
null
UTF-8
Python
false
false
3,302
py
import tensorflow as tf import numpy as np from pathlib import Path class MMDVAE(tf.keras.Model): """Variational Autoencoder Kullback-Leibler divergence replaced with Maximum Mean Discrepancy in order to increase the informativeness of the latent space """ def __init__(self, side_len, latent_dim):...
[ "oskar.reivinen@live.com" ]
oskar.reivinen@live.com
027e6ff9e053247148d8b0a7c6a0b28a449725c7
10079a6cf80ce917159a87f09f4dcc939bfe5436
/oldboy/day07/build_in.py
8888e65a3cadc4b338e0790922771655be2569aa
[]
no_license
w1033834071/qz2
27b89a48a8eb4e86e30f252a92ead28dd46fcd81
4d8664bc714bbd134d26cf31d16b942c925cedf3
refs/heads/master
2021-01-01T06:13:00.267460
2017-10-02T12:01:26
2017-10-02T12:01:26
97,381,292
0
0
null
null
null
null
UTF-8
Python
false
false
1,647
py
#!/usr/bin/env python # -*- coding:utf-8 -*- #进制转换 #bin() 二进制 #oct() 八进制 # int() 十进制 #二进制转十进制 # r = int('1111',base = 2) # print(r) # hex() 十六进制 #bytes 字节 # bytearray 字节列表 #字节、字符串 # bytes('a',encoding='utf-8') # chr() 数字转 ascill码对应的字符 # ord() 字符转对应的数字 #用法跳转至随机验证码 # eval() 函数 将字符串编程表达式 # exec() 函数 执行代...
[ "2232339224@qq.com" ]
2232339224@qq.com
3d276284f2a17ce3cb97170644da2537cb159809
1c390cd4fd3605046914767485b49a929198b470
/leetcode/find-the-kth-largest-integer-in-the-array.py
0b79c89ea7dd853e247daaeaeb9b7d66593bed4d
[]
no_license
wwwwodddd/Zukunft
f87fe736b53506f69ab18db674311dd60de04a43
03ffffee9a76e99f6e00bba6dbae91abc6994a34
refs/heads/master
2023-01-24T06:14:35.691292
2023-01-21T15:42:32
2023-01-21T15:42:32
163,685,977
7
8
null
null
null
null
UTF-8
Python
false
false
113
py
class Solution: def kthLargestNumber(self, a: List[str], k: int) -> str: return sorted(a,key=int)[-k]
[ "wwwwodddd@gmail.com" ]
wwwwodddd@gmail.com
d55ce02404f32b0877e1a295d5b671b302e5db52
0466559817d3a1be9409da2c83db99c4db3bacfe
/hubcheck/pageobjects/widgets/members_profile_mailpreference.py
cdbdc54f4a0ca509c4b8a5bcbc0be220497cb01e
[ "MIT" ]
permissive
ken2190/hubcheck
955cf9b75a1ee77e28256dfd3a780cfbc17de961
2ff506eb56ba00f035300862f8848e4168452a17
refs/heads/master
2023-03-20T15:17:12.949715
2015-09-29T16:11:18
2015-09-29T16:11:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,363
py
from hubcheck.pageobjects.basepageelement import Radio from hubcheck.pageobjects.basepageelement import Select from hubcheck.pageobjects.widgets.members_profile_element import MembersProfileElement class MembersProfileMailPreference1(MembersProfileElement): def __init__(self, owner, locatordict={}): super(...
[ "telldsk@gmail.com" ]
telldsk@gmail.com
e8f7a7146ac2863224c6d0237983d87b2c6245ae
79852c645999b7c0d1c2ee4ed89a19023923ee5e
/infra/setup/setup_env.py
659a30038c1af1e07df546c6af40dba05469e478
[]
no_license
ericwang984/portable-dc
08d73bea08de452ceb88732ec8b563a736c858a0
ecc1787212abbd912e9d7b17e176b3d0f5f2b53e
refs/heads/master
2020-03-26T21:11:48.813505
2018-08-20T06:03:04
2018-08-20T06:03:04
145,373,399
0
0
null
null
null
null
UTF-8
Python
false
false
6,818
py
#!/usr/bin/env python import argparse import sys from os import path, makedirs, environ from env_generators import ( generate_ansible_cfg, generate_inventory, generate_ssh_cfg, generate_sshkey_pair, generate_terraform_cfg, ) from code_executor import ( execute_ansible, execute_terraform, ) from helpers imp...
[ "eric.wang@klarrio.com" ]
eric.wang@klarrio.com
a9a1d3f8224ac0897447a887e426b0391bef5786
788f1d32045560ffafff468476c9c9897dabb31c
/Curso em Vídeo/Mundo 1 Fundamentos/Desafios/desafio019.py
9a32db158cf6b88cdf869f23df5dd89ebfe57efa
[ "MIT" ]
permissive
henriqueumeda/-Python-study
7f8d911e9e724aa2f183e652e6a7ae31b742b90e
28e93a377afa4732037a29eb74d4bc7c9e24b62f
refs/heads/main
2023-08-10T21:10:32.360808
2021-09-21T02:37:16
2021-09-21T02:37:16
330,294,636
0
0
null
null
null
null
UTF-8
Python
false
false
319
py
from random import choice primeiroAluno = input('Primeiro aluno: ') segundoAluno = input('Segundo aluno: ') terceiroAluno = input('Terceiro aluno: ') quartoAluno = input('Quarto aluno: ') choiceList = [primeiroAluno, segundoAluno, terceiroAluno, quartoAluno] print('O aluno escolhido foi {}'.format(choice(choiceList)))
[ "issamuumeda@gmail.com" ]
issamuumeda@gmail.com
f1c9b9076961020c81cbaf3646daba66e73e364d
8f6cc0e8bd15067f1d9161a4b178383e62377bc7
/Video_future_frame_prediction/fc_lstm_n202_ubu/old_code/old_code_v0002/models/lstmcell_simple_encoder_decoder.py
95a2bc4e593826921cf1006deb6946f36735942c
[]
no_license
humorbeing/python_github
9c4dfc61a3cefbb266fefff335f6b28d05797e5e
e4b4b49bee7e7e3843c6874717779ce8d619bd02
refs/heads/master
2023-01-22T21:51:20.193131
2020-01-26T21:47:23
2020-01-26T21:47:23
163,707,778
0
0
null
2022-12-27T15:37:48
2019-01-01T01:58:18
Python
UTF-8
Python
false
false
1,400
py
# encoder decoder, only 1 layer, flatten style # lstmcell # v0004 import torch import torch.nn as nn import numpy as np class FC_LSTM(nn.Module): def __init__(self): super(FC_LSTM, self).__init__() self.encoder_lstmcell = nn.LSTMCell(4096, 4096) self.decoder_lstmcell = nn.LSTMCell(4096, 40...
[ "geemguang@gmail.com" ]
geemguang@gmail.com