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
541314f458c0e8c3e2943b7ffbcf7002541c31d8
5cec8273e6aa601129d74337bd0c108da291acdd
/assignments/project/kyc.py
9e3b0111bdd15576f0f0b0c736b8fde053427c0b
[ "MIT" ]
permissive
bnmcintyre/biosystems-analytics-2020
0cbc658f2960e5ce87140ed29d04884b98d7b029
567135b737c12eb6a08070bbc1a33a86fa951646
refs/heads/master
2020-12-13T09:08:42.051290
2020-05-06T23:36:30
2020-05-06T23:36:30
234,371,239
0
0
MIT
2020-01-16T17:13:17
2020-01-16T17:13:16
null
UTF-8
Python
false
false
5,138
py
#!/usr/bin/env python3 """ Author : bnmcintyre Date : 2020-04-14 Purpose: Find PCR Primers and parameters """ import argparse import os import sys from Bio import SeqIO # -------------------------------------------------- def get_args(): """Get command-line arguments""" parser = argparse.ArgumentParser( ...
[ "kyclark@gmail.com" ]
kyclark@gmail.com
5d33aea04074700b1de304d98fbceb0b2195e155
76a8ea60480331f0f61aeb61de55be9a6270e733
/downloadable-site-packages/statsmodels/tsa/statespace/representation.py
9057b3722b1ef6c4ca32d5e06622b79d1ce9c62a
[ "MIT" ]
permissive
bhagyas/Pyto
cd2ec3f35bec703db4ac29b56d17abc4bf03e375
907024a9b3e04a2a9de54976778c0e1a56b7b83c
refs/heads/master
2022-11-19T13:05:07.392454
2020-07-21T17:33:39
2020-07-21T17:33:39
281,886,535
2
0
MIT
2020-07-23T07:48:03
2020-07-23T07:48:02
null
UTF-8
Python
false
false
43,278
py
""" State Space Representation Author: Chad Fulton License: Simplified-BSD """ import numpy as np from .tools import ( find_best_blas_type, validate_matrix_shape, validate_vector_shape ) from .initialization import Initialization from . import tools class OptionWrapper(object): def __init__(self, mask_attri...
[ "adrilabbelol@gmail.com" ]
adrilabbelol@gmail.com
d29691b46adac3616783fad4f7588090a1c22e8c
b7d45169408db7d504ef2733f0e63f50c11f2023
/0x02-python-import_modules/3-infinite_add.py
c85902b271b769eccf78391597242414a72af5da
[]
no_license
oran2527/holbertonschool-higher_level_programming
4a92d37fdf7664fb4657e94173292575fe741e2f
3b9634caf4e1e89dc9ec9b471ca4399050eafd45
refs/heads/master
2020-09-29T22:51:23.891420
2020-05-14T21:02:27
2020-05-14T21:02:27
227,141,225
0
0
null
null
null
null
UTF-8
Python
false
false
192
py
#!/usr/bin/python3 if __name__ == '__main__': import sys sum = 0 if len(sys.argv) > 1: for x in range(1, len(sys.argv)): sum += int(sys.argv[x]) print(sum)
[ "orlago250183@gmail.com" ]
orlago250183@gmail.com
ad1e0a5181f66761a4642fd53d1b6d97afe6cd1f
b8bbdfc593b6d816e67a344f720f90ec05236778
/airflow/example_dags/example_dynamic_task_mapping_with_no_taskflow_operators.py
90465d66e6e19c82dccb0bb6baef10467ad7d186
[ "Apache-2.0", "BSD-3-Clause", "MIT" ]
permissive
apache/airflow
ed78db0a8bab7e096990e143926e52f518e288ab
1b122c15030e99cef9d4ff26d3781a7a9d6949bc
refs/heads/main
2023-09-01T08:37:34.556097
2023-09-01T06:49:05
2023-09-01T06:49:05
33,884,891
22,756
11,558
Apache-2.0
2023-09-14T20:12:36
2015-04-13T18:04:58
Python
UTF-8
Python
false
false
2,032
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...
[ "noreply@github.com" ]
apache.noreply@github.com
c829de696f3d856f5eb4f052b9148448a851b8e3
83de24182a7af33c43ee340b57755e73275149ae
/aliyun-python-sdk-ice/aliyunsdkice/request/v20201109/ListSmartSysAvatarModelsRequest.py
ee17d47c54dc471acbec09ffd6aae5c913cb70ef
[ "Apache-2.0" ]
permissive
aliyun/aliyun-openapi-python-sdk
4436ca6c57190ceadbc80f0b1c35b1ab13c00c7f
83fd547946fd6772cf26f338d9653f4316c81d3c
refs/heads/master
2023-08-04T12:32:57.028821
2023-08-04T06:00:29
2023-08-04T06:00:29
39,558,861
1,080
721
NOASSERTION
2023-09-14T08:51:06
2015-07-23T09:39:45
Python
UTF-8
Python
false
false
1,627
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
67d4c2260ac6553eabccb42326d1af67d9ad9135
d0de62aea44e5b8936f97cff6e846350599123a3
/adabins/models/utils.py
2467081befc7cc2e8e3d8e5dd04f81b9661b3623
[]
no_license
aryankargwal/AdaBins_PyTorch
8efe24b448ad3463a6dd31f18087adece566feef
990028b26df8413f2e2f19d8a8995193430979cd
refs/heads/main
2023-02-27T18:48:29.526619
2021-01-29T17:37:46
2021-01-29T17:37:46
332,833,141
3
1
null
null
null
null
UTF-8
Python
false
false
1,662
py
import torch import numpy as np import os import sys def load_checkpoint(fpath, model, optimizer=None): ckpt = torch.load(fpath, map_location="cpu") if optimizer is None: optimizer = ckpt.get("optimizer", None) else: optimizer.load_state_dict(ckpt["optimizer"]) epoch = ckpt["epoch"] ...
[ "pranjaldatta99@gmail.com" ]
pranjaldatta99@gmail.com
e49f08a75db915f14762d6ef803104e651f08210
52a3beeb07ad326115084a47a9e698efbaec054b
/horizon/.venv/lib/python2.7/site-packages/openstackclient/network/v2/network_segment.py
818ffc026f4670f4af74b367204538f7e82a3f7b
[ "Apache-2.0" ]
permissive
bopopescu/sample_scripts
3dade0710ecdc8f9251dc60164747830f8de6877
f9edce63c0a4d636f672702153662bd77bfd400d
refs/heads/master
2022-11-17T19:19:34.210886
2018-06-11T04:14:27
2018-06-11T04:14:27
282,088,840
0
0
null
2020-07-24T00:57:31
2020-07-24T00:57:31
null
UTF-8
Python
false
false
3,532
py
# Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distrib...
[ "Suhaib.Chishti@exponential.com" ]
Suhaib.Chishti@exponential.com
3659f5e9d061a87fec0439ea15b0eaf6445b7944
930822ded3de346524648244a6f8edc3e7a2a038
/leetcode/groupAnagrams.py
ca74289f7f96f6dadf72c6081c6a9eb6af7e827d
[]
no_license
xy2333/Leetcode
4ad317fa21d3b3c37859e76b25a87993c22ca1b2
5915e039868527d624ee4f0ad431d23c6ed2d8bd
refs/heads/master
2020-06-19T13:30:14.755534
2019-08-12T02:12:03
2019-08-12T02:12:03
196,726,468
1
0
null
null
null
null
UTF-8
Python
false
false
360
py
class Solution(object): def groupAnagrams(self, strs): """ :type strs: List[str] :rtype: List[List[str]] """ import collections d = collections.defaultdict(list) for x in strs: d[tuple(sorted(x))].append(x) return list(d.values()) s = ["eat", "tea", "tan", "ate", "nat", "bat"] t = Solutio...
[ "2531188679@qq.com" ]
2531188679@qq.com
13da615c77c7578a36c2a3995a7ab516994c3e52
786f9ae62cb62d2b8f193350d8beb695c47d2e98
/pyatv/protocols/airplay/mrp_connection.py
dc3456394fc8658c6e5519e61d5f57c76a8226e9
[ "MIT" ]
permissive
postlund/pyatv
a4213957d4d9b557c16310450bfd444cc715e17c
05ca46d2a8bbc8e725ad63794d14b2d1fb9913fa
refs/heads/master
2023-09-01T20:11:48.374857
2023-08-29T04:23:22
2023-08-29T11:13:17
80,614,028
749
120
MIT
2023-09-14T04:54:01
2017-02-01T11:30:30
Python
UTF-8
Python
false
false
2,858
py
"""MRP connection implemented as a channel/stream over AirPlay.""" import logging from typing import Optional from pyatv import exceptions from pyatv.protocols.airplay.ap2_session import AP2Session from pyatv.protocols.airplay.channels import DataStreamChannel, DataStreamListener from pyatv.protocols.mrp import protob...
[ "pierre.staahl@gmail.com" ]
pierre.staahl@gmail.com
3122cdbc6c9fc9a638ab8edc5083f7145a06b8ec
8935c6014af672e397e87a44e9ac00d50e189030
/CodeForces/problem/A/785A_AntonAndPolyhedrons.py
eea85720b87d51a13dfaaac055231b89e64ad3dd
[]
no_license
arnabs542/Competitive-Programming
a85f9900ddaaaa297ec45a8fbe738b7e4aa693f5
6fd8eee93e66431f2fb31406cf1a63fa73b0bb5e
refs/heads/master
2023-01-12T07:10:20.734135
2020-11-23T01:37:19
2020-11-23T01:37:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
332
py
# https://codeforces.com/problemset/problem/785/A n = int(input()) gemetric_faces = 0 geometric_list = ['Tetrahedron','Cube','Octahedron','Dodecahedron','Icosahedron'] value_list = [4,6,8,12,20] for i in range(n): geomatric = input() gemetric_faces += value_list[ geometric_list.index(geomatric) ] print(gem...
[ "toan207" ]
toan207
04565960361c3ebc630ab92c5a6bf5f0b29174ab
187a6558f3c7cb6234164677a2bda2e73c26eaaf
/jdcloud_sdk/services/detection/models/BasicRuleDetail.py
3fb0e9bb312848445a6583bc54d01c6bc9ee4c3d
[ "Apache-2.0" ]
permissive
jdcloud-api/jdcloud-sdk-python
4d2db584acc2620b7a866af82d21658cdd7cc227
3d1c50ed9117304d3b77a21babe899f939ae91cd
refs/heads/master
2023-09-04T02:51:08.335168
2023-08-30T12:00:25
2023-08-30T12:00:25
126,276,169
18
36
Apache-2.0
2023-09-07T06:54:49
2018-03-22T03:47:02
Python
UTF-8
Python
false
false
2,162
py
# coding=utf8 # Copyright 2018 JDCLOUD.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/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed ...
[ "tancong@jd.com" ]
tancong@jd.com
d9fece6f098c6e1ad0e67e3ac1877401f63e9020
6ecd96cb7408f4e26fe34c66eb1c5f343c775d53
/testCase/testActualCardOpenCard.py
a807e4a036bdb5ee4a0f482801932bd522dc0b78
[]
no_license
xzdylyh/beta_manage
597601a8a60c80bd4aafb44f3510abe9e818fef5
19cb31a8d291e45f867af5f930f6a288ef659340
refs/heads/master
2023-01-08T22:05:49.235236
2019-02-26T04:43:33
2019-02-26T04:43:33
154,800,993
0
1
null
2022-12-27T15:35:15
2018-10-26T08:19:09
Python
UTF-8
Python
false
false
2,413
py
import os import unittest import ddt from pages.actualcardOpencardPage import ActualCardOpen from lib.scripts import ( select_Browser_WebDriver, reply_case_fail, get_data, join_url, rndint ) from lib import ( gl, HTMLTESTRunnerCN ) from lib.excel import Excel @ddt.ddt class TestActualCardOp...
[ "lengyaohui.bj@acewill.cn" ]
lengyaohui.bj@acewill.cn
870e0f9205ee0ede316ca3d976260f2d276c3bcc
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/1/bVm.py
16cc9e47c9107a00845ac717568bafec77fe5a11
[]
no_license
G4te-Keep3r/HowdyHackers
46bfad63eafe5ac515da363e1c75fa6f4b9bca32
fb6d391aaecb60ab5c4650d4ae2ddd599fd85db2
refs/heads/master
2020-08-01T12:08:10.782018
2016-11-13T20:45:50
2016-11-13T20:45:50
73,624,224
0
1
null
null
null
null
UTF-8
Python
false
false
486
py
import sys def printFunction(lineRemaining): if lineRemaining[0] == '"' and lineRemaining[-1] == '"': if len(lineRemaining) > 2: #data to print lineRemaining = lineRemaining[1:-1] print ' '.join(lineRemaining) else: print def main(fileName): with open(fileName) as f: for line in f: ...
[ "juliettaylorswift@gmail.com" ]
juliettaylorswift@gmail.com
67b59f1e0611615ccfb868898ab178db13ad207c
f09dc121f213f2881df3572288b7ee5b39246d73
/aliyun-python-sdk-dataworks-public/aliyunsdkdataworks_public/request/v20200518/DeleteDataServiceApiAuthorityRequest.py
34dbbfe4ae9f9913138596ca5d974dd96dae8fba
[ "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
2,010
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
74428ec3f9c02f6a607f83232c4c346faeeba0fd
f66c70e19e334fa5021ff26e67d8a513b421ea92
/venv/bin/pip3
5c5e62c8ba94499ea5ceb57c2273b7003ef397c2
[]
no_license
AfroGuru/fixmykix-flask
0e72d708014742156191163577ad8a796d63a03b
d54697157cf2ddd147364ebb7777a3c0fbb5fc51
refs/heads/master
2020-06-16T03:43:05.611932
2019-07-02T02:51:48
2019-07-02T02:51:48
194,944,102
0
0
null
2019-07-02T22:40:25
2019-07-02T22:40:24
null
UTF-8
Python
false
false
257
#!/Users/hgpmac87/Desktop/fixmykix-flask/venv/bin/python3.7 # -*- coding: utf-8 -*- import re import sys from pip._internal import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "jayden.cummings@hgs.hiddengeniusproject.org" ]
jayden.cummings@hgs.hiddengeniusproject.org
eafb1e5de9b421bcea031823389c40e6ddadce55
7a84c0e8bc128e4e5aa824d4f9ddcf667280f777
/server/pokemon_server/player/model.py
8c1f782e42a7b3ec96fbae0877ab8d96f7e95b04
[]
no_license
fcua/x8623
bea592a608b451d9eb4f33b2efa34f676410d643
d7f0c8347629879cbff14dec8b080b1cccf31668
refs/heads/master
2020-03-21T08:10:35.749426
2017-10-12T03:16:39
2017-10-12T03:16:39
138,325,785
0
5
null
null
null
null
UTF-8
Python
false
false
22,685
py
# coding:utf-8 import time # import math from datetime import datetime import settings from player.c_player import c_PlayerBase from player.manager import g_playerManager from mail.constants import MailType # from yy.entity.storage.redis import EntityStoreMixinRedis # from yy.entity.identity import RedisIdentityGene...
[ "yyolq0410@163.com" ]
yyolq0410@163.com
39ef386c4935dcf1b8abb732a6d92795df1e0d82
ec238c54310d6fd792746a925abf56caa17ee98c
/frappe/desk/doctype/outcome/outcome.py
01e2347fb5b63c0446b9be55c96b8641c2c625e2
[ "MIT" ]
permissive
Kipngetich33/frappe
fc6975be2fdb53ca06fa5a2f899615486c3ae344
a382f173ec5ecfbcfdd63b912337830ad46350a7
refs/heads/master
2022-12-10T16:57:36.268890
2019-06-10T08:55:42
2019-06-10T08:55:42
183,576,885
1
2
MIT
2022-12-08T23:49:38
2019-04-26T07:08:57
Python
UTF-8
Python
false
false
263
py
# -*- coding: utf-8 -*- # Copyright (c) 2019, Frappe Technologies and contributors # For license information, please see license.txt from __future__ import unicode_literals import frappe from frappe.model.document import Document class Outcome(Document): pass
[ "khalifngeno@gmail.com" ]
khalifngeno@gmail.com
0704a2ac327f703965d9cb02c42d58a36cd930a2
dd1e2ed53fec3dca0fa60042c04ad8cf6019ed89
/python/moto/unit_test_with_moto/create_instances.py
a4a7a024bbccda85834f4d52d33d7de8e60fde5c
[]
no_license
cloudavail/snippets
9be4ee285789ff3cff1a3a71e1f505a1b1697500
340f5c2735d6ec88b793f1eea91f2b026c24586e
refs/heads/main
2023-08-03T10:30:13.976947
2023-05-15T04:46:32
2023-05-15T04:46:32
12,838,293
22
24
null
2023-09-07T03:33:17
2013-09-15T00:40:49
JavaScript
UTF-8
Python
false
false
746
py
import boto from moto import mock_ec2 @mock_ec2 def create_x_instances(desired_instances=1): ''' creates and tags "x" instances ''' conn = boto.ec2.connect_to_region('us-east-1') for x in range(0, desired_instances): created_instance = conn.run_instances('ami-a427efcc', min_count=1, ...
[ "colinbjohnson@gmail.com" ]
colinbjohnson@gmail.com
a9d32a4c4e215e377397072dc2628df25c07112d
75e52ba969603339c5ebd87f452a589695e87f0f
/bekk/param_standard.py
6162928ccc74bec9e82ec89df390a08cdad09901
[ "MIT" ]
permissive
huning2009/bekk
4d6cc9b1f9fe50fc45176755533d1b13a4b7b6ca
772603b6360d377469b0babfe497b034fa28fcb8
refs/heads/master
2021-09-07T21:44:25.894008
2018-03-01T12:39:55
2018-03-01T12:39:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,595
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Standadrd parameter class ------------------------- """ from __future__ import print_function, division import numpy as np from .param_generic import ParamGeneric __all__ = ['ParamStandard'] class ParamStandard(ParamGeneric): """Class to hold parameters of th...
[ "khrapovs@gmail.com" ]
khrapovs@gmail.com
a4e98fa9b2dd7b6f17c5204c64c7db1c09cba7e8
97be97cfc56fb2170b60b91063dbfe5f1449e3c0
/python/ABC156/B.py
184b499f6d37c2a66eab13feaf522811acca8f03
[]
no_license
iWonder118/atcoder
73d965a0a9ade189733808e47634f2b7776aad4b
3ab7271e838a2903ff0e07f94015ef13c59577e1
refs/heads/master
2022-01-25T10:10:55.007340
2021-12-31T14:04:54
2021-12-31T14:04:54
245,155,997
0
0
null
null
null
null
UTF-8
Python
false
false
213
py
def Base_10_to_n(X, K): X_dumy = X out = '' while X_dumy>0: out = str(X_dumy%K)+out X_dumy = int(X_dumy/K) return out n, k = map(int, input().split()) print(len(Base_10_to_n(n, k)))
[ "52240372+iWonder118@users.noreply.github.com" ]
52240372+iWonder118@users.noreply.github.com
94099f1b7f7b45a651c098809e23e5fb73e4767a
6847e4c855a76b9d5ed04879394adcebdb0467e1
/iggndb/tests/test_views.py
d89848fd19c803fb64186a89d5539821e18ffc41
[]
no_license
i7ionov/knd
954227c78043841ac402b76121e0194f608f35b6
3f8ecd488454cedea4da3b4f72869c1dbcb24112
refs/heads/master
2023-06-04T08:30:22.596221
2021-07-02T10:52:35
2021-07-02T10:52:35
372,376,407
1
0
null
null
null
null
UTF-8
Python
false
false
233
py
from .base import BaseTest class MainTest(BaseTest): def test_index_page(self): response = self.client.get('/') html = response.content.decode('utf8') self.assertTemplateUsed(response, 'index.html')
[ "ivsemionov@iggn.permkrai.ru" ]
ivsemionov@iggn.permkrai.ru
6b1bcc5eff3e32f11e8780df7ef67e28288e0647
82b946da326148a3c1c1f687f96c0da165bb2c15
/sdk/python/pulumi_azure_native/web/v20200901/web_app_source_control.py
3acde15c1bf00407ed948fe7e269c1f9bf826aa7
[ "Apache-2.0", "BSD-3-Clause" ]
permissive
morrell/pulumi-azure-native
3916e978382366607f3df0a669f24cb16293ff5e
cd3ba4b9cb08c5e1df7674c1c71695b80e443f08
refs/heads/master
2023-06-20T19:37:05.414924
2021-07-19T20:57:53
2021-07-19T20:57:53
387,815,163
0
0
Apache-2.0
2021-07-20T14:18:29
2021-07-20T14:18:28
null
UTF-8
Python
false
false
17,423
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from ... import _utilities fro...
[ "noreply@github.com" ]
morrell.noreply@github.com
09cc0983ff5d8e13417cba4c0a23e51f0e0bf2d8
75e8f932e1e08c7e71380e6b71d85ddd04f052dd
/SDAPythonIntermediateLambda/car.py
10c9491603a188e2634837b6da04a0ceafb198ba
[]
no_license
aeciovc/sda_python_ee4
fe470a253126ad307c651d252f9f9b489da32835
9e1e8be675fcafe4a61c354b55b71f53ad2af0fe
refs/heads/master
2023-08-29T15:17:34.033331
2021-10-31T09:41:57
2021-10-31T09:41:57
365,678,373
0
0
null
null
null
null
UTF-8
Python
false
false
376
py
class Car: def __init__(self, make, model, price): self.make = make self.model = model self.price = price def __repr__(self): return f"{self.make} {self.model} {self.price}" cars = [ Car("Ford", "Focus", 1200), Car("Kia", "Optima", 2300), Car("Citroen", "C3", 900), ...
[ "aeciovc@gmail.com" ]
aeciovc@gmail.com
3ef7413d587b534d208e50b3d4242af90d48a624
58afefdde86346760bea40690b1675c6639c8b84
/leetcode/largest-component-size-by-common-factor/403192799.py
b76b0a4918ca60483da8e2f94e79459efbbcc93f
[]
no_license
ausaki/data_structures_and_algorithms
aaa563f713cbab3c34a9465039d52b853f95548e
4f5f5124534bd4423356a5f5572b8a39b7828d80
refs/heads/master
2021-06-21T10:44:44.549601
2021-04-06T11:30:21
2021-04-06T11:30:21
201,942,771
1
0
null
null
null
null
UTF-8
Python
false
false
1,922
py
# title: largest-component-size-by-common-factor # detail: https://leetcode.com/submissions/detail/403192799/ # datetime: Fri Oct 2 02:13:17 2020 # runtime: 1360 ms # memory: 16.2 MB class DisjSet: def __init__(self, n ): self.disj_set = [-1] * n def find(self, x): while self.disj_set...
[ "ljm51689@gmail.com" ]
ljm51689@gmail.com
91d95b639ea00fa0ac20c5ebda059132d8386ff1
9e988c0dfbea15cd23a3de860cb0c88c3dcdbd97
/sdBs/AllRun/lamost_j081351.59+110136.3/sdB_lamost_j081351.59+110136.3_coadd.py
f2486f75dd1309aa5d92620e3ec70a3e39881e45
[]
no_license
tboudreaux/SummerSTScICode
73b2e5839b10c0bf733808f4316d34be91c5a3bd
4dd1ffbb09e0a599257d21872f9d62b5420028b0
refs/heads/master
2021-01-20T18:07:44.723496
2016-08-08T16:49:53
2016-08-08T16:49:53
65,221,159
0
0
null
null
null
null
UTF-8
Python
false
false
489
py
from gPhoton.gMap import gMap def main(): gMap(band="NUV", skypos=[123.464958,11.02675], skyrange=[0.0333333333333,0.0333333333333], stepsz = 30., cntfile="/data2/fleming/GPHOTON_OUTPUT/LIGHTCURVES/sdBs/sdB_lamost_j081351.59+110136.3/sdB_lamost_j081351.59+110136.3_movie_count.fits", cntcoaddfile="/data2/fleming/GPHOT...
[ "thomas@boudreauxmail.com" ]
thomas@boudreauxmail.com
518ff7b7b9536366e0107e816682356e2d6b93de
65b55130f41747ccb239219ae9010ab06b60d430
/src/accounts/models.py
a8025db5bb2dd76ffae98a03ad9c004cc21eebff
[]
no_license
amrebrahem22/TweetMe-App
d5c2f5fc20565356a88fdde357433ac54bc5dfac
cad027a34c84f9b2530759ec6b080a5f80a02ffc
refs/heads/master
2020-11-24T19:12:27.526977
2020-03-24T21:44:30
2020-03-24T21:44:30
228,306,534
0
0
null
null
null
null
UTF-8
Python
false
false
2,087
py
from django.db import models from django.conf import settings from django.urls import reverse_lazy from django.db.models.signals import post_save # for the reverse relationship "followed_by" class UserProfileManager(models.Manager): use_for_related_fields = True def all(self): qs = self.get_queryset().all() try...
[ "amrebrahem226@gmail.com" ]
amrebrahem226@gmail.com
1f1a58af911507e5607e29b98dc5f12e0eeaddf1
4cbd6f5941fd69da8d8b6cc412664bd2991565ec
/cfc.py
f1968dd036f154e863fcbd391a74ae62b0996556
[ "MIT" ]
permissive
ondrejsika/cfc
f6110ac1b265d89ead7bde5b921f3d3b537ddbdb
3480e6ae7f00d9a703fbc25092043118e3ec6d63
refs/heads/master
2020-05-27T04:47:40.476012
2017-02-20T07:17:04
2017-02-20T07:17:04
82,524,891
0
0
null
null
null
null
UTF-8
Python
false
false
1,525
py
#!/usr/bin/env python import os import requests import argparse class BaseCloudFlareApi(object): PREFIX = 'https://api.cloudflare.com/client/v4' def __init__(self, email, token): assert email assert token self.email = email self.token = token def _headers(self): ...
[ "ondrej@ondrejsika.com" ]
ondrej@ondrejsika.com
50e062c0720c0de552c737f717e24c87b667ab50
b22588340d7925b614a735bbbde1b351ad657ffc
/athena/Trigger/TrigHypothesis/TrigBphysHypo/python/TrigL2BMuMuXFexMonitoring.py
4bb63ef336c0408ed13fc297dfd25d396e8c691f
[]
no_license
rushioda/PIXELVALID_athena
90befe12042c1249cbb3655dde1428bb9b9a42ce
22df23187ef85e9c3120122c8375ea0e7d8ea440
refs/heads/master
2020-12-14T22:01:15.365949
2020-01-19T03:59:35
2020-01-19T03:59:35
234,836,993
1
0
null
null
null
null
UTF-8
Python
false
false
57,528
py
# Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration from TrigMonitorBase.TrigGenericMonitoringToolConfig import defineHistogram, TrigGenericMonitoringToolConfig ERROR_labels = ' No_EventInfo : No_RoIs : No_CombineMuon : No_TrackColl : Charge_Check : MuMu_MassCut : AddMuonTrack_Fails : MuonVtxFi...
[ "rushioda@lxplus754.cern.ch" ]
rushioda@lxplus754.cern.ch
00b84a2469048510b897a9979355db1b73de22ba
64c333eda4cd2903c8aac9edde53472be357b6e2
/clean-pattern.py
92597569b3e5524cdf5f784255de3905396863c7
[ "BSD-3-Clause" ]
permissive
NSO-developer/regex_py2xml
5cd9b19051526e4b44afc5b5c3703c936b9fa940
f2f6ee36085ead49e4837cdbdf37424c29e8d2a7
refs/heads/master
2021-01-18T19:05:46.131772
2017-08-31T14:40:24
2017-08-31T14:40:24
100,525,885
2
0
null
null
null
null
UTF-8
Python
false
false
12,098
py
"""clean-pattern.py is a PYANG plugin that detects Python/Perl regex patterns in YANG modules, and proposes a translation to the XML Schema regex variant used in YANG. """ import optparse import sys import os.path import sre_parse from pyang import plugin from pyang import error clean_pattern_trace = False def pyan...
[ "jlindbla@cisco.com" ]
jlindbla@cisco.com
45ce3e0de3155f69d32a7709846665a8ed2114ca
72d12601521ffd3e889afa16401d9362cfe118cd
/holmes/migrations/versions/f851ec9af09_change_value_column_.py
2eac9a69ce4e3fea3deb77452b8ee52eba36dcd7
[ "MIT" ]
permissive
dineshtrivedi/holmes-api
ac2ae8942f7b0588b954033588b3e17b4c3343b8
a34e4f3b5893c1edba2efb4bef446dea486885ad
refs/heads/master
2020-12-03T05:31:59.985745
2016-05-18T21:56:56
2016-05-18T21:56:56
54,215,082
0
0
null
2016-03-18T16:16:11
2016-03-18T16:16:11
null
UTF-8
Python
false
false
447
py
"""change value column type Revision ID: f851ec9af09 Revises: 178c6db7516 Create Date: 2013-11-16 13:20:14.099934 """ # revision identifiers, used by Alembic. revision = 'f851ec9af09' down_revision = '178c6db7516' from alembic import op import sqlalchemy as sa def upgrade(): op.alter_column('facts', 'value', ...
[ "heynemann@gmail.com" ]
heynemann@gmail.com
8bcdf0fa259c081c8298ef41b42a025b9510be4b
29a4c1e436bc90deaaf7711e468154597fc379b7
/modules/crlibm/doc/cosh_rd.py
e19e0b6d2157bbd49e1542006cc26364e2c9253d
[ "BSL-1.0" ]
permissive
brycelelbach/nt2
31bdde2338ebcaa24bb76f542bd0778a620f8e7c
73d7e8dd390fa4c8d251c6451acdae65def70e0b
refs/heads/master
2021-01-17T12:41:35.021457
2011-04-03T17:37:15
2011-04-03T17:37:15
1,263,345
1
0
null
null
null
null
UTF-8
Python
false
false
1,188
py
[ ## this file was manually modified by jt { 'functor' : { 'arity' : '1', 'call_types' : [], 'ret_arity' : '0', 'rturn' : { 'default' : 'T', }, 'simd_types' : [], 'special' : ['crlibm'], 'type_defs' : [], 'types' :...
[ "jtlapreste@gmail.com" ]
jtlapreste@gmail.com
b3493551796b7f1b2205875270b69adca31c10c7
d17a8f05dbae8bd61cb2edaf075dcd5f877e5f07
/solutions/python3/0079.py
6c4e10c46fe3764b9478bfe9f50656220217f1ee
[]
no_license
greyhawk/LeetCode
d00e58576b70f13c806684ffaace67474271c399
19a0366c8352365f492659c57d1d1be4eec4b3bd
refs/heads/master
2020-12-04T13:14:36.399627
2020-01-03T15:33:50
2020-01-03T15:33:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
868
py
class Solution: def exist(self, board: List[List[str]], word: str) -> bool: def dfs(i: int, j: int, pos: int) -> bool: if not (0 <= i < len(board)) or not (0 <= j < len(board[0])) or board[i][j] != word[pos] or board[i][j] == '*': return False if pos == len(word) - 1:...
[ "walkccray@gmail.com" ]
walkccray@gmail.com
bb769cdfe5800f7945194f069b941daf16176a05
b08d42933ac06045905d7c005ca9c114ed3aecc0
/src/coefSubset/evaluate/ranks/fivePercent/rank_2oul_G.py
5aafad8c7df206493d84fa2270c475cb27319eac
[]
no_license
TanemuraKiyoto/PPI-native-detection-via-LR
d148d53f5eb60a4dda5318b371a3048e3f662725
897e7188b0da94e87126a4acc0c9a6ff44a64574
refs/heads/master
2022-12-05T11:59:01.014309
2020-08-10T00:41:17
2020-08-10T00:41:17
225,272,083
1
0
null
null
null
null
UTF-8
Python
false
false
3,389
py
# 9 July 2019 # Kiyoto Aramis Tanemura # Several metrics are used to assess the performance of the trained RF model, notably native ranking. This script returns a ranking of the native protein-protein complex among a decoy set. For convenience, I will define as a function and will call in a general performance assess...
[ "tanemur1@msu.edu" ]
tanemur1@msu.edu
1d32abaad9b42d4e33053a0d67b55b62ec811d70
e3e76e2b5f677fa99300140fb2becbf256d84d3c
/batman/parser.py
97eef98dfbc6a3a22982892524a7fbf88ef51345
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
RealGeeks/batman
9d8ca2f551e38f42122e1feac5cc2e0bc09a0da6
ac61d193cbc6cc736f61ae8cf5e933a576b50698
refs/heads/master
2021-06-08T17:26:51.224508
2016-07-16T18:52:41
2016-07-16T18:52:41
6,054,609
1
2
MIT
2021-03-25T21:27:27
2012-10-03T02:38:28
Python
UTF-8
Python
false
false
229
py
import os import yaml from batman.yaml_ordered_dict import OrderedDictYAMLLoader def load(filename): with open(os.path.expanduser(filename)) as f: out = yaml.load(f, Loader=OrderedDictYAMLLoader) return out
[ "me@kevinmccarthy.org" ]
me@kevinmccarthy.org
7dd36ef8d139464e669daf284511be1695ff39c4
81a62053841c03d9621fd31f8e7984c712c7aed2
/mmdet_adv/projects/mmdet3d_plugin/attacks/dataset/nuscenes_mono_dataset.py
88743a2ee9618a52ab48e5dd0831f06e06d9430e
[]
no_license
Daniel-xsy/BEV-Attack
d0eb3a476875f9578c53df9bcb21564dea18ce0c
7970b27396c1af450c80b12eb312e76a8ab52a0a
refs/heads/master
2023-05-23T01:13:44.121533
2023-02-22T05:48:14
2023-02-22T05:48:14
540,328,937
7
1
null
null
null
null
UTF-8
Python
false
false
35,604
py
# Copyright (c) OpenMMLab. All rights reserved. # # Modified by Shaoyuan Xie # import copy import mmcv import numpy as np import pyquaternion import tempfile import torch import warnings from nuscenes.utils.data_classes import Box as NuScenesBox from os import path as osp from mmdet3d.core import bbox3d2result, box3d_...
[ "1491387884@qq.com" ]
1491387884@qq.com
8654548b2e05bc3b42f3f378e5562b83c518ce50
4ca090fd5c678ffb27fac7b7b5cc08ccabade32a
/examples/beeliza/beeliza/app.py
f77c0ffa0f30dfe07a1b24adeda70f7ed23b9181
[ "BSD-3-Clause" ]
permissive
brettcannon/toga
250f00ce7709053f73e10510a3ca66a1726c37fe
e88e355db321486754355c636439e87340e43dc4
refs/heads/master
2023-07-12T07:10:54.003922
2018-07-21T03:02:23
2018-07-21T03:02:23
142,218,903
0
0
BSD-3-Clause
2023-04-28T02:52:46
2018-07-24T22:26:41
Python
UTF-8
Python
false
false
2,473
py
import asyncio import random import toga from toga.constants import ROW, COLUMN from toga.style import Pack from .bot import Eliza class BeelizaApp(toga.App): async def handle_input(self, widget, **kwargs): # Display the input as a chat entry. input_text = self.text_input.value self.chat...
[ "russell@keith-magee.com" ]
russell@keith-magee.com
4cf73f35ee8c6e2b4ae93e0195356a871c49d50f
61b7c8edbd176e95edd7bde69ff9ebff9dd9daf2
/tests/test_format_data.py
f2acf265e78f6959daa8f7f2137499af070ab44b
[ "MIT" ]
permissive
c17r/mountains
459c5725ea08fd4720b514cdb65e218b5171d897
56c7f93846d5c82bfbc7ca43a4bac9fd479cc77a
refs/heads/master
2023-01-30T13:12:40.710555
2020-12-15T05:11:33
2020-12-15T05:11:33
17,117,111
0
0
MIT
2020-12-15T07:12:54
2014-02-23T21:05:27
Python
UTF-8
Python
false
false
1,264
py
from unittest.mock import patch, MagicMock import pytest from mountains import format_data, InvalidDataError def test_format_data_invalid_1(): key = {} data = "" with pytest.raises(InvalidDataError) as e: rv = format_data(key, data) assert "Data format error:" in str(e) def test_forma...
[ "sauerc@gmail.com" ]
sauerc@gmail.com
1e71159eb4e37c44d03277fee714f113ac3ce27c
e6ebd1f9e3968f6ed613e9f35e46716115e6e9c3
/chapter6/demo7.py
5a01f8279941c5e8f10b9b80d8e60d92ebe81c79
[]
no_license
huwanping001/Python
897046d3d6d1b420befeefcaa2b9544efa7d1881
3c76278f7a9b216b28b8880e0108af3c550b9372
refs/heads/main
2023-08-21T00:45:17.991833
2021-10-18T13:47:52
2021-10-18T13:47:52
409,586,414
0
0
null
null
null
null
UTF-8
Python
false
false
285
py
# 学校:四川轻化工大学 # 学院:自信学院 # 学生:胡万平 # 开发时间:2021/9/22 11:26 #列表生成式 lst = [i*i for i in range(1, 10)] print(lst) '''列表中的元素的值为2,4,6,8,10''' lst2 = [i*2 for i in range(1, 6)] print(lst2)
[ "noreply@github.com" ]
huwanping001.noreply@github.com
b8df3e31231746c25d541e50f03284295412961d
f58155211eed6995cd6a9175584db94429db7a0f
/setup.py
188bf01eb1968243b0c3b17088d0715b62b3b441
[ "MIT" ]
permissive
jvroutak/bincopy
c0518348137be4271e21cb484609d8990d88efd1
216c15c4c03a0cdff0212872992bb412cb7eedf0
refs/heads/master
2020-03-28T21:33:06.125905
2018-09-21T06:11:15
2018-09-21T06:11:15
149,164,954
0
0
MIT
2018-09-17T17:48:19
2018-09-17T17:48:18
null
UTF-8
Python
false
false
1,029
py
#!/usr/bin/env python from setuptools import setup import bincopy setup(name='bincopy', version=bincopy.__version__, description=('Mangling of various file formats that conveys ' 'binary information (Motorola S-Record, ' 'Intel HEX and binary files).'), long_des...
[ "erik.moqvist@gmail.com" ]
erik.moqvist@gmail.com
70bc95a0fd080964c67d34c588ee9e1e452b4442
c14d061d0e665b4923bc99e51d7335db9608a995
/store/views.py
866ec45f85345870e15e64b8ff6cffba109f3f6f
[]
no_license
nhrnhr0/haklatot
5f906b44f613c485680ef65247c2ea55148e514b
e737f4c3a1f89180ce0d690cf2a8c715b179161f
refs/heads/master
2023-02-27T06:58:24.792003
2021-02-04T15:47:48
2021-02-04T15:47:48
327,130,671
0
0
null
2021-01-22T09:33:51
2021-01-05T22:03:06
SCSS
UTF-8
Python
false
false
3,157
py
from django.shortcuts import render # Create your views here. from .models import Product # Create your views here. def home_view(request): context = {'products':Product.objects.all()} return render(request, 'index.html', context) from django.core.mail import EmailMessage from store.models import Client, Orde...
[ "ronionsegal@gmail.com" ]
ronionsegal@gmail.com
16b5fbb3126f4d0fe22093c8466ddfdb5d37d797
9b20743ec6cd28d749a4323dcbadb1a0cffb281b
/13_Deep_Learning_with_Python/14/mnist_cnn.py
e9c73ac8d02903c7d685130d501dc6c407a6d764
[]
no_license
jggrimesdc-zz/MachineLearningExercises
6e1c7e1f95399e69bba95cdfe17c4f8d8c90d178
ee265f1c6029c91daff172b3e7c1a96177646bc5
refs/heads/master
2023-03-07T19:30:26.691659
2021-02-19T08:00:49
2021-02-19T08:00:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,594
py
# Simple CNN for the MNIST Dataset from keras.datasets import mnist from keras.layers import Dense from keras.layers import Dropout from keras.layers import Flatten from keras.layers.convolutional import Conv2D from keras.layers.convolutional import MaxPooling2D from keras.models import Sequential from keras.utils impo...
[ "jgrimes@jgrimes.tech" ]
jgrimes@jgrimes.tech
b849ad49fa4eb37f50794393ed7e04f8fa0c1e2e
4c3fdd59d8a4d72a3172bbb3b9b41d1b95c5bf77
/tools/test.py
e7de2d6abccec5d20ff12b05bcd6608cefdf9dbb
[]
no_license
younetcq/sample-weighting-network
eaaec7c5a999408b02da86c3423946770c519782
f5feb0faa5ea979d47bf6d6fa27ba4a884bb5877
refs/heads/master
2022-10-25T20:55:22.570789
2020-06-14T05:22:25
2020-06-14T05:22:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,558
py
import argparse import os import os.path as osp import shutil import tempfile import mmcv import torch import torch.distributed as dist from mmcv.runner import load_checkpoint, get_dist_info from mmcv.parallel import MMDataParallel, MMDistributedDataParallel from mmdet.apis import init_dist from mmdet.core import res...
[ "cqcaiqi@gmail.com" ]
cqcaiqi@gmail.com
0bd126c5b7caee9b5c4c7746699bfba5ede9d0f5
c09a4b4f02849c03ba536edda2bf920b655be6bc
/wyl/omnical/wyl.py
0e2117ffc0a83b2a7bad7509f472020d89eca193
[]
no_license
jpober/brownscripts
33bcc70a31694dfb06f1314adb1402316540108c
c25789ec765b018eaad59d99a0a4264c75655265
refs/heads/master
2021-01-23T22:01:19.004636
2020-11-12T18:39:14
2020-11-12T18:39:14
57,912,669
2
2
null
null
null
null
UTF-8
Python
false
false
26,419
py
import numpy as np, omnical, aipy import subprocess, datetime, os from astropy.io import fits import copy import heracal from scipy.io.idl import readsav def unwrap(arr): brr = np.unwrap(arr) crr = [] for ii in range(1,brr.size): crr.append(brr[ii]-brr[ii-1]) crr = np.unwrap(crr) nn = np.round(crr...
[ "wenyang_li@brown.edu" ]
wenyang_li@brown.edu
e3d744e98d8f6079613409a46dc8c6a3d9a37f3b
0a89cad9f98e5c014b4c6970c6a63d29c89bacbf
/ilisa/observations/stationsession.py
778fb19070fc574380ec49be04a543b6fd882020
[ "ISC" ]
permissive
mpozoga/iLiSA
5fe516972d010f04695a5990f68c1b4b6f092889
164c198a7569413a12d52338738aaa24c763890d
refs/heads/master
2020-08-27T07:40:41.099906
2019-10-12T12:37:16
2019-10-12T12:37:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,744
py
import os import datetime import yaml import ilisa import ilisa.observations import ilisa.observations.dataIO as dataIO import ilisa.observations.directions import ilisa.observations.session as session import ilisa.observations.modeparms as modeparms import ilisa.observations.stationdriver as stationdriver def projid...
[ "tobia@chalmers.se" ]
tobia@chalmers.se
e112edf7ce87568fa543cca635cb3516395b1d29
dbd87fe6e9466c4cada18b037667cfdddc62c193
/Technical_Indicators/EWMA.py
2b6e8b2b102bb05b4f90c1e326fe60b0a30b4620
[]
no_license
alexanu/Python_Trading_Snippets
74515a40dc63ba50d95bd50330ed05d59b5dc837
85969e681b9c74e24e60cc524a952f9585ea9ce9
refs/heads/main
2023-06-25T03:27:45.813987
2023-06-09T16:09:43
2023-06-09T16:09:43
197,401,560
18
17
null
2023-02-08T22:25:25
2019-07-17T14:05:32
Jupyter Notebook
UTF-8
Python
false
false
2,212
py
import numpy as np import pandas as pd import matplotlib.pyplot as plt import warnings warnings.filterwarnings("ignore") import yfinance as yf yf.pdr_override() import datetime as dt # input symbol = 'AAPL' start = dt.date.today() - dt.timedelta(days = 365*4) end = dt.date.today() # Read data df = yf.download(symbol...
[ "oanufriyev@gmail.com" ]
oanufriyev@gmail.com
025f7a0e9cd0c32068acf113b8caa1b6b311aba3
d41d18d3ea6edd2ec478b500386375a8693f1392
/plotly/validators/layout/updatemenu/_pad.py
f67722763cce7c6ba174864e21690df30e365577
[ "MIT" ]
permissive
miladrux/plotly.py
38921dd6618650d03be9891d6078e771ffccc99a
dbb79e43e2cc6c5762251537d24bad1dab930fff
refs/heads/master
2020-03-27T01:46:57.497871
2018-08-20T22:37:38
2018-08-20T22:37:38
145,742,203
1
0
MIT
2018-08-22T17:37:07
2018-08-22T17:37:07
null
UTF-8
Python
false
false
862
py
import _plotly_utils.basevalidators class PadValidator(_plotly_utils.basevalidators.CompoundValidator): def __init__( self, plotly_name='pad', parent_name='layout.updatemenu', **kwargs ): super(PadValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_n...
[ "adam.kulidjian@gmail.com" ]
adam.kulidjian@gmail.com
d32855663c894f30d474bf0474a83d215f484e43
df6d342830265a2dd5200527e20e08e302bdc08c
/servicediscovery/python/setup.py
ade872801cd7fcf39c5e72b9b189503607f9f3b1
[ "Apache-2.0" ]
permissive
ezbake/ezbake-discovery
a7aa4d8ee85e27f49eb40b96a3f2f20639742c13
27f97335f984eed1bddac0d1714b41185af327f1
refs/heads/master
2021-01-23T00:06:21.865329
2014-10-21T15:28:54
2014-10-21T15:42:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
992
py
#!/usr/bin/env python # Copyright (C) 2013-2014 Computer Sciences Corporation # # 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 # # ...
[ "jhastings@42six.com" ]
jhastings@42six.com
1dfedec63f9b99adc565f99d2e9b5d246fecf798
a352b01827b6b8b4cd4ae7b2d4a7427513e3326a
/linkerd/tests/common.py
17d7b9aee9e2dcc7be0411c1e75bb2cd507ff2b3
[]
permissive
kloudfuse/integrations-core
8e52ac61464325b297f3e62c0405cccc4a4663ac
f78a61f9898bf1c26dd70407c23267514fac0d53
refs/heads/master
2023-03-24T00:10:05.259573
2021-03-29T16:44:06
2021-03-29T16:51:38
351,222,055
0
0
BSD-3-Clause
2021-03-29T16:51:39
2021-03-24T21:01:55
Python
UTF-8
Python
false
false
28,747
py
from datadog_checks.base.stubs import aggregator from datadog_checks.dev import get_here from datadog_checks.linkerd.metrics import construct_metrics_config HERE = get_here() LINKERD_FIXTURE_METRICS = { 'jvm:start_time': 'jvm.start_time', 'jvm:application_time_millis': 'jvm.application_time_millis', 'jvm:...
[ "noreply@github.com" ]
kloudfuse.noreply@github.com
d3d7f55cb0565e2e0d5619db64155211859643f9
548c26cc8e68c3116cecaf7e5cd9aadca7608318
/scripts/chaupaati_incomplete_orders.py
9c467a13377469b4d15dd3c1d6b47433c9152485
[]
no_license
Morphnus-IT-Solutions/riba
b69ecebf110b91b699947b904873e9870385e481
90ff42dfe9c693265998d3182b0d672667de5123
refs/heads/master
2021-01-13T02:18:42.248642
2012-09-06T18:20:26
2012-09-06T18:20:26
4,067,896
0
1
null
null
null
null
UTF-8
Python
false
false
1,162
py
import os, sys os.environ['DJANGO_SETTINGS_MODULE'] = 'tinla.settings' ROOT_FOLDER = os.path.realpath(os.path.dirname(__file__)) ROOT_FOLDER = ROOT_FOLDER[:ROOT_FOLDER.rindex('/')] if ROOT_FOLDER not in sys.path: sys.path.insert(1, ROOT_FOLDER + '/') # also add the parent folder PARENT_FOLDER = ROOT_FOLDER[:ROOT...
[ "saumil.dalal@futuregroup.in" ]
saumil.dalal@futuregroup.in
2a3e9a576ebb7f331bd9c445c7a1ca6d642f8224
dfaf6f7ac83185c361c81e2e1efc09081bd9c891
/k8sdeployment/k8sstat/python/kubernetes/test/test_v1_exec_action.py
c902c8146d3230154a60c81422a6febf65085902
[ "MIT", "Apache-2.0" ]
permissive
JeffYFHuang/gpuaccounting
d754efac2dffe108b591ea8722c831d979b68cda
2c63a63c571240561725847daf1a7f23f67e2088
refs/heads/master
2022-08-09T03:10:28.185083
2022-07-20T00:50:06
2022-07-20T00:50:06
245,053,008
0
0
MIT
2021-03-25T23:44:50
2020-03-05T02:44:15
JavaScript
UTF-8
Python
false
false
912
py
# coding: utf-8 """ Kubernetes No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 OpenAPI spec version: v1.15.6 Generated by: https://openapi-generator.tech """ from __future__ import absolute_import import unittest import kube...
[ "JeffYFHuang@github.com" ]
JeffYFHuang@github.com
aef56a75581e7690beaea54533cc33e6e67d0ca5
9c8396e3185c0951d77826ec4442e673923bcf77
/DQN_variants/DQN/dqn_cartpole.py
ede341786fcb2a9e6b6399d506575dc8515e9986
[ "MIT" ]
permissive
JaviAibar/reinforcement_learning
d4675507d53bb2ef9ff31b0376929f485d1cfc47
037c292e5d81cd6d302566969c0391aba47d0343
refs/heads/master
2022-10-22T02:44:59.020078
2020-06-11T04:39:39
2020-06-11T04:39:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,502
py
# -*- coding: utf-8 -*- """DQN_cartpole.ipynb Automatically generated by Colaboratory. Original file is located at https://colab.research.google.com/drive/19dCWA7oETPkQ2QnmDi5LDE5Cwk5zAe9y A **Deep Q Network** implementation in tensorflow with target network & random experience replay. The code is tested with Gy...
[ "17569306+ChuaCheowHuan@users.noreply.github.com" ]
17569306+ChuaCheowHuan@users.noreply.github.com
c5aa2b4106bfd1a9c88759d38a05fda69eea6594
a972c5de4144940d1c5903bb5636df4bcaf4b283
/ejerciciokenwin/models/user.py
7e6a3d3526b37bfbbfba7e8d3bbc385b99b99fa1
[]
no_license
apocalipsys/ejerciciopyramid-2020
5dafe2926bb78338eb1eca17d2be8f6ef2eba8fa
2411601f4e2e0dd9aa49951251f9acfe73d43777
refs/heads/master
2020-12-21T00:51:38.700245
2020-02-07T07:24:51
2020-02-07T07:24:51
236,258,661
3
1
null
2020-02-05T06:29:14
2020-01-26T02:42:08
Python
UTF-8
Python
false
false
3,465
py
#This file is for the users db structure, password hashing and user exists check #Este archivo es para que Sqlalchemy le de estructura a la base de datos de usuarios, para hashear los #passwords y para validar si el usuario que queres registrar existe o no. from sqlalchemy import Column, Integer, Text, LargeBinary, For...
[ "martinvargas82@gmail.com" ]
martinvargas82@gmail.com
bd094e6c6fc6d2f63a8ec70a49387a3ca61b5422
8bee24501b3f2ae30eaa7d2a83173348d5594ff3
/fabfile.py
8727b9e70362179ff79b2df4e636b4b4becf3796
[]
no_license
yanshigou/devices_mgmt
30752b055e34ed97a21ffce5a2a72e1b850b26fb
94f20205e1dd8121f2de4a12e8300e53114cd9c1
refs/heads/master
2022-04-08T10:03:26.940685
2020-03-12T09:28:11
2020-03-12T09:28:11
228,364,169
0
0
null
null
null
null
UTF-8
Python
true
false
2,363
py
# -*- coding: utf-8 -*- from datetime import datetime from fabric.api import * from fabvenv import virtualenv # 登录用户和主机名: env.user = 'ubuntu' env.password = 'Cmx170904' env.hosts = ['111.230.246.188'] pack_name = 'deploypack_devices_mgmt.tar.gz' def pack(): ' 定义一个pack任务 ' # 打一个tar包: local('del %s' % pac...
[ "569578851@qq.com" ]
569578851@qq.com
2dbd7f4f9f12f94851c51a26059071fb13d45e3a
b8f77ec8e4c6da4a2117140a3eeac0201ab08678
/seleniumbase/fixtures/constants.py
e3730c1ed3ccbc8986c679274a0502756797fc0c
[ "MIT" ]
permissive
CyrilShch/SeleniumBase
b07571172c173278eaf49b88ee24dd0eac779936
269e367d2b7bcd3741840241c5da184d7a3b2bc7
refs/heads/master
2023-06-11T20:42:13.325171
2021-07-04T12:56:30
2021-07-04T12:56:30
381,798,302
0
0
MIT
2021-06-30T18:29:27
2021-06-30T18:29:27
null
UTF-8
Python
false
false
10,715
py
""" SeleniumBase constants are stored in this file. """ class Environment: # Usage Example => "--env=qa" => Then access value in tests with "self.env" QA = "qa" STAGING = "staging" DEVELOP = "develop" PRODUCTION = "production" MASTER = "master" LOCAL = "local" TEST = "test" class Fil...
[ "mdmintz@gmail.com" ]
mdmintz@gmail.com
aed05c6b3bffc447eb1a86c0e59c84cf62a42cb8
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02607/s905740613.py
650c92594efc809f248ef35a523d02e4be78643b
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
184
py
N = int(input()) a = [int(i) for i in input().split(" ")] count = 0 for i in range(0, N): if i % 2 == 1: continue if a[i] % 2 == 0: continue count += 1 print(count)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
5e30b572b6fe2f4ab9c35f1bad0fec587214633c
7453e57d3ebad93ad0f0dbb3035a35250cf9bbc2
/Part II - Projects/Project 1 - Alien Invasion/Chapter 13 - Aliens!/Notes/2-Making the Fleet Move/4_dropping_the_fleet_and_changing_direction.py
108613caabf4732b0c101c5358d28485d16119ff
[]
no_license
brewswain/PCC
cc115544d21e2907592d6c57bfefd551585cb32a
bbbc9d14e76d4a504b8c4c5c00b0140e9983cc27
refs/heads/master
2022-05-15T15:36:12.121121
2022-03-08T22:20:05
2022-03-08T22:20:05
188,480,294
0
0
null
null
null
null
UTF-8
Python
false
false
1,383
py
""" When an alien reaches the edge, the entire fleet needs to drop down and change direction. We therefore need to make some substantial changes in game_functions.py because that's where we check to see if any aliens are at the left or right edge. We'll make this happen by writing the functions check_fleet_edges() and ...
[ "brandonlee2543@hotmail.com" ]
brandonlee2543@hotmail.com
c2091b320711479758b3abf5f6344fea70eca253
bc8996283bb394db13096eda50d2ea4d6853eade
/tests/suite/test_prometheus_exporter.py
d26b060649db0fffaa487ae27fb9399ea0e7a384
[ "Apache-2.0" ]
permissive
satish225/kubernetes-ingress
c2160b84842b2728f558f6680b64d12e2034358f
61f5e25a69285fb45dff0fa48d91df25570e00a5
refs/heads/master
2021-02-27T14:39:02.861336
2020-03-06T23:57:46
2020-03-06T23:57:46
245,612,876
2
0
Apache-2.0
2020-03-07T10:33:19
2020-03-07T10:33:18
null
UTF-8
Python
false
false
3,069
py
import pytest import requests from kubernetes.client import V1ContainerPort from suite.resources_utils import wait_until_all_pods_are_ready, ensure_connection @pytest.fixture(scope="class") def enable_exporter_port(cli_arguments, kube_apis, ingress_controller_prerequisites, ingress_controll...
[ "tellet.tat@gmail.com" ]
tellet.tat@gmail.com
21f8534bd460400bdeafbf88e93e214809a9bf1c
853d4cec42071b76a80be38c58ffe0fbf9b9dc34
/venv/Lib/site-packages/networkx/algorithms/swap.py
f2b6a6dc8b6d467f879fb8df0737d063fd61222e
[]
no_license
msainTesting/TwitterAnalysis
5e1646dbf40badf887a86e125ef30a9edaa622a4
b1204346508ba3e3922a52380ead5a8f7079726b
refs/heads/main
2023-08-28T08:29:28.924620
2021-11-04T12:36:30
2021-11-04T12:36:30
424,242,582
0
0
null
null
null
null
UTF-8
Python
false
false
10,098
py
"""Swap edges in a graph. """ import math from networkx.utils import py_random_state import networkx as nx __all__ = ["double_edge_swap", "connected_double_edge_swap"] @py_random_state(3) def double_edge_swap(G, nswap=1, max_tries=100, seed=None): """Swap two edges in the graph while keeping the n...
[ "msaineti@icloud.com" ]
msaineti@icloud.com
592b1da1672a9d2675e23e051a8b62d37452e460
4a399d20f9934c4984bab229a015be69e9189067
/devel/lib/python2.7/dist-packages/roboy_communication_control/msg/_InfoNotification.py
3b896b3f1c9389054c34317d65a2a4b252c8d406
[ "BSD-3-Clause" ]
permissive
Roboy/myoarm_small_FPGA
09af14c7d82c9e8fc923842ae5aad1be6344bf27
f2f11bee50078d8a03f352e3b3ef9f3d9244d87a
refs/heads/master
2021-01-21T03:21:49.777564
2017-08-30T22:11:44
2017-08-30T22:11:44
101,892,113
0
0
null
2017-08-30T14:49:18
2017-08-30T14:33:46
null
UTF-8
Python
false
false
7,011
py
# This Python file uses the following encoding: utf-8 """autogenerated by genpy from roboy_communication_control/InfoNotification.msg. Do not edit.""" import sys python3 = True if sys.hexversion > 0x03000000 else False import genpy import struct class InfoNotification(genpy.Message): _md5sum = "e83a19f2165c907848c0...
[ "simon.trendel@tum.de" ]
simon.trendel@tum.de
a81ad738632f29567ea24404e94009a340a8b996
92e914f7ad922eacfb8874183523e9cc088e53ee
/django/6_其他/代码/day06/App/urls.py
15fa4755ac15daa51d9ab78db077a252587af9da
[]
no_license
718795325/python-code
3d147758766b39569dcdfba90815af9ce7d21deb
2f6f3e02fb8c12ab7900868c61545f1dc9a1a662
refs/heads/master
2021-05-26T03:33:17.503401
2020-04-08T09:04:00
2020-04-08T09:04:00
254,034,446
0
0
null
null
null
null
UTF-8
Python
false
false
992
py
"""day06 URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based v...
[ "718795325@qq.com" ]
718795325@qq.com
3129660dcf7239d8dd5ed29602fb73243f01fb65
3c000380cbb7e8deb6abf9c6f3e29e8e89784830
/venv/Lib/site-packages/cobra/modelimpl/dbg/eptoiprslt.py
7de083c19822cbc26676ed3fa34a31881d295461
[]
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
8,996
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
2aeeba0419673af1897202307d4e11ccba1142dc
29c3f9cd65a1f3361603ffafea60b1b74d33547b
/sim-top-down/make_demo.py
b09d38b61724cd3a6a41bb97840bf41f7eb43ace
[ "Unlicense" ]
permissive
simsong/dp-demo
81aca4c1b45e8b147f0befc5ccd2d71e09e18e30
bf155986059a25bf21153204137456b40337e920
refs/heads/main
2023-03-31T01:33:58.109620
2023-03-27T17:27:19
2023-03-27T17:27:19
186,896,790
0
2
null
null
null
null
UTF-8
Python
false
false
6,500
py
#!/usr/bin/env python3 import sys import os import os.path import ctools import ctools.tydoc as tydoc from tydoc import TyTag LOCALHOST_CDN = False LOCAL_CDN = False REQUIRED = ['https://ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/themes/smoothness/jquery-ui.css', 'https://ajax.googleapis.com/ajax/libs...
[ "simsong@acm.org" ]
simsong@acm.org
4d6cb5bc67c3d60f08ce402df16fe94cd3219777
627cca9406c31ce30c493ff7502f79eb4c57eee3
/xcha/wallet/puzzles/test_cc.py
0c6bd1e6f944397e20ab9f9113f993cb902cf39b
[ "Apache-2.0" ]
permissive
blockchiansea/xcha-blockchain
40c6d36813f671e94316a522904238f495f39f6b
7de0ba89056236e30069aef12fe25843f6093bcf
refs/heads/master
2023-07-26T02:36:57.654196
2021-09-06T06:04:21
2021-09-06T06:04:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,102
py
# this is used to iterate on `cc.clvm` to ensure that it's producing the sort # of output that we expect from typing import Dict, List, Optional, Tuple from blspy import G2Element from xcha.types.blockchain_format.coin import Coin from xcha.types.blockchain_format.program import Program from xcha.types.blockchain_fo...
[ "xchanet@gmail.com" ]
xchanet@gmail.com
a2630db1f6857118a0fd9b64dc4be1b3ca7a820d
58f65472da6fa3ef3bafee4ec16b64dd077af02b
/tests/core/views.py
9c4e84ae2c8240dbe4842ea8dc14ccacc9fb4faf
[ "BSD-2-Clause" ]
permissive
nicktgr15/django-cookie-consent
d3048738478216230cf59425514c6439490f875b
5e455baa37c6216cc6989ee285e0c20253c7ffdc
refs/heads/master
2022-11-18T05:59:39.569447
2020-06-23T23:32:57
2020-06-23T23:32:57
274,529,401
0
0
BSD-2-Clause
2020-06-23T23:28:31
2020-06-23T23:28:30
null
UTF-8
Python
false
false
584
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.views.generic import ( TemplateView, ) from cookie_consent.util import get_cookie_value_from_request class TestPageView(TemplateView): template_name = "test_page.html" def get(self, request, *args, **kwargs): response = ...
[ "bmihelac@mihelac.org" ]
bmihelac@mihelac.org
1273165cc5766cc145ad85ee653966ff10cafb7f
bd86f45ec9355cf1b76c25307d77c85ff98d30a8
/venv/lib/python2.7/site-packages/django/contrib/gis/gdal/prototypes/raster.py
3184165c32eacb1fb0096220360014d1970cac89
[ "MIT", "BSD-3-Clause" ]
permissive
WhySoGeeky/DroidPot
fd39abe490117283f992d80f317574f47809de8d
7c3d9e975dae3835e2ccf42c425d65b26466e82a
refs/heads/master
2021-07-02T12:47:16.269514
2015-11-03T17:49:41
2015-11-03T17:49:41
45,484,292
6
0
MIT
2021-06-10T17:59:45
2015-11-03T17:44:48
Python
UTF-8
Python
false
false
3,694
py
""" This module houses the ctypes function prototypes for GDAL DataSource (raster) related data structures. """ from ctypes import POINTER, c_char_p, c_double, c_int, c_void_p from functools import partial from django.contrib.gis.gdal.libgdal import std_call from django.contrib.gis.gdal.prototypes.generation import ( ...
[ "phobiatrs@gmail.com" ]
phobiatrs@gmail.com
b7e989b0e790866a3bdfcda04b1d5f344f23cb55
f2590f21a56ef92846edc28afdbda8e99be8983b
/week10/Hackerrank/10.py
b3db5f9b1482f1ef2b3d9bb704e99c188a872f69
[]
no_license
balnur00/webdev2019
e59a49f73efeef292effeb2938491149a4d95fbc
9afaa6330f4c317cb5e97c0000090f8b4bd72915
refs/heads/master
2020-04-18T06:41:56.886061
2019-05-08T03:23:02
2019-05-08T03:23:02
167,332,865
0
0
null
null
null
null
UTF-8
Python
false
false
260
py
def mutate_string(string, position, character): p = int(position) str = string[:p] + character + string[p+1:] return str if __name__ == '__main__': s = input() i, c = input().split() s_new = mutate_string(s, int(i), c) print(s_new)
[ "balnur00@mail.ru" ]
balnur00@mail.ru
4e9df5ea3a58cd6c49a467fc68db868b213a7d51
b39d72ba5de9d4683041e6b4413f8483c817f821
/GeneVisualization/ass1/Lib/site-packages/itk/itkShiftScaleLabelMapFilterPython.py
6485dd9397d5aa77aea8038516b8fda65f1873a7
[]
no_license
ssalmaan/DataVisualization
d93a0afe1290e4ea46c3be5718d503c71a6f99a7
eff072f11337f124681ce08742e1a092033680cc
refs/heads/master
2021-03-13T05:40:23.679095
2020-03-11T21:37:45
2020-03-11T21:37:45
246,642,979
0
0
null
null
null
null
UTF-8
Python
false
false
18,409
py
# This file was automatically generated by SWIG (http://www.swig.org). # Version 3.0.8 # # Do not make changes to this file unless you know what you are doing--modify # the SWIG interface file instead. from sys import version_info if version_info >= (3, 0, 0): new_instancemethod = lambda func, inst, cls: _itkS...
[ "44883043+ssalmaan@users.noreply.github.com" ]
44883043+ssalmaan@users.noreply.github.com
8af65422616d67d126dc7d89f6af972b74960326
2f0f6a6364ec5d9cad6db35b11d40b363c0a4b64
/nn_train_snapshots_with_anim.py
aaea916e62d8a396fee33987c94f6da9439559b8
[]
no_license
Sandy4321/Inductive_Bias
b5274e6e4bc13c0f1fbf7516f613438066952c69
d977587ee5ff8fe0a560da2b73ac3718ea158d2b
refs/heads/master
2022-02-23T20:15:32.878236
2019-09-02T21:16:03
2019-09-02T21:16:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
42,618
py
# -*- coding: utf-8 -*- #import numpy as np import torch import torch.utils.data import numpy as np import matplotlib as mpl from matplotlib import cm import matplotlib.pyplot as plt import matplotlib.animation as animation from numpy import * from matplotlib.pyplot import * from collections import OrderedDi...
[ "noreply@github.com" ]
Sandy4321.noreply@github.com
ebbf23a5774018f4e3616c57a5f96be968afdca7
82674283629eabd8e1cbfb0ed631b72cd95f7ab0
/models/engine/file_storage.py
fccba7b0c0398a6b28b7e2e97b464d2ab44fcf08
[]
no_license
BrandynR/AirBnB_clone
affd5aeeca703a4bcd85452e61408fbe41613d56
9f579362d722e4acd7c69c4d298779458ca32b98
refs/heads/master
2020-09-09T20:12:46.078574
2019-11-27T23:46:14
2019-11-27T23:46:14
221,556,205
0
2
null
null
null
null
UTF-8
Python
false
false
2,125
py
#!/usr/bin/python3 """file_storage module containing file_storage class """ import os class FileStorage: """ FileStorage class: contains methods to serialize objects to JSON and to deserialize JSON files to objects """ __file_path = 'file.json' __objects = {} def all(self): """ ...
[ "977@holbertonschool.com" ]
977@holbertonschool.com
2a4c66bb12221f17adfa83f30e87e35596bc5905
6b95305a79431aad35f9b38491fa87203b6c65d8
/cdk/app.py
5cd7293c213dc1bca50511c361844938684a422e
[]
no_license
briancaffey/valheim-cdk-discord-interactions
a3f0273d72d9e08ba008c7edaf3fa8d5a0438b77
4ac6672c98e76ef7d310b345fca9eb8f6f7c89d3
refs/heads/master
2023-04-24T00:03:31.621349
2021-03-19T03:29:57
2021-03-19T03:29:57
349,289,348
2
0
null
2021-05-10T08:00:25
2021-03-19T03:31:20
Python
UTF-8
Python
false
false
693
py
#!/usr/bin/env python3 import os from aws_cdk import core as cdk # For consistency with TypeScript code, `cdk` is the preferred import name for # the CDK's core module. The following line also imports it as `core` for use # with examples from the CDK Developer's Guide, which are in the process of # being updated to...
[ "briancaffey2010@gmail.com" ]
briancaffey2010@gmail.com
9b93188d928824319cb67bd3db3333995e7513a5
542c040b9b2150d789096f031dcf7a4362b034fe
/training/admin.py
0d255bb9f20dd7b2a79f7c86ab69c49d2c30721e
[ "Unlicense" ]
permissive
rafimuhammad01/mtf-hackathon
3115412f673774cc3991bd2a67854bfa645966d1
83ab410239a93ff04e57d7ceb2d1d292ba365866
refs/heads/main
2023-04-12T15:28:41.506450
2021-05-22T11:27:05
2021-05-22T11:27:05
360,573,233
0
0
null
null
null
null
UTF-8
Python
false
false
264
py
from django.contrib import admin # Register your models here. from training.models import Training, Schedule, TrainingOwned, Competency admin.site.register(Training) admin.site.register(Schedule) admin.site.register(TrainingOwned) admin.site.register(Competency)
[ "rafi10muhammad@gmail.com" ]
rafi10muhammad@gmail.com
3b539646f5a1829ac5f7584216773768dc85e813
9bfc212d7f036f5e7209c56211e6ef0b102ab11c
/cart/migrations/0001_initial.py
0afa6414ae705e94cdb7ca9f48b361ff679040fe
[]
no_license
sjf546339672/netshop
813da202c377e28bbf927490f9e020b125cd39aa
78785f30f679349dbd043a2110eace6ba0690c03
refs/heads/master
2022-12-27T11:00:57.514937
2020-09-27T06:52:50
2020-09-27T06:52:50
294,095,481
0
0
null
null
null
null
UTF-8
Python
false
false
1,022
py
# Generated by Django 3.0.5 on 2020-09-11 13:52 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('userapp', '0001_initial'), ] operations = [ migrations.CreateModel( name='C...
[ "shijf@broada.com" ]
shijf@broada.com
7a41b14ba8e1948a2bead753486992a5ce13d9f3
54da94dce244ab659c8036cafcdc1b326fbfe490
/datoteke-s-predavanj/2016-17/01-osnove-pythona/fermi-mat.py
0fc1e3a23340007506b0dd6c5d6b92ed9186efb9
[]
no_license
jakamrak/uvod-v-programiranje
640b2738164e2026308d7e60f1478659df79cc40
3c05290f4f23b384ad9063880fffe208c08fc599
refs/heads/master
2022-07-17T16:50:18.563453
2020-05-18T13:54:13
2020-05-18T13:54:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
557
py
stevilo_slovencev = 2000000 pricakovana_starost = 77 velikost_generacije = stevilo_slovencev / pricakovana_starost stevilo_osnovnosolcev = 9 * velikost_generacije velikost_razreda = 25 stevilo_razredov = stevilo_osnovnosolcev / velikost_razreda stevilo_ur_matematike = 4.5 * stevilo_razredov stevilo_uciteljev = stevilo_...
[ "matija@pretnar.info" ]
matija@pretnar.info
6204bf5773ed23e2d04748512602b0f8e3def857
080c13cd91a073457bd9eddc2a3d13fc2e0e56ae
/MY_REPOS/awesome-4-new-developers/tensorflow-master/tensorflow/python/distribute/cluster_resolver/sagemaker_cluster_resolver.py
9f91d0d8e3eaa7e3649f6ea56bb3e265570a0dac
[ "Apache-2.0" ]
permissive
Portfolio-Projects42/UsefulResourceRepo2.0
1dccc8961a09347f124d3ed7c27c6d73b9806189
75b1e23c757845b5f1894ebe53551a1cf759c6a3
refs/heads/master
2023-08-04T12:23:48.862451
2021-09-15T12:51:35
2021-09-15T12:51:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,255
py
# Copyright 2020 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable ...
[ "bryan.guner@gmail.com" ]
bryan.guner@gmail.com
7571f78ba274b0e20331abcc94a45459199bc474
c81704e8d8b18f76ddabada3328c22fb75ecf18e
/src/simple_xml/run.py
973329a2c6dc01e92145423f1cef3340922a7b93
[]
no_license
cjw296/ForJames
883094bb6a91fa13403f56604254a368e52ca907
394bdade3f5175571a965c3c1777b9b528951920
refs/heads/master
2021-01-23T20:13:28.256316
2012-11-23T15:03:28
2012-11-23T15:03:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,121
py
''' This uses the common model package. Just select web.py and choose 'Run As / Python Run' from the Run menu. Then read the console and the code... Created on Nov 13, 2012 @author: peterb ''' import xml.etree.ElementTree as ET import model import logging def run(db_url="sqlite://", xml_path="people.xml"): Ses...
[ "pete@blueshed.co.uk" ]
pete@blueshed.co.uk
49defa95019846fb6e6571d6d63887851440dc60
c7027edceeae907ce7d21112336e84f101eeb89b
/airflow/providers/amazon/aws/hooks/kinesis.py
7e40016572bd3e89473e5bd6f166f706e507ec44
[ "Apache-2.0", "BSD-3-Clause", "MIT" ]
permissive
jao6693/airflow
0a8027ce33e20ee8f6032facb1b8ab453c2d20d4
269b608246b015c55e6cae4ed0f50b1e2bb0fa95
refs/heads/main
2023-01-30T18:53:23.431745
2022-11-05T14:59:27
2022-11-05T14:59:27
320,338,180
0
0
Apache-2.0
2020-12-10T17:08:36
2020-12-10T17:08:35
null
UTF-8
Python
false
false
1,705
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...
[ "fabien.beuret@delaware.pro" ]
fabien.beuret@delaware.pro
b934f4bf9e7b40a31b5e000e027c595e42e39bcf
e23a4f57ce5474d468258e5e63b9e23fb6011188
/125_algorithms/_exercises/templates/_algorithms_challenges/leetcode/LeetcodePythonProject_with_solution/leetcode_0301_0350/LeetCode309_BestTimeToBuyAndSellStockWIthCooldown.py
bf07ffa1f5090d03ca030868d1921d33327d2c79
[]
no_license
syurskyi/Python_Topics
52851ecce000cb751a3b986408efe32f0b4c0835
be331826b490b73f0a176e6abed86ef68ff2dd2b
refs/heads/master
2023-06-08T19:29:16.214395
2023-05-29T17:09:11
2023-05-29T17:09:11
220,583,118
3
2
null
2023-02-16T03:08:10
2019-11-09T02:58:47
Python
UTF-8
Python
false
false
1,196
py
c_ Solution(o.. ___ maxProfit prices """ :type prices: List[int] :rtype: int """ __ n.. prices: r.. 0 n l..(prices) buy [0]*n sell [0]*n rest [0]*n buy[0] -prices[0] ___ i __ r..(1, n buy[i] m..(buy[i-1], rest[i-1]...
[ "sergejyurskyj@yahoo.com" ]
sergejyurskyj@yahoo.com
fd370fa28e5d69e441151d6b723fcf2f0306f211
fcc67532d7e4e789a2b3f7880cb68f1b6d35edcb
/p4_n_news02.py
6b0ab826a6dd0e89aae6f414fb392409c66063cd
[]
no_license
nahyunsung/webcr
ab5c49696f70d148de01ea902f1d34f5723134cf
f426278ab4e0978581edc9de1770f5530fb98e1a
refs/heads/master
2023-06-24T23:36:36.560680
2021-07-24T07:32:12
2021-07-24T07:32:12
384,638,273
0
0
null
null
null
null
UTF-8
Python
false
false
1,132
py
from tkinter import * import requests from bs4 import BeautifulSoup def find(): lst_box.delete(0, END) titles.clear() links.clear() url = 'https://news.naver.com/' headers = {'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/...
[ "rahs0120@gmail.com" ]
rahs0120@gmail.com
afd708196912623dd44b5bd452f2c86e3819af70
3fdaaa974544468fee054b5ba3d935f7486f367b
/rmflow/__init__.py
477237d079d50b9e7577cfc691e215da01ca0f88
[ "BSD-3-Clause" ]
permissive
pjamesjoyce/rmflow
c1795a302b39851454445c878cae85be80a82e36
de4a14284e0b32bb068baf527ea67eafbbf8c73a
refs/heads/master
2021-03-27T10:00:09.418869
2017-10-26T06:58:18
2017-10-26T06:58:18
108,373,157
0
0
null
null
null
null
UTF-8
Python
false
false
141
py
""" Here's the docstring """ from lcopt.io import * from lcopt.model import * from lcopt.export_view import * from lcopt.bw2_import import *
[ "pjamesjoyce@gmail.com" ]
pjamesjoyce@gmail.com
946919a3dff53d4f09eabf24f5bfee54045780af
ec11b34831462992865251acd62c35cedb0ee325
/solutions_old/db_iter.py
7f869d7cb611c586d23ad4c95c5dd91d71b5eef7
[]
no_license
igrekus/fiddle
3767fb518ed0c4aa1d5c5e9fc708a9c6c18ccea7
3a9ab408af6304d7b1901c3aa893ae39d3132226
refs/heads/master
2023-04-28T00:21:10.020419
2023-04-19T09:52:34
2023-04-19T09:52:34
222,413,997
1
0
null
null
null
null
UTF-8
Python
false
false
2,131
py
db = dict() wal = list() def get_db(params): return db.get(params[0], 'NULL') def set_db(params): return db.update({params[0]: params[1]}) def unset_db(params): db.pop(params[0], None) return None def counts_db(params): return sum(v == params[0] for v in db.values()) or '0' def get_wal(params):...
[ "upload234@mail.ru" ]
upload234@mail.ru
e39ff73b58022c9e998ee4c4b6fe88ec84372108
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03729/s859745063.py
c38db25a404bfa2a4abb767f17171d00cbc2ae95
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
77
py
a,b,c = input().split() print('YNEOS'[not(a[-1] == b[0] and b[-1]==c[0])::2])
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
1b0b8ede2ba63a2829ed4e6d2ec0b1362053a2a2
1de7512183974adfc5dbdd30b3bf7e042ea194d9
/python死循环测试.py
af23d9736c1fba73dc54e630ce204f46a397426f
[]
no_license
articuly/Self-study
d06b0bdcead38282701e4d5118cefd8b83e80241
878ed68fc31dc1f5c2f13bcb5d98539264985c17
refs/heads/master
2023-05-13T18:34:33.904864
2023-05-09T11:03:29
2023-05-09T11:03:29
223,714,760
1
0
null
null
null
null
UTF-8
Python
false
false
848
py
# coding:utf-8 # author: Articuly # datetime: 2020/7/3 9:53 # software: PyCharm import numpy as np from multiprocessing import Process # 用while循环的方法 def fibona(n): a, b = 0, 1 i = 1 result = [] while i <= n: print(a) result.append(a) a, b = b, a + b i += 1 return r...
[ "articuly@gmail.com" ]
articuly@gmail.com
c783362ff91b626fd430d229d051cd74a1d8a9f7
0cfd2faf3f52af67888f082bd9dc29f34ffdc810
/python/1_9/amoebas.py
e25b74c65d52fa843a68da3abf14f28d1f423ff6
[]
no_license
rsprenkels/kattis
28bd078a797a9cfa76509145e39db77fe6a895cd
7d51e8afb841c4bd4debaf5aef0c37f6da6f3abd
refs/heads/master
2023-08-11T00:07:06.308151
2023-07-29T22:04:04
2023-07-29T22:04:04
69,284,864
0
0
null
null
null
null
UTF-8
Python
false
false
1,306
py
from collections import defaultdict from typing import Tuple, DefaultDict, List, Set, Dict def amoebas(lines: List[str]) -> int: cells: Dict[Tuple[int, int], Set[Tuple[int, int]]] = dict() for row, line in enumerate(lines): for col, char in enumerate(line): if char == '#': ...
[ "ron.sprenkels@gmail.com" ]
ron.sprenkels@gmail.com
822823a60d900db9d0ae3be896618d6ccf14bf2c
869196e2c9c0f888ce5ca6f893fa287b282531fe
/01_Language/05_Python/study/lesson_02/02.基本语法.py
c8d11ddb8f1acf26f86f82d082f9c25f62b00a2a
[ "MIT" ]
permissive
lizhenggan/TwentyFour
c669240643d94c9d531c374cc0fc3f74888f986d
2c9848ca15c25092afdfea3b2fbb0d660e4fd446
refs/heads/master
2023-02-13T18:04:04.176787
2021-01-08T13:26:17
2021-01-08T13:26:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
244
py
print('he\ aaa\ aaa') # 这是一个打印语句,请你看见了不要慌张 # 这是一个注释 # 注释会被解释器所忽略 # print(123+456) 这行代码被注释了,将不会执行 print('abc') # 这是一个单行注释
[ "176462329@qq.com" ]
176462329@qq.com
e6ba9716caeeb1157dfea0cd646d50ef8928606a
3eb55e98ca635cde6c41e895844f6c01b06a91ac
/votes.py
21b237a8e37fdcc1c29f2dbd39e1637e47a48555
[]
no_license
tatikondarahul2001/py
defefacdb726aeb3e2d5515cb8a8dd14e3b7f18c
30c459312befc2426f403ea4062233dbd0b4fa0a
refs/heads/main
2023-03-12T07:41:17.550136
2021-02-24T14:43:35
2021-02-24T14:43:35
323,222,577
2
0
null
null
null
null
UTF-8
Python
false
false
70
py
T = int(input()) #no of test cases N = int(input()) #no of opinions
[ "noreply@github.com" ]
tatikondarahul2001.noreply@github.com
c6fb1198456a8e26ba54e1804b9e3241ff7777c3
4c2ffec49d18913ff5bcd006d6cde7b0371e9f6a
/src/middlewared/middlewared/plugins/truecommand/wireguard.py
f404d4918bd56a6a448ad7d9c4747b843470ea99
[]
no_license
cyberpower678/freenas
7b6bbcd7288ef76af66c9f0482652e16b6c4a540
3bd269199b404b8d3efe9e867d2c4f37ab187c4b
refs/heads/master
2022-11-26T10:49:04.041283
2020-08-06T18:31:00
2020-08-06T18:31:00
285,836,451
2
0
null
2020-08-07T13:31:58
2020-08-07T13:31:57
null
UTF-8
Python
false
false
6,491
py
import re import subprocess import time from middlewared.service import accepts, CallError, no_auth_required, periodic, pass_app, private, Service, throttle from middlewared.utils import osc, Popen, run from .enums import Status HEALTH_CHECK_SECONDS = 1800 WIREGUARD_HEALTH_RE = re.compile(r'=\s*(.*)') def throttle...
[ "waqarahmedjoyia@live.com" ]
waqarahmedjoyia@live.com
9eba68f985b62e5a928e696e78aef875d34eb3fd
f0ee987789f5a6fe8f104890e95ee56e53f5b9b2
/pythia-0.8/packages/journal/journal/components/DeviceFacility.py
805705bb016d2451fa8855d26b79719a9130c9c6
[]
no_license
echoi/Coupling_SNAC_CHILD
457c01adc439e6beb257ac8a33915d5db9a5591b
b888c668084a3172ffccdcc5c4b8e7fff7c503f2
refs/heads/master
2021-01-01T18:34:00.403660
2015-10-26T13:48:18
2015-10-26T13:48:18
19,891,618
1
2
null
null
null
null
UTF-8
Python
false
false
805
py
#!/usr/bin/env python # # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # # Michael A.G. Aivazis # California Institute of Technology # (C) 1998-2005 All Rights Reserved # # <LicenseText> # # ~~~~~~~~~~~~~~~~~~~~~~~~...
[ "echoi2@memphis.edu" ]
echoi2@memphis.edu
2afacc9219c1ca6969a407bd83197ee36c4690b6
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/396/usersdata/282/81125/submittedfiles/av1_programa2.py
d6b8d3e3bfad88ca07c7efe8adee43fd2c1897c1
[]
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
2,054
py
# -*- coding: utf-8 -*- #COMECE AQUI ABAIXO a = int(input('Digite o primeiro numero entre 1 e 99: ')) b = int(input('Digite o segundo numero entre 1 e 99 diferente do anterior: ')) c = int(input('Digite o terceiro numero entre 1 e 99 diferente dos anteriores: ')) d = int(input('Digite o quarto numero entre 1 e 9...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
610e2d01598a1118ce68c8e2845be4b891ce6915
0a349f3c8348b48d3c3fb8a73508212437867e16
/SA-ThreatIntelligence/bin/shortcuts/__init__.py
2f5874e4b938f708a23500198becf1641563be64
[]
no_license
reza/es_eventgens
2c78a0cdb89b414e3a4f45d2b0c465696edd7695
70689c54d1a67e809bf134dd586b2ea05ff4c431
refs/heads/master
2021-06-15T00:41:31.564158
2017-02-11T04:13:44
2017-02-11T04:13:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,209
py
import csv import collections import functools import gzip import json import logging import logging.handlers import math import os import random import re import StringIO import struct import sys import time import splunk.util as util from splunk.clilib.bundle_paths import make_splunkhome_path sys.path.append(make_s...
[ "dratcliffe75@gmail.com" ]
dratcliffe75@gmail.com
31f496609e1563ca4f200dab474efd50fb11ff5f
4104ef21c5383458ef0005179b77f582ae87844c
/pages/migrations/0001_initial.py
3471339b68e19c1a502129bfe82d34737f8d5b13
[]
no_license
kodiers/quests
8580d4cacd5685e08989f28fc6825117b17ea146
006bfbd354c75f6baeac020112cf36adcee9b016
refs/heads/master
2021-01-18T22:25:00.676362
2016-05-23T23:08:18
2016-05-23T23:08:18
37,993,239
0
0
null
null
null
null
UTF-8
Python
false
false
1,747
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations import tinymce.models class Migration(migrations.Migration): dependencies = [ ] operations = [ migrations.CreateModel( name='FAQ', fields=[ ('id', mod...
[ "kodiers@gmail.com" ]
kodiers@gmail.com
2959b8acfcb805f6a223b14e8daef72f3f6819db
814a896307bc2b99ec20d0800cb106280fb1b303
/venv/lib/python3.6/site-packages/pyquickhelper/sphinxext/import_object_helper.py
6ed09ecb0d2631bab1e164da234dde25261bc696
[]
no_license
mahagala/HecHms
ae0d4bedfcba33bc7e70eeefadcbd5361a00bd73
47521f9cd8dc0f2a51bb6e2660f67a81b3634b16
refs/heads/master
2021-09-20T04:16:23.691577
2018-08-03T12:46:38
2018-08-03T12:46:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,609
py
# -*- coding: utf-8 -*- """ @file @brief Defines a sphinx extension which if all parameters are documented. .. versionadded:: 1.5 """ import inspect from typing import Tuple import warnings import sys class _Types: @property def prop(self): pass @staticmethod def stat(self...
[ "hasithadkr7@gmail.com" ]
hasithadkr7@gmail.com
6d82c2bd9796a92dfc0b250d33c5495dd2794702
128623c75dc3a4c6bafe417dad5d3b95942c3d3c
/transtech_directory/migrations/0004_address_contactinfo.py
61553289563da68b9ae7dc7fee7b145d165ba427
[ "MIT" ]
permissive
nanuxbe/transtech-directory
16582c53a8bdb131bd9fff662e5a7d82186da403
d68928a2cba9e9d0f6e34a353357d75e66f2279e
refs/heads/master
2021-01-19T13:32:07.447554
2017-10-30T15:27:07
2017-10-30T15:27:07
42,716,938
1
7
MIT
2018-11-09T16:57:37
2015-09-18T11:12:23
Python
UTF-8
Python
false
false
1,615
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations import django_countries.fields class Migration(migrations.Migration): dependencies = [ ('transtech_directory', '0003_auto_20150920_1306'), ] operations = [ migrations.CreateModel( ...
[ "emma@levit.be" ]
emma@levit.be
a68fb2f23bda6962f469f69e44732e1507cece54
8fcc27160f8700be46296568260fa0017a0b3004
/client/entosis/spacecomponents/__init__.py
b04a547d1e6b2a6be76c43ebd0f1df88936539b6
[]
no_license
connoryang/dec-eve-serenity
5d867f4eedfa896a4ef60f92556356cafd632c96
b670aec7c8b4514fc47cd52e186d7ccf3aabb69e
refs/heads/master
2021-01-22T06:33:16.303760
2016-03-16T15:15:32
2016-03-16T15:15:32
56,389,750
1
0
null
2016-04-16T15:05:24
2016-04-16T15:05:24
null
UTF-8
Python
false
false
136
py
#Embedded file name: e:\jenkins\workspace\client_SERENITY\branches\release\SERENITY\packages\entosis\spacecomponents\__init__.py pass
[ "masaho.shiro@gmail.com" ]
masaho.shiro@gmail.com
aac7709f89da869989e9532d9d2dd3814c16548b
1aefa304f794c1ed9e06ce71248206098c756cf3
/python_revision/HackerRank/staircase_printing.py
d84918656b04c7a3801dab07ff6b9577f4d17bd0
[]
no_license
dilipksahu/django_class
333233bbced5491d886687b5990c8836dac2f145
a044c4a079c61a6a6de05674103e8a9ba2b4d28c
refs/heads/master
2023-01-10T07:40:44.713361
2020-11-10T15:26:33
2020-11-10T15:26:33
282,398,509
0
0
null
null
null
null
UTF-8
Python
false
false
446
py
''' Consider a staircase of size : # ## ### #### Observe that its base and height are both equal to , and the image is drawn using # symbols and spaces. The last line is not preceded by any spaces. Write a program that prints a staircase of size . ''' def staircase(n): m = n - 1 for i in range(n): ...
[ "sahud048@gmail.com" ]
sahud048@gmail.com
2ee307345f729c650272b9693475c2fa58d62e52
31b2db174900aecc3a71117250aa5f781652bff6
/RestApi/Python/SampleScripts/LoadSavedConfigFile/LoadConfigFileEvalStats_5G.py
f7231aa7882c5a7b70caf14173f985b835db854c
[ "MIT" ]
permissive
OpenIxia/IxLoad
73a78b11a4ac31060575ddd4b2b39e2303a5c96b
9afe8af4202f823fe25c139d81c591fd95504b77
refs/heads/master
2022-03-16T14:36:38.333614
2022-03-04T15:25:41
2022-03-04T15:25:41
117,157,037
11
15
MIT
2022-03-04T15:25:42
2018-01-11T21:42:27
Tcl
UTF-8
Python
false
false
6,685
py
# Description # A sample Python REST API script to: # - Load a saved configuration file # - Run traffic # - Get stats and evaluate for user defined expected stat values. # - Get test result # # - For IxLoad Gateway running in Windows only. Linux Gateway is not supported at this time. # - This...
[ "hubert.gee@keysight.com" ]
hubert.gee@keysight.com
e3b52097fca1ddbfcdeb48d18e219ab52f9feeaf
4c7eea9d402dbda526c880cb55339e73d783568f
/run_turtle/run_turtle.py
57e07a75bc64b9b199148f03ac9e80429ac61065
[]
no_license
kks4866/pyworks
9dd8e9e66ba419c50e6111c42b9fb7311ce402fa
a3f599f96ae367e2cdc0da0ab9429186629f3c1c
refs/heads/master
2023-06-28T23:54:18.640460
2021-07-06T04:08:52
2021-07-06T04:08:52
378,803,609
0
0
null
null
null
null
UTF-8
Python
false
false
1,278
py
import turtle as t import random def turn_right(): #오른쪽 화살키 t.setheading(0) def turn_up(): # 위쪽 화살키 t.setheading(90) def turn_left(): #왼쪽 화살키 t.setheading(180) def turn_down(): #아래쪽 화살키 t.setheading(270) def play(): t.forward(10) te.forward(9) #적 거북이가 주인공을 쫓아감 ang = te.towards(t.pos...
[ "kks4866@naver.com" ]
kks4866@naver.com
b6bf555ff7db397706b2c23dd72ab7ad44ccadbd
4d7d2d44410ce1787ce3255dff2be9e5317535a7
/apps/users/migrations/0001_initial.py
b99b5a287f951f31707ff43ef2cf45ceef8bb3f5
[]
no_license
Noeuclides/palindrome_api
931533148cc2a2d4a5155d717ecb9559c1c30d12
cb5bc8873f953121d4785fe62ef6b49ec2fdd996
refs/heads/master
2023-03-17T01:37:59.429450
2021-03-17T22:17:20
2021-03-17T22:17:20
348,148,575
0
0
null
2021-03-17T15:23:41
2021-03-15T23:10:58
Python
UTF-8
Python
false
false
1,972
py
# Generated by Django 3.1.7 on 2021-03-16 23:03 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ('auth', '0012_alter_user_first_name_max_length'), ] operations = [ migrations.CreateModel( name='User', ...
[ "euclidesnoeuclides@gmail.com" ]
euclidesnoeuclides@gmail.com
1ad730e0fa7e507c89515079ca10f7f5e1eca544
4f8ac283115a41e057f86b99147e94776b9ee08a
/Recursion/celebrity_problem.py
79f33b9a94d65c92bb9f0cab35e0c1556cb75631
[]
no_license
Saswati08/Data-Structures-and-Algorithms
107d6582c749c7f4fa7fb951ad2930f37bbbe3b7
1338aafa79b5f908ed4e0a5c842fcd12f0bd4d9c
refs/heads/master
2022-12-17T02:30:39.409611
2020-09-09T13:43:06
2020-09-09T13:43:06
275,190,376
1
0
null
null
null
null
UTF-8
Python
false
false
724
py
def find_celebrity(m, n): if n == 1: return 0 id_n_1 = find_celebrity(m, n - 1) if id_n_1 == -1: return n - 1 else: if m[id_n_1][n - 1] == 0 and m[n - 1][id_n_1] == 1: return id_n_1 if m[n - 1][id_n_1] == 0 and m[id_n_1][n - 1] == 1: return n - 1 ...
[ "saswati18015@iiitd.ac.in" ]
saswati18015@iiitd.ac.in
af65b3de40b565fe596cc1c88ee78637860ad22b
b5c2571948d1e7fd6a21cfe3267cb7de9088cf56
/Bytecode Decompile/DistributedRingGame.py
7e8b9efb857bab43ce7fdb2b404df0f59e0b7428
[]
no_license
C0MPU73R/Toontown-2003-Bytecode
ff32042d4da5894ec3a4fb7da43614df26d25a9d
aa6862f86034f342d5fee9934cd6ed3e83de99f3
refs/heads/master
2023-05-03T11:55:57.959617
2018-12-02T00:05:43
2018-12-02T00:05:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
30,971
py
from ShowBaseGlobal import * from ToonBaseGlobal import * from IntervalGlobal import * from DistributedMinigame import * from ClockDelta import * import FSM, State, Task, ArrowKeys, Ring, RingTrack, RingGameGlobals, RingGroup, RingTrackGroups, ToontownGlobals, Localizer class DistributedRingGame(DistributedMinigame): ...
[ "flamingdog101@gmail.com" ]
flamingdog101@gmail.com
01db3ce93ca955ed4b78e41724f058e8b23d707c
78f3fe4a148c86ce9b80411a3433a49ccfdc02dd
/2016/04/school-funding-anim-houses-20160420/graphic_config.py
b1d0561041ab376bcce7facca0f012b60a7bdd34
[]
no_license
nprapps/graphics-archive
54cfc4d4d670aca4d71839d70f23a8bf645c692f
fe92cd061730496cb95c9df8fa624505c3b291f8
refs/heads/master
2023-03-04T11:35:36.413216
2023-02-26T23:26:48
2023-02-26T23:26:48
22,472,848
16
7
null
null
null
null
UTF-8
Python
false
false
299
py
#!/usr/bin/env python import base_filters COPY_GOOGLE_DOC_KEY = '13VeRTVULa6eMNoLEYeY5FBiwMQKGR8IOTYZSys8GOIM' USE_ASSETS = True # Use these variables to override the default cache timeouts for this graphic DEFAULT_MAX_AGE = 20 ASSETS_MAX_AGE = 20 JINJA_FILTER_FUNCTIONS = base_filters.FILTERS
[ "ahurt@npr.org" ]
ahurt@npr.org