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
dc8c9b4ea75f3e8b25d8678b445eb24ee988d0e3
c03c8d7363a3626b1178d241af3aa93a7b0b15e2
/unidesign/transients/__init__.py
3d50473e4a0abd9fdb247dd1784c2cc73cd211c5
[]
no_license
luntan365/unidesign
0c9aa82df215fcff6be32840709ea51588cad805
ee24a7152d937d1b95c2bb67b3f050966850d50f
refs/heads/master
2020-12-01T07:50:18.444676
2011-09-11T10:54:41
2011-09-11T10:54:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,236
py
""" Transient Dynamics for Neural Processing Building Blocks - Network N for the neuroanatomy with nodes representing neurons and edges representing connection weight - A set of input pattern I extended in time, representing a spatio-temporal entity, thought of as the activation of a subset of neurons that would be ac...
[ "git@unidesign.ch" ]
git@unidesign.ch
523a6572bc48a5326a93e982133be5b30218128c
acf8fe77e599f8372adf4fc971012394715795d6
/flask/EGG-INFO/enstaller/post_egginst.py
e91b753a7dca7f316b1ea217b327a33c095849ad
[]
no_license
shaheershantk/Blog-Engine-Using-Flask
3e2f1457a59f282c336bbb63ff48171f938f5108
450e76a8bde0bd702d995fa7bb746ed920917f98
refs/heads/master
2021-01-01T19:42:03.401554
2014-11-10T15:01:08
2014-11-10T15:01:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,380
py
""" converts the old "__egginst__.txt" files to "egginst.json" and "_info.json" files """ import os import re import sys import json import time from os.path import abspath, isdir, isfile, join def read_old(path): d1 = {'installed_size': -1} execfile(path, d1) d2 = {} for name in ['egg_name', 'prefix'...
[ "shaheer.shan@gmail.com" ]
shaheer.shan@gmail.com
fda9be22f30a154d5abe56754b9f02059d1a50ff
753f729f33a1b00a0a7f5c78d217cc4c609aee6f
/n17_ViewSetAndRouters/n17/wsgi.py
8e8c18729c4e259cdf8ed2fa83301e9ba3ae37dc
[]
no_license
nayan-gujju/DRF-Code
874114a861042d558112f1a8ec95daf1356d5493
6fb3fdd5dde352e7b6e3a7363da0e7a3057b1ede
refs/heads/master
2023-08-06T12:42:23.551603
2021-10-06T11:34:54
2021-10-06T11:34:54
404,650,413
0
0
null
null
null
null
UTF-8
Python
false
false
383
py
""" WSGI config for n17 project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SETTINGS_...
[ "nayangujarati007@gmail.com" ]
nayangujarati007@gmail.com
a41def6a23f404b4cc471342fface1cd38551c6b
bbd65a48e9fb340b29f39082483680969d6e2571
/python/misc/double_letters.py
3c887a4d9ac46b613773398829e3c96f93bf0139
[ "MIT" ]
permissive
christopher-burke/warmups
2784eef3b959bca5c270b3e642b505f3b4c0b790
140c96ada87ec5e9faa4622504ddee18840dce4a
refs/heads/master
2022-05-24T11:26:40.046650
2022-03-28T16:47:16
2022-03-28T16:47:16
152,440,792
0
0
MIT
2022-03-13T03:25:43
2018-10-10T14:51:43
Python
UTF-8
Python
false
false
712
py
#!/usr/bin/env python3 """Double Letters. Create a function that takes a word and returns true if the word as two consecutive identical letters. Source: https://edabit.com/challenge/q3JMk2yqXfNyHWE9c """ import re def double_letters(text: str) -> bool: """Determine if text contains two consecutive identical l...
[ "christopherjamesburke@gmail.com" ]
christopherjamesburke@gmail.com
df9444bb29a93e0916ada2e355c0a1121aed5edc
38ecb8003cfa1f7b418d8c4ccd30d2a6262965c5
/tfx_bsl/coders/sequence_example_coder_test.py
45f5624302061620dc45922e576efd776832810a
[ "MIT", "Apache-2.0" ]
permissive
dhruvesh09/tfx-bsl
ff5c89051516577ef76f9949c18b6e33071eaeff
52f7aeab4a528ee81ae308534c9fcc1ce431d569
refs/heads/master
2021-12-04T11:20:53.374965
2021-08-27T22:53:20
2021-08-27T22:53:52
214,256,743
1
0
Apache-2.0
2019-10-10T18:28:46
2019-10-10T18:28:45
null
UTF-8
Python
false
false
27,863
py
# 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 or agreed to in writing, ...
[ "tensorflow-extended-nonhuman@googlegroups.com" ]
tensorflow-extended-nonhuman@googlegroups.com
75ad74f6d506bc120e99ee767e0028402f3c0bfa
786027545626c24486753351d6e19093b261cd7d
/ghidra9.2.1_pyi/ghidra/app/util/bin/format/elf/ElfStringTable.pyi
eb2f888abcb4090c19e2aa10f46f1b875549534a
[ "MIT" ]
permissive
kohnakagawa/ghidra_scripts
51cede1874ef2b1fed901b802316449b4bf25661
5afed1234a7266c0624ec445133280993077c376
refs/heads/main
2023-03-25T08:25:16.842142
2021-03-18T13:31:40
2021-03-18T13:31:40
338,577,905
14
1
null
null
null
null
UTF-8
Python
false
false
3,508
pyi
import ghidra.app.util.bin import ghidra.app.util.bin.format import ghidra.app.util.bin.format.elf import ghidra.program.model.data import java.lang class ElfStringTable(object, ghidra.app.util.bin.format.elf.ElfFileSection): ASCII: ghidra.program.model.data.DataType = char BYTE: ghidra.program.model.data.Dat...
[ "tsunekou1019@gmail.com" ]
tsunekou1019@gmail.com
b082b3c7ad5a4453378668650eaa7575368881ca
bbbc0e8660cf32334ff5156d974c59e9936b5fa2
/aliyun-python-sdk-workbench-inner/aliyunsdkworkbench_inner/request/v20210121/InnerGetSolutionRequest.py
d5c15d8ea09248a0672e2c3c739550bddb972c1d
[ "Apache-2.0" ]
permissive
stevenQiang/aliyun-openapi-python-sdk
a201062ec1df0df44e4f540e1ae11ef35ce5eb12
a7e33abb4af88674be42d45db821a173c3a9dc60
refs/heads/master
2023-06-21T07:29:18.142415
2021-07-13T07:52:54
2021-07-13T07:52:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,514
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "sdk-team@alibabacloud.com" ]
sdk-team@alibabacloud.com
ad4b2dc8435b7049cde996a489f1a5cd634e4b65
61050d0d7f0c0a60474e4e85d30be4e5ea7c6b04
/vnf/scripting/itask.py
7ce7e28ed7a4fa2376510dad889f520aecf393de
[]
no_license
danse-inelastic/vnf
8173f06f32b4a2fa2b71fddfe0fecf9c19e05e9a
be989448577f14f424aca4ce852c7198304ca57b
refs/heads/master
2021-01-22T01:06:00.294100
2015-05-02T23:25:45
2015-05-02T23:25:45
34,947,878
1
1
null
null
null
null
UTF-8
Python
false
false
1,037
py
# -*- Python -*- # # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # # Jiao Lin # California Institute of Technology # (C) 2006-2011 All Rights Reserved # # {LicenseText} # # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~...
[ "linjiao@caltech.edu" ]
linjiao@caltech.edu
6d78cb4e690e54c41470accfc57a37d54d557d9b
7002919119e429faac734099bb18d75047e49673
/data/course/migrations/0002_auto_20201012_1724.py
7a34d9c9167def4aad8410dc81a0960926d33509
[]
no_license
Polydelta-ai/competency_model_prototype
47f86353a4157f68f8e3a6fd961223bd81fa3c23
8162ec6df5679143e3f3165a3779c1619f9c925f
refs/heads/main
2022-12-30T19:21:41.044344
2020-10-14T11:09:37
2020-10-14T11:09:37
301,813,276
1
0
null
null
null
null
UTF-8
Python
false
false
1,300
py
# Generated by Django 3.0 on 2020-10-12 21:24 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('course', '0001_initial'), ] operations = [ migrations.RemoveField( model_name='course', name='groups', ), ...
[ "adrian@webb.sh" ]
adrian@webb.sh
b7044d0662504d59b77b29979428fa9a0beec204
fbbe424559f64e9a94116a07eaaa555a01b0a7bb
/Tensorflow_Pandas_Numpy/source3.6/tensorflow/contrib/rnn/python/ops/gru_ops.py
75536e3f5f8cbe44231f19d4d455537e654f7a08
[ "MIT" ]
permissive
ryfeus/lambda-packs
6544adb4dec19b8e71d75c24d8ed789b785b0369
cabf6e4f1970dc14302f87414f170de19944bac2
refs/heads/master
2022-12-07T16:18:52.475504
2022-11-29T13:35:35
2022-11-29T13:35:35
71,386,735
1,283
263
MIT
2022-11-26T05:02:14
2016-10-19T18:22:39
Python
UTF-8
Python
false
false
7,762
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...
[ "ryfeus@gmail.com" ]
ryfeus@gmail.com
8d61d262ed2d32d78b76380c88292faa89d7ea96
d125c002a6447c3f14022b786b07712a7f5b4974
/tests/bugs/core_0859_test.py
e3bbec9126ee000bf0fd91d4a9fcfd15bf56912b
[ "MIT" ]
permissive
FirebirdSQL/firebird-qa
89d5b0035071f9f69d1c869997afff60c005fca9
cae18186f8c31511a7f68248b20f03be2f0b97c6
refs/heads/master
2023-08-03T02:14:36.302876
2023-07-31T23:02:56
2023-07-31T23:02:56
295,681,819
3
2
MIT
2023-06-16T10:05:55
2020-09-15T09:41:22
Python
UTF-8
Python
false
false
1,291
py
#coding:utf-8 """ ID: issue-1249 ISSUE: 1249 TITLE: Sorting is allowed for blobs and arrays DESCRIPTION: NOTES: For now we test that such operations raise an exception, as we restored the legacy behavior until we're able to implement DISTINCT for blobs properly, JIRA: CORE-859 FBTEST: ...
[ "pcisar@ibphoenix.cz" ]
pcisar@ibphoenix.cz
9eab2697aa461aa64c7d4d36bb6a56ea7a48521d
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/otherforms/_brands.py
764cf25e586cb39ea7275ee9a182cbf0ea77c8e2
[ "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
218
py
#calss header class _BRANDS(): def __init__(self,): self.name = "BRANDS" self.definitions = brand self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.basic = ['brand']
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
f953387192ad4b6709f38021023a8739e849e939
3ed70536d4d06b2ac43b64976ddc43a5d7025b31
/uri2253.py
06119c5d13870da281433a9120affdffd464344a
[]
no_license
LuisHenrique01/Questoes_URI
7f1d397e3cd055349939184603eb86cb4bf43d65
35c8e77eb7cd9da96df4268b5d71f3ad87446c89
refs/heads/master
2020-07-22T08:12:12.700484
2020-04-12T17:39:29
2020-04-12T17:39:29
207,126,339
3
0
null
null
null
null
UTF-8
Python
false
false
924
py
def main(): while True: try: senha = input() num = False ma = False mi = False eh_l = True if len(senha) < 6 or len(senha) > 32: print('Senha invalida.') else: for i in range(len(senha)): ...
[ "luizbueno1201@gmail.com" ]
luizbueno1201@gmail.com
32e255b02a850c3797fb6ce4ce7aaf522117092a
61bc31419d212e9be092e4b8f25c86126023b1bf
/main.py
69bfe62d27a639f241de78013b655a034d75df48
[]
no_license
jmosbacher/SRMControl
9054981de22cce4158c4d9da5083064e5cb43646
08738eb07035def95dbd3da75e7d4f0df07614d9
refs/heads/master
2020-03-23T15:01:42.449894
2019-03-01T13:05:19
2019-03-01T13:05:19
141,715,681
1
1
null
null
null
null
UTF-8
Python
false
false
8,762
py
from traits.api import * from traitsui.api import * import os import cfg from devices import BaseDevice from experiments import BaseExperiment from manual_controls import BaseManualControl from global_states import BaseGlobalState from saving import CanSaveMixin, SaveHandler from microscopes import SuperResolutionMicro...
[ "joe.mosbacher@gmail.com" ]
joe.mosbacher@gmail.com
056a5a7fd69c9b3926985847bd9c38c278137345
c885e1ca19bb24f167f5284c020673246a0fc260
/synthesis/experiments/cnf_batch.py
f60be95380335a8023939af372da650722d5b95b
[]
no_license
suomela/counting
6c800a2c9c56c44d0b8aac8117c79c78e6b92d8b
5a9f96f6cabdbb54d2cd24da014aff31f4baf05d
refs/heads/master
2022-02-25T23:07:03.078165
2022-01-27T19:08:49
2022-01-27T19:08:49
9,413,189
1
0
null
null
null
null
UTF-8
Python
false
false
680
py
#! /usr/bin/env python import os.path import sys PATH = sys.argv[1] SOLVER = sys.argv[5] SEED = int(sys.argv[4]) RANDOM_SEEDS = int(sys.argv[3]) PREFIX_PATH = sys.argv[2] from batch import * def cmd_out(**params): prefix = "{path}/n{nodes}-s{states}-f{faulty}-t{time}-{cyclicity}-{id}-seed{seed}".format(path=PRE...
[ "jukka.suomela@iki.fi" ]
jukka.suomela@iki.fi
34d2fc4a840a02f8646dcc1a23a0e36187588c06
ffd5e689f88c49ab7af3554c22dc0c36301084fa
/longest_common_subsequence.py
aa5fed409ca1f399f6f93be3e79b73ae04292dfd
[]
no_license
ellismckenzielee/codewars-python
1710e6f0499047139479de386927c7dbd5f1cdf6
af3f4b4534798a58115d0565730aae28ce87437e
refs/heads/master
2023-08-09T13:38:40.964141
2023-08-01T14:45:22
2023-08-01T14:45:22
168,981,376
45
18
null
null
null
null
UTF-8
Python
false
false
743
py
#longest common subsequence kata #https://www.codewars.com/kata/52756e5ad454534f220001ef def lcs(x, y): x = list(filter(lambda x1: x1 in y,x)) y = list(filter(lambda x1: x1 in x,y)) if [] in (x,y): return '' elif x == y: return ''.join(x) else: both = [x, y] lens = [...
[ "ellismckenzielee@gmail.com" ]
ellismckenzielee@gmail.com
e5b3b507e9fa57753b9a2e6d8e08d05cc8cbe038
ce20062fedae07a1f0ea00a7e5ab0b86e05ebe69
/pytests_stale/cbas/cbas_sql++_composability.py
0c58a774b01ed031c02d263c49c8a3c878c82beb
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
AnithaKuberan/TAF
256f9ee850275be5461e4d19a671c9dd19edb9f5
9824c6a4f1680c320ab065e23c720ffa92d530d9
refs/heads/master
2022-03-18T16:17:08.876692
2022-03-03T09:57:52
2022-03-03T09:57:52
206,016,123
0
0
Apache-2.0
2019-09-03T07:30:18
2019-09-03T07:30:18
null
UTF-8
Python
false
false
3,323
py
''' Created on Mar 8, 2018 @author: riteshagarwal ''' ''' Created on Jan 4, 2018 @author: riteshagarwal ''' import json import os import time from cbas_base import CBASBaseTest, TestInputSingleton from lib.memcached.helper.data_helper import MemcachedClientHelper from membase.api.rest_client import RestConnection ...
[ "ritesh.agarwal@couchbase.com" ]
ritesh.agarwal@couchbase.com
eef1da102ec3c444d29d4f92f426ecbc184f2898
1d928c3f90d4a0a9a3919a804597aa0a4aab19a3
/python/core/2015/12/hue.py
77672c9aaf56db21fbbfaa6f7afeb2d80e53470e
[]
no_license
rosoareslv/SED99
d8b2ff5811e7f0ffc59be066a5a0349a92cbb845
a062c118f12b93172e31e8ca115ce3f871b64461
refs/heads/main
2023-02-22T21:59:02.703005
2021-01-28T19:40:51
2021-01-28T19:40:51
306,497,459
1
1
null
2020-11-24T20:56:18
2020-10-23T01:18:07
null
UTF-8
Python
false
false
7,899
py
""" homeassistant.components.light.hue ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Support for Hue lights. For more details about this platform, please refer to the documentation at https://home-assistant.io/components/light.hue/ """ import json import logging import os import socket import random from datetime import timedelt...
[ "rodrigosoaresilva@gmail.com" ]
rodrigosoaresilva@gmail.com
d6a628d30cd50796fad7346cedd8050cae518409
f87f51ec4d9353bc3836e22ac4a944951f9c45c0
/.history/HW03_20210706185704.py
4de89390673cdc7ea96c6258834fddd35d0d6aae
[]
no_license
sanjayMamidipaka/cs1301
deaffee3847519eb85030d1bd82ae11e734bc1b7
9ddb66596497382d807673eba96853a17884d67b
refs/heads/main
2023-06-25T04:52:28.153535
2021-07-26T16:42:44
2021-07-26T16:42:44
389,703,530
0
0
null
null
null
null
UTF-8
Python
false
false
3,061
py
""" Georgia Institute of Technology - CS1301 HW03 - Strings and Lists Collaboration Statement: """ ######################################### """ Function Name: movieNight()  Parameters: subtitle (str) Returns: fixed subtitle (str) """ ######################################### ########## WRITE FUNCTIO...
[ "sanjay.mamidipaka@gmail.com" ]
sanjay.mamidipaka@gmail.com
6ffb5a7913c10d585f3deb2048cc818c0cfc1870
e0c8662a56d89730043146ddc340e9e0b9f7de72
/plugin/117c19ce-1596.py
c48b541558f6dace7b69689c04f13acc0ba485e2
[]
no_license
izj007/bugscan_poc
f2ef5903b30b15c230b292a1ff2dc6cea6836940
4490f3c36d4033bdef380577333722deed7bc758
refs/heads/master
2020-09-22T17:20:50.408078
2019-01-18T09:42:47
2019-01-18T09:42:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
517
py
#coding:utf-8 from lib.curl import * # -*- coding: utf-8 -*- # FE5.5 # http://www.wooyun.org/bugs/wooyun-2010-086697 def assign(service, arg): if service == "yongyou_fe": return True, arg def audit(arg): url = arg + '/common/treeXml.jsp?type=sort&lx=3&code=1%27' _, head, body, _, _ = curl.curl(url)...
[ "yudekui@wsmtec.com" ]
yudekui@wsmtec.com
ed530119e7417142f6eadadd59dea9e964ffb5dd
535f6b7a0635233dead58a4d8ef203b32c43ff2a
/实验/AI2019_SA19225404_吴语港_Lab4_TF1.x/量化个人教学/假量化/generate.py
0d79b3a5b26dbcb9fe2aa08daee608ec403dafc4
[]
no_license
jessenmeng/USTC_SSE_AI
6cff7c6a1671a4e503727eea4ef9b455d41b166d
fa7891d69edfa719b509d1af894f7b6aa23e0b7e
refs/heads/master
2022-12-25T19:32:39.320723
2020-10-10T06:08:19
2020-10-10T06:08:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,053
py
from captcha.image import ImageCaptcha # pip install captcha import numpy as np import matplotlib.pyplot as plt from PIL import Image import random import cv2 #生成字符对应的验证码 class generateCaptcha(): alphabet = ['a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z'] ...
[ "321699849@qq.com" ]
321699849@qq.com
56f4aa1fac68ae607b647d5e6fbc8b7e2273b221
393a393bb593ec5813aa16a96384a62128eed643
/ocr/src/processor/utility/common.py
a2e4d435f20872df95db8efa7de86379206bf01a
[]
no_license
normanyahq/kejinyan
4b0d40559b0f6b715107aa38fe800539ba485f27
486403fcf393077fefb441cb64c217a2289aaf3e
refs/heads/master
2023-06-24T13:43:52.740419
2017-10-09T04:29:50
2017-10-09T04:29:50
84,788,246
7
6
null
null
null
null
UTF-8
Python
false
false
662
py
import random import datetime import string import time def getSquareDist(p1, p2): return (int(p1[0])-int(p2[0])) ** 2 + (int(p1[1])-int(p2[1]))**2 def generateFileName(): return getToken() + ".png" def getToken(): return datetime.datetime.now().strftime("%Y%m%d%H%M%S") \ + "".join([random.choi...
[ "normanyahq@gmail.com" ]
normanyahq@gmail.com
eb3fc4058efee853d8bc2aa246422e6bdbc51da6
d2b81eacad849b66066b3b5d244b59f0144e8a0e
/python_do_sth/cv_3.py
aeda29e7cdd4d57cd02874d675fcffcae122bafc
[]
no_license
Kaiping23/Automatic_operation_and_maintenance
ba88d7c2590fb6a23c20167d7273e06b037dfc52
4a659c91c44a0ef7c4701199f1ee49072bad98dd
refs/heads/master
2021-07-13T23:28:20.890603
2020-12-01T07:23:47
2020-12-01T07:23:47
222,401,688
0
2
null
2020-09-14T03:18:31
2019-11-18T08:42:26
Shell
UTF-8
Python
false
false
860
py
#!/usr/bin/python3 # _*_coding=utf-8 _*_ # @author lkp # @date 2020/3/31 17:50 from PIL import Image, ImageDraw, ImageFont import cv2 import os def draw(pic): img = cv2.imread('pic/' + pic) img = img[:, :, (2, 1, 0)] blank = Image.new("RGB", [len(img[0]), len(img), "white"]) drawObj = ImageDraw.Draw(...
[ "admin@example.com" ]
admin@example.com
1b73266fec9ad8adc485a161f7ef19f92c9e3161
536bce6ca78a9a151247b51acb8c375c9db7445f
/chapter2/2.33-fact.py
f39322d3d7ba4b95c64460e082de81bd82d43e19
[]
no_license
clicianaldoni/aprimeronpython
57de34313f4fd2a0c69637fefd60b0fb5861f859
a917b62bec669765a238c4b310cc52b79c7df0c9
refs/heads/master
2023-01-28T18:02:31.175511
2023-01-23T08:14:57
2023-01-23T08:14:57
112,872,454
0
0
null
2017-12-02T19:55:40
2017-12-02T19:55:40
null
UTF-8
Python
false
false
189
py
""" Implement the factorial function """ def fact(n): if n == 1 or n == 0: return n sum = 1 while n > 1: sum *= n n -= 1 return sum print fact(4)
[ "martin@rodvand.net" ]
martin@rodvand.net
f9f3b4e9ec54097a3c5c5636f4d1e0303adf3559
e5e2b7da41fda915cb849f031a0223e2ac354066
/sdk/python/pulumi_azure_native/recoveryservices/v20210210/replication_policy.py
35cc2c0021962454d10fce98f1f070dafc5a861b
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
johnbirdau/pulumi-azure-native
b7d3bdddeb7c4b319a7e43a892ddc6e25e3bfb25
d676cc331caa0694d8be99cb90b93fa231e3c705
refs/heads/master
2023-05-06T06:48:05.040357
2021-06-01T20:42:38
2021-06-01T20:42:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,838
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 fro...
[ "noreply@github.com" ]
johnbirdau.noreply@github.com
f5beb8c7f2fe29d2b3875d2c777fa120da672849
3af6960c805e9903eb27c09d8bc7ebc77f5928fe
/problems/0095_Unique_Binary_Search_Trees_II/__init__.py
9d3b0685feaf5e1088c97cabc9af771655025d5e
[]
no_license
romain-li/leetcode
b3c8d9d4473eebd039af16ad2d4d99abc2768bdd
5e82b69bd041c2c168d75cb9179a8cbd7bf0173e
refs/heads/master
2020-06-04T20:05:03.592558
2015-06-08T18:05:03
2015-06-08T18:05:03
27,431,664
2
1
null
2015-06-08T18:05:04
2014-12-02T12:31:58
Python
UTF-8
Python
false
false
1,040
py
ID = '95' TITLE = 'Unique Binary Search Trees II' DIFFICULTY = 'Medium' URL = 'https://oj.leetcode.com/problems/unique-binary-search-trees-ii/' BOOK = False PROBLEM = r"""Given _n_, generate all structurally unique **BST's** (binary search trees) that store values 1..._n_. For example, Given _n_ = 3, your program sh...
[ "romain_li@163.com" ]
romain_li@163.com
b0b3f0dbcdb5f3398cb9d799cf00fb967cd0f87f
466912406272829982f75854cf0104c6ce8c9814
/data/spider2/migrate/domain_2_beian.py
85b21c4c99d1c2c7c4d92cd71141911c01a78701
[]
no_license
logonmy/Codes
9631fa103fc499663361fa7eeccd7cedb9bb08e4
92723efdeccfc193f9ee5d0ab77203c254f34bc2
refs/heads/master
2021-09-21T18:07:22.985184
2018-08-30T05:53:26
2018-08-30T05:53:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,596
py
# -*- coding: utf-8 -*- import os, sys from pymongo import MongoClient import pymongo reload(sys) sys.setdefaultencoding("utf-8") sys.path.append(os.path.join(os.path.split(os.path.realpath(__file__))[0], '../../util')) import loghelper, config import db import name_helper #logger loghelper.init_logger("domain_2_beia...
[ "hush_guo@163.com" ]
hush_guo@163.com
274d97a41930b485884225a410ffc761c904177b
254ef44b90485767a3aea8cbe77dc6bf77dddaeb
/605种花问题.py
d57acf9ac517c69f15cf6872c969cf4d6f949943
[]
no_license
XinZhaoFu/leetcode_moyu
fae00d52a52c090901021717df87b78d78192bdb
e80489923c60ed716d54c1bdeaaf52133d4e1209
refs/heads/main
2023-06-19T02:50:05.256149
2021-07-09T00:50:41
2021-07-09T00:50:41
331,243,022
0
0
null
null
null
null
UTF-8
Python
false
false
996
py
""" 假设有一个很长的花坛,一部分地块种植了花,另一部分却没有。可是,花不能种植在相邻的地块上,它们会争夺水源,两者都会死去。 给你一个整数数组  flowerbed 表示花坛,由若干 0 和 1 组成,其中 0 表示没种植花,1 表示种植了花。另有一个数 n ,能否在不打破种植规则的情况下种入 n 朵花?能则返回 true ,不能则返回 false。 示例 1: 输入:flowerbed = [1,0,0,0,1], n = 1 输出:true """ class Solution(object): def canPlaceFlowers(self, flowerbed, n): """ ...
[ "948244817@qq.com" ]
948244817@qq.com
f9e56da2e6260cf5095bb824487edc63654639a4
8dbbcb4775dc930d56ba46963c106eb0e801ad41
/venv/Scripts/pip3-script.py
4d3d09e7d661ce7a6d8bfbf6f5adb8bf7a9d4cb1
[]
no_license
harmansehmbi/Project29
345d88d122eae636c28910db80beb8f67b8eaf7a
3150c0590eb5c8abe44301747b9e2643cc8d8d16
refs/heads/master
2022-01-21T00:05:28.300590
2019-07-21T08:29:50
2019-07-21T08:29:50
198,032,046
0
0
null
null
null
null
UTF-8
Python
false
false
421
py
#!C:\Users\HARMANPREET\PycharmProjects\Project29\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip3' __requires__ = 'pip==19.0.3' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', s...
[ "51370954+harmansehmbi@users.noreply.github.com" ]
51370954+harmansehmbi@users.noreply.github.com
1bc65433c162da913b092d7c9fdf5baab419a75a
8853462a79608b7e5b7af94dbfa6c0a63c1f6b6a
/2. Crawlers/CASNET_policy/Generated_data/temp.py
f77dd43e3977f455dd80c26bb735b579e07b95d0
[]
no_license
Ashish017/CASNET
eaae2552f8d56413f756c7d3839cd6f548a6e1ef
73ec542c4c3fa1f97686796f0c385c71cad3e8d5
refs/heads/master
2023-02-06T06:53:27.362356
2020-12-27T04:43:34
2020-12-27T04:43:34
270,657,078
0
0
null
null
null
null
UTF-8
Python
false
false
383
py
import pandas as pd import matplotlib.pyplot as plt t1 = pd.read_csv("test_1.csv") t2 = pd.read_csv("test_2.csv") t3 = pd.read_csv("test_3.csv") files = [t1,t2,t3] di = {} for i, file in enumerate(files): for col in file.columns: if col[0] != "U": name = col + "_seed_{}".format(i+1) di[name] = file[col] f...
[ "ashishmalik7017@gmail.com" ]
ashishmalik7017@gmail.com
383d7a4ec52c2853b77bfe31e940ffda2d8eb356
82b50cebff69927d4394378522ae96524950fff4
/pointnet_ops/python/ops/interpolate_ops_test.py
f6a478248088b8f9c2a5e4775093df4d606239aa
[ "MIT" ]
permissive
jackd/pointnet_ops
1b8a44bccbb2d9d3d5763b725f8972ad096a8a14
26d9b85ce4b503fac7547b965e233442aa243430
refs/heads/master
2020-04-29T01:35:10.644187
2019-11-07T00:08:01
2019-11-07T00:08:01
175,735,495
3
0
null
null
null
null
UTF-8
Python
false
false
1,836
py
# Copyright 2018 The Sonnet Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable l...
[ "thedomjack@gmail.com" ]
thedomjack@gmail.com
12d524b0c3be40cfe8c7280cdf150f9712f2cacc
1b5802806cdf2c3b6f57a7b826c3e064aac51d98
/tensorrt-basic-1.10-3rd-plugin/TensorRT-main/demo/HuggingFace/GPT2/frameworks.py
2baca65d15581a13288d52200aa0c29f2ea38e53
[ "MIT", "BSD-3-Clause", "Apache-2.0", "ISC", "BSD-2-Clause" ]
permissive
jinmin527/learning-cuda-trt
def70b3b1b23b421ab7844237ce39ca1f176b297
81438d602344c977ef3cab71bd04995c1834e51c
refs/heads/main
2023-05-23T08:56:09.205628
2022-07-24T02:48:24
2022-07-24T02:48:24
517,213,903
36
18
null
2022-07-24T03:05:05
2022-07-24T03:05:05
null
UTF-8
Python
false
false
9,165
py
# # Copyright (c) 2021, NVIDIA CORPORATION. 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 appl...
[ "dujw@deepblueai.com" ]
dujw@deepblueai.com
7fd7d2d3435692240151409412192953b899d325
2ff7e53d5e512cd762217ca54317982e07a2bb0c
/cherrypy/test/test_wsgi_vhost.py
a7cbc1e110cbfd03a130821cba176cd2cc2bc53c
[]
no_license
nanxijw/Clara-Pretty-One-Dick
66d3d69426642b79e8fd4cc8e0bec23adeeca6d6
50de3488a2140343c364efc2615cf6e67f152be0
refs/heads/master
2021-01-19T09:25:07.555284
2015-02-17T21:49:33
2015-02-17T21:49:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,102
py
#Embedded file name: cherrypy/test\test_wsgi_vhost.py import cherrypy from cherrypy.test import helper class WSGI_VirtualHost_Test(helper.CPWebCase): def setup_server(): class ClassOfRoot(object): def __init__(self, name): self.name = name def index(self): ...
[ "billchang.e@gmail.com" ]
billchang.e@gmail.com
891131987930169977089ef3876a01ab735f4942
a3e34daf7cf75f98d54b7d183f68e50277a6479b
/sources/XML projects/IBN EZRA/parse.py
71b51b7d8f32ca018977270a23b497b3c19866af
[]
no_license
TomaszWaszczyk/Sefaria-Data
2d0f1544c071340bffd87585e6883ef77df41495
db2e136a14c6d08d98925da3afdf6373fec92de1
refs/heads/master
2023-06-07T07:56:24.332834
2021-06-20T15:53:56
2021-06-20T15:53:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,952
py
# -*- coding: utf-8 -*- __author__ = 'stevenkaplan' from sources.functions import * from sefaria.model import * from data_utilities.XML_to_JaggedArray import XML_to_JaggedArray from sefaria.helper.schema import * import bleach SERVER = "https://ste.cauldron.sefaria.org" def reorder_modify(text): return bleach.cl...
[ "steve@sefaria.org" ]
steve@sefaria.org
d7f8127681b7485ec6e79e90de2be2b3cb6c79eb
663305e4fc1cc44ce032cfbff001d7beb21d6e92
/QuantEconpy_quantitative economic modeling/quantecon/game_theory/vertex_enumeration.py
7e573f1d8fd8824cd15f0be8cdccbbb18bf44eab
[ "BSD-3-Clause" ]
permissive
yangkedc1984/Source_Codes_Collected
19e1c5887c6d5654bc76bae364a304964433a59c
668467e74301a42eebf3085add344a5ac1323120
refs/heads/master
2023-01-09T15:14:43.355589
2020-11-08T10:12:31
2020-11-08T10:12:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,587
py
""" Compute all mixed Nash equilibria of a 2-player normal form game by vertex enumeration. References ---------- B. von Stengel, "Equilibrium Computation for Two-Player Games in Strategic and Extensive Form," Chapter 3, N. Nisan, T. Roughgarden, E. Tardos, and V. Vazirani eds., Algorithmic Game Theory, 2007. """ imp...
[ "pmiori@gmail.com" ]
pmiori@gmail.com
75f4ebcb13a4e90f149b593c0fd91725a3698c42
993ef8924418866f932396a58e3ad0c2a940ddd3
/Production/python/PrivateSamples/EMJ_UL18_mMed-1800_mDark-6_kappa-0p95_aligned-down_cff.py
9529dca572a022c1535c9eb4f19ce9b052141394
[]
no_license
TreeMaker/TreeMaker
48d81f6c95a17828dbb599d29c15137cd6ef009a
15dd7fe9e9e6f97d9e52614c900c27d200a6c45f
refs/heads/Run2_UL
2023-07-07T15:04:56.672709
2023-07-03T16:43:17
2023-07-03T16:43:17
29,192,343
16
92
null
2023-07-03T16:43:28
2015-01-13T13:59:30
Python
UTF-8
Python
false
false
1,961
py
import FWCore.ParameterSet.Config as cms maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1) ) readFiles = cms.untracked.vstring() secFiles = cms.untracked.vstring() source = cms.Source ("PoolSource",fileNames = readFiles, secondaryFileNames = secFiles) readFiles.extend( [ 'root://cmseos.fnal.gov///store/gr...
[ "enochnotsocool@gmail.com" ]
enochnotsocool@gmail.com
1278478f1e40f5357bc58ac0949409e318c8679f
8364e4d23191ee535c163debffafa8418d705843
/aiokubernetes/models/v1beta2_replica_set.py
d891f61f5234e0fbcff0c24e5b8bd28d2e713e6d
[ "Apache-2.0" ]
permissive
olitheolix/aiokubernetes
2bb6499030e2e6e9b7ca0db63c4441293d70a09b
266718b210dff2a9b2212183261ea89adf89115e
refs/heads/master
2020-03-21T23:02:30.484410
2018-10-20T19:33:01
2018-10-22T05:52:42
139,162,905
28
3
Apache-2.0
2018-10-22T05:52:51
2018-06-29T15:02:59
Python
UTF-8
Python
false
false
8,595
py
# coding: utf-8 """ Kubernetes No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 OpenAPI spec version: v1.10.6 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 from aio...
[ "olitheolix@gmail.com" ]
olitheolix@gmail.com
fbe5b3bc53d4ca5e5279b5e32b1207f84aea771a
00c6ded41b84008489a126a36657a8dc773626a5
/.history/Sizing_Method/ConstrainsAnalysis/DesignPointSelectStrategy_20210714191430.py
04f5745a8803874ada846022a476fba426fada70
[]
no_license
12libao/DEA
85f5f4274edf72c7f030a356bae9c499e3afc2ed
1c6f8109bbc18c4451a50eacad9b4dedd29682bd
refs/heads/master
2023-06-17T02:10:40.184423
2021-07-16T19:05:18
2021-07-16T19:05:18
346,111,158
0
0
null
null
null
null
UTF-8
Python
false
false
3,729
py
# author: Bao Li # # Georgia Institute of Technology # import sys import os sys.path.insert(0, os.getcwd()) import numpy as np import matplotlib.pylab as plt import Sizing_Method.Other.US_Standard_Atmosphere_1976 as atm import Sizing_Method.Aerodynamics.ThrustLapse as thrust_lapse import Sizing_Method.Aerodynamics.Ae...
[ "libao@gatech.edu" ]
libao@gatech.edu
a65e513b2a58d300144f7c80b24d882cad985edc
a0ca6e78f0500e6bfc874cdb4ad79869c0fc4e81
/plot_admitted.py
027c0de8432efea3e6c2e5c09fc897a98567b1f0
[]
no_license
kshedden/micovid
e25fc834e4fe9f55fdd80a40d68c134a9912bc3c
1f85d84645707d4bb5e6bc913e667d666ce10a85
refs/heads/master
2022-11-23T23:46:09.794802
2020-07-20T02:57:57
2020-07-20T02:57:57
275,910,018
0
0
null
null
null
null
UTF-8
Python
false
false
1,281
py
import pandas as pd import numpy as np import matplotlib.pyplot as plt from matplotlib.backends.backend_pdf import PdfPages import matplotlib.dates as mdates import json import gzip months = mdates.MonthLocator() months_fmt = mdates.DateFormatter("%b") with gzip.open("/nfs/kshedden/Daniel_Keyes/ratio_results.json.gz"...
[ "kshedden@umich.edu" ]
kshedden@umich.edu
344e59c82179984a3b83cc3a808abee6d080f458
9c1ebbe76c525f1f63481232ebfb61cde37994e3
/second/main (1).py
effb9dbc42da8b3ad7671faddfea0490a28c4044
[]
no_license
georgeiniesta/Python-Tests-2
f279f59046fcdf3a33d9320b05d12de7d6a12f97
54544888069edda0f42c8277f5e1a20fd4c4f82c
refs/heads/main
2023-08-03T10:42:00.056297
2021-09-13T19:42:10
2021-09-13T19:42:10
406,106,532
0
0
null
null
null
null
UTF-8
Python
false
false
34
py
print ('I\'m Monty \"Python\"')
[ "noreply@github.com" ]
georgeiniesta.noreply@github.com
d1de944f71e0ff37476071f7eb2400ef4bf5ca6e
d4e9fd6dd51d29ad374b460a2cfbd467502ede7d
/ros2doctor/test/test_qos_compatibility.py
cb21bedba5e8d26abe78afc768015c3139e5efed
[ "Apache-2.0" ]
permissive
ros2/ros2cli
3f7b93ff44d18b2292a50d3b6ff119494142328b
351ef3c7442f49013d84084dea23fe399517690f
refs/heads/rolling
2023-08-07T03:53:23.635067
2023-08-03T19:50:28
2023-08-03T19:50:28
93,568,427
142
157
Apache-2.0
2023-09-14T07:36:46
2017-06-06T22:13:14
Python
UTF-8
Python
false
false
6,588
py
# Copyright 2021 Open Source Robotics Foundation, 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...
[ "noreply@github.com" ]
ros2.noreply@github.com
5c8bec34b3455da38460275936f45236a1356b09
921aa4d0dddc868b61fe1ea3805cf15c36853bc0
/client/k8s_client/models/v1beta1_ingress_list.py
597dd9d514517fbd656459a07921c530ef9f056d
[]
no_license
mbohlool/k8s-python-client
56d569071326820ebb5e11319ca230a272282a56
e083a1991e03f05d69a39f43b02b9bd5ede0a2b7
refs/heads/master
2021-01-09T20:29:17.339112
2016-08-18T23:16:49
2016-08-18T23:16:49
65,772,328
0
0
null
null
null
null
UTF-8
Python
false
false
6,235
py
# coding: utf-8 """ Copyright 2016 SmartBear Software 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...
[ "mehdy@google.com" ]
mehdy@google.com
3d9fabb20612a4a28c9dd6172949c6e3068e7b92
c004fbafbc8c78e4c825f8183d9d70597f9bac8e
/venv/Scripts/pip3-script.py
61c922b63ba5ee3ce34d43445af6a44533602957
[]
no_license
vectorhuztt/backstage_back
3de4d69003d4a8b161d20f3e35a2e0bd10bdf7e6
ca704e75d5069bc4d1d8ea5a3f13a94fe91c820b
refs/heads/master
2022-12-13T02:34:46.617296
2020-04-23T03:12:37
2020-04-23T03:12:37
254,113,925
0
0
null
2022-12-08T09:38:25
2020-04-08T14:39:19
Python
UTF-8
Python
false
false
415
py
#!E:\MyStudyPro\django_file\backstage_back\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip3' __requires__ = 'pip==19.0.3' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.arg...
[ "vectorztt@163.com" ]
vectorztt@163.com
e6265d295615293256a409e7286b429a02cc5609
61747f324eaa757f3365fd7bf5ddd53ea0db47d1
/casepro/contacts/migrations/0001_initial.py
6d0a371e168bc8f557ce07d0e5145cb99d59cf58
[ "BSD-3-Clause" ]
permissive
BlueRidgeLabs/casepro
f8b0eefa8f961dd2fdb5da26a48b619ebc1f8c12
8ef509326f3dfa80bb44beae00b60cc6c4ac7a24
refs/heads/master
2022-01-24T09:01:18.881548
2017-12-05T18:46:05
2017-12-05T18:49:42
113,502,588
0
0
null
2017-12-07T21:57:37
2017-12-07T21:57:37
null
UTF-8
Python
false
false
3,306
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('orgs', '0014_auto_20150722_1419'), ] operations = [ migrations.CreateModel( name='Contact', fields=[...
[ "rowanseymour@gmail.com" ]
rowanseymour@gmail.com
796b55262c5939d604def2ffdc5807697e8ce051
26eb818572061109b55e498ab4f123a4ff9b9499
/Stochastic_Evolutionary_Game/Stochastic_Game_Nowak_Code/Prisoners_Dilemma_Game/Matlab_Version/data.py
80b1c7a3ca6a564a7c4dd0b6db60554e709bee0a
[]
no_license
Dcomplexity/Researches
550e49b5a5951dca11df062aae1f86e2c12945c5
4eb55e2550970223c2f4006d289d8f4ba70a611a
refs/heads/master
2022-04-04T02:13:56.976901
2020-02-01T14:34:44
2020-02-01T14:34:44
147,739,403
0
0
null
null
null
null
UTF-8
Python
false
false
339
py
import pylab import scipy.io as scio data = scio.loadmat('Coop_Time') coopS = data['ans'][0] coop1 = data['ans'][1] coop2 = data['ans'][2] pylab.figure() pylab.title('Cooperation Rate with Time') pylab.xlabel('Time') pylab.ylabel('Cooperation Fraction') pylab.plot(coopS, 'k') pylab.plot(coop1, 'r') pylab.plot(coop2,...
[ "cdengcnc@sjtu.edu.cn" ]
cdengcnc@sjtu.edu.cn
4b6cbd25b8649a1363aba2a0743f9bef3b0bf588
6b6bd222658ab11b51afc27d507abf4ef7d8e57b
/chapter6/kmeans.py
72b173ecb14ac98ea75d4c245148844914a34c87
[]
no_license
JessicaFeng0926/classic_computer_science_problems
2347851f051e6e2afb2340258d5bf2d0a20e1571
68e44f4569a774553b763685050101357124d4a5
refs/heads/master
2022-11-13T16:29:45.396010
2020-07-08T02:11:04
2020-07-08T02:11:04
274,041,806
0
0
null
null
null
null
UTF-8
Python
false
false
5,792
py
from __future__ import annotations from typing import TypeVar, Generic, List, Sequence, Optional from copy import deepcopy from functools import partial from random import uniform from statistics import mean, pstdev from dataclasses import dataclass from data_point import DataPoint def zscores(original: Seq...
[ "hasayake.hi@163.com" ]
hasayake.hi@163.com
71cfbf8a60c7c3ba6f029a3dbb93bebf0062f36d
99a83749bc5976d78acb2eaa43139662a52629d4
/msked/placements/utils_old.py
73ea061533d9d83cf90c722c21b3c623905a9774
[]
no_license
tommydangerous/msked
16856ca484a98f0aa5785bc37355c33b436c6c37
681f48c386da17da64abbb24565efcce4cc0f10d
refs/heads/master
2020-04-16T15:15:57.992175
2013-11-07T06:37:16
2013-11-07T06:37:16
8,272,061
1
0
null
null
null
null
UTF-8
Python
false
false
6,445
py
from collections import defaultdict from django.conf import settings from django.db.models import Q from employees.models import Employee from employees.utils import tier_lab_sum, tier_lab_balance_check from random import shuffle from tasks.utils import task_check from undos.models import Undo from works.utils ...
[ "quantumventuress@gmail.com" ]
quantumventuress@gmail.com
c484c984aa678a25c17ee8984e4c160b9abfbc25
feea5b7e71dbcc491dc9fe9b1686b5c13949369e
/mods/channels/__init__.py
21139372dfe1438fafc7a060196c47bd3261c615
[]
no_license
IsmaelRLG/UserBot
232660971f98db1838263f821f40f0c879f00030
1ed21d0c0274c022b0de66ecc48547d9dab8be2b
refs/heads/master
2021-01-17T07:08:13.342496
2016-03-11T19:08:30
2016-03-11T19:08:30
39,799,613
1
0
null
null
null
null
UTF-8
Python
false
false
1,260
py
# -*- coding: utf-8 -*- """ UserBot module Copyright 2015, Ismael R. Lugo G. """ import channels reload(channels) from sysb import commands from channels import lang from channels import _ commands.addHandler('channels', 'chan register( (?P<channel>[^ ]+))?', { 'sintax': 'chan register <channel>?', 'example...
[ "ismaelrlgv@gmail.com" ]
ismaelrlgv@gmail.com
42262be31f9c9c5961d6f718490d0a8e36264f3f
52f8ac63714421e1930d7b90cb8200bb24d6ac42
/milove/shop/migrations/0011_auto_20170914_1954.py
a24d6b8e68833b9780ce5f3322a7f656ff9f7926
[]
no_license
richardchien/milove-backend
ccc7afa17e88b17199ad3878b9315e12c2af8ef1
0310f2a60ebcbc3143d0aedcc6cb5842ba264a43
refs/heads/master
2023-07-06T12:45:13.622032
2017-10-02T04:40:00
2017-10-02T04:40:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
876
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.3 on 2017-09-14 11:54 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('shop', '0010_auto_20170911_1831'), ] operations = ...
[ "richardchienthebest@gmail.com" ]
richardchienthebest@gmail.com
d2ff44c7f4f8ddc697ff528d785f404eda63cd11
64c8d431c751b1b7a7cb7224107ee40f67fbc982
/code/python/echomesh/base/Path.py
f72ecbc1483d9983735ec38c6681592f9d32e01b
[ "MIT" ]
permissive
silky/echomesh
6ac4755e4ff5ea3aa2b2b671c0979068c7605116
2fe5a00a79c215b4aca4083e5252fcdcbd0507aa
refs/heads/master
2021-01-12T20:26:59.294649
2013-11-16T23:29:05
2013-11-16T23:29:05
14,458,268
1
0
null
null
null
null
UTF-8
Python
false
false
2,625
py
from __future__ import absolute_import, division, print_function, unicode_literals from echomesh.base import MakeEmptyProject from echomesh.base import Platform import getpass import os import os.path import sys ECHOMESH_EXTERNALS_OVERRIDE_SYSTEM_PACKAGES = True # If this is True, you want Echomesh to use its own ex...
[ "tom@swirly.com" ]
tom@swirly.com
07ffac3ce1e2a9ef29d17775d50bc2c6979df431
3f6c16ea158a8fb4318b8f069156f1c8d5cff576
/.PyCharm2019.1/system/python_stubs/1707563220/resource.py
cfb221481b898c344ab21274ba2bd7f905e9409f
[]
no_license
sarthak-patidar/dotfiles
08494170d2c0fedc0bbe719cc7c60263ce6fd095
b62cd46f3491fd3f50c704f0255730af682d1f80
refs/heads/master
2020-06-28T23:42:17.236273
2019-10-01T13:56:27
2019-10-01T13:56:27
200,369,900
0
0
null
2019-08-03T12:56:33
2019-08-03T11:53:29
Shell
UTF-8
Python
false
false
5,485
py
# encoding: utf-8 # module resource # from /usr/lib/python3.6/lib-dynload/resource.cpython-36m-x86_64-linux-gnu.so # by generator 1.147 # no doc # no imports # Variables with simple values RLIMIT_AS = 9 RLIMIT_CORE = 4 RLIMIT_CPU = 0 RLIMIT_DATA = 2 RLIMIT_FSIZE = 1 RLIMIT_MEMLOCK = 8 RLIMIT_MSGQUEUE = 12 RLIMIT_NICE...
[ "sarthakpatidar15@gmail.com" ]
sarthakpatidar15@gmail.com
38b4d90fe79dceeac78c45f1b1931845c7c16df1
f62fd455e593a7ad203a5c268e23129473d968b6
/python-barbicanclient-4.2.0/functionaltests/cli/v1/behaviors/secret_behaviors.py
783db8bcdceadd3bb8c49600d77926bb52b65eca
[ "Apache-2.0" ]
permissive
MinbinGong/OpenStack-Ocata
5d17bcd47a46d48ff9e71e2055f667836174242f
8b7650128cfd2fdf5d6c8bc4613ac2e396fb2fb3
refs/heads/master
2021-06-23T05:24:37.799927
2017-08-14T04:33:05
2017-08-14T04:33:05
99,709,985
0
2
null
2020-07-22T22:06:22
2017-08-08T15:48:44
Python
UTF-8
Python
false
false
4,527
py
# Copyright (c) 2015 Rackspace, 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 wr...
[ "gongwayne@hotmail.com" ]
gongwayne@hotmail.com
63e3cad549c027b04f4f2aeabb6948e59f1936fe
15de7f67ac019324d99076906e7864e2b3d52218
/Part 3/Ch1.py
c6c9fd87d0c1035be6d4c4b6f26a3055489bf39b
[]
no_license
ankiwoong/Web_Scraping_in_Python
df97aebc36b43d125f5d4ff55ab47cd114656c51
dcc0950ee7fb5e4b9acaec581a2fcd590d27bb4a
refs/heads/master
2022-12-03T07:58:38.626717
2020-08-30T02:37:13
2020-08-30T02:37:13
289,597,273
0
0
null
null
null
null
UTF-8
Python
false
false
588
py
import mechanicalsoup browser = mechanicalsoup.Browser() # browser() 객체는 head가 없는 웹 브라우저를 나타낸다. # URL을 .get() 메소드에 전달하여 인터넷에서 페이지를 요청할 수 있다. url = "http://olympus.realpython.org/login" page = browser.get(url) # 출력 print(page) # MechanicalSoup은 요청에서 HTML을 구문 분석하기 위해 Beautiful Soup을 사용한다. # 페이지에는 BeautifulSoup 개체를 나타...
[ "ankiwoong@gmail.com" ]
ankiwoong@gmail.com
0cce371b26cc503d2072a6754493cd4e3c5ce7cb
4749d3cf395522d90cb74d1842087d2f5671fa87
/alice/LC686.py
67bed14402b09716dbc8ef161fcd6f9c04fb99e2
[]
no_license
AliceTTXu/LeetCode
c1ad763c3fa229362350ce3227498dfb1f022ab0
ed15eb27936b39980d4cb5fb61cd937ec7ddcb6a
refs/heads/master
2021-01-23T11:49:49.903285
2018-08-03T06:00:16
2018-08-03T06:00:16
33,470,003
0
0
null
null
null
null
UTF-8
Python
false
false
625
py
class Solution(object): def repeatedStringMatch(self, A, B): """ :type A: str :type B: str :rtype: int """ temp_out = len(B) / len(A) end = self.find_substring_ending(A * (temp_out + 2), B) if end == -1: return -1 else: ...
[ "aliceadelice@gmail.com" ]
aliceadelice@gmail.com
3bcdcd1ec3d8551f1937844d1b5049ba7f40e0de
21bbcc4898cc653d2a81b91f500293f7e6932fc8
/users/views/bet.py
44bac74410fd01c5813a9e733895dec785afbeca
[]
no_license
ewgen19892/auction
7e116354008349bbde147b42ee1a909cac7fc00b
1449156a4985ca7757e342613e0762e11ed9aa30
refs/heads/master
2023-05-31T23:02:14.539923
2021-06-30T13:21:13
2021-06-30T13:21:13
381,708,643
0
0
null
null
null
null
UTF-8
Python
false
false
1,256
py
"""Bets views.""" from rest_framework.generics import GenericAPIView from rest_framework.mixins import ( CreateModelMixin, ListModelMixin, RetrieveModelMixin, ) from rest_framework.permissions import IsAuthenticated from rest_framework.response import Response from users.models.bet import Bet from users.se...
[ "e.bohovchuk@admitad.com" ]
e.bohovchuk@admitad.com
5b3f7af6254318f0492a9a4656e243ea1a650008
18f776553a59a89faf05144ed1a69dc563dc4e9e
/Algorithm/insert_sort.py
cbdb6501102014039571662e8f5b9136479ee6a9
[]
no_license
g-lyc/LeetCode
274feff3b6c61da0ec8726deac0b298baed5cf10
fa45cd44c3d4e7b0205833efcdc708d1638cbbe4
refs/heads/master
2022-12-13T14:50:02.976951
2020-09-03T09:39:58
2020-09-03T09:39:58
259,212,315
15
1
null
null
null
null
UTF-8
Python
false
false
706
py
# coding:utf-8 def insert_sort(alist): """插入排序""" n = len(alist) # 从右边的无序序列中取出多少个元素执行这样的过程 for j in range(1, n): # j = [1, 2, 3, n-1] # i 代表内层循环起始值 i = j # 执行从右边的无序序列中取出第一个元素,即i位置的元素,然后将其插入到前面的正确位置中 while i > 0: if alist[i] < alist[i-1]: ...
[ "309080979@qq.com" ]
309080979@qq.com
6aca02bb5efcef065a9dbd7d46d07f6bb6937bf1
76e8afe527e191e6291562c6140606c16d7385df
/wsgi.py
75ad6b25013956a7af77660d24fbd9058b5cb79c
[]
no_license
socek/tklive2013
dfa896800713832d3f1b4a11f35aecf723e09328
2fa8c6fd099a66b7f84fc5df94d0a2b542a44f75
refs/heads/master
2021-01-22T05:16:34.001073
2013-02-25T13:14:43
2013-02-25T13:14:43
42,201,372
0
0
null
null
null
null
UTF-8
Python
false
false
345
py
#!/home/socek/www/2013.turniejkosza.pl/venv/bin/python import os, sys sys.path.append('/home/socek/www/2013.turniejkosza.pl/tklive') os.environ['DJANGO_SETTINGS_MODULE'] = 'settings' # this is your settings.py file os.environ['PYTHON_EGG_CACHE'] = '/tmp' import django.core.handlers.wsgi application = django.core.han...
[ "msocek@gmail.com" ]
msocek@gmail.com
253c9632016a2b5d45b61ace6d16cc791687be0b
20f2f9c4728cc8380062c557b838af45d65b909b
/tests/basetypes.py
ad5a3e8fe487b3e4dd897fef64492948ff945397
[]
no_license
dankamongmen/everpad
5cea529cab55f2c4a8f4fc5588807c35b2a61aef
4eea1d6c9b322cbad021453f3a0dc57582fb5c6a
refs/heads/master
2021-01-16T19:51:27.598790
2012-12-06T09:28:28
2012-12-06T09:37:13
7,032,105
1
0
null
null
null
null
UTF-8
Python
false
false
1,317
py
import sys sys.path.append('..') from everpad.basetypes import Tag, DbusSendable import unittest class TestBaseTypes(unittest.TestCase): def test_signature(self): class Fake(DbusSendable): fields = ( ('id', 'i'), ('name', 's'), ) self.assert...
[ "nvbn.rm@gmail.com" ]
nvbn.rm@gmail.com
e2001593d3dace8fffbd229e25b81b7d1a5932c2
e54c04a919a21af0564c6d3f77c92c84a097e58b
/src/front-door/azext_front_door/vendored_sdks/models/frontend_endpoint_link_py3.py
2777bd8e09b27cfb2d1604822a29b8ac26415ee0
[ "LicenseRef-scancode-generic-cla", "MIT" ]
permissive
rlrossiter/azure-cli-extensions
b8b4acad5394edbff545f4fd145cf24255db7453
e8a640e6623e69e21fa7118eceb1ae28d134bb9a
refs/heads/master
2021-08-06T18:17:29.141297
2019-09-22T13:37:04
2019-09-22T13:37:04
210,704,389
1
0
MIT
2019-09-24T21:56:44
2019-09-24T21:56:43
null
UTF-8
Python
false
false
905
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. # C...
[ "tjprescott@users.noreply.github.com" ]
tjprescott@users.noreply.github.com
e165f515f5a8171ea465a2a3904e19bda27ebe4a
ad2090cc9591d38456621951d4901276481b55fd
/python编程技巧提高/day03/ex3_实现反向迭代.py
389dd1920cf2aee18456d949fadf7f3918a3afae
[]
no_license
GuangGuangLi-Artist/LearningPython
9d17366c4b64f5b3d53b885b71f1cf9bd4d2f53f
0810ff6d0cc557f4d5ed8c024ce413a93183a6da
refs/heads/master
2023-08-18T16:32:03.595418
2023-07-30T09:47:48
2023-07-30T09:47:48
201,511,027
0
0
null
null
null
null
UTF-8
Python
false
false
614
py
#coding=utf-8 class FloatRange(): def __init__(self,start,end,step=0.1): self.start = start self.end = end self.step = step def __iter__(self): t = self.start while t <= self.end: yield t t += self.step def __reversed__(self): t = s...
[ "15607521232@163.com" ]
15607521232@163.com
43fcbd83f3f339c662561f29b5c5cd79d393716b
3c000380cbb7e8deb6abf9c6f3e29e8e89784830
/venv/Lib/site-packages/cobra/modelimpl/fv/rttoeptask.py
f93376a7a4574d9dc1dc35e1a6c378196f119b89
[]
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,689
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
6033d53dbc557f177f5618eb13bead953214860f
39d4504ec1da8975fac526d6801b94f4348b6b61
/official/utils/logs/hooks_helper_test.py
5adb5fdc343ad00cfab2557436de927e68501743
[ "Apache-2.0" ]
permissive
vincentcheny/models
fe0ff5888e6ee00a0d4fa5ee14154acdbeebe7ad
afb1a59fc1bc792ac72d1a3e22e2469020529788
refs/heads/master
2020-07-23T21:38:24.559521
2019-11-15T07:50:11
2019-11-15T07:50:11
207,712,649
1
0
Apache-2.0
2019-09-11T03:12:31
2019-09-11T03:12:31
null
UTF-8
Python
false
false
2,777
py
# Copyright 2017 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...
[ "1155107977@link.cuhk.edu.hk" ]
1155107977@link.cuhk.edu.hk
ad0e22e38a0cabad285892fabed6f049c4e102a0
ba9fc166ea9adb64e522471a4fc96e1810862516
/examples/simple_rpc_server.py
db4cdd58130f340bb9dc83a573bde92b1e461b2d
[ "MIT" ]
permissive
martincolladodotcom/amqpstorm
30ca347234f86b653ea6c0327ba93b7d40b8dee6
8c320601b92482472f3e5fe366221fa276c49004
refs/heads/master
2021-08-07T13:52:53.570087
2017-11-08T07:54:59
2017-11-08T07:54:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,021
py
""" RPC Server example based on code from the official RabbitMQ Tutorial. http://www.rabbitmq.com/tutorials/tutorial-six-python.html """ import amqpstorm from amqpstorm import Message CONNECTION = amqpstorm.Connection('127.0.0.1', 'guest', 'guest') CHANNEL = CONNECTION.channel() CHANNEL.queue.declare(queue='rpc_queue...
[ "me@eandersson.net" ]
me@eandersson.net
9af698eb1b9e10126a05c34812ef09e3ca26db5f
c4079336265fcaa2eb8be72d5a755d2dd3c95b1c
/bin/service.py
114b11a3ee9f2e3e925d41730aab7de2ddb60201
[ "MIT" ]
permissive
alexhsamuel/absence
3bdd5e9b6f20f995b4b71ffc6ad94c52c7757c59
2dcb1e14f4ec0d90b1dad3ca03ebba7fa5a3d3ff
refs/heads/master
2020-03-11T06:39:26.328341
2018-04-17T03:37:55
2018-04-17T03:37:55
129,835,861
0
0
null
null
null
null
UTF-8
Python
false
false
1,848
py
#!/usr/bin/env python import argparse import flask import logging from pathlib import Path import absence.api import absence.api.service from absence.db import SqliteDB #------------------------------------------------------------------------------- app = flask.Flask(__name__) app.register_blueprint(absence.api...
[ "alex@alexsamuel.net" ]
alex@alexsamuel.net
9851e0e373c9fa6897b1f6abde21d140a495945e
b7620d0f1a90390224c8ab71774b9c906ab3e8e9
/aliyun-python-sdk-gpdb/aliyunsdkgpdb/request/v20160503/DescribeSQLLogsOnSliceRequest.py
6c001777dbc8db958ef3c54d9c3f181732da9bde
[ "Apache-2.0" ]
permissive
YaoYinYing/aliyun-openapi-python-sdk
e9c62940baee1a35b9ec4a9fbd1e4eb0aaf93b2f
e9a93cc94bd8290d1b1a391a9cb0fad2e6c64627
refs/heads/master
2022-10-17T16:39:04.515562
2022-10-10T15:18:34
2022-10-10T15:18:34
117,057,304
0
0
null
2018-01-11T06:03:02
2018-01-11T06:03:01
null
UTF-8
Python
false
false
2,838
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "sdk-team@alibabacloud.com" ]
sdk-team@alibabacloud.com
06c1b7128e4e03525c80978f40c0045334e11190
c5d68f58c9523257a8b41954553f5cff2cd5f487
/Secao_08_Lista_Ex_73e/ex_67.py
b48841401026d069e655abe6f4ea6e4a504e6079
[]
no_license
SouzaCadu/guppe
04bfcde82d4404eb9ec795006c6931ba07dc72b6
1f8a672230c5c27712f522e1e34516591c012453
refs/heads/master
2023-03-13T01:32:51.019871
2021-02-25T17:02:59
2021-02-25T17:02:59
320,908,119
1
0
null
null
null
null
UTF-8
Python
false
false
1,256
py
""" faça uma rotina que receba como parâmetro um vetor de caracteres e seu tamanho. a função deverá de ler uma string do teclado, caractere por caractere usando a função getchat() até que o usuário digite enter ou o tamanho máximo do vetor seja alcançado. """ def getchar(): """ Função que retorna o caractere ...
[ "cadu.souza81@gmail.com" ]
cadu.souza81@gmail.com
f2d735b073eda95981eb74d263efe7b8b08b0939
181af10fcf40b824fe92d3b8f72fd15d6d1490c2
/Contests/101-200/week 178/1368. Minimum Cost to Make at Least One Valid Path in a Grid/Minimum Cost to Make at Least One Valid Path in a Grid.py
c0f974e882a945b86410b30ef80cb3fbd07b4071
[]
no_license
wangyendt/LeetCode
402c59a0b7b7f5b3a672231ea5dad8056ade36af
4a3ba15284c45b2d8bf38306c8c8526ae174615c
refs/heads/master
2023-08-10T06:27:54.995152
2023-08-10T02:22:27
2023-08-10T02:22:27
176,651,399
6
0
null
null
null
null
UTF-8
Python
false
false
824
py
#!/usr/bin/env python # encoding: utf-8 """ @author: Wayne @contact: wangye.hope@gmail.com @software: PyCharm @file: Minimum Cost to Make at Least One Valid Path in a Grid @time: 2020/3/5 14:47 """ class Solution: def minCost(self, A: list(list())): n, m, inf, k = len(A), len(A[0]), 10 ** 9, 0 dp...
[ "905317742@qq.com" ]
905317742@qq.com
70cfde39fc00d4c6dbdb49f823c1d203e72aeaa0
d09ad52c0911a83a5e5a03850bb5371d22446226
/metrics.py
c0c926ae23018f66d249ffebc51658a841faf430
[]
no_license
hzfmer/pyawp
88d0ea24b47aa02a8ef4a89e59335b636a5c205b
aff564d59c1f00ada2755ab239980fbfa0a8d9cb
refs/heads/main
2023-05-08T07:37:53.603933
2021-05-27T18:51:56
2021-05-27T18:51:56
371,476,689
0
0
null
null
null
null
UTF-8
Python
false
false
3,102
py
import sympy as sp def covariant_basis(x, r): """ Compute covariant basis vectors. Arguments: x : List of mappings of physical coordinates to parameter coordinates r : List of parameter coordinates. Returns: a : Covariant basis (list of vectors). For example, `a[0]` gives the...
[ "hzfmer94@gmail.com" ]
hzfmer94@gmail.com
94547a2d5945424fe6d0f40934e69eedc44a5cba
86a017dd4c8d4d77c511cc598190aaa9dc0ae3e8
/data structure/mine_tree.py
50c7743ae9b425ddc25d7aea392e1c7f56c1aff7
[]
no_license
sungguenja/studying
fd7459eb9faa6488d7b63bf3884a92513daf3c54
719f4dfbda211c34de2a0c8cf3b9d3001f29fcec
refs/heads/master
2023-08-17T13:46:44.343780
2023-08-10T11:55:15
2023-08-10T11:55:15
232,306,053
0
0
null
2022-12-16T10:53:26
2020-01-07T11:00:28
Python
UTF-8
Python
false
false
1,713
py
import mine_node from collections import deque def preorder(n): if n is not None: print(n.data) preorder(n.left) preorder(n.right) def inorder(n): if n is not None: inorder(n.left) print(n.data) inorder(n.right) def postorder(n): if n is not None: po...
[ "59605197+sungguenja@users.noreply.github.com" ]
59605197+sungguenja@users.noreply.github.com
d066657a658a5b4bcac8e5964f2e917273576be4
a9a8931d6877d6e0f4f11cbd7b50322819e0fe45
/hpc/REBAGG-SMOTER_43.py
b5ee6bdf31673ae698cb31a019f9f71d1437d5cd
[]
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,399
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
ffe05317dc06d9997163e1418a54c24f60a49031
fb0f6646b2a7972454453907fbdc656b7471f55f
/p260_file_read.py
8c4892ed1674aecd1e9a19996f1fc807b08cae99
[]
no_license
woojin97318/python_basic
6497d5c85369746edfe8ca79ad7f3f47c871ee66
97e9a322a08f1483bf35dc03507ac36af2bf1ddb
refs/heads/master
2023-07-15T03:06:05.716623
2021-08-25T03:46:48
2021-08-25T03:46:48
399,681,125
0
0
null
null
null
null
UTF-8
Python
false
false
142
py
# 파일을 엽니다. with open("basic.txt", "r") as file: # 파일을 읽고 출력합니다. contents = file.read() print(contents)
[ "woojin97318@naver.com" ]
woojin97318@naver.com
7f08de5fc9d940f912450c7c8a1c200a3d404b56
21f38f1a9f6d4edfa3b233697e17d86f30b168ce
/janeway/migrations/0002_add_releases_and_credits.py
8046d7841d026120c8fed38e386d74af867f80ff
[]
no_license
m100bit/demozoo
3734d0126a6f0bd9ff98128a4350e40b22cdd8a3
93918da57e7cb96a0d2f724e5a876406d3477891
refs/heads/master
2023-03-14T05:34:20.323613
2023-01-27T23:10:32
2023-01-27T23:23:52
232,933,218
0
0
null
2020-01-10T00:32:53
2020-01-10T00:32:53
null
UTF-8
Python
false
false
2,068
py
# Generated by Django 1.11.8 on 2019-07-11 16:07 import django.db.models.deletion from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('janeway', '0001_initial'), ] operations = [ migrations.CreateModel( name='Credit', ...
[ "matthew@torchbox.com" ]
matthew@torchbox.com
35950c8356581390bba8855f424cf6e26e3c6bc5
7dc65b6d2e857c807bd2f75e2586af5f8e933fe5
/scripts/securitygroup/test_regression.py
574e5de1f23065be99d681f0425ed5fae7b1fe47
[ "LicenseRef-scancode-warranty-disclaimer", "Apache-2.0" ]
permissive
vkolli/contrail-test-perf
d6fdc20f4a2004066c5a6316afd915ecdc9366c2
db04b8924a2c330baabe3059788b149d957a7d67
refs/heads/master
2021-01-18T15:36:18.120487
2017-03-30T19:19:30
2017-03-30T19:19:30
86,661,522
1
0
null
null
null
null
UTF-8
Python
false
false
111,564
py
import unittest from tcutils.wrappers import preposttest_wrapper from vnc_api.vnc_api import NoIdError from verify import VerifySecGroup from policy_test import PolicyFixture from vn_test import MultipleVNFixture from vm_test import MultipleVMFixture from base import BaseSGTest from common.policy.config import ConfigPo...
[ "root@5b3s45.contrail.juniper.net" ]
root@5b3s45.contrail.juniper.net
93cdae512cf458fe26263ccfd8795b2587eed450
e074be8c042a872c3c97abe6e01ccaad101f0564
/appr/models/kv/etcd/blob.py
17855f9cedc685bea9cfb1616fc8beca065f1a7e
[ "Apache-2.0" ]
permissive
quay/appr
1a8f80a4a3fcaf92403cae3cba27a5fc29aeea8f
8e3dc3417c3b43eacb6ebe9543155b3586a75146
refs/heads/master
2022-07-13T22:59:24.023665
2022-07-05T20:54:56
2022-07-05T20:54:56
233,668,674
1
2
Apache-2.0
2022-07-05T20:54:56
2020-01-13T18:50:19
Python
UTF-8
Python
false
false
238
py
from __future__ import absolute_import, division, print_function from appr.models.kv.blob_kv_base import BlobKvBase from appr.models.kv.etcd.models_index import ModelsIndexEtcd class Blob(BlobKvBase): index_class = ModelsIndexEtcd
[ "2t.antoine@gmail.com" ]
2t.antoine@gmail.com
68717c72dc0d4f2c33bd500983a9437f5e933a2b
b05b89e1f6378905bbb62e2a2bf2d4f8e3187932
/reverseLinkedListRecursive.py
99ef5fe1734f0dd94fb91ef0d068505c0e4d5a81
[ "MIT" ]
permissive
anishmo99/Daily-Interview-Pro
c959cd336209132aebad67a409df685e654cfdfc
d8724e8feec558ab1882d22c9ca63b850b767753
refs/heads/master
2023-04-10T08:09:46.089227
2021-04-27T07:27:38
2021-04-27T07:27:38
269,157,996
1
1
MIT
2020-06-08T07:09:19
2020-06-03T17:57:21
C++
UTF-8
Python
false
false
471
py
# Definition for singly-linked list. # class ListNode: # def __init__(self, val=0, next=None): # self.val = val # self.next = next class Solution: def reverseList(self, head: ListNode) -> ListNode: if not head or not head.next: return head else: new_head =...
[ "ani10sh@gmail.com" ]
ani10sh@gmail.com
9e567a091572b54744008d9eb043669ee4cda949
2aebde5f6ad67fbfed26427b5463036cc752eee4
/model/news_crawler/sina_news/sina_news_daily.py
0176b67554b8f743be47ea51d239af7657f4437d
[]
no_license
L-S-G/duck_prophet
be46d4d8fc63eb9030f55947626ffe056415eb8c
23decf840d1431f0df1bcc8bd647c1ae01adec4e
refs/heads/master
2023-02-23T11:51:32.262971
2021-01-08T10:25:18
2021-01-08T10:25:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
261
py
# -*- coding:utf-8 -*- import sys from config.news_crawler.sina_news.sina_news_conf import entrance_list import requests import re import Queue reload(sys) sys.setdefaultencoding('utf-8') class SinaNewsDaily(): # 每日抓取新浪新闻文章 pass
[ "nankaizhl@gmail.com" ]
nankaizhl@gmail.com
30fc81e3450db9c9effaf08cd8ee119875de164a
f5627a74bb6b8923b639fad71033b18c047cd32e
/telemetry/telemetry/internal/platform/tracing_agent/battor_tracing_agent.py
d973bb13b2066ad7063a3f8a711ebea404827206
[ "BSD-3-Clause" ]
permissive
fanarm/catapult
49c02ffede981ef07b13069f5ce7483e17e4c3e8
26750ce5fe46882abb4e72dd488a1a08a2352b0f
refs/heads/master
2021-01-15T13:14:38.301954
2016-09-20T10:28:20
2016-09-20T10:28:20
66,614,707
0
0
null
2016-08-26T03:48:41
2016-08-26T03:48:40
null
UTF-8
Python
false
false
3,845
py
# Copyright 2016 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import logging from battor import battor_error from battor import battor_wrapper from catapult_base import cloud_storage from devil.android import battery_u...
[ "commit-bot@chromium.org" ]
commit-bot@chromium.org
9b7d7ff0fef6c8d28943e6e8b4c7ba57787ce5a9
ebc7607785e8bcd6825df9e8daccd38adc26ba7b
/python/baekjoon/2.algorithm/implementation/백준_웰컴.py
4ead3ab821977dbf627364ad7c5fb431c2ca1181
[]
no_license
galid1/Algorithm
18d1b72b0d5225f99b193e8892d8b513a853d53a
5bd69e73332f4dd61656ccdecd59c40a2fedb4b2
refs/heads/master
2022-02-12T07:38:14.032073
2022-02-05T08:34:46
2022-02-05T08:34:46
179,923,655
3
0
null
2019-06-14T07:18:14
2019-04-07T05:49:06
Python
UTF-8
Python
false
false
141
py
# . . . # | | _ | _. _ ._ _ _ # |/\|(/.|(_.(_)[ | )(/. print('. . .') print('| | _ | _. _ ._ _ _') print('|/\|(/.|(_.(_)[ | )(/.')
[ "galid1@naver.com" ]
galid1@naver.com
05a6dc50b44a0fa741f092b8ddad671c62f8a292
5ee05e771a97d465048c50a9f9490b8b0eb7c00d
/adminsavingcategory/urls.py
06811381e6f63dddde32d3c2e9e21b9a74276420
[]
no_license
ninsgosai/budget
614bb01ef4a629d3a7e41205e653acadb23984fd
722ae7f957913422f1b77247cec7d3b06156ad43
refs/heads/master
2023-03-26T14:52:30.242868
2021-03-21T07:33:49
2021-03-21T07:33:49
349,928,494
0
0
null
null
null
null
UTF-8
Python
false
false
935
py
from django.urls import path from . import views urlpatterns = [ path('', views.adminsavingcategory, name='adminsavingcategory'), path('addsavingcategory', views.addsavingcategory, name='addsavingcategory'), path('delete_saving_category', views.delete_saving_category, name='delete_saving_category'), pa...
[ "69950933+ninad-goswamy@users.noreply.github.com" ]
69950933+ninad-goswamy@users.noreply.github.com
041fdadfc0f82c1828a1f8516e41fa0410f8185a
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/4me7LifXBwj5rhL4n_2.py
65b6056baa34628bd261b66044b68f8b16ed99ad
[]
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
45
py
circle_or_square=lambda r,a:a**.5*4<6.28*r
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
03432933f40125fba98a10caa76b8817f552cba1
48a1c21f3b1596acb1e987b73677af65e9f9416a
/packagehashtable.py
8030cf73f09e9a08a4d646c5ba71761d9687cc63
[]
no_license
earthafire/c950
fe982685d91453b157461e2eec385a6b16aeb990
af1116d6ab834a63c9496fa054385970f33b4c1f
refs/heads/master
2023-06-04T07:03:18.427522
2021-06-21T02:54:07
2021-06-21T02:54:07
354,667,745
0
0
null
null
null
null
UTF-8
Python
false
false
1,800
py
class PackageHashTable: # big O: O(1) def __init__(self): self.current_size = 25 self.filled_slots = 0 self.data = [None] * self.current_size # list of packages def get_filled_slots(self): return self.filled_slots def get_hash(self, value): return value % self...
[ "unconfigured@null.spigotmc.org" ]
unconfigured@null.spigotmc.org
d335e8ebc38e765fc6771cbf64c0c0dfd9c8c353
b7dd07413c05a13207988535b755b7d28dbc5663
/Chapter_7/7-3_multiples_10.py
895c7529af5c2a587ee9e35165d9f19b3504417c
[]
no_license
GrnTeaLatte/AlienInvasion
b671a87cd730c3d4b31a8e8d760d2d02d576cfb3
d60e8e65adb79e54a1e1c579825827355a7e85ea
refs/heads/main
2023-02-26T03:55:26.799446
2020-11-03T00:42:06
2020-11-03T00:42:06
336,111,408
0
0
null
null
null
null
UTF-8
Python
false
false
186
py
number = input("Pick a number from 1 to 100.") number = int(number) if number %10 == 0: print("This number is a multiple of ten.") else: print("This number is not a multiple of ten.")
[ "audreyfu14@gmail.com" ]
audreyfu14@gmail.com
cdc568f6f8b729c0cb3256a847415ecb9daf8769
78e60a7d8a67ed76244004e8a3ed573fbf396e41
/samples/del_admin_role.py
ad52a172a1488dd2d1f632616ef30fbe40844ca8
[ "MIT" ]
permissive
Crivez/apiclient-python
837a9f7cc0453ccd3121311adc7920b5fe6b3e33
860fc054f546152a101e29b1af388c381075ac47
refs/heads/master
2023-06-08T13:24:09.249704
2021-06-17T12:16:35
2021-06-17T12:16:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
386
py
from voximplant.apiclient import VoximplantAPI, VoximplantException if __name__ == "__main__": voxapi = VoximplantAPI("credentials.json") # Delete the admin role. ADMIN_ROLE_ID = 10 try: res = voxapi.del_admin_role(admin_role_id=ADMIN_ROLE_ID) print(res) except Voximplant...
[ "andrey@voximplant.com" ]
andrey@voximplant.com
ca9fd7db7af76cf7e25b5898992310a5733c1001
88e06bab1989c81a2dd649bb09b144fa7c958f89
/leet_simplify_path.py
4bcdad7a72949aab1ed4bd7e8b422c4511b91450
[]
no_license
VaibhavD143/Coding
4499526b22ee4ef13f66c3abcea671c80a8f748a
5de3bae8891c7d174cbc847a37c3afb00dd28f0e
refs/heads/master
2023-08-06T21:56:44.934954
2021-10-09T18:31:29
2021-10-09T18:31:29
263,890,286
0
0
null
null
null
null
UTF-8
Python
false
false
352
py
class Solution: def simplifyPath(self, path: str) -> str: ss = [] for s in path.split('/') : if s and s != '.' : if s == ".." : if ss : ss.pop() else : ss.append(s) return '/' + '/'.jo...
[ "vaibhav.dodiya143vd@gmail.com" ]
vaibhav.dodiya143vd@gmail.com
7565fccefc1f94b90892e24e8bc4c59ad706f8ce
601c2b26b115e59002fd0d105daef714aa6803a2
/Problem68.py
de6e4c370c5364a8f9fd371e752b2672507cabb7
[]
no_license
madrury/euler
4be0f28edbfdf5a10de1b3f68336f73dcc73455d
04ad94fe67af09e48bd795a2cc9f229f7c752397
refs/heads/master
2021-01-17T07:40:46.930178
2018-01-21T23:49:21
2018-01-21T23:49:21
15,242,518
0
0
null
null
null
null
UTF-8
Python
false
false
1,555
py
from itertools import permutations, chain def magic_3_ring(): S = set([1, 2, 3, 4, 5, 6]) for a_0, a_1, a_2 in permutations(S, 3): b_0 = b_1 = b_2 = c_0 = c_1 = c_2 = None s = a_0 + a_1 + a_2 b_1 = a_2 for b_0 in S - set([a_0, a_1, a_2]): b_2 = c_1 = s - b_1 - b_0 if b_2 in S - set(...
[ "matthew.drury.83@gmail.com" ]
matthew.drury.83@gmail.com
47eb91749a631a8839cbadb2b1ae5950f56d3da1
2834e05cfb56e16fb4a20a46d713ee3e7393a30a
/mzitu_spider.py
0716848d851bd48611516e87812f40ec2161a5b2
[]
no_license
jayhebe/Python_Data_Analysis
29680f1a13ca5756b8fed96c75f7bf4ee432851e
2bd39ce2688ef7fe4340810529f35799eff7de7a
refs/heads/master
2020-07-04T16:29:59.470195
2020-01-14T15:12:42
2020-01-14T15:12:42
202,339,479
3
1
null
null
null
null
UTF-8
Python
false
false
2,246
py
from bs4 import BeautifulSoup import requests import os import time mzitu_folder_name = "mzitu_images" mzitu_base_url = "https://www.mzitu.com" mzitu_headers = { "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) \ Chrome/77.0.3865.120 Safari/537.36", "Request"...
[ "jayhebe1983@sina.com" ]
jayhebe1983@sina.com
0e042a6a418f78275e29bb9fe263d90fa38a2b3c
cf59d92614a3505aeed9455482ef327572578228
/venv/lib/python3.6/site-packages/djoser/urls/authtoken.py
87ed8962570463caffb44de8795bf7e87591014d
[ "MIT" ]
permissive
slarkjm0803/autobets
e1d1a3b00cf94ee90fd1fed7464431677b4f9e11
f92a5d999acaf5d7c83ca2768a260c2282eabbee
refs/heads/master
2020-09-23T21:40:46.057648
2019-11-29T11:42:37
2019-11-29T11:42:37
225,591,526
1
0
MIT
2019-12-03T10:22:21
2019-12-03T10:22:20
null
UTF-8
Python
false
false
308
py
from django.conf.urls import url from djoser import views urlpatterns = [ url( r'^token/create/$', views.TokenCreateView.as_view(), name='token-create' ), url( r'^token/destroy/$', views.TokenDestroyView.as_view(), name='token-destroy' ), ]
[ "mac@macs-MacBook-Pro.local" ]
mac@macs-MacBook-Pro.local
ee80f003615f1943cc0c93612686b83872586dc6
d52ee2f7ec5dcd8825f4e221a7f084d488d35634
/new_scripts/baselines/dmass/tensor2tensor_old/models/aligned.py
a6eca3bab94b43e8af18bd325c617f3e1d66d3f7
[]
no_license
rekriz11/sockeye-recipes
9dbf96140e4d9d546210dd1c29801132e1b9201c
644363b92e2f38311cc2b7e926b6558aa41900f3
refs/heads/master
2020-03-29T16:52:52.542574
2020-03-13T18:18:25
2020-03-13T18:18:25
150,131,769
5
3
null
2018-09-24T16:15:47
2018-09-24T16:15:46
null
UTF-8
Python
false
false
17,800
py
# coding=utf-8 # Copyright 2017 The Tensor2Tensor Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable...
[ "rekriz@seas.upenn.edu" ]
rekriz@seas.upenn.edu
95205781cf62e93ad3b0b25c8c12a11ba6a87ce3
462c56e7454c97e0541588b9be66a4e216ea20fd
/337.house-robber-iii.py
b7df910aa92e9bed203055651ced6ea30bbb2e43
[]
no_license
LouisYLWang/leetcode_python
d5ac6289e33c5d027f248aa3e7dd66291354941c
2ecaeed38178819480388b5742bc2ea12009ae16
refs/heads/master
2020-05-27T08:38:48.532000
2019-12-28T07:08:57
2019-12-28T07:08:57
188,549,256
0
0
null
null
null
null
UTF-8
Python
false
false
2,498
py
# # @lc app=leetcode id=337 lang=python3 # # [337] House Robber III # # Definition for a binary tree node. # class TreeNode: # def __init__(self, x): # self.val = x # self.left = None # self.right = None # class Solution: def rob(self, root: TreeNode) -> int: def rob_sub(root): ...
[ "louis.yl.wang@outlook.com" ]
louis.yl.wang@outlook.com
31356e0d99a19ee522cda865378a49b0ec1c5187
09e57dd1374713f06b70d7b37a580130d9bbab0d
/benchmark/startCirq1623.py
debc4e59f6ac2116d11df4140a57d981a774db94
[ "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
4,252
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 5/15/20 4:49 PM # @File : grover.py # qubit number=5 # total number=60 import cirq import cirq.google as cg from typing import Optional import sys from math import log2 import numpy as np #thatsNoCode from cirq.contrib.svg import SVGCircuit # Symbols for...
[ "wangjiyuan123@yeah.net" ]
wangjiyuan123@yeah.net
448d240cac3a1caba7534ece90ad949bfc2df05b
2342b8737b9ffeb9715158b8ec74a33c7a4947f6
/koku/providers/test/azure/test_client.py
c77e19be39011df1ea5a3260c8323920ed3ce2e7
[ "Apache-2.0" ]
permissive
project-koku/koku
444d8df05da5416c9cee606c42481c99be45f13d
0416e5216eb1ec4b41c8dd4999adde218b1ab2e1
refs/heads/main
2023-08-20T11:30:17.510182
2023-08-17T18:27:30
2023-08-17T18:27:30
126,496,611
225
94
Apache-2.0
2023-09-14T17:38:08
2018-03-23T14:29:23
Python
UTF-8
Python
false
false
5,298
py
# # Copyright 2021 Red Hat Inc. # SPDX-License-Identifier: Apache-2.0 # """Test Azure Client Class.""" import random from unittest.mock import patch from azure.identity import ClientSecretCredential from azure.mgmt.costmanagement import CostManagementClient from azure.mgmt.resource import ResourceManagementClient from...
[ "noreply@github.com" ]
project-koku.noreply@github.com
dd4233f9877fc797e7015caf2f2eea6ec7f0105b
149baa65329d0e13ae3189b8127d2eff5f5fdf77
/bot_ws/build/ur5_pkg/ur5/catkin_generated/pkg.installspace.context.pc.py
285472e4a9fe5b9bac59158a6b63e020bc6e13d7
[]
no_license
mtbthebest/imitation_learning
20b990aa7396fecbe5433c7703f353bf99fa5f2c
4c08192e31062f69056cc36efffb7a2ce0264244
refs/heads/master
2020-05-21T17:05:26.567273
2019-09-16T12:20:19
2019-09-16T12:20:19
186,111,790
2
0
null
null
null
null
UTF-8
Python
false
false
368
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "".split(';') if "" != "" else [] PROJECT_CATKIN_DEPENDS = "".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_PREFIX = "".split(';') if "" != "" else [] PROJECT_NAME = "ur5" PROJECT_SPACE_DIR = "/home/mtb/s...
[ "mtbthebest11@gmail.com" ]
mtbthebest11@gmail.com
2bd53cdf3cf4e912f272d060d6e07a9650c5bf45
7ba5ec9aa9ddca3f9b3384fc4457b0a865c2a0a1
/src/559.py
f063866e484fd03a1aa4d26b5e7b19a1d8e94cd2
[]
no_license
ecurtin2/Project-Euler
71f79ee90a9abd0943421677d78a6c087419e500
79479da7a45b3ae67c0c7ea24da5f7d43c6f25d3
refs/heads/master
2021-03-19T14:52:57.045443
2018-04-12T22:05:37
2018-04-12T22:05:37
100,059,180
0
1
null
null
null
null
UTF-8
Python
false
false
629
py
""" An ascent of a column j in a matrix occurs if the value of column j is smaller than the value of column j+1 in all rows. Let P(k, r, n) be the number of r x n matrices with the following properties: The rows are permutations of {1, 2, 3, ... , n}. Numbering the first column as 1, a column ascent occurs at column...
[ "ecurtin2@illinois.edu" ]
ecurtin2@illinois.edu
2970d8227cccf50e65da0dda71c84de76531c099
e510a82771967d8677ccb77be7d8fe199970ec39
/setup.py
94c41706ab048c6d1b4f753918410c242eff4509
[]
no_license
mbr/ragstoriches
4c1a7501a05f40aad13aa796105df5ce57beb9b9
aa11405673dfd307915e38110145cede72892804
refs/heads/master
2023-06-06T20:49:07.700820
2015-12-23T10:53:40
2015-12-23T10:53:40
8,688,096
3
1
null
null
null
null
UTF-8
Python
false
false
825
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import os from setuptools import setup, find_packages def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setup(name='ragstoriches', version='0.4.1dev', description='Develop highly-concurrent web scrapers, easily.', ...
[ "git@marcbrinkmann.de" ]
git@marcbrinkmann.de
75aa6901d1a170000bddbec4f1128620ace9611a
1e5026118b9777f2274dc4fe9e7ff459a61430c4
/redit/wsgi.py
d77c2f2ca8fe7560f62bf5191d2f0e9c54e7d36f
[]
no_license
Rubyroy12/reddit
70a50980d02f1b10e8bae3b034327f73ab38be94
4d0e29bfa813c5ee42cc8b38647b3c5538e3c376
refs/heads/master
2023-06-18T06:58:02.900692
2021-07-16T00:09:06
2021-07-16T00:09:06
386,455,864
0
0
null
null
null
null
UTF-8
Python
false
false
387
py
""" WSGI config for redit project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SETTING...
[ "you@example.com" ]
you@example.com
847e7826459e7dffae6d5bcde0376c4b7086d6d5
186f694b65b43cd56e746ce8538e4f1edad6129e
/1on1/BFS/547-friendcircle.py
373d30f3c54ec2cd1aa12674be315d70fc5f22f8
[]
no_license
zionhjs/algorithm_repo
287486e0173e68cfa9e535490004c952192a54db
26b4a770d5335abd738ae26c68d91f6af7b13749
refs/heads/master
2022-12-17T15:59:17.932490
2020-09-23T04:12:38
2020-09-23T04:12:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
205
py
class Solution: def findCircleNum(self, M: List[List[int]]) -> int: if not M: return 0 for i in range(len(M)): for j in range(len(M): if j > i:
[ "hjszion@gmail.com" ]
hjszion@gmail.com
1681cf3956952c3b2add6ceb0f3ae7b5d6d21f62
dd31ec8f3f979b0339cf686ce9094def03ef003a
/myvenv/Lib/site-packages/pylint/reporters/json.py
be37b21102933ca7fe5d330945a71fcc8280180a
[ "MIT" ]
permissive
rvmoura96/projeto-almoxarifado
872bb945b4057bdbf108776e2101e9966a23f4de
4ca5e5d00f449a940f7c601479bb3fe14c54f012
refs/heads/master
2022-11-11T07:45:33.475443
2017-11-21T21:13:19
2017-11-21T21:13:19
106,044,249
1
1
MIT
2022-10-26T05:02:32
2017-10-06T19:48:08
Python
UTF-8
Python
false
false
1,662
py
# Copyright (c) 2015-2016 Claudiu Popa <pcmanticore@gmail.com> # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html # For details: https://github.com/PyCQA/pylint/blob/master/COPYING """JSON reporter""" from __future__ import absolute_import, print_function import cgi import json import s...
[ "rvmoura.96@gmail.com" ]
rvmoura.96@gmail.com
219305932842bb0a951cda0aab9e9783eb969379
f361126ee099303113b5ed3cc0e838bd01a9e41b
/Semana3/pattern.py
ce21f32f68915c1c4ac487f6d46600d7fa9a86c0
[]
no_license
ju-c-lopes/Univesp_Algoritmos_II
e1ce5557d342ea75fe929cf7b207e633f9aa89cd
5d4eec368be91c18f0ae5c17d342e6eb0f1c79be
refs/heads/master
2023-06-05T11:09:25.415719
2021-07-07T22:26:53
2021-07-07T22:26:53
383,600,096
0
0
null
null
null
null
UTF-8
Python
false
false
148
py
def pattern(n): if n == 0: print(n, end=' ') else: pattern(n-1) print(n, end=' ') pattern(n-1) pattern(3)
[ "juliano.co.lopes@gmail.com" ]
juliano.co.lopes@gmail.com
600b5d49487605e376e745ff50c7047d387368b4
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/303/usersdata/288/105862/submittedfiles/testes.py
2d998344bd13ef5f84800052822c63b3268d44ad
[]
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
12,713
py
# -*- coding: utf-8 -*- #COMECE AQUI ABAIXO #from minha_bib import * print ("7 | 8 | 9") import random def solicitaSimboloDoHumano(): simbolo=0 while (simbolo)!= 'X' and (simbolo)!='O': print ("Escolha um simbolo para jogar [X:O]: ") simbolo=input() if simbolo=='O': ...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
a7c6f8636993116c7a66155ac7432348a4115dfa
b3b68efa404a7034f0d5a1c10b281ef721f8321a
/Scripts/simulation/date_and_time.py
1ceb06b1195becb57c479f4372fe8044d6aba0a6
[ "Apache-2.0" ]
permissive
velocist/TS4CheatsInfo
62195f3333076c148b2a59f926c9fb5202f1c6fb
b59ea7e5f4bd01d3b3bd7603843d525a9c179867
refs/heads/main
2023-03-08T01:57:39.879485
2021-02-13T21:27:38
2021-02-13T21:27:38
337,543,310
1
0
null
null
null
null
UTF-8
Python
false
false
11,479
py
# uncompyle6 version 3.7.4 # Python bytecode 3.7 (3394) # Decompiled from: Python 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:58:18) [MSC v.1900 64 bit (AMD64)] # Embedded file name: T:\InGame\Gameplay\Scripts\Server\date_and_time.py # Compiled at: 2020-01-15 01:21:52 # Size of source mod 2**32: 19262 bytes import m...
[ "cristina.caballero2406@gmail.com" ]
cristina.caballero2406@gmail.com