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
cff524845cd8cd7c51e340615ab03f93dd2e8f56
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2464/60624/263253.py
43b61c2b54734e6e699622b0d037ab4ce3242c40
[]
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
576
py
def func8(): target = int(input()) nums = list(map(int, input().split(","))) low, high, res = 0, len(nums), 0 def helper(size): sum_size = 0 for i in range(len(nums)): sum_size += nums[i] if i >= size: sum_size -= nums[i-size] if sum_si...
71095ab94c5e4ddec9a1d84902c4dd9e3bef9571
8d90e2eae476ecbe88d46ef2f03fe7ba92cc733b
/Programming Basics with Python/For-cycle/For_C_lab_ex6_sum_of_vowels.py
39e46fed5101d534882c2b874c0d0b2764c03068
[]
no_license
KaterinaMutafova/SoftUni
c3f8bae3c2bf7bd4038da010ca03edc412672468
7aeef6f25c3479a8d677676cb1d66df20ca0d411
refs/heads/main
2023-03-08T10:53:49.748153
2021-02-19T15:55:13
2021-02-19T15:55:13
317,597,660
1
0
null
null
null
null
UTF-8
Python
false
false
276
py
text = input() result = 0 for i in text: if i == "a": result += 1 elif i == "e": result += 2 elif i == "i": result += 3 elif i == "o": result += 4 elif i == "u": result += 5 print(result)
67d1221bfdb2b6a345db86fe818fdbf3895b92fb
1c72aa6d53c886d8fb8ae41a3e9b9c6c4dd9dc6f
/Semester 1/Project submissions/Lee Eldridge/Excercise Weeks 1-9 - Lee Eldridge/Week 7/url_reader.py
e2cc32fffbe071db0b3e936c95c54fccaf8b2641
[]
no_license
codebubb/python_course
74761ce3189d67e3aff964c056aeab27d4e94d4a
4a6ed4a64e6a726d886add8364c65956d5053fc2
refs/heads/master
2021-01-11T03:06:50.519208
2016-07-29T10:47:12
2016-10-17T10:42:29
71,114,974
0
0
null
null
null
null
UTF-8
Python
false
false
536
py
import time import urllib2 open_file = urllib2.urlopen('http://wordpress.org/plugins/about/readme.txt', 'r') read = open_file.read() file_list = read.split() print read print "" print "Hello, currently doing some analysis, please wait..." time.sleep(3) print "There are currently:", len(file_list), "words in the above t...
2ae47ede9827fbde591f754ac58ffc0dc2fac0d9
1ac99f8065a2646bdb8ea9003fd5930341fb0cf4
/Exam2/3.py
096cd041d3b9738fdbd0949fc47c080513e7b1e3
[]
no_license
krishnanunni-pr/Pyrhon-Django
894547f3d4d22dce3fff14e88815122c12c145b5
c59471f947ceb103bb27a19e8a2a160e8ada529b
refs/heads/master
2023-07-29T19:40:38.199104
2021-09-09T18:12:24
2021-09-09T18:12:24
385,128,009
0
0
null
null
null
null
UTF-8
Python
false
false
648
py
# 3. Create a Book class with instance Library_name, book_name, author, pages? class Book: def bookdetails(self,bkname,author,pages,library_name): self.library_name=library_name self.bkname=bkname self.author=author self.pages=pages print("Book name :",bkname) print...
3b83024a4da9cdde39c50333316b03838417d3a9
eac55c1fbbf83f08eabdfd5337ae54ca24ed655b
/build/velodyne/velodyne_msgs/catkin_generated/pkg.develspace.context.pc.py
85c1b12f52780f9af793f52565600c24d7496253
[]
no_license
codeJRV/velodyne_ws
c4271d81de66ee354f9c948aa961f56266e74e55
ae684357b2d3f0ddc8a327cd9f625f727d02e145
refs/heads/master
2021-01-25T14:03:39.322967
2018-03-15T23:16:36
2018-03-15T23:16:36
123,643,268
0
0
null
null
null
null
UTF-8
Python
false
false
522
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/home/jrv/Research/Velodyne/velodyne_ws/devel/include".split(';') if "/home/jrv/Research/Velodyne/velodyne_ws/devel/include" != "" else [] PROJECT_CATKIN_DEPENDS = "message_runtime;std_msgs".replace(';...
c7f1fa58dbac7f6e81831d6d8a3c59cdc2507686
3899dd3debab668ef0c4b91c12127e714bdf3d6d
/venv/Lib/site-packages/tensorflow/python/grappler/cluster.py
9f3a130798ca0f57cbdcd49506e0c1d6fe7033db
[]
no_license
SphericalPotatoInVacuum/CNNDDDD
b2f79521581a15d522d8bb52f81b731a3c6a4db4
03c5c0e7cb922f53f31025b7dd78287a19392824
refs/heads/master
2020-04-21T16:10:25.909319
2019-02-08T06:04:42
2019-02-08T06:04:42
169,691,960
3
2
null
null
null
null
UTF-8
Python
false
false
5,139
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...
cc2a32a439a92c92aa61ba4ea571b75e901de399
77311ad9622a7d8b88707d7cee3f44de7c8860cb
/res/scripts/client/gui/scaleform/daapi/view/meta/fortdatepickerpopovermeta.py
206f951b446d8c248b6507b491083faefdebba91
[]
no_license
webiumsk/WOT-0.9.14-CT
9b193191505a4560df4e872e022eebf59308057e
cfe0b03e511d02c36ce185f308eb48f13ecc05ca
refs/heads/master
2021-01-10T02:14:10.830715
2016-02-14T11:59:59
2016-02-14T11:59:59
51,606,676
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
546
py
# 2016.02.14 12:40:19 Střední Evropa (běžný čas) # Embedded file name: scripts/client/gui/Scaleform/daapi/view/meta/FortDatePickerPopoverMeta.py from gui.Scaleform.daapi.view.lobby.popover.SmartPopOverView import SmartPopOverView class FortDatePickerPopoverMeta(SmartPopOverView): pass # okay decompyling c:\Users\P...
7b00ee3b92761685a2e32d3a4d48ca7ab9336fda
25c0e72ea6889749cb269dfd26a77edfc4207d40
/fuzzers/009-xor_b_mux/fuzzer.py
10eff1adfe642697d899998d81e1ec56c7552e86
[ "0BSD" ]
permissive
whitequark/prjbureau
49c2d060ca7b99042fdc751e70f10ad74309975b
cbe15e117449c55e7244756f00c3e34e0d92017e
refs/heads/main
2023-08-16T10:34:53.915942
2021-11-27T21:34:41
2021-11-27T21:34:41
227,539,435
44
8
NOASSERTION
2023-08-07T16:12:37
2019-12-12T06:48:44
Python
UTF-8
Python
false
false
1,577
py
from util import database, toolchain, bitdiff, progress with database.transact() as db: for device_name, device in db.items(): progress(device_name) package, pinout = next(iter(device['pins'].items())) for macrocell_idx, (macrocell_name, macrocell) in enumerate(device['macrocells'].items(...
bff60c91bc6b4841943f12e48362e1aa2fbd2a68
6f78a4c4896563a52d86eacf49dbb6a358a3646e
/hackerrank/python/hackerrank_GreedyFlorist.py
16ef36a533bd86a3d30da8b3791ca3b24de10ad2
[]
no_license
wj1224/algorithm_solve
259c39d2a85ecb2630e089eb0c86cdde9ff3baeb
8b0f15b71a4dd8eb40d3c9baee003a0678c3f2aa
refs/heads/master
2023-08-25T06:14:21.615802
2021-10-26T05:00:59
2021-10-26T05:00:59
219,981,525
0
0
null
null
null
null
UTF-8
Python
false
false
683
py
#!/bin/python3 import math import os import random import re import sys # Complete the getMinimumCost function below. def getMinimumCost(k, c): c.sort() p = dict() for i in range(k): p[i] = 0 answer = 0 idx = 0 for i in range(len(c) -1, -1, -1): if p[idx] == 0: p[idx] = 1 answer += c[i] else: ans...
6a745e9f87961ebcdf3c39a8a5a82bb8766d12fd
9ae6ce54bf9a2a86201961fdbd5e7b0ec913ff56
/google/ads/googleads/v11/resources/types/custom_interest.py
99614684ab894f1604193e87090c4c4a6cf627c7
[ "Apache-2.0" ]
permissive
GerhardusM/google-ads-python
73b275a06e5401e6b951a6cd99af98c247e34aa3
676ac5fcb5bec0d9b5897f4c950049dac5647555
refs/heads/master
2022-07-06T19:05:50.932553
2022-06-17T20:41:17
2022-06-17T20:41:17
207,535,443
0
0
Apache-2.0
2019-09-10T10:58:55
2019-09-10T10:58:55
null
UTF-8
Python
false
false
4,315
py
# -*- coding: utf-8 -*- # Copyright 2022 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...
3e5d83152601273afe64ccec38a1da8f975d3f69
d2cacbd1bde10e464faabc22ad5936f1aaf4e2ef
/data/Exp_ICIP/SingleTraining/Standard/chess/main.py
fd7f9227b6f2876e357707f2b72f4758b385fefe
[]
no_license
npiasco/dl_management
a26950a3b53c720d881a8b7ac3fa81161a048256
11c29a3637efa5fd223b36664d62c704e8166bab
refs/heads/master
2021-03-16T05:44:39.806437
2019-09-06T13:52:52
2019-09-06T13:52:52
124,055,338
1
0
null
null
null
null
UTF-8
Python
false
false
2,585
py
#!/usr/bin/env python import os, sys import setlog conf_file = os.environ['DEV'] + 'dl_management/.log/logging.yaml' save_file = os.path.abspath(sys.argv[0])[:-len(sys.argv[0])] + 'log/' setlog.reconfigure(conf_file, save_file) import system.PoseRegression as System if __name__ == '__main__': scene = 'chess' ...
5497f6ee6391b9ac43175da5e71e6258fe100482
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2343/60747/290105.py
acd1d87a6a3d7f48f8d17e9d3a7187668c2002bd
[]
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
168
py
n=input().split(" ") s="" for i in range(int(n[0])+int(n[1])): s=s+input() if s=="n<><>un<>nnuonuu<>un<><>u<><>o<><>n<><>u<><>n<><>u":print("RLLRLRR") else:print(s)
422b6c2b3875c8bc1e6c5e9adb460cba8e8e15e5
f303936feb0f221ea1ccb3ef1eae57654aa0325a
/server/szurubooru/func/users.py
3c39fb5a119d15c7080f29da463b20de76a58417
[]
no_license
hnamquoc/szurubooru
7b695e232c7f601dc95f77fbb7570aef3e16ddd9
16d4d3ca68964eb7759b629ec84eb6b14d9d7cdb
refs/heads/master
2020-12-31T01:23:26.322422
2016-05-21T20:29:31
2016-05-21T20:35:18
59,414,380
1
0
null
2016-05-22T13:41:37
2016-05-22T13:41:36
null
UTF-8
Python
false
false
6,152
py
import datetime import re from sqlalchemy import func from szurubooru import config, db, errors from szurubooru.func import auth, util, files, images class UserNotFoundError(errors.NotFoundError): pass class UserAlreadyExistsError(errors.ValidationError): pass class InvalidUserNameError(errors.ValidationError): pass c...
f4634675d8b38cab07ad7568cd4c1eb03d5df4c7
bddc40a97f92fafb8cbbbfdbdfe6774996578bb0
/exercicioLista01/ex09.py
3d885e7b04164115b80e89e056de00459bd1665a
[]
no_license
andrehmiguel/treinamento
8f83041bd51387dd3e5cafed09c4bb0a08d0e375
ed18e6a8cfba0baaa68757c12893c62a0938a67e
refs/heads/main
2023-01-31T13:15:58.113392
2020-12-16T02:47:44
2020-12-16T02:47:44
317,631,214
0
0
null
null
null
null
UTF-8
Python
false
false
274
py
#09 Faça um Programa que peça a temperatura em graus Fahrenheit, transforme e mostre a temperatura em graus Celsius. #C = 5 * ((F-32) / 9). F = int(input("Informe a temperatura em F: ")) C = 5 * ((F-32) / 9) print(F, "graus Fahrenheit, equivalem a", C, "graus Celsius.")
7bcb3f7715b24df699c20989fad420f6b3ed7bb7
930a868ae9bbf85df151b3f54d04df3a56bcb840
/benchmark/slurm_utilities/slurm_rerun_failed.py
e949b3379c738b6570226a175e386621067b1975
[ "MIT" ]
permissive
yuewuo/QEC-Playground
1148f3c5f4035c069986d8b4103acf7f1e34f9d4
462208458cdf9dc8a33d4553a560f8a16c00e559
refs/heads/main
2023-08-10T13:05:36.617858
2023-07-22T23:48:49
2023-07-22T23:48:49
312,809,760
16
1
MIT
2023-07-22T23:48:51
2020-11-14T12:10:38
Python
UTF-8
Python
false
false
1,290
py
import os, sys, subprocess, time import slurm_distribute def rerun_failed(sbatch_file_path, failed_cases, slurm_commands_vec=None, use_interactive_partition=False): # generate rerun sbatch file sbatch_file_folder = os.path.dirname(sbatch_file_path) rerun_file_path = os.path.join(sbatch_file_folder, "rerun...
8e633d8ebb598671323b8487afebce2f6f963568
26771494974942f4ab18d2cd8247506c344e1d14
/1-50/003-v2-longestSubstringWithoutRepeatingCharacters.py
1b623b33716c725631f7c4fd8f5ea735357865ac
[]
no_license
wangyunpengbio/LeetCode
9f4c6076e067c5e847d662679483f737d40e8ca5
cec1fd11fe43177abb2d4236782c0f116e6e8bce
refs/heads/master
2020-04-29T22:28:25.899420
2020-04-03T07:37:26
2020-04-03T07:37:26
176,448,957
3
0
null
null
null
null
UTF-8
Python
false
false
485
py
class Solution: def lengthOfLongestSubstring(self, s: str) -> int: # 参考答案的滑动窗口方法,用双指针来进行滑动 n = len(s) myset = set() ans = 0 i = 0 j = 0 while i < n and j < n: if s[j] not in myset: myset.add(s[j]) j = j + 1 ...
5f23a4262ec4073b1f163b28f7c67f2d5e26d020
5a545262f7c053c1cfd1f7984664e3220c745161
/casper4/griefing_factor_calculator.py
b51af758356363f00bf152f26b683100969d0483
[ "MIT" ]
permissive
ethereum/research
2c523e5796cfdb6055e0107dc1768fbf164ecad0
bb873f8ad0e673803ec6a55be26678e1f99b9ece
refs/heads/master
2023-09-04T19:11:51.507361
2023-08-30T01:52:05
2023-08-30T01:52:05
42,808,596
1,774
603
MIT
2023-04-21T07:20:21
2015-09-20T10:13:12
Python
UTF-8
Python
false
false
2,335
py
# Computes griefing factors of various parameter sets for Casper the # Friendly Finality Gadget # Case 1: <1/3 non-commit (optimal if epsilon participate) def gf1(x1, x2, x3, x4, x5): return x2 / x1 # Case 2: censor <1/3 committers (optimal if 1/3 get censored) def gf2(x1, x2, x3, x4, x5): return 1.5 * (x1 + ...
826e890c5538a5e47ee9b6d19b96e2365eb6aab2
05caf48bd067c050666026b75686f23d02327378
/_560.py
de64e26467444d25f8d5aaf3e39947d672b14bd7
[ "MIT" ]
permissive
elfgzp/Leetcode
3b6fa307c699fd5a1ba5ea88988c324c33a83eb7
964c6574d310a9a6c486bf638487fd2f72b83b3f
refs/heads/master
2023-08-21T23:11:38.265884
2020-10-17T11:55:45
2020-10-17T11:55:45
168,635,331
3
0
MIT
2023-07-21T03:50:43
2019-02-01T03:14:49
Python
UTF-8
Python
false
false
488
py
class Solution: def subarraySum(self, nums, k): """ :type nums: List[int] :type k: int :rtype: int """ res = 0 pre_sum = 0 dic = {0: 1} for n in nums: pre_sum += n if pre_sum - k in dic: res += dic[pre_...
0f4025b60d2f552b2859125fbcd22ff802197eb0
a882ccf759025735f926695d6a5a39937854646a
/c_step16/conf.py
02c981773f5192a24679711db370473f365f18be
[]
no_license
muzudho/practice-open-cv2
5c1534564bcf43c2d8f7a6fb4ee1583bd77337f9
55af5cfb37587b08123b404cf8768d83148cb046
refs/heads/main
2023-07-08T02:23:22.984816
2021-08-10T10:45:01
2021-08-10T10:45:01
349,864,518
3
0
null
null
null
null
UTF-8
Python
false
false
385
py
"""設定 * 横幅は 450px 程度以下 * crieitブログに貼りつけるとき、横幅が広すぎると圧縮されて gifアニメ ではなくなってしまう * ファイルサイズは 2MB 以下 * crieitブログの画像貼付け制限 """ # グリッド間隔 GRID_UNIT = 16 # 色相環一周分のコマ数 PHASE_COUNTS = 24 # フォント倍率 FONT_SCALE = 0.5
803e0e4dcc3f1532c1b2fb227753c3c4ba7c6bde
a2dc75a80398dee58c49fa00759ac99cfefeea36
/bluebottle/cms/migrations/0033_auto_20171017_1353.py
b08c6860a74195c4ea8fe4b46ee081f05535c972
[ "BSD-2-Clause" ]
permissive
onepercentclub/bluebottle
e38b0df2218772adf9febb8c6e25a2937889acc0
2b5f3562584137c8c9f5392265db1ab8ee8acf75
refs/heads/master
2023-08-29T14:01:50.565314
2023-08-24T11:18:58
2023-08-24T11:18:58
13,149,527
15
9
BSD-3-Clause
2023-09-13T10:46:20
2013-09-27T12:09:13
Python
UTF-8
Python
false
false
690
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.8 on 2017-10-17 11:53 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.manager class Migration(migrations.Migration): dependencies = [ ('cms', '0032_migrate_projects_3'), ] operations = [ ...
5d375d43bc7c4bc5917a3045e557f480db9b73f0
7298d1692c6948f0880e550d6100c63a64ce3ea1
/catalog-configs/Vocab/ihm_modeling_post_process_feature_term.py
850ac847e5be209c3b038500354e741d8f1015e4
[]
no_license
informatics-isi-edu/protein-database
b7684b3d08dbf22c1e7c4a4b8460248c6f0d2c6d
ce4be1bf13e6b1c22f3fccbb513824782609991f
refs/heads/master
2023-08-16T10:24:10.206574
2023-07-25T23:10:42
2023-07-25T23:10:42
174,095,941
2
0
null
2023-06-16T19:44:43
2019-03-06T07:39:14
Python
UTF-8
Python
false
false
6,143
py
import argparse from attrdict import AttrDict from deriva.core import ErmrestCatalog, get_credential, DerivaPathError from deriva.utils.catalog.components.deriva_model import DerivaCatalog import deriva.core.ermrest_model as em from deriva.core.ermrest_config import tag as chaise_tags from deriva.utils.catalog.manage.u...
1469b0ca35fbff5011c461f263785d99282f79f6
7a2125b1b4712142e7e1cce21f5ffcb14a6033bc
/shh/__main__.py
664ce9e256b504b70eef92b0c4cac7556be758f5
[]
no_license
keenhenry/shh
060127f22bfe37ce7c2f391070184e646e9c82b7
f4d95dd5341df74195197d8527a4a4e5b0f548b0
refs/heads/master
2021-01-17T19:57:01.449859
2016-08-07T16:14:25
2016-08-07T16:14:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
985
py
import shh import time from argparse import ArgumentParser parser = ArgumentParser() parser.add_argument('-p', '--port', default=None, type=int) parser.add_argument('-k', '--key', default=None, type=str) parser.add_argument('-s', '--server', action='store_true') args = parser.parse_args() if args.port is None: po...
3a14bf609ba29095c5139eff1ced4c4fe38640f0
9398d8433fdb29ee630a6ee43a07bc36a2adbd88
/neutronclient/neutron/v2_0/fw/firewallrule.py
e77e96facdb91dac0a91fec5398a6d4c81fa0b36
[]
no_license
bopopescu/OpenStack_Liberty_Control
ca5a21d0c32c55dc8c517f5c7c9938ce575a4888
0f6ec1b4d38c47776fdf8935266bcaef2464af4c
refs/heads/master
2022-12-03T10:41:53.210667
2016-03-29T06:25:58
2016-03-29T06:25:58
282,089,815
0
0
null
2020-07-24T01:04:15
2020-07-24T01:04:14
null
UTF-8
Python
false
false
5,437
py
# Copyright 2013 Big Switch Networks # All Rights Reserved # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requir...
0a7fe6879f0410d3164ee9629b9d1a10ae90c8b7
9c87f4c9956ccf1ca2e9f75916fad54d7cafa336
/harbor/db/hmysql.py
38b9652bc238b6ac067aa84b7e3863d886a68554
[]
no_license
zbcbcbc/harbor
21cbaf1dd5c12d2ca5f56ddaa62355d3a3226f52
79d65b2b24dffafd425e423dc54c4810497a7613
refs/heads/master
2020-05-24T15:24:13.274030
2016-09-04T18:17:26
2016-09-04T18:17:26
67,360,990
0
0
null
null
null
null
UTF-8
Python
false
false
1,522
py
#coding: utf-8 __filename__ = "h_db.py" __description__ = "harbor project database wrapper module" __author__ = "Bicheng Zhang" __copyright__ = "Copyright 2012-2013, The Harbor Project" __credits__ = "Bicheng Zhang" __email__ = "[email protected]" __version__ = "0.6" __status__ = "Development" from twisted.ent...
224c6c23b0e05f14161b6e1183aab61d954fa5b5
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03815/s360092462.py
f1693763337efdfcac142b7361358d714a452a96
[]
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
167
py
X = int(input()) cnt = X // 11 X -= 11 * cnt cnt *= 2 sum = 0 y = 5 if cnt % 2 == 1 else 6 while sum < X: sum += y y = 6 if y == 5 else 5 cnt += 1 print(cnt)
c39006b1275d87024fe9d99fbb246ea4b6a57844
e6476f18faef8210189c5bc6097a0a108265173c
/quadpy/nsimplex/walkington.py
457a6c5bce2e410fcb09d242cb2da974b6f23349
[ "MIT" ]
permissive
acimpoeru/quadpy
4d96ed6fc20fd53148508f8a4a9b657a5d30269d
0261efd68e4094af31ee7a82c8099f0d88846d5a
refs/heads/master
2021-04-12T12:15:22.899532
2018-02-14T15:59:27
2018-02-14T15:59:27
126,213,721
0
1
MIT
2018-03-21T17:07:29
2018-03-21T17:07:27
null
UTF-8
Python
false
false
4,440
py
# -*- coding: utf-8 -*- # from __future__ import division from math import factorial import numpy import sympy from ..helpers import untangle class Walkington(object): ''' Noel J. Walkington, Quadrature on simplices of arbitrary dimension, Technical Report, CMU, 2000, <http://www.math.cmu.e...
7b2fd7df1cb13035e43f24f46fef589ad5e91ab3
9d1238fb0e4a395d49a7b8ff745f21476c9d9c00
/framework/Tests/PAS/PAS/GeneralSecrets/SecretsV2Folders/MemberPermissions/API/test_member_add_single_folder_then_append_multilevel_folder_to_it.py
46fe3f13b3d24f03c4ad6e4479b9cd1613e66fe3
[]
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
5,848
py
import pytest import logging from Shared.API.secret import create_folder, get_folder, get_secrets_and_folders_in_folders,\ give_user_permissions_to_folder from Shared.API.sets import SetsManager logger = logging.getLogger('test') @pytest.mark.api @pytest.mark.pas @pytest.mark.pasapi @pytest.mark.bhavna def test_...
bbbb3283bf2aa13ee7af8d20d65b760414fc42f7
08e2ed7fb3a3080c8cdc46cf7e4cbb2a6e60f90a
/src/game_object/components/image_component.py
20c402c520e23640a7a37d13e1d5c3a1f98ea467
[]
no_license
thydungeonsean/_rainbowmancer
1630b60983719dde77cd1dea267dd15dde855c38
cebaf66f5c69f60f8b6c38492f19b8f1e32f73fe
refs/heads/master
2021-04-28T07:35:06.183408
2018-03-19T19:55:47
2018-03-19T19:55:47
122,226,506
0
0
null
null
null
null
UTF-8
Python
false
false
1,271
py
from game_object_component import GameObjectComponent from src.data_structures.vector import Vector from src.image.tile_image import TileImage class ImageComponent(GameObjectComponent): A = 0 B = 1 def __init__(self, owner, image_id, animated=True): GameObjectComponent.__init__(self, owner) ...
6295e3e515ae5835cbede861390b080d25f8b017
a3a898a42049da56bbda00adf4cd781f4ffcce5f
/ut.py
661e7e7207fdf62cf6f932036333775b0dad9df4
[]
no_license
zhanglintc/algorithm
682b282b952a4db393c5f2aecaf9d3e7c792d635
5bf955aa62ca7728a26fc0613940839121876f29
refs/heads/main
2023-03-21T20:00:03.989144
2021-03-24T10:03:35
2021-03-24T10:03:35
349,449,071
0
0
null
null
null
null
UTF-8
Python
false
false
2,969
py
#!/usr/bin/python3 # -*- coding: utf-8 -*- # -*- mode: python -*- # vi: set ft=python : import unittest class BaseTestCase(unittest.TestCase): @classmethod def setUpClass(cls): print('######################################################################') print("{0}:".format(cls.__name__)) c...
1d4be0626cf2e87afbb3890b9c2b4fdd4d4312e2
a2b6bc9bdd2bdbe5871edb613065dd2397175cb3
/简单/二叉搜索树中的众数.py
e059cf51f0fc83293f2a71e5defab5ed13b51d62
[]
no_license
Asunqingwen/LeetCode
ed8d2043a31f86e9e256123439388d7d223269be
b7c59c826bcd17cb1333571eb9f13f5c2b89b4ee
refs/heads/master
2022-09-26T01:46:59.790316
2022-09-01T08:20:37
2022-09-01T08:20:37
95,668,066
0
0
null
null
null
null
UTF-8
Python
false
false
1,407
py
''' 给定一个有相同值的二叉搜索树(BST),找出 BST 中的所有众数(出现频率最高的元素)。 假定 BST 有如下定义: 结点左子树中所含结点的值小于等于当前结点的值 结点右子树中所含结点的值大于等于当前结点的值 左子树和右子树都是二叉搜索树 例如: 给定 BST [1,null,2,2], 1 \ 2 / 2 返回[2]. 提示:如果众数超过1个,不需考虑输出顺序 进阶:你可以不使用额外的空间吗?(假设由递归产生的隐式调用栈的开销不被计算在内) ''' from typing import List from Tree import TreeNode, stringToTre...
d703574693e9918ade0ab71c8afb819c584424ab
cb8431a306af2fabf37b74f68b5bd3fdc4cae134
/etlt/dimension/RegularDimension.py
9eca77137611940200b8f332dbd90e76a4cd545a
[ "MIT" ]
permissive
e7dal/py-etlt
fb5fcc25cd5ab33c6d02f37ab8421aefe877753c
1c5b8ea60293c14f54d7845a9fe5c595021f66f2
refs/heads/master
2020-05-16T19:12:27.838844
2019-04-10T10:02:22
2019-04-10T10:02:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,834
py
""" ETLT Copyright 2016 Set Based IT Consultancy Licence MIT """ import abc class RegularDimension(metaclass=abc.ABCMeta): """ Abstract parent class for translating natural key to a technical key of a regular dimension. """ # -------------------------------------------------------------------------...
d8f484ff8803152cae0d30c0990aa7841c72c689
cad2908abb7b2a649ec2382309f56e6c95ee834a
/course3/principles/inheritance.py
dcfa43ec8c6726bfa54b00ffde8e352d592ec16b
[]
no_license
andyzt/tceh-python
619b6eec0897e3b3671d416d6eb7346f69730747
de74cb7fffea3528cd2a3035b0a9d53c9dca0c6b
refs/heads/master
2021-01-16T00:17:02.198730
2016-02-26T16:00:16
2016-02-26T16:00:16
52,616,472
4
3
null
2016-02-26T16:15:06
2016-02-26T16:15:06
null
UTF-8
Python
false
false
1,578
py
# -*- coding: utf-8 -*- from __future__ import print_function __author__ = 'sobolevn' class Parent(object): def __init__(self): print('Parent inited') self.value = 'Parent' def do(self): print('Parent do(): %s' % self.value) @staticmethod def static_do(): print('Par...
83cafd706a1d76e745e3773b8311bb5fe4844a10
594bd1d3afa4c74c577e6c5d7f8e71d4835c7734
/MainApp/migrations/0093_auto_20161118_1232.py
a9c950e213543791b6e39e28c16dcc7152a95d9b
[]
no_license
CoriAle/app
5a930b4460a5a79e4d2d97b0de205c050c196a53
280313f86db0ba9a754ff52dc8a37bf6420554d1
refs/heads/master
2023-01-23T22:45:15.127029
2018-07-03T01:59:19
2018-07-03T01:59:19
136,048,276
0
0
null
2023-01-12T05:12:39
2018-06-04T15:49:01
JavaScript
UTF-8
Python
false
false
481
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.1 on 2016-11-18 18:32 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('MainApp', '0092_remove_pagopersonal_vales'), ] operations = [ migrations.Alt...
444343a37dcff36a26a64f7da7ac99a29f078c08
0b4d1fb57546adbc85659a144742c4ecd9dfe219
/src/genie/libs/parser/ios/tests/ShowInterfacesSwitchport/cli/equal/golden_output_2_expected.py
5515be0b5806e40b6a2d632d373a55a7ec3474a5
[ "Apache-2.0" ]
permissive
oboehmer/genieparser
dcc4fd0c6611ab4d799928ce6d2b55a2ad7a64d2
e88d02c08a3968d38ba90121b46af614715c5ecc
refs/heads/master
2021-07-11T17:04:11.198119
2020-12-02T20:34:24
2020-12-02T20:34:24
222,627,198
1
0
Apache-2.0
2019-11-19T06:43:15
2019-11-19T06:43:14
null
UTF-8
Python
false
false
1,826
py
expected_output = { "Port-channel12": { "operational_mode": "trunk", "switchport_mode": "trunk", "access_vlan_name": "default", "private_vlan": {}, "switchport_enable": True, "native_vlan_tagging": True, "negotiation_of_trunk": False, "encapsulation": ...
04eed828b4817621a1725d5e816cab6a74e057de
bdb2506fb9562005c2f1b4c88330fa108f6219db
/appliedunis/urls.py
c7c7f205168a25ffeb28c2ff5a8af1b3568084a0
[]
no_license
naeem23/University-Admission-Assistant---UAA
abc68766585d8a4e69de142cd077ad3a1c372162
744f14b5bbdd1ff96c6a01967946278813a5b6db
refs/heads/master
2023-05-13T00:15:11.138977
2019-08-04T13:24:58
2019-08-04T13:24:58
200,491,140
1
0
null
2023-04-21T20:35:21
2019-08-04T12:39:09
Python
UTF-8
Python
false
false
372
py
from .import views from django.contrib.auth.decorators import login_required from django.urls import path, re_path app_name = 'appliedunis' urlpatterns = [ path('api/cancel', login_required(views.cancelApi), name='delete_api'), path('api/apply/', login_required(views.applyApi), name='api_uni'), path('api/read/',...
99178d3942f39b0b5f1f5d1954c4b20943bef419
ff6f60d02ed8d024f7b2db5c9eb4b1196ebf166b
/my_flask/app/models/book.py
1d81876b0b33e29edad6d19583515c95e0fcb3ff
[]
no_license
cekong/learnit
43b707e347ff552754b6592e01dd106c98cd0cc5
b4111d6fee95960f7b7ca5421b7159cb6122ad2a
refs/heads/master
2020-03-25T13:53:37.848843
2019-08-29T06:46:48
2019-08-29T06:46:48
143,848,485
0
0
null
null
null
null
UTF-8
Python
false
false
1,245
py
'''''' ''' 模型层 https://coding.imooc.com/lesson/194.html#mid=12779 4-8 定义第一个模型类 sqlalchemy Flask_SQLAlchemy SQLAlchemy 是Python 社区最知名的 ORM 工具之一,为高效和高性能的数据库访问设计, 实现了完整的企业级持久模型。 ORM(对象关系映射)将数据库中的表与面向对象语言中的类建立了一种对应关系。 ''' from sqlalchemy import Column,Integer,String,Time from app.models.base import db,Base #用代码创建数据表...
90a34921333a0a6e00b6e543ba5c3a07f2e7af0c
2f62291080c180e1f65c15ca300c66e7b75605d3
/comment/admin.py
56494bcff01c33399c28e260394c102aee73a006
[]
no_license
XiaoFei-97/NewBLogSite
9c3d2a4121a2fd8bc3fe8f2ad42ae1caf297109e
8f878173eaba82073932811357724536a4c6949f
refs/heads/master
2020-04-13T02:11:40.620117
2019-03-11T07:41:26
2019-03-11T07:41:26
162,896,336
0
0
null
null
null
null
UTF-8
Python
false
false
344
py
from django.contrib import admin # admin后台管理 from .models import Comment # 从当前应用的模型中导入Comment数据表 @admin.register(Comment) class CommentAdmin(admin.ModelAdmin): # 后台显示文章对象,评论内容,评论时间,评论者 list_display = ('id', 'content_object', 'text', 'comment_time', 'user')
3947ab0da8b6fc23714ddc19616210640432a080
2693c54a5243bb991f5e9ac6aa75b4ce43e3bb22
/forkan/rl/envs/vae_stack.py
2fd62da241c285a19d1d41fb8779850af24e72d8
[ "Unlicense" ]
permissive
llach/forkan
36f50eda62153b043ec5a6e10513347117635ad9
33ae3d48ce6f24fc0c254b93ed3f4b8a767ffea5
refs/heads/master
2020-04-01T06:47:26.034989
2019-07-21T13:43:03
2019-07-21T13:43:03
152,964,129
1
1
null
null
null
null
UTF-8
Python
false
false
1,506
py
import logging import numpy as np from collections import deque from forkan.models import VAE from gym import spaces from forkan.rl import EnvWrapper class VAEStack(EnvWrapper): def __init__(self, env, load_from, k=3, vae_network='pendulum', ...
4ea1c3b4e147e92d48a3e0a9fe66894514555851
3649dce8b44c72bbfee56adf4e29ca6c5ba2703a
/code_up1440.py
17945c10ff51ccfa95b13dbf7aa8299ec216180e
[]
no_license
beOk91/code_up
03c7aca76e955e3a59d797299749e7fc2457f24a
ca1042ce216cc0a80e9b3d3ad363bc29c4ed7690
refs/heads/master
2022-12-06T08:23:00.788315
2020-08-20T11:21:59
2020-08-20T11:21:59
284,844,571
0
0
null
null
null
null
UTF-8
Python
false
false
383
py
num=int(input()) num_list=list(map(int,input().strip().split())) for i in range(num): print("{}:".format(i+1),end=" ") for j in range(num): if i!=j: if num_list[i]<num_list[j]: print("<",end=" ") elif num_list[i]==num_list[j]: print("=",end=" ") ...
a55baf3e9516d59c3250ca8f0d14b799a6376e0d
9f2445e9a00cc34eebcf3d3f60124d0388dcb613
/2019-12-10-Na_Chan_del_segfault/seg_fault.py
78fe3fba59fe42bf74641ff0185ff0171b865e62
[]
no_license
analkumar2/Thesis-work
7ee916d71f04a60afbd117325df588908518b7d2
75905427c2a78a101b4eed2c27a955867c04465c
refs/heads/master
2022-01-02T02:33:35.864896
2021-12-18T03:34:04
2021-12-18T03:34:04
201,130,673
0
1
null
null
null
null
UTF-8
Python
false
false
1,184
py
# exec(open('seg_fault.py').read()) import moose import pylab import rdesigneur as rd # Wrapper function so that the model can be build and run again and again def rdeswrapper(): # Deleting any previous run of the model try: # [moose.delete(x) for x in ['/model', '/library']] moose.delete('/m...
70a98c32d3373e086b562b057378936237a6b801
674f5dde693f1a60e4480e5b66fba8f24a9cb95d
/armulator/armv6/opcodes/concrete/ldrd_literal_t1.py
a9c906d27b400388948fff874fff702b14d09748
[ "MIT" ]
permissive
matan1008/armulator
75211c18ebc9cd9d33a02890e76fc649483c3aad
44f4275ab1cafff3cf7a1b760bff7f139dfffb07
refs/heads/master
2023-08-17T14:40:52.793120
2023-08-08T04:57:02
2023-08-08T04:57:02
91,716,042
29
7
MIT
2023-08-08T04:55:59
2017-05-18T16:37:55
Python
UTF-8
Python
false
false
605
py
from armulator.armv6.bits_ops import substring, bit_at from armulator.armv6.opcodes.abstract_opcodes.ldrd_literal import LdrdLiteral class LdrdLiteralT1(LdrdLiteral): @staticmethod def from_bitarray(instr, processor): imm8 = substring(instr, 7, 0) rt2 = substring(instr, 11, 8) rt = sub...
a0b81a218a73b11bc6ba7b85118f466015bc7b86
5db0fab37c2b8a618d85d3b60fab9f806c416474
/src/python/pants/backend/python/util_rules/ancestor_files_test.py
fad18565bb0bc12f8bb70ddb75d2d389ba6ec0f4
[ "Apache-2.0" ]
permissive
pantsbuild/pants
4988d1ac5474ec95f94ce2218aeb759401e4b011
98cbda8545f0d58c586ed2daa76fefd729d5e0d5
refs/heads/main
2023-09-05T03:44:17.646899
2023-09-01T19:52:09
2023-09-01T19:52:09
7,209,075
2,708
593
Apache-2.0
2023-09-14T19:33:33
2012-12-17T17:39:04
Python
UTF-8
Python
false
false
3,232
py
# Copyright 2020 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import annotations import pytest from pants.backend.python.util_rules import ancestor_files from pants.backend.python.util_rules.ancestor_files import ( AncestorFiles...
53bfabebe006a235d28336b4fc86a262baa2081b
4e04db11d891f869a51adf0e0895999d425f29f6
/portalbackend/lendapi/reporting/migrations/0002_auto_20170824_1910.py
0de31b6204ded3007b1ffb8f42d330f6c538b71c
[]
no_license
mthangaraj/ix-ec-backend
21e2d4b642c1174b53a86cd1a15564f99985d23f
11b80dbd665e3592ed862403dd8c8d65b6791b30
refs/heads/master
2022-12-12T12:21:29.237675
2018-06-20T13:10:21
2018-06-20T13:10:21
138,033,811
0
0
null
2022-06-27T16:54:14
2018-06-20T13:04:22
JavaScript
UTF-8
Python
false
false
859
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.4 on 2017-08-24 19:10 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('reporting', '0001_initial'), ] operations = [ migrations.RemoveField( ...
a59222150d7b44cad7f9073542b3a3d9527d9baa
e6ec89f4e40b6ef7183ef76bf542f683154dea03
/django_tutorial/settings.py
5970db695f93dc3410ab4bc3fb20d3ca7ab6c0e1
[]
no_license
shoark7/django-2.0-tutorial
a07919048dd22f5fe295713f6e46003ab8b4a57a
ccdae9ebc3d383145b0aa19227ff986b8d06cf93
refs/heads/master
2021-04-26T23:57:53.816519
2018-03-06T07:21:36
2018-03-06T07:21:36
123,886,493
0
0
null
null
null
null
UTF-8
Python
false
false
3,153
py
""" Django settings for django_tutorial project. Generated by 'django-admin startproject' using Django 2.0.2. For more information on this file, see https://docs.djangoproject.com/en/2.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.0/ref/settings/ """ impo...
a24a8cb7958e6472091d3698f75ebcb279a536e7
f115984d89ee91e1fefa7bd0546f60db251dfee6
/model-cell-experiments/predict-mc.py
6504f4c534af5e600136a6c43be59dcfafaca1e8
[ "BSD-3-Clause" ]
permissive
CardiacModelling/VoltageClampModel
f483fc3ad2129f75e377df210b9b91b1cdcb7565
f30271da75e3c70526e53fb51dc12b317ab3b714
refs/heads/master
2023-07-05T10:07:59.771334
2021-03-03T11:05:35
2021-03-03T11:05:35
227,666,074
3
0
BSD-3-Clause
2021-03-03T11:04:46
2019-12-12T17:58:13
Python
UTF-8
Python
false
false
4,079
py
#!/usr/bin/env python3 from __future__ import print_function import sys sys.path.append('../lib/') import os import numpy as np import matplotlib matplotlib.use('Agg') import matplotlib.pyplot as plt import pints import model as m; m.vhold = 0 """ Prediction for single model cell experiment data """ predict_list = [...
9cf854e5f10787c00d66b46032ef3d8ea4d91943
8f021f68cd0949afa8d119582c0b419b014919d8
/URIOJ/uri2373.py
c142fff957d0f2e938944a791575fb1a31c7cdf5
[]
no_license
Jonatankk/codigos
b9c8426c2f33b5142460a84337480b147169b3e6
233ae668bdf6cdd12dbc9ef243fb4ccdab49c933
refs/heads/master
2022-07-22T11:09:27.271029
2020-05-09T20:57:42
2020-05-09T20:57:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
365
py
# -*- coding: utf-8 -*- # Leonardo Deliyannis Constantin # URI 2373 - Garçom def main(): N = int(input()) ans = 0 for _ in range(N): L, C = map(int, input().split()) if L > C: ans += C print(ans) if __name__ == '__main__': while True: try: main()...
13f374290b54460f585cc996dd27042b763b7bc7
46a5df524f1d96baf94f6eb0f6222f2b856235f3
/src/puzzle/problems/cryptogram_problem.py
c45547433c2d6fad7a436df5cd29d4b51b951e07
[ "MIT" ]
permissive
PhilHarnish/forge
5dfbb0aa2afdb91e55d85187bd86fbeb9b6b2888
c544fb8b499e1e13793c94159f4c35bce187311e
refs/heads/master
2023-03-11T17:23:46.569359
2023-02-25T15:09:01
2023-02-25T15:09:01
1,818,598
2
0
MIT
2023-02-25T15:09:02
2011-05-29T19:36:53
Jupyter Notebook
UTF-8
Python
false
false
5,120
py
from data import warehouse from data.seek_sets import crypto_seek_set from puzzle.problems import problem # Humans will often choose a ROT value which is ~180 degrees away from A=A. # For example: ROT13 is common and ROT1 or ROT25 are very uncommon. _ROT_OFFSETS = list(sorted(range(1, 25), key=lambda i: abs(26 / 2 - i...
57e952da8acde84cb4f927b0adec5f8de45dfaef
74aea619a499c6cba424a3f790f36315e647c55e
/Dynamo/src/RH Polyline to DS Polycurve.py
44f0bdff25cfc21bf7f28ae66f98043f0c7ac3c9
[]
no_license
mostaphaRoudsari/MantisShrimp
ca7c38af196116877efbab397adc17446616a9c8
b8c70b1403103d60f85699608161476d628afede
refs/heads/master
2021-01-15T09:41:44.314306
2015-01-13T23:56:00
2015-01-13T23:56:00
24,969,552
2
0
null
2015-01-13T23:56:00
2014-10-09T02:06:39
Python
UTF-8
Python
false
false
2,334
py
#Copyright(c) 2014, Konrad Sobon # @arch_laboratory, http://archi-lab.net import clr import sys clr.AddReference('ProtoGeometry') pyt_path = r'C:\Program Files (x86)\IronPython 2.7\Lib' sys.path.append(pyt_path) import os appDataPath = os.getenv('APPDATA') msPath = appDataPath + r"\Dynamo\0.7\packages\Mantis Shrimp\...
919ca6f258d0ad24aa2cd1da271099356e257b9d
e72c9e619629f1b29066bd05f76232895fb3586e
/srcGetskl/ore_reverbJar.py
6ef2d57a123dbf070429020207d2c7f74366c809
[]
no_license
sarveshsparab/FrED
b671e356b71b143396c0bc7e98544eb5b3c065a4
87dd75a576e8270085d182cf78baaa7ccab84357
refs/heads/master
2020-04-25T20:34:20.152512
2018-11-12T13:24:39
2018-11-12T13:24:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,066
py
import sys import os sys.path.append("/home/yxqin/Scripts") from strOperation import * # normRep normMen #################################### #get relation skeletons from relation file(extracted by reverb.jar) def getRelskl_fromRel(filename): print "Processing " + filename relFile = file(filename) output...
e8026ecd42c8c44fa6417c976f50f828cc83b40e
5ca042838f15137130817b9e1766d8496a73d5db
/venv/bin/django-admin.py
f07913ab7e1689b81f250bf67a6114e95ec4e7ca
[ "MIT" ]
permissive
Emmanuel-9/Neighbourhood
63257368e357adba3280f63a8f9d8ef77bcdfb23
f2635cbc00181da97bdf17dee283eb905db2ec55
refs/heads/master
2022-12-08T06:18:02.137084
2020-08-21T11:54:17
2020-08-21T11:54:17
288,374,723
0
1
null
2020-08-21T07:56:22
2020-08-18T06:32:40
HTML
UTF-8
Python
false
false
705
py
#!/home/joan_e/code/Moringa/core/django/Neighbourhood/venv/bin/python3 # When the django-admin.py deprecation ends, remove this script. import warnings from django.core import management try: from django.utils.deprecation import RemovedInDjango40Warning except ImportError: raise ImportError( 'django-a...
90697d5b1e4c3cb7af501969295bfdaf846bf33f
708074835900ae623239ce3c0d1e6f948b799fd0
/ftp-1/ftp_server/bin/start.py
b5fa79aadef7fe47c9fffb6743a4175d84aeb3a0
[]
no_license
hukeyy/learn_python
66688bcbaa43d79775030d2876979bbda08892ef
c71a37da88b089316536587ed47d32405bd987a3
refs/heads/master
2020-03-21T11:07:24.049328
2018-12-25T11:59:17
2018-12-25T11:59:17
138,490,613
0
0
null
null
null
null
UTF-8
Python
false
false
363
py
#!/usr/bin/python3 # -*- coding: utf-8 -*- # Author: hkey import os, sys BASE_DIR = os.path.dirname(os.getcwd()) sys.path.insert(0, BASE_DIR) from modules import socket_server from conf.settings import IP_PORT if __name__ == '__main__': server = socket_server.socketserver.ThreadingTCPServer((IP_PORT), socket_se...
3a2837071c1a3bfbc6361ad134e368663c3f18d1
0a2cc497665f2a14460577f129405f6e4f793791
/sdk/recoveryservices/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/aio/operations/_backup_crr_job_details_operations.py
33a1fb75dc9c475d6bf5fbe74a51997aee684121
[ "MIT", "LGPL-2.1-or-later", "LicenseRef-scancode-generic-cla" ]
permissive
hivyas/azure-sdk-for-python
112158aa9e1dd6e30cf6b3dde19f5db6ea2a577b
8b3258fa45f5dc25236c22ad950e48aa4e1c181c
refs/heads/master
2023-06-17T12:01:26.392186
2021-05-18T19:56:01
2021-05-18T19:56:01
313,761,277
1
1
MIT
2020-12-02T17:48:22
2020-11-17T22:42:00
Python
UTF-8
Python
false
false
4,994
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
ea9cae42173bae1b6fd88abe2e029323cb284b9b
fe0017ae33385d7a2857d0aa39fa8861b40c8a88
/env/lib/python3.8/site-packages/sklearn/manifold/spectral_embedding_.py
efa8372ddb519ebbe9f08ab3616ad83b8ebd6fad
[]
no_license
enriquemoncerrat/frasesback
eec60cc7f078f9d24d155713ca8aa86f401c61bf
e2c77f839c77f54e08a2f0930880cf423e66165b
refs/heads/main
2023-01-03T23:21:05.968846
2020-10-18T21:20:27
2020-10-18T21:20:27
305,198,286
0
0
null
null
null
null
UTF-8
Python
false
false
601
py
# THIS FILE WAS AUTOMATICALLY GENERATED BY deprecated_modules.py import sys # mypy error: Module X has no attribute y (typically for C extensions) from . import _spectral_embedding # type: ignore from ..externals._pep562 import Pep562 from ..utils.deprecation import _raise_dep_warning_if_not_pytest deprecated_path ...
22148b082fd05a86e771c13e027a987707f444a9
8f6cc0e8bd15067f1d9161a4b178383e62377bc7
/__PPPPLLLLTTTT__LLLLOOOOGGGG/workspace/a3c/PPPPPPLLLLLLLOOOOOOTTTTTTT/trainer-family/plot_a3c_log3.py
813665c694efb63fdab1081416eb186ed9292934
[]
no_license
humorbeing/python_github
9c4dfc61a3cefbb266fefff335f6b28d05797e5e
e4b4b49bee7e7e3843c6874717779ce8d619bd02
refs/heads/master
2023-01-22T21:51:20.193131
2020-01-26T21:47:23
2020-01-26T21:47:23
163,707,778
0
0
null
2022-12-27T15:37:48
2019-01-01T01:58:18
Python
UTF-8
Python
false
false
3,330
py
import numpy as np import matplotlib.pyplot as plt def xy(name, num=None): with open(name) as f: lines = [line for line in f] log = [] count = 0 step_stack = [] reward_stack = [] for line in lines: count += 1 # if count % 500 == 0: reads = line.split(',') ...
29a98f623108212df0f2f2577f6c897f848ea3db
5ccfa68d2e26facc7dd51a65bdb80d3372903365
/adventofcode.com/utils/color.py
62053fdefbb2c92149bccb26a3ed5c8c19c363b9
[]
no_license
ceasaro/ceasaro_py
71b93165a48dce48b027c2a3c727f6fdeaf62f0f
a3e2c02140e2abc165cc522756a9bce1f422a9e2
refs/heads/master
2023-06-25T20:17:33.826726
2023-06-12T11:38:07
2023-06-12T11:38:07
12,404,093
0
0
null
2023-05-22T22:36:36
2013-08-27T11:18:46
Python
UTF-8
Python
false
false
631
py
BLACK = 30 RED = 31 GREEN = 32 YELLOW = 33 BLUE = 34 MAGENTA = 35 CYAN = 36 LIGHT_GRAY = 37 GRAY = 90 LIGHT_RED = 91 LIGHT_GREEN = 92 LIGHT_YELLOW = 93 LIGHT_BLUE = 94 LIGHT_MAGENTA = 95 LIGHT_CYAN = 96 WHITE = 97 ENDC = '\033[0m' BOLD = '\033[1m' UNDERLINE = '\033[4m' def color_str(color, msg): return f"\033[{c...
52cc00f46994e1856562d91ec95b2bb010b70b6d
d0cb58e1658d4b5b88bdc07e497dc8092707ae02
/2020/08August/24PandasDataFrame13.py
0e993fe386a578073837a0851e831148ec09f103
[]
no_license
June-fu/python365
27f9b753d38ade549d59aa8f2d8bda0fb8b1e20c
242033a4b644a7566fbfa4dba9b60f60aa31fe91
refs/heads/master
2021-07-02T21:42:28.454091
2021-05-04T15:08:44
2021-05-04T15:08:44
233,629,713
0
0
null
2020-01-13T15:52:58
2020-01-13T15:36:53
null
UTF-8
Python
false
false
734
py
#!/usr/bin/python ''' # @ Author: june-fu # @ Create Time: 2020-12-20 21:49:51 # @ Modified by: june-fu # @ Modified time: 2020-12-20 22:09:47 # @ Description: calculate the sum of the examination attempts by the students. ''' import pandas as pd import numpy as np dct1 = {'name': ['Anastasia', 'Dima', 'Katherine...
80ca915f03a9b34dea6395041cf2e15786e0e031
91ff6fdf7b2ccc58869d6ad41842f230644952c1
/ultratech_core/migrations/0001_initial.py
4860a82e6b68f5421ad191cac9812d4f5cdc2779
[]
no_license
KONASANI-0143/Dev
dd4564f54117f54ccfa003d1fcec4220e6cbe1f9
23d31fbeddcd303a7dc90ac9cfbe2c762d61c61e
refs/heads/master
2023-08-14T15:59:59.012414
2021-10-13T14:54:49
2021-10-13T15:10:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
960
py
# Generated by Django 3.0.6 on 2020-05-21 06:14 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Preferences', fields=[ ('id', models.AutoFi...
6d48e276f58017bdc4f368b3f92159159624a379
2e682fd72e3feaa70e3f7bf2a3b83c50d783ec02
/PyTorch/contrib/cv/detection/SOLOv2/mmcv/mmcv/utils/__init__.py
f75168a74ed5087b90edea3d504a8a1a673eba24
[ "GPL-1.0-or-later", "BSD-3-Clause", "LicenseRef-scancode-proprietary-license", "BSD-2-Clause", "Apache-2.0", "MIT", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Ascend/ModelZoo-PyTorch
4c89414b9e2582cef9926d4670108a090c839d2d
92acc188d3a0f634de58463b6676e70df83ef808
refs/heads/master
2023-07-19T12:40:00.512853
2023-07-17T02:48:18
2023-07-17T02:48:18
483,502,469
23
6
Apache-2.0
2022-10-15T09:29:12
2022-04-20T04:11:18
Python
UTF-8
Python
false
false
1,695
py
# Copyright 2021 Huawei Technologies Co., Ltd # # Licensed under the BSD 3-Clause License (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://opensource.org/licenses/BSD-3-Clause # # Unless required by applicable law or agreed to in ...
434f96c146f909870b57c3cc98deab45416581e2
71acb7214efd91c0d327f6d8958e1798eadb4401
/locations/spiders/costa_coffee_gg_gb_im_je.py
a4e2022daf006b70b9e6b2c80b60d7fc022e2027
[ "CC0-1.0", "MIT" ]
permissive
alltheplaces/alltheplaces
21b9f8b4ace1352e52ae7b8f8825a930d2cb033e
1bcbb55cfcf06f2c714465570711f6e83f205c22
refs/heads/master
2023-08-30T19:45:35.098658
2023-08-30T17:51:54
2023-08-30T17:51:54
61,166,935
453
176
NOASSERTION
2023-09-14T17:16:40
2016-06-15T01:09:18
Python
UTF-8
Python
false
false
5,603
py
from scrapy import Spider from scrapy.http import JsonRequest from locations.categories import Categories, Extras, apply_category, apply_yes_no from locations.dict_parser import DictParser from locations.geo import point_locations from locations.hours import OpeningHours class CostaCoffeeGGGBIMJESpider(Spider): ...
7128fdf457058ab4d21c61a581c11328e4ce0797
02c394db353d996038c9bedbeaf91bb080c12ca2
/dsm/epaxos/inst/store.py
28229c7aa18c70adcccb274eb860057ec8542551
[ "MIT" ]
permissive
Limber0117/python-epaxos
0633752cffaca65c0d8b9c3aecf9c8bc6ca70f3e
e68bab50e7df32770103196c91d8708863691579
refs/heads/master
2021-08-23T22:31:47.283682
2017-12-06T22:16:21
2017-12-06T22:16:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,719
py
import logging from typing import NamedTuple, Dict, Optional, Tuple from uuid import UUID from dsm.epaxos.cmd.state import CommandID from dsm.epaxos.inst.deps.cache import KeyedDepsCache from dsm.epaxos.inst.state import State, Ballot, Slot, Stage class InstanceStoreState(NamedTuple): ballot: Ballot state: S...
42214b04b82a14043926515e9a9d0b506da81f74
98a359465e6e0620accede5b87b819aed663179d
/schol_library/migrations/0167_auto_20200526_1433.py
0bcdcd0a3380ba4d95d05f24f178d1bf85eff7eb
[]
no_license
mustavfaa/back-end
88f8674bd6c2f8d0c4984a2a3d34f2aece3ec8d1
6635e8f504c7a7ba9709121b4dd8d5ccecdf05ca
refs/heads/main
2023-08-15T10:48:03.461138
2021-09-27T15:26:03
2021-09-27T15:26:03
410,938,832
0
1
null
null
null
null
UTF-8
Python
false
false
598
py
# Generated by Django 2.2 on 2020-05-26 08:33 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('schol_library', '0166_auto_20200526_1432'), ] operations = [ migrations.AlterUniqueTogether( name='checkidrequestedition', uniq...
4009119be865df166884eaf6f38adf6113478806
3f1dab410b11b1f7b3979a2436bcc099edf3b9c1
/src/graph_transpiler/webdnn/frontend/chainer/converter.py
d08dd2f7ae6a742adb81b3763fa4cf68b5489aeb
[ "Zlib", "MIT" ]
permissive
qifu99/webdnn
c7386ee3db3adbb718e9c71771a77ffe839b892f
dbf6c22e2555988d098575595cbc37fc042bc713
refs/heads/master
2021-01-19T08:04:27.598406
2017-08-17T01:17:06
2017-08-17T01:17:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,401
py
# -*- coding:utf-8 -*- """ Chainer Link -> Graph object converters Assuming Chainer 1.23 or 2.0 """ import warnings from typing import List, Union, Sequence, Set from chainer import Function from webdnn.frontend.constraints import AxisVar from webdnn.frontend.converter import Converter from webdnn.graph.graph import...
30197389acb3578590648bb805b98e79d74595bc
573220da9574b1ca16b530b93eb6801838b38ee5
/app.py
d18c2cd5260fb14e64a22287e9ee9df08a46bb0b
[]
no_license
nova-sangeeth/Flask__blog__main
0810879d9ed09940e334f0fa5827c74acbcd5dfd
15b95f180608d051e3deb4aaf8f3a4889fc3d381
refs/heads/master
2020-09-14T03:21:22.758857
2020-06-18T17:55:25
2020-06-18T17:55:25
223,000,454
0
0
null
null
null
null
UTF-8
Python
false
false
3,186
py
from flask import Flask, render_template, request, redirect from flask_sqlalchemy import SQLAlchemy from datetime import datetime app = Flask(__name__) app.config[ "SQLALCHEMY_DATABASE_URI" ] = "sqlite:///blog.db" # /// means a relative path, //// means it is a absolute path. app.config["SQLALCHEMY_TRACK_MODI...
871bd249f549b78762891781da0e7e74582e8d83
80be1fa4b81a78e1afafe5092634e8dc318010a9
/yoggsaron/models/__init__.py
cffbbc69dc45919f05d008a10e9f275d9d8c1321
[]
no_license
tonicbupt/c-thun
10ad152e0ce034a1857c8f8d53041fae53cce3ab
e851bfc4fd3e733e038f6ceea90f7b347c3e77cc
refs/heads/master
2021-01-22T05:28:22.364857
2014-08-26T15:30:18
2014-08-26T15:30:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
155
py
# coding: utf-8 from .dish import Dish from .order import OrderDish, Order from .restaurant import Restaurant __all__ = ['Dish', 'Order', 'Restaurant']
b4cb7d1748afcca8c61756c46770aaefb3bc8952
8b6cd902deb20812fba07f1bd51a4460d22adc03
/back-end/.history/djreact/users/serializers_20191221131333.py
1e1bb2bcff5539a9496bdade983d74e2f31a8f90
[]
no_license
vishaldenzil/Django-react-
f3a49d141e0b6882685b7eaa4dc43c84857f335a
35b6d41f6dacb3bddcf7858aa4dc0d2fe039ff98
refs/heads/master
2022-11-08T09:27:02.938053
2020-05-29T04:53:52
2020-05-29T04:53:52
267,768,028
0
1
null
2022-10-15T14:08:30
2020-05-29T04:52:20
Python
UTF-8
Python
false
false
191
py
from rest_framework import serializers from .models import User class UserRegistrationSerializer(serializers.ModelSerializer): class Meta: model = User fields = '__all__
f13c714b2b66ea392c8848f14cedd68993446987
852a91492a737e9a2c210df883029b684ca6a448
/jade2/basic/structure/biopython_util.py
e507bcba04a299110c4659211203f75c5c837ef4
[ "BSD-3-Clause" ]
permissive
jadolfbr/jade2
cb33f4a8cbf560f5ebaef4de2789ff50f372ff5a
91f18d6004f123d11ea8618171154aa25a7444e9
refs/heads/main
2022-09-12T06:23:23.356864
2022-03-24T20:15:13
2022-03-24T20:15:13
427,541,475
0
0
NOASSERTION
2021-11-13T01:34:34
2021-11-13T01:34:34
null
UTF-8
Python
false
false
4,320
py
import gzip import os import sys import logging from pathlib import Path from typing import Union, List from Bio.PDB.PDBParser import PDBParser from Bio.PDB.MMCIFParser import MMCIFParser from Bio.PDB.Residue import Residue from Bio.PDB.Structure import Structure from Bio.PDB.Chain import Chain from Bio.PDB.Model impo...
d66bef1246c571ddf493cf587902f23858053b58
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03785/s746303636.py
aef71741efdde9c3454a67489cef28a92a40bd56
[]
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
359
py
n, c, k = map(int, input().split()) t_l = [] for _ in range(n): t_l.append(int(input())) t_l.sort() ans = 0 cnt = 0 for t in t_l: if cnt == 0: t1 = t if t <= t1 + k: cnt += 1 if cnt == c: cnt = 0 ans += 1 else: cnt = 1 ans += 1 t1 =...
242d70d5677634496d3948cbd845413b2fdd04b8
6ecd1efd0af4b5ec05ddc70981387e54a55c424e
/grapy/core/__init__.py
c6ea1d60632ff6676b419d92c04f6a031ccc24ec
[]
no_license
oscar810429/grapy
ab8a3a2717b855c7f11d97a8c28fa3b9a0752591
725db528f01a50cc7f88fc3002148eb85d8da740
refs/heads/master
2021-05-03T23:15:06.933436
2017-12-07T09:03:31
2017-12-07T09:03:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
294
py
from .engine import Engine from .base_spider import BaseSpider from .base_sched import BaseScheduler from .base_request import BaseRequest from .item import Item, dump_item, load_item __all__ = ['Engine', 'BaseSpider', 'BaseScheduler', 'BaseRequest', 'Item', 'dump_item', 'load_item']
74d4e33203cc25c5e02beea9fc3531b76b8cb52e
a1f2df675cfc595b15f1ca9390b7517989f2d4e0
/testCase/contacts/testUpdateContact.py
3229d0b16fcaad3fb6eae0528dab1a62be7cb76c
[]
no_license
GGGYB/crm
d4def2f1abc89451e1c4b11b89ef100a842ed745
61932466dd0ac299adc661383d506389d5f0f8e7
refs/heads/master
2022-04-15T21:29:48.539311
2020-04-14T10:23:41
2020-04-14T10:23:41
255,575,666
0
0
null
null
null
null
UTF-8
Python
false
false
4,600
py
# -*- coding: utf-8 -*- __author__ = 'Jun' from bs4 import BeautifulSoup import re from commons import common from commons.const import const from testCase.users import testGetUser as users class UpdateContacts: def __init__(self, cookie, csrf): self.common = common.Common(cookie, csrf) self.user...
ecbf157c9dc7b470bcd997729fb7a638e168fd37
bbbfc82402604389fb54136af421e3a41773b2e4
/third_party/nucleus/io/python/bed_writer_wrap_test.py
d0e7ffc8c620b44786cc67879a21a5892e10812e
[ "BSL-1.0", "Apache-2.0", "BSD-3-Clause" ]
permissive
ruif2009/deepvariant
0a75dcc66a09c3fb8dd5b40a3bf80a5ec610d2d2
c7fd07016577c253f81ef253aed65c416e4c0ef7
refs/heads/master
2020-03-20T15:16:25.918599
2018-08-29T17:33:59
2018-08-29T17:33:59
137,508,815
0
0
BSD-3-Clause
2018-06-15T16:45:39
2018-06-15T16:17:25
Python
UTF-8
Python
false
false
4,245
py
# Copyright 2018 Google Inc. # # 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 copyright notice, # this list of conditions and the following disclaimer. # #...
b755c369082d791d6f7a3edce83be38b1fe2d9fc
467bda4ef6b73138d5a55cad0a588021b337e4cb
/Built-inFunctions/lambda.py
af3c48cc6d800caed1560034d817a4e1d34c5927
[]
no_license
eBLDR/MasterNotes_Python
c118c269de6d4880158382621c7a604e701c6101
0f6baadd5e7398c5e74f62ca45e44aa1ed85def0
refs/heads/master
2022-11-06T11:03:33.039026
2022-10-24T10:42:27
2022-10-24T10:42:27
143,124,690
3
0
null
null
null
null
UTF-8
Python
false
false
2,561
py
""" map() and filter() work usually together with lambda functions. lambda was considered was dropped from Python 2 when migrating to Python 3, but they finally remained. All functions created with lambda operator can also be created using the normal way of defining a function. """ # lambda operator is a way to cre...
74a70d271549abfa376c0130e321e0d731200223
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02859/s935054625.py
63bcf2523f8e10da7b99ce4225db4db57c27ddd3
[]
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
780
py
#from statistics import median #import collections #aa = collections.Counter(a) # list to list || .most_common(2)で最大の2個とりだせるお a[0][0] from fractions import gcd from itertools import combinations,permutations,accumulate # (string,3) 3回 #from collections import deque from collections import deque,defaultdict,Counter impo...
346dab3b4f521560c406a72391886bc26d742ca6
febb7a4b889c2f40637e2b688eb770cf0809226f
/fython/test/importpec_fort/fort_slice_import_test.py
f267833fb682e1cdab2266b4ad94ed42a1be4a25
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
nicolasessisbreton/fython
68253552c626640b5efc2a7cea9384c8e0425c08
988f5a94cee8b16b0000501a22239195c73424a1
refs/heads/master
2021-01-10T07:10:06.793158
2017-08-25T17:27:05
2017-08-25T17:27:05
50,076,320
48
3
null
2016-08-21T17:16:12
2016-01-21T02:30:31
Python
UTF-8
Python
false
false
351
py
s=""" .a.f90 module a integer :: x_a = 10 integer :: y_a = 20 end module .b.fy import .a( x_a, y_a = y, ) int x = 1 print 'in b {:x} {:x_a} {:y}' """ from fython.test import * shell('rm -rf a/ a.* b.* c.*') writer(s) w = load('.b', force=1, release=1, verbose=0, run_main=0) # print(open(w.module....
f40d8834fbc04247849b75f9d35c610536b825fc
af7466d6abfcce9e02efe91abe1875fbcf8d04aa
/tests/test_handlers.py
08958e97ccff36b29be6c13a70d7d8ae978fcf34
[]
no_license
NYPL/sfr-oclc-catalog-lookup
eb1472d1a6cab85734b4c0ac6648de846e5b00fb
4bf3bde518211870d6c20cde840c57bd83c1816c
refs/heads/development
2020-04-15T07:45:59.184860
2020-02-05T21:22:32
2020-02-05T21:22:32
164,501,003
1
1
null
2020-02-05T21:22:34
2019-01-07T21:43:14
Python
UTF-8
Python
false
false
2,023
py
import json import unittest from unittest.mock import patch, mock_open, call # Set this variable here as it gets checked at loadtime import os os.environ['OUTPUT_REGION'] = 'us-test-1' from service import handler from helpers.errorHelpers import NoRecordsReceived, OCLCError, DataError from lib.outPutManager import Ou...
9b2c0ade2bac3fb04dd982ba529d79dd7992559d
5db0fab37c2b8a618d85d3b60fab9f806c416474
/src/python/pants/backend/codegen/export_codegen_goal_test.py
98f758e8e1525846c7e650945edeebd056882484
[ "Apache-2.0" ]
permissive
pantsbuild/pants
4988d1ac5474ec95f94ce2218aeb759401e4b011
98cbda8545f0d58c586ed2daa76fefd729d5e0d5
refs/heads/main
2023-09-05T03:44:17.646899
2023-09-01T19:52:09
2023-09-01T19:52:09
7,209,075
2,708
593
Apache-2.0
2023-09-14T19:33:33
2012-12-17T17:39:04
Python
UTF-8
Python
false
false
3,804
py
# Copyright 2020 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). from pathlib import Path import pytest from pants.backend.codegen.export_codegen_goal import ExportCodegen from pants.backend.codegen.export_codegen_goal import rules as write_codegen_ru...
133365e71eb1d8396eba4ae1e26a95f054b6856d
bd5e611a2d177b3f3ca58965b53e8ce0e6d2000b
/assignments/A5/A5Part3.py
1ae4028afbeec415b763cf726b263acd06b4652a
[]
no_license
jiemojiemo/audio_signal_processing_assignments
680f921ad8984d1869f10fab0eae183ef19cb808
0d26ada375c3a54fe9dda3e490880168a17769a2
refs/heads/master
2020-04-04T14:07:36.649933
2018-11-09T13:50:26
2018-11-09T13:50:26
155,987,892
0
0
null
null
null
null
UTF-8
Python
false
false
7,403
py
import numpy as np from scipy.signal import get_window import sys, os sys.path.append(os.path.join(os.path.dirname(os.path.realpath(__file__)), '../../software/models/')) import stft import utilFunctions as UF import sineModel as SM import matplotlib.pyplot as plt """ A5-Part-3: Tracking sinusoids of different amplitu...
60cc252d5efc1565cc179eb8a6d0416f4faf6e6c
422e3fb2aeaa9853ba6ac809bc3d0f1ee507ae27
/funcionario/urls.py
20fd28ee4e17eb598a1defa4a92c7f3292785a4c
[]
no_license
redcliver/oldRodao
e279343de24952b7b86df50ff07f34be83881db6
0acc4440f9b7f92599fe4ef7a1d1af5bed52a81b
refs/heads/master
2020-03-07T19:12:14.066837
2018-07-25T20:15:50
2018-07-25T20:15:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
172
py
from django.conf.urls import url from . import views urlpatterns = [ url(r'^$', views.func), url(r'^busca', views.busca), url(r'^editar', views.editar), ]
76f610cdb180210a08cc572c6227d53a33bab208
fcde32709c62b8ee86da459bb7c8eee52c848118
/爬虫1905/day07/京东.py
564987878e9830e8db1ae8ffd2b55bd530e805a6
[]
no_license
klaus2015/py_base
6b92d362c3d7dc0e09205a037f4d580381dac94d
ec32c731c1c2f6a0dab87f1d167397e4fa86b8de
refs/heads/master
2022-07-28T15:49:30.383648
2020-05-11T15:31:43
2020-05-11T15:31:43
261,777,278
0
0
null
null
null
null
UTF-8
Python
false
false
1,473
py
from selenium import webdriver import time class JDSpider: def __init__(self): self.url = 'https://www.jd.com/' self.browser = webdriver.Chrome() def get_html(self): so = '//*[@id="key"]' button = '//*[@id="search"]/div/div[2]/button' self.browser.get(self.url) ...
e145f42d9f464a5eefd91e30bdb2bcfe77fba0d7
caaf1b0754db1e676c37a6f1e58f19183754e654
/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2023_01_01/operations/_private_link_resources_operations.py
ee2978f9ad1fbe77a9f34143f1f9ed6b203ac70f
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later" ]
permissive
rdomenzain/azure-sdk-for-python
45dfb39121a0abda048c22e7309733a56259f525
58984255aeb904346b6958c5ba742749a2cc7d1b
refs/heads/master
2023-07-07T06:53:12.967120
2023-07-04T16:27:37
2023-07-04T16:27:37
258,050,134
0
0
MIT
2020-04-23T00:12:14
2020-04-23T00:12:13
null
UTF-8
Python
false
false
6,733
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...
836f58f4da328567c3d68ec5c6b81c8bb68ba7b9
7393ac624a6d6fda7d427ed58d6100a3e0fc8f53
/workflows/launcher/launch_gruneisen_lammps_gan.py
b74df62c40fe577e7a1c3398e66569e85c688bb2
[ "MIT" ]
permissive
abelcarreras/aiida_extensions
9f460efe81bbf1817ccbd630ba253fbb2b074f3f
cce3fe537d041fdae87c5a60ce433e6de3fc30cf
refs/heads/master
2020-12-30T14:20:16.919507
2017-10-12T10:19:29
2017-10-12T10:19:29
91,312,140
0
0
null
null
null
null
UTF-8
Python
false
false
3,873
py
from aiida import load_dbenv load_dbenv() from aiida.orm import Code, DataFactory, load_node, WorkflowFactory StructureData = DataFactory('structure') ParameterData = DataFactory('parameter') import numpy as np # GaN [-37000 bar <-> 23000 bar] cell = [[ 3.1900000572, 0, 0], [-1.5950000286, 2.7626...
5642ee169b46ea3d6ea0401b70298635c483407b
304033f60097c489cbc60aab639be45ccdbef1a5
/algorithms/boj/backtracking/15654.py
8c2f51d67360895663b0b2f353ca4a026687c41b
[]
no_license
pgw928/TIL
3d0c47c07bd1f5c73826daf8579a2b0e3f93cb95
765906f1e6eecad4ad8ec9bf704041433d7eb304
refs/heads/master
2023-06-29T05:46:30.039815
2021-08-10T17:38:11
2021-08-10T17:38:11
288,923,095
3
0
null
null
null
null
UTF-8
Python
false
false
590
py
import sys n, m = map(int, sys.stdin.readline().split()) nums = sorted(map(int, sys.stdin.readline().split())) check = { i:None for i in range(1, m+1)} def sol(count): for j in nums: if is_promising(check, j): if count == m: print(' '.join(tuple(map(str, check.values())))) ...
42e0ee2ee493ebde7c93afaf2deefaac986dbdec
ac5d55e43eb2f1fb8c47d5d2a68336eda181d222
/DynamicProgramming/97. Interleaving String.py
0e401e739d87b2005763a77deaff14da8c93d611
[]
no_license
tinkle1129/Leetcode_Solution
7a68b86faa37a3a8019626e947d86582549374b3
1520e1e9bb0c428797a3e5234e5b328110472c20
refs/heads/master
2021-01-11T22:06:45.260616
2018-05-28T03:10:50
2018-05-28T03:10:50
78,925,011
0
0
null
null
null
null
UTF-8
Python
false
false
1,248
py
# - * - coding:utf8 - * - - ########################################### # Author: Tinkle # E-mail: [email protected] # Name: Interleaving String.py # Creation Time: 2017/7/29 ########################################### ''' Given s1, s2, s3, find whether s3 is formed by the interleaving of s1 and s2. For example, ...
1befb1e6f1472bf9f42e6013cb12d0bdc26e42e5
c92f43835821d8df2b93dfd781f890e56891f849
/Python3/8. String to Integer (atoi).py
1cee13b16a12801e2e6ea04e8dba1f0ee1846ad4
[]
no_license
iamdoublewei/Leetcode
f4ae87ed8c31537098790842a72cafa5747d8588
e36f343aab109b051a9c3a96956c50b5580c7c15
refs/heads/master
2022-11-06T01:31:56.181800
2022-11-04T20:07:35
2022-11-04T20:07:35
71,944,123
4
0
null
null
null
null
UTF-8
Python
false
false
2,819
py
''' Implement atoi which converts a string to an integer. The function first discards as many whitespace characters as necessary until the first non-whitespace character is found. Then, starting from this character, takes an optional initial plus or minus sign followed by as many numerical digits as possible, and inte...
58bb679db3a7eb38d6e8e0ecd200d684801d97e7
81d635211686b1bc87af5892bd9e0fb95cc2ddb8
/adwords api/googleads-python-lib-master/examples/dfp/v201511/user_team_association_service/create_user_team_associations.py
e98d6a7766208d4ef56d9b401e19d87e3a2da24d
[ "Apache-2.0" ]
permissive
analyticsbot/Python-Code---Part-2
de2f0581258b6c8b8808b4ef2884fe7e323876f0
12bdcfdef4472bcedc77ae61707c25a4a09cba8a
refs/heads/master
2021-06-04T05:10:33.185766
2016-08-31T13:45:45
2016-08-31T13:45:45
66,679,512
3
0
null
null
null
null
UTF-8
Python
false
false
2,304
py
#!/usr/bin/python # # Copyright 2015 Google Inc. 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 b...
d9ac40a91577793d0c1810e9bab0ba59b898beac
b6e5d86b1212103c41fed600c937afab6b19e438
/setup.py
2ff8a57dbf9db9e47d19b46a2cb9a77a8fe039aa
[ "MIT" ]
permissive
4064w007/gamma_index
42e59554f84c8af389679705cd94b7017f10e141
887d3d83ab8779fc9f4ec73090ad032edec7ea73
refs/heads/master
2020-04-09T16:59:02.745028
2017-07-22T06:34:18
2017-07-22T06:34:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
642
py
#!/usr/bin/env python from setuptools import setup, find_packages, Extension import itertools gamma_c = Extension('gamma', sources = ['gamma_index/gamma.c']) options = dict( name='gamma_index', version='0.1.3', packages=find_packages(), license='MIT', include_package_data = True, description='...
841412bbb38497468d17c4c073b67c60d60b2d67
48aa5cc42d4af35470a4ba0545dd55a0812986c7
/mth5/groups/reports.py
96261296b15466d3312fe39f881f1daee7142de8
[ "LicenseRef-scancode-warranty-disclaimer", "MIT" ]
permissive
kujaku11/mth5
4fb6e156bd93c13b558d69b866025a29abe8bae7
ce814702c7116f5f0034f5d43a1392f61a2c3cd5
refs/heads/master
2023-08-03T17:27:37.074071
2023-04-18T00:22:27
2023-04-18T00:22:27
283,883,448
16
2
MIT
2023-09-12T23:44:45
2020-07-30T21:49:56
Python
UTF-8
Python
false
false
1,607
py
# -*- coding: utf-8 -*- """ Created on Wed Dec 23 17:03:53 2020 :copyright: Jared Peacock ([email protected]) :license: MIT """ # ============================================================================= # Imports # ============================================================================= import numpy ...
71df871980ae414b88f015be80bace9bc42fcd93
51b630da92fe715af6d0b8d156c3492faa93a9c2
/task.py
26b8a23956729efd3ebde74fd98833c67773e71e
[ "MIT" ]
permissive
rezer0dai/rewheeler
54dc12941e65b291388875197491c248468f8c8a
548e5784999657199f1bc51d5a8b94d12cb27fce
refs/heads/master
2020-06-03T00:15:27.327197
2019-06-18T09:09:30
2019-06-18T09:09:30
191,357,543
0
0
null
null
null
null
UTF-8
Python
false
false
4,758
py
import numpy as np import random CLOSE_ENOUGH = 1.15 def extract_goal(state): return state[-4-3:-1-3] # https://github.com/Unity-Technologies/ml-agents/blob/master/UnitySDK/Assets/ML-Agents/Examples/Reacher/Scripts/ReacherAgent.cs def transform(obs): return np.hstack([ obs[3+4+3+3:3+4+3+3+3], #pendul...
3e4394a0646eda47d6f9ce72abd3a4216e14eb9e
9d24ead596fd7a4135b3ed2ed840a85ceef1cd56
/COVIDPandasUppgift/balls/new.py
07b66f9613e31b55fc20047c6eb620171a4789ec
[]
no_license
blarpet/PRO-AXEL-JOBSON
656daaf2cceabc4916312fa43d3f5c050fdd513a
dd9a073cdc6e8ba0cd0237b0a25945c31528a53e
refs/heads/master
2023-05-08T19:56:44.803866
2021-05-31T11:29:07
2021-05-31T11:29:07
290,454,714
0
0
null
null
null
null
UTF-8
Python
false
false
409
py
import pandas as pd import plotly.express as px df = pd.read_csv("National_Total_Deaths_by_Age_Group.csv") options = [] for age in df.Age_Group: options.append(dict(label = age, value = age)) fig = px.bar(df,x = "Age_Group", y = "Total_Cases") fig.write_html('first_figure.html', auto_open=True) print(df.head()) ...
722d4642986e50ffbe82058abcf1195bc73e7946
5f51d41baa66867c48694e633d8ac1c757b385af
/0x00-python_variable_annotations/6-sum_mixed_list.py
95b9903a8bb6235692db2cb5b3bdc725c94ceaa4
[]
no_license
JuanOlivares1/holbertonschool-web_back_end
cd7f53fbaffc837b5c569ce740542a0ef22d2363
43dee7a118424d8e0a12f4c2a7109f331ac73d5c
refs/heads/main
2023-08-20T14:16:28.028464
2021-10-07T22:55:33
2021-10-07T22:55:33
387,531,657
0
0
null
null
null
null
UTF-8
Python
false
false
256
py
#!/usr/bin/env python3 """ Module """ from typing import List, Union def sum_mixed_list(mxd_lst: List[Union[int, float]]) -> float: """ Returns the sum of all list's items """ sum: float = 0 for n in mxd_lst: sum += n return sum
29a8e3fae3cc14190dd745fda358b6adbedd3235
28de04457e8ebcd1b34494db07bde8a3f25d8cf1
/easy/relative_ranks_506.py
dba84689bb3b4ada3bd233ad1d4f741db9778e21
[]
no_license
YangXinNewlife/LeetCode
1df4218eef6b81db81bf2f0548d0a18bc9a5d672
20d3d0aa325d79c716acfc75daef32f8d4f9f1ad
refs/heads/master
2023-08-16T23:18:29.776539
2023-08-15T15:53:30
2023-08-15T15:53:30
70,552,512
0
0
null
null
null
null
UTF-8
Python
false
false
698
py
# -*- coding:utf-8 -*- __author__ = 'yangxin_ryan' """ Solutions: 这里的处理办法是先将数据排序,默认的前三个元素分别是: Gold Medal Silver Medal Bronze Medal 后面的用下标 + 1代替 """ class RelativeRanks(object): def findRelativeRanks(self, nums: List[int]) -> List[str]: pos = {n: i + 1 for i, n in enumerate(sorted(nums, reverse=True))} ...
ca3048e417708c69249c76c57c3e868c4c8ba729
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p00007/s006220863.py
cdaec1ff23fb635a4abf54da1e7866491a47bb12
[]
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
220
py
from math import ceil from functools import reduce print(reduce(lambda x, y: int(ceil(int(ceil(100000 * 1.05 / 1000) * 1000) * 1.05 / 1000) * 1000) if x == 0 else int(ceil(x * 1.05 / 1000) * 1000) , range(int(input()))))
e64374bbafac7b8b97a0251bdbbd43bf9e2035b7
82aada4592fc4fc8dfd6822bd37a1f6c79ee53c0
/mainapp/daemons/vikidict/vikidict.py
5cf68458abd9c82cd9e1ab610b1a5ab63d1f4ae0
[]
no_license
Ancelada/canonizator
db79e9c16cdafb981e58dd933c03460a16803f90
d5f14dddf3ed70dc8a0c10ecbb987fdf64eb682f
refs/heads/master
2021-01-23T00:56:58.045369
2017-06-05T19:06:52
2017-06-05T19:06:52
85,855,064
0
0
null
null
null
null
UTF-8
Python
false
false
2,353
py
import sys import os from bs4 import BeautifulSoup import requests import pymorphy2 import binascii # path = os.path.dirname(sys.modules[__name__].__file__) # path = os.path.join(path, '..') # sys.path.insert(0, path) # __path__ = os.path.dirname(os.path.abspath(__file__)) class Vikidict(): def __init__(self): s...
e07b156b01c9f1e08b27c8f6e63b732cad71f565
4b7e282fe480415f5d52c0fc0429f144156190fe
/examples/account_management/reject_merchant_center_link.py
92971480f07660b2cd66bdfdfeeac1e2397d9eed
[ "Apache-2.0" ]
permissive
Z2Xsoft/google-ads-python
c4750357bb19da91bb3b6bf2fa84bef9d2df36d3
1779d52a0446c8afb2437b0a9e103dcb849f5590
refs/heads/main
2023-08-18T15:22:17.840364
2021-09-26T04:08:53
2021-09-26T04:08:53
410,444,398
0
0
Apache-2.0
2021-09-26T04:08:53
2021-09-26T03:55:38
null
UTF-8
Python
false
false
6,207
py
#!/usr/bin/env python # 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 # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
c80b24556a0be18f1c988d44226dd07ca53c1447
ab9196b6356e3c0af7baf7b768d7eb8112243c06
/Python&DataBase/5.21/HW02Pandas03_05_ClassEx05_김주현.py
72383d87fa38906966d5ecf55a4a45b989d9756b
[]
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
729
py
class FourCal: def __init__(self,first,second): self.first = first self.second = second def sum(self): result = self.first + self.second return result def sub(self): result = self.first - self.second return result def mul(self): result = self.first * self.second return result...
e8dc3a1f5f2a3fdeec63fe5fd2a749367511e8ab
5c2e0fe391f7c720d0a6c117a64f4c8e89fece93
/research/object_detection/models/ssd_mobilenet_v1_feature_extractor.py
e64c966d5f72e27875bfa64f49a6f3ce45694522
[ "Apache-2.0" ]
permissive
lyltencent/tf_models_v15
e3bed9dfee42685118b0f3d21bb9de37d58cf500
0081dbe36831342051c09a2f94ef9ffa95da0e79
refs/heads/master
2022-10-20T20:00:26.594259
2020-09-19T05:37:22
2020-09-19T05:37:22
161,750,047
0
1
Apache-2.0
2021-03-31T21:04:01
2018-12-14T07:47:33
Python
UTF-8
Python
false
false
4,972
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 applica...
5676800b14c8980248c0ab574043fba7b054977d
cacb2757d54aef112c43cc962b674582cbf1468e
/pumpp/core.py
0db13b0e93d5301aac60fc44e8c0b7a720099169
[ "ISC" ]
permissive
justinsalamon/pumpp
9cf1ac6cf0dde1936b45c4d4c44728132a41d2b5
c8d7be644f998721a841cb43e28c8e285af225a4
refs/heads/master
2021-01-01T15:37:38.949477
2017-07-18T19:31:07
2017-07-18T19:31:07
97,657,947
2
0
null
2017-07-19T01:10:14
2017-07-19T01:10:14
null
UTF-8
Python
false
false
6,628
py
#!/usr/bin/env python # -*- encoding: utf-8 -*- ''' Core functionality ================== .. autosummary:: :toctree: generated/ Pump ''' import librosa import jams from .base import Slicer from .exceptions import ParameterError from .task import BaseTaskTransformer from .feature import FeatureExtractor from ...
82a3aa46b605e8f17a99a67cb9b5993e4cac0a60
2bc7659be83178c43b1592efbe1d79c62fc4fa36
/Python/1253 a부터 b까지 출력하기.py
5543b4bb8d3d0ac5509cef8ba4a12eff8b847690
[]
no_license
KIMSUBIN17/Code-Up-Algorithm
ede6f443fcf640ecf58282c582da43e124ca44af
831180c28d234366a1d3cf118bd2a615dc404f00
refs/heads/master
2023-07-22T21:42:06.990542
2021-09-05T08:36:32
2021-09-05T08:36:32
286,932,400
0
0
null
null
null
null
UTF-8
Python
false
false
175
py
a, b = input().split() a = int(a) b = int(b) if(a > b): for i in range(b, a+1): print(i, end=' ') else: for i in range(a, b+1): print(i, end=' ')
dc5d59c9621d108d4954db1465d6a8e5fee0b977
68ee9027d4f780e1e5248a661ccf08427ff8d106
/extra/unused/LandsatPX_doc/get_landsat_pairs.py
a88d250ae60b9821006277c69db2c0e9ef8eebc0
[ "MIT" ]
permissive
whyjz/CARST
87fb9a6a62d39fd742bb140bddcb95a2c15a144c
4fc48374f159e197fa5a9dbf8a867b0a8e0aad3b
refs/heads/master
2023-05-26T20:27:38.105623
2023-04-16T06:34:44
2023-04-16T06:34:44
58,771,687
17
4
MIT
2021-03-10T01:26:04
2016-05-13T20:54:42
Python
UTF-8
Python
false
false
2,628
py
import os import glob import math def makeParamFiles(A,B): dayA = (A[13:16]) yearA = (A[9:13]) dayB = (B[13:16]) yearB = (B[9:13]) file1 = open("landsat8_" + yearB +"_"+dayA+"_"+dayB+".txt","w") file1.write(os.path.realpath(A) +" "+ os.path.realpath(B)) file1.close() file2 = open("params_landsat8_...
5d52550b78b7a096a5f07042c2f7a901e73ada2b
d7ccb4225f623139995a7039f0981e89bf6365a4
/.history/accounts/views_20211013005944.py
b3778559b57bf3bf0425e1678a3cc6003745a10b
[]
no_license
tonnymuchui/django-mall
64fd4abc3725c1bd0a3dcf20b93b490fe9307b37
55c083d8433be3c77adc61939cd197902de4ce76
refs/heads/master
2023-08-23T04:59:20.418732
2021-10-13T15:59:37
2021-10-13T15:59:37
415,668,388
1
0
null
null
null
null
UTF-8
Python
false
false
233
py
from django.shortcuts import render # Create your views here. def register(register): return render('register.html') def login(register): return render('register.html') def log(register): return render('register.html')
ac3cb9735acbbe7d612a9d4587f73eb38dc0804d
14af6e17a596aa340f7a1700b213dc5d41771043
/space/main.py
63584e9f3b4a359761c6cf892ffe4d17c1d144dd
[ "BSD-3-Clause" ]
permissive
samdmarshall/space
56d54d0da7a503cc1678786d0c2430ad20ebd194
e9d9899d856c7c20d819e03357017dd07e1c8f23
refs/heads/master
2021-04-29T07:30:41.834581
2017-02-09T21:03:12
2017-02-09T21:03:12
77,950,055
5
0
null
null
null
null
UTF-8
Python
false
false
5,477
py
# Copyright (c) 2017, Samantha Marshall (http://pewpewthespells.com) # All rights reserved. # # https://github.com/samdmarshall/space # # 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...