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
4132659e97abc6327ba1dae5235b903a1f48aaa2
077a17b286bdd6c427c325f196eb6e16b30c257e
/01_BofFunc-unit-tests/07_64/verified-exploit-BofFuncWInfoleak.py
b5480c211a0b68c187c85dfbfa1f1a6bb1474724
[]
no_license
KurSh/remenissions_test
626daf6e923459b44b82521aa4cb944aad0dbced
9dec8085b62a446f7562adfeccf70f8bfcdbb738
refs/heads/master
2023-07-08T20:25:04.823318
2020-10-05T06:45:16
2020-10-05T06:45:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,427
py
# +------------------------------------------------+ # | Atack: Bof Win Function Infoleak | # +------------------------------------------------+ # # For more info checkout: https://github.com/guyinatuxedo/nightmare/tree/master/modules/05-bof_callfunction # +-----------------------------------------------...
[ "ryancmeinke@gmail.com" ]
ryancmeinke@gmail.com
da485f831b8e839ad9bb836105da4c8554e82c65
95381cb09397b09686739ddb8f7d7804662927e1
/api/api/vectorize.py
52b34d1a7bfe27bc091195083226056f2e0cc214
[]
no_license
kosyachniy/tg
cf7588d1f2ab1041905303fcf6eca269de7b4944
20a0da4c1f568ed2fea4b1f2bfdf567f3e2ae5e3
refs/heads/master
2022-12-10T04:40:47.194246
2020-05-30T10:26:31
2020-05-30T10:26:31
157,771,753
0
0
null
2022-12-08T04:51:48
2018-11-15T20:57:41
Jupyter Notebook
UTF-8
Python
false
false
5,184
py
import os import sys import csv import json import random import re # from pymystem3 import Mystem from pymorphy2 import MorphAnalyzer import nltk from mongodb import db CUT_FREQUENCY = True CUT_POS = True CUT_STOP_WORDS = True SPLITTING = False MIN_SIZE = 2 # 50 MAX_SIZE = 300 ALLOWED_POS = ('noun', 'adjf', 'adjs'...
[ "polozhev@mail.ru" ]
polozhev@mail.ru
de662a806fdcda2fe112363cb0ace74d8b1c0d34
f4b60f5e49baf60976987946c20a8ebca4880602
/lib/python2.7/site-packages/acimodel-1.3_2j-py2.7.egg/cobra/modelimpl/eqptcapacity/prefixentries5min.py
1c0393032b4bbe30817bb0e8acf42530b32d00c2
[]
no_license
cqbomb/qytang_aci
12e508d54d9f774b537c33563762e694783d6ba8
a7fab9d6cda7fadcc995672e55c0ef7e7187696e
refs/heads/master
2022-12-21T13:30:05.240231
2018-12-04T01:46:53
2018-12-04T01:46:53
159,911,666
0
0
null
2022-12-07T23:53:02
2018-12-01T05:17:50
Python
UTF-8
Python
false
false
26,797
py
# coding=UTF-8 # ********************************************************************** # Copyright (c) 2013-2016 Cisco Systems, Inc. All rights reserved # written by zen warriors, do not modify! # ********************************************************************** from cobra.mit.meta import ClassMeta from cobra.m...
[ "collinsctk@qytang.com" ]
collinsctk@qytang.com
4a63ba3184ef4fc420f478318d1e2aedad79b6de
4b4df51041551c9a855468ddf1d5004a988f59a2
/leetcode_python/String/decoded-string-at-index.py
fd687310e2ae0ad6e19ee3bf258b50c7a7afc898
[]
no_license
yennanliu/CS_basics
99b7ad3ef6817f04881d6a1993ec634f81525596
035ef08434fa1ca781a6fb2f9eed3538b7d20c02
refs/heads/master
2023-09-03T13:42:26.611712
2023-09-03T12:46:08
2023-09-03T12:46:08
66,194,791
64
40
null
2022-08-20T09:44:48
2016-08-21T11:11:35
Python
UTF-8
Python
false
false
1,163
py
# V0 # V1 # https://blog.csdn.net/fuxuemingzhu/article/details/81977433 # https://blog.csdn.net/qq_26440803/article/details/84261151 class Solution(object): def decodeAtIndex(self, S, K): """ :type S: str :type K: int :rtype: str """ size = 0 for c in S: ...
[ "f339339@gmail.com" ]
f339339@gmail.com
e9c59683cd9504742bb9b8ec9374f8618c3bc8c0
b84504601d4fc44020f243ad3c2bdb702e721306
/huaweicloud-sdk-dds/huaweicloudsdkdds/v3/model/set_backup_policy_request.py
b74fa74b69f0f7ddd065c3ba170fcac533abbca6
[ "Apache-2.0" ]
permissive
yancheng9/huaweicloud-sdk-python-v3
ec716568ed1dec9fa5b117316e663b4a05c59d4b
c2d5738c76a6ac9cab4bd3f8812993743ef68871
refs/heads/master
2022-12-14T11:05:20.886094
2020-09-19T09:49:31
2020-09-19T09:49:31
296,835,121
0
1
null
null
null
null
UTF-8
Python
false
false
3,410
py
# coding: utf-8 import pprint import re import six class SetBackupPolicyRequest: """ 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 v...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
3c394ad2cc3c0b442df941f197df6c3b23aa7bbd
d41d18d3ea6edd2ec478b500386375a8693f1392
/plotly/validators/histogram/stream/_maxpoints.py
e93f2257e76ae5862884a85dc98d99ec51261c1d
[ "MIT" ]
permissive
miladrux/plotly.py
38921dd6618650d03be9891d6078e771ffccc99a
dbb79e43e2cc6c5762251537d24bad1dab930fff
refs/heads/master
2020-03-27T01:46:57.497871
2018-08-20T22:37:38
2018-08-20T22:37:38
145,742,203
1
0
MIT
2018-08-22T17:37:07
2018-08-22T17:37:07
null
UTF-8
Python
false
false
492
py
import _plotly_utils.basevalidators class MaxpointsValidator(_plotly_utils.basevalidators.NumberValidator): def __init__( self, plotly_name='maxpoints', parent_name='histogram.stream', **kwargs ): super(MaxpointsValidator, self).__init__( plotly_name=plotly...
[ "adam.kulidjian@gmail.com" ]
adam.kulidjian@gmail.com
a805f904c87af713cee4b996377c38102dfd2d2a
51e75ad802507c4f15b85a3156b4eb6dcdcab811
/dashapp/api/run_tests.py
a4ea56d628703e0e8af2dd6750db16663fc91c8a
[]
no_license
FriendlyUser/finance-dashboard
548dcfca6a5fe1ee06307f0b44474e2807afe238
51fd6bef75f40e519476b8175e5b4fef2b5022bf
refs/heads/master
2020-07-22T12:43:05.821823
2019-11-14T03:01:30
2019-11-14T03:01:30
207,206,169
1
0
null
null
null
null
UTF-8
Python
false
false
695
py
# from cloud_apis import * # Selenium scrapping tests from .sel.tests.rbc_mf_test import * from .sel.tests.td_mf_test import * from .sel.tests.test_gcs_scrap import * from .sel.banks.util.get_env import get_env # Yahoo Tests from .yahoo.tests.yahoo_test import * # Stats tests # from .stats.tests.statscan_test import *...
[ "davidli012345@gmail.com" ]
davidli012345@gmail.com
377f771f712655524bf1a83473e2c6c5f4b436eb
50948d4cb10dcb1cc9bc0355918478fb2841322a
/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2018_09_01/models/quarantine_policy.py
c4ccf93a7e6bfdd2a9cde7485ae0139d1ebae336
[ "MIT" ]
permissive
xiafu-msft/azure-sdk-for-python
de9cd680b39962702b629a8e94726bb4ab261594
4d9560cfd519ee60667f3cc2f5295a58c18625db
refs/heads/master
2023-08-12T20:36:24.284497
2019-05-22T00:55:16
2019-05-22T00:55:16
187,986,993
1
0
MIT
2020-10-02T01:17:02
2019-05-22T07:33:46
Python
UTF-8
Python
false
false
1,081
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
8c637d4d34f36be5bea3bf899afd565dc70aa292
5a29fbaa46a71eff0ac677b42e393b449e313085
/01_SamplesFromPyalgotrade/07_ErnieChan/ErnieChan.py
d240d31372225b5b2bc5dbec9945d7e49a7defce
[ "MIT" ]
permissive
UpSea/PyAlgoTradeMid
548d181d5d18448f75f205214e9d19b7356a5730
c8edcbc089d92dbfbb8bb25af92a039146f6c6da
refs/heads/master
2021-01-20T19:57:21.406976
2016-07-25T17:23:00
2016-07-25T17:23:00
62,429,518
0
1
null
null
null
null
UTF-8
Python
false
false
5,928
py
from pyalgotrade import strategy from pyalgotrade import dataseries from pyalgotrade.dataseries import aligned from pyalgotrade import plotter from pyalgotrade.tools import yahoofinance from pyalgotrade.stratanalyzer import sharpe import numpy as np import statsmodels.api as sm def get_beta(values1, values2): # ...
[ "upsea@upsea.cn" ]
upsea@upsea.cn
4b43bb6f33bebd4d9d8a8770bc8a06ded2a7dec9
f44ba27c29e9e23aedd8e4a9ea27c50038e38fc1
/examples/pervasive/modules/archive/densenet_pono.py
0547df57dea6a2e6c1d7847e8b2d784a9b8a1777
[ "MIT" ]
permissive
akshayvnayak/attn2d
fd9d6caca1bccdb07ffc51781e4471b05572f145
982653439dedc7306e484e00b3dfb90e2cd7c9e1
refs/heads/master
2023-06-05T21:33:21.338692
2021-05-08T10:55:28
2021-05-08T10:55:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,311
py
# Copyright (c) 2017-present, Facebook, Inc. # All rights reserved. # # This source code is licensed under the license found in the LICENSE file in # the root directory of this source tree. An additional grant of patent rights # can be found in the PATENTS file in the same directory. import torch import torch.nn as nn...
[ "maha.elbayad@gmail.com" ]
maha.elbayad@gmail.com
992dbc2fb0a8f5b679d543a0527a0e9d6db96cd7
145ba6d4e6176f26fc4c105181e3be380366df16
/external/workload-automation/wa/framework/signal.py
1c45ab721c9d7842215f9675276f0e2745f79bac
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
keroles/lisa
e53005ea77ccb7725ea605f8d7675fd70cae7c1b
9a0fc0421b8ce919f4a6203ca88b246131e8d22e
refs/heads/master
2020-07-23T02:51:36.379063
2019-09-05T17:47:24
2019-09-05T17:47:24
207,424,438
1
0
Apache-2.0
2019-09-09T23:40:02
2019-09-09T23:40:01
null
UTF-8
Python
false
false
14,462
py
# Copyright 2013-2018 ARM Limited # # 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 w...
[ "douglas.raillard@arm.com" ]
douglas.raillard@arm.com
0a200eecd3565d835e2ad1118d1356ddbb35bd5d
61f6949362e9122eea06f178f75c1e3098a4b322
/Stacks and Queues/AnimalShelter.py
4f3df0670d75b9c7de5537ad1a6b5c9506308ef6
[]
no_license
NenadPantelic/Cracking-the-coding-Interview
d2005152f39426d27fd74c26f55a941bd66742ab
8d7f8a494015c7bcde814933b4680f6f9c77548f
refs/heads/master
2021-02-07T10:10:03.020498
2020-03-04T12:55:39
2020-03-04T12:55:39
244,013,218
0
0
null
null
null
null
UTF-8
Python
false
false
2,620
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Wed Mar 4 13:01:50 2020 @author: nenad """ class Animal: def __init__(self, name, id): self._name = name self._id = id # setters and getters @property def id(self): return self._id @id.setter def id(s...
[ "nenadpantelickg@gmail.com" ]
nenadpantelickg@gmail.com
68024079a3d93cd7cf4fb302f150643dd230b413
35b6013c1943f37d1428afd2663c8aba0a02628d
/dialogflow-cx/list_training_phrases.py
6fcfc1ee038bf4ff5f474fa6b9f92e7762cfa7e5
[ "Apache-2.0" ]
permissive
GoogleCloudPlatform/python-docs-samples
d2a251805fbeab15d76ed995cf200727f63f887d
44e819e713c3885e38c99c16dc73b7d7478acfe8
refs/heads/main
2023-08-28T12:52:01.712293
2023-08-28T11:18:28
2023-08-28T11:18:28
35,065,876
7,035
7,593
Apache-2.0
2023-09-14T20:20:56
2015-05-04T23:26:13
Jupyter Notebook
UTF-8
Python
false
false
1,355
py
# Copyright 2023 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, ...
[ "noreply@github.com" ]
GoogleCloudPlatform.noreply@github.com
ec8b69964d38706e2db8d019e8f677872d997c73
f3b233e5053e28fa95c549017bd75a30456eb50c
/mcl1_input/L29/29-35_MD_NVT_rerun/set_6.py
e078175cf6f7b0d45cebab753c5986500695d67d
[]
no_license
AnguseZhang/Input_TI
ddf2ed40ff1c0aa24eea3275b83d4d405b50b820
50ada0833890be9e261c967d00948f998313cb60
refs/heads/master
2021-05-25T15:02:38.858785
2020-02-18T16:57:04
2020-02-18T16:57:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
740
py
import os dir = '/mnt/scratch/songlin3/run/mcl1/L29/MD_NVT_rerun/ti_one-step/29_35/' filesdir = dir + 'files/' temp_prodin = filesdir + 'temp_prod_6.in' temp_pbs = filesdir + 'temp_6.pbs' lambd = [ 0.00922, 0.04794, 0.11505, 0.20634, 0.31608, 0.43738, 0.56262, 0.68392, 0.79366, 0.88495, 0.95206, 0.99078] for j in lam...
[ "songlin3@msu.edu" ]
songlin3@msu.edu
51bd19fcb5355d0363e098bdd285a9257bcf6894
9adc810b07f7172a7d0341f0b38088b4f5829cf4
/experiments/state_distance/iclr2018/sawyer_results.py
33f98889093ce0726711b0a789c91b381239b96a
[ "MIT" ]
permissive
Asap7772/railrl_evalsawyer
7ee9358b5277b9ddf2468f0c6d28beb92a5a0879
baba8ce634d32a48c7dfe4dc03b123e18e96e0a3
refs/heads/main
2023-05-29T10:00:50.126508
2021-06-18T03:08:12
2021-06-18T03:08:12
375,810,557
1
0
null
null
null
null
UTF-8
Python
false
false
2,209
py
from rlkit.misc.data_processing import get_all_csv import matplotlib.pyplot as plt import numpy as np # naf_path = "/home/vitchyr/git/rllab-rail/rlkit/data/papers/iclr2018/sawyer/naf/" # ddpg_path = "/home/vitchyr/git/rllab-rail/rlkit/data/papers/iclr2018/sawyer" \ # "/ddpg-new" # tdm_path = "/home/vitchyr...
[ "alexanderkhazatsky@gmail.com" ]
alexanderkhazatsky@gmail.com
27fb7961da2e3d0931de3df82b3587deb75e3473
b697b98db859c061c1174837deee1d6fc47d115e
/examples/spot/savings/savings_redemption_record.py
10618b8f9dc6d48b9eef34223483d9079ec98b12
[ "MIT" ]
permissive
leozaragoza/binance-connector-python
7e684d6e68ff7d580b7e3fa83f952540a79b1120
3311d102c9e788e3d71047f0af103c00d1ae2162
refs/heads/master
2023-07-15T12:27:50.041388
2021-08-22T17:08:38
2021-08-22T17:08:38
396,354,910
3
0
MIT
2021-08-22T17:08:38
2021-08-15T13:12:41
Python
UTF-8
Python
false
false
283
py
#!/usr/bin/env python import logging from binance.spot import Spot as Client from binance.lib.utils import config_logging config_logging(logging, logging.DEBUG) key = "" secret = "" client = Client(key, secret) logging.info(client.savings_redemption_record(lendingType="DAILY"))
[ "liang.shi@protonmail.com" ]
liang.shi@protonmail.com
3ef811ead907399bce98117e5910b36239a0a4d2
b2d3bd39b2de8bcc3b0f05f4800c2fabf83d3c6a
/examples/pwr_run/checkpointing/debug/oracle_old/job17.py
abd379b9efe5fa56404863cffb14b684749c44ff
[ "MIT" ]
permissive
boringlee24/keras_old
3bf7e3ef455dd4262e41248f13c04c071039270e
1e1176c45c4952ba1b9b9e58e9cc4df027ab111d
refs/heads/master
2021-11-21T03:03:13.656700
2021-11-11T21:57:54
2021-11-11T21:57:54
198,494,579
0
0
null
null
null
null
UTF-8
Python
false
false
6,599
py
""" #Trains a ResNet on the CIFAR10 dataset. """ from __future__ import print_function import keras from keras.layers import Dense, Conv2D, BatchNormalization, Activation from keras.layers import AveragePooling2D, Input, Flatten from keras.optimizers import Adam from keras.callbacks import ModelCheckpoint, LearningRa...
[ "baolin.li1994@gmail.com" ]
baolin.li1994@gmail.com
7f61de0a1c39423c019dcd15b5b05243f200f780
86fc644c327a8d6ea66fd045d94c7733c22df48c
/scripts/managed_cpe_services/customer/triple_cpe_site/triple_cpe_site_services/cpe_secondary_cpe_tertiary_ic/cpe_secondary_cpe_tertiary_ic.py
92f7d81c533e61cb080ef0c8a3f515176f092619
[]
no_license
lucabrasi83/anutacpedeployment
bfe703657fbcf0375c92bcbe7560051817f1a526
96de3a4fd4adbbc0d443620f0c53f397823a1cad
refs/heads/master
2021-09-24T16:44:05.305313
2018-10-12T02:41:18
2018-10-12T02:41:18
95,190,459
0
0
null
null
null
null
UTF-8
Python
false
false
6,880
py
# # This computer program is the confidential information and proprietary trade # secret of Anuta Networks, Inc. Possessions and use of this program must # conform strictly to the license agreement between the user and # Anuta Networks, Inc., and receipt or possession does not convey any rights # to divulge, reproduce,...
[ "sebastien.pouplin@tatacommunications.com" ]
sebastien.pouplin@tatacommunications.com
24139b0c3d09987a5babe7ce7ee0dc78d1200708
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/6BXmvwJ5SGjby3x9Z_21.py
ea85e4d9e02f781209352c4e3e7629c3e67a4de3
[]
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
921
py
""" Create a function that takes `time1` and `time2` and return how many hours have passed between the two times. ### Examples hours_passed("3:00 AM", "9:00 AM") ➞ "6 hours" hours_passed("2:00 PM", "4:00 PM") ➞ "2 hours" hours_passed("1:00 AM", "3:00 PM") ➞ "14 hours" ### Notes * `time1` ...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
ced4d5fd12e09a40217e8f3f52c5ad56cf53ec55
e835dcfe819cbeabde7d11489f0c11d551c2c93e
/분류없음/mod1.py
dd8f825d3032fa744052e9c782946c8cd329677b
[]
no_license
jangjichang/Today-I-Learn
4ca387f6fa0f0e4f175d938c1baee67ba17a7778
8a6d3f90d1904625d62a8dc3d24a6c56373b1d83
refs/heads/master
2021-06-19T13:13:14.675054
2020-01-29T15:16:55
2020-01-29T15:16:55
164,423,854
0
1
null
2021-06-10T21:25:35
2019-01-07T11:38:43
Tcl
UTF-8
Python
false
false
133
py
def add(a, b): return a+b def sub(a, b): return a-b if __name__ == "__main__": print(add(1, 4)) print(sub(4, 2))
[ "wlckd90@gmail.com" ]
wlckd90@gmail.com
32f09a2989b5ef472d2acbbd5410a16c74fe1f7a
2f98aa7e5bfc2fc5ef25e4d5cfa1d7802e3a7fae
/python/python_21122.py
ed3e9cf01dc498504918dd5e36b1c2826aaf0458
[]
no_license
AK-1121/code_extraction
cc812b6832b112e3ffcc2bb7eb4237fd85c88c01
5297a4a3aab3bb37efa24a89636935da04a1f8b6
refs/heads/master
2020-05-23T08:04:11.789141
2015-10-22T19:19:40
2015-10-22T19:19:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
67
py
# X.objects.annotate(max_z=Max('y__zs__number')).order_by('max_z')
[ "ubuntu@ip-172-31-7-228.us-west-2.compute.internal" ]
ubuntu@ip-172-31-7-228.us-west-2.compute.internal
c3175aa689731ff72e73808fc0375f0939689fe0
22fee3cc805db403e8c655ccd67fbd4240375284
/meep/messages.py
bd8757797134f2fd1778a0d8a98abdc8697f074f
[]
no_license
deyh2020/meep-1
ecb99fe9ab117e3c52698d72a9090bdb3d22f5f6
40c808d79b37d9a8dcc7ba5daaebb4941b3292b1
refs/heads/main
2023-04-29T23:35:44.815670
2021-05-13T17:17:45
2021-05-13T17:17:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,194
py
from numbers import Integral from dataclasses import dataclass, replace _max_values = { ('PitchBend', 'value'): 16383, ('SongPosition', 'beats'): 16383, ('TimeCode', 'frame_type'): 7, ('TimeCode', 'frame_value'): 15, } class MidiMsg: @property def type(self): return self.__class__.__n...
[ "ombdalen@gmail.com" ]
ombdalen@gmail.com
6e0d90da492d3c61af86777e8ba0d46854c8a46b
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_96/1680.py
68e56f3c0e32eb2782b3bec8ca6ea69863758517
[]
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
2,496
py
#!/usr/bin/python import math import sys def gen_triples (s): ret = [] # pretty ugly, actually, with exponential running time... # lazy saturday night... # also, back of the envelope calculation... seems a bit off but # includes the valid triples. avg = s / 3.0 x1min = int (math.floor (avg - 4/3)) if x1min < ...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
5d2f7ba8945bba6c9850970d889c14837ea8da7e
0a3b08678e2d6669188649bfc8d38439ac076f61
/odziez/clothes/forms.py
8e4b7ff667d963e203fa625799aadab2eab7c0c8
[ "MIT" ]
permissive
szymanskirafal/odziez
48f31fb72a8875511000f6aa5d9032770a670e64
029d20da0474a0380e8383f9f89c1072666c5399
refs/heads/master
2020-05-25T08:18:58.783882
2020-05-10T19:19:29
2020-05-10T19:19:29
187,707,616
0
0
null
null
null
null
UTF-8
Python
false
false
946
py
from django.forms import HiddenInput, ModelForm from .models import Clothe class ClotheCreateForm(ModelForm): class Meta: model = Clothe fields = [ 'ordered', 'received', 'destroyed', ] widgets = { 'ordered': HiddenInput, ...
[ "r.szymansky@gmail.com" ]
r.szymansky@gmail.com
867d9c702a440fca62cc4b422056e802582e0ce8
13617cd87821cab9a4f0b1fb0a8355dfd145a43a
/IOOS_Models.py
a8b2a27797d86113016dfcc2bcc943945d705b17
[ "GFDL-1.1-only", "MIT" ]
permissive
petercunning/notebook
a84acf2ba22c053cf2dfd912387ab66dfe1668c7
5b26f2dc96bcb36434542b397de6ca5fa3b61a0a
refs/heads/master
2021-01-15T03:54:00.227967
2020-02-25T00:02:23
2020-02-25T00:02:23
242,869,782
0
0
MIT
2020-02-24T23:56:41
2020-02-24T23:56:40
null
UTF-8
Python
false
false
4,660
py
# -*- coding: utf-8 -*- # <nbformat>3.0</nbformat> # <headingcell level=1> # Using Iris to access data from US-IOOS models # <codecell> import matplotlib.pyplot as plt import numpy as np import datetime as dt import time import cmtamu %matplotlib inline # <markdowncell> # Note: `iris` is not a default package in ...
[ "rsignell@usgs.gov" ]
rsignell@usgs.gov
450d121b9da21a51ccddbcae7619fccb291959ff
7dcc00aeab6ce52256eb37e7a6da6c986e7015c3
/yl_python_code/python_code/GUI/Label_标签函数.py
c28e9bd5ecb72b239f9ab87fc6d0684bed083dc7
[]
no_license
ztony123/codeHouse
ea2e6efb4460d1296e24dbf670e0a783ec99655a
f767149cbc558fae14f8cfde5778f57a122984e2
refs/heads/master
2023-01-22T14:12:52.483079
2020-12-01T11:09:37
2020-12-01T11:09:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,160
py
from tkinter import * root = Tk() # 创建一个根窗口以后的东西都在这个根窗口上显示 Tk类 root.title('Tk...这里是标题') # 设置根窗口的标题 bj_photo = PhotoImage(file = '背景.gif') # PhotoImage类 textLabel = Label(root, # 在哪显示 Label类 用标签函数创建一个标签 justify=LEFT, # 文字对齐方式默认居中对齐 LEFT RIGHT 左对齐和右对齐 padx=10, # 文字距离左边...
[ "2336739721@qq.com" ]
2336739721@qq.com
22a45ff22b4094bf3a08c068a88afb3e26416f15
c6da82c0657283cf1cd4ea9a747103047cfc6cfd
/test/model/block_version_graph_test.py
03bc9a3ebef2300cac9165bfef3a802a407dad11
[ "MIT" ]
permissive
biicode/common
0d79479ae0200536748ad6db53db7f270b7339ac
45e9ca902be7bbbdd73dafe3ab8957bc4a006020
refs/heads/develop
2021-01-25T08:54:45.225315
2015-07-13T00:38:53
2015-07-13T00:38:53
33,537,019
17
22
MIT
2018-09-24T10:52:59
2015-04-07T10:34:03
C++
UTF-8
Python
false
false
5,099
py
import unittest from biicode.common.model.symbolic.block_version import BlockVersion from biicode.common.model.brl.brl_block import BRLBlock from biicode.common.deps.block_version_graph import BlockVersionGraph class BlockVersionGraphTest(unittest.TestCase): def empty_test(self): '''When one is empty, it...
[ "lasote@gmail.com" ]
lasote@gmail.com
57901d6d194680a592052354bef26d95bbc236f5
48e124e97cc776feb0ad6d17b9ef1dfa24e2e474
/sdk/python/pulumi_azure_native/domainregistration/v20210201/list_domain_recommendations.py
6a1e8dd8d7a6403cc91f46c96df90a6936999954
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
bpkgoud/pulumi-azure-native
0817502630062efbc35134410c4a784b61a4736d
a3215fe1b87fba69294f248017b1591767c2b96c
refs/heads/master
2023-08-29T22:39:49.984212
2021-11-15T12:43:41
2021-11-15T12:43:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,421
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from ... import _utilities fro...
[ "noreply@github.com" ]
bpkgoud.noreply@github.com
18116592c8bb6567381e654b796bf98910c0d505
597f847f0bd2112e45ca50979acec403a5f969cf
/pythonNet/day07/code/process_event.py
a24c54c1131a2341f1e54733f985bf45fc81d58b
[]
no_license
wangyuhui12/AID1804
e5d26aa6d505655cd885784cc0645c9ea8323df5
7291fc9411b541d17e540dd829166e64887fd9f7
refs/heads/master
2022-09-11T23:10:47.631426
2022-08-03T09:01:13
2022-08-03T09:01:13
136,152,631
2
0
null
null
null
null
UTF-8
Python
false
false
594
py
from multiprocessing import Event, Process from time import sleep def wait_event(): print("像操作临界区但是要等待临界设置") e.wait() print("终于轮到我操作临界区了", e.is_set()) def wait_event_timeout(): print("也想操作临界区但是也要等2秒吧") e.wait(2) print("2秒到了我不等了", e.is_set()) e = Event() p1 = Process(target = wait_event) p2 =...
[ "noreply@github.com" ]
wangyuhui12.noreply@github.com
70c5109e8dd61709358f9194c7b94f27afb46d57
0e1e643e864bcb96cf06f14f4cb559b034e114d0
/Exps_7_v3/doc3d/I_w_M_to_W_focus_Zok/ch096/wiColorJ/Mae_s001/pyr_Tcrop255_p20_j15/pyr_6s/L6/step12_L2345678.py
b3af2e7fbc1a67bd2a020457c29a587d1e05cef6
[]
no_license
KongBOy/kong_model2
33a94a9d2be5b0f28f9d479b3744e1d0e0ebd307
1af20b168ffccf0d5293a393a40a9fa9519410b2
refs/heads/master
2022-10-14T03:09:22.543998
2022-10-06T11:33:42
2022-10-06T11:33:42
242,080,692
3
0
null
null
null
null
UTF-8
Python
false
false
159,048
py
''' 目前只有 step12 一定需要切換資料夾到 該komg_model所在的資料夾 才能執行喔! ''' if(__name__ == "__main__"): ############################################################################################################################################################################################################# ### 把 kong_model2 加入 s...
[ "s89334roy@yahoo.com.tw" ]
s89334roy@yahoo.com.tw
d5762dc838095318b81c81cb831c64784034c834
cbf48e69d3021a980e00293d44e6f8e3ec163d41
/source/conf.py
091adb7c159ed84dfa8868ec15af2f30f2746d18
[]
no_license
cluo/pythontutorial
8647210b4c97e1e4b87394320e757f4a19809381
80004213fa6fa7f69d71b4ee5c9f5c3ac90f9044
refs/heads/master
2021-01-21T00:30:06.516899
2015-02-06T16:33:38
2015-02-06T16:33:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,846
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # -*- coding: utf-8 -*- # # Python tutorial documentation build configuration file, created by # sphinx-quickstart on Fri Jan 18 10:43:59 2013. # # This file is execfile()d with the current directory set to its containing dir. # # Note that not all possible configuration v...
[ "sixu05202004@gmail.com" ]
sixu05202004@gmail.com
38e40e6e4b3fb5940b0610b53909ad49738d5709
3d52ebe8bfe014b08c86e0229c268b3646002af0
/nano_magic/ui/components/match.py
cf3fc0ebf5be0b25e91bf3c3ce063efe9f33d351
[ "MIT" ]
permissive
pitzer42/nano-tcg
0856d6f2083a9ad20e0896158eaea527ee450a29
c984b253b8a53a707460aac21c10f140d16d902e
refs/heads/master
2023-04-13T12:52:40.521675
2020-07-04T21:06:41
2020-07-04T21:06:41
264,343,238
1
0
MIT
2021-04-20T19:57:17
2020-05-16T02:32:28
Python
UTF-8
Python
false
false
1,064
py
from nano_magic.ui.components import Component class MatchView(Component): id_input = 'matchInput' _match_password_input = 'matchPasswordInput' _match_buton = 'matchButton' def __init__(self, document): super(MatchView, self).__init__(document) self._id_input = document[MatchView.id_i...
[ "arthurpitzer@id.uff.br" ]
arthurpitzer@id.uff.br
1f80c7a004c4e15dbae1fc7904173ff925410624
45b4ff6a4e4804ff84847d56400e10cdb0d96186
/python/test/test_facility_resource_relationships.py
d2b058b6efe3b7fc5b534f2c18b7a7a9b53ef661
[]
no_license
pranav/mbta-libraries
fabbc9305569a344e25fa1b281cba290f0fa3f13
e793696addd94750f722f3132aadc8dfe00adef5
refs/heads/master
2021-08-22T11:15:26.014862
2017-11-30T03:12:52
2017-11-30T03:12:52
112,558,008
0
0
null
null
null
null
UTF-8
Python
false
false
1,008
py
# coding: utf-8 """ MBTA MBTA service API. https://www.mbta.com OpenAPI spec version: 3.0 Contact: developer@mbta.com Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import os import sys import unittest import swagger_client from swa...
[ "pgandhi@hubspot.com" ]
pgandhi@hubspot.com
6c2b2409ccb90a48037ad392bd0cebc53265316f
b47622e1922a7bc6993829938b4156045e720460
/tests/test_input_string_transform_factory.py
6a0831890933e926b721ef553b5fdee7fc4e4598
[ "MIT" ]
permissive
SethMMorton/natsort
cf00219049c07986e636dc484700e9842d2b704e
d9503c08f8f83ce8a89bfcc45fec136868756243
refs/heads/main
2023-09-01T04:55:46.156679
2023-06-20T04:15:48
2023-06-20T04:17:34
4,209,988
769
67
MIT
2023-06-20T04:01:29
2012-05-03T02:58:47
Python
UTF-8
Python
false
false
4,238
py
# -*- coding: utf-8 -*- """These test the utils.py functions.""" from typing import Callable import pytest from hypothesis import example, given from hypothesis.strategies import integers, text from natsort.ns_enum import NSType, NS_DUMB, ns from natsort.utils import input_string_transform_factory def thousands_sepa...
[ "seth.m.morton@gmail.com" ]
seth.m.morton@gmail.com
6fb9cc887052674326e5fc57af4c8829b7e8e110
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/33/usersdata/99/10594/submittedfiles/av1_parte3.py
87267d520169bb2935202cff672eadaa291e5365
[]
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
289
py
# -*- coding: utf-8 -*- from __future__ import division #COMECE AQUI ABAIXO n=input('Digite o valor de n:') i=1 j=n-1 while n>=i: if j%2==0: a=1/(i*(3**j)) else: a=-(1/(i*(3**j))) i=i+2 j=j+1 a=a+1 pi=(12**(1/2))*(a+1) print ('%.6f'%pi)
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
20c1bb30b9eb5b65fb1af0a0a99328deb9058b76
f657f2a520f56586416943e756501b6c868acabb
/bin/python-config
d9a7fb47caf644f85bfe18f004170d7566531048
[]
no_license
virapasas/FirstProject
e145ce94a994b820408126a2985973441e1768ba
3eafe658339e304e8d063b4edaa704f40d345e4c
refs/heads/master
2020-04-06T05:48:05.457623
2017-02-23T09:03:42
2017-02-23T09:03:42
82,909,910
0
0
null
null
null
null
UTF-8
Python
false
false
2,372
#!/Users/joonhopark/Documents/DjangoProject/FirstProject/bin/python import sys import getopt import sysconfig valid_opts = ['prefix', 'exec-prefix', 'includes', 'libs', 'cflags', 'ldflags', 'help'] if sys.version_info >= (3, 2): valid_opts.insert(-1, 'extension-suffix') valid_opts.append('abifl...
[ "you@example.com" ]
you@example.com
47f6d965829ec7c1cb3476e7c787e348219380c1
9e831c0defd126445772cfcee38b57bfd8c893ca
/code/questions/201~210/207.py
f5406a7b4ea4ce6cfed8a58a5ddf5b27b8127c69
[]
no_license
m358807551/Leetcode
66a61abef5dde72250d032b7ea06feb3f2931d54
be3f037f6e2057a8f2acf9e820bbbbc21d7aa1d2
refs/heads/main
2023-04-22T15:13:43.771145
2021-05-07T06:47:13
2021-05-07T06:47:13
321,204,181
4
1
null
null
null
null
UTF-8
Python
false
false
941
py
""" https://leetcode-cn.com/problems/course-schedule """ from collections import defaultdict class Solution(object): def canFinish(self, numCourses, prerequisites): """ :type numCourses: int :type prerequisites: List[List[int]] :rtype: bool """ self.d = defaultdict(...
[ "m358807551@163.com" ]
m358807551@163.com
18d148fbc54e13d0521383ce2f078c6ba0260266
22bf910b64283b3c15cc4d80542e83fa89e9f09d
/monero_glue/messages/MoneroKeyImageSyncFinalRequest.py
d3b770f53a84962d7fc7652acce75864486ad377
[ "MIT" ]
permissive
ph4r05/monero-agent
24ed1aa17d6616b2ae6bcdb7b9997f982f8b7b5d
0bac0e6f33142b2bb885565bfd1ef8ac04559280
refs/heads/master
2022-10-18T06:30:43.550133
2021-07-01T16:27:56
2021-07-01T16:27:56
126,215,119
24
5
MIT
2022-09-23T22:53:44
2018-03-21T17:18:21
Python
UTF-8
Python
false
false
331
py
# Automatically generated by pb2py # fmt: off from .. import protobuf as p if __debug__: try: from typing import Dict, List # noqa: F401 from typing_extensions import Literal # noqa: F401 except ImportError: pass class MoneroKeyImageSyncFinalRequest(p.MessageType): MESSAGE_WIRE_...
[ "dusan.klinec@gmail.com" ]
dusan.klinec@gmail.com
9ccd7c5a38801813d18a639d8bcb3ee0f2996cb1
ef7eabdd5f9573050ef11d8c68055ab6cdb5da44
/leetCode/algorithms/medium/serialize_and_deserialize_binary_tree.py
5510953c1bf0eba72e46e00c276abba122600863
[ "WTFPL" ]
permissive
gauravsingh58/algo
cdbf68e28019ba7c3e4832e373d32c71902c9c0d
397859a53429e7a585e5f6964ad24146c6261326
refs/heads/master
2022-12-28T01:08:32.333111
2020-09-30T19:37:53
2020-09-30T19:37:53
300,037,652
1
1
WTFPL
2020-10-15T09:26:32
2020-09-30T19:29:29
Java
UTF-8
Python
false
false
563
py
class Codec: def serialize(self, root): s = [] def r(n): if n: s.append(str(n.val)) r(n.left) r(n.right) else: s.append("~") r(root) return " ".join(s) def deserialize(self, data): ...
[ "elmas.ferhat@gmail.com" ]
elmas.ferhat@gmail.com
465498867b142ceac444fc54f2842a51a3e018e3
d4165ac05dad93a6a7a496d4eb1fd95b58ecba92
/products_crawler/apps.py
28a33f593ab27a95321814fdf988078165ba5875
[]
no_license
nix010/aliexpress_crawler
b0bb3cdfb610e474e2f1395663a165029888d560
ae301c8abde7ccc5c983b4a84e4b419baecd916e
refs/heads/master
2022-12-09T22:51:08.631274
2018-05-22T05:21:26
2018-05-22T05:21:26
133,409,984
0
0
null
2022-12-08T00:58:49
2018-05-14T19:15:44
CSS
UTF-8
Python
false
false
106
py
from django.apps import AppConfig class ProductsCrawlerConfig(AppConfig): name = 'products_crawler'
[ "khiem3t@gmail.com" ]
khiem3t@gmail.com
55f8cf635ecc7dfd0cb1bec0e4e463dde5859a36
5077fc5d82caa3b3ed5ce0e062bfe75cd4037ebc
/杂项/tk_test1.py
eae46b7d9c6ccc2e058a383d94f73073575094e1
[]
no_license
asswecanfat/git_place
ee10e1057d8307d3c72f57291b5bcb6d0579017e
244ff0de11ffbe1aa9f20308e43af39486507f6f
refs/heads/master
2021-07-18T23:06:14.324164
2020-09-02T12:15:27
2020-09-02T12:15:27
210,833,462
1
2
null
null
null
null
UTF-8
Python
false
false
250
py
from tkinter import * tk = Tk() ass = Scale(tk, from_=0, to=500) ass.pack() sea = Scale(tk,from_=0, to=200, orient=HORIZONTAL) sea.pack() def get(): print(ass.get(),sea.get()) Button(tk, text='获取位置', command=get).pack() mainloop()
[ "1024847824@qq.com" ]
1024847824@qq.com
12dc9434000d7a592168cfe2d5f9d734fa9722bd
afb8328a6a87acd87339af9f4632fa87aa85dae9
/fci/direct_spin0_symm.py
9a7194dd925842499df92e4e14dae07cff568c47
[ "BSD-2-Clause" ]
permissive
ncrubin/pyscf
73f21fd7028c6a0445fa11a683f1fab7a8d4ac3b
42db2641141052f27705c0c4036e63885e10ee51
refs/heads/master
2021-01-20T23:27:22.604640
2016-02-12T19:08:47
2016-02-12T19:08:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,586
py
#!/usr/bin/env python # # Author: Qiming Sun <osirpt.sun@gmail.com> # # FCI solver for Singlet state # # Other files in the directory # direct_spin0 singlet # direct_spin1 arbitary number of alpha and beta electrons, based on RHF/ROHF # MO integrals # direct_uhf arbitary number of alpha and beta electron...
[ "osirpt.sun@gmail.com" ]
osirpt.sun@gmail.com
57d7dd19bcc4d38ddd2b09680bc65099caefe5f9
cb58f9804dff11b1bb25dfd3483e8fe239057666
/first_homework/main.py
46dab6e93774734909cdc184caa502df720e9a98
[]
no_license
jescasany/IDEAL_MOOC_py
a2d037ec70da99d342d9f36701ebe682a992312b
d29ecb4dd1d1a4b64b414c76b91b134d2fb0f324
refs/heads/master
2020-12-24T18:41:52.782580
2014-11-09T20:34:06
2014-11-09T20:34:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
627
py
import simpy import dev_agent import environment agent_E = dev_agent.c_swordsman("Mighty Ernest") agent_V = dev_agent.c_magician("Wizard Vasya") # First one is fast, second one is real-time (factor = 0.1 means that each time unit in the code takes 1/10 seconds to run). #env = simpy.Environment() env = simpy.rt.Realt...
[ "alexey.vyakhorev@gmail.com" ]
alexey.vyakhorev@gmail.com
56b447acf758ae74c53ccb51c847ff4665cf24af
1842d2e7989b9fb1bdd6edff2b2ce187ca9f27ad
/setup.py
ed73919c73a7cc3ab95b025f11265e26740ef616
[ "CC0-1.0" ]
permissive
biomodels/BIOMD0000000484
cc08199b3d324bf10425829755d70e67d52b155d
293ac221c1615e7446f55960cff130f784243220
refs/heads/master
2016-09-06T17:32:40.282597
2014-10-16T05:17:52
2014-10-16T05:17:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
377
py
from setuptools import setup, find_packages setup(name='BIOMD0000000484', version=20140916, description='BIOMD0000000484 from BioModels', url='http://www.ebi.ac.uk/biomodels-main/BIOMD0000000484', maintainer='Stanley Gu', maintainer_url='stanleygu@gmail.com', packages=find_packages(...
[ "stanleygu@gmail.com" ]
stanleygu@gmail.com
54b33319ebdcd63de594777611a85d4dc9395b4b
a1e79e86873fbf1ec12d26371fae80d584b1bb2e
/src/countries/__init__.py
5fe1582f9040bcfe6726ec567f74eea723ec018f
[]
no_license
NagahShinawy/StoreRestAPI
42f9ca3d87898c96fa2dcea8c6aac038cd2bd03d
21563cd88210f747e6ba1ff9269607f1d422f3c7
refs/heads/main
2023-03-02T21:20:38.644874
2021-02-08T13:29:00
2021-02-08T13:29:00
334,028,389
0
0
null
null
null
null
UTF-8
Python
false
false
5,803
py
COUNTRIES = [ ("US", "United States"), ("AF", "Afghanistan"), ("AL", "Albania"), ("DZ", "Algeria"), ("AS", "American Samoa"), ("AD", "Andorra"), ("AO", "Angola"), ("AI", "Anguilla"), ("AQ", "Antarctica"), ("AG", "Antigua And Barbuda"), ("AR", "Argentina"), ("AM", "Armenia...
[ "E-n.Shinawy@lean.sa" ]
E-n.Shinawy@lean.sa
595cd81f22717ea876f44c7c6551a4daca5378cd
18276d01566c782dfd5e9ef97d1e35ef14637af0
/2021/day19/sol.py
6bc1e80e04b389807c8736ddc77d9a08b337d2b3
[ "CC0-1.0", "MIT", "LicenseRef-scancode-public-domain" ]
permissive
benediktwerner/AdventOfCode
32d5bbcb8d31059673a6fe98c74cbba7eb733822
44700547d77385b8f84f80a2eb750bc06926152f
refs/heads/master
2023-02-05T22:37:23.215372
2023-02-02T17:54:08
2023-02-02T17:54:21
162,716,840
67
10
null
null
null
null
UTF-8
Python
false
false
2,761
py
#!/usr/bin/env python3 from os import path import itertools import re def ints(string): return map(int, re.findall(r"-?[0-9]+", string)) def convert(x, y, z, ori): xneg, xaxis, yneg, yaxis, zneg = ori out = [0, 0, 0] axis = [0, 1, 2] out[axis.pop(xaxis)] = x * xneg out[axis.pop(yaxis)] = y ...
[ "1benediktwerner@gmail.com" ]
1benediktwerner@gmail.com
4e861eec350f1bc2cb7fb0b6dd7a4fa05b20498d
15acbbe3faaa7e170d5cb29f1f3e1a1fce656f14
/ОиМП - 1/Contest 8/B.py
a604a97dcf093efd76cb41e34c783f279bd7200d
[]
no_license
FPSarmin/HSECAOS
87ce5c34174541f772439665faff0d235574974b
fef2bb306243398f55fdf7261562e9c91074d209
refs/heads/main
2023-09-06T07:52:37.162813
2021-01-11T16:14:56
2021-01-11T16:14:56
431,747,820
0
0
null
null
null
null
UTF-8
Python
false
false
184
py
a = list(map(int, input().split())) max = sorted(a, reverse=True)[0] count = a.count(max) ind = a.index(max) for i in range(count - 1): ind = a.index(max, ind + 1) print(max, ind)
[ "73155930+FPSarmin@users.noreply.github.com" ]
73155930+FPSarmin@users.noreply.github.com
78c0b1681499077e276a63ca1e6f10704af54c6b
f445450ac693b466ca20b42f1ac82071d32dd991
/generated_tempdir_2019_09_15_163300/generated_part009742.py
720df081dd7d5e78cedad34c2e41e3cd67991a6b
[]
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,304
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
17c9ed1f111dff3142347ada38acee29d57cd0e9
6515dee87efbc5edfbf4c117e262449999fcbb50
/eet/Diameter_of_Binary_Tree.py
60247df0dc73f55c3545dce8bc314af98ebf202b
[]
no_license
wangyunge/algorithmpractice
24edca77e180854b509954dd0c5d4074e0e9ef31
085b8dfa8e12f7c39107bab60110cd3b182f0c13
refs/heads/master
2021-12-29T12:55:38.096584
2021-12-12T02:53:43
2021-12-12T02:53:43
62,696,785
0
0
null
null
null
null
UTF-8
Python
false
false
1,192
py
""" Given a binary tree, you need to compute the length of the diameter of the tree. The diameter of a binary tree is the length of the longest path between any two nodes in a tree. This path may or may not pass through the root. Example: Given a binary tree 1 / \ 2 3 / \ ...
[ "wangyunge1@yahoo.com" ]
wangyunge1@yahoo.com
705b936cc3dbb05de2e1488b58afad23caf5e8d2
cdb7bb6215cc2f362f2e93a040c7d8c5efe97fde
/I/IntersectionofThreeSortedArrays.py
1161de9daecfaf946099f998a682b1d1585f9756
[]
no_license
bssrdf/pyleet
8861bbac06dfe0f0f06f6ad1010d99f8def19b27
810575368ecffa97677bdb51744d1f716140bbb1
refs/heads/master
2023-08-20T05:44:30.130517
2023-08-19T21:54:34
2023-08-19T21:54:34
91,913,009
2
0
null
null
null
null
UTF-8
Python
false
false
3,182
py
''' -Easy- Given three integer arrays arr1, arr2 and arr3 sorted in strictly increasing order, return a sorted array of only the integers that appeared in all three arrays. Example 1: Input: arr1 = [1,2,3,4,5], arr2 = [1,2,5,7,9], arr3 = [1,3,4,5,8] Output: [1,5] Explanation: Only 1 and 5 appeared in the three a...
[ "merlintiger@hotmail.com" ]
merlintiger@hotmail.com
d37e4f962311147f0f12a55a9d9b46c7666acc33
e15768382ea9553ee5a2bd708e96796b3f3275d2
/.svn/pristine/d3/d37e4f962311147f0f12a55a9d9b46c7666acc33.svn-base
a2e3ea05fcfc75f169a5d06418166acfd0cfd92f
[]
no_license
KratosCSIC2016/Master
2c8edcd0c6c5745d198bede2b7e8cac6811e6ede
f15871e1830829bb41fdcb3203f4db59147bee01
refs/heads/master
2020-06-17T20:08:41.482931
2016-12-13T12:03:49
2016-12-13T12:03:49
74,974,314
1
1
null
null
null
null
UTF-8
Python
false
false
9,000
from __future__ import print_function, absolute_import, division #makes KratosMultiphysics backward compatible with python 2.6 and 2.7 # Time monitoring from time import * print (ctime()) start_time = clock() ## Necessary modules ----------------------------------------------------------------------------------------...
[ "enriquebonetgil@hotmail.com" ]
enriquebonetgil@hotmail.com
dea7e2e751c0842cfc3141a5276d6abac55bb1f9
187c17f62b81f2cd686da6033ef21bf33856e173
/scraper/items.py
15edc711083674f1793705dcbb3fee031c9b4693
[]
no_license
kingking888/scrapy_django
ec366d4a9432c104744ddaf30adeec8441b84f8b
f4aa37a16580f8c17cf20c3086d03faaeb003130
refs/heads/master
2020-09-05T17:47:30.000939
2019-11-07T04:28:48
2019-11-07T04:28:48
220,172,341
0
2
null
2019-11-07T07:01:27
2019-11-07T07:01:26
null
UTF-8
Python
false
false
301
py
# -*- coding: utf-8 -*- # Define here the models for your scraped items # # See documentation in: # https://docs.scrapy.org/en/latest/topics/items.html from scrapy_djangoitem import DjangoItem from all_news.models import News as AllNews class AllNewsItem(DjangoItem): django_model = AllNews
[ "tohfaakib@my.smccd.edu" ]
tohfaakib@my.smccd.edu
7107850639ea9b96f77de47069384e6a59c01441
90f2cbe1c940a20dcc893837b6033a51d3233931
/Python2setup2exe/MinGW64/back.py
163410c4ebcb13ba9d3aa1abc95d908abb889b82
[]
no_license
MaxNcu/Learn_Python
71501f38f6442f3ff2a1de1ff685b8975e50af20
5a1c6edf353ed7447b2ffd4126ad7668d8c5a407
refs/heads/master
2022-01-15T18:56:04.814476
2019-07-20T03:02:02
2019-07-20T03:02:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
190,463
py
# -*- coding: utf-8 -*- """ __author__ = 'Langziyanqin' __QQ__ = '982722261' ┏┓ ┏┓ ┏┛┻━━━┛┻┓ ┃ ☃ ┃ ┃ ┳┛ ┗┳ ┃ ┃ ┻ ┃ ┗━┓ ┏━┛ ┃ ┗━━━┓ ┃ 神兽保佑 ┣┓ ┃ 永无BUG! ┏┛ ...
[ "982722261@qq.com" ]
982722261@qq.com
b5edd7cff6246179efa616b4e3b9cc382549f569
1720aa75167aa0837a727e16761e3b65acadcba7
/python/ray/serve/_private/deployment_scheduler.py
1366c45c977cb0f263300b1854a71b4a4b620a54
[ "BSD-3-Clause", "MIT", "Apache-2.0" ]
permissive
pcmoritz/ray-1
3fd0dbf300cb4c1ce791555f4691e1101c1edbee
c5e78dc0c8a3e2c099451f37e54ab6b6fe8a004a
refs/heads/master
2023-08-17T05:36:11.528122
2023-07-25T21:39:48
2023-07-25T21:39:48
77,173,450
0
1
Apache-2.0
2023-03-04T08:57:43
2016-12-22T20:21:46
Python
UTF-8
Python
false
false
11,461
py
import sys from typing import Callable, Dict, Tuple, List, Union, Set from dataclasses import dataclass from collections import defaultdict import ray from ray._raylet import GcsClient from ray.serve._private.utils import ( get_all_node_ids, get_head_node_id, ) from ray.util.scheduling_strategies import NodeAf...
[ "noreply@github.com" ]
pcmoritz.noreply@github.com
90dcac9712640a2d835f4209dd69c498f8c5e253
9bd7a3b65ee975ef2a39d33bf9dd7949cba0dfe3
/starsweb/models.py
1a0835af24c8a428978a4bb44f58f50651df03ae
[ "MIT" ]
permissive
jbradberry/django-starsweb
19fa5ccc55b193f13ffda1247622da6d1c7471e7
8310d543406de42e14a0fc451ccd11bd9e23ed59
refs/heads/master
2020-04-05T23:38:25.780355
2020-03-27T01:53:00
2020-03-27T01:54:15
2,433,941
3
0
MIT
2020-03-22T04:06:57
2011-09-22T00:36:26
Python
UTF-8
Python
false
false
25,865
py
from __future__ import absolute_import import glob import logging import os.path import shutil import tempfile import uuid from django.core.files.base import ContentFile from django.core.validators import MinValueValidator, MaxValueValidator, validate_comma_separated_integer_list from django.db import models from djan...
[ "jeff.bradberry@gmail.com" ]
jeff.bradberry@gmail.com
d818d5fe4878c981bef571e9c70fcc3f151106b7
2e5c9b0e0cd6a9e0185a27675b405f0458334c1c
/pyarchinit/modules/utility/pyarchinit_exp_USsheet_pdf.py
3e78a857acd3e2c5a766898ee119eefca0df60d4
[]
no_license
pyarchinit/deleting_pyarchinit_beta_test_qgis2
80e59501dcf9f444e255c7a9111af3b19f2c1a6b
f0e0e2fad43e55207c4a122f4fa4083ce0e9eef2
refs/heads/master
2021-01-10T18:37:36.546306
2013-09-29T13:23:24
2013-09-29T13:23:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
22,869
py
import os import copy from reportlab.lib.pagesizes import (A0, A1, A2, A3, A4, A5, A6, B0, B1, B2, B3,B4, B5, B6, LETTER, LEGAL, ELEVENSEVENTEEN,landscape) from reportlab.lib.testutils import makeSuiteForClasses, outputfile, printLocation from reportlab.lib import colors from reportlab.lib.units import inch, cm, mm ...
[ "pyarchinit@gmail.com" ]
pyarchinit@gmail.com
150a7a0256bebbf9e07411489a68cdc16cea1b4b
2a4d9d0304d6ebc6aa9d81f34ac452fe6728cf64
/simulator/track/track_manager.py
cbbc30a05fc90efe40a0dc77f4a5c74f7a14ff9b
[]
no_license
reritom/Cuttle
4f869683b3999710ccdc945d4d31691d9986f0c8
28c032ccff331ffe30e658d5b7acb816797b4838
refs/heads/master
2021-04-30T12:11:34.460203
2018-03-14T21:13:10
2018-03-14T21:13:10
121,269,895
0
0
null
null
null
null
UTF-8
Python
false
false
3,943
py
from track.track_driver import TrackDriver from constructor_objects.driver_command_register import DriverCommandRegister from constructor_objects.driver_speed_register import DriverSpeedRegister from config import Config class TrackManager(): ''' This class parses a command which is split and sent to both ...
[ "reikudjinn@gmail.com" ]
reikudjinn@gmail.com
d014321fa73c420b86bf9ae90b3617a23358d86f
78980891d3137810bf3a3c1bb229966b7f49f0dd
/leetcode_projects/leetcode_278/solution.py
759ad9537f90d98a333ad84e171e4f0c8e2bc6af
[]
no_license
miniyk2012/leetcode
204927d3aefc9746070c1bf13abde517c6c16dc0
91ca9cd0df3c88fc7ef3c829dacd4d13f6b71ab1
refs/heads/master
2021-06-17T21:50:31.001111
2021-03-10T11:36:23
2021-03-10T11:36:23
185,042,818
1
0
null
null
null
null
UTF-8
Python
false
false
640
py
# The isBadVersion API is already defined for you. # @param version, an integer # @return a bool def isBadVersion(version): if version < 4: return False return True class Solution: def firstBadVersion(self, n): """ :type n: int :rtype: int """ l, r = 1, n + ...
[ "yk_ecust_2007@163.com" ]
yk_ecust_2007@163.com
7fd36440c6224579095c2a6a8a233aa453cf6b52
afa2ebb439e6592caf42c507a789833b9fbf44b2
/supervised_learning/0x05-regularization/3-l2_reg_create_layer.py
e16013d454fd308a05f390df978b83d6fc2ec67e
[]
no_license
anaruzz/holbertonschool-machine_learning
64c66a0f1d489434dd0946193747ed296760e6c8
91300120d38acb6440a6dbb8c408b1193c07de88
refs/heads/master
2023-07-30T20:09:30.416167
2021-09-23T16:22:40
2021-09-23T16:22:40
279,293,274
0
0
null
null
null
null
UTF-8
Python
false
false
613
py
#!/usr/bin/env python3 """ Script that creates a tensorflow layer that includes L2 regularization """ import tensorflow as tf def l2_reg_create_layer(prev, n, activation, lambtha): """ Returns the output of the new layer """ init = (tf.contrib.layers.variance_scaling_initializer(mode="FAN_AVG")) r...
[ "laabidigh@gmail.com" ]
laabidigh@gmail.com
03d527cf60cbba5087e6c2f5ecd322d88f24d5df
34474048ec5c4850623cf0fea993b43de76fada4
/Tests/unittest/code_gen/tac_o1/complex_arithmetic_scala.tac
a4793330be13ca77ba293130c4276d44431e556e
[]
no_license
imsure/C--
69a80e152936e31b14319ab16c2317d2cacc9165
9991e7135d6ebc8f6f08f46f37b82bfe353ec17f
refs/heads/master
2021-01-13T02:04:07.295401
2015-05-01T01:26:07
2015-05-01T01:26:07
30,732,455
0
0
null
null
null
null
UTF-8
Python
false
false
355
tac
main: Enter main 16 x = 2 y = 3 z = 4 _tvar0 = 'a' * x a = _tvar0 _tvar0 = x + y _tvar0 = a / _tvar0 _tvar0 = _tvar0 * z b = _tvar0 _tvar0 = x + y _tvar0 = a / _tvar0 _tvar0 = _tvar0 * z _tvar0 = _tvar0 - a _tvar0 = _tvar0 + b c = _tvar0 Param c Call print_int 1 _tstr0 = "\n" Param _tstr0...
[ "imsure95@gmail.com" ]
imsure95@gmail.com
43b43ca097b600783dc98cb50fa209bfdaaef741
cc122a6bfc83221f3ef1042d8189dfa28db6b569
/pyrobud/modules/debug.py
bf50c6b9f09585615184fe0230103e9bb294248b
[ "MIT" ]
permissive
leone6969/pyrobud
72d23c370bcf058e88fdd84f01029e6dcf545248
caf69d69eb93fac738c9d72c0dc8dd14687f5c5a
refs/heads/master
2022-09-05T11:07:11.822477
2020-06-02T01:02:27
2020-06-02T01:02:27
268,667,937
0
0
MIT
2020-06-02T01:01:35
2020-06-02T01:01:34
null
UTF-8
Python
false
false
7,746
py
import inspect import io import os import re import sys import traceback from typing import Any, ClassVar, Optional, Tuple import telethon as tg from meval import meval from .. import command, module, util class DebugModule(module.Module): name: ClassVar[str] = "Debug" @command.desc("Evaluate code") @c...
[ "danny@kdrag0n.dev" ]
danny@kdrag0n.dev
555729505ec950f30677da27c09ea5177e044281
0f0bca9f2bbb95122953d99d5722af539aa22905
/rup/bin/pip
b8290786d69963c5045db92cbe8789f739d3061c
[]
no_license
infsolution/trabalho_rup
774bffea118e13afa540d6951f0b3ebcd6122188
16c6b098a365a1a68d0f797dd3183c90d984ed57
refs/heads/master
2020-04-10T19:46:25.101826
2018-12-17T00:09:04
2018-12-17T00:09:04
161,246,648
0
0
null
null
null
null
UTF-8
Python
false
false
265
#!/home/cicero/Documentos/IFPI/ENG_SOFT/trabalho_rup/rup/bin/python3 # -*- coding: utf-8 -*- import re import sys from pip._internal import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "clsinfsolution@gmail.com" ]
clsinfsolution@gmail.com
6c33f26f0a06dad9ea42334fb1d358ed9dc0d117
f7598dfb05ac870515bd5795e85ae9317220ef0f
/bin/gtf2starch
87b07f4894e451cef009648d65d3da08538cc40f
[]
no_license
jfriend08/bin_Leo
3a04cd633b3d22f2928c184eaafbe7b8d2194f97
8833471206502bc4f815586a0a639a5a1deb3139
refs/heads/master
2016-09-01T19:09:24.881974
2013-11-13T04:27:51
2013-11-13T04:27:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,214
#!/usr/bin/env python # # Author: Alex Reynolds # # Project: Converts 1-based, closed [a,b] GTF2.2 input # into 0-based, half-open [a-1,b) six-column extended BED # and thence compressed into a BEDOPS Starch archive sent # to standard output. # # Version: 2.2 #...
[ "ys486@cornell.edu" ]
ys486@cornell.edu
ae82e71426e305d01c3d312c89868f8ccb7fb3d7
63c206d7323689cc0a23e8806ca7d534b80b8b3f
/IntroToEV3/eckelsjd/m1_say_your_name.py
6078275bd3b99060a7945a71dd39b821435998ce
[ "MIT" ]
permissive
eckelsjd-rose-old/csse120
82879898ff2a352bf9496ddbe20ef73703172446
08afd0fd541dc4988230c845d53fad64b95365c9
refs/heads/master
2022-06-09T16:14:06.040584
2020-04-26T02:41:08
2020-04-26T02:41:08
258,922,442
0
0
null
null
null
null
UTF-8
Python
false
false
1,248
py
#!/usr/bin/env python3 """ This module is meant to be your first program that you've made for EV3. Make the robot say your name and then beep. Use the samples to learn the API calls needed (not much code to write) Authors: Dave Fisher and PUT_YOUR_NAME_HERE. """ # TODO: 1. PUT YOUR NAME IN THE ABOVE LINE. ...
[ "eckelsjd@rose-hulman.edu" ]
eckelsjd@rose-hulman.edu
d88b1da0dc55dfa170f355740d4895ccc323f08b
4bd555bc662b8182a2e7644976bfdb00ed5e1ebe
/PythonistaAppTemplate/PythonistaKit.framework/pylib/site-packages/pygments/styles/autumn.py
2e1b480bf3030195171239f10fdbec6b4a38aff5
[]
no_license
fhelmli/homeNOWG2
a103df1ef97194dec9501dbda87ec1f7c111fb4a
e794fd87b296544542fd9dc7ac94c981c6312419
refs/heads/master
2020-04-04T13:40:20.417769
2019-01-30T21:41:04
2019-01-30T21:41:04
155,970,686
0
0
null
null
null
null
UTF-8
Python
false
false
10,048
py
#\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo ...
[ "tberk@gmx.at" ]
tberk@gmx.at
71380099d53c015dd675e7b07a510bc2b754ac5f
c65dd2d48a91044c9079c8411ab303c588b88a1e
/gtloader/log.py
224ac68c7a5b6ca06d5431267ea580dd21bb1377
[ "Python-2.0", "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
geotrellis/python-geotrellis
834d2075666062befb069bc11bda1af8c5fba0e7
819be71fd9fa1c89954be6a117bfc36a419b23ce
refs/heads/master
2020-04-14T23:47:28.114333
2014-08-12T15:46:37
2014-08-12T15:46:37
16,214,363
14
0
null
2014-08-12T15:46:38
2014-01-24T19:22:33
Python
UTF-8
Python
false
false
214
py
""" Cheap and easy logging probably should use python logging """ def error(m,code=1): print 'ERROR: %s' % m exit(code) def warn(m): print 'WARNING: %s' % m def notice(m): print 'NOTICE: %s' % m
[ "rdemanuele@gmail.com" ]
rdemanuele@gmail.com
9e83c5c2ce45f89cbf7ccbbf932711d090cd8332
9050ff35b31487bf8ccbc8b6b3e29b825bb6e8b4
/_site/get_data/models.py
9b2193b51e40935c79d54ed9ec3c3771ce30b8db
[]
no_license
CameronBoudreau/dtna_dashboard
ae05580c9bd80ea915aec1c3241ebfd12759a5a0
b8ade74e16c49ab65c140bfc4865a01c02012ba2
refs/heads/master
2021-01-20T20:10:46.250494
2016-06-27T21:34:06
2016-06-27T21:34:06
62,075,307
1
0
null
null
null
null
UTF-8
Python
false
false
4,705
py
from django.db import models from .functions.process_raw_csv_data import * from .functions.csv_file_paths import * import datetime from django.utils import timezone from datetime import datetime from datetime import timedelta import re """ This model is intended to hold all model data for the raw CSV dumps. """ cla...
[ "cboudreau6238@gmail.com" ]
cboudreau6238@gmail.com
933093a88dad93bd9c38066809aebeb7f454614f
44c5f9840ed5c5e098e8ecf96990a2f8ad6d50eb
/file_pickle.py
b16fbe0d74494372b583b8b380332c87f82f53a8
[]
no_license
chinmairam/Python
619562718197cfdbc804b06559c58ed54114c935
cafcde1788aff801d4cc160090f674537a26f648
refs/heads/master
2023-03-02T17:47:21.903132
2021-01-31T14:46:03
2021-01-31T14:46:03
284,530,274
0
0
null
null
null
null
UTF-8
Python
false
false
156
py
import pickle with open("test.pck", "wb") as f: x = [1,2,3] pickle.dump(x,f) with open("test.pck", "rb") as f: x = pickle.load(f) print(x)
[ "chinmairammuppa@gmail.com" ]
chinmairammuppa@gmail.com
7c469b9b9aa6b30b9ec1a83e32e529dba7c48bf6
04b1803adb6653ecb7cb827c4f4aa616afacf629
/third_party/blink/web_tests/external/wpt/webdriver/tests/get_named_cookie/get.py
50a465191687fe1c79a910cdd6fed376fb001184
[ "BSD-3-Clause", "LGPL-2.0-or-later", "GPL-1.0-or-later", "MIT", "Apache-2.0", "LicenseRef-scancode-warranty-disclaimer", "LGPL-2.1-only", "GPL-2.0-only", "LGPL-2.0-only", "BSD-2-Clause", "LicenseRef-scancode-other-copyleft" ]
permissive
Samsung/Castanets
240d9338e097b75b3f669604315b06f7cf129d64
4896f732fc747dfdcfcbac3d442f2d2d42df264a
refs/heads/castanets_76_dev
2023-08-31T09:01:04.744346
2021-07-30T04:56:25
2021-08-11T05:45:21
125,484,161
58
49
BSD-3-Clause
2022-10-16T19:31:26
2018-03-16T08:07:37
null
UTF-8
Python
false
false
3,551
py
from datetime import datetime, timedelta from tests.support.asserts import assert_error, assert_success from tests.support.helpers import clear_all_cookies from tests.support.inline import inline def get_named_cookie(session, name): return session.transport.send( "GET", "session/{session_id}/cookie/{name}...
[ "sunny.nam@samsung.com" ]
sunny.nam@samsung.com
40018aba914fdd284af9e32e97eb2e4cd98385ad
f67fc0ab57a088106e545fac3986c30f94a0f945
/REQUEST发送请求.py
bed1b695677a9c7304c21c5288e618488dedebf3
[]
no_license
AthlonHD/hdtoolkit
c278e0ef313e2c704793e4eae1f222ad602b5a07
5b7eec86e99fe2715f953edee761465817f0e5d6
refs/heads/master
2023-07-13T00:06:39.917456
2021-08-04T03:28:45
2021-08-04T03:28:45
344,428,430
0
0
null
null
null
null
UTF-8
Python
false
false
562
py
import requests # 导入此库无视"无视证书"引发的错误 import urllib3 from urllib3.exceptions import InsecureRequestWarning urllib3.disable_warnings(InsecureRequestWarning) header = {'token': '抹去', 'ProfileToken': '抹去', 'Content-Type': 'application/json' } data = {"MediaType": "WeChat", "SocialCode": "抹去", ...
[ "admin@example.com" ]
admin@example.com
3e1bf56f5edb403f0b83ab058a45e5f2ba8e12ad
a37c6678a5630925e6600fe65113828918f80563
/raylab/envs/environments/lqr/solver.py
a6831aada67205b65cdc0d172ce28182aa418e26
[ "MIT" ]
permissive
rudrasohan/raylab
658186d2955b7f949ab13045fb8f72ac8bd17978
12b93003a863caf7f9ead621d3afe4c83c4d7ee1
refs/heads/master
2023-03-24T11:03:57.626283
2021-03-11T19:53:53
2021-03-11T19:53:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,493
py
""" Linear Quadratic Regulator (LQR): Please see http://rail.eecs.berkeley.edu/deeprlcourse/static/slides/lec-10.pdf for notation and more details on LQR. """ from typing import List from typing import Tuple import torch import torch.nn as nn from torch import Tensor from .types import Affine from .types import LQR a...
[ "angelolovatto@gmail.com" ]
angelolovatto@gmail.com
8c73952224557668df678638c2746d01d4f106fd
ce7680ac0960fbd889edd7175a15a2ed2eecb484
/supervised_learning/0x0A-object_detection/test/1-V3_yolo.py
265bf148046a168111a7c61fd8825da05fd9ec68
[]
no_license
macoyulloa/holbertonschool-machine_learning
d27075c37ddfc026a984f849a333458b9200f8d8
1d86c9606371697854878b833b810d73c9af7ee7
refs/heads/master
2020-12-22T10:11:42.232484
2020-11-05T04:08:15
2020-11-05T04:08:15
236,747,747
0
0
null
null
null
null
UTF-8
Python
false
false
4,581
py
#!/usr/bin/env python3 """Yolo algorithm construction""" import tensorflow.keras as K import numpy as np class Yolo(): """class Yolo that uses the Yolo v3 algorithm to perform object detection """ def __init__(self, model_path, classes_path, class_t, nms_t, anchors): """ initialization of the va...
[ "malejacoy@hotmail.com" ]
malejacoy@hotmail.com
9bfef6e2603106e27b121a64e66e9a5db1b5efc7
4f31b33a50719d2067991bb5c8dfe7b2ceab84f2
/main.py
a3bd5119a61032d17452f3191ec8573bfa8e3099
[]
no_license
fagan2888/census-proxy
afcd51a8e891e38eeef01a0a73f38e791757fc01
33d5a60514b3f1fd1a3732e92a7d5bdeb43ab2b2
refs/heads/master
2020-12-19T12:04:15.056565
2016-07-19T17:41:33
2016-07-19T17:41:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,518
py
import json import math import requests import pandas as pd from flask import Flask, request app = Flask(__name__) def chunkify(l, n): """Yield successive n-sized chunks from l. From: http://stackoverflow.com/questions/312443/how-do-you-split-a-list-into-evenly-sized-chunks-in-python""" for i in range(0, ...
[ "jspeis@gmail.com" ]
jspeis@gmail.com
c90e96b3c3b0a000dc7328c4806e784ac985da30
fbbe424559f64e9a94116a07eaaa555a01b0a7bb
/Tensorflow/source/tensorflow/python/estimator/exporter.py
c6f20d4a9e2a6b3384ba59ae2df67ff7a3464aa9
[ "MIT" ]
permissive
ryfeus/lambda-packs
6544adb4dec19b8e71d75c24d8ed789b785b0369
cabf6e4f1970dc14302f87414f170de19944bac2
refs/heads/master
2022-12-07T16:18:52.475504
2022-11-29T13:35:35
2022-11-29T13:35:35
71,386,735
1,283
263
MIT
2022-11-26T05:02:14
2016-10-19T18:22:39
Python
UTF-8
Python
false
false
9,742
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...
[ "ryfeus@gmail.com" ]
ryfeus@gmail.com
9607f6d2649d6b5eab062f2a8690e77fcaae16e6
eef86d5773d4492e0566ec4e1ee809d17e5d0ca9
/MAST/structopt_stem/tests/test_algorithms.py
64457641a55ee0015ff6fe50cb547210dd3ec812
[ "MIT" ]
permissive
uw-cmg/MAST
7b3a269a5ae5bb77136bd1ec40c25ad819f70a48
399c320c79b954126a2741c47a32e10fd12b2e7e
refs/heads/dev
2020-04-12T08:16:19.925314
2018-01-05T03:58:53
2018-01-05T03:58:53
8,782,093
20
8
null
2016-02-25T05:07:18
2013-03-14T18:15:46
Python
UTF-8
Python
false
false
1,808
py
from MAST.structopt_stem import Optimizer from mpi4py import MPI rank = MPI.COMM_WORLD.Get_rank() parameters = {'structure' : 'Cluster', 'optimizer_type' : 'GA', 'atomlist' : [('Au',1,196.9665,0.0)], 'natoms' : 10, 'nindiv' : 10, 'maxgen' : 10, 'r...
[ "mayeshiba@wisc.edu" ]
mayeshiba@wisc.edu
05ae752700ebb3916f58e81b79ed91eeda4fa757
5ec06dab1409d790496ce082dacb321392b32fe9
/clients/python/generated/swaggeraemosgi/model/com_adobe_cq_commerce_impl_asset_video_handler_info.py
dfaa6079b0888b2a01f1aad3864eb7d512b2cb90
[ "Apache-2.0" ]
permissive
shinesolutions/swagger-aem-osgi
e9d2385f44bee70e5bbdc0d577e99a9f2525266f
c2f6e076971d2592c1cbd3f70695c679e807396b
refs/heads/master
2022-10-29T13:07:40.422092
2021-04-09T07:46:03
2021-04-09T07:46:03
190,217,155
3
3
Apache-2.0
2022-10-05T03:26:20
2019-06-04T14:23:28
null
UTF-8
Python
false
false
7,499
py
""" Adobe Experience Manager OSGI config (AEM) API Swagger AEM OSGI is an OpenAPI specification for Adobe Experience Manager (AEM) OSGI Configurations API # noqa: E501 The version of the OpenAPI document: 1.0.0-pre.0 Contact: opensource@shinesolutions.com Generated by: https://openapi-generator.t...
[ "cliffano@gmail.com" ]
cliffano@gmail.com
4a8efcd7f14fad410f5b7e1e3f5a62397d7fe9a0
5fd20e12a2c1d37618b74a86b582495452cd6c36
/codes/test_dataloader.py
40a7ecec477c7add7688187e8e8cb6f177e8dc51
[]
no_license
JaredYeDH/BasicSR
7df8cddde856a7fda950512065cd0d806880940c
9ff885f029695d67d4ca99d20718d88d3d9a53de
refs/heads/master
2020-03-19T07:37:45.877116
2018-05-30T15:54:58
2018-05-30T15:54:58
136,133,355
2
0
null
2018-06-05T06:52:47
2018-06-05T06:52:46
null
UTF-8
Python
false
false
1,605
py
import time import math import torchvision.utils from data import create_dataloader, create_dataset opt = {} # # subset and HR path only # opt['name'] = 'ImageNet' # opt['dataroot_HR'] = '/mnt/SSD/xtwang/ImageNet_train' # opt['dataroot_LR'] = None # opt['subset_file'] = '/mnt/SSD/xtwang/BasicSR_datasets/ImageNet_lis...
[ "wxt1994@126.com" ]
wxt1994@126.com
8f0a09e8954e6a2fd882149393abb21dc86106e1
912479baa9bae04fe017778f9d5f7bd5236b0368
/_2017/putnam.py
fecd7b89736dc1b88b033bba7f3c8c482df53f7b
[ "MIT" ]
permissive
Rimm249/videos
3a9071a38e1c7790e718ddd8ea772f1bada0e7fb
0e740522e75e094809f6a7e02218b11c18d3c144
refs/heads/master
2023-02-11T12:19:13.263609
2021-01-15T20:22:20
2021-01-15T20:22:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
52,509
py
from manim_imports_ext import * class ShowExampleTest(ExternallyAnimatedScene): pass class IntroducePutnam(Scene): CONFIG = { "dont_animate" : False, } def construct(self): title = TextMobject("Putnam Competition") title.to_edge(UP, buff = MED_SMALL_BUFF) title.set_colo...
[ "grant@3blue1brown.com" ]
grant@3blue1brown.com
687ce83d34ec41ccdbe8303d0b501db4d1c1c0a8
eb64b799ff1d7ef3a244bf8e6f9f4e9118d5cfcd
/tests/components/kmtronic/test_config_flow.py
fabd8738259dbc630fd242f132ea35b7e4ca8c22
[ "Apache-2.0" ]
permissive
JeffLIrion/home-assistant
53966b81b5d5816679f12fc761f79e8777c738d6
8f4ec89be6c2505d8a59eee44de335abe308ac9f
refs/heads/dev
2023-08-22T09:42:02.399277
2022-02-16T01:26:13
2022-02-16T01:26:13
136,679,169
5
2
Apache-2.0
2023-09-13T06:59:25
2018-06-09T00:58:35
Python
UTF-8
Python
false
false
4,877
py
"""Test the kmtronic config flow.""" from http import HTTPStatus from unittest.mock import Mock, patch from aiohttp import ClientConnectorError, ClientResponseError from homeassistant import config_entries, data_entry_flow from homeassistant.components.kmtronic.const import CONF_REVERSE, DOMAIN from homeassistant.con...
[ "noreply@github.com" ]
JeffLIrion.noreply@github.com
5a0eb63e5fea17f89a10dcd645a2f36a756a959c
3a513d10749b7e35913b908cfeae37840d6dda22
/conf/urls.py
f17e0b0180ad7515bba66a54d6ad86738c99288d
[]
no_license
sheepsy90/django-rbe-sample-app
33b923fb97a065518d0c620e3d07ffaffbddefe7
f43ee24a76167d9b5882dfd9810e2d7065cec68d
refs/heads/master
2020-07-30T21:56:02.634934
2016-11-13T15:50:43
2016-11-13T15:50:43
73,618,485
0
0
null
null
null
null
UTF-8
Python
false
false
466
py
from django.conf.urls import url from sample.views import authorize_at_core, auth_callback, index, landing, logout urlpatterns = [ # The admin urls and the standard index page url url(r'^landing', landing, name='landing'), url(r'^authorize_at_core/', authorize_at_core, name='authorize_at_core'), url(r...
[ "robert.kessler@klarna.com" ]
robert.kessler@klarna.com
d72ffd7b3e4a23198a5bb7b0f0720dcc4678ae7e
d33b768704278b6eba4f8d9c6e367cce594a457d
/sets.py
aaddad60cb29e4fb9e7dfbd24961055ce4b0b2fa
[]
no_license
ashishjsharda/PythonSamples
b71ecfe5768a86bbea4ac3ec683f83b633e85d97
433e14707ff1ce08d2e5110521caf08969db08ea
refs/heads/master
2021-01-19T21:09:01.697894
2020-03-27T10:37:18
2020-03-27T10:37:18
88,614,789
0
0
null
null
null
null
UTF-8
Python
false
false
238
py
''' Created on Jul 16, 2019 @author: asharda ''' #Create a Set animals={"cat","dogs"} #Check if an element is in a set print("cat" in animals) #Print Length print(len(animals)) #Add a new element animals.add("Tiger") print(len(animals))
[ "noreply@github.com" ]
ashishjsharda.noreply@github.com
9604a7430e66d21cf6da0f97a9ce4ac4d44a9300
633eadb2ff150378fa44c14c010d5b657643ac55
/utils/pretrained_discriminator.py
af1555a5ef9325e55d29863f2bc02c2e607b11a9
[ "MIT" ]
permissive
ankitvad/control-sum-cmdp
4666e6bd0965de35fea6291ca8d01ff8bd860a96
5181e8e0c9bf6bef48f66457e06d3f398f4a428a
refs/heads/main
2023-07-06T12:32:44.251961
2021-08-10T02:21:03
2021-08-10T02:21:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,213
py
import torch from transformers import (WEIGHTS_NAME, BertConfig, BertForSequenceClassification, BertTokenizer, XLMConfig, XLMForSequenceClassification, XLMTokenizer, XLNetConfig, XLNet...
[ "kenchanhp@gmail.com" ]
kenchanhp@gmail.com
4dfde2e405de0cde0785ac94dd22168f47d243de
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2672/40186/320576.py
e38f4b0fe79055d19e6e3df50a9e0ad765f6a094
[]
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
397
py
t = int(input()) for i in range(t): j = int(input()) if j==1: print(4294967294) elif j==428938: print(4294538357) elif j==4289: print(4294963006) elif j==4294967294: print(4294967294) elif j==428: print(4294966867) elif j==4289384: print(429067...
[ "1069583789@qq.com" ]
1069583789@qq.com
d50f3aa5bdf2085aaf8d47631979d7dfd918b1ce
cd95ae85d38a71a8d97e0c75df55d14bd0f6ed9c
/qa/rpc-tests/disablewallet.py
bb40de2d23d58b3d67644fd3fcddebf700c68c6a
[ "MIT" ]
permissive
mirzaei-ce/core-islambit
737c5a5333621b5d00a41206fb2e7248f59164fc
172b0a8fcc9010520ef74edc7808bd842e491636
refs/heads/master
2021-05-15T12:17:18.667104
2017-10-26T14:08:56
2017-10-26T14:08:56
108,420,142
0
0
null
null
null
null
UTF-8
Python
false
false
1,160
py
#!/usr/bin/env python2 # Copyright (c) 2014-2015 The Bitcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. # # Exercise API with -disablewallet. # from test_framework.test_framework import IslambitTestFramework ...
[ "mirzaei@ce.sharif.edu" ]
mirzaei@ce.sharif.edu
afd592de8d1f2790d9256a12716cfc4ba1554359
5f64d91dc45e58c8e73a52985c6db45d340d09cc
/Pibow_Zero_1.3/vertical_striper_13.py
6a3a4266857ff433f404d33974d2825df128a009
[]
no_license
Breakfast-for-Pigeons/Unicorn-PHAT
e0343eb9a46c4b7be11d5028be07ea6b0f071efd
6e70302eac995cd11821ecf2ee363a1b926df2ce
refs/heads/master
2023-01-01T18:05:27.436081
2020-10-23T22:18:13
2020-10-23T22:18:13
74,320,010
5
2
null
null
null
null
UTF-8
Python
false
false
2,042
py
#!/usr/bin/python3 """ Vertical Striper 13 - Pibow Zero 1.3 With the Raspberry Pi oriented with the GPIO pins at the top, this program stripes from right to left and alternates between from the bottom to the top and from top to bottom. This is exactly the same as Vertical Striper 5 except the color order is reversed....
[ "noreply@github.com" ]
Breakfast-for-Pigeons.noreply@github.com
ce67fad531dbf339d6d60cce2c1431e6ef9e24da
cd557e3c2b34f30f2e7caf7c79c07ff6e109fbd3
/zaf/systest/tests/application/application.py
5cc69421c68d39fd31cf1cb3dce491753f18c547
[ "Apache-2.0" ]
permissive
Zenterio/opensourcelib
f005174c049df0f5deddc1269d7c343a8e219ca5
07f0dabffaceb7b6202b5f691cbad46dac5868a8
refs/heads/master
2022-12-09T02:53:36.444094
2021-04-28T18:03:24
2021-05-27T13:14:58
186,092,997
5
6
NOASSERTION
2022-12-07T23:37:26
2019-05-11T05:44:37
Groovy
UTF-8
Python
false
false
530
py
from zaf.component.decorator import requires @requires(app='ZafApp') def test_application_noop(app): app(['noop'], 'noop') @requires(app='ZafApp') def test_help_on_subcommand(app): result = app(['noop'], 'noop --help') assert 'Usage:' in result.stdout, result.stdout @requires(app='ZafApp') def test_he...
[ "per.bohlin@zenterio.com" ]
per.bohlin@zenterio.com
97fc9ead5d9fb91179a809af9d8e5ebc3381bd00
2a3adc9e472ef5831aa5ce453f78140f80c204f6
/dmengine/reporting/paradigms.py
e2edd3e6456ff31c73683ecdec8048dad2b7f6b3
[ "MIT" ]
permissive
xflr6/dmengine
ee65d998a26a8ba9cb8c2d8773a7dc00532291c1
90d0f58101f1fd052f297a0c1e78052687b5acfc
refs/heads/master
2023-07-21T03:59:47.391098
2023-07-16T14:29:38
2023-07-16T14:29:38
20,199,129
2
3
MIT
2021-03-26T07:38:11
2014-05-26T21:36:40
Python
UTF-8
Python
false
false
2,967
py
from .common import tabular from .features import render_features from .inputs import render_slotlist from .tools import grouper from .vis import render_exponent def is_transitive(paradigm): filled_headers = tuple(bool(h) for h in paradigm['headers']) return {(True, False): False, (True, True): True}[filled_h...
[ "sebastian.bank@uni-leipzig.de" ]
sebastian.bank@uni-leipzig.de
e5eca3e41859b1c71614cdebc28ab6219dce1a05
30de452d89eacf48f61ceddfaff86aa62d505507
/traits/tests/test_unicode_traits.py
c231ad4cfca1697208a3de29fa4c12195720cfe9
[ "BSD-3-Clause", "CC-BY-3.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
odidev/traits
92224376b5444a7a5f805b474f0aa53ac1ca7cd2
52f4d00248cec5dbf0826de4e846b4ad83cf072e
refs/heads/master
2023-06-18T16:53:43.850534
2021-07-14T05:48:46
2021-07-14T05:48:46
388,075,888
0
0
NOASSERTION
2021-07-21T10:31:06
2021-07-21T10:11:23
null
UTF-8
Python
false
false
798
py
# (C) Copyright 2005-2021 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD # license included in LICENSE.txt and may be redistributed only under # the conditions described in the aforementioned license. The license # is also available online at...
[ "noreply@github.com" ]
odidev.noreply@github.com
a276bedc799cda4a5e3d8ddea700c74a5fdb5206
0779a52fd13cdc7e7c6dfbc7cfbe924cda784e88
/scripts/02-gym-profiling.py
1601c7559f11d9f484bdb5c46fd29e3f87de6de1
[ "MIT" ]
permissive
mweiss17/SEVN
a9d5486dd6a89164b08ba8bf61d3d9326c04daff
4ce27959576c89ef288986fb23ab46b5710d58a8
refs/heads/master
2023-04-12T21:45:35.982625
2021-07-19T21:03:12
2021-07-19T21:03:12
184,486,588
26
2
MIT
2023-04-11T23:30:30
2019-05-01T21:53:53
Python
UTF-8
Python
false
false
1,170
py
import time import gym from tqdm import trange import SEVN_gym import matplotlib.pyplot as plt import numpy as np from SEVN_gym.envs.utils import denormalize_image, unconvert_house_numbers, unconvert_street_name from SEVN_gym.envs.wrappers import unwrap_obs env = gym.make("SEVN-Train-AllObs-Shaped-v1") timings = [...
[ "fgolemo@gmail.com" ]
fgolemo@gmail.com
d3f57fedff9ed37770975606e571c4050416b784
1e899684463072197c09e2444cd92d0c85379f4a
/src/BearSki/template/CreateDataTableFile.py
02a68685da01cbeb98e38829d4143a7aa4a35d04
[ "MIT" ]
permissive
Ou-linx/BearSki
b665649184631809eec79246fa78e0eda857eb4e
bdc75d6f06946896e2128f1c095b9baf9863b124
refs/heads/master
2023-06-29T06:56:38.688363
2020-06-19T18:14:12
2020-06-19T18:14:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,094
py
from openpyxl import Workbook from openpyxl.utils import get_column_letter import os from openpyxl.styles import PatternFill def createDTF(path): wb = Workbook() dest_filename = os.path.join(path,'testdata.xlsx') ws1 = wb.active ws1.title = "example" ws1['A1']='DataID' ws1['B1']='Remark' ws1['C1']='u...
[ "chen6_9@163.com" ]
chen6_9@163.com
b1230a57ccb078ca303281650b9420de6f7bb188
5847d094795608fabf8df71d05af22341c249801
/django/bloggy/blog/models.py
26bfb0d453457c2ce89d773ac903157e0f8ecb54
[]
no_license
thomaswhyyou/book2-exercises
104f14c3e85c11e547da797df8a56f4ac7716f65
485b649537328442b5e14480fa86b252578ef332
refs/heads/master
2021-01-19T06:06:44.008814
2014-03-25T07:58:53
2014-03-25T07:58:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
383
py
from django.db import models class Post(models.Model): created_at = models.DateTimeField(auto_now_add=True) title = models.CharField(max_length=100) content = models.TextField() tag = models.CharField(max_length=20, blank=True, null=True) image = models.ImageField(upload_to="images", blank=True, nu...
[ "hermanmu@gmail.com" ]
hermanmu@gmail.com
11b6da157a6a5b0c30b86b6fd1f43540998c65da
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02742/s848909532.py
c98173f8c5418205b3c5b6811b3561a5886835b0
[]
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
177
py
H, W = map(int, input().split()) if H == 1 or W ==1: print(1) elif H % 2 == 0: print(H * W // 2) elif W % 2 == 0: print(W * H // 2) else: print((H * W + 1) // 2)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
87c60a228035af86f233b546297865847651b28a
7e547a4b8faa4cb026a09783fec4fe9930d7994a
/2021/matrix/LAB/03.py
37594a7af342453a5f7104ca3f851fe4ff6b07ef
[]
no_license
borko81/python_advance
de9bb1c7c3fe6914a7c850deef9eef2979b3caaf
1726ac8f2363f7d194b7e386450f80b291a5f1c9
refs/heads/master
2023-05-04T13:55:07.194116
2021-05-25T19:47:39
2021-05-25T19:47:39
296,580,430
0
0
null
null
null
null
UTF-8
Python
false
false
289
py
rows = int(input()) matrix = [[0] * rows for _ in range(rows)] sum_diagonal: int = 0 for r in range(rows): line = [int(x) for x in input().split(' ')] for c in range(rows): matrix[r][c] = line[c] if r == c: sum_diagonal += line[c] print(sum_diagonal)
[ "bstoilov81@gmail.com" ]
bstoilov81@gmail.com
6025f000dc237ae492e8bc6947328dee2809b480
84de9423c003e22631a549dd767f7f88006f73d5
/tests/fail/runtest.py
54014e1197dd19ccbd4a1ebe049e1b98c461b7c9
[ "Apache-2.0" ]
permissive
Go0zx/NyuziProcessor
7c23cdad06cff0e0d6f77264e54b1fa826231e91
35264d91dafbf0455e551e3e1f3cd1a0f429c991
refs/heads/master
2020-08-07T20:51:04.594123
2019-10-05T13:07:29
2019-10-05T15:27:20
213,583,543
1
0
Apache-2.0
2019-10-08T08:04:20
2019-10-08T08:04:19
null
UTF-8
Python
false
false
2,118
py
#!/usr/bin/env python3 # # Copyright 2011-2015 Jeff Bush # # 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 l...
[ "jeffbush001@gmail.com" ]
jeffbush001@gmail.com
a08b1ba621ca715bbebafc7d0c2f42aa89b34357
f3f3c4661ea0b9178d7e351ed9df2ff59b282f33
/front-end/testsuite-python-lib/Python-2.3/Lib/plat-mac/MiniAEFrame.py
d6482c61c8fb61d45441c0dcb3e1fdfc0710b92f
[ "MIT" ]
permissive
ktp-forked-repos/parsing-python
37bf819e45302cadddf815d9d3817e1259ca8bdd
b2bca5eed07ea2af7a2001cd4f63becdfb0570be
refs/heads/master
2020-05-07T18:40:41.391143
2018-04-05T18:07:24
2018-04-05T18:07:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,488
py
"""MiniAEFrame - A minimal AppleEvent Application framework. There are two classes: AEServer -- a mixin class offering nice AE handling. MiniApplication -- a very minimal alternative to FrameWork.py, only suitable for the simplest of AppleEvent servers. """ import sys import traceback import MacOS fro...
[ "jpower@cs.nuim.ie" ]
jpower@cs.nuim.ie
88418daff970a750f8926671e818260ab433a40d
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02413/s589615393.py
540f4e4d95b52001a5e131d30db536b401c13a27
[]
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
339
py
R, C = map(int, raw_input().split()) chart = [] for r in range(R): row = map(int, raw_input().split()) chart.append(row) col = [0] * C for r in range(R): row = chart[r] row.append(sum(row)) print ' '.join(map(str, row)) for c in range(C): col[c] += row[c] for c in range(C): print col...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
fc45d06b0f82130eb427ca5ce7f3fe68b1e9d260
298b700681e384623fca622ecf4ed4ec003910d8
/program/data_util/util.py
81a53d2f733af4a17ef902e19c09c07a0b854d49
[]
no_license
Shanlans/protein_classification
40d4d519816d695957eb800db7189cb1f84a9969
dc34183cb2ef02afb140cef06bcc850cc58b38e0
refs/heads/master
2020-04-01T22:55:39.570170
2019-02-18T01:32:58
2019-02-18T01:32:58
153,733,106
0
0
null
null
null
null
UTF-8
Python
false
false
2,240
py
import numpy as np import pandas as pd from collections import OrderedDict label_names = { 0: "Nucleoplasm", 1: "Nuclear membrane", 2: "Nucleoli", 3: "Nucleoli fibrillar center", 4: "Nuclear speckles", 5: "Nuclear bodies", 6: "Endoplasmic reticulum", ...
[ "shenshanlan@gmail.com" ]
shenshanlan@gmail.com
60a92634dcb5758496ad9084a9c8264e7c8161bd
9b5c995b247803b64895223fc51f407e9da2df45
/Python_project/Assignments/assign13.py
16f749a499921e08b89412b3e387d4ff2b1494ba
[]
no_license
Shyam-Personal/python_repo
3453156ed73efaa91fa5e01dd15a1a0e664d3d22
1809de5afbecc1fd17cd70ae80a1eb4b9282d554
refs/heads/master
2021-01-25T14:10:30.394842
2019-09-23T13:26:47
2019-09-23T13:26:47
123,660,813
1
0
null
null
null
null
UTF-8
Python
false
false
426
py
''' 13. WaP to print Fibonacci series upto n (n - Accept from user) ''' def fibbonacci(num): fib = [] for i in range(num): if i == 0: fib.append(0) elif i == 1: fib.append(1) else: fib.append(fib[i-1] + fib[i-2]) return fib def main(): ...
[ "shyamdeshmukh1@gmail.com" ]
shyamdeshmukh1@gmail.com
64d9f97a69a9b8cef441cdf4955579e497338008
98c6ea9c884152e8340605a706efefbea6170be5
/examples/data/Assignment_8/fldjon004/question2.py
0660784dc91112b5676615f34d94e15bae501862
[]
no_license
MrHamdulay/csc3-capstone
479d659e1dcd28040e83ebd9e3374d0ccc0c6817
6f0fa0fa1555ceb1b0fb33f25e9694e68b6a53d2
refs/heads/master
2021-03-12T21:55:57.781339
2014-09-22T02:22:22
2014-09-22T02:22:22
22,372,174
0
0
null
null
null
null
UTF-8
Python
false
false
542
py
#Jono Field #May 7 #Question 2 def Pairs(p): if len(p) == 1: #The base case return 0 elif len(p) == 2: if p[0] == p[1]: #compares character '1', to following character return 1 else: return 0 elif p[0] == p[1]: #process in bas...
[ "jarr2000@gmail.com" ]
jarr2000@gmail.com
5cef6d818eeee7be8bcba7177961b3420416002f
ab887977b62bf3eb182169fd7ee7ef3fbb94c0ba
/flakehell/commands/_codes.py
d30cd8c51078f1930f0a3df9d16894158ccb8025
[ "MIT", "CC-BY-4.0", "CC-BY-SA-4.0" ]
permissive
pwoolvett/flakehell
9a25ffed9e791806a2257e9b70ac7843b2e97b91
a6906dfe581b43b18d4886c1d051e5ac23733d98
refs/heads/master
2023-08-25T21:31:20.527089
2021-02-09T19:48:39
2021-02-09T19:48:39
331,720,638
1
0
MIT
2021-01-21T18:47:16
2021-01-21T18:40:32
null
UTF-8
Python
false
false
1,194
py
# built-in import re # app from .._constants import ExitCode from .._logic import color_code, color_description, extract from .._types import CommandResult REX_CODE = re.compile(r'([A-Z]+)([0-9]+)') REX_PLACEHOLDER = re.compile(r'(\{[a-z0-9]+\}|\%[a-z])') REX_QUOTES = re.compile(r'([\"\'\`][\w\s\:\_\-\.]+[\"\'\`])')...
[ "master_fess@mail.ru" ]
master_fess@mail.ru