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
daeecd30d81c8cbdc6492acdc2b0ed1ec95cae6e
c42142003122bc8172b00ccee0e733417d06fde0
/webstore/cart/models.py
187e1966774582896c01e0a3d38b75a74f863be0
[]
no_license
sloniewski/django_webstore
53fbe52b7284220a106b7d96abcc06308e1d1b23
76b46396b6915e21d65e1ad0fbc8786d6f15b122
refs/heads/master
2021-10-10T16:32:09.942377
2019-01-13T22:37:44
2019-01-13T22:37:44
115,758,610
1
3
null
null
null
null
UTF-8
Python
false
false
3,923
py
from decimal import Decimal, getcontext from django.db import models from django.db.models import Sum from django.contrib.auth import get_user_model from django.utils.functional import cached_property from webstore.product.models import Product User = get_user_model() class CartManager(models.Manager): def ge...
[ "sloniewski.maciej@gmail.com" ]
sloniewski.maciej@gmail.com
a66986685895e6214469af6309e06d1c7e0e0654
3a891a79be468621aae43defd9a5516f9763f36e
/desktop/core/ext-py/Django-1.11/tests/urlpatterns_reverse/test_localeregexprovider.py
401e9a1ad03f556c6b498ceba120ce6877d00bb2
[ "BSD-3-Clause", "Python-2.0", "Apache-2.0" ]
permissive
oyorooms/hue
b53eb87f805063a90f957fd2e1733f21406269aa
4082346ef8d5e6a8365b05752be41186840dc868
refs/heads/master
2020-04-15T20:31:56.931218
2019-01-09T19:02:21
2019-01-09T19:05:36
164,998,117
4
2
Apache-2.0
2019-01-10T05:47:36
2019-01-10T05:47:36
null
UTF-8
Python
false
false
2,478
py
from __future__ import unicode_literals import os from django.core.exceptions import ImproperlyConfigured from django.test import SimpleTestCase, mock, override_settings from django.urls import LocaleRegexProvider from django.urls.resolvers import LocaleRegexDescriptor from django.utils import translation from django...
[ "ranade@cloudera.com" ]
ranade@cloudera.com
4750561ea9d7788e3f16bfbe1c96adc5a4de2664
4d892dc51e2dda0fcce246ac608fc4e0ce98c52b
/FirstStepsInPython/Basics/Lab2 Conditional Statements/06.AreaOfFigures.py
1f9ae6a548d4270bf0e1a3d28da1d38717d4e372
[ "MIT" ]
permissive
inovei6un/SoftUni-Studies-1
510088ce65e2907c2755a15e427fd156909157f0
3837c2ea0cd782d3f79353e61945c08a53cd4a95
refs/heads/main
2023-08-14T16:44:15.823962
2021-10-03T17:30:48
2021-10-03T17:30:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
465
py
from math import pi figure = input() a = str("square") b = str("rectangle") c = str("circle") d = str("triangle") if figure == a: side = float(input()) print(side * side) elif figure == b: side_a = float(input()) side_b = float(input()) print(side_a * side_b) elif figure == c: rad = float...
[ "lazar_off@yahoo.com" ]
lazar_off@yahoo.com
71464c227b83bec13b1cda37a74689e9e64c894d
7b5c1352e1a4fb8352161cc135bfd1225a633828
/2017-cvr-tencent-final/src/ffm_gbdt/evaluate.py
eff22cd6da75a597c9be09fbed629e6051ba6cfe
[]
no_license
zgcgreat/2017-cvr-tencent
b7f54ae8df55fbb30f2430f695a148844982aa3a
fe79d0756bbf862d45e63e35b7c28da8396bcbda
refs/heads/master
2021-04-03T08:32:33.651705
2018-07-17T08:36:53
2018-07-17T08:36:53
124,724,199
6
3
null
null
null
null
UTF-8
Python
false
false
2,248
py
# _*_ coding: utf-8 _*_ import sys from csv import DictReader from sklearn.metrics import accuracy_score from sklearn.metrics import f1_score from sklearn.metrics import log_loss from sklearn.metrics import precision_score from sklearn.metrics import recall_score from sklearn.metrics import roc_auc_score data_path ...
[ "1107630485@qq.com" ]
1107630485@qq.com
ac538fcd79a7e716accd2aa0b73d989b81b002af
12123592a54c4f292ed6a8df4bcc0df33e082206
/py3/pgms/sec4/Circle.py
fa62fb9969f45e1a99a84b59831899e078e263fc
[]
no_license
alvinooo/advpython
b44b7322915f832c8dce72fe63ae6ac7c99ef3d4
df95e06fd7ba11b0d2329f4b113863a9c866fbae
refs/heads/master
2021-01-23T01:17:22.487514
2017-05-30T17:51:47
2017-05-30T17:51:47
92,860,630
0
0
null
null
null
null
UTF-8
Python
false
false
358
py
# Circle.py - Circle module import math class Circle(object): def __init__(self, radius=1): self.__radius = radius def getRadius(self): return self.__radius def circum(self): return 2 * math.pi * self.__radius def area(self): return math.pi * self.__radius ** 2 def __str__(self): ...
[ "alvin.heng@teradata.com" ]
alvin.heng@teradata.com
c5ea92fa5595fba5d666432acdda222cf54fe4cb
5fe72bb13baf3649058ebe11aa86ad4fc56c69ed
/hard-gists/1f66e4d58074d64c8268/snippet.py
a669f0ac17f9e738398c8f61266bb602ed43eb70
[ "Apache-2.0" ]
permissive
dockerizeme/dockerizeme
8825fed45ff0ce8fb1dbe34959237e8048900a29
408f3fa3d36542d8fc1236ba1cac804de6f14b0c
refs/heads/master
2022-12-10T09:30:51.029846
2020-09-02T13:34:49
2020-09-02T13:34:49
144,501,661
24
20
Apache-2.0
2022-11-21T12:34:29
2018-08-12T21:21:04
Python
UTF-8
Python
false
false
1,223
py
import argparse import urllib.request import os import img2pdf from os import walk from os.path import join from bs4 import BeautifulSoup work_dir = os.path.dirname(__file__) def download_images(url): html = urllib.request.urlopen(url).read() soup = BeautifulSoup(html) title = 'pdf_images' # soup.title...
[ "42325807+dockerizeme@users.noreply.github.com" ]
42325807+dockerizeme@users.noreply.github.com
4120f2826dcf9ed8b34f5ccdbaa5e04098ba005c
1677eaad65da601a3ac34bd6648c973ffd23c5a9
/test/test_recipients_api.py
3649e01a51dd5da0c43ad32857deb08372c0acba
[]
no_license
jeffkynaston/sdk-spike-python
dc557cc1557387f8a126cd8e546201d141de535e
f9c65f578abb801ffe5389b2680f9c6ed1fcebd3
refs/heads/main
2023-07-10T00:58:13.864373
2021-08-05T21:38:07
2021-08-05T21:38:07
393,175,147
0
0
null
null
null
null
UTF-8
Python
false
false
1,403
py
""" Plastiq Public API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech """ import unittest import openapi_client from openapi_client.api.r...
[ "jeff.kynaston@plastiq.com" ]
jeff.kynaston@plastiq.com
bdfab790143c4ba126b8efec958c5486207c0a99
ac5e52a3fc52dde58d208746cddabef2e378119e
/exps-gsn-edf.0/gsn-edf_ut=3.5_rd=0.5_rw=0.06_rn=4_u=0.075-0.325_p=harmonic-2/sched=RUN_trial=93/params.py
278fd438e6fdf9246abe78754f18f7426f4fa985
[]
no_license
ricardobtxr/experiment-scripts
1e2abfcd94fb0ef5a56c5d7dffddfe814752eef1
7bcebff7ac2f2822423f211f1162cd017a18babb
refs/heads/master
2023-04-09T02:37:41.466794
2021-04-25T03:27:16
2021-04-25T03:27:16
358,926,457
0
0
null
null
null
null
UTF-8
Python
false
false
254
py
{'cpus': 4, 'duration': 30, 'final_util': '3.543786', 'max_util': '3.5', 'periods': 'harmonic-2', 'release_master': False, 'res_distr': '0.5', 'res_nmb': '4', 'res_weight': '0.06', 'scheduler': 'GSN-EDF', 'trial': 93, 'utils': 'uni-medium-3'}
[ "ricardo.btxr@gmail.com" ]
ricardo.btxr@gmail.com
5e1f0040a2f5d440f1866df03195c490ee95d2ed
927f1d546c840fa04702a1769b58f0f47dc48f64
/backend/royal_cake_26283/settings.py
3458119c3d63241ae113e4b4a87dc77ee0b1251c
[]
no_license
crowdbotics-apps/royal-cake-26283
f27ad5b4fcd0293feb99d6462d62b7f6a5bd27c0
2059ddf36c16c6b6e9219142c5a9dab0987082a1
refs/heads/master
2023-04-18T19:12:15.375384
2021-05-06T21:49:04
2021-05-06T21:49:04
365,045,276
0
0
null
null
null
null
UTF-8
Python
false
false
7,114
py
""" Django settings for royal_cake_26283 project. Generated by 'django-admin startproject' using Django 2.2.2. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ imp...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
2f71ff7ba4d2e8f7e6ddba2ab05056646a76a884
e669b3fe7da2698da4ce02e98325ce154d2aa546
/swaps/utils/api_signature_v2.py
63401bc3ab76d3f913b31820716826a8895d2d7b
[ "Apache-2.0" ]
permissive
marcellinamichie291/cash_carry_leveraged_futures_arbitrageur
0834a911fdd6c9f1462f6f2f59926f715fc51461
1120ebfb487ce4987fe70e6645b36e0d7ce041ec
refs/heads/main
2023-03-16T18:35:28.730554
2020-12-04T07:46:13
2020-12-04T07:46:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,850
py
import base64 import hashlib import hmac import datetime from urllib import parse import urllib.parse from swaps.exception.huobi_api_exception import HuobiApiException def create_signature_v2(api_key, secret_key, method, url, builder): if api_key is None or secret_key is None or api_key == "" or secret_key == "":...
[ "jare@coindexlabs.com" ]
jare@coindexlabs.com
0014e1e799b36fa9daf5f3be780340dca0a2ac61
974d04d2ea27b1bba1c01015a98112d2afb78fe5
/test/legacy_test/test_sparse_isnan_op.py
b807e6ba624452c55d74e668f661008d194d7a44
[ "Apache-2.0" ]
permissive
PaddlePaddle/Paddle
b3d2583119082c8e4b74331dacc4d39ed4d7cff0
22a11a60e0e3d10a3cf610077a3d9942a6f964cb
refs/heads/develop
2023-08-17T21:27:30.568889
2023-08-17T12:38:22
2023-08-17T12:38:22
65,711,522
20,414
5,891
Apache-2.0
2023-09-14T19:20:51
2016-08-15T06:59:08
C++
UTF-8
Python
false
false
3,150
py
# Copyright (c) 2023 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
[ "noreply@github.com" ]
PaddlePaddle.noreply@github.com
8cb3839fefedd518307f93a56d09d5034b97b681
472661f4a0094ce070ed9702da1d2e3e55f7cbe7
/data/io/convert_data_to_tfrecord_voc2012.py
e8bf49e6fc5c81a9acab30099d5e87774e780eee
[ "MIT" ]
permissive
hasan-mh-aziz/RetinaNet_Tensorflow
917612d4d58308b8c8444a650e4c43eef291c722
d5d1103243816506f96d36f41f1fb0b56eeefcc1
refs/heads/master
2020-07-31T01:45:20.002881
2019-05-26T11:00:56
2019-05-26T11:00:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,125
py
# -*- coding: utf-8 -*- from __future__ import division, print_function, absolute_import import sys sys.path.append('../../') import xml.etree.cElementTree as ET import numpy as np import tensorflow as tf import glob import cv2 from tqdm import tqdm from libs.label_name_dict.label_dict import * from help_utils.tools i...
[ "yangxue@megvii.com" ]
yangxue@megvii.com
1f07aa448ad1e6d68b20ec4e9f8479fc2df38a6e
ea04557e60fa600a19a2a47da78b0407cf7b3e17
/cms/cms/doctype/module_menu/test_module_menu.py
98c73da43b1ce3e1454a24e9870fea7408ac2018
[ "MIT" ]
permissive
Nirchains/f-cms
ea5b5d09e492a0c3d6691b90454b01720894fc03
8cefaad087994ca3dad0b1c5fadb250904cdd2cb
refs/heads/master
2021-07-19T06:26:10.804498
2020-02-10T12:02:00
2020-02-10T12:02:00
167,004,571
0
0
null
null
null
null
UTF-8
Python
false
false
232
py
# -*- coding: utf-8 -*- # Copyright (c) 2019, Pedro Antonio Fernández Gómez and Contributors # See license.txt from __future__ import unicode_literals import frappe import unittest class TestModulemenu(unittest.TestCase): pass
[ "nirchains@gmail.com" ]
nirchains@gmail.com
5f302d2892630ccf906162ace52dc3190c01f300
9c84c32da8e8e3efbeb1dfaa0f21fcdee20d8254
/simplebook/wsgi.py
f123373d3a628355d76bcfd3986ec46a1cf85a06
[]
no_license
zhujingxiu/simplebook
a53917e3883cf2441be451096ecf03870b8bdb4d
393735e89011cdb47ae5855997924b9b1d7d706b
refs/heads/master
2020-03-18T11:43:27.607548
2018-05-24T09:01:43
2018-05-24T09:01:43
134,688,033
0
0
null
null
null
null
UTF-8
Python
false
false
398
py
""" WSGI config for simplebook project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.11/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO_S...
[ "zhujingxiu@gmail.com" ]
zhujingxiu@gmail.com
1722fd154551780247f251986b64cf22acbcd063
15c9450e30742cfaad5d5ce88e86ff29749af975
/training/isotropic/train_auto_2stage.py
6f02f81ae96c2a869392b0a50364775ef77882e9
[ "BSD-2-Clause" ]
permissive
constantinpape/CNNectome
4e4ed3987c7934c3f378f0758c5c545b4ea1ed54
102758cabd4bf9c149b9867709b0a8bea9222438
refs/heads/master
2021-04-15T13:10:17.213845
2018-03-09T20:47:21
2018-03-09T20:47:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,230
py
from __future__ import print_function from gunpowder import * from gunpowder.tensorflow import * from training.gunpowder_wrappers import prepare_h5source import malis import os import math import json import tensorflow as tf def train_until(max_iteration, data_sources): if tf.train.latest_checkpoint('.'): ...
[ "heinrichl@janelia.hhmi.org" ]
heinrichl@janelia.hhmi.org
4df487dabf6fc57d7a08692f301529248de7184c
bdff6688cee79226723fbcf9980c3757a55651b7
/algorithms/implementation/library_fine.py
c8265f6a9940b9b3618fc90b84b5b0ccf7ae488c
[]
no_license
kruthar/hackerrank
1f151203c8f26c033585f30d2cf69a2b22dcaf71
ef81b2aa41a678ad6b0692f933f438a62b1d6b64
refs/heads/master
2016-08-10T07:15:19.165058
2016-02-26T17:48:58
2016-02-26T17:48:58
49,286,556
0
0
null
null
null
null
UTF-8
Python
false
false
569
py
import sys import datetime actual = map(int, sys.stdin.next().strip().split(" ")) expected = map(int, sys.stdin.next().strip().split(" ")) actual_date = datetime.date(actual[2], actual[1], actual[0]) expected_date = datetime.date(expected[2], expected[1], expected[0]) diff = actual_date.toordinal() - expected_date.t...
[ "kruthar@gmail.com" ]
kruthar@gmail.com
98f5338c30e8cc19a51612f76bb8ba0ad89b8674
fb54704d4a6f9475f42b85d8c470e3425b37dcae
/medium/ex402.py
70e030c095d74e75664d2cab7759e72aad5eef4e
[]
no_license
ziyuan-shen/leetcode_algorithm_python_solution
b2784071a94b04e687fd536b57e8d5a9ec1a4c05
920b65db80031fad45d495431eda8d3fb4ef06e5
refs/heads/master
2021-06-27T05:19:47.774044
2021-02-04T09:47:30
2021-02-04T09:47:30
210,991,299
2
0
null
null
null
null
UTF-8
Python
false
false
568
py
from collections import deque class Solution: def removeKdigits(self, num: str, k: int) -> str: if len(num) == k: return "0" q = deque([0]) for i in range(1, k + 1): while q and num[i] < num[q[-1]]: q.pop() q.append(i) ans = str(num...
[ "ziyuan.shen@duke.edu" ]
ziyuan.shen@duke.edu
0a3de2a8f7bae927e858e34b21072ebc092e0e49
84d469877bbc3b84d3a21d92e12c688177c38715
/tests/ppg1_compatibility_layer/test_job_gen_jobs.py
ad404a91e02e8f0e43701842b0a26aa244baa56f
[ "MIT" ]
permissive
iCodeIN/pypipegraph2
e6c459822acf23e67fefdfe9ee2f40e03bef132a
16f5d3a471b3dae71fafca98f63c4c80882dc20a
refs/heads/main
2023-08-11T01:21:47.232920
2021-09-16T07:09:46
2021-09-16T07:09:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
22,938
py
""" The MIT License (MIT) Copyright (c) 2012, Florian Finkernagel <finkernagel@imt.uni-marburg.de> 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 limitatio...
[ "finkernagel@imt.uni-marburg.de" ]
finkernagel@imt.uni-marburg.de
d0b2fdbcbc1ba73c2421753c096f41008cea2e13
61050d0d7f0c0a60474e4e85d30be4e5ea7c6b04
/vnf/dom/scattering_kernels/IsotropicElasticKernel.py
7416c4fba85409320daab5dcb70dafe5be561ba0
[]
no_license
danse-inelastic/vnf
8173f06f32b4a2fa2b71fddfe0fecf9c19e05e9a
be989448577f14f424aca4ce852c7198304ca57b
refs/heads/master
2021-01-22T01:06:00.294100
2015-05-02T23:25:45
2015-05-02T23:25:45
34,947,878
1
1
null
null
null
null
UTF-8
Python
false
false
1,183
py
# -*- Python -*- # # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # # Jiao Lin # California Institute of Technology # (C) 2007 All Rights Reserved # # {LicenseText} # # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~...
[ "linjiao@caltech.edu" ]
linjiao@caltech.edu
2a8d5dcb4c882246f14bbb1b9d05dfd6ac54fd4a
1cc8ecb740cb5550016bdaf18dab8b2651945ebc
/src/common/helpers/getrequest.py
9dfcbab4279e3a15c4ccf47d36fd363b48656c94
[]
no_license
ShipraShalini/BidEngine
2e1b18c9a93e5be25422e3f521d17763d718c7a7
a6f28b8de7b0e3d8442f7a5a6ebc06b0b9c19cda
refs/heads/master
2021-01-10T15:43:20.510985
2017-12-12T13:40:43
2017-12-12T13:40:43
48,623,215
0
0
null
null
null
null
UTF-8
Python
false
false
781
py
import json def read_request(request): user = request.user.get_username() if request.method == "POST" or request.method == "DELETE" : data = json.loads(request.body) item_name = data['item'] try: amount = data['amount'] except KeyError: return user, item...
[ "code.shipra@gmail.com" ]
code.shipra@gmail.com
7516b196903db3fd1f64e5811a200d7669055a8a
5f46ffd83e844df8e4aa4d8bd495f2653a924cad
/sessions/week_2/debug_example.py
bea50406ad8b5f1c174190dd63fdca72733e3732
[]
no_license
mvwettum/basictrack-2020-2021-2b
33605b48a982f91ac84e19f64218b7b16b164175
3967efdb9b67aa07f4168f7358503a94eb1c4444
refs/heads/master
2023-04-03T14:50:25.915630
2021-04-22T15:54:30
2021-04-22T15:54:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
346
py
current_time_str = input("What is the current time (in hours 0-23)?") wait_time_str = input("How many hours do you want to wait") current_time_int = int(current_time_str) wait_time_int = int(wait_time_str) final_time_int = current_time_int + wait_time_int final_answer = final_time_int % 24 print("The time after wai...
[ "mail@vincentvelthuizen.com" ]
mail@vincentvelthuizen.com
d3bc6232292463809ee1b24a4047b595b648e6c6
8ef5a09d76a11c56963f18e6a08474a1a8bafe3c
/leet_code/127. Word Ladder.py
e10d37091ad01c1102b61a505f8948cdbf7af7bf
[]
no_license
roiei/algo
32c4677649c7666db148f6183fbfbf66c8b1969f
ae8bb8bf4ae4026ccaf1dce323b4098547dd35ec
refs/heads/master
2022-04-01T19:21:27.768675
2022-02-19T06:15:29
2022-02-19T06:15:29
169,021,154
0
0
null
null
null
null
UTF-8
Python
false
false
1,347
py
import time from util.util_list import * from util.util_tree import * import copy import collections from typing import List class Solution: def ladderLength(self, beginWord: str, endWord: str, wordList: List[str]) -> int: g = collections.defaultdict(list) visited = set() ...
[ "hyoukjea.son@hyundai.com" ]
hyoukjea.son@hyundai.com
a8268005cae24a2d3f0293db9ac13fef78c391e0
1880e6a98d9c7957414392cad17cec7455ec84f6
/player71.py
62eb5f846a08ed9604bdd6eec8848c22d9236e2e
[]
no_license
THABUULAGANATHAN/guviprojects
613759b96875005175db308f2dfcdecc355d7894
9eca3e84d227984c5e7a3a988d55674ec31dcd05
refs/heads/master
2022-01-16T17:09:05.390055
2019-07-19T12:54:57
2019-07-19T12:54:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
166
py
n=int(input()) li=[int(i) for i in input().split()] for i in range(n-1): if(li[i]<li[i+1]): print(li[i+1],end=" ") else: print(li[i],end=" ")
[ "noreply@github.com" ]
THABUULAGANATHAN.noreply@github.com
5d60548f1170918b905f952667c82e95e24761a3
d0df4037ac7cc1d229058ec46400bdb2c83599fb
/search_in_rotated_sorted_array_ii.py
c3f0fed03cfe683c8848c23429e7f8c015ec5b75
[]
no_license
TechPuppies/leetcode-python
470505b4217b54ee9e5a7f559079bf684dd4b5d1
d3b5ef8ac49ec72213ad7d189f10a2818d7f0a89
refs/heads/master
2016-09-15T17:29:05.933313
2015-01-06T21:26:46
2015-01-06T21:26:46
25,418,174
2
0
null
null
null
null
UTF-8
Python
false
false
477
py
# coding=utf-8 # AC Rate: 30.7% # SOURCE URL: https://oj.leetcode.com/problems/search-in-rotated-sorted-array-ii/ # # Follow up for "Search in Rotated Sorted Array": # What if duplicates are allowed? # Would this affect the run-time complexity? How and why? # Write a function to determine if a given target is in the a...
[ "xinzhou918@gmail.com" ]
xinzhou918@gmail.com
e41b8aaa05fc038f29ca34d6623ee20b20eee4d9
8a8b0267c4db8847a898ac73ccb6e78e1744e24c
/Python_Net_Programming/pnp-ex01/sync/client.py
828ad8fcea34b0480616031726d433815df0a484
[]
no_license
entirelymagic/Link_Academy
41ba890df6793924d186ea94dc8d13b0636c6679
844c39ff1281fae8406cd1a0dc06afd357f0bef3
refs/heads/master
2023-06-07T03:17:00.527924
2021-07-03T09:59:25
2021-07-03T09:59:25
314,755,255
0
0
null
null
null
null
UTF-8
Python
false
false
294
py
import socket sClient = socket.socket(socket.AF_INET,socket.SOCK_STREAM) sClient.connect(("localhost",8005)) print("Server said: ", sClient.recv(256).decode("utf-8")) msg = input("msg: ") sClient.send(bytes(msg,"utf-8")) print("Server said: ", sClient.recv(256).decode("utf-8")) sClient.close()
[ "entirelymagic@gmail.com" ]
entirelymagic@gmail.com
61dfbb15403708b218bc03aaa4373465c39378ef
e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f
/indices/nndemocraci.py
a6706b78bd88982fd2e29382b6e4dbf0e39da248
[]
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
513
py
ii = [('CookGHP3.py', 15), ('MarrFDI.py', 10), ('SadlMLP.py', 2), ('WilbRLW.py', 1), ('MartHSI2.py', 2), ('MarrFDI3.py', 10), ('AdamWEP.py', 1), ('CarlTFR.py', 14), ('CookGHP2.py', 5), ('MarrFDI2.py', 24), ('LandWPA.py', 2), ('LandWPA2.py', 3), ('WadeJEB.py', 4), ('CoopJBT.py', 1), ('HogaGMM.py', 1), ('MartHRW.py', 2),...
[ "varunwachaspati@gmail.com" ]
varunwachaspati@gmail.com
f7d0d94ea568a92439811da2fd1771cfd3e92a1c
130a98632d2ab4c171503b79e455b7aa27a1dda4
/models/research/object_detection/exporter_lib_tf2_test.py
8e85e1124bca40957464b5c80acb6a24ea7fcc3d
[ "MIT", "Apache-2.0" ]
permissive
aboerzel/German_License_Plate_Recognition
d7fc0314295f5cf0c9d7ae9c93a795e3ef1c5787
6fc53292b1d3ce3c0340ce724c2c11c77e663d27
refs/heads/master
2023-01-30T18:08:37.339542
2023-01-07T07:41:36
2023-01-07T07:41:36
245,586,430
34
12
MIT
2023-01-07T07:41:37
2020-03-07T07:16:51
Python
UTF-8
Python
false
false
12,721
py
# Lint as: python2, python3 # Copyright 2020 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # ...
[ "andreas.boerzel@gmx.de" ]
andreas.boerzel@gmx.de
9005c88fe2b68a760c0615bfdf885573b6c96618
f24d16c0e064d1f77a09cc02217a6dfe9ee39d56
/pipeline/data_process.py
90837db91d24a7a228b1eb0243ba1a5a70990875
[]
no_license
hbradlow/modelbuilder
92ec5fd92527f6989d43212dd6ffd27abcb4738c
e537fb37f7331bf50e0ea849bc097b996dbfdbdd
refs/heads/master
2020-05-20T00:17:37.352732
2012-11-13T23:44:11
2012-11-13T23:44:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,339
py
import numpy as np import scipy import math from matplotlib.patches import FancyArrowPatch from mpl_toolkits.mplot3d import proj3d class Arrow3D(FancyArrowPatch): """ An arrow object for a matplotlib 3d plot. Code from http://stackoverflow.com/questions/11140163/python-matplotlib-plotting-...
[ "hbradlow@berkeley.edu" ]
hbradlow@berkeley.edu
9ed43354fe92a243dd52ae9e8338df41be2e2346
58df224689ab08c99359b1a6077d2fba3728dc61
/lamda-ocr/merge-files/borb/toolkit/diff/pdf_diff.py
86117069066e1f49a4c64f9246aec7c34fa2a4c9
[]
no_license
LIT-Midas/LITHackathon
2b286728c156d79d3f426f6d19b160a2a04690db
7b990483dd48b91cf3ec3452b78ab67770da71af
refs/heads/main
2023-08-13T05:22:59.373965
2021-08-16T01:09:49
2021-08-16T01:09:49
395,024,729
0
1
null
null
null
null
UTF-8
Python
false
false
5,022
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ This class was meant to perform a dictionary/array level comparison of PDF documents. It makes it a lot easier to debug problems. """ import typing from borb.io.filter.stream_decode_util import decode_stream from borb.io.read.types import Decimal, Dictionary, ...
[ "trevordino@gmail.com" ]
trevordino@gmail.com
cf6f57b4c05d78d82369ca1c29ef07844bdec546
2d98f950a9bc701b360e3fd807bb07b85edabee9
/9/认识爬虫-课件-v1/Py爬虫课件/15/example-project/example/pipelines.py
4db113535b1e543050b79319adff4a9e45c4bba5
[]
no_license
Ran-oops/python_notes2
eaf3e98ee460d0d63d2bf8881cacd10916baa902
3a1bf86a803c716f4ef4aeec53a69ebb3662cf49
refs/heads/master
2020-11-30T15:40:53.850721
2019-12-28T05:22:49
2019-12-28T05:22:49
230,429,095
0
0
null
null
null
null
UTF-8
Python
false
false
395
py
# Define your item pipelines here # # Don't forget to add your pipeline to the ITEM_PIPELINES setting # See: http://doc.scrapy.org/topics/item-pipeline.html from datetime import datetime class ExamplePipeline(object): def process_item(self, item, spider): item["crawled"] = datetime.utcnow() # 获取utc时间 ...
[ "3460466167@qq.com" ]
3460466167@qq.com
81fb2fce5bc257958679a04b84d127ffaecb919c
c9afaf387faf7c478e860f4ab5f087b254b5b87f
/main.py
b864b06dab49d5e7afad121326acdff0184725b9
[]
no_license
INNFINITEMINDS/FitzHugh-Nagumo-Neuron-Model
e3a5c7b7187fe77e575f96c955cb4253d00bf4fb
b1afb1745e3773c1ff7913a12ed98679094f0c2c
refs/heads/master
2022-12-19T17:41:06.466021
2020-10-20T10:51:01
2020-10-20T10:51:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,582
py
import numpy as np from src.model import FNNeuron import os from tqdm import tqdm import matplotlib.pyplot as plt from scipy.fft import fft from scipy import signal def exp1(): exp_plot_dir = 'images/exp1' dt = 0.001 niter = int(10e4) b = 0.25 I_ext = 0.1 fn = FNNeuron( dt, nit...
[ "shandilya.shreyas@gmail.com" ]
shandilya.shreyas@gmail.com
06a47fd3f3d748fea890d46dfe910447204d0544
0db19410e9751790af8ce4a0a9332293e379c02f
/mmpose/models/heads/heatmap_heads/__init__.py
b482216b36f61ceb66aae8974ae178a8455d5022
[ "Apache-2.0" ]
permissive
open-mmlab/mmpose
2c9986521d35eee35d822fb255e8e68486026d94
537bd8e543ab463fb55120d5caaa1ae22d6aaf06
refs/heads/main
2023-08-30T19:44:21.349410
2023-07-04T13:18:22
2023-07-04T13:18:22
278,003,645
4,037
1,171
Apache-2.0
2023-09-14T09:44:55
2020-07-08T06:02:55
Python
UTF-8
Python
false
false
373
py
# Copyright (c) OpenMMLab. All rights reserved. from .ae_head import AssociativeEmbeddingHead from .cid_head import CIDHead from .cpm_head import CPMHead from .heatmap_head import HeatmapHead from .mspn_head import MSPNHead from .vipnas_head import ViPNASHead __all__ = [ 'HeatmapHead', 'CPMHead', 'MSPNHead', 'ViPN...
[ "noreply@github.com" ]
open-mmlab.noreply@github.com
ded383f66dbaa90059ccca1ab9639a978ad264f9
78db5bc74181173f2d00bea409997a64b4682adf
/venv/lib/python3.9/site-packages/pip/_vendor/chardet/euctwprober.py
7dbc136e80b7e704891fc4fdde70bb8b6d72ba56
[ "MIT" ]
permissive
CiscoDevNet/meraki-code
dfe680f077ebd053a3b663f1434f648f5a91b541
d031aab82e3fa5ce7cf57b257fef8c9a4c63d71e
refs/heads/master
2023-05-28T18:43:28.848983
2022-04-11T19:45:19
2022-04-11T19:45:19
188,288,487
67
60
MIT
2023-05-23T00:51:58
2019-05-23T18:43:15
Python
UTF-8
Python
false
false
1,793
py
######################## BEGIN LICENSE BLOCK ######################## # The Original Code is mozilla.org code. # # The Initial Developer of the Original Code is # Netscape Communications Corporation. # Portions created by the Initial Developer are Copyright (C) 1998 # the Initial Developer. All Rights Reserved. ...
[ "agentle@cisco.com" ]
agentle@cisco.com
36024e8c09241fb2a5405711eeb21edb7a07e067
60eb98538025c61cf94a91f6c96f9ee81dcd3fdf
/monai/handlers/confusion_matrix.py
368aacc6cbe04f1ed17742b90b4cd21c7b41fda1
[ "Apache-2.0", "LicenseRef-scancode-free-unknown" ]
permissive
gagandaroach/MONAI
167e7746995d4b6136731881e22ad4df333b16a9
79b83d9fac41efae9b90ed2f9ad078d6d664bf64
refs/heads/master
2023-06-02T19:54:47.737846
2021-06-24T18:34:02
2021-06-24T18:34:02
270,741,899
0
0
Apache-2.0
2020-06-08T16:29:32
2020-06-08T16:29:31
null
UTF-8
Python
false
false
3,205
py
# Copyright 2020 - 2021 MONAI Consortium # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in wri...
[ "noreply@github.com" ]
gagandaroach.noreply@github.com
1de3d74ecc579a3482423f8897072d74c418249d
e8ae11e5017507da59e2e92d423b6a1994490de4
/env/lib/python2.7/site-packages/azure/mgmt/network/models/virtual_network.py
d04dbdddf6025303d691acc85256825d49980cec
[]
no_license
teopeurt/ansible-ubuntu-server
613d00cea28bc6531acf4a39aeeb9cd0baa2a391
b5b6127d2ee9723c5088443efe2ffb8ae30cfea7
refs/heads/master
2021-06-28T12:49:50.935753
2017-07-31T17:34:33
2017-07-31T17:34:33
98,912,808
0
1
null
2020-07-24T00:05:31
2017-07-31T17:32:56
Makefile
UTF-8
Python
false
false
3,797
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft and contributors. 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 co...
[ "me@teopeurt.com" ]
me@teopeurt.com
1124f2ed2301c3d86e4644f9b6d42729ac140055
19a5937501ff40d53b69617d6b05484c2861c54b
/apps/urls.py
212155a4226cd217323270aab6a2cd9abf0d642c
[]
no_license
pombredanne/abyss
44319541f614669861157955b5d4059fcf3f8aad
8de3f2438ad74ad4d2703ce0bb7ccf7672423820
refs/heads/master
2020-12-29T19:03:52.168087
2013-09-16T13:48:28
2013-09-16T13:48:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
944
py
from django.conf.urls import patterns, url from apps import views urlpatterns = patterns( '', url(r'^$', views.ListApp.as_view(), name='list-app'), url(r'^create/$', views.CreateApp.as_view(), name='create-app'), url(r'^run/$', views.Run.as_view(), name='run'), url(r'^(?P<app_name>[\w-]+)/$', ...
[ "andrewsmedina@gmail.com" ]
andrewsmedina@gmail.com
d6461e3ed1fa74dfbabee2a0c0d5db2f1b055f26
c9287937c4d7900d311640a2b16c08c42eedfe58
/tensorflow/python/distribute/mirrored_function_strategy.py
bbe52984d1eff41f9c4d304dfe927d7e70cfaddd
[ "Apache-2.0" ]
permissive
Purplme/tensorflow
e868e9bf59cc8eb680f1c35bf0b8615ec2b68c62
d2d6c3f07a0b874e64a024c767deb7c9fb39b704
refs/heads/master
2022-11-23T23:38:00.243591
2020-07-16T06:20:19
2020-07-16T06:25:23
280,074,885
2
0
Apache-2.0
2020-07-16T06:39:14
2020-07-16T06:39:13
null
UTF-8
Python
false
false
7,594
py
# Copyright 2019 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
d29f0e7212d54245a016a4c1738e9a56780420ae
f82c474bd7d5f60d976b14432a9f20d5e561ca4c
/low_level/tensors/E01_eval_tensors.py
4c5de2fabfddd42b36d5709c324d61965ec7b948
[]
no_license
GlassyWing/tf-learn
1065551e27adf8a3f2b05e540e52d820e6b931d6
6733ac86cda430ecce13c8694c8bdfb79e8b70ad
refs/heads/master
2020-03-27T05:52:51.466385
2018-09-03T12:58:54
2018-09-03T12:58:54
146,059,577
0
0
null
null
null
null
UTF-8
Python
false
false
159
py
import tensorflow as tf constant = tf.constant([1, 2, 3]) tensor = constant * constant sess = tf.Session() with sess.as_default(): print(tensor.eval())
[ "1490215053@qq.com" ]
1490215053@qq.com
6734850359cb4971c5ffeac81b4d804ea15b9c6a
b8faf65ea23a2d8b119b9522a0aa182e9f51d8b1
/vmraid/website/page_renderers/not_permitted_page.py
7acaf0baaf57f3b618f32d9267e2b99aa555c797
[ "MIT" ]
permissive
vmraid/vmraid
a52868c57b1999a8d648441eb9cd05815204345d
3c2e2a952003ba7ea2cf13673b9e79e127f4166e
refs/heads/main
2022-07-29T18:59:28.585133
2022-04-22T08:02:52
2022-04-22T08:02:52
372,473,120
0
0
null
null
null
null
UTF-8
Python
false
false
687
py
import vmraid from vmraid import _ from vmraid.utils import cstr from vmraid.website.page_renderers.template_page import TemplatePage class NotPermittedPage(TemplatePage): def __init__(self, path=None, http_status_code=None, exception=""): vmraid.local.message = cstr(exception) super().__init__(path=path, http_s...
[ "sowrisurya@outlook.com" ]
sowrisurya@outlook.com
f1efb7f4fea5ef7e9421f004aabccd95b303d845
b345171a3968240caf135b8b9f2780324319cb22
/__init__.py
98b9499ad471ceefd2c1cd32ad977467eaff0937
[]
no_license
pytsite/plugin-auth_google
ecd8bb9b8a2d59ed1fe1eb3515d2079b4359f03b
f22c90ac560d25c839db9b94cee6339e8681f299
refs/heads/master
2020-06-18T21:43:35.932709
2019-07-12T09:41:45
2019-07-12T09:41:45
74,938,727
1
0
null
null
null
null
UTF-8
Python
false
false
422
py
"""PytSite Google Authentication Driver Plugin """ __author__ = 'Oleksandr Shepetko' __email__ = 'a@shepetko.com' __license__ = 'MIT' # Public API from . import _error as error from ._api import get_client_id, get_authorization_url, get_client_secret, get_user_credentials, create_oauth2_flow def plugin_load_wsgi(): ...
[ "a@shepetko.com" ]
a@shepetko.com
211e94253365bf19b8a5e01da1a514175bac390e
4df948c31bde1b49c110820ecf8a38f949a78f62
/vta/python/vta/pkg_config.py
30b4808f5e2d8976d70677e197960aa94182db4d
[ "Apache-2.0" ]
permissive
jroesch/tvm
40b4b8707177e3354c264ce31092721930ced376
c2b36154778503a509a70a3b5309b201969eccab
refs/heads/master
2021-12-19T03:38:13.732405
2018-10-22T16:31:59
2018-10-22T16:31:59
135,759,537
4
7
Apache-2.0
2021-06-17T07:22:42
2018-06-01T20:15:33
C++
UTF-8
Python
false
false
2,677
py
"""VTA Package configuration module This module is dependency free and can be used to configure package. """ from __future__ import absolute_import as _abs import json import glob class PkgConfig(object): """Simple package config tool for VTA. This is used to provide runtime specific configurations. Pa...
[ "tqchen@users.noreply.github.com" ]
tqchen@users.noreply.github.com
312bb054808e401ffd15a254249a682d033752f3
c8077a0a60f0d76d12e409f751884e52ae361355
/lib/axis/tb/test_axis_adapter_64_8.py
cba5c29b70dffe723dc804f57736f9fa1eb9eae3
[ "MIT" ]
permissive
crasyrobot/verilog-ethernet
4977d40b6d9eaa863fd81893e591eed91d3579ba
2c5679ff6a7886979c433ed3bdd140431c5e3179
refs/heads/master
2020-04-02T22:10:02.552599
2018-10-24T17:59:02
2018-10-24T17:59:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,203
py
#!/usr/bin/env python """ Copyright (c) 2014-2018 Alex Forencich Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify,...
[ "alex@alexforencich.com" ]
alex@alexforencich.com
47ce00883a6c73232c93db6f262fb2ce48452c9c
9df2fb0bc59ab44f026b0a2f5ef50c72b2fb2ceb
/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/aio/operations/_private_endpoint_connections_operations.py
9287d43a0a94aab6890f89e32398b92c812f7f9f
[ "MIT", "LGPL-2.1-or-later", "LicenseRef-scancode-generic-cla" ]
permissive
openapi-env-test/azure-sdk-for-python
b334a2b65eeabcf9b7673879a621abb9be43b0f6
f61090e96094cfd4f43650be1a53425736bd8985
refs/heads/main
2023-08-30T14:22:14.300080
2023-06-08T02:53:04
2023-06-08T02:53:04
222,384,897
1
0
MIT
2023-09-08T08:38:48
2019-11-18T07:09:24
Python
UTF-8
Python
false
false
27,222
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" ]
openapi-env-test.noreply@github.com
c28d9ea03c3a4c015e6ec2a8902dee29434d1c66
1ee3dc4fa096d12e409af3a298ba01f5558c62b5
/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpipv4evpnvpws.py
c61eb826bb2e9aed3e33f4c3c3991b22fee6679a
[ "MIT" ]
permissive
parthpower/ixnetwork_restpy
321e64a87be0a4d990276d26f43aca9cf4d43cc9
73fa29796a5178c707ee4e21d90ff4dad31cc1ed
refs/heads/master
2020-07-04T13:34:42.162458
2019-08-13T20:33:17
2019-08-13T20:33:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
40,071
py
# MIT LICENSE # # Copyright 1997 - 2019 by IXIA Keysight # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), # to deal in the Software without restriction, including without limitation # the rights to use, copy, modify,...
[ "srvc_cm_packages@keysight.com" ]
srvc_cm_packages@keysight.com
f4c54df91cedb4ab534312995cd85ac41bb8b565
d4bcb9cc3b6aa9f690be59f630778d512882d34d
/ht/conv_jacket.pyi
237e03450cf918d66fad5744e2f420949830a545
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
CalebBell/ht
ba31cd9a7a2b3cb83599770c81b343ea5c60fc23
d9385d98311debcc47def7f5fc093f2e0152d059
refs/heads/master
2023-08-03T10:45:09.062053
2023-07-25T05:36:50
2023-07-25T05:36:50
48,963,057
154
38
MIT
2023-04-20T01:39:50
2016-01-03T22:33:12
Python
UTF-8
Python
false
false
810
pyi
# DO NOT EDIT - AUTOMATICALLY GENERATED BY tests/make_test_stubs.py! from typing import List from typing import Optional def Lehrer( m: float, Dtank: float, Djacket: float, H: float, Dinlet: float, rho: float, Cp: float, k: float, mu: float, muw: Optional[float] = ..., isob...
[ "Caleb.Andrew.Bell@gmail.com" ]
Caleb.Andrew.Bell@gmail.com
551b5d163e6711d7d9c88891ba544fe08eab673e
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2864/60793/262899.py
1bb97523a9632ac2e7d6fe558c7be342f39d36d9
[]
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
116
py
input() ls = list(map(int, input().split())) if ls == []: print() elif ls == []: print() else: print(ls)
[ "1069583789@qq.com" ]
1069583789@qq.com
7744da668bfa14a29636e0a5e6d816ccf32ea932
ffc479dadf059388dad3a66c5f4662b113dc6285
/basics/psdemospliut.py
aae2237e7becdf9c66bfabf64d9db3040c555452
[]
no_license
ravijaya/oct15-2020
fd87ee4f6aa7f0a63c77c8c470405eff479289b3
4fe4d4f2aac1f40349cec831c175652834b17b5d
refs/heads/main
2022-12-29T09:45:08.837682
2020-10-15T12:31:09
2020-10-15T12:31:09
304,318,346
0
0
null
null
null
null
UTF-8
Python
false
false
240
py
s = 'root:x:0:0:root:/root:/bin/bash' items = s.split(':') print(items) print() print(s.split(':')[0]) # indexing print() print(s.split(':')[1:]) # slicing print() # iterator for item in s.split(':')[1:]: # iteration print(item)
[ "ravi.goglobium@gmail.com" ]
ravi.goglobium@gmail.com
c015332c0c82523069c560e8844c293953c87e5d
c28a9cbbbb12c43342ca49263b1309acc0016879
/rlzoo/algorithms/a3c/a3c.py
b7449ea32db9dc3fd1e2cbc726ab959c0223638f
[ "Apache-2.0" ]
permissive
mirkomorati/RLzoo
894593051fda77f76828e9023dc3abe66ac09cbe
260aba32e68c31e7d637a2a21e2906e45ac66b46
refs/heads/master
2022-04-15T20:53:21.454210
2020-04-15T08:36:58
2020-04-15T08:36:58
255,854,689
0
0
Apache-2.0
2020-04-15T08:35:05
2020-04-15T08:35:05
null
UTF-8
Python
false
false
11,523
py
""" Asynchronous Advantage Actor Critic (A3C) with Continuous Action Space. Actor Critic History ---------------------- A3C > DDPG (for continuous action space) > AC Advantage ---------- Train faster and more stable than AC. Disadvantage ------------- Have bias. Reference ---------- Original Paper: https://arxiv.or...
[ "1402434478@qq.com" ]
1402434478@qq.com
94c538986256e0c9b56cfb18d0def97857f7224a
3006ba184fd85d9bfe64a2040683618d7aa24e54
/paylogic/settings_base.py
fb3a17cdd1544a5df7dd2096072c1f69f5589c59
[ "Apache-2.0" ]
permissive
esjee/codereview
909ca5ecff6b5436b023c5e4e6872366db1a0c3f
a8fc0e0b51be18db387b8b915aeda3f63e37c04f
refs/heads/master
2021-01-24T03:49:09.315286
2014-07-14T11:50:52
2014-07-14T11:50:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,616
py
"""Django settings for django_gae2django project.""" # NOTE: Keep the settings.py in examples directories in sync with this one! # from settings import * import re import os import statsd ROOT = os.path.dirname(os.path.dirname(os.path.realpath(__file__))) DEBUG = False TEMPLATE_DEBUG = DEBUG ADMINS = ( ('Admin'...
[ "bubenkoff@gmail.com" ]
bubenkoff@gmail.com
60d4b90698ef3312ded89560fe60b0bb05059590
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/otherforms/_luring.py
d57b90bae21a1db2e394effd996a53fd1662c59d
[ "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
216
py
#calss header class _LURING(): def __init__(self,): self.name = "LURING" self.definitions = lure self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.basic = ['lure']
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
d9f79170b88b22d84a6fd118b71d63ef8095c4fb
4a0e0608ae505df68a43604efd363beaec742159
/src/muypicky/settings/base.py
69f2cdabe2214781ab498528588edb21fd7f7808
[]
no_license
ionescuig/trydjango1-11
728c65a7481f7d54cdffa35d5456474a9eb69889
99e205880af8d307e2ef496afc983d3deeb435e8
refs/heads/master
2021-04-29T19:24:15.710487
2018-04-13T00:18:06
2018-04-13T00:18:06
121,702,491
0
0
null
null
null
null
UTF-8
Python
false
false
3,813
py
""" Django settings for muypicky project. Generated by 'django-admin startproject' using Django 1.11.2. For more information on this file, see https://docs.djangoproject.com/en/1.11/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.11/ref/settings/ """ import o...
[ "ionescuig@yahoo.com" ]
ionescuig@yahoo.com
bf64b0f79d6364e6e1c98299288c5bd337a03015
f10db3b11131ddf2bf5026e42cdd72c275e49693
/ToolsX/leetcode/0012/0012_1.py
86533e91b9177214e14e1ab80ed1278373daa4c7
[]
no_license
JunLei-MI/PythonX
36def40e33c9ebb64ce28af2b5da010393b08356
efea806d49f07d78e3db0390696778d4a7fc6c28
refs/heads/master
2023-04-07T10:58:45.647430
2021-01-25T16:54:37
2021-04-15T13:41:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
903
py
class Solution: def intToRoman(self, num: int) -> str: """ 1 https://leetcode.com/problems/integer-to-roman/discuss/6274/Simple-Solution 这个答案笑到我了 >>> Solution().intToRoman(3) 'III' >>> Solution().intToRoman(4) 'IV' >>> Solution().intToRoman(9)...
[ "pingfangx@pingfangx.com" ]
pingfangx@pingfangx.com
aba1e97c6943b979394ff3086c1a6feb58340f0e
eafddc14e1381db53b87d42e7aa12dfb4bcf2d6e
/pandemonium/implementations/sarsa.py
a66e3d0d8b81ef0035bbce22252096518a5927b5
[]
no_license
konichuvak/pandemonium
b9d1d2f8c3529b6869f6bda1d6ca10c6c0f94052
57083b311ea209fe156f8575cc682e6c88211b74
refs/heads/master
2022-11-23T21:57:21.276033
2020-07-26T03:42:51
2020-07-26T03:42:51
240,851,837
1
0
null
2020-07-06T19:54:41
2020-02-16T07:45:09
Python
UTF-8
Python
false
false
339
py
from pandemonium.demons.control import SARSA, OfflineTDControl, OnlineTDControl from pandemonium.demons.offline_td import TTD from pandemonium.utilities.utilities import get_all_classes class MultistepSARSA(SARSA, OfflineTDControl, TTD): ... class OnlineSARSA(SARSA, OnlineTDControl): ... __all__ = get_all...
[ "arialinvlad@gmail.com" ]
arialinvlad@gmail.com
79c71fa20f12d5ed5a0151bf6692b97ba1da8d44
4fcad69a9b2aec97fa29e0010d82f0f085cdc446
/tsampi/pypy/lib_pypy/distributed/test/test_socklayer.py
6870eda430d4ec75a8c7d5f2e3475edfb0534513
[]
no_license
tsampi/tsampi-0
b64d4457f58314343630b04232c6ecc74c7bfda1
5e0183e80718d5668b4b5b96631853942e344b64
refs/heads/master
2021-01-19T04:35:05.640785
2016-09-12T18:34:25
2016-09-12T18:34:25
49,612,767
1
3
null
2016-03-25T10:35:41
2016-01-14T01:02:18
Python
UTF-8
Python
false
false
995
py
import py from pypy.conftest import gettestobjspace def setup_module(mod): py.test.importorskip("pygreen") # found e.g. in py/trunk/contrib # XXX think how to close the socket class AppTestSocklayer: def setup_class(cls): cls.space = gettestobjspace(**{"objspace.std.withtproxy": True, ...
[ "tim@readevalprint.com" ]
tim@readevalprint.com
00071a7edaece30967b862cb1b4b8a03105931c9
e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f
/indices/nnguess.py
1ec9315b1a42073325191b67d7fa6a7c066171e1
[]
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
1,634
py
ii = [('BentJDO2.py', 2), ('EmerRN.py', 2), ('CookGHP3.py', 1), ('MarrFDI.py', 1), ('CoolWHM2.py', 1), ('KembFFF.py', 5), ('GodwWSL2.py', 9), ('SadlMLP.py', 6), ('FerrSDO3.py', 5), ('WilbRLW.py', 1), ('RennJIT.py', 1), ('AubePRP2.py', 4), ('CookGHP.py', 3), ('KembFJ1.py', 3), ('WilbRLW5.py', 2), ('PeckJNG.py', 2), ('Kn...
[ "varunwachaspati@gmail.com" ]
varunwachaspati@gmail.com
05fa5d26d2b5020a17dd191dd3777319051f64af
d1626536c867604efdb1b9b1d8305729f28233df
/tests/types/test_urls.py
f5483ca750cd1176a1aea6c1ed6716e369de006a
[ "MIT" ]
permissive
Rafiot/followthemoney
3fb056604ab672de1d9eea3330cd890af794c01e
18dd0ec410e598f8766f300b1f820e484034920f
refs/heads/master
2022-09-15T10:02:18.145766
2020-05-05T08:37:05
2020-05-05T08:37:05
259,663,871
1
0
MIT
2020-05-04T22:25:09
2020-04-28T14:41:07
null
UTF-8
Python
false
false
1,065
py
import unittest from followthemoney.types import registry urls = registry.url class UrlsTest(unittest.TestCase): def test_is_url(self): self.assertTrue(urls.validate('http://foo.org')) self.assertFalse(urls.validate(None)) self.assertFalse(urls.validate('hello')) def test_u...
[ "friedrich@pudo.org" ]
friedrich@pudo.org
feb14fa7af6317555eaeb4a19bf9065069c3bc12
1556527f9077813490366d1fef284bc0ae1e02ba
/sdk/lusid/models/corporate_action.py
11aa86df66e848821bd79205cc47de54deb113d2
[ "MIT" ]
permissive
timbarrass/lusid-sdk-python-preview
a04ce8887c7001bd7ddf099027ab94c97d8fa400
9a54e98bf748d87469aa7c797607550fe65ba6ba
refs/heads/master
2020-08-03T20:02:37.282370
2019-09-30T10:51:19
2019-09-30T10:51:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
32,609
py
# coding: utf-8 """ LUSID API # Introduction This page documents the [LUSID APIs](https://api.lusid.com/swagger), which allows authorised clients to query and update their data within the LUSID platform. SDKs to interact with the LUSID APIs are available in the following languages : * [C#](https://github.c...
[ "concourse@finbourne.com" ]
concourse@finbourne.com
059f528589706da920ac5bba05a259793242aab9
c60c199410289c1d7ec4aea00833b461e1f08f88
/mar09-11-2015/day1/demoonmap.py
bcd2b35b605214be7613c34b87933de7252e5dc4
[]
no_license
ver007/pythonjumpstart
66fb111e6af197fad3e853b2c2d712a1b57a7d59
5b1f52479abd07456e2da494149e491d398f3b7d
refs/heads/master
2021-01-21T01:34:35.501870
2015-05-13T14:10:13
2015-05-13T14:10:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
83
py
__author__ = 'ravi' a = [2,3,4] b = [1,2,3] print map(lambda x, n: x ** n, a, b)
[ "ravi@rootcap.in" ]
ravi@rootcap.in
db89ca96687b30bfe5e1575b3c951f4d67d15153
e8574a1eb466c37ab15a3722f762702023998ce8
/tests/test_parse/test_tinyseq.py
6ba1597dd6aa6e106a3e600f21714cbd4ff86c7f
[ "BSD-3-Clause" ]
permissive
cogent3/c3test
0415210e5aee197ea7256fd3747698073a5b29c3
e200ed18a7fbc317abf7ebe76871fb2a7004375c
refs/heads/master
2021-04-16T12:35:36.652805
2020-05-19T00:03:10
2020-05-19T00:03:10
249,356,408
0
1
BSD-3-Clause
2020-05-04T02:46:01
2020-03-23T06:50:50
Python
UTF-8
Python
false
false
1,762
py
#!/usr/bin/env python import xml.dom.minidom from io import StringIO from unittest import TestCase, main from cogent3.parse.tinyseq import TinyseqParser __author__ = "Matthew Wakefield" __copyright__ = "Copyright 2007-2020, The Cogent Project" __credits__ = ["Matthew Wakefield"] __license__ = "BSD-3" __version__ = ...
[ "Gavin.Huttley@anu.edu.au" ]
Gavin.Huttley@anu.edu.au
2ac2aedd914fe42678d31bbf51cad93ef6ff6d78
35dbd536a17d7127a1dd1c70a2903ea0a94a84c2
/tests/snuba/api/endpoints/test_discover_homepage_query.py
71f3bc1e624c3e770c60f1a832a392d146a6f94c
[ "Apache-2.0", "BUSL-1.1" ]
permissive
nagyist/sentry
efb3ef642bd0431990ca08c8296217dabf86a3bf
d9dd4f382f96b5c4576b64cbf015db651556c18b
refs/heads/master
2023-09-04T02:55:37.223029
2023-01-09T15:09:44
2023-01-09T15:09:44
48,165,782
0
0
BSD-3-Clause
2022-12-16T19:13:54
2015-12-17T09:42:42
Python
UTF-8
Python
false
false
5,947
py
from django.urls import reverse from sentry.api.serializers import serialize from sentry.discover.models import DiscoverSavedQuery from tests.snuba.api.endpoints.test_discover_saved_queries import DiscoverSavedQueryBase FEATURES = ("organizations:discover-query",) class DiscoverHomepageQueryTest(DiscoverSavedQueryB...
[ "noreply@github.com" ]
nagyist.noreply@github.com
565b2f83dc13e0eb8d5e64aed59cdbec399264f0
78a20d2ceac95d3afb55b215305a8c40670e873f
/QsimMaster/clients/kiethley_control/kiethley_controller.py
2b777b9dee35479f43c628755f50cc07e298445e
[]
no_license
johnpalsberg/John-Palsberg
9957dd2fb2a6da62e5118c4e2a9a471d5e2f4c9b
91aa6476bc319524c6f6a4bfc5561ca6aa95e6c4
refs/heads/master
2023-01-13T07:26:04.250541
2023-01-05T08:48:17
2023-01-05T08:48:17
206,402,363
0
0
null
2022-06-20T16:29:42
2019-09-04T19:57:25
Python
UTF-8
Python
false
false
2,269
py
from common.lib.clients.qtui.QCustomSpinBox import QCustomSpinBox from twisted.internet.defer import inlineCallbacks from PyQt4 import QtGui from common.lib.clients.qtui.q_custom_text_changing_button import \ TextChangingButton class kiethleyclient(QtGui.QWidget): def __init__(self, reactor, parent = None): ...
[ "jpalsberg2023@chadwickschool.org" ]
jpalsberg2023@chadwickschool.org
2f90b60ed7ed37e8e46b21c3764967ab7950903c
57ea759b2f400f1dc155b7637533732c78a3f1b7
/marketplace/settings.py
23ff23f48b98d6562bca294310e93b56e9313612
[]
no_license
hanifmisbah/Marketplace
219dce7b8cfe2a9509a6549729fea3febbe9cd3b
ee40a9a624021d10ff57befac88f306b1730bac7
refs/heads/master
2023-01-01T06:56:07.605659
2020-10-29T09:49:26
2020-10-29T09:49:26
308,255,051
0
1
null
null
null
null
UTF-8
Python
false
false
3,505
py
""" Django settings for marketplace project. Generated by 'django-admin startproject' using Django 2.2. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ import os ...
[ "hanifmisbah97@gmail.com" ]
hanifmisbah97@gmail.com
25e3e1ad2d878f59ad263ae884e96026e3554a26
0cb42f98050eef8689f3d87067367b688871bd47
/petshop/api/urls.py
81f5d9a65074aae151c6af209f32f083baf07932
[]
no_license
infsolution/AtividadeFinalAngular
b42554add907a5b502940997460451a7410ecb54
1071c38968d2e2d74c81030b7bd380442045c327
refs/heads/master
2023-01-12T09:07:10.807024
2019-07-14T03:46:07
2019-07-14T03:46:07
196,790,171
0
0
null
2023-01-07T07:45:41
2019-07-14T03:39:09
TypeScript
UTF-8
Python
false
false
809
py
from django.urls import path from . import views urlpatterns = [ path('', views.index, name='index'), path('user/', views.UserList.as_view(), name=views.UserList.name), path('user/<int:pk>/', views.UserDetail.as_view(), name=views.UserDetail.name), path('pet/', views.PetList.as_view(), name=views.PetLis...
[ "clsinfsolution@gmail.com" ]
clsinfsolution@gmail.com
d3ad1ddb9912f5b9b310d13e2e040d02b687faba
9cc76b1b1dd0064ab6613cbca6ce93bc179db355
/ros_ws/devel/lib/python3/dist-packages/object_finder/msg/_objectFinderGoal.py
16fd1b88d6e38231d2f5710965045d1b42331d05
[]
no_license
ABCaps35/learning_ros_ready_ws
1131c32b2ecadffa8dd186c9ebcfdba7284f30ad
1aa9c512d5006584e8bc84101a715e16a222a47d
refs/heads/main
2023-04-03T20:32:58.671255
2021-04-13T23:41:13
2021-04-13T23:41:13
357,715,306
1
0
null
null
null
null
UTF-8
Python
false
false
4,668
py
# This Python file uses the following encoding: utf-8 """autogenerated by genpy from object_finder/objectFinderGoal.msg. Do not edit.""" import codecs import sys python3 = True if sys.hexversion > 0x03000000 else False import genpy import struct class objectFinderGoal(genpy.Message): _md5sum = "8657c16ee27b175765f0...
[ "acapelli345@gmail.com" ]
acapelli345@gmail.com
580c7380ba8954b267f1ada589a644997b08598f
8ee12ccce396e0d43bd8473ec9f0a13c9c7844c7
/Mani_Vijay/python buit-in functions/002_raw+add.py
c440b472c2479eeb4a1cccf56783f1d859f043e9
[]
no_license
Purushotamprasai/Python
4ed44e26ca5cec7bb39c5561f545bfc68499bcfd
ed6fbd0f73cc7be91661f544f464222030197097
refs/heads/master
2023-06-05T13:39:04.602783
2020-01-23T14:30:25
2020-01-23T14:30:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
281
py
# wap addition of two numbers using raw_input functions def main( ): var = raw_input("enter some data") var = complex(var) print "var = ",var print " type of var ",type(var) print " id of var ",id(var) if(__name__ == "__main__"): main()
[ "noreply@github.com" ]
Purushotamprasai.noreply@github.com
05197295c0708c220fb104fc0d6cdc664e16e627
1b15b42087d58002432daff45fafb7eb4d0ca2d8
/100_same_tree.py
7a4573991e2ee2aa8d8e23c58b17e4b3cb9268a4
[]
no_license
georgebzhang/Python_LeetCode
2b92be66880eaf4642a603897386622dc81fbaf3
c1703358ceeed67e3e85de05eda74447f31176a2
refs/heads/master
2020-04-26T01:38:33.750580
2019-06-21T21:51:13
2019-06-21T21:51:13
173,209,953
0
0
null
null
null
null
UTF-8
Python
false
false
962
py
class TreeNode: def __init__(self, x): self.val = x self.left = None self.right = None class Solution(object): def isSameTree(self, p, q): def list_traversal(n): def traversal(n): if n is None: l.append('null') els...
[ "georgebzhang5@gmail.com" ]
georgebzhang5@gmail.com
730e52ddc3019fbcdf08b983b8ff9fa0c8190726
48e124e97cc776feb0ad6d17b9ef1dfa24e2e474
/sdk/python/pulumi_azure_native/apimanagement/v20210101preview/identity_provider.py
9988da868a822edb51d45e7470069e7c7ae09b00
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
bpkgoud/pulumi-azure-native
0817502630062efbc35134410c4a784b61a4736d
a3215fe1b87fba69294f248017b1591767c2b96c
refs/heads/master
2023-08-29T22:39:49.984212
2021-11-15T12:43:41
2021-11-15T12:43:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
23,324
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from ... import _utilities fro...
[ "noreply@github.com" ]
bpkgoud.noreply@github.com
358b4ca183c5bb806e89aba3e3424841ea807616
8f4c691f190a1d4ffd4261ea6dca6a2d3a96284c
/csa/csa/doctype/union/union.py
86d5969dfee1ff7a1083ecbd7571ff80e1308109
[ "MIT" ]
permissive
Jishnu70055/usermanagement
57abb738160fb213acdc2c71b40244eae4b06cee
f7b526335c2b99899afac188696071fa35df09ca
refs/heads/master
2023-09-03T17:30:50.147750
2021-10-21T13:27:38
2021-10-21T13:27:38
399,362,509
0
0
null
null
null
null
UTF-8
Python
false
false
181
py
# Copyright (c) 2021, s and contributors # For license information, please see license.txt # import frappe from frappe.model.document import Document class Union(Document): pass
[ "jishnudq70055@gmail.com" ]
jishnudq70055@gmail.com
7fc72e54f6e06bb8165c54aaaa72791618d8551f
51086c09f2c920d057db12e373a01b08571c4cbf
/pebble-sdk/SDKs/3.9/.env/bin/easy_install-2.7
be6acc61a8b4923989902d3b802c79df09f25787
[]
no_license
JohnHoder/pebble-dev
66dc69258dfd009313c23ba5c2eb518aec257652
e9d95bd564ba6f58b539a1a68f21fe82b6d0992b
refs/heads/master
2022-11-23T17:32:26.573394
2018-12-26T03:17:37
2018-12-26T03:17:37
163,131,045
0
1
null
2022-10-31T10:03:38
2018-12-26T03:15:57
Python
UTF-8
Python
false
false
264
7
#!/home/john/.pebble-sdk/SDKs/3.9/.env/bin/python # -*- coding: utf-8 -*- import re import sys from setuptools.command.easy_install import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "hoder.john@gmail.com" ]
hoder.john@gmail.com
c72fd3b58d7b69c030a63601b5e20b4f72228f2a
7966fa31437cc8a539621a5a0642ce24c1c9de50
/PycharmProjects/leetcode/knapsack/139单词拆分.py
202f72100f96201909c7949f236c9d1a17e238ce
[]
no_license
crystal30/DataStructure
4f938508f4c60af9c5f8ec5520d5acedbe2dc90e
c55b0cfd2967a2221c27ed738e8de15034775945
refs/heads/master
2021-06-25T17:49:03.048853
2021-01-22T00:37:04
2021-01-22T00:37:04
192,374,326
0
0
null
null
null
null
UTF-8
Python
false
false
1,272
py
class Solution: def __init__(self): self.memo = dict() def wordBreak(self, s, wordDict) -> bool: # s 和 wordDict均为非空 if len(s) == 0: return True if s in self.memo.keys(): return self.memo[s] re = [] for word in wordDict: re_s =...
[ "zhao_crystal@126.com" ]
zhao_crystal@126.com
3b1180cd98b60c6bbd029fbed6efad1462671dfd
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/2/e1g.py
4e27f609a8666e529f200bd39ffac772ad607a43
[]
no_license
G4te-Keep3r/HowdyHackers
46bfad63eafe5ac515da363e1c75fa6f4b9bca32
fb6d391aaecb60ab5c4650d4ae2ddd599fd85db2
refs/heads/master
2020-08-01T12:08:10.782018
2016-11-13T20:45:50
2016-11-13T20:45:50
73,624,224
0
1
null
null
null
null
UTF-8
Python
false
false
486
py
import sys def printFunction(lineRemaining): if lineRemaining[0] == '"' and lineRemaining[-1] == '"': if len(lineRemaining) > 2: #data to print lineRemaining = lineRemaining[1:-1] print ' '.join(lineRemaining) else: print def main(fileName): with open(fileName) as f: for line in f: ...
[ "juliettaylorswift@gmail.com" ]
juliettaylorswift@gmail.com
73813473d4d0efb587cdd6610c0b33ac88cb6778
4820d5748f1374809c97221f11f3f96cfd2a054a
/runway/embedded/stacker/actions/build.py
ed10d6cb6489626532ba80c4b836945648671735
[ "BSD-2-Clause", "Apache-2.0", "ISC" ]
permissive
ShaunEdiger/runway
7efe0ec4e8fb7b307bf6f244707c0c3d318251a5
2472b7a6854655e20605d2d64476d38812c13dd6
refs/heads/master
2020-03-28T00:17:26.426905
2018-09-04T18:54:56
2018-09-04T19:49:26
147,392,034
0
0
Apache-2.0
2018-09-04T18:37:47
2018-09-04T18:37:46
null
UTF-8
Python
false
false
15,408
py
from __future__ import print_function from __future__ import division from __future__ import absolute_import import logging from .base import BaseAction, plan, build_walker from .base import STACK_POLL_TIME from ..providers.base import Template from .. import util from ..exceptions import ( MissingParameterExcept...
[ "troy@troyready.com" ]
troy@troyready.com
c4744c241dfcca1e7a26ee3f2f6e104452cc97f7
cb61ba31b27b232ebc8c802d7ca40c72bcdfe152
/Misc/subarray_sum_negative.py
0847ef7b4914676b35fe5134c25da1ab1f5c7345
[ "Apache-2.0" ]
permissive
saisankargochhayat/algo_quest
c7c48187c76b5cd7c2ec3f0557432606e9096241
a24f9a22c019ab31d56bd5a7ca5ba790d54ce5dc
refs/heads/master
2021-07-04T15:21:33.606174
2021-02-07T23:42:43
2021-02-07T23:42:43
67,831,927
5
1
Apache-2.0
2019-10-28T03:51:03
2016-09-09T20:51:29
Python
UTF-8
Python
false
false
183
py
t=int(input()) for i in range(t): arr=list() N,X=map(int,input().split()) for j in range(N): num=int(input()) arr.append(num) subarray(arr,N,X)
[ "saisankargochhayat@gmail.com" ]
saisankargochhayat@gmail.com
acdc0bb6b71acfc1b51ebfe3911a130e22a71455
6a74ae0a776dfa50e946651362ff97326fc9f6e1
/200/pt3/089.py
49dee26b7d7005bec0e64fda65c4c349d6b6596a
[]
no_license
teotiwg/studyPython
799c1307d50ad77a27b8a8ca59c79b79f07c29cd
fd0c7f8af9b0ba9d832818d42aec320386bf857b
refs/heads/master
2023-02-17T17:04:23.809231
2021-01-11T09:27:20
2021-01-11T09:27:20
327,474,697
1
0
null
null
null
null
UTF-8
Python
false
false
292
py
numstr = input('숫자를 입력하세요') try: num = int(numstr) print("입력한 수는 정수 %d 입니다." %num) except: try: num = float(numstr) print('입력한 수는 실수 %f 입니다.' %num) except: print('+++숫자를 입력하세요+++')
[ "kes2521@naver.com" ]
kes2521@naver.com
5f656e42754c32c4967d3e7d1cb279ab1be83196
6d0ca19b8c0f986954135bca68fd3abc558e8ab8
/PKUTreeMaker/test/processDump5511280880.py
fbef1194f9b962905db3049f0d621cb2b5eb863a
[]
no_license
AnYpku/Ntuple
8e018a2980d0440bf48c918a328d75e406df9595
7e3a41a7da5ef0005be67e32d615752ca6f130e1
refs/heads/master
2020-03-22T14:24:27.658961
2018-04-06T12:26:08
2018-04-06T12:26:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
55,666
py
import FWCore.ParameterSet.Config as cms process = cms.Process("TEST") process.source = cms.Source("PoolSource", fileNames = cms.untracked.vstring('/store/mc/RunIISummer16MiniAODv2/LLAJJ_EWK_MLL-50_MJJ-120_13TeV-madgraph-pythia8/MINIAODSIM/PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v1/50000/08DCD9BB-2C25...
[ "1501110102@pku.edu.cn" ]
1501110102@pku.edu.cn
8e4e9a84ac90cc3c82cd6cdaf5e67eb084cac8c2
d5ba475a6a782b0eed5d134b66eb8c601c41421c
/terrascript/resource/kubernetes.py
b36d593401d9adecbf53bb7af121910a44601d7d
[ "BSD-2-Clause", "Python-2.0" ]
permissive
amlodzianowski/python-terrascript
ab42a06a5167e53ad8093b656a9bf14a03cb031d
142b1a4d1164d1012ac8865d12fdcc72f1e7ae75
refs/heads/master
2021-05-19T11:59:47.584554
2020-03-26T07:13:47
2020-03-26T07:13:47
251,688,045
0
0
BSD-2-Clause
2020-03-31T18:00:22
2020-03-31T18:00:22
null
UTF-8
Python
false
false
2,743
py
# terrascript/resource/kubernetes.py import terrascript class kubernetes_api_service(terrascript.Resource): pass class kubernetes_cluster_role(terrascript.Resource): pass class kubernetes_cluster_role_binding(terrascript.Resource): pass class kubernetes_config_map(terrascript.Resource): pass ...
[ "markus@juenemann.net" ]
markus@juenemann.net
12c4009dcc6246635dd6e61c1e166dddbab555ce
87f676da996db82348282d7bdd49d05fe5372356
/anchore_engine/version.py
1c5682895bdff5c60ce4f3d9454ffb7652cc6283
[ "Apache-2.0" ]
permissive
shrikant-rajappan/anchore
abad5baca5258c665d5f3fdc471ab75b86b71163
e9838894f666161e84ecce408922e48ca045eaf6
refs/heads/master
2023-01-06T04:47:14.516052
2019-08-26T20:35:39
2019-08-26T20:35:39
204,663,580
0
1
Apache-2.0
2022-12-21T15:42:54
2019-08-27T09:05:05
Python
UTF-8
Python
false
false
40
py
version="0.5.0-dev" db_version="0.0.11"
[ "nurmi@anchore.com" ]
nurmi@anchore.com
b6ae8c8519f939cc6a51e7ee6f2fefd15c8b2259
3de2a746243ad1cb000994a06a0f9699db9a901f
/abc184b.py
64694289e5c4aec649f12bd9438abd27db4e5b01
[]
no_license
takumi152/atcoder
71d726ffdf2542d8abac0d9817afaff911db7c6c
ebac94f1227974aa2e6bf372e18605518de46441
refs/heads/master
2022-10-30T12:14:41.742596
2022-09-29T19:49:32
2022-09-29T19:49:32
181,502,518
1
0
null
null
null
null
UTF-8
Python
false
false
285
py
def main(): n, x = map(int, input().split()) s = input() score = x for i in range(n): if s[i] == 'o': score += 1 elif s[i] == 'x' and score > 0: score -= 1 print(score) if __name__ == '__main__': main()
[ "takumi152@hotmail.com" ]
takumi152@hotmail.com
931bfaa4cc8c3856ad42bb1d98c301e63b8c1bd6
c1fcfa74629b0ab3cf806c2a565aa869f7fea3d9
/Contents/Libraries/Shared/resources/lib/proxies/anonymster.py
b424e52f3034d1352d01ebb78a5228d0b7a1245b
[]
no_license
gus4520/FMoviesPlus.bundle
e884e37f0aca68ac1d4c1e8d7dc7ff741ea323eb
102baa1a5c7cef3ef3f728db226e01fbdf34da7f
refs/heads/master
2020-03-10T02:43:18.087100
2018-01-15T20:07:11
2018-01-15T20:07:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,657
py
import re,urllib,urlparse,base64,time,json from resources.lib.libraries import cleantitle from resources.lib.libraries import client from resources.lib.libraries import control from resources.lib import resolvers # Web Proxy name = 'Anonymster' loggertxt = [] PROXY_URL = "https://proxy.anonymster.com/browse.php?b=2&...
[ "coderalphaakv@gmail.com" ]
coderalphaakv@gmail.com
c69f07208e4745e5ea251ca85528efeaedd27a54
e21330ac23917670799616e7fc44d3a73171042d
/algorithm_project/users/urls.py
4af926f1a6913423f31c430f03386b4e9e85ebd4
[ "MIT" ]
permissive
godwon2095/algorithm_project
813b25e16a26723d0d1748ee24b23b4d16e70974
c8140f75a14535592cac06a62c480be13c45d7c1
refs/heads/master
2020-05-28T06:28:22.094441
2019-05-27T21:37:35
2019-05-27T21:37:35
188,909,216
0
0
null
null
null
null
UTF-8
Python
false
false
375
py
from django.urls import path from algorithm_project.users.views import ( user_redirect_view, user_update_view, user_detail_view, ) app_name = "users" urlpatterns = [ path("~redirect/", view=user_redirect_view, name="redirect"), path("~update/", view=user_update_view, name="update"), path("<str...
[ "jsw2095@naver.com" ]
jsw2095@naver.com
cfd4a4929001cfecb69580906667d2c26c280741
664646ccbeb6575582299e7d1c6ccc696f07ccba
/tools/oneforall/modules/datasets/passivedns_api.py
13da6b1fa0bfbddd994246c0aad0e6be01b09d64
[]
no_license
0xss/bayonet
3f1ce5832a06eef7e60b198c6c56cf59e4543199
d723dbf0299ac86d9a4419741a197985558e283c
refs/heads/master
2021-02-25T20:21:11.342592
2020-03-06T04:40:14
2020-03-06T04:40:14
245,462,098
0
1
null
2020-03-06T16:02:33
2020-03-06T16:02:32
null
UTF-8
Python
false
false
1,501
py
from config import Oneforall from tools.oneforall.common.query import Query class PassiveDnsAPI(Query): def __init__(self, domain): Query.__init__(self) self.domain = self.register(domain) self.module = 'Dataset' self.source = 'PassiveDnsQuery' self.addr = Onefora...
[ "1767986993@qq.com" ]
1767986993@qq.com
209bbad24dacc64dfcafafba3760d51026cf9ce4
7ec35bd037077e9b65d3fa26a91978e8652c7409
/Stream-3/Full-Stack-Development/21.Django REST Framework/2.Serializers-And-Class-Based-Views/django_todo/todo/views.py
f79744a2bc2b32f9331530f531e9a4543b000663
[ "MIT" ]
permissive
GunnerJnr/_CodeInstitute
8f743abef66c33a77ce13ca719963e93ffe22607
efba0984a3dc71558eef97724c85e274a712798c
refs/heads/master
2023-01-05T10:53:57.536047
2020-01-27T13:04:12
2020-01-27T13:04:12
99,014,961
8
6
MIT
2022-12-26T20:24:35
2017-08-01T15:15:55
CSS
UTF-8
Python
false
false
947
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.shortcuts import render from rest_framework.response import Response from rest_framework.views import APIView from todo.serializers import TodoSerializer from todo.models import Todo # Create your views here. class TodoView(APIView): """...
[ "gunnerjnr@live.co.uk" ]
gunnerjnr@live.co.uk
cbe47d4a7fded25f5b1a067869bebac87802ba37
4f325c55882487af0aab8853179a7ed5867953b9
/pssshclient.py
15bd33ee5692b7fcac7d53d0c6cd2adec6d166e1
[]
no_license
ravijaya/oct26
6ce7112f85db86fa41fbb2ff6f9f01650055ad6a
64f7dbe759ddc652297365c8a635b239e1ef0cba
refs/heads/master
2020-08-28T12:29:54.644234
2019-10-26T11:41:41
2019-10-26T11:41:41
217,700,205
0
0
null
null
null
null
UTF-8
Python
false
false
552
py
"""single threaded ssh client""" import paramiko def ssh_client(host, port, user, pwd, job): ssh = paramiko.SSHClient() ssh.set_missing_host_key_policy(paramiko.AutoAddPolicy()) ssh.connect(host, port, user, pwd) stdin, stdout, stderr = ssh.exec_command(job) output = stdout.read() response ...
[ "ravijaya@localhost.localdomain" ]
ravijaya@localhost.localdomain
c12bee6b4ad787e6305c5304f580559473b1b30b
4c45bd5cb5d71e8563c8aca3e706e7275965e5fd
/users/tests.py
5ea92a18481ef8300ddf38bc8967401bb7f7ce4b
[ "BSD-2-Clause" ]
permissive
diogobaeder/n2n
4794faa6de46e1dadb9ac6c3611cb9ac738411c3
aca2488d3d54067d4aea2f69ec37643a897735eb
refs/heads/master
2021-01-23T10:43:14.405346
2017-06-01T18:19:52
2017-06-01T18:19:52
93,084,654
0
0
null
null
null
null
UTF-8
Python
false
false
1,584
py
from uuid import UUID from django.test import TestCase from .models import * class UserTest(TestCase): def test_creates_basic_user(self): user = User.objects.create(name='John') self.assertEqual(user.name, 'John') self.assertIsInstance(user.uuid, UUID) def test_adds_a_project(self)...
[ "diogobaeder@yahoo.com.br" ]
diogobaeder@yahoo.com.br
4a2d45213d44ffeeaded394b450ea7daf5b65bb7
bb198232df12a1adb9e8a6164ff2a403bf3107cf
/wifi-dump-parser-3/bar_graph_plot.py
4c8876a1e9badd818c8ba52c278afd5a7bcc5621
[]
no_license
vanello/wifi-arsenal
9eb79a43dfdd73d3ead1ccd5d2caf9bad9e327ee
1ca4c5a472687f8f017222893f09a970652e9a51
refs/heads/master
2021-01-16T22:00:37.657041
2015-09-03T03:40:43
2015-09-03T03:40:43
42,060,303
1
0
null
2015-09-07T15:24:11
2015-09-07T15:24:11
null
UTF-8
Python
false
false
5,829
py
#Author : Abhinav Narain #Date : 9-sept-2013 #Purpose : To plot the #devices,AP inside homes from magicplott import * def pickle_reader(input_folder): print "the pickle reader called " data_fs=os.listdir(input_folder) home_device_table=defaultdict(list) home_ap_table=defaultdict(list) for f_name...
[ "oleg.kupreev@gmail.com" ]
oleg.kupreev@gmail.com
eecd8f9f717bf3993d28bdb0a215b4bf7bcc4cf9
8ffccb986def3f1f669b475a8575e05dccd77163
/py02프로그래밍기초/py02_09ex3_average.py
05c1e29c77f959eaded24fb96d3d2e583ce1fbf5
[]
no_license
pythonJhu/testProject
09f5d412b0271e17b31f78fd7133d6e54464c41a
74f27b0f5c2b798122c3edbd66f7b485a8add6d5
refs/heads/master
2021-01-01T10:55:56.370576
2020-03-08T07:09:33
2020-03-08T07:09:33
239,248,164
0
0
null
null
null
null
UTF-8
Python
false
false
554
py
value1 = input("첫번째 과목 점수를 입력하세요 : ") value2 = input("두번째 과목 점수를 입력하세요 : ") value1 = int(value1) # 문자열 value1 을 정수로 변환, 형변환 value2 = int(value2) # 문자열 value1 을 정수로 변환, 형변환 sum = value1 + value2 average = sum / 2 print(' ------------------ value1 = ', value1, ' value2 = ', value2, '-------------------- ') if average ...
[ "bvyuguy@md.com" ]
bvyuguy@md.com
fe2b091cab4cd2ea964b6dc9f009c5ffa2a2e6d5
c22fa68c3ebc8f112300c02d9f66cdb651bee648
/manage.py
513689d5061edf0b9fc2e2fb89db77fe6b716ea3
[ "Apache-2.0" ]
permissive
ans2human/DjNg-CRUD
b053108244a9a07f3ed3f56a8d4322100ddf9c5a
eb5b911fbd643cc182ba272ec50191cbfbb7cf03
refs/heads/master
2020-03-21T04:57:07.845134
2018-07-05T09:25:33
2018-07-05T09:25:33
138,136,069
2
1
null
null
null
null
UTF-8
Python
false
false
542
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "movierater.settings") try: from django.core.management import execute_from_command_line except ImportError as exc: raise ImportError( "Couldn't import Django. A...
[ "ans2human@gmail.com" ]
ans2human@gmail.com
7e174e8fb9a2e4c5b0c0a5341a661db12f49e731
b9cee0411d39d25a534c44d7e43e18924af02214
/highway_env/road/lane.py
46acc9e73f7079c07e9687b19374e078548c74ba
[ "MIT" ]
permissive
galleon/highway-env
1a848b0c742d6bb5c888da680a98c9f21d665b31
2fba2bda9c6b29218db3a6d2a7c2d7de2f1a4bf1
refs/heads/master
2022-11-06T17:46:48.533001
2020-06-22T05:31:48
2020-06-22T05:31:48
272,162,696
0
0
null
null
null
null
UTF-8
Python
false
false
1,309
py
import numpy as np class LineType: """ A lane side line type. """ NONE = 0 STRIPED = 1 CONTINUOUS = 2 CONTINUOUS_LINE = 3 class StraightLane: """ A straight line lane """ def __init__(beg, end, width=4, line_types=None, forbidden=False, speed_limit=20, priority=0): ...
[ "guillaume.alleon@gmail.com" ]
guillaume.alleon@gmail.com
39f5ffac6c1fa9cc6b5aca33866d41cba6910f02
b7125b27e564d2cc80a2ce8d0a6f934aa22c8445
/.history/sudoku_20201103142305.py
4850f9b602a9fe01ba0698b7ba97c70a49c9bd0d
[]
no_license
JensVL96/Puzzle-solver-for-fun
4c15dcd570c3705b7ac555efb56b52913e81083c
6d8a4378a480372213a596a336a4deca727a00fc
refs/heads/master
2021-07-15T05:19:42.185495
2020-11-08T13:59:49
2020-11-08T13:59:49
224,855,888
1
0
null
null
null
null
UTF-8
Python
false
false
6,312
py
# -*- coding: utf-8 -*- from __future__ import print_function from config import * from create_board import * from solve_bloard import * from display_board import * from string import * from math import floor import pygame as pg import numpy as np # For error highlighting def set_highlight(row, col, blk, lock): g...
[ "jle040@uit.no" ]
jle040@uit.no
72f861f016dcd6fdff6b6467986d2be6d78a4439
927fc31a0144c308a5c8d6dbe46ba8f2728276c9
/tasks/final_tasks/iterator/1.simple_string_iterator.py
2f13e87860aabfa853eaa9c7ff6fea24321ff01b
[]
no_license
ChandraSiva11/sony-presamplecode
b3ee1ba599ec90e357a4b3a656f7a00ced1e8ad3
393826039e5db8a448fa4e7736b2199c30f5ed24
refs/heads/master
2023-01-14T00:09:19.185822
2020-11-23T02:07:00
2020-11-23T02:07:00
299,527,171
0
0
null
null
null
null
UTF-8
Python
false
false
727
py
# First Simple iterator progrma in python def main(): string = "Hi Hellow world" itr_obj = iter(string) # For loop will automatically handle the stop iteration # for i in itr_obj: # print(i) # With out for loop try : print(next(itr_obj)) print(next(itr_obj)) print(next(itr_obj)) print(next(itr_obj)) ...
[ "chandra2.s@aricent.com" ]
chandra2.s@aricent.com
714df2c4872aa8297b8ca60a4c4ec251566f37f7
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/wPMgjmQMoCwm3G6mt_5.py
1c4eae077e1c33c1d203e3a596da095b005adddc
[]
no_license
daniel-reich/ubiquitous-fiesta
26e80f0082f8589e51d359ce7953117a3da7d38c
9af2700dbe59284f5697e612491499841a6c126f
refs/heads/master
2023-04-05T06:40:37.328213
2021-04-06T20:17:44
2021-04-06T20:17:44
355,318,759
0
0
null
null
null
null
UTF-8
Python
false
false
148
py
def upload_count(dates, month): l = len(month) ctr = 0 for i in dates: if i[:l] == month: ctr += 1 return ctr
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
f4cbe2ace7b56a43abc0197ceb831adbd5082b8d
5b7c2feb27a71837edf526315d413706a6bf82ff
/tests/utils/test_env.py
5a4a4d3a3b4e68fd3b764190b3d69f00f25ea3ec
[ "BSD-3-Clause" ]
permissive
facebookresearch/mmf
df675223566dc8fb2359aa3e1a2d49db5e3c2b9a
63f76fbcfe2d056b88734fc41a983251d20e6c61
refs/heads/main
2023-08-23T23:40:46.827046
2023-07-11T06:18:50
2023-07-11T06:18:50
138,831,170
2,432
592
NOASSERTION
2023-08-11T20:26:11
2018-06-27T04:52:40
Python
UTF-8
Python
false
false
4,585
py
# Copyright (c) Facebook, Inc. and its affiliates. import contextlib import io import os import sys import unittest from mmf.common.registry import registry from mmf.utils.configuration import get_mmf_env from mmf.utils.env import import_user_module, setup_imports from mmf.utils.general import get_mmf_root from mmf_c...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
d82b06ed955306e40a89c3f9dae61aae64c70312
c51eef37bb983a9c35635c7ccc96a0cf689a7438
/lecture/lecture_gn3/week3/appendix_pandas.py
0344d0f2f1232e55f1999224d4ea9967a9fa725b
[]
no_license
Kyeongrok/python_crawler
0a717b43be36584af1b0f7c1ad0c79108a5d11e0
5a5da8af7bb080f752a9a066741ac8adab136a3a
refs/heads/master
2022-09-13T03:15:08.053639
2022-08-02T15:45:03
2022-08-02T15:45:03
124,719,435
40
34
null
2019-02-27T08:29:52
2018-03-11T03:20:32
HTML
UTF-8
Python
false
false
134
py
import pandas as pd df = pd.read_excel("./jongmok.xlsx") print(df['code']) for item in df['code']: print(item.replace("'", ""))
[ "oceanfog1@gmail.com" ]
oceanfog1@gmail.com
118d9f8fd993b2d062494e29f3c3420c020ff27b
894e2bc2b02226a23fcaff30d5d75c53b111fbe9
/www/models.py
29d709a9450cf26880b06894b2678e47a52e5236
[]
no_license
frank-xman/python_web
26b57614e70a7f58fe5ccfffef77340e4dff28be
76bb0a590ebd113d391f9fd75bc6f3756ac920da
refs/heads/master
2020-03-20T08:14:55.974308
2018-06-17T11:27:23
2018-06-17T11:27:23
137,302,737
0
0
null
null
null
null
UTF-8
Python
false
false
1,352
py
import time, uuid from orm import Model, StringField, BooleanField, FloatField, TextField def next_id(): return '%015d%s000' % (int(time.time() * 1000), uuid.uuid4().hex) class User(Model): __table__ = 'users' id = StringField(primary_key=True, default=next_id, ddl='varchar(50)') email = StringField...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
3fb64a3e8d1896b2dbb68da8318452a55210d6b7
4521bb234771215d678890ed084f6336e3653542
/_examples/seqs/test.py
9ba8745db744cd39dd83292b9f5b362bf39e73e9
[ "BSD-3-Clause" ]
permissive
mingrammer/gopy
16b8cfcec31ff993e62a383032192600b33b7681
3b8a754b6c689175fac23de448e31b96c231e001
refs/heads/master
2021-01-01T06:28:35.777032
2017-07-13T23:04:38
2017-07-16T13:19:44
97,432,545
1
0
null
2017-07-17T03:42:30
2017-07-17T03:42:30
null
UTF-8
Python
false
false
880
py
# Copyright 2015 The go-python Authors. All rights reserved. # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file. ## py2/py3 compat from __future__ import print_function import seqs ### test docs print("doc(seqs): %r" % (seqs.__doc__,)) print("arr = seqs.Array(xrang...
[ "binet@cern.ch" ]
binet@cern.ch
8b4ed7b0a5ab69cd77a18bc6d948271caf27517a
15514b8cdb9ef2bb25a33e44a2abe79e5eb86439
/analyze_in_vivo/analyze_domnisoru/check_basic/velocity_threshold.py
326534e21640372aed2da1a278da69d0f76db9a4
[]
no_license
cafischer/analyze_in_vivo
389ce0d51c6cbeb3e39648aaff13263f0c99060a
e38e1057420b5329504f7095f1ee89e2a293df23
refs/heads/master
2021-06-10T00:18:47.741793
2019-09-14T08:47:53
2019-09-14T08:47:53
100,512,098
0
0
null
null
null
null
UTF-8
Python
false
false
5,288
py
from __future__ import division import numpy as np import matplotlib.pyplot as pl import os from analyze_in_vivo.load.load_domnisoru import load_cell_ids, load_data, get_celltype, get_track_len from analyze_in_vivo.analyze_domnisoru.check_basic.in_out_field import threshold_by_velocity from scipy.ndimage.filters import...
[ "coralinefischer@gmail.com" ]
coralinefischer@gmail.com
f2b3dd17ce0965225f01742b65f234f3c042c6fd
eb9c3dac0dca0ecd184df14b1fda62e61cc8c7d7
/google/cloud/scheduler/v1/scheduler-v1-py/google/cloud/scheduler_v1/services/cloud_scheduler/async_client.py
5a574a9d7619dfdff90a26656248611ca1a466a9
[ "Apache-2.0" ]
permissive
Tryweirder/googleapis-gen
2e5daf46574c3af3d448f1177eaebe809100c346
45d8e9377379f9d1d4e166e80415a8c1737f284d
refs/heads/master
2023-04-05T06:30:04.726589
2021-04-13T23:35:20
2021-04-13T23:35:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
35,528
py
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law o...
[ "bazel-bot-development[bot]@users.noreply.github.com" ]
bazel-bot-development[bot]@users.noreply.github.com
aac080be86faa850be15104254c1f01a4348d237
b28305dab0be0e03765c62b97bcd7f49a4f8073d
/build/android/resource_sizes.py
cc8681122bda0269f13b21cca01f5c13b2121638
[ "BSD-3-Clause" ]
permissive
svarvel/browser-android-tabs
9e5e27e0a6e302a12fe784ca06123e5ce090ced5
bd198b4c7a1aca2f3e91f33005d881f42a8d0c3f
refs/heads/base-72.0.3626.105
2020-04-24T12:16:31.442851
2019-08-02T19:15:36
2019-08-02T19:15:36
171,950,555
1
2
NOASSERTION
2019-08-02T19:15:37
2019-02-21T21:47:44
null
UTF-8
Python
false
false
32,820
py
#!/usr/bin/env python # Copyright (c) 2011 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. """Reports binary size and static initializer metrics for an APK. More information at //docs/speed/binary_size/metrics.md. """ fr...
[ "artem@brave.com" ]
artem@brave.com
d8e0bc2788db178b1f857236383ca57f5278fc99
62e58c051128baef9452e7e0eb0b5a83367add26
/x12/5010/568005010.py
8f5b66f935d9f1b463871ee861e0a2ab2b098725
[]
no_license
dougvanhorn/bots-grammars
2eb6c0a6b5231c14a6faf194b932aa614809076c
09db18d9d9bd9d92cefbf00f1c0de1c590fe3d0d
refs/heads/master
2021-05-16T12:55:58.022904
2019-05-17T15:22:23
2019-05-17T15:22:23
105,274,633
0
0
null
2017-09-29T13:21:21
2017-09-29T13:21:21
null
UTF-8
Python
false
false
1,751
py
from bots.botsconfig import * from records005010 import recorddefs syntax = { 'version' : '00403', #version of ISA to send 'functionalgroup' : 'D5', } structure = [ {ID: 'ST', MIN: 1, MAX: 1, LEVEL: [ {ID: 'BGN', MIN: 1, MAX: 1}, {ID: 'AMT', MIN: 1, MAX: 2}, ...
[ "jason.capriotti@gmail.com" ]
jason.capriotti@gmail.com
a767d8388d15206e4a7a88d87019fd89dfd13dfd
a2d36e471988e0fae32e9a9d559204ebb065ab7f
/huaweicloud-sdk-swr/huaweicloudsdkswr/v2/model/create_image_sync_repo_request_body.py
cb2762d95c71188bd7d4b164190eeca326be4fed
[ "Apache-2.0" ]
permissive
zhouxy666/huaweicloud-sdk-python-v3
4d878a90b8e003875fc803a61414788e5e4c2c34
cc6f10a53205be4cb111d3ecfef8135ea804fa15
refs/heads/master
2023-09-02T07:41:12.605394
2021-11-12T03:20:11
2021-11-12T03:20:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,587
py
# coding: utf-8 import re import six from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization class CreateImageSyncRepoRequestBody: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (di...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com