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
864caf90e1baee8f519c896c8212eb0d3e3e2ae8
3c000380cbb7e8deb6abf9c6f3e29e8e89784830
/venv/Lib/site-packages/cobra/modelimpl/cloud/rsctxprofiletoregion.py
f5884b03f3bd5c4ccb68561a4aa42a56060d1fcf
[]
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
9,817
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
6d18cbe38eee616d5462100561105c64e781a985
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02959/s005038203.py
72072b6b09a863006aae80c7da70edb873d1591c
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
243
py
n = int(input()) a = [int(i) for i in input().split()] b = [int(i) for i in input().split()] cnt = 0 for i in range(n): dm = min(a[i], b[i]) b[i] -= dm; cnt += dm dmn = min(a[i + 1], b[i]) a[i + 1] -= dmn; cnt += dmn print(cnt)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
2045f838ced5cbb44e3acff6b5588a986d821932
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2153/60634/269290.py
4a9e1e2f2528705a00fe22bb4edfda1efd0a27a3
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
276
py
def over(num): result = 0 while num > 0: result *= 10 result += num%10 num = int(num/10) return result num = int(input()) if num < 10 and num >= 0: print(num) elif num < 0: print(-1*over(-1*num)) else: print(over(num))
[ "1069583789@qq.com" ]
1069583789@qq.com
e97e2648f03a2b000541078198a7bd237e410cbf
780b6cca690a213ac908b1cd5faef5366a18dc4e
/314_print_names_to_columns/save3_nopass.py
9877032426300f773ec84c56b3d2a2c1653a6085
[]
no_license
katkaypettitt/pybites-all
899180a588e460b343c00529c6a742527e4ea1bc
391c07ecac0d92d5dc7c537bcf92eb6c1fdda896
refs/heads/main
2023-08-22T16:33:11.171732
2021-10-24T17:29:44
2021-10-24T17:29:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
331
py
from typing import List # not needed when we upgrade to 3.9 def print_names_to_columns(names: List[str], cols: int = 2) -> None: name_list = [f'| {name:{10}}' for name in names] output = '' for i in range(0, len(name_list), cols): output += ' '.join(name_list[i: i + cols]) + '\n' prin...
[ "70788275+katrinaalaimo@users.noreply.github.com" ]
70788275+katrinaalaimo@users.noreply.github.com
961463af7f72a271cabbeb12200888b42613eece
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02820/s467587633.py
fa3163e453745247ba7d8f8b2cd48d58de4cc18e
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
750
py
n,k=map(int,input().split()) R,S,P=map(int,input().split()) T=input() t="" count=0 for i in range(n): if i>k-1: if T[i]=="r": if t[i-k]!="p": t=t+"p" count+=P else: t=t+" " if T[i]=="s": if t[i-k]!="r": ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
320588077a9f70d6444751783bb3c54e23696683
62e58c051128baef9452e7e0eb0b5a83367add26
/x12/4051/826004051.py
c80b8f5999f99f8b050d0f6bd2743ff2c9af953f
[]
no_license
dougvanhorn/bots-grammars
2eb6c0a6b5231c14a6faf194b932aa614809076c
09db18d9d9bd9d92cefbf00f1c0de1c590fe3d0d
refs/heads/master
2021-05-16T12:55:58.022904
2019-05-17T15:22:23
2019-05-17T15:22:23
105,274,633
0
0
null
2017-09-29T13:21:21
2017-09-29T13:21:21
null
UTF-8
Python
false
false
1,776
py
from bots.botsconfig import * from records004051 import recorddefs syntax = { 'version' : '00403', #version of ISA to send 'functionalgroup' : 'TI', } structure = [ {ID: 'ST', MIN: 1, MAX: 1, LEVEL: [ {ID: 'BTI', MIN: 1, MAX: 1}, {ID: 'DTM', MIN: 0, MAX: 99999}, ...
[ "jason.capriotti@gmail.com" ]
jason.capriotti@gmail.com
b4d71cbd9222d51470dd154f85cbec6495bd4db4
52b5773617a1b972a905de4d692540d26ff74926
/.history/prefixSums_20200729113651.py
f9d6c16ff0f9dc4d781e07a32e438e70210e2a34
[]
no_license
MaryanneNjeri/pythonModules
56f54bf098ae58ea069bf33f11ae94fa8eedcabc
f4e56b1e4dda2349267af634a46f6b9df6686020
refs/heads/master
2022-12-16T02:59:19.896129
2020-09-11T12:05:22
2020-09-11T12:05:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
89
py
def prefix(A): n = len(A) p = [0] * (n+1) for k in range(1,n+1): p[k]
[ "mary.jereh@gmail.com" ]
mary.jereh@gmail.com
e5ea9b1ddf5e93da6d0a8e8a1c2d4abac86bd9bf
441b37974ac5f999001a773caa3fbf7584f82cc8
/Walmart Trip Type Classification/walmart_cv.py
208e036fd9d80b50bb13c7b6c0a95cddc512663d
[]
no_license
lvraikkonen/Kaggle
bcdb653c774c211ae9e5a35fdacdb1205e81bebe
dbeac80d645619dc519819d4ed2c45f383dd1206
refs/heads/master
2021-01-23T03:33:17.804886
2016-09-03T11:51:11
2016-09-03T11:51:11
24,451,963
2
1
null
null
null
null
UTF-8
Python
false
false
2,327
py
# -*- coding: utf-8 -*- import numpy as np import xgboost as xgb from sklearn.metrics import log_loss from hyperopt import fmin, tpe, hp, STATUS_OK # These functions define the metric which we are trying to # optimize. def objective1(params): print "Training model1 with parameters: " print params watch...
[ "claus.lv@hotmail.com" ]
claus.lv@hotmail.com
4fdf5b55ca8b34dbe7b97e293d8dace35dd2c25c
ce13eba2d3d1e7267b44cd322d309c0e1f3e6785
/pb_file_generation.py
26d7bf10581c85f22b12aec9ff2e341b9465e57b
[]
no_license
parthnatekar/Brain-tumor-segmentation
fdfc9ba41d410a3618947c0b6d784ff013ded4a7
88aecfea58bf551457c2c8622cc23e74e48db7e7
refs/heads/master
2022-02-22T03:31:28.981931
2019-08-30T06:53:16
2019-08-30T06:53:16
192,159,231
1
0
null
null
null
null
UTF-8
Python
false
false
3,089
py
import tensorflow as tf import keras.backend as K resnet_model_path = 'trained_models/U_resnet/ResUnet.h5' resnet_weights_path = 'trained_models/U_resnet/ResUnet.15_0.491.hdf5' resnet_pb_path = 'trained_models/U_resnet/resnet.pb' sunet_model_path = 'trained_models/SimUnet/FCN.h5' sunet_weights_path = 'trained_models...
[ "koriavinash1@gmail.com" ]
koriavinash1@gmail.com
2e83ec6d1e2949ecaaf7d1bb3de03ea892f66966
1c6e5c808c1a3e6242e40b15ae711574e670c3b6
/food_management/views/update_meal_schedule/request_response_mocks.py
c10259d419f9263a235901ef89852547ecc07f81
[]
no_license
KatakamVedaVandhana/smart_food_management-vandhana
dbe195994c110471d0ae7a5a53adef1441e86466
19e410a2aa792b22889a2dfed599312ba6b5a7ad
refs/heads/master
2023-07-09T05:43:17.491313
2020-06-15T06:44:00
2020-06-15T06:44:00
269,609,923
0
0
null
null
null
null
UTF-8
Python
false
false
226
py
REQUEST_BODY_JSON = """ { "meal_type": "Breakfast", "date": "string", "items_list": [ { "item_id": 1, "meal_course": "Half-meal", "quantity": 1 } ] } """
[ "vandhanakatakam@gmail.com" ]
vandhanakatakam@gmail.com
3dcf93313868e6a333acf59112cec9cc100db628
20db5a27f2a8b2d324085f5e1ec6c46ad7c1e8c3
/djangoMovie/wsgi.py
bd36ec73a578e75dac2e61871a123692e83408c3
[]
no_license
mortadagzar/djangoMovie
dae326fc83a31e485792b1ee42fa89b7d681049d
e83904c0c1ecc45992eed7516cb483bd2c97590b
refs/heads/master
2020-04-01T22:32:28.246877
2018-10-19T02:41:22
2018-10-19T02:41:22
153,713,907
0
0
null
null
null
null
UTF-8
Python
false
false
399
py
""" WSGI config for djangoMovie 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/2.1/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_S...
[ "mortadagzar@gmail.com" ]
mortadagzar@gmail.com
016f142fbb09daf43f5feeb03bd08f1a32783e55
478071aed3612b8eefb5dc521b8fe18f95eaffdd
/Existing paper reading/model/GATA.py
105813c869a5edc310f98773b833ce8591293d86
[ "MIT" ]
permissive
leiloong/PaperRobot
f913918671d758ae7e9d4098fe42cad19fbbbc6d
070972dc1548571c28d89d2c54fb379e87d172c7
refs/heads/master
2020-05-30T11:39:11.814416
2019-07-18T08:25:00
2019-07-18T08:25:00
189,710,771
0
0
MIT
2019-07-18T08:25:01
2019-06-01T08:47:51
Python
UTF-8
Python
false
false
1,782
py
# --------- Link Prediction Model with both TAT and GAT contained ----------- import torch.nn as nn import torch from .GAT import GAT from .TAT import TAT class GATA(nn.Module): def __init__(self, emb_dim, hid_dim, out_dim, num_voc, num_heads, num_ent, num_rel, dropout, alpha, **kwargs): super(GA...
[ "dalewanghz@gmail.com" ]
dalewanghz@gmail.com
50ac7d9499d215fdeee98e4acab4c2ba61d65aa5
a704c91ba38fb9f733102506f3bbf1325ab0e73b
/loans/asgi.py
e0a7f28c0e79d8818c407d48e9c27dbbbb8509f2
[]
no_license
Nyakinyua/Loans-
e2b69ef00118ab2831df5b12a9e9987944bd23a2
fd9d9d51cfb02905001921f7c989ea11be0f68e4
refs/heads/master
2023-04-03T03:12:29.134845
2021-04-13T09:26:44
2021-04-13T09:26:44
348,429,796
0
0
null
null
null
null
UTF-8
Python
false
false
387
py
""" ASGI config for loans project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.0/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANGO_SETTING...
[ "wanyakinyua968@gmail.com" ]
wanyakinyua968@gmail.com
81500922d96e1dcf88f6749557790f570cda92ca
cf1431d3d4843fda317ec9c1d39cceaa0cbe69e2
/gewittergefahr/gg_utils/time_periods.py
102edab472e111ff3dd03896c662b6a0a7d926a4
[ "MIT" ]
permissive
theweathermanda/GewitterGefahr
9dad0f5d4595db647d511a7b179b159201dff4f2
b8bcbf4c22457b3aa4613ff2c07b32a6e71068e2
refs/heads/master
2020-04-26T02:20:40.434434
2019-02-17T03:42:31
2019-02-17T03:42:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,831
py
"""Methods for handling time periods.""" import numpy from gewittergefahr.gg_utils import number_rounding as rounder from gewittergefahr.gg_utils import error_checking def range_and_interval_to_list(start_time_unix_sec=None, end_time_unix_sec=None, time_interval_sec=None, include_endpo...
[ "ryan.lagerquist@ou.edu" ]
ryan.lagerquist@ou.edu
cda754c843996deb186c2e23dde533e8fee2c7e6
4a6ee62745aaad67326bf6e3bb2001f5ef84b8ab
/music/admin.py
a2ccca151a409e344792bd5071c78414ad43b21b
[]
no_license
sandeep201451066/MusicAlbum
437c79599fa56a6b21354e3d376a21d0b48f47a9
bb3b1c176eb2f2bccdd88547fc1f04ee8262ac28
refs/heads/master
2021-01-12T02:36:59.740581
2017-01-07T06:57:05
2017-01-07T06:57:05
78,078,547
0
0
null
null
null
null
UTF-8
Python
false
false
171
py
from django.contrib import admin # Register your models here. from music.models import AlbumList, SongList admin.site.register(AlbumList) admin.site.register(SongList)
[ "you@example.com" ]
you@example.com
201cb18806e64a90eab4c2b766ae1aae7d263ec3
598548d1364ea8e4810404d6aa17d5a6653b4d1c
/torba/client/basetransaction.py
a022bfa2ba10da401397daa64c9763199ed493c5
[ "MIT" ]
permissive
productinfo/torba
844d362ac8791715bcb16e883f994b5b5ed67109
45669dad336f7b74dd7c04d3f826620ed2f777c7
refs/heads/master
2020-04-19T18:33:44.480802
2019-01-29T17:51:59
2019-01-29T18:17:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
18,238
py
import logging import typing from typing import List, Iterable, Optional from binascii import hexlify from torba.client.basescript import BaseInputScript, BaseOutputScript from torba.client.baseaccount import BaseAccount from torba.client.constants import COIN, NULL_HASH32 from torba.client.bcd_data_stream import BCDa...
[ "lex@damoti.com" ]
lex@damoti.com
49f6372be4dbd4d5b5afa73800df88ec46448170
e035e042c425b7abbaee50b8f331b1d4ebcbd388
/test/testapikeyfilegenerator.py
4447a5f57529b553266526308950cbab3a2cfe21
[]
no_license
Archanciel/C2
6ae2589c23c1499db3ca3d362459afecb52283ed
8abf29d6798743d06d1949e22ff5c4bece2cd85d
refs/heads/master
2020-03-21T11:19:38.298586
2018-09-01T10:23:50
2018-09-01T10:23:50
138,500,734
0
1
null
2018-07-28T18:33:25
2018-06-24T17:09:59
Python
UTF-8
Python
false
false
1,318
py
import inspect import os import sys import unittest import pickle currentdir = os.path.dirname(os.path.abspath(inspect.getfile(inspect.currentframe()))) parentdir = os.path.dirname(currentdir) sys.path.insert(0, parentdir) sys.path.insert(0,currentdir) # this instruction is necessary for successful importation of util...
[ "jp.schnyder@gmail.com" ]
jp.schnyder@gmail.com
a6f3acb6b119c6a7b83bda654ccc2e610af29885
af4eb8204923b5848fce3158c6f8a89a480ea1d8
/script/AGNSS/AGNSS_Test_0084.py
afe06efc62851c32680c7b868f5dba30c5625c8c
[]
no_license
wanghaoplus/gatog
4ab0c77d4f9eb93da136ad3933a68cbf0b5c5bca
8935e20a426638462cd1cc7bc048a16751287a2f
refs/heads/master
2022-04-10T21:36:20.395304
2020-03-26T10:09:28
2020-03-26T10:09:28
248,264,601
0
0
null
null
null
null
UTF-8
Python
false
false
1,425
py
# -*- coding: utf-8 -*- # @Time : 2020/02/21 22:14 # @Author : wangdelei # @Site : # @File : AGNSS_Test_0084.py # @Software: PyCharm from aw.LbsTestCase import LbsTestCase import time from aw.core.Input import * import threading class AGNSS_Test_0084(LbsTestCase): def __init__(self): super(AGNS...
[ "418816179@qq.com" ]
418816179@qq.com
fc9a91f8832a9e9583dfed7a9b8dbfdde0d1adee
e42a61b7be7ec3412e5cea0ffe9f6e9f34d4bf8d
/a10sdk/core/counter/counter_vtep_stats.py
f46f33a278bb54b92bf117eca714b56cd163fb28
[ "Apache-2.0" ]
permissive
amwelch/a10sdk-python
4179565afdc76cdec3601c2715a79479b3225aef
3e6d88c65bd1a2bf63917d14be58d782e06814e6
refs/heads/master
2021-01-20T23:17:07.270210
2015-08-13T17:53:23
2015-08-13T17:53:23
40,673,499
0
0
null
2015-08-13T17:51:35
2015-08-13T17:51:34
null
UTF-8
Python
false
false
8,169
py
from a10sdk.common.A10BaseClass import A10BaseClass class Stats(A10BaseClass): """This class does not support CRUD Operations please use parent. :param rx_bad_inner_ipv4_len_pkts: {"description": "Packets received with Bad Inner IPv4 Payload length", "format": "counter", "type": "number", "oid": "34", "...
[ "doug@parksidesoftware.com" ]
doug@parksidesoftware.com
2241a6690333ae6509e556b65fccb35af2f114c3
18a6b272d4c55b24d9c179ae1e58959674e53afe
/tf_rl/examples/NerveNet/scripts/ppos/mujoco/test_env.py
66cb7b6d26ae7b5ddd7b2ed0f8b11ee777bf4a40
[ "MIT" ]
permissive
Rowing0914/TF2_RL
6cce916f409b3d4ef2a5a40a0611908f20d08b2c
c1b7f9b376cbecf01deb17f76f8e761035ed336a
refs/heads/master
2022-12-10T09:58:57.456415
2021-05-23T02:43:21
2021-05-23T02:43:21
233,476,950
9
1
MIT
2022-12-08T07:02:42
2020-01-12T23:53:48
Python
UTF-8
Python
false
false
621
py
import gym # you can choose other environments. # possible environments: Ant-v2, HalfCheetah-v2, Hopper-v2, Humanoid-v2, # HumanoidStandup-v2, InvertedPendulum-v2, Reacher-v2, Swimmer-v2, Walker2D-v2 env = gym.make("Walker2d-v2") num_inputs = env.observation_space.shape[0] num_actions = env.action_space.shape[0] pri...
[ "kosakaboat@gmail.com" ]
kosakaboat@gmail.com
8929de1dd4441865c55d4dcb7a063a6b3ee7b872
637bb3f080ff18001a732d9bf607ef962b09c5dd
/AtiviadeMeioDisciplina/marte.py
f9f948a67a836eaaa4301207c7e9bf074231a62a
[]
no_license
magnoazneto/IFPI_Algoritmos
995296fa22445c57981a1fad43e1ef7a8da83e5e
3b5e79c79b7a1fb7a08206719fd418fba1b39691
refs/heads/master
2022-02-27T10:59:17.123895
2019-11-17T13:51:35
2019-11-17T13:51:35
186,868,451
0
0
null
null
null
null
UTF-8
Python
false
false
514
py
def main(): msg = input() print('Mensagens alteradas:', identify_mars(msg)) def identify_mars(string): default = 'HELP' lenght = len(default) i = 0 def_idx = 0 infected_msgs = 0 while i < len(string): if string[i] == default[def_idx]: def_idx += 1 i += 1...
[ "magnoazneto@gmail.com" ]
magnoazneto@gmail.com
1b2beebcfce2d6669e1ab5bf05f8a9f49f94fa6b
a7b07e14f58008e4c9567a9ae67429cedf00e1dc
/lib/jnpr/healthbot/swagger/models/device_schema.py
1952a7576fcf36a41d947010eca0a51bf076602f
[ "Apache-2.0" ]
permissive
dmontagner/healthbot-py-client
3750d8375bc4fa7bedcdbc6f85f17fb812c19ea9
0952e0a9e7ed63c9fe84879f40407c3327735252
refs/heads/master
2020-08-03T12:16:38.428848
2019-09-30T01:57:24
2019-09-30T01:57:24
211,750,200
0
0
Apache-2.0
2019-09-30T01:17:48
2019-09-30T01:17:47
null
UTF-8
Python
false
false
11,136
py
# coding: utf-8 """ Healthbot APIs API interface for Healthbot application # noqa: E501 OpenAPI spec version: 1.0.0 Contact: healthbot-hackers@juniper.net Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 import six from jnpr.healthbot...
[ "nitinkr@juniper.net" ]
nitinkr@juniper.net
f6b74de65dfb9b450d827c0b8c8a01263f7b6766
64b135891387dac3a4bb29f3001a524830d0e4e4
/news/forms.py
d5177748c1fd666136f6e163c39fd7bca1f0fca6
[ "LicenseRef-scancode-warranty-disclaimer", "MIT" ]
permissive
dynamicguy/treeio
9ad52802722b64a212e22710c04dbb0bb50d831e
4f674898cff2331711639a9b5f6812c874a2cb25
refs/heads/master
2021-08-28T11:25:41.504635
2014-01-31T17:16:22
2014-01-31T17:16:22
11,323,559
0
0
NOASSERTION
2021-08-16T20:18:53
2013-07-10T20:31:31
Python
UTF-8
Python
false
false
2,878
py
# encoding: utf-8 # Copyright 2011 Tree.io Limited # This file is part of Treeio. # License www.tree.io/license """ News module forms """ from django import forms from django.utils.translation import ugettext as _ from django.core.urlresolvers import reverse from treeio.core.conf import settings from treeio.core.mode...
[ "letoosh@gmail.com" ]
letoosh@gmail.com
ebe61823f230bf6d45bdfab7c10060e7919519bb
76cba124f60bf963b2e6bf4dbf03e74bfdb37899
/democode/comet.py
54d41fbd8968dc7de0a04921458475eae9bd6b57
[]
no_license
gasman/exogenesis
b51d553bdb20fe523fe00f5fe585f6d7aaa84b72
511af1c990bb82d5364d6f950125c057610c8404
refs/heads/master
2021-01-22T11:51:35.771421
2013-09-08T10:53:59
2013-09-08T10:53:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
838
py
from democode.antialias import Antialiaser import draw import math class CometScene(object): def __init__(self, lp): self.aa = Antialiaser(lp) def tick(self, pattern, beat): self.aa.clear() for x in range(2, 16): b = beat - x / 4 head_y = max(2, 14 - (b / 4)) - 2 * math.sin(b * math.pi / 4) greennes...
[ "matt@west.co.tt" ]
matt@west.co.tt
53a918e3da7373feaf7ba73412451df8825f8a1a
729ac731cc69ffb331e1ad86ec09946f6e210da3
/welcome.py
a48ea96191811a0c14eccb4ee05f94eb1dd2eaa2
[]
no_license
sadiqulislam/Python-Practice-All-
1fb31095653137ea954ddf3d7173261b8e86a872
f4a0305c0c4363ada6459bf55ee3ef267dcea53f
refs/heads/master
2020-07-26T12:39:50.437859
2020-02-10T15:41:12
2020-02-10T15:41:12
208,645,667
0
0
null
null
null
null
UTF-8
Python
false
false
89
py
message = "Hello's World" print (message) s = 'Amar Vai Tomar Vai Shishir Vai' print(s)
[ "sishishir2015@gmail.com" ]
sishishir2015@gmail.com
16127aa13974427bc0f3874250f37ea6074014bc
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/synthetic/tree-big-712.py
2e6cbaabd1989e69d23b731561665ff903d049e3
[]
no_license
Virtlink/ccbench-chocopy
c3f7f6af6349aff6503196f727ef89f210a1eac8
c7efae43bf32696ee2b2ee781bdfe4f7730dec3f
refs/heads/main
2023-04-07T15:07:12.464038
2022-02-03T15:42:39
2022-02-03T15:42:39
451,969,776
0
0
null
null
null
null
UTF-8
Python
false
false
23,287
py
# Binary-search trees class TreeNode(object): value:int = 0 left:"TreeNode" = None right:"TreeNode" = None def insert(self:"TreeNode", x:int) -> bool: if x < self.value: if self.left is None: self.left = makeNode(x) return True else: ...
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
eec486626a15cfc2fe84cee4502784e8873d9f69
3fb660ec514a7e2d2f225313991f16b58974f708
/Learning/assert-keyword.py
434293e5a78caed67cee76c60559b793cca2795a
[]
no_license
jwatson-CO-edu/py_info
e2c89bbe05b411d2086c182630d165f87a99ec3f
297f9f5733fe256e5c96f2da82f49d82c2a4ba9d
refs/heads/master
2022-02-06T13:03:14.178557
2022-01-22T03:01:46
2022-01-22T03:01:46
230,357,664
0
0
null
null
null
null
UTF-8
Python
false
false
590
py
""" RESULT: If the conditional following the 'assert' keyword evaluates False , then an 'AssertionError' is raised , Just like C++ You can optionally provide a message string to give more information about the assertion was violated , which is a good idea anyway """ def picky_arg( arg ): """ 'arg' mu...
[ "james.r.watson@utah.edu" ]
james.r.watson@utah.edu
b0737e53bab3a189f26c79793e6107c969e82108
7004661440b908a622ccc01809864971ed6f6d7b
/main.py
d594a99dc4f2b81f4a0b3a1fce2710a201520858
[]
no_license
hanj2270/E-HentaiCrawler
a00aa91d4fae2fe1082eebc0daa30ad152ca9f41
46f778db61da2166c35bcf03aaf930177c3acd8d
refs/heads/master
2021-01-19T02:33:13.803416
2017-03-08T08:34:18
2017-03-08T08:34:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,176
py
# -*- coding: utf-8 -*- import threading from multiprocessing import Queue, Process from Proxy.IPPool import getIP from config import PROCESS_MAX, THREAD_MAX from crawler.indexgeter import indexgeter from crawler.webDataGeter import webdatageter from database.data_writer import data_writer from error.error_handling im...
[ "shuiqukeyou@gmail.com" ]
shuiqukeyou@gmail.com
2665af70a535b15961a85fcd7f63751772321701
080c13cd91a073457bd9eddc2a3d13fc2e0e56ae
/MY_REPOS/awesome-4-new-developers/OVERFLOW/DS-ALGO-OFFICIAL/temp/algorithms/algorithms/maths/base_conversion.py
b538f2b3bfc0b89f2a4c708831f88b8ba847a996
[]
no_license
Portfolio-Projects42/UsefulResourceRepo2.0
1dccc8961a09347f124d3ed7c27c6d73b9806189
75b1e23c757845b5f1894ebe53551a1cf759c6a3
refs/heads/master
2023-08-04T12:23:48.862451
2021-09-15T12:51:35
2021-09-15T12:51:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
973
py
""" Integer base conversion algorithm int2base(5, 2) return '101'. base2int('F', 16) return 15. """ import string def int_to_base(n, base): """ :type n: int :type base: int :rtype: str """ is_negative = False if n == 0: return "0" elif n < 0: is_negative ...
[ "bryan.guner@gmail.com" ]
bryan.guner@gmail.com
cf6364cfe0b6485a6cb715e366ab55a7804f6714
dd7e2cb3366855584fc27bbb2e0dc7ed63977117
/vida/vida/migrations/0019_auto_20160204_1447.py
f82aefc2ee0ce4b604551cdbd531c2578fedde9d
[ "MIT" ]
permissive
ProminentEdge/flintlock
3d3eb6efbe4a2d0e731f8a26e69ffcd314e25cb9
271c897b332f0c24e00a23c1fe86f5172fb9dd30
refs/heads/master
2021-01-17T07:58:49.650273
2016-03-05T02:06:59
2016-03-05T02:06:59
50,030,647
1
1
null
2016-03-04T05:10:45
2016-01-20T13:06:30
JavaScript
UTF-8
Python
false
false
645
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations import django.contrib.gis.db.models.fields class Migration(migrations.Migration): dependencies = [ ('vida', '0018_auto_20160204_1131'), ] operations = [ migrations.AlterModelOptions(...
[ "garnertb@gmail.com" ]
garnertb@gmail.com
56071c9dbe2ba7e34e38e15fca15143a1dcf295b
db9140a12939db6226d68624eecc3cc3fdadf3dd
/adage/node.py
417b8feaaa05c5f55453175c310e5311253af50e
[]
no_license
nextiams/adage
dedb09a64bdbd714d7043a00a51f556b6224e129
57525f7ed67d765525009b639bb355c74b1054e1
refs/heads/master
2022-09-08T23:25:24.163519
2017-10-09T08:13:33
2017-10-09T08:13:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,978
py
import time import uuid import logging import adage.nodestate as nodestate log = logging.getLogger(__name__) class Node(object): def __init__(self,name,task,identifier = None, define_time = None): self.identifier = identifier or str(uuid.uuid4()) self.name = name self.task = task ...
[ "lukas.heinrich@gmail.com" ]
lukas.heinrich@gmail.com
52c025692aaad19bacf308a26578cc9bf8277340
57c570d1b5a621158d8763f935e2069be6b8c90a
/tykj-operation/tykj-operation/service/service/estoreservice/api/tests.py
5be1dda2c5f44a1c0e04cdf10ddf55e7dc9f2c39
[]
no_license
liuliainio/liuli
e011decf45f7eca7009a12ad4a96f33a17055945
203fbf4f135efb6432c77b937633003ce2f2c9a2
refs/heads/master
2021-01-10T20:35:08.070770
2018-08-21T05:52:59
2018-08-21T05:52:59
25,625,853
1
1
null
null
null
null
UTF-8
Python
false
false
1,781
py
from __future__ import print_function, division, absolute_import from bson.objectid import ObjectId from django.test import TestCase from estorecore.servemodels.push import PushMongodbStorage from estoreservice import settings import logging import os import time from estorecore.test import get_all_test_cases logger ...
[ "liuliainio@163.com" ]
liuliainio@163.com
f0fe4ca2175284e073366e4bb5c3fd85bbe2a82c
6b7aef6254b5a3535e2540792299ca52fadeed68
/src/pi_django_app/views.py
bfca293c7929a11d4f77963b2ccb8ce4d3c6245d
[]
no_license
asfcarter/pi_django
1137d4443778e7218776fcc89aef94fcf74627ba
4c1671bb2b3668c0ef77c1ad231aa864e69cf97e
refs/heads/master
2021-06-17T19:20:05.994607
2021-03-24T15:33:33
2021-03-24T15:33:33
42,591,711
2
0
null
null
null
null
UTF-8
Python
false
false
123
py
from django.shortcuts import render # Create your views here. def home(request): return render(request,"index2.html",{})
[ "pi@raspberrypi.(none)" ]
pi@raspberrypi.(none)
2835c6426469a8c114fb1a60b7567e563589339c
cca53e4b21ca8d31f4b66519ac678e37ebce47a8
/exercises/ex8.py
90790acc57dae4156d8660a53d5b61fb7b4b6265
[]
no_license
hancush/pynotes
b115a92ac9eb9b9d4e410177da855a828487adbd
be27097a8726d4cc22740b1b96398a7a77289d22
refs/heads/master
2021-01-19T00:47:23.246090
2015-09-15T21:20:30
2015-09-15T21:20:30
40,318,266
0
0
null
null
null
null
UTF-8
Python
false
false
409
py
formatter = "%r %r %r %r" print formatter % (1, 2, 3, 4) print formatter % ("one", "two", "three", "four") print formatter % (True, False, False, True) print formatter % (formatter, formatter, formatter, formatter) print formatter % ( "I had this thing.", "That 'you' could type up right.", "But it didn't s...
[ "hannah.cushman@gmail.com" ]
hannah.cushman@gmail.com
291249ca174379bb84d42e63c78fdf78cee4b58c
27e2b4b14d8217fcad3b57ef8918cb857931d89f
/learning/modules/cuda_module.py
abc88462975e47882fa8c9515c8385d895769c71
[ "BSD-2-Clause" ]
permissive
jhu-lcsr/good_robot
205b31e9a2399032488ffa094d9f1e0d07592aa4
61217d65f040d536e54804150ce8abcf97343410
refs/heads/master
2022-03-31T23:49:04.958796
2022-03-25T18:14:14
2022-03-25T18:14:14
198,902,668
95
24
BSD-2-Clause
2022-02-18T20:45:13
2019-07-25T21:21:41
Jupyter Notebook
UTF-8
Python
false
false
365
py
import torch from torch import nn as nn """ class CudaModule(torch.nn.Module): def __init__(self): super(CudaModule, self).__init__() self.is_cuda = False self.cuda_device = None def cuda(self, device=None): nn.Module.cuda(self, device) self.is_cuda = True self...
[ "elias.stengel@gmail.com" ]
elias.stengel@gmail.com
62dffbb21ad8bfd2fb90e766057c1a6e49c6ac04
10fddce056973c339b1d939110ca2b29591e77f7
/wc_utils/workbook/__init__.py
57e2da10440dbb50fab80104f1190e0ddc100808
[ "MIT" ]
permissive
KarrLab/wc_utils
4ed3bdfa558171ab32293a452f9e6e02b3fc16f1
a4c0e2e8b9bd88356729e38faf5c0d09d61ff921
refs/heads/master
2022-05-01T06:17:54.910791
2020-09-28T22:38:30
2020-09-28T22:38:30
69,289,809
1
1
null
null
null
null
UTF-8
Python
false
false
181
py
from .core import (Workbook, Worksheet, Row, Formula, WorkbookDifference, WorksheetDifference, RowDifference, CellDifference) from . import io
[ "jonrkarr@gmail.com" ]
jonrkarr@gmail.com
05b1f77092060e63d75e668a1221e319952163a7
e7a9bac3b02a3849c1ab5d6990012510b8592c47
/src/briefcase/commands/__init__.py
5ed9108309d7fddad2a7683abe59158b365c852f
[ "BSD-3-Clause" ]
permissive
saroad2/briefcase
3d15dabfa6462a3b123053042532d0ae482b689d
afbe8ed499c08afbeaa837ea032fa24d20b320a5
refs/heads/main
2023-03-06T12:33:52.929614
2022-10-04T22:27:03
2022-10-04T22:27:03
245,388,096
1
0
BSD-3-Clause
2023-02-26T20:59:27
2020-03-06T10:12:29
Python
UTF-8
Python
false
false
402
py
from .build import BuildCommand # noqa from .create import CreateCommand # noqa from .dev import DevCommand # noqa from .new import NewCommand # noqa from .open import OpenCommand # noqa from .package import PackageCommand # noqa from .publish import PublishCommand # noqa from .run import RunCommand # noqa from...
[ "russell@keith-magee.com" ]
russell@keith-magee.com
68a9e00c01783e8032ebfa06d4436747cfec88b8
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02612/s636347083.py
580b43933e3e425618cddf0df173aca1748fc2f8
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
59
py
N = int(input()) ans = (1000 - N % 1000) % 1000 print(ans)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
ebc22e699980c3f5b7b8234f2aad220fa055e67a
7f0548b7191b7589712af19baebafddae1d0505f
/dojoassignments/python/django/full_stack_django/bad_travel_buddy/apps/login_registration/migrations/0004_auto_20170627_1628.py
cb00a717c150b7df258a975ef221794b3969c1e7
[]
no_license
mtjhartley/codingdojo
dd8eab1bd61fb847e44766e89fe3db2340468102
65dc558d19adbe62f85ad61c32cb1c392b56567c
refs/heads/master
2022-12-14T23:06:11.927445
2017-08-16T21:08:35
2017-08-16T21:08:35
92,218,728
1
5
null
2022-12-07T23:59:48
2017-05-23T20:46:03
Python
UTF-8
Python
false
false
581
py
# -*- coding: utf-8 -*- # Generated by Django 1.10 on 2017-06-27 16:28 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('login_registration', '0003_remove_user_birthday'), ] operations = [ migrations.Rename...
[ "mtjhartley@gmail.com" ]
mtjhartley@gmail.com
9fb38590c5f71af6d4e4a18577416948774e05a2
90c6262664d013d47e9a3a9194aa7a366d1cabc4
/tests/operations/onn22RuTehcaQS1zaHxEHrrSRdCPTXUbHByyutPHL2EppBtd7Yg/test_forge_onn22R.py
cf5f4f0b31136df8e8cedf859b2a06b0447a6563
[ "MIT" ]
permissive
tqtezos/pytezos
3942fdab7aa7851e9ea81350fa360180229ec082
a4ac0b022d35d4c9f3062609d8ce09d584b5faa8
refs/heads/master
2021-07-10T12:24:24.069256
2020-04-04T12:46:24
2020-04-04T12:46:24
227,664,211
1
0
MIT
2020-12-30T16:44:56
2019-12-12T17:47:53
Python
UTF-8
Python
false
false
567
py
from unittest import TestCase from tests import get_data from pytezos.operation.forge import forge_operation_group class OperationForgingTestonn22R(TestCase): def setUp(self): self.maxDiff = None def test_forge_onn22R(self): expected = get_data( path='operations/onn22RuT...
[ "mz@baking-bad.org" ]
mz@baking-bad.org
2d37dc59f7b514b78dcc1c30bee95be85ca763e3
0728a2e165808cfe5651693a6e7f47804bfb085f
/bot/pymorphy/pymorphy/contrib/lastnames_ru.py
446291d75d74e00a2d96ae2e019b13b9ac7170de
[ "MIT" ]
permissive
testTemtProj/OLD_PROJECT
5b026e072017f5135159b0940370fda860241d39
9e5b165f4e8acf9003536e05dcefd33a5ae46890
refs/heads/master
2020-05-18T15:30:24.543319
2013-07-23T15:17:32
2013-07-23T15:17:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
16,149
py
#-*- coding: UTF-8 from __future__ import unicode_literals import re from pymorphy.morph import GramForm # Порядок важен: ЯНЦ должно быть перед ЯН для правильного срабатывания. LASTNAME_PATTERN = re.compile(r'(.*(' r'ОВ|ИВ|ЕВ' r'|ИН' r'|СК|ЦК' r'|ИЧ' r'|ЮК|УК' r'|ИС|ЭС|УС' r'|ЫХ|ИХ' r'|...
[ "Kyzmenko_Pavel@mail.ru" ]
Kyzmenko_Pavel@mail.ru
a961e5012524167cb669c64c86afbaa4d9707ed2
c104dbd09a853725cb4f4b17df7c5dd59d47e04e
/test/opsgenie_swagger/models/amazon_ses_integration.py
270f9fd25ff796979da446388dc26a706331bae3
[ "Apache-2.0" ]
permissive
bm-lab/opsgenie-python-sdk
5a64e2c24f1b9168ecadf482ba8084ba27a659fc
244c4c40ddcc25e70df5ba4425ab8d7c8da59c18
refs/heads/master
2021-10-09T03:18:48.101672
2018-12-15T01:03:36
2018-12-20T15:13:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,335
py
# coding: utf-8 """ OpsGenie REST API OpsGenie OpenAPI Specification # noqa: E501 OpenAPI spec version: 2.0.0 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 import six from opsgenie_swagger.models.integration import Integration # ...
[ "c.chary@criteo.com" ]
c.chary@criteo.com
1f3bfae4db8913dfd24255d46803ea63e87bd277
e5e0d729f082999a9bec142611365b00f7bfc684
/tensorflow/python/estimator/canned/dnn.py
cde0d955dfddd3a9ea810c9a1d333d593cb03465
[ "Apache-2.0" ]
permissive
NVIDIA/tensorflow
ed6294098c7354dfc9f09631fc5ae22dbc278138
7cbba04a2ee16d21309eefad5be6585183a2d5a9
refs/heads/r1.15.5+nv23.03
2023-08-16T22:25:18.037979
2023-08-03T22:09:23
2023-08-03T22:09:23
263,748,045
763
117
Apache-2.0
2023-07-03T15:45:19
2020-05-13T21:34:32
C++
UTF-8
Python
false
false
1,263
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 # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
36532ee5c85b919df895937c26f85572f220875a
6a4e1e4f320ae81a8069fbe2587d62420976dbf1
/mysite/polls/urls.py
949fd485050af7d1c38bb5918e4fc6677c444057
[]
no_license
YuriiKhomych/First-Django-App
2f192ec00be6f84318905d4b18595b1cbad2b955
440a4618053adddf3b647975218bb6a003260243
refs/heads/master
2020-03-18T16:17:20.352467
2018-08-22T06:44:13
2018-08-22T06:44:13
134,957,491
0
0
null
null
null
null
UTF-8
Python
false
false
371
py
from django.urls import path from . import views app_name = 'polls' urlpatterns = [ path('', views.IndexView.as_view(), name='index'), path('<int:pk>/', views.DetailView.as_view(), name='detail'), path('<int:pk>/results/', views.ResultsView.as_view(), name='results'), # ex: /polls/5/vote/ path('<i...
[ "yuriykhomich@gmail.com" ]
yuriykhomich@gmail.com
1a2a79c4c2018e104f9467715ad305e56df8cec2
ad6cd0aa5d96ef7a4116ec20737a3026082b9e16
/src/test/directory_lister_test.py
d3008e8dc00832476b28d24880a822d71170e5c7
[ "MIT" ]
permissive
pgecsenyi/router-fs
0a00ad9f5cb5995048aa7fe08c20ee7eaf0621b7
1d4f579fb3cccd022fe1ab0e61aa00693e7234c1
refs/heads/master
2020-04-19T06:47:26.791739
2019-04-15T18:21:13
2019-04-15T18:21:45
168,028,417
1
0
null
null
null
null
UTF-8
Python
false
false
666
py
import unittest from unittest.mock import patch from filesystem.transformation.directory_lister import DirectoryLister class DirectoryListerTest(unittest.TestCase): @patch('os.walk') def test_list_directory(self, mock_walk): dirpath = '/home/root/doc/fruits' expected_files = [dirpath + '/app...
[ "pgecsenyi@protonmail.com" ]
pgecsenyi@protonmail.com
80c576d5d209206e6331ae90eb60ec6b46958211
2aba3c043ce4ef934adce0f65bd589268ec443c5
/atcoder/ABC/033/A.py
9aec5d2d637f9b56938a2a336fe5925fe380c571
[]
no_license
kambehmw/algorithm_python
4f66593b77039d90515d1fcbecacdab8c811b92f
17222399dcc92fd8f908e5774a9883e2e89c486e
refs/heads/master
2020-06-02T12:44:11.322356
2020-05-18T13:22:05
2020-05-18T13:22:05
191,157,113
0
0
null
null
null
null
UTF-8
Python
false
false
79
py
N = input() if len(set(N)) == 1: print("SAME") else: print("DIFFERENT")
[ "kanbe.hmw@gmail.com" ]
kanbe.hmw@gmail.com
0b2d748e251d874ac3698205a67fcbe62158aaa9
1156b7cde01b0cc467c22cfb75cde0a74887da1a
/bin/mongrey_web_sqlite.py
13ddaaf630e27e50d70faab7f82756f995022afd
[]
no_license
davidpolet/mongrey-build
d1ee2e12ffbbd8061f4f2faa753572b3e328291f
8782b0e87474f2662cf35b3cb545516d76d9340d
refs/heads/master
2021-01-21T09:34:07.283966
2015-05-26T19:00:31
2015-05-26T19:00:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
498
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import itsdangerous import passlib import flask_babelex import babel import blinker import six import flask import redis import arrow import pygeoip import regex from werkzeug.contrib import cache import peewee import playhouse import wtforms import wtfpeewee import simple...
[ "stephane.rault@radicalspam.org" ]
stephane.rault@radicalspam.org
17e23071e1107ae08f77200b82db87c0be5f516e
925fa0208e07ac2aeb64f9201249a91f48b900fa
/LeetCode/DP/MaxProductSubarray.py
a7f24f03a8350ba8ed682a2ef192a351af047334
[]
no_license
Sanchi02/Dojo
984eb3cba26e43a8f6f0ef9c93f7aed24527b3ae
b25288c42a67d8639195f3fddef698f5cd179aac
refs/heads/master
2022-03-18T02:58:27.506082
2022-03-13T12:11:18
2022-03-13T12:11:18
197,040,319
0
0
null
2019-07-15T17:14:20
2019-07-15T17:06:36
null
UTF-8
Python
false
false
1,033
py
# https://leetcode.com/problems/maximum-product-subarray/ # Given an integer array nums, find a contiguous non-empty subarray within the array that has the largest product, and return the product. # The test cases are generated so that the answer will fit in a 32-bit integer. # A subarray is a contiguous subsequence ...
[ "sanchibadkas@gmail.com" ]
sanchibadkas@gmail.com
a4523d04d79a2270fc27804ff1d7958b47125de7
96e38b89fa057fa0c1cf34e498b4624041dfc6e2
/BOJ/Implementation/Python/9816.py
08902f566b9df267a88b9d25bfa3f4149acf31de
[]
no_license
malkoG/polyglot-cp
66059246b01766da3c359dbd16f04348d3c7ecd2
584763144afe40d73e72dd55f90ee1206029ca8f
refs/heads/master
2021-11-24T13:33:49.625237
2019-10-06T07:42:49
2019-10-06T07:42:49
176,255,722
2
0
null
null
null
null
UTF-8
Python
false
false
498
py
while True: s=input() if s=='-1': break print("N={}:".format(s)) if s==s[::-1]: print("No!!") continue counter = 0 while True: if s=='6174' or s=='0': break ss=sorted(list(s)) rs=reversed(ss) n1=int(''.join(ss)) n2=in...
[ "rijgndqw012@gmail.com" ]
rijgndqw012@gmail.com
4dfd047c301995c55f6708521634af7a8edb0fcf
f576f0ea3725d54bd2551883901b25b863fe6688
/sdk/azurestackhci/azure-mgmt-azurestackhci/generated_samples/put_extension.py
bfff134a861b2f0791e6f673fdd6721b86ca5f88
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
Azure/azure-sdk-for-python
02e3838e53a33d8ba27e9bcc22bd84e790e4ca7c
c2ca191e736bb06bfbbbc9493e8325763ba990bb
refs/heads/main
2023-09-06T09:30:13.135012
2023-09-06T01:08:06
2023-09-06T01:08:06
4,127,088
4,046
2,755
MIT
2023-09-14T21:48:49
2012-04-24T16:46:12
Python
UTF-8
Python
false
false
2,073
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" ]
Azure.noreply@github.com
c9e40167565b06b7278440ba15f8c57c606277f2
c65d512975feed7dfe74f1117cdd1337293d9d60
/python/my_py_notes_万物皆对象/db_and_数据持久化/sqlite3/hm_cards/cards_main.py
d1dfa4992d1e534df7edb53c99e41041e76f22ad
[]
no_license
Rockyzsu/StudyRepo
e5c6420e325917c2df7dc51d606be5fa3c2ee1b8
385785c09bebb56df156fd149a088043f38d0aab
refs/heads/master
2022-12-09T13:45:38.332899
2020-09-15T09:56:09
2020-09-15T09:56:09
295,388,871
1
0
null
null
null
null
UTF-8
Python
false
false
1,374
py
# 处理app的主要业务逻辑 # coding: utf-8 import os import cards_utils def init_menu(): while True: print('欢迎使用<名片系统> v0.1beta'.center(35, '*')) print('1.新建名片'.center(35, ' ')) print('2.显示全部'.center(35, ' ')) print('3.查询名片'.center(35, ' ')) print('4.删除名片'.center(35, ' ')) prin...
[ "jinweizsu@gmail.com" ]
jinweizsu@gmail.com
cc52b3e3d8f14a3a38726bf19dbd85b7b8c7d351
fc948981497ccbf47dcc8f039845ffb153a41140
/03_Bigdata/02_Standardization_Analysis/2. Excel/2excel_introspect_workbook.py
31e4aaaa19941801c9629ec772eb955e4db193ec
[]
no_license
jeongwoohong/iot_python2019
683b8d46b4035991700ae2caaee17d5db0743bd6
799733e845ab8eea3a6f9fa6a4c5acce66fce6f7
refs/heads/master
2022-03-04T17:17:15.456408
2019-11-08T00:10:57
2019-11-08T00:10:57
195,142,245
0
0
null
null
null
null
UTF-8
Python
false
false
551
py
import sys from xlrd import open_workbook from xlwt import Workbook input_file = sys.argv[1] output_file = sys.argv[2] output_workbook = Workbook() output_worksheet = output_workbook.add_sheet('jan_2013_output') with open_workbook(input_file) as workbook: worksheet = workbook.sheet_by_name('january_2013') fo...
[ "you@example.com" ]
you@example.com
9216cdb40ef5e1eb0ed05d01e645f8aa233560ae
3c000380cbb7e8deb6abf9c6f3e29e8e89784830
/venv/Lib/site-packages/cobra/modelimpl/recovery/reconcilenode.py
f4bbdb7e9340f5a7a571edb9da7bfda459899c5c
[]
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
4,756
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
1279a0cef6482bd7c047fe05ad3f1b488ed3388f
6ceea2578be0cbc1543be3649d0ad01dd55072aa
/src/fipy/meshes/pyMesh/grid2D.py
193a3d348a7be54653662f81bb8ef78cfb142fc6
[ "LicenseRef-scancode-public-domain" ]
permissive
regmi/fipy
57972add2cc8e6c04fda09ff2faca9a2c45ad19d
eb4aacf5a8e35cdb0e41beb0d79a93e7c8aacbad
refs/heads/master
2020-04-27T13:51:45.095692
2010-04-09T07:32:42
2010-04-09T07:32:42
602,099
1
0
null
null
null
null
UTF-8
Python
false
false
9,607
py
#!/usr/bin/env python ## -*-Pyth-*- # ################################################################### # FiPy - Python-based finite volume PDE solver # # FILE: "grid2D.py" # # Author: Jonathan Guyer <guyer@nist.gov> # Author: Daniel Wheeler <daniel.wheeler@nist.gov> # Author: James Warren <jwarren@n...
[ "regmisk@gmail.com" ]
regmisk@gmail.com
b3337f038c0d0beab33e9d4d79a6151c08668cc0
f47a1c59fb69e2005c6e87db254b156f2b49ad65
/trajan/core/urls.py
79f7c2ecaa96f671a939cb277bbeb7635c6e2a5b
[]
no_license
wd5/trajan
ac1206345bd359b01aa8312641ed5f545d844dc3
cd7b48c38c31cf63dabf19cee3d76cd6c09d887d
HEAD
2016-09-10T03:25:50.199591
2012-12-26T19:39:49
2012-12-26T19:39:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
480
py
from django.conf.urls.defaults import patterns, include, url from trajan.core.api import PageResource from tastypie.api import Api from django.views.generic.simple import direct_to_template v1_api = Api(api_name='v1') v1_api.register(PageResource()) urlpatterns = patterns('', url(r'^$', direct_to_template, {'templat...
[ "dstegelman@gmail.com" ]
dstegelman@gmail.com
89384c946bc98181b410bdbd2524b8ff13b12143
40af81296e8f07788f8b613643a62ae23b2063d6
/hw0_release/.env/share/doc/networkx-2.0/examples/graph/words.py
065a96678d591b179a1ffc957c0f82e9c26c53ad
[ "BSD-3-Clause", "MIT" ]
permissive
ChienyehLin/Computer_Vision_CS131
97b6c89d86b747deb80b2d643bdb66f6f5432a4a
de23015ac08a899adfd03ff28485c7b6a74d4d1e
refs/heads/master
2022-11-28T08:49:06.345587
2020-02-28T07:29:54
2020-02-28T07:29:54
228,156,278
3
0
NOASSERTION
2022-11-22T02:10:30
2019-12-15T09:01:31
Python
UTF-8
Python
false
false
2,816
py
""" ===== Words ===== Words/Ladder Graph ------------------ Generate an undirected graph over the 5757 5-letter words in the datafile `words_dat.txt.gz`. Two words are connected by an edge if they differ in one letter, resulting in 14,135 edges. This example is described in Section 1.1 in Knuth's book (see [1]_ and ...
[ "linchienyeh_jaden@outlook.com" ]
linchienyeh_jaden@outlook.com
b0a123cf6c2621279d5a96f58ca86274001fbb83
2d4380518d9c591b6b6c09ea51e28a34381fc80c
/CIM16/CDPSM/Geographical/IEC61970/Wires/LoadBreakSwitch.py
f2ffb57bbe01797bc0ff4c7e1a391185331dd6af
[ "MIT" ]
permissive
fran-jo/PyCIM
355e36ae14d1b64b01e752c5acd5395bf88cd949
de942633d966bdf2bd76d680ecb20517fc873281
refs/heads/master
2021-01-20T03:00:41.186556
2017-09-19T14:15:33
2017-09-19T14:15:33
89,480,767
0
1
null
2017-04-26T12:57:44
2017-04-26T12:57:44
null
UTF-8
Python
false
false
1,653
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...
[ "fran_jo@hotmail.com" ]
fran_jo@hotmail.com
821885c333f39e248c3b4d48680946323bb48106
0fb3b73f8e6bb9e931afe4dcfd5cdf4ba888d664
/myapi/fullfeblog/webdev/urls.py
975db698ce1d8db571ad43d6fed54ff0e576c3a5
[]
no_license
mrpal39/ev_code
6c56b1a4412503604260b3346a04ef53a2ba8bf2
ffa0cf482fa8604b2121957b7b1d68ba63b89522
refs/heads/master
2023-03-24T03:43:56.778039
2021-03-08T17:48:39
2021-03-08T17:48:39
345,743,264
1
0
null
null
null
null
UTF-8
Python
false
false
777
py
from django.contrib import admin from django.urls import path,include from django.conf import settings from django.conf.urls.static import static from django.contrib.sitemaps.views import sitemap from blog.sitemaps import PostSitemap from django.conf.urls import url, include # from .. import core sitemaps={ 'posts'...
[ "rp9545416@gmail.com" ]
rp9545416@gmail.com
ae78afbd5d7364b1b0f03645d1d1d6ca47cd0ec9
d6716aade568d34adc4152aa83be2b19df30b58f
/yt_pb71_cs/str_repr_diff.py
ee2311e00ec53b10a27d2e89e63b07b6c7c48594
[]
no_license
salma-shaik/python-projects
a47e7ba79284b6ae9d3cf9489f1d21c12d573ce5
ba0234844e1ad938271486ec8c0aac0954326ad5
refs/heads/master
2021-01-19T22:46:46.433144
2018-09-03T19:43:42
2018-09-03T19:43:42
88,865,277
0
0
null
null
null
null
UTF-8
Python
false
false
627
py
# The goal of __repr__ is to be unambiguous # The goal of __str__ is to be readable # a = [1, 2, 3, 4] # b = 'sample string' # # print(str(a)) # print(repr(a)) # # print(str(b)) # print(repr(b)) import datetime import pytz a = datetime.datetime.utcnow().replace(tzinfo=pytz.UTC) b = str(a) print('str(a): {}'.format(...
[ "salmashaik1611@gmail.com" ]
salmashaik1611@gmail.com
f805830a20c2ba67d1a4bd9b2b0a978cc9522401
8f736b5cc28cc1d46506abf1b001eb41cc1f9423
/apps/users/signals.py
77ba064c53a024e746d0ffa4db5b81f43702a965
[]
no_license
tang1323/MxShop
6ac68502f59ae07b483b6145e1b557399192e3dd
831b5bdd8abdf7d6e547b0bd3fff9341261e4afa
refs/heads/master
2023-04-04T07:09:32.759476
2021-04-14T14:36:00
2021-04-14T14:36:00
357,937,706
0
0
null
null
null
null
UTF-8
Python
false
false
1,144
py
from django.db.models.signals import post_save from django.dispatch import receiver from rest_framework.authtoken.models import Token from django.contrib.auth import get_user_model # 返回此项目的用户模型(model),这是内置的 User = get_user_model() # 这是一个装饰器,而sender就是接收哪个models传递过来的 @receiver(post_save, sender=User) def create_auth_t...
[ "1171242903@qq.com" ]
1171242903@qq.com
88e07364d82188f3d72bd929b38d3ef1008e5d7c
8b39393897cd4cdf47d6520607aac094ec535779
/workflows/tests/cosmo/celery.py
635c70b01d5db27cf9013967a775b89b3b12fea8
[]
no_license
yishaibeeri/cosmo-manager
d4debde3ff20e82b70514aea6991c7fd036f6bf3
9bc2b80cc360098939d6a6efe726d5df59f6982a
refs/heads/master
2021-01-21T18:21:29.711024
2014-01-13T09:13:37
2014-01-13T09:13:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,526
py
######## # Copyright (c) 2013 GigaSpaces Technologies Ltd. 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...
[ "idan@gigaspaces.com" ]
idan@gigaspaces.com
62c86946bd35096e59efdd673f88673fc50b9f53
ac5e52a3fc52dde58d208746cddabef2e378119e
/exps-sblp/sblp_ut=3.5_rd=0.5_rw=0.04_rn=4_u=0.075-0.325_p=harmonic-2/sched=RUN_trial=80/params.py
805a7c663cc5294f124978200a747eb82a7c714a
[]
no_license
ricardobtxr/experiment-scripts
1e2abfcd94fb0ef5a56c5d7dffddfe814752eef1
7bcebff7ac2f2822423f211f1162cd017a18babb
refs/heads/master
2023-04-09T02:37:41.466794
2021-04-25T03:27:16
2021-04-25T03:27:16
358,926,457
0
0
null
null
null
null
UTF-8
Python
false
false
250
py
{'cpus': 4, 'duration': 30, 'final_util': '3.527714', 'max_util': '3.5', 'periods': 'harmonic-2', 'release_master': False, 'res_distr': '0.5', 'res_nmb': '4', 'res_weight': '0.04', 'scheduler': 'RUN', 'trial': 80, 'utils': 'uni-medium-3'}
[ "ricardo.btxr@gmail.com" ]
ricardo.btxr@gmail.com
fcb4615ea3d1c2f22d029cad3e4f73a185db48ae
3152fd9ec9ccd83b6e0d2ea40aa36a4b145aea2e
/temp/test_打印正方形.py
69d148e2251622402e2f8c77af081ab51a935b17
[]
no_license
derekduan1028/hm_python
cf1b6037ac1cde8dcac393453a291c39b5a936c2
ae79f817a55d1b3bfdbdf1b50d5147946c8b7401
refs/heads/master
2023-01-21T00:33:00.927709
2020-11-27T00:00:35
2020-11-27T00:00:35
291,869,531
0
0
null
null
null
null
UTF-8
Python
false
false
533
py
#!/usr/bin/python # coding:utf-8 """ @author:derek @contract:derek_duan@sina.com @file: test_打印正方形.py @time: 11/18/20 4:45 PM """ def print_lines(str1, str2, wide): print(str1, end=" ") for i in range(wide): print(str2, end=" ") print(str1, end=" ") for i in range(wide): print(str2,...
[ "derek@Derek-Mbp" ]
derek@Derek-Mbp
06dca00fa6a330d2a68438a2972b67d9f16a64a1
426521e1689f70732222efd5f98675014e361964
/youtube_dl/extractor/afreecatv.py
518c61f67eb0befa0ce59fb393d10d8ebd4dcc03
[ "LicenseRef-scancode-unknown-license-reference", "LicenseRef-scancode-public-domain", "Unlicense" ]
permissive
DalavanCloud/youtube-dl
8b6f34e8e8dc296df6ee7c12fdf91688092f2df7
c8f45f763cac3c0d0e4ca35ba072d8d321957e85
refs/heads/master
2020-04-13T06:36:38.023940
2016-09-27T16:03:00
2016-09-27T16:03:00
163,026,015
1
0
Unlicense
2018-12-24T22:04:42
2018-12-24T22:04:42
null
UTF-8
Python
false
false
4,991
py
# coding: utf-8 from __future__ import unicode_literals import re from .common import InfoExtractor from ..compat import ( compat_urllib_parse_urlparse, compat_urlparse, ) from ..utils import ( ExtractorError, int_or_none, xpath_element, xpath_text, ) class AfreecaTVIE(InfoExtractor): IE...
[ "peter@pmrowla.com" ]
peter@pmrowla.com
4fe49b4538b78e6aef54b68010f7bf3670fe30d9
8a53b6e78ee6bc66bbf83d78fedef20e44e40809
/braceyourselfassignmentsarecoming/sudoku.py
00a3b61d94dbf5681019330623f67e0699604bba
[]
no_license
chintanbetrabet/ChessAI
cc5c6dfa91c0ba5a0b6de1cc705092cf996bcdcb
3d9ebd96330623ab48f7f758cc8ad3b61eb79d55
refs/heads/master
2021-07-02T05:57:58.524808
2017-09-22T09:32:50
2017-09-22T09:32:50
104,456,543
0
0
null
null
null
null
UTF-8
Python
false
false
6,450
py
import copy import os import time class Square(): def __init__(self,show,row,col,legal): self.show=show self.row=row self.col=col self.legal=copy.deepcopy(legal) def update(self): if len(self.legal)==1: self.show=str(self.legal[0]) else : ...
[ "chintanbetrabet@gmail.com" ]
chintanbetrabet@gmail.com
62204aa625906842ccced44fdf50596c95ec552b
de4d88db6ea32d20020c169f734edd4b95c3092d
/aiotdlib/api/functions/add_network_statistics.py
b94694668600633ed7ff2c3fce21c7ade2450981
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
thiagosm/aiotdlib
5cc790a5645f7e4cc61bbd0791433ed182d69062
4528fcfca7c5c69b54a878ce6ce60e934a2dcc73
refs/heads/main
2023-08-15T05:16:28.436803
2021-10-18T20:41:27
2021-10-18T20:41:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,068
py
# =============================================================================== # # # # This file has been generated automatically!! Do not change this manually! # # ...
[ "pylakey@protonmail.com" ]
pylakey@protonmail.com
b77c2a2d23ce3a8fe3f2d0a6917cb7d07d0047ff
835e3bd2afd6ea11ef4c42b0155e78d1a37ac13e
/courses/machine_learning/asl/open_project/cloud_composer_automated_ml_pipeline_taxifare/airflow/dags/taxifare_multi.py
0c384a3e3f87199089cf46cf1ce6037ae8f9a271
[ "Apache-2.0" ]
permissive
kartik-nighania/training-data-analyst
e1e5ae96d3d506894a4a8692d979f54baf14b1eb
ba1dea1646ef0f5197a89e32d8c0bb158897a5b4
refs/heads/master
2020-07-26T11:57:39.811468
2019-09-15T19:14:12
2019-09-15T19:14:12
208,635,891
1
1
Apache-2.0
2019-09-15T18:09:21
2019-09-15T18:09:21
null
UTF-8
Python
false
false
16,014
py
# Copyright 2018 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 by applicable law or agree...
[ "ryangillard@google.com" ]
ryangillard@google.com
cdf83d46c866bb0fd896c3d3359f95a1100fee01
4018ede0bb90d621a1002073529304d942ba4322
/backend/vehicle/migrations/0001_initial.py
41e9f437055310feb82188c190808790ea8ccfd8
[]
no_license
crowdbotics-apps/uber-19759
82ee6d2cd616c1fa699d426f85a964af40b4cb44
17331bfcdfc29a20c2d986e796df2db88a2b5ed1
refs/heads/master
2022-12-27T05:29:15.759136
2020-10-05T01:17:32
2020-10-05T01:17:32
289,784,322
0
0
null
null
null
null
UTF-8
Python
false
false
1,549
py
# Generated by Django 2.2.15 on 2020-08-23 23:37 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('taxi_profile', '0001_initial'), ] operations = [ migrations.CreateModel( n...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
9c15d394fd6b99aa3d6bc0d05671cbe053dda4a1
4c43fb0220bc0c12e8fa21f8cca2618d64b03425
/lab11/OrderRecordServicePS_RS/message_puller.py
5518536f8a9d4b8f8d9469421c1eac6611052f57
[]
no_license
dayanach/IS
fddf0a8b95e6535ca9222ebfd535dc01f581d3bd
d5bab2729a5a6fd03280a62cc0132e7f9d72ba37
refs/heads/master
2022-05-26T09:46:56.543883
2020-05-02T16:18:18
2020-05-02T16:18:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,597
py
import json from threading import Thread import pika import requests def callback(ch, method, props, body): print(" [x] Received %r" % body) payload = json.loads(body.decode('utf-8')) msg = requests.post("http://127.0.0.1:5002/orders/", json=payload) connection = pika.BlockingConnection(pika.Connecti...
[ "ipkumarawd@yahoo.com" ]
ipkumarawd@yahoo.com
90f371715ee021773b7ca9da6fec0febc3eafcbc
36e3d735e06d0642f1e8c26bff57305a01cc627c
/apClient/net_data/migrations/0007_auto_20160428_0551.py
1ab204fe96c50f574cb4f7620bc8e1d1f6d23978
[]
no_license
WilsonWangTHU/ipv6_server
5c768cdaeaf22ee508c5fff162b208481a42f95d
5088f58ab25061e65127699ed328ddaab24f9aac
refs/heads/master
2021-01-18T21:18:39.653994
2016-05-27T04:22:23
2016-05-27T04:22:23
55,656,523
4
0
null
null
null
null
UTF-8
Python
false
false
1,378
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.5 on 2016-04-28 05:51 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('net_data', '0006_auto_20160427_0806'), ] operations = [ migrations.RemoveFie...
[ "wode406@hotmail.com" ]
wode406@hotmail.com
cf36a196e55d8f95b64a061d2c6f6a26228ef58f
3f0b90fd8d81cbc544f6e80a7ed0c254ff71a199
/PyTorch/nlp/transformer/fairseq/fairseq/options.py
f31b209ab284887a6bb0b6ace4b8b538debc54ed
[ "MIT" ]
permissive
omrialmog/Model-References
f25b7c432c36795dcffa6e54fb93bd07d6decffc
45922211087567baada46f6356dd8bd00f2faff8
refs/heads/master
2023-08-16T03:47:39.674059
2021-10-26T23:47:54
2021-10-26T23:47:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,491
py
# Copyright (c) Facebook, Inc. and its affiliates. # Copyright (c) 2021, Habana Labs Ltd. All rights reserved. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. import argparse from pathlib import Path from typing import Callable, List, Optio...
[ "mpandit@habana.ai" ]
mpandit@habana.ai
e9b16c80258ae328972b1a66f590751c25508eb0
272aff93c6f399cd834835970891696e605a1e31
/dsp_ws/build/hector_navigation/hector_costmap/catkin_generated/pkg.installspace.context.pc.py
9203dd9dc86536536a7e49eceaa03f0ccbd62473
[]
no_license
dingjianfeng/dsp_ding2
18c99958a022d2e2fae3aa5888fd07fa279568d6
a3327a1db4635865a07390023c5cc2932456b367
refs/heads/master
2020-05-02T12:41:26.516325
2019-03-27T10:10:26
2019-03-27T10:10:26
177,964,602
0
2
null
null
null
null
UTF-8
Python
false
false
436
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/home/dsp/dsp_ws/install/include".split(';') if "/home/dsp/dsp_ws/install/include" != "" else [] PROJECT_CATKIN_DEPENDS = "".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_PREFIX = "".split(';') if "" != ...
[ "dingjianfeng" ]
dingjianfeng
f21b83ad722ceb1b046532aaa66c353ff2d81b99
2337351b228818e41be3002bd38f68f77c2aa074
/sa/profiles/Eltex/DSLAM/get_ifindexes.py
1daf655961d379978c1d13de48ccb37a501d5fc5
[ "BSD-3-Clause" ]
permissive
nocproject/noc
57d40c680a1499374463e472434f9595ed6d1374
6e6d71574e9b9d822bec572cc629a0ea73604a59
refs/heads/master
2023-08-31T01:11:33.544573
2023-08-30T17:31:11
2023-08-30T17:31:11
107,815,776
105
33
BSD-3-Clause
2023-07-31T07:57:45
2017-10-21T21:04:33
Python
UTF-8
Python
false
false
2,202
py
# --------------------------------------------------------------------- # Generic.get_ifindexes # --------------------------------------------------------------------- # Copyright (C) 2007-2018 The NOC Project # See LICENSE for details # --------------------------------------------------------------------- # NOC modul...
[ "sysfar@gmail.com" ]
sysfar@gmail.com
be6efdac7b8c19e02de4aae801e0423401d88808
bef93432b7745ba5492f11e709e47a5a372590f0
/modules/dxtbx/format/FormatCBFMiniPilatusXXX.py
10e642a2bb5e1094c4d7b1d60ad3896600e1a1e7
[ "BSD-3-Clause" ]
permissive
BlenderCN-Org/dials-dev20190819
939378744d546692e3de33d106a1b5218a584c2a
1b719b88a1642c13a5a8d488addbb215d0fa290c
refs/heads/master
2020-07-19T17:00:06.944870
2019-08-19T21:36:25
2019-08-19T21:36:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,720
py
# Copyright (C) 2014 Diamond Light Source, Graeme Winter # # This code is distributed under the BSD license, a copy of which is # included in the root directory of this package. # # An implementation of the CBF image reader for Pilatus images, from the Pilatus # 6M SN 100 currently on Diamond I04. from __future_...
[ "jorge7soccer@gmail.com" ]
jorge7soccer@gmail.com
f75d9363d3f58cb2e0d6affc103f3d42ab2fe867
340df4cb3e8d07b15ac1d99ebd63cf2150c9a415
/zentral/contrib/inventory/utils.py
daf58bf7ae1bca65fcae0d8177729d8259c2fe72
[ "Apache-2.0" ]
permissive
dekoder/zentral
8e7bd2b51932a42ba3106a1d0ead2c43bfc51227
54cb7be31f8d8731f3a99bf0bd1c0f167404c58e
refs/heads/master
2023-01-20T03:43:05.282387
2020-11-18T18:55:00
2020-11-18T18:55:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
52,008
py
from collections import OrderedDict import csv from datetime import datetime from itertools import chain import logging import os import re import tempfile import urllib.parse import zipfile from django import forms from django.db import connection from django.http import QueryDict from django.utils.text import slugify...
[ "eric.falconnier@112hz.com" ]
eric.falconnier@112hz.com
edd9d190611d86c93ad2a0c1bd2e9ba947c8e046
52c5b78f3afab4573926dd6d0a49e10ee1a77e26
/project_4/app1/migrations/0001_initial.py
31865ddbc05d99f2596e900e8cbe2b3c4fa2036f
[]
no_license
zime-py/eight
d9eefc28a00a8411f3a58b0e931807492bc5bfc2
2138b2a8884dea299654ff7c41060c72f183486c
refs/heads/master
2023-01-11T23:03:53.062441
2020-11-14T14:43:04
2020-11-14T14:43:04
312,831,969
0
0
null
null
null
null
UTF-8
Python
false
false
520
py
# Generated by Django 3.1.1 on 2020-09-05 10:35 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='cool', fields=[ ('id', models.AutoField(aut...
[ "mahmudhossain836@gmail.com" ]
mahmudhossain836@gmail.com
3bfe8561268459da6f00fece955b503d03c776ef
8ae8c4ab4ec7d33d31b55d4678e5e40d555ee24e
/node.py
115960529e2c6188bb926873641d0f2588a03382
[]
no_license
firefirer1983/python_programing
23229b2ae201310752dd919d3757717c96473662
dfe49b9cace0639e49a9e67295e3d76110103103
refs/heads/master
2020-05-30T17:33:59.099549
2019-06-04T12:40:44
2019-06-04T12:40:44
189,877,042
0
0
null
null
null
null
UTF-8
Python
false
false
1,915
py
from collections import defaultdict class Node: def __init__(self, name): self._name = name @property def name(self): return self._name def __str__(self): return self._name class Edge: def __init__(self, src, dst): self._src = src self._dst = dst ...
[ "fyman.zhang@gmail.com" ]
fyman.zhang@gmail.com
731c60ac11e13721e6a93743ada9af4811db31aa
3c5c4c4fb296d08e9e984c4a60ae4fa147293e9a
/ceres/util/block_cache.py
54f514b4d7f2add3e596a58e06bcca9279fe65af
[ "Apache-2.0" ]
permissive
signingup/ceres-combineharvester
a8874ab11145e7ba2223b85483b96dea01054ad0
aad918a03a4a522e0e2f3bac104d19d693d6bf79
refs/heads/main
2023-07-25T04:11:13.765471
2021-09-09T14:59:48
2021-09-09T14:59:48
404,918,382
1
0
Apache-2.0
2021-09-10T01:22:20
2021-09-10T01:22:20
null
UTF-8
Python
false
false
3,732
py
import logging from typing import Dict, List, Optional from ceres.consensus.block_record import BlockRecord from ceres.consensus.blockchain_interface import BlockchainInterface from ceres.types.blockchain_format.sized_bytes import bytes32 from ceres.types.blockchain_format.sub_epoch_summary import SubEpochSummary from...
[ "hulatang_eric@163.com" ]
hulatang_eric@163.com
2a26001d443cb6b58b8139b330be87998641c886
2dd560dc468af0af4ca44cb4cd37a0b807357063
/Leetcode/21. Merge Two Sorted Lists/solution2.py
c0c75749ec0249059072e52b316690eeb23bd917
[ "MIT" ]
permissive
hi0t/Outtalent
460fe4a73788437ba6ce9ef1501291035c8ff1e8
8a10b23335d8e9f080e5c39715b38bcc2916ff00
refs/heads/master
2023-02-26T21:16:56.741589
2021-02-05T13:36:50
2021-02-05T13:36:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
916
py
# Definition for singly-linked list. # class ListNode: # def __init__(self, val=0, next=None): # self.val = val # self.next = next class Solution: def mergeTwoLists(self, l1: ListNode, l2: ListNode) -> ListNode: if not l1 and not l2: return None if not l1: return l2 if no...
[ "info@crazysquirrel.ru" ]
info@crazysquirrel.ru
0cbca552ac46d5ff810627de47fd32c725cb9f9b
7738e950c103fb23b48d5e004eddcf108ea71fa1
/Cursoemvideo/Mundo3/exercise106.py
ee09831fdf4985b1abe94c9121e775d495431ca2
[]
no_license
pedrottoni/Studies-Python
c9bdbaf4b4aaa209bf32aa93d6ee4814a0a39c53
f195bcb4c6868689ec0cf05c34cd4d5a6c7b3ea1
refs/heads/master
2021-09-26T05:23:02.398552
2020-02-12T04:48:23
2020-02-12T04:48:23
203,452,221
0
0
null
2021-09-22T18:21:51
2019-08-20T20:48:07
Python
UTF-8
Python
false
false
835
py
""" Faça um mini-sistema que utilize o Interactive Help do Python. O usuário vai digitar o comando e o manual vai aparecer. Quando o usuário digitar a palavra 'FIM', o programa se encerrará. Importante: use cores. """ colors = ( '\033[m', # Defaut '\033[0;30;41m', # red '\033[0;30;42m', # green ...
[ "pedrottoni@outlook.com" ]
pedrottoni@outlook.com
ec06410ce2adc7455ba1077d79d2470120d5230a
fb0e82ab4b4d15965cce2396fd9ae31ed2de1080
/file2.py
7b8e4b69230dec1d4849187abac9ca76554623e8
[]
no_license
flerchy/My-1-PyProj
477a1ed212d2f4721b1048f43033f1803eda7302
e95973dd424d2bb3557d5475501dafdc3fa46317
refs/heads/master
2020-12-03T04:10:09.120252
2017-06-29T22:55:23
2017-06-29T22:55:23
95,823,795
0
2
null
2017-08-24T11:05:43
2017-06-29T22:04:25
Python
UTF-8
Python
false
false
847
py
#import math class vect: x = 0 y = 0 def Multiply(self, v): v2 = vect(0, 0) v2.x = v.x * self.x v2.y = v.y * self.y return v2 def __init__(self, x: object, y: object) -> object: self.x = x self.y = y class dot: x = 0 y = 0 def Add(self, d)...
[ "flerchy@gmail.com" ]
flerchy@gmail.com
45bca23a6ef9d24fca6aae8566d120036237ddfb
e754fd34d40b41cd56adc947309832574094e0b6
/jiajun_experiment/cifar10_experiment/cifar10.py
0cc9f2f34dea255f2751c7d028bd33e60afa1d25
[]
no_license
yaliamit/Python
7d071fe76eba14c78540b5008d616080bca78ed9
d0e441212a9f86a91723a99f8bfc89d245992a2e
refs/heads/master
2021-01-11T05:01:07.293444
2020-05-28T01:27:20
2020-05-28T01:27:20
71,490,136
4
1
null
null
null
null
UTF-8
Python
false
false
5,688
py
import lasagne import numpy as np import theano.tensor as T import theano import os, sys, gzip from six.moves import urllib import tarfile import pickle import cifar10_input import lasagne from lasagne.layers import LocalResponseNormalization2DLayer, DenseLayer, Conv2DLayer, MaxPool2DLayer, InputLayer, DimshuffleLayer,...
[ "shenjiajun90@gmail.com" ]
shenjiajun90@gmail.com
165cab5c40f49ff674b4d822d6ce98cf4a91d964
ed8cdcce521b8cab33c66f716c0886e17f035d21
/.history/script/get_cpu_mem_info_20191222113543.py
a4ddcbbcc1043433a45c3289e4fc9c9a263e6935
[]
no_license
deancsdfy/AndroidPerformanceTool_windows
8ac35729bc651c3af551f090d6788b6ee3f17eb5
c4906aa9347e8e5eca68dbb7cf2d66a327c70d1f
refs/heads/master
2020-11-27T20:38:55.014228
2020-01-09T15:55:52
2020-01-09T15:55:52
229,593,460
0
0
null
null
null
null
UTF-8
Python
false
false
3,029
py
#! python3 #coding=utf-8 import sys,os,re print(sys.path) sys.path.append('.') from public import publicfunction as util PATH = lambda p: os.path.abspath(p) #获取当前应用包名 package_name = util.get_current_packagename() # print('本次测试APP为:%s' %(package_name)) #获取men cpu 占用情况 def top(): print('Starting get mem cpu inform...
[ "denacsdfy@gmail.com" ]
denacsdfy@gmail.com
850d09c0f348c17d5cf4d4f63e9c595609e66659
8364e4d23191ee535c163debffafa8418d705843
/test/test_v1beta1_cron_job_status.py
0240f917290f60dc3c62a8ed58c7e06548496912
[ "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
982
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 """ from __future__ import absolute_import import u...
[ "olitheolix@gmail.com" ]
olitheolix@gmail.com
140c36e514ac1e06b410d5e548d03c864a0c432c
24d8cf871b092b2d60fc85d5320e1bc761a7cbe2
/wicd/rev519-537/wicdMerge/wicd/backend.py
2cd969a4f2227e3f956a033686a6a1581ac2fd22
[]
no_license
joliebig/featurehouse_fstmerge_examples
af1b963537839d13e834f829cf51f8ad5e6ffe76
1a99c1788f0eb9f1e5d8c2ced3892d00cd9449ad
refs/heads/master
2016-09-05T10:24:50.974902
2013-03-28T16:28:47
2013-03-28T16:28:47
9,080,611
3
2
null
null
null
null
UTF-8
Python
false
false
2,990
py
""" Backend manager for wicd. Manages and loads the pluggable backends for wicd. """ import sys import os import wicd.wpath as wpath from baseinterface import BaseInterface class BackendManager (object) : def __init__(self): """ Initialize the backend manager. """ self.backend_dir = "backends" ...
[ "joliebig@fim.uni-passau.de" ]
joliebig@fim.uni-passau.de
7b3a80399f925636af6425245743c95bcadcf42d
6a730375ce4b5af3d832f9b81a9164edd2cd2880
/igdb_match_names.py
2bc32d2990ffdbb6ecb7a6422fef92ee02bc1d57
[ "MIT" ]
permissive
woctezuma/metacouncil-goty
b20fc76e8e8c4b15c159663b6181db0c31045682
bbbc718b2ae171d92bfb360527e0d6f41c332594
refs/heads/master
2023-09-04T09:50:35.309976
2023-02-05T18:48:57
2023-02-05T18:48:57
163,838,387
1
0
MIT
2023-09-14T17:51:15
2019-01-02T12:30:02
Python
UTF-8
Python
false
false
20,395
py
import copy import time from disqualify_vote import is_a_noisy_vote from extend_igdb import extend_both_igdb_databases, extend_igdb_match_database from igdb_databases import ( load_igdb_local_database, load_igdb_match_database, save_igdb_local_database, save_igdb_match_database, ) from igdb_look_up imp...
[ "woctezuma@users.noreply.github.com" ]
woctezuma@users.noreply.github.com
fde44d5d006e5ec5248ff47a658973924c676d68
f3b233e5053e28fa95c549017bd75a30456eb50c
/mcl1_input/L36/36-35_MD_NVT_rerun/set_1ns_equi_1.py
0ea1c77d5e2d79791410687f4e64ca8b29dd7c03
[]
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
925
py
import os dir = '/mnt/scratch/songlin3/run/mcl1/L36/MD_NVT_rerun/ti_one-step/36_35/' filesdir = dir + 'files/' temp_equiin = filesdir + 'temp_equi_1.in' temp_pbs = filesdir + 'temp_1ns_equi_1.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] for...
[ "songlin3@msu.edu" ]
songlin3@msu.edu
b0c36703950d6c12151ca5149dff452c3190ec04
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/138/usersdata/201/53117/submittedfiles/volumeTV.py
8edb280ea7ea90acf2183f107078000ec0dd653e
[]
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
266
py
-*- coding: utf-8 -*- V=int(input('Volume inicial:')) T=int(input('Variação do volume:')) soma=V for i in range(1,T+1,1): n=int(input('Muudança de volume:')) soma=soma+1 if soma>100: soma=100 elif soma<0: soma=0 print(soma)
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
4e7f60a0275bdcfe3703e3ac63914ff611e793df
1c9abb4b27517d99d579a4284035f39e092033e5
/0x11-python-network_1/2-post_email.py
d0dc27e1da547b11f12ea8805e2802503a9fc511
[]
no_license
95ktsmith/holbertonschool-higher_level_programming
15160e6e76f7f6f7e4ddfd2266cf9bf60fddbcb5
c845402a9b4c7ad9d1c1b1a983f9fb7a4727209d
refs/heads/master
2022-12-19T05:56:00.288537
2020-09-24T23:32:20
2020-09-24T23:32:20
259,328,593
0
1
null
null
null
null
UTF-8
Python
false
false
348
py
#!/usr/bin/python3 """ POST an email """ if __name__ == "__main__": from urllib import request from urllib import parse from sys import argv data = parse.urlencode({'email': argv[2]}).encode('ascii') req = request.Request(argv[1], data) with request.urlopen(req) as response: print(respo...
[ "95ktsmith@gmail.com" ]
95ktsmith@gmail.com
c65f1abb5a53c4cd127b36179a9397dbb9797578
93f200a88e6084be9dad4422195f5e7af6eecb68
/src/pymor/analyticalproblems/text.py
d1bb4d4fe6c8f6bfa6f6d941c81d83651fca99de
[ "BSD-2-Clause" ]
permissive
mahgadalla/pymor
dfc163b396c15dec05ea519ee0e9b3277ba5c84f
ee2806b4c93748e716294c42454d611415da7b5e
refs/heads/master
2020-03-21T13:08:00.819939
2018-06-15T12:19:00
2018-06-18T08:08:07
138,589,646
1
0
null
2018-06-25T12:05:39
2018-06-25T12:05:39
null
UTF-8
Python
false
false
3,275
py
# -*- coding: utf-8 -*- # This file is part of the pyMOR project (http://www.pymor.org). # Copyright 2013-2017 pyMOR developers and contributors. All rights reserved. # License: BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause) from pymor.analyticalproblems.elliptic import StationaryProblem from pymor...
[ "stephanrave@uni-muenster.de" ]
stephanrave@uni-muenster.de
48bd9280efa0de89650a0336d76d194c09989518
dd949f215d968f2ee69bf85571fd63e4f085a869
/systems/css-2011-teams/blue/subarchitectures/planner.sa/src/base_planners/downward/plan.py
b98bbe87d41a3acc5beeb19f1f35a0306dfed8db
[]
no_license
marc-hanheide/cogx
a3fd395805f1b0ad7d713a05b9256312757b37a9
cb9a9c9cdfeba02afac6a83d03b7c6bb778edb95
refs/heads/master
2022-03-16T23:36:21.951317
2013-12-10T23:49:07
2013-12-10T23:49:07
219,460,352
1
2
null
null
null
null
UTF-8
Python
false
false
1,210
py
#! /usr/bin/env python2.5 import os import subprocess import sys import shutil path = os.path.abspath(os.path.dirname(__file__)) # where this file resides def main(): def run(*args, **kwargs): input = kwargs.pop("input", None) output = kwargs.pop("output", None) assert not kwargs redirections = {} if inpu...
[ "marc@hanheide.net" ]
marc@hanheide.net
4ea429fb0979407907d6336d069e7fbbe0fd2e87
8cde806e824208949fd9e34806445d05114860cc
/detools/compression/heatshrink.py
c7f535d58b3d9ff41dbd3c60cd647beae73eb8f7
[ "BSD-2-Clause", "MIT" ]
permissive
tips367/detools
80003facc744147c39f339cfe20b2d3eb8dccd70
21092202cdefc3358f450801be0e1855ea06a18d
refs/heads/master
2022-12-29T14:33:08.882316
2020-10-16T15:20:08
2020-10-16T15:20:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,170
py
"""Heatshrink wrapper. """ import bitstruct from heatshrink2.core import Writer from heatshrink2.core import Reader from heatshrink2.core import Encoder def pack_header(window_sz2, lookahead_sz2): return bitstruct.pack('u4u4', window_sz2 - 4, lookahead_sz2 - 3) def unpack_header(data): window_sz2, lookah...
[ "erik.moqvist@gmail.com" ]
erik.moqvist@gmail.com
fa1b8dd2c5c5d52eb24c24a8d293b35c86edfe04
13c111d2c405fef3b074fd7f7ed7cd06cc05084a
/graphql_start/migrations/0003_auto_20181101_1259.py
516bc9625590708dfdd411fe9a0b44ec7caf73ea
[]
no_license
Dimas4/GraphQL-Django
7da5f73cb0427f4e7bbf5a48e1c4bd45fc35cfb6
3fb6919cd2c30848e08e251279e0445dab6f8247
refs/heads/master
2020-04-04T09:48:38.987618
2018-11-09T09:33:15
2018-11-09T09:33:15
155,831,201
0
0
null
null
null
null
UTF-8
Python
false
false
778
py
# Generated by Django 2.1.2 on 2018-11-01 12:59 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('graphql_start', '0002_auto_20181101_1259'), ] operations = [ migrations.Ad...
[ "ivanshatukho@yandex.ru" ]
ivanshatukho@yandex.ru
87d539feff1c1a1de2c0a589f30bbf9f8563d755
055581f9d6c81eda2f73ea05b90b7a2256da1219
/parts/zodiac/pyramid/tests/pkgs/forbiddenapp/__init__.py
62e9ac8ce0495f112404a61b8044172505e83eb9
[]
no_license
Tosti770/zodiac
488a91c3e872a62d09a3ebb22a951dadcbd1c2df
af0380e20eb90699a84e3b7c6cb2085a1fb81667
refs/heads/master
2020-04-13T06:54:26.333228
2014-03-03T20:10:11
2014-03-03T20:10:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
89
py
/home/ruben/zodiac/eggs/pyramid-1.4-py2.7.egg/pyramid/tests/pkgs/forbiddenapp/__init__.py
[ "ruben_tc@hotmail.es" ]
ruben_tc@hotmail.es
77aa658e02bb132300c8e65d1c3916d6b8025cbd
0956319ecf55da86b05237e2a26a0ebae41fe884
/scrape-circuit-patch-share.py
d8b01153c1d2393e0658f7d14b0b738e04634d4a
[ "LicenseRef-scancode-public-domain" ]
permissive
SpotlightKid/personal-scripts
65492ea919ec3634daa40eac6803067e390ffa79
8e93005e740987adc5a8403ab80e0049998bfbbe
refs/heads/master
2023-08-20T16:27:25.717092
2023-08-19T11:48:42
2023-08-19T12:37:26
167,387,617
4
0
null
null
null
null
UTF-8
Python
false
false
2,080
py
#!/usr/bin/env python2 """Scrape Novation Circuit SysEx patch data from HTML saved from Circuit Patch Share site.""" import argparse import logging import os import re import sys from os.path import exists, join from base64 import b64decode log = logging.getLogger('scrape-circuit-patch-share') def safe_name(name):...
[ "chris@chrisarndt.de" ]
chris@chrisarndt.de
5226b1f41f04ac77a049d211af76f2e57c43105c
673f9b85708affe260b892a4eb3b1f6a0bd39d44
/Botnets/App/App Web/PDG-env/lib/python3.6/site-packages/pandas/tests/dtypes/test_concat.py
02daa185b1cdb687219a6be79e0400731acdfc72
[ "MIT" ]
permissive
i2tResearch/Ciberseguridad_web
feee3fe299029bef96b158d173ce2d28ef1418e4
e6cccba69335816442c515d65d9aedea9e7dc58b
refs/heads/master
2023-07-06T00:43:51.126684
2023-06-26T00:53:53
2023-06-26T00:53:53
94,152,032
14
0
MIT
2023-09-04T02:53:29
2017-06-13T00:21:00
Jupyter Notebook
UTF-8
Python
false
false
2,435
py
import pytest import pandas.core.dtypes.concat as _concat from pandas import DatetimeIndex, Period, PeriodIndex, Series, TimedeltaIndex @pytest.mark.parametrize( "to_concat, expected", [ # int/float/str ([["a"], [1, 2]], ["i", "object"]), ([[3, 4], [1, 2]], ["i"]), ([[3, 4], ...
[ "ulcamilo@gmail.com" ]
ulcamilo@gmail.com
986576fea2470a7c79037f9f2e1ec6d1f08251f2
b83a23fa50e8f1ca6ce1fb3b550e6ceb1b513261
/aliyun-python-sdk-live/aliyunsdklive/request/v20161101/AddCasterComponentRequest.py
c939357ca0b2390c92cbbcb114802eddb670e807
[ "Apache-2.0" ]
permissive
sunfuze/aliyun-openapi-python-sdk
c9f8143cf1ceac1bdd09f36d5f4493a510f48a0b
09910c57081f207da294d6d2fe981f7f913bc501
refs/heads/master
2021-03-24T12:01:12.107284
2018-01-18T06:32:06
2018-01-18T06:32:06
118,209,677
1
0
null
2018-01-20T04:41:58
2018-01-20T04:41:58
null
UTF-8
Python
false
false
2,951
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...
[ "haowei.yao@alibaba-inc.com" ]
haowei.yao@alibaba-inc.com
872f46b1d5265e8af1c408c23647f1e3647142a3
29e91d422f0fcad92f0e25b3dbb9efd39dc01162
/electronic-station/weak-point.py
63745fe8a2295a4af4e98785b732a6fed26e2473
[]
no_license
cielavenir/checkio
c206410b7d8d368e80ad0f66f6314097bd900bcd
e2dfcdef75cd68ca3cced159225b5433570bd85b
refs/heads/master
2021-01-22T20:34:29.899146
2018-02-22T15:16:21
2018-02-22T15:16:21
85,328,995
0
1
null
null
null
null
UTF-8
Python
false
false
675
py
w=lambda m:min(list(range(len(m))),key=lambda i:sum(m[i][j]for j in range(len(m)))) weak_point=lambda m:[w(m),w(list(zip(*m)))] if __name__ == '__main__': assert isinstance(weak_point([[1]]), (list, tuple)), "The result should be a list or a tuple" assert list(weak_point([[7, 2, 7, 2, 8], [2, 9, 4, 1, 7], ...
[ "cielartisan@gmail.com" ]
cielartisan@gmail.com
b548121d1bdde5836f7a4a846c7841648d2592bc
e29f8c29a993156b7de7b0451d63ad8cca51c9a6
/zajecia10/czas_godzina1.py
cd07774d76e7b37bd5bcebda52c33b00869cbffd
[]
no_license
remekwilk/python_basic
d898ad26aba809eb14ebed9d94bd93db69154ffa
af145a9711dabca232dc5f5be8fe4c407a5fda54
refs/heads/master
2020-05-03T14:42:19.523070
2020-04-11T20:42:03
2020-04-11T20:42:03
176,701,000
0
0
null
null
null
null
UTF-8
Python
false
false
407
py
from datetime import time samo_poludnie = time(12) print(samo_poludnie) kwadrans_po_osmej = time(8, 15) print(kwadrans_po_osmej) usain_bolt_na_100m = time(0, 0, 9, 580000) # ostatni argument jest w mikrosekundach usain_bolt_na_100m = time(second=9, microsecond=580000) # ostatni argument jest w mikrosekundach pr...
[ "remekwilk@gmail.com" ]
remekwilk@gmail.com
f2355712075a733730ccd7d93e61854573372a8e
769f6d88fd777459eb60eb1bbb0fba17cb20d963
/Chapter05/05_01_Robots.py
cbb36dfa52b7f3c567c4f06bfda9bf6e6ebc3cb9
[ "MIT" ]
permissive
PacktPublishing/Python-Web-Scraping-Cookbook
141379d09abe2c7d8f408858a2eb44ff0fe3ef26
030eb974ba1437b2590b59d38f19fb697bbf9d4c
refs/heads/master
2023-02-16T04:29:49.942243
2023-01-30T04:19:03
2023-01-30T04:19:03
120,744,571
115
105
MIT
2019-10-03T17:38:37
2018-02-08T10:08:48
HTML
UTF-8
Python
false
false
305
py
from reppy.robots import Robots url = "http://www.amazon.com" robots = Robots.fetch(url + "/robots.txt") paths = [ '/', '/gp/dmusic/', '/gp/dmusic/promotions/PrimeMusic/', '/gp/registry/wishlist/' ] for path in paths: print("{0}: {1}".format(robots.allowed(path, '*'), url + path))
[ "packt.danishs@gmail.com" ]
packt.danishs@gmail.com