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
964022a19eaea72fe0e9bc5ff686c3cc8f956d2a
7051d14616fb3a1f108f72332a116fc784d5b228
/Chapter_3_Useful_functions/simulation_simpy.py
2e5a2ba3f64ffc8e8ec3c3e029ee9b30b06c9dc4
[]
no_license
demar01/python
8544b713c2e41394730f983c85f647ba6d503f55
2b020e8f1aef3d542bc94bc76fd9e3112f979133
refs/heads/main
2023-08-01T21:05:31.012662
2021-09-18T07:05:16
2021-09-18T07:05:16
358,561,780
0
0
null
null
null
null
UTF-8
Python
false
false
1,043
py
import simpy def car(env): while True: print('Start parking at %d' % env.now) parking_duration = 5 yield env.timeout(parking_duration) print('Start driving at %d' % env.now) trip_duration = 2 yield env.timeout(trip_duration) env = simpy.Environment() env.process(ca...
[ "maria.dermit@qmul.ac.uk" ]
maria.dermit@qmul.ac.uk
72b02b415482fc6808ca0f4ac0646cdd519accbc
b75ed967cd9b89898d7db8838b89947d8d043337
/primera_API/app.py
69a0a8c432b92c64f609315049776fbe5db3220e
[]
no_license
guilhermedlroncato/flask_api
c4789ce0b9a22529f40a270e844db054d976eaf1
26197764fe27c97d6dde7fd0d7a36d7e24d495b5
refs/heads/main
2023-01-06T16:41:34.276907
2020-11-08T14:53:16
2020-11-08T14:53:16
308,901,949
0
0
null
null
null
null
UTF-8
Python
false
false
647
py
from flask import Flask, jsonify, request import json app = Flask(__name__) @app.route('/<int:id>') def pessoa(id): return jsonify({'id': id,'nome': 'Guilherme', 'profissao': 'Engenheiro de Dados'}) @app.route('/soma', methods = ['POST', 'GET']) def soma(): if request.method == 'POST': dados = json.l...
[ "guilhermeroncato@gmail.com" ]
guilhermeroncato@gmail.com
eb0f0986029bee399fc2b899cd4df367d6b0e4ef
c68c841c67f03ab8794027ff8d64d29356e21bf1
/Add Two Numbers II.py
fac486e9a24579cfdedca994ff025221b72bf2aa
[]
no_license
jke-zq/my_lintcode
430e482bae5b18b59eb0e9b5b577606e93c4c961
64ce451a7f7be9ec42474f0b1164243838077a6f
refs/heads/master
2020-05-21T20:29:11.236967
2018-06-14T15:14:55
2018-06-14T15:14:55
37,583,264
8
2
null
null
null
null
UTF-8
Python
false
false
1,270
py
# Definition for singly-linked list. # class ListNode: # def __init__(self, x): # self.val = x # self.next = None class Solution: # @param l1: the first list # @param l2: the second list # @return: the sum list of l1 and l2 def addLists2(self, l1, l2): # Write your code her...
[ "jke0zq@gmail.com" ]
jke0zq@gmail.com
1bba4203314d8dc50a39c3f412571fa6a01db7a1
8f5ce9cb41649cfcfe4026200c3ec48630cec7fa
/Interview/FInal_Prep/CTC/Merge_array_of_dict.py
802303075bc4fa493e84a84d08ddd94c9318fcf0
[]
no_license
karbekk/Python_Data_Structures
2d44ca0e12355b9b587eefa8a6beeba0ffcf3407
87e0ece2893d19ee92f6e72194cab6dcb4a3c4e7
refs/heads/master
2020-03-28T07:32:41.649465
2019-08-08T03:37:09
2019-08-08T03:37:09
147,908,721
0
0
null
2018-09-08T06:40:50
2018-09-08T06:40:50
null
UTF-8
Python
false
false
371
py
def minimum(a, b): if not a: for i in b: return b[i] if not b: for dict in range(len(a)): return [a[dict]] if a[0]['y'] > b[0]['y']: return [a[0]] + minimum(a[1:], b) return [b[0]] + minimum(a, b[1:]) a = [{"x": 200, "y": 1000}, {"x": 201, "y": 90...
[ "kartikshrikanthegde@gmail.com" ]
kartikshrikanthegde@gmail.com
cac52649868fcbaf875cd0ab86dc0cffca1c0736
c18af6b1b5d34603d89c278de68768749eaf0929
/week 1/homework/Problem1.py
2bc8ef76ceea927d71900ac910012c933838d2ff
[]
no_license
Shourelian/Intro-to-python
bb0b1530cc6f41ec99dcc7fd5db2cb385da167ed
1bd6c100edc0b2feec92a0a362f2cac59a7f88b7
refs/heads/master
2020-08-22T04:45:13.568847
2019-11-26T01:08:33
2019-11-26T01:08:33
216,320,103
0
1
null
null
null
null
UTF-8
Python
false
false
559
py
project = "cake" difficulty = 4 ingredients = "flour","butter","sugar","eggs","cocoa powder","baking powder" print ("apples" in ingredients) print ("butter" in ingredients) print (("eggs" in ingredients) or ("margarine" in ingredients)) print (("eggs" in ingredients) and ("margarine" in ingredients)) flour = 175 butter...
[ "you@example.com" ]
you@example.com
19aa42af14c26ddc298bc816a4312f860049a573
8766d63f212b2a794d9b751153896b45e35fb1e7
/IIR/codes/bkp/analog_BPF_bkp.py
936d6212d785bef3a0bc45cf662eeafd5bd5c036
[]
no_license
gadepall/EE1330
4da72dbcfef7c862811cef0e55cf79f4c55b11a9
0caf4f57e4dfdccb258617b28f7602c997ed76dc
refs/heads/master
2020-03-24T16:27:53.765877
2018-11-16T11:55:32
2018-11-16T11:55:32
142,825,661
0
0
null
null
null
null
UTF-8
Python
false
false
1,114
py
import numpy as np import matplotlib.pyplot as plt from N_epsilon import parameters from LPF_design import filt_design #Passband Cutoffs Fp2=6.0 Fp1=7.2 #Transition Band df=0.3 #Passband && stopband tolerance d=0.15 #sampling rate Fs=48 N,R1,R2,ao,B,alp,als,ap1,ap2,as1,as2 = parameters(Fp2,Fp1,df,d,Fs) e=0.6197...
[ "gadepall@gmail.com" ]
gadepall@gmail.com
db2e332116b2dffb8107ec37f10d7d492d1e3b2a
511f8b47f3892fac6a63d949037fc4bb782f962d
/mtmc/lib/sys.py
213ddda137912d69018ef28bef09e8dca6c5325e
[ "Apache-2.0" ]
permissive
PaddleCV-SIG/MTMC-Sim
138149545d32ee4ce0425949c799d4d605dc08a6
fe6df367fee107fab5688ff2c6887a1c3242e682
refs/heads/main
2023-07-19T14:52:01.661951
2021-08-21T10:09:26
2021-08-21T10:09:26
391,828,578
2
2
Apache-2.0
2021-09-13T16:22:40
2021-08-02T05:43:16
Python
UTF-8
Python
false
false
260
py
import os import sys import logging def add_path(path): path = os.path.abspath(path) if path not in sys.path: logging.info("loading path %s ..." % path) sys.path.insert(0, path) else: logging.info("path %s exists!" % path)
[ "yiak.wy@gmail.com" ]
yiak.wy@gmail.com
8f5f878ccd8ac6cc09ec9dd7487059ba61af9db7
eac9165b139a20260cefe3c0530a7032a6a72e34
/aiSnake/helper.py
01ad34a3c1c6e8df8f788d2382aa35d3d7cbac71
[]
no_license
nrhint/GitGames
25a9173417ffc6f4d0f7612f9200568730466056
631c3a9ff2da5eb34c9496acd19d9885fe2791fe
refs/heads/master
2023-02-24T08:19:29.620029
2023-02-16T08:11:02
2023-02-16T08:11:02
176,790,601
0
2
null
2022-12-27T18:55:26
2019-03-20T18:05:56
Python
UTF-8
Python
false
false
537
py
import matplotlib.pyplot as plt from IPython import display plt.ion() def plot(scores, mean_scores): display.clear_output(wait = True) display.display(plt.gcf()) plt.clf() plt.title("Training...") plt.xlabel("Number of Games") plt.ylabel("Score") plt.plot(scores) plt.plot(...
[ "nathan@hintonclan.org" ]
nathan@hintonclan.org
1cf59df26233377ac60e8e60c108f4dbeebd1339
df17456ee6e8b339ff4ecf36601a05169e813bd6
/pytorch/models/model_store.py
05d71503aa23c7e976c95f71fdef71075c765133
[]
no_license
CosmosHua/imgclsmob
e434ed3e0369ef23c8b1b126ad0281c683c46dc5
9126d7abfdaa3869a5f2f31adb88d59f2ee54ab0
refs/heads/master
2020-03-28T12:12:44.275130
2018-09-08T19:39:50
2018-09-08T19:39:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,860
py
""" Model store which provides pretrained models. """ __all__ = ['get_model_file'] import os import zipfile import logging import hashlib _model_sha1 = {name: (error, checksum, repo_release_tag) for name, error, checksum, repo_release_tag in [ ('resnet10', '1585', 'ef8a3ae358543fbce38088ac4955f41ce860e45b', ...
[ "osemery@gmail.com" ]
osemery@gmail.com
d9c1e4ed231b5de58617cebc016648d25d031050
f41309da5e0d26b24d974a009fa309a02fcaa20c
/aws_cloudtrail_rules/aws_ec2_gateway_modified.py
ec8706e1bd2af30bc66a92756b70f3884b65da29
[ "Apache-2.0" ]
permissive
georgeSkoumas/panther-analysis
2e1e87f83c6533cb6d62ecb62e3f61b2ff4b5ed4
30b21c270504bf7c84f99207c9c6c2f6110843ae
refs/heads/master
2022-09-14T13:22:31.786275
2020-05-26T16:18:58
2020-05-26T16:18:58
267,569,230
1
0
Apache-2.0
2020-05-28T11:15:05
2020-05-28T11:15:04
null
UTF-8
Python
false
false
359
py
# API calls that are indicative of an EC2 Network Gateway modification EC2_GATEWAY_MODIFIED_EVENTS = { 'CreateCustomerGateway', 'DeleteCustomerGateway', 'AttachInternetGateway', 'CreateInternetGateway', 'DeleteInternetGateway', 'DetachInternetGateway', } def rule(event): return event['even...
[ "noreply@github.com" ]
georgeSkoumas.noreply@github.com
d622873bbca0d709b1b434f49f32e03317a4b9cc
e29734c2b3543a05a28b6bc460c3248ea37aaf5c
/apps/course/migrations/0026_auto_20190426_1430.py
937cfcba283728921c63ac9b7dc7d3c22e09a9c7
[]
no_license
simida0755/PopularBlogs
fda6dbe06751dde013ba57f73c708fd7106a49ee
3a86989232206d0727223306c0e2d2c62d35fa9b
refs/heads/master
2020-05-21T15:54:09.853341
2019-05-13T02:15:28
2019-05-13T02:15:28
186,101,555
5
1
null
null
null
null
UTF-8
Python
false
false
423
py
# Generated by Django 2.0.2 on 2019-04-26 14:30 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('course', '0025_auto_20190426_1428'), ] operations = [ migrations.AlterField( model_name='course', name='image', ...
[ "simida027@163.com" ]
simida027@163.com
f7c233d60f3c499eace60e85bb3ca38642e07b8e
4eefdb4a1c41adbf635e44d63c6758d36bc274b4
/missing_number.py
d355992145adbf9fffeb7d8561b845d8faeddf79
[]
no_license
shreshta2000/list_questions
d8ba4df8baeea50f6a5fd2ce820e16c457f5f439
7525d314ef8fa853f0ceb9248b809b5b1658c75f
refs/heads/main
2023-04-13T00:28:20.113852
2021-04-28T06:39:32
2021-04-28T06:39:32
307,739,873
0
0
null
null
null
null
UTF-8
Python
false
false
254
py
list1=[5,2,3,9] i=0 greatest=0 lowest=list1[0] a=[] while i<len(list1): if list1[i]>greatest: greatest=list1[i] if list1[i]<lowest: lowest=list1[i] i=i+1 low=(lowest) large=(greatest) while low<=large: if low not in list1: print(low) low=low+1
[ "you@example.com" ]
you@example.com
a4cd455ed778facdfeb8804ffed86e6336c6082a
9d312d714b604f6f49a078844abb88d9444564e5
/src/stk/populations.py
783636b63e91a60e0fa594a5bff41949f16fd94f
[ "MIT" ]
permissive
llsonkimm/stk
a25e9a51f9e9bd6e9df0ab9ffb5ba978e609c808
261cd924a9866ffb68a1a6917a957f1b811ce7ab
refs/heads/master
2020-12-07T18:41:52.513598
2019-12-18T13:32:14
2019-12-18T13:32:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
49,155
py
""" Populations =========== :class:`.Population` objects are container specialized to perform operations on groups of ``stk`` molecules, often in parallel. """ import itertools as it import os from os.path import join import numpy as np import json import psutil from functools import wraps import logging import path...
[ "lukasturcani93@gmail.com" ]
lukasturcani93@gmail.com
1cc791ac61a9d9b697c9e4365134b0143e2a1b3b
f5d7660f0f2c32e79bb4d65f0f221147c9d3646b
/src/spring/azext_spring/vendored_sdks/appplatform/v2023_01_01_preview/aio/operations/_config_servers_operations.py
ee69bf27df1812e2c545d1042d7beb48f03bc807
[ "LicenseRef-scancode-generic-cla", "MIT" ]
permissive
markrzasa/azure-cli-extensions
d6a09d18f818a7795dcfea49fefe3d717d85557a
7ea11998bb4a5f079b090e0fa637bd7b87dc9b7e
refs/heads/main
2023-08-16T18:23:39.143846
2023-08-04T06:08:01
2023-08-04T06:08:01
398,926,578
0
0
MIT
2021-08-23T00:04:04
2021-08-23T00:04:03
null
UTF-8
Python
false
false
39,402
py
# pylint: disable=too-many-lines # 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) AutoRe...
[ "noreply@github.com" ]
markrzasa.noreply@github.com
4800a1ace1f4b794ab1ecabe3ed20ebf86ad8377
806099c13ad7dca3d09d5b5c1a911860fdd4a0d4
/basic_word2vec_example/data_utils.py
1b22fca06a4c3cfafe0cc083ffb401fd087fb854
[ "MIT" ]
permissive
eatingLuo/AmusingPythonCodes
6a1e4376993a84c7ea6cf622fb6a4cc3431443d5
643d0d7bb70b084bc091a9c68bd172309307a153
refs/heads/master
2021-05-01T08:33:44.040733
2018-01-29T05:44:14
2018-01-29T05:44:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,028
py
import os from six.moves import urllib import zipfile import tensorflow as tf import collections from sklearn.manifold import TSNE import matplotlib.pyplot as plt import numpy as np import random def maybe_download(filename, expected_bytes): """Download a file if not present, and make sure it's the right size."""...
[ "isaac.changhau@gmail.com" ]
isaac.changhau@gmail.com
350918d02a8cca6979e18ba6221b9da1667c0c9f
8e31777b29161df330cac4395aa97043e9b8422a
/strawberry/permission.py
5a0cfdc4a91785534722dd33d82ee952125df2fa
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
matEhickey/strawberry
d51d4add44a0677dc69db0f1689391a9536a759d
8126ec0b6a7acf0edf553752d703bcd1f6273ac4
refs/heads/master
2022-12-17T04:05:27.375888
2020-09-16T07:24:44
2020-09-16T07:24:44
296,019,657
0
0
MIT
2022-09-06T13:30:08
2020-09-16T12:02:00
null
UTF-8
Python
false
false
249
py
class BasePermission: """ Base class for creating permissions """ def has_permission(self, source, info, **kwargs): raise NotImplementedError( "Permission classes should override has_permission method" )
[ "patrick.arminio@gmail.com" ]
patrick.arminio@gmail.com
ad10b36986e827e0c8aa09611691bd28a9522644
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/11/usersdata/120/4914/submittedfiles/jogo.py
691b9ccd72c31fe385eefd80addfdb4a01e66a6d
[]
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
588
py
# -*- coding: utf-8 -*- from __future__ import division import math #ENTRADA cv=input('insira o numero de vitorias do cormengo:') ce=input('insira o numero de empates do cormengo:') cs=input('insira o saldo de gols do cormengo:') fv=input('insira o numero de vitorias do flaminthias:') fe=input('insira o numero de empat...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
a497e4c6c12a2861538261ec6d1a022fed28e5a5
5c9a896baf72a86471427ba9867174ea4ca93307
/app/forms.py
5c1b4288b0c3d9a04c680a694a9400fa47dfef32
[]
no_license
mphermosilla/noi2
9fba31f91b0c79e455657a20f4c62e54e27e7611
84027ea1a00202aeb81aaefe98bd377d15251796
refs/heads/master
2021-01-17T21:43:45.827730
2015-08-10T20:47:03
2015-08-10T20:47:03
40,497,143
0
0
null
2015-08-10T17:53:17
2015-08-10T17:53:17
null
UTF-8
Python
false
false
1,634
py
''' NoI forms ''' from app import DOMAINS, LOCALES from app.models import User from flask_wtf import Form from flask_babel import lazy_gettext from wtforms_alchemy import model_form_factory from wtforms.fields import SelectMultipleField from wtforms.widgets import Select # The variable db here is a SQLAlchemy objec...
[ "irving.krauss@gmail.com" ]
irving.krauss@gmail.com
91dd17a3ee6a79667f55846652231dab75e8d68b
7d2f933ed3c54e128ecaec3a771817c4260a8458
/venv/Lib/site-packages/pandas/core/internals/concat.py
b2ef64295abf86c935fdb47c428bdd6fba46993d
[]
no_license
danielmoreira12/BAProject
c61dfb1d0521eb5a28eef9531a00e744bfb0e26a
859f588305d826a35cc8f7d64c432f54a0a2e031
refs/heads/master
2021-01-02T07:17:39.267278
2020-02-25T22:27:43
2020-02-25T22:27:43
239,541,177
0
0
null
null
null
null
UTF-8
Python
false
false
16,625
py
# TODO: Needs a better name; too many modules are already called "concat" import copy import numpy as np import pandas.core.algorithms as algos from collections import defaultdict from pandas._libs import internals as libinternals, tslibs from pandas.core.dtypes.cast import maybe_promote from pandas.core.dtypes.common ...
[ "danielmoreira12@github.com" ]
danielmoreira12@github.com
9529364293bdc6272f7cc3e11b76695fad917f8a
4985a69dbfeab6eebe29257946fd6bbf47a84686
/python文件/python基础/day01/qq帐号和密码.py
a048dffa91e91ece49018889888511fd701cfe54
[]
no_license
g2606340915/rg201--2018
9f21fc82bbbee4304dfbefdfa5314ff1fc7f835f
e2c17b6de6e2fe2b550041579932f5e30a5a52e4
refs/heads/master
2020-03-17T13:24:36.613978
2018-05-16T08:15:42
2018-05-16T08:15:42
133,630,564
2
0
null
null
null
null
UTF-8
Python
false
false
215
py
# 需求:输出qq帐号和密码 zhanghao = int(input("请输入帐号")) if zhanghao == 2606340915 or 647722485: print("帐号:%d"%zhanghao,"密码:guobin20000510") else: print("请重新输入帐号")
[ "2606340915@qq.com" ]
2606340915@qq.com
7dc78f2bac9569abfc59cdd2c1abcbd3c10524bf
204d62b325fe5dff332a517a6bea9a3cad76371d
/python_cc/list_tree.py
9b7c98fcbc60d80e6e7bbc18eb06dd4e69ce2431
[]
no_license
tedyeung/Python-
ca5b87b66df95cf3e2d68e516becc04a890bb361
f379aa48d1e2118729c422e6d48a067b70639c5f
refs/heads/master
2021-09-21T11:52:20.389770
2018-08-25T14:47:46
2018-08-25T14:47:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
704
py
# working with the list and loops languages = ['python', 'swift', 'javascript'] for language in languages: print (language) print('*************************************') # for loop and statements for language in languages: print('I need to learn ' + language.title() + '!') print('***************************...
[ "slavo@mimicom24.com" ]
slavo@mimicom24.com
a485f9e0d5ba7d627391c29d6b8935ba0f00f93e
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/JsLu5qWsJtuJuBZT4_0.py
39377d9ee21b84b1a6e2ea94b477010d6f5b6acc
[]
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
980
py
""" Create a function that takes a string as the first argument, and a (string) specification as a second argument. If the specification is `"word"`, return a string with each word reversed while maintaining their original order. If the specification is `"sentence",` reverse the order of the words in the string, whi...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
a8f1fd2e4431c65edd17978e9cd50f13e4625f78
2a34eb8149c7c2c936d52aa1ad84c1686938d8f5
/Graphs/LeetCode/LC743_network_delay_time.py
1e9536d232f1e84aae32f647be7f0645f1519107
[]
no_license
adjl/competitive-programming
64c2d56d222a1684b426e1d86a255e24f203b3f1
e6600c2d0a18425199fea9dcfc7bb89c08d9b6cd
refs/heads/master
2021-10-09T03:15:13.154652
2018-12-20T13:44:54
2018-12-20T13:44:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,366
py
#!/usr/bin/env python3 # LeetCode #743: Network Delay Time # https://leetcode.com/problems/network-delay-time/description/ import sys from collections import defaultdict class Node: def __init__(self): self.min_time = sys.maxsize self.inbound = {} self.outbound = {} class Solution: ...
[ "helena.josol@gmail.com" ]
helena.josol@gmail.com
797c1a423885a2c6cf7404f6a0d37b775e736f50
ecb7e109a62f6a2a130e3320ed1fb580ba4fc2de
/reference-code/lambda/cm-premembers-backend/premembers/repository/pm_securityCheckWebhookCallHistory.py
6ad2efcae5151b425f881373904e38c798a46533
[]
no_license
nisheeth84/prjs_sample
df732bc1eb58bc4fd4da6e76e6d59a2e81f53204
3fb10823ca4c0eb3cd92bcd2d5d4abc8d59436d9
refs/heads/master
2022-12-25T22:44:14.767803
2020-10-07T14:55:52
2020-10-07T14:55:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,874
py
import inspect from premembers.repository.table_list import Tables from premembers.common import common_utils from premembers.repository import DB_utils from boto3.dynamodb.conditions import Attr RESPONSE_SECURITY_CHECK_WEBHOOK_CALL_HISTORY = { 'SecurityCheckWebhookID': 'id', 'CreatedAt': 'createdAt', 'Ex...
[ "phamkhachoabk@gmail.com" ]
phamkhachoabk@gmail.com
17b595932084027e7c000cef0a043d5dd28428e1
919b8b1533230143c1e85247d072cd687dc62387
/qa/rpc-tests/blockchain.py
53e436671bd4367079e7e4fe34691dee8c20aeb3
[ "MIT" ]
permissive
zumy/zumycoin
245881ce519872101b0e0f4b92eb4f4f5f4ed0ea
6dc3b3778569914234ed5e11fa7326adcb6fd6b2
refs/heads/master
2021-07-08T00:30:18.339508
2020-08-10T16:07:18
2020-08-10T16:07:18
163,576,912
8
6
NOASSERTION
2020-08-04T02:24:41
2018-12-30T09:47:11
C++
UTF-8
Python
false
false
2,811
py
#!/usr/bin/env python2 # Copyright (c) 2017 Zumy Developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. # # Test RPC calls related to blockchain state. Tests correspond to code in # rpcblockchain.cpp. # from decimal import De...
[ "dev@zumy.co" ]
dev@zumy.co
215e835eaa6d269b54303912e7fe11659b8946d1
97706f24e4adfae2e3c7d50c368bd7d3d6812e2c
/tests/remote/test_fennec.py
55cd59f452a9eaf5faaccc8e6b728bad638e7fa4
[]
no_license
parkouss/mozdownload
a3b245e24a725cbdd82944bc44b41866fd579ac8
042f08811faea146553b0741124bef4d50741662
refs/heads/master
2021-01-18T01:42:46.062240
2015-11-10T13:14:12
2015-11-16T11:55:50
45,904,927
0
0
null
2015-11-10T10:32:53
2015-11-10T10:32:52
null
UTF-8
Python
false
false
3,149
py
#!/usr/bin/env python # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this file, # You can obtain one at http://mozilla.org/MPL/2.0/. import tempfile import unittest import mozfile import mozlog import mozdownload tests_daily_s...
[ "mail@hskupin.info" ]
mail@hskupin.info
2548df05c09c4529ae41bb1684a14afb594abd0c
4e30c0759c340b2d6eaeb64338aad20c52d793cd
/first_steps/get_auth_cookie.py
6764c62a7c505296a140da8c7bc95a55e462def5
[]
no_license
shinkai-tester/LearnQA_PythonAPI
8881d5c606088228c5b770c20c2fd18d6c8939dd
8b49e2de03fbd1a3a34b86bb1cd0a5595aa7047d
refs/heads/main
2023-08-27T10:13:47.927613
2021-10-04T19:28:11
2021-10-04T19:28:11
404,858,731
0
0
null
null
null
null
UTF-8
Python
false
false
275
py
import requests payload = {"login": "secret_login", "password": "secret_pass"} response = requests.post("https://playground.learnqa.ru/api/get_auth_cookie", data=payload) print(response.text) print(response.status_code) print(dict(response.cookies)) print(response.headers)
[ "alinlaegnor@gmail.com" ]
alinlaegnor@gmail.com
746dabd6d88f45ba3ee7a5f540b2b5271a458083
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/6/ojs.py
95571a1d871c3e8ad9d56fc7c06623e955ad5e80
[]
no_license
G4te-Keep3r/HowdyHackers
46bfad63eafe5ac515da363e1c75fa6f4b9bca32
fb6d391aaecb60ab5c4650d4ae2ddd599fd85db2
refs/heads/master
2020-08-01T12:08:10.782018
2016-11-13T20:45:50
2016-11-13T20:45:50
73,624,224
0
1
null
null
null
null
UTF-8
Python
false
false
486
py
import sys def printFunction(lineRemaining): if lineRemaining[0] == '"' and lineRemaining[-1] == '"': if len(lineRemaining) > 2: #data to print lineRemaining = lineRemaining[1:-1] print ' '.join(lineRemaining) else: print def main(fileName): with open(fileName) as f: for line in f: ...
[ "juliettaylorswift@gmail.com" ]
juliettaylorswift@gmail.com
bc8ea4c35f18129cc0e57419782e7accd3bc4439
8d0eeeaa10c31991cb8f1917717c9c9a306a798f
/02. Words Lengths.py
4cd8de51ea6c759d9771ee6b5131227fed97deb4
[]
no_license
antondelchev/Comprehensions---Exercise
706a75c539c7eb5fb58ef0a5206eb3f2351f01e7
84b9c030bc9bf38bd53de50cb5b5c7550d155d5e
refs/heads/main
2023-06-18T16:46:36.171272
2021-07-13T09:58:31
2021-07-13T09:58:31
383,778,101
0
0
null
null
null
null
UTF-8
Python
false
false
168
py
txt = [word for word in input().split(", ")] [print(f"{el} -> {len(el)}", end=", ") if txt.index(el) < len(txt) - 1 else print(f"{el} -> {len(el)}") for el in txt]
[ "noreply@github.com" ]
antondelchev.noreply@github.com
dfdcb3edf7b0592f0be288e6435bf60142ef910d
162e0e4791188bd44f6ce5225ff3b1f0b1aa0b0d
/mrex/metrics/cluster/unsupervised.py
c7fb87dacbd64750845903dc051067e9216cbe05
[]
no_license
testsleeekGithub/trex
2af21fa95f9372f153dbe91941a93937480f4e2f
9d27a9b44d814ede3996a37365d63814214260ae
refs/heads/master
2020-08-01T11:47:43.926750
2019-11-06T06:47:19
2019-11-06T06:47:19
210,987,245
1
0
null
null
null
null
UTF-8
Python
false
false
14,050
py
"""Unsupervised evaluation metrics.""" # Authors: Robert Layton <robertlayton@gmail.com> # Arnaud Fouchet <foucheta@gmail.com> # Thierry Guillemot <thierry.guillemot.work@gmail.com> # License: BSD 3 clause import functools import numpy as np from ...utils import check_random_state from ...utils i...
[ "shkolanovaya@gmail.com" ]
shkolanovaya@gmail.com
fd318383ed12272973e8ec52e119cec6f975ede5
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02257/s269703876.py
d183ef4bc92aaabb3d3623c6047480a0689034b3
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
384
py
def is_prime(x): if x == 1: return False l = x ** 0.5 n = 2 while n <= l: if x % n == 0: return False n += 1 return True import sys def solve(): file_input = sys.stdin N = file_input.readline() cnt = 0 for l in file_input: x = int(l) ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
e51a160dd3a313a0d5b86cfd2108bbd01f02a990
9b64f0f04707a3a18968fd8f8a3ace718cd597bc
/huaweicloud-sdk-iam/huaweicloudsdkiam/v3/model/create_token_with_id_token_request.py
738f7d3b3e6de549c675e9034482c820eedbf506
[ "Apache-2.0" ]
permissive
jaminGH/huaweicloud-sdk-python-v3
eeecb3fb0f3396a475995df36d17095038615fba
83ee0e4543c6b74eb0898079c3d8dd1c52c3e16b
refs/heads/master
2023-06-18T11:49:13.958677
2021-07-16T07:57:47
2021-07-16T07:57:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,427
py
# coding: utf-8 import re import six class CreateTokenWithIdTokenRequest: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The key is attribute name and the value is ...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
73266366ab017048708d9add1b8f2342aebe3b60
e0dee553002c91f92f4e4ba56781192cfb8e4601
/mtexting/plan/urls.py
def513a66865d95633ef65827d22e3fa0b050a30
[]
no_license
wlminimal/mtexting
4799eb9f942878f3f314c7460a9e85547df07ef8
1f92f59809d8948d0ee3d7beff178cdfaae981c2
refs/heads/master
2021-01-01T15:23:33.376599
2017-07-28T14:34:05
2017-07-28T14:34:05
97,610,593
0
0
null
null
null
null
UTF-8
Python
false
false
239
py
from django.conf.urls import url from django.views.generic import TemplateView urlpatterns = [ url(r'^upgrade-plan/', TemplateView.as_view( template_name="plan/upgrade-plan.html"), name="upgrade-plan"), ]
[ "wlminimal@gmail.com" ]
wlminimal@gmail.com
982c2f200e634381e13b40bf5925c127db695400
53ecd40dd7303e54f278d3580af2aefd3de0945c
/tensorflow/python/keras/metrics_test.py
6ed9593b844c49eef752317b5b6dfae8fd70d959
[ "Apache-2.0" ]
permissive
mariusae/tensorflow
2fc9d80a7513620bb256d1f626b904a9b7e1d027
8d0152b03369fe6a9ce91a61cee50c0b7767ee09
refs/heads/master
2020-04-18T15:58:33.511927
2019-01-25T22:02:12
2019-01-25T22:36:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
69,368
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...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
eb8d0c5653f27f3932bb02e84edba98ab873cb75
edf125be37a40caeb14c7fe32bd9f7511cf0ce9b
/04-python-data-science-toolbox-Part-2/2-list-comprehensions-and-generators/dict_comprehensions.py
d0ed2e41c863f239480db3bb056db93c420d4e4d
[]
no_license
vedpbharti/Datacamp
1d3d2ca0722a3a19733e91fa054f64e0c3b7114a
b6d019efebe1b46765f19212ba2d8ebb9d90de57
refs/heads/master
2020-04-05T05:47:28.528088
2019-02-10T22:34:00
2019-02-10T22:34:00
156,610,704
0
0
null
null
null
null
UTF-8
Python
false
false
1,360
py
''' Dict comprehensions Comprehensions aren't relegated merely to the world of lists. There are many other objects you can build using comprehensions, such as dictionaries, pervasive objects in Data Science. You will create a dictionary using the comprehension syntax for this exercise. In this case, the comprehension ...
[ "ved.bhartig@gmail.com" ]
ved.bhartig@gmail.com
2f79881dfa7c136fea7ac8d177fb3bb099c901e2
7360e50d3f4954df8fb04b21a1ec25c8990c5158
/HUX - 2453.py
4be5192bdbeea123e5335571a6d8e4f63e6f7664
[]
no_license
celsopa/theHuxley
d64496ae6be055e48e83a158edffe66d509958cc
4abc88663f9a3955a403e6524962f7af7f267dc5
refs/heads/master
2020-05-03T16:59:16.475760
2019-05-11T14:11:13
2019-05-11T14:11:13
178,736,000
2
3
null
null
null
null
UTF-8
Python
false
false
405
py
from math import fabs a = int(input()) b = int(input()) c = int(input()) if (b + c > a > fabs(b - c)) or (a + c > b > fabs(a - c)) or (a + b > c > fabs(a - b)): print("podem formar um triangulo") if a == b and b == c: print("equilatero") elif a != b and a != c and b != c: print("escaleno") ...
[ "celsopa@msn.com" ]
celsopa@msn.com
bcb55d436a5d0e13aea44f090f99d156418e4c25
3ca6302ebdc0e47d5d462435ad24a2886cfa5063
/hash_md5.py
ea38db3cfec1a7e63368bbb1bbcff819f4130ee9
[]
no_license
Sem31/PythonBasics
3859276820d484025d6c3d8f9efaf131b8626da8
d9bfd520b67056a3cbb747f7a4b71fe55871c082
refs/heads/master
2020-04-24T19:09:48.608293
2019-02-23T10:56:26
2019-02-23T10:56:26
172,203,384
0
0
null
null
null
null
UTF-8
Python
false
false
95
py
import hashlib str = "kamlesh" hashkey = hashlib.md5(str.encode()).hexdigest() print(hashkey)
[ "semprajapat31@gmail.com" ]
semprajapat31@gmail.com
b4de6d7dbd8321b8704f5f21df3b28f9d916ece1
c5959b7e4fc5b752b54a6352449c1bb0d28d9115
/bab/bab-9/paket1.py
601a5f91db99080a2b424a347bf08b3f0e70c1e1
[]
no_license
romanbatavi/kickstarter-python
f5592a371740b28c045ef99dd510d1c6a92ff8d1
ed3eb692e09a3f44fd3e0b16ab7b042ee2658db6
refs/heads/master
2023-03-29T11:34:23.774873
2021-04-04T09:11:28
2021-04-04T09:11:28
354,500,208
0
0
null
null
null
null
UTF-8
Python
false
false
390
py
###################################################### # Nama file: paket1.py ###################################################### from Matematika.geometri2D import luasBujursangkar def main(): # bujursangkar sisi = 5 luas = luasBujursangkar(sisi) print("BUJURSANGKAR") print("Panjang sisi\t: ", sis...
[ "romanbatavi98@gmail.com" ]
romanbatavi98@gmail.com
dd27a81cf7ef73b2c2642827661789b19f56bfad
a079853d22a47a8c50bca2654e30c4fef3dd2d34
/e_commerce/orders/migrations/0003_auto_20210825_2232.py
eb104c90002adce38933206d33b0cd84d47fc40c
[]
no_license
toticavalcanti/django_ecommerce
04299ac33de804f10270309d738e2c6dff61bf9c
2ee45585d0724174e24ab5f4f52daa3b14fa473b
refs/heads/master
2023-08-19T00:53:56.178570
2023-08-15T00:55:33
2023-08-15T00:55:33
160,266,119
25
11
null
null
null
null
UTF-8
Python
false
false
689
py
# Generated by Django 3.1.5 on 2021-08-25 22:32 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('billing', '0001_initial'), ('orders', '0002_order_total'), ] operations = [ migrations.AddField( ...
[ "toticavalcanti@hotmail.com" ]
toticavalcanti@hotmail.com
d25d5489a1c780b2321eafb90def2e7ef2b5913e
25edcb2590585f53f58a10728c09f20b47da0118
/test/azure/Expected/AcceptanceTests/AzureResource/fixtures/acceptancetestsazureresource/auto_rest_resource_flattening_test_service.py
f98ad1f0e49e3ee05526102af5175adb78d07e9b
[ "MIT" ]
permissive
testormoo/autorest.ansible
faa126c30997f2a35928a7b89b00b1b832514ecb
93bda6d41555621e602d850a4ba948345aa4605b
refs/heads/master
2020-04-09T07:24:52.832932
2018-12-03T06:37:40
2018-12-03T06:37:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
15,404
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 ...
[ "zikalino@microsoft.com" ]
zikalino@microsoft.com
27c1abe94e43645618a8c8ce0f97e2c9f0491125
8ca6483afd68a378a3725a41d86d935a03ab24ba
/onlineshop/store/migrations/0003_customer.py
046f4cd4707fe0dac715480f5394dc58eef33a3c
[]
no_license
dpuman/eshop
266845dd9fe02f645c319f5643e8431970193899
d11a2347ad465c10469ac4c0c870f913bc242bd4
refs/heads/master
2023-02-17T15:54:57.318177
2021-01-16T12:50:56
2021-01-16T12:50:56
326,386,693
0
0
null
null
null
null
UTF-8
Python
false
false
769
py
# Generated by Django 3.1.2 on 2021-01-06 05:45 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('store', '0002_auto_20210105_0948'), ] operations = [ migrations.CreateModel( name='Customer', fields=[ ...
[ "dpumail.in@gmail.com" ]
dpumail.in@gmail.com
767ee0a812e416065a242a99128e99dad8d6543e
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_136/890.py
85030a2bf92d73b61a5c31b83a2ea12e5928b216
[]
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
481
py
with open('input.in','r') as f: lines = f.readlines() f.close f = open('output.out','w') tmp = [] for l in lines: try: tmp.append(int(l.strip())) except ValueError: tmp.append([float(f) for f in l.split()]) lines = tmp T = lines[0] for case in range(1,T+1): C_per_sec = 2.0 C,F,X = lines[case] s = 0 while 1: ...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
e368126eeee780640b4fd476685d400f3623ea62
2feaddc19de5490a1b55af08079d7e1d866f4c2d
/server/walt/server/processes/blocking/images/tools.py
45556fce5cbdebf02e918591bca4a850adb63780
[ "BSD-3-Clause" ]
permissive
drakkar-lig/walt-python-packages
4beba93394da306550a54313800bb455b8652e81
2e487767c697aded22ba3e08b26964b45e154559
refs/heads/master
2023-09-04T10:53:48.768130
2023-09-01T08:05:11
2023-09-01T08:05:11
24,328,535
6
3
BSD-3-Clause
2023-09-01T08:12:36
2014-09-22T12:56:10
Python
UTF-8
Python
false
false
337
py
import time def update_main_process_about_image(server, image_fullname): while not server.registry.image_exists(image_fullname): print('Waiting for the image to be detected in main registry.') time.sleep(0.5) server.registry.refresh_cache_for_image(image_fullname) server.images.store.resync...
[ "etienne.duble@imag.fr" ]
etienne.duble@imag.fr
0b57fc2c508bf8bbbf31a96f4e9ec4213ae90e86
f8016b5d7850187a5f75219f73332f74714c265a
/{{cookiecutter.project_module}}/src/{{cookiecutter.project_module}}/models/base.py
33ca3b28355d0cf5d0274a7cf67a9c9920c388ed
[]
no_license
VictorRancesCode/humanzilla-aiohttp
b90d57a5c6d4b73c6caa601de61fae57b9fe9a97
bcaccf98c82778939bcd2beb69e513b8fa5d9fac
refs/heads/master
2021-08-22T15:44:16.725512
2017-11-30T15:02:22
2017-11-30T15:02:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,123
py
from collections import MutableMapping from datetime import datetime from bson import ObjectId from bson.json_util import dumps class Model(MutableMapping): _collection = None def __init__(self, request, **data): super().__init__() self._data = data def __eq__(self, other): retu...
[ "mariocesar.c50@gmail.com" ]
mariocesar.c50@gmail.com
78f42ef59b6ca7452169f47218f86799c14638e2
3d705ec48c94373817e5f61d3f839988910431e3
/lib/platform/dataprocess/justtest.py
5626ebba44ecfc0665f94732ba1524fbdf9ff207
[]
no_license
namesuqi/zeus
937d3a6849523ae931162cd02c5a09b7e37ebdd8
3445b59b29854b70f25da2950016f135aa2a5204
refs/heads/master
2022-07-24T14:42:28.600288
2018-03-29T08:03:09
2018-03-29T08:03:09
127,256,973
0
0
null
2022-07-07T22:57:57
2018-03-29T07:53:16
Python
UTF-8
Python
false
false
54,599
py
import constvars import startodpsjob import comparefile print 'prepare jar to odps' # if not preparejar.gitpullcode(constvars.folderpath): # quit() # if not preparejar.mvnpackage(constvars.folderpath): # quit() # perparejar.uploadjartoodps(constvars.folderpath, constvars.commandpath) print 'perpare data uplo...
[ "suqi_name@163.com" ]
suqi_name@163.com
d5df555eb27b8b1d48e2f70cbf354eccb1a9636c
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_35/241.py
6dac5e52ff94261ba77ab23eac5cc5edad5c540e
[]
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
4,166
py
import sys,string BIG = 1000000 def mat_str(m): return string.join([string.join([str(x) for x in row], " ") for row in m], "\n") class Matrix: def __init__ (self, mat): self.mat = mat self.rows = len(mat) self.cols = len(mat[0]) def __call__ (self, i,...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
b0229e45e29b99874bd28884aec28d93484c0b5e
092d82f8a64f8e33a739ae023667253a75bfb9ae
/jury/tests.py
7c0f4440467870c383c987af33904c549b9c7fb7
[ "MIT" ]
permissive
COdingaorg/The_Jury
8c103eec028891b1ee98ede786fb54638bd16ba6
a4432269a023edf49a010644ca4f06324a934d7f
refs/heads/main
2023-06-18T10:43:14.888503
2021-07-20T16:05:59
2021-07-20T16:05:59
386,658,998
0
0
null
null
null
null
UTF-8
Python
false
false
3,981
py
from django.db.models.query_utils import refs_expression from django.test import TestCase from .models import User, UserProfile, UserProject # Create your tests here. class TestUser(TestCase): ''' test case to test user methods, create user, delete user, Get user ''' def setUp(self): self.new_user = User...
[ "calemasanga@gmail.com" ]
calemasanga@gmail.com
5c57726f5b343dbda7432bd02bcb0b2eae3ce7a7
93dd86c8d0eceaee8276a5cafe8c0bfee2a315d3
/python/paddle/fluid/dygraph/dygraph_to_static/loop_transformer.py
c66778992c25c68a5adf6a17ae0cd46b57b02fd6
[ "Apache-2.0" ]
permissive
hutuxian/Paddle
f8b7693bccc6d56887164c1de0b6f6e91cffaae8
a1b640bc66a5cc9583de503e7406aeba67565e8d
refs/heads/develop
2023-08-29T19:36:45.382455
2020-09-09T09:19:07
2020-09-09T09:19:07
164,977,763
8
27
Apache-2.0
2023-06-16T09:47:39
2019-01-10T02:50:31
Python
UTF-8
Python
false
false
23,857
py
# Copyright (c) 2020 PaddlePaddle 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 app...
[ "noreply@github.com" ]
hutuxian.noreply@github.com
bf164436734a3206f249e0454ec62d304c46df93
f048f66977ebcfd3973f5cb41911e5de8b1bf7f5
/pullenti/morph/MorphVoice.py
bd0adb93e8426114aefa7ad0f2c3ad28644530d2
[]
no_license
AAA1911/PullentiPython
e01223d2d8656a8fbcc0873446a12d7e5c913f4a
f25b228c8eef9b70acb1285f405c976542342319
refs/heads/master
2020-12-22T12:56:21.701229
2019-12-11T08:34:43
2019-12-11T08:34:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
687
py
# Copyright (c) 2013, Pullenti. All rights reserved. Non-Commercial Freeware. # This class is generated using the converter UniSharping (www.unisharping.ru) from Pullenti C#.NET project (www.pullenti.ru). # See www.pullenti.ru/downloadpage.aspx. from enum import IntEnum class MorphVoice(IntEnum): """ Зало...
[ "alex@alexkuk.ru" ]
alex@alexkuk.ru
1d92512c3aca63a02df495c1150caf383957e601
03e0fa66f7c54ca8573475fdf6c1b7723740bb8f
/spare/types/blockchain_format/foliage.py
8361a81447596eaaf5dc242f4bdfba9a8f956fa8
[ "Apache-2.0" ]
permissive
pypypy123/spare-blockchain
c96507c2c8dfa2caa352fc9c53b64df5fe85c006
3599b18e71ccefd9d3842c09216ae2dc7e01b47f
refs/heads/master
2023-06-05T12:59:01.571765
2021-06-20T18:13:02
2021-06-20T18:13:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,284
py
from dataclasses import dataclass from typing import List, Optional from blspy import G2Element from spare.types.blockchain_format.coin import Coin from spare.types.blockchain_format.pool_target import PoolTarget from spare.types.blockchain_format.sized_bytes import bytes32 from spare.util.ints import uint64 from spa...
[ "contacts@sparecoin.org" ]
contacts@sparecoin.org
09c5342056668ff5060d53a9ff3aa138f9713f06
154d4144532b2f0255468fcfb6ea8245e0177050
/my_python/playground_python/quicktry_python
ccd476d73e9dc1d963a7270e3a3eb8b9727fc3c5
[]
no_license
BeardNanuk/my_all7
6e83bda73c66c02aa66aaf49f1e9417bccb69bc5
6b0a72af5047ce4555dda4cd36f91f7b2b918199
refs/heads/master
2020-04-09T10:07:19.521173
2018-12-03T21:56:00
2018-12-03T21:56:00
160,258,952
1
0
null
null
null
null
UTF-8
Python
false
false
158
#!/usr/bin/env python # this is a quick test platform for python program import sys from glob :import glob print(sys.argv[0]) print(sys.argv[1]) glob.
[ "jiazehe@gmail.com" ]
jiazehe@gmail.com
556916344322db112a80f0ec3e0aa254d71728e0
6f866eb49d0b67f0bbbf35c34cebe2babe2f8719
/tests/app/forms/validation/test_email_validation.py
3b56f1884ef01f5dfe7b76e4db22a56d38b29b1f
[ "MIT", "LicenseRef-scancode-proprietary-license" ]
permissive
ONSdigital/eq-questionnaire-runner
681b0d081f9cff0ee4ae3017ecc61f7390d553bf
87e7364c4d54fee99e6a5e96649123f11c4b53f1
refs/heads/main
2023-09-01T21:59:56.733363
2023-08-31T15:07:55
2023-08-31T15:07:55
219,752,509
12
18
MIT
2023-09-14T11:37:31
2019-11-05T13:32:18
Python
UTF-8
Python
false
false
533
py
import pytest from wtforms.validators import StopValidation from app.forms import error_messages from app.forms.validators import EmailTLDCheck @pytest.mark.parametrize( "email", ( "a@a.a", "a@a.a9", "a@a.\x94", ), ) def test_tld_invalid_emails(email, mock_form, mock_field): v...
[ "noreply@github.com" ]
ONSdigital.noreply@github.com
d9667fad9cfe612cea5d5e04faf8cc165f51bdfe
b353166fb8d026bc43fc87333a298921c47d22f1
/src/data_process/abs_regression.py
e24f862af16d1f53a7570acb73fa530087028dec
[]
no_license
hyyc116/paper_diversity
26fbb51225e6a4b1775c0ec2d86d8f77e6f9329e
5ac0d7f781f0b046133714d54945baf7bcc3924a
refs/heads/master
2022-12-04T11:50:17.891309
2022-11-28T02:48:43
2022-11-28T02:48:43
123,283,257
0
0
null
null
null
null
UTF-8
Python
false
false
4,523
py
from pickle import FALSE import sys sys.path.append('src') from basic_config import * import pandas as pd from linearmodels import PanelOLS import itertools as it # 筛选数据 def regress_FE(N=10): data = pd.read_csv('data/ABS_ALLdata.csv') data10 = data[data['year']<=(2019-N)] control_variables = [ ...
[ "hyyc116@gmail.com" ]
hyyc116@gmail.com
7b2ad2c9e573bab0f2df9e4bc22a8601ec63a1de
6fdb4eaf5b0e6dbd7db4bf947547541e9aebf110
/api/tests/opentrons/drivers/heater_shaker/test_driver.py
a1fadc3444675c8d64e4b070e2e2e1be984d0c48
[ "LicenseRef-scancode-warranty-disclaimer", "Apache-2.0" ]
permissive
Opentrons/opentrons
874321e01149184960eeaeaa31b1d21719a1ceda
026b523c8c9e5d45910c490efb89194d72595be9
refs/heads/edge
2023-09-02T02:51:49.579906
2023-08-31T16:02:45
2023-08-31T16:02:45
38,644,841
326
174
Apache-2.0
2023-09-14T21:47:20
2015-07-06T20:41:01
Python
UTF-8
Python
false
false
5,961
py
import pytest from mock import AsyncMock from opentrons.drivers.asyncio.communication.serial_connection import ( AsyncResponseSerialConnection, ) from opentrons.drivers.heater_shaker import driver from opentrons.drivers.command_builder import CommandBuilder from opentrons.drivers.types import Temperature, RPM, Heat...
[ "noreply@github.com" ]
Opentrons.noreply@github.com
c786521ac6a1423e64bae88a8370bc8e48c7ab46
6d271e7b6ccb67aa57561b2e7a1e5d80f8e3d3c3
/multiProcess/Share_memory.py
1c9405b2d30e2d05c241696a7488329ce21effa1
[]
no_license
Cprocc/Python-Study
e24ac04c51888b4db86b19cf219c92588fe3e775
816f086a3b88fcfd78b7e3bb3ecc50510e5d4f3d
refs/heads/master
2021-03-22T04:23:23.532800
2019-05-20T06:44:15
2019-05-20T06:44:15
98,431,709
0
0
null
null
null
null
UTF-8
Python
false
false
548
py
import multiprocessing as mp import time def job(v, num, l): l.acquire() # 锁住 for _ in range(5): time.sleep(0.1) v.value += num # 获取共享内存 print(v.value) l.release() # 释放 def multicore(): l = mp.Lock() # 定义一个进程锁 v = mp.Value('i', 0) # 定义共享内存 p1 = mp.Process(target=job, a...
[ "755516806@qq.com" ]
755516806@qq.com
62961fa14394240481223177767796a457391e3e
2d5fe7db09fc0f713b7752dcdc5afeaef37f69f1
/build/turtlebot_interactions/turtlebot_rviz_launchers/catkin_generated/pkg.develspace.context.pc.py
1f49639cb6153679a9973588b34737286504b9da
[]
no_license
Nam-Nor/autonomous-service-bot
8603d28ddebd70291cf0bc224039a9db33171760
2d4674543618a25693620e41eb2a3a8a3bb2f39b
refs/heads/master
2022-04-16T04:09:51.795377
2020-04-16T20:56:53
2020-04-16T20:56:53
254,518,105
2
0
null
null
null
null
UTF-8
Python
false
false
389
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 = "turtlebot_rviz_launchers" PROJECT_SPA...
[ "you@example.com" ]
you@example.com
d32a568169b4a67a6d80e37bf87f5735755ee902
3c000380cbb7e8deb6abf9c6f3e29e8e89784830
/venv/Lib/site-packages/cobra/modelimpl/fv/rtfromepg.py
8c92b09ecf7d071169335f15466a4bd2797053d9
[]
no_license
bkhoward/aciDOM
91b0406f00da7aac413a81c8db2129b4bfc5497b
f2674456ecb19cf7299ef0c5a0887560b8b315d0
refs/heads/master
2023-03-27T23:37:02.836904
2021-03-26T22:07:54
2021-03-26T22:07:54
351,855,399
0
0
null
null
null
null
UTF-8
Python
false
false
5,246
py
# coding=UTF-8 # ********************************************************************** # Copyright (c) 2013-2020 Cisco Systems, Inc. All rights reserved # written by zen warriors, do not modify! # ********************************************************************** from cobra.mit.meta import ClassMeta from cobra.m...
[ "bkhoward@live.com" ]
bkhoward@live.com
86c6c5bc53b94bd75f181d100b1525e8c652270a
75233353546b9ee22d3f0f74178f7654d96a191d
/lab/lab11/tests/q3_1.py
a1c8caed442e2afe6fcb5e11ed67ca8b5fd030f1
[]
no_license
data-88e/econ-sp21
3991db3c3a8809e34e17514835c038950a24a4eb
e07b7f7e0bcfae965d836156851c46f28e54d794
refs/heads/main
2023-04-15T14:32:18.799150
2021-04-20T18:27:26
2021-04-20T18:27:26
331,111,734
0
5
null
null
null
null
UTF-8
Python
false
false
460
py
test = { 'name': 'q3_1', 'points': 1, 'suites': [ { 'cases': [ {'code': '>>> (q3_1_y == rebates.column("dcf")).all()\nTrue', 'hidden': False, 'locked': False}, {'code': '>>> 0 <= model_q3_1.params.taxreb <= 0.5\nTrue', 'hidden': False, 'locked': False}], ...
[ "cpyles@berkeley.edu" ]
cpyles@berkeley.edu
5160fb5ba2b102d325f84d0cafc35c539b882408
0d4539af73740811a3c29df042790ad0aab09aeb
/buildout/bin/buildout
1d621f4fcfc061dda5415b090ec641b5cbbf3e66
[]
no_license
bopopescu/tilecloud-chain-cache
e092c696b28c8419ef226404160fcf526ba63f74
20915b3ce7a55bec25505533ba10ed40da512fde
refs/heads/master
2022-11-29T11:11:16.681736
2014-03-15T12:58:21
2014-03-15T13:02:28
282,521,483
0
0
null
2020-07-25T20:40:15
2020-07-25T20:40:15
null
UTF-8
Python
false
false
519
#!/usr/bin/python -S import sys sys.path[0:0] = [ '/home/sbrunner/workspace/tilecloud-chain/buildout/parts/buildout', ] import os path = sys.path[0] if os.environ.get('PYTHONPATH'): path = os.pathsep.join([path, os.environ['PYTHONPATH']]) os.environ['BUILDOUT_ORIGINAL_PYTHONPATH'] = os.environ.get('PYTHO...
[ "stephane.brunner@camptocamp.com" ]
stephane.brunner@camptocamp.com
5a1bab2070b266a39e01ecb4ecd9b1b3fa10f749
8db454f43761408c1e400a95c3fcedc1b4dbb4e2
/api/migrations/20210531_01_uJdeR-hate-speech-round-6.py
975d2949384d4eea7bb98d21559c52cc7e52712e
[ "MIT" ]
permissive
vontell/dynabench
c76e332edc99e9b485268a929ea9a112e2d28c26
5d88346cbbfe5868395cb303eee591487cafbf0f
refs/heads/main
2023-09-03T19:31:10.605809
2021-09-24T17:44:11
2021-09-24T17:44:11
410,181,468
0
0
MIT
2021-09-25T05:08:18
2021-09-25T05:08:18
null
UTF-8
Python
false
false
1,834
py
# Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. """ Add hate speech round 6. """ import secrets from yoyo import step secret = secrets.token_hex() __depends__ = {"20210526_01_1ApkT-larger...
[ "douwe.kiela@cl.cam.ac.uk" ]
douwe.kiela@cl.cam.ac.uk
707718ec1729bb5159029d11c2bd653b5428e5fd
00829e1ff78f73dab073a201d68139960c1d1922
/tools/toolset/tool/rigging/his/2/beam/core/builder.py
0fb24ee4deecc7dcb60f5b0340c3b2971bbd0d6a
[]
no_license
liangyongg/Beam_Tools
a021ceb4187107508536c46726da5b9629ffd1cf
21b5d06e660f058434e589ae4f672f96296b7540
refs/heads/master
2018-11-04T04:43:02.523654
2018-08-26T12:33:09
2018-08-26T12:33:09
115,005,481
0
0
null
null
null
null
UTF-8
Python
false
false
263
py
class Builder(object): def __init__(self, debugMode=False): super(Builder, self).__init__() self._buildElements = [] def build (self, kSceneItem): print kSceneItem.getName() def deleteBuildElements(self): return None
[ "hhhh" ]
hhhh
2bbf799ecb972e4e96b6d49a71c5341a67135ed2
80f53e7ea872dc18e45bd810ebb2073dac773f71
/show.py
1dfc696f2db6f0665c8a44318ee4273e719ae7ab
[]
no_license
dengjinyi4/Test_Plantfrom
30ca560b157b6f7026e6f05bc3ace10c63894d11
eb49d08ceb5cba44ce48178ed79c2e79a596de69
refs/heads/master
2021-06-13T07:34:55.840837
2021-03-09T06:41:54
2021-03-09T06:41:54
144,958,663
2
1
null
null
null
null
UTF-8
Python
false
false
44,420
py
#!/usr/bin/env python #encoding: utf-8 #version:2018/07/10,增加接口统计视图函数 import os,base64 from flask import jsonify,redirect,session from flask import Flask,request,render_template,flash from business_modle.report import hdtmonitor as m from business_modle.testtools import hdt_cssc as cssc from business_modle.report imp...
[ "13811501646@163.com" ]
13811501646@163.com
1944bc26c42f36608e718b7fd6607a54cfe6511b
5a199728d42ea0d46a4d1db7cfc840fe83be6608
/charts/cities/models.py
d5108cf1732ba06ccdec35364884ed009d30efa6
[]
no_license
Rutrle/django-tryouts
52a54adb822286f60aa936add9adff15e33ba97e
cff7f37f22b59fc01a0fd67ff987b4cfb6593967
refs/heads/master
2023-08-13T03:59:51.155777
2021-10-17T17:48:27
2021-10-17T17:48:27
404,121,740
0
0
null
null
null
null
UTF-8
Python
false
false
414
py
from django.db import models # Create your models here. class Country(models.Model): name = models.CharField(max_length=30) def __str__(self): return self.name class City(models.Model): name = models.CharField(max_length=30) country = models.ForeignKey(Country, on_delete=models.CASCADE) ...
[ "rutrle@seznam.cz" ]
rutrle@seznam.cz
6c3248b69b3515eee781faaa4fb2be5a430bd45e
692b907d07eee8ce3ee32a1fda74b6d92fd6c548
/tests/cli/v1_3_3/test_network_settings.py
c756df9da2e7f4e7cc6a696e080b38df6c041cb1
[ "MIT" ]
permissive
AltusConsulting/dnacentercli
04c9c7d00b25753a26c643994388dd4e23bf4c54
26ea46fdbd40fc30649ea1d8803158655aa545aa
refs/heads/master
2022-12-16T04:50:30.076420
2020-07-17T22:12:39
2020-07-17T22:12:39
212,206,213
0
0
MIT
2022-12-08T06:39:49
2019-10-01T21:50:42
Python
UTF-8
Python
false
false
14,623
py
# -*- coding: utf-8 -*- """DNACenterAPI Network Settings API fixtures and tests. Copyright (c) 2019 Cisco and/or its affiliates. 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 restrictio...
[ "jbogarin@altus.cr" ]
jbogarin@altus.cr
4c2e109f606af156138ce47d3924a341585a0951
f8baff291cdf02ea92141c7a7eb48b859776c224
/google/cloud/dialogflow_v2beta1/services/intents/client.py
280d157414a28ba8f9fbcce2fc267903a1c1b2a2
[ "Apache-2.0" ]
permissive
precs-jmcrs/python-dialogflow
1a6a12741cb14460f5ecfe1200b2b0a20064b5cb
bf68864ff14e1a1f3626cb27fbbabb96e618358f
refs/heads/main
2023-08-20T09:45:21.354126
2021-10-25T20:52:08
2021-10-25T20:52:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
49,668
py
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
[ "noreply@github.com" ]
precs-jmcrs.noreply@github.com
6376b3b5d3be1c363dce422aaf075029b30071b7
267cc92ac0f47196f844a069faa28a996e29ae5c
/accounts/forms.py
f237e91e17df957d45a029c58e9a5b855d01747e
[]
no_license
amrebrahem22/Modist
888700c18b2f04f2fcf7251341099c675e039918
b6030a70ec418bf048067db5a7908d0cdf32eaff
refs/heads/master
2022-12-09T20:59:05.099405
2020-01-24T23:48:48
2020-01-24T23:48:48
227,759,357
0
0
null
2022-12-08T03:29:35
2019-12-13T04:56:27
CSS
UTF-8
Python
false
false
3,292
py
from django import forms from django.contrib.auth.forms import ReadOnlyPasswordHashField from .models import User class RegisterForm(forms.ModelForm): firstname = forms.CharField(widget=forms.TextInput(attrs={ 'class': 'form-control' })) lastname = forms.CharField(widget=forms.TextInput(attrs={ ...
[ "amrebrahem226@gmail.com" ]
amrebrahem226@gmail.com
7aacd3e0fdb028502d9a2da963351b99757a257c
b0a1008bd20b8325328f62473acab216216fd72f
/static/playdrone/Reference_new/com.android.chrome-2125114/constraints8_0.py
62f167db887257c9c520b48cb437604568ca6d0b
[]
no_license
zhuowei/IntelliDroidUiEvaluationCode
14bffcbf707455a83bdcb7fc7e75f7dfcf461c11
eab8bed4490739e2f5b2633e2817b46500e6d201
refs/heads/master
2020-03-09T07:33:00.053786
2018-04-09T18:26:45
2018-04-09T18:26:45
128,666,963
0
0
null
null
null
null
UTF-8
Python
false
false
4,059
py
# Entrypoint: com.google.android.apps.chrome.firstrun.FirstRunActivity.onCreate(Landroid/os/Bundle;)V # Target: invokevirtual < Application, Landroid/app/Activity, startActivity(Landroid/content/Intent;)V >@120 IAAv10 = Int('IAAv10') # Pointer<805177838>.this$0.mPrefManager.getFirstRunFlowSignInComplete() IAAv0 = R...
[ "zhuoweizhang@yahoo.com" ]
zhuoweizhang@yahoo.com
6ce8b2c349e291c6f586d79886703b1825601f90
72efd5a843a959cc4fde768ec9ceb7f7f805b7e6
/libs/models/anchor_heads/generate_anchors.py
1d5a7c84f3f931e21769b650ef6bb396c24b22f7
[ "Apache-2.0" ]
permissive
avBuffer/RotationDetection
cc65869416cc6f12592f686b993a27c6eb024d14
2f28f75b5be0f4b870130323383ee4f58eeab872
refs/heads/main
2023-01-16T07:41:16.193661
2020-11-28T12:29:45
2020-11-28T12:29:45
317,402,607
1
0
Apache-2.0
2020-12-01T02:29:06
2020-12-01T02:29:05
null
UTF-8
Python
false
false
2,267
py
# -*- coding: utf-8 -*- from __future__ import division, print_function, absolute_import import tensorflow as tf import numpy as np from libs.models.anchor_heads import generate_h_anchors, generate_r_anchors class GenerateAnchors(object): def __init__(self, cfgs, mode): self.cfgs = cfgs self.mo...
[ "yangxue0827@126.com" ]
yangxue0827@126.com
8b7c8ebba5502f47c1338531425249b27498582e
9d194f2b263072ef7f31a0181cac5af4e584551d
/examples/runGui.py
fdb5046abf37cf01dda4c4f20381b4aa8210bff8
[ "MIT" ]
permissive
AlexDM0/NetworkSimulator
5fa5898900f2d5cefa1a821e126e0d91db62bed7
33dc8aaa1de56f2edea01dc701393afb49390e72
refs/heads/master
2023-07-07T00:42:03.866565
2020-09-04T10:18:38
2020-09-04T10:18:38
134,684,953
0
4
null
null
null
null
UTF-8
Python
false
false
1,659
py
# we need to import this in order to be able to import the simulator # it does not have to do anything other than be imported. from util import path from examples.originalExample.exampleCrownstones.SimulatorCrownstone import SimulatorCrownstone from examples.originalExample.exampleInteractionModules.TrainingAndTesting...
[ "alexdemulder@gmail.com" ]
alexdemulder@gmail.com
f6599cc518a609e91309d7877dab3ba3d5faf21c
14e84c2b9855a0c1ae904d7a0922ac8c684ddaac
/runtests.py
ba853a9df8b71e40e894e6c9a3c100bd10ac9915
[ "BSD-3-Clause" ]
permissive
pombredanne/django-app-template-1
948aa65e1d826dbe02839cdc0175c42c87953a7b
fa1d08142e372a01411e7cb9a656ad0bbec27f7d
refs/heads/master
2021-01-18T10:01:07.849557
2010-11-25T19:12:00
2010-11-25T19:12:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
459
py
#!/usr/bin/env python import os, sys os.environ['DJANGO_SETTINGS_MODULE'] = 'settings' parent = os.path.dirname(os.path.abspath(__file__)) sys.path.insert(0, parent) from django.test.simple import run_tests def runtests(*args): failures = run_tests( args or [ 'appname', 'appname...
[ "gregor@muellegger.de" ]
gregor@muellegger.de
be37823167ca58daaf74d61bdac0ef3cbf789320
b22588340d7925b614a735bbbde1b351ad657ffc
/athena/MuonSpectrometer/MuonDigitization/MM_Digitization/share/MicroMegas_Digitization_jobOptions.py
4ee311ee3a86a270acd2f1fb7d1a55ffbcfa6704
[]
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
1,845
py
include.block ("MM_Digitization/MicroMegas_Digitization_jobOptions.py") from AthenaCommon.AlgSequence import AlgSequence job = AlgSequence() from AthenaCommon import CfgGetter from Digitization.DigitizationFlags import jobproperties job += CfgGetter.getAlgorithm("MM_Digitizer/MM_Digitizer", tryDefaultConfigurable=Tr...
[ "rushioda@lxplus754.cern.ch" ]
rushioda@lxplus754.cern.ch
a305f495912f614e42750f6dfdd44c6557fcbdf3
21b07f788809bce4bc7d917b429018b53d71a5b1
/esp32/esp32-lonin32/mqtt_client.py
8e04b890a755a63b5862aaf4420e1d203d0716fe
[]
no_license
pascal1062/micropython
f4008b87b7addfb0908b90dac2f12f67b9feb411
1968240d15f4a046e5ba71308ab46a927457685f
refs/heads/main
2023-07-17T17:59:18.893905
2021-08-29T15:23:10
2021-08-29T15:23:10
401,066,763
0
0
null
null
null
null
UTF-8
Python
false
false
1,109
py
from ubinascii import hexlify from machine import unique_id from umqtt.simple import MQTTClient class UMQTTClient(): def __init__(self, server): self._id = hexlify(unique_id()) self._client = MQTTClient(self._id, server) self._connected = False def do_connect(self): try: ...
[ "noreply@github.com" ]
pascal1062.noreply@github.com
3debba2a4193fe87298cd2f7f412ef1ba4aacb90
e68ceeddb2568a603e68508e36918bfb8ecacd89
/CS3243/test.py
4cb747e4d973dc1706e49dc6be7a5626f8d56d4c
[]
no_license
fzdy1914/NUS-Py2-Workspace
168a967b9739b838f50602e5126b688e083c6dfd
c991f335e236a3e0281812cdd699aa4a3f02a714
refs/heads/master
2023-04-14T22:46:10.478964
2020-08-20T07:43:50
2020-08-20T07:43:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
622
py
import time from sudoku_A2_Final import Sudoku time_start = time.time() for i in range(1, 11): f = open('test' + str(i) + '.txt', 'r') puzzle = [[0 for i in range(9)] for j in range(9)] lines = f.readlines() i, j = 0, 0 for line in lines: for number in line: if '0' <= numbe...
[ "1229983126@qq.com" ]
1229983126@qq.com
5b146970a032588265f23b205bb2941978453bae
03c9cd5bd96874d6117fb17c37ac4d7450c15933
/project-demo/圆形框选人脸.py
1661f444ec941ef27dcbdac10de57f899eeb7e09
[]
no_license
atiger808/opencv-tutorial
603de35e97679d6beae104298ae355edfdd9036a
2ea9bb3818284fb75f85697e36fde37b6479d1c6
refs/heads/master
2020-05-29T23:16:30.462022
2019-11-05T10:08:20
2019-11-05T10:08:20
189,425,004
0
0
null
null
null
null
UTF-8
Python
false
false
1,007
py
# _*_ coding: utf-8 _*_ # @Time : 2019/9/27 12:46 # @Author : Ole211 # @Site : # @File : 圆形框选人脸.py # @Software : PyCharm import cv2 import numpy as np cap = cv2.VideoCapture(0) _, frame = cap.read() w, h = frame.shape[:2] bgimg = cv2.imread('d:\\img\\flog7.jpg') bgimg = cv2.resize(bgimg, (h, w)) w...
[ "atiger0614@163.com" ]
atiger0614@163.com
7d12d0757b47beb936935c9c609b9cacee987777
f445450ac693b466ca20b42f1ac82071d32dd991
/generated_tempdir_2019_09_15_163300/generated_part008033.py
9129f18b87ac34427ee4d52e6554a489a6b2779d
[]
no_license
Upabjojr/rubi_generated
76e43cbafe70b4e1516fb761cabd9e5257691374
cd35e9e51722b04fb159ada3d5811d62a423e429
refs/heads/master
2020-07-25T17:26:19.227918
2019-09-15T15:41:48
2019-09-15T15:41:48
208,357,412
4
1
null
null
null
null
UTF-8
Python
false
false
1,300
py
from sympy.abc import * from matchpy.matching.many_to_one import CommutativeMatcher from matchpy import * from matchpy.utils import VariableWithCount from collections import deque from multiset import Multiset from sympy.integrals.rubi.constraints import * from sympy.integrals.rubi.utility_function import * from sympy....
[ "franz.bonazzi@gmail.com" ]
franz.bonazzi@gmail.com
491c9549155c8294fa23d186601d8916f741bd43
4e044ab3073f5893f2eae33931ab5079b282817c
/00_Startcamp/02_Day/06_csv_write.py
5cc36c8fa8695ebd72e8a26293f9ea9d8923ffdb
[]
no_license
whiteblue0/Startcamp
e5e8c30476eda7a30c3daae4bdc018f223da74e8
7ddebe8be878a8550d99fcc572666b963dda583d
refs/heads/master
2023-01-27T18:36:28.013135
2020-09-12T06:21:12
2020-09-12T06:21:12
195,809,764
0
0
null
2023-01-07T11:25:23
2019-07-08T12:42:40
Jupyter Notebook
UTF-8
Python
false
false
275
py
#cdv파일 사용법 lunch = { '선산곱창':'054-123-4968', '땅땅치킨':'054-584-1738', '평양면옥':'054-986-8834' } #1. 방법1 with open('lunch.csv','w', encoding='utf-8') as f: for item in lunch.items(): f.write(f'{item[0]}, {item[1]}\n')
[ "21port@naver.com" ]
21port@naver.com
0ae183c55af77f97636c659fa68aca657a5188b1
b0653128bc312878778f1392fdda26eab454901f
/Challenges/chall_08.py
5c7c253ef9ef0d713776976e5ce4f7701d22878e
[ "MIT" ]
permissive
HKuz/PythonChallenge
aef9df8e02e9e2710a8d7c3f77dba5890d16e063
e9d72616aa389483cab710bca3bccf708c0f99e0
refs/heads/master
2021-01-21T15:44:54.367043
2018-12-04T23:44:30
2018-12-04T23:44:30
91,855,491
0
0
null
null
null
null
UTF-8
Python
false
false
1,535
py
#!/usr/local/bin/python3 # Python Challenge - 8 # http://www.pythonchallenge.com/pc/def/integrity.html # http://www.pythonchallenge.com/pc/return/good.html # Keywords: huge; file import bz2 def main(): ''' Hint: Where is the missing link? <area shape="poly" coords="179,284,214,311,255,320,281,226,319,224...
[ "heather.kusmierz@gmail.com" ]
heather.kusmierz@gmail.com
35f83691fa7778daa02fa3c123d78d68824bdb70
1901bdbaf57584e7c5ec21643db340f9d98d6807
/training/src/tests/tests/python/binary_dataloader_test.py
9638539074c041f8dea7a78175e9050bbeca2702
[ "MIT" ]
permissive
huawei-noah/bolt
2a4febe5f5cce64e3589c2782c489d59975eb6a3
cf4ca8f8646a8e30ddf91c29a18743d75ac1c172
refs/heads/master
2023-08-28T13:36:34.815244
2023-06-12T01:24:41
2023-06-12T01:24:41
225,365,905
889
168
MIT
2023-06-12T01:24:42
2019-12-02T12:06:12
C++
UTF-8
Python
false
false
2,504
py
# Copyright (C) 2022. Huawei Technologies Co., Ltd. All rights reserved. # # 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, ...
[ "jianfeifeng@outlook.com" ]
jianfeifeng@outlook.com
dda7a11d21c7c00f68d0f145315180e0c3e9e86c
8c22531e7222c5ee5bbbaf027bfd627697088f8a
/stompy/sensors/joints.py
bb307709e33034ad0d0eaa1c36a335219c9f922a
[]
no_license
afcarl/stompy
8a23739b3e5ae30014559c655e44a0c3631f4ab5
2b1d2c14ef474429ab0568c5795ea756322a7900
refs/heads/master
2020-03-16T23:25:55.634984
2017-11-05T20:03:08
2017-11-05T20:03:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
324
py
#!/usr/bin/env python from .. import callbacker global joints joints = None callbacks = callbacker.Callbacker() def update_joints(new_joints, timestamp): global joints if joints is None: joints = {} for name in new_joints: joints[name] = (new_joints[name], timestamp) callbacks(join...
[ "brettgraham@gmail.com" ]
brettgraham@gmail.com
f4e3b16b91418eacb18ba242879ff7d4ed498a06
60375d3b39858a15edc3e87e3f5dc3457878dcd0
/2.py
b4aa8bf0dffeacaa2fbf8f434139934306e88780
[]
no_license
towerjoo/python_challenge
57452e49620646da510451a7b26ab77eb1a98b93
ef240f4b717892574303725f2d21ea6a40afeb87
refs/heads/master
2016-09-05T13:49:43.443436
2012-07-16T10:22:49
2012-07-16T10:22:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
99,292
py
#coding=utf-8 ####################################################### # Source file is to solve the python challenge # Author: Tower Joo<zhutao.iscas@gmail.com> # No.: 2 # Link: http://www.pythonchallenge.com/pc/def/ocr.html # Date: 2012-07-10 11:08 ####################################################### src = """%%$...
[ "zhutao.iscas@gmail.com" ]
zhutao.iscas@gmail.com
7b0be738029a5520436b97b09b41c74423c9041c
6e5770df2488ac0e793849be4e0afb942d44d93c
/test_punmaker.py
318bfb35631e48b38f20a7bddd536109c20aa03e
[]
no_license
yoachim/pypun
36e06e03e2d2dd6c2f321e45817cedfb44a002ba
c2bcbb84770c769c663f2a46beda2594fa686a8d
refs/heads/master
2021-01-20T05:40:43.315026
2017-11-25T19:41:07
2017-11-25T19:41:07
101,462,608
0
0
null
null
null
null
UTF-8
Python
false
false
461
py
from punmaker import clean_string, punmaker # Should make this a true test class, whatever. # Some phrases to try and mash start_phrases = ['heavy petting', 'Petting Zoo', 'zoo party', 'daisy chain', 'chain link', 'ack ack' 'blah blah', 'petting park', 'taco time', 'time_cop', 'golden girls', 'girls...
[ "yoachim@uw.edu" ]
yoachim@uw.edu
981b88c2ea1687286851055bc2340af6a32b3f59
399e2406ca41ab6b8105717c8f5ff1dfbace8784
/runner.py
b52ca34265fb02f42ecfd8a450112fd65eb85474
[]
no_license
babiswas/python2020
57e40f486a6d876b6951fd3af434826b41da0271
30f89897d20910902353e60735ff94c3dda711a5
refs/heads/master
2021-03-13T18:26:57.306061
2020-03-11T23:30:19
2020-03-11T23:30:19
246,699,846
0
0
null
null
null
null
UTF-8
Python
false
false
141
py
import glob import os python_files=glob.glob('*.py') for file in python_files: os.system('python'+' '+file)
[ "noreply@github.com" ]
babiswas.noreply@github.com
be69bceda5ef4063c9fe7fd74225d40dadf16764
30ddb93930d815f84bb1deda33a30edcfdbcaf22
/apps/reviews/migrations/0004_auto_20171217_1741.py
803d2b67b5a382faeb3b81bf43d65f2c9a637d01
[]
no_license
JonathanMEnriquez/book_reviews
df799bee8dcb75b39a8bcf6157e08981a1d4a9c9
3d93a8959b03f7bc69fd5dfabb1e1d3b62246151
refs/heads/master
2021-09-02T03:16:09.421403
2017-12-29T22:08:33
2017-12-29T22:08:33
115,757,355
0
0
null
null
null
null
UTF-8
Python
false
false
563
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.7 on 2017-12-17 17:41 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('reviews', '0003_auto_20171217_0235'), ] operations...
[ "user@users-MacBook-Pro.local" ]
user@users-MacBook-Pro.local
83cb35076eb108f05545ae0ef9184419476ff405
278d7f4467a112416d1adfbcd3218033ff0fd9b3
/configs/pisa/pisa_mask_rcnn_x101_32x4d_fpn_1x_coco.py
f29e2f0887896a64369284df68c281089c8db4a5
[]
no_license
Young-1217/detection
e3d67938b454e955b5b7a82d5ae222e62f9545fb
6760288dac92e00ddc3e813ed0e1363c1fa1ce2d
refs/heads/main
2023-06-01T21:41:37.998947
2021-06-21T10:03:01
2021-06-21T10:03:01
371,868,683
0
0
null
null
null
null
UTF-8
Python
false
false
1,027
py
_base_ = '../mask_rcnn/mask_rcnn_x101_32x4d_fpn_1x_coco.py' model = dict( roi_head=dict( type='PISARoIHead', bbox_head=dict( loss_bbox=dict(type='SmoothL1Loss', beta=1.0, loss_weight=1.0))), train_cfg=dict( rpn_proposal=dict( nms_across_levels=False, ...
[ "noreply@github.com" ]
Young-1217.noreply@github.com
b4dfd0a59754c7458cd83216885f9a9a70269f99
4b4828d3c98d76d7bf38f90a015945acc408ddc5
/PythonAI/Source/W1D4/src/EX_REQ/ex01_login.py
92beb093bc3df3e2dcf54f4fbb202b6163615c1c
[]
no_license
Huh-jae-won/Study
cb5d32728e8dcded492e7edb054b500c91ec607c
e4dbc3fef69bb273b62b866fb5ef2a7250222f10
refs/heads/main
2023-06-20T13:06:26.691899
2021-07-11T07:43:41
2021-07-11T07:43:41
362,759,927
0
0
null
null
null
null
UTF-8
Python
false
false
1,062
py
# 모듈 로딩 ------------------------------------------- import requests from bs4 import BeautifulSoup # 데이터 변수 선언 ------------------------------------------ USER = "아이디입력" PASS = "비밀번호입력" login_info = { "m_id": USER, "m_passwd": PASS } url_login = "https://www.hanbit.co.kr/member/login_proc.php" url_mypage = "http://www....
[ "dfr9034@naver.com" ]
dfr9034@naver.com
d894cd41e4d25f5bdf60f9f567fded009c8342e5
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02712/s674997354.py
c5f06cb712b06f262394b87f4b5f0add5768a80a
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
104
py
N = int(input()) sum=0 for i in range(1,N+1): if (i%3!=0)&(i%5!=0): sum = sum + i print(sum)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
d8fcb9546145dd90839d99f85533944dc1f74ff4
e41651d8f9b5d260b800136672c70cb85c3b80ff
/Notification_System/temboo/Library/Zendesk/Users/SearchUsers.py
43a9c53d9d3cfbe3f3ea3899620da5e5cdededee
[]
no_license
shriswissfed/GPS-tracking-system
43e667fe3d00aa8e65e86d50a4f776fcb06e8c5c
1c5e90a483386bd2e5c5f48f7c5b306cd5f17965
refs/heads/master
2020-05-23T03:06:46.484473
2018-10-03T08:50:00
2018-10-03T08:50:00
55,578,217
1
0
null
null
null
null
UTF-8
Python
false
false
4,771
py
# -*- coding: utf-8 -*- ############################################################################### # # SearchUsers # Returns a list of users who match the search parameters. # # Python versions 2.6, 2.7, 3.x # # Copyright 2014, Temboo Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you ...
[ "shriswissfed@gmail.com" ]
shriswissfed@gmail.com
488eb43951860cc931601ef782c3118f64093b14
8410bb5a2e8849bb3a554b95ddc713d88f3440c4
/aws-dev/awsdev9/venv/Scripts/rst2pseudoxml.py
3f7a422c45f2df3faba83de3bcc30c7e421f1af5
[ "MIT" ]
permissive
PacktPublishing/-AWS-Certified-Developer---Associate-Certification
ae99b6c1efb30e8fab5b76e3d8c821823a4cd852
b9838b4e038b42ad1813a296379cbbc40cab6286
refs/heads/master
2022-11-03T04:37:49.014335
2022-10-31T05:42:19
2022-10-31T05:42:19
219,964,717
13
11
MIT
2021-06-02T00:57:45
2019-11-06T09:54:09
Python
UTF-8
Python
false
false
644
py
#!E:\Dropbox\projects\aws-dev\awsdev9\venv\Scripts\python.exe # $Id: rst2pseudoxml.py 4564 2006-05-21 20:44:42Z wiemann $ # Author: David Goodger <goodger@python.org> # Copyright: This module has been placed in the public domain. """ A minimal front end to the Docutils Publisher, producing pseudo-XML. """ try: i...
[ "sonalis@packtpub.com" ]
sonalis@packtpub.com
7f83a19763b9b308f044f11fe28c4065ba9b3d42
b589f3997e790c3760ab6ddce1dd1b7813cfab3a
/707.py
e83cb26e84f803ed0f8cc1a1998f927ee395426a
[]
no_license
higsyuhing/leetcode_easy
56ceb2aab31f7c11671d311552aaf633aadd14a8
48d516fdbb086d697e2593a9ce1dbe6f40c3c701
refs/heads/master
2022-12-04T00:49:33.894066
2022-11-15T20:44:36
2022-11-15T20:44:36
135,224,120
0
0
null
null
null
null
UTF-8
Python
false
false
3,289
py
class Node(object): def __init__(self, x): self.val = x self.next = None pass pass class MyLinkedList(object): def __init__(self): """ Initialize your data structure here. """ self.head = None pass def get(self, index): """ ...
[ "noreply@github.com" ]
higsyuhing.noreply@github.com
9b8f486b71f0a3e62c5b43e326135ca84bf389b5
def8ec68c559b7d3c9ebac03bc6503eb701813cd
/searchers/random.py
35d5d39fa344df470525d188e229f0d456f4ad18
[ "MIT" ]
permissive
kaggledevs/negrinho2019towards
70448181b8611528c02ba801cbc340778edf9533
9c917aff27411742b60ee8b640cec4e82c50fecd
refs/heads/master
2020-09-02T12:22:05.484201
2019-10-27T22:39:35
2019-10-27T22:39:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
635
py
from searchers.common import random_specify, Searcher class RandomSearcher(Searcher): def __init__(self, search_space_fn): Searcher.__init__(self, search_space_fn) def sample(self): inputs, outputs = self.search_space_fn() while True: try: vs = random_spec...
[ "negrinho@cs.cmu.edu" ]
negrinho@cs.cmu.edu
c87cd7114230785db4f621b7b3395b913d381764
43eb4d80e2598e9d3bb9b2cb3eaf580a2834e519
/ct_tools/django_utils/utils/excel_tools/loader.py
d94c5f51acfbd17f499968922ee76a8c4cb585c2
[]
no_license
Vvegetables/ct_tools
bd704d244da081b21e6ac79d34e6c4671b941b7d
c3369e98e44720d141dd06d0aec6bab91533382e
refs/heads/master
2022-05-03T08:29:52.004884
2022-04-01T10:12:17
2022-04-01T10:12:17
176,224,849
1
0
null
null
null
null
UTF-8
Python
false
false
873
py
from openpyxl.reader.excel import load_workbook def excel_loader(path: str, has_title: bool=False, sheet_name=None): """excel读取器,根据path将excel读入,has_title判断第一行是否为标题,返回数组信息和标题信息。 """ wb = load_workbook(path) if sheet_name is None: sheet = wb.active else: sheet = wb[sheet_name] ...
[ "625736074@qq.com" ]
625736074@qq.com
b774664fe86cc877c6b8f6384173d11970a7c008
1afa1b1929d1cd463cd9970174dd58ce2ca6eb1e
/configs/pspnet/pspnet_r18-d8_512x512_80k_loveda.py
05c76594bdcd90defd8a250c3c2ac3a95022a65e
[ "Apache-2.0" ]
permissive
CAU-HE/CMCDNet
2328594bf4b883384c691099c72e119b65909121
31e660f81f3b625916a4c4d60cd606dcc8717f81
refs/heads/main
2023-08-08T17:21:57.199728
2023-07-28T07:34:40
2023-07-28T07:34:40
589,927,845
12
1
null
null
null
null
UTF-8
Python
false
false
338
py
_base_ = './pspnet_r50-d8_512x512_80k_loveda.py' model = dict( backbone=dict( depth=18, init_cfg=dict( type='Pretrained', checkpoint='open-mmlab://resnet18_v1c')), decode_head=dict( in_channels=512, channels=128, ), auxiliary_head=dict(in_channels=25...
[ "flyhxn@qq.com" ]
flyhxn@qq.com
14ef0375d0c7a493718e3490e64ea33ef91744d3
63b7671b5296b97aa5271d076540e0d81b85d599
/strongr/schedulerdomain/command/runenqueuedjobs.py
e2309e592f244c5054c39132b6d4895834d6b168
[ "Apache-2.0" ]
permissive
bigr-erasmusmc/StrongR
bd30d7f41c1fef87bd241c0c4ea059f88c5c426e
48573e170771a251f629f2d13dba7173f010a38c
refs/heads/master
2021-10-10T10:17:15.344510
2018-11-20T10:21:50
2018-11-20T10:21:50
112,336,650
0
0
null
null
null
null
UTF-8
Python
false
false
32
py
class RunEnqueuedJobs: pass
[ "thomas@tphil.nl" ]
thomas@tphil.nl
475ce241a199d6438e75031862cc3d3903e2e164
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2935/60714/255116.py
992c7f24fe54420e6a85fd83dc507f6e9bf297bf
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
298
py
temp = input() ans = 0 for i in range(0, len(temp)): if temp[i] is 'Q': foundA = 0 for j in range(i + 1, len(temp)): if temp[j] is 'Q' and foundA is not 0: ans += foundA if temp[j] is 'A': foundA += 1 print(ans, end="")
[ "1069583789@qq.com" ]
1069583789@qq.com
f6f9978b9534b5a15bc3225dcc670f27b6564eb9
ff738b3ec7e5c8c414f6d3c7d74310d8fab69368
/Top Interview Questions/17. Letter Combinations of a Phone Number/solution.py
fdddde290964dca809dfceb201c9a29e437b3396
[]
no_license
jw3329/leetcode-problem-solving
a0684ef13bd60e81bd54b91e1b54827aaac9bf16
0cc7ad64891a23e348c8214f806a2820ac8c9e0a
refs/heads/main
2023-08-17T20:36:51.624415
2023-08-17T07:09:56
2023-08-17T07:09:56
170,944,191
0
1
null
null
null
null
UTF-8
Python
false
false
653
py
class Solution: def __init__(self): self.num_dict = { '2':'abc', '3':'def', '4':'ghi', '5':'jkl', '6':'mno', '7':'pqrs', '8':'tuv', '9':'wxyz' } def letterCombinations(self, digits: str) -> ...
[ "junwon3329@gmail.com" ]
junwon3329@gmail.com
91dd4a5a38e8052fc1efd7a6a8b74628c4acae7b
08a5dbfcd34ba83f6850f0dff320acd1a9428f3d
/Ui_View/Edit_file_ui.py
3539c242484e35e9f895946a284166630e21e8e4
[]
no_license
dongxuehu123/evlal_win
6e718968868eec4efa12174a0dee0baee0dda4ba
0e7f9534ae8e4978f2b40af93c3cbe4af30e0881
refs/heads/master
2020-08-05T11:17:49.900844
2019-10-03T02:38:10
2019-10-03T02:38:10
212,479,416
0
0
null
2019-10-03T02:02:54
2019-10-03T02:02:53
null
UTF-8
Python
false
false
6,659
py
#!/usr/local/bin/python #-*- coding: UTF-8 -*- #文件编辑 from PyQt4 import uic from PyQt4 import QtCore, QtGui ,QtNetwork from PyQt4.QtCore import pyqtSlot from PyQt4.QtCore import * from ctypes import * from PyQt4.QtGui import * import socket socket.setdefaulttimeout(10) import sys reload(sys) sys.setdefaultencoding("ut...
[ "29295842@qq.com" ]
29295842@qq.com
6bbef9b2ed351e892963d005c9d19bb5a7d61653
01ed217a3c3c028e6cf4e3675cb86f4eef992e13
/DQM/L1TMonitor/python/L1TdeGEMTPG_cfi.py
78a0f0babae1f6f014669e2b5bd3c9674a0d028a
[ "Apache-2.0" ]
permissive
dtp2-tpg-am/cmssw
ae318d154779c311e2e93cdffe0c7bc24d6d2593
7a32f48e079f78b501deee6cc9d19caba269e7fb
refs/heads/AM_12_0_2_dev
2022-11-04T12:05:05.822865
2021-10-28T07:25:28
2021-10-28T07:25:28
185,209,257
2
1
Apache-2.0
2022-04-26T07:18:06
2019-05-06T14:07:10
C++
UTF-8
Python
false
false
772
py
import FWCore.ParameterSet.Config as cms l1tdeGEMTPGCommon = cms.PSet( monitorDir = cms.string("L1TEMU/L1TdeGEMTPG"), verbose = cms.bool(False), ## when multiple chambers are enabled, order them by station number! chambers = cms.vstring("GE11"), dataEmul = cms.vstring("data","emul"), clusterVar...
[ "sven.dildick@cern.ch" ]
sven.dildick@cern.ch
62a07b47e56439eb2f42e2669669650fb27dcdb5
1a220abd21c56728aa3368534506bfc9ced8ad46
/3.beakjoon/jungle/practice/dp/12026_BOG거리_dp.py
fd0a5da66ddcff19893771f7960eb60ad89a3350
[]
no_license
JeonJe/Algorithm
0ff0cbf47900e7877be077e1ffeee0c1cd50639a
6f8da6dbeef350f71b7c297502a37f87eb7d0823
refs/heads/main
2023-08-23T11:08:17.781953
2023-08-23T08:31:41
2023-08-23T08:31:41
197,085,186
0
0
null
2023-02-21T03:26:41
2019-07-15T23:22:55
Python
UTF-8
Python
false
false
442
py
import sys n = int(input()) street = list(input()) dp = [sys.maxsize] * (n+1) dp[0] = 0 #B는 J로부터와야하고, O는 B로부터와야하고, J는 O로부터 와야한다. dict = { "B" : "J", "O" : "B", "J" : "O" } for i in range(len(street)): prev = dict[street[i]] for j in range(i): if street[j] == prev: dp[i] = min(...
[ "whssodi@gmail.com" ]
whssodi@gmail.com
f1ffb0d8dec79a88247f954728308d6961430867
b8fb00ee277478c368f5b7512bfd265f3ecea356
/python/testing_database/venv/Scripts/pip-script.py
13bf55406d9460a28fd63b4ed11d3db9b0f5407e
[]
no_license
DharmilShahJBSPL/DharmilShah
574477c38a8b76616618130f3b0679a23a9c1af8
0d197189c8dcf794d38145e8f1edba6766b02df9
refs/heads/master
2021-07-07T11:47:03.770219
2019-01-19T13:13:38
2019-01-19T13:13:38
152,415,037
0
1
null
2020-07-20T10:44:20
2018-10-10T11:48:36
Python
UTF-8
Python
false
false
412
py
#!E:\dharmil\python_task\testing_database\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==10.0.1','console_scripts','pip' __requires__ = 'pip==10.0.1' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[...
[ "dharmil@jbspl.com" ]
dharmil@jbspl.com
6f1d4cfe8e1134b02c37042fbce1ff40066bc5b1
8d23f941ade6e18df9094760c4e3ad5676e96fef
/advanced/15数据分析/matplotlib/01matplotlib.py
6c5700be51deb1d7732a540c0e21461c744b1d73
[]
no_license
asdwsxzc123/python
95c7b6ed39d47a48e5a2630a3f221c20a8347764
b2422a7c6b62d4bfa9d1488a6dff322a57ba4c48
refs/heads/master
2020-04-03T14:34:06.299282
2019-02-05T13:14:16
2019-02-05T13:14:16
155,326,540
0
0
null
null
null
null
UTF-8
Python
false
false
1,157
py
from matplotlib import pyplot as plt # 设置图片大小 fig = plt.figure(figsize=(29,8),dpi=80) x = range(2,26,2) y = [15,13,14.5,17,20,25,26,24,22,18,15] # 绘图 plt.plot(x,y) # x周坐标 _xtick_labels = [i/2 for i in range(4,49)] plt.xticks(range(25,50)) plt.yticks(range(min(y), max(y) + 1)) # 保存图片 plt.savefig('./sig_size.png') plt.s...
[ "sbfgeyygy@126.com" ]
sbfgeyygy@126.com