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
8b09651871eecbe00cda47f5046f0f5323e6249f
9597e11aa9f9a57acea98361c2ba48f9d26332f2
/google/cloud/datastore_v1/services/datastore/__init__.py
a8a82886464003611545e938eb86ad0ed4a5a667
[ "Apache-2.0" ]
permissive
renovate-bot/python-datastore
9fa781d788d7874e487afe0146bec87cd63db725
671dc4b2b49d185d49d6a3ae04ff12b926933ae4
refs/heads/master
2023-08-22T02:29:20.933250
2021-08-19T18:56:58
2021-08-19T18:56:58
238,816,263
1
0
Apache-2.0
2020-02-07T00:55:36
2020-02-07T00:55:36
null
UTF-8
Python
false
false
751
py
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # 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 o...
[ "noreply@github.com" ]
renovate-bot.noreply@github.com
9d761823ff03159795f7873a7b69271d2ebda3a7
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/synthetic/tree-big-8290.py
f24ba4df34aeac9a8e74719afe47b10bc56b0530
[]
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
23,299
py
# Binary-search trees class TreeNode(object): value:int = 0 left:"TreeNode" = None right:"TreeNode" = None def insert(self:"TreeNode", x:int) -> bool: if x < self.value: if self.left is None: self.left = makeNode(x) return True else: ...
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
6fa22ce338d3f8d57ecec002067180eaafbed94e
4908b1d34d69c1cb652f25049552562574e1075f
/2020/Day-12/Rain_Risk/vector.py
cfe2acf5df39b6354ac84b44bc21a18195edfe11
[ "MIT" ]
permissive
sreekesari-vangeepuram/adventofcode
3d4ad98a25a30640182d928538b421e00ad8259d
645531be0208affe042ac0328105b9ef3cfc9dbf
refs/heads/main
2023-07-26T13:36:03.036721
2021-08-11T08:27:25
2021-08-11T08:27:25
317,850,039
1
0
MIT
2021-08-11T08:27:26
2020-12-02T12:08:13
Go
UTF-8
Python
false
false
2,493
py
class vector: def __init__(self, x, y, pointing_direction): self.x = x self.y = y self.direction = pointing_direction def get_pos(self): return (self.x, self.y, self.direction) def change_position(self, ins): d = self.direction if d == 'E': if ins[0] == 'E' or ins[0] == 'F': self.x += ins[1] eli...
[ "kesari.vangeepuram@gmail.com" ]
kesari.vangeepuram@gmail.com
980323cf75ba26bfab0963870210bfedc895fa2d
ecff4b18a49ce5952c5f9125dc027cebdecf10a8
/azure-mgmt-resource/azure/mgmt/resource/resources/models/dependency.py
c5db8825cb5df20c1b8bb96a3551b7981d632c2e
[ "Apache-2.0" ]
permissive
jehine-MSFT/azure-sdk-for-python
a56c18020ecd5f4c245c093fd6a33e1b1d7c95e1
6d0f94b39406eab374906c683bd2150217132a9c
refs/heads/master
2020-12-06T19:17:38.153819
2016-04-08T21:03:16
2016-04-08T21:03:16
55,809,131
0
0
null
2016-04-08T20:54:00
2016-04-08T20:54:00
null
UTF-8
Python
false
false
2,007
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft and contributors. 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 ...
[ "lmazuel@microsoft.com" ]
lmazuel@microsoft.com
5002a8c9e0c3a567b44de79a2522f9cb8e1dd214
614cd6a5336a6fe177d13a7cfd841a344f5d7a97
/albumy/albumy/to_test/test.py
3511682210d8dcaa4aef6ab8852c1c93a666dd3d
[ "MIT" ]
permissive
shidashui/MyFlaskWeb
40bb80dea6aa9cc2729ee8e767062cbc519a472a
b861c76813e15250036477fca6570cef1d957af1
refs/heads/master
2022-12-10T08:32:53.657838
2019-08-26T15:29:03
2019-08-26T15:29:03
193,836,836
3
0
MIT
2022-12-08T05:55:00
2019-06-26T05:42:12
JavaScript
UTF-8
Python
false
false
1,327
py
import os import PIL from PIL import Image from itsdangerous import Serializer def A(): a = Serializer('mima') token_a = a.dumps('test') print(token_a) b = Serializer('mima') c = b.loads(token_a) print(c) roles_permissions_map = { 'Locked': ['FOLLOW', 'COLLECT'], ...
[ "164635470@qq.com" ]
164635470@qq.com
0c5c2c43ad0c32f185649374d6b21c1754c06ef4
113f803b721984992bdc8f2177056b0f60de546a
/ex32/ex32.py
36131ac8165a1e6521e3dcd80f8cca1ae549099b
[]
no_license
Na-Young-Lee/16PFA-Na-Young-Lee
ddb215b0dc9cb0572b96aa90d8db71fbbea13c13
6cdcea12fd46a5218f9b6a7cd4ac5ee5e347cbb7
refs/heads/master
2021-01-17T15:15:27.429510
2016-06-01T11:37:20
2016-06-01T11:37:20
53,923,583
0
0
null
null
null
null
UTF-8
Python
false
false
1,007
py
# -*- coding:utf8 # http://learnpythonthehardway.org/book/ex32.html the_count = [1, 2, 3, 4, 5] fruits = ['apples', 'oranges', 'pears', 'apricots'] change = [1, 'pennies', 2, 'dimes', 3, 'quarters'] # this first kind of for-loop goes through a list #loop for number in the_count: print("This is count %d" % number)...
[ "CAD Client" ]
CAD Client
e5153619e02b587888247f69275781bbf39dd455
a1951be7f25ad3dd7f1b6ae186d95dcaca2f0c0c
/selfpy/chap10/classvar_basic.py
a1ae05904dffbb1780c5d545b697f34855fcd116
[]
no_license
kazscape/teach_yourself_python
7742371c074e434ad77f4dd866f426d233b08e8b
52802c12a99edaf9d061a14b34f09c0ff60bb190
refs/heads/master
2023-02-03T08:46:44.280067
2020-12-25T08:45:58
2020-12-25T08:45:58
323,297,721
0
0
null
null
null
null
UTF-8
Python
false
false
181
py
class Area: PI = 3.14 @classmethod def circle(cls, radius): return radius * radius * cls.PI if __name__ == '__main__': print(Area.PI) print(Area.circle(10))
[ "yamauchi.kazuharu@fixer.co.jp" ]
yamauchi.kazuharu@fixer.co.jp
96c547b852180157735d158a6db1edc39912fd5a
622079460ebb4ba9b80f55624622e45fcbf064d1
/DataAnalysis/day1_5/sec01.py
a64bf9b1c39d80d6886234dff8b43729c0d6e730
[ "MIT" ]
permissive
yunjung-lee/class_python_numpy
60bf24442e3f72a002ef25566e6982303dc0e12d
589817c8bbca85d70596e4097c0ece093b5353c3
refs/heads/master
2020-04-02T09:50:08.854798
2018-10-23T10:53:00
2018-10-23T10:53:00
154,311,824
0
0
null
null
null
null
UTF-8
Python
false
false
4,206
py
count = '23,456' #print(int(count)) #ValueError: invalid literal for int() with base 10: '23,456' => "," 때문에 숫자로 인식 못해서 생기는 에러 import re from bs4 import BeautifulSoup html = """ <ul> <li> <a href="www.naver.com">naver</a></li> <li> <a href="https://www.naver.com">naver</a></li> <li> <a href="https://...
[ "python966@gmail.com" ]
python966@gmail.com
c55f0e64b63446f992db9226cc9d25f28a8f4509
25219f56a7958d2fdbd2c08172ef7b91e31e2b5a
/calibration_scalars/PFISR/201302/PLCal30/20130221.003/do_Cal.py
9dad646897bf2fa7ec6ee3566a88572613e98052
[]
no_license
amisr/overspread
d82d3adc8f6d4981b3b13f54e39e69411711e3ee
c26a736c9b356f55fd7845ad5a093504e684f434
refs/heads/main
2023-04-03T10:47:13.975207
2021-03-30T23:43:22
2021-03-30T23:43:22
431,037,982
1
0
null
2021-11-23T19:02:13
2021-11-23T09:29:47
Python
UTF-8
Python
false
false
6,557
py
import datetime import os import numpy import scipy import matplotlib.pyplot as plt import tables from scipy.optimize import leastsq import scipy.io as sio def get_BS_angle(az,el): az_bs = 15.0*scipy.pi/180.0 el_bs = 74.0*scipy.pi/180.0 k = numpy.array([[scipy.cos(el)*scipy.cos(az)], ...
[ "fitter@heaviside.local" ]
fitter@heaviside.local
9933ea10946149d245387f2a9a519a90495e4858
155cbccc3ef3b8cba80629f2a26d7e76968a639c
/thelma/repositories/rdb/schema/tables/target.py
c21e56dfe6f9f876b42d6da2123e6a18e7e5cd8a
[ "MIT" ]
permissive
papagr/TheLMA
1fc65f0a7d3a4b7f9bb2d201259efe5568c2bf78
d2dc7a478ee5d24ccf3cc680888e712d482321d0
refs/heads/master
2022-12-24T20:05:28.229303
2020-09-26T13:57:48
2020-09-26T13:57:48
279,159,864
1
0
MIT
2020-07-12T22:40:36
2020-07-12T22:40:35
null
UTF-8
Python
false
false
868
py
""" This file is part of the TheLMA (THe Laboratory Management Application) project. See LICENSE.txt for licensing, CONTRIBUTORS.txt for contributor information. Target table. """ from sqlalchemy import Column from sqlalchemy import ForeignKey from sqlalchemy import Integer from sqlalchemy import Table __docformat__...
[ "fogathmann@gmail.com" ]
fogathmann@gmail.com
0fcf8214c7084c69e3dd3f68532b58fcb26ac6e3
bc54edd6c2aec23ccfe36011bae16eacc1598467
/simscale_sdk/models/one_of_velocity_field_selection_velocity_type.py
03a7e6c7257973e8d346a387920c8da883e7e035
[ "MIT" ]
permissive
SimScaleGmbH/simscale-python-sdk
4d9538d5efcadae718f12504fb2c7051bbe4b712
6fe410d676bf53df13c461cb0b3504278490a9bb
refs/heads/master
2023-08-17T03:30:50.891887
2023-08-14T08:09:36
2023-08-14T08:09:36
331,949,105
17
5
null
null
null
null
UTF-8
Python
false
false
4,118
py
# coding: utf-8 """ SimScale API The version of the OpenAPI document: 0.0.0 Generated by: https://openapi-generator.tech """ import pprint import re # noqa: F401 import six from simscale_sdk.configuration import Configuration class OneOfVelocityFieldSelectionVelocityType(object): """NOTE: This ...
[ "simscale" ]
simscale
f74f89014de6b788ad040b5d142c3e87489d3fb6
990b92264109dc01dbfddeb6f5e75675037fd829
/app/api/json_responses.py
aa53ddbc8b10a312799484ff3ca05a950f83b22d
[ "Apache-2.0" ]
permissive
CitoEngine/cito_engine
20efa189abab1b684b60b260c1ea9ed16f6ea0f2
95852dd109d86a344726d7b11ed1132d4e48426b
refs/heads/master
2020-05-21T15:04:24.011603
2019-02-08T04:51:42
2019-02-08T04:51:42
17,123,947
9
13
Apache-2.0
2019-02-08T04:51:43
2014-02-24T03:17:04
Python
UTF-8
Python
false
false
647
py
import json from django.http import HttpResponseBadRequest, HttpResponse def json_error(msg): return HttpResponseBadRequest('{"status": "error", "reason": "%s"}' % msg, content_type="application/json") def json_ok(msg): return HttpResponse('{"status": "ok", "reason": "%s"}'...
[ "cyrus@extremeunix.com" ]
cyrus@extremeunix.com
3a31448503cb98d12724ebcc831f4fb83774e782
2f989d067213e7a1e19904d482a8f9c15590804c
/lib/python3.4/site-packages/storages/backends/mogile.py
5a31f663af9af93674069dd8a01eb71499f442fa
[ "MIT" ]
permissive
levabd/smart4-portal
beb1cf8847134fdf169ab01c38eed7e874c66473
2c18ba593ce7e9a1e17c3559e6343a14a13ab88c
refs/heads/master
2023-02-18T05:49:40.612697
2022-08-02T09:35:34
2022-08-02T09:35:34
116,001,098
0
1
MIT
2023-02-15T21:34:01
2018-01-02T10:00:07
Roff
UTF-8
Python
false
false
3,904
py
from __future__ import print_function import mimetypes from django.conf import settings from django.core.cache import cache from django.utils.text import force_text from django.http import HttpResponse, HttpResponseNotFound from django.core.exceptions import ImproperlyConfigured from storages.compat import urlparse,...
[ "levabd@gmail.com" ]
levabd@gmail.com
73a03dbe897ddbbceb91c33f3e51473d20761723
56f5b2ea36a2258b8ca21e2a3af9a5c7a9df3c6e
/CMGTools/H2TauTau/prod/25aug_corrMC/up/mc/DYJetsToLL_M-50_TuneZ2Star_8TeV-madgraph-tarball/Summer12_DR53X-PU_S10_START53_V7A-v1/AODSIM/V5_B/PAT_CMG_V5_16_0_1377544840/HTT_24Jul_newTES_manzoni_Up_Jobs/Job_438/run_cfg.py
143de067caaee38065ed63af168dcc03c9de543a
[]
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,537
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/DYJetsToLL_M-50_TuneZ2Star_8TeV-madgraph-tarball/Summer12_DR53X-PU_S10_START53_V7A-v1/AODSIM/V5_B/PAT_CMG_V5_16_0_1377544840/HTT_24Jul_newTES_m...
[ "riccardo.manzoni@cern.ch" ]
riccardo.manzoni@cern.ch
26bfaaa35b9290e0391bef9a2347fed6f0d202b4
ed6c149d5d661c034bc59a7811104a69cfd3fd0e
/version2/calculate_STD_Month.py
0b9d07bf243d922158c81c9f58bc2e26962bffaf
[]
no_license
changshun/Wind_Python
edcc87bd4c076fadd8d77a1d3e79a84b29f35b8f
f97c33d4cbb8607c9d86f46a4990dac862dff361
refs/heads/master
2021-04-06T08:31:43.347857
2017-11-16T02:53:59
2017-11-16T02:53:59
124,359,994
1
4
null
2018-03-08T08:21:38
2018-03-08T08:21:38
null
UTF-8
Python
false
false
5,937
py
#coding=utf-8 import sys import MySQLdb import datetime import pandas as pd from deal_with_day_data import * reload(sys) sys.setdefaultencoding('utf8') def calculate_daily_return_date_list(stock_code): all_close_price_list,all_date_list = get_date_close_list(stock_code,table_name="table_day_data") ...
[ "584392383@qq.com" ]
584392383@qq.com
1d636b5b499388ffc28a88f1f1e0afbf042662d1
1dacbf90eeb384455ab84a8cf63d16e2c9680a90
/pkgs/ipykernel-4.3.1-py27_0/lib/python2.7/site-packages/ipykernel/parentpoller.py
227614d44e0cf146bcb8c42edf673ea0ab86a5be
[ "Apache-2.0", "BSD-3-Clause", "LicenseRef-scancode-unknown" ]
permissive
wangyum/Anaconda
ac7229b21815dd92b0bd1c8b7ec4e85c013b8994
2c9002f16bb5c265e0d14f4a2314c86eeaa35cb6
refs/heads/master
2022-10-21T15:14:23.464126
2022-10-05T12:10:31
2022-10-05T12:10:31
76,526,728
11
10
Apache-2.0
2022-10-05T12:10:32
2016-12-15T05:26:12
Python
UTF-8
Python
false
false
3,969
py
# Copyright (c) IPython Development Team. # Distributed under the terms of the Modified BSD License. try: import ctypes except: ctypes = None import os import platform import signal import time try: from _thread import interrupt_main # Py 3 except ImportError: from thread import interrupt_main # Py 2...
[ "wgyumg@mgail.com" ]
wgyumg@mgail.com
283ed7d85ec7bd24039b2553c5fb906115ec1c38
ad212b92beac17c4d061848c1dcd443d02a168c8
/python/1641_count_sorted_vowel_strings/dfs.py
e1bbd040e0ec74005cea31f9eda206125a247880
[]
no_license
21eleven/leetcode-solutions
5ec97e4391c8ebaa77f4404a1155f3ef464953b3
35c91e6f5f5ed348186b8641e6fc49c825322d32
refs/heads/master
2023-03-03T10:22:41.726612
2021-02-13T21:02:13
2021-02-13T21:02:13
260,374,085
0
0
null
null
null
null
UTF-8
Python
false
false
1,232
py
""" 1641. Count Sorted Vowel Strings Medium Given an integer n, return the number of strings of length n that consist only of vowels (a, e, i, o, u) and are lexicographically sorted. A string s is lexicographically sorted if for all valid i, s[i] is the same as or comes before s[i+1] in the alphabet. Example 1: ...
[ "noahlidell@gmail.com" ]
noahlidell@gmail.com
656b0068685aa37f43d2d0b3272a203bb951a7c1
027b07d8a1aa019e61446469b371e0873181e0d2
/pl1.py
34c20ec31f53c4b474e8aee98c16930de6cd6733
[]
no_license
sangeetha19399/pythonguvipgm
803a71ecc0712c22ebdfd749bbda8ebedbd2ba8c
7d15d395fd4187f498e0da26e09312e5fe0c63b3
refs/heads/master
2020-05-23T02:02:12.813076
2019-07-19T06:18:32
2019-07-19T06:18:32
186,595,069
0
3
null
null
null
null
UTF-8
Python
false
false
41
py
str1=input() str2=str1[::-1] print(str2)
[ "noreply@github.com" ]
sangeetha19399.noreply@github.com
836faf7996943e286a897673cb06f09a6aada929
896c7df96be679ec24e09f920a19c933ccc4e234
/summary.py
444469d30c5a986ec11dbb40b70fdad7713279a2
[]
no_license
faircloth-lab/uce-finder
3c4ae775b284a65d99f7130108f90da0aaf8b64f
3f9fc961918e13de5e4455b2aa607ea561e497a6
refs/heads/master
2021-01-23T15:42:06.008075
2013-05-01T00:57:02
2013-05-01T00:57:02
9,782,935
1
0
null
null
null
null
UTF-8
Python
false
false
11,755
py
#!/usr/bin/env python # encoding: utf-8 """ summary.py Created by Brant Faircloth on 2008-07-05. Copyright (c) 2008 Brant Faircloth. All rights reserved. This program scans MAF files for conserved elements and stores those results in an sqlite database """ import os import re import pdb # remove at some point impo...
[ "brant@faircloth-lab.org" ]
brant@faircloth-lab.org
decb665f6168dde3b4141a3dbdd4194e8aecb9ce
ddd466457316662a1455bae429740eb3c8411444
/python_bbq/file_handling/bytearray_write.py
27bc2693f0830c56592588d15585fbaf6fe72429
[]
no_license
fingerman/python_fundamentals
9ef46e51d6e9b8328e9c949fa0f807f30bd6e482
1fb604220922530d1171200a3cf3a927c028a6ed
refs/heads/master
2023-01-09T12:02:26.712810
2020-01-22T16:12:32
2020-01-22T16:12:32
151,728,846
0
0
null
2022-12-27T15:34:12
2018-10-05T13:58:10
Python
UTF-8
Python
false
false
243
py
from os import strerror data = bytearray(ord('a')) for i in range(len(data)): data[i] = 10 + i try: bf = open('file.bin', 'wb') bf.write(data) bf.close() except IOError as e: print("I/O error occurred: ", strerr(e.errno))
[ "adamov.george@gmail.com" ]
adamov.george@gmail.com
6cb26206676192374732d0f5be7a013e92ae98c4
e56f68855d85dddf9d4aba496976308647c6c9c6
/alphacsc/other/sporco/sporco/cnvrep.py
fad3dc0170b74bd135ccaff97c8d018268a5488d
[ "BSD-3-Clause" ]
permissive
vishalbelsare/alphacsc
a8c8526e213af4e302362f9d5f0b9329bd930e0f
7b7f2f3b0456ab338e95924c76828a26b3b8e4b2
refs/heads/master
2023-05-26T10:16:15.652732
2021-11-17T00:00:18
2021-11-17T00:00:18
158,184,721
0
0
BSD-3-Clause
2021-11-26T10:46:29
2018-11-19T08:11:13
Python
UTF-8
Python
false
false
36,416
py
# -*- coding: utf-8 -*- # Copyright (C) 2015-2017 by Brendt Wohlberg <brendt@ieee.org> # All rights reserved. BSD 3-clause License. # This file is part of the SPORCO package. Details of the copyright # and user license can be found in the 'LICENSE.txt' file distributed # with the package. """Classes and functions that...
[ "tom.dupre-la-tour@m4x.org" ]
tom.dupre-la-tour@m4x.org
42912e1f5af5f0656862bc4f53c86682ffc290b7
21b632797ed6257b13574c341cdd14e6534728a9
/ryu/lib/packet/tcp.py
826894426713eb562daa717d6049d91a59e4c61e
[ "Apache-2.0" ]
permissive
MrCocoaCat/ryu
0473f04e2a840e027e9002f8a6af81745eaf7094
9e9571991a73380099b7ba7c6f37e0e587080a6a
refs/heads/master
2021-06-19T18:09:52.833590
2020-05-12T08:17:21
2020-05-12T08:17:21
163,072,555
0
0
null
null
null
null
UTF-8
Python
false
false
14,400
py
# Copyright (C) 2012 Nippon Telegraph and Telephone Corporation. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required ...
[ "MrCocoaCat@aliyun.com" ]
MrCocoaCat@aliyun.com
5f0b62ede497790cede3fa82a2b1a000680a071c
232ff549e297d4237caf271624716a09e9fbb2d4
/venv1/bin/pip3
7064cc2af3c7014353d1b4f26cbfdccb13706fe0
[]
no_license
csdnak/python3
2dd54dd6fd352f3de42111e08311f22b84e0f043
97e2673f20532c7cf89bf66f66673d25a2790c6d
refs/heads/master
2020-08-31T16:22:32.188784
2019-11-25T10:55:23
2019-11-25T10:55:23
218,730,620
2
0
null
null
null
null
UTF-8
Python
false
false
263
#!/home/student/PycharmProjects/untitled/venv1/bin/python3.8 # -*- coding: utf-8 -*- import re import sys from pip._internal.main import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "you@example.com" ]
you@example.com
fe5794ead0dddb72d93f5b6d535c961ab22d2382
d57c59070bb167a167b95971e32731c48587cb59
/backend/wallet/api/v1/serializers.py
38828a3947e6a817d0937cd1a1c5c264662471dd
[]
no_license
crowdbotics-apps/blind-school-27613
2ec76994185f6f15bd8ec0fe48b4a86f10e8a882
ad3549e18f1841bdac12a558aa59fa97cf9a6691
refs/heads/master
2023-05-11T19:18:34.670974
2021-05-31T10:12:31
2021-05-31T10:12:31
372,459,032
0
0
null
null
null
null
UTF-8
Python
false
false
875
py
from rest_framework import serializers from wallet.models import ( PaymentTransaction, PaymentMethod, TaskerWallet, TaskerPaymentAccount, CustomerWallet, ) class TaskerPaymentAccountSerializer(serializers.ModelSerializer): class Meta: model = TaskerPaymentAccount fields = "__al...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
e22248db541b874c00354eccfb4666f37e0fc02e
d864fd6c3d1452aa3cffb31ecb20fc14c46a5e91
/ml_logger/log_client.py
842e1532bb5078d31c8913b4ce27366ccaeac714
[]
no_license
jonasrothfuss/ml_logger
2c9e5592eb24bc70ae80e8d0c9e08e6e7054f3d7
2000b38177e3c4892e4fee74d769c1fc0a659424
refs/heads/master
2020-03-26T20:42:15.846183
2019-06-03T09:09:58
2019-06-03T09:09:58
145,340,704
1
0
null
2018-08-19T22:03:04
2018-08-19T22:03:03
null
UTF-8
Python
false
false
3,940
py
import os from concurrent.futures import ThreadPoolExecutor from requests_futures.sessions import FuturesSession from ml_logger.serdes import serialize, deserialize from ml_logger.server import LogEntry, LoadEntry, PingData, LoggingServer, ALLOWED_TYPES, Signal, LogOptions, \ RemoveEntry class LogClient: loca...
[ "yangge1987@gmail.com" ]
yangge1987@gmail.com
b8735dea132ec85a36c4534b5df4368acaafad08
eeb469954b768095f2b8ad2376f1a114a3adb3fa
/119.py
bfe18b6ba71c7a352c3f8459e86deaca6bf97484
[ "MIT" ]
permissive
RafaelHuang87/Leet-Code-Practice
ef18dda633932e3cce479f7d5411552d43da0259
7754dcee38ffda18a5759113ef06d7becf4fe728
refs/heads/master
2020-07-18T20:09:10.311141
2020-02-11T09:56:39
2020-02-11T09:56:39
206,305,113
0
0
null
null
null
null
UTF-8
Python
false
false
294
py
class Solution: def getRow(self, rowIndex: int) -> [int]: res = [] for i in range(rowIndex): temp = [1] * (i + 1) res.append(temp) for j in range(1, i): res[i][j] = res[i - 1][j - 1] + res[i - 1][j] return res[-1]
[ "rafaelhuang@163.com" ]
rafaelhuang@163.com
894ab3357bb45c22c65174d315ee30e93b7d6729
96ec8ea87fb2cfdd2d850a0471c9820f92152847
/九章算法/动态规划/Longest Common Subsequence.py
84c87a0e25d7fdbdd5276d45c2bada2c2fc4d0a7
[]
no_license
bitterengsci/algorithm
ae0b9159fd21cc30c9865f981f9c18cf9c6898d7
bf70d038b70c51edc6ddd6bfef1720fb5f9f2567
refs/heads/master
2023-08-10T10:22:18.774232
2023-07-31T21:04:11
2023-07-31T21:04:11
186,261,880
95
46
null
2023-07-31T21:04:12
2019-05-12T13:57:27
Python
UTF-8
Python
false
false
843
py
class Solution: """ @param A: A string @param B: A string @return: The length of longest common subsequence of A and B """ def longestCommonSubsequence(self, A, B): dp = [[0] * (len(B)+1) for _ in range(len(A)+1)] # initialization for j in range(len(B)+1): ...
[ "yanran2012@gmail.com" ]
yanran2012@gmail.com
2e828986bbdd0616c1f339a48799eba5fca072c6
422943b00b6dab14ce72e6ed9e92c1c5c02883b0
/updateTests.py
bf89b1d620c9e6705fe1c16beba02c1e9dc8f5d3
[]
no_license
grid-control/testsuite
412c376325feae3c744fd4ca4c32f254ffd9e6df
3d2a8d3234dc1c83f7e2f71aa5704f8abe0d42de
refs/heads/master
2021-08-06T08:16:12.209352
2019-07-11T13:37:56
2019-07-11T13:37:56
96,886,340
0
1
null
2017-08-14T12:09:12
2017-07-11T11:33:42
Shell
UTF-8
Python
false
false
943
py
import os for (root, dirs, files) in os.walk('.'): def findTestFwk(dn): if 'testfwk.py' in os.listdir(dn): return dn return findTestFwk(os.path.join(dn, '..')) for fn in files: if fn.startswith('TEST_') and fn.endswith('.py'): fn = os.path.join(root, fn) print(fn) lines = open(fn).readlines() f...
[ "stober@cern.ch" ]
stober@cern.ch
5e42f67ea15cac565bc2f72d4be281f11441b0a7
09e57dd1374713f06b70d7b37a580130d9bbab0d
/data/p3BR/R2/benchmark/startQiskit65.py
9ea013b14becf0bac967ec4fc7786a2d686f9843
[ "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
5,433
py
# qubit number=3 # total number=10 import numpy as np from qiskit import QuantumCircuit, execute, Aer, QuantumRegister, ClassicalRegister, transpile, BasicAer, IBMQ from qiskit.visualization import plot_histogram from typing import * from pprint import pprint from math import log2 from collections import Counter from...
[ "wangjiyuan123@yeah.net" ]
wangjiyuan123@yeah.net
00f0ed14558402c0d3ef771f6e79a3f3375bd9a6
0316925e2bad29d60f0dcccdf91277fd8f03ef09
/q015.py
286af0b71dec819126a696d98ce11b5eb6fe2589
[]
no_license
nomadlife/project-euler
426614df7b2c9368a4db59954dc1df2902a44d6b
9bc09843637a361fa93c7abb20ac990f973b08e5
refs/heads/master
2021-07-03T00:52:07.760948
2021-06-26T14:28:32
2021-06-26T14:28:32
100,214,096
0
0
null
null
null
null
UTF-8
Python
false
false
251
py
# Q015 Lattice paths # How many such routes are there through a 20×20 grid? def grid(r,c): if r==1 or c==1: return c+r if (r,c) not in cache: cache[r,c] = grid(r,c-1) + grid(r-1,c) return cache[r,c] cache={} grid(20,20)
[ "joonwoo3816@gmail.com" ]
joonwoo3816@gmail.com
13c46f9d5b80299f0706ab94baace17772ea3776
23bdb9a3102b9aad3ec20419593bbc3b1b7b3f66
/piecrust/constants.py
0b2fbbcf2a285f5d0c06563f396591e71adbc8c9
[ "BSD-3-Clause" ]
permissive
toastdriven/piecrust
ec961998627145c0a6f312137564b1737fdb8113
95dadd7614a2fe7fe9186243f998f66c0909eb21
refs/heads/master
2015-08-06T10:31:46.352977
2011-10-18T07:55:18
2011-10-18T07:55:18
2,465,163
19
1
null
null
null
null
UTF-8
Python
false
false
481
py
# Enable all basic ORM filters but do not allow filtering across relationships. ALL = 1 # Enable all ORM filters, including across relationships ALL_WITH_RELATIONS = 2 # Ripped from Django. QUERY_TERMS = dict([(x, None) for x in ( 'exact', 'iexact', 'contains', 'icontains', 'gt', 'gte', 'lt', 'lte', 'in', 'sta...
[ "daniel@toastdriven.com" ]
daniel@toastdriven.com
e18ab1abab1a1499c8df298fcb95380e0105243f
54f352a242a8ad6ff5516703e91da61e08d9a9e6
/Source Codes/AtCoder/abc039/C/4891512.py
2563e2d210a483f9606a5a131073753a575e0dcf
[]
no_license
Kawser-nerd/CLCDSA
5cbd8a4c3f65173e4e8e0d7ed845574c4770c3eb
aee32551795763b54acb26856ab239370cac4e75
refs/heads/master
2022-02-09T11:08:56.588303
2022-01-26T18:53:40
2022-01-26T18:53:40
211,783,197
23
9
null
null
null
null
UTF-8
Python
false
false
427
py
def pianist_takahashi(S: str)->int: scales = [ 'Do', 'Do#', 'Re', 'Re#', 'Mi', 'Fa', 'Fa#', 'So', 'So#', 'La', 'La#', 'Si' ] keyboard = 'WBWBWWBWBWBW' for i, scale in enumerate(scales): if (S).startswith(keyboard[i:] + keyboard[:i]): return scale return...
[ "kwnafi@yahoo.com" ]
kwnafi@yahoo.com
bc4cbaa20cc1ae062653619f557fe8e7c1106adc
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p04000/s890347924.py
e08156f14ab959ff622a85fa9f2278635cf92fe4
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
407
py
from collections import defaultdict, Counter H, W, N = map(int, input().split()) D = defaultdict(int) for _ in range(N): a, b = map(int, input().split()) for i in range(a - 2, a + 1): if 1 <= i <= H - 2: for j in range(b - 2, b + 1): if 1 <= j <= W - 2: D[(i, j)] += 1 print((H - 2) *...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
c71b4a1f83067c3a098d6a37edad98bc9a120439
a611d9ecfae0ecaed9848bf0474e8d2249764c6c
/bundestag/link_crawler.py
25a20ec56200e4b138fa99fc4d49894fc5ca9f3a
[]
no_license
JokusPokus/TINART-finetuning
8317ad9f1a42e10e032ab77ce998300dc605ff57
667ccfae1ddae1eece070bef2934160d816a9a24
refs/heads/master
2023-01-28T04:51:32.051599
2020-12-02T15:36:39
2020-12-02T15:36:39
313,454,702
0
0
null
null
null
null
UTF-8
Python
false
false
4,176
py
""" Crawls links to parliament proceeding protocols for the current voting period. """ import requests from bs4 import BeautifulSoup from typing import Dict, List # metadata for the HTTP requests HEADERS = { 'authority': 'www.bundestag.de', 'accept': '*/*', 'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Wi...
[ "jakob.schmitt@code.berlin" ]
jakob.schmitt@code.berlin
bd53a8dbbf7296ec1350fc2ed8664fd62d46a3fb
ee682ade4fcafb5648a99ceb66a2d4b7bb186cb3
/app/members/admin.py
3a05a99558505445f0f1ca38c8377de03a63a575
[]
no_license
gambler1541/hw-django
a7ea4ad743cb435c2f9ecbf3ff86ce3adf036069
99639fb3da7639bffe8b22fe9fc7ac91260f05ed
refs/heads/master
2020-03-21T04:19:08.601227
2018-06-21T01:10:35
2018-06-21T01:10:35
138,102,510
1
0
null
null
null
null
UTF-8
Python
false
false
151
py
from django.contrib import admin from members.models import InstagramUser, UserInfo admin.site.register(InstagramUser) admin.site.register(UserInfo)
[ "gambler1541@gmail.com" ]
gambler1541@gmail.com
a06f196d9eb015652c6a0673b127a7bf4774c5e6
ef5a8987516fac23b35eb19200bd0b392172089e
/rlkit/torch/sac/sac.py
07e3d1255b740f3b7e3cab937583bd788cfa64ff
[ "LicenseRef-scancode-generic-cla", "MIT" ]
permissive
NagisaZj/maesn_baseline
8be2dc57b2b846ca5a68783ee346542b17a5acec
bfcc761dacbc602390d063d8b4770d10655ec7ff
refs/heads/master
2023-04-07T10:38:09.551354
2020-09-29T08:28:11
2020-09-29T08:28:11
254,028,985
0
0
NOASSERTION
2023-03-16T01:18:39
2020-04-08T08:27:31
Python
UTF-8
Python
false
false
129,427
py
from collections import OrderedDict import numpy as np import torch import torch.optim as optim from torch import nn as nn import rlkit.torch.pytorch_util as ptu from rlkit.core.eval_util import create_stats_ordered_dict from rlkit.core.rl_algorithm import MetaRLAlgorithm,ExpAlgorithmIter,ExpAlgorithmFin, ExpAlgorith...
[ "1170863106@qq.com" ]
1170863106@qq.com
f6607a1124301e9ff2d135311f8538737bc61608
bbf874cf4abb20e7ec5c66e808e97ae6f2043c3f
/0x0B-python-input_output/14-pascal_triangle.py
c7d2d1a3c815f704485b95a44abecae4c2d99415
[]
no_license
imperfectskillz/holbertonschool-higher_level_programming
105fd80c2bea8fbb60eb786ce9019b3f63188342
704e99b29125d6449db32b9d52ede443318df620
refs/heads/master
2021-09-14T10:44:22.551896
2018-05-12T03:38:59
2018-05-12T03:38:59
113,130,980
0
0
null
null
null
null
UTF-8
Python
false
false
419
py
#!/usr/bin/python3 """ module contains pascal traingle """ def pascal_triangle(n): """ pascal triangle """ if n <= 0: return [] result = [] for i in range(n): result.append([]) result[i].append(1) for j in range(1, i): result[i].append(result[i - 1]...
[ "j.choi.89@gmail.com" ]
j.choi.89@gmail.com
e14d0438eaf2707bc5170fde8bfa1f64838a51d7
8aeeba99ae8f56b8fcd68ba06e6a1a69890dcca5
/pydpocl/plan_to_json.py
72d79e9d01b449fc39b5d406e2f27256ccda16eb
[]
no_license
drwiner/BiPOCL
e867b76bb65cce3208be4746ec71a31f98be5c90
4350cc7921b8a03e0c60400de967d828caf3006a
refs/heads/master
2021-05-06T13:03:33.350835
2018-01-29T18:07:56
2018-01-29T18:07:56
113,220,711
0
0
null
null
null
null
UTF-8
Python
false
false
10,887
py
""" Read plan solution, use time table to coordinate times """ import json from CacheGroundSteps import plan_single_example from plan_to_lists import make_partial_ordered_list # from Ground_Compiler_Library.GElm import GStep, GLiteral dist_dict = {} with open("distances.txt", 'r') as fol: for line in fol: fol_sp = ...
[ "drwiner131@gmail.com" ]
drwiner131@gmail.com
58be4518bcc02c88e3fe519fe8cc98faaf47f62f
75fa11b13ddab8fd987428376f5d9c42dff0ba44
/smoke-test/tests/test_stateful_ingestion.py
a10cf13a08029da9a728f7d6532ae0e04b1eefc9
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference", "BSD-2-Clause", "MIT" ]
permissive
RyanHolstien/datahub
163d0ff6b4636919ed223ee63a27cba6db2d0156
8cf299aeb43fa95afb22fefbc7728117c727f0b3
refs/heads/master
2023-09-04T10:59:12.931758
2023-08-21T18:33:10
2023-08-21T18:33:10
246,685,891
0
0
Apache-2.0
2021-02-16T23:48:05
2020-03-11T21:43:58
TypeScript
UTF-8
Python
false
false
5,402
py
from typing import Any, Dict, Optional, cast from datahub.ingestion.api.committable import StatefulCommittable from datahub.ingestion.run.pipeline import Pipeline from datahub.ingestion.source.sql.mysql import MySQLConfig, MySQLSource from datahub.ingestion.source.state.checkpoint import Checkpoint from datahub.ingest...
[ "noreply@github.com" ]
RyanHolstien.noreply@github.com
ffda0a09de33d284ab2df4cc442161c7af34907f
e23a4f57ce5474d468258e5e63b9e23fb6011188
/125_algorithms/_examples/_algorithms_challenges/leetcode/leetCode/LinkedList/160_IntersectionOfTwoLinkedLists.py
02ca4ec4485da1426b1045081c588a002f6a40d7
[]
no_license
syurskyi/Python_Topics
52851ecce000cb751a3b986408efe32f0b4c0835
be331826b490b73f0a176e6abed86ef68ff2dd2b
refs/heads/master
2023-06-08T19:29:16.214395
2023-05-29T17:09:11
2023-05-29T17:09:11
220,583,118
3
2
null
2023-02-16T03:08:10
2019-11-09T02:58:47
Python
UTF-8
Python
false
false
557
py
#! /usr/bin/env python # -*- coding: utf-8 -*- # Definition for singly-linked list. # class ListNode(object): # def __init__(self, x): # self.val = x # self.next = None class Solution(object): def getIntersectionNode(self, headA, headB): # Refer to: # https://leetcode.com/dis...
[ "sergejyurskyj@yahoo.com" ]
sergejyurskyj@yahoo.com
d4035a0d109421eeaa4a7aa57eb5f56252559836
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/118/usersdata/37/25629/submittedfiles/questao2.py
8a87584abfbf2f20ff1af27fd15c677482690be2
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
512
py
tom1=1 tom2=2 tom3=3 tom4=4 tom5=5 tom6=6 tom7=7 tom8=8 tom9=9 t0m10=10 tom0=0 l=[] n=input('Digite n: ') for i in range(0,n,1): for i in range(0,m.shape(0),1): for j in range(0,m.shape(1),1): m=m.append(input('Digite 0 ou -1: ') if m[i,j]!=0 d=(m[i,j]-((m[i,...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
94fa1da6010571b7f8dc49b5540b59295bb345fc
ac227cc22d5f5364e5d029a2cef83816a6954590
/applications/physbam/physbam-lib/Scripts/Archives/pd/sim/CLIENT_LIBRARY.py
e7a5d4c3b369bd10ee2e36f79dfcf8ecb4aacd02
[ "BSD-3-Clause" ]
permissive
schinmayee/nimbus
597185bc8bac91a2480466cebc8b337f5d96bd2e
170cd15e24a7a88243a6ea80aabadc0fc0e6e177
refs/heads/master
2020-03-11T11:42:39.262834
2018-04-18T01:28:23
2018-04-18T01:28:23
129,976,755
0
0
BSD-3-Clause
2018-04-17T23:33:23
2018-04-17T23:33:23
null
UTF-8
Python
false
false
4,921
py
from pd.common import CONFIG from pd.common import SOCKET import sys import time import os import socket import dialog client=None try: client=SOCKET.CLIENT(CONFIG.pdsim_server_host,CONFIG.pdsim_server_port, (CONFIG.client_private_key_file,CONFIG.client_certificate_file,CONFIG.ca_certificate_file...
[ "quhang@stanford.edu" ]
quhang@stanford.edu
b7040f5517b2041949cb1948f352b486386a60f6
d1d79d0c3889316b298852834b346d4246825e66
/blackbot/core/wss/ttp/art/art_T1069.002-4.py
b2323cce9e6f0197c920a21ed0d2d5a454bf2cc0
[]
no_license
ammasajan/Atomic-Red-Team-Intelligence-C2
78d1ed2de49af71d4c3c74db484e63c7e093809f
5919804f0bdeb15ea724cd32a48f377bce208277
refs/heads/master
2023-07-17T12:48:15.249921
2021-08-21T20:10:30
2021-08-21T20:10:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,876
py
from blackbot.core.utils import get_path_in_package from blackbot.core.wss.atomic import Atomic from terminaltables import SingleTable import os import json class Atomic(Atomic): def __init__(self): self.name = 'Discovery/T1069.002-4' self.controller_type = '' self.external_id = 'T1069.002'...
[ "root@uw2artic201.blackbot.net" ]
root@uw2artic201.blackbot.net
c36fd5af1a819d31260212e83fad532b77b86bca
7bbc83f3f84d7e5057cb04f6895082ab3e016e90
/keras/keras09_val2.py
b7f8415c59b79aa0aea11813adddbfec31dea9dc
[]
no_license
osy1223/bit_seoul
908f6adf007c0a7d0df2659b4fae75eb705acaea
b523d78c7b80d378a2d148b35466304f10bf4af4
refs/heads/master
2023-02-02T14:26:40.120989
2020-12-18T00:46:04
2020-12-18T00:46:04
311,279,034
0
0
null
null
null
null
UTF-8
Python
false
false
1,584
py
import numpy as np #1. 데이터 준비 x_train=np.array([1,2,3,4,5,6,7,8,9,10,11,12,13,14,15]) y_train=np.array([1,2,3,4,5,6,7,8,9,10,11,12,13,14,15]) # x_val = np.array([11,12,13,14,15]) # y_val = np.array([11,12,13,14,15]) # x_pred=np.array([16,17,18]) x_test = np.array([16,17,18,19,20]) y_test = np.array([16,17,18,19,20]) ...
[ "osu1223@gmail.com" ]
osu1223@gmail.com
2277ec3c58a86509eb47d7f5fc1ddee6e56b7382
8dad9c4fc22ba754179a86a5c74467249685b171
/python/audio/Jean/Device Platform [2017-04-17]/SQLog.py
18d8e63cf50cc9b34a88894a417b02f104cffcc3
[]
no_license
ANTZ314/raspi
d3aefab9694c73767e0b243a8539f0c2fbb713a5
a1688c2c3b0f0372f3c5674c8e098dcbebbfd38a
refs/heads/master
2021-06-10T18:08:50.308992
2021-06-03T14:58:03
2021-06-03T14:58:03
173,297,127
0
0
null
null
null
null
UTF-8
Python
false
false
32,943
py
# -*- coding: utf-8 -*- # #Created on Mon Mar 13 11:36:27 2017 # #@author: Jean Louw #-------------------------------------IMPORTS---------------------------------- import sqlite3 import threading #------------------------------------------------------------------------------ #-----------------------------...
[ "antony.smith411@gmail.com" ]
antony.smith411@gmail.com
0e43b23e908a9cd1c8e81a140d24dc97f62181e0
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/K4ifFgsgRitT7MDiz_16.py
77b1c214fd6ed0e5db1bfb8bf0b05c6fbe946497
[]
no_license
daniel-reich/ubiquitous-fiesta
26e80f0082f8589e51d359ce7953117a3da7d38c
9af2700dbe59284f5697e612491499841a6c126f
refs/heads/master
2023-04-05T06:40:37.328213
2021-04-06T20:17:44
2021-04-06T20:17:44
355,318,759
0
0
null
null
null
null
UTF-8
Python
false
false
36
py
template = 'My {} is: {:{}{}{}}.'
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
a842165c139624026322c930813f9c75e602bb52
0e4a037398cf0a54004d4ab272ebe4ddb296fe7f
/config/settings.py
a4245207b9b55badc3bf291ebc7977ed55f94861
[]
no_license
sug5806/Blog
9aacf1c8c1d78688163ae9ef93d23bc252b2b1ec
aa24629722c079f768d7fcde3a937223cb2ff5e0
refs/heads/develop
2022-12-17T16:48:09.204870
2019-06-01T12:27:30
2019-06-01T12:27:30
188,932,485
0
1
null
2022-12-08T05:10:54
2019-05-28T01:34:59
Python
UTF-8
Python
false
false
3,601
py
""" Django settings for config project. Generated by 'django-admin startproject' using Django 2.2.1. 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 os # ...
[ "sug5806@gmail.com" ]
sug5806@gmail.com
77120a6fa5a36871153e38ba22f1a9f83d82483e
0adf94fc39a02018165b62e93dd83edddd041230
/.history/Jobs/views/views_1_20190221112754.py
2132bf17a5068dace16ac781e78dd077e3aeab86
[]
no_license
SabitDeepto/BrJobs
1e3baa143331cf46b9c70911c6644d1efd4fffd6
1a458c8c667f8093a2325d963e5542655467c7aa
refs/heads/master
2020-04-24T08:02:26.350007
2019-03-17T05:53:30
2019-03-17T05:53:30
171,818,024
0
0
null
null
null
null
UTF-8
Python
false
false
1,295
py
# from django.contrib.auth.decorators import login_required from django.shortcuts import render # from .models import SolutionPost def home(request): return render(request, 'basic/index.html') def test(request): return render(request, 'test.html') # def update_profile(request, user_id): # user = User...
[ "deepto69@gmail.com" ]
deepto69@gmail.com
87193fc338f23a42a20af7ae9ae3eaa872a6f802
c533017c711b7edf3fb8590504c983286a509804
/logging_level.py
8fe5066a5caa1ec87ca7e6a6cb84c5d8893826b2
[]
no_license
zgotter/Flask
78dface6b7968087aa19f7221d21d3dbd8793dda
c0ed83812a4cdd7ce70ca900712c6ac40f9c71d0
refs/heads/master
2022-06-17T18:41:28.008422
2020-05-08T08:05:06
2020-05-08T08:05:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
278
py
import logging # 파일로 남기기 위해 filename='test.log' parameter로 추가한다. logging.basicConfig(filename='test.log', level=logging.DEBUG) logging.debug("debug") logging.info("info") logging.warning("warning") logging.error("error") logging.critical("critical")
[ "shkim4738@gmail.com" ]
shkim4738@gmail.com
2a36a2937b9885b3dd22b6f636af9dbbc8d2d620
ca66a4283c5137f835377c3ed9a37128fcaed037
/djangoPIWebsite/pages/urls.py
27c2ff3beec290d2c3c8ca0f634526b361686a73
[]
no_license
NamithaKonda09/majorProject
f377f7a77d40939a659a3e59f5f1b771d88889ad
4eff4ff18fa828c6278b00244ff2e66522e0cd51
refs/heads/master
2023-06-04T20:25:38.450271
2021-06-24T19:03:46
2021-06-24T19:03:46
370,240,034
0
0
null
null
null
null
UTF-8
Python
false
false
461
py
from django.urls import path from . import views urlpatterns = [ path('',views.analysis, name='home'), path('dashboard/', views.dashboard, name='dashboard'), path('annotate/', views.upload_annotate, name='annotate'), path('test/', views.upload_test, name='test'), path('analysis/', views.analy...
[ "namithakonda09@gmail.com" ]
namithakonda09@gmail.com
425c8d1b40bc20b6c30f8231fc233c7a216592df
d66818f4b951943553826a5f64413e90120e1fae
/hackerrank/Algorithms/Circular Array Rotation/solution.py
2b18de59ae789f0cc2f536aa5aec470e5256052f
[ "MIT" ]
permissive
HBinhCT/Q-project
0f80cd15c9945c43e2e17072416ddb6e4745e7fa
19923cbaa3c83c670527899ece5c3ad31bcebe65
refs/heads/master
2023-08-30T08:59:16.006567
2023-08-29T15:30:21
2023-08-29T15:30:21
247,630,603
8
1
MIT
2020-07-22T01:20:23
2020-03-16T06:48:02
Python
UTF-8
Python
false
false
658
py
#!/bin/python3 import os # Complete the circularArrayRotation function below. def circularArrayRotation(a, k, queries): l = len(a) return [a[(l - k % l + q) % l] for q in queries] if __name__ == '__main__': fptr = open(os.environ['OUTPUT_PATH'], 'w') nkq = input().split() n = int(nkq[0]) ...
[ "hbinhct@gmail.com" ]
hbinhct@gmail.com
a0447be691ddc7f0c16a8a89de42c18b13880fc5
147fd8d2fa164c173d3763b868d9df790045e53e
/file_build_failures.py
8c193f0e151dfb76a8cc58d1c4eb90cf4613d126
[ "CC0-1.0" ]
permissive
hroncok/mini-mass-rebuild
d49c0da413d48a3092e0393f02d4f7b3015e5022
f12cae9ad7277c5524628a8da31c884e172a12e8
refs/heads/master
2022-03-11T15:32:55.818761
2022-01-31T11:18:12
2022-01-31T11:18:38
122,631,346
5
3
null
2020-10-30T12:56:06
2018-02-23T14:26:24
Python
UTF-8
Python
false
false
2,172
py
import bugzilla import pathlib import time import sys import webbrowser from urllib.parse import urlencode from textwrap import dedent BUGZILLA = 'bugzilla.redhat.com' TRACKER = 1686977 # PYTHON38 def bugzillas(): bzapi = bugzilla.Bugzilla(BUGZILLA) query = bzapi.build_query(product='Fedora') query['bl...
[ "miro@hroncok.cz" ]
miro@hroncok.cz
dc6c93b1ba2ac42b69d9d29f8212a43187f85984
4a59e35a12af911f588224f07aab52d24fd6b044
/venv/lib/python2.7/site-packages/mbed_host_tests/host_tests_conn_proxy/conn_primitive_remote.py
bc5e0168c2d0d9dc23072be057abf7bb022bd8f6
[]
no_license
ryankurte/mbed-node
95caba48404e06c4f21f48a850152c08d911bbc8
3584d391fca00fc3cda138c26ae28fdbe5527d83
refs/heads/master
2021-01-22T13:23:08.506740
2017-11-02T17:40:26
2017-11-02T17:40:26
100,665,570
0
0
null
null
null
null
UTF-8
Python
false
false
6,698
py
#!/usr/bin/env python """ mbed SDK Copyright (c) 2011-2016 ARM Limited 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 ...
[ "ryan.kurte@trutest.co.nz" ]
ryan.kurte@trutest.co.nz
3e942e91f7d2d29231fc55e21c086b11c76337b1
e288180c977c8fccf31c00bb74b7e8f56ee69303
/vkrb/newsitem/views.py
ca6ce1be70905efd68a1aa31f6f346ac625c8fed
[]
no_license
kaluginadaria/vkrb-back
32e0c9aef7a647ea2a2e399c8d999622e993a433
d037baaa9f17cb038d41dda5dfbf1dbb56acdf90
refs/heads/master
2022-12-07T23:36:32.902662
2019-05-22T15:06:31
2019-05-22T15:06:31
179,382,015
0
0
null
2022-11-22T02:38:25
2019-04-03T22:52:30
Python
UTF-8
Python
false
false
5,188
py
from django import forms from django.contrib.contenttypes.models import ContentType from django_serializer.base_views import (ListView, DetailsView, BaseView, CreateView, ...
[ "d.kalugina@ktsstudio.ru" ]
d.kalugina@ktsstudio.ru
77516ca559071c396386ca15fe21b648acd1f37d
4148260054c2cf4605dacb8bdef3605c82eca470
/temboo/Library/RapidShare/AddRealFolder.py
a08056f99e344635a1c16c36fd020a144dfabb6a
[]
no_license
wimsy/actuarize-web
0f23d5f00afe3d36d430621cdb497d2e64998416
5f43af3019da6fb08cafeec9ff0a89df5196b864
refs/heads/master
2021-03-12T19:38:21.887681
2012-12-19T01:13:50
2012-12-19T01:13:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,044
py
# -*- coding: utf-8 -*- ############################################################################### # # AddRealFolder # Creates a new folder in RapidShare. # # Python version 2.6 # ############################################################################### from temboo.core.choreography import Choreography fro...
[ "mike.wimsatt@gmail.com" ]
mike.wimsatt@gmail.com
29e30f6c5d806f391e7443ee20d901d615f8045e
75dcb56e318688499bdab789262839e7f58bd4f6
/_algorithms_challenges/codingbat/codingbat-solutions-master/Python/List-2/sum67.py
fb8d4799059832c94349de8442523ed1b0a77f34
[]
no_license
syurskyi/Algorithms_and_Data_Structure
9a1f358577e51e89c862d0f93f373b7f20ddd261
929dde1723fb2f54870c8a9badc80fc23e8400d3
refs/heads/master
2023-02-22T17:55:55.453535
2022-12-23T03:15:00
2022-12-23T03:15:00
226,243,987
4
1
null
2023-02-07T21:01:45
2019-12-06T04:14:10
Jupyter Notebook
UTF-8
Python
false
false
538
py
""" Return the sum of the numbers in the array, except ignore sections of numbers starting with a 6 and extending to the next 7 (every 6 will be followed by at least one 7). Return 0 for no numbers. sum67([1, 2, 2]) → 5 sum67([1, 2, 2, 6, 99, 99, 7]) → 5 sum67([1, 1, 6, 7, 2]) → 4 """ def sum67(nums): record = T...
[ "sergejyurskyj@yahoo.com" ]
sergejyurskyj@yahoo.com
3355d566237ae53f9ec0cd4778ba796a468515fa
de644b254b17a28f82e9212d80872a3d9eca2149
/lib/mock/asset/CodeTilesetAsset.py
1a516b75ee1713f62b14e116e258e5eda5c53cdf
[ "MIT" ]
permissive
pixpil/gii
506bee02b11eb412016b583d807dcfcc485e189c
ba6d94ada86d82bacae06f165567a02585264440
refs/heads/master
2021-12-03T06:30:31.503481
2021-11-24T03:02:49
2021-11-24T03:02:49
431,331,021
4
1
null
null
null
null
UTF-8
Python
false
false
1,054
py
import os.path import json from gii.core import AssetManager, AssetLibrary, getProjectPath, app, JSONHelper from .helper.psd2tileset import TilesetProject from gii.core.CommonAsset.DataYAMLAsset import DataYAMLAssetManager def _getModulePath( path ): import os.path return os.path.dirname( __file__ ) + '/' + path ...
[ "tommo.zhou@gmail.com" ]
tommo.zhou@gmail.com
77f288050a171578be6b3051b61925b4a58bd900
75c7004744315a22afdad8a68f20c06b8d3efad0
/网络设备脚本/思科命令行/路由映射.py
b2091c2660925823710d7ecc04e4199e812979c2
[ "MIT" ]
permissive
cflw/network_device_script
b13cde8719f23402cdd6acd3ca9048a7d65952aa
c3644e933a3c557c44951a0a1994a49357e49c02
refs/heads/master
2023-08-03T11:00:29.188101
2023-07-29T13:58:09
2023-07-29T13:58:09
182,526,402
18
12
null
null
null
null
UTF-8
Python
false
false
2,127
py
from ..基础接口 import 操作 from ..基础接口 import 策略 from ..命令行接口 import 模式 from ..命令行接口 import 命令 from ..命令行接口 import 路由映射 from . import 访问控制列表 as 访问列表 class C路由映射组(路由映射.I路由映射组, 模式.C同级模式): def __init__(self, a, a名称): 路由映射.I路由映射组.__init__(self, a, a名称) def f模式_节点(self, a序号 = 10, a动作 = True, a操作 = None): return C路由映射节点(sel...
[ "cflw@outlook.com" ]
cflw@outlook.com
bc1f2755b787437621a08fd37cef0f3df85c95da
c2b8adb8b4062a14bfc7d8c8fa2938359530e028
/mfes/evaluate_function/eval_sys_poker.py
6b834b866e2eb3caf02c64e7d4631749ec387747
[]
no_license
thomas-young-2013/hp-tuner
1e7d277f3c0135b9032884e3f20b050f19012918
e606569719a14d8445633e42aedc8296a63a577a
refs/heads/master
2023-04-15T08:41:02.514912
2020-09-14T13:23:55
2020-09-14T13:23:55
225,173,361
0
2
null
2023-03-24T22:31:25
2019-12-01T14:17:29
Python
UTF-8
Python
false
false
405
py
from __future__ import division, print_function, absolute_import import os import sys from functools import partial sys.path.append(os.getcwd()) from solnml.datasets.utils import load_train_test_data from mfes.evaluate_function.sys.combined_evaluator import train as _train train_node, test_node = load_train_test_dat...
[ "459240868@qq.com" ]
459240868@qq.com
bf59c63dc485ae90cd29cba0e2b0f40a6a812578
3c31584c1b661195a567ffd2603d30cb2e270493
/codeforces/706/B.py
31dd5d8a311b87f310cd96d3b478f008e8e8580c
[]
no_license
ku-nal/Codeforces
c7f621e35b5d4eea1ed11276ee8e91031252ca91
df43c2fcbcfd1c9f96b6fe79c7abc9ddee054cb7
refs/heads/main
2023-04-10T19:00:40.559074
2021-04-27T15:15:51
2021-04-27T15:15:51
362,154,763
4
0
null
null
null
null
UTF-8
Python
false
false
2,268
py
#===========Template=============== from io import BytesIO, IOBase import sys,os inpl=lambda:list(map(int,input().split())) inpm=lambda:map(int,input().split()) inpi=lambda:int(input()) inp=lambda:input() rev,ra,l=reversed,range,len P=print BUFSIZE = 8192 class FastIO(IOBase): newlines = 0 def __init__(self, f...
[ "kunalmakwana18@gnu.ac.in" ]
kunalmakwana18@gnu.ac.in
de272a3b846152173db1088aa944b13b8b03e905
ec7f476240c8edf88bf9500c5b677113d840d6c6
/PMModels/Implementations/Backtesting/mean_pnl.py
3cab0e3ceec638f84a2f5440f990c7308e1d435f
[]
no_license
fagan2888/BehavioralAssignmentSolution
80b82b71a94d0da68783b00046215755c1dd3715
15acead2d6af6e59f64a7d3baf7da5356cea57ec
refs/heads/master
2021-04-21T08:31:40.453758
2018-08-27T06:18:41
2018-08-27T06:18:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,196
py
# -*- coding: utf-8 -*- #!/usr/bin/env python ''' Name: Beier (Benjamin) Liu Date: 7/5/2018 Remark: Python 3.6 is recommended Before running please install packages *numpy, scipy, matplotlib Using cmd line py -3,6 -m pip install [package_name] ''' import os, time, logging import copy, math import functools, itertools ...
[ "imbenliu@gmail.com" ]
imbenliu@gmail.com
021fe2ec6b0f2d796211aa9535bec12b1d96a01e
12f27e80ee7cf5f5274c98ba2e370defbdafa67b
/data-exporter/pipeline.py
8dfb1c175af634643b9e62ecb169b82ae425ad77
[]
no_license
dawnkd/beehive-server
48f94abfe2392902845f4a682f59fdfefa64dbf7
21f61a9c5723554931a9735c2c9398e82186fbd1
refs/heads/master
2020-03-19T02:12:53.584756
2018-05-31T16:26:55
2018-05-31T16:26:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,163
py
import binascii import re import struct from waggle.coresense.utils import decode_frame as decode_frame_v3 from waggle.protocol.v5.decoder import decode_frame as decode_frame_v5 from waggle.protocol.v5.decoder import convert as convert_v5 def normalize_key(k): return re.sub('[-_.]+', '_', k).lower() def normali...
[ "sean.shahkarami@gmail.com" ]
sean.shahkarami@gmail.com
dfc33f4392592784b20a4f10a81aaefb5131c5c3
1d363dfbe69b79bc1989251f085060232beb12f5
/tests/test_chemical_package.py
a87f5ed3afd8ddfc87e362e8508edd4dcf84319c
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
CalebBell/thermo
ec602af2316875692e385287c6010e9f206b1bc3
8622fada3614179d4372192e0031b4a206384c93
refs/heads/master
2023-08-30T05:30:07.552575
2023-06-25T01:35:53
2023-06-25T01:35:53
62,404,647
529
127
MIT
2023-08-11T18:31:21
2016-07-01T16:04:56
Python
UTF-8
Python
false
false
6,401
py
'''Chemical Engineering Design Library (ChEDL). Utilities for process modeling. Copyright (C) 2020, Caleb Bell <Caleb.Andrew.Bell@gmail.com> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without...
[ "Caleb.Andrew.Bell@gmail.com" ]
Caleb.Andrew.Bell@gmail.com
5c377987f3a2b5dc3ed85c65b668b95b75cb4097
c93f51492cfee3f98040f07d7f4323ec27ac81a5
/refinery/units/misc/drp.py
b38fff444e00c9713d6f25da6071973808bbc9fe
[ "BSD-3-Clause" ]
permissive
prats84/refinery
cbe9ebfeb570c9c0531e13bbf13ec18801f12aca
5f961051e9cc1857a06108ce4d36a6799ac9d720
refs/heads/master
2023-07-13T02:32:04.998285
2021-08-20T09:08:01
2021-08-20T09:08:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,630
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import sys from .. import arg, Unit from ...lib.suffixtree import SuffixTree from ...lib.types import INF class stackdepth: def __init__(self, depth): self.depth = depth self.default = sys.getrecursionlimit() def __enter__(self): if self...
[ "rattle@nullteilerfrei.de" ]
rattle@nullteilerfrei.de
bd68a56c8021ef5410ed32841b7d9aa4f48a1c15
f810836bea801f2fa85418ac7f5f5ffb0f3e0bda
/abc/abc152/B - Comparing Strings.py
c51536616f18cb30a6098701c3c10148ce646fb0
[]
no_license
cocoinit23/atcoder
0afac334233e5f8c75d447f6adf0ddf3942c3b2c
39f6f6f4cc893e794d99c514f2e5adc9009ee8ca
refs/heads/master
2022-08-29T06:01:22.443764
2022-07-29T07:20:05
2022-07-29T07:20:05
226,030,199
1
0
null
null
null
null
UTF-8
Python
false
false
95
py
a, b = map(int, input().split()) if a <= b: print(str(a) * b) else: print(str(b) * a)
[ "cocoinit23@gmail.com" ]
cocoinit23@gmail.com
fdb0f1461476422b82e479e5258854ffe5155a90
a9a8931d6877d6e0f4f11cbd7b50322819e0fe45
/hpc/REBAGG-WERCS-GN_80.py
f8def9de400fee00afb0aafccf18c7fbffeff645
[]
no_license
jafetgado/tomerdesign
8517f9f8266bcf1db64fdf00d12294f682cd412d
a0d0961a11d7d84be5343d374198ab0f5084c2b3
refs/heads/master
2022-05-31T18:15:55.045419
2020-04-25T05:49:32
2020-04-25T05:49:32
258,499,679
3
1
null
null
null
null
UTF-8
Python
false
false
9,403
py
""" Template script for hyperparameter tuning with HPC Evaluates the performance of a strategy for a single set of hyperparameter combinations) """ # Imports #============# import numpy as np import pandas as pd import joblib import itertools from sklearn.tree import DecisionTreeRegressor from sklearn.ensemble ...
[ "japhethgado@gmail.com" ]
japhethgado@gmail.com
8939f3f24ec15e8fa68cd329521e1feaccb25612
bad62c2b0dfad33197db55b44efeec0bab405634
/sdk/media/azure-mgmt-media/azure/mgmt/media/aio/operations/_asset_filters_operations.py
94385524e45a19be44bb9043148585e1e204c044
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later" ]
permissive
test-repo-billy/azure-sdk-for-python
20c5a2486456e02456de17515704cb064ff19833
cece86a8548cb5f575e5419864d631673be0a244
refs/heads/master
2022-10-25T02:28:39.022559
2022-10-18T06:05:46
2022-10-18T06:05:46
182,325,031
0
0
MIT
2019-07-25T22:28:52
2019-04-19T20:59:15
Python
UTF-8
Python
false
false
26,140
py
# pylint: disable=too-many-lines # 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) AutoRe...
[ "noreply@github.com" ]
test-repo-billy.noreply@github.com
6694c98e3b9d6d13e32999cfd268c777850b2bcb
fa1953cb5c96b816b3d7e3df757cea0aa0f973b1
/src/ensemble.py
d2014f12b77d18bd6b8be9d41617da60a77eca9f
[]
no_license
cttsai1985/Kaggle-Recursion-Cellular
369aafd89f0ddfa4229f9b19fdba1317bfcf6cb8
a91740a4ad984588c28a9369f303eba2e6b0bea0
refs/heads/master
2020-11-23T23:29:40.218838
2019-10-09T07:18:06
2019-10-09T07:18:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,654
py
import pandas as pd import numpy as np import click import json from scipy.optimize import linear_sum_assignment from scipy.special import softmax @click.group() def cli(): print("Ensemble") def load_one_fold(predict_root, model_name, fold): test_preds = [] for channel in [ "[1,2,3,4,5]", ...
[ "ngxbac.dt@gmail.com" ]
ngxbac.dt@gmail.com
3b4a3829303c86ac2c0fbcbaed7b424dad368359
4a6dbf2a39e91cd9ed2404dcc954c3c6aaadf69c
/make_playlist/whitelist.py
1d0c8eeb11a5fa22a636fbcddf670472534f9417
[]
no_license
schan27/picify
c51bfd44430049e1e25b09a90ba7c5b618c69909
a160d3d09743096ad90c7e111fce5096ebd11869
refs/heads/master
2023-05-28T06:49:22.734916
2023-05-20T05:50:35
2023-05-20T05:50:35
167,751,806
3
1
null
2023-05-20T05:50:44
2019-01-26T23:52:18
Python
UTF-8
Python
false
false
78,698
py
"""Contains a whitelist of allowed words. As of now these words are just scraped from the following sources: - http://everynoise.com/genrewords.html - https://positivethesaurus.com/positive-words-to-describe-music-melody-sound/ - https://www.allmusic.com/moods """ whitelist = { "abschied", "abstract", "ab...
[ "mwiens91@gmail.com" ]
mwiens91@gmail.com
984d471f394ee4c497bf778e4fabb2af107c42c0
da739696c3c88e760d0adb60f31fe069341ecb20
/backend/home/migrations/0002_load_initial_data.py
2ee56b403f0d4780b8f43156c355882de841197f
[]
no_license
crowdbotics-apps/app-23018
27b1cd94baeb226117429ecdf149bb1970e85c2d
844910b8f1c6e50609bec1b2f8b2bdaf4f490230
refs/heads/master
2023-01-19T19:58:19.772854
2020-11-27T20:04:01
2020-11-27T20:04:01
316,589,584
0
0
null
null
null
null
UTF-8
Python
false
false
1,266
py
from django.db import migrations def create_customtext(apps, schema_editor): CustomText = apps.get_model("home", "CustomText") customtext_title = "app" CustomText.objects.create(title=customtext_title) def create_homepage(apps, schema_editor): HomePage = apps.get_model("home", "HomePage") homep...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
09bccd733a4e5bc6a895e0032bb27e2a2bd0ca26
9e1df555176bae216828c404ad7290c2eb030cbf
/pl_examples/bug_report_model.py
dbea2013d11104b37b432cca31d57808e7b7e328
[ "Apache-2.0", "LicenseRef-scancode-proprietary-license" ]
permissive
shijianjian/pytorch-lightning
e11be4d4926a1a0c8f605e596bec19926d476876
b6f3cf5e52dddedec6f7b3e85c0702b75907452c
refs/heads/master
2023-03-02T14:58:54.139540
2021-02-10T05:38:23
2021-02-10T05:38:23
318,134,795
1
0
Apache-2.0
2020-12-03T09:05:46
2020-12-03T09:05:45
null
UTF-8
Python
false
false
4,217
py
# Copyright The PyTorch Lightning team. # # 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 i...
[ "noreply@github.com" ]
shijianjian.noreply@github.com
05fd5796d8e76b96a95e09044e3489a193ec8ee4
c7d6c70132d626f7c572ecc3d74fc117cacc88bf
/eventory/ext/discord/compat.py
b3046a4e72145d75142a94e7c0c4e605b30afa0f
[ "MIT" ]
permissive
siku2/Eventory
b19a79e020fa8a25145889a64bba83c759e6c288
8a88b3328ae83b369a185a1ea266031e9eef04e8
refs/heads/master
2020-03-07T18:54:39.815670
2018-06-24T22:48:42
2018-06-24T22:48:42
127,656,364
1
0
null
null
null
null
UTF-8
Python
false
false
4,690
py
"""This module serves to bridge the differences between the async and rewrite Discord.py versions.""" import logging from typing import Callable, Dict, Union import discord from discord import Client, Colour, Embed, Message, User from discord.embeds import EmptyEmbed from discord.ext.commands import Context from disc...
[ "siku2@outlook.de" ]
siku2@outlook.de
9a3fbbf5f56ecbc4200b39bba863e8bb5e2e19ac
303c941a88a4f8a4bf2d958457719efb08a5a30f
/fail/bj_1115.py
df3aee67f38c8002932b7ea7d26c40ae9e3c69f2
[]
no_license
Kim-Taesu/Algorithm_python
4b8d8445a23463c3885ec75dd2a7c275f46c1f3f
1d358eb7fe4bd04b6ed0ec3754e8be08eece9278
refs/heads/master
2020-06-10T17:36:07.260572
2020-03-16T05:53:01
2020-03-16T05:53:01
193,693,829
1
0
null
null
null
null
UTF-8
Python
false
false
693
py
import sys from itertools import permutations sys.setrecursionlimit(10 ** 6) input = sys.stdin.readline N = int(input()) P = list(map(int, input().strip().split(' '))) perfect_p_list = set(permutations([i for i in range(1, N)], N - 1)) min_count = sys.maxsize def compute_origin_p(p_tmp): result = [0] * N re...
[ "dkdldoafotn@naver.com" ]
dkdldoafotn@naver.com
a213b5557a2c932b30db4d8c8d0090a87238a01b
699abe83fa9d142dcff2cc551d4ac052f7778058
/real_estate/spiders/otodom.py
5c22c9b3fef5f231270b2c7ab20b391fdb0df6c8
[]
no_license
whosethere/otodom_crawler_scraper
055313b9b47c93454d3b795712a2fa5830562bbe
d97a34fa7ad0c7b05f89d30d5d6436cf6b329a34
refs/heads/master
2022-06-25T11:19:37.368177
2020-05-09T10:52:25
2020-05-09T10:52:25
262,549,682
0
0
null
null
null
null
UTF-8
Python
false
false
5,284
py
import scrapy from scrapy.linkextractors import LinkExtractor import json from pymongo import MongoClient import base64 import io from real_estate.items import Otodom from scrapy.loader import ItemLoader import datetime import time import re class OtodomSpider(scrapy.Spider): name = 'otodom' allowed_domains ...
[ "you@example.com" ]
you@example.com
6440c4965fb42a080990cb5cad4c6b0f20166912
518bf342bc4138982af3e2724e75f1d9ca3ba56c
/solutions/1441. Build an Array With Stack Operations/1441.py
c57039a1e6a850ebf9c94019ab817c14266d8309
[ "MIT" ]
permissive
walkccc/LeetCode
dae85af7cc689882a84ee5011f0a13a19ad97f18
a27be41c174565d365cbfe785f0633f634a01b2a
refs/heads/main
2023-08-28T01:32:43.384999
2023-08-20T19:00:45
2023-08-20T19:00:45
172,231,974
692
302
MIT
2023-08-13T14:48:42
2019-02-23T15:46:23
C++
UTF-8
Python
false
false
350
py
class Solution: def buildArray(self, target: List[int], n: int) -> List[str]: ans = [] i = 0 # Target pointer num = 1 # Curr num while i < len(target): t = target[i] if t == num: ans.append("Push") i += 1 else: ans.append("Push") ans.append("Pop") ...
[ "me@pengyuc.com" ]
me@pengyuc.com
db9d8b152dcb7561abcbe6406a615ce46892503e
3cd1246ff58f26329021f2d13caa62221c91d5a4
/testdata/python/genexp/ctx.py
c4655f604ff5dc8efc1bdbffbeff45cb8be81c53
[]
no_license
mwkmwkmwk/unpyc
0929e15fb37599496930299d7ced0bf1bedd7e99
000fdaec159050c94b7ecf6ab57be3950676f778
refs/heads/master
2020-12-01T14:01:57.592806
2016-03-21T14:11:43
2016-03-21T14:12:01
230,650,936
0
0
null
null
null
null
UTF-8
Python
false
false
27
py
a + b + c + (d for e in f)
[ "koriakin@0x04.net" ]
koriakin@0x04.net
1c530fe372777c5ddae9fd3aae02fe09b03a7d9e
0db05f7b843e8450bafd5ae23f8f70f9a9a8c151
/Src/StdLib/Lib/site-packages/win32comext/shell/test/testShellFolder.py
82d126408aa600a298de5cbeb8dbf491a19dd598
[ "BSD-3-Clause", "Python-2.0", "LGPL-2.0-only", "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
IronLanguages/ironpython2
9c7f85bd8e6bca300e16f8c92f6384cecb979a6a
d00111890ce41b9791cb5bc55aedd071240252c4
refs/heads/master
2023-01-21T21:17:59.439654
2023-01-13T01:52:15
2023-01-13T01:52:15
91,620,472
1,171
288
Apache-2.0
2023-01-13T01:52:16
2017-05-17T21:11:51
Python
UTF-8
Python
false
false
581
py
from win32com.shell import shell from win32com.shell.shellcon import * sf = shell.SHGetDesktopFolder() print "Shell Folder is", sf names = [] for i in sf: # Magically calls EnumObjects name = sf.GetDisplayNameOf(i, SHGDN_NORMAL) names.append(name) # And get the enumerator manually enum = sf.EnumObjects(0...
[ "pawel.jasinski@gmail.com" ]
pawel.jasinski@gmail.com
8b86f8f4e9e3c5acf3431aa0b9eedf6fc4b41865
4e708d886792efad8e9398ace014e325b00d907d
/owo/client/enclosure/__main__.py
ba3958e87436afa6734eae36934a98e989c885a2
[]
no_license
korkies22/OwO-core
981ed8afb9f75432d5a4060f63c9fb591767d855
56f234db1f8fd18c78fd9dc4a390d37086ab671f
refs/heads/master
2020-04-11T09:38:27.885985
2018-10-01T16:17:09
2018-10-01T16:17:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
822
py
# Copyright 2017 OwO AI Inc. # # 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, s...
[ "j.alban@uniandes.edu.co" ]
j.alban@uniandes.edu.co
5dfe362221ea0d80f0c73342b2ac4f27431c627e
a0c2bc4d98db71782a925ca2c83579ee949db5aa
/services/test/test_adminAPI_userpersonlinks.py
3bb3866de754a4fd77cc0ba6a5d7dd893562a47f
[ "MIT" ]
permissive
rmetcalf9/saas_user_management_system
0220c9711928c38e8e71ede9c175e51d4f4b0bbe
d3908c46614fb1b638553282cd72ba3634277495
refs/heads/master
2023-03-17T00:32:57.317015
2022-08-03T19:37:50
2022-08-03T19:37:50
163,972,910
1
0
MIT
2023-03-04T03:07:10
2019-01-03T12:54:20
Python
UTF-8
Python
false
false
10,012
py
from datetime import datetime, timedelta import pytz from TestHelperSuperClass import testHelperAPIClient, env, tenantWithNoAuthProviders, sampleInternalAuthProv001_CREATE, internalUSerSufix from appObj import appObj from constants import masterTenantName, jwtHeaderName, objectVersionHeaderName, DefaultHasAccountRole, ...
[ "rmetcalf9@googlemail.com" ]
rmetcalf9@googlemail.com
58c1d50482bd4ceff2380654a146d6c7476adab9
408f985c954ad6f0f3926e02dc18c31336bac194
/precise_bbcode/core/utils.py
8388589936970347e3e3e1dbc97d1e1a7f325542
[ "BSD-3-Clause" ]
permissive
ellmetha/django-precise-bbcode
176258d9436cc29002d59f29d4964a3bdd05721e
24306622fc8ebd91c8c79543c18050de0b32f1f1
refs/heads/main
2023-08-28T13:35:07.027756
2023-07-27T01:07:15
2023-07-27T01:07:15
13,904,807
36
16
BSD-3-Clause
2023-08-19T18:44:47
2013-10-27T16:45:03
Python
UTF-8
Python
false
false
322
py
from functools import reduce def replace(data, replacements): """ Performs several string substitutions on the initial ``data`` string using a list of 2-tuples (old, new) defining substitutions and returns the resulting string. """ return reduce(lambda a, kv: a.replace(*kv), replacements, data...
[ "morgan.aubert@zoho.com" ]
morgan.aubert@zoho.com
33f73c6e22ecded1f56c04ae0d5a569dae6d3013
e09c0384767e46b79898762450d63d309c3728b5
/tensorflow/python/keras/metrics_test.py
88b763d56909d30de4d19db42230eff5eb5766ce
[ "Apache-2.0" ]
permissive
mattli002/tensorflow
bc4a1d4375fd05f708b58a56aee37ae2c08127b5
efe565bc0981e80a52a97f3961cfba3e87023b42
refs/heads/master
2020-04-14T22:23:03.052138
2019-01-04T22:08:26
2019-01-04T22:13:56
164,160,059
0
0
Apache-2.0
2019-01-04T22:16:44
2019-01-04T22:16:44
null
UTF-8
Python
false
false
70,750
py
# Copyright 2016 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
02f82c3bdce5f373fb441ff9f282e97254250537
d138deda43e36f6c79c5e3a9ef1cc62c6a92e881
/python/paddle/fluid/tests/unittests/test_dist_mnist_ring_allreduce.py
4436064dc28ed1276481378c70aa3b306486e0c8
[ "Apache-2.0" ]
permissive
seiriosPlus/Paddle
51afd6f5c85c3ce41dd72953ee659d1539c19f90
9602a182b2a4979247c09df1ec283fc39cb4a981
refs/heads/develop
2021-08-16T16:05:10.848535
2020-12-27T15:15:19
2020-12-27T15:15:19
123,257,829
2
0
Apache-2.0
2019-12-10T08:22:01
2018-02-28T08:57:42
C++
UTF-8
Python
false
false
1,177
py
# Copyright (c) 2018 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
[ "noreply@github.com" ]
seiriosPlus.noreply@github.com
fd3cf4d40487d172afc5c8e1119786c68a9a7f34
630804da2c327c6723a7a808c23381348b1c79be
/Week1/Day1/FirstAssignment.py
0920e18f448ce3cb1dc2c941f453446b81d409bf
[]
no_license
AjayKarki/DWIT_Training
9f1bc49ff19acbe96d121e115acd0d1ba9c05ff4
e8ce49e2c73e29130a352bd9f5fcab4fe86ebf13
refs/heads/master
2020-09-23T13:01:31.056432
2019-12-25T15:09:39
2019-12-25T15:09:39
225,506,505
0
0
null
null
null
null
UTF-8
Python
false
false
374
py
first_number = int(input("Enter a number ")) second_number = int(input("Enter another number ")) """ This is an example of Multiline Comment """ print("Sum is ", first_number+second_number) print("Diff is ", first_number-second_number) print("Prod is ", first_number*second_number) print("Div is ", first_number/second_...
[ "ajaykarki333@gmail.com" ]
ajaykarki333@gmail.com
fb66ec4f4fe8f900b439e9ce33725c9fb5f5e3fb
ef4a12140c89ddd01c335000e15479dff85c48c6
/kleinworth/spiders/spider.py
e969c9d462814f10ac9746d7f20af6c590fd4209
[]
no_license
SimeonYS/kleinworth
8f06e717f9f7c1a3377033ddf190b64bc7784f8e
c4575f0daeacf4771359e4b213c6cbf850fe750d
refs/heads/main
2023-03-19T08:17:54.626925
2021-03-15T10:10:36
2021-03-15T10:10:36
347,920,676
0
0
null
null
null
null
UTF-8
Python
false
false
1,268
py
import re import scrapy from scrapy.loader import ItemLoader from ..items import KleinworthItem from itemloaders.processors import TakeFirst pattern = r'(\xa0)?' class KleinworthSpider(scrapy.Spider): name = 'kleinworth' start_urls = ['https://www.kleinworthambros.com/en/tags/tag/press-releases/', 'https://ww...
[ "simeon.simeonov@ADPVT.com" ]
simeon.simeonov@ADPVT.com
cef1aa623ceaeb8e1400245c7f160633065eb08c
55c250525bd7198ac905b1f2f86d16a44f73e03a
/Python/pygame/pygame-physics/pygame_projectile_angle.py
b4956e8676459708bfbca383c3da3aa096cbd52d
[]
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
128
py
version https://git-lfs.github.com/spec/v1 oid sha256:018a844bc0bfcb3938201de01d763672c6bdce35b5b911524f4e2222f2b9b540 size 830
[ "nateweiler84@gmail.com" ]
nateweiler84@gmail.com
f353d4066d0ca5278a6d6dccbf24d5374f660dc5
0161a3ab3710ffee631a6b7ec038e68de4c387ce
/imdb/imdb/settings.py
59a5b6079b2648a7a7d63fa726d413ac08518812
[]
no_license
tarungoyal1/learn_scrapy
38536bbe1d732dc7dbdad37fb2e8814d81f838b3
839e24faa9bc60b83ffe805d8bb987d92dd07443
refs/heads/master
2022-11-14T21:59:55.310898
2020-07-11T02:12:08
2020-07-11T02:12:08
273,656,895
0
0
null
null
null
null
UTF-8
Python
false
false
3,092
py
# -*- coding: utf-8 -*- # Scrapy settings for imdb project # # For simplicity, this file contains only settings considered important or # commonly used. You can find more settings consulting the documentation: # # https://docs.scrapy.org/en/latest/topics/settings.html # https://docs.scrapy.org/en/latest/topics...
[ "tarun13317@gmail.com" ]
tarun13317@gmail.com
08910e614d2cf4644137974150405fa8943e7a99
3fe9d17c2151cb3853986a79e2ce2010fbc27b4d
/utils.py
2a2a787daa66ee87fc9f20df7944bd59860bec87
[]
no_license
coolmaksat/graembeds
82c2d6e1fecb51e33aa0ace349a3d434b608534f
35ecddb9d8ef1d9fb648186a6195fd0703d9b642
refs/heads/master
2020-03-27T20:18:08.315222
2018-09-06T13:44:14
2018-09-06T13:44:14
147,056,884
0
0
null
null
null
null
UTF-8
Python
false
false
2,945
py
import numpy as np import math class Dataset(object): """Dataset class for handling data operations. It requires specific format for graph data files. Graph should be stored in `data` folder under its the folder with its name and should contain three files `train.txt`, `valid.txt`, `test.txt`. ...
[ "coolmaksat@gmail.com" ]
coolmaksat@gmail.com
a6e3d61630fcd661507496cd82b8e633ac857ffb
539d003125eebf761ba320223566cd56eeefe247
/mundiapi/models/get_split_response.py
4d7b029a9500b863546dae4bbb9a066b8284df12
[ "MIT" ]
permissive
mundipagg/MundiApi-NodeJS
6e58afb33510a723574ee06bec107654409910af
f0c67e1f92471a7a0e2d0b0cb1765105f07fb8cb
refs/heads/master
2023-06-25T23:04:42.429866
2023-06-19T16:10:31
2023-06-19T16:10:31
101,078,084
9
5
NOASSERTION
2023-06-01T17:50:21
2017-08-22T15:25:30
JavaScript
UTF-8
Python
false
false
2,179
py
# -*- coding: utf-8 -*- """ mundiapi This file was automatically generated by APIMATIC v2.0 ( https://apimatic.io ). """ import mundiapi.models.get_recipient_response class GetSplitResponse(object): """Implementation of the 'GetSplitResponse' model. Split response Attributes: ...
[ "noreply@github.com" ]
mundipagg.noreply@github.com
9d96b2dcf2e0ad95dd30fbddadd9690e92e19b73
9dc1c85e7d86d29400af79125e9cd89a82a9b8ab
/myproject/portfolio/migrations/0008_auto_20210411_1227.py
1ff519e0632e898c671a29b31ad605be406f6c6f
[ "MIT" ]
permissive
borko81/simple_django
e284ff8f79b3e708b4903ba0b774e3a480de9190
9dbd2d848cbf0ff0c58e93471853c5b21c769758
refs/heads/master
2023-07-14T01:25:13.294095
2021-08-16T15:48:00
2021-08-16T15:48:00
349,369,208
1
0
null
null
null
null
UTF-8
Python
false
false
415
py
# Generated by Django 3.1.7 on 2021-04-11 09:27 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('portfolio', '0007_auto_20210402_2045'), ] operations = [ migrations.AlterField( model_name='project', name='image', ...
[ "bstoilov81@gmail.com" ]
bstoilov81@gmail.com
47f64b5e8973a03abf00d861f93525f47544fea7
84166c246e819c19acc1dcd77a405b85ca554c9b
/app/models.py
192cbcd040ed2ace4a75d75d5408515272105f1b
[ "MIT" ]
permissive
kenmutuma001/Blog
992a98a605f7247bade6577b8e02a277b30db294
6b19a77b71694bbe9f5e84207de46c68f87ebc5e
refs/heads/master
2020-05-18T13:32:34.689064
2019-05-01T16:55:32
2019-05-01T16:55:32
184,439,802
0
0
null
null
null
null
UTF-8
Python
false
false
2,690
py
from . import db from werkzeug.security import generate_password_hash, check_password_hash from flask_login import UserMixin from . import login_manager from datetime import datetime @login_manager.user_loader def load_user(user_id): return User.query.get(int(user_id)) class User(UserMixin, db.Model): __tab...
[ "santa@northpole.com" ]
santa@northpole.com
2fdc4462eba62b8677c1fc96b35656c7681cd085
14f085fe9db8179dd44c18f00c1184881dcfe21a
/testing/mos_2d.py
c174c00a97eef685b5fb02f156d04f6eef906d24
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference", "LicenseRef-scancode-warranty-disclaimer", "BSD-3-Clause-Open-MPI", "LGPL-2.1-or-later", "LicenseRef-scancode-other-permissive", "Python-2.0", "BSL-1.0", "BSD-2-Clause", "MPL-2.0" ]
permissive
devsim/devsim
7ba495952239d4e9c0170c0a5a89905aa9eb3e1e
3d979d6a98685b2e51c15eebd20afdc1e643fc3a
refs/heads/main
2023-08-31T10:40:41.346966
2023-08-30T16:42:56
2023-08-30T16:42:56
8,838,727
158
69
Apache-2.0
2023-07-15T03:21:34
2013-03-17T18:01:17
C++
UTF-8
Python
false
false
2,939
py
# Copyright 2013 DEVSIM LLC # # SPDX-License-Identifier: Apache-2.0 from devsim.python_packages.simple_physics import * from devsim.python_packages.ramp import * from devsim import * import mos_2d_create device = "mymos" silicon_regions=("gate", "bulk") oxide_regions=("oxide",) regions = ("gate", "bulk", "oxide") in...
[ "juan@tcad.com" ]
juan@tcad.com
c75af74434ea3e57608c0e597caaa3a04ba11afd
c71e5115b895065d2abe4120799ffc28fa729086
/procon-archive/atcoder.jp/arc091/arc091_a/Main.py
04345b8d0e5e40d70aee3f64ae87b4124bc40efc
[]
no_license
ken0105/competitive-programming
eb82f92a7b7ad0db601ea341c1441de6c6165064
f918f85a0ea6dfbe9cac3ef835f80503bb16a75d
refs/heads/master
2023-06-05T09:55:25.264731
2021-06-29T14:38:20
2021-06-29T14:38:20
328,328,825
1
0
null
null
null
null
UTF-8
Python
false
false
108
py
if __name__ == '__main__': n, m = map(int, input().split()) print(abs(n * m - (2 * n + 2 * m - 4)))
[ "iwata.kenaaa@gmail.com" ]
iwata.kenaaa@gmail.com
a5649bccb1465ea6b0584343b7c494035ac67e5a
9b60beb5ef167dc57a700ddaa0481a173e9c24d8
/my315ok/products/browser/multipgkuptabs.py
cc1156178510f15ad10b490a53baa4de5b455653
[]
no_license
adam139/my315ok.products
8e9460f649e6c57575b3a7838e92fa40f147a99d
d335ed679dd68cddc6aee006f873a038b5258508
refs/heads/master
2020-12-25T16:48:12.378815
2018-04-08T00:35:20
2018-04-08T00:35:20
23,514,147
0
0
null
null
null
null
UTF-8
Python
false
false
288
py
from five import grok from Acquisition import aq_inner from Products.CMFCore.utils import getToolByName from plone.dexterity.interfaces import IDexterityContent class multipgview(grok.View): grok.context(IDexterityContent) grok.require('zope2.View') grok.name('multipgview')
[ "yuejun.tang@gmail.com" ]
yuejun.tang@gmail.com
daec25b7662ba33c27388b1ecb296a9bbbed7d46
6437a3a4a31ab9ad233d6b2d985beb50ed50de23
/PythonistaAppTemplate/PythonistaKit.framework/pylib/site-packages/markdown/extensions/sane_lists.py
fc36c0b8b890e3faacae1b8b8565f9b7039063fb
[]
no_license
sreyemnayr/jss-lost-mode-app
03ddc472decde3c17a11294d8ee48b02f83b71e7
3ff4ba6fb13f4f3a4a98bfc824eace137f6aabaa
refs/heads/master
2021-05-02T08:50:10.580091
2018-02-08T20:32:29
2018-02-08T20:32:29
120,813,623
1
0
null
null
null
null
UTF-8
Python
false
false
1,238
py
""" Sane List Extension for Python-Markdown ======================================= Modify the behavior of Lists in Python-Markdown t act in a sane manor. In standard Markdown sytex, the following would constitute a single ordered list. However, with this extension, the output would include two lists, the first an...
[ "ryanmeyersweb@gmail.com" ]
ryanmeyersweb@gmail.com
252bbfbe0e32a1b8e8dc584e470f0cfd6aec5562
431a1f738b1edfba7dad8d10a6b7520d51d917cb
/Samples/UserSamples/2017/jetFakes_Splits/Fakes5_Config.py
8ef14d82ba983ee7a83490e4228eb327a6245ff4
[]
no_license
aloeliger/DatacardCreator
5ce702e46fbb77e843b44d8fe088c2645a4a8f66
5c7e890276a5be079ed3b677a471c1dcadcba52d
refs/heads/master
2022-02-26T19:52:30.563747
2022-02-16T20:24:48
2022-02-16T20:24:48
215,602,523
0
1
null
null
null
null
UTF-8
Python
false
false
664
py
from Samples.SampleDefinition import Sample from Samples.Uncertainties.UserUncertainties.FakeFactorUncertainty import FakeFactorUncertainty from Samples.EventDefinition.UserEventDictionaries.MuTauEventDictionary import MuTauEventDictionary FakeSample = Sample() FakeSample.name = 'jetFakes' FakeSample.path = '/data/a...
[ "aloelige@cern.ch" ]
aloelige@cern.ch
17095e42f3f6435a3d69c24c293d79facc2991ee
5679731cee36c537615d285ed72810f4c6b17380
/049_GroupAnagrams.py
6698f9742a7e6f69b93e644c08ed09f4dbb99aab
[]
no_license
manofmountain/LeetCode
6b76105190a9b62df65a7b56b6def4120498b9fa
718f688b3d316e8c10ef680d9c21ecd518d062f8
refs/heads/master
2021-01-12T03:41:48.318116
2017-07-18T12:35:58
2017-07-18T12:35:58
78,252,164
0
0
null
null
null
null
UTF-8
Python
false
false
529
py
class Solution(object): def groupAnagrams(self, strs): """ :type strs: List[str] :rtype: List[List[str]] """ res = list() indexTable = {} index = 0 for str in strs: keyStr = ''.join(sorted(str)) if keyStr not in index...
[ "noreply@github.com" ]
manofmountain.noreply@github.com
36a555ab5b94a8f951fdc5e96a744c84a3851024
a8d9ed754db055f9ce6d573ddb5d90d2d91c5beb
/canal/data.py
4873e6077ffe7ff8922ee71b5a07d6092505a494
[]
no_license
linkcheng/spark_demo
6c84ccf33c82045af0ab6c0547d3216a6d43d1df
db212ed138ac19e42d9c8bc9fa5d7e4d0facee6f
refs/heads/master
2021-09-09T04:58:59.917278
2019-12-26T07:49:01
2019-12-26T07:49:01
145,976,836
0
0
null
2021-09-08T00:56:35
2018-08-24T10:15:15
Jupyter Notebook
UTF-8
Python
false
false
3,440
py
#!/usr/bin/env python3 # -*- coding: UTF-8 -*- """ @author: Link @contact: zheng.long@sfy.com @module: data @date: 2019-01-02 bin/kafka-console-consumer.sh --bootstrap-server 192.168.30.141:6667,192.168.30.140:6667,192.168.30.139:6667 --topic example """ null = None false = False true = True data = { "data": [ ...
[ "zheng.long@shoufuyou.com" ]
zheng.long@shoufuyou.com
cdc5750d92187c21877277e4d8b50b0c76485614
9e1bda53da4c5e98190f5f25235f528d692ee5a8
/.history/my_app/views_20210405182534.py
224bf0f237e70a0e4e86dd9a6c523ac1dcd617e5
[]
no_license
Jumayev-A/Project-3
3d373181af6a87e3fe319a13d28fcd18941167b7
34ddd009726cbba9ae52e74a46d554fd735566e2
refs/heads/main
2023-06-10T11:02:06.446151
2021-07-07T06:19:11
2021-07-07T06:19:11
350,375,680
0
0
null
null
null
null
UTF-8
Python
false
false
3,933
py
from django.shortcuts import render, redirect from django.urls import reverse_lazy, reverse from django.contrib.auth.decorators import login_required from django.contrib import messages from django.db.models import Q from django.views.generic.edit import DeleteView from django.core.paginator import Paginator, EmptyPage...
[ "abdy.jumayev@gmail.com" ]
abdy.jumayev@gmail.com
21fda4d68e16fb134142cf28caea0fd629dfbfd4
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_237/ch87_2019_06_06_23_04_02_860281.py
7d6be3cdd3cdd575fd5232e368daa05fb936291d
[]
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
303
py
with open ("churras.txt", "r") as arquivo: conteudo = arquivo.readlines() quantidade = conteudo[1::3] preco = conteudo[2::3] soma = 0 len_listas = len(quantidade) for e in range(1,len_listas): soma += int(quantidade[e-1]) * float(preco[e-1][:5]) print(soma)
[ "you@example.com" ]
you@example.com
faf65486b715c94e7e440960343f1c1f21ddd3ce
c703b8ac3b5545857f6c95efa2d61eaf7a664021
/iPERCore/tools/human_pose2d_estimators/utils/pose_utils.py
4fbca240c879142f00503100fc2829bfa31a860c
[ "MIT", "LicenseRef-scancode-unknown-license-reference", "LicenseRef-scancode-proprietary-license", "Apache-2.0", "BSD-2-Clause" ]
permissive
iPERDance/iPERCore
d29681d229b3098b3517b1abf4f7ea65f579de73
fcf9a18ffd66bf3fdd3eea4153a3bc4785131848
refs/heads/main
2023-07-30T15:04:15.835396
2023-04-12T14:21:23
2023-04-12T14:21:23
313,664,064
2,520
339
Apache-2.0
2023-05-12T03:26:52
2020-11-17T15:36:25
Python
UTF-8
Python
false
false
9,392
py
# original file comes from Copyright (c) 2018 algo, https://github.com/Daniil-Osokin/lightweight-human-pose-estimation.pytorch/blob/master/modules/pose.py # this modified file Copyright (c) 2020-2021 impersonator.org authors (Wen Liu and Zhixin Piao). All rights reserved. import cv2 import numpy as np from .one_euro_...
[ "liuwen@shanghaitech.edu.cn" ]
liuwen@shanghaitech.edu.cn