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
947be1e5855170a34fac0ed38adb9748a4e88f48
a68a52f6772aca84045c1ad6b5d7ed3dd541bc92
/caronas/wsgi.py
034269f3417e29bb273ccddac871211b43fbd58e
[]
no_license
amaurirg/caronas
e01220e23b12e018b3a6ed4b7fe2d5c1e4265b8b
36d32df5a8195246536afe2ee711e3af91c8f024
refs/heads/master
2021-11-27T14:07:20.256553
2020-03-24T03:01:37
2020-03-24T03:01:37
249,255,578
0
0
null
2021-09-22T18:46:51
2020-03-22T19:19:55
Python
UTF-8
Python
false
false
426
py
""" WSGI config for caronas 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 dj_static import Cling from django.core.wsgi import get_wsgi_application os.envi...
[ "amaurirg@terra.com.br" ]
amaurirg@terra.com.br
e908fd03af210b89a21a0f5b92e27f7921a4cb81
a904e99110721719d9ca493fdb91679d09577b8d
/month01/all_code/day03/demo10.py
6244a1511c404a92a9422b1acf1acc740f073d85
[ "Apache-2.0" ]
permissive
chaofan-zheng/tedu-python-demo
7c7c64a355e5380d1f8b6464affeddfde0d27be7
abe983ddc52690f4726cf42cc6390cba815026d8
refs/heads/main
2023-03-12T05:17:34.596664
2021-02-27T08:33:31
2021-02-27T08:33:31
323,350,480
4
1
null
null
null
null
UTF-8
Python
false
false
311
py
""" 延长软件生命 while True: 循环体 if 条件: break """ # 死循环 while True: if input("请输入职位:") == "高管": print("娶你") else: print("继续努力") if input("请输入q键退出:") == "q": break # 跳出循环
[ "chaofan1@berkeley.edu" ]
chaofan1@berkeley.edu
1737165e6d542d3a02746cf075b259d4bced2523
444a9480bce2035565332d4d4654244c0b5cd47b
/research/cv/lenet/preprocess.py
2f17d3d4a9ab8e0e5ecdd99bcd5d6af89f833ca6
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference", "LicenseRef-scancode-proprietary-license" ]
permissive
mindspore-ai/models
7ede9c6454e77e995e674628204e1c6e76bd7b27
eab643f51336dbf7d711f02d27e6516e5affee59
refs/heads/master
2023-07-20T01:49:34.614616
2023-07-17T11:43:18
2023-07-17T11:43:18
417,393,380
301
92
Apache-2.0
2023-05-17T11:22:28
2021-10-15T06:38:37
Python
UTF-8
Python
false
false
2,238
py
# Copyright 2021 Huawei Technologies Co., Ltd # # 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...
[ "chenhaozhe1@huawei.com" ]
chenhaozhe1@huawei.com
23833af915e3102d8a80be986ffdd13968595483
77495742001deb25fafe8c59a5f92d61a25e0288
/plots/plot_inv_cov.py
be390671165f1fe3b86052088cfbcd33e9de777a
[]
no_license
zakiali/psa64_pspec
95742e3d44e9da0407727ed3a54168a105c9f833
aad39afa27a92103e6a419dc473ff2a164703b86
refs/heads/master
2021-01-13T02:18:01.063299
2018-08-23T20:15:40
2018-08-23T20:15:40
22,535,174
0
2
null
2015-01-19T07:44:50
2014-08-02T00:48:19
TeX
UTF-8
Python
false
false
3,512
py
#! /usr/bin/env python import numpy as n, pylab as p, capo from matplotlib import gridspec def cov(m): '''Because numpy.cov is stupid and casts as float.''' #return n.cov(m) X = n.array(m, ndmin=2, dtype=n.complex) X -= X.mean(axis=1)[(slice(None),n.newaxis)] N = X.shape[1] fact = float(N - 1) ...
[ "aparsons@berkeley.edu" ]
aparsons@berkeley.edu
96eed993035825473d808b05cd20c39ae139cd2f
6c8f7f5c3e8a61d3d1c63e7c3f19953df496ae8f
/problems/unsolved_problems/test_484_arithmetic_derivative.py
083066d96a45e15830aec2449f0d4ebbd5b35589
[]
no_license
KristofferFJ/PE
a5b5f8dabbd0ee6e61506899eabf070ae0cad619
4715da077fac3bb8f061f6d773166c575c9c7813
refs/heads/master
2022-08-07T03:57:54.712661
2022-07-24T20:28:24
2022-07-24T20:28:24
118,385,527
1
0
null
null
null
null
UTF-8
Python
false
false
284
py
import unittest """ Arithmetic Derivative The arithmetic derivative is defined by For example, 20' = 24. Find ∑ gcd(k,k') for 1 < k ≤ 5×1015. Note: gcd(x,y) denotes the greatest common divisor of x and y. """ class Test(unittest.TestCase): def test(self): pass
[ "kristofferfage@gmail.com" ]
kristofferfage@gmail.com
a659e7d802dfdc4c829f709c95d9ee81d3e2f03c
b3b066a566618f49ae83c81e963543a9b956a00a
/Introduction to Importing Data in Python/01_Introduction and flat files/12_Using pandas to import flat files as DataFrames (1).py
d803afd49714c2f330b8d43fd618fc53307ffaac
[]
no_license
ahmed-gharib89/DataCamp_Data_Scientist_with_Python_2020
666c4129c3f0b5d759b511529a365dfd36c12f1a
f3d20b788c8ef766e7c86c817e6c2ef7b69520b8
refs/heads/master
2022-12-22T21:09:13.955273
2020-09-30T01:16:05
2020-09-30T01:16:05
289,991,534
2
0
null
2020-08-24T17:15:43
2020-08-24T17:15:42
null
UTF-8
Python
false
false
1,189
py
''' Using pandas to import flat files as DataFrames (1) 100xp In the last exercise, you were able to import flat files containing columns with different datatypes as numpy arrays. However, the DataFrame object in pandas is a more appropriate structure in which to store such data and, thankfully, we can easily import f...
[ "Your-Email" ]
Your-Email
998c0a20e8f17892960712a8fa9442c07050fc86
1d2bbeda56f8fede69cd9ebde6f5f2b8a50d4a41
/easy/python/c0171_696_count-binary-substrings/00_leetcode_0171.py
a42a1847317bac5258ca2843857da8e06d4cd700
[]
no_license
drunkwater/leetcode
38b8e477eade68250d0bc8b2317542aa62431e03
8cc4a07763e71efbaedb523015f0c1eff2927f60
refs/heads/master
2020-04-06T07:09:43.798498
2018-06-20T02:06:40
2018-06-20T02:06:40
127,843,545
0
2
null
null
null
null
UTF-8
Python
false
false
1,237
py
# DRUNKWATER TEMPLATE(add description and prototypes) # Question Title and Description on leetcode.com # Function Declaration and Function Prototypes on leetcode.com #696. Count Binary Substrings #Give a string s, count the number of non-empty (contiguous) substrings that have the same number of 0's and 1's, and all th...
[ "Church.Zhong@audiocodes.com" ]
Church.Zhong@audiocodes.com
9433d0df0d626be056787ccddef99dc8f3a19ca5
c6634a86b42477746df3fb37590ec40896344245
/Ciclo 1/Hackerrank/mayores_al_promedio.py
14a454f3e2bcd896496c7421e2b05af5c21d5847
[]
no_license
lordjuacs/ICC-Trabajos
2163818fe52d3102c4258b1e8f3462092b55f8e1
68f4fc3ae1bd63d76fdbc0490300b9e4130e792e
refs/heads/master
2022-04-11T06:58:00.367990
2020-03-29T19:40:43
2020-03-29T19:40:43
251,117,665
0
0
null
null
null
null
UTF-8
Python
false
false
385
py
N = int(input()) nombres = [] edades = [] for i in range(N): (name,age) = input().split(",") if int(age) > 0: nombres.append(name) edades.append(int(age)) sumas = sum(edades) promedio = sumas / N for valor in range(len(edades)): if edades[valor] > promedio: impresion = str(no...
[ "50754596+lordjuacs@users.noreply.github.com" ]
50754596+lordjuacs@users.noreply.github.com
6bce363d58789186678827e9f1964e96983af543
8ffa21848cfc7d1b1ac76d53fd181147dfd29953
/api-test/py-test/Part3_Python_CookBook/test_warn.py
9af272b404c4b6fd9bc3dc9193b08d9942e8225d
[]
no_license
un-knower/data-base
51cfefd91970073c61ccd2f5f7034ccc5d86a794
3274f828d326af8dbd7600530f4c0264a0bc7ba3
refs/heads/master
2020-04-02T16:35:05.287543
2018-09-24T11:34:03
2018-09-24T11:34:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,170
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Author: HuHao <huhao1@cmcm.com> Date: '2018/7/21' Info: """ import os,traceback,warnings def func(x,y,logfile=None,debug=False): if logfile is not None: warnings.warn('logfile argument deprecated',DeprecationWarning) # 相当于抛出DeprecationWarning异常 def test_a...
[ "huhao1@cmcm.com" ]
huhao1@cmcm.com
ba08b62939239e1013135539faec6a307124d3c8
669d3a3677e02c85c4a261c898421742f88a3c21
/python/gevent/build/gevent/greentest/test__greenlet.py
408aa8daf16375e12ab2b5e9a7a22ef9f9f14474
[ "LicenseRef-scancode-warranty-disclaimer", "BSD-2-Clause", "MIT" ]
permissive
dgquintas/my-code-samples
d0cea76353f734a6ccd3263aa33cd6a1897b32a1
febe30a92bdaf0f3a8985b887c60359290627218
refs/heads/master
2021-01-17T08:06:37.748184
2016-06-27T06:25:13
2016-06-27T06:25:13
3,951,623
1
2
null
null
null
null
UTF-8
Python
false
false
22,449
py
# Copyright (c) 2008-2009 AG Projects # Author: Denis Bilenko # # 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, mo...
[ "dgquintas@gmail.com" ]
dgquintas@gmail.com
6fd2430a6103d67649d13463147eb916ee457654
8c2de4da068ba3ed3ce1adf0a113877385b7783c
/egs/sre19-av-v/v0.1/steps_be/eval-face-vid-be-snorm-v5.py
660854e372e81099d3a38ad282bb3ff5decf8f61
[ "Apache-2.0" ]
permissive
hyperion-ml/hyperion
a024c718c4552ba3a03aae2c2ca1b8674eaebc76
c4c9eee0acab1ba572843373245da12d00dfffaa
refs/heads/master
2023-08-28T22:28:37.624139
2022-03-25T16:28:08
2022-03-25T16:28:08
175,275,679
55
20
Apache-2.0
2023-09-13T15:35:46
2019-03-12T18:40:19
Python
UTF-8
Python
false
false
4,338
py
#!/usr/bin/env python """ Copyright 2019 Johns Hopkins University (Author: Jesus Villalba) Apache 2.0 (http://www.apache.org/licenses/LICENSE-2.0) Evals PLDA LLR """ import sys import os import argparse import time import logging import numpy as np from hyperion.hyp_defs import float_cpu, config_logger fro...
[ "jesus.antonio.villalba@gmail.com" ]
jesus.antonio.villalba@gmail.com
e07f48003f8583184a691d8b31860f96785769b4
b19e1b930518ed75de0bffabd35fd2947a2f148a
/nipype/interfaces/slicer/diffusion/tests/test_auto_DWIRicianLMMSEFilter.py
2a7dbc3da5e94557b19845f1127aebf82ab1f0c6
[ "BSD-3-Clause" ]
permissive
dmcnamee/nipype
f960994524891780659e619cc02342e1f8b87b82
97eb1d726cb94310d5e5cdcabe884be9c61bcff9
refs/heads/master
2020-12-25T20:54:58.984335
2014-01-10T23:29:41
2014-01-10T23:29:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,597
py
# AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT from nipype.testing import assert_equal from nipype.interfaces.slicer.diffusion.diffusion import DWIRicianLMMSEFilter def test_DWIRicianLMMSEFilter_inputs(): input_map = dict(ignore_exception=dict(nohash=True, usedefault=True, ), outputVolume=dict(po...
[ "satra@mit.edu" ]
satra@mit.edu
5b8268615d5e7cfa6db411cc1184a6b0d5534cb7
99ba551645dc9beed36f0478b396977c50c3e7ef
/队列和栈/queue-stack_3_3.py
b80482bec3ee03c93de41822379f50ac6fb9cecd
[]
no_license
wulinlw/leetcode_cn
57381b35d128fb3dad027208935d3de3391abfd0
b0f498ebe84e46b7e17e94759dd462891dcc8f85
refs/heads/master
2021-08-09T17:26:45.688513
2021-07-15T14:38:30
2021-07-15T14:38:30
134,419,586
0
0
null
null
null
null
UTF-8
Python
false
false
2,627
py
#!/usr/bin/python #coding:utf-8 # https://leetcode-cn.com/explore/learn/card/queue-stack/218/stack-last-in-first-out-data-structure/879/ # 每日温度 # 根据每日 气温 列表,请重新生成一个列表,对应位置的输入是你需要再等待多久温度才会升高超过该日的天数。如果之后都不会升高,请在该位置用 0 来代替。 # 例如,给定一个列表 temperatures = [73, 74, 75, 71, 69, 72, 76, 73],你的输出应该是 [1, 1, 4, 2, 1, 1, 0, 0]。 # 提示...
[ "wulinlw@gmail.com" ]
wulinlw@gmail.com
8bdcbc8c5e1d34cb2fd3a3e691cbe201199b4851
9697c3de9fd452eec4d63afb07ad64d4b56fa68c
/utils/crypto.py
c2b38d77384d53c4d457aab559956ee8e92a343c
[ "MIT" ]
permissive
robinagist/Manic-Mapped-Memory-Server
1a34d955c4d43a49541bb177f3f91487f01357ff
b1bdefbb11c7489164a0c08bb092ffecb5900261
refs/heads/master
2021-05-11T16:32:37.505291
2018-04-12T18:19:36
2018-04-12T18:19:36
117,767,720
2
0
MIT
2018-03-01T16:26:20
2018-01-17T01:48:57
Python
UTF-8
Python
false
false
1,654
py
import hashlib, xxhash, sha3, rsa import config from manic.exceptions import ManicCryptograhicError # crypto functions for Manic # use xxhash and md5 for non-crypto digests def non_c_hash(str, seed=0): str = bytes(str, 'utf-8') if config.NON_CRYPTO_HASH == config.XXHASH: return xxhash.xxh64(str, s...
[ "=" ]
=
4dc286d56bae1c50e0ef95e9bcad0291749214e1
d25cbd4234170c7f5443d7764943d316846c8ac4
/pygmt/src/sphdistance.py
f6242b1f43d0c74773cc4c57848ff71216283c92
[ "BSD-3-Clause" ]
permissive
GenericMappingTools/pygmt
6ca3af844cee51c7ec4cafaaba3918c35f871791
e4ee800e8045aa5f94ddaf7ad821421d007ab279
refs/heads/main
2023-08-19T04:39:41.666114
2023-08-16T14:25:23
2023-08-16T14:25:23
85,352,251
490
191
BSD-3-Clause
2023-09-14T13:34:26
2017-03-17T20:31:51
Python
UTF-8
Python
false
false
4,815
py
""" sphdistance - Create Voronoi distance, node, or natural nearest-neighbor grid on a sphere """ from pygmt.clib import Session from pygmt.exceptions import GMTInvalidInput from pygmt.helpers import ( GMTTempFile, build_arg_string, fmt_docstring, kwargs_to_strings, use_alias, ) from pygmt.io import...
[ "noreply@github.com" ]
GenericMappingTools.noreply@github.com
9c52149d24b9efd8058b8ba7b0dd3eb0ea2c384b
53438732c6bc70b0d15eea99d961d6036f8839df
/Auth1/venv/bin/easy_install-3.7
cf63b5f6b3e15e33228d0965b699088da8449bd6
[]
no_license
Amarjeet2629/MyPycharmProjects
6e07c972dce8ef12453ae0246bcbfcfd03cba1fb
179a87f327d7c036a6192d0c6e372f2f1e3588ff
refs/heads/master
2023-05-07T20:32:22.091132
2021-04-20T17:06:15
2021-04-20T17:06:15
224,671,445
0
0
null
2023-04-21T20:51:29
2019-11-28T14:32:13
Python
UTF-8
Python
false
false
451
7
#!/home/amarjeet-pc/PycharmProjects/Auth1/venv/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==40.8.0','console_scripts','easy_install-3.7' __requires__ = 'setuptools==40.8.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe...
[ "amarjeet.sinha.mec17@itbhu.ac.in" ]
amarjeet.sinha.mec17@itbhu.ac.in
a249767b06992a6cb313b47da8a4e50850a8863f
3c000380cbb7e8deb6abf9c6f3e29e8e89784830
/venv/Lib/site-packages/cobra/modelimpl/ospf/lsustats1d.py
cc00b781b6683e4a2e31f3a8914af964ff8dd69a
[]
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
37,959
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
9cbf2a768f4751c9d0a84a0f959723350885707e
1979ad81f809a8e6798dbaeca38fa3a5920bca7d
/pycmd/lib/src/main.py
c0a837c12e0723f294fbb407103e19943e8a10b0
[]
no_license
eacevedof/prj_python37
90951f17f3f3e2d6a846e73f05088079568fa1de
4a2d7065b234dac048fc753d5a71fff756fbab86
refs/heads/master
2023-04-28T08:58:27.414511
2023-04-21T21:17:43
2023-04-21T21:17:43
175,962,623
4
2
null
2023-02-16T01:33:46
2019-03-16T11:20:28
Python
UTF-8
Python
false
false
833
py
import os import sys # framework de linea de comandos import click # mis librerias from src.bootstrap.builtins_ext import * #inyecta en builtin from src.components.component_log import * from src.commands import cmd_regex as cmdregex from src.commands import cmd_prueba as cmdprueba @click.group() @click.pass_co...
[ "eacevedof@yahoo.es" ]
eacevedof@yahoo.es
a47879ca5318eb1143581a5103a0782ae75680b6
0c41031269497790425702d4ad882423dc443a6a
/cleaning/clean_1.py
a1317d2eab7df5573d2deb2aa0bb055e2f3e1498
[]
no_license
diegoami/datacamp-courses-PY
4c546e69241ca429adefdd459db92d617cfa0e9f
bab3082929fa6f1cf2fc2f2efb46d16374715b4b
refs/heads/master
2023-07-20T06:42:29.776349
2018-10-28T22:57:21
2018-10-28T22:57:21
92,448,198
0
0
null
null
null
null
UTF-8
Python
false
false
631
py
# Import pandas import pandas as pd # Read the file into a DataFrame: df df = pd.read_csv('../data/job_applications.csv') # Print the head of df print(df.head()) # Print the tail of df print(df.tail()) # Print the shape of df print(df.shape) # Print the columns of df print(df.columns) # Print the head and tail o...
[ "diego.amicabile@gmail.com" ]
diego.amicabile@gmail.com
cd9d675dd80b82f2573eec08940390eba6fd7647
56d7b78985aa17963de722f160fdb71fb67c3da7
/metaforce/pearl/__init__.py
60b66059c79ff456127b0a23da97329c87da6cd1
[]
no_license
pengzhenghao/metaforce
26bcec0d2b55c553aa52051b8c912d4519e5251f
4625bc68b3977a439ffb0e5b19a85abe268d9329
refs/heads/master
2022-12-21T21:14:33.741564
2020-09-08T09:07:11
2020-09-08T09:07:11
289,218,354
2
2
null
2020-09-14T07:49:08
2020-08-21T08:27:09
Python
UTF-8
Python
false
false
3,247
py
# default PEARL experiment settings # all experiments should modify these settings only as needed default_config = dict( env_name='cheetah-dir', n_train_tasks=2, n_eval_tasks=2, latent_size=5, # dimension of the latent context vector net_size=300, # number of units per FC layer in each network ...
[ "noreply@github.com" ]
pengzhenghao.noreply@github.com
8060420d3dd038bb15a8b40f248c0bec8b73f8c8
fee71dd79c16f8e4aa4be46aa25863a3e8539a51
/ear/core/scenebased/design.py
b739216a10d46365f8568d1d69d01c925b15d27f
[ "BSD-3-Clause-Clear" ]
permissive
ebu/ebu_adm_renderer
d004ed857b3004c9de336426f402654779a0eaf8
ef2189021203101eab323e1eccdd2527b32a5024
refs/heads/master
2023-08-09T09:13:06.626698
2022-12-07T12:22:39
2022-12-07T12:22:39
123,921,945
61
13
BSD-3-Clause-Clear
2023-08-30T17:17:05
2018-03-05T13:15:36
Python
UTF-8
Python
false
false
3,962
py
import numpy as np import warnings from .. import hoa from .. import point_source from ...options import OptionsHandler, Option, SubOptions class HOADecoderDesign(object): """Design HOA deciders for a given layout. Args: layout (Layout): Loudspeaker layout to design decoders for. """ options...
[ "tom@tomn.co.uk" ]
tom@tomn.co.uk
f474d9bb603aca4cd2fc28b6680473392d6d27e5
8d1eb39da37fce1d3bac594d9bb441e748880176
/anime_dl/sites/crunchyroll.py
1d9f0a4f42f575334e422cba6f7f7a6e552622ca
[ "MIT" ]
permissive
BlitzKraft/anime-dl
55eceb604b3cece263064d382cafeb589597e620
c6a30a4618b67e3076a926e4f4da112de5900377
refs/heads/master
2021-01-20T10:53:58.616187
2017-03-04T19:20:24
2017-03-04T19:20:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
21,691
py
#!/usr/bin/env python # -*- coding: utf-8 -*- from cfscrape import create_scraper from requests import session from re import search, findall from os import getcwd from subprocess import call # External libs have been taken from youtube-dl for decoding the subtitles. from anime_dl.external.utils import bytes_to_intlis...
[ "kanojia24.10@gmail.com" ]
kanojia24.10@gmail.com
6f23787a1490646f95e1b8b7d3b05451781d1704
999f3f3da1cb70cb5872f99a09d65d7c4df71cf7
/src/data/580.py
e11c8827cc99f7413162aa2ac434dfe3a90d75f1
[ "MIT" ]
permissive
NULLCT/LOMC
0f0d1f01cce1d5633e239d411565ac7f0c687955
79a16474a8f21310e0fb47e536d527dd5dc6d655
refs/heads/main
2023-07-27T17:03:46.703022
2021-09-04T08:58:45
2021-09-04T08:58:45
396,290,713
0
0
null
null
null
null
UTF-8
Python
false
false
1,073
py
n, q = map(int, input().split()) from collections import deque graph = [] visited = [] for i in range(n): tmp = [] graph.append(tmp) for i in range(n - 1): u, v = map(int, input().split()) u -= 1 v -= 1 graph[u].append(v) graph[v].append(u) #print(graph) def BFS(s, g): dist = [-1]...
[ "cockatiel.u10@gmail.com" ]
cockatiel.u10@gmail.com
d4728510df49e77a0b2e46084092a4e29808e830
2edbf6bc7bd3a9ee5c718b0b97d68a83d180eaac
/shell_examples.py
454f88dfaea2b1e1d96d8c6ba1387a20e7ad9a01
[]
no_license
JineshKamdar98/Django_REST_API
f56e11864aefab1bf55df5ea691951010ec189c4
b678b3e2f782143c66cb28c224138d05c94049a6
refs/heads/master
2020-05-29T15:03:21.065966
2019-05-29T11:43:17
2019-05-29T11:43:17
189,211,547
0
0
null
null
null
null
UTF-8
Python
false
false
1,404
py
from django.utils.six import BytesIO from rest_framework.renderers import JSONRenderer from rest_framework.parsers import JSONParser from status.api.serializers import StatusSerializer from status.models import Status #serialize a single object obj=Status.object.first() serializer = StatusSerializer(obj) ...
[ "noreply@github.com" ]
JineshKamdar98.noreply@github.com
8c18c9b30b644717fdc0f519e473cb64ac86d3ab
965e163df916b01d647953f2b1431d265683f6ca
/desktop_local_tests/macos/test_macos_packet_capture_connect_when_no_network.py
6f87f12c60f2c9d24e6f5affb43c3effc256fa4a
[ "MIT" ]
permissive
expressvpn/expressvpn_leak_testing
6505c39228d396caff0c2df3777009c6fbdf3127
9e4cee899ac04f7820ac351fa55efdc0c01370ba
refs/heads/master
2023-08-18T06:33:33.931040
2021-10-11T03:02:50
2021-10-11T03:02:50
112,572,905
244
48
MIT
2021-01-19T16:02:18
2017-11-30T06:18:40
Python
UTF-8
Python
false
false
4,205
py
import json from desktop_local_tests.local_packet_capture_test_case import LocalPacketCaptureTestCase from xv_leak_tools.log import L class TestMacOSPacketCaptureConnectWhenNoNetwork(LocalPacketCaptureTestCase): '''Summary: Test the behaviour of VPN applications when the user tries to connect with no networ...
[ "leakproofing@expressvpn.com" ]
leakproofing@expressvpn.com
72bdea6a3ef3aa6f8bd02f5137a4cdce19bca061
971e0efcc68b8f7cfb1040c38008426f7bcf9d2e
/tests/artificial/transf_BoxCox/trend_ConstantTrend/cycle_12/ar_12/test_artificial_1024_BoxCox_ConstantTrend_12_12_100.py
420e59971378ca03b44beb1ee56c9c0e2507ae1d
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
antoinecarme/pyaf
a105d172c2e7544f8d580d75f28b751351dd83b6
b12db77cb3fa9292e774b2b33db8ce732647c35e
refs/heads/master
2023-09-01T09:30:59.967219
2023-07-28T20:15:53
2023-07-28T20:15:53
70,790,978
457
77
BSD-3-Clause
2023-03-08T21:45:40
2016-10-13T09:30:30
Python
UTF-8
Python
false
false
269
py
import pyaf.Bench.TS_datasets as tsds import tests.artificial.process_artificial_dataset as art art.process_dataset(N = 1024 , FREQ = 'D', seed = 0, trendtype = "ConstantTrend", cycle_length = 12, transform = "BoxCox", sigma = 0.0, exog_count = 100, ar_order = 12);
[ "antoine.carme@laposte.net" ]
antoine.carme@laposte.net
6f04b7f42b87c2e60d622a550d7659362d85e1af
154eff4c874be997e4092615d684bb0bbdb4a1d2
/cart/admin.py
840f048e3cf8af77d5a294b0516097f72ce96978
[]
no_license
kopuskopecik/kitap_guncel
6e759433271fa9a6b0668b2bd7c442ad03fbcd85
9dd4f660c7a67d2964dea90ab3c12b50f4c13e9a
refs/heads/master
2022-12-03T10:18:48.092643
2019-07-14T23:10:32
2019-07-14T23:10:32
196,891,587
0
0
null
2022-11-22T02:23:57
2019-07-14T23:02:57
Python
UTF-8
Python
false
false
115
py
from django.contrib import admin from .models import Kargo # Register your models here. admin.site.register(Kargo)
[ "you@example.com" ]
you@example.com
fad3f252e23df95c355a0cbbdccc0ffaef900c29
7b29700c45bcaa00e5ae8c034c782febcfa285ca
/CMGTools/WMass/cfg/test_mu_DYJetsToLL_2011_cfg.py
3a75656517e7603631025ca304469630f4e4b211
[]
no_license
rmanzoni/tH
e29c09a247dd0795fce24d9bafbf5280df679b10
05f0baefed4d0b64dc121c43e4420ff7f1ac8e22
refs/heads/master
2016-09-03T07:21:59.444230
2014-06-09T19:48:52
2014-06-09T19:48:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,452
py
import copy import os import CMGTools.RootTools.fwlite.Config as cfg from CMGTools.RootTools.fwlite.Config import printComps from CMGTools.WMass.triggerMap import pathsAndFilters jsonAna = cfg.Analyzer( 'JSONAnalyzer', ) triggerAna = cfg.Analyzer( 'TriggerAnalyzer', keepFailingEvents = False ) ...
[ "perrozzi@cern.ch" ]
perrozzi@cern.ch
8cd918f33dbf4c681fbe25b096c2dc6aed8e7e90
291653cef88424423011d06ca057763211539f3d
/db/mysql.py
da2f7c064aef1e88e5bce7fa38bdc283298eb947
[]
no_license
thomasleveil/UrTBot
6363854df4c35f06516e0903041a6e8cd3700ba2
860678a820ed894d219054affc4747e36cea6259
refs/heads/master
2021-01-16T20:35:01.943841
2012-01-22T22:14:17
2012-01-22T22:14:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,808
py
""" This is the default database plugin for UrTBot """ import MySQLdb import config from base import User user = config.dbConfig['user'] passwd = config.dbConfig['password'] server = config.dbConfig['server'] db = config.dbConfig['database'] prefix = config.dbConfig['prefix'] #Initiate curser db = MySQLdb.connect(u...
[ "b1naryth1ef@gmail.com" ]
b1naryth1ef@gmail.com
a74f6e672b84d767e14c507dae0317dddaa2adac
d810bab4da7ffe155cd72d16c1782d2ff07ae74f
/easy/settings/dataverse-settings.py
0dc8558e0adf83e3c0324d3598d4a9c0c90f6074
[]
no_license
DANS-KNAW/easy-metrics
09e38b9556d76fcec5d425726c71bc65e445c9b5
0d109c52803777bdce3847e1bd57cd07a138691e
refs/heads/master
2021-03-30T17:42:21.122443
2017-09-21T11:46:15
2017-09-21T11:46:15
83,674,825
0
1
null
2017-09-21T11:46:16
2017-03-02T12:23:03
Python
UTF-8
Python
false
false
140
py
from __future__ import absolute_import dataversehost = 'dataverse.host' key = 'dataverse-token-from-account' handle = 'hdl:org/identifier'
[ "4tikhonov@gmail.com" ]
4tikhonov@gmail.com
98dec49349b0b64f7632ef53c6c7dc0cb92b2e92
128ec93117db76d4c67ab8fdadfe88326f82caba
/tests/components/pages/calendar.py
a344a9c86bb397c95e893a07481bc28029e45903
[ "MIT" ]
permissive
MaxFork/dazzler
296b48865b051d9e65879317a70b36f4347ba16b
eb608943b059ae0415508ddaca6886c440bf6e43
refs/heads/master
2023-05-31T14:38:25.657416
2021-06-19T20:25:00
2021-06-19T20:35:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,000
py
""" Page calendar of dazzler Created 2019-08-24 """ import datetime import pytz from dazzler.components import core, calendar from dazzler.system import Page past = datetime.datetime(day=22, month=11, year=1986, tzinfo=pytz.utc) future = datetime.datetime(day=11, month=9, year=2031, tzinfo=pytz.utc) page = Page( ...
[ "t4rk@outlook.com" ]
t4rk@outlook.com
45b29ca18fbb11b76997b25e2201e7335a8a10e2
f62fd455e593a7ad203a5c268e23129473d968b6
/mistral-4.0.2/mistral/messaging.py
4707505e98d35bbc260ec5b7ef41fe1f2013892c
[ "Apache-2.0" ]
permissive
MinbinGong/OpenStack-Ocata
5d17bcd47a46d48ff9e71e2055f667836174242f
8b7650128cfd2fdf5d6c8bc4613ac2e396fb2fb3
refs/heads/master
2021-06-23T05:24:37.799927
2017-08-14T04:33:05
2017-08-14T04:33:05
99,709,985
0
2
null
2020-07-22T22:06:22
2017-08-08T15:48:44
Python
UTF-8
Python
false
false
3,759
py
# Copyright 2016 - IBM Corp. # Copyright 2016 Catalyst IT Ltd # # 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 requ...
[ "gongwayne@hotmail.com" ]
gongwayne@hotmail.com
dc5e47a9748264c9d6f70363f77b5a7191c8b405
2745f49a3205c0ae14346cb1d4115f0e50a9b52e
/app/cursos/migrations/0009_video_document.py
fb994a0a8c9af1217b1d9dfacce4917ac7aebfd9
[]
no_license
caleffa/lomanegra-cursos-ministerio
0430777f7f23e422c0a3aa48ad41c71b20c18bec
c92cf6d70c2cf9c2a7cfd39e88f852e222d21528
refs/heads/master
2023-07-03T06:04:40.293469
2021-08-09T23:55:14
2021-08-09T23:55:14
394,474,306
0
0
null
null
null
null
UTF-8
Python
false
false
392
py
# Generated by Django 2.1 on 2018-08-24 19:43 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('cursos', '0008_auto_20180824_0541'), ] operations = [ migrations.AddField( model_name='video', name='document', ...
[ "lcaleffa@americavirtualsa.com" ]
lcaleffa@americavirtualsa.com
1d6ff0cb5fdc901894422a5b0ed82ba341a3745c
dc767b48d46e2f6b9851ce61914e880fc95fe520
/educa/app/courses/api/urls.py
dc021b1518940f6b98988cc73678ea9207e44f61
[]
no_license
EdmilsonSantana/django-by-example
c06081a1a3915aaf3996d017fea91c8273cbe2e0
7c895b55b8f6fcc05a2d5cd2181bf207dc9256fc
refs/heads/master
2021-01-12T02:58:49.261515
2017-02-28T20:05:29
2017-02-28T20:05:29
78,144,090
0
0
null
null
null
null
UTF-8
Python
false
false
409
py
from django.conf.urls import url, include from rest_framework import routers from . import views router = routers.DefaultRouter() router.register('courses', views.CourseViewSet) urlpatterns = [ url(r'^subjects/$', views.SubjectListView.as_view(), name='subject_list'), url(r'^subjects/(?P<pk>\d+)/$', views.Sub...
[ "edmilsonsantana2@hotmail.com" ]
edmilsonsantana2@hotmail.com
7bf1d00e9c9b8a13845fa806370fe944a7eceb92
44b28bbe3f01428417c20ea712e5999aa3dc950a
/configs/HRSC/faster_rcnn_RoITrans_r50_fpn_1x_dota_hrsc2016_L2_2.py
51c01b97a1d455656bb32f98fc9234ee63ddb82a
[ "Apache-2.0" ]
permissive
gfjiangly/AerialDetection
1ce9e15685b19c8228b0269ee3d7a54e67b5008e
ee8a945c67c8e9ddef725900ac300d2d5a785e08
refs/heads/master
2023-04-02T17:03:28.711163
2021-04-08T03:10:24
2021-04-08T03:10:24
322,861,321
0
0
null
null
null
null
UTF-8
Python
false
false
6,878
py
# model settings model = dict( type='RoITransformer', pretrained='/media/data/pretrain_model/resnet50-19c8e357.pth', backbone=dict( type='ResNet', depth=50, num_stages=4, out_indices=(0, 1, 2, 3), frozen_stages=1, style='pytorch'), neck=dict( type=...
[ "jgf0719@foxmail.com" ]
jgf0719@foxmail.com
0c7ab86be53bd2f98fc7633c790a1836a3b82b4c
eaefe6d961c83fc702a7c1ccdae5e8010695766a
/maze_dqn/maze_env.py
5d56526a6650afdd87c8b8d9caf5629cdc1bc569
[]
no_license
liuyandong1988/Maze_ReinforcementLearning
d5bc07ad0910d4a6cab14a13034dbffd07d614ae
269a5f464401a43bc43f75a7f0f6cfb11d33c057
refs/heads/master
2020-12-07T14:03:56.865353
2020-02-29T11:56:57
2020-02-29T11:56:57
232,733,879
1
1
null
null
null
null
UTF-8
Python
false
false
18,308
py
#!/usr/bin/env python # -*- coding:utf-8 -*- # Author: Yandong # Time :2019/12/3 7:05 from gym import Env from random import * import datetime from gym import spaces from gym.utils import seeding import numpy as np class Grid(object): def __init__(self, x: int = None, y: int = None...
[ "yd.liu@siat.ac.cn" ]
yd.liu@siat.ac.cn
02e3dd0f42394ddb600330f579318911ddc7ad84
a0e2d039fd108af693df9c2191b864b4bd591f55
/weektest/test2/ATM_wangjieyu/bin/start.py
7a896517156c65be8f9b164437a0f4d00e0c6b22
[]
no_license
zhanglong362/zane
e8ea2babc6ae9ac18da436ce75371e9f53414321
8155032792760b50e1dae4d27a257a2fa543356f
refs/heads/master
2020-03-17T05:32:26.195261
2018-05-14T07:26:01
2018-05-14T07:26:01
126,459,469
0
0
null
null
null
null
UTF-8
Python
false
false
158
py
import os,sys BASE_PATH=os.path.dirname(os.path.dirname(__file__)) sys.path.append(BASE_PATH) from core import src if __name__ == '__main__': src.run()
[ "zhanglong@gotye.com.cn" ]
zhanglong@gotye.com.cn
c5623ea065278fe9e9bd9d3f09360df604f6cbd1
034f580d10c9d6e7aac8612bbd2a9b9de8fad715
/genetic/genetic.py
14d843516f31cfc606f119b90892cf0c16328dee
[]
no_license
mdark1001/pygen
c7300ca93676a9c8e7d9c93d6d9902a3b1537c53
b2a62886d23a98de44946c5e13cd9f28e0e40d38
refs/heads/master
2020-08-05T07:13:08.423974
2019-12-17T00:52:08
2019-12-17T00:52:08
212,442,577
0
0
null
null
null
null
UTF-8
Python
false
false
1,726
py
""" @author miguelCabrera1001 | @date 2/10/19 @project @name genetic """ import datetime import random import statistics import sys import time from .chromosome import Chromosome from .functions import _generate_parent, _mutacion_personalizada, _mutar def getBestChromosome(fitness, sizeTarget,...
[ "miguel.cabrera.app@gmail.com" ]
miguel.cabrera.app@gmail.com
e5d38716d67af8d77dd6b0332bb4fc75f85d973f
fc9db903fb486f741bcad229ac73da6e1af87750
/lightnlp/sp/gdp/module.py
a576e169af637cf2d29e77aee4c6c21d54cf5d00
[ "Apache-2.0" ]
permissive
CNLPT/lightNLP
193eca302b5ecec397b0b7b535d517dc185e4843
c7f128422ba5b16f514bb294145cb3b562e95829
refs/heads/master
2020-06-15T05:40:06.712782
2019-07-05T04:38:11
2019-07-05T04:38:11
195,216,916
0
0
Apache-2.0
2019-07-04T10:00:34
2019-07-04T10:00:33
null
UTF-8
Python
false
false
6,305
py
import torch import torch.nn as nn import torch.nn.functional as F from tqdm import tqdm from ...utils.log import logger from ...base.module import Module from .config import DEVICE, DEFAULT_CONFIG from .model import Config, BiaffineParser from .tool import gdp_tool, WORD, POS, REF, ROOT from .utils.metric import Att...
[ "iamlightsmile@gmail.com" ]
iamlightsmile@gmail.com
1dbf7c87c1bc0ab197dd08eeaf71280ccf6ff810
599709e7687a78f92b268315590d6ad750ce97d6
/calc/h2_stex/to_au.py
6a964be5f340800772cd8d7cbf97c1944e23730a
[]
no_license
ReiMatsuzaki/cbasis2
b99d096150d87f9301ed0e34f7be5f0203e4a81e
86f21146fab6fc6f750d02fb2200ea94616ca896
refs/heads/master
2021-01-19T23:15:32.864686
2017-04-27T07:29:26
2017-04-27T07:29:26
88,953,186
0
0
null
null
null
null
UTF-8
Python
false
false
111
py
import pandas as pd au2ev = 27.2114 res = pd.read_csv("ref_cs.csv") for w_ev in res["w"]: print w_ev/au2ev
[ "matsuzaki.rei@sepia.chem.keio.ac.jp" ]
matsuzaki.rei@sepia.chem.keio.ac.jp
53428c721b97f60b1ac0bccb9b55fd3a8d919f68
543ec18f1e0ba4e950f4a26eaae550f8a89617f9
/myvenv/bin/pip3.6
4a362843570b2ecf7539463bac6139cbd412815d
[]
no_license
YUNKWANGYOU/Quiz
287e1dcb3a9851fa7c42b6931c550b7895aea112
92723eedfe645ae66b130685fa5a7be7ba58c293
refs/heads/master
2023-08-25T17:26:29.207440
2021-10-23T13:17:56
2021-10-23T13:17:56
292,081,004
0
0
null
null
null
null
UTF-8
Python
false
false
418
6
#!/Users/yuyungwang/Documents/GitHub/PythonQuiz/myvenv/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip3.6' __requires__ = 'pip==19.0.3' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.ar...
[ "1996yyk@gmail.com" ]
1996yyk@gmail.com
451275819e55873eb16cef49a619225e23a282f7
2eeeefe48c56d0dfae4fd568dbaee3c8d2cf3463
/1Demo/Time.py
34f2aa9f6f0a5dfd69c0a551728b2dd79783dad5
[]
no_license
lijianmingCN/pybase
f6377f7944c043f7241452fcffccc3f49ef0cef9
7286a022ff7f40a7289cf69d73e8418a1ecf7b88
refs/heads/master
2021-01-02T08:10:42.215672
2017-08-01T03:16:29
2017-08-01T03:16:29
98,953,479
0
0
null
null
null
null
UTF-8
Python
false
false
1,870
py
# -*- coding: utf-8 -*- #15.3. time — Time access and conversions import time,calendar print time.time() print time.gmtime()#UTC print time.gmtime(1400000000)#seconds since the epoch -- >struct_time in UTC print time.localtime()#Local print time.localtime(1400000000)#seconds since the epoch -->struct_time in...
[ "lijianming@baidu.com" ]
lijianming@baidu.com
46095d4b2c385effec4993cb58f997ac138424ab
ab39e7a458bb0af15d6d29b27563daa16d990a98
/webscrap/wikipedia.py
f9fff5fc430ee565fb9c634fd8dea7032b79fffe
[]
no_license
DJSull93/python-oop
bb553d85be7aa2413db9bab32f27c81f7e5c8b7e
0e517f9eb6bebe4fe0fb1922b081c5ebf596e793
refs/heads/master
2023-07-31T03:13:36.668896
2021-09-19T14:45:00
2021-09-19T14:45:00
368,100,023
0
0
null
null
null
null
UTF-8
Python
false
false
542
py
class Wikipedia(object): def __init__(self, url): self.url = url def __str__(self): return self.url @staticmethod def main(): while 1: menu = int(input(f'0.Exit\n1.Input\n2.Print URL\n')) if menu == 0: break elif menu == 1: ...
[ "digi809@naver.com" ]
digi809@naver.com
7b00cc88bacf1a30238ee3e6d60bc7ecbba97869
decd026dfd3bbcc66d3850efedadc5a76ff03afb
/baidutieba_demo.py
ac124885d0ce3ec9833bbfc0003a6e53ca1050c1
[]
no_license
xijunlee/PythonSpider
594df5aa60272a21bd7824052be37c6f7774b405
d485792628ee97dc7f1969c35cb8d3e1416c4812
refs/heads/master
2021-01-09T06:43:16.194170
2017-02-27T10:37:55
2017-02-27T10:37:55
81,067,570
0
0
null
null
null
null
UTF-8
Python
false
false
1,901
py
#!/usr/bin/env python # coding=utf-8 import urllib import urllib2 import re #百度贴吧爬虫类 class BDTB: #初始化,传入基地址,是否只看楼主的参数 def __init__(self,baseUrl,seeLZ): self.baseURL = baseUrl self.seeLZ = '?see_lz='+str(seeLZ) self.formatTool = FormatTool() #传入页码,获取该页帖子的代码 def getPage(self,...
[ "xijun.lee@hotmail.com" ]
xijun.lee@hotmail.com
7f2a339c51f078aa458b439462f0076ff59842e9
260133e46c0c88fd20f2ed18309c5f46508b7fb9
/opengever/core/upgrades/20180221144648_update_properties_action_available_expression/upgrade.py
8e58e7a1865d819c5744c08a2ead17d0268955ac
[]
no_license
robertmuehsig/opengever.core
4180fbea1436fade9b33232a293b0d43ebfc6c51
63b3747793d5b824c56eb3659987bb361d25d8d8
refs/heads/master
2020-09-08T14:55:00.340222
2019-11-08T10:16:02
2019-11-08T10:16:02
221,163,734
0
0
null
2019-11-12T08:08:59
2019-11-12T08:08:54
null
UTF-8
Python
false
false
226
py
from ftw.upgrade import UpgradeStep class UpdatePropertiesActionAvailableExpression(UpgradeStep): """Update properties action available expression. """ def __call__(self): self.install_upgrade_profile()
[ "philippe.gross@4teamwork.ch" ]
philippe.gross@4teamwork.ch
2c6dfa871dceb09c5d7cf57831de2099bc9b615c
950884cea2a67bc2047c8a7c278d1cbf7f657b29
/submits.2015/16_36_51_C14_4_4938.py
94360c369ce68ccde9ffd8fed14158b35408169a
[]
no_license
lisiynos/loo2015
ac5bd8d1d81c301be0e65960c3707506120f0b7f
cf3d12589c9e586921c2a38554103fc1c7652abe
refs/heads/master
2020-12-25T17:35:50.917577
2016-08-29T09:31:40
2016-08-29T09:31:40
29,869,192
0
0
null
null
null
null
UTF-8
Python
false
false
1,618
py
infile = open('search.in') outfile = open('search.out', 'w') n, p = map(int, infile.readline().split()) if (p == 0): for i in range(n): s1 = infile.readline().rstrip() if s1 in s.keys(): s[s1] += 1 else: s[s1] = 1 m = int(infile.readline()) if (n == 2): ...
[ "super.denis@gmail.com" ]
super.denis@gmail.com
2c63b32689a63debde1fa4316df9330791e74db5
46b1fb8cd30718befb8a7cf50c61e36b9ca81448
/menu_based_shapes.py
18e2dc271f752a987f481e41e1a2ef8ce86d8b26
[]
no_license
brainmentorspvtltd/MSIT_CorePython
bb19fb9701bf24f0e48370f7404ea5aca3e49881
7ff75ecacae059cb533fa18b330085d68fa3ad71
refs/heads/master
2022-10-02T19:33:51.025937
2020-06-04T11:03:46
2020-06-04T11:03:46
266,517,862
0
0
null
null
null
null
UTF-8
Python
false
false
1,270
py
import turtle screen = turtle.Screen() screen.bgcolor('black') pen = turtle.Pen() pen.color('yellow') pen.width(3) pen.turtlesize(3) pen.shape('turtle') pen.speed(10) ''' print("1. Circle") print("2. Octagon") print("9. Exit")''' '''print("1. Circle \ \n2. Octagon \ \n9. Exit") # \ charcater tells pyth...
[ "noreply@github.com" ]
brainmentorspvtltd.noreply@github.com
c15bd739aa829a056141f47b9069783d57756913
c430b5b5b45f2fe94f7110fd56922bcf55c61269
/lib/testlink/__init__.py
80aec3869494ab9ff2bd16f02e4b25b1bfa1bda5
[]
no_license
rayjiang2013/RF
08189671398095d864d41ea5a3af1958e8eb6252
936d32629061c4685d8e18b5cf9f001255514ec1
refs/heads/master
2016-08-09T11:38:51.990559
2016-01-06T20:20:02
2016-01-06T20:20:02
47,857,352
1
0
null
null
null
null
UTF-8
Python
false
false
203
py
#! /usr/bin/python # -*- coding: UTF-8 -*- from .testlinkerrors import TestLinkError from .testlinkapi import TestlinkAPIClient from .testlink import TestLink from .testlinkhelper import TestLinkHelper
[ "jimhe@fortinet.com" ]
jimhe@fortinet.com
f5ca6912a8193a954b567b10e10388c80e1f37b0
f131197c90f24299bcf3b7ccc59080e9c8b4d7ad
/server/proposal/extract.py
f72580e10bd1b27c85a3e814c90231b4bc156007
[ "MIT" ]
permissive
peterthornton2/cornerwise
f1b2e1c582cfd354ac46ae9e7d3b19ed5f0515bb
fa7f90d8a747cea3338f6439dfb6c4dce56a9891
refs/heads/master
2020-04-06T06:24:23.003392
2015-11-11T01:25:06
2015-11-11T01:25:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,433
py
"""Functions for extracting document attributes from its plaintext contents. """ from collections import OrderedDict from datetime import datetime from dateutil.parser import parse as date_parse from utils import pushback_iter import os import re empty_line = re.compile(r"\s*\n$") property_pattern = re.compile(r"^(...
[ "bdougsand+cfb@gmail.com" ]
bdougsand+cfb@gmail.com
9a8327b7e076ffb273821b7e7ecfb70460fc98c1
d4517268b8724ef208e9d07e59628208cb0832e9
/WithoutRepetitions/py3/nr.py
703d66c8e9de39b3c199e2527cfcf0d5eb1a15ac
[]
no_license
StevenDunn/CodeEval
5a8a47d3a90d9bed350228f6647e41f1298f46c2
b81bb31a600826d4b3b242a9a35aa1d28c2eb484
refs/heads/master
2021-01-15T15:33:53.155975
2018-04-01T13:54:16
2018-04-01T13:54:16
11,549,566
6
4
null
null
null
null
UTF-8
Python
false
false
684
py
# without repetitions soln in py3 for codeeval by steven a dunn import sys f = open(sys.argv[1], 'r') for line in f: line = line.strip() new_line = "" #print line #print len(line) if len(line) == 1: print(line) continue else: x = 0 y = 1 while y < len(...
[ "stevendunn@gmail.com" ]
stevendunn@gmail.com
71b67f563c27be5906ba6259fd56ea4b691346e2
ebf70838eb4b39d8b9a005b8ae4a2d9eb1f65549
/zfit/core/sample.py
28a0cec7f8d760d0f781d50a9a53c7cd988b9d46
[ "BSD-3-Clause" ]
permissive
mozgit/zfit
6598d90f8314d1e4b46a7802a17d243c954aa116
d249c89f97343ed665376b6cdc293901d2dc9684
refs/heads/master
2022-04-25T02:25:03.593285
2020-04-23T09:29:28
2020-04-23T09:29:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
20,314
py
# Copyright (c) 2020 zfit from typing import Callable, Union, Iterable, List, Optional, Tuple import tensorflow as tf import zfit from zfit import z ztf = z from zfit.core.interfaces import ZfitPDF from zfit.util import ztyping from zfit.util.exception import WorkInProgressError from .. import settings from ..util...
[ "mayou36@jonas.eschle.com" ]
mayou36@jonas.eschle.com
b2aecbda2cac1e3d47899969ddb217efa2b6d8e8
abbeaa0cc8cda29eba3163480c62eef0566a2858
/scripts/nike_sync.py
21bdb49f1abd472504184da243edbae3d3ea4e96
[ "MIT" ]
permissive
jlu-linyl/running_page
21b9d3bd311d44ce372a302ceb0272a59fc330d1
ed1b31ceb382c4e1c7d9d1dbb95a22db67570f87
refs/heads/master
2023-03-13T23:01:08.067328
2021-03-08T13:33:38
2021-03-08T13:33:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,079
py
import argparse import json import logging import os.path import time from datetime import datetime from xml.etree import ElementTree import gpxpy.gpx import httpx from config import ( BASE_URL, GPX_FOLDER, JSON_FILE, NIKE_CLIENT_ID, OUTPUT_DIR, SQL_FILE, TOKEN_REFRESH_URL, ) from utils im...
[ "zouzou0208@gmail.com" ]
zouzou0208@gmail.com
5410a05dc89f8c8073f87056fcc6da29729f3017
4ff56938f2da4385929b9932433b598dd76f6173
/tests/unit/modules/network/check_point/test_cp_mgmt_dns_domain.py
03c9686076898976a8565a1cba1bc59394907858
[]
no_license
ansible-collection-migration/checkpoint.checkpoint
118eadc92c227c9752615dc2c1b32848520987d8
9c285cc763bb1ebaa268812d85922d9f4643135b
refs/heads/master
2020-12-26T23:11:34.859358
2020-02-03T22:25:20
2020-02-03T22:25:20
237,681,634
0
0
null
null
null
null
UTF-8
Python
false
false
4,006
py
# Ansible module to manage CheckPoint Firewall (c) 2019 # # Ansible is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # Ansible is dist...
[ "ansible_migration@example.com" ]
ansible_migration@example.com
b6062eef08f51947119cba34090834312bd72776
11ff14c118240e87c4804d0373e4656d0683d479
/checkFireware.py
1bf7e15f3c5ceb26fced2dba9c372c2acfd9fafa
[]
no_license
wxmmavis/OS3.1
e3028d9c79d5a1a17449fea6380fcdda902bdec7
26d954344207a82d2298821c3c4f01302393dc7e
refs/heads/master
2020-03-25T20:07:11.225493
2018-08-13T03:20:57
2018-08-13T03:20:57
144,115,963
0
0
null
null
null
null
UTF-8
Python
false
false
1,149
py
import os import re import datetime import time import shutil import configparser def checkFiremware(): result_dir = "U:\\" l = os.listdir(result_dir) st = l.sort(key=lambda fn: os.path.getmtime(result_dir + fn) if not os.path.isdir(result_dir + fn) else 0) # 第二句 d = datetime.datetime.fromtimestamp...
[ "1475806321@qq.com" ]
1475806321@qq.com
809a585095f5dd78d1108464b4944f419ab04a9b
72bcde58b0145a431822193503b9d575ea1c56d7
/streamserver.py
5bd2804a2e0863ab7c3bffbabc0a344caa556880
[]
no_license
atomicwest/flask-mjpeg
97e37d3b6ccd0d8e4338c9681a867d94b9af4065
95ae4c8a74ada6b560535b8e8057517247e8ae71
refs/heads/master
2021-01-21T20:23:19.819642
2017-05-23T22:29:19
2017-05-23T22:29:19
92,225,952
0
0
null
null
null
null
UTF-8
Python
false
false
679
py
#!vflask/bin/python3.5 from flask import Flask, render_template, Response from streamObject import StreamObj import os app = Flask(__name__) @app.route('/') def index(): return render_template('index.html', title='MJPEG Streamer') def gencam(streamer): while True: frame = streamer.getStreamf() ...
[ "ogjdne@gmail.com" ]
ogjdne@gmail.com
a9b6ac0a923f5ab4e80d1c9581da856be7a1df0f
036a41c913b3a4e7ae265e22a672dd89302d3200
/1301-1400/1337/1337_Python_1.py
89a8f49a70e5baf03c865d3c41891a1f0a9d2c86
[]
no_license
ChangxingJiang/LeetCode
e76f96ebda68d7ade53575354479cfc33ad4f627
a2209206cdd7229dd33e416f611e71a984a8dd9e
refs/heads/master
2023-04-13T15:23:35.174390
2021-04-24T05:54:14
2021-04-24T05:54:14
272,088,506
0
0
null
null
null
null
UTF-8
Python
false
false
895
py
from typing import List class Solution: def kWeakestRows(self, mat: List[List[int]], k: int) -> List[int]: def helper(n): return mat[n].count(1), n m = [i for i in range(len(mat))] m.sort(key=helper) return m[:k] if __name__ == "__main__": # [2,0,3] print(So...
[ "1278729001@qq.com" ]
1278729001@qq.com
ddb6dd925a97695b147e904923ecaf499613210e
546f408803de8bd09a91a034d6788516d51f2218
/scientificpaperoperations/papersearchengine/create_ml_model.py
996af65a41c1891fa409b3b85929811a2051c82f
[ "Apache-2.0" ]
permissive
michaelfaerber/paperhunter
c5fbc4db6295978293cad2476ed46447d08632d0
b743444eb7b77503bc9c0950b4cf19fbbd9a177b
refs/heads/master
2021-07-18T23:34:56.742191
2020-06-11T13:45:56
2020-06-11T13:45:56
166,239,267
6
1
null
null
null
null
UTF-8
Python
false
false
4,861
py
from sklearn.externals import joblib import pandas as pd import numpy as np from nltk.corpus import stopwords from sklearn.pipeline import Pipeline from sklearn.feature_extraction.text import TfidfTransformer, TfidfVectorizer, CountVectorizer from sklearn.model_selection import train_test_split from sklearn.linear_mod...
[ "ashwath92@gmail.com" ]
ashwath92@gmail.com
b4fd1242c25c26324d9073b6bd715a637005b904
b63589ba2da5ad7ee1d7aefbe1b767d0091cf0e3
/Tools.py
c7adeb228bd53bb5b787f6e4d94cd6a8e886fa8c
[]
no_license
lvdou2518/FefferyTools
4fe1f9df8e1c48a86fe5e6ebb5ea61d901c21184
ba8497527f7a17f16a7529d8674c28f839056572
refs/heads/master
2021-02-12T03:16:52.908072
2019-09-04T04:15:54
2019-09-04T04:15:54
null
0
0
null
null
null
null
GB18030
Python
false
false
10,733
py
''' Created on Fri Jul 19 14:59:05 2019 @author: feffery Email:fefferypzy@gmail.com 这个脚本提供一些基本的工具,清单如下: GetLatLng:单线程版的地址->经纬度(高德)工具 LngLatTransfer:实现百度、火星坐标系、WGS84、web墨卡托四种坐标之间互相转换 GetDistanceViaLngLat:根据经纬度计算两点之间的真实球面距离(单位:m) MyThread:用键值对维系输入与输出的方式,将任意单线程函数改造成任意线程数的多线程版本以加速运算 Shp2JSON:将Shp格式文件转换为GeoJSON格式 JSON2Shp...
[ "fefferypzy@gmail.com" ]
fefferypzy@gmail.com
8035e0d6e7cfab9ad5f7c8eabf420fa040f39263
4b4df51041551c9a855468ddf1d5004a988f59a2
/leetcode_python/Array/toeplitz-matrix.py
00ad054b5073e468684361e4da27498645b84a24
[]
no_license
yennanliu/CS_basics
99b7ad3ef6817f04881d6a1993ec634f81525596
035ef08434fa1ca781a6fb2f9eed3538b7d20c02
refs/heads/master
2023-09-03T13:42:26.611712
2023-09-03T12:46:08
2023-09-03T12:46:08
66,194,791
64
40
null
2022-08-20T09:44:48
2016-08-21T11:11:35
Python
UTF-8
Python
false
false
3,445
py
""" A matrix is Toeplitz if every diagonal from top-left to bottom-right has the same element. Now given an M x N matrix, return True if and only if the matrix is Toeplitz.   Example 1: Input: matrix = [   [1,2,3,4],   [5,1,2,3],   [9,5,1,2] ] Output: True Explanation: In the above grid, the diagonals are: "[9]", "[...
[ "f339339@gmail.com" ]
f339339@gmail.com
382b79a342102766fe5bd654f77d47923fed42ba
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/MhtcQNMbkP82ZKJpm_20.py
92fbdaf42fb9ce05fae56cccf8bd5162f7b25d8e
[]
no_license
daniel-reich/ubiquitous-fiesta
26e80f0082f8589e51d359ce7953117a3da7d38c
9af2700dbe59284f5697e612491499841a6c126f
refs/heads/master
2023-04-05T06:40:37.328213
2021-04-06T20:17:44
2021-04-06T20:17:44
355,318,759
0
0
null
null
null
null
UTF-8
Python
false
false
193
py
def get_notes_distribution(students): together = [x["notes"] for x in students] note = [i for j in together for i in j if 0 < i < 6] return {i : note.count(i) for i in set(note)}
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
efb8252fa58092d5dc56f1a884eb060a9c62211a
b3953946df016a983335a6b627df32176f895f37
/aiqiyi/aiqiyi/middlewares.py
d8aa08deb483a1e7d43047b082ef049c99ca45e8
[]
no_license
Boomshakal/scrapy
d7a1515b6f1bd853f1f9b56f673a446916963c9a
4db0aab09f3930cc553cb50d232a153014cfd085
refs/heads/master
2021-06-20T05:03:35.735819
2021-02-02T03:36:15
2021-02-02T03:36:15
154,484,241
2
0
null
null
null
null
UTF-8
Python
false
false
3,597
py
# -*- coding: utf-8 -*- # Define here the models for your spider middleware # # See documentation in: # https://doc.scrapy.org/en/latest/topics/spider-middleware.html from scrapy import signals class AiqiyiSpiderMiddleware(object): # Not all methods need to be defined. If a method is not defined, # scrapy a...
[ "362169885@qq.com" ]
362169885@qq.com
43e5ecad22f64204fd640a0cb6146b6553710a33
2e682fd72e3feaa70e3f7bf2a3b83c50d783ec02
/PyTorch/built-in/cv/pose_estimation/HRNet_MMPose_for_PyTorch/configs/fashion/2d_kpt_sview_rgb_img/topdown_heatmap/deepfashion2/res50_deepfashion2_skirt_256x192.py
88e20a8f03c80bd4acdbc44244990ff9b34779d2
[ "GPL-1.0-or-later", "Apache-2.0", "BSD-2-Clause", "MIT", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Ascend/ModelZoo-PyTorch
4c89414b9e2582cef9926d4670108a090c839d2d
92acc188d3a0f634de58463b6676e70df83ef808
refs/heads/master
2023-07-19T12:40:00.512853
2023-07-17T02:48:18
2023-07-17T02:48:18
483,502,469
23
6
Apache-2.0
2022-10-15T09:29:12
2022-04-20T04:11:18
Python
UTF-8
Python
false
false
7,116
py
_base_ = [ '../../../../_base_/default_runtime.py', '../../../../_base_/datasets/deepfashion2.py' ] evaluation = dict(interval=10, metric='PCK', save_best='PCK') optimizer = dict( type='Adam', lr=5e-4, ) optimizer_config = dict(grad_clip=None) # learning policy lr_config = dict( policy='step', ...
[ "zhangjunyi8@huawei.com" ]
zhangjunyi8@huawei.com
20f6f198c6a075975a07536bc0fe9b871a382fe1
09d44d959a474c55feea0d5560f505db4daa059b
/perimeterator/src/perimeterator/enumerator/__init__.py
02a0f198b200f1876b837ddfdb6c1b0d2726d713
[ "MIT" ]
permissive
chuckbnorris/Canivete
c0b50809d09c5cf9b01ea969799ab90503593d9d
b8acef26765816c0bf33ed195a8bd74df03c7b70
refs/heads/main
2023-03-22T21:39:41.459158
2021-03-14T17:00:37
2021-03-14T17:00:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
328
py
''' Perimeterator - Enumerators. ''' from perimeterator.enumerator import ec2 # noqa: F401 from perimeterator.enumerator import elb # noqa: F401 from perimeterator.enumerator import elbv2 # noqa: F401 from perimeterator.enumerator import rds # noqa: F401 from perimeterator.enumerator import es # noq...
[ "gustcol@gmail.com" ]
gustcol@gmail.com
1314c5e45f4d3c1d0ed19584d588b25db738984e
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_151/ch53_2020_10_07_13_02_32_874129.py
6041f3565fa4f0518eb7df2133e7eafcc3816c8b
[]
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
245
py
def soma_impares(a): i = 0 b = [] while i < len(a): if a[i] % 2 != 0: b.append(a[i]) i+=1 j = 0 y = 0 while j<len(b): y = y + b[j] j+=1 return y
[ "you@example.com" ]
you@example.com
8f63e56ebe9704a4d9724af40abef0716d4ec44e
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/53/usersdata/102/20982/submittedfiles/matriz2.py
34302ed4f1ad9d156acbdbbd6cfef89be02021b2
[]
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
1,307
py
# -*- coding: utf-8 -*- from __future__ import division def somadiagonal1(a): soma=0 for i in range(0, a.shape[0],1): som=soma+a[i,i] return soma def somadiagonal2(a): soma=0 i=0 j=a.shape[0]-1 while i<a.shape[0]: soma=soma+a[i,j] i=i+1 j=j-1 re...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
79160021727adcf82d6ddc4e2ede814a7c5c6f46
b86d6bf4662ad2bbe2083ea0915ff50f2f455e60
/Python/3-)KesifciVeriAnaliziVeVeriGorsellestirme/Plotly-Dash-Examples/intro_dash.py
5f22d6bdd5f5fa3e18a38287e23fc0603767e7e3
[]
no_license
DincerDogan/VeriBilimi
a8f04afcfd1a2419da0be72b6d780ffe058c42d6
1632b42e4d1ce744bb1382611022b79265c7896f
refs/heads/master
2023-06-06T13:59:35.726325
2021-06-17T11:43:46
2021-06-17T11:43:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,008
py
import dash import dash_core_components as dcc import dash_html_components as html import plotly.express as px import pandas as pd import seaborn as sns external_stylesheets = ['https://codepen.io/chriddyp/pen/bWLwgP.css'] app = dash.Dash(__name__, external_stylesheets=external_stylesheets) # assume you have a "long...
[ "menesbaysan@gmail.com" ]
menesbaysan@gmail.com
7a4684fe6970e4aece8f457add10477d8bab8b90
0e1e643e864bcb96cf06f14f4cb559b034e114d0
/Exps_7_v3/doc3d/Wyx_w_M_to_Wz_focus/Sob_s010_erose_M/pyr_Tcrop256_pad60_jit15/pyr_4s/L5/step10_a.py
8fd4eb7c30b674adf60966befa4597c9fd866646
[]
no_license
KongBOy/kong_model2
33a94a9d2be5b0f28f9d479b3744e1d0e0ebd307
1af20b168ffccf0d5293a393a40a9fa9519410b2
refs/heads/master
2022-10-14T03:09:22.543998
2022-10-06T11:33:42
2022-10-06T11:33:42
242,080,692
3
0
null
null
null
null
UTF-8
Python
false
false
70,770
py
############################################################################################################################################################################################################# ##################################################################################################################...
[ "s89334roy@yahoo.com.tw" ]
s89334roy@yahoo.com.tw
57b5fc798d1724627546187b0a62b4c820b5fed5
6b1cb19693a3ebbbfe5750275f488f8dd954f779
/FileInterpreter.py
b21692761856403ea2aaccfb80db5f1cee8cd8a2
[]
no_license
AFlyingCar/Interpreter
227b8b69e12af547ce42cb8a621aa26c39176ab3
525f0706bf9097a2c769726e17c3fae0d2c08a13
refs/heads/master
2021-01-15T21:48:46.097281
2014-02-08T06:57:39
2014-02-08T06:57:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,206
py
####################################################################### #Tyler Robbins # #1/29/14 # #This is an interpreter for the esoteric programming language, LOLCODE# ####################################################################### #NOTE: Dillon Mixed Data Spinner.py ...
[ "tyler@familyrobbins.com" ]
tyler@familyrobbins.com
bf46bb6d594accc77ae8b8da7f8955cebc0934c6
3c40dce2af71dd6216f4b64e5f42d4d6d5bc6b25
/autoserver_api/autoserver_api/wsgi.py
92eb34c6e7ca4df7099767bc61ea102b581e1703
[]
no_license
huzhou520/cmdb
1c93ad47d2a5e564c1e8f34ec9015590208fafeb
b6b4aba4184ed316a0a0b5f2b1a876473ec4cdbc
refs/heads/master
2020-09-11T22:36:31.588900
2019-12-27T01:55:40
2019-12-27T01:55:40
222,212,934
0
0
null
null
null
null
UTF-8
Python
false
false
406
py
""" WSGI config for autoserver_api 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/1.11/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJAN...
[ "you@example.com" ]
you@example.com
524d12841b85900ad011a21a277dfc9df9c627e6
6fb3d0d160b042280c1d84e5a7983bb1cf0772a1
/data_analysis/0404 - statistical functions against data.py
1787c3587aafce17b9084cdffe0ac2c1a7a48b8d
[]
no_license
mak705/Python_Become_Proffesional
1352b9c5527aaa93c7b1059d9da0e29d1ae4a1bb
3d4bbc0495c69ef3dfd40aa6c2d274af95408f79
refs/heads/master
2020-03-22T17:52:42.937283
2018-07-10T11:24:51
2018-07-10T11:24:51
140,421,737
0
0
null
null
null
null
UTF-8
Python
false
false
433
py
import pandas as pd import pandas.io.data as web import datetime import matplotlib.pyplot as plt from matplotlib import style style.use('fivethirtyeight') start = datetime.datetime(2005, 1, 1) end = datetime.datetime(2015, 1, 1) att = web.DataReader("T", 'yahoo', start, end) #print(att.head()) #print(50*"#") descr...
[ "mak705@gmail.com" ]
mak705@gmail.com
68f7fd2605b70e5a839dce086456fbe2a3b44464
9cec93a18ea94504947820205d0faae4d67ecd8d
/RootTools/python/samples/triggers_8TeV.py
6e4673045b1f280143ae50f56305fcf592f556ac
[]
no_license
DESY-CMS-SUS/cmgtools-lite
de88b1d5dc20a925ed5b7c7be69fa3ef677955c6
db52d50047178563a0eb7f5858ae100aa408ec68
refs/heads/8_0_25
2021-05-23T04:36:22.900460
2017-11-09T10:32:41
2017-11-09T10:32:41
60,184,794
3
9
null
2021-02-17T23:22:12
2016-06-01T14:37:18
Python
UTF-8
Python
false
false
5,033
py
triggers_mumu_8TeV = ["HLT_Mu17_Mu8_v*","HLT_Mu17_TkMu8_v*"] triggers_ee_8TeV = ["HLT_Ele17_CaloIdT_TrkIdVL_CaloIsoVL_TrkIsoVL_Ele8_CaloIdT_TrkIdVL_CaloIsoVL_TrkIsoVL_v*", "HLT_Ele17_CaloIdT_CaloIsoVL_TrkIdVL_TrkIsoVL_Ele8_CaloIdT_CaloIsoVL_TrkIdVL_TrkIsoVL_v*", "HLT_Ele15_Ele8_Ele5_...
[ "gpetruc@gmail.com" ]
gpetruc@gmail.com
4ba0c3e0f21015c5ce2fa6b2f3cc6a18e52225a0
e4266d7995c6952a374037e6809678a28e2972f4
/maintenance/manatec-ticket-number-on-timesheet/models/__init__.py
fec2ff37c2f5b9b8d057d3f356953d249fe5e09c
[]
no_license
h3llopy/addons_12
cdd3957faa46be9beb20239b713bcde7d3fb24bf
7440086ae976754b0d268986519705cbc9ea0a8a
refs/heads/master
2023-08-31T12:33:54.645648
2021-11-01T02:21:06
2021-11-01T02:21:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
174
py
# -*- coding: utf-8 -*- """ Author: Tobias Reinwarth (tobias.reinwarth@manatec.de) Copyright: 2019, manaTec GmbH Date created: 25.01.19 """ from . import analytic
[ "diegobgajardo@gmail.com" ]
diegobgajardo@gmail.com
d8fe5ec74ac5d77e1bbd1b7460a0680edb52e5b1
e6dab5aa1754ff13755a1f74a28a201681ab7e1c
/.parts/lib/django-1.5/tests/modeltests/empty/no_models/tests.py
6846e509f5b37b3d639cbf0f9d0b35e3f17225d0
[]
no_license
ronkagan/Euler_1
67679203a9510147320f7c6513eefd391630703e
022633cc298475c4f3fd0c6e2bde4f4728713995
refs/heads/master
2021-01-06T20:45:52.901025
2014-09-06T22:34:16
2014-09-06T22:34:16
23,744,842
0
1
null
null
null
null
UTF-8
Python
false
false
107
py
/home/action/.parts/packages/googleappengine/1.9.4/lib/django-1.5/tests/modeltests/empty/no_models/tests.py
[ "ron.y.kagan@gmail.com" ]
ron.y.kagan@gmail.com
d65522e2e009674ef662426582e846230341bb78
fbd4ecf7046171c4e96267c5982c964db54578f5
/resources/classification_utils.py
fbb8b8148645eb3db728a65e67d79ea518e32261
[]
no_license
Alvin2580du/alvin_py
6dddcfbfae214694e9f3dafd976101e681f2a66d
82d3e9808073f2145b039ccf464c526cb85274e3
refs/heads/master
2021-05-05T16:01:43.544783
2019-10-29T02:23:59
2019-10-29T02:23:59
117,328,713
12
2
null
2021-03-20T00:06:37
2018-01-13T08:51:49
Python
UTF-8
Python
false
false
7,511
py
from random import sample from sussex_nltk.corpus_readers import AmazonReviewCorpusReader from nltk.probability import FreqDist from functools import reduce from nltk.corpus import stopwords from nltk.classify.api import ClassifierI from sussex_nltk.stats import evaluate_wordlist_classifier import random import collect...
[ "ypducdtu@163.com" ]
ypducdtu@163.com
fe4052d3b30304994bce83a10fc97cd4131bbb74
850e83f4586f5cb6e1d87f013362d3d4c9c6a755
/deeply/spectral.py
ee6464e8a3fc1364f9796af4e333dad7193ce4dc
[ "MIT" ]
permissive
jamesBrosnahan/icse-deeply
b8f9c2860230e2d5cf754126a5ae2a98b2fda9c6
630c646385c23f46f05ec0bad44986f0b972b1d1
refs/heads/master
2023-07-16T19:01:12.964239
2021-09-06T22:59:53
2021-09-06T22:59:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,127
py
import sys import torch import torch.nn as nn import numpy as np from sklearn.cluster import SpectralClustering from scipy.spatial import KDTree class Clustering(object): def __init__(self, k ): self.k = k self.assignments = None def cluster(self, embed): embed_np = embed.detach().c...
[ "anonymous" ]
anonymous
f58f6c1f2d54c143b3cd04eee6c9a630ac363b14
c4543e6b2e6a3915c8e8b24751d75465466fd6d1
/lib/gruvi/hub.py
45d43e481dfcf4038b763d61433a9c994dd936b9
[ "MIT" ]
permissive
faassen/gruvi
5f99d04865afe55b48c23eea28cb0da031e51f77
eed7f9a9d8d277e799cdea90fb86df0bb05a7495
refs/heads/master
2020-12-25T10:49:24.463548
2016-03-01T08:41:45
2016-03-01T08:41:45
52,861,488
0
0
null
2016-03-01T08:40:56
2016-03-01T08:40:56
null
UTF-8
Python
false
false
16,270
py
# # This file is part of gruvi. Gruvi is free software available under the # terms of the MIT license. See the file "LICENSE" that was provided # together with this source file for the licensing terms. # # Copyright (c) 2012-2014 the gruvi authors. See the file "AUTHORS" for a # complete list. from __future__ import a...
[ "geertj@gmail.com" ]
geertj@gmail.com
c454b46dd0ac9bce0652aa3890508a5d118c8dd6
9073e836f6f66110af04110b0d0117ab224fede4
/eg_76.py
2338cb961ab96295251b28cce808c0b07b060247
[]
no_license
striveman1379/python100_examples
ec860d65aeff62b7e31b30798e7ca38db1297eec
c701b4444469a03efac3436f2a65199615f9e3cb
refs/heads/master
2020-04-18T00:57:15.114970
2018-11-06T09:39:01
2018-11-06T09:39:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
573
py
# -*- coding:utf-8 -*- # 问题:编写一个函数,输入n为偶数时,调用函数求1/2+1/4+...+1/n,当输入n为奇数时,调用函数1/1+1/3+...+1/n。 def add_odd(n): num = 0 for i in range(1, n+1, 2): num = num+1/i return num def add_even(n): num = 0 for i in range(2, n+1, 2): num = num + 1 / i return num if __name__ == '__main_...
[ "you@example.com" ]
you@example.com
9b385d2ce08b6165e2eb353ff68602a9f8535edf
624acfbf5ec2d605d06a0fa92a00ea99d5f35c6a
/setup.py
bb8d0780086917ed81c95b807afe1e4e7344a020
[]
no_license
mdboom/aggravate
fd3a1fc48be194db158a69ca774bf0fad824e389
248bbb67b55486531abecbef4964d7122bbd8187
refs/heads/master
2021-01-10T07:26:40.678822
2015-12-06T13:42:15
2015-12-06T13:42:15
47,280,272
1
1
null
null
null
null
UTF-8
Python
false
false
3,188
py
# -*- coding: utf-8 -*- # Copyright (c) 2015, Michael Droettboom All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # 1. Redistributions of source code must retain the above copyright # notice, t...
[ "mdboom@gmail.com" ]
mdboom@gmail.com
1c71aec677d0fa94d18ddf935309f01c5296eb8d
5b320ab3401ce3fe968ec57929dd8013474f5c09
/03_Software Engineering/001_Python programming/015_More Methods.py
6cce9c338296261c143a52400fd013e11591853d
[]
no_license
abdibogor/Thenewboston
a7d701db4f233073b3bf0a422698e6accee885ff
743ad015601fa308d74cca46bfc2159a01ad9821
refs/heads/master
2020-08-05T14:39:37.866343
2020-02-13T08:37:12
2020-02-13T08:37:12
212,581,907
0
0
null
2020-01-02T13:55:18
2019-10-03T13:03:56
HTML
UTF-8
Python
false
false
501
py
Python 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914 64 bit (AMD64)] on win32 Type "copyright", "credits" or "license()" for more information. >>> say=['hey','now','brown','cow'] >>> say ['hey', 'now', 'brown', 'cow'] >>> say.index('brown') 2 >>> say.insert(2, 'hoss') >>> say ['hey', 'now', 'hoss', 'brow...
[ "bogoreh_code@outlook.com" ]
bogoreh_code@outlook.com
b2cc9533b88a4be9276d09d2ca517906ef2c1403
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/2C3gtb4treAFyWJMg_9.py
f326c8ea1bc511c13118cd105b12c06056eccf06
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
1,684
py
""" The **Polybius Square** cipher is a simple substitution cipher that makes use of a 5x5 square grid. The letters A-Z are written into the grid, with "I" and "J" typically sharing a slot (as there are 26 letters and only 25 slots). | 1| 2| 3| 4| 5 ---|---|---|---|---|--- **1**| A| B| C| D| E **2**| F| G...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
3f19ee5ff32c49a33de5c79c9d9b7cf7e49f1fea
89d4a7e15e9b6c69a29ad549efdc3e41389f8ad2
/ftpclient/ftp_utils.py
d305da84ef34482bae7a623c07e6ca129b14e361
[ "MIT" ]
permissive
gusenov/ftp-client-py
fb69cefbc5616d4ec4f49d6f6d28c3e084d295b7
983ab42c1dbf526b9798ceccc9282ae2d9fa3cf7
refs/heads/master
2021-09-05T20:06:13.151801
2018-01-30T19:22:47
2018-01-30T19:22:47
119,560,399
0
0
null
null
null
null
UTF-8
Python
false
false
297
py
__all__ = ["FtpUtils"] class FtpUtils: @staticmethod def formurl(user, password, host, port, remote_dir): slash = '/' if remote_dir.startswith('/'): slash = '' return 'ftp://{0}:{1}@{2}:{3}{4}{5}'.format(user, password, host, port, slash, remote_dir)
[ "gusenov@live.ru" ]
gusenov@live.ru
da56b2ed9d6907988b90b5b02de271aa5c71a36a
e7efae2b83216d9621bd93390959d652de779c3d
/datadog_checks_dev/tests/tooling/config_validator/test_utils.py
78b3408ac35a61afde6dc689255c2b6d2dd895b7
[ "BSD-3-Clause", "MIT", "BSD-3-Clause-Modification", "Unlicense", "Apache-2.0", "LGPL-3.0-only", "LicenseRef-scancode-public-domain", "BSD-2-Clause", "CC0-1.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
DataDog/integrations-core
ee1886cc7655972b2791e6ab8a1c62ab35afdb47
406072e4294edff5b46b513f0cdf7c2c00fac9d2
refs/heads/master
2023-08-31T04:08:06.243593
2023-08-30T18:22:10
2023-08-30T18:22:10
47,203,045
852
1,548
BSD-3-Clause
2023-09-14T16:39:54
2015-12-01T16:41:45
Python
UTF-8
Python
false
false
3,571
py
# (C) Datadog, Inc. 2019-present # All rights reserved # Licensed under a 3-clause BSD style license (see LICENSE) import os from datadog_checks.dev.tooling.config_validator.utils import ( get_end_of_part, get_indent, is_at_least_indented, is_blank, is_exactly_indented, ) def test_is_blank(): ...
[ "noreply@github.com" ]
DataDog.noreply@github.com
596f6ce40542a841952089f137e6b312a5d4b2c8
421f6ce9490876be113e5ed1ac173b1f6d70cb66
/grab.py
03a5a7c150d32738ea21f7b49736be3ef203da20
[]
no_license
EricSchles/humanTraffickingTalk
a1f4770c4380ea0424663baac79686be5b74733a
f399e6e6188601f34eab3fd8e7fc4a3ca30d9b14
refs/heads/master
2021-01-01T06:11:24.424134
2014-08-14T18:51:23
2014-08-14T18:51:23
14,879,906
17
5
null
2019-10-15T11:10:13
2013-12-03T01:15:11
Python
UTF-8
Python
false
false
155
py
from bs4 import BeautifulSoup from sys import argv html = argv[1] soup = BeautifulSoup(html) print soup for link in soup.find_all('a'): print link
[ "ericschles@gmail.com" ]
ericschles@gmail.com
6c9741a4536419556b5aa0fbeee37435b8028004
df9dbd2b6a0117b071f180183eb462474cc603f9
/src/util.py
884b9f374596b25a9e1f3a8208ef89561b8141eb
[]
no_license
ouyangjiahong/fdg-zerodose
b02c2e4dbfba887ac0574c0a1d77bf27dcafe592
6372b4b8972dcc186f4969b412a9c204740679f7
refs/heads/main
2023-08-03T13:19:18.544505
2021-09-27T18:24:43
2021-09-27T18:24:43
410,716,218
0
0
null
null
null
null
UTF-8
Python
false
false
29,230
py
import os import time import pdb from glob import glob import torch # import torch.utils.model_zoo as model_zoo from torch.nn.parameter import Parameter import torchvision.models as models import torch.nn as nn import torch.nn.functional as F import torch.nn.parallel from torch.utils.data import Dataset, DataLoader imp...
[ "ouyangjiahong13@gmail.com" ]
ouyangjiahong13@gmail.com
975031ea6ca7ff3db817b67084c58f217b1eaa1d
a9dcc006264f1e56d4072edc6a69836cb060f1c9
/server/backbone_server/controllers/original_sample_controller.py
e0b28d208e97fd76b94468c930d562b5aac404e2
[]
no_license
benjeffery/sims-backbone
d93748114efdb0efe1d983006e1b06970cbbc6be
c79d1eeb463788fb3e7be4e3193186f3a7418c9b
refs/heads/master
2020-04-27T01:50:32.762570
2019-03-04T15:26:14
2019-03-04T15:26:14
173,976,589
0
0
null
2019-03-05T15:55:40
2019-03-05T15:55:40
null
UTF-8
Python
false
false
10,439
py
import logging import urllib from backbone_server.original_sample.post import OriginalSamplePost from backbone_server.original_sample.put import OriginalSamplePut from backbone_server.original_sample.merge import OriginalSampleMerge from backbone_server.original_sample.get import OriginalSampleGetById from backbone_...
[ "ian.wright@well.ox.ac.uk" ]
ian.wright@well.ox.ac.uk
7b4e261f8f520bae62df05c1b2215a2e64c4d52f
a58fcf9467749de7d269c5b17430773069e29791
/designate/objects/zone_transfer_accept.py
ac793101cac0654881028af2c1c350a57862a5a2
[ "Apache-2.0" ]
permissive
Woody89/designate-private
586df6c28a2da573663487e4728c3fddfef095af
0a6ed5a1d7cdac5cb1e9dec8fd3ddfb9a77c58f5
refs/heads/master
2021-01-22T19:22:49.391876
2017-08-19T06:16:53
2017-08-19T06:16:53
100,774,211
1
0
null
null
null
null
UTF-8
Python
false
false
1,965
py
# Copyright 2014 Hewlett-Packard Development Company, L.P. # # Author: Graham Hayes <graham.hayes@hpe.com> # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licen...
[ "dongpzh@adtec.com.cn" ]
dongpzh@adtec.com.cn
53a677ab54534d36de51e46b13ad53addd66371e
3e54ab638210bddc1989069490e7a8585917f4ff
/director/projects/migrations/0040_auto_20200409_0040.py
5c3c23ff91811a028d6ff5491f872462c37b53f9
[ "Apache-2.0" ]
permissive
gxf1986/hub
43304cd6627d6ee7eb3576249e113ec2c613825d
47c6377ccbfe8576b35854053d726537e533e78c
refs/heads/master
2022-10-06T05:24:39.069782
2020-06-02T02:33:34
2020-06-02T02:33:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,078
py
# Generated by Django 2.2.12 on 2020-04-09 00:40 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('projects', '0039_snapshot_refactor'), ] operations = [ migrations.AddField( model_name='projec...
[ "nokome@stenci.la" ]
nokome@stenci.la
0c88dce0daaf3040b05fabf8c67e64a7c048a492
93e9bbcdd981a6ec08644e76ee914e42709579af
/co_fb/438_Find_All_Anagrams_in_a_String.py
43148a0d86e953f722565a4b5a6ddb67bf7b7641
[]
no_license
vsdrun/lc_public
57aa418a8349629494782f1a009c1a8751ffe81d
6350568d16b0f8c49a020f055bb6d72e2705ea56
refs/heads/master
2020-05-31T11:23:28.448602
2019-10-02T21:00:57
2019-10-02T21:00:57
190,259,739
6
0
null
null
null
null
UTF-8
Python
false
false
2,425
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ https://leetcode.com/problems/find-all-anagrams-in-a-string/description/ Given a string s and a non-empty string p, find all the start indices of p's anagrams in s. Strings consists of lowercase English letters only and the length of both strings s and p will not be...
[ "vsdmars@gmail.com" ]
vsdmars@gmail.com
f2de88d2a218eb1a90dd3ca969733968c3d49047
2fa76493370d11577907683048df7547e8df2ab9
/rendereasy/cnawhatsapp/skins/rendereasy_cnawhatsapp_templates/getPastasRaiz.py
6839467bc9b9b9abd473a70fe5b4c8d10aeed14e
[ "Unlicense" ]
permissive
lflrocha/rendereasy.cnawhatsapp
331a5f5ecdc25625cdab853acb6f3d70a0887619
717ebedd922cfcc6ac57bb81fb525bb003805efd
refs/heads/master
2020-03-18T17:02:49.530504
2018-05-26T23:50:21
2018-05-26T23:50:21
135,002,437
0
0
null
null
null
null
UTF-8
Python
false
false
374
py
## Script (Python) "getPastasRaiz" ##bind container=container ##bind context=context ##bind namespace= ##bind script=script ##bind subpath=traverse_subpath ##parameters= ##title= ## path={ "query": "/automator", 'depth': 1 } pastas = context.portal_catalog.searchResults(Type=['Folder'], sort_on="getObjPositionInParent"...
[ "lflrocha@gmail.com" ]
lflrocha@gmail.com
2395eac9eac66d5b33217d71c5e99ce5d1711de1
87370861dc1543e6c4e81841376ac3cc6cc723fc
/test/common/all_tests.py
9e379845b99b785cf99b61381ea833e6701cc4aa
[ "Apache-2.0" ]
permissive
kmr0877/pydoop
d41129b646cf981376cd39d33fa2b15e39ef4d3b
cddfc9e0f4f4f596c6af3a99d453ba5bec40c2fb
refs/heads/develop
2021-09-08T18:13:49.259555
2018-08-03T08:39:07
2018-08-03T08:39:07
148,097,172
0
0
Apache-2.0
2021-09-04T04:07:17
2018-09-10T04:02:54
Python
UTF-8
Python
false
false
1,095
py
# BEGIN_COPYRIGHT # # Copyright 2009-2018 CRS4. # # 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 ...
[ "simleo@crs4.it" ]
simleo@crs4.it
0f2660d9405bb9997c8128c7fa97a5fd22ccc931
bb6a62c5a51a7b231b2a88743799c6005b119fbf
/refnx/reduce/bounded_splines.py
e9b64a42ab6b15a83270354fbb35a48d3f723c34
[]
no_license
McStasMcXtrace/refnx
382173f090ddd4c6e093adf2c1e8e776ba8642d3
1a92cea8376167c2199df1053f0ac815b75a2dec
refs/heads/master
2020-03-22T11:37:59.580428
2018-07-05T10:11:22
2018-07-05T10:11:22
139,983,861
1
0
null
2018-07-06T12:45:26
2018-07-06T12:45:26
null
UTF-8
Python
false
false
4,643
py
""" Copyright (c) 2011, Joshua M. Hykes All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the...
[ "andyfaff@gmail.com" ]
andyfaff@gmail.com
d7f523dd0911f5a0ee8347b99aeac826c580fa34
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/pa3/sample/str_cat_2-50.py
a42975c36398e6a4f6dcaf64cf44f1e0ecc8926a
[]
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
257
py
a:str = "no" b:str = "o" c:str = "" d:str = "" e:str = "" def cat2(a:str, $TypedVar) -> str: return a + b def cat3(a:str, b:str, c:str) -> str: return a + b + c c = cat2(b, a) d = cat2(a, a) e = cat3(a, b, cat2(b, b)) print(c) print(d) print(e)
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
e0b229fc3cd3dc727d119085bf826d03805574c3
a6333ede8cffe9335c196fb94c81c25c37d9d2f5
/GUI/main.py
b07132343b4479755f98f3d25f243fdf6614e79c
[]
no_license
fan-bingbing/GEM-radio-compliance-test-suite
5a0e53b70548debb5fab1e9d4c79dda0629f6e82
f55503a00f8973765af4dfe00240a0219bce3a45
refs/heads/master
2020-05-15T16:50:44.778995
2019-09-24T01:01:47
2019-09-24T01:01:47
182,395,696
0
0
null
null
null
null
UTF-8
Python
false
false
333
py
import sys import datetime print(sys.executable) print(sys.version) print("helloworld") print('Timestamp: {:%Y-%m-%d %H:%M:%S}'.format(datetime.datetime.now())) print('Timestamp: {:%Y-%b-%d %H:%M:%S}'.format(datetime.datetime.now())) print('Date now: %s' % datetime.datetime.now()) print('Date today: %s' % datetime.d...
[ "fanyu1980@hotmail.com" ]
fanyu1980@hotmail.com
f33e058a2e4c117aae866400d8ef89b45644843e
6933b96b9c10ca70da57b1b384126e20fa21d9b2
/webxscan_client0.2/url_root1/SlinkFTP.py
edd522bfe4dee2484fe488e11627b2571e345208
[]
no_license
Dawson0x00/scan
5bb2e85756b8e86ba43f6d63182a7e806c560bfc
e9f274e26ac924a47cf3216e707dc1a724937775
refs/heads/master
2021-01-19T14:12:59.107938
2017-02-22T02:51:27
2017-02-22T02:51:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,907
py
#!/usr/local/bin/python #-*- coding: UTF-8 -*- ################################################## #qq:29295842 #BLOG:http://hi.baidu.com/alalmn # linkftp 连接FTP爆破 from ftplib import FTP import time import socket import threading socket.setdefaulttimeout(10) #设置了全局默认超时时间 from threading import Thread from collections i...
[ "voilet@voiletdeMacBook-Pro-2.local" ]
voilet@voiletdeMacBook-Pro-2.local
a1b9b514c990d45c8db892b9d06da8fb3873802c
add74ecbd87c711f1e10898f87ffd31bb39cc5d6
/xcp2k/classes/_each236.py
85b759f555401e768eb5b6fef1da7bfd72f6f87c
[]
no_license
superstar54/xcp2k
82071e29613ccf58fc14e684154bb9392d00458b
e8afae2ccb4b777ddd3731fe99f451b56d416a83
refs/heads/master
2021-11-11T21:17:30.292500
2021-11-06T06:31:20
2021-11-06T06:31:20
62,589,715
8
2
null
null
null
null
UTF-8
Python
false
false
1,113
py
from xcp2k.inputsection import InputSection class _each236(InputSection): def __init__(self): InputSection.__init__(self) self.Just_energy = None self.Powell_opt = None self.Qs_scf = None self.Xas_scf = None self.Md = None self.Pint = None self.Metad...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
0aa0946bfdcc5cebc761e2663d35e5675023bd1a
552320aa1aed946ac6e83a149355d495252e09f4
/task/task_record.py
9b49b28c5444e17c3ad3b404c862364e1c62a22b
[]
no_license
kk71/sqlaudit
59bab5765a67f56f1dd2f3103812051c5acbbc49
51b4a3b188ab31da5511bb68f617933d771a3d51
refs/heads/main
2023-02-04T18:38:46.125746
2020-06-30T06:06:51
2020-06-30T06:06:51
323,559,338
1
0
null
null
null
null
UTF-8
Python
false
false
1,418
py
# Author: kk.Fang(fkfkbill@gmail.com) __all__ = [ "TaskRecord" ] from typing import Optional from sqlalchemy import Column, Integer, String, DateTime from core.task import BaseTaskRecord from models.sqlalchemy import BaseModel, ABCDeclarativeMeta from . import const class TaskRecord( BaseModel, ...
[ "kai.fang@kirintech.cn" ]
kai.fang@kirintech.cn
d48a5ce5001ed3494164932f6f4d705f9167d2a6
d15eb2285895469a452867f76b033d0d64a4af5c
/Old_scripts_delete_20220804/Scripts/measurements/PulseTransVProbe.py
37a60fdca2b918a9a1a44e99aa42e17633ff001b
[]
no_license
MRitter95/Kollar-Lab
45ac62ed7805ad9faeeb33b54be50f39950f3b2c
c905725c43af6a49fe5bb2a994d5180f2ba469c2
refs/heads/master
2023-08-19T03:38:43.761313
2023-08-10T17:49:00
2023-08-10T17:49:00
236,054,959
5
1
null
null
null
null
UTF-8
Python
false
false
11,034
py
# -*- coding: utf-8 -*- """ Created on Thu Dec 10 19:12:43 2020 @author: Kollarlab """ import time import numpy import os import matplotlib.pyplot as plt import userfuncs from plotting_tools import simplescan_plot pi = numpy.pi def remove_IQ_ellipse(Is, Qs, axes, center, phi): Isprime = numpy.cos(phi)*(I...
[ "maritter@umd.edu" ]
maritter@umd.edu
cfa1b6744ea656e6681e2f431eef5bedd5800e7b
bfb591a1d5166d3b56f2e8fb7f2aa52cdbfd4831
/questions/q237_longest_consecutive_sequence_binary_tree/code.py
306b995c8e0d613054ce67cdf86b14319f7385ff
[ "MIT" ]
permissive
aadhityasw/Competitive-Programs
8a5543995ae6ae2adae7ebaa9cb41b222d8372f1
3d233b665a3b2a9d0b1245f7de688b725d258b1c
refs/heads/master
2022-01-16T19:36:48.332134
2022-01-03T18:14:45
2022-01-03T18:14:45
192,506,814
0
0
null
null
null
null
UTF-8
Python
false
false
2,760
py
import sys sys.setrecursionlimit(50000) from collections import deque # Tree Node class Node: def __init__(self, val): self.right = None self.data = val self.left = None # Function to Build Tree def buildTree(s): #Corner Case if(len(s)==0 or s[0]=="N"): retur...
[ "aadhityas@gmail.com" ]
aadhityas@gmail.com
9ac834cdaaac4f7666d02bb6838bb88ac965072a
9fb2139bf41e2301f9ee9069d649c5afe8e7735c
/python/countingnames.py
f1df5e8e0f636f57c3e486d892ae0a3a6ea1d0f6
[]
no_license
codewithgauri/HacktoberFest
9bc23289b4d93f7832271644a2ded2a83aa22c87
8ce8f687a4fb7c3953d1e0a5b314e21e4553366e
refs/heads/master
2023-01-02T07:20:51.634263
2020-10-26T07:02:34
2020-10-26T07:02:34
307,285,210
3
0
null
null
null
null
UTF-8
Python
false
false
340
py
z = input() x = open(z) lst = list() count = dict() for lines in x: if lines.startswith('From:'): z= lines.split() y= z[1] lst.append(y) # dict are made only by going through lists, so it is necessary to look through lists using for loop. for words in lst: count[words]= count.get(words, ...
[ "noreply@github.com" ]
codewithgauri.noreply@github.com
505a0078bbfc92e5fdd5bd9ff71794a323a2c02d
a39f93fdcf2502449f8209164e65bbd7395562d3
/nanome/_internal/_integration/_serialization/_export_locations.py
e9b05892d9458c3e8eb2c9e971b5d1ffde24854d
[ "MIT" ]
permissive
Computational-Chemistry-Research/nanome-lib
87c37fdc53ee5913911436bc388f0c7ad77d1f9a
71271b1c682177a98edcecfdf36bc6675c788831
refs/heads/master
2023-05-10T01:22:17.847169
2021-05-27T22:34:54
2021-05-27T22:34:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
527
py
from nanome._internal._util._serializers import _TypeSerializer, _StringSerializer, _ArraySerializer class _ExportLocations(_TypeSerializer): def __init__(self): self.array = _ArraySerializer() self.array.set_type(_StringSerializer()) def version(self): return 0 def name(self): ...
[ "noreply@github.com" ]
Computational-Chemistry-Research.noreply@github.com