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
a99c3fb1646b9037c033ba2d9120a22697a5db2f
348d4ddbbef412a4756c01afe06bfee0e5c53048
/setup.py
cfdbf29d98916dbd8105645c019a768730e54634
[]
no_license
SandboxEducation/pibrella
cbf6f61e38db8b995ded0d02cc29557e80c73f6b
19207dac9a860243a52508a4509b85c7dc88a270
refs/heads/master
2020-12-25T07:05:45.853314
2014-05-13T08:14:34
2014-05-13T08:14:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,027
py
""" Copyright (c) 2014 Pimoroni Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, subli...
[ "phil@gadgetoid.com" ]
phil@gadgetoid.com
07afe75284abf196cae225f340b17719c8769683
da1f49aa0ee3cbbd0b7add4a8ee4210c50fc81b7
/demo/modules/highest_factor.py
ec797cefcc7cb8f7bdbb1e0d9c64961dbd1e4ea0
[]
no_license
srikanthpragada/PYTHON_30_AUG_2021
a1cde290072e152440dcd07dce377154a9e3052e
f84f272718b483fbf67ca8f950e6e4f933307e63
refs/heads/master
2023-08-25T14:11:12.826321
2021-10-11T14:14:36
2021-10-11T14:14:36
402,412,522
1
0
null
null
null
null
UTF-8
Python
false
false
168
py
import sys for n in sys.argv[1:]: num = int(n) for i in range(num // 2, 0, -1): if num % i == 0: print(f"{num:5} {i:5}") break
[ "srikanthpragada@gmail.com" ]
srikanthpragada@gmail.com
998649baa7285122e041cdaf4a5dfbe984bc7c86
208560a564cc79822d5c6258ddd16e0e0e26362e
/Chapter-03-Arrays/Zip-It/Zip-It.py
f884730f8bf676fac4bc5219c5e1f4253749a444
[]
no_license
vishnuap/Algorithms
c778984e1afd6b8d160ce868f6ad4408da84855f
fa6c3022616a958bce86f0b1218372d47fe8bf7e
refs/heads/master
2020-09-15T19:00:11.552634
2017-06-25T19:32:11
2017-06-25T19:32:11
67,612,765
0
0
null
null
null
null
UTF-8
Python
false
false
1,449
py
# Chapter-3: Arrays # Zip-It # 1. Create a function that accepts two arrays and combines their values sequentially into a new array at alternating indices starting with the first array. Extra values of either array should be included afterwards. Given [1,2] and [10,20,30], return [1,10,2,20,30] # 2. Combine the two arr...
[ "vishnusak@gmail.com" ]
vishnusak@gmail.com
546338e31f9f5ef23fb15bfe9b728c85cdc7c795
b0a7ea84cb24ca4acfc7a18cfe7012dec8eb12e7
/flask知识点/code_13set_cookies.py
e67e7bb22c6b25327f39804272ca83b739e730a6
[]
no_license
amourbrus/temp
414d1c0d4fc60dd3b7ba8b41773d0f6e653b3085
a6f2ec85f85578923d9809cdc4ab519f0bd7584e
refs/heads/master
2022-12-15T11:50:17.640481
2018-09-03T09:39:02
2018-09-03T09:39:02
147,171,404
0
0
null
2022-11-22T02:36:01
2018-09-03T08:01:00
HTML
UTF-8
Python
false
false
466
py
from flask import Flask, make_response from flask import request app = Flask(__name__) @app.route('/baidu') def set_cookie(): resp = make_response("一个参数, 响应体") # set_cookie 方法, 注意"," resp.set_cookie("name", "itheima", max_age=3600) resp.set_cookie("city", "sz") return resp @app.route('/get_cook...
[ "2338336776@qq.com" ]
2338336776@qq.com
95e4e9d616d2bab6eb768b8a1f08744704c71664
54da94dce244ab659c8036cafcdc1b326fbfe490
/datoteke-s-predavanj/2017-18/06-slovarji/memoizacija.py
b07867c136631991231727ad23ed31f8cfcea25c
[]
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
19,035
py
krst_pri_savici = ''' UVOD Valjhun, sin Kajtimara, boj krvavi že dolgo bije za kršansko vero, z Avreljam Droh se več mu v bran ne stavi; končano njino je in marsiktero življenje, kri po Kranji, Koratani prelita napolnila bi jezero. Gnijo po polji v bojih pokončani trum srčni vajvodi, in njih vojšaki, sam Črtomir se z...
[ "matija@pretnar.info" ]
matija@pretnar.info
f4a4fbaa3c229c1b945a531c68ed5d19f15e3482
0a2f63d03a493494c1bc3a9c3bb5136731d21203
/baekjoon/BJ14891.py
985d30dc40402af21d0c5b66c5139aa95188d445
[]
no_license
hwan1753/algorithm
483e508067519c5b66b6cfc95c9df6c7d1deedb3
4879947d87bb42c99668f6856f25b5e7353be10f
refs/heads/main
2021-06-25T23:11:27.912100
2021-06-08T11:34:29
2021-06-08T11:34:29
228,177,823
0
0
null
null
null
null
UTF-8
Python
false
false
1,533
py
from _collections import deque gear = [0] for num in range(4): gear.append(deque(list(map(int,input())))) K = int(input()) for num in range(K): idx, direction = map(int, input().split()) up_chk = gear[idx][2] down_chk = gear[idx][6] if direction == 1: gear[idx].appendleft(gear[idx].pop()...
[ "john175258@gmail.com" ]
john175258@gmail.com
0787dc63dee0abfd156584d4ae1c56b9e7d0a394
bc17d1b3c8774b80f5e2a703d36dd8407f0513f1
/while-pythn.py
3d1cb80f65f7f4aafbf379e6e56256cd6d170c76
[]
no_license
RAFASANT29/repositorio2
3a2f510bd26eca1c51c4bb2db772112c44307158
7f94765a5e5e0af46da9b6b940e47aff4a1d3efd
refs/heads/master
2023-01-24T03:03:03.771341
2020-12-09T19:46:56
2020-12-09T19:46:56
314,951,586
0
0
null
null
null
null
UTF-8
Python
false
false
202
py
#condicion = False #while condicion: # print("Ejecutando ciclo while") #else: # print("Fin del ciclo while") i = 0 while i<11: print (i) i+=1 else: print ("Fin del ciclo while")
[ "you@example.com" ]
you@example.com
aa118486c502200792a56101f8cebff6717a7c72
d8108289ecc6f482d97768069adaf477b3da2e90
/dm2bn/templatetags/__init__.py
502eafeae6d3f1eb100a4c57e3645cb61d871ed2
[ "MIT" ]
permissive
DCOD-OpenSource/django-messages-to-bootstrap-notify
636cf9380abf104e29c0d11e9e2a2c45204bbfbb
8d9f60dc1111961984bc33f1ec0efc3265c5c7a8
refs/heads/master
2021-03-12T17:58:09.459910
2018-01-07T20:24:48
2018-01-07T20:24:48
91,449,082
11
0
null
null
null
null
UTF-8
Python
false
false
152
py
# -*- coding: utf-8 -*- # django-messages-to-bootstrap-notify # dm2bn/templatetags/__init__.py from __future__ import unicode_literals __all__ = []
[ "vint21h@vint21h.pp.ua" ]
vint21h@vint21h.pp.ua
bde21d72a5efa89fb972a3ed01bdfbb7d63680ee
f2f1d0a0d30eeb2be3b120e94b4bb1cfa40f0ae2
/src/freedreno/isa/encode.py
576fef626acbf7dc485b41f261f8b18b43596479
[]
no_license
q767691701/mesa
fb587af9848cbeab9b68912d4dc42608a6efad4c
17f8e56c96ca6cfafa90c87564441b4fb7fa1b23
refs/heads/master
2023-02-15T21:19:43.891107
2021-01-11T19:40:09
2021-01-14T09:33:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
20,005
py
# # Copyright © 2020 Google, Inc. # # Permission is hereby granted, free of charge, to any person obtaining a # copy of this software and associated documentation files (the "Software"), # to deal in the Software without restriction, including without limitation # the rights to use, copy, modify, merge, publish, distri...
[ "eric+marge@anholt.net" ]
eric+marge@anholt.net
35b12f634cba191d0ab381928121cfddae62b33e
e6bc1f55371786dad70313eb468a3ccf6000edaf
/Extras/person/Correct/30.py
8e0daafd32289827497ce58da380aee9123852fc
[]
no_license
prateksha/Source-Code-Similarity-Measurement
9da92e3b22c372ed6ea54d8b6ab2c5921e8c41c0
fb371b837917794d260a219a1ca09c46a5b15962
refs/heads/master
2023-01-04T07:49:25.138827
2020-10-25T14:43:57
2020-10-25T14:43:57
285,744,963
3
0
null
null
null
null
UTF-8
Python
false
false
2,656
py
class Person: def __init__(self,name,children=[],parent=None): self.name = name self.parent = parent self.children = children def __str__(self): return str(self.name) class Family: def __init__(self,head): self.headOfFamily = head l = [...
[ "pratekshau@gmail.com" ]
pratekshau@gmail.com
fc76cfe46275f3f94f8dc961af0f7037e6387a3a
fb5c5d50d87a6861393d31911b9fae39bdc3cc62
/Scripts/sims4communitylib/enums/statistics_enum.py
f0cfd0d33669a4f8cfed53a010e18f08c44287ca
[ "CC-BY-4.0" ]
permissive
ColonolNutty/Sims4CommunityLibrary
ee26126375f2f59e5567b72f6eb4fe9737a61df3
58e7beb30b9c818b294d35abd2436a0192cd3e82
refs/heads/master
2023-08-31T06:04:09.223005
2023-08-22T19:57:42
2023-08-22T19:57:42
205,197,959
183
38
null
2023-05-28T16:17:53
2019-08-29T15:48:35
Python
UTF-8
Python
false
false
109,189
py
""" The Sims 4 Community Library is licensed under the Creative Commons Attribution 4.0 International public license (CC BY 4.0). https://creativecommons.org/licenses/by/4.0/ https://creativecommons.org/licenses/by/4.0/legalcode Copyright (c) COLONOLNUTTY """ from sims4communitylib.enums.enumtypes.common_int import Co...
[ "ColonolNutty@hotmail.com" ]
ColonolNutty@hotmail.com
3b6bed21bd23013e2a3ab77161d5b920d6fee46c
3996539eae965e8e3cf9bd194123989741825525
/RecoTracker/TkNavigation/TkMSParameterizationBuilder_cfi.py
2980dc5ddc47a0c08e5f2e00832f090adb32c008
[]
no_license
cms-sw/cmssw-cfipython
01990ea8fcb97a57f0b0cc44a8bf5cde59af2d98
25ee4c810103c4a507ca1b949109399a23a524c5
refs/heads/CMSSW_11_2_X
2023-09-01T16:56:00.658845
2022-06-20T22:49:19
2022-06-20T22:49:19
136,184,115
1
0
null
2022-10-19T14:04:01
2018-06-05T13:47:28
Python
UTF-8
Python
false
false
216
py
import FWCore.ParameterSet.Config as cms TkMSParameterizationBuilder = cms.ESProducer('TkMSParameterizationBuilder', navigationSchool = cms.string('SimpleNavigationSchool'), appendToDataLabel = cms.string('') )
[ "cmsbuild@cern.ch" ]
cmsbuild@cern.ch
07d964dbb38c794daa963615521bea03830a97a0
16ac9158781d2616141433df9be4820e6d998e03
/src/eavatar.ava/ava/util/webutils.py
b0baf7b20de88fd3fe101b3a0f0c4e6e06fbbd44
[]
no_license
pombredanne/ava-srv
0a357fb39d0179db0c0d545eb23d707d25b0e446
8acef33502d4bc3089f610f0b4ee33e7a5e779ae
refs/heads/master
2020-12-31T05:56:07.741625
2015-03-06T06:29:56
2015-03-06T06:29:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,203
py
# -*- coding: utf-8 -*- from __future__ import print_function, division, absolute_import import os import logging import hashlib try: from urllib2 import parse_http_list as _parse_list_header except ImportError: # pragma: no cover from urllib.request import parse_http_list as _parse_list_header from ava.util i...
[ "sam@eavatar.com" ]
sam@eavatar.com
65b3098ea6085417d46fa55974ae9eab5e094413
6cea6b8cfeef78b433e296c38ef11f4637609f20
/src/collectors/apcupsd/test/testapcupsd.py
883b8aa1e106f0d158274e1657cc39ea389afd85
[ "MIT" ]
permissive
philipcristiano/Diamond
b659d577ec054c06ab99308d6c2ba3163de84e1a
577270ea820af597458aa5d3325367608cd37845
refs/heads/master
2021-01-18T10:04:59.057835
2012-08-02T04:08:02
2012-08-02T04:08:02
3,140,864
0
0
null
null
null
null
UTF-8
Python
false
false
2,450
py
#!/usr/bin/python ################################################################################ from test import * from diamond.collector import Collector from apcupsd import ApcupsdCollector ################################################################################ class TestApcupsdCollector(CollectorTest...
[ "kormoc@gmail.com" ]
kormoc@gmail.com
1faf82a18833514a3a24d5d5fad4632118b38fe7
32623f1ce5aa39a35445992ad45c8d2a501a7f50
/preprocess.py
33b53fd02cd985d52d40da09d9c572cbf669034f
[ "MIT" ]
permissive
wx-b/BottleneckTransformers
2b7818b83cb9b0e06763f93968b7d9a629ff589e
d20ef0c64fa2208f543abe12a49b426ca6de480e
refs/heads/main
2023-03-22T09:13:46.595768
2021-03-14T20:41:19
2021-03-14T20:41:19
343,278,842
0
0
MIT
2021-03-14T20:41:19
2021-03-01T03:29:32
null
UTF-8
Python
false
false
1,027
py
from torch.utils.data import Dataset, DataLoader from torchvision.datasets import CIFAR10 import torchvision.transforms as transforms def load_data(args): train_transform = transforms.Compose([ transforms.RandomCrop(32, padding=4), transforms.RandomHorizontalFlip(), transforms.ToTensor(), ...
[ "leaderj1001@gmail.com" ]
leaderj1001@gmail.com
90a19220b2719d297d031d80b73a65a211dfc946
1389c5d17fd25457a11bc368c20941709dac8497
/docs/conf.py
40b861a9255b1f466af7169ba06d3f7222e01d1b
[ "BSD-2-Clause" ]
permissive
pythonesque/bbcode
6c975f21795ff5a7e5f73563818ecea26634c3ed
5c1e68200c727cb27c8d1de18c031eb0de4ce556
refs/heads/master
2020-12-28T22:00:56.600070
2014-04-04T17:55:47
2014-04-04T17:55:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,726
py
# -*- coding: utf-8 -*- # # bbcode documentation build configuration file, created by # sphinx-quickstart on Fri May 18 16:41:40 2012. # # This file is execfile()d with the current directory set to its containing dir. # # Note that not all possible configuration values are present in this # autogenerated file. # # All ...
[ "dcwatson@gmail.com" ]
dcwatson@gmail.com
3145fbb3c4b0c50a21621cdc94af08e785ec68a6
48e124e97cc776feb0ad6d17b9ef1dfa24e2e474
/sdk/python/pulumi_azure_native/azurestackhci/extension.py
ccced4469b55f26644dbbc6226c4b4cdf6bf85b0
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
bpkgoud/pulumi-azure-native
0817502630062efbc35134410c4a784b61a4736d
a3215fe1b87fba69294f248017b1591767c2b96c
refs/heads/master
2023-08-29T22:39:49.984212
2021-11-15T12:43:41
2021-11-15T12:43:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
27,131
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 from...
[ "noreply@github.com" ]
bpkgoud.noreply@github.com
abb13111e39cab4082e01f4e4d1303ec7b40253b
3507a2d646ab0f729c717d5239633d70508d32b1
/dh_abstracts/app/abstracts/migrations/0052_auto_20200501_0918.py
60491238fd80ef6486b72d44a883ed74f0509568
[ "MIT" ]
permissive
cmu-lib/dhweb_app
26c22055afc7685153dd588e1ebabceb9cb782f7
8779fb1d6d52a8fb26a955b06b8589d5708589f6
refs/heads/master
2023-04-29T13:28:51.233931
2022-09-02T00:28:54
2022-09-02T00:28:54
146,502,577
4
0
MIT
2023-04-21T21:45:46
2018-08-28T20:23:16
Python
UTF-8
Python
false
false
1,244
py
# Generated by Django 3.0.5 on 2020-05-01 13:18 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('abstracts', '0051_auto_20200430_1659'), ] operations = [ migrations.AlterField( model_name='conference', name='atten...
[ "matthew.d.lincoln@gmail.com" ]
matthew.d.lincoln@gmail.com
e62265732cd122cd0e26ddbe58b913f07c12cd15
4250618abef0d0dcf399f8a2a23e2049c3458ea8
/website/wiki/plugins/attachments/tests/test_commands.py
4c587175b7d92e5e8afe5dbe64aeacbdd9311d9a
[ "MIT" ]
permissive
skbly7/serc
121fd7e88df25213de4d53fce4bd03c2ea448d68
4442298ee05c24c3c6bacffdc56a9f6076397cce
refs/heads/master
2020-12-27T03:18:45.280464
2019-05-16T06:10:31
2019-05-16T19:13:12
53,425,352
0
2
MIT
2019-05-16T19:13:14
2016-03-08T16:00:03
Python
UTF-8
Python
false
false
830
py
from __future__ import unicode_literals from __future__ import absolute_import import os import tempfile from wiki.tests.test_commands import TestManagementCommands from .. import models class TestAttachmentManagementCommands(TestManagementCommands): """ Add some more data """ def setUp(self): ...
[ "skbly7@gmail.com" ]
skbly7@gmail.com
4758ae6cfaaa570ea9da000c7e5425db75ff1082
3883a083eb9c5dd5158b78e6c58521e99a76a4b9
/tests/__init__.py
1a6e448bd6990e0eb68aa9de46d6a723e0eec56a
[ "MIT" ]
permissive
jeyong/yakut
1a4f8b68eb1230b6f31a296d0adcab8ff4e7fa02
58fa441316fd458a88210c10933c2035db4151f7
refs/heads/main
2023-06-20T17:16:14.125961
2021-07-24T18:37:32
2021-07-24T18:37:32
392,887,348
0
0
MIT
2021-08-05T03:09:51
2021-08-05T03:09:51
null
UTF-8
Python
false
false
388
py
# Copyright (c) 2020 UAVCAN Consortium # This software is distributed under the terms of the MIT License. # Author: Pavel Kirienko <pavel@uavcan.org> import pathlib # Please maintain these carefully if you're changing the project's directory structure. TEST_DIR = pathlib.Path(__file__).resolve().parent ROOT_DIR = TES...
[ "pavel.kirienko@gmail.com" ]
pavel.kirienko@gmail.com
ed11b6462e09bf8b151ec3fec9ccf86c077672b6
a8dad8f2cedc5285d4e873f5ddfe4d865fb0bc84
/suffixArrays/differentImplementations.py
f30c7c1956462a02e5f3b184c1cc4aee790b7804
[]
no_license
chrisjdavie/Strings
78cea1afe5a097e67d4a9dfc96a8292b60880b64
58088c70ccd7ba6b12c38debe5d49bcefb6b012c
refs/heads/master
2016-08-11T16:56:37.675848
2016-01-26T20:16:42
2016-01-26T20:16:42
50,377,099
1
0
null
null
null
null
UTF-8
Python
false
false
523
py
''' Created on 24 Jan 2016 @author: chris ''' def main(): txt = 'banana' naiveSuffixArray = buildSuffixArray(txt) print "Naive suffix array construction, O(N**2logN)" for i in naiveSuffixArray: print i # Naive version def buildSuffixArray(txt): def sub...
[ "chris.d@theasi.co" ]
chris.d@theasi.co
4f5bcc2b79acc49ca85c08c8f00327f382be31e5
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/3Ekam9jvbNKHDtx4K_22.py
0fffa75667ed4226e23a6893a14817bcaba98186
[]
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
567
py
""" Write a function that takes coordinates of two points on a two-dimensional plane and returns the length of the line segment connecting those two points. ### Examples line_length([15, 7], [22, 11]) ➞ 8.06 line_length([0, 0], [0, 0]) ➞ 0 line_length([0, 0], [1, 1]) ➞ 1.41 ### Notes * Th...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
8ae42f7932bc4e5b7eab61d43d4d648eb1e7c1c4
4dad1db5f629ddbaa7aa2ebfe84e12ac6ae8ebad
/src/game/logic/mark_drawer.py
9e9649cd9ff43f4247f35c23bfbaa05f30bc8e4e
[]
no_license
stellarlib/centaurus_old
70ea8d6d70a490f932fd3c912c2ef76be684afb4
92d4f51ebeee56f8b4113c59412356870a11d3a5
refs/heads/master
2022-03-18T18:33:38.180192
2019-10-27T13:43:09
2019-10-27T13:43:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,548
py
from stellarlib.hex_tool import hex_to_pixel, Hex from src.icon import IconSprite from src.color import Color class MarkDrawer(object): FLASH_RATE = 6 A = 0 B = 1 def __init__(self, logic): self.logic = logic self._marks = [] self.tick = 0 self.state = MarkDrawer.A ...
[ "marzecsean@gmail.com" ]
marzecsean@gmail.com
7738dd876d2768e08b785880012ea33983ed231f
f09dc121f213f2881df3572288b7ee5b39246d73
/aliyun-python-sdk-dbs/aliyunsdkdbs/request/v20190306/GetDBListFromAgentRequest.py
084cac476f9472a912185cbf76e4a94e6cd9d365
[ "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,188
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
c23fc06fb1457f946585a4c3fff377ef92ceecd6
e8bf00dba3e81081adb37f53a0192bb0ea2ca309
/domains/nav/problems/training/problem1030_SD.py
b0f61017c706d830ef340d72709fcdf39d1b3bb2
[ "BSD-3-Clause" ]
permissive
patras91/rae_release
1e6585ee34fe7dbb117b084df982ca8a8aed6795
0e5faffb7eb732fdb8e3bbf2c6d2f2cbd520aa30
refs/heads/master
2023-07-13T20:09:41.762982
2021-08-11T17:02:58
2021-08-11T17:02:58
394,797,515
2
1
null
null
null
null
UTF-8
Python
false
false
1,152
py
__author__ = 'patras' from domain_springDoor import * from timer import DURATION from state import state, rv DURATION.TIME = { 'unlatch1': 5, 'unlatch2': 5, 'holdDoor': 2, 'passDoor': 3, 'releaseDoor': 2, 'closeDoors': 3, 'move': 7, 'take': 2, 'put': 2, } DURATION.COUNTER = { ...
[ "patras@umd.edu" ]
patras@umd.edu
a992c10446423b11c798c56632e5210390ac738d
fbbe424559f64e9a94116a07eaaa555a01b0a7bb
/Tensorflow/source/numpy/linalg/__init__.py
69445f541db75347d5ec311d5ef8e63665302920
[ "MIT" ]
permissive
ryfeus/lambda-packs
6544adb4dec19b8e71d75c24d8ed789b785b0369
cabf6e4f1970dc14302f87414f170de19944bac2
refs/heads/master
2022-12-07T16:18:52.475504
2022-11-29T13:35:35
2022-11-29T13:35:35
71,386,735
1,283
263
MIT
2022-11-26T05:02:14
2016-10-19T18:22:39
Python
UTF-8
Python
false
false
2,343
py
""" Core Linear Algebra Tools ========================= =============== ========================================================== Linear algebra basics ========================================================================== norm Vector or matrix norm inv Inverse of a square matrix solve ...
[ "master@MacBook-Pro-admin.local" ]
master@MacBook-Pro-admin.local
4df6e4068dd99c143bbb395b712e899f3a153fb8
bb41814dc79f56a082a777e17ed31320db43edf4
/math/0x02-calculus/17-integrate.py
7595123026899449072db63392aba86a9688640a
[]
no_license
garimasinghgryffindor/holbertonschool-machine_learning
a92c619b6ad2d110ed97b33fa9903f5134c96866
856ee36006c2ff656877d592c2ddb7c941d63780
refs/heads/master
2023-08-01T09:58:13.863062
2020-11-28T00:50:55
2020-11-28T00:50:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
842
py
#!/usr/bin/env python3 """ A function that calculates the integral of a polynomial """ def poly_integral(poly, C=0): """ Returns a list of the integral >>> poly = [5, 3, 0, 1] >>> print(poly_integral(poly)) [0, 5, 1.5, 0, 0.25] """ if type(poly) is not list or len(poly) == 0: retur...
[ "kenneth.ca95@gmail.com" ]
kenneth.ca95@gmail.com
bb331262c72c30097426d7e5893c315247f54530
98c6ea9c884152e8340605a706efefbea6170be5
/examples/data/Assignment_6/dkcgeo002/question1.py
3bd13139130a25eac4125612bc0ecbdb925e0152
[]
no_license
MrHamdulay/csc3-capstone
479d659e1dcd28040e83ebd9e3374d0ccc0c6817
6f0fa0fa1555ceb1b0fb33f25e9694e68b6a53d2
refs/heads/master
2021-03-12T21:55:57.781339
2014-09-22T02:22:22
2014-09-22T02:22:22
22,372,174
0
0
null
null
null
null
UTF-8
Python
false
false
434
py
__author__ = 'George de Kock' """ Printing Strings 2014-4-20 """ names = [] length = 0 print("Enter strings (end with DONE):\n") while True: nextstr = input("") if nextstr == "DONE": break names.append(nextstr) if len(nextstr) > length: length = len(nextstr) leng...
[ "jarr2000@gmail.com" ]
jarr2000@gmail.com
1ad967c9e59e5e94e6d9cdfa1c0a4db9408bb056
e10a6d844a286db26ef56469e31dc8488a8c6f0e
/gfsa/datasets/padding_calibration_test.py
94d0cd41593d6cc232526608b425428d33fc1b6b
[ "Apache-2.0", "CC-BY-4.0" ]
permissive
Jimmy-INL/google-research
54ad5551f97977f01297abddbfc8a99a7900b791
5573d9c5822f4e866b6692769963ae819cb3f10d
refs/heads/master
2023-04-07T19:43:54.483068
2023-03-24T16:27:28
2023-03-24T16:32:17
282,682,170
1
0
Apache-2.0
2020-07-26T15:50:32
2020-07-26T15:50:31
null
UTF-8
Python
false
false
2,131
py
# coding=utf-8 # Copyright 2022 The Google Research Authors. # # 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 applicab...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
18caddf54f82ac9aac3080ca35c1274d616ae614
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/380/usersdata/315/99246/submittedfiles/principal.py
f2b8783bc70994b635e87974903692d8ebcb10a2
[]
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
298
py
# -*- coding: utf-8 -*- from minha_bib import * #COMECE AQUI ABAIXO matriz = [[' ',' ',' '],[' ',' ',' '],[' ',' ',' ']] print (matriz[0][0] + '|' + matriz[0][1] + '|' + matriz[0][2]) matriz[0][0] = input('dgite sua jogada: ') print (matriz[0][0] + '|' + matriz[0][1] + '|' + matriz[0][2])
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
2a679ec14fe12c6dfd467cc8df8bb7d1ce4cd3fc
eb420ab51af4001d15058c9f485e9122bd85bb4b
/neural_sp/models/seq2seq/decoders/build.py
348cf0c9c99d52d56024678267aba2003842b91e
[ "Apache-2.0" ]
permissive
many-hats/neural_sp
23cb66b37343e1f36759513cf565bcddf3e1ed19
2f7d0ca0af3097eb2a954ad10aa3682cabe03940
refs/heads/master
2022-10-16T19:04:15.733439
2020-06-12T01:49:11
2020-06-12T01:49:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,045
py
#! /usr/bin/env python3 # -*- coding: utf-8 -*- # Copyright 2019 Kyoto University (Hirofumi Inaguma) # Apache 2.0 (http://www.apache.org/licenses/LICENSE-2.0) """Select an decoder network.""" from __future__ import absolute_import from __future__ import division from __future__ import print_function def build_de...
[ "hiro.mhbc@gmail.com" ]
hiro.mhbc@gmail.com
318f128cabc73c85dd112537c7f032dcf1c59140
4ce5022078c53b3bd75493b12a38237618b52fc8
/prodsys/periodic_tasks/radical/utils/signatures.py
f002aa60d09c31e317a79ba52925ae02ba9f7c01
[]
no_license
virthead/COMPASS-ProdSys
90180e32c3a23d9fd05b252a6f8ded234525a780
6dfaa3e9ca40845282d3004ac61f386db5abdbe9
refs/heads/master
2023-02-23T18:16:02.789709
2022-09-28T09:37:59
2022-09-28T09:37:59
144,685,667
0
1
null
2018-10-13T10:07:42
2018-08-14T07:38:34
Python
UTF-8
Python
false
false
17,629
py
__author__ = "Radical.Utils Development Team (Andre Merzky)" __copyright__ = "Copyright 2013, RADICAL@Rutgers" __license__ = "MIT" import sys # ------------------------------------------------------------------------------ # # Method call parameters/return value type checking decorators. # (c) 2006-2007, Dmitr...
[ "root@vm221-123.jinr.ru" ]
root@vm221-123.jinr.ru
758bfadb9493f24596827c70c9f0bce4d0e0fcf4
051d6dfc9586d97f5a4d03bac2a5404e3bf704bb
/das_decennial/programs/schema/table_building/building_DHCP_HHGQ_tables.py
84aa9537d6fb88c9669928165eae8aabc7d4d2fd
[ "LicenseRef-scancode-unknown-license-reference", "MIT", "LicenseRef-scancode-public-domain", "CC0-1.0" ]
permissive
p-b-j/uscb-das-container-public
93c88cb3608abbeb8d73ae2e8f847e531c2a8550
7f7ba44055da15d13b191180249e656e1bd398c6
refs/heads/main
2023-08-28T20:34:55.291277
2021-10-29T15:40:48
2021-10-29T15:40:48
421,209,836
1
0
null
null
null
null
UTF-8
Python
false
false
16,363
py
import programs.schema.table_building.tablebuilder as tablebuilder from programs.schema.schemas.schemamaker import SchemaMaker from constants import CC import numpy as np import pandas as pd import das_utils import programs.cenrace as cenrace def getTableDict(): tabledict = { ##############################...
[ "pbjones@cs.washington.edu" ]
pbjones@cs.washington.edu
5c16d8cab80a5400357c1b6c71a4c0409f0a1405
64c5341a41e10ea7f19582cbbf3c201d92768b9f
/pc/pc.py
90e125b13c151c4167377dbd1d025ca8a7e4d415
[]
no_license
CLARIN-PL/yalign
6b050b5c330b8eaf7e1e2f9ef83ec88a8abe5164
6da94fbb74e803bea337e0c171c8abff3b17d7ee
refs/heads/master
2023-06-10T18:30:42.112215
2021-06-24T13:07:17
2021-06-24T13:07:17
51,368,327
0
1
null
null
null
null
UTF-8
Python
false
false
8,432
py
# -*- coding: utf-8 -*- """ """ from __future__ import division from __future__ import absolute_import from __future__ import print_function import os import codecs import logging import traceback from time import sleep from threading import Thread from Queue import Queue, Empty from functools import partial from uui...
[ "krzysztof@wolk.pl" ]
krzysztof@wolk.pl
8e59e209dbb4f149c88e33807191c9e8784e98b5
65d321b77b4d0134ce094ed003dee7b62411d01f
/bird_sight.py
6aea975491acf0ce7201d75bd8f1d67db5481191
[]
no_license
rohanpahwa1/hacker_rank_solutions
7bb1d62ed18a51d7f067e4b38b66ae60a517d2d3
5e93b873fe3e9eb317d3740fb566e539683694ff
refs/heads/master
2022-12-25T06:45:09.441465
2020-05-02T16:03:32
2020-05-02T16:03:32
300,040,304
0
0
null
2020-09-30T19:38:14
2020-09-30T19:38:14
null
UTF-8
Python
false
false
335
py
def count(li): maxcount,maxvalue=0,0 for i in li: count=0 for j in range(len(li)): if li[j]==li[i]: count=count+1 if count>maxcount: maxcount=count maxvalue=li[i] return maxvalue n=int(input()) li=list(map(int,input().split())) pri...
[ "coderrohanpahwa@gmail.com" ]
coderrohanpahwa@gmail.com
49affd70ece956f427157791e430534c5d08461b
dc8443495f48e3fa5109ba1d75864ce6b0849405
/django_contactme/models.py
cbef2838d8c1aeeced541fe2fdb34a75390190ae
[ "BSD-2-Clause" ]
permissive
pyghassen/django-contactme
66d40a0749be1874b4b7f0a55131c748c7789822
8bc33fc785c058279a295e386c8335cdfe12fd54
refs/heads/master
2021-01-16T22:03:50.193700
2013-11-12T22:00:24
2013-11-12T22:00:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,588
py
import datetime from django.db import models from django.conf import settings from django.contrib.sites.models import Site from django.utils.translation import ugettext_lazy as _ CONTACTME_MSG_MAX_LEN = getattr(settings,'CONTACTME_MSG_MAX_LEN',3000) class ContactMsg(models.Model): """ An incoming message f...
[ "danirus@eml.cc" ]
danirus@eml.cc
c3e08ff5edb4f871c90cd9ebff9ee144916c75c9
76e62ddbfdfba19c80b37e855a4df67672ef0808
/PINp/2014/Platonova Olga/task_1_21.py
3b9caf7f782c735f4194bc70c6c052dc45a5715a
[ "Apache-2.0" ]
permissive
stasvorosh/pythonintask
9d30f3cd492e89783b7221402375c1ebe4690baa
8169ed26510022fe0d589f4013f11749131957df
refs/heads/master
2021-01-17T16:49:32.778063
2016-10-10T14:08:04
2016-10-10T14:08:04
52,255,539
6
0
null
2016-02-22T07:33:16
2016-02-22T07:33:15
null
UTF-8
Python
false
false
651
py
# Задача 1. Вариант 21. #Напишите программу, которая будет сообщать род деятельности и псевдоним под которым скрывается Михаил Николаевич Румянцев. После вывода информации программа должна дожидаться пока пользователь нажмет Enter для выхода. # Platonova O. A. # 29.05.2016 print("Михаил Николаевич Румянцев более изве...
[ "stasyan.v@gmail.com" ]
stasyan.v@gmail.com
fb88c9ea0fbb2e3c93362900c14ae4ed41e7dea9
48e08c7d5856c35492500b6b01d3d72a31f58ffc
/Leetcode/0151-0200/0169-majority-element.py
5b63395e26a663a73b44602c0dc2ca046b72b0ac
[ "MIT" ]
permissive
MiKueen/Data-Structures-and-Algorithms
8d8730e539e1c112cbd4a51beae9e1c3e2184e63
8788bde5349f326aac0267531f39ac7a2a708ee6
refs/heads/master
2021-07-18T17:16:39.948239
2020-09-13T15:44:37
2020-09-13T15:44:37
212,309,543
0
1
MIT
2019-10-06T16:24:43
2019-10-02T10:19:07
Python
UTF-8
Python
false
false
700
py
''' Author : MiKueen Level : Easy Problem Statement : Majority Element Given an array of size n, find the majority element. The majority element is the element that appears more than ⌊ n/2 ⌋ times. You may assume that the array is non-empty and the majority element always exist in the array. Example 1: Input: [3,2,3]...
[ "keshvi2298@gmail.com" ]
keshvi2298@gmail.com
85c60ef7055f79a086af1c40cb8c1b03a14575d5
8ce3fccd60d8491763729f08158428e39fae0136
/DMVProject/DMVProject/settings.py
f3c6f7881b7011ff79f6502957fe523c6fff4c42
[ "Apache-2.0" ]
permissive
cs-fullstack-master/django-authentication-ic
32c96353ecf043015aaa6e653ec7c36ff1a9f5e5
4147fb2f5dd24cb6c392811a64828127a188fc13
refs/heads/master
2020-04-26T15:01:42.644950
2019-10-10T14:05:18
2019-10-10T14:05:18
173,634,202
0
0
null
null
null
null
UTF-8
Python
false
false
3,114
py
""" Django settings for DMVProject project. Generated by 'django-admin startproject' using Django 2.0.6. For more information on this file, see https://docs.djangoproject.com/en/2.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.0/ref/settings/ """ import os...
[ "kenn+git@code-crew.org" ]
kenn+git@code-crew.org
35e683f41ad6813c8089049a1ed43996d4a831af
bcb36baf1b3d3eceffba383f72c2b5335cc7048d
/python_workout/01_numeric_types/number_guessing_game/!python3 number_guessing_game.py
5a71fe4ef7ae6708c03cf4022442cff218c6c3da
[]
no_license
paulghaddad/solve-it
0aa1400cefab783f4ea757921811668fb2c9477c
e0f72be0fca82bc0378def5499f7158bafff975b
refs/heads/master
2023-01-24T03:46:24.285793
2021-07-06T19:44:29
2021-07-06T19:44:29
200,406,482
2
0
null
2023-01-06T13:53:43
2019-08-03T18:07:53
Python
UTF-8
Python
false
false
152
py
import random def start_game(): number_to_guess = random.randint(0, 100) print(number_to_guess) if __name__ == '__main__': start_game()
[ "paulh16@gmail.com" ]
paulh16@gmail.com
5dae1ba5cb09b8ee35c5387b0f76546e386b0b05
6fa701cdaa0d83caa0d3cbffe39b40e54bf3d386
/google/ads/googleads/v7/googleads-py/google/ads/googleads/v7/errors/types/language_code_error.py
a0726e95c29d72848790feafb7e84459bf2e249d
[ "Apache-2.0" ]
permissive
oltoco/googleapis-gen
bf40cfad61b4217aca07068bd4922a86e3bbd2d5
00ca50bdde80906d6f62314ef4f7630b8cdb6e15
refs/heads/master
2023-07-17T22:11:47.848185
2021-08-29T20:39:47
2021-08-29T20:39:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,172
py
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # 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...
[ "bazel-bot-development[bot]@users.noreply.github.com" ]
bazel-bot-development[bot]@users.noreply.github.com
0ec4af8298774b84cd55dac82affa9063930927e
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/59/usersdata/184/47586/submittedfiles/testes.py
635093611395791b4512a0b9fb6a444cf89aea82
[]
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
119
py
# -*- coding: utf-8 -*- a=float(input('digite a:')) b=float(input('digite b:')) c=a a=b b=c print('%f'%a) print('%f'%b)
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
f765574d5ef69fa926857e9add6363407525bb75
9469358a1efb300fc5fdd8de5c17a288fc780c92
/buildsimlearn/random_forest_training.py
ad6a2c7131dc6ca4b2d0f348b2cbca57093c7cda
[ "MIT" ]
permissive
shihao-zhang/buildsimhub_python_api
3a5fc4668f9385d4b98a8eaa3ab7211aa49bef74
daa0b7d2e92820b6b1cdaa981fb9f0d88c375012
refs/heads/master
2020-03-28T02:40:34.693984
2018-09-08T18:30:48
2018-09-08T18:30:48
147,588,888
0
0
MIT
2018-09-05T22:58:49
2018-09-05T22:58:49
null
UTF-8
Python
false
false
3,193
py
""" AUTHOR: Tracy Ruan Date: 6/30/2018 What is this script for? This script extract results from a parametric study from BuildSimCloud, and then use the results to train a random forest tree model. The training accuracy will be demonstrated by MAE and MAPE, and predicted vs. actual plot will be used for comparison. H...
[ "weilix@alumni.cmu.edu" ]
weilix@alumni.cmu.edu
ca0cec511ce81602c0e5f4261f86caab1a702922
727f1bc2205c88577b419cf0036c029b8c6f7766
/out-bin/py/google/fhir/models/model_test.runfiles/pypi__tensorflow_1_12_0/tensorflow-1.12.0.data/purelib/tensorflow/contrib/distributions/python/ops/mixture_same_family.py
e3eaa455de5fcb3da70980a403fb936e796fc47f
[ "Apache-2.0" ]
permissive
rasalt/fhir
55cf78feed3596a3101b86f9e9bbf6652c6ed4ad
d49883cc4d4986e11ca66058d5a327691e6e048a
refs/heads/master
2020-04-13T00:16:54.050913
2019-01-15T14:22:15
2019-01-15T14:22:15
160,260,223
0
0
Apache-2.0
2018-12-03T22:07:01
2018-12-03T22:07:01
null
UTF-8
Python
false
false
207
py
/home/rkharwar/.cache/bazel/_bazel_rkharwar/c4bcd65252c8f8250f091ba96375f9a5/external/pypi__tensorflow_1_12_0/tensorflow-1.12.0.data/purelib/tensorflow/contrib/distributions/python/ops/mixture_same_family.py
[ "ruchika.kharwar@gmail.com" ]
ruchika.kharwar@gmail.com
db0ac2e92149a5025814976f491f49f3d61f8d5f
e064d46561f3bf02c3036f0487356516974bf9d7
/network/network/migrations/0015_auto_20200823_1521.py
f6122c885d6cb77fce81b830d250bcbd8f873cf2
[]
no_license
Koshir0/CS50-WEB-PROGRAMMING-PROJECTS
4629575f904e60b874988c4f779a607a7fdca338
55cc2bdc199e070930f6c54e0fb82340a2beb7cd
refs/heads/main
2022-12-28T20:43:49.119527
2020-10-18T12:57:01
2020-10-18T12:57:01
305,100,948
0
0
null
null
null
null
UTF-8
Python
false
false
820
py
# Generated by Django 3.0.8 on 2020-08-23 15:21 import datetime from django.conf import settings from django.db import migrations, models from django.utils.timezone import utc class Migration(migrations.Migration): dependencies = [ ('network', '0014_auto_20200823_1047'), ] operations = [ ...
[ "pentiumdesu@protonmail.com" ]
pentiumdesu@protonmail.com
77deee6cde50602dcf0e33c1dc91f65226cc1bf3
d554b1aa8b70fddf81da8988b4aaa43788fede88
/5 - Notebooks e Data/1 - Análises numéricas/Arquivos David/Atualizados/logDicas-master/data/2019-1/226/users/4129/codes/1723_2498.py
5772432d0b8d595d73c444b8b91d7f7b7c35c5aa
[]
no_license
JosephLevinthal/Research-projects
a3bc3ca3b09faad16f5cce5949a2279cf14742ba
60d5fd6eb864a5181f4321e7a992812f3c2139f9
refs/heads/master
2022-07-31T06:43:02.686109
2020-05-23T00:24:26
2020-05-23T00:24:26
266,199,309
1
0
null
null
null
null
UTF-8
Python
false
false
362
py
nA = int(input("Numero de habitantes da cidade A:")) nB = int(input("Numero de habitantes da cidade B:")) pA = float(input("Percentual de crescimento populacional da cidade A:")) pB = float(input("Percentual de crescimento populacional da cidade B:")) pA = pA/100 pB = pB/100 ano = 0 while(nA < nB): nA = nA + nA*pA ...
[ "jvlo@icomp.ufam.edu.br" ]
jvlo@icomp.ufam.edu.br
e809698b9a88e16c651363f39453460aef995741
36163a05070a9cd0daab7c8b18b49053e0365bed
/src/python/WMCore/PilotManager/plugin/PilotLSFSubmitter.py
e55ed316090572e8e85d07d8ff649a6e9087e6e4
[]
no_license
sryufnal/WMCore
472b465d1e9cff8af62b4f4a4587fd3927f82786
9575691bd7383e4de8bcdf83714ec71b3fec6aa7
refs/heads/master
2021-01-16T00:27:39.208561
2011-09-09T20:36:15
2011-09-09T20:36:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,982
py
from ProdAgent.Resources.LSF import LSFConfiguration from PilotManager.CommonUtil import executeCommand #from JobSubmitter.Submitters.BulkSubmitterInterface import makeNonBlocking from JobSubmitter.JSException import JSException import datetime import logging import sys import os class PilotLSFSubmitter: def __i...
[ "metson@4525493e-7705-40b1-a816-d608a930855b" ]
metson@4525493e-7705-40b1-a816-d608a930855b
dc1015e6367d257ea11d3f6a432b4a82fe767f07
5d9932a1abeae21b8201368e5cf465680f106761
/data_ccxt/async_support/flowbtc.py
70d084c97c952aa02c93cfa65c119bff27e2bf5e
[]
no_license
qqzhangjian789/text
5dc6086e55d8a9494b889fa40cc9730da6bf5940
938be0df0a965aacf13cfb942548b8d2a1c7cec0
refs/heads/master
2023-05-04T11:38:47.178345
2021-05-21T17:44:13
2021-05-21T17:44:13
286,178,737
1
6
null
null
null
null
UTF-8
Python
false
false
9,838
py
# -*- coding: utf-8 -*- # PLEASE DO NOT EDIT THIS FILE, IT IS GENERATED AND WILL BE OVERWRITTEN: # https://github.com/ccxt/ccxt/blob/master/CONTRIBUTING.md#how-to-contribute-code from data_ccxt.async_support.base.exchange import Exchange from data_ccxt.base.errors import ExchangeError class flowbtc(Exchange): ...
[ "qqzhangjian000@163.com" ]
qqzhangjian000@163.com
8d17ac9ea8540fcad6f3379d3b9c0310f2bdb19d
ce8728986ab5c180a4be7241bd46e4146b66b1ac
/zinnia/markups.py
737cc66cf3bfb67a13d8d7aaeb2a0e7f80ea139b
[ "BSD-3-Clause" ]
permissive
lpe234/django-blog-zinnia
30f36c30ae61d35c2a16f42e6f88b25d7063aec0
0f531dfcf181d5641c01e83397f92ee415b126e5
refs/heads/develop
2021-01-16T21:31:06.297887
2014-07-19T17:37:07
2014-07-19T17:37:07
22,424,900
0
0
BSD-3-Clause
2019-01-08T09:33:27
2014-07-30T11:31:29
null
UTF-8
Python
false
false
1,777
py
""" Set of" markup" function to transform plain text into HTML for Zinnia. Code originally provided by django.contrib.markups """ import warnings from django.utils.encoding import force_text from django.utils.encoding import force_bytes from zinnia.settings import MARKDOWN_EXTENSIONS from zinnia.settings import RESTR...
[ "fantomas42@gmail.com" ]
fantomas42@gmail.com
c2677e6d4766eab1d542f96853a0a012f069af4d
63f9a0d150cbef75f4e6e8246dc7ecac3f3b6d09
/rllib/agents/marwil/marwil_torch_policy.py
e88e5e312f4039b4500907b4980e817edf215ae8
[ "Apache-2.0", "MIT" ]
permissive
ray-project/maze-raylit
79f0a5af9fe4bdc13a2d5b3919da867ed5439aab
a03cd14a50d87d58effea1d749391af530d7609c
refs/heads/master
2023-01-23T04:23:35.178501
2020-12-04T22:34:14
2020-12-04T22:34:14
318,274,659
5
0
Apache-2.0
2020-12-04T22:34:15
2020-12-03T17:47:58
Python
UTF-8
Python
false
false
3,105
py
import ray from ray.rllib.agents.marwil.marwil_tf_policy import postprocess_advantages from ray.rllib.evaluation.postprocessing import Postprocessing from ray.rllib.policy.sample_batch import SampleBatch from ray.rllib.policy.torch_policy_template import build_torch_policy from ray.rllib.utils.framework import try_impo...
[ "noreply@github.com" ]
ray-project.noreply@github.com
c4b99133f7194d3e60cfcaa9f64b79ad5277495d
175e4e031471e5cdbc9bcaee2df10f5ec44871d3
/LESSON2b/.history/backend/app_20200531173010.py
cdaa1e321b4fafb420cc3fde75d7fe23d045eec6
[]
no_license
hiyacins/uma_study
c329d29a9c3899ab4feca21b9c47ef546b69b0bd
067e66f258a0c89f7670c645dd7c40feee8536fa
refs/heads/master
2023-01-23T06:40:12.435047
2020-06-17T15:59:34
2020-06-17T15:59:34
239,077,726
0
0
null
2023-01-06T08:36:26
2020-02-08T05:56:52
Python
UTF-8
Python
false
false
505
py
from HiyaLib import * import unittest from flask import Flask, render_template # app = FlaskBuilder(__name__) app = Flask(__name__, static_folder='../frontend/dist/static', template_folder='../frontend/dist') @app.route('/', defaults={'path': ''}) @app.route('/<path:path>') def index(path): print('uma...
[ "hiyacins@gmail.com" ]
hiyacins@gmail.com
620c67ea07fdbda3cf97f05c63848e6b05f90c78
8d5c9369b0fb398c5a6078f6cac43ba8d67202fa
/bscan/wordlists.py
c1c5847de914e2cebdb3e2ca36abc28464a9bc57
[ "MIT" ]
permissive
raystyle/bscan
45191c2c0d26fe450c5d95567b83d47dfcb4c692
1edf0c0e738153a294d5cdc1b69d8f167152d5a2
refs/heads/master
2020-04-25T03:15:37.186913
2019-02-09T22:23:44
2019-02-09T22:23:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
978
py
"""Utilities for dealing with wordlists.""" import fnmatch import os from typing import ( List) def find_wordlist(wordlist_dirs: List[str], fnpattern: str) -> None: """Recursively search wordlist directories for a specified filename.""" for wordlist_dir in wordlist_dirs: _walk_iter = os.walk(wor...
[ "welch18@vt.edu" ]
welch18@vt.edu
dc9eda48d4dbd451dc8477cffc39ad159ec15d1c
228412b856b7b79986fd460d62273ca8125f0f85
/xpath_01.py
0bb9832e5071f73bf646e4fd37a3877f197b3a2e
[]
no_license
patronsbai/scrapy_spider
d11820dd0ec77e5994e63140a8be85b3ac528d26
11f10a680f1efcd70f44b5cf28834af0e30aafc7
refs/heads/master
2021-05-03T09:20:03.247818
2018-03-08T15:26:16
2018-03-08T15:26:16
120,574,372
0
0
null
null
null
null
UTF-8
Python
false
false
1,654
py
# -*- coding:utf-8 -*- import urllib from lxml import etree # def getHtml(url): # page = urllib.urlopen(url) # html = page.read() # return html if __name__ == '__main__': # text = getHtml("http://image.baidu.com/search/index?tn=baiduimage&ct=201326592&lm=-1&cl=2&ie=gbk&word=%CD%BC%C6%AC&fr=ala&ala=1...
[ "xwp_fullstack@163.com" ]
xwp_fullstack@163.com
f5537afaebec1f8d42eb3ac71b04ea9338c4537e
321e58ab3e6b2385bb3549aaaefd56a58c2a51e7
/python/atpic/wikinormalizer.py
e9803fe900f77d7005f49f1ab908174411478cda
[]
no_license
alexmadon/atpic_photosharing
7829118d032344bd9a67818cd50e2c27a228d028
9fdddeb78548dadf946b1951aea0d0632e979156
refs/heads/master
2020-06-02T15:00:29.282979
2017-06-12T17:09:52
2017-06-12T17:09:52
94,095,494
0
0
null
null
null
null
UTF-8
Python
false
false
689
py
#!/usr/bin/python3 import atpic.log xx=atpic.log.setmod("INFO","wikinormalizer") """ Used to normalize the wiki URLs we lowercase, replace white spaces with underscore _ This is important as this the key that is used to store/retrieve wiki pages. """ # may need a permanent redirect to avoid ronts indexing several ...
[ "alex.madon@gmail.com" ]
alex.madon@gmail.com
54106cfada1a41fef08a4045ee85c174de023fc8
77be22f90869e8ad91e8ae15009274e97753e832
/Waganono_Rootme1/solution/whirlpool.py
0c31ca1687e78070f4cf7a80fb4e9fa5a111e065
[]
no_license
lwerdna/crackme
a18b0544c51d04b947bf2d6254c71dc4744dd728
9f9e082805a75120c6084cedb4a9306c6ec3818d
refs/heads/master
2023-02-14T04:55:39.275773
2023-01-22T05:50:25
2023-01-22T05:50:25
192,410,237
4
2
null
null
null
null
UTF-8
Python
false
false
51,077
py
# got this from http://www.bjrn.se/code/whirlpoolpy.txt on Feb 14, 2011 ## whirlpool.py - pure Python implementation of the Whirlpool algorithm. ## Bjorn Edstrom <be@bjrn.se> 16 december 2007. ## ## Copyrights ## ========== ## ## This code is based on the reference implementation by ## Paulo S.L.M. Barreto an...
[ "andrew@vector35.com" ]
andrew@vector35.com
446e8f9818661b75d0c7decdc55074d7a962adc8
f6d2385cd8eb896e17c5e72ac75abe6a0ba28659
/templates/inscription/yahou/page1.py
d43be9d9354f71aca9b5023866ebc03b47f17270
[]
no_license
pastrouveedespeudo/greffegreffe
fba94c9169c3d021714eabf1a45812ca762cfe9d
8ebe4d555246aed26e705671014a260a23148a6a
refs/heads/master
2020-06-12T14:50:17.590418
2019-07-04T14:01:25
2019-07-04T14:01:25
194,335,511
0
0
null
null
null
null
UTF-8
Python
false
false
126,710
py
<!DOCTYPE html> <html class="no-js"> <head> <title>Yahoo - connexion</title> <meta http-equav="Content-Type" content="text/html;charset=utf-8"> <meta name="google-site-verification" content="yOTFyUBPTnXtuk2cPpqfv7ZvZ960JgqsV8FomN3n7Y0" /> <meta name="referrer" content="origin-when-cross-origin">...
[ "noreply@github.com" ]
pastrouveedespeudo.noreply@github.com
2d827067c5d44eba2e45120fcdc263601e7d6cb4
a6ea3ddd3592f83b6d4b38d9e803d8ad387975d1
/data/vf_scripts/exception_states/ed_map_template_dc.py
4b997fa4eccbb3001063a524cd5d3ca2ad841d19
[]
no_license
CTCL/bip-data
80a9cbde0057e551fe8b85091f2be891b669a803
39cf25545937db19daf17aeb3f0b86fb202fe74c
refs/heads/new_nat
2020-12-25T10:36:22.906223
2013-02-06T03:00:50
2013-02-06T03:00:50
50,055,835
1
0
null
2016-01-20T19:48:51
2016-01-20T19:48:51
null
UTF-8
Python
false
false
9,053
py
import re import csv import data.state_specific as ss from data.reformat import _saintrep ss = reload(ss) districts = ss.districts from collections import defaultdict d_dict = defaultdict(lambda:[],districts.__dict__) judicial_district = d_dict['judicial_district'] county_council = d_dict['county_council'] congression...
[ "gaertner@gaertner-lap.(none)" ]
gaertner@gaertner-lap.(none)
701e7a3fe9b862f9be8c29065d8556106cae9844
c748470949427eaf78d752bbae002c5bc143184f
/hop.py
effdb488859cb1587aa7cb041e2841089c35ebfb
[]
no_license
SleepyBag/MNSC
6ea7ec1ced5407e2309582d46113a8da9473ac0e
efc5ec9ddf2faf743585aed1b9371f1af8ee24df
refs/heads/master
2020-04-07T16:31:57.422796
2019-01-09T12:40:20
2019-01-09T12:40:20
158,532,648
0
0
null
null
null
null
UTF-8
Python
false
false
1,114
py
from collections import Iterable import tensorflow as tf from attention import attention def hop(scope, last, sentence, sentence_bkg, bkg_iter, bkg_fix, doc_len, real_max_len, convert_flag, biases_initializer=tf.initializers.zeros(), weights_initializer=tf.contrib.layers.xavier_initializer()):...
[ "xueqianming200@gmail.com" ]
xueqianming200@gmail.com
a6775841419a255001caecc42445f5e118342dac
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/synthetic/tree-big-7135.py
915fe68f0d07c3a0f865155958318f916a634ba9
[]
no_license
Virtlink/ccbench-chocopy
c3f7f6af6349aff6503196f727ef89f210a1eac8
c7efae43bf32696ee2b2ee781bdfe4f7730dec3f
refs/heads/main
2023-04-07T15:07:12.464038
2022-02-03T15:42:39
2022-02-03T15:42:39
451,969,776
0
0
null
null
null
null
UTF-8
Python
false
false
23,287
py
# Binary-search trees class TreeNode(object): value:int = 0 left:"TreeNode" = None right:"TreeNode" = None def insert(self:"TreeNode", x:int) -> bool: if x < self.value: if self.left is None: self.left = makeNode(x) return True else: ...
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
a3882d61d3ed8504f857b3e9435321d0d53a28b0
549270020f6c8724e2ef1b12e38d11b025579f8d
/recipes/gcc/all/test_v1_package/conanfile.py
a9e585e6ddfd44fc0a19029ef3fea80cb4a37849
[ "MIT" ]
permissive
conan-io/conan-center-index
1bcec065ccd65aa38b1fed93fbd94d9d5fe6bc43
3b17e69bb4e5601a850b6e006e44775e690bac33
refs/heads/master
2023-08-31T11:34:45.403978
2023-08-31T11:13:23
2023-08-31T11:13:23
204,671,232
844
1,820
MIT
2023-09-14T21:22:42
2019-08-27T09:43:58
Python
UTF-8
Python
false
false
1,498
py
from conans import ConanFile, tools import os class TestPackageConan(ConanFile): settings = "os", "compiler", "build_type", "arch" generators = "cmake" def test(self): def chmod_plus_x(name): if os.name == 'posix': os.chmod(name, os.stat(name).st_mode | 0o111) ...
[ "noreply@github.com" ]
conan-io.noreply@github.com
9555111af343a9c31ab6d5bf143cfb3904d4ca63
3e36dc2c0455f0332e45b634b35af745550c0709
/mv.py
efffb2d694411511f2c57d09aa76b1f6b2a739af
[]
no_license
houking-can/GenDataset
a42388129fb7a5b1c176e77dd953f5fa27e77e7a
fb2e9d841ba0f3288e5152c97e250f709cd4f785
refs/heads/master
2020-05-05T09:48:47.334267
2019-04-26T15:18:12
2019-04-26T15:18:12
179,918,151
2
0
null
null
null
null
UTF-8
Python
false
false
674
py
import os import json import shutil def iter_files(path): """Walk through all files located under a root path.""" if os.path.isfile(path): yield path elif os.path.isdir(path): for dirpath, _, filenames in os.walk(path): for f in filenames: yield os.path.join(dirpa...
[ "1240723224@qq.com" ]
1240723224@qq.com
ab86dcc71428914d31a13d2dfe2c86a9348a0698
0b932d446d88013fadb8c4e0dd3ca3cc4a1a5de3
/localizacion/inte_project_invoice_customer/__manifest__.py
ea12d16a6fdd1e47a96e0e519ff1a6c105fe846b
[]
no_license
grudiver/biumak
cd8e7477bba3389b2144fa6d35cd89d2eaf0210f
65705737f16da087b6cb01f725236e7bc9c59c86
refs/heads/master
2022-04-11T13:17:33.347975
2020-03-24T17:55:24
2020-03-24T17:55:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,041
py
# coding: utf-8 ############################################################################## # # Copyright (c) 2016 Tecnología y Servicios AMN C.A. (http://tysamnca.com/) All Rights Reserved. # <contacto@tysamnca.com> # <Teléfono: +58(212) 237.77.53> # Caracas, Venezuela. # # Colaborador: Nathaly Partidas <npartidas@...
[ "soporte.innova2129@gmail.com" ]
soporte.innova2129@gmail.com
d89f82d820f1cc4b67d71786f096d13e1a94b79b
781e2692049e87a4256320c76e82a19be257a05d
/all_data/exercism_data/python/bob/709325c321084d4eaaf1af19e2ad7def.py
7b890ef29abe7f0328ad713610bbb0e2515af7be
[]
no_license
itsolutionscorp/AutoStyle-Clustering
54bde86fe6dbad35b568b38cfcb14c5ffaab51b0
be0e2f635a7558f56c61bc0b36c6146b01d1e6e6
refs/heads/master
2020-12-11T07:27:19.291038
2016-03-16T03:18:00
2016-03-16T03:18:42
59,454,921
4
0
null
2016-05-23T05:40:56
2016-05-23T05:40:56
null
UTF-8
Python
false
false
430
py
def hey(sentence): if does_not_say_anything(sentence): return 'Fine. Be that way!' if is_a_question(sentence): return 'Sure.' if is_yelling(sentence): return 'Woah, chill out!' return 'Whatever.' def does_not_say_anything(sentence): return sentence.strip() == "" def is_a_question(sentence): return sentenc...
[ "rrc@berkeley.edu" ]
rrc@berkeley.edu
169c4f2428f3f0da8b7f25fe1ec67182b0450f3f
2c1429a1bd2d0477fd88119d4d778fc68c82adcf
/python/DeepSeaVectorDraw/FileOrData.py
4904e9ca72ee944f59623cc411736a2f59cb76e0
[ "Apache-2.0" ]
permissive
akb825/DeepSea
d7ac54f6d8243d43d6ea538159f3067ab7e79880
5a909b4f51717bc59682e51ad6aa598a25a9b965
refs/heads/master
2023-08-31T23:45:19.533393
2023-08-29T07:30:36
2023-08-29T07:30:43
142,716,767
10
2
null
null
null
null
UTF-8
Python
false
false
179
py
# automatically generated by the FlatBuffers compiler, do not modify # namespace: DeepSeaVectorDraw class FileOrData(object): NONE = 0 FileReference = 1 RawData = 2
[ "akb825@gmail.com" ]
akb825@gmail.com
0ceba6b5029e47ade2b015ff5da2adf23055db90
f095bf04dd1cb62319f77c096714b72efb059689
/tests/unit/test_clang.py
e5f2780657594000c5d9c51077ad01493e67ef83
[ "NCSA" ]
permissive
blep/Beye
b9d648039d78a9cb18b9badb717cdbc20849f0f1
dd4cd865ed5ea51527a4d302422e4f5d68e1954a
refs/heads/master
2021-01-18T13:18:20.381010
2015-06-15T13:46:14
2015-06-15T13:46:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
993
py
# -*- coding: utf-8 -*- # The LLVM Compiler Infrastructure # # This file is distributed under the University of Illinois Open Source # License. See LICENSE.TXT for details. import libscanbuild.clang as sut from . import fixtures import os.path class GetClangArgumentsTest(fixtures.TestCase): ...
[ "rizsotto@gmail.com" ]
rizsotto@gmail.com
2f903fb6b05308a81d77262030e3009f2320f061
f68732bc40a7a90c3a1082e4b3a4154518acafbb
/script/dbus/sessionBus/timedate/007_setDate.py
b177277e1d4c004f8660ca893111b67f56b2ef9f
[]
no_license
lizhouquan1017/dbus_demo
94238a2307e44dabde9f4a4dd0cf8ec217260867
af8442845e722b258a095e9a1afec9dddfb175bf
refs/heads/master
2023-02-11T19:46:27.884936
2021-01-08T05:27:18
2021-01-08T05:27:18
327,162,635
0
0
null
null
null
null
UTF-8
Python
false
false
1,077
py
# -*- coding: utf-8 -*- # **************************************************** # @Test Case ID: 007_setDate # @Test Description: 设置系统时间和日期 # @Test Condition: 关闭时间自动同步设置 # @Test Step: 1.重置系统时间和网络时间同步; # @Test Result: 1.检查重置成功; # @Test Remark: # @Author: ut000511 # ***********...
[ "lizhouquan@uniontech.com" ]
lizhouquan@uniontech.com
7bd9e4b8114d7008b804d6f948f7f8c3f75a62e1
d52413173437ba73ecdf822ca895e659f00a8ce7
/kiwibackend/doc/python/PBEquipHeroMessage_PBResponse.py
1403934bdc3681823b456d28a38584615e3141c3
[]
no_license
whiteprism/mywork
2329b3459c967c079d6185c5acabd6df80cab8ea
a8e568e89744ca7acbc59e4744aff2a0756d7252
refs/heads/master
2021-01-21T11:15:49.090408
2017-03-31T03:28:13
2017-03-31T03:28:13
83,540,646
0
0
null
null
null
null
UTF-8
Python
false
false
86
py
class PBEquipHeroMessage_PBResponse(): def __init__(self): self.stub = -1
[ "snoster@163.com" ]
snoster@163.com
7703332074976cd837f06a01e576212613255699
7b51c2248463406783e18f6bc02e2e6ef68aecb2
/agol_util.py
5bb206e400524b0281b1b209c773956956682f63
[]
no_license
fgassert/agol_util
88712974720103826f9d21136a6612b6aa67a806
cc8c8b9e5915958cafd08d65f9b3361e608a556d
refs/heads/master
2016-09-06T12:51:04.888287
2015-08-04T20:57:43
2015-08-04T20:57:43
40,208,668
0
2
null
null
null
null
UTF-8
Python
false
false
4,667
py
import urllib2 import urllib import json import time class AGOL_util: """ Minimal client library for ArcGIS online API Parameters: root_url: portal root rest url e.g. http://myorg.arcgis.com/sharing/rest username: valid arggis online username password: valid arggis online password """...
[ "cowbox314@gmail.com" ]
cowbox314@gmail.com
25cfefcf5435888d72794db6ffd98d70ec97293a
5dae158ba8adef3a30061336cf24087273d1d1be
/scripts/gpipe/analyze_predictions.py
3744ec4746e1bba27c9c0f8cb81351f3945c9544
[]
no_license
Q-KIM/cgat
595cbc51d0d34f4442d4d124e2fec2be8e1a2a79
3bccc543d3daa1ee8830ecb0467e2b3b3b5beb9a
refs/heads/master
2021-01-17T07:30:00.213178
2015-06-05T14:03:33
2015-06-05T14:03:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,625
py
########################################################################## # # MRC FGU Computational Genomics Group # # $Id$ # # Copyright (C) 2009 Andreas Heger # # 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 ...
[ "andreas.heger@gmail.com" ]
andreas.heger@gmail.com
c48eda74cdfae649b3b3e018fce9d41f437ae699
e0d776ec6d324e8630d463a1be81f81ccd3a51a9
/schools/migrations/0001_initial.py
c396d66cea23dd7a30c9e856f2417162a10c14b1
[ "MIT" ]
permissive
moshthepitt/shulezote
9b3c8c6d5c53e2b497977fd6900e500e09315c41
e903a208948ab5294183e2a8c2dac9360a184654
refs/heads/master
2021-07-03T11:17:19.274106
2019-08-04T09:49:59
2019-08-04T09:49:59
32,628,463
2
1
MIT
2021-06-10T19:47:39
2015-03-21T10:35:34
Python
UTF-8
Python
false
false
3,775
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations import autoslug.fields import django.contrib.gis.db.models.fields class Migration(migrations.Migration): dependencies = [ ('places', '0001_initial'), ] operations = [ migrations.Crea...
[ "kelvin@jayanoris.com" ]
kelvin@jayanoris.com
c5ccb7cfc36c468958d0fc2b2ea1064cf718c1ff
857a9e588a04b40a66b6ca115063cb67ef0427ea
/tests/divine/test_divine.py
4eb4b8f22e7a7f5b61a5e6b996c19c894ba6ebaa
[ "MIT" ]
permissive
rambam613/timemachines
81b88357498871f77efed0faf9c25b4c408d822c
cd243d4606b4ad9c1d419988fc6c04b0964af2e6
refs/heads/main
2023-07-03T07:06:24.421114
2021-08-07T17:42:40
2021-08-07T17:42:40
393,793,785
1
0
MIT
2021-08-07T21:13:35
2021-08-07T21:13:34
null
UTF-8
Python
false
false
548
py
from timemachines.skaters.divine.divineinclusion import using_divinity, dv if using_divinity: from timemachines.skaters.divine.divineskaters import divine_univariate from timemachines.skatertools.evaluation.evaluators import hospital_mean_square_error_with_sporadic_fit def dont_test_divine(): # too noisy ...
[ "peter.cotton@microprediction.com" ]
peter.cotton@microprediction.com
802ad3fb02a6b071dcd0ec62f89c642999da7259
812f9822ddbfc986f4f230a9e6814f22c7c50e2f
/looping/perfect_generation.py
a86f8a3a5f67f02a0940915cb68d7f44d3a29483
[]
no_license
devopsvj/PythonAndMe
31b4aa9bade1431d6f13917122dc12bf6a118da6
0b1362023960b7c77c79856d4bdef0a58fec1446
refs/heads/master
2023-07-25T23:06:39.081191
2019-01-15T09:50:08
2019-01-15T09:50:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
247
py
print "Perfect Number Generation " print "--------------------------" n=input("Range to generate : ") j=1 while j<=n: i=1 ans=0 while i<j: if j%i==0: ans=ans+i i=i+1 if ans==j: print j j=j+1
[ "vani_kani@hotmail.com" ]
vani_kani@hotmail.com
0f37657bada84d6c01e51ab37c33ece7d932747d
d4aff784639249a076fe43812e73a6018bb92470
/backend/radio_sagun_18170/settings.py
1e852819826f7c17120fdaeedd60bd9b52d09a5c
[]
no_license
crowdbotics-apps/radio-sagun-18170
9b8d5905886eee6d6639e00b01a1ee1c4bcfce51
2c841cf71152663db6e1cb57aa9f11eaf37fa201
refs/heads/master
2022-10-28T10:20:21.208094
2020-06-17T21:56:05
2020-06-17T21:56:05
273,085,286
0
0
null
null
null
null
UTF-8
Python
false
false
5,748
py
""" Django settings for radio_sagun_18170 project. Generated by 'django-admin startproject' using Django 2.2.2. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ im...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
464c5cad5d003f680a9d218634ceb614aa5b67e1
375fceebffcf4b6a0d9fd8a8b44a743091ab403b
/scheduler/serializers.py
4fe01a141dfc65b6ddcb71c5ff6aa22431535802
[]
no_license
Nextafari/email-microapi-1
c06e031645fdaa85eac015898db4800a0c83bcd7
bd831853a8512f10a5d78d6f93c7f3b72f951259
refs/heads/develop
2022-12-20T08:44:28.905092
2020-07-24T10:49:13
2020-07-24T10:49:13
282,280,619
1
0
null
2020-07-24T17:36:12
2020-07-24T17:36:11
null
UTF-8
Python
false
false
311
py
from rest_framework import serializers, fields from rest_framework.validators import UniqueValidator class EmailSchedulingSerializer(serializers.Serializer): sender = serializers.EmailField() recipient = serializers.EmailField() subject = serializers.CharField() body = serializers.CharField()
[ "phemmylintry@gmail.com" ]
phemmylintry@gmail.com
eabb11f0ea5d6fdb3b2907edd8e5ee2c6ef9d9fe
5a61ba76c770de8469218ff457213e122e08c7d1
/code/at_offer/finding_sorting/coding_interview53_2.py
55664b811beef5e8d3fc5efff8641a455f31d94b
[ "Apache-2.0" ]
permissive
zhangrong1722/interview
6a71af26f08f036a294e36073cb9eb6ca798b993
187a485de0774561eb843d8ee640236adda97b90
refs/heads/master
2020-09-06T08:15:00.229710
2019-12-10T06:32:05
2019-12-10T06:32:05
220,372,777
2
1
null
null
null
null
UTF-8
Python
false
false
1,306
py
""" 题目:0~n-1中缺失的数字 一个长度为n-1的递增排序数组中的所有数字都是唯一的 并且每个数字都在范围0~n-1之内 在范围0~n-1内的n个数字中有且只有一个数字不在该数组中 请找出这个数字 思路:最直观的方法是直接扫描整个数组 此时时间复杂度为O(n) 但是这样显然没有用好递增排序数组这一条件 对于递增排序数组条件 首先想到的就是二分法查找 假设该数字所在位置为m 则在m位置之前 所有元素值和元素下标是相等的 换句话说 这道题就转化为查找第一个元素值和下标不等的元素 """ class Solution(object): def FindMissingNum(self, data)...
[ "1922525328@qq.com" ]
1922525328@qq.com
e2e89384435695337745af09421a650b0d297d0e
d5bedf2ab61a06497ffe27c166882239b6b38828
/twitter.py
13cdda31d2aa6f4d28d555d44edacecfb9c4b510
[ "MIT" ]
permissive
encima/qself
d317510ff3c4896f980cc747973205de79c4a8cd
d233bab9a12bacee3671395a75ae0090d67f7b56
refs/heads/master
2022-12-10T03:51:53.350876
2018-04-10T12:12:24
2018-04-10T12:12:24
75,976,008
0
0
MIT
2022-12-07T23:44:53
2016-12-08T21:19:24
Python
UTF-8
Python
false
false
45
py
from services import * t = TwitterHandler()
[ "encima@gmail.com" ]
encima@gmail.com
98b6be5a553d408eef6fc7f603d8ae31eb9c3289
67d76057aee86c43d32e0b74f3ac94d521ee03d8
/tests/journal.api/warning_instance.py
de5eca5cdb7db1836b2a933265fa765c7fc5113d
[ "BSD-3-Clause" ]
permissive
jlmaurer/pyre
0f94b1855bf029210f07c528747221751e37687f
6af38a83621d7d6228d147b4bb94f97fbb10f6e2
refs/heads/master
2023-05-25T04:33:19.907452
2020-06-18T14:07:54
2020-06-18T14:07:54
273,362,988
0
0
NOASSERTION
2021-06-10T23:42:14
2020-06-18T23:50:28
null
UTF-8
Python
false
false
986
py
#! /usr/bin/env python3 # -*- coding: utf-8 -*- # # michael a.g. aïvázis <michael.aivazis@para-sim.com> # (c) 1998-2020 all rights reserved def test(): """ Verify the channel initial state """ # get the journal import journal # make a channel channel = journal.warning(name="tests.journal....
[ "michael.aivazis@para-sim.com" ]
michael.aivazis@para-sim.com
c8ccdd1275b0fff620f06592a09a1611b4072edd
633944f913050debf0764c2a29cf3e88f912670e
/v8/depot_tools/bootstrap-3.8.0b1.chromium.1_bin/python3/lib/python3.8/site-packages/setuptools/_vendor/packaging/specifiers.py
439541a1c9d6cc8280777c3e047c0181b517442b
[ "BSD-3-Clause", "bzip2-1.0.6", "SunPro", "Apache-2.0" ]
permissive
bopopescu/V8-lgtm
0474c2ff39baf754f556ef57619ceae93e7320fd
da307e2f7abfca5fa0e860a809de6cd07fd1b72b
refs/heads/master
2022-02-16T19:10:54.008520
2019-09-25T07:51:13
2019-09-25T07:51:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
113
py
../../../../../../../.cipd/pkgs/2/_current/lib/python3.8/site-packages/setuptools/_vendor/packaging/specifiers.py
[ "jundong.xjd@antfin.com" ]
jundong.xjd@antfin.com
7b52d1d494431a4c038f1ceb34cfb7cb3839d9fa
0b2facfa8d47bceea5bbf969bd1ca86215638cf6
/macop/operators/crossovers/Crossover.py
6569ca739a046e49a798d270ab98fcf1079664a6
[ "MIT" ]
permissive
geoffreyp/macop
37ec5c0ed7913068ee808e63c9c537babed479ca
287df287e23c7e4f07e90dfcc0a99ef247f5c6b5
refs/heads/master
2022-12-29T06:40:11.774347
2020-10-23T10:25:15
2020-10-23T10:25:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
412
py
"""Abstract Crossover class """ # module imports from ..Operator import KindOperator, Operator # main mutation class class Crossover(Operator): """Abstract crossover extend from Operator Attributes: kind: {KindOperator} -- specify the kind of operator """ def __init__(self): self.kind...
[ "contact@jeromebuisine.fr" ]
contact@jeromebuisine.fr
913c5bdce3154f05cbbbcfa96d0b6baa9399ff94
74983098c5de53007bde6052a631845c781b5ba8
/rosenbrock/rosenbrock11/rosenbrock.py
c62ef2c302fa5f03d647d4e23c21139f769b66eb
[]
no_license
numairmansur/Experiments
94ccdd60f4c2cf538fab41556ac72405656c9d77
592f39916461c7a9f7d400fa26f849043d1377ed
refs/heads/master
2021-04-29T12:39:16.845074
2017-02-15T07:36:47
2017-02-15T07:36:47
78,043,284
0
0
null
null
null
null
UTF-8
Python
false
false
601
py
import numpy as np import sys import math import time import csv from hpolib.benchmarks.synthetic_functions import Rosenbrock from time import gmtime, strftime def main(job_id, params): print '!!! Entered Main !!!' print 'Anything printed here will end up in the output directory for job #:', str(job_id) print pa...
[ "numair.mansur@gmail.com" ]
numair.mansur@gmail.com
0a2507c51ecb2566d2553ecfe5824aa30ba29aea
ecce8a10aabb24019296cebaa46503f91876796f
/football_app/football_app/person/apps.py
b079ffa4b8bab05cace49c41c67355206bf8c753
[]
no_license
Yeldarmt/DJangoFootballApp
28450d60fbd0ec98bdf6d223545e17062442f970
d9568cd48089c0be55217d8aecadf65053b72420
refs/heads/master
2022-11-26T16:19:34.252927
2020-04-26T18:09:52
2020-04-26T18:09:52
237,893,654
0
0
null
2022-11-22T05:28:37
2020-02-03T05:42:24
Python
UTF-8
Python
false
false
100
py
from django.apps import AppConfig class PersonConfig(AppConfig): name = 'football_app.person'
[ "eldarmukhametkazin@gmail.com" ]
eldarmukhametkazin@gmail.com
116e5b4c0274119f4c10ea71c3e8ab0d1ecd97c9
6f9b0f4832f218957bed679a428a2e022482e558
/plato/examples/demo_vgg_screenshot.py
81f11b7eff774d854fd3190b23bc0342054c01f2
[]
no_license
petered/plato
1ee983de87ff7271c93aa6bd1212cd4229e30fa4
a0b5ef356e2d7e3d163b34871513d85abea7e510
refs/heads/master
2021-01-17T00:55:35.059826
2018-02-06T04:23:19
2018-02-06T04:23:19
29,347,512
45
6
null
2017-10-11T06:05:31
2015-01-16T12:27:14
Python
UTF-8
Python
false
false
2,303
py
from artemis.fileman.smart_io import smart_load from artemis.general.should_be_builtins import bad_value from artemis.plotting.db_plotting import dbplot from plato.tools.pretrained_networks.vggnet import get_vgg_net, im2vgginput, get_vgg_label_at import numpy as np import time __author__ = 'peter' import os """ This p...
[ "peter.ed.oconnor@gmail.com" ]
peter.ed.oconnor@gmail.com
2cd2df7866ea1c949be253c9075befe06b30d0a1
b05761d771bb5a85d39d370c649567c1ff3eb089
/venv/lib/python3.10/site-packages/cryptography/hazmat/backends/openssl/decode_asn1.py
d925227a847c48a2045629142175968ce2e42743
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
JawshyJ/Coding_Practice
88c49cab955eab04609ec1003b6b8c20f103fc06
eb6b229d41aa49b1545af2120e6bee8e982adb41
refs/heads/master
2023-02-19T10:18:04.818542
2023-02-06T21:22:58
2023-02-06T21:22:58
247,788,631
4
0
null
null
null
null
UTF-8
Python
false
false
96
py
/home/runner/.cache/pip/pool/9d/2a/ad/80ee4c2557ff51492fc3db5ecf5d338469ec187ab6e0e3f55f618a39ee
[ "37465112+JawshyJ@users.noreply.github.com" ]
37465112+JawshyJ@users.noreply.github.com
fd420e31e11d26664112127c273760178087e758
29f1045821e7a1c3382e3cde5f5103ae95487bcd
/patch.py
c4f6cd962f58eab51fb6dc2d2989c95bb62eb667
[]
no_license
fans656-deprecated/f6-python
9b9b6f2cc0e79b9326c27237e3129f38c9ba4af3
a66311173b5933ad3c800fa4ec95e08e10976275
refs/heads/master
2021-06-17T19:27:51.198664
2017-05-29T01:39:11
2017-05-29T01:39:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,472
py
from ctypes import * from ctypes.wintypes import * LPBYTE = POINTER(BYTE) class STARTUPINFOW(Structure): _fields_ = [ ('cb', DWORD), ('lpReserved', LPWSTR), ('lpDesktop', LPWSTR), ("dwX", DWORD), ("dwY", DWORD), ...
[ "fans656@yahoo.com" ]
fans656@yahoo.com
cf3d44229527ebd0322b902678b749776500845d
018c57d04c6e2743bb2c0f8d2f6cadcccb2e4225
/tensorflow/python/distribute/values.py
9d54f0b1a2f626af3e33395037536c41d9fb6077
[ "Apache-2.0" ]
permissive
danaugrs/tensorflow
1eb0054d774636d884d2f7e06631989e6b5bbbfe
160c6e8ec3dfca6ab62fc479aadef8e7599da388
refs/heads/master
2020-04-24T17:11:46.014529
2019-07-31T17:29:18
2019-07-31T17:29:18
172,138,019
0
0
Apache-2.0
2019-03-05T14:31:05
2019-02-22T21:37:55
C++
UTF-8
Python
false
false
58,485
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
f5c4865eb14b513c99521b359506746ebfc8db9c
db12b990924703cd74748d8585cd9c11fafa6746
/h2o-py/tests/testdir_algos/glrm/pyunit_PUBDEV_4246_pro_var.py
9a3e5927e6d7cf142a72014512ad7deff187fdc9
[ "Apache-2.0" ]
permissive
h2oai/h2o-3
919019a8f297eec676011a9cfd2cc2d97891ce14
d817ab90c8c47f6787604a0b9639b66234158228
refs/heads/master
2023-08-17T18:50:17.732191
2023-08-17T16:44:42
2023-08-17T16:44:42
17,371,412
6,872
2,345
Apache-2.0
2023-09-14T18:05:40
2014-03-03T16:08:07
Jupyter Notebook
UTF-8
Python
false
false
2,450
py
import sys sys.path.insert(1,"../../../") import h2o from tests import pyunit_utils from h2o.estimators.glrm import H2OGeneralizedLowRankEstimator from h2o.estimators.pca import H2OPrincipalComponentAnalysisEstimator as H2OPCA # This unit test makes sure that GLRM will not return proportional of variance with values e...
[ "noreply@github.com" ]
h2oai.noreply@github.com
27eba9359b832c4b1f984ea79cc1a47ca6c44f74
2581fbdc72887143376a8f9d8f0da0f1508b9cdf
/Flask/02-Flask-Basics/00-Hello_Puppy.py
628111976300747c69976ccba1561f3710dc0524
[ "Apache-2.0" ]
permissive
Sandy1811/python-for-all
6e8a554a336b6244af127c7bcd51d36018b047d9
fdb6878d93502773ba8da809c2de1b33c96fb9a0
refs/heads/master
2022-05-16T02:36:47.676560
2019-08-16T08:35:42
2019-08-16T08:35:42
198,479,841
1
0
Apache-2.0
2022-03-11T23:56:32
2019-07-23T17:39:38
Jupyter Notebook
UTF-8
Python
false
false
153
py
from flask import Flask app = Flask(__name__) @app.route('/') def index(): return '<h1>Hello Puppy!</h1>' if __name__ == '__main__': app.run()
[ "sndp1811@gmail.com" ]
sndp1811@gmail.com
0d7026e92b2a3748388b9348f48c70b00ca007ca
e8d5471bd4a47794d66162060343f740e0febca4
/server/src/uds/reports/stats/pools_usage_day.py
54c748930c14cac52e48212aae25469933d0bdc0
[]
no_license
git38438/openuds
ef939c2196d6877e00e92416609335d57dd1bd55
7d66d92f85f01ad1ffd549304672dd31008ecc12
refs/heads/master
2020-06-22T14:07:33.227703
2019-07-18T11:03:56
2019-07-18T11:03:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,676
py
# -*- coding: utf-8 -*- # # Copyright (c) 2015 Virtual Cable S.L. # All rights reserved. # # Redistribution and use in source and binary forms, with or without modification, # are permitted provided that the following conditions are met: # # * Redistributions of source code must retain the above copyright notice, #...
[ "dkmaster@dkmon.com" ]
dkmaster@dkmon.com
99f65bfd572a81067ac395e83915052398982ff0
fd67592b2338105e0cd0b3503552d188b814ad95
/egoi_api/paths/webhooks/post.pyi
dc9661490a212f10b8aaa2ea2630d5064ef77faa
[]
no_license
E-goi/sdk-python
175575fcd50bd5ad426b33c78bdeb08d979485b7
5cba50a46e1d288b5038d18be12af119211e5b9f
refs/heads/master
2023-04-29T20:36:02.314712
2023-04-18T07:42:46
2023-04-18T07:42:46
232,095,340
5
2
null
null
null
null
UTF-8
Python
false
false
16,213
pyi
# coding: utf-8 """ Generated by: https://openapi-generator.tech """ from dataclasses import dataclass import typing_extensions import urllib3 from urllib3._collections import HTTPHeaderDict from egoi_api import api_client, exceptions from datetime import date, datetime # noqa: F401 import decimal # noqa: F4...
[ "integrations@e-goi.com" ]
integrations@e-goi.com
a04f59c00a5a3dc817bae2748e05add691a1e1f9
f4b60f5e49baf60976987946c20a8ebca4880602
/lib64/python2.7/site-packages/acimodel-1.3_2j-py2.7.egg/cobra/modelimpl/dhcp/lbldef.py
428a05e1ac94bcc1b280b028d299db0ebaca0e5f
[]
no_license
cqbomb/qytang_aci
12e508d54d9f774b537c33563762e694783d6ba8
a7fab9d6cda7fadcc995672e55c0ef7e7187696e
refs/heads/master
2022-12-21T13:30:05.240231
2018-12-04T01:46:53
2018-12-04T01:46:53
159,911,666
0
0
null
2022-12-07T23:53:02
2018-12-01T05:17:50
Python
UTF-8
Python
false
false
14,712
py
# coding=UTF-8 # ********************************************************************** # Copyright (c) 2013-2016 Cisco Systems, Inc. All rights reserved # written by zen warriors, do not modify! # ********************************************************************** from cobra.mit.meta import ClassMeta from cobra.m...
[ "collinsctk@qytang.com" ]
collinsctk@qytang.com
904519195206e061a44162de0d62e90299f55869
dc3d310934705034ab2f5bc4d3a96f07dab9b48b
/bookmanager/app01/templatetags/__init__.py
6d5c55bcb7d1ab919a016c1955ecfd772acafca2
[]
no_license
createnewdemo/istudy_test
82197488d9e9fa05e0c6cc91362645fc4555dc1d
806693f2bee13e3c28571d0d75f6b6ea70acf7a0
refs/heads/master
2022-04-19T05:52:53.780973
2020-04-17T17:04:10
2020-04-17T17:04:10
256,507,355
0
1
null
null
null
null
UTF-8
Python
false
false
153
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 2020/4/3 18:05 # @Author : lihanhan # @Email : demo1li@163.com # @File : __init__.py.py
[ "320783214@qq.com" ]
320783214@qq.com
7e2a8bc4499302a467ccef7a2bd9d8acfad5474d
453ca12d912f6498720152342085636ba00c28a1
/ik_problems/strings_arrays/group_by_commas.py
c71c6fa05e3d2931f1c7105039108a1888b4b151
[]
no_license
yanbinkang/problem-bank
f9aa65d83a32b830754a353b6de0bb7861a37ec0
bf9cdf9ec680c9cdca1357a978c3097d19e634ae
refs/heads/master
2020-06-28T03:36:49.401092
2019-05-20T15:13:48
2019-05-20T15:13:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
849
py
""" Finish the solution so that it takes an input 'n' (integer) and returns a string that is the decimal representation of the number grouped by commas after every 3 digits. Assume: 0 <= n < 1000000000 1 -> "1" 10 -> "10" 100 -> "100" 1000 -> "1,000" 10000...
[ "albert.agram@gmail.com" ]
albert.agram@gmail.com
e2e6c3c05d8515ffdfae3b143441d7d8cff1fbf0
2eae961147a9627a2b9c8449fa61cb7292ad4f6a
/openapi_client/models/put_sales_quotes.py
14c3af41578f75de659eeb869018fcc562a12ab5
[]
no_license
kgr-eureka/SageOneSDK
5a57cc6f62ffc571620ec67c79757dcd4e6feca7
798e240eb8f4a5718013ab74ec9a0f9f9054399a
refs/heads/master
2021-02-10T04:04:19.202332
2020-03-02T11:11:04
2020-03-02T11:11:04
244,350,350
0
0
null
null
null
null
UTF-8
Python
false
false
3,456
py
# coding: utf-8 """ Sage Business Cloud Accounting - Accounts Documentation of the Sage Business Cloud Accounting API. # noqa: E501 The version of the OpenAPI document: 3.1 Generated by: https://openapi-generator.tech """ import pprint import re # noqa: F401 import six from openapi_client.confi...
[ "kevin.gray@eurekasolutions.co.uk" ]
kevin.gray@eurekasolutions.co.uk
a55ff18faad4fb94d38959d3536fc5dc28070d82
7debf3bc23bd38182b716dcf1eb4fa9f51b6d5bc
/expense_tracker/views/default.py
a4fe3759abf52803017cfbc6dfc29d4947a4c575
[ "MIT" ]
permissive
jjskim/expense_tracker_401d7
7b8ae545089200aa4801c48a118aef74d5bd6490
284d57829117e05aed700346c75e77b76fa25480
refs/heads/master
2021-07-22T05:37:57.603103
2017-10-31T19:09:16
2017-10-31T19:09:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,682
py
from pyramid.view import view_config from datetime import datetime from pyramid.httpexceptions import HTTPNotFound FMT = '%m/%d/%Y' EXPENSES = [ {'id': 1, 'title': 'Rent', 'amount': 50000, 'due_date': datetime.strptime('11/1/2017', FMT)}, {'id': 2, 'title': 'Phone Bill', 'amount': 100, 'due_date': datetime.st...
[ "nhuntwalker@gmail.com" ]
nhuntwalker@gmail.com
cda5a4031d2648d83bfb86e146b7e8729e3f2bec
8c1fc3dec9d6f3982e307cb0805ea20cc237c317
/hashcrack/autoconfig/shadow.py
d86ef630a2a8c50b00bcddf56f8c898689acf9cb
[]
no_license
bannsec/hashcrack
a6a759a553552a1c9f53116b050e893f1860b8b7
88b651dc98347bec8acf297cea25aa22fdc55f9b
refs/heads/master
2020-12-10T02:46:28.967850
2020-01-22T02:06:52
2020-01-22T02:06:52
233,484,652
3
1
null
null
null
null
UTF-8
Python
false
false
1,194
py
import logging from ..config import config from .. import types from prompt_toolkit import print_formatted_text as print, HTML def run(): hashtype = None for line in config['hashes'].strip().split(b"\n"): tokens = line.split(b":") # Not a shadow file if len(tokens) != 9: ...
[ "whootandahalf@gmail.com" ]
whootandahalf@gmail.com
4ba201a19176dc8ba93096d858b815f8b260eb74
8644a2174c3cb7ccfe211a5e49edffbcc3a74a46
/hashcode/contest2021/hash_code.py
348eb62abc65e6ddfd9415877e1b9bc528b06d02
[]
no_license
bhavya2403/Learning-Python
9e7cc9dee21172321fb217cae27c8072357f71ce
3898211b357fbab320010a82a4811b68611d0422
refs/heads/main
2023-03-24T03:19:49.989965
2021-03-22T20:11:04
2021-03-22T20:11:04
315,962,811
0
0
null
null
null
null
UTF-8
Python
false
false
1,651
py
def solve(): adjList = {} for key in street: start, end, L = street[key] end = int(end) if end not in adjList: adjList[end] = [1, key] else: adjList[end][0] += 1 adjList[end].append(key) streetsUsed = set() for path in carP...
[ "noreply@github.com" ]
bhavya2403.noreply@github.com
ef6c7204f335001e4a416d5712d8eff6af8abf83
b09a8df80c35e3ccca43cd74cec6e1a14db76ad7
/blocks/forms.py
7da0e469bffae4aa7eeb2899c3ef8df356c5a8e4
[ "MIT" ]
permissive
ofa/everyvoter
79fd6cecb78759f5e9c35ba660c3a5be99336556
3af6bc9f3ff4e5dfdbb118209e877379428bc06c
refs/heads/master
2021-06-24T19:38:25.256578
2019-07-02T10:40:57
2019-07-02T10:40:57
86,486,195
7
3
MIT
2018-12-03T19:52:20
2017-03-28T17:07:15
Python
UTF-8
Python
false
false
722
py
"""Forms for account app""" from django import forms from blocks.models import Block from election.models import Election, LegislativeDistrict class BlockModelForm(forms.ModelForm): """Model form for blocks""" weight = forms.ChoiceField(choices=[(x, x) for x in range(1, 100)]) class Meta(object): ...
[ "nickcatal@gmail.com" ]
nickcatal@gmail.com
a39e31cefdc46526f203635269c06d872405a9db
90419da201cd4948a27d3612f0b482c68026c96f
/sdk/python/pulumi_azure_nextgen/network/v20200501/get_ip_allocation.py
1b0cabaf141ea140a23a362799f9df7f8521a40c
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
test-wiz-sec/pulumi-azure-nextgen
cd4bee5d70cb0d332c04f16bb54e17d016d2adaf
20a695af0d020b34b0f1c336e1b69702755174cc
refs/heads/master
2023-06-08T02:35:52.639773
2020-11-06T22:39:06
2020-11-06T22:39:06
312,993,761
0
0
Apache-2.0
2023-06-02T06:47:28
2020-11-15T09:04:00
null
UTF-8
Python
false
false
7,547
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
452ca5230e1066b299969a40e76e1beacdc6d893
1dce441d867ae3a320835ad8bfcc7d28bea02495
/main/urls.py
8522d4e1173a85a1ed23481167de907e4b68cf57
[]
no_license
dmitriyVasilievich1986/Services
5b3eeb2e356663d75e7a0e4ded246d62baec0d1b
0a6f9b6bcc5beea1cb40c83f7fb14f634af830d0
refs/heads/master
2023-06-26T18:10:30.432106
2021-07-23T16:07:44
2021-07-23T16:07:44
388,856,663
0
0
null
null
null
null
UTF-8
Python
false
false
104
py
from .views import index_view from django.urls import path urlpatterns = [ path("", index_view), ]
[ "dmitriyvasil@gmail.com" ]
dmitriyvasil@gmail.com
0a9069262dcd7f1e236e03cb138351c395dad067
d41d18d3ea6edd2ec478b500386375a8693f1392
/plotly/validators/splom/marker/colorbar/_showticksuffix.py
80b850d3cb4f83181bfce76a44d5751d71c84e68
[ "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
534
py
import _plotly_utils.basevalidators class ShowticksuffixValidator( _plotly_utils.basevalidators.EnumeratedValidator ): def __init__( self, plotly_name='showticksuffix', parent_name='splom.marker.colorbar', **kwargs ): super(ShowticksuffixValidator, self).__init__( ...
[ "jon.mease@gmail.com" ]
jon.mease@gmail.com