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
21f493f41dab43945de7c3a7977465eb24defd66
2,524
py
Python
makahiki/scripts/initialize_instance.py
justinslee/Wai-Not-Makahiki
4b7dd685012ec64758affe0ecee3103596d16aa7
[ "MIT" ]
1
2015-07-22T11:31:20.000Z
2015-07-22T11:31:20.000Z
makahiki/scripts/initialize_instance.py
justinslee/Wai-Not-Makahiki
4b7dd685012ec64758affe0ecee3103596d16aa7
[ "MIT" ]
null
null
null
makahiki/scripts/initialize_instance.py
justinslee/Wai-Not-Makahiki
4b7dd685012ec64758affe0ecee3103596d16aa7
[ "MIT" ]
null
null
null
#!/usr/bin/python """ Invocation: scripts/initialize_instance .py -t|--type[=] default|demo|test -r|--heroku[=] <heroku_app> Use this script to create an instance with different types of configuration: [default]: includes the basic configuration. The admin needs to creat...
30.409639
90
0.666799
21f5073b90d55e21b0f44ad29ee9acc3780ac97b
799
py
Python
Chapter25/listing25-2.py
TYRMars/PythonLearn
573c8d0b94b890924942e6ba7882eaf73597fb63
[ "MIT" ]
null
null
null
Chapter25/listing25-2.py
TYRMars/PythonLearn
573c8d0b94b890924942e6ba7882eaf73597fb63
[ "MIT" ]
null
null
null
Chapter25/listing25-2.py
TYRMars/PythonLearn
573c8d0b94b890924942e6ba7882eaf73597fb63
[ "MIT" ]
1
2018-08-23T14:41:32.000Z
2018-08-23T14:41:32.000Z
#!/usr/bin/env python print 'Content-type: text/html\n' from os.path import join, abspath import cgi, sys BASE_DIR = abspath('data') form = cgi.FieldStorage() filename = form.getvalue('filename') if not filename: print 'Please enter a file name' sys.exit() text = open(join(BASE_DIR, filename)).read() print...
23.5
67
0.594493
21f70e00fd9069d8e81d9648fe78c6c73dc2b773
2,608
py
Python
python/xml_parsers.py
warlicks/Real_Estate_Data
137dc53a24a878cb96ec5132be6e81196902aec1
[ "MIT" ]
1
2021-01-24T23:59:18.000Z
2021-01-24T23:59:18.000Z
python/xml_parsers.py
warlicks/Real_Estate_Data
137dc53a24a878cb96ec5132be6e81196902aec1
[ "MIT" ]
3
2016-08-13T22:39:14.000Z
2016-08-21T01:00:51.000Z
python/xml_parsers.py
warlicks/Real_Estate_Data
137dc53a24a878cb96ec5132be6e81196902aec1
[ "MIT" ]
null
null
null
# Sean Warlick # Seattle Housing Project # XML Parsing Functions # Date: July 12, 2016 ############################################################################### # Import packages import xml.etree.ElementTree as et
28.347826
126
0.669095
21f7449c3c2398e5a298ec70522f29070b828181
462
py
Python
CodeChef/CRAWA.py
tapaswenipathak/Competitive-Programming
97bba0f2ccdf587df93244a027050489f0905480
[ "MIT" ]
2
2019-04-20T18:03:20.000Z
2019-08-17T21:20:47.000Z
CodeChef/CRAWA.py
tapaswenipathak/Competitive-Programming
97bba0f2ccdf587df93244a027050489f0905480
[ "MIT" ]
null
null
null
CodeChef/CRAWA.py
tapaswenipathak/Competitive-Programming
97bba0f2ccdf587df93244a027050489f0905480
[ "MIT" ]
1
2019-04-20T18:03:26.000Z
2019-04-20T18:03:26.000Z
T = int (raw_input ()) while T : X, Y = map (long, raw_input ().split ()) T -= 1 neg_X = -X neg_Y = -Y if X == 0 and Y == 0 : print "YES" elif X < 0 and not (X & 1) and X <= Y and Y <= neg_X : print "YES" elif X > 0 and X & 1 and (1 - X) <= Y and Y <= (X + 1) : print "YES" elif Y > 0 and not (Y & 1) and...
20.086957
61
0.478355
21f9033f249e427aede9e4e1c1b360170f737e4c
11,009
py
Python
pygame_gui/elements/ui_horizontal_slider.py
jtiai/pygame_gui
3da0e1f2c4c60a2780c798d5592f2603ba786b34
[ "MIT" ]
null
null
null
pygame_gui/elements/ui_horizontal_slider.py
jtiai/pygame_gui
3da0e1f2c4c60a2780c798d5592f2603ba786b34
[ "MIT" ]
null
null
null
pygame_gui/elements/ui_horizontal_slider.py
jtiai/pygame_gui
3da0e1f2c4c60a2780c798d5592f2603ba786b34
[ "MIT" ]
null
null
null
import pygame import warnings from typing import Union, List, Tuple from .. import ui_manager from ..core import ui_container from ..core.ui_element import UIElement from ..elements.ui_button import UIButton
51.929245
118
0.597239
21f9e26af5d975c9a2fcbd148cf8f461ec5ebcb9
76
py
Python
Scheduling and Launching/openme.py
Piraato/Learn-Python
ae33680b61bbf41f5c0c29c79544b54e59df80b2
[ "MIT" ]
null
null
null
Scheduling and Launching/openme.py
Piraato/Learn-Python
ae33680b61bbf41f5c0c29c79544b54e59df80b2
[ "MIT" ]
null
null
null
Scheduling and Launching/openme.py
Piraato/Learn-Python
ae33680b61bbf41f5c0c29c79544b54e59df80b2
[ "MIT" ]
null
null
null
print("Very well, you can run Python scripts from a Python script.") input()
38
68
0.75
21fb519669ab124f568a6a6b5a2310b85412e2fa
2,614
py
Python
src/django_datatables/mixins.py
ryanbowen/django-datatables
995b82ecf666d4fcae3322861312d927cba07c82
[ "Apache-2.0" ]
null
null
null
src/django_datatables/mixins.py
ryanbowen/django-datatables
995b82ecf666d4fcae3322861312d927cba07c82
[ "Apache-2.0" ]
null
null
null
src/django_datatables/mixins.py
ryanbowen/django-datatables
995b82ecf666d4fcae3322861312d927cba07c82
[ "Apache-2.0" ]
null
null
null
from datetime import datetime import logging from django.core.serializers.json import DjangoJSONEncoder from django.http import HttpResponse, JsonResponse from django.utils.encoding import force_text from django.utils.functional import Promise from django.utils.translation import ugettext as _ from django.utils.cache ...
30.752941
107
0.643458
21fbcb929911a995b3f6095877a796a92d8d46dc
2,193
py
Python
src/dsa/misc/utils/class_generator.py
tvatter/dsa
e5ae217e38441d90914a55103e23d86f5821dc2f
[ "MIT" ]
null
null
null
src/dsa/misc/utils/class_generator.py
tvatter/dsa
e5ae217e38441d90914a55103e23d86f5821dc2f
[ "MIT" ]
null
null
null
src/dsa/misc/utils/class_generator.py
tvatter/dsa
e5ae217e38441d90914a55103e23d86f5821dc2f
[ "MIT" ]
null
null
null
import re from os import path
27.074074
78
0.679891
21fdc764a84fb352ca7b3148dd8aba7ab9037b6c
28,087
py
Python
Functions/SimulationType/DC.py
SunYongshuai/SunSpice
7f9368a7af1421a63b69dcce3decc6d06ff1ff6b
[ "Apache-2.0" ]
1
2018-12-10T06:06:54.000Z
2018-12-10T06:06:54.000Z
Functions/SimulationType/DC.py
SunYongshuai/SunSpice
7f9368a7af1421a63b69dcce3decc6d06ff1ff6b
[ "Apache-2.0" ]
null
null
null
Functions/SimulationType/DC.py
SunYongshuai/SunSpice
7f9368a7af1421a63b69dcce3decc6d06ff1ff6b
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python3 # -*- encoding="UTF-8" -*- #Import Package import numpy as np from tkinter.messagebox import * import parameters from Functions.string2num import string2num
48.176672
228
0.492505
21ff78f085a5d50f157b5c45478181711a1254eb
2,086
py
Python
kilojoule/templates/humidair_USCS_F.py
johnfmaddox/kilojoule
b4c146ded82e3ef51a0252ff48b1066a076e9aeb
[ "MIT" ]
null
null
null
kilojoule/templates/humidair_USCS_F.py
johnfmaddox/kilojoule
b4c146ded82e3ef51a0252ff48b1066a076e9aeb
[ "MIT" ]
null
null
null
kilojoule/templates/humidair_USCS_F.py
johnfmaddox/kilojoule
b4c146ded82e3ef51a0252ff48b1066a076e9aeb
[ "MIT" ]
null
null
null
import kilojoule.humidair import kilojoule.realfluid import kilojoule.idealgas as idealgas from kilojoule.organization import QuantityTable from kilojoule.display import Calculations, Summary from kilojoule.units import units, Quantity import kilojoule.magics humidair = kilojoule.humidair.Properties(unit_syste...
47.409091
85
0.553691
21fff18d4759e159cf4d6e56e3ded5c1754b0ebb
229
py
Python
tests/__main__.py
technikian/sty
4c614b1b7d7ca26dd2f12fa6ef180c6586a8ad3a
[ "Apache-2.0" ]
170
2018-02-10T18:21:21.000Z
2022-03-16T17:50:12.000Z
tests/__main__.py
technikian/sty
4c614b1b7d7ca26dd2f12fa6ef180c6586a8ad3a
[ "Apache-2.0" ]
44
2018-02-26T15:41:44.000Z
2022-02-05T13:34:25.000Z
tests/__main__.py
technikian/sty
4c614b1b7d7ca26dd2f12fa6ef180c6586a8ad3a
[ "Apache-2.0" ]
13
2018-05-24T17:49:12.000Z
2022-03-25T06:42:07.000Z
""" """ from sty import RgbFg, Style, ef, fg from tests import demo, test_ansi_values # isort:skip from tests.docs import ( # isort:skip getting_started, effects, coloring, customizing, muting, etc, )
15.266667
54
0.650655
1d0018b86cdd965ac8f6b7d70eb9745a2cec6bbc
7,640
py
Python
CRF/scan_text_rev.py
henchc/MHG-Scansion-BLSTM
551abd3da9a2f989fb770ee97dbd73445edd0d3c
[ "MIT" ]
4
2018-04-21T08:52:25.000Z
2020-01-08T13:57:05.000Z
CRF/scan_text_rev.py
henchc/MHG-Scansion-BLSTM
551abd3da9a2f989fb770ee97dbd73445edd0d3c
[ "MIT" ]
null
null
null
CRF/scan_text_rev.py
henchc/MHG-Scansion-BLSTM
551abd3da9a2f989fb770ee97dbd73445edd0d3c
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import unicode_literals # for python2 compatibility from __future__ import division from __future__ import absolute_import # created at UC Berkeley 2015 # Authors: Christopher Hench # This program scans MHG epic poetry, returning data to analyze statistically import codecs im...
32.7897
99
0.47055
1d01a7ba705971e5adcf5ebca0f865bd17b58593
12,084
py
Python
aps_32id/run/energy_scan.py
tomography/scanscripts
f7486fe1285da4684f3709661f112ccc15c2e4b8
[ "BSD-3-Clause" ]
null
null
null
aps_32id/run/energy_scan.py
tomography/scanscripts
f7486fe1285da4684f3709661f112ccc15c2e4b8
[ "BSD-3-Clause" ]
18
2017-03-27T01:35:35.000Z
2018-04-03T20:30:49.000Z
aps_32id/run/energy_scan.py
tomography/scanscripts
f7486fe1285da4684f3709661f112ccc15c2e4b8
[ "BSD-3-Clause" ]
8
2017-02-22T16:31:43.000Z
2017-10-15T18:22:30.000Z
# -*- coding: utf-8 -*- ####################### '''For each energy step, a projection and then a flat field are acquired. The script calls the move_energy method from the TXM class. ''' import time import os import logging import warnings import numpy as np import h5py import tqdm from scanlib.scan_variables import...
40.28
87
0.642337
1d02c486ba87d6a7adf60c5da4f6c32ac5c73634
308
py
Python
Section 1: Linux, Virtual Machines, Docker/home_exercise_4_-_flask/IMDB/data_test.py
MarkVoitov/DS_ABB
130ba32fe7187d41fee5651800b965211d1ccaa9
[ "MIT" ]
null
null
null
Section 1: Linux, Virtual Machines, Docker/home_exercise_4_-_flask/IMDB/data_test.py
MarkVoitov/DS_ABB
130ba32fe7187d41fee5651800b965211d1ccaa9
[ "MIT" ]
null
null
null
Section 1: Linux, Virtual Machines, Docker/home_exercise_4_-_flask/IMDB/data_test.py
MarkVoitov/DS_ABB
130ba32fe7187d41fee5651800b965211d1ccaa9
[ "MIT" ]
null
null
null
from contextlib import closing import sqlite3 if __name__ == '__main__': query("IMDB.db","""SELECT * FROM title_basics LIMIT 200""")
23.692308
61
0.672078
1d0439f0057cae94a572c82de4fa0e43b8aad68d
4,551
py
Python
scripts/frontend/page_components/InformationBlock.py
MichaelLapshin/Virtual-Hand-Application
7c27317feae3d54fd10e616858ab0ab79bda6338
[ "MIT" ]
1
2021-08-31T05:22:04.000Z
2021-08-31T05:22:04.000Z
scripts/frontend/page_components/InformationBlock.py
MichaelLapshin/Virtual-Hand-Application
7c27317feae3d54fd10e616858ab0ab79bda6338
[ "MIT" ]
null
null
null
scripts/frontend/page_components/InformationBlock.py
MichaelLapshin/Virtual-Hand-Application
7c27317feae3d54fd10e616858ab0ab79bda6338
[ "MIT" ]
null
null
null
import tkinter import tkinter.font from scripts import General, Parameters, Constants from scripts.frontend.custom_widgets.CustomLabels import InformationLabel from scripts.frontend.custom_widgets.WidgetInterface import WidgetInterface TITLE_FONT_SIZE = 8
37.925
109
0.667985
1d04634957ca46a9855555b61ec6eb3e8a8ca0fd
2,320
py
Python
tests/st/ops/gpu/test_softmax_cross_entropy_with_logits_op.py
unseenme/mindspore
4ba052f0cd9146ac0ccc4880a778706f1b2d0af8
[ "Apache-2.0" ]
2
2020-04-28T03:49:10.000Z
2020-04-28T03:49:13.000Z
tests/st/ops/gpu/test_softmax_cross_entropy_with_logits_op.py
liyong126/mindspore
930a1fb0a8fa9432025442c4f4732058bb7af592
[ "Apache-2.0" ]
7
2020-03-30T08:31:56.000Z
2020-04-01T09:54:39.000Z
tests/st/ops/gpu/test_softmax_cross_entropy_with_logits_op.py
liyong126/mindspore
930a1fb0a8fa9432025442c4f4732058bb7af592
[ "Apache-2.0" ]
1
2020-03-30T17:07:43.000Z
2020-03-30T17:07:43.000Z
# Copyright 2019 Huawei Technologies Co., Ltd # # 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...
39.322034
78
0.693534
1d051c46614f1151b0203d1021021db398273d06
89
py
Python
ner_trainer/forms.py
johnfraney/django-ner-trainer
38a02a858412eab2d4721659ee33a6e8721199ea
[ "MIT" ]
6
2018-07-26T12:11:21.000Z
2021-07-14T07:08:55.000Z
ner_trainer/forms.py
johnfraney/django-ner-trainer
38a02a858412eab2d4721659ee33a6e8721199ea
[ "MIT" ]
null
null
null
ner_trainer/forms.py
johnfraney/django-ner-trainer
38a02a858412eab2d4721659ee33a6e8721199ea
[ "MIT" ]
4
2019-03-31T06:29:53.000Z
2022-03-18T17:27:33.000Z
from django import forms
14.833333
32
0.741573
1d056b6de10144e26a10af65f7fd8be29e15279f
440
py
Python
docs/notebooks/startup.py
withrocks/commonlims
d8a925c917aa26e8205fefb3966a9f49f8f2e2f8
[ "BSD-3-Clause" ]
4
2019-05-27T13:55:07.000Z
2021-03-30T07:05:09.000Z
docs/notebooks/startup.py
withrocks/commonlims
d8a925c917aa26e8205fefb3966a9f49f8f2e2f8
[ "BSD-3-Clause" ]
99
2019-05-20T14:16:33.000Z
2021-01-19T09:25:15.000Z
docs/notebooks/startup.py
withrocks/commonlims
d8a925c917aa26e8205fefb3966a9f49f8f2e2f8
[ "BSD-3-Clause" ]
1
2020-08-10T07:55:40.000Z
2020-08-10T07:55:40.000Z
from uuid import uuid4 from sentry.runner import configure configure() from clims.models import * from clims.services import * from sentry.models import * from sentry.testutils.fixtures import Fixtures app = ApplicationService() ioc.set_application(app) notebook_plugin, _ = PluginRegistration.objects.get_or_create( ...
25.882353
62
0.770455
1d058146fd52903447fe36684e99aa705f6fd6f5
2,747
py
Python
charts.py
glichfalls/covid-19-charts
52e9b78632388d3459bdc04f91513c00eaee000c
[ "MIT" ]
null
null
null
charts.py
glichfalls/covid-19-charts
52e9b78632388d3459bdc04f91513c00eaee000c
[ "MIT" ]
null
null
null
charts.py
glichfalls/covid-19-charts
52e9b78632388d3459bdc04f91513c00eaee000c
[ "MIT" ]
null
null
null
import matplotlib.pyplot as plt import matplotlib.ticker as ticker import matplotlib.dates as mdates from db import DatabaseConnection from datetime import datetime, timedelta
37.121622
92
0.636695
1d05e137c8e932893de9f86db9d1dd1e6a4e1e10
9,452
py
Python
test/mitmproxy/addons/test_proxyauth.py
takeratta/mitmproxy
569d275d763f499cce9673fcf118dcc8d59d2eeb
[ "MIT" ]
4
2018-03-14T03:47:22.000Z
2018-06-28T08:00:39.000Z
test/mitmproxy/addons/test_proxyauth.py
takeratta/mitmproxy
569d275d763f499cce9673fcf118dcc8d59d2eeb
[ "MIT" ]
null
null
null
test/mitmproxy/addons/test_proxyauth.py
takeratta/mitmproxy
569d275d763f499cce9673fcf118dcc8d59d2eeb
[ "MIT" ]
1
2018-04-22T15:43:46.000Z
2018-04-22T15:43:46.000Z
import binascii import pytest from unittest import mock from mitmproxy import exceptions from mitmproxy.addons import proxyauth from mitmproxy.test import taddons from mitmproxy.test import tflow from mitmproxy.test import tutils def test_authenticate(self): up = proxyauth.ProxyAuth() with tad...
37.507937
133
0.563479
1d065428061f612cebb09870cc3474d78abeda68
303
py
Python
ari/track.py
gieseladev/ari-player
64a030956f6d35ea48275448df42228c38b2fa88
[ "MIT" ]
1
2019-08-04T00:48:52.000Z
2019-08-04T00:48:52.000Z
ari/track.py
gieseladev/ari-player
64a030956f6d35ea48275448df42228c38b2fa88
[ "MIT" ]
1
2021-06-02T00:24:45.000Z
2021-06-02T00:24:45.000Z
ari/track.py
gieseladev/ari-player
64a030956f6d35ea48275448df42228c38b2fa88
[ "MIT" ]
null
null
null
import dataclasses __all__ = ["ElakshiTrack", "AudioSource"]
15.947368
41
0.716172
1d065f1a5b01dcca6c7a7a8f8392fd06df430cc0
2,340
py
Python
models/randomized_lu.py
pjrule/math126-final-project
93c9953366fd684289ba97297ab16651f8c92d39
[ "MIT" ]
null
null
null
models/randomized_lu.py
pjrule/math126-final-project
93c9953366fd684289ba97297ab16651f8c92d39
[ "MIT" ]
null
null
null
models/randomized_lu.py
pjrule/math126-final-project
93c9953366fd684289ba97297ab16651f8c92d39
[ "MIT" ]
null
null
null
"""Randomized LU decomposition.""" import numpy as np import scipy.linalg as la from typing import Tuple PQLU = Tuple[np.ndarray, np.ndarray, np.ndarray, np.ndarray] def randomized_lu(A: np.ndarray, k: int, l: int, seed: int = 0) -> PQLU: """Performs a randomized rank-k LU decomposition of A. Adapted fr...
30.789474
81
0.594872
1d0689511b2f8bc63d822a5b11a5451036ea240f
86
py
Python
homeassistant/components/html5/const.py
domwillcode/home-assistant
f170c80bea70c939c098b5c88320a1c789858958
[ "Apache-2.0" ]
30,023
2016-04-13T10:17:53.000Z
2020-03-02T12:56:31.000Z
homeassistant/components/html5/const.py
jagadeeshvenkatesh/core
1bd982668449815fee2105478569f8e4b5670add
[ "Apache-2.0" ]
31,101
2020-03-02T13:00:16.000Z
2022-03-31T23:57:36.000Z
homeassistant/components/html5/const.py
jagadeeshvenkatesh/core
1bd982668449815fee2105478569f8e4b5670add
[ "Apache-2.0" ]
11,956
2016-04-13T18:42:31.000Z
2020-03-02T09:32:12.000Z
"""Constants for the HTML5 component.""" DOMAIN = "html5" SERVICE_DISMISS = "dismiss"
21.5
40
0.72093
1d06db36083ac9ceb764551230b0138b99515c1f
4,045
py
Python
soccer3d/soccerdepth/models/encoder_decoder.py
ngerstle/soccerontable
25426ff0f8fe0ce008b99c5c0fdbb35091d8d92c
[ "BSD-2-Clause" ]
465
2018-05-18T04:43:40.000Z
2022-02-27T03:09:25.000Z
soccer3d/soccerdepth/models/encoder_decoder.py
ngerstle/soccerontable
25426ff0f8fe0ce008b99c5c0fdbb35091d8d92c
[ "BSD-2-Clause" ]
18
2018-06-20T15:03:10.000Z
2021-05-05T04:33:38.000Z
soccer3d/soccerdepth/models/encoder_decoder.py
ngerstle/soccerontable
25426ff0f8fe0ce008b99c5c0fdbb35091d8d92c
[ "BSD-2-Clause" ]
97
2018-05-03T09:12:30.000Z
2022-01-25T12:49:33.000Z
import torch import torch.nn as nn
40.858586
76
0.500371
1d07976c7f74517929e92feef1305db889f52a18
264
py
Python
slotter/__init__.py
saurabh-hirani/slotter
a6d9dcacb61b5e1111e383855d181ef782ea494e
[ "MIT" ]
5
2016-10-21T06:58:30.000Z
2016-11-22T16:12:07.000Z
slotter/__init__.py
saurabh-hirani/slotter
a6d9dcacb61b5e1111e383855d181ef782ea494e
[ "MIT" ]
null
null
null
slotter/__init__.py
saurabh-hirani/slotter
a6d9dcacb61b5e1111e383855d181ef782ea494e
[ "MIT" ]
1
2020-02-27T03:36:01.000Z
2020-02-27T03:36:01.000Z
""" Slotter Slotter is used to slot elements in buckets """ from .version import __version__ __title__ = 'slotter' __author__ = 'Saurabh Hirani' __license__ = 'MIT' __copyright__ = 'Copyright 2016 Saurabh Hirani' from .slotter import Slotter create = Slotter
15.529412
47
0.757576
1d0814786340bf7cae3bfaf13859f75091f59cb9
941
py
Python
pytglib/api/types/chat_type_supergroup.py
iTeam-co/pytglib
e5e75e0a85f89b77762209b32a61b0a883c0ae61
[ "MIT" ]
6
2019-10-30T08:57:27.000Z
2021-02-08T14:17:43.000Z
pytglib/api/types/chat_type_supergroup.py
iTeam-co/python-telegram
e5e75e0a85f89b77762209b32a61b0a883c0ae61
[ "MIT" ]
1
2021-08-19T05:44:10.000Z
2021-08-19T07:14:56.000Z
pytglib/api/types/chat_type_supergroup.py
iTeam-co/python-telegram
e5e75e0a85f89b77762209b32a61b0a883c0ae61
[ "MIT" ]
5
2019-12-04T05:30:39.000Z
2021-05-21T18:23:32.000Z
from ..utils import Object
25.432432
124
0.624867
1d09e8d254b0e97154810e8229ddfdd861fe0345
12,370
py
Python
utils/logger_utils.py
sunhailin-Leo/TeamLeoX_BlogsCrawler
389ff31e02bdff415c8bc470a3a48da1acb14c4c
[ "MIT" ]
null
null
null
utils/logger_utils.py
sunhailin-Leo/TeamLeoX_BlogsCrawler
389ff31e02bdff415c8bc470a3a48da1acb14c4c
[ "MIT" ]
null
null
null
utils/logger_utils.py
sunhailin-Leo/TeamLeoX_BlogsCrawler
389ff31e02bdff415c8bc470a3a48da1acb14c4c
[ "MIT" ]
null
null
null
import os import sys import logging from typing import Dict from concurrent_log_handler import ConcurrentRotatingFileHandler LOG_NAME: str = "service.log" LOG_LEVEL_INT: int = 20 formatter_dict = { 1: logging.Formatter( "%(asctime)s - %(name)s - %(filename)s - " "%(lineno)d - %(levelname)s - %(m...
35.342857
89
0.576475
1d0a33a6f3a05c3c57bcd109bd1331137ac931d0
1,945
py
Python
Blogs/Automate table mappings JSON creation/Create_JSON.py
subepie/DMS_tool
de4d3b3295366bb2118b31eb5ec268a278d4a557
[ "Apache-2.0" ]
43
2017-11-09T23:01:35.000Z
2020-09-08T14:51:41.000Z
Blogs/Automate table mappings JSON creation/Create_JSON.py
subepie/DMS_tool
de4d3b3295366bb2118b31eb5ec268a278d4a557
[ "Apache-2.0" ]
1
2019-09-11T09:54:55.000Z
2020-05-12T11:37:44.000Z
Blogs/Automate table mappings JSON creation/Create_JSON.py
subepie/DMS_tool
de4d3b3295366bb2118b31eb5ec268a278d4a557
[ "Apache-2.0" ]
34
2017-07-19T14:37:31.000Z
2020-08-30T00:54:01.000Z
import json import csv import os data = {} line_count = 0 data['rules'] = [] if __name__ == "__main__": print("This program expects a folder location from the user. ") print("The folder can have 2 different types of files in csv format.") print("The file types are include table list and exc...
32.416667
90
0.579949
1d0ece57935690eb57b92110e051ae26ccac522f
502
py
Python
website/events/helpers/views.py
eamanu/asoc_members
bf2e99e9c63c60a59bdfd10ca1812d78851cbde6
[ "MIT" ]
9
2019-03-24T21:56:52.000Z
2022-03-14T04:21:48.000Z
website/events/helpers/views.py
eamanu/asoc_members
bf2e99e9c63c60a59bdfd10ca1812d78851cbde6
[ "MIT" ]
111
2018-04-30T03:26:58.000Z
2021-12-01T13:06:24.000Z
website/events/helpers/views.py
eamanu/asoc_members
bf2e99e9c63c60a59bdfd10ca1812d78851cbde6
[ "MIT" ]
23
2018-09-06T21:39:56.000Z
2022-03-25T15:08:52.000Z
from django.db.models import Q import functools import operator
31.375
76
0.695219
0dfb51cb719fc893ece63b1717e0432e40ccdc7b
1,103
py
Python
machine_vision/yolov2_20class.py
huningxin/MaixPy_scripts
a54015f97989c46cc6b3d58f985156e619666a51
[ "MIT" ]
1
2020-05-04T15:22:53.000Z
2020-05-04T15:22:53.000Z
machine_vision/yolov2_20class.py
huningxin/MaixPy_scripts
a54015f97989c46cc6b3d58f985156e619666a51
[ "MIT" ]
null
null
null
machine_vision/yolov2_20class.py
huningxin/MaixPy_scripts
a54015f97989c46cc6b3d58f985156e619666a51
[ "MIT" ]
null
null
null
#refer to http://blog.sipeed.com/p/677.html import sensor,image,lcd,time import KPU as kpu lcd.init(freq=15000000) sensor.reset() sensor.set_pixformat(sensor.RGB565) sensor.set_framesize(sensor.QVGA) sensor.set_vflip(1) sensor.run(1) clock = time.clock() classes = ['aeroplane', 'bicycle', 'bird', 'boat', 'bottle', 'bu...
35.580645
205
0.602901
0dfc18de94d1500e566885fab28962fb3a619a87
759
py
Python
fastNLP/modules/encoder/__init__.py
brxx122/fastNLP
8affc4a3ff75061ccbdecca6247493f346634155
[ "Apache-2.0" ]
null
null
null
fastNLP/modules/encoder/__init__.py
brxx122/fastNLP
8affc4a3ff75061ccbdecca6247493f346634155
[ "Apache-2.0" ]
null
null
null
fastNLP/modules/encoder/__init__.py
brxx122/fastNLP
8affc4a3ff75061ccbdecca6247493f346634155
[ "Apache-2.0" ]
2
2020-04-21T06:17:59.000Z
2020-05-05T11:22:11.000Z
""" .. todo:: doc """ __all__ = [ # "BertModel", "ConvolutionCharEncoder", "LSTMCharEncoder", "ConvMaxpool", "LSTM", "StarTransformer", "TransformerEncoder", "VarRNN", "VarLSTM", "VarGRU", "MaxPool", "MaxPoolWithMask", "AvgPool", "AvgPoolWithMask", ...
18.512195
71
0.716733
0dfcdef8833ed5833ba57eeec1abdbc79c20e892
14,393
py
Python
DupLess.py
FadyMohareb/dupless
60fef3e36dab619bc3c543d05dcb6d2fa359b62f
[ "MIT" ]
1
2020-02-03T14:35:11.000Z
2020-02-03T14:35:11.000Z
DupLess.py
FadyMohareb/dupless
60fef3e36dab619bc3c543d05dcb6d2fa359b62f
[ "MIT" ]
null
null
null
DupLess.py
FadyMohareb/dupless
60fef3e36dab619bc3c543d05dcb6d2fa359b62f
[ "MIT" ]
null
null
null
#!/usr/bin/python # DupLess is a python script to detect and remove artifact duplications in assemblies. # Assemblies from heterozygous genomes tend to create two contigs instead of # one in areas of high heterozygosity. DupLess detects these regions based on # read coverage and sequence similarity. # Depend...
51.039007
195
0.606406
0dfe6c5821cbd16700bb97be17dc7d969044d263
6,889
py
Python
arduino_utils.py
diegocepedaw/lasergo
584a1b7f2c2bd96f5b8f1d4ede09f5992c774b1e
[ "MIT" ]
12
2020-12-30T23:50:56.000Z
2022-02-14T03:27:02.000Z
arduino_utils.py
diegocepedaw/lasergo
584a1b7f2c2bd96f5b8f1d4ede09f5992c774b1e
[ "MIT" ]
null
null
null
arduino_utils.py
diegocepedaw/lasergo
584a1b7f2c2bd96f5b8f1d4ede09f5992c774b1e
[ "MIT" ]
1
2022-01-26T02:00:40.000Z
2022-01-26T02:00:40.000Z
import cv2 import numpy as np import time import math import serial import pickle LASER_START = (100,100) arduino = serial.Serial('COM6', 9600, timeout=5) def calibrate_laser(cap): ''' determine how many pixel sevo angle travels''' set_laser_pos(LASER_START[0],LASER_START[1]) ret, frame = cap...
35.510309
133
0.59791
0dfea64ad5882b1a0e160dc452c8c73b059a7bdc
22,984
py
Python
sktime_dl/deeplearning/mcnn/_classifier.py
talhaanwarch/sktime-dl
da4db17b78b645667b9be18e80283d0af4768c40
[ "BSD-3-Clause" ]
1
2021-06-13T05:29:16.000Z
2021-06-13T05:29:16.000Z
sktime_dl/deeplearning/mcnn/_classifier.py
oustella/sktime-dl
f454893012567519f12d04050991cbec53ab1ef0
[ "BSD-3-Clause" ]
null
null
null
sktime_dl/deeplearning/mcnn/_classifier.py
oustella/sktime-dl
f454893012567519f12d04050991cbec53ab1ef0
[ "BSD-3-Clause" ]
null
null
null
# todo keras/tesnorflow memory problem when search over network parameters # currently just deleting EVERY model and retraining the best parameters # at the end, see **1 __author__ = "Aaron Bostrom, James Large" import gc import numpy as np from sklearn.model_selection import train_test_split from tensorfl...
35.578947
82
0.561956
df0027dcfa146f73265c94ca953f538d9f2ad041
728
py
Python
coffer/__init__.py
shalevy1/cultivar
99b00c69376cd37fddb14a969cf562276296f01a
[ "Apache-2.0" ]
37
2016-08-22T22:11:30.000Z
2022-02-24T19:10:18.000Z
coffer/__init__.py
DistrictDataLabs/trinket
99b00c69376cd37fddb14a969cf562276296f01a
[ "Apache-2.0" ]
75
2015-10-15T19:25:18.000Z
2016-08-04T19:21:10.000Z
coffer/__init__.py
DistrictDataLabs/trinket
99b00c69376cd37fddb14a969cf562276296f01a
[ "Apache-2.0" ]
17
2015-10-09T00:03:12.000Z
2016-07-22T16:15:41.000Z
# coffer # Dataset manager and collection application. # # Author: Benjamin Bengfort <bbengfort@districtdatalabs.com> # Created: Thu Oct 08 21:44:00 2015 -0400 # # Copyright (C) 2015 District Data Labs # For license information, see LICENSE.txt # # ID: __init__.py [] benjamin@bengfort.com $ """ Dataset manager and ...
28
74
0.434066
df009865762587d1007f3f7139e861ac75fe14bb
133
py
Python
parsers/__init__.py
vintage/jokes_app
de18b0bd786841e2ea506105aa205b66ce2b5692
[ "MIT" ]
3
2017-07-13T06:47:23.000Z
2017-11-19T08:21:38.000Z
parsers/__init__.py
vintage/jokes_app
de18b0bd786841e2ea506105aa205b66ce2b5692
[ "MIT" ]
1
2019-08-01T13:39:08.000Z
2021-03-23T07:15:42.000Z
parsers/__init__.py
vintage/jokes_app
de18b0bd786841e2ea506105aa205b66ce2b5692
[ "MIT" ]
null
null
null
# Copy to .venv/lib/python3.6/site-packages/enchant/share/enchant/myspell # https://github.com/elastic/hunspell/tree/master/dicts/pl
44.333333
73
0.789474
df011455a0e6333338175cf0393900bcda2fcb02
3,280
py
Python
bgm_block/models.py
MCG-NJU/BCN
c637dcdc436717104d4c14a6fbb21e2d2299b087
[ "MIT" ]
69
2020-08-21T01:19:24.000Z
2022-03-28T02:39:44.000Z
bgm_block/models.py
redwang/BCN
e5c494d8ca396d5a535309575a7a652db54f14b7
[ "MIT" ]
7
2020-11-12T08:21:08.000Z
2021-12-29T04:50:11.000Z
bgm_block/models.py
redwang/BCN
e5c494d8ca396d5a535309575a7a652db54f14b7
[ "MIT" ]
9
2020-08-28T06:46:17.000Z
2022-01-29T11:27:01.000Z
# -*- coding: utf-8 -*- import torch import torch.nn.functional as F import torch.nn as nn from torch.nn import init import copy
34.893617
148
0.607622
df012a7576e9516f4a23ace4d324b5a6e610a767
508
py
Python
Random Problems/Merge the Tools/solutions.py
matheuscordeiro/HackerRank
003ab87fdfa9e7c0535972abd06caebb1165423f
[ "MIT" ]
null
null
null
Random Problems/Merge the Tools/solutions.py
matheuscordeiro/HackerRank
003ab87fdfa9e7c0535972abd06caebb1165423f
[ "MIT" ]
null
null
null
Random Problems/Merge the Tools/solutions.py
matheuscordeiro/HackerRank
003ab87fdfa9e7c0535972abd06caebb1165423f
[ "MIT" ]
null
null
null
if __name__ == "__main__": merge_the_tools("AABCAAADA", 3)
25.4
48
0.521654
df019cd58e39253b69a98f540baa40894015701a
1,915
py
Python
utils/cmd_parser.py
SecureThemAll/CquenceR
b2d4d578a8a055df8370798769cdc6e6e1039721
[ "MIT" ]
null
null
null
utils/cmd_parser.py
SecureThemAll/CquenceR
b2d4d578a8a055df8370798769cdc6e6e1039721
[ "MIT" ]
null
null
null
utils/cmd_parser.py
SecureThemAll/CquenceR
b2d4d578a8a055df8370798769cdc6e6e1039721
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import argparse from collections import Callable from utils.command import Command from utils.commands.preprocess import Preprocess from utils.commands.test import Test from utils.commands.train import Train from utils.commands.repair import Repair from utils.commands.stats import Stats from ut...
36.132075
110
0.768146
df035418a124dfc6d3a28d6cc0fd7c45993e05d4
3,884
py
Python
lanefinder/CamModel.py
sheayun-kmu/CarND-Advanced-Lane-Lines
f8f38767acb9a65bc942f53706c6d223dfb666a2
[ "MIT" ]
null
null
null
lanefinder/CamModel.py
sheayun-kmu/CarND-Advanced-Lane-Lines
f8f38767acb9a65bc942f53706c6d223dfb666a2
[ "MIT" ]
null
null
null
lanefinder/CamModel.py
sheayun-kmu/CarND-Advanced-Lane-Lines
f8f38767acb9a65bc942f53706c6d223dfb666a2
[ "MIT" ]
1
2020-09-23T12:43:22.000Z
2020-09-23T12:43:22.000Z
import logging import numpy as np import cv2 from lanefinder.params import camera_params from lanefinder.params import perspective_params # Capture camera model # 1. calibrate using a set of images of chessboards # 2. undistort image based on calibration # 3. warp image to get a bird's eye view of it
36.299065
74
0.58033
df04f18f1abbee7ba636186d9cf666a08ecb1a2d
4,446
py
Python
poc/hex_grid/hex.py
CoryOwens/hex
83253b52f9ee86d13402fc7475a0cdd772921728
[ "MIT" ]
null
null
null
poc/hex_grid/hex.py
CoryOwens/hex
83253b52f9ee86d13402fc7475a0cdd772921728
[ "MIT" ]
null
null
null
poc/hex_grid/hex.py
CoryOwens/hex
83253b52f9ee86d13402fc7475a0cdd772921728
[ "MIT" ]
null
null
null
import math import kivy from kivy.graphics import Line from kivy.graphics import Color from kivy.properties import ListProperty, NumericProperty from kivy.uix.widget import Widget from kivy.logger import Logger kivy.require('1.10.0') if __name__ == '__main__': from kivy.app import App HexApp().run()
32.217391
79
0.580072
df062a661710aa4fa4a6d5eb73fc96d94ec2f731
322
py
Python
tests/conftest.py
opensafely/risk-factors-research
32b59c82ee565d974fa2ce863a436914ce17dc03
[ "MIT" ]
29
2020-06-23T21:43:28.000Z
2022-03-11T11:49:55.000Z
tests/conftest.py
opensafely/risk-factors-research
32b59c82ee565d974fa2ce863a436914ce17dc03
[ "MIT" ]
7
2020-06-26T18:48:43.000Z
2021-08-11T14:01:18.000Z
tests/conftest.py
opensafely/risk-factors-research
32b59c82ee565d974fa2ce863a436914ce17dc03
[ "MIT" ]
8
2020-06-23T21:43:32.000Z
2022-01-07T10:51:20.000Z
import os from pathlib import Path def pytest_generate_tests(metafunc): """Source the test environment """ for line in open(Path(__file__).absolute().parent.parent / ".env-test"): k, v = line.split("=", 1) k = k.strip() if not os.environ.get(k): os.environ[k] = v.strip(...
24.769231
76
0.590062
df07eeff5a871ae595d36ebd4e1dcb711889d0e5
816
py
Python
run/gold-key-splitter.py
osmanbaskaya/mapping-impact
8024dd3b916ac2dfc336221dd32faba4c0a98442
[ "MIT" ]
1
2016-03-14T15:28:22.000Z
2016-03-14T15:28:22.000Z
run/gold-key-splitter.py
osmanbaskaya/mapping-impact
8024dd3b916ac2dfc336221dd32faba4c0a98442
[ "MIT" ]
null
null
null
run/gold-key-splitter.py
osmanbaskaya/mapping-impact
8024dd3b916ac2dfc336221dd32faba4c0a98442
[ "MIT" ]
null
null
null
#! /usr/bin/python # -*- coding: utf-8 -*- __author__ = "Osman Baskaya" """ Split the keys according to target words. Our gold file is merged. All keys are in the same file. In order to create a development set in run/gold/twitter|gigaword, we need to split keys in dev set into separate files. input_file should be...
24
69
0.688725
df08f0d2fd7a1589d78358cb6d71d6ae0bb1ece0
857
py
Python
resource/engine/add_worker.py
CybersecurityLuxembourg/cyberlux-cron
dc1a8e4fad067b6d00c73a434d2a278576bbafab
[ "BSD-2-Clause" ]
null
null
null
resource/engine/add_worker.py
CybersecurityLuxembourg/cyberlux-cron
dc1a8e4fad067b6d00c73a434d2a278576bbafab
[ "BSD-2-Clause" ]
null
null
null
resource/engine/add_worker.py
CybersecurityLuxembourg/cyberlux-cron
dc1a8e4fad067b6d00c73a434d2a278576bbafab
[ "BSD-2-Clause" ]
null
null
null
from flask_apispec import MethodResource from flask_apispec import doc from flask_restful import Resource from queue import Queue from flask_jwt_extended import jwt_required from decorator.catch_exception import catch_exception from decorator.verify_admin_access import verify_admin_access
26.78125
64
0.683781
df0973906e2e28e9a0ffb26a5c82bba2915b1dc2
139
py
Python
scripts/python/test_naoqi.py
plus44/hcr-2016
20c7312fa1b9bd36434852f2d0d3b5b0cc289cc7
[ "Apache-2.0" ]
null
null
null
scripts/python/test_naoqi.py
plus44/hcr-2016
20c7312fa1b9bd36434852f2d0d3b5b0cc289cc7
[ "Apache-2.0" ]
null
null
null
scripts/python/test_naoqi.py
plus44/hcr-2016
20c7312fa1b9bd36434852f2d0d3b5b0cc289cc7
[ "Apache-2.0" ]
null
null
null
#! /home/admin/venvs/hcr-2016/bin/python import sys print '\n'.join(sys.path) import naoqi if __name__ == '__main__': print "Naoqi Test"
17.375
40
0.71223
df09ac413fdfd3e722c4aa22f5197075d17783b1
1,463
py
Python
react-flask-app/api/TripDB.py
GabCas28/Smart-Mazda-On-Board
2c3aa53c34bd90868a55985a01dcb5a5954d6a8b
[ "MIT" ]
null
null
null
react-flask-app/api/TripDB.py
GabCas28/Smart-Mazda-On-Board
2c3aa53c34bd90868a55985a01dcb5a5954d6a8b
[ "MIT" ]
1
2022-02-13T13:14:46.000Z
2022-02-13T13:14:46.000Z
react-flask-app/api/TripDB.py
GabCas28/Smart-Mazda-On-Board
2c3aa53c34bd90868a55985a01dcb5a5954d6a8b
[ "MIT" ]
null
null
null
from tinydb import TinyDB, Query, where from tinydb.operations import delete, add, set # import json from pymongo import MongoClient, ReplaceOne from bson import json_util, objectid from pymongo.errors import BulkWriteError import time import pprint
35.682927
132
0.656186
df0ae9e699494b11d2f763f0b863647a022b4718
940
py
Python
shebang/account/tasks.py
KNU-shebang/Shebang
117d6d55344442d76def5c7682ab826ea2521d15
[ "MIT" ]
2
2017-03-18T07:43:58.000Z
2017-05-02T16:21:42.000Z
shebang/account/tasks.py
KNU-shebang/Shebang
117d6d55344442d76def5c7682ab826ea2521d15
[ "MIT" ]
2
2017-03-24T09:24:35.000Z
2017-05-02T14:48:21.000Z
shebang/account/tasks.py
KNU-shebang/Shebang
117d6d55344442d76def5c7682ab826ea2521d15
[ "MIT" ]
1
2020-10-18T18:38:14.000Z
2020-10-18T18:38:14.000Z
from django.core.mail import EmailMessage from celery.decorators import task from django.conf import settings import base64
33.571429
102
0.660638
df0b3db4d2f4deff4fc60828a64995c019b55ddd
11,403
py
Python
tests/integration/test_file_storage.py
geoadmin/mf-chsdi3
fa5705e345af11467644564f8e469e76403f66b8
[ "BSD-3-Clause" ]
29
2015-02-12T07:45:57.000Z
2020-12-20T08:49:26.000Z
tests/integration/test_file_storage.py
geoadmin/mf-chsdi3
fa5705e345af11467644564f8e469e76403f66b8
[ "BSD-3-Clause" ]
1,753
2015-01-05T07:11:27.000Z
2022-03-28T15:17:07.000Z
tests/integration/test_file_storage.py
geoadmin/mf-chsdi3
fa5705e345af11467644564f8e469e76403f66b8
[ "BSD-3-Clause" ]
15
2015-04-23T08:38:58.000Z
2020-09-28T14:17:40.000Z
# -*- coding: utf-8 -*- import os import six import time from tests.integration import TestsBase, s3_tests, dynamodb_tests WRONG_CONTENT_TYPE = 'nasty type' VALID_KML = '''<?xml version="1.0" encoding="UTF-8"?> <kml xmlns="http://www.opengis.net/kml/2.2"> <Placemark> <name>Simple placemark</name> <descrip...
43.030189
1,628
0.659037
df0cb59e9d0a265d0b3224ad16dd4f909e4faa37
5,703
py
Python
murasame/maker.py
amaotone/caruta-contest-manager
33bbbc8a8ff2903a2763a1270715f224c329e7a2
[ "MIT" ]
null
null
null
murasame/maker.py
amaotone/caruta-contest-manager
33bbbc8a8ff2903a2763a1270715f224c329e7a2
[ "MIT" ]
20
2016-07-21T16:01:36.000Z
2016-10-20T07:42:57.000Z
murasame/maker.py
amaotone/murasame
33bbbc8a8ff2903a2763a1270715f224c329e7a2
[ "MIT" ]
null
null
null
import os import warnings import numpy as np import pandas as pd from .utils import classname_sorted, match_count class Maker(object):
29.396907
75
0.575662
df0e0aed26bec90479f8f5ad09c24410a1024383
71
py
Python
sgi/base/tests/__init__.py
jorgevilaca82/SGI
c3f13d9e3e8f04377d9e23636dc8e35ed5ace35a
[ "MIT" ]
null
null
null
sgi/base/tests/__init__.py
jorgevilaca82/SGI
c3f13d9e3e8f04377d9e23636dc8e35ed5ace35a
[ "MIT" ]
8
2019-12-07T13:13:34.000Z
2021-09-02T03:07:25.000Z
sgi/base/tests/__init__.py
jorgevilaca82/SGI
c3f13d9e3e8f04377d9e23636dc8e35ed5ace35a
[ "MIT" ]
null
null
null
from .pessoa_tests import * from .unidadeorganizacional_tests import *
23.666667
42
0.830986
df0e4bc6c01a3fd360af919cd7a376f61a4072b9
521
py
Python
spkcspider/apps/spider/migrations/0009_auto_20190929_2117.py
devkral/spkbspider
97e448b4da412acebd66c4469c7fcdd07bf90ed2
[ "MIT" ]
5
2019-06-24T14:15:54.000Z
2021-05-14T23:16:31.000Z
spkcspider/apps/spider/migrations/0009_auto_20190929_2117.py
devkral/spkbspider
97e448b4da412acebd66c4469c7fcdd07bf90ed2
[ "MIT" ]
2
2018-06-19T09:56:18.000Z
2018-11-20T12:02:44.000Z
spkcspider/apps/spider/migrations/0009_auto_20190929_2117.py
devkral/spkbspider
97e448b4da412acebd66c4469c7fcdd07bf90ed2
[ "MIT" ]
null
null
null
# Generated by Django 2.2.5 on 2019-09-29 21:17 from django.db import migrations, models
27.421053
170
0.612284
df0f00d338a308daad3a6d706f8f657d66dbc676
283
py
Python
modules/scipy/special/__init__.py
avogel88/compare-VAE-GAE
aa3419c41a58ca6c1a9c1031c0aed7e07c3d4f90
[ "MIT" ]
null
null
null
modules/scipy/special/__init__.py
avogel88/compare-VAE-GAE
aa3419c41a58ca6c1a9c1031c0aed7e07c3d4f90
[ "MIT" ]
null
null
null
modules/scipy/special/__init__.py
avogel88/compare-VAE-GAE
aa3419c41a58ca6c1a9c1031c0aed7e07c3d4f90
[ "MIT" ]
null
null
null
__all__ = [] from .rbig import * from .feature_map import * from . import rbig from . import feature_map __all__ += rbig.__all__ __all__ += feature_map.__all__ del rbig del feature_map from scipy._lib._testutils import PytestTester test = PytestTester(__name__) del PytestTester
17.6875
46
0.780919
df10538eb1d6c1760f3cbe7668d7cd9ebc44d974
641
py
Python
python/offer/45.py
ParkinWu/leetcode
b31312bdefbb2be795f3459e1a76fbc927cab052
[ "MIT" ]
null
null
null
python/offer/45.py
ParkinWu/leetcode
b31312bdefbb2be795f3459e1a76fbc927cab052
[ "MIT" ]
null
null
null
python/offer/45.py
ParkinWu/leetcode
b31312bdefbb2be795f3459e1a76fbc927cab052
[ "MIT" ]
null
null
null
# # # # # 1: # # : [10,2] # : "102" # 2: # # : [3,30,34,5,9] # : "3033459" # # # : # # 0 < nums.length <= 100 # : # # # 0 0 # # LeetCode # https://leetcode-cn.com/problems/ba-shu-zu-pai-cheng-zui-xiao-de-shu-lcof # from typing import List from functools import cmp_to_key
20.03125
78
0.642746
df1171000a17fdaa53b3d9affdc2a2b9401282f7
92,549
py
Python
src/plivo/rest/freeswitch/api.py
mknecht/plivoframework
29fc41fb3c887d5d9022a941e87bbeb2269112ff
[ "Condor-1.1" ]
151
2015-01-14T13:35:47.000Z
2022-01-25T02:47:14.000Z
src/plivo/rest/freeswitch/api.py
altanai/plivoframework
d8d182c7af17c3fbe514d7dfd68d0608ce798f47
[ "Condor-1.1" ]
14
2015-01-02T05:12:04.000Z
2021-02-03T04:25:39.000Z
src/plivo/rest/freeswitch/api.py
altanai/plivoframework
d8d182c7af17c3fbe514d7dfd68d0608ce798f47
[ "Condor-1.1" ]
107
2015-01-02T04:15:28.000Z
2022-02-07T18:14:18.000Z
# -*- coding: utf-8 -*- # Copyright (c) 2011 Plivo Team. See LICENSE for details import base64 import re import uuid import os import os.path from datetime import datetime try: import xml.etree.cElementTree as etree except ImportError: from xml.etree.elementtree import ElementTree as etree import ujson as jso...
41.483191
156
0.580881
df130eaef34648068a0ff50de3a882c5ecc9e033
5,076
py
Python
parsers/CurrentTime.py
ondrejholecek/fortimonitor
79b0377f97b084f04396a323a84bb3e8a93d6f2d
[ "BSD-3-Clause" ]
9
2018-10-19T08:47:42.000Z
2020-08-19T01:58:27.000Z
parsers/CurrentTime.py
ondrejholecek/fortimonitor
79b0377f97b084f04396a323a84bb3e8a93d6f2d
[ "BSD-3-Clause" ]
1
2019-11-07T11:24:43.000Z
2019-11-07T11:52:51.000Z
parsers/CurrentTime.py
ondrejholecek/fortimonitor
79b0377f97b084f04396a323a84bb3e8a93d6f2d
[ "BSD-3-Clause" ]
3
2020-04-24T03:51:15.000Z
2021-12-19T16:08:24.000Z
from EasyParser import EasyParser import re import datetime # exe date # --- # current date is: 2018-08-01 # exe time # --- # current time is: 15:05:43 # last ntp sync:Wed Aug 1 14:58:13 2018
27.586957
152
0.688337
df13907f22e44958568df93ea55820f48b7e45c7
152
py
Python
List.py
samarKantsaxena/SAKASA
c9b7684a6d30920bb5766a0a3520416593fdd7d4
[ "MIT" ]
1
2022-03-22T16:19:14.000Z
2022-03-22T16:19:14.000Z
List.py
samarKantsaxena/SAKASA
c9b7684a6d30920bb5766a0a3520416593fdd7d4
[ "MIT" ]
null
null
null
List.py
samarKantsaxena/SAKASA
c9b7684a6d30920bb5766a0a3520416593fdd7d4
[ "MIT" ]
null
null
null
sys_OS = "A_Free_Cart" Website = "Afreecart" My_Name = "Samar_Kant_Saxena" #A free cart budget calculator #Budget = "370000" #Expenditure = "70000"
15.2
31
0.723684
df155ccc7955d0006b4f5d0a5362f1ace1aaba5e
1,367
py
Python
sweep.py
binshengliu/bm25f
6d6d8578494a2ee091639dc9fa2f40fbb9254c39
[ "MIT" ]
6
2020-12-11T03:54:10.000Z
2022-03-22T04:04:13.000Z
sweep.py
binshengliu/bm25f
6d6d8578494a2ee091639dc9fa2f40fbb9254c39
[ "MIT" ]
null
null
null
sweep.py
binshengliu/bm25f
6d6d8578494a2ee091639dc9fa2f40fbb9254c39
[ "MIT" ]
null
null
null
import logging import subprocess from pathlib import Path import hydra # type: ignore from omegaconf import DictConfig logger = logging.getLogger(__name__) initialized = False if __name__ == "__main__": main()
30.377778
83
0.649598
df17a532cbd4448e549e2c95877c8b22f5178d2e
2,127
py
Python
utils/compute_contrast.py
Mhaiyang/iccv
04a8ee52c2323d7ff5cdf03c0be1466e8180d2eb
[ "MIT" ]
2
2019-01-10T03:44:03.000Z
2019-05-24T08:50:14.000Z
utils/compute_contrast.py
Mhaiyang/iccv
04a8ee52c2323d7ff5cdf03c0be1466e8180d2eb
[ "MIT" ]
null
null
null
utils/compute_contrast.py
Mhaiyang/iccv
04a8ee52c2323d7ff5cdf03c0be1466e8180d2eb
[ "MIT" ]
null
null
null
""" @Time : 202/20/19 09:41 @Author : TaylorMei @Email : mhy845879017@gmail.com @Project : iccv @File : compute_contrast.py @Function: """ import os import numpy as np import cv2 import skimage.io from misc import data_write # image_path = '/home/iccd/data/2019/msd9_all/all_images/' # mask_path = '/...
31.746269
100
0.662906
df17f37f7287d664dc13d2186812e72ef3012242
13,352
py
Python
angular_flask/models.py
amisrs/one-eighty
6b047d205b4b1a0697d7d43a2faa86504337e43c
[ "MIT" ]
null
null
null
angular_flask/models.py
amisrs/one-eighty
6b047d205b4b1a0697d7d43a2faa86504337e43c
[ "MIT" ]
null
null
null
angular_flask/models.py
amisrs/one-eighty
6b047d205b4b1a0697d7d43a2faa86504337e43c
[ "MIT" ]
null
null
null
from datetime import datetime from angular_flask.core import db from angular_flask import app import json # class Post(db.Model): # id = db.Column(db.Integer, primary_key=True) # title = db.Column(db.String(80)) # body = db.Column(db.Text) # pub_date = db.Column(db.DateTime) # # def __init__(self,...
34.95288
142
0.575494
df199fd0ad58d48f73efca3982f9ee10e7470114
3,108
py
Python
sherry/inherit/bar.py
py-mu/sherry
af1e95f1eada663ba3b3fb607ca88f099f894f36
[ "MIT" ]
1
2021-06-27T05:54:23.000Z
2021-06-27T05:54:23.000Z
sherry/inherit/bar.py
py-mu/sherry
af1e95f1eada663ba3b3fb607ca88f099f894f36
[ "MIT" ]
null
null
null
sherry/inherit/bar.py
py-mu/sherry
af1e95f1eada663ba3b3fb607ca88f099f894f36
[ "MIT" ]
1
2021-07-28T09:00:43.000Z
2021-07-28T09:00:43.000Z
# encoding=utf-8 """ create by pymu on 2021/6/6 at 2:09 """ from sherry.inherit.component import Component
35.724138
97
0.634813
df1a469e28c5291480eb01835f133864be481e39
333
py
Python
benchmark/tpch/tbl2csv.py
rf972/caerus-dike
1c3448af63cca426007b524998360a317bcf4794
[ "Apache-2.0" ]
null
null
null
benchmark/tpch/tbl2csv.py
rf972/caerus-dike
1c3448af63cca426007b524998360a317bcf4794
[ "Apache-2.0" ]
null
null
null
benchmark/tpch/tbl2csv.py
rf972/caerus-dike
1c3448af63cca426007b524998360a317bcf4794
[ "Apache-2.0" ]
2
2021-05-04T20:12:51.000Z
2021-05-04T20:17:38.000Z
#!/usr/bin/python3 import sys import os if len(sys.argv) < 3: print("Usage: {} SRC_DIR DST_DIR".format(str(sys.argv[0]))) exit(1) SRC_DIR = str(sys.argv[1]) DST_DIR = str(sys.argv[2]) if not os.path.isdir(SRC_DIR) or not os.path.isdir(DST_DIR): print("Usage: {} SRC_DIR DST_DIR".format(str(sys.argv[0])))...
20.8125
63
0.651652
df1ab6b4b0ece312421f86b8f892a47e6416b0f6
3,970
py
Python
build/env/lib/python2.7/site-packages/windmill-1.6-py2.7.egg/windmill/dep/_functest/collector.py
bopopescu/myhue
5f566970a5a1fa5af9f01832c9e9808c47634bc7
[ "Apache-2.0" ]
61
2015-03-16T18:36:06.000Z
2021-12-02T10:08:17.000Z
windmill/dep/_functest/collector.py
admc/windmill
4304ee7258eb0c2814f215d8ce90abf02b1f737f
[ "Apache-2.0" ]
8
2015-03-10T10:01:26.000Z
2020-05-18T10:51:24.000Z
windmill/dep/_functest/collector.py
admc/windmill
4304ee7258eb0c2814f215d8ce90abf02b1f737f
[ "Apache-2.0" ]
14
2015-01-29T16:28:33.000Z
2021-09-04T11:19:48.000Z
# Copyright (c) 2007 Mikeal Rogers # # 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 agre...
42.234043
115
0.587406
df1ad8100dcd1599aeac7293650084668701e832
2,765
py
Python
tests/test_metadata.py
knownboyofno/PySIPmath
22521d0acaa74250fb7684b8eedbb3e6d044b4af
[ "MIT" ]
2
2021-11-11T03:47:58.000Z
2021-11-19T07:46:24.000Z
tests/test_metadata.py
knownboyofno/PySIPmath
22521d0acaa74250fb7684b8eedbb3e6d044b4af
[ "MIT" ]
null
null
null
tests/test_metadata.py
knownboyofno/PySIPmath
22521d0acaa74250fb7684b8eedbb3e6d044b4af
[ "MIT" ]
3
2021-11-11T18:14:04.000Z
2021-11-22T07:53:30.000Z
import unittest from unittest.mock import ANY, patch from tests.fixtures.fit import fit_fixture from pandas import DataFrame from .context import PySIP if __name__ == '__main__': unittest.main()
35.909091
89
0.600362
df1b51fe6d72128fafb48b80c98baaeec85bd5b2
2,643
py
Python
Tools/BlenderPlugins/scripts/addons/zmey_properties/ui.py
nikoladimitroff/Zmey
4bcea8d66cd3452c532fa68286aa03ad8528a3b4
[ "MIT" ]
22
2017-05-06T18:08:48.000Z
2022-01-12T02:10:22.000Z
Tools/BlenderPlugins/scripts/addons/zmey_properties/ui.py
nikoladimitroff/Zmey
4bcea8d66cd3452c532fa68286aa03ad8528a3b4
[ "MIT" ]
21
2017-12-11T18:42:49.000Z
2018-08-27T23:13:47.000Z
Tools/BlenderPlugins/scripts/addons/zmey_properties/ui.py
nikoladimitroff/Zmey
4bcea8d66cd3452c532fa68286aa03ad8528a3b4
[ "MIT" ]
null
null
null
import bpy # Lists # Panels def register(): bpy.utils.register_class(ZmeySceneTypeList) bpy.utils.register_class(ZmeyWorldPropertyPanel) bpy.utils.register_class(ZmeyObjectPropertiesPanel) def unregister(): bpy.utils.unregister_class(ZmeySceneTypeList) bpy.utils.unregister_class(Z...
33.884615
98
0.631858
df1c101105dbb3aa73b19593c5a7ea69af113861
3,710
py
Python
models/base_model.py
weigq/UDA-1
4f97980980cafd0a2d02a77211ac7dbaf3e331f6
[ "MIT" ]
32
2021-11-08T15:45:30.000Z
2022-03-30T09:08:57.000Z
models/base_model.py
weigq/UDA-1
4f97980980cafd0a2d02a77211ac7dbaf3e331f6
[ "MIT" ]
3
2021-11-16T02:38:51.000Z
2022-02-21T13:29:58.000Z
models/base_model.py
weigq/UDA-1
4f97980980cafd0a2d02a77211ac7dbaf3e331f6
[ "MIT" ]
4
2021-11-09T02:53:18.000Z
2021-12-21T22:11:35.000Z
# -------------------------------------------------------- # Copyright (c) 2021 Microsoft # Licensed under The MIT License # -------------------------------------------------------- import torch.nn as nn from utils.torch_funcs import init_weights_fc, init_weights_fc0, init_weights_fc1, init_weights_fc2 __all__ = ['B...
33.125
99
0.523181
df1dccd9ff34ca962f5ad0f1937db2627fe3e1bb
955
py
Python
amaascore/parties/fund.py
amaas-fintech/amaas-core-sdk-python
bd77884de6e5ab05d864638addeb4bb338a51183
[ "Apache-2.0" ]
null
null
null
amaascore/parties/fund.py
amaas-fintech/amaas-core-sdk-python
bd77884de6e5ab05d864638addeb4bb338a51183
[ "Apache-2.0" ]
8
2017-06-06T09:42:41.000Z
2018-01-16T10:16:16.000Z
amaascore/parties/fund.py
amaas-fintech/amaas-core-sdk-python
bd77884de6e5ab05d864638addeb4bb338a51183
[ "Apache-2.0" ]
8
2017-01-18T04:14:01.000Z
2017-12-01T08:03:10.000Z
from __future__ import absolute_import, division, print_function, unicode_literals from amaascore.parties.company import Company
53.055556
117
0.60733
df1f7424ab7fa292579e8d0035b5a3d3e34ed234
1,127
py
Python
django_flex_user/tests/serializers/test_phone_token_serializer.py
ebenh/django-flex-user
efffb21e4ce33d2ea8665756334e2a391f4b5a72
[ "MIT" ]
1
2021-09-13T20:26:02.000Z
2021-09-13T20:26:02.000Z
django_flex_user/tests/serializers/test_phone_token_serializer.py
ebenh/django-flex-user
efffb21e4ce33d2ea8665756334e2a391f4b5a72
[ "MIT" ]
null
null
null
django_flex_user/tests/serializers/test_phone_token_serializer.py
ebenh/django-flex-user
efffb21e4ce33d2ea8665756334e2a391f4b5a72
[ "MIT" ]
null
null
null
from django.test import TestCase
33.147059
102
0.652174
df2229a266aa3449cafdcf8c1cb50cc3ad9193bc
367
py
Python
validation_messages.py
PaulinaKomorek/Order-Form
7c56852e4367d6dd80fd9b500bf4e4ae4d4e06f6
[ "MIT" ]
1
2020-04-13T12:25:53.000Z
2020-04-13T12:25:53.000Z
validation_messages.py
PaulinaKomorek/Order-Form
7c56852e4367d6dd80fd9b500bf4e4ae4d4e06f6
[ "MIT" ]
null
null
null
validation_messages.py
PaulinaKomorek/Order-Form
7c56852e4367d6dd80fd9b500bf4e4ae4d4e06f6
[ "MIT" ]
null
null
null
validation_messages = { "en": { "e-mail": "Invalid e-mail address.", "telephone": "Invalid telephone number.", "code": "Invalid postal code." }, "pl": { "e-mail": "Niewaciwy adres e-mail.", "telephone": "Niewaciwy format numeru telefonu.", "code": "Nie...
22.9375
59
0.544959
df234c85802f9c15bc9466661d8b752a7a594bd0
8,009
py
Python
edkrepo/commands/checkout_pin_command.py
nate-desimone/edk2-edkrepo
a3f30d275afce0467a38b3d2e3194a710f8c0e22
[ "BSD-2-Clause-Patent" ]
4
2021-04-18T22:04:59.000Z
2022-03-31T03:59:17.000Z
edkrepo/commands/checkout_pin_command.py
nate-desimone/edk2-edkrepo
a3f30d275afce0467a38b3d2e3194a710f8c0e22
[ "BSD-2-Clause-Patent" ]
19
2021-04-06T21:07:29.000Z
2022-03-25T17:17:25.000Z
edkrepo/commands/checkout_pin_command.py
nate-desimone/edk2-edkrepo
a3f30d275afce0467a38b3d2e3194a710f8c0e22
[ "BSD-2-Clause-Patent" ]
9
2021-03-16T23:13:09.000Z
2021-11-20T09:19:38.000Z
#!/usr/bin/env python3 # ## @file # checkout_pin_command.py # # Copyright (c) 2017 - 2020, Intel Corporation. All rights reserved.<BR> # SPDX-License-Identifier: BSD-2-Clause-Patent # import os from git import Repo from edkrepo.commands.edkrepo_command import EdkrepoCommand, OverrideArgument, SourceMani...
55.618056
164
0.710326
df24d31f00fafdf9649aee8146b7fac334d4cd87
634
py
Python
multiple_futures_prediction/cmd/train_carla_cmd.py
cpacker/multiple-futures-prediction-carla
dfc97ab6d55976f86509883c7541b0920266472e
[ "AML" ]
6
2021-07-29T03:36:50.000Z
2022-03-07T21:13:25.000Z
multiple_futures_prediction/cmd/train_carla_cmd.py
cpacker/multiple-futures-prediction-carla
dfc97ab6d55976f86509883c7541b0920266472e
[ "AML" ]
1
2021-11-04T14:31:58.000Z
2021-11-25T07:42:54.000Z
multiple_futures_prediction/cmd/train_carla_cmd.py
cpacker/multiple-futures-prediction-carla
dfc97ab6d55976f86509883c7541b0920266472e
[ "AML" ]
1
2021-08-11T08:36:54.000Z
2021-08-11T08:36:54.000Z
from typing import List, Set, Dict, Tuple, Optional, Union, Any from multiple_futures_prediction.train_carla import train, Params import gin import argparse # python -m multiple_futures_prediction.cmd.train_carla_cmd --config multiple_futures_prediction/configs/mfp2_carla.gin if __name__ == '__main__': main()
31.7
119
0.774448
df25072fc6ba2811f192af90776038fc94d1abb2
2,215
py
Python
conformalmapping/mobiusbase.py
TorbenFricke/cmtoolkit
f1bf1ec191fd9b20e6edcd3385c8b9fee1d638ca
[ "BSD-3-Clause" ]
16
2017-10-14T17:13:48.000Z
2022-01-11T22:19:45.000Z
conformalmapping/mobiusbase.py
TorbenFricke/cmtoolkit
f1bf1ec191fd9b20e6edcd3385c8b9fee1d638ca
[ "BSD-3-Clause" ]
11
2015-05-11T08:02:42.000Z
2020-05-21T16:13:45.000Z
conformalmapping/mobiusbase.py
TorbenFricke/cmtoolkit
f1bf1ec191fd9b20e6edcd3385c8b9fee1d638ca
[ "BSD-3-Clause" ]
3
2019-12-31T23:07:29.000Z
2021-03-08T02:05:38.000Z
# This file is a part of the CMToolbox. # It is licensed under the BSD 3-clause license. # (See LICENSE.) # # Copyright Toby Driscoll, 2014. # (Re)written by Everett Kropf, 2014, # adapted from code by Toby Driscoll, originally 20??. # Python Port Copyright Andrew Walker, 2015 import numpy as np from .conformalmap impo...
27.6875
76
0.528217
df250a4194a7dab451b6efac9277905f30e795d0
9,263
py
Python
DynamicETLDashboard/DynamicETL_Dashboard/Database/postgres.py
BRutan/DynamicETLDashboard
8a40e6f51e53f084d6103ba41cd675916505652f
[ "MIT" ]
null
null
null
DynamicETLDashboard/DynamicETL_Dashboard/Database/postgres.py
BRutan/DynamicETLDashboard
8a40e6f51e53f084d6103ba41cd675916505652f
[ "MIT" ]
null
null
null
DynamicETLDashboard/DynamicETL_Dashboard/Database/postgres.py
BRutan/DynamicETLDashboard
8a40e6f51e53f084d6103ba41cd675916505652f
[ "MIT" ]
null
null
null
##################################### # Database/postgres.py ##################################### # Description: # * Objects related to interacting # with SQL database that uses PostGres # as SQL flavor language. from Database.base import DBInterface, TableObject from Database.columnattributes import ColumnAttributes...
37.052
142
0.542049
df28edb21e9e2817d36879bcf07649fe6ff3f212
1,492
py
Python
CNN/Pooling/pooling_fig.py
Anfany/Machine-Learning-for-Beginner
1022ee7ce4d387da5e5fd8c3b66ac9b1bfc1974c
[ "MIT" ]
397
2018-05-28T02:07:32.000Z
2022-03-30T09:53:37.000Z
CNN/Pooling/pooling_fig.py
976634681/Machine-Learning-for-Beginner-by-Python3
d9effcbb1b390dc608a0f4c0a28f0ad03892047a
[ "MIT" ]
4
2019-01-14T16:41:02.000Z
2021-03-11T13:23:06.000Z
CNN/Pooling/pooling_fig.py
976634681/Machine-Learning-for-Beginner-by-Python3
d9effcbb1b390dc608a0f4c0a28f0ad03892047a
[ "MIT" ]
235
2018-06-28T05:31:40.000Z
2022-03-11T03:20:07.000Z
# -*- codingutf-8 -*- # &Author AnFany # import pooling as p from skimage import io from PIL import Image import numpy as np def generate_fig(fig, file, func): """ # :param fig: :param file: :return: """ matrix = io.imread(fig) # R R = matrix[:, :, 0] ...
19.893333
71
0.571716
df2a420e9ab168f15ae231c9d5d4b6cf8fdecd25
2,406
py
Python
tpot/built_in_operators.py
ensemblr/hacking-sklearn
9168bd5fcfc8a50cffa3dfdbb5050addcc8e173b
[ "MIT" ]
null
null
null
tpot/built_in_operators.py
ensemblr/hacking-sklearn
9168bd5fcfc8a50cffa3dfdbb5050addcc8e173b
[ "MIT" ]
null
null
null
tpot/built_in_operators.py
ensemblr/hacking-sklearn
9168bd5fcfc8a50cffa3dfdbb5050addcc8e173b
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Copyright 2015-Present Randal S. Olson This file is part of the TPOT library. TPOT is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your...
31.657895
176
0.66251
df2cb546e59d1e0f0b0e034c6d5c8d0552eb31b0
148
py
Python
FATS/__init__.py
cridonoso/FATS-slim
a79429d87bb74f430bcbf72a5b3cf1bfb12908c1
[ "MIT" ]
68
2015-07-08T06:39:53.000Z
2022-03-31T16:34:16.000Z
FATS/__init__.py
cridonoso/FATS-slim
a79429d87bb74f430bcbf72a5b3cf1bfb12908c1
[ "MIT" ]
7
2017-04-01T04:03:57.000Z
2020-02-27T02:50:21.000Z
FATS/__init__.py
cridonoso/FATS-slim
a79429d87bb74f430bcbf72a5b3cf1bfb12908c1
[ "MIT" ]
45
2015-08-06T20:11:05.000Z
2022-03-31T16:34:26.000Z
from .import_lightcurve import ReadLC_MACHO from .Feature import FeatureSpace from .alignLC import Align_LC from .PreprocessLC import Preprocess_LC
29.6
43
0.864865
df2cdfceefa5a4090e5ad33a71db056311e13ea0
25,217
py
Python
mods/Protection.py
VinMannie/BombSquad-Community-Mod-Manager
d80d8bfe5c9bae422990df0df78e6098f379b27d
[ "Unlicense" ]
3
2018-12-31T01:34:57.000Z
2020-08-12T18:50:40.000Z
mods/Protection.py
EternalARK/BombSquad-Community-Mod-Manager
aa9318217a5bd86d2b897208536a8caf69fda939
[ "Unlicense" ]
null
null
null
mods/Protection.py
EternalARK/BombSquad-Community-Mod-Manager
aa9318217a5bd86d2b897208536a8caf69fda939
[ "Unlicense" ]
2
2021-02-03T06:43:01.000Z
2021-05-09T09:23:34.000Z
import bs import random import bsUtils def getInstanceDescription(self): return 'Last team standing wins.' if isinstance(self.getSession(),bs.TeamsSession) else 'Protect your twin!' def getInstanceScoreBoardDescription(self): return 'last team standing wins' if isinstance(self.getSes...
46.016423
140
0.511679
df2df1da0ca98a017a823acaaefd712f2d812056
2,612
py
Python
scripts/write_NAICS_07_to_17_Crosswalk.py
cchiq/flowsa
fc21e8da7c3ba66ca4ae4a0c72f568af7ef5e6c0
[ "CC0-1.0" ]
null
null
null
scripts/write_NAICS_07_to_17_Crosswalk.py
cchiq/flowsa
fc21e8da7c3ba66ca4ae4a0c72f568af7ef5e6c0
[ "CC0-1.0" ]
null
null
null
scripts/write_NAICS_07_to_17_Crosswalk.py
cchiq/flowsa
fc21e8da7c3ba66ca4ae4a0c72f568af7ef5e6c0
[ "CC0-1.0" ]
null
null
null
# write_NAICS_from_Census.py (scripts) # !/usr/bin/env python3 # coding=utf-8 """ Uses a csv file manually loaded, originally from USEEIOR (4/18/2020), to form base NAICS crosswalk from 2007-2017 Loops through the source crosswalks to find any NAICS not in offical Census NAICS Code list. Adds the additional NAICS to ...
37.855072
118
0.761103
df2e85e1bf6d4c5bdffa79943cdcf80beaa21932
4,662
py
Python
lwtestsuite/bvttest/xlwt-0.7.2/tests/RKbug.py
kbore/pbis-open
a05eb9309269b6402b4d6659bc45961986ea5eab
[ "Apache-2.0" ]
372
2016-10-28T10:50:35.000Z
2022-03-18T19:54:37.000Z
lwtestsuite/bvttest/xlwt-0.7.2/tests/RKbug.py
kbore/pbis-open
a05eb9309269b6402b4d6659bc45961986ea5eab
[ "Apache-2.0" ]
317
2016-11-02T17:41:48.000Z
2021-11-08T20:28:19.000Z
contrib/xlwt/tests/RKbug.py
RyanBalfanz/Django-Bingo
0ba9f893c78fae1a5fb5eb45e43b36783d930e25
[ "BSD-3-Clause" ]
107
2016-11-03T19:25:16.000Z
2022-03-20T21:15:22.000Z
from xlwt import * import sys from struct import pack, unpack def RK_encode(num, blah=0): """\ Return a 4-byte RK encoding of the input float value if possible, else return None. """ rk_encoded = 0 packed = pack('<d', num) if blah: print if blah: print repr(num) w0...
31.5
90
0.51287
df30c65c005e4996721841cf4d4cd23814b2376e
7,843
py
Python
tools/include_tracer.py
nagineni/chromium-crosswalk
5725642f1c67d0f97e8613ec1c3e8107ab53fdf8
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2015-03-04T02:36:53.000Z
2016-06-25T11:22:17.000Z
tools/include_tracer.py
j4ckfrost/android_external_chromium_org
a1a3dad8b08d1fcf6b6b36c267158ed63217c780
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
tools/include_tracer.py
j4ckfrost/android_external_chromium_org
a1a3dad8b08d1fcf6b6b36c267158ed63217c780
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
4
2015-02-09T08:49:30.000Z
2017-08-26T02:03:34.000Z
#!/usr/bin/env python # Copyright (c) 2011 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. # based on an almost identical script by: jyrki@google.com (Jyrki Alakuijala) """Prints out include dependencies in chrome. Since ...
38.635468
77
0.740405
df3131e54cecde3ec2464b9bff8f0efb877b6437
50
py
Python
gaft/operators/selection/__init__.py
lizhaofu/gaft
883ce7d5b7b48e9cb3d1d4819570c42b69f3f679
[ "MIT" ]
null
null
null
gaft/operators/selection/__init__.py
lizhaofu/gaft
883ce7d5b7b48e9cb3d1d4819570c42b69f3f679
[ "MIT" ]
null
null
null
gaft/operators/selection/__init__.py
lizhaofu/gaft
883ce7d5b7b48e9cb3d1d4819570c42b69f3f679
[ "MIT" ]
null
null
null
''' Package for built-in selection operators '''
16.666667
48
0.7
df3143b0672c260639f676129c3bf8201d95041c
10,098
py
Python
posttologmet.py
ibm-cloud-architecture/MonitorOpenWhiskActivations
a8fae2304a4bb51a6ed7c4eec4b1817662873dc2
[ "Apache-2.0" ]
2
2018-01-19T19:26:24.000Z
2018-08-14T12:55:30.000Z
posttologmet.py
ibm-cloud-architecture/MonitorOpenWhiskActivations
a8fae2304a4bb51a6ed7c4eec4b1817662873dc2
[ "Apache-2.0" ]
null
null
null
posttologmet.py
ibm-cloud-architecture/MonitorOpenWhiskActivations
a8fae2304a4bb51a6ed7c4eec4b1817662873dc2
[ "Apache-2.0" ]
2
2018-01-19T19:25:47.000Z
2019-10-23T16:35:04.000Z
import sys, requests, json # This is just a copy/paste of the python logmet class from https://github.com/locke105/pylogmet import logging import select import socket import ssl import struct import time LOG = logging.getLogger(__name__) logging.basicConfig(level=logging.DEBUG)
29.526316
111
0.553674
df317360fd387a84ff0e026f66ae71e5d980bda4
495
py
Python
djexperience/crm/tests/test_model_phoneemployee.py
rg3915/django-experience-2016
76adaa55c537f3b9fa48b601d4a97fd6e04371c0
[ "MIT" ]
1
2022-01-01T22:19:49.000Z
2022-01-01T22:19:49.000Z
djexperience/crm/tests/test_model_phoneemployee.py
rg3915/django-experience-2016
76adaa55c537f3b9fa48b601d4a97fd6e04371c0
[ "MIT" ]
null
null
null
djexperience/crm/tests/test_model_phoneemployee.py
rg3915/django-experience-2016
76adaa55c537f3b9fa48b601d4a97fd6e04371c0
[ "MIT" ]
null
null
null
from django.test import TestCase from djexperience.crm.models import PhoneEmployee, Employee from .data import EMPLOYEE_DICT
26.052632
64
0.664646
df32ca1463cd1cb6d8d2a34bb9db9fda93314381
1,008
py
Python
esk/secrets/main.py
esk8s/esk
0e559fbec7e70be140afac0c8961700f8145e704
[ "Apache-2.0" ]
1
2021-04-08T13:07:18.000Z
2021-04-08T13:07:18.000Z
esk/secrets/main.py
esk8s/esk
0e559fbec7e70be140afac0c8961700f8145e704
[ "Apache-2.0" ]
null
null
null
esk/secrets/main.py
esk8s/esk
0e559fbec7e70be140afac0c8961700f8145e704
[ "Apache-2.0" ]
null
null
null
import base64 import json import random import string from os import remove from hashlib import sha256 from cryptography.hazmat.primitives.ciphers.aead import AESGCM
22.909091
88
0.696429
df3432d6e2a094c4246fd08ba4fe7e3f3b600158
369
py
Python
Day 25 - CSVs, Pandas and US States Game/CSV & Pandas Intro/testing_stuff.py
ArielMAJ/100-days-of-code
995f5ca092c2cf345a500cbd70fdb25f4361f183
[ "MIT" ]
null
null
null
Day 25 - CSVs, Pandas and US States Game/CSV & Pandas Intro/testing_stuff.py
ArielMAJ/100-days-of-code
995f5ca092c2cf345a500cbd70fdb25f4361f183
[ "MIT" ]
null
null
null
Day 25 - CSVs, Pandas and US States Game/CSV & Pandas Intro/testing_stuff.py
ArielMAJ/100-days-of-code
995f5ca092c2cf345a500cbd70fdb25f4361f183
[ "MIT" ]
null
null
null
# with open('./weather_data.csv') as f: # data = [line.split(',') for line in f.read().split('\n')] # print(data) # # import csv # # with open('weather_data.csv') as f: # data = csv.reader(f) # temperature = [] # for row in data: # try: # temperature.append(int(row[1])) # exc...
23.0625
63
0.533875
df3496517f3326067454cbe31d1f7cc89ddd076e
4,519
py
Python
src/parse_RAF.py
vtt-project/VTT_vid_emotion-1
e142d7dcab5343de217088face2127d5cb9add07
[ "MIT" ]
4
2019-04-29T02:20:21.000Z
2021-05-03T00:03:04.000Z
src/parse_RAF.py
vtt-project/VTT_vid_emotion-1
e142d7dcab5343de217088face2127d5cb9add07
[ "MIT" ]
null
null
null
src/parse_RAF.py
vtt-project/VTT_vid_emotion-1
e142d7dcab5343de217088face2127d5cb9add07
[ "MIT" ]
1
2019-12-16T05:02:55.000Z
2019-12-16T05:02:55.000Z
# preliminaries import sys,os,time,cv2 import numpy as np import matplotlib.pyplot as plt from utils import imread_to_rgb, img_rgb2bw DB_PATH = '/home/jhchoi/datasets4/RAF/' raf_dict = dict() #FER: 0=angry, 1=disgust, 2=fear, 3=happy, 4=sad, 5=surprise, 6=neutral #RAF-basic and RAF-multi: # 1:Surprise, 2:Fear, 3:Disg...
30.952055
118
0.639079
df354d4ab04d9b072a1e9fda28e845b051ee73fc
5,322
py
Python
lib/interactiveBrokers/handlers.py
alexanu/trading-with-python
e6d6f6daea3089aebcd0f48c2e69c8bfe23c332c
[ "BSD-3-Clause" ]
318
2015-04-07T01:44:35.000Z
2022-03-18T07:39:36.000Z
lib/interactiveBrokers/handlers.py
alexanu/trading-with-python
e6d6f6daea3089aebcd0f48c2e69c8bfe23c332c
[ "BSD-3-Clause" ]
10
2015-03-19T21:31:29.000Z
2020-11-26T12:46:53.000Z
lib/interactiveBrokers/handlers.py
alexanu/trading-with-python
e6d6f6daea3089aebcd0f48c2e69c8bfe23c332c
[ "BSD-3-Clause" ]
137
2015-04-07T01:33:47.000Z
2022-03-18T07:40:08.000Z
# -*- coding: utf-8 -*- """ Common handlers for ibpy Created on Thu Mar 19 22:34:20 2015 @author: Jev Kuznetsov License: BSD """ import pandas as pd from ib.ext.Order import Order
30.067797
95
0.560691
df36df1446411e1738debdb04d767ff908e75d73
1,149
py
Python
comparer/migrations/0017_auto_20210824_1239.py
dzejkobi/institution-comparisoner
3f7ff16bd2b5065a95607bf895c9d28f8e9182a4
[ "MIT" ]
null
null
null
comparer/migrations/0017_auto_20210824_1239.py
dzejkobi/institution-comparisoner
3f7ff16bd2b5065a95607bf895c9d28f8e9182a4
[ "MIT" ]
null
null
null
comparer/migrations/0017_auto_20210824_1239.py
dzejkobi/institution-comparisoner
3f7ff16bd2b5065a95607bf895c9d28f8e9182a4
[ "MIT" ]
null
null
null
# Generated by Django 3.1.12 on 2021-08-24 12:39 from django.db import migrations, models
39.62069
183
0.671018
df385247bc18a2e45e873a4d2488d523dd1ffa7f
2,294
py
Python
PE011-Largest product in a grid/PE011.py
christosg88/ProjectEuler
6fe131b03b0f81b12a219d5c7d6fe17d9a91eeee
[ "MIT" ]
null
null
null
PE011-Largest product in a grid/PE011.py
christosg88/ProjectEuler
6fe131b03b0f81b12a219d5c7d6fe17d9a91eeee
[ "MIT" ]
null
null
null
PE011-Largest product in a grid/PE011.py
christosg88/ProjectEuler
6fe131b03b0f81b12a219d5c7d6fe17d9a91eeee
[ "MIT" ]
null
null
null
# In the 20*20 grid below, four numbers along a diagonal line # have been marked in red. # The product of these numbers is 26 * 63 * 78 * 14 = 1788696. # What is the greatest product of four adjacent numbers in the same direction # (up, down, left, right, or diagonally) in the 20*20 grid? rows = 20 columns = 20 grid =...
38.233333
131
0.527899
df38658053445855800c66fb717ebfdb22768f78
128
py
Python
snippets - pandas/plotting-pandas.py
bjfisica/MachineLearning
20349301ae7f82cd5048410b0cf1f7a5f7d7e5a2
[ "MIT" ]
52
2019-02-15T16:37:13.000Z
2022-02-17T18:34:30.000Z
snippets - pandas/plotting-pandas.py
RodeoBlues/Complete-Data-Science-Toolkits
c5e83889e24af825ec3baed6e8198debb135f1ff
[ "MIT" ]
null
null
null
snippets - pandas/plotting-pandas.py
RodeoBlues/Complete-Data-Science-Toolkits
c5e83889e24af825ec3baed6e8198debb135f1ff
[ "MIT" ]
22
2017-11-25T23:42:16.000Z
2019-01-07T09:22:35.000Z
import pandas as pd #histogram for each column df.plot.hist() #scatter chart using pairs of points df.plot.scatter(x='w',y='h')
25.6
36
0.742188
df39262f139c78a5d2f3f0a8df730229c9791e7e
636
py
Python
src/models/__init__.py
leeesangwon/CNN_sentence.pytorch
512a1fe1de359f01557b6441a0571d7d98335716
[ "MIT" ]
null
null
null
src/models/__init__.py
leeesangwon/CNN_sentence.pytorch
512a1fe1de359f01557b6441a0571d7d98335716
[ "MIT" ]
null
null
null
src/models/__init__.py
leeesangwon/CNN_sentence.pytorch
512a1fe1de359f01557b6441a0571d7d98335716
[ "MIT" ]
null
null
null
from .cnn import CNN, CNNMultiChannel MODELS = ('random', 'static', 'non-static', 'multi-channel')
33.473684
66
0.70283
df39fdc57b5a830b3a9e319ad857dd37de453a65
680
py
Python
examples/miniapps/movie-lister/movies/__main__.py
JarnoRFB/python-dependency-injector
39f3f3a6232d846980cdf7fd106490751210d4f0
[ "BSD-3-Clause" ]
null
null
null
examples/miniapps/movie-lister/movies/__main__.py
JarnoRFB/python-dependency-injector
39f3f3a6232d846980cdf7fd106490751210d4f0
[ "BSD-3-Clause" ]
null
null
null
examples/miniapps/movie-lister/movies/__main__.py
JarnoRFB/python-dependency-injector
39f3f3a6232d846980cdf7fd106490751210d4f0
[ "BSD-3-Clause" ]
null
null
null
"""Main module.""" import sys from dependency_injector.wiring import Provide from .listers import MovieLister from .containers import Container if __name__ == '__main__': container = Container() container.config.from_yaml('config.yml') container.config.finder.type.from_env('MOVIE_FINDER_TYPE') con...
24.285714
66
0.704412
df3a80c657f7daf93c46d3e63b16bbedbda7ac9e
16,502
py
Python
captcha/base.py
Kami-DiscordBot/Predeactor-Cogs
a3b6a38a7440b58c6b229e5aa07d66f52d128eae
[ "Apache-2.0" ]
18
2020-06-19T22:46:19.000Z
2022-01-30T12:59:16.000Z
captcha/base.py
Kami-DiscordBot/Predeactor-Cogs
a3b6a38a7440b58c6b229e5aa07d66f52d128eae
[ "Apache-2.0" ]
39
2020-03-09T13:36:25.000Z
2021-08-19T00:41:39.000Z
captcha/base.py
Kami-DiscordBot/Predeactor-Cogs
a3b6a38a7440b58c6b229e5aa07d66f52d128eae
[ "Apache-2.0" ]
17
2020-08-06T21:47:19.000Z
2021-11-04T20:42:57.000Z
import logging from contextlib import suppress from datetime import datetime from typing import Optional, Union import discord from redbot.core import Config, commands from redbot.core.bot import Red from redbot.core.utils.chat_formatting import bold, error, humanize_list from .abc import CompositeMetaClass from .api...
40.64532
102
0.574536
df3bf899638da406b7123ee13fad1b04c0a2568e
59
py
Python
python/dataingest/patents/svc/__init__.py
jiportilla/ontology
8a66bb7f76f805c64fc76cfc40ab7dfbc1146f40
[ "MIT" ]
null
null
null
python/dataingest/patents/svc/__init__.py
jiportilla/ontology
8a66bb7f76f805c64fc76cfc40ab7dfbc1146f40
[ "MIT" ]
null
null
null
python/dataingest/patents/svc/__init__.py
jiportilla/ontology
8a66bb7f76f805c64fc76cfc40ab7dfbc1146f40
[ "MIT" ]
null
null
null
from .generate_src_collection import GenerateSrcCollection
29.5
58
0.915254
df3d918094e9cfb4767b18d9d9e86fe852bc2e66
607
py
Python
servicesapp/tests.py
heyylateef/lateeflab
4d7cdf3232eb22fe1151bd92beb04b7789cf9f71
[ "MIT" ]
null
null
null
servicesapp/tests.py
heyylateef/lateeflab
4d7cdf3232eb22fe1151bd92beb04b7789cf9f71
[ "MIT" ]
null
null
null
servicesapp/tests.py
heyylateef/lateeflab
4d7cdf3232eb22fe1151bd92beb04b7789cf9f71
[ "MIT" ]
null
null
null
from django.test import TestCase from django.core.mail import send_mail from django.conf import settings from .views import email_inquiry from .forms import ContactForm # Create your tests here.
37.9375
152
0.747941
df3df25b4492d882101df69a106581e2eacb1d2f
2,392
py
Python
frappe-bench/env/lib/python2.7/site-packages/plaid/api/sandbox.py
ibrahmm22/library-management
b88a2129a5a2e96ce1f945ec8ba99a0b63b8c506
[ "MIT" ]
null
null
null
frappe-bench/env/lib/python2.7/site-packages/plaid/api/sandbox.py
ibrahmm22/library-management
b88a2129a5a2e96ce1f945ec8ba99a0b63b8c506
[ "MIT" ]
null
null
null
frappe-bench/env/lib/python2.7/site-packages/plaid/api/sandbox.py
ibrahmm22/library-management
b88a2129a5a2e96ce1f945ec8ba99a0b63b8c506
[ "MIT" ]
null
null
null
from plaid.api.api import API
27.813953
76
0.589465
df3e3ee51a546d9823688523e9951c6bf395670b
483
py
Python
Part-03-Understanding-Software-Crafting-Your-Own-Tools/models/edx-platform/lms/envs/pact.py
osoco/better-ways-of-thinking-about-software
83e70d23c873509e22362a09a10d3510e10f6992
[ "MIT" ]
3
2021-12-15T04:58:18.000Z
2022-02-06T12:15:37.000Z
Part-03-Understanding-Software-Crafting-Your-Own-Tools/models/edx-platform/lms/envs/pact.py
osoco/better-ways-of-thinking-about-software
83e70d23c873509e22362a09a10d3510e10f6992
[ "MIT" ]
null
null
null
Part-03-Understanding-Software-Crafting-Your-Own-Tools/models/edx-platform/lms/envs/pact.py
osoco/better-ways-of-thinking-about-software
83e70d23c873509e22362a09a10d3510e10f6992
[ "MIT" ]
1
2019-01-02T14:38:50.000Z
2019-01-02T14:38:50.000Z
""" Settings for Pact Verification Tests. """ from .test import * # pylint: disable=wildcard-import, unused-wildcard-import #### Allow Pact Provider States URL #### PROVIDER_STATES_URL = True #### Default User name for Pact Requests Authentication ##### MOCK_USERNAME = 'Mock User' ######################### Add Aut...
32.2
109
0.677019
df3ec7382f03ff1dc0f4c5ebdc2543927a15d2f3
249
py
Python
Python/Collections/Collections.OrderedDict()/solution.py
rawat9/HackerRank
1483eee58c717ebf45fe749de6b1ad899edc13d7
[ "MIT" ]
null
null
null
Python/Collections/Collections.OrderedDict()/solution.py
rawat9/HackerRank
1483eee58c717ebf45fe749de6b1ad899edc13d7
[ "MIT" ]
null
null
null
Python/Collections/Collections.OrderedDict()/solution.py
rawat9/HackerRank
1483eee58c717ebf45fe749de6b1ad899edc13d7
[ "MIT" ]
null
null
null
from collections import OrderedDict n = int(input()) d = OrderedDict() for _ in range(n): items = input() item_name, price = items.rsplit(" ", 1) d[item_name] = d.get(item_name, 0) + int(price) for k, v in d.items(): print(k, v)
17.785714
51
0.614458
df3eca2afb67a03da3e9f98bd54037bb4d43d7a7
123
py
Python
trading/apps.py
DarkoR12/dafi-system
f923ea4273b04f7acc7016b2f7d03e51eb00b85b
[ "MIT" ]
7
2019-08-03T12:25:18.000Z
2021-11-02T12:51:33.000Z
trading/apps.py
DarkoR12/dafi-system
f923ea4273b04f7acc7016b2f7d03e51eb00b85b
[ "MIT" ]
11
2019-08-20T17:07:37.000Z
2021-11-23T14:26:07.000Z
trading/apps.py
DarkoR12/dafi-system
f923ea4273b04f7acc7016b2f7d03e51eb00b85b
[ "MIT" ]
4
2020-04-06T11:33:02.000Z
2021-10-31T09:10:53.000Z
from django.apps import AppConfig
17.571429
33
0.739837
df4032134b57e6ab6f700535ca97fb4a7c423b73
4,048
py
Python
classes/data_screen.py
johnyburd/glucometer
075a48cff38e0570960fc2b8968bcb8b5ddd647f
[ "MIT" ]
12
2016-11-02T09:15:32.000Z
2021-04-08T18:42:01.000Z
classes/data_screen.py
johnyburd/glucometer
075a48cff38e0570960fc2b8968bcb8b5ddd647f
[ "MIT" ]
null
null
null
classes/data_screen.py
johnyburd/glucometer
075a48cff38e0570960fc2b8968bcb8b5ddd647f
[ "MIT" ]
3
2018-10-18T15:59:57.000Z
2021-01-20T21:03:48.000Z
# Class for the data_screen. Manages displaying data stored by the meter. from kivy.clock import Clock from kivy.uix.screenmanager import Screen from kivy.uix.button import Button from kivy.uix.popup import Popup from kivy.uix.label import Label from kivy.core.window import Window from kivy.uix.boxlayout import BoxLa...
29.547445
103
0.590168
df40520ca3659cc22f496aa644d7242d8e66e927
2,104
py
Python
aoc24.py
juestr/aoc-2021
11e31f9dafd234cf4617ff596546cd7a17189f79
[ "MIT" ]
null
null
null
aoc24.py
juestr/aoc-2021
11e31f9dafd234cf4617ff596546cd7a17189f79
[ "MIT" ]
null
null
null
aoc24.py
juestr/aoc-2021
11e31f9dafd234cf4617ff596546cd7a17189f79
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import sys # This was very hard, but I attempted a blackbox general solution without # analyzing the code by hand first. # Trying to solve this with sympy hangs while building and simplifying # expressions far from the required depth, and I didn't want to mess with # better solvers. # I had to ...
32.875
81
0.548954