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
df776be8e3c5a10d0ea0d5ac96bb71188cc0c541
be5f4d79910e4a93201664270916dcea51d3b9ee
/fastdownward/experiments/issue627/merge-v3-v5.py
100f1f2a1136f016756e9f799a53b284019dc988
[ "MIT", "GPL-1.0-or-later", "GPL-3.0-or-later" ]
permissive
mehrdadzakershahrak/Online-Explanation-Generation
17c3ab727c2a4a60381402ff44e95c0d5fd0e283
e41ad9b5a390abdaf271562a56105c191e33b74d
refs/heads/master
2022-12-09T15:49:45.709080
2019-12-04T10:23:23
2019-12-04T10:23:23
184,834,004
0
0
MIT
2022-12-08T17:42:50
2019-05-04T00:04:59
Python
UTF-8
Python
false
false
1,574
py
#! /usr/bin/env python # -*- coding: utf-8 -*- from downward import suites from common_setup_no_benchmarks import IssueConfig, IssueExperiment, get_script_dir from relativescatter import RelativeScatterPlotReport import os def main(revisions=None): exp = IssueExperiment(benchmarks_dir=".", suite=[]) exp.ad...
[ "zaker.mehrdad@gmail.com" ]
zaker.mehrdad@gmail.com
1a1b7696f4ce2e13094a1f79e092e53fcc9eb461
9e988c0dfbea15cd23a3de860cb0c88c3dcdbd97
/sdBs/AllRun/galex_j15376-1702/sdB_galex_j15376-1702_lc.py
e2d309905a69f149eca005da69c193f1c0718906
[]
no_license
tboudreaux/SummerSTScICode
73b2e5839b10c0bf733808f4316d34be91c5a3bd
4dd1ffbb09e0a599257d21872f9d62b5420028b0
refs/heads/master
2021-01-20T18:07:44.723496
2016-08-08T16:49:53
2016-08-08T16:49:53
65,221,159
0
0
null
null
null
null
UTF-8
Python
false
false
358
py
from gPhoton.gAperture import gAperture def main(): gAperture(band="NUV", skypos=[234.417917,-17.037508], stepsz=30., csvfile="/data2/fleming/GPHOTON_OUTPU/LIGHTCURVES/sdBs/sdB_galex_j15376-1702/sdB_galex_j15376-1702_lc.csv", maxgap=1000., overwrite=True, radius=0.00555556, annulus=[0.005972227,0.0103888972], verbose=...
[ "thomas@boudreauxmail.com" ]
thomas@boudreauxmail.com
1ebeccd76c77fb7295b05092f26a7ad953d07807
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2330/60796/280647.py
2ebf0db21d495fb1321ec9d1115f099b73a5cb61
[]
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
2,846
py
import math N=int(input()) ls=[] for i in range(N): ls.append(input().split(",")) ls[i]=[int(x) for x in ls[i]] r=[] for i1 in range(len(ls)-3): for i2 in range(i1+1,len(ls)-2): for i3 in range(i2+1,len(ls)-1): for i4 in range(i3+1,len(ls)): a=ls[i1] b=ls[...
[ "1069583789@qq.com" ]
1069583789@qq.com
61c8435f832d61befe8894c8dbea7b181fd8b002
b26c41926fa3a7c2c061132d80e91a2750f2f468
/tensorflow_probability/python/internal/backend/numpy/gen/linear_operator_adjoint.py
69c51544cf53762799d4572987b1106ebd7474ad
[ "Apache-2.0" ]
permissive
tensorflow/probability
22e679a4a883e408f8ef237cda56e3e3dfa42b17
42a64ba0d9e0973b1707fcd9b8bd8d14b2d4e3e5
refs/heads/main
2023-09-04T02:06:08.174935
2023-08-31T20:30:00
2023-08-31T20:31:33
108,053,674
4,055
1,269
Apache-2.0
2023-09-13T21:49:49
2017-10-23T23:50:54
Jupyter Notebook
UTF-8
Python
false
false
9,797
py
# Copyright 2020 The TensorFlow Probability Authors. All Rights Reserved. # @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ # THIS FILE IS AUTO-GENERATED BY `gen_linear_operators.py`. # DO NOT MODIFY DIRECTLY. # @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
c5971d938e49b66b654a919ac6e2e69b5337945b
a4a754bb5d2b92707c5b0a7a669246079ab73633
/8_kyu/derive.py
6efcdb1118f8b8cb017f87a2a9c1cd42ddd88128
[]
no_license
halfendt/Codewars
f6e0d81d9b10eb5bc66615eeae082adb093c09b3
8fe4ce76824beece0168eb39776a2f9e078f0785
refs/heads/master
2023-07-11T13:58:18.069265
2021-08-15T18:40:49
2021-08-15T18:40:49
259,995,259
1
0
null
null
null
null
UTF-8
Python
false
false
198
py
def derive(coefficient, exponent): """ Take the Derivative Kata https://www.codewars.com/kata/5963c18ecb97be020b0000a2 """ return str(coefficient*exponent)+'x^'+str(exponent - 1)
[ "36609861+halfendt@users.noreply.github.com" ]
36609861+halfendt@users.noreply.github.com
808ac04d8b0105120d3c78e0d0dac9ac656771c7
bbdc377bfe1f94364de4f7edc1cb19942904cb24
/Manifolds2D.py
8e27ee58b4ff17cb0e88be881a86cd8e3c763290
[]
no_license
ctralie/TwistyTakens
e166139f13b25b8a9885dee11b7267017f73dc28
9e1200a1ad9e10b31eb0a32b5073854cacdefcc9
refs/heads/master
2021-03-19T17:34:37.457455
2018-08-28T15:54:22
2018-08-28T15:54:22
93,522,641
1
0
null
null
null
null
UTF-8
Python
false
false
8,285
py
import numpy as np from Utilities import * def getSphereTimeSeries(theta, phi, u, geodesic = False): N = phi.size X = np.zeros((N, 3)) X[:, 0] = np.cos(theta)*np.cos(phi) X[:, 1] = np.sin(theta)*np.cos(phi) X[:, 2] = np.sin(phi) d = X.dot(u) d[d < -1] = -1 d[d > 1] = 1 x = d ...
[ "chris.tralie@gmail.com" ]
chris.tralie@gmail.com
4392d1adcce1c93371a6728ecfff29e616948c28
ec78f8ab63aec0753b9360715a4276a971b78a82
/py/data_analysis/np/matrix.py
2df729d2746c2ba43d2ec102e1595d3cf8c1e176
[]
no_license
anderscui/ml
4ace7e7b8cf248042d224bd54e81b691963b2e0e
39238ba6d802df7e8bf1089ef3605cfc83b333ac
refs/heads/master
2021-06-03T16:09:55.207202
2018-11-01T18:50:49
2018-11-01T18:50:49
23,989,214
0
0
null
null
null
null
UTF-8
Python
false
false
139
py
import numpy as np arr = np.arange(15).reshape((3, 5)) print(arr.T) print(arr.transpose()) print(np.dot(arr.T, arr)) # also swapaxes()
[ "anderscui@gmail.com" ]
anderscui@gmail.com
b2d0fc494e361edacb2c59246242262a3668aa8e
0eaf0d3f0e96a839f2ef37b92d4db5eddf4b5e02
/abc098/a.py
aeece8b578c7feb1792ec03018003d9edab1c62b
[]
no_license
silphire/atcoder
b7b02798a87048757745d99e8564397d1ca20169
f214ef92f13bc5d6b290746d5a94e2faad20d8b0
refs/heads/master
2023-09-03T17:56:30.885166
2023-09-02T14:16:24
2023-09-02T14:16:24
245,110,029
0
0
null
null
null
null
UTF-8
Python
false
false
65
py
a, b = map(int, input().split()) print(max(a + b, a - b, a * b))
[ "silphire@gmail.com" ]
silphire@gmail.com
eb8ca0533b3576c10c7673e10928c10f18803fac
a1ea4bb213801a2f49e9b3d178f402f108d8a803
/AI(BE)/bullseyes/bullseyes/settings.py
0cd8bb3f9a00a7080b4c0388a0e00b09b89ddf1f
[ "MIT" ]
permissive
osamhack2021/AI_WEB_Bullseyes_Bullseyes
537df4c35550917b963442538926c0b4bbef3cd6
ec6aa6ce093e93b5666a0fd5ede28585c27a3590
refs/heads/master
2023-08-18T10:42:24.212460
2021-10-20T02:49:35
2021-10-20T02:49:35
407,145,903
4
2
MIT
2021-10-17T05:23:18
2021-09-16T11:54:11
JavaScript
UTF-8
Python
false
false
4,101
py
""" Django settings for bullseyes project. Generated by 'django-admin startproject' using Django 3.1.2. For more information on this file, see https://docs.djangoproject.com/en/3.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.1/ref/settings/ """ from pathl...
[ "noreply@github.com" ]
osamhack2021.noreply@github.com
391e199af1fa6be6a64f00ab28750cf11324aad2
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02660/s614607751.py
34c48997173930d6f69893b65345505f7e034156
[]
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
334
py
N = int(input()) ans = 0 for i in range(2, N): if i * i > N: break e = 0 while N % i == 0: e += 1 N //= i if e > 0: for j in range(1, 10): if e >= j: e -= j ans += 1 else: break if N > 1: ans += ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
33e87fe2280b584f9fab54d1712d053ca31d4dcd
4d8d542058f91bc2a1fede92a7ebc614b61aed22
/environments/mujoco/rand_param_envs/gym/envs/debugging/__init__.py
ebdd5b7c14979e41c5700c705b69cfaddace0c6c
[ "MIT" ]
permissive
NagisaZj/varibad
9ea940e168fea336457636e33f61400d48a18a27
df7cda81588c62a2a3bee69e4173228701bd7000
refs/heads/master
2023-02-07T15:50:47.912644
2020-12-27T01:51:10
2020-12-27T01:51:10
270,474,411
0
0
NOASSERTION
2020-06-08T00:34:09
2020-06-08T00:34:08
null
UTF-8
Python
false
false
552
py
from environments.mujoco.rand_param_envs.gym.envs.debugging.one_round_deterministic_reward import \ OneRoundDeterministicRewardEnv from environments.mujoco.rand_param_envs.gym.envs.debugging.one_round_nondeterministic_reward import \ OneRoundNondeterministicRewardEnv from environments.mujoco.rand_param_envs.gym...
[ "lmzintgraf@gmail.com" ]
lmzintgraf@gmail.com
42ccabfd89b1d00cd7df7184e283bdbb70020766
41777d4d219ea97b4632f4a8a31ab6c82a60772c
/kubernetes-stubs/config/incluster_config.pyi
79a0d4354db777d9f57fa699d05bd128f72a24d2
[ "Apache-2.0" ]
permissive
gordonbondon/kubernetes-typed
501d9c998c266386dc7f66f522f71ac3ba624d89
82995b008daf551a4fe11660018d9c08c69f9e6e
refs/heads/master
2023-07-18T12:06:04.208540
2021-09-05T19:50:05
2021-09-05T19:50:05
319,183,135
24
2
Apache-2.0
2021-09-05T19:50:06
2020-12-07T02:34:12
Python
UTF-8
Python
false
false
635
pyi
# Code generated by `stubgen`. DO NOT EDIT. from .config_exception import ConfigException as ConfigException from kubernetes.client import Configuration as Configuration from typing import Any SERVICE_HOST_ENV_NAME: str SERVICE_PORT_ENV_NAME: str SERVICE_TOKEN_FILENAME: str SERVICE_CERT_FILENAME: str class InClusterC...
[ "noreply@github.com" ]
gordonbondon.noreply@github.com
e325857a904d0df6ed0627ab009f34fc96c74972
329cc042bb5829ab26a51d0b3a0bd310f05e0671
/main.py
60f84aa47980f4c797b50f2df6697f82314f4908
[]
no_license
bkhoward/WLC-PSK-Change
53afe64e767889ce967679d8aeb798745166fa72
1b92fd1d5afae4bc64bfc61bc4935c635cca12f0
refs/heads/master
2023-03-25T01:33:53.765751
2021-03-11T18:59:03
2021-03-11T18:59:03
345,891,681
0
0
null
null
null
null
UTF-8
Python
false
false
7,263
py
#!/usr/bin/env python # # Author: Brian Howard # Date: 02Feb2021 # Version: 1.0 # Abstract: Create SSH connection to corporate Cisco WLCs and change the PSK used for ONEguest SSID # - Find the WLAN_ID for the ONEguest SSID # - Disable the WLAN_ID for ONEguest # - Modify the e...
[ "bkhoward@live.com" ]
bkhoward@live.com
102450eccb8fcad7b0362df30fb062da3054d97a
779291cb83ec3cab36d8bb66ed46b3afd4907f95
/migration/rnaseq-wf_cleanup.py
7a26326b9cd9e55a223e034fa72a8b9827c72f1c
[]
no_license
Shengqian95/ncbi_remap
ac3258411fda8e9317f3cdf951cc909cc0f1946e
3f2099058bce5d1670a672a69c13efd89d538cd1
refs/heads/master
2023-05-22T06:17:57.900135
2020-11-01T17:16:54
2020-11-01T17:16:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,369
py
import os import re import shutil from pathlib import Path CLEAN_UP = os.environ.get("CLEAN_UP", False) SRR_PATTERN = re.compile(r"^[SED]RR\d+$") TARGETS = [ "../output/rnaseq-wf/aln_stats/{srx}.parquet", "../output/rnaseq-wf/gene_counts/{srx}.parquet", "../output/rnaseq-wf/junction_counts/{srx}.parquet", ...
[ "justin.m.fear@gmail.com" ]
justin.m.fear@gmail.com
9b8e1d93b2f68bc34a67adea4f49a273d934c106
a6b8263a42b96f317b818b3ba7e45bb8cb4458f6
/shipsnake/__main__.py
e0db2bc14affd6ceb307dfe465e53a7f63042a48
[ "MIT" ]
permissive
cole-wilson/test-ship
5002add3b7f84162a064fcc4496f82a512fe4ff3
95f2ff585efd7564e60caad9a4806939923bc525
refs/heads/master
2023-01-30T01:52:55.111219
2020-12-07T05:18:12
2020-12-07T05:18:12
319,211,654
0
0
null
null
null
null
UTF-8
Python
false
false
3,108
py
if __name__ != '__main__': print("Please run shipsnake as script or command, not module.") import toml import os import sys import glob import shutil # mode = sys.argv[1] # mode="upload" version = "" if len(sys.argv) == 1: print("Provide a mode:\n\tshipsnake [wizard | build | dev | upload]") sys.exit(0) mode = sys....
[ "you@example.com" ]
you@example.com
199390424fddb7b89b231c304224800f4fb4fb79
3a1c1373d8f1617485893dea46323c9d07dedc4d
/python_algo/프로그래머스/20210429_다리를 지나는 트럭.py
b1fd3a58b2856feedb64be0b86420485b12daf0c
[]
no_license
GaYoung87/Algorithm
28b95c3eed054454a06a14d1a255ea1d57486b22
59abce98ff14879bc88b72ef2e562ce55dae5335
refs/heads/master
2023-08-31T07:52:31.487648
2023-08-29T15:09:04
2023-08-29T15:09:04
199,405,835
0
0
null
null
null
null
UTF-8
Python
false
false
296
py
def solution(bridge_length, weight, truck_weights): bridge_sum = 0 bridge_count = 0 time = 0 while truck_weights: x = truck_weights[0] if bridge_count <= bridge_length: if bridge_sum + x <= weight: bridge_count += 1 return time
[ "gyyoon4u@naver.com" ]
gyyoon4u@naver.com
b86b6586ed3da7fa83a3a45383ce369cf1633df0
99d436394e47571160340c95d527ecadaae83541
/algorithms_questions/ch17_shortest_path/q39_2.py
841ee2b4be8737f7003f3b85123dcedfc6c83627
[]
no_license
LeeSeok-Jun/Algorithms
b47ba4de5580302e9e2399bcf85d245ebeb1b93d
0e8573bd03c50df3f89dd0ee9eed9cf8716ef8d8
refs/heads/main
2023-03-02T06:47:20.939235
2021-02-08T05:18:24
2021-02-08T05:18:24
299,840,348
0
0
null
null
null
null
UTF-8
Python
false
false
969
py
""" 화성 탐사 - 3회차 """ # 풀이 제한 시간 : 40분 # 2021/01/26 16:06 ~ 16:16 # 정답! import heapq import sys input = sys.stdin.readline dr = [-1, 1, 0, 0] dc = [0, 0, -1, 1] for tc in range(int(input())): n = int(input()) graph = [] for _ in range(n): graph.append(list(map(int, input().split()))) INF = ...
[ "seok9376@gmail.com" ]
seok9376@gmail.com
c45eb5f1c3777c3c501733e0224bf45deaa1c22e
d6589ff7cf647af56938a9598f9e2e674c0ae6b5
/waf-openapi-20190910/setup.py
ecd45e94dd0948313db72333337965dd00c423a0
[ "Apache-2.0" ]
permissive
hazho/alibabacloud-python-sdk
55028a0605b1509941269867a043f8408fa8c296
cddd32154bb8c12e50772fec55429a9a97f3efd9
refs/heads/master
2023-07-01T17:51:57.893326
2021-08-02T08:55:22
2021-08-02T08:55:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,604
py
# -*- coding: utf-8 -*- """ 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 "Li...
[ "sdk-team@alibabacloud.com" ]
sdk-team@alibabacloud.com
c642bda474582d7a38bff7dcb5c49dbe6fc93d0c
0b9470f9a839d87b21fd575421b5223afb4573c6
/07day/01-捕获输入异常.py
676dc64ff5bbe99306b430ca519aeb1cedf9871d
[]
no_license
ZiHaoYa/1808
351356b4fa920a5075899c8abdce24a61502097f
891582547fef4c6fd4fd4132da033e48e069901f
refs/heads/master
2020-03-30T06:20:46.898840
2018-09-29T08:56:53
2018-09-29T08:56:53
147,603,769
0
0
null
null
null
null
UTF-8
Python
false
false
251
py
try: number = int(input("请输入一个")) except Exception as ret: print("输入有误") print(ret) number = input("请输入一个") if number.isdigit(): print("出数字") number = int(number) else: print("输入有误")
[ "qingyuan@geekniu.com" ]
qingyuan@geekniu.com
1d034b6b06e94315ceda06e8a8cc67681b8b3e9e
6a7d8b67aad59c51dafdfb8bcffd53864a3d65b0
/LeetCode/toeplitzMatrix.py
ef8e74f26346b2369d234c7f7ba1f11b002541a5
[]
no_license
dicao425/algorithmExercise
8bba36c1a08a232678e5085d24bac1dbee7e5364
36cb33af758b1d01da35982481a8bbfbee5c2810
refs/heads/master
2021-10-07T08:56:18.030583
2018-12-04T05:59:17
2018-12-04T05:59:17
103,611,760
0
0
null
null
null
null
UTF-8
Python
false
false
451
py
#!/usr/bin/python import sys class Solution(object): def isToeplitzMatrix(self, matrix): """ :type matrix: List[List[int]] :rtype: bool """ m = len(matrix) n = len(matrix[0]) for l in range(m-1): if matrix[l][:n-1] != matrix[l+1][1:]: ...
[ "di.cao425@gmail.com" ]
di.cao425@gmail.com
e8e98afdde5ea6d6625b1b737aa624cfc45ca24c
386a5b505d77c9798aaab78495d0f00c349cf660
/Prognos Project/Working/Latiket Jaronde Git/DJango examples/DynamicUrls/DynamicUrls/urls.py
35264c0f4b24f8a9bef2b8a7b45683a883428d3a
[]
no_license
namratarane20/MachineLearning
2da2c87217618d124fd53f607c20641ba44fb0b7
b561cc74733b655507242cbbf13ea09a2416b9e2
refs/heads/master
2023-01-20T18:54:15.662179
2020-03-09T14:12:44
2020-03-09T14:12:44
237,597,461
0
0
null
2023-01-05T12:37:12
2020-02-01T10:22:20
Python
UTF-8
Python
false
false
801
py
"""DynamicUrls URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.0/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-b...
[ "namrata.ashok@impelsys.com" ]
namrata.ashok@impelsys.com
0a6f6a24a5c718849def667cd7b9fda3075dad7b
62e58c051128baef9452e7e0eb0b5a83367add26
/edifact/D05B/REBORDD05BUN.py
cff49e05af4ddd814da48c06f274ce8bd1247a17
[]
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,871
py
#Generated by bots open source edi translator from UN-docs. from bots.botsconfig import * from edifact import syntax from recordsD05BUN import recorddefs structure = [ {ID: 'UNH', MIN: 1, MAX: 1, LEVEL: [ {ID: 'GEI', MIN: 1, MAX: 6}, {ID: 'NAD', MIN: 1, MAX: 9, LEVEL: [ {ID: 'CTA', MIN: 0, MAX: 1}, ...
[ "jason.capriotti@gmail.com" ]
jason.capriotti@gmail.com
d08dcdc3b0c9dc63dfaf73fa44457a1d7af97a27
65b6e843df4c2e8b9abed79b33be24eba1686fa2
/absence/wsgi.py
2d6983105aada3e12ea2bdcaac1b9b198f064d05
[]
no_license
The-Super-Stack/abs-backend
563fba90b36f45a0bac82aa5ace7c7d079309b09
d9335ec0a9fe9fdfa1d416d8277c11c2ac23cb5a
refs/heads/main
2023-08-14T13:33:05.631317
2021-10-11T06:18:44
2021-10-11T06:18:44
415,801,507
0
0
null
null
null
null
UTF-8
Python
false
false
391
py
""" WSGI config for absence 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/3.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SETTI...
[ "60544749+bintangx1902@users.noreply.github.com" ]
60544749+bintangx1902@users.noreply.github.com
e005b0cdb5dbaf2b1440c37359feb6c7e0913af5
0a0693bed6e81febdee9502ebde4ee1156b105e6
/venv/Scripts/pip-script.py
916f0b6ff9d40eb7462fc7c5097aa1c89d6bf8c5
[]
no_license
laoyouqing/sms_middleground
3755d206bfa9ade24a94f1981cb60c0b393e3767
dbafd3410802135f13e68de43cbc5b0246cb981f
refs/heads/master
2022-12-11T03:52:51.737971
2019-08-21T05:59:55
2019-08-21T05:59:55
203,516,088
0
0
null
2022-12-08T05:20:56
2019-08-21T05:55:43
Python
UTF-8
Python
false
false
392
py
#!E:\sms_middleground\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip' __requires__ = 'pip==19.0.3' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit( ...
[ "lingo.lin@foxmail.com" ]
lingo.lin@foxmail.com
9422d64a7fd3b7c00aadf3fc9f3fb39087611d8b
3c000380cbb7e8deb6abf9c6f3e29e8e89784830
/venv/Lib/site-packages/cobra/modelimpl/qosm/ingrpktshist1qtr.py
52d1c6228888f3285d4b421d6b525367a8d9933a
[]
no_license
bkhoward/aciDOM
91b0406f00da7aac413a81c8db2129b4bfc5497b
f2674456ecb19cf7299ef0c5a0887560b8b315d0
refs/heads/master
2023-03-27T23:37:02.836904
2021-03-26T22:07:54
2021-03-26T22:07:54
351,855,399
0
0
null
null
null
null
UTF-8
Python
false
false
18,745
py
# coding=UTF-8 # ********************************************************************** # Copyright (c) 2013-2020 Cisco Systems, Inc. All rights reserved # written by zen warriors, do not modify! # ********************************************************************** from cobra.mit.meta import ClassMeta from cobra.m...
[ "bkhoward@live.com" ]
bkhoward@live.com
dd84a5790a2a78e6f48019faaa8ff6e1469c0763
1ab7b3f2aa63de8488ce7c466a67d367771aa1f2
/Ricardo_OS/Python_backend/venv/lib/python3.8/site-packages/werkzeug/wrappers/accept.py
9605e637dc682aa6fb376053cb9a80387c566377
[ "MIT" ]
permissive
icl-rocketry/Avionics
9d39aeb11aba11115826fd73357b415026a7adad
95b7a061eabd6f2b607fba79e007186030f02720
refs/heads/master
2022-07-30T07:54:10.642930
2022-07-10T12:19:10
2022-07-10T12:19:10
216,184,670
9
1
MIT
2022-06-27T10:17:06
2019-10-19T09:57:07
C++
UTF-8
Python
false
false
429
py
import typing as t import warnings class AcceptMixin: def __init__(self, *args: t.Any, **kwargs: t.Any) -> None: warnings.warn( "'AcceptMixin' is deprecated and will be removed in" " Werkzeug 2.1. 'Request' now includes the functionality" " directly.", Depre...
[ "kd619@ic.ac.uk" ]
kd619@ic.ac.uk
94f2d43841d6de8c61172de178f2cf83ea40e303
b8a3e758eff2922ff6abc77947d879e3f6d1afa3
/ws_moveit/build/moveit_resources/catkin_generated/pkg.develspace.context.pc.py
1db6f9fe77fc24ca7b6f4cd26bc3b8b329be1584
[]
no_license
rrowlands/ros-baxter-coffee
ab7a496186591e709f88ccfd3b9944428e652f3e
32473c3012b7ec4f91194069303c85844cf1aae7
refs/heads/master
2016-09-05T20:58:20.428241
2013-12-02T23:10:44
2013-12-02T23:10:44
14,313,406
0
1
null
null
null
null
UTF-8
Python
false
false
523
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/home/p/peth8881/robotics/ws_moveit/build/moveit_resources/include".split(';') if "/home/p/peth8881/robotics/ws_moveit/build/moveit_resources/include" != "" else [] PROJECT_CATKIN_DEPENDS = "".replace(...
[ "peth8881@csel-112-02.csel.loc" ]
peth8881@csel-112-02.csel.loc
7617908ed4d5cf7e73e7be822d4dd57e8b9b26c4
6e1549257568a0ca81b3fc5864e2e1fa65171b06
/salarydk/models/inline_object84.py
d01ba31c4e2de0ed3ff37022127b34bb38a3e313
[]
no_license
tdwizard/salarydk
19d3453de8fbdd886a0189dbf232f98de971e18a
dcf5040101b3e576f1068ea104148651e5c66511
refs/heads/master
2023-08-05T05:40:09.561288
2021-09-24T09:41:43
2021-09-24T09:41:43
409,910,180
0
0
null
null
null
null
UTF-8
Python
false
false
9,024
py
# coding: utf-8 """ Salary.dk API This is the public API for Salary.dk. # General Our API is a JSON-based, REST-like API. Our webapp uses the exact same API, so everything you can do in our webapp, you can do through our API. However, we are slowly opening up the API, so not all endpoints are documented her...
[ "tdrobiszewski@tdwizard.com" ]
tdrobiszewski@tdwizard.com
4b2039b2583b2258d2f0fea69a7ad4fcde28256d
46ac0965941d06fde419a6f216db2a653a245dbd
/sdks/python/appcenter_sdk/models/AzureSubscriptionPatchRequest.py
12120015c7f4061d120ebe159a0c58a00ab14fa1
[ "MIT", "Unlicense" ]
permissive
b3nab/appcenter-sdks
11f0bab00d020abb30ee951f7656a3d7ed783eac
bcc19c998b5f648a147f0d6a593dd0324e2ab1ea
refs/heads/master
2022-01-27T15:06:07.202852
2019-05-19T00:12:43
2019-05-19T00:12:43
187,386,747
0
3
MIT
2022-01-22T07:57:59
2019-05-18T17:29:21
Python
UTF-8
Python
false
false
3,336
py
# coding: utf-8 """ App Center Client Microsoft Visual Studio App Center API # noqa: E501 OpenAPI spec version: preview Contact: benedetto.abbenanti@gmail.com Project Repository: https://github.com/b3nab/appcenter-sdks """ import pprint import re # noqa: F401 import six class AzureSubscript...
[ "b3nab@users.noreply.github.com" ]
b3nab@users.noreply.github.com
1d4ebcce0118f05541c3c6d3e01ae58b51dcc55a
9df2fb0bc59ab44f026b0a2f5ef50c72b2fb2ceb
/sdk/paloaltonetworks/azure-mgmt-paloaltonetworksngfw/generated_samples/certificate_object_global_rulestack_delete_maximum_set_gen.py
1f902b1ba35bfded952bc53f1fceaa215a018896
[ "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
1,697
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
openapi-env-test.noreply@github.com
6b3f498770a1dfc3845ef9db19d864e6ef3dbe55
f98a2875e0cdc84341fe8e37b11336368a257fe7
/agents/product.py
a86acbd28d5e0c5f8555128eb791223b5eb52c56
[ "MIT" ]
permissive
anhnguyendepocen/PolicySpace2
eaa83533b7ad599af677ce69353841e665b447d0
d9a450e47651885ed103d3217dbedec484456d07
refs/heads/master
2023-08-28T04:55:40.834445
2021-10-21T18:50:03
2021-10-21T18:50:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
298
py
class Product: def __init__(self, product_id, quantity, price): self.product_id = product_id self.quantity = quantity self.price = price def __repr__(self): return 'Product ID: %d, Quantity: %d, Price: %.1f' % (self.product_id, self.quantity, self.price)
[ "furtadobb@gmail.com" ]
furtadobb@gmail.com
934c1811d723d3bdea5bbf35168370e4e8d8215e
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03145/s047914434.py
5d829eaafb0ffcbf83b9454c4e85b5e4fd118c6a
[]
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
82
py
a,b,c=map(int,input().split()) aa=min(a,b) bb=min(c,max(a,b)) print((aa*bb)//2)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
d8b55cb94184067e2e3d57f95ab20936d5d86e5e
c200119f4180ddc17dcaeb87d8bad6399442a529
/tests/src/miniblog/settings.py
4a49139d88b610ef74757746972a748e912302d5
[]
no_license
marekmalek/django-observer
3f4ae6ba1482f649d4495a95b95d4ec74f8222f2
3b9e4aeaaa9cd4cc4af7a245a185fb18e89e181a
refs/heads/master
2021-01-18T06:59:34.588359
2012-08-31T16:31:25
2012-08-31T16:31:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,009
py
# Django settings for weblog project. import os import sys ROOT=os.path.join(os.path.dirname(__file__), '../../') app_path=os.path.realpath(os.path.join(ROOT, '../')) if app_path not in sys.path: sys.path.insert(0, app_path) DEBUG = True TEMPLATE_DEBUG = DEBUG ADMINS = ( # ('Your Name', 'your_email@example.co...
[ "lambdalisue@hashnote.net" ]
lambdalisue@hashnote.net
cb0fbdb98f51edb323e77ac971a051e4e5dbf795
3cda2dc11e1b7b96641f61a77b3afde4b93ac43f
/test/training_service/config/metrics_test/trial.py
43e3ac1b4d66f7bd96f307c7314cbfb226ab1cdc
[ "MIT" ]
permissive
Eurus-Holmes/nni
6da51c352e721f0241c7fd26fa70a8d7c99ef537
b84d25bec15ece54bf1703b1acb15d9f8919f656
refs/heads/master
2023-08-23T10:45:54.879054
2023-08-07T02:39:54
2023-08-07T02:39:54
163,079,164
3
2
MIT
2023-08-07T12:35:54
2018-12-25T12:04:16
Python
UTF-8
Python
false
false
818
py
# Copyright (c) Microsoft Corporation. # Licensed under the MIT license. import time import json import argparse import nni if __name__ == '__main__': parser = argparse.ArgumentParser() parser.add_argument("--dict_metrics", action='store_true') args = parser.parse_args() if args.dict_metrics: ...
[ "noreply@github.com" ]
Eurus-Holmes.noreply@github.com
b0504f6fbbe712366d92f283d5cbb43334f0bf11
e4cbd82358ba5e8b4d4bacefa054e4ecda2d1517
/config/settings_base.py
622ff272b323de19ec535a9f28658818391172f6
[]
no_license
mziegler/UssdDjangoDemo
a69ca95010443e5925fdf181904da05e9938bcc3
9b29eb562a7832aa6a033daf1bee8d99746ee93b
refs/heads/master
2020-07-21T18:16:40.325034
2017-07-01T00:42:40
2017-07-01T00:42:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,480
py
""" Django settings for djangoUSSD project. Generated by 'django-admin startproject' using Django 1.9.4. For more information on this file, see https://docs.djangoproject.com/en/1.9/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.9/ref/settings/ """ import os...
[ "t.perrier@gmail.com" ]
t.perrier@gmail.com
2d507377a10d3350cc729739daf540151c9c4dc8
2e4169290bf115e62cebe1a51ce1dc1528bc2cd2
/trunk/vlist/vlist.py
703c11e359dcaf87b186f2001be0c4794c72d3e8
[]
no_license
BGCX067/ezwidgets-svn-to-git
6c96bb408369316d395f6c8836b8e7be063ae0d8
2864f45bc3e9d87b940b34d0fa6ce64e712c2df8
refs/heads/master
2021-01-13T09:49:25.511902
2015-12-28T14:19:53
2015-12-28T14:19:53
48,833,330
0
0
null
null
null
null
UTF-8
Python
false
false
4,324
py
#---------------------------------------------------------------------------- # Name: vlist.py # Purpose: virtual list with mix-in ColumnSorter class # # Author: Egor Zindy # # Created: 26-June-2005 # Licence: public domain #---------------------------------------------------------------...
[ "you@example.com" ]
you@example.com
5f7b5a15c9442a8a6d69e574837dd9b9db1641db
329bf886f90cdcc5b083d2ab47c529f5df95767b
/survey/views.py
7a2375bebe6f6c999d7383dd539267dda614e1e5
[]
no_license
leliel12/otree_saral
f4a16073479836df36789a58a311a8dc0e2fd7f5
d4c91e1b9451460a656f270fe9f540bf811a9a32
refs/heads/master
2021-01-10T08:39:39.278589
2015-10-26T00:53:29
2015-10-26T00:53:29
43,258,370
0
0
null
null
null
null
UTF-8
Python
false
false
697
py
# -*- coding: utf-8 -*- from __future__ import division from . import models from ._builtin import Page, WaitPage from otree.common import Currency as c, currency_range from .models import Constants class Question(Page): form_model = models.Player form_fields = ["name", "age", "email", "gender", "...
[ "jbc.develop@gmail.com" ]
jbc.develop@gmail.com
879d3e52d3b63ee8f078a3a5f876d4b96ca5aba3
3dc60bbcb27600ffe7baa4e6187fe2c71bb7b5ab
/Python/to-lower-case.py
ca69091671f3380ba24c1920aca7d39718fe6f48
[ "MIT" ]
permissive
phucle2411/LeetCode
33f3cc69fada711545af4c7366eda5d250625120
ba84c192fb9995dd48ddc6d81c3153488dd3c698
refs/heads/master
2022-01-14T16:49:50.116398
2019-06-12T23:41:29
2019-06-12T23:41:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
203
py
# https://leetcode.com/problems/to-lower-case/submissions/ class Solution: def toLowerCase(self, str): """ :type str: str :rtype: str """ return str.lower()
[ "JaredLGillespie@hotmail.com" ]
JaredLGillespie@hotmail.com
d0cfe89b6ef336648599b637bbfbfa48e759b3f5
19cec240505e27546cb9b10104ecb16cc2454702
/linux/test/python/stat.py
92948f7462ef0f06b81fcd9bffeaa35ac9a7e81c
[]
no_license
imosts/flume
1a9b746c5f080c826c1f316a8008d8ea1b145a89
a17b987c5adaa13befb0fd74ac400c8edbe62ef5
refs/heads/master
2021-01-10T09:43:03.931167
2016-03-09T12:09:53
2016-03-09T12:09:53
53,101,798
0
0
null
null
null
null
UTF-8
Python
false
false
124
py
import flume.flmos as flmo import sys for f in sys.argv[1:] : ls = flmo.stat_file (f) print "%s => %s" % (f, ls)
[ "imosts" ]
imosts
8b6b1b686c656f460928930a4a0b4fa4374f8ad9
18e48f22f88fe80ce54d12fdbf9d05a7ca5bd65a
/0x11-python-network_1/7-error_code.py
ad1698d9aff563aff2ccaec553148dfecf84b193
[]
no_license
SantiagoHerreG/holbertonschool-higher_level_programming
426c4bc9bc080a81b72d2f740c8ed2eb365023eb
ca2612ef3be92a60764d584cf39de3a2ba310f84
refs/heads/master
2020-07-22T19:33:48.507287
2020-02-14T04:34:00
2020-02-14T04:34:00
207,305,022
0
0
null
null
null
null
UTF-8
Python
false
false
342
py
#!/usr/bin/python3 """takes in a URL, sends a request to the URL and displays the body of the response""" import requests import sys if __name__ == "__main__": url = sys.argv[1] res = requests.get(url) if res.status_code == requests.codes.ok: print(res.text) else: print("Error cod...
[ "888@holbertonschool.com" ]
888@holbertonschool.com
a800f9d568a1d7598f3cae018badde0c06ea9409
8578ae5be776b49559fa95ce30f6b45b6a82b73a
/test/functional/p2p_fingerprint.py
0a572d97cfb88494d434474850b03427f50dd5ed
[ "MIT" ]
permissive
devcoin/core
3f9f177bd9d5d2cc54ff95a981cfe88671206ae2
f67e8b058b4316dd491615dc3f8799a45f396f4a
refs/heads/master
2023-05-25T03:42:03.998451
2023-05-24T07:59:22
2023-05-24T08:02:14
21,529,485
16
13
MIT
2022-01-07T17:04:18
2014-07-05T22:42:13
C
UTF-8
Python
false
false
5,061
py
#!/usr/bin/env python3 # Copyright (c) 2017-2020 The Bitcoin Core and Devcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test various fingerprinting protections. If a stale block more than a month old or it...
[ "fernando@develcuy.com" ]
fernando@develcuy.com
1c1dcd8bc185c5981370cc6412b274be30918a26
d2c4934325f5ddd567963e7bd2bdc0673f92bc40
/tests/model_control/detailed/transf_RelativeDifference/model_control_one_enabled_RelativeDifference_PolyTrend_Seasonal_Minute_MLP.py
613e814baf612b7e6b06d1d12091e2333056e4bd
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
jmabry/pyaf
797acdd585842474ff4ae1d9db5606877252d9b8
afbc15a851a2445a7824bf255af612dc429265af
refs/heads/master
2020-03-20T02:14:12.597970
2018-12-17T22:08:11
2018-12-17T22:08:11
137,104,552
0
0
BSD-3-Clause
2018-12-17T22:08:12
2018-06-12T17:15:43
Python
UTF-8
Python
false
false
172
py
import pyaf.tests.model_control.test_ozone_custom_models_enabled as testmod testmod.build_model( ['RelativeDifference'] , ['PolyTrend'] , ['Seasonal_Minute'] , ['MLP'] );
[ "antoine.carme@laposte.net" ]
antoine.carme@laposte.net
59378ed1c249261ad53db470074838f10644f261
3381d3d1b70bd88374e75d90197d0202945bbade
/authentication/views.py
1ea82fb55ee882e019ac000c9ca14bf94b9c33ca
[]
no_license
PHONGLEX/djangorestframework_quizapi
30d5011b67a484a525c94071672f29ed2b0cb700
c9f7b4ebdc00188533a0a5f44c13594011729fa4
refs/heads/master
2023-08-02T00:58:35.647091
2021-10-01T09:17:05
2021-10-01T09:17:05
412,402,225
0
0
null
null
null
null
UTF-8
Python
false
false
5,554
py
import jsonpickle import jwt from rest_framework import generics, status from rest_framework.views import APIView from rest_framework_simplejwt.tokens import RefreshToken from rest_framework.response import Response from rest_framework.permissions import IsAuthenticated from django.contrib import auth from django.uti...
[ "fonglex@gmail.com" ]
fonglex@gmail.com
30d040917850dbfe213295e61066ca08ae2f4ddd
509fc176af52f46ce62f54a6f63c7c27b1bd0c2c
/djangofiltertest/djangofiltertest/apps/posts_areas/api_v1/views.py
d95acb524992ab1ca2a3395a52d48a793ab3f132
[ "MIT" ]
permissive
gonzaloamadio/django-filter-test
8b16fdb989a8141ba5852cd4804148cb6b153e86
7b9dbc36ca248e2113deaac03e824b123a31a4ba
refs/heads/master
2022-12-10T11:35:07.684916
2019-01-24T09:19:21
2019-01-24T09:19:21
167,159,577
0
0
MIT
2022-12-08T01:33:33
2019-01-23T09:54:40
Python
UTF-8
Python
false
false
270
py
from posts_areas.api_v1.serializers import PostAreaSerializer from posts_areas.models import PostArea from djangofiltertest.libs.views import APIViewSet class PostAreaViewSet(APIViewSet): queryset = PostArea.objects.all() serializer_class = PostAreaSerializer
[ "gonzaloamadio@gmail.com" ]
gonzaloamadio@gmail.com
dc90c334f8f9314e070b2c504c81d5c4b72155a3
bc9f66258575dd5c8f36f5ad3d9dfdcb3670897d
/lib/googlecloudsdk/core/util/tokenizer.py
1a403b82516d25b5b6213598941a3ba5f7672ed2
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
google-cloud-sdk-unofficial/google-cloud-sdk
05fbb473d629195f25887fc5bfaa712f2cbc0a24
392abf004b16203030e6efd2f0af24db7c8d669e
refs/heads/master
2023-08-31T05:40:41.317697
2023-08-23T18:23:16
2023-08-23T18:23:16
335,182,594
9
2
NOASSERTION
2022-10-29T20:49:13
2021-02-02T05:47:30
Python
UTF-8
Python
false
false
2,291
py
# -*- coding: utf-8 -*- # # Copyright 2013 Google LLC. 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 requir...
[ "cloudsdk.mirror@gmail.com" ]
cloudsdk.mirror@gmail.com
ea11bf784f41f2baf536fbb111241ab1f1165160
66c7b0da6ee27ddce0943945503cdecf199f77a2
/rllib/util/parameter_decay.py
2df23cd677dcb3091464bf29c075df7a3d8bd9ee
[ "MIT" ]
permissive
tzahishimkin/extended-hucrl
07609f9e9f9436121bcc64ff3190c966183a2cd9
c144aeecba5f35ccfb4ec943d29d7092c0fa20e3
refs/heads/master
2023-07-09T22:57:28.682494
2021-08-24T08:50:16
2021-08-24T08:50:16
383,819,908
0
0
null
null
null
null
UTF-8
Python
false
false
4,056
py
"""Implementation of a Parameter decay class.""" from abc import ABCMeta import torch.jit import torch.nn as nn from rllib.util.neural_networks.utilities import inverse_softplus class ParameterDecay(nn.Module, metaclass=ABCMeta): """Abstract class that implements the decay of a parameter.""" def __init__(...
[ "shi.tzahi@gmail.com" ]
shi.tzahi@gmail.com
8e1f9eeaa8eb59e4b8fd5822047b9e320adc32db
e2c120b55ab149557679e554c1b0c55126e70593
/python/imagej/tests/test_ImgLib2_ImgFactory.py
6b95c5b2582e670492dc615ed54d7090c3ee9152
[]
no_license
acardona/scripts
30e4ca2ac87b9463e594beaecd6da74a791f2c22
72a18b70f9a25619b2dbf33699a7dc1421ad22c6
refs/heads/master
2023-07-27T14:07:37.457914
2023-07-07T23:13:40
2023-07-07T23:14:00
120,363,431
4
5
null
2023-05-02T11:20:49
2018-02-05T21:21:13
Python
UTF-8
Python
false
false
859
py
from net.imglib2.img.array import ArrayImgFactory from net.imglib2.type.numeric.integer import UnsignedByteType, UnsignedShortType from net.imglib2.util import Intervals # An 8-bit 256x256x256 volume img = ArrayImgFactory(UnsignedByteType()).create([256, 256, 256]) # Another image of the same type and dimensions, but...
[ "sapristi@gmail.com" ]
sapristi@gmail.com
89e2d90ba4eedda9c8b3ce40056dde57e0048c0c
e60487a8f5aad5aab16e671dcd00f0e64379961b
/python_stack/Algos/leetcode_30days/max_subarray.py
05464124d8c978cb2d1c61f8ef20653a3b199cf1
[]
no_license
reenadangi/python
4fde31737e5745bc5650d015e3fa4354ce9e87a9
568221ba417dda3be7f2ef1d2f393a7dea6ccb74
refs/heads/master
2021-08-18T08:25:40.774877
2021-03-27T22:20:17
2021-03-27T22:20:17
247,536,946
0
0
null
null
null
null
UTF-8
Python
false
false
1,473
py
# Given an integer array nums, find the contiguous subarray (containing at least one number) which has the largest sum and return its sum. # Example: # Input: [-2,1,-3,4,-1,2,1,-5,4], # Output: 6 # Explanation: [4,-1,2,1] has the largest sum = 6. def findMaxIndex(nums): maxIndex=0 for i in range(1,len(nums)): ...
[ "reena.dangi@gmail.com" ]
reena.dangi@gmail.com
8c4d47286298016368282b45a4cb4e2dc67954f7
f27c49458bde84048e6008da8c52ca0f1ae711ce
/code/07-data-structures/simple_dict/playground.py
b8e36ebaf6c98c36c3e8c2912fe99193322d5f38
[ "MIT" ]
permissive
talkpython/python-for-absolute-beginners-course
54b0f48b5edbf7755de6ca688a8e737ba16dc2fc
1930dab0a91526863dc92c3e05fe3c7ec63480e1
refs/heads/master
2022-11-24T03:02:32.759177
2022-11-08T14:30:08
2022-11-08T14:30:08
225,979,578
2,287
1,059
MIT
2022-11-07T19:45:15
2019-12-05T00:02:31
Python
UTF-8
Python
false
false
547
py
# Data structures # 1. Dictionaries # 2. Lists / arrays [1,1,7,11] # 3. Sets # Lists lst = [1, 1, 11, 7] print(lst) lst.append(2) print(lst) lst.remove(11) print(lst) lst.sort() print(lst) # Sets: st = {1, 1, 11, 7} st.add(1) st.add(1) st.add(11) print(st) # Dictionaries d = { 'bob': 0, 'sarah': 0, 'defe...
[ "mikeckennedy@gmail.com" ]
mikeckennedy@gmail.com
8dc61e64bb66988a363127243cb1b02813e86140
a6a78f59f442c18449befc89be2b193e37b695d6
/ivi/rigol/rigolDP800.py
fd988186043295e67c8db82281a56f6215da0aef
[ "MIT" ]
permissive
hohe/python-ivi
fa0b4b1232f4fca92bd046d2ae322e49959f8a83
0fe6d7d5aaf9ebc97085f73e25b0f3051ba996b6
refs/heads/master
2021-01-21T08:55:35.470107
2013-12-23T09:27:02
2013-12-23T09:27:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,380
py
""" Python Interchangeable Virtual Instrument Library Copyright (c) 2012 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 righ...
[ "alex@alexforencich.com" ]
alex@alexforencich.com
3efb3fa0f33c9db9e23e81ccddbd12529703f1e8
ddb8c14775dfbe9424691dabf1617273d118d317
/catkin_ws/build/msg_check/catkin_generated/pkg.installspace.context.pc.py
d23c59c9aa6dcd0265af7cbe01246235712f19cc
[]
no_license
rishabhdevyadav/fastplanneroctomap
e8458aeb1f2d3b126d27dc57011c87ae4567687a
de9d7e49cb1004f3b01b7269dd398cf264ed92b4
refs/heads/main
2023-05-12T22:12:27.865900
2021-05-26T19:25:31
2021-05-26T19:25:31
356,674,577
0
0
null
null
null
null
UTF-8
Python
false
false
542
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "${prefix}/include;/usr/include/eigen3".split(';') if "${prefix}/include;/usr/include/eigen3" != "" else [] PROJECT_CATKIN_DEPENDS = "geometry_msgs;mav_msgs;nav_msgs;roscpp;rospy;sensor_msgs;message_run...
[ "rishabhdevyadav95@gmail.com" ]
rishabhdevyadav95@gmail.com
0e02e78b9bd8be2a809d040cede78b8f52514e05
3b84c4b7b16ccfd0154f8dcb75ddbbb6636373be
/google-cloud-sdk/lib/googlecloudsdk/third_party/apis/cloudfunctions/v2beta/cloudfunctions_v2beta_client.py
fcd7b507b5f649128645efa4b619ae74c347b2c0
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
twistedpair/google-cloud-sdk
37f04872cf1ab9c9ce5ec692d2201a93679827e3
1f9b424c40a87b46656fc9f5e2e9c81895c7e614
refs/heads/master
2023-08-18T18:42:59.622485
2023-08-15T00:00:00
2023-08-15T12:14:05
116,506,777
58
24
null
2022-02-14T22:01:53
2018-01-06T18:40:35
Python
UTF-8
Python
false
false
21,995
py
"""Generated client library for cloudfunctions version v2beta.""" # NOTE: This file is autogenerated and should not be edited by hand. from __future__ import absolute_import from apitools.base.py import base_api from googlecloudsdk.third_party.apis.cloudfunctions.v2beta import cloudfunctions_v2beta_messages as messag...
[ "gcloud@google.com" ]
gcloud@google.com
bd0443ac664d583b35f574b914b7d097a427430c
e5897d5b5eb3b018bec8703f01cfc666acea5b38
/isy994/items/variables/variable_state.py
9ff4bd1fca3dd2830528fb6ce10c205ddf9ea290
[ "MIT" ]
permissive
mjcumming/ISY994v5
5de41ce7e12be44c35dc0818daf639bb8c0e5487
928d8359fd15363e15b8daa402fbb1f5f53f3c45
refs/heads/master
2022-05-19T06:10:59.788621
2022-05-08T13:16:29
2022-05-08T13:16:29
187,289,265
4
10
MIT
2021-06-26T13:34:23
2019-05-17T22:36:55
Python
UTF-8
Python
false
false
219
py
#! /usr/bin/env python from .variable_base import Variable_Base class Variable_State(Variable_Base): def __init__(self, container, variable_info): Variable_Base.__init__(self, container, variable_info)
[ "mike@4831.com" ]
mike@4831.com
1e547431f1304fab875e263c577d86e91b92a9ce
747f759311d404af31c0f80029e88098193f6269
/addons/base_partner_surname/partner.py
254932e02e9d5fd896883ede6d5d21855b6e91c1
[]
no_license
sgeerish/sirr_production
9b0d0f7804a928c0c582ddb4ccb7fcc084469a18
1081f3a5ff8864a31b2dcd89406fac076a908e78
refs/heads/master
2020-05-19T07:21:37.047958
2013-09-15T13:03:36
2013-09-15T13:03:36
9,648,444
0
1
null
null
null
null
UTF-8
Python
false
false
69
py
/home/openerp/production/extra-addons/base_partner_surname/partner.py
[ "geerish@omerp.net" ]
geerish@omerp.net
70964f54b2c252bf34810cb4b378fc77f351ef7d
ccf94dcb6b1500fcbbd56964ae8c4832a496b8b3
/python/baiduads-sdk-auto/baiduads/dpacreative/model/bat_set_range_response_wrapper_body.py
bf3a52bf83e136d4770a30049ef79667567a1bfd
[ "Apache-2.0" ]
permissive
baidu/baiduads-sdk
24c36b5cf3da9362ec5c8ecd417ff280421198ff
176363de5e8a4e98aaca039e4300703c3964c1c7
refs/heads/main
2023-06-08T15:40:24.787863
2023-05-20T03:40:51
2023-05-20T03:40:51
446,718,177
16
11
Apache-2.0
2023-06-02T05:19:40
2022-01-11T07:23:17
Python
UTF-8
Python
false
false
10,962
py
""" dev2 api schema 'dev2.baidu.com' api schema # noqa: E501 Generated by: https://openapi-generator.tech """ import re # noqa: F401 import sys # noqa: F401 from baiduads.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, ModelSimple, cached_property, ch...
[ "jiangyuan04@baidu.com" ]
jiangyuan04@baidu.com
b59641920ce0787bdda82226455c999d8bfa5e60
23b3c698412f71a2878ae586f5599f2b6e38c980
/source-code/bokeh/ising.py
1dab727e38f3966bbe674a61422b703eec89d4d9
[ "CC-BY-4.0" ]
permissive
gjbex/Scientific-Python
9b7ae7b3398cc9358d1f530ca24243b63f3c01f0
02d24e6e22cfbc5b73429a2184ecbdfcd514c8fc
refs/heads/master
2023-08-17T10:17:39.963630
2023-05-12T14:51:32
2023-05-12T14:51:32
221,184,612
13
13
CC-BY-4.0
2023-08-03T08:04:57
2019-11-12T09:55:27
Jupyter Notebook
UTF-8
Python
false
false
964
py
#!/usr/bin/env python from argparse import ArgumentParser from bokeh.layouts import column from bokeh.models import CustomJS, ColumnDataSource, Slider from bokeh.plotting import curdoc, figure import numpy as np x = np.linspace(-3.0, 3.0, 301) y = x.copy() default_beta = 4.0 y_tanh = np.tanh(default_beta*x) source ...
[ "geertjan.bex@uhasselt.be" ]
geertjan.bex@uhasselt.be
94ad119004a4fd0ddd961a8ed9e3b31bb811fd1a
1b7f4cd39bf7e4a2cf667ac13244e5138ee86cb2
/agents/game/human_agent.py
b04040eb7f8fea24819cc7ddc959c01950f3bda1
[ "MIT" ]
permissive
cjreynol/willsmith
02f793003a914a21b181839bbd58108046f312d6
39d3b8caef8ba5825f3a0272c7fd61a2f78ef2b5
refs/heads/master
2020-07-15T13:25:57.613707
2018-06-12T00:18:19
2018-06-12T00:18:19
205,572,039
0
0
null
null
null
null
UTF-8
Python
false
false
1,390
py
from agents.displays.human_display import HumanDisplay from willsmith.game_agent import GameAgent class HumanAgent(GameAgent): """ Agent that relies on user input to make action choices. It relies on its action_prompt attribute, set externally by the simulator, to provide the proper prompts and to c...
[ "cjreynol13@aol.com" ]
cjreynol13@aol.com
70f4e03aa8a2930c56a4ec84979dc5bb1e836e28
745a605d52556d5195b7cdbf871fc1011b2dc9cd
/backend/mete/models.py
92b2828ee3753d37d2fa5baa61d5d362342dc181
[]
no_license
annikahannig/meteme
96a6b919fbdac20bef7e13e1d101130cd1805b7b
16ca646904a31833e8d1156be8f554e11ff0d37a
refs/heads/master
2021-06-25T05:34:23.517379
2017-05-09T20:33:54
2017-05-09T20:33:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,526
py
from __future__ import unicode_literals from collections import OrderedDict from django.db import models from django.conf import settings from djmoney.models.fields import MoneyField from moneyed import Money from solo.models import SingletonModel from store import models as store_models from unidecode import unid...
[ "matthias@hannig.cc" ]
matthias@hannig.cc
f0701b76e300b53794a20d383a41472054a14abe
c459f4dd7b198ec8d8db8379726a5b2650be6636
/regis/apps.py
b08ff1b7229ca929d911653fbb1a9cf748bcef33
[]
no_license
jittat/admapp
4c712182cd06e82efab6c2513fb865e5d00feae8
38bf299015ae423b4551f6b1206742ee176b8b77
refs/heads/master
2023-06-10T03:23:41.174264
2023-06-09T19:41:03
2023-06-09T19:41:03
101,953,724
10
4
null
2023-04-21T22:48:55
2017-08-31T03:12:04
Python
UTF-8
Python
false
false
85
py
from django.apps import AppConfig class RegisConfig(AppConfig): name = 'regis'
[ "jittat@gmail.com" ]
jittat@gmail.com
5cf9e4839963c2c5dace99204f707d7e8424f061
14c5bd382ac9ffbfa4ae34f244bca6685f3cd18c
/apps/geotracker/models.py
d3eff90a8929fa59880c39ed709ce3692949a42b
[]
no_license
redhog/arwen
e8705e978588163554c83e3278297506c1ffb2ce
342daa97a72c0776d4dfe27196adfe66d4dff63c
refs/heads/master
2021-01-17T13:08:09.392613
2011-08-26T09:21:40
2011-08-26T09:21:40
2,084,644
1
0
null
null
null
null
UTF-8
Python
false
false
4,235
py
# -*- coding: utf-8 -*- import django.contrib.auth.models from django.utils.translation import ugettext_lazy as _ import django.contrib.gis.db.models import geotracker.geos import linkableobject.models class Vehicle(django.contrib.gis.db.models.Model, linkableobject.models.LinkableModelMixin): objects = django.con...
[ "egil.moller@freecode.no" ]
egil.moller@freecode.no
e1516bbfce063e8d56341ca439e8cf70dfc77eed
2b5fd9d436a97726f852a12bab58b8d367f4866a
/api/urls.py
2a552766f2d17ea023c0ec9ea230e41593ce2a2f
[]
no_license
lxlzyf/roe
07ff551b142c0411acb7ca6f759ea98b40ad9b72
2d7f1b01e2456875d14a75c90d8397965215bcd3
refs/heads/master
2020-03-27T06:00:43.587235
2018-08-20T10:47:47
2018-08-20T10:47:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
322
py
from django.conf.urls import url from api.views import user_api urlpatterns = [ url(r'^group/$', assets_api.group_list), url(r'^group/(?P<id>[0-9]+)/$',assets_api.group_detail), url(r'^user/$', user_api.user_list), url(r'^user/(?P<id>[0-9]+)/$',user_api.user_detail),...
[ "flc009@163.com" ]
flc009@163.com
22126b447591b464ad5a6d753bb645c15ea5ed06
531f8027890188eb037a9dbe68d63882eb2e0ead
/demos/ebeam/flash/flash_mismatch.py
77b5f709db45ef41f935bc5ad434b0e1d972c21e
[]
no_license
Cartj/desy
057947dd5e3e4fce085472dc145461cea68be8e9
9a1f12e7cf7040e28614e95dc5c49bc10d36b092
refs/heads/master
2020-03-21T06:01:54.315274
2016-08-16T13:04:56
2016-08-16T13:04:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,823
py
__author__ = 'Sergey Tomin' from ocelot import * from ocelot.gui import * from pylab import * exec( open("lattice_FLASH_S2E.py" )) beam = Beam() beam.E = 148.3148e-3 #in GeV ?! beam.beta_x = 14.8821 beam.beta_y = 18.8146 beam.alpha_x = -0.61309 beam.alpha_y = -0.54569 beam.emit_xn = 1.5e-6 beam.emit_yn = 1.5e-6 be...
[ "tomin.sergey@gmail.com" ]
tomin.sergey@gmail.com
4778c6986b6120a7ef560780ffc43c77d358ed22
4c9580b2e09e2b000e27a1c9021b12cf2747f56a
/chapter13/xiaoyu_mall/xiaoyu_mall/apps/areas/migrations/0001_initial.py
079ebb7f05049decffb2551a21f8dbc383e69e82
[]
no_license
jzplyy/xiaoyue_mall
69072c0657a6878a4cf799b8c8218cc7d88c8d12
4f9353d6857d1bd7dc54151ca8b34dcb4671b8dc
refs/heads/master
2023-06-26T02:48:03.103635
2021-07-22T15:51:07
2021-07-22T15:51:07
388,514,311
1
0
null
null
null
null
UTF-8
Python
false
false
930
py
# Generated by Django 2.2.3 on 2019-11-15 06:09 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Area', fie...
[ "jzplyy@126.com" ]
jzplyy@126.com
aaa181dee0af914a8a8cbeccec8f6850df142d4a
93713f46f16f1e29b725f263da164fed24ebf8a8
/Library/lib/python3.7/site-packages/docutils/writers/html4css1/__init__.py
f87a1055b0c23f9253762d020667a7431458732a
[ "BSD-3-Clause" ]
permissive
holzschu/Carnets
b83d15136d25db640cea023abb5c280b26a9620e
1ad7ec05fb1e3676ac879585296c513c3ee50ef9
refs/heads/master
2023-02-20T12:05:14.980685
2023-02-13T15:59:23
2023-02-13T15:59:23
167,671,526
541
36
BSD-3-Clause
2022-11-29T03:08:22
2019-01-26T09:26:46
Python
UTF-8
Python
false
false
33,869
py
# $Id: __init__.py 8035 2017-02-13 22:01:47Z milde $ # Author: David Goodger # Maintainer: docutils-develop@lists.sourceforge.net # Copyright: This module has been placed in the public domain. """ Simple HyperText Markup Language document tree Writer. The output conforms to the XHTML version 1.0 Transitional DTD (*al...
[ "nicolas.holzschuch@inria.fr" ]
nicolas.holzschuch@inria.fr
c5e60a89ed2a73c9c155f1c67d66ad55d13bc4ba
cd486d096d2c92751557f4a97a4ba81a9e6efebd
/17/addons/plugin.video.ukturk/resources/lib/scraper2.py
0c1a6e03d1453afd6847bd928d43d611c2b92671
[]
no_license
bopopescu/firestick-loader-kodi-data
2f8cb72b9da67854b64aa76f720bdad6d4112926
e4d7931d8f62c94f586786cd8580108b68d3aa40
refs/heads/master
2022-04-28T11:14:10.452251
2020-05-01T03:12:13
2020-05-01T03:12:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,184
py
# coding: UTF-8 import sys l111ll1llUK_Turk_No1 = sys.version_info [0] == 2 l11l1l11lUK_Turk_No1 = 2048 l111llll1UK_Turk_No1 = 7 def l11l1lUK_Turk_No1 (l1llll1lUK_Turk_No1): global l1l1ll1llUK_Turk_No1 l11lllll1UK_Turk_No1 = ord (l1llll1lUK_Turk_No1 [-1]) l11l111llUK_Turk_No1 = l1llll1lUK_Turk_No1 [:-1] ...
[ "esc0rtd3w@gmail.com" ]
esc0rtd3w@gmail.com
94ed5e380f49bf3d497d587c95ec1d3ec6e65bad
dcbedd4c06aa0cf78cf1d881a61f2a0cdb06005a
/(Keras) IMDB Dataset.py
756f84210ce7f7a14cdf371a8ffa4145def4e726
[]
no_license
KevinHooah/recurrent-dropout-experiments
064243f403687a7e063a6464ce015d282a8a0dfb
96b2aa2478fb46a252251c0b49354a2de40c7684
refs/heads/master
2020-08-29T23:43:01.440740
2019-08-07T03:43:23
2019-08-07T03:43:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,816
py
# coding: utf-8 # # (Keras) IMDB Dataset # In[1]: import numpy as np from tensorflow.contrib.keras.python.keras.optimizers import SGD, RMSprop, Adagrad from tensorflow.contrib.keras.python.keras.models import Sequential from tensorflow.contrib.keras.python.keras.layers.core import Dense, Dropout from tensorflow.co...
[ "shuanck@gmail.com" ]
shuanck@gmail.com
de9cdc221b466b438e56e604d354af8db1542009
3109aaf72df47f11742aca1c5921f71e03eb9917
/controls/views.py
17269ee089a01d4a2c5d8d45186ee3903ba26d07
[ "MIT" ]
permissive
kofi-teddy/accounts
a225f5639ef8993934fe69ec638d2af19d854c2d
74633ce4038806222048d85ef9dfe97a957a6a71
refs/heads/master
2023-02-19T15:10:20.621628
2021-01-23T10:30:27
2021-01-23T10:30:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,867
py
import re from functools import reduce from itertools import chain, groupby from accountancy.mixins import (ResponsivePaginationMixin, SingleObjectAuditDetailViewMixin) from django.conf import settings from django.contrib.auth import update_session_auth_hash from django.contrib.auth.mix...
[ "rossm6@googlemail.com" ]
rossm6@googlemail.com
4aafe1f881c5b33b219068a5220f67354a33717f
c72252f96a1021ba3f9b812020b74bda258bf465
/S12学习/day3/code/configfile.py
8a00a0bc88d4cfb073f70be09115f0b43d8c233f
[]
no_license
yzwy1988/cloud
0251af05b8cc2a8fffdc6f739a01ba9383353dc5
6e87f26497072f41b20c1b0696e5605a52987c50
refs/heads/master
2021-01-17T22:19:52.327370
2016-02-22T10:34:59
2016-02-22T10:34:59
52,455,959
2
0
null
2016-02-24T16:14:50
2016-02-24T16:14:49
null
UTF-8
Python
false
false
1,267
py
# /usr/bin/env python # -*- coding:utf-8 -*- # startswith 是否以某个字段开头的 import json def check(backend): check_list = [] flag = False with open('back', 'r') as f: for line in f: if line.startswith('backend'): if backend == line.strip().split()[1]: # strip 换行,split 去掉空格 ...
[ "80470335@qq.com" ]
80470335@qq.com
f9edc8d9a223c008a70ef3224c3054621286d518
12258001571bd504223fbf4587870960fa93a46d
/client/config.py
a629d5d3999e56e775ec3430d476a68ae01ea7a4
[]
no_license
Nik0las1984/mud-obj
0bd71e71855a9b0f0d3244dec2c877bd212cdbd2
5d74280724ff6c6ac1b2d3a7c86b382e512ecf4d
refs/heads/master
2023-01-07T04:12:33.472377
2019-10-11T09:10:14
2019-10-11T09:10:14
69,223,190
2
0
null
2022-12-26T20:15:20
2016-09-26T07:11:49
Python
UTF-8
Python
false
false
190
py
# coding=utf-8 auto_login = False try: from local_config import * except ImportError, e: print 'Unable to load local_config.py:', e if 'plugins' not in locals(): plugins = []
[ "kolya.khokhlov@gmail.com" ]
kolya.khokhlov@gmail.com
6d7330abeb85dd4954ae55bd45295a5be17a49bd
fffb732290af97687ea3221ce4a6ce4d95640aff
/courses/w10_opencv/source/OpenCV_in_Ubuntu/Python/mycam_02.py
a69e21c219e5ed6a45cf86fad76f32c973c641fb
[]
no_license
NamWoo/self_driving_car
851de73ae909639e03756eea4d49ab663447fc19
cd5c1142c9e543e607ca9dc258f689de6879d207
refs/heads/master
2021-07-24T19:51:54.459485
2021-07-06T13:58:19
2021-07-06T13:58:19
186,267,543
9
7
null
null
null
null
UTF-8
Python
false
false
493
py
import numpy as np import cv2 def receive(): cap = cv2.VideoCapture('udpsrc port=5200 caps=application/x-rtp,media=(string)video,clock-rate=(int)90000,encoding-name=(string)H264,payload=(int)96!rtph264depay!decodebin!videoconvert!appsink',cv2.CAP_GSTREAMER) while True: ret,frame = cap.read() if not ...
[ "pre3ice@gmail.com" ]
pre3ice@gmail.com
da183faec87314655b87ce430d6c703df9991366
4ef688b93866285bcc27e36add76dc8d4a968387
/moto/ds/responses.py
46d204c1e27ec3b9a35fcf38df9cfb7e7319d764
[ "Apache-2.0" ]
permissive
localstack/moto
cec77352df216cac99d5e0a82d7ada933950a0e6
b0b2947e98e05d913d7ee2a0379c1bec73f7d0ff
refs/heads/localstack
2023-09-01T05:18:16.680470
2023-07-10T09:00:26
2023-08-07T14:10:06
118,838,444
22
42
Apache-2.0
2023-09-07T02:07:17
2018-01-25T00:10:03
Python
UTF-8
Python
false
false
6,529
py
"""Handles Directory Service requests, invokes methods, returns responses.""" import json from moto.core.exceptions import InvalidToken from moto.core.responses import BaseResponse from moto.ds.exceptions import InvalidNextTokenException from moto.ds.models import ds_backends, DirectoryServiceBackend class Directory...
[ "noreply@github.com" ]
localstack.noreply@github.com
49919addd199e8a7aff5d7ceb03465d0ee8fa6c8
3da6b8a0c049a403374e787149d9523012a1f0fc
/网易云课堂/Python办公自动化实战/01_开启自动化人生/batch_docs.py
d407f2929fd181400dee176ff02cc8571a3889b9
[]
no_license
AndersonHJB/PyCharm_Coder
d65250d943e84b523f022f65ef74b13e7c5bc348
32f2866f68cc3a391795247d6aba69a7156e6196
refs/heads/master
2022-07-25T11:43:58.057376
2021-08-03T02:50:01
2021-08-03T02:50:01
348,922,058
3
3
null
2021-09-05T02:20:10
2021-03-18T02:57:16
Python
UTF-8
Python
false
false
790
py
# -*- coding: utf-8 -*- # @Time : 2021/5/6 8:22 下午 # @Author : AI悦创 # @FileName: batch_docs.py.py # @Software: PyCharm # @Blog :http://www.aiyc.top # @公众号 :AI悦创 from docx import Document # 创建文档 from docx.oxml.ns import qn # 中文 from docx.enum.text import WD_PARAGRAPH_ALIGNMENT # 段落 from docx.shared import Pt...
[ "1432803776@qq.com" ]
1432803776@qq.com
142d52ca9c1eefcf1920bcf440428ffc4f039da6
e9c9e38ed91969df78bbd7f9ca2a0fdb264d8ddb
/lib/python3.8/site-packages/ansible_collections/fortinet/fortimanager/plugins/modules/fmgr_fsp_vlan_dynamicmapping_interface_ipv6_ip6prefixlist.py
92edc1ea33c0ac79f071983a1fb2e9e4be4ab7a5
[]
no_license
Arceusir/PRELIM_SKILLS_EXAM
882fcf2868926f0bbfe1fb18d50e5fe165936c02
b685c5b28d058f59de2875c7579739c545df2e0c
refs/heads/master
2023-08-15T07:30:42.303283
2021-10-09T01:27:19
2021-10-09T01:27:19
415,167,192
0
0
null
null
null
null
UTF-8
Python
false
false
13,077
py
#!/usr/bin/python from __future__ import absolute_import, division, print_function # Copyright 2019-2021 Fortinet, Inc. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the ...
[ "aaronchristopher.dalmacio@gmail.com" ]
aaronchristopher.dalmacio@gmail.com
1babf3615721b1fdb611c2f462dddbe3f692de44
24fe1f54fee3a3df952ca26cce839cc18124357a
/servicegraph/lib/python2.7/site-packages/acimodel-4.0_3d-py2.7.egg/cobra/modelimpl/proc/procmemhist1d.py
be140757889fe189e82b006962eee9f8a0791f1e
[]
no_license
aperiyed/servicegraph-cloudcenter
4b8dc9e776f6814cf07fe966fbd4a3481d0f45ff
9eb7975f2f6835e1c0528563a771526896306392
refs/heads/master
2023-05-10T17:27:18.022381
2020-01-20T09:18:28
2020-01-20T09:18:28
235,065,676
0
0
null
2023-05-01T21:19:14
2020-01-20T09:36:37
Python
UTF-8
Python
false
false
16,922
py
# coding=UTF-8 # ********************************************************************** # Copyright (c) 2013-2019 Cisco Systems, Inc. All rights reserved # written by zen warriors, do not modify! # ********************************************************************** from cobra.mit.meta import ClassMeta from cobra.m...
[ "rrishike@cisco.com" ]
rrishike@cisco.com
4426687fcdb98f8446d4f07841bc72249015469b
5173c3e3956387a3f2ae8fcf4aed7c7a600dac78
/Programmers/Programmers_입국심사.py
0b401b3a4fa57dd39d85c7899098df041a3e441f
[]
no_license
ma0723/Min_Algorithm
df75f53f6e89b7817d4b52d686effb8236a4ddac
b02d1043008cb32e22daa9d4207b9a45f111d66f
refs/heads/master
2023-07-25T11:00:15.397093
2021-08-30T02:08:05
2021-08-30T02:08:05
375,613,927
1
0
null
null
null
null
UTF-8
Python
false
false
892
py
def solution(n, times): # 입국심사를 기다리는 사람 수 n # 한 명을 심사하는데 걸리는 시간이 담긴 배열 times answer = 0 left = 1 # 최소 시간 right = n * max(times) # 최대 시간 while left <= right: mid = (left + right) // 2 people = 0 for time in times: people += mid // time # ...
[ "ma0723@naver.com" ]
ma0723@naver.com
fc4ee268dd12250989e2ef7da583d9b11063e8d7
9d0195aa83cc594a8c61f334b90375961e62d4fe
/JTTest/SL7/CMSSW_10_2_15/src/dataRunA/nano3249.py
502f170e217ed9f5f27e6f70e1ca274e34def381
[]
no_license
rsk146/CMS
4e49592fc64f6438051544c5de18598db36ed985
5f8dab8c59ae556598b9747b52b88205fffc4dbe
refs/heads/master
2022-12-01T03:57:12.126113
2020-08-04T03:29:27
2020-08-04T03:29:27
284,863,383
0
0
null
null
null
null
UTF-8
Python
false
false
4,293
py
# Auto generated configuration file # using: # Revision: 1.19 # Source: /local/reps/CMSSW/CMSSW/Configuration/Applications/python/ConfigBuilder.py,v # with command line options: nanoAOD_jetToolbox_cff -s NANO --data --eventcontent NANOAOD --datatier NANOAOD --no_exec --conditions 102X_dataRun2_Sep2018Rereco_v1 --era...
[ "rsk146@scarletmail.rutgers.edu" ]
rsk146@scarletmail.rutgers.edu
862acd6512fcd275ad31407a805f4042dc0f7f1a
711756b796d68035dc6a39060515200d1d37a274
/output_cog/optimized_3055.py
d3ddd7faf2f926afa7c10c6d1e6b93350df9ca44
[]
no_license
batxes/exocyst_scripts
8b109c279c93dd68c1d55ed64ad3cca93e3c95ca
a6c487d5053b9b67db22c59865e4ef2417e53030
refs/heads/master
2020-06-16T20:16:24.840725
2016-11-30T16:23:16
2016-11-30T16:23:16
75,075,164
0
0
null
null
null
null
UTF-8
Python
false
false
10,838
py
import _surface import chimera try: import chimera.runCommand except: pass from VolumePath import markerset as ms try: from VolumePath import Marker_Set, Link new_marker_set=Marker_Set except: from VolumePath import volume_path_dialog d= volume_path_dialog(True) new_marker_set= d.new_marker_set marker_set...
[ "batxes@gmail.com" ]
batxes@gmail.com
702760dacc77f2e65aaed171a0998dfd7602a7b9
3cf21d46cc8213614f5edfe4ebb09df112e5bf44
/tools/asset_aggregator/name_check.py
788a6e9eadc9bae3dc73c59a19e06448f19fd6e7
[ "BSD-3-Clause" ]
permissive
toro09/rotki
abbf06c63bf0191b8a381bad05534bf8541cf212
014e7e11521b81c89b5cd2b4082d197da26684ee
refs/heads/master
2022-12-01T19:09:08.409018
2020-08-11T19:34:54
2020-08-11T19:34:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,883
py
import sys from typing import Any, Dict from asset_aggregator.utils import choose_multiple # For assets we support but no API has names for. We manually input the names then. MANUALLY_CHECKED_NAMES = { 'ADADOWN': 'Binance leveraged token ADADOWN', 'ADAUP': 'Binance leveraged token ADAUP', 'BTCDOWN': 'Bina...
[ "lefteris@refu.co" ]
lefteris@refu.co
0b7d6236b66a636e6778572bde8454fb0fa408ca
242086b8c6a39cbc7af3bd7f2fd9b78a66567024
/python/PP4E-Examples-1.4/Examples/PP4E/Dstruct/Classics/permcomb.py
f6e244e89732645613fef830391f1e2f9dd60db6
[]
no_license
chuzui/algorithm
7537d0aa051ac4cbe9f6a7ca9a3037204803a650
c3006b24c4896c1242d3ceab43ace995c94f10c8
refs/heads/master
2021-01-10T13:05:30.902020
2015-09-27T14:39:02
2015-09-27T14:39:02
8,404,397
4
4
null
null
null
null
UTF-8
Python
false
false
1,516
py
"permutation-type operations for sequences" def permute(list): if not list: # shuffle any sequence return [list] # empty sequence else: res = [] for i in range(len(list)): rest = list[:i] + list[i+1:] ...
[ "zui" ]
zui
39695f540bade7e05ff8fa960c71d068109b1dda
2dd0bf6e8542b560c2e3567f8793b561cb0678b0
/code/src/main/python/misconceptions/syntactics/grammar/R.py
4c300cb4f55146b42613854ab34bcb255fe58cbf
[ "Unlicense" ]
permissive
Eduardo95/COSAL
021f01cfa86e656c3fe320159c8d25ca5b6f311d
4eb95d286288aa25a1a90db40cb1998dad048e1b
refs/heads/master
2023-06-17T08:19:37.925879
2021-07-12T16:24:06
2021-07-12T16:24:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,354
py
import sys import os sys.path.append(os.path.abspath(".")) sys.dont_write_bytecode = True __author__ = "COSAL" from lark import Lark R_GRAMMAR = """ start: value (ASSIGNMENT_OPERATOR value)? // expr: value ( indexer | value | attribute)+ binary_expr: value BINARY_OPERATOR value unary_expr: UNARY_OPERATOR va...
[ "george.meg91@gmail.com" ]
george.meg91@gmail.com
2718c3441138bf66c7e26a309ed95597a6632432
19375a18719e44eee7c596e72ef8915d3fcbff92
/day07_spider/06_qq.py
e29058c5d79b1d50650db9c34bab04e364ccb3bd
[]
no_license
J-shan0903/AID1912
6c617fa26751c31ff05a63050a320122e3ca044e
0797f3d8ef0e96b8eb6908dffbec8193c9614973
refs/heads/master
2021-03-23T12:21:32.480026
2020-05-23T08:36:21
2020-05-23T08:36:21
247,452,309
0
0
null
null
null
null
UTF-8
Python
false
false
303
py
from selenium import webdriver driver = webdriver.Chrome() driver.get(url='https://mail.qq.com/') driver.switch_to.frame('login_frame') driver.find_element_by_id('u').send_keys('369618935@qq.com') driver.find_element_by_id('p').send_keys('353597jss') driver.find_elements_by_class_name('btn').click()
[ "369618935@qq.com" ]
369618935@qq.com
111e4e3b3e118be47d757ed5f872a5057ef0e42c
4a307849ed4dded5ce84b0ceb6d2cf56c2e64b89
/common/servicechain/firewall/verify.py
b43cb7d94e9c935986e1e607a161918f1394dedd
[ "LicenseRef-scancode-warranty-disclaimer", "Apache-2.0" ]
permissive
lmadhusudhanan/contrail-test
a6316b41dcb836315d25503f1dee511943d7f976
bd39ff19da06a20bd79af8c25e3cde07375577cf
refs/heads/master
2022-05-04T20:01:58.960911
2018-06-27T17:56:47
2018-06-27T17:56:47
138,913,918
0
0
null
null
null
null
UTF-8
Python
false
false
39,312
py
import os import re from common.servicechain.verify import VerifySvcChain from tcutils.util import get_random_cidr from tcutils.util import get_random_name from tcutils.util import retry SVC_TYPE_PROPS = { 'firewall': {'in-network-nat': 'tiny_nat_fw', 'in-network': 'tiny_in_net', ...
[ "lmadhusudhan@juniper.net" ]
lmadhusudhan@juniper.net
0b3ce647889db5ce8bc43acdb3f0730ff2349fb3
70811da75f0f38719703e02c9f99e2ce09e21d2a
/LSTM_FCN/distal_phalanx_tw_model.py
cd18a4f46cd55d512c9381b2a58a3c9a060069cf
[]
no_license
HongminWu/time_series_anomaly_detection_classification_clustering
9d5e555c9bf37ee72770e127588f61f15139bd4e
548b3799389ec7a96fc56c51360a6de89e0502a1
refs/heads/master
2020-03-11T04:44:00.113684
2018-08-16T06:38:57
2018-08-16T06:38:57
129,783,614
15
6
null
null
null
null
UTF-8
Python
false
false
2,711
py
from keras.models import Model from keras.layers import Input, PReLU, Dense, Dropout, LSTM, Bidirectional, multiply, concatenate from keras.layers import Conv1D, BatchNormalization, GlobalAveragePooling1D, Permute, Activation from utils.constants import MAX_SEQUENCE_LENGTH_LIST, NB_CLASSES_LIST from utils.keras_utils ...
[ "hongminwu0120@gmail.com" ]
hongminwu0120@gmail.com
ef01adb41fcf1f474f98c2f88f09443ee34ec339
a838d4bed14d5df5314000b41f8318c4ebe0974e
/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/test_mgmt_namespaces_async.py
77e82602f3a50ce880403bd482c0dcba7293d2b3
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
scbedd/azure-sdk-for-python
ee7cbd6a8725ddd4a6edfde5f40a2a589808daea
cc8bdfceb23e5ae9f78323edc2a4e66e348bb17a
refs/heads/master
2023-09-01T08:38:56.188954
2021-06-17T22:52:28
2021-06-17T22:52:28
159,568,218
2
0
MIT
2019-08-11T21:16:01
2018-11-28T21:34:49
Python
UTF-8
Python
false
false
1,489
py
#------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. #-------------------------------------------------------------------------- import pytes...
[ "noreply@github.com" ]
scbedd.noreply@github.com
4799dfae66b08654ba541db4e36bfdab1b6ecd9b
6382e12a32c3b62ec059ca45c1fee6941e51e260
/Part_5__Control_Flow/Chap_14__Iterables_Iterators_and_Generators/ex_14_12__aritprog_gen.py
b705450eca5df149e40a62b8325732285db256f8
[]
no_license
CavalcanteLucas/python-fluent
e352a79e1da87ae4ee320a09196e119235a904a8
a4e22ab88235c5045eca52745b5e1558586dc166
refs/heads/master
2023-07-11T20:13:35.793456
2023-06-19T13:37:54
2023-06-19T13:37:54
224,661,365
1
0
null
2023-02-11T01:30:09
2019-11-28T13:39:03
Jupyter Notebook
UTF-8
Python
false
false
233
py
def aritprog_gen(begin, step, end=None): result = type(begin + step)(begin) forever = end is None index = 0 while forever or result < end: yield result index += 1 result = begin + step * index
[ "lucascpcavalcante@gmail.com" ]
lucascpcavalcante@gmail.com
fbcce6a43ad58373cd35ab45d604f4c91582da33
e7b7505c084e2c2608cbda472bc193d4a0153248
/LeetcodeNew/python/LC_935.py
58a9a16ae88d9c6f9538e65cc80e22da6dfcaf47
[]
no_license
Taoge123/OptimizedLeetcode
8e5c1cd07904dfce1248bc3e3f960d2f48057a5d
3e50f6a936b98ad75c47d7c1719e69163c648235
refs/heads/master
2023-02-27T21:13:40.450089
2023-02-07T04:11:09
2023-02-07T04:11:09
170,044,224
9
3
null
null
null
null
UTF-8
Python
false
false
1,630
py
""" https://www.youtube.com/watch?v=HTnIFivp0aw 这是一道简单但是比较有趣的题目。DP的方法还是比较容易想到的。令dp[k]表示当前拨号数字为k的方案数,显然它取决于在按k之前的那个数字的拨号方案数之和。 举个例子,第i次拨号时的dp[4]就等于第i-1次拨号时的dp[0]+dp[3]+dp[9],这是因为在盘面上骑士只能从0,3,9这三个位置跳跃到4. """ class SolutionTD: def knightDialer(self, n): table = {1: [6, 8], 2: [7, 9], 3: [4, 8], 4: [0, 3, ...
[ "taocheng984@gmail.com" ]
taocheng984@gmail.com
95104df4640b4babf14d129503b2955198323497
be0f3dfbaa2fa3d8bbe59229aef3212d032e7dd1
/Gauss_v45r10p1/Gen/DecFiles/options/11104121.py
e842e5077a8ce26042b14a549459d60c120ea087
[]
no_license
Sally27/backup_cmtuser_full
34782102ed23c6335c48650a6eaa901137355d00
8924bebb935b96d438ce85b384cfc132d9af90f6
refs/heads/master
2020-05-21T09:27:04.370765
2018-12-12T14:41:07
2018-12-12T14:41:07
185,989,173
0
0
null
null
null
null
UTF-8
Python
false
false
860
py
# file /home/hep/ss4314/cmtuser/Gauss_v45r10p1/Gen/DecFiles/options/11104121.py generated: Wed, 25 Jan 2017 15:25:16 # # Event Type: 11104121 # # ASCII decay Descriptor: [B0 -> pi+ pi- (KS0 -> pi+ pi-)]cc # from Configurables import Generation Generation().EventType = 11104121 Generation().SampleGenerationTool = "Signa...
[ "slavomirastefkova@b2pcx39016.desy.de" ]
slavomirastefkova@b2pcx39016.desy.de
1ade39bff263007813db93d12d91966da695744a
e3eee8900296e91601a2f6fea027c7956433e072
/chap10/dirList.py
c2a90cfdb43d8848cbea15e53bebe83fc3d469b8
[]
no_license
chc1129/introducing-python3
70ff14bbf24f7030a8cc20dba7db753e64b46865
43a6de586862380ac221669f11f1fbbac9105bb5
refs/heads/master
2020-04-12T21:53:32.031918
2019-09-23T12:55:59
2019-09-23T12:55:59
162,775,137
0
0
null
null
null
null
UTF-8
Python
false
false
57
py
import os print(os.listdir('.')) print(os.listdir('..'))
[ "chc1129@gmail.com" ]
chc1129@gmail.com
dd75a4912a4cbb4431c9f3a9493f1d8671208472
412ddb81b217ced05f77381a625a6ee26a3b2ea7
/lib/Stats.py
11ef31512bc7bf0d2ac2616db64d5d2797753a9e
[]
no_license
AndreasHeger/adda
d26fcb7ba3f32ced351d34b8dac7f802e63219c5
ddae18476747ef51cc8a2d924b723d5ae81a2da7
refs/heads/master
2016-09-10T22:58:51.797341
2014-06-26T19:44:39
2014-06-26T19:44:39
16,487,084
1
0
null
null
null
null
UTF-8
Python
false
false
42,894
py
################################################################################ # # MRC FGU Computational Genomics Group # # $Id$ # # Copyright (C) 2009 Andreas Heger # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as publish...
[ "andreas.heger@gmail.com" ]
andreas.heger@gmail.com
4f40417e1b3d5e7727b23349015224819e159c34
d0efa2026b7ed22ff4f9aa76c27ae2474c30f26d
/test/test_payment_method_payment_schedules_request.py
452cc8ec29e8473df8ec6a5a8e0ae80b14d7d5f7
[]
no_license
begum-akbay/Python
2075650e0ddbf1c51823ebd749742646bf221603
fe8b47e29aae609b7510af2d21e53b8a575857d8
refs/heads/master
2023-03-28T00:11:00.997194
2021-03-25T16:38:17
2021-03-25T16:38:17
351,499,957
0
0
null
2021-03-25T16:38:17
2021-03-25T16:15:16
Python
UTF-8
Python
false
false
1,270
py
# coding: utf-8 """ Payment Gateway API Specification. The documentation here is designed to provide all of the technical guidance required to consume and integrate with our APIs for payment processing. To learn more about our APIs please visit https://docs.firstdata.com/org/gateway. # noqa: E501 The ve...
[ "emargules@bluepay.com" ]
emargules@bluepay.com
8147523bcb0f515c279cdd116378042b0911fd7c
56e469a1bfd29004fa258a54668dfbbc4459663d
/python3-nltk-tutorial/src/lesson2.py
eea468d14140f4c269abb2552dfb9c86ded6c8b6
[]
no_license
wind86/learning
bfce4a6795b58b27d0148b878299cacfe96aa26f
4449ba0eed0a8f803a2bb9fbd663faf43148f03a
refs/heads/master
2020-04-05T23:28:40.082439
2017-11-04T11:36:40
2017-11-04T11:36:40
83,236,426
0
0
null
null
null
null
UTF-8
Python
false
false
634
py
''' Created on Apr 09, 2017 Stop words with NLTK https://www.youtube.com/watch?v=w36-U-ccajM&index=2&list=PLQVvvaa0QuDf2JswnfiGkliBInZnIC4HL @author: ubuntu ''' from nltk.corpus import stopwords from nltk.tokenize import word_tokenize example_sent = "This is a sample sentence, showing off the stop words filtration."...
[ "wind86@meta.ua" ]
wind86@meta.ua
b14af7cffc6ef7e61fd07f241da400470e0d2847
672fef1cd92f24cc13dbb651f60d7b1081468bed
/catkin_ws/build/kit_agv_teleop/catkin_generated/pkg.installspace.context.pc.py
b82d54ca750a09c83c061b72924977e025a63ceb
[]
no_license
Forrest-Z/DevelopAgv
49eca36e0a4a714fb232100b6216f4801409aa56
e7d0ac39f3964557d7f67f074ddba73e5c6f0d3a
refs/heads/master
2022-12-14T12:41:30.309513
2020-09-07T14:21:16
2020-09-07T14:21:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
398
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "".split(';') if "" != "" else [] PROJECT_CATKIN_DEPENDS = "".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_PREFIX = "".split(';') if "" != "" else [] PROJECT_NAME = "kit_agv_teleop" PROJECT_SPACE_DIR = "...
[ "nhamtung125@gmail.com" ]
nhamtung125@gmail.com
ed0a7a587fa699bb3e21e4116d874fda8a2c2d5c
3337e9150a743e0df2898528dd1e4dfac9730b25
/artemis/fileman/persistent_print.py
13b30ccc07235563122878b4675f41b117e62124
[]
no_license
ml-lab/artemis
f3353cb462b06d64e1007010db94667b4703c90e
b4f5f627f1798aff90b845d70fd582142a9f76c8
refs/heads/master
2021-01-22T06:49:41.346341
2017-09-01T15:31:13
2017-09-01T15:31:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,171
py
import sys from artemis.fileman.local_dir import get_artemis_data_path from artemis.general.display import CaptureStdOut __author__ = 'peter' """ Save Print statements: Useful in ipython notebooks where you lose output when printing to the browser. On advice from: http://stackoverflow.com/questions/4675728/redirect...
[ "peter.ed.oconnor@gmail.com" ]
peter.ed.oconnor@gmail.com
c367f874817b32c6f63cee71858c33cc30dede45
5d0fe4a9e026234fe15e6c4380355061bb4dac64
/tests/functional/pages/profile/individual_enter_your_personal_details.py
53c55f143ecca632274757bbfec1c6127897fa4a
[ "MIT" ]
permissive
uktrade/directory-tests
37e243862da8ac594cf1ea06ade714db5e1aba03
39ec6c26203580238e65566a472cbd80916e6726
refs/heads/master
2022-08-09T16:58:56.248982
2022-08-01T12:25:10
2022-08-01T12:25:10
71,367,747
4
3
MIT
2022-08-01T12:26:09
2016-10-19T14:48:57
Python
UTF-8
Python
false
false
1,572
py
# -*- coding: utf-8 -*- """Profile - Enter your personal details""" from requests import Response, Session from directory_tests_shared import PageType, Service, URLs from tests.functional.utils.context_utils import Actor from tests.functional.utils.request import ( Method, check_response, check_url, m...
[ "kowalczykjanusz@gmail.com" ]
kowalczykjanusz@gmail.com
6e3f7646454551de97bff7229a6e4a0d163b2856
ca231a325e8f4c18d50d89ffa7eec993d4cc68c3
/codility/minimal_interger_not_ocurrs.py
4f9b4ac785566637a02e89df334015135a5bb335
[]
no_license
HugoPorto/PythonCodes
8e1597999ccd34ffa86df5ae7e91111d77dc7a22
539ad6891cbd49a2c011349f843ab710aad2993a
refs/heads/master
2022-02-13T05:48:24.633750
2017-09-12T15:44:06
2017-09-12T15:44:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
853
py
# -*- coding:utf-8 -*- def solution(A): ''' Solve it with Pigeonhole principle. There are N integers in the input. So for the first N+1 positive integers, at least one of them must be missing. ''' # We only care about the first N+1 positive integers. # occurrence[i] is for the i...
[ "gpzim98@gmail.com" ]
gpzim98@gmail.com
12ccbb6a49dc123cca42202409efb9bb333f2c8c
a135e6aebb4b525d090272c107d9986ed50ec919
/grip/__init__.py
263bab0ee2649d40658a1dc3023c1a3e0b27c6d5
[ "MIT" ]
permissive
wemersondev/grip
2a6740d32e045cfa6639936d6640555ea81d3b53
8a9d7caf2f8a7cf07d8b31e030600404b4c498c7
refs/heads/master
2021-01-24T03:26:40.071776
2018-02-25T19:58:13
2018-02-25T19:58:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,663
py
"""\ Grip ---- Render local readme files before sending off to GitHub. :copyright: (c) 2014-2016 by Joe Esposito. :license: MIT, see LICENSE for more details. """ __version__ = '4.4.0' import sys # Patch for Flask 11.0+ on Python 3 (pypy3) if not hasattr(sys, 'exc_clear'): sys.exc_clear = lambda: None from .a...
[ "joe@joeyespo.com" ]
joe@joeyespo.com
18df10d8b1c09bf6663d3185bce769d2c532a8f7
8c6816435093cb8e9e45593d3ffdd67028a011b6
/tests/test_is_palindrome_permutation.py
8afe1e3ee3486b7078ef4211c354a84d7504048b
[]
no_license
Keeady/daily-coding-challenge
6ee74a5fe639a1f5b4753dd4848d0696bef15c28
31eebbf4c1d0eb88a00f71bd5741adf5e07d0e94
refs/heads/master
2020-03-27T07:58:05.713290
2019-03-08T15:03:05
2019-03-08T15:03:05
146,210,027
0
0
null
null
null
null
UTF-8
Python
false
false
586
py
from String import is_palindrome_permutation def test_is_palindrome_permutation(): str = 'Tact Coa' assert True == is_palindrome_permutation.is_palindrome_permutation(str) str = 'Tact oCoa' assert True == is_palindrome_permutation.is_palindrome_permutation(str) str = 'Tact Ca' assert True ...
[ "cbevavy@datto.com" ]
cbevavy@datto.com
5f7a882ac493f5606e6abb240272852b980809e0
bd053d2bf5444ab8f0b8b0ff56772fa75281e38d
/pennylane/ops/qubit/parametric_ops.py
555e4e926946ab402e54ca0a390ea633b1db97ed
[ "Apache-2.0" ]
permissive
johannesjmeyer/pennylane
bcb762583e95537b04a9b38756369571f957d2e5
8f602312baea107d5248267fb3dc1593722810e0
refs/heads/master
2023-07-11T18:21:31.086858
2021-08-14T19:21:42
2021-08-14T19:21:42
341,190,636
3
1
Apache-2.0
2021-06-16T09:01:58
2021-02-22T12:19:10
Python
UTF-8
Python
false
false
40,493
py
# Copyright 2018-2021 Xanadu Quantum Technologies Inc. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or...
[ "noreply@github.com" ]
johannesjmeyer.noreply@github.com
a28380fa7c747fd2980e91a59c59853a625e2940
3cf1535bd23bfbfe078464eb6ba9043e30b2d67d
/RLBotPack/Skybot/bot_functions.py
39e65467fbe9a1ecf5442a3283ad0c06a4459d71
[ "MIT" ]
permissive
RLBot/RLBotPack
11bab3be9dea24521853a5ba3f0ba5716c9922d2
d4756871449a6e587186e4f5d8830fc73a85c33a
refs/heads/master
2023-07-09T08:37:05.350458
2023-05-17T21:51:07
2023-05-17T21:51:07
188,609,141
27
132
MIT
2023-09-12T00:02:43
2019-05-25T20:24:44
Python
UTF-8
Python
false
false
10,014
py
import math def ball_path_predict(data_loc_speed): # [self.game_time, self.ball_lt_z, self.ball_lt_speed_z] start_on=0 #print(data_loc_speed) loc_x=data_loc_speed[1][0][start_on] loc_y=data_loc_speed[1][1][start_on] loc_z=data_loc_speed[1][2][start_on] speed_x=data_loc_speed[2][0][start...
[ "noreply@github.com" ]
RLBot.noreply@github.com
83ebf96ed9d709453f2542d0921655ff7857ce40
caf135d264c4c1fdd320b42bf0d019e350938b2d
/04_Algorithms/Leetcode/L24_Swap Nodes in Pairs.py
eba7c0bc0a8f2006110eb82a2b8a1604aa56fe07
[]
no_license
coolxv/DL-Prep
4243c51103bdc38972b8a7cbe3db4efa93851342
3e6565527ee8479e178852fffc4ccd0e44166e48
refs/heads/master
2022-12-31T22:42:20.806208
2020-10-23T10:19:19
2020-10-23T10:19:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
807
py
# Definition for singly-linked list. # class ListNode: # def __init__(self, x): # self.val = x # self.next = None class Solution: def swapPairs(self, head: ListNode) -> ListNode: if not head or not head.next: return head else: first = head sec...
[ "1574572981@qq.com" ]
1574572981@qq.com