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
376540b32754b9a2b64877be388e167389250a39
d7016f69993570a1c55974582cda899ff70907ec
/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_07_01/_configuration.py
8893314a690be34a4cf62ffe4b2e4cd11e964b26
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
kurtzeborn/azure-sdk-for-python
51ca636ad26ca51bc0c9e6865332781787e6f882
b23e71b289c71f179b9cf9b8c75b1922833a542a
refs/heads/main
2023-03-21T14:19:50.299852
2023-02-15T13:30:47
2023-02-15T13:30:47
157,927,277
0
0
MIT
2022-07-19T08:05:23
2018-11-16T22:15:30
Python
UTF-8
Python
false
false
3,859
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" ]
kurtzeborn.noreply@github.com
5702e2b28ff81eaecb52f135527409c15148a1e8
3d7039903da398ae128e43c7d8c9662fda77fbdf
/database/Node.js/juejin_951.py
16dbee9ac7e171cef18c9ad6f5148c260a65bf53
[]
no_license
ChenYongChang1/spider_study
a9aa22e6ed986193bf546bb567712876c7be5e15
fe5fbc1a5562ff19c70351303997d3df3af690db
refs/heads/master
2023-08-05T10:43:11.019178
2021-09-18T01:30:22
2021-09-18T01:30:22
406,727,214
0
0
null
null
null
null
UTF-8
Python
false
false
67,449
py
{"err_no": 0, "err_msg": "success", "data": [{"article_id": "6844904181040431118", "article_info": {"article_id": "6844904181040431118", "user_id": "289926800484653", "category_id": "6809637767543259144", "tag_ids": [6809640361531539470], "visible_level": 0, "link_url": "https://juejin.im/post/6844904181040431118", "co...
[ "www.1759633997@qq.com" ]
www.1759633997@qq.com
bff6dde8691761cc34819e3db8b70604bcfa3d25
78c3082e9082b5b50435805723ae00a58ca88e30
/03.AI알고리즘 소스코드/venv/Lib/site-packages/torch/distributed/algorithms/ddp_comm_hooks/powerSGD_hook.py
2264e9a50ee9caa7c01f793f98f5aab2cf8c9219
[]
no_license
jinStar-kimmy/algorithm
26c1bc456d5319578110f3d56f8bd19122356603
59ae8afd8d133f59a6b8d8cee76790fd9dfe1ff7
refs/heads/master
2023-08-28T13:16:45.690232
2021-10-20T08:23:46
2021-10-20T08:23:46
419,217,105
0
1
null
null
null
null
UTF-8
Python
false
false
36,190
py
import logging import math import numpy as np import torch import torch.distributed as dist from . import default_hooks as default def _orthogonalize(matrix, epsilon=0): """ Applies Gram-Schmidt procedure to orthogonalize a given 2D tensor. If epsilon is 0, this is equivalent to `torch.qr(m...
[ "gudwls3126@gmail.com" ]
gudwls3126@gmail.com
e3b1d56ef262c6977e92777e6eb79ba327e11d34
ccca3a38b12f0b7459d427b95c80ad825c44ee9a
/src/posts/migrations/0001_initial.py
90869a425b1f71b4157f6b613e63cb45a851ce67
[ "MIT" ]
permissive
rezaizadijahromi/django-blog-api
1f13d38ecd4e0dcc722a8fb8efa608f4ae0c6f59
c38831ec0b22c1a3b6371d1d30fd018f7375de4b
refs/heads/master
2021-03-12T12:23:46.982079
2020-03-11T16:21:21
2020-03-11T16:21:21
246,620,212
1
0
MIT
2020-03-11T16:18:14
2020-03-11T16:16:11
JavaScript
UTF-8
Python
false
false
1,200
py
# -*- coding: utf-8 -*- # Generated by Django 1.9 on 2016-01-05 01:12 from __future__ import unicode_literals from django.db import migrations, models import posts.models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( ...
[ "hello@teamcfe.com" ]
hello@teamcfe.com
e1ab864ea541df3995a222eb53778468ce869eaf
5d0edf31b17c5375faf6126c1a7be8e79bfe2ab8
/buildout-cache/eggs/Products.validation-2.0.1-py2.7.egg/Products/validation/ZService.py
ae1dcaa4cfac0f56feb630764b653253e3948c12
[]
no_license
renansfs/Plone_SP
27cba32ebd9fc03dae3941ec23cf1bf0a7b6667a
8a7bdbdb98c3f9fc1073c6061cd2d3a0ec80caf5
refs/heads/master
2021-01-15T15:32:43.138965
2016-08-24T15:30:19
2016-08-24T15:30:19
65,313,812
0
3
null
null
null
null
UTF-8
Python
false
false
630
py
from Products.validation.service import Service from Acquisition import Implicit from App.class_init import InitializeClass from AccessControl import ClassSecurityInfo from AccessControl import ModuleSecurityInfo # make validator service public security = ModuleSecurityInfo('Products.validation.config') security.dec...
[ "renansfs@gmail.com" ]
renansfs@gmail.com
decbfde5f4ef8c27c0d8a11b6ce16543e4bff3a4
f02412c7fffa9f91ddb255be96da5af10ae990e5
/bucketlist/bucket/apps.py
01136d228ae349ad682815b66d104e33fe8381cb
[ "MIT" ]
permissive
junngo/bucket-list
8d84f70ce3dd32cdae7eb81dd5611dc4437b4e70
e8bfc17b6ea6aa957711813dd54a1804cdbaa914
refs/heads/master
2021-06-10T16:23:59.261006
2019-01-19T14:48:57
2019-01-19T14:48:57
163,304,896
0
0
MIT
2021-04-20T18:05:54
2018-12-27T14:43:14
Python
UTF-8
Python
false
false
98
py
from django.apps import AppConfig class BucketConfig(AppConfig): name = 'bucketlist.bucket'
[ "myeongjun.ko@gmail.com" ]
myeongjun.ko@gmail.com
aad60487506e8a1b2cd7c16d7513a0ad9d9f6df3
280f650e91c675f471121b8a4a13c2bb5a0a5e6c
/apps/accounts/auth_backend/auth_backends.py
56b08d13a5a4c5d9521389d00cf2378836494aac
[]
no_license
navill/2-1_Project_repo
a8e089c657e44034152df30a85220675f2c31084
3f62bca9f52799d9f877f2d01259bb51038c0cc4
refs/heads/master
2022-12-31T18:32:45.471261
2020-10-26T10:54:39
2020-10-26T10:54:39
303,907,042
0
0
null
2020-10-26T10:54:40
2020-10-14T04:57:03
Python
UTF-8
Python
false
false
1,149
py
import importlib from typing import Any from django.contrib.auth.backends import ModelBackend from accounts.models import User class UserClass: user_class: Any class AuthenticationBackend(ModelBackend): def authenticate(self, request, username=None, password=None, role=None): user_class = UserClas...
[ "blue_jihoon@naver.com" ]
blue_jihoon@naver.com
001c627391888f74bc6d28b09622038a3f65adcc
f8ba5d8ce3c2439afb6d14caeeebe20300b16a02
/app/portal/account_adapter.py
8de4d4f8c58b2733b9a564ad90289b44a74c1f22
[ "MIT" ]
permissive
LukaszMalucha/Linkedin-Analytics
37644d8e047e82f082f7e23427fdcbc3562e7074
8ee8cba29f313a1cc38772e2928d3c52614819af
refs/heads/master
2023-03-10T18:49:28.372749
2022-09-03T11:55:17
2022-09-03T11:55:17
142,476,957
13
6
MIT
2023-03-05T14:54:40
2018-07-26T18:08:15
Python
UTF-8
Python
false
false
263
py
from allauth.account.adapter import DefaultAccountAdapter class NoNewUsersAccountAdapter(DefaultAccountAdapter): def is_open_for_signup(self, request): """ Checks whether or not the site is open for signups. """ return False
[ "lucasmalucha@gmail.com" ]
lucasmalucha@gmail.com
d458430b59a6b42c1a9beea476ac1523da2e6696
ad13583673551857615498b9605d9dcab63bb2c3
/output/instances/nistData/list/byte/Schema+Instance/NISTXML-SV-IV-list-byte-minLength-3-5.py
0e8b8a9c46925278f6c50567d625518775130128
[ "MIT" ]
permissive
tefra/xsdata-w3c-tests
397180205a735b06170aa188f1f39451d2089815
081d0908382a0e0b29c8ee9caca6f1c0e36dd6db
refs/heads/main
2023-08-03T04:25:37.841917
2023-07-29T17:10:13
2023-07-30T12:11:13
239,622,251
2
0
MIT
2023-07-25T14:19:04
2020-02-10T21:59:47
Python
UTF-8
Python
false
false
349
py
from output.models.nist_data.list_pkg.byte.schema_instance.nistschema_sv_iv_list_byte_min_length_3_xsd.nistschema_sv_iv_list_byte_min_length_3 import NistschemaSvIvListByteMinLength3 obj = NistschemaSvIvListByteMinLength3( value=[ 115, 114, 113, 112, 112, 115, ...
[ "tsoulloftas@gmail.com" ]
tsoulloftas@gmail.com
accf7ea0fbc4ea387b169fab1af6a3de61c91ac0
859b0f589e4b00e104ca76036e2c48a5757c0c21
/tests/util/generator_tools_testing.py
7e7334d8ee1994f12562ad4e8dcfc49e480eb405
[ "Apache-2.0" ]
permissive
chia-os/beer-blockchain
4e846b80a5d8812d998ae71e6276f772f0f675af
dfa2c0291f26b80847bb4818f433d6fdd4879468
refs/heads/main
2023-07-12T00:22:50.077990
2021-08-23T14:34:10
2021-08-23T14:34:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,236
py
from typing import List, Tuple from beer.full_node.mempool_check_conditions import get_name_puzzle_conditions from beer.types.blockchain_format.coin import Coin from beer.types.blockchain_format.sized_bytes import bytes32 from beer.types.full_block import FullBlock from beer.types.generator_types import BlockGenerator...
[ "420126510@qq.com" ]
420126510@qq.com
33449321a71cfda085780b96d30574403f44ccc4
6604582636223c3918f2947e50f4ee95598d74ab
/src/grassfire/test/attic/test_line_bisector.py
1aeeee6b9a6e4640a9aaae8915796e4c40c74707
[ "MIT" ]
permissive
bmmeijers/grassfire
6d32cc7c3626492b25b3f324a0afa419110fecf5
20995d97ca41763d40b23f0fadb6e0581dff859b
refs/heads/master
2023-06-08T21:14:24.596762
2021-06-22T09:06:43
2021-06-22T09:06:43
269,321,980
4
0
null
null
null
null
UTF-8
Python
false
false
3,670
py
"""Test to get bisectors of lines, of which I think the straight skeleton is a subset. """ from math import hypot from grassfire.calc import vector, vector_mul_scalar, normalize, rotate90cw, rotate90ccw,\ is_close from operator import add, mul def perp_dot(v1, v2): # return the area of the parallelogram betwe...
[ "b.m.meijers@tudelft.nl" ]
b.m.meijers@tudelft.nl
26954e7bf436b863fdce13fae273c15925f82384
dfcb65de02953afaac24cc926ee32fcdede1ac21
/src/pyrin/security/exceptions.py
69ae0568a79693471466ca28954fa8d60ba7e3e7
[ "BSD-3-Clause" ]
permissive
mononobi/pyrin
031d0c38da945b76b07ea100554ffc7f8081b05e
9d4776498225de4f3d16a4600b5b19212abe8562
refs/heads/master
2023-08-31T03:56:44.700142
2023-08-20T22:20:06
2023-08-20T22:20:06
185,481,041
20
8
null
null
null
null
UTF-8
Python
false
false
1,688
py
# -*- coding: utf-8 -*- """ security exceptions module. """ from pyrin.core.enumerations import ClientErrorResponseCodeEnum from pyrin.core.exceptions import CoreBusinessException, CoreException class SecurityManagerException(CoreException): """ security manager exception. """ pass class SecurityMa...
[ "mohamadnobakht@gmail.com" ]
mohamadnobakht@gmail.com
e7e6b7811ef674958ad374d074b19db7461f6ebf
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/verbs/_differentiate.py
17b4ea2abb95abb5b1ef5faad33744169d99c789
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
403
py
#calss header class _DIFFERENTIATE(): def __init__(self,): self.name = "DIFFERENTIATE" self.definitions = [u'to show or find the difference between things that are compared: ', u'to make someone or something different: '] self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} s...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
dde1b1e2313bc2e6c2606a9521e449d7af53523e
d966e5a30840472b7724adb81eaf13ac0a6d26f1
/spongeshaker/__init__.py
09e7b5f84e7f791fd13c82d0498738893ddb5cee
[ "ISC" ]
permissive
barryjburns/spongeshaker
166bd4031e81a743dac58afd9e3aa2b6751cb684
c732f3816eac1bf6f1a4eec51f9b2468cb849d54
refs/heads/master
2021-01-20T19:49:27.525114
2014-05-22T18:36:48
2014-05-22T18:36:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
63
py
"""Playground for sponge algorithms. """ __version__ = '1.0'
[ "markokr@gmail.com" ]
markokr@gmail.com
bda72cd884f2c0cfa82d500c372b5cc8639cf024
0547d1826e99eedb959a3463520d73985a3b844e
/Data Analyst with Python Track/16-Introduction to Databases in Python/01- Basics of Relational Databases/05-Selecting data from a Table raw SQL.py
de38f57a0f6c63abe3890d29e77d20d5ba827bac
[]
no_license
abhaysinh/Data-Camp
18031f8fd4ee199c2eff54a408c52da7bdd7ec0f
782c712975e14e88da4f27505adf4e5f4b457cb1
refs/heads/master
2022-11-27T10:44:11.743038
2020-07-25T16:15:03
2020-07-25T16:15:03
282,444,344
4
1
null
null
null
null
UTF-8
Python
false
false
1,885
py
''' Selecting data from a Table: raw SQL As you have seen in the video, to access and manipulate the data in the database, we will first need to establish a connection to it by using the .connect() method on the engine. This is because the create_engine() function that you have used before returns an instance of an e...
[ "abhaysinh.surve@gmail.com" ]
abhaysinh.surve@gmail.com
c695136a2ed0669fd9aa3b8781ff8025ff7dfab1
5456502f97627278cbd6e16d002d50f1de3da7bb
/content/test/gpu/gpu_tests/gpu_test_expectations.py
dcb0b2cfcbeb98ccd9d7168a2e892663fee8d7cc
[ "BSD-3-Clause" ]
permissive
TrellixVulnTeam/Chromium_7C66
72d108a413909eb3bd36c73a6c2f98de1573b6e5
c8649ab2a0f5a747369ed50351209a42f59672ee
refs/heads/master
2023-03-16T12:51:40.231959
2017-12-20T10:38:26
2017-12-20T10:38:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,603
py
# Copyright 2014 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. from gpu_tests import test_expectations ANGLE_CONDITIONS = ['d3d9', 'd3d11', 'opengl', 'no_angle'] GPU_CONDITIONS = ['amd', 'arm', 'broadcom', 'his...
[ "lixiaodonglove7@aliyun.com" ]
lixiaodonglove7@aliyun.com
ea8ae09757240950d1d76342fd0e90aeab6c5f19
7b1543ec496a2aec2624bb0ef04ed5ecf944675a
/UserCode/llvv_fwk/test/runDataAnalyzer_cfg.py
3683d6481f17156232c1ab7b444eccf3b3eaad57
[]
no_license
iihe-cms-sw/VJets_TreeMaker5311
45954e62e289907384d187a76230b76f64cea62f
8c37cf7241e58ee7d83bb261ebf9c9a237080eac
refs/heads/master
2020-06-06T18:10:09.921453
2014-09-06T17:05:37
2014-09-06T17:05:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,930
py
import FWCore.ParameterSet.Config as cms process = cms.Process("DataAna") process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff") process.GlobalTag.globaltag = gtag process.load("Configuration.StandardSequences.Reconstruction_cff") process.load("Configuration.StandardSequences.MagneticField_...
[ "seva.tomislav@gmail.com" ]
seva.tomislav@gmail.com
9b209f95b43c6946891de4bfad87b840107b5f5c
07926f732f0ef258be317be36363e3a759f17c53
/tests/test_notebooks.py
f07b8aa3532593fbce796f6bb617c3628377cacb
[ "Apache-2.0" ]
permissive
iamaSam/climetlab
44e24f154d1de5bf8472e48078b6fbe645573634
ebd9f8ffd620838c493019f60a001cd66f07a3be
refs/heads/master
2023-01-12T10:15:06.441396
2020-11-18T12:52:10
2020-11-18T12:52:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,867
py
#!/usr/bin/env python3 # (C) Copyright 2020 ECMWF. # # This software is licensed under the terms of the Apache Licence Version 2.0 # which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. # In applying this licence, ECMWF does not waive the privileges and immunities # granted to it by virtue of its statu...
[ "baudouin.raoult@ecmwf.int" ]
baudouin.raoult@ecmwf.int
4a281e3f69cff6a9f836a7aa1046787cbccb6a65
96a34a048c783a75736bf0ec775df22142f9ee53
/packages/service-library/tests/long_running_tasks/test_long_running_tasks_models.py
f21417da788eb691150a130d972a89d861d145d6
[ "MIT" ]
permissive
ITISFoundation/osparc-simcore
77e5b9f7eb549c907f6ba2abb14862154cc7bb66
f4c57ffc7b494ac06a2692cb5539d3acfd3d1d63
refs/heads/master
2023-08-31T17:39:48.466163
2023-08-31T15:03:56
2023-08-31T15:03:56
118,596,920
39
29
MIT
2023-09-14T20:23:09
2018-01-23T10:48:05
Python
UTF-8
Python
false
false
194
py
from servicelib.long_running_tasks._models import TaskProgress def test_progress_has_no_more_than_3_digits(): progress = TaskProgress(percent=0.45646) assert progress.percent == 0.456
[ "noreply@github.com" ]
ITISFoundation.noreply@github.com
b50577755a9a9ea71bb165cf8ea3f38f3b22019b
8526dbced0e42795e320a6903a3751226e6d8f68
/performance/benchmarks/bm_pyflate.py
c5965b5450cd719ef8ce3b5c1c2a3215bfe9430c
[ "MIT" ]
permissive
vincentfretin/performance
7b5c78a7df28c8bb3e347cd8a0fc69d0d1b05fb7
4369f90044c37a3b3cc9655ada38f6ada4c7029e
refs/heads/master
2021-04-29T10:49:16.451966
2016-12-27T23:14:38
2016-12-27T23:14:38
77,832,709
0
0
null
2017-01-02T12:43:53
2017-01-02T12:43:53
null
UTF-8
Python
false
false
20,235
py
#!/usr/bin/env python # Copyright 2006--2007-01-21 Paul Sladen # http://www.paul.sladen.org/projects/compression/ # # You may use and distribute this code under any DFSG-compatible # license (eg. BSD, GNU GPLv2). # # Stand-alone pure-Python DEFLATE (gzip) and bzip2 decoder/decompressor. # This is probably most useful f...
[ "vstinner@redhat.com" ]
vstinner@redhat.com
21335f4743c1fa8eeeef521868fdbc88d8457a80
df772d1816b12d583b05f00f720bbe27dc75524f
/app.py
44cc6dc2964058b3b80e60ab810886b72e7daada
[]
no_license
veer1024/image-forgery-detection
bcc290b0e703ae183b04c3211dcfbfa9db16e8e8
656d071bcf7c64e2a1c1b5e87ab46e635d45c474
refs/heads/master
2023-08-05T20:04:11.436739
2021-09-18T10:41:15
2021-09-18T10:41:15
407,831,586
0
0
null
null
null
null
UTF-8
Python
false
false
5,406
py
from __future__ import division, print_function import os from flask import Flask, redirect, url_for, request, render_template from werkzeug.utils import secure_filename from gevent.pywsgi import WSGIServer ## importing tensorflow # coding=utf-8 import sys import glob import re import numpy as np # Keras from keras....
[ "root@localhost.localdomain" ]
root@localhost.localdomain
b5832063691400cd8d76d039072b5d9cae7a43d8
b40d1a26ea04a19ec0da7bf55db84b7ee36cc898
/leetcode.com/python/138_Copy_List_with_Random_Pointer.py
2a2312d75e88fbb60f6806784915ad3d9565f38a
[ "MIT" ]
permissive
partho-maple/coding-interview-gym
5e8af7d404c28d4b9b52e5cffc540fd51d8025cf
20ae1a048eddbc9a32c819cf61258e2b57572f05
refs/heads/master
2022-09-11T16:36:01.702626
2022-03-14T08:39:47
2022-03-14T08:39:47
69,802,909
862
438
MIT
2022-08-18T06:42:46
2016-10-02T14:51:31
Python
UTF-8
Python
false
false
1,238
py
""" # Definition for a Node. class Node(object): def __init__(self, val, next, random): self.val = val self.next = next self.random = random """ # Approach 3: Iterative with O(1)O(1) Space . Source: https://tinyurl.com/tnwofvs class Solution(object): def copyRandomList(self, head): ...
[ "partho.biswas@aurea.com" ]
partho.biswas@aurea.com
70421ad373582d6cba6a11d2b65b3867ccfb7233
c831e7f6c434900d817f59a11b25e78a1a5090ad
/Calibration/CalibConfigFiles/Archive/CalibConfig_DetModel67_RecoStage74.py
d0447f81fd96baedf0dc7f6ba1ae7ad529f92d64
[]
no_license
StevenGreen1/OptimisationStudies
8cca03f57d2cbf81e5fb609f13e2fa4b9c9880f6
c5741e8d2fab4752ceca8b10cc5f2bbc1a7fafa9
refs/heads/master
2021-01-18T21:30:51.418785
2017-02-21T16:27:50
2017-02-21T16:27:50
44,306,370
0
0
null
null
null
null
UTF-8
Python
false
false
1,261
py
# Calibration config file for testing # Digitisation Constants - ECal CalibrECal = 43.213194523 # Digitisation Constants ILDCaloDigi - HCal CalibrHCalBarrel = 50.944269507 CalibrHCalEndcap = 55.7005101286 CalibrHCalOther = 31.2526761692 # Digitisation Constants NewLDCCaloDigi - HCal CalibrHCal = -1 # Digitisation C...
[ "sg1sg2sg3@hotmail.co.uk" ]
sg1sg2sg3@hotmail.co.uk
6b34e37e6fee76cc87776a7a1b75f24797c98c6a
0add969034a82912bc6e19abc427abe883ee65bb
/FSSA_response/wrap_current_six.py
a478bdc70d86c8837c8aafe57e3678c2be41fbaa
[]
no_license
Michael-Gong/New_LPI_python_script
eefd162fdbbc3c614c66e2b157ea5296e3bc8492
9de109c6f19aa60bdeaf102e9a1ec0baff5669ad
refs/heads/master
2020-03-28T16:06:09.631550
2020-02-01T08:21:17
2020-02-01T08:21:17
148,659,608
2
0
null
null
null
null
UTF-8
Python
false
false
20,069
py
#!/public/home/users/bio001/tools/python-2.7.11/bin/python import sdf import matplotlib matplotlib.use('agg') import matplotlib.pyplot as plt import numpy as np import os from numpy import ma from matplotlib import colors, ticker, cm from matplotlib.mlab import bivariate_normal import matplotlib.colors as mcolors impo...
[ "noreply@github.com" ]
Michael-Gong.noreply@github.com
c90fb4c6db079374c411801157533005837cc825
c996eefc61bb561154a5b83b32255ecef8c6b688
/backend/event/api/v1/viewsets.py
20f97772f0087afb6c0596b6e76013aa391ed646
[]
no_license
crowdbotics-apps/greenville-umc-21909
0666c887280fccb61593abef1371b0114565a5e5
fb9f2640d772d529e7b9683034b915611ad4d259
refs/heads/master
2023-01-02T16:46:04.280171
2020-10-24T14:45:01
2020-10-24T14:45:01
306,904,261
0
0
null
null
null
null
UTF-8
Python
false
false
3,066
py
from rest_framework import authentication from event.models import ( Vendor, Location, Favorites, VendorDetail, Category, Faq, Presenter, Schedule, MySchedule, Sponsor, ) from .serializers import ( VendorSerializer, LocationSerializer, FavoritesSerializer, VendorD...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
4e75516fdf83e0181a9101506d8703754256be26
a81d21f98dd558416f8731f001cb8151d8309f4f
/interviewbit_old/arrays/missing_or_repeated_number/repeatarr.py
82af0cb6d473687971b9f5e6f47dd88240cced98
[]
no_license
marquesarthur/programming_problems
1128c38e65aade27e2435f7987d7ee2b328fda51
2f7df25d0d735f726b7012e4aa2417dee50526d9
refs/heads/master
2022-01-25T18:19:02.575634
2022-01-18T02:07:06
2022-01-18T02:07:06
32,213,919
2
0
null
2020-10-13T01:29:08
2015-03-14T13:44:06
Python
UTF-8
Python
false
false
310
py
class Solution: # @param A : tuple of integers # @return an integer def repeatedNumber(self, A): count = {} for i in xrange(len(A)): if A[i] not in count: count[A[i]] = 1 else: return A[i] return -1 assert(Solution().repeatedNumber([3, 4, 1, 4, 1]) == 4)
[ "marques.art@gmail.com" ]
marques.art@gmail.com
c8d7a1db5c0de0a82913de4b5f21472963087843
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/zJSF5EfPe69e9sJAc_16.py
167565e7a07d09164e9fd77bd4d591d520d37daa
[]
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
735
py
""" Create a function that takes a string `txt` and censors any word from a given list `lst`. The text removed must be replaced by the given character `char`. ### Examples censor_string("Today is a Wednesday!", ["Today", "a"], "-") ➞ "----- is - Wednesday!" censor_string("The cow jumped over the moon....
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
e89ae8d30bd5a43ac69cc315b0fc9c56c83cbcce
99b0631baa2fd9ab2455d848b47febf581916272
/study_code/算法/learn_01.py
b31971fc0bd4f6ed6651caea0e03eb10ba797442
[]
no_license
seceast/PyProjects
a934e366cb619f2610d75b9a0fb47d818814a4de
7be7193b4126ce920a3d3ffa4ef5d8743b3fa7d1
refs/heads/master
2023-03-07T22:23:21.229489
2021-02-25T05:37:58
2021-02-25T05:37:58
265,480,151
0
0
null
null
null
null
UTF-8
Python
false
false
423
py
""" -*- coding: utf-8 -*- @author: yangyd @file: learn_01.py @time: 2019/10/17 0017 17:44 """ import time from builtins import range, print start_time = time.time() count = 0 for a in range(1001): for b in range(1001): c = 1000-a-b count += 1 if a**2+b**2 == c**2: print(f'a:{a...
[ "yangyadong25@163.com" ]
yangyadong25@163.com
df6fa9736072425447d199e7bea6083d434d1e8a
f07ac80d6eeb57c0d9b51c521d1bda6ba8e53789
/src/RNN/rnn_quantizer/tensorflow/tf_nndct/layers/recurrent.py
8fda1d3697d21fa762d0b27aa357eccef818c860
[ "LicenseRef-scancode-free-unknown", "Apache-2.0" ]
permissive
zwxb/Vitis-AI
cd6ad4f057a36b157da808ae2b4bb1cf013192b9
6248d10ad8a304c8eb0ac21d6b817b901e59bcf6
refs/heads/master
2022-07-09T03:15:47.552056
2022-06-24T14:10:53
2022-06-24T14:10:53
238,637,038
0
0
Apache-2.0
2020-02-06T08:03:54
2020-02-06T08:03:53
null
UTF-8
Python
false
false
26,262
py
# Copyright 2019 Xilinx Inc. # # 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, ...
[ "do-not-reply@gitenterprise.xilinx.com" ]
do-not-reply@gitenterprise.xilinx.com
9d5be02ea165db4c18527ebda5ee3ac49d7f53e8
9255068b7b45348a084555b8c413fd55a4b12013
/odfdo/smil.py
405ae2ff4bba42aa1acf1dc68e969d8333bb4dc1
[ "Apache-2.0" ]
permissive
mat-m/odfdo
fdf9752f0273760deb59403f23dbc20eac3de753
a4a509a056517ecf91449e029b36fe9a8ffa8ed0
refs/heads/master
2020-03-18T05:04:16.263647
2018-05-21T21:46:13
2018-05-21T21:54:11
134,322,638
0
0
null
null
null
null
UTF-8
Python
false
false
4,454
py
# Copyright 2018 Jérôme Dumonteil # Copyright (c) 2009-2010 Ars Aperta, Itaapy, Pierlis, Talend. # # 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...
[ "jerome.dumonteil@gmail.com" ]
jerome.dumonteil@gmail.com
7da6614c7b579521a10ad4cdf04ea0413f4566cd
b222270d7841dad94a9beb90be10633533fa6355
/oeem_etl/uploader/__init__.py
8db29af230cc4e79dae88fc0fbda2c692b2aa542
[]
no_license
impactlab/oeem-etl
6d8178e058809f5fbdd13ced42ac67df122282cd
49f8bbac73cc8e8e2a4f2ea1b6b8d6e2e89b7ef0
refs/heads/master
2020-04-15T15:02:46.898872
2016-08-22T20:24:12
2016-08-22T20:24:12
54,500,124
2
2
null
2016-08-19T03:12:01
2016-03-22T18:43:23
Python
UTF-8
Python
false
false
52
py
from .api import * from .requester import Requester
[ "ngo.phil@gmail.com" ]
ngo.phil@gmail.com
0710ded411247159e097e587b0a2b525ad3785dc
d24e5c08c9649eb41c7d88095677bb4e8e8e0ef6
/example notebooks/Nim with Minimax Agent.py
40271a6ea2903354f789e845d8b153148835aadd
[]
no_license
bblais/Game
ecc87f17a55b42e834004008c0164a9d834652f0
45d033de90143b434f1b86763f1aaea623c28526
refs/heads/master
2023-07-06T08:33:30.769244
2023-06-21T10:37:33
2023-06-21T10:37:33
36,812,662
1
1
null
null
null
null
UTF-8
Python
false
false
1,348
py
# coding: utf-8 # In[10]: from Game import * from Game.minimax import * # ## Minimum necessary functions # In[11]: def initial_state(): return 21 # In[12]: def valid_moves(state,player): if state==1: return [1] elif state==2: return [1,2] else: return [1,2,3] # In[...
[ "bblais@gmail.com" ]
bblais@gmail.com
e086644c097a3b5c37ff3dc5e3e7672153f88188
642526009a434c2a6e04fe0293279a151b216d0a
/dkube/sdk/internal/dkube_client/models/job_datum_model_workspace.py
92201a2c004a041a18e8aafe8c4769a562d6ed00
[]
no_license
mak-454/dkube-sdk
d4b8e7f7b1d8c0b0f64b10940ae42ab9d62f4654
d2ba78a0abbda589efc0dbd957d9a8f6fd227464
refs/heads/master
2022-12-26T03:17:55.627379
2020-05-09T17:29:08
2020-05-09T17:29:08
262,622,772
0
0
null
null
null
null
UTF-8
Python
false
false
3,808
py
# coding: utf-8 """ Dkube api server No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 OpenAPI spec version: 0.2.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 impor...
[ "ahmed.khan@oneconvergence.com" ]
ahmed.khan@oneconvergence.com
27e83769f0f729b24528f173ca807f3c6c447b00
e81445ea5d1ffa93e43541a0a8a087d5fc924d38
/lib/pyfrc/tests/iterative/__init__.py
00da4ce48bde4465fe615e83b667fe1094bcf9fb
[ "MIT" ]
permissive
virtuald/pyfrc
e31c3c82b2e7aab687e871d424bca0181de39a20
f04a70fecc2897129e2f1318a97304e7a9202d31
refs/heads/master
2023-09-04T15:28:15.083691
2014-12-13T07:06:32
2014-12-13T07:06:32
28,021,230
0
0
null
null
null
null
UTF-8
Python
false
false
507
py
''' These generic test modules can be applied to a :class:`wpilib.IterativeRobot` based robot. To use these, add the following to a python file in your tests directory:: from pyfrc.tests.iterative import * ''' # import common test types from ..docstring_test import test_docstrings # iterative...
[ "dustin@virtualroadside.com" ]
dustin@virtualroadside.com
da6a1faf93e32fb8f9894d448bc6605c4db66f75
ba2a05f20454bda428f140634bc602699f164fc4
/00.SSAFY/1.first-semester/algorithm/APS_Advance/20190326/9095_sum_1_2_3.py
bb3dce70fc7f6db7d0c2e52714767180a23eadb5
[]
no_license
snowink1137/TIL
734da402e99afa52f1af4ef996a6b274b1bcce0b
9e9c78eb0c892affc88e2d46e143cef98af743fb
refs/heads/master
2023-01-08T18:26:34.311579
2021-11-14T11:04:22
2021-11-14T11:04:22
162,255,934
0
0
null
2023-01-07T11:09:09
2018-12-18T08:32:44
Jupyter Notebook
UTF-8
Python
false
false
261
py
import sys sys.stdin = open('9095.txt', 'r') memo = [0] * 12 memo[1] = 1 memo[2] = 2 memo[3] = 4 for i in range(4, 12): memo[i] = memo[i-1] + memo[i-2] + memo[i-3] T = int(input()) for test_case in range(1, T+1): N = int(input()) print(memo[N])
[ "snowink1137@gmail.com" ]
snowink1137@gmail.com
24af0c02365b462b4443217c621589fb01e94301
fdffb36a36f503d3624b7e73c11c1eef1105e5de
/docs/source/conf.py
c762ffd99df5da8fd60f465c626d1a978a86a86e
[]
no_license
Gabri95/testdocs
352f2f82ff8e525e6de204a710d023fa574fdfb9
bb28dd78474426676c2327374b4cb041bfcad637
refs/heads/master
2020-09-07T05:36:01.390544
2019-11-09T18:00:58
2019-11-09T18:00:58
220,671,384
0
0
null
null
null
null
UTF-8
Python
false
false
2,290
py
# -*- coding: utf-8 -*- import sys import os import re sys.path.insert(0, os.path.abspath('../')) sys.path.insert(0, os.path.abspath('../../')) from sphinx.locale import _ from sphinx_rtd_theme import __version__ project = u'Read the Docs Sphinx Theme' slug = re.sub(r'\W+', '-', project.lower()) version = releas...
[ "gabriele.cesa@gmail.com" ]
gabriele.cesa@gmail.com
cc7971981e2f8f73d4fbb38cbab596ecba68c303
1afbc6db7973e87c9facf225c323885d411d9778
/智能软硬件 (python全栈系列)/stm32+mpy .(全国大学生电子设计大赛相关)/模块驱动代码/stm32-8266-mpy直控/t8266.py
1438074134f0f5a18435b1ce2521a8acb68eb4dc
[]
no_license
ctr54188/History
435e9849f3e3fc9c9c7a3654a777454f5c896dd1
8ff89195fc99ccec27bfdbd179943a393abe0d14
refs/heads/master
2023-05-19T13:10:01.194120
2021-06-13T15:41:31
2021-06-13T15:41:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,170
py
#task 8266 import mywifi import urequests,json import time mywifi.WIFI() #定义大量函数 在stm32端调用 任何print都是返回 #onenet def up(data_name,data_value): try: url="http://api.heclouds.com/devices/692830839/datapoints" headers={'api-key':'gjU2173SbsvrSi4OpLyK8IXW3tc='} temp_list = [] for ii i...
[ "ywzsunny2012@163.com" ]
ywzsunny2012@163.com
72c0ea740b95c65f3ac392d42f017591aff1ea07
e4bcf9a25b76f27914f6ff885d42798a827d0cca
/configs/hrnet/mask_rcnn_hrnetv2p_w32_1x.py
ecaf344f729509a91609a97acad27e387e064014
[ "Apache-2.0" ]
permissive
JKingKong/mmdetection
4fbdc6984730a012b3e827230419e1ac07421fd2
cfa22397194c592c25bd19e2f9f2f60f1ea699d3
refs/heads/master
2022-06-18T02:52:02.264347
2020-05-11T05:23:23
2020-05-11T05:23:23
256,152,248
0
0
null
null
null
null
UTF-8
Python
false
false
6,465
py
# model settings model = dict( type='MaskRCNN', pretrained='open-mmlab://msra/hrnetv2_w32', backbone=dict( type='HRNet', extra=dict( stage1=dict( num_modules=1, num_branches=1, block='BOTTLENECK', num_blocks=(4, ), ...
[ "1339064067@qq.com" ]
1339064067@qq.com
b26815ea21b314d6f57789e639f436984577c7be
b385fc2f18bbb43ec1bca1606b62ae83f33dcb2d
/Python Fundamentals/Lists Basics/05. Faro Shuffle/05. Faro Shuffle.py
4298548a1d58c76371714ebf001cac77f8bca4ff
[]
no_license
rishinkaku/Software-University---Software-Engineering
d9bee36de12affc9aed7fcc0b8b6616768340e51
b798a0c6927ef461491c8327451dd00561d836e4
refs/heads/master
2023-06-10T19:52:51.016630
2021-07-08T00:45:06
2021-07-08T00:45:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,574
py
""" A faro shuffle of a deck of playing cards is a shuffle in which the deck is split exactly in half and then the cards in the two halves are perfectly interwoven, such that the original bottom card is still on the bottom and the original top card is still on top. For example, faro shuffling the list ['ace', 'two', 't...
[ "66394357+DimAntDim@users.noreply.github.com" ]
66394357+DimAntDim@users.noreply.github.com
9c595bd68363a4924fe05283f2874be80fcba16d
f734a39a0c37186e90caea597f13000823c9e67a
/lintcode/Linked List/904. Plus One Linked List.py
cbe44d18f5723837b3f93771b2fea527e9fb8a8f
[ "MIT" ]
permissive
yanshengjia/algorithm
681746e0371a82860e64a279bfe4c83545469641
46caaf74aeab8af74861fb5b249eb4169baf8493
refs/heads/master
2022-08-02T20:15:57.927418
2022-07-17T14:43:51
2022-07-17T14:43:51
192,160,418
69
32
null
null
null
null
UTF-8
Python
false
false
1,348
py
""" Desc: Given a non-negative integer represented as non-empty a singly linked list of digits, plus one to the integer. You may assume the integer do not contain any leading zero, except the number 0 itself. The digits are stored such that the most significant digit is at the head of the list. Example1: Input: 1 -> 2...
[ "i@yanshengjia.com" ]
i@yanshengjia.com
974b198df70ce0a092b33413fbee5d2fea677b8a
2cd0a84aefb8a7141d1c8da99845a8ada0cc009c
/tensorflow/python/training/queue_runner_test.py
ef938d1984a608ef80ee202abd256befe05b9c3f
[ "Apache-2.0" ]
permissive
hholst80/tensorflow-old
d466cee96eac717524ab8e4ee85275ce28bb5d68
79df325975402e03df89747947ff5b7f18407c52
refs/heads/master
2022-12-20T22:07:40.427519
2016-05-13T09:57:24
2016-05-13T09:57:24
58,914,336
1
1
Apache-2.0
2022-12-09T21:52:14
2016-05-16T08:00:04
C++
UTF-8
Python
false
false
7,851
py
# Copyright 2015 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or a...
[ "henrik.holst@frostbite.com" ]
henrik.holst@frostbite.com
f52b09e0109dd85125efef64dd231e448a829a2d
0849923ebcde8f56a6e8550ae4f3c5ee3e2e0846
/apps/jobsub/src/jobsub/migrations/0005_unify_with_oozie.py
c3a184bcf05e66d8a576c6fcca89ff497e04495f
[ "Apache-2.0" ]
permissive
thinker0/hue
511a5796cdfe45e0b27f1d3309557ca60ce8b13b
ee5aecc3db442e962584d3151c0f2eab397d6707
refs/heads/master
2022-07-10T02:37:23.591348
2014-03-27T20:05:00
2014-03-27T20:05:00
12,731,435
0
0
Apache-2.0
2022-07-01T17:44:37
2013-09-10T14:13:42
Python
UTF-8
Python
false
false
10,476
py
# encoding: utf-8 import datetime from django.contrib.auth.models import User from django.utils.translation import ugettext as _ from south.db import db from south.v2 import DataMigration from django.db import models from oozie.importlib.jobdesigner import convert_jobsub_design from oozie.models import Workflow, Kill, ...
[ "abraham@elmahrek.com" ]
abraham@elmahrek.com
63458dcbaa4eb1b70b368a80789dced69ef6c8b7
5fee1d601c3d42df265e62b7b0f3a5791fca8c43
/backend/home/migrations/0002_load_initial_data.py
8cdb52de9deb1ecfff24dfc5bbe3509443f15e8d
[]
no_license
crowdbotics-apps/sendpart-22688
17c6199bf10705c7f8295d80115a85af434623d5
f704623b41e42c80cd60e45e9901f7a2babf2014
refs/heads/master
2023-01-07T10:31:16.148639
2020-11-17T02:37:04
2020-11-17T02:37:04
313,485,725
0
0
null
null
null
null
UTF-8
Python
false
false
1,286
py
from django.db import migrations def create_customtext(apps, schema_editor): CustomText = apps.get_model("home", "CustomText") customtext_title = "SendPart" CustomText.objects.create(title=customtext_title) def create_homepage(apps, schema_editor): HomePage = apps.get_model("home", "HomePage") ...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
23c6f43e329468ab45b63bb97c908689543e4688
2ad626387bbe540b859a976e18dbb972f8874059
/bookshelf/libs/auth.py
5c566dcdd6412687976d191f9f6582b1fb507c2b
[]
no_license
crabig/bookshelf
b5f62cea5114b11591c1d53037b82607bd8167bd
71848a112a8513b8161de13166758b83eef43b42
refs/heads/master
2022-04-19T08:58:15.758453
2020-04-02T07:15:37
2020-04-02T07:15:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
313
py
from django.contrib.auth import password_validation from django.core.exceptions import ValidationError def validate_password(raw_password): try: password_validation.validate_password(raw_password) except ValidationError as error: return False, error else: return True, None
[ "proofit404@gmail.com" ]
proofit404@gmail.com
3f9c59e98d501ae8f65173ac57efb626229cfd9d
e14605612c96d450bea1fca7fa9963105b6452fb
/tensorflow/python/ops/array_grad.py
2a463940d63d0d4677c09824a3a1990af866fc07
[ "Apache-2.0" ]
permissive
Yangqing/tensorflow
0bb9259398eac98dc8e9f48cc0b7506f4d5f8a24
18792c1fce7e12d36c0f1704cff15ed820cc6ff5
refs/heads/master
2023-06-20T21:11:52.483377
2015-11-11T21:16:55
2015-11-11T21:16:55
45,876,905
2
2
null
2015-11-11T21:16:55
2015-11-10T00:38:20
C++
UTF-8
Python
false
false
5,442
py
"""Gradients for operators defined in array_ops.py.""" from tensorflow.python.framework import ops from tensorflow.python.ops import array_ops from tensorflow.python.ops import constant_op from tensorflow.python.ops import math_ops from tensorflow.python.ops import gen_array_ops @ops.RegisterGradient("Pack") def _Pa...
[ "keveman@gmail.com" ]
keveman@gmail.com
d567fed56f5c06ac08fbc995d86aae58c65a0c72
bad85cd8d547a071baf4b6590f7e81d13ef1ec0d
/assistant/orders/migrations/0008_auto_20200821_0832.py
e60722d55ec90d7ca730a7e986bf5679aa54b9d2
[ "MIT" ]
permissive
kapiak/ware_prod
92e11671059642e14219d5aa8334e0564403db77
ae61256890834c434d2e38cc2ccacf00b638665a
refs/heads/master
2023-01-06T04:36:43.173093
2020-09-21T04:06:51
2020-09-21T04:06:51
310,320,165
0
0
null
null
null
null
UTF-8
Python
false
false
738
py
# Generated by Django 3.1 on 2020-08-21 08:32 from django.db import migrations import wagtail.contrib.table_block.blocks import wagtail.core.fields class Migration(migrations.Migration): dependencies = [ ('orders', '0007_auto_20200821_0831'), ] operations = [ migrations.AlterField( ...
[ "hamadeh.basel@gmail.com" ]
hamadeh.basel@gmail.com
d510c98167115b32ed17b4710b9ae8cff4424faa
9980cf4a0cb6f10dadea4e937cea50928b2c4fa7
/vueEcom/urls.py
acabd176797708b6ae87c5ca960de1aa6c940a37
[]
no_license
SK-Subroto/DjangoVueE-com
dce4d9dd3a4ed4d46890983349116e5d1b81f3d4
66e115e3930d857a37b8b4f5a0274eaa3b85f546
refs/heads/main
2023-06-09T21:42:32.735236
2021-06-29T04:24:01
2021-06-29T04:24:01
381,236,915
0
0
null
null
null
null
UTF-8
Python
false
false
1,037
py
"""vueEcom URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based...
[ "subroto35-1734@diu.edu.bd" ]
subroto35-1734@diu.edu.bd
8904b322623cad88790a2b078ad397798fb7b98b
e2081f2f873825a3cc8b529614eb784f5cf5e8c5
/findDuplicate.py
f4ba3fa3fb5be8c352171067f4168e893c74e017
[]
no_license
yilinanyu/Leetcode-with-Python
17b454058c673381dbafa5a2a154c4e84b449399
a55d2a3e383f858477170effbf8f6454e5dfd218
refs/heads/master
2021-01-21T04:55:31.025194
2016-07-11T20:10:18
2016-07-11T20:10:18
36,630,923
5
1
null
null
null
null
UTF-8
Python
false
false
397
py
class Solution(object): def findDuplicate(self, nums): """ :type nums: List[int] :rtype: int """ low, high = 1, len(nums)-1 while low <= high: mid = (low+high)/2 count = sum(x <= mid for x in nums) if count > mid: hi...
[ "ly783@nyu.edu" ]
ly783@nyu.edu
28d7232a604c793d1eb09dd5e0739c2b50f2c25b
ea50977a6a29b7d9a6fe32a692d0fa7cdcf67a07
/tests/helpers/install/test_reload_after_install.py
ac1417638fb54cf0a1dee7797aa00ffde7973c3a
[ "MIT" ]
permissive
ronwar/integration
9a257be2576bc29503a0677fca96d79538e04738
169324433e329e145abc86c24d169a75f4e0ad5a
refs/heads/master
2021-01-06T18:53:32.850472
2020-02-17T21:15:49
2020-02-17T21:15:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
625
py
"""Helpers: Install: reload_after_install.""" # pylint: disable=missing-docstring import pytest from custom_components.hacs.helpers.install import reload_after_install from tests.dummy_repository import dummy_repository_integration, dummy_repository_theme @pytest.mark.asyncio async def test_reload_after_install(): ...
[ "joasoe@gmail.com" ]
joasoe@gmail.com
65b44f1f934a4b5ac9ff1c25093e8caeac7bed0d
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_233/ch19_2020_04_29_12_54_28_455383.py
e8dfaf5d18b83f147877475d0e8e4e6c6c1c5598
[]
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
162
py
def classifica_triangulo(a, b, c): if a == b and b == c: return 'equilátero' if a == b or a == c or b == c: return 'isóceles' return 'escaleno'
[ "you@example.com" ]
you@example.com
67f2f39209ba08ec795f0437b5430b64f31312d1
91572d2234e4123da61d940c31e9b46d844ccd33
/pyopenvidu/openviduconnection.py
5a7dd07a80e7badb4f797560f5b4570fe9fc9ac7
[ "MIT" ]
permissive
ma7moudk-smartly/pyopenvidu
5c697941fd9e27add1bbf577fa6316ad4ef4c376
23ea80e2d816d47c1c90fb5558e8fac37f2e2f67
refs/heads/master
2023-02-08T02:33:13.746985
2020-12-30T16:42:27
2020-12-30T16:42:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,074
py
"""OpenViduConnection class.""" from typing import List, Optional from requests_toolbelt.sessions import BaseUrlSession from dataclasses import dataclass from .exceptions import OpenViduConnectionDoesNotExistsError, OpenViduSessionDoesNotExistsError from datetime import datetime from .openvidupublisher import OpenViduP...
[ "punkosdmarcell@rocketmail.com" ]
punkosdmarcell@rocketmail.com
ff944fb0885185755b0bee805614344c96e7add5
035629c5ff8ca90e5fb79c728c9da13c4f4b3bf2
/tfx/components/schema_gen/executor_test.py
b53894cee93164a6b0c60ae904ff89309fe3d432
[ "Apache-2.0" ]
permissive
tvalentyn/tfx
2d8e5177eb0921c501ce21c46ef902aae7e8c2e4
eef831e85d5c161e2d8b669f1a09fae6d1b2ef9d
refs/heads/master
2020-09-12T19:10:42.152481
2019-11-18T18:52:54
2019-11-18T18:54:05
222,521,611
0
0
Apache-2.0
2019-11-18T18:56:42
2019-11-18T18:56:41
null
UTF-8
Python
false
false
1,962
py
# Lint as: python2, python3 # Copyright 2019 Google LLC. 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 req...
[ "tensorflow-extended-team@google.com" ]
tensorflow-extended-team@google.com
3f8b8ad5b7464bf7243f1dc8618fd1861b4f7b62
ffd2e59e277b6906fc32e52ba9b9942000b12e6e
/0x15-api/0-gather_data_from_an_API.py
df554bafb47693046bafdc687e68cc7abedcad81
[]
no_license
mmoscovics/holberton-system_engineering-devops
52404ba27130c404828df0e43492e29418e006eb
5aaab2dd6ac941c347d16f510ade69693377ab82
refs/heads/master
2020-06-03T15:13:51.416570
2020-05-07T22:22:25
2020-05-07T22:22:25
191,622,525
0
1
null
null
null
null
UTF-8
Python
false
false
704
py
#!/usr/bin/python3 """Using this REST API, for given employee ID, returns to do list progress""" import requests from sys import argv if __name__ == "__main__": url = "https://jsonplaceholder.typicode.com/" user = requests.get(url + "users/" + argv[1]).json() name = user["name"] tasks = requests.get(u...
[ "mmoscovics@yahoo.com" ]
mmoscovics@yahoo.com
9a4b8a3312113a56dd6777288507c0f0cfff8f6c
93713f46f16f1e29b725f263da164fed24ebf8a8
/Library/lib/python3.7/site-packages/qtconsole/styles.py
be94d970491551394e45a5bcbfefa271f16c538e
[ "BSD-3-Clause" ]
permissive
holzschu/Carnets
b83d15136d25db640cea023abb5c280b26a9620e
1ad7ec05fb1e3676ac879585296c513c3ee50ef9
refs/heads/master
2023-02-20T12:05:14.980685
2023-02-13T15:59:23
2023-02-13T15:59:23
167,671,526
541
36
BSD-3-Clause
2022-11-29T03:08:22
2019-01-26T09:26:46
Python
UTF-8
Python
false
false
3,801
py
""" Style utilities, templates, and defaults for syntax highlighting widgets. """ #----------------------------------------------------------------------------- # Imports #----------------------------------------------------------------------------- from colorsys import rgb_to_hls from pygments.styles import get_style...
[ "nicolas.holzschuch@inria.fr" ]
nicolas.holzschuch@inria.fr
41217dd827d86747905a07ee8e909585ac4793b1
3ee0c019a7b10a7a78dfc07d61da5d2b3cf3ad27
/191017/swep_5249최소신장트리.py
2c542b9ae70af1241d9f0c73af8ce4b8c7482bf7
[]
no_license
JiminLee411/algorithms
a32ebc9bb2ba4f68e7f80400a7bc26fd1c3a39c7
235834d1a50d5054f064bc248a066cb51c0835f5
refs/heads/master
2020-06-27T01:37:55.390510
2019-11-14T08:57:16
2019-11-14T08:57:16
199,811,134
0
0
null
null
null
null
UTF-8
Python
false
false
811
py
import sys sys.stdin = open('swep_5249_input.txt') def mstPrim(v): D = [11] * (V + 1) D[v] = 0 val = [0] * (V + 1) cnt = V + 1 while cnt: u, MIN = 0, 12 for i in range(V + 1): if not visit[i] and MIN > D[i]: u, MIN = i, D[i] visit[u] = 1 ...
[ "wlals41189@gmail.com" ]
wlals41189@gmail.com
e12f13605d0a7fb01f514e207c6677e3772c87a8
977b17b2ea54c1a961d206a9f01e63391cc37a7c
/solutions/audio_similarity_search/quick_deploy/test_docker_compose.py
744ae2ac92bf9a8463f8616f4715532845e7799d
[ "Apache-2.0" ]
permissive
JackLCL/bootcamp
8ee2dec2b9a18e0c7d7d411e071470f31b4ba55c
9dec16f673b66e3a47b1113deb509ace07a47d9a
refs/heads/master
2023-03-22T16:47:56.308082
2022-06-28T03:20:11
2022-06-28T03:20:11
220,499,193
0
1
Apache-2.0
2020-06-10T11:06:54
2019-11-08T15:51:46
Python
UTF-8
Python
false
false
1,405
py
import requests import gdown import zipfile def download_audio_data(): url = 'https://drive.google.com/uc?id=1bKu21JWBfcZBuEuzFEvPoAX6PmRrgnUp' gdown.download(url) with zipfile.ZipFile('example_audio.zip', 'r') as zip_ref: zip_ref.extractall('./data') def test_drop(): response = requests.pos...
[ "shiyu.chen@zilliz.com" ]
shiyu.chen@zilliz.com
4805d9bff5953b052c6519b7a412e502b1cdffe5
080c13cd91a073457bd9eddc2a3d13fc2e0e56ae
/MY_REPOS/awesome-4-new-developers/tensorflow-master/tensorflow/python/data/kernel_tests/random_test.py
3d04546b4772de6a3189eba51b695371e3fe1be1
[ "Apache-2.0" ]
permissive
Portfolio-Projects42/UsefulResourceRepo2.0
1dccc8961a09347f124d3ed7c27c6d73b9806189
75b1e23c757845b5f1894ebe53551a1cf759c6a3
refs/heads/master
2023-08-04T12:23:48.862451
2021-09-15T12:51:35
2021-09-15T12:51:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,198
py
# Copyright 2020 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
[ "bryan.guner@gmail.com" ]
bryan.guner@gmail.com
67bff5d3b5f53787f6b2adf0f8ce8bdafe453b2d
a637b5db5cc2ead56d9da84ca4e2d2282b393a5c
/spistresci/stores/tests/datasource/test_generic.py
0b98f54475c66bcfaeec7fd86327c05a944508cb
[ "MIT" ]
permissive
noisy/SpisTresci
7d136214877f1ac5592560ca85781a1acdfe0bd9
7f871f74a0576d91b62c151ea526af11b3acda2c
refs/heads/master
2021-01-18T01:20:47.933982
2016-04-24T13:02:16
2016-04-24T13:02:16
56,930,392
1
0
null
2016-06-08T19:11:27
2016-04-23T16:55:42
Python
UTF-8
Python
false
false
8,517
py
from test_plus.test import TestCase from unittest.mock import patch, Mock, MagicMock, call from django.test.utils import override_settings from spistresci.stores.config import Config from spistresci.stores.datasource.generic import XmlDataSource from spistresci.stores.manager import StoreManager from spistresci.store...
[ "noisy.pl@gmail.com" ]
noisy.pl@gmail.com
d6fe9539679e8d568dd3fa00c9fa5071adc3c5e4
aaede22118321b709edbdb9c807cd52ff7f10bfd
/exercises/exc_02_02.py
19501d3605991ae11b95c42db74a6a6de46a1cb3
[ "MIT" ]
permissive
ulkutonbuloglu/py-for-neuro
41f0d8abd66889d76ef068b13c3d2f0734cd7108
277459014beb84604d54c349c6bc4b2cba6a9256
refs/heads/master
2023-04-22T13:28:40.256078
2021-05-04T17:14:36
2021-05-04T17:14:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
201
py
fibonacci_series = [0, 1] # first two values of series while ___(fibonacci_series) ___ ___: # condition for the length # add the new value fibonacci_series.___(___) print(fibonacci_series)
[ "rklymentiev@gmail.com" ]
rklymentiev@gmail.com
4938492f8e2481f9a45093fce2c89de392097747
b22588340d7925b614a735bbbde1b351ad657ffc
/athena/Simulation/G4Atlas/G4AtlasApps/test/test_AtlasG4_cosmics_configuration.py
6fd4811b6076b54115b732ccde903a61830b0ec5
[]
no_license
rushioda/PIXELVALID_athena
90befe12042c1249cbb3655dde1428bb9b9a42ce
22df23187ef85e9c3120122c8375ea0e7d8ea440
refs/heads/master
2020-12-14T22:01:15.365949
2020-01-19T03:59:35
2020-01-19T03:59:35
234,836,993
1
0
null
null
null
null
UTF-8
Python
false
false
17,308
py
#!/usr/bin/env python import pickle import subprocess import unittest import os class TestAtlasG4Cosmics(unittest.TestCase): @classmethod def setUpClass(cls): config_picklefilename = 'AtlasG4Cosmics_config.pkl' command = [ 'AtlasG4_tf.py', '--athenaopts', '"--config-o...
[ "rushioda@lxplus754.cern.ch" ]
rushioda@lxplus754.cern.ch
def169ee9056eaa842fac83a407d9e4fe98eadd5
3319aeddfb292f8ab2602840bf0c1e0c2e5927be
/python/fp/lists.py
ccb0c857fc2aa5458d4ad2cadced3d896d8aca44
[]
no_license
slaash/scripts
4cc3eeab37f55d822b59210b8957295596256936
482fb710c9e9bcac050384fb5f651baf3c717dac
refs/heads/master
2023-07-09T12:04:44.696222
2023-07-08T12:23:54
2023-07-08T12:23:54
983,247
4
2
null
null
null
null
UTF-8
Python
false
false
79
py
#!/usr/bin/python l=range(0,100) i=iter(l) for i in iter(l): print(i)
[ "rmoisa@yahoo.com" ]
rmoisa@yahoo.com
d66f55673cf2057f85cac998e95c9393c4a3fc95
e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f
/indices/neal.py
a9b23af628c29baef5be38fc3499691d0ef5fd97
[]
no_license
psdh/WhatsintheVector
e8aabacc054a88b4cb25303548980af9a10c12a8
a24168d068d9c69dc7a0fd13f606c080ae82e2a6
refs/heads/master
2021-01-25T10:34:22.651619
2015-09-23T11:54:06
2015-09-23T11:54:06
42,749,205
2
3
null
2015-09-23T11:54:07
2015-09-18T22:06:38
Python
UTF-8
Python
false
false
274
py
ii = [('CookGHP3.py', 1), ('WilbRLW4.py', 1), ('AdamWEP.py', 1), ('ClarGE2.py', 3), ('AdamHMM.py', 1), ('ClarGE.py', 11), ('GilmCRS.py', 1), ('DaltJMA.py', 1), ('GodwWLN.py', 2), ('SoutRD2.py', 3), ('WheeJPT.py', 2), ('MereHHB.py', 1), ('DibdTRL.py', 1), ('SadlMLP2.py', 1)]
[ "prabhjyotsingh95@gmail.com" ]
prabhjyotsingh95@gmail.com
b1a7fc689b623866f4aec9ced8da6ca250e1cc48
e5cd01fd620e8e746a20b883de7ac32bec4feb5c
/Ejercicios python/PE7/PE7E4.py
1b13263e7dde6dfb7f5fa46c512b4da81767aed9
[]
no_license
eazapata/python
0f6a422032d8fb70d26f1055dc97eed83fcdc572
559aa4151093a120527c459a406abd8f2ff6a7d8
refs/heads/master
2020-08-27T09:19:29.395109
2019-11-23T20:11:14
2019-11-23T20:11:14
217,314,818
0
0
null
null
null
null
UTF-8
Python
false
false
422
py
#Escribe un programa que pida una frase, y le pase como #parámetro a una función dicha frase. La función debe #sustituir todos los espacios en blanco de una frase #por un asterisco, y devolver el resultado para que el #programa principal la imprima por pantalla. def quitaespacio(x): x=x.replace(" ","*"); retu...
[ "you@example.com" ]
you@example.com
8531ff31b3ebfe39de4f571d391d90a7f0ade912
9795dda526b3436de26c73353021a0651a6762f9
/example/wxpython/图形按钮组件封装测试.py
d53fbaf9305e953572ac050f909f31e672a223de
[ "Apache-2.0" ]
permissive
brucekk4/pyefun
891fc08897e4662823cf9016a680c07b31a8d5be
1b4d8e13ee2c59574fded792e3f2a77e0b5e11a2
refs/heads/master
2023-07-10T03:54:11.437283
2021-08-23T17:46:19
2021-08-23T17:46:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,178
py
import pyefun.wxefun as wx class 窗口1(wx.窗口): def __init__(self): self.初始化界面() def 初始化界面(self): #########以下是创建的组件代码######### wx.窗口.__init__(self, None, title='易函数视窗编程系统', size=(600, 369), name='frame', style=wx.窗口边框.普通可调边框& ~(wx.MAXIMIZE_BOX)) self.容器 = wx.容器(self) ...
[ "ll@163.com" ]
ll@163.com
8f35b00ec2863b4bc1ed7fe3a963aa23f295757d
b57b0a14df5c6841f04cccb7b02ad04afbca18f8
/istio/tests/test_istio_1_5.py
3b34e35c23c2b215618191c3b6ee30ea493de837
[ "AFL-3.0", "BSD-3-Clause-Modification", "LGPL-3.0-only", "Unlicense", "LGPL-2.1-only", "BSD-3-Clause", "Apache-2.0", "BSD-2-Clause" ]
permissive
zeroc0d3/integrations-core
d9c99803c049668b7f9f9c796d338e343d3d46ee
634d567f3c38d32aabb3f4c16b50bcfa8a4ae0fb
refs/heads/master
2021-09-28T18:37:00.650406
2021-09-13T11:59:45
2021-09-13T11:59:45
199,758,958
0
0
BSD-3-Clause
2019-07-31T02:01:25
2019-07-31T02:01:24
null
UTF-8
Python
false
false
3,149
py
# (C) Datadog, Inc. 2020-present # All rights reserved # Licensed under Simplified BSD License (see LICENSE) import requests_mock from datadog_checks.dev.utils import get_metadata_metrics from datadog_checks.istio import Istio from . import common from .utils import _assert_tags_excluded, get_response def test_lega...
[ "noreply@github.com" ]
zeroc0d3.noreply@github.com
ac7938005be2abd036a827eb5074e581c46cf254
13b1ece281a1eaa0cac2706c14f1d4c190f73c2b
/Assignment 3/flood_fill_solutions/BMC201955/BMC201955.py
149f4a1fda7450ab05aa6732a5ca52691108105c
[]
no_license
bhi5hmaraj/APRG-2020
0c995f79cc50108956d1bd0ceed8d7cb6d96f34e
7e11c14a02d48d52b547696fc930f38c586ce0da
refs/heads/master
2022-07-17T09:41:58.947321
2020-05-21T12:34:46
2020-05-21T12:34:46
236,176,133
0
0
null
null
null
null
UTF-8
Python
false
false
1,177
py
import sys lst = list(map(int,input().split(" "))) lst1 = list(map(int,input().split(" "))) (m,n) = (lst[0],lst[1]) (p,q) = (lst1[0],lst1[1]) matrix = [] for i in range(n): matrix.append(list(map(int,input().split(" ")))) lsst = [[0]*m]*m for i in range(n): a = matrix[i][0] b = matrix[i][1] ...
[ "srinidhin@outlook.com" ]
srinidhin@outlook.com
618c8454e39c26836efdcd1b025c4b926ae44d83
67ef0a3f31c141e0cb156cb3d278091e63b32dfd
/0x07-python-test_driven_development/4-print_square.py
5c4a6a2d4961caeeb26163218545e2b26947a288
[]
no_license
Orcha02/holbertonschool-higher_level_programming
7078ac665f027b845a55a8499764cfce78d89eec
1d0136aef388ede1ecbe625b303e07c177fee52e
refs/heads/main
2023-08-22T10:04:56.495834
2021-09-23T02:56:36
2021-09-23T02:56:36
361,823,730
1
2
null
null
null
null
UTF-8
Python
false
false
448
py
#!/usr/bin/python3 """ Function that prints a square """ def print_square(size): """ function that prints a square with the character #. """ if type(size) is not int: raise TypeError("size must be an integer") if size < 0: raise ValueError("size must be >= 0") if type(size) is float an...
[ "orcha2002@gmail.com" ]
orcha2002@gmail.com
4034376ae7eccd5f9a0ccefb3a5ca1d3a8526926
023fc76dfce8366062028d386bdb08407d2bec79
/src/custom_extension_davidlopes.py
40b4a8f9d715eb5cf7bd57990ae74b75346b77c8
[]
no_license
dlopes7/accenture-training-plugins
60fb0c6a83e73cc3f9039d704f7b02f66dedd1a5
931f0592c3a109452fe4069b8e9bd577511a9fa2
refs/heads/master
2022-10-08T15:41:47.103779
2020-06-05T19:33:53
2020-06-05T19:33:53
269,724,007
0
0
null
null
null
null
UTF-8
Python
false
false
1,447
py
import requests import logging from ruxit.api.base_plugin import RemoteBasePlugin log = logging.getLogger(__name__) class CustomExtensionDavidLopes(RemoteBasePlugin): def query(self, **kwargs): meu_nome = "David Lopes" log.info("Extension executando!") grupo = self.topology_builder.crea...
[ "davidribeirolopes@gmail.com" ]
davidribeirolopes@gmail.com
071e915b9f4f0fb968ac51115b47470507899e6e
89a3cb6e0625e7ae8d3d4c12bf5214557d344059
/Report_[2017-05-13]_Box_Spline_Initial_Analysis/box_mesh[6-8-2017 max-side-len verbose].py
91afd0bec85321cdbf04efb580f2f16d4754acf1
[]
no_license
tchlux/VarSys
e5adc802bbf8149bd3584d350bb429c24d4cbdd8
313a3029d838520d30ce960fa56a897ba9180037
refs/heads/master
2023-07-20T10:58:34.901566
2020-09-22T15:37:45
2020-09-22T15:37:45
108,617,499
0
0
null
2023-07-06T21:13:39
2017-10-28T03:44:31
null
UTF-8
Python
false
false
23,062
py
# WARNING: This 'max-side-len' box mesh construction code cannot # handle data with shared x or y coordinates (allowing for # more than 2*dimension neighbors) # WARNING: This 'max-side-len' box mesh construction code does not # properly expand into higher dimension than x \in # R^2. ...
[ "thomas.ch.lux@gmail.com" ]
thomas.ch.lux@gmail.com
1bcdd525c0ab3623c6d017154cb036bf15b79a66
3950896bb3dcf9a03a9682a17b42bfa3feda3885
/src/vaytrou/vaytrou/tests.py
d931ef4e7366752af20398333357cc1120abb5ae
[]
no_license
sgillies/vaytrou
c02c38579565ddb0d1782600537113e9eafb38b0
89385800491f36a774e8fc4eddd79952a982f115
refs/heads/master
2016-09-09T22:54:00.789976
2013-06-21T23:29:19
2013-06-21T23:29:19
884,337
2
1
null
2016-02-26T00:04:56
2010-09-02T20:59:45
Python
UTF-8
Python
false
false
1,063
py
import shutil import tempfile import vaytrou.admin # Admin tests def test_admin(): admin = vaytrou.admin.IndexAdmin() def foo(*args): pass admin.foo = foo admin.run(['foo', 'bar', 'x']) admin.run(['help', 'info']) admin.run(['info', '--help']) def test_ro_commands(): data = tempf...
[ "sean.gillies@gmail.com" ]
sean.gillies@gmail.com
0878fdbae5fcd996435a304fd52aa773374222d7
90c6262664d013d47e9a3a9194aa7a366d1cabc4
/tests/storage/cases/test_KT1NyvbQNkxTVanX4BHohcJ64NyA68ZgQfzE.py
4e3422ecc498a42b1713e07178bccf64f7472514
[ "MIT" ]
permissive
tqtezos/pytezos
3942fdab7aa7851e9ea81350fa360180229ec082
a4ac0b022d35d4c9f3062609d8ce09d584b5faa8
refs/heads/master
2021-07-10T12:24:24.069256
2020-04-04T12:46:24
2020-04-04T12:46:24
227,664,211
1
0
MIT
2020-12-30T16:44:56
2019-12-12T17:47:53
Python
UTF-8
Python
false
false
1,130
py
from unittest import TestCase from tests import get_data from pytezos.michelson.converter import build_schema, decode_micheline, encode_micheline, micheline_to_michelson class StorageTestKT1NyvbQNkxTVanX4BHohcJ64NyA68ZgQfzE(TestCase): @classmethod def setUpClass(cls): cls.maxDiff = None cls....
[ "mz@baking-bad.org" ]
mz@baking-bad.org
8a7403ed5ad850d888a8b77975d30d6748ac5cfd
38d00b7c5335ecfeee9cd8efdc0d5526ac60102c
/lenskit/algorithms/tf/__init__.py
dc8c5ce09959e2b4f476bf9f2d8171857ee515fb
[ "MIT" ]
permissive
carlos10seg/lkpy
ce07791f241099a4c1e844ba802c7da37e379fb7
7bb2b78a5315a19a182a3d64995c48dbbd42d9d8
refs/heads/master
2023-01-19T02:04:57.192293
2020-11-24T00:06:39
2020-11-24T00:06:39
266,886,328
0
0
MIT
2020-11-23T23:50:32
2020-05-25T21:45:48
Python
UTF-8
Python
false
false
500
py
""" TensorFlow-based algorithms. """ import logging from .util import have_usable_tensorflow from .biasedmf import BiasedMF # noqa: F401 from .ibmf import IntegratedBiasMF # noqa: F401 from .bpr import BPR # noqa: F401 from lenskit.util.parallel import is_mp_worker TF_AVAILABLE = have_usable_te...
[ "michaelekstrand@boisestate.edu" ]
michaelekstrand@boisestate.edu
3b85f1cf324080852822ab4ad0d215c4ba3c2e10
666e6233275d23dda84a24fa55aa38243ec91536
/src/toolshelf/commands/pull.py
cbd24b00f1060b32a525213163e46711a39faee9
[ "MIT" ]
permissive
catseye/toolshelf
5f4dbf8902ddbe4c3fcb2d240fc5b3a977ed2cb0
d597455a57610d34658fa37a3ec8c780996cd65f
refs/heads/master
2020-12-24T06:02:39.836314
2017-05-31T13:42:36
2017-05-31T13:42:36
4,310,103
6
2
null
null
null
null
UTF-8
Python
false
false
497
py
""" Pull latest revision of specified sources from each's upstream repository. Upstream repo is always the external source from which it was originally docked. Does not work on distfile-based sources. pull {<docked-source-spec>} """ # TODO: figure out how to propogate was_changed to a subsequent 'build' from tool...
[ "cpressey@catseye.tc" ]
cpressey@catseye.tc
72390b880a83eaa83dcc10b3c8aa9ade7d362a74
043a17d196250048a5a34e990a19d8622436f9ce
/trainingday04/apple_pineapple/pikotaro.py
7eca21f43e639d92300bf23bc479ac724ba2c319
[]
no_license
chimtrangbu/hyperspace
8df8cb9c5475b70b218d0a56034c7f520815fa0d
ec49324c705e9af61c3857cf2dea2a551bda5537
refs/heads/master
2020-03-26T07:18:34.249976
2018-12-20T05:16:55
2018-12-20T05:16:55
144,647,659
0
0
null
null
null
null
UTF-8
Python
false
false
537
py
# Creating a function for return lyrics of pineapple pen def apple_pen(first_ingredient, second_ingredient): des = ['I have a pen, I have a apple\nUh! Apple-Pen!'] des.append('I have a pen, I have a pineapple\nUh! Pineapple-Pen!') des.append('I have a pen, I have a pen\nUh! Long pen!') dic = [['pen', 'a...
[ "you@example.com" ]
you@example.com
01945a6a9fe9671dde25ee92c1525856eac4cfcc
12f6466ba8fad1293e78ee123ad56938bd515a16
/and_or.py
61febdeeaae77f6e04f213087888888a5d958498
[]
no_license
greshem/develop_python
9dd1eaac4137b0c5b5b9f822bba07a8d6fa0f9ae
ddd370a35c63a89c5885f0918e3fe1d44c2a3069
refs/heads/master
2021-01-19T01:53:09.502670
2017-10-08T12:14:33
2017-10-08T12:14:33
45,077,612
1
0
null
null
null
null
UTF-8
Python
false
false
184
py
import os import re if not os.path.exists("test4.py") and not 0: print "There is no gtest.zip" def check_env(): if 1==find_bake and 1==find_vc2003: return 1 else: return 0
[ "qianzhongjie@gmail.com" ]
qianzhongjie@gmail.com
c9377460124a516d9b3e84d11eb0cd06931ea316
0fd5793e78e39adbfe9dcd733ef5e42390b8cc9a
/python3/06_Collections/04_Dictionaries/m_dict_deepcopy.py
f87a64bcfe2a9745cf195aea1c8c7a956c93a781
[]
no_license
udhayprakash/PythonMaterial
3ea282ceb4492d94d401e3bc8bad9bf6e9cfa156
e72f44e147141ebc9bf9ec126b70a5fcdbfbd076
refs/heads/develop
2023-07-08T21:07:33.154577
2023-07-03T10:53:25
2023-07-03T10:53:25
73,196,374
8
5
null
2023-05-26T09:59:17
2016-11-08T14:55:51
Jupyter Notebook
UTF-8
Python
false
false
742
py
import copy from pprint import pp payload = { "DOB": "-", "age": 25, "education": {"college": "Yale", "highschool": "N/A"}, "hobbies": ["running", "coding", "-"], "name": {"first": "Robert", "last": "Smith", "middle": ""}, } pp(payload) payload1 = copy.deepcopy(payload) for key, value in payloa...
[ "uday3prakash@gmail.com" ]
uday3prakash@gmail.com
30fee447c48fbadf60c4992516d343c3172117ad
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_135/1920.py
90cfffa52cf142046f944f67dd669ef10263e345
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
617
py
import sys cases = int(sys.stdin.readline()) for i in range(1,cases+1): r1 = int(sys.stdin.readline()) board1 = [] for j in range(4): board1.append(set(sys.stdin.readline().strip().split())) r2 = int(sys.stdin.readline()) board2 = [] for j in range(4): board2.append(set(sys.s...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
1505ecdc491bd9721b4650ce6eda55cdbee0446a
fdefd1f4b402620d7a9cc1f5ca8ed522c54bec4a
/torch_geometric/nn/conv/dna_conv.py
2b90319e7c9fa0d0e6415824ba077d9d74642c10
[ "MIT" ]
permissive
Lotayou/pytorch_geometric
75f9ee187503fed9b70a800e5d768ecb91719d9f
09ef8e3a510de3336f092a5dc1ede290b1c5cdb8
refs/heads/master
2020-05-07T22:24:52.701826
2019-04-12T05:24:52
2019-04-12T05:24:52
174,668,900
1
0
MIT
2019-03-09T08:36:42
2019-03-09T08:36:41
null
UTF-8
Python
false
false
9,892
py
from __future__ import division import math import torch from torch import Tensor from torch.nn import Parameter import torch.nn.functional as F from torch_geometric.nn.conv import MessagePassing, GCNConv from ..inits import uniform, kaiming_uniform class Linear(torch.nn.Module): def __init__(self, in_channels...
[ "matthias.fey@tu-dortmund.de" ]
matthias.fey@tu-dortmund.de
e58c5f71e7e0260f7e30521044465cd8a9326093
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02778/s173819636.py
68ef04cad2b1b6d8ccded1faecc1b0de046a7534
[]
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
46
py
S=input() l=len(S) X='x'*l X=str(X) print(X)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
0b0864d7bcd9a8bbbafc7d85f9f8e90a96bd8a47
d94b6845aeeb412aac6850b70e22628bc84d1d6d
/metapose/launch_anipose.py
928740a6681f6e2cee01b6aa52cdd923c73d23b3
[ "CC-BY-4.0", "Apache-2.0" ]
permissive
ishine/google-research
541aea114a68ced68736340e037fc0f8257d1ea2
c1ae273841592fce4c993bf35cdd0a6424e73da4
refs/heads/master
2023-06-08T23:02:25.502203
2023-05-31T01:00:56
2023-05-31T01:06:45
242,478,569
0
0
Apache-2.0
2020-06-23T01:55:11
2020-02-23T07:59:42
Jupyter Notebook
UTF-8
Python
false
false
7,366
py
# coding=utf-8 # Copyright 2023 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
d183fc7c9346569cfd30247f70f6d734d228465a
54f352a242a8ad6ff5516703e91da61e08d9a9e6
/Source Codes/AtCoder/abc066/B/4898222.py
d42241014312de127729cea09494cd0e85291565
[]
no_license
Kawser-nerd/CLCDSA
5cbd8a4c3f65173e4e8e0d7ed845574c4770c3eb
aee32551795763b54acb26856ab239370cac4e75
refs/heads/master
2022-02-09T11:08:56.588303
2022-01-26T18:53:40
2022-01-26T18:53:40
211,783,197
23
9
null
null
null
null
UTF-8
Python
false
false
182
py
s = input() found = 0 for i in range(len(s)): if i % 2 == 0 and i >= 2: t = s[:i//2] t2 = s[i//2:i] if t == t2: found = i print(found)
[ "kwnafi@yahoo.com" ]
kwnafi@yahoo.com
6edd0b38fb67914d917cc619077312985109a170
94eed60e05689e25f9070e80ad7e4fc3092d9df4
/Languages/Python/python_study_3/page10/script.py
8fdc9c00a26f834116e701e6e8cdaaafd65dbe91
[ "MIT" ]
permissive
myarist/Progate
0998e79f786db7a93ebd7488494427c3156729c7
0132583c989b5ec1805d4de1a6f6861586cf152e
refs/heads/main
2023-05-09T05:52:12.476226
2021-06-07T21:26:48
2021-06-07T21:26:48
363,348,949
13
17
null
null
null
null
UTF-8
Python
false
false
734
py
def validate(hand): if hand < 0 or hand > 2: return False return True def print_hand(hand, name='Tamu'): hands = ['Batu', 'Kertas', 'Gunting'] print(name + ' memilih: ' + hands[hand]) print('Memulai permainan Batu Kertas Gunting!') player_name = input('Masukkan nama Anda: ') print('Pilih tang...
[ "aristyanto2320@gmail.com" ]
aristyanto2320@gmail.com
1086b526a49d9b0593b4fd44ca8ffb61a9479f33
6e820756b82ffbe9837348937e53f1a0ce0e6cca
/Lib/site-packages/sklearn/datasets/tests/test_openml.py
fa6b53d5132cbf961f655908b2a6fbb64b0f596f
[]
no_license
AndreasPatsimas/pms_papei
c2afd941de6ae234dd37784d746e794183ebb8d3
da10220ea468304c1066bed55b8f92ba9e5ada8a
refs/heads/master
2023-02-01T23:33:39.221747
2020-12-19T12:17:59
2020-12-19T12:17:59
321,115,913
0
0
null
null
null
null
UTF-8
Python
false
false
46,761
py
"""Test the openml loader. """ import gzip import json import numpy as np import os import re import scipy.sparse import sklearn import pytest from sklearn import config_context from sklearn.datasets import fetch_openml from sklearn.datasets._openml import (_open_openml_url, _arff...
[ "45208441+AndreasPatsimas@users.noreply.github.com" ]
45208441+AndreasPatsimas@users.noreply.github.com
6039f8ee977f5399c2aaed1a5625f75043522394
753f729f33a1b00a0a7f5c78d217cc4c609aee6f
/n8_ModelSerializerWithValidation/myapp.py
0a8637deb4c33d80069f5136d3b71d71f0090cd9
[]
no_license
nayan-gujju/DRF-Code
874114a861042d558112f1a8ec95daf1356d5493
6fb3fdd5dde352e7b6e3a7363da0e7a3057b1ede
refs/heads/master
2023-08-06T12:42:23.551603
2021-10-06T11:34:54
2021-10-06T11:34:54
404,650,413
0
0
null
null
null
null
UTF-8
Python
false
false
2,075
py
import requests from json import dumps URL = 'http://127.0.0.1:8000/studentapi/' print('1 :- Show Data ') print('2 :- Post Data ') print('3 :- Update Data ') print('4 :- Delete Data ') print('0 :- Exit') i = int(input('Select :-')) if i != 0: if i == 1: def get_data(id =None ): data = {} ...
[ "nayangujarati007@gmail.com" ]
nayangujarati007@gmail.com
cb04d5f9ab7bfb0965d62e71f74e129d11a3160b
a045055cb41f7d53e1b103c3655a17dc4cd18d40
/python-master/kubernetes/test/test_v1_service_account.py
f293473d1f873a3871948a5262490833566096ea
[]
no_license
18271693176/copy
22f863b180e65c049e902de0327f1af491736e5a
ff2511441a2df03817627ba8abc6b0e213878023
refs/heads/master
2020-04-01T20:20:28.048995
2018-11-05T02:21:53
2018-11-05T02:21:53
153,599,530
0
0
null
null
null
null
UTF-8
Python
false
false
962
py
# coding: utf-8 """ Kubernetes No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1.10.0 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import os import sys i...
[ "906317366@qq.com" ]
906317366@qq.com
4f17b9642923971d36bd340e30cf3088aa9e4934
55540f3e86f1d5d86ef6b5d295a63518e274efe3
/toolchain/riscv/MSYS/python/Lib/test/test_macpath.py
09609c89ed3cbbeca84d8e94c33db3bb69321b4a
[ "bzip2-1.0.6", "LicenseRef-scancode-proprietary-license", "OpenSSL", "Python-2.0", "LicenseRef-scancode-newlib-historical", "TCL", "LicenseRef-scancode-warranty-disclaimer", "Apache-2.0" ]
permissive
bouffalolab/bl_iot_sdk
bc5eaf036b70f8c65dd389439062b169f8d09daa
b90664de0bd4c1897a9f1f5d9e360a9631d38b34
refs/heads/master
2023-08-31T03:38:03.369853
2023-08-16T08:50:33
2023-08-18T09:13:27
307,347,250
244
101
Apache-2.0
2023-08-28T06:29:02
2020-10-26T11:16:30
C
UTF-8
Python
false
false
6,503
py
from test import test_genericpath import unittest import warnings with warnings.catch_warnings(): warnings.filterwarnings("ignore", "the macpath module is deprecated", DeprecationWarning) import macpath class MacPathTestCase(unittest.TestCase): def test_abspath(...
[ "jczhang@bouffalolab.com" ]
jczhang@bouffalolab.com
8d95f2bc1c41be1b6ca1d84d99bd5e5e5bc06e88
0602950895302e66a09fa04341bd2261e88b7c9a
/py/runs.py
4844891237db8d969a60b986a28179e152f694a5
[]
no_license
DriftingPig/Obi-Metallica
813b6980a8a13f94468f32baf4f3565e0d0ee866
c8c53ff429df2a5ee6dfbd4d6c3f3fd6a313a387
refs/heads/master
2021-01-08T16:43:55.713559
2020-03-12T13:37:38
2020-03-12T13:37:38
242,082,180
2
0
null
null
null
null
UTF-8
Python
false
false
3,137
py
""" Grabs, configures, and otherwise sets up a production run on eBOSS DR3 data or DR5 data """ import os from glob import glob import numpy as np from obiwan.common import stack_tables from astrometry.util.fits import fits_table, merge_tables DOWNLOAD_ROOT = "http://portal.nersc.gov/project/desi/users/kburleigh/obi...
[ "kong.291@osu.edu" ]
kong.291@osu.edu
6e16eb02377cc610a5fc96b60340c6eb5e836481
99701affb7ae46c42c55484f3301d59f79294a10
/project/Examples/Examples/PP2E/Gui/Intro/gui6old.py
0040a9f75fa64b7ac4def2b0ad5feaaf1eb761dc
[]
no_license
inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall
1050b9e9bddb335bf42b7debf2abebe51dd9f9e0
0f650a97d8fbaa576142e5bb1745f136b027bc73
refs/heads/master
2021-01-21T21:48:21.326372
2016-04-06T20:05:19
2016-04-06T20:05:19
42,902,523
7
1
null
null
null
null
UTF-8
Python
false
false
563
py
from Tkinter import * # get the Tk module class Hello(Frame): # subclass our app def __init__(self, parent=None, config={}): Frame.__init__(self, parent, config) # do superclass init self.pack() self.make_widgets() ...
[ "inteljack2008@gmail.com" ]
inteljack2008@gmail.com
891f68a8b691e05dfb245b2825d8c9c05a83c14e
4cf3f8845d64ed31737bd7795581753c6e682922
/.history/main_20200118155711.py
579c251674633884c265e4329491161f02edf12d
[]
no_license
rtshkmr/hack-roll
9bc75175eb9746b79ff0dfa9307b32cfd1417029
3ea480a8bf6d0067155b279740b4edc1673f406d
refs/heads/master
2021-12-23T12:26:56.642705
2020-01-19T04:26:39
2020-01-19T04:26:39
234,702,684
1
0
null
2021-12-13T20:30:54
2020-01-18T08:12:52
Python
UTF-8
Python
false
false
915,259
py
from telegram.ext import Updater, CommandHandler import requests import re # API call to source, get json (url is obtained): contents = requests.get('https://random.dog/woof.json').json() image_url = contents['url'] def get_url(): contents = requests.get('https://random.dog/woof.json').json() url = cont...
[ "ritesh@emerald.pink" ]
ritesh@emerald.pink
7e8cc3b4ca930ac19369e2a13d9e2d0f32445536
c3f8a8b903aa2a37b431d987706c4fcd5f427898
/tools/py/driver/__init__.py
e134aac7c9c10e05e88d8985cda76ad024987e4f
[ "Apache-2.0" ]
permissive
distobj/versa
d7102a0b6940eba4bf673296fcb2cefeca34e1b8
fd9461937181bdbbd91b513ffaed6ec73050c2b3
refs/heads/master
2021-01-09T08:11:47.446098
2014-12-03T14:52:22
2014-12-03T14:52:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,516
py
''' [ (origin, rel, target, {attrname1: attrval1, attrname2: attrval2}), ] The optional attributes are metadata bound to the statement itself ''' class connection_base(object): def query(expr): '''Execute a Versa query''' raise NotImplementedError def match(self, origin=None, rel=None, ...
[ "uche@ogbuji.net" ]
uche@ogbuji.net
66a5a53864020275cc46b410cc8333aecbbe67da
ea4e3ac0966fe7b69f42eaa5a32980caa2248957
/download/unzip/pyobjc/pyobjc-14/pyobjc/stable/PyOpenGL-2.0.2.01/OpenGL/Demo/twburton/knot.py
f0404071989f56ef5d9c7cbff8c7a85061a490bc
[]
no_license
hyl946/opensource_apple
36b49deda8b2f241437ed45113d624ad45aa6d5f
e0f41fa0d9d535d57bfe56a264b4b27b8f93d86a
refs/heads/master
2023-02-26T16:27:25.343636
2020-03-29T08:50:45
2020-03-29T08:50:45
249,169,732
0
0
null
null
null
null
UTF-8
Python
false
false
5,450
py
#! # This is statement is required by the build system to query build info if __name__ == '__build__': raise Exception from OpenGL.GL import * from OpenGL.GLU import * from OpenGL.GLE import * from OpenGL.GLUT import * from math import * from Numeric import * from random import * import string def ...
[ "hyl946@163.com" ]
hyl946@163.com
2a60f021ea9140efdbc88c168a1610ab216524f9
cf4e5165a8408344a4c62e63a0fd2d0fe6308b37
/00-2017/基础班/学生管理系统.py
310050f07f7ae7ca9709baea7d84ccfce3d87545
[]
no_license
kennycaiguo/Heima-Python-2018
5f8c340e996d19f2b5c44d80ee7c144bf164b30e
a8acd798f520ec3d079cc564594ebaccb9c232a0
refs/heads/master
2021-01-08T10:54:18.937511
2019-09-01T14:37:49
2019-09-01T14:37:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,121
py
#coding=utf-8 #auther:microease studentInfos = [{'name': 'huyankai', 'sex': '男', 'phoneNumber': '15172332476'}] #有重复代码,需要完善 while True: print("*"*30) print("欢迎使用系统") print("1:添加新名字") print("2:删除一个名字") print("3:修改一个名字") print("4:查询一个名字") print("5:遍历所有的名字") print("0:退出系统") print("*"*30) key = input("请输入您想要的选项...
[ "microease@163.com" ]
microease@163.com
6214e02d35be221e2ed36877d500284ba9c67da6
1cb5abf0814b028b3ac996d39033a74dbf85753b
/studying_codes/q_num_10869.py
d9ec0b359b575ca0307a52cc63f317b6b1a1c784
[]
no_license
kimsehwan96/studying_python
fd7310204a75b94d95497f1ddb3ad39763340fde
5b22926230f936abbddccb10401d53d6e1bb9934
refs/heads/master
2023-02-09T07:27:39.999164
2021-01-02T09:18:13
2021-01-02T09:18:13
242,378,529
1
0
null
2020-04-22T15:10:14
2020-02-22T17:02:02
Python
UTF-8
Python
false
false
67
py
a=10 b=2 print(a+b) print(a-b) print(a*b) print(a//b) print(a%b)
[ "sktpghks138@gmail.com" ]
sktpghks138@gmail.com
0dc3f740a97a907c11dc5ffaa412033ef989c918
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_5686275109552128_0/Python/junzhengrice/solution.py
9b92497e2c1bdd0276ee7ca0dbcdd3108d04dfd4
[]
no_license
alexandraback/datacollection
0bc67a9ace00abbc843f4912562f3a064992e0e9
076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf
refs/heads/master
2021-01-24T18:27:24.417992
2017-05-23T09:23:38
2017-05-23T09:23:38
84,313,442
2
4
null
null
null
null
UTF-8
Python
false
false
1,062
py
file = open('in.txt','r') out = open('out.txt','w') test_cases = file.readlines() def compute(diners): DEBUG = False diners.sort(reverse = True) if DEBUG: print diners minTime = diners[0] slot = 2 newTime = minTime while slot < diners[0]: used = 0 ...
[ "root@debian" ]
root@debian
7ccf17f69b05cffda19a77d983827f3d96a78259
887371724feac0c71d6112e8a00e436a9ad3aa92
/keystone/keystone/tests/unit/test_token_provider.py
b79be2e5200a2ebe960a6b920d2bd74c9a702b92
[ "Apache-2.0" ]
permissive
sreenathmenon/openstackAuth
eb6e4eb2f8c2f619d8c59e0c0a79a2f6c177740f
f2a5f641103ebd4750de210ec1f3df5600f3ba19
refs/heads/master
2021-01-20T21:34:41.243654
2017-08-30T14:25:48
2017-08-30T14:25:48
101,769,285
0
1
null
null
null
null
UTF-8
Python
false
false
29,863
py
# Copyright 2013 OpenStack Foundation # # 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...
[ "zreenathmenon@gmail.com" ]
zreenathmenon@gmail.com
f4c440d62414a3c3d8e8860bd4e1fa2f85d0d859
987a68b9c196f39ba1810a2261cd4a08c35416a3
/Tree/112-path-sum.py
c897121659c93c9c02dbd37e2b2c6ae22508b4a4
[]
no_license
xizhang77/LeetCode
c26e4699fbe1f2d2c4706b2e5ee82131be066ee5
ce68f5af57f772185211f4e81952d0345a6d23cb
refs/heads/master
2021-06-05T15:33:22.318833
2019-11-19T06:53:24
2019-11-19T06:53:24
135,076,199
0
0
null
null
null
null
UTF-8
Python
false
false
1,737
py
# -*- coding: utf-8 -*- ''' Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the given sum. Note: A leaf is a node with no children. Example: Given the below binary tree and sum = 22, 5 / \ 4 8 / / \ 11 13...
[ "xizhang1@cs.stonybrook.edu" ]
xizhang1@cs.stonybrook.edu
2b7102ab643452bc1b953138194999c4c510a881
566abf49a0fc8d9cb5495bbdc2c6d59daead7af2
/TestBed/boxplot.py
eaab94a4f6389fbd8f6bcdccd09295c48ba8b2b5
[]
no_license
maxiaoba/VehicleLowlevelControl
d8c64854a326355a49d3dd5f0e5514e29db16791
d74676e9e8215349568de8f91b2f19a87a35dfc4
refs/heads/master
2020-03-27T16:50:20.070677
2018-09-09T20:44:41
2018-09-09T20:44:41
146,809,642
0
0
null
null
null
null
UTF-8
Python
false
false
599
py
import matplotlib.pyplot as plt import numpy as np import os names = [] for policy in os.listdir("./Policy"): print(policy != '.DS_Store') if policy != '.DS_Store': names.append(policy[:-4:]) figureid = 1 data = [] for name in names: fig = plt.figure(figureid, figsize=(8, 6)) axes = plt.gca() axes.set_xlim([-...
[ "maxiaoba@umich.edu" ]
maxiaoba@umich.edu
6c8e17c61413277ebaf50ae3bdc4f8fabfedd6e5
3600c277b1ab5f2d886c0497cd46a8d6ad9897b5
/venv/Lib/site-packages/simplekv-0.12.0-py3.7.egg/simplekv/memory/redisstore.py
5e2b5ca9ef4792d2baf42d2146d137002f2ed09b
[ "MIT" ]
permissive
phurinaix/issue-credential
eaedd492cab1afe967492ffe30b9a3f7e8fb6c74
2757f65a0f8cbcdd9593aa669e155c1b91c863c2
refs/heads/master
2022-10-26T06:38:57.366825
2019-06-24T01:02:54
2019-06-24T01:02:54
189,159,119
0
1
MIT
2022-10-15T11:19:44
2019-05-29T05:53:40
Python
UTF-8
Python
false
false
1,824
py
#!/usr/bin/env python # -*- coding: utf-8 -*- from io import BytesIO from .. import KeyValueStore, TimeToLiveMixin, NOT_SET, FOREVER import re class RedisStore(TimeToLiveMixin, KeyValueStore): """Uses a redis-database as the backend. :param redis: An instance of :py:class:`redis.StrictRedis`. """ d...
[ "phurinaix@gmail.com" ]
phurinaix@gmail.com
9740f01cab9b7a3fe74c1358caafa3f11e78a61f
e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f
/indices/nnsept.py
d01d74ddda82c5d58013cecef328232977d8dd27
[]
no_license
psdh/WhatsintheVector
e8aabacc054a88b4cb25303548980af9a10c12a8
a24168d068d9c69dc7a0fd13f606c080ae82e2a6
refs/heads/master
2021-01-25T10:34:22.651619
2015-09-23T11:54:06
2015-09-23T11:54:06
42,749,205
2
3
null
2015-09-23T11:54:07
2015-09-18T22:06:38
Python
UTF-8
Python
false
false
778
py
ii = [('LyelCPG2.py', 2), ('SadlMLP.py', 3), ('WilbRLW.py', 13), ('WilbRLW4.py', 26), ('AubePRP2.py', 1), ('LeakWTI2.py', 3), ('WilbRLW5.py', 22), ('LeakWTI3.py', 13), ('PeckJNG.py', 9), ('AubePRP.py', 2), ('FitzRNS3.py', 21), ('WilbRLW2.py', 30), ('WilkJMC2.py', 1), ('KiddJAE.py', 1), ('BuckWGM.py', 2), ('LyelCPG.py',...
[ "varunwachaspati@gmail.com" ]
varunwachaspati@gmail.com
835a8747bc452884396134c8aa7ff8deb91a04bb
bb34686465251ba65ea7fa63971a9ddc5cb6c365
/website/run.py
88dee9983702a0f85698c3d8aa1c99432b0205f7
[]
no_license
jmacenka/flask-nbdf
72ecf2c206442132419ee24a754b815c42ba9b61
c81e40100302f526e575453dd21b0f400f51896a
refs/heads/master
2021-06-14T02:41:14.616649
2019-09-20T21:33:59
2019-09-20T21:33:59
170,572,460
0
0
null
2021-05-08T16:52:56
2019-02-13T20:11:24
Python
UTF-8
Python
false
false
173
py
from website import socketio, app if __name__ == "__main__": #app.run(host='0.0.0.0',port=5000,debug=True) socketio.run(app, debug=True, host='0.0.0.0', port=5000)
[ "=" ]
=