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
d02961f6bb0710a6363c4a70e20835eb34887b2a
b681f93e6790f86f5710820e5ba3aa35fefa6f25
/Fred2/Apps/EpitopeAssembly.py
e0422ad80f47fb04fc50623c73547ae310e60a65
[]
no_license
SteffenK12/Fred2
89be9d081cae4dda6be6ba49c13155910f4ecd00
4d627ee1f28380efb3c6af61895623d33ff8785d
refs/heads/master
2020-04-05T23:39:27.786786
2015-10-09T14:18:37
2015-10-09T14:18:37
44,380,401
0
0
null
2015-10-16T11:18:44
2015-10-16T11:18:44
null
UTF-8
Python
false
false
5,349
py
__author__ = 'schubert' import argparse, sys, os from Fred2.Core.Peptide import Peptide from Fred2.Core.Base import ACleavageSitePrediction from Fred2.IO.FileReader import read_lines from Fred2.EpitopeAssembly.EpitopeAssembly import EpitopeAssembly from Fred2.CleavagePrediction import CleavageSitePredictorFactory d...
[ "schubert@informatik.uni-tuebingen.de" ]
schubert@informatik.uni-tuebingen.de
6b98fd9480c24ce1dfbab89aa37782b26192a924
4e04db11d891f869a51adf0e0895999d425f29f6
/tests/accounting/testcases/tc_connect.py
3461941a88ef6bf289dc812d1e69a820ca204837
[]
no_license
mthangaraj/ix-ec-backend
21e2d4b642c1174b53a86cd1a15564f99985d23f
11b80dbd665e3592ed862403dd8c8d65b6791b30
refs/heads/master
2022-12-12T12:21:29.237675
2018-06-20T13:10:21
2018-06-20T13:10:21
138,033,811
0
0
null
2022-06-27T16:54:14
2018-06-20T13:04:22
JavaScript
UTF-8
Python
false
false
2,283
py
from rest_framework.test import APITestCase from portalbackend.lendapi.accounts.models import Company from tests.constants import ResponseCodeConstant, CompanyConstant, TestConstants from tests.utils import TestUtils class _001_ConnectionTestCase(APITestCase): """ Tests the Connection View """ def ...
[ "thangaraj.matheson@ionixxtech.com" ]
thangaraj.matheson@ionixxtech.com
d99d4beeb8c042e0badd83d8956a7da9fada0dea
885e488098bb3482ac86146cdf708ac039b33718
/Part/伊斯塔战灵.py
9588f3cabdce7892e074b1ff2716c8e0b301e250
[]
no_license
bunemp/DNFCalculating
e17c3aa87b1225080311e37268bd2817c91b8548
2099aff612999694a1a9313b1f50063780ab9ba5
refs/heads/master
2022-11-26T23:51:32.488619
2020-08-04T13:40:25
2020-08-04T13:40:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
15,265
py
from PublicReference.base import * class 伊斯塔战灵主动技能(主动技能): def 等效CD(self, 武器类型): if 武器类型 == '矛': return round(self.CD / self.恢复 * 1.05, 1) if 武器类型 == '棍棒': return round(self.CD / self.恢复 * 0.95, 1) class 伊斯塔战灵技能0(被动技能): 名称 = '尼巫的战斗术' 所在等级=15 等级上限=11 基础等级=1 ...
[ "wxh_email@yeah.net" ]
wxh_email@yeah.net
52ceffb3c9ec7ddad2e6056a9dde0fd42ae567a4
6fa81aea23e36b58c7d7788a2b6f3d98440a6891
/basic-manipulations/break.py
f25ad1b6a962e8dc3533cda83c3693da01fab903
[]
no_license
grbalmeida/python3
673b0cbde3481350795d41fb6ebf06633a70b462
3a542cea13f4442dcf7703b843df8f2bd44e9065
refs/heads/master
2020-04-29T09:40:20.635795
2019-03-17T05:08:28
2019-03-17T05:08:28
176,033,385
0
0
null
null
null
null
UTF-8
Python
false
false
291
py
# coding: utf-8 salary = int(input('Salário? ')) tax = 27 while tax > 0: tax = input('Imposto ou (s) para sair: ') if not tax: tax = 27. elif tax == 's': break else: tax = float(tax) print('Valor real: {0}'.format(salary - salary * tax * 0.01))
[ "g.r.almeida@live.com" ]
g.r.almeida@live.com
912d082a6dbe74f145802096419eb2c4ce1772a1
4cade98f144c81d98898de89763d4fcc7e6ae859
/tests/rendering/repeat_separate_callback.py
93e1614196d4f5d88f50767af65aca66f8754f88
[ "Apache-2.0" ]
permissive
ndparker/tdi
be115c02721aa5829e60b9af820b4157ba24a394
65a93080281f9ce5c0379e9dbb111f14965a8613
refs/heads/master
2021-01-21T04:54:51.390643
2016-06-15T19:55:35
2016-06-15T19:55:35
13,570,597
4
1
null
2013-10-20T14:59:37
2013-10-14T19:14:14
Python
UTF-8
Python
false
false
630
py
#!/usr/bin/env python import warnings as _warnings _warnings.resetwarnings() _warnings.filterwarnings('error') from tdi import html template = html.from_string(""" <node tdi="item"> <node tdi="nested"> <node tdi="subnested"></node> </node><tdi tdi=":-nested"> </tdi> </node> """.lstrip()) class Mo...
[ "ndparker@users.noreply.github.com" ]
ndparker@users.noreply.github.com
0b8646becbebeb2e60b26401ced6a214df15b8a5
d9d75e429261d3f2b1075e0f7b598c756cb53a56
/env/lib/python3.9/site-packages/django/contrib/admin/__init__.py
da396593162743eef0420c635f6044e7c811c764
[]
no_license
elisarocha/django-tdd-course
f89ccff07c8fd5114ae10fcb9a400be562f088db
7333fb9b5a5f8ea0f8fe7367234de21df589be59
refs/heads/main
2023-02-25T11:22:23.737594
2021-02-01T19:53:42
2021-02-01T19:53:42
334,710,716
0
0
null
null
null
null
UTF-8
Python
false
false
1,498
py
from django.contrib.admin.decorators import register from django.contrib.admin.filters import (AllValuesFieldListFilter, BooleanFieldListFilter, ChoicesFieldListFilter, DateFieldListFilter, ...
[ "ecdgrocha@gmail.com" ]
ecdgrocha@gmail.com
a9e1c39ac344a4077757def33a8fb95fab0757da
6a607ff93d136bf9b0c6d7760394e50dd4b3294e
/CodePython/python_file/SSPassword.py
0a00267cdf0932e971e83597190057c7c84a1732
[]
no_license
n3n/CP2014
d70fad1031b9f764f11ecb7da607099688e7b1de
96a7cdd76f9e5d4fd8fb3afa8cd8e416d50b918c
refs/heads/master
2020-05-15T07:08:17.510719
2014-02-14T03:21:05
2014-02-14T03:21:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
416
py
txt1 = raw_input() txt2 = raw_input() start = 0 store = {} for j in xrange(len(txt2)): tmp = '' for i in xrange(1,len(txt2)+1): if txt2[j:i] in txt1: tmp = txt2[j:i] if len(tmp) > 0: store[tmp] = len(tmp) val = store.values() val.sort() if len(val) == 0: print 'Error!' ...
[ "s6070069@kmitl.ac.th" ]
s6070069@kmitl.ac.th
114f29441491d265e57420d9a1e9f0120e7f3ef9
447aadd08a07857c3bcf826d53448caa8b6a59ee
/bin/python-config
943b73297bb756dfe3e5f8227160dfde867f44aa
[]
no_license
aydanaderi/Site1
57461e9a43ddc7b7372d2e1690c37b09f73cbdef
30dce3e5a52a221208b28bcaac51a57a35cd82c6
refs/heads/master
2021-06-03T11:30:54.317056
2020-05-01T13:43:07
2020-05-01T13:43:07
254,337,037
0
0
null
null
null
null
UTF-8
Python
false
false
2,343
#!/home/ayda/Documents/Site/bin/python import sys import getopt import sysconfig valid_opts = ['prefix', 'exec-prefix', 'includes', 'libs', 'cflags', 'ldflags', 'help'] if sys.version_info >= (3, 2): valid_opts.insert(-1, 'extension-suffix') valid_opts.append('abiflags') if sys.version_info >= ...
[ "ayda.f.naderi@gmail.com" ]
ayda.f.naderi@gmail.com
01ccdf77b9751e5d0b06610abd85dfec1a411893
a1615563bb9b124e16f4163f660d677f3224553c
/LI/lib/python3.8/site-packages/astropy/table/connect.py
20778cbcf66bf2fed8dc443a2322609ea7ab97d9
[ "MIT" ]
permissive
honeybhardwaj/Language_Identification
2a247d98095bd56c1194a34a556ddfadf6f001e5
1b74f898be5402b0c1a13debf595736a3f57d7e7
refs/heads/main
2023-04-19T16:22:05.231818
2021-05-15T18:59:45
2021-05-15T18:59:45
351,470,447
5
4
MIT
2021-05-15T18:59:46
2021-03-25T14:42:26
Python
UTF-8
Python
false
false
4,446
py
# Licensed under a 3-clause BSD style license - see LICENSE.rst from astropy.io import registry from .info import serialize_method_as __all__ = ['TableRead', 'TableWrite'] __doctest_skip__ = ['TableRead', 'TableWrite'] class TableRead(registry.UnifiedReadWrite): """Read and parse a data table and return as a T...
[ "honey.bhardwaj.18cse@bmu.edu.in" ]
honey.bhardwaj.18cse@bmu.edu.in
58364a12ae6bcd575ef90327f0483265e2a95353
36da6c5f553d4eb97cc2b6798d8017f313b2705e
/knowledgeCity0610/remoteio/remoteioMgr_old.py
6fcb05c017354391204d8f286d5bfe7a2b081e7c
[]
no_license
MOZIJANE/jingxin
da10476edfc25ffbbe87eb8f127c600ce6ad30ce
01e7e419b15da1b6a7c127d1db1a042a24a12146
refs/heads/master
2023-06-06T05:05:11.953104
2021-06-23T04:27:22
2021-06-23T04:27:22
378,850,323
0
0
null
null
null
null
UTF-8
Python
false
false
5,888
py
# coding=utf-8 # lzxs 2018-8-2 create import sys, os import threading import json import setup if __name__ == '__main__': setup.setCurPath(__file__) import utility # import remoteio.remoteioControl as remoteioControl import modbusapi import log import time import modbus_tk.defines as mdef import lock as lockIm...
[ "1051945562@qq.com" ]
1051945562@qq.com
49dcedfd70d8de54cf3d3d22aef12b1c668a5e73
f908adce7e25824f7daaffddfaacb2a18b3e721b
/feder/cases/migrations/0007_auto_20180325_2244.py
8f103956f10efc94fc5f727235b3590001bc9abe
[ "MIT" ]
permissive
miklobit/feder
7c0cfdbcb0796f8eb66fd67fa4dabddb99370a7c
14a59e181a18af5b625ccdcbd892c3b886a8d97e
refs/heads/master
2023-01-13T23:03:51.266990
2020-11-12T14:31:52
2020-11-12T15:47:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
466
py
# Generated by Django 2.0.3 on 2018-03-25 22:44 import autoslug.fields from django.db import migrations class Migration(migrations.Migration): dependencies = [("cases", "0006_alias")] operations = [ migrations.AlterField( model_name="case", name="slug", field=aut...
[ "naczelnik@jawnosc.tk" ]
naczelnik@jawnosc.tk
d20e0777f3c0ebd5733cb475ecb93204f0455628
37fdc797f0060a67c1e9318032bc7102d4fd9ecd
/spider/beautifulsoup_test/lib/python3.7/site-packages/twisted/web/resource.py
435414f906291ba7f20db17c3fd5e76aab7bd03e
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
Change0224/PycharmProjects
8fa3d23b399c5fb55661a79ca059f3da79847feb
818ba4fd5dd8bcdaacae490ed106ffda868b6ca4
refs/heads/master
2021-02-06T15:37:16.653849
2020-03-03T14:30:44
2020-03-03T14:30:44
243,927,023
0
0
null
null
null
null
UTF-8
Python
false
false
13,630
py
# -*- threading_test-case-name: twisted.web.threading_test.test_web -*- # Copyright (c) Twisted Matrix Laboratories. # See LICENSE for details. """ Implementation of the lowest-level Resource class. """ from __future__ import division, absolute_import __all__ = [ 'IResource', 'getChildForRequest', 'Resource'...
[ "lijj0224@163.com" ]
lijj0224@163.com
d94b677ce6dd43d5692e58c6708009a845427944
0ee08728c17a7e10eea69d7b1608ae8f56a4fa08
/mapy/model/__init__.py
2953060887104a9e04445b638bcf9d527a983dab
[ "BSD-2-Clause" ]
permissive
hossamragheb/mapy
a97f3742ecea5b808b9684b8dfb20c21abe285be
0594a575ff19a6fc12545d636275e4f646282ae7
refs/heads/master
2020-02-26T13:52:08.513806
2014-03-06T09:37:56
2014-03-06T09:37:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,420
py
import time import os import constraints from mapy.constants import CSYSGLOBAL def get_cons(grid, sub_id): if sub_id in grid.cons.keys(): if len(grid.perm_cons) > 0: cons = list(grid.perm_cons | grid.cons[sub_id]) else: cons = list(grid.cons[sub_id]) else: cons =...
[ "saullogiovani@gmail.com" ]
saullogiovani@gmail.com
5fb3a9efc2ea2479de46661403dc3c73482abc60
4e88ad4f7a14d4c1027d711ad19a70d616182cc4
/backend/task/api/v1/urls.py
b3f694c192411f08420616b0dac4bb7edb39b6c1
[]
no_license
crowdbotics-apps/test-24834
11c153b1f3a409a183de97cd822568f471ab2629
33b0b0b6a1793da8d2970b29a6c23152b2e6ec4b
refs/heads/master
2023-03-15T15:47:38.489644
2021-03-05T18:28:00
2021-03-05T18:28:00
344,269,628
0
0
null
null
null
null
UTF-8
Python
false
false
437
py
from django.urls import path, include from rest_framework.routers import DefaultRouter from .viewsets import MessageViewSet, RatingViewSet, TaskViewSet, TaskTransactionViewSet router = DefaultRouter() router.register("tasktransaction", TaskTransactionViewSet) router.register("task", TaskViewSet) router.register("messa...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
52263aca0037892c333edd8b32660fb688936773
78f43f8bd07ae0fc91738a63cd7bbca08ae26066
/leetcode/bfs_dfs/android_unlock_patterns_dfs.py
c71381245a6537441a29e3c941330844a078db20
[]
no_license
hanrick2000/LeetcodePy
2f3a841f696005e8f0bf4cd33fe586f97173731f
b24fb0e7403606127d26f91ff86ddf8d2b071318
refs/heads/master
2022-04-14T01:34:05.044542
2020-04-12T06:11:29
2020-04-12T06:11:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,073
py
from typing import List class Solution: """ consist of minimum of m keys and maximum n keys Runtime: 416 ms, faster than 78.53% """ def numberOfPatterns(self, m: int, n: int) -> int: skip = {(1, 7): 4, (1, 3): 2, (1, 9): 5, (2, 8): 5, (3, 7): 5, (3, 9): 6, (4, 6): 5, (7, 9): 8} res...
[ "dofu@ebay.com" ]
dofu@ebay.com
792f6de6a225614864c5e4c376444da1f50d4038
e5e0d729f082999a9bec142611365b00f7bfc684
/tensorflow/python/estimator/canned/dnn_linear_combined.py
e28499368f1687c4ab4972f04888da66a47b0f5a
[ "Apache-2.0" ]
permissive
NVIDIA/tensorflow
ed6294098c7354dfc9f09631fc5ae22dbc278138
7cbba04a2ee16d21309eefad5be6585183a2d5a9
refs/heads/r1.15.5+nv23.03
2023-08-16T22:25:18.037979
2023-08-03T22:09:23
2023-08-03T22:09:23
263,748,045
763
117
Apache-2.0
2023-07-03T15:45:19
2020-05-13T21:34:32
C++
UTF-8
Python
false
false
1,349
py
# Copyright 2018 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
b4d4ceaff1275f2eb8b9a5807035b802950627f8
9a2413b572c0f89b1f80899a10237657d9393bd6
/sdk/python/pulumi_keycloak/openid/client_optional_scopes.py
a52259f31c6be7621a5ada153c069d32b6118951
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
jaxxstorm/pulumi-keycloak
5c25363ece6af49dad40bd693ce07b1fa0dedd74
2fc7b1060b725a40d2ada745aa0d10130243a0b5
refs/heads/master
2022-10-10T13:11:04.290703
2020-06-05T19:11:19
2020-06-05T19:11:19
270,870,883
0
0
NOASSERTION
2020-06-09T01:08:56
2020-06-09T01:08:55
null
UTF-8
Python
false
false
3,482
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import json import warnings import pulumi import pulumi.runtime from typing import Union from .. import utilities, tables class Client...
[ "public@paulstack.co.uk" ]
public@paulstack.co.uk
2704e6f84e46c139529f9206e7c2166217968b5a
e61e664d95af3b93150cda5b92695be6551d2a7c
/vega/modules/tensformers/pooler.py
89b4fdf3207eb1794f0a6c40a086cfe87d580336
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0", "BSD-3-Clause", "MIT" ]
permissive
huawei-noah/vega
44aaf8bb28b45f707ed6cd4e871ba70fc0c04846
12e37a1991eb6771a2999fe0a46ddda920c47948
refs/heads/master
2023-09-01T20:16:28.746745
2023-02-15T09:36:59
2023-02-15T09:36:59
273,667,533
850
184
NOASSERTION
2023-02-15T09:37:01
2020-06-20T08:20:06
Python
UTF-8
Python
false
false
1,383
py
# -*- coding:utf-8 -*- # Copyright (C) 2020. Huawei Technologies Co., Ltd. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE...
[ "zhangjiajin@huawei.com" ]
zhangjiajin@huawei.com
13d7db7aaca6f9e6a63202ca06de69f98a608bf5
002c14cd622b4890cce1c243065cebe39e2302ec
/CodingInterview2/24_ReverseList/reverse_list.py
7299f43b46d7e486ee7a35d5b50c38ccae52c3da
[ "MIT" ]
permissive
hscspring/The-DataStructure-and-Algorithms
6200eba031eac51b13e320e1fc9f204644933e00
e704a92e091f2fdf5f27ec433e0e516ccc787ebb
refs/heads/master
2022-08-29T18:47:52.378884
2022-08-25T16:22:44
2022-08-25T16:22:44
201,743,910
11
3
MIT
2021-04-20T18:28:47
2019-08-11T09:26:34
Python
UTF-8
Python
false
false
1,502
py
""" 面试题 24:反转链表 题目:定义一个函数,输入一个链表的头结点,反转该链表并输出反转后链表的 头结点。 """ class Node: def __init__(self, val): self.val = val self.next = None def list2link(lst): root = Node(None) ptr = root for i in lst: ptr.next = Node(i) ptr = ptr.next return root.next def link2list(root: ...
[ "haoshaochun@gmail.com" ]
haoshaochun@gmail.com
9d003c26a99d9d7036d763b8aadcaa977689f9bc
fc24e89a0127acd8dac7d9357268e446cea66f59
/app/__init__.py
884fc9c3145181a34af1532607449ac33502e9e9
[]
no_license
JamesMusyoka/Watch-list
10e08d05a9ae5436629fcd8efcb320de8c943821
0070e66de152f77c828fc8eb08e25aa720cceac7
refs/heads/master
2022-12-24T02:04:02.825901
2020-10-06T20:17:55
2020-10-06T20:17:55
168,703,432
0
0
null
null
null
null
UTF-8
Python
false
false
376
py
from flask import Flask from flask_bootstrap import Bootstrap from .config import DevConfig # Initializing application app = Flask(__name__,instance_relative_config = True) # Setting up configuration app.config.from_object(DevConfig) app.config.from_pyfile("config.py") # Initializing Flask Extensions bootstrap = Boo...
[ "jamesmu475@gmail.com" ]
jamesmu475@gmail.com
1a354b4773439ab02e2f24b309f7819104ba2030
795854ea2d73a5da0114694cd0a232d1f4589b5a
/users/migrations/0003_delete_profile.py
7d757713350d36a25ee1abccbecdb21f856c0a81
[]
no_license
JEENUMINI/recipeclassbasedview
fe0ec63af261f53eb765064ab9ec82bb40d5a969
ced076d71e6a7cbe9790270b7efa1cbc4a5390a8
refs/heads/master
2023-02-02T09:52:02.702351
2020-12-24T18:51:59
2020-12-24T18:51:59
323,711,461
0
0
null
null
null
null
UTF-8
Python
false
false
288
py
# Generated by Django 3.1.3 on 2020-12-24 18:45 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('users', '0002_profilemodel'), ] operations = [ migrations.DeleteModel( name='Profile', ), ]
[ "mini13.1994@gmail.com" ]
mini13.1994@gmail.com
65ebf528c07a7855bcfc0136dcc061fdaf19a5fc
fa841ab3564e0e0fd6065201846fb6f305c43719
/installation/utils.py
c4c988bcfdf3973234bec2b36d1090821a0aadb1
[]
no_license
suipnice/Jalon
dc008232baba6c1295cb8a6d6001147e22e03c2a
bc003d10ed15d6ecc5f15fdb3809e9dd53b568bd
refs/heads/master
2021-01-08T05:46:55.757385
2016-06-13T11:58:31
2016-06-13T11:58:31
241,926,067
0
0
null
null
null
null
UTF-8
Python
false
false
3,950
py
from datetime import datetime from DateTime.DateTime import DateTime from dateutil.parser import parse as dateparse from Products.CMFCore.utils import getToolByName from Products.CMFPlone import PloneLocalesMessageFactory as _locales from Products.CMFPlone import PloneMessageFactory as _plone from Products.Ploneboard.i...
[ "bordonad@unice.fr" ]
bordonad@unice.fr
569a3d223c7cb6f6f0df86ab3966d52d3518a40a
159a2e75ff6cc7c0b58741c25636b83410e42bc7
/数据结构与算法/合并排序merge_sort.py
86619f34a4cd6b4984dd3097ff78ee7ec165ac3d
[]
no_license
articuly/python_study
e32ba6827e649773e5ccd953e35635aec92c2c15
b7f23cdf3b74431f245fe30c9d73b4c6910b1067
refs/heads/master
2020-11-24T04:20:35.131925
2020-09-10T08:21:06
2020-09-10T08:21:06
227,961,859
3
1
null
null
null
null
UTF-8
Python
false
false
859
py
# coding:utf-8 import random def merge_sort(lst): if len(lst) <= 1: return lst middle = len(lst) // 2 left_lst = [] right_lst = [] for i in lst[:middle]: if i <= lst[middle]: left_lst.append(i) else: right_lst.append(i) for i in lst[middle + 1:]:...
[ "articuly@gmail.com" ]
articuly@gmail.com
6a44cc3eece0be757f14a78b85ad67a7506e8ed1
e53ed2cc0babec5c52ad4b8691ff32c74a57f019
/prototype/wsgi/django.wsgi
959df017cf49fb95052a0e46d17db55149fdfbb8
[ "MIT", "CC-BY-4.0" ]
permissive
NYPL/gazetteer
bf28f12c53b896acc1f805175106ccb42a71cbe1
708035e8d2299e70a6d3cecce40970242673426c
refs/heads/master
2016-09-05T18:21:15.027147
2015-02-03T19:54:32
2015-02-03T19:54:32
18,560,844
5
1
null
null
null
null
UTF-8
Python
false
false
768
wsgi
# django.wsgi for gazetteer import os import sys import site project_module = 'prototype' root_dir = os.path.normpath(os.path.abspath(os.path.join(os.path.dirname(__file__), '../..'))) #using virtualenv's activate_this.py to reorder sys.path activate_this = os.path.join(root_dir, 'bin', 'activate_this.py') execfile...
[ "b@pad.ma" ]
b@pad.ma
aac399dfe61d229b6de4908ee1f89bcd05344f94
ad4299d34d75f4cf346c08d1971fff0555923b7a
/nodeum_sdk/models/user_configuration.py
9afab5d61a8e220cf16ed32b05c0b63bd8c40d79
[ "MIT" ]
permissive
nodeum-io/nodeum-sdk-python
16ab0b4e6dcff05c4a06829d263d27f3b66a41be
205536491bff507dea7be44af46202c17e7121d9
refs/heads/master
2021-07-13T19:38:24.863671
2020-09-01T09:56:30
2020-09-01T09:56:30
201,425,025
0
0
null
null
null
null
UTF-8
Python
false
false
7,244
py
# coding: utf-8 """ Nodeum API The Nodeum API makes it easy to tap into the digital data mesh that runs across your organisation. Make requests to our API endpoints and we’ll give you everything you need to interconnect your business workflows with your storage. All production API requests are made to: http...
[ "thomas.chandelle@mt-c.com" ]
thomas.chandelle@mt-c.com
f2a7b25271e5666777304dc9ae8ea519aeea7e14
64ed77abebb2ebab52ac0668c1639bfd79ec05d1
/uploads/urls.py
00c90287a6fc76f22881bbffa111853e3ef6032e
[ "MIT" ]
permissive
tiagocordeiro/estudio-abc
731058582ee8d76366b9208687bbb906dcbca680
1f48d785063717ddc3b17b32df342b9eec7dbd32
refs/heads/master
2023-09-01T17:51:12.449297
2021-05-07T00:06:21
2021-05-13T17:16:15
140,905,450
0
0
MIT
2023-09-11T17:53:56
2018-07-14T01:08:22
HTML
UTF-8
Python
false
false
191
py
from django.urls import path from . import views urlpatterns = [ path('upload/', views.model_form_upload, name='uploads'), path('list-files/', views.arquivos, name='list_files'), ]
[ "tiago@mulhergorila.com" ]
tiago@mulhergorila.com
78e7cd590afac746961274a42957f2802356d876
9b2eb0d6b673ac4945f9698c31840b847f790a58
/pkg/apteco_api/models/version_details.py
1d091491980802ad0a985957a993b65b589cc0e1
[ "Apache-2.0" ]
permissive
Apteco/apteco-api
6d21c9f16e58357da9ce64bac52f1d2403b36b7c
e8cf50a9cb01b044897025c74d88c37ad1612d31
refs/heads/master
2023-07-10T23:25:59.000038
2023-07-07T14:52:29
2023-07-07T14:52:29
225,371,142
2
0
null
null
null
null
UTF-8
Python
false
false
3,558
py
# coding: utf-8 """ Apteco API An API to allow access to Apteco Marketing Suite resources # noqa: E501 The version of the OpenAPI document: v2 Contact: support@apteco.com Generated by: https://openapi-generator.tech """ import pprint import re # noqa: F401 import six from apteco_api.configu...
[ "tim.morris@apteco.com" ]
tim.morris@apteco.com
1096fbb40ce7281904a478a2bcb479fc5484ec59
00c6ded41b84008489a126a36657a8dc773626a5
/.history/Sizing_Method/ConstrainsAnalysis/ConstrainsAnalysisPD_20210714165137.py
8c75903609d9661e393de46350cd454da372e89d
[]
no_license
12libao/DEA
85f5f4274edf72c7f030a356bae9c499e3afc2ed
1c6f8109bbc18c4451a50eacad9b4dedd29682bd
refs/heads/master
2023-06-17T02:10:40.184423
2021-07-16T19:05:18
2021-07-16T19:05:18
346,111,158
0
0
null
null
null
null
UTF-8
Python
false
false
12,992
py
# author: Bao Li # # Georgia Institute of Technology # import sys import os sys.path.insert(0, os.getcwd()) import numpy as np import matplotlib.pylab as plt import Sizing_Method.Other.US_Standard_Atmosphere_1976 as atm import Sizing_Method.Aerodynamics.ThrustLapse as thrust_lapse import Sizing_Method.Aer...
[ "libao@gatech.edu" ]
libao@gatech.edu
d0effd8a6732f9e7257665ad5ac55ee41da609ef
951a84f6fafa763ba74dc0ad6847aaf90f76023c
/P3/Solu5062__1167.py
edc270ced15fa3f1fbe7a74d67cd402e0023caf4
[]
no_license
SakuraGo/leetcodepython3
37258531f1994336151f8b5c8aec5139f1ba79f8
8cedddb997f4fb6048b53384ac014d933b6967ac
refs/heads/master
2020-09-27T15:55:28.353433
2020-02-15T12:00:02
2020-02-15T12:00:02
226,550,406
1
1
null
null
null
null
UTF-8
Python
false
false
657
py
from typing import List import heapq class Solution: def connectSticks(self, sticks: List[int]) -> int: if len(sticks) == 1: return sticks[0] sum = 0 heapq.heapify(sticks) while len(sticks)>1: # num0 = heapq.heappop(sticks) num1 = hea...
[ "452681917@qq.com" ]
452681917@qq.com
898ea912e08beebbcf08292bac0f109b453fb21a
90ec137d760e2c5f094e82f0f4456c04f5ac98dc
/tests/plugins/test_tk_functional.py
3e53d24b4694809cf8bac71ad7e84d09c25e7f95
[]
no_license
d0nin380/big-brother-bot
8adc5d35e37e6eb9f6b67e431072e596a24211ef
949aa0b0c82658795eea43474d220bfbaaba861f
refs/heads/master
2021-01-18T04:33:19.093850
2013-03-25T02:34:59
2013-03-25T02:34:59
8,996,188
1
0
null
null
null
null
UTF-8
Python
false
false
11,694
py
# # BigBrotherBot(B3) (www.bigbrotherbot.net) # Copyright (C) 2011 Courgette # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later v...
[ "courgette@bigbrotherbot.net" ]
courgette@bigbrotherbot.net
200149fc700af681ce4032c94b0096ff55e49246
649255f0d9b6d90be3d3f68263680081f893a089
/test/test_remediation_resource.py
aaed0017e9bcee4530f5e6c0b4a5e24bb3c3475d
[]
no_license
khantext/r7ivm3
611e1bbc988d9eb8fbb53294d3ed488130e46818
bd9b25f511f9e7479ea7069d71929700bed09e87
refs/heads/master
2023-05-01T10:01:16.336656
2021-05-03T18:16:12
2021-05-03T18:16:12
237,514,737
0
0
null
null
null
null
UTF-8
Python
false
false
49,252
py
# coding: utf-8 """ InsightVM API # Overview This guide documents the InsightVM Application Programming Interface (API) Version 3. This API supports the Representation State Transfer (REST) design pattern. Unless noted otherwise this API accepts and produces the `application/json` media type. This API uses ...
[ "justinlute@gmail.com" ]
justinlute@gmail.com
d6f91349bb015a11529371ae324702cfc09d2b32
9cd180fc7594eb018c41f0bf0b54548741fd33ba
/sdk/python/pulumi_azure_nextgen/network/v20180201/subnet.py
cf253b4aaead64c95d263d56a3af56d3665154a2
[ "Apache-2.0", "BSD-3-Clause" ]
permissive
MisinformedDNA/pulumi-azure-nextgen
c71971359450d03f13a53645171f621e200fe82d
f0022686b655c2b0744a9f47915aadaa183eed3b
refs/heads/master
2022-12-17T22:27:37.916546
2020-09-28T16:03:59
2020-09-28T16:03:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,024
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 from ... import _utilities, _tables from...
[ "public@paulstack.co.uk" ]
public@paulstack.co.uk
a6f2869dde01b317767cd8871554c14f5a4bf8a1
e0045eec29aab56212c00f9293a21eb3b4b9fe53
/web/controllers/pivot.py
5ad07b67ca58fc54e4afa78116fb11a33198b10d
[]
no_license
tamam001/ALWAFI_P1
a3a9268081b9befc668a5f51c29ce5119434cc21
402ea8687c607fbcb5ba762c2020ebc4ee98e705
refs/heads/master
2020-05-18T08:16:50.583264
2019-04-30T14:43:46
2019-04-30T14:43:46
184,268,686
0
0
null
null
null
null
UTF-8
Python
false
false
3,577
py
# -*- coding: utf-8 -*- # Part of ALWAFI. See LICENSE file for full copyright and licensing details. from collections import deque import json from odoo import http from odoo.http import request from odoo.tools import ustr from odoo.tools.misc import xlwt class TableExporter(http.Controller): @http.route('/web...
[ "50145400+gilbertp7@users.noreply.github.com" ]
50145400+gilbertp7@users.noreply.github.com
9a2c8288066e8396de41672a53e666d43d65a8bf
791da33d91836572ab0ffb9042468586d28527ef
/initiatives/migrations/0017_auto_20200308_1231.py
f32b1c902cb93516f84d32db058c20f3c1fee847
[]
no_license
Akash12740/nirmaan_bits
1de8a9b478e99c09c74f5f0b54d6b3b143a79800
95054e03e56a3a8a60fa3178c8cf4383df4611a2
refs/heads/master
2023-06-15T21:13:51.874238
2021-07-06T13:48:32
2021-07-06T13:48:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
952
py
# Generated by Django 2.2 on 2020-03-08 07:01 import datetime from django.db import migrations, models from django.utils.timezone import utc class Migration(migrations.Migration): dependencies = [ ('initiatives', '0016_auto_20200308_1157'), ] operations = [ migrations.AlterField( ...
[ "f20190029@pilani.bits-pilani.ac.in" ]
f20190029@pilani.bits-pilani.ac.in
b300aeadf3c9fa85e1db1e5b8c130ba3ae345d0d
974c5a4f101d0e6f4dfa5fc2f7c641c9d2bd8184
/sdk/cosmos/azure-cosmos/samples/access_cosmos_with_aad_async.py
a24498996df52805eec1b9b4ef8693957c9656bb
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later" ]
permissive
gaoyp830/azure-sdk-for-python
4816f04c554dcffb7510a6b7044b0c86a2dd32e1
1c66defa502b754abcc9e5afa444ca03c609342f
refs/heads/master
2022-10-20T21:33:44.281041
2022-09-29T17:03:13
2022-09-29T17:03:13
250,355,505
0
0
MIT
2020-03-26T19:42:13
2020-03-26T19:42:12
null
UTF-8
Python
false
false
5,282
py
# ------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See LICENSE.txt in the project root for # license information. # ------------------------------------------------------------------------- from azure....
[ "noreply@github.com" ]
gaoyp830.noreply@github.com
4c9919c44d46a3e676ed56ba016ce0d743f80c2d
bc87bfe38516877dcd2113281a39e2b3fad00229
/site/05.level2_lane_detection/to_inverse_perspective_mapping.py
f6718365efd0f6fe180b4b52b76e17d15a2b50d2
[ "Apache-2.0" ]
permissive
FaBoPlatform/RobotCarAI
7e8f9cf017e5380c1825f7397ee3de933efbc3f2
c89d3330a2beda0f253733d3252b2b035b153b6b
refs/heads/master
2021-07-05T06:49:33.414606
2020-07-07T05:04:31
2020-07-07T05:04:31
91,663,056
10
3
Apache-2.0
2019-04-02T06:54:24
2017-05-18T07:34:19
Python
UTF-8
Python
false
false
2,076
py
# coding: utf-8 # Inverse Perspective Mappingを確認する #%matplotlib inline import cv2 from matplotlib import pyplot as plt import numpy as np import time import os import sys import math from lib.functions import * def main(): FILE_DIR = './test_images' FILENAME = "frame_1" OUTPUT_DIR ='./output' mkdir(OUT...
[ "takanashi@gclue.jp" ]
takanashi@gclue.jp
ac6f275a64a93d3e16e4f17b0470b886fc2e22e6
a8d68074db5c2b2697650ed0281979d3e00cf5a8
/Nyspider/www.tjcn.org/patent.py
6e44e6e48df999043441310950c7f0bf89893d78
[]
no_license
15807857476/bogdata-2
9595609ea2ae5ae0a48c511f911df2498456467e
1934cdfa234b77ca91e349b84688db113ff39e8c
refs/heads/master
2023-05-26T19:10:18.439269
2019-05-24T02:50:41
2019-05-24T02:50:41
188,327,526
3
1
null
2023-05-22T21:37:27
2019-05-24T00:53:28
Python
UTF-8
Python
false
false
3,575
py
import requests from bs4 import BeautifulSoup import time import openpyxl headers = { "Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8", "Accept-Encoding": "gzip, deflate", "Accept-Language": "en-US,en;q=0.5", "Connection": "keep-alive", "User-Agent": "Mozilla/5.0 (X11; U...
[ "2397955090@qq.com" ]
2397955090@qq.com
98580de3e9f491636334ad285359f2716c1b9e93
56b39e46dfd2a54c72728974c13e8ea1f1486f04
/social_rss/tw.py
4d2fd31d786618d4ad0cea8841612dbe744530e6
[]
no_license
vlevit/social-rss
1f74e4c8306fb6fad75bbd84cb258d4e4321610c
65df4947c490f13ed6fe3c059883b00625e2ef04
refs/heads/master
2020-07-02T21:50:32.367241
2018-05-31T19:48:19
2018-05-31T19:48:19
201,677,586
1
0
null
2019-08-10T20:06:21
2019-08-10T20:06:21
null
UTF-8
Python
false
false
6,081
py
"""Twitter module.""" # Note: Twitter HTML-escapes all the data it sends by API. import calendar import json import logging import os import pprint from urllib.parse import urlencode import dateutil.parser from twitter import OAuth, Twitter from social_rss import config from social_rss.render import block as _bloc...
[ "konishchev@gmail.com" ]
konishchev@gmail.com
b8b4235644dd1246cd1a8963b60d826eba72dec9
f138be1e8e382c404cfe1ff6a35e90fc77fa9bff
/ABC/python/101/A.py
f945008b581214b3b341d4b92e8d9345a1f9a3df
[]
no_license
jackfrostwillbeking/atcoder_sample
8547d59ca2f66b34905f292191df6c474010fded
d5b2fe8f628fd56eaf23ee7e92938e8ac1b1fef9
refs/heads/master
2023-07-25T19:16:14.340414
2021-08-26T15:26:08
2021-08-26T15:26:08
273,857,286
0
0
null
null
null
null
UTF-8
Python
false
false
181
py
import sys S = list(input()) if len(S) != 4: sys.exit() result = 0 for I in range(len(S)): if S[I] == '+': result += 1 else: result -= 1 print(result)
[ "jackfrostwillbeking@gmail.com" ]
jackfrostwillbeking@gmail.com
d91be1f01e5ef10aed2a7827f0ddced4fa214eb1
1b46da70028b6fd491df59381884c2acf35b20f4
/parcalar/WordCounter.py
fb29e174a9188d1f9ad7184972a5cd49838f7009
[]
no_license
ybgirgin3/beautifulSoup
28788e07eee7686129da82f529aa00cbf59bf3be
f65ca058c1178d41c1ccb799b9e765c01836bd14
refs/heads/main
2023-05-08T02:23:48.767751
2021-06-05T07:19:19
2021-06-05T07:19:19
374,047,699
1
0
null
null
null
null
UTF-8
Python
false
false
530
py
# bir url al onun içindeki kelimelerin sayılarını bul import requests from pprint import pprint from collections import Counter url = "https://ybgirgin3.github.io/" r = requests.get(url) # ret = r.content kaynak_kodu = r.text #print(ret) kelime_listesi = kaynak_kodu.split() kelime_freq = [] for kelime in kelime_l...
[ "ybgirgin3@gmail.com" ]
ybgirgin3@gmail.com
e13d5d8ca3e21ebe719a683ad5697b738451b274
73770ddb5441f589742dd600545c555dd9922ae8
/training/routes.py
66903cda1404b04fffee6619145157a5ce612665
[]
no_license
annndrey/trainingsite
c200a203c7a5fe832de70e9497a93df3745d63ef
6dce55dc25b2a6f5285a8cfba1fbd7d83dbbe96b
refs/heads/master
2020-03-29T16:11:06.336532
2018-09-24T12:53:55
2018-09-24T12:53:55
150,102,082
0
0
null
null
null
null
UTF-8
Python
false
false
1,222
py
def includeme(config): config.add_static_view('static', 'static', cache_max_age=3600) config.add_route('home', '/') config.add_route('login', '/login') config.add_route('register', '/register') config.add_route('logout', '/logout') config.add_route('dashboard', '/dashboard') config.add_route...
[ "annndrey@trololo.info" ]
annndrey@trololo.info
995ec97bd13cb19bd5a5629c8ea7678f771f6b95
2f98aa7e5bfc2fc5ef25e4d5cfa1d7802e3a7fae
/python/python_25508.py
156459636628d599fa8bca3d345d88685047bbaa
[]
no_license
AK-1121/code_extraction
cc812b6832b112e3ffcc2bb7eb4237fd85c88c01
5297a4a3aab3bb37efa24a89636935da04a1f8b6
refs/heads/master
2020-05-23T08:04:11.789141
2015-10-22T19:19:40
2015-10-22T19:19:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
155
py
# how do you read a pytables table into a pandas dataframe a = tb.open_file("FGBS.h5") table = a.root.quote.z4 c = pd.DataFrame.from_records(table.read())
[ "ubuntu@ip-172-31-7-228.us-west-2.compute.internal" ]
ubuntu@ip-172-31-7-228.us-west-2.compute.internal
69789791fe27d985d5b3a31c5fe6a5288951fcca
9a91dde7f08d081cdf1a9ed1b7357a49a9fec9d0
/erp/migrations/0084_auto_20160414_0411.py
c4aad3fb74f3418a16d69e3daf22fb1efcf65992
[]
no_license
fengxia41103/fashion
a8c812ae0534ed632c1d821b83817d2a830c9fc3
6834dcc523dcb1f1f8de0aa3e8779e6cac2ae126
refs/heads/master
2022-12-17T00:25:48.600435
2019-10-10T18:56:10
2019-10-10T18:56:10
52,611,714
0
0
null
2022-12-07T23:24:17
2016-02-26T14:59:48
Python
UTF-8
Python
false
false
766
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('erp', '0083_auto_20160402_0821'), ] operations = [ migrations.AddField( model_name='attachment', nam...
[ "feng_xia41103@hotmail.com" ]
feng_xia41103@hotmail.com
002f3acca24ddb7e607e9823a55f8c48a276f86e
9bc006e71393c5338bd77bbf12c2946dbfaf2d5b
/delete_node_in_a_linked_list.py
811b0304d54bfae9698560e40708caf6088c4c6b
[]
no_license
aroraakshit/coding_prep
2d883058ef81317fba0c101fac3da37cd6ecd9ca
aac41ddd2ec5f6e5c0f46659696ed5b67769bde2
refs/heads/master
2021-07-09T18:28:26.706576
2020-07-08T03:07:26
2020-07-08T03:07:26
163,704,385
8
7
null
null
null
null
UTF-8
Python
false
false
385
py
# Definition for singly-linked list. # class ListNode: # def __init__(self, x): # self.val = x # self.next = None class Solution: # 44ms def deleteNode(self, node): """ :type node: ListNode :rtype: void Do not return anything, modify node in-place instead. """ ...
[ "akshit.arora@colorado.edu" ]
akshit.arora@colorado.edu
dd1e9efcdbcd7e8dc8920c3a218397a4710e5004
60a831fb3c92a9d2a2b52ff7f5a0f665d4692a24
/IronPythonStubs/release/stubs.min/System/Diagnostics/__init___parts/InstanceData.py
e24830b8c778ede635342a22197cdebfd64feeef
[ "MIT" ]
permissive
shnlmn/Rhino-Grasshopper-Scripts
a9411098c5d1bbc55feb782def565d535b27b709
0e43c3c1d09fb12cdbd86a3c4e2ba49982e0f823
refs/heads/master
2020-04-10T18:59:43.518140
2020-04-08T02:49:07
2020-04-08T02:49:07
161,219,695
11
2
null
null
null
null
UTF-8
Python
false
false
913
py
class InstanceData(object): """ Holds instance data associated with a performance counter sample. InstanceData(instanceName: str,sample: CounterSample) """ @staticmethod def __new__(self,instanceName,sample): """ __new__(cls: type,instanceName: str,sample: CounterSample) """ pass InstanceName=property(la...
[ "magnetscoil@gmail.com" ]
magnetscoil@gmail.com
3d0745040c59f150abe1510398a3005cbf6de8d4
aa54fd5cafc65d18ceac52097237482cec27f674
/planetary_system_stacker/Test_programs/argparser.py
34046c6c3c2e4e620b81b650a89b095fbc9e1b82
[]
no_license
Rolf-Hempel/PlanetarySystemStacker
84f6934e6748177fb1aca20b54392dee5c3f2e3c
304952a8ac8e991e111e3fe2dba95a6ca4304b4e
refs/heads/master
2023-07-20T04:11:06.663774
2023-07-17T15:20:15
2023-07-17T15:20:15
148,365,620
228
34
null
2023-09-01T16:33:05
2018-09-11T19:00:13
Python
UTF-8
Python
false
false
7,639
py
import argparse import sys print("The command was called with " + str(len(sys.argv)) + " arguments") if len(sys.argv) <= 1: print ("Running PSS in interactive mode, starting GUI.") exit() def noise_type(x): x = int(x) if not 0 <= x <= 11: raise argparse.ArgumentTypeError("Noise level must be ...
[ "rolf6419@gmx.de" ]
rolf6419@gmx.de
1c8ab1dfbea664ba773fc25381cb7b6812ce63c6
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_208/ch169_2020_06_22_16_29_40_113842.py
e3756cd075be6633bac009e64f5161497ba54e75
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
567
py
def login_disponivel (login,lista): if login not in lista: return login else: for login1 in range(len(lista)): i = 1 while login in lista: login = login + str(i) if login in lista: login = login [:-1] i+=...
[ "you@example.com" ]
you@example.com
4b69f6d838ad7f89786e05b2358d7efdeee75012
81b20a9c51779c21b779ac0b1c5bf669359521ef
/py_object_detection/tf_api/object_detection/builders/losses_builder.py
6fea798572ee953d00fab78f2b82f3e9215c3c72
[]
no_license
thekindler/py-object-detection
bae1401f025458605c9244f9a763e17a0138d2ec
a8d13c496bab392ef5c8ad91a20fbfa9af1899bb
refs/heads/master
2023-06-23T02:42:08.180311
2021-07-17T18:40:46
2021-07-17T18:40:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,985
py
# Copyright 2017 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
[ "uniquetrij@gmail.com" ]
uniquetrij@gmail.com
be390c51485737ba9e51dee2214009c0164ac720
f9d564f1aa83eca45872dab7fbaa26dd48210d08
/huaweicloud-sdk-frs/huaweicloudsdkfrs/v2/model/face_search_url_req.py
6c39c06bb85452440414a1f7bef28b5bc0a0d6f8
[ "Apache-2.0" ]
permissive
huaweicloud/huaweicloud-sdk-python-v3
cde6d849ce5b1de05ac5ebfd6153f27803837d84
f69344c1dadb79067746ddf9bfde4bddc18d5ecf
refs/heads/master
2023-09-01T19:29:43.013318
2023-08-31T08:28:59
2023-08-31T08:28:59
262,207,814
103
44
NOASSERTION
2023-06-22T14:50:48
2020-05-08T02:28:43
Python
UTF-8
Python
false
false
10,095
py
# coding: utf-8 import six from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization class FaceSearchUrlReq: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The key is attribute n...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
87d375bbe50d0f9268ad0bf0297e41f7421d3d79
15581a76b36eab6062e71d4e5641cdfaf768b697
/LeetCode_30days_challenge/2021/June/Range Sum Query - Mutable.py
706b6b702cad1c3dea2e2ba9c84f32a5268dccbd
[]
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
1,287
py
from math import sqrt, ceil from typing import List class NumArray: def __init__(self, nums: List[int]): self.nums = nums n = len(self.nums) bucket_length = sqrt(n) self.nr_buckets = ceil(n / bucket_length) self.buckets = [0] * int(self.nr_buckets) for i in range(n...
[ "mariandanaila01@gmail.com" ]
mariandanaila01@gmail.com
e24ab3fbb279a18b2d432b73ba6fdaf38bdadad2
4142b8c513d87361da196631f7edd82f11465abb
/python/round710/1506A.py
da3092ef9ff672dc4336fef5ebbc1e8262b7e825
[]
no_license
npkhanhh/codeforces
b52b66780426682ea1a3d72c66aedbe6dc71d7fe
107acd623b0e99ef0a635dfce3e87041347e36df
refs/heads/master
2022-02-08T17:01:01.731524
2022-02-07T10:29:52
2022-02-07T10:29:52
228,027,631
0
0
null
null
null
null
UTF-8
Python
false
false
180
py
from sys import stdin for _ in range(int(stdin.readline())): n, m, x = list(map(int, stdin.readline().split())) c, r = divmod(x-1, n) res = r*m + c + 1 print(res)
[ "npkhanh93@gmail.com" ]
npkhanh93@gmail.com
8079f22284b0b8cc9f38a51756f95e1d311cbfdf
a6f1389c97705724e6b5cc40b0abd56c885b0335
/max_heap.py
413690f975be30b09a839f1f85a748181bfc5814
[]
no_license
iosmichael/interview-prep
c80854a05d5b6d2cfba4321bcea9b68c6649790c
1635890b6f3ed6c132b3bf6e87f752d85d3280e1
refs/heads/master
2020-04-01T18:36:21.316874
2018-11-05T23:44:18
2018-11-05T23:44:18
153,502,988
1
0
null
null
null
null
UTF-8
Python
false
false
2,063
py
''' Coding challenges: build a max heap tree in 10 mins Michael Liu ''' class Heap(object): def __init__(self, data): #starting index is 1 self.data = [0] self.nums = 0 for dat in data: self.insert(dat) def heapify(self, start): if start >= len(self.data): return left_child_val = right_child_val = ...
[ "michaelliu@iresearch.com.cn" ]
michaelliu@iresearch.com.cn
9a97bca1fc8062bacb8ad8f8f52f2f5c5cee640e
181247a52877d8577b3d2bf96ee9b2683c0a2edc
/client-python/producer/hello_world_producer_synchronously_with_call_back.py
cd550a4f958abc82ca358abc9c5a1d29300fd92e
[ "Apache-2.0" ]
permissive
savadev/CCD-Apache-Kafka-Certification-Examination-Notes
65f9470510243a9ba328f0f3d8a2d7b2903ff1d9
2e35fdd0d289bd91ed618c7096d5fad7becfb928
refs/heads/master
2023-03-06T15:15:06.721867
2021-02-18T17:02:25
2021-02-18T17:02:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
681
py
import socket from confluent_kafka import Producer def call_back(err, msg): if err is not None: print("Failed to deliver message: %s: %s" % (str(msg), str(err))) else: print("Message produced: %s" % (str(msg))) print("Topic name : ", msg.topic) print("offset : ", msg.offset) ...
[ "balaji.chopparapu@gmail.com" ]
balaji.chopparapu@gmail.com
8aa95cbddef9faac1d7bf8cbdf032a87e54da017
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/u9mxp7LLxogAjAGDN_0.py
28bbdb4bb9a2a71820a11d6e89ebb428d9d40700
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
1,085
py
""" A numbers **factor length** is simply its total number of factors. For instance: 3: 1, 3 # 3's factor length = 2 8: 1, 2, 4, 8 # 8's factor length = 4 36 : 1, 2, 3, 4, 6, 9, 12, 18, 36 # 36's factor length = 9 Create a function that sorts a list by **factor length** in **desc...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
34fe0b333f0f6e513fed9b4ab3192ffcbd9fcbb6
c97b9ae1bf06757ba61f90905e4d9b9dd6498700
/venv/Lib/site-packages/tensorflow/python/keras/preprocessing/__init__.py
7f6e4c8ba1fbc5e8264cf8618a5d1dc362f84d8d
[]
no_license
Rahulk1p/image-processor
f7ceee2e3f66d10b2889b937cdfd66a118df8b5d
385f172f7444bdbf361901108552a54979318a2d
refs/heads/main
2023-03-27T10:09:46.080935
2021-03-16T13:04:02
2021-03-16T13:04:02
348,115,443
0
0
null
null
null
null
UTF-8
Python
false
false
129
py
version https://git-lfs.github.com/spec/v1 oid sha256:e1ff166defb534fc907c2cf431350e914660a6c2560baffc884c51b97960f923 size 1575
[ "rksc.k1p@gmail.com" ]
rksc.k1p@gmail.com
5921315dca20310def35476bf2346d60bef6dca9
1577e1cf4e89584a125cffb855ca50a9654c6d55
/pyobjc/pyobjc/pyobjc-core-2.5.1/PyObjCTest/test_object_property.py
62ee7101437f9d3b762127e374de2ba01f703e46
[ "MIT" ]
permissive
apple-open-source/macos
a4188b5c2ef113d90281d03cd1b14e5ee52ebffb
2d2b15f13487673de33297e49f00ef94af743a9a
refs/heads/master
2023-08-01T11:03:26.870408
2023-03-27T00:00:00
2023-03-27T00:00:00
180,595,052
124
24
null
2022-12-27T14:54:09
2019-04-10T14:06:23
null
UTF-8
Python
false
false
19,504
py
from __future__ import unicode_literals from PyObjCTools.TestSupport import * import objc import copy from PyObjCTest.fnd import * objc.registerMetaDataForSelector( b"NSObject", b"validateValue:forKey:error:", dict( arguments={ 2: dict(type_modifier=objc._C_INOUT), ...
[ "opensource@apple.com" ]
opensource@apple.com
0b86ad91ba46470f01a77a8261beb4206834c864
2acf76ecc3ad14f5e0390df5db31ef17aecd91cb
/rookbook/server.py
0b0b1e320c2757bd07b2e2b819fe20de52671726
[]
no_license
zielmicha/rookbook
420b2717a5d3d8b7968c41ca8296e37e3ce6b5ec
a54d693a83db88d0f7aabfe58ee01513e531bdb1
refs/heads/master
2020-12-22T15:40:13.499835
2020-02-15T18:03:17
2020-02-15T18:03:17
220,621,406
0
0
null
null
null
null
UTF-8
Python
false
false
5,224
py
import asyncio, http, os, io, glob, websockets, json from lxml import etree from . import book def get_static(content_type, path): with open(path, 'rb') as f: return http.HTTPStatus.OK, [('content-type', content_type)], f.read() static_file_map = { '/static/index.js': ('text/javascript', 'client/dist/...
[ "michal@zielinscy.org.pl" ]
michal@zielinscy.org.pl
64bfcbf215c590084465eb89247384375d351ee7
227c102ed508ad2b1d046340dcb598a7b16e2925
/.history/Forritun/Verkefni með einkunn/Lokaverkefni/lokaverkefni_20201208144201.py
a4d6050c43a57fc0f23f14ca71f758d8cfae2236
[]
no_license
larusarmann/Skoli-haust-2020
298e48f1c20d7ec0c92124018650253f13bcbb2f
3061a0238b74919daccaa74117bc1c32b3436619
refs/heads/master
2023-02-07T09:15:45.493928
2020-12-09T19:46:53
2020-12-09T19:46:53
292,543,006
0
0
null
null
null
null
UTF-8
Python
false
false
8,975
py
""" Show how to do enemies in a platformer Artwork from: http://kenney.nl Tiled available from: http://www.mapeditor.org/ If Python and Arcade are installed, this example can be run from the command line with: python -m arcade.examples.sprite_enemies_in_platformer """ import random import arcade import os SPRITE_SCA...
[ "larus.armann@gmail.com" ]
larus.armann@gmail.com
b6742a605d30a14b56ddc7e9c2752801f04823cb
078de01daa97d413ec91629fc553fd637404d4d1
/manage.py
d12027a6383577ddef48b217627464e888080be8
[]
no_license
crowdbotics-apps/test-user-1975
c6e91cf4b0940630a5906df6e5085a789be5493e
bff22c4c5c825c158f166303aa34d421a3572f97
refs/heads/master
2022-12-11T05:57:00.701120
2019-04-05T17:17:46
2019-04-05T17:17:46
179,724,618
0
0
null
2022-12-08T05:00:06
2019-04-05T17:17:14
Python
UTF-8
Python
false
false
812
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "test_user_1975.settings") try: from django.core.management import execute_from_command_line except ImportError: # The above import may fail for some other reason. Ensure th...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
e9e91d9998570c5d120492877e7906cd0fd27a61
3c52eb24728edf054842c162153c92d2a77dac4a
/Q1/boy.py
aa5090666e6314fc8cb060dc6385b28d393466f7
[]
no_license
PPL-IIITA/ppl-assignment-shyam000
53afeacc94905e46713b710a9d162c364a08f896
8512c533ff3a0e43eb4913494238da10590101fb
refs/heads/master
2021-01-21T05:29:06.520958
2017-02-27T06:18:18
2017-02-27T06:18:18
83,195,331
0
1
null
null
null
null
UTF-8
Python
false
false
717
py
class Boy: def __init__ (self,name,attractiveness,reqAttractiveness,Type,intelligence,budget): self.name = name self.attractiveness = attractiveness self.reqAttractiveness = reqAttractiveness self.Type = Type self.intelligence = intelligence self.status = 'single' self.budget = budget self.gfName = '' ...
[ "noreply@github.com" ]
PPL-IIITA.noreply@github.com
cd4ca89e51565e52a8b8011f9f6f3158fa32f12c
7619aed8a311e2832634379762c373886f4354fb
/trace_floodlight_firewall-StarTopology4-steps200/openflow_replay_config.py
ab27d1ba43e9fb1c43662952cef93ba8dda5abba
[]
no_license
jmiserez/sdnracer-traces
b60f8588277c4dc2dad9fe270c05418c47d229b3
8991eee19103c8ebffd6ffe15d88dd8c25e1aad5
refs/heads/master
2021-01-21T18:21:32.040221
2015-12-15T14:34:46
2015-12-15T14:34:46
39,391,225
2
1
null
null
null
null
UTF-8
Python
false
false
1,095
py
from config.experiment_config_lib import ControllerConfig from sts.topology import * from sts.control_flow.openflow_replayer import OpenFlowReplayer from sts.simulation_state import SimulationConfig from sts.input_traces.input_logger import InputLogger simulation_config = SimulationConfig(controller_configs=[Controll...
[ "jeremie@miserez.org" ]
jeremie@miserez.org
6d6f18f23f0bfa640e44315af45fd2070e03b6ba
d2e80a7f2d93e9a38f37e70e12ff564986e76ede
/Python-cookbook-2nd/cb2_03/cb2_3_3_sol_1.py
427c0a4f54818660fbf6defaa71b60562dcd4147
[]
no_license
mahavivo/Python
ceff3d173948df241b4a1de5249fd1c82637a765
42d2ade2d47917ece0759ad83153baba1119cfa1
refs/heads/master
2020-05-21T10:01:31.076383
2018-02-04T13:35:07
2018-02-04T13:35:07
54,322,949
5
0
null
null
null
null
UTF-8
Python
false
false
183
py
from dateutil import rrule import datetime def weeks_between(start_date, end_date): weeks = rrule.rrule(rrule.WEEKLY, dtstart=start_date, until=end_date) return weeks.count()
[ "mahavivo@126.com" ]
mahavivo@126.com
e249e15b4e945f227280d87a8fd0c22f5f5404fa
402ac64e93d36c2e4ea88f32f50d0b47b84dc16f
/TwitterClone/tweets/admin.py
5e5f25a495a07f134b9f7f0158356e3431f4e728
[]
no_license
akashgiricse/TwitterClone
e430e8eb7bfe7e60f3be5c2cf56138457bcb5028
8fb3edb36aa54aa81737284d0379112f457ce08f
refs/heads/master
2021-04-18T20:44:00.335872
2018-05-16T18:00:00
2018-05-16T18:00:00
126,720,678
0
0
null
null
null
null
UTF-8
Python
false
false
281
py
from django.contrib import admin # Register your models here. from .forms import TweetModelForm from .models import Tweet # admin.site.register(Tweet) class TweetModelAdmin(admin.ModelAdmin): class Meta: model = Tweet admin.site.register(Tweet, TweetModelAdmin)
[ "akashgiricse@gmail.com" ]
akashgiricse@gmail.com
5b7d4eb4a9269304bd4ad33203096ae1001fdfe7
24a291e5eb298b7c2b4f1105d789ac488457b59c
/Python_Pandas_Basics/Pandas07_11_setIndex01_김민교.py
90f6885de1a89b2c7dc304d78b8b0afa18265359
[]
no_license
gmrdns03/Python-Introductory-Course_Minkyo
da3afff502ed44f178d5b3885fbb1b01249ad1de
ef0d4e16aee3dba6a4a10c422ef68b1465745833
refs/heads/main
2023-05-29T16:08:31.814542
2021-06-23T13:32:14
2021-06-23T13:32:14
379,300,979
1
0
null
null
null
null
UTF-8
Python
false
false
698
py
# coding: utf-8 # '''index / set_index / reindex / reset_index''' # In[2]: import pandas as pd exam_data = {'이름':['서준', '우현', '인아'], '수학' : [90,80,70], '영어' : [98,89,95], '음악': [85,95,100], '체육': [100,90,90]} df = pd.DataFrame(exam_data) print(df, '\n') # ...
[ "noreply@github.com" ]
gmrdns03.noreply@github.com
e14231b7aba338f8d2f8abff1314626b808ee9d9
5c724d6e03e4194680c793718a4f72a58ca66bb1
/app/migrations/0151_auto_20181026_0352.py
1a09b05d842c68193239fc5054aad9abce6d0427
[]
no_license
tigrezhito1/bat
26002de4540bb4eac2751a31171adc45687f4293
0ea6b9b85e130a201c21eb6cbf09bc21988d6443
refs/heads/master
2020-05-02T07:13:06.936015
2019-03-26T15:04:17
2019-03-26T15:04:17
177,812,144
0
0
null
null
null
null
UTF-8
Python
false
false
602
py
# -*- coding: utf-8 -*- # Generated by Django 1.10 on 2018-10-26 08:52 from __future__ import unicode_literals import datetime from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('app', '0150_auto_20181026_0346'), ] operations = [ migrations...
[ "you@example.com" ]
you@example.com
5bd58a8d3db1ba70468d22d0b32b71b4eea15847
bad62c2b0dfad33197db55b44efeec0bab405634
/sdk/scvmm/azure-mgmt-scvmm/azure/mgmt/scvmm/aio/_scvmm.py
1d467ccbda4e3a25f2e6b6fd7ba5f5ed89a4ec01
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
test-repo-billy/azure-sdk-for-python
20c5a2486456e02456de17515704cb064ff19833
cece86a8548cb5f575e5419864d631673be0a244
refs/heads/master
2022-10-25T02:28:39.022559
2022-10-18T06:05:46
2022-10-18T06:05:46
182,325,031
0
0
MIT
2019-07-25T22:28:52
2019-04-19T20:59:15
Python
UTF-8
Python
false
false
6,185
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
test-repo-billy.noreply@github.com
6124ae92af04400051ec38844b0db31b8b940b49
80fd6511bce02d3809d4d4fbb5d9879c09f9a535
/ui.py
27e0ab6b55b271bc9ad37f96f54b62344e44e300
[]
no_license
BennyKok/uv-align-distribute
bb5aa210d983bd9f97500dda8a8f05131d72ed5d
1aad31c487612f86bb42bc9d5d399636450b452e
refs/heads/master
2021-01-14T09:49:57.430336
2015-12-07T14:42:22
2015-12-07T14:42:22
66,824,994
0
0
null
2016-08-29T08:18:37
2016-08-29T08:18:37
null
UTF-8
Python
false
false
2,445
py
import bpy ############## # UI ############## class IMAGE_PT_align_distribute(bpy.types.Panel): bl_label = "Align\Distribute" bl_space_type = 'IMAGE_EDITOR' bl_region_type = 'TOOLS' bl_category = "Tools" @classmethod def poll(cls, context): sima = context.space_data ...
[ "none@none" ]
none@none
cf7adeaaa9a4b1b387a721fea95dcb84be70228d
ad1d46b4ec75ef1f00520ff246d0706c6bb7770e
/content/chapters/transform-strings/07.py
b419a5904a6ca3411f46ba81c537f890f9dc5da1
[]
no_license
roberto-arista/PythonForDesigners
036f69bae73095b6f49254255fc473a8ab7ee7bb
1a781ea7c7ee21e9c64771ba3bf5634ad550692c
refs/heads/master
2022-02-24T15:28:04.167558
2021-09-07T10:37:01
2021-09-07T10:37:01
168,937,263
103
37
null
2022-02-11T02:24:01
2019-02-03T11:17:51
Python
UTF-8
Python
false
false
209
py
# we import the euler constant from the math module from math import e # then we print the constant value print(f'euler: {e}') # euler: 2.718281828459045 # note the different amount of digits after the period
[ "arista.rob@gmail.com" ]
arista.rob@gmail.com
dc4e1395791a3fc6b701292c2310211d746f2646
3e5150447a2c90c26354500f1df9660ef35c990b
/module/__file__.py
03884607358b6331a27ed05a5aa5839cc1a8627a
[]
no_license
kilirobbs/python-fiddle
8d6417ebff9d6530e713b6724f8416da86c24c65
9c2f320bd2391433288cd4971c2993f1dd5ff464
refs/heads/master
2016-09-11T03:56:39.808358
2013-03-19T19:26:19
2013-03-19T19:26:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
28
py
import os print os.__file__
[ "cancerhermit@gmail.com" ]
cancerhermit@gmail.com
026ef60b487bbe9b43329cf88076dd339b18923a
e0df2bc703d0d02423ea68cf0b8c8f8d22d5c163
/ScientificComputing/ch18/simple_pendulum_period.py
960c0d2dad9265076e26a94ed236db5197dc8fd7
[]
no_license
socrates77-sh/learn
a5d459cb9847ba3b1bc4f9284ce35d4207d8aa8b
ae50978023f6b098b168b8cca82fba263af444aa
refs/heads/master
2022-12-16T16:53:50.231577
2019-07-13T13:52:42
2019-07-13T13:52:42
168,442,963
0
0
null
2022-12-08T05:18:37
2019-01-31T01:30:06
HTML
UTF-8
Python
false
false
980
py
# -*- coding: utf-8 -*- from math import sin, sqrt import numpy as np from scipy.integrate import odeint from scipy.optimize import fsolve import pylab as pl from scipy.special import ellipk g = 9.8 def pendulum_equations(w, t, l): th, v = w dth = v dv = - g/l * sin(th) return dth, dv def pendulum_...
[ "zhwenrong@sina.com" ]
zhwenrong@sina.com
1f43950d64ce5a38f3b7d2a3519a97f7f52bac9e
1141cd4aeffafe496bb7d8a1399ca7c8445edd6e
/tests/functional/test_yet_another_tests.py
a3516905a07d5a3c2a61ef4aa4ab70e912400f88
[ "Apache-2.0" ]
permissive
amleshkov/adcm
d338c3b7c51e38ffe9a0b2715c85e54bed0c4f46
e1c67e3041437ad9e17dccc6c95c5ac02184eddb
refs/heads/master
2020-11-30T15:35:57.456194
2019-12-16T20:27:06
2019-12-16T20:27:06
230,432,278
0
0
NOASSERTION
2019-12-27T11:30:23
2019-12-27T11:30:22
null
UTF-8
Python
false
false
1,543
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 # distributed under t...
[ "cab@arenadata.io" ]
cab@arenadata.io
62073db4346cff27becfbaff88080a0b6925ce3d
aee5f372ba1b5fbb1c8acf6080c4c86ae195c83f
/cern-stubs/japc/value/spi/value/simple/__init__.pyi
be32c6f95d495c41e384051b0e41832b1f50436a
[]
no_license
rdemaria/pjlsa
25221ae4a4b6a4abed737a41a4cafe7376e8829f
e64589ab2203338db4253fbc05ff5131142dfd5f
refs/heads/master
2022-09-03T13:18:05.290012
2022-08-16T13:45:57
2022-08-16T13:45:57
51,926,309
1
5
null
2019-07-11T11:50:44
2016-02-17T13:56:40
Python
UTF-8
Python
false
false
1,016,905
pyi
import cern.japc.value import cern.japc.value.spi.value.core import java.io import java.lang import typing class AbstractMapSimpleValue(cern.japc.value.spi.value.core.ParameterValueImpl, cern.japc.value.SimpleParameterValue, java.io.Serializable, java.lang.Cloneable): """ public abstract class AbstractMapSim...
[ "michi.hostettler@cern.ch" ]
michi.hostettler@cern.ch
d47af8dbdf1a77b0a251514121261421f9fa680b
7477ca97110f1a173b04029a4ad710cf15627b63
/prep.py
6d57d22a683d4e2e8e918b9ba7bb57661a68c339
[]
no_license
bkj/nbsgd
d51e64ad269c94b85f4b6397de66bc00066126d0
0cf58b28322e8a213ebbc00b6f9e878be092dad5
refs/heads/master
2021-09-19T10:18:36.946661
2018-07-26T17:48:35
2018-07-26T17:48:35
113,483,964
1
0
null
null
null
null
UTF-8
Python
false
false
2,655
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ nbsgd.py """ from __future__ import print_function, division import os import re import sys import string import argparse import numpy as np from scipy.sparse import coo_matrix, csr_matrix from sklearn.feature_extraction.text import CountVectorizer # -- # Help...
[ "bkj.322@gmail.com" ]
bkj.322@gmail.com
4990c1d685cea7f2caba13a5affda77fb5f63742
0bf6ecbdebc7424a8946b29127d55c5bc1e7442e
/wetLab/migrations/0018_auto_20161107_1627.py
8aaf712e6292ab09e4a16ebf06b67cda88e4bf56
[]
no_license
dekkerlab/cLIMS
2351a9c81f3e3ba982e073500a4a5cf2fd38ed51
e76731032a5707027b53746a8f2cc9b01ab7c04e
refs/heads/master
2021-03-27T06:28:49.718401
2017-10-10T19:22:33
2017-10-10T19:22:33
71,837,345
1
0
null
null
null
null
UTF-8
Python
false
false
483
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.7 on 2016-11-07 16:27 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('wetLab', '0017_auto_20161107_1626'), ] operations = [ migrations.RenameField( ...
[ "nanda@ankitas-mbp.ad.umassmed.edu" ]
nanda@ankitas-mbp.ad.umassmed.edu
40550862ebcc5009dd432daf15c8a6c3f4ecfb55
e94c3e02b390b7c37214218083e4c5b2ad622f60
/算法与数据结构/LeetCode/逻辑与数学(Logic&Math)/679.24-点游戏.py
cf02b656c4d06bed7d5028e03cd98f9322998e85
[ "MIT" ]
permissive
nomore-ly/Job
1160e341d9c78c2f99846995893f0289f4e56cf6
ff4fd24447e30e2d17f15696842e214fba7ad61b
refs/heads/master
2023-06-21T00:23:47.594204
2021-07-23T07:29:47
2021-07-23T07:29:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
869
py
# # @lc app=leetcode.cn id=679 lang=python3 # # [679] 24 点游戏 # # @lc code=start class Solution: def judgePoint24(self, nums: List[int]) -> bool: if not nums: return False def helper(nums): if len(nums) == 1: return abs(nums[0]-24) < 1e-6 for i in range(len(nums)): ...
[ "xiaoqi25478@foxmail.com" ]
xiaoqi25478@foxmail.com
b914cb6d66206ebc1109e2bea312dded0e148325
b2d3bd39b2de8bcc3b0f05f4800c2fabf83d3c6a
/examples/pwr_run/checkpointing/nonpc_short/timed_feedback/job45.py
93e06ba131127884d7597be0b085b07ce2087fd4
[ "MIT" ]
permissive
boringlee24/keras_old
3bf7e3ef455dd4262e41248f13c04c071039270e
1e1176c45c4952ba1b9b9e58e9cc4df027ab111d
refs/heads/master
2021-11-21T03:03:13.656700
2021-11-11T21:57:54
2021-11-11T21:57:54
198,494,579
0
0
null
null
null
null
UTF-8
Python
false
false
6,902
py
""" #Trains a ResNet on the CIFAR10 dataset. """ from __future__ import print_function import keras from keras.layers import Dense, Conv2D, BatchNormalization, Activation from keras.layers import AveragePooling2D, Input, Flatten from keras.optimizers import Adam from keras.callbacks import ModelCheckpoint, LearningRa...
[ "baolin.li1994@gmail.com" ]
baolin.li1994@gmail.com
e58c556098cbe8831eb24b68a3f714a0be5f5068
084c3246c44c2e5ae5a0dd38522cb19ac993fe35
/commands/cmd_inpart.py
452945864ed9a09ac3933101280315646afc25b9
[]
no_license
archivest/PythonWars-1996
5bafaca65764ca0d0999b063a5411c53cdbbb0eb
b2b301233d72334cfd9b4404b32a45ac22f0b248
refs/heads/master
2023-02-06T09:53:32.464771
2020-12-30T07:37:03
2020-12-30T07:37:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,137
py
# PythonWars copyright © 2020 by Paul Penner. All rights reserved. In order to # use this codebase you must comply with all licenses. # # Original Diku Mud copyright © 1990, 1991 by Sebastian Hammer, # Michael Seifert, Hans Henrik Stærfeldt, Tom Madsen, and Katja Nyboe. # # Merc Diku Mud improvements copyright © 1...
[ "jindrak@gmail.com" ]
jindrak@gmail.com
d96eb9b3821ed394ea1288a7137a1556bca79eb5
67a217b360c29ac52da4f09b227f89f3265f57ea
/aizynthfinder/interfaces/aizynthapp.py
dc1a2a08caaee71d6dfb0ea615e6d6d687b84866
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
almohajer/aizynthfinder
ab404b9ec7bfb6b505cee7dfe509e7530986ceaa
42f83c9eb9fed3fe80dc966bb7b25ccacf1dc022
refs/heads/master
2023-08-18T08:18:38.960473
2021-09-20T10:56:21
2021-09-20T10:56:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,748
py
""" Module containing classes and routines for the GUI interface """ import tempfile import signal import subprocess import os import argparse import logging from typing import TYPE_CHECKING import ipywidgets as widgets import jupytext from ipywidgets import ( HBox, Label, VBox, Text, Output, C...
[ "samuel.genheden@gmail.com" ]
samuel.genheden@gmail.com
b92702a1b5b0504d907b5fcb0501caa038e81947
d8ea695288010f7496c8661bfc3a7675477dcba0
/django/nmq/nmq/wsgi.py
b82b5a963bfae62f596fb2edf68fab7627d0e166
[]
no_license
dabolau/demo
de9c593dabca26144ef8098c437369492797edd6
212f4c2ec6b49baef0ef5fcdee6f178fa21c5713
refs/heads/master
2021-01-17T16:09:48.381642
2018-10-08T10:12:45
2018-10-08T10:12:45
90,009,236
1
0
null
null
null
null
UTF-8
Python
false
false
383
py
""" WSGI config for nmq project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/2.0/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO_SETTINGS_...
[ "dabolau@qq.com" ]
dabolau@qq.com
24e54a2ea97767851ac33f66c7cf051b025cca23
afd3ff42313acba5cd9c00b987441465606cf24e
/Chapter6-SetsDics/mySets.py
5dcf1cf909c06124ae077db3a199bb96de3a887a
[]
no_license
sweet23/oreillyPython1
a2978d26e620daeacfd6bb6e4bfd9b7042bd808f
81923c6c2597226ef420330a06385a030fb99bfa
refs/heads/master
2020-12-11T03:36:08.799756
2015-10-25T18:20:36
2015-10-25T18:20:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
344
py
''' Created on Jan 31, 2015 @author: jay wilner 3 ''' print ({1, 2, 3, 1, 2, 3, 1, 2, 3, 1}); languages = {"perl", "python", "c++", "ruby"} print(languages); languages.add('php') print(languages) print('is Perl in languages?') print('Perl' in languages) print(" is {'python', 'ruby'} < languages ?") print({'pytho...
[ "info@outofboundscommunications.com" ]
info@outofboundscommunications.com
06a3e9a59e86df3bfc73abeaf8421a85968339c6
5be58a04fbbafa83e366d6919df8673ae6897fca
/services/python_services/app.py
fb226279da5ae1b8f5eef8c1df2433cb5f6b5a3f
[]
no_license
EricSchles/domain-scan-orchestration
37d5b28d7f7f03e9bd46ce539dd98a288a5fccc1
802e473536aec97cb4fce73881277a9d4f82e1f3
refs/heads/master
2021-01-23T07:08:49.940954
2017-09-07T19:09:12
2017-09-07T19:09:12
102,497,544
0
0
null
2017-09-05T15:19:35
2017-09-05T15:19:35
null
UTF-8
Python
false
false
783
py
from flask import Flask, request import json import subprocess from web_design_standards_check import uswds_checker app = Flask(__name__) @app.route("/", methods=["GET","POST"]) def index(): return "whatever" @app.route("/services/web-design-standards", methods=["GET", "POST"]) def services(): domain = req...
[ "ericschles@gmail.com" ]
ericschles@gmail.com
6174b3ff1f5145c9194d22165d25a2ab7a393321
8b2435044491c4f1887bcce6fdd3989b2f55be88
/meddet/data/pipelines/loading.py
c443b22b15fb1775e9a2da44e92638d33240bb79
[]
no_license
JoeeYF/MedDetection
ed169c481ff628a771966ba5e5290f799ac2323b
8c183d8bf632fe6bf54841ac20db19955331f336
refs/heads/main
2023-06-12T00:26:13.537943
2021-07-06T02:32:42
2021-07-06T02:32:42
382,782,483
2
0
null
null
null
null
UTF-8
Python
false
false
10,102
py
import os.path as osp from typing import List import numpy as np import gc from ..registry import PIPELINES from ..utils import ImageIO from .aug_base import Stage, OperationStage @PIPELINES.register_module class LoadPrepare(object): """ Not a class inherited from Stage. It's used to prepare the format of re...
[ "qiao_yuanfang@163.com" ]
qiao_yuanfang@163.com
c40feab46c498feab832014eeb2903169b874151
f07a42f652f46106dee4749277d41c302e2b7406
/Data Set/bug-fixing-1/011eac1d9242903f4e2db5ccccc74d97ad1e7cb9-<update_subscriptions>-bug.py
4e65c2c1b62f17801bf04586a963ae137d2cf185
[]
no_license
wsgan001/PyFPattern
e0fe06341cc5d51b3ad0fe29b84098d140ed54d1
cc347e32745f99c0cd95e79a18ddacc4574d7faa
refs/heads/main
2023-08-25T23:48:26.112133
2021-10-23T14:11:22
2021-10-23T14:11:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
721
py
def update_subscriptions(): try: f = open(options.stream_file_path, 'r') public_streams = simplejson.loads(f.read()) f.close() except: logger.exception('Error reading public streams:') return classes_to_subscribe = set() for stream in public_streams: zep...
[ "dg1732004@smail.nju.edu.cn" ]
dg1732004@smail.nju.edu.cn
f5c955619eac91433d16f01da67789e821c60523
5b37d86af518b90cb848233c7f5f53befc15a5ed
/training_xvector.py
9208238a0b168e05113d2f68ecb2aa7f345b1813
[ "MIT" ]
permissive
taalua/x-vector-pytorch
45fce3606eeb0b9a996179a1e0242d62e8393bcd
7d86f78a1a70974df490ef7d2629de2d71dd1558
refs/heads/master
2023-07-21T04:47:45.596582
2021-08-25T17:58:58
2021-08-25T17:58:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
263
py
from x_vectors.trainer import Trainer, Args args=Args() args.get_args() args.loss_fun='AngleLoss' # args.loss_fun='CrossEntropyLoss' # args.loss_fun='AngularLoss' # args.loss_fun='AdMSoftmaxLoss' args.batch_size=3 trainer=Trainer(args) #train trainer.train(10)
[ "ristohinno@gmail.com" ]
ristohinno@gmail.com
81768dc5d05076cdf91074bb336ea3aa70e5612b
55a4d7ed3ad3bdf89e995eef2705719ecd989f25
/main/law/spark_part/spark_part_limai_and_wenshu_origin/spark_part_main_74_102_laws_doc_judgment2_keshihua.py
d13cf17bf5872bc4381c7c87c4960e72bad18244
[]
no_license
ichoukou/Bigdata
31c1169ca742de5ab8c5671d88198338b79ab901
537d90ad24eff4742689eeaeabe48c6ffd9fae16
refs/heads/master
2020-04-17T04:58:15.532811
2018-12-11T08:56:42
2018-12-11T08:56:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,921
py
# -*- coding: utf-8 -*- """ 对抓取的文书内容进行数据提取 """ import re from pyspark import SparkContext,SparkConf from pyspark.sql import SQLContext from pyspark.sql.types import * import json import pymysql from lxml import etree import HTMLParser import uuid as UUID import time if __name__ == "__main__": # PYSPARK_PYTHON =...
[ "985819225@qq.com" ]
985819225@qq.com
8760e551048186bc85514da491a6a322ad8c4336
e44ff4069f5b559954e7a66685c86b054a70de7a
/Practice Codes/CRDGAME2.py
05854a976dad0fa141abd93f375f7b9e5497db8c
[]
no_license
SayanDutta001/Competitive-Programming-Codes
2912985e037f83bcde8e7fcb0036f1e31fa626df
6dac061c0a4b1c5e82b99ec134e9e77606508e15
refs/heads/master
2023-03-17T04:25:47.507594
2021-03-05T16:23:09
2021-03-05T16:23:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
688
py
from math import pow def trumpcard(n, a): global mod maxi = max(a) turn = 1 cmaxi = a.count(maxi) res = int(pow(2, n))%mod if(cmaxi%2==0): mini = min(cmaxi//2, cmaxi-cmaxi//2) for i in range(mini): turn = int(((turn%mod)*(cmaxi-i)%mod))%mod turn = in...
[ "khanujabhupinder09@gmail.com" ]
khanujabhupinder09@gmail.com
368e1d63d8dc911340339dc2b8dd3dbdb2a87eed
40b42ccf2b6959d6fce74509201781be96f04475
/tools/data/textdet/ic11_converter.py
84f0099bad10425a4b6d5f8639b3a75a5cab47a0
[ "Apache-2.0" ]
permissive
xdxie/WordArt
2f1414d8e4edaa89333353d0b28e5096e1f87263
89bf8a218881b250d0ead7a0287526c69586c92a
refs/heads/main
2023-05-23T02:04:22.185386
2023-03-06T11:51:43
2023-03-06T11:51:43
515,485,694
106
12
null
null
null
null
UTF-8
Python
false
false
4,860
py
# Copyright (c) OpenMMLab. All rights reserved. import argparse import os import os.path as osp import mmcv from PIL import Image from mmocr.utils import convert_annotations def convert_gif(img_path): """Convert the gif image to png format. Args: img_path (str): The path to the gif image """ ...
[ "xudongxie77@gmail.com" ]
xudongxie77@gmail.com
01f5dde1701543d02a96075a4da8cbe8ec20d8aa
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03457/s520758102.py
5d402c644ef6ae585d4175be890b33171eb27682
[]
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
328
py
N = int(input()) t = [list(map(int,input().split())) for _ in range(N)] x,k,y = 0,0,0 for i in range(N): if (abs(t[i][1] - x) + abs(t[i][2] - y) > t[i][0] - k or (abs(t[i][1] - x) + abs(t[i][2] - y))%2 != (t[i][0] - k)%2): print("No") exit() x = t[i][1] y = t[i][2] k = t[i][0] prin...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
a225b24ca6b6653b80377df6786f767eae4f51ab
01017443bb892f4f3a2d1f1fd1e9aa693312865c
/home_connect_api/api/status_events_api.py
88059aed212a5d2f8f4d58147d3a3bf8a71caf0c
[ "MIT" ]
permissive
biberhund/home-connect-api
d088b995e0d7d1b588894059330c91c9a29a87d3
62cca9c0faee9a18210ef7f7a94d2e6dafb97524
refs/heads/master
2023-03-23T03:25:39.040078
2020-04-16T05:14:50
2020-04-16T05:14:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
25,686
py
# coding: utf-8 """ Home Connect API This API provides access to home appliances enabled by Home Connect (https://home-connect.com). Through the API programs can be started and stopped, or home appliances configured and monitored. For instance, you can start a cotton program on a washer and get a notification...
[ "jeroenvdwaal@gmail.com" ]
jeroenvdwaal@gmail.com
2c8b64938a70966035ad6d45f9492406d100d4df
f914e863f4eae0c6474f8b8150a40969fc8e1a86
/pyblast/blast/blast_parser.py
3e1dc1285381ce2dcd7ae4dd27266f19fd316c5e
[ "MIT" ]
permissive
jvrana/pyblast
0ff430f3f1f51d5b2118e1749f74e1dc8ff3b67f
0f7ee7575e97470bfd05a2373d9c68247ec4ead0
refs/heads/master
2021-06-03T23:04:03.734484
2020-09-11T22:46:31
2020-09-11T22:46:31
102,554,910
0
0
MIT
2020-09-11T20:15:01
2017-09-06T02:49:51
Python
UTF-8
Python
false
false
4,153
py
"""blast_parser.""" import re class BlastResultParser: """Parses blast results.""" @staticmethod def str_to_f_to_i(v): try: return int(v) except ValueError: try: return float(v) except ValueError: pass return v ...
[ "justin.vrana@gmail.com" ]
justin.vrana@gmail.com
9d18bc90a2fcc735b729a64bea157f50ea910245
d8fd66452f17be82b964f9a93577dbaa2fa23451
/ProxyPool/crawlers/BaseCrawler.py
5c4d2652c82ed3aec63fcf89a522c66eea07f0e0
[]
no_license
Dawinia/gp_DA_movie
8b7575a54502896f5658538563f3f1f8cfe38772
e0253cc8bc16daf1d32b9c861f7fcb03510937f6
refs/heads/master
2023-05-25T11:49:39.422657
2021-12-14T03:26:35
2021-12-14T03:26:35
233,504,205
3
0
null
2023-05-22T22:44:11
2020-01-13T03:33:48
Python
UTF-8
Python
false
false
868
py
# encoding: utf-8 """ @author: dawinia @time: 2020/4/21 上午1:13 @file: BaseCrawler.py @desc: """ import requests from lxml import etree from ProxyPool.settings import HEADER from retrying import retry class BaseCrawler: urls = [] def __init__(self): self.headers = HEADER @retry(stop_max_attempt_...
[ "dawinialo@163.com" ]
dawinialo@163.com
79fe76b827309eee2f6df01bef6251ef2dbceb1c
2e9e994e17456ed06970dccb55c18dc0cad34756
/atcoder/atc/001/C/C.py
e26a176e3c2dfcaa0b078813657c68e6a49a2f95
[]
no_license
ksomemo/Competitive-programming
a74e86b5e790c6e68e9642ea9e5332440cb264fc
2a12f7de520d9010aea1cd9d61b56df4a3555435
refs/heads/master
2020-12-02T06:46:13.666936
2019-05-27T04:08:01
2019-05-27T04:08:01
96,894,691
0
0
null
null
null
null
UTF-8
Python
false
false
30
py
../c_fast_fourier_transform.py
[ "kntsmy@hotmail.co.jp" ]
kntsmy@hotmail.co.jp
a63cb2d245bffaf953cf535d4278eb62d911c3b9
3c7057226c7bb01cd493cde5742b3979cf030f94
/tests/unit/cli/commands/test_config.py
f0925fbe071a7bfee708495483c65fb2ccab507a
[ "Apache-2.0" ]
permissive
sharadc2001/lmctl
2d047f776d1bbee811801ccc5454a097b1484841
a220a3abeef5fc1f7c0a9410524625c2ff895a0a
refs/heads/master
2023-05-27T06:14:49.425793
2021-04-29T20:08:52
2021-04-29T20:08:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,908
py
from .command_testing import CommandTestCase from lmctl.cli.entry import cli from lmctl.config import ConfigParser, Config from unittest.mock import patch import tempfile import os import shutil test_config = '''\ environments: default: tnco: address: http://example secure: True client_id: Tes...
[ "daniel.vaccaro-senna@ibm.com" ]
daniel.vaccaro-senna@ibm.com
45b0809ced71943fe3f93497370ba9b6d5210ffd
fd63eec60cb9386cae6e786565c64a590a077dfb
/planet_bot/bottieverse/natural_language_processor.py
48efd0639ff567a442241c6f7009bafb790e5c1c
[]
no_license
opemipoVRB/Planet-Bot
a8fd0b848331fdac675ffd38780ad93f9b83a356
ac46aaec3b05021d1185ad3248faebaebbffe471
refs/heads/master
2020-04-01T09:55:39.962697
2019-01-15T21:25:09
2019-01-15T21:25:09
153,095,324
1
0
null
null
null
null
UTF-8
Python
false
false
3,665
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ $$...........................................................................$$ $$..........................$$...
[ "opemipodurodola@gmail.com" ]
opemipodurodola@gmail.com
49928abcbf8e7654bb4b23c2267fac3bd0d1f900
221b2221703f9cddeee7054c5dc426b81a3f53bd
/venv/lib/python3.9/site-packages/pony/orm/tests/pony_test_config.py
e17371c536e0109962126cacbc698ed946a963f4
[]
no_license
ch3p4ll3/Royal-Racing-Bot
37c998a650078e4b5f5c3b34b8c081d52b018944
eab5baf61a9782fbedd42ddf35b7e11cbae9ec22
refs/heads/main
2023-06-26T03:34:58.104068
2021-07-30T17:36:14
2021-07-30T17:36:14
348,089,837
1
0
null
2021-03-20T11:32:46
2021-03-15T18:59:39
Python
UTF-8
Python
false
false
277
py
settings = dict( provider = 'sqlite', filename = ':memory:' # provider='postgres', user='pony', password='pony', host='localhost', port='5432', database='pony', # provider='cockroach', user='root', host='localhost', port=26257, sslmode='disable', database='test' )
[ "slinucs@gmail.com" ]
slinucs@gmail.com
5cba62895872e9e701325e7cebcfc0a76dd17ea5
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/gPJTSqmJ4qQPxRg5a_9.py
589335772716b843414d88eabf4a6847eb7b156a
[]
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
147
py
def func(num): a=(list(str(num))) b = len(a) count = 0 for i in a: count = count + (int(i)-b) return count
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
600e60daec5c92452a456f9c96b11e8c7a7a69b7
58f81a20e6a22d17af626d423c6e1a5b160f784c
/services/core-api/app/api/now_applications/resources/unit_type_resource.py
77fae773c5205096cf655c783f068ce023dbdfa0
[ "Apache-2.0" ]
permissive
cryptobuks1/mds
5e115c641dfa2d1a91097d49de9eeba1890f2b34
6e3f7006aeb5a93f061717e90846b2b0d620d616
refs/heads/master
2022-04-23T21:11:37.124243
2020-04-14T17:55:39
2020-04-14T17:55:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
611
py
from flask_restplus import Resource from app.extensions import api from app.api.utils.access_decorators import requires_role_view_all from app.api.utils.resources_mixins import UserMixin from app.api.now_applications.models.unit_type import UnitType from app.api.now_applications.response_models import UNIT_TYPES cl...
[ "bcgov-csnr-cd@gov.bc.ca" ]
bcgov-csnr-cd@gov.bc.ca
62d171c9fc4af70e1cf3e93ca45a9173eed86f05
05341db2b66b544f1241eac8d459f90505c20e37
/pyqt_distutils/__init__.py
c90267b7f0fee8e8fc5519470f35a931c4fb14a0
[ "MIT" ]
permissive
xushoucai/pyqt_distutils
4c9ee16113fcfa7d8f107933a6f99a4cc1e69554
83c95b6b7a37b612509f3caac98c715f10703724
refs/heads/master
2021-01-12T14:27:46.875463
2016-06-20T06:36:18
2016-06-20T06:36:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
147
py
""" A set of PyQt distutils extensions for build qt ui files in a pythonic way: - build_ui: build qt ui/qrc files """ __version__ = '0.7.2'
[ "colin.duquesnoy@gmail.com" ]
colin.duquesnoy@gmail.com
f60ead416927933ce228c614991c92f42be50ac9
bb2c530d891a95a5e93668ac3aa3bf71472c5909
/PracticeWithFunctionsTestCases/test_coin_flip.py
d3cbac9ebe999bba7903143430fb6fc641e13217
[]
no_license
http403/CS121
3e069805e53f2cda19427100225c3c4103f24f48
210fbd2d47fcdd63b7cb4c7b9ab1c9ef08c24b7a
refs/heads/master
2023-03-06T06:41:33.546807
2020-03-09T21:09:08
2020-03-09T21:09:08
235,925,919
0
0
null
null
null
null
UTF-8
Python
false
false
443
py
# YOU CAN IGNORE THIS FILE ENTIRELY from unittest import TestCase from unittest.mock import patch from functions import coin_flip class TestCoinFlip(TestCase): @patch('functions.print') def test_coin_flip(self, mock_print): coin_flip() try: mock_print.assert_called_with('Coin fli...
[ "unconfigured@null.spigotmc.org" ]
unconfigured@null.spigotmc.org
db60f3e520b11c519fdd8ddbcc98fe1cae1eadea
e82b761f53d6a3ae023ee65a219eea38e66946a0
/All_In_One/addons/learnbgame_cats/tools/armature_manual.py
b52d77641383e51c1d5456b942f85c7c4daf329f
[]
no_license
2434325680/Learnbgame
f3a050c28df588cbb3b14e1067a58221252e2e40
7b796d30dfd22b7706a93e4419ed913d18d29a44
refs/heads/master
2023-08-22T23:59:55.711050
2021-10-17T07:26:07
2021-10-17T07:26:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
46,425
py
# MIT License # Copyright (c) 2017 GiveMeAllYourCats # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the 'Software'), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, mer...
[ "root@localhost.localdomain" ]
root@localhost.localdomain