blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
288
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
684 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
147 values
src_encoding
stringclasses
25 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
128
12.7k
extension
stringclasses
142 values
content
stringlengths
128
8.19k
authors
listlengths
1
1
author_id
stringlengths
1
132
f1dd184fab4820203a5c6d871c0a5133cacf042e
b21b5467286381a1b4db49f305af587e5e2fded1
/按照特定的長度分割.py
00d94bec695de312eff40cd84974ed6a17224f46
[]
no_license
anlaganlag/Funcs
76be59400fee66e1269942aaf653bf4bdb8908e7
76fc2992164c85ad6edcb01e1d4a9570ce7ce1ac
refs/heads/master
2021-06-30T17:05:25.169029
2021-03-26T03:19:21
2021-03-26T03:19:21
227,739,253
0
0
null
null
null
null
UTF-8
Python
false
false
1,225
py
""" 566. 重塑矩阵 在MATLAB中,有一个非常有用的函数 reshape,它可以将一个矩阵重塑为另一个大小不同的新矩阵,但保留其原始数据。 给出一个由二维数组表示的矩阵,以及两个正整数r和c,分别表示想要的重构的矩阵的行数和列数。 重构后的矩阵需要将原始矩阵的所有元素以相同的行遍历顺序填充。 如果具有给定参数的reshape操作是可行且合理的,则输出新的重塑矩阵;否则,输出原始矩阵。 示例 1: 输入: nums = [[1,2], [3,4]] r = 1, c = 4 输出: [[1,2,3,4]] 解释: 行遍历nums的结果是 [1,2,3,4]。新的矩阵是 1 * 4 矩阵, 用之前的元素值一...
[ "tanjhu@163.com" ]
tanjhu@163.com
1750f204567162d19ae784b978042ffb80cfc917
9f2f386a692a6ddeb7670812d1395a0b0009dad9
/python/paddle/fluid/tests/unittests/test_fmax_op.py
608d97b68ac22acd8a9a672b4bf27d058834c986
[ "Apache-2.0" ]
permissive
sandyhouse/Paddle
2f866bf1993a036564986e5140e69e77674b8ff5
86e0b07fe7ee6442ccda0aa234bd690a3be2cffa
refs/heads/develop
2023-08-16T22:59:28.165742
2022-06-03T05:23:39
2022-06-03T05:23:39
181,423,712
0
7
Apache-2.0
2022-08-15T08:46:04
2019-04-15T06:15:22
C++
UTF-8
Python
false
false
7,948
py
# Copyright (c) 2021 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" ]
sandyhouse.noreply@github.com
18c005016ba798a11db8660dd0793a18bba6e401
983f77449bbea7ae1993a93d7f4431f0f07193f0
/basics/pixel_helpers.py
9028922646309dd15dd490eece610f5798d3b5ac
[]
no_license
johnholl/TDnets
09d45f2bab138639e3be107d2e44df01533c10c3
00afc8a5ad412047c658deed2f487a98f062788b
refs/heads/master
2020-06-19T06:41:42.159903
2017-03-13T13:02:11
2017-03-13T13:02:11
74,916,539
0
0
null
null
null
null
UTF-8
Python
false
false
825
py
import numpy as np def check_valid_split(im, num_cuts): rem1 = len(im[0]) % num_cuts rem2 = len(im[1]) % num_cuts if rem1+rem2 == 0: return True else: return False def split_image(im, num_cuts): cells = np.reshape(im, newshape=[num_cuts, num_cuts, len(im[0])/num_cuts, len(im[1])...
[ "johnholl@umich.edu" ]
johnholl@umich.edu
89e95fb52aaef72eaf8afaf098fae63722e0afa4
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02411/s403847529.py
a81ca239448997e3dc7d6da14a566826ce28cce7
[]
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
483
py
ret = [] while True: m, f, r = map(int, raw_input().split()) if (m,f,r) == (-1, -1, -1): break if m == -1 or f == -1: ret += 'F' elif 80 <= m + f: ret += ['A'] elif 65 <= m + f < 80: ret += ['B'] elif 50 <= m + f < 65: ret += ['C'] elif 30 <= m + f < 5...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
90a3d72ff5f822b205c1defa4fe78d340ec256d8
3fde7eae5391795834b28dced75d607ec00302d1
/tests/test_radial_resolution.py
02df85022f1446659550f5f67e2193e78ea2ddb0
[ "MIT" ]
permissive
nlaurance/pyscad
047c16aa7e57f3e883b886b29d7f96a6dff66efa
3530285011c757fbfbbb36201b8e40ce4cf16c49
refs/heads/master
2021-05-30T18:42:48.377218
2016-02-25T18:58:33
2016-02-25T18:58:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
692
py
from boiler import * class TestRadialResolution(unittest.TestCase): def test_cylinder_radial_resolution_scad(self): c = Cylinder(h=10, r=20, fn=10, fa=1) answer = "cylinder(r=20.0, h=10.0, center=false, $fn=10.0);" code_compare(c.render_scad(), answer) c.fn = 0 answer = "cyl...
[ "giles@polymerase.org" ]
giles@polymerase.org
36bc2ece69063a2a75678829f68a7f99bf33f024
de40d3fa8d8af0030556d27d6833f6a1a0e7700c
/baekjoon/2178py/a.py
56d2975776626891fcde1e62826b3e5e94d88187
[]
no_license
NeoMindStd/CodingLife
cd6a627209c0353f4855f09fd5dfef8da4bbfef6
bcb6c3752f472e6a4f3b8f158d02bc3599dfcda3
refs/heads/master
2022-12-24T10:42:45.390085
2022-12-11T16:27:16
2022-12-11T16:27:16
191,797,634
2
0
null
null
null
null
UTF-8
Python
false
false
1,517
py
import collections n, m = map(int, input().split()) maze = [[0]*(m+2)] for _ in range(n): maze.append([0]+list(map(int, " ".join(map(str, input())).split()))+[0]) maze += [[0]*(m+2)] Q = collections.deque([]) deQ = Q.popleft enQ = Q.append visitFlag = [[False]*(m+2) for _ in range(n+2)] class Pos: def __i...
[ "dwj1996@naver.com" ]
dwj1996@naver.com
82edb09745b6e156f14f649778f67c7c333e3486
008c065391d766fec2f2af252dd8a5e9bf5cb815
/Chef and Card Game.py
08f0f4aba68926d28d0160dd829d805074a3efa0
[]
no_license
22Rahul22/Codechef
b261ab43ff5ff64648a75ad1195e33cac2cfec52
1f645c779a250a71d75598e1eabad7e52dd6b031
refs/heads/master
2022-11-29T21:51:09.578798
2020-08-19T06:20:23
2020-08-19T06:20:23
288,650,009
0
0
null
null
null
null
UTF-8
Python
false
false
583
py
def digit(x): s = 0 while x > 0: r = x % 10 s += r x = x // 10 return s t = int(input()) for _ in range(t): n = int(input()) chef = 0 morty = 0 for i in range(n): a, b = map(int, input().split()) sum1 = digit(a) sum2 = digit(b) if sum...
[ "rahulbhl22@gmail.com" ]
rahulbhl22@gmail.com
b7092d83351d6b5fddc5cf8dbd5e5a642e83309a
e6e5141787917abdb07308f832a36a467cc664f6
/source/caseTool/writeJavaFromExcel/script/Field.py
53423954ae6df68f48b795942aad2532f93c1de2
[]
no_license
temp9999gi/projectautomation
a34ef13dc371c018bbb5808e0d8dec285e396dc9
4e1f3eed5fb481956d045019034d5fb4bd5828dd
refs/heads/master
2020-05-17T10:58:45.758691
2007-08-21T14:36:14
2007-08-21T14:36:14
33,873,113
0
0
null
null
null
null
UTF-8
Python
false
false
972
py
# start #from DbAndJavaTypeMapper import * from CommonUtil import * class Field: def setAttributes(self, fieldVisibility, fieldType, fieldName): #fieldEng, fieldKor, fieldType, fieldVisibility, key, colSeq self.fieldVisibility = fieldVisibility self.fieldType = fieldType self.fieldName ...
[ "kusung25@40af2166-402a-0410-87ae-1d88bcb22c19" ]
kusung25@40af2166-402a-0410-87ae-1d88bcb22c19
2e6676ef30a18319ac524a762ecfc74708c28aee
8434d27ef3bd82987e9c1174dd053092d5ddd7ea
/rotkehlchen/data_migrations/migrations/migration_10.py
a2e25ed3fb40bb1504a4dc1184141fc2106d3ee9
[ "AGPL-3.0-only", "AGPL-3.0-or-later", "LicenseRef-scancode-unknown-license-reference" ]
permissive
LefterisJP/rotkehlchen
dae96d368d59cb387aabd0b792d94126e98aa8f3
496948458b89afc41458f19d1cba0e971ab67c8b
refs/heads/master
2023-09-04T00:56:32.204156
2023-08-23T13:52:30
2023-08-23T14:46:41
127,209,257
0
0
BSD-3-Clause
2020-11-04T13:34:15
2018-03-28T23:11:50
Python
UTF-8
Python
false
false
2,749
py
import logging from typing import TYPE_CHECKING from rotkehlchen.db.updates import UpdateType from rotkehlchen.globaldb.handler import GlobalDBHandler from rotkehlchen.logging import RotkehlchenLogsAdapter from rotkehlchen.types import ApiKey, ExternalService, ExternalServiceApiCredentials if TYPE_CHECKING: from ...
[ "lefteris@refu.co" ]
lefteris@refu.co
fbbc78b73a28ba835700a127c9d58fa6aa38e0b3
74983098c5de53007bde6052a631845c781b5ba8
/sin_two/sin_two42/sin_two.py
6d57a790a4f40a1c49c1ea72ce09c878ea54da34
[]
no_license
numairmansur/Experiments
94ccdd60f4c2cf538fab41556ac72405656c9d77
592f39916461c7a9f7d400fa26f849043d1377ed
refs/heads/master
2021-04-29T12:39:16.845074
2017-02-15T07:36:47
2017-02-15T07:36:47
78,043,284
0
0
null
null
null
null
UTF-8
Python
false
false
590
py
import numpy as np import sys import math import time import csv from hpolib.benchmarks.synthetic_functions import SinTwo from time import gmtime, strftime def main(job_id, params): print '!!! Entered Main !!!' print 'Anything printed here will end up in the output directory for job #:', str(job_id) print params...
[ "numair.mansur@gmail.com" ]
numair.mansur@gmail.com
5fba937a296ab48deeba7382d4c59306b74e0942
ab9196b6356e3c0af7baf7b768d7eb8112243c06
/Python&DataBase/5.13/제목 없음2.py
2a527864c31f908dc8a13e60ee747b4edab2ed84
[]
no_license
wngus9056/Datascience
561188000df74686f42f216cda2b4e7ca3d8eeaf
a2edf645febd138531d4b953afcffa872ece469b
refs/heads/main
2023-07-01T00:08:00.642424
2021-08-07T02:10:25
2021-08-07T02:10:25
378,833,144
0
0
null
null
null
null
UTF-8
Python
false
false
144
py
a = int(input("숫자 : ") b = 0 for i in range(2,a): if a % i == 0: b = 1 if b == 0: print("소수") else: print("아님")
[ "noreply@github.com" ]
wngus9056.noreply@github.com
9f4078154da9742e743bdc728270cbf9e809d923
a829617f9ad158df80a569dd02a99c53639fa2c6
/test/hep/hist/error2.py
fe2d832dc26645558b24c887f4389379fe52d338
[]
no_license
alexhsamuel/pyhep
6db5edd03522553c54c8745a0e7fe98d96d2b7ae
c685756e9065a230e2e84c311a1c89239c5d94de
refs/heads/master
2021-01-10T14:24:08.648081
2015-10-22T13:18:50
2015-10-22T13:18:50
44,745,881
1
0
null
null
null
null
UTF-8
Python
false
false
891
py
#----------------------------------------------------------------------- # imports #----------------------------------------------------------------------- import hep.hist from hep.test import compare from math import sqrt #----------------------------------------------------------------------- # test #----------...
[ "alex@alexsamuel.net" ]
alex@alexsamuel.net
2701e532eecc61efcfee277337b31f3b3c8a00c2
700749ca999114439f391ad5e985adb8e4e5e61d
/003 Array Pair Sum.py
dace3c3db4849437b75aad878de9f57c712e1fab
[]
no_license
savadev/Leetcode-practice
8b525d99b900732d000105025b8713afaa842e68
38f2833a51cb6af6a5123dfeab66cf44293b2359
refs/heads/master
2020-12-31T22:38:41.102247
2020-01-30T08:32:04
2020-01-30T08:32:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,613
py
''' Problem Given an integer array, output all the unique pairs that sum up to a specific value k. So the input: pair_sum([1,3,2,2],4) would return 2 pairs: (1,3) (2,2) NOTE: FOR TESTING PURPOSES< CHANGE YOUR FUNCTION SO IT OUTPUTS THE NUMBER OF PAIRS Solution The O(N) algorithm uses the set data structure. We ...
[ "noreply@github.com" ]
savadev.noreply@github.com
f21c1b70099a65bb7d1015d484b993736af02f96
b38072fb1429afb6958d8e782971c86e22fb6811
/persistance/keyValDocuments/MetaDict.py
4c3d65d351a7a115e11444122d3a3c17eaca851a
[ "BSD-3-Clause" ]
permissive
bossiernesto/onyx
d58688208dbd534f8c459fc0a39c96a258f8edba
6a02a7d87af653dfafaa313e9386c3123c4534de
refs/heads/master
2016-08-03T02:41:51.389769
2014-01-27T23:13:31
2014-01-27T23:13:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,427
py
from config.AppContext import appContext,ONYX_ROOT,getAppContext from config.AppContext import MASTER_CATALOG,DOCUMENTAL_DB from onyxexceptions import ConfigError documents_entities = [] DEFAULT_FILE='DocumentalFile' appC=getAppContext() def getContainerSection(): return appC.get(CONTAINER_SECTION,) class Docum...
[ "bossi.ernestog@gmail.com" ]
bossi.ernestog@gmail.com
b05b7d7073e9ea89f4303fb01223756d2afdd693
21e177a4d828f4e0a003e9424c4952dbc0b47d29
/lints/lint_subject_contains_noninformational_value.py
43e106e9ad8dc2514f5933b11694d2e98de0c4be
[]
no_license
846468230/Plint
1071277a55144bb3185347a58dd9787562fc0538
c7e7ca27e5d04bbaa4e7ad71d8e86ec5c9388987
refs/heads/master
2020-05-15T12:11:22.358000
2019-04-19T11:46:05
2019-04-19T11:46:05
182,255,941
1
0
null
null
null
null
UTF-8
Python
false
false
1,818
py
from lints import base from cryptography import x509 from cryptography.x509.oid import ExtensionOID,NameOID from util.time import Time from util import ca from urllib.parse import urlparse ''' BRs: 7.1.4.2.2 Other Subject Attributes With the exception of the subject:organizationalUnitName (OU) attribute, optional attri...
[ "846468230@qq.com" ]
846468230@qq.com
f5f45fb35cd151da0e1d795c0d48723f91b4f969
593aaf81822938b561f9e3fc73b86d4adf3a83c4
/emp_project/migrations/0002_auto_20211003_2121.py
5b7a8286eeade86be390aae719b196bd6efff7ae
[]
no_license
toncysara17/employeeproject
9008d61d70211d5979f587bbe26fcc7f5464d1e7
9a2cea5e6f57c579f751701be29f32441a3ca4ec
refs/heads/master
2023-08-26T07:55:15.166627
2021-10-04T12:32:38
2021-10-04T12:32:38
413,413,626
0
0
null
null
null
null
UTF-8
Python
false
false
952
py
# Generated by Django 3.2.3 on 2021-10-03 15:51 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('emp_project', '0001_initial'), ] operations = [ migrations.CreateModel( name='Login', fields=[ ('id'...
[ "toncysara12@gmail.com" ]
toncysara12@gmail.com
9a75fdd10b57e5da7093a83364b01c65d8a9feb1
5946112229fe1d9a04b7536f076a656438fcd05b
/dev_env/bin/jupyter-troubleshoot
8459bbbc8bfe4db2c83f7f558ee5b99629d08be0
[]
no_license
Gear-Droid/openCV_study_project
3b117967eb8a28bb0c90088e1556fbc1d306a98b
28c9a494680c4a280f87dd0cc87675dfb2262176
refs/heads/main
2023-05-14T14:27:42.284265
2021-06-05T00:16:09
2021-06-05T00:16:09
307,807,458
0
1
null
null
null
null
UTF-8
Python
false
false
281
#!/home/vlad/Документы/OpenCV/Курсач/prj/dev_env/bin/python3 # -*- coding: utf-8 -*- import re import sys from jupyter_core.troubleshoot import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "Vladi003@yandex.ru" ]
Vladi003@yandex.ru
5749742d389aa3e74c72432b5ee96d0195ce9112
4126110927eee1d629f03fb861d0db4df7844574
/solusos/system.py
8f7d66ed28355b2bab5120634ab3f4f47a2de83b
[]
no_license
iuim/build-services
b7df64bd617cc8e6f7bb4165da6fe0052a3a31e4
1a968a097127d189ddfcc319cc3808dfc86d66fd
refs/heads/master
2021-01-16T01:02:51.951047
2013-10-24T08:03:45
2013-10-24T08:03:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,106
py
import os import os.path from solusos.console import * import urllib2 import subprocess def sizeof_fmt(num): for x in ['bytes','KB','MB','GB']: if num < 1024.0: return "%3.1f%s" % (num, x) num /= 1024.0 return "%3.1f%s" % (num, 'TB') def execute...
[ "ikey@solusos.com" ]
ikey@solusos.com
4e2300be3379c8fb6ebd1139255083ca5f66b2c9
52b2e3470cd4b91975b2e1caed8d1c93c20e5d05
/lib/python/test/testsieve.py
b7281e1516d1f431a0d4399be6afa20e93cbecc6
[]
no_license
xprime480/projects
c2f9a82bbe91e00859568dc27ae17c3b5dd873e3
3c5eb2d53bd7fa198edbe27d842ee5b5ff56e226
refs/heads/master
2020-04-27T03:51:29.456979
2019-04-12T14:34:39
2019-04-12T14:34:39
174,037,060
0
0
null
null
null
null
UTF-8
Python
false
false
1,660
py
#!/usr/bin/env python3 import unittest from sieve import sieve # # taken from http://astrospiker.com/MATHCOACH/primes.html # small_primes = [ 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97, 101, 103, 107, 109, 113, 127, 131, 137, 139, 1...
[ "mi.davis@sap.com" ]
mi.davis@sap.com
c35b454322285177d2d4d1bb550bce97688fa7b6
c5d7763fff7144dc7078f7c3a8df91aed6d04ec1
/mlh_twitter_api.py
760c006ac54176c0fba63b19e760cb6157b2bbeb
[ "MIT" ]
permissive
RadCon/Part-3
93358d8337ea613cd3a39a6682e183e8659a2cda
2552957b0ef13c4cbf762e29cc5db4301096c7f1
refs/heads/master
2022-12-12T13:42:16.602862
2020-04-06T23:31:59
2020-04-06T23:31:59
253,639,458
0
0
MIT
2021-06-02T01:23:31
2020-04-06T23:30:55
Python
UTF-8
Python
false
false
1,125
py
import http.client, urllib.request, urllib.parse, urllib.error, base64 import urllib.request import config import tweepy import json # fetch tweets from our twitter-api def get_user_tweets(twitter_handle): url = config.MLH_TWITTER_API + "/api/tweets/" + twitter_handle req = urllib.request.Request(url) res...
[ "none" ]
none
22247f30bbfdd27cec8d4536f2ad49725bd844b4
d7b5092a7503b716080ba23ad763b61a0b437e12
/template.py
98d398d2814f16e8eb00cfee64985cc7a142605a
[ "Apache-2.0" ]
permissive
lidan233/BlenderToolbox
ab3ae069a1d3cf63d9bda32d05810be89e858e7b
18e1f343958c96472570aa044212e05bc48c3264
refs/heads/master
2023-09-02T19:15:36.407691
2021-11-14T20:26:54
2021-11-14T20:26:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,238
py
import sys sys.path.append('/Users/hsuehtil/Dropbox/BlenderToolbox/') # change this to your path to “path/to/BlenderToolbox/ import BlenderToolBox as bt import os, bpy, bmesh import numpy as np cwd = os.getcwd() ''' RENDER AN IMAGE STEP-BY-STEP: 1. copy "template.py" to your preferred local folder 2. In "template.py":...
[ "hsuehtil@cs.toronto.edu" ]
hsuehtil@cs.toronto.edu
4d416c04bbcc33d88c3ac45957e5e3e915b0758b
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02574/s219469968.py
17d82c4c7dbe53aeba8adb6d452d9c959fb6b785
[]
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,248
py
import math import collections import copy import sys n = int(input()) a = list(map(int,input().split())) limit = 10 ** 6 sCheck = math.gcd(a[0],a[1]) if n == 2: if sCheck == 1: print("pairwise coprime") else: print("not coprime") sys.exit() else: for i in range(2,n): sCheck ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
c70beac2a918f8dfafef2d37fd6effd585ac5403
f5b5a6e3f844d849a05ff56c497638e607f940e0
/capitulo 04/capitulo 04/04.03 - Carro novo ou velho, dependendo da idade.py
ba072d94c0ae7435ded2c29b0b7a79807337c1b0
[]
no_license
alexrogeriodj/Caixa-Eletronico-em-Python
9237fa2f7f8fab5f17b7dd008af215fb0aaed29f
96b5238437c88e89aed7a7b9c34b303e1e7d61e5
refs/heads/master
2020-09-06T21:47:36.169855
2019-11-09T00:22:14
2019-11-09T00:22:14
220,563,960
0
0
null
null
null
null
UTF-8
Python
false
false
1,034
py
############################################################################## # Parte do livro Introdução à Programação com Python # Autor: Nilo Ney Coutinho Menezes # Editora Novatec (c) 2010-2017 # Primeira edição - Novembro/2010 - ISBN 978-85-7522-250-8 # Primeira reimpressão - Outubro/2011 # Segunda reimpres...
[ "noreply@github.com" ]
alexrogeriodj.noreply@github.com
20bf997cb90e8719ff00ebad9395449022a26b00
4a4579254118db40fb008439d18ad8c573e8fc1a
/build/jsk_common_msgs/speech_recognition_msgs/catkin_generated/pkg.develspace.context.pc.py
a041884919e78bb3fef48314880e18c4c96f0599
[]
no_license
amilearning/AD_mpc_ws
86ff6ef9e61c6cc5aae6e12f20c2c875b1930d41
1fc2d385f281e00c16aff688948f7296e02cbd3a
refs/heads/master
2023-06-24T13:54:59.759921
2021-07-16T01:08:52
2021-07-16T01:08:52
386,465,544
0
0
null
null
null
null
UTF-8
Python
false
false
499
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/home/hmcl/shared_dir/mpc_ws/devel/include".split(';') if "/home/hmcl/shared_dir/mpc_ws/devel/include" != "" else [] PROJECT_CATKIN_DEPENDS = "std_msgs;message_runtime".replace(';', ' ') PKG_CONFIG_LIB...
[ "hojin.projects@gmail.com" ]
hojin.projects@gmail.com
9d62e641cdc35959e8b40ebd25b264635509e7e6
cf945fb7c961376bfcff37c80fe50312d4f32290
/Projects/Reptile/Tools/E3_GenerateCode.py
6ccf10ab4e2ef7fa507332ee9b53dc851e66b34e
[]
no_license
lizhenQAZ/code_manage
faa1e805326cc8da8463e0f8820c9d092a04dddb
f98977d58a9febb8212652846314418bba37bfc7
refs/heads/master
2020-12-03T00:00:52.205238
2018-12-19T16:00:48
2018-12-19T16:00:48
95,968,266
1
1
null
null
null
null
UTF-8
Python
false
false
2,485
py
# coding: utf-8 # 定义验证码功能 from PIL import Image from PIL import ImageFont from PIL import ImageDraw from PIL import ImageFilter import random import os # 绘制随机字符 def generate_random_string(): # 随机字符串 chars = 'abcdefghijklmnopqrstuvwxyz123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ' # 随机产生4个不同字符 random_chars = ""....
[ "www.516960831@qq.com" ]
www.516960831@qq.com
c163ed75071f33f3c08479877555e9468fad11ad
24f0aba57f4393200a9327e3f3605a906859ae4b
/bot/wikidata/claim_templates.py
404b389a300d6503a242e3aaea117f1e97e2077e
[]
no_license
Sadads/toollabs
0b8b68adc9ca4cb21c785341cf8f3e901298d55c
31dcd44616e6dafefdd35bbc4d09c480738a9d44
refs/heads/master
2020-03-18T15:43:55.774106
2018-05-20T11:48:04
2018-05-20T11:48:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,866
py
#!/usr/bin/python # -*- coding: utf-8 -*- """ Bot to add the first claim (statement) to items on Wikidata. The bot works on lists linked from https://www.wikidata.org/wiki/Wikidata:Database_reports/without_claims_by_site like for example https://www.wikidata.org/wiki/Wikidata:Database_reports/without_claims_by_site/nl...
[ "maarten@mdammers.nl" ]
maarten@mdammers.nl
0eaceff507455db69fa440c9bd3559e086503d56
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2357/60799/235779.py
d12e670ece29540c5b8c83aa1ddf903db832a95a
[]
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
337
py
T = int(input()) for hhh in range(0, T): n = int(input().split()[2]) uList = [int(i) for i in input().split()] vList = [int(i) for i in input().split()] res = [(u, v) for u in uList for v in vList if u + v == n] res.sort() if not res: print(-1) for i in res: print(' '.join(st...
[ "1069583789@qq.com" ]
1069583789@qq.com
edcbbc738657f31ffab4e939961108514a2b9855
a189360771d93aa4bcfdfb9f7a794f770b557528
/ch14-httpServer/04-httpServerHandlerPost.py
d7e382f5cdebe72405e167262646d7debd5c6f9f
[]
no_license
kevin510610/Book_Python-Tensorflow_PoWen-Ko
88402a6a9ae3da9fdba7858e56f9c364264854c0
cbeede8ab566214da8fa5c5953f8ab85c2d23bb8
refs/heads/master
2023-04-04T05:37:52.283802
2021-04-13T03:09:24
2021-04-13T03:09:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,880
py
# -*- coding: UTF-8 -*- __author__ = "Powen Ko, www.powenko.com" import sys import time from sys import version as python_version from cgi import parse_header, parse_multipart if (sys.version_info > (3, 0)): # python 3.x import socketserver as socketserver import http.server from http.server import Si...
[ "kevin510610@gmail.com" ]
kevin510610@gmail.com
1f092397e05eae6d00f57dc5192206c1675f6d91
0b9212289ccc175d1f6a384d1df29fc5b468514c
/exts/syntax.py
0ad09338b0798fdd3a0e89f63e1ee5edcfa82957
[]
no_license
fengidri/wind
2b7741b09739fe0595ef464ec1baf8c424aa5291
4e7c77b390772e4556f334ea330d8f5a2c3d2dee
refs/heads/master
2021-12-31T10:39:47.415587
2021-11-12T02:36:43
2021-11-12T02:36:43
27,524,948
5
1
null
2020-02-04T08:13:06
2014-12-04T05:29:33
Python
UTF-8
Python
false
false
269
py
# -*- coding:utf-8 -*- # author : 丁雪峰 # time : 2015-08-18 17:21:56 # email : fengidri@yeah.net # version : 1.0.1 import pyvim @pyvim.cmd() def Syntax(): pyvim.echo(pyvim.syntax_area()) if __name__ == "__main__": pass
[ "fengidri@gmail.com" ]
fengidri@gmail.com
65ef96af2f323b588622fceedf2a92a2363697c5
11f00660332b8778a09cad87d861e5b7f4dd12d0
/easy/1021_remove_outermost_parentheses.py
e98938af0328ede327efd56c3a389c86ccaa1c42
[ "MIT" ]
permissive
niki4/leetcode_py3
b4b1bb8bd62e8dca595386a88825f3bc46a7f3fd
9f66d352c805fcdd9930aaa18c93d7546768287c
refs/heads/master
2022-07-01T17:52:07.166384
2022-06-26T11:01:31
2022-06-26T11:01:31
130,343,105
0
0
null
null
null
null
UTF-8
Python
false
false
2,334
py
""" A valid parentheses string is either empty (""), "(" + A + ")", or A + B, where A and B are valid parentheses strings, and + represents string concatenation. For example, "", "()", "(())()", and "(()(()))" are all valid parentheses strings. A valid parentheses string S is primitive if it is nonempty, and there doe...
[ "nikiforr@gmail.com" ]
nikiforr@gmail.com
0fd6eeb2851353fac0b1e10b6b82ff436efee80f
95dac6b028dd233128fa9316390fe32ba62c00bb
/utils/gen_testdata.py
090376e81337d1bf25cebb0329ae853916c9a3ee
[]
no_license
MrKriss/popGen
2976d255ea6cc00d46d46403db83d085e661f13d
b6849202a9d367fd38e4ac78074b6f8ce921ce6d
refs/heads/master
2021-01-01T19:46:33.426384
2013-12-17T13:02:56
2013-12-17T13:02:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,402
py
''' Created on 30 Nov 2012 @author: musselle ''' import os import sys import numpy as np import matplotlib.pyplot as plt import time import socket from Bio import SeqIO, bgzf from utils import Cycler start_dir = os.getcwd() # Work out where data is stored if socket.gethostname() == 'yildun': prefix = '/spa...
[ "chris.j.musselle@gmail.com" ]
chris.j.musselle@gmail.com
d6ba24dc3bf4c18f116c124b0e1d5313930bbde7
b176b34b6ba8a6adc68013e41f1dca9377903c05
/kvm_pirate/coredump.py
568ddb0ac2378c17646973804bae23258363d171
[ "MIT" ]
permissive
Mic92/kvm-pirate
c1f2a6b33dbcf8bd9cb2493451af55cabde49dc6
26626db320b385f51ccb88dad76209a812c40ca6
refs/heads/main
2023-03-08T03:35:25.830857
2021-02-15T16:12:31
2021-02-15T16:12:31
321,550,379
6
0
MIT
2021-02-03T15:42:46
2020-12-15T04:16:20
Python
UTF-8
Python
false
false
2,983
py
#!/usr/bin/env python3 import sys import ctypes import resource import mmap from typing import IO, List, NoReturn from .elf import ELFARCH, ELFCLASS, ELFDATA2, Ehdr, Phdr, Shdr from .elf.consts import ELFMAG0, ELFMAG1, ELFMAG2, ELFMAG3, ET_CORE, EV_CURRENT, PT_LOAD from .proc import KvmMapping from .libc import libc,...
[ "joerg@thalheim.io" ]
joerg@thalheim.io
c240d9b942b2d722d34a6d9b4fddc1941f7392b9
d868a90168cfecb578efb1929c79d0087ff6205b
/python/hard_course/11.py
21ee894b5657c4f64322c7e9819880352d41b0c8
[]
no_license
pitikdmitry/stepik
34c2e33698ce70ba5e01e3b66596e4bc679bf781
5fcca543b74db19b44f1ca675d70095e79010065
refs/heads/master
2021-10-25T21:06:02.632121
2019-04-07T16:40:31
2019-04-07T16:40:31
115,332,756
0
0
null
null
null
null
UTF-8
Python
false
false
161
py
import sys import re pattern = r"\s*cat\s*" for line in sys.stdin: line = line.rstrip() match_object = re.match(pattern, line) print(match_object)
[ "pitik.dmitry@mail.ru" ]
pitik.dmitry@mail.ru
847d9269459a8c2c33d79901a7a7eec763cbc840
38a972a3cd1fc303b5f877e24d65118912d85d1c
/path/to/virtualenv/project/Lib/site-packages/tensorflow/contrib/kfac/examples/mnist.py
28b685f27de4a165b23721fa2c0c3225de6a5edd
[]
no_license
ZulfikarAkbar/YOLO_ObjectDetection
0c1015aa987d03329eae48a2053a07dda05d96c0
3517d0592a269f79df9afd82e0b1b0123bbe0473
refs/heads/master
2022-10-27T05:08:26.734173
2019-02-07T17:35:22
2019-02-07T17:35:22
169,613,306
0
1
null
2022-10-18T02:18:17
2019-02-07T17:35:03
Python
UTF-8
Python
false
false
2,645
py
# Copyright 2017 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...
[ "zulfikar.78.akbar@gmail.com" ]
zulfikar.78.akbar@gmail.com
bb3a66d419e72f250b0322210dc43fcf8a0d0004
b501a5eae1018c1c26caa96793c6ee17865ebb2d
/the_file_system/filecmp/filecmp_dircmp_diff.py
a39b5ece4ff3c343839802705e6a40e799ba5dec
[]
no_license
jincurry/standard_Library_Learn
12b02f9e86d31ca574bb6863aefc95d63cc558fc
6c7197f12747456e0f1f3efd09667682a2d1a567
refs/heads/master
2022-10-26T07:28:36.545847
2018-05-04T12:54:50
2018-05-04T12:54:50
125,447,397
0
1
null
2022-10-02T17:21:50
2018-03-16T01:32:50
Python
UTF-8
Python
false
false
174
py
import filecmp dc = filecmp.dircmp('example/dir1', 'example/dir2') print('Same :', dc.same_files) print('Diff :', dc.diff_files) print('Funny :', dc.funny_files)
[ "jintao422516@gmail.com" ]
jintao422516@gmail.com
2af16095a35d288ee3da8c1517e4546d4a5e1fd5
37a57a7094b5dc8da71ad293654220f06c8958ef
/map_util.py
0908254f86627644acb83014a6afc2d80d40a1cb
[]
no_license
underlost/roguealike
1ab46732d678f5c68a1a221af131c44c9ac83021
86b8b8d0c4c6dc66efa1c9bb5cdb2a462d96429c
refs/heads/master
2021-01-01T19:26:32.441912
2017-08-01T17:36:19
2017-08-01T17:36:19
98,586,238
0
0
null
null
null
null
UTF-8
Python
false
false
4,145
py
from random import randint from tdl.map import Map from entity import Entity from components.ai import BasicMonster from components.player_type import Mage, Warrior from render_functions import RenderOrder class Rectangle: def __init__(self, x, y, w, h): self.x1 = x self.y1 = y self.x2 = x ...
[ "underlost@gmail.com" ]
underlost@gmail.com
3b6bcc1b273e0a11c186231472f72e02b8a95759
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2667/60776/298273.py
f286f06be6c9f97a16b1f52c38a9ec6891eec723
[]
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
204
py
a=int(input()) for k in range(0,a): a=input().split(' ') qi=int(a[0]) weishu=int(a[1]) str="" for i in range(0,weishu): str=str+"1" result=int(str,2)-qi+1 print(result)
[ "1069583789@qq.com" ]
1069583789@qq.com
4a4d5297ca4506fcf71ec78149191196d3c6a538
e86fd9f61a41731deb9d56e1107db04de41b6789
/beebeeto/poc_2014_0112.py
ec9beddab441fed0ec5a2a02960fd757d5bc34ee
[]
no_license
c0py7hat/POC-EXP
f58e0f1df41e1905e5fdc72b019f8125aac48799
7ddf2790012efb7fb5bd258ddcd1e1c25f0cf201
refs/heads/master
2020-04-30T07:05:31.390537
2019-03-20T08:38:50
2019-03-20T08:38:50
176,674,030
3
2
null
2019-03-20T08:09:56
2019-03-20T07:00:45
Python
UTF-8
Python
false
false
2,333
py
#!/usr/bin/env python # coding=utf-8 """ Site: http://www.beebeeto.com/ Framework: https://github.com/n0tr00t/Beebeeto-framework """ from baseframe import BaseFrame class MyPoc(BaseFrame): poc_info = { # poc相关信息 'poc': { 'id': 'poc-2014-0112', 'name': 'C...
[ "noreply@github.com" ]
c0py7hat.noreply@github.com
0e00018289188e5ff9c66bc2e077982bde5df598
c7427aeec5599a828209efd3c2805e0b9159d1a3
/src/500_common/303_seq.py
2c0e4c1581db8c55e2bc76517fd79a7471e5014b
[]
no_license
nakamura196/genji_curation
817690098fe6e0ea9f351edd8d21b4cb49a11c53
b7988e2125b68c3014dbeacad7c8ce795014eb7c
refs/heads/master
2023-04-14T01:27:39.322047
2021-04-30T00:04:54
2021-04-30T00:04:54
255,350,404
0
0
null
null
null
null
UTF-8
Python
false
false
202
py
import sys sys.path.append('../500_common') import lib_seq a = "Chrome11" b = "Profile 1" path = "../504_kyoto01/data/result.html" lib_seq.main(a, b, None, None, waitTime=10, preTime=20, check=False)
[ "na.kamura.1263@gmail.com" ]
na.kamura.1263@gmail.com
fd1015c9ad5c6118ec6afb61431a93d8ee56430b
0d791c73941bcb7fce1a5a07fa91660e5b1da9a0
/setup.py
3238a32da2c4dd5859189cf6ea5446bc06bb547c
[ "BSD-3-Clause" ]
permissive
Vuader/pyipcalc-old
1b77f794f8d6e2fdbff97c7e3b3d779e38346c70
b8eae37dd87d55c012483d326ecbdd21d2b337c9
refs/heads/master
2021-06-11T00:31:07.934126
2017-01-20T07:14:34
2017-01-20T07:14:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,801
py
# PyIPCalc # # Copyright (c) 2017, Christiaan Frans Rademan. # All rights reserved. # # LICENSE: (BSD3-Clause) # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # 1. Redistributions of source code must retain the above ...
[ "christiaan.rademan@gmail.com" ]
christiaan.rademan@gmail.com
3611981dd7277e32a93241b3a5bc760d6bb078f9
0e647273cffc1fb6cbd589fa3c7c277b221ba247
/configs/hpt-pretrain/xview/moco_v2_800ep_basetrain/500-iters.py
102a0691c95f209fb46a30e1f2ec571ca785c063
[ "Apache-2.0" ]
permissive
Berkeley-Data/OpenSelfSup
e9976bf011b69ebf918506ba184f464b1073ec13
221191b88d891de57725b149caf237ffef72e529
refs/heads/master
2023-05-12T07:34:52.268476
2021-04-08T00:58:37
2021-04-08T00:58:37
343,654,823
0
1
Apache-2.0
2021-04-08T00:58:37
2021-03-02T05:20:27
Python
UTF-8
Python
false
false
213
py
_base_="../base-xview-config.py" # this will merge with the parent model=dict(pretrained='data/basetrain_chkpts/moco_v2_800ep.pth') # epoch related total_iters=500 checkpoint_config = dict(interval=total_iters)
[ "taeil.goh@gmail.com" ]
taeil.goh@gmail.com
724d10e3b8274fa01dd68bbcbc54fea5a67c2489
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03993/s272195755.py
50392e98e3ae83a7037f8d0cd3bddab5a5435001
[]
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
244
py
import sys, heapq, bisect, math, fractions from collections import deque N = int(input()) A = list(map(int, sys.stdin.readline().rsplit())) res = 0 for i, a in enumerate(A): if i == A[a - 1] - 1 and i < a - 1: res += 1 print(res)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
affc77ed8da62c16e516468a80d2f347e0bb712b
9daa81d37546145eddd039d9d409e1e6f217ebf7
/scripts/contours/extract_rois.py
aeb828e8ca18cc185b72eb3559499b1c367019a7
[]
no_license
ver228/vesicle_contours
e4850ffc571ac515850378b9ec5c5621a76bc085
d6619673d8804bb4752c9dbd083dc299ae68304c
refs/heads/master
2020-03-15T22:18:06.765956
2019-01-04T11:15:18
2019-01-04T11:15:18
132,370,438
0
0
null
null
null
null
UTF-8
Python
false
false
7,340
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Tue Nov 6 10:56:47 2018 @author: avelinojaver """ import sys from pathlib import Path dname = Path(__file__).resolve().parents[2] sys.path.append(str(dname)) from read_movies.moviereader import MovieReader import pandas as pd import tables from scipy.sig...
[ "ver228@gmail.com" ]
ver228@gmail.com
f0c6aab6879db6b1f4c0eb0a2e60cc67150afb1f
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_059/ch48_2020_04_12_23_00_46_205184.py
097fb24c515642ed4e794632e3f9e65a6f9087ac
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
226
py
def eh_crescente(lista): i=0 while i<len(lista)-1: if lista[i+1] > lista[i]: pass elif i == len(lista)-2: return True else: return False i+=1
[ "you@example.com" ]
you@example.com
0d0ac12cf064c9f516f2ffadb800057bfe009665
807022b4aebd9c4b2e8b0f5b7c209cf21c697381
/ocr_structuring/core/utils/rbox.py
da2667480491c2fb257d0b88684549627aab3d3b
[]
no_license
imfifc/myocr
4abc5480222f4828072857fbb84236f4a494b851
71ba56084aabfa8b07ddc1842bcac5cdbd71212c
refs/heads/master
2022-12-13T13:04:51.488913
2020-09-02T09:07:09
2020-09-02T09:07:09
292,232,085
0
0
null
null
null
null
UTF-8
Python
false
false
5,114
py
import math from typing import List, Union import numpy as np from shapely.geometry import Polygon from ocr_structuring.core.utils.algorithm import order_points from ocr_structuring.protos.structuring_pb2 import RotatedBoxWithLabel class RBox: def __init__(self, rotate_rect: List[int], label=-1): """ ...
[ "1193690571@qq.com" ]
1193690571@qq.com
347400ddf6fc47aa5ff290a5d750492a1a27882d
02e26e2cbea74a97b56262de031563c8bfb3f468
/DS and Algo in Python/DSandAlgo/DS/IK/Class1/PreClass1/3InsertionSort.py
bb704c8c5c0cf74e9c6482c93be6fddb7c9ee706
[]
no_license
LalityaSawant/Python
f2845ecbe83b9c4dbd987c6d4e6fa5352bf54c3c
7377499629883311029a94e14058599ac166c318
refs/heads/master
2022-12-12T06:17:00.311059
2020-08-30T06:24:12
2020-08-30T06:24:12
288,286,538
0
0
null
null
null
null
UTF-8
Python
false
false
327
py
def insertion_sort(nums): for i in range(1, len(nums)): j = i - 1 curr = nums[i] while j >= 0 and nums[j] > curr: nums[j+1] = nums[j] j -= 1 nums[j+1] = curr print(nums) return nums ar = [5, 3, 1, 2, 4, 7, 6, 8, 6, -1] insertion_sort(ar) pri...
[ "lalitya.sawant@gmail.com" ]
lalitya.sawant@gmail.com
584b211aa62259f2ebf1c76fdba4c34fb4b1d2f3
2337351b228818e41be3002bd38f68f77c2aa074
/cmibs/juniper_rpm_mib.py
13989f14e85e868966ae5e2d866e167117f95284
[ "BSD-3-Clause" ]
permissive
nocproject/noc
57d40c680a1499374463e472434f9595ed6d1374
6e6d71574e9b9d822bec572cc629a0ea73604a59
refs/heads/master
2023-08-31T01:11:33.544573
2023-08-30T17:31:11
2023-08-30T17:31:11
107,815,776
105
33
BSD-3-Clause
2023-07-31T07:57:45
2017-10-21T21:04:33
Python
UTF-8
Python
false
false
4,342
py
# ---------------------------------------------------------------------- # JUNIPER-RPM-MIB # Compiled MIB # Do not modify this file directly # Run ./noc mib make-cmib instead # ---------------------------------------------------------------------- # Copyright (C) 2007-2021 The NOC Project # See LICENSE for details # --...
[ "aversanta@gmail.com" ]
aversanta@gmail.com
3cb252e7f9f34f86dde5485f06b4a2f33cc87f2a
34599596e145555fde0d4264a1d222f951f49051
/pcat2py/class/218ff826-5cc5-11e4-af55-00155d01fe08.py
f1318bf5d70771c9a832a09e289c4f1522d18b39
[ "MIT" ]
permissive
phnomcobra/PCAT2PY
dc2fcbee142ce442e53da08476bfe4e68619346d
937c3b365cdc5ac69b78f59070be0a21bdb53db0
refs/heads/master
2021-01-11T02:23:30.669168
2018-02-13T17:04:03
2018-02-13T17:04:03
70,970,520
0
0
null
null
null
null
UTF-8
Python
false
false
988
py
#!/usr/bin/python ################################################################################ # 218ff826-5cc5-11e4-af55-00155d01fe08 # # Justin Dierking # justindierking@hardbitsolutions.com # phnomcobra@gmail.com # # 10/24/2014 Original Construction ################################################################...
[ "phnomcobra@gmail.com" ]
phnomcobra@gmail.com
b11ca688cad765b5af411ed17d4653a8f3a75e24
9d1238fb0e4a395d49a7b8ff745f21476c9d9c00
/framework/Tests/PAS/PAS/GeneralSecrets/SecretsV2Folders/AddFolders/API/test_folder_creator_should_have_member_permission_by_default.py
dc214fd20b08d535f4bbfebe3be7e44ad2bc40c9
[]
no_license
jaspalsingh92/TestAutomation-1
a48ee1d3b73386f1bf8f53328a5b55444238e054
e631c67255b10f150e0012991fb1474ede904417
refs/heads/master
2023-04-18T14:52:08.836221
2021-04-07T12:01:07
2021-04-07T12:01:07
357,175,690
0
0
null
null
null
null
UTF-8
Python
false
false
1,316
py
import pytest import logging from Shared.API.secret import get_users_effective_folder_permissions logger = logging.getLogger('test') @pytest.mark.api @pytest.mark.pas @pytest.mark.pasapi @pytest.mark.bhavna def test_folder_creator_should_have_member_permission_by_default(core_session, ...
[ "singh.jaspal92@gmail.com" ]
singh.jaspal92@gmail.com
6244f902910255a2d3ae52dfd07e6a5dfb3f6738
7c8bd2e26fdabf1555e0150272ecf035f6c21bbd
/그리디/만들 수 없는 금액.py
2dc85ddec9e8b63cc094ce39f4865614721f3815
[]
no_license
hyeokjinson/algorithm
44090c2895763a0c53d48ff4084a96bdfc77f953
46c04e0f583d4c6ec4f51a24f19a373b173b3d5c
refs/heads/master
2021-07-21T10:18:43.918149
2021-03-27T12:27:56
2021-03-27T12:27:56
245,392,582
1
0
null
null
null
null
UTF-8
Python
false
false
256
py
n=int(input()) num=list(map(int,input().split())) #리스트 선언 total=1 num.sort() #리스트 정렬 3 2 1 1 9-> 1 1 2 3 9 for x in num: if total<x: #1을 만들수 있는지 차례로 확인 break total+=x print(total)
[ "hjson817@gmail.com" ]
hjson817@gmail.com
7c3b3386a8a8c0b46ed8a650ae5d5363a79b636d
4fc21c3f8dca563ce8fe0975b5d60f68d882768d
/Darlington/phase1/python Basic 1/day 11 solution/qtn10.py
8cadb527e0fbaa7b9ef9f3b03def11f64d0a9f56
[ "MIT" ]
permissive
Uche-Clare/python-challenge-solutions
17e53dbedbff2f33e242cf8011696b3059cd96e9
49ede6204ee0a82d5507a19fbc7590a1ae10f058
refs/heads/master
2022-11-13T15:06:52.846937
2020-07-10T20:59:37
2020-07-10T20:59:37
266,404,840
1
0
MIT
2020-05-23T19:24:56
2020-05-23T19:24:55
null
UTF-8
Python
false
false
164
py
# program to get the name of the host on which the routine is running. import socket host_name = socket.gethostname() print() print("Host name:", host_name) print()
[ "darlingtonchibuzor64@gmail.com" ]
darlingtonchibuzor64@gmail.com
d419864c9468fdbb1bf0e65e3a0ae4a663cf37fb
fff3a6334b409626f4b28a03b0792de01b00b49a
/NumpyAndPandas/convert_pandas2numpy.py
30c1b29d0b805458c4a78a888fb73481b9d87646
[]
no_license
JY-Justin/pydailynotes
fed28efa782287e9860fb9763ba8cb0afe2cd86b
faae36526a4202282d180ebe50031999531374d4
refs/heads/master
2022-01-05T17:12:41.491503
2019-07-24T09:04:06
2019-07-24T09:04:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,232
py
# Convert DataFrame to a NumPy record array. # Index will be put in the 'index' field of the record array if requested. """ Parameters ---------- index : boolean, default True Include index in resulting record array, stored in 'index' field. convert_datetime64 : boolean, default None .. de...
[ "furuiyang0715@gmail.com" ]
furuiyang0715@gmail.com
eb3316e63bd997be577d20c9714685f0a2e8624d
98535040e8ef459d5828d9a0780e2c5bad70f21d
/excercise-master/002/question0016.py
89d5dc1a5f593b56c07c3101c61ed9cb30eb1273
[]
no_license
IanChen6/exercise2
204e1a712abc23c991bcf8e22a361da5f7d4f071
e9ef3ff1f8df53f2d4fa97643f49e1beeaaefb8e
refs/heads/master
2022-10-29T04:05:45.120197
2018-04-25T10:04:34
2018-04-25T10:04:34
114,364,139
0
1
null
2022-10-26T05:03:44
2017-12-15T11:37:33
Python
UTF-8
Python
false
false
636
py
# -*- coding:utf-8 -*- __author__ = 'IanChen' ''' 纯文本文件 city.txt为城市信息, 里面的内容(包括花括号)如下所示: [ [1, 82, 65535], [20, 90, 13], [26, 809, 1024] ] ''' from collections import OrderedDict import json,xlwt with open("wenben3.txt",'r') as f: data = json.load(f)#顺序是跟text中定义的顺序是一样的 workbook=xlwt.Workbook() sheet...
[ "626614767@qq.com" ]
626614767@qq.com
69ee3457ee42f9e928389fe7974ba2336db138d0
2b26164ebad2926ff0a24063809f0711f9ffbd6d
/src/navigation_experiment/data_analysis/GetData/analysis/analysis.py
b63dac028c21aee397bf89a2f93d71b14357315f
[]
no_license
pangxiansen123/robot_navigation
8a9f0ff97849adf0f99b36d0bea866effadaee78
865eff0c4f6e356ccd3dadca68bad1b4e1a11466
refs/heads/master
2021-08-28T10:47:14.539200
2017-12-12T01:23:50
2017-12-12T01:23:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,690
py
#! /usr/bin/env python # coding:utf-8 import numpy as np import matplotlib.pyplot as plt import matplotlib as mpl import math xorigal = [] yorigal = [] posx = [] posy = [] dx = [] dpsi = [] #读取txt文件 #name = [[],[],[],[]] name = [[],[],[],[],[],[],[]] with open('data20-17Good.txt') as f:#with open('data/data3_fangx...
[ "you@example.com" ]
you@example.com
9e5a4c8668f9fda4fe8b894866833e5a9aee23c2
993ff3e6eb510b5083db5f15f2c0299c05a2c0f6
/payroll_extended/wizard/multi_payslip.py
c254243b72b24314dc682d3131b20db91167b10c
[]
no_license
Raghupathy15/Sigma
36b24e76e81bad4ae5435508018f1c960878901d
42eed3b211a7be8d8c9b70dc359a432c02be07f1
refs/heads/main
2023-01-31T18:25:09.712666
2020-12-09T09:22:17
2020-12-09T09:22:17
319,904,130
0
0
null
null
null
null
UTF-8
Python
false
false
4,197
py
# -*- coding: utf-8 -*- from odoo import fields, models, api import calendar from datetime import datetime from odoo.exceptions import Warning MONTHS = [('01', 'January'), ('02', 'February'), ('03', 'March'), ('04', 'April'), ('05', 'May'), ('06', 'June'), ('07', 'July'), ('08', 'August'), ...
[ "raghupathy@emxcelsolutions.com" ]
raghupathy@emxcelsolutions.com
7a8f27ac509e697dfd2d8240eb56c70d9fe45bf3
caa5ce3f6a36f4392f8c51c6e360e98663b3d1ee
/model/hier/vg/pre_hier.py
9e94133b69584bcb649c26ee2f36433254e5d959
[]
no_license
sx14/tf-vtranse-exp
9eb0ce2d7f4f9c1db8b4ac3731535529af5de332
4e2d394e63cff86b0ca235882759b08ba14a9e63
refs/heads/master
2020-04-13T03:45:57.154701
2019-04-04T05:26:54
2019-04-04T05:26:54
162,941,337
0
0
null
null
null
null
UTF-8
Python
false
false
6,924
py
import os from model.hier.label_hier import LabelHier from model.hier.label_hier import LabelNode from global_config import PROJECT_ROOT class PreNet(LabelHier): def _construct_hier(self): # STUB IMPLEMENTATION # 0 is background # root node next_label_ind = 1 root = Label...
[ "1059363093@qq.com" ]
1059363093@qq.com
2fc980acb3aa930c22661f210db3caeff2355dc0
e331b7a564853a3a959ec47663f6ead6b060ff37
/testkraken/testing_functions/test_afni_scan_data_diff_fake.py
8fdb16835d2edb3bcc8f589cb2c94a77bd768f7b
[]
no_license
ReproNim/testkraken
a21ff9e8c17ab7a84896c5fcab3bd6ba5908b9fe
d2410997e3ab230e99278649e6ef8b8daee00667
refs/heads/master
2021-07-14T20:00:00.148482
2021-06-02T04:21:05
2021-06-02T04:21:05
104,270,378
4
7
null
2021-05-21T14:28:09
2017-09-20T21:40:40
Python
UTF-8
Python
false
false
1,275
py
"""Checking if lists from two json files are equal""" from __future__ import division import json import numpy.testing as npt import nibabel as nib from pathlib import Path def test_afni_scan_data_diff_fake(file_out, file_ref=None, name=None): image_out = nib.load(str(file_out)) data_out = image_out.get_fdat...
[ "djarecka@gmail.com" ]
djarecka@gmail.com
3db53c666eecc431e8661ea3e8a2937bc85a05e1
01e5e599e487bcd5114f399372ec34ed35dfacf5
/core/settings.py
cce6abca384ee648f52c40cb34cecda91d692533
[ "MIT" ]
permissive
FrankCasanova/API-TODO-djangoREST-React
377b7130d76d7030ac52ee707f7ecca1ed69562d
00858d3eec4c8e4cd67a477b481a2c21eb6b4e9b
refs/heads/master
2023-05-06T22:47:33.455872
2021-05-31T21:10:53
2021-05-31T21:10:53
372,613,328
0
0
null
null
null
null
UTF-8
Python
false
false
3,523
py
""" Django settings for core project. Generated by 'django-admin startproject' using Django 3.2.3. For more information on this file, see https://docs.djangoproject.com/en/3.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.2/ref/settings/ """ from pathlib im...
[ "frankcasanova.info@gmail.com" ]
frankcasanova.info@gmail.com
431f2765e7f2966ac05d4cf4481c66363fe42aee
dd5ee6d1e88527cd22f1b64443320ba8ef751b59
/rlcard3/games/doudizhu/round.py
309a341ae909854928f262ffc8a3bd5b059d7ad6
[ "MIT" ]
permissive
sorata2894/rlcard3
42a2587e3ab00f3a33c684fb76efbc334a835359
e9bbd36b789e670f96622a3a2ba8327f0d897561
refs/heads/master
2022-11-05T00:08:10.809055
2020-06-11T03:28:41
2020-06-11T03:28:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,293
py
# -*- coding: utf-8 -*- ''' Implement Doudizhu Round class ''' import functools import numpy as np from rlcard3.games.doudizhu.dealer import DoudizhuDealer as Dealer from rlcard3.games.doudizhu.judger import cards2str from rlcard3.games.doudizhu.utils import doudizhu_sort_card from rlcard3.games.doudizhu.utils import...
[ "31209755+cogitoergoread@users.noreply.github.com" ]
31209755+cogitoergoread@users.noreply.github.com
8b64e5680849aff4cfe88d91acffcd71372a5921
f0681b8c129e8afce21e340697502230f45ce930
/venv/Lib/site-packages/com/vmware/nsx_policy/infra/tier_0s/nat/nat_rules_client.py
98614f9cda57dce20d2932f582e896d7c238ae83
[]
no_license
dungla2011/python_pyvmomi_working_sample_vmware_easy
8852b6fdcd0f7d0f648f6f7b6c6e4f70c7213746
a3b6d86a802f28c7ee249fc03523d5e5f0a2e3bd
refs/heads/main
2023-07-05T14:56:46.551091
2021-08-20T12:19:39
2021-08-20T12:19:39
395,496,219
1
0
null
null
null
null
UTF-8
Python
false
false
6,178
py
# -*- coding: utf-8 -*- #--------------------------------------------------------------------------- # Copyright 2021 VMware, Inc. All rights reserved. # AUTO GENERATED FILE -- DO NOT MODIFY! # # vAPI stub file for package com.vmware.nsx_policy.infra.tier_0s.nat.nat_rules. #-------------------------------------------...
[ "dungla2011@gmail.com" ]
dungla2011@gmail.com
e79cab08d697e0537ecbd7be6339550b441a9181
897d82d4953ed7b609746a0f252f3f3440b650cb
/day03/exercise_personal/01_exercise.py
61831634bcbd01bc8daced22ec97ad178e466f10
[]
no_license
haiou90/aid_python_core
dd704e528a326028290a2c18f215b1fd399981bc
bd4c7a20950cf7e22e8e05bbc42cb3b3fdbe82a1
refs/heads/master
2022-11-26T19:13:36.721238
2020-08-07T15:05:17
2020-08-07T15:05:17
285,857,695
0
0
null
null
null
null
UTF-8
Python
false
false
487
py
# 说出下列代码表达的命题 # 命题:666是字符 # print(666 == "666") # 命题:你是爱我的 # print(input("你爱我吗? ") == "爱") # 命题你的身高超过170 # print(float(input("请输入你的身高:")) > 170) # 根据命题写出代码 # 输入的是正数 print(int(input("请输入一个整数")) > 0) # 输入的是月份 # print(0 < int(input("请输入一个整数")) <= 12) # # 输入的不是偶数 # print(int(input("请输入一个整数")) % 2 != 0)
[ "caoho@outlook.com" ]
caoho@outlook.com
6df09ee8bbd6ef662a300a76f782b42241bf3046
9b7c17d8058b5b2dc829eedf939ccf8a8c5da69c
/Unit Testing/package1/signup.py
2ebf7c7fc6ada4e5c47eed654a2045b76cbee4f5
[]
no_license
AnkitM18-tech/Selenium
e0ca4d46d1f42ea5808277edca8e1dc558d191a9
3098249d02ef5e0ad8aa870217c2d42d4b929653
refs/heads/master
2023-01-06T16:42:53.746233
2020-11-10T21:07:39
2020-11-10T21:07:39
311,781,417
1
0
null
null
null
null
UTF-8
Python
false
false
325
py
import unittest class SignUp(unittest.TestCase): def test_SignUp_with_FB(self): print("Sign Up with FaceBook") def test_SignUp_with_Insta(self): print("Sign Up with InstaGram") def test_SignUp_with_GitHub(self): print("Sign Up with GitHub") if __name__=="__main__": unittest.m...
[ "ankitmohanty1804@gmail.com" ]
ankitmohanty1804@gmail.com
ba4c1ee5fb2bc5fcbb428a5f26fdc7fa28e5e199
4e3c976773526fd610d64ffb83589bccfaee5e68
/sponge-jython/examples/script/py/rules_none_mode_events_conditions.py
01b18f6bb9f24212ec3194c55d2a2cccc25aa3d5
[ "Apache-2.0" ]
permissive
softelnet/sponge
2313d2328953fcff49a002e727bb803757870627
7190f23ae888bbef49d0fbb85157444d6ea48bcd
refs/heads/master
2022-10-28T16:19:55.619882
2021-09-16T19:50:08
2021-09-16T19:50:08
95,256,030
10
2
Apache-2.0
2022-10-04T23:55:09
2017-06-23T20:58:49
Java
UTF-8
Python
false
false
1,636
py
""" Sponge Knowledge Base Using rules - events """ from org.openksavi.sponge.examples.util import CorrelationEventsLog def onInit(): global correlationEventsLog # Variables for assertions only correlationEventsLog = CorrelationEventsLog() sponge.setVariable("correlationEventsLog", correla...
[ "marcin.pas@softelnet.com" ]
marcin.pas@softelnet.com
1af403f17188a753c0ec41752f261b8472a642b9
ca4701fa5a1cc107f0264ef61b840d5d6ddcfb5c
/main/web/apps.py
a098bc0bd67de4d5509285124791174743045ae9
[]
no_license
tsevindik/xcc
0838f303579d34a9dfa10168bfb789138c6dec85
d52f40dc8011cc4986bf12a731e5aaa7920a6e2e
refs/heads/master
2021-03-27T17:24:47.677172
2018-03-04T17:35:57
2018-03-04T17:35:57
123,707,204
0
0
null
null
null
null
UTF-8
Python
false
false
278
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals, absolute_import from django.apps import AppConfig from django.utils.translation import ugettext_lazy as _ class WebConfig(AppConfig): name = "main.web" verbose_name = _("Home") verbose_name_plural = _("Home")
[ "tarek.it.eng@gmail.com" ]
tarek.it.eng@gmail.com
9e4bd1ef7ad92c090c082b5af3950d4dec4f96e3
1cc43d5ed0a843289c8f6dafb6a16fab26a8eede
/scripts/sphinx2nb
fbfe0b003e27464b94a731473f7c26e199239f3a
[ "BSD-2-Clause" ]
permissive
matthew-brett/nb2plots
cc5eb9b6642f35c535d315628fe2c5aaad48c73f
b43f91c510efdd0a26d29db71acba83cd1b3c317
refs/heads/main
2023-09-01T03:09:09.848218
2023-08-22T09:24:35
2023-08-22T09:24:35
44,816,915
36
8
NOASSERTION
2023-08-19T20:05:18
2015-10-23T14:07:04
Python
UTF-8
Python
false
false
294
#!python """ Convert single ReST document to Notebook JSON Example: sphinx2nb example.rst Write notebook JSON to stdout as UTF-8. """ # vim: ft=python from nb2plots.commands import do_main if __name__ == '__main__': do_main("Convert Sphinx ReST file to Notebook JSON", 'jupyter')
[ "matthew.brett@gmail.com" ]
matthew.brett@gmail.com
703548e9599504d672c3071b4b9007d5195b46ca
f2e97b979c648b3b121ff0f8c37cf6ae998fa513
/python/mydeque.py
21d62fb4f6f09e963ecffe6812c03c4637a7b8ec
[]
no_license
LeonKennedy/LearningByLanguage
64564271a323809ab27bd09b2d142a485d013ce2
51d44f54b13c2e0202f9986f3556ad7f93e55e7c
refs/heads/master
2022-11-10T22:46:07.917794
2022-11-08T10:48:52
2022-11-08T10:48:52
52,009,288
0
0
null
null
null
null
UTF-8
Python
false
false
515
py
#!/usr/bin/env python #-*- coding: utf-8 -*- # @Filename: mydeque.py # @Author: olenji - lionhe0119@hotmail.com # @Description: --- # @Create: 2018-09-25 18:43:21 # @Last Modified: 2018-09-25 18:43:21 # from collections import deque dp = deque(range(10), maxlen=10) print(dp) dp.rotate(3) print(dp) dp.rotate(-4) print...
[ "lionhe0119@hotmail.com" ]
lionhe0119@hotmail.com
c2f5ba7d7275b7c3be0c4896efb9e5ea5d085cbf
ecd9b7e440f002a00d3a8a8e62de208508fadb75
/double_sort.py
5b2aa98059cf7315c74570650dd05e153970b86b
[]
no_license
enderst3/challenges
ce2248eabc36e64dbd84dffad3fea176108bc3f3
0b13195cc53d5fc25f7bedd3dad1c14051e216cc
refs/heads/master
2023-01-09T00:47:51.129159
2020-04-20T22:09:00
2020-04-20T22:09:00
77,492,197
0
1
null
2023-01-03T22:44:04
2016-12-28T01:08:14
null
UTF-8
Python
false
false
777
py
""" Simple enough this one - you will be given an array. The values in the array will either be numbers or strings, or a mix of both. You will not get an empty array, nor a sparse one. Your job is to return a single array that has first the numbers sorted in ascending order, followed by the strings sorted in alphabe...
[ "enderst3@gmail.com" ]
enderst3@gmail.com
469d5e648f160bea3506e3556a39a7bebd37b08d
176bda9771b0ec07a3206112eb4dbd34f5dc293a
/slovniky/json/1-json-priklad.py
8b5ad5e655e6aa3273aabc91dbf855b6969d3559
[]
no_license
HelenaJanda/pyladies-7
8b4254f85295fb5695c60b1b5d8f70e29d1a999f
00613e2ff1bea2b8b8f60d3e4ce7a83345f2300d
refs/heads/master
2022-12-24T03:12:35.338933
2020-10-14T15:32:46
2020-10-14T15:32:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
409
py
# Priklad retezce ve formatu JSON # Trojite uvozovky v Pythonu umoznuji zapsat retezec # na vice radku json_retezec = """ { "jméno": "Drobek", "oblibené_krmivo": "CatFood Premium Deluxe", "váha": 11, "rasa": "Pouliční směs" } """ json_retezec_z_eshopu = """ { "jméno_produktu": "Kosmodisk", "ce...
[ "vojtech.ruz@gmail.com" ]
vojtech.ruz@gmail.com
af0e44a21c215e396bdc2718d87a565aaac91aee
d5f9f0754872b96b31599550a8f6939077e22891
/2022/python/tests/test_day14.py
c09d4ddb4a73fc61fca2c628b9ba28d289d854e0
[]
no_license
sugyan/adventofcode
8ab2d175eb32f4bc8af0acec02c946709e74e8cb
39d3aae585ee1378e48f6c3661a55555d940abf7
refs/heads/main
2023-04-27T02:45:10.534650
2023-04-18T14:58:18
2023-04-18T14:58:18
225,186,308
1
0
null
2022-12-02T14:45:39
2019-12-01T15:47:18
Rust
UTF-8
Python
false
false
378
py
from io import StringIO from typing import TextIO from aoc2022.day14 import Solution def example_input() -> TextIO: return StringIO( """\ 498,4 -> 498,6 -> 496,6 503,4 -> 502,4 -> 502,9 -> 494,9 """ ) def test_part1() -> None: assert Solution(example_input()).part1() == 24 def test_part2() ->...
[ "sugi1982@gmail.com" ]
sugi1982@gmail.com
e414cbcf16d6f6cad3aa0fe2e87c61a549863a62
801b637b846b5ada47c462ad8547d240ceba72b8
/Strings/Group Anagrams.py
9566bed0dadff1061787f90e1502a4fa8a20e77c
[]
no_license
shlokashah/Coding-Practice
7834fed4b50b85ddcab420e830ecec89638390a5
a56e1a4185aba1f32c1169d486b705f28888ca07
refs/heads/master
2022-11-20T13:00:54.617380
2020-07-21T14:35:40
2020-07-21T14:35:40
252,912,592
1
0
null
null
null
null
UTF-8
Python
false
false
266
py
class Solution: def groupAnagrams(self, strs: List[str]) -> List[List[str]]: anagrams = defaultdict(list) for word in strs: anagrams[''.join(sorted(word))].append(word) return list(anagrams.values())
[ "shlokashah0603@gmail.com" ]
shlokashah0603@gmail.com
996c89e0ae8f360afbf6b3f581385f5819e3f836
c08cc12c9ef73d65f4e11b318a03d04a595da9e8
/benchmark/filterupdates_push_vs_pull/quasar_extraprop_plot.py
0f61721335adbbf5039a864b60249a537bf63ef0
[ "MIT" ]
permissive
F483/storjnet
9a88f32f15907b40c2d7df40883aecd520a93211
eff677d34ce7eef0d2c5058a51d0f8cea39e0470
refs/heads/master
2021-01-18T09:00:30.327571
2016-04-15T11:00:36
2016-04-15T11:00:36
50,858,629
0
0
null
2016-02-01T17:52:58
2016-02-01T17:52:57
null
UTF-8
Python
false
false
4,661
py
# -*- coding: utf-8 -*- import matplotlib.pyplot as plt # pip install matplotlib import json push_x = [] push_y_success = [] push_y_redundant = [] push_y_spam = [] pull_x = [] pull_y_success = [] pull_y_redundant = [] pull_y_spam = [] pull_samples = [ json.load(open("benchmark/filterupdates_push_vs_pull/quasar...
[ "fabian.barkhau@gmail.com" ]
fabian.barkhau@gmail.com
1489f20b1597995103e38e213b6ea488f1020f51
eb64b799ff1d7ef3a244bf8e6f9f4e9118d5cfcd
/homeassistant/components/roku/const.py
e399f6e0558be98b33abee2b16d3890b18d44236
[ "Apache-2.0" ]
permissive
JeffLIrion/home-assistant
53966b81b5d5816679f12fc761f79e8777c738d6
8f4ec89be6c2505d8a59eee44de335abe308ac9f
refs/heads/dev
2023-08-22T09:42:02.399277
2022-02-16T01:26:13
2022-02-16T01:26:13
136,679,169
5
2
Apache-2.0
2023-09-13T06:59:25
2018-06-09T00:58:35
Python
UTF-8
Python
false
false
258
py
"""Constants for the Roku integration.""" DOMAIN = "roku" # Attributes ATTR_CONTENT_ID = "content_id" ATTR_FORMAT = "format" ATTR_KEYWORD = "keyword" ATTR_MEDIA_TYPE = "media_type" # Default Values DEFAULT_PORT = 8060 # Services SERVICE_SEARCH = "search"
[ "noreply@github.com" ]
JeffLIrion.noreply@github.com
cea4afe59d8d15c5385b71a8a8f22dd531288aa3
df8466745f40b2966c69744a78dce62e46e69503
/AULA7/exemplos/portlist_004.py
025a705e843b7eb6ed701f159b8204e321888856
[]
no_license
sandromelobrazil/YELLOW_aula1
42f0e8ffa673a5f95d6ee6330ef1d2b894339a14
c078fbe235979f365f72c6f160462b394a44765c
refs/heads/master
2023-02-05T00:52:43.719881
2021-08-10T16:00:03
2021-08-10T16:00:03
300,909,573
0
0
null
null
null
null
UTF-8
Python
false
false
622
py
#!/usr/bin/python portlist = set() ## pasando strings para definir range de portas porttest1 = [ '1000','11', '11', '11', '111', '11', '22', '441', '10-1000', '1500-6000'] for _port in porttest1: if _port.isdigit(): print('Isto eh um digito em formato de string:', _port) portlist.add(int(_port)...
[ "sandromelo.brazil@gmail.com" ]
sandromelo.brazil@gmail.com
0091ce629b4773699442461d35394723716a76ca
9e988c0dfbea15cd23a3de860cb0c88c3dcdbd97
/sdBs/AllRun/pg_1331+591/sdB_pg_1331+591_coadd.py
650643dc7a2fd039f5f7f94955aa0d6325f3cbad
[]
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
430
py
from gPhoton.gMap import gMap def main(): gMap(band="NUV", skypos=[203.408167,58.826192], skyrange=[0.0333333333333,0.0333333333333], stepsz = 30., cntfile="/data2/fleming/GPHOTON_OUTPUT/LIGHTCURVES/sdBs/sdB_pg_1331+591/sdB_pg_1331+591_movie_count.fits", cntcoaddfile="/data2/fleming/GPHOTON_OUTPUT/LIGHTCURVES/sdB/sdB...
[ "thomas@boudreauxmail.com" ]
thomas@boudreauxmail.com
52e35d62c03512fe1a51e67e82db5eeed3f504b5
2d445c21e58e80841b0ac99cc678137812f0a670
/practice/exhaustive_search_2/6.py
3ca7337265ab534db52e6a0a55c48eb048188543
[]
no_license
kajyuuen/programming_contest
65c9bc7b7101d7b5fb35cd0cf3fdc6b4213fd0f6
d2b29edf655f64d018947773a29c9a7e3c4a3456
refs/heads/master
2020-04-23T09:51:04.554152
2020-03-06T08:09:29
2020-03-06T08:09:29
171,083,409
2
1
null
null
null
null
UTF-8
Python
false
false
1,407
py
import math import copy from operator import mul from functools import reduce from collections import defaultdict from collections import Counter from collections import deque # 直積 A={a, b, c}, B={d, e}:のとき,A×B={(a,d),(a,e),(b,d),(b,e),(c,d),(c,e)}: product(A, B) from itertools import product # 階乗 P!: permutations(seq)...
[ "kajyuuen@gmail.com" ]
kajyuuen@gmail.com
8029ec50fbbd9ae648da1ff8cd865ab65dc428d1
480e33f95eec2e471c563d4c0661784c92396368
/SimCalorimetry/EcalTestBeam/python/ecaldigi_testbeam_cfi.py
622c3700cdbd89eeecef45ddb163a78db9581b77
[ "Apache-2.0" ]
permissive
cms-nanoAOD/cmssw
4d836e5b76ae5075c232de5e062d286e2026e8bd
4eccb8a758b605875003124dd55ea58552b86af1
refs/heads/master-cmsswmaster
2021-01-23T21:19:52.295420
2020-08-27T08:01:20
2020-08-27T08:01:20
102,867,729
7
14
Apache-2.0
2022-05-23T07:58:09
2017-09-08T14:03:57
C++
UTF-8
Python
false
false
1,469
py
import FWCore.ParameterSet.Config as cms from SimCalorimetry.EcalSimProducers.ecalDigiParameters_cff import * from SimCalorimetry.EcalSimProducers.apdSimParameters_cff import * from SimCalorimetry.EcalSimProducers.ecalSimParameterMap_cff import * from SimCalorimetry.EcalSimProducers.ecalElectronicsSim_cff import * fro...
[ "giulio.eulisse@gmail.com" ]
giulio.eulisse@gmail.com
ec974c6bd6cdaedb30b4225eb19f775e78f663e3
988176bcdae841e08106b0fe5cf07aabbc210c83
/check if number has repeating digits.py
e52d031e1d90dbf746079c45056103fb0a3dc4f8
[]
no_license
gopiprasad008/GUVI_CODEKATA_PYTHON_CODE
ce1a63c7eea2a099c01748162c1deb47172dcd0a
78f374e344df25aab181408d8f41b3ebe03b34ef
refs/heads/master
2023-03-16T00:27:31.539524
2020-05-16T11:46:08
2020-05-16T11:46:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
209
py
n = int(input()) l=[] while n>0: l.append(n%10) n //= 10 count = 0 flag = False for i in l: count = l.count(i) if count > 1: flag = True if flag: print("yes") else: print("no")
[ "noreply@github.com" ]
gopiprasad008.noreply@github.com
242db4c947253638daa86ab51e914f0eec4d3fd3
4a9995871447a406a7e6307a030503700cd41226
/script/testCase/Y3me项目/数字化建模9/流程管理/协作关系.py
eb20471214b2628a26460e665f609a3ae7bcc3f8
[]
no_license
juntaoh1234/12122003
96a107ce22d930e8d9517810736d8f6ce92dc7ad
4bee39286c3708d7a0df3001e0daa9da51478170
refs/heads/master
2020-10-01T18:20:01.572599
2019-12-12T12:04:08
2019-12-12T12:04:08
227,596,967
3
0
null
null
null
null
UTF-8
Python
false
false
2,011
py
# coding=utf-8 from time import time, sleep from SRC.common.decorator import codeException_dec from SRC.unittest.case import TestCase from SRC.webdriver import switchTo from script.common import utils from selenium import webdriver from selenium.webdriver import ActionChains class EasyCase(TestCase): def __init_...
[ "1341890679@qq.com" ]
1341890679@qq.com
6aaeac0a8a8cac8f5e7d5a50528273d865c057d2
90972e383d74ac304cd7906c870b9152f143ab32
/project/settings/epio.py
9667526603fb725fe9986247de58e72a33ccdc06
[]
no_license
stefanfoulis/django-epioprices
ddcc04a401d049d2c027ff66bf8ef10d2a0d6b14
96b95d208b852190f7758216049992b262b8a9bf
refs/heads/master
2021-01-19T06:57:05.789881
2011-09-04T19:46:54
2011-09-04T19:47:03
2,316,913
0
0
null
null
null
null
UTF-8
Python
false
false
146
py
#-*- coding: utf-8 -*- from .base import * DEBUG = False MIDDLEWARE_CLASSES = ( 'project.middleware.HTTPSMiddleware', ) + MIDDLEWARE_CLASSES
[ "stefan.foulis@gmail.com" ]
stefan.foulis@gmail.com
35ca86acb90a5ca15d3c742c20968dbab50bb473
4f1296d24b4322298b5b6891f82fd4a18b375c09
/HFS/file_server/migrations/0001_initial.py
7faec20426481374c995efc7cfdb4c2ea55c6524
[]
no_license
levenkoevgeny/hfs
a97e5a172f930cb5b1f9503a925ae8a11d78b684
019fccf8d5408930f80f0393c2fe41528e8ff9bc
refs/heads/main
2023-01-31T21:11:12.194927
2020-12-13T17:05:29
2020-12-13T17:05:29
321,114,641
0
0
null
null
null
null
UTF-8
Python
false
false
699
py
# Generated by Django 3.1.4 on 2020-12-11 20:04 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='FileStorage', fields=[ ('id', models.AutoFi...
[ "levenko.evgeny@yandex.by" ]
levenko.evgeny@yandex.by
5a06628f0400b00de486cc7c4778a12ad607607b
a6a78f59f442c18449befc89be2b193e37b695d6
/ivi/tektronix/tektronixPS2521G.py
d54c77dde91ff329af57b8b4e8fe70b131bbccff
[ "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
1,750
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
06384e12131deffb61c7772e8da7f407e228c80b
b631b8d53ddacf0e5b31940a3e4dbf1d729beb18
/backend/test/bot/modules/auth.py
bd7b5025efdb30e47a99b4c17e1b874bdfe9eed3
[ "MIT" ]
permissive
SpartanPlume/Tosurnament
9c6f0519eaff4d86f424a3d29cbb78c9b8a1f794
8b9871edeb6fda49cdf69607047714f6b42a5992
refs/heads/master
2023-07-25T18:55:50.599135
2023-02-01T18:09:07
2023-02-01T18:09:07
110,076,290
10
9
MIT
2023-07-20T05:48:58
2017-11-09T06:26:14
Python
UTF-8
Python
false
false
2,992
py
""" All tests concerning the Tosurnament auth module. 'link' generates a code to set on the osu profile. 'auth' finalizes the linking process, meaning the discord and osu! account are associated. """ import importlib import pytest from bot.modules import auth from common.databases.tosurnament.user import User import ...
[ "spartan.plume@gmail.com" ]
spartan.plume@gmail.com
745b60f9c6ba953b33302fd37de74fd47b1cc0e6
b76615ff745c6d66803506251c3d4109faf50802
/pyobjc-framework-AdSupport/PyObjCTest/test_asidentifiermanager.py
cfc6bbe404fdd6c923caf28766c115f365d4f967
[ "MIT" ]
permissive
danchr/pyobjc-git
6ef17e472f54251e283a0801ce29e9eff9c20ac0
62b787fddeb381184043c7ff136f1c480755ab69
refs/heads/master
2021-01-04T12:24:31.581750
2020-02-02T20:43:02
2020-02-02T20:43:02
240,537,392
0
0
null
null
null
null
UTF-8
Python
false
false
474
py
from PyObjCTools.TestSupport import * import sys if sys.maxsize > 2 ** 32: import AdSupport class ASIdentifierManager(TestCase): @min_os_level("10.14") def test_classes(self): AdSupport.ASIdentifierManager @min_os_level("10.14") def test_methods(self): ...
[ "ronaldoussoren@mac.com" ]
ronaldoussoren@mac.com
5686e239e182e1b4e58e6bce648c24b1f6ea08bd
9399d687b2e41245968ba0e9d413a6789d773b1d
/CI/erlang/third-party/aiwan-master/client/device.py
754832646634160d8190355c37cfba125f942890
[]
no_license
jiangliu888/DemoForSpeed
be41bdb85a1d1f5ca9350a3a1f681ced5ec9b929
11319bc19c074327d863ac2813a04cef3487f8d6
refs/heads/main
2023-08-23T14:16:21.686155
2021-10-17T12:01:34
2021-10-17T12:01:34
388,452,435
1
0
null
null
null
null
UTF-8
Python
false
false
2,485
py
from client.rest import RestClient from core import settings class DeviceClient(object): netconfUrl = "http://" openflowUrl = "http://" + settings.OPENFLOW_SWITCH + ":" + "6007" switchUrl = "http://" + settings.CONTROLLER_HOST + ":" + "6008" @classmethod def get_device_config(cls, neId,...
[ "admin@example.com" ]
admin@example.com
c461614562304a3b2000f40db33ff7f21259742e
6a7e9e0e9c08132166f566bd88ae1c46ff8f9c0a
/azure-batch/azure/batch/models/file_get_properties_from_task_options_py3.py
739968950e4aab8a972ebcd6471fbdc60f35dad1
[ "MIT" ]
permissive
ashirey-msft/azure-sdk-for-python
d92381d11c48f194ec9f989f5f803db614fb73f2
e04778e13306dad2e8fb044970215bad6296afb6
refs/heads/master
2020-03-23T06:05:39.283442
2018-09-15T00:18:26
2018-09-15T00:18:26
141,188,192
0
1
MIT
2018-07-16T20:02:52
2018-07-16T20:02:52
null
UTF-8
Python
false
false
2,924
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 ...
[ "lmazuel@microsoft.com" ]
lmazuel@microsoft.com
6de1a2aea187ec300bfd740c119186daf0a3bacc
0bce7412d58675d6cc410fa7a81c294ede72154e
/Python3/0187. Repeated DNA Sequences.py
5c1e68e6cea999b90fe7fa0212b3db81c952f6e5
[]
no_license
yang4978/LeetCode
9ddf010b0f1dda32cddc7e94c3f987509dea3214
6387d05b619d403414bad273fc3a7a2c58668db7
refs/heads/master
2022-01-15T04:21:54.739812
2021-12-28T12:28:28
2021-12-28T12:28:28
182,653,666
0
0
null
null
null
null
UTF-8
Python
false
false
653
py
class Solution: def findRepeatedDnaSequences(self, s: str) -> List[str]: temp = set() res = set() for i in range(len(s)-9): if(s[i:i+10] not in temp): temp.add(s[i:i+10]) else: res.add(s[i:i+10]) return list(res) # res =...
[ "noreply@github.com" ]
yang4978.noreply@github.com
508afb9d628e7845c8ebdd4faf782eae017b2ba3
bbed0e21b241c6a39341fed7d058563c30e2e0a4
/tests/utilities/test_argparse_utils.py
978ad820482b2f892cefc2cd2e2a39d3e911dc49
[ "Apache-2.0", "LicenseRef-scancode-proprietary-license" ]
permissive
haven-jeon/pytorch-lightning
656917a6cace5c3723d951f84515e8cb74a0ec79
6b9362bb73ada4c8702def43fe8f27eb3c382540
refs/heads/master
2023-02-23T18:29:08.298601
2021-01-28T07:42:14
2021-01-28T07:42:14
325,184,155
2
0
Apache-2.0
2021-01-28T07:42:15
2020-12-29T04:19:44
Python
UTF-8
Python
false
false
1,875
py
from pytorch_lightning.utilities.argparse_utils import parse_args_from_docstring def test_parse_args_from_docstring_normal(): args_help = parse_args_from_docstring( """Constrain image dataset Args: root: Root directory of dataset where ``MNIST/processed/training.pt`` a...
[ "noreply@github.com" ]
haven-jeon.noreply@github.com
78256590878a3030d608cb1b9ee665f1fdceeb19
f13ad562462b415e3301e4db9013eef8bccd4411
/MiniOsaka/typeddict.py
745042e178c1363bf29ef88373a37ecb97c86200
[ "Apache-2.0" ]
permissive
t2y/python-study
1dd6d5ccda6a9028e434f3906a25c19ee26091f5
52a132ea600d4696164e540d8a8f8f5fc58e097a
refs/heads/master
2021-12-08T19:37:44.035022
2021-11-30T19:07:35
2021-11-30T19:07:35
64,656,041
18
6
null
null
null
null
UTF-8
Python
false
false
202
py
from mypy_extensions import TypedDict Movie = TypedDict('Movie', {'name': str, 'year': int}) blade_runner: Movie = {'name': 'Blade Runner', 'year': 1982} toy_story = Movie(name='Toy Story', year=1995)
[ "tetsuya.morimoto@gmail.com" ]
tetsuya.morimoto@gmail.com
1ff59360b84b641133e119bdddd60944e89ebac2
b5a2d6981ac71ab4510f1d2ebd8595162ac001aa
/ha/controls/electricalSensors.py
d0936a99269ae45053fa329004d38e1f50f2691f
[]
no_license
lvmingxiao/ha
0e0f918d954d219c83fee6570d649641b5473b85
122ecfd2ef811e5be29e03538a3950aebe29fb12
refs/heads/master
2022-04-09T00:10:02.810782
2020-03-07T18:14:02
2020-03-07T18:14:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,784
py
import time import threading from ha import * # Measure a voltage class VoltageSensor(Sensor): def __init__(self, name, interface, addr, voltageFactor=1.0, threshold=0.0, group="", type="sensor", location=None, label="", interrupt=None, event=None): Sensor.__init__(self, name, interface, addr...
[ "joe@thebuehls.com" ]
joe@thebuehls.com
e8f9fc59d3ec441da331f43861c5f1854982d1df
a2a8d0e79d0407bfac1ba67102e224d1f61b0299
/abs_warehouse_status/models/warehouse_status.py
6199424c9a3a5a44c0557b17cb2754aa0e53c4fa
[]
no_license
maurolguin1/addons23
860f95eaa9896e96d95b3fd945d4a156b48ecd0a
e513e3bbaaac19583a2ffe0342c61e98ec0fdf82
refs/heads/master
2020-03-29T21:06:39.912762
2018-09-06T22:33:54
2018-09-06T22:33:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,327
py
# -*- coding: utf-8 -*- ################################################################################# # # Odoo, Open Source Management Solution # Copyright (C) 2018-Today Ascetic Business Solution <www.asceticbs.com> # # This program is free software: you can redistribute it and/or modify # it under the...
[ "diegobgajardo@gmail.com" ]
diegobgajardo@gmail.com
5b1246755057a64e7489d2b6e76f0264101cf930
c32fc1071362ca56f4f2a5488be7c4f41a2d3dc1
/pythoncrashcourse/AngelaPython/controlflow/logicaloperators/logical.py
d25ee9c3cb11c1433f24661ffd3a1461489b161e
[]
no_license
charan2108/pyprocharmprojects
234713888168551fe1fc49d20482f4b1d2b9351a
8100194a8d14bf84b6141df8c73e7ed1883d85e3
refs/heads/main
2023-08-21T00:59:47.052269
2021-09-30T16:05:41
2021-09-30T16:05:41
353,374,435
0
0
null
null
null
null
UTF-8
Python
false
false
581
py
print("Welcome to Python Pizza Deliveries!") size = input("What size pizza do you want? S, M, or L ") add_pepperoni = input("Do you want pepperoni? Y or N") add_cheese = input("Do you want cheese? Y or N") billAmt = 0 if size == 'S': billAmt+= 15 elif size == 'M' and size == 'L': billAmt+= 20 else: billAmt...
[ "sumacharan.adabala@gmail.com" ]
sumacharan.adabala@gmail.com
9a2c84277135e06fa5a734c588af4348596ff6bd
154ec3de1efcf3c97d154ac2ed0c7cd1c9a25040
/tests/h/util/group_test.py
ebe7c727fdefb4cf4b4e1e25fe5dbc3762918c9b
[ "BSD-3-Clause", "BSD-2-Clause-Views", "BSD-2-Clause" ]
permissive
Manuelinux/kubeh
98a9c5c0a98be67c3583dd222bd74046cd5ee484
a549f0d1c09619843290f9b78bce7668ed90853a
refs/heads/master
2023-03-16T00:51:43.318292
2021-09-17T03:33:14
2021-09-17T03:33:14
211,371,455
0
0
BSD-2-Clause
2023-03-03T07:20:50
2019-09-27T17:37:10
Python
UTF-8
Python
false
false
2,274
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals import pytest from h.util import group as group_util class TestSplitGroupID: @pytest.mark.parametrize( "groupid,authority_provided_id,authority", [ ("group:flashbang@dingdong.com", "flashbang", "dingdong.com"), ...
[ "manuelaguirre@Admins-MacBook-Pro.local" ]
manuelaguirre@Admins-MacBook-Pro.local
9bb4cf9afba68b0c74f54b7922e08e36b2a85dfb
fbab42646c7469bfb46ca7d6857100e2e8202483
/uprofile/migrations/0002_auto_20200302_1228.py
b4777b2285bb1e8ec910a4adfe2dcab4a166f945
[]
no_license
Stephen-Kamau/vibes
3415c6b44984f9242e55b794fa2a3ba3edd3f448
fbbce426f308c094533893de481dfa4a29f34919
refs/heads/master
2021-01-06T00:43:01.876815
2020-03-03T15:27:56
2020-03-03T15:27:56
241,402,125
0
0
null
2020-02-18T15:51:53
2020-02-18T15:51:52
null
UTF-8
Python
false
false
450
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.23 on 2020-03-02 12:28 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('uprofile', '0001_initial'), ] operations = [ migrations.AlterField( ...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
ec14d3689acef5992472c40061bc912c8d146609
a935a3d24cf99e30fb0170cb9f53cd9db4546153
/day1.py
4ee55381d53d0e17e435cfbdcc6b3a33d029ba66
[]
no_license
amiraHag/hackerrank-30-days-of-code
20d28b6c6850fc79fd5db3a7ba5b72300da8a073
b2c315e0eed2175251d504c3aafd63428389a40d
refs/heads/main
2023-02-09T06:15:00.103154
2021-01-06T11:27:27
2021-01-06T11:27:27
327,290,596
0
0
null
null
null
null
UTF-8
Python
false
false
487
py
# Declare second integer, double, and String variables. d=4.0 s= "HackerRank " # Read and save an integer, double, and String to your variables. i_input = int(input()) d_input= float(input()) s_input= input() # Print the sum of both integer variables on a new line. print(i+i_input) # Print the sum of the double varia...
[ "amira071846@feng.bu.edu.eg" ]
amira071846@feng.bu.edu.eg
c7fce1092e3266f6536fde6ef9d144dd91a3e70c
6c007dd7d6b766be9162878425b84920765e8926
/read_comment_json.py
f394a9d9868a61c8d7239a10e18ac7283056403b
[ "MIT" ]
permissive
seahrh/pocojo
984e3a90f1bf9ccc9b3c9f1ad59703cfdd99dd2c
140489081b4e2f0d7e84d9e144bcc4d00c402a51
refs/heads/master
2020-03-07T08:15:40.980593
2019-04-04T06:38:44
2019-04-04T06:38:44
127,372,561
0
0
MIT
2019-04-04T06:38:45
2018-03-30T02:42:36
Python
UTF-8
Python
false
false
504
py
import json import re with open('comments/c300046.json', 'rt') as f: c = json.load(f) # print(f'c={repr(c)}') comments = c['comments'] print(f'c.length={repr(len(comments))}') for i, comment in enumerate(comments): comment_txt = re.sub('<[^<]+?>', '', comment['content']) print(f'#{i...
[ "seahrh@gmail.com" ]
seahrh@gmail.com
eb66f5335c038873ab2243502f6b419872f522bc
864ac654661bff891dcaddb89e108872afa010ec
/docs/_static/_downloads/a475f44e0a7e209fe8fa0dbd29c5d42a/showTaxaSummary.py
c094f0be55a5cf851ac23ee71b5a847957af19cf
[ "MIT" ]
permissive
ajrichards/xenopus-supplement
789f2ca271c896c728861ec0a7556d3fdb69a33b
43ae98372226d6f51144107d4bff33c4ab239bb7
refs/heads/master
2020-04-10T18:27:52.272597
2019-04-12T00:18:12
2019-04-12T00:18:12
161,205,194
0
0
null
null
null
null
UTF-8
Python
false
false
1,916
py
#!/usr/bin/env python """ Take the parsed blast results and create a summary file to be read by BlastMapper """ import os,sys,csv,re,getopt,time from htsint.blast import BlastMapper ## read input if len(sys.argv) < 2: raise Exception("\n\nInvalid syntax. use '%s'"%sys.argv[0] + " -s source\n") try: optlis...
[ "adamricha@gmail.com" ]
adamricha@gmail.com
9ed95fbd038e309371098ec353f27cb381087747
ddd3b6663fbcc5b64fe9a96a3da87dd1460e1ab4
/migrations/versions/6280e737c778_.py
8feef4dc0c04a47e2966afe3f851f6eb13beedda
[]
no_license
ranihorev/scihive-backend
3d72e35829d97368a331bc85c362c7af29b63eb9
d246a8ed07b0fd793a1a9c3497c976cbd4957b3d
refs/heads/master
2022-06-17T17:32:35.834425
2021-04-02T14:40:07
2021-04-02T14:40:07
184,781,038
13
4
null
2022-05-25T03:51:56
2019-05-03T15:41:16
Python
UTF-8
Python
false
false
788
py
"""empty message Revision ID: 6280e737c778 Revises: 79420dcea6cb Create Date: 2020-10-22 23:05:06.624326 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '6280e737c778' down_revision = '79420dcea6cb' branch_labels = None depends_on = None def upgrade(): # ...
[ "ranihorev@gmail.com" ]
ranihorev@gmail.com
67d4796fbaa670ecdcd2ac8bdc8199b3faa71812
52e5c4c64d0922197fa919a4432ead2d988c86d4
/create_plot.py
59047c781194b1ab83b3ce29c017706f79f3fecd
[ "MIT", "CC-BY-4.0" ]
permissive
jangop/butterflies
e359c24f0b6a42283e5fc4bc9ede0af181c8beba
b6189bac9448bff93f60338202240436499a6041
refs/heads/master
2020-12-13T22:27:16.610497
2020-01-17T13:29:03
2020-01-17T13:29:03
234,547,346
1
0
null
2020-01-17T12:48:17
2020-01-17T12:48:16
null
UTF-8
Python
false
false
968
py
import numpy as np import matplotlib.pyplot as plt import sys import os from tqdm import tqdm codes = np.load('data/latent_codes_embedded.npy') from matplotlib.offsetbox import OffsetImage, AnnotationBbox from image_loader import ImageDataset dataset = ImageDataset() width, height = 80, 80 fig, ax = plt.subplots(...
[ "mail@marian42.de" ]
mail@marian42.de
be30ae7f0538540776440a548d41cf34b8fd2ff9
6a1f6500d2319a2b7d974e3075747b86f102198e
/ConvertSortedListToBinarySearchTree.py
5b313ca0fb8300340fbe2bdcf716c844366e2eae
[]
no_license
vpc20/binary-trees
257672bb3b76c63c1530787a17c664665f5ed15e
90e074ec33acfa431285fbc3236335814a37feb2
refs/heads/master
2023-04-30T01:14:06.556085
2021-05-20T08:27:42
2021-05-20T08:27:42
271,945,306
0
0
null
null
null
null
UTF-8
Python
false
false
1,776
py
# Given the head of a singly linked list where elements are sorted in ascending order, convert it # to a height balanced BST. # # For this problem, a height - balanced binary tree is defined as a binary tree in which the # depth of the two subtrees of every node never differ by more than 1. # # Example 1: # Input: head...
[ "cuevasvp@gmail.com" ]
cuevasvp@gmail.com
a8852f18084eafe2b6c96a9a76bf76f608615a62
4d15568c751cef81a0fe5bad2257cc72c750be5d
/bndl/compute/tests/test_files.py
da4e7d43790577a836b66b178930fcf1852aae2c
[ "Apache-2.0" ]
permissive
towr/bndl
c3e76ce2dc93b17c0dac0db21fb66c91378ed795
1aca3854916186752d5ba31616000141677a5673
refs/heads/master
2020-05-30T08:35:28.105653
2017-02-21T13:47:33
2017-02-21T13:47:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,126
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 under th...
[ "frens.jan.rumph@target-holding.nl" ]
frens.jan.rumph@target-holding.nl