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
df407fe8640cf539470badf0dde920be1eef1a59
359
py
Python
app/schemas/image.py
sz3lbi/classifieds_service_backend
5977eedb7b9cb243142c021355211144df53cd1d
[ "MIT" ]
1
2022-01-24T12:46:56.000Z
2022-01-24T12:46:56.000Z
app/schemas/image.py
sz3lbi/classifieds_service_backend
5977eedb7b9cb243142c021355211144df53cd1d
[ "MIT" ]
1
2022-01-24T12:51:16.000Z
2022-01-26T18:25:11.000Z
app/schemas/image.py
sz3lbi/classifieds_service_backend
5977eedb7b9cb243142c021355211144df53cd1d
[ "MIT" ]
null
null
null
from pydantic import BaseModel, Field from uuid import UUID
14.36
40
0.685237
df41555b18281e7b1b5ce196861c57f7bd6e3924
6,471
py
Python
string-method/src/stringprocessor/processing_utils.py
delemottelab/gpcr-string-method-2019
b50786a4a8747d56ad04ede525592eb31f1890fd
[ "MIT" ]
null
null
null
string-method/src/stringprocessor/processing_utils.py
delemottelab/gpcr-string-method-2019
b50786a4a8747d56ad04ede525592eb31f1890fd
[ "MIT" ]
null
null
null
string-method/src/stringprocessor/processing_utils.py
delemottelab/gpcr-string-method-2019
b50786a4a8747d56ad04ede525592eb31f1890fd
[ "MIT" ]
3
2020-03-16T04:33:50.000Z
2021-03-19T17:25:59.000Z
from __future__ import absolute_import from __future__ import division from __future__ import print_function import logging import sys logging.basicConfig( stream=sys.stdout, level=logging.DEBUG, format='%(asctime)s %(name)s-%(levelname)s: %(message)s', datefmt='%Y-%m-%d %H:%M:%S') from os.path import...
41.748387
156
0.684593
df4222a6ed7b73ffb1dc9e9798f1e7e335b7d1bc
3,893
py
Python
examples/reporter/main.py
run-ai/runai
c73bf522d4b2cdd2ecc6c065ab56330718a97566
[ "MIT" ]
86
2020-01-23T18:56:41.000Z
2022-02-14T22:32:08.000Z
examples/reporter/main.py
Raghvender1205/runai
c73bf522d4b2cdd2ecc6c065ab56330718a97566
[ "MIT" ]
18
2020-01-24T17:55:18.000Z
2021-12-01T01:01:32.000Z
examples/reporter/main.py
Raghvender1205/runai
c73bf522d4b2cdd2ecc6c065ab56330718a97566
[ "MIT" ]
12
2020-02-03T14:30:44.000Z
2022-01-08T16:06:59.000Z
import os import time import keras import numpy as np import scipy # scipy.misc.imresize() is was removed in scipy-1.3.0 import runai.reporter.keras BATCH_SIZE = 64 IMAGE_SIZE = 224 if __name__ == "__main__": main()
33.273504
86
0.63627
df4298272da458e0f589b035ae3fc918347212f9
393
py
Python
expense/migrations/0006_auto_20200617_1927.py
Aasess/ExpenseTracker
9feb83b2b66d5d87a994bf6997d9cc33ca6ec066
[ "MIT" ]
9
2020-06-23T05:55:30.000Z
2020-07-09T10:07:25.000Z
expense/migrations/0006_auto_20200617_1927.py
Aasess/ExpenseTracker
9feb83b2b66d5d87a994bf6997d9cc33ca6ec066
[ "MIT" ]
3
2020-06-17T16:36:26.000Z
2021-02-16T06:29:23.000Z
expense/migrations/0006_auto_20200617_1927.py
Aasess/ExpenseTracker
9feb83b2b66d5d87a994bf6997d9cc33ca6ec066
[ "MIT" ]
5
2020-06-23T03:27:33.000Z
2020-08-16T19:37:53.000Z
# Generated by Django 3.0.5 on 2020-06-17 13:42 from django.db import migrations, models
20.684211
58
0.605598
df42c1291223df4ac6ea851f4e2bb09a53f3fd63
430
py
Python
server/python-asgi/app/models/foo.py
shortcut/cloud-native-templates
023b0a09137bcc763d7c0f0e48c325320fdc93af
[ "MIT" ]
null
null
null
server/python-asgi/app/models/foo.py
shortcut/cloud-native-templates
023b0a09137bcc763d7c0f0e48c325320fdc93af
[ "MIT" ]
null
null
null
server/python-asgi/app/models/foo.py
shortcut/cloud-native-templates
023b0a09137bcc763d7c0f0e48c325320fdc93af
[ "MIT" ]
null
null
null
from pydantic import BaseModel, Field from typing import Optional
18.695652
37
0.537209
df42f047afc68d8acf41529e0ed7a856bd1edd70
748
py
Python
quasimodo/data_structures/predicate.py
Aunsiels/CSK
c88609bc76d865b4987aaf30ddf1247a2031b1a6
[ "MIT" ]
16
2019-11-28T13:26:37.000Z
2022-02-09T09:53:10.000Z
quasimodo/data_structures/predicate.py
Aunsiels/CSK
c88609bc76d865b4987aaf30ddf1247a2031b1a6
[ "MIT" ]
1
2021-03-26T20:31:48.000Z
2021-07-15T08:52:47.000Z
quasimodo/data_structures/predicate.py
Aunsiels/CSK
c88609bc76d865b4987aaf30ddf1247a2031b1a6
[ "MIT" ]
3
2020-08-14T23:23:25.000Z
2021-12-24T14:02:35.000Z
from quasimodo.serializable import Serializable from .predicate_interface import PredicateInterface
26.714286
51
0.606952
df448b1fe5980f6ff5ca821f44dfced35dad6d97
7,134
py
Python
tests/test_soft_impute.py
cs224/sparseMF
39fbede77eceb5231db875820da94b68a5227e0d
[ "Apache-2.0" ]
10
2017-10-16T18:50:53.000Z
2021-11-07T05:34:58.000Z
tests/test_soft_impute.py
cs224/sparseMF
39fbede77eceb5231db875820da94b68a5227e0d
[ "Apache-2.0" ]
null
null
null
tests/test_soft_impute.py
cs224/sparseMF
39fbede77eceb5231db875820da94b68a5227e0d
[ "Apache-2.0" ]
5
2018-05-30T06:19:35.000Z
2021-05-29T20:55:28.000Z
import numpy as np from sparse_soft_impute import SoftImpute, SPLR from scipy.sparse import coo_matrix, csr_matrix, csc_matrix, lil_matrix from sklearn.utils.testing import assert_raises, assert_equal, assert_array_equal import unittest if __name__ == '__main__': unittest.main() ''' # test parameters sf = ...
40.765714
305
0.543454
df44da4ef35197d7d9945d76216ec30f27d1d9a7
501
py
Python
web_programming/current_stock_price.py
JB1959/Python
b6ca263983933c3ecc06ed0083dd11b6faf870c8
[ "MIT" ]
145,614
2016-07-21T05:40:05.000Z
2022-03-31T22:17:22.000Z
web_programming/current_stock_price.py
Agha-Muqarib/Python
04f156a8973d6156a4357e0717d9eb0aa264d086
[ "MIT" ]
3,987
2016-07-28T17:31:25.000Z
2022-03-30T23:07:46.000Z
web_programming/current_stock_price.py
Agha-Muqarib/Python
04f156a8973d6156a4357e0717d9eb0aa264d086
[ "MIT" ]
40,014
2016-07-26T15:14:41.000Z
2022-03-31T22:23:03.000Z
import requests from bs4 import BeautifulSoup if __name__ == "__main__": for symbol in "AAPL AMZN IBM GOOG MSFT ORCL".split(): print(f"Current {symbol:<4} stock price is {stock_price(symbol):>8}")
33.4
77
0.674651
df44f6107463c12a6376b5f9f8eb4b96683a6ba1
2,006
py
Python
setup.py
jacobic/spiders
287dcf041ba248dd369646236cdbf07ecf32d4e8
[ "MIT" ]
null
null
null
setup.py
jacobic/spiders
287dcf041ba248dd369646236cdbf07ecf32d4e8
[ "MIT" ]
null
null
null
setup.py
jacobic/spiders
287dcf041ba248dd369646236cdbf07ecf32d4e8
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- """The setup script.""" from setuptools import setup, find_packages with open('README.rst') as readme_file: readme = readme_file.read() with open('HISTORY.rst') as history_file: history = history_file.read() requirements = ['Click>=6.0', 'colossus', 'astropy', ...
37.849057
80
0.641077
df45960db91c2753ebf54796d5923cb3020270a4
13,091
py
Python
local_fel_simulated_env.py
MathPhysSim/FERMI_RL_Paper
4529fcbfa0cc35e5fa59463df2c423a497736eba
[ "MIT" ]
7
2021-02-05T18:02:43.000Z
2022-02-22T13:54:30.000Z
local_fel_simulated_env.py
MathPhysSim/FERMI_RL_Paper
4529fcbfa0cc35e5fa59463df2c423a497736eba
[ "MIT" ]
3
2021-01-16T17:08:17.000Z
2021-01-19T13:38:42.000Z
local_fel_simulated_env.py
MathPhysSim/FERMI_RL_Paper
4529fcbfa0cc35e5fa59463df2c423a497736eba
[ "MIT" ]
2
2021-01-15T11:08:36.000Z
2021-11-22T06:26:42.000Z
import pickle import numpy as np import gym # import pybobyqa import tensorflow as tf import matplotlib.pyplot as plt import pandas as pd from simulated_tango import SimTangoConnection if __name__ == '__main__': import scipy.optimize as opt tng = SimTangoConnection() env = FelLocalEnv(tng) low = e...
34.632275
112
0.567489
df45e549a1af4f02c178b91f5b88e8159e693bb4
220
py
Python
06_Array1D/Step06/6_6_sang.py
StudyForCoding/BEAKJOON
84e1c5e463255e919ccf6b6a782978c205420dbf
[ "MIT" ]
null
null
null
06_Array1D/Step06/6_6_sang.py
StudyForCoding/BEAKJOON
84e1c5e463255e919ccf6b6a782978c205420dbf
[ "MIT" ]
3
2020-11-04T05:38:53.000Z
2021-03-02T02:15:19.000Z
06_Array1D/Step06/6_6_sang.py
StudyForCoding/BEAKJOON
84e1c5e463255e919ccf6b6a782978c205420dbf
[ "MIT" ]
null
null
null
t = int(input()) for i in range(t): count = 0 score = 0 s = input() for j in s: if j == 'O': count += 1 score += count else: count = 0 print(score)
16.923077
26
0.390909
df4783c82e2a310e7871ee16fb7207f64651b42a
13,710
py
Python
src/bxcommon/messages/eth/serializers/transaction.py
sasha00123/bxcommon
4d65c48daacb63bfdf5d121aa4dbf3501cf0516b
[ "MIT" ]
12
2019-11-06T17:39:10.000Z
2022-03-01T11:26:19.000Z
src/bxcommon/messages/eth/serializers/transaction.py
sasha00123/bxcommon
4d65c48daacb63bfdf5d121aa4dbf3501cf0516b
[ "MIT" ]
8
2019-11-06T21:31:11.000Z
2021-06-02T00:46:50.000Z
src/bxcommon/messages/eth/serializers/transaction.py
sasha00123/bxcommon
4d65c48daacb63bfdf5d121aa4dbf3501cf0516b
[ "MIT" ]
5
2019-11-14T18:08:11.000Z
2022-02-08T09:36:22.000Z
from typing import Optional, Dict, Any, List import blxr_rlp as rlp from bxcommon.messages.eth.serializers.transaction_type import EthTransactionType from bxcommon.messages.eth.serializers.unsigned_transaction import UnsignedTransaction from bxcommon.utils import convert from bxcommon.utils.blockchain_utils.eth impor...
36.462766
104
0.613713
df4845df44a2ce964a86def84f39985731180a50
3,425
py
Python
simulator/lab11_data/gen_event_curve.py
lab11/Task2
3c3451599dd303cd1e2469e5b9e36e1b4ca49fa6
[ "Apache-2.0" ]
21
2018-08-29T18:58:26.000Z
2022-01-12T09:08:04.000Z
simulator/lab11_data/gen_event_curve.py
lab11/permamote
3c3451599dd303cd1e2469e5b9e36e1b4ca49fa6
[ "Apache-2.0" ]
9
2017-11-08T03:22:58.000Z
2020-05-02T18:23:12.000Z
simulator/lab11_data/gen_event_curve.py
lab11/Task2
3c3451599dd303cd1e2469e5b9e36e1b4ca49fa6
[ "Apache-2.0" ]
8
2018-10-28T23:44:23.000Z
2021-07-11T05:18:02.000Z
#! /usr/bin/env python3 import os import numpy as np import scipy.stats as stats import matplotlib.pyplot as plt import matplotlib.dates as mdates from multiprocessing import Pool from datetime import datetime import arrow data_dir = 'clean_data/' out_dir = 'curves/' out_dir = os.path.dirname(out_dir) + '/' if out_d...
36.43617
121
0.68146
df48b1fab3b025fdb0b881f82648c4854093fd0e
1,185
py
Python
platformio/commands/home/web.py
ysoyipek/platformio-core
1b2e410f12bd7770d6415264d750e2fd63f697b7
[ "Apache-2.0" ]
null
null
null
platformio/commands/home/web.py
ysoyipek/platformio-core
1b2e410f12bd7770d6415264d750e2fd63f697b7
[ "Apache-2.0" ]
1
2021-06-02T00:23:58.000Z
2021-06-02T00:23:58.000Z
platformio/commands/home/web.py
ysoyipek/platformio-core
1b2e410f12bd7770d6415264d750e2fd63f697b7
[ "Apache-2.0" ]
null
null
null
# Copyright (c) 2014-present PlatformIO <contact@platformio.org> # # 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 appli...
38.225806
74
0.704641
df493625da55eaea97ae29d15d245add1cb4e501
39
py
Python
pipeline/src/enrich/__init__.py
wellcomecollection/concepts
fcdb23d47ea841bb3b8d2826a8bd8640dc639ccb
[ "MIT" ]
null
null
null
pipeline/src/enrich/__init__.py
wellcomecollection/concepts
fcdb23d47ea841bb3b8d2826a8bd8640dc639ccb
[ "MIT" ]
52
2020-04-21T09:13:45.000Z
2022-01-31T09:43:16.000Z
pipeline/src/enrich/__init__.py
wellcomecollection/concepts
fcdb23d47ea841bb3b8d2826a8bd8640dc639ccb
[ "MIT" ]
null
null
null
from ..utils import clean, http_client
19.5
38
0.794872
df49a60668055e5fddda30538086675d22b98c78
1,474
py
Python
task01.py
ryandhjeon/ncdc-analysis
ebeefe329dfe0c5eff73e242a9868ebd29515856
[ "MIT" ]
null
null
null
task01.py
ryandhjeon/ncdc-analysis
ebeefe329dfe0c5eff73e242a9868ebd29515856
[ "MIT" ]
null
null
null
task01.py
ryandhjeon/ncdc-analysis
ebeefe329dfe0c5eff73e242a9868ebd29515856
[ "MIT" ]
null
null
null
from mrjob.job import MRJob from mrjob.step import MRStep from datetime import datetime if __name__ == '__main__': MRTask01.run()
25.859649
75
0.545455
df4a26ff3ff45ae362bf9dfb4da8f35474ae51c2
2,595
py
Python
server.py
ryanbloom/gan-explorer
e3f0412b4e204af2035721a16e33f0bfdc14f3ac
[ "MIT" ]
null
null
null
server.py
ryanbloom/gan-explorer
e3f0412b4e204af2035721a16e33f0bfdc14f3ac
[ "MIT" ]
null
null
null
server.py
ryanbloom/gan-explorer
e3f0412b4e204af2035721a16e33f0bfdc14f3ac
[ "MIT" ]
null
null
null
import os import sys import io import pickle import torch import functools from PIL import Image from starlette.applications import Starlette from starlette.responses import Response, FileResponse from starlette.exceptions import HTTPException from starlette.staticfiles import StaticFiles from starlette.routing impor...
28.833333
83
0.670906
df4af87ae35f03a39ee054e5b6298723ceaa70df
15,866
py
Python
MasterServer/MasterServer_pb2_grpc.py
wangtl175/Distributed-Key-Value-Store-System
c6661686474ef2660a6c4e62c2db6d1f924ebf29
[ "MIT" ]
1
2021-03-13T12:43:12.000Z
2021-03-13T12:43:12.000Z
MasterServer/MasterServer_pb2_grpc.py
wangtl175/Distributed-Key-Value-Store-System
c6661686474ef2660a6c4e62c2db6d1f924ebf29
[ "MIT" ]
null
null
null
MasterServer/MasterServer_pb2_grpc.py
wangtl175/Distributed-Key-Value-Store-System
c6661686474ef2660a6c4e62c2db6d1f924ebf29
[ "MIT" ]
null
null
null
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc import MasterServer_pb2 as MasterServer__pb2 def add_MasterServerServicer_to_server(servicer, server): rpc_method_handlers = { 'heart': grpc....
43.587912
107
0.645279
df4c96ccb340b9ae5841e6add1a11590553d1c14
6,569
py
Python
tests/module_definition/parameter_test.py
BjoernLange/C-Mock-Generator
91f0e331abf54dc5b6706796c02341e23b2e06d7
[ "MIT" ]
null
null
null
tests/module_definition/parameter_test.py
BjoernLange/C-Mock-Generator
91f0e331abf54dc5b6706796c02341e23b2e06d7
[ "MIT" ]
3
2020-06-07T12:48:17.000Z
2020-07-26T12:52:45.000Z
tests/module_definition/parameter_test.py
BjoernLange/C-Mock-Generator
91f0e331abf54dc5b6706796c02341e23b2e06d7
[ "MIT" ]
null
null
null
from typing import Optional import pytest from c_mock_generator.module_definition.exceptions import MockGeneratorError from c_mock_generator.module_definition.parameter_documentation import \ ParameterDocumentation, ActiveAttributions from c_mock_generator.module_definition.parameter import Parameter from c_mock_g...
31.581731
79
0.732379
df4cacbacbdeb4898039b31d1011f446d0d5370d
7,496
py
Python
python/airi/twisted_bluetooth/win.py
manuelnaranjo/AIRi
84c4afa9bfb078970c485ad87a86c431ac2a7cc8
[ "Apache-2.0" ]
1
2021-03-29T00:08:35.000Z
2021-03-29T00:08:35.000Z
python/airi/twisted_bluetooth/win.py
manuelnaranjo/AIRi
84c4afa9bfb078970c485ad87a86c431ac2a7cc8
[ "Apache-2.0" ]
1
2017-05-18T09:35:19.000Z
2017-05-18T09:35:19.000Z
python/airi/twisted_bluetooth/win.py
manuelnaranjo/AIRi
84c4afa9bfb078970c485ad87a86c431ac2a7cc8
[ "Apache-2.0" ]
2
2017-05-18T05:02:47.000Z
2020-11-26T18:49:58.000Z
# -*- coding: utf-8 -*- # Copyright (c) 2011 Naranjo Manuel Francisco <manuel@aircable.net> # Copyright (c) 2001-2009 Twisted Matrix Laboratories. # See Twisted LICENSE for details. """ Various Bluetooth Socket classes """ # System Imports import os import types import socket import sys import operator import bluetoo...
30.721311
112
0.639941
df4ccadd48ef65ce73e0ea13f4e72f45bf8f773d
381
py
Python
INBa/2015/RotkinAM/Zadacha_2_21.py
YukkaSarasti/pythonintask
eadf4245abb65f4400a3bae30a4256b4658e009c
[ "Apache-2.0" ]
null
null
null
INBa/2015/RotkinAM/Zadacha_2_21.py
YukkaSarasti/pythonintask
eadf4245abb65f4400a3bae30a4256b4658e009c
[ "Apache-2.0" ]
null
null
null
INBa/2015/RotkinAM/Zadacha_2_21.py
YukkaSarasti/pythonintask
eadf4245abb65f4400a3bae30a4256b4658e009c
[ "Apache-2.0" ]
null
null
null
# 2. 21. # , , . , . # Rotkin A.M. # 02.04.2016 print (' ') print ("\n ") input (" Enter ")
42.333333
210
0.779528
df4d2925d7d80db583bc0844ba5d1903f8ecf247
959
py
Python
ex17.py
munyamunya/python-excercise
afb217e4cac74c98a41d3c255acb28a61941ee9d
[ "MIT" ]
null
null
null
ex17.py
munyamunya/python-excercise
afb217e4cac74c98a41d3c255acb28a61941ee9d
[ "MIT" ]
null
null
null
ex17.py
munyamunya/python-excercise
afb217e4cac74c98a41d3c255acb28a61941ee9d
[ "MIT" ]
null
null
null
# 17 (ex17.py) # # (%) # /12 # # > 100000 # (%)> 14.0 # > 20000 # 1: 20000 81166 # 2: 20000 62113 # 3: 20000 42838 # 4: 20000 23338 # 5: 20000 3610 # 6: 3652 : 103652 # Debt > 100000 # Annual interest rate (%) > 14.0 # Repayment > 20000 dept = float(input("> ")) annual_interest_rate = floa...
27.4
103
0.625652
df4e88b22df96ecbcb9f90cb520cfd038c2e0125
2,531
py
Python
src/generate_data.py
tang-jh/excel_merge
3f2963d80e92a500807a1283a17c5c14c9336351
[ "MIT" ]
null
null
null
src/generate_data.py
tang-jh/excel_merge
3f2963d80e92a500807a1283a17c5c14c9336351
[ "MIT" ]
null
null
null
src/generate_data.py
tang-jh/excel_merge
3f2963d80e92a500807a1283a17c5c14c9336351
[ "MIT" ]
null
null
null
''' Module to generate a demo folder structure for testing purpose. This demo takes the structure of individual Excel files based on an assessor of the test candidate. Each candidate is assigned 3 assessors and will be assessed on 3 criteria ''' # Import libraries import os import numpy as np import pandas as...
37.776119
126
0.657843
df4ef40b9556d5e1414528509023eea2581d7185
22,715
py
Python
OfflineAnomalyDetector/Detectors.py
mxbhsa/Heimdall
485976e3fdcaf2f8b98f0ef95e73067e67e9e9e4
[ "Apache-2.0" ]
null
null
null
OfflineAnomalyDetector/Detectors.py
mxbhsa/Heimdall
485976e3fdcaf2f8b98f0ef95e73067e67e9e9e4
[ "Apache-2.0" ]
null
null
null
OfflineAnomalyDetector/Detectors.py
mxbhsa/Heimdall
485976e3fdcaf2f8b98f0ef95e73067e67e9e9e4
[ "Apache-2.0" ]
null
null
null
import pandas as pd import numpy as np from sklearn.base import BaseEstimator from luminol.anomaly_detector import AnomalyDetector from luminol.modules.anomaly import Anomaly from luminol.modules.time_series import TimeSeries from AnomalyAlgorithms import anomaly_detect_ts from Utils import * from abc import abstract...
35.217054
172
0.682324
df5034fa78cbb9988aa4d1002234629ac70f8650
1,722
py
Python
onnx/test/tools_test.py
cnheider/onnx
8e9c7d57f7c5aa6f6eb7ee7abb0ba2a243781933
[ "MIT" ]
137
2020-04-28T12:28:32.000Z
2022-03-18T10:48:25.000Z
onnx/test/tools_test.py
cnheider/onnx
8e9c7d57f7c5aa6f6eb7ee7abb0ba2a243781933
[ "MIT" ]
24
2020-05-06T08:06:42.000Z
2021-12-31T07:46:13.000Z
onnx/test/tools_test.py
cnheider/onnx
8e9c7d57f7c5aa6f6eb7ee7abb0ba2a243781933
[ "MIT" ]
24
2020-05-06T11:43:22.000Z
2022-03-18T10:50:35.000Z
from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals import unittest import onnx from onnx.tools import update_model_dims from onnx import helper, TensorProto if __name__ == '__main__': unittest.main()
36.638298
100
0.606272
df5093399be491b1e4faa393720b9b653870b11a
91
py
Python
powerspot/__init__.py
theolamayo/spotify-scripts
d464e7ab631d1dd46957396d4a8802fe8482bbca
[ "MIT" ]
1
2020-11-23T22:45:50.000Z
2020-11-23T22:45:50.000Z
powerspot/__init__.py
theolamayo/spotify-scripts
d464e7ab631d1dd46957396d4a8802fe8482bbca
[ "MIT" ]
null
null
null
powerspot/__init__.py
theolamayo/spotify-scripts
d464e7ab631d1dd46957396d4a8802fe8482bbca
[ "MIT" ]
null
null
null
from . import io, operations, ui __version__ = "0.2" __all__ = ["io", "operations", "ui"]
18.2
36
0.637363
df50c3432b15ea04d712fd237733f2cc20205308
2,551
py
Python
StripeCaller/caller/mat_ops.py
seanpatrickmoran/StripeCaller
1a6de26cd20570087f18da09228cf714eae81f2d
[ "MIT" ]
null
null
null
StripeCaller/caller/mat_ops.py
seanpatrickmoran/StripeCaller
1a6de26cd20570087f18da09228cf714eae81f2d
[ "MIT" ]
null
null
null
StripeCaller/caller/mat_ops.py
seanpatrickmoran/StripeCaller
1a6de26cd20570087f18da09228cf714eae81f2d
[ "MIT" ]
null
null
null
import numpy as np import scipy.sparse as sp def blank_diagonal2(matr, strata = False): """ in: edgelist, strata (n entries off main diagonal to zero) out:matrix with n blanked diagonal """ # int_shape = (int(max(matr[:,1])+1), int(max(matr[:,1])+1)) # coo = sp.coo_matrix((matr[:, 2], (mat...
30.73494
119
0.592317
df51fe0f9d20bf758783a9a4f440b2cf9b340b01
114
py
Python
app/model.py
Fenghaze/ImageSegmentation
3f7e78fc8129241fd8090c9a67190c85e06fb5a1
[ "MIT" ]
null
null
null
app/model.py
Fenghaze/ImageSegmentation
3f7e78fc8129241fd8090c9a67190c85e06fb5a1
[ "MIT" ]
null
null
null
app/model.py
Fenghaze/ImageSegmentation
3f7e78fc8129241fd8090c9a67190c85e06fb5a1
[ "MIT" ]
null
null
null
import torch model = torch.hub.load('pytorch/vision:v0.10.0', 'deeplabv3_resnet101', pretrained=True) model.eval()
38
88
0.77193
df537c7d1965860dc5f281c2d604983d7a1c14ee
2,003
py
Python
gym_modular/sensors/part/fixed_number_placed_parts_velocity_sensor.py
TimSchneider42/mbpo
736ba90bbdaddb2a40a6233bc0b78da72235100a
[ "MIT" ]
null
null
null
gym_modular/sensors/part/fixed_number_placed_parts_velocity_sensor.py
TimSchneider42/mbpo
736ba90bbdaddb2a40a6233bc0b78da72235100a
[ "MIT" ]
null
null
null
gym_modular/sensors/part/fixed_number_placed_parts_velocity_sensor.py
TimSchneider42/mbpo
736ba90bbdaddb2a40a6233bc0b78da72235100a
[ "MIT" ]
null
null
null
import math from typing import Optional, Sequence from assembly_gym.environment.generic import Object from ..object_velocity_sensor import ObjectVelocitySensor from task import StackingTask
51.358974
118
0.725911
df5436be0a12452c30865bd01579f7384844eda4
1,888
py
Python
01/task14.py
omartrinidad/pattern-recognition-bit
ba3eb4e541fff2b1aedbaa4420d7a8cea8100dc7
[ "MIT" ]
null
null
null
01/task14.py
omartrinidad/pattern-recognition-bit
ba3eb4e541fff2b1aedbaa4420d7a8cea8100dc7
[ "MIT" ]
null
null
null
01/task14.py
omartrinidad/pattern-recognition-bit
ba3eb4e541fff2b1aedbaa4420d7a8cea8100dc7
[ "MIT" ]
null
null
null
#!/usr/bin/env python """ task 1.4 Unit circles # ToDo: Implement it in three dimensions # L_p norm # https://www.youtube.com/watch?v=SXEYIGqXSxk # unit circle: # https://www.youtube.com/watch?v=qTbDQ9gkKJg """ import pylab import matplotlib.pyplot as plt import numpy as np from auxiliar import * unitball(0.5) ...
26.222222
80
0.573093
df56b842f640e25a4f3079105b09af9465ab1377
2,388
py
Python
toolchain/plugins/measure_jaeger.py
the-redback/pptam-tool
52b9cbd591f82d9ecc68dea1bbeac33701f08a21
[ "MIT" ]
null
null
null
toolchain/plugins/measure_jaeger.py
the-redback/pptam-tool
52b9cbd591f82d9ecc68dea1bbeac33701f08a21
[ "MIT" ]
null
null
null
toolchain/plugins/measure_jaeger.py
the-redback/pptam-tool
52b9cbd591f82d9ecc68dea1bbeac33701f08a21
[ "MIT" ]
null
null
null
import logging import requests import json import os import time
44.222222
111
0.581658
df595ad0cfc3a641ef7ea3f543a93e038717fbf9
1,757
py
Python
status/status/items.py
jesiqueira/scrapyinvestingacoes
df19e9994335a2bcfdc15a9f2a7daefb08830d02
[ "MIT" ]
null
null
null
status/status/items.py
jesiqueira/scrapyinvestingacoes
df19e9994335a2bcfdc15a9f2a7daefb08830d02
[ "MIT" ]
null
null
null
status/status/items.py
jesiqueira/scrapyinvestingacoes
df19e9994335a2bcfdc15a9f2a7daefb08830d02
[ "MIT" ]
null
null
null
# Define here the models for your scraped items # # See documentation in: # https://docs.scrapy.org/en/latest/topics/items.html import scrapy
29.779661
53
0.667046
df59942cf5238e3df7d6dc436a218c907b8213f5
249
py
Python
polls_cms_integration/models.py
sandilukez/news-project
fcd91edd6b7d6941b77a6390aa86efe3e2b0c3a1
[ "MIT" ]
null
null
null
polls_cms_integration/models.py
sandilukez/news-project
fcd91edd6b7d6941b77a6390aa86efe3e2b0c3a1
[ "MIT" ]
null
null
null
polls_cms_integration/models.py
sandilukez/news-project
fcd91edd6b7d6941b77a6390aa86efe3e2b0c3a1
[ "MIT" ]
null
null
null
from django.db import models from cms.models import CMSPlugin from polls.models import Poll
22.636364
62
0.75502
df59e95731903dc924bbf2b74288527f5c9aeccf
984
py
Python
utils/queue_viewer.py
VDL-PRISM/dylos
16bfcc9925d4e18793b4b004bd3ba55d243de450
[ "Apache-2.0" ]
null
null
null
utils/queue_viewer.py
VDL-PRISM/dylos
16bfcc9925d4e18793b4b004bd3ba55d243de450
[ "Apache-2.0" ]
11
2017-12-07T22:45:41.000Z
2018-01-26T20:44:21.000Z
utils/queue_viewer.py
VDL-PRISM/dylos
16bfcc9925d4e18793b4b004bd3ba55d243de450
[ "Apache-2.0" ]
null
null
null
import argparse from datetime import datetime import msgpack from persistent_queue import PersistentQueue import pytz from tabulate import tabulate parser = argparse.ArgumentParser(description='View data from a queue') parser.add_argument('queue') parser.add_argument('start', type=int) parser.add_argument('end', typ...
26.594595
119
0.688008
df59f4730e20867d4ca7c619bfd2bad305c5e7b7
4,002
py
Python
Python_OCR_JE/venv/Lib/site-packages/numpy/typing/tests/data/pass/fromnumeric.py
JE-Chen/je_old_repo
a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5
[ "MIT" ]
1
2022-01-08T12:30:44.000Z
2022-01-08T12:30:44.000Z
Python_OCR_JE/venv/Lib/site-packages/numpy/typing/tests/data/pass/fromnumeric.py
JE-Chen/je_old_repo
a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5
[ "MIT" ]
null
null
null
Python_OCR_JE/venv/Lib/site-packages/numpy/typing/tests/data/pass/fromnumeric.py
JE-Chen/je_old_repo
a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5
[ "MIT" ]
1
2021-04-26T22:41:56.000Z
2021-04-26T22:41:56.000Z
"""Tests for :mod:`numpy.core.fromnumeric`.""" import numpy as np A = np.array(True, ndmin=2, dtype=bool) B = np.array(1.0, ndmin=2, dtype=np.float32) A.setflags(write=False) B.setflags(write=False) a = np.bool_(True) b = np.float32(1.0) c = 1.0 d = np.array(1.0, dtype=np.float32) # writeable np.take...
15.333333
49
0.601949
df5b982315dc9d3757badb58ec19ad64ecbb9cf6
871
py
Python
Bugscan_exploits-master/exp_list/exp-1799.py
csadsl/poc_exp
e3146262e7403f19f49ee2db56338fa3f8e119c9
[ "MIT" ]
11
2020-05-30T13:53:49.000Z
2021-03-17T03:20:59.000Z
Bugscan_exploits-master/exp_list/exp-1799.py
csadsl/poc_exp
e3146262e7403f19f49ee2db56338fa3f8e119c9
[ "MIT" ]
6
2020-05-13T03:25:18.000Z
2020-07-21T06:24:16.000Z
Bugscan_exploits-master/exp_list/exp-1799.py
csadsl/poc_exp
e3146262e7403f19f49ee2db56338fa3f8e119c9
[ "MIT" ]
6
2020-05-30T13:53:51.000Z
2020-12-01T21:44:26.000Z
#!/usr/bin/python #-*- encoding:utf-8 -*- #title:workyi_Talent system SQL injection #author: xx00 #ref: http://www.wooyun.org/bugs/wooyun-2010-0148657 import urlparse if __name__ == '__main__': from dummy import * audit(assign('ruijie_router', 'http://116.113.16.146/')[1])
32.259259
106
0.652124
df5be020af94bab9e82de5a99d0b4ee436cb2749
2,716
py
Python
core/tests/test_models.py
kaedroho/dit-directory-cms
67c15eeed19e7b3583f1fce1969230ddf83b6813
[ "MIT" ]
null
null
null
core/tests/test_models.py
kaedroho/dit-directory-cms
67c15eeed19e7b3583f1fce1969230ddf83b6813
[ "MIT" ]
null
null
null
core/tests/test_models.py
kaedroho/dit-directory-cms
67c15eeed19e7b3583f1fce1969230ddf83b6813
[ "MIT" ]
null
null
null
import pytest from django.conf import settings from django.core.exceptions import ValidationError from django.utils import translation from wagtail.core.models import Page from find_a_supplier.tests.factories import IndustryPageFactory from invest.tests.factories import InvestAppFactory, \ SectorLandingPageFactor...
31.218391
64
0.768778
df5c62e88857a20ae95ab8ff976f6b9308f5cbf7
1,315
py
Python
htmldatatables/__init__.py
juhajokela/htmldatatables
298467e6256fc1c1c16c0af9f1d2de8782935715
[ "MIT" ]
null
null
null
htmldatatables/__init__.py
juhajokela/htmldatatables
298467e6256fc1c1c16c0af9f1d2de8782935715
[ "MIT" ]
null
null
null
htmldatatables/__init__.py
juhajokela/htmldatatables
298467e6256fc1c1c16c0af9f1d2de8782935715
[ "MIT" ]
null
null
null
import os from collections.abc import Iterable DIRECTORY = os.path.dirname(os.path.realpath(__file__)) TEMPLATES = os.path.join(DIRECTORY, 'templates') HTMLTABLE = load_template('htmltable.html') DATATABLES = load_template('datatables.html')
26.3
65
0.661597
df5d14417de1e8123f6427664b0bb96e2cca8f09
1,562
py
Python
bitcoinstore/api/handlers/put_non_fungible.py
0x1a8008/bitcoin-store
7a490d81de4e874e6e455b62b406ba9059c1fb55
[ "MIT" ]
null
null
null
bitcoinstore/api/handlers/put_non_fungible.py
0x1a8008/bitcoin-store
7a490d81de4e874e6e455b62b406ba9059c1fb55
[ "MIT" ]
null
null
null
bitcoinstore/api/handlers/put_non_fungible.py
0x1a8008/bitcoin-store
7a490d81de4e874e6e455b62b406ba9059c1fb55
[ "MIT" ]
null
null
null
""" Handles the validation and loading of a non-fungible item and its associated parent type to the db. """ from bitcoinstore.extensions import db from bitcoinstore.api.models.NonFungibleItem import NonFungibleItem from bitcoinstore.api.models.NonFungibleType import NonFungibleType
29.471698
76
0.608195
df5e00c77743d2aff34d948eb698d91075fa4344
955
py
Python
AnimeList/admin.py
habelash/AnimeView
893620c318b25a549479c781f002e6eed326705c
[ "CC0-1.0" ]
null
null
null
AnimeList/admin.py
habelash/AnimeView
893620c318b25a549479c781f002e6eed326705c
[ "CC0-1.0" ]
7
2021-03-30T14:17:35.000Z
2022-01-13T02:55:42.000Z
AnimeList/admin.py
habelash/AnimeView
893620c318b25a549479c781f002e6eed326705c
[ "CC0-1.0" ]
null
null
null
from django.contrib import admin from .models import onepiece, naruto, afrosamurai, aot, bleach, \ bnha, deathnote, fairytail, fmab, haikyu, hxh, kny, onepunchman admin.site.site_header = 'Anime View' # Register your models here. admin.site.register(onepiece, AnimeListAdmin) admin.site.register(naruto, AnimeLi...
34.107143
67
0.8
df5f2416c3d993516e7f533b137098736ce6b338
1,565
py
Python
setup.py
sysid/kneed
f5a22df8281e00c62f9ee7c947b62a8aaa07f8be
[ "BSD-3-Clause" ]
1
2021-10-03T07:33:34.000Z
2021-10-03T07:33:34.000Z
setup.py
deysn/kneed
d7b75a184a86e4ac146acee09ed61d42554b048b
[ "BSD-3-Clause" ]
null
null
null
setup.py
deysn/kneed
d7b75a184a86e4ac146acee09ed61d42554b048b
[ "BSD-3-Clause" ]
null
null
null
from setuptools import setup, find_packages from codecs import open as copen from os import path here = path.abspath(path.dirname(__file__)) # Get the long description from the README file with copen(path.join(here, 'README.md'), encoding='utf-8') as f: long_description = f.read() # get the dependencies and ins...
31.938776
86
0.688818
df60a01c096b111236fb6420b1ef0f4f34a0a4bc
5,800
py
Python
apps/contact/views.py
gurnitha/django-contact-manager
58d0e1680aa8f778d4e0adb21c868058af70e502
[ "Unlicense" ]
null
null
null
apps/contact/views.py
gurnitha/django-contact-manager
58d0e1680aa8f778d4e0adb21c868058af70e502
[ "Unlicense" ]
null
null
null
apps/contact/views.py
gurnitha/django-contact-manager
58d0e1680aa8f778d4e0adb21c868058af70e502
[ "Unlicense" ]
null
null
null
# apps/contact/urls.py # Django modules from django.shortcuts import render, get_object_or_404, redirect from django.views.generic import ListView, DetailView from django.db.models import Q from django.views.generic.edit import ( CreateView, UpdateView, DeleteView ) from django.contrib.auth.forms import User...
25.108225
71
0.696724
df6219cbe0277768d92d5d74c2d4bb86b688c418
1,808
py
Python
src/tox_ansible/tox_lint_case.py
greg-hellings/tox-ansible-collection
174ade3a634ce21c757e5e0efa1d5fbc8e0ede72
[ "MIT" ]
null
null
null
src/tox_ansible/tox_lint_case.py
greg-hellings/tox-ansible-collection
174ade3a634ce21c757e5e0efa1d5fbc8e0ede72
[ "MIT" ]
null
null
null
src/tox_ansible/tox_lint_case.py
greg-hellings/tox-ansible-collection
174ade3a634ce21c757e5e0efa1d5fbc8e0ede72
[ "MIT" ]
null
null
null
from copy import copy from pathlib import Path from .tox_base_case import ToxBaseCase from .tox_helper import Tox BASH = "cd {} && molecule {} lint -s {}"
28.25
73
0.57135
df6252908a12c49e3d5354f06eb6a587268a5913
421
py
Python
minpair/__init__.py
brandonlim-hs/minpair
f8ea7fcab0bfc4a6b9bc45dd2b1f0aeb089b365e
[ "MIT" ]
1
2020-12-29T04:25:55.000Z
2020-12-29T04:25:55.000Z
minpair/__init__.py
brandonlim-hs/minpair
f8ea7fcab0bfc4a6b9bc45dd2b1f0aeb089b365e
[ "MIT" ]
null
null
null
minpair/__init__.py
brandonlim-hs/minpair
f8ea7fcab0bfc4a6b9bc45dd2b1f0aeb089b365e
[ "MIT" ]
null
null
null
from minpair.generator import Generator __all__ = ['__version__'] try: from minpair._version import version as __version__ except ImportError: # broken installation, we don't even try # unknown only works because we do poor mans version compare __version__ = 'unknown'
22.157895
64
0.738717
df63b5b68fd38bb5792b3f99329d5814e6454f21
3,498
py
Python
simplads/simplad_monad/simplad_base_helper.py
Cogmob/simplads
8731c4a02273109187cfe601058ce797e32ba1ae
[ "MIT" ]
null
null
null
simplads/simplad_monad/simplad_base_helper.py
Cogmob/simplads
8731c4a02273109187cfe601058ce797e32ba1ae
[ "MIT" ]
null
null
null
simplads/simplad_monad/simplad_base_helper.py
Cogmob/simplads
8731c4a02273109187cfe601058ce797e32ba1ae
[ "MIT" ]
null
null
null
from .delta_type import DeltaType from .namedtuples.bind_args import BindArgs from .namedtuples.bound import Bound from .simplad_base import SimpladBase from .simplad_monad import WrappedDelta import abc ''' bind process input (~bound~, []) extract unbound and annotation from ~bound~ call bind until lowest lay...
30.417391
92
0.609777
df63b9ef1ff1a335dfc085e74333df01240dbbac
5,215
py
Python
zubio/gym/views.py
tejesh0/Zubio.in
a0a71d2fafd21e97b5a5062215149a9756d46e0b
[ "MIT" ]
1
2016-03-20T18:32:23.000Z
2016-03-20T18:32:23.000Z
zubio/gym/views.py
tejesh0/Zubio.in
a0a71d2fafd21e97b5a5062215149a9756d46e0b
[ "MIT" ]
9
2020-06-05T17:18:43.000Z
2022-03-11T23:15:04.000Z
zubio/gym/views.py
tejesh0/Zubio.in
a0a71d2fafd21e97b5a5062215149a9756d46e0b
[ "MIT" ]
null
null
null
from django.shortcuts import render_to_response, HttpResponse from django.http import HttpRequest from django.template import RequestContext from django.http import HttpResponseRedirect from django.core.urlresolvers import reverse from gym.models import FitnessListing, FitnessListingForm # from gym.forms import Docume...
27.020725
96
0.629338
df659d906d53b0c61e9d3171a0f7de7260a4b059
3,381
py
Python
algofi/v1/mint.py
zhengxunWu3/algofi-py-sdk
8388d71d55eae583ac3579286b5f870aa3db2913
[ "MIT" ]
38
2021-12-30T02:32:57.000Z
2022-03-23T22:09:16.000Z
algofi/v1/mint.py
zhengxunWu3/algofi-py-sdk
8388d71d55eae583ac3579286b5f870aa3db2913
[ "MIT" ]
4
2021-11-03T00:14:46.000Z
2022-03-28T02:17:33.000Z
algofi/v1/mint.py
zhengxunWu3/algofi-py-sdk
8388d71d55eae583ac3579286b5f870aa3db2913
[ "MIT" ]
8
2021-12-15T05:29:55.000Z
2022-02-08T03:45:11.000Z
from algosdk.future.transaction import ApplicationNoOpTxn, PaymentTxn, AssetTransferTxn from .prepend import get_init_txns from ..utils import Transactions, TransactionGroup from ..contract_strings import algofi_manager_strings as manager_strings def prepare_mint_transactions(sender, suggested_params, storage_accoun...
42.2625
210
0.725525
df66ab464b13a513e66e9302a7958b1b756ed3c8
1,627
py
Python
src/spotify/migrations/0002_auto_20210413_1733.py
rryanburton/kwmgt
0e8f9657d48ed5b9021d6316caa55c982f9e2800
[ "MIT" ]
null
null
null
src/spotify/migrations/0002_auto_20210413_1733.py
rryanburton/kwmgt
0e8f9657d48ed5b9021d6316caa55c982f9e2800
[ "MIT" ]
null
null
null
src/spotify/migrations/0002_auto_20210413_1733.py
rryanburton/kwmgt
0e8f9657d48ed5b9021d6316caa55c982f9e2800
[ "MIT" ]
null
null
null
# Generated by Django 3.2 on 2021-04-13 17:33 from django.db import migrations, models
27.576271
62
0.531039
df66daaa9747f0019148015d719b4599c2bca06f
1,794
py
Python
app/users/notification.py
AniaPeszek/ReclamationAndTicketSystem
42551732dcc9af42dc7401fbc13b8fdb6e3c132f
[ "MIT" ]
null
null
null
app/users/notification.py
AniaPeszek/ReclamationAndTicketSystem
42551732dcc9af42dc7401fbc13b8fdb6e3c132f
[ "MIT" ]
null
null
null
app/users/notification.py
AniaPeszek/ReclamationAndTicketSystem
42551732dcc9af42dc7401fbc13b8fdb6e3c132f
[ "MIT" ]
null
null
null
from app import db from flask_login import current_user from app.models import Ticket, Reclamation, User, Message from flask import url_for
46
109
0.746934
df67adfbfcad2c99ac76305f2b4d17fc4dc56088
1,891
py
Python
setup.py
yutongD/Player2Vec
22b72d75f81dd057762f0c7225a4558a25095b8f
[ "Apache-2.0" ]
447
2020-05-02T05:29:04.000Z
2022-03-30T12:48:56.000Z
setup.py
lzz-hub-dev/DGFraud
ee74ce55c9206e6c194aef01ee43246ecf226254
[ "Apache-2.0" ]
11
2020-05-03T16:36:04.000Z
2022-02-26T22:31:00.000Z
setup.py
lzz-hub-dev/DGFraud
ee74ce55c9206e6c194aef01ee43246ecf226254
[ "Apache-2.0" ]
115
2020-05-06T01:41:36.000Z
2022-03-30T12:15:05.000Z
from setuptools import find_packages, setup # read the contents of README file from os import path from io import open # for Python 2 and 3 compatibility this_directory = path.abspath(path.dirname(__file__)) # read the contents of requirements.txt with open(path.join(this_directory, 'requirements.txt'), e...
41.108696
79
0.611846
df67b484bc799e1c36c9aac365dd46cca21d5596
7,200
py
Python
main.py
ojsindher/Computer-Pointer-Controller-OPENVINO
7e6c286d0eb90005cc5fc881439f09776c31755e
[ "MIT" ]
null
null
null
main.py
ojsindher/Computer-Pointer-Controller-OPENVINO
7e6c286d0eb90005cc5fc881439f09776c31755e
[ "MIT" ]
null
null
null
main.py
ojsindher/Computer-Pointer-Controller-OPENVINO
7e6c286d0eb90005cc5fc881439f09776c31755e
[ "MIT" ]
null
null
null
import os import cv2 import time import numpy as np import pyautogui import matplotlib.pyplot as plt from input_feeder import InputFeeder from mouse_controller import MouseController from face_detection import Model_fd from gaze_estimation import Model_ge from facial_landmarks_detection import Model_fld from head_pose_...
47.368421
279
0.647778
df6859e42b7787e019db751ab64cf0c502a0c439
425
py
Python
forumsweats/commands/unmoot.py
duckiecousingaming/forum-sweats
6addf3159e59902a6905c25240bf54f8a7a00e76
[ "MIT" ]
10
2020-10-15T18:08:53.000Z
2021-12-11T13:15:05.000Z
forumsweats/commands/unmoot.py
duckiecousingaming/forum-sweats
6addf3159e59902a6905c25240bf54f8a7a00e76
[ "MIT" ]
59
2020-10-06T23:19:25.000Z
2022-03-06T14:16:31.000Z
forumsweats/commands/unmoot.py
duckiecousingaming/forum-sweats
6addf3159e59902a6905c25240bf54f8a7a00e76
[ "MIT" ]
13
2020-10-19T20:46:47.000Z
2022-03-05T20:17:40.000Z
from ..commandparser import Member from ..discordbot import unmoot_user import discord name = 'unmoot' channels = None roles = ('helper', 'trialhelper') args = '<member>'
20.238095
50
0.717647
df69316b0035a262181610684f3b3f628ccdb9dd
1,531
py
Python
datareduction/TestPCA_MNIST.py
andresmasegosa/PRML-CoreSets
fb768debb15e3ff6f5b65b7224915a41c1493f3d
[ "MIT" ]
null
null
null
datareduction/TestPCA_MNIST.py
andresmasegosa/PRML-CoreSets
fb768debb15e3ff6f5b65b7224915a41c1493f3d
[ "MIT" ]
null
null
null
datareduction/TestPCA_MNIST.py
andresmasegosa/PRML-CoreSets
fb768debb15e3ff6f5b65b7224915a41c1493f3d
[ "MIT" ]
null
null
null
import numpy as np import matplotlib.pyplot as plt from sklearn.cluster import KMeans from sklearn import datasets from datareduction.bayesian_pca_DR import BayesianPCA_DR from prml.feature_extractions import BayesianPCA, PCA from tensorflow.examples.tutorials.mnist import input_data mnist = input_data.read_data_sets...
27.339286
70
0.70934
df6968e55d2d2269a343f9563ee32b10b7d73c51
1,525
py
Python
research/adversarial_text/pretrain.py
hjkim-haga/TF-OD-API
22ac477ff4dfb93fe7a32c94b5f0b1e74330902b
[ "Apache-2.0" ]
1
2019-09-11T09:41:11.000Z
2019-09-11T09:41:11.000Z
research/adversarial_text/pretrain.py
hjkim-haga/TF-OD-API
22ac477ff4dfb93fe7a32c94b5f0b1e74330902b
[ "Apache-2.0" ]
null
null
null
research/adversarial_text/pretrain.py
hjkim-haga/TF-OD-API
22ac477ff4dfb93fe7a32c94b5f0b1e74330902b
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 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 ...
32.446809
81
0.699672
df6a3a82390987ac2500ff7fb4289e4ffe93a4b6
5,520
py
Python
Sketches/MPS/BugReports/FixTests/Kamaelia/Kamaelia/Apps/SA/Time.py
sparkslabs/kamaelia_orig
24b5f855a63421a1f7c6c7a35a7f4629ed955316
[ "Apache-2.0" ]
12
2015-10-20T10:22:01.000Z
2021-07-19T10:09:44.000Z
Sketches/MPS/BugReports/FixTests/Kamaelia/Kamaelia/Apps/SA/Time.py
sparkslabs/kamaelia_orig
24b5f855a63421a1f7c6c7a35a7f4629ed955316
[ "Apache-2.0" ]
2
2015-10-20T10:22:55.000Z
2017-02-13T11:05:25.000Z
Sketches/MPS/BugReports/FixTests/Kamaelia/Kamaelia/Apps/SA/Time.py
sparkslabs/kamaelia_orig
24b5f855a63421a1f7c6c7a35a7f4629ed955316
[ "Apache-2.0" ]
6
2015-03-09T12:51:59.000Z
2020-03-01T13:06:21.000Z
# -*- coding: utf-8 -*- # Copyright 2010 British Broadcasting Corporation and Kamaelia Contributors(1) # # (1) Kamaelia Contributors are listed in the AUTHORS file and at # http://www.kamaelia.org/AUTHORS - please extend this file, # not this notice. # # Licensed under the Apache License, Version 2.0 (the "Lice...
37.297297
104
0.655978
df6a3f97128cd0432d6dd7f8b604aa0b9b234860
4,180
py
Python
p3iv_utils_polyline/src/p3iv_utils_polyline/interpolated_polyline_segment.py
fzi-forschungszentrum-informatik/P3IV
51784e6dc03dcaa0ad58a5078475fa4daec774bd
[ "BSD-3-Clause" ]
4
2021-07-27T06:56:22.000Z
2022-03-22T11:21:30.000Z
p3iv_utils_polyline/src/p3iv_utils_polyline/interpolated_polyline_segment.py
fzi-forschungszentrum-informatik/P3IV
51784e6dc03dcaa0ad58a5078475fa4daec774bd
[ "BSD-3-Clause" ]
null
null
null
p3iv_utils_polyline/src/p3iv_utils_polyline/interpolated_polyline_segment.py
fzi-forschungszentrum-informatik/P3IV
51784e6dc03dcaa0ad58a5078475fa4daec774bd
[ "BSD-3-Clause" ]
1
2021-10-10T01:56:44.000Z
2021-10-10T01:56:44.000Z
# This file is part of the P3IV Simulator (https://github.com/fzi-forschungszentrum-informatik/P3IV), # copyright by FZI Forschungszentrum Informatik, licensed under the BSD-3 license (see LICENSE file in main directory) import numpy as np import warnings
30.735294
118
0.539952
df6adfda0b85c502e51e06f22cd6229fd0a3053b
118
py
Python
Others/paken/pakencamp-2020-day1/b/main.py
KATO-Hiro/AtCoder
cbbdb18e95110b604728a54aed83a6ed6b993fde
[ "CC0-1.0" ]
2
2020-06-12T09:54:23.000Z
2021-05-04T01:34:07.000Z
Others/paken/pakencamp-2020-day1/b/main.py
KATO-Hiro/AtCoder
cbbdb18e95110b604728a54aed83a6ed6b993fde
[ "CC0-1.0" ]
961
2020-06-23T07:26:22.000Z
2022-03-31T21:34:52.000Z
Others/paken/pakencamp-2020-day1/b/main.py
KATO-Hiro/AtCoder
cbbdb18e95110b604728a54aed83a6ed6b993fde
[ "CC0-1.0" ]
null
null
null
# -*- coding: utf-8 -*- if __name__ == "__main__": main()
10.727273
26
0.491525
df6ca557f603a97a74f408033965ff6cad9e9699
6,901
py
Python
python/build/lib/sts/sts.py
BrandoZhang/qcloud-cos-sts-sdk
84b5fdfaaba00ed7eb1c35146e693b22a07fc877
[ "MIT" ]
1
2019-07-09T09:35:44.000Z
2019-07-09T09:35:44.000Z
python/build/lib/sts/sts.py
BrandoZhang/qcloud-cos-sts-sdk
84b5fdfaaba00ed7eb1c35146e693b22a07fc877
[ "MIT" ]
null
null
null
python/build/lib/sts/sts.py
BrandoZhang/qcloud-cos-sts-sdk
84b5fdfaaba00ed7eb1c35146e693b22a07fc877
[ "MIT" ]
null
null
null
# -*- coding:utf-8 -*- import hashlib import hmac import time try: from urllib import quote # Python 2.X except ImportError: from urllib.parse import quote # Python 3+ from functools import reduce import json import base64 import requests import random
31.655963
118
0.555282
df6d0d07bf48436061a0838a663ce18440a66dc5
1,675
py
Python
python/earthquake.py
FranzSchubert92/cw
e59bab1f942f17a17bbf05a3c87733bae6ab1ebb
[ "BSD-3-Clause" ]
1
2017-09-07T21:14:40.000Z
2017-09-07T21:14:40.000Z
python/earthquake.py
FranzSchubert92/cw
e59bab1f942f17a17bbf05a3c87733bae6ab1ebb
[ "BSD-3-Clause" ]
null
null
null
python/earthquake.py
FranzSchubert92/cw
e59bab1f942f17a17bbf05a3c87733bae6ab1ebb
[ "BSD-3-Clause" ]
null
null
null
""" You have been employed by the Japanese government to write a function that tests whether or not a building is strong enough to withstand a simulated earthquake. A building will fall if the magnitude of the earthquake is greater than the strength of the building. An earthquake takes the form of a 2D-Array. Each ...
33.5
81
0.714627
df6d275991d90be0d5dbb0d47ae92a44046ed849
20,186
py
Python
src/texproject/command.py
alexrutar/texproject
ba7427ecfd7a9141bfce61ae30b2abc3ada69d2c
[ "MIT" ]
1
2020-07-05T04:13:42.000Z
2020-07-05T04:13:42.000Z
src/texproject/command.py
alexrutar/texproject
ba7427ecfd7a9141bfce61ae30b2abc3ada69d2c
[ "MIT" ]
null
null
null
src/texproject/command.py
alexrutar/texproject
ba7427ecfd7a9141bfce61ae30b2abc3ada69d2c
[ "MIT" ]
null
null
null
"""TODO: write docstring""" from __future__ import annotations from dataclasses import astuple from difflib import unified_diff from functools import update_wrapper from pathlib import Path import sys import tempfile from typing import TYPE_CHECKING import click from . import __version__, __repo__ from .base import ...
30.771341
98
0.648122
df6daf8c05e63066bef5079673fe8edf1351a1c1
580
py
Python
source/validate.py
asaranprasad/nvda
e9609694acbfb06398eb6552067a0dcd532d67af
[ "bzip2-1.0.6" ]
2
2020-08-24T17:41:45.000Z
2020-08-25T16:48:52.000Z
source/validate.py
asaranprasad/nvda
e9609694acbfb06398eb6552067a0dcd532d67af
[ "bzip2-1.0.6" ]
3
2017-09-29T17:14:18.000Z
2019-05-20T16:13:39.000Z
source/validate.py
asaranprasad/nvda
e9609694acbfb06398eb6552067a0dcd532d67af
[ "bzip2-1.0.6" ]
1
2017-09-29T08:53:52.000Z
2017-09-29T08:53:52.000Z
#validate.py #A part of NonVisual Desktop Access (NVDA) #Copyright (C) 2018 NV Access Limited, Babbage B.V., Joseph Lee #This file is covered by the GNU General Public License. #See the file COPYING for more details. """ Module to provide backwards compatibility with add-ons that use the configobj validate modu...
36.25
132
0.772414
df6e8b3f79e2738129a3ef4c27c729510c7d4429
5,237
py
Python
test/evaluate/tet_nlg_yongzhuo.py
leileixiao/Macropodus
9de38c06d332bd26e704fd4afd8f44678de7f44f
[ "MIT" ]
485
2019-12-31T16:53:28.000Z
2022-03-31T08:01:30.000Z
test/evaluate/tet_nlg_yongzhuo.py
xiankaigit/Macropodus
1d7b8f9938cb8b6d7744e9caabc3eb41c8891283
[ "MIT" ]
14
2020-03-07T04:17:47.000Z
2022-03-14T01:08:23.000Z
test/evaluate/tet_nlg_yongzhuo.py
xiankaigit/Macropodus
1d7b8f9938cb8b6d7744e9caabc3eb41c8891283
[ "MIT" ]
85
2020-01-16T05:03:07.000Z
2022-03-03T11:42:07.000Z
# !/usr/bin/python # -*- coding: utf-8 -*- # @time : 2020/5/14 21:42 # @author : Mo # @function: nlg-yongzhuo from macropodus.summarize.yongzhuo_nlg import * doc = """PageRank" \ "90! " \ " " \ " " \ " " \ ":PageRank " \ "GoogleA...
31.739394
257
0.709757
df6ec61de92486e850b6c18987f949b40c50bc09
1,240
py
Python
scripts/animate_life.py
acse-ogb119/MPI-Game-of-Life
b4658b46b5eccf8dd4f1d9e19d67dd1dbdff1f11
[ "MIT" ]
null
null
null
scripts/animate_life.py
acse-ogb119/MPI-Game-of-Life
b4658b46b5eccf8dd4f1d9e19d67dd1dbdff1f11
[ "MIT" ]
null
null
null
scripts/animate_life.py
acse-ogb119/MPI-Game-of-Life
b4658b46b5eccf8dd4f1d9e19d67dd1dbdff1f11
[ "MIT" ]
null
null
null
import glob from PIL import Image from functools import partial # read in metadata file entries to a list of lists print("Loading simulation metadata...") fname = "./outfiles/metadata.txt" file = open(fname, "r") metadata = [] for line in file: line = line.split() metadata.append(line) # parse metadata variab...
27.555556
80
0.640323
df6fb48dc611347e798fac2ea0a1f38ae6f5633f
2,363
py
Python
computation/turing_machine/rule.py
kigawas/computation-py
4e1dc356c03b845cae1218a244ad2f2ce2b10132
[ "MIT" ]
24
2016-04-16T09:10:15.000Z
2022-03-14T08:44:48.000Z
computation/turing_machine/rule.py
kigawas/computation-py
4e1dc356c03b845cae1218a244ad2f2ce2b10132
[ "MIT" ]
10
2020-11-29T13:01:09.000Z
2022-01-22T13:14:32.000Z
computation/turing_machine/rule.py
kigawas/computation-py
4e1dc356c03b845cae1218a244ad2f2ce2b10132
[ "MIT" ]
2
2019-09-21T15:07:41.000Z
2021-03-14T13:38:10.000Z
from dataclasses import dataclass from enum import Enum, auto from typing import List from ..exceptions import Unreachable from ..utils import detect from .tape import Tape, TMConfiguration
26.852273
78
0.677105
df70c9594d22d90dd33b9f0c85fed78d3076ccbf
659
py
Python
py/List.RandomiseDivide.py
mathematicalmichael/SpringNodes
3ff4034b6e57ee6efa55c963e1819f3d30a2c4ab
[ "MIT" ]
51
2015-09-25T09:30:57.000Z
2022-01-19T14:16:44.000Z
py/List.RandomiseDivide.py
sabeelcoder/SpringNodes
e21a24965474d54369e74d23c06f8c42a7b926b5
[ "MIT" ]
66
2015-09-30T02:43:32.000Z
2022-03-31T02:26:52.000Z
py/List.RandomiseDivide.py
sabeelcoder/SpringNodes
e21a24965474d54369e74d23c06f8c42a7b926b5
[ "MIT" ]
48
2015-11-19T01:34:47.000Z
2022-02-25T17:26:48.000Z
import System pf_path = System.Environment.GetFolderPath(System.Environment.SpecialFolder.ProgramFilesX86) import sys sys.path.append('%s\IronPython 2.7\Lib' %pf_path) import random l1, rat, seed = IN l1 = tolist(l1) r = random.Random() r.seed(seed) r.shuffle(l1) len1 = len(l1) OUT = [] if len(rat) < 2: rat.append(1....
21.966667
92
0.657056
df716ab6d3838acf70da937bdae974bac37958a0
380
py
Python
src/gui/menu/EditMenu.py
daavofficial/Aural
b4ef4170dcc27d87b2a08a9ae59383ea8099e024
[ "MIT" ]
null
null
null
src/gui/menu/EditMenu.py
daavofficial/Aural
b4ef4170dcc27d87b2a08a9ae59383ea8099e024
[ "MIT" ]
null
null
null
src/gui/menu/EditMenu.py
daavofficial/Aural
b4ef4170dcc27d87b2a08a9ae59383ea8099e024
[ "MIT" ]
null
null
null
import dearpygui.dearpygui as dpg from helpers.logger import Logger from gui.utils import SaveInit
31.666667
83
0.694737
df722af80887b0cf34a0cea5105db11e889fcaf7
9,621
py
Python
pipeline/dags/scripts/covid_pandas.py
jjjchens235/covid-compared
c917a3f25738d61d48ce92478c7ef4ef7511d0f9
[ "MIT" ]
4
2021-02-11T22:53:18.000Z
2021-06-11T19:42:34.000Z
pipeline/dags/scripts/covid_pandas.py
jjjchens235/covid-compared
c917a3f25738d61d48ce92478c7ef4ef7511d0f9
[ "MIT" ]
null
null
null
pipeline/dags/scripts/covid_pandas.py
jjjchens235/covid-compared
c917a3f25738d61d48ce92478c7ef4ef7511d0f9
[ "MIT" ]
1
2021-07-07T15:47:39.000Z
2021-07-07T15:47:39.000Z
""" Using pandas library, move data from John Hopkin's github repo to AWS S3 Data source: https://github.com/CSSEGISandData/COVID-19/tree/master/csse_covid_19_data/csse_covid_19_time_series """ import pandas as pd import numpy as np import re from random import randint import s3fs def main(aws_key, aws_secret, buc...
46.033493
206
0.640682
df7273956d579d51d9a921d58eafb733c6b73e6e
429
py
Python
home/migrations/0006_userdetail_image.py
sandipsandal/Just-A-Thought
97f97404b303deb2ea7bcc86d89b2b21b3715fba
[ "Apache-2.0" ]
null
null
null
home/migrations/0006_userdetail_image.py
sandipsandal/Just-A-Thought
97f97404b303deb2ea7bcc86d89b2b21b3715fba
[ "Apache-2.0" ]
null
null
null
home/migrations/0006_userdetail_image.py
sandipsandal/Just-A-Thought
97f97404b303deb2ea7bcc86d89b2b21b3715fba
[ "Apache-2.0" ]
null
null
null
# Generated by Django 3.0.9 on 2020-08-18 18:30 from django.db import migrations, models
22.578947
96
0.613054
df73052f4cad8a4635de60b8e9cbafbbb8b2051f
4,754
py
Python
homework3/run.py
IrohXu/NYU_Deep_Reinforcement_Learning
bb8025464b430687c7604e627eefb2908317cfa7
[ "MIT" ]
null
null
null
homework3/run.py
IrohXu/NYU_Deep_Reinforcement_Learning
bb8025464b430687c7604e627eefb2908317cfa7
[ "MIT" ]
null
null
null
homework3/run.py
IrohXu/NYU_Deep_Reinforcement_Learning
bb8025464b430687c7604e627eefb2908317cfa7
[ "MIT" ]
null
null
null
""" This file will run REINFORCE or PPO code with the input seed and environment. """ import gym import os import argparse import numpy as np import pandas as pd import matplotlib.pyplot as plt # Import ppo files from ppo.ppo import PPO from ppo.reinforce import REINFORCE from ppo.network import FeedForwardN...
37.433071
136
0.635044
df731c4155c626f7babe8aacd42d7cca8b9a0894
595
py
Python
cogs/utility/weather.py
austin1965/nuub_bot
08fce234730ce506273199ca9c5c2a5f6e8e925a
[ "MIT" ]
null
null
null
cogs/utility/weather.py
austin1965/nuub_bot
08fce234730ce506273199ca9c5c2a5f6e8e925a
[ "MIT" ]
null
null
null
cogs/utility/weather.py
austin1965/nuub_bot
08fce234730ce506273199ca9c5c2a5f6e8e925a
[ "MIT" ]
null
null
null
import discord from discord.ext import commands from helpers.getWeather import getWeather
24.791667
101
0.642017
df733b3b29c36cb38e6e15504e67471f0bd74c1d
1,584
py
Python
python/datapro/framework/util.py
jelloslinger/2015-mlb-hackathon
7c0933302e53ee4a869f01e685d629d981f82598
[ "MIT" ]
null
null
null
python/datapro/framework/util.py
jelloslinger/2015-mlb-hackathon
7c0933302e53ee4a869f01e685d629d981f82598
[ "MIT" ]
null
null
null
python/datapro/framework/util.py
jelloslinger/2015-mlb-hackathon
7c0933302e53ee4a869f01e685d629d981f82598
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from copy import deepcopy import pytz def dict_merge(master, merge): """Recursively merge dicts (originally found at https://www.xormedia.com/recursively-merge-dictionaries-in-python/) Args: master (dict): base dictionary merge (dict): dictionary with entries to ...
41.684211
170
0.654672
df740b38d28505e192ae196bb018bb75253e05d3
1,182
py
Python
src/backoffice/urls.py
pwelzel/bornhack-website
af794e6a2fba06e09626259c7768feb30ff394be
[ "BSD-3-Clause" ]
null
null
null
src/backoffice/urls.py
pwelzel/bornhack-website
af794e6a2fba06e09626259c7768feb30ff394be
[ "BSD-3-Clause" ]
null
null
null
src/backoffice/urls.py
pwelzel/bornhack-website
af794e6a2fba06e09626259c7768feb30ff394be
[ "BSD-3-Clause" ]
null
null
null
from django.urls import path, include from .views import * app_name = 'backoffice' urlpatterns = [ path('', BackofficeIndexView.as_view(), name='index'), path('product_handout/', ProductHandoutView.as_view(), name='product_handout'), path('badge_handout/', BadgeHandoutView.as_view(), name='badge_handout'...
49.25
104
0.72758
df74d470fa60b60b19d913e4eb8d744dd0a7925b
1,451
py
Python
dynamicProgramming/countOfSubsetsWithSumEqualToX.py
kushvr7/High-On-DSA
d424bd48e35ebd1a588d96c1c0dcb5a9c47a0ef1
[ "MIT" ]
76
2021-12-12T08:42:20.000Z
2022-03-31T19:48:46.000Z
dynamicProgramming/countOfSubsetsWithSumEqualToX.py
kushvr7/High-On-DSA
d424bd48e35ebd1a588d96c1c0dcb5a9c47a0ef1
[ "MIT" ]
4
2022-01-04T09:58:39.000Z
2022-03-30T17:00:39.000Z
dynamicProgramming/countOfSubsetsWithSumEqualToX.py
kushvr7/High-On-DSA
d424bd48e35ebd1a588d96c1c0dcb5a9c47a0ef1
[ "MIT" ]
13
2021-12-12T14:44:41.000Z
2022-03-10T14:08:20.000Z
print(Solution().countOfSubsetsWithSumEqualToX([1,0],1)) #2 print(Solution().countOfSubsetsWithSumEqualToX([1, 1 ,1 ,1 ], 1)) # 4 print(Solution().countOfSubsetsWithSumEqualToX([1, 2, 3, 3], 6)) # 3 print(Solution().countOfSubsetsWithSumEqualToX([4, 3, 2, 3, 5, 2, 1], 5)) # 7 print(Solution().countOfSubsetsWi...
25.45614
110
0.585803
df753d701a9c63bb526e1e2a53b201e6a617af51
334
py
Python
server/app/services/devices/views/__init__.py
goodfree/ActorCloud
e8db470830ea6f6f208ad43c2e56a2e8976bc468
[ "Apache-2.0" ]
173
2019-06-10T07:14:49.000Z
2022-03-31T08:42:36.000Z
server/app/services/devices/views/__init__.py
zlyz12345/ActorCloud
9c34b371c23464981323ef9865d9913bde1fe09c
[ "Apache-2.0" ]
27
2019-06-12T08:25:29.000Z
2022-02-26T11:37:15.000Z
server/app/services/devices/views/__init__.py
zlyz12345/ActorCloud
9c34b371c23464981323ef9865d9913bde1fe09c
[ "Apache-2.0" ]
67
2019-06-10T08:40:05.000Z
2022-03-09T03:43:56.000Z
from flask import Blueprint bp = Blueprint('devices', __name__) from . import emqx # noqa: E402 from . import devices # noqa: E402 from . import select_options # noqa: E402 from . import groups # noqa: E402 from . import security # noqa: E402 __all__ = [ 'bp', 'emqx', 'devices', 'groups', 'security', 'sele...
20.875
67
0.679641
df762fc47e8e0a8f06d11c71436c63aab26e2183
398
py
Python
api/app.py
singhprincejeet/in_poster
1b0e18631ebede94e679eb0aba6c8e7630a02aba
[ "MIT" ]
null
null
null
api/app.py
singhprincejeet/in_poster
1b0e18631ebede94e679eb0aba6c8e7630a02aba
[ "MIT" ]
4
2021-04-30T21:09:19.000Z
2022-03-12T00:19:12.000Z
api/app.py
singhprincejeet/in_poster
1b0e18631ebede94e679eb0aba6c8e7630a02aba
[ "MIT" ]
null
null
null
from flask import Flask, request, send_file from main_controller import MainController app = Flask(__name__) if __name__ == '__main__': app.run(host='0.0.0.0')
23.411765
57
0.673367
df7ebc0c91b4ff97fcdcda3f164a6e33050dcd41
656
py
Python
python/hps.py
TenType/competition
1715c79c88992e4603b327f962f44eb5bffcb801
[ "MIT" ]
1
2022-02-05T02:11:37.000Z
2022-02-05T02:11:37.000Z
python/hps.py
TenType/competition
1715c79c88992e4603b327f962f44eb5bffcb801
[ "MIT" ]
null
null
null
python/hps.py
TenType/competition
1715c79c88992e4603b327f962f44eb5bffcb801
[ "MIT" ]
null
null
null
n = int(input()) cow1 = [] cow2 = [] combinations = [[1, 2, 3], [1, 3, 2], [2, 1, 3], [2, 3, 1], [3, 1, 2], [3, 2, 1]] results = [] for i in range(0, n): temp1, temp2 = map(int, input().split()) cow1.append(temp1) cow2.append(temp2) # print(cow1) # print(cow2) for j in range(0, 6): result = 0 for k in range(0, n)...
24.296296
101
0.585366
df7f6e381001b44fc6f3924b2ba0c8c7b78631c0
22,348
py
Python
registerwithkeyframes.py
susu1210/3d_object_reconstruction
e8e9674f728a21c66b9766f5367850d1a65c84c2
[ "MIT" ]
2
2021-07-17T02:52:09.000Z
2021-08-31T06:39:29.000Z
registerwithkeyframes.py
susu1210/3d_object_reconstruction
e8e9674f728a21c66b9766f5367850d1a65c84c2
[ "MIT" ]
null
null
null
registerwithkeyframes.py
susu1210/3d_object_reconstruction
e8e9674f728a21c66b9766f5367850d1a65c84c2
[ "MIT" ]
null
null
null
""" registerSegments.py --------------- Main Function for registering (aligning) colored point clouds with ICP/feature matching as well as pose graph optimizating """ # import png from PIL import Image import csv import open3d as o3d import pymeshlab import numpy as np import cv2 import os import glob from utils.ply...
39.553982
143
0.629363
df7fa36afb82dd6a775f3e50e8df92a47b653553
236
py
Python
googlesearchpy/utils.py
meads2/googlesearch
63e6a5afd7f7956a78de5b1543489acbd5de428a
[ "MIT" ]
null
null
null
googlesearchpy/utils.py
meads2/googlesearch
63e6a5afd7f7956a78de5b1543489acbd5de428a
[ "MIT" ]
null
null
null
googlesearchpy/utils.py
meads2/googlesearch
63e6a5afd7f7956a78de5b1543489acbd5de428a
[ "MIT" ]
null
null
null
import pandas from uuid import uuid4 import requests import boto3 def download_file(file_url): ''' ''' pass def upload_file(file, dest): ''' ''' pass def create_file_name(filename): ''' ''' pass
10.727273
31
0.597458
df814f4feae1e5440a9d12c36e4d1e7468d17310
874
py
Python
simple_saga_task_manager/__init__.py
jeremynowell/django-simple-saga-task-manager
7fe0e7773cca2550ee3a954de8e3f7c11eda65a1
[ "Apache-2.0" ]
null
null
null
simple_saga_task_manager/__init__.py
jeremynowell/django-simple-saga-task-manager
7fe0e7773cca2550ee3a954de8e3f7c11eda65a1
[ "Apache-2.0" ]
null
null
null
simple_saga_task_manager/__init__.py
jeremynowell/django-simple-saga-task-manager
7fe0e7773cca2550ee3a954de8e3f7c11eda65a1
[ "Apache-2.0" ]
null
null
null
import sys def inject_default_settings(name): ''' Inject application default settings into config if not already defined. ''' try: __import__('%s.settings' % name) # Import this app defaults app_settings = sys.modules['%s.settings' % name] default_settings = sys.mod...
28.193548
70
0.598398
df820b00fafa8e7fb9f86f007a0a19a6003fd3fb
803
py
Python
advent-of-code/2021/day-15-part-1.py
scorphus/sparring
6e53d81f2db39df58561a7fd941d73090712ba52
[ "MIT" ]
2
2017-01-06T15:32:50.000Z
2020-04-16T20:56:02.000Z
advent-of-code/2021/day-15-part-1.py
scorphus/sparring
6e53d81f2db39df58561a7fd941d73090712ba52
[ "MIT" ]
null
null
null
advent-of-code/2021/day-15-part-1.py
scorphus/sparring
6e53d81f2db39df58561a7fd941d73090712ba52
[ "MIT" ]
null
null
null
import heapq with open("day-15.txt") as f: lines = [line for line in f.read().rstrip().splitlines()] graph = {} for i, row in enumerate(lines): for j, n in enumerate(row): graph[i, j] = int(n) DELTAS = ( (0, 1), (1, 0), (-1, 0), (0, -1), ) size = len(lines) end = size - 1, size - 1...
21.702703
69
0.506849
df8350f47114b38736a30f3514c9d0957c34d333
48
py
Python
bc/utils/__init__.py
rjgpinel/rlbc
55a7499e4ad10182d9a84ce3c2494231db6fd3b5
[ "MIT" ]
43
2019-10-16T02:56:13.000Z
2022-01-25T02:04:51.000Z
bc/utils/__init__.py
rjgpinel/rlbc
55a7499e4ad10182d9a84ce3c2494231db6fd3b5
[ "MIT" ]
6
2019-10-16T03:44:24.000Z
2021-06-19T21:59:09.000Z
bc/utils/__init__.py
rjgpinel/rlbc
55a7499e4ad10182d9a84ce3c2494231db6fd3b5
[ "MIT" ]
11
2020-03-23T01:47:46.000Z
2021-11-25T07:43:25.000Z
from .report import Report from . import videos
16
26
0.791667
df84a7a243315f70e25d11411c0e01399e194143
8,223
py
Python
tests/shakedown/shakedown/dcos/cluster.py
ryanmaclean/marathon
cc35af421675205b797b31890e88b5fa4d178a02
[ "Apache-2.0" ]
null
null
null
tests/shakedown/shakedown/dcos/cluster.py
ryanmaclean/marathon
cc35af421675205b797b31890e88b5fa4d178a02
[ "Apache-2.0" ]
1
2021-12-17T10:43:40.000Z
2021-12-17T10:43:40.000Z
tests/shakedown/shakedown/dcos/cluster.py
ryanmaclean/marathon
cc35af421675205b797b31890e88b5fa4d178a02
[ "Apache-2.0" ]
null
null
null
import logging import pytest from . import dcos_version from .. import http, VERSION as SHAKEDOWN_VERSION from ..clients import dcos_url_path from ..clients.mesos import DCOSClient from distutils.version import LooseVersion logger = logging.getLogger(__name__) dcos_1_12 = pytest.mark.skipif('dcos_version_less_than(...
28.852632
86
0.665329
df84b813e3c65c88ad94c8eed596c5b13b13d18b
567
py
Python
gesture_digit_prediction_app/hello/models.py
qiulongquan/DS_Research
864181b458e5af6f22b471d1598b7d96b3efc757
[ "Apache-2.0" ]
1
2020-11-08T07:26:22.000Z
2020-11-08T07:26:22.000Z
gesture_digit_prediction_app/hello/models.py
qiulongquan/DS_Research
864181b458e5af6f22b471d1598b7d96b3efc757
[ "Apache-2.0" ]
null
null
null
gesture_digit_prediction_app/hello/models.py
qiulongquan/DS_Research
864181b458e5af6f22b471d1598b7d96b3efc757
[ "Apache-2.0" ]
null
null
null
from django.db import models
20.25
47
0.68254
df84f594b338b4f46fb674c3da1a1636f8537245
766
py
Python
src/img_util.py
naem1023/comic-crawler
24daaea231122e5049af44153eb320f76deffde2
[ "MIT" ]
null
null
null
src/img_util.py
naem1023/comic-crawler
24daaea231122e5049af44153eb320f76deffde2
[ "MIT" ]
4
2020-06-06T00:12:42.000Z
2022-03-12T00:32:10.000Z
src/img_util.py
naem1023/comic-crawler
24daaea231122e5049af44153eb320f76deffde2
[ "MIT" ]
null
null
null
def delete_navi_bar(driver): """Delete navigation of page for capturing clear image. """ js_string = """ function f() { var x = document.getElementsByClassName("manga-bottom-navi"); for(var i = x.length - 1; i >= 0; i--) { x[i].parentNode.removeChild(x[i]); } } f(); ...
24.709677
64
0.574413
df85135a7ca551c37959030d0ede868200ce2534
1,621
py
Python
mycleanup.py
azam-a/newdeployments
eb23fa35f2c200b9726760e70a36e95ba277478f
[ "MIT" ]
null
null
null
mycleanup.py
azam-a/newdeployments
eb23fa35f2c200b9726760e70a36e95ba277478f
[ "MIT" ]
null
null
null
mycleanup.py
azam-a/newdeployments
eb23fa35f2c200b9726760e70a36e95ba277478f
[ "MIT" ]
null
null
null
import re from mydeploy import ( get_file_objects, S3Util, ) from environment_config import ( AWS_CONFIG_PATH, AWS_PROFILE, CSS_BUCKET, IMAGE_BUCKET, JS_BUCKET, CSS_PREFIX, IMAGE_PREFIX, JS_PREFIX, XML_PATH ) if __name__ == '__main__': cleanup_main()
25.730159
75
0.587909
df867ad23e683b9a9e6885db5e7d9658c76ccb74
4,276
py
Python
menu.py
ateesdalejr/gseepy
696b415b1eba9cf1e44ec3b84aff5fcabd12e26e
[ "MIT" ]
null
null
null
menu.py
ateesdalejr/gseepy
696b415b1eba9cf1e44ec3b84aff5fcabd12e26e
[ "MIT" ]
null
null
null
menu.py
ateesdalejr/gseepy
696b415b1eba9cf1e44ec3b84aff5fcabd12e26e
[ "MIT" ]
null
null
null
import sys def run_tests(): """ Runs tests on the MenuParser class. """ p = Parser(b"0About prices\tPrices/aboutus\tserver.example.com\t70\r\n".decode("ascii")) print(p._parse_dir()) if __name__ == "__main__": run_tests()
30.326241
93
0.520814
df86d5c6b4b089e29b6cb8ffc873290fe6e91206
184
py
Python
script/idp_testdrv.py
skanct/pysaml2
0c1e26a6dd8759962857a30ebd67f63fe9e881ee
[ "Apache-2.0" ]
249
2018-03-01T09:47:04.000Z
2022-03-26T04:51:26.000Z
desktop/core/ext-py/pysaml2-4.4.0/script/idp_testdrv.py
zks888/hue
93a8c370713e70b216c428caa2f75185ef809deb
[ "Apache-2.0" ]
416
2018-02-21T15:18:35.000Z
2022-03-04T16:59:36.000Z
desktop/core/ext-py/pysaml2-4.4.0/script/idp_testdrv.py
zks888/hue
93a8c370713e70b216c428caa2f75185ef809deb
[ "Apache-2.0" ]
203
2018-02-21T13:53:12.000Z
2022-03-08T22:22:17.000Z
#!/usr/bin/env python __author__ = 'rohe0002' #from idp_test import saml2base from idp_test import SAML2client from idp_test.check import factory cli = SAML2client(factory) cli.run()
20.444444
34
0.793478
df89b374617f742546d6eb7e0fd0ae663bedfddc
5,265
py
Python
06-learning-to-classify-text/util/data_util.py
SolangeUG/nltk-book
05051325a64836ae5c89d18f3c2145e9a6c4f0ae
[ "Apache-2.0" ]
2
2018-08-05T15:50:12.000Z
2019-01-24T05:52:02.000Z
06-learning-to-classify-text/util/data_util.py
SolangeUG/nltk-book
05051325a64836ae5c89d18f3c2145e9a6c4f0ae
[ "Apache-2.0" ]
null
null
null
06-learning-to-classify-text/util/data_util.py
SolangeUG/nltk-book
05051325a64836ae5c89d18f3c2145e9a6c4f0ae
[ "Apache-2.0" ]
null
null
null
import os import gzip import json import numpy import urllib.request from nltk.sentiment.util import mark_negation from nltk.corpus import stopwords, opinion_lexicon from nltk.tokenize import sent_tokenize, word_tokenize def download_data(dataset_name, directory_name): """ Download a given dataset name into a...
38.430657
100
0.677113
df8a5491c4a53b67677666f587efabbb177459a7
12,698
py
Python
mdrparser.py
tringcooler/MODRON
c0cac79d1d008ffc51d9caf44f1cd299ca586682
[ "MIT" ]
null
null
null
mdrparser.py
tringcooler/MODRON
c0cac79d1d008ffc51d9caf44f1cd299ca586682
[ "MIT" ]
null
null
null
mdrparser.py
tringcooler/MODRON
c0cac79d1d008ffc51d9caf44f1cd299ca586682
[ "MIT" ]
null
null
null
#! python3 # coding: utf-8 KLX_CMT = '#' KLX_NL = '\n' KW_LBL = ':' KW_SPL = '/' KW_BR1 = '(' KW_BR2 = ')' PRMTCH = lambda s, d: len(s) >= len(d) and s[:len(d)] == d def rerr(self, e): raise err_syntax(f'(ln:{self.pos[0]} col:{self.pos[1]}) {e}') def stgo(self, st): ost = self.stat ...
26.509395
77
0.448968
df8a61948b20fa7f74303bd764e0bddf4135648b
1,373
py
Python
965.univalued-binary-tree.py
windard/leeeeee
0107a5f95746592ca4fe78d2b5875cf65b1910e7
[ "MIT" ]
null
null
null
965.univalued-binary-tree.py
windard/leeeeee
0107a5f95746592ca4fe78d2b5875cf65b1910e7
[ "MIT" ]
null
null
null
965.univalued-binary-tree.py
windard/leeeeee
0107a5f95746592ca4fe78d2b5875cf65b1910e7
[ "MIT" ]
null
null
null
# coding=utf-8 # # @lc app=leetcode id=965 lang=python # # [965] Univalued Binary Tree # # https://leetcode.com/problems/univalued-binary-tree/description/ # # algorithms # Easy (66.96%) # Likes: 222 # Dislikes: 36 # Total Accepted: 43.7K # Total Submissions: 65.3K # Testcase Example: '[1,1,1,1,1,null,1]' # # A ...
18.306667
85
0.595047
df8a6798247986c50a85f8670d6092c7023d686b
4,501
py
Python
application/pca.py
AdamuKaapan/natrium
b94527b287ec2c626be2fe37208bb043aab68b48
[ "BSD-2-Clause" ]
null
null
null
application/pca.py
AdamuKaapan/natrium
b94527b287ec2c626be2fe37208bb043aab68b48
[ "BSD-2-Clause" ]
13
2018-04-03T20:34:17.000Z
2018-04-20T08:33:50.000Z
application/pca.py
AdamuKaapan/natrium
b94527b287ec2c626be2fe37208bb043aab68b48
[ "BSD-2-Clause" ]
null
null
null
#! /usr/bin/env python3 """ Standalone script for evaluating a dataset. Calculates measures of label quality and tries to spot outliers. Usage: python3 investigate.py <filename>""" import argparse import pandas as pd import numpy as np import math import matplotlib import matplotlib.pyplot as plt from mpl_toolkit...
31.041379
120
0.614974
df8ace422d0773f016abe3a66ba963ff2a2e4e02
1,571
py
Python
src/metrics/patterns.py
dapaulid/life
365e717f4080b1a1439767d5119dfca0a15d194b
[ "MIT" ]
null
null
null
src/metrics/patterns.py
dapaulid/life
365e717f4080b1a1439767d5119dfca0a15d194b
[ "MIT" ]
null
null
null
src/metrics/patterns.py
dapaulid/life
365e717f4080b1a1439767d5119dfca0a15d194b
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- #------------------------------------------------------------------------------- """ @license Copyright (c) Daniel Pauli <dapaulid@gmail.com> This source code is licensed under the MIT license found in the LICENSE file in the root directory of this source tree. """ #------------...
29.641509
80
0.299173
df8adf88d2253216c359a48351327728bebbd134
4,241
py
Python
seq2annotation/trainer/cli_keras_with_static_constraint.py
shfshf/seq2annotation
d4bf88a869631b43fa2974c2ffa1c5dd6a7623ed
[ "Apache-2.0" ]
90
2018-11-29T07:05:16.000Z
2021-11-22T11:32:58.000Z
seq2annotation/trainer/cli_keras_with_static_constraint.py
shfshf/seq2annotation
d4bf88a869631b43fa2974c2ffa1c5dd6a7623ed
[ "Apache-2.0" ]
50
2019-06-27T07:11:18.000Z
2022-02-10T00:01:02.000Z
seq2annotation/trainer/cli_keras_with_static_constraint.py
lanSeFangZhou/seq2annotation
a824520d46f0b3d70268fae422976a5ce1b3f4ce
[ "Apache-2.0" ]
23
2019-01-03T14:57:15.000Z
2022-03-08T07:50:33.000Z
import json import os from collections import Counter import numpy as np import tensorflow as tf from tensorflow.python.keras import models from tensorflow.python.keras.layers import Embedding, Bidirectional, LSTM from tensorflow.python.keras.models import Sequential from tensorflow.python.keras import layers from io...
32.875969
90
0.741335
df8ded00dd28c0e6b3a11975940107dae04c01d4
100,345
py
Python
apfell_api_wrapper/apfell_cli.py
Dviros/Apfell
c9089afb208bff310a8e6d8389cbccd6ae633f87
[ "BSD-3-Clause" ]
null
null
null
apfell_api_wrapper/apfell_cli.py
Dviros/Apfell
c9089afb208bff310a8e6d8389cbccd6ae633f87
[ "BSD-3-Clause" ]
null
null
null
apfell_api_wrapper/apfell_cli.py
Dviros/Apfell
c9089afb208bff310a8e6d8389cbccd6ae633f87
[ "BSD-3-Clause" ]
null
null
null
import aiohttp import asyncio import json from typing import Dict, List, Union class APIToken: def __init__(self, token_type: str = None, token_value: str = None, creation_time: str = None, active: bool = None, id: int = None, ...
36.383249
186
0.587722
df8ecfcf14d1349c62ad20d2cef2d653f9568c1a
1,932
py
Python
source_code/scree_plot.py
sdyinzhen/AutoBEL
213011ef8c6d2bcc16ac92a263e615f4a7033ff4
[ "MIT" ]
8
2020-05-15T13:57:54.000Z
2022-02-23T23:21:15.000Z
source_code/scree_plot.py
sdyinzhen/AutoBEL
213011ef8c6d2bcc16ac92a263e615f4a7033ff4
[ "MIT" ]
1
2020-02-28T13:42:45.000Z
2020-03-02T19:12:22.000Z
source_code/scree_plot.py
sdyinzhen/AutoBEL
213011ef8c6d2bcc16ac92a263e615f4a7033ff4
[ "MIT" ]
7
2019-10-24T09:57:25.000Z
2022-02-23T23:20:50.000Z
#Author: David Zhen Yin #Contact: yinzhen@stanford.edu #Date: September 11, 2018 import numpy as np import matplotlib.pyplot as plt def scree_plot(input_data, data_name, keep_info_prcnt, plotORnot): '''This is the PCA scree plot function, This function also report the number of PCs that preserves the assig...
55.2
128
0.669772
df8f7ab90da5fa178b8ded136f6a227273e014cb
2,281
py
Python
neoman/yubicommon/qt/__init__.py
Yubico/yubikey-neo-manager-dpkg
e671c43020ec0c614bc140bfaf9b185d22a8a5d7
[ "BSD-2-Clause" ]
5
2015-05-14T16:26:26.000Z
2021-11-16T21:26:38.000Z
neoman/yubicommon/qt/__init__.py
DalavanCloud/yubikey-neo-manager-dpkg
e671c43020ec0c614bc140bfaf9b185d22a8a5d7
[ "BSD-2-Clause" ]
2
2015-01-30T10:30:41.000Z
2015-04-16T09:31:38.000Z
neoman/yubicommon/qt/__init__.py
DalavanCloud/yubikey-neo-manager-dpkg
e671c43020ec0c614bc140bfaf9b185d22a8a5d7
[ "BSD-2-Clause" ]
4
2015-05-14T16:26:30.000Z
2021-11-16T21:26:28.000Z
# Copyright (c) 2013 Yubico AB # All rights reserved. # # Redistribution and use in source and binary forms, with or # without modification, are permitted provided that the following # conditions are met: # # 1. Redistributions of source code must retain the above copyright # notice, this list of conditi...
38.661017
76
0.73345
df905bc351d7f12704a926c3971aa0f08d744fbd
286
py
Python
p7.py
rammyaiyer55/Introduction-into-Python
6c9220de4dc30e406bf76f637ad3a4818cead9f1
[ "MIT" ]
null
null
null
p7.py
rammyaiyer55/Introduction-into-Python
6c9220de4dc30e406bf76f637ad3a4818cead9f1
[ "MIT" ]
null
null
null
p7.py
rammyaiyer55/Introduction-into-Python
6c9220de4dc30e406bf76f637ad3a4818cead9f1
[ "MIT" ]
null
null
null
t=int(input("Enter the number of test cases:")) temp='' msg=input("Enter your message:") print(len(msg)) ss=list(msg) if ss%2==0: for i in range(len(ss)): if i%2==0: temp+=ss[i].upper() else: temp+=ss[i].lower() else: for i in range(len(ss)): if print(temp)
19.066667
48
0.587413
df911bbf31e9124090bd4e868dde32db29f1bbb5
2,395
py
Python
examples/e3_sensitivity_analysis_example.py
RWTH-EBC/AixCaliBuHA
2f01035d3c966b465dedf9243674fbb3b35ac7f0
[ "MIT" ]
2
2021-09-01T07:25:28.000Z
2021-09-16T16:47:45.000Z
examples/e3_sensitivity_analysis_example.py
RWTH-EBC/AixCaliBuHA
2f01035d3c966b465dedf9243674fbb3b35ac7f0
[ "MIT" ]
19
2021-09-06T14:36:44.000Z
2022-03-30T06:20:42.000Z
examples/e3_sensitivity_analysis_example.py
RWTH-EBC/AixCaliBuHA
2f01035d3c966b465dedf9243674fbb3b35ac7f0
[ "MIT" ]
null
null
null
""" Example file for the senstivity_analyzer package. The usage of modules and classes inside the senanalyzer package should be clear when looking at the examples. If not, please raise an issue. Goals of this part of the examples: 1. Learn how to execute a sensitivity analysis 2. Learn how to automatically select sens...
38.015873
89
0.699791
df91d1ada3f3d05c025daba9488ddff7b71f714b
1,985
py
Python
setup.py
seek-ai/esengine
5e17c5fa9b6990963e3e61e6010ce7c177c9b2c5
[ "MIT" ]
53
2017-04-29T16:39:13.000Z
2022-01-25T23:46:31.000Z
setup.py
seek-ai/esengine
5e17c5fa9b6990963e3e61e6010ce7c177c9b2c5
[ "MIT" ]
9
2017-11-22T18:22:17.000Z
2020-06-05T19:26:07.000Z
setup.py
seek-ai/esengine
5e17c5fa9b6990963e3e61e6010ce7c177c9b2c5
[ "MIT" ]
13
2017-10-27T13:44:04.000Z
2021-02-28T12:33:04.000Z
# coding: utf-8 import os import re try: from setuptools import setup, find_packages except ImportError: from distutils.core import setup, find_packages try: import pypandoc long_description = pypandoc.convert('README.md', 'rst') except (IOError, ImportError): long_description = "Elasticsearch ODM...
26.824324
66
0.617632
df91f102ccd7ef11d324316885afcaaad8f975b0
9,350
py
Python
oss-compliance/check-oss-licenses.py
rickibm/daml
679d42a21bce320e11ccbba77fbb8d29a2b38db9
[ "Apache-2.0" ]
null
null
null
oss-compliance/check-oss-licenses.py
rickibm/daml
679d42a21bce320e11ccbba77fbb8d29a2b38db9
[ "Apache-2.0" ]
null
null
null
oss-compliance/check-oss-licenses.py
rickibm/daml
679d42a21bce320e11ccbba77fbb8d29a2b38db9
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env runpipenv # Copyright (c) 2019 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved. # SPDX-License-Identifier: Apache-2.0 import os import xml.etree.ElementTree as ET import sys import csv import re import argparse import os.path NO_LICENSE = 'No license information available' ...
40.652174
135
0.673904