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
143a29df45c51cb3d4fc3fc98621f5788fc26a8c
b5fabc6c6de064690f8d4ee423001cf9365a3d9f
/flash/text/seq2seq/translation/cli.py
b141e45e60cbe519f1aab4c444a4f0dd2adbca2e
[ "Apache-2.0" ]
permissive
dmarx/lightning-flash
021dfd76bde6e30309f14feb5853020b0babe90d
4cda031c1f9c8d8754fd36b5720d2a5a7d866765
refs/heads/master
2023-09-06T06:24:29.856354
2021-11-24T23:38:14
2021-11-24T23:38:14
422,352,910
0
1
null
null
null
null
UTF-8
Python
false
false
1,819
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" ]
dmarx.noreply@github.com
91e783b22e948c67e99f5d26756746a0797d8b45
7bededcada9271d92f34da6dae7088f3faf61c02
/pypureclient/flashblade/FB_2_5/models/certificate_group.py
9ea0249368ac9a642dcd09421f18088bb54704ae
[ "BSD-2-Clause" ]
permissive
PureStorage-OpenConnect/py-pure-client
a5348c6a153f8c809d6e3cf734d95d6946c5f659
7e3c3ec1d639fb004627e94d3d63a6fdc141ae1e
refs/heads/master
2023-09-04T10:59:03.009972
2023-08-25T07:40:41
2023-08-25T07:40:41
160,391,444
18
29
BSD-2-Clause
2023-09-08T09:08:30
2018-12-04T17:02:51
Python
UTF-8
Python
false
false
3,329
py
# coding: utf-8 """ FlashBlade REST API A lightweight client for FlashBlade REST API 2.5, developed by Pure Storage, Inc. (http://www.purestorage.com/). OpenAPI spec version: 2.5 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re import six import typ...
[ "tlewis@purestorage.com" ]
tlewis@purestorage.com
7ed8c6a305f91c22e73f628598b61e830611287c
0492d090e6867d2f5594788e99b17cd80965672a
/02-数据组合/07.json.py
1ae6a2e57eea0398e3ae3a871e65b1f4e96bf7e2
[]
no_license
jackadam1981/LearnPython
2faaa16709fb88c583d7434d5c561f3dfb9186e3
3ba817edd84152c40c52e006a9b948bc4d2350a5
refs/heads/master
2021-07-12T14:59:53.419272
2019-12-17T04:05:17
2019-12-17T04:05:17
153,915,741
1
0
null
2021-03-20T02:29:18
2018-10-20T14:47:12
Python
UTF-8
Python
false
false
676
py
#!/usr/bin/python3 # -*- coding: utf-8 -*- # @Time : 2017/11/2 16:23 # @Author : Jackadam # @Email : # @File : 04.json.py # @Software: PyCharm import json user = [ [1, [ 11, 12 ]], [2, [ 21, 22 ]], ] print(user) print(type(user)) json_str = json.dumps(user) pri...
[ "jackadam@sina.com" ]
jackadam@sina.com
2513e0387f535d297a490a3a0489bc57d0270d5e
ef444847b85773158c5718649886dccdd95fe76a
/mcvgui/core/plugins_old/Algorithms/OTModuleSubBackground/OTPColorFilter.py
19be53e370c275033d5b3c932123e5c8761e4f41
[]
no_license
video-annotator/mcv-gui-editor
984ab687dbec73b9887dcff36281d63685b8b251
ddd626afa16a713b1e4fe2d4b9d6ae46369b5d01
refs/heads/master
2020-08-28T02:02:54.343023
2019-03-06T14:09:44
2019-03-06T14:09:44
217,556,079
0
0
null
null
null
null
UTF-8
Python
false
false
2,097
py
import cv2, time, itertools from numpy import * from math import * from mcvgui.core.controllers.OTPBase import OTPBase class OTPColorFilter(OTPBase): _param_color_domain = None _param_a_min, _param_a_max = 0,255 _param_b_min, _param_b_max = 0,255 _param_c_min, _param_c_max = 0,255 _param_fi...
[ "ricardo.ribeiro@neuro.fchampalimaud.org" ]
ricardo.ribeiro@neuro.fchampalimaud.org
e11bcff8670bceb22de617a8b57eb9520f94dd83
ce76b3ef70b885d7c354b6ddb8447d111548e0f1
/see_small_week/large_world_and_bad_year/old_man.py
240bdc077d1a04b541bcce5f3c528d566a937706
[]
no_license
JingkaiTang/github-play
9bdca4115eee94a7b5e4ae9d3d6052514729ff21
51b550425a91a97480714fe9bc63cb5112f6f729
refs/heads/master
2021-01-20T20:18:21.249162
2016-08-19T07:20:12
2016-08-19T07:20:12
60,834,519
0
0
null
null
null
null
UTF-8
Python
false
false
233
py
#! /usr/bin/env python def right_place_and_old_woman(str_arg): want_thing(str_arg) print('case_or_time') def want_thing(str_arg): print(str_arg) if __name__ == '__main__': right_place_and_old_woman('other_point')
[ "jingkaitang@gmail.com" ]
jingkaitang@gmail.com
b2fcd8e089fd880e100ff1e27168bc5998a0906a
0c1d6b8dff8bedfffa8703015949b6ca6cc83f86
/lib/worklists/operator/CT/v4.0/business/GPON_4+1/WAN_BridgedIPv6PPPoEIPv4_IPTV_VOIPIMSSIP_SmartTV/script.py
e11ee975fb8a9335101fbb3a1ec88452de3a2552
[]
no_license
samwei8/TR069
6b87252bd53f23c37186c9433ce4d79507b8c7dd
7f6b8d598359c6049a4e6cb1eb1db0899bce7f5c
refs/heads/master
2021-06-21T11:07:47.345271
2017-08-08T07:14:55
2017-08-08T07:14:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
19,664
py
#coding:utf-8 # -----------------------------rpc -------------------------- import os import sys #debug DEBUG_UNIT = False if (DEBUG_UNIT): g_prj_dir = os.path.dirname(__file__) parent1 = os.path.dirname(g_prj_dir) parent2 = os.path.dirname(parent1) parent3 = os.path.dirname(parent2) parent4 = os....
[ "zhaojunhhu@gmail.com" ]
zhaojunhhu@gmail.com
f30922fc7482e4d4c06166afebf175c6b5ec6ca1
f3b233e5053e28fa95c549017bd75a30456eb50c
/ptp1b_input/Lbs/bs-66_MD_NVT_rerun/set_1ns_equi_1_m.py
9cdb3ef76ac2df24c7a5ab413094fcc61bc7ba4c
[]
no_license
AnguseZhang/Input_TI
ddf2ed40ff1c0aa24eea3275b83d4d405b50b820
50ada0833890be9e261c967d00948f998313cb60
refs/heads/master
2021-05-25T15:02:38.858785
2020-02-18T16:57:04
2020-02-18T16:57:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
936
py
import os dir = '/mnt/scratch/songlin3/run/ptp1b/Lbs/MD_NVT_rerun/ti_one-step/bs_66/' filesdir = dir + 'files/' temp_equiin = filesdir + 'temp_equi_1_m.in' temp_pbs = filesdir + 'temp_1ns_equi_1_m.pbs' lambd = [ 0.00922, 0.04794, 0.11505, 0.20634, 0.31608, 0.43738, 0.56262, 0.68392, 0.79366, 0.88495, 0.95206, 0.99078...
[ "songlin3@msu.edu" ]
songlin3@msu.edu
cb9329f82eee081a095f09bcac6daffa1ddc41e9
de01cb554c2292b0fbb79b4d5413a2f6414ea472
/algorithms/Medium/1329.sort-the-matrix-diagonally.py
81b0307aab603a53e8026b1f7e22313168058f1c
[]
no_license
h4hany/yeet-the-leet
98292017eadd3dde98a079aafcd7648aa98701b4
563d779467ef5a7cc85cbe954eeaf3c1f5463313
refs/heads/master
2022-12-10T08:35:39.830260
2020-09-02T23:12:15
2020-09-02T23:12:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
771
py
# # @lc app=leetcode id=1329 lang=python3 # # [1329] Sort the Matrix Diagonally # # https://leetcode.com/problems/sort-the-matrix-diagonally/description/ # # algorithms # Medium (78.42%) # Total Accepted: 18K # Total Submissions: 23K # Testcase Example: '[[3,3,1,1],[2,2,1,2],[1,1,1,2]]' # # Given a m * n matrix mat...
[ "kevin.wkmiao@gmail.com" ]
kevin.wkmiao@gmail.com
66a1a13ecf47a1432df9bb54e3681699beea125c
8dae7ff1c299e9d65e369a52212b01e4741e1c0a
/cluster_repo/__init__.py
77c8e2100830479822ca7f02d5ca1c991795b1d3
[]
no_license
jtwhite79/cluster_repo
8de818bc3b22fe45668740c93896d1a3a0d80b91
d7d712d5fbd1e4a08d7c9d455d22bcaf42bf9d39
refs/heads/master
2021-01-17T15:23:40.062430
2016-05-02T20:36:19
2016-05-02T20:36:19
8,159,417
1
0
null
null
null
null
UTF-8
Python
false
false
198
py
#__init for cluster_repo Package from .MFArrayUtil import * from .MFBinaryClass import * from .MFData import * from .MFInterpolators import * from .pestUtil import * from .shapefile import *
[ "jdhughes@usgs.gov" ]
jdhughes@usgs.gov
2b57537e79e3ad9b4633ca57c2ddddfa0b7e1607
51d7e8c09793b50d45731bd5ab9b531b525cf6db
/tests/garage/tf/policies/test_continuous_mlp_policy.py
bb4469dbe6cb5ee4034d610707f0dcf7980b0402
[ "MIT" ]
permissive
fangqyi/garage
454247849a6a3f547557b3fac3787ba9eeb0391f
ddafba385ef005f46f913ab352f9638760e5b412
refs/heads/master
2023-02-25T00:43:18.903328
2021-01-26T01:52:15
2021-01-26T01:52:15
267,667,220
0
0
MIT
2020-05-28T18:35:08
2020-05-28T18:35:07
null
UTF-8
Python
false
false
4,887
py
"""Tests for garage.tf.policies.ContinuousMLPPolicy""" import pickle from unittest import mock import numpy as np import pytest import tensorflow as tf from garage.tf.envs import TfEnv from garage.tf.policies import ContinuousMLPPolicy from tests.fixtures import TfGraphTestCase from tests.fixtures.envs.dum...
[ "qiaoyi.fang@duke.edu" ]
qiaoyi.fang@duke.edu
36ea7a1026d30a29e20067e7dcb70712ab796b5c
d46f9a699844285d000278b0d5df70977623b100
/target_snowflake/exceptions.py
32a39396d0a3334327fe804af540f7238653216e
[ "Apache-2.0" ]
permissive
transferwise/pipelinewise-target-snowflake
dfaf258e6836f9ec897744b3bf408a6d2586ad13
c0806f07cebf4a899d78051d2a6f773427ef550a
refs/heads/master
2023-08-28T07:53:10.441370
2023-08-09T08:44:48
2023-08-09T08:44:48
189,252,686
50
88
NOASSERTION
2023-09-11T19:55:44
2019-05-29T15:30:57
Python
UTF-8
Python
false
false
1,044
py
"""Exceptions used by pipelinewise-target-snowflake""" class RecordValidationException(Exception): """Exception to raise when record validation failed""" class UnexpectedValueTypeException(Exception): """Exception to raise when record value type doesn't match the expected schema type""" class InvalidValid...
[ "noreply@github.com" ]
transferwise.noreply@github.com
aaa180e801414f4b59f2e0b629795f49f9739303
ac8b725681e25177c5de3daf58afe00135241d0f
/leetcode/0897_increasing_order_search_tree.py
5fa0938303a03d1518808435114a5e32a86f3747
[ "MIT" ]
permissive
jacquerie/leetcode
7af100ea1d7292c8c3da34210cf04d891be5561b
0cb213b9c7bcb6efa11210e9ebc291befb560bb9
refs/heads/master
2022-05-19T22:19:46.284065
2022-03-27T02:41:58
2022-03-27T02:41:58
129,323,741
3
0
MIT
2021-01-04T01:41:50
2018-04-12T23:51:56
Python
UTF-8
Python
false
false
1,571
py
# -*- coding: utf-8 -*- class TreeNode: def __init__(self, x): self.val = x self.left = None self.right = None def __eq__(self, other): return ( other is not None and self.val == other.val and self.left == other.left and self.rig...
[ "jacopo.notarstefano@gmail.com" ]
jacopo.notarstefano@gmail.com
7c99059feb0d249b054366f0e02ef315e6c3410b
9124e66c8ec04e61537473437a92b53daa32ce20
/linares/app16.py
9546ce98495113270edd33ed162cbd5c44d52825
[]
no_license
erick1984linares/t10_linares_rojas
28618baccb3472fb8d48b34f5d1107b702c399d0
ba9462b3b881dbd3665907a7a33c4c7d80aa4251
refs/heads/master
2020-12-04T06:38:06.929626
2020-01-10T11:52:29
2020-01-10T11:52:29
231,661,040
0
0
null
null
null
null
UTF-8
Python
false
false
2,309
py
import libreria def los_canatantes_mas_famosos_en_estados_unidos(): nombre_de_cantante=libreria.pedir_cantante("Nombre del cantante:") pais_de_origen=libreria.pedir_pais_de_origen("Pais de origen:") sexo=libreria.pedir_sexo("Ingrese sexo:") contenido=nombre_de_cantante + "-" + pais_de_origen + "-" + ...
[ "ylinares@unprg.edu.pe" ]
ylinares@unprg.edu.pe
9af8680e7a0b969cea8da6d48ec454e25d144246
b521802cca8e4ee4ff5a5ffe59175a34f2f6d763
/maya/maya-utils/Scripts/Animation/2019-2-15 Tim Cam_Route_Manager/.history/Cam_Main/Cam_Main/Cam_Item_Layout_20190119193035.py
cad94c58a117de16d2ede4c86b26167a57ccd0ae
[]
no_license
all-in-one-of/I-Do-library
2edf68b29558728ce53fe17168694ad0353a076e
8972ebdcf1430ccc207028d8482210092acf02ce
refs/heads/master
2021-01-04T06:58:57.871216
2019-12-16T04:52:20
2019-12-16T04:52:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,957
py
# -*- coding:utf-8 -*- # Require Header import os import json from functools import partial # Sys Header import sys import traceback import subprocess import plugin.Qt as Qt from Qt.QtCore import * from Qt.QtGui import * from Qt.QtWidgets import * def loadUiType(uiFile): import plugin.Qt as Qt if Qt.__bindin...
[ "2595715768@qq.com" ]
2595715768@qq.com
3fcf08060ff040c45ee6b73f347d5e5f7353f750
4efc32a3f0290bb3d7b166ea0c9626102275daf9
/tests/test_libthumbor.py
5f662c552a4fa6fc0171cd36d1c3c7f3a67c9de1
[]
no_license
andrewsmedina/libthumbor
574563b6444a20c5bf1c7c8eab393822f1ca536e
1b79ffbc6b6379f536bc84edf40907e2caa31db3
refs/heads/master
2020-12-24T23:09:57.293911
2011-04-15T02:28:07
2011-04-15T02:28:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,652
py
#!/usr/bin/python # -*- coding: utf-8 -*- # libthumbor - python extension to thumbor # http://github.com/heynemann/libthumbor # Licensed under the MIT license: # http://www.opensource.org/licenses/mit-license # Copyright (c) 2011 Bernardo Heynemann heynemann@gmail.com import re import hashlib from thumbor.crypto i...
[ "heynemann@gmail.com" ]
heynemann@gmail.com
a95c82fd6b322361378372e7bbae26f8ebaa13e7
9f15e4318c5a2b6d98989599cc1b1109d61f8ed5
/ddcz/migrations/0017_auto_20180617_1604.py
e2e9f3d2ae8aa05a44b4934b736fe24d7794f6e0
[ "MIT" ]
permissive
indeterminateoutcomesstudios/graveyard
de6661c39aaecced9b9238fe9c515b82ce8ac001
bb1a2dbff1da7a06940ec5ba10b90de4f9357778
refs/heads/master
2020-03-28T16:49:48.217584
2018-07-14T10:14:18
2018-07-14T10:14:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,993
py
# Generated by Django 2.0.2 on 2018-06-17 14:04 import ddcz.models.magic from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('ddcz', '0016_auto_20180617_1602'), ] operations = [ migrations.AlterModelOptions( name='gallerypicture', ...
[ "bugs@almad.net" ]
bugs@almad.net
6736361bea0f0ee5c11db6ad1e3b253c863b6195
b08d42933ac06045905d7c005ca9c114ed3aecc0
/src/coefSubset/evaluate/ranks/thirtyPercent/rank_4p3y_R.py
5fa2c7f71949d755da90745b8031a3b7b8df7c8d
[]
no_license
TanemuraKiyoto/PPI-native-detection-via-LR
d148d53f5eb60a4dda5318b371a3048e3f662725
897e7188b0da94e87126a4acc0c9a6ff44a64574
refs/heads/master
2022-12-05T11:59:01.014309
2020-08-10T00:41:17
2020-08-10T00:41:17
225,272,083
1
0
null
null
null
null
UTF-8
Python
false
false
3,392
py
# 9 July 2019 # Kiyoto Aramis Tanemura # Several metrics are used to assess the performance of the trained RF model, notably native ranking. This script returns a ranking of the native protein-protein complex among a decoy set. For convenience, I will define as a function and will call in a general performance assess...
[ "tanemur1@msu.edu" ]
tanemur1@msu.edu
636caabb162a881578998eae2f4753a64b12c501
2ff88e94153e9f469dbe418e48bcaae8e2ab8dc8
/Kivy/Carousel2.py
5ebd2b63010419ee4896d78c2c69c7e34e55b0ed
[]
no_license
HorangApple/TIL
e04b2c65130901f7e20e2932f8175be27c1db583
5ee9f40cfd4d1b4fbfa155740bcd2d3a83c17133
refs/heads/master
2023-01-08T20:58:48.124182
2020-02-05T14:39:19
2020-02-05T14:39:19
163,809,325
2
0
null
2023-01-07T17:54:03
2019-01-02T07:35:52
Python
UTF-8
Python
false
false
432
py
from kivy.app import App from kivy.uix.carousel import Carousel from kivy.uix.image import AsyncImage class CarouselApp(App): def build(self): c = Carousel(direction='right', loop = True) for i in range(10): src = "http://placehold.it/480x270.png& text=Silde- %d" %i image = A...
[ "jongm711@gmail.com" ]
jongm711@gmail.com
8601b490b2a3e16efe8ac38e0db6fdddcfbb2c76
bc9f66258575dd5c8f36f5ad3d9dfdcb3670897d
/lib/surface/certificate_manager/trust_configs/__init__.py
0b6d6770be350d1e0de33b4179f31df71295461c
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
google-cloud-sdk-unofficial/google-cloud-sdk
05fbb473d629195f25887fc5bfaa712f2cbc0a24
392abf004b16203030e6efd2f0af24db7c8d669e
refs/heads/master
2023-08-31T05:40:41.317697
2023-08-23T18:23:16
2023-08-23T18:23:16
335,182,594
9
2
NOASSERTION
2022-10-29T20:49:13
2021-02-02T05:47:30
Python
UTF-8
Python
false
false
986
py
# -*- coding: utf-8 -*- # # Copyright 2022 Google LLC. 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 requir...
[ "cloudsdk.mirror@gmail.com" ]
cloudsdk.mirror@gmail.com
5a6a48155fff66d7a48206b591334b9c7717c7ac
e16decc4d9563fb55b63038ffc234caa15d4aba2
/svm_test.py
687ee2303541642baecfc0a37ba6daae8fbdb53e
[ "BSD-3-Clause" ]
permissive
smileyk/kaggle-decmeg2014
01135ad06f072f867c92110334f3782537808cb2
c8824f9c8e41d442d09e317f70c3644162f1f61c
refs/heads/master
2021-01-17T10:36:48.688140
2014-07-28T12:00:50
2014-07-28T12:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,182
py
import numpy as np from sklearn.externals.joblib import Memory from sklearn.preprocessing import StandardScaler from sklearn.svm import SVC from sklearn.metrics import accuracy_score from sklearn.pipeline import make_pipeline from utils import load_train_subjects, load_test_subjects import matplotlib.pyplot as plt ...
[ "kastnerkyle@gmail.com" ]
kastnerkyle@gmail.com
ceb1268b9c03a94b0b17413f61f99918ae4fe253
18432f256c5e35e33c5e2159cd7a93611b9e5149
/itchat/storage/templates.py
e1430e74a884b45db2ed9e7b893cbaf7fd936410
[ "MIT" ]
permissive
jsrj78/ItChat
2dee1213e23a11380d562ab42ec93641ab00d77e
834e638325381f4782f367cf8ccb5b7126a377be
refs/heads/master
2021-01-22T20:12:43.757609
2017-03-17T07:35:00
2017-03-17T07:35:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,310
py
import logging, copy, pickle from ..returnvalues import ReturnValue logger = logging.getLogger('itchat') class UnInitializedItchat(object): def _raise_error(self, *args, **kwargs): logger.warning('An itchat instance is called before initialized') def __getattr__(self, value): return...
[ "i7meavnktqegm1b@qq.com" ]
i7meavnktqegm1b@qq.com
f6db688fe13affbd91df6c9a6d485efb1a78d1b1
25295c299b940e214114dcc27237638e9389581b
/train_w2v.py
e5f59c2ddcf59aa858d0204e92ffcf6d0de74063
[]
no_license
weijin214/tmall
3e632059b3055b49688e0ebf9068d38609aea55c
4d28cf06f07d5129103a43000787295b1293f3cc
refs/heads/master
2023-03-19T19:01:48.080724
2021-01-26T03:09:52
2021-01-26T03:09:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,865
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Author : qichun tang # @Date : 2021-01-22 # @Contact : qichun.tang@bupt.edu.cn import gensim import pandas as pd from lightgbm import LGBMClassifier from sklearn.linear_model import LogisticRegression from sklearn.model_selection import StratifiedKFold, cross_val_...
[ "1468632627@qq.com" ]
1468632627@qq.com
21b2249991d1911e1650868a021d1b3a85e40b6b
a81c1492783e7cafcaf7da5f0402d2d283b7ce37
/google/ads/google_ads/v6/services/shared_criterion_service_client_config.py
b6f7f7ad908475bae08f5e1528d572cc8c02d24e
[ "Apache-2.0" ]
permissive
VincentFritzsche/google-ads-python
6650cf426b34392d1f58fb912cb3fc25b848e766
969eff5b6c3cec59d21191fa178cffb6270074c3
refs/heads/master
2023-03-19T17:23:26.959021
2021-03-18T18:18:38
2021-03-18T18:18:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,376
py
config = { "interfaces": { "google.ads.googleads.v6.services.SharedCriterionService": { "retry_codes": { "retry_policy_1_codes": [ "UNAVAILABLE", "DEADLINE_EXCEEDED" ], "no_retry_codes": [] }, "retry_params": { "retry_policy_1_params": { ...
[ "noreply@github.com" ]
VincentFritzsche.noreply@github.com
a7dc330b36679d0a329a76f68e7bec4c49f12469
59ad8e95e23a503cf81d7097a4d901944149b044
/Phys476/hw2/HW2_nkasmano@umd.edu_1.py
3d10363eb07df6828155348d5bc7f676c14c894d
[]
no_license
nkasmanoff/MLstuff
76ffaab8513bfcafa44749a3415ebb8a1684f059
503eba35429d1aaa1fe668a5588c5272a7683a4c
refs/heads/master
2021-04-26T23:32:49.512202
2018-05-23T14:14:37
2018-05-23T14:14:37
123,987,024
0
0
null
null
null
null
UTF-8
Python
false
false
1,123
py
#Noah Kasmanoff, HW2 Problem 1 Phys476 #Classify mice using k-nearest-neighbors (KNN) #http://archive.ics.uci.edu/ml/datasets/Mice+Protein+Expression #import the necessary packages import sys import os os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2' stderr = sys.stderr sys.stderr = open(os.devnull, 'w') import numpy as ...
[ "nkasmanoff@gmail.com" ]
nkasmanoff@gmail.com
433689af2317a650652caadb313392f39e8c142a
25d9f7966649423e900e304c2bd7ccd5ab1ae0ce
/2/2-8.py
5965defbfbcae5c01c45f693cf86e8318bb3c360
[]
no_license
JaeZheng/learn_python
ec6feb21bd7db4e766f21bec2a97c79c3e81632b
a16af222b566fbfc831da019162e876c0059df31
refs/heads/master
2020-03-30T07:26:16.404906
2018-09-30T09:01:48
2018-09-30T09:01:48
150,939,532
0
0
null
null
null
null
UTF-8
Python
false
false
80
py
# 加减乘除得到8 print(5 + 3) print(10 - 2) print(2 * 4) print(int(16 / 2))
[ "846265697@qq.com" ]
846265697@qq.com
80f9aa114c383f2a81fb63db7aa8bf4544e72da4
82eb0451478f65551f90f059cddde0855b10bdd5
/mysite/polls/views.py
c570cbcaebca8c131ba81991ecfe4628900455ba
[]
no_license
manishbalyan/mysite
2dcae785748c991262c169408e721f560abd2768
286933c9f8f7a03d1bc9226852200fdc8dd26f2c
refs/heads/master
2021-01-20T19:34:16.933170
2016-07-06T07:12:14
2016-07-06T07:12:14
62,699,597
0
0
null
null
null
null
UTF-8
Python
false
false
1,116
py
from django.shortcuts import get_object_or_404, render from django.http import HttpResponse, HttpResponseRedirect from django.core.urlresolvers import reverse from django.views import generic from .models import Question, Choice # Create your views here. class IndexView(generic.ListView): template_name = 'polls/index...
[ "balyan05.manish@gmail.com" ]
balyan05.manish@gmail.com
25a873894fb591d9410c9593d5ee5285d240227e
9a05e1e8c950b091124d805ea70f24d2837b827c
/daydayup/cema_python/fourday/classmethod.py
b3a33c207eae12999e2302e1f219e66bc2325eab
[]
no_license
fanzongpeng/mywork
20676a9fe0e0599461a756ad194e4bd35aad4668
aa6d044bbab3c0288de48888b2cc7dbd7785c91b
refs/heads/master
2022-05-31T06:03:26.826914
2020-04-30T09:50:22
2020-04-30T09:50:22
257,189,615
0
0
null
null
null
null
UTF-8
Python
false
false
309
py
class Book(object): def __init__(self, title): self.title = title @classmethod def create(cls, title): book = cls(title=title) return book # 为实现不同的初始化 book1 = Book("python") book2 = Book.create("python and django") print(book1.title) print(book2.title)
[ "18210023228.com" ]
18210023228.com
50d876dd72e66a63714cc6ed16e698ece7ac6362
ee974d693ca4c4156121f8cb385328b52eaac07c
/env/lib/python3.6/site-packages/werkzeug/routing.py
43b9666881cd3362bb9a0fcfab099954c9a7b778
[]
no_license
ngonhi/Attendance_Check_System_with_Face_Recognition
f4531cc4dee565d0e45c02217f73f3eda412b414
92ff88cbc0c740ad48e149033efd38137c9be88d
refs/heads/main
2023-03-12T07:03:25.302649
2021-02-26T15:37:33
2021-02-26T15:37:33
341,493,686
1
0
null
null
null
null
UTF-8
Python
false
false
130
py
version https://git-lfs.github.com/spec/v1 oid sha256:91d60dfc3ee77f58fe4bfb984ca480db1063e970db86dc87c5d59560304c0d7b size 82933
[ "Nqk180998!" ]
Nqk180998!
c57090493d5c75f3f2513e8c3e46b603b37a4622
92bfcfaedb69b0d5c032f6a9b3ad70c0e06f7c53
/asterisk.py
fc00c79fbfee39b9c1f12f1bd14e224d14b9501a
[]
no_license
hellstrikes13/sudipython
cf529ed60cca09afa185f3b56fe7ce17059212b0
a789fc33cdab12d64ab674cb1c2ad7849617251f
refs/heads/master
2022-01-03T09:12:14.192724
2021-12-23T05:38:31
2021-12-23T05:38:31
184,371,582
2
1
null
2021-12-23T05:38:31
2019-05-01T05:07:18
Python
UTF-8
Python
false
false
377
py
print "\n\n" #line = input('enter no of lines: ') line = 5 for i in range((line-2),0,-1): print " " * (line-i-1)+ "* " + " " * (i-1) + "*" + " " * (i-1) + " *" print " " * ((line+1)/2) + " * *" print "* " * (line+1) print " " * ((line+1)/2) + " * *" for i in xrange(1,line-1): print " " * (line-i-1)+ "* "...
[ "hellstrikes13@gmail.com" ]
hellstrikes13@gmail.com
df56964ebcbf99dc3947a0c2cd1c8d033a75169b
7997a9581ac4badc53793e32bc85878b8e16094e
/mkwavelibts_at_node.py
effef5b8f79dc8a5d22b62ab975bcc20d4b03476
[]
no_license
jasonfleming/pputils
78adb832c5860a37e1473a43a5b9a54ad4d5ce55
2b34e47e4c3331d5780019d248e3f37c71164665
refs/heads/master
2022-09-29T13:40:38.657005
2022-08-10T19:40:06
2022-08-10T19:40:06
79,500,881
1
0
null
2017-01-19T22:17:09
2017-01-19T22:17:09
null
UTF-8
Python
false
false
6,210
py
#!/usr/bin/env python3 # #+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+! # # # mkwavelibts_at_node.py # # ...
[ "pprodano@gmail.com" ]
pprodano@gmail.com
6e8831b052f799fcce2ef0521bf3b54243784e8f
2f9a993813b84c24d505ba3a9b30438aaac7ed2d
/DocumentationGuide/Blueprint/main.py
9db45c2a5660c6911d55336ee870c54dc819be2a
[]
no_license
Twishar/Sanic
f9be35bbfb2652e82dc3e592b0fcb4b3e507e264
c8aed79f96cdf01fec0d888954693a6fba81df41
refs/heads/master
2020-04-30T08:09:06.091676
2019-03-27T10:19:50
2019-03-27T10:19:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
227
py
from sanic import Sanic from my_blueprint import bp, blueprint_v1, blueprint_v2 app = Sanic(__name__) app.blueprint(bp) app.blueprint(blueprint_v1) app.blueprint(blueprint_v2) app.run(host='0.0.0.0', port=8000, debug=True)
[ "stognienkovv@gmail.com" ]
stognienkovv@gmail.com
59b9d1dfe588f3f31f5c0eb0ad2bbb1ef8536460
c9125ccdcb7acffb29948dcabafec307cf69d763
/leetcode/按序号刷题/21合并两个有序链表.py
547866c5b7e96b28f9371541583f875837037e4c
[]
no_license
FishRedLeaf/my_code
c26115be145918309808b9113fbc0ee8c8baaef9
d4215451f1cad3ab6dfb4b082f4fd694fe0d31b4
refs/heads/master
2021-06-21T13:34:32.807795
2021-03-04T16:29:45
2021-03-04T16:29:45
194,763,400
3
1
null
null
null
null
UTF-8
Python
false
false
837
py
# -*- coding: utf-8 -*- """ Created on Tue Mar 19 11:24:45 2019 @author: 鱼红叶 将两个有序链表合并为一个新的有序链表并返回。新链表是通过拼接给定的两个链表的所有节点组成的。 示例: 输入:1->2->4, 1->3->4 输出:1->1->2->3->4->4 """ # Definition for singly-linked list. class ListNode: def __init__(self, x): self.val = x self.next = Non...
[ "noreply@github.com" ]
FishRedLeaf.noreply@github.com
219825b720ce2e9b41757e4e51bc95679758ef4d
0d72b32afd0447f18c75b536e8a4f1b74137635b
/duka/core/csv_dumper.py
bd766586bc40b55f6b55cd3bbd791d70a65d0fd9
[ "MIT" ]
permissive
123mitnik/duka
8c28ee9e0b38c4445ab45524f1b852abfff4e51a
50b23bf52cdcb31031228e358122b04248e1554a
refs/heads/master
2020-05-29T12:15:03.152786
2016-04-16T12:46:16
2016-04-16T12:46:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
748
py
import csv from .utils import Logger TEMPLATE_FILE_NAME = "{}_{}_{:02d}_{:02d}.csv" def dump(currency, day, ticks): file_name = TEMPLATE_FILE_NAME.format(currency, day.year, day.month, day.day) Logger.info("Writing {0}".format(file_name)) with open(file_name, 'w') as csv_file: fieldnames = ['tim...
[ "giuse88@gmail.com" ]
giuse88@gmail.com
f1dc2193d0637531e5b43466da84472670a02498
fbc367b3de219d25cc8ba33ea7635acbedd11ba2
/p008.py
1ffcd80179452a7790c7b1ea3f30747498dfd996
[]
no_license
rafaelcastrocouto/euler
5a1832695314f63d2faf8cb8b52b7706b555c241
e0c6e3fb76607fc0315e9c427153d10f94e7e1b2
refs/heads/main
2023-01-09T13:54:31.747401
2020-11-09T05:11:28
2020-11-09T05:11:28
311,418,941
2
0
null
2020-11-09T17:46:11
2020-11-09T17:46:10
null
UTF-8
Python
false
false
1,241
py
import math given = """ 73167176531330624919225119674426574742355349194934 96983520312774506326239578318016984801869478851843 85861560789112949495459501737958331952853208805511 12540698747158523863050715693290963295227443043557 66896648950445244523161731856403098711121722383113 6222989342338030813533627661428280644448...
[ "bluepenguin@gmail.com" ]
bluepenguin@gmail.com
b41102c1dde4078fc0cadfeb05c2bf06ab3f73fc
ad6f20ca36dc65e34b43c69db66f383554718fed
/dp/practice_knapsack.py
432a3c118b4f864f5380ea54e47b41f4bcbccbc9
[]
no_license
atulanandnitt/questionsBank
3df734c7389959801ab6447c0959c85f1013dfb8
477accc02366b5c4507e14d2d54850a56947c91b
refs/heads/master
2021-06-11T21:39:24.682159
2021-05-06T17:54:18
2021-05-06T17:54:18
175,861,522
0
1
null
2020-05-02T09:26:25
2019-03-15T17:10:06
Python
UTF-8
Python
false
false
289
py
#knapshak def knapsack(wt,val,totalWt): totalVal=[0 for item in range(len(totalWt)) for i in range(totalWt): for j in range(len(wt)): if totalVal[] return totalVal wt=[1,3,4,5] val=[1,4,5,7] totalWt=10 print(knapsack(wt,val,totalWt))
[ "atul.anand.nitt@gmail.com" ]
atul.anand.nitt@gmail.com
1b55c3a7aa3cf673debf5c5759cd2ac0f2c07032
cc3a436bdbd82b0f4887ed2e038688abe30dd84e
/django_tutorial/lighting/lighting/wsgi.py
cf398ec7ee25b61e266b6a24fc11efd0616c2665
[]
no_license
enextus/python_learnstuff
05673348bc66114fe30670aa11cff58fedade19a
76b6acdab9dc0d685fd3b1265fd2a3ebe72c6dae
refs/heads/master
2021-01-07T05:10:33.616407
2020-02-19T13:12:55
2020-02-19T13:12:55
241,564,349
0
0
null
null
null
null
UTF-8
Python
false
false
393
py
""" WSGI config for lighting 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.0/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SETT...
[ "enextus@gmail.com" ]
enextus@gmail.com
08a0848fedf669abed53c01db5f2e3089f9afafd
d274e22b1cc5d546855fe46b089b13cfe2f4047c
/june2020/solutions/day10_SearchInsertPosition.py
bc56b7f39c131fc4fed01b6d54a49083c7e42612
[]
no_license
varunkumar032/lockdown-leetcode
ca6b7a8133033110680dd226c897dd8a1482682b
15a72a53be9005eca816f018cb1b244f2aa4cdfb
refs/heads/master
2023-06-30T08:31:54.323747
2021-07-12T11:29:59
2021-07-12T11:29:59
260,616,280
0
0
null
2021-05-06T10:24:48
2020-05-02T04:52:37
Python
UTF-8
Python
false
false
770
py
# Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if # it were inserted in order. # You may assume no duplicates in the array. # Example 1: # Input: [1,3,5,6], 5 # Output: 2 # Example 2: # Input: [1,3,5,6], 2 # Output: 1 # Example 3: # Inp...
[ "varunkumar032@gmail.com" ]
varunkumar032@gmail.com
08f266233255b9d3b387c43201211875b4484fb5
789e1e37183ad8238607132533661ff0bc71ad33
/src/meshio/vtk/_common.py
ee42c1378930ef3ca7eb75e82ce869447a9e1018
[ "MIT" ]
permissive
keurfonluu/meshio
a7cecc15a0d7b83767f3e41c7defab1a2c7c017a
7f55a8b347c97ccaf2cb3788cd99c47a992b3b79
refs/heads/main
2022-06-05T21:23:22.021290
2022-03-18T23:22:55
2022-03-18T23:22:55
198,168,807
0
0
MIT
2019-07-22T07:17:52
2019-07-22T07:17:52
null
UTF-8
Python
false
false
444
py
from io import BytesIO, StringIO def encode(string, binary): return string.encode() if binary else string def tofile(arr, f, binary=True, sep=""): if binary: if isinstance(f, BytesIO): f.write(arr.tobytes()) else: arr.tofile(f, sep=sep) else: if isinstanc...
[ "keurfonluu@outlook.com" ]
keurfonluu@outlook.com
4f05dce4733ae8a0b4d36f7213725842791720fa
8aaaa25e794485339f7d7430f11ecd5100f6a8f7
/models/nets/nets.py
d542272c57b5e64f8500d71b0bfa5c29f82cb7cd
[]
no_license
PanJinquan/torch-image-classification-pipeline
650c901d07d5c1dd9b6d3f2d5420b416ea804d42
98257e64224722e54d5e593ffc53aa7f5589af99
refs/heads/master
2022-07-12T22:19:32.137554
2020-05-09T09:32:03
2020-05-09T09:32:03
254,305,531
3
0
null
2021-10-12T23:05:07
2020-04-09T07:47:32
Python
UTF-8
Python
false
false
1,736
py
# -*- coding: utf-8 -*- """ # -------------------------------------------------------- # Copyright (c) DMAI Inc. and its affiliates. All Rights Reserved. # Licensed under The MIT License [see LICENSE for details] # Written by panjinquan@dm-ai.cn # @Project: torch-Face-Recognize-Pipeline # @Author : panjq # @Date : 20...
[ "panjinquan@dm-ai.cn" ]
panjinquan@dm-ai.cn
06b1c7111de377088f482a7619bfe03fcdcbedef
37fe0d74375527f4aaf86857e17b96b675837205
/aid1805/pbase/14_break.py
f2b2a15107b29e156d58cc3c48070e347f2b5b63
[]
no_license
wangleiliugang/data
af8255eb76affa55424979c809c6168a7f3995ea
375a58b454be38ffa156876a7770f8d6f4345aba
refs/heads/master
2023-06-05T13:21:43.630854
2021-06-21T09:04:39
2021-06-21T09:04:39
378,862,494
0
0
null
null
null
null
UTF-8
Python
false
false
2,082
py
# 此示意break 语句的用法 i = 1 while i <=6: print("本次循环开始时:",i ) if i ==3: break print("本次循环结束时:",i) i += 1 print("这是程序最后一条语句!i=",i ) # 任意输入一些整数,当输入负数时结束输入,当输入完成后,打印您输入的这些数的和 s = 0 while True: n = int(input("请输入一个整数:")) if n < 0: break s += n print(s) # 写程序用while 语句实现打印三角形 # 要求...
[ "137753633@qq.com" ]
137753633@qq.com
6237e79a69d325eb6961f93836a080439c276a14
2e1c1558f6fcb12a57449f9f6f0db6f1cbf38dd6
/src/masonite/packages/reserved_names.py
52153d301fada3aa47a7e3aa2da6b4c041b275b8
[ "MIT" ]
permissive
MasoniteFramework/masonite
ca51bf3d0e4777e624b3a9e94d1360936fb8006d
e8e55e5fdced9f28cc8acb1577457a490e5b4b74
refs/heads/4.0
2023-09-01T18:59:01.331411
2022-11-05T01:29:29
2022-11-05T01:29:29
113,248,605
2,173
185
MIT
2023-04-02T02:29:18
2017-12-06T00:30:22
Python
UTF-8
Python
false
false
88
py
PACKAGE_RESERVED_NAMES = ["application", "auth", "controller", "event", "notification"]
[ "idmann509@gmail.com" ]
idmann509@gmail.com
2e82a672db83a28c3f4a48a589e9fb394b6e09e1
1b3addbc9473b6ffb999665601470ccc4d1153b0
/libs/msg_service/pyro_msg_service.py
b942d58d4bf7058041b6bf79b68922fc74dd932e
[]
no_license
weijia/approot
e1f712fa92c4c3200210eb95d251d890295769ba
15fac5b31a4d619d1bdede3d1131f5e6e57cd43b
refs/heads/master
2020-04-15T13:15:01.956721
2014-08-26T14:02:17
2014-08-26T14:02:17
11,049,975
1
0
null
null
null
null
UTF-8
Python
false
false
765
py
import Pyro4 from msg_service_interface import MsgServiceInterface, UnknownReceiver class PyroMsgService(MsgServiceInterface): """ Receiver is a string indicate the receiver's name, it may contain protocol string to specify message sending protocol """ def send_to(self, receiver, msg): #L...
[ "richardwangwang@gmail.com" ]
richardwangwang@gmail.com
cc22b1b214ea115b83ad4221434cbe1a7174d6b1
8aa89b6eb27e9c56429b509b67fe0cafcc99a20b
/src/programy/clients/xmpp.py
057688ae7b32be6160423e87d116f4e93524ae6e
[ "MIT" ]
permissive
libby/program-y
639b62bf0b114cb99fb94721a2810f2eed53d035
ff6ff9f3c9b8fa37cf0197aa723f691b19ce464e
refs/heads/master
2021-05-07T17:23:54.460785
2017-10-13T13:13:58
2017-10-13T13:13:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,093
py
""" Copyright (c) 2016-17 Keith Sterling http://www.keithsterling.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 restriction, including without limitation the rights to use, copy, mod...
[ "keith@keithsterling.com" ]
keith@keithsterling.com
56ffdf91c96d799fda1dd20e593786038734a327
57ce77797e073f16779b9a5a712ca576ee776c2a
/examples/adspygoogle/dfp/v201308/inventory_service/get_mobile_ad_unit_sizes.py
cec9237b018afe07d9186ce6b4f2873213246089
[ "Apache-2.0" ]
permissive
chahroud/googleads-python-legacy-lib
3fc8c043ec0b1e92b7afb76d018eb4016347b472
f22956e782b9119d3c1a90b1e3b42830478a89d2
refs/heads/master
2021-01-21T01:33:29.512298
2014-04-01T14:43:03
2014-04-01T14:43:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,087
py
#!/usr/bin/python # # Copyright 2013 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required b...
[ "emeralddragon88@gmail.com" ]
emeralddragon88@gmail.com
3b989acfc37501242497d17c7f8d86e10abebae9
6f5cf47477ae5218bf2fa8faf17fe0cd15b09e15
/utilities/runPlugin.py
dc046ad0b87d9576810d1c6dccfc6387325455e4
[]
no_license
dymx101/MangaCMS
9a0cae6553620b7e8495c8cf329c3763a3f94ce9
42faf689826c8bcaed33020e25ff5af37194e08e
refs/heads/master
2020-03-13T17:02:08.120617
2018-04-24T05:57:43
2018-04-24T23:10:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,732
py
import sys import os.path import runStatus from utilities.dedupDir import DirDeduper import signal import MangaCMS.activePlugins def customHandler(dummy_signum, dummy_stackframe): if runStatus.run: runStatus.run = False print("Telling threads to stop") else: print("Multiple keyboard interrupt...
[ "something@fake-url.com" ]
something@fake-url.com
4937313d3d0b255161536d80f30f9545a7e9092a
48832d27da16256ee62c364add45f21b968ee669
/res_bw/scripts/common/lib/ctypes/test/test_array_in_pointer.py
6b8ce2b0d53791c84fec02b5b46785ceadf89068
[]
no_license
webiumsk/WOT-0.9.15.1
0752d5bbd7c6fafdd7f714af939ae7bcf654faf7
17ca3550fef25e430534d079876a14fbbcccb9b4
refs/heads/master
2021-01-20T18:24:10.349144
2016-08-04T18:08:34
2016-08-04T18:08:34
64,955,694
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
1,528
py
# 2016.08.04 19:58:26 Střední Evropa (letní čas) # Embedded file name: scripts/common/Lib/ctypes/test/test_array_in_pointer.py import unittest from ctypes import * from binascii import hexlify import re def dump(obj): h = hexlify(memoryview(obj)) return re.sub('(..)', '\\1-', h)[:-1] class Value(Structure): ...
[ "info@webium.sk" ]
info@webium.sk
e3e8ee088d27093043e69211e4990981f88b686b
24f6ba511545d5cd2860bed27f9e10b5686fd041
/pysite/rst/roles.py
d83f07f903e63ef1fbb07b60c7bee2eae65c11eb
[ "MIT" ]
permissive
landizz/site
8a68fcc282e6bf56a6f90b10de1a4e7d4e8a5428
bc87a43b3fc1ff3424b1c9603b0a35b28f2c3896
refs/heads/master
2020-04-17T19:55:20.483103
2019-01-19T23:03:13
2019-01-19T23:03:13
166,884,262
0
0
MIT
2019-01-21T21:59:42
2019-01-21T21:36:58
CSS
UTF-8
Python
false
false
3,916
py
from docutils import nodes from docutils.parsers.rst.roles import set_classes from docutils.parsers.rst.states import Inliner from flask import url_for from jinja2 import escape def icon_role(_role: str, rawtext: str, text: str, lineno: int, inliner: Inliner, options: dict = None, _content: dict = None)...
[ "gdude2002@gmail.com" ]
gdude2002@gmail.com
fdc773c06a44ce569ca3037813c527e751fcaebd
3e1745d2b10d1895bfbe371f78c8fbc940cfa991
/test_app/__init__.py
f8566d0a6dfd3383b94dcfcf2196575f85dd6979
[ "BSD-2-Clause-Views", "BSD-2-Clause" ]
permissive
kezabelle/django-stagesetting
aa2ce61e967fbd9699994665996fa6b5fc0403b1
d01029c309915599e9a0413c1be0957638725f69
refs/heads/master
2020-06-01T20:16:17.697044
2018-09-14T11:00:04
2018-09-14T11:00:04
39,468,404
5
0
null
null
null
null
UTF-8
Python
false
false
155
py
# -*- coding: utf-8 -*- from __future__ import absolute_import from __future__ import unicode_literals default_app_config = 'test_app.apps.TestAppConfig'
[ "keryn@kerynknight.com" ]
keryn@kerynknight.com
6c4a94fc1ba2666d46bc418852c2c75a99de1f9b
4bcc9806152542ab43fc2cf47c499424f200896c
/tensorflow/python/kernel_tests/proto/descriptor_source_test_base.py
162ddff94aa35f3a893c8a4d9e250775d40a4687
[ "Apache-2.0", "LicenseRef-scancode-generic-cla", "BSD-2-Clause" ]
permissive
tensorflow/tensorflow
906276dbafcc70a941026aa5dc50425ef71ee282
a7f3934a67900720af3d3b15389551483bee50b8
refs/heads/master
2023-08-25T04:24:41.611870
2023-08-25T04:06:24
2023-08-25T04:14:08
45,717,250
208,740
109,943
Apache-2.0
2023-09-14T20:55:50
2015-11-07T01:19:20
C++
UTF-8
Python
false
false
6,861
py
# ============================================================================= # Copyright 2018 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 #...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
b9e9bf1e27171ae472ed0f5023e2a56e281eabde
fda673f9450d6d78c542a699fe8b9064f65d9057
/userinfo/views.py
756fb61321ba5f2d1651635fd0f812278b0e74fd
[]
no_license
asdlei99/MovieSite
1221f8103ec4af63b4f9b80d89d7f7bf5a21a1c3
2a7ee09a308e13df58f6b43f6288908c68fc6271
refs/heads/master
2020-03-26T16:19:19.059927
2018-06-08T09:01:05
2018-06-08T09:01:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
82,947
py
#_*_coding:UTF-8_*_ from django.shortcuts import render_to_response, Http404 from django.http.response import HttpResponse, HttpResponseRedirect, HttpResponsePermanentRedirect from django.db.models import Q from movie import models #from pip._vendor.requests.models import json_dumps #from userinfo import forms from dja...
[ "1225191678@qq.com" ]
1225191678@qq.com
07260d27413c2ef4d21a0efce0821818895a3f27
b99f518e5289da9d068154cefd7b9f13c8d6564f
/VSCode_work/chapter9/car_1.py
b54c2f3a99d3546246d7911c473a4cf5173d27b1
[ "MIT" ]
permissive
yangyahu-1994/Python-Crash-Course
e6a81feba4bdbef297387577ea36b7027bf61c8f
6f8ef7fe8466d88931a0d3cc423ba5d966663b9d
refs/heads/master
2023-07-29T22:29:06.151253
2021-10-05T14:04:32
2021-10-05T14:04:32
313,314,086
18
12
null
null
null
null
UTF-8
Python
false
false
2,280
py
"""一组表示燃油汽车和电动汽车的类""" class Car(): """一次模拟汽车的简单尝试""" def __init__(self, make, model, year): """初始化描述汽车的属性""" self.make = make self.model = model self.year = year self.odometer_reading = 0 def get_descriptive_name(self): """返回整洁的描述性信息""" ...
[ "yyh_19940317@163.com" ]
yyh_19940317@163.com
054a5e80bc0a0a331d0890c72f3b1d1d5ffa9062
e5504d8c4880993b82d5583a11c5cc4623e0eac2
/LeetCode/30-day-challenge/May/May 1st - May 7th/ransomeNote.py
00222019fe8e5a8a677a2160fd282823d39db862
[]
no_license
noorulameenkm/DataStructuresAlgorithms
e5f87f426fc444d18f830e48569d2a7a50f5d7e0
7c3bb89326d2898f9e98590ceb8ee5fd7b3196f0
refs/heads/master
2023-06-08T19:29:42.507761
2023-05-28T16:20:19
2023-05-28T16:20:19
219,270,731
2
0
null
null
null
null
UTF-8
Python
false
false
652
py
class Solution: def canConstruct(self, ransomNote: str, magazine: str) -> bool: d = {} for i in range(len(magazine)): if d.get(magazine[i], 0) == 0: d[magazine[i]] = 1 else: d[magazine[i]] += 1 for j in range(len(ransomNote)): ...
[ "noorul.km@people10.com" ]
noorul.km@people10.com
ecf31ea00163ba73028c5f0bc08504c4eb96ec61
adf2e802c7563e4b7b7cc279a54deceb6a803098
/openapi_client/models/image_save_as_pdf_response.py
b91b3f75d99da1708d38d8920085dcf7ab9c8a7d
[]
no_license
Orpalis/passportpdfsdk-python
2466f7568becf2bd386bd9e4e00b4e3c1e642727
257d305ca9e6508d44fe521a1e4721f1835e8d0e
refs/heads/master
2022-04-24T15:58:21.257112
2020-04-27T11:09:37
2020-04-27T11:09:37
254,665,250
2
0
null
null
null
null
UTF-8
Python
false
false
5,862
py
# coding: utf-8 """ PassportPDF API Another brick in the cloud # noqa: E501 The version of the OpenAPI document: 1.0.1 Generated by: https://openapi-generator.tech """ import pprint import re # noqa: F401 import six from openapi_client.configuration import Configuration class ImageSaveAsPDFRe...
[ "e.carrere@orpalis.com" ]
e.carrere@orpalis.com
2e9e3aca9f8793206e2d476081d90cd178d76efb
ce6ace34704e74c2a53e9b38b2630876d9cd52e2
/mdias_addons/odoo_operation_log/__manifest__.py
44d33ae5f6eac60610af262ad7bffc8e7299a5e5
[]
no_license
rezaghanimi/main_mdias
e3cfd8033204d8e7e484041f506892621a3e3479
13b428a5c4ade6278e3e5e996ef10d9fb0fea4b9
refs/heads/master
2022-09-17T20:15:42.305452
2020-05-29T05:38:35
2020-05-29T05:38:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
663
py
# -*- coding: utf-8 -*- { 'name': "odoo_operation_log", 'summary': """ 日志""", 'description': """ 日志管理软件,在数据发生变更时候自动保存数据变化 """, 'author': "funenc", 'website': "http://www.funenc.com", 'category': 'funenc', 'version': '0.1', 'depends': ['base', 'vue_template_manager'], ...
[ "619851623@qq.com" ]
619851623@qq.com
f3531fd1974a56680ad45f53c99d7b00fe8b2b1e
3c61b11cc0c90cf730e1e6d59bbee63a0dffb2fd
/mlinsights/mlmodel/extended_features.py
d76ed3802e47ab786e3b49c7d012d9e04a1d21f7
[ "MIT" ]
permissive
klegaard/mlinsights
78e75a2c77eeeb3733e38bfdf9c92f6737737d1f
cbb8a87e35471f80625a02c5d8883dd64d55a25e
refs/heads/master
2020-08-29T00:21:15.251815
2019-10-21T22:19:50
2019-10-21T22:19:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,829
py
""" @file @brief Implements new features such as polynomial features. """ import numpy from scipy import sparse from sklearn.base import BaseEstimator, TransformerMixin from sklearn.utils import check_array from sklearn.utils.validation import check_is_fitted from ._extended_features_polynomial import _transform_iall, ...
[ "xavier.dupre@gmail.com" ]
xavier.dupre@gmail.com
895706f993b4770365b0d539ba8e88f59bf4cffb
c153ded6cca8f463afbfb4f14fde1edf787906b2
/openprocurement/auctions/dgf/views/other/lot.py
9514e1202fbff83adfacedb0f7a0526ffd4953d5
[ "Apache-2.0" ]
permissive
prozorro-sale/openprocurement.auctions.dgf
f76c03cd9552a066baa4496a136fcca65eb9d118
4671156ae4ad2ab6b6bcd67f21a18a7a06a5d1f8
refs/heads/master
2020-05-21T03:33:50.520572
2018-04-19T12:33:52
2018-04-19T12:33:52
84,565,508
0
8
Apache-2.0
2018-05-18T12:02:25
2017-03-10T14:01:34
Python
UTF-8
Python
false
false
3,688
py
# -*- coding: utf-8 -*- from openprocurement.api.utils import ( json_view, context_unpack, APIResource, get_now ) from openprocurement.auctions.core.utils import ( apply_patch, save_auction, opresource, ) from openprocurement.auctions.core.validation import ( validate_lot_data, valid...
[ "krzroman@gmail.com" ]
krzroman@gmail.com
8e69a0355ebfb2563d315ef490ba0da861c213e2
8cac67c84228a8fa2dbae3536a28ff0255d64de1
/0x0A-python-inheritance/3-is_kind_of_class.py
b6ae6c410a50549279c00a66bbdf4aa98f2d7d4e
[]
no_license
dgquintero/holbertonschool-higher_level_programming
8ee78ee61890eb532dc3f7b0a73db903f4627c88
3d0f431d76a8436461cb5602b97bbdf4f5774f56
refs/heads/master
2020-09-29T00:32:20.623148
2020-05-14T18:59:38
2020-05-14T18:59:38
226,902,482
0
0
null
null
null
null
UTF-8
Python
false
false
152
py
#!/usr/bin/python3 """func returns T or F if obj is an instance of a_class""" def is_kind_of_class(obj, a_class): return isinstance(obj, a_class)
[ "dgquintero02@hotmail.com" ]
dgquintero02@hotmail.com
eb66339022f3c8152cf3367a0908277c7c6df435
7c902cde7a6ff5bcb9819aee3e00e5e97d46edea
/cnfOperations.py
d30d02a14db9f6738bfdef055604cd58574d6252
[]
no_license
erhanorun/modbusOOP
eb6c1161d4d4a7e42bbb508122a2a5d29e799bc0
a320a12e5411f6b97c9a15a65512dc2215b1f41c
refs/heads/master
2023-08-13T18:09:01.186121
2021-07-15T10:44:53
2021-07-15T10:44:53
406,088,476
0
0
null
null
null
null
UTF-8
Python
false
false
1,238
py
import configparser class cnfOperation(): @staticmethod def readModBusHost(): config = configparser.ConfigParser() config.read('Config.ini') return config['Modbus_host']['host'] @staticmethod def readModBusPort(): config = configparser.ConfigParser() config.re...
[ "erhan0494@gmail.com" ]
erhan0494@gmail.com
976611f034e3ef9874e4c5c02ba2d32289297be8
d9bcac6cc346ab9efbfc204222ef33b7da5df5c2
/docs/conf.py
4517135e1ac43fb27873227094cc93517c88525c
[ "MIT" ]
permissive
psapoznik/django-baton
e352a81a4d789e4672ef7ed0f64cdb5d7e9cd90a
180fbc5b137a7dbf038d649b40291a182939205f
refs/heads/master
2020-04-05T04:25:51.363192
2018-11-05T11:13:22
2018-11-05T11:13:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,879
py
# -*- coding: utf-8 -*- # # django-baton documentation build configuration file, created by # sphinx-quickstart on Wed Feb 15 12:25:38 2017. # # This file is execfile()d with the current directory set to its # containing dir. # # Note that not all possible configuration values are present in this # autogenerated file. ...
[ "abidibo@gmail.com" ]
abidibo@gmail.com
28fd6ef70ed7f5fd82df0cba4267d0f51012053e
6186a3787d1e74f1866844491da48b9643c8f1a9
/ghostwriter/shepherd/migrations/0006_auto_20191001_1353.py
3f73c6ad79905037795839db3d6c2334b7b4c8d9
[ "BSD-3-Clause" ]
permissive
GhostManager/Ghostwriter
b46b2421e5737ed0afbf49182dce9eeb5eb31936
b9eae4459ba192fbb2d4a5b66f8210d57fd7112a
refs/heads/master
2023-09-04T02:34:54.085997
2023-07-13T22:38:44
2023-07-13T22:38:44
197,269,443
1,011
197
BSD-3-Clause
2023-09-08T00:19:52
2019-07-16T21:19:43
Python
UTF-8
Python
false
false
601
py
# Generated by Django 2.2.3 on 2019-10-01 13:53 import django.db.models.deletion from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ("shepherd", "0005_auto_20191001_1352"), ] operations = [ migrations.AlterField( model_name="histo...
[ "chris.maddalena@protonmail.com" ]
chris.maddalena@protonmail.com
66ff3d2259ec3cb33f822b7ceb59fbcf58ef932c
b66528230b76cdd0aaf45897374fb11c8c90ae8e
/Data Structures/linkedLists/unorderedList.py
25a8c6a749a9614c50aa863f2b03f0c4a3b87842
[]
no_license
hemangsk/python-on
284eb1a43b79165a45bdeecd3846c349b5e1db05
43dfcabda0513da77db58e53b4ae97d4d55e5851
refs/heads/master
2020-12-10T05:44:06.513580
2016-10-11T18:05:12
2016-10-11T18:05:12
62,219,758
2
0
null
null
null
null
UTF-8
Python
false
false
1,853
py
class Node: def __init__(self, data): self.data = data self.next = None def setData(self, data): self.data = data def setNext(self, nextItem): self.next = nextItem def getData(self): return self.data def getNext(self): return self.next class Unordered...
[ "hemangsk@gmail.com" ]
hemangsk@gmail.com
c6243f265a5b453fdd6e238c77c2a3c36ca93e06
ca55dcaa64ea9db4068e13091321cfebecc0ff41
/codeUp/codeUpBasic/1754.py
695fad94e922f8aa62a18ef32de90189ac8d2a13
[]
no_license
gomtinQQ/algorithm-python
8fb8343594b945099ae2a4dfa794ecb47e54ab0b
751562922b66e335f621d366bb73dacdc7125140
refs/heads/master
2022-12-07T23:05:44.535593
2020-08-21T12:29:58
2020-08-21T12:29:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
326
py
''' 1754 : 큰 수 비교 우리는 숫자를 int나 long long으로 숫자를 처리하였다. 이번엔 그보다 더 큰 숫자를 비교해보자. 최대 100자리의 두 숫자가 입력되면 작은수와 큰 수를 차례대로 출력하시오. ''' a,b = input().split() a = int(a) b = int(b) print(min(a,b), max(a,b))
[ "minhyeonlee1@gmail.com" ]
minhyeonlee1@gmail.com
7ff4cf80cf2468318455e9871fd86fabe165e2bd
3332232efe497c49a1430c0fa7a6c34f5be26cd8
/pytoggl/model/time_entry.py
95884df94d374847138f3e33ccf862d1edd3aaf2
[ "MIT" ]
permissive
cloew/pytoggl
8d02319c9a5433357af8516a682d11ab334a7fdc
ec559e532559bfeaeb0de7f18831d30ed84f5ff1
refs/heads/master
2016-09-15T15:17:50.586777
2015-09-28T19:28:53
2015-09-28T19:28:53
21,795,028
0
0
null
null
null
null
UTF-8
Python
false
false
894
py
from .actions import Get, Create, Update, Delete, StartTimer, StopTimer from .model import Model from .model_for_api import model_for_api from ..requests import RequestApis from datetime import timedelta from time import time @model_for_api(RequestApis.TimeEntries, created_with="pytoggl") class TimeEntry(Mod...
[ "cloew123@gmail.com" ]
cloew123@gmail.com
f8b8422b458f0859491eeec0d7eb5e45cc68db9f
1e40a99921a4cfc717145844a47729701c149623
/sensor/raspberrypi/sensor_api_old.py
a3e6513b8b9eb63d2bc7e14a307eee50fb2a26ee
[]
no_license
zhulinyu/air_monitor
430eab365f935d5f3e5d53eda992857392e0beeb
4fd403e1b7bfd9c132c2414bc6d64a260cca99ac
refs/heads/master
2020-12-07T18:31:23.561091
2018-05-25T11:42:57
2018-05-25T11:42:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,139
py
# -*- coding:utf-8 -*- import RPi.GPIO as GPIO import serial import smbus _DEBUG_ = False class SENSOR_CONFIG(): serial_0 = serial.Serial("/dev/ttyS0", 2400) A = 1200 address = 0x48 # 元件上的标号是反的,A0应该在A2的位置,另外A3貌似没用 #A0 = 0x40 #A1 = 0x41 #A2 = 0x42 #A3 = 0x43 A0 = 0x00 A1 = 0x...
[ "435878393@qq.com" ]
435878393@qq.com
8d505685aaf5b3208a3869dea05f7321c7423038
60ca69e2a4c6b05e6df44007fd9e4a4ed4425f14
/beginner_contest/162/C.py
96306f94b813ff423029c35ad2ef820e1567fde3
[ "MIT" ]
permissive
FGtatsuro/myatcoder
12a9daafc88efbb60fc0cd8840e594500fc3ee55
25a3123be6a6311e7d1c25394987de3e35575ff4
refs/heads/master
2021-06-13T15:24:07.906742
2021-05-16T11:47:09
2021-05-16T11:47:09
195,441,531
0
0
MIT
2021-05-16T11:47:10
2019-07-05T16:47:58
Python
UTF-8
Python
false
false
678
py
import sys input = sys.stdin.readline sys.setrecursionlimit(10 ** 7) k = int(input()) import functools from fractions import gcd cache = dict() ab = [] for a in range(1, k + 1): for b in range(1, k + 1): i1, i2 = min(a, b), max(a, b) if (i1, i2) in cache: ab.append(cache[(i1, i2)]) ...
[ "204491+FGtatsuro@users.noreply.github.com" ]
204491+FGtatsuro@users.noreply.github.com
707cb0b6a8026e0c8b56dc3a60ff7284f4d775b1
e994be544a0ef66b16d35bde88d6c570429ba253
/run.py
2578eacb60100555ba5314743d1d9c8a8797d01f
[ "Apache-2.0" ]
permissive
buxx/intelligine
9bf4fbc7751179a0115e8dd7781e8bae00489597
8411113b309d758df071468d677efa3645c6e3f2
refs/heads/master
2021-01-19T01:46:44.571401
2016-07-29T19:47:11
2016-07-29T19:47:11
30,380,026
7
2
null
2015-04-15T14:58:01
2015-02-05T21:43:29
Python
UTF-8
Python
false
false
118
py
from synergine.core.Core import Core from config import config if __name__ == '__main__': Core.start_core(config)
[ "sevajol.bastien@gmail.com" ]
sevajol.bastien@gmail.com
08f0e547c552ebdf54e70178d01076aecddfbf1d
7ac3a4b005ae29b6a118a2852fc3356535929b8b
/Predictor/utils.py
acc1c2e06ea05a1715b254d4e26a3cfec09e3f22
[]
no_license
rnaimehaom/De-Novo-Drug-Design
2f68632af7abc6ec6f7c8bb387ca538c1ae52f4f
acd4305c5dfc91a918ff00239c4fd6b1392d1828
refs/heads/main
2023-04-09T06:41:14.658956
2021-04-22T13:01:08
2021-04-22T13:01:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
16,362
py
# -*- coding: utf-8 -*- import csv import numpy as np import math import random import json from sklearn.model_selection import KFold import matplotlib.pyplot as plt from bunch import Bunch import time import os from rdkit import Chem from rdkit.Chem.Scaffolds import MurckoScaffold from rdkit.Chem import A...
[ "noreply@github.com" ]
rnaimehaom.noreply@github.com
cab327867d27bd2c1ac498a67cf41f62cef074c6
421b8bc3d5fc0e89c0ef9154ace8b0ce0420742f
/remote/server/pydevmem.py
2f0871c5e03b69cbf715a02ca42c83eaaa6cf53e
[]
no_license
afcarl/overo_tools
e40b9fbb30469363c5be8b78793941d88ea43792
97750af0b11e6c3a30ae4539cad60accf5034b37
refs/heads/master
2020-03-16T23:25:27.020250
2010-11-20T22:43:34
2010-11-20T22:43:34
133,076,643
1
0
null
2018-05-11T18:46:24
2018-05-11T18:46:24
null
UTF-8
Python
false
false
3,717
py
#!/usr/bin/env python import mmap, os # the gp_timer registers (accessed via /dev/mem) should only be accessed using 16/32 bit read/writes # accessing these registers with 8 bit read/writes can result in corruption of the registers. so... # do not use: mmap.read_byte() (as this uses 8 bit access) # I believe that mma...
[ "graham@rowland.harvard.edu" ]
graham@rowland.harvard.edu
b5d4199d183c08464225da9a576afb207653a47d
45e03dd61493195cbbbce14fa54a787715c7c1fb
/Python_String_Methods/replace().py
6d9ec47ad5f4845b74ea0f23032253e9e4de2428
[]
no_license
VaishnaviReddyGuddeti/Python_programs
c55ee69c05d78a70a44385ee2e66365f69546035
309a1786fa5a3886d516cd49eb09f9cd847389df
refs/heads/master
2023-02-17T03:41:31.480858
2021-01-14T15:39:52
2021-01-14T15:39:52
279,762,059
0
0
null
null
null
null
UTF-8
Python
false
false
486
py
# replace() - Returns a string where a specified value is replaced with a specified value # Replace the word "bananas": txt = "I like toys" x = txt.replace("boll", "cars") print(x) # Replace all occurrence of the word "one": txt = "one one was a race horse, two two was one too." x = txt.replace("one", "three") ...
[ "vaishnavireddyguddeti@gmail.com" ]
vaishnavireddyguddeti@gmail.com
44300de9eb1d82ad0b9655d85edad85b58788d32
a838d4bed14d5df5314000b41f8318c4ebe0974e
/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_application_gateways_operations.py
c266f91aa78c80113d9e21fa658634cdb0e48751
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
scbedd/azure-sdk-for-python
ee7cbd6a8725ddd4a6edfde5f40a2a589808daea
cc8bdfceb23e5ae9f78323edc2a4e66e348bb17a
refs/heads/master
2023-09-01T08:38:56.188954
2021-06-17T22:52:28
2021-06-17T22:52:28
159,568,218
2
0
MIT
2019-08-11T21:16:01
2018-11-28T21:34:49
Python
UTF-8
Python
false
false
70,290
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
scbedd.noreply@github.com
f279d2085b33e31508d6b473436a6214de358a81
e23a4f57ce5474d468258e5e63b9e23fb6011188
/110_concurrency_parallelism/_exercises/templates/The_Complete_Python_Course_l_Learn_Python_by_Doing/projects/async_scraping/samples/4_a_note_on_https.py
ad09779aa0ea277828f462e2021a647453273067
[]
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
2,646
py
""" Running this file may fail with an error like this one: ---- ... File "...lib/python3.7/site-packages/aiohttp/connector.py", line 803, in _wrap_create_connection req.connection_key, exc) from exc aiohttp.client_exceptions.ClientConnectorCertificateError: Cannot connect to host www.johnlewis.com:443 ssl:True ...
[ "sergejyurskyj@yahoo.com" ]
sergejyurskyj@yahoo.com
391333678c9592ce5a987f7bad0dece53db7381c
b4dd5a4ad3ffa6fcafc0ab6ccb3ad2ff299a9433
/server/tests/test_views.py
08666257e9e10a285d41be81ec9d9a19f408a4ae
[ "BSD-3-Clause" ]
permissive
raspberrywhite/raspberrywhite
a80567e8d04cab704acb7490da5e07ee3bef6953
bb0ce2766448e192e08c8e36c1a4580edb5e7d15
refs/heads/master
2021-01-10T19:03:51.436515
2015-11-15T11:27:08
2015-11-15T11:27:08
21,370,744
2
0
null
2015-11-15T11:27:09
2014-07-01T00:54:08
Python
UTF-8
Python
false
false
3,820
py
from django.contrib.auth.models import User as AuthUser from django.core.urlresolvers import resolve from django.http import HttpRequest from django.template.loader import render_to_string from django.test import TestCase from django.utils.html import escape import json from mock import patch from server.models import...
[ "stagi.andrea@gmail.com" ]
stagi.andrea@gmail.com
725723a905fd1b32b62857e82402c4654e62e593
9b722ca41671eb2cea19bac5126d0920639261bd
/.history/app_20201124103201.py
15f19bc7d6f87c944e4dece6e78495f0d66cff6c
[]
no_license
thawalk/db_flask_server
7928fd481f99d30bdccc60d97f02db78324cfdbe
cd55f1c9bf84c734457ee02d9f64a6833e295fad
refs/heads/master
2023-01-25T02:40:19.097457
2020-12-06T07:45:50
2020-12-06T07:45:50
314,229,480
0
0
null
null
null
null
UTF-8
Python
false
false
4,058
py
import json from flask import Flask, jsonify, url_for, request, redirect,Response,Request # from flask_pymongo import PyMongo import pymongo from bson.json_util import dumps import mysql.connector from werkzeug.serving import run_simple import os from dotenv import load_dotenv import datetime import time app = Flask(_...
[ "akmal_hakim_teo@hotmail.com" ]
akmal_hakim_teo@hotmail.com
772dcebb869c7a07d0eae55e23e621a234d87ff9
a4899baa1e607f82f69aa563c014bf19c5c42736
/stubs/esp32_LoBo_3_2_9/tpcalib.py
c0ee33f75599a83c4a334343a16bdae563a74d9e
[ "MIT", "Apache-2.0", "LicenseRef-scancode-public-domain" ]
permissive
jmannau/micropython-stubber
e9afe1ee93d4b33fc7cfaaa9702cbeb6da2d3360
8930e8a0038192fd259b31a193d1da3b2501256a
refs/heads/master
2020-08-07T15:38:00.405036
2019-09-02T07:25:23
2019-09-02T07:25:23
213,509,822
0
0
NOASSERTION
2019-10-08T00:06:05
2019-10-08T00:06:05
null
UTF-8
Python
false
false
474
py
""" Module: 'tpcalib' on esp32_LoBo 3.2.9 """ # MCU: (sysname='esp32_LoBo', nodename='esp32_LoBo', release='3.2.9', version='ESP32_LoBo_v3.2.9 on 2018-04-12', machine='ESP32 board with ESP32') # Stubber: 1.1.2 class Calibrate: '' def calibError(): pass def calibrate(): pass def drawCr...
[ "jos_verlinde@hotmail.com" ]
jos_verlinde@hotmail.com
29040a7435859245580327c5cbfa9f3902034753
7f0a5291ea25e3466ced4c69260d607cbac51948
/05_Heapsort.py
03718447db4032f46b33f1052dd5e973b9544c75
[]
no_license
HarshCic/data_structures_and_algorithms_with_python
9bc5708e0cf17610a3c5baccb6da1b5a96736f2c
d669e079f6bf078c4a94cbec66792bdd79c77888
refs/heads/master
2020-04-22T00:32:14.386829
2018-10-30T14:32:55
2018-10-30T14:32:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,838
py
""" ################################################################# ########################## Heap Sort ########################### ################################################################# """ def parent(i_index): return i_index // 2 def left_child(i_index): return 2 * i_index def right_child(i_...
[ "asadullah.itcgcs@gmail.com" ]
asadullah.itcgcs@gmail.com
a61109f0769b61557e47f7a161a491cbf844eb28
53784d3746eccb6d8fca540be9087a12f3713d1c
/res/packages/scripts/scripts/common/quest_xml_source.py
e14241134185384656831994a6ec197d5fcf115f
[]
no_license
webiumsk/WOT-0.9.17.1-CT
736666d53cbd0da6745b970e90a8bac6ea80813d
d7c3cf340ae40318933e7205bf9a17c7e53bac52
refs/heads/master
2021-01-09T06:00:33.898009
2017-02-03T21:40:17
2017-02-03T21:40:17
80,870,824
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
29,478
py
# 2017.02.03 21:55:06 Střední Evropa (běžný čas) # Embedded file name: scripts/common/quest_xml_source.py from copy import deepcopy from pprint import pformat import time import ResMgr import nations import ArenaType import battle_results_shared from debug_utils import LOG_DEBUG from dossiers2.custom.layouts import acc...
[ "info@webium.sk" ]
info@webium.sk
2f4d7e1d15bbd6c43289c3127c7ba22c0de7ea7a
4930536ac47a3f2544b44899659c68a49a3e5f06
/helpscout_api/client.py
3075fbe59a161aa16bbbb43b5c0c025b4c818122
[ "MIT" ]
permissive
bufferapp/helpscout-api
45eab645db772328f78f0cdbd9ab1dedaa9d50f6
0d6a09982aa684f8834990fdb4d3e2ceae6fa2ae
refs/heads/master
2021-09-15T04:29:30.868954
2018-05-25T21:20:15
2018-05-25T21:20:15
89,756,528
0
0
null
null
null
null
UTF-8
Python
false
false
4,013
py
import os import requests from requests.auth import HTTPBasicAuth import urllib.parse import tortilla from tortilla import Wrap from tortilla.wrappers import Client import pandas as pd from datetime import datetime from datetime import date from datetime import timedelta import pytz from pytz import timezone HELPSCOU...
[ "michaelerasmus@gmail.com" ]
michaelerasmus@gmail.com
b2c8f77e5524faff449321a1c01ae2c6aa811dc1
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_118/2991.py
7a92f8765c8d2f9d36ae2ad0091492bc04a229d3
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
725
py
import sys input_file = open(sys.argv[1], 'r') file_lines = map(str.strip, input_file.readlines()) T = int(file_lines[0]) def reverse_int(n): return int(str(n)[::-1]) def is_palindrome(n): return n == reverse_int(n) global_max = 0 dict = {} def update_dict(max): for i in range(global_max,max): ...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
3d6593112e79df94651dd2a2ca0c08738eb1df00
8ae0b37c3913fb344c1c2bb161b0a8b346e2f298
/test/test_Q034_SearchForARange.py
c8c8f3140ac73922aea586ce2c15315504294382
[]
no_license
jiaz/leetpy
76330a0e4f234bface88b3a6a5476cd24d7776ea
94e8b0c2ebbf593dbca1b253e08c588f27679bd3
refs/heads/master
2021-01-10T09:07:45.549361
2015-11-26T06:44:50
2015-11-26T06:44:50
46,908,974
0
0
null
null
null
null
UTF-8
Python
false
false
152
py
from leetcode.Q034_SearchForARange import Solution from test_runner import run def test_Q034_SearchForARange(): s = Solution() run(s, 'Q034')
[ "jiaji.zh@gmail.com" ]
jiaji.zh@gmail.com
245d88c835ef29250c6a6736d43db48381603cdf
ff1137a7d8f9c01632cf757495e065ec5e3817a2
/术业专攻/上证指数/从网易财经爬取上证指数本地存储.py
0b19336524572bca9d4ecbd3daa2f7c02c731f3b
[]
no_license
yuqiuming2000/Python-code
3d5e5d8ba5c5f477b4cfab67b0d63d838eefc591
b16a6c425d4bf400df6b365d091f56bc8c5c4d34
refs/heads/master
2023-06-22T04:22:25.991172
2021-07-24T13:49:38
2021-07-24T13:49:38
389,100,344
0
0
null
null
null
null
UTF-8
Python
false
false
1,727
py
from selenium import webdriver from lxml import etree import time import requests import xlrd,xlwt def GetPrice(out_time,row): while 1: #获取当前页面源码 html=browser.page_source #解析数据 html_ele = etree.HTML(html) price = html_ele.xpath('/html/body/div[2]/div[1]/div[3]/table/tbody/t...
[ "76746694@qq.com" ]
76746694@qq.com
b14898a38e9d8ffefe6bfd1d538968c817d1412b
a605685fe22d248d8dc819b350de1b2c2c389ad4
/Conditions and Loops/divisibleBy5.py
8be0819787bb9393276a76ea7d4c41cc5098a75c
[]
no_license
nishantchaudhary12/w3resource_solutions_python
3b795ff5fe0bca8b78d1051e5055d6cfce4ee603
6f5b54b065f185f262be5ec37f258d5e5d6a0efd
refs/heads/master
2020-04-28T08:32:30.080815
2019-09-13T04:24:23
2019-09-13T04:24:23
175,131,674
0
0
null
null
null
null
UTF-8
Python
false
false
799
py
#Write a Python program which accepts a sequence of comma separated 4 digit binary numbers as its input and # print the numbers that are divisible by 5 in a comma separated sequence. def divisibleByFive(sample_data): result = list() for each in sample_data: num = int(each[0]) * (2 ** 3) + int(each[1])...
[ "chaudharynishant025@gmail.com" ]
chaudharynishant025@gmail.com
d6ef2f8c99242a59e39c30e2731127c51bade569
85a9ffeccb64f6159adbd164ff98edf4ac315e33
/pysnmp-with-texts/Pulizzi.py
8c099e4bd40e45fda89d7b92c8f010d8f86dde69
[ "Apache-2.0", "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-proprietary-license", "LicenseRef-scancode-unknown-license-reference" ]
permissive
agustinhenze/mibs.snmplabs.com
5d7d5d4da84424c5f5a1ed2752f5043ae00019fb
1fc5c07860542b89212f4c8ab807057d9a9206c7
refs/heads/master
2020-12-26T12:41:41.132395
2019-08-16T15:51:41
2019-08-16T15:53:57
237,512,469
0
0
Apache-2.0
2020-01-31T20:41:36
2020-01-31T20:41:35
null
UTF-8
Python
false
false
26,818
py
# # PySNMP MIB module Pulizzi (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/Pulizzi # Produced by pysmi-0.3.4 at Wed May 1 14:43:15 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15)...
[ "dcwangmit01@gmail.com" ]
dcwangmit01@gmail.com
023d725a7baf4d59467a40931918ee22c01412db
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_328/ch150_2020_04_13_19_18_54_535179.py
83420727aafffc00d13e755b31e3c23a657ccadb
[]
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
87
py
import math def calcula_pi(n): d= 1 math.pi= math.sqrt(6/(d**2) + 6/((d+1)**2)
[ "you@example.com" ]
you@example.com
3c5fe5ca6f4b63a873027c94bfcc6a1074a879a0
cdbaec17aa8411a1455b42520154cc9f30da3550
/Leetcode 6/reverse_k_group.py
26ae64cfee99b2f0a8e093c132bfad30d0dfd16b
[]
no_license
PiyushChaturvedii/My-Leetcode-Solutions-Python-
bad986978a7e72a3fda59b652cda79802377ab2f
86138195f6f343f0acc97da286f4f4811a0d0e48
refs/heads/master
2021-10-09T20:19:11.186191
2019-01-03T05:15:33
2019-01-03T05:15:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,366
py
# Definition for singly-linked list. class ListNode(object): def __init__(self, x): self.val = x self.next = None class Solution(object): def reverseKGroup(self, head, k): """ :type head: ListNode :type k: int :rtype: ListNode """ def...
[ "noreply@github.com" ]
PiyushChaturvedii.noreply@github.com
9432631e2e452347a4cbd3abb8a13cfb2c8cb5cf
1799fe1d9dfcf5f9619a87a11f3fa6170e1864fc
/00033/test_search_in_rotated_sorted_array.py
5c48248d219a664b0c94b833fe7bc632a669d242
[]
no_license
SinCatGit/leetcode
5e52b49324d16a96de1ba4804e3d17569377e804
399e40e15cd64781a3cea295bf29467d2284d2ae
refs/heads/master
2021-07-05T18:51:46.018138
2020-04-25T04:06:48
2020-04-25T04:06:48
234,226,791
1
1
null
2021-04-20T19:17:43
2020-01-16T03:27:08
Python
UTF-8
Python
false
false
735
py
import unittest from search_in_rotated_sorted_array import Solution class TestSolution(unittest.TestCase): def test_Calculate_Solution(self): sol = Solution() self.assertEqual(4, sol.search( [4, 5, 6, 7, 0, 1, 2], 0 )) self.assertEqual(-1, sol.search( [4, 5,...
[ "sincat@126.com" ]
sincat@126.com
080215c82ef9f242806992be483cf70dfef858ff
3612ca41ddf34d61a5e44f06bda59684eab2359a
/pbf_salesforce/Commands/salesforce_save.py
d9f952c4861d2e12a38032c5a29adc6f201ea22f
[]
no_license
cloew/SalesforcePBF
30c06e6390e27fa5faa903de5b8025b9188ac9ac
20bd7aeb4938f66c22a33fece1cc24f606cd5e72
refs/heads/master
2021-01-20T20:57:11.373595
2014-07-20T05:19:37
2014-07-20T05:19:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,128
py
from pbf.Commands import command_manager from pbf_salesforce.helpers.salesforce_connector import SalesforceConnector class SalesforceSave: """ Command to Save a Salesforce file """ category = "salesforce" command = "save" description = "Saves provided salesforce files to the server" d...
[ "cloew123@gmail.com" ]
cloew123@gmail.com
c6e475eab3e48310c24f378e91921b22559ed3d0
380dfac9b68ef8663db5a9d1b30fc75636dec3d3
/billforward/models/add_coupon_code_request.py
59746724c8eefc45ac19614882b6fdf35bffa785
[ "Apache-2.0" ]
permissive
billforward/bf-python
d2f549e0c465d0dc78152b54413cac4216025a64
d2b812329ca3ed1fd94364d7f46f69ad74665596
refs/heads/master
2021-12-13T22:10:16.658546
2018-06-19T14:44:45
2018-06-19T14:44:45
63,268,011
2
1
Apache-2.0
2021-12-06T12:59:41
2016-07-13T17:57:37
Python
UTF-8
Python
false
false
6,154
py
# coding: utf-8 """ BillForward REST API OpenAPI spec version: 1.0.0 Generated by: https://github.com/swagger-api/swagger-codegen.git 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...
[ "alexander.birch@billforward.net" ]
alexander.birch@billforward.net
30056058ee0f097efbe76dde9209c9bd8f2d4ac6
8c37b5363ff77a10e9c54204bc88b1c9861cdee6
/torch/jit/_builtins.py
46aa99c07025ae441313c804ba2155a4c3627e7c
[ "BSD-2-Clause", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "Apache-2.0" ]
permissive
gchanan/pytorch
50bf0843388c5ce3a818cf79688cf319b2262b15
0d03e73ae73aa6964ef72f848a77d27afeacf329
refs/heads/master
2021-07-02T16:20:50.304428
2019-12-26T20:52:21
2019-12-26T20:52:21
88,906,627
9
1
NOASSERTION
2019-12-26T20:52:23
2017-04-20T20:14:16
Python
UTF-8
Python
false
false
4,124
py
import math import warnings import torch import torch.backends.cudnn as cudnn from torch._six import PY2, PY37 from ..nn.modules.utils import _single, _pair, _triple, _quadruple, \ _list_with_default from collections import OrderedDict _builtin_table = None _modules_containing_builtins = (torch, torch._C._nn)...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
345571058fe6ad9cac37abf923a816a63e5c7a33
5f3c8eddb8c5a14fb3b5931f332d401207666036
/src/devices/esp8266-nodetest/main.py
db27a9bbb4878e89b0cdefea64d460c50ed07267
[ "Apache-2.0" ]
permissive
hwinther/lanot
dec8fe48efb6245af009bedf65b2bc089e92efa0
f6700cacb3946535081624467b746fdfd38e021d
refs/heads/master
2021-03-24T12:02:47.530833
2019-05-01T11:56:05
2019-05-01T11:56:05
91,605,521
0
0
null
null
null
null
UTF-8
Python
false
false
960
py
import nodetest import machine import prometheus.server.multiserver import prometheus.server.socketserver.jsonrest import prometheus.server.localevents import prometheus.logging as logging import gc gc.collect() node = nodetest.NodeTest() gc.collect() multiserver = prometheus.server.multiserver.MultiServer() gc.colle...
[ "hc@wsh.no" ]
hc@wsh.no
049fdb0d9b2f3259b9a2697c8757b968d210029f
4cf3f8845d64ed31737bd7795581753c6e682922
/.history/main_20200118153948.py
8ece436e51a485add318af250b67d4dade60d9e6
[]
no_license
rtshkmr/hack-roll
9bc75175eb9746b79ff0dfa9307b32cfd1417029
3ea480a8bf6d0067155b279740b4edc1673f406d
refs/heads/master
2021-12-23T12:26:56.642705
2020-01-19T04:26:39
2020-01-19T04:26:39
234,702,684
1
0
null
2021-12-13T20:30:54
2020-01-18T08:12:52
Python
UTF-8
Python
false
false
621,595
py
from telegram.ext import Updater, CommandHandler import requests import re # API call to source, get json (url is obtained): contents = requests.get('https://random.dog/woof.json').json() image_url = contents['url'] def get_url(): contents = requests.get('https://random.dog/woof.json').json() url = cont...
[ "ritesh@emerald.pink" ]
ritesh@emerald.pink
71ad07cdc88070bb8386165819c20834a61fb651
87ef4417475eba17416e6c93b79e1af28af29402
/docs/tutorial_processing_chain-7.py
a7f21c95f4060514929c32d228134dc60956bc03
[ "MIT" ]
permissive
gertdekkers/dcase_util
e4bf300efd65d10f1da7ff9f1834dbaecf3c01d3
e5b80cc98b28facad2f3fff9acba126487b19879
refs/heads/master
2020-04-09T18:13:22.535971
2018-12-05T11:05:03
2018-12-05T11:05:03
160,505,284
0
0
MIT
2018-12-05T11:02:17
2018-12-05T11:02:17
null
UTF-8
Python
false
false
822
py
import dcase_util import tempfile tmp = tempfile.NamedTemporaryFile('r+', suffix='.txt', delete=False) dcase_util.utils.Example.event_metadata_container().save(filename=tmp.name) # Define processing chain chain = dcase_util.processors.ProcessingChain([ { 'processor_name': 'dcase_util.processors.MetadataRea...
[ "toni.heittola@gmail.com" ]
toni.heittola@gmail.com
400e9e69d471487d8a6ff365752ab2e5fb2b979e
cd23b0457bc02a60b89f1f52783e56cc36d85b5e
/gevent_lab/monkey_patching.py
c097d9fbbf61f6e4cbd81ee7e3471eb4f67a5e94
[]
no_license
cluo/learingPython
65c7068613e1a2ae0178e23770503043d9278c45
54609288e489047d4dd1dead5ac142f490905f0e
refs/heads/master
2020-04-01T13:04:15.981758
2015-02-23T13:21:31
2015-02-23T13:21:31
28,440,969
4
0
null
null
null
null
UTF-8
Python
false
false
411
py
import socket print(socket.socket) print("After monkey patch") from gevent import monkey monkey.patch_socket() print(socket.socket) import select print(select.select) monkey.patch_select() print("After monkey patch") print(select.select) # <class 'socket._socketobject'> # After monkey patch # <class 'gevent.socket.so...
[ "luosheng@meizu.com" ]
luosheng@meizu.com
b915f64d3e054fbd58f06368adc2ed117a78ebc8
593132164b6992b8b047cdf43a9d04c59fe607ee
/py_simple/9.形态学处理/9.4closing.py
18f728121b478ca6b6fcefc35f31dffac9228345
[ "Apache-2.0" ]
permissive
ztfmars/OpenCV_Python_Tutorial
b69b98e5e6b4e31c4f699fdbbaac36db68b8098b
2c9cf57f469dfec2aca8356f59f7473e5a506988
refs/heads/main
2023-02-14T22:40:38.456751
2021-01-17T02:18:21
2021-01-17T02:18:21
329,609,724
1
0
null
null
null
null
UTF-8
Python
false
false
263
py
# -*- coding: utf-8 -*- import cv2 import numpy as np o=cv2.imread("image\\closing.bmp",cv2.IMREAD_UNCHANGED) k=np.ones((5,5),np.uint8) r=cv2.morphologyEx(o,cv2.MORPH_CLOSE,k) cv2.imshow("original",o) cv2.imshow("result",r) cv2.waitKey() cv2.destroyAllWindows()
[ "ztfmars@163.com" ]
ztfmars@163.com
30472fda211b3e689fd580bb0422353a4941501e
46e68298b98f2d05b9cb4f9cce38d19aef3ac358
/python/longest_substring_without_repeating_characters.py
209eb056c1ef9b9079955a6187eb0a6614d24398
[]
no_license
hitigon/leetcode-template
fe99d5a1c9c5ffbfe0efbd3239ad937719a775f3
bcf44642e099763bcd7b7828cd7d9f7b044c52c4
refs/heads/master
2021-01-22T06:28:10.235865
2014-09-21T22:09:32
2014-09-21T22:09:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
445
py
# coding=utf-8 # AC Rate: 22.3% # https://oj.leetcode.com/problems/longest-substring-without-repeating-characters/ # Given a string, find the length of the longest substring without repeating # characters. For example, the longest substring without repeating letters for # "abcabcbb" is "abc", which the length is 3. Fo...
[ "xinzhou918@gmail.com" ]
xinzhou918@gmail.com
90c48a1483959294c3339bb64afee652922f73ae
1b2e8101f75215660df47946d3139ce80d730325
/multithreading/threading_demo2.py
9f92e4cb7376a3b95a58ba3309df3e9f329be95d
[]
no_license
codyowl/python-training
a6d9f6c3f4386118ea573d273ed47eebc26ab6a1
aa01d05d902f60ad491c1a89f2609988cc8df357
refs/heads/master
2021-04-30T11:16:24.862971
2018-03-25T06:42:08
2018-03-25T06:42:08
121,350,844
1
0
null
null
null
null
UTF-8
Python
false
false
814
py
import time import threading def squarer(range_number): print "executing first function" for i in range_number: time.sleep(0.2) print "first function executed" print i * i def cuber(range_number): print "executing second function" for i in range_number: time.sleep(0.2) ...
[ "codyowl@gmail.com" ]
codyowl@gmail.com
5adef495afd029d18aa9ceb357a9eff76567780b
29da2ca6def1270be13a3096685a8e5d82828dff
/CIM15/CDPSM/Asset/IEC61968/AssetModels/WireType.py
bcf59b5ea9bb638739531434adee70580087cd8c
[ "MIT" ]
permissive
rimbendhaou/PyCIM
75eb3bcd3729b2410c03f3d5c66d6f1e05e21df3
d578bb0bf1af344342bd23344385ed9c06c2d0ee
refs/heads/master
2022-04-28T01:16:12.673867
2020-04-16T02:19:09
2020-04-16T02:19:09
256,085,381
0
0
MIT
2020-04-16T02:15:20
2020-04-16T02:08:14
null
UTF-8
Python
false
false
5,786
py
# Copyright (C) 2010-2011 Richard Lincoln # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to # deal in the Software without restriction, including without limitation the # rights to use, copy, modify, merge, publish...
[ "rwl@thinker.cable.virginmedia.net" ]
rwl@thinker.cable.virginmedia.net
eb40be16fc76fe629bafe4c95f9c0c5e7211358f
85f0b6750ae22c9a5b470ab8608370392f0286a2
/test/jit/test_dtype_analysis.py
0e4a496ee244e2d6cb7472d8bc69fd43b844f806
[ "BSD-2-Clause", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "BSL-1.0", "Apache-2.0" ]
permissive
zsef123/pytorch
75dfcf72d5bb50822cf7b41efbaaa9a7af40546a
9266b2af73311792a746a2f741cc13145b3701df
refs/heads/master
2022-03-12T23:30:55.540625
2021-12-29T12:05:35
2021-12-29T12:06:52
252,765,637
0
0
NOASSERTION
2020-04-03T15:06:28
2020-04-03T15:06:28
null
UTF-8
Python
false
false
13,495
py
from itertools import product from typing import Tuple from unittest.case import expectedFailure import torch from torch import complex32, float32, float64, int32, int64 from torch.testing._internal.common_methods_invocations import ( SampleInput, sample_inputs_adaptive_avg_pool2d, sample_inputs_conv2d, ) ...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
e620244b25282fdb8b8bd5212c5a2388e30d4e51
e4b9f220d78752d8a981fee424029af81d33fd97
/bundestagger/account/auth.py
c7dc1f7b77bf4deb3ae9e165f35a6dd92661c9f2
[ "MIT", "BSD-3-Clause" ]
permissive
stefanw/Bundestagger
8c7f4114da86a496f73d573ebb398089c9f86730
14787cf18622d0330a94696981bd28eaa8ba0f3a
refs/heads/master
2021-01-19T13:24:32.742700
2010-07-21T21:08:48
2010-07-21T21:08:48
588,293
3
0
null
null
null
null
UTF-8
Python
false
false
1,098
py
from django.core.exceptions import PermissionDenied from bundestagger.account.models import User def get_user(request): if "bundesuser" in request.session: return request.session["bundesuser"] return None def login(request, openid): try: user = User.objects.get(openid=openid) except Us...
[ "mail@stefanwehrmeyer.com" ]
mail@stefanwehrmeyer.com
8b6e304937286cbd48dd94afbc1dfcca33543918
d9c95cd0efad0788bf17672f6a4ec3b29cfd2e86
/disturbance/migrations/0049_merge_20200519_1725.py
7cf0729a6cb72a60be821d3ef5de19151d9fe4df
[ "Apache-2.0" ]
permissive
Djandwich/disturbance
cb1d25701b23414cd91e3ac5b0207618cd03a7e5
b1ba1404b9ca7c941891ea42c00b9ff9bcc41237
refs/heads/master
2023-05-05T19:52:36.124923
2021-06-03T06:37:53
2021-06-03T06:37:53
259,816,629
1
1
NOASSERTION
2021-06-03T09:46:46
2020-04-29T03:39:33
Python
UTF-8
Python
false
false
346
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.8 on 2020-05-19 09:25 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('disturbance', '0048_auto_20200519_1605'), ('disturbance', '0046_auto_20200519_1657'), ] ...
[ "brendan.blackford@dbca.wa.gov.au" ]
brendan.blackford@dbca.wa.gov.au
88be350b1cc3b2dd76cfaa9092e6d454e2c829db
7f4fb112bc9ab2b90f5f2248f43285ce9ac2e0a0
/src/igem/neutronics/water/bare/water-backfill/50wt/plot_all.in.one_cask.thickness_dose.rate_t4045_south.py
a5ef21a4525cfefe4376d5c1fad37e3776adb498
[]
no_license
TheDoctorRAB/plot
dd3b5134c91c8fa7032fcc077c5427b26a80e49d
ed6746d511222c03e79f93548fe3ecd4286bf7b1
refs/heads/master
2021-07-11T10:21:19.347531
2020-07-16T17:13:15
2020-07-16T17:13:15
20,462,189
0
0
null
null
null
null
UTF-8
Python
false
false
6,114
py
######################################################################## # R.A.Borrelli # @TheDoctorRAB # rev.11.March.2015 ######################################################################## # # Plot routine # All in one file, with no separate control input, lib files # Plot data is contained in a separate data f...
[ "borrelli@localhost.localdomain" ]
borrelli@localhost.localdomain