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
75dc338daea932cc2630b2809fb19f502a9f2efc
781e2692049e87a4256320c76e82a19be257a05d
/all_data/exercism_data/python/meetup/1da6b0db582c42d8a0af6425c0af6fca.py
d7f2b9214a9361149878afa54aa7aa563be66f2c
[]
no_license
itsolutionscorp/AutoStyle-Clustering
54bde86fe6dbad35b568b38cfcb14c5ffaab51b0
be0e2f635a7558f56c61bc0b36c6146b01d1e6e6
refs/heads/master
2020-12-11T07:27:19.291038
2016-03-16T03:18:00
2016-03-16T03:18:42
59,454,921
4
0
null
2016-05-23T05:40:56
2016-05-23T05:40:56
null
UTF-8
Python
false
false
1,772
py
from datetime import date as Date import calendar DEFAULT_CONDITIONS = {'1st': 0, '2nd': 1, '3rd': 2, '4th': 3, 'last':-1, 'teenth' : 'teenth'} def meetup_day(year, month, weekday, condition, condition_dict=DEFAULT_CONDITIONS): """ calculates the date of meetups year (int): year ...
[ "rrc@berkeley.edu" ]
rrc@berkeley.edu
167f20678d7a707e37ffbcb6e916a647d4d3a34d
11130633fe59b222da0696dc05e72ac30871a573
/Problem_Solving/leetcode/linear_data_structure/Hash/771_Jewels_and_Stones/jewelsAndStones_v2.py
4aee598aaee6f5c874108077ca2fdd955ae5e43e
[]
no_license
Jin-SukKim/Algorithm
024aa77c6bf63666910a1eb03407e808a05307ec
5f2a14fe1f64032126df55b1eadc1580a32735f3
refs/heads/master
2023-09-01T20:50:13.150780
2023-09-01T07:54:32
2023-09-01T07:54:32
263,555,962
4
0
null
2023-02-14T14:36:38
2020-05-13T07:24:51
C++
UTF-8
Python
false
false
338
py
# defaultdict을 이용해 비교 생략 import collections def numJewelsInStones(self, jewels: str, stones: str) -> int: freqs = collections.defaultdict(int) # 비교 없이 돌 빈도 수 계산 for char in S: freqs[char] += 1 for cahr in J: count += freqs[char] return count
[ "99wlstjr@gmail.com" ]
99wlstjr@gmail.com
e4483525947a240969d0c4421d34206515acf2fe
ee41311a11a1c6baedafd9a914d5a1f8330fe8a9
/SANEF_LIVE/venv/Lib/site-packages/numba/roc/dispatch.py
adf04e07f7988e8e2c959635ccfd09faecac4831
[]
no_license
sethnanati/CodeRepoPython
2dffb7263620bd905bf694f348485d894a9513db
b55e66611d19b35e9926d1b1387320cf48e177c8
refs/heads/master
2023-07-07T11:16:12.958401
2021-02-13T10:09:48
2021-02-13T10:09:48
376,531,283
0
0
null
null
null
null
UTF-8
Python
false
false
4,899
py
from __future__ import absolute_import, division, print_function import numpy as np from numba.npyufunc.deviceufunc import (UFuncMechanism, GenerializedUFunc, GUFuncCallSteps) from numba.roc.hsadrv.driver import dgpu_present import numba.roc.hsadrv.devicearray as devicea...
[ "adeyemiadenuga@gmail.com" ]
adeyemiadenuga@gmail.com
63857e9cfe625801703efb3524d1653eea26fad1
05331bebd725758555d30ac41c38731b4a14d6c1
/catalog/migrations/0004_auto_20170927_0936.py
bf92808c089abf5a7f3150eacc0948f57d3b9119
[]
no_license
cabilangan112/System
ee397520c969ae93220ba9319f084147040e59e7
4b980f15655e60ac08d2a0a373f7930aa34d1937
refs/heads/master
2021-07-14T03:36:17.393314
2017-10-20T01:09:02
2017-10-20T01:09:02
105,743,649
0
0
null
null
null
null
UTF-8
Python
false
false
767
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.3 on 2017-09-27 01:36 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('catalog', '0003_genre_type'), ] operations = [ migrations.RemoveField( ...
[ "jassencabilangan@gmail.com" ]
jassencabilangan@gmail.com
3828a5068c3db1b95611fb312d89c9c51f235383
f187dbd2472a913c364afa5b42144f4d5f835b27
/gimmemotifs/commands/index.py
274e69ba789b623e9abb74c4126970f2d520a8c7
[ "MIT" ]
permissive
PanosFirmpas/gimmemotifs
29dac1c2a898373faa13da26dd4615f8c4f72c1a
34adc54f7e44a0d59edb8f50d54599e83c041815
refs/heads/master
2020-12-11T01:49:39.333328
2016-03-09T11:40:48
2016-03-09T11:40:48
53,593,383
0
0
null
2016-03-10T15:02:30
2016-03-10T15:02:29
null
UTF-8
Python
false
false
1,392
py
#!/usr/bin/env python # Copyright (c) 2009-2016 Simon van Heeringen <simon.vanheeringen@gmail.com> # # This module is free software. You can redistribute it and/or modify it under # the terms of the MIT License, see the file COPYING included with this # distribution. import sys import os from tempfile import NamedTe...
[ "simon.vanheeringen@gmail.com" ]
simon.vanheeringen@gmail.com
2e91816285974c3b72527bb37a25b0c8def643b4
a3f5b5ad239d8b1df70bffd926f2204c2a6b065a
/scripts/services/customfield.py
06cf8ece5d177c88492bce0d985d1b30541fac2b
[]
no_license
shortdistance/testSys
66b4bdf7cfd27c205fa50b0097cd4dc463dafe74
672beeb20e5e0c23a438a717bb04308c62412c87
refs/heads/master
2021-01-20T14:15:45.991382
2017-05-08T02:25:25
2017-05-08T02:25:25
90,577,917
0
0
null
null
null
null
UTF-8
Python
false
false
7,322
py
# -*- coding: utf-8 -*- from scripts.models import database from scripts.models.customfield import ObjectType, CustomField, CustomFieldValue from scripts.config import * from datetime import datetime from sqlalchemy.orm import joinedload from sqlalchemy import func def query_customfield(projectid): session = dat...
[ "zhanglei520vip@163.com" ]
zhanglei520vip@163.com
244762b61c938074dc59dd57aca21bd626d62c2a
38ac429d63369922e12e19cdda042b08b8123027
/test/test_json_connection_string_parameter_jdbc_driver_request.py
17425fc654ca1b69644bc7f6f17f7819eda6a744
[]
no_license
aviv-julienjehannet/collibra_apiclient
0dfebe5df2eb929645b87eba42fab4c06ff0a6be
10a89e7acaf56ab8c7417698cd12616107706b6b
refs/heads/master
2021-09-12T16:52:19.803624
2018-04-19T01:35:20
2018-04-19T01:35:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,225
py
# coding: utf-8 """ \"Data Governance Center: REST API v2\" No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 OpenAPI spec version: 2.0 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import ...
[ "busworld08@gmail.com" ]
busworld08@gmail.com
5364b1e32b5c8e74348f8163b9d5f8143f5eaf0a
b052dbdf91a7446ca5437253e74e88b03a7dbd69
/cleave/core/client/timing.py
155f526b95612fe9491ee04cc16b2b136e35be9b
[ "Apache-2.0" ]
permissive
mattiadallavia/cleave_neural
a1fd3a3859d943094115d609f9f226960aef6e1d
a922ab5146607b7e9b206bd29bd199bd632d2b5c
refs/heads/master
2023-02-03T19:11:11.426355
2020-12-24T15:17:44
2020-12-24T15:17:44
308,302,192
0
1
null
null
null
null
UTF-8
Python
false
false
3,703
py
# Copyright (c) 2020 KTH Royal Institute of Technology # # 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 appli...
[ "manuel@olguin.se" ]
manuel@olguin.se
0985506e7662bc95d3f3b0339d6a7ba061ed3dcf
6b74753d1700c7b6942ab993213824f18aa9f6da
/conditionExtrection/condition_extractor.py
e9353c908d3852bd245905e0d0f7a7004c6e02c3
[]
no_license
cross-library/data_policy_analyzer222
23637f254ce3d12b2f5bdd7039c22f30bceefd7b
717da99296c9cd64f676b635ff8b362aad418051
refs/heads/master
2022-11-08T06:29:31.664805
2020-06-27T02:06:14
2020-06-27T02:06:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
29,120
py
import matplotlib.pyplot as plt from conditionExtrection.get_clauses import * from conditionExtrection.pattern import * import datetime from conditionExtrection.get_sentiment import * from filterSentenceByVerb.extract_policy_statement import * from conditionExtrection.get_data_condition_pair import * class PolicyStat...
[ "xiaoyue10131748@gmail.com" ]
xiaoyue10131748@gmail.com
cf5bc99b77e96bfa02799c9b669b058ef39b848c
2fa7339e9cc0a67ae52f4f5ef8ab475200127ad8
/Figure4E/Make_fig4E.py
d8c5d3a9e0e1ccff8451356937b3f94a08d00fae
[]
no_license
ModelDBRepository/239427
2a9cac7240039cb8fd80de206b6287a16953acea
23ee1a0aa66a31367a4929d30de8616d740f2e4c
refs/heads/master
2020-05-29T18:21:42.164919
2019-05-31T04:34:08
2019-05-31T04:34:08
189,297,514
0
0
null
null
null
null
UTF-8
Python
false
false
2,964
py
################################################################################## # Make_fig4E.py - Load the data and generate figure 4E # # Author: Victor Pedrosa # Imperial College London, London, UK - Jan 2017 ################################################################################## # --------------------...
[ "tom.morse@yale.edu" ]
tom.morse@yale.edu
02420eea35971036d3f0f9602ac8e4fec9afbed6
ec1deb682fb96a1f937f2fca5f161aa951462876
/pythonTextBook/exercises/files/exTenTwo.py
aa35f998ed02bc7eec105b5c9667a4f7664afaf6
[]
no_license
AnatoliKosarev/Python-beginner-course--Teclado-
31d82f5e9a1f39e2970323bed9de1fd539990565
fa91199938d6975b5874341585343566caaf3600
refs/heads/main
2023-06-30T12:14:33.779827
2021-07-24T11:16:19
2021-07-24T11:16:19
376,371,590
0
0
null
null
null
null
UTF-8
Python
false
false
295
py
def replace_value(filename, old_value, new_value): with open(filename, "r") as file: return [line.replace(old_value, new_value) for line in file.readlines()] contents = replace_value("learning_python.txt", "Java", "Python3") for cont_line in contents: print(cont_line.strip())
[ "anatoli.kosarev@gmail.com" ]
anatoli.kosarev@gmail.com
3bada8bfd308068d783ece8e6f974df98bcd5d9b
6c083d19a4e95a5b61637db8ec042ce4a338b6b0
/python_crud/crud/contacts.py
38c0e42bfc2d5fd8ac93f75e7d32cd31314c5667
[]
no_license
zeionara/barbershop
a0269e58bbd10a2f969f574f5c4296ba69aa09ca
e4600b7b5483b2692b0fbb6ba0f5b8dbbb839e01
refs/heads/master
2021-03-27T10:15:17.820736
2017-12-22T15:27:46
2017-12-22T15:27:46
110,250,691
2
1
null
null
null
null
UTF-8
Python
false
false
1,806
py
import sys sys.path.insert(0, '../') import cx_Oracle import notifiers import parameter_getters import commons table_name = "contacts" columns = (("id", "-ci", "int", 10), ("person_id","-i", "int", 10), ("person_status","-s", "str", 15), ("type","-t", "str", 10), ("contact", "-c", "str", 30)) def create(c...
[ "zeionara@gmail.com" ]
zeionara@gmail.com
764194cf52defde5c0004771826b520413a0ad03
bc441bb06b8948288f110af63feda4e798f30225
/database_delivery_sdk/model/metadata_center/stream_alert_states_pb2.pyi
3b92330a3fb1bf2bda32dc892e484eccf6ea3b69
[ "Apache-2.0" ]
permissive
easyopsapis/easyops-api-python
23204f8846a332c30f5f3ff627bf220940137b6b
adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0
refs/heads/master
2020-06-26T23:38:27.308803
2020-06-16T07:25:41
2020-06-16T07:25:41
199,773,131
5
0
null
null
null
null
UTF-8
Python
false
false
2,392
pyi
# @generated by generate_proto_mypy_stubs.py. Do not edit! import sys from database_delivery_sdk.model.metadata_center.stream_alert_rule_pb2 import ( StreamAlertRule as database_delivery_sdk___model___metadata_center___stream_alert_rule_pb2___StreamAlertRule, ) from google.protobuf.descriptor import ( Descrip...
[ "service@easyops.cn" ]
service@easyops.cn
3f801be14df314312c297b7ba19cb9ba4365cae6
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/86/usersdata/210/59211/submittedfiles/pico.py
49f49854ea3665eeb9c791d1d9bd94a650949558
[]
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
653
py
# -*- coding: utf-8 -*- def pico(z): for i in range(0,len(z)-1,1): decr=0 cres=0 if i==0: if z[i]<z[i+1]: cres=cres+1 else: break else: if z[i]<z[i+1]: cres=cres+1 else: decr=decr+1 ...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
e7c3497350ba9073a0af135f361ce492e7b0d63c
e987f8c31e92522228debd7cf8e4c071a480fd75
/setup.py
f3c6b5d68dcc2370b530a92cd6fc927171a10885
[ "LicenseRef-scancode-warranty-disclaimer", "Apache-2.0" ]
permissive
voisine/bcwallet
0f8e4502ab735d9258dea6cc15a1ce72ca408ab7
b4af70210a585624dcc02404cfe9c1b14c1d54be
refs/heads/master
2021-01-17T18:19:52.207028
2015-11-05T15:57:42
2015-11-05T15:57:42
47,300,421
2
1
null
2015-12-03T01:53:46
2015-12-03T01:53:46
null
UTF-8
Python
false
false
692
py
# https://youtu.be/kNke39OZ2k0?t=65 from setuptools import setup setup( name='bcwallet', version='1.2.2', description='Simple BIP32 HD cryptocurrecy command line wallet', author='Michael Flaxman', author_email='mflaxman+blockcypher@gmail.com', url='https://github.com/bl...
[ "mflaxman@gmail.com" ]
mflaxman@gmail.com
bca7cdfc60121bc484126550b2f5cbea7ca4f253
8d77b63b94051a0212efedfb3ae1e09a8946e2ec
/lib.py
b2729e4eb4fd267cdbc29b929b4e78655a3dae3d
[]
no_license
chrismedrela/py-adv-2017-05-10
a7246914b2e3cc98240c5b0c2ef8c189eb407bd3
c6aa75185419d62aba34f722e683710a5e5699ca
refs/heads/master
2021-01-20T16:17:07.670947
2017-05-12T13:37:28
2017-05-12T13:37:28
90,830,166
0
1
null
null
null
null
UTF-8
Python
false
false
219
py
import time, sys def my_sleep(miliseconds): time.sleep(miliseconds/1000.0) print('__name__ ==', __name__) if __name__ == "__main__": print('Start waiting') my_sleep(int(sys.argv[1])) print('End waiting')
[ "chris.medrela+github@gmail.com" ]
chris.medrela+github@gmail.com
a45bf395db19707b8e315077446e844ee7744aa5
61ae089989619f4bf25ff4aabbbca150ab34bca0
/modules/templates/RLP/controllers.py
8da1d7234d565b171a3e5ef646dd2c4c2ee1ae5d
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
taufikh/eden
b8b31ff4347073f16b2dbcea8be54bbe6d53b18b
4e1f77e6eba5bac6509119629e33893390f7d992
refs/heads/master
2022-04-25T09:54:58.189064
2020-04-28T19:03:24
2020-04-28T19:03:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,910
py
# -*- coding: utf-8 -*- #import json #from os import path from gluon import current from gluon.html import * from gluon.storage import Storage from s3 import S3CustomController THEME = "RLP" # ============================================================================= class index(S3CustomController): """ Cu...
[ "dominic@nursix.org" ]
dominic@nursix.org
9a37870193eb4c9229a7465815a2b57ff87ee285
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03161/s768468955.py
a4d2c41a476f5ef2d2b98183c9bbb7dcfc605b07
[]
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
341
py
import math N, K = map(int, input().split()) h = [int(i) for i in input().split()] dp = [10**9] * N dp[0] = 0 dp[1] = abs(h[1] - h[0]) for i in range(2, N): for j in range(1, K + 1): if i - j < 0: break dp[i] = min( dp[i], dp[i - j] + abs(h[i] - h[i - j]) ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
d2404391c59688d141d6b460fc1e1c8a35c33021
7a978d0a53230b4b5e41908d3010b19d41814289
/src/pycropml/transpiler/antlr_py/extract_metadata_from_comment.py
825630518377a89e197418d19093294b871c750c
[ "MIT" ]
permissive
AgriculturalModelExchangeInitiative/PyCrop2ML
67e50648dd2c8e3c2b6e638fd70258451488cd93
d8322b1db73677ef821adc319ef578f6bec96a79
refs/heads/master
2023-06-23T17:43:12.789378
2023-06-20T13:22:27
2023-06-20T13:22:27
117,999,452
10
12
NOASSERTION
2023-06-20T13:21:55
2018-01-18T15:18:06
Python
UTF-8
Python
false
false
6,065
py
# inspired from http://csharphelper.com/blog/2015/10/extract-comments-from-a-c-file-in-c/ """ information extraction over structured documentation or comments """ from pycropml.composition import ModelComposition from pycropml.modelunit import ModelUnit from pycropml.description import Description from pycropml.i...
[ "ahmedmidingoyi@yahoo.fr" ]
ahmedmidingoyi@yahoo.fr
dba51d01eb1aae3d86b86340d5bbf529362f1c9c
3dd43ff0dab514a39f611487ab421256b3b5b13b
/scripts/client/gui/Scaleform/daapi/view/meta/CustomizationDecalAnchorPropertiesMeta.py
cdc7db067f94eaee28913f334613d3d1da771aa5
[]
no_license
kusaku/wotscripts
04ab289e3fec134e290355ecf81cf703af189f72
a89c2f825d3c7dade7bc5163a6c04e7f5bab587d
refs/heads/master
2023-08-20T00:17:36.852522
2018-02-26T14:53:44
2018-02-26T14:53:44
80,610,354
1
0
null
null
null
null
UTF-8
Python
false
false
582
py
# Embedded file name: scripts/client/gui/Scaleform/daapi/view/meta/CustomizationDecalAnchorPropertiesMeta.py """ This file was generated using the wgpygen. Please, don't edit this file manually. """ from gui.Scaleform.daapi.view.lobby.customization.anchor_properties import AnchorProperties class CustomizationDecalAnch...
[ "kirill.a@aggrostudios.com" ]
kirill.a@aggrostudios.com
c97d40d43b694fcfacb9fa8f5204cf95c3178fab
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2726/60637/300064.py
ed45b96c52a714078c942ce45105c4dcec489276
[]
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
903
py
class node: def __init__(self,value): self.value=value self.left=None self.right=None self.height=-1 def search(self): if(self.left==None and self.right==None): return 0 if(self.left!=None): dp=1+node.search(self.left) if(dp<sel...
[ "1069583789@qq.com" ]
1069583789@qq.com
6c8c12aecfe4fcd03e1536cac08448e2f0c5260a
facb8b9155a569b09ba66aefc22564a5bf9cd319
/wp2/merra_scripts/01_netCDF_extraction/merra902Combine/842-tideGauge.py
91de2a4933f18c5382c807fbbcdc7aea8cc6f6b8
[]
no_license
moinabyssinia/modeling-global-storm-surges
13e69faa8f45a1244a964c5de4e2a5a6c95b2128
6e385b2a5f0867df8ceabd155e17ba876779c1bd
refs/heads/master
2023-06-09T00:40:39.319465
2021-06-25T21:00:44
2021-06-25T21:00:44
229,080,191
0
0
null
null
null
null
UTF-8
Python
false
false
2,376
py
# -*- coding: utf-8 -*- """ Created on Tue Jun 17 11:28:00 2020 -------------------------------------------- Load predictors for each TG and combine them -------------------------------------------- @author: Michael Tadesse """ import os import pandas as pd #define directories # dir_name = 'F:\\01_erainterim\\01_er...
[ "michaelg.tadesse@gmail.com" ]
michaelg.tadesse@gmail.com
4e3451cbee595e69a25bfed1cfdcc41177ac09c3
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02715/s714454102.py
bafc442d56272f65e314bdf873d704821ab55174
[]
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
694
py
from sys import stdin import sys import math from functools import reduce import functools import itertools from collections import deque,Counter,defaultdict from operator import mul import copy # ! /usr/bin/env python # -*- coding: utf-8 -*- import heapq sys.setrecursionlimit(10**6) INF = float("inf") import bisect i...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
395623e74252607c053dbab615fc12b7974c0909
e5e2b7da41fda915cb849f031a0223e2ac354066
/sdk/python/pulumi_azure_native/batchai/v20180501/get_experiment.py
4c41a82dc1ea0ddb0e2784e754e80e37d3f4e9f9
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
johnbirdau/pulumi-azure-native
b7d3bdddeb7c4b319a7e43a892ddc6e25e3bfb25
d676cc331caa0694d8be99cb90b93fa231e3c705
refs/heads/master
2023-05-06T06:48:05.040357
2021-06-01T20:42:38
2021-06-01T20:42:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,163
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from ... import _utilities __...
[ "noreply@github.com" ]
johnbirdau.noreply@github.com
6bae6bfc6c3f26bde06eb35b61aca8cc75886fa6
fb2cc597f319380d228fc15c4008760a82203687
/var/spack/repos/builtin/packages/bdsim/package.py
1ed911369e5492f18f75ea21a1fa844ffc8bc320
[ "Apache-2.0", "MIT", "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause", "LGPL-2.1-only" ]
permissive
JayjeetAtGithub/spack
c41b5debcbe139abb2eab626210505b7f930d637
6c2df00443a2cd092446c7d84431ae37e64e4296
refs/heads/develop
2023-03-21T02:35:58.391230
2022-10-08T22:57:45
2022-10-08T22:57:45
205,764,532
0
0
MIT
2019-09-02T02:44:48
2019-09-02T02:44:47
null
UTF-8
Python
false
false
1,045
py
# Copyright 2013-2022 Lawrence Livermore National Security, LLC and other # Spack Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) from spack.package import * class Bdsim(CMakePackage): """Beam Delivery Simulation (BDSIM) is a C++ program that ut...
[ "noreply@github.com" ]
JayjeetAtGithub.noreply@github.com
38ca0f5b429fa529bb37a9bb223a9b0530a8e072
f0257428fed2a5f10950ee52e88a0f6811120323
/study_oldboy/Day11/02.1_redis_conn.py
12622b8e70bf896614647ff68ec6ba44c52a5948
[]
no_license
tata-LY/python
454d42cc8f6db9a1450966aba4af6894e1b59b78
55d13b7f61cbb87ff3f272f596cd5b8c53b807c5
refs/heads/main
2023-04-08T19:31:57.945506
2021-04-19T05:39:17
2021-04-19T05:39:17
328,880,464
0
0
null
null
null
null
UTF-8
Python
false
false
535
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # @Time : 2021-3-9 10:10 # @Author : liuyang # @File : 02.1.redis_conn.py # @Software: PyCharm """ 操作模式 redis-py提供两个类Redis和StrictRedis用于实现Redis的命令,StrictRedis用于实现大部分官方的命令,并使用官方的语法和命令,Redis是StrictRedis的子类,用于向后兼容旧版本的redis-py """ import redis hostname = '192.168.113....
[ "ainiyang20@qq.com" ]
ainiyang20@qq.com
79484d7ed46601c457a90b5d1eeebea00dfa38b4
a9023ac103a9191fdf41980515f570ba3d5b865c
/3rdParty/PythonMarketsharp/openapi_client/api/employees_api.py
8a2ebdf8bac5b95749bf4983b4a2c90141d308b2
[]
no_license
AdamManuel-dev/JSON-Schema-CLI
1470e5f7eb82ec4dd9b92365cc0200a014f7bed8
e01e24d5a347fdc50cae7fdae4792ed8bfc89704
refs/heads/main
2023-01-27T20:52:41.012404
2020-12-01T03:30:44
2020-12-01T03:30:44
317,414,476
1
1
null
null
null
null
UTF-8
Python
false
false
54,869
py
# coding: utf-8 """ MarketSharp CRM API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 The version of the OpenAPI document: v1 Generated by: https://openapi-generator.tech """ from __future__ import absolute_import import re...
[ "adam@augmenteddestiny.com" ]
adam@augmenteddestiny.com
18d08f0b9814c153e67b1058c3c1a50215ad5067
80d25458f13f89b5dc18647b2048cb663ecc47aa
/app/validators/cms/banner_forms.py
90bd4781bc8a6dadf9fe01bed228d71f8d31ec70
[ "MIT" ]
permissive
zcxyun/snack-api-lin
8eb84e7897183d90e9f021e697c808a00e5f117b
7b728c583f5467fcfffaf30ccf75c3e5ffefb7e5
refs/heads/master
2022-12-22T19:10:17.634936
2020-02-07T12:32:50
2020-02-07T12:32:50
220,582,162
1
0
MIT
2022-12-08T05:23:52
2019-11-09T02:49:16
Python
UTF-8
Python
false
false
307
py
from lin.forms import Form from wtforms import StringField from wtforms.validators import DataRequired class BannerContent(Form): name = StringField(validators=[DataRequired(message='横幅名字不能为空')]) summary = StringField(validators=[DataRequired(message='横幅摘要不能为空')])
[ "zcxyun@126.com" ]
zcxyun@126.com
00e78f6cc59dc864d52acd51d58fbce0820d1ab6
9e831c0defd126445772cfcee38b57bfd8c893ca
/code/questions/281~290_/286.py
cbf323d2ee464b65bbffeeb45691e8211a851264
[]
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
1,170
py
""" https://leetcode-cn.com/problems/walls-and-gates/ """ """ 给定二维网格: INF -1 0 INF INF INF INF -1 INF -1 INF -1 0 -1 INF INF 运行完你的函数后,该网格应该变成: 3 -1 0 1 2 2 1 -1 1 -1 2 -1 0 -1 3 4 """ from pprint import pprint inf = 2147483647 class Solution(object): def wallsAndGates(self, ...
[ "m358807551@163.com" ]
m358807551@163.com
5ac51cb4e79c4a299fba795721769d686984f44a
8f7615603d4d923fd2cda41a2105b85b596ab4c5
/leetcode/medium/129-Sum_to_leaf.py
1e26e2efdbcc196183bb2f7622d7b47985adaf1a
[ "MIT" ]
permissive
shubhamoli/solutions
e7ec922047c16cfdc10070aa5b884a278b12d8c5
5a24fdeb6e5f43b821ef0510fe3b343ddda18f22
refs/heads/master
2021-01-05T04:13:35.302613
2020-06-27T18:28:18
2020-06-27T18:28:18
240,875,585
1
0
null
null
null
null
UTF-8
Python
false
false
1,043
py
""" Leetcode #129 """ class TreeNode: def __init__(self, val=0, left=None, right=None): self.val = val self.left = left self.right = right class Solution: def sumNumbers(self, root: TreeNode) -> int: def helper(node, curr): if not node: return ...
[ "oli.shubham@gmail.com" ]
oli.shubham@gmail.com
7fe347cea4306823f9b1cb4479e287fc9e196aa4
a785bdfab7acc8a039daf8b736bea4c4ccfae629
/aliyun-python-sdk-sls/aliyunsdksls/request/v20191023/SetAlertActionPolicyRequest.py
18591a05747783550be56876b54f86ea6ab17eca
[ "Apache-2.0" ]
permissive
ChenQQ96/aliyun-openapi-python-sdk
9ebc569f40a374359d8471206397ef4adb7a56c7
cfc9461599f6ca3ec9dc13fbfb0d03d96e4a1f93
refs/heads/master
2023-07-12T19:37:57.987281
2021-08-17T09:43:32
2021-08-17T09:43:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,710
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "sdk-team@alibabacloud.com" ]
sdk-team@alibabacloud.com
45468d39ce41ab168641700b5233983c12680612
c6c1028d6b03d84dafa635b340f764bcbf7115a6
/hands/housekeeping/doctype/housekeeping_chemicals/test_housekeeping_chemicals.py
2d7c1078691c011ef376001953ffd55e135e608b
[ "MIT" ]
permissive
gchartas/hands
6a2b36a9bb6ba0864d1caacbee7c604117e82aa3
480032a6399ee4730585f85469a048b2c3fa6163
refs/heads/master
2022-11-17T02:52:17.995848
2020-07-12T18:40:40
2020-07-12T18:40:40
262,343,141
0
0
null
null
null
null
UTF-8
Python
false
false
223
py
# -*- coding: utf-8 -*- # Copyright (c) 2020, EngLandGR and Contributors # See license.txt from __future__ import unicode_literals # import frappe import unittest class TestHousekeepingChemicals(unittest.TestCase): pass
[ "frappe@ubuntu.vm" ]
frappe@ubuntu.vm
bfe75bc23c7ea2de9e14f46abd5a1fb491192890
aa6e1dd07a71a73bc08574b76f9e57a3ce8c8286
/077.Test_BeeWare_windows/beeware-tutorial/beeware-venv/Lib/site-packages/git/refs/tag.py
8f88c52253ce5d73fef8a29d7a28e7a6773e2b45
[ "MIT" ]
permissive
IvanaXu/PyTools
0aff5982f50bb300bfa950405192c78473b69537
358ae06eef418fde35f424909d4f13049ca9ec7b
refs/heads/master
2023-06-07T21:45:44.242363
2023-06-06T16:00:25
2023-06-06T16:00:25
163,940,845
60
8
MIT
2022-12-23T02:49:05
2019-01-03T07:54:16
Python
UTF-8
Python
false
false
2,964
py
from .reference import Reference __all__ = ["TagReference", "Tag"] class TagReference(Reference): """Class representing a lightweight tag reference which either points to a commit ,a tag object or any other object. In the latter case additional information, like the signature or the tag-creator, is avai...
[ "1440420407@qq.com" ]
1440420407@qq.com
214123502bfb83a9b12f1579d84799538e7bffd1
b22f31168fc44e016734adab5a8f8750576d07c4
/4_Working_With_Data_Sources/SQL_And_Databases_Beginner/data/query.py
775d2a391b0e7929dd8444bedd0474e9147be8ca
[]
no_license
austinmw/DataQuest
9abcd5dbf651973661d9ebf5fbe2166d69ac2d52
f6646c60dbb8ba3a6b96be686e44da70ffdb89b5
refs/heads/master
2020-03-14T04:49:17.593333
2018-04-28T23:07:42
2018-04-28T23:07:42
131,450,453
2
0
null
null
null
null
UTF-8
Python
false
false
160
py
import sqlite3 conn = sqlite3.connect("factbook.db") query = "select name from facts order by population asc limit 10" print(conn.execute(query).fetchall())
[ "fake.email@domain.com" ]
fake.email@domain.com
17e194e909b3ed9781a90a7e40ab6df0eef31a08
d741f71eb48b23fdda1339daee10ccb039da1ee6
/jz_twelve.py
210d89dcd986a930a1d6d09fc8cf9b9a6256c32d
[]
no_license
HawkinYap/Leetcode
a5b42bf3aa41e7f1ba60a5a804909035fa8e1ec9
5e7bc7368db4dfcd8597dc0462a8a0b5bfd46e54
refs/heads/master
2020-06-30T07:15:24.453955
2020-04-18T07:38:22
2020-04-18T07:38:22
199,663,089
0
0
null
null
null
null
UTF-8
Python
false
false
617
py
# -*- coding:utf-8 -*- class Solution: def Power(self, base, exponent): # write code here if base == 0: return 0 if exponent == 0: return 1 tmp = 1 if exponent < 0: ab_ex = -exponent print(ab_ex) while ab_ex: ...
[ "Gallowsgogo@gmail.com" ]
Gallowsgogo@gmail.com
3cdd6cf544adc5dfa98c415dcfdf88918d1cf90a
06c54acbc3d93601182170eef1c8f69396644003
/glTools-master/rig/head.py
b8fa97fa8d8e6084b0b469301b510ca16b08eabb
[]
no_license
moChen0607/pubTool
bfb05b7ba763c325b871a60d1a690bd67d6ad888
16337badb6d1b4266f31008ceb17cfd70fec3623
refs/heads/master
2021-05-31T17:59:06.840382
2016-06-06T07:11:42
2016-06-06T07:11:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,099
py
import maya.cmds as mc import glTools.utils.channelState import glTools.utils.joint import glTools.utils.transform def build(headJoint,jawJoint='',lfEyeJoint='',rtEyeJoint='',prefix='cn_head'): ''' ''' # ========== # - Checks - # ========== if not mc.objExists(headJoint): raise Exception('Head joint "'+head...
[ "auqeyjf@163.com" ]
auqeyjf@163.com
241e9e99e581733526c0783d97f0de0416f484b6
0b134572e3ac3903ebb44df6d4138cbab9d3327c
/app/grandchallenge/core/guardian.py
53eec508b80a90fa5202229db7f58fa1709bd0eb
[ "Apache-2.0" ]
permissive
comic/grand-challenge.org
660de3bafaf8f4560317f1dfd9ae9585ec272896
dac25f93b395974b32ba2a8a5f9e19b84b49e09d
refs/heads/main
2023-09-01T15:57:14.790244
2023-08-31T14:23:04
2023-08-31T14:23:04
4,557,968
135
53
Apache-2.0
2023-09-14T13:41:03
2012-06-05T09:26:39
Python
UTF-8
Python
false
false
3,207
py
from functools import partial from django.contrib.auth.models import Permission from guardian.mixins import ( # noqa: I251 PermissionListMixin as PermissionListMixinOrig, ) from guardian.mixins import PermissionRequiredMixin # noqa: I251 from guardian.models import GroupObjectPermission, UserObjectPermission fro...
[ "noreply@github.com" ]
comic.noreply@github.com
ece04d8bd9978b8536b69f68f57e4436272a42fb
0d5d69d23019b3cc1a02481c0c3c8c064dc46276
/list/1.py
709a0aeb547b8503674d82ac42270bdaf414fedd
[]
no_license
VVivid/python-programs
7f8789dbca87a9d8713aca9ba301543241996935
b460f5611a7d3114587afedc445e836c6bfda3c1
refs/heads/master
2022-04-25T03:10:05.269874
2020-04-28T17:16:11
2020-04-28T17:16:11
255,118,108
0
0
null
null
null
null
UTF-8
Python
false
false
78
py
"""Sum all the items in a list""" sum_list = [1, 2, -8] print(sum(sum_list))
[ "you@example.com" ]
you@example.com
b38f6ffa2ca7c3588b6067f940875b187d01a0a2
e9bf5fb440305c7b17935438fd515ca2541babc4
/oddoevene.py
e62698403b24ce2dae03f6c7417c2ba82b1d1049
[]
no_license
jyothiesai/guvij
748518673509d4849803fc22b03cd6b2b0b3392f
fdcd29f5548c12095f259ff2f74024317787b110
refs/heads/master
2020-04-16T01:42:44.848569
2019-08-07T13:24:44
2019-08-07T13:24:44
165,183,822
0
1
null
null
null
null
UTF-8
Python
false
false
159
py
#jyothi a=raw_input() b=0 for i in a: if int(i)%2!=0: b=b+int(i) else: continue if b%2==0: print("E") elif b==0: print('O') else: print('O')
[ "noreply@github.com" ]
jyothiesai.noreply@github.com
2583ce429f1b67bc34195237ae016db327a9751d
facb8b9155a569b09ba66aefc22564a5bf9cd319
/wp2/merra_scripts/03_model_fitting/mlrRecon/358-tideGauge.py
9e3e1b47e24ddba9fecfce596e5d6b3fcd7d08d8
[]
no_license
moinabyssinia/modeling-global-storm-surges
13e69faa8f45a1244a964c5de4e2a5a6c95b2128
6e385b2a5f0867df8ceabd155e17ba876779c1bd
refs/heads/master
2023-06-09T00:40:39.319465
2021-06-25T21:00:44
2021-06-25T21:00:44
229,080,191
0
0
null
null
null
null
UTF-8
Python
false
false
9,255
py
# -*- coding: utf-8 -*- """ Created on Mon May 4 15:51:30 2020 ---------------------------------------------------- This program is designed to reconstruct merra daily maximum surge using MLR ---------------------------------------------------- @author: Michael Tadesse """ def reconstruct(): """ run KFOLD me...
[ "michaelg.tadesse@gmail.com" ]
michaelg.tadesse@gmail.com
8dc3ad32bfd9c723509fe5a73508753912dd24b7
6a3224a913018b6eb838e2a5f08a1aee1845a7a4
/art.py
b77b9ee1d121d610f8b088d133a5c20b64ced7e4
[]
no_license
naray89k/Python
d8d027ef4351ce89ebf38c9cc6de99bdf06309f3
2397be27291db28e14e80dfa31b7f0c72a7f0798
refs/heads/master
2022-02-22T04:09:30.354657
2022-02-08T19:43:30
2022-02-08T19:43:30
236,688,222
1
0
null
null
null
null
UTF-8
Python
false
false
153
py
#! /usr/bin/env python3 for num in range(1,11): print("\U0001f600"*num) times = 1 while times < 11: print("\U0001f600" * times) times += 1
[ "narayanan.k.1985@gmail.com" ]
narayanan.k.1985@gmail.com
34609c1f9d6cb6da3ee6dbf7060b0cb5f38aac31
6edd5a50f07843de18175c04796348f7fdc4f74d
/Python/pdf_handler.py
0ec9158c03d3df41ab61e9f7327d05ffd7b99857
[]
no_license
rogergranada/_utilsdev
4f14a1e910103c33e3a8e820bb3e55483bd27e69
977a8d98a6934b9354ec233da6e0ef31621282f3
refs/heads/master
2021-06-01T17:07:14.773949
2020-10-22T22:06:43
2020-10-22T22:06:43
124,608,594
0
0
null
null
null
null
UTF-8
Python
false
false
918
py
#!/usr/bin/python #-*- coding: utf-8 -*- import re from pyPdf import PdfFileWriter, PdfFileReader class Main: def __init__(self): input1 = PdfFileReader(file("/home/roger/Desktop/arquivo.pdf", "rb")) # print the title of document1.pdf print "title = %s" % (input1.getDocumentInfo().title) if not input1.isE...
[ "roger.leitzke@gmail.com" ]
roger.leitzke@gmail.com
10ffe9920d813fcb01cb2d622df5ba0ee3266796
89a90707983bdd1ae253f7c59cd4b7543c9eda7e
/fluent_python/19-dyn-attr-prop/pseudo_construction.py
a5736d74ca10ca40dae6a0e10313055a378b6266
[]
no_license
timothyshull/python_reference_code
692a7c29608cadfd46a6cc409a000023e95b9458
f3e2205dd070fd3210316f5f470d371950945028
refs/heads/master
2021-01-22T20:44:07.018811
2017-03-17T19:17:22
2017-03-17T19:17:22
85,346,735
0
0
null
null
null
null
UTF-8
Python
false
false
331
py
# pseudo-code for object construction def object_maker(the_class, some_arg): new_object = the_class.__new__(some_arg) if isinstance(new_object, the_class): the_class.__init__(new_object, some_arg) return new_object # the following statements are roughly equivalent x = Foo('bar') x = object_maker(F...
[ "timothyshull@gmail.com" ]
timothyshull@gmail.com
1b403faa8a88baa64b1a92b37e89fdb5d26a2fdd
7c5aafae3466a50ebbcbad8b390330a4df1c26fa
/SourceCodeTools/code/experiments/Experiments.py
b8e45ab4087517103ab9681e7478385856a7e824
[]
no_license
pj0616/method-embedding
55b913c6fe9fcc8b9d1a6a03253f9071bb42ef10
c9ac2a4408a597189856ee8f068af24e2a9cd2bc
refs/heads/master
2023-07-13T02:57:19.617701
2021-08-23T09:56:16
2021-08-23T09:56:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
32,283
py
# %% from typing import Iterable import pandas from os.path import join from sklearn.model_selection import train_test_split import numpy as np # from graphtools import Embedder from SourceCodeTools.code.data.sourcetrail.Dataset import get_train_val_test_indices, create_train_val_test_masks, \ filter_dst_by_freq...
[ "mortiv16@gmail.com" ]
mortiv16@gmail.com
9475901b11d065486bc599c8bc43dad81a02cdd9
499d9f593befb6b210c12dd1775cc9027cbf58c3
/hiku/expr.py
c4bae238836bdbc2606e4e932c7637196cd4c514
[ "BSD-3-Clause" ]
permissive
mikebohdan/hiku
2659a675a2a5bd584eecb6b2419ea75dc89080a9
9d7d763444ce3a258f5cebe6a40ab69b8d5c6700
refs/heads/master
2021-01-24T04:30:09.309008
2016-09-13T16:42:47
2016-09-13T16:42:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,755
py
from functools import wraps from itertools import chain from collections import namedtuple from .edn import loads from .query import Edge, Link, Field from .types import Record, Callable, Unknown from .nodes import Symbol, Tuple, List, Keyword, Dict from .compat import text_type, string_types from .readers.simple impo...
[ "vladimir@magamedov.com" ]
vladimir@magamedov.com
5506e8c3a5dd07730c3e0f1c04ef3069f6486911
f6f29443d16ca17e6d65115b7de826a6407844f3
/Scilpy/scilpy/tracking/localTracking.py
a74f62979ca0192e7ff527fe883b597fdc2cadb8
[]
no_license
BIG-S2/PSC
4b1e893766fb9947a43def15153ee6d1d9dc3a72
1beabc5d263375a39601bca758d6c76c9ff9ea70
refs/heads/master
2020-03-12T18:27:26.516391
2018-04-23T21:49:15
2018-04-23T21:49:15
130,760,231
2
1
null
null
null
null
UTF-8
Python
false
false
15,040
py
from __future__ import division import itertools import logging import multiprocessing import os import sys import time import traceback import warnings import nibabel as nib import nibabel.tmpdirs import numpy as np from scilpy.tracking.pft import pft from dipy.tracking.streamlinespeed import compress_streamlines ...
[ "bigs2.data@gmail.com" ]
bigs2.data@gmail.com
37c4d16f35cb60e266ea0faf7d08153384225d92
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/59/usersdata/160/27600/submittedfiles/testes.py
551842895db9396680c23858771c8b94d9ca37d3
[]
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
233
py
a=input('digite a:') b=input('digite b:') c=input('digite c:') Delta=a*(x*x)+b*x+c x1=(-b+((Delta)**(1/2)))/2*a x2=(-b-((Delta)**(1/2)))/2*a if Delta >0 print(x1) print(x2) elif Delta=0 print(x1) print(x2) else print ("SRR")
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
e9301d9b1205639f374e6afff04fa3bad5fcdb0b
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02601/s204246622.py
2a7504dd84dbc80e72cb5f8bb2d22a1a6fed83e5
[]
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
491
py
# -*- coding: utf-8 -*- def main(): import sys input = sys.stdin.readline a, b, c = map(int, input().split()) k = int(input()) count = 0 while True: if a >= b: b *= 2 count += 1 else: break while True: if b >= c: c ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
2016c716d360641a5fb2c2e7ccd291611393a00a
1645547100c972ae916ce17ccacd71dad73ae50f
/extern/pycftrackers/lib/eco/config/vot18_hc_config.py
6530125264e97bb3aafd17401ec3d2086fc46177
[ "MIT", "Apache-2.0" ]
permissive
tsingqguo/AttackTracker
967c18272d77ce5f56ccc8b90b3e5c50d130288f
054268d5afa0044675c7acf1ac13e621f1c9549e
refs/heads/main
2023-01-12T22:34:25.644747
2020-11-25T16:10:45
2020-11-25T16:10:45
315,926,436
15
0
null
null
null
null
UTF-8
Python
false
false
6,410
py
class VOT18HCConfig: gray_params={ 'fname':'gray', 'cell_size':1, } fhog_params = {'fname': 'fhog', 'num_orients': 9, 'cell_size': 6, 'compressed_dim': 10, } cn_params = {"fname": 'cn', "table_n...
[ "tsingqguo@tju.edu.cn" ]
tsingqguo@tju.edu.cn
e6948cc3d6f6e6a12cb1619a72eb11a505746c18
40b27bdd261a0d8a9e100bc4e83c9f76b9ef710e
/contests/ABC1-100/ABC25/a.py
245549dad003a4df3950d073c309bcb30132350f
[]
no_license
kouma1990/AtCoder-code-collection
486d612ae1def6df49f4aa3632e06aae7ff73d2f
a3040a6025b43fb7dd3522945dce05a2626a92aa
refs/heads/master
2020-04-16T22:42:39.023009
2019-08-29T07:05:43
2019-08-29T07:05:43
165,980,129
2
0
null
null
null
null
UTF-8
Python
false
false
111
py
s = sorted(input()) n = int(input()) l = [] for i in s: for j in s: l.append(i+j) print(l[n-1])
[ "kouma1990@gmail.com" ]
kouma1990@gmail.com
5eb22947b66eef1759adab7c5fd97c445d69c330
f4434c85e3814b6347f8f8099c081ed4af5678a5
/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_operations.py
e092268795b03f9e7877a1f56f030838ac85ba72
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later" ]
permissive
yunhaoling/azure-sdk-for-python
5da12a174a37672ac6ed8e3c1f863cb77010a506
c4eb0ca1aadb76ad892114230473034830116362
refs/heads/master
2022-06-11T01:17:39.636461
2020-12-08T17:42:08
2020-12-08T17:42:08
177,675,796
1
0
MIT
2020-03-31T20:35:17
2019-03-25T22:43:40
Python
UTF-8
Python
false
false
4,639
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
yunhaoling.noreply@github.com
49e69b26b625b919783980e28c85cb3a39eb093c
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p04020/s982399897.py
930a22d8d2fba372452920c960559db5c9f9aee5
[]
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
204
py
N = int(input()) A = [0] + [int(input()) for _ in range(N)] ans = 0 for i in range(1,N+1): if A[i] != 0: ans += A[i-1] A[i] -= A[i-1] ans += A[i]//2 A[i] = A[i]%2 print(ans)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
46f9abf8263383e1885282f9bb87f77fced072fe
3d560386874e99477756a73c3b5de35936967e1b
/binding.gyp
1a88ef0b190f3607828eb50fec787a61a2cdd0a0
[ "Apache-2.0" ]
permissive
webosose/nodejs-module-webos-pmlog
ef34e338b63d096c0302be907992ede371d97669
e285a2e547c7dde4d158972f49a69291dfeb34a9
refs/heads/master
2023-06-24T01:10:05.270982
2023-06-01T13:24:05
2023-06-01T13:24:05
125,008,247
3
4
null
2020-04-25T10:53:25
2018-03-13T07:13:31
C++
UTF-8
Python
false
false
939
gyp
# @@@LICENSE # # Copyright (c) 2013 LG Electronics # # 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...
[ "changhyeok.bae@lge.com" ]
changhyeok.bae@lge.com
a927a2cefa158f05a3fc3cd0141b253c2736eb5c
0adb68bbf576340c8ba1d9d3c07320ab3bfdb95e
/regexlib/2021-5-15/python_re2_test_file/regexlib_3647.py
ef11e3de1fde2919d1cf79dda324fb238360c223
[ "MIT" ]
permissive
agentjacker/ReDoS-Benchmarks
c7d6633a3b77d9e29e0ee2db98d5dfb60cde91c6
f5b5094d835649e957bf3fec6b8bd4f6efdb35fc
refs/heads/main
2023-05-10T13:57:48.491045
2021-05-21T11:19:39
2021-05-21T11:19:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
559
py
# 3647 # ^/{1}(((/{1}\.{1})?[a-zA-Z0-9 ]+/?)+(\.{1}[a-zA-Z0-9]{2,4})?)$ # EXPONENT # nums:5 # EXPONENT AttackString:"/"+" "*32+"◎@! _1_NQ" import re2 as re from time import perf_counter regex = """^/{1}(((/{1}\.{1})?[a-zA-Z0-9 ]+/?)+(\.{1}[a-zA-Z0-9]{2,4})?)$""" REGEX = re.compile(regex) for i in range(0, 150000): ...
[ "liyt@ios.ac.cn" ]
liyt@ios.ac.cn
d3dc5eae79b64cc306cadcd260d92dc5f4631549
5c18f0f06db344c52205ac65a61c3996d90f54e2
/Chapter03/frozenlake8x8_policyiteration.py
87a51d350419928fe406b4609065a9f243181ee4
[]
no_license
PacktPublishing/Reinforcement-Learning-Algorithms-with-Python
a0d17ed20e6e7f51e4606b281017715fb68c4722
d144d314b3b5b91e9e8c37d4e0970af5d8379d1b
refs/heads/master
2023-02-05T23:19:57.019069
2023-01-30T08:19:57
2023-01-30T08:19:57
202,712,434
184
93
null
2022-07-23T16:55:15
2019-08-16T11:00:31
Python
UTF-8
Python
false
false
2,321
py
import numpy as np import gym def eval_state_action(V, s, a, gamma=0.99): return np.sum([p * (rew + gamma*V[next_s]) for p, next_s, rew, _ in env.P[s][a]]) def policy_evaluation(V, policy, eps=0.0001): ''' Policy evaluation. Update the value function until it reach a steady state ''' while True: ...
[ "josephs@packt.com" ]
josephs@packt.com
f6e6d0a43a180b6b0122f3e8eb5fe6ce68ec2d31
3354e6bdd4aeb2ddec84e6a8036c90cd24b6577a
/(구)자료구조와 알고리즘/(구)Algorithms/정렬 알고리즘/selection_sort/sekection_sorting.py
f0f07d0410cf1973c5e7ba4f4e012c8a187d63be
[]
no_license
hchayan/Data-Structure-and-Algorithms
1125d7073b099d8c6aae4b14fbdb5e557dcb9412
be060447e42235e94f93a0b2f94f84d2fd560ffe
refs/heads/master
2023-01-05T10:15:02.862700
2020-11-04T08:16:56
2020-11-04T08:16:56
209,513,516
1
0
null
null
null
null
UTF-8
Python
false
false
619
py
# Selection Sorting def selection_sort(data): for i in range(len(data)): # i는 비교할 배열내 범위의 시작 지점 lowest = i # 초기 최소값은 x[i]로 지정 for j in range(i + 1,len(data)): # (탐색범위 = i~len(x)) if x[lowest] > x[j]: # 만약 탐색중에 해당 값이 지금까지 찾은 최소값보다 작으면 lowest = j # 최소값을 새로이 지정 ...
[ "k852012@naver.com" ]
k852012@naver.com
0cdbde46b8e3d4029b9bbeebe4999365cf5a4d21
e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f
/indices/bartolozzi.py
2b1ffb5d34236261284ad04eb8f5ba00c50f4c5e
[]
no_license
psdh/WhatsintheVector
e8aabacc054a88b4cb25303548980af9a10c12a8
a24168d068d9c69dc7a0fd13f606c080ae82e2a6
refs/heads/master
2021-01-25T10:34:22.651619
2015-09-23T11:54:06
2015-09-23T11:54:06
42,749,205
2
3
null
2015-09-23T11:54:07
2015-09-18T22:06:38
Python
UTF-8
Python
false
false
44
py
ii = [('DibdTRL.py', 2), ('HogaGMM2.py', 1)]
[ "prabhjyotsingh95@gmail.com" ]
prabhjyotsingh95@gmail.com
a367975cdc5227b88c3490db19872740e3f9e1a4
68e0010df7f5b9e07b7abd18571aebe1beb842b6
/setup.py
6b1abea14df70b63d584ab8a8a46eebfd9eec4b3
[ "MIT" ]
permissive
EnTeQuAk/heroku.py
ab6cbb471bf967005ec2e9a00d74011be9a891a0
b9695cbb8746deb992def1bc07277c9ca4657423
refs/heads/master
2020-12-25T12:42:54.283818
2012-01-13T00:15:49
2012-01-13T00:15:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,199
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import os import sys try: from setuptools import setup except ImportError: from distutils.core import setup if sys.argv[-1] == 'publish': os.system('python setup.py sdist upload') sys.exit() required = ['requests>=0.8.6',] setup( name='heroku', ...
[ "me@kennethreitz.com" ]
me@kennethreitz.com
de60d46dd3eab2249afde3e9939b0acce45c221b
7d3a60e9139573a662cdff082f51c5d0ef439dbe
/print greatest .py
654dd1c71ed9b687026db99452ab91764060f5a9
[]
no_license
pooja-pichad/ifelse
c9766fb7219327d5e680683ec609879449a80d87
6fbb1395025058749077a25209b9448b39eb1651
refs/heads/main
2023-04-04T04:50:05.748910
2021-04-18T14:18:09
2021-04-18T14:18:09
358,860,851
1
0
null
null
null
null
UTF-8
Python
false
false
165
py
a=int(input("enter a number")) b=int(input("enter a number")) if a>b : print("greater than a") elif b>a: print("greatest than b") else: print("smaller")
[ "noreply@github.com" ]
pooja-pichad.noreply@github.com
ac47fa2b39ccaa87160c0c4a75446deb1916141f
90d3af65fc9900f2abb7eaa7631646856e115da3
/COMP9021/lecture/game_of_life.py
09f9669d1d9f2f45728511053b3bdcbce0004cb7
[]
no_license
Tim-hyx/UNSW-Courses
d414b79b6c5b428be12456ba85e1757ac871535b
b7031ea9ac833b5a396e7938ef73cc335a2e37b7
refs/heads/main
2023-07-10T19:48:34.731340
2021-08-10T02:39:14
2021-08-10T02:39:14
300,894,504
0
0
null
null
null
null
UTF-8
Python
false
false
10,276
py
# Written by Eric Martin for COMP9021 import tkinter as tk import tkinter.messagebox from random import randrange class GameOfLife(tk.Tk): delay = 600 def __init__(self): tk.Tk.__init__(self) self.title('Game of Life') menubar = tk.Menu() help_menu = tk.Menu(menubar) ...
[ "noreply@github.com" ]
Tim-hyx.noreply@github.com
0dfc6322a1494de3b87a48ae47df9627bc454454
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/55/usersdata/136/22928/submittedfiles/av2_p3_civil.py
f6ddbbc932d50c0971a9c0d74e3577ea86443504
[]
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
783
py
# -*- coding: utf-8 -*- from __future__ import division import numpy as np def pesoPosicaoX(x, y, a): f = a.shape[1]-1 for j in range(0, y-2, 1): peso = a[x-1,j] + a[x-1,f] f = f - 1 return peso def pesoPosicaoY(x, y, a): f = a.shape[0]-1 for i in range(0, x-2, 1): peso = a...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
5f941215a0aac6209a6f6f39bf1b6978475f09c2
09e57dd1374713f06b70d7b37a580130d9bbab0d
/benchmark/startQiskit_Class3124.py
d4d377ccf38d590d906f8e81cbdd5cadfb502903
[ "BSD-3-Clause" ]
permissive
UCLA-SEAL/QDiff
ad53650034897abb5941e74539e3aee8edb600ab
d968cbc47fe926b7f88b4adf10490f1edd6f8819
refs/heads/main
2023-08-05T04:52:24.961998
2021-09-19T02:56:16
2021-09-19T02:56:16
405,159,939
2
0
null
null
null
null
UTF-8
Python
false
false
4,265
py
# qubit number=4 # total number=39 import cirq import qiskit from qiskit import QuantumCircuit, QuantumRegister, ClassicalRegister from qiskit import BasicAer, execute, transpile from pprint import pprint from qiskit.test.mock import FakeVigo from math import log2 import numpy as np import networkx as nx def bitwise_...
[ "wangjiyuan123@yeah.net" ]
wangjiyuan123@yeah.net
a0f2f7e991f20db80dfc475875fa2ddd470dc8e9
872f24199d847f05ddb4d8f7ac69eaed9336a0d5
/gcwrap/python/scripts/regressions/admin/testbase.py
e43c63846ad47e08c5d1c3338374c69a7e86c958
[]
no_license
schiebel/casa
8004f7d63ca037b4579af8a8bbfb4fa08e87ced4
e2ced7349036d8fc13d0a65aad9a77b76bfe55d1
refs/heads/master
2016-09-05T16:20:59.022063
2015-08-26T18:46:26
2015-08-26T18:46:26
41,441,084
1
1
null
null
null
null
UTF-8
Python
false
false
14,160
py
###Base class for casa test scripts ###More complicated tests may inherit from this import os import string import commands import shutil import sys from casac import * import inspect import re #from tasks import * # execfile #from taskinit import casalog ia=casac.image() ms=casac.ms() tb=casac.table() class testba...
[ "darrell@schiebel.us" ]
darrell@schiebel.us
e626246223da24d94aa4baeda59a5e19243626c8
9b9a02657812ea0cb47db0ae411196f0e81c5152
/repoData/termie-git-bzr-ng/allPythonContent.py
100ce50b0f8fa77dba9b363a6d9fbc3b8419131a
[]
no_license
aCoffeeYin/pyreco
cb42db94a3a5fc134356c9a2a738a063d0898572
0ac6653219c2701c13c508c5c4fc9bc3437eea06
refs/heads/master
2020-12-14T14:10:05.763693
2016-06-27T05:15:15
2016-06-27T05:15:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
16,263
py
__FILENAME__ = run_tests #!/usr/bin/env python # vim: tabstop=4 shiftwidth=4 softtabstop=4 # Copyright 2010 United States Government as represented by the # Administrator of the National Aeronautics and Space Administration. # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "Lic...
[ "dyangUCI@github.com" ]
dyangUCI@github.com
5e9f50d858e493fb194bfe200d7cb548bed7da61
f66f63699ad8f956974bcb9cbdf272b45aacb665
/fortress/detectors/variables/uninitialized_storage_variables.py
10df8e336cfa957cf47ffb91633ae6b136a8a9cd
[]
no_license
bydolson/fortress-security-audit-engine
8b0714909d14952c3fb572a6afb2202fa01f256d
7a55877bdde0d6adabe3ce9c4f92e8ba20b4b3cc
refs/heads/main
2023-01-24T12:47:38.214542
2020-12-08T12:16:05
2020-12-08T12:16:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,772
py
""" Module detecting uninitialized storage variables Recursively explore the CFG to only report uninitialized storage variables that are written before being read """ from fortress.detectors.abstract_detector import AbstractDetector, DetectorClassification class UninitializedStorageVars(AbstractDetector...
[ "canercak@gmail.com" ]
canercak@gmail.com
1c7074102789fd603f0e4c9775671b990f30d796
6d13da5c822a7af4a18af160878ab215eb7b2131
/support_functions/simfunctions.py
febb5112a4b02fae7da9f0ab84c8da27b43edc39
[]
no_license
jrbourbeau/ShowerLLH_scripts
6a86c7a1f87ead08b49d997a1604edcfe66f2ef2
8644a001417e3c42a617662a5cd9cd65c1f8f485
refs/heads/master
2020-04-06T07:00:45.757592
2016-09-07T16:34:09
2016-09-07T16:34:09
57,984,205
1
1
null
2016-08-26T18:08:08
2016-05-03T16:29:48
Jupyter Notebook
UTF-8
Python
false
false
3,876
py
#!/usr/bin/env python import glob import os def getSimDict(): # Simulation info for various detector configurations and compositions s = {} s['IT81'] = {'P': ['9166'], 'Fe': ['9165']} s['IT73'] = {} # Note - need to look into the lowE simulation. Appears to be more. s['IT73']['P'] = ['7351',...
[ "jrbourbeau@gmail.com" ]
jrbourbeau@gmail.com
ca30b945b4a4c03bd96e0fc22a8b1e9129f44735
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_interchange.py
e956b5aa3717a977981af1fbe715bf1ba3e04fb0
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
430
py
#calss header class _INTERCHANGE(): def __init__(self,): self.name = "INTERCHANGE" self.definitions = [u'an exchange, especially of ideas or information, between different people or groups: ', u'a junction at which smaller roads meet a main road'] self.parents = [] self.childen = [] self.properties = [] ...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
66bc3aa1a45b7183d6170db171b58b1170793c6a
8821c29949644faab3023f492bf615fe1cab4049
/liquidluck/tools/webhook.py
106d39c7e76d90d32249bd2476d8c804eb5ae48a
[]
no_license
loopwerk/liquidluck
c29bf2cc70343418dbe6a4dd3b55c9ec96e1f503
d2c41f0b7cddabd3036bab514cf5ecbcc57becea
refs/heads/main
2023-02-26T15:41:06.173164
2021-02-02T16:32:32
2021-02-02T16:32:32
335,299,233
1
0
null
2021-02-02T13:32:14
2021-02-02T13:32:14
null
UTF-8
Python
false
false
5,369
py
import sys import os import time import atexit import subprocess from signal import SIGTERM from wsgiref.simple_server import make_server CWDPATH = os.path.abspath('.') SETTINGS = 'settings.py' PORT = 8000 def _call(cmd): subprocess.call(cmd.split(), cwd=CWDPATH) def _update(): if os.path.isdir(os.path.jo...
[ "lepture@me.com" ]
lepture@me.com
38c3554267cecd31601948546de73f16efac74fc
7a3f190e345b2b5b2bc8536ffa81248facf95185
/bin/konix_sgfsplit.py
cb3c703121e2be08d5d11f4a277d9f8f4c412480
[]
no_license
sandeep937/Devel
181bb284252aa4597af1d7eb11d046441898ed20
a55a4307faf0a498433e168aebd76a0c0d2f67b9
refs/heads/master
2021-01-12T22:10:45.361291
2019-01-22T09:30:46
2019-01-22T09:30:46
46,552,621
0
0
null
null
null
null
UTF-8
Python
false
false
935
py
#!/usr/bin/env python # -*- coding:utf-8 -*- def parse_args(): import argparse parser = argparse.ArgumentParser(description="""Split an sgf file.""") parser.add_argument('-i','--input', help="""The sgf input file""", type=str, require...
[ "konubinixweb@gmail.com" ]
konubinixweb@gmail.com
70942f4563a7a8f9bdd02211d3af6536c7172f36
db4cbb94ac337e670bc6d66c93244d37a6ca3aae
/structures/chauffeurNet_small.py
abfcce7b68bd1ab178c79b1a6cab6791020c222a
[]
no_license
gy20073/CIL_modular
1d14dbde21690c42162a6686926cb23a0148a929
da35bfec7d40708e4f76d08f54e04587bef1dd8b
refs/heads/master
2021-06-12T05:26:35.212861
2019-10-12T05:34:50
2019-10-12T05:34:50
137,950,075
2
4
null
null
null
null
UTF-8
Python
false
false
2,492
py
import numpy as np from network import Network def create_structure(tf, input_image, input_data, input_size, dropout, config): branches = [] x = input_image network_manager = Network(config, dropout, tf.shape(x)) """conv1""" # kernel sz, stride, num feature maps xc = network_manager.conv_bloc...
[ "gy20073@gmail.com" ]
gy20073@gmail.com
ad5de8bb027c3481eee047b170f438ebb7391b76
74bd687bf25915414a64ac31716a561c266466c9
/examples/Session04/default_args.py
8ee890d70b1ae035372566d9b0c0675b1d562ae2
[]
no_license
PythonCHB/Sp2018-Accelerated
049ce986fe8e49009430dfd155615f232acd7c5b
f8ce024487263fc858e6d5410ed418fd78b8810a
refs/heads/master
2020-03-11T10:08:10.954938
2018-04-20T04:05:51
2018-04-20T04:05:51
129,933,565
1
0
null
null
null
null
UTF-8
Python
false
false
264
py
def sum_series(nth=1, sequence=[0, 1]): """ Generate a list of sums given a seed and return the Nth number. """ for i in range(2, nth): sequence.append(sequence[i - 2] + sequence[i - 1]) # print(sequence) return sequence[nth - 1]
[ "PythonCHB@gmail.com" ]
PythonCHB@gmail.com
1dabf5f0ebe281c4e42e85317fd59bc9669b899f
d85892fc7e85c02fe2619c9692293f33940a3917
/ploogz/ploogins.py
ae8919888ea2f4d9144c4bdf1e671a73c8dc40b4
[ "MIT" ]
permissive
patdaburu/ploogz
9f9c054cc72d2d39c2c1bd9273d17587018022da
4b81a33218562c49bbd3e3645d55e90b03b8528e
refs/heads/master
2022-12-11T07:04:59.263147
2020-02-27T23:55:13
2020-02-27T23:55:13
99,498,273
0
0
MIT
2021-06-01T21:53:50
2017-08-06T16:12:39
Python
UTF-8
Python
false
false
13,195
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ .. currentmodule:: ploogz.ploogins .. moduleauthor:: Pat Daburu <pat@daburu.net> Ploogins and Ploogin Loaders """ import os import importlib.util import re import inspect from abc import ABCMeta, abstractmethod from typing import Callable, Iterator, List from automat...
[ "pat@daburu.net" ]
pat@daburu.net
ec6824ec50577876b9effe76e46a99d8c5aa2c99
b5bce69fdc0be61a91ba8cd17c9e95526e82a17f
/scripts/preprocess_xnli.py
852da0f09b6ef0029f878c103db49fee708fdc94
[ "GLWTPL" ]
permissive
ceshine/oggdo
fc79b1f38aceec23cc14983e88c04512c3087a7b
1665fa9a7b6f075fb0cec59b79bbb179daa9fcf4
refs/heads/master
2023-06-23T13:24:54.812439
2021-04-14T13:55:31
2021-04-14T13:55:31
223,530,998
1
0
NOASSERTION
2023-06-12T21:27:33
2019-11-23T04:33:45
Python
UTF-8
Python
false
false
1,118
py
import re import json from pathlib import Path import pandas as pd DATA_DIR = Path("data/XNLI-1.0/") def process_train(): df = pd.read_csv( DATA_DIR / "multinli.train.zh.tsv", sep="\t", error_bad_lines=False ) pattern = re.compile(r"(?<![A-Za-z\s])\s+(?![A-Za-z])") df["premise"] = df...
[ "shuanck@gmail.com" ]
shuanck@gmail.com
a666b67d1b72ca8d9b96325089fcd2c3d793d6bb
de37255b1910bf828d27640f5a252a1babce43c3
/wjs_08_格式化字符串.py
6121a78dbc8cdae101b7cb5974fd9694d6ef4423
[]
no_license
JasonMuscles/05
7182a58b715acf83286cd2236c21429fe828fef8
dc3411990e1e5d7bf0bb2889ab13608c63db3ebb
refs/heads/master
2020-09-10T01:40:23.793563
2019-11-15T16:33:05
2019-11-15T16:33:05
221,617,843
0
0
null
null
null
null
UTF-8
Python
false
false
221
py
info_tuple = ("小明", 18, 1.75) # 格式化字符串后面的'()'本质上就是元组 print("%s 今年:%d 身高: %.2f" % info_tuple) info_str = "%s 今年:%d 身高: %.2f" % info_tuple print(info_str)
[ "wangjinsenufo@qq.com" ]
wangjinsenufo@qq.com
bd9fb7e49a8dbf3a7bbac620ca8af7ebdd789bfa
0e1e643e864bcb96cf06f14f4cb559b034e114d0
/Exps_7_v3/doc3d/Ablation4_ch016_ep003/I_w_M_to_W_pyr/pyr_5s/L3/step09_5side_L3.py
a2be18fdb93b81bcf3f6a440ae7681ef914c74e3
[]
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
30,988
py
############################################################################################################################################################################################################# from step08_b_use_G_generate_I_w_M_to_Wx_Wy_Wz_combine import I_w_M_to_W from step08_b_use_G_generate_0_util impor...
[ "s89334roy@yahoo.com.tw" ]
s89334roy@yahoo.com.tw
c487490b84ff1d496f2530a03a6bc262e0ea5841
3c000380cbb7e8deb6abf9c6f3e29e8e89784830
/venv/Lib/site-packages/cobra/modelimpl/hvs/rtlnode.py
afe87f62608c21cee25ec7148fe1ed5f90435ecf
[]
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
4,444
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
291c76777ae71928c87b2821d2e6563349151529
14661adb83d4cb691f5216e1aaba735ee64179d2
/src/examples_in_my_book/adt/queues/queue_from_two_stacks.py
6af795d2e562ac92e9b8ec55abadbea152b2f8a9
[ "MIT" ]
permissive
ricardo64/Over-100-Exercises-Python-and-Algorithms
1bd623ca4e1b7b59be05cb66b947b30f552313af
5107f16df0af7ac20a52be772bd3bc46b2d4e8f6
refs/heads/master
2020-03-31T10:49:50.175012
2014-04-17T01:23:49
2014-04-17T01:23:49
19,211,665
5
2
null
null
null
null
UTF-8
Python
false
false
1,136
py
#!/usr/bin/python3 # mari von steinkirch @2013 # steinkirch at gmail class Queue(object): ''' an example of a queue implemented from 2 stacks ''' def __init__(self): self.in_stack = [] self.out_stack = [] def enqueue(self, item): return self.in_stack.append(item) def dequeue(...
[ "steinkirch@gmail.com" ]
steinkirch@gmail.com
0b1f31e1eb04ff049044addd85ed2c301141c70b
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02953/s559153444.py
a52daa62a82db4bf02322955f0533ed115049353
[]
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
1,015
py
#float型を許すな #numpyはpythonで import sys input = sys.stdin.readline sys.setrecursionlimit(10**7) from collections import Counter, deque from collections import defaultdict from itertools import combinations, permutations, accumulate, groupby, product from bisect import bisect_left,bisect_right from heapq import heapify, h...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
87ba683b16e1a6e39f3a243983190cb4a85a1f69
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/468/usersdata/279/111724/submittedfiles/Av2_Parte3.py
03cb9aeb3c3a1d653808bd2ce9dd55c36415a297
[]
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
679
py
# -*- coding: utf-8 -*- m=(int(input())) n=(int(input())) matriz=[] media=[] a=0 for i in range(0,m,1) : lista=[] for i in range(0,n,1) : lista.append(float(input())) a=(a+lista[i]) matriz.append(lista) media.append(a/n) a=0 i=0 matrizdesvio=[] while(True) : b=0 for j i...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
66c3514cb5c85a54671ea265c0f5611f8aaf4e2c
ae333003a102da890a4a35cd55c6d0bfd498ef6a
/arrays/count_group_overlap_ranges.py
5c5ddbf1a91d232f2b0b9e5b599ebf2c108eaa48
[]
no_license
jschnab/leetcode
e4624181525577d335af4774c4d07b577f80fb04
6fe9ea880dbc27c654205bf5c52a09c6313e70e9
refs/heads/master
2023-07-06T11:54:31.061907
2023-07-04T02:42:10
2023-07-04T02:42:10
224,428,490
0
1
null
null
null
null
UTF-8
Python
false
false
2,139
py
""" leetcode 2580: count ways to group overlapping ranges We are given a 2D integer array A where A[i] = [start, end] denotes that all integers between start and end (both inclusive) are contained in the ith range. We have to split A into two (possibly empty) groups such that: * Each range belongs to exactly one gro...
[ "jonathan.schnabel31@gmail.com" ]
jonathan.schnabel31@gmail.com
11b9c291eb8b680fdc00fed7235ae359dd21a61b
afbef5611dacc5e47208a61765093370e40bdca8
/Abcam_2021/detail.py
781031b2601d98350795cdc0db25490a873cf571
[]
no_license
Zzz233/Working
9d78b4a8f031ba579abdfc192de6e0fdc43268a9
cf96adc2a99bb524a7b31f5db0359f80a2a715c0
refs/heads/master
2023-08-21T07:57:32.282964
2021-10-18T01:25:36
2021-10-18T01:25:36
317,763,189
0
0
null
null
null
null
UTF-8
Python
false
false
18,702
py
import requests from lxml import etree from sqlalchemy.ext.declarative import declarative_base from sqlalchemy import Column, Integer, String, Text, DateTime, Index from sqlalchemy import Column, String, create_engine from sqlalchemy.orm import sessionmaker from sqlalchemy.sql import func from Random_UserAgent import g...
[ "napier645649968@gmail.com" ]
napier645649968@gmail.com
ca462cb161677ffbafd5f8bdc54100df78c98187
6189f34eff2831e3e727cd7c5e43bc5b591adffc
/WebMirror/management/rss_parser_funcs/feed_parse_extractThebentlefaypapersBlogspotCom.py
ac0e793dee8369bc61e952ab81f4d21f75687893
[ "BSD-3-Clause" ]
permissive
fake-name/ReadableWebProxy
24603660b204a9e7965cfdd4a942ff62d7711e27
ca2e086818433abc08c014dd06bfd22d4985ea2a
refs/heads/master
2023-09-04T03:54:50.043051
2023-08-26T16:08:46
2023-08-26T16:08:46
39,611,770
207
20
BSD-3-Clause
2023-09-11T15:48:15
2015-07-24T04:30:43
Python
UTF-8
Python
false
false
574
py
def extractThebentlefaypapersBlogspotCom(item): ''' Parser for 'thebentlefaypapers.blogspot.com' ''' vol, chp, frag, postfix = extractVolChapterFragmentPostfix(item['title']) if not (chp or vol) or "preview" in item['title'].lower(): return None tagmap = [ ('PRC', 'PRC', 'transla...
[ "something@fake-url.com" ]
something@fake-url.com
c022fe704dee474533ae82810d15c789b94d8f30
36957a9ce540846d08f151b6a2c2d582cff1df47
/VR/Python/Python36/Lib/site-packages/django/test/testcases.py
feb34708fa5e5d69a5300a27984885fc4afcd897
[]
no_license
aqp1234/gitVR
60fc952307ef413e396d31e0d136faffe087ed2b
e70bd82c451943c2966b8ad1bee620a0ee1080d2
refs/heads/master
2022-12-29T15:30:12.540947
2020-10-07T15:26:32
2020-10-07T15:26:32
290,163,043
0
1
null
2020-08-25T09:15:40
2020-08-25T08:47:36
C#
UTF-8
Python
false
false
130
py
version https://git-lfs.github.com/spec/v1 oid sha256:884a6a2448b963c8370358664f43226a96a42cfc664f88d58362565738ff5212 size 60764
[ "aqp1234@naver.com" ]
aqp1234@naver.com
de763a8c86238aa818821fad5a44b67203b56e5d
a838d4bed14d5df5314000b41f8318c4ebe0974e
/sdk/rdbms/azure-mgmt-rdbms/azure/mgmt/rdbms/postgresql/aio/operations/_configurations_operations.py
40844d5334af02dafb51c705ef170136ae9c2d34
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
scbedd/azure-sdk-for-python
ee7cbd6a8725ddd4a6edfde5f40a2a589808daea
cc8bdfceb23e5ae9f78323edc2a4e66e348bb17a
refs/heads/master
2023-09-01T08:38:56.188954
2021-06-17T22:52:28
2021-06-17T22:52:28
159,568,218
2
0
MIT
2019-08-11T21:16:01
2018-11-28T21:34:49
Python
UTF-8
Python
false
false
15,967
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
scbedd.noreply@github.com
20f8bbbdd7a8725e6bce53a4634e3645cfa060bc
cf926917ba1736d6f432aa821d27cb4f5005ce50
/polyaxon/libs/utils.py
efbb6aeb2f9834f8c372324b9c8eed4aed1a2803
[ "MIT" ]
permissive
vhcg77/polyaxon
2655302ddfb95f7b1651b3e44eb877ead92caafb
2965d1c5adbd5109ac3d9a3712df98f16de03249
refs/heads/master
2021-04-26T23:18:44.119392
2018-03-05T13:17:55
2018-03-05T13:17:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
527
py
# -*- coding: utf-8 -*- from __future__ import absolute_import, division, print_function from distutils.util import strtobool from django.utils.crypto import salted_hmac def to_bool(value): if isinstance(value, str): value = strtobool(value) if value in (False, 0): return False if valu...
[ "mouradmourafiq@gmail.com" ]
mouradmourafiq@gmail.com
fa30a2d2c73a223fbfebe2feb1d885410813c8fe
278d7f4467a112416d1adfbcd3218033ff0fd9b3
/configs/dcn/faster_rcnn_r50_fpn_mdconv_c3-c5_group4_1x_coco.py
b055616f8543e0b145da0929d2c23f45bee0f3db
[]
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
221
py
_base_ = '../faster_rcnn/faster_rcnn_r50_fpn_1x_coco.py' model = dict( backbone=dict( dcn=dict(type='DCNv2', deform_groups=4, fallback_on_stride=False), stage_with_dcn=(False, True, True, True)))
[ "noreply@github.com" ]
Young-1217.noreply@github.com
7a56607359066b727f4c274cc5b40f9d6bf6da79
afbae26b958b5ef20548402a65002dcc8e55b66a
/release/stubs.min/Rhino/Geometry/__init___parts/BrepRegion.py
933ebd2f1effadadd7c2d7b031e1cfb5a9e5ccf6
[ "MIT" ]
permissive
gtalarico/ironpython-stubs
d875cb8932c7644f807dc6fde9dd513d159e4f5c
c7f6a6cb197e3949e40a4880a0b2a44e72d0a940
refs/heads/master
2023-07-12T01:43:47.295560
2022-05-23T18:12:06
2022-05-23T18:12:06
95,340,553
235
88
NOASSERTION
2023-07-05T06:36:28
2017-06-25T05:30:46
Python
UTF-8
Python
false
false
1,513
py
class BrepRegion(object): """ Represents a brep topological region that has sides. """ def BoundaryBrep(self): """ BoundaryBrep(self: BrepRegion) -> Brep Gets the boundary of a region as a brep object. If the region is finite, the boundary will be a closed manifold brep. The bound...
[ "gtalarico@gmail.com" ]
gtalarico@gmail.com
3dcd7b4f85e6606a7b4e171c3b08829a7d94cca9
66882bdfa4211facd6028067102802aabb13de04
/mi/dataset/driver/adcps_jln/adcps_jln_driver.py
eccbf280e65cc8bf31c29aa6f91ca18d1b91cdd6
[ "LicenseRef-scancode-unknown-license-reference", "BSD-2-Clause" ]
permissive
mlutz000/mi-dataset
0dd4bbc13c5691ffbfb3ee37f0dbe3f1f4b9d375
3e58f15fa1e6de03c95281c87f8130f904fd9b81
refs/heads/master
2020-04-02T01:12:11.608812
2014-11-11T21:59:07
2014-11-11T21:59:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,295
py
#!/usr/local/bin/python2.7 ## # OOIPLACEHOLDER # # Copyright 2014 Raytheon Co. ## import os from mi.core.log import get_logger from mi.dataset.dataset_driver import DataSetDriver from mi.dataset.dataset_parser import DataSetDriverConfigKeys from mi.dataset.parser.adcp_pd0 import AdcpPd0Parser from mi.dataset.parser.a...
[ "petercable@gmail.com" ]
petercable@gmail.com
19a050024e95d5e5323c7f3d7cc6ccf61a06de56
26bd175ffb3bd204db5bcb70eec2e3dfd55fbe9f
/exercises/networking_selfpaced/networking-workshop/collections/ansible_collections/community/general/plugins/modules/network/avi/avi_gslbservice.py
71de3546268f8295794842a8627773df376209ca
[ "GPL-3.0-only", "MIT", "GPL-3.0-or-later", "CC0-1.0", "GPL-1.0-or-later" ]
permissive
tr3ck3r/linklight
37814ed19173d893cdff161355d70a1cf538239b
5060f624c235ecf46cb62cefcc6bddc6bf8ca3e7
refs/heads/master
2021-04-11T04:33:02.727318
2020-03-25T17:38:41
2020-03-25T17:38:41
248,992,437
0
0
MIT
2020-03-21T14:26:25
2020-03-21T14:26:25
null
UTF-8
Python
false
false
9,712
py
#!/usr/bin/python # # @author: Gaurav Rastogi (grastogi@avinetworks.com) # Eric Anderson (eanderson@avinetworks.com) # module_check: supported # Avi Version: 17.1.1 # # Copyright: (c) 2017 Gaurav Rastogi, <grastogi@avinetworks.com> # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses...
[ "joshuamadison+gh@gmail.com" ]
joshuamadison+gh@gmail.com
0479c9ac0dc659b8651b9160d96fdb5dde887c99
0a2cc497665f2a14460577f129405f6e4f793791
/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/aio/operations/_restorable_dropped_databases_operations.py
a1726a8dbc9d71d1fe34aa75048e2431d7d0af3c
[ "MIT", "LGPL-2.1-or-later", "LicenseRef-scancode-generic-cla" ]
permissive
hivyas/azure-sdk-for-python
112158aa9e1dd6e30cf6b3dde19f5db6ea2a577b
8b3258fa45f5dc25236c22ad950e48aa4e1c181c
refs/heads/master
2023-06-17T12:01:26.392186
2021-05-18T19:56:01
2021-05-18T19:56:01
313,761,277
1
1
MIT
2020-12-02T17:48:22
2020-11-17T22:42:00
Python
UTF-8
Python
false
false
8,898
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
hivyas.noreply@github.com
bbd5502e49e1b86c4580a3691e1856126d4c2ef8
3a0336f8ba841f6076f412dfb6de1af9ac946efd
/azure/multiapi/storagev2/queue/v2018_03_28/_generated/aio/operations/_service_operations.py
fd726d306b0280ee09081070a025cdf7387cefda
[ "MIT", "LicenseRef-scancode-generic-cla" ]
permissive
Azure/azure-multiapi-storage-python
4291579aa1f47d4b74557267558bd5029e01e12c
650ef33ad683a5f2aba590c4553f9871bfa0dd93
refs/heads/master
2023-09-03T22:27:16.816305
2023-06-01T07:37:02
2023-06-01T07:37:02
94,827,841
4
17
MIT
2023-06-01T07:37:03
2017-06-19T22:58:21
Python
UTF-8
Python
false
false
18,240
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" ]
Azure.noreply@github.com
0555698c3ce53d1791441e0a76692269700a7164
52fe471ca05b695ecc6213b8f1b020bb1c022c7b
/federation/tests/fixtures/payloads/activitypub.py
6e07f0e978040c0a9aea0d69db8ee93350468dac
[ "BSD-3-Clause" ]
permissive
weex/federation
536017dbafb034cf7f0dd2e0e90f220ca8ab2ce5
01357aacb04b076442ce5f803a0fc65df5a74d09
refs/heads/master
2023-07-30T19:34:14.731194
2021-08-15T18:26:59
2021-08-15T18:26:59
406,141,737
0
0
BSD-3-Clause
2021-09-13T23:04:28
2021-09-13T22:00:48
null
UTF-8
Python
false
false
34,390
py
ACTIVITYPUB_COMMENT = { '@context': ['https://www.w3.org/ns/activitystreams', {'ostatus': 'http://ostatus.org#', 'atomUri': 'ostatus:atomUri', 'inReplyToAtomUri': 'ostatus:inReplyToAtomUri', 'conversation': 'ostatus:conversation', 'sensitive': 'as:sensitive', 'Hashtag': 'as:Hashtag', 'toot': 'http...
[ "mail@jasonrobinson.me" ]
mail@jasonrobinson.me
f3e2573194b258889f9dcaba38870a561cdaa21f
0347259b684aa2c7fce86bb2faa14045b21419db
/test/test_entity_subtype.py
6ca6d5029a820debf972272ea5d81a398976e7fe
[]
no_license
niekvb/thingsboard-swagger-client
e29a8f1aab3f798d781476be2221b99701233ad1
bdb75f6f799d3c0bd373317d7781a4b82309c7d7
refs/heads/master
2020-12-06T18:10:20.859176
2019-05-07T20:32:38
2019-05-07T20:32:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,000
py
# coding: utf-8 """ Thingsboard REST API For instructions how to authorize requests please visit <a href='http://thingsboard.io/docs/reference/rest-api/'>REST API documentation page</a>. # noqa: E501 OpenAPI spec version: 2.0 Contact: info@thingsboard.io Generated by: https://github.com/swagger-...
[ "gmatheu@ascentio.com.ar" ]
gmatheu@ascentio.com.ar
8a3fcfc64cb9980d2fff273e5acc182d1d30f606
188f8141ccdd43a0fc32eb1be82e479be6bd657f
/shuffle_patches_rgba.py
956423dd9591950e7af6c4c11cb5c420f6645285
[]
no_license
xcode2010/mlproof
56ef0a4215942af837967890a8200cbd98e4ce42
f1af8adabb583b5eef23f83eb63d0218d75c617c
refs/heads/master
2021-06-05T18:26:49.399504
2016-09-19T12:39:04
2016-09-19T12:39:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
823
py
import cPickle as pickle import mahotas as mh import numpy as np import os import time import sys import mlproof as mlp PATCH_PATH = os.path.expanduser('~/patches/cylinder1_rgba/') def shuffle_in_unison_inplace(a, b): assert len(a) == len(b) p = np.random.permutation(len(a)) return a[p], b[p] def shuff...
[ "haehn@seas.harvard.edu" ]
haehn@seas.harvard.edu
b69bae20bbe14241d50391fb5f7e1adb567faaab
05fa352c72487e234f71eaf0b99bdb0f0f8c0874
/guest_book/webapp/admin.py
aa500f35ebf1373d5e905fd9dd083440a95b6141
[]
no_license
aydarbekov/Guest_book
c458f75545cb45b701b7957d63f4de05bd070bf4
37e5120b7a66c53c935f1cc8982dbbadee258785
refs/heads/master
2023-05-01T21:44:56.396172
2019-09-21T12:41:26
2019-09-21T12:41:26
209,932,027
0
0
null
2023-04-21T20:38:15
2019-09-21T05:46:34
Python
UTF-8
Python
false
false
91
py
from django.contrib import admin from webapp.models import Note admin.site.register(Note)
[ "akyl.aydarbekov@gmail.com" ]
akyl.aydarbekov@gmail.com
c58e74cf6c86c0bf498dafee09d84a6428067b1d
d2295ff0eb476877bb71c2ce28df04444d778df9
/mapping_report.py
603499cefe513ddc7785d90ece1afab4013cdf40
[]
no_license
vswilliamson/WranglerScripts
a3d24fb541fa0c11498356f31fcce0ccdf4c629c
7f938ec03177798b0c3b4205ed20962f51fe2fb8
refs/heads/master
2021-01-12T20:48:05.786915
2015-07-14T18:46:02
2015-07-14T18:46:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,052
py
#!/usr/bin/env python # -*- coding: latin-1 -*- '''Reports replicate mappings''' import pdb import requests, json, jsonschema, csv, copy import logging, sys, os.path, urlparse, re EPILOG = '''Example: %(prog)s --key www" ''' def get_ENCODE(url, authid, authpw): '''force return from the server in JSON format''' ''...
[ "jseth@stanford.edu" ]
jseth@stanford.edu
f9c190aad59542c439f8f9a0bd83bb35a3f82c20
245b92f4140f30e26313bfb3b2e47ed1871a5b83
/airflow/providers/google_vendor/googleads/v12/services/services/user_data_service/client.py
3af876c7b57cf901a15d19dd5b64bea416cc1bb9
[ "Apache-2.0", "BSD-3-Clause", "MIT" ]
permissive
ephraimbuddy/airflow
238d6170a0e4f76456f00423124a260527960710
3193857376bc2c8cd2eb133017be1e8cbcaa8405
refs/heads/main
2023-05-29T05:37:44.992278
2023-05-13T19:49:43
2023-05-13T19:49:43
245,751,695
2
1
Apache-2.0
2021-05-20T08:10:14
2020-03-08T04:28:27
null
UTF-8
Python
false
false
18,209
py
# -*- coding: utf-8 -*- # Copyright 2022 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" ]
ephraimbuddy.noreply@github.com
f0993dbf034986a0d1e6a0721eec51506d14fb9d
0d55bde6f4784f6dea9e8e6945d05bbf627e1e7d
/Packs/PrismaCloud/Integrations/PrismaCloudV2/PrismaCloudV2_test.py
168320439f72048b8e5c36af4e7e95753579cc5c
[ "MIT" ]
permissive
crestdatasystems/content
d7040415431b5d06d1569433a49869afcb0292bd
5f0f00840c39f028dca8377551bbd725d8ee8a2d
refs/heads/master
2023-08-16T19:35:38.150912
2023-07-11T05:59:59
2023-07-11T05:59:59
280,669,011
2
1
MIT
2023-03-10T16:00:35
2020-07-18T14:06:44
Python
UTF-8
Python
false
false
44,227
py
import pytest from unittest.mock import patch from freezegun import freeze_time from CommonServerPython import * # noqa: F401 from PrismaCloudV2 import Client from test_data import input_data AUTH_HEADER = 'auth_header' @pytest.fixture @patch('PrismaCloudV2.Client.generate_auth_token') def prisma_cloud_v2_client(...
[ "noreply@github.com" ]
crestdatasystems.noreply@github.com
d0a1b73a478bde2174e33eea99a14c5c18b15f81
90e4e5b4eafa6ae922435f8ecfaffc748f85bd63
/mywificar_v1.1/app.py
47bc355c4d34bf746f7d671691f01dd3446ea93d
[]
no_license
jerryyip/bbgw_wifi_car
021f8e3d1b270f444dc8c87a59ebfeb6ea08a828
7a3ebf1abfa5fd0cb548fd1fbd534848d970e365
refs/heads/master
2021-01-11T01:44:18.491565
2016-10-29T12:22:02
2016-10-29T12:22:02
70,673,104
0
0
null
null
null
null
UTF-8
Python
false
false
3,255
py
#!/usr/bin/env python import time from mywificar import goFront, goBack, stop, turnRight, turnLeft, patrol, spin from myswitch import isSwitchOn from myled import ChainableLED from flask import Flask, render_template, session, request from flask_socketio import SocketIO, emit, join_room, leave_room, \ close_room, r...
[ "root@beaglebone.localdomain" ]
root@beaglebone.localdomain
719fdc298cfe66f285a6d2d58e56a50e4e539900
0e1e643e864bcb96cf06f14f4cb559b034e114d0
/Exps_7_v3/doc3d/Wyx_w_M_w_Sob_to_Wz_focus/Sob_Wxy/mae_s001/pyr_Tcrop256_pad20_jit15/pyr_4s/L8/step10_a.py
d8290f547d03122b20459a48b1b84ef772bf7084
[]
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
270,413
py
############################################################################################################################################################################################################# ##################################################################################################################...
[ "s89334roy@yahoo.com.tw" ]
s89334roy@yahoo.com.tw