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
1cf352409236639cbafbd2ba47ff641f1c9803a8
44
py
Python
src/experiment.py
windar427/find_alpha
dbca4e677c6cdc144f20f6259c07291b5d3e6eed
[ "MIT" ]
null
null
null
src/experiment.py
windar427/find_alpha
dbca4e677c6cdc144f20f6259c07291b5d3e6eed
[ "MIT" ]
null
null
null
src/experiment.py
windar427/find_alpha
dbca4e677c6cdc144f20f6259c07291b5d3e6eed
[ "MIT" ]
null
null
null
from .lib.DownloadData import DownloadData
14.666667
42
0.840909
1cf437df5479619203c624b6e001a3eebc26d12e
127
py
Python
src/__init__.py
songchenwen/icloud-drive-docker
7188dfbcc34e29ddbeeb1324c62ea77bed8f0576
[ "BSD-3-Clause" ]
null
null
null
src/__init__.py
songchenwen/icloud-drive-docker
7188dfbcc34e29ddbeeb1324c62ea77bed8f0576
[ "BSD-3-Clause" ]
null
null
null
src/__init__.py
songchenwen/icloud-drive-docker
7188dfbcc34e29ddbeeb1324c62ea77bed8f0576
[ "BSD-3-Clause" ]
null
null
null
__author__ = 'Mandar Patil (mandarons@pm.me)' import warnings warnings.filterwarnings('ignore', category=DeprecationWarning)
21.166667
62
0.80315
1cf4fd8e02d4b81f15724ee999de5c59e9d28d5e
3,210
py
Python
setup.py
rohernandezz/coldtype
724234fce454699a469d17b6c78ae50fa8138169
[ "Apache-2.0" ]
null
null
null
setup.py
rohernandezz/coldtype
724234fce454699a469d17b6c78ae50fa8138169
[ "Apache-2.0" ]
null
null
null
setup.py
rohernandezz/coldtype
724234fce454699a469d17b6c78ae50fa8138169
[ "Apache-2.0" ]
null
null
null
import setuptools long_description = """ # Coldtype ### Programmatic display typography More info available at: [coldtype.goodhertz.com](https://coldtype.goodhertz.com) """ setuptools.setup( name="coldtype", version="0.6.6", author="Rob Stenson / Goodhertz", author_email="rob@goodhertz.com", des...
25.68
83
0.50405
1cf68294fceda7fcab026e615d3065d3c8dac6d6
5,064
py
Python
GFOLD_problem.py
xdedss/SuccessiveConvexification
8b330b64a31f546ce92c1e34036c212484cbae5e
[ "MIT" ]
null
null
null
GFOLD_problem.py
xdedss/SuccessiveConvexification
8b330b64a31f546ce92c1e34036c212484cbae5e
[ "MIT" ]
null
null
null
GFOLD_problem.py
xdedss/SuccessiveConvexification
8b330b64a31f546ce92c1e34036c212484cbae5e
[ "MIT" ]
1
2021-01-18T11:47:19.000Z
2021-01-18T11:47:19.000Z
# -*- coding: utf-8 -*- # GFOLD_static_p3p4 min_=min from cvxpy import * import cvxpy_codegen as cpg from time import time import numpy as np import sys import GFOLD_params ''' As defined in the paper... PROBLEM 3: Minimum Landing Error (tf roughly solved) MINIMIZE : norm of landing error vector SUBJ TO : ...
33.536424
102
0.540482
1cf6d2a88472187827c03695f3dd1ceab02478dc
6,154
py
Python
Hints.py
SarienFates/MMRandomizer
7c677140d83e94167fecee35e8c25216a51bdd56
[ "MIT" ]
36
2018-08-23T05:01:33.000Z
2021-03-17T03:25:20.000Z
Hints.py
SarienFates/MMRandomizer
7c677140d83e94167fecee35e8c25216a51bdd56
[ "MIT" ]
11
2018-09-07T21:43:13.000Z
2019-02-10T22:40:11.000Z
Hints.py
SarienFates/MMRandomizer
7c677140d83e94167fecee35e8c25216a51bdd56
[ "MIT" ]
7
2018-08-22T09:49:12.000Z
2020-01-12T20:23:29.000Z
import io import hashlib import logging import os import struct import random from HintList import getHint, getHintGroup, Hint from Utils import local_path #builds out general hints based on location and whether an item is required or not # builds boss reward text that is displayed at the temple of time ...
41.581081
183
0.666071
1cf7cd31d835d561c98ce25133f916ba86e3848f
304
py
Python
examen_2/p2/p2.py
Jhoselyn-Carballo/computacion_para_ingenieria
4b5ed7d4aa0017fb4993ccfdcc9fcef0fb5b3898
[ "Apache-2.0" ]
null
null
null
examen_2/p2/p2.py
Jhoselyn-Carballo/computacion_para_ingenieria
4b5ed7d4aa0017fb4993ccfdcc9fcef0fb5b3898
[ "Apache-2.0" ]
null
null
null
examen_2/p2/p2.py
Jhoselyn-Carballo/computacion_para_ingenieria
4b5ed7d4aa0017fb4993ccfdcc9fcef0fb5b3898
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Thu Feb 17 09:10:05 2022 @author: JHOSS """ from tkinter import *
17.882353
35
0.644737
1cf8bcf99614d3811354f1616a7df6d5dc7e2771
786
py
Python
bokeh/models/tests/test_callbacks.py
ndepal/bokeh
1b514f28fe40eeb71954eac0c113b2debdb2eda9
[ "BSD-3-Clause" ]
1
2018-11-14T19:08:18.000Z
2018-11-14T19:08:18.000Z
bokeh/models/tests/test_callbacks.py
ndepal/bokeh
1b514f28fe40eeb71954eac0c113b2debdb2eda9
[ "BSD-3-Clause" ]
1
2021-05-09T02:45:17.000Z
2021-05-09T02:45:17.000Z
bokeh/models/tests/test_callbacks.py
ndepal/bokeh
1b514f28fe40eeb71954eac0c113b2debdb2eda9
[ "BSD-3-Clause" ]
1
2020-06-17T05:47:16.000Z
2020-06-17T05:47:16.000Z
from pytest import raises from bokeh.models import CustomJS, Slider
22.457143
56
0.605598
1cf8fa369efacd3241e998562ea192fd61a8484a
639
py
Python
tests/test_0150-attributeerrors.py
martindurant/awkward-1.0
a3221ee1bab6551dd01d5dd07a1d2dc24fd02c38
[ "BSD-3-Clause" ]
null
null
null
tests/test_0150-attributeerrors.py
martindurant/awkward-1.0
a3221ee1bab6551dd01d5dd07a1d2dc24fd02c38
[ "BSD-3-Clause" ]
null
null
null
tests/test_0150-attributeerrors.py
martindurant/awkward-1.0
a3221ee1bab6551dd01d5dd07a1d2dc24fd02c38
[ "BSD-3-Clause" ]
null
null
null
# BSD 3-Clause License; see https://github.com/jpivarski/awkward-1.0/blob/master/LICENSE from __future__ import absolute_import import sys import pytest import numpy import awkward1
23.666667
88
0.666667
1cf95ca934131253ff13ec5e02a3e110c4125705
1,838
py
Python
scripts/preprocess.py
umd-lib/solr-irroc
860be84ea1847cbb96c1a7a70b03f59dc6e0366b
[ "Apache-2.0" ]
null
null
null
scripts/preprocess.py
umd-lib/solr-irroc
860be84ea1847cbb96c1a7a70b03f59dc6e0366b
[ "Apache-2.0" ]
null
null
null
scripts/preprocess.py
umd-lib/solr-irroc
860be84ea1847cbb96c1a7a70b03f59dc6e0366b
[ "Apache-2.0" ]
1
2019-11-04T13:19:34.000Z
2019-11-04T13:19:34.000Z
#!/user/bin/env python3 # -*- coding: utf8 -*- #===================================================# # cleanup.py # # Joshua Westgard # # 2015-08-13 # # # #...
36.039216
77
0.516322
1cf9ec2d86459244af14ac26fb2ee812ead9cfcb
1,262
py
Python
ievv_opensource/demo/batchframeworkdemo/apps.py
appressoas/ievv_opensource
63e87827952ddc8f6f86145b79478ef21d6a0990
[ "BSD-3-Clause" ]
null
null
null
ievv_opensource/demo/batchframeworkdemo/apps.py
appressoas/ievv_opensource
63e87827952ddc8f6f86145b79478ef21d6a0990
[ "BSD-3-Clause" ]
37
2015-10-26T09:14:12.000Z
2022-02-10T10:35:33.000Z
ievv_opensource/demo/batchframeworkdemo/apps.py
appressoas/ievv_opensource
63e87827952ddc8f6f86145b79478ef21d6a0990
[ "BSD-3-Clause" ]
1
2015-11-06T07:56:34.000Z
2015-11-06T07:56:34.000Z
from django.apps import AppConfig from ievv_opensource import ievv_batchframework from ievv_opensource.ievv_batchframework import batchregistry
33.210526
89
0.655309
1cf9fe0aeeda656a56200c7ffd6e72f3aa0fd6c3
783
py
Python
fmoe/gates/utils.py
GODVIX/fastmoe
7f6463f0367205a1e95139c6d7e930be6e7fa746
[ "Apache-2.0" ]
null
null
null
fmoe/gates/utils.py
GODVIX/fastmoe
7f6463f0367205a1e95139c6d7e930be6e7fa746
[ "Apache-2.0" ]
1
2021-05-24T03:13:50.000Z
2021-05-24T03:13:50.000Z
fmoe/gates/utils.py
Co1lin/fastmoe
ff7333c7a164a8e1f54954b1b56095dc4cde7bfc
[ "Apache-2.0" ]
null
null
null
r""" Utilities that may be used in the gates """ import torch from fmoe.functions import count_by_gate import fmoe_cuda as fmoe_native
30.115385
79
0.711367
1cfa6189a373dd681dccafae6be7e17e2a430784
4,438
py
Python
evaluate.py
DeppMeng/DANNet
831eb70d44a4a0b6f6f57ca2014521fc64d1906c
[ "Apache-2.0" ]
null
null
null
evaluate.py
DeppMeng/DANNet
831eb70d44a4a0b6f6f57ca2014521fc64d1906c
[ "Apache-2.0" ]
null
null
null
evaluate.py
DeppMeng/DANNet
831eb70d44a4a0b6f6f57ca2014521fc64d1906c
[ "Apache-2.0" ]
null
null
null
import os import torch import numpy as np from PIL import Image import torch.nn as nn from torch.utils import data from network import * from dataset.zurich_night_dataset import zurich_night_DataSet from configs.test_config import get_arguments palette = [128, 64, 128, 244, 35, 232, 70, 70, 70, 102, 102, 156, 190, ...
37.294118
116
0.630689
1cff9155874f3a3bbd07b635d9ad399b58f00a6d
1,581
py
Python
decorator.py
zengboming/python
13018f476554adc3bff831af27c08f7c216d4b09
[ "Apache-2.0" ]
null
null
null
decorator.py
zengboming/python
13018f476554adc3bff831af27c08f7c216d4b09
[ "Apache-2.0" ]
null
null
null
decorator.py
zengboming/python
13018f476554adc3bff831af27c08f7c216d4b09
[ "Apache-2.0" ]
null
null
null
#decorator f=now f() print now.__name__ print f.__name__ now1() now1=log(now1) now1() now2() import functools now3() now4() now5() now6()
17.566667
53
0.655914
e8000d1d11cc25ead163054e538c9037a92ad52f
2,090
py
Python
test/pyfrechet_visualize.py
compgeomTU/frechetForCurves
625bfe32a45d23b194226b4ac7713ded09bd2825
[ "MIT" ]
null
null
null
test/pyfrechet_visualize.py
compgeomTU/frechetForCurves
625bfe32a45d23b194226b4ac7713ded09bd2825
[ "MIT" ]
null
null
null
test/pyfrechet_visualize.py
compgeomTU/frechetForCurves
625bfe32a45d23b194226b4ac7713ded09bd2825
[ "MIT" ]
null
null
null
# Author: Will Rodman # wrodman@tulane.edu # # Command line to run program: # python3 pyfrechet_visualize.py import sys, os, unittest sys.path.insert(0, "../") from pyfrechet.distance import StrongDistance from pyfrechet.visualize import FreeSpaceDiagram, Trajectories TEST_DATA = "sp500" if TEST_DATA == "sp500": ...
27.866667
71
0.704306
e800c566ae2b10b4aec8821bd3d2096d44b1f7e9
6,403
py
Python
py_ser_freeastro/core.py
nww2007/py_ser_freeastro
5806cf83316f48a6db0abe4a88e4485fc04a1b4d
[ "MIT" ]
null
null
null
py_ser_freeastro/core.py
nww2007/py_ser_freeastro
5806cf83316f48a6db0abe4a88e4485fc04a1b4d
[ "MIT" ]
null
null
null
py_ser_freeastro/core.py
nww2007/py_ser_freeastro
5806cf83316f48a6db0abe4a88e4485fc04a1b4d
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # vim:fileencoding=UTF-8 # -*- coding: UTF-8 -*- """ Created on 15 juny 2019 y. @author: Vlsdimir Nekrasov nww2007@mail.ru """ import sys import struct import numpy as np from progress.bar import Bar import logging logging.basicConfig(format = u'%(filename)s:%(lineno)d: %(levelname)-8s [%(asc...
38.341317
165
0.580353
e801eb5a0287658d171711d53067b93a3c272ccf
10,915
py
Python
sgdml_dataset_generation/readers/fchk.py
humeniuka/sGDML_dataset_generation
a99f792b6aac7ff869ebcd1bd7a7226ca81f43ee
[ "MIT" ]
null
null
null
sgdml_dataset_generation/readers/fchk.py
humeniuka/sGDML_dataset_generation
a99f792b6aac7ff869ebcd1bd7a7226ca81f43ee
[ "MIT" ]
null
null
null
sgdml_dataset_generation/readers/fchk.py
humeniuka/sGDML_dataset_generation
a99f792b6aac7ff869ebcd1bd7a7226ca81f43ee
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- __all__ = ["FormattedCheckpointFile"] # # Imports import numpy as np import scipy.linalg as sla from collections import OrderedDict import re import logging # # Local Imports from sgdml_dataset_generation import units from sgdml_dataset_generation.units import hbar # # L...
38.298246
132
0.536143
e80208494724abb41e0606d412c1f9f663383e0b
227
py
Python
2020_01_01/max_values/max_values.py
94JuHo/Algorithm_study
e2c10ec680d966e5bcc4e7cb88d9514f9ccbbf15
[ "MIT" ]
null
null
null
2020_01_01/max_values/max_values.py
94JuHo/Algorithm_study
e2c10ec680d966e5bcc4e7cb88d9514f9ccbbf15
[ "MIT" ]
null
null
null
2020_01_01/max_values/max_values.py
94JuHo/Algorithm_study
e2c10ec680d966e5bcc4e7cb88d9514f9ccbbf15
[ "MIT" ]
null
null
null
values = [] for i in range(9): values.append(int(input(''))) max_value = 0 location = 0 for i in range(9): if values[i] > max_value: max_value = values[i] location = i+1 print(max_value) print(location)
18.916667
33
0.61674
e803805e9e6f0689766fc36aba000586323cb80c
3,097
py
Python
fuzzywuzzy/process.py
rhasspy/fuzzywuzzy
e5b486c756b392481ec8e1382eedce280e56fd69
[ "MIT" ]
3
2015-10-18T18:00:08.000Z
2021-03-23T06:42:02.000Z
fuzzywuzzy/process.py
rhasspy/fuzzywuzzy
e5b486c756b392481ec8e1382eedce280e56fd69
[ "MIT" ]
20
2015-01-16T18:46:53.000Z
2016-02-18T22:01:00.000Z
process.py
agile-geoscience/fuzzylas
0298292878d7fb6c0a788a1a2a21b543f49432bd
[ "Apache-2.0" ]
10
2015-08-11T10:12:56.000Z
2022-02-20T14:45:50.000Z
#!/usr/bin/env python # encoding: utf-8 """ process.py Copyright (c) 2011 Adam Cohen Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights t...
35.193182
119
0.668389
e803dd122dcc777403d95c61024e9847e1e285a3
2,063
py
Python
day03/day03.py
robfalck/AoC2017
fa19f3fb42d979b60888a1954bea571c9d4ee735
[ "Apache-2.0" ]
null
null
null
day03/day03.py
robfalck/AoC2017
fa19f3fb42d979b60888a1954bea571c9d4ee735
[ "Apache-2.0" ]
null
null
null
day03/day03.py
robfalck/AoC2017
fa19f3fb42d979b60888a1954bea571c9d4ee735
[ "Apache-2.0" ]
null
null
null
from __future__ import print_function, division, absolute_import import numpy as np INPUT = 265149 def part2(number): """ A brute-force approach to part 2. """ map = np.zeros((11, 11), dtype=int) row = 5 col = 5 map[row, col] = 1 heading = 'RIGHT' dcol = 1 drow = 0 n...
21.946809
64
0.448376
e80430c85971413d707279b7c247a402de4c954e
916
py
Python
core/migrations/0004_auto_20210929_2354.py
codefair114/Inventory-App-Django
f09f43ca282f82be981cac26a92d614fdf2ff5ef
[ "MIT" ]
null
null
null
core/migrations/0004_auto_20210929_2354.py
codefair114/Inventory-App-Django
f09f43ca282f82be981cac26a92d614fdf2ff5ef
[ "MIT" ]
null
null
null
core/migrations/0004_auto_20210929_2354.py
codefair114/Inventory-App-Django
f09f43ca282f82be981cac26a92d614fdf2ff5ef
[ "MIT" ]
null
null
null
# Generated by Django 3.2.7 on 2021-09-29 23:54 from django.db import migrations, models import django.db.models.deletion
30.533333
117
0.618996
e804b98c7267ddc9714ddf384d8bd8fa54ddef35
5,249
py
Python
nova/api/openstack/compute/legacy_v2/contrib/console_auth_tokens.py
bopopescu/nova-token
ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2
[ "Apache-2.0" ]
null
null
null
nova/api/openstack/compute/legacy_v2/contrib/console_auth_tokens.py
bopopescu/nova-token
ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2
[ "Apache-2.0" ]
null
null
null
nova/api/openstack/compute/legacy_v2/contrib/console_auth_tokens.py
bopopescu/nova-token
ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2
[ "Apache-2.0" ]
2
2017-07-20T17:31:34.000Z
2020-07-24T02:42:19.000Z
begin_unit comment|'# Copyright 2013 Cloudbase Solutions Srl' nl|'\n' comment|'# All Rights Reserved.' nl|'\n' comment|'#' nl|'\n' comment|'# Licensed under the Apache License, Version 2.0 (the "License"); you may' nl|'\n' comment|'# not use this file except in compliance with the License. You may obtain' nl|'\n'...
14.62117
88
0.634597
e805511a04665665499fc07f9e4ac3855c825235
1,801
py
Python
ahrs/common/geometry.py
jaluebbe/ahrs
4b4a33b1006e0d455a71ac8379a2697202361758
[ "MIT" ]
184
2019-09-06T07:58:52.000Z
2022-03-31T04:27:09.000Z
ahrs/common/geometry.py
geoKinga/ahrs
87f9210cfcf6c545d86ae8588a93f012020164ee
[ "MIT" ]
48
2019-11-13T15:42:46.000Z
2022-03-31T23:53:53.000Z
ahrs/common/geometry.py
geoKinga/ahrs
87f9210cfcf6c545d86ae8588a93f012020164ee
[ "MIT" ]
34
2019-12-19T16:22:00.000Z
2022-03-14T09:51:50.000Z
# -*- coding: utf-8 -*- """ Geometrical functions --------------------- References ---------- .. [W1] Wikipedia: https://de.wikipedia.org/wiki/Ellipse#Ellipsengleichung_(Parameterform) .. [WAE] Wolfram Alpha: Ellipse. (http://mathworld.wolfram.com/Ellipse.html) """ import numpy as np from typing import Union def ci...
27.287879
124
0.599667
e8072be9245c30cff262ca9e32de353f2b9c7c66
4,435
py
Python
htdocs/plotting/auto/scripts100/p116.py
jamayfieldjr/iem
275b77a65f3b12e26e6cbdb230786b9c7d2b9c9a
[ "MIT" ]
1
2019-10-07T17:01:24.000Z
2019-10-07T17:01:24.000Z
htdocs/plotting/auto/scripts100/p116.py
jamayfieldjr/iem
275b77a65f3b12e26e6cbdb230786b9c7d2b9c9a
[ "MIT" ]
null
null
null
htdocs/plotting/auto/scripts100/p116.py
jamayfieldjr/iem
275b77a65f3b12e26e6cbdb230786b9c7d2b9c9a
[ "MIT" ]
null
null
null
"""Monthly HDD/CDD Totals.""" import datetime from pandas.io.sql import read_sql from pyiem.plot.use_agg import plt from pyiem.util import get_dbconn, get_autoplot_context from pyiem.exceptions import NoDataFound PDICT = {'cdd': 'Cooling Degree Days', 'hdd': 'Heating Degree Days'} def get_description(): ...
34.92126
76
0.555355
e807b65f64a7deff0b619d067868e319ecf01061
12,502
py
Python
examples/horovod/ray_torch_shuffle.py
krfricke/ray_shuffling_data_loader
b238871d45218c655cd0fcd78b8bf2a3940087f9
[ "Apache-2.0" ]
16
2021-05-13T08:03:03.000Z
2021-09-30T00:20:01.000Z
examples/horovod/ray_torch_shuffle.py
krfricke/ray_shuffling_data_loader
b238871d45218c655cd0fcd78b8bf2a3940087f9
[ "Apache-2.0" ]
12
2021-05-04T22:18:01.000Z
2021-07-14T12:10:40.000Z
examples/horovod/ray_torch_shuffle.py
krfricke/ray_shuffling_data_loader
b238871d45218c655cd0fcd78b8bf2a3940087f9
[ "Apache-2.0" ]
5
2021-05-18T02:57:50.000Z
2021-07-01T11:23:05.000Z
import os import pickle import time import timeit import torch.nn as nn import torch.nn.functional as F import torch.optim as optim import numpy as np import torch import tempfile import horovod.torch as hvd from horovod.ray import RayExecutor from ray_shuffling_data_loader.torch_dataset import (TorchShufflingDatase...
35.925287
79
0.654375
e80814f0c20b1ee061421e9446a7dafff2db52a5
13,051
py
Python
tests/test_main/test_base/tests.py
PitonX60/django-firebird
407bd5916a8ae37184d06adb3b943d6bb4f7076f
[ "BSD-3-Clause" ]
51
2015-01-13T00:16:36.000Z
2022-01-28T12:18:22.000Z
tests/test_main/test_base/tests.py
PitonX60/django-firebird
407bd5916a8ae37184d06adb3b943d6bb4f7076f
[ "BSD-3-Clause" ]
84
2015-01-28T19:08:22.000Z
2022-03-26T02:04:03.000Z
tests/test_main/test_base/tests.py
PitonX60/django-firebird
407bd5916a8ae37184d06adb3b943d6bb4f7076f
[ "BSD-3-Clause" ]
47
2015-01-13T00:53:27.000Z
2021-08-03T04:20:31.000Z
# -*- coding: utf-8 -*- from datetime import datetime, timedelta from django.conf import settings from django.db import connection, DatabaseError from django.db.models import F, DateField, DateTimeField, IntegerField, TimeField, CASCADE from django.db.models.fields.related import ForeignKey from django.db.models.func...
42.930921
257
0.64815
e808484d2e1b639627bded840c79fb6fdbdc05fc
7,200
py
Python
tests/test_past_failures.py
justinbois/eqtk
7363b8c09e35088d2cb2cb5a62d315b52cce0d9b
[ "MIT" ]
2
2020-05-17T05:34:40.000Z
2020-05-17T12:40:14.000Z
tests/test_past_failures.py
justinbois/eqtk
7363b8c09e35088d2cb2cb5a62d315b52cce0d9b
[ "MIT" ]
1
2021-12-07T01:20:48.000Z
2021-12-07T01:20:48.000Z
tests/test_past_failures.py
justinbois/eqtk
7363b8c09e35088d2cb2cb5a62d315b52cce0d9b
[ "MIT" ]
null
null
null
import pytest import numpy as np import eqtk
24
87
0.321806
e80867dca8c2989991af1d5f2e487d3e8fa8b0f5
13,314
py
Python
sdk/python/pulumi_azure/lb/outbound_rule.py
suresh198526/pulumi-azure
bf27206a38d7a5c58b3c2c57ec8769fe3d0fc5d7
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_azure/lb/outbound_rule.py
suresh198526/pulumi-azure
bf27206a38d7a5c58b3c2c57ec8769fe3d0fc5d7
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_azure/lb/outbound_rule.py
suresh198526/pulumi-azure
bf27206a38d7a5c58b3c2c57ec8769fe3d0fc5d7
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
# 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 from .. import _utilitie...
53.043825
207
0.686646
e8094e0dbe640e5e2094dda3ca82426a4117f2ae
21,377
py
Python
orbit_predictor/predictors/base.py
Juanlu001/orbit-predictor
ca67e2e859932938627ed24e5cbf58c887cd99c0
[ "MIT" ]
null
null
null
orbit_predictor/predictors/base.py
Juanlu001/orbit-predictor
ca67e2e859932938627ed24e5cbf58c887cd99c0
[ "MIT" ]
null
null
null
orbit_predictor/predictors/base.py
Juanlu001/orbit-predictor
ca67e2e859932938627ed24e5cbf58c887cd99c0
[ "MIT" ]
null
null
null
# MIT License # # Copyright (c) 2017 Satellogic SA # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, merge...
38.105169
98
0.635449
e80a42577d50ff4b5707bc38cca297d3bcb73ab4
170
py
Python
vilmedic/scorers/NLG/__init__.py
jbdel/vilmedic
17d462a540a2632811cc2a78edd2861800a33b07
[ "MIT" ]
15
2021-07-24T10:41:07.000Z
2022-03-27T14:40:47.000Z
vilmedic/scorers/NLG/__init__.py
jbdel/vilmedic
17d462a540a2632811cc2a78edd2861800a33b07
[ "MIT" ]
null
null
null
vilmedic/scorers/NLG/__init__.py
jbdel/vilmedic
17d462a540a2632811cc2a78edd2861800a33b07
[ "MIT" ]
2
2022-02-22T17:37:22.000Z
2022-03-20T12:55:40.000Z
from .rouge import ROUGEScorer from .bleu.bleu import BLEUScorer from .meteor.meteor import METEORScorer from .cider.cider import Cider from .ciderd.ciderd import CiderD
28.333333
39
0.829412
e80f9dcf1fbaf95d64db548a68a4a0e2a7c25dc9
3,993
py
Python
tests/test_liif.py
Yshuo-Li/mmediting-test
ff8349a183b3d266495a53be0c8ad8e342e8b461
[ "Apache-2.0" ]
2
2021-05-16T14:49:23.000Z
2022-03-28T01:16:44.000Z
tests/test_liif.py
Yshuo-Li/mmediting-test
ff8349a183b3d266495a53be0c8ad8e342e8b461
[ "Apache-2.0" ]
null
null
null
tests/test_liif.py
Yshuo-Li/mmediting-test
ff8349a183b3d266495a53be0c8ad8e342e8b461
[ "Apache-2.0" ]
2
2021-04-22T12:10:14.000Z
2021-05-19T02:09:48.000Z
import numpy as np import torch import torch.nn as nn from mmcv.runner import obj_from_dict from mmcv.utils.config import Config from mmedit.models import build_model from mmedit.models.losses import L1Loss from mmedit.models.registry import COMPONENTS
34.721739
77
0.615577
e80fc2194a7c4cdddb23cee4ca11cad0caafde7b
3,739
py
Python
database/signals.py
ccraddock/beiwe-backend-cc
b37c2604800aafcf81c93bc14673ada6aed17a39
[ "BSD-3-Clause" ]
null
null
null
database/signals.py
ccraddock/beiwe-backend-cc
b37c2604800aafcf81c93bc14673ada6aed17a39
[ "BSD-3-Clause" ]
null
null
null
database/signals.py
ccraddock/beiwe-backend-cc
b37c2604800aafcf81c93bc14673ada6aed17a39
[ "BSD-3-Clause" ]
null
null
null
from django.utils import timezone from django.core.exceptions import ObjectDoesNotExist from django.db.models.signals import post_save, pre_save from django.dispatch import receiver from database.study_models import DeviceSettings, Study, Survey, SurveyArchive
46.7375
127
0.70099
e810f0787ee0e3fe022cdf8b169ed014bf9c5752
673
py
Python
docs/examples/notify/notify_skeleton.py
Blakstar26/npyscreen
d47f9c78dc9fea6f66aaef60403e748bb89e52f7
[ "BSD-2-Clause" ]
null
null
null
docs/examples/notify/notify_skeleton.py
Blakstar26/npyscreen
d47f9c78dc9fea6f66aaef60403e748bb89e52f7
[ "BSD-2-Clause" ]
null
null
null
docs/examples/notify/notify_skeleton.py
Blakstar26/npyscreen
d47f9c78dc9fea6f66aaef60403e748bb89e52f7
[ "BSD-2-Clause" ]
null
null
null
import npyscreen if __name__ == '__main__': TestApp = MyApplication().run()
29.26087
96
0.707281
e8112e27cfea3db2efc0a5a799487bb00e1650b2
5,656
py
Python
practicioner_bundle/ch15-neural_style/pyimagesearch/nn/conv/minigooglenet.py
romanroson/pis_code
1221c39c23bec62ba419f9a324f88b0d8e5e4b5b
[ "MIT" ]
1
2020-06-07T04:02:16.000Z
2020-06-07T04:02:16.000Z
practicioner_bundle/ch15-neural_style/pyimagesearch/nn/conv/minigooglenet.py
romanroson/pis_code
1221c39c23bec62ba419f9a324f88b0d8e5e4b5b
[ "MIT" ]
null
null
null
practicioner_bundle/ch15-neural_style/pyimagesearch/nn/conv/minigooglenet.py
romanroson/pis_code
1221c39c23bec62ba419f9a324f88b0d8e5e4b5b
[ "MIT" ]
2
2020-03-25T10:51:54.000Z
2020-09-18T09:36:44.000Z
# -*- coding: utf-8 -*- """Implementation of MiniGoogLeNet architecture. This implementation is based on the original implemetation of GoogLeNet. The authors of the net used BN before Activation layer. This should be switched. """ from keras.layers.normalization import BatchNormalization from keras.layers.convolutiona...
39.277778
102
0.647454
e81163dfe2d224db06c949798465e50a5cb2ce2e
7,702
py
Python
python/GafferUI/ScriptEditor.py
PaulDoessel/gaffer-play
8b72dabb388e12424c230acfb0bd209049b01bd6
[ "BSD-3-Clause" ]
null
null
null
python/GafferUI/ScriptEditor.py
PaulDoessel/gaffer-play
8b72dabb388e12424c230acfb0bd209049b01bd6
[ "BSD-3-Clause" ]
null
null
null
python/GafferUI/ScriptEditor.py
PaulDoessel/gaffer-play
8b72dabb388e12424c230acfb0bd209049b01bd6
[ "BSD-3-Clause" ]
1
2020-02-15T16:15:54.000Z
2020-02-15T16:15:54.000Z
########################################################################## # # Copyright (c) 2011-2012, John Haddon. All rights reserved. # Copyright (c) 2011-2013, Image Engine Design Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted prov...
36.67619
141
0.692288
e811afcf8e2f5fbd26eb4879dec2b68ca870f0fa
1,475
py
Python
03/triangle.py
machinelearningdeveloper/aoc_2016
e2c2f7909b09c2ad27f87e05a80f2b2feee6a3a2
[ "MIT" ]
null
null
null
03/triangle.py
machinelearningdeveloper/aoc_2016
e2c2f7909b09c2ad27f87e05a80f2b2feee6a3a2
[ "MIT" ]
null
null
null
03/triangle.py
machinelearningdeveloper/aoc_2016
e2c2f7909b09c2ad27f87e05a80f2b2feee6a3a2
[ "MIT" ]
null
null
null
"""Test whether putative triangles, specified as triples of side lengths, in fact are possible.""" def load_triangles(filename): """Load triangles from filename.""" triangles = [] with open(filename) as f: for line in f: if line.strip(): triangles.append(tuple([int(side) ...
31.382979
76
0.51661
e811c36f36c477d41124bae1d31894772c187da0
135
py
Python
ExerciciosdePython/ex049.py
aleksandromelo/Exercicios
782ff539efa1286180eaf8df8c25c4eca7a5e669
[ "MIT" ]
null
null
null
ExerciciosdePython/ex049.py
aleksandromelo/Exercicios
782ff539efa1286180eaf8df8c25c4eca7a5e669
[ "MIT" ]
null
null
null
ExerciciosdePython/ex049.py
aleksandromelo/Exercicios
782ff539efa1286180eaf8df8c25c4eca7a5e669
[ "MIT" ]
null
null
null
num = int(input('Digite um nmero para ver sua tabuada: ')) for i in range(1, 11): print('{} x {:2} = {}'.format(num, i, num * i))
33.75
59
0.57037
e811dc5802ea397bf5ec6753cbdbdf5b70c81146
151
py
Python
ebmeta/actions/version.py
bkidwell/ebmeta-old
2279ddd14235ea31b27f0eaa7e9bb26cb43d4133
[ "0BSD" ]
1
2021-01-05T10:24:13.000Z
2021-01-05T10:24:13.000Z
ebmeta/actions/version.py
bkidwell/ebmeta-old
2279ddd14235ea31b27f0eaa7e9bb26cb43d4133
[ "0BSD" ]
null
null
null
ebmeta/actions/version.py
bkidwell/ebmeta-old
2279ddd14235ea31b27f0eaa7e9bb26cb43d4133
[ "0BSD" ]
null
null
null
"""Print ebmeta version number.""" import sys import ebmeta
16.777778
61
0.668874
e812c612130c7c8d3bd444f6ef7c0936cdb5b8cc
9,594
py
Python
backend/api/tests/mixins/credit_trade_relationship.py
amichard/tfrs
ed3973016cc5c2ae48999d550a23b41a5ddad807
[ "Apache-2.0" ]
18
2017-05-10T21:55:11.000Z
2021-03-01T16:41:32.000Z
backend/api/tests/mixins/credit_trade_relationship.py
amichard/tfrs
ed3973016cc5c2ae48999d550a23b41a5ddad807
[ "Apache-2.0" ]
1,167
2017-03-04T00:18:43.000Z
2022-03-03T22:31:51.000Z
backend/api/tests/mixins/credit_trade_relationship.py
amichard/tfrs
ed3973016cc5c2ae48999d550a23b41a5ddad807
[ "Apache-2.0" ]
48
2017-03-09T17:19:39.000Z
2022-02-24T16:38:17.000Z
# -*- coding: utf-8 -*- # pylint: disable=no-member,invalid-name,duplicate-code """ REST API Documentation for the NRS TFRS Credit Trading Application The Transportation Fuels Reporting System is being designed to streamline compliance reporting for transportation fuel suppliers in accordance with the ...
36.340909
96
0.575985
e81446098f632747c9bb69739c5cdbc90d7e2461
946
py
Python
superset/superset_config.py
panchohumeres/dynamo-covid
cf473be3eeca436efccd8891a61b721192cf6d34
[ "MIT" ]
4
2020-08-10T07:35:10.000Z
2022-03-31T23:03:32.000Z
superset/superset_config.py
panchohumeres/superJupyter
cc0ce98da2c58a7ab0ae502b5b07250db0c78b89
[ "MIT" ]
1
2021-06-02T02:51:12.000Z
2021-06-02T02:51:12.000Z
superset/superset_config.py
panchohumeres/dynamo-covid
cf473be3eeca436efccd8891a61b721192cf6d34
[ "MIT" ]
1
2022-02-08T01:46:19.000Z
2022-02-08T01:46:19.000Z
import os SERVER_NAME = os.getenv('DOMAIN_SUPERSET') PUBLIC_ROLE_LIKE_GAMMA = True SESSION_COOKIE_SAMESITE = None # One of [None, 'Lax', 'Strict'] SESSION_COOKIE_HTTPONLY = False MAPBOX_API_KEY = os.getenv('MAPBOX_API_KEY', '') POSTGRES_DB=os.getenv('POSTGRES_DB') POSTGRES_PASSWORD=os.getenv('POSTGRES_PASSWORD') POSTG...
35.037037
122
0.756871
e814b12d587f4fdbbd8d27aa48d2d332f3fb169b
14,345
py
Python
mybot.py
johnnyboiii3020/matchmaking-bot
c36df430fd8b3292f34fb2e156e65d9914e0e497
[ "MIT" ]
null
null
null
mybot.py
johnnyboiii3020/matchmaking-bot
c36df430fd8b3292f34fb2e156e65d9914e0e497
[ "MIT" ]
null
null
null
mybot.py
johnnyboiii3020/matchmaking-bot
c36df430fd8b3292f34fb2e156e65d9914e0e497
[ "MIT" ]
null
null
null
import discord import json import random import os from discord.ext import commands TOKEN = "" client = commands.Bot(command_prefix = '--') os.chdir(r'D:\Programming\Projects\Discord bot\jsonFiles') SoloCounter = 30 SolominCounter = 10 Queueiter = 1 T_Queueiter = 1 TeamCounter = 50 TeamminCounter = 20 ...
40.408451
171
0.594772
e814cda6088e4f32617041b4185b65bf218042f4
18,547
py
Python
conversation.py
markemus/economy
d7b3be9b2095393d7ee5c8967b9fcee8998776bb
[ "MIT" ]
2
2017-05-09T22:46:18.000Z
2021-09-07T06:04:57.000Z
conversation.py
markemus/economy
d7b3be9b2095393d7ee5c8967b9fcee8998776bb
[ "MIT" ]
null
null
null
conversation.py
markemus/economy
d7b3be9b2095393d7ee5c8967b9fcee8998776bb
[ "MIT" ]
3
2017-07-20T21:22:30.000Z
2020-10-17T13:04:28.000Z
import database as d import numpy as np import random from transitions import Machine #Conversations are markov chains. Works as follows: a column vector for each CURRENT state j, a row vector for each TARGET state i. #Each entry i,j = the probability of moving to state i from state j. #target state D = end of convers...
40.942605
153
0.586025
e815853c059c203edb8fd8cdf216a9a5dcd145cf
218
py
Python
src/createData.py
saijananiganesan/SimPathFinder
1634f2cb82c8056256d191be72589c4c531a3f67
[ "MIT" ]
null
null
null
src/createData.py
saijananiganesan/SimPathFinder
1634f2cb82c8056256d191be72589c4c531a3f67
[ "MIT" ]
1
2021-09-27T18:46:29.000Z
2021-10-01T19:19:48.000Z
src/createData.py
saijananiganesan/SimPathFinder
1634f2cb82c8056256d191be72589c4c531a3f67
[ "MIT" ]
null
null
null
from __init__ import ExtractUnlabeledData, SampleUnlabeledData, ExtractLabeledData E = ExtractLabeledData(data_dir='../labeldata/') E.get_pathways() E.get_pathway_names() E.get_classes_dict() E.create_df_all_labels()
27.25
82
0.825688
e815ba1c0be05931c138a14af77c58193d1bc5db
3,812
py
Python
blog/views.py
farman99ahmed/diyblog
2e4548037c95b5563d2fdba3d05b488330a5e2b4
[ "MIT" ]
null
null
null
blog/views.py
farman99ahmed/diyblog
2e4548037c95b5563d2fdba3d05b488330a5e2b4
[ "MIT" ]
null
null
null
blog/views.py
farman99ahmed/diyblog
2e4548037c95b5563d2fdba3d05b488330a5e2b4
[ "MIT" ]
null
null
null
from django.shortcuts import render, redirect from .forms import AuthorForm, BlogForm, NewUserForm from .models import Author, Blog from django.contrib.auth import login, authenticate, logout from django.contrib import messages from django.contrib.auth.forms import AuthenticationForm from django.contrib.auth.decorator...
33.147826
100
0.670776
e8163cfdf2d7fa0a32158347c9c5f81ab0a3df6a
1,759
py
Python
tests/conftest.py
SolomidHero/speech-regeneration-enhancer
eb43907ff085d68a707ff7bc3af14e93ff66fd65
[ "MIT" ]
8
2021-03-27T00:17:17.000Z
2022-01-26T05:26:19.000Z
tests/conftest.py
SolomidHero/speech-regeneration-enhancer
eb43907ff085d68a707ff7bc3af14e93ff66fd65
[ "MIT" ]
1
2021-09-26T02:29:21.000Z
2021-09-27T08:56:13.000Z
tests/conftest.py
SolomidHero/speech-regeneration-enhancer
eb43907ff085d68a707ff7bc3af14e93ff66fd65
[ "MIT" ]
1
2021-03-26T12:30:14.000Z
2021-03-26T12:30:14.000Z
# here we make fixtures of toy data # real parameters are stored and accessed from config import pytest import librosa import os import numpy as np from hydra.experimental import compose, initialize # It is not clear if we should cleanup the test directories # or leave them for debugging # https://github.com/pytes...
25.867647
77
0.74133
e8175b6a8041e64371cfdfe4643c61104dee988c
2,189
py
Python
dataclassses_howto.py
CvanderStoep/VideosSampleCode
38a8d2538a041d5664d0040807ffac463d0fb79c
[ "MIT" ]
285
2021-02-16T21:08:57.000Z
2022-03-31T10:58:41.000Z
dataclassses_howto.py
CvanderStoep/VideosSampleCode
38a8d2538a041d5664d0040807ffac463d0fb79c
[ "MIT" ]
10
2021-05-01T17:20:50.000Z
2022-03-09T21:46:46.000Z
dataclassses_howto.py
CvanderStoep/VideosSampleCode
38a8d2538a041d5664d0040807ffac463d0fb79c
[ "MIT" ]
96
2021-02-15T14:23:15.000Z
2022-03-31T10:58:50.000Z
import dataclasses import inspect from dataclasses import dataclass, field from pprint import pprint import attr def main(): comment = Comment(1, "I just subscribed!") # comment.id = 3 # can't immutable print(comment) print(dataclasses.astuple(comment)) print(dataclasses.asdict(comment)) ...
25.752941
87
0.616263
e81917ac02c5b07e90d8b7911baf13d1cd91a319
574
py
Python
downloadMusic/main.py
yaosir0317/my_first
387fe21aa529bca1d08ed45e13269aca23dce251
[ "MIT" ]
null
null
null
downloadMusic/main.py
yaosir0317/my_first
387fe21aa529bca1d08ed45e13269aca23dce251
[ "MIT" ]
null
null
null
downloadMusic/main.py
yaosir0317/my_first
387fe21aa529bca1d08ed45e13269aca23dce251
[ "MIT" ]
null
null
null
from enum import Enum import requests PRE_URL = "http://www.musictool.top/" headers = {"User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.102 Safari/537.36"} if __name__ == '__main__': get_music_list("", MusicAPP.qq)
24.956522
149
0.663763
e81b190b66eb2d495bc411eca3c4ded7a86955c8
892
py
Python
app/api/serializers.py
michelmarcondes/django-study-with-docker
248e41db3f16a5d26662c5e93ebf32716a20195e
[ "MIT" ]
null
null
null
app/api/serializers.py
michelmarcondes/django-study-with-docker
248e41db3f16a5d26662c5e93ebf32716a20195e
[ "MIT" ]
null
null
null
app/api/serializers.py
michelmarcondes/django-study-with-docker
248e41db3f16a5d26662c5e93ebf32716a20195e
[ "MIT" ]
null
null
null
from rest_framework import serializers from projects.models import Project, Tag, Review from users.models import Profile
24.777778
57
0.696188
e81b3e433344ddf1234f763d89e92536bfcf4280
108,927
py
Python
corehq/apps/domain/views.py
johan--/commcare-hq
86ee99c54f55ee94e4c8f2f6f30fc44e10e69ebd
[ "BSD-3-Clause" ]
null
null
null
corehq/apps/domain/views.py
johan--/commcare-hq
86ee99c54f55ee94e4c8f2f6f30fc44e10e69ebd
[ "BSD-3-Clause" ]
1
2022-03-12T01:03:25.000Z
2022-03-12T01:03:25.000Z
corehq/apps/domain/views.py
johan--/commcare-hq
86ee99c54f55ee94e4c8f2f6f30fc44e10e69ebd
[ "BSD-3-Clause" ]
null
null
null
import copy import datetime from decimal import Decimal import logging import uuid import json import cStringIO from couchdbkit import ResourceNotFound import dateutil from django.core.paginator import Paginator from django.views.generic import View from django.db.models import Sum from django.conf import settings fro...
38.750267
130
0.636215
e81ba3ad3b0b7d369560fab0313b86525e0c16f1
5,668
py
Python
src/anmi/T2/funcs_met_iters.py
alexmascension/ANMI
9c51a497a5fa2650f1429f847c7f9df69271168b
[ "BSD-3-Clause" ]
1
2021-11-30T23:30:45.000Z
2021-11-30T23:30:45.000Z
src/anmi/T2/funcs_met_iters.py
alexmascension/ANMI
9c51a497a5fa2650f1429f847c7f9df69271168b
[ "BSD-3-Clause" ]
2
2021-04-11T20:39:15.000Z
2021-04-13T17:45:43.000Z
src/anmi/T2/funcs_met_iters.py
alexmascension/ANMI
9c51a497a5fa2650f1429f847c7f9df69271168b
[ "BSD-3-Clause" ]
1
2021-11-30T23:31:11.000Z
2021-11-30T23:31:11.000Z
from sympy import simplify, zeros from sympy import Matrix as mat import numpy as np from ..genericas import print_verbose, matriz_inversa def metodo_iterativo( A, b=None, x0=None, metodo="jacobi", w=1.5, n_iter=10, verbose=True, ): """Aplica el mtodo iterativo designado Args: A (matriz): M...
32.574713
165
0.572689
e81c315cccb3d9ee19bee096605d603f1e698137
282
py
Python
{{cookiecutter.project_hyphen}}/{{cookiecutter.project_slug}}/__init__.py
zhangxianbing/cookiecutter-pypackage
28f7f305d3baf96771881c3359227bed1bc7d182
[ "BSD-3-Clause" ]
1
2021-05-20T06:20:13.000Z
2021-05-20T06:20:13.000Z
{{cookiecutter.project_hyphen}}/{{cookiecutter.project_slug}}/__init__.py
zhangxianbing/cookiecutter-pypackage
28f7f305d3baf96771881c3359227bed1bc7d182
[ "BSD-3-Clause" ]
null
null
null
{{cookiecutter.project_hyphen}}/{{cookiecutter.project_slug}}/__init__.py
zhangxianbing/cookiecutter-pypackage
28f7f305d3baf96771881c3359227bed1bc7d182
[ "BSD-3-Clause" ]
null
null
null
"""{{ cookiecutter.project_name }} - {{ cookiecutter.project_short_description }}""" __version__ = "{{ cookiecutter.project_version }}" __author__ = """{{ cookiecutter.author_name }}""" __email__ = "{{ cookiecutter.author_email }}" prog_name = "{{ cookiecutter.project_hyphen }}"
35.25
84
0.70922
e81d0332787bf5b5558e04aef3e4c8b78112e963
200
py
Python
services/osparc-gateway-server/tests/integration/_dask_helpers.py
mguidon/osparc-dask-gateway
accd850c15cb3a36cf4421a1d070a4db29843013
[ "MIT" ]
1
2022-01-25T09:18:59.000Z
2022-01-25T09:18:59.000Z
services/osparc-gateway-server/tests/integration/_dask_helpers.py
ITISFoundation/osparc-dask-gateway
13d533de582382fcca3c379df30534ca0e6e145f
[ "MIT" ]
16
2021-12-06T16:16:17.000Z
2022-03-21T13:26:48.000Z
services/osparc-gateway-server/tests/integration/_dask_helpers.py
sanderegg/osparc-dask-gateway
13d533de582382fcca3c379df30534ca0e6e145f
[ "MIT" ]
2
2021-11-26T15:56:00.000Z
2021-12-07T21:27:41.000Z
from typing import NamedTuple from dask_gateway_server.app import DaskGateway
18.181818
47
0.775
e81d5f97eebe858da4677a4562a912397f01a885
5,487
py
Python
rdkit/ML/InfoTheory/BitRank.py
kazuyaujihara/rdkit
06027dcd05674787b61f27ba46ec0d42a6037540
[ "BSD-3-Clause" ]
1,609
2015-01-05T02:41:13.000Z
2022-03-30T21:57:24.000Z
rdkit/ML/InfoTheory/BitRank.py
kazuyaujihara/rdkit
06027dcd05674787b61f27ba46ec0d42a6037540
[ "BSD-3-Clause" ]
3,412
2015-01-06T12:13:33.000Z
2022-03-31T17:25:41.000Z
rdkit/ML/InfoTheory/BitRank.py
kazuyaujihara/rdkit
06027dcd05674787b61f27ba46ec0d42a6037540
[ "BSD-3-Clause" ]
811
2015-01-11T03:33:48.000Z
2022-03-28T11:57:49.000Z
# # Copyright (C) 2001,2002,2003 greg Landrum and Rational Discovery LLC # """ Functionality for ranking bits using info gains **Definitions used in this module** - *sequence*: an object capable of containing other objects which supports __getitem__() and __len__(). Examples of these include lists, tupl...
27.163366
97
0.68635
e81d7c04c616831d43d69c14fef3ddcc06add40b
5,766
py
Python
trainer/dataset.py
vinay-swamy/gMVP
62202baa0769dfe0e47c230e78dffa42fb1280f1
[ "MIT" ]
2
2021-04-24T03:23:40.000Z
2021-06-28T11:51:10.000Z
trainer/dataset.py
vinay-swamy/gMVP
62202baa0769dfe0e47c230e78dffa42fb1280f1
[ "MIT" ]
null
null
null
trainer/dataset.py
vinay-swamy/gMVP
62202baa0769dfe0e47c230e78dffa42fb1280f1
[ "MIT" ]
2
2021-09-14T13:03:38.000Z
2022-03-23T02:49:19.000Z
import tensorflow as tf import os import pickle import numpy as np from constant_params import input_feature_dim, window_size
33.137931
125
0.601283
e81d9b0b490485d24940928f241dddb40fd49833
209,857
py
Python
layers/eight_mile/pytorch/layers.py
dpressel/baseline
2f46f3b043f2d20bc348495cc54c834f31f71098
[ "Apache-2.0" ]
241
2016-04-25T20:02:31.000Z
2019-09-03T05:44:09.000Z
layers/eight_mile/pytorch/layers.py
dpressel/baseline
2f46f3b043f2d20bc348495cc54c834f31f71098
[ "Apache-2.0" ]
42
2017-08-21T16:04:36.000Z
2019-09-30T20:45:17.000Z
layers/eight_mile/pytorch/layers.py
dpressel/baseline
2f46f3b043f2d20bc348495cc54c834f31f71098
[ "Apache-2.0" ]
75
2016-06-28T01:18:58.000Z
2019-08-29T06:47:22.000Z
import copy import math import logging from typing import Dict, List, Optional, Tuple, Union import os import numpy as np import torch import torch.nn as nn import torch.nn.functional as F import torch.jit as jit import torch.autograd import contextlib import glob from eight_mile.utils import listify, Offsets, is_seque...
41.613524
202
0.62778
e81e5aa3bb914c6f0bd68fa448159f5b4cf4de2f
348
py
Python
setup.py
flother/pdf-search
fa4c519a673bf5a5d25e1ab44e971690ab3cf781
[ "MIT" ]
5
2018-06-18T10:31:20.000Z
2020-06-10T01:05:02.000Z
setup.py
flother/pdf-search
fa4c519a673bf5a5d25e1ab44e971690ab3cf781
[ "MIT" ]
null
null
null
setup.py
flother/pdf-search
fa4c519a673bf5a5d25e1ab44e971690ab3cf781
[ "MIT" ]
null
null
null
from setuptools import setup setup( name='espdf', version='0.1.0-dev', url='https://github.com/flother/pdf-search', py_modules=( 'espdf', ), install_requires=( 'certifi', 'elasticsearch-dsl', ), entry_points={ 'console_scripts': ( 'espdf=espd...
16.571429
48
0.514368
e82007b9763c2cfe490672fce1bfbb724173644a
2,776
py
Python
conanfile.py
sintef-ocean/conan-clapack
9c472130eaadee71253ced9b5fe25ee1b868bcb3
[ "MIT" ]
null
null
null
conanfile.py
sintef-ocean/conan-clapack
9c472130eaadee71253ced9b5fe25ee1b868bcb3
[ "MIT" ]
null
null
null
conanfile.py
sintef-ocean/conan-clapack
9c472130eaadee71253ced9b5fe25ee1b868bcb3
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- from conans import ConanFile, CMake, tools import shutil
35.139241
84
0.610231
e820480eb7c2b0f9e9f4f3e9695e4d3110de174e
20,078
py
Python
yacos/algorithm/metaheuristics.py
ComputerSystemsLaboratory/YaCoS
abd5d3c6e227e5c7a563493f7855ebf58ba3de05
[ "Apache-2.0" ]
8
2022-02-03T16:41:01.000Z
2022-02-09T11:29:20.000Z
yacos/algorithm/metaheuristics.py
ComputerSystemsLaboratory/YaCoS
abd5d3c6e227e5c7a563493f7855ebf58ba3de05
[ "Apache-2.0" ]
null
null
null
yacos/algorithm/metaheuristics.py
ComputerSystemsLaboratory/YaCoS
abd5d3c6e227e5c7a563493f7855ebf58ba3de05
[ "Apache-2.0" ]
null
null
null
""" Copyright 2021 Anderson Faustino da Silva. 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,...
28.60114
76
0.456121
e82053dc2380e925870bdf15395c02b067f76451
8,924
py
Python
lab_03/main.py
solnishko-pvs/Modeling_BMSTU
0ecb82aea23b6726912f72d3230097d7b679eaf9
[ "MIT" ]
null
null
null
lab_03/main.py
solnishko-pvs/Modeling_BMSTU
0ecb82aea23b6726912f72d3230097d7b679eaf9
[ "MIT" ]
null
null
null
lab_03/main.py
solnishko-pvs/Modeling_BMSTU
0ecb82aea23b6726912f72d3230097d7b679eaf9
[ "MIT" ]
null
null
null
import tkinter as tk from scipy.stats import chi2, chisquare COLOR = '#dddddd' COLUMNS_COLOR = '#ffffff' MAX_SIZE = 10 WIDGET_WIDTH = 25 generator = LinearCongruent() root = tk.Tk() root['bg'] = COLOR root.geometry('540x390') first_block = Block(root) first_block.make_view() root.mainloop()
40.748858
140
0.632788
e820d40fdfc773bb5cbef40f764f0c231d8e4804
107
py
Python
VacationPy/api_keys.py
tylermneher/python-api-challenge
28c88b4fff13c8b752096b0776a3d4645ad5fddb
[ "ADSL" ]
null
null
null
VacationPy/api_keys.py
tylermneher/python-api-challenge
28c88b4fff13c8b752096b0776a3d4645ad5fddb
[ "ADSL" ]
null
null
null
VacationPy/api_keys.py
tylermneher/python-api-challenge
28c88b4fff13c8b752096b0776a3d4645ad5fddb
[ "ADSL" ]
null
null
null
# OpenWeatherMap API Key weather_api_key = "MyOpenWeatherMapAPIKey" # Google API Key g_key = "MyGoogleKey"
21.4
42
0.794393
e8213e750200485b12b34726d6bd13c4476d653d
843
py
Python
aries_cloudagent/protocols/actionmenu/v1_0/messages/menu_request.py
panickervinod/aries-cloudagent-python
bb4627fe62ee42ffeeb435cf3d8bfbd66c10d02f
[ "Apache-2.0" ]
null
null
null
aries_cloudagent/protocols/actionmenu/v1_0/messages/menu_request.py
panickervinod/aries-cloudagent-python
bb4627fe62ee42ffeeb435cf3d8bfbd66c10d02f
[ "Apache-2.0" ]
1
2020-06-16T20:20:55.000Z
2020-06-16T20:20:55.000Z
aries_cloudagent/protocols/actionmenu/v1_0/messages/menu_request.py
panickervinod/aries-cloudagent-python
bb4627fe62ee42ffeeb435cf3d8bfbd66c10d02f
[ "Apache-2.0" ]
null
null
null
"""Represents a request for an action menu.""" from .....messaging.agent_message import AgentMessage, AgentMessageSchema from ..message_types import MENU_REQUEST, PROTOCOL_PACKAGE HANDLER_CLASS = f"{PROTOCOL_PACKAGE}.handlers.menu_request_handler.MenuRequestHandler"
26.34375
86
0.702254
e8218935d90ebb72cee991e2f05f077a46339325
846
py
Python
porthole/management/commands/brocade.py
jsayles/Porthole
a4176aad632e319eba88dfbe40cb96a4c437725d
[ "Apache-2.0" ]
null
null
null
porthole/management/commands/brocade.py
jsayles/Porthole
a4176aad632e319eba88dfbe40cb96a4c437725d
[ "Apache-2.0" ]
null
null
null
porthole/management/commands/brocade.py
jsayles/Porthole
a4176aad632e319eba88dfbe40cb96a4c437725d
[ "Apache-2.0" ]
null
null
null
from django.core.management.base import BaseCommand, CommandError from django.conf import settings from porthole import models, brocade
29.172414
106
0.634752
e8221f351de78d1c4212826efb9039a3b827c105
410
py
Python
joulia/unit_conversions_test.py
willjschmitt/joulia-webserver
712decb749c2d1bda71af49ecab245378bf30078
[ "FTL" ]
null
null
null
joulia/unit_conversions_test.py
willjschmitt/joulia-webserver
712decb749c2d1bda71af49ecab245378bf30078
[ "FTL" ]
95
2016-08-04T01:59:37.000Z
2021-06-10T18:41:46.000Z
joulia/unit_conversions_test.py
willjschmitt/joulia-webserver
712decb749c2d1bda71af49ecab245378bf30078
[ "FTL" ]
null
null
null
"""Tests joulia.unit_conversions. """ from django.test import TestCase from joulia import unit_conversions
24.117647
77
0.77561
e82434209f26613cf2f4d4081789832c2affad67
1,127
py
Python
Django/blog/tests.py
zarif007/Blog-site
e20e3f73fedbd7acb2f3d22398c36f3dcd4f88b4
[ "MIT" ]
1
2021-03-15T22:28:26.000Z
2021-03-15T22:28:26.000Z
Django/blog/tests.py
zarif007/Blog-site
e20e3f73fedbd7acb2f3d22398c36f3dcd4f88b4
[ "MIT" ]
null
null
null
Django/blog/tests.py
zarif007/Blog-site
e20e3f73fedbd7acb2f3d22398c36f3dcd4f88b4
[ "MIT" ]
null
null
null
from django.contrib.auth.models import User from django.test import TestCase from blog.models import Category, Post
36.354839
104
0.616681
e824b59433bad7c9a547eb3af6d1a2e1fb6af9c5
2,504
py
Python
scripts/train_presets/beads.py
kreshuklab/hylfm-net
9f1013640e40e998674b65176023367b1e978782
[ "MIT" ]
8
2020-11-13T05:46:59.000Z
2022-01-30T06:12:04.000Z
scripts/train_presets/beads.py
kreshuklab/hylfm-net
9f1013640e40e998674b65176023367b1e978782
[ "MIT" ]
1
2020-11-13T08:29:23.000Z
2022-02-10T16:45:19.000Z
scripts/train_presets/beads.py
kreshuklab/hylfm-net
9f1013640e40e998674b65176023367b1e978782
[ "MIT" ]
2
2020-10-30T11:02:42.000Z
2021-01-12T06:51:33.000Z
from pathlib import Path from hylfm.hylfm_types import ( CriterionChoice, DatasetChoice, LRSchedThresMode, LRSchedulerChoice, MetricChoice, OptimizerChoice, PeriodUnit, ) from hylfm.model import HyLFM_Net from hylfm.train import train if __name__ == "__main__": train( dataset=...
23.185185
57
0.5623
e82619fe802bc3c2cff480de32dc1445ec9e1c68
17,055
py
Python
TrainingPreprocess/filtered_to_dataset.py
CsekM8/LVH-THESIS
b0dc60daaf0825ad43951e6895289da4e3ed911b
[ "MIT" ]
null
null
null
TrainingPreprocess/filtered_to_dataset.py
CsekM8/LVH-THESIS
b0dc60daaf0825ad43951e6895289da4e3ed911b
[ "MIT" ]
null
null
null
TrainingPreprocess/filtered_to_dataset.py
CsekM8/LVH-THESIS
b0dc60daaf0825ad43951e6895289da4e3ed911b
[ "MIT" ]
null
null
null
import os import pickle from PIL import Image if __name__ == "__main__": sourceFolder = 'D:/BME/7felev/Szakdolgozat/whole_dataset/filtered_data' imageFolderArranger = PatientToImageFolder(sourceFolder) imageFolderArranger.createImageFolderDatasets()
55.373377
121
0.595075
e82731c89300ff664f879da568d6bdf2c014d59b
2,140
py
Python
scripts/pipeline/a06a_submission.py
Iolaum/Phi1337
c73b01cb85c0187ed5c23c672d4f3d05a6934a9f
[ "Apache-2.0" ]
null
null
null
scripts/pipeline/a06a_submission.py
Iolaum/Phi1337
c73b01cb85c0187ed5c23c672d4f3d05a6934a9f
[ "Apache-2.0" ]
null
null
null
scripts/pipeline/a06a_submission.py
Iolaum/Phi1337
c73b01cb85c0187ed5c23c672d4f3d05a6934a9f
[ "Apache-2.0" ]
null
null
null
import pandas as pd import numpy as np import pickle from sklearn.cross_validation import train_test_split from sklearn.linear_model import LinearRegression from sklearn.metrics import mean_squared_error from math import sqrt from sklearn.svm import SVR from sklearn.svm import LinearSVR from sklearn.preprocessing imp...
21.616162
95
0.706075
e82976f9a06173b4cb3e6c53bd388cb5ba53c170
602
py
Python
Data Gathering/PythonPlottingScript.py
Carter-eng/SeniorDesign
5305531d251ea749f909cc09eb1ccfe21714cebd
[ "MIT" ]
null
null
null
Data Gathering/PythonPlottingScript.py
Carter-eng/SeniorDesign
5305531d251ea749f909cc09eb1ccfe21714cebd
[ "MIT" ]
null
null
null
Data Gathering/PythonPlottingScript.py
Carter-eng/SeniorDesign
5305531d251ea749f909cc09eb1ccfe21714cebd
[ "MIT" ]
null
null
null
import numpy as np import serial import time import matplotlib.pyplot as plt if __name__ == '__main__': sensorReadings = getData() plotter(sensorReadings)
24.08
46
0.642857
e82a07131fefc0b08096ef65e989b7c1655ac2a3
732
py
Python
Examples/Rich_Message_Example.py
robinvoogt/text-sdk-python
1acd624991f396cc673dad22cfa3272b4b3fb53b
[ "MIT" ]
2
2021-05-29T07:22:55.000Z
2022-01-15T18:23:39.000Z
Examples/Rich_Message_Example.py
robinvoogt/text-sdk-python
1acd624991f396cc673dad22cfa3272b4b3fb53b
[ "MIT" ]
2
2021-08-04T13:13:50.000Z
2021-12-31T12:54:00.000Z
Examples/Rich_Message_Example.py
robinvoogt/text-sdk-python
1acd624991f396cc673dad22cfa3272b4b3fb53b
[ "MIT" ]
3
2020-12-23T15:24:40.000Z
2021-04-09T11:43:03.000Z
from CMText.TextClient import TextClient # Message to be send message = 'Examples message to be send' # Media to be send media = { "mediaName": "conversational-commerce", "mediaUri": "https://www.cm.com/cdn/cm/cm.png", "mimeType": "image/png" } # AllowedChannels in this ca...
25.241379
110
0.709016
e82b3f9736e429583940ccca0c1055b7a0f8dda1
2,630
py
Python
client/audio.py
Dmitry450/asynciogame
47a2a118155805db37f2c3bd916bd6c68c504cff
[ "MIT" ]
null
null
null
client/audio.py
Dmitry450/asynciogame
47a2a118155805db37f2c3bd916bd6c68c504cff
[ "MIT" ]
null
null
null
client/audio.py
Dmitry450/asynciogame
47a2a118155805db37f2c3bd916bd6c68c504cff
[ "MIT" ]
1
2022-03-10T16:05:09.000Z
2022-03-10T16:05:09.000Z
import pygame from pygame.math import Vector2
30.229885
91
0.53308
e82d0945219e52cb12d826deeb2607fdf4a302a4
1,353
py
Python
bot/ganjoor/category_choose.py
MmeK/ganjoor-telegram-bot
3992bdd860ea3626dccd79b0c1993a3662e92aa5
[ "MIT" ]
null
null
null
bot/ganjoor/category_choose.py
MmeK/ganjoor-telegram-bot
3992bdd860ea3626dccd79b0c1993a3662e92aa5
[ "MIT" ]
3
2021-11-17T08:03:59.000Z
2021-11-17T14:00:23.000Z
bot/ganjoor/category_choose.py
MmeK/ganjoor-telegram-bot
3992bdd860ea3626dccd79b0c1993a3662e92aa5
[ "MIT" ]
null
null
null
# Copyright 2021 Mohammad Kazemi <kazemi.me.222@gmail.com>. # SPDX-License-Identifier: MIT # Telegram API framework core imports from collections import namedtuple from functools import partial from ganjoor.ganjoor import Ganjoor from telegram.ext import Dispatcher, CallbackContext from telegram import Update # Helper...
33
86
0.764967
e82e3c8a5f7b2a855ae8103d8f7b3d7858fce12c
457
py
Python
python/util/md_utils.py
walterfan/snippets
62f87720c411093fcff888f25b338afd1d99a6f9
[ "Apache-2.0" ]
1
2021-06-18T09:31:59.000Z
2021-06-18T09:31:59.000Z
python/util/md_utils.py
walterfan/snippets
62f87720c411093fcff888f25b338afd1d99a6f9
[ "Apache-2.0" ]
10
2020-12-12T08:12:06.000Z
2022-03-02T06:54:10.000Z
python/util/md_utils.py
walterfan/snippets
62f87720c411093fcff888f25b338afd1d99a6f9
[ "Apache-2.0" ]
null
null
null
import os import sys import struct import re import logging logging.basicConfig(stream=sys.stderr, level=logging.DEBUG) logger = logging.getLogger(__name__)
19.869565
59
0.66302
e82febc9f75bb1499d62773b17eb275855bf705c
374
py
Python
board/main.py
Josverl/micropython-stubber
3dc57ea9e957bd9f36fce6abfe051a2fa7ace522
[ "MIT" ]
96
2019-04-10T15:03:27.000Z
2022-03-29T09:07:14.000Z
board/main.py
Josverl/micropython-stubber
3dc57ea9e957bd9f36fce6abfe051a2fa7ace522
[ "MIT" ]
154
2019-06-02T21:30:56.000Z
2022-03-30T12:19:00.000Z
board/main.py
Josverl/micropython-stubber
3dc57ea9e957bd9f36fce6abfe051a2fa7ace522
[ "MIT" ]
7
2019-06-14T19:54:22.000Z
2022-03-29T05:02:32.000Z
import uos as os import time try: # only run import if no stubs yet os.listdir("stubs") print("stub folder was found, stubbing is not automatically started") except OSError: countdown()
17.809524
73
0.636364
e83023e586a214491a4865df8d7fd4b1c0c4034a
5,110
py
Python
third_party/blink/tools/blinkpy/web_tests/breakpad/dump_reader_multipart_unittest.py
zipated/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
third_party/blink/tools/blinkpy/web_tests/breakpad/dump_reader_multipart_unittest.py
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
third_party/blink/tools/blinkpy/web_tests/breakpad/dump_reader_multipart_unittest.py
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.000Z
# Copyright (C) 2013 Google Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redistributions of source code must retain the above copyright # notice, this list of conditions and the ...
45.221239
104
0.724462
e8308aa03da4eb51baf9d04fa863c427d1808871
257,168
py
Python
scripts/emoji-to-scl.py
SilverWingedSeraph/sws-dotfiles
6bee2b2ece03439101848673d6bcd9196359f7c4
[ "Apache-2.0" ]
3
2018-03-07T15:15:50.000Z
2018-05-22T17:50:34.000Z
scripts/emoji-to-scl.py
SilverWingedSeraph/sws-dotfiles
6bee2b2ece03439101848673d6bcd9196359f7c4
[ "Apache-2.0" ]
null
null
null
scripts/emoji-to-scl.py
SilverWingedSeraph/sws-dotfiles
6bee2b2ece03439101848673d6bcd9196359f7c4
[ "Apache-2.0" ]
1
2020-01-30T15:07:29.000Z
2020-01-30T15:07:29.000Z
#!/usr/bin/python3 # -*- coding: utf-8 -*- from subprocess import Popen, PIPE emojis=""" Helmet With White Cross, Type-1-2 Helmet With White Cross, Type-3 Helmet With White Cross, Type-4 Helmet With White Cross, Type-5 Helmet With White Cross, Type-6 Kiss, Type-1-2 Kiss, Type-3 Kiss, Type-4 Kiss, Type-5 Kiss...
35.752537
141
0.63422
e832546effca406bca8fea44d6997bf80564cc29
19,186
py
Python
src/ngc/main.py
HubTou/ngc
9917adfbaff61e7b20b9f06a4be6b51237e4e768
[ "BSD-3-Clause" ]
null
null
null
src/ngc/main.py
HubTou/ngc
9917adfbaff61e7b20b9f06a4be6b51237e4e768
[ "BSD-3-Clause" ]
null
null
null
src/ngc/main.py
HubTou/ngc
9917adfbaff61e7b20b9f06a4be6b51237e4e768
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python """ ngc - n-grams count License: 3-clause BSD (see https://opensource.org/licenses/BSD-3-Clause) Author: Hubert Tournier """ import getopt import logging import os import re import string import sys import unicode2ascii # Version string used by the what(1) and ident(1) commands: ID = "@(#) $Id:...
37.472656
100
0.526686
e8327e8e634b6bfa67228d199235d028b776af03
3,104
py
Python
openquake.hazardlib/openquake/hazardlib/tests/gsim/campbell_2003_test.py
rainzhop/ConvNetQuake
a3e6de3f7992eac72f1b9883fec36b8c7fdefd48
[ "MIT" ]
null
null
null
openquake.hazardlib/openquake/hazardlib/tests/gsim/campbell_2003_test.py
rainzhop/ConvNetQuake
a3e6de3f7992eac72f1b9883fec36b8c7fdefd48
[ "MIT" ]
null
null
null
openquake.hazardlib/openquake/hazardlib/tests/gsim/campbell_2003_test.py
rainzhop/ConvNetQuake
a3e6de3f7992eac72f1b9883fec36b8c7fdefd48
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # vim: tabstop=4 shiftwidth=4 softtabstop=4 # # Copyright (C) 2012-2016 GEM Foundation # # OpenQuake is free software: you can redistribute it and/or modify it # under the terms of the GNU Affero General Public License as published # by the Free Software Foundation, either version 3 of the Licen...
31.673469
79
0.715206
e834ba6213863414f344960900a8a67a2181902b
3,713
py
Python
sktime/regression/interval_based/_tsf.py
khrapovs/sktime
1589d007ef5dbcdc1f42f2c8278919ebed516358
[ "BSD-3-Clause" ]
1
2021-12-22T02:45:39.000Z
2021-12-22T02:45:39.000Z
sktime/regression/interval_based/_tsf.py
khrapovs/sktime
1589d007ef5dbcdc1f42f2c8278919ebed516358
[ "BSD-3-Clause" ]
null
null
null
sktime/regression/interval_based/_tsf.py
khrapovs/sktime
1589d007ef5dbcdc1f42f2c8278919ebed516358
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- """Time Series Forest Regressor (TSF).""" __author__ = ["Tony Bagnall", "kkoziara", "luiszugasti", "kanand77", "Markus Lning"] __all__ = ["TimeSeriesForestRegressor"] import numpy as np from joblib import Parallel, delayed from sklearn.ensemble._forest import ForestRegressor from sklearn.tree ...
30.434426
86
0.647724
e834f207abc6dbf424b5c37c56b17f80d4a4a1f6
7,766
py
Python
vectorc2/vectorc2/settings.py
sebastiankruk/vectorc2
13232cd63ebed32346fb4a669511b102b8ed24c0
[ "Apache-2.0" ]
11
2019-02-27T01:38:47.000Z
2020-11-13T02:14:58.000Z
vectorc2/vectorc2/settings.py
sebastiankruk/vectorc2
13232cd63ebed32346fb4a669511b102b8ed24c0
[ "Apache-2.0" ]
20
2019-02-27T21:22:59.000Z
2022-01-13T01:22:16.000Z
vectorc2/vectorc2/settings.py
sebastiankruk/vectorc2
13232cd63ebed32346fb4a669511b102b8ed24c0
[ "Apache-2.0" ]
1
2020-01-14T09:14:28.000Z
2020-01-14T09:14:28.000Z
""" Django settings for vectorc2 project. Copyright 2019 Sebastian Ryszard Kruk <vectorc2@kruk.me> 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-...
29.984556
107
0.676796
e83506e2b2f1a14d61d7ea9ee2da6803dd09cbf8
7,802
py
Python
datahandlers/wgisd.py
mikewoodson/ssl-transfer
524e2d57e9ffdbf0497cd4a1404eb1f85dc9fca7
[ "MIT" ]
null
null
null
datahandlers/wgisd.py
mikewoodson/ssl-transfer
524e2d57e9ffdbf0497cd4a1404eb1f85dc9fca7
[ "MIT" ]
null
null
null
datahandlers/wgisd.py
mikewoodson/ssl-transfer
524e2d57e9ffdbf0497cd4a1404eb1f85dc9fca7
[ "MIT" ]
null
null
null
from torchvision.datasets.folder import pil_loader, accimage_loader, default_loader from torch import Tensor from pathlib import Path from enum import Enum from collections import namedtuple from torchvision import transforms as T import os import numpy as np import pdb import functools import torch.utils.data as dat...
33.34188
94
0.564214
e8361342f0f0d1a04e77282debfd9e4a5b53ef3e
16,223
py
Python
SimpleCV/MachineLearning/query_imgs/get_imgs_geo_gps_search.py
nikhilgk/SimpleCV
ee64451c16db1f40b4da221115273020a6a7b01a
[ "BSD-3-Clause" ]
2
2016-04-30T12:23:05.000Z
2022-03-02T00:01:10.000Z
SimpleCV/MachineLearning/query_imgs/get_imgs_geo_gps_search.py
nikhilgk/SimpleCV
ee64451c16db1f40b4da221115273020a6a7b01a
[ "BSD-3-Clause" ]
null
null
null
SimpleCV/MachineLearning/query_imgs/get_imgs_geo_gps_search.py
nikhilgk/SimpleCV
ee64451c16db1f40b4da221115273020a6a7b01a
[ "BSD-3-Clause" ]
2
2015-04-16T12:14:55.000Z
2019-08-07T14:12:04.000Z
#!/usr/bin/python # # So this script is in a bit of a hack state right now. # This script reads # # # # Graciously copied and modified from: # http://graphics.cs.cmu.edu/projects/im2gps/flickr_code.html #Image querying script written by Tamara Berg, #and extended heavily James Hays #9/26/2007 added dynamic timesli...
47.023188
133
0.513715
e836603f27c307f1405743aabfd1cf7f2bab9fdf
2,695
py
Python
Chapter04/python/2.0.0/com/sparksamples/util.py
quguiliang/Machine-Learning-with-Spark-Second-Edition
0ba131e6c15a3de97609c6cb5d976806ccc14f09
[ "MIT" ]
112
2017-05-13T15:44:29.000Z
2022-02-19T20:14:14.000Z
Chapter04/python/2.0.0/com/sparksamples/util.py
tophua/Machine-Learning-with-Spark-Second-Edition
0d93e992f6c79d55ad5cdcab735dbe6674143974
[ "MIT" ]
1
2017-05-25T00:10:43.000Z
2017-05-25T00:10:43.000Z
Chapter04/python/2.0.0/com/sparksamples/util.py
tophua/Machine-Learning-with-Spark-Second-Edition
0d93e992f6c79d55ad5cdcab735dbe6674143974
[ "MIT" ]
115
2017-05-06T10:49:00.000Z
2022-03-08T07:48:54.000Z
import os import sys from pyspark.sql.types import * PATH = "/home/ubuntu/work/ml-resources/spark-ml/data" SPARK_HOME = "/home/ubuntu/work/spark-2.0.0-bin-hadoop2.7/" os.environ['SPARK_HOME'] = SPARK_HOME sys.path.append(SPARK_HOME + "/python") from pyspark import SparkContext from pyspark import SparkConf from pyspa...
35.460526
89
0.656401
e8367fbdc5ace072208dddf385f21c1015f73383
384
py
Python
safemasks/resources/rest/router.py
Safemasks/safemasks-app
44c1cf16f81b15b74fa5eb38d36eaa078180e975
[ "BSD-3-Clause" ]
1
2020-11-04T09:42:29.000Z
2020-11-04T09:42:29.000Z
safemasks/resources/rest/router.py
Safemasks/safemasks-app
44c1cf16f81b15b74fa5eb38d36eaa078180e975
[ "BSD-3-Clause" ]
null
null
null
safemasks/resources/rest/router.py
Safemasks/safemasks-app
44c1cf16f81b15b74fa5eb38d36eaa078180e975
[ "BSD-3-Clause" ]
1
2022-02-16T12:58:28.000Z
2022-02-16T12:58:28.000Z
""" """ from rest_framework import routers from safemasks.resources.rest.serializers import SupplierViewSet, TrustedSupplierViewSet # Routers provide an easy way of automatically determining the URL conf. ROUTER = routers.DefaultRouter() ROUTER.register(r"suppliers", SupplierViewSet, "suppliers") ROUTER.register(r"s...
32
88
0.815104
e836afc7bcf3544821610837e954b4a6cbeab66b
47,925
py
Python
src/zope/testrunner/formatter.py
jamesjer/zope.testrunner
af8bfec49d90613633b76e914a6f54884463ba94
[ "ZPL-2.1" ]
1
2021-03-05T17:27:37.000Z
2021-03-05T17:27:37.000Z
src/zope/testrunner/formatter.py
jamesjer/zope.testrunner
af8bfec49d90613633b76e914a6f54884463ba94
[ "ZPL-2.1" ]
91
2015-01-12T05:27:27.000Z
2022-03-07T07:03:09.000Z
src/zope/testrunner/formatter.py
jamesjer/zope.testrunner
af8bfec49d90613633b76e914a6f54884463ba94
[ "ZPL-2.1" ]
14
2015-04-03T09:53:36.000Z
2021-05-10T15:51:53.000Z
############################################################################## # # Copyright (c) 2004-2008 Zope Foundation and Contributors. # All Rights Reserved. # # This software is subject to the provisions of the Zope Public License, # Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution. # THI...
35.952738
94
0.584768
e8372d789b4ce7a9e159e03cce618e0ad5219646
410
py
Python
waterApp/migrations/0011_auto_20210911_1043.py
csisarep/groundwater_dashboard
4f93d7b7c9fd6b48ace54e7b62cae717decc98d2
[ "MIT" ]
null
null
null
waterApp/migrations/0011_auto_20210911_1043.py
csisarep/groundwater_dashboard
4f93d7b7c9fd6b48ace54e7b62cae717decc98d2
[ "MIT" ]
null
null
null
waterApp/migrations/0011_auto_20210911_1043.py
csisarep/groundwater_dashboard
4f93d7b7c9fd6b48ace54e7b62cae717decc98d2
[ "MIT" ]
null
null
null
# Generated by Django 2.2 on 2021-09-11 04:58 from django.db import migrations, models
21.578947
73
0.617073
08fa086cfe8def53819d28aebd9cf2fb43f1e8d2
45
py
Python
geomstats/geometry/stratified/__init__.py
shubhamtalbar96/geomstats
9c17ccede7e3f0fddf31487c59227c677216a2b9
[ "MIT" ]
null
null
null
geomstats/geometry/stratified/__init__.py
shubhamtalbar96/geomstats
9c17ccede7e3f0fddf31487c59227c677216a2b9
[ "MIT" ]
null
null
null
geomstats/geometry/stratified/__init__.py
shubhamtalbar96/geomstats
9c17ccede7e3f0fddf31487c59227c677216a2b9
[ "MIT" ]
null
null
null
"""The Stratified Space Geometry Package."""
22.5
44
0.733333
08fa0ae611479cbc0414a8eece26a08f791be531
928
py
Python
src/exporter/management/commands/test_export.py
xmdy/h9eNi8F5Ut
4128d7cbc6105ec0fe69157bd88ef8e30415d6ca
[ "Unlicense" ]
null
null
null
src/exporter/management/commands/test_export.py
xmdy/h9eNi8F5Ut
4128d7cbc6105ec0fe69157bd88ef8e30415d6ca
[ "Unlicense" ]
null
null
null
src/exporter/management/commands/test_export.py
xmdy/h9eNi8F5Ut
4128d7cbc6105ec0fe69157bd88ef8e30415d6ca
[ "Unlicense" ]
null
null
null
from django.core.management import BaseCommand import logging # These two lines enable debugging at httplib level (requests->urllib3->http.client) # You will see the REQUEST, including HEADERS and DATA, and RESPONSE with HEADERS but without DATA. # The only thing missing will be the response.body which is not logged. ...
37.12
99
0.774784
08fa457de4bf935aa74ea49389d3610e34fb81f5
4,179
py
Python
dask/tests/test_highgraph.py
ianthomas23/dask
7968e85e2edab95565ebbab1f936c9c549e29126
[ "BSD-3-Clause" ]
null
null
null
dask/tests/test_highgraph.py
ianthomas23/dask
7968e85e2edab95565ebbab1f936c9c549e29126
[ "BSD-3-Clause" ]
null
null
null
dask/tests/test_highgraph.py
ianthomas23/dask
7968e85e2edab95565ebbab1f936c9c549e29126
[ "BSD-3-Clause" ]
null
null
null
from functools import partial import os import pytest import dask import dask.array as da from dask.utils_test import inc from dask.highlevelgraph import HighLevelGraph, BasicLayer, Layer from dask.blockwise import Blockwise from dask.array.utils import assert_eq def annot_map_fn(key): return key[1:]
27.313725
94
0.61139
08fa7b2b56dd9ac93cd0f3c88381b55adb14d1bc
4,612
py
Python
transference.py
webpwnized/cryptography
52660c14aa71afe087cf380bb1e9d067fa639bc6
[ "MIT" ]
13
2017-02-20T21:42:08.000Z
2021-08-01T21:18:51.000Z
transference.py
webpwnized/cryptography
52660c14aa71afe087cf380bb1e9d067fa639bc6
[ "MIT" ]
1
2017-03-24T22:52:25.000Z
2017-03-26T23:14:08.000Z
transference.py
webpwnized/cryptography
52660c14aa71afe087cf380bb1e9d067fa639bc6
[ "MIT" ]
2
2019-02-19T05:01:58.000Z
2020-04-11T04:10:32.000Z
# Requires pip install bitarray from bitarray import bitarray import argparse, math if __name__ == '__main__': lArgParser = argparse.ArgumentParser(description='Transference: A tool to help visualize s-boxes (substitution boxes or transfer functions)') lArgParser.add_argument('-tft', '--transfer-function-t...
36.03125
301
0.645056
08fbd2caaba4bfcce30f566e05b356d741dbf22e
6,264
py
Python
tests/test_client.py
mjcaley/spamc
67c4f2b13d569238ea24794eb5253a1416226a2a
[ "MIT" ]
null
null
null
tests/test_client.py
mjcaley/spamc
67c4f2b13d569238ea24794eb5253a1416226a2a
[ "MIT" ]
null
null
null
tests/test_client.py
mjcaley/spamc
67c4f2b13d569238ea24794eb5253a1416226a2a
[ "MIT" ]
null
null
null
import pytest from aiospamc.client import Client from aiospamc.exceptions import ( BadResponse, UsageException, DataErrorException, NoInputException, NoUserException, NoHostException, UnavailableException, InternalSoftwareException, OSErrorException, OSFileException, CantCre...
30.115385
88
0.773467
08fc5d8c5d3505334ae9288303604f1b7aea6a2c
3,534
py
Python
sunpy/conftest.py
tacaswell/sunpy
1e06d75408d1a621749a5d4e743ae44a31886100
[ "BSD-2-Clause" ]
null
null
null
sunpy/conftest.py
tacaswell/sunpy
1e06d75408d1a621749a5d4e743ae44a31886100
[ "BSD-2-Clause" ]
null
null
null
sunpy/conftest.py
tacaswell/sunpy
1e06d75408d1a621749a5d4e743ae44a31886100
[ "BSD-2-Clause" ]
null
null
null
import os import tempfile import importlib import pytest import astropy import astropy.config.paths # Force MPL to use non-gui backends for testing. try: import matplotlib except ImportError: pass else: matplotlib.use('Agg') # Don't actually import pytest_remotedata because that can do things to the # e...
27.184615
90
0.695812
08fd1346d7002eaa8e3e4a99ba4673e257dc45fd
10,165
py
Python
qtcalendar/models.py
asmateus/PyQtCalendar
b8e5e468082f08159744f692e8edaf2ad52fccbb
[ "MIT" ]
7
2018-01-30T19:23:18.000Z
2022-02-04T13:07:57.000Z
qtcalendar/models.py
asmateus/PyQtCalendar
b8e5e468082f08159744f692e8edaf2ad52fccbb
[ "MIT" ]
1
2020-11-13T14:58:41.000Z
2021-04-27T16:58:46.000Z
qtcalendar/models.py
asmateus/PyQtCalendar
b8e5e468082f08159744f692e8edaf2ad52fccbb
[ "MIT" ]
3
2020-05-20T04:40:35.000Z
2021-02-24T08:58:40.000Z
''' Models for QtWidgets ''' from collections import deque from math import ceil import datetime as dt import calendar
30.61747
92
0.59331
08fddb52b339d532616e5502ab7e8a544bac55d1
5,457
py
Python
python/orca/src/bigdl/orca/data/tf/data.py
Forest216/BigDL
840da9a2eaf395978dd83730b02aa5e5dfbd7989
[ "Apache-2.0" ]
null
null
null
python/orca/src/bigdl/orca/data/tf/data.py
Forest216/BigDL
840da9a2eaf395978dd83730b02aa5e5dfbd7989
[ "Apache-2.0" ]
null
null
null
python/orca/src/bigdl/orca/data/tf/data.py
Forest216/BigDL
840da9a2eaf395978dd83730b02aa5e5dfbd7989
[ "Apache-2.0" ]
null
null
null
# # Copyright 2016 The BigDL Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
36.139073
98
0.646876
08fed17a5871561cc999432b467a8117b686ae74
20,180
py
Python
tools/generate_serialization_header.py
StableCoder/vulkan-mini-libs-2
e048f45149816e100d3f4f51306626ebf547b032
[ "Apache-2.0" ]
1
2022-02-28T20:58:44.000Z
2022-02-28T20:58:44.000Z
tools/generate_serialization_header.py
StableCoder/vulkan-mini-libs-2
e048f45149816e100d3f4f51306626ebf547b032
[ "Apache-2.0" ]
null
null
null
tools/generate_serialization_header.py
StableCoder/vulkan-mini-libs-2
e048f45149816e100d3f4f51306626ebf547b032
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 import sys import getopt import xml.etree.ElementTree as ET if __name__ == "__main__": main(sys.argv[1:])
30.345865
101
0.607334
08fee5df6d43bb80284a92b04bcc18e2811bda85
5,629
py
Python
ampel/cli/AbsStockCommand.py
AmpelProject/Ampel-core
dcbfbe38ba400b7f8e44e641b90217ca1bed4f8f
[ "BSD-3-Clause" ]
5
2021-04-15T07:43:26.000Z
2022-03-04T09:25:09.000Z
ampel/cli/AbsStockCommand.py
AmpelProject/Ampel-core
dcbfbe38ba400b7f8e44e641b90217ca1bed4f8f
[ "BSD-3-Clause" ]
67
2021-02-23T21:43:20.000Z
2021-12-15T23:28:32.000Z
ampel/cli/AbsStockCommand.py
AmpelProject/Ampel-core
dcbfbe38ba400b7f8e44e641b90217ca1bed4f8f
[ "BSD-3-Clause" ]
1
2021-04-26T07:52:19.000Z
2021-04-26T07:52:19.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- # File : Ampel-core/ampel/cli/AbsStockCommand.py # License : BSD-3-Clause # Author : vb <vbrinnel@physik.hu-berlin.de> # Date : 25.03.2021 # Last Modified Date: 25.03.2021 # Last Modified By : vb <vbrinnel@physik.hu-berlin.de>...
39.921986
109
0.688399
08ff6b2659f5dee9c411e3cb6cfb927747bc30ea
682
py
Python
programmers/lv2/42888.py
KLumy/Basic-Algorithm
e52e4200c1955a9062569814ff3418dd06666845
[ "MIT" ]
1
2021-01-22T15:58:32.000Z
2021-01-22T15:58:32.000Z
programmers/lv2/42888.py
KLumy/Basic-Algorithm
e52e4200c1955a9062569814ff3418dd06666845
[ "MIT" ]
null
null
null
programmers/lv2/42888.py
KLumy/Basic-Algorithm
e52e4200c1955a9062569814ff3418dd06666845
[ "MIT" ]
null
null
null
from typing import List if __name__ == "__main__": i = [ "Enter uid1234 Muzi", "Enter uid4567 Prodo", "Leave uid1234", "Enter uid1234 Prodo", "Change uid4567 Ryan", ] print(solution(i))
22
59
0.532258
08ffd799a57ae50947297bcb41ac6ea2c30df0ab
7,081
py
Python
app/nets.py
bobosoft/intrepyd
13f0912b31f86f9bcc50f52ef4ad870e33f0cf65
[ "BSD-3-Clause" ]
2
2021-04-25T17:38:03.000Z
2022-03-20T20:48:50.000Z
app/nets.py
bobosoft/intrepyd
13f0912b31f86f9bcc50f52ef4ad870e33f0cf65
[ "BSD-3-Clause" ]
1
2016-11-30T22:25:00.000Z
2017-01-16T22:43:39.000Z
app/nets.py
bobosoft/intrepyd
13f0912b31f86f9bcc50f52ef4ad870e33f0cf65
[ "BSD-3-Clause" ]
null
null
null
""" Implementation of REST API for nets creation """ from flask import Blueprint, request from .utils import typename_to_type from .contexts import contexts nr = Blueprint('nets', __name__)
26.82197
71
0.609942
08fffc77755fbb25f85fc2fc8357c667133dc97d
3,091
py
Python
tensorflow_addons/image/utils.py
Soroosh129/addons
d92ae02d04e9052f6ca5ea272873efd15eaa35ce
[ "Apache-2.0" ]
1
2020-09-09T14:51:22.000Z
2020-09-09T14:51:22.000Z
tensorflow_addons/image/utils.py
pkanwar23/addons
de99c6dd904c475c5c95726911f4aac447c13361
[ "Apache-2.0" ]
null
null
null
tensorflow_addons/image/utils.py
pkanwar23/addons
de99c6dd904c475c5c95726911f4aac447c13361
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
30.303922
81
0.586218
1c00a5891e5e90872bc713f8239c14e5c3378b1b
5,624
py
Python
tests/test_charge.py
fossabot/MolVS
dc5afca7fcea93ebb0a342b766d70e88d2c0b841
[ "MIT" ]
1
2019-03-15T03:42:37.000Z
2019-03-15T03:42:37.000Z
tests/test_charge.py
fossabot/MolVS
dc5afca7fcea93ebb0a342b766d70e88d2c0b841
[ "MIT" ]
null
null
null
tests/test_charge.py
fossabot/MolVS
dc5afca7fcea93ebb0a342b766d70e88d2c0b841
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- """Tests for charge.py""" from __future__ import print_function from __future__ import unicode_literals from __future__ import division import logging from rdkit import Chem from molvs.standardize import Standardizer, standardize_smiles from molvs.charge import Reionizer...
35.594937
229
0.628912
1c00c51dbbd7d3ac777974eea9dbea63a30953c4
1,921
py
Python
backend/users/views.py
jochanmin/Blog
465dcb951ebe2e2fabcd81d0c4e0221decc66ccc
[ "MIT" ]
11
2020-04-26T13:55:08.000Z
2022-01-27T08:30:03.000Z
backend/users/views.py
jochanmin/Blog
465dcb951ebe2e2fabcd81d0c4e0221decc66ccc
[ "MIT" ]
26
2020-09-27T16:14:36.000Z
2022-01-08T13:29:14.000Z
backend/users/views.py
jochanmin/Blog
465dcb951ebe2e2fabcd81d0c4e0221decc66ccc
[ "MIT" ]
3
2020-05-22T20:01:56.000Z
2022-01-08T08:40:37.000Z
from django.shortcuts import render from django.core import serializers from .models import User from django.forms.models import model_to_dict from rest_framework import status from rest_framework.response import Response from rest_framework.decorators import api_view, permission_classes from rest_framework.permissions...
36.942308
100
0.668922
1c00e4c128a365529289973580dd79e35cc9432c
4,134
py
Python
src/test/test_Location.py
MrRollyPanda/astral
5a1b013c945fa902b475ff0fa6769f0d43fe2999
[ "Apache-2.0" ]
null
null
null
src/test/test_Location.py
MrRollyPanda/astral
5a1b013c945fa902b475ff0fa6769f0d43fe2999
[ "Apache-2.0" ]
null
null
null
src/test/test_Location.py
MrRollyPanda/astral
5a1b013c945fa902b475ff0fa6769f0d43fe2999
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- from pytest import raises from astral import Astral, AstralError, Location import datetime import pytz
20.984772
75
0.630866