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
990659f28fe89f9d10375d9edc85a48e910e91f4
52b5fa23f79d76883728d8de0bfd202c741e9c43
/kubernetes/client/models/v1beta2_scale_status.py
af1d075c65c7c657052a68400f1a3e347c20cab5
[]
no_license
kippandrew/client-python-tornado
5d00810f57035825a84e37ff8fc89a7e79aed8da
d479dfeb348c5dd2e929327d800fe033b5b3b010
refs/heads/master
2021-09-04T13:01:28.275677
2018-01-18T23:27:34
2018-01-18T23:27:34
114,912,995
0
0
null
null
null
null
UTF-8
Python
false
false
6,119
py
# coding: utf-8 """ Kubernetes No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 OpenAPI spec version: v1.8.6 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 import six...
[ "andy@rstudio.com" ]
andy@rstudio.com
daed34a30c9a24d627c92ee6152105a324fac8aa
6d3bb1ab45d306b90e4727a7f1a0a31b59e7dc5a
/tests/test_kalman.py
3fd0488c1be9dc297e3914231b89d45bc73380e4
[ "MIT" ]
permissive
NepalRobotics/BeliefSystem
6f0023783cb59d251897d20b49900a81294973d7
435e902062884b10f61582443f1fd4b118dd9d3f
refs/heads/devel
2016-09-05T10:33:30.446296
2016-01-31T22:47:50
2016-01-31T22:47:50
41,973,456
0
1
null
2016-01-31T22:47:50
2015-09-05T19:46:07
Python
UTF-8
Python
false
false
8,317
py
""" Tests for the Kalman filter. """ import numpy as np import kalman import tests class _BaseTest(tests.BaseTest): """ Defines common members for all the test cases in this file. """ # Constants the indexes of different things in the state. _POS_X = 0 _POS_Y = 1 _VEL_X = 2 _VEL_Y = 3 # Index of the ...
[ "djpetti@gmail.com" ]
djpetti@gmail.com
ff25fb6064326423077dde69fc7e8673e9a34bff
1c2428489013d96ee21bcf434868358312f9d2af
/ultracart/models/conversation_twilio_account.py
a649021e1f36c58540847bbbd1732a8064137324
[ "Apache-2.0" ]
permissive
UltraCart/rest_api_v2_sdk_python
7821a0f6e0e19317ee03c4926bec05972900c534
8529c0bceffa2070e04d467fcb2b0096a92e8be4
refs/heads/master
2023-09-01T00:09:31.332925
2023-08-31T12:52:10
2023-08-31T12:52:10
67,047,356
2
0
null
null
null
null
UTF-8
Python
false
false
4,199
py
# coding: utf-8 """ UltraCart Rest API V2 UltraCart REST API Version 2 # noqa: E501 OpenAPI spec version: 2.0.0 Contact: support@ultracart.com Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 import six class ConversationTwilioAccoun...
[ "perry@ultracart.com" ]
perry@ultracart.com
10639ce27fe471d8d20685065f3271f45c21380c
4eac217f1a9c175ee370d83446c6ae763c69a26f
/Level 1/Task3.py
2cbc0809746a1495e4be9f85b91b33bc3ff7de91
[]
no_license
abhinavsharma629/Data-Structures-And-Algorithms-Udacity-Nanodegree
411a74f042a671c6e7d3123bc63716d2d3748cc6
6e7645a9afb6065d12524a94734aeda022438f10
refs/heads/master
2022-11-06T00:49:11.863218
2020-06-20T11:52:42
2020-06-20T11:52:42
273,698,082
0
0
null
null
null
null
UTF-8
Python
false
false
3,074
py
""" Read file into texts and calls. It's ok if you don't understand how to read files. """ import csv with open('texts.csv', 'r') as f: reader = csv.reader(f) texts = list(reader) def checkCaller(phone_no): if(len(phone_no.split("("))>0): return True def checkCaller(phone_no): if(phone_no[0]=="("): r...
[ "abhinavsharma629@gmail.com" ]
abhinavsharma629@gmail.com
f352d8ce22dd736ee5f0204bbde9717188e6d87c
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_groped.py
9e6f4052a029097be877a2408813e55edef8a879
[ "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
231
py
from xai.brain.wordbase.nouns._grope import _GROPE #calss header class _GROPED(_GROPE, ): def __init__(self,): _GROPE.__init__(self) self.name = "GROPED" self.specie = 'nouns' self.basic = "grope" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
c326f428fae13c4af9cb46ab323d1a372aa587a4
b8a9b1204627c7d6b4123f4dba54631251e27f49
/accounts/migrations/0006_auto_20210313_1624.py
b672084659b2994715f8cc3ffbc278a53f407904
[]
no_license
ianmanalo1026/Coffee-Shop
53aee5b4ff26294ead1808006c7d9ec258aca8d9
f61a94ee416aed436d236c7243625417c7214479
refs/heads/master
2023-03-16T12:24:02.354223
2021-03-16T14:10:23
2021-03-16T14:10:23
347,078,397
0
0
null
null
null
null
UTF-8
Python
false
false
474
py
# Generated by Django 3.1.4 on 2021-03-13 08:24 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('accounts', '0005_auto_20210313_1606'), ] operations = [ migrations.RenameField( model_name='profile', old_name='first_name',...
[ "ian.manalo1026@gmail.com" ]
ian.manalo1026@gmail.com
80410beb2f4850b79e647b255bfd7626e96e2884
d3fa61d28cdc0c515ebd4f610122a9141cf69471
/gui/demoDlg-21.py
e155e49b73365362dea088ee8e5824694470688d
[]
no_license
iorilan/python-samples
0bd2d66461bc5580de607c5e9984f713bc506c56
1db836d90731763e30a109c28948734727194232
refs/heads/master
2022-04-05T03:06:18.830332
2020-02-23T16:49:06
2020-02-23T16:49:06
213,014,416
0
0
null
null
null
null
UTF-8
Python
false
false
810
py
from tkinter import * # get base widget set from dialogTable import demos # button callback handlers from quitter import Quitter # attach a quit object to me class Demo(Frame): def __init__(self, parent=None): Frame.__init__(self, parent) self.pack() Label(self, text="Basic demos").pack() ...
[ "iorilan@hotmail.com" ]
iorilan@hotmail.com
f432c581c95ce2dab16294b0388c1934ff86ade5
9abd182d02355ddf0b79afd4a35f7127a4a66f7a
/tests/auto/test_auto_tasks.py
31cf99827d6d2993bc4ec767aa5e9f469a8fa5ce
[ "Apache-2.0" ]
permissive
dmlc/gluon-cv
e1303086419a5733661d0fcb9095c09d4f2382ad
567775619f3b97d47e7c360748912a4fd883ff52
refs/heads/master
2023-07-19T12:02:36.824294
2023-01-19T00:37:33
2023-01-19T00:37:33
122,896,249
6,064
1,458
Apache-2.0
2023-01-19T00:37:35
2018-02-26T01:33:21
Python
UTF-8
Python
false
false
3,054
py
from gluoncv.auto.tasks import ImageClassification from gluoncv.auto.tasks import ObjectDetection import autogluon.core as ag import time from nose.tools import nottest IMAGE_CLASS_DATASET, _, IMAGE_CLASS_TEST = ImageClassification.Dataset.from_folders( 'https://autogluon.s3.amazonaws.com/datasets/shopee-iet.zip')...
[ "noreply@github.com" ]
dmlc.noreply@github.com
8b283162d9edbf8dca0e7c46dc70bd9b59e8967e
153fb205395605f631e92950fc86ba205bd85665
/wagtail/wagtailcore/blocks/__init__.py
1b7a1740cfd2dc54b81002c49016129a51f88256
[ "BSD-3-Clause" ]
permissive
YoungSphere/Wagtail_Young
8e385ab37263acf4b609bb6aa1f75d3e9035eee0
536b137446ef5bff464cbe8a82175ba099d4a15a
refs/heads/master
2020-04-23T07:10:45.479469
2019-02-16T14:09:24
2019-02-16T14:09:24
170,998,679
0
0
BSD-3-Clause
2019-02-16T14:05:12
2019-02-16T11:55:39
Python
UTF-8
Python
false
false
334
py
from __future__ import absolute_import # Import block types defined in submodules into the wagtail.wagtailcore.blocks namespace from .base import * # NOQA from .field_block import * # NOQA from .struct_block import * # NOQA from .list_block import * # NOQA from .stream_block import * # NOQA from .static_block imp...
[ "nikhil684@gmail.com" ]
nikhil684@gmail.com
56d15c6806ad5e594f7fc3174603378618fc75f9
ef187d259d33e97c7b9ed07dfbf065cec3e41f59
/work/atcoder/arc/arc086/D/answers/859172_ahho.py
9dd224c8cbab6c1535202a94895bc8989a7d1f82
[]
no_license
kjnh10/pcw
847f7295ea3174490485ffe14ce4cdea0931c032
8f677701bce15517fb9362cc5b596644da62dca8
refs/heads/master
2020-03-18T09:54:23.442772
2018-07-19T00:26:09
2018-07-19T00:26:09
134,586,379
0
0
null
null
null
null
UTF-8
Python
false
false
310
py
N = int(input()) A = list(map(int,input().split())) # max absolute value _,mi = max((abs(v),i) for i,v in enumerate(A)) mi += 1 print(2*N-2) for i in range(1,N+1): if i != mi: print(mi,i) if A[mi-1] > 0: for i in range(1,N): print(i,i+1) else: for i in reversed(range(1,N)): print(i+1,i)
[ "kojinho10@gmail.com" ]
kojinho10@gmail.com
7a88d194dc4f6647d5d15e898799151518385985
f131222013fd1c23bf23a9af44dbaf2cd2dfbe72
/python 好用库/lib/dundeemt-pysftp-ad3aefc8ec42/dundeemt-pysftp-ad3aefc8ec42/tests/test_walktree.py
467b7fe50b5df8c3aaf901fec09749cb730bcb4a
[]
no_license
shortdistance/workdir
e0bdadcb9d6b5e61e62434d574afad36afa60ba9
7c4a23fdbb8ae14b67aeda47ce53be1bd24ae2d1
refs/heads/master
2021-01-19T23:21:40.885964
2017-04-21T12:55:45
2017-04-21T12:55:45
88,968,923
0
1
null
null
null
null
UTF-8
Python
false
false
4,680
py
'''test pysftp.Connection.walktree and pysftp.walktree - uses py.test''' from __future__ import print_function # pylint: disable = W0142 from common import * from mock import Mock, call def test_walktree_cbclass(): '''test the walktree function with callbacks from a class''' with pysftp.Connection(**SFTP_PUB...
[ "zhanglei520vip@163.com" ]
zhanglei520vip@163.com
0ac8b6307780f483b0873e5bd0c05380268fc89b
987390ca6481ec5aa2b9e0e0e849203b6c22ce62
/zkeco-core/adms/memcache.py
a431607921f0052748ffb1b18325a987af26034a
[]
no_license
alungboy/johan-doc
81b2363e7f2ad189d0623007eea66233a2e18f1c
7ced14577405caf6127df03007619fe9cfda3847
refs/heads/master
2020-04-03T18:01:08.531971
2013-08-13T04:26:42
2013-08-13T04:26:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
36,738
py
#!/usr/bin/env python """ client module for memcached (memory cache daemon) Overview ======== See U{the MemCached homepage<http://www.danga.com/memcached>} for more about memcached. Usage summary ============= This should give you a feel for how this module operates:: import memcache mc = ...
[ "xiongjianhong@a5b1b082-b159-ab12-9a9e-d79e7dfc8adf" ]
xiongjianhong@a5b1b082-b159-ab12-9a9e-d79e7dfc8adf
8e53fc2821f50c18518010717b0e82b25950cac2
89155ebee895cbd04e4eb7a9d079a820d90ffd7e
/viewset_modelviewset_application/viewset_modelviewset_application/settings.py
9861cd4ac9f55a125dc627f00b6bae60651a2efc
[]
no_license
mahmudgithub/Rest-api-playground
822c0671b534fc057461703711ef980d9d31ce56
a452a329d60c9104afdeadde13f7493741e4914a
refs/heads/master
2023-03-31T17:23:13.605754
2021-04-11T14:10:31
2021-04-11T14:10:31
331,842,045
1
0
null
null
null
null
UTF-8
Python
false
false
2,851
py
import os from pathlib import Path # Build paths inside the project like this: BASE_DIR / 'subdir'. BASE_DIR = Path(__file__).resolve().parent.parent # Quick-start development settings - unsuitable for production # See https://docs.djangoproject.com/en/3.1/howto/deployment/checklist/ # SECURITY WARNING: keep the ...
[ "mahmudhossain838@gmail.com" ]
mahmudhossain838@gmail.com
adb170a554dd4d70c7c27dcdfa73e45fe7a48dd5
63304bd3fd27aca73e949579a732e183ba0c88af
/httprunner/client.py
fb3161acdfbff488d6136512fa89db89b25b4442
[ "MIT" ]
permissive
janice1027/HttpRunner
330de17485654041cf2c07022c8860364d742362
7fa1057f1675dc73640bb90c4a22e8811153226a
refs/heads/master
2021-04-27T11:50:58.682691
2018-02-22T10:53:24
2018-02-22T10:53:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,481
py
import json import re import time import requests import urllib3 from httprunner import logger from httprunner.exception import ParamsError from requests import Request, Response from requests.exceptions import (InvalidSchema, InvalidURL, MissingSchema, RequestException) urllib3.disab...
[ "httprunner" ]
httprunner
6aa6c6c2e52debf96874619e6fbbdf59fef074ed
a838d4bed14d5df5314000b41f8318c4ebe0974e
/sdk/confidentialledger/azure-confidentialledger/tests/_shared/client_test_common.py
bede3f24bfa399b552959f905ed8251774a61e19
[ "LicenseRef-scancode-generic-cla", "MIT", "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
10,554
py
import hashlib import os import tempfile from azure.confidentialledger import ( LedgerUserRole, TransactionState, ) from .constants import NETWORK_CERTIFICATE, USER_CERTIFICATE from .testcase import ConfidentialLedgerTestCase CONFIDENTIAL_LEDGER_URL = "https://fake-confidential-ledger.azure.com" class Conf...
[ "noreply@github.com" ]
scbedd.noreply@github.com
b8fc676b24f897ed85ac06ddd8a5dcf79961772a
bc441bb06b8948288f110af63feda4e798f30225
/api_gateway_sdk/model/easy_flow/deploy_batch_pb2.py
d10e3afba86214003b6501929a438872c85b6ba4
[ "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
true
5,564
py
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: deploy_batch.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobu...
[ "service@easyops.cn" ]
service@easyops.cn
5ad76af557aa31011c1d9fd48b790dd553e175b8
02d1d89ed3c2a71a4f5a36f3a19f0683a0ae37e5
/navigation/terrain_id/terrain_training/build/milk/milk/tests/test_perceptron.py
6069de0370dbe07b08d521102bee703edf4c253c
[ "MIT" ]
permissive
lforet/robomow
49dbb0a1c873f75e11228e24878b1e977073118b
eca69d000dc77681a30734b073b2383c97ccc02e
refs/heads/master
2016-09-06T10:12:14.528565
2015-05-19T16:20:24
2015-05-19T16:20:24
820,388
11
6
null
null
null
null
UTF-8
Python
false
false
728
py
import numpy as np from milk.supervised.perceptron import perceptron_learner from milk.supervised import _perceptron from milksets.yeast import load def test_raw(): np.random.seed(23) data = np.random.random((100,10)) data[50:] += .5 labels = np.repeat((0,1), 50) weights = np.zeros((11)) eta = ...
[ "laird@isotope11.com" ]
laird@isotope11.com
e82043fb547aed02d1c9a63e9a349ebb3ecee747
9163d7b7f9301b4a334ced0a91e28348fdaa8882
/other_function/generate_image_without_rule.py
d3223d3c6cfcb34fd6acd170520b6a7976211050
[ "Apache-2.0" ]
permissive
frankiegu/generate_click_captcha
2c9c551bec69d5c40e6a1354ec6f7dbef18e6447
7fdb2cafe4c2b5d0245b9b8c4fc9a8b8dee5f3a9
refs/heads/master
2021-03-03T14:56:30.486088
2019-01-03T16:03:00
2019-01-03T16:03:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
345
py
#!/usr/bin/python # -*- coding: UTF-8 -*- from PIL import Image import random img = Image.new("RGB", (640, 480), (0, 255, 0)) w, h = img.size for i in range(h): for j in range(w): a = random.randint(10, 230) b = random.randint(10, 230) c = random.randint(10, 230) img.putpixel((j, ...
[ "nickliqian@outlook.com" ]
nickliqian@outlook.com
d3296ed2a784f2ba7881764db316ee68412339b7
60aac823e576a1c415bc25901e113ad0f52fbd9a
/abc204/b.py
a639b661cf948d6b00950b036601a1220c600983
[]
no_license
nishiwakki/atCoder
d4209e717529ab606d0e6fceb0ce170d228b1532
fc5a6b667aa8c11c368fc712c5633da5ebf6bdf2
refs/heads/main
2023-06-23T08:08:12.072211
2021-07-24T14:01:52
2021-07-24T14:01:52
309,862,702
0
0
null
null
null
null
UTF-8
Python
false
false
143
py
# -*- coding: UTF-8 -*- N = int(input()) A = list(map(int, input().split())) ans = 0 for a in A: if a > 10: ans += a-10 print(ans)
[ "glotply@gmail.com" ]
glotply@gmail.com
54da71a35a2983c730ede3d625d2a5f53256bc8f
50dd2a43daa8316fc11e0c176b5872738fcc5dde
/Learning/125_GetSpotlightNewPics/GetSpotlightNewPics.py
4940becf12590fdad010000d2471096aef24c6a1
[]
no_license
FrenchBear/Python
58204d368e3e72071eef298ff00d06ff51bd7914
b41ab4b6a59ee9e145ef2cd887a5fe306973962b
refs/heads/master
2023-08-31T18:43:37.792427
2023-08-26T15:53:20
2023-08-26T15:53:20
124,466,047
0
0
null
null
null
null
UTF-8
Python
false
false
1,151
py
# GetSpotlightNewPics # Retrieves new Spotlight (microsoft wallpapers) pictures # # 2023-03-25 PV # 2023-04-12 PV Logfile # 2023-07-19 PV Added missing import import datetime import shutil import os from common_fs import get_files, extension_part source = r'C:\Users\Pierr\AppData\Local\Packages\Mic...
[ "FrenchBear38@outlook.com" ]
FrenchBear38@outlook.com
a340f7261fc62eeabc63f2815bac12c4125010b6
3b2940c38412e5216527e35093396470060cca2f
/top/api/rest/FuwuScoresGetRequest.py
74b17bad19a9821410b0b86c51d54b0c0426e9c7
[]
no_license
akingthink/goods
842eb09daddc2611868b01ebd6e330e5dd7d50be
ffdb5868a8df5c2935fc6142edcdf4c661c84dca
refs/heads/master
2021-01-10T14:22:54.061570
2016-03-04T09:48:24
2016-03-04T09:48:24
45,093,302
0
0
null
null
null
null
UTF-8
Python
false
false
356
py
''' Created by auto_sdk on 2015-01-20 12:44:31 ''' from top.api.base import RestApi class FuwuScoresGetRequest(RestApi): def __init__(self,domain='gw.api.taobao.com',port=80): RestApi.__init__(self,domain, port) self.current_page = None self.date = None self.page_size = None def getapiname(self): ...
[ "yangwenjin@T4F-MBP-17.local" ]
yangwenjin@T4F-MBP-17.local
997ca3426e4c754a39df1f9a351c36b3da37e50a
64bdedbe9ede8c21f8daef2234faf248e8bcad2f
/flask_app/flask_blog/main/routes.py
5940ba8d9dd8fefe1821b71dae8384a32317b247
[ "MIT" ]
permissive
Ziang-Lu/Flask-Blog
c02b5f6501af2d7f55350e337b5eed6a7f3d528b
aa0aa4d019de47e122cded8d4ff637d1b6edc410
refs/heads/master
2023-08-05T00:59:35.440152
2023-07-15T07:08:54
2023-07-15T07:08:54
203,568,155
1
0
MIT
2023-07-25T17:50:37
2019-08-21T11:15:05
Python
UTF-8
Python
false
false
2,022
py
# -*- coding: utf-8 -*- """ Flask main-related routes module. """ from datetime import datetime import requests from flask import Blueprint, flash, redirect, render_template, request, url_for from flask_login import current_user from ..utils import POST_SERVICE, get_iter_pages # Create a main-related blueprint mai...
[ "ziangl@alumni.cmu.edu" ]
ziangl@alumni.cmu.edu
d34a9292cb308aac1c26003f0a06be2a49244505
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02953/s447346234.py
650a3b88da697c512c29fd85204e7c24463e8dae
[]
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
236
py
N=int(input()) H=list(map(int,input().split())) if N>1: for i in range(N-1): if H[i]<=H[i+1]-1: H[i+1]-=1 if H[i]>H[i+1]: print('No') exit() print('Yes') else: print('Yes')
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
43c481740de68c095956f67ca9dab167d5cca6b9
2cf560477807e9f3e869474defda47f2638347b4
/glitter_news/urls.py
35d0dcf2342ae5c739e2fabf9d84b2241c1e3c0d
[]
no_license
axsapronov/django-glitter-news
37035d45fd1edbf619659b9451184500ab2fce33
000d548bafa8c777a3721611ba4620173713b87d
refs/heads/master
2021-06-06T10:06:39.859177
2016-04-13T11:50:18
2016-04-13T11:50:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
693
py
# -*- coding: utf-8 -*- from django.conf.urls import url from . import views, feeds urlpatterns = [ url( r'^$', views.PostListView.as_view(), name='list' ), url( r'^category/(?P<slug>[-\w]+)/$', views.PostListCategoryView.as_view(), name='post-list-categor...
[ "ikonitas@gmail.com" ]
ikonitas@gmail.com
2047311125959d36fc25fbb7f1224110b20fae54
52107637d2687db30f168ba15ffd1e1e534f4cb4
/mirdata/datasets/tonas.py
ab1246b7ec924539ae8aa594a9b692e98d1cc01d
[ "BSD-3-Clause" ]
permissive
mir-dataset-loaders/mirdata
9be10e0201b08abf51fc72338ccaaacc8216145b
496eb4a9120aa16ff6963792f0c8b738a0c3f310
refs/heads/master
2023-05-07T13:15:16.517429
2023-03-27T13:54:37
2023-03-27T13:54:37
170,765,267
297
65
BSD-3-Clause
2023-08-05T22:48:48
2019-02-14T22:11:33
Python
UTF-8
Python
false
false
12,719
py
""" TONAS Loader .. admonition:: Dataset Info :class: dropdown This dataset contains a music collection of 72 sung excerpts representative of three a cappella singing styles (Deblas, and two variants of Martinete). It has been developed within the COFLA research project context. The distribution is as...
[ "noreply@github.com" ]
mir-dataset-loaders.noreply@github.com
1fbeed6d1f4cf47293abb9b8829b7839b6fd8f97
7d8a4d58fc4c5a73ce8c85e513253a86d6290d3b
/plugin.video.fen/resources/lib/modules/player.py
249b06a8a63cab8e5773dd11789c1c58150c8a88
[]
no_license
bopopescu/icon
cda26d4463d264b7e2080da51f29d84cc48dfb81
e385a6225dd11b7fea5a11215d655cf5006bb018
refs/heads/master
2022-01-12T19:00:04.951604
2019-07-10T05:35:44
2019-07-10T05:35:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,191
py
# -*- coding: utf-8 -*- import xbmc, xbmcplugin, xbmcgui import sys import urllib import json from urlparse import parse_qsl from resources.lib.modules.indicators_bookmarks import detect_bookmark, erase_bookmark from resources.lib.modules.nav_utils import hide_busy_dialog, close_all_dialog from resources.lib.modules.ut...
[ "kodi15887@gmail.com" ]
kodi15887@gmail.com
7c3dfc04897f0d4d50c778ed9925e8a9a3c4fdb4
09e57dd1374713f06b70d7b37a580130d9bbab0d
/data/p2DJ/New/R2/benchmark/startCirq84.py
a797a7c4d5d7e49cf7b5aedb3b512c541b22a87e
[ "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
1,711
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 5/15/20 4:49 PM # @File : grover.py # qubit number=2 # total number=9 import cirq import cirq.google as cg from typing import Optional import sys from math import log2 import numpy as np #thatsNoCode from cirq.contrib.svg import SVGCircuit # Symbols for ...
[ "wangjiyuan123@yeah.net" ]
wangjiyuan123@yeah.net
f8bf83673f352023ed8c7419fc205c8eee6cfc42
e9f096e564afc9f0cfabaeaac67c2ff2b1c46d24
/pymysql01/update.py
db767436d4285c1e11b745dfe591e848422f87e9
[]
no_license
zh199609/pythonLearning
dcb4bfb4560fab0ac66a88934af278489abff38d
430c70f1892966cf8f6b01e30e3a7996e83cc7ff
refs/heads/master
2021-11-21T12:49:21.522780
2021-08-31T13:14:55
2021-08-31T13:14:55
238,373,672
0
0
null
null
null
null
UTF-8
Python
false
false
469
py
# 创建连接 import pymysql conn = pymysql.connect(host="localhost", user='root', password='root', database='books', autocommit=True) # 获取游标 cursor = conn.cursor() # 执行sql sql = "update t_book set title = '西游记修改01' where id = 4" cursor.execute(sql) print("影响的记录数:", cursor.rowcount) # 关闭游标 cursor.close() # 关闭连接 conn.close() ...
[ "1120123073@qq.com" ]
1120123073@qq.com
b8f99ce6a6829a95a5e4779296dbd76a1d416365
f9d564f1aa83eca45872dab7fbaa26dd48210d08
/huaweicloud-sdk-bms/huaweicloudsdkbms/v1/model/address_info.py
5ab5c287376294e8571e0f93ba2a0651682fba42
[ "Apache-2.0" ]
permissive
huaweicloud/huaweicloud-sdk-python-v3
cde6d849ce5b1de05ac5ebfd6153f27803837d84
f69344c1dadb79067746ddf9bfde4bddc18d5ecf
refs/heads/master
2023-09-01T19:29:43.013318
2023-08-31T08:28:59
2023-08-31T08:28:59
262,207,814
103
44
NOASSERTION
2023-06-22T14:50:48
2020-05-08T02:28:43
Python
UTF-8
Python
false
false
6,832
py
# coding: utf-8 import six from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization class AddressInfo: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The key is attribute name ...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
f3e7038704cb777b458dce69e5130f105f8dd4d7
6ecff67d6103ddbd787f78c35182722b83b8a37e
/백준/Python/카테고리/DFS/11724(연결 요소의 개수).py
7a4091ce202ede0784f000483c362a969b976680
[]
no_license
jsungmin6/Algorithm
9ef2339aa00921e7df756a8dff569954a008c118
bc1ea9de9f7ba3f1aa6616ebef8719540d72e0bf
refs/heads/master
2023-05-27T06:24:16.123307
2021-06-11T09:22:21
2021-06-11T09:22:21
259,299,624
0
0
null
null
null
null
UTF-8
Python
false
false
733
py
''' visited 와 graph를 만들어 구하는게 아닐까 ''' from collections import deque import sys input = sys.stdin.readline N,M = map(int,input().split()) visited = [0]*(N+1) graph = [[] for i in range(N+1)] def dfs(i): visited[i] = 1 need_visit=deque(graph[i]) while need_visit: node = need_visit.popleft() ...
[ "jsungmin506@gmail.com" ]
jsungmin506@gmail.com
26b2fcf42fe20f5c02c69785b561a485bae9c91f
b22588340d7925b614a735bbbde1b351ad657ffc
/athena/PhysicsAnalysis/D3PDMaker/QcdD3PDMaker/python/JSTrackJets.py
f04421edf54f821f6b1056046460cf90fb8a50b8
[]
no_license
rushioda/PIXELVALID_athena
90befe12042c1249cbb3655dde1428bb9b9a42ce
22df23187ef85e9c3120122c8375ea0e7d8ea440
refs/heads/master
2020-12-14T22:01:15.365949
2020-01-19T03:59:35
2020-01-19T03:59:35
234,836,993
1
0
null
null
null
null
UTF-8
Python
false
false
5,137
py
# Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration ############################################################### # # JetTrackZClusterTool jobOptions file # # PhysicsAnalysis/JetEtMissDPDModifier/share/JetTrackZClusterTool_jobOptions.py # # https://svnweb.cern.ch/trac/atlasoff/browser/PhysicsAn...
[ "rushioda@lxplus754.cern.ch" ]
rushioda@lxplus754.cern.ch
16173f46fa2faecd70a0cdf9cbd51a926f590924
17268419060d62dabb6e9b9ca70742f0a5ba1494
/pp/types.py
4dd35737400a72f4e304189cf8101cc22720358d
[ "MIT" ]
permissive
TrendingTechnology/gdsfactory
a19124423b12cbbb4f35b61f33303e9a012f82e5
c968558dba1bae7a0421bdf49dc192068147b776
refs/heads/master
2023-02-22T03:05:16.412440
2021-01-24T03:38:00
2021-01-24T03:38:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
577
py
"""Common data types.""" from typing import Callable, Dict, Tuple, Union from pp.component import Component Layer = Tuple[int, int] ComponentOrFunction = Union[Callable, Component] NameToFunctionDict = Dict[str, Callable] Number = Union[float, int] def get_name_to_function_dict(*functions) -> Dict[str, Callable]: ...
[ "noreply@github.com" ]
TrendingTechnology.noreply@github.com
c5f27f2348c5d7b812eaf52d13e8b3cb56d2b862
fcc7dd9d9c7f22808f907759cec6a339c5a1421c
/my_workstation/my-v2/core.PrePostInitMeta.py
3edabd35eb190368ee17c81725ad1b667c000f50
[]
no_license
EmbraceLife/fastai_treasures
3ae792771af3510848c7bb19003b04cff8001e1e
4230be915e70a7e5a22f2f7e5137cca7045754fd
refs/heads/master
2022-10-30T07:46:46.397037
2020-09-09T04:09:14
2020-09-09T04:09:14
173,718,178
21
6
null
2022-10-06T05:32:28
2019-03-04T09:52:12
Jupyter Notebook
UTF-8
Python
false
false
2,111
py
from local.test import * from local.imports import * from local.notebook.showdoc import show_doc from local.core import * # check the official source show_doc(PrePostInitMeta, title_level=3) class PrePostInitMeta(type): """ "A metaclass that calls optional `__pre_init__` and `__post_init__` methods" Why ...
[ "1227561934@qq.com" ]
1227561934@qq.com
0ead5a6450132dc13eb9ea466a731aed48251aa1
0880faa6ef7f30da63a74739203b0f9d7d4fe10e
/wesbanco/items.py
b03a2b1076a10cef81ffb6f9dcaca01f7f808313
[]
no_license
wesleybowen/wesbanco
11c930d9facd5f2ee64b31316192796635529eb9
75e29924f2b57cd4b8da84a04e74fe10a5547942
refs/heads/main
2023-03-26T14:01:32.826370
2021-03-25T08:56:09
2021-03-25T08:56:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
135
py
import scrapy class WesbancoItem(scrapy.Item): title = scrapy.Field() description = scrapy.Field() date = scrapy.Field()
[ "hr.grudev@gmail.com" ]
hr.grudev@gmail.com
e9ba4883701edcd0c2ced8d8e106f5dd022f75af
d659d8f29ef2f01ac1fc8c292e8a836ba36bfd16
/src/transformers/models/blenderbot_small/modeling_blenderbot_small.py
d3e80f02224a7672245d9fcd858c436a9ace5d96
[ "Apache-2.0" ]
permissive
monuminu/transformers
dc0fa4730ca6e37c2053f8b327c37bb322dd99cc
82c6e8fc0efaece02eb6e809b7b03df909ff6c11
refs/heads/master
2023-07-15T13:13:23.525788
2021-08-03T09:41:42
2021-08-03T09:41:42
369,849,849
1
0
Apache-2.0
2021-05-29T05:26:17
2021-05-22T16:00:10
Python
UTF-8
Python
false
false
72,328
py
# coding=utf-8 # Copyright 2021 The Facebook, Inc. and The HuggingFace Inc. team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/L...
[ "noreply@github.com" ]
monuminu.noreply@github.com
8be82b1ecb01d00e2c59861f5272e0287388f6c9
eebe1e43538bcc11a0558b58f2e6a6d22abc6a4a
/DGesQuad/manage.py
bc8d80251e82e44eba5bd6aa3df20298527c7f17
[]
no_license
zurcx/GesQuad
9718843be1e24e5a11572ad90a7a0da1065f15f6
e1b5413ecfb740fd92e2dac8858b9e86fbb6efad
refs/heads/master
2021-01-10T20:11:22.635706
2013-04-25T16:02:02
2013-04-25T16:02:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
251
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "DGesQuad.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
[ "luizfabiodacruz@gmail.com" ]
luizfabiodacruz@gmail.com
595539f9f15b03ff08b9a21351d7fb2c6c6668e1
405d5ab969287f184ea589e73d61cc3be1c5d12b
/kinparse/kinparse.py
4ebc18408467834295ad57576d63765bbbb410ce
[ "MIT" ]
permissive
CBJamo/kinparse
a847c594f1bbed015797bb31ea8c15cc339f9d85
3f4e8e9d881290cbac8e7b71886b0ed6cab0cd9b
refs/heads/master
2020-03-09T06:32:02.646762
2018-04-08T13:02:52
2018-04-08T13:02:52
128,641,751
0
0
null
2018-04-08T13:01:53
2018-04-08T13:01:53
null
UTF-8
Python
false
false
7,150
py
# MIT license # # Copyright (C) 2016 by XESS Corporation. # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modi...
[ "devb@xess.com" ]
devb@xess.com
479c637690d2609afb78de27ddf5b36e90b1d02e
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03011/s370991894.py
b6c99e9bd6ab11dbd9f475b8b3e37ac126223374
[]
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
62
py
time=list(map(int,input().split())) print(sum(time)-max(time))
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
695b7501286789e70267ff4ce0dcf1ccb349a120
6a63a3b241e161d1e69f1521077617ad86f31eab
/release/rllib_tests/multi_gpu_learning_tests/run.py
7835956daf7972e9fe0bad297fab58c3f0d175a8
[ "MIT", "BSD-3-Clause", "Apache-2.0" ]
permissive
jovany-wang/ray
47a9df67e8ea26337517d625df50eb0b8b892135
227aef381a605cb1ebccbba4e84b840634196a35
refs/heads/master
2023-09-03T23:53:00.050619
2022-08-20T21:50:52
2022-08-20T21:50:52
240,190,407
1
1
Apache-2.0
2023-03-04T08:57:04
2020-02-13T06:13:19
Python
UTF-8
Python
false
false
818
py
"""Multi-GPU learning tests for RLlib (torch and tf). """ import json import os from pathlib import Path from ray.rllib.utils.test_utils import run_learning_tests_from_yaml if __name__ == "__main__": # Get path of this very script to look for yaml files. abs_yaml_path = Path(__file__).parent print("abs_y...
[ "noreply@github.com" ]
jovany-wang.noreply@github.com
7edca1e18a6672b3567128648ab71cf7a75a0200
e6d55aa3c68644bdfe37a9472931c01950e27609
/ceggelab/ce/models.py
4fef63b2b397da38f1d012d9759b53a3e5d2848a
[]
no_license
KamonratNg/cegge
2c5597554f183479d4f18a10d9e4132a299ea591
64e3b3012ea96f2fd1c25f1581e83a9c193f7092
refs/heads/master
2023-01-06T18:23:46.668810
2020-11-11T17:56:54
2020-11-11T17:56:54
309,621,257
0
0
null
null
null
null
UTF-8
Python
false
false
562
py
from django.db import models # Create your models here. class Studentrecord(models.Model): student_name_en = models.CharField(max_length=200) student_name_th = models.CharField(max_length=200) student_ID = models.IntegerField(default=0) type = (('M','Master programs'), ('D','Doctoral programs')...
[ "you@example.com" ]
you@example.com
9f5a25ac8aac1ab659663cbe98f1f78fec020788
b3e42025194b81680086d097fed9aa6c84bfce9a
/apps/vendors/locations_urls.py
98387686246dcb4232cee0b5d2523610b972344e
[ "MIT" ]
permissive
superdev999/ProvenBanking
95c65698d9f3a552d04edfd4fd9d4469fb43a47f
2153e9d737e2b235e502c848986ca35b6f310b8d
refs/heads/master
2021-01-12T05:17:31.864890
2017-08-17T00:11:59
2017-08-17T00:11:59
77,897,989
0
0
null
null
null
null
UTF-8
Python
false
false
679
py
from django.conf.urls import patterns, include, url from med_social.decorators import member_required from vendors.views import (CreateVendorLocation, EditVendorLocation, DeleteVendorLocation, VendorLocationList) # namespace = locations urlpatterns = patterns('', url(r'^(?P<pk>\d+)/create/$', member_requir...
[ "wanghaoming820@outlook.com" ]
wanghaoming820@outlook.com
088511264beb5b545d0e43bf09441aa35f1c34e7
f845225329fa9750c838bf511fed3beb48cc86af
/listings/migrations/0001_initial.py
9ea3d0e0a6433a346296dafd185e3909e32ea71a
[]
no_license
Fabricourt/btre_project-
ac8c2b84cc8b7f4f5368a204dc23b378d488b356
13defd495ba309ac31550d22ad7d6306638f91eb
refs/heads/master
2020-04-15T11:03:05.980170
2019-01-08T11:16:56
2019-01-08T11:16:56
164,611,152
0
0
null
null
null
null
UTF-8
Python
false
false
2,168
py
# Generated by Django 2.1.4 on 2018-12-23 13:47 import datetime from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('realtors', '0001_initial'), ] operations = [ migrations.CreateModel( ...
[ "mfalme2030@gmail.com" ]
mfalme2030@gmail.com
4dd1a54ae37966be0ac487524f3fed672f577f6a
e0980f704a573894350e285f66f4cf390837238e
/.history/streams/blocks_20201023164513.py
720eace3df9f2dc075a573f46a06fa46c97fa7f1
[]
no_license
rucpata/WagtailWebsite
28008474ec779d12ef43bceb61827168274a8b61
5aa44f51592f49c9a708fc5515ad877c6a29dfd9
refs/heads/main
2023-02-09T15:30:02.133415
2021-01-05T14:55:45
2021-01-05T14:55:45
303,961,094
0
0
null
null
null
null
UTF-8
Python
false
false
1,931
py
from wagtail.core import blocks from wagtail.images.blocks import ImageChooserBlock class TitleBlock(blocks.StructBlock): text = blocks.CharBlock( required = True, elp_text='Tekst do wyświetlenia', ) class Meta: template = 'streams/title_block.html' icon = 'edycja' ...
[ "rucinska.patrycja@gmail.com" ]
rucinska.patrycja@gmail.com
9d1e4dd14768158747ff119fc01cb8c311ebdd4d
78144baee82268a550400bbdb8c68de524adc68f
/Production/python/Summer16v3/QCD_Pt_80to120_TuneCUETP8M1_13TeV_pythia8_cff.py
9c1d46ac3678e0c9fb9f265b964da728f5774dfe
[]
no_license
tklijnsma/TreeMaker
e6989c03189b849aff2007bad22e2bfc6922a244
248f2c04cc690ef2e2202b452d6f52837c4c08e5
refs/heads/Run2_2017
2023-05-26T23:03:42.512963
2020-05-12T18:44:15
2020-05-12T18:44:15
263,960,056
1
2
null
2020-09-25T00:27:35
2020-05-14T15:57:20
null
UTF-8
Python
false
false
10,792
py
import FWCore.ParameterSet.Config as cms maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1) ) readFiles = cms.untracked.vstring() secFiles = cms.untracked.vstring() source = cms.Source ("PoolSource",fileNames = readFiles, secondaryFileNames = secFiles) readFiles.extend( [ '/store/mc/RunIISummer16Mi...
[ "Alexx.Perloff@Colorado.edu" ]
Alexx.Perloff@Colorado.edu
01a3a428407e02aaf5a3e666649d68eaa1e1e1b1
8a4f0d4aad4a901bd08fd5eb92b2a31fb1bac167
/dizoo/smac/config/smac_MMM_coma_config.py
b99dd285cf57a67513b658576e9a62336a1d8eaa
[ "Apache-2.0" ]
permissive
lichuminglcm/DI-engine
3977eed854dc634f8796764e0a7e0b71b615747f
e9052f195d231a9875afb053ba815c6341857571
refs/heads/main
2023-08-21T05:09:49.931351
2021-10-11T12:32:36
2021-10-11T12:32:36
415,903,070
0
0
Apache-2.0
2021-10-11T12:32:37
2021-10-11T11:48:26
Python
UTF-8
Python
false
false
2,855
py
import sys from copy import deepcopy from ding.entry import serial_pipeline from easydict import EasyDict agent_num = 10 collector_env_num = 16 evaluator_env_num = 8 main_config = dict( env=dict( map_name='MMM', difficulty=7, reward_only_positive=True, mirror_opponent=False, ...
[ "niuyazhe@sensetime.com" ]
niuyazhe@sensetime.com
00f80ba31ddfb7053bb5c584ada8ce11612618d3
1baf76e19a719ebb2207f2af2924fc53349d6a60
/internship3_env/bin/black
7ae627598807eb9072010262c912bdf4e16afbd3
[ "MIT" ]
permissive
Zamy97/internship_3
4deb0df914e68930b23faa6bf7e0ca7fd342fbd8
9c9db252b6818316e9864839075bb1d23714f7e4
refs/heads/master
2023-01-01T15:33:45.980776
2020-10-28T02:47:34
2020-10-28T02:47:34
307,861,296
0
0
null
null
null
null
UTF-8
Python
false
false
338
#!/Users/zamy/Desktop/Python_Projects/excl_intrnship_projects/excl_internship_0/internship_3/internship_3/internship3_env/bin/python3 # -*- coding: utf-8 -*- import re import sys from black import patched_main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exi...
[ "aktarzaman@berkeley.edu" ]
aktarzaman@berkeley.edu
e92f37657c6db9b8535a58da0709431147348625
6413fe58b04ac2a7efe1e56050ad42d0e688adc6
/tempenv/lib/python3.7/site-packages/plotly/validators/parcats/line/colorbar/_lenmode.py
bcb4aa6f6f7b818eda6ecb5c198c420b34567bf3
[ "MIT" ]
permissive
tytechortz/Denver_temperature
7f91e0ac649f9584147d59193568f6ec7efe3a77
9d9ea31cd7ec003e8431dcbb10a3320be272996d
refs/heads/master
2022-12-09T06:22:14.963463
2019-10-09T16:30:52
2019-10-09T16:30:52
170,581,559
1
0
MIT
2022-06-21T23:04:21
2019-02-13T21:22:53
Python
UTF-8
Python
false
false
568
py
import _plotly_utils.basevalidators class LenmodeValidator(_plotly_utils.basevalidators.EnumeratedValidator): def __init__( self, plotly_name='lenmode', parent_name='parcats.line.colorbar', **kwargs ): super(LenmodeValidator, self).__init__( plotly_name=plo...
[ "jmswank7@gmail.com" ]
jmswank7@gmail.com
b124bf0ba59ebf9333a3780b526609d07c55a3e6
ac1938e7513d8e58f2228962b10caa1044a3d8ff
/python-fundamentals/39-find_the_duplicate/solution.py
eb8b89c18dca0a01d877565a4f8a2dce20c66afe
[]
no_license
annikaslund/python_practice
fb211cfec725573a3e9f5f358c869e1edd8608a3
a6a1586ebbb1883afc8d7920848167955fa258a0
refs/heads/master
2020-04-22T07:33:32.389883
2019-02-14T16:53:53
2019-02-14T16:53:53
170,220,379
0
0
null
null
null
null
UTF-8
Python
false
false
181
py
def find_the_duplicate(nums): """Find duplicate number in nums.""" seen = set() for num in nums: if num in seen: return num seen.add(num)
[ "joel@joelburton.com" ]
joel@joelburton.com
659c8d2a968faea0223a4e997f381d01e84cd5bb
49edd8549054f63a73c846d0bdf48930703b9aed
/app/core/tests/test_commands.py
62b7167bf5c90ce7dbf86dd6f42b6fa7e37f8d6e
[]
no_license
AlekseiChirkov/recipe-app-api
370ccc8239197d700407449e892abd0a804e1504
e5d1a0561951b46e0766c96e28f5f4ad707a9bc9
refs/heads/main
2023-08-23T10:14:50.337020
2021-10-04T07:02:19
2021-10-04T07:02:19
381,278,748
0
0
null
null
null
null
UTF-8
Python
false
false
890
py
from unittest.mock import patch from django.core.management import call_command from django.db.utils import OperationalError from django.test import TestCase class CommandTests(TestCase): def test_wait_for_db_ready(self): """ Test wating for db when db is available :return: """ ...
[ "tektonikboy98@gmail.com" ]
tektonikboy98@gmail.com
54431f70529ad477776902aaf6afb9bed0e1f2d0
7ae20e08e736e6df546cb5a80df2baf067686b52
/tasks/sprint-3/Финал B - Effective Quick Sort/effective_quick_sort_test.py
4938fba3eee95666adf5ae8f300c6c7e8bbbcacb
[]
no_license
Grey2k/yandex.praktikum-alghoritms
faf466374c932733cc1c5049a2df719d8fd33ac7
97b1b4858265b44266a33b834e1e9a1349739048
refs/heads/master
2023-08-28T02:46:16.502298
2021-09-28T19:08:35
2021-09-28T19:08:35
334,646,281
10
1
null
null
null
null
UTF-8
Python
false
false
7,881
py
import unittest import io from unittest.mock import patch from effective_quick_sort import main class EffectiveQuickSortTest(unittest.TestCase): @patch('sys.stdin', io.StringIO("\n".join([ '5', 'alla 4 100', 'gena 6 1000', 'gosha 2 90', 'rita 2 90', 'timofey 4 80',...
[ "grey2k@gmail.com" ]
grey2k@gmail.com
3f5d882eb5c278177e7ea02ad9b0bae7cf3d56a7
dd80a584130ef1a0333429ba76c1cee0eb40df73
/external/chromium_org/chrome/common/extensions/docs/server2/features_bundle_test.py
50767975bc1ae25f4024e0185a990181d1544b71
[ "BSD-3-Clause", "MIT" ]
permissive
karunmatharu/Android-4.4-Pay-by-Data
466f4e169ede13c5835424c78e8c30ce58f885c1
fcb778e92d4aad525ef7a995660580f948d40bc9
refs/heads/master
2021-03-24T13:33:01.721868
2017-02-18T17:48:49
2017-02-18T17:48:49
81,847,777
0
2
MIT
2020-03-09T00:02:12
2017-02-13T16:47:00
null
UTF-8
Python
false
false
7,104
py
#!/usr/bin/env python # Copyright 2013 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import json import unittest from extensions_paths import EXTENSIONS from server_instance import ServerInstance from test_file_system i...
[ "karun.matharu@gmail.com" ]
karun.matharu@gmail.com
279e0d1e2d470454199c547c791cb5ef62e33742
18305efd1edeb68db69880e03411df37fc83b58b
/pdb_files3000rot/yw/1ywr/tractability_450/pymol_results_file.py
ebb72d9d9960837c67a5b78068b76528df0d8d86
[]
no_license
Cradoux/hotspot_pipline
22e604974c8e38c9ffa979092267a77c6e1dc458
88f7fab8611ebf67334474c6e9ea8fc5e52d27da
refs/heads/master
2021-11-03T16:21:12.837229
2019-03-28T08:31:39
2019-03-28T08:31:39
170,106,739
0
0
null
null
null
null
UTF-8
Python
false
false
6,618
py
from os.path import join import tempfile import zipfile from pymol import cmd, finish_launching from pymol.cgo import * finish_launching() dirpath = None def cgo_arrow(atom1='pk1', atom2='pk2', radius=0.07, gap=0.0, hlength=-1, hradius=-1, color='blue red', name=''): from chempy import cpv radius, gap =...
[ "cradoux.cr@gmail.com" ]
cradoux.cr@gmail.com
882f0f25e1b5052422d03c13ad8d30b00414aa07
4ba50e4df5b7d8d8330135559554b990ce67bce4
/tests/__init__.py
67087766e181371172841cfcf3dd1f3c7da689ea
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
scottyhq/snowexsql
dd0c6741c7d0e0f679606f0d94368df667f4d533
c673a746592d2a6dc02547ac11a68a697dfe0d34
refs/heads/master
2023-04-15T02:44:28.769853
2021-05-01T14:49:56
2021-05-01T14:49:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
39
py
"""Unit test package for snowexsql."""
[ "micah.johnson150@gmail.com" ]
micah.johnson150@gmail.com
e829b3c4b85543d0c217195b930a908a47eb42ec
386d1b6557f4cbaf20794cd222f3b7b8598ef6a6
/data/clean_data/A1/81.py
8adc1c38d7e03dff806e025dd070c4524f27725c
[]
no_license
woowei0102/code2pro
3baf86985f911264362963c503f12d20bdc1f89f
0b16c62a1cb9053ab59edd7a52e1b3b39fdf66dc
refs/heads/main
2023-06-28T23:09:23.998798
2021-07-13T11:49:27
2021-07-13T11:49:27
385,585,282
0
0
null
null
null
null
UTF-8
Python
false
false
621
py
class Account: def __init__(self, name): self.name = name self.balance = 0 def deposit(self, amount): self.balance += amount print('{}存了NT$'.format(self.name) + str(amount) + '元') def withdraw(self, amount): if self.balance >= amount: self...
[ "54971984+woowei0102@users.noreply.github.com" ]
54971984+woowei0102@users.noreply.github.com
d1c982f88855f761cac1e63ac2a25c7026cee10c
9daf1ecdfc69a1a97998465fae2102f0f2845eb0
/deepbond/models/rcnn_crf.py
3118eefd7a1f3809a359955b8e9450ee478a342e
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
mtreviso/deepbond
f3d23de8955f8ff1085b24fe53ebb7ff722a2a7f
a36ccb71e4457889d340920260f18666835d703f
refs/heads/master
2023-04-07T22:58:34.650115
2023-03-15T16:27:58
2023-03-15T16:27:58
114,040,073
17
2
null
null
null
null
UTF-8
Python
false
false
5,573
py
import torch import torch.nn as nn from torch.nn.utils.rnn import pack_padded_sequence as pack from torch.nn.utils.rnn import pad_packed_sequence as unpack from deepbond import constants from deepbond.initialization import init_xavier, init_kaiming from deepbond.models.model import Model from deepbond.modules.crf impo...
[ "marcosvtreviso@gmail.com" ]
marcosvtreviso@gmail.com
1cd352d1bca1e800029113e0addaac329f0597b1
4f7dc1bd5a5561c9f3fb693f0d6f4c6b13504db6
/library/v0.5/analysis_tools/kinase_enrichment/kinase_enrichment.py
00278ff36b510fa6436063457fa111a67be34ad7
[]
no_license
bluejek128/microglia
296b02d21f82f0769c18e3fa7e63eadd374e4965
f9f2281c277d1b71ca80e26cc071fa096e653e68
refs/heads/master
2020-03-13T21:48:14.750943
2018-05-07T20:43:32
2018-05-07T20:43:32
131,304,292
0
0
null
null
null
null
UTF-8
Python
false
false
7,204
py
################################################################# ################################################################# ############### DE ################################################################# ################################################################# ###################################...
[ "denis.torre@mssm.edu" ]
denis.torre@mssm.edu
c1080f3be20f44fea54a411bbe22c1ee9d6f684d
fe4f2aeb889f939ea6caf4a34371a3558064abcd
/vqa/model_vlmap_answer_full.py
f1185b07099b9fce81c71ccfbf3435a883d84cff
[ "MIT" ]
permissive
HyeonwooNoh/VQA-Transfer-ExternalData
cf9c1b82dd55389dfe5f52d8fd196780dd3d4629
d21b700bcdc3ba3c392ff793b3f5efe23eb68ed6
refs/heads/master
2021-10-25T22:58:00.318492
2019-04-08T04:52:46
2019-04-08T04:52:46
122,662,354
21
3
null
null
null
null
UTF-8
Python
false
false
11,656
py
import cPickle import h5py import os import numpy as np import tensorflow as tf from util import log from vlmap import modules W_DIM = 300 # Word dimension L_DIM = 1024 # Language dimension V_DIM = 1024 class Model(object): def __init__(self, batch, config, is_train=True): self.batch = batch ...
[ "hyeonwoonoh@gmail.com" ]
hyeonwoonoh@gmail.com
6043f98f1ed60196e5ff93332d829900c7068f56
b2cf4b4900a3a8728c673af47df8fe6b577900ed
/experiments/src/ex29/ex29_6_final.py
3e32695b484e0ed2e12f1853a57b571fe1622683
[]
no_license
gabormakrai/landuseregression
7b7b2a2e78de263a5db765c3cf4d827e2023b771
ac103485dc846758c2bf75e10d52080e334af61e
refs/heads/master
2021-01-20T01:13:57.867355
2018-09-24T22:19:49
2018-09-24T22:19:49
42,457,548
10
0
null
null
null
null
UTF-8
Python
false
false
8,669
py
from ex29.crossvalidation import splitDataForXValidation,\ splitDataForXValidationWithLocation from data.data import loadData from sklearn.ensemble.forest import RandomForestRegressor,\ RandomForestClassifier from eval.rmse import rmseEval OUTPUT_FILE = "/experiments/ex29/ex29_6_final.csv" OUTPUT_LOG_FILE = "/...
[ "makraigabor@gmail.com" ]
makraigabor@gmail.com
43a4b48b9af6e391d2d94d872ba672bbdee47e83
bc441bb06b8948288f110af63feda4e798f30225
/agent_admin_sdk/model/topology/link_pb2.py
57425310345e86fec127525b11152a17ac288f7c
[ "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
true
3,202
py
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: link.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import...
[ "service@easyops.cn" ]
service@easyops.cn
9a8385ebac75bfafb7f8a0eded1d52e017c2102c
fd281c5c50d31c32ff3724d6cfc9534d8bf65b06
/artigos/migrations/0002_auto_20170922_1603.py
fcd70e91a35936ae7094e5bb9b521c2d1b548346
[]
no_license
thiagorocha06/mairimed-site
72ef24cdf0bdc016dac821bb3d8117283a6d9f52
5537755ced8c1e4ff8641686acf241b254e50670
refs/heads/master
2021-01-22T17:48:17.227737
2017-10-29T10:39:26
2017-10-29T10:39:26
100,734,508
0
0
null
null
null
null
UTF-8
Python
false
false
4,052
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.7 on 2017-09-22 19:03 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('artigos', '0001_initial'), ] operations = [ migrations.AlterField( ...
[ "thiagorocha06@gmail.com" ]
thiagorocha06@gmail.com
a4f6c54a5d544fc14b830f131426060871b97721
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/59/usersdata/161/48984/submittedfiles/testes.py
aa8ccc2aca043bef467a8eafb70d9d924c95f684
[]
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
169
py
n=int(input('numero:')) soma=0 for i in range(0,n+1,1): fat=1 for a in range(1,i+1,1): fat=fat*a soma=soma+(1/math.factorial) print(soma)
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
6ccd2c5d4edca415ab24a1f3efd1a03ab45a84e7
773f6abee91e5368e43b34d8ad179c4ab9056da1
/gen/wellknownfiletype.py
fb3c550fa4fa8b577314a4ae3c13e8a54548196e
[]
no_license
richstoner/aibs
3dc9489ee6a1db836d58ec736b13d35a7cffc215
bfc7e732b53b4dff55f7c3edccdd0703f4bab25f
refs/heads/master
2021-01-10T05:11:09.484238
2013-03-03T06:19:34
2013-03-03T06:19:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
424
py
# -*- coding: utf-8 -*- # Rich Stoner, 2013 class WellKnownFileType(object): '''aibs.model.wellknownfiletype (autogen)''' # Fields self.id = 0 self.name = '' # Associations self.well_known_files = [] # has_many WellKnownFile def __init__(self, initialData={}): for k,v in initData...
[ "stonerri@gmail.com" ]
stonerri@gmail.com
1368e722eb797feff1eca7bb87f37bd18411b067
150d9e4cee92be00251625b7f9ff231cc8306e9f
/RemoveDupLL.py
356fd8431d9a51ac2bd0a44d1c699d17ce8499ff
[]
no_license
JerinPaulS/Python-Programs
0d3724ce277794be597104d9e8f8becb67282cb0
d0778178d89d39a93ddb9b95ca18706554eb7655
refs/heads/master
2022-05-12T02:18:12.599648
2022-04-20T18:02:15
2022-04-20T18:02:15
216,547,245
0
0
null
null
null
null
UTF-8
Python
false
false
1,390
py
''' Given the head of a sorted linked list, delete all duplicates such that each element appears only once. Return the linked list sorted as well. Example 1: Input: head = [1,1,2] Output: [1,2] Example 2: Input: head = [1,1,2,3,3] Output: [1,2,3] Constraints: The number of nodes in the list is in the range ...
[ "jerinsprograms@gmail.com" ]
jerinsprograms@gmail.com
bd9bf52af07739506da5af2853530d5eb1039364
3d65a2d72e65083c752281368cf040ae977e4757
/analysis_modules/create_false_odor_packets.py
073d56d041990cffb7401e49375a73b6e39bf9ef
[]
no_license
florisvb/OdorAnalysis
6b4b2c32979b9139856aee20cc63c34cfe63819e
18beae8d3c6be271f171b1c36c9fd932a8a404ba
refs/heads/master
2020-06-03T14:48:34.962795
2012-10-23T22:28:21
2012-10-23T22:28:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,652
py
import matplotlib.pyplot as plt import matplotlib.animation as animation import numpy as np import copy import data_fit import odor_dataset as od import fly_plot_lib.plot as fpl import matplotlib def play_movie_from_model(gm=None): fig = plt.figure() t_start = 13 anim_params = {'t': t_start, 'xlim': [0...
[ "florisvb@gmail.com" ]
florisvb@gmail.com
d8c01001bdd05781a5065833b44d905e0e0a580d
c8bdf62ce953b37cd79c9666b669c0aa938fef91
/selfdrive/mapd/default_speeds_generator.py
59436a7b70a4cd918a47a08d1c6a2a507b086754
[ "MIT", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
richardyu-au/openpilot
0a7b70e29888494e25013f38680b726114f05421
27e0adc434906e37fd7674160a0a8c2dd5c3c180
refs/heads/devel
2020-04-29T02:03:56.521067
2019-03-11T19:13:18
2019-03-11T19:13:18
175,751,297
0
0
MIT
2019-03-15T04:59:35
2019-03-15T04:59:34
null
UTF-8
Python
false
false
9,481
py
#!/usr/bin/env python import json OUTPUT_FILENAME = "default_speeds_by_region.json" def main(): countries = [] """ -------------------------------------------------- US - United State of America -------------------------------------------------- """ US = Country("US") # First step, create the count...
[ "user@comma.ai" ]
user@comma.ai
96fbda29f56474fb36c91a465db699b27f1b825b
09f0505f3ac1dccaf301c1e363423f38768cc3cc
/r_DailyProgrammer/Intermediate/C302/__init__.py
5c911bdc5a9c77577af17aa4a5625a99607d6350
[]
no_license
Awesome-Austin/PythonPractice
02212292b92814016d062f0fec1c990ebde21fe7
9a717f91d41122be6393f9fcd1a648c5e62314b3
refs/heads/master
2023-06-21T11:43:59.366064
2021-07-29T23:33:00
2021-07-29T23:33:00
270,854,302
0
0
null
2020-08-11T20:47:10
2020-06-08T23:24:09
Python
UTF-8
Python
false
false
71
py
#! python3 from r_DailyProgrammer.Intermediate.C302.main import main
[ "{ID}+{username}@users.noreply.github.com" ]
{ID}+{username}@users.noreply.github.com
2e5aa056829a7e404aebb2f952bfc8b7aa726fe6
9b5d0b7d7c9cdaef2851b675292e5eef651ab257
/tools/extract/liftOver_wrapper.py
6b23580be746f0f57f2fa12ee10ca9983d07cffb
[ "CC-BY-2.5", "MIT" ]
permissive
msGenDev/Yeps-EURAC
392fd497a6891a5a22204b236c26dcd133793f21
7b679ea17ba294893cc560354d759cfd61c0b450
refs/heads/master
2021-01-16T21:49:26.499975
2010-04-05T17:52:50
2010-04-05T17:52:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,909
py
#!/usr/bin/env python #Guruprasad Ananda """ Converts coordinates from one build/assembly to another using liftOver binary and mapping files downloaded from UCSC. """ import sys, os, string import tempfile import re assert sys.version_info[:2] >= ( 2, 4 ) def stop_err(msg): sys.stderr.write(msg) sys.exit() ...
[ "fox91@anche.no" ]
fox91@anche.no
017a4d9314cc977d5c80644063b57eaa990b050d
b0174911702ab63f7ba0d0ca4cb03ae6453dc182
/calas7262/service/interfaces.py
9c34585091728f72ed26c481c929d96a16b1d145
[ "MIT" ]
permissive
astrorafael/calas7262
4001bffdc586b91677095ac4f112170911c93e7c
8ff4c0ce5bf670fe0bf6fde218ecd7c993c41d0e
refs/heads/master
2020-08-01T18:12:39.020668
2019-10-28T10:07:18
2019-10-28T10:07:18
211,072,096
1
0
null
null
null
null
UTF-8
Python
false
false
2,426
py
# ---------------------------------------------------------------------- # Copyright (c) 2014 Rafael Gonzalez. # # See the LICENSE file for details # ---------------------------------------------------------------------- #-------------------- # System wide imports # ------------------- from __future__ import division...
[ "astrorafael@yahoo.es" ]
astrorafael@yahoo.es
12617fabbf89c88ca061ddde97c6781271a3d367
7357d367b0af4650ccc5b783b7a59090fdde47bb
/neo/Core/TX/IssueTransaction.py
8113d4c98a96ad128375898867a454f12b1368c5
[ "MIT" ]
permissive
BarracudaPff/code-golf-data-python
fb0cfc74d1777c4246d56a5db8525432bf37ab1a
42e8858c2ebc6a061012bcadb167d29cebb85c5e
refs/heads/main
2023-05-29T05:52:22.856551
2020-05-23T22:12:48
2020-05-23T22:12:48
378,832,634
0
0
null
null
null
null
UTF-8
Python
false
false
1,228
py
""" Description: Issue Transaction Usage: from neo.Core.TX.IssueTransaction import IssueTransaction """ class IssueTransaction(Transaction): """docstring for IssueTransaction""" def __init__(self, *args, **kwargs): """ Create an instance. Args: *args: **kwargs: ...
[ "sokolov.yas@gmail.com" ]
sokolov.yas@gmail.com
d7d3e50712748c0c8737e836bb75ea879e62ba06
f5bfdaccf014b9a986a8d1e58a4655c21b8368ce
/send_recv/basic_conn/client.py
2e1bae8dfa62e99c7500ac9dd12c31c24b8e853e
[]
no_license
wlgud0402/class
a6029bb51160cb2ba39dd59b3826532becd61895
ae84bfe4bb832d1a5a8434f3a6f78a57da272d62
refs/heads/master
2022-10-09T18:47:53.165134
2020-06-13T07:46:21
2020-06-13T07:46:21
271,963,794
0
0
null
null
null
null
UTF-8
Python
false
false
264
py
import socket import time client_socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM) # ipv4, TCP client_socket.connect(('127.0.0.1', 3000)) # client_socket.sendall(bytes([234, 185 ,128])) client_socket.sendall("김지형".encode()) client_socket.close()
[ "wlgudrlgus@naver.com" ]
wlgudrlgus@naver.com
9341990ffd55f00376c0f6771d2fff7b135601e0
76938f270e6165514162856b2ed33c78e3c3bcb5
/lib/coginvasion/minigame/CameraShyHeadPanels.py
d54c8dccdc92354cc6b09258cd61a99ec93f52ad
[]
no_license
coginvasion/src
9a5ec682845cc4c9c013fcc35e9b379bd4360b6c
2d7fcdb0cd073050250cb51292ee48300a9fe19f
refs/heads/master
2021-01-19T06:50:11.786112
2015-11-08T12:28:52
2015-11-08T12:28:52
61,545,543
1
2
null
null
null
null
UTF-8
Python
false
false
3,548
py
# Embedded file name: lib.coginvasion.minigame.CameraShyHeadPanels from panda3d.core import Point3, VBase4 from direct.directnotify.DirectNotifyGlobal import directNotify from direct.gui.DirectGui import DirectFrame from lib.coginvasion.toon.ToonHead import ToonHead from HeadPanels import HeadPanels class CameraShyHea...
[ "ttarchive@yandex.com" ]
ttarchive@yandex.com
0764441710a1e2bc191eba04dedbcb39accb063a
502af3505e4e670c507ee6a5dedbc41995cefa09
/deep_generative_models/tasks/arae/sample.py
8206a693522c003f87c778e649a89ad618c03744
[]
no_license
manoj04418/deep-generative-models
c1e8062e280ac6d1f3fb8ab359a21e870a2276df
402d06773320231d9135c88d8a6033f916a68f89
refs/heads/master
2022-10-02T10:44:14.857680
2020-06-10T14:50:48
2020-06-10T14:50:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
505
py
import argparse from deep_generative_models.configuration import load_configuration from deep_generative_models.tasks.gan_with_autoencoder.sample import SampleGANWithAutoEncoder if __name__ == '__main__': options_parser = argparse.ArgumentParser(description="Sample from ARAE.") options_parser.add_argument("c...
[ "ramirocamino@gmail.com" ]
ramirocamino@gmail.com
8c0f067abeaf7da4af4794f4fd818c33ee8870ef
3f7240da3dc81205a0a3bf3428ee4e7ae74fb3a2
/src/Week10/Recursion/Recursive Math/recursiveMath.py
3971edeec5e2ac01cd6538f02737243d4440daeb
[]
no_license
theguyoverthere/CMU15-112-Spring17
b4ab8e29c31410b4c68d7b2c696a76b9d85ab4d8
b8287092b14e82d2a3aeac6c27bffbc95382eb34
refs/heads/master
2021-04-27T08:52:45.237631
2018-10-02T15:38:18
2018-10-02T15:38:18
107,882,442
0
0
null
null
null
null
UTF-8
Python
false
false
2,603
py
# A few example recursive functions. # Can you figure out what each one does, in general? import math def f1(x): if x == 0: return 0 else: return 1 + f1(x-1) #f(0) = 0, f(1) = 1, f(2) = 2, f(3) = 3 def f2(x): if x == 0: return 40 else: return 1 + f2(x-1) #f(0) = 40, f(1) = 41, f(2) = 42 def f3(x): ...
[ "tariqueanwer@outlook.com" ]
tariqueanwer@outlook.com
2d4e5375e79cc35c8674acf1f09ed3ea017a8102
01bf95e0c0d57e3a1392f9d7e20580376c9e39a2
/keystone/backends/sqlalchemy/migrate_repo/versions/002_rename_token_table.py
1d15d9dac471ffd9d2e3887ea331871420c26b32
[ "Apache-2.0" ]
permissive
oubiwann/keystone
433713dd5d542484fc754ecfd097dc02759555b2
5c70d24462d75256fb6167d58e13d9c0a3d60427
refs/heads/master
2021-01-15T16:00:31.822891
2011-12-02T14:39:59
2011-12-02T14:39:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
435
py
""" Addresses bug 854425 Renames the 'token' table to 'tokens', in order to appear more consistent with other table names. """ # pylint: disable=C0103 import sqlalchemy meta = sqlalchemy.MetaData() def upgrade(migrate_engine): meta.bind = migrate_engine sqlalchemy.Table('token', meta).rename('tokens') ...
[ "dolph.mathews@gmail.com" ]
dolph.mathews@gmail.com
162ca16f1c1766a7e0eba5b50a4d4e47a7f382d6
6b09043b97fb379aebd4363ff07d4cc53e8ec0b9
/Day 8/08-DailyFlash_Solutions/22_Jan_Solutions_Three/Python/p1.py
95966c06b2a0fe2542e4ee03e372c0259eb8dc23
[]
no_license
Aadesh-Shigavan/Python_Daily_Flash
6a4bdd73a33f533f3b121fae9eef973e10bf3945
b118beeca3f4c97de54ae1a610f83da81157009a
refs/heads/master
2022-11-28T13:03:17.573906
2020-08-06T15:36:36
2020-08-06T15:36:36
276,581,310
0
0
null
null
null
null
UTF-8
Python
false
false
499
py
''' Program 1: Write a program that accepts two integers from user and prints addition & Subtraction of them. {Note: checks for greater number to subtracts with while subtracting numbers} Input: 10 20 Output: Addition is 20 Subtraction is 10 ''' var1=int(input("enter first integer ")) var2=int(input("enter second...
[ "aadesh.shigavan01@gmail.com" ]
aadesh.shigavan01@gmail.com
b04295b6bd02ded41471966b990097969fe52ff6
55628a9a08a6b6646b4a8aa74bedbf2e3fd7d850
/.history/master_20200108222014.py
f0ad1ad6e18e50c3c5af481bb7301cae10b1b643
[]
no_license
StRobertCHSCS/final-project-team
c115dc11b318f7ac782c94860a8801bb558bd107
48907e72813c4dd3b48ff36f794f6fce04533219
refs/heads/master
2020-12-03T22:35:37.833893
2020-01-31T04:05:38
2020-01-31T04:05:38
231,506,873
1
0
null
null
null
null
UTF-8
Python
false
false
3,220
py
import arcade import random # Set how many rows and columns we will have ROW_COUNT = 29 COLUMN_COUNT = 51 # This sets the WIDTH and HEIGHT of each grid location WIDTH = 20 HEIGHT = 20 # This sets the margin between each cell # and on the edges of the screen. MARGIN = 5 # Do the math to figure out our screen dimensi...
[ "clementina1023@gmail.com" ]
clementina1023@gmail.com
038ed0403663029f64d78bc9575373753b2fc331
bf28036f99ee0d94ac6c5172659018c5b55fa337
/drum.py
b4f15451e9124ed7a1e29d1c8559af5b9569f58c
[]
no_license
shantinavgurukul/Dictionary_questions
1fb2da829675fb8e5ef23b7259e2de29f58ce505
ac79ec33901de4414359e48a88cf2cc882d79b5c
refs/heads/master
2022-12-26T13:15:33.477165
2020-10-05T16:21:00
2020-10-05T16:21:00
301,469,439
0
0
null
null
null
null
UTF-8
Python
false
false
451
py
import json dict1 ={ "emp1": { "name": "Lisa", "designation": "programmer", "age": "34", "salary": "54000" }, "emp2": { "name": "Elis", "designation": "Trainee", "age": "24", "salary": "40000" }, } out_file = open("myfile.json", "w") # a=w...
[ "you@example.com" ]
you@example.com
f5f87e659a58abd555e1e571e39cf2b5eedc1cd1
6fcfb638fa725b6d21083ec54e3609fc1b287d9e
/python/weecology_retriever/retriever-master/scripts/prism_climate.py
ed1da4bfd28d1a966b678c31c30ee3d3244572a9
[]
no_license
LiuFang816/SALSTM_py_data
6db258e51858aeff14af38898fef715b46980ac1
d494b3041069d377d6a7a9c296a14334f2fa5acc
refs/heads/master
2022-12-25T06:39:52.222097
2019-12-12T08:49:07
2019-12-12T08:49:07
227,546,525
10
7
null
2022-12-19T02:53:01
2019-12-12T07:29:39
Python
UTF-8
Python
false
false
2,745
py
#retriever """Retriever script for direct download of PRISM climate data""" from future import standard_library standard_library.install_aliases() from builtins import range from retriever.lib.templates import Script import urllib.request, urllib.parse, urllib.error class main(Script): def __init__(self, **kwarg...
[ "659338505@qq.com" ]
659338505@qq.com
59fcde378e9247778415b7848b2705ccfe8e3385
11a0fab712b139bcba9e90f6acdc7597dff68dbb
/mestrado/ppgmcs/m07-elaboracao-de-dissertacao-i/projeto/codigo/teste1/grade/grade.py
daaca83d32160a4d36b59cbfca4b0cb9ba952eb3
[]
no_license
fapers/MeusTreinamentos
17ba096d518df533433ae2528b70d18717f3cf96
32a6b791b0c3dbb8b29ffd177597919e768b09b5
refs/heads/master
2023-06-04T14:00:37.847808
2021-06-28T02:37:11
2021-06-28T02:37:11
292,962,787
0
0
null
null
null
null
UTF-8
Python
false
false
424
py
import numpy as np def newgrade(h, d, t, p): grade = np.arange(len(h)*len(d)*len(t)).reshape(len(d), len(h), len(t)) for i in range(len(d)): for j in range(len(h)): for k in range(len(t)): aleatorio = np.random.choice(p) grade[i][j][k] = int(aleatorio) r...
[ "fpsmoc@yahoo.com.br" ]
fpsmoc@yahoo.com.br
05e423199bcd4237ba3acf5f863237c356aa85d7
95289559871f328cbed764cee33f85994599ef1f
/my_package/SeparableConvFlow/SeparableConvFlowLayer.py
3428875de42fdbb72f8502bd817f5a3fa7a06b03
[ "MIT" ]
permissive
Bostwickenator/Dain-App
10a6f725e8c82b2a9a4f59060521d675f5b63e40
27a9dc83f36b549129a1815a095da9c782c8752e
refs/heads/master
2023-03-18T16:41:31.839901
2021-03-20T20:00:53
2021-03-20T20:00:53
349,823,152
0
0
MIT
2021-03-20T20:59:25
2021-03-20T19:58:53
Python
UTF-8
Python
false
false
4,368
py
# this is for wrapping the customized layer import torch from torch.autograd import Function import separableconvflow_cuda as my_lib import warnings #Please check how the STN FUNCTION is written : #https://github.com/fxia22/stn.pytorch/blob/master/script/functions/gridgen.py #https://github.com/fxia22/stn.pytorch/blob/...
[ "user@user.com" ]
user@user.com
87c07543dd40fb4839f8bd146fa7eb9bd2b4adca
0fefd630aa4b500a1a218f5f12d351dfeb79d4a7
/Class-HomeWork/03.RectanglePosition.py
8253241100608d02637c7cb68e4136c21fa3125e
[ "MIT" ]
permissive
bozhikovstanislav/Python-Fundamentals
a7e7659d7ce8996f9e5dc17a8a0c5fcd5fbab65f
072fd2c8bc962d20d4c526947349fdeae0bc94a5
refs/heads/master
2020-04-15T00:22:02.395202
2019-03-10T15:46:48
2019-03-10T15:46:48
164,237,382
0
0
null
null
null
null
UTF-8
Python
false
false
1,532
py
def is_inside(rect_a, rect_b): b_left = rect_a.get_x() >= rect_b.get_x() b_top = rect_a.get_y() <= rect_b.get_y() b_get_right_ = rect_a.get_x1() <= rect_b.get_x1() get_bottum_ = rect_a.get_y1() <= rect_b.get_y1() if b_left and b_get_right_ and b_top and get_bottum_: return 'Inside' re...
[ "bozhikov.stanislav@gmail.com" ]
bozhikov.stanislav@gmail.com
b5cffee6d892f73cbea112ed9209626b511c5b1e
7c1be5665bf193281a90ba44ce0c7fe2215c2630
/拼多多/pin_04.py
a9eb15ca196e2c0e424ceed3f119dcf366c71c46
[]
no_license
TechInTech/Interview_Codes
47a8748ff0b70b37949034926fdc01ec1f912584
24145a34de7a80b8dd7379914ab27e0017541b25
refs/heads/master
2020-07-08T22:37:27.952537
2019-10-14T05:42:00
2019-10-14T05:42:00
203,798,729
1
0
null
null
null
null
UTF-8
Python
false
false
1,407
py
# -*- coding:utf-8 -*- import sys if __name__ == '__main__': str_input = sys.stdin.readline().strip().split(' ') sub_str = [] for i in str_input: if len(i) > 1: sub_str.append(i[0] + i[-1]) else: sub_str.append(i[0]) # print(sub_str) str_dict = {} flag =...
[ "wdw_bluesky@163.com" ]
wdw_bluesky@163.com
56c83d148ef48487ce438c5eb9f69b92baa0f3bb
6b1dd40d16ae6169e7ed780c5062e88d10502c85
/Kaggle/Playgroud/RiskPrediction/Home-Credit-Default-Risk-master/py/trash/922_predict_829-1.py
13011603b4e56baf37e707fbd78dcb77ebcf9844
[ "MIT" ]
permissive
hehuanlin123/DeepLearning
8a59680a341cfc525d50aa5afc3e44202ca4acc4
6b7feabbbde9ac9489f76da4c06eeb6703fb165a
refs/heads/master
2022-07-12T09:26:08.617883
2019-06-10T11:31:37
2019-06-10T11:31:37
183,748,407
1
0
null
null
null
null
UTF-8
Python
false
false
5,733
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Wed Aug 29 01:21:16 2018 @author: Kazuki """ import numpy as np import pandas as pd from tqdm import tqdm import gc, os import sys argv = sys.argv sys.path.append(f'/home/{os.environ.get("USER")}/PythonLibrary') import lgbextension as ex import lightgbm a...
[ "szkfzx@szkfzxdeiMac.local" ]
szkfzx@szkfzxdeiMac.local
91564fe0e139d2f5aacf5af9c5d65c3f535552ce
310acdc816471356063121a966f6243eb5ee4bc3
/timeserio/validation/__init__.py
36dcf7d16029512b047b9ccbfc7cf74dd88a9d1a
[ "MIT" ]
permissive
octoenergy/timeserio
e3d1b79d7425448346bc52ef2ae8c6daf625d368
fbf99a05e420e684a941dd8223d07183644ced2d
refs/heads/master
2023-04-06T22:19:29.835755
2022-10-10T08:33:55
2022-10-10T08:33:55
196,452,519
69
12
MIT
2023-03-25T02:06:46
2019-07-11T19:18:04
Python
UTF-8
Python
false
false
69
py
from .validation import is_valid_multimodel, is_valid_pickle # noqa
[ "igor.gotlibovych@gmail.com" ]
igor.gotlibovych@gmail.com
ba1831997efc65fdd8de32d918565cd280a23b1f
a00ed711e3e08b50ad6e91cc07a2cddc4a1de5ea
/airflow/decorators/python.py
3f00681ccfdde818a19511335dab7fefa7db6aa4
[ "Apache-2.0", "BSD-3-Clause", "MIT" ]
permissive
ishiis/airflow
4305794e36b611d01f49e3f2401be3dc49782670
292440d54f4db84aaf0c5a98cf5fcf34303f2fa8
refs/heads/master
2022-07-30T00:51:28.806940
2022-07-14T12:07:11
2022-07-14T12:07:11
209,801,072
1
0
Apache-2.0
2019-09-20T13:47:26
2019-09-20T13:47:26
null
UTF-8
Python
false
false
3,205
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "noreply@github.com" ]
ishiis.noreply@github.com
de8f80151a4960a8f4e5d28c3ea758062ee104bf
e8c3e7964f4b448e94481704d29508e9d6bd1798
/CommonTools/python/HagiwaraAndZeppenfeldTwoDimensionalModel_wz_f5z_ifLessThen0SetTo0_0505Files_1SetTo1.py
a08f9f4a69a9ca55ba3d7591cf98e7a06773d704
[]
no_license
senka/ZZ_2l2nu_4l_CMS_combination
1401f81dc255ea0ae4a0a5c73b022670849a1152
197655fa2143ffe1665cd7a1c6e5af2a2f48e57a
refs/heads/master
2021-01-13T02:06:27.885996
2014-08-09T16:15:14
2014-08-09T16:15:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,872
py
from CombinedEWKAnalysis.CommonTools.AnomalousCouplingModel import * import ROOT as r import os basepath = '%s/src/CombinedEWKAnalysis/CommonTools/data/WV_semileptonic'%os.environ['CMSSW_BASE'] #filename = '%s/ATGC_shape_coefficients.root'%basepath #filename = '%s/signal_WV.root'%basepath #this model is in the eq...
[ "senka.duric@cern.ch" ]
senka.duric@cern.ch
333db2238260b5ce45d4d105fa1e5cac5933855d
dfc686228834750216b2cd6eea14d2a6d12422e4
/Hackerrank_Python_solution/RegexandParsing/DetectHTMLTagsAttributesandAttributeValues.py
920d82f47e5c38a13364c5af8b4e6a11668ec42b
[]
no_license
Parth-Ps/python
8466e8856bf301908544eb60ae4a68338ccf4550
bb448c2a7996d17883214fe8eb11caa61e211400
refs/heads/master
2023-01-22T13:30:50.507021
2020-12-02T07:59:53
2020-12-02T07:59:53
317,788,331
0
0
null
null
null
null
UTF-8
Python
false
false
770
py
''' Title : Detect HTML Tags, Attributes and Attribute Values Subdomain : Regex and Parsing Domain : Python Author : Ahmedur Rahman Shovon Created : 15 July 2016 ''' from html.parser import HTMLParser class CustomHTMLParser(HTMLParser): def handle_starttag(self,tag,attrs): print(tag) se...
[ "parth0129.certificate@gmail.com" ]
parth0129.certificate@gmail.com
92d7a6472e931edc858825d8e9d035a8f6ac359a
772936057748d5cfb7fc8a4d521cfc223ebdd6f3
/Insertion Sort/Insertion Sort.py
f5d104199fb7aec3f24326b91e1e77c210f27b04
[]
no_license
xCE3/ChiCodesPython
57e48b0b2b4fb355628a08dbe605d3b597513183
a5e2600b66b16deee331804030add5eb47e1295f
refs/heads/master
2020-06-13T16:33:13.677896
2019-07-31T16:00:52
2019-07-31T16:00:52
194,712,372
1
1
null
null
null
null
UTF-8
Python
false
false
249
py
def insertion_sort(arr): for i in range(1, len(arr)): for j in range(i-1, -1, -1): if arr[j] > arr[j+1]: arr[j], arr[j+1] = arr[j+1], arr[j] return arr print(insertion_sort([2,8,5,3,10,9,-2,21,9]))
[ "noreply@github.com" ]
xCE3.noreply@github.com
324f74a6c4f93ac617ebbd3b593a6080f88fe1d1
2a67dc681af4c4b9ef7a8e18c2ff75377dc5b44f
/aws.ec2.VpcEndpoint.basic-w-tags-python/__main__.py
ec260cab0c46c84539b68d1d8344454640761a1a
[]
no_license
ehubbard/templates-aws
e323b693a18234defe6bd56ffcc64095dc58e3a1
2ae2e7a5d05490078017fed6d132dcdde1f21c63
refs/heads/master
2022-11-17T13:53:14.531872
2020-07-10T21:56:27
2020-07-10T21:56:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
202
py
import pulumi import pulumi_aws as aws s3 = aws.ec2.VpcEndpoint("s3", service_name="com.amazonaws.us-west-2.s3", tags={ "Environment": "test", }, vpc_id=aws_vpc["main"]["id"])
[ "jvp@justinvp.com" ]
jvp@justinvp.com
b818a9154b0d83fa3304579263317d182517db0d
d570d68fff337f2b14b61afe9d8cba6b228b3a6a
/tests/pep492/test_async_await.py
c9f0ceb66a15c1107515479aa795eb93daeb8e2e
[ "BSD-2-Clause" ]
permissive
meren/aiopg
bce6c50229061818e3d1a318c748479d1896881c
798e41babe50394a0f7704d99c31d9d011fae16f
refs/heads/master
2020-12-07T00:33:04.878681
2015-12-21T12:07:43
2015-12-21T12:07:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,452
py
import unittest import asyncio import aiopg class TestAsyncWith(unittest.TestCase): def setUp(self): self.loop = asyncio.new_event_loop() asyncio.set_event_loop(None) self.database = 'aiopg' self.user = 'aiopg' self.host = '127.0.0.1' self.password = 'aiopg' ...
[ "is.infinity@yahoo.com" ]
is.infinity@yahoo.com
a4ad1faf3f8c1120766cdb1d029093ef98d85b5d
ddb38cabda8f8d1ad7c8a8b4af3698c4022ee9d6
/examples/link.py
9773c330149be4beda4f402ba295e9f813a6e7f8
[ "MIT" ]
permissive
caofanCPU/rich
6bc282ca3310cee3aa35f87a507fe3d79dda6af7
cda20808ab645a239ac3538013bd6ba2d324bb45
refs/heads/master
2023-01-05T22:51:28.496542
2020-10-30T10:58:00
2020-10-30T10:58:00
289,209,964
2
0
MIT
2020-10-30T10:58:01
2020-08-21T07:45:54
null
UTF-8
Python
false
false
192
py
from rich import print print("If your terminal supports links, the following text should be clickable:") print("[link=https://www.willmcgugan.com][i]Visit [red]my[/red][/i] [yellow]Blog[/]")
[ "willmcgugan@gmail.com" ]
willmcgugan@gmail.com
a05ac4c0d8cc17a6a095d7611a3e500f21cf8e59
0b204928356d6825124787877b487b27bce19790
/exercises/Chapter 07/07-17.py
01e858f27ccd0bd3920b2a7326d164f1fb30dd65
[]
no_license
shuxinzhang/nltk-learning
bff095f585bc42e697ca6cf523d71aec4a8aeeeb
0428ec5d73b325c91f1d82fb26324482ca69aae4
refs/heads/master
2021-01-01T04:43:26.536545
2017-07-26T13:37:06
2017-07-26T13:37:06
97,234,566
0
0
null
null
null
null
UTF-8
Python
false
false
388
py
# -*- coding: utf-8 -*- import matplotlib matplotlib.use('TkAgg') import nltk ''' ★ An n-gram chunker can use information other than the current part-of-speech tag and the n-1 previous chunk tags. Investigate other models of the context, such as the n-1 previous part-of-speech tags, or some combination of previous chu...
[ "amyzsx1217@gmail.com" ]
amyzsx1217@gmail.com
00ef7c0f0e8373c683ffa1edcfa145d5849fffaf
c6760258b3ad3dd912f0842b8ae03cbea188a8c4
/fsleyes/actions/addmaskdataseries.py
e298c1805fd70b7c1f2afcc59b0cd5e3f7029faa
[ "BSD-3-Clause", "CC-BY-3.0", "Apache-2.0" ]
permissive
sanjayankur31/fsleyes
aa822f627cde38ec766180fb591c9af7d18d2126
46ccb4fe2b2346eb57576247f49714032b61307a
refs/heads/master
2020-04-09T08:41:18.380424
2018-12-03T11:44:51
2018-12-03T11:44:51
160,204,259
1
0
null
2018-12-03T14:31:31
2018-12-03T14:31:31
null
UTF-8
Python
false
false
9,453
py
#!/usr/bin/env python # # addmaskdataseries.py - The AddMaskDataSeriesAction class. # # Author: Paul McCarthy <pauldmccarthy@gmail.com> # """This module provides the :class:`AddMaskDataSeriesAction` class, an action used by the :class:`.TimeSeriesPanel`. """ import wx import numpy as np import fsl.data.imag...
[ "pauldmccarthy@gmail.com" ]
pauldmccarthy@gmail.com
38cedd932c2f25213428fe2e550d32592b7fec2f
efbe970cb374d4416c2c500a495994397ea18dd5
/plugins/invites.py
bf0da04c4e1913d561661270ad7e34769e2cc491
[ "MIT" ]
permissive
void-being/bepis-bot
f7d9fbc7663bb8a28c70e312fa4fb20c53c406c7
491b8de94b94384df6b26fa6a1325ee578020b7e
refs/heads/master
2020-07-11T17:28:10.080879
2018-11-15T23:44:06
2018-11-15T23:44:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,749
py
from logging import getLogger from utils.common import GENERAL_CHANNEL from utils.db import InviteDatabase, Database from utils.deco import ensure_profile from disco.api.http import APIException from disco.bot import Plugin class InvitePlug(Plugin): def load(self, config): self.invite_db = InviteDataba...
[ "zwork101@gmail.com" ]
zwork101@gmail.com
5974adfcd647a183ebd24dc44138ee6aea00339a
284d146079ff247ce46a06f08e3651551ea4a6bd
/n_grams.py
934161b64db190d9a55cd08baa067f16ba2cf3e4
[]
no_license
massyah/GRN-analysis
e872e36d7c07ad9674391c7ca017d3c55342ab7d
1f985555198693cc9be21d70d1c93050f0ad2f9a
refs/heads/master
2021-01-10T21:11:28.267953
2017-01-10T20:40:03
2017-01-10T20:40:03
1,071,136
0
0
null
null
null
null
UTF-8
Python
false
false
3,664
py
#!/usr/bin/env python # encoding: utf-8 import copy # project="Th17 differentiation" # termFile=project+"/articles_th17.txt" # pubmed_files=[f for f in os.listdir("./"+project) if f.startswith("entrez ")] stop_words=open("stop_words.txt").readlines() stop_words=[x.strip() for x in stop_words] occ_number={} exemple_s...
[ "massyah@gmail.com" ]
massyah@gmail.com
3dbda848af9311c79540f19a16701a5fa967df65
5a52ccea88f90dd4f1acc2819997fce0dd5ffb7d
/alipay/aop/api/response/KoubeiItemExtitemQueryResponse.py
dcc088d4e0ab28be40c13158601fdb346f4422aa
[ "Apache-2.0" ]
permissive
alipay/alipay-sdk-python-all
8bd20882852ffeb70a6e929038bf88ff1d1eff1c
1fad300587c9e7e099747305ba9077d4cd7afde9
refs/heads/master
2023-08-27T21:35:01.778771
2023-08-23T07:12:26
2023-08-23T07:12:26
133,338,689
247
70
Apache-2.0
2023-04-25T04:54:02
2018-05-14T09:40:54
Python
UTF-8
Python
false
false
855
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.response.AlipayResponse import AlipayResponse from alipay.aop.api.domain.ExtItem import ExtItem class KoubeiItemExtitemQueryResponse(AlipayResponse): def __init__(self): super(KoubeiItemExtitemQueryResponse, self).__init__() ...
[ "liuqun.lq@alibaba-inc.com" ]
liuqun.lq@alibaba-inc.com
1f4f4feed8d738e787ed86e3d7022992d076cb0f
648f427a9d9a73720f76df972be2983354e13b61
/test/functional/p2p-leaktests.py
74f52f84f1e26ac02479c2fe64a636ad5c488e14
[ "MIT" ]
permissive
aixinwang/Gfc
e659850e398dc9ab8b6a697b9262462a8e316e8a
4a7fdac234f5f51055e471e77aaff62cfa4c6eab
refs/heads/master
2021-04-03T08:33:03.198293
2018-03-14T04:32:38
2018-03-14T04:32:38
125,152,463
0
0
null
null
null
null
UTF-8
Python
false
false
5,654
py
#!/usr/bin/env python3 # Copyright (c) 2017 The GFC coin bt developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test message sending before handshake completion. A node should never send anything other than VERSION/VERAC...
[ "your_email@youremail.com" ]
your_email@youremail.com
4be69bac70655e225aa2eeed666f85b2c6cf5500
680bd46e8eae20e78a425f766432711a47235374
/models/big_number_item.py
1844314793bf8a7d60cf2454e718fdbf79835d64
[ "Apache-2.0" ]
permissive
ILMostro/lm-sdk-python
9f45217d64c0fc49caf2f4b279a124c2efe3d24d
40da5812ab4d50dd1c6c3c68f7ea13c4d8f4fb49
refs/heads/master
2022-02-01T16:51:12.810483
2019-07-16T17:54:11
2019-07-16T17:54:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,277
py
# coding: utf-8 """ LogicMonitor REST API LogicMonitor is a SaaS-based performance monitoring platform that provides full visibility into complex, hybrid infrastructures, offering granular performance monitoring and actionable data and insights. logicmonitor_sdk enables you to manage your LogicMonitor account...
[ "bamboo@build01.us-west-1.logicmonitor.net" ]
bamboo@build01.us-west-1.logicmonitor.net
3a056a7330c5f4fa3afb79da1bd70e37f1fd2f32
9e4eab70447a892becf36cec0e656318d27a26f3
/core/middlewares/common.py
f10909e45820993e0991bb19f280a120a1d8637d
[ "MIT" ]
permissive
aldwyn-acn/effigia
7afa8f52641e2cdcbf69a66a593a4a58191c9b9b
cd105ee3a938785791cff474fd2959352a41a6a6
refs/heads/master
2020-03-31T01:04:49.710702
2019-07-30T23:12:32
2019-07-30T23:12:32
151,765,928
0
0
null
2018-10-05T19:03:27
2018-10-05T19:03:27
null
UTF-8
Python
false
false
1,629
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from actstream import action from django.utils.deprecation import MiddlewareMixin from apps.galleries.views import GalleryItemView from apps.galleries.models import Gallery from apps.portfolios.views import PortfolioItemView from apps.portfolios.models i...
[ "aldwyn.up@gmail.com" ]
aldwyn.up@gmail.com
64286712f027df5f47a92489c32b3602446d79b1
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/40/usersdata/102/24477/submittedfiles/funcoes.py
85696e1d61292798d9f6040a5edaa4363fc470ec
[]
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
1,141
py
from __future__ import division import numpy as np def calcula_valor_absoluto(x): if x<0: x=x*(-1) return x else: return x def cacula_pi(m): soma=0 i=1 j=2 while i<=m: if 1<=m and m<=2000: if i%2==0: soma=soma-(4/(j...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br