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
125eda5c2ea26724993805d2bdd9694df6fbe0fb
ab9eac7d27788b98bd3d43577bf11658fa6c67c5
/src/clean_data.py
2e7beaeb134717e44de0b902f242bee563130bad
[]
no_license
IkeyBenz/Instagram-Network-Graph
1b0d5163b945a56ec024af77419bc03c3088bbac
82ca93b94cb7b75b341683d4c20b489960c7378d
refs/heads/master
2023-02-02T01:52:44.235220
2020-12-20T21:12:00
2020-12-20T21:12:00
321,414,811
0
0
null
null
null
null
UTF-8
Python
false
false
1,355
py
from os import listdir, path from util import get_data_dir, get_mutual_followship_path, get_user_connections_path, get_authenticated_username data_dir = get_data_dir() authenticated_username = get_authenticated_username() connections_path = get_user_connections_path() def get_users_connections(): return set(open...
[ "ikey.benz@gmail.com" ]
ikey.benz@gmail.com
0afc429868366eb8eadd730a1566d020e31b6f46
dbb32a7d5b96a94533b27a6ccf2474c660a863b7
/containers/actor/sources/utils/__init__.py
756cad2b8abb42638833a16139c9961fc42fd77d
[]
no_license
ankurhcu/FogBus2
772e8346c5e01e2aa8a02da9ef91fd696dd587a7
2cefabdd1d131fc8e9015ca31d414665e6014a69
refs/heads/main
2023-08-07T15:33:54.039724
2021-09-21T05:02:49
2021-09-21T05:02:49
410,610,212
1
0
null
2021-09-26T16:57:23
2021-09-26T16:57:22
null
UTF-8
Python
false
false
1,823
py
from .component import BasicComponent from .component import PeriodicTaskRunner from .config import ConfigActor from .config import ConfigMaster from .config import ConfigRemoteLogger from .config import ConfigTaskExecutor from .config import ConfigUser from .connection import BasicMessageHandler from .connection impor...
[ "plocircle@live.com" ]
plocircle@live.com
1a29ed7174a5e46688668e138299e976917f4743
34a9a91e6c3fbf427826d2cb2ad3d7c7a00ad0c0
/collision_detection_program/SBI/beans/__init__.py
87e717e7f04422002fd6fbaeabcf242107d76132
[ "MIT" ]
permissive
structuralbioinformatics/SPServer
015d7ede4b2c439c648b663b9af56a0ca98e277b
946b7afdac16aef391ddd162daabfcc968eb9110
refs/heads/master
2021-04-23T14:02:10.935764
2020-07-24T09:00:19
2020-07-24T09:00:19
249,930,917
3
6
null
null
null
null
UTF-8
Python
false
false
466
py
__all__ = [ "Singleton", "Butler", "File", "FileError", "StorableObject", "Executable", "Path", "IndexedNum", "JSONer" ] from .singleton import Singleton from .butler import Butler from .file import (File, FileError) from .StorableObject import StorableObject ...
[ "quim.aguirre@hotmail.com" ]
quim.aguirre@hotmail.com
090b01787d67ad38963fba38a99e8b1e8a557d7c
15581a76b36eab6062e71d4e5641cdfaf768b697
/LeetCode_30days_challenge/2021/June/Pascal's Triangle.py
d5f72948364fa07f9c70d38dfef7769ff10d9ebb
[]
no_license
MarianDanaila/Competitive-Programming
dd61298cc02ca3556ebc3394e8d635b57f58b4d2
3c5a662e931a5aa1934fba74b249bce65a5d75e2
refs/heads/master
2023-05-25T20:03:18.468713
2023-05-16T21:45:08
2023-05-16T21:45:08
254,296,597
0
0
null
null
null
null
UTF-8
Python
false
false
403
py
from typing import List class Solution: def generate(self, numRows: int) -> List[List[int]]: if numRows == 1: return [[1]] rows = [[1], [1, 1]] for i in range(2, numRows): row = [1] for j in range(1, i): row.append(rows[-1][j] + rows[-1][...
[ "mariandanaila01@gmail.com" ]
mariandanaila01@gmail.com
c70c9bfee7433de27be912a8ac54969a41472e76
6a95112805b64322953429270a305d01fef3faea
/dist/weewx-4.0.0a9/bin/weewx/defaults.py
98e51e336d2a837c2f8b4b3a9e2dac5943299e1d
[ "GPL-1.0-or-later", "GPL-3.0-only", "Apache-2.0" ]
permissive
tomdotorg/docker-weewx
c6d59dc492a9e53f3bc898f7b9f593717092d72c
7085654f455d39b06acc688738fde27e1f78ad1e
refs/heads/main
2023-06-08T17:57:44.184399
2023-01-30T11:21:23
2023-01-30T11:21:23
54,113,384
21
16
Apache-2.0
2022-10-19T23:46:26
2016-03-17T11:39:29
Dockerfile
UTF-8
Python
false
false
8,541
py
# coding: utf-8 # # Copyright (c) 2019 Tom Keffer <tkeffer@gmail.com> # # See the file LICENSE.txt for your rights. # """Backstop defaults used in the absence of any other values.""" from __future__ import absolute_import from six.moves import StringIO import configobj default_str = u"""# Copyright (c) 2009-20...
[ "tom@tom.org" ]
tom@tom.org
d9450370110654bbba361d0adb0ff18def6f3bf6
52f0984561895b48f3e6e40658a6e52c97705715
/python-folder/year-grade.py
5b6647ed5326a8d753ec1092b8476883e8bf511b
[]
no_license
jsanon01/python
8da2755e7724850875518455c1760bb9f04dd873
edd52214e3578f18b71b0ad944c287411fb23dfb
refs/heads/master
2022-05-20T00:29:10.550169
2022-05-10T01:08:48
2022-05-10T01:08:48
165,682,490
0
0
null
null
null
null
UTF-8
Python
false
false
1,245
py
# This script prints a while-loop with if-elif statement year = " " while year != 'q': year = input('Enter a grade from 0 - 13 or q to quit: ') if year.isdigit(): year = int(year) if year == 0: print('You are in Pre-School') elif year == 1: print('You are in ...
[ "jeansanon180@gmail.com" ]
jeansanon180@gmail.com
005fc965039152d62022c24120d51fc81fda661b
4bde2d1e2282014f71b8cfec4440cb062db172cb
/euler_021.py
1bbf96ecb93e58589edeffbbaf5d3fcf9c7699a2
[]
no_license
MrDeshaies/NOT-projecteuler.net
6b107a515b1322fcd5f7d88e187ca2ea97edddcf
c6f0bd38d074b427345b4f5b41733bda38fbcdb4
refs/heads/master
2022-11-17T18:39:43.321814
2022-11-13T11:35:10
2022-11-13T11:35:10
201,793,983
0
0
null
2019-08-18T19:50:45
2019-08-11T17:20:18
Python
UTF-8
Python
false
false
923
py
from euler import * import math # Let d(n) be defined as the sum of proper divisors of n (numbers less than n which divide evenly into n). # If d(a) = b and d(b) = a, where a ≠ b, then a and b are an amicable pair and each of a and b are called # amicable numbers. # # For example, the proper divisors of 220 are 1, 2, ...
[ "benoit.deshaies@gmail.com" ]
benoit.deshaies@gmail.com
055c26bc9905e675638f8bf8b9191eb93fadf19d
44869749f8af2b548a2fbb23403e1a623e29d691
/myvenv/Scripts/django-admin.py
99ad1c3626d471588a35651a3339f4396eba88e2
[]
no_license
Ojou/my-first-blog
4536c4db194d325508fd000ccd5919a722772994
e29be78c3c87b39c474dabf2a27387797c2d2a41
refs/heads/master
2016-08-12T15:27:52.761420
2016-03-12T05:06:06
2016-03-12T05:06:06
53,712,106
0
0
null
null
null
null
UTF-8
Python
false
false
160
py
#!C:\Users\tova\djangogirls\myvenv\Scripts\python.exe from django.core import management if __name__ == "__main__": management.execute_from_command_line()
[ "admin@admin.com" ]
admin@admin.com
206043e6d4c95bbf4afa57ff9b6d0fa29d8d4d3d
bc441bb06b8948288f110af63feda4e798f30225
/resource_monitor_sdk/model/resource_manage/filter_strategy_instance_data_pb2.py
754fef25b2c606e53ea2f232404bda2034096d3d
[ "Apache-2.0" ]
permissive
easyopsapis/easyops-api-python
23204f8846a332c30f5f3ff627bf220940137b6b
adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0
refs/heads/master
2020-06-26T23:38:27.308803
2020-06-16T07:25:41
2020-06-16T07:25:41
199,773,131
5
0
null
null
null
null
UTF-8
Python
false
true
4,615
py
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: filter_strategy_instance_data.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message fr...
[ "service@easyops.cn" ]
service@easyops.cn
52cc436d976d9ead1d13b314196b6be9d9d8fc4c
c29eba01ce299ebb27b886a83e19e59add7e2f6b
/tests/pytest_extension/fixtures/test_issue_github_54.py
34ceadfa56fc64602d0e04f8a54879098f489c44
[ "BSD-3-Clause" ]
permissive
smarie/python-pytest-cases
e87516e73d5067d5c307c7fdb37cc5f1f97c417e
ab3b7190d728b18512141b9f5f3a1c3dfc7cedf2
refs/heads/main
2023-07-08T11:41:57.278697
2023-02-23T13:11:25
2023-02-23T13:11:25
138,296,136
286
40
BSD-3-Clause
2023-07-03T14:57:02
2018-06-22T11:42:19
Python
UTF-8
Python
false
false
600
py
# Authors: Sylvain MARIE <sylvain.marie@se.com> # + All contributors to <https://github.com/smarie/python-pytest-cases> # # License: 3-clause BSD, <https://github.com/smarie/python-pytest-cases/blob/master/LICENSE> import pytest from pytest_cases.fixture_core1_unions import InvalidParamsList from pytest_cases...
[ "sylvain.marie@se.com" ]
sylvain.marie@se.com
a3e9a18765fad1e19b88ac4df2ef46b6ddef4d9b
2e682fd72e3feaa70e3f7bf2a3b83c50d783ec02
/PyTorch/contrib/cv/detection/SOLOv1/configs/guided_anchoring/ga_faster_r50_caffe_fpn_1x.py
eba5902c5acd2a9c3bbb92f63de00ac450eb4f6b
[ "LicenseRef-scancode-proprietary-license", "BSD-2-Clause", "Apache-2.0", "MIT", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-unknown-license-reference", "GPL-1.0-or-later" ]
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
6,718
py
# Copyright 2021 Huawei Technologies Co., Ltd # # Licensed under the BSD 3-Clause License (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://opensource.org/licenses/BSD-3-Clause # # Unless required by applicable law or agreed to in ...
[ "wangjiangben@huawei.com" ]
wangjiangben@huawei.com
861755d3c8cbf83029189ac9a98f4896f67dafad
b0110e27e3162e2092259dd299481de1dafb4ea8
/parallel/p7red.test.key.py
44867a6a942964cfe29d902c74675fd2ad65708f
[ "MIT" ]
permissive
mobarski/sandbox
f9be203bf7015f6df70badd605a40172b63a90f8
f9054fb3252488208e503a87efba5df74fc70538
refs/heads/master
2023-05-29T14:51:00.125028
2023-05-14T21:02:38
2023-05-14T21:02:38
86,854,790
0
0
null
null
null
null
UTF-8
Python
false
false
282
py
from __future__ import print_function import sys lines = sys.stdin.readlines() rows = [str.partition(x,' ') for x in lines if x.strip()] key_sum = 0 key = rows[0][0] for k,_,x in rows: if k!=key: print(key,key_sum) key_sum = 0 key = k key_sum += int(x) print(key,key_sum)
[ "mobarski@pl.grupa.iti" ]
mobarski@pl.grupa.iti
544f532144174157f2267fe49d08336f13de9d1e
3d7039903da398ae128e43c7d8c9662fda77fbdf
/database/前端/juejin_2003.py
68c317bc66f0071a6e258987ac4befff8d3dcb57
[]
no_license
ChenYongChang1/spider_study
a9aa22e6ed986193bf546bb567712876c7be5e15
fe5fbc1a5562ff19c70351303997d3df3af690db
refs/heads/master
2023-08-05T10:43:11.019178
2021-09-18T01:30:22
2021-09-18T01:30:22
406,727,214
0
0
null
null
null
null
UTF-8
Python
false
false
67,318
py
{"err_no": 0, "err_msg": "success", "data": [{"article_id": "6986465633114259469", "article_info": {"article_id": "6986465633114259469", "user_id": "1996368846261294", "category_id": "6809637767543259144", "tag_ids": [6809640407484334093, 6809640369764958215, 6809640653266354190], "visible_level": 0, "link_url": "", "c...
[ "www.1759633997@qq.com" ]
www.1759633997@qq.com
06bd77a00c108cd3162f43c0b8c735e395c7c330
a12a4be7e8c792b4c1f2765d3e7a43056e9196b0
/399-evaluate-division/399-evaluate-division.py
317cbb08733f23f1593c0c5e5836a04b160ea65c
[]
no_license
fdas3213/Leetcode
d4b7cfab70446b3f6a961252a55b36185bc87712
1335d5759c41f26eb45c8373f33ee97878c4a638
refs/heads/master
2022-05-28T16:24:15.856679
2022-05-19T21:56:35
2022-05-19T21:56:35
94,024,751
0
0
null
null
null
null
UTF-8
Python
false
false
2,198
py
class Solution: def calcEquation(self, equations: List[List[str]], values: List[float], queries: List[List[str]]) -> List[float]: #step 1. initialize a graph graph = defaultdict(defaultdict) for pair, value in zip(equations, values): v1, v2 = pair[0], pair[1] graph[v1...
[ "szx9404@gmail.com" ]
szx9404@gmail.com
4749db7324c75666dd8e25a25566092e3b09963e
dd3bbd4e7aaee7a8a5f26b927ce28ac472c855a5
/eggs/plone.app.kss-1.6.2-py2.7.egg/plone/app/kss/demo/bbb_oldkssdemo.py
112c7267a425cbc4ada948bfe06706153dd4619d
[]
no_license
nacho22martin/tesis
ea0a822f8bdbdef6f13f41276ecd4d6e85427ca5
e137eb6225cc5e724bee74a892567796166134ac
refs/heads/master
2020-12-24T13:20:58.334839
2013-11-09T12:42:41
2013-11-09T12:42:41
14,261,570
0
1
null
null
null
null
UTF-8
Python
false
false
1,315
py
# XXX future BBB # Provide a way for the old kss.demo version, not to fail # with import error - even if it cannot execute these tests. # This enables that the package can contain application level # test setup, but it still does not fail with the old version. try: import kss.demo from kss.demo import ( ...
[ "ignacio@plone.(none)" ]
ignacio@plone.(none)
a14daf25d28db1dfa5c33f566606bc651a65b733
81539aba88c22cf75bd2e14f5e0e92f2bf54e962
/DarkMatterMap2017/TTbarDMJets_Dilepton_pseudoscalar_LO_TuneCP5_13TeV_madgraph_mcatnlo_pythia8/TTbarDMJets_Dilepton_pseudoscalar_LO_Mchi-1_Mphi-500_TuneCP5_13TeV-madgraph-mcatnlo-pythia8/TTbarDMJets_Dilepton_pseudoscalar_LO_TuneCP5_13TeV_madgraph_mcatnlo_pythia8_30000_2_cff.py
ef4683daac65cf865ef31df25cfc4909e6363974
[]
no_license
nistefan/RandomizedParametersSeparator
ad35b48b95e9745814c0bf9d8d8b6eb8aa479177
66a0e291b59113c6b5301768f1c10e36cf23d3c3
refs/heads/master
2021-01-03T00:41:17.415005
2020-02-19T13:30:54
2020-02-19T13:30:54
239,838,928
0
0
null
null
null
null
UTF-8
Python
false
false
2,904
py
import FWCore.ParameterSet.Config as cms maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1) ) readFiles = cms.untracked.vstring() source = cms.Source ("PoolSource",fileNames = readFiles, lumisToProcess = cms.untracked.VLuminosityBlockRange(*('1:36371', '1:38472', '1:38822', '1:36982', '1:37704', '1:36037',...
[ "Nicole.Stefanov@cern.ch" ]
Nicole.Stefanov@cern.ch
e12d9c7779e15c081580d82cfaaf33c753eba8e5
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/2gFkEsAqNZrs4yeck_5.py
1deffbbc4273056ca01743885242d8e47d869034
[]
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
66
py
mini_peaks=lambda l:[y for x,y,z in zip(l,l[1:],l[2:])if x<y>z]
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
10688edc40347097c51ecda235be420e4c48ecaa
2bcc421ee345b00cf805c543b37d18b5d019dc04
/adafruit-circuitpython-bundle-6.x-mpy-20201126/examples/led_animation_group.py
011a019ee803683432760c85a49cbbacb6bfd77c
[]
no_license
saewoonam/sc-current-source-titano
5a1ad46889c1b09c168424901fd71cb4eab5c61b
1c136aa8b61268d9ac0b5a682b30ece70ab87663
refs/heads/main
2023-03-02T22:12:26.685537
2021-02-09T03:28:01
2021-02-09T03:28:01
317,299,900
0
2
null
null
null
null
UTF-8
Python
false
false
1,947
py
""" This example shows three different ways to use AnimationGroup: syncing two animations, displaying two animations at different speeds, and displaying two animations sequentially, across two separate pixel objects such as the built-in NeoPixels on a Circuit Playground Bluefruit and a NeoPixel strip. This exampl...
[ "nams@nist.gov" ]
nams@nist.gov
e6aa1fc31893a65606e16abf84d605a55a52173a
e5a20362b2f9b17055cb95d56dc8dea2059205fb
/arrays_manipulations_algorithms/is_str_equal.py
4c1d539801e17f907e0371055984660ed94ffd56
[]
no_license
uchenna-j-edeh/dailly_problems
0c97d1ab3c91756abf625a04e3bb6e0cd6e3405c
7bd47232704297851f8acdd9331f90da96c732af
refs/heads/master
2023-08-17T12:27:00.640834
2023-08-07T17:03:00
2023-08-07T17:03:00
158,981,409
0
0
null
null
null
null
UTF-8
Python
false
false
548
py
# write a code to check if two str are equal def is_equal(s1, s2): for i in range(len(s1)): # if len(s2) - 1 >= i: # return False if len(s2) - 1 >= i or (s1[i].lower() != s2[i].lower()): return False for i in range(len(s2)): # if len(s1) - 1 >...
[ "uedeh@bethel.jw.org" ]
uedeh@bethel.jw.org
edd919cfe5efef37c9386e8f94227f5bb2b80185
09ba5ae2edc51f3fd812b9205188b1b01e6bea77
/test/src/CPMel/core/metaclass.py
61cec13411e956af6f67e786d3014ce281188ff7
[]
no_license
cpcgskill/Maya_tools
c6a43ad20eab3b97e82c9dfe40a1745b6098e5c4
93f9e66e5dc3bb51f33df0615415a56a60613ff1
refs/heads/main
2023-02-26T16:20:52.959050
2021-01-28T06:12:18
2021-01-28T06:12:18
325,512,423
1
0
null
null
null
null
UTF-8
Python
false
false
854
py
#!/usr/bin/python # -*-coding:utf-8 -*- u""" :创建时间: 2020/5/18 23:57 :作者: 苍之幻灵 :我的主页: https://cpcgskill.com :QQ: 2921251087 :爱发电: https://afdian.net/@Phantom_of_the_Cang :aboutcg: https://www.aboutcg.org/teacher/54335 :bilibili: https://space.bilibili.com/351598127 """ import functools def newClass(name, bases, attrs...
[ "www.cpcgskill.com" ]
www.cpcgskill.com
053b8628f236c89b6e4071334424c1a57a3c1d50
5cbde24d02eea9e762994af976aff8b4fdc731b3
/actus/wsgi.py
657d6f36c1718379520c54b937aa9fb42599d2c5
[]
no_license
paulo-romano/actus
f94e874ef3351181c79539ba69df9f7bbdb9e90f
d424afa6672f6f714f094b2080d0255bad257268
refs/heads/master
2021-01-17T15:06:40.486493
2016-12-17T00:47:03
2016-12-17T00:59:53
70,018,546
2
1
null
2016-11-04T00:05:47
2016-10-05T00:41:06
JavaScript
UTF-8
Python
false
false
424
py
""" WSGI config for actus 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.10/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application from dj_static import Cling os.envi...
[ "pauloromanocarvalho@gmail.com" ]
pauloromanocarvalho@gmail.com
a8e18dcbe6113a775bc2a7239cc76ff8420db740
3fb0ce33f00b96ae3808a32da44de3e887434afb
/.提出一覧/AtCoder/ABC156/b/main.py
54120439e9bf75e86574bad0f396250ddd7c9bf0
[]
no_license
Yukikazari/kyoupuro
ca3d74d8db024b1988cd0ff00bf069ab739783d7
343de455c4344dbcfa4524b492f7f6205c9db26f
refs/heads/master
2023-02-21T01:53:52.403729
2021-01-27T03:55:01
2021-01-27T03:55:01
282,222,950
0
0
null
null
null
null
UTF-8
Python
false
false
206
py
#!/usr/bin/env python3 #import #import math #import numpy as np #= int(input()) #= input() N, K = map(int, input().split()) for i in range(1, 10 ** 6): if K ** i > N: print(i) exit()
[ "haya_nanakusa793@yahoo.co.jp" ]
haya_nanakusa793@yahoo.co.jp
93077dc4d63732f42922d4c942ec5ed4352f5da7
bc441bb06b8948288f110af63feda4e798f30225
/patch_manager_sdk/api/patch_task/list_task_pb2.py
4516260317484520a501c4388802ba9301b167a4
[ "Apache-2.0" ]
permissive
easyopsapis/easyops-api-python
23204f8846a332c30f5f3ff627bf220940137b6b
adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0
refs/heads/master
2020-06-26T23:38:27.308803
2020-06-16T07:25:41
2020-06-16T07:25:41
199,773,131
5
0
null
null
null
null
UTF-8
Python
false
true
15,278
py
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: list_task.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf i...
[ "service@easyops.cn" ]
service@easyops.cn
263d88bc1127e17bd9788a19259e6a996b95f48f
8ce2b8314fd2e11f3118f7b57f15d1aeb661eec9
/backend/bagel_buoy_1801/settings.py
e5641f87d26096e7d8b6da1fdacf8134eb1580ba
[]
no_license
crowdbotics-apps/bagel-buoy-1801
2b4f17b3ea8f56fc574f01736900a9d15a216ca8
d053cf93ff55a0dab5d6af49a6351fe740022ac0
refs/heads/master
2022-12-09T00:33:29.351845
2019-03-30T22:14:51
2019-03-30T22:14:51
178,616,820
0
0
null
2022-12-03T04:13:29
2019-03-30T22:14:47
JavaScript
UTF-8
Python
false
false
4,758
py
""" Django settings for bagel_buoy_1801 project. Generated by 'django-admin startproject' using Django 1.11.16. For more information on this file, see https://docs.djangoproject.com/en/1.11/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.11/ref/settings/ """ ...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
6509b905b984eb3598af4a3d6006cd6728c0a5b0
f114cd3da2ca11a8635e8f25c82e2cbbe4bf25c5
/python/swexpert/sw2058.py
8712ff9a1d5e263912097d0f2f76ef2e1b9650b6
[]
no_license
mizm/TIL
86641e0565e28b482148da84e98c4a32b90356de
62da3fca85335f833a6f3462fd834cd87eb492c8
refs/heads/master
2021-06-11T08:11:18.670048
2021-04-19T02:09:17
2021-04-19T02:09:17
162,208,488
0
0
null
null
null
null
UTF-8
Python
false
false
59
py
s = input() print(sum([int(s[i]) for i in range(len(s))]))
[ "didehgur1@naver.com" ]
didehgur1@naver.com
d7600096286394a49b83fc56e6f04ee102c8d3b4
53e58c213232e02250e64f48b97403ca86cd02f9
/16/mc/ExoDiBosonResonances/EDBRTreeMaker/test/crab3_analysisM3000_R_0-9.py
fa92ea4e8a878d40f96c26dc962f729463d22f78
[]
no_license
xdlyu/fullRunII_ntuple_102X
32e79c3bbc704cfaa00c67ab5124d40627fdacaf
d420b83eb9626a8ff1c79af5d34779cb805d57d8
refs/heads/master
2020-12-23T15:39:35.938678
2020-05-01T14:41:38
2020-05-01T14:41:38
237,192,426
0
2
null
null
null
null
UTF-8
Python
false
false
2,303
py
from WMCore.Configuration import Configuration name = 'WWW/sig' steam_dir = 'xulyu' config = Configuration() config.section_("General") config.General.requestName = 'M3000_R0-9_off' config.General.transferLogs = True config.section_("JobType") config.JobType.pluginName = 'Analysis' config.JobType.inputFiles = ['Su...
[ "XXX@cern.ch" ]
XXX@cern.ch
624480f7f2ed0cbdd5c554530d35447d513dcd1b
02778455d6c88a4e83bbad836f4598d49ebe81e5
/recipes/shared_logging/server.py
70d9aafd35f8e98eb1fdfc2509c9dea385db9c5a
[ "MIT" ]
permissive
stjordanis/easyrpc
d703ad81e7c2a5cb83dab2e5a424baeea5d997c6
1c0d6f8c33aaf70ccf62d75777f5e4ca8c55fedc
refs/heads/main
2023-08-13T05:52:18.459507
2021-10-13T20:15:44
2021-10-13T20:15:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
386
py
# central logging server import logging from fastapi import FastAPI from easyrpc.server import EasyRpcServer logging.basicConfig() server = FastAPI() @server.on_event('startup') async def setup(): logger = logging.getLogger() rpc_server = EasyRpcServer(server, '/ws/server', server_secret='abcd1234', debug...
[ "joshjamison1@gmail.com" ]
joshjamison1@gmail.com
ce0994b51ccee45b1b6cb2f4bcb1f11296c7c002
538833a15b119ca835b82886ca047dc25e71f134
/app/bin/file/text_remove_duplicate.py
76f01c83d8fd0252f6345e396e259a54a5368c1d
[]
no_license
buxizhizhoum/tool_scripts
901ffb3749aa9521912636039bc897f969759d67
d13b9217b4cde6b626451e9638d737911a0911c5
refs/heads/master
2021-01-01T15:39:01.396282
2018-12-11T06:53:29
2018-12-11T06:53:29
97,667,877
2
0
null
null
null
null
UTF-8
Python
false
false
407
py
#!/usr/bin/python # -*- coding: utf-8 -*- def text_remove_duplicate(original_file, processed_file): file_buffer = [] with open(original_file, "r") as f: for line in f.readlines(): if line not in file_buffer: file_buffer.append(line) with open(processed_file, "...
[ "mapeaks@126.com" ]
mapeaks@126.com
5cd33b20e5bc4c1c4b6e25e9df92b6fdc8d17e1a
5ec06dab1409d790496ce082dacb321392b32fe9
/clients/python/generated/swaggeraemosgi/model/com_adobe_granite_system_monitoring_impl_system_stats_m_bean_impl_info.py
3e05ccd3726996c38d3fdaef1f4e610603a6ae96
[ "Apache-2.0" ]
permissive
shinesolutions/swagger-aem-osgi
e9d2385f44bee70e5bbdc0d577e99a9f2525266f
c2f6e076971d2592c1cbd3f70695c679e807396b
refs/heads/master
2022-10-29T13:07:40.422092
2021-04-09T07:46:03
2021-04-09T07:46:03
190,217,155
3
3
Apache-2.0
2022-10-05T03:26:20
2019-06-04T14:23:28
null
UTF-8
Python
false
false
7,630
py
""" Adobe Experience Manager OSGI config (AEM) API Swagger AEM OSGI is an OpenAPI specification for Adobe Experience Manager (AEM) OSGI Configurations API # noqa: E501 The version of the OpenAPI document: 1.0.0-pre.0 Contact: opensource@shinesolutions.com Generated by: https://openapi-generator.t...
[ "cliffano@gmail.com" ]
cliffano@gmail.com
e7eda5397bfd521186cf038a7a0de9700c42024a
871d2a367e45164f21ecdbefe52bf442b563b33c
/tests/tests/correctness/EPLAnalytics/Streaming_Calculations/FFT/fft_cor_003/run.py
9d18dc0589837f3b625b0e287ef5aa58bf669523
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
SoftwareAG/apama-industry-analytics-kit
c0f6c30badf31411a29bc6daa4a7125b76f4e737
a3f6039915501d41251b6f7ec41b0cb8111baf7b
refs/heads/master
2022-02-19T20:47:27.180233
2022-02-02T12:58:23
2022-02-02T12:58:23
185,572,282
3
2
Apache-2.0
2022-02-02T12:58:24
2019-05-08T09:14:07
Python
UTF-8
Python
false
false
2,472
py
# $Copyright (c) 2015 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or Terracotta Inc., San Francisco, CA, USA, and/or Software AG (Canada) Inc., Cambridge, Ontario, Canada, and/or, Software AG (UK) Ltd., Derby, United Kingdom, and/or Software A.G. (Israel) Ltd., Or-Yehuda, Israel an...
[ "Richard.Peach@softwareag.com" ]
Richard.Peach@softwareag.com
a25599fcc363658ae14985fb1168f14a33ecb67e
ef7a5e1445706482a0e20d2632f6cd3d0e279031
/amy/extrequests/migrations/0026_auto_20201107_1428.py
f1264cda61cc04a509b387aff45fb9e84eeac2d9
[ "MIT" ]
permissive
pbanaszkiewicz/amy
7bf054463f4ecfa217cc9e52a7927d22d32bcd84
f97631b2f3dd8e8f502e90bdb04dd72f048d4837
refs/heads/develop
2022-11-17T18:56:18.975192
2022-11-03T23:19:41
2022-11-03T23:19:41
28,005,098
0
3
MIT
2018-03-20T18:48:55
2014-12-14T19:25:22
Python
UTF-8
Python
false
false
714
py
# Generated by Django 2.2.13 on 2020-11-07 14:28 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('extrequests', '0025_auto_20201105_1949'), ] operations = [ migrations.AddField( model_name='selforganisedsubmission', ...
[ "piotr@banaszkiewicz.org" ]
piotr@banaszkiewicz.org
c298137ca5f8ba3d23d361dc3cc858f6eb4f2f2e
15a0797f087a9c05b7a679f47fefeeb875affab5
/fermipy/validate/utils.py
af79b178f1eb202b6ff272a7d3fa1304526c98b8
[ "BSD-3-Clause" ]
permissive
XanAstia/fermipy
2496a6a07980faff20958f1a20ad1a3171bf7b35
8d9995934fd44959d51ad7bdcd2981b3694fa35e
refs/heads/master
2021-01-05T20:03:15.590334
2020-07-22T12:35:18
2020-07-22T12:35:18
257,225,629
0
0
BSD-3-Clause
2020-06-24T13:45:52
2020-04-20T09:00:16
Python
UTF-8
Python
false
false
4,675
py
# Licensed under a 3-clause BSD style license - see LICENSE.rst from __future__ import absolute_import, division, print_function import os import copy import re import yaml import sys import mimetypes import tempfile import string import random from os.path import splitext, basename import xml.etree.cElementTree as E...
[ "mdwood137@gmail.com" ]
mdwood137@gmail.com
26dcfc08a00b7aeb3c786eddbad0189fcb96d23a
21b0b4c27193898207751c91b8b2ed168a1b1638
/py/py_0637_flexible_digit_sum.py
1f93090be6969f91e0df5a37180db7d4318b6121
[ "MIT" ]
permissive
lcsm29/project-euler
67560a4e66968f1671a3d7ecf2dda6c956893dca
fab794ece5aa7a11fc7c2177f26250f40a5b1447
refs/heads/main
2023-07-04T11:45:24.374841
2021-08-07T08:20:41
2021-08-07T08:20:41
371,808,781
0
0
null
null
null
null
UTF-8
Python
false
false
984
py
# Solution of; # Project Euler Problem 637: Flexible digit sum # https://projecteuler.net/problem=637 # # Given any positive integer $n$, we can construct a new integer by inserting # plus signs between some of the digits of the base $B$ representation of $n$, # and then carrying out the additions. For example, from...
[ "lcsm29@outlook.com" ]
lcsm29@outlook.com
92e3cdf8225d45ea6513de9fe7fb005957dc43f2
dc2682f687a203dcf5f4f4260f857ef5099bbdab
/src/bootstrapping_olympics/interfaces/rep_nuisance_causal.py
fbe394ac400c52c679a98d561a9b9c3e359c92b9
[]
no_license
AndreaCensi/boot_olympics
1bc3d0cd887ca6b47a159929b53032c298979450
dc05e283bde01cafc4843d82f17413b13c6ce1af
refs/heads/master
2020-07-08T10:49:37.368104
2013-07-19T07:00:22
2013-07-19T07:00:22
2,098,134
0
0
null
null
null
null
UTF-8
Python
false
false
800
py
from .boot_spec import BootSpec from abc import abstractmethod from blocks import SimpleBlackBox from contracts import ContractsMeta, contract __all__ = ['RepresentationNuisanceCausal'] class RepresentationNuisanceCausal(object): ''' ''' __metaclass__ = ContractsMeta class NotInvertible(E...
[ "andrea@cds.caltech.edu" ]
andrea@cds.caltech.edu
dff763da53b7be13b548bd30531adeb22a32193d
bb005bbd0e71d968beb2fc7d7bd88b0cd70def1c
/pytype/mixin.py
d3a9bd998cb15a79e1fd8905c1e4fd5c98f7fb21
[ "Apache-2.0", "MIT" ]
permissive
sawravchy/pytype
eec072afd261b6c7ab6502699c56c13bd6e529fa
284d0f0edb3c60cf02367645bf8a8d055ca50fe9
refs/heads/master
2022-10-12T13:30:32.607779
2020-06-12T23:59:49
2020-06-12T23:59:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
16,732
py
"""Mixins for abstract.py.""" import logging from pytype import abstract_utils from pytype import datatypes from pytype import function from pytype.pytd import mro from pytype.pytd import pytd import six log = logging.getLogger(__name__) class MixinMeta(type): """Metaclass for mix-ins.""" def __init__(cls, n...
[ "rechen@google.com" ]
rechen@google.com
b2c96c93f8929908a4a3a0d19dc92b0814c5c748
c46754b9600a12df4f9d7a6320dfc19aa96b1e1d
/src/transformers/models/gptj/modeling_tf_gptj.py
f215adaaac005501e99f26d42bef5e99b732eac3
[ "Apache-2.0" ]
permissive
huggingface/transformers
ccd52a0d7c59e5f13205f32fd96f55743ebc8814
4fa0aff21ee083d0197a898cdf17ff476fae2ac3
refs/heads/main
2023-09-05T19:47:38.981127
2023-09-05T19:21:33
2023-09-05T19:21:33
155,220,641
102,193
22,284
Apache-2.0
2023-09-14T20:44:49
2018-10-29T13:56:00
Python
UTF-8
Python
false
false
43,937
py
# coding=utf-8 # Copyright 2022 The EleutherAI and HuggingFace Teams. 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 #...
[ "noreply@github.com" ]
huggingface.noreply@github.com
5afadcff75d577496520b4eb19d8797e2579c837
f68e0b205bd3eb036905c60bd03a8d9c7f3b1d88
/machine_learning/3.3.logistic-regression.py
1d88351ce1bc85e63bb039ea2ead4f43f3e9061a
[]
no_license
SleepyBag/TrivialPractice
c31458d0c28afba158cb4090cb7013267ff54bb2
8e006fbe1425f62b52b2a5fe5b6404ea1883f3ab
refs/heads/master
2020-03-22T00:34:37.415074
2018-06-30T14:02:04
2018-06-30T14:02:04
139,253,389
2
0
null
null
null
null
UTF-8
Python
false
false
1,386
py
import numpy as np from math import log from math import exp input_dim = 2 output_dim = 1 beta = np.random.normal(size=(input_dim + 1, output_dim)) def p1(xhat, beta): e = np.exp(np.dot(beta.T, xhat))[0][0] return e / (1 + e) def iterate(X, Y, beta): import pdb # pdb.set_trace() grad = np.zer...
[ "xueqianming200@gmail.com" ]
xueqianming200@gmail.com
c1c45cd2c22039c954ba3d32df4cdc8fca29ead1
9d0195aa83cc594a8c61f334b90375961e62d4fe
/JTTest/SL7/CMSSW_10_2_15/src/dataRunA/nano3083.py
5e9f2bdd220d538e97177f62beff4913cf0d5d34
[]
no_license
rsk146/CMS
4e49592fc64f6438051544c5de18598db36ed985
5f8dab8c59ae556598b9747b52b88205fffc4dbe
refs/heads/master
2022-12-01T03:57:12.126113
2020-08-04T03:29:27
2020-08-04T03:29:27
284,863,383
0
0
null
null
null
null
UTF-8
Python
false
false
4,293
py
# Auto generated configuration file # using: # Revision: 1.19 # Source: /local/reps/CMSSW/CMSSW/Configuration/Applications/python/ConfigBuilder.py,v # with command line options: nanoAOD_jetToolbox_cff -s NANO --data --eventcontent NANOAOD --datatier NANOAOD --no_exec --conditions 102X_dataRun2_Sep2018Rereco_v1 --era...
[ "rsk146@scarletmail.rutgers.edu" ]
rsk146@scarletmail.rutgers.edu
4eebc2b5ea092f4821209c3a0ae4de3b3c0976ec
a72a154e735100827456a22571aa520d1bbdf50e
/nnvm/python/nnvm/frontend/keras.py
d8c98ec66a56e9e249b285e0aade19adc8066b2c
[ "Apache-2.0" ]
permissive
chengshaoyi/tvm
e6a0caf06ca3ea28ce82caef283b2f1e98f88491
b877687fbeb8a6c12b62aac9869f7e54091395f4
refs/heads/master
2020-03-19T15:39:28.603095
2018-06-08T17:23:34
2018-06-08T17:23:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
21,431
py
# pylint: disable=invalid-name, import-self """Keras frontend.""" from __future__ import absolute_import as _abs import sys import numpy as np import tvm from .. import symbol as _sym from .common import SymbolTable __all__ = ['from_keras'] def _check_data_format(keras_layer): if hasattr(keras_layer, ('data_form...
[ "tqchen@users.noreply.github.com" ]
tqchen@users.noreply.github.com
555e47b52b537e75c5f7db4a5e347387352054ae
2de2437bbf480f6518554bcb204106dd37262023
/office365/sharepoint/portal/SPSiteCreationResponse.py
571a183cf080a80520369bacb01a8d04eb63bccb
[ "MIT" ]
permissive
stardust85/Office365-REST-Python-Client
386e5bba16cdee1472b7e23d405a4bf9b6f5e73a
cd369c607c7d137a000734e9c5e8f03ae3e3c603
refs/heads/master
2022-09-29T19:44:02.166438
2020-06-03T23:12:40
2020-06-03T23:12:40
269,356,313
0
0
MIT
2020-06-04T12:41:03
2020-06-04T12:41:02
null
UTF-8
Python
false
false
285
py
from office365.runtime.client_value_object import ClientValueObject class SPSiteCreationResponse(ClientValueObject): def __init__(self): super(SPSiteCreationResponse, self).__init__() self.SiteId = None self.SiteStatus = None self.SiteUrl = None
[ "vvgrem@gmail.com" ]
vvgrem@gmail.com
a4663248aee0f453eeadac2ea056632f3e0246f5
2840fe577ab00f93b752c78d36077bab7e68dbf7
/pp_validate.py
6490f4bdc328efd4f5d24ace83ad28a2998e538b
[ "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-mit-taylor-variant" ]
permissive
jmsteitz/pipresents-gapless
41ab4d3375a374e009adf5944535ca7c79afe0e6
ad2252444c01617294545c62e5ddbb612384dc0e
refs/heads/master
2020-05-25T20:12:09.112735
2017-03-16T14:09:10
2017-03-16T14:09:10
84,963,208
0
0
null
2017-03-14T15:10:15
2017-03-14T15:10:15
null
UTF-8
Python
false
false
46,540
py
import os import json import ConfigParser from Tkinter import Toplevel, Scrollbar,Text from Tkinter import VERTICAL,RIGHT,LEFT,BOTH,Y,NORMAL,END,DISABLED """ 1/12/2016 - warn if foreign files in profile rather than abort """ class Validator(object): def validate_profile(self, root, pp_dir, pp_home, pp_profile,e...
[ "ken@jksthompson.plus.com" ]
ken@jksthompson.plus.com
add2fdf8fbb97db4726458d6089e1bea384ed165
8fc7b22d6ea7444e0b90d5fb8e361ace06b4cb57
/setup.py
fad40934e3e44c29fddd2fe552a04cdead0b85d7
[ "Apache-2.0" ]
permissive
rixx/django-hierarkey
80a9569eca317d997560fc92d3d67e5083ae081e
e61f03bd1a35489905f3b08fdc18755f1ed07973
refs/heads/master
2021-06-07T09:47:59.710988
2020-07-21T14:57:27
2020-07-21T14:57:27
195,140,375
0
0
Apache-2.0
2019-07-03T23:51:33
2019-07-03T23:51:32
null
UTF-8
Python
false
false
1,490
py
from codecs import open from os import path from setuptools import find_packages, setup here = path.abspath(path.dirname(__file__)) # Get the long description from the relevant file try: with open(path.join(here, 'README.rst'), encoding='utf-8') as f: long_description = f.read() except: long_descript...
[ "mail@raphaelmichel.de" ]
mail@raphaelmichel.de
eb250e5339657728771d905ffbc0be84a8103fcc
4e353bf7035eec30e5ad861e119b03c5cafc762d
/QtCore/QXmlStreamNamespaceDeclaration.py
50587d69bdc7d2c462e766f31a2c38b6faa6a6d9
[]
no_license
daym/PyQt4-Stubs
fb79f54d5c9a7fdb42e5f2506d11aa1181f3b7d5
57d880c0d453641e31e1e846be4087865fe793a9
refs/heads/master
2022-02-11T16:47:31.128023
2017-10-06T15:32:21
2017-10-06T15:32:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,849
py
# encoding: utf-8 # module PyQt4.QtCore # from C:\Python27\lib\site-packages\PyQt4\QtCore.pyd # by generator 1.145 # no doc # imports import sip as __sip class QXmlStreamNamespaceDeclaration(): # skipped bases: <type 'sip.simplewrapper'> """ QXmlStreamNamespaceDeclaration() QXmlStreamNamespa...
[ "thekewlstore@gmail.com" ]
thekewlstore@gmail.com
7adaffb1cbe579b1d161a731e9ac13a98af57b08
5a27471bc2ae4a815db2c58d047dbbea03cd8f77
/comparisonFiles/codigos/Simulacion/LV/PDmasIcf_comparacion.py
674865b1769c477c33b36cfaf1c0ec73d109887f
[]
no_license
ezalorpro/LaboratorioDeControl
6ef52bb77b6a2283decb8c9fa153d7b43f019609
ac286214f9a4b32298aa1caec808717f4b2d9a29
refs/heads/master
2023-01-20T19:27:56.233542
2020-03-15T20:24:10
2020-03-15T20:24:10
190,772,544
0
0
null
null
null
null
UTF-8
Python
false
false
4,102
py
import numpy as np from scipy.interpolate import interp1d from scipy.signal import correlate from scipy.stats import energy_distance from scipy.integrate import cumtrapz from scipy import io from matplotlib import pyplot as plt import pickle MatFileMATLAB = io.loadmat('comparisonFiles/Data MATLAB/Simulacion/PDcfmasI10...
[ "kleiver615@gmail.com" ]
kleiver615@gmail.com
bea4ba346ee7ce82719f9664f3447a91400044e8
16f36b0fc607cb9c0d7b4eb7d5123a1b7ed40c62
/untitled1/.idea/sda.py
aa69dcd7d98aab5175474796216259bf79104703
[]
no_license
IanChen6/python-learning
64c5137f536d10ffc10a9664da43ec02722c95de
fea998620ba0a354a741cdbc9d8455bca4080bae
refs/heads/master
2021-01-23T18:45:18.595877
2017-10-31T10:34:51
2017-10-31T10:34:51
102,805,586
0
0
null
null
null
null
UTF-8
Python
false
false
192
py
#!/usr/bin/env python3 #_*_ coding:utf-8 _*_ import sys print(len("中文")) print(sys.getdefaultencoding()) print(len("中文".encode("utf-8"))) print(sys.getdefaultencoding()) import scrapy
[ "626614767@qq.com" ]
626614767@qq.com
f4ae8716a1913caf616981c80109ad0bd68f39a5
e2bf489830e55a57945b8e696f8e2d6acefeb560
/05-系统编程-2/06-列表传递给线程.py
f6412c260a9060ce455498ed6ed3712e669c1585
[]
no_license
taizilinger123/pythonjichu
e713de06fb050943a8a1e0256ccba8dea40a411d
5ee896e92edbac55d02aa63965d896200b8c2623
refs/heads/master
2023-04-01T02:00:37.557667
2023-03-31T05:08:40
2023-03-31T05:08:40
148,663,792
0
0
null
null
null
null
UTF-8
Python
false
false
386
py
from threading import Thread import time def work1(nums): nums.append(44) print("----in work1---",nums) def work2(nums): #延时一会,保证t1线程中的事情做完 time.sleep(1) print("----in work2---",nums) g_nums = [11,22,33] t1 = Thread(target=work1, args=(g_nums,)) t1.start() t2 = Thread(target=...
[ "837337164@qq.com" ]
837337164@qq.com
4b0f0f8ce51b0e74329b1c5d2ed22111fce36c37
f09dc121f213f2881df3572288b7ee5b39246d73
/aliyun-python-sdk-drds/aliyunsdkdrds/request/v20150413/ProductInfoComplementRequest.py
41256ac6198538d4dcc5655592121677237a8a82
[ "Apache-2.0" ]
permissive
hetw/aliyun-openapi-python-sdk
2f31378ad6be0896fb8090423f607e9c7d3ae774
7443eacee9fbbaa93c7975c6dbec92d3c364c577
refs/heads/master
2023-01-19T22:42:36.214770
2020-12-04T10:55:14
2020-12-04T10:55:14
318,689,093
1
0
NOASSERTION
2020-12-05T03:03:03
2020-12-05T03:03:03
null
UTF-8
Python
false
false
1,567
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "sdk-team@alibabacloud.com" ]
sdk-team@alibabacloud.com
1ae2de28aadc8ec72bc4790674f8652982a75968
931515a9fdd4404cb548fb6b80c91590f5d5e3c9
/presalytics/client/presalytics_ooxml_automation/models/theme_background_fills_details.py
523ff5504f7e35da55d93fbdc0052ca07a5c56ce
[ "MIT" ]
permissive
presalytics/python-client
2e2fbd617b493ed8be90b844e23b736f294065e3
5d80b78562126feeeb49af4738e2c1aed12dce3a
refs/heads/master
2021-08-18T02:41:06.938468
2020-12-07T15:04:18
2020-12-07T15:04:18
203,414,411
4
1
MIT
2020-03-31T19:27:47
2019-08-20T16:31:57
Python
UTF-8
Python
false
false
9,185
py
# coding: utf-8 """ OOXML Automation This API helps users convert Excel and Powerpoint documents into rich, live dashboards and stories. # noqa: E501 The version of the OpenAPI document: 0.1.0-no-tags Generated by: https://openapi-generator.tech """ import pprint import re # noqa: F401 import si...
[ "kevin@chart-a-lot.com" ]
kevin@chart-a-lot.com
6b318fa6df2f38457877794dba277c5ba5cc3a84
f26af24795d913a4dd17f467052255d256c95032
/apps/price/models.py
168110b8818fd660a191212deac9e181f91eaf29
[]
no_license
minimedj/3dhero.ru
ccbd8d5d37fe149e6194457e66cfc338afe21bd6
5790f448fe03eecf79760c2e73154f0831abaf54
refs/heads/master
2021-01-22T21:08:00.632873
2016-03-28T13:11:26
2016-03-28T13:11:26
85,397,391
1
0
null
2017-03-18T11:49:44
2017-03-18T11:49:44
null
UTF-8
Python
false
false
618
py
# -*- coding: utf-8 -*- from apps.file.models import File from google.appengine.ext import ndb from model import Base from werkzeug.wrappers import cached_property class PriceFile(Base): order_id = ndb.IntegerProperty( default=0, verbose_name=u'Порядок сортиовки' ) file = ndb.KeyProperty(F...
[ "serg.baburin@gmail.com" ]
serg.baburin@gmail.com
c3dbc32ffea4a9344505e038a381bfe1d443f5d0
3b0336b70c400cac212a9877a45393bb143327dc
/pymontecarlo/util/parameter.py
3d5bc3e4391f5a9678f8089827a5d72f11e7e76b
[]
no_license
silrichter/pymontecarlo
85c0966d4be776e44a51d0665cbd8f8240872a62
77b4b4ede221cea3f3177f9fe84ee89a2a85cb8b
refs/heads/master
2021-01-17T06:20:16.719448
2016-01-22T17:23:28
2016-01-22T17:23:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
23,673
py
#!/usr/bin/env python """ ================================================================================ :mod:`option` -- Building block for options ================================================================================ .. module:: option :synopsis: Building block for options .. inheritance-diagram:: p...
[ "devnull@localhost" ]
devnull@localhost
529d1708aadd414f217458769cc1134d4712d1e0
67e317d203ba478f0dda6d9014b1daa03acee080
/nidm/workflows/ProcessExecution.py
6be6844f43ea864b6b151d88ff96358edf493717
[ "Apache-2.0" ]
permissive
tvanerp/PyNIDM
ec074dee9550dee91b21339c78105e8bf661cb6b
6a94875969c6bc5247b09d7d2793ed979b18ab3f
refs/heads/master
2020-07-25T16:54:03.905301
2019-09-13T23:56:18
2019-09-13T23:56:18
208,361,857
0
0
NOASSERTION
2019-09-13T23:23:06
2019-09-13T23:23:05
null
UTF-8
Python
false
false
1,235
py
import prov.model as pm from ..core import Constants from ..experiment.Core import Core from ..experiment.Core import getUUID class ProcessExecution(pm.ProvActivity, Core): """Class for NIDM-Workflow ProcessExecution Objects. Default constructor uses empty graph with namespaces added from NIDM/Scripts/...
[ "satra@mit.edu" ]
satra@mit.edu
8aa4f99dfc142943b8b42bf343e240017caf68eb
40c6f8449f25d30b16510d6b6da3893e5eae3641
/shorts/urls.py
60cdd103cf7055a38d253710c377d68d0a5a68c5
[]
no_license
fergalmoran/shortio
b2188df44ebf08455ffd150fb6234dbff582f3c8
575dfd8438b37f383e1fc865baf5b7ad65e788ee
refs/heads/master
2020-03-29T13:03:02.682420
2014-04-17T22:10:41
2014-04-17T22:10:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
870
py
from django.conf.urls import patterns, url, include from shorts import views from .api import UserList, UserDetail from .api import UrlList, UrlDetail, UserUrlList user_urls = patterns( '', url(r'^/(?P<username>[0-9a-zA-Z_-]+)/urlss$', UserUrlList.as_view(), name='userurl-list'), url(r'^/(?P<usern...
[ "fergal.moran@gmail.com" ]
fergal.moran@gmail.com
628022e1b0203108c42330f824295c40095a5238
0b312224bd5a9e6b1dd92b78ccf58049b5d69b1b
/compounds/migrations/0022_auto_20180724_2343.py
f8ceb737b47e0233ffe92b7a56a38ba85a895549
[]
no_license
paulosjd/frags
e573cc9bc373a7e0847985478b5bf0bfca9b7153
4af65c7415dbbfa0a92f308bf93d5734c3583c5e
refs/heads/master
2020-03-17T00:58:15.530581
2018-12-12T23:48:15
2018-12-12T23:48:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
763
py
# Generated by Django 2.0.4 on 2018-07-24 21:43 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('compounds', '0021_userbioactive'), ] operations = [ migrations.AddField( model_name='compoundso...
[ "pjdavis@gmx.com" ]
pjdavis@gmx.com
3cf3ebd056bcb46c29d75f30833eea9c8d1dddc6
33110fa5ad8c47e31401769086a985eea1a991c7
/mmsegmentation/tests/test_data/test_dataset.py
3ebd20e28ed6168d7746eb9e04e12c532d11f73c
[ "Apache-2.0" ]
permissive
UESTC-Liuxin/SKMT
32bc2781063de1da2a778659e6501762531b15a8
377bbe3e5d2777d6c3ccaae7a6c364bd9c85d651
refs/heads/master
2023-01-12T19:28:49.340298
2020-11-16T03:35:09
2020-11-16T03:35:09
283,365,017
1
0
null
null
null
null
UTF-8
Python
false
false
7,658
py
import os.path as osp from unittest.mock import MagicMock, patch import numpy as np import pytest from mmseg.core.evaluation import get_classes, get_palette from mmseg.datasets import (ADE20KDataset, CityscapesDataset, ConcatDataset, CustomDataset, PascalVOCDataset, RepeatDataset,USDataset...
[ "625092890@qq.com" ]
625092890@qq.com
3d513b4d49ec184a8c212f0e9e39bded5560e491
a9e60d0e5b3b5062a81da96be2d9c748a96ffca7
/configurations/i21-config/scripts/scannable/waveform_channel/BinpointWaveformChannelController.py
306459920ad78dce613a3566b8f00496e66b5507
[]
no_license
openGDA/gda-diamond
3736718596f47607335ada470d06148d7b57526e
bbb64dcfd581c30eddb210c647db5b5864b59166
refs/heads/master
2023-08-16T08:01:11.075927
2023-08-15T16:01:52
2023-08-15T16:01:52
121,757,699
4
1
null
null
null
null
UTF-8
Python
false
false
3,892
py
""" define a Binpoint class to control data collection during continuous move. Note that the Binpoint device is slaved from the ADC_ACQ_GRP, therefore there is no concept of exposure time. However collection time is required for data pulling stream timing in order to retrieve collected data in a more or less synchron...
[ "fajin.yuan@diamond.ac.uk" ]
fajin.yuan@diamond.ac.uk
6c8c3176d6fab6f847718ff9bf0b86f79b2e7b9f
1fe8d4133981e53e88abf633046060b56fae883e
/venv/lib/python3.8/site-packages/tensorflow/python/tpu/tpu_strategy_util.py
7c6396205ab5e127f88ed702d0b0bdcaa2a13c21
[]
no_license
Akira331/flask-cifar10
6c49db8485038731ce67d23f0972b9574746c7a7
283e7a2867c77d4b6aba7aea9013bf241d35d76c
refs/heads/master
2023-06-14T16:35:06.384755
2021-07-05T14:09:15
2021-07-05T14:09:15
382,864,970
0
0
null
null
null
null
UTF-8
Python
false
false
129
py
version https://git-lfs.github.com/spec/v1 oid sha256:3ea6cc5b52461659dafea8bd5247a3e94f163ecadc1e3f2e4dc1b668a5ca730e size 8774
[ "business030301@gmail.com" ]
business030301@gmail.com
2b0895d4db4313398af8c77ebcb6a061bcb4237a
73e07f0dc3d8b8625105c1528746c91e382567ed
/tests/__init__.py
79c17586ae066ff7d284c0c88d19930680dae095
[ "MIT" ]
permissive
econchick/attrs
d10114f0e838ef0b63aadf5055f3e4a482cd0850
6a1a740c46e3071296eaa7b64d0120913ddadade
refs/heads/master
2021-01-21T00:22:29.237367
2015-02-07T09:06:08
2015-02-07T09:06:08
30,468,084
0
0
null
2015-02-07T19:54:49
2015-02-07T19:54:49
null
UTF-8
Python
false
false
1,181
py
# -*- coding: utf-8 -*- from __future__ import absolute_import, division, print_function from attr import Attribute from attr._make import NOTHING, make_class def simple_class(no_cmp=True, no_repr=True, no_hash=True): """ Return a new simple class. """ return make_class( "C", ["a", "b"], ...
[ "hs@ox.cx" ]
hs@ox.cx
63abffd0d5f913554789ad7d511d77f209c117cc
6aa36fee3f4fcc9ac8f5509e51ea6bd8fc05b39b
/virtualenv-flask/lib/python2.7/site-packages/cybox/objects/win_task_object.py
6349e56f3ccb9792cf8b1ede28ff5f69ce019358
[]
no_license
syn-ack-zack/msg-stix-parser
8c46c4d897d579162f224360a077ac42f28ffe89
1edb7c3b6d60f76f24b91830a1ae7076d46ede14
refs/heads/master
2021-03-27T15:01:07.344754
2016-09-30T16:43:22
2016-09-30T16:43:22
69,684,161
0
0
null
null
null
null
UTF-8
Python
false
false
4,857
py
# Copyright (c) 2013, The MITRE Corporation. All rights reserved. # See LICENSE.txt for complete terms. import cybox import cybox.bindings.win_task_object as win_task_binding from cybox.common import (Base64Binary, DateTime, Duration, HashList, Long, ObjectProperties, String, UnsignedLong) from cybox.objects.e...
[ "nagaich@localhost.localdomain" ]
nagaich@localhost.localdomain
6a89ebca4f0ef920b63c07807d9ea8970a5dca97
7ef2308e51d1d5700fbd092177ee15e2a03ebdd8
/DisasterCrawler/ZHNewsCrawlerPostgreSql/gooseker/gooseeker.py
95f8c3f6537f0b93bfdd207b0375084375a77bfa
[]
no_license
STAWZW/STAWZW1.0
741002eb35c2883e5739fee8d14ff430e9622c01
a835ac27aba17f968116e321bd201b26c9fb3578
refs/heads/master
2020-07-21T20:21:59.753992
2019-09-26T09:21:28
2019-09-26T09:21:28
206,965,347
2
0
null
null
null
null
UTF-8
Python
false
false
1,601
py
#!/usr/bin/python # -*- coding: utf-8 -*- # 模块名: gooseeker # 类名: gsExtractor # Version: 2.0 # 说明: html内容提取器 # 功能: 使用xslt作为模板,快速提取HTML DOM中的内容。 # released by 集搜客(http://www.gooseeker.com) on May 18, 2016 # github: https://github.com/FullerHua/jisou/core/gooseeker.py from urllib import request from urllib.parse import q...
[ "1223868042@qq.com" ]
1223868042@qq.com
b7278ef00ee2684f7f141252dd31fd099d9161ac
a6894d17fdbceb56d4364f0e279d03b16a181396
/working-env/lib/python2.5/TurboGears-1.0.2.2-py2.5.egg/turbogears/i18n/data/el_GR.py
195ec513132505f69da61123e521240105357ad6
[]
no_license
thraxil/gtreed
c1c5a19178c1f50ff5e61887b13ff7b004da1d25
ca228848364edb204b15a7411fd6192379781c78
refs/heads/master
2020-04-18T03:02:15.468044
2008-12-10T20:02:12
2008-12-10T20:02:12
88,388
1
0
null
null
null
null
UTF-8
Python
false
false
22,155
py
# Formatting configuration for locale el_GR languages={'el': u'\u0395\u03bb\u03bb\u03b7\u03bd\u03b9\u03ba\u03ac', 'en': u'\u0391\u03b3\u03b3\u03bb\u03b9\u03ba\u03ac', 'zh': u'\u039a\u03b9\u03bd\u03b5\u03b6\u03b9\u03ba\u03ac', 'ca': u'\u039a\u03b1\u03c4\u03b1\u03bb\u03b1\u03bd\u03b9\u03ba\u03ac', 'it': u'\u0399\u03c4\u...
[ "anders@columbia.edu" ]
anders@columbia.edu
901b405f4a2a51fd6ca9bfd5094110f8809a137e
487ce91881032c1de16e35ed8bc187d6034205f7
/codes/CodeJamCrawler/16_0_1_neat/16_0_1_ankso_problem1.py
abdcde8c10348975b61eb615936ae90fb286edb5
[]
no_license
DaHuO/Supergraph
9cd26d8c5a081803015d93cf5f2674009e92ef7e
c88059dc66297af577ad2b8afa4e0ac0ad622915
refs/heads/master
2021-06-14T16:07:52.405091
2016-08-21T13:39:13
2016-08-21T13:39:13
49,829,508
2
0
null
2021-03-19T21:55:46
2016-01-17T18:23:00
Python
UTF-8
Python
false
false
736
py
def returnList(n): n = str(n) digits = list(n) return digits def check(all): stat = False for i in range(10): if str(i) in all: stat = True else: stat = False break return stat testCases = int(raw_input()) for i in range(testCases): N =...
[ "[dhuo@tcd.ie]" ]
[dhuo@tcd.ie]
d4529fd488e177eff6820f5688b7d6fd9790eab3
c43fbcb4442428e85616f664964d1e27ca396070
/runs/malte/simple/config.py
5d9a5f0f13ad31b04abdecbc9011127e24d6fd1c
[]
no_license
megalut/megalut
ddac89a0dca70e13979d31b80d52233226233ade
63bd4bec8000ad13f4963d464d7b7b4d470a36ab
refs/heads/master
2020-04-15T00:33:42.815988
2018-09-11T08:45:48
2018-09-11T08:45:48
20,882,727
2
1
null
2018-09-11T08:45:49
2014-06-16T11:39:14
Python
UTF-8
Python
false
false
317
py
import megalut import megalut.learn import os import numpy as np import logging #logging.basicConfig(level=logging.INFO) logging.basicConfig(format='PID %(process)06d | %(asctime)s | %(levelname)s: %(name)s(%(funcName)s): %(message)s',level=logging.INFO) workdir = "/vol/fohlen11/fohlen11_1/mtewes/simplewd/"
[ "malte.tewes@gmail.com" ]
malte.tewes@gmail.com
918d1f2c0d7a9e30280136bb90e114355d60de4c
63bacb52d016cf7a237dacd79ba2861842c49ca9
/test/test_put_write_off_invoice_response_credit_memo.py
e43a4fa1e412ddeef0e6976ce236a3740fe64cd4
[]
no_license
arundharumar-optimizely/zuora-client-python
ee9667956b32b64b456920ad6246e02528fe6645
a529a01364e41844c91f39df300c85c8d332912a
refs/heads/master
2020-07-05T23:09:20.081816
2019-07-30T21:46:47
2019-07-30T21:46:47
202,811,594
0
0
null
2019-08-16T23:26:52
2019-08-16T23:26:52
null
UTF-8
Python
false
false
40,430
py
# coding: utf-8 """ Zuora API Reference # Introduction Welcome to the reference for the Zuora REST API! <a href=\"http://en.wikipedia.org/wiki/REST_API\" target=\"_blank\">REST</a> is a web-service protocol that lends itself to rapid development by using everyday HTTP and JSON technology. The Zuora REST A...
[ "brian.lucas@optimizely.com" ]
brian.lucas@optimizely.com
aca3d953cd1e8d9ebdc2f0213306bab4491b589f
d488f052805a87b5c4b124ca93494bc9b78620f7
/google-cloud-sdk/lib/surface/compute/addresses/create.py
009544b0796daa56bbdd5968a5eb18a72122a125
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0", "MIT" ]
permissive
PacktPublishing/DevOps-Fundamentals
5ce1fc938db66b420691aa8106ecfb3f9ceb1ace
60597e831e08325c7e51e8557591917f7c417275
refs/heads/master
2023-02-02T04:48:15.346907
2023-01-30T08:33:35
2023-01-30T08:33:35
131,293,311
13
19
null
null
null
null
UTF-8
Python
false
false
14,666
py
# Copyright 2014 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 ag...
[ "saneetk@packtpub.com" ]
saneetk@packtpub.com
f677ca474fb5707bca7e6923f812c0f9b03202fe
aa6e1dd07a71a73bc08574b76f9e57a3ce8c8286
/077.Test_BeeWare_windows/beeware-tutorial/beeware-venv/Lib/site-packages/pip/_internal/network/cache.py
a0d55b5e992a5f85890fc06703f33dc53995a17b
[ "MIT" ]
permissive
IvanaXu/PyTools
0aff5982f50bb300bfa950405192c78473b69537
358ae06eef418fde35f424909d4f13049ca9ec7b
refs/heads/master
2023-06-07T21:45:44.242363
2023-06-06T16:00:25
2023-06-06T16:00:25
163,940,845
60
8
MIT
2022-12-23T02:49:05
2019-01-03T07:54:16
Python
UTF-8
Python
false
false
2,329
py
"""HTTP cache implementation. """ import os from contextlib import contextmanager from pip._vendor.cachecontrol.cache import BaseCache from pip._vendor.cachecontrol.caches import FileCache from pip._vendor.requests.models import Response from pip._internal.utils.filesystem import adjacent_tmp_file, replace from pip....
[ "1440420407@qq.com" ]
1440420407@qq.com
b04538155bd3cd73f2f1271087a0b63e9be949e1
b6303baeaa840671f1ea747d47c905779a07ffce
/edital/migrations/0015_auto_20210928_1833.py
9a7475e433d719627343e80ac38fcc3a631bb3c5
[]
no_license
amarantejoacil/sisnae
89954ef9e837799750dc56274ec1207e6d39daef
90e237a41e698cda357b8f555fbb0649f16a78b3
refs/heads/main
2023-08-24T23:06:47.628428
2021-10-27T16:26:12
2021-10-27T16:26:12
401,503,074
1
0
null
null
null
null
UTF-8
Python
false
false
739
py
# Generated by Django 3.2.6 on 2021-09-28 22:33 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('edital', '0014_auto_20210907_2050'), ] operations = [ migrations.AddField( model_name='edital', name='edital_quantid...
[ "joacil.amarante@gmail.com" ]
joacil.amarante@gmail.com
feead4ae8987ec4ae2e3b66f634259e951d22ad3
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/synthetic/tree-big-4214.py
2e4e8115bab2dbd80fa145b28bc6f637fbeefaec
[]
no_license
Virtlink/ccbench-chocopy
c3f7f6af6349aff6503196f727ef89f210a1eac8
c7efae43bf32696ee2b2ee781bdfe4f7730dec3f
refs/heads/main
2023-04-07T15:07:12.464038
2022-02-03T15:42:39
2022-02-03T15:42:39
451,969,776
0
0
null
null
null
null
UTF-8
Python
false
false
23,299
py
# Binary-search trees class TreeNode(object): value:int = 0 left:"TreeNode" = None right:"TreeNode" = None def insert(self:"TreeNode", x:int) -> bool: if x < self.value: if self.left is None: self.left = makeNode(x) return True else: ...
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
768fff722cf0d2f12f0a7428a500a54db6db3a92
02952fc67147a2f11a9ed8c4eb29210bec5672ed
/business/service/urls/polardb.py
239025e7fe9457d9d1dfc284c34ba4bc1af18f10
[]
no_license
cuijianzhe/cow
b110a70398b09a401dadc7d3ed24dfe2bae50f5b
3539cab6e73571f84b7f17391d9a363a756f12e1
refs/heads/main
2023-06-04T10:33:33.975885
2021-06-19T10:40:36
2021-06-19T10:40:36
340,634,448
2
0
null
null
null
null
UTF-8
Python
false
false
365
py
from django.urls import path from business.service.apis import polardb as polardb_api urlpatterns = [ path('service/polardb/create/', polardb_api.CreateServicePolarDBApi.as_view()), path('service/polardb/delete/', polardb_api.DeleteServicePolarDBApi.as_view()), path('service/polardb/list/', polar...
[ "598941324@qq.com" ]
598941324@qq.com
bffd945b3e55d605e9bdc96d37c366719e574dc5
32cb0be487895629ad1184ea25e0076a43abba0a
/LifePictorial/top/api/rest/CrmGroupsGetRequest.py
fdf3e997d2a6a1433995e490178adfa406e9a607
[]
no_license
poorevil/LifePictorial
6814e447ec93ee6c4d5b0f1737335601899a6a56
b3cac4aa7bb5166608f4c56e5564b33249f5abef
refs/heads/master
2021-01-25T08:48:21.918663
2014-03-19T08:55:47
2014-03-19T08:55:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
334
py
''' Created by auto_sdk on 2014-02-10 16:59:30 ''' from top.api.base import RestApi class CrmGroupsGetRequest(RestApi): def __init__(self,domain='gw.api.taobao.com',port=80): RestApi.__init__(self,domain, port) self.current_page = None self.page_size = None def getapiname(self): return 'taobao.crm...
[ "poorevil@gmail.com" ]
poorevil@gmail.com
d3987022176ead2e9f190e5c0da47c1505c6fba0
dfdecc0f91c6fa0319325561ed0a20f8544f0312
/test.py
4b61a3c63775e29a496c1734d0afc1a30b4e6eeb
[]
no_license
ShichaoMa/MultiThreadClosing
c3807047938329a8655d65dc011173c16375240c
43b556d9ee6a6ae11f1481675b822b2660a7c36b
refs/heads/master
2021-01-20T19:27:04.450710
2017-12-09T08:58:15
2017-12-09T08:58:15
64,533,341
4
0
null
null
null
null
UTF-8
Python
false
false
697
py
import time from threading import Thread from multi_thread_closing import MultiThreadClosing class Test(MultiThreadClosing): name = "test_thread" def start(self): t1 = Thread(target=self.process) t2 = Thread(target=self.process) self.threads.append(t1) self.threads.append(t2)...
[ "308299269@qq.com" ]
308299269@qq.com
a4f087cbb7c9c43b0ecc4c3defb3fd07e34068fa
5bf245e55b756ca3e664d857f36db092855c7a98
/externals/mne/beamformer/_lcmv.py
75a9b0204b6b6c2681bca51cb1e578b8a713ac9b
[ "BSD-3-Clause" ]
permissive
kingjr/decoding_challenge_cortana_2016_3rd
b264fabbe8fb2f3788d11dc2c4deebcf217a64a5
26c2ebf5200b5a5cd268fa73ac3928d7257d08d3
refs/heads/master
2021-01-20T17:54:12.617430
2016-07-13T22:31:58
2016-07-13T22:31:58
63,120,115
10
2
null
null
null
null
UTF-8
Python
false
false
30,679
py
"""Compute Linearly constrained minimum variance (LCMV) beamformer. """ # Authors: Alexandre Gramfort <alexandre.gramfort@telecom-paristech.fr> # Roman Goj <roman.goj@gmail.com> # # License: BSD (3-clause) import numpy as np from scipy import linalg from ..io.constants import FIFF from ..io.proj import make...
[ "jeanremi.king+github@gmail.com" ]
jeanremi.king+github@gmail.com
878f78437dc5e1bec4b5c66bd1443295fcebfb4e
bcf678908eb3e26f6172265406bfaaa7129f6b18
/Blog/myapp/views.py
64d2228c228fc572bf4ed3eb5100262b4f3071d9
[]
no_license
loganjoon/0713-Blog
935cbd75c8682ff6bc6841bc414ad0db3225a917
71494795515753b6a354e1b93ed57858e852a4a5
refs/heads/master
2022-11-17T00:09:40.770351
2020-07-13T02:31:34
2020-07-13T02:31:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
417
py
from django.shortcuts import render from .models import BlogFrame from django.shortcuts import render, get_object_or_404 def main(request): blogs = BlogFrame.objects return render(request, 'main.html',{'blogs':blogs}) def detail(request, blog_id): blog_detail = get_object_or_404(BlogFrame, pk=blog_id) ...
[ "you@example.com" ]
you@example.com
5649862f39c4121adba3f3cf54160b5251b6ff8e
242da8865e037f9fffb76269c3acddb73ce9fa14
/packages/pyright-internal/src/tests/samples/forLoop1.py
6f5ced2b691c9f7c57d066e0809a9261e765695a
[ "MIT", "LicenseRef-scancode-generic-cla" ]
permissive
khyveasna11111908/pyright
f42eceae044f6fbc27552c1765b03ebd345a451c
493d47807b96137995e4bb6ca341930e4de911f9
refs/heads/main
2023-08-30T00:08:36.191799
2021-09-25T19:17:13
2021-09-25T19:17:13
410,361,483
1
1
NOASSERTION
2021-09-25T19:15:23
2021-09-25T19:15:22
null
UTF-8
Python
false
false
1,185
py
# This sample tests 'for' operations (both simple for loops # and list comprehension for loops). from typing import AsyncIterator, List, Iterator def requires_int(val: int): pass list1 = [1, 2, 3] # type: List[int] for a in list1: requires_int(a) int1 = 1 # This should generate an error because # an i...
[ "erictr@microsoft.com" ]
erictr@microsoft.com
5348b105b39d20eb47abfa9721d17ff45cc83590
d1aa6e7d5631d7806531660febbd1f856eaeece7
/python/paddle/distribution/normal.py
8a9e5cd7372a7ef98548986242a286f6f14efc4c
[ "Apache-2.0" ]
permissive
gongweibao/Paddle
510cd4bc0ef89bc6ccee7b6b8eca52c00e014b77
60f9c60cd8196c66c391d79c35d341e9072f8838
refs/heads/develop
2023-03-13T17:43:35.675875
2022-09-20T08:46:15
2022-09-20T08:46:15
82,279,237
3
2
Apache-2.0
2021-05-26T06:17:43
2017-02-17T09:16:16
Python
UTF-8
Python
false
false
10,689
py
# Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
[ "noreply@github.com" ]
gongweibao.noreply@github.com
484234961357522c403302d254ccabdc4df0e383
f3f10bb0ec28489d3111c72ce9811b01fa629d64
/setup.py
ada05e6131d7ef1e7ee185a5fae1c8a5dfe88d3b
[ "BSD-2-Clause" ]
permissive
gitter-badger/labscript
db0e6f1a0c49a78f6dc08efea8607bce499a26a4
26f68923c71a56d84e19ae2ab894d2f4d6bdd9b4
refs/heads/master
2022-04-26T02:40:36.586340
2020-05-02T17:33:28
2020-05-02T17:33:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,497
py
# USAGE NOTES # # Make a PyPI release tarball with: # # python setup.py sdist # # Upload to test PyPI with: # # twine upload --repository-url https://test.pypi.org/legacy/ dist/* # # Install from test PyPI with: # # pip install --index-url https://test.pypi.org/simple/ labscript # # Upload to real PyPI with...
[ "chrisjbillington@gmail.com" ]
chrisjbillington@gmail.com
efa84b7b252d3f011527c3e5a96bab39d82863ad
c817d8c3daf2ea79dc02a2e624e49c2fd556007d
/audit/models.py
40eea1974af60239d983e11b9cab78dd9c239773
[]
no_license
DUMBALINYOLO/stats-filtering
7a3d1ccd52527031a66946cdb06286a244be0b1f
64d62f84bcfb465cb8721cdbfbb00fe034ac9893
refs/heads/master
2023-03-17T11:09:17.522663
2021-03-12T12:01:16
2021-03-12T12:01:16
347,049,684
0
0
null
null
null
null
UTF-8
Python
false
false
673
py
from django.db import models class AuditLog(models.Model): timestamp = models.DateTimeField(auto_now=True) user = models.CharField(max_length=50, null=False, blank=False) user_ip = models.CharField(max_length=100, null=False, blank=False) action_name = models.CharField(max_length=20, null=False, blank=...
[ "baridzimaximillem@gmail.com" ]
baridzimaximillem@gmail.com
0bce70d10cc3aaf768ca97f81cc8c150bf7dc968
e5483ab737acd9fb222f0b7d1c770cfdd45d2ba7
/ecommerce/core/migrations/0019_auto_20200617_1118.py
ac79742a44b8082f258a0b47704601705075a955
[]
no_license
mxmaslin/otus_web
6c1e534047444d7a1fc4cd1bf8245c25d9fc4835
b90ad69e1b5c1828fa2ace165710422d113d1d17
refs/heads/master
2022-12-09T19:52:58.626199
2020-07-07T19:15:52
2020-07-07T19:15:52
226,154,128
1
1
null
2022-12-08T03:23:10
2019-12-05T17:25:11
JavaScript
UTF-8
Python
false
false
2,545
py
# Generated by Django 2.2.12 on 2020-06-17 08:18 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('core', '0018_coupon_refund_userprofile'), ] operations = [ migrations.Alt...
[ "zapzarap@yandex.ru" ]
zapzarap@yandex.ru
cfa5f4341bf4ff6482ca10400733edefed6df658
f3693916a8b118bf139364604dac3f51235ed613
/functional/Components/Clients/Clients_GET/test_TC_42892_Clients_GET_Invalid_Page_Size.py
8e24a8ec90dc24677d7dd10d3374b3b4a548f8b0
[]
no_license
muktabehera/QE
e7d62284889d8241d22506f6ee20547f1cfe6db1
3fedde591568e35f7b80c5bf6cd6732f8eeab4f8
refs/heads/master
2021-03-31T02:19:15.369562
2018-03-13T02:45:10
2018-03-13T02:45:10
124,984,177
0
0
null
null
null
null
UTF-8
Python
false
false
1,684
py
# -*- coding: UTF-8 -*- """PFE Component Tests - Clients. * TC-42892 - Clients GET: Verify that 20 records is displayed on providing 'page-size' value as 0 for 'page' parameter using request GET /clients. Equivalent test CURL command: curl -H "Host: <client_host>" -H "Authorization: Bearer <valid_token>" ...
[ "mbehera@qumu.com" ]
mbehera@qumu.com
4b1816e64d86e656e29c4d7e8747cabafc9b5f74
4a36b5979b0753b32cff3956fd97fb8ed8b11e84
/1.0/_downloads/a783c0b285deabf61a1ae7035b88256a/cluster_stats_evoked.py
30ed1d1a078ff13647503661206530566df17338
[]
permissive
mne-tools/mne-tools.github.io
8aac7ae10bf2faeeb875b9a351a5530dc0e53154
495e878adc1ef3374e3db88604504d7542b01194
refs/heads/main
2023-09-03T07:06:00.660557
2023-09-03T04:10:18
2023-09-03T04:10:18
35,639,371
12
16
BSD-3-Clause
2023-05-05T19:04:32
2015-05-14T22:04:23
HTML
UTF-8
Python
false
false
2,790
py
# -*- coding: utf-8 -*- """ .. _ex-cluster-evoked: ======================================================= Permutation F-test on sensor data with 1D cluster level ======================================================= One tests if the evoked response is significantly different between conditions. Multiple comparison...
[ "dan@mccloy.info" ]
dan@mccloy.info
b21cc60288a12a525d33281ba13def79fd81b34a
597c4f48332251552a602122bb3d325bc43a9d7f
/etc/chapter09_stack_old/implement/04_empty.py
aacff5442075e0c2020872af886861589bfe5559
[]
no_license
Kyeongrok/python_algorithm
46de1909befc7b17766a57090a7036886361fd06
f0cdc221d7908f26572ae67b5c95b12ade007ccd
refs/heads/master
2023-07-11T03:23:05.782478
2023-06-22T06:32:31
2023-06-22T06:32:31
147,303,654
0
1
null
null
null
null
UTF-8
Python
false
false
407
py
class Stack1(): arr = [] last_index = 0 def __init__(self, size=10000): self.arr = [None] * size def push(self, value): self.arr[self.last_index] = value self.last_index += 1 def pop(self): value = self.arr[self.last_index - 1] self.last_index -= 1 ...
[ "oceanfog1@gmail.com" ]
oceanfog1@gmail.com
b34a8a5649c8d6340f7eb3cfb2c1d166f74f221b
33736b585caa659ac4a5a8a1ac52df50bdf71f1b
/py_solution/5_SMS.py
53e953b2191981118abe61d67c0f78617db28fe7
[]
no_license
oliverhuangchao/epic_interview
3d649fadab0728c629bfe9d8cc14b9045a593385
4cfdbc0b83e13e7552633e566b3ddbb4a250a6a0
refs/heads/master
2021-01-10T22:29:37.663863
2015-07-17T18:55:42
2015-07-17T18:55:42
38,897,661
0
0
null
null
null
null
UTF-8
Python
false
false
1,412
py
# SMS # You are given a telephone keyboard # 0-0, 1-1, 2-ABC2, 3-DEF3, 4-GHI4, 5-JKL5, 6-MNO6,7-PQRS7, 8-TUV8, 9-WXYZ9, *-space, # #-char separater # if you type "2", you will get 'A', that is "2"-'A', "22"-'B' ,"222"-'C', "2222"-'D' # However, the digits can repeated many times # "22222"-you get 'A' again . War...
[ "chaoh@g.clemson.edu" ]
chaoh@g.clemson.edu
4ae97a5658a60b30643ff161b05f6a8521096ec4
5a4d5ee624b375ece06fda1467afe18beb69c14b
/Algorithm/SW_Expert/1-38.py
88b04484164d99806c34411f17d319537db83606
[]
no_license
Knightofcydonia51/TIL
cd10dab949659bc827118ee42b25d926336dce23
78d7e8617f4abed9932a557c12e68bd950f8230d
refs/heads/master
2022-12-26T00:10:06.262200
2022-05-26T01:12:32
2022-05-26T01:12:32
195,938,010
0
0
null
2022-12-16T01:03:09
2019-07-09T05:22:49
Python
UTF-8
Python
false
false
109
py
l=[1,2,3,4,3,2,1] def deleter(list2): list2=list(set(list2)) return list2 print(l) print(deleter(l))
[ "leavingwill@gmail.com" ]
leavingwill@gmail.com
5e405561491c9f8ec9865d157896c876e026bf58
98c6ea9c884152e8340605a706efefbea6170be5
/examples/data/Assignment_2/mhmmik002/question2.py
f65b3961a2a06e9df45c62d5bc009ab70df32d71
[]
no_license
MrHamdulay/csc3-capstone
479d659e1dcd28040e83ebd9e3374d0ccc0c6817
6f0fa0fa1555ceb1b0fb33f25e9694e68b6a53d2
refs/heads/master
2021-03-12T21:55:57.781339
2014-09-22T02:22:22
2014-09-22T02:22:22
22,372,174
0
0
null
null
null
null
UTF-8
Python
false
false
2,274
py
print("Welcome to the 30 Second Rule Expert") print("------------------------------------") print("Answer the following questions by selecting from among the options.") x=input("Did anyone see you? (yes/no)\n") if (x) == "yes": b=input("Was it a boss/lover/parent? (yes/no)\n") if (b) == "no": ...
[ "jarr2000@gmail.com" ]
jarr2000@gmail.com
b5b6b93910e5075aaefa207e44ac09ac7a47bada
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_89/41.py
4cb3ead2a2dc396c5a937e620544e8867f8ae5e0
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,082
py
#!/usr/bin/env python primes=[2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97, 101, 103, 107, 109, 113, 127, 131, 137, 139, 149, 151, 157, 163, 167, 173, 179, 181, 191, 193, 197, 199, 211, 223, 227, 229, 233, 239, 241, 251, 257, 263, 269, 271, 277, 281, 283, 293, 307, 311,...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
0cbeaf2442721ecc71a0cd8158504cac1b4e4f47
eade1861db1968645e0e17dfaa5250a4b8245b98
/instacart/faron.py
bf8a14a8e3fb487d4321cee3fb9b8eb7eb4a4b08
[]
no_license
piupiuup/competition
5b5da56fed336e07cf99cef8f5bfe89a8f771900
076c30df3d2647cb3580c543e604375e84590ca7
refs/heads/master
2022-09-30T14:47:01.244084
2020-05-30T12:56:02
2020-05-30T12:56:02
268,074,180
1
0
null
null
null
null
UTF-8
Python
false
false
2,764
py
""" @author: Faron """ import numpy as np import pandas as pd from joblib import Parallel, delayed import multiprocessing from datetime import datetime ''' Calculates (user, product) order_streak for the last n orders. - abs(order_streak) is length of streak - sgn(order_streak) encodes type of streak (non-ordered vs ...
[ "278044960@qq.com" ]
278044960@qq.com
92c1d2a705987af6519a8232a61560316e935a30
039f2c747a9524daa1e45501ada5fb19bd5dd28f
/ABC008/ABC008c.py
87101a377b00a29da7177f1b64b86131d72617f7
[ "Unlicense" ]
permissive
yuto-moriizumi/AtCoder
86dbb4f98fea627c68b5391bf0cc25bcce556b88
21acb489f1594bbb1cdc64fbf8421d876b5b476d
refs/heads/master
2023-03-25T08:10:31.738457
2021-03-23T08:48:01
2021-03-23T08:48:01
242,283,632
0
0
null
null
null
null
UTF-8
Python
false
false
76
py
#ABC008c import sys input = sys.stdin.readline sys.setrecursionlimit(10**6)
[ "kurvan1112@gmail.com" ]
kurvan1112@gmail.com
aeb73fa853bdfc044c427f1d12e75525607b2690
b7d766db43e1857bc1c886bbffa01817d201fb2e
/Algorithm PS/이것이 취업을 위한 코딩테스트다/Chapter 11 그리디 문제/볼링공 고르기.py
7b772fe7bd59365f6202c61571944cf8694f0793
[]
no_license
Jongminfire/Python
ae4010b23b60b59cddd837344784ef9da33d1b1d
11219310cd13c18647c3220b89878c25fdc98922
refs/heads/main
2023-07-27T20:27:12.612883
2021-09-10T08:05:01
2021-09-10T08:05:01
307,398,237
0
0
null
null
null
null
UTF-8
Python
false
false
372
py
n,m = map(int,input().split()) ball = list(map(int,input().split())) # 중복을 제외한 종류를 얻기 위해 (문제에서는 m이 10이하 이므로 list로 선언해도 됨) s = set(ball) answer = 0 # 중복이 하나도 없는 경우 계산 for i in range(1,n): answer += i # 중복된 만큼 빼주기 for i in s: answer -= ball.count(i)-1 print(answer)
[ "51112542+Jongminfire@users.noreply.github.com" ]
51112542+Jongminfire@users.noreply.github.com
1b1ff1573ecfd049b15a8a82ced9916ca5a8548e
cd127231a354bf7a299667e65cbd83265988be7f
/COMPANIES/ness/ex.py
f54d1ef46bca7fff2e8525f57769802775ccf1a2
[]
no_license
nagireddy96666/Interview_-python
de96c8d2dfd56343351bd0039adad561e79aac1a
6789d200ded60575682f467c880990937e4d4f0f
refs/heads/master
2020-03-10T01:53:17.185819
2018-04-11T16:22:05
2018-04-11T16:22:05
129,121,777
1
0
null
null
null
null
UTF-8
Python
false
false
1,416
py
>>> x=(1,2,(4,5,6,7,8)) >>> x[2][1:4] (5, 6, 7) >>> "".join([str(i) for i in x[2][1:4]]) '567' >>> s="apple banna and apple banna " >>> s.count('apple') 2 >>> s.count('banna')==s.count('apple') True >>> l=['apple',['banna','apple']] >>> l.count('apple') 1 >>> set(l) Traceback (most recent call last): File "<pyshell#...
[ "nagireddy96666@gmail.com" ]
nagireddy96666@gmail.com
e80898bbcbe582829b80d0cba3f32816f4b4f2e6
15102eb2c657a296eb00821dc378225b79fbc17e
/Homework/venv/Lib/site-packages/pip-19.0.3-py3.7.egg/pip/_vendor/html5lib/treebuilders/__init__.py
719f41d61f65e2d4064afc9d24e406f6c2af3e92
[]
no_license
yuju13488/pyworkspace
746446b3573fa6241d979b205e964e7d52af009b
0c77836185237450ee446542e6ff3856c7cd7de1
refs/heads/master
2020-08-02T03:56:55.577735
2019-10-04T05:50:56
2019-10-04T05:50:56
211,226,300
0
0
null
null
null
null
UTF-8
Python
false
false
3,607
py
"""A collection of modules for building different kinds of trees from HTML documents. To create a treebuilder for a new type of tree, you need to do implement several things: 1. A set of classes for various types of elements: Document, Doctype, Comment, Element. These must implement the interface of ``base.treebui...
[ "shiyoo123@hotmail.com" ]
shiyoo123@hotmail.com
1405cbdf7ef8552c640e6016fb19520d9b5d29bb
f82757475ea13965581c2147ff57123b361c5d62
/gi-stubs/repository/Clutter/ActorPrivate.py
5442f5ceb9b035c2bbbd78a25b97746718dc1c0e
[]
no_license
ttys3/pygobject-stubs
9b15d1b473db06f47e5ffba5ad0a31d6d1becb57
d0e6e93399212aada4386d2ce80344eb9a31db48
refs/heads/master
2022-09-23T12:58:44.526554
2020-06-06T04:15:00
2020-06-06T04:15:00
269,693,287
8
2
null
2020-06-05T15:57:54
2020-06-05T15:57:54
null
UTF-8
Python
false
false
4,378
py
# encoding: utf-8 # module gi.repository.Clutter # from /usr/lib64/girepository-1.0/Clutter-1.0.typelib # by generator 1.147 """ An object which wraps an introspection typelib. This wrapping creates a python module like representation of the typelib using gi repository as a foundation. Accessing attributes of ...
[ "ttys3@outlook.com" ]
ttys3@outlook.com
9b18c9b220820abf2ca3f6d3ac3ad54b51e7b61b
8115597c29c6d38b947f7097cbe00e43d20839c4
/src/watch_copter_vs_enemies.py
96cd17b6be2b6432e87fd2488b31b7371376b2e0
[]
no_license
Vottivott/evolutionary-algorithms
cd323f85fb9aa8e57377dfba9237275bf9326649
ccd6f7670fea42fee40d2c127efe8c96bba21cb0
refs/heads/master
2018-10-23T23:16:28.085776
2017-09-28T22:04:02
2017-09-28T22:04:02
103,953,407
0
0
null
null
null
null
UTF-8
Python
false
false
80
py
from copter_simulation import watch_copter_vs_enemies watch_copter_vs_enemies()
[ "hannes.von.essen@gmail.com" ]
hannes.von.essen@gmail.com
0cad81c5959f3b052190971ff25ba4c17be272b4
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/K3qMssK6mF34ctXE5_0.py
d554d4ac09f043697d131072a7af0034bd43ba29
[]
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
42
py
def square_patch(n): return [[n]*n]*n
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
6a8fd64fa290a4515022aa9b4be3f29099b8f7b8
537e2be29992f8bfd3fb2797003102f4e79f5f9f
/scripts/seq-composition
617c244546da86e1baf3cf510e368eabb5095e37
[ "BSD-2-Clause", "BSD-3-Clause" ]
permissive
etal/biofrills
a0cf45700abbda865f71d55030717dee4d769446
36684bb6c7632f96215e8b2b4ebc86640f331bcd
refs/heads/master
2020-06-01T16:29:41.540511
2013-10-21T23:01:19
2013-10-21T23:01:19
5,113,363
5
1
null
null
null
null
UTF-8
Python
false
false
642
#!/usr/bin/env python """Print the frequencies of each letter in a sequence set.""" # TODO - move the calculation to module (take input stream, return freqs) import fileinput from collections import Counter # Count character types counts = Counter() for line in fileinput.input(): if line.startswith('>') or not l...
[ "eric.talevich@gmail.com" ]
eric.talevich@gmail.com
7362e34f612448e62b39d7ee13d6f41730354825
ba27372850fd287f4e268f486103afb797c7f4f4
/setup.py
286ff3234f0365f85c60fc77027909c3e6576437
[ "BSD-3-Clause" ]
permissive
django-blog-zinnia/feed2zinnia
9702a3b177f16009ac49907b2298f98243fab374
ec1a5e44f6175dab248e2f4f9ba3f9ecb2800e6b
HEAD
2016-09-16T05:26:56.676013
2015-01-15T11:19:01
2015-01-15T11:19:01
29,293,499
0
1
null
null
null
null
UTF-8
Python
false
false
1,092
py
"""Setup script of feed2zinnia""" from setuptools import setup from setuptools import find_packages import zinnia_feed setup( name='feed2zinnia', version=zinnia_feed.__version__, description='Import your RSS or Atom feed into Zinnia', long_description=open('README.rst').read(), keywords='django,...
[ "fantomas42@gmail.com" ]
fantomas42@gmail.com
177e721a596ee080d3343228f66a65ecd4fa0724
dc965a62709bbb2c6c9ad01859a83507d7457941
/Assignments/Class Assignments/AutoGenerateClass.py
ee53ba982de479f56ddc5aeb651099442d698a61
[]
no_license
JyotiSathe/Python
ead31a84cde86d734acdf0ad83c27c6bb1c1a331
846371d678ba225c210493605233b262a51bd950
refs/heads/master
2021-05-11T22:38:30.299035
2018-06-24T14:08:37
2018-06-24T14:08:37
117,364,196
0
0
null
null
null
null
UTF-8
Python
false
false
692
py
class AutoGenerate: def __init__(self,start,stop,step=1): self.start=start self.stop=stop self.step=step def Next(self): self.start+=self.step if self.start>=self.stop: raise StopIteration yield self.start def next(self): ret...
[ "noreply@github.com" ]
JyotiSathe.noreply@github.com
a9dfdb93f377c71c1655c5383fe4d557af7f730b
6758974fd7046a3947f1387a788cfebe7ac85b22
/BilibiliUpVideosDownloader/BilibiliUpVideosDownload.py
d5eba781595ae6be622bd83dbf99b1ad88cb45dd
[]
no_license
HkerVit/facebook-api-video-upload-py
d85ec55c3e7adacaf094b8440111ccdb8d065a6f
6bcf0f4c08512c5b3896c6f61a80de66c0a59744
refs/heads/main
2023-03-16T22:42:48.137863
2021-03-11T03:49:23
2021-03-11T03:49:23
346,636,830
1
0
null
2021-03-11T08:51:47
2021-03-11T08:51:46
null
UTF-8
Python
false
false
2,444
py
import sys, getopt import requests import json import os import pymysql def get_history(bvid): find_sql = "SELECT * FROM download_history_bilibili WHERE bvid='{}'".format(bvid) findres = cursor.execute(find_sql) if findres == 0: res = False else: res = True return res ...
[ "root@vultr.guest" ]
root@vultr.guest
256bc94180a64e4adbbbbc23b29e319b6f40ded7
751b094918ae9200afe7824d58804549082caa95
/src/python/WMComponent/DBS3Buffer/Oracle/CreateBlocks.py
cad2bf954ebb5bcb10c781f908e8dbdf8a3500e2
[]
no_license
cinquo/WMCore
7ebd13269f42eb97f416f8f2bdaca05fa93c6afc
122f9332f2e944154dd0df68b6b3f2875427b032
refs/heads/master
2021-01-09T06:28:58.947626
2013-06-05T08:31:53
2013-06-05T08:31:53
2,965,330
1
0
null
null
null
null
UTF-8
Python
false
false
346
py
#!/usr/bin/env python """ _DBSBuffer.SetBlockStatus_ Create new block in dbsbuffer_block Update file to reflect block information """ import threading import exceptions from WMComponent.DBS3Buffer.MySQL.CreateBlocks import CreateBlocks as MySQLCreateBlocks class CreateBlocks(MySQLCreateBlocks): """ Oracl...
[ "sfoulkes@4525493e-7705-40b1-a816-d608a930855b" ]
sfoulkes@4525493e-7705-40b1-a816-d608a930855b
a36698307a7e3d636b68d44b8f6c8edb79ccff13
97da505ec0524d7b214764d198ed9b82e79300ed
/pyiem/util.py
214d7992d40ef89bc531b372e3a548bf3c071eb3
[ "MIT" ]
permissive
morganetanu/pyIEM
c035a1706cccff0afed209f14760f2668259667f
2a38d1de77d056161408e804b5c246b7e6b38056
refs/heads/master
2021-08-20T07:10:40.071377
2017-11-28T13:41:29
2017-11-28T13:41:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,813
py
# -*- coding: utf-8 -*- """Utility functions for pyIEM package This module contains utility functions used by various parts of the codebase. """ import netrc import time import random import logging import datetime import re import warnings import getpass from socket import error as socket_error import psycopg2 from ...
[ "akrherz@iastate.edu" ]
akrherz@iastate.edu
3b126b869bfccc6a9d0b195367775643248e1374
1caf4418f3549567637f5e9893a445f52a38c6a0
/CmsAdmin/user_content/api/resources/account_verify_api.py
69ed7dcf8e0a5f7723260d2e105ebf033f022654
[]
no_license
Final-Game/social_network_backend
c601563e08c0fd7de72a614944f354ef8d2d31d8
8111787d1d20eb87733ae360d8baa745a65e2743
refs/heads/master
2023-03-04T21:12:43.147084
2021-02-23T03:45:22
2021-02-23T03:45:22
290,542,389
0
0
null
null
null
null
UTF-8
Python
false
false
1,577
py
from user_content.api.resources.filters.account_verify_filter import AccountVerifyFilter from user_content.api.serializers.resources.account_verify_serializer import ( AccountVerifySerializer, ) from rest_framework.filters import OrderingFilter, SearchFilter from django_filters.rest_framework import DjangoFilterBac...
[ "kakavip.198.kaka@gmail.com" ]
kakavip.198.kaka@gmail.com
a7a6bbcef0abbc635c7fab15e94f6e05e49edb93
8a5ccfbd09fdc3eb42e8240c0b7ceaf981f27814
/astropy_stark/astropy_stark/myresample.py
3955dbeb0583809c82943f8a3f5932d6b34aed52
[]
no_license
hlabathems/pycecream
97edfd388e32ab12b22765debab31ee8c4929ab4
cd52937c3ff053dede0b02803933ba58789d5ff3
refs/heads/master
2020-06-09T22:46:14.114693
2019-06-19T17:42:24
2019-06-19T17:42:24
193,521,752
0
1
null
2019-06-24T14:30:05
2019-06-24T14:30:04
null
UTF-8
Python
false
false
6,010
py
#### code to randomly resample a set of input light curves #10/9/2017 sampcode 3 update includes sampmin the minum spacing between data points #sampcode 4, dtave indicates the minimum space between data points, data points will be selected (with no interpolation) from the parent sample, skipping points until the minimu...
[ "david.starkey@vortexa.com" ]
david.starkey@vortexa.com