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
9e6823d1c327a49f0d484cae4b19d90a619c5311
eaa781cc52a1a8686cd50424132744a300ce2fda
/shell/essay.py
349342a9af55273a8978fd7add6d96451404e286
[]
no_license
hustmonk/kdd2014
2d7f1d7393cccfaff95f8fc399a213ba588c7f02
bf4f41af61e5ab08eb0b08aee990c04a7afbef0d
refs/heads/master
2021-01-02T23:07:03.632621
2014-08-13T00:02:45
2014-08-13T00:02:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,096
py
#!/usr/bin/env python # -*- coding: UTF-8 -*- # Last modified: #申请论文信息 #essay info """docstring """ import csv __revision__ = '0.1' class Essay: def _normal(self, list): new_list = [] for x in list: x = x.lower() newx = [] for ch in x: if ('a' <...
[ "liujingminghust@163.com" ]
liujingminghust@163.com
23a05b1cda180f9c05216f1af7274c13c0307cd6
223c3cf4281427e41ce6dc8d2501e157e05d8f25
/results/run_check_epochs/0x1.5426135e0ddf4p+30/script.py
c013f937d02bf76521ab27987b3b27a8ab2b8650
[ "BSD-2-Clause" ]
permissive
chri4354/meg_perceptual_decision_symbols
94160d81035be283a4ade13dc8f488447b6773f6
34ed840c95d6fbedbf911c1b1506da383da77eb9
refs/heads/master
2021-01-15T11:46:02.968578
2015-03-29T19:12:40
2015-03-29T19:12:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,711
py
import sys import mkl import os.path as op import mne from meeg_preprocessing.utils import setup_provenance from ambiguity.conditions import get_events import matplotlib.pyplot as plt import warnings import numpy as np from scripts.config import ( data_path, subjects, results_dir, open_browser ) rep...
[ "jeanremi.king+github@gmail.com" ]
jeanremi.king+github@gmail.com
a25456d0b47ab6ab15ab64b06f610459fed2cc9e
ad13583673551857615498b9605d9dcab63bb2c3
/output/instances/nistData/atomic/long/Schema+Instance/NISTXML-SV-IV-atomic-long-whiteSpace-1-2.py
edbc3af912f4107c5b5261ff2d179988d496fe2f
[ "MIT" ]
permissive
tefra/xsdata-w3c-tests
397180205a735b06170aa188f1f39451d2089815
081d0908382a0e0b29c8ee9caca6f1c0e36dd6db
refs/heads/main
2023-08-03T04:25:37.841917
2023-07-29T17:10:13
2023-07-30T12:11:13
239,622,251
2
0
MIT
2023-07-25T14:19:04
2020-02-10T21:59:47
Python
UTF-8
Python
false
false
267
py
from output.models.nist_data.atomic.long.schema_instance.nistschema_sv_iv_atomic_long_white_space_1_xsd.nistschema_sv_iv_atomic_long_white_space_1 import NistschemaSvIvAtomicLongWhiteSpace1 obj = NistschemaSvIvAtomicLongWhiteSpace1( value=-141811240377451630 )
[ "tsoulloftas@gmail.com" ]
tsoulloftas@gmail.com
79f0bc35dead901f383ef6d61b759a98596cf035
13f6df9b74df10c7054cbf826e6e3538012493c9
/ajenti/plugins/supervisor/client.py
5edf2c37045040caf22f82a43dc36f22e470eb02
[]
no_license
zennro/ajenti
6906bf285a72b35a485555d5a2296f04717d4bae
0d40cbb38117a2018607d21a138a83bf6581d729
refs/heads/master
2021-01-18T20:15:10.615198
2014-03-29T17:39:35
2014-03-29T17:39:35
18,260,276
1
0
null
null
null
null
UTF-8
Python
false
false
1,723
py
import subprocess from ajenti.api import * from ajenti.plugins.services.api import Service, ServiceManager @plugin class SupervisorServiceManager (ServiceManager): def test(self): return subprocess.call(['supervisorctl', 'status']) == 0 def run(self, *cmds): return subprocess.check_output(['...
[ "e@ajenti.org" ]
e@ajenti.org
cbc2ed0f38928c2471f097b3803e8dddb7b91602
0809ea2739d901b095d896e01baa9672f3138825
/without_restapim/testApp/utils.py
93e40d370280d08463e8ec4a6eabb6bf09a80774
[]
no_license
Gagangithub1988/djangoprojects
dd001f2184e78be2fb269dbfdc8e3be1dd71ce43
ea236f0e4172fbf0f71a99aed05ed7c7b38018e2
refs/heads/master
2022-11-15T23:46:46.134247
2020-07-15T06:37:51
2020-07-15T06:37:51
273,479,403
0
0
null
null
null
null
UTF-8
Python
false
false
150
py
import json def is_json(data): try: p_data=json.loads(data) valid=True except ValueError: valid=False return valid
[ "djangopython1988@gmail.com" ]
djangopython1988@gmail.com
449428cd24acaff229144d38164a47472ec94748
f207164511f0dfe3f01f6e0c21fd7548e626397f
/toolkit/toolkit.mozbuild
ebdca4a1aed9c6fad7483c3e0a71d58cff634e1d
[]
no_license
PortableApps/palemoon27
24dbac1a4b6fe620611f4fb6800a29ae6f008d37
3d7e107cc639bc714906baad262a3492372e05d7
refs/heads/master
2023-08-15T12:32:23.822300
2021-10-11T01:54:45
2021-10-11T01:54:45
416,058,642
1
0
null
null
null
null
UTF-8
Python
false
false
4,400
mozbuild
# vim: set filetype=python: # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. if CONFIG['LIBXUL_SDK']: error('toolkit.mozbuild is not compatible with --enable-libxul-...
[ "roytam@gmail.com" ]
roytam@gmail.com
36cd06d92565b7898b01d87fe29079a787f22e91
1ee910d6602123eb1328f56419b04e31b3761b6b
/lib/python3.5/site-packages/twilio/rest/ip_messaging/v2/service/user/__init__.py
bd5acc2db6d505f60bb14bf59362bb134b9091e5
[ "MIT" ]
permissive
mraza007/Pizza-or-Not-a-Pizza
7fc89e0905c86fbd3c77a9cc834a4b6098912aeb
6ad59d046adbd6be812c7403d9cb8ffbdbd6b0b8
refs/heads/master
2022-12-15T15:47:34.779838
2018-07-04T02:28:56
2018-07-04T02:28:56
127,992,302
30
4
MIT
2022-11-22T00:43:51
2018-04-04T01:56:26
Python
UTF-8
Python
false
false
17,468
py
# coding=utf-8 """ This code was generated by \ / _ _ _| _ _ | (_)\/(_)(_|\/| |(/_ v1.0.0 / / """ from twilio.base import deserialize from twilio.base import values from twilio.base.instance_context import InstanceContext from twilio.base.instance_resource import InstanceResource from twilio.base....
[ "muhammadraza0047@gmail.com" ]
muhammadraza0047@gmail.com
57eb78a0554396f29509498063511bd588bb9f1f
f2d99d437f29af7bd2d4a5ea8af57f49e3d30871
/test/assignment/module_attribute.py
f003021d6d9dd2f1123f626046504736d9312929
[]
no_license
terrence2/millipede
6d68a09773f83e304702d72a38475946590e3079
3e1d63899f54f1154cb6a0bc3634815623803246
refs/heads/master
2020-04-01T14:28:06.810699
2011-05-30T20:15:30
2011-05-30T20:15:30
839,748
0
0
null
null
null
null
UTF-8
Python
false
false
215
py
class A: pass a = A() a.b = A() a.b.c = A() a.b.c.d = A() print(a.__class__.__name__) print(a.b.__class__.__name__) print(a.b.c.__class__.__name__) print(a.b.c.d.__class__.__name__) #out: A #out: A #out: A #out: A
[ "terrence@zettabytestorage.com" ]
terrence@zettabytestorage.com
a6d78dcee4b7d9d0b627e8613bc50a7083969f3b
92abae05cb2c31f4f4f228844ff8ecfc5439e098
/Generators/GEN_GLCM_PREPROCESS.py
c141ca99775a719a86f5ce463c86bcbea82ed86a
[]
no_license
lukkascost/py_Crosswalk
1530133e0c808be433bdb00cbcda810b689df6ce
287db1583bf21696cd9f307498a5fa2e1cb69c1b
refs/heads/master
2021-06-03T16:33:38.139919
2020-01-29T16:12:39
2020-01-29T16:12:39
140,041,089
1
0
null
null
null
null
UTF-8
Python
false
false
1,663
py
import cv2 import numpy as np from MachineLearn.Classes.Extractors.GLCM import GLCM MIN_BITS = 8 MAX_BITS = 8 MIN_DECIMATION = 20 MAX_DECIMATION = 100 PATH_TO_IMAGES_FOLDER = '../database-Crosswalk/Preprocessed/' PATH_TO_SAVE_FEATURES = 'GLCM_FILES/EXP_01/' for nbits in range(MIN_BITS, MAX_BITS + 1): for k in ...
[ "lucas.costa@lit.ifce.edu.br" ]
lucas.costa@lit.ifce.edu.br
0bba2d08714c610787e7f98c5cdf1edbf1dfeff9
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/438/usersdata/314/99574/submittedfiles/pico.py
2fe6a6464d97f450c55ab04953a46384b1186e82
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
514
py
# -*- coding: utf-8 -*- def pico(lista): maior=lista[0] meio=lista.index(lista[i]) for i in range(0,len(lista)-1,1): if lista[i]>maior: maior=lista[i] crescente=True if meio>lista[i]: decrescente=True else: decrescente=False ...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
bfe7efa037054787430565e8e7dd7e67369deef0
9eb35d6df7b0490d556623f84dba12bb05f30ee2
/comp_stat_little_tricks/welfords_variance.py
879fe04be37135f1677925987a51fe5785db7a74
[ "MIT" ]
permissive
FelSiq/statistics-related
0b4442bd19338c5b0da7dcf5ecd53eb304dcd3f8
ee050202717fc368a3793b195dea03687026eb1f
refs/heads/master
2021-11-24T12:31:08.660652
2021-11-03T23:42:39
2021-11-03T23:42:39
211,089,869
2
0
null
null
null
null
UTF-8
Python
false
false
848
py
import typing as t def welfords_var(vals: t.Sequence[t.Union[int, float]]) -> float: """Powerful one-pass method for computing array variance.""" M, S = 0, 0 for k, x in enumerate(vals, 1): oldM = M M += (x - M) / k S += (x - M) * (x - oldM) return S / (len(vals) - 1) if __...
[ "felipe.siqueira@usp.br" ]
felipe.siqueira@usp.br
4fc95827b4a6c449e2add1cbc38c5c2192e31a9e
d8f43a5eebda6dec3e07520e2719f5ccf645210a
/day09/__init__.py
b5cb543237c5ee58caf3ddea6c5f9d3a6084e1e2
[]
no_license
sisul1204/Python60
1f7db60c448fd9c0487341f4768bbf1363a69eff
c3675cc02d79102b0b2ee73be6fa4c1645981640
refs/heads/master
2022-12-14T11:03:08.653333
2020-08-18T00:56:50
2020-08-18T00:56:50
278,508,191
0
0
null
null
null
null
UTF-8
Python
false
false
106
py
#!/usr/bin/env python #-*-coding:utf-8-*- # Author:sisul # time: 2020/7/8 15:38 # file: __init__.py.py
[ "lizhipeng1021@163.com" ]
lizhipeng1021@163.com
c95eafdcb80903dfb6648b489d3951c8372de95c
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02775/s052208557.py
8fef45c5cc9e573263a2006aaadb8f57669aedf5
[]
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
453
py
import sys def main(): input=sys.stdin.readline S=input().strip() dp=[[0,0] for i in range(len(S)+1)] dp[0][1]=1 for i in range(1,len(S)+1): for j in (0,1): if j==0: dp[i][0]=min(dp[i-1][0]+int(S[i-1]),dp[i-1][1]+10-int(S[i-1])) elif j==1: ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
be521724694bccb38164c968ce2d4e190a3ce385
cea03b578f0f6207afe5056611090848ab76bd23
/model/verify_huisu.py
e987f6282e8d3cd45c0c5d6d7e1b57863d2ca583
[]
no_license
swq90/stock
fa295f4fa0bf6a4d8afe8a71c02cc54fc7442bcd
a49ae395de82ecdfa38220f4fdbcaf4da6a39719
refs/heads/master
2021-07-14T03:42:21.950897
2020-10-14T11:52:24
2020-10-14T11:52:24
215,325,863
2
0
null
null
null
null
UTF-8
Python
false
false
1,617
py
import datetime from sqlalchemy import create_engine import pandas as pd import stock.util.stockfilter as sfilter import stock.util.sheep as sheep engine = create_engine('postgresql://nezha:nezha@10.0.0.5:5432/stock', echo=False) def get_data(start_date,end_date): NOTCONTAIN = sfilter.StockFilter().stock_basic(en...
[ "shaowenqin620@163.com" ]
shaowenqin620@163.com
c99a1bdd8fc9c1068b09146888230fdd761ab4bb
6f6465903edbb0587a43fbef9c3a6776c948d9b3
/IntroducaoAoKNN/KNNComPandasESKTlearn.py
3441ee1659085dbe72e658130ac2c775726d6418
[]
no_license
borin98/CursoDeMachineLearning
5871beccd2e09f2fc5d51e40370c11c730f056c1
6ead1db41c27009207a32658089bc7a790a06be8
refs/heads/master
2020-03-25T09:04:13.436480
2018-08-30T02:52:32
2018-08-30T02:52:32
143,645,874
0
0
null
null
null
null
UTF-8
Python
false
false
1,382
py
import pandas as pd import numpy as np from sklearn.model_selection import train_test_split from sklearn.neighbors import KNeighborsClassifier from math import sqrt """ Função que mexe com um arquivo CSV sobre sapatos que funciona da seguinte forma : Coluna 0 : tamanho do sapato Coluna 1 : Peso da pessoa Coluna 2 : ...
[ "borinmacedo@gmail.com" ]
borinmacedo@gmail.com
9c7abc977eb54a42f4e5543185cd6e3b8c9f8758
3a4fbde06794da1ec4c778055dcc5586eec4b7d2
/_google_app_engine-projects/The_GAE_SWF_Project/pyamf/tests/remoting/test_client.py
5f00bec64c391375aed4ff144a451f1ebd65751f
[ "MIT" ]
permissive
raychorn/svn_python-django-projects
27b3f367303d6254af55c645ea003276a5807798
df0d90c72d482b8a1e1b87e484d7ad991248ecc8
refs/heads/main
2022-12-30T20:36:25.884400
2020-10-15T21:52:32
2020-10-15T21:52:32
304,455,211
0
0
null
null
null
null
UTF-8
Python
false
false
15,639
py
# -*- coding: utf-8 -*- # # Copyright (c) 2007-2008 The PyAMF Project. # See LICENSE for details. """ Test for Remoting client. @author: U{Nick Joyce<mailto:nick@boxdesign.co.uk>} @since: 0.1.0 """ import unittest import pyamf from pyamf import remoting from pyamf.remoting import client class ServiceMethodProxyTe...
[ "raychorn@gmail.com" ]
raychorn@gmail.com
19272d5e378571a0887ba59caf9a71b741c098a6
45129489b5556a70d3caa6020b0f035de8019a94
/probn/04.03/24.py
68ac6d9678cb2e0dd08b41a05723b6f8e1d864cd
[]
no_license
trofik00777/EgeInformatics
83d853b1e8fd1d1a11a9d1f06d809f31e6f986c0
60f2587a08d49ff696f50b68fe790e213c710b10
refs/heads/main
2023-06-06T13:27:34.627915
2021-06-23T20:15:28
2021-06-23T20:15:28
362,217,172
3
1
null
null
null
null
UTF-8
Python
false
false
99
py
s = input() s = s.replace("C", "D") print(s) a = [len(i) for i in s.split("D")] print(max(a))
[ "noreply@github.com" ]
trofik00777.noreply@github.com
0d4b8f8cacf0f2d8d6475dca0953ff0640291571
79c67ec1a5bececc030c222d7469e73c0dc775eb
/life/migrations/0004_auto_20151017_1106.py
65632b5077c0f0249461420b9d73d05740b1ea54
[]
no_license
evz/awildlife
64b29ddcc6644514cd6536b5c1f67dca7d5114db
39de34006ece41119efef006a73974ce020ae360
refs/heads/master
2021-01-10T11:50:59.810504
2015-11-07T18:50:57
2015-11-07T18:50:57
44,484,084
0
0
null
null
null
null
UTF-8
Python
false
false
548
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('life', '0003_event_image'), ] operations = [ migrations.AddField( model_name='event', name='image_he...
[ "eric.vanzanten@gmail.com" ]
eric.vanzanten@gmail.com
e103327d601a8b3a4868d771c2abc2d13e759ea2
74d664fe1785119a35def3a2a297f0babe912048
/modules/environment.py
d0a8339d80e2db96bf541dedb74863a4cad68711
[]
no_license
zhong1234/chapter7
cc3b15e7585fd23c026acbda05419d8c8d6c1030
4d117ebf5a8a2f49a99443b9df6dad299ae31337
refs/heads/master
2018-07-11T19:51:00.851986
2018-06-01T08:50:06
2018-06-01T08:50:06
112,837,148
0
0
null
null
null
null
UTF-8
Python
false
false
89
py
import os def run(**args) print "in environment module." return str(os.environ)
[ "root@localhost.localdomain" ]
root@localhost.localdomain
d66169dc3f67e1581b590b9b6fb6cc8c4f62d277
b05761d771bb5a85d39d370c649567c1ff3eb089
/venv/lib/python3.10/site-packages/Cryptodome/PublicKey/RSA.py
1db68bb441ec67e7ece371601847eb838a092739
[]
no_license
JawshyJ/Coding_Practice
88c49cab955eab04609ec1003b6b8c20f103fc06
eb6b229d41aa49b1545af2120e6bee8e982adb41
refs/heads/master
2023-02-19T10:18:04.818542
2023-02-06T21:22:58
2023-02-06T21:22:58
247,788,631
4
0
null
null
null
null
UTF-8
Python
false
false
96
py
/home/runner/.cache/pip/pool/98/83/40/f0f4f056ecdf2bdda87416dd1290a31161e7d6ebcbd56f24e292240f78
[ "37465112+JawshyJ@users.noreply.github.com" ]
37465112+JawshyJ@users.noreply.github.com
c09e9222d65ec6663cd9d3ff0e6ef114d5147ac7
9ba0771dcef17191483798b4d18f78dbb7b4c27e
/camacq/plugins/leica/helper.py
d3f6d5c7f229b25f26bc63a1e8c5f792be4cd92a
[ "Apache-2.0" ]
permissive
CellProfiling/cam_acq
fd035831bbdd7d6e6bfc2e85fea1b838829eacb8
8cf99cb738353c052b93e7ff1dbd5951f65808c2
refs/heads/master
2023-08-31T01:46:58.390960
2023-08-28T07:12:05
2023-08-28T07:12:05
35,374,025
5
1
Apache-2.0
2023-09-13T21:44:38
2015-05-10T14:23:34
Python
UTF-8
Python
false
false
1,929
py
"""Helper functions for Leica api.""" from pathlib import Path, PureWindowsPath from leicaimage import experiment def find_image_path(relpath, root): """Parse the relpath from the server to find file path from root. Convert from windows path to posix path. Parameters ---------- relpath : str ...
[ "noreply@github.com" ]
CellProfiling.noreply@github.com
9e6e6ebc0d8bceed5f15987173cad13b3f0b7933
7d1d49560328f9b5588197abf2c623c304c0d95a
/src/datasets/mpii.py
f844b380ffa8e5ac8b779a29186730dd9c064817
[]
no_license
peternara/adversarial-pose-pytorch
1dc6ed10281844c59a827b77505f2ab55d906c16
12570ea03f3f2e8ecca7208997c99eb88da47824
refs/heads/master
2021-09-05T05:01:01.110501
2018-01-24T08:16:29
2018-01-24T08:16:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,590
py
import os import numpy as np import h5py import skimage as skim import skimage.io as skio import skimage.transform as sktf import torch import torch.utils.data from .utils import rand, rnd, crop, fliplr_coords, transform, create_label class MPII_Dataset(torch.utils.data.Dataset): def __init__(self, data_root, sp...
[ "roytseng.tw@gmail.com" ]
roytseng.tw@gmail.com
55617353af8ff1014f3016dead5a6fc37ed86a7b
4e30d990963870478ed248567e432795f519e1cc
/ciscoisesdk/models/validators/v3_1_1/jsd_a518d5655f69e8687c9c98740c6.py
f4a0c1ac6389f96f6b686e10bbb8edf3b73f4606
[ "MIT" ]
permissive
CiscoISE/ciscoisesdk
84074a57bf1042a735e3fc6eb7876555150d2b51
f468c54998ec1ad85435ea28988922f0573bfee8
refs/heads/main
2023-09-04T23:56:32.232035
2023-08-25T17:31:49
2023-08-25T17:31:49
365,359,531
48
9
MIT
2023-08-25T17:31:51
2021-05-07T21:43:52
Python
UTF-8
Python
false
false
8,194
py
# -*- coding: utf-8 -*- """Identity Services Engine updateNetworkAccessTimeConditionById data model. Copyright (c) 2021 Cisco and/or its affiliates. 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 Softwar...
[ "wastorga@altus.co.cr" ]
wastorga@altus.co.cr
a17fb5bb9c1a3b110d7a6567ee80dd59963ffcfe
9795e787a54d15f2f249a17b616fec3df67d4559
/exception/custom_exceptions.py
9fad21e41c70df88234ff44398cf49bea43a46cf
[]
no_license
gebbz03/PythonProject
377b6ccf5eafa37dd157012ce499138370ba882f
c12f939cf194a4c541ee77e1f614ba9867ef7090
refs/heads/master
2020-04-02T22:16:11.082863
2018-10-30T05:49:22
2018-10-30T05:49:22
154,827,528
0
0
null
null
null
null
UTF-8
Python
false
false
404
py
class VowelNotAccepted(Exception): def __init__(self,message,status): self.message=message self.status=status def check_chars(word): for char in word: if char.lower() in ['a','e','i','o','u']: raise VowelNotAccepted('Vowel is not accepted',101) return word try: pri...
[ "gebb.freelancer@gmail.com" ]
gebb.freelancer@gmail.com
8e9b7070944e7a936111d51786b3c0668cbafaea
7ae44f6975561ff5542cd369dcd04d53093db887
/Data Structures and Algorithms in Python/5_OPPS_2/predict_output_6.py
6321e1342fd9c1d7d57d8c6ca335429b5fb3a179
[]
no_license
ashisharora24/learning_tutorials_practice
89208a77ad162265c6573ca4559ebf6f4a6f8f18
57f461908d0c4d58d831ec375c428179fa69cb3f
refs/heads/master
2020-05-21T05:32:26.397725
2019-07-23T10:36:06
2019-07-23T10:36:06
185,923,049
0
0
null
null
null
null
UTF-8
Python
false
false
107
py
class Circle(object): def __str__(self): return "This is a Circle Class" c = Circle() print(c)
[ "ashisharora24@gmail.com" ]
ashisharora24@gmail.com
91fe27a11835961dfd6dc4a2e9e411a0416da877
e56214188faae8ebfb36a463e34fc8324935b3c2
/test/test_boot_precision_policy_list.py
c36229afebd412dbf2266ec56b1e059db74964dc
[ "Apache-2.0" ]
permissive
CiscoUcs/intersight-python
866d6c63e0cb8c33440771efd93541d679bb1ecc
a92fccb1c8df4332ba1f05a0e784efbb4f2efdc4
refs/heads/master
2021-11-07T12:54:41.888973
2021-10-25T16:15:50
2021-10-25T16:15:50
115,440,875
25
18
Apache-2.0
2020-03-02T16:19:49
2017-12-26T17:14:03
Python
UTF-8
Python
false
false
1,957
py
# coding: utf-8 """ Cisco Intersight Cisco Intersight is a management platform delivered as a service with embedded analytics for your Cisco and 3rd party IT infrastructure. This platform offers an intelligent level of management that enables IT organizations to analyze, simplify, and automate their environmen...
[ "ucs-build@github.com" ]
ucs-build@github.com
4d35d4841261340af3b86fda5221b5d30c179c0b
e82b761f53d6a3ae023ee65a219eea38e66946a0
/All_In_One/addons/learnbgame_hops/operators/misc/mirrormirror.py
9a0a837b40c0ac02de7aea1f201f98a778a4bb09
[]
no_license
2434325680/Learnbgame
f3a050c28df588cbb3b14e1067a58221252e2e40
7b796d30dfd22b7706a93e4419ed913d18d29a44
refs/heads/master
2023-08-22T23:59:55.711050
2021-10-17T07:26:07
2021-10-17T07:26:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,491
py
import bpy import mathutils from ... preferences import get_preferences from ... utils.context import ExecutionContext # Do the Basic Union, Difference and Intersection operations def operation(context, _operation, x, y, z, zx, zy, zz, direction, used_axis): object = bpy.context.active_object ...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
d09996202930b38b56df754c8e5dd034958f4031
6fcfb638fa725b6d21083ec54e3609fc1b287d9e
/python/pfnet_chainer/chainer-master/cupy/testing/__init__.py
7399762e4c91f5d702050e4014d3363e1b55177d
[]
no_license
LiuFang816/SALSTM_py_data
6db258e51858aeff14af38898fef715b46980ac1
d494b3041069d377d6a7a9c296a14334f2fa5acc
refs/heads/master
2022-12-25T06:39:52.222097
2019-12-12T08:49:07
2019-12-12T08:49:07
227,546,525
10
7
null
2022-12-19T02:53:01
2019-12-12T07:29:39
Python
UTF-8
Python
false
false
1,934
py
from cupy.testing import array from cupy.testing import attr from cupy.testing import helper from cupy.testing import parameterized assert_allclose = array.assert_allclose assert_array_almost_equal = array.assert_array_almost_equal assert_array_almost_equal_nulp = array.assert_array_almost_equal_nulp assert_array_max_...
[ "659338505@qq.com" ]
659338505@qq.com
a015cd16852be7d4367b84a80f44d6eb6db18e83
bc9f66258575dd5c8f36f5ad3d9dfdcb3670897d
/lib/third_party/google/cloud/pubsublite/cloudpubsub/internal/ack_set_tracker_impl.py
3222994e53e33b5ba1cad9c761ad3e563cb45561
[ "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,672
py
# 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 or agreed to in writing, s...
[ "cloudsdk.mirror@gmail.com" ]
cloudsdk.mirror@gmail.com
fca104b783bfc0e2592794845e82a2e7670d1953
b0ed67c452f79da72120b185960bf06711695fdd
/while_loop/max_number.py
a50ae857badae0270d2df0df54ae12bdd4ae191b
[]
no_license
NikiDimov/SoftUni-Python-Basics
c0e1ae37867c1cfa264f8a19fdfba68b349df5d3
f02045578930d03edbbd073995867eabfb171bbc
refs/heads/main
2023-07-11T01:10:25.612754
2021-08-19T10:26:12
2021-08-19T10:26:12
345,221,145
0
0
null
null
null
null
UTF-8
Python
false
false
121
py
n = input() my_nums = [] while not n == "Stop": n = int(n) my_nums.append(n) n = input() print(max(my_nums))
[ "niki.dimov86@gmail.com" ]
niki.dimov86@gmail.com
d8244c4d2a0e627a721f9626fcb9edc7c3ef3b0e
3cd4e2aae2a3ee3f9002fea903a6695f9fd5d373
/bigml/tests/read_configuration_steps.py
4d14340f31677c9017ce140619a82c926a491344
[ "Apache-2.0", "LicenseRef-scancode-public-domain" ]
permissive
jaykamau7/python
1c2daf7222f12909563005701b02308b8b80c732
faf718173e4a108ae8d500e82a6b4197fabbecb4
refs/heads/master
2023-02-28T13:29:59.759663
2021-02-07T14:10:20
2021-02-07T14:10:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
957
py
# -*- coding: utf-8 -*- # # Copyright 2017-2020 BigML # # 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 ...
[ "merce@bigml.com" ]
merce@bigml.com
0a77fbe43f734f778b70dd19d7af6633f82c5acc
4c534dc33d548acf07edc3e7b826f4bfb9207030
/lexicon/management/commands/populatetags.py
247a11e8fedbee41aad11ff4954dd17c4615e3be
[]
no_license
Typecraft/valex-backend
a1fdbcdf0f761eca51f7762ec20e57a2feec234b
7c7ca74851bf595e811ffba5b0f5b09fbd5ac19a
refs/heads/develop
2022-12-18T08:22:47.545094
2017-10-24T09:00:58
2017-10-24T09:00:58
102,861,803
0
0
null
2022-12-08T00:38:08
2017-09-08T13:00:09
Python
UTF-8
Python
false
false
3,141
py
from functools import reduce from django.core.management import BaseCommand from lexicon.models import ValenceFrame tags = [ "EXPL", "EXPL+[INF:rais" "EXPL+adpos", "EXPL+adpos+PP[S", "EXPL+adpos+S", "EXPL+APpred+INF", "EXPL+APpred+PP", "EXPL+APpred+S", "EXPL+INF", "EXPL+INF:eq...
[ "tormod.haugland@gmail.com" ]
tormod.haugland@gmail.com
0f4cae1c82065decfb1458cf930ea6fa0d20184f
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_1480487_0/Python/TV4Fun/CodePython.py
d48048e4b9227440502b06435ae41e03eaa57447
[]
no_license
alexandraback/datacollection
0bc67a9ace00abbc843f4912562f3a064992e0e9
076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf
refs/heads/master
2021-01-24T18:27:24.417992
2017-05-23T09:23:38
2017-05-23T09:23:38
84,313,442
2
4
null
null
null
null
UTF-8
Python
false
false
905
py
filename = raw_input("Enter the name of the input file: ") f = open(filename, 'r') outfile = open("outfile.txt", 'w') t = int(f.readline()) for case in range(t): x = [int(i) for i in f.readline().split()] n = x.pop(0) xsum = sum(x) outfile.write('Case #' + str(case + 1) + ':') minscore = 2....
[ "eewestman@gmail.com" ]
eewestman@gmail.com
9185725abebca98dc093dd4d562ae61a619fb4cc
29ed133feb870455ca619c9fa2ce9b7eb1dcc470
/URIs/URI2968.py
aac803dbfada4346f0a947ba958b8c61eff6808a
[]
no_license
jrantunes/URIs-Python-3
c5e676686a979b6bbfd10b8e7168a6d35fb8f6a2
4692f3fba4a1c9a0f51322a13e9e267d8b07ea3e
refs/heads/master
2022-04-17T10:56:52.468275
2020-03-28T17:07:46
2020-03-28T17:07:46
250,395,664
1
0
null
null
null
null
UTF-8
Python
false
false
233
py
#Hour for a Run import math v, n = input().split() v = int(v) n = int(n) x = [] for i in range(1, 10): r = math.ceil((n * v * i) / 10.0) x.append(r) print(x[0], x[1], x[2], x[3], x[4], x[5], x[6], x[7], x[8])
[ "noreply@github.com" ]
jrantunes.noreply@github.com
2e1f9b8a34984b316be5df9a700ccee570f03474
89cd8b77ad5171c336cc60b2133fe6468a6cb53f
/Module02/06-正则表达式/05-FilterLagou.py
7a68143d021baee871dc9c51bfd6f9e213906972
[ "MIT" ]
permissive
fenglihanxiao/Python
75178f6b6b0c53345e1ed54226ea645216572d6c
872baf3a3a5ee42740161152605ca2b1ddf4cd30
refs/heads/master
2021-05-23T18:49:20.656433
2020-04-29T01:06:21
2020-04-29T01:06:21
253,199,073
0
0
null
null
null
null
UTF-8
Python
false
false
1,017
py
import re html_str = """ <div class="job_at"> <p>岗位职责:</p> <p>完成推荐算法、数据统计、接口、后台等服务器端相关工作</p> <p><br></p> <p>必备要求:</p> <p>良好的自我驱动力和职业素养,工作积极主动、结果导向</p> <p>&nbsp;<br></p> <p>技术要求:</p> <p>1、一年以上 Python 开发经验,掌握面向对象分析和设计,了解设计模式</p> <p>2、掌握HTTP协议,熟悉MVC、MVVM等概念以及相关WEB开发框架</p> ...
[ "fenglihanxiao@qq.com" ]
fenglihanxiao@qq.com
6297beb8ba52f92cb896761b185e0a4502499949
d7016f69993570a1c55974582cda899ff70907ec
/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2022_02_01/operations/_private_link_resources_operations.py
b8989a164064339b3ceb0b30e1c860798d4401ef
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later" ]
permissive
kurtzeborn/azure-sdk-for-python
51ca636ad26ca51bc0c9e6865332781787e6f882
b23e71b289c71f179b9cf9b8c75b1922833a542a
refs/heads/main
2023-03-21T14:19:50.299852
2023-02-15T13:30:47
2023-02-15T13:30:47
157,927,277
0
0
MIT
2022-07-19T08:05:23
2018-11-16T22:15:30
Python
UTF-8
Python
false
false
6,861
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" ]
kurtzeborn.noreply@github.com
8ea4e4fe4fcab2f4511431a6d1a91c8e94bcd4cc
029aa4fa6217dbb239037dec8f2e64f5b94795d0
/数据结构练习/Python算法指南数据结构/123_删除链表中倒数第n个节点.py
e5895f57b7dca317281edff54280a7e8d0b3517a
[]
no_license
tonyyo/algorithm
5a3f0bd4395a75703f9ee84b01e42a74283a5de9
60dd5281e7ce4dfb603b795aa194a67ff867caf6
refs/heads/master
2022-12-14T16:04:46.723771
2020-09-23T06:59:33
2020-09-23T06:59:33
270,216,530
0
0
null
null
null
null
UTF-8
Python
false
false
1,439
py
class ListNode(object): def __init__(self, val, next=None): self.val = val self.next = next class Solution(object): def removeNthFromEnd(self, head, n): res = ListNode(0) res.next = head tmp = res for i in range(0, n): head = head.next while he...
[ "1325338208@qq.com" ]
1325338208@qq.com
1d30a93b7b0fdf10bb8df12a279bd831e5c4df12
50f57af6bc95c755597074138ebef2200c0e0022
/第二天作业/9.将首尾反转,自己写算法实现.py
c44f033e04040dda41193c2a113ad331fe4f9a76
[]
no_license
qiaoy9377/python-base
f18666c1851f5d5f214b72723e04298471e55d63
6c7e4acf96d3582b85464efb8f9d5a6d6d8c2271
refs/heads/main
2023-04-05T05:42:40.021651
2021-04-20T12:53:10
2021-04-20T12:53:10
359,812,810
0
0
null
null
null
null
UTF-8
Python
false
false
609
py
#有一堆字符串,‘abcdef’,将首尾反转,结果:fedcba,不能使用现有的函数或方法,自己写算法实现 #定义字符串 str1 = 'abcdef' #创建一个空列表 list1 = [] #逆着循环取出字符串的数据,插入列表 #1、使用while循环 l = len(str1) #循环变量--数据下标 i = l-1 #循环判断-判断下标大于等于0 while i >= 0: #循环体--取数据插入列表 list1.append(str1[i]) #循环变量发生变化 i -= 1 print(''.join(list1)) #2、使用for循环实现 list2 = [] for i in st...
[ "18335909377@163.com" ]
18335909377@163.com
99d3c391e4b1a82321546dbb646c812be3ae5c73
07c75f8717683b9c84864c446a460681150fb6a9
/python-base/days10_code/demo04_text_a.py
4f8d31d8f263d76e58733be3c497bd13c9224399
[]
no_license
laomu/py_1709
987d9307d9025001bd4386381899eb3778f9ccd6
80630e6ac3ed348a2a6445e90754bb6198cfe65a
refs/heads/master
2021-05-11T09:56:45.382526
2018-01-19T07:08:00
2018-01-19T07:08:00
118,088,974
0
0
null
null
null
null
UTF-8
Python
false
false
178
py
# 以追加内容的方式打开文件 f = open("d:/shuaishuai.txt", "a") # 向文件中追加数据 f.write("\r\n王帅:今晚我们去炸粮仓..") # 关闭文件 f.close()
[ "1007821300@qq.com" ]
1007821300@qq.com
e81498d14e8c062e1e3e7a026d2372dea587c945
a4844ab94268c60ccb3e58e3006bed8e187f4f9c
/decorator_eample.py
cad7c75d3b59eb3bbff7f455b05b056aa56d9c88
[]
no_license
namitha89/python_works
2d9eacaf0c73dcea5695c3446b0923610e963795
d130f4f4f32bf40616fdb3e9eef518d58d2c6a51
refs/heads/master
2022-03-31T11:09:35.840452
2020-01-14T20:40:22
2020-01-14T20:40:22
115,792,078
0
0
null
null
null
null
UTF-8
Python
false
false
602
py
import time def log(filename): def inner(func): def innermost(*args, **kwargs): start = time.time() s = func(*args, **kwargs) end = time.time() with open(filename, "w") as f: diff = end-start x = [start,end,diff] ...
[ "namigowda51@gmail.com" ]
namigowda51@gmail.com
4fee9d06c23ab38f3284349a68a3ea91b4348d7f
e70a17e8a37847a961f19b136f3bbe74393fa2af
/RPI/src/video_stream_opencv/cfg/VideoStream.cfg
ed9b908047679eaf1c59bef03a222c023b12a809
[ "MIT" ]
permissive
Mondiegus/ROS-4x4-CAR-AI
1413ead6f46a8b16005abeea3e0b215caa45f27e
124efe39168ce96eec13d57e644f4ddb6dfe2364
refs/heads/Master
2023-07-14T23:56:53.519082
2021-03-27T17:28:45
2021-03-27T17:28:45
334,233,839
0
0
MIT
2021-02-02T13:00:30
2021-01-29T18:46:16
Makefile
UTF-8
Python
false
false
2,012
cfg
#!/usr/bin/env python from dynamic_reconfigure.parameter_generator_catkin import * PKG = "video_stream_opencv" gen = ParameterGenerator() class LEVEL: NORMAL = 0 RUNNING = 1 # name type level description default min max gen.add("camera_name", str_t, LEVEL.NORMAL, "Camera na...
[ "Mondiegus9@gmail.com" ]
Mondiegus9@gmail.com
4c2077d7acf3d765cf747f4fb6fbcdf1dffc6276
e36225e61d95adfabfd4ac3111ec7631d9efadb7
/problems/CR/auto/problem9_CR.py
9ab4523e3e2e108161cae160b7e968f1641b787e
[ "BSD-3-Clause" ]
permissive
sunandita/ICAPS_Summer_School_RAE_2020
d2ab6be94ac508e227624040283e8cc6a37651f1
a496b62185bcfdd2c76eb7986ae99cfa85708d28
refs/heads/main
2023-01-01T02:06:40.848068
2020-10-15T17:25:01
2020-10-15T17:25:01
301,263,711
5
2
BSD-3-Clause
2020-10-15T17:25:03
2020-10-05T01:24:08
Python
UTF-8
Python
false
false
1,111
py
__author__ = 'patras' from domain_chargeableRobot import * from timer import DURATION from state import state DURATION.TIME = { 'put': 2, 'take': 2, 'perceive': 3, 'charge': 5, 'move': 10, 'moveToEmergency': 5, 'moveCharger': 15, 'addressEmergency': 10, 'wait': 5, } DURATION.COUNTE...
[ "sunandita.patra@gmail.com" ]
sunandita.patra@gmail.com
b453edd28f0abe75121ce1976ba9a9c00c0b850a
c20f811f26afd1310dc0f75cb00992e237fdcfbd
/202-happy-number.py
f7b8c53ffaef5cd4e475b3ce7753353ed5dae8fe
[ "MIT" ]
permissive
dchentech/leetcode
4cfd371fe4a320ab3e95925f1b5e00eed43b38b8
3111199beeaefbb3a74173e783ed21c9e53ab203
refs/heads/master
2022-10-21T09:59:08.300532
2016-01-04T03:21:16
2016-01-04T03:21:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,756
py
""" Question: Happy Number Write an algorithm to determine if a number is "happy". A happy number is a number defined by the following process: Starting with any positive integer, replace the number by the sum of the squares of its digits, and repeat the process until the number equals 1 (where it will st...
[ "mvjome@gmail.com" ]
mvjome@gmail.com
2120159042ebf409524843722f2a78301223752c
d42a9128898d504a9831f1afee3198c4677236c9
/Level_2/기능개발.py
012a8d1f581b77ca300f381fa928db03d99a1447
[]
no_license
ketkat001/Programmers-coding
6848a9c8cffd97b792cfc8856ec135b72af5d688
799baba8d66a9971b43233d231cecbf262b4ea27
refs/heads/master
2023-09-02T23:07:25.614820
2021-10-17T18:12:02
2021-10-17T18:12:02
235,016,879
0
0
null
null
null
null
UTF-8
Python
false
false
663
py
def solution(progresses, speeds): answer = [] while progresses: time = 0 if (100 - progresses[0]) % speeds[0] != 0: time += 1 time += (100 - progresses[0]) // speeds[0] for i in range(len(progresses)): progresses[i] += speeds[i] * time temp, idx = ...
[ "ketkat001@gmail.com" ]
ketkat001@gmail.com
9f12561ad304b6686343604c8f927cda626574b8
26e91aead18d0fad6f5ce8fc4adf7d8e05a2f07f
/tests/util/datetime/calc/test_calculate_days_util.py
53cf0307f8290841c7e426a19284122c18f21258
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
leathe/byceps
40c1f8a1aab3521fcac45d88eab6364d448d4e67
cd0c618af63fed1cd7006bb67da46eac0ddbb1c7
refs/heads/master
2020-12-02T09:02:51.087511
2019-12-14T17:00:22
2019-12-14T17:00:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
530
py
""" :Copyright: 2006-2019 Jochen Kupperschmidt :License: Modified BSD, see LICENSE for details. """ from datetime import date import pytest from byceps.util.datetime.calc import calculate_days_until SOME_DATE = date(1994, 3, 18) @pytest.mark.parametrize('today, expected', [ (date(2014, 3, 16), 2), (date(...
[ "homework@nwsnet.de" ]
homework@nwsnet.de
f0f826009c7d7edec9d20ab836fbd2f002481a5f
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03088/s886343007.py
cb0bffa8d09a57e497014975538a18cc8134c4f7
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
1,102
py
N = int(input()) mod = 10 ** 9 + 7 # 直大さんの解説風 dp = [[[[0] * 4 for _ in range(4)] for _ in range(4)] for _ in range(N + 1)] dp[0][3][3][3] = 1 for Length in range(N): for i in range(4): for j in range(4): for k in range(4): if dp[Length][i][j][k] == 0: conti...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
161008cf4704dcdb1f26126b3a6ceb19798c3bf0
2a8a6327fb9a7ce8696aa15b197d5170661fb94f
/zuora_client/models/post_revenue_schedule_by_date_range_type.py
12aa39cf71f88420db701acb1540ede72ff7edb4
[]
no_license
moderndatainc/zuora-client
8b88e05132ddf7e8c411a6d7dad8c0baabaa6dad
d50da49ce1b8465c76723496c2561a3b8ebdf07d
refs/heads/master
2021-09-21T19:17:34.752404
2018-08-29T23:24:07
2018-08-29T23:24:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
48,281
py
# coding: utf-8 """ Zuora API Reference # Introduction Welcome to the reference for the Zuora REST API! <a href=\"http://en.wikipedia.org/wiki/REST_API\" target=\"_blank\">REST</a> is a web-service protocol that lends itself to rapid development by using everyday HTTP and JSON technology. The Zuora REST A...
[ "jairo.velasco@alertlogic.com" ]
jairo.velasco@alertlogic.com
a35a19b9d67715a726dacdfc4e9dc71bcf0d3f70
13f5984be7be77852e4de29ab98d5494a7fc6767
/100Cases/51-100/num52按位或.py
7b1d3c7885a6b8ca4068d3022d343b79d8057e73
[]
no_license
YuanXianguo/Python-Interview-Master
4252514763fc3f563d9b94e751aa873de1719f91
2f73786e8c51dbd248341559de171e18f67f9bf2
refs/heads/master
2020-11-26T18:14:50.190812
2019-12-20T02:18:03
2019-12-20T02:18:03
229,169,825
0
0
null
null
null
null
UTF-8
Python
false
false
218
py
"""程序分析:0|0=0; 0|1=1; 1|0=1; 1|1=1""" a = 0o77 a_d = 63 a_b = 0b111111 b = 3 b_b = 0b11 num = a | b num_b = 0b111111 print(num_b,num) d = 7 d_b = 0b111 num_ = num | d num_b_ = 0b111111 print(num_b_,num_)
[ "736913978@qq.com" ]
736913978@qq.com
072ffb1a0289a7bf669e19f91d43bfb644b269de
d3c518b69525c04022ff76c583b4c31aae1e4295
/tests/func/grammar/test_special_grammars.py
b04bfc98a47e74b30dfbc9f3986e1c5b5948384c
[ "Python-2.0", "MIT" ]
permissive
boriel/parglare
6714ed8c9c52b174f8c7fdf0bb986446ad2d55d9
74a6d98b6e510ae3c814c517924796c5dccefae0
refs/heads/master
2023-01-28T09:15:44.402669
2020-12-08T10:47:22
2020-12-08T10:47:22
103,997,403
0
0
MIT
2020-12-08T10:47:23
2017-09-18T22:13:24
Python
UTF-8
Python
false
false
7,118
py
# -*- coding: utf-8 -*- """ Test non-deterministic parsing. """ import pytest # noqa import sys from parglare import Parser, GLRParser, Grammar, SLR, LALR from parglare.exceptions import ParseError, SRConflicts, RRConflicts def test_lr_1_grammar(): """From the Knuth's 1965 paper: On the Translation of Languages ...
[ "igor.dejanovic@gmail.com" ]
igor.dejanovic@gmail.com
861c1152d96532898f9e8f77ce6d44266c661726
8500de86f864e60856f4af17cfc7f620fd0e0ec9
/test/counts_table/initialize.py
e8408b6b3e86675fc8984e895ded9060e1ef6026
[ "MIT" ]
permissive
kaladharprajapati/singlet
c813ba7aa3d078659ef7868299b7093df207c6fc
314ba68cbecebbda2806afdc97fdf6ac6f6c672e
refs/heads/master
2020-05-18T06:58:04.697593
2019-02-15T15:50:59
2019-02-15T15:50:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
426
py
#!/usr/bin/env python # vim: fdm=indent ''' author: Fabio Zanini date: 15/08/17 content: Test CountsTable class. ''' # Script if __name__ == '__main__': # NOTE: an env variable for the config file needs to be set when # calling this script print('Instantiating CountsTable') from singlet.co...
[ "fabio.zanini@fastmail.fm" ]
fabio.zanini@fastmail.fm
88bdbcb1399726e566d59184082756a59e84d1fb
609d5408f302c9188b723998762c2c1f7b883af9
/.closet/jython.configurator.efr32/1.0.0.201606231656-435/pyradioconfig/parts/jumbo/profiles/__init__.py
7450887a42996decd085e0a7530498b61cf25be7
[]
no_license
acvilla/Sundial-Beta
6ea4fd44cbf7c2df8100128aff5c39b6faf24a82
9f84e3b5a1397998dfea5287949fa5b1f4c209a6
refs/heads/master
2021-01-15T15:36:19.394640
2016-08-31T20:15:16
2016-08-31T20:15:16
63,294,451
1
0
null
null
null
null
UTF-8
Python
false
false
1,740
py
""" Dumbo specific Profiles How to add a new Profile: -------------------------- * Add a new Python file in this directory (example: Profile_[Name].py) * Inside the Py file, create a class that implements IProfile: >>> class Profile_Base(IProfile): * Implement/override buildProfileModel() function. This func...
[ "acvilla@bu.edu" ]
acvilla@bu.edu
dbd6e34e75a7e79edfad1c60ea67094198683509
15e818aada2b18047fa895690bc1c2afda6d7273
/gs/monitor2/apps/plugins/layouts/gs_layout.py
becc28275206704a061906649bfea056979cc494
[ "Apache-2.0" ]
permissive
ghomsy/makani
4ee34c4248fb0ac355f65aaed35718b1f5eabecf
818ae8b7119b200a28af6b3669a3045f30e0dc64
refs/heads/master
2023-01-11T18:46:21.939471
2020-11-10T00:23:31
2020-11-10T00:23:31
301,863,147
0
0
Apache-2.0
2020-11-10T00:23:32
2020-10-06T21:51:21
null
UTF-8
Python
false
false
2,790
py
# Copyright 2020 Makani Technologies LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to...
[ "luislarco@google.com" ]
luislarco@google.com
911088a4b9e8ea6455ba828f81d588cfeeea396f
4054fde482f06ba5566ff88ff7c65b7221f4fd91
/forml/io/asset/_directory/level/minor.py
c29d58e4031c348c2c45e3b39619ef444c9fcc2b
[ "Apache-2.0" ]
permissive
formlio/forml
e54278c2cc76cdfaf9d4feb405bd1a98c6dcd3e6
373bf4329338a9056e43966b8cfa458529ed2817
refs/heads/main
2023-06-07T21:38:34.952453
2023-05-28T21:53:47
2023-05-28T21:53:47
310,066,051
108
15
Apache-2.0
2023-05-28T19:38:16
2020-11-04T17:04:13
Python
UTF-8
Python
false
false
9,144
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "antonymayi@yahoo.com" ]
antonymayi@yahoo.com
28f1a3340bb89c7960f2c5837f353de0bef683ad
6a087c6fb00ba91f815f997450306a3fac020a8b
/ALL/test用车管理.py
0f11649d1543fe37e76cb14152b7d9d7eb3c6ee9
[]
no_license
anghu3/xizangbianfang
cd2037af5e06cc558bf3ef9ff145e0c33495139b
f4f35195963017c22bd4875853ef31f280f4b6a8
refs/heads/master
2020-03-28T22:31:06.591507
2018-12-14T07:36:47
2018-12-14T07:36:47
149,238,712
0
0
null
null
null
null
UTF-8
Python
false
false
11,159
py
# -*- coding: utf-8 -*- """ Created on Thu Jun 21 14:11:17 2018 @author: PCCC """ import unittest from selenium import webdriver import selenium.webdriver.support.ui as ui from selenium.webdriver.support.ui import Select import time import os import re from public_package.pubilc_package import url,login_n...
[ "935331858@qq.com" ]
935331858@qq.com
b38ea4d4abae4e15f95f4f20b561b5ece41b2d6a
108034973f9046a7603d5fe3f26c59b20a7e68da
/lab/lab05/lab05.py
d7a06219e929cbbf620509d6269d6ca247e50d07
[]
no_license
paulhzq/cs61a
b1b1387cefbaaf1823c02d535891db7d085f3b04
9eee13df9ad113591dc55d106561951cea34abc5
refs/heads/master
2020-05-23T08:16:14.193086
2017-01-15T02:06:18
2017-01-15T02:06:18
70,255,875
8
8
null
null
null
null
UTF-8
Python
false
false
3,704
py
## Lab 5: Mutable Sequences and Trees ## # Sequences def map(fn, seq): """Applies fn onto each element in seq and returns a list. >>> map(lambda x: x*x, [1, 2, 3]) [1, 4, 9] """ "*** YOUR CODE HERE ***" return [fn(x) for x in seq] def filter(pred, seq): """Keeps elements in seq only if th...
[ "paul_hzq@hotmail.com" ]
paul_hzq@hotmail.com
58feed308c72cb6c93a22077050cffeedb86fe77
ee5196e60f2aff4c5756ad3afd641969ce6e75a1
/swagger_client/api/mailboxes_api.py
ab271c60a6a70c66b3c628ef236fa2e2492a5d94
[]
no_license
pc-m/asyncio-ari-ast-id
e52d9729db2d9759f53a4b50e4b8aa407740a634
198ff286ca9cebeebc1c28592dfad4882e3bbdac
refs/heads/master
2021-02-18T12:45:31.651885
2020-01-08T12:21:29
2020-01-08T12:21:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
17,040
py
# coding: utf-8 """ localhost:8088 No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 OpenAPI spec version: 4.0.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import...
[ "safchain@gmail.com" ]
safchain@gmail.com
c14629b1a6e08472ce43288bee91fa595f6c20f5
32735726b6b6416f66e8f6d719382f3ffe3d1177
/or2yw_examples/NYPL/script/ConfigTool.py
0457fd07bb42522d033fa75db24e08329696f2b1
[]
no_license
yixuan21/OR2YWTool
5489d25a2a15d6d2513f909508fd5df97ee6d69b
eada19dccc6d03e80f0795efef949bc19f757fa0
refs/heads/master
2023-02-12T17:27:58.034974
2021-01-07T06:56:16
2021-01-07T06:56:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
494
py
import argparse import LinearOriginalOR2YW as Linear import SPOriginalOR2YW as SP def main(): parser=argparse.ArgumentParser() parser.add_argument('-L','--Linear',help="Generate Linear YW model",action="store_true") parser.add_argument('-SP','--SerialParallel',help="Generate Serial-Parallel YW model",acti...
[ "lilan.scut@gmail.com" ]
lilan.scut@gmail.com
0b2d82c28a801219156d6a83facb2da9e5069808
d47956c25f4f7ce0ae4a39cde40ee8f958f6b8bd
/products/migrations/0009_auto_20161018_0947.py
79ad2a25f0bc70671a7e4a9b1e670c066e1ab9dc
[]
no_license
vaerjngiar/eShopper
de6e6bc4aece91fd766fed35a0654feaf0285163
5c43bc8867e484e03cd18e1a7ed4faf64cad4b7a
refs/heads/master
2020-06-14T09:41:58.021570
2016-12-31T13:25:47
2016-12-31T13:25:47
77,740,671
1
0
null
null
null
null
UTF-8
Python
false
false
1,099
py
# -*- coding: utf-8 -*- # Generated by Django 1.10 on 2016-10-18 06:47 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('products', '0008_product_size'), ] operations = [ migrations.AlterModelOption...
[ "vaerjngiar@gmail.com" ]
vaerjngiar@gmail.com
3663318075fd771c2027ed016c8bd9ecab76c0e4
3996539eae965e8e3cf9bd194123989741825525
/RecoEgamma/EgammaHLTProducers/hltEgammaHLTNxNClusterProducer_cfi.py
57de83bc38ca0be104c1d2bdd00e2e8a2c4304b3
[]
no_license
cms-sw/cmssw-cfipython
01990ea8fcb97a57f0b0cc44a8bf5cde59af2d98
25ee4c810103c4a507ca1b949109399a23a524c5
refs/heads/CMSSW_11_2_X
2023-09-01T16:56:00.658845
2022-06-20T22:49:19
2022-06-20T22:49:19
136,184,115
1
0
null
2022-10-19T14:04:01
2018-06-05T13:47:28
Python
UTF-8
Python
false
false
1,133
py
import FWCore.ParameterSet.Config as cms hltEgammaHLTNxNClusterProducer = cms.EDProducer('EgammaHLTNxNClusterProducer', doBarrel = cms.bool(True), doEndcaps = cms.bool(True), barrelHitProducer = cms.InputTag('hltEcalRegionalPi0EtaRecHit', 'EcalRecHitsEB'), endcapHitProducer = cms.InputTag('hltEcalRegionalPi0Et...
[ "cmsbuild@cern.ch" ]
cmsbuild@cern.ch
88c2969816720474e934b4cd7f2263875bbd96ae
5935025f9c6e83aa006cd64755f71644009dedb5
/core/utils.py
75e2c316b8726d87611f4ba2bf628ecd43c882d9
[]
no_license
zdYng/MyQuantification
24bd546ce1b7ed94115a1eb94b2e11598df95f6b
2fa874be4c8707e9c10bd7620cec2796946badcc
refs/heads/master
2020-09-14T02:10:59.194409
2019-11-21T03:17:18
2019-11-21T03:17:18
222,980,387
1
0
null
null
null
null
UTF-8
Python
false
false
269
py
import datetime as dt class Timer(): def __init__(self): self.start_dt = None def start(self): self.start_dt = dt.datetime.now() def stop(self): end_dt = dt.datetime.now() print('Time token: %s'%(end_dt-self.start_dt))
[ "qianzhongdao@163.com" ]
qianzhongdao@163.com
14ec0e21f7e22754fe439ab3ac53c8b332534207
d308fffe3db53b034132fb1ea6242a509f966630
/pirates/world/ModularAreaBuilder.py
7a52e5645c421e21103107fa08fc0966c217c0e6
[ "BSD-3-Clause" ]
permissive
rasheelprogrammer/pirates
83caac204965b77a1b9c630426588faa01a13391
6ca1e7d571c670b0d976f65e608235707b5737e3
refs/heads/master
2020-03-18T20:03:28.687123
2018-05-28T18:05:25
2018-05-28T18:05:25
135,193,362
3
2
null
null
null
null
UTF-8
Python
false
false
5,335
py
# uncompyle6 version 3.2.0 # Python bytecode 2.4 (62061) # Decompiled from: Python 2.7.14 (v2.7.14:84471935ed, Sep 16 2017, 20:19:30) [MSC v.1500 32 bit (Intel)] # Embedded file name: pirates.world.ModularAreaBuilder from pandac.PandaModules import * from otp.otpbase import OTPRender from pirates.world.SectionAreaBuild...
[ "33942724+itsyaboyrocket@users.noreply.github.com" ]
33942724+itsyaboyrocket@users.noreply.github.com
3be9d317ad09dd674355187358e491d131b899a5
5a52ccea88f90dd4f1acc2819997fce0dd5ffb7d
/alipay/aop/api/response/AlipayAcquireCreateandpayResponse.py
c14ee8bde981d6a5568c67d3c189308b17bf169e
[ "Apache-2.0" ]
permissive
alipay/alipay-sdk-python-all
8bd20882852ffeb70a6e929038bf88ff1d1eff1c
1fad300587c9e7e099747305ba9077d4cd7afde9
refs/heads/master
2023-08-27T21:35:01.778771
2023-08-23T07:12:26
2023-08-23T07:12:26
133,338,689
247
70
Apache-2.0
2023-04-25T04:54:02
2018-05-14T09:40:54
Python
UTF-8
Python
false
false
2,910
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.response.AlipayResponse import AlipayResponse class AlipayAcquireCreateandpayResponse(AlipayResponse): def __init__(self): super(AlipayAcquireCreateandpayResponse, self).__init__() self._buyer_logon_id = None s...
[ "liuqun.lq@alibaba-inc.com" ]
liuqun.lq@alibaba-inc.com
ab60bdb394634c3f7bf7a2949170c5796910f7d6
ed06ef44c944707276a2fca16d61e7820596f51c
/Python/create-target-array-in-the-given-order.py
79a41b9196316ba78a9aa7642dbd5d9bc4c51130
[]
no_license
sm2774us/leetcode_interview_prep_2021
15842bef80637c6ff43542ed7988ec4b2d03e82c
33b41bea66c266b733372d9a8b9d2965cd88bf8c
refs/heads/master
2023-05-29T14:14:49.074939
2021-06-12T19:52:07
2021-06-12T19:52:07
374,725,760
0
0
null
null
null
null
UTF-8
Python
false
false
838
py
# Time: O(n^2) # Space: O(1) class Solution(object): def createTargetArray(self, nums, index): """ :type nums: List[int] :type index: List[int] :rtype: List[int] """ for i in range(len(nums)): for j in range(i): if index[j] >= index[i]: ...
[ "sm2774us@gmail.com" ]
sm2774us@gmail.com
7d944e3db94712dc9662468f900911a794ff785a
27e890f900bd4bfb2e66f4eab85bc381cf4d5d3f
/plugins/module_utils/network/slxos/slxos.py
32f64d815194641c0d66b6c029f0e8f8720df836
[]
no_license
coll-test/notstdlib.moveitallout
eb33a560070bbded5032385d0aea2f3cf60e690b
0987f099b783c6cf977db9233e1c3d9efcbcb3c7
refs/heads/master
2020-12-19T22:28:33.369557
2020-01-23T18:51:26
2020-01-23T18:51:26
235,865,139
0
0
null
null
null
null
UTF-8
Python
false
false
4,455
py
# # (c) 2018 Extreme Networks Inc. # # This file is part of Ansible # # Ansible 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 License, or # (at your option) any later version. # # Ans...
[ "wk@sydorenko.org.ua" ]
wk@sydorenko.org.ua
e8495641c46462cc9829d844091a011b0a87c217
2ed86a79d0fcd299ad4a01310954c5eddcf01edf
/homeassistant/components/zwave_js/update.py
70d12b22dedc1ecb6f6f210e8af6fc7989b19981
[ "Apache-2.0" ]
permissive
konnected-io/home-assistant
037f12c87bb79e19220192eb918e49db1b1a8b3e
2e65b77b2b5c17919939481f327963abdfdc53f0
refs/heads/dev
2023-05-11T08:57:41.891518
2023-05-07T20:03:37
2023-05-07T20:03:37
109,931,626
24
10
Apache-2.0
2023-02-22T06:24:01
2017-11-08T05:27:21
Python
UTF-8
Python
false
false
13,810
py
"""Representation of Z-Wave updates.""" from __future__ import annotations import asyncio from collections import Counter from collections.abc import Callable from dataclasses import asdict, dataclass from datetime import datetime, timedelta from typing import Any, Final from awesomeversion import AwesomeVersion from...
[ "noreply@github.com" ]
konnected-io.noreply@github.com
e4ebbe330afb1e6f903c4911cb59cd16a3843dbd
f62fd455e593a7ad203a5c268e23129473d968b6
/senlin-3.0.1/senlin/tests/unit/policies/test_region_placement.py
3939e9d93d1a7316471447103097329d9aaf624f
[ "Apache-2.0" ]
permissive
MinbinGong/OpenStack-Ocata
5d17bcd47a46d48ff9e71e2055f667836174242f
8b7650128cfd2fdf5d6c8bc4613ac2e396fb2fb3
refs/heads/master
2021-06-23T05:24:37.799927
2017-08-14T04:33:05
2017-08-14T04:33:05
99,709,985
0
2
null
2020-07-22T22:06:22
2017-08-08T15:48:44
Python
UTF-8
Python
false
false
16,780
py
# 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 writing, software # distributed unde...
[ "gongwayne@hotmail.com" ]
gongwayne@hotmail.com
e3a6d3a7c141c5ff1c7cc9d862462fb3c5c9136b
c8a6246f1695521c9acb0eb1ba8552c7f1917ce7
/provider/manga.py
84d1514624cb497c704deed06f0e64e1137d7b1a
[ "Apache-2.0", "MIT", "CC-BY-4.0" ]
permissive
wafle/ebedke
5a391c78e94f056a7aa8f7dda40a5a1bbad3c96b
94d6a3431b674aafc00d88826307dcb74bde3943
refs/heads/master
2020-04-06T11:17:44.297396
2019-01-27T21:08:42
2019-01-27T21:08:42
157,411,406
0
0
NOASSERTION
2018-11-13T16:31:05
2018-11-13T16:31:05
null
UTF-8
Python
false
false
644
py
from datetime import datetime as dt, timedelta from provider.utils import get_dom, on_workdays URL = "http://mangacowboy.hu/" @on_workdays def getMenu(today): dom = get_dom(URL) date = today.strftime("%Y. %m. %d.") menu = dom.xpath(f'//section[@id="weekly_menu"]/ul/li[.//time[contains(text(), "{ date }")...
[ "ijanos@gmail.com" ]
ijanos@gmail.com
a55e1d3310d8edf5e2ef9a5d7119e535b1785777
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/otherforms/_bookstores.py
c045d55bc6dc153405204c67df564094fb1eb46b
[ "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
234
py
#calss header class _BOOKSTORES(): def __init__(self,): self.name = "BOOKSTORES" self.definitions = bookstore self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.basic = ['bookstore']
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
9a1ab659558877fc943ccdb9a204d0b3ea6f68aa
683417cb26b5a4d5b17b437eb49aa4fdbc77de72
/src/nameless/cli.py
591c249cbfaa60b8431e5246476eba4deed5a2fd
[ "BSD-2-Clause" ]
permissive
admdev8/python-nameless
1c36286b0a2f308c4fdc43e05abf5ec403f91c97
838e1f0d90c9a33abba820ffd05beb39b2ef6763
refs/heads/master
2023-04-15T18:19:59.065808
2020-08-06T10:57:15
2020-08-06T10:57:15
292,904,530
0
0
BSD-2-Clause
2023-04-04T01:54:02
2020-09-04T17:10:41
null
UTF-8
Python
false
false
917
py
""" Module that contains the command line app. Why does this file exist, and why not put this in __main__? You might be tempted to import things from __main__ later, but that will cause problems: the code will get executed twice: - When you run `python -mnameless` python will execute ``__main__.py`` as a s...
[ "contact@ionelmc.ro" ]
contact@ionelmc.ro
ce1fbf14e7b412cb90f2965c86787eac5d2a1735
4b37380d52f64d121d4401b2175ed7c8ad0f9fb1
/BertForMultipleChoice/predict.py
98665484c548dced72dfba88cd1013d790f35ddc
[]
no_license
DMStudent/Nlp
09e41b87cd57dbb3a6b3b1b4a4fc211440769c9f
4ff21634b6bdf238e54568828b4a85f5189d6997
refs/heads/master
2020-06-10T17:07:05.591023
2019-06-25T11:37:13
2019-06-25T11:37:13
193,686,045
0
0
null
null
null
null
UTF-8
Python
false
false
21,412
py
# -*- coding: utf-8 -*- # File : predict.py # Author: wangyuan # mail: wyxidian@gmail.com # Created Time: 2019/1/29 #!/bin/bash """BERT finetuning runner.""" from __future__ import absolute_import from __future__ import division from __future__ import print_function import os os.environ["CUDA_VISIBLE_D...
[ "wyxidian@gmail.com" ]
wyxidian@gmail.com
aa3a9c4250b0fe2f225eebda9b637ae200a75b8d
707afa88f15e7bbf7d0d1c89b5076a9d6d17547e
/Python-Selenium unittest/VisionImpairedTC_BigType.py
bb3350c01d25f5f84e9b5988a730a28dc1acbc58
[]
no_license
Longmann94/DFI_testing
769f7211313b6303271b556b97e1038992d927a9
a42430a25bdea98c5551f51003078a547335f7c6
refs/heads/master
2020-03-15T19:11:51.965865
2018-06-07T15:40:27
2018-06-07T15:40:27
132,302,477
3
0
null
2018-05-27T15:04:44
2018-05-06T03:11:25
Python
UTF-8
Python
false
false
11,466
py
import unittest import time import HtmlTestRunner import os from selenium import webdriver from selenium.webdriver.support.ui import Select from selenium.webdriver.common.action_chains import ActionChains from selenium.webdriver.common.keys import Keys cwd = os.getcwd()+'/results' print("Please do not use t...
[ "noreply@github.com" ]
Longmann94.noreply@github.com
8d9ac36f24336db0e63b921c37369c5a633ef374
31e53fb09646ad38a780abd94ecdf2ac95f42a2c
/mietrechtspraxis/mietrechtspraxis/doctype/mietrechtspraxis_api/mietrechtspraxis_api.py
6cc2b1b7829925fb9cd5ca5b38d7a1291038dcd6
[ "MIT" ]
permissive
alkuhlani/mietrechtspraxis
9521a1bee47b7195bc0e2bdc45969e71af220cbe
d46b404af4833c374fc1a66878f84d18a4842a08
refs/heads/master
2023-06-29T22:14:42.230038
2021-08-03T14:01:11
2021-08-03T14:01:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,256
py
# -*- coding: utf-8 -*- # Copyright (c) 2021, libracore AG and contributors # For license information, please see license.txt from __future__ import unicode_literals import frappe from frappe.model.document import Document from frappe import _ import requests import json import hashlib from cryptography.fernet import ...
[ "joel.mesmer@libracore.com" ]
joel.mesmer@libracore.com
0609114ce349631e21e78619f2e13aaeae8803f9
06933693ff601156402dc1c0a424cf292bf0c6ed
/home/management/commands/load_initial_data.py
9cb5d99213107dee3c487d2b72e77805191def94
[]
no_license
crowdbotics-apps/onboard-5295
77f6daad336d7a14c296cf7015147d711d412505
45cd684a02613a2527e52faadf96a38991b76987
refs/heads/master
2022-12-14T23:39:31.154518
2019-06-27T23:42:07
2019-06-27T23:42:07
194,176,736
0
0
null
2022-12-08T20:50:16
2019-06-27T23:41:28
Python
UTF-8
Python
false
false
719
py
from django.core.management import BaseCommand from home.models import CustomText, HomePage def load_initial_data(): homepage_body = """ <h1 class="display-4 text-center">OnBoard.</h1> <p class="lead"> This is the sample application created and deployed from the crowdbotics slack app...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
ac8854b98b82c5621e509614b257be316cedf096
066ee4df594a5dc90335d271b9d5a1b1e2a4d34c
/src/lib/wtforms/ext/i18n/form.py
60544824f90cb1b77f8f92b83f9b91d28f78b627
[]
permissive
ychen820/microblog
a2d82447525325ec58285c2e5db58b79cceaca1b
d379afa2db3582d5c3be652165f0e9e2e0c154c6
refs/heads/master
2021-01-20T05:58:48.424357
2015-04-28T22:03:09
2015-04-28T22:03:09
32,948,331
0
2
BSD-3-Clause
2020-07-25T05:04:35
2015-03-26T19:45:07
Python
UTF-8
Python
false
false
1,259
py
from wtforms import form from wtforms.ext.i18n.utils import get_translations translations_cache = {} class Form(form.Form): """ Base form for a simple localized WTForms form. This will use the stdlib gettext library to retrieve an appropriate translations object for the language, by default using th...
[ "ychen207@binghamton.edu" ]
ychen207@binghamton.edu
29254a283d32280f056293e7391c7261bde9d15c
3655215852ee2fb1864dbfa1ce924290a2c4f4b9
/Tuple_operation.py
43fe5822ba8f491fdff046af229963119819a470
[]
no_license
shubhamkanade/Niyander-Python
8b318df2b8ae33b943dcf83eb01c00577914ca59
2b6a4780707e26852aa950d7c3e54be1f3b2080b
refs/heads/main
2023-06-16T03:44:07.833619
2021-07-06T03:09:16
2021-07-06T03:09:16
383,021,140
0
0
null
null
null
null
UTF-8
Python
false
false
148
py
Tuple=('a',) Tuple1="a","b","c","d" Tuple2=(1,2,3,4,5) print Tuple1+Tuple2 print Tuple del Tuple print Tuple #name 'tuple is not defined'
[ "shubhamkanade98@gmail.com" ]
shubhamkanade98@gmail.com
e623bae8fc46dc8fb0e597e972905d9563a89e96
fcd965c9333ee328ec51bc41f5bc0300cc06dc33
/LeetCode/Blind 75/Dynamic Programming/1D Dynamic/91_decode_ways.py
d0549868e32f709b896aa8002f90fd411e175c0e
[]
no_license
henrylin2008/Coding_Problems
699bb345481c14dc3faa8bab439776c7070a1cb0
281067e872f73a27f76ae10ab0f1564916bddd28
refs/heads/master
2023-01-11T11:55:47.936163
2022-12-24T07:50:17
2022-12-24T07:50:17
170,151,972
2
0
null
null
null
null
UTF-8
Python
false
false
3,074
py
# 91. Decode Ways # Link: https://leetcode.com/problems/decode-ways/ # Medium # A message containing letters from A-Z can be encoded into numbers using the following mapping: # # 'A' -> "1" # 'B' -> "2" # ... # 'Z' -> "26" # To decode an encoded message, all the digits must be grouped then mapped back into letters usi...
[ "henrylin2008@yahoo.com" ]
henrylin2008@yahoo.com
31e19091980ddd7815391fd7ccbb4d6062a92ac5
571a89f94f3ebd9ec8e6b618cddb7d05811e0d62
/abc177/c/main.py
0341cb88173c4b0336bda72891d1c6cad1f960a8
[]
no_license
ryu19-1/atcoder_python
57de9e1db8ff13a107b5861f8f6a231e40366313
cc24b3c2895aad71d40cefbb8e2893dc397b8f4f
refs/heads/master
2023-05-10T05:32:16.507207
2021-05-19T17:48:10
2021-05-19T17:48:10
368,954,430
0
0
null
null
null
null
UTF-8
Python
false
false
567
py
#!/usr/bin/env python3 import sys from collections import deque, Counter from heapq import heappop, heappush from bisect import bisect_right from itertools import accumulate sys.setrecursionlimit(10**6) INF = 10**12 m = 10**9 + 7 def main(): N = int(input()) A = list(map(int, input().split())) ans = 0 ...
[ "ryu1007kami@gmail.com" ]
ryu1007kami@gmail.com
75a8e3640a339ab44e8583e808b41f364ce368d4
ccf94dcb6b1500fcbbd56964ae8c4832a496b8b3
/python/baiduads-sdk-auto/test/test_plat_shop_map_vo.py
8fd6e86688a996ef5f7a879a93e7551fba632853
[ "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
656
py
""" dev2 api schema 'dev2.baidu.com' api schema # noqa: E501 Generated by: https://openapi-generator.tech """ import sys import unittest import baiduads from baiduads.subshopopenapi.model.plat_shop_map_vo import PlatShopMapVo class TestPlatShopMapVo(unittest.TestCase): """PlatShopMapVo unit test stu...
[ "yangxp@YangxpdeMacBook-Pro.local" ]
yangxp@YangxpdeMacBook-Pro.local
4bc7a4f38cde5846e34d476537c242652d64db22
c71fc2c91b119eeac9eafe2038b0e42ef11098f7
/new/trucks/migrations/0005_auto_20190124_1843.py
1af8d75d9619bbc06040522809a2a6f4308001c1
[]
no_license
abhinavsharma629/Reminder-System
c3848fda4947506bcd35759c2966392b34e8ef6a
fb95e3b8ae8ce6eee116fb0a0aac9187189d515d
refs/heads/master
2020-04-20T08:47:40.068485
2019-02-01T19:36:20
2019-02-01T19:36:20
168,749,751
6
0
null
null
null
null
UTF-8
Python
false
false
754
py
# Generated by Django 2.1.5 on 2019-01-24 18:43 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('trucks', '0004_remove_notifications_boolean1'), ] operations = [ migrations.AddField( model_name='notifications', na...
[ "abhinavsharma629@gmail.com" ]
abhinavsharma629@gmail.com
d753f4c532b52b9485026a9353250a6782eec47b
1d6abe27a802d53f7fbd6eb5e59949044cbb3b98
/tensorflow/python/keras/layers/preprocessing/normalization_distribution_test.py
4bf15da435814ac8a2af97f42807594c54a819ee
[ "Apache-2.0" ]
permissive
STSjeerasak/tensorflow
6bc8bf27fb74fd51a71150f25dc1127129f70222
b57499d4ec0c24adc3a840a8e7e82bd4ce0d09ed
refs/heads/master
2022-12-20T20:32:15.855563
2020-09-29T21:22:35
2020-09-29T21:29:31
299,743,927
5
1
Apache-2.0
2020-09-29T21:38:19
2020-09-29T21:38:18
null
UTF-8
Python
false
false
5,270
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
ef358f189d6d0f154253c9a6be092c1bde2adf0f
4085874e861c40f94b0ba82fdbff273762c26eb2
/test/functional/p2p_permissions.py
058d216bc61d9623ec3c1c5d214f10d8cf5c2b01
[ "MIT" ]
permissive
zortcoin/zortcoin
82632c9ae46d57ef77ea7e79ab000f2e002dfaf3
379a1d01cc40c5c8ea50bdc41eded0dfbd1724f1
refs/heads/master
2022-07-27T20:33:34.543723
2021-08-25T16:25:17
2021-08-25T16:25:17
380,851,757
2
0
null
null
null
null
UTF-8
Python
false
false
8,160
py
#!/usr/bin/env python3 # Copyright (c) 2015-2020 The Zortcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test p2p permission message. Test that permissions are correctly calculated and applied """ from tes...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
f1d0ba5bd2156ebedefeb9b9ed9f945bc33c6384
83de24182a7af33c43ee340b57755e73275149ae
/aliyun-python-sdk-config/aliyunsdkconfig/request/v20200907/UpdateConfigRuleRequest.py
675e72a0b4aec9655860d7318e001d677ada76f5
[ "Apache-2.0" ]
permissive
aliyun/aliyun-openapi-python-sdk
4436ca6c57190ceadbc80f0b1c35b1ab13c00c7f
83fd547946fd6772cf26f338d9653f4316c81d3c
refs/heads/master
2023-08-04T12:32:57.028821
2023-08-04T06:00:29
2023-08-04T06:00:29
39,558,861
1,080
721
NOASSERTION
2023-09-14T08:51:06
2015-07-23T09:39:45
Python
UTF-8
Python
false
false
4,698
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "sdk-team@alibabacloud.com" ]
sdk-team@alibabacloud.com
511596a5455b5c79e535abba7edf200f8b190a99
a7b175357e1ed29dc8332a950e320e64f5db6703
/venv/Lib/site-packages/wx/grid.pyi
26fff646ebf1389174b5c523aa73d193cfd8830b
[ "MIT", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
saleguas/deskOrg
f65b8603464dbb0e17363ca8a724c12d45da8116
c21d9abf56e1756fa8073ccc3547ec9a85d83e2a
refs/heads/master
2022-12-13T18:06:33.029636
2020-04-05T20:19:56
2020-04-05T20:19:56
164,255,371
3
1
MIT
2022-12-08T01:42:51
2019-01-05T22:15:27
Python
UTF-8
Python
false
false
105,319
pyi
# -*- coding: utf-8 -*- #--------------------------------------------------------------------------- # This file is generated by wxPython's PI generator. Do not edit by hand. # # The *.pyi files are used by PyCharm and other development tools to provide # more information, such as PEP 484 type hints, than it is able t...
[ "salvadoraleguas@gmail.com" ]
salvadoraleguas@gmail.com
b859d46b4f18efbfc0b5398705cd8d08f1294d73
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03738/s549313659.py
12a3cd23e0f77bb5e3c9bf8518cad064d24634fd
[]
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
141
py
a = int(input()) b = int(input()) ret = '' if( a > b): ret = 'GREATER' elif( a < b): ret = 'LESS' else: ret = 'EQUAL' print(ret)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
728ca7506be2deabb34816b5fe10cfbb388e53ee
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/otherforms/_thoughts.py
ce645c20272a682102eb7f3134c14f62de160bfa
[ "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
226
py
#calss header class _THOUGHTS(): def __init__(self,): self.name = "THOUGHTS" self.definitions = thought self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.basic = ['thought']
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
f344e97b63a1313d7160350354d22691bb915352
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03407/s365812995.py
9924c2f8b0a742afb50aef0a55fd4b35d69a8361
[]
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
90
py
A,B,C = map(int, input().split()) if C>(A+B): ans = 'No' else: ans = 'Yes' print(ans)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
2c716b8c2b1ae34ef0a61b9c3da1bd67c44ace48
de27e6d143f40d5948244597b861d522a9a272f6
/fjord/heartbeat/migrations/0002_auto_20150213_0947.py
a4f74d469a7dc0c38c5f0fcaed78e8aba1a95b7d
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
mozilla/fjord
7f31af6dd80869ca856f8a02ff10e72c81685368
0fcb81e6a5edaf42c00c64faf001fc43b24e11c0
refs/heads/master
2023-07-03T18:20:01.651759
2017-01-10T20:12:33
2017-01-10T20:12:33
5,197,539
18
22
null
2016-08-22T14:56:11
2012-07-26T21:25:00
Python
UTF-8
Python
false
false
784
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('heartbeat', '0001_initial'), ] operations = [ migrations.AlterField( model_name='survey', name='desc...
[ "willkg@mozilla.com" ]
willkg@mozilla.com
08ca57f7bfb8b2b56205a27f3306087d7ff3dfbb
63bf6161532eefa72aa3be8b01cde601b08507dc
/python-mapping-example/fhir_model_generator/model/namingsystem.py
e7edf545c950a359c609ec28b6f86a71fd632773
[ "Apache-2.0" ]
permissive
Healthedata1/mFHIR
4ef370b87e03e973918e5683977d32fe262655bc
1b4ea441cfa08b661416a3badedf7e90f2809163
refs/heads/master
2022-12-10T21:07:03.948406
2021-06-18T01:58:23
2021-06-18T01:58:23
129,964,251
9
5
null
2022-12-09T05:23:54
2018-04-17T20:57:15
HTML
UTF-8
Python
false
false
1,832
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Generated from FHIR 4.0.1-9346c8cc45 (http://hl7.org/fhir/StructureDefinition/NamingSystem) on 2020-02-10. # 2020, SMART Health IT. import sys from dataclasses import dataclass, field from typing import ClassVar, Optional, List from .backboneelement import BackboneEl...
[ "ehaas@healthedatainc.com" ]
ehaas@healthedatainc.com
fe6c635055b56eee3c9d2f141ce391f88f17af89
87119ec9cea61be175f2a1f16f0e37d060cde9af
/django/myproject/guestbook/views.py
10b4c58f64dd2648adb10abbea42488375fd7b7c
[]
no_license
atkins126/sample_nullpobug
bce9c1bf2a31921ac665a18dc2a62be3bdef493e
b2ba65f42f717f0ceb2cf14fe28e90c460bfde87
refs/heads/master
2023-02-16T11:37:05.290069
2021-01-18T14:43:40
2021-01-18T14:43:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
672
py
# coding: utf-8 from django.views.generic import CreateView from django.core.urlresolvers import reverse from guestbook.models import Greeting from guestbook.forms import GreetingForm class IndexView(CreateView): u""" テンプレートによるフォーム表示と 送信されたフォーム内容をモデルに保存する クラスベース汎用ビューを使用 """ model = Greeting ...
[ "tokibito@gmail.com" ]
tokibito@gmail.com
e795fe5a43ef8191430bc02b8bfe80d6b2af1e33
d60ee49abaee6c74c5b777f8f112a7f75f71f029
/transcriptome/variants/combine_indels/merge_callers.py
4ad773516e591cc4ea2af75aac5c24231071fc5b
[]
no_license
ak352/melanomics
41530f623b4bfdbd5c7b952debcb47622d1a8e88
fc5e6fdb1499616fb25a8dc05259add8a65aeca0
refs/heads/master
2020-12-24T16:14:42.271416
2015-08-06T12:48:52
2015-08-06T12:48:52
18,439,919
0
0
null
null
null
null
UTF-8
Python
false
false
1,585
py
import sys for line in open(sys.argv[1]): if line.startswith("##"): print line.rstrip("\n") elif line.startswith("#CHROM"): line = line.rstrip("\n").split("\t") line = line[0:9] line.append(sys.argv[2]) print "\t".join(line) else: line = line.rstrip("\n").spl...
[ "ak@uni.fake" ]
ak@uni.fake
8bc514d81e1bc5d9600495d88105cfc2b69996ab
a46d135ba8fd7bd40f0b7d7a96c72be446025719
/packages/python/plotly/plotly/validators/scatter3d/error_y/_arrayminussrc.py
3ac5aee82f37d414b78135b25b6c1c4ccf604ac0
[ "MIT" ]
permissive
hugovk/plotly.py
5e763fe96f225d964c4fcd1dea79dbefa50b4692
cfad7862594b35965c0e000813bd7805e8494a5b
refs/heads/master
2022-05-10T12:17:38.797994
2021-12-21T03:49:19
2021-12-21T03:49:19
234,146,634
0
0
MIT
2020-01-15T18:33:43
2020-01-15T18:33:41
null
UTF-8
Python
false
false
435
py
import _plotly_utils.basevalidators class ArrayminussrcValidator(_plotly_utils.basevalidators.SrcValidator): def __init__( self, plotly_name="arrayminussrc", parent_name="scatter3d.error_y", **kwargs ): super(ArrayminussrcValidator, self).__init__( plotly_name=plotly_name, ...
[ "noreply@github.com" ]
hugovk.noreply@github.com
40439daa08c438b8507f12a556ecfd72a95a7444
284f2bfaabf91899211e56063026857c496965cf
/tuites/migrations/0001_initial.py
8de3c24cc1b399b272364d1abd936290637e1a55
[]
no_license
vanessa/building-tuirer
7b56bb9791659fcd04942d2c84a393c3c226f8c4
61d85df7d120387700b2e449a6fde5fb9ca7cfaa
refs/heads/master
2022-12-11T07:25:14.174448
2018-08-07T05:18:29
2018-08-07T05:18:29
142,210,249
18
0
null
2022-12-08T02:19:48
2018-07-24T20:35:34
Python
UTF-8
Python
false
false
840
py
# Generated by Django 2.0.7 on 2018-07-26 19:50 import django.db.models.deletion from django.conf import settings from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] ope...
[ "vanessa@vinta.com.br" ]
vanessa@vinta.com.br
66f994c8d72a1dd8f06737363ada41762e6d30ec
7ae0efc9798b7c9fa720022ed5d763d6ab27cd13
/python/paddle/fluid/tests/unittests/mlu/test_batch_norm_op_mlu_v2.py
f608344f6e0363864a76a23f8d8c10dace130149
[ "Apache-2.0" ]
permissive
ceci3/Paddle
e1d0b56a1bb1de9a0d26977868795f86e2c0580b
e4d475eabd83e7a6fa1e88c64c28747450f87d66
refs/heads/develop
2023-08-03T03:43:35.139011
2022-02-08T11:36:07
2022-02-08T11:36:07
171,274,803
0
3
Apache-2.0
2021-08-24T07:14:24
2019-02-18T11:49:16
C++
UTF-8
Python
false
false
11,789
py
# Copyright (c) 2022 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" ]
ceci3.noreply@github.com
9f8f7a635445ea0cbc31c0a85db8d79724111967
d1b44d58d4eaa845e1b460f338e61857ac00cd6f
/ch08/misung/ch8_2_misung.py
656f723a7c00f993ec717b0705ca0a4f183727ba
[]
no_license
hyo-eun-kim/algorithm-study
549ffe1d453ceede9075c1a8df55a67cf76bde00
1ca8298361b6a030d2569c06a34d955cc5e4b1bb
refs/heads/main
2023-03-26T14:32:49.597667
2021-03-25T23:29:00
2021-03-25T23:29:00
301,707,534
0
1
null
null
null
null
UTF-8
Python
false
false
720
py
# 두 정렬 리스트의 병합 # 정렬되어있는 두 리스트를 연결하라! class Node: def __init__(self, val, next=None): self.val = val self.next = next node1 = Node(1) node2 = Node(2) node3 = Node(4) node1.next = node2 node2.next = node3 node4 = Node(1) node5 = Node(3) node6 = Node(4) node4.next = node5 node5.nex...
[ "noreply@github.com" ]
hyo-eun-kim.noreply@github.com
c743c8ff68fe3bd53074f445c816621b0e9b75b1
700f9f9e319ebd26d2557d64ea3827808dfad2f5
/tests/fixtures/test_contributors/content_04_expected.py
0572936d0420acaa17e064c4a1f555556f4a9eb7
[ "MIT" ]
permissive
elifesciences/elife-tools
1b44e660e916a82ef8ff64dd5a6ee5506e517359
bc16e7dd5d6245077e39f8561b99c9acd510ddf7
refs/heads/develop
2023-03-06T08:37:47.424282
2023-02-20T20:40:49
2023-02-20T20:40:49
30,274,058
13
11
MIT
2023-02-20T20:40:50
2015-02-04T01:14:41
Python
UTF-8
Python
false
false
1,436
py
# based on elife article 75374 which has a collab inside a collab expected = [ { "type": "author", "group-author-key": "group-author-id1", "collab": "the PRACTICAL consortium", }, { "type": "author non-byline", "group-author-key": "group-author-id1", "surname"...
[ "gnott@starglobal.ca" ]
gnott@starglobal.ca
1d9bf8c0601b435f06ae15415a41d8a5a8c7e83d
5e255ad1360c90478393744586663741a9569c21
/linebot/v3/insight/api/insight.py
7cb1f70fee34cb4a8a7f6d0d6c1891e351a40fa2
[ "Apache-2.0" ]
permissive
line/line-bot-sdk-python
d76268e8b542060d6eccbacc5dbfab16960ecc35
cffd35948238ae24982173e30b1ea1e595bbefd9
refs/heads/master
2023-08-31T22:12:31.698183
2023-08-28T01:10:09
2023-08-28T01:10:09
70,553,423
1,898
1,181
Apache-2.0
2023-09-11T05:14:07
2016-10-11T03:42:26
Python
UTF-8
Python
false
false
37,184
py
# coding: utf-8 """ LINE Messaging API(Insight) This document describes LINE Messaging API(Insight). # noqa: E501 The version of the OpenAPI document: 0.0.1 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. """ import re # noqa: F401 import io f...
[ "noreply@github.com" ]
line.noreply@github.com
64cf23257d7a451e2b536d2a5acb97fafdb2eed9
b2f256c584aa071a58d8905c3628d4a4df25a506
/utils/python/python/oj/lonlat.py
c267b99d4fcd491d6c2252c584e21e195d26b8f2
[ "MIT" ]
permissive
maximebenoitgagne/wintertime
6865fa4aff5fb51d50ea883b2e4aa883366227d8
129758e29cb3b85635c878dadf95e8d0b55ffce7
refs/heads/main
2023-04-16T22:08:24.256745
2023-01-10T20:15:33
2023-01-10T20:15:33
585,290,944
0
0
null
null
null
null
UTF-8
Python
false
false
679
py
from pylab import * from scipy.special import ellipeinc def lonlatdist(lonv, latv): """ (spherical) distance along piece-wise linear paths in lat-lon space """ d = 0. res = [d] for i in range(len(lonv)-1): lon0 = lonv[i] lon1 = lonv[i+1] lat0 = latv[i] lat1 = latv[i+1] ...
[ "maxime.benoit-gagne@takuvik.ulaval.ca" ]
maxime.benoit-gagne@takuvik.ulaval.ca
643dcab14fae0011f2251e73bc8a67b69fe53737
1b2ff7633c5c412afcd830a1ad47ed91e41dc603
/backend/settings/asgi.py
258cd8bdcc592f753899d56ebc8618e3d7bced9e
[]
no_license
taivy/objects_test_assignment
931a1ed42c43eaae09ce6b34dc9ad26ca3590e6e
7cd9d040d54f9643447eb3a0c9b1d41315643c52
refs/heads/main
2023-01-07T19:28:15.556318
2020-10-23T14:21:31
2020-10-23T14:21:31
305,916,842
0
0
null
null
null
null
UTF-8
Python
false
false
397
py
""" ASGI config for objects_test project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.1/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANGO_...
[ "aie803ef4g@gmail.com" ]
aie803ef4g@gmail.com
cead2db18a4505b8b8747c0f7dab990b7e7895db
af4ad182e46d032ddff504196be7d529b7c82078
/overlap/vcfFindDifferentButSame.py
34e3bb052a6ddc355640b30a0b942a42e92271c8
[]
no_license
BD2KGenomics/brca-pipeline
a8423bf3d651ed395c16aa6b45add78436e870bb
3df911a6a922338422ce17e8cedba9480d6977f2
refs/heads/master
2021-01-18T12:50:14.194467
2016-08-10T00:11:36
2016-08-10T00:11:36
34,352,507
3
1
null
null
null
null
UTF-8
Python
false
false
6,474
py
import pysam import glob, gzip from itertools import combinations from os.path import basename import logging, sys, optparse from collections import defaultdict from os.path import join, basename, dirname, isfile # maximum distance between two variants to get compared MAXDIST=50 # do we check if the refAllele seque...
[ "max@soe.ucsc.edu" ]
max@soe.ucsc.edu
b4ebc885ac2131d59ae87a4e0685e7737963e6e7
530b180c3aade8e67cc61ad2baddff018f7d59a8
/robocorp-code/src/robocorp_code/_language_server_login.py
3ff66378a390392099399481b4633b3dec39aa58
[ "Apache-2.0" ]
permissive
robocorp/robotframework-lsp
67a1f35b9268d349045eb8fe930ea381c2d94cae
d72e5310ed4a8165d7ee516d79e0accccaf7748c
refs/heads/master
2023-08-17T05:12:43.598270
2023-08-12T12:11:22
2023-08-12T12:13:21
235,202,865
167
72
Apache-2.0
2023-09-13T22:39:09
2020-01-20T21:31:20
Python
UTF-8
Python
false
false
3,071
py
from robocorp_ls_core.protocols import IEndPoint, ActionResultDict from robocorp_ls_core.robotframework_log import get_logger from robocorp_code import commands from robocorp_ls_core.command_dispatcher import _SubCommandDispatcher from robocorp_code.protocols import IRcc, CloudLoginParamsDict log = get_logger(__name__...
[ "fabiofz@gmail.com" ]
fabiofz@gmail.com