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
45aeb9485e10641d6d2f2f2177a15994e6ffa7cd
3,004
py
Python
image_classifier_flowers/ImageClassifier/data_management.py
ChrisEdel/AI-Programming-with-Python-Nanodegree
918dc383cc46b50dd2d6c420cbef1c2347ad1c43
[ "MIT" ]
null
null
null
image_classifier_flowers/ImageClassifier/data_management.py
ChrisEdel/AI-Programming-with-Python-Nanodegree
918dc383cc46b50dd2d6c420cbef1c2347ad1c43
[ "MIT" ]
null
null
null
image_classifier_flowers/ImageClassifier/data_management.py
ChrisEdel/AI-Programming-with-Python-Nanodegree
918dc383cc46b50dd2d6c420cbef1c2347ad1c43
[ "MIT" ]
null
null
null
import torch from torchvision import datasets, transforms, models from PIL import Image def process_image(image): ''' Scales, crops, and normalizes a PIL image for a PyTorch model, returns an Numpy array ''' image = Image.open(image) image_transform = transforms.Compose([transforms.Resize...
50.915254
97
0.498336
45b197a9d2ff1bd1c087f9b6df99427829783c26
11,544
py
Python
sdk/python/pulumi_oci/dns/get_resolver_endpoint.py
EladGabay/pulumi-oci
6841e27d4a1a7e15c672306b769912efbfd3ba99
[ "ECL-2.0", "Apache-2.0" ]
5
2021-08-17T11:14:46.000Z
2021-12-31T02:07:03.000Z
sdk/python/pulumi_oci/dns/get_resolver_endpoint.py
pulumi-oci/pulumi-oci
6841e27d4a1a7e15c672306b769912efbfd3ba99
[ "ECL-2.0", "Apache-2.0" ]
1
2021-09-06T11:21:29.000Z
2021-09-06T11:21:29.000Z
sdk/python/pulumi_oci/dns/get_resolver_endpoint.py
pulumi-oci/pulumi-oci
6841e27d4a1a7e15c672306b769912efbfd3ba99
[ "ECL-2.0", "Apache-2.0" ]
2
2021-08-24T23:31:30.000Z
2022-01-02T19:26:54.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...
41.228571
326
0.669179
45b52df1d91555aa0d10d06f736b608de959c083
60
py
Python
tests/__init__.py
ExterraGroup/pyrsi
7999e58dc9260ec61dd7efe33c32dbcf02fdfa86
[ "MIT" ]
8
2018-12-10T17:07:35.000Z
2020-12-25T01:25:15.000Z
tests/__init__.py
ExterraGroup/pyrsi
7999e58dc9260ec61dd7efe33c32dbcf02fdfa86
[ "MIT" ]
1
2020-01-15T03:52:47.000Z
2020-01-15T03:52:47.000Z
tests/__init__.py
ExterraGroup/pyrsi
7999e58dc9260ec61dd7efe33c32dbcf02fdfa86
[ "MIT" ]
2
2019-05-16T16:43:30.000Z
2020-06-05T11:24:07.000Z
# -*- coding: utf-8 -*- """Unit test package for pyrsi."""
15
34
0.55
45b610b0abf81014b491f3486a035e492906a5f7
3,980
py
Python
src/morphforge/traces/methods/trace_methods_std_filters.py
mikehulluk/morphforge
2a95096f144ed4ea487decb735ce66706357d3c7
[ "BSD-2-Clause" ]
1
2021-01-21T11:31:59.000Z
2021-01-21T11:31:59.000Z
src/morphforge/traces/methods/trace_methods_std_filters.py
mikehulluk/morphforge
2a95096f144ed4ea487decb735ce66706357d3c7
[ "BSD-2-Clause" ]
null
null
null
src/morphforge/traces/methods/trace_methods_std_filters.py
mikehulluk/morphforge
2a95096f144ed4ea487decb735ce66706357d3c7
[ "BSD-2-Clause" ]
null
null
null
#!/usr/bin/python # -*- coding: utf-8 -*- # --------------------------------------------------------------------- # Copyright (c) 2012 Michael Hull. # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are m...
39.019608
113
0.710804
45b6462ff728650517df81b64394ea4eb748f3d3
160
py
Python
snek/exts/syncer/__init__.py
Snek-Network/snek
5f443c00d701c985ef9362d0d98d2ac07b1c56e0
[ "MIT" ]
null
null
null
snek/exts/syncer/__init__.py
Snek-Network/snek
5f443c00d701c985ef9362d0d98d2ac07b1c56e0
[ "MIT" ]
20
2020-07-25T17:16:46.000Z
2020-10-01T19:05:55.000Z
snek/exts/syncer/__init__.py
Snek-Network/snek
5f443c00d701c985ef9362d0d98d2ac07b1c56e0
[ "MIT" ]
3
2020-08-02T20:15:58.000Z
2020-12-29T08:48:12.000Z
from snek.bot import Snek from snek.exts.syncer.cog import Syncer def setup(bot: Snek) -> None: """Load the `Syncer` cog.""" bot.add_cog(Syncer(bot))
20
39
0.675
45b69d9e8f458c8ffc0da247fee252792dcb4f07
1,176
py
Python
Python/Testing/NoiseRemove.py
mishranilesh012/Natural_Language_Processing_Techniques
cb7056d07ce339929eea289cb27aff6d08850781
[ "Apache-2.0" ]
1
2019-04-02T18:15:36.000Z
2019-04-02T18:15:36.000Z
Python/Testing/NoiseRemove.py
mishranilesh012/Natural_Language_Processing_Techniques
cb7056d07ce339929eea289cb27aff6d08850781
[ "Apache-2.0" ]
null
null
null
Python/Testing/NoiseRemove.py
mishranilesh012/Natural_Language_Processing_Techniques
cb7056d07ce339929eea289cb27aff6d08850781
[ "Apache-2.0" ]
null
null
null
import struct import scipy.io.wavfile as wf import numpy import pydub # for i in range(wave_file.getnframes()): # # read a single frame and advance to next frame # current_frame = wave_file.readframes(1) # # # check for silence # silent = True # # wave frame samples are stored in little endian**...
28
131
0.681122
45b6b44fc3e96a3e82849428dcf6936a0c8ee650
67
py
Python
merchant-server/constants.py
googleinterns/product-catalog-builder-for-smbs
c328801df5ac5064bf62372f3d32299329c0e361
[ "Apache-2.0" ]
2
2020-05-28T05:35:37.000Z
2020-05-29T15:49:22.000Z
merchant-server/constants.py
googleinterns/product-catalog-builder-for-smbs
c328801df5ac5064bf62372f3d32299329c0e361
[ "Apache-2.0" ]
13
2020-05-28T10:42:18.000Z
2022-03-31T04:10:45.000Z
merchant-server/constants.py
googleinterns/product-catalog-builder-for-smbs
c328801df5ac5064bf62372f3d32299329c0e361
[ "Apache-2.0" ]
1
2020-10-18T06:23:00.000Z
2020-10-18T06:23:00.000Z
NEW_ORDER = "NEW_ORDER" ONGOING = "ONGOING" PRODUCTS_PER_PAGE = 10
16.75
23
0.761194
45b7cd551ab39a42cf6f34b3fa05a631ee56b120
6,836
py
Python
Keras_2_trainOnBatch/train.py
sunshower76/Polyp-Segmentation
764a62dd8de134e462939aafb0c1c24d67dfb564
[ "MIT" ]
2
2020-02-13T08:09:14.000Z
2020-09-04T01:52:06.000Z
Keras_2_trainOnBatch/train.py
sunshower76/Polyp-Segmentation
764a62dd8de134e462939aafb0c1c24d67dfb564
[ "MIT" ]
null
null
null
Keras_2_trainOnBatch/train.py
sunshower76/Polyp-Segmentation
764a62dd8de134e462939aafb0c1c24d67dfb564
[ "MIT" ]
null
null
null
import os """ # If you have multi-gpu, designate the number of GPU to use. os.environ["CUDA_DEVICE_ORDER"]="PCI_BUS_ID" os.environ["CUDA_VISIBLE_DEVICES"] = "6" """ import argparse import logging from tqdm import tqdm # progress bar import numpy as np import matplotlib.pyplot as plt from keras import optimizers from...
39.744186
137
0.628584
45b8989508eca27d897d3e4bed1d5e5680833bf5
295
py
Python
app/api/auth/api_v1/scheme.py
renovate-tests/pol
dca9aa4ce34273575d69a140dc3bb1d2ac14ecbf
[ "MIT" ]
5
2019-05-11T05:14:44.000Z
2019-09-07T10:22:53.000Z
app/api/auth/api_v1/scheme.py
renovate-tests/pol
dca9aa4ce34273575d69a140dc3bb1d2ac14ecbf
[ "MIT" ]
161
2019-09-09T07:30:25.000Z
2022-03-14T19:52:43.000Z
app/api/auth/api_v1/scheme.py
renovate-tests/pol
dca9aa4ce34273575d69a140dc3bb1d2ac14ecbf
[ "MIT" ]
3
2019-09-07T13:15:05.000Z
2020-05-06T04:30:46.000Z
from fastapi.security.api_key import APIKeyCookie, APIKeyHeader API_KEY_NAME = "api_key" cookie_scheme = APIKeyCookie(name="bgm-tv-auto-tracker", auto_error=False) API_KEY_HEADER = APIKeyHeader(name="api-key", auto_error=False) API_KEY_COOKIES = APIKeyCookie(name="api-key", auto_error=False)
36.875
74
0.80678
45b987982837b9ed03a23d347da0eb3d6742289f
1,447
py
Python
py_code/concise-tensorflow/cnn_model.py
xiangnan-fan/proj01
856b1a444a526fa35e3fc1328669526429fd56af
[ "Apache-2.0" ]
null
null
null
py_code/concise-tensorflow/cnn_model.py
xiangnan-fan/proj01
856b1a444a526fa35e3fc1328669526429fd56af
[ "Apache-2.0" ]
null
null
null
py_code/concise-tensorflow/cnn_model.py
xiangnan-fan/proj01
856b1a444a526fa35e3fc1328669526429fd56af
[ "Apache-2.0" ]
null
null
null
#!/bin/python3 # encoding: utf-8 import tensorflow as tf tf.enable_eager_execution()
32.886364
78
0.559088
45bc6a97de7432ce7d1214a830d477fd1ce1003b
222
py
Python
app/test/test_DQI.py
qianjing2020/lambda_lab
53a29796e42fe1d2c4e5785eaa65938cb64af67c
[ "MIT" ]
null
null
null
app/test/test_DQI.py
qianjing2020/lambda_lab
53a29796e42fe1d2c4e5785eaa65938cb64af67c
[ "MIT" ]
6
2021-04-30T21:10:55.000Z
2022-03-12T00:32:07.000Z
app/test/test_DQI.py
qianjing2020/lambda_lab
53a29796e42fe1d2c4e5785eaa65938cb64af67c
[ "MIT" ]
null
null
null
import context from modules.data_preprocess import DataCleaning, DataQualityCheck from modules.db_connect import dbConnect from test_sequence import sale qc = DataQualityCheck() result = qc.generate_QC(sale) print(result)
27.75
66
0.846847
45be19aa04aea9d081ff9b9affbf49589fe19ece
411
py
Python
traceml/traceml/vendor/matplotlylib/__init__.py
jinheeson1008/tensorflow-lstm-regression
f31fc1181a5696a25f5737398ee0715c24626248
[ "Apache-2.0" ]
4
2022-01-07T11:30:53.000Z
2022-03-22T11:48:20.000Z
traceml/traceml/vendor/matplotlylib/__init__.py
jinheeson1008/tensorflow-lstm-regression
f31fc1181a5696a25f5737398ee0715c24626248
[ "Apache-2.0" ]
9
2022-01-02T08:47:28.000Z
2022-03-18T23:18:20.000Z
traceml/traceml/vendor/matplotlylib/__init__.py
jinheeson1008/tensorflow-lstm-regression
f31fc1181a5696a25f5737398ee0715c24626248
[ "Apache-2.0" ]
null
null
null
""" matplotlylib ============ This module converts matplotlib figure objects into JSON structures which can be understood and visualized by Plotly. Most of the functionality should be accessed through the parent directory's 'tools' module or 'plotly' package. """ from __future__ import absolute_import from .rendere...
24.176471
77
0.793187
45bf0a95bab68706143f320e56db3c875bc7a37a
510
py
Python
tests/r/test_labour.py
hajime9652/observations
2c8b1ac31025938cb17762e540f2f592e302d5de
[ "Apache-2.0" ]
199
2017-07-24T01:34:27.000Z
2022-01-29T00:50:55.000Z
tests/r/test_labour.py
hajime9652/observations
2c8b1ac31025938cb17762e540f2f592e302d5de
[ "Apache-2.0" ]
46
2017-09-05T19:27:20.000Z
2019-01-07T09:47:26.000Z
tests/r/test_labour.py
hajime9652/observations
2c8b1ac31025938cb17762e540f2f592e302d5de
[ "Apache-2.0" ]
45
2017-07-26T00:10:44.000Z
2022-03-16T20:44:59.000Z
from __future__ import absolute_import from __future__ import division from __future__ import print_function import shutil import sys import tempfile from observations.r.labour import labour def test_labour(): """Test module labour.py by downloading labour.csv and testing shape of extracted data has 569 row...
21.25
44
0.75098
45bf333cb64a334ea0df54fde036b9b03fcc7508
7,449
py
Python
tests/app_test/test_undelete.py
yucealiosman/soft-delete
43e437c7fb7428c086721d42a907889f22fc8943
[ "MIT" ]
null
null
null
tests/app_test/test_undelete.py
yucealiosman/soft-delete
43e437c7fb7428c086721d42a907889f22fc8943
[ "MIT" ]
null
null
null
tests/app_test/test_undelete.py
yucealiosman/soft-delete
43e437c7fb7428c086721d42a907889f22fc8943
[ "MIT" ]
null
null
null
from django.test import TestCase from .factories import * from .models import DEFAULT_EMPLOYEE_PK
41.614525
79
0.696469
45bffe57f36e86594b385e2bf7ca20c5100b34da
660
py
Python
bin/query_config.py
ubccr/pavilion2
4c6d043b436761d9162d8824657f51cedc9907cc
[ "BSD-3-Clause" ]
1
2019-08-30T14:34:52.000Z
2019-08-30T14:34:52.000Z
bin/query_config.py
ubccr/pavilion2
4c6d043b436761d9162d8824657f51cedc9907cc
[ "BSD-3-Clause" ]
null
null
null
bin/query_config.py
ubccr/pavilion2
4c6d043b436761d9162d8824657f51cedc9907cc
[ "BSD-3-Clause" ]
null
null
null
from pavilion import config import argparse import sys parser = argparse.ArgumentParser( description="Finds the pavilion configuration, and prints the asked for " "config value.") parser.add_argument('key', nargs=1, action="store", help="The config key to look up.") args = par...
23.571429
77
0.65303
45c03d1aad06cf4ed40419309fe025d69a433126
4,679
py
Python
examples/assessing_frontier/zt_loader.py
OscarDeGar/py_grama
0a02c291326b394a8d0c127dad4c58121e568777
[ "MIT" ]
13
2020-02-24T16:51:51.000Z
2022-03-30T18:56:55.000Z
examples/assessing_frontier/zt_loader.py
OscarDeGar/py_grama
0a02c291326b394a8d0c127dad4c58121e568777
[ "MIT" ]
78
2019-12-30T19:13:21.000Z
2022-02-23T18:17:54.000Z
examples/assessing_frontier/zt_loader.py
OscarDeGar/py_grama
0a02c291326b394a8d0c127dad4c58121e568777
[ "MIT" ]
7
2020-10-19T17:49:25.000Z
2021-08-15T20:46:52.000Z
## Data Loader: TE-CCA zT Dataset # Zachary del Rosario (zdelrosario@outlook.com) 2021-03-12 # from citrination_client import CitrinationClient, PifSystemReturningQuery from citrination_client import DataQuery, DatasetQuery, Filter from matminer.featurizers.base import MultipleFeaturizer from matminer.featurizers impor...
32.268966
88
0.59906
45c165348de67e43f65f6c67a932110f6b90f7e5
577
py
Python
server/requests_test.py
vikram628/postive.ly
89e25d1ac37800c8ddbeba0e3936946d3a602fc8
[ "Apache-2.0" ]
1
2022-03-30T09:21:27.000Z
2022-03-30T09:21:27.000Z
server/requests_test.py
pbs12/postive.ly
753edce6de39d4adac4392ba2c6c1971f88277f2
[ "Apache-2.0" ]
null
null
null
server/requests_test.py
pbs12/postive.ly
753edce6de39d4adac4392ba2c6c1971f88277f2
[ "Apache-2.0" ]
1
2021-11-29T20:05:58.000Z
2021-11-29T20:05:58.000Z
import requests import json from datetime import datetime headers = {"Content-type": "application/json", "Accept": "text/plain"} addUser() addMessage()
28.85
92
0.686308
45c1caa23ecd364d3384d99dfa0f6a2683ce53fe
951
py
Python
virtualisation/triplestore/triplestoreadapter.py
CityPulse/CP_Resourcemanagement
aa670fa89d5e086a98ade3ccc152518be55abf2e
[ "MIT" ]
2
2016-11-03T14:57:45.000Z
2019-05-13T13:21:08.000Z
virtualisation/triplestore/triplestoreadapter.py
CityPulse/CP_Resourcemanagement
aa670fa89d5e086a98ade3ccc152518be55abf2e
[ "MIT" ]
null
null
null
virtualisation/triplestore/triplestoreadapter.py
CityPulse/CP_Resourcemanagement
aa670fa89d5e086a98ade3ccc152518be55abf2e
[ "MIT" ]
1
2020-07-23T11:27:15.000Z
2020-07-23T11:27:15.000Z
from abc import abstractmethod from abc import ABCMeta __author__ = 'Marten Fischer (m.fischer@hs-osnabrueck.de)'
21.613636
74
0.684543
45c2c705433f6454e6ff7fae79f52f092ad52824
2,503
py
Python
tests/test_lists.py
al3xandru/html2md
fe9c49c7a263f4236a057763d9ad68d237e8cf15
[ "RSA-MD" ]
8
2015-02-14T04:30:16.000Z
2019-07-10T05:06:49.000Z
tests/test_lists.py
al3xandru/html2md
fe9c49c7a263f4236a057763d9ad68d237e8cf15
[ "RSA-MD" ]
2
2015-02-20T12:16:54.000Z
2017-09-21T10:02:53.000Z
tests/test_lists.py
al3xandru/html2md
fe9c49c7a263f4236a057763d9ad68d237e8cf15
[ "RSA-MD" ]
4
2016-02-06T04:28:16.000Z
2021-04-22T00:12:39.000Z
import unittest from context import html2md from assertions import assertEq __author__ = 'alex' if __name__ == '__main__': unittest.main()
17.143836
72
0.581302
45c36e8fe678ea3c189f3feca284ae944260da2c
2,281
py
Python
repo2apptainer/app.py
andersy005/repo2apptainer
6ba9bda304ecb410e74d53d4124c98aaf0660a1e
[ "BSD-3-Clause" ]
1
2022-03-16T20:12:08.000Z
2022-03-16T20:12:08.000Z
repo2apptainer/app.py
andersy005/repo2apptainer
6ba9bda304ecb410e74d53d4124c98aaf0660a1e
[ "BSD-3-Clause" ]
1
2022-03-16T20:13:51.000Z
2022-03-16T20:13:51.000Z
repo2apptainer/app.py
andersy005/repo2apptainer
6ba9bda304ecb410e74d53d4124c98aaf0660a1e
[ "BSD-3-Clause" ]
null
null
null
from __future__ import annotations import pathlib import subprocess import pydantic from repo2docker.app import Repo2Docker from .config import config as _config from .console import console from .helpers import generate_image_name
34.560606
98
0.580009
45c485b5da6f55ef3077ce6aefa0412ae13bd817
28,187
py
Python
letsencrypt/plugins/standalone/tests/authenticator_test.py
stewnorriss/letsencrypt
4b8651274f83394909af23905abbb715f150b8bf
[ "Apache-2.0" ]
1
2018-08-27T03:17:09.000Z
2018-08-27T03:17:09.000Z
letsencrypt/plugins/standalone/tests/authenticator_test.py
rsumnerz/certbot
a65f14635257e6ce0e1b9cfca6bf4c801214d14c
[ "Apache-2.0", "MIT" ]
null
null
null
letsencrypt/plugins/standalone/tests/authenticator_test.py
rsumnerz/certbot
a65f14635257e6ce0e1b9cfca6bf4c801214d14c
[ "Apache-2.0", "MIT" ]
null
null
null
"""Tests for letsencrypt.plugins.standalone.authenticator.""" import os import pkg_resources import psutil import signal import socket import unittest from cryptography.hazmat.backends import default_backend from cryptography.hazmat.primitives import serialization import mock import OpenSSL from acme import challenge...
47.373109
79
0.688438
45c4fed50c074794b1dbfec41eb5a7feda4afe4a
6,477
py
Python
pymoo/algorithms/genetic_algorithm.py
Electr0phile/pymoo
652428473cc68b6d9deada3792635bc8a831b255
[ "Apache-2.0" ]
1
2020-03-07T08:26:16.000Z
2020-03-07T08:26:16.000Z
pymoo/algorithms/genetic_algorithm.py
Electr0phile/pymoo
652428473cc68b6d9deada3792635bc8a831b255
[ "Apache-2.0" ]
null
null
null
pymoo/algorithms/genetic_algorithm.py
Electr0phile/pymoo
652428473cc68b6d9deada3792635bc8a831b255
[ "Apache-2.0" ]
null
null
null
import math import numpy as np from pymoo.model.algorithm import Algorithm from pymoo.model.duplicate import DefaultDuplicateElimination from pymoo.model.individual import Individual from pymoo.model.population import Population
37.011429
113
0.628377
45c6f1f7c44194c1019849c21a21086304334bfa
1,670
py
Python
frag_permute.py
bluhm/frag-regress
5a14f47940a3cb2964ea48bbd12340de67d1860e
[ "0BSD" ]
2
2017-09-11T10:17:08.000Z
2017-09-13T14:55:04.000Z
frag_permute.py
bluhm/frag-regress
5a14f47940a3cb2964ea48bbd12340de67d1860e
[ "0BSD" ]
null
null
null
frag_permute.py
bluhm/frag-regress
5a14f47940a3cb2964ea48bbd12340de67d1860e
[ "0BSD" ]
null
null
null
#!/usr/local/bin/python3 print("send 3 non-overlapping ping fragments in all possible orders") # |----| # |----| # |----| import os from addr import * from scapy.all import * permute=[] permute.append([0,1,2]) permute.append([0,2,1]) permute.append([1,0,2]) permute.append([2,0,1]) permute.append([1,2...
25.30303
69
0.635928
45c861ea52f629c0da41726ba7d71afeee2dfae5
692
py
Python
tests/lineblocks_test.py
srackham/rimu-py
3da67cb362b6d34fd363e9f4ce5e0afb019baa4c
[ "MIT" ]
null
null
null
tests/lineblocks_test.py
srackham/rimu-py
3da67cb362b6d34fd363e9f4ce5e0afb019baa4c
[ "MIT" ]
4
2020-03-24T17:59:43.000Z
2021-06-02T00:48:53.000Z
tests/lineblocks_test.py
srackham/rimu-py
3da67cb362b6d34fd363e9f4ce5e0afb019baa4c
[ "MIT" ]
null
null
null
from rimu import lineblocks, io, api from typing import Dict
27.68
57
0.447977
45cb0abbb048c590842b5f4cafecc09e7d95dbd9
4,758
py
Python
outlierDetection/DataGenerator.py
mohazahran/Detecting-anomalies-in-user-trajectories
e1513905c2ef7b87a5050b36060c4a49006e8b87
[ "BSD-3-Clause" ]
7
2017-02-07T07:27:20.000Z
2021-04-29T05:20:21.000Z
outlierDetection/DataGenerator.py
mohazahran/Detecting-anomalies-in-user-trajectories
e1513905c2ef7b87a5050b36060c4a49006e8b87
[ "BSD-3-Clause" ]
null
null
null
outlierDetection/DataGenerator.py
mohazahran/Detecting-anomalies-in-user-trajectories
e1513905c2ef7b87a5050b36060c4a49006e8b87
[ "BSD-3-Clause" ]
4
2017-02-07T07:27:28.000Z
2019-12-23T08:43:12.000Z
''' Created on Nov 30, 2016 @author: zahran ''' import pandas as pd import numpy as np import random if __name__ == "__main__": # d = {'a':0.0, 'b':0.0, 'c':0.0, 'd':0.0} # srcs = d.keys() # probs = [0.6,...
33.744681
130
0.514922
45cc48368c5bd4bdb2b8a53510a939cb14c27b75
1,644
py
Python
runtests.py
mattijevi/django-sendgrid
f930cb1759ea034a4a54dc1e077e8e8bb8b7206b
[ "BSD-2-Clause" ]
7
2015-03-29T05:56:50.000Z
2018-09-13T09:48:18.000Z
runtests.py
mattijevi/django-sendgrid
f930cb1759ea034a4a54dc1e077e8e8bb8b7206b
[ "BSD-2-Clause" ]
10
2015-02-12T17:06:21.000Z
2019-11-28T07:59:22.000Z
runtests.py
mattijevi/django-sendgrid
f930cb1759ea034a4a54dc1e077e8e8bb8b7206b
[ "BSD-2-Clause" ]
9
2015-01-02T06:27:13.000Z
2019-06-19T02:11:10.000Z
#!/usr/bin/env python import sys import os import django from django.conf import settings if not settings.configured: # Choose database for settings DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', 'NAME': ':memory:' } } test_db = os.environ....
25.292308
86
0.576034
45ccbaf3609b8e08f015d18250cacd6410fc0ced
902
py
Python
jp.atcoder/abc085/abc085_c/8338197.py
kagemeka/atcoder-submissions
91d8ad37411ea2ec582b10ba41b1e3cae01d4d6e
[ "MIT" ]
1
2022-02-09T03:06:25.000Z
2022-02-09T03:06:25.000Z
jp.atcoder/abc085/abc085_c/8338197.py
kagemeka/atcoder-submissions
91d8ad37411ea2ec582b10ba41b1e3cae01d4d6e
[ "MIT" ]
1
2022-02-05T22:53:18.000Z
2022-02-09T01:29:30.000Z
jp.atcoder/abc085/abc085_c/8338197.py
kagemeka/atcoder-submissions
91d8ad37411ea2ec582b10ba41b1e3cae01d4d6e
[ "MIT" ]
null
null
null
# author: kagemeka # created: 2019-11-08 23:31:18(JST) ### modules ## from standard library import sys # import collections # import math # import string # import bisect # import re # import itertools # import statistics # import functools # import operato...
20.976744
60
0.487805
45cd6b7941697c04db1bb1d94a1276f8ec7934e6
177
py
Python
tests/__init__.py
obytes/tap-python
bc119cb785dc353f0c67241a64d9fcb30f21fbf7
[ "MIT" ]
3
2019-05-28T16:19:57.000Z
2022-03-05T13:16:43.000Z
tests/__init__.py
obytes/tap-python
bc119cb785dc353f0c67241a64d9fcb30f21fbf7
[ "MIT" ]
2
2019-07-02T21:45:09.000Z
2019-07-03T13:55:54.000Z
tests/__init__.py
obytes/tap-python
bc119cb785dc353f0c67241a64d9fcb30f21fbf7
[ "MIT" ]
null
null
null
import vcr tap_vcr = vcr.VCR( serializer='yaml', cassette_library_dir='tests/fixtures/vcr_cassettes', record_mode='new_episodes', match_on=['uri', 'method'], )
19.666667
56
0.689266
45cdd41f4d05f74cf02c535ff1cac89f60151b06
3,500
py
Python
Examples/graphing/swarmGraph.py
juartinv/pulpy
a901caba8570cdc29c8179f34ec4e53e7d024d02
[ "MIT" ]
null
null
null
Examples/graphing/swarmGraph.py
juartinv/pulpy
a901caba8570cdc29c8179f34ec4e53e7d024d02
[ "MIT" ]
null
null
null
Examples/graphing/swarmGraph.py
juartinv/pulpy
a901caba8570cdc29c8179f34ec4e53e7d024d02
[ "MIT" ]
null
null
null
import matplotlib.pyplot as plt import numpy as np import sys sys.path.append("./../") from swarm import Bird def update_graph(fig, ax, birds, locations, colors, title="", FIELD_SIZE=1000): """ Updates the location graph. """ p1 = plt.scatter(*locations, color=colors , s=5) plt.axhline(0, color...
35.714286
164
0.626
45d0870a48ab7440b5a0e5513d3f93147c7b5176
9,824
py
Python
faostat.py
OCHA-DAP/hdxscraper-faostat
27ee1d2e303b36992037b1717a4e0558315d5dcb
[ "MIT" ]
1
2019-12-03T11:52:07.000Z
2019-12-03T11:52:07.000Z
faostat.py
OCHA-DAP/hdxscraper-faostat
27ee1d2e303b36992037b1717a4e0558315d5dcb
[ "MIT" ]
1
2021-09-22T22:00:31.000Z
2021-09-22T22:00:31.000Z
faostat.py
OCHA-DAP/hdx-scraper-faostat
27ee1d2e303b36992037b1717a4e0558315d5dcb
[ "MIT" ]
1
2019-12-03T11:52:10.000Z
2019-12-03T11:52:10.000Z
#!/usr/bin/python """ FAOSTAT: ------- Reads FAOSTAT JSON and creates datasets. """ import logging from datetime import datetime, timedelta from os import remove, rename from os.path import basename, exists, getctime, join from urllib.parse import urlsplit from zipfile import ZipFile from hdx.data.dataset import Da...
37.212121
424
0.603522
45d13bddb4847d731177692bebac88cbbf7f4d4b
1,344
py
Python
scripts/collapse_subtypes.py
edawson/rkmh
ea3d2e6791e8202ec0e487e648c0182f1766728b
[ "MIT" ]
43
2016-06-29T15:55:36.000Z
2022-03-07T03:18:45.000Z
scripts/collapse_subtypes.py
edawson/rkmh
ea3d2e6791e8202ec0e487e648c0182f1766728b
[ "MIT" ]
12
2016-06-29T12:37:01.000Z
2021-07-06T18:58:00.000Z
scripts/collapse_subtypes.py
edawson/rkmh
ea3d2e6791e8202ec0e487e648c0182f1766728b
[ "MIT" ]
8
2016-09-01T17:10:53.000Z
2021-02-26T10:55:31.000Z
import sys from collections import Counter ## 5 |strains A1:23146 C:377 B1:546 unclassified:211701 A3:133 A2:212 A4:2230 B2:1052 D2:551 D3:3685 D1:30293 |sketch sketchSize=1000 kmer=16 if __name__ == "__main__": for line in sys.stdin: x_d = Counter() tokens = line.split("|") features = tok...
44.8
141
0.497024
45d23d997247a4451b26d7281ff5d784047731ab
1,066
py
Python
django_blog/blog/models.py
lidysun/test1
94db6637be6c0008f2454a0192121b1f1286c437
[ "MIT" ]
null
null
null
django_blog/blog/models.py
lidysun/test1
94db6637be6c0008f2454a0192121b1f1286c437
[ "MIT" ]
null
null
null
django_blog/blog/models.py
lidysun/test1
94db6637be6c0008f2454a0192121b1f1286c437
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import unicode_literals from time import timezone from django.db import models # Create your models here. # class Publisher(models.Model): # name = models.CharField(max_length=30) # address = models.CharField(max_length=50) # website = models.URLField() # class ...
31.352941
50
0.721388
45d55c19dc9d34d55c3334d5dfa1a8ae32a77f25
3,210
py
Python
collegedatascraper/extractors.py
vertuli/collegedatascraper
3891ba1159eb23a64ba23649635c3ffca4528453
[ "MIT" ]
null
null
null
collegedatascraper/extractors.py
vertuli/collegedatascraper
3891ba1159eb23a64ba23649635c3ffca4528453
[ "MIT" ]
null
null
null
collegedatascraper/extractors.py
vertuli/collegedatascraper
3891ba1159eb23a64ba23649635c3ffca4528453
[ "MIT" ]
null
null
null
import pandas as pd def extract_series(df): """Returns a pandas Series of all info extracted from a DataFrame.""" # Remove index, value pairs from DataFrame if index is NaN. missing = df.index.isna() missing_idx = df[missing].index df.drop(missing_idx, inplace=True) # Extract a Series from a...
32.1
78
0.619003
45d64512716035b616ac8ec0c6bb1bdd8e298d41
974
py
Python
cbmcfs3_runner/scenarios/static_demand.py
xapple/cbm_runner
ec532819e0a086077475bfd479836a378f187f6f
[ "MIT" ]
2
2019-07-11T23:49:22.000Z
2019-10-31T19:11:45.000Z
cbmcfs3_runner/scenarios/static_demand.py
xapple/cbm_runner
ec532819e0a086077475bfd479836a378f187f6f
[ "MIT" ]
null
null
null
cbmcfs3_runner/scenarios/static_demand.py
xapple/cbm_runner
ec532819e0a086077475bfd479836a378f187f6f
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Written by Lucas Sinclair and Paul Rougieux. JRC biomass Project. Unit D1 Bioeconomy. """ # Built-in modules # # First party modules # from plumbing.cache import property_cached # Internal modules # from cbmcfs3_runner.scenarios.base_scen import Scenario from cbmc...
27.055556
85
0.63655
45d7be5aecc095fc8c811a04d03b02510ef8c196
1,310
py
Python
personalization/shared/utils.py
alshedivat/federated
100f0e0940282818c42c39156407ae419f26de50
[ "Apache-2.0" ]
null
null
null
personalization/shared/utils.py
alshedivat/federated
100f0e0940282818c42c39156407ae419f26de50
[ "Apache-2.0" ]
null
null
null
personalization/shared/utils.py
alshedivat/federated
100f0e0940282818c42c39156407ae419f26de50
[ "Apache-2.0" ]
null
null
null
# Copyright 2021, Maruan Al-Shedivat. # # 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...
40.9375
78
0.772519
45d82914df1d0506310b57788fd50743db64c8a9
2,635
py
Python
vars/Staging_security_port_scanning.py
rlennon/Doodle
60b1645fd327192848c4daaccb572fa456974526
[ "MIT" ]
5
2019-02-25T20:10:18.000Z
2019-04-24T20:21:04.000Z
vars/Staging_security_port_scanning.py
rlennon/Doodle
60b1645fd327192848c4daaccb572fa456974526
[ "MIT" ]
28
2019-02-26T13:50:52.000Z
2019-04-24T20:10:29.000Z
vars/Staging_security_port_scanning.py
rlennon/Doodle
60b1645fd327192848c4daaccb572fa456974526
[ "MIT" ]
6
2019-02-28T20:54:09.000Z
2019-04-06T22:18:50.000Z
import sys, os, socket main()
36.09589
123
0.470209
45d84ac7252e18717ee747f54457d11d39050e86
162
py
Python
src/controllers/main_ctrl.py
donglinwu6066/2022-NYCU-EVA-lab-project-demo-app
5de1021173240b2f9b325510e2c75f59cf3b14e1
[ "MIT" ]
null
null
null
src/controllers/main_ctrl.py
donglinwu6066/2022-NYCU-EVA-lab-project-demo-app
5de1021173240b2f9b325510e2c75f59cf3b14e1
[ "MIT" ]
null
null
null
src/controllers/main_ctrl.py
donglinwu6066/2022-NYCU-EVA-lab-project-demo-app
5de1021173240b2f9b325510e2c75f59cf3b14e1
[ "MIT" ]
1
2022-03-25T10:08:41.000Z
2022-03-25T10:08:41.000Z
from PyQt5.QtCore import QObject, pyqtSlot
20.25
42
0.679012
45d9682e1d524e94988cc35b75b5c4e2cdeee9ed
516
py
Python
sims-g2/pos-adv/code/plot-rn.py
ammarhakim/ammar-simjournal
85b64ddc9556f01a4fab37977864a7d878eac637
[ "MIT", "Unlicense" ]
1
2019-12-19T16:21:13.000Z
2019-12-19T16:21:13.000Z
sims-g2/pos-adv/code/plot-rn.py
ammarhakim/ammar-simjournal
85b64ddc9556f01a4fab37977864a7d878eac637
[ "MIT", "Unlicense" ]
null
null
null
sims-g2/pos-adv/code/plot-rn.py
ammarhakim/ammar-simjournal
85b64ddc9556f01a4fab37977864a7d878eac637
[ "MIT", "Unlicense" ]
2
2020-01-08T06:23:33.000Z
2020-01-08T07:06:50.000Z
from pylab import * cfl = 0.1 r = linspace(0, 2.39, 100) rn = r*0.0 alr = r*0.0 for i in range(r.shape[0]): alr[i] = getAlpha(r[i]) #figure(1) #plot(r, alr) #grid() for i in range(r.shape[0]): rn[i] = getRn(r[i]) figure(2) plot(r, rn) grid() show()
13.578947
40
0.51938
45da0fdf8d57270d1bbf22d1902ef827d862f813
121,867
py
Python
datatube/test/coerce_dtypes_test.py
eerkela/archivetube
a295987cf4a1234de58c1611fa0f45a626e76c2e
[ "MIT" ]
null
null
null
datatube/test/coerce_dtypes_test.py
eerkela/archivetube
a295987cf4a1234de58c1611fa0f45a626e76c2e
[ "MIT" ]
null
null
null
datatube/test/coerce_dtypes_test.py
eerkela/archivetube
a295987cf4a1234de58c1611fa0f45a626e76c2e
[ "MIT" ]
null
null
null
from datetime import datetime, timedelta, timezone import random import unittest import numpy as np import pandas as pd from pandas.testing import assert_frame_equal, assert_series_equal import pytz if __name__ == "__main__": from pathlib import Path import sys sys.path.insert(0, str(Path(__file__).resolv...
40.286612
80
0.634175
45dbe199ff3f79ba88ba30ee2d67fa4703fdbf6b
3,556
py
Python
app/settings/dev.py
Pixsel1/movie-warehouse
038c061aa565365ff45dc10bc2c4ab58fdf11f01
[ "MIT" ]
null
null
null
app/settings/dev.py
Pixsel1/movie-warehouse
038c061aa565365ff45dc10bc2c4ab58fdf11f01
[ "MIT" ]
5
2021-03-19T01:58:15.000Z
2021-09-22T18:52:59.000Z
app/settings/dev.py
Pixsel1/movie-warehouse
038c061aa565365ff45dc10bc2c4ab58fdf11f01
[ "MIT" ]
null
null
null
import logging import os import sentry_sdk # NOQA from sentry_sdk.integrations.django import DjangoIntegration # NOQA logger = logging.getLogger(__name__) logger.setLevel(logging.DEBUG) logger.debug("loading settings dev.py") # Build paths inside the project like this: os.path.join(BASE_DIR, ...) BASE_DIR = os.pa...
26.340741
90
0.702193
45dbf9c2a1021b223b18f87bcb344162c1d1b922
1,599
py
Python
hwtLib/examples/arithmetic/privateSignals.py
optical-o/hwtLib
edad621f5ad4cdbea20a5751ff4468979afe2f77
[ "MIT" ]
24
2017-02-23T10:00:50.000Z
2022-01-28T12:20:21.000Z
hwtLib/examples/arithmetic/privateSignals.py
optical-o/hwtLib
edad621f5ad4cdbea20a5751ff4468979afe2f77
[ "MIT" ]
32
2017-04-28T10:29:34.000Z
2021-04-27T09:16:43.000Z
hwtLib/examples/arithmetic/privateSignals.py
optical-o/hwtLib
edad621f5ad4cdbea20a5751ff4468979afe2f77
[ "MIT" ]
8
2019-09-19T03:34:36.000Z
2022-01-21T06:56:58.000Z
from hwt.synthesizer.unit import Unit from hwt.interfaces.std import VectSignal from hwt.hdl.types.struct import HStruct from hwt.interfaces.utils import addClkRstn if __name__ == "__main__": from hwt.synthesizer.utils import to_rtl_str u = PrivateSignalsOfStructType() print(to_rtl_str(u))
25.790323
66
0.507817
45df59c4c66385bfd79fb073d750cb26999b1094
1,758
py
Python
reader/common/labels.py
nicolay-r/RuSentRel
4fc0df1580d3da21f0be1e832e403652f73caed1
[ "MIT" ]
5
2019-01-28T10:31:07.000Z
2021-09-08T06:25:30.000Z
reader/common/labels.py
nicolay-r/RuSentRel
4fc0df1580d3da21f0be1e832e403652f73caed1
[ "MIT" ]
null
null
null
reader/common/labels.py
nicolay-r/RuSentRel
4fc0df1580d3da21f0be1e832e403652f73caed1
[ "MIT" ]
1
2019-08-18T18:30:56.000Z
2019-08-18T18:30:56.000Z
class PositiveLabel(Label): class NegativeLabel(Label):
22.831169
87
0.584187
45dff5ae66853bb0ebe532decb37848df59bad29
1,368
py
Python
Examples/mouselight_api.py
maithamn/BrainRender
9359ccc5b278f58ee3124bcf75b9ebefe0378bbc
[ "MIT" ]
null
null
null
Examples/mouselight_api.py
maithamn/BrainRender
9359ccc5b278f58ee3124bcf75b9ebefe0378bbc
[ "MIT" ]
null
null
null
Examples/mouselight_api.py
maithamn/BrainRender
9359ccc5b278f58ee3124bcf75b9ebefe0378bbc
[ "MIT" ]
null
null
null
""" This tutorial shows how to download and render neurons from the MouseLight project using the MouseLightAPI class. You can also download data manually from the neuronbrowser website and render them by passing the downloaded files to `scene.add_neurons`. """ import brainrender brainrender.USE_MORPHO...
45.6
138
0.79386
45e031706dae8d7873c5c1451d151847eb8f490f
4,073
py
Python
ponnobot/spiders/daraz_spider.py
ahmedshahriar/bd-ponno
4ffd537d66ed05fe297a4d81d5ea414fbcdaa26c
[ "Apache-2.0" ]
3
2022-03-09T19:29:36.000Z
2022-03-17T03:01:50.000Z
ponnobot/spiders/daraz_spider.py
ahmedshahriar/bd-ponno
4ffd537d66ed05fe297a4d81d5ea414fbcdaa26c
[ "Apache-2.0" ]
null
null
null
ponnobot/spiders/daraz_spider.py
ahmedshahriar/bd-ponno
4ffd537d66ed05fe297a4d81d5ea414fbcdaa26c
[ "Apache-2.0" ]
null
null
null
import json import re from urllib.parse import urljoin import scrapy from ponnobot.items import ProductItem
39.931373
147
0.57697
45e1b1ddf278cb31a93dc4443d544327d2019794
1,692
py
Python
runtest/__init__.py
thautwarm/gkdtex
e6e7404b0be503a684aee89f2437770ef7b4b04a
[ "MIT" ]
3
2020-12-04T08:48:12.000Z
2020-12-07T17:54:33.000Z
runtest/__init__.py
thautwarm/gkdtex
e6e7404b0be503a684aee89f2437770ef7b4b04a
[ "MIT" ]
5
2020-11-30T03:46:10.000Z
2020-12-03T08:07:27.000Z
runtest/__init__.py
thautwarm/gkdtex
e6e7404b0be503a684aee89f2437770ef7b4b04a
[ "MIT" ]
null
null
null
from gkdtex.wrap import parse from gkdtex.interpreter import Interpreter, CBVFunction from gkdtex.developer_utilities import * import sys src = r""" \newcommand{\GKDCreateId}{\input{|"gkdmgr --op uuid --rt A"}} \makeatletter \newcommand*\GKDNewTemp[2]{ \@ifundefined{GKDTemp#1}{ \expandafter\newcommand\csname G...
25.636364
82
0.663121
45e49b8126b2a37679ad85ae284597124464cca3
465
py
Python
netmiko/ciena/ciena_saos_ssh.py
mostau1/netmiko
5b5463fb01e39e771be553281748477a48c7391c
[ "MIT" ]
null
null
null
netmiko/ciena/ciena_saos_ssh.py
mostau1/netmiko
5b5463fb01e39e771be553281748477a48c7391c
[ "MIT" ]
8
2020-02-05T14:17:32.000Z
2021-09-23T23:27:46.000Z
netmiko/ciena/ciena_saos_ssh.py
mostau1/netmiko
5b5463fb01e39e771be553281748477a48c7391c
[ "MIT" ]
null
null
null
"""Ciena SAOS support.""" from __future__ import print_function from __future__ import unicode_literals from netmiko.cisco_base_connection import CiscoSSHConnection
29.0625
74
0.733333
45e5a4410a39940eb2533688242f5202c261dd12
6,393
py
Python
serve.py
rik/mesconseilscovid
ff4b365a677da6bb73284ca5bba73651cde570e9
[ "MIT" ]
26
2020-05-08T07:52:32.000Z
2021-12-27T10:25:44.000Z
serve.py
rik/mesconseilscovid
ff4b365a677da6bb73284ca5bba73651cde570e9
[ "MIT" ]
419
2020-05-10T10:28:26.000Z
2022-03-31T13:19:41.000Z
serve.py
rik/mesconseilscovid
ff4b365a677da6bb73284ca5bba73651cde570e9
[ "MIT" ]
19
2020-05-10T10:23:16.000Z
2021-12-03T19:48:04.000Z
""" Start local development server """ import argparse import logging import shlex import subprocess import webbrowser from contextlib import suppress from http.server import HTTPServer, SimpleHTTPRequestHandler from pathlib import Path from ssl import wrap_socket from tempfile import NamedTemporaryFile from threading ...
29.873832
87
0.638667
45e5af780de1fe9491f7c7e69ad7b1dd20dd302f
1,630
py
Python
scripts/review_weblog.py
akrherz/iemwebfarm
a4a2a74714e3b589a6fee42752723733b9ba4157
[ "Apache-2.0" ]
null
null
null
scripts/review_weblog.py
akrherz/iemwebfarm
a4a2a74714e3b589a6fee42752723733b9ba4157
[ "Apache-2.0" ]
null
null
null
scripts/review_weblog.py
akrherz/iemwebfarm
a4a2a74714e3b589a6fee42752723733b9ba4157
[ "Apache-2.0" ]
null
null
null
"""Process what our weblog has. Run every minute, sigh. """ import sys import subprocess import psycopg2 THRESHOLD = 30 def logic(counts, family): """Should we or should we not, that is the question.""" exe = "iptables" if family == 4 else "ip6tables" for addr, hits in counts.items(): if len(hi...
25.46875
78
0.571779
45e62668ada234da171d4601a142283296ac3f75
181
py
Python
carmcmc/__init__.py
metegenez/WAVEPAL
fa2bb91e2c7e63681ae4592929215c96bc523597
[ "MIT" ]
39
2015-01-25T19:24:09.000Z
2022-02-28T11:55:28.000Z
carmcmc/__init__.py
metegenez/WAVEPAL
fa2bb91e2c7e63681ae4592929215c96bc523597
[ "MIT" ]
13
2015-04-29T12:37:45.000Z
2021-11-28T23:31:29.000Z
carmcmc/__init__.py
metegenez/WAVEPAL
fa2bb91e2c7e63681ae4592929215c96bc523597
[ "MIT" ]
19
2015-09-15T00:41:28.000Z
2021-07-28T07:28:47.000Z
from _carmcmc import * from carma_pack import CarmaModel, CarmaSample, Car1Sample, power_spectrum, carma_variance, \ carma_process, get_ar_roots from samplers import MCMCSample
36.2
93
0.828729
45e649838e23cf031bb5255dcfd4e23a12c7bf08
551
py
Python
events/tracon2022/urls.py
con2/kompassi
4938059b8f239ad5ecf06a526adf8b62bce52263
[ "CC-BY-3.0" ]
13
2015-11-29T12:19:12.000Z
2021-02-21T15:42:11.000Z
events/tracon2022/urls.py
con2/kompassi
4938059b8f239ad5ecf06a526adf8b62bce52263
[ "CC-BY-3.0" ]
23
2015-04-29T19:43:34.000Z
2021-02-10T05:50:17.000Z
events/tracon2022/urls.py
con2/kompassi
4938059b8f239ad5ecf06a526adf8b62bce52263
[ "CC-BY-3.0" ]
11
2015-09-20T18:59:00.000Z
2020-02-07T08:47:34.000Z
from django.conf.urls import url from .views import tracon2022_afterparty_participants_view, tracon2022_afterparty_summary_view urlpatterns = [ url( r'^events/(?P<event_slug>tracon2022)/labour/surveys/kaatoilmo/results.xlsx$', tracon2022_afterparty_participants_view, name='tracon2022_afte...
29
94
0.733212
45e64fe89ff0dac219cbb0a832f57189d9fdcbc8
1,273
py
Python
Adult_dataset/asd-screen.py
blessinvarkey/asd_screening
d9aa38e247b4f74564a564c98e94191ebe71cf7a
[ "MIT" ]
1
2022-03-30T08:46:14.000Z
2022-03-30T08:46:14.000Z
Adult_dataset/asd-screen.py
blessinvarkey/asd-screening-ml
35967aa1253df70091e0f206133df06b12788697
[ "MIT" ]
null
null
null
Adult_dataset/asd-screen.py
blessinvarkey/asd-screening-ml
35967aa1253df70091e0f206133df06b12788697
[ "MIT" ]
1
2021-02-11T07:43:32.000Z
2021-02-11T07:43:32.000Z
import numpy as np import pandas as pd import os import matplotlib.pyplot as plt import missingno import seaborn as sns import unittest dataset_adult = ASDScreening() dataset_adult.read_file("Autism_Data.arff") #Unit test # class TestASDScreening(unittest.TestCase): # assert read_file(df = "Autism_Data.arff") =...
27.085106
75
0.667714
45e769b7d426bf28508e3b1de1e23a3961422074
1,416
py
Python
util.py
rwberendsen/aprilsnow
dbea6219928f0729a2d0000c4b3c272ee4e602e9
[ "MIT" ]
null
null
null
util.py
rwberendsen/aprilsnow
dbea6219928f0729a2d0000c4b3c272ee4e602e9
[ "MIT" ]
null
null
null
util.py
rwberendsen/aprilsnow
dbea6219928f0729a2d0000c4b3c272ee4e602e9
[ "MIT" ]
null
null
null
from snowflake.connector import DictCursor, ProgrammingError import logging
27.764706
124
0.67726
afd90c97074e4cc4b8d8e640b7c29f7804ac9b97
1,172
py
Python
tests/database/test_projects.py
hueyyeng/AssetsBrowser
eb00d495f3ed7eab3d5ef8b995f38237936037ea
[ "MIT" ]
7
2019-12-09T07:06:59.000Z
2021-11-05T22:38:01.000Z
tests/database/test_projects.py
hueyyeng/AssetsBrowser
eb00d495f3ed7eab3d5ef8b995f38237936037ea
[ "MIT" ]
5
2019-01-15T03:44:39.000Z
2022-03-27T07:36:15.000Z
tests/database/test_projects.py
hueyyeng/AssetsBrowser
eb00d495f3ed7eab3d5ef8b995f38237936037ea
[ "MIT" ]
null
null
null
from pytest import mark import peewee as pw from database.models import ( Asset, Category, Project, ) from database.db import Database
27.255814
55
0.614334
afd90efacf7b107495449294e2bf213bb6622473
3,388
py
Python
dungeon_game.py
JoeSamyn/Dungeon_Game_Git
3929f38a3d067aa0827e9488290edcd903d7a4e0
[ "MIT" ]
1
2018-12-14T09:42:10.000Z
2018-12-14T09:42:10.000Z
dungeon_game.py
JoeSamyn/Dungeon_Game_Git
3929f38a3d067aa0827e9488290edcd903d7a4e0
[ "MIT" ]
3
2018-12-03T18:23:29.000Z
2018-12-03T18:24:09.000Z
dungeon_game.py
JoeSamyn/Dungeon_Game_Git
3929f38a3d067aa0827e9488290edcd903d7a4e0
[ "MIT" ]
null
null
null
import random import os CELLS = [(0, 0), (1, 0), (2, 0), (3 , 0), (4, 0), (0, 1), (1, 1), (2, 1), (3 , 1), (4, 1), (0, 2), (1, 2), (2, 2), (3 , 2), (4, 2), (0, 3), (1, 3), (2, 3), (3 , 3), (4, 3), (0, 4), (1, 4), (2, 4), (3 , 4), (4, 4) ] player, monster, door = get_locations() ...
28.470588
86
0.510331
afd925dfee06bf46bcafe0d3b3e160d1c36eddbe
3,940
py
Python
tests/providers/test_credit_card.py
pablofm/faker
f09ad1128da99ec15510aad79b2bc27f79e3165d
[ "MIT" ]
2
2020-02-12T20:12:50.000Z
2020-02-12T22:02:53.000Z
tests/providers/test_credit_card.py
pablofm/faker
f09ad1128da99ec15510aad79b2bc27f79e3165d
[ "MIT" ]
null
null
null
tests/providers/test_credit_card.py
pablofm/faker
f09ad1128da99ec15510aad79b2bc27f79e3165d
[ "MIT" ]
1
2020-07-12T12:50:15.000Z
2020-07-12T12:50:15.000Z
import re import unittest from faker import Faker from faker.providers.bank.ru_RU import Provider as RuBank
37.52381
120
0.636802
afdb3c7f2904c4a3f81472a824f67882d1a662fb
4,622
py
Python
tools/benchmark/do_not_run_create_benchmark_data.py
dangervon/ironic
01dd06a17673ec5157dda2ecfc51feb9d2f8e5c2
[ "Apache-2.0" ]
null
null
null
tools/benchmark/do_not_run_create_benchmark_data.py
dangervon/ironic
01dd06a17673ec5157dda2ecfc51feb9d2f8e5c2
[ "Apache-2.0" ]
null
null
null
tools/benchmark/do_not_run_create_benchmark_data.py
dangervon/ironic
01dd06a17673ec5157dda2ecfc51feb9d2f8e5c2
[ "Apache-2.0" ]
null
null
null
# # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # ...
46.22
142
0.629598
afdbbfd6b9fd80257fe07451c26105c2209f7e5f
1,803
py
Python
sheet_names_xlrd.py
patkujawa-wf/excel-file-reverse-engineering
6a1780a62d6fda34964659607e2b299e62066671
[ "MIT" ]
2
2021-04-17T06:07:02.000Z
2021-04-17T06:30:14.000Z
sheet_names_xlrd.py
patkujawa-wf/excel-file-reverse-engineering
6a1780a62d6fda34964659607e2b299e62066671
[ "MIT" ]
null
null
null
sheet_names_xlrd.py
patkujawa-wf/excel-file-reverse-engineering
6a1780a62d6fda34964659607e2b299e62066671
[ "MIT" ]
null
null
null
# coding=utf-8 """ > time \ls -1 **/*.xlsx | python sheet_names_xlrd.py > for fname in **/*.xlsx; do time echo $fname | python sheet_names_xlrd.py; done time echo 'xlsx/SOX Controls Testing Template.xlsx' | python sheet_names_xlrd.py [u'Interim Testing', u'Year End Testing'] echo 'xlsx/SOX Controls Testing Template....
37.5625
94
0.691625
afdc784deb128427072c09b4859dccbc1d1a352d
513
py
Python
public/logger.py
IcyCC/fly6to4
a15a37b1764a4739dd476584b420749864dd7a8a
[ "MIT" ]
null
null
null
public/logger.py
IcyCC/fly6to4
a15a37b1764a4739dd476584b420749864dd7a8a
[ "MIT" ]
null
null
null
public/logger.py
IcyCC/fly6to4
a15a37b1764a4739dd476584b420749864dd7a8a
[ "MIT" ]
null
null
null
import logging logging.basicConfig(level=logging.DEBUG, format='%(asctime)s %(filename)s[line:%(lineno)d] %(levelname)s %(message)s', datefmt='%a, %d %b %Y %H:%M:%S', filename='monk.log', filemode='w') console = logging.StreamHandler() co...
36.642857
97
0.619883
afdef504fcb6a404c0cfe9f0b040dbead2f75afe
441
py
Python
GeneratedCode/LISTENER_3_from_1.py
Beaconproj/CrossCloudVNFSimulation
97023e05b57e54503259ae866608de6189b8c9a9
[ "MIT" ]
1
2021-09-25T04:17:55.000Z
2021-09-25T04:17:55.000Z
GeneratedCode/LISTENER_3_from_1.py
Beaconproj/CrossCloudVNFSimulation
97023e05b57e54503259ae866608de6189b8c9a9
[ "MIT" ]
null
null
null
GeneratedCode/LISTENER_3_from_1.py
Beaconproj/CrossCloudVNFSimulation
97023e05b57e54503259ae866608de6189b8c9a9
[ "MIT" ]
null
null
null
#---- Python VM startup for LISTENERLISTENER_3_from_1 --- import SSL_listener incomingIP="localhost" incomingPort=10031 incomingPrivateKeyFile="server.key" incomingPublicKeyFile="server.crt" outgoingIP="localhost" outgoingPort=00000 outgoingPublicKeyFile="server.crt" #-------
29.4
131
0.825397
afe139ed89c12c99f9d7247c22954b5bf3007f6e
960
py
Python
downloader.py
Esshahn/cryptoticker
6fb32712e380cb2a0605bafcfa64fe7fdf0367b7
[ "MIT" ]
null
null
null
downloader.py
Esshahn/cryptoticker
6fb32712e380cb2a0605bafcfa64fe7fdf0367b7
[ "MIT" ]
null
null
null
downloader.py
Esshahn/cryptoticker
6fb32712e380cb2a0605bafcfa64fe7fdf0367b7
[ "MIT" ]
null
null
null
import json import sys import requests # ----- uncomment these if you want to run this script on its own ----- # #config = load_json("user-data.json") #data = download_latest_crypto_data(config) #save_file("crypto-data.json", json.dumps(data))
24.615385
79
0.652083
afe19566c2c0b240b9664234918a7ca0baf1f668
1,296
py
Python
core/src/zeit/campus/browser/social.py
rickdg/vivi
16134ac954bf8425646d4ad47bdd1f372e089355
[ "BSD-3-Clause" ]
5
2019-05-16T09:51:29.000Z
2021-05-31T09:30:03.000Z
core/src/zeit/campus/browser/social.py
rickdg/vivi
16134ac954bf8425646d4ad47bdd1f372e089355
[ "BSD-3-Clause" ]
107
2019-05-24T12:19:02.000Z
2022-03-23T15:05:56.000Z
core/src/zeit/campus/browser/social.py
rickdg/vivi
16134ac954bf8425646d4ad47bdd1f372e089355
[ "BSD-3-Clause" ]
3
2020-08-14T11:01:17.000Z
2022-01-08T17:32:19.000Z
# XXX 100% copy&paste from zeit.magazin.browser.social import copy import zeit.push.browser.form import zeit.push.interfaces
35.027027
78
0.682099
afe21934aecb7f7f4d3c5856a5a4ed1415ed6039
1,584
py
Python
sample/helpers.py
jeffs2696/AnalyticalDuctModes
67d8e1729fca8a6ad269583591f6a0a61a274f8d
[ "BSD-2-Clause" ]
null
null
null
sample/helpers.py
jeffs2696/AnalyticalDuctModes
67d8e1729fca8a6ad269583591f6a0a61a274f8d
[ "BSD-2-Clause" ]
null
null
null
sample/helpers.py
jeffs2696/AnalyticalDuctModes
67d8e1729fca8a6ad269583591f6a0a61a274f8d
[ "BSD-2-Clause" ]
null
null
null
import pychebfun import numpy as np from scipy import special as sp def get_answer(): """Get an answer.""" return True def kradial(m,a,b): """ Compute the bessel functions as well as the zero crossings Inputs ------ m : int radial mode number a : float starting point ...
25.548387
88
0.558081
afe3566098dc4e4a8a080871d6a7f8b01b9ea714
9,922
py
Python
server_py_files/data/filestream.py
bopopescu/timing_system_software
11dbb8143dc883507c886a4136cf1de0e3534602
[ "MIT" ]
1
2019-02-03T14:55:48.000Z
2019-02-03T14:55:48.000Z
server_py_files/data/filestream.py
bopopescu/timing_system_software
11dbb8143dc883507c886a4136cf1de0e3534602
[ "MIT" ]
null
null
null
server_py_files/data/filestream.py
bopopescu/timing_system_software
11dbb8143dc883507c886a4136cf1de0e3534602
[ "MIT" ]
1
2020-07-23T17:25:41.000Z
2020-07-23T17:25:41.000Z
# -*- coding: utf-8 -*- """ Created on Sat Apr 05 21:26:33 2014 @author: Nate """ import time, datetime, uuid, io, os import xstatus_ready import file_locations import XTSM_Server_Objects import pdb import msgpack import cStringIO import zlib import zipfile import pprint DEFAULT_CHUNKSIZE=100*1000*1000 ...
42.042373
110
0.606632
afe3c60ac04c3ecfe19a0cf5fecce4f3eaf59c99
559
py
Python
backend/portfolify/wsgi.py
JermyTan/Portfolify
40d86862747699a69e8b1fe55fa5fe0fec0b9776
[ "MIT" ]
3
2021-01-16T16:03:49.000Z
2022-03-03T15:11:14.000Z
backend/portfolify/wsgi.py
JermyTan/portfolify
40d86862747699a69e8b1fe55fa5fe0fec0b9776
[ "MIT" ]
null
null
null
backend/portfolify/wsgi.py
JermyTan/portfolify
40d86862747699a69e8b1fe55fa5fe0fec0b9776
[ "MIT" ]
null
null
null
""" WSGI config for portfolify project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.1/howto/deployment/wsgi/ """ import os import sys from django.core.wsgi import get_wsgi_application # only for dev/test f...
24.304348
78
0.779964
afe3f3d133c9cba1317bdc7b0f15dfe2cc037e1d
356
py
Python
Raspberry_Pi_Pico/7_segment_display/four_digit_display.py
jckantor/cbe61622
bdc08e6c4f0674c5e991617945cafd1b121d6b4b
[ "MIT" ]
2
2021-11-22T20:36:35.000Z
2021-12-07T07:52:10.000Z
Raspberry_Pi_Pico/7_segment_display/four_digit_display.py
jckantor/cbe-virtual-laboratory
bdc08e6c4f0674c5e991617945cafd1b121d6b4b
[ "MIT" ]
null
null
null
Raspberry_Pi_Pico/7_segment_display/four_digit_display.py
jckantor/cbe-virtual-laboratory
bdc08e6c4f0674c5e991617945cafd1b121d6b4b
[ "MIT" ]
1
2021-12-11T20:39:32.000Z
2021-12-11T20:39:32.000Z
import tm1637 import machine import utime disp = tm1637.TM1637(clk=machine.Pin(3), dio=machine.Pin(2)) adc = machine.ADC(4) machine.Timer(freq=2, mode=machine.Timer.PERIODIC, callback=display_mv)
19.777778
71
0.674157
afe4611c351cf1f11c0820aaf3d3d5d4db377839
649
py
Python
leetcode/climbingStairs.py
montukv/Coding-problem-solutions
973009c00038cc57500d965871376a60f8c4e0d1
[ "MIT" ]
null
null
null
leetcode/climbingStairs.py
montukv/Coding-problem-solutions
973009c00038cc57500d965871376a60f8c4e0d1
[ "MIT" ]
null
null
null
leetcode/climbingStairs.py
montukv/Coding-problem-solutions
973009c00038cc57500d965871376a60f8c4e0d1
[ "MIT" ]
null
null
null
'''70. Climbing Stairs Easy 3866 127 Add to List Share You are climbing a stair case. It takes n steps to reach to the top. Each time you can either climb 1 or 2 steps. In how many distinct ways can you climb to the top? Note: Given n will be a positive integer. Example 1: Input: 2 Output: 2 ...
17.078947
97
0.647149
afe80106cb57e7805a34937dd45e9e7caf4d8c02
433
py
Python
server/run_server.py
juandisay/twisted-docker
c3b317e70100801cbd8f883598484f6b77f56f73
[ "MIT" ]
5
2016-01-30T21:09:21.000Z
2021-08-31T15:17:05.000Z
server/run_server.py
juandisay/twisted-docker
c3b317e70100801cbd8f883598484f6b77f56f73
[ "MIT" ]
null
null
null
server/run_server.py
juandisay/twisted-docker
c3b317e70100801cbd8f883598484f6b77f56f73
[ "MIT" ]
4
2019-02-25T10:58:45.000Z
2020-04-21T23:56:32.000Z
from twisted.application import service, internet from server import HTTPEchoFactory import os # default port in case of the env var not was properly set. ECHO_SERVER_PORT = 8000 proxy_port = int(os.environ.get('ECHO_SERVER_PORT', ECHO_SERVER_PORT)) application = service.Application('TwistedDockerized') fa...
33.307692
71
0.796767
afe8be14fffe4eab282e23a16681b34737931618
1,946
py
Python
lesson-12/01/timestamp.py
minimum-hsu/tutorial-python
667692e7cd13a8a4d061a4da530dc2dfe25ac1de
[ "MIT" ]
null
null
null
lesson-12/01/timestamp.py
minimum-hsu/tutorial-python
667692e7cd13a8a4d061a4da530dc2dfe25ac1de
[ "MIT" ]
null
null
null
lesson-12/01/timestamp.py
minimum-hsu/tutorial-python
667692e7cd13a8a4d061a4da530dc2dfe25ac1de
[ "MIT" ]
null
null
null
from datetime import datetime
17.531532
37
0.400308
afe9167f50f2d41a307f7dfa62dcb20c1ec54f39
1,645
py
Python
futaba/journal/listener.py
Hoffs/futaba
4d07c421c4229c81ddd42da1a49594b8cf11832d
[ "MIT" ]
23
2018-09-17T09:06:27.000Z
2021-05-27T15:21:37.000Z
futaba/journal/listener.py
Hoffs/futaba
4d07c421c4229c81ddd42da1a49594b8cf11832d
[ "MIT" ]
257
2018-08-18T21:27:54.000Z
2020-12-29T23:27:10.000Z
futaba/journal/listener.py
Hoffs/futaba
4d07c421c4229c81ddd42da1a49594b8cf11832d
[ "MIT" ]
22
2018-09-09T09:03:13.000Z
2021-11-09T03:34:34.000Z
# # journal/listener.py # # futaba - A Discord Mod bot for the Programming server # Copyright (c) 2017-2020 Jake Richardson, Ammon Smith, jackylam5 # # futaba is available free of charge under the terms of the MIT # License. You are free to redistribute and/or modify it under those # terms. It is distributed in the hop...
28.859649
89
0.66383
afe927e59a5060c167cb4d8b2cbd1290c4055a6e
1,215
py
Python
tests/test_db.py
haniffalab/adifa
ff799cee05573e7506e017fbc6269c65f1caadff
[ "MIT" ]
null
null
null
tests/test_db.py
haniffalab/adifa
ff799cee05573e7506e017fbc6269c65f1caadff
[ "MIT" ]
7
2022-01-10T14:14:42.000Z
2022-03-30T14:56:20.000Z
tests/test_db.py
haniffalab/sci-adifa
c771b1192fa965baecfa898e5f4e7402ea630b31
[ "MIT" ]
null
null
null
from datetime import datetime import sqlite3 import pytest from adifa import models #from adifa.db import get_db
21.696429
57
0.606584
afe94ca2d45bfd979c9c6fa0ac9fdd90eb8ec0aa
1,647
py
Python
authors/apps/articles/views/article_favourite_view.py
AmosWels/ah-django
5b8e39053d63f1dfb3c14066b163a1d37af91076
[ "BSD-3-Clause" ]
null
null
null
authors/apps/articles/views/article_favourite_view.py
AmosWels/ah-django
5b8e39053d63f1dfb3c14066b163a1d37af91076
[ "BSD-3-Clause" ]
null
null
null
authors/apps/articles/views/article_favourite_view.py
AmosWels/ah-django
5b8e39053d63f1dfb3c14066b163a1d37af91076
[ "BSD-3-Clause" ]
null
null
null
from django.http import Http404 from django.core import exceptions from rest_framework import status from rest_framework.generics import RetrieveUpdateAPIView from rest_framework.permissions import ( IsAuthenticatedOrReadOnly, IsAuthenticated ) from rest_framework.response import Response from rest_framework.vie...
29.410714
79
0.743169
afea6a5fe0f97d79b126baf17d6fd7a57777dd2b
7,576
py
Python
apt-select.py
pombredanne/apt-select
2efc793e5d3c958a9c9ef2c67e88fcdab11adf08
[ "MIT" ]
null
null
null
apt-select.py
pombredanne/apt-select
2efc793e5d3c958a9c9ef2c67e88fcdab11adf08
[ "MIT" ]
null
null
null
apt-select.py
pombredanne/apt-select
2efc793e5d3c958a9c9ef2c67e88fcdab11adf08
[ "MIT" ]
null
null
null
#!/usr/bin/env python from sys import exit, stderr, version_info from os import getcwd, path from subprocess import check_output from arguments import get_args from util_funcs import get_html, HTMLGetError from mirrors import Mirrors def not_ubuntu(): """Notify of incompatibility""" exit("Not an Ubuntu OS") ...
29.364341
76
0.531415
afea7d8addbac7d13049654934c396b5dce1bde8
8,176
py
Python
tests/test_wms_utils.py
LiamOSullivan/datacube-ows
6ff10853081b08d8de8485bd3c9c976cdae03390
[ "Apache-2.0" ]
null
null
null
tests/test_wms_utils.py
LiamOSullivan/datacube-ows
6ff10853081b08d8de8485bd3c9c976cdae03390
[ "Apache-2.0" ]
null
null
null
tests/test_wms_utils.py
LiamOSullivan/datacube-ows
6ff10853081b08d8de8485bd3c9c976cdae03390
[ "Apache-2.0" ]
null
null
null
# This file is part of datacube-ows, part of the Open Data Cube project. # See https://opendatacube.org for more information. # # Copyright (c) 2017-2021 OWS Contributors # SPDX-License-Identifier: Apache-2.0 from unittest.mock import MagicMock import pytest import datacube_ows.wms_utils from datacube_ows.ogc_excepti...
50.469136
112
0.474315
afeb7607481ba24537f5730e63e67c9233d3bd33
420
py
Python
hello.py
gwenzek/func_argparser
80afe8eb46c3fa85d0679c13eaad0f2b519d9b62
[ "BSD-3-Clause" ]
9
2019-12-22T09:06:47.000Z
2022-03-04T10:38:39.000Z
hello.py
gwenzek/func_argparser
80afe8eb46c3fa85d0679c13eaad0f2b519d9b62
[ "BSD-3-Clause" ]
2
2020-03-06T19:11:29.000Z
2020-05-03T12:33:09.000Z
hello.py
gwenzek/func_argparser
80afe8eb46c3fa85d0679c13eaad0f2b519d9b62
[ "BSD-3-Clause" ]
1
2020-05-02T15:45:05.000Z
2020-05-02T15:45:05.000Z
"""Say hello or goodbye to the user.""" import func_argparse def hello(user: str, times: int = None): """Say hello. Arguments: user: name of the user """ print(f"Hello {user}" * (1 if times is None else times)) def bye(user: str, see_you: float = 1.0): """Say goodbye.""" print(f"Go...
19.090909
60
0.604762
afede93e46006b05184c36eff60d75f0f70407ff
3,996
py
Python
python/batchd/blenderclient.py
portnov/batchd
44366eec3eadc654e0e6e3f7d914cc6dcae6a1a2
[ "BSD-3-Clause" ]
5
2016-03-21T06:55:32.000Z
2020-04-02T23:19:13.000Z
python/batchd/blenderclient.py
portnov/batchd
44366eec3eadc654e0e6e3f7d914cc6dcae6a1a2
[ "BSD-3-Clause" ]
45
2016-03-22T07:22:29.000Z
2022-02-06T07:43:40.000Z
python/batchd/blenderclient.py
portnov/batchd
44366eec3eadc654e0e6e3f7d914cc6dcae6a1a2
[ "BSD-3-Clause" ]
2
2019-09-08T01:40:22.000Z
2020-02-07T05:56:55.000Z
try: import bpy from bpy.types import WindowManager, AddonPreferences from bpy.props import StringProperty, EnumProperty in_blender = True except ImportError as e: in_blender = False if in_blender: from batchd import client batchd_client = None batchd_queues = [] batchd_types = [] ...
30.976744
88
0.625375
afee20d2b8c7e85de3a27f20ac4aaa7c1fa22ef1
2,242
py
Python
sample.py
uguratar/pyzico
b779d590b99392df60db7c5e2df832708df9b6a2
[ "MIT" ]
6
2015-05-03T10:48:54.000Z
2018-03-06T12:36:02.000Z
sample.py
uguratar/pyzico
b779d590b99392df60db7c5e2df832708df9b6a2
[ "MIT" ]
1
2021-06-01T22:06:45.000Z
2021-06-01T22:06:45.000Z
sample.py
uguratar/pyzico
b779d590b99392df60db7c5e2df832708df9b6a2
[ "MIT" ]
null
null
null
# coding=utf-8 from iyzico import Iyzico from iyzico_objects import IyzicoCard, IyzicoCustomer, \ IyzicoCardToken, IyzicoHTTPException, IyzicoValueException if __name__ == '__main__': my_card = IyzicoCard("4242424242424242", "10", "2015", "000", "Python Test") my_customer = Iyzic...
32.028571
73
0.501784
aff13d43cede2cfa1ff39948574ef2511d2500e0
7,220
py
Python
nbsite/gallery/thumbnailer.py
dipesh1432/nbsite
866c6d747879b9a4b88e0a30a43e35b9802645bd
[ "BSD-3-Clause" ]
15
2018-04-06T19:13:26.000Z
2019-05-24T04:08:51.000Z
nbsite/gallery/thumbnailer.py
dipesh1432/nbsite
866c6d747879b9a4b88e0a30a43e35b9802645bd
[ "BSD-3-Clause" ]
71
2018-03-09T16:32:59.000Z
2019-07-09T19:45:36.000Z
nbsite/gallery/thumbnailer.py
dipesh1432/nbsite
866c6d747879b9a4b88e0a30a43e35b9802645bd
[ "BSD-3-Clause" ]
23
2019-12-13T17:38:46.000Z
2021-09-08T14:37:26.000Z
from __future__ import unicode_literals import os, sys, subprocess, ast from nbconvert.preprocessors import Preprocessor from holoviews.core import Dimensioned, Store from holoviews.ipython.preprocessors import OptsMagicProcessor, OutputMagicProcessor from holoviews.ipython.preprocessors import StripMagicsProcessor fr...
36.836735
107
0.632964
aff207ea4a0a28746ce77ebdc560cc119cfda66c
1,719
py
Python
apps/blog/resources.py
ride90/eve_features
6cff35f8c4711ae030d6157565e4f0e77a92ab98
[ "MIT" ]
1
2021-10-03T05:30:46.000Z
2021-10-03T05:30:46.000Z
apps/blog/resources.py
ride90/eve_features
6cff35f8c4711ae030d6157565e4f0e77a92ab98
[ "MIT" ]
null
null
null
apps/blog/resources.py
ride90/eve_features
6cff35f8c4711ae030d6157565e4f0e77a92ab98
[ "MIT" ]
null
null
null
RESOURCES = { 'posts': { 'schema': { 'title': { 'type': 'string', 'minlength': 3, 'maxlength': 30, 'required': True, 'unique': False }, 'body': { 'type': 'string', ...
25.279412
45
0.275742
aff28c5107917776458b32939693487f544f849c
1,198
py
Python
tests/no_train_or_test/model.py
NehzUx/autodl
c80fdc4b297ed1ec2b9e6911d313f1fe31d83cb9
[ "Apache-2.0" ]
25
2018-09-26T14:07:11.000Z
2021-12-02T15:19:08.000Z
tests/no_train_or_test/model.py
NehzUx/autodl
c80fdc4b297ed1ec2b9e6911d313f1fe31d83cb9
[ "Apache-2.0" ]
8
2018-11-23T15:35:28.000Z
2020-02-27T14:55:11.000Z
tests/no_train_or_test/model.py
NehzUx/autodl
c80fdc4b297ed1ec2b9e6911d313f1fe31d83cb9
[ "Apache-2.0" ]
5
2019-03-05T11:05:59.000Z
2020-01-08T13:05:35.000Z
# Copyright 2016 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
37.4375
78
0.769616
aff371e591da00d7135ed8ebb4ce8865d7e19a6f
1,183
py
Python
vavs_project/fbdata/generic.py
valuesandvalue/valuesandvalue
7d7602d0b620b38dcb761c63e74077a00bae891f
[ "MIT" ]
1
2016-03-17T10:00:28.000Z
2016-03-17T10:00:28.000Z
vavs_project/fbdata/generic.py
valuesandvalue/valuesandvalue
7d7602d0b620b38dcb761c63e74077a00bae891f
[ "MIT" ]
null
null
null
vavs_project/fbdata/generic.py
valuesandvalue/valuesandvalue
7d7602d0b620b38dcb761c63e74077a00bae891f
[ "MIT" ]
null
null
null
# fbdata.generic # FBDATA from .models import ( FBAlbum, FBEvent, FBLink, FBPhoto, FBStatus, FBVideo, StreamPost ) _FB_CLASSES = { 'album': FBAlbum, 'event': FBEvent, 'link': FBLink, 'photo': FBPhoto, 'status': FBStatus, 'video': FBVideo, 'post': StreamPost } ...
25.170213
75
0.705833
aff5fee585f36426f3564f43fe4ffe9c8b477bbf
5,353
py
Python
C5G2-3D/selfscatt.py
robfairh/npre555-cp03
2aea7ae2df4a720c5d09003f98192f8986a6d107
[ "BSD-3-Clause" ]
null
null
null
C5G2-3D/selfscatt.py
robfairh/npre555-cp03
2aea7ae2df4a720c5d09003f98192f8986a6d107
[ "BSD-3-Clause" ]
2
2021-01-04T12:29:30.000Z
2021-02-01T11:13:45.000Z
C5G2-3D/selfscatt.py
robfairh/npre555-cp03
2aea7ae2df4a720c5d09003f98192f8986a6d107
[ "BSD-3-Clause" ]
null
null
null
import numpy as np import os from os import path import shutil ''' Cross-sections from Cavarec, 2014.. Materials: - uo2 - U - UO2 Fuel - mox3 - P1 - 4.3% MOX Fuel (outer) - mox2 - P2 - 7.0% MOX Fuel - mox1 - P3 - 8.7% MOX Fuel (inner) - gtub - X - Guide Tube - reflec - R - Reflector - fchamb - C - Moveable Fission Ch...
23.375546
78
0.53839
aff85f109666d7cdf9e65173eda851368c39694c
220
py
Python
tests/test_layers/test_2p5d/checks_2p5d/common.py
RichardoLuo/ColossalAI
797a9dc5a9e801d7499b8667c3ef039a38aa15ba
[ "Apache-2.0" ]
1,630
2021-10-30T01:00:27.000Z
2022-03-31T23:02:41.000Z
tests/test_layers/test_2p5d/checks_2p5d/common.py
RichardoLuo/ColossalAI
797a9dc5a9e801d7499b8667c3ef039a38aa15ba
[ "Apache-2.0" ]
166
2021-10-30T01:03:01.000Z
2022-03-31T14:19:07.000Z
tests/test_layers/test_2p5d/checks_2p5d/common.py
RichardoLuo/ColossalAI
797a9dc5a9e801d7499b8667c3ef039a38aa15ba
[ "Apache-2.0" ]
253
2021-10-30T06:10:29.000Z
2022-03-31T13:30:06.000Z
import torch TESSERACT_DIM = 2 TESSERACT_DEP = 2 BATCH_SIZE = 8 SEQ_LENGTH = 8 HIDDEN_SIZE = 8 NUM_CLASSES = 8 VOCAB_SIZE = 16 IMG_SIZE = 16
15.714286
53
0.718182
affc39443576305ee2e0ade1abbbe279cdbe06bc
627
py
Python
default_values.py
Omar-X/App_init
9de2fff36a8a5d2911e5dd495b62a7ce91d4a68e
[ "MIT" ]
1
2021-10-11T09:40:27.000Z
2021-10-11T09:40:27.000Z
default_values.py
Omar-X/App_init
9de2fff36a8a5d2911e5dd495b62a7ce91d4a68e
[ "MIT" ]
null
null
null
default_values.py
Omar-X/App_init
9de2fff36a8a5d2911e5dd495b62a7ce91d4a68e
[ "MIT" ]
null
null
null
import os # getting path so you can run the script python3 App_init, python3 . if os.getcwd()[-8:] != "App_init": default_path = "App_init/" print(default_path) else: default_path = "" # reading all built in modules default_modules = open(f"{default_path}default_modules.txt", "r").readlines() for a, i in ...
27.26087
77
0.639553
affc7c1ad9927ed457d4cd8319b35626ca50bd99
4,770
py
Python
city_scrapers/spiders/chi_ssa_21.py
Anphisa/city-scrapers
d8daf6c7a8207efc209277c017faffda430b2ef3
[ "MIT" ]
null
null
null
city_scrapers/spiders/chi_ssa_21.py
Anphisa/city-scrapers
d8daf6c7a8207efc209277c017faffda430b2ef3
[ "MIT" ]
null
null
null
city_scrapers/spiders/chi_ssa_21.py
Anphisa/city-scrapers
d8daf6c7a8207efc209277c017faffda430b2ef3
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import dateutil.parser from city_scrapers.constants import COMMISSION from city_scrapers.spider import Spider
30.382166
88
0.509644
affcb8500f5c823d8eb2fe67a550af89dc3aca90
5,353
py
Python
misp/utils/visual_utils.py
zhoudaxia233/misp
c0d36e3f1a1eeac417d6bfff015ea5430f1d0de5
[ "MIT" ]
2
2019-12-21T10:46:57.000Z
2019-12-22T14:01:23.000Z
misp/utils/visual_utils.py
zhoudaxia233/misp
c0d36e3f1a1eeac417d6bfff015ea5430f1d0de5
[ "MIT" ]
null
null
null
misp/utils/visual_utils.py
zhoudaxia233/misp
c0d36e3f1a1eeac417d6bfff015ea5430f1d0de5
[ "MIT" ]
null
null
null
import numpy as np import matplotlib.pyplot as plt from matplotlib.ticker import MaxNLocator, AutoMinorLocator from sklearn.metrics import confusion_matrix import torch import torch.nn as nn from typing import Dict, Tuple from .utils import predict __all__ = ['get_heatmap_tensor', 'detransform', 'plot_confusion_matrix...
33.879747
109
0.636279
affd5e2f205058bf88abc9754f3558ca73cf1cfe
6,732
py
Python
infrastructure/__main__.py
jacopotagliabue/paas-data-ingestion
81a9c81c3d1846a77be7f15648e994801e14450d
[ "MIT" ]
30
2021-12-16T10:56:22.000Z
2022-03-31T11:09:16.000Z
infrastructure/__main__.py
jacopotagliabue/paas-data-ingestion
81a9c81c3d1846a77be7f15648e994801e14450d
[ "MIT" ]
null
null
null
infrastructure/__main__.py
jacopotagliabue/paas-data-ingestion
81a9c81c3d1846a77be7f15648e994801e14450d
[ "MIT" ]
3
2021-12-17T08:53:56.000Z
2022-01-25T16:14:48.000Z
import pulumi import pulumi_aws as aws import pulumi_snowflake as snowflake from my_snowflake_roles import MySnowflakeRoles from my_snowflake_snowpipe import MySnowpipe from my_lambda import MyLambda PROJECT_NAME = pulumi.get_project() STACK_NAME = pulumi.get_stack() PREFIX = f'{PROJECT_NAME}-{STACK_NAME}'.lower().r...
27.818182
133
0.610517
affe1f7c5acaa073ae333db92fc0f2ba9b660efd
28
py
Python
tests/math/__init__.py
Ejjaffe/dit
c9d206f03d1de5a0a298b1d0ea9d79ea5e789ee1
[ "BSD-3-Clause" ]
1
2021-03-15T08:51:42.000Z
2021-03-15T08:51:42.000Z
tests/math/__init__.py
Ejjaffe/dit
c9d206f03d1de5a0a298b1d0ea9d79ea5e789ee1
[ "BSD-3-Clause" ]
null
null
null
tests/math/__init__.py
Ejjaffe/dit
c9d206f03d1de5a0a298b1d0ea9d79ea5e789ee1
[ "BSD-3-Clause" ]
null
null
null
""" Tests for dit.math. """
7
19
0.535714
b3002f19f23fd7a651f2fd21a8598fc87385b360
306
py
Python
FATS/featureFunction.py
serdarozsoy/FATS
e2a1bf4f142c20eada5d0d63435599e9139d4a9d
[ "MIT" ]
null
null
null
FATS/featureFunction.py
serdarozsoy/FATS
e2a1bf4f142c20eada5d0d63435599e9139d4a9d
[ "MIT" ]
null
null
null
FATS/featureFunction.py
serdarozsoy/FATS
e2a1bf4f142c20eada5d0d63435599e9139d4a9d
[ "MIT" ]
null
null
null
<<<<<<< HEAD import os,sys,time import numpy as np import pandas as pd import matplotlib.pyplot as plt import Base ======= import os,sys,time import numpy as np import pandas as pd import matplotlib.pyplot as plt import Base >>>>>>> e5e6c78995f79de751f6aa5e3ad47cb15bd3fffc from FeatureFunctionLib import *
21.857143
48
0.777778
b300d8ecf9747b4d9b531ad1418bf35e81de5855
1,367
py
Python
personal-work/assignment2/rPi/arduino_to_python_to_mySQL.py
crabman84/codeIoT
6bb5d3f6467d686e4eae30db011af32e8ae7d5f8
[ "MIT" ]
null
null
null
personal-work/assignment2/rPi/arduino_to_python_to_mySQL.py
crabman84/codeIoT
6bb5d3f6467d686e4eae30db011af32e8ae7d5f8
[ "MIT" ]
null
null
null
personal-work/assignment2/rPi/arduino_to_python_to_mySQL.py
crabman84/codeIoT
6bb5d3f6467d686e4eae30db011af32e8ae7d5f8
[ "MIT" ]
null
null
null
import serial import io import MySQLdb device = '/dev/ttyACM1' #ser = serial.Serial('/dev/ttyACM1', 9600) arduino = serial.Serial(device, 9600) #dataTemp = arduino.readline() temp = 5 motorPos = 50 hIndex = 4 i = 0 while(i<3): dataIndicator = arduino.readline() indicator = dataIndicator.decode().strip() ...
22.409836
111
0.630578
b302348ee4bab662ae5fc00d100adcd638224ab8
56
py
Python
result_helpers/__init__.py
CFM-MSG/CMAN_pytorch
e176debef6888ae96781a6cfafabcbd438fbfcb0
[ "MIT" ]
null
null
null
result_helpers/__init__.py
CFM-MSG/CMAN_pytorch
e176debef6888ae96781a6cfafabcbd438fbfcb0
[ "MIT" ]
null
null
null
result_helpers/__init__.py
CFM-MSG/CMAN_pytorch
e176debef6888ae96781a6cfafabcbd438fbfcb0
[ "MIT" ]
null
null
null
from result_helpers.mem_one_class import MEMResultHelper
56
56
0.928571
b30280032746da65b4d1cd88375992e47f1f3a7e
2,820
py
Python
azure-event-hub-master/service/service.py
sesam-community/azure-eventhub-source
22017b7586df95d8b9917797e561b3e444864b1b
[ "Apache-2.0" ]
null
null
null
azure-event-hub-master/service/service.py
sesam-community/azure-eventhub-source
22017b7586df95d8b9917797e561b3e444864b1b
[ "Apache-2.0" ]
null
null
null
azure-event-hub-master/service/service.py
sesam-community/azure-eventhub-source
22017b7586df95d8b9917797e561b3e444864b1b
[ "Apache-2.0" ]
1
2019-04-05T08:09:30.000Z
2019-04-05T08:09:30.000Z
import json from flask import Flask, request, Response from azure.eventhub import EventHubClient, Offset from ast import literal_eval import logging import cherrypy import os from uamqp import types, errors app = Flask(__name__) logger = logging.getLogger('service') logging.basicConfig(level=logging.ERROR) # Access ...
33.571429
120
0.637589
b302d7a1061000487ddbabb61f61edef21f08f72
861
py
Python
pollect/sources/HttpSource.py
ystradmann/pollect
064b5f2dd149255a642236eab5d12cbda3094461
[ "MIT" ]
null
null
null
pollect/sources/HttpSource.py
ystradmann/pollect
064b5f2dd149255a642236eab5d12cbda3094461
[ "MIT" ]
null
null
null
pollect/sources/HttpSource.py
ystradmann/pollect
064b5f2dd149255a642236eab5d12cbda3094461
[ "MIT" ]
null
null
null
import time from typing import Optional from pollect.core import Helper from pollect.core.ValueSet import ValueSet, Value from pollect.sources.Source import Source
29.689655
92
0.626016
b304511c23a05e5c02a15ade41a42766675c4bda
242
py
Python
ikologikapi/domain/AbstractIkologikCustomerObject.py
Ikologik/ikologik-api-python
5bf32d7dde3366110c6fde4fc76d74fb461eb8b5
[ "MIT" ]
null
null
null
ikologikapi/domain/AbstractIkologikCustomerObject.py
Ikologik/ikologik-api-python
5bf32d7dde3366110c6fde4fc76d74fb461eb8b5
[ "MIT" ]
null
null
null
ikologikapi/domain/AbstractIkologikCustomerObject.py
Ikologik/ikologik-api-python
5bf32d7dde3366110c6fde4fc76d74fb461eb8b5
[ "MIT" ]
null
null
null
from ikologikapi.domain.AbstractIkologikObject import AbstractIkologikObject
24.2
76
0.772727
b30592b52ccb0ad577925bc052ff24161d1e552c
2,316
py
Python
2018/day04.py
jawang35/advent-of-code
06e2ba940f452c66b7863d837f6a3245c9921597
[ "MIT" ]
null
null
null
2018/day04.py
jawang35/advent-of-code
06e2ba940f452c66b7863d837f6a3245c9921597
[ "MIT" ]
1
2018-12-21T19:05:27.000Z
2018-12-31T18:59:07.000Z
2018/day04.py
jawang35/advent-of-code
06e2ba940f452c66b7863d837f6a3245c9921597
[ "MIT" ]
null
null
null
from datetime import datetime from enum import Enum, auto import re guard_id_regex = re.compile(r'#\d+') if __name__ == '__main__': with open('2018/sampleinputs/day04.txt') as file: records = sorted([Record(r) for r in file.read().split('\n')[:-1]], key=lambda r: r.timestamp) sleep_log = buil...
37.967213
111
0.636442
b305a34bdb889b52d5f6fb744e2674940dcc4b15
6,043
py
Python
lib/symbioticpy/symbiotic/symbiotic.py
IMULMUL/symbiotic
25a72f06440739b881156a56ea87ee254f21bdd9
[ "MIT" ]
null
null
null
lib/symbioticpy/symbiotic/symbiotic.py
IMULMUL/symbiotic
25a72f06440739b881156a56ea87ee254f21bdd9
[ "MIT" ]
14
2015-03-31T11:54:34.000Z
2015-10-04T19:26:56.000Z
lib/symbioticpy/symbiotic/symbiotic.py
IMULMUL/symbiotic
25a72f06440739b881156a56ea87ee254f21bdd9
[ "MIT" ]
null
null
null
#!/usr/bin/python import os import sys import re from . transform import SymbioticCC from . verifier import SymbioticVerifier from . options import SymbioticOptions from . utils import err, dbg, print_elapsed_time, restart_counting_time from . utils.utils import print_stdout from . utils.process import ProcessRunner ...
35.547059
89
0.573556
b306523785b4bd7109a4337c13f607cc42984c0b
590
py
Python
main/python-sphinx-removed-in/template.py
RoastVeg/cports
803c7f07af341eb32f791b6ec1f237edb2764bd5
[ "BSD-2-Clause" ]
null
null
null
main/python-sphinx-removed-in/template.py
RoastVeg/cports
803c7f07af341eb32f791b6ec1f237edb2764bd5
[ "BSD-2-Clause" ]
null
null
null
main/python-sphinx-removed-in/template.py
RoastVeg/cports
803c7f07af341eb32f791b6ec1f237edb2764bd5
[ "BSD-2-Clause" ]
null
null
null
pkgname = "python-sphinx-removed-in" pkgver = "0.2.1" pkgrel = 0 build_style = "python_module" hostmakedepends = ["python-setuptools"] checkdepends = ["python-sphinx"] depends = ["python-sphinx"] pkgdesc = "Sphinx extension for versionremoved and removed-in directives" maintainer = "q66 <q66@chimera-linux.org>" license...
36.875
78
0.759322
b3071a1b815f8d4b62fc6b810125289866f9f503
180
py
Python
portal/serializers.py
Radek198/Food-Co-op
eee5077d9cd9f5f9b71a649e7fb086f5e04d3f83
[ "MIT" ]
null
null
null
portal/serializers.py
Radek198/Food-Co-op
eee5077d9cd9f5f9b71a649e7fb086f5e04d3f83
[ "MIT" ]
null
null
null
portal/serializers.py
Radek198/Food-Co-op
eee5077d9cd9f5f9b71a649e7fb086f5e04d3f83
[ "MIT" ]
null
null
null
from rest_framework import serializers
25.714286
52
0.794444
b3088829bd55a0d983de8c705f56417ea4a54ac3
46
py
Python
graphgallery/gallery/linkpred/pyg/__init__.py
EdisonLeeeee/GraphGallery
4eec9c5136bda14809bd22584b26cc346cdb633b
[ "MIT" ]
300
2020-08-09T04:27:41.000Z
2022-03-30T07:43:41.000Z
graphgallery/gallery/linkpred/pyg/__init__.py
EdisonLeeeee/GraphGallery
4eec9c5136bda14809bd22584b26cc346cdb633b
[ "MIT" ]
5
2020-11-05T06:16:50.000Z
2021-12-11T05:05:22.000Z
graphgallery/gallery/linkpred/pytorch/__init__.py
EdisonLeeeee/GraphGallery
4eec9c5136bda14809bd22584b26cc346cdb633b
[ "MIT" ]
51
2020-09-23T15:37:12.000Z
2022-03-05T01:28:56.000Z
from .gae import GAE from .vgae import VGAE
15.333333
23
0.73913
b3098f530cc75aa41ac3e63282ed9b4d3590224b
22,953
py
Python
SightingsTOcsv.py
kfiala/AviSysDataAccess
baf7bb5e4c97c7e175152c133304f00195fb4bcd
[ "Apache-2.0" ]
1
2021-05-02T17:31:58.000Z
2021-05-02T17:31:58.000Z
SightingsTOcsv.py
kfiala/AviSysDataAccess
baf7bb5e4c97c7e175152c133304f00195fb4bcd
[ "Apache-2.0" ]
1
2021-11-15T19:07:28.000Z
2021-11-19T02:44:59.000Z
SightingsTOcsv.py
kfiala/AviSysDataAccess
baf7bb5e4c97c7e175152c133304f00195fb4bcd
[ "Apache-2.0" ]
null
null
null
# Export the contents of AviSys files SIGHTING.DAT and FNotes.DAT to CSV format # Author: Kent Fiala <Kent.Fiala@gmail.com> # Version: 1.2 3 April 2021 import sys import csv import ctypes # Input files DATA_FILE = 'SIGHTING.DAT' MASTER_FILE = 'MASTER.AVI' PLACES_FILE = 'PLACES.AVI' NOTE_INDEX = 'FNotes.IX' NOTE_FILE ...
31.746888
289
0.685139
b30c782f3342ff4875fb902c643ddb150ecbbb77
1,106
py
Python
bot/migrators/config_migrator.py
yukie-nobuharu/TTMediaBot
9d34aadb1cfa41fcceee212931ff12526d3d137f
[ "MIT" ]
null
null
null
bot/migrators/config_migrator.py
yukie-nobuharu/TTMediaBot
9d34aadb1cfa41fcceee212931ff12526d3d137f
[ "MIT" ]
null
null
null
bot/migrators/config_migrator.py
yukie-nobuharu/TTMediaBot
9d34aadb1cfa41fcceee212931ff12526d3d137f
[ "MIT" ]
null
null
null
import sys from bot.config import ConfigManager, config_data_type migrate_functs = {1: to_v1}
29.105263
84
0.712477