blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
288
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
684 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
147 values
src_encoding
stringclasses
25 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
128
12.7k
extension
stringclasses
142 values
content
stringlengths
128
8.19k
authors
listlengths
1
1
author_id
stringlengths
1
132
bf745fa17696105b8a84b41319b5adca1f91458c
7889f7f0532db6a7f81e6f8630e399c90438b2b9
/1.2.1/examples/old_animation/animation_blit_tk.py
54e288efd621348409627300589223e4866d2af8
[]
no_license
matplotlib/matplotlib.github.com
ef5d23a5bf77cb5af675f1a8273d641e410b2560
2a60d39490941a524e5385670d488c86083a032c
refs/heads/main
2023-08-16T18:46:58.934777
2023-08-10T05:07:57
2023-08-10T05:08:30
1,385,150
25
59
null
2023-08-30T15:59:50
2011-02-19T03:27:35
null
UTF-8
Python
false
false
1,241
py
# For detailed comments on animation and the techniqes used here, see # the wiki entry http://www.scipy.org/Cookbook/Matplotlib/Animations from __future__ import print_function import matplotlib matplotlib.use('TkAgg') import sys import pylab as p import numpy as npy import time ax = p.subplot(111) canvas = ax.figu...
[ "mdboom@gmail.com" ]
mdboom@gmail.com
fdd82b469307757481d9402d9b1a7df36f7d61cf
8e24e8bba2dd476f9fe612226d24891ef81429b7
/geeksforgeeks/python/python_all/155_8.py
c5fa49041f2f515494c5a3bd6618f0b7a6a22433
[]
no_license
qmnguyenw/python_py4e
fb56c6dc91c49149031a11ca52c9037dc80d5dcf
84f37412bd43a3b357a17df9ff8811eba16bba6e
refs/heads/master
2023-06-01T07:58:13.996965
2021-06-15T08:39:26
2021-06-15T08:39:26
349,059,725
1
1
null
null
null
null
UTF-8
Python
false
false
2,495
py
Python | Create list of numbers with given range Given two numbers _r1_ and _r2_ (which defines the range), write a Python program to create a list with the given range (inclusive). **Examples:** **Input :** r1 = -1, r2 = 1 **Output :** [-1, 0, 1] **Input :** r1 = 5, r...
[ "qmnguyenw@gmail.com" ]
qmnguyenw@gmail.com
e646c0b10a9bdb829ad17ba45c7366676b9cedf0
605d63d23bc2e07eb054979a14557d469787877e
/atest/testdata/test_libraries/nön_äscii_dïr/valid.py
bb5ff90b334da4ff55b749fdcceb78e6b7652ee9
[ "Apache-2.0", "CC-BY-3.0" ]
permissive
robotframework/robotframework
407b0cdbe0d3bb088f9bfcf9ea7d16e22eee1ddf
cf896995f822f571c33dc5651d51365778b1cf40
refs/heads/master
2023-08-29T03:19:00.734810
2023-08-27T18:14:48
2023-08-28T18:14:11
21,273,155
8,635
2,623
Apache-2.0
2023-09-05T04:58:08
2014-06-27T11:10:38
Python
UTF-8
Python
false
false
183
py
def keyword_in_non_ascii_dir(): return "Keyword in 'nön_äscii_dïr'!" def failing_keyword_in_non_ascii_dir(): raise AssertionError("Keyword in 'nön_äscii_dïr' fails!")
[ "peke@iki.fi" ]
peke@iki.fi
0ebf13a9eb9a652e83cceb6c621660761d2280a0
7a0a1b9910b02194d8de86426a703fc0ea2b6df1
/inventory/models.py
60afceba7ad7d9c516bf7daba023d14ac4cb32f2
[]
no_license
sakkhar/Django_Erp_Management
5fc2704f31e1e905adb1fcd49d7af7d3bd5ffc4a
ef31c0121e7f96ee36a54bcfb5fd53fb011c81bc
refs/heads/master
2021-05-11T06:50:58.852836
2018-01-18T15:40:20
2018-01-18T15:40:20
118,000,860
1
0
null
null
null
null
UTF-8
Python
false
false
1,513
py
from django.db import models # Create your models here. class InventoryLocation(models.Model): location_code=models.CharField(max_length=200, unique=True, blank=True, null=True, help_text='Location Code') def __unicode__(self): return self.location_code class InventoryItem(models.Model): """ ...
[ "sakkhar@mail.com" ]
sakkhar@mail.com
eda0c3a54eabb1d5e1853412b953a115a2ce2fd1
6dd2d35c160473ae664cc1a2e56e0fec601b5922
/restic/test/test_backup.py
85122f8cf945f85af43eb5e6254162dafc3490a2
[ "MIT" ]
permissive
jstzwj/PyRestic
843b220b3c430f78f797956395e1940d451ff043
4164e34da3a8333ea655a70cf3201a4141c67b33
refs/heads/master
2021-07-08T04:59:01.538369
2020-01-30T06:53:02
2020-01-30T06:53:02
230,111,222
2
1
MIT
2021-03-13T23:02:46
2019-12-25T14:05:36
Python
UTF-8
Python
false
false
593
py
import restic import unittest import shutil class TestBackup(unittest.TestCase): def test_backup_file(self): repo = restic.Repo.init('repos_test/test_repo', '12345678') try: repo.backup('setup.py') snapshots = repo.snapshots() self.assertEqual(len(snapshots), 1)...
[ "1103870790@qq.com" ]
1103870790@qq.com
2ac73ea423e72602d6e5b0804063698da04b7145
0478abafc05f1dd55ddf6054d95fef73e9fa03e9
/quati/dataset/__init__.py
382e160b452d9958c52306fae72b70b7ba504596
[ "MIT" ]
permissive
deep-spin/quati
89bce0868b36b0d7902659507b72acfbd01ada98
62a6769475090182fe2990b2864d66f8e2081a32
refs/heads/master
2023-03-12T09:22:31.520259
2021-03-02T15:13:22
2021-03-02T15:13:22
330,678,540
2
1
null
null
null
null
UTF-8
Python
false
false
1,380
py
from quati.dataset.corpora import available_corpora from quati.dataset.corpora.text import TextCorpus from quati.dataset.corpora.text_pair import TextPairCorpus from quati.dataset.dataset import DocDataset, EntailmentDataset, POSDataset available_datasets = { 'doc': DocDataset, 'entailment': EntailmentDataset,...
[ "marcosvtreviso@gmail.com" ]
marcosvtreviso@gmail.com
9271ddbec4c428e48a7fdb8712541999b2a88e0b
d153c170a4839deb4d8606009be15198418aea69
/백준문제/week2/03.13/20_ex18258.py
3db2eb8e29afaf70c2cb87929c9033537b2a8d32
[]
no_license
rlatmd0829/algorithm
669085907e2243b4c3a663feab87cd83ff50cc49
116bebf16afa6e20d9e968aa312b99b8eea447a5
refs/heads/master
2023-08-21T02:27:36.944919
2021-09-26T09:39:52
2021-09-26T09:39:52
345,480,784
0
0
null
null
null
null
UTF-8
Python
false
false
774
py
import sys from collections import deque N = int(input()) queue = deque() def push(X): queue.append(X) def pop(): if not queue: return -1 return queue.popleft() def size(): return len(queue) def empty(): if queue: return 0 else: return 1 def front(): if not queu...
[ "rlatmd0829@naver.com" ]
rlatmd0829@naver.com
f2b5b652ce68aa1a4995c2e17f08c591db324878
43c88a1881c3578f1cb383078e677ee05c70584d
/0x07-Session_authentication/api/v1/auth/session_auth.py
857067a2519f20d64e5651ade221a4ad4dc5ece7
[]
no_license
yacinekedidi/holbertonschool-web_back_end
9f8ce5f3fd3bdb2d73744eeb8f7a66a549f5a233
55d35840c34ddd784dd37b69066a12577ff09247
refs/heads/main
2023-08-13T23:52:13.542242
2021-10-19T04:27:29
2021-10-19T04:27:29
387,535,013
0
0
null
null
null
null
UTF-8
Python
false
false
1,849
py
#!/usr/bin/env python3 """[Module]""" from flask.globals import session from api.v1.auth.auth import Auth import uuid from models.user import User class SessionAuth(Auth): """[summary] Args: Auth ([type]): [description] """ user_id_by_session_id = {} def create_session(self, user_id: str...
[ "kedidiyacine@gmail.com" ]
kedidiyacine@gmail.com
30299ca34c806db60cbae44f30fdde257c3c801e
ae8cdc83b2ca2b00c3ffb3c7df7c78d519ea10f6
/main_task.py
31920c0f5a6730fe42ffc544d814deaa7a83d16d
[ "MIT" ]
permissive
maratovision/first_git_project
f25711f6373cbf0984b400875cf9140c128137d2
72a130db3243e27c5012ef68f16e12b863dbef65
refs/heads/main
2023-02-12T14:52:00.570534
2021-01-10T12:53:58
2021-01-10T12:53:58
316,516,084
0
0
null
null
null
null
UTF-8
Python
false
false
247
py
name = "Maksat" if len(name) < 100: list2 = [] for alpha in name: if alpha not in list2: list2.append(alpha) if len(list2) % 2 == 0: print("on") else: print("ona")
[ "maratovision@gmail.com" ]
maratovision@gmail.com
719829d783591726a8c3f79d0937f409af8f1947
6444622ad4a150993955a0c8fe260bae1af7f8ce
/account/serializers.py
ea9073820d439c709fa97137476400bf3dd3281a
[]
no_license
jeremyrich/Lesson_RestAPI_jeremy
ca965ef017c53f919c0bf97a4a23841818e246f9
a44263e45b1cc1ba812059f6984c0f5be25cd234
refs/heads/master
2020-04-25T23:13:47.237188
2019-03-22T09:26:58
2019-03-22T09:26:58
173,138,073
0
0
null
2019-03-22T09:26:59
2019-02-28T15:34:19
Python
UTF-8
Python
false
false
998
py
from rest_framework import serializers from .models import Account, Students # Primary serializers class AccountSerializer(serializers.ModelSerializer): """ Serializer for account model """ class Meta: model = Account fields = ("account_id", "name", "email", "password", "address") class St...
[ "jeremyrich@free.fr" ]
jeremyrich@free.fr
6ced1f283223ca0b2d436cfabf4e859cea789d65
942583ae8089c5d35c2344ad1d7ae33012349e98
/lecture-07/subseq.py
34f4ad6c395a48d62016ea32db2de231ac426d0d
[]
no_license
ANAMIKA1410/DSA-Live-Python-March-2021
1d6b836fcf3828fc1f2e800e793a7e3b71c1b4b4
3ffe49060b773a51fbbc0df97df8d1bc29a93afe
refs/heads/main
2023-06-03T04:11:24.648040
2021-06-18T06:15:37
2021-06-18T06:15:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
185
py
def subseq(unproc, proc=""): if(unproc == ""): print(proc) return ch = unproc[0] subseq(unproc[1:], proc+ch) subseq(unproc[1:], proc) subseq("abc")
[ "anujgargcse@gmail.com" ]
anujgargcse@gmail.com
892cd1efcc5e086266352efd4aed6cd2f7a4ea68
72b2259889ba633f0d3ffbe08f1608c8f4e00413
/python/v1/list_accounts.py
5482568f200db625a39c6371e286c2072cc4fb2b
[ "Apache-2.0" ]
permissive
isabella232/googleads-admob-api-samples
88d4db3de1b7ef8342ee774a51a76ec4c2dedec4
14845d691ef1c02f216bc98f0de27a5bb0c229e6
refs/heads/master
2022-12-27T00:04:07.577185
2020-09-23T21:43:42
2020-10-01T15:44:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,297
py
# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, soft...
[ "noreply@github.com" ]
isabella232.noreply@github.com
dabf2f975de13b6f5e50628483a0f52fa50b5a8e
2e7a5f041b8473811fee4865e58bab7b7cc85cf7
/tests/urls/custom_user_activation.py
65d94b036022f16276b4ad45c147c6b82a59d5ea
[ "BSD-3-Clause" ]
permissive
ubernostrum/django-registration
c778f5f205a064548643b740525a472cc32f774f
7a1d8609b7c262f0321bbb39a6f901b9a6953cce
refs/heads/trunk
2023-08-29T13:24:29.668628
2023-07-11T06:00:10
2023-07-11T06:00:10
12,749,575
968
337
BSD-3-Clause
2023-06-12T06:59:25
2013-09-11T06:47:29
Python
UTF-8
Python
false
false
1,554
py
""" URLs used to test the activation workflow with a custom user model. You should not use these in any sort of real environment. """ from django.urls import path from django.views.generic.base import TemplateView from django_registration.backends.activation import views from django_registration.forms import Regist...
[ "james@b-list.org" ]
james@b-list.org
dda1ad99fd6085a54c6daa0be8e079140c4b93d6
61b78d739de772321e00c341cf5d3806ecdb6bb1
/game/migrations/0006_auto_20150809_1724.py
2c225ac11ab4680c52243b075cdb24ad1b21fe05
[]
no_license
Neamar/samurai
e59944d9191e00d0ac7cfddde4231a655bec387c
4c34c1bf84009add310c898a6e66912a71c0cb4f
refs/heads/master
2021-01-10T20:30:24.675901
2015-08-31T08:20:00
2015-08-31T08:20:00
19,860,802
0
0
null
null
null
null
UTF-8
Python
false
false
667
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('game', '0005_auto_20150809_1710'), ] operations = [ migrations.RemoveField( model_name='perso', name...
[ "neamar@neamar.fr" ]
neamar@neamar.fr
8b78b0f81e9b7804f8474d7ab444e5b33afdce44
a885cd8de966988b708f2c13ac3a1387606bf5ea
/alphatwirl/loop/EventLoopRunner.py
83c8d5c575248412023362aa6ae2581ad75e7e0b
[ "BSD-3-Clause" ]
permissive
shane-breeze/AlphaTwirl
e8e95c91d8bfef02ef3cc864773f8d23ffb2eaa0
f68296b0ef97b14c5e1b364e9a8b5ff9629e47b5
refs/heads/v0.9.x
2021-01-20T16:35:00.919681
2017-12-04T08:06:59
2017-12-04T08:06:59
82,783,255
0
0
BSD-3-Clause
2018-10-08T14:20:08
2017-02-22T09:03:55
Python
UTF-8
Python
false
false
997
py
# Tai Sakuma <tai.sakuma@cern.ch> from ..progressbar import NullProgressMonitor ##__________________________________________________________________|| class EventLoopRunner(object): """This class runs instances of `EventLoop` and keeps the results. It will return the results when `end()` is called. """ ...
[ "tai.sakuma@gmail.com" ]
tai.sakuma@gmail.com
5507de23435656061ac4651727832e90a9a1c243
b0e7597e95bb8067dfd9e32cdbc8a0aee23ac75f
/sentiment_analysis/preprocessing.py
dca5032d88de970643310416094b7c788e30c040
[]
no_license
famaf/PLN_2017
f94de63013850ea5ab43e99e154123ef6856cb5f
540cbea09b8e0d609e423c2d8dad192cd3a8e00c
refs/heads/master
2021-09-13T23:51:03.649372
2018-05-06T03:42:04
2018-05-06T03:42:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,302
py
import re import csv import unicodedata from nltk.corpus import stopwords from nltk.stem import SnowballStemmer from nltk.tokenize import TweetTokenizer # Emoticones Positivos y Negativos from sentiment_analysis.emoticons import positive_emoticons, negative_emoticons class PreprocessingTweet(): def __init__(se...
[ "ferreyramario7@gmail.com" ]
ferreyramario7@gmail.com
6ba4f6349e0545dc5c4c120bf18d933016b4ff72
bc9639ffec357279882e67055b4f49fd067c7753
/lt_sdk/graph/transform_graph/node_transformers/tflite_transforms/tflite_quantize_transform.py
e373fcd1c03b2210d2c6ca6924015c7d6ff0b88e
[]
no_license
HermanYang/SDKDocs
855a9d97556bf30b9774e233c2d0991a256ffaa3
a169a7ce612680561093b53afee16fa87d84c045
refs/heads/master
2023-01-03T16:47:48.173248
2020-10-28T21:36:17
2020-10-28T21:36:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,071
py
from lt_sdk.graph.transform_graph.node_transformers.generic_transforms import ( quantize_transform, ) class TFLiteQuantizeTransform(quantize_transform.QuantizeTransform): def transform(self, quantize_node, light_graph): # Get the original sub_node sub_node = quantize_node.original #...
[ "buildagent_software@mach-3.opu.tv" ]
buildagent_software@mach-3.opu.tv
3ec31ed7bd4de9ed930ffa0e89c275edf5153d91
efafd191ccbd2dcbd6d816e54f78dec445bc6c07
/test/lex/oed/test_oed.py
cb85c69b6da687e7421cca4be4ca253c5f525e37
[]
no_license
necrop/pylib3.2
22f8d6be98112281b9ca1d5897207896de600406
514cf329448a810afb03d52d41a7e19a6bf583ff
refs/heads/master
2021-03-12T21:49:10.804062
2014-08-28T07:09:45
2014-08-28T07:09:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,187
py
import os import unittest from lex.entryiterator import EntryIterator FIXTURE_DIR = os.path.dirname(os.path.abspath(__file__)) class TestOed(unittest.TestCase): """ Unit tests for OED libraries """ entries = {} def setUp(self): iterator = EntryIterator(path=FIXTURE_DIR, ...
[ "jmccracken@fastmail.fm" ]
jmccracken@fastmail.fm
64f542380fdfd90564bc45adcb5195b1e754a3d7
209155f8a32bef23c9b02f5ec26a1f5935d319c0
/tests/test_handler_tb_image.py
3be622e735790f7d8181ff9e44d6d2358fce22c5
[ "Apache-2.0" ]
permissive
wentaozhu/MONAI
ec154ca360714df8fcd55aa63506465c7949e1ff
55025e07144b113f156b232b196c3ef1a765e02b
refs/heads/master
2022-11-09T10:28:50.672985
2020-06-25T23:09:26
2020-06-25T23:09:26
274,224,027
2
1
Apache-2.0
2020-06-22T19:22:59
2020-06-22T19:22:58
null
UTF-8
Python
false
false
1,801
py
# Copyright 2020 MONAI Consortium # 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, s...
[ "noreply@github.com" ]
wentaozhu.noreply@github.com
b4368ebd4f6d8aac9403f67a5f4106b31ed96d65
d94b6845aeeb412aac6850b70e22628bc84d1d6d
/kws_streaming/layers/magnitude_rdft.py
a8b6018a7bc9825be98849d7e835cc91433c6c51
[ "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
4,473
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
84aeb734652df5f807c3b3bfba423f369031da76
d5eb2fe5d49b581562ae2bc660d08ca80a03d331
/PythonSandbox/src/leetcode/lc20_valid_parenthesis.py
fb99af8c11058b0097cb9fa5f4c973be3fd92714
[]
no_license
mcxu/code-sandbox
fd5aa2e593057901d281a0e74db8957777b06cf3
a785231582bda8578f79982e2dcddd2f2ab559b4
refs/heads/master
2023-07-10T02:07:24.180947
2023-07-08T03:31:48
2023-07-08T03:31:48
130,493,607
4
2
null
2023-01-15T22:53:29
2018-04-21T16:49:40
Python
UTF-8
Python
false
false
562
py
''' https://leetcode.com/problems/valid-parentheses/ ''' class Solution: def isValid(self, s: str) -> bool: stack = [] for _,c in enumerate(s): if not stack: stack.append(c) continue if stack[-1]=="(" and c==")": ...
[ "michaelxu79@gmail.com" ]
michaelxu79@gmail.com
3a0871aa7681baae95313e9fb642c5f7869f41b7
51f887286aa3bd2c3dbe4c616ad306ce08976441
/pybind/nos/v7_2_0/rbridge_id/telnet/server/telnet_vrf_cont/__init__.py
abd55d47d2149d13b3124626d32b2a87966dd399
[ "Apache-2.0" ]
permissive
b2220333/pybind
a8c06460fd66a97a78c243bf144488eb88d7732a
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
refs/heads/master
2020-03-18T09:09:29.574226
2018-04-03T20:09:50
2018-04-03T20:09:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,370
py
from operator import attrgetter import pyangbind.lib.xpathhelper as xpathhelper from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType from pyangbind.lib.base import PybindBase from d...
[ "badaniya@brocade.com" ]
badaniya@brocade.com
49ea356c0553b92734a9f900432e57641e4cfbca
7548c8efccb43b1d8daec719bd7d8ad4a4d03630
/Count Substrings With Only One Letter/O(1) space.py
dd3d84c45f0ec5a9d25a3b81857fb1c8197ba308
[]
no_license
arw2019/AlgorithmsDataStructures
fdb2d462ded327857d72245721d3c9677ba1617b
9164c21ab011c90944f844e3c359093ce6180223
refs/heads/master
2023-02-17T11:50:07.418705
2021-01-19T19:37:17
2021-01-19T19:37:17
204,222,584
0
0
null
null
null
null
UTF-8
Python
false
false
300
py
class Solution: def countLetters(self, S: str) -> int: n = len(S) dp = [1] * n tot, prev = 1, 1 for i in range(n-2, -1, -1): if S[i]==S[i+1]: prev +=1 else: prev=1 tot += prev return tot
[ "noreply@github.com" ]
arw2019.noreply@github.com
224b2f23461fd3fdd83100d597e69431ea155622
a386e6fd23ef005aaf928c29827b7de3a62bae7b
/setup.py
05eca57111d7d91dee4cba4de6c0f5cc0ef440f9
[ "MIT" ]
permissive
Peter-32/employee_network_plot
487f9bdc860c8ec8b29584ad119e7c238ec8cc57
f652d9adfa4ac80d65ef5c1cabfe5f0c4ec035a4
refs/heads/master
2020-12-13T16:19:45.640796
2020-01-17T04:20:10
2020-01-17T04:20:10
234,468,502
0
0
null
null
null
null
UTF-8
Python
false
false
207
py
from setuptools import find_packages, setup setup( name='src', packages=find_packages(), version='0.1.0', description='Employee network plot', author='Peter Myers', license='MIT', )
[ "peter@impactradius.com" ]
peter@impactradius.com
94ed5a74d430f7e1bb280a996f701cd67d93ecbe
8e24e8bba2dd476f9fe612226d24891ef81429b7
/geeksforgeeks/python/easy/9_8.py
e209fcdca4baac3008b147dadfee44e37b085727
[]
no_license
qmnguyenw/python_py4e
fb56c6dc91c49149031a11ca52c9037dc80d5dcf
84f37412bd43a3b357a17df9ff8811eba16bba6e
refs/heads/master
2023-06-01T07:58:13.996965
2021-06-15T08:39:26
2021-06-15T08:39:26
349,059,725
1
1
null
null
null
null
UTF-8
Python
false
false
2,650
py
Perspective Transformation – Python OpenCV In **Perspective Transformation,** , we can change the perspective of a given image or video for getting better insights about the required information. In Perspective Transformation, we need provide the points on the image from which want to gather information by ch...
[ "qmnguyenw@gmail.com" ]
qmnguyenw@gmail.com
b5e601b46f8c9f22215fdd7e14203d688282a372
a3cc7286d4a319cb76f3a44a593c4a18e5ddc104
/lib/surface/sql/instances/delete.py
1ae84a018c73368dbf3da81606ec474547ac0b8a
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
jordanistan/Google-Cloud-SDK
f2c6bb7abc2f33b9dfaec5de792aa1be91154099
42b9d7914c36a30d1e4b84ae2925df7edeca9962
refs/heads/master
2023-09-01T01:24:53.495537
2023-08-22T01:12:23
2023-08-22T01:12:23
127,072,491
0
1
NOASSERTION
2023-08-22T01:12:24
2018-03-28T02:31:19
Python
UTF-8
Python
false
false
3,472
py
# Copyright 2013 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...
[ "jordan.robison@gmail.com" ]
jordan.robison@gmail.com
29046acea6b039e9aeeff6c95f633a11de7898ac
03624c52163fad3dc9db8486b3900c03a56f303f
/django_news/django_news/apps/news/migrations/0002_auto_20181003_1638.py
1b2bfecb996c5abd5155b245c6d67ac641458a09
[]
no_license
siyang601165858/xjzx_django
1998ffc18ad189c8b4bc163925544da75d08152b
b256032788eb97e00a0961d595970bc9b0fb5820
refs/heads/master
2020-09-29T15:00:20.928052
2019-12-10T07:50:42
2019-12-10T07:50:42
227,058,712
0
0
null
null
null
null
UTF-8
Python
false
false
2,110
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.11 on 2018-10-03 08:38 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrati...
[ "xwp_fullstack@163.com" ]
xwp_fullstack@163.com
979b4096548255ab54342f372bceda62bbac89d0
dbf34d933a288e6ebca568eaebaa53e5b98ba7c1
/tests/ftapp.py
8b59bb5ff7c47f9e4587b6fb128b974864bf12b3
[]
no_license
rebeccaframework/rebecca.index
dc68dfa2c1b77fc273a12b3f934074722fb8300c
ab452c9b375227e84fab42496633dc026421a283
refs/heads/master
2021-01-10T21:11:53.567186
2013-05-05T18:53:58
2013-05-05T18:53:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,887
py
# -*- coding:utf-8 -*- from pyramid.config import Configurator from pyramid_zodbconn import get_connection from persistent import Persistent from persistent.mapping import PersistentMapping from repoze.catalog.catalog import Catalog from repoze.catalog.indexes.text import CatalogTextIndex from repoze.catalog.document ...
[ "aodagx@gmail.com" ]
aodagx@gmail.com
3bfd19e4819fd8f3bc36efc24eaa02e557f79017
1fe0b680ce53bb3bb9078356ea2b25e572d9cfdc
/venv/lib/python2.7/site-packages/ansible/modules/cloud/scaleway/scaleway_snapshot_facts.py
81449ad94cd0eebe3d31e8b4c71ae28511c57e42
[ "MIT" ]
permissive
otus-devops-2019-02/devopscourses_infra
1929c4a9eace3fdb0eb118bf216f3385fc0cdb1c
e42e5deafce395af869084ede245fc6cff6d0b2c
refs/heads/master
2020-04-29T02:41:49.985889
2019-05-21T06:35:19
2019-05-21T06:35:19
175,780,457
0
1
MIT
2019-05-21T06:35:20
2019-03-15T08:35:54
HCL
UTF-8
Python
false
false
2,903
py
#!/usr/bin/python # -*- coding: utf-8 -*- # # (c) 2018, Yanis Guenane <yanis+ansible@guenane.org> # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import (absolute_import, division, print_function) __metaclass__ = type ANSIBLE_METADATA = {'metadata_version':...
[ "skydevapp@gmail.com" ]
skydevapp@gmail.com
5cd2b294373b9d574aa094e8156485d744ac3be1
11e4bd1b29a66b97df9b3b32b2827eac88a24fd8
/pysrc/4.py
25ab79fc2a079114c1e7d60f389b5fd1546f26ca
[]
no_license
linkinpark213/leetcode-practice
4db17462b67e7a1a34184aada041cb3854f78385
13379e6fdd9299c606889fefa0a38426ef4fa5e7
refs/heads/master
2021-07-08T16:16:28.428003
2020-09-16T14:30:51
2020-09-16T14:30:51
185,179,184
0
0
null
null
null
null
UTF-8
Python
false
false
1,382
py
from typing import List class Solution: def findMedianSortedArrays(self, nums1: List[int], nums2: List[int]) -> float: if len(nums1) > len(nums2): temp = nums1 nums1 = nums2 nums2 = temp m, n = len(nums1), len(nums2) iMin, iMax = 0, m while iMin...
[ "linkinpark213@outlook.com" ]
linkinpark213@outlook.com
66fc89da20add71b1590c2655ce8d87ba801fd98
b72985ae7ab123f855e024814e70173fde84b43e
/DAYS/Day_25/flask_training/venv/bin/flask
1976d232b00459500f33868e301a48d281a5664b
[]
no_license
raziel5746/BOOTCAMP
522da4526ded4225ba95c60146fd13fb5129c519
22088ab622b34ad8ae98e0fe3e5edc592a75ea0c
refs/heads/master
2021-09-23T20:32:01.422171
2021-03-30T20:51:05
2021-03-30T20:51:05
218,781,276
0
0
null
2021-09-22T18:54:00
2019-10-31T14:10:28
Python
UTF-8
Python
false
false
266
#!/home/raziel/Documents/BOOTCAMP/DAYS/Day_25/flask_training/venv/bin/python # -*- coding: utf-8 -*- import re import sys from flask.cli import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "raziel5746@gmail.com" ]
raziel5746@gmail.com
9066c48335f811518d03cd11952e19c877d844c8
04ad36951841e69163a167ead82a6a44fa2bb026
/utils/testcase_data_utils.py
9e900865720b966a5823a35fc1ea0ce07d84dd5c
[]
no_license
leoisgood/P3P4_API_Test_Framework-1
938eeec0b52bab94cb408884a1b187aa4c6eebf0
f3f32b0611ac64ea3cfdb0ef239aa477c3f7dd0d
refs/heads/master
2023-01-20T15:45:53.791661
2020-11-26T00:13:56
2020-11-26T00:13:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,602
py
#!/usr/bin/env python # encoding: utf-8 # @author: liusir # @file: testcase_data_utils.py # @time: 2020/11/15 4:48 下午 import os from utils.excel_utils import ExcelUtils excel_file_path = os.path.join( os.path.dirname(__file__),'..','data','testcase_infos.xlsx') excel_sheet_name = 'Sheet1' class TestcaseDataUtils: ...
[ "329999897@qq.com" ]
329999897@qq.com
dfe09205fb317d6a57d5b8939be7ba9d231dfce8
e413e4020617f2645f7f3ed89ec698183c17e919
/Tracing/MDL/XiaoRunMDL.py
cf2a3ae401a462928e714320aebb1cf7ef76cf48
[]
no_license
YanXuHappygela/Farsight-latest
5c349421b75262f89352cc05093c04d3d6dfb9b0
021b1766dc69138dcd64a5f834fdb558bc558a27
refs/heads/master
2020-04-24T13:28:25.601628
2014-09-30T18:51:29
2014-09-30T18:51:29
24,650,739
1
0
null
null
null
null
UTF-8
Python
false
false
5,526
py
#!/usr/bin/env python import os.path import re import subprocess import sys import time parameterValues = {} #since we're going to be making use of relative paths we need to be sure #that we're running from the directory that contains this script scriptPath = os.path.dirname(sys.argv[0]) if scriptPath != "": os.ch...
[ "xy198908@gmail.com" ]
xy198908@gmail.com
6b759881204756a50a6da5988bd0cf38e1457906
e23a4f57ce5474d468258e5e63b9e23fb6011188
/110_concurrency_parallelism/_examples/Python Parallel Programming Solutions/Section3/naming_a_process.py
ebddd1ddd72aaed73e890cfbe36880b3164af1fa
[]
no_license
syurskyi/Python_Topics
52851ecce000cb751a3b986408efe32f0b4c0835
be331826b490b73f0a176e6abed86ef68ff2dd2b
refs/heads/master
2023-06-08T19:29:16.214395
2023-05-29T17:09:11
2023-05-29T17:09:11
220,583,118
3
2
null
2023-02-16T03:08:10
2019-11-09T02:58:47
Python
UTF-8
Python
false
false
659
py
#Naming a Process – Section 3: Process Based Parallelism import multiprocessing import time def foo(): name = multiprocessing.current_process().name print ("Starting %s \n" %name) time.sleep(3) print ("Exiting %s \n" %name) if __name__ == '__main__': process_with_name = \ mul...
[ "sergejyurskyj@yahoo.com" ]
sergejyurskyj@yahoo.com
2f765c8026d16c4be0349a4cd86d931d4f7f3789
12b34dcd389dec2095ef454d9dc89976ff7c7215
/code/plot_PPeaks-w120.py
73a94559fa1e3259c90c22b8cfc596d65f7ea92b
[]
no_license
mariosky/PPSN2014
ce0d64a3f61b36b467acab33297481a7e590dcf0
a2ce8971951e2af311146d74cb043e68ff90cc67
refs/heads/master
2020-05-30T12:03:01.086997
2014-11-23T17:01:41
2014-11-23T17:01:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,402
py
from pylab import * import itertools, operator import os homogeneous_file = "data/PPeaks-w120-108-p1000.dat" homogeneous = open(homogeneous_file) fitness = [ line.split(",") for line in homogeneous if len(line.split(",")) > 3 ] best_runs = [ (int(list[-1].split(':')[-1]), list[0], list[1], float(list[3]), list[1],l...
[ "mariosky@gmail.com" ]
mariosky@gmail.com
79daa413b3f273170ae2270d63b40ebcaaafd070
0c469c4100fe9d352e83731688e388062a3c55c7
/Trees/814. Binary Tree Pruning.py
2356a5ef9f3f6769a299754700cab560c11acd64
[]
no_license
asperaa/back_to_grind
9e055c7e6561384e5b7ae52f01063e4beb34a298
5ea1976b9d5c6d04800e296e45e8ff90fdde5001
refs/heads/master
2022-12-16T18:32:01.443743
2020-09-05T13:29:39
2020-09-05T13:29:39
254,910,528
1
0
null
null
null
null
UTF-8
Python
false
false
756
py
"""We are the captains of our ships, and we stay 'till the end. We see our stories through. """ """814. Binary Tree Pruning """ class TreeNode: def __init__(self, val): self.val = val self.left = None self.right = None class Solution: def pruneTree(self, root): if not root: ...
[ "adityaankur44@gmail.com" ]
adityaankur44@gmail.com
08cd82e0f8b5a38d422ffe8585ccde83c983e1b8
b13a786c11d4107206b72be3d986dff32942b4ac
/climbing-stairs/climbing-stairs.py
33ecabc37c4a39b3d1bc8b15e787e18621d3d402
[]
no_license
neharani289/leet-code-problems
bee758abdb7da5e8d7f3ca37ee9afafd1d305f11
ed8e742226ec88b3cbd6302e9afb1b2f2346ae1e
refs/heads/main
2023-07-17T23:44:41.679135
2021-08-28T14:45:21
2021-08-28T14:45:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
252
py
class Solution: def climbStairs(self, n: int) -> int: if(n == 1): return 1 dp = [0]*(n) dp[0] = 1 dp[1] = 2 for i in range(2 , n): dp[i] = dp[i-1] + dp[i-2] return dp[n-1]
[ "dsrao0712@gmail.com" ]
dsrao0712@gmail.com
01351a80cdcf697a2dd0fb4ba37351e9cc7b7e45
d2c4934325f5ddd567963e7bd2bdc0673f92bc40
/tests/artificial/transf_Logit/trend_Lag1Trend/cycle_7/ar_12/test_artificial_32_Logit_Lag1Trend_7_12_0.py
4e39913be0d0f2155bdc941616ed62b9c6c750fa
[ "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
264
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 = "Lag1Trend", cycle_length = 7, transform = "Logit", sigma = 0.0, exog_count = 0, ar_order = 12);
[ "antoine.carme@laposte.net" ]
antoine.carme@laposte.net
7ff14178ddfcea200d259d13726bac1ebf5e25a0
66d1f826e2000f19c850f743961c0d88980e3bc4
/vidme/blueprints/billing/tasks.py
309d655e577a890c5f4d220f6b64f2aae1cf7833
[]
no_license
frankRose1/vidme-movie-rental
84b240402f99896d505e308f6de219ec2edef934
cc1e56a29d69ddb8f57bee48007575f1c78f0824
refs/heads/master
2022-01-14T11:58:42.477739
2019-09-07T23:37:17
2019-09-07T23:37:17
190,499,308
0
0
null
2022-01-06T22:34:36
2019-06-06T02:19:21
Python
UTF-8
Python
false
false
465
py
from vidme.app import create_celery_app from vidme.blueprints.billing.models.credit_card import CreditCard celery = create_celery_app() @celery.task() def mark_old_credit_cards(): """ Mark credit cards that are going to expire soon or that have already expired. This task will be run every day at midnight...
[ "frank.rosendorf1@gmail.com" ]
frank.rosendorf1@gmail.com
d24039c320abc1ecd6b33b1024cc5fff6be323b1
b22588340d7925b614a735bbbde1b351ad657ffc
/athena/Database/IOVDbSvc/share/CondDBConfig.py
6b343b128fc72bc3bc8d2d94e5abbd5128b8da79
[]
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
4,828
py
# IOVDbSvc/CondDBConfig.py # define conditions database connection configuration class # Richard Hawkings, 6/12/06 include.block("IOVDbSvc/CondDBConfig.py") include( "AthenaPoolCnvSvc/AthenaPool_jobOptions.py" ) include( "IOVDbSvc/IOVDbSvc_jobOptions.py" ) class CondDBConfig: def __init__(self,tech,user,dbna...
[ "rushioda@lxplus754.cern.ch" ]
rushioda@lxplus754.cern.ch
f4b75a0e071efa0caf7d999d8c363e2d4f849080
d4a469fe2322171afae2452933aa057e1ded67de
/src/python/selectize/strategies/search.py
63a4096ef46984ff436413db7420f20c38bc5f72
[]
no_license
ettoreleandrotognoli/django-selectize
d327edf81de3cf5828c24276e7fe4523d641e9b6
a09f7a801c1f34afbc50f9080c140c2be6b2e351
refs/heads/master
2020-04-08T10:10:54.374288
2018-12-02T14:20:55
2018-12-02T14:20:55
159,257,804
1
0
null
null
null
null
UTF-8
Python
false
false
1,124
py
from functools import reduce from operator import or_ from typing import Iterable from django import forms from django.db.models import Q from . import SelectizeSearchStrategy, SelectizeCreateStrategy class SelectizeSearchForm(forms.Form): q = forms.CharField( required=False, ) class SearchFieldsSt...
[ "ettore.leandro.tognoli@gmail.com" ]
ettore.leandro.tognoli@gmail.com
c8f9b82346981289b8e66f143e6ea63a275a9c1e
7a8cee032f529ddcd89b9223994527d765b59308
/UserInterface/Selenium/IM_CEF/IMTestScript/IM_Test/test_case/page_obj/functions/myunit.py
0b929f18923905652dec6533d5083b4631c16839
[]
no_license
Simonluepang/Upgrading-is-the-happiest-thing
9fb613315b16ea2fe26e6a2f2f12493d28018729
c3af12063eea585afbfb97d1ef933a41f110c919
refs/heads/master
2022-12-21T06:23:10.647828
2019-10-29T02:28:27
2019-10-29T02:28:27
181,862,560
1
0
null
2022-12-11T05:22:09
2019-04-17T09:45:36
Python
UTF-8
Python
false
false
604
py
#!\usr\bin\env python # -*- coding:utf-8 -*- ''' Title: 继承unittest Description: 设置setup和teardown @author: Xushenwei @update: 2018年6月11日 ''' import os, unittest from selenium import webdriver # from Base import * from page_obj.models import Base class IMTest(unittest.TestCase): """质检计量初始化与清理程序""" def setUp(sel...
[ "simonluepang@outlook.com" ]
simonluepang@outlook.com
feb36f0c666c7dcc959c58ace993ebf93b85d407
38a972a3cd1fc303b5f877e24d65118912d85d1c
/path/to/virtualenv/project/Lib/site-packages/tensorflow/contrib/distributions/python/ops/vector_exponential_diag.py
771bd2a9bc3eef1870667bdeb4511040fdbf2f38
[]
no_license
ZulfikarAkbar/YOLO_ObjectDetection
0c1015aa987d03329eae48a2053a07dda05d96c0
3517d0592a269f79df9afd82e0b1b0123bbe0473
refs/heads/master
2022-10-27T05:08:26.734173
2019-02-07T17:35:22
2019-02-07T17:35:22
169,613,306
0
1
null
2022-10-18T02:18:17
2019-02-07T17:35:03
Python
UTF-8
Python
false
false
7,970
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...
[ "zulfikar.78.akbar@gmail.com" ]
zulfikar.78.akbar@gmail.com
8e1946986f69178ddacc7fa4f20826f3b2933e9a
0e3e780fabd8ff42e4bfefc517de51c4271e1a2a
/langmodels/training/training.py
89633d95a609d0b588d11573f52e8ca2d368c828
[ "MIT" ]
permissive
pombredanne/langmodels
676d9e328e64aeace20485036e00f1448945b169
010da7a76f5a215a2c30f0ee3413407fcf5bb34d
refs/heads/master
2020-06-28T18:46:15.276377
2019-08-02T21:36:50
2019-08-02T21:36:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,779
py
import os from concurrent.futures.process import ProcessPoolExecutor from pathlib import Path from pprint import pprint from typing import Optional, Dict, Any import jsons import numpy as np import torch from dataprep.api.corpus import PreprocessedCorpus from fastai.text import Vocab, TextList, language_model_learner,...
[ "hlibbabii@gmail.com" ]
hlibbabii@gmail.com
c2e810b4ef2ff6f03a4a49c6e60bdd49b63a912a
6af36ab3b592baff4db88c103f53979a27b4434f
/matrimonial/matrimonial/asgi.py
ba43215481755480a6f8700d87a628b548de51a1
[]
no_license
abhijithsaji/matrimonial
7292d926498a35b99bc537a877c7d27f7c3f0fea
a313fcf1cef2339f248144a54a5ac0662543bd04
refs/heads/main
2023-04-30T21:44:27.252443
2021-05-21T04:17:32
2021-05-21T04:17:32
365,408,655
0
0
null
null
null
null
UTF-8
Python
false
false
399
py
""" ASGI config for matrimonial project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.2/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANGO_S...
[ "007myofficial@gmail.com" ]
007myofficial@gmail.com
de3495c0b2c996601058b281ca3978d6fea46f7a
1ee3dc4fa096d12e409af3a298ba01f5558c62b5
/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcp6iapd1.py
2c6103c9201229cfbf69f45cb3ec69716c60da52
[ "MIT" ]
permissive
parthpower/ixnetwork_restpy
321e64a87be0a4d990276d26f43aca9cf4d43cc9
73fa29796a5178c707ee4e21d90ff4dad31cc1ed
refs/heads/master
2020-07-04T13:34:42.162458
2019-08-13T20:33:17
2019-08-13T20:33:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,035
py
# MIT LICENSE # # Copyright 1997 - 2019 by IXIA Keysight # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), # to deal in the Software without restriction, including without limitation # the rights to use, copy, modify,...
[ "srvc_cm_packages@keysight.com" ]
srvc_cm_packages@keysight.com
dd997ccf9c9739c0ff8f42075663336220fb062c
06fae7d8cbe5fb4343addbb21447a00060515224
/Assignment 12/Assignment12_4.py
fb8bc47ea7808d3cd4d5c113b6836daecbc6d106
[]
no_license
Jaydeep-07/Python-Automation
9137f4b3c4ab158efd0334041dfcef4fef069d3f
dae74f338ed399e8abac25d7ff667782f9790b74
refs/heads/master
2021-01-01T08:22:07.647596
2020-05-09T09:41:00
2020-05-09T09:41:00
237,487,242
0
0
null
null
null
null
UTF-8
Python
false
false
4,371
py
'''4. Design automation script which accept directory name and mail id from user and create log file in that directory which contains information of running processes as its name, PID, Username. After creating log file send that log file to the specified mail. Usage : ProcInfoLog.py Demo Marvellousinfosystem@gmail.com ...
[ "jaydeepvpatil225@gmail.com" ]
jaydeepvpatil225@gmail.com
2ecf9380b09cfe46da46a9d273c6d80f9c5bc9ab
d366d192f668ecaa0b70b454d7a9866c2888d600
/src/transformers/models/gpt_neox/configuration_gpt_neox.py
5d9433ae2f560ed6706c7f1756db2bf718a108f0
[ "Apache-2.0" ]
permissive
matrogersmtl/transformers
2bb853dd11907280f667661909ed31825d0b104b
7e71eb2ef77b0200cd079d0d0383342ed1da2df5
refs/heads/master
2023-06-22T10:30:14.688699
2023-06-19T14:23:29
2023-06-19T14:23:29
281,486,776
0
0
Apache-2.0
2020-07-21T19:32:17
2020-07-21T19:32:16
null
UTF-8
Python
false
false
6,109
py
# coding=utf-8 # Copyright 2022 EleutherAI and The HuggingFace Inc. team. 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...
[ "noreply@github.com" ]
matrogersmtl.noreply@github.com
4e61c0d03cb48b5889573e49ec8e501d9783dc8d
c53d57b6ea5b117d8fa260a29942cf9422a46063
/deepblueai_rewrite/AutoDL_sample_code_submission/AutoCV2/kakaobrain2/skeleton2/optim/scheduler2.py
64cccebf97f026c37725978b35ee9af18dcb8cde
[ "Apache-2.0", "BSD-2-Clause", "LicenseRef-scancode-unknown-license-reference", "LicenseRef-scancode-philippe-de-muyter" ]
permissive
zichuan-scott-xu/automl-workflow
c52ee6c7c01347274a6b1d6801a7889daa35a40d
d108e55da943775953b9f1801311a86ac07e58a0
refs/heads/main
2023-04-01T16:20:10.885273
2021-04-14T05:44:48
2021-04-14T05:44:48
327,514,705
0
0
Apache-2.0
2021-01-07T05:41:38
2021-01-07T05:41:38
null
UTF-8
Python
false
false
3,359
py
# -*- coding: utf-8 -*- from __future__ import absolute_import import math import logging LOGGER = logging.getLogger(__name__) def gradual_warm_up(scheduler, warm_up_epoch, multiplier): def schedule(e, **kwargs): lr = scheduler(e, **kwargs) lr = lr * ((multiplier - 1.0) * min(e, warm_up_epoch) /...
[ "zhengying.liu@polytechnique.edu" ]
zhengying.liu@polytechnique.edu
a5b14f3d49dc9a78faba2e3d159f47779c24dfb2
e57d7785276053332c633b57f6925c90ad660580
/sdk/textanalytics/azure-ai-textanalytics/samples/async_samples/sample_analyze_healthcare_entities_async.py
fa844029af5088e41bf7379485960cafa59e5584
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later" ]
permissive
adriananeci/azure-sdk-for-python
0d560308497616a563b6afecbb494a88535da4c5
b2bdfe659210998d6d479e73b133b6c51eb2c009
refs/heads/main
2023-08-18T11:12:21.271042
2021-09-10T18:48:44
2021-09-10T18:48:44
405,684,423
1
0
MIT
2021-09-12T15:51:51
2021-09-12T15:51:50
null
UTF-8
Python
false
false
5,511
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. # --------------------------------------------------------------------...
[ "noreply@github.com" ]
adriananeci.noreply@github.com
5e1f2026379e08b7ac89e01976c51774c1df142c
3a642fa1fc158d3289358b53770cdb39e5893711
/src/xlsxwriter/test/comparison/test_table10.py
ec3181433db7835ec570b6a3cafe277220f5ee39
[]
no_license
andbar-ru/traceyourself.appspot.com
d461277a3e6f8c27a651a1435f3206d7b9307d9f
5f0af16ba2727faceb6b7e1b98073cd7d3c60d4c
refs/heads/master
2020-07-23T14:58:21.511328
2016-12-26T22:03:01
2016-12-26T22:03:01
73,806,841
1
1
null
null
null
null
UTF-8
Python
false
false
3,350
py
############################################################################### # # Tests for XlsxWriter. # # Copyright (c), 2013, John McNamara, jmcnamara@cpan.org # import unittest import os from ...workbook import Workbook from ..helperfunctions import _compare_xlsx_files class TestCompareXLSXFiles(unittest.TestC...
[ "andrey@voktd-andbar.int.kronshtadt.ru" ]
andrey@voktd-andbar.int.kronshtadt.ru
1b40466def2e94398d0d717066b2f7eee9c4ca23
f0d6efe035d4c2ed1ea6bb6d1d5a613b8630a025
/volttron/platform/vip/agent/example.py
3cf271f061c3f339e50a06cd406f0259b3b5d966
[ "BSD-2-Clause-Views", "BSD-3-Clause" ]
permissive
bemoss/BEMOSS3.5
d24c1c5587e5081092cc97250db45645363da4e4
75a09bc5d0a2ec0ae994ac900a93dc027b527860
refs/heads/master
2021-08-15T23:05:40.661118
2021-03-29T20:28:14
2021-03-29T20:28:14
91,000,462
81
38
NOASSERTION
2021-03-29T20:29:54
2017-05-11T16:25:43
Python
UTF-8
Python
false
false
2,706
py
from __future__ import absolute_import, print_function import gevent from volttron.platform.vip.agent import * def meh(): return 'meh' class ExampleAgent(Agent): @Core.receiver('onsetup') def setup(self, sender, **kwargs): self.vip.rpc.export(self.foo) self.vip.rpc.export(self.baz, 'b...
[ "aribemoss@gmail.com" ]
aribemoss@gmail.com
0bfe72320aa66631e16bd247c18120f9892f5b95
afc85d75ac2115f33a00d535a0f08104571a1e4a
/Import_funcoes.py
6a0ad61b4a7023f85f0b15be90928202166e38fd
[]
no_license
BrunoCerberus/Algoritmo
aa80651920705a88248fa32d700555672964dae4
8fad13cf936eb7120f26a699bca4a8ad76d1a53f
refs/heads/master
2016-09-08T01:23:09.210110
2015-07-08T06:39:52
2015-07-08T06:39:52
29,315,141
4
1
null
null
null
null
UTF-8
Python
false
false
2,226
py
""" Este programa nao e um executavel. Ele consiste de funcoes nas quais importaremos a partir do interpretador interativo do python. """ # Esta funcao ela quebra uma frase ou sequencia em palavras # para isso, usamos o metodo de strings chamado split() def break_words(stuff): """This function will break up word...
[ "bruno.guitarpro@gmail.com" ]
bruno.guitarpro@gmail.com
bcaf3d8d7380c15a2e104cfae2f36560e778e28e
49c986c1a7351d51fd6654f09d4493fa8dffc6cd
/이코테/C15/27-3.py
b8e6e7514d78849a7fe87bae4c74faf654783cef
[]
no_license
beomseok-kang/Algorithms-Python
53ca2cdbb718e2817eb0086662aea55cd3868559
e06a015e3a8c909643e2fa60808d5157fbb7c3bd
refs/heads/master
2022-12-24T04:42:04.586375
2020-10-03T09:09:23
2020-10-03T09:09:23
291,429,167
0
0
null
null
null
null
UTF-8
Python
false
false
1,312
py
def count_by_value(array, x): n = len(array) a = first(array, x, 0, n - 1) if a == None: return 0 b = last(array, x, 0, n - 1) return b - a + 1 def first(array, target, start, end): if start > end: return None mid = (start + end) // 2 # 해당 값을 가지는 원소 중 가장 왼쪽에 있는 경우에만 인덱스 반환 if (mid == 0 or tar...
[ "beom.kang17@gmail.com" ]
beom.kang17@gmail.com
b8bae85591037e280747f01053844169a28b5514
2e935ca936976d2d2bd4e785e2f3f29c63771542
/ExPy90101.py
cb331df21e998231b4db8e481f0a9ef788f9d135
[]
no_license
zoro6908/PY_acamedy
4a370e866fef19f6d2e7697eb809352b6ac703f5
460d26639f7bd8cf2486950dc70feae6a2959ca0
refs/heads/master
2023-04-26T18:10:44.691326
2021-05-25T00:11:02
2021-05-25T00:11:02
298,425,369
0
0
null
null
null
null
UTF-8
Python
false
false
1,404
py
# ExPy9xxxx 파이썬 개인 연습 # MySQL 연결 # 선행작업 : PyMySQL 패키지 install import pymysql con = pymysql.connect( user = 'root', passwd = 'zoro123', host = '127.0.0.1', db = 'testdb', charset = 'utf8' ) # 딕셔너리 형태로 결과를 반환해주는 DictCursor를 사용 cursor = con.cursor(pymysql.cursors.DictCursor) # Insert # sql = '''INS...
[ "zoro6908@naver.com" ]
zoro6908@naver.com
7cba60a5bbdaa2d2ac03cdd885eb1d6a716b7ee5
aaa85418696016fd883830d41738d5eec9da7c05
/decorators/enforce.py
22d9b315d96bcc348003ea24676140d80eb5c152
[]
no_license
TimothyJao/pythonlearning
1017a68f4320106f04fdb83b7c88a08eb6026236
d00757bbf09788b6946b9a37468030e1dd1b592b
refs/heads/master
2020-06-12T14:18:59.363288
2019-08-22T02:08:40
2019-08-22T02:08:40
194,326,961
0
0
null
null
null
null
UTF-8
Python
false
false
470
py
def enforce(*types): def decorator(f): def new_func(*args, **kwargs): newargs = [] for(a,t) in zip(args, types): newargs.append(t(a)) return f(*newargs, **kwargs) return new_func return decorator @enforce(str, int) def repeat_msg(msg, times): ...
[ "timothy.i.jao@gmail.com" ]
timothy.i.jao@gmail.com
9d1b1ca0c01a38a801eb8a4b558ad7dd58b79d4b
51970fa793ec7f92164e60c1fcbf17f62aa469d5
/listcomp.py
e887d6b80658305b67361cdcb4919de4c3a2a77c
[]
no_license
SixStringsCoder/pdx_coding
6eef25490c74459feafd53a190ab06a0aaf685aa
5853bb74a247187cec6ac0f4bb8b3a54931372e9
refs/heads/master
2021-01-19T20:41:23.268478
2017-08-24T06:37:29
2017-08-24T06:37:29
88,534,471
0
0
null
null
null
null
UTF-8
Python
false
false
1,658
py
""" # Test Data Below. Leave these first two line alone. >>> names = ['Kieran', 'Suki', 'Alex', 'Serada', 'Jeff', 'Fin', 'Alfonzo'] >>> people = [('Kieran', 'Prasch', 'Instructor'), ('Alfonzo', 'Ward', 'Student'), ('Fin', 'Balnik', 'Student')] # >>> evens = [2, 4, 6, 8, 10, 12, 14, 16, 18, 20] >>> evens = range(1, ...
[ "rshanlon@gmail.com" ]
rshanlon@gmail.com
a69a9a1a020426c1f8788bfa1d752db7993f056c
1a2ca64839723ede3134a0781128b0dc0b5f6ab8
/ExtractFeatures/Data/pulkitpahwa/example_config.py
db8b1d9ff1940c6d7599d8351925c28811050e69
[]
no_license
vivekaxl/LexisNexis
bc8ee0b92ae95a200c41bd077082212243ee248c
5fa3a818c3d41bd9c3eb25122e1d376c8910269c
refs/heads/master
2021-01-13T01:44:41.814348
2015-07-08T15:42:35
2015-07-08T15:42:35
29,705,371
9
3
null
null
null
null
UTF-8
Python
false
false
6,105
py
# Sample Gunicorn configuration file. # # Server socket # # bind - The socket to bind. # # A string of the form: 'HOST', 'HOST:PORT', 'unix:PATH'. # An IP is a valid HOST. # # backlog - The number of pending connections. This refers # to the number of clients that can be waiting to be # ser...
[ "vivekaxl@gmail.com" ]
vivekaxl@gmail.com
9a3d51050b984417283b8a545724a988840b6830
f4b212cdb8861238a50a31ce8db2b242ccb5e173
/archive/utils/coresense/test-coresense-protocol.py
31d0028f4dceafa5cbd58025579eec91652855d2
[]
no_license
waggle-sensor/waggle
1f9a1bc82640b1c6eb6e51c5a53a53bffe668654
76fa76e4682cb2d4f5e009ef84ff345fdbb9d99e
refs/heads/master
2022-10-09T01:38:02.086580
2022-09-28T16:02:13
2022-09-28T16:02:13
37,740,487
40
21
null
2017-01-06T23:13:53
2015-06-19T19:01:28
Perl
UTF-8
Python
false
false
1,797
py
from protocol import CoresenseProtocol from protocol import create_packet from protocol import create_packet_from_subpackets import unittest class TestProtocol(CoresenseProtocol): def __init__(self): self.results = [] def subpacket_received(self, sensor, valid, data): self.results.append((se...
[ "sean.shahkarami@gmail.com" ]
sean.shahkarami@gmail.com
5f8944643b7bfbc32963593f393db0278168a05b
3a8915b0cb3c9d3f034dc991fd148a44e52c4b84
/ENTREGA_FINAL_con_Json/Clase_RecHum.py
38658827a93bf2ca751bbe6363a1833bcadcfa7f
[]
no_license
emilianoNM/ProyectoFinal
186c1aa0e55232b873f9eebcb5746431360a09eb
c6be564d28b33ecda2636ba022004088ece502e4
refs/heads/master
2020-03-07T22:38:54.256388
2018-06-02T21:59:15
2018-06-02T21:59:15
127,759,823
0
4
null
2018-06-02T19:34:55
2018-04-02T13:27:45
Python
UTF-8
Python
false
false
1,556
py
import json class RecHuman(): idnt=None Nombre=None ApellidoP=None ApellidoM=None Direccion=None Telefono=None Edad=None Correo=None RFC=None Contrasena=None CodPos=None Puesto=None jornada_i=None jornada_f=None Salario=None Permisos...
[ "noreply@github.com" ]
emilianoNM.noreply@github.com
494f087f02ec6984a4d4312e901efed1d4824c26
d5f7c85932bd35978f2bc54c2510fb527a5734dd
/movo_common/movo_third_party/wu_ros_tools/manifest_cleaner/scripts/stats.py
331ace0ef8f10bf037811d2ffdde177153014602
[ "BSD-3-Clause" ]
permissive
syc7446/kinova-movo
9bb6911f67c5617015f4550c5224ac7070d26d0d
28bec5bb61517f970071782a32ac58e92c67f0df
refs/heads/master
2021-06-27T22:27:46.660127
2021-06-19T21:50:14
2021-06-19T21:50:14
229,503,404
1
1
null
2019-12-22T01:21:56
2019-12-22T01:21:56
null
UTF-8
Python
false
false
5,545
py
#!/usr/bin/python import rospy import xml.dom.minidom import os import os.path import sys import collections import operator from urlparse import urlparse import httplib def get_code(url): x = urlparse(url) try: conn = httplib.HTTPConnection(x.netloc) conn.request("HEAD", x.path) ret...
[ "longfei.zhao@yahoo.com" ]
longfei.zhao@yahoo.com
ac56dedca269659c43b62f36885d8ef79f3008a1
b9b06d86d43e738b62ab9289fc13aae4c2b2670b
/weekend1/py0201/userdb.py
5a3096ed232317e30c3066dff9f714055788915e
[]
no_license
MrZhangzhg/nsd_2018
31a7a8d54e2cb3ff4f4eb5c736fbd76601718356
458a1fef40c5e15ba7689fcb3a00baf893ac0218
refs/heads/master
2020-04-08T19:08:48.237646
2019-09-08T04:31:07
2019-09-08T04:31:07
159,642,127
5
7
null
2019-01-04T05:33:40
2018-11-29T09:37:27
Python
UTF-8
Python
false
false
960
py
import getpass userdb = {} def register(): username = input('username: ').strip() if username in userdb: print('用户已存在') else: password = input('password: ') userdb[username] = password def login(): username = input('username: ').strip() password = getpass.getpass('password...
[ "zhangzg@tedu.cn" ]
zhangzg@tedu.cn
70dcf79e046d108d59ef649e88fa51432f1408cd
54afe0a12b215b6cc7701a1739873a970b09a19a
/tuster/system/bebop/run.py
38c3bd2c051ff7a3f3cc00fb1123fe174201b4c0
[ "BSD-2-Clause" ]
permissive
ytopt-team/tuster
8d41e795487d7d6a21604445d2ef9afbc77ec1b1
9ac4edc0ee8ae3e1c6bfd27168917a1afc84e952
refs/heads/master
2021-06-23T12:54:35.371689
2021-02-18T18:58:43
2021-02-18T18:58:43
200,914,477
1
1
null
null
null
null
UTF-8
Python
false
false
3,906
py
#!/usr/bin/env python import logging import signal import socket import subprocess import sys from mpi4py import MPI # opening ports as suggested in: https://github.com/ray-project/ray/issues/4393 REDIS_PORT = 10100 REDIS_SHARD_PORTS = 20200 NODE_MANAGER_PORT = 30300 OBJECT_MANAGER_PORT = 40400 comm = MPI.COMM_WORLD...
[ "romainegele@gmail.com" ]
romainegele@gmail.com
600680a95f92b367ae39acdd7eacd43dd07f8cfa
27ad6f41ba80bea9d7808df57f578fcb785f7904
/handlers/index_handler.py
a1ba36d7fe31cfe7f166f9a01d335453173cea15
[ "MIT" ]
permissive
magus0219/niner
216fa5d20de09eb9ea953e9549c492aad47d8ad4
0c393ed6cb3760fd650752a470a59e9aaa6fa5c1
refs/heads/master
2021-01-21T13:41:59.455303
2016-05-19T03:24:30
2016-05-19T03:24:30
43,408,293
0
1
null
null
null
null
UTF-8
Python
false
false
858
py
__author__ = 'magus0219' import logging from tornado.web import authenticated from .common_handler import CommonHandler from core.deploy_manager import dms from utils.enums import * logger_server = logging.getLogger("DeployServer.IndexHandler") class IndexHandler(CommonHandler): @authenticated def get(self,...
[ "magus0219@gmail.com" ]
magus0219@gmail.com
211c5b52b0b4cf1dd7cf7d4e520979c87cfdadb5
ff8436625041bd890b70a3e63345dd4f36b89d4f
/sockets/simple/extra/example5_with.py
652c07fb78ca6077cf384807dba83f35b229a76c
[]
no_license
amurakho/PythonStarter01
32674cd09d84c961de90bc9b464210c920211a3c
da037f7ffbc6f7afcdadae4fbc1d788fda97a6c2
refs/heads/main
2023-01-21T05:03:30.887356
2020-11-12T17:37:08
2020-11-12T17:37:08
312,348,790
0
0
null
null
null
null
UTF-8
Python
false
false
214
py
import socket with socket.socket(socket.AF_INET, socket.SOCK_DGRAM) as sock: print('8888 is bind') sock.bind(('127.0.0.1', 8888)) result = sock.recv(1024) print('Message', result.decode('utf-8'))
[ "amurakho@gmail.com" ]
amurakho@gmail.com
ce9c6349301e6a20273444e71b67fd433aaeca7d
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/8/usersdata/145/3848/submittedfiles/imc.py
f68a50d0dd8575760e9214285da8a690060018ef
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
374
py
# -*- coding: utf-8 -*- from __future__ import division #entrada P=input('digite o valor do peso:') A=input('digite o valor da altura:') #processamento imc=P/(A**2) if imc <20: print('abaixo do peso') if 20<=imc<=25: print('normal') if 25<imc<=30: print('soprepeso') if 30<imc<=40: print('ob...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
700b94995678e7866720b537803baee6609d79ab
4db9859cfcbf1f15fbb21f4b020681ba2d4f9fa6
/app/forms.py
6bf5be66da3e7c958a45c06ae616f612e2de51fa
[]
no_license
ssssergey/pauk-press
165055db61d67a7418278fd03902f93718f45bc1
95b48c8af3923b8f4345f9f0a27af3ade55ea565
refs/heads/master
2016-08-09T05:33:25.241142
2016-04-10T17:11:08
2016-04-10T17:11:08
48,636,044
0
0
null
null
null
null
UTF-8
Python
false
false
1,243
py
# -*- coding: utf-8 -*- from flask.ext.wtf import Form from wtforms import StringField, BooleanField, PasswordField, TextAreaField from wtforms.validators import DataRequired,Length,EqualTo class LoginForm(Form): username = StringField(u'Имя', validators=[DataRequired(message=u'Обязательное поле')]) password =...
[ "lse1983@mail.ru" ]
lse1983@mail.ru
2b0887e3dab961db55c49b9a85604a43fc9e91d1
c1bd12405d244c5924a4b069286cd9baf2c63895
/azure-mgmt-servermanager/azure/mgmt/servermanager/models/node_resource_paged.py
41fcf74d41205c2d1c28772dc205ff7071df8951
[ "MIT" ]
permissive
lmazuel/azure-sdk-for-python
972708ad5902778004680b142874582a284a8a7c
b40e0e36cc00a82b7f8ca2fa599b1928240c98b5
refs/heads/master
2022-08-16T02:32:14.070707
2018-03-29T17:16:15
2018-03-29T17:16:15
21,287,134
1
3
MIT
2019-10-25T15:56:00
2014-06-27T19:40:56
Python
UTF-8
Python
false
false
890
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 ...
[ "lmazuel@microsoft.com" ]
lmazuel@microsoft.com
de0993f0246e94b18304c01574eadc4a822aab7d
8cc862aa51d3fec95d094dc4bd3151e1155d240a
/pythonProject/IO/using_stringIO.py
65346fa216885f43af951a7053af368d970eadcf
[]
no_license
activehuahua/python
bcbf3a2190025e2315399bfd0c725f598211632b
cc36a93c01c53f856426ccf2724848142524d9c0
refs/heads/master
2023-04-14T10:23:21.590765
2019-08-12T06:52:15
2019-08-12T06:52:15
160,277,647
0
0
null
null
null
null
UTF-8
Python
false
false
286
py
from io import StringIO f=StringIO() f.write('Hello') f.write(' ') f.write('World!') print(f.getvalue()) f=StringIO('Hello!\nHi!\nGoodbye!') for line in f.readlines(): print(line.strip()) # while True: # s=f.readline() # if s=='': # break # print(s.strip())
[ "zhaojianghua@pretang.com" ]
zhaojianghua@pretang.com
76975cb98f16ea4cbc3b728d65ad02d45449e4c6
b96ed10d6247e22d4fa1d28bc3314bc319d3109c
/Sample/Sample01/support.py
2c5dc2478f052c057505f4b9eb9693d6f36ce9fd
[]
no_license
13555785106/PythonPPT-01
ac1b22b9b1851f2b3ea6e4ab0a100e5f6896ee8c
40e5883f248cb342f3a7fc7ad12ba02ebde4c619
refs/heads/master
2020-04-26T16:49:59.675964
2019-03-04T07:16:21
2019-03-04T07:16:21
157,095,747
4
0
null
null
null
null
UTF-8
Python
false
false
329
py
# -*- coding: UTF-8 -*- def print_func(par): global g a,b,c=1,2,3 print '全局变量' globalVars = globals() for k in globalVars: print k,'=',globalVars[k] print '局部变量' localVars = locals() for k in localVars: print k,'=',localVars[k] print "Hello : ", par return
[ "312655424@qq.com" ]
312655424@qq.com
8c9eb06537a0e90d935e61408d0004d43a513c1e
7bededcada9271d92f34da6dae7088f3faf61c02
/pypureclient/flashblade/FB_2_4/models/policy.py
9f4ff1a55eab1ec151872385d3a9a51d682463a0
[ "BSD-2-Clause" ]
permissive
PureStorage-OpenConnect/py-pure-client
a5348c6a153f8c809d6e3cf734d95d6946c5f659
7e3c3ec1d639fb004627e94d3d63a6fdc141ae1e
refs/heads/master
2023-09-04T10:59:03.009972
2023-08-25T07:40:41
2023-08-25T07:40:41
160,391,444
18
29
BSD-2-Clause
2023-09-08T09:08:30
2018-12-04T17:02:51
Python
UTF-8
Python
false
false
4,587
py
# coding: utf-8 """ FlashBlade REST API A lightweight client for FlashBlade REST API 2.4, developed by Pure Storage, Inc. (http://www.purestorage.com/). OpenAPI spec version: 2.4 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re import six import typ...
[ "tlewis@purestorage.com" ]
tlewis@purestorage.com
e1073322510ad590a40f8e0fbdc64efac55003b9
ab616afb11b5cb2cc2e87f48387f6b8869514518
/src/client.py
6960a6374a2dd40b56e64855f636fc96de84fa6f
[ "MIT" ]
permissive
enricobacis/dynenc
34bf70a958e6011bfde88479a8548bfe7c9cc6b6
0134bca49e81d707f73e869650298964ab35e5e9
refs/heads/master
2021-06-01T15:28:29.737009
2019-06-18T12:45:23
2019-06-18T12:45:23
59,818,310
1
0
null
null
null
null
UTF-8
Python
false
false
1,202
py
#!/usr/bin/env python from Crypto.PublicKey import RSA from Crypto.Cipher import AES from Crypto.Util import Counter from argparse import ArgumentParser from requests import get from base64 import b64decode import logging logging.basicConfig(level=logging.DEBUG) def dynencget(url, rsa): response = get(url) ...
[ "enrico.bacis@gmail.com" ]
enrico.bacis@gmail.com
57a3cc32fefaf95c693e070bcbcf981d8a6281a7
bede13ba6e7f8c2750815df29bb2217228e91ca5
/transliterate_widget/__init__.py
6059bce3c1edcc432b8eb7db49d83020d05a3b45
[]
no_license
CybroOdoo/CybroAddons
f44c1c43df1aad348409924603e538aa3abc7319
4b1bcb8f17aad44fe9c80a8180eb0128e6bb2c14
refs/heads/16.0
2023-09-01T17:52:04.418982
2023-09-01T11:43:47
2023-09-01T11:43:47
47,947,919
209
561
null
2023-09-14T01:47:59
2015-12-14T02:38:57
HTML
UTF-8
Python
false
false
1,009
py
# -*- coding: utf-8 -*- ################################################################################### # # Cybrosys Technologies Pvt. Ltd. # Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). # # This program is free software: you can modify # it under the terms of the GNU Affe...
[ "ajmal@cybrosys.in" ]
ajmal@cybrosys.in
e36cd83fb75716765abe01817a9f27bb80a5798e
dba6d00af433786f9040f0ffb47f2352395f4ca6
/2020/day19.py
bc7a8917bb5dc112c1619f7d697402160111ebe5
[]
no_license
noahmilian/AoC
b7cd1b889ade06fb5103a5a30560d9f335468035
d8a913007d624286f7cde2c8a4fb65900ea15526
refs/heads/main
2023-02-15T13:28:58.241075
2020-12-25T06:35:23
2020-12-25T06:35:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,844
py
""" Day 19 https://adventofcode.com/2020/day/19 1st star: 00:30:04 2nd star: 00:34:22 OH GOD I FEEL LIKE SUCH A CHEAT. After struggling to recall how to write a parsing algorithm, and toying with the idea of simply generating all possible strings starting from the provided grammar, I just took the grammar, converted ...
[ "borja@cs.uchicago.edu" ]
borja@cs.uchicago.edu
10a006609e077381fb2dcf2fa6a458bf0d4e4740
1ae9be88f236580f6b76c409e57b01fe0c101a27
/tools/py/reader/xml.py
c1eb70a67ccbbcaeba9566d4dbb9781957ef4723
[ "Apache-2.0" ]
permissive
erimille/versa
cb9846155c7cff4f2ff7c06bedf10096ed4ac476
43a8a693cf65790322a993704541343f342af1e4
refs/heads/master
2021-01-17T23:04:22.396000
2014-04-30T17:02:32
2014-04-30T17:02:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,165
py
#dendrite.importr import re from amara.bindery import parse from amara.lib import U ABBR_PAT = re.compile(ur'\$(\w+)') def import_resources(source, model): doc = parse(source) abbrs = {} curr_context = None def interpret(text): ''' Expand any inline abbreviations ''' ...
[ "uche@ogbuji.net" ]
uche@ogbuji.net
1b9ecb82ab0d25ca7b43913dd60328fe8e32b961
7cd6a7bc72f0026056a7238c0feea081bfff13a7
/bioprocs/scripts/bedtools/pBedMerge2.py
0cad29d63d845207c9d318e2bc8fe05b38e04506
[ "MIT" ]
permissive
shijianasdf/biopipen
8d963ccca38e2a9d7a46582a5eec45c38924655c
d53b78aa192fd56a5da457463b099b2aa833b284
refs/heads/master
2023-08-18T18:28:03.306877
2019-12-31T16:17:35
2019-12-31T16:17:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
665
py
from os import remove from diot import Diot from bioprocs.utils import shell infiles = {{i.infile | repr}} params = {{args.params | repr}} shell.TOOLS.bedtools = {{args.bedtools | quote}} mergedtmp = '{{job.outdir}}/mergedtmp.bed' mergedtmpsorted = '{{job.outdir}}/mergedtmp.sorted.bed' shell.touch(mergedtmp)...
[ "pwwang@pwwang.com" ]
pwwang@pwwang.com
640975f08674c83efe8755bb758ba48446158696
cf025ea3bf079748472557304a290593c753b884
/Algorithm/SWEA/6262_자료구조_셋,딕셔너리_10.py
40b7bcf99fae6b8fc37ed3a3ba4719a6af111a16
[]
no_license
Silentsoul04/my_software_study
7dbb035ceea74f42c7ce2051b2320f6cae75ed88
c27d33c57f59fe5244a1041c11bbd826dd481546
refs/heads/master
2023-03-29T02:43:40.861045
2019-07-10T08:09:55
2019-07-10T08:09:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
648
py
# 다음의 결과와 같이 입력된 문자열의 문자 빈도수를 구하는 프로그램을 작성하십시오. # 입력 abcdefgabc # 출력 a,2 # b,2 # c,2 # d,1 # e,1 # f,1 # g,1 # 1. 입력을 받을 변수를 만든다. # 2. for 문으로 하나씩 돌리면서 if ~ in ~ 문을 사용하여서 안에 있으면 count += 1 해준다. # 3. 기존 카운트는 1이다. let = input('') result = [] result_dict={} for i in let: count = 1 ...
[ "pok_winter@naver.com" ]
pok_winter@naver.com
479a03a522419f1263dedd06f820a1c28b981824
0f3a0be642cd6a2dd792c548cf7212176761e9b1
/gms/Testing/Python/GrassAddons/r.div
6c3df3c20b24c303dd3f2832df0a3c8e765f76c7
[]
no_license
huhabla/wps-grass-bridge
63a5d60735d372e295ec6adabe527eec9e72635a
aefdf1516a7517b1b745ec72e2d2481a78e10017
refs/heads/master
2021-01-10T10:10:34.246497
2014-01-22T23:40:58
2014-01-22T23:40:58
53,005,463
0
0
null
null
null
null
UTF-8
Python
false
false
1,333
div
#!/usr/bin/env python # written by Soeren Gebbert # # COPYRIGHT: (C) 1999,2007,2008 by the GRASS Development Team # # This program is free software under the GNU General Public # License (>=v2). Read the file COPYING that comes with GRASS # for details. # #% Module #% de...
[ "soerengebbert@23da3d23-e2f9-862c-be8f-f61c6c06f202" ]
soerengebbert@23da3d23-e2f9-862c-be8f-f61c6c06f202
4610348b049027e26957c9ca019886c674c2de4b
08b76ed99609725e89338795ddfa73d78ed1c444
/caffe_io.py
4e82dad847058461c79d94a90d677e08424bc339
[]
no_license
savy-91/FoodClassifier
3de043eadc6707275fa485844e00cacd8b039eeb
ae9af691d5e92f533d7120549260e626753f8af4
refs/heads/master
2021-01-18T05:50:38.444648
2015-02-12T12:07:39
2015-02-12T12:07:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,158
py
""" COPYRIGHT All contributions by the University of California: Copyright (c) 2014, The Regents of the University of California (Regents) All rights reserved. All other contributions: Copyright (c) 2014, the respective contributors All rights reserved. Caffe uses a shared copyright model: each contributor holds cop...
[ "carpedm20@gmail.com" ]
carpedm20@gmail.com
f6465e21a95ad29a4bec3a27b0ca14e5aabb9423
49813760337894f578bd6cf4f3ee76c32bd1d7ba
/guvi103.py
b6028d3e36bee2d8be768df15ace0e747d5db1df
[]
no_license
devigajsrr/codekata
e1256cf7fd88a0c7cefd02dea11305391143253a
a9ae003a7d3c8865b1d4e9aae73723a5fedf79be
refs/heads/master
2020-05-23T01:01:09.927231
2019-07-20T11:31:51
2019-07-20T11:31:51
186,580,561
0
3
null
null
null
null
UTF-8
Python
false
false
232
py
p=input() i=0 print(p[i].upper(),end="") i=1 while i <len(p): if p[i]==" ": print(p[i],end="") i=i+1 print(p[i].upper(),end="") i=i+1 else: print(p[i],end="") i=i+1
[ "noreply@github.com" ]
devigajsrr.noreply@github.com
c482bf725394373098018cc9af0c5ec410275459
2dc17d12ff6ea9794177c81aa4f385e4e09a4aa5
/archive/2061. Number of Spaces Cleaning Robot Cleaned.py
ef1f377dbb3ee36f58db1bdbc5b89c0e95f31fd7
[]
no_license
doraemon1293/Leetcode
924b19f840085a80a9e8c0092d340b69aba7a764
48ba21799f63225c104f649c3871444a29ab978a
refs/heads/master
2022-10-01T16:20:07.588092
2022-09-08T02:44:56
2022-09-08T02:44:56
122,086,222
0
0
null
null
null
null
UTF-8
Python
false
false
564
py
class Solution: def numberOfCleanRooms(self, room: List[List[int]]) -> int: dxy = [(0, 1), (1, 0), (0, -1), (-1, 0)] x = y = d = 0 visited = set() cleaned = set() M, N = len(room), len(room[0]) while (x, y, d) not in visited: visited.add((x, y, d)) ...
[ "19241008o" ]
19241008o
a5568833adcca73dfd18b0ca8a43ca1fa1af31b1
6e8d58340f2be5f00d55e2629052c0bbc9dcf390
/scripts/extract_dataset_part.py
a87f5e829730283bf2a45558cfc6e123ec564a7b
[ "CC-BY-2.5", "MIT" ]
permissive
JCVI-Cloud/galaxy-tools-prok
e57389750d33ac766e1658838cdb0aaf9a59c106
3c44ecaf4b2e1f2d7269eabef19cbd2e88b3a99c
refs/heads/master
2021-05-02T06:23:05.414371
2014-03-21T18:12:43
2014-03-21T18:12:43
6,092,693
0
2
NOASSERTION
2020-07-25T20:38:17
2012-10-05T15:57:38
Python
UTF-8
Python
false
false
1,900
py
""" Reads a JSON file and uses it to call into a datatype class to extract a subset of a dataset for processing. Used by jobs that split large files into pieces to be processed concurrently on a gid in a scatter-gather mode. This does part of the scatter. """ import os import sys import logging logging.basicConfig() ...
[ "root@ip-10-118-137-129.ec2.internal" ]
root@ip-10-118-137-129.ec2.internal
ab1020c3d922053238e615927dca7aea54bd99ab
c3e857b02695f5c9179d21fbac98966d71722fe9
/backend/app/serializers.py
d4f587698267d638f0917e43a86a9bd159ba915d
[]
no_license
pytutorial/django_shop_spa
93ed58d64ca03a96d1a64132023d8470f0d31581
65fe771dbac69b3240dcb1ffcf226d97804c7341
refs/heads/main
2023-07-13T15:55:44.463562
2021-08-17T05:10:27
2021-08-17T05:10:27
361,408,165
0
0
null
null
null
null
UTF-8
Python
false
false
3,133
py
from rest_framework import serializers from django.core.validators import MinValueValidator from rest_framework.validators import UniqueValidator from .models import * class CategorySerializer(serializers.ModelSerializer): class Meta: model = Category fields = '__all__' extra_kwargs = { ...
[ "duongthanhtungvn01@gmail.com" ]
duongthanhtungvn01@gmail.com
61500158f07611598d2450bcf35612ff30108d63
9dba277eeb0d5e9d2ac75e2e17ab5b5eda100612
/exercises/1901040058/1001S02E05_stats_text.py.py
0e05c14ff6ac238bb66d6d622ec1c7c5af8912a4
[]
no_license
shen-huang/selfteaching-python-camp
e8410bfc06eca24ee2866c5d890fd063e9d4be89
459f90c9f09bd3a3df9e776fc64dfd64ac65f976
refs/heads/master
2022-05-02T05:39:08.932008
2022-03-17T07:56:30
2022-03-17T07:56:30
201,287,222
9
6
null
2019-08-08T15:34:26
2019-08-08T15:34:25
null
UTF-8
Python
false
false
1,038
py
import collections text = ''' The Zen of Python, by Tim Peters Beautiful is better than ugly. Explicit is better than implicit. Simple is better than complex. Complex is better than complicated. Flat is better than nested. Sparse is better than dense. Readability counts. Special cases aren't special enough to break ...
[ "40155646+seven-tears@users.noreply.github.com" ]
40155646+seven-tears@users.noreply.github.com
db5244170741c3c62c1b85ac5f169c51bd53ba48
4a84dc50411dc2a423ba7408318522b7c26c9487
/bzt/modules/java/__init__.py
ae2040e0bfec82d355ead39b62b2098b3112eb3b
[ "Apache-2.0" ]
permissive
Blazemeter/taurus
ffdef9b433d6754e5395f6b42fc6838ef817a763
81a114bb10ae0b0827079bb7acc2337db8f0e68d
refs/heads/master
2023-08-19T00:19:12.036869
2023-08-14T11:45:09
2023-08-14T11:45:09
30,940,272
1,976
555
Apache-2.0
2023-09-12T09:37:02
2015-02-17T22:05:08
Python
UTF-8
Python
false
false
648
py
""" Copyright 2018 BlazeMeter 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, software...
[ "apc4@ya.ru" ]
apc4@ya.ru
a3dc6568e9b21a4819be46c77d42526ca141061e
54f352a242a8ad6ff5516703e91da61e08d9a9e6
/Source Codes/AtCoder/abc075/B/4900304.py
f5d040a81eec59ae5168ef64bd9851190f596bf5
[]
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
1,075
py
H, W = list(map(int, input().split(' '))) S = [[] for i in range(H)] for i in range(H): S_temp = input() for s in S_temp: S[i].append(s) T = [[0 for j in range(W)] for i in range(H)] for i in range(H): for j, sj in enumerate(S[i]): if sj != '.': T[i][j] = sj ...
[ "kwnafi@yahoo.com" ]
kwnafi@yahoo.com
b008c640b830cae55cb6d92b3662307b273b8e45
d3a9c3abf1821cb7e5326eeb272773f6649ba6a5
/python/ray/train/tests/test_transformers_checkpoint.py
557b237d7fa7590e754b225ea79b6e79d58cb321
[ "BSD-3-Clause", "MIT", "Apache-2.0" ]
permissive
vishalbelsare/ray
692739f5865f5c50254ad9367b9c236526fedf8c
a0e318ba784d4cd5a53ed0e94bb21f299e2bdd5a
refs/heads/master
2023-08-31T06:14:39.421512
2023-05-15T17:21:20
2023-05-15T17:21:20
120,221,098
0
1
Apache-2.0
2023-07-01T07:27:57
2018-02-04T20:37:56
Python
UTF-8
Python
false
false
2,095
py
import os from transformers import AutoConfig, AutoModelForCausalLM, AutoTokenizer from transformers.pipelines import pipeline import ray from ray.train.hf_transformers import ( TransformersCheckpoint, TransformersPredictor, ) from ray.train.tests.dummy_preprocessor import DummyPreprocessor from test_transfo...
[ "noreply@github.com" ]
vishalbelsare.noreply@github.com
b3b9d8716a93000f4837d9f6179e6e278cab74d3
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/nzc3MX32Mwx4qAya3_11.py
6097f5784b0326d302566d4d991956212003cb7c
[]
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
751
py
""" Write a function that reverses the sublist between the start and end index ( **inclusive** ). The rest of the list should be kept the same. ### Examples ranged_reversal([1, 2, 3, 4, 5, 6], 1, 3) ➞ [1, 4, 3, 2, 5, 6] ranged_reversal([1, 2, 3, 4, 5, 6], 0, 4) ➞ [5, 4, 3, 2, 1, 6] ranged_rev...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
c1c6b98950f8edde6acad21ec53bb172f58e709c
1b78ca7f3250ebed418717c6ea28b5a77367f1b8
/370.range-addition/range-addition.py
a97c2b0aff26945c6a9ef3d04923a63c6c6577f8
[]
no_license
JaniceLC/lc-all-solutions
ced854f31b94f44c0b03a0677988805e3b9ee718
3f2a4ee8c09a8890423c6a22c73f470eccf979a2
refs/heads/master
2020-04-05T19:53:31.307528
2018-11-12T04:18:45
2018-11-12T04:18:45
157,155,285
0
2
null
2018-11-12T04:13:22
2018-11-12T04:13:22
null
UTF-8
Python
false
false
560
py
class Solution(object): def getModifiedArray(self, length, updates): """ :type length: int :type updates: List[List[int]] :rtype: List[int] """ ans = [0] * length for update in updates: start, end, delta = update ans[start] +=...
[ "jedihy@yis-macbook-pro.local" ]
jedihy@yis-macbook-pro.local
91aeb90e4bd9e73f4aef0ce286ee2994a78f6b7d
be367c5e5c11284a3d9890610f8d7a08224b62a1
/grpc_pytools/pythonic.py
2b3c6c9825f34a9a3da585818c6e4551bcfe495d
[ "MIT" ]
permissive
hetuhui/grpc-pytools
38992592be9595f22fa429b947dda8dc1e14c5dc
e1ae5a02b154074a32a1e5a65051cd9cd9380172
refs/heads/master
2020-12-02T07:59:36.887364
2017-05-24T12:54:51
2017-05-24T12:54:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,071
py
# -*- coding: utf-8 -*- """Generate more Pythonic services for all gRPC services defined in the xx_pb2.py file. Usage: $ python -m grpc_pytools.pythonic -h Example: $ python -m grpc_pytools.pythonic --proto-ast-file=/path/to/xx_ast.json --pb2-module-name=python.path.to.xx_pb2 """ import argparse import sys ...
[ "luopeng.he@gmail.com" ]
luopeng.he@gmail.com
e6f0879307399a10b540914a279da0595718099c
3c794fac47ca571cb61a1ba7bd941a84eaf70d22
/scripts/npc/adin_enter.py
c6ab16a85c9bcc3218407777949158347346a996
[ "MIT" ]
permissive
Rukh7427/v204.1
dc393b92cb966ca299f6db10519e5b5c4ef68584
359d6575ef8256bb2d6df87bf4156c4608243232
refs/heads/master
2023-08-25T11:41:38.831773
2021-10-27T21:08:11
2021-10-27T21:09:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
534
py
# Ardin (2101003) | The Town of Ariant (260000200) duel = 3933 backStreet = 926000000 if sm.hasQuest(duel): response = sm.sendAskYesNo("Are you ready to fight my other self?") if response: sm.sendNext("Good. I like your confidence.") sm.warpInstanceIn(backStreet, False) else: sm.se...
[ "varenty.x@gmail.com" ]
varenty.x@gmail.com
e55cdb3d377c87c023db7c77fe51ded81ea16bce
5e43051cd107fc2604aa7a0f452345d781ed4f57
/tests/test_convert.py
85d4c83acb15a5b9cad5f5b9e80df1cc6b0d2c45
[ "CC0-1.0", "LicenseRef-scancode-public-domain" ]
permissive
ossdev07/python-libarchive-c
68b6b900660ce8bb1217fd10f9afc04f1d3be37a
8d0bab4047c2d231703095c8222c1bbb29929189
refs/heads/master
2020-11-26T12:25:42.595232
2019-12-19T14:28:48
2019-12-19T14:28:48
229,071,123
0
0
NOASSERTION
2019-12-19T14:27:09
2019-12-19T14:27:08
null
UTF-8
Python
false
false
784
py
from __future__ import division, print_function, unicode_literals from libarchive import memory_reader, memory_writer from . import check_archive, treestat def test_convert(): # Collect information on what should be in the archive tree = treestat('libarchive') # Create an archive of our libarchive/ di...
[ "changaco@changaco.oy.lc" ]
changaco@changaco.oy.lc
081f015479a49440638b16d864fd4a2d342b6c48
d68cb993f5011ac2f6fe6be298a14ba370d4a661
/cleanrl/experiments/docker/aws/batch.py
d094575d9a35d1b735d38afe32775c2e3a16c07e
[ "MIT" ]
permissive
lydia99992/cleanrl
b6cb196a11730e89068a179d27ec99ccc85e9be1
418bfc01fe69712c5b617d49d810a1df7f4f0c14
refs/heads/master
2022-10-21T08:30:00.561062
2020-06-15T18:18:16
2020-06-15T18:18:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,962
py
# pip install boto3 import boto3 import re import time import os client = boto3.client('batch') # get env variable values wandb_key = os.environ['WANDB_KEY'] assert len(wandb_key) > 0, "set the environment variable `WANDB_KEY` to your WANDB API key, something like `export WANDB_KEY=fdsfdsfdsfads` " # extract runs fro...
[ "costa.huang@outlook.com" ]
costa.huang@outlook.com
e5748dd960a52f1da969ff3d73107cd9a7aec0ca
c59dd094c4f262683add929bb3a4d1137816b5c7
/692. Top K Frequent Words.py
2a29be438ddbb3db440b2d070386a8d84f53b18a
[]
no_license
thakur-nishant/LeetCode
2cb81ee10f26f7f26df79573f3af8d224ec4acb8
9ac82100d8bd5618b22f24945c486c92f3e455d3
refs/heads/master
2021-06-21T16:44:58.405380
2019-06-05T06:45:15
2019-06-05T06:45:15
115,187,377
0
0
null
null
null
null
UTF-8
Python
false
false
1,324
py
""" Given a non-empty list of words, return the k most frequent elements. Your answer should be sorted by frequency from highest to lowest. If two words have the same frequency, then the word with the lower alphabetical order comes first. Example 1: Input: ["i", "love", "leetcode", "i", "love", "coding"], k = 2 Outpu...
[ "nt.nishantt@gmail.com" ]
nt.nishantt@gmail.com
4171aec8ca4971d823650fa62ca6a376e3279a1b
c3132612a7ac311e501e432e1a4c7592bbd7a713
/day15/homework/Day15作业/01_作业-归属地查询.py
077eeff90147ce87d6ca6e4c3d0011975b64da4f
[]
no_license
everqiujuan/python
7b8e169107012c3d7829d4ebd9860482fc0d8fec
b0a98de943217e24da60f79dec4fe8ebf4f1c713
refs/heads/master
2020-06-21T16:57:22.260311
2019-07-18T05:58:44
2019-07-18T05:58:44
184,990,635
0
0
null
null
null
null
UTF-8
Python
false
false
269
py
# # 题目:创建函数, 从文件guishudi.txt中获取数据,输入完整手机号11位,匹配前7位,输出对应的地址和卡类型 # # 60268|1340475|0431|吉林省长春市|吉林移动大众卡 # 手机号前7位 :1340475 #
[ "1748636236@qq.com" ]
1748636236@qq.com
cca360240db1d51f3015871069b76a41ecdfe8e6
c4dce67928657703f7d0a45b2e67ae4f96106ad8
/Python-Crash-Course/第一部分 基础知识/第03章 列表简介/3-9 晚餐嘉宾.py
2f6e1ba451089c2ef0825d9601ef65f9e41fb977
[]
no_license
YilK/Notes
fafd30ff9ddf1ebfd22c0c521a5fad5df9f31bb0
c14cefaf8e37c66afeaf0a77ac13cdce59e06fbe
refs/heads/master
2023-01-29T11:24:56.781941
2020-12-08T13:29:28
2020-12-08T13:29:28
155,809,729
0
0
null
null
null
null
UTF-8
Python
false
false
265
py
''' 在完成练习3-4~练习3-7时编写的程序之一中, 使用len() 打印一条消息,指出你邀请了多少位嘉宾来与你共进晚餐 ''' people = ['hjk', 'wy', 'llq', 'ghd', 'wll'] print(people) print('一共有'+str(len(people))+'个人参加')
[ "huangjk0311@126.com" ]
huangjk0311@126.com
0d4f96ebb65447ef9aa33bc9aa761a8c3237c75f
955f9d3fb34af54de2f046d17bbac11c1474819e
/abc061/a.py
a685ff659ff63d5f8482c10dbdfeb209dbfaa5f3
[]
no_license
shimewtr/AtCoderPracticePython
5bb4c28119fced2d111bd1810e0e290f25b6a191
f3c22ec1f7a36a27848070c5c6ca4e1717b04ac6
refs/heads/master
2023-01-12T17:28:44.770138
2020-11-19T22:50:22
2020-11-19T22:50:22
204,830,292
0
0
null
null
null
null
UTF-8
Python
false
false
1,085
py
import sys from io import StringIO import unittest import logging logging.basicConfig(level=logging.DEBUG) def resolve(): a, b, c = map(int, input().split()) if a <= c <= b: print("Yes") else: print("No") class TestClass(unittest.TestCase): def assertIO(self, input, output): ...
[ "wawawatataru@gmail.com" ]
wawawatataru@gmail.com
b750f940171352fe36faeabbb02eab714bff1714
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_62/78.py
f1d50799051e5bd4ab24b79ce5af887000313cbf
[]
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
613
py
inf = open('a-large.in', 'r') outf = open('wireAns.txt', 'w') T = int(inf.readline()) for i in xrange(T): relation = {} A = [] B = [] ans = 0 counting = [1 for j in xrange(10001)] c = inf.readline() for j in xrange(int(c)): d = inf.readline() d = map(int, d.split()) relation[d[0]] = d[1] ...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
76553dabff3bcb028e9a82c2b66e02d45671a339
71acb7214efd91c0d327f6d8958e1798eadb4401
/locations/spiders/rooms_to_go_us.py
dfd42d21dfbcb05a6d9c0e2530d56ce8c3961cb6
[ "CC0-1.0", "MIT" ]
permissive
alltheplaces/alltheplaces
21b9f8b4ace1352e52ae7b8f8825a930d2cb033e
1bcbb55cfcf06f2c714465570711f6e83f205c22
refs/heads/master
2023-08-30T19:45:35.098658
2023-08-30T17:51:54
2023-08-30T17:51:54
61,166,935
453
176
NOASSERTION
2023-09-14T17:16:40
2016-06-15T01:09:18
Python
UTF-8
Python
false
false
432
py
from locations.storefinders.stockist import StockistSpider class RoomsToGoUSSpider(StockistSpider): name = "rooms_to_go_us" item_attributes = {"brand": "Rooms To Go", "brand_wikidata": "Q7366329"} key = "u11672" def parse_item(self, item, location): if "RTG KIDS" in item["name"].upper(): ...
[ "noreply@github.com" ]
alltheplaces.noreply@github.com
d8e8f0c4b0313f9d32a855fe2f5f2a04a81404d4
66e048e60bcd5687b1a59749b1e75425814f1c13
/psmdlsyncer/utils/Singleton.py
a8f7ac6666659f4e5b9125fca816209d84e8e31f
[]
no_license
brainysmurf/ssispowerschoolsyncer
5df310e5cabc262942c474c618f2e90fb3ea65d1
0ae7eae1adb5e0e433bb0bd0b140fa15ae0422c4
refs/heads/master
2021-01-24T09:51:56.759213
2017-02-16T12:00:57
2017-02-16T12:00:57
5,550,371
1
0
null
null
null
null
UTF-8
Python
false
false
1,302
py
class Singleton: """ A non-thread-safe helper class to ease implementing singletons. This should be used as a decorator -- not a metaclass -- to the class that should be a singleton. The decorated class can define one `__init__` function that takes only the `self` argument. Other than that, the...
[ "amorris@mistermorris.com" ]
amorris@mistermorris.com