hexsha
stringlengths
40
40
size
int64
5
2.06M
ext
stringclasses
11 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
3
251
max_stars_repo_name
stringlengths
4
130
max_stars_repo_head_hexsha
stringlengths
40
78
max_stars_repo_licenses
listlengths
1
10
max_stars_count
int64
1
191k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
3
251
max_issues_repo_name
stringlengths
4
130
max_issues_repo_head_hexsha
stringlengths
40
78
max_issues_repo_licenses
listlengths
1
10
max_issues_count
int64
1
116k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
3
251
max_forks_repo_name
stringlengths
4
130
max_forks_repo_head_hexsha
stringlengths
40
78
max_forks_repo_licenses
listlengths
1
10
max_forks_count
int64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
1
1.05M
avg_line_length
float64
1
1.02M
max_line_length
int64
3
1.04M
alphanum_fraction
float64
0
1
157b40f5bd5e10ed04c063e23c30e7f531f7e95b
1,870
py
Python
modules/core/dbshell/dbshell.py
petabyteboy/nixcloud-webservices
a08cab699af8eecee5e9142c0acd50bc44c65c0b
[ "MIT" ]
121
2017-11-18T13:41:58.000Z
2022-03-29T19:11:18.000Z
modules/core/dbshell/dbshell.py
petabyteboy/nixcloud-webservices
a08cab699af8eecee5e9142c0acd50bc44c65c0b
[ "MIT" ]
62
2017-11-18T23:07:04.000Z
2021-07-14T15:47:16.000Z
modules/core/dbshell/dbshell.py
petabyteboy/nixcloud-webservices
a08cab699af8eecee5e9142c0acd50bc44c65c0b
[ "MIT" ]
24
2017-11-18T21:12:18.000Z
2021-06-03T13:50:02.000Z
#!@interpreter@ import os from pwd import getpwnam from argparse import ArgumentParser DBSHELL_CONFIG = @dbshellConfig@ # noqa WEBSERVICES_PREFIX = "/var/lib/nixcloud/webservices" if __name__ == '__main__': desc = "Connect to a database within a web service instance" parser = ArgumentParser(description=des...
34.62963
76
0.668449
15801e63f4ce152dc13b01c3bf031795697e6d01
856
py
Python
misc/qchecker/solver/solver.py
SECCON/SECCON2021_online_CTF
628008ae2d150723352aed2c95abff41501c51f2
[ "Apache-2.0" ]
7
2022-02-07T10:15:22.000Z
2022-02-10T07:13:07.000Z
misc/qchecker/solver/solver.py
SECCON/SECCON2021_online_CTF
628008ae2d150723352aed2c95abff41501c51f2
[ "Apache-2.0" ]
null
null
null
misc/qchecker/solver/solver.py
SECCON/SECCON2021_online_CTF
628008ae2d150723352aed2c95abff41501c51f2
[ "Apache-2.0" ]
null
null
null
import re code = open("qchecker.rb").read() code = code.replace(" ", "").replace("\n", "") A = re.findall(r'b\[".*?"\]', code)[1] A = [decode36base(a) for a in A[3:-2].split("+")] A = A[2:] M = [2**64+13, 2**64+37, 2**64+51, 2**64+81] for a, m in zip(A, M): print(f"flag % {hex(m)} = {hex(a)}") f, _mod = CRT(A, M...
16.461538
49
0.464953
158142a73a42f2860a465358d521dc21fd1775ea
11,714
py
Python
src/crossknight/sqink/provider/gdrive.py
jfveronelli/sqink
5e9e6bc6c5c6c00abbc07099bc1fa1ab6cf79577
[ "Unlicense" ]
32
2015-11-06T02:59:41.000Z
2021-02-12T02:44:42.000Z
src/crossknight/sqink/provider/gdrive.py
jfveronelli/sqink
5e9e6bc6c5c6c00abbc07099bc1fa1ab6cf79577
[ "Unlicense" ]
6
2017-04-26T02:30:16.000Z
2017-10-13T16:53:08.000Z
src/crossknight/sqink/provider/gdrive.py
jfveronelli/sqink
5e9e6bc6c5c6c00abbc07099bc1fa1ab6cf79577
[ "Unlicense" ]
4
2016-02-01T09:15:05.000Z
2020-04-30T03:41:04.000Z
# coding:utf-8 from base64 import b64encode from crossknight.sqink import createLogger from crossknight.sqink.domain import isUuid from crossknight.sqink.domain import NoteStatus from crossknight.sqink.markdown import renderHtml from crossknight.sqink.plist import marshalNote from crossknight.sqink.plist import unmarsh...
41.246479
119
0.630784
15855cc62df19587ccbd5221ee7c5b7e7426af13
3,012
py
Python
create_base_xml_files.py
rochester-rcl/islandora-import-scripts
e7678f0e9b975d17dbc5d39f65dfb547dfbd5853
[ "MIT" ]
1
2019-09-26T14:03:23.000Z
2019-09-26T14:03:23.000Z
create_base_xml_files.py
rochester-rcl/islandora-import-scripts
e7678f0e9b975d17dbc5d39f65dfb547dfbd5853
[ "MIT" ]
null
null
null
create_base_xml_files.py
rochester-rcl/islandora-import-scripts
e7678f0e9b975d17dbc5d39f65dfb547dfbd5853
[ "MIT" ]
null
null
null
#work in prgress - This creates a skelatal mods file for the givne set of files templateFile = "C:\\python-scripts\\xml-file-output\\aids_skeletalmods.xml" # maxFilesPerZip = input("Please enter maximum number of files per zip file: ") maxFilesToProcess = input("Please enter maximum number of files to process en...
35.435294
112
0.618526
1586fdc938864aa8657885eb20f4ab9d341d045e
101
py
Python
1095.py
FahimFBA/URI-Problem-Solve
d718a95e5a873dffbce19d850998e8917ec87ebb
[ "Apache-2.0" ]
3
2020-11-25T19:05:31.000Z
2021-03-29T07:29:36.000Z
1095.py
FahimFBA/URI-Problem-Solve
d718a95e5a873dffbce19d850998e8917ec87ebb
[ "Apache-2.0" ]
null
null
null
1095.py
FahimFBA/URI-Problem-Solve
d718a95e5a873dffbce19d850998e8917ec87ebb
[ "Apache-2.0" ]
null
null
null
j,i=65,-2 for I in range (1,14): J= j-5 I=i+3 print('I=%d J=%d' %(I,J)) j=J i=I
12.625
29
0.39604
1587114c01f673313c4136bb3c67082ca329fa04
635
py
Python
oldversion1/server0.py
userElaina/rsa-p2p
8d0d5e09581f9df5c2109f21d3acbf5d13599231
[ "Apache-2.0", "MIT" ]
null
null
null
oldversion1/server0.py
userElaina/rsa-p2p
8d0d5e09581f9df5c2109f21d3acbf5d13599231
[ "Apache-2.0", "MIT" ]
null
null
null
oldversion1/server0.py
userElaina/rsa-p2p
8d0d5e09581f9df5c2109f21d3acbf5d13599231
[ "Apache-2.0", "MIT" ]
null
null
null
import os import time import socket import base64 from _th import throws_ex,throws n=os.cpu_count() t=10 s=socket.socket(socket.AF_INET,socket.SOCK_STREAM) s.bind(('127.0.0.1',23301)) s.listen(os.cpu_count()<<1) _count=0 for i in range(n): throws(f) while True: _count=0 time.sleep(t) p...
15.119048
51
0.622047
1587395a983a3557858501b14e8531344e8a816e
48,690
py
Python
puffbird/frame.py
gucky92/puffbird
2feb04aead2f961972d901db5188fd04f6d7c035
[ "MIT" ]
1
2021-02-02T15:43:57.000Z
2021-02-02T15:43:57.000Z
puffbird/frame.py
gucky92/puffbird
2feb04aead2f961972d901db5188fd04f6d7c035
[ "MIT" ]
74
2020-06-08T19:53:43.000Z
2022-03-27T22:46:21.000Z
puffbird/frame.py
gucky92/puffbird
2feb04aead2f961972d901db5188fd04f6d7c035
[ "MIT" ]
null
null
null
""" FrameEngine class ----------------- Class to transform a wide pandas DataFrame, as it may be obtained from a database model like datajoint, into a long dataframe format optimal for plotting and groupby computations. """ import re from typing import ( Dict, Union, Optional, Collection, Sequence, Callable ) ...
36.390135
85
0.548347
15878313c587ce911938de1140bcb245540e546d
2,426
py
Python
where/estimation/parameters/vlbi_src_dir.py
ingridfausk/where
b65398911075b7ddef3a3a1146efa428eae498fe
[ "MIT" ]
16
2018-08-31T10:31:11.000Z
2022-03-15T16:07:24.000Z
where/estimation/parameters/vlbi_src_dir.py
ingridfausk/where
b65398911075b7ddef3a3a1146efa428eae498fe
[ "MIT" ]
5
2018-07-13T14:04:24.000Z
2021-06-17T02:14:44.000Z
where/estimation/parameters/vlbi_src_dir.py
ingridfausk/where
b65398911075b7ddef3a3a1146efa428eae498fe
[ "MIT" ]
15
2018-06-07T05:45:24.000Z
2022-03-15T16:07:27.000Z
"""Calculate the partial derivatives of the source coordinates Description: ------------ Calculate the partial derivatives of the source coordinates. This is done according to equations (2.47) - (2.50) in Teke [2]_. References: ----------- .. [1] Petit, G. and Luzum, B. (eds.), IERS Conventions (2010), IERS Techn...
29.585366
118
0.675598
15886c752d2de54942e443abc11164084cdc7422
1,209
py
Python
wxpusher/tests/test_send_message.py
hnauto/wxpusher-sdk-python
6787c0bdd7bef673b1a3f56984f6587c07bb0546
[ "Apache-2.0" ]
124
2020-01-17T03:02:05.000Z
2022-03-30T09:51:02.000Z
wxpusher/tests/test_send_message.py
hnauto/wxpusher-sdk-python
6787c0bdd7bef673b1a3f56984f6587c07bb0546
[ "Apache-2.0" ]
3
2020-01-17T09:31:47.000Z
2021-09-25T06:55:37.000Z
wxpusher/tests/test_send_message.py
hnauto/wxpusher-sdk-python
6787c0bdd7bef673b1a3f56984f6587c07bb0546
[ "Apache-2.0" ]
23
2020-01-17T03:02:11.000Z
2022-03-29T13:25:24.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Unittest for sending message. File: test_send_message.py Author: huxuan Email: i(at)huxuan.org """ import unittest from wxpusher import WxPusher from . import config
26.282609
62
0.628619
15898a995b5971187abab36d048bb1449cd025a4
64,499
py
Python
source/codegen/metadata/nirfsg/enums.py
tdunkle/grpc-device
2c784476327595fdeae06d6a3fc7aaf6daac597e
[ "MIT" ]
24
2021-03-25T18:37:59.000Z
2022-03-03T16:33:56.000Z
source/codegen/metadata/nirfsg/enums.py
tdunkle/grpc-device
2c784476327595fdeae06d6a3fc7aaf6daac597e
[ "MIT" ]
129
2021-04-03T15:16:04.000Z
2022-03-25T21:48:18.000Z
source/codegen/metadata/nirfsg/enums.py
tdunkle/grpc-device
2c784476327595fdeae06d6a3fc7aaf6daac597e
[ "MIT" ]
24
2021-03-31T12:36:14.000Z
2022-02-25T03:01:25.000Z
enums = { 'AmpPath': { 'values': [ { 'documentation': { 'description': ' Sets the amplification path to use the high power path. \n' }, 'name': 'HIGH_POWER', 'value': 16000 }, { ...
34.090381
1,071
0.40013
158ac615fe7a437552c3d9ee324229230295a8cd
1,284
py
Python
examples/ble_packet_buffer_client.py
anthonytw/Adafruit_CircuitPython_BLE
7bafb2f9df9572518b4fafb6f1e6b3eb554dcd48
[ "Unlicense", "MIT-0", "MIT" ]
null
null
null
examples/ble_packet_buffer_client.py
anthonytw/Adafruit_CircuitPython_BLE
7bafb2f9df9572518b4fafb6f1e6b3eb554dcd48
[ "Unlicense", "MIT-0", "MIT" ]
null
null
null
examples/ble_packet_buffer_client.py
anthonytw/Adafruit_CircuitPython_BLE
7bafb2f9df9572518b4fafb6f1e6b3eb554dcd48
[ "Unlicense", "MIT-0", "MIT" ]
null
null
null
# SPDX-FileCopyrightText: 2022 Scott Shawcroft for Adafruit Industries # SPDX-License-Identifier: MIT """ Used with ble_packet_buffer_test.py. Transmits "echo" to PacketBufferService and receives it back. """ import time from ble_packet_buffer_service import PacketBufferService from adafruit_ble import BLERadio fro...
29.860465
81
0.675234
1590c9b4491865c7256a3ccb87a27c047b88b772
6,846
py
Python
fsl/scripts/fsl_ents.py
physimals/fslpy
10dd3f996c79d402c65cf0af724b8b00082d5176
[ "Apache-2.0" ]
6
2018-04-18T03:42:50.000Z
2021-11-20T18:46:37.000Z
fsl/scripts/fsl_ents.py
physimals/fslpy
10dd3f996c79d402c65cf0af724b8b00082d5176
[ "Apache-2.0" ]
13
2018-10-01T11:45:05.000Z
2022-03-16T12:28:36.000Z
fsl/scripts/fsl_ents.py
physimals/fslpy
10dd3f996c79d402c65cf0af724b8b00082d5176
[ "Apache-2.0" ]
5
2017-12-09T09:02:17.000Z
2021-11-15T16:55:30.000Z
#!/usr/bin/env python # # fsl_ents.py - Extract ICA component time courses from a MELODIC directory. # # Author: Paul McCarthy <pauldmccarthy@gmail.com> # """This module defines the ``fsl_ents`` script, for extracting component time series from a MELODIC ``.ica`` directory. """ import os.path as op import ...
29.508621
96
0.58326
1591fda0bf27adaef74f6f31a6d8012b1ea509fa
676
py
Python
utilities/calculate_missing_diffs.py
SafeBreach-Labs/Back2TheFuture
39b5eaf289e694aa9cae1bd26fd1f35b0d4dd0c3
[ "BSD-3-Clause" ]
84
2021-08-07T02:39:50.000Z
2022-03-18T13:20:43.000Z
utilities/calculate_missing_diffs.py
SafeBreach-Labs/Back2TheFuture
39b5eaf289e694aa9cae1bd26fd1f35b0d4dd0c3
[ "BSD-3-Clause" ]
null
null
null
utilities/calculate_missing_diffs.py
SafeBreach-Labs/Back2TheFuture
39b5eaf289e694aa9cae1bd26fd1f35b0d4dd0c3
[ "BSD-3-Clause" ]
13
2021-08-07T15:53:08.000Z
2022-02-02T14:23:06.000Z
# (CWD: executables/amd64 folder) # TODO: finish this import os packages = [] total_executables_packages = len(os.listdir(".")) for package_name in os.listdir("."): packages.append(os.path.join(".", package_name)) without_diffs = [] expected_diffs = 0 for package_path in packages: match_found = os.listdir(packa...
37.555556
74
0.724852
159404c2056221e60f609b4d146aa57fd40b1573
1,716
py
Python
test/magicmind/op_test/test_size.py
Cambricon/catch
2625da389f25a67066d20fb6b0c38250ef98f8ab
[ "BSD-2-Clause" ]
20
2022-03-01T11:40:51.000Z
2022-03-30T08:17:47.000Z
test/magicmind/op_test/test_size.py
Cambricon/catch
2625da389f25a67066d20fb6b0c38250ef98f8ab
[ "BSD-2-Clause" ]
null
null
null
test/magicmind/op_test/test_size.py
Cambricon/catch
2625da389f25a67066d20fb6b0c38250ef98f8ab
[ "BSD-2-Clause" ]
null
null
null
from __future__ import print_function from itertools import product import torch import torch.nn as nn import torch_mlu from torch.nn import Parameter import torch.nn.functional as F import numpy as np import sys import os import copy import random import time import unittest cur_dir = os.path.dirname(os.path.abspath(...
31.777778
92
0.631702
15940cc897b51daebe5208b32b1e1cbc91bc8a78
940
py
Python
webutils/captcha/widgets.py
ernado-legacy/django-webutils
10c479c10023a227b6705febb85ad5dab59b36ab
[ "BSD-3-Clause" ]
null
null
null
webutils/captcha/widgets.py
ernado-legacy/django-webutils
10c479c10023a227b6705febb85ad5dab59b36ab
[ "BSD-3-Clause" ]
null
null
null
webutils/captcha/widgets.py
ernado-legacy/django-webutils
10c479c10023a227b6705febb85ad5dab59b36ab
[ "BSD-3-Clause" ]
null
null
null
# coding=utf-8 from django import forms from django.conf import settings from django.template.loader import render_to_string from api import * DEFAULT_WIDGET_TEMPLATE = 'captcha_widget.html' WIDGET_TEMPLATE = DEFAULT_WIDGET_TEMPLATE
37.6
114
0.660638
1594cf3d4ca148d9173a88362280c8b5f255daf0
240
py
Python
coreModule/enums.py
addu390/app-builder-backend
b7dc4577f97f8e3a31c916bf2b3cf85386bbb445
[ "MIT" ]
1
2020-09-17T11:27:06.000Z
2020-09-17T11:27:06.000Z
coreModule/enums.py
addu390/app-builder-backend
b7dc4577f97f8e3a31c916bf2b3cf85386bbb445
[ "MIT" ]
6
2020-07-17T09:47:29.000Z
2021-09-22T18:57:32.000Z
coreModule/enums.py
addu390/app-builder-backend
b7dc4577f97f8e3a31c916bf2b3cf85386bbb445
[ "MIT" ]
null
null
null
import enum
16
36
0.691667
1595378471ae0713c721410d27cf32d64a13866e
425
py
Python
desafio_ibm/desafio_ibm/users/migrations/0003_auto_20210523_1447.py
jamilatta/desafio_ibm
f98a1a861525c5ea0d1770d5f3c204014c2f3b60
[ "BSD-3-Clause" ]
null
null
null
desafio_ibm/desafio_ibm/users/migrations/0003_auto_20210523_1447.py
jamilatta/desafio_ibm
f98a1a861525c5ea0d1770d5f3c204014c2f3b60
[ "BSD-3-Clause" ]
null
null
null
desafio_ibm/desafio_ibm/users/migrations/0003_auto_20210523_1447.py
jamilatta/desafio_ibm
f98a1a861525c5ea0d1770d5f3c204014c2f3b60
[ "BSD-3-Clause" ]
null
null
null
# Generated by Django 3.1.11 on 2021-05-23 17:47 from django.db import migrations, models
22.368421
85
0.616471
159569f43bd0986f3a83023f4b06b4e6b04ae5f8
752
py
Python
offer/25_MergeSortedLists.py
DevRoss/python-offer-code
580b2d7b265b3fa8a598287f42a4ca8d9f834eb1
[ "MIT" ]
1
2019-09-02T07:14:26.000Z
2019-09-02T07:14:26.000Z
offer/25_MergeSortedLists.py
DevRoss/python-offer-code
580b2d7b265b3fa8a598287f42a4ca8d9f834eb1
[ "MIT" ]
1
2019-09-02T07:14:48.000Z
2019-10-21T14:30:37.000Z
offer/25_MergeSortedLists.py
DevRoss/python-offer-code
580b2d7b265b3fa8a598287f42a4ca8d9f834eb1
[ "MIT" ]
null
null
null
#!/usr/bin/python3 # -*- coding: utf-8 -*- # Created by Ross on 19-1-18 """windowsMKYAN""" if __name__ == '__main__': pass
21.485714
62
0.578457
15957c8e2d7c1506061057ba07ae93f4d1345623
613
py
Python
venv/Lib/site-packages/sqlalchemy/event/__init__.py
svercillo/flaskwebapi
48e3417c25fc25166203cb88f959345f548a38bc
[ "Apache-2.0" ]
2
2020-05-27T19:53:05.000Z
2020-05-27T19:53:07.000Z
venv/Lib/site-packages/sqlalchemy/event/__init__.py
svercillo/flaskwebapi
48e3417c25fc25166203cb88f959345f548a38bc
[ "Apache-2.0" ]
null
null
null
venv/Lib/site-packages/sqlalchemy/event/__init__.py
svercillo/flaskwebapi
48e3417c25fc25166203cb88f959345f548a38bc
[ "Apache-2.0" ]
null
null
null
# event/__init__.py # Copyright (C) 2005-2020 the SQLAlchemy authors and contributors # <see AUTHORS file> # # This module is part of SQLAlchemy and is released under # the MIT License: http://www.opensource.org/licenses/mit-license.php from .api import CANCEL # noqa from .api import contains # noqa from .a...
34.055556
70
0.734095
15963f5b4bd742d921ef49b3755a3a8f4986956d
1,441
py
Python
userpictures/providers/gravatar.py
trac-hacks/trac-UserPicturesPlugin
d68820b5b176c7ee9921dce056b788664c0211f2
[ "MIT" ]
2
2018-12-19T11:30:21.000Z
2020-10-03T22:09:41.000Z
userpictures/providers/gravatar.py
trac-hacks/trac-UserPicturesPlugin
d68820b5b176c7ee9921dce056b788664c0211f2
[ "MIT" ]
2
2017-07-28T17:39:48.000Z
2020-10-03T22:39:34.000Z
userpictures/providers/gravatar.py
trac-hacks/trac-UserPicturesPlugin
d68820b5b176c7ee9921dce056b788664c0211f2
[ "MIT" ]
2
2017-07-19T06:22:44.000Z
2020-10-03T22:10:21.000Z
import hashlib import re from trac.config import * from trac.core import * from userpictures import IUserPicturesProvider
31.326087
75
0.570437
1597272962a694de71586d0f70a5938164f9b16c
7,327
py
Python
data_process/wholepose/demo.py
SnorlaxSE/CVPR21Chal-SLR
680f911131ca03559fb06d578f38d006f87aa478
[ "CC0-1.0" ]
null
null
null
data_process/wholepose/demo.py
SnorlaxSE/CVPR21Chal-SLR
680f911131ca03559fb06d578f38d006f87aa478
[ "CC0-1.0" ]
null
null
null
data_process/wholepose/demo.py
SnorlaxSE/CVPR21Chal-SLR
680f911131ca03559fb06d578f38d006f87aa478
[ "CC0-1.0" ]
null
null
null
# from __future__ import absolute_import # from __future__ import division # from __future__ import print_function import argparse import os import pprint import torch import torch.nn.parallel import torch.backends.cudnn as cudnn import torch.nn.functional as f # import torch.optim # import torch.utils.data # import ...
35.057416
126
0.52368
1598f36192b462354cabb83631d4d87202205637
56,292
py
Python
CookieTTS/utils/dataset/data_utils.py
AstraliteHeart/cookietts
c871f5f7b5790656d5b57bcd9e63946a2da52f0f
[ "BSD-3-Clause" ]
25
2020-07-07T20:07:41.000Z
2021-12-17T11:27:36.000Z
CookieTTS/utils/dataset/data_utils.py
AstraliteHeart/cookietts
c871f5f7b5790656d5b57bcd9e63946a2da52f0f
[ "BSD-3-Clause" ]
26
2020-07-04T00:06:25.000Z
2022-02-10T03:28:35.000Z
CookieTTS/utils/dataset/data_utils.py
AstraliteHeart/cookietts
c871f5f7b5790656d5b57bcd9e63946a2da52f0f
[ "BSD-3-Clause" ]
11
2020-07-02T21:39:59.000Z
2022-01-17T22:09:46.000Z
import random import time import pickle import os os.environ["LRU_CACHE_CAPACITY"] = "3" import re import numpy as np import torch import torch.utils.data import torch.nn.functional as F # meta processing from CookieTTS.utils.dataset.metadata import get_dataset_meta from tqdm import tqdm # audio processing import lib...
52.267409
282
0.608186
15991bf3dd06edcf2230b607f1e5f6984d6f0f6b
5,342
py
Python
vb2py/PythonCard/simpleSizer.py
ceprio/xl_vb2py
899fec0301140fd8bd313e8c80b3fa839b3f5ee4
[ "BSD-3-Clause" ]
null
null
null
vb2py/PythonCard/simpleSizer.py
ceprio/xl_vb2py
899fec0301140fd8bd313e8c80b3fa839b3f5ee4
[ "BSD-3-Clause" ]
null
null
null
vb2py/PythonCard/simpleSizer.py
ceprio/xl_vb2py
899fec0301140fd8bd313e8c80b3fa839b3f5ee4
[ "BSD-3-Clause" ]
null
null
null
""" __version__ = "$Revision: 1.2 $" __date__ = "$Date: 2005/10/12 22:27:39 $" """ """ Simple sizer for PythonCard Uses a simple method for sizing: - each component type is defined to be fixed or stretchable - uses GetBestSize() to get a min size for each component - each component is placed by its cent...
35.377483
97
0.51872
15992fce3b06fcd5194e57f2043188ad9354b1ab
489
py
Python
buildImage.py
AbhiTaker/Container-Testing-Platform
90d597a533a29a7984f9c7dc8ce2b59c71bd85ec
[ "MIT" ]
1
2019-09-18T13:52:09.000Z
2019-09-18T13:52:09.000Z
buildImage.py
AbhiTaker/Container-Testing-Platform
90d597a533a29a7984f9c7dc8ce2b59c71bd85ec
[ "MIT" ]
null
null
null
buildImage.py
AbhiTaker/Container-Testing-Platform
90d597a533a29a7984f9c7dc8ce2b59c71bd85ec
[ "MIT" ]
null
null
null
import compilers import docker
30.5625
119
0.625767
15993f6706fb601129b65b62dc5da9c99813674c
14,440
py
Python
backend/modules/repo/views.py
YouFacai/iWiki
7a2cbb514f25b72932b0212f6165cdb426243243
[ "MIT" ]
null
null
null
backend/modules/repo/views.py
YouFacai/iWiki
7a2cbb514f25b72932b0212f6165cdb426243243
[ "MIT" ]
null
null
null
backend/modules/repo/views.py
YouFacai/iWiki
7a2cbb514f25b72932b0212f6165cdb426243243
[ "MIT" ]
null
null
null
import datetime from django.conf import settings from django.contrib.auth import get_user_model from django.core.cache import cache from django.db import transaction, IntegrityError from django.db.models import Q from django.utils.translation import gettext as _ from django.utils.translation import ngettext from rest_...
37.025641
93
0.60741
159a295855895460560feb94935eaba5b7b885ee
196
py
Python
main/experiments/init.py
resuly/Traffic-3DResnets
cb48c6b7a4921d8593368c262c0d3c0406a6cc32
[ "MIT" ]
2
2021-05-13T07:46:04.000Z
2021-09-11T11:42:15.000Z
main/experiments/init.py
resuly/Traffic-3DResnets
cb48c6b7a4921d8593368c262c0d3c0406a6cc32
[ "MIT" ]
null
null
null
main/experiments/init.py
resuly/Traffic-3DResnets
cb48c6b7a4921d8593368c262c0d3c0406a6cc32
[ "MIT" ]
null
null
null
import os,sys,glob,shutil lists = glob.glob('./*/*.log') lists += glob.glob('./*/*.tar') lists += glob.glob('./*/*.pk') lists += glob.glob('./*/*weights.json') for f in lists: os.remove(f)
17.818182
39
0.571429
159a92f6efa3a811dff4d2c2b32d80f32fd49fbb
175
py
Python
examples/sim_taxi/config/env.py
CPFL/AMS
bb685024b1c061e7144dc2ef93e09d6d6c830af8
[ "Apache-2.0" ]
26
2018-02-16T10:49:19.000Z
2022-03-23T16:42:48.000Z
examples/sim_taxi/config/env.py
CPFL/Autoware-Management-System
bb685024b1c061e7144dc2ef93e09d6d6c830af8
[ "Apache-2.0" ]
10
2018-11-13T08:16:49.000Z
2019-01-09T04:59:24.000Z
examples/graph/config/env.py
CPFL/AMS
bb685024b1c061e7144dc2ef93e09d6d6c830af8
[ "Apache-2.0" ]
19
2018-03-28T07:38:45.000Z
2022-01-27T05:18:21.000Z
#!/usr/bin/env python # coding: utf-8 import os from dotenv import load_dotenv load_dotenv(os.path.abspath(os.path.dirname(__file__))+'/sample.env') env = dict(os.environ)
17.5
69
0.742857
159b03fca1150d49148601489ee44b504f4466d2
10,398
py
Python
Algorithm.Python/stubs/QuantConnect/Indicators/__CandlestickPatterns_1.py
gaoxiaojun/Lean
9dca43bccb720d0df91e4bfc1d363b71e3a36cb5
[ "Apache-2.0" ]
2
2020-12-08T11:27:20.000Z
2021-04-06T13:21:15.000Z
Algorithm.Python/stubs/QuantConnect/Indicators/__CandlestickPatterns_1.py
gaoxiaojun/Lean
9dca43bccb720d0df91e4bfc1d363b71e3a36cb5
[ "Apache-2.0" ]
null
null
null
Algorithm.Python/stubs/QuantConnect/Indicators/__CandlestickPatterns_1.py
gaoxiaojun/Lean
9dca43bccb720d0df91e4bfc1d363b71e3a36cb5
[ "Apache-2.0" ]
1
2020-10-13T00:49:17.000Z
2020-10-13T00:49:17.000Z
from .__CandlestickPatterns_2 import * import typing import QuantConnect.Indicators.CandlestickPatterns import datetime IsReady: bool class DragonflyDoji(QuantConnect.Indicators.CandlestickPatterns.CandlestickPattern, System.IComparable, QuantConnect.Indicators.IIndicator[IBaseDataBar], QuantConnect.Indicator...
30.854599
241
0.733026
159b98f42b0d4ff2d76627c2a125168162baba6f
1,709
py
Python
test/test_delete_contact.py
ann-drobysh/python_training
64f11d67020f418e82824abbc817c5da1ac754e8
[ "Apache-2.0" ]
null
null
null
test/test_delete_contact.py
ann-drobysh/python_training
64f11d67020f418e82824abbc817c5da1ac754e8
[ "Apache-2.0" ]
null
null
null
test/test_delete_contact.py
ann-drobysh/python_training
64f11d67020f418e82824abbc817c5da1ac754e8
[ "Apache-2.0" ]
null
null
null
from model.contact import Contact import random import allure
65.730769
232
0.674078
159c393a361e22361947bce7f56d742c93df7bfa
563
py
Python
pages/urls.py
UlmBlois/website
01e652dd0c9c5b7026efe2a923ea3c4668d5a5b4
[ "MIT" ]
null
null
null
pages/urls.py
UlmBlois/website
01e652dd0c9c5b7026efe2a923ea3c4668d5a5b4
[ "MIT" ]
2
2019-06-03T06:17:29.000Z
2019-06-17T05:26:02.000Z
pages/urls.py
UlmBlois/website
01e652dd0c9c5b7026efe2a923ea3c4668d5a5b4
[ "MIT" ]
null
null
null
from django.urls import path from . import views urlpatterns = [ path('PilotInformations', views.PilotInformationsView.as_view(), name='pilot_informations'), path('About', views.AboutView.as_view(), name='about'), path('Contact', views.ContactView.as_view(), name='contact'), path('on_site', vi...
40.214286
71
0.690941
159d9db40f62ed5b50a22f2cc6fbf52c6b4c40f3
1,964
py
Python
sw_data_loader/SWDataClassFile.py
stealthness/sklearn-examples
e755fd3804cc15dd28ff2a38e299e80c83565d0a
[ "BSD-3-Clause" ]
null
null
null
sw_data_loader/SWDataClassFile.py
stealthness/sklearn-examples
e755fd3804cc15dd28ff2a38e299e80c83565d0a
[ "BSD-3-Clause" ]
null
null
null
sw_data_loader/SWDataClassFile.py
stealthness/sklearn-examples
e755fd3804cc15dd28ff2a38e299e80c83565d0a
[ "BSD-3-Clause" ]
null
null
null
import os from PIL import Image file_deliminator = "//" valid_image_file_formats = {'png', 'jpg'}
30.215385
114
0.577902
159e4d49c26008b7c32a461ba8e387fa0453f373
409
py
Python
apps/jobs/migrations/0014_rename_job_id_field_in_submission_model_to_job_name.py
kaustubh-s1/EvalAI
1884811e7759e0d095f7afb68188a7f010fa65dc
[ "BSD-3-Clause" ]
1,470
2016-10-21T01:21:45.000Z
2022-03-30T14:08:29.000Z
apps/jobs/migrations/0014_rename_job_id_field_in_submission_model_to_job_name.py
kaustubh-s1/EvalAI
1884811e7759e0d095f7afb68188a7f010fa65dc
[ "BSD-3-Clause" ]
2,594
2016-11-02T03:36:01.000Z
2022-03-31T15:30:04.000Z
apps/jobs/migrations/0014_rename_job_id_field_in_submission_model_to_job_name.py
kaustubh-s1/EvalAI
1884811e7759e0d095f7afb68188a7f010fa65dc
[ "BSD-3-Clause" ]
865
2016-11-09T17:46:32.000Z
2022-03-30T13:06:52.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.23 on 2020-01-20 05:23 from __future__ import unicode_literals from django.db import migrations
24.058824
75
0.687042
159e508b6067a541f5942f8ea43eaa3a7acd7ff0
5,425
py
Python
encoding_selection/src/main/python/example/tf_mnist.py
githubsigmod2021/CodecDB
b3f139c20067fbaec1aa9fcd90edbe6afccf0214
[ "Apache-2.0" ]
4
2021-07-23T09:47:26.000Z
2022-03-15T13:07:46.000Z
src/main/python/example/tf_mnist.py
UCHI-DB/enc-selector
a1fdc9012a6051c869fbc33bf76762c554709f29
[ "Apache-2.0" ]
null
null
null
src/main/python/example/tf_mnist.py
UCHI-DB/enc-selector
a1fdc9012a6051c869fbc33bf76762c554709f29
[ "Apache-2.0" ]
3
2018-03-05T17:23:13.000Z
2019-02-14T10:36:51.000Z
import collections import io import numpy as np import tensorflow as tf hidden_dim = 1000 input_size = 28 * 28 output_size = 10 train_data_file = "/home/harper/dataset/mnist/train-images.idx3-ubyte" train_label_file = "/home/harper/dataset/mnist/train-labels.idx1-ubyte" test_data_file = "/home/harper/dataset/mnist/t...
36.655405
115
0.646636
159e7e22aa1e3fa35e99d3ba463f5c3c59675f9b
3,961
py
Python
src/recombinant_denaturation/2_kinetic_fitting.py
dezeraecox-manuscripts/COX_Proteome-stability
a5397baae7f0bc73980b88f8ccf7b83e3d05f590
[ "MIT" ]
null
null
null
src/recombinant_denaturation/2_kinetic_fitting.py
dezeraecox-manuscripts/COX_Proteome-stability
a5397baae7f0bc73980b88f8ccf7b83e3d05f590
[ "MIT" ]
null
null
null
src/recombinant_denaturation/2_kinetic_fitting.py
dezeraecox-manuscripts/COX_Proteome-stability
a5397baae7f0bc73980b88f8ccf7b83e3d05f590
[ "MIT" ]
null
null
null
import os, re, string import pandas as pd import numpy as np import matplotlib.pyplot as plt import seaborn as sns import bokeh.palettes as bp from loguru import logger from GEN_Utils import FileHandling from ProteomicsUtils import StatUtils logger.info('Import OK') input_folder = 'results/recombinant_denaturation/i...
41.694737
149
0.68821
15a007d1d3d27f2cff85f82f76e0c955ba30f2bf
1,305
py
Python
pyy.py
eieio/pyy
dface9d5c8914bb74ef1ee4df112269b65e62bec
[ "Apache-2.0" ]
null
null
null
pyy.py
eieio/pyy
dface9d5c8914bb74ef1ee4df112269b65e62bec
[ "Apache-2.0" ]
1
2020-09-29T22:20:49.000Z
2020-09-29T22:20:49.000Z
pyy.py
eieio/pyy
dface9d5c8914bb74ef1ee4df112269b65e62bec
[ "Apache-2.0" ]
null
null
null
''' IRCBot.py Copyright 2008 Corey Tabaka 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...
30.348837
76
0.68659
15a0ab7dba9e5d7839b7b9a443a71a2444bf7c79
637
py
Python
microcosm_flask/metrics.py
KensoDev/microcosm-flask
3618333f4a0f45e673a33986877157208c9eac5f
[ "Apache-2.0" ]
null
null
null
microcosm_flask/metrics.py
KensoDev/microcosm-flask
3618333f4a0f45e673a33986877157208c9eac5f
[ "Apache-2.0" ]
null
null
null
microcosm_flask/metrics.py
KensoDev/microcosm-flask
3618333f4a0f45e673a33986877157208c9eac5f
[ "Apache-2.0" ]
null
null
null
""" Metrics extensions for routes. """ try: from microcosm_metrics.classifier import Classifier except ImportError: raise Exception("Route metrics require 'microcosm-metrics'") from microcosm_flask.audit import parse_response from microcosm_flask.errors import extract_status_code
23.592593
64
0.729984
15a12b35b969d4c19e83de8204605afafeec3759
524
py
Python
zeppos_git/branch.py
changrunner/zeppos_git
b105bf23aaecd512d2358838cbcf8575d47071bb
[ "Apache-2.0" ]
null
null
null
zeppos_git/branch.py
changrunner/zeppos_git
b105bf23aaecd512d2358838cbcf8575d47071bb
[ "Apache-2.0" ]
null
null
null
zeppos_git/branch.py
changrunner/zeppos_git
b105bf23aaecd512d2358838cbcf8575d47071bb
[ "Apache-2.0" ]
null
null
null
import git from zeppos_root.root import Root from zeppos_logging.app_logger import AppLogger from cachetools import cached, TTLCache
32.75
81
0.650763
15a52b8397239e6d05d1d06848fe3cd61ae789e8
994
py
Python
onfire/embedders.py
joshfp/onfire
9817c5e5624f783f4040d9a9748fbba1a1df6a3e
[ "MIT" ]
13
2020-09-09T14:48:01.000Z
2022-02-07T17:31:02.000Z
onfire/embedders.py
joshfp/on-fire
9817c5e5624f783f4040d9a9748fbba1a1df6a3e
[ "MIT" ]
2
2020-09-26T23:55:58.000Z
2021-08-03T19:24:02.000Z
onfire/embedders.py
joshfp/on-fire
9817c5e5624f783f4040d9a9748fbba1a1df6a3e
[ "MIT" ]
5
2020-09-26T22:34:01.000Z
2022-03-21T19:53:00.000Z
import torch import torch.nn as nn __all__ = [ 'ConcatEmbeddings', 'PassThrough', 'MeanOfEmbeddings', ]
26.864865
93
0.623742
15a5ccceb89002ab5bd79c1465925b612b0995c5
282
py
Python
payment/tests.py
mohsenamoon1160417237/ECommerce-app
4cca492214b04b56f625aef2a2979956a8256710
[ "MIT" ]
null
null
null
payment/tests.py
mohsenamoon1160417237/ECommerce-app
4cca492214b04b56f625aef2a2979956a8256710
[ "MIT" ]
null
null
null
payment/tests.py
mohsenamoon1160417237/ECommerce-app
4cca492214b04b56f625aef2a2979956a8256710
[ "MIT" ]
null
null
null
from django.test import TestCase
17.625
53
0.624113
15a6b96a1a6b4d7f69a6c8ed80d5bf5e8aaa9823
5,108
py
Python
thorpy/_utils/functions.py
YannThorimbert/ThorPy-1.0
2855491e7d5016e9cbefb71784d169bb57cf8c73
[ "MIT" ]
1
2020-02-23T13:06:02.000Z
2020-02-23T13:06:02.000Z
thorpy/_utils/functions.py
YannThorimbert/ThorPy-1.0
2855491e7d5016e9cbefb71784d169bb57cf8c73
[ "MIT" ]
null
null
null
thorpy/_utils/functions.py
YannThorimbert/ThorPy-1.0
2855491e7d5016e9cbefb71784d169bb57cf8c73
[ "MIT" ]
null
null
null
"""Miscellaneous functions""" from random import random def obtain_valid_object(obj_class, **kwargs): """ Try to obtain a valid instance of obj_class, using those args of kwargs that can be given to its __init__ function. """ try: obj = obj_class(**kwargs) except TypeError: obj ...
23.648148
80
0.534064
15a99a0bd8115850cd434150056d344d40ed4e1b
6,309
py
Python
evaluate.py
NaCl-Ocean/Anchor_free_detection_rotation
358d9f5df1beabc7a05a352d2cfa2283b17825a9
[ "MIT" ]
12
2020-10-30T09:15:38.000Z
2020-10-31T11:38:49.000Z
evaluate.py
YangHai-1218/Anchor_free_detection_rotation
358d9f5df1beabc7a05a352d2cfa2283b17825a9
[ "MIT" ]
null
null
null
evaluate.py
YangHai-1218/Anchor_free_detection_rotation
358d9f5df1beabc7a05a352d2cfa2283b17825a9
[ "MIT" ]
null
null
null
import json import tempfile from collections import OrderedDict import os import numpy as np from pycocotools.coco import COCO from pycocotools.cocoeval import COCOeval from utils import BoxList #from utils.pycocotools_rotation import Rotation_COCOeval def map_to_origin_image(img_meta, pred, flip...
31.078818
108
0.590268
15a9b7abe9ab116968a744dad3510257e70aa315
111
py
Python
src/txtwrpr/__init__.py
hendrikdutoit/TxtWrpr
7800254ca76d17b97c77702fcf185fe93ea8bcd6
[ "MIT" ]
null
null
null
src/txtwrpr/__init__.py
hendrikdutoit/TxtWrpr
7800254ca76d17b97c77702fcf185fe93ea8bcd6
[ "MIT" ]
null
null
null
src/txtwrpr/__init__.py
hendrikdutoit/TxtWrpr
7800254ca76d17b97c77702fcf185fe93ea8bcd6
[ "MIT" ]
null
null
null
"""Application Utilities for Bright Edge eServices developments""" from .txtwrpr import * _version = "2.2.2"
18.5
66
0.738739
15acc18a667042c699fb4b82581fb85d9cd9fe63
267
py
Python
common/framework_excuter/keras_excute.py
wavelet2008/rknn-v5
16288a88844e887634f74df8f43fff9b82f4ba62
[ "Apache-2.0" ]
11
2022-02-24T10:44:54.000Z
2022-03-31T03:40:21.000Z
common/framework_excuter/keras_excute.py
wavelet2008/rknn-v5
16288a88844e887634f74df8f43fff9b82f4ba62
[ "Apache-2.0" ]
1
2022-03-01T07:21:04.000Z
2022-03-31T11:03:47.000Z
common/framework_excuter/keras_excute.py
wavelet2008/rknn-v5
16288a88844e887634f74df8f43fff9b82f4ba62
[ "Apache-2.0" ]
5
2022-03-18T09:05:50.000Z
2022-03-30T07:35:55.000Z
from tensorflow.keras.models import load_model
26.7
47
0.707865
15ad36d434d0276fcce3f797c3a471595c561905
801
py
Python
src/tests/ftest/soak/soak_faults.py
dpquigl/daos
3da4f93916e05c8e184e8ae1b175b2e2b6703e18
[ "BSD-2-Clause-Patent" ]
null
null
null
src/tests/ftest/soak/soak_faults.py
dpquigl/daos
3da4f93916e05c8e184e8ae1b175b2e2b6703e18
[ "BSD-2-Clause-Patent" ]
null
null
null
src/tests/ftest/soak/soak_faults.py
dpquigl/daos
3da4f93916e05c8e184e8ae1b175b2e2b6703e18
[ "BSD-2-Clause-Patent" ]
1
2021-04-13T16:04:21.000Z
2021-04-13T16:04:21.000Z
#!/usr/bin/python """ (C) Copyright 2018-2021 Intel Corporation. SPDX-License-Identifier: BSD-2-Clause-Patent """ from soak_test_base import SoakTestBase
25.83871
68
0.679151
15ad6e9ca7f02de00449d5e7f2720b90012dcde4
566
py
Python
ocdskingfisher/maindatabase/migrations/versions/479219fa5c98_not_null.py
patxiworks/kingfisher
d36aa9fbe06a1533a0624d7ee07d4cb985951204
[ "BSD-3-Clause" ]
null
null
null
ocdskingfisher/maindatabase/migrations/versions/479219fa5c98_not_null.py
patxiworks/kingfisher
d36aa9fbe06a1533a0624d7ee07d4cb985951204
[ "BSD-3-Clause" ]
null
null
null
ocdskingfisher/maindatabase/migrations/versions/479219fa5c98_not_null.py
patxiworks/kingfisher
d36aa9fbe06a1533a0624d7ee07d4cb985951204
[ "BSD-3-Clause" ]
null
null
null
"""not-null Revision ID: 479219fa5c98 Revises: b3d152ef7779 Create Date: 2018-07-18 13:47:25.390348 """ from alembic import op # revision identifiers, used by Alembic. revision = '479219fa5c98' down_revision = 'b3d152ef7779' branch_labels = None depends_on = None
21.769231
66
0.743816
15ae548acd3b892094eba866206d98bfa9e60276
4,471
py
Python
examples/scanner/cluster_hierarchical.py
shanefeng123/agilkia
0ac4e9dd29f9ab0026037f71d7f28d017e54949b
[ "MIT" ]
3
2020-02-11T14:22:51.000Z
2020-11-26T19:09:03.000Z
examples/scanner/cluster_hierarchical.py
shanefeng123/agilkia
0ac4e9dd29f9ab0026037f71d7f28d017e54949b
[ "MIT" ]
1
2019-11-22T02:06:47.000Z
2021-05-10T07:22:26.000Z
examples/scanner/cluster_hierarchical.py
shanefeng123/agilkia
0ac4e9dd29f9ab0026037f71d7f28d017e54949b
[ "MIT" ]
4
2019-12-12T10:44:07.000Z
2022-03-10T14:09:27.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Example of creating hierarchical clusters from Scanette traces. Some helpful documentation about SciPy hierarchical clustering:: * SciPy docs: https://docs.scipy.org/doc/scipy/reference/cluster.hierarchy.html * https://joernhees.de/blog/2015/08/26/scipy-hierar...
35.768
98
0.621114
15b1b5f300cd85cba438d840a1604878190aa72a
2,210
py
Python
collection/plugins/modules/installer_address.py
ventris/tateru
3de2792e62a560768a6b916a7241312ee03c3e7f
[ "Apache-2.0" ]
null
null
null
collection/plugins/modules/installer_address.py
ventris/tateru
3de2792e62a560768a6b916a7241312ee03c3e7f
[ "Apache-2.0" ]
null
null
null
collection/plugins/modules/installer_address.py
ventris/tateru
3de2792e62a560768a6b916a7241312ee03c3e7f
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 # TODO: describe # Copyright 2020 Tateru Authors # # 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 ...
23.763441
132
0.697738
15b32788cdcdc8b71d24a45ad29728a171074150
2,365
py
Python
get_cleveland_clinic_data.py
CLuiz/med-costs
e114a175b07e65e0ceef659e2315c627a28ef209
[ "MIT" ]
null
null
null
get_cleveland_clinic_data.py
CLuiz/med-costs
e114a175b07e65e0ceef659e2315c627a28ef209
[ "MIT" ]
null
null
null
get_cleveland_clinic_data.py
CLuiz/med-costs
e114a175b07e65e0ceef659e2315c627a28ef209
[ "MIT" ]
null
null
null
# Script to grab all hospital cost info from the Cleveland Clinic Family # of Hospitals, 15 total. import requests from subprocess import call from pathlib import Path from bs4 import BeautifulSoup from bs4.element import NavigableString import time def get_links(url="https://my.clevelandclinic.org/patients/billing...
28.493976
108
0.668499
15b3d49164619da5221ef740a26ab74ce84e561d
14,615
py
Python
Scripts/cece_anal_Jan172017_fix4_editbystef.py
gmweir/HJ
4f14aef60fb977e08a8ea9c55fc7badb214657e1
[ "MIT" ]
null
null
null
Scripts/cece_anal_Jan172017_fix4_editbystef.py
gmweir/HJ
4f14aef60fb977e08a8ea9c55fc7badb214657e1
[ "MIT" ]
null
null
null
Scripts/cece_anal_Jan172017_fix4_editbystef.py
gmweir/HJ
4f14aef60fb977e08a8ea9c55fc7badb214657e1
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Tue Jan 17 12:37:58 2017 @author: weir """ # ========================================================================== # # ========================================================================== # from __future__ import absolute_import, with_statement,...
36.446384
123
0.586179
15b4286d88af06cbb404448a6457a4ad20f62d75
1,806
py
Python
json_form/gen.py
cwstra/rpdiscordrewrite
b1b25a19026630a6db59cf6d7f9cda66c4c92c48
[ "MIT" ]
1
2020-12-06T19:22:31.000Z
2020-12-06T19:22:31.000Z
json_form/gen.py
cwstra/rpdiscordrewrite
b1b25a19026630a6db59cf6d7f9cda66c4c92c48
[ "MIT" ]
null
null
null
json_form/gen.py
cwstra/rpdiscordrewrite
b1b25a19026630a6db59cf6d7f9cda66c4c92c48
[ "MIT" ]
null
null
null
import asyncio import asyncpg import ujson as json request = lambda c, t: 'SELECT * FROM ptu_'+c+'_'+t+';' codexList = ['al', 'pt', '05'] categList = ['ability','blessing','capability','d_b','edge','feature','item', 'keyword','list','maneuver','mon_forms','mon_nature','move', 'pokemon','statu...
44.04878
131
0.529347
15b44ca52b8a753cf0cb4254b8a2a289737e42a6
1,175
py
Python
autoprocess/auto_integrate.py
michel4j/auto-process
9c011cef3cdc2fc55df31f9cac88c3e1074aa366
[ "BSD-3-Clause" ]
null
null
null
autoprocess/auto_integrate.py
michel4j/auto-process
9c011cef3cdc2fc55df31f9cac88c3e1074aa366
[ "BSD-3-Clause" ]
null
null
null
autoprocess/auto_integrate.py
michel4j/auto-process
9c011cef3cdc2fc55df31f9cac88c3e1074aa366
[ "BSD-3-Clause" ]
null
null
null
import os import sys from autoprocess.engine.process import Manager from autoprocess.utils import log from autoprocess.utils import misc logger = log.get_module_logger('auto.integrate')
25.543478
99
0.642553
15b6975d097e9c91026cecc2c6f038d1d9bc7df1
2,761
py
Python
Competitive Programming/Blind 75 Must Do Leetcode/Course Schedule.py
shreejitverma/GeeksforGeeks
d7bcb166369fffa9a031a258e925b6aff8d44e6c
[ "MIT" ]
2
2022-02-18T05:14:28.000Z
2022-03-08T07:00:08.000Z
Competitive Programming/Blind 75 Must Do Leetcode/Course Schedule.py
shivaniverma1/Competitive-Programming-1
d7bcb166369fffa9a031a258e925b6aff8d44e6c
[ "MIT" ]
6
2022-01-13T04:31:04.000Z
2022-03-12T01:06:16.000Z
Competitive Programming/Blind 75 Must Do Leetcode/Course Schedule.py
shivaniverma1/Competitive-Programming-1
d7bcb166369fffa9a031a258e925b6aff8d44e6c
[ "MIT" ]
2
2022-02-14T19:53:53.000Z
2022-02-18T05:14:30.000Z
'''https://leetcode.com/problems/course-schedule/ 207. Course Schedule Medium 7445 303 Add to List Share There are a total of numCourses courses you have to take, labeled from 0 to numCourses - 1. You are given an array prerequisites where prerequisites[i] = [ai, bi] indicates that you must take course bi first if ...
29.37234
238
0.581673
15ba841d56dff25103a4efb79315a665d018d9af
674
py
Python
tests/test_view.py
tsouvarev/drf-spectacular
61b2c9558587f50e4c371a71a7a9545b0fd36dea
[ "BSD-3-Clause" ]
null
null
null
tests/test_view.py
tsouvarev/drf-spectacular
61b2c9558587f50e4c371a71a7a9545b0fd36dea
[ "BSD-3-Clause" ]
null
null
null
tests/test_view.py
tsouvarev/drf-spectacular
61b2c9558587f50e4c371a71a7a9545b0fd36dea
[ "BSD-3-Clause" ]
null
null
null
import pytest import yaml from django.conf.urls import url from rest_framework.test import APIClient from drf_spectacular.validation import validate_schema from drf_spectacular.views import SpectacularAPIView urlpatterns = [url(r'^api/schema$', SpectacularAPIView.as_view(), name='schema')]
33.7
81
0.781899
15baefbf6b2e6f3940cbb00510ea675863551bd5
332
py
Python
app/core/migrations/0008_auto_20200820_1408.py
dodge-ttu/gohan-api
bf3d4a4e7a93c699a00865c769975d6cfb3ec8cf
[ "MIT" ]
null
null
null
app/core/migrations/0008_auto_20200820_1408.py
dodge-ttu/gohan-api
bf3d4a4e7a93c699a00865c769975d6cfb3ec8cf
[ "MIT" ]
null
null
null
app/core/migrations/0008_auto_20200820_1408.py
dodge-ttu/gohan-api
bf3d4a4e7a93c699a00865c769975d6cfb3ec8cf
[ "MIT" ]
null
null
null
# Generated by Django 2.1.15 on 2020-08-20 14:08 from django.db import migrations
18.444444
48
0.596386
15bbc0ef07fd0f3c49fdc9253453c03bbf9b0a1d
977
py
Python
rf_pymods/smwrand.py
rfinnie/rf-pymods
14c73ba1a8614c9579a7957de97d7b3c7058891e
[ "Unlicense" ]
null
null
null
rf_pymods/smwrand.py
rfinnie/rf-pymods
14c73ba1a8614c9579a7957de97d7b3c7058891e
[ "Unlicense" ]
null
null
null
rf_pymods/smwrand.py
rfinnie/rf-pymods
14c73ba1a8614c9579a7957de97d7b3c7058891e
[ "Unlicense" ]
null
null
null
# SPDX-FileCopyrightText: Copyright (C) 2019-2021 Ryan Finnie # SPDX-License-Identifier: MIT
27.138889
79
0.635619
15bd2b62fae7c144a8e3e8a5aa38e721c46ef272
13,169
py
Python
rotkehlchen/tests/exchanges/test_independentreserve.py
rotkehlchenio/rotkehlchen
98f49cd3ed26c641fec03b78eff9fe1872385fbf
[ "BSD-3-Clause" ]
137
2018-03-05T11:53:29.000Z
2019-11-03T16:38:42.000Z
rotkehlchen/tests/exchanges/test_independentreserve.py
rotkehlchenio/rotkehlchen
98f49cd3ed26c641fec03b78eff9fe1872385fbf
[ "BSD-3-Clause" ]
385
2018-03-08T12:43:41.000Z
2019-11-10T09:15:36.000Z
rotkehlchen/tests/exchanges/test_independentreserve.py
rotkehlchenio/rotkehlchen
98f49cd3ed26c641fec03b78eff9fe1872385fbf
[ "BSD-3-Clause" ]
59
2018-03-08T10:08:27.000Z
2019-10-26T11:30:44.000Z
import warnings as test_warnings from unittest.mock import patch import pytest from rotkehlchen.accounting.structures.balance import Balance from rotkehlchen.constants.assets import A_AUD, A_ETC, A_ETH from rotkehlchen.errors.asset import UnknownAsset from rotkehlchen.exchanges.data_structures import Location, Trade,...
57.758772
148
0.659124
15bfb579086d62590d6d9ff515f74ab5b9424af1
3,921
py
Python
ccvaliditycheck.py
ShlomoStept/Credit_Card_Validity_Check
9d249243fc1dbf4926c1a4b069e8ac194621c0b7
[ "MIT" ]
null
null
null
ccvaliditycheck.py
ShlomoStept/Credit_Card_Validity_Check
9d249243fc1dbf4926c1a4b069e8ac194621c0b7
[ "MIT" ]
null
null
null
ccvaliditycheck.py
ShlomoStept/Credit_Card_Validity_Check
9d249243fc1dbf4926c1a4b069e8ac194621c0b7
[ "MIT" ]
null
null
null
#=================================================================================================================================================================================== # Author: Shlomo Stept # ccvaliditycheck.py will open up a window and determine if any credit card number; entered by the user, is valid. #...
49.0125
180
0.62178
15bfee545cf461c859494557cd6f28e5cc056073
4,072
py
Python
src/utilsmodule/WilliamHillURLs.py
jke94/WilliamHill-WebScraping
d570ff7ba8a5c35d7c852327910d39b715ce5125
[ "MIT" ]
null
null
null
src/utilsmodule/WilliamHillURLs.py
jke94/WilliamHill-WebScraping
d570ff7ba8a5c35d7c852327910d39b715ce5125
[ "MIT" ]
1
2020-10-13T15:44:40.000Z
2020-10-13T15:44:40.000Z
src/utilsmodule/WilliamHillURLs.py
jke94/WilliamHill-WebScraping
d570ff7ba8a5c35d7c852327910d39b715ce5125
[ "MIT" ]
null
null
null
''' AUTOR: Javier Carracedo Date: 08/10/2020 WilliamHillURLs class to managed info about William Hill web pages. ''' import requests from bs4 import BeautifulSoup from urlvalidator import validate_url, ValidationError
30.38806
165
0.604126
15c04352eed294c26487196833b63da08bd8b13c
401
py
Python
web scrapy/scrapy/coin/coin/items.py
douguedh/Project
3a3569939d96eb7b36301fd84688fc72caf17e9a
[ "MIT" ]
null
null
null
web scrapy/scrapy/coin/coin/items.py
douguedh/Project
3a3569939d96eb7b36301fd84688fc72caf17e9a
[ "MIT" ]
null
null
null
web scrapy/scrapy/coin/coin/items.py
douguedh/Project
3a3569939d96eb7b36301fd84688fc72caf17e9a
[ "MIT" ]
null
null
null
# Define here the models for your scraped items # # See documentation in: # https://docs.scrapy.org/en/latest/topics/items.html import scrapy
22.277778
53
0.685786
ec59ac29c0d5455f071bef206d478b109065138a
1,722
py
Python
ctpbee/interface/ctp_mini/lib.py
mcFore/ctpbee
0a673b99635787808fb6a635570ac1f52b8ed585
[ "MIT" ]
461
2019-08-17T12:14:27.000Z
2022-03-22T10:04:01.000Z
ctpbee/interface/ctp_mini/lib.py
mcFore/ctpbee
0a673b99635787808fb6a635570ac1f52b8ed585
[ "MIT" ]
50
2019-09-04T02:35:15.000Z
2022-03-30T06:16:28.000Z
ctpbee/interface/ctp_mini/lib.py
mcFore/ctpbee
0a673b99635787808fb6a635570ac1f52b8ed585
[ "MIT" ]
131
2019-08-17T13:39:26.000Z
2022-03-31T06:22:31.000Z
import pytz from ctpbee_api.ctp_mini import * from ctpbee.constant import * STATUS_MINI2VT = { THOST_FTDC_OAS_Submitted: Status.SUBMITTING, THOST_FTDC_OAS_Accepted: Status.SUBMITTING, THOST_FTDC_OAS_Rejected: Status.REJECTED, THOST_FTDC_OST_NoTradeQueueing: Status.NOTTRADED, THOST_FTDC_OST_PartTra...
27.774194
64
0.770616
ec5c0bc7105e92657cb26046e7de357397acbeff
681
py
Python
tests/tests_file_exts.py
tkhyn/djinga
48819eeec25af6d6b18110880ae89354235839ef
[ "MIT" ]
null
null
null
tests/tests_file_exts.py
tkhyn/djinga
48819eeec25af6d6b18110880ae89354235839ef
[ "MIT" ]
null
null
null
tests/tests_file_exts.py
tkhyn/djinga
48819eeec25af6d6b18110880ae89354235839ef
[ "MIT" ]
null
null
null
from django.core.exceptions import ImproperlyConfigured from ._base import ExtTestCase
32.428571
76
0.627019
ec5e3de4955042fe8e7fca9bb04d2fa08cde7462
210
py
Python
config.py
mengt/vsphere-event
ae4e53c9db2d516571dbe254d560076f94a5c2b0
[ "Apache-2.0" ]
null
null
null
config.py
mengt/vsphere-event
ae4e53c9db2d516571dbe254d560076f94a5c2b0
[ "Apache-2.0" ]
null
null
null
config.py
mengt/vsphere-event
ae4e53c9db2d516571dbe254d560076f94a5c2b0
[ "Apache-2.0" ]
null
null
null
#coding=utf-8 # interval interval = 60 # step # vcenter host = "172.16.10.127" # vcenter user = "administrator@vsphere.local" # vcenter pwd = "P@ssw0rd" # vcenter port = 443 # vcenter
21
51
0.690476
ec5f0d584c9c4e1e93fc698b894d5b37ec315a47
1,050
py
Python
Twitter-Analysis/tweet_sentiment.py
ntduong/ML
ef69b0ad6205e4a5a3067470d1d2a60009479de6
[ "MIT" ]
3
2015-10-12T23:24:21.000Z
2018-11-19T13:09:30.000Z
Twitter-Analysis/tweet_sentiment.py
ntduong/ML
ef69b0ad6205e4a5a3067470d1d2a60009479de6
[ "MIT" ]
null
null
null
Twitter-Analysis/tweet_sentiment.py
ntduong/ML
ef69b0ad6205e4a5a3067470d1d2a60009479de6
[ "MIT" ]
null
null
null
''' Created on May 4, 2013 @author: Administrator ''' import json import sys if __name__ == '__main__': main()
24.418605
62
0.586667
ec609f03ff744648ce88e3cc21f57a1b140e01dc
8,933
py
Python
pvpcbill/models.py
azogue/pvpcbill
34b799dc2d4b02e7fa9849ea7ffccd3062202fd5
[ "MIT" ]
5
2020-05-08T13:33:38.000Z
2021-12-02T15:32:39.000Z
pvpcbill/models.py
azogue/pvpcbill
34b799dc2d4b02e7fa9849ea7ffccd3062202fd5
[ "MIT" ]
1
2021-05-30T08:35:53.000Z
2021-06-15T07:29:36.000Z
pvpcbill/models.py
azogue/pvpcbill
34b799dc2d4b02e7fa9849ea7ffccd3062202fd5
[ "MIT" ]
1
2021-01-16T13:29:19.000Z
2021-01-16T13:29:19.000Z
# -*- coding: utf-8 -*- """Electrical billing for small consumers in Spain using PVPC. Bill dataclasses.""" from datetime import datetime from typing import Iterator, List import attr import pandas as pd from pvpcbill.base import Base from pvpcbill.official import ( MARGEN_COMERC_EUR_KW_YEAR_MCF, round_money,...
37.220833
88
0.678384
ec612ea8c9b27919bfa7c84475a7d439392a80f1
430
py
Python
feet/admin.py
yun-mh/uniwalk
f5307f6970b24736d13b56b4792c580398c35b3a
[ "Apache-2.0" ]
null
null
null
feet/admin.py
yun-mh/uniwalk
f5307f6970b24736d13b56b4792c580398c35b3a
[ "Apache-2.0" ]
9
2020-01-10T14:10:02.000Z
2022-03-12T00:08:19.000Z
feet/admin.py
yun-mh/uniwalk
f5307f6970b24736d13b56b4792c580398c35b3a
[ "Apache-2.0" ]
null
null
null
from django.contrib import admin from . import models
15.925926
48
0.739535
ec61e0c21084c6310785e906d356d827d2937416
3,477
py
Python
rover_motor_controller/rover_motor_controller/lx16a/motor_controller.py
mgonzs13/ros2_rover
aab1ab92a25d1261bad7627f6e3d97d9bfeb3c8f
[ "MIT" ]
11
2021-08-30T23:54:24.000Z
2022-02-22T08:09:09.000Z
rover_motor_controller/rover_motor_controller/lx16a/motor_controller.py
mgonzs13/ros2_rover
aab1ab92a25d1261bad7627f6e3d97d9bfeb3c8f
[ "MIT" ]
7
2022-01-03T17:07:36.000Z
2022-03-10T11:18:11.000Z
rover_motor_controller/rover_motor_controller/lx16a/motor_controller.py
mgonzs13/ros2_rover
aab1ab92a25d1261bad7627f6e3d97d9bfeb3c8f
[ "MIT" ]
1
2022-02-17T14:52:52.000Z
2022-02-17T14:52:52.000Z
""" Lewansoul wrapper. """ from typing import List from .lx16a import LX16A from .lx16a_consts import ( MOTOR_LEFT_FRONT, MOTOR_LEFT_MIDDLE, MOTOR_LEFT_BACK, MOTOR_RIGHT_FRONT, MOTOR_RIGHT_MIDDLE, MOTOR_RIGHT_BACK, SERVO_LEFT_FRONT, SERVO_RIGHT_FRONT, SERVO_LEFT_BACK, SERVO_RI...
33.757282
90
0.6891
ec61f4b6a3a420b79a3152a75a9dd0f61c5f6da3
1,369
py
Python
medium/Longest Palindromic Substring/solution.py
ashutosh1919/leetcode-problems
65f99a3694549af88c7702b598de1a8ccb7db5fb
[ "MIT" ]
8
2021-08-21T19:10:04.000Z
2022-03-11T14:30:02.000Z
medium/Longest Palindromic Substring/solution.py
ashutosh1919/leetcode-problems
65f99a3694549af88c7702b598de1a8ccb7db5fb
[ "MIT" ]
null
null
null
medium/Longest Palindromic Substring/solution.py
ashutosh1919/leetcode-problems
65f99a3694549af88c7702b598de1a8ccb7db5fb
[ "MIT" ]
1
2021-08-24T06:29:02.000Z
2021-08-24T06:29:02.000Z
# Time complexity: O(n) # Approach: Manacher's Algorithm. Please watch this vide for explanation https://youtu.be/V-sEwsca1ak
31.113636
101
0.38057
ec645d619ac5bd890e8ba5939d816602ef9b0705
1,347
py
Python
apiserver/ourCloud/ocPaths/GetCiMasterDataPath.py
baloise/oim-api
6c2ee8214e5e0aefa8e1d5188b17b78cf85794f8
[ "Apache-2.0" ]
1
2021-05-28T08:09:51.000Z
2021-05-28T08:09:51.000Z
apiserver/ourCloud/ocPaths/GetCiMasterDataPath.py
baloise/oimapi
6c2ee8214e5e0aefa8e1d5188b17b78cf85794f8
[ "Apache-2.0" ]
12
2021-05-28T08:12:59.000Z
2021-05-31T19:47:01.000Z
apiserver/ourCloud/ocPaths/GetCiMasterDataPath.py
baloise/oimapi
6c2ee8214e5e0aefa8e1d5188b17b78cf85794f8
[ "Apache-2.0" ]
null
null
null
from ourCloud.ocPaths.AbstractOcPath import AbstractOcPath import requests
34.538462
116
0.626578
ec65319b3104759877691f7b0da781c8a0b0f829
4,959
py
Python
CircuitPython_Flying_Toasters/code.py
joewalk102/Adafruit_Learning_System_Guides
2bda607f8c433c661a2d9d40b4db4fd132334c9a
[ "MIT" ]
1
2022-02-23T02:40:58.000Z
2022-02-23T02:40:58.000Z
CircuitPython_Flying_Toasters/code.py
joewalk102/Adafruit_Learning_System_Guides
2bda607f8c433c661a2d9d40b4db4fd132334c9a
[ "MIT" ]
1
2020-10-16T15:30:22.000Z
2020-10-16T15:30:22.000Z
CircuitPython_Flying_Toasters/code.py
joewalk102/Adafruit_Learning_System_Guides
2bda607f8c433c661a2d9d40b4db4fd132334c9a
[ "MIT" ]
1
2020-10-16T15:23:04.000Z
2020-10-16T15:23:04.000Z
""" Continuously scroll randomly generated After Dark style toasters. Designed for an ItsyBitsy M4 Express and a 1.3" 240x240 TFT Adafruit invests time and resources providing this open source code. Please support Adafruit and open source hardware by purchasing products from Adafruit! Written by Dave Astels for Adafr...
28.5
99
0.655172
ec65a2014d2302002135041aa6a23005e8b3ebc8
948
py
Python
app/update_logs_test.py
limshengli/tinypilot
aeba23e2e108008bea2b7577f16cfef949238648
[ "MIT" ]
1,334
2020-07-14T01:53:02.000Z
2021-06-08T09:48:28.000Z
app/update_logs_test.py
limshengli/tinypilot
aeba23e2e108008bea2b7577f16cfef949238648
[ "MIT" ]
320
2020-07-07T20:18:05.000Z
2021-06-07T21:18:42.000Z
app/update_logs_test.py
limshengli/tinypilot
aeba23e2e108008bea2b7577f16cfef949238648
[ "MIT" ]
124
2020-07-23T16:39:06.000Z
2021-06-04T10:22:53.000Z
import unittest import update_logs
30.580645
80
0.671941
ec65a247867c260d52533eb5529c7355e6a01434
670
py
Python
HLIMDS_1/servo.py
Baleskin1/fpga_and_nn_pract
cd49801c22bb78ccfe95161872014fb08121a68b
[ "MIT" ]
null
null
null
HLIMDS_1/servo.py
Baleskin1/fpga_and_nn_pract
cd49801c22bb78ccfe95161872014fb08121a68b
[ "MIT" ]
null
null
null
HLIMDS_1/servo.py
Baleskin1/fpga_and_nn_pract
cd49801c22bb78ccfe95161872014fb08121a68b
[ "MIT" ]
null
null
null
from RPi import GPIO as io from time import sleep io.setmode(io.BOARD) some_freq = 440 dc = 50 servo = 12 buzzer_pin = 32 led = 10 io.setup(servo, io.OUT) io.setup(buzzer_pin, io.OUT) io.setup(led, io.OUT) sg90 = io.PWM(servo, 50) sg90.start(7.5) buzzer =io.PWM(buzzer_pin, some_freq) buzzer.start(0) try: while T...
19.705882
37
0.634328
ec65ea1cd34c9dd5fba1303f6e7eb1449d013bfb
1,088
py
Python
music_collection/compilations/migrations/0003_ordered_releases.py
tiesjan/music-collection
9bc93d91b4b58a4c59fc1183302c479fc321f79b
[ "MIT" ]
null
null
null
music_collection/compilations/migrations/0003_ordered_releases.py
tiesjan/music-collection
9bc93d91b4b58a4c59fc1183302c479fc321f79b
[ "MIT" ]
null
null
null
music_collection/compilations/migrations/0003_ordered_releases.py
tiesjan/music-collection
9bc93d91b4b58a4c59fc1183302c479fc321f79b
[ "MIT" ]
null
null
null
# Generated by Django 2.2.12 on 2020-06-05 18:34 from django.db import migrations, models
28.631579
82
0.644301
ec6682d8bddfcccf9463a7a6c9d74ae8055f39b0
4,245
py
Python
Python/tdw/object_data/composite_object/composite_object_static.py
ricklentz/tdw
da40eec151acae20b28d6486defb4358d96adb0e
[ "BSD-2-Clause" ]
null
null
null
Python/tdw/object_data/composite_object/composite_object_static.py
ricklentz/tdw
da40eec151acae20b28d6486defb4358d96adb0e
[ "BSD-2-Clause" ]
null
null
null
Python/tdw/object_data/composite_object/composite_object_static.py
ricklentz/tdw
da40eec151acae20b28d6486defb4358d96adb0e
[ "BSD-2-Clause" ]
null
null
null
from typing import Dict, List from tdw.output_data import StaticCompositeObjects from tdw.object_data.composite_object.sub_object.non_machine_static import NonMachineStatic from tdw.object_data.composite_object.sub_object.light_static import LightStatic from tdw.object_data.composite_object.sub_object.hinge_static impo...
54.423077
139
0.708598
ec66aafadc8c5b479708b1197028ccc71b90be93
374
py
Python
dbmirror/dbmirror_parser/__init__.py
strizhechenko/uwo-maps
12967b23ffdee591106c99098e31d3bfdfe23419
[ "MIT" ]
null
null
null
dbmirror/dbmirror_parser/__init__.py
strizhechenko/uwo-maps
12967b23ffdee591106c99098e31d3bfdfe23419
[ "MIT" ]
null
null
null
dbmirror/dbmirror_parser/__init__.py
strizhechenko/uwo-maps
12967b23ffdee591106c99098e31d3bfdfe23419
[ "MIT" ]
null
null
null
# coding=utf-8 from flask import Flask, render_template import json app = Flask(__name__) if __name__ == '__main__': app.run(host='0.0.0.0', port=8080, debug=True)
17
52
0.641711
ec68016a7984145bce9809c816f92c35d189893b
3,635
py
Python
melodic/lib/python2.7/dist-packages/rqt_publisher/publisher_tree_widget.py
Dieptranivsr/Ros_Diep
d790e75e6f5da916701b11a2fdf3e03b6a47086b
[ "MIT" ]
2
2021-07-14T12:33:55.000Z
2021-11-21T07:14:13.000Z
melodic/src/rqt_publisher/src/rqt_publisher/publisher_tree_widget.py
disorn-inc/ROS-melodic-python3-Opencv-4.1.1-CUDA
3d265bb64712e3cd7dfa0ad56d78fcdebafdb4b0
[ "BSD-3-Clause" ]
1
2021-07-08T10:26:06.000Z
2021-07-08T10:31:11.000Z
melodic/src/rqt_publisher/src/rqt_publisher/publisher_tree_widget.py
disorn-inc/ROS-melodic-python3-Opencv-4.1.1-CUDA
3d265bb64712e3cd7dfa0ad56d78fcdebafdb4b0
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python # Copyright (c) 2011, Dorian Scholz, TU Darmstadt # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # * Redistributions of source code must retain the above copyright # ...
48.466667
134
0.765612
ec698900a476a259034508e51008d66c5de32af5
371
py
Python
simple_page/urls.py
aprild-c/WiCS_Website_v2
7e38a6c650efb07d224ba9914d08c8e4a3667101
[ "MIT" ]
null
null
null
simple_page/urls.py
aprild-c/WiCS_Website_v2
7e38a6c650efb07d224ba9914d08c8e4a3667101
[ "MIT" ]
null
null
null
simple_page/urls.py
aprild-c/WiCS_Website_v2
7e38a6c650efb07d224ba9914d08c8e4a3667101
[ "MIT" ]
null
null
null
from django.urls import path from simple_page import views urlpatterns = [ path('', views.home, name='simple_page'), path('calendar/', views.calendar, name='simple_page'), path('contact/', views.contact, name='simple_page'), path('eboard/', views.eboard, name='simple_page'), path('alumni-speaker-se...
37.1
76
0.700809
ec6c7c4836c5301deffa88bbb3af5bfa60403f02
282
py
Python
timedata/ui/switch_button.py
timedata-org/controly
3faac7450678aaccd4a283d0d41ca3e7f113f51b
[ "MIT" ]
null
null
null
timedata/ui/switch_button.py
timedata-org/controly
3faac7450678aaccd4a283d0d41ca3e7f113f51b
[ "MIT" ]
1
2018-08-02T12:07:17.000Z
2018-08-02T12:07:17.000Z
timedata/ui/switch_button.py
timedata-org/controly
3faac7450678aaccd4a283d0d41ca3e7f113f51b
[ "MIT" ]
null
null
null
from kivy.uix import togglebutton
25.636364
47
0.634752
ec6ca07ae28fa9514436d5f6b4c22e00552e3ad8
8,548
py
Python
pepdb/core/migrations/0073_auto_20160213_0335.py
dchaplinsky/pep.org.ua
8633a65fb657d7f04dbdb12eb8ae705fa6be67e3
[ "MIT" ]
7
2015-12-21T03:52:46.000Z
2020-07-24T19:17:23.000Z
pepdb/core/migrations/0073_auto_20160213_0335.py
dchaplinsky/pep.org.ua
8633a65fb657d7f04dbdb12eb8ae705fa6be67e3
[ "MIT" ]
12
2016-03-05T18:11:05.000Z
2021-06-17T20:20:03.000Z
pepdb/core/migrations/0073_auto_20160213_0335.py
dchaplinsky/pep.org.ua
8633a65fb657d7f04dbdb12eb8ae705fa6be67e3
[ "MIT" ]
4
2016-07-17T20:19:38.000Z
2021-03-23T12:47:20.000Z
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models
71.233333
329
0.665185
ec6e38679299be2753c5bc686858a2ada6197d7b
1,321
py
Python
Processes/performance-forecasting/inventory-updater/tests/test_base.py
rangaswamymr/incubator-bluemarlin
6cb60b2a41edc6509377f9eacb7660d199a9485b
[ "Apache-2.0" ]
4
2021-04-08T17:17:34.000Z
2022-02-25T11:52:21.000Z
Processes/performance-forecasting/inventory-updater/tests/test_base.py
rangaswamymr/incubator-bluemarlin
6cb60b2a41edc6509377f9eacb7660d199a9485b
[ "Apache-2.0" ]
23
2021-03-09T20:37:02.000Z
2022-03-07T16:16:32.000Z
Processes/performance-forecasting/inventory-updater/tests/test_base.py
rangaswamymr/incubator-bluemarlin
6cb60b2a41edc6509377f9eacb7660d199a9485b
[ "Apache-2.0" ]
6
2021-03-08T19:46:09.000Z
2022-01-12T17:59:29.000Z
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may...
38.852941
77
0.717638
ec6faa07aac2e3a8443046145b090d98a6e30c2c
13,475
py
Python
deepff/process.py
JunboLu/CP2K_kit
0950f37f253c3f90d6a0539c57f1be1045e7317d
[ "Apache-2.0" ]
16
2021-04-19T03:40:32.000Z
2022-02-21T12:53:33.000Z
deepff/process.py
JunboLu/CP2K_kit
0950f37f253c3f90d6a0539c57f1be1045e7317d
[ "Apache-2.0" ]
null
null
null
deepff/process.py
JunboLu/CP2K_kit
0950f37f253c3f90d6a0539c57f1be1045e7317d
[ "Apache-2.0" ]
2
2021-11-28T02:55:31.000Z
2022-02-21T12:54:52.000Z
#! /usr/env/bin python import os import linecache import numpy as np from collections import OrderedDict from CP2K_kit.tools import call from CP2K_kit.tools import data_op from CP2K_kit.tools import file_tools from CP2K_kit.tools import read_input from CP2K_kit.tools import traj_info from CP2K_kit.deepff import load_d...
33.77193
128
0.677328
ec71b4b80dbbfa61527f5ccbb3fc77dabcbcbbda
4,077
py
Python
spectrochempy_gui/widgets/progresswidget.py
fernandezc/spectrochempy_gui
a6deb5772bc1cc72493f9678eafa879fb95b000b
[ "MIT" ]
null
null
null
spectrochempy_gui/widgets/progresswidget.py
fernandezc/spectrochempy_gui
a6deb5772bc1cc72493f9678eafa879fb95b000b
[ "MIT" ]
null
null
null
spectrochempy_gui/widgets/progresswidget.py
fernandezc/spectrochempy_gui
a6deb5772bc1cc72493f9678eafa879fb95b000b
[ "MIT" ]
1
2021-03-26T09:45:36.000Z
2021-03-26T09:45:36.000Z
#!/usr/bin/env python """ Author: Jared P. Sutton <jpsutton@gmail.com> License: LGPL Note: I've licensed this code as LGPL because it was a complete translation of the code found here... https://github.com/mojocorp/QProgressIndicator Adapted to spectrochempy_gui """ import sys from spectrochempy_gui.pyqt...
28.3125
120
0.62963
ec721f200680ed4107923755a84b2d1f46987ba7
11,924
py
Python
fabfile.py
isabella232/electris
e4e914ef719d7690d25a71bd79a4bf6c6aa2e69d
[ "FSFAP" ]
null
null
null
fabfile.py
isabella232/electris
e4e914ef719d7690d25a71bd79a4bf6c6aa2e69d
[ "FSFAP" ]
1
2021-02-24T06:14:33.000Z
2021-02-24T06:14:33.000Z
fabfile.py
isabella232/electris
e4e914ef719d7690d25a71bd79a4bf6c6aa2e69d
[ "FSFAP" ]
2
2015-03-21T08:02:55.000Z
2021-02-23T10:24:49.000Z
#!/usr/bin/env python import datetime import json from time import sleep import boto from boto.s3.key import Key from fabric.api import * from peewee import * from tumblr import Api import requests import input as i from models import Candidate, Race, State import output as o """ Base configuration """ env.project_...
26.675615
198
0.629654
ec73c233bcc589c0582125ff9b45c4ed262257ca
5,496
py
Python
pkg/cortex/serve/start/async.py
wja30/cortex_0.31
522ec6226526dee6b4f8c3ed67bdf2b913d25de3
[ "Apache-2.0" ]
1
2020-09-09T04:04:30.000Z
2020-09-09T04:04:30.000Z
pkg/cortex/serve/start/async.py
wja30/cortex_0.31
522ec6226526dee6b4f8c3ed67bdf2b913d25de3
[ "Apache-2.0" ]
null
null
null
pkg/cortex/serve/start/async.py
wja30/cortex_0.31
522ec6226526dee6b4f8c3ed67bdf2b913d25de3
[ "Apache-2.0" ]
null
null
null
# Copyright 2021 Cortex Labs, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in wri...
34.136646
97
0.717795
ec73fc1950d13e4aad518fcc386a5b31354bd958
2,961
py
Python
app/queries.py
muriithiderro/wiki-farm
1bde3e3c32a5ee201d520ea3eea1815064f3a61e
[ "MIT" ]
1
2018-10-11T21:45:56.000Z
2018-10-11T21:45:56.000Z
app/queries.py
muriithiderro/wiki-farm
1bde3e3c32a5ee201d520ea3eea1815064f3a61e
[ "MIT" ]
null
null
null
app/queries.py
muriithiderro/wiki-farm
1bde3e3c32a5ee201d520ea3eea1815064f3a61e
[ "MIT" ]
null
null
null
from .models import * from sqlalchemy.orm import sessionmaker from sqlalchemy import func from geoalchemy2.shape import to_shape from sqlalchemy.sql import select from sqlalchemy import create_engine import json Base = declarative_base() metadata = Base.metadata engine = create_engine("postgresql://postgres:postgre...
33.647727
151
0.63796
ec751359ed6abb6250a811176ea28512b527424b
4,997
py
Python
Lecture_6_Local_Search/Exercise4/Exercise/ga_algorithm.py
aleksander-GD/AI-F20
c5d086e317f657c1b7a2d2179eafcef0267755ed
[ "MIT" ]
null
null
null
Lecture_6_Local_Search/Exercise4/Exercise/ga_algorithm.py
aleksander-GD/AI-F20
c5d086e317f657c1b7a2d2179eafcef0267755ed
[ "MIT" ]
null
null
null
Lecture_6_Local_Search/Exercise4/Exercise/ga_algorithm.py
aleksander-GD/AI-F20
c5d086e317f657c1b7a2d2179eafcef0267755ed
[ "MIT" ]
null
null
null
import random from Lecture_6_Local_Search.Exercise4.Exercise import random_selction_methods p_mutation = 0.2 num_of_generations = 30 def reproduce(mother, father): ''' Reproduce two individuals with single-point crossover Return the child individual ''' mother_list = list(mother) father_lis...
29.222222
96
0.647388
ec75cdcde97f555a405ef3a9aab448d7e1208cd7
248
py
Python
backend/backend/helps/apps.py
Redaloukil/PackageWay
977cf865c067bf6004cc9d82a995cd31be1c4889
[ "MIT" ]
null
null
null
backend/backend/helps/apps.py
Redaloukil/PackageWay
977cf865c067bf6004cc9d82a995cd31be1c4889
[ "MIT" ]
15
2019-12-28T10:54:22.000Z
2022-03-15T19:17:54.000Z
backend/backend/helps/apps.py
Redaloukil/PackageWay
977cf865c067bf6004cc9d82a995cd31be1c4889
[ "MIT" ]
1
2020-03-25T00:24:55.000Z
2020-03-25T00:24:55.000Z
from django.apps import AppConfig
20.666667
45
0.612903
ec75ebc11ced3e58287d774c1e25cd598ae071f7
3,188
py
Python
main.py
maikheinrich/RSCPGui
a5d05d8d6b6c49f0167259435164ebd9a2fad854
[ "MIT" ]
20
2020-11-17T19:00:07.000Z
2022-03-27T11:41:58.000Z
main.py
maikheinrich/RSCPGui
a5d05d8d6b6c49f0167259435164ebd9a2fad854
[ "MIT" ]
21
2020-11-19T16:39:21.000Z
2022-02-10T09:53:48.000Z
main.py
maikheinrich/RSCPGui
a5d05d8d6b6c49f0167259435164ebd9a2fad854
[ "MIT" ]
7
2021-03-20T16:33:11.000Z
2022-01-31T10:03:41.000Z
import logging import argparse import socket import sys parser = argparse.ArgumentParser(description='Ruft Daten von E3DC-Systemen mittels RSCP ab') parser.add_argument('-e', '--export', const=True, default=False, nargs='?', help='Exportstart mit Programmstart') parser.add_argument('-i', '--hide', ...
33.914894
148
0.689147
ec79830824188ec5fc9144eb810a92ab944c0e12
7,192
py
Python
measurement/device_fridge_2d.py
Venlee11/GrapheneLab-Measurement-Code
555668f057bb36c79d6d645d2ab00e305f166eef
[ "Apache-2.0" ]
11
2019-08-04T12:27:24.000Z
2022-02-16T01:43:59.000Z
measurement/device_fridge_2d.py
Venlee11/GrapheneLab-Measurement-Code
555668f057bb36c79d6d645d2ab00e305f166eef
[ "Apache-2.0" ]
45
2019-04-08T04:42:16.000Z
2020-02-27T09:32:11.000Z
measurement/device_fridge_2d.py
Venlee11/GrapheneLab-Measurement-Code
555668f057bb36c79d6d645d2ab00e305f166eef
[ "Apache-2.0" ]
3
2019-08-28T16:53:40.000Z
2021-09-17T14:48:10.000Z
import time import numpy as np import utils.measurement_subs as measurement_subs import utils.socket_subs as socket_subs from .do_fridge_sweep import do_fridge_sweep from .do_device_sweep import do_device_sweep def device_fridge_2d( graph_proc, rpg, data_file, read_inst, sweep_inst=[], set_inst=[], ...
38.666667
109
0.5901
ec7a41eae0da5121e15c5145ee24f0ada438f74d
2,656
py
Python
Keras_Test.py
hiyayakko0/Facing-Recognition
096b095ac43bbde39bc0eac5e9b3f699f126a3ee
[ "MIT" ]
null
null
null
Keras_Test.py
hiyayakko0/Facing-Recognition
096b095ac43bbde39bc0eac5e9b3f699f126a3ee
[ "MIT" ]
null
null
null
Keras_Test.py
hiyayakko0/Facing-Recognition
096b095ac43bbde39bc0eac5e9b3f699f126a3ee
[ "MIT" ]
null
null
null
# Modules ################################################################ import os from keras.models import Sequential from keras.layers import Dense, Dropout, Activation, Flatten from keras.layers import Convolution2D, MaxPooling2D from keras.utils import np_utils import numpy as np import matplotlib.pyplot a...
32
80
0.617093
ec7b7a227320c8bd89fa62aa2bca3f3cbd7709e1
1,448
py
Python
Python/Programming Fundamentals/Exams/62. Treasure Hunt.py
teodoramilcheva/softuni-software-engineering
98dc9faa66f42570f6538fd7ef186d2bd1d39bff
[ "MIT" ]
null
null
null
Python/Programming Fundamentals/Exams/62. Treasure Hunt.py
teodoramilcheva/softuni-software-engineering
98dc9faa66f42570f6538fd7ef186d2bd1d39bff
[ "MIT" ]
null
null
null
Python/Programming Fundamentals/Exams/62. Treasure Hunt.py
teodoramilcheva/softuni-software-engineering
98dc9faa66f42570f6538fd7ef186d2bd1d39bff
[ "MIT" ]
null
null
null
initial_loot = input().split('|') while True: line = input() if line == 'Yohoho!': break command = line.split(' ', maxsplit=1) if command[0] == 'Loot': items = command[1].split() for item in items: if item not in initial_loot: initial...
30.166667
72
0.561464
ec7c4c8dba497c0db4304432000ba5cc4019dfd9
466
py
Python
BOJ/11000~11999/11200~11299/11285.py
shinkeonkim/today-ps
f3e5e38c5215f19579bb0422f303a9c18c626afa
[ "Apache-2.0" ]
2
2020-01-29T06:54:41.000Z
2021-11-07T13:23:27.000Z
BOJ/11000~11999/11200~11299/11285.py
shinkeonkim/Today_PS
bb0cda0ee1b9c57e1cfa38355e29d0f1c6167a44
[ "Apache-2.0" ]
null
null
null
BOJ/11000~11999/11200~11299/11285.py
shinkeonkim/Today_PS
bb0cda0ee1b9c57e1cfa38355e29d0f1c6167a44
[ "Apache-2.0" ]
null
null
null
= ['', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''] = ['', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''] = ['', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''] a=input() b=input() c=input() a = .i...
46.6
144
0.298283
ec7cbeb4dccdf1feeb6dc1edf60795c58c040c0b
26,631
py
Python
Tools/Builder/core/performer.py
hung0913208/Base
420b4ce8e08f9624b4e884039218ffd233b88335
[ "BSD-3-Clause" ]
null
null
null
Tools/Builder/core/performer.py
hung0913208/Base
420b4ce8e08f9624b4e884039218ffd233b88335
[ "BSD-3-Clause" ]
null
null
null
Tools/Builder/core/performer.py
hung0913208/Base
420b4ce8e08f9624b4e884039218ffd233b88335
[ "BSD-3-Clause" ]
2
2020-11-04T08:00:37.000Z
2020-11-06T08:33:33.000Z
from threading import Lock from time import sleep from .logger import Logger, DEBUG from .utils import update_variable_safety try: from queue import Queue, Empty except ImportError: from Queue import Queue, Empty import subprocess import sys import os def print_command(self, executor, expected): ...
43.372964
118
0.426308
ec7df3b850e36d2390b820f6c1884cedaa07fc19
3,931
py
Python
bpcs/array_bit_plane.py
BburnN123/bpcs
f53caede7e202ce07b51890f028b9caf73a22937
[ "MIT" ]
20
2017-04-25T21:07:24.000Z
2022-03-30T11:11:47.000Z
bpcs/array_bit_plane.py
BburnN123/bpcs
f53caede7e202ce07b51890f028b9caf73a22937
[ "MIT" ]
4
2016-04-06T01:19:27.000Z
2020-09-26T18:38:29.000Z
bpcs/array_bit_plane.py
BburnN123/bpcs
f53caede7e202ce07b51890f028b9caf73a22937
[ "MIT" ]
12
2017-04-02T23:10:46.000Z
2022-03-21T03:43:55.000Z
import itertools import numpy as np from .logger import log def arr_map(arr, fcn): """ arr is a bit-planed numpy array returns arr with fcn applied to each pixel in arr where pixel is defined in iterate_pixels """ for i in range(arr.shape[0]): for j in range(arr.shape[1]): ...
31.448
131
0.580259
ec7f6dc73aa5ac7f73e4480041d4bc76f7aa0fd1
2,491
py
Python
anonlink-entity-service/e2etests/tests/test_project_run_results.py
Sam-Gresh/linkage-agent-tools
f405c7efe3fa82d99bc047f130c0fac6f3f5bf82
[ "Apache-2.0" ]
1
2020-05-19T07:29:31.000Z
2020-05-19T07:29:31.000Z
e2etests/tests/test_project_run_results.py
hardbyte/anonlink-entity-service
3c1815473bc8169ca571532c18e0913a45c704de
[ "Apache-2.0" ]
null
null
null
e2etests/tests/test_project_run_results.py
hardbyte/anonlink-entity-service
3c1815473bc8169ca571532c18e0913a45c704de
[ "Apache-2.0" ]
null
null
null
from e2etests.util import create_project_no_data, post_run, get_run_result
42.220339
93
0.719791
ec7fcf95cf53c8983106b491732217ecb6413b92
7,807
py
Python
checklists_scrapers/tests/spiders/ebird/test_json_parser.py
StuartMacKay/checklists_scrapers
a6151481554e761ca0cd9a190f6a27334b130cdf
[ "BSD-3-Clause" ]
4
2015-10-25T15:43:06.000Z
2021-05-06T03:18:23.000Z
checklists_scrapers/tests/spiders/ebird/test_json_parser.py
StuartMacKay/checklists_scrapers
a6151481554e761ca0cd9a190f6a27334b130cdf
[ "BSD-3-Clause" ]
null
null
null
checklists_scrapers/tests/spiders/ebird/test_json_parser.py
StuartMacKay/checklists_scrapers
a6151481554e761ca0cd9a190f6a27334b130cdf
[ "BSD-3-Clause" ]
null
null
null
"""Tests for parsing the JSON output from the eBird API.""" from unittest import TestCase from checklists_scrapers.spiders import DOWNLOAD_FORMAT, DOWNLOAD_LANGUAGE from checklists_scrapers.spiders.ebird_spider import JSONParser from checklists_scrapers.tests.utils import response_for_data
35.648402
76
0.548226
ec8043c15b3234d2a9dd3d5e050322eddcaf4943
7,548
py
Python
oldtoronto/diff_geojson.py
patcon/oldto
44c099550a4e3cfafa85afbaebd3cd6c33325891
[ "Apache-2.0" ]
22
2018-04-25T22:03:53.000Z
2021-07-13T18:43:23.000Z
oldtoronto/diff_geojson.py
patcon/oldto
44c099550a4e3cfafa85afbaebd3cd6c33325891
[ "Apache-2.0" ]
17
2018-04-30T14:04:08.000Z
2022-02-13T19:52:44.000Z
oldtoronto/diff_geojson.py
patcon/oldto
44c099550a4e3cfafa85afbaebd3cd6c33325891
[ "Apache-2.0" ]
7
2018-05-08T23:32:44.000Z
2022-01-27T17:49:30.000Z
#!/usr/bin/env python3 """Diffs a before and after geojson producing deleted, after, changed and unchanged geojson files. This can be used to estimate what locations in the before input have been corrected in the after input. In order to estimate the correctness of features one can assume that features with location c...
43.37931
99
0.654081
ec85a43e295e9f1e4d5dd54199fd0570655d1988
73,658
py
Python
sdk/python/pulumi_gcp/compute/region_instance_group_manager.py
sisisin/pulumi-gcp
af6681d70ea457843409110c1324817fe55f68ad
[ "ECL-2.0", "Apache-2.0" ]
121
2018-06-18T19:16:42.000Z
2022-03-31T06:06:48.000Z
sdk/python/pulumi_gcp/compute/region_instance_group_manager.py
sisisin/pulumi-gcp
af6681d70ea457843409110c1324817fe55f68ad
[ "ECL-2.0", "Apache-2.0" ]
492
2018-06-22T19:41:03.000Z
2022-03-31T15:33:53.000Z
sdk/python/pulumi_gcp/compute/region_instance_group_manager.py
sisisin/pulumi-gcp
af6681d70ea457843409110c1324817fe55f68ad
[ "ECL-2.0", "Apache-2.0" ]
43
2018-06-19T01:43:13.000Z
2022-03-23T22:43:37.000Z
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import...
58.644904
578
0.695362
ec8670a4f48ccef9a9480fc2700666aa3754060a
1,106
py
Python
script/share_search.py
pettersoderlund/fondout
99b14eaa8c6eb56fd862ab9bdf6acc8d537d4a31
[ "BSD-3-Clause" ]
null
null
null
script/share_search.py
pettersoderlund/fondout
99b14eaa8c6eb56fd862ab9bdf6acc8d537d4a31
[ "BSD-3-Clause" ]
4
2016-10-18T18:30:08.000Z
2016-11-05T09:22:29.000Z
script/share_search.py
pettersoderlund/fondout
99b14eaa8c6eb56fd862ab9bdf6acc8d537d4a31
[ "BSD-3-Clause" ]
null
null
null
#-*- coding: utf-8 -*- import findsc import argparse import mysql.connector from random import randint if __name__ == "__main__": parser = argparse.ArgumentParser() parser.add_argument("-f", "--fund", help="Fund to use.") parser.add_argument("-g", "--google", help="Google list", action='store_true') p...
29.891892
83
0.571429
ec869714d88baa50b19e9839857a2cabf406276f
1,253
py
Python
p19.py
aleksanderhan/ProjectEuler
3c298f8f88f55b2730f142781fdecb1d6e453034
[ "MIT" ]
null
null
null
p19.py
aleksanderhan/ProjectEuler
3c298f8f88f55b2730f142781fdecb1d6e453034
[ "MIT" ]
null
null
null
p19.py
aleksanderhan/ProjectEuler
3c298f8f88f55b2730f142781fdecb1d6e453034
[ "MIT" ]
null
null
null
# Funksjon som sjekker om ret er et skuddr # Funksjon som returnerer hvilken ukedag ret starter p. # (fungerer bare fra og med 1900) # Teller hvor mange sndager som er den 1 i hver mnd. fra 1901 til og med 2013 sundays = 0 for year in range(1901, 2001): ukedag_nummer = weekday_newyear(year) if uk...
18.701493
90
0.511572
ec8728c7e7cb1908b2335c86c881a88dcdeb4b26
668
py
Python
backpack/extensions/secondorder/hbp/custom_module.py
pitmonticone/backpack
b5bdb7e1171a1c0ace187915b9e54c2087d61d3a
[ "MIT" ]
null
null
null
backpack/extensions/secondorder/hbp/custom_module.py
pitmonticone/backpack
b5bdb7e1171a1c0ace187915b9e54c2087d61d3a
[ "MIT" ]
null
null
null
backpack/extensions/secondorder/hbp/custom_module.py
pitmonticone/backpack
b5bdb7e1171a1c0ace187915b9e54c2087d61d3a
[ "MIT" ]
null
null
null
"""Module extensions for custom properties of HBPBaseModule.""" from backpack.core.derivatives.scale_module import ScaleModuleDerivatives from backpack.core.derivatives.sum_module import SumModuleDerivatives from backpack.extensions.secondorder.hbp.hbpbase import HBPBaseModule
31.809524
73
0.751497