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
54aa72c6ca565b7aa1d189e7744b9fcb0f24dd40
d09c6ff7114f69a9326883c5b9fcc70fa994e8a2
/_pycharm_skeletons/renderdoc/GLVertexAttribute.py
add4c7232eea14baa06e4a12c24a237ae897c01a
[ "MIT" ]
permissive
Lex-DRL/renderdoc-py-stubs
3dd32d23c0c8219bb66387e6078244cff453cd83
75d280e4f500ded506f3315a49fc432b37ab4fa6
refs/heads/master
2020-08-22T16:55:39.336657
2019-11-03T01:21:26
2019-11-03T01:21:26
216,441,308
0
0
null
null
null
null
UTF-8
Python
false
false
2,700
py
# encoding: utf-8 # module renderdoc # from P:\1-Scripts\_Python\Py-Autocomplete\renderdoc.pyd # by generator 1.146 # no doc # imports import enum as __enum from .SwigPyObject import SwigPyObject class GLVertexAttribute(SwigPyObject): """ Describes the configuration for a single vertex attribute. ....
[ "drl.i3x@gmail.com" ]
drl.i3x@gmail.com
a68196f031bbeb0ba2c2698e025995cba76ce678
44a724fbac833f10c73a70f140d6c6692d4c758e
/website/registration/forms.py
da51b193f26f02d67afbf28c947ebf07d916cf8e
[]
no_license
Nussy/owf2014
856598b414a58ef5065481dad66841fb9fb01f7d
09224a3ab82d5ceabe286678bae77967be42537c
refs/heads/master
2020-12-24T11:33:49.230217
2014-07-08T12:15:04
2014-07-08T12:15:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,126
py
from flask.ext.wtf import Form, BooleanField, TextField, TextAreaField, required, email from flask.ext.wtf.html5 import EmailField from flask.ext.babel import lazy_gettext as _l from website.registration.models import Track __all__ = ['RegistrationForm'] def make_mixin_class(): class DynamicMixin(object): pa...
[ "sf@fermigier.com" ]
sf@fermigier.com
51fa016e1c1e8f8413a36b5d13b3ac5e585a1ade
aaddc9b334b4d265d61cd97464d9ff73f32d9bec
/12_DRF_API_ModalViewSet/DRF_API_ModalViewSet/wsgi.py
59140f929e09da11239464ede2ab10ba8c216e53
[]
no_license
DharmendraB/DRF-Django-RestFramework-API
f3549955e53d43f7dad2a78468ad0792ebfb70d5
4f12ab84ca5f69cf2bb8e392b5490247d5f00e0e
refs/heads/main
2023-05-30T20:59:46.635078
2021-06-11T04:32:52
2021-06-11T04:32:52
375,905,264
0
0
null
null
null
null
UTF-8
Python
false
false
417
py
""" WSGI config for DRF_API_ModalViewSet project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.1/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault(...
[ "ghldharmendra@gmail.com" ]
ghldharmendra@gmail.com
c40028e0be80e217c13d3970ba03c03ab2bcfb82
09ae3f372d1000f118ad80874870ae420a4be66f
/scikit-learn-master/sklearn/linear_model/logistic.py
a1d49ac570e92af42337bb68f34b6c9caceb5b80
[ "Apache-2.0", "BSD-3-Clause" ]
permissive
lqkweb/learnMLflow
998f80c3828879b8d542125bc95c6345b8e9b29a
13c5decaebba95b1b90f92021be35e343b4764af
refs/heads/master
2022-10-18T06:17:23.584172
2019-01-18T09:51:38
2019-01-18T09:51:38
166,145,472
2
0
Apache-2.0
2022-09-30T18:26:17
2019-01-17T02:22:29
Python
UTF-8
Python
false
false
92,589
py
""" Logistic Regression """ # Author: Gael Varoquaux <gael.varoquaux@normalesup.org> # Fabian Pedregosa <f@bianp.net> # Alexandre Gramfort <alexandre.gramfort@telecom-paristech.fr> # Manoj Kumar <manojkumarsivaraj334@gmail.com> # Lars Buitinck # Simon Wu <s8wu@uwaterloo.ca> # ...
[ "leiqk@dxy.cn" ]
leiqk@dxy.cn
f0d45c4482fab4fd7e9e9807c9f0bd38de1ebd83
aaa204ad7f134b526593c785eaa739bff9fc4d2a
/airflow/providers/cncf/kubernetes/utils/pod_manager.py
c65150b4181d4f3ada2c2247d020f2265a91a707
[ "Apache-2.0", "BSD-3-Clause", "MIT" ]
permissive
cfei18/incubator-airflow
913b40efa3d9f1fdfc5e299ce2693492c9a92dd4
ffb2078eb5546420864229cdc6ee361f89cab7bd
refs/heads/master
2022-09-28T14:44:04.250367
2022-09-19T16:50:23
2022-09-19T16:50:23
88,665,367
0
1
Apache-2.0
2021-02-05T16:29:42
2017-04-18T20:00:03
Python
UTF-8
Python
false
false
16,175
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...
[ "noreply@github.com" ]
cfei18.noreply@github.com
fe70326740b6a0076abc3e8d128549821babdd53
f7630fd6c829cb306e72472296e3a513844d99af
/lib/python3.8/site-packages/ansible_collections/fortinet/fortimanager/plugins/modules/fmgr_firewall_gtp_noippolicy.py
1f59b674b7a6e1afe2365d02864e506d84060883
[]
no_license
baltah666/automation
6eccce20c83dbe0d5aa9a82a27937886e3131d32
140eb81fe9bacb9a3ed1f1eafe86edeb8a8d0d52
refs/heads/master
2023-03-07T10:53:21.187020
2023-02-10T08:39:38
2023-02-10T08:39:38
272,007,277
0
0
null
null
null
null
UTF-8
Python
false
false
12,542
py
#!/usr/bin/python from __future__ import absolute_import, division, print_function # Copyright 2019-2021 Fortinet, Inc. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the ...
[ "baltah666@gmail.com" ]
baltah666@gmail.com
1a12b7c2d2f69df76cef3e44e1259cdf614dfc4d
927e8a9390d219a14fce6922ab054e2521a083d3
/tree/largest bst.py
a70af6bfda90d12ff4c3307819dc8596461b2aa9
[]
no_license
RavinderSinghPB/data-structure-and-algorithm
19e7784f24b3536e29486ddabf4830f9eb578005
f48c759fc347471a44ac4bb4362e99efacdd228b
refs/heads/master
2023-08-23T21:07:28.704498
2020-07-18T09:44:04
2020-07-18T09:44:04
265,993,890
0
0
null
null
null
null
UTF-8
Python
false
false
3,794
py
from mathpro.math import inf from collections import deque import sys sys.setrecursionlimit(10000) class Node1: def __init__(self,isBst,size,mini,maxi): self.isBst = isBst self.size = size self.mini = mini self.maxi = maxi def bst(root): if not root: x=Node1(True,0,10...
[ "ravindersingh.gfg@gmail.com" ]
ravindersingh.gfg@gmail.com
81a2872d9a9c25af764af1274d957578a126869a
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/otherforms/_gripped.py
b9c9b15141f34bec76fa0ae3fbe86ef380965360
[ "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
218
py
#calss header class _GRIPPED(): def __init__(self,): self.name = "GRIPPED" self.definitions = grip self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.basic = ['grip']
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
2719ecdb0d3f55cf2a59d28875a664afed9e14ec
45de7d905486934629730945619f49281ad19359
/xlsxwriter/test/comparison/test_chart_legend06.py
f10d00e6bc314ead1c5752aad9c675cf4fe559c5
[ "BSD-2-Clause" ]
permissive
jmcnamara/XlsxWriter
599e1d225d698120ef931a776a9d93a6f60186ed
ab13807a1be68652ffc512ae6f5791d113b94ee1
refs/heads/main
2023-09-04T04:21:04.559742
2023-08-31T19:30:52
2023-08-31T19:30:52
7,433,211
3,251
712
BSD-2-Clause
2023-08-28T18:52:14
2013-01-04T01:07:06
Python
UTF-8
Python
false
false
1,405
py
############################################################################### # # Tests for XlsxWriter. # # SPDX-License-Identifier: BSD-2-Clause # Copyright (c), 2013-2023, John McNamara, jmcnamara@cpan.org # from ..excel_comparison_test import ExcelComparisonTest from ...workbook import Workbook class TestCompar...
[ "jmcnamara@cpan.org" ]
jmcnamara@cpan.org
34ff077858f4ae33064ecedb7125229e30d88e37
2d8ec841d75acb7ca3c3d1117c06d951e9be0169
/test/X13_TestRomantoInteger.py
3d16e1d47bbcdcf1ab7b8cd7deb848d1167d0c76
[]
no_license
mcceTest/leetcode_py
040aee95ed23674b7e2fea899d22945b12f85981
eb25b3e5866b51fbac10d4686966f2c546c4696f
refs/heads/master
2021-06-27T02:04:56.856659
2021-01-08T03:14:56
2021-01-08T03:14:56
205,760,975
0
0
null
null
null
null
UTF-8
Python
false
false
461
py
import unittest from X13_RomantoInteger import Solution class TestSum(unittest.TestCase): def test1(self): sol = Solution() self.assertEqual(sol.romanToInt("III"), 3) self.assertEqual(sol.romanToInt("IV"), 4) self.assertEqual(sol.romanToInt("IX"), 9) self.assertEqual(so...
[ "zhuxuyu@gmail.com" ]
zhuxuyu@gmail.com
7f71b8025b0da4af24e6f067a0fed3393f846eb2
af259acdd0acd341370c9d5386c444da6a7a28a6
/Supervised-Learning-with-scikit-learn/04-Preprocessing-and-pipelines/04-Dropping-missing-data.py
438c80f1a8b57e4ed94a02048b0011d9457d637e
[]
no_license
pace-noge/datacamp
fcd544f6478040660f7149b1a37bfd957eef9747
eeffb8af233e7304c0f122a48e6b4f78ee7c650e
refs/heads/master
2020-07-04T12:41:29.635167
2019-09-17T10:11:39
2019-09-17T10:11:39
202,289,041
0
0
null
null
null
null
UTF-8
Python
false
false
1,804
py
""" Dropping missing data The voting dataset from Chapter 1 contained a bunch of missing values that we dealt with for you behind the scenes. Now, it's time for you to take care of these yourself! The unprocessed dataset has been loaded into a DataFrame df. Explore it in the IPython Shell with the .head() method. You...
[ "noreply@github.com" ]
pace-noge.noreply@github.com
6757338d0b65931a2f906bdc7f2b1f72184ecadb
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/otherforms/_schoolteachers.py
a97e1eb48efc47de30e4d91ff8c1c06736a2b31a
[ "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
250
py
#calss header class _SCHOOLTEACHERS(): def __init__(self,): self.name = "SCHOOLTEACHERS" self.definitions = schoolteacher self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.basic = ['schoolteacher']
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
8fe85c165c882f31473b97cc238e98b2399d9522
24e7e0dfaaeaca8f911b40fcc2937342a0f278fd
/venv/Lib/site-packages/psutil/tests/test_contracts.py
39a525696000f799dfae0c817aeb45a7e8799281
[ "MIT", "BSD-3-Clause" ]
permissive
BimiLevi/Covid19
90e234c639192d62bb87364ef96d6a46d8268fa0
5f07a9a4609383c02597373d76d6b6485d47936e
refs/heads/master
2023-08-04T13:13:44.480700
2023-08-01T08:36:36
2023-08-01T08:36:36
288,455,446
1
0
MIT
2021-01-22T19:36:26
2020-08-18T12:53:43
HTML
UTF-8
Python
false
false
26,188
py
#!/usr/bin/env python3 # Copyright (c) 2009, Giampaolo Rodola'. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """Contracts tests. These tests mainly check API sanity in terms of returned types and APIs availability. Some of these are duplica...
[ "50989568+BimiLevi@users.noreply.github.com" ]
50989568+BimiLevi@users.noreply.github.com
94a2a1fa20e97c51852243a2a81a4149bdffabba
fb54704d4a6f9475f42b85d8c470e3425b37dcae
/medium/ex1381.py
3b090451fda3eb43df141d4f0235c64721da852a
[]
no_license
ziyuan-shen/leetcode_algorithm_python_solution
b2784071a94b04e687fd536b57e8d5a9ec1a4c05
920b65db80031fad45d495431eda8d3fb4ef06e5
refs/heads/master
2021-06-27T05:19:47.774044
2021-02-04T09:47:30
2021-02-04T09:47:30
210,991,299
2
0
null
null
null
null
UTF-8
Python
false
false
638
py
class CustomStack: def __init__(self, maxSize: int): self.stack = [] self.maxSize = maxSize def push(self, x: int) -> None: if len(self.stack) < self.maxSize: self.stack.append(x) def pop(self) -> int: if self.stack: return self.stack.pop() ...
[ "ziyuan.shen@duke.edu" ]
ziyuan.shen@duke.edu
95323488f1a2f39dd31806aae172ae8687c22cab
39fe41a33c00ea6dc8e04c61842c3764fdd07ff1
/py3standardlib/algorithms/contextlib/contextlib_exitstack_pop_all.py
68ab294ea41ed5242c5100523e6e1a684725e4f4
[]
no_license
playbar/pylearn
f9639ffa1848a9db2aba52977de6c7167828b317
8bcd1b5a043cb19cde1631947eb128d9c05c259d
refs/heads/master
2021-06-12T01:51:33.480049
2021-03-31T12:16:14
2021-03-31T12:16:14
147,980,595
1
0
null
null
null
null
UTF-8
Python
false
false
1,251
py
# contextlib_exitstack_pop_all.py import contextlib from contextlib_context_managers import * def variable_stack(contexts): with contextlib.ExitStack() as stack: for c in contexts: stack.enter_context(c) # Return the close() method of a new stack as a clean-up # function. ...
[ "hgl868@126.com" ]
hgl868@126.com
cbe4b5b0a93c62e34a4f64d8d65fcb3619111147
1b5802806cdf2c3b6f57a7b826c3e064aac51d98
/tensorrt-basic-1.10-3rd-plugin/TensorRT-main/tools/Polygraphy/examples/cli/run/05_comparing_with_custom_input_data/data_loader.py
4284ddc1e5d6dbe661a164e636b3c38257bcee12
[ "Apache-2.0", "MIT", "BSD-3-Clause", "ISC", "BSD-2-Clause" ]
permissive
jinmin527/learning-cuda-trt
def70b3b1b23b421ab7844237ce39ca1f176b297
81438d602344c977ef3cab71bd04995c1834e51c
refs/heads/main
2023-05-23T08:56:09.205628
2022-07-24T02:48:24
2022-07-24T02:48:24
517,213,903
36
18
null
2022-07-24T03:05:05
2022-07-24T03:05:05
null
UTF-8
Python
false
false
1,709
py
#!/usr/bin/env python3 # # Copyright (c) 2021, NVIDIA CORPORATION. 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 # # ...
[ "dujw@deepblueai.com" ]
dujw@deepblueai.com
4e746f96da01b3c31cde8ca5fd5703e427fb4f2d
e2a7f0ac4e5369e7e924029c1650a986716e78fc
/provisioning/ubuntu-trusty/config.py
698b06100dd24a2e25e9602b22025650824fecf2
[ "Unlicense" ]
permissive
reductus/reductus
f89566de60cda387fc20b1aba4210528c3bd535b
07e865a08396b42fa7ae035de97628bc995506bc
refs/heads/main
2023-05-22T15:08:10.730577
2023-05-12T16:08:49
2023-05-12T16:08:49
1,320,973
7
12
Unlicense
2022-09-30T03:23:50
2011-02-02T16:46:54
Python
UTF-8
Python
false
false
863
py
############################################################# # rename or copy this file to config.py if you make changes # ############################################################# # change this to your fully-qualified domain name to run a # remote server. The default value of localhost will # only allow connec...
[ "brian.maranville@nist.gov" ]
brian.maranville@nist.gov
8105b5e240ed50ebab8d4237de4287212a077d45
8c55d93116982758740665fdf93a57d7668d62f3
/calls/bin/registry-read.py
077e111f7c9656f2119fe7a8ed3124acc0c3e36b
[]
no_license
Ngahu/Making-web-calls
42971fbb5835a46237854d45702f7feb50dd9314
df7e0d9032db914b73a9f19a73be18453e524f6e
refs/heads/master
2021-07-11T06:20:36.953011
2016-09-22T09:22:24
2016-09-22T09:22:24
68,893,415
0
1
null
2020-07-26T08:34:38
2016-09-22T06:55:32
Python
UTF-8
Python
false
false
4,984
py
#!/SHARED-THINGS/ONGOING/making calls/calls/bin/python # Copyright (c) 2003-2015 CORE Security Technologies) # # This software is provided under under a slightly modified version # of the Apache Software License. See the accompanying LICENSE file # for more information. # # Author: Alberto Solino (@agsolino) # # Descri...
[ "jamaalaraheem@gmail.com" ]
jamaalaraheem@gmail.com
f632da1a09f68ac9dc98d92c87a45c3d48be3d42
d2c4934325f5ddd567963e7bd2bdc0673f92bc40
/tests/artificial/transf_None/trend_PolyTrend/cycle_0/ar_/test_artificial_32_None_PolyTrend_0__20.py
a4acd452378510898a95c0d7c7399843cf84e0e1
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
jmabry/pyaf
797acdd585842474ff4ae1d9db5606877252d9b8
afbc15a851a2445a7824bf255af612dc429265af
refs/heads/master
2020-03-20T02:14:12.597970
2018-12-17T22:08:11
2018-12-17T22:08:11
137,104,552
0
0
BSD-3-Clause
2018-12-17T22:08:12
2018-06-12T17:15:43
Python
UTF-8
Python
false
false
263
py
import pyaf.Bench.TS_datasets as tsds import pyaf.tests.artificial.process_artificial_dataset as art art.process_dataset(N = 32 , FREQ = 'D', seed = 0, trendtype = "PolyTrend", cycle_length = 0, transform = "None", sigma = 0.0, exog_count = 20, ar_order = 0);
[ "antoine.carme@laposte.net" ]
antoine.carme@laposte.net
2c5fb9bc6be3248ac3b35d7d12190b2ea8d205a5
b9efe70d12c2cbd55065d02e974f5725534583ee
/old_scripts/show_corpus.py
b687f9489733eacbea05242368defb71cc58c4e7
[]
no_license
diegoami/bankdomain_PY
5089581ea7b7db6233243dff305488ff27dc8e90
83816e1beb96d3e9e0f746bec7f9db9521f32ee7
refs/heads/master
2022-12-17T05:05:13.557911
2020-06-03T22:19:44
2020-06-03T22:19:44
131,530,574
0
0
null
2022-12-08T01:30:27
2018-04-29T21:12:25
HTML
UTF-8
Python
false
false
996
py
import yaml from repository.mongo_ops import copy_into_qa_documents, split_qa_documents_into_questions, print_all_questions, iterate_questions_in_mongo from preprocess.preprocessor import create_corpus, load_corpus, print_corpus from language.custom_lemmas import my_component from textacy.corpus import Corpus import s...
[ "diego.amicabile@gmail.com" ]
diego.amicabile@gmail.com
ed0cf72b39a6f14b5f816f8ed59a8ae0a23a3e5e
d921253b98a922975709693c411218746af2f017
/bgx/telebot/bgt_bot_api/bot_handlers.py
2f583a0ac5a05ac6fa1d64bbed7bc09e7f3ffb96
[ "Zlib", "MIT", "Apache-2.0" ]
permissive
bestonly125/DGT-Kawartha
223f88e224c1464fa22a4512e4567ac7ce1bc78f
edfbc18f2c70e813805ec23c28fbc35bf7866ffc
refs/heads/master
2022-11-22T13:18:21.204906
2020-07-24T09:03:57
2020-07-24T09:03:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
40,606
py
# Copyright 2020 NTRLab # # 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, softw...
[ "sparsov@sinergo.ru" ]
sparsov@sinergo.ru
08da355ed5009788d673daf96c0f5f8075c62524
77ab53380f74c33bb3aacee8effc0e186b63c3d6
/720_longest_word_in_dictionary.py
b1ef8b4f98d24725eeb93e621ed887835df90cb5
[]
no_license
tabletenniser/leetcode
8e3aa1b4df1b79364eb5ca3a97db57e0371250b6
d3ebbfe2e4ab87d5b44bc534984dfa453e34efbd
refs/heads/master
2023-02-23T18:14:31.577455
2023-02-06T07:09:54
2023-02-06T07:09:54
94,496,986
2
0
null
null
null
null
UTF-8
Python
false
false
1,631
py
''' Given a list of strings words representing an English Dictionary, find the longest word in words that can be built one character at a time by other words in words. If there is more than one possible answer, return the longest word with the smallest lexicographical order. If there is no answer, return the empty str...
[ "tabletenniser@gmail.com" ]
tabletenniser@gmail.com
ae998783f6f09edee5eb0409239e0811735c2f57
141b42d9d72636c869ff2ce7a2a9f7b9b24f508b
/myvenv/Lib/site-packages/phonenumbers/data/region_SJ.py
30448b9dce8f8518c9cc53db0649a80ffccfe27c
[ "BSD-3-Clause" ]
permissive
Fa67/saleor-shop
105e1147e60396ddab6f006337436dcbf18e8fe1
76110349162c54c8bfcae61983bb59ba8fb0f778
refs/heads/master
2021-06-08T23:51:12.251457
2018-07-24T08:14:33
2018-07-24T08:14:33
168,561,915
1
0
BSD-3-Clause
2021-04-18T07:59:12
2019-01-31T17:00:39
Python
UTF-8
Python
false
false
1,464
py
"""Auto-generated file, do not edit by hand. SJ metadata""" from ..phonemetadata import NumberFormat, PhoneNumberDesc, PhoneMetadata PHONE_METADATA_SJ = PhoneMetadata(id='SJ', country_code=47, international_prefix='00', general_desc=PhoneNumberDesc(national_number_pattern='0\\d{4}|[45789]\\d{7}', possible_length=(...
[ "gruzdevasch@gmail.com" ]
gruzdevasch@gmail.com
4b62a941576cc59defc792dd09df58d2eb7e386b
ef11a06c906f37fa98c3de38aa1307110269b2f4
/Notes/Fall2019/Ch4C.py
6d229ca716a445032f72e9b2a630d709bd76b422
[]
no_license
fwparkercode/IntroProgrammingNotes
0d389d2d281122303da48ab2c1648750e594c04f
ad64777208d2f84f87e4ab45695adbfe073eae18
refs/heads/master
2021-07-16T07:13:55.665243
2020-06-09T12:45:38
2020-06-09T12:45:38
170,581,913
3
1
null
null
null
null
UTF-8
Python
false
false
2,842
py
# Chapter 4 - Loops and Random Numbers # Random numbers import random # Randrange function - random.randrange(start, end, count_by) print(random.randrange(10)) # generates a random int from 0 to 9 print(random.randrange(5, 10)) # random int from 5 to 9 print(random.randrange(50, 100, 5)) # random int from 50 to 9...
[ "alee@fwparker.org" ]
alee@fwparker.org
bfec5c587e199e8661352e09e76eb119ef9d4709
7d1d30be1995f2780cbf8999f1891e967936c090
/pttweaks/activity/tests/test_models.py
f91ed5f80aebe191788ab9c3ad566ab2ce0f26ee
[]
no_license
EastAgile/PT-tweaks
118274f70c198fb8885f4a42136a5a1bdefc4e51
7d5742862e42672eb77441ef7a7250d7a3a9359e
refs/heads/master
2022-12-10T20:07:04.859288
2019-08-08T05:29:41
2019-08-08T05:29:41
164,597,129
0
1
null
2022-12-08T05:49:40
2019-01-08T08:06:59
Python
UTF-8
Python
false
false
319
py
from django.test import SimpleTestCase from robber import expect from activity.factories import ActivityChangeLogFactory class ActivityChangeLogTestCase(SimpleTestCase): def test_model_str(self): activity = ActivityChangeLogFactory.build(story_id='123123') expect(str(activity)).to.eq('123123')
[ "open-source@eastagile.com" ]
open-source@eastagile.com
d2d30ed9ef98512ff7d30f5c9754fa535c698414
c838c53ec5de94af57696f11db08f332ff2a65d8
/mission/migrations/0121_picklist_pick_order.py
042a0e8203c7fedb1905237711b5f99b55874583
[]
no_license
memobijou/erpghost
4a9af80b3c948a4d7bb20d26e5afb01b40efbab5
c0ee90718778bc2b771b8078d9c08e038ae59284
refs/heads/master
2022-12-11T14:47:59.048889
2019-01-28T02:30:40
2019-01-28T02:30:40
113,774,918
1
1
null
2022-11-22T02:02:41
2017-12-10T18:53:41
Python
UTF-8
Python
false
false
557
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.2 on 2018-08-18 14:37 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('mission', '0120_pickorder'), ] operations = [ ...
[ "mbijou@live.de" ]
mbijou@live.de
16cbf16dc6b7fe17bb9032ee14ac7d326eeaced8
3a570384a3fa9c4c7979d33b182556e1c637e9eb
/anwmisc/anw-pyui/Packages/anwp/gui/configinfo.py
5c7bf27ee02e7b8c9821e1b50aacc8cfcb5713f6
[]
no_license
colshag/ANW
56a028af5042db92b5ead641dc542fcb4533344e
46948d8d18a0639185dd4ffcffde126914991553
refs/heads/master
2020-03-27T00:22:49.409109
2018-10-27T06:37:04
2018-10-27T06:37:04
145,618,125
2
0
null
null
null
null
UTF-8
Python
false
false
7,603
py
# --------------------------------------------------------------------------- # Armada Net Wars (ANW) # configinfo.py # Written by Chris Lewis # --------------------------------------------------------------------------- # This panel Displays User Config information # ---------------------------------------------------...
[ "colshag@gmail.com" ]
colshag@gmail.com
4b0e4be71217535a3b023b8cd57fa3de00fa5b98
a4440a990b86a239a30b4295661ca588db3f5928
/src/knn/digital_recognition.py
5411be618eb5bc4fae3f1b70b129b3cbdb7ead0f
[]
no_license
YangXinNewlife/MachineLearning
fdaa1f75b90c143165d457b645d3c13fee7ea9a1
196ebdc881b74c746f63768b7ba31fec65e462d5
refs/heads/master
2020-04-05T00:10:25.050507
2019-06-10T03:44:33
2019-06-10T03:44:33
156,386,186
0
0
null
null
null
null
UTF-8
Python
false
false
4,377
py
# -*- coding:utf-8 -*- __author__ = 'yangxin_ryan' from numpy import * from os import listdir from collections import Counter import operator """ 图片的输入为 32 * 32的转换为 1 * 1024的向量 """ class DigitalRecognition(object): def __init__(self): print("Welcome, 手写数字识别算法!") """ 1.距离计算 tile生成和训练样本对应的矩阵,并...
[ "yangxin03@youxin.com" ]
yangxin03@youxin.com
c6beb75082885391bc95b1891a36e80e937a4666
642151dff23fff48310139ddc9b89c8bf6a670e3
/app/base/routes.py
14e706ea47230919be667a314346e7ccf0af73e5
[]
no_license
gemicn/flask-navigation
7ad371e0ac8220c14687f02b130707bf89c81553
382940492ca6cae41da44d30fb78c9535e8de955
refs/heads/master
2022-09-03T22:51:41.920901
2020-05-26T01:37:26
2020-05-26T01:37:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
226
py
from bcrypt import checkpw from flask import jsonify, render_template, redirect, request, url_for from app.base import blueprint @blueprint.route('/') def route_default(): return redirect(url_for('nav_blueprint.index'))
[ "ntuwang@126.com" ]
ntuwang@126.com
ea8884ee217bc2ebacf21f538a754ef50ed61ba6
b5d9ce70b77672f497bd1f474f3c01230931169f
/econobilidade/econobilidade/wsgi.py
8e01bd3c1ce6d7414c64aed22433a5202ede9230
[]
no_license
chemalle/fisconobilidade
a59ef6544f97195da637ba5ad458cf834e3e6030
2b9fdd000ce83e7e9927e85895b21d57c644af35
refs/heads/master
2021-07-02T17:19:54.864048
2017-09-21T20:03:08
2017-09-21T20:03:08
104,392,513
0
0
null
null
null
null
UTF-8
Python
false
false
404
py
""" WSGI config for econobilidade project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.10/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANG...
[ "chemalle@econobilidade.com" ]
chemalle@econobilidade.com
22673e5c1820b8646b55bf630652d58b49177ef8
bbf025a5f8596e5513bd723dc78aa36c46e2c51b
/dfs + tree/100 sameTree.py
41ecd7912ef4878879d74277903c001435c1f6a2
[]
no_license
AlanFermat/leetcode
6209bb5cf2d1b19e3fe7b619e1230f75bb0152ab
cacba4abaca9c4bad8e8d12526336115067dc6a0
refs/heads/master
2021-07-11T04:00:00.594820
2020-06-22T21:31:02
2020-06-22T21:31:02
142,341,558
0
0
null
null
null
null
UTF-8
Python
false
false
533
py
from binaryTree import Node t1 = Node(1) t1.left = Node(2) t1.right = Node(3) t2 = Node(1) t2.left = Node(2) t2.right = Node(3) def treeToList(t): if t == None: return [] result = [t.val] return result + treeToList(t.left) + treeToList(t.right) def isSameTree(t,s): t_list = treeToList(t) s_list = treeToList...
[ "zy19@rice.edu" ]
zy19@rice.edu
336c31fca80c5b1edd2c0ae1909608af55e7d349
61d22eef5483a046b418a295d2ffa22857a296e1
/swtest/1952.py
0a3cb502106980c8bed236da21232f446e6783fd
[]
no_license
seoul-ssafy-class-2-studyclub/hyeonhwa
7ad680a67ba253eece07a9605a3b983f98a8cca3
e51163b3135cf529d295bc0d527c98b642f8c367
refs/heads/master
2021-10-06T12:57:44.046963
2021-10-02T09:42:55
2021-10-02T09:42:55
198,594,633
1
0
null
null
null
null
UTF-8
Python
false
false
465
py
import sys sys.stdin = open('input4.txt', 'r') T = int(input()) for t in range(T): money = list(map(int, input().split())) plan = list(map(int, input().split())) dp = [0] * 12 dp[0] = min(money[0]*plan[0], money[1]) for i in range(1, 12): dp[i] = min(dp[i-1]+money[0]*plan[i], dp[i-1]+money[...
[ "h3652k@gmail.com" ]
h3652k@gmail.com
f79dd2dab6a9e5e06232020fc812c26b78740da4
a50e906945260351f43d57e014081bcdef5b65a4
/collections/ansible_collections/fortinet/fortios/plugins/modules/fortios_test_autod.py
ba72e9dc091a5fba49d6174bde73f232cf0ec22c
[]
no_license
alhamdubello/evpn-ipsec-dci-ansible
210cb31f4710bb55dc6d2443a590f3eb65545cf5
2dcc7c915167cd3b25ef3651f2119d54a18efdff
refs/heads/main
2023-06-08T10:42:35.939341
2021-06-28T09:52:45
2021-06-28T09:52:45
380,860,067
0
0
null
null
null
null
UTF-8
Python
false
false
7,724
py
#!/usr/bin/python from __future__ import (absolute_import, division, print_function) # Copyright 2019-2020 Fortinet, Inc. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of th...
[ "a.u.bello@bham.ac.uk" ]
a.u.bello@bham.ac.uk
6168a3b2331db5b8eeef80583560970fab0652a2
e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f
/indices/popish.py
fc482e43309e27670d3e1bb14bc0bb4c6a354519
[]
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
409
py
ii = [('CookGHP3.py', 3), ('CookGHP.py', 50), ('BailJD2.py', 1), ('ClarGE2.py', 1), ('SeniNSP.py', 1), ('CookGHP2.py', 5), ('ClarGE.py', 5), ('DaltJMA.py', 33), ('WadeJEB.py', 5), ('NewmJLP.py', 1), ('SoutRD2.py', 1), ('SoutRD.py', 1), ('MereHHB3.py', 1), ('HowiWRL2.py', 1), ('HogaGMM.py', 2), ('FerrSDO.py', 1), ('Wilb...
[ "prabhjyotsingh95@gmail.com" ]
prabhjyotsingh95@gmail.com
ac50fa692d845d1eeee00f4cca7f93fa4cfa9589
c0caed81b5b3e1498cbca4c1627513c456908e38
/src/python/bindings/app/membrane/predict_ddG.py
f9857bead41598d64c25060485f3cf5045c0b739
[ "LicenseRef-scancode-other-permissive" ]
permissive
malaifa/source
5b34ac0a4e7777265b291fc824da8837ecc3ee84
fc0af245885de0fb82e0a1144422796a6674aeae
refs/heads/master
2021-01-19T22:10:22.942155
2017-04-19T14:13:07
2017-04-19T14:13:07
88,761,668
0
2
null
null
null
null
UTF-8
Python
false
false
12,380
py
#!/usr/bin/env python # :noTabs=true: # (c) Copyright Rosetta Commons Member Institutions. # (c) This file is part of the Rosetta software suite and is made available under license. # (c) The Rosetta software is developed by the contributing members of the Rosetta Commons. # (c) For more information, see http://www.ros...
[ "malaifa@yahoo.com" ]
malaifa@yahoo.com
6ec54bc427e38fff5352b9d4a525b5c7b1bbc069
214ea3873f451940c73c4fb02981b08c8161b23c
/Array/range-addition.py
8617f93a5c2256d727dd8742f68e760606d4d616
[]
no_license
Tiierr/LeetCode-Python
4a086a76a6d3780140e47246304d11c520548396
e8532b63fc5bb6ceebe30a9c53ab3a2b4b2a75a3
refs/heads/master
2021-06-14T04:36:57.394115
2017-03-07T06:46:39
2017-03-07T06:46:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,589
py
# Time: O(k + n) # Space: O(1) # # Assume you have an array of length n initialized with # all 0's and are given k update operations. # # Each operation is represented as a triplet: # [startIndex, endIndex, inc] which increments each element of subarray # A[startIndex ... endIndex] (startIndex and endIndex inclusive) ...
[ "rayyu03@163.com" ]
rayyu03@163.com
0638fe82fed7e47502334e6a6fc971322690549a
8f73125d816f3b44b03159dba272e095f37c1f0c
/scripts/viewhdf.py
dc40b917231106ad0c60945affdc86ff17e43524
[]
no_license
tarah28/nanopore
356b218e5ca3dfb98e4dd7232d8f1c6303f899d1
ec716ee15ab26d7bf33b7f7352ab8cad1c369ae8
refs/heads/master
2021-05-27T06:21:51.958938
2014-09-10T11:36:07
2014-09-10T11:36:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
115
py
#!/usr/bin/python import h5view import sys for fn in sys.argv[1:]: with h5view.open(fn) as f: print(f)
[ "n.j.loman@bham.ac.uk" ]
n.j.loman@bham.ac.uk
a0641d0c62f8c6e39c81e1f9266c4710026b35aa
f3a7b2b71af1ca16e87fcc2c6063670d056f59c6
/libs/configs_old/MLT/gwd/cfgs_res101_mlt_v1.py
d7bff74ce9ce7235a49aac2edc2032e4000f6281
[ "Apache-2.0" ]
permissive
DLPerf/RotationDetection
3af165ab00ea6d034774a7289a375b90e4079df4
c5d3e604ace76d7996bc461920854b2c79d8c023
refs/heads/main
2023-07-16T06:01:42.496723
2021-08-28T03:17:39
2021-08-28T03:17:39
400,690,285
0
0
Apache-2.0
2021-08-28T03:16:55
2021-08-28T03:16:55
null
UTF-8
Python
false
false
3,449
py
# -*- coding: utf-8 -*- from __future__ import division, print_function, absolute_import import os import tensorflow as tf import math from dataloader.pretrained_weights.pretrain_zoo import PretrainModelZoo """ FLOPs: 737874381; Trainable params: 51265150 trainval/test + sqrt tau=2 """ # ------------------------...
[ "yangxue0827@126.com" ]
yangxue0827@126.com
a4a41c511ad4e482fe95c4a61ab6d49518ec4964
2a3606551a4d850a7b4d6a4e08089c51108ef7be
/plugin.video.fanfilm/resources/lib/libraries/cleangenre.py
855f071415fcee23e4105c7f8e444d07c12b232c
[ "GPL-3.0-only", "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
rrosajp/filmkodi
a6bb1823f4ed45453c8b8e54ffbd6a7b49f44450
0162cde9ae25ddbf4a69330948714833ff2f78c9
refs/heads/master
2021-09-18T06:03:17.561062
2018-06-22T23:28:53
2018-06-22T23:28:53
234,768,781
1
0
Apache-2.0
2021-06-03T20:33:07
2020-01-18T17:11:57
null
UTF-8
Python
false
false
42,826
py
# -*- coding: utf-8 -*- ''' FanFilm Add-on Copyright (C) 2016 mrknow This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any ...
[ "mrknow@interia.pl" ]
mrknow@interia.pl
f942e1aeb559fdac152b1e65d28e59acc2f85863
7d172bc83bc61768a09cc97746715b8ec0e13ced
/catalog/migrations/0003_saleorder.py
65f1ca2bf38a92aa7ef0c747114f6b61e4a61de3
[]
no_license
shivam1111/jjuice
a3bcd7ee0ae6647056bdc62ff000ce6e6af27594
6a2669795ed4bb4495fda7869eeb221ed6535582
refs/heads/master
2020-04-12T05:01:27.981792
2018-11-08T13:00:49
2018-11-08T13:00:49
81,114,622
2
0
null
null
null
null
UTF-8
Python
false
false
668
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.1 on 2017-03-30 07:24 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('catalog', '0002_s3object'), ] operations = [ migrations.CreateModel( ...
[ "shivam1111@gmail.com" ]
shivam1111@gmail.com
370bdedfa4af55d99c1d4c1db116c26d97c39037
aea96aa406250c3a2a8f2799e6cbbad256c262c3
/EG/reduce_str_float.py
f08662bdfd724cd99ca78245308d53339a3013ec
[]
no_license
xiaochuanjiejie/python_exercise
cb0ffaa4b7c961c8ca9847526c84ee6ba261620c
710fa85fd2d7a17994081bdc5f8b5ff66b77416e
refs/heads/master
2021-01-21T16:18:04.640093
2017-08-11T10:02:49
2017-08-11T10:02:49
95,403,650
0
0
null
null
null
null
UTF-8
Python
false
false
447
py
#coding: utf-8 import math from functools import reduce s = '1234.5678' index = s.index('.') n = len(s) - 1 - index s = s.replace('.','') print s def chr2num(s): return {'0':0,'1':1,'2':2,'3':3,'4':4,'5':5,'6':6,'7':7,'8':8,'9':9}[s] print map(chr2num,s) lst = map(chr2num,s) # lst = list(map(chr2num,s)) # print...
[ "xiaochuanjiejie@gmail.com" ]
xiaochuanjiejie@gmail.com
50fa25dc930404d0d7198078e8b171b750953f5c
ca5c5becd8b57b4d77af3aa776b3c478ca962bf0
/src/main/ODR_MC/branches/v3/upFun.py
28e5d2a45a215fc146e7f361050eb44ad40d186e
[]
no_license
gerritholl/Harmonisation
42118c46d093115ddd87fca094a9ac8881aede71
31b8bd5a0da8c6fc4a31453cf7801fcca25d4951
refs/heads/master
2021-09-07T03:07:03.843117
2017-12-18T13:57:38
2017-12-18T13:57:38
110,711,229
0
0
null
2017-11-14T15:53:19
2017-11-14T15:53:19
null
UTF-8
Python
false
false
4,966
py
""" FIDUCEO FCDR harmonisation Author: Arta Dilo / NPL MM Date created: 09-01-2017 Last update: 17-01-2017 Functions for propagating uncertainty to the calibrated radiance: - function to calculate first derivatives to measurement eq. variables, - and first derivatives to calibration coefficients;...
[ "seh2@eoserver.npl.co.uk" ]
seh2@eoserver.npl.co.uk
11bc9407b651db938ff3f6333da6b4972a5e9ef3
35cf6fc79b8d6c335add8e55e0f4dca6f2816d1d
/Python_Study/第七模块学习/Day01/用pycharm创建Django/venv/Lib/site-packages/django/contrib/gis/utils/layermapping.py
972c24ce95f0b6498ee2791c87eee130c2af410d
[]
no_license
KongChan1988/51CTO-Treasure
08b4ca412ad8a09d67c1ea79c7149f8573309ca4
edb2e4bd11d39ac24cd240f3e815a88361867621
refs/heads/master
2021-07-04T15:57:56.164446
2019-07-24T15:28:36
2019-07-24T15:28:36
97,453,749
5
8
null
2019-10-30T22:05:12
2017-07-17T08:34:59
Python
UTF-8
Python
false
false
27,129
py
# LayerMapping -- A Django Model/OGR Layer Mapping Utility """ The LayerMapping class provides a way to map the contents of OGR vector files (e.g. SHP files) to Geographic-enabled Django models. For more information, please consult the GeoDjango documentation: https://docs.djangoproject.com/en/dev/ref/contrib/gi...
[ "wangwei_198811@163.com" ]
wangwei_198811@163.com
e3715d7cbdd7977bd57b89bffe7e1c7374827eb2
40fc1d38f2d4b643bc99df347c4ff3a763ba65e3
/arcade/space_shooter/setup.py
899a87123f997e3c1122f83ff3f7a77fa541a2a7
[ "LicenseRef-scancode-public-domain", "MIT", "CC-BY-4.0", "CC-BY-3.0" ]
permissive
alecordev/pygaming
0be4b7a1c9e7922c63ce4cc369cd893bfef7b03c
35e479b703acf038f47c2151b3759ad852781e4c
refs/heads/master
2023-05-14T05:03:28.484678
2021-06-03T10:11:08
2021-06-03T10:11:08
372,768,733
0
0
null
null
null
null
UTF-8
Python
false
false
736
py
import sys from cx_Freeze import setup, Executable import os # Dependencies are automatically detected, but it might need fine tuning. build_exe_options = {"packages": ["os", "pygame"]} # GUI applications require a different base on Windows (the default is for a # console application). base = None if sys.platform == ...
[ "alecor.dev@gmail.com" ]
alecor.dev@gmail.com
90a99102e6ad23ec94bd9649921692bcd0e04eb7
76e8dddb8d12906514f0004f32af8ef305ad43e9
/Dragon/python/dragon/vm/tensorflow/ops/nn_ops.py
ce0d7c84235221fc898b94a97501b81947b4cb8a
[ "BSD-2-Clause" ]
permissive
XJTUeducation/Dragon
bf98bd3a10449fa8948e0409a0243d666324b749
843204956ff7775c49d0d6193e1cd77ab512fbdd
refs/heads/master
2020-04-10T13:02:17.446430
2018-12-04T07:56:55
2018-12-04T07:56:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,799
py
# ------------------------------------------------------------ # Copyright (c) 2017-present, SeetaTech, Co.,Ltd. # # Licensed under the BSD 2-Clause License. # You should have received a copy of the BSD 2-Clause License # along with the software. If not, See, # # <https://opensource.org/licenses/BSD-2-Clause> # # ...
[ "ting.pan@seetatech.com" ]
ting.pan@seetatech.com
8904beb072f5f0d6c02deb340ad9e1bde96aa958
6509c398816baffafa4a1fcfb2855e1bc9d1609b
/sistema-operacional/diretorios/pathlib/exemplos/pathlib-4.py
7986086bea5a528b646fbaa9b9c5e9fc10c68789
[]
no_license
marcoswebermw/learning-python
6b0dfa81a0d085f4275865dce089d9b53b494aa5
931ed2985b8a3fec1a48c660c089e290aaac123d
refs/heads/master
2021-10-27T21:19:46.013020
2019-04-19T23:25:46
2019-04-19T23:25:46
87,670,464
0
0
null
null
null
null
UTF-8
Python
false
false
148
py
# Listando só os arquivos de um diretório. from pathlib import Path diretorio = Path('.') [print(x) for x in diretorio.iterdir() if x.is_file()]
[ "marcoswebermw@gmail.com" ]
marcoswebermw@gmail.com
ce3eb9f306532e3d901fc2acb81877bb8a80fbde
b70f00927b9ed862252ad7345ca39f9d44ae87a2
/exec -l /bin/bash/google-cloud-sdk/.install/.backup/lib/googlecloudsdk/command_lib/filestore/operations/flags.py
a2422ffca4165e41c34c82b6d85667ae3393cac0
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
sparramore/Art-Roulette
7654dedad6e9423dfc31bd0f807570b07a17a8fc
c897c9ec66c27ccab16f1a12213d09fe982d4a95
refs/heads/master
2021-07-06T13:04:22.141681
2018-07-12T23:30:13
2018-07-12T23:30:13
139,061,941
0
2
null
2020-07-25T11:32:11
2018-06-28T19:49:24
Python
UTF-8
Python
false
false
1,156
py
# Copyright 2017 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
[ "djinnie24@gmail.com" ]
djinnie24@gmail.com
7df867c895807b675e26661a7c94fcedf8969c23
82b946da326148a3c1c1f687f96c0da165bb2c15
/sdk/python/pulumi_azure_native/operationalinsights/v20200301preview/get_linked_storage_account.py
c615084e822e9a1b8d05805b45a7c7b14a8e0d07
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
morrell/pulumi-azure-native
3916e978382366607f3df0a669f24cb16293ff5e
cd3ba4b9cb08c5e1df7674c1c71695b80e443f08
refs/heads/master
2023-06-20T19:37:05.414924
2021-07-19T20:57:53
2021-07-19T20:57:53
387,815,163
0
0
Apache-2.0
2021-07-20T14:18:29
2021-07-20T14:18:28
null
UTF-8
Python
false
false
4,552
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 __...
[ "noreply@github.com" ]
morrell.noreply@github.com
4365938a5db92558c7c18ea93d358dfe9ffed5bd
0b0d3246d39974cb8faff7d269da2d539415afab
/problem_python/p49.py
88e5b7863a391d3d438604eab2bbd0cc41c6c173
[]
no_license
xionghhcs/leetcode
972e7ae4ca56b7100223630b294b5a97ba5dd7e8
8bd43dcd995a9de0270b8cea2d9a48df17ffc08b
refs/heads/master
2020-03-07T17:18:08.465559
2019-09-29T11:11:26
2019-09-29T11:11:26
127,607,564
1
0
null
null
null
null
UTF-8
Python
false
false
535
py
class Solution: def groupAnagrams(self, strs): import copy strs_cp = copy.deepcopy(strs) for i, item in enumerate(strs_cp): item = list(item) item.sort() item = ''.join(item) strs_cp[i] = item table = dict() for i, item in enume...
[ "xionghhcs@163.com" ]
xionghhcs@163.com
6036b4e9fe5bce86b786985656d485851ebc000e
78918441c6735b75adcdf20380e5b6431891b21f
/api/views.py
7db0c4896ac2f5194e3116b1611b1bf43493ac47
[]
no_license
dede-20191130/PracticeDjango_2
eba40532d5ce8bd4fd13fbd15d94f31942111cfa
23593c0fa4c4dff04bd76583e8176e600ca69014
refs/heads/master
2020-12-23T14:23:08.039363
2020-02-27T12:16:00
2020-02-27T12:16:00
237,176,619
0
0
null
null
null
null
UTF-8
Python
false
false
1,502
py
import json from collections import OrderedDict from django.http import HttpResponse from mybook.models import Book def render_json_response(request, data, status=None): """response を JSON で返却""" json_str = json.dumps(data, ensure_ascii=False, indent=2) callback = request.GET.get('callback') if not c...
[ "1044adad@gmail.com" ]
1044adad@gmail.com
9c0cf1c8261160763e6b9bd9b4485efef74b2d8d
2990b0841b63f300a722107933c01c7237a7976b
/all_xuef/code/leetcode/TOOLS/BinaryTree-master/test/__init__.py
a503b9948e4bb811046d2e3362574e7f4bed412b
[]
no_license
xuefengCrown/Files_01_xuef
8ede04751689e0495e3691fc5d8682da4d382b4d
677329b0189149cb07e7ba934612ad2b3e38ae35
refs/heads/master
2021-05-15T04:34:49.936001
2019-01-23T11:50:54
2019-01-23T11:50:54
118,802,861
1
1
null
null
null
null
UTF-8
Python
false
false
60
py
from test_binary_tree import * from test_tree_node import *
[ "643472092@qq.com" ]
643472092@qq.com
3dba9cc472654cbd43ec5366ccd01fa7bd6f03de
9edaf93c833ba90ae9a903aa3c44c407a7e55198
/travelport/models/type_start_end_time.py
9a4b3e1df4ef31fe8155d79f3f8f6c17d3a73f86
[]
no_license
tefra/xsdata-samples
c50aab4828b8c7c4448dbdab9c67d1ebc519e292
ef027fe02e6a075d8ed676c86a80e9647d944571
refs/heads/main
2023-08-14T10:31:12.152696
2023-07-25T18:01:22
2023-07-25T18:01:22
222,543,692
6
1
null
2023-06-25T07:21:04
2019-11-18T21:00:37
Python
UTF-8
Python
false
false
1,920
py
from __future__ import annotations from dataclasses import dataclass, field __NAMESPACE__ = "http://www.travelport.com/schema/vehicle_v52_0" @dataclass class TypeStartEndTime: """ Used to specify earliest and latest pickup/dropoff times for a vehicle. Parameters ---------- time The time ...
[ "chris@komposta.net" ]
chris@komposta.net
7a57b9d8fc4353b0116d5eb59291d529fd673296
91e98f30ab87f13cbd533c276e24690912690b35
/BlaineFry/Phys_707_Model_Selection_v2.py
a908f6a9aff841b250489f5e5527751582a51e48
[]
no_license
ladosamushia/PHYS707
a5a3f4954746722a3c7e530730a7cbd01caeb5f4
968e143022d49bfe477590b38e40184e3affed02
refs/heads/master
2020-07-20T06:38:42.914658
2019-12-23T12:27:43
2019-12-23T12:27:43
206,591,395
1
4
null
null
null
null
UTF-8
Python
false
false
3,413
py
# -*- coding: utf-8 -*- """ Created on Tue Oct 22 09:52:28 2019 @author: Blaine Fry """ # import packages import numpy as np from numpy import random as rand from matplotlib import pyplot as plt #%% generate some data Npoints = 50 mu_0 = 1.0 sigma_0 = 1.0 data = rand.normal(loc=mu_0,scale=sigma_0,size=...
[ "noreply@github.com" ]
ladosamushia.noreply@github.com
4fed593d5f025735e0ad7e586d3fa993077381f3
5e5252812e67393a75830b313cd0d746c912123b
/python/Calculating with Functions.py
5da5ee3fd6e14cf8e4c65e409919b2cbc840f9a6
[]
no_license
Konohayui/Codewars
20dfc6b147d2afd68172d5f5824b6c8c8dfa05f1
97291462e7b2e42e437355fb676e9152013a5e3a
refs/heads/master
2021-10-19T18:07:26.973873
2019-02-22T22:52:33
2019-02-22T22:52:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
915
py
''' Modified Xueyimei's solution for better understanding ''' def zero(f = None): if not f: print("first 0") return 0 else: print("second 0") return f(0) def one(f = None): if not f: print("first 1") return 1 else: print("second 1") retur...
[ "noreply@github.com" ]
Konohayui.noreply@github.com
d37fe7dd2eeed9cd1671d7f0927797b718040ff6
b4166044870d1c026e86c95ac41e3e3613ee424f
/python_basic/abc035_a.py
cb3e26984addc996cbe33c23443e49ee4d0229ba
[]
no_license
nsakki55/AtCoder
2cbb785415a7c0b9df9953ddc3706c90a5716a03
03c428e8eb8f24b8560d00e2388ba75509619690
refs/heads/master
2020-05-31T04:33:06.400697
2020-01-19T13:41:41
2020-01-19T13:41:41
190,099,669
0
0
null
null
null
null
UTF-8
Python
false
false
72
py
w,h=map(int,input().split()) print('16:9' if w*h%144==0 else '4:3')
[ "n.sakki55@gmail.com" ]
n.sakki55@gmail.com
b55a5033285fe85e350014f77edb19070e901038
947acace352c4b2e719e94600f7447d1382adfe2
/env/Scripts/painter.py
3b388efab78cf5cdae0a57d979b2692a59b44692
[]
no_license
skconan/autoPlayAtariBreakout
ac9de1ef3342e81b57519fe588eb88e9bb6c6695
3a7167f31d810951b099c30bfceed0da6dcdf12f
refs/heads/master
2022-12-21T15:21:44.552250
2017-10-10T08:54:18
2017-10-10T08:54:18
106,190,698
2
2
null
2022-12-11T06:28:01
2017-10-08T16:18:04
Python
UTF-8
Python
false
false
2,215
py
#!c:\users\skconan\desktop\พี่สอนน้อง\env\scripts\python.exe # # The Python Imaging Library # $Id$ # # this demo script illustrates pasting into an already displayed # photoimage. note that the current version of Tk updates the whole # image every time we paste, so to get decent performance, we split # the image into ...
[ "supakit.kr@gmail.com" ]
supakit.kr@gmail.com
b8057bfd90277d7f954e3713e2198773a6ce19d8
78ade3f3f334593e601ea78c1e6fd8575f0fe86b
/tfx/examples/chicago_taxi_pipeline/taxi_utils_test.py
466676a43ebd5b80bfdecd3f72a58490953f907b
[ "Apache-2.0" ]
permissive
rmothukuru/tfx
82725e20a7d71265f791122ec3ec5d7708443761
f46de4be29e96c123e33f90245dc5021d18f8294
refs/heads/master
2023-01-11T08:50:20.552722
2020-11-06T11:11:47
2020-11-06T11:11:47
279,754,672
1
1
Apache-2.0
2020-07-15T03:37:39
2020-07-15T03:37:39
null
UTF-8
Python
false
false
7,554
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 # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless re...
[ "tensorflow-extended-team@google.com" ]
tensorflow-extended-team@google.com
d3f7e5a38010e610526dfe18104e43a8f58375e6
c4ecc70400f3c4375dd4b2335673137dd36b72b4
/venv/lib/python3.6/site-packages/xero_python/accounting/models/contact_groups.py
44c5b00b3e94d4523d3baf225c292a9d849de367
[ "MIT" ]
permissive
TippyFlitsUK/FarmXero
1bb3496d164d66c940bd3012e36e1763990ff30d
881b1e6648e927631b276e66a4c5287e4de2cbc1
refs/heads/main
2023-07-05T14:49:57.186130
2021-08-19T19:33:48
2021-08-19T19:33:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,766
py
# coding: utf-8 """ Accounting API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 Contact: api@xero.com Generated by: https://openapi-generator.tech """ import re # noqa: F401 from xero_python.models import BaseModel clas...
[ "ben.norquay@gmail.com" ]
ben.norquay@gmail.com
d1a3312fd06cdd1c33319651970db66ccf6feaff
844501294ca37f1859b9aa0a258e6dd6b1bf2349
/snipe/__init__.py
ed31be10c2f86531161797372795b4dd3a2ba4bb
[ "MIT", "BSD-2-Clause" ]
permissive
1ts-org/snipe
2ac1719bc8f6b3b158c04536464f866c34051253
ad84a629e9084f161e0fcf811dc86ba54aaf9e2b
refs/heads/master
2021-06-04T22:32:36.038607
2020-03-27T05:18:36
2020-04-05T21:50:42
18,642,653
6
3
NOASSERTION
2019-10-08T02:02:50
2014-04-10T16:01:32
Python
UTF-8
Python
false
false
1,377
py
# -*- encoding: utf-8 -*- # Copyright © 2014 the Snipe contributors # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # 1. Redistributions of source code must retain the above copyright # notice...
[ "kcr@1ts.org" ]
kcr@1ts.org
7b47974d7c6dff9d2d526ea771620b522c940bca
5f4da925312f9ad4b4de36e7d1861031d3f03731
/app.py
964943b9a931d3e43f46b67109b0c953a4cb9dad
[]
no_license
geofferyj/PROJECT1
1b1c0cad5c3766589af8291b0c2635d15cfd599d
89cdfe42e27c3176dbdce79654d1161013e041cf
refs/heads/master
2021-01-01T12:28:51.167516
2020-03-02T15:59:41
2020-03-02T15:59:41
239,279,791
0
0
null
null
null
null
UTF-8
Python
false
false
6,679
py
import os, requests from functools import wraps from flask import Flask, session, redirect, render_template, url_for, request, flash, jsonify, make_response, abort from flask_session import Session from sqlalchemy import create_engine, exc from sqlalchemy.orm import scoped_session, sessionmaker app = Flask(__name__) ...
[ "geofferyjoseph1@gmail.com" ]
geofferyjoseph1@gmail.com
38c7b8ae0a1fe7c519e2cb5f2fca8b9894080414
bcc00e164c3d20b3c0ac1099741a71491af0e302
/.history/neotropical_datasetAPI_20191014144558.py
7ff867bf62e30070273816b13537d6b29785d50f
[]
no_license
manasa151/Toshokan
cff2af75c480bd629b49ce39c17857b316102e45
192c7eaf8523e38fa5821affdec91eb60ae5b7ce
refs/heads/master
2020-08-05T14:56:10.285024
2019-10-15T17:07:09
2019-10-15T17:07:09
212,586,868
0
0
null
null
null
null
UTF-8
Python
false
false
4,422
py
import csv from os import makedirs from selenium import webdriver from selenium.webdriver.common.by import By from selenium.webdriver.support.ui import Select from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions as EC from selenium.common.exceptions import T...
[ "cornerstoneconnections@gmail.com" ]
cornerstoneconnections@gmail.com
fc9c235e3d4f8607eaf02246e0cb7385120abb75
17c280ade4159d4d8d5a48d16ba3989470eb3f46
/18/mc/ExoDiBosonResonances/EDBRTreeMaker/test/crab3_analysisM4500_R_0-7.py
ae645a54658b7cd536c87077e75805da8681f2d2
[]
no_license
chengchen1993/run2_ntuple
798ff18489ff5185dadf3d1456a4462e1dbff429
c16c2b203c05a3eb77c769f63a0bcdf8b583708d
refs/heads/master
2021-06-25T18:27:08.534795
2021-03-15T06:08:01
2021-03-15T06:08:01
212,079,804
0
2
null
null
null
null
UTF-8
Python
false
false
2,201
py
from WMCore.Configuration import Configuration name = 'WWW' steam_dir = 'xulyu' config = Configuration() config.section_("General") config.General.requestName = 'M4500_R0-7_off' config.General.transferLogs = True config.section_("JobType") config.JobType.pluginName = 'Analysis' config.JobType.inputFiles = ['Autumn...
[ "c.chen@cern.ch" ]
c.chen@cern.ch
10d919ed0109a6401f4dd3ac01502930a7d4097e
80383bd5f39fd7eacff50f4b0fcc3c5e7c8329e0
/reddwarf/tests/api/instances_delete.py
9bef213d56cfc68c4ac1598aaffd3bb0d1ab7020
[]
no_license
imsplitbit/reddwarf
646409a2365459515b37f70445c0acb22610898d
2f50d9a12a390c6016aad6a612a14bd6c34b66fd
refs/heads/master
2020-05-19T15:45:26.733102
2013-01-08T21:37:10
2013-01-08T21:37:10
2,270,590
0
1
null
null
null
null
UTF-8
Python
false
false
4,257
py
import time from proboscis import after_class from proboscis import before_class from proboscis import test from proboscis.asserts import * from proboscis.decorators import time_out from reddwarfclient import exceptions from reddwarf.tests.util import create_dbaas_client from reddwarf.tests.util import poll_until fro...
[ "tim.simpson@rackspace.com" ]
tim.simpson@rackspace.com
2fbb5fdd65ad8826645ab7e7e699ebefa0f72824
22cd0e79f4dd999e40a1d6ff829f8ef4f8d9df9a
/samples/kuka_maze_planner/devel/lib/python2.7/dist-packages/rll_msgs/msg/_DefaultMoveIfaceActionResult.py
8cdca9ad71548b62110f5d3b6c4fddf5b2278554
[]
no_license
anupamkaul/robond
b3f9cefbf0205d3c1db14b9982a95f61644a49b1
f5b1e4323c0bf0ccd7d78dbef8c9e0ddf1a85d17
refs/heads/master
2021-06-21T14:06:09.368041
2020-11-30T19:51:36
2020-11-30T19:51:36
146,023,409
0
0
null
null
null
null
UTF-8
Python
false
false
12,018
py
# This Python file uses the following encoding: utf-8 """autogenerated by genpy from rll_msgs/DefaultMoveIfaceActionResult.msg. Do not edit.""" import sys python3 = True if sys.hexversion > 0x03000000 else False import genpy import struct import rll_msgs.msg import genpy import actionlib_msgs.msg import std_msgs.msg ...
[ "anupam.kaul@yahoo.com" ]
anupam.kaul@yahoo.com
ea67b257d486b0630025a0e3b1ae137a45ba25a4
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/synthetic/sieve-big-3533.py
9879255d0fdf486ca055ce49640b6af70af43a61
[]
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
31,754
py
# A resizable list of integers class Vector(object): items: [int] = None size: int = 0 def __init__(self:"Vector"): self.items = [0] # Returns current capacity def capacity(self:"Vector") -> int: return len(self.items) # Increases capacity of vector by one element def incr...
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
d6f9aae369f645e06dd5a81e0da92deb03d22e25
350d6b7246d6ef8161bdfccfb565b8671cc4d701
/Insert Interval.py
fdec8d8c9a46850b59d3f652b43f6c85e069796d
[]
no_license
YihaoGuo2018/leetcode_python_2
145d5fbe7711c51752b2ab47a057b37071d2fbf7
2065355198fd882ab90bac6041c1d92d1aff5c65
refs/heads/main
2023-02-14T14:25:58.457991
2021-01-14T15:57:10
2021-01-14T15:57:10
329,661,893
0
0
null
null
null
null
UTF-8
Python
false
false
1,191
py
class Solution: def insert(self, intervals: 'List[Interval]', newInterval: 'Interval') -> 'List[Interval]': # init data new_start, new_end = newInterval idx, n = 0, len(intervals) output = [] # add all intervals starting before newInterval while idx < n and new_start...
[ "yihao_guo@gwmail.gwu.edu" ]
yihao_guo@gwmail.gwu.edu
139a215386fd73c93520824d0d8e1a4d7e908698
7dbbde919349fdc3651eff1a7be744aed25eea30
/scripts/multiprocessing_example.py
13f78ecf32de52baab2847baa7991b1bf9d173e0
[]
no_license
adrn/scicoder-notebooks
06ca10a12c4f89a5c2e4062c70b6e4eb3bc0b1b0
7c8a5850200c3fb78aca1c336af7ed47ad52c52a
refs/heads/master
2021-03-12T21:37:39.597404
2013-07-08T04:37:23
2013-07-08T04:37:23
11,226,565
1
1
null
null
null
null
UTF-8
Python
false
false
662
py
# coding: utf-8 """ Demonstration of the built-in multiprocessing package """ from __future__ import division, print_function __author__ = "adrn <adrn@astro.columbia.edu>" # Standard library import multiprocessing # Define a 'task' or 'worker' function -- something function that you # need to call over and over ...
[ "adrian.prw@gmail.com" ]
adrian.prw@gmail.com
5a41960a55928dd63bb70c8a7008554e17a3496e
fa04e703556632fb6f513181070a496294b4f0dd
/patchnotifyer.py
e9804345e8e3f1936beb087a831e11a4efd27754
[]
no_license
mhagander/patchnotifyer
a377d741c3837cbe6e5c8026ceced9a0a4b4c056
14c9b1d14780460645807227176db01aeef18267
refs/heads/master
2021-01-11T15:01:35.217795
2017-01-31T10:03:56
2017-01-31T10:03:56
80,282,835
0
0
null
null
null
null
UTF-8
Python
false
false
2,583
py
#!/usr/bin/env python3 import argparse from io import StringIO import socket import smtplib from email.mime.text import MIMEText import apt_pkg class _DevNullProgress(object): # Need this class to make the apt output not go to the console def update(self, percent = None): pass def done(self, ite...
[ "magnus@hagander.net" ]
magnus@hagander.net
8b51c987b63b3177ed110cb9eba833dc3e9b1891
c1cd6a7a446934c428bc4fbf988f8d6680460488
/dist/restclient.app/Contents/Resources/py2app/bootstrap/path_inject.py
ace081845b5061c6e400919901db030b61234c9f
[]
no_license
devvmh/restclient-py2app
ed016d1763ee99779388c8700dfb9c129cf8ce1a
6826f6cb81c08a36b30878683a58e4f7a18f5041
refs/heads/master
2021-01-10T12:01:31.411373
2016-01-18T03:34:02
2016-01-18T03:34:02
49,850,053
0
0
null
null
null
null
UTF-8
Python
false
false
92
py
/Users/devin/git/restclient/venv/lib/python2.7/site-packages/py2app/bootstrap/path_inject.py
[ "devin@callysto.com" ]
devin@callysto.com
eb86c5d2bcdc85721b23e67fb5747812f0c969e5
a6e4a6f0a73d24a6ba957277899adbd9b84bd594
/sdk/python/pulumi_azure_native/providerhub/v20201120/get_skus_nested_resource_type_first.py
48f43b29f82376eb8e0e141895212a4bf923acac
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
MisinformedDNA/pulumi-azure-native
9cbd75306e9c8f92abc25be3f73c113cb93865e9
de974fd984f7e98649951dbe80b4fc0603d03356
refs/heads/master
2023-03-24T22:02:03.842935
2021-03-08T21:16:19
2021-03-08T21:16:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,018
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...
[ "noreply@github.com" ]
MisinformedDNA.noreply@github.com
147eabb86c23fd8281b4ba09190388f7a3989371
549afd4c4c5c9b401a2643210d6a4d75b7aaa308
/src/optlang_operations.py
17e0c0f49974128cd21393d536cc7587fb94db62
[]
no_license
OGalOz/FBA_Learn_Python
ff6c4ab5335b8f0cbfead5dc8da7392429503235
2df9b6fd128db8af1f97f6d12e9ab34ec5268a49
refs/heads/master
2023-05-27T03:06:27.671342
2019-10-07T18:19:34
2019-10-07T18:19:34
210,938,075
0
2
null
2019-10-03T21:48:04
2019-09-25T20:49:44
Python
UTF-8
Python
false
false
2,749
py
# In this file we make use of optlang # More info here: https://optlang.readthedocs.io/en/latest/ from optlang import Model, Variable, Constraint, Objective # You can declare the symbolic variables here with upper and lower bounds: ''' x1 = Variable('x1', lb=0, ub = 100) ''' #S is the stoichiomatrix as passed in ...
[ "ogaloz@lbl.gov" ]
ogaloz@lbl.gov
1f72205dad514935455fd3be194807f4ebba7730
7a10bf8748c7ce9c24c5461c21b5ebf420f18109
/ml_training/PythonCode/P4_Pandas_Basics.py
76770dbb25d18994fa84bd5163e320d499c538b4
[]
no_license
VishalChak/machine_learning
aced4b4bf65bbbd08c966a2f028f217a918186d5
c6e29abe0509a43713f35ebf53da29cd1f0314c1
refs/heads/master
2021-06-15T07:13:56.583097
2019-10-05T06:01:58
2019-10-05T06:01:58
133,164,656
0
0
null
null
null
null
UTF-8
Python
false
false
3,051
py
# Import Library import pandas as pd # Read data from a url url = "https://vincentarelbundock.github.io/Rdatasets/csv/datasets/HairEyeColor.csv" df = pd.read_csv(url) # Type of the df object type(df) # Column names list(df) # Show first few rows df.head() # Show last few rows df.tail() # Data...
[ "vishalbabu.in@gmail.com" ]
vishalbabu.in@gmail.com
d332b3dd09b91c5e952ba6af93587d2050fea535
f20d9ff8aafb8ef2d3e4a14b1d055be7c1a1e0db
/create_database.py
1c4848520b8d61043baad8f24786a792f0988323
[]
no_license
HopeCheung/menu_api
25fee2d807e86245bc547c753a8bc156d99b9962
bfb410bfe5cd686e237f937f64bac198e178c75e
refs/heads/master
2020-05-09T20:59:49.467719
2019-04-15T17:42:24
2019-04-15T17:42:24
181,426,747
0
0
null
null
null
null
UTF-8
Python
false
false
683
py
import os import sqlite3 conn = sqlite3.connect("menu.db") conn.execute('create table menu (id int, name varchar(20), item varchar(20))') cur = conn.cursor() cur.execute('insert into menu values(1, "Lunch Specials", "Chicken")') cur.execute('insert into menu values(2, "Dinner Specials", "Pork")') cur.execute('insert...
[ "568038810@qq.com" ]
568038810@qq.com
8543373d98c1f04b791fbc898524b98731cd31c2
490fad8eb8856c16b3d1d2e1ac3d00f5bd1280ba
/langsea/managers/category_manager.py
5e1600baac8d6797c904a7ef17ec7107403b641f
[ "MIT" ]
permissive
blancheta/langsea
ebd12b16ff1b36d4292f527ec58f23b93deecbe7
e268b43fb94e3234ac161f2e5d9600d51360e4b3
refs/heads/master
2020-12-25T14:14:49.029568
2016-08-20T16:31:00
2016-08-20T16:31:00
66,143,438
1
0
null
null
null
null
UTF-8
Python
false
false
591
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import requests from langsea.models.category import Category class CategoryManager: categories_api_url = 'http://www.langsea.org/api/categories/' def all(self): response = requests.get(self.categories_api_url) if response.ok: categories = [] for category_...
[ "alexandreblanchet44@gmail.com" ]
alexandreblanchet44@gmail.com
f8fb78b34913903cdd4e7dbecf2b63afad70b866
b19a1baf69d1f7ba05a02ace7dfcba15c8d47cfb
/my_random.py
1a36aadaabd3e30ae66d3858d940a5fa861897f8
[]
no_license
MarkHofstetter/20191018-wifi-python
20ed5de1cf28996902cecf7cd681d054e0d06739
7427b896783059a77c541e95df851a492ef5ebb9
refs/heads/master
2020-08-15T03:43:42.964992
2019-10-28T14:39:17
2019-10-28T14:39:17
215,275,139
2
2
null
null
null
null
UTF-8
Python
false
false
991
py
# kopfrechen # der benutzer bekommt 2 unterschiedliche zufallszahlen jeweils im Bereich 1 - 10 # die muss der Benutzer multiplizieren # und es wird ueberprueft ob die aufgabe richtig geloest wurde # zusatz # 10 verschiedene Aufgaben stellen und sich merken # wieviel richtig und falsch waren import random from util i...
[ "mark@hofstetter.at" ]
mark@hofstetter.at
4befe135006f88eaa43f75a4a79d805a6d066eaa
6188f8ef474da80c9e407e8040de877273f6ce20
/examples/docs_snippets/docs_snippets/guides/dagster/asset_tutorial/non_argument_deps.py
9d15421d4ee2978a194a43bb4d650ad0f3abb1eb
[ "Apache-2.0" ]
permissive
iKintosh/dagster
99f2a1211de1f3b52f8bcf895dafaf832b999de2
932a5ba35263deb7d223750f211c2ddfa71e6f48
refs/heads/master
2023-01-24T15:58:28.497042
2023-01-20T21:51:35
2023-01-20T21:51:35
276,410,978
1
0
Apache-2.0
2020-07-01T15:19:47
2020-07-01T15:13:56
null
UTF-8
Python
false
false
2,104
py
"""isort:skip_file""" import csv import requests from dagster import asset @asset def cereals(): response = requests.get("https://docs.dagster.io/assets/cereal.csv") lines = response.text.split("\n") return [row for row in csv.DictReader(lines)] @asset def nabisco_cereals(cereals): """Cereals manu...
[ "noreply@github.com" ]
iKintosh.noreply@github.com
36d309841dbe245ef49c789e87285f004a3dd0c7
169e75df163bb311198562d286d37aad14677101
/tensorflow/python/keras/_impl/keras/layers/gru_test.py
48e7e14f5ab73b534ab0d1c765ad2572b2930b2b
[ "Apache-2.0" ]
permissive
zylo117/tensorflow-gpu-macosx
e553d17b769c67dfda0440df8ac1314405e4a10a
181bc2b37aa8a3eeb11a942d8f330b04abc804b3
refs/heads/master
2022-10-19T21:35:18.148271
2020-10-15T02:33:20
2020-10-15T02:33:20
134,240,831
116
26
Apache-2.0
2022-10-04T23:36:22
2018-05-21T08:29:12
C++
UTF-8
Python
false
false
7,280
py
# Copyright 2016 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...
[ "zylo117@hotmail.com" ]
zylo117@hotmail.com
cd0aa0709e33dd26bd91d1e55facc99254e15216
d0b6940acef2dd8ee8e37dc1034cb7e6799889f8
/build/ur_e_description/catkin_generated/pkg.installspace.context.pc.py
eae8692e9c7a38050d6c96c32a004725305a6ce3
[]
no_license
robwoidi/ws_MoveIt
5477202f01e7ddd9c4bdf21187c755fe80bf6c4d
9b004cd792193337f9f3e628ded7a63e97f85295
refs/heads/master
2023-07-06T01:54:24.311735
2021-08-08T11:57:34
2021-08-08T11:57:34
393,943,940
0
0
null
null
null
null
UTF-8
Python
false
false
380
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "".split(';') if "" != "" else [] PROJECT_CATKIN_DEPENDS = "".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_PREFIX = "".split(';') if "" != "" else [] PROJECT_NAME = "ur_e_description" PROJECT_SPACE_DIR =...
[ "woidi@t-online.de" ]
woidi@t-online.de
fe6afb0a5ceacf91383ce734fe45b592f58f00f9
d05a59feee839a4af352b7ed2fd6cf10a288a3cb
/xlsxwriter/test/comparison/test_chart_axis30.py
9e4ec252d029acea26ddf0d4218712e6c3c78c56
[ "BSD-2-Clause-Views" ]
permissive
elessarelfstone/XlsxWriter
0d958afd593643f990373bd4d8a32bafc0966534
bb7b7881c7a93c89d6eaac25f12dda08d58d3046
refs/heads/master
2020-09-24T06:17:20.840848
2019-11-24T23:43:01
2019-11-24T23:43:01
225,685,272
1
0
NOASSERTION
2019-12-03T18:09:06
2019-12-03T18:09:05
null
UTF-8
Python
false
false
1,350
py
############################################################################### # # Tests for XlsxWriter. # # Copyright (c), 2013-2019, John McNamara, jmcnamara@cpan.org # from ..excel_comparsion_test import ExcelComparisonTest from ...workbook import Workbook class TestCompareXLSXFiles(ExcelComparisonTest): """...
[ "jmcnamara@cpan.org" ]
jmcnamara@cpan.org
17155a2faf01fd4d1b8ef2bd64c48e450adac8c7
8aa04db29bae5e0391543349eb2c0f778c56ffae
/tensorflow/python/trackable/asset.py
c218f7240e4f29d6e95140050581981776c3b287
[ "Apache-2.0", "LicenseRef-scancode-generic-cla", "BSD-2-Clause" ]
permissive
mansnils/tensorflow
ec1a840f8fca6742d6e54dcf7b00eae0180f4023
b0164f014fd4f1b5af2c7b578aa7687198c5d92e
refs/heads/master
2023-01-30T00:13:07.772844
2023-01-09T09:45:45
2023-01-09T09:49:49
226,075,754
1
0
Apache-2.0
2019-12-05T10:27:38
2019-12-05T10:27:37
null
UTF-8
Python
false
false
4,278
py
# Copyright 2017 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
e86d67f32b9eade3829748ae16ebc5608042241f
f791462fb1286607d16459c1602d133f8d8c8b59
/test/test_distributions_mixture.py
a1ab093e65ea5c73f333d6fcd898c35cb3340e73
[ "Apache-2.0" ]
permissive
pyro-ppl/numpyro
b071ed2bd93be41bafc3da8764c9f5617f996d92
ca96eca8e8e1531e71ba559ef7a8ad3b4b68cbc2
refs/heads/master
2023-09-03T15:56:13.252692
2023-08-28T14:32:25
2023-08-28T14:32:25
170,580,540
1,941
219
Apache-2.0
2023-09-04T11:26:11
2019-02-13T21:13:59
Python
UTF-8
Python
false
false
5,161
py
# Copyright Contributors to the Pyro project. # SPDX-License-Identifier: Apache-2.0 import pytest import jax import jax.numpy as jnp import numpyro.distributions as dist rng_key = jax.random.PRNGKey(42) def get_normal(batch_shape): """Get parameterized Normal with given batch shape.""" loc = jnp.zeros(bat...
[ "noreply@github.com" ]
pyro-ppl.noreply@github.com
815c29c7ac315b39685f4cb97cfe0129b2f4b029
b2c0517a0421c32f6782d76e4df842875d6ffce5
/Algorithms/Dynamic Programming/121. Best Time to Buy and Sell Stock.py
ebf0f3692c9e7ba74f468b736b65e900ba63d3d1
[]
no_license
SuYuxi/yuxi
e875b1536dc4b363194d0bef7f9a5aecb5d6199a
45ad23a47592172101072a80a90de17772491e04
refs/heads/master
2022-10-04T21:29:42.017462
2022-09-30T04:00:48
2022-09-30T04:00:48
66,703,247
1
0
null
null
null
null
UTF-8
Python
false
false
1,053
py
#Forward class Solution(object): def maxProfit(self, prices): if(not prices): return 0 minP = prices[0] maxPro = 0 for i in prices: if(i <= minP): minP = i else: maxPro = max(maxPro, i-minP) return maxPro #Backward class Solution(o...
[ "soration2099@gmail.com" ]
soration2099@gmail.com
c174eeaece6b1b311b305f2b8e6aae548566a5fb
b314518eb3e33c872f880c4f80a0f3d0856cf9ee
/12_marks.py
bd31d77188a83adcb12a63ab0e53a8fd0675250c
[]
no_license
namntran/2021_python_principles
0ba48d2cb6ff32a4fefd0b13ae24d2376e17740e
bf33210f9b0e02dfefe7a9a008936e8f47d25149
refs/heads/main
2023-03-10T15:47:48.930202
2021-02-25T07:27:53
2021-02-25T07:27:53
330,814,436
0
0
null
null
null
null
UTF-8
Python
false
false
964
py
# 12_marks.py # Prompt for and read marks for a test unit a negative number is entered. # Print the number of marks entered and the average (arithmetic mean) of marks # Print the highest and lowest marks # use indefinite loop - while loop n = 0 total = 0.0 mark = float(input("Enter a mark: ")) #initialise variables t...
[ "namtran78@gmail.com" ]
namtran78@gmail.com
25a56b9668be160cc2d3f1113f3f44564b46c9fe
356151747d2a6c65429e48592385166ab48c334c
/backend/manager/threads/manage_chef/th_remove_chef_query.py
ea0d3f08d872c0edeeb0b8a88499869306d0296d
[]
no_license
therealrahulsahu/se_project
c82b2d9d467decd30a24388f66427c7805c23252
c9f9fd5594191ab7dce0504ca0ab3025aa26a0c1
refs/heads/master
2020-06-25T02:51:30.355677
2020-04-20T13:01:36
2020-04-20T13:01:36
199,175,627
0
0
null
null
null
null
UTF-8
Python
false
false
1,371
py
from PyQt5.QtCore import QThread, pyqtSignal class ThreadRemoveChefQuery(QThread): signal = pyqtSignal('PyQt_PyObject') def __init__(self, parent_class): super().__init__() self.output_list = [] self.parent_class = parent_class def run(self): in_name = r'(?i){}'.format(se...
[ "43601158+therealrahulsahu@users.noreply.github.com" ]
43601158+therealrahulsahu@users.noreply.github.com
c273e5c4afb916b2bfe8fda1dff478b84e299c6e
27aaadf435779c29012233cb1dacf27bd9dd0d0f
/cdn-20141111/alibabacloud_cdn20141111/client.py
ef23e019ac3566d3e731afcffe814a639e52c28f
[ "Apache-2.0" ]
permissive
aliyun/alibabacloud-python-sdk
afadedb09db5ba6c2bc6b046732b2a6dc215f004
e02f34e07a7f05e898a492c212598a348d903739
refs/heads/master
2023-08-22T20:26:44.695288
2023-08-22T12:27:39
2023-08-22T12:27:39
288,972,087
43
29
null
2022-09-26T09:21:19
2020-08-20T10:08:11
Python
UTF-8
Python
false
false
99,229
py
# -*- coding: utf-8 -*- # This file is auto-generated, don't edit it. Thanks. from typing import Dict from Tea.core import TeaCore from alibabacloud_tea_openapi.client import Client as OpenApiClient from alibabacloud_tea_openapi import models as open_api_models from alibabacloud_tea_util.client import Client as UtilCl...
[ "sdk-team@alibabacloud.com" ]
sdk-team@alibabacloud.com
858a53123632c2341a8d43156ec562807a7a9d52
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_205/ch139_2020_04_01_19_45_57_332549.py
850ba88067b364259c8a558e3cceaab56293684b
[]
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
158
py
def arcotangente(x,n): m = 3 i = 3 u = -1 z = x while (m<n): z += u*(x**m/i) u*=-1 m+=2 i+=2 return z
[ "you@example.com" ]
you@example.com
3216fe50f659f9555182cd6e9010327a99bc736c
50c2bf03543eff23ec2e88f086e33848b50b5c4f
/docs/links.py
7fb1ce92193eab8aaee889f6876ac192227aa78d
[]
no_license
CiscoTestAutomation/geniefiletransferutilslib
d06967476d78eafe1984a9991a57def25523ade7
9c32f121816d7d8f4a1fc4fc1b7c2fe0cf4e9449
refs/heads/master
2021-06-03T21:04:24.922438
2020-01-20T19:36:53
2020-01-20T19:36:53
131,624,514
3
0
null
null
null
null
UTF-8
Python
false
false
1,016
py
internal_links = {'pyats': ('%s://wwwin-pyats.cisco.com', 'pyATS'), 'devnet': ('%s://developer.cisco.com/', 'Cisco DevNet'), 'multiprotocolfileutilities': ('%s://wwwin-pyats.cisco.com/documentation/html/utilities/file_transfer_utilities.html', 'Multiprotocol File Transfer'), ...
[ "karmoham@cisco.com" ]
karmoham@cisco.com
221b36b5f091132763c293d1bd0373aa8ab7f2c8
7f80ea25908ce2eba6f6a72689f88c142319fe56
/backtracking/baekjoon/2580.py
6451fe1e80ba3457eba728de64bdc892abf909aa
[]
no_license
JUNGEEYOU/Algorithm-Problems
1b242ae3aec3005d4e449f8b6170a63d1acac60b
5e4a8a37254120c7c572b545d99006ebb512e151
refs/heads/main
2023-04-06T11:45:47.867171
2021-04-22T13:49:36
2021-04-22T13:49:36
353,240,130
0
0
null
null
null
null
UTF-8
Python
false
false
633
py
import sys zero_list = [] arr = [] for i in range(9): x = list(map(int, sys.stdin.readline().split())) zero_list.extend([(i, j) for j in range(len(x)) if x[j] == 0]) arr.append(x) zero = len(zero_list) result = [] def dfs(): if len(result) == zero: return # 나의 가로, 나의 세로, 나의 사각형이 모두 합이 45 ...
[ "junge2u@naver.com" ]
junge2u@naver.com
6b3e19b3c633b7ce0aa72c220770ab72ab12a828
6a0589aa1a5f9071cbcee3f84452c880bf96c12d
/tests/conftest.py
1b5dcb8b25e52d3f3937e03f61d604e1bf155437
[ "MIT" ]
permissive
UWPCE-PythonCert/py220_extras
d3203e2fd44ee840d008fac9597a5b0c165e8cc7
57336429fb782c4901e7709c0275242e6af4264a
refs/heads/master
2020-12-01T23:42:58.660565
2020-03-11T02:44:18
2020-03-11T02:44:18
230,816,756
0
1
null
null
null
null
UTF-8
Python
false
false
236
py
# -*- coding: utf-8 -*- """ Dummy conftest.py for uw_py220_extras. If you don't know what this is for, just leave it empty. Read more about conftest.py under: https://pytest.org/latest/plugins.html """ # import pytest
[ "akmiles@icloud.com" ]
akmiles@icloud.com
72f1f59bbbd15bb91ff2e22139d375f363c4fe26
e228abda54dc7ab992ba634997b0d21b7200d091
/runtests.py
9efa69f957de2f6c612397fa92b4ccd7e605a565
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
AltSchool/dynamic-rest
3fd2456d72fdf84e75556bc0fea7303e496b7ec7
ed69e5af4ddf153e6eb304b7db80cc6adbf4d654
refs/heads/master
2023-09-06T01:57:47.555537
2023-03-27T16:15:22
2023-03-27T16:15:22
31,736,312
812
131
MIT
2023-05-28T09:15:45
2015-03-05T21:05:17
Python
UTF-8
Python
false
false
3,117
py
#! /usr/bin/env python # Adopted from Django REST Framework: # https://github.com/tomchristie/django-rest-framework/blob/master/runtests.py from __future__ import print_function import os import subprocess import sys import pytest APP_NAME = 'dynamic_rest' TESTS = 'tests' BENCHMARKS = 'benchmarks' PYTEST_ARGS = { ...
[ "alonetiev@gmail.com" ]
alonetiev@gmail.com
b8a648e695ffd41107411a2a06894c584e2e6f86
82b946da326148a3c1c1f687f96c0da165bb2c15
/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/get_dynamics365_data_connector.py
aab4cce733e30b9d124ff6383db6269c8390a7b0
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
morrell/pulumi-azure-native
3916e978382366607f3df0a669f24cb16293ff5e
cd3ba4b9cb08c5e1df7674c1c71695b80e443f08
refs/heads/master
2023-06-20T19:37:05.414924
2021-07-19T20:57:53
2021-07-19T20:57:53
387,815,163
0
0
Apache-2.0
2021-07-20T14:18:29
2021-07-20T14:18:28
null
UTF-8
Python
false
false
5,892
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from ... import _utilities fro...
[ "noreply@github.com" ]
morrell.noreply@github.com
286036647230c1f20766d06e3e4a66ddc5f011b7
2a1f4c4900693c093b2fcf4f84efa60650ef1424
/py/probe/functions/usb.py
01655565f4c286d2a11fe60aa67c5066b1325d29
[ "BSD-3-Clause" ]
permissive
bridder/factory
b925f494303728fa95017d1ba3ff40ac5cf6a2fd
a1b0fccd68987d8cd9c89710adc3c04b868347ec
refs/heads/master
2023-08-10T18:51:08.988858
2021-09-21T03:25:28
2021-09-21T03:25:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,148
py
# Copyright 2018 The Chromium OS Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import os import re from cros.factory.probe.functions import sysfs from cros.factory.probe.lib import cached_probe_function REQUIRED_FIELDS = ['idVendo...
[ "chrome-bot@chromium.org" ]
chrome-bot@chromium.org
202a88655b5c4915d28f86f89d310486eed37aa5
5667b69eee4b384e09625c1c65799a9785336b5b
/ivi/tektronix/tektronixMDO4104.py
4255a76b58b35d946e378bc805e59ee55b55848d
[ "MIT" ]
permissive
Diti24/python-ivi
ffae0aa38e7340fa142929541ded2148f41e8a9a
4bf570eeb370789404d5bae8a439b6bbdb57647e
refs/heads/master
2020-04-08T04:07:06.326253
2019-08-05T16:52:00
2019-08-05T16:52:00
60,081,649
0
1
null
2016-05-31T13:40:19
2016-05-31T10:51:47
Python
UTF-8
Python
false
false
1,640
py
""" Python Interchangeable Virtual Instrument Library Copyright (c) 2016 Alex Forencich 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 righ...
[ "alex@alexforencich.com" ]
alex@alexforencich.com
dfeb29a64581f84d9e2ab512576acb3bf5fbf769
51aa2894c317f60726fe9a778999eb7851b6be3e
/140_gui/pyqt_pyside/examples/PyQt_PySide_book/002_Processing_of_signals_and_events/+21_Handling signal and slot/21_9_Using class QTimer.py
d3b27afda8a2731f5c7749a149ae85dd10462344
[]
no_license
pranaymate/Python_Topics
dd7b288ab0f5bbee71d57080179d6481aae17304
33d29e0a5bf4cde104f9c7f0693cf9897f3f2101
refs/heads/master
2022-04-25T19:04:31.337737
2020-04-26T00:36:03
2020-04-26T00:36:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,608
py
# -*- coding: utf-8 -*- from PyQt4 import QtCore, QtGui import time class MyWindow(QtGui.QWidget): def __init__(self, parent=None): QtGui.QWidget.__init__(self, parent) self.setWindowTitle("Использование класса QTimer") self.resize(200, 100) self.label = QtGui.QLabel("") sel...
[ "sergejyurskyj@yahoo.com" ]
sergejyurskyj@yahoo.com
f020b777a70bdb831c3655afbe4fb727539df1c7
96d31b21fbc196fe83d22ee0fdeb63ba2e58ac4e
/hdf.py
cddbf2eb30743a6d615a5e500d608a8854ec5b2a
[]
no_license
Sandy4321/analysis
7e0a392b9a9ac79fcefc5504e77303d4baa1b93a
ec2751eddbb5dd64c12d4386a86cda4515302419
refs/heads/master
2021-01-21T07:31:25.391005
2013-06-22T13:16:38
2013-06-22T13:16:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,266
py
import h5py import pandas import os def add_col(hdf, name, data, compression = 'lzf'): parts = name.split('/') dirpath = '/'.join(parts[:-1]) if len(dirpath) > 0 and dirpath not in hdf: hdf.create_group(dirpath) hdf.create_dataset(name, data=data, dtype=data.dtype, compression=compression,...
[ "alex.rubinsteyn@gmail.com" ]
alex.rubinsteyn@gmail.com
febab4b2955536ed556e53abca2fbc70e4387f08
f0604a3a32177e6baa0fad2c01766c3e99df3fe6
/courator/config.py
91678558386039d8d473ee9a055c685c75b9b02c
[ "MIT" ]
permissive
Courator/courator-backend
354390902ae6bc8faa17e47ef2c3596162423f52
726845a06c1be7693fd107bdf571ea40b7d398ec
refs/heads/master
2021-04-22T02:07:09.563157
2020-05-07T08:09:30
2020-05-07T08:09:30
249,842,057
0
0
null
null
null
null
UTF-8
Python
false
false
585
py
import logging from databases import DatabaseURL from starlette.config import Config from starlette.datastructures import Secret from .logging import setup_logging config = Config(".env") DEBUG = config("DEBUG", cast=bool, default=False) DATABASE_URL: DatabaseURL = config("DB_CONNECTION", cast=DatabaseURL) SECRET_KE...
[ "matthew331199@gmail.com" ]
matthew331199@gmail.com
3a196c69b9f2abbd039544758aa0e5f4ffeb1fc0
7a1b88d06ea18772b065b43d775cec6dd2acdf80
/1620.py
af8268a37b2479d7b8eb091095dcf56bd0c39388
[]
no_license
skaurl/baekjoon-online-judge
28144cca45168e79b1ae0baa9a351f498f8d19ab
1620d298c2f429e03c5f9387d8aca13763f5c731
refs/heads/master
2023-07-26T10:07:29.724066
2021-09-07T09:21:02
2021-09-07T09:21:02
299,019,978
1
0
null
null
null
null
UTF-8
Python
false
false
326
py
import sys a,b = map(int,sys.stdin.readline().strip().split()) dict_1 = {} dict_2 = {} for i in range(a): name = sys.stdin.readline().strip() dict_1[name] = i+1 dict_2[i+1] = name for i in range(b): x = sys.stdin.readline().strip() try: print(dict_2[int(x)]) except: print(dict...
[ "dr_lunars@naver.com" ]
dr_lunars@naver.com
06df8306b20a7459428d2bec87c1891edbec67bc
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_95/1593.py
e3d0777f40977183a794b3eb8007eeb8c64e1509
[]
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
618
py
#!/usr/bin/env python mm = {'a': 'y', 'c': 'e', 'b': 'h', 'e': 'o', 'd': 's', 'g': 'v', 'f': 'c', 'i': 'd', 'h': 'x', 'k': 'i', 'j': 'u', 'm': 'l', 'l': 'g', 'o': 'k', 'n': 'b', 'p': 'r', 's': 'n', 'r': 't', 'u': 'j', 't': 'w', 'w': 'f', 'v': 'p', 'y': 'a', 'x': 'm', 'q': 'z','z':'q',' ': ' ','\n': ''} def str_tran(...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
f7b756861161b2a1d93f5522f0606c0fa0e8c1a9
09cd370cdae12eb45090033a00e9aae45ee26638
/STUDY/Graph Theory/18-43 어두운 길.py
ec19f71096e072352c9493057e1ec9be94080fd2
[]
no_license
KWONILCHEOL/Python
ee340f6328945651eb29d2b23c425a92c84a4adb
1ea5f5f74894a5929e0e894c5c12f049b8eb9fb4
refs/heads/main
2023-04-11T09:36:54.874638
2021-04-24T04:29:12
2021-04-24T04:29:12
328,658,511
0
0
null
null
null
null
UTF-8
Python
false
false
764
py
import sys input = sys.stdin.readline def find_parent(parent, x): while parent[x] != x: parent[x], x = parent[parent[x]], parent[x] return x def union_parent(parent, a, b): a = find_parent(parent, a) b = find_parent(parent, b) if a < b: parent[b] = a else: parent[a] = b...
[ "kwon6460@gmail.com" ]
kwon6460@gmail.com
17e37a8ad51613ef444d2626b00890e753fa8ae1
1bdbf12e6fa1091beeb4ce0d923664e779cda509
/NumPy/Getting_Started.py
6af75b8b95932f5dc297a0092c0db418cb5b32b1
[]
no_license
balajisaikumar2000/Python-Snippets
d61176f3a3752861c5a355c09b27c418727b90fd
b36a642b99cb2517438f773d21654ae4fef2cc05
refs/heads/master
2023-01-24T05:57:03.654796
2020-12-05T13:38:58
2020-12-05T13:38:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
90
py
import numpy as np arr = np.array([1,2,3,4,5]) print(arr) #version: print(np.__version__)
[ "balajisaikumar3@gmail.com" ]
balajisaikumar3@gmail.com