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
c17cf7c6c8d62937b059636d643d69a97534ccb1
2,111
py
Python
backend/proxy/api.py
LukasPietzschmann/FitnessApp
d47858aff9b5a70d7664c29c766d06c6cccb6b09
[ "MIT" ]
null
null
null
backend/proxy/api.py
LukasPietzschmann/FitnessApp
d47858aff9b5a70d7664c29c766d06c6cccb6b09
[ "MIT" ]
null
null
null
backend/proxy/api.py
LukasPietzschmann/FitnessApp
d47858aff9b5a70d7664c29c766d06c6cccb6b09
[ "MIT" ]
null
null
null
''' Authors: Lukas Pietzschmann, Johannes Schenker, Vincent Ugrai ''' # FIXME Behebe mglichen fehler mit Flask: # https://github.com/flask-restful/flask-restful/pull/913 # import flask.scaffold # flask.helpers._endpoint_from_view_func = flask.scaffold._endpoint_from_view_funcfrom flask import Flask, request, make_resp...
37.035088
129
0.730459
c17d78b310f5a4a664ac432ca977fbcf3adff1f9
603
py
Python
ambientlight/__main__.py
ArnauP/responsive-ambientlight
eafecd96ee0463216751009dc989170a8363305f
[ "MIT" ]
null
null
null
ambientlight/__main__.py
ArnauP/responsive-ambientlight
eafecd96ee0463216751009dc989170a8363305f
[ "MIT" ]
null
null
null
ambientlight/__main__.py
ArnauP/responsive-ambientlight
eafecd96ee0463216751009dc989170a8363305f
[ "MIT" ]
null
null
null
from PyQt5.QtWidgets import QApplication from PyQt5.QtGui import QIcon, QFont from .controllers.simulation_controller import SimulationController from .controllers.main_controller import MainController from .utils import utils if __name__ == "__main__": main()
27.409091
89
0.752902
c17e0a87a57b4075606e8458be33331f6c80204c
1,950
py
Python
autobot/config_loader.py
fotini-pan/autobot
7b0f01d7448300e1c2283ffc8973b65099948183
[ "MIT" ]
null
null
null
autobot/config_loader.py
fotini-pan/autobot
7b0f01d7448300e1c2283ffc8973b65099948183
[ "MIT" ]
5
2019-07-19T07:08:04.000Z
2019-08-14T06:50:19.000Z
autobot/config_loader.py
fotini-pan/autobot
7b0f01d7448300e1c2283ffc8973b65099948183
[ "MIT" ]
2
2019-07-23T08:11:19.000Z
2019-07-23T09:30:29.000Z
# -*- coding: utf-8 -*- # # This file is part of Invenio. # Copyright (C) 2015-2019 CERN. # # Invenio is free software; you can redistribute it and/or modify it # under the terms of the MIT License; see LICENSE file for more details. """Performs project's configuration loading.""" import os from configparser import C...
29.104478
88
0.638974
c17ed9f679f4b53b4fd797d7dc673aecce1a3af1
1,164
py
Python
jupyter_notebooks/3_Controls/2_IntroductionToVehicleControl/plotting.py
miker2/FCND-udacity
35d8248b3bb17a04279b65b332f0623b870427a9
[ "MIT" ]
1
2021-12-14T09:34:36.000Z
2021-12-14T09:34:36.000Z
jupyter_notebooks/3_Controls/2_IntroductionToVehicleControl/plotting.py
miker2/FCND-udacity
35d8248b3bb17a04279b65b332f0623b870427a9
[ "MIT" ]
null
null
null
jupyter_notebooks/3_Controls/2_IntroductionToVehicleControl/plotting.py
miker2/FCND-udacity
35d8248b3bb17a04279b65b332f0623b870427a9
[ "MIT" ]
1
2018-10-26T04:06:23.000Z
2018-10-26T04:06:23.000Z
from matplotlib import pyplot as plt
33.257143
74
0.626289
c1822c51f7cba2b85e6570229aa263ca2401f9e6
555
py
Python
torchrs/datasets/whu_rs19.py
isaaccorley/torchrs
bb27a29e344741f8dda504ac296af6d03a20e7df
[ "MIT" ]
146
2021-07-23T03:56:22.000Z
2022-03-21T03:25:54.000Z
torchrs/datasets/whu_rs19.py
isaaccorley/torchrs
bb27a29e344741f8dda504ac296af6d03a20e7df
[ "MIT" ]
6
2021-07-26T13:18:59.000Z
2022-03-14T11:05:26.000Z
torchrs/datasets/whu_rs19.py
isaaccorley/torchrs
bb27a29e344741f8dda504ac296af6d03a20e7df
[ "MIT" ]
21
2021-07-27T06:14:58.000Z
2022-02-17T01:57:27.000Z
import torchvision.transforms as T from torchvision.datasets import ImageFolder
29.210526
108
0.657658
c18236f0339d9584977a7a7bdbc40860c18a4426
2,169
py
Python
dev/example/eg_plotly_set_init_range.py
StefanHeng/test_ECG-Signal-Viewer
4fc1849aa5d8ff9bf18d3662bc405d7f20663b64
[ "MIT" ]
null
null
null
dev/example/eg_plotly_set_init_range.py
StefanHeng/test_ECG-Signal-Viewer
4fc1849aa5d8ff9bf18d3662bc405d7f20663b64
[ "MIT" ]
null
null
null
dev/example/eg_plotly_set_init_range.py
StefanHeng/test_ECG-Signal-Viewer
4fc1849aa5d8ff9bf18d3662bc405d7f20663b64
[ "MIT" ]
null
null
null
import numpy as np import pandas as pd import plotly.graph_objs as go # import plotly.plotly as py dates = pd.date_range('01-Jan-2010', pd.datetime.now().date(), freq='D') df = pd.DataFrame(100 + np.random.randn(dates.size).cumsum(), dates, columns=['AAPL']) trace = go.Scatter(x=df.index, y=df.AAPL) data = [trace] l...
28.168831
86
0.42923
c182773eb6111dd9810c185055f3d7d4a1b7f4eb
2,793
py
Python
example/servers/example.py
remy/next-http
61c4d3139178f375e61d703671c1a7533725b8c2
[ "MIT" ]
14
2021-04-09T18:45:38.000Z
2022-02-27T15:58:52.000Z
example/servers/example.py
remy/next-http
61c4d3139178f375e61d703671c1a7533725b8c2
[ "MIT" ]
2
2021-05-19T18:44:15.000Z
2022-02-27T16:37:09.000Z
example/servers/example.py
remy/next-httpbank
61c4d3139178f375e61d703671c1a7533725b8c2
[ "MIT" ]
3
2021-04-11T23:56:32.000Z
2022-02-27T15:49:17.000Z
# Python 3 server example from http.server import BaseHTTPRequestHandler, HTTPServer import sys import os.path import socket import base64 hostName = socket.gethostbyname(socket.gethostname()) serverPort = 8080 reply = b"\x12\01Hi there - from the Python server!\x12\x00\x80" if __name__ == "__main__": webSer...
29.4
126
0.446115
c184b59a4d7c701ab5051885c9d01ad5ca81b129
7,717
py
Python
tests/conftest.py
ranhorev/pysmartthings
23e3c360cbcaf460258b779a268d0d07f12ad279
[ "Apache-2.0" ]
null
null
null
tests/conftest.py
ranhorev/pysmartthings
23e3c360cbcaf460258b779a268d0d07f12ad279
[ "Apache-2.0" ]
null
null
null
tests/conftest.py
ranhorev/pysmartthings
23e3c360cbcaf460258b779a268d0d07f12ad279
[ "Apache-2.0" ]
null
null
null
"""Define test configuration.""" import glob import re import pytest from pysmartthings.api import ( API_APP, API_APP_OAUTH, API_APP_OAUTH_GENERATE, API_APP_SETTINGS, API_APPS, API_BASE, API_DEVICE, API_DEVICE_COMMAND, API_DEVICE_HEALTH, API_DEVICE_STATUS, ...
33.406926
88
0.674096
c1863719bbd3bcab05d84843ec033e9c24171023
11,440
py
Python
src/preprocessing.py
fpaskali/trus-segmentation
2ba3cc26e1f420997db4d1887ecc4c1f7c041e46
[ "MIT" ]
3
2021-07-13T20:41:27.000Z
2021-09-23T03:07:57.000Z
src/preprocessing.py
fpaskali/trus-segmentation
2ba3cc26e1f420997db4d1887ecc4c1f7c041e46
[ "MIT" ]
null
null
null
src/preprocessing.py
fpaskali/trus-segmentation
2ba3cc26e1f420997db4d1887ecc4c1f7c041e46
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Mon Dec 23 15:42:17 2019 @author: paskali """ import os, nrrd, json, argparse import numpy as np from scipy import ndimage if __name__ == '__main__': main()
33.846154
133
0.526573
c1884982fe78f2265761835377ab580fa3e212e7
1,087
py
Python
src/turtlebot_apps-indigo/turtlebot_actions/scripts/test_fiducial.py
mowtian/Projektarbeit
43d575f6cf06690e869da4f995ed271fe4088f69
[ "MIT" ]
59
2020-08-03T04:03:04.000Z
2022-03-29T07:25:23.000Z
src/turtlebot_apps-indigo/turtlebot_actions/scripts/test_fiducial.py
mowtian/Projektarbeit
43d575f6cf06690e869da4f995ed271fe4088f69
[ "MIT" ]
18
2015-01-12T19:17:18.000Z
2020-03-15T14:08:32.000Z
src/turtlebot_apps-indigo/turtlebot_actions/scripts/test_fiducial.py
mowtian/Projektarbeit
43d575f6cf06690e869da4f995ed271fe4088f69
[ "MIT" ]
26
2015-03-21T18:06:10.000Z
2021-04-20T20:41:06.000Z
#!/usr/bin/env python import roslib roslib.load_manifest('turtlebot_actions') import rospy import os import sys import time from turtlebot_actions.msg import * from actionlib_msgs.msg import * import actionlib if __name__ == "__main__": main()
24.704545
119
0.762649
c18bee08b90a7626e75143abd8d81aabbb6a5a28
6,077
py
Python
cube/providers/fluxcom.py
CAB-LAB/cube-config
a6b8ebdf76344841d3204298c0e4782a78e4f282
[ "MIT" ]
4
2018-08-07T13:15:45.000Z
2021-03-23T17:14:54.000Z
cube/providers/fluxcom.py
CAB-LAB/cube-config
a6b8ebdf76344841d3204298c0e4782a78e4f282
[ "MIT" ]
1
2019-01-11T09:10:42.000Z
2019-01-11T09:10:42.000Z
cube/providers/fluxcom.py
CAB-LAB/cube-config
a6b8ebdf76344841d3204298c0e4782a78e4f282
[ "MIT" ]
1
2018-10-11T15:08:24.000Z
2018-10-11T15:08:24.000Z
import os from datetime import timedelta import numpy from esdl.cube_provider import NetCDFCubeSourceProvider from dateutil.relativedelta import relativedelta from netCDF4 import num2date all_vars_descr = {'GPPall': { 'gross_primary_productivity': { 'source_name': 'GPPall', 'data_type': numpy.floa...
47.476563
116
0.5766
c18d893bcaf1aa2c9ed8f540980d7bca6ade7aa8
2,391
py
Python
dicomtrolley/core.py
michelkok/dicomtrolley
e20def0fc6f3ee132368a168e07ed3c17c5431fe
[ "Apache-2.0" ]
null
null
null
dicomtrolley/core.py
michelkok/dicomtrolley
e20def0fc6f3ee132368a168e07ed3c17c5431fe
[ "Apache-2.0" ]
null
null
null
dicomtrolley/core.py
michelkok/dicomtrolley
e20def0fc6f3ee132368a168e07ed3c17c5431fe
[ "Apache-2.0" ]
null
null
null
"""Provides common base classes that allow different modules to talk to each other.""" from itertools import chain from typing import Sequence from pydantic.main import BaseModel from pydicom.dataset import Dataset from dicomtrolley.exceptions import DICOMTrolleyException Instance.update_forward_refs() # enab...
27.170455
86
0.66123
c18e05b054dc993ef3dcf4a3fdfe2bf5ac02fbe1
249
py
Python
examples/tutorial/lcu_events.py
TheodorStraube/lcu-driver
892e5695807a0ad27afa411b103a99fd64397f87
[ "MIT" ]
57
2019-06-07T09:35:00.000Z
2022-03-09T06:31:47.000Z
examples/tutorial/lcu_events.py
TheodorStraube/lcu-driver
892e5695807a0ad27afa411b103a99fd64397f87
[ "MIT" ]
11
2020-10-31T02:42:59.000Z
2022-03-18T02:46:33.000Z
examples/tutorial/lcu_events.py
TheodorStraube/lcu-driver
892e5695807a0ad27afa411b103a99fd64397f87
[ "MIT" ]
11
2021-01-07T19:09:09.000Z
2022-03-20T06:54:06.000Z
from lcu_driver import Connector connector = Connector() connector.start()
15.5625
41
0.742972
c192c478bf3756ea12e97caa54618ede1cc8beb4
1,436
py
Python
data/english_tweets/preprocess_tweets.py
dinarosv/fasttext-model
2beb10cb91436993810762906700e5c2f987500c
[ "MIT" ]
null
null
null
data/english_tweets/preprocess_tweets.py
dinarosv/fasttext-model
2beb10cb91436993810762906700e5c2f987500c
[ "MIT" ]
null
null
null
data/english_tweets/preprocess_tweets.py
dinarosv/fasttext-model
2beb10cb91436993810762906700e5c2f987500c
[ "MIT" ]
null
null
null
import csv import re import string if __name__ == "__main__": pos = 2363 neg = 2363 with open('Tweets.csv', mode='r') as csv_file: with open('even_dataset.txt', "w") as train_file: csv_reader = csv.DictReader(csv_file) line_count = 0 for row in csv_reader: ...
35.02439
107
0.474234
c19879ad79651dab2e29e6eb5d7cb2748c0fe7b3
2,548
py
Python
src/awsCluster/chipSeq/ChipPipelineManager.py
AspirinCode/jupyter-genomics
d45526fab3de8fcc3d9fef005d4e39368ff3dfdc
[ "MIT" ]
2
2019-01-04T08:17:27.000Z
2021-04-10T02:59:35.000Z
src/cirrus_ngs/deprecated/chipSeq/ChipPipelineManager.py
miko-798/cirrus-ngs
2c005f0fe29e298652ed2164e08ada75e908229b
[ "MIT" ]
null
null
null
src/cirrus_ngs/deprecated/chipSeq/ChipPipelineManager.py
miko-798/cirrus-ngs
2c005f0fe29e298652ed2164e08ada75e908229b
[ "MIT" ]
2
2021-09-10T02:57:51.000Z
2021-09-21T00:16:56.000Z
__author__ = 'Guorong Xu<g1xu@ucsd.edu>' import os import YamlFileMaker from util import DesignFileLoader from cfnCluster import ConnectionManager workspace = "/shared/workspace/ChiPSeqPipeline" data_dir = "/shared/workspace/data_archive/ChiPSeq" ## run all analysis from download, alignment, counting and differenti...
41.770492
133
0.742936
c19902b6f937ab309d593d0476286b218147fdf5
1,187
py
Python
tests/common_fixtures.py
KRunchPL/script_args_parser
6d5b82c848735b599d487a6623f01e20bfebdd1a
[ "Apache-2.0" ]
null
null
null
tests/common_fixtures.py
KRunchPL/script_args_parser
6d5b82c848735b599d487a6623f01e20bfebdd1a
[ "Apache-2.0" ]
null
null
null
tests/common_fixtures.py
KRunchPL/script_args_parser
6d5b82c848735b599d487a6623f01e20bfebdd1a
[ "Apache-2.0" ]
1
2021-12-16T08:31:41.000Z
2021-12-16T08:31:41.000Z
""" Provides fixtures common for different test modules. """ import os from collections.abc import Generator import pytest from script_args_parser.arguments import Argument
28.95122
109
0.750632
c199c98ff5160fe020b451c8358768f938abf77c
2,213
py
Python
supermamas/areas/service.py
oasalonen/supermamas
3ab2b2370de903cea614ea9dfa10ce1c0504a715
[ "Apache-2.0" ]
null
null
null
supermamas/areas/service.py
oasalonen/supermamas
3ab2b2370de903cea614ea9dfa10ce1c0504a715
[ "Apache-2.0" ]
null
null
null
supermamas/areas/service.py
oasalonen/supermamas
3ab2b2370de903cea614ea9dfa10ce1c0504a715
[ "Apache-2.0" ]
null
null
null
from flask_babel import gettext from dateutil import rrule, parser from datetime import datetime, date, timedelta from supermamas.areas.districts import District from supermamas.areas.cities import City
30.736111
74
0.66516
c19a7b56de4de890b7430283340bc504ae5d4af8
2,969
py
Python
gwlfe/MultiUse_Fxns/Erosion/ErosSum.py
mudkipmaster/gwlf-e
9e058445537dd32d1916f76c4b73ca64261771cd
[ "Apache-2.0" ]
null
null
null
gwlfe/MultiUse_Fxns/Erosion/ErosSum.py
mudkipmaster/gwlf-e
9e058445537dd32d1916f76c4b73ca64261771cd
[ "Apache-2.0" ]
6
2018-07-24T22:46:28.000Z
2018-07-29T19:13:09.000Z
gwlfe/MultiUse_Fxns/Erosion/ErosSum.py
mudkipmaster/gwlf-e
9e058445537dd32d1916f76c4b73ca64261771cd
[ "Apache-2.0" ]
1
2018-07-24T18:22:01.000Z
2018-07-24T18:22:01.000Z
from numpy import sum from numpy import zeros from gwlfe.Memoization import memoize from gwlfe.MultiUse_Fxns.Erosion.Erosion_1 import Erosion_1 from gwlfe.MultiUse_Fxns.Erosion.Erosion_1 import Erosion_1_f
63.170213
118
0.630852
c19ed6615f84f7912d55685bdf60f361e59dc517
318
py
Python
data-science/exercicios/livro-introducao-a-programacao-com-python/capitulo-2/exercicio2-6.py
joaovictor-loureiro/data-science
21ad240e1db94d614e54fcb3fbf6ef74a78af9d8
[ "MIT" ]
null
null
null
data-science/exercicios/livro-introducao-a-programacao-com-python/capitulo-2/exercicio2-6.py
joaovictor-loureiro/data-science
21ad240e1db94d614e54fcb3fbf6ef74a78af9d8
[ "MIT" ]
null
null
null
data-science/exercicios/livro-introducao-a-programacao-com-python/capitulo-2/exercicio2-6.py
joaovictor-loureiro/data-science
21ad240e1db94d614e54fcb3fbf6ef74a78af9d8
[ "MIT" ]
null
null
null
# Exerccio 2.6 - Modifique o programa da listagem 2.11, de forma que ele calcule um # aumento de 15% para um salrio de R$ 750 salario = 750.00 taxa_aumento = 0.15 aumento = salario * taxa_aumento novo_salario = salario + aumento print('\nSlario de R$750.00 + aumento de 15' + '% = ' + 'R$%.2f\n' % (novo_salario))
35.333333
85
0.694969
c1a090099134b68fb76ca41e7d96a09d8f2db91e
1,117
py
Python
licensed/Docker-x86_64/build_scripts/set_sparknlp_env.py
DevinTDHa/spark-nlp-starter-scripts
b04c5a185d3e56ecc36aa420b4a8b78e62ee43ac
[ "Apache-2.0" ]
1
2021-06-21T04:35:46.000Z
2021-06-21T04:35:46.000Z
licensed/Docker-x86_64/build_scripts/set_sparknlp_env.py
DevinTDHa/spark-nlp-starter-scripts
b04c5a185d3e56ecc36aa420b4a8b78e62ee43ac
[ "Apache-2.0" ]
3
2021-06-11T15:05:51.000Z
2021-06-24T17:25:06.000Z
licensed/Docker-x86_64/build_scripts/set_sparknlp_env.py
hatrungduc/spark-nlp-starter-scripts
b04c5a185d3e56ecc36aa420b4a8b78e62ee43ac
[ "Apache-2.0" ]
null
null
null
import json import os import re import os.path sparknlp_versions = {"PUBLIC_VERSION": "3.1.0"} WORKDIR = "/build_scripts" with open(WORKDIR + "/spark_nlp_for_healthcare.json", "r") as f: sparknlp_versions.update(json.load(f).items()) with open(WORKDIR + "/spark_ocr.json", "r") as f: ocr_version_pattern = re...
33.848485
74
0.61504
c1a3566abe8de6e2ad548a0edfaab84277307621
292
py
Python
application/flask_math/calculation/Expand.py
kouki-0926/Flask-Math
29787e8a5f6e5dc26cf1b8aff7e74dcd597ea9a9
[ "MIT" ]
null
null
null
application/flask_math/calculation/Expand.py
kouki-0926/Flask-Math
29787e8a5f6e5dc26cf1b8aff7e74dcd597ea9a9
[ "MIT" ]
2
2020-04-16T17:15:10.000Z
2020-04-17T17:26:38.000Z
application/flask_math/calculation/Expand.py
kouki-0926/Flask-Math
29787e8a5f6e5dc26cf1b8aff7e74dcd597ea9a9
[ "MIT" ]
null
null
null
from sympy import expand from flask import flash from flask_math.calculation.common.STR import LATEX
20.857143
51
0.64726
c1a365299df3be7e6313ae116f2750cf6ff8c29d
1,234
py
Python
redispypractice/test_string.py
youaresherlock/flaskRedisNewsApp
4745ffac028141b0c1ce6e93afdf45663a53c8e3
[ "Apache-2.0" ]
null
null
null
redispypractice/test_string.py
youaresherlock/flaskRedisNewsApp
4745ffac028141b0c1ce6e93afdf45663a53c8e3
[ "Apache-2.0" ]
null
null
null
redispypractice/test_string.py
youaresherlock/flaskRedisNewsApp
4745ffac028141b0c1ce6e93afdf45663a53c8e3
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # @Author: Clarence # @Date: 2018-08-11 17:24:59 # @Last Modified by: Clarence # @Last Modified time: 2018-08-12 01:16:19 import redis if __name__ == '__main__': main()
18.984615
69
0.621556
c1a426e50864a4928ceb41aa173c50deae44ea0a
27,877
py
Python
ML-based Predictive Models/Intention/ML_BinaryClass-Intention.py
erfpak7/DeepTake
6a3c5646654630d344d8b70d65bf5e535aa07af5
[ "MIT" ]
4
2021-02-03T03:47:35.000Z
2021-07-28T12:19:02.000Z
ML-based Predictive Models/Intention/ML_BinaryClass-Intention.py
erfpak7/DeepTake
6a3c5646654630d344d8b70d65bf5e535aa07af5
[ "MIT" ]
1
2022-02-22T03:27:00.000Z
2022-02-22T03:27:00.000Z
ML-based Predictive Models/Intention/ML_BinaryClass-Intention.py
erfpak7/DeepTake
6a3c5646654630d344d8b70d65bf5e535aa07af5
[ "MIT" ]
1
2021-11-27T13:54:10.000Z
2021-11-27T13:54:10.000Z
# -*- coding: utf-8 -*- """ Created on Wed Jan 15 21:56:08 2020 @author: erfan pakdamanian """ # STEP1----------------- # Importing the libraries------------ #------------------------------------------------------------- import os import numpy as np import matplotlib.pyplot as plt import pandas as pd i...
38.880056
165
0.619041
c1a563fd1d3a89491d5575fd36cee92bb7b69f8b
105
py
Python
core-python-functions-and-functional-programming/closures/__init__.py
hassonor/core-python
92672aa72c1474061df5247a2dd4dfd9fab1642a
[ "MIT" ]
1
2022-03-09T20:58:33.000Z
2022-03-09T20:58:33.000Z
core-python-functions-and-functional-programming/closures/__init__.py
hassonor/core-python
92672aa72c1474061df5247a2dd4dfd9fab1642a
[ "MIT" ]
null
null
null
core-python-functions-and-functional-programming/closures/__init__.py
hassonor/core-python
92672aa72c1474061df5247a2dd4dfd9fab1642a
[ "MIT" ]
null
null
null
""" def -> Used to define new functions -> Binds a function object to a name -> Executed at runtime """
13.125
36
0.67619
c1a7f8da12b92acb46b3fd0169292132804ef097
700
py
Python
slackforms/conf.py
Albatrous/django-slack-forms
baee37942085bf2f9e35beb9a4a4aa767b319b35
[ "MIT" ]
1
2019-06-20T00:11:58.000Z
2019-06-20T00:11:58.000Z
slackforms/conf.py
Albatrous/django-slack-forms
baee37942085bf2f9e35beb9a4a4aa767b319b35
[ "MIT" ]
3
2020-02-11T23:46:14.000Z
2021-06-10T21:10:37.000Z
slackforms/conf.py
Albatrous/django-slack-forms
baee37942085bf2f9e35beb9a4a4aa767b319b35
[ "MIT" ]
3
2019-12-13T06:53:18.000Z
2021-06-04T07:12:56.000Z
""" Use this file to configure pluggable app settings and resolve defaults with any overrides set in project settings. """ from django.conf import settings as project_settings Settings.SECRET_KEY = getattr( project_settings, "SLACKFORMS_SECRET_KEY", "a-bad-secret-key" ) Settings.SLACK_VERIFICATION_TOKEN = geta...
21.875
72
0.774286
c1a8a733880fd472a1bd5dcd7ca9c42d18cdec3f
2,432
py
Python
books/models.py
TareqMonwer/reading-track
dfa1e922703a1fc6d2fa65bc3449dab54c49074a
[ "bzip2-1.0.6" ]
1
2020-11-01T22:02:43.000Z
2020-11-01T22:02:43.000Z
books/models.py
TareqMonwer/reading-track
dfa1e922703a1fc6d2fa65bc3449dab54c49074a
[ "bzip2-1.0.6" ]
7
2020-06-05T20:34:48.000Z
2022-03-12T00:16:02.000Z
books/models.py
TareqMonwer/reading-track
dfa1e922703a1fc6d2fa65bc3449dab54c49074a
[ "bzip2-1.0.6" ]
null
null
null
import datetime from django.db import models from django.utils import timezone
28.952381
72
0.588405
c1a8f725e5600732529eb296d0e4171f6a5ca5f8
4,268
py
Python
mbrl/algorithms/model_train.py
cvoelcker/mbrl-lib
6e0261d36b359721e0543a42e862da9a15cc94bb
[ "MIT" ]
null
null
null
mbrl/algorithms/model_train.py
cvoelcker/mbrl-lib
6e0261d36b359721e0543a42e862da9a15cc94bb
[ "MIT" ]
null
null
null
mbrl/algorithms/model_train.py
cvoelcker/mbrl-lib
6e0261d36b359721e0543a42e862da9a15cc94bb
[ "MIT" ]
null
null
null
# This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. # @author: Claas Voelcker import os from typing import Dict, Optional, Tuple, cast import gym import hydra.utils from mbrl.env.offline_data import load_dataset_and_env import numpy as np import ...
32.333333
132
0.661434
c1aaa99eb6efe9146c94f8690a9165e4db1e6d6d
1,645
py
Python
Software/jetson_racer/scripts/joint_state.py
mounteverset/jetracer_ros
a84bd7cd81839a48bacfb8680f0aa6a4c797608d
[ "BSD-3-Clause" ]
null
null
null
Software/jetson_racer/scripts/joint_state.py
mounteverset/jetracer_ros
a84bd7cd81839a48bacfb8680f0aa6a4c797608d
[ "BSD-3-Clause" ]
null
null
null
Software/jetson_racer/scripts/joint_state.py
mounteverset/jetracer_ros
a84bd7cd81839a48bacfb8680f0aa6a4c797608d
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python3 import rospy from sensor_msgs.msg import JointState from std_msgs.msg import Header, Float32 from geometry_msgs.msg import Twist, TwistStamped from nav_msgs.msg import Odometry import math rear_vel = 0 front_rot = 0 if __name__ == '__main__': try: print("Running joint_state.py....
24.924242
122
0.697264
c1b261ae3aa691ad62e1f61ac7d119d6cc816da8
1,525
py
Python
lap_tracker/__init__.py
glyg/lap_tracker
16409d8135c6e5e2b5bc42c866530a98e25361ef
[ "BSD-3-Clause" ]
6
2019-09-04T04:54:59.000Z
2021-07-15T20:44:23.000Z
lap_tracker/__init__.py
glyg/lap_tracker
16409d8135c6e5e2b5bc42c866530a98e25361ef
[ "BSD-3-Clause" ]
null
null
null
lap_tracker/__init__.py
glyg/lap_tracker
16409d8135c6e5e2b5bc42c866530a98e25361ef
[ "BSD-3-Clause" ]
1
2021-07-15T20:44:29.000Z
2021-07-15T20:44:29.000Z
# -*- coding: utf-8 -*- from __future__ import unicode_literals from __future__ import division from __future__ import absolute_import from __future__ import print_function __version__ = "0.1" from .lap_tracking import LAPTracker from .tester import * import os import logging from .utils.color_system import color ...
25
73
0.669508
c1b3de72204768f876d20194d771ef1cc3b6869e
2,698
py
Python
dashboard/views/containers.py
alefeans/docker_dashboard
f6f73a066fd2b97a1ad7682f3d8d2cd2436cd62c
[ "MIT" ]
3
2019-07-23T13:53:45.000Z
2019-08-08T12:43:45.000Z
dashboard/views/containers.py
alefeans/docker_dashboard
f6f73a066fd2b97a1ad7682f3d8d2cd2436cd62c
[ "MIT" ]
4
2020-02-12T01:03:09.000Z
2022-02-10T12:39:16.000Z
dashboard/views/containers.py
alefeans/docker_dashboard
f6f73a066fd2b97a1ad7682f3d8d2cd2436cd62c
[ "MIT" ]
3
2020-12-22T09:38:46.000Z
2022-03-29T08:11:38.000Z
from django.shortcuts import render from rest_framework.views import APIView from rest_framework.response import Response from rest_framework import status from dashboard.helpers import (list_container, start_container, stop_container, ...
29.326087
89
0.59785
c1b507da3a12512e9f8ed92013664dadaa72a1cc
301
py
Python
File_Path_Operations/test_file_path.py
JoeyDeRosa/code_katas
261d0e6edb81b710505196969462024cc33b9bd8
[ "MIT" ]
null
null
null
File_Path_Operations/test_file_path.py
JoeyDeRosa/code_katas
261d0e6edb81b710505196969462024cc33b9bd8
[ "MIT" ]
null
null
null
File_Path_Operations/test_file_path.py
JoeyDeRosa/code_katas
261d0e6edb81b710505196969462024cc33b9bd8
[ "MIT" ]
null
null
null
'''Test file for file_path_operations.py.''' master = FileMaster('/Users/person1/Pictures/house.png') test.describe('Description Test Cases') test.assert_equals(master.extension(), 'png') test.assert_equals(master.filename(), 'house') test.assert_equals(master.dirpath(), '/Users/person1/Pictures/')
37.625
64
0.76412
c1b8ad48d19f40004198ad92f67b11b9f59c1b22
911
py
Python
src/error_handlers/error_reference.py
ryanermita/snaaap-tech-exam
438fd9562ae403ca560641affffd7261cba47d30
[ "MIT" ]
null
null
null
src/error_handlers/error_reference.py
ryanermita/snaaap-tech-exam
438fd9562ae403ca560641affffd7261cba47d30
[ "MIT" ]
null
null
null
src/error_handlers/error_reference.py
ryanermita/snaaap-tech-exam
438fd9562ae403ca560641affffd7261cba47d30
[ "MIT" ]
null
null
null
from src.constants.misc import GenericConstants, UserConstants
23.973684
79
0.579583
c1ba092ef0219c7daa1beaf53576506f314cf6fa
495
py
Python
easy/array/remove_element.py
vladimirf7/leetcode
83faa201f188bcd0367ea95a252d9166735827cd
[ "MIT" ]
null
null
null
easy/array/remove_element.py
vladimirf7/leetcode
83faa201f188bcd0367ea95a252d9166735827cd
[ "MIT" ]
null
null
null
easy/array/remove_element.py
vladimirf7/leetcode
83faa201f188bcd0367ea95a252d9166735827cd
[ "MIT" ]
null
null
null
'''solved, super easy''' if __name__ == '__main__': assert Solution().removeElement([3, 2, 2, 3], 3) == 2 assert Solution().removeElement([0,1,2,2,3,0,4,2], 2) == 5
24.75
62
0.460606
c1bcf47ff1a29bc7824a69668b401b1d216e863f
1,659
py
Python
test/request/test_module.py
power-guard/solargis-py
42c919fccc6f9abf05441a1ffa75633cff1eab23
[ "MIT" ]
null
null
null
test/request/test_module.py
power-guard/solargis-py
42c919fccc6f9abf05441a1ffa75633cff1eab23
[ "MIT" ]
null
null
null
test/request/test_module.py
power-guard/solargis-py
42c919fccc6f9abf05441a1ffa75633cff1eab23
[ "MIT" ]
null
null
null
import unittest from solargis.request import Module, ModuleType
30.163636
75
0.593128
c1bd7570ae660531a9b622ea44923132bf413bfd
2,671
py
Python
rawdata/dbpedia.org/utils.py
jrnold/acw_battle_data
3a6020dbfcbcfc650a268b10a9f155588472432b
[ "CC-BY-4.0", "BSD-3-Clause" ]
15
2015-02-15T15:51:22.000Z
2022-02-27T03:12:18.000Z
rawdata/dbpedia.org/utils.py
jrnold/acw_battle_data
3a6020dbfcbcfc650a268b10a9f155588472432b
[ "CC-BY-4.0", "BSD-3-Clause" ]
36
2015-08-04T10:19:32.000Z
2019-07-14T21:25:42.000Z
rawdata/dbpedia.org/utils.py
jrnold/acw_battle_data
3a6020dbfcbcfc650a268b10a9f155588472432b
[ "CC-BY-4.0", "BSD-3-Clause" ]
7
2015-02-16T05:49:24.000Z
2019-06-01T17:22:32.000Z
# -*- coding: utf-8 -*- """ Created on Mon Sep 29 20:24:18 2014 @author: jrnold """ import json from os import path import time import requests import rdflib from SPARQLWrapper import SPARQLWrapper, JSON foaf = rdflib.Namespace("http://xmlns.com/foaf/0.1/") prov = rdflib.Namespace("http://www.w3.org/ns/prov#")
30.352273
82
0.576937
c1bdd9bf8404fb8432d14e96df141e8a2c27f61e
3,943
py
Python
mobilenet_v2.py
trex18/cv-models
c2cab949dd8e8a150ebcc96f9cb30c98ccb16a60
[ "MIT" ]
null
null
null
mobilenet_v2.py
trex18/cv-models
c2cab949dd8e8a150ebcc96f9cb30c98ccb16a60
[ "MIT" ]
null
null
null
mobilenet_v2.py
trex18/cv-models
c2cab949dd8e8a150ebcc96f9cb30c98ccb16a60
[ "MIT" ]
null
null
null
import torch import torch.nn as nn import torchvision import os from train import train from transform import get_transform # each layer consists of [expansion_ratio, output_channels, repeat_number, stride_of_first_sublayer] bottleneck_layers_config = [ [1, 16, 1, 1], [6, 24, 2, 2], [6, 32, 3, 2...
35.845455
117
0.615775
c1c0a5f047717898d90827416ff1e2287a3c101d
27,052
py
Python
raposa/langs/gl/stemmer.py
p3sky/PRUEBA1
7359e6d2d8b56222b60b638d725c66bbe86b1700
[ "MIT" ]
3
2017-11-03T09:17:28.000Z
2019-12-17T11:06:04.000Z
raposa/langs/gl/stemmer.py
p3sky/PRUEBA1
7359e6d2d8b56222b60b638d725c66bbe86b1700
[ "MIT" ]
11
2017-09-13T10:13:46.000Z
2020-12-09T03:03:16.000Z
raposa/langs/gl/stemmer.py
xurxodiz/raposa
ba30546a796b50f181c53a9f8293302bb840c7d2
[ "MIT" ]
null
null
null
from ...core.stemming.rule import Rule ## PLURALS PLURALS = [ Rule("ns", 1, "n", ["luns", "furatapns", "furatapons"]), Rule("s", 3, "n", []), Rule("es", 3, "n", []), Rule("es", 1, "o", ["mes", "magalhes"]), Rule("ais", 2, "al", ["cais","tais", "mais", "pais", "ademais"]), Rule("is", 2, "al", ...
57.313559
636
0.518557
c1c2c75fd2e751b22e70beb1bfe8ea861e79916e
312
py
Python
FazCO2Monitor/main/views.py
fazerog02/FazCO2Monitor
a7ef0aba2f387ae2087e1d9458ff6156333e9421
[ "MIT" ]
null
null
null
FazCO2Monitor/main/views.py
fazerog02/FazCO2Monitor
a7ef0aba2f387ae2087e1d9458ff6156333e9421
[ "MIT" ]
null
null
null
FazCO2Monitor/main/views.py
fazerog02/FazCO2Monitor
a7ef0aba2f387ae2087e1d9458ff6156333e9421
[ "MIT" ]
null
null
null
from django.shortcuts import render from api.models import NowPPM from api.models import PPMData import datetime import matplotlib from matplotlib import pyplot # Create your views here.
18.352941
61
0.753205
c1c3cd09baf59ca8c5c425f56b4f49543aaba750
8,248
py
Python
ecoregions/functions.py
skybristol/wdbots
9cb1e62d1260687741caa12f187c048fc0980e29
[ "Unlicense" ]
1
2020-08-27T19:27:47.000Z
2020-08-27T19:27:47.000Z
ecoregions/functions.py
skybristol/wdbots
9cb1e62d1260687741caa12f187c048fc0980e29
[ "Unlicense" ]
null
null
null
ecoregions/functions.py
skybristol/wdbots
9cb1e62d1260687741caa12f187c048fc0980e29
[ "Unlicense" ]
null
null
null
import shutil import urllib.request as request from contextlib import closing import zipfile import os from pathlib import Path import copy import geopandas as gpd import sys import pickle from wikidataintegrator import wdi_helpers, wdi_core wd_endpoint_url = "https://query.wikidata.org/sparql"
32.730159
114
0.61918
c1c672ba1ca3641d57c724a59bcc4874b9a410f1
3,345
py
Python
captcha_train_radam.py
EpicTrol/SCNU-AiMatch
f67512be7aaf8aff1f8cda799d3e843e2f96a33e
[ "Apache-2.0" ]
1
2020-11-27T03:57:25.000Z
2020-11-27T03:57:25.000Z
captcha_train_radam.py
EpicTrol/SCNU-AiMatch
f67512be7aaf8aff1f8cda799d3e843e2f96a33e
[ "Apache-2.0" ]
null
null
null
captcha_train_radam.py
EpicTrol/SCNU-AiMatch
f67512be7aaf8aff1f8cda799d3e843e2f96a33e
[ "Apache-2.0" ]
null
null
null
# -*- coding: UTF-8 -*- import torch import torch.nn as nn from torch.autograd import Variable import my_dataset from captcha_VGG16 import * from captcha_resnet import ResNet18 from captcha_optimizer import RAdam, GradualWarmupScheduler from captcha_resnet34 import ResNet34 # RESUME = True checkpoint_path = r'./check...
33.45
103
0.561136
c1c81838104a38ca4b27e2e3297bf5ced64669dd
5,130
py
Python
timm/loss/ddag_loss.py
KID-7391/CBA-MR
032b1674a5a9691eb840685f2461de87c1607826
[ "Apache-2.0" ]
1
2021-12-02T02:33:06.000Z
2021-12-02T02:33:06.000Z
timm/loss/ddag_loss.py
KID-7391/CBA-MR
032b1674a5a9691eb840685f2461de87c1607826
[ "Apache-2.0" ]
null
null
null
timm/loss/ddag_loss.py
KID-7391/CBA-MR
032b1674a5a9691eb840685f2461de87c1607826
[ "Apache-2.0" ]
null
null
null
import torch import torch.nn as nn import torch.nn.functional as F from abc import abstractmethod from .base_loss import BaseLoss __all__ = ['CR_DDAG', 'PR_DDAG'] if __name__ == '__main__': num_classes = 5 logit = torch.randn(20, num_classes * (num_classes - 1) // 2).cuda() target = torch.tensor([0,1,2...
33.096774
114
0.520858
c1caa2434f33830a78ae22257b52e16fcdd9ebf0
352
py
Python
xerosdk/apis/contacts.py
akshay-codemonk/xero-sdk-py
7a8ce6dee9914becd8737800e05f33102d780e1c
[ "MIT" ]
null
null
null
xerosdk/apis/contacts.py
akshay-codemonk/xero-sdk-py
7a8ce6dee9914becd8737800e05f33102d780e1c
[ "MIT" ]
null
null
null
xerosdk/apis/contacts.py
akshay-codemonk/xero-sdk-py
7a8ce6dee9914becd8737800e05f33102d780e1c
[ "MIT" ]
1
2020-01-06T04:57:44.000Z
2020-01-06T04:57:44.000Z
""" Xero Contacts API """ from .api_base import ApiBase
14.666667
55
0.571023
c1d04f40b1dc8ffd40c7e8d1d706e8daa03e9421
5,600
py
Python
tempest/tests/lib/services/identity/v3/test_protocols_client.py
cityofships/tempest
59aa6811a3664d88b8939603b8e974644fbe21fa
[ "Apache-2.0" ]
254
2015-01-05T19:22:52.000Z
2022-03-29T08:14:54.000Z
tempest/tests/lib/services/identity/v3/test_protocols_client.py
cityofships/tempest
59aa6811a3664d88b8939603b8e974644fbe21fa
[ "Apache-2.0" ]
13
2015-03-02T15:53:04.000Z
2022-02-16T02:28:14.000Z
tempest/tests/lib/services/identity/v3/test_protocols_client.py
cityofships/tempest
59aa6811a3664d88b8939603b8e974644fbe21fa
[ "Apache-2.0" ]
367
2015-01-07T15:05:39.000Z
2022-03-04T09:50:35.000Z
# Copyright 2020 Samsung Electronics Co., Ltd # 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 a...
39.716312
79
0.664286
c1d5f69e5c3fddafacc15af89b5f0eac9dc39002
1,681
py
Python
src/main/resources/project/wsadmin_scripts/create_jdbc_provider.py
electric-cloud/EC-WebSphere
72930f119910190f8fc70acbb401319ca0eb0c19
[ "Apache-2.0" ]
null
null
null
src/main/resources/project/wsadmin_scripts/create_jdbc_provider.py
electric-cloud/EC-WebSphere
72930f119910190f8fc70acbb401319ca0eb0c19
[ "Apache-2.0" ]
12
2016-09-23T04:42:55.000Z
2021-04-09T09:59:29.000Z
src/main/resources/project/wsadmin_scripts/create_jdbc_provider.py
electric-cloud/EC-WebSphere
72930f119910190f8fc70acbb401319ca0eb0c19
[ "Apache-2.0" ]
2
2016-06-13T07:24:12.000Z
2018-05-08T12:49:33.000Z
# # Copyright 2016 Electric Cloud, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agree...
22.716216
75
0.697204
c1d8f07a8b9b9aaca2cbd2db6ceafab45b5fe90e
9,018
py
Python
web/controllers/food/Food.py
yao6891/FlaskOrdering
cbd24bd8d95afaba91ce4d6b1b3548c4e82e3807
[ "Apache-2.0" ]
1
2020-03-24T04:26:34.000Z
2020-03-24T04:26:34.000Z
web/controllers/food/Food.py
yao6891/FlaskOrdering
cbd24bd8d95afaba91ce4d6b1b3548c4e82e3807
[ "Apache-2.0" ]
null
null
null
web/controllers/food/Food.py
yao6891/FlaskOrdering
cbd24bd8d95afaba91ce4d6b1b3548c4e82e3807
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- from flask import Blueprint,request,jsonify,redirect from common.libs.Helper import ops_render,get_current_date,i_pagination,get_dict_filter_field from application import app,db from common.models.food.Food import Food from common.models.food.FoodCat import FoodCat from common.models.food.FoodS...
30.989691
114
0.594478
c1d9705af458878422247b0472d52d627a3fde67
6,778
py
Python
pymc3/distributions/timeseries.py
vpolisky/pymc3
87cdd712c86321121c2ed3150764f3d847f5083c
[ "Apache-2.0" ]
15
2016-03-29T17:22:45.000Z
2021-05-05T06:28:06.000Z
pymc3/distributions/timeseries.py
taku-y/pymc3
70e3ca5e137b67aac0390c7e3979ec16842c4aed
[ "Apache-2.0" ]
null
null
null
pymc3/distributions/timeseries.py
taku-y/pymc3
70e3ca5e137b67aac0390c7e3979ec16842c4aed
[ "Apache-2.0" ]
6
2016-06-30T08:58:16.000Z
2019-01-26T16:50:54.000Z
import theano.tensor as tt from theano import scan from . import multivariate from . import continuous from . import distribution __all__ = [ 'AR1', 'GaussianRandomWalk', 'GARCH11', 'EulerMaruyama', 'MvGaussianRandomWalk', 'MvStudentTRandomWalk' ]
28.478992
84
0.587046
c1e3ad9240a0a3f9a3496e583aa1d52905101fd2
3,745
py
Python
breadboard/controller.py
mvshmakov/raspberry-boilerplate
d3bfdf0a8b64024117bd96d522ebe63ed566a037
[ "WTFPL" ]
null
null
null
breadboard/controller.py
mvshmakov/raspberry-boilerplate
d3bfdf0a8b64024117bd96d522ebe63ed566a037
[ "WTFPL" ]
null
null
null
breadboard/controller.py
mvshmakov/raspberry-boilerplate
d3bfdf0a8b64024117bd96d522ebe63ed566a037
[ "WTFPL" ]
null
null
null
#!/usr/bin/python3 from time import sleep from gpiozero import Button, MotionSensor, LED, LightSensor, DistanceSensor, Servo, MCP3008 if __name__ == '__main__': breadboard_controller = BreadboardController() print(f"Auto-polling data: {breadboard_controller.poll_sensors()}") print(f"Manual-polling data...
30.696721
119
0.561549
c1e4b25896a66fd72f7fdc21de7b701f62fd3706
1,937
py
Python
google/cloud/monitoring_v3/types/dropped_labels.py
vinbs/python-monitoring
39b51a2dd4319c3a326bef1c843bb80d3f2ca772
[ "Apache-2.0" ]
null
null
null
google/cloud/monitoring_v3/types/dropped_labels.py
vinbs/python-monitoring
39b51a2dd4319c3a326bef1c843bb80d3f2ca772
[ "Apache-2.0" ]
null
null
null
google/cloud/monitoring_v3/types/dropped_labels.py
vinbs/python-monitoring
39b51a2dd4319c3a326bef1c843bb80d3f2ca772
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # 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 o...
35.87037
74
0.738255
c1e58799269e2793e4daaf10c8e9427a23618ef2
3,802
py
Python
tests/emmet-core/test_thermo.py
acrutt/emmet
e98100c9932f145a3ad3087ddb7aa9b779d9a191
[ "BSD-3-Clause-LBNL" ]
19
2018-09-26T17:12:35.000Z
2022-03-19T03:48:04.000Z
tests/emmet-core/test_thermo.py
acrutt/emmet
e98100c9932f145a3ad3087ddb7aa9b779d9a191
[ "BSD-3-Clause-LBNL" ]
273
2017-06-15T22:13:07.000Z
2022-03-29T20:39:55.000Z
tests/emmet-core/test_thermo.py
acrutt/emmet
e98100c9932f145a3ad3087ddb7aa9b779d9a191
[ "BSD-3-Clause-LBNL" ]
38
2017-06-13T21:50:00.000Z
2022-03-26T18:31:21.000Z
import pytest from monty.serialization import MontyDecoder from monty.serialization import loadfn from emmet.core.thermo import ThermoDoc def test_from_entries(entries): docs, pd = ThermoDoc.from_entries(entries, deprecated=False) assert len(docs) == len(entries) assert all([d.energy_type == "Unkn...
32.775862
82
0.525776
c1e60f56526527c393c9e332bf50e7a6c74919ec
4,185
py
Python
information_retrieval/question_processing/question_classification.py
Akash-Pateria/Question-Answering-Bot
54785e73663ea82b57c1e1ba04c5aa6192707bea
[ "MIT" ]
null
null
null
information_retrieval/question_processing/question_classification.py
Akash-Pateria/Question-Answering-Bot
54785e73663ea82b57c1e1ba04c5aa6192707bea
[ "MIT" ]
null
null
null
information_retrieval/question_processing/question_classification.py
Akash-Pateria/Question-Answering-Bot
54785e73663ea82b57c1e1ba04c5aa6192707bea
[ "MIT" ]
1
2020-03-04T06:27:27.000Z
2020-03-04T06:27:27.000Z
from sklearn.feature_extraction.text import CountVectorizer from scipy.sparse import hstack from sklearn.svm import LinearSVC from practnlptools.tools import Annotator import cPickle from fine_class_fullname import read_class annotator=Annotator() def get_classes(question): ''' loading the coarse model ''' ...
29.680851
97
0.708244
c1e72056ff903d914f235f5651076e2b0b110b9f
6,503
py
Python
monkey/io.py
ShawnFrueh/mecco_renderMonkey
1b80293c45c320fc1276092691e4798e17675977
[ "MIT" ]
null
null
null
monkey/io.py
ShawnFrueh/mecco_renderMonkey
1b80293c45c320fc1276092691e4798e17675977
[ "MIT" ]
null
null
null
monkey/io.py
ShawnFrueh/mecco_renderMonkey
1b80293c45c320fc1276092691e4798e17675977
[ "MIT" ]
null
null
null
# python import json import os import random import re import traceback import modo from . import util import yaml from .defaults import get from .symbols import * def yaml_save_dialog(): """ By Adam O'Hern for Mechanical Color File dialog requesting YAML file destination. """ try: re...
27.909871
104
0.561895
c1e8b46513d8a448fc5fad496421de4582c76653
3,755
py
Python
tools/compare_rep.py
Woffee/deformer
8f5330f3e85599a9c57965a16c3e737f9146fcc7
[ "MIT" ]
114
2020-05-05T21:33:35.000Z
2022-03-24T10:30:20.000Z
tools/compare_rep.py
Woffee/deformer
8f5330f3e85599a9c57965a16c3e737f9146fcc7
[ "MIT" ]
10
2020-05-19T03:33:26.000Z
2020-12-15T01:56:20.000Z
tools/compare_rep.py
Woffee/deformer
8f5330f3e85599a9c57965a16c3e737f9146fcc7
[ "MIT" ]
15
2020-05-29T09:34:30.000Z
2022-01-21T01:21:50.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import argparse import os from collections import defaultdict import numpy as np from scipy.spatial import distance from tqdm import tqdm np.set_printoptions(threshold=np.inf, suppress=True) if __name__ == '__main__': parser = argparse.ArgumentParser() parser...
40.376344
97
0.656991
c1ec9aa5f29f8f82198b4380736615e572823875
3,837
py
Python
forum/markdownext/mdx_auto_linker.py
Stackato-Apps/osqa
728bb43ae913e33769c52f40cadb26721faaf2b2
[ "Naumen", "Condor-1.1", "MS-PL" ]
1
2017-07-14T09:58:07.000Z
2017-07-14T09:58:07.000Z
forum/markdownext/mdx_auto_linker.py
Stackato-Apps/osqa
728bb43ae913e33769c52f40cadb26721faaf2b2
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
forum/markdownext/mdx_auto_linker.py
Stackato-Apps/osqa
728bb43ae913e33769c52f40cadb26721faaf2b2
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
import markdown import re, socket TLDS = ('gw', 'gu', 'gt', 'gs', 'gr', 'gq', 'gp', 'gy', 'gg', 'gf', 'ge', 'gd', 'ga', 'edu', 'va', 'gn', 'gl', 'gi', 'gh', 'iq', 'lb', 'lc', 'la', 'tv', 'tw', 'tt', 'arpa', 'lk', 'li', 'lv', 'to', 'lt', 'lr', 'ls', 'th', 'tf', 'su', 'td', 'aspx', 'tc', 'ly', 'do', 'coo...
34.567568
124
0.421423
c1eccd50c4c0bef0bc236ab007c3bb33cdd0926d
173
py
Python
Exercicios/Desafio013.py
victorhugof94/Python
8b42955634f3ae44bded350ac88396a02b1f6970
[ "MIT" ]
null
null
null
Exercicios/Desafio013.py
victorhugof94/Python
8b42955634f3ae44bded350ac88396a02b1f6970
[ "MIT" ]
null
null
null
Exercicios/Desafio013.py
victorhugof94/Python
8b42955634f3ae44bded350ac88396a02b1f6970
[ "MIT" ]
null
null
null
salario = float(input('valor do salario:')) aumento = salario + (salario* (15/100)) print('voce ganhou um aumento de salario seu salario agora : R${:.2f}'.format(aumento))
43.25
88
0.705202
c1ed9b50d6f1d43f6ca9652ad690c32440ddface
15,088
py
Python
sdk_samples/scripts/dcgm_example.py
deepio/DCGM
d10273f18fb3d425da752ab6bb7e07af3d18caec
[ "Apache-2.0" ]
85
2021-02-03T19:58:50.000Z
2022-03-21T08:00:11.000Z
sdk_samples/scripts/dcgm_example.py
deepio/DCGM
d10273f18fb3d425da752ab6bb7e07af3d18caec
[ "Apache-2.0" ]
19
2021-03-19T08:13:58.000Z
2022-03-17T02:50:41.000Z
sdk_samples/scripts/dcgm_example.py
deepio/DCGM
d10273f18fb3d425da752ab6bb7e07af3d18caec
[ "Apache-2.0" ]
17
2021-02-04T06:47:30.000Z
2022-03-21T22:14:03.000Z
# Copyright (c) 2021, NVIDIA CORPORATION. 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 appli...
41.564738
136
0.657609
c1efc24556fc4898f91333e0bbcaa25d91178205
3,690
py
Python
navigation/arena_local_planner/learning_based/arena_local_planner_drl/scripts/deployment/run_agent.py
kilinmao/sarl_star
dde9bb2b690c705a615195f4b570af3ea9dfe05e
[ "MIT" ]
null
null
null
navigation/arena_local_planner/learning_based/arena_local_planner_drl/scripts/deployment/run_agent.py
kilinmao/sarl_star
dde9bb2b690c705a615195f4b570af3ea9dfe05e
[ "MIT" ]
null
null
null
navigation/arena_local_planner/learning_based/arena_local_planner_drl/scripts/deployment/run_agent.py
kilinmao/sarl_star
dde9bb2b690c705a615195f4b570af3ea9dfe05e
[ "MIT" ]
null
null
null
import os import rospy import rospkg import json import numpy as np import time from stable_baselines3 import PPO from stable_baselines3.common.vec_env import SubprocVecEnv, DummyVecEnv, VecNormalize from task_generator.task_generator.tasks import get_predefined_task from arena_navigation.arena_local_planner.learning...
39.677419
174
0.655556
c1f14be76dcd8f6a9b9359dd399bc9e2b7b2a442
4,330
py
Python
trackers/iou_tracker/mta_track.py
XiaoSanGit/wda_tracker
b68ec0edb9daa6cc495815ba9ca549b36eec0369
[ "MIT" ]
24
2020-06-23T11:17:42.000Z
2022-03-29T00:38:09.000Z
trackers/iou_tracker/mta_track.py
XiaoSanGit/wda_tracker
b68ec0edb9daa6cc495815ba9ca549b36eec0369
[ "MIT" ]
13
2020-07-07T03:59:02.000Z
2022-03-30T04:28:06.000Z
trackers/iou_tracker/mta_track.py
XiaoSanGit/wda_tracker
b68ec0edb9daa6cc495815ba9ca549b36eec0369
[ "MIT" ]
9
2021-02-14T07:11:05.000Z
2021-12-23T12:47:08.000Z
from dataclasses import dataclass from iou_tracker import track_iou from util_iou import load_mot, save_to_csv from time import time import os from multiprocessing.pool import ThreadPool import pandas as pd if __name__ == "__main__": ''' cmt = Config_mta_tracker( detections_folder="/media/phil...
36.083333
134
0.635104
c1f165eea9a337191d506249d1901b6f74a81ce2
9,124
py
Python
hmc_inventory.py
power-devops/ansible_hmc_inventory
a0782490ec9786cfad9cd449878e9e26133c34ca
[ "MIT" ]
1
2020-07-17T12:57:03.000Z
2020-07-17T12:57:03.000Z
hmc_inventory.py
power-devops/ansible_hmc_inventory
a0782490ec9786cfad9cd449878e9e26133c34ca
[ "MIT" ]
1
2020-09-21T20:04:15.000Z
2020-09-21T20:04:15.000Z
hmc_inventory.py
power-devops/ansible_hmc_inventory
a0782490ec9786cfad9cd449878e9e26133c34ca
[ "MIT" ]
5
2020-07-21T14:43:21.000Z
2022-01-23T09:44:41.000Z
#!/usr/bin/python3.7 from __future__ import print_function import argparse import json import os import ssl import sys import xml.etree.ElementTree as ET try: import requests except ModuleNotFoundError: print("requests module is required. Hint: sudo yum -y install python3-requests", file=sys.stderr) sys.exit(1...
33.918216
120
0.656949
c1f19ac63d25d3c7a341b5e56efc6a76170e219a
8,757
py
Python
Access_Sentinel6MF_find_file_by_cycle_pass.py
podaac/sentinel6
ea203ebab3fdbbfe2b4c399f7a0f54322af18433
[ "Apache-2.0" ]
6
2021-03-24T18:20:04.000Z
2022-03-30T12:10:26.000Z
Access_Sentinel6MF_find_file_by_cycle_pass.py
podaac/sentinel6
ea203ebab3fdbbfe2b4c399f7a0f54322af18433
[ "Apache-2.0" ]
null
null
null
Access_Sentinel6MF_find_file_by_cycle_pass.py
podaac/sentinel6
ea203ebab3fdbbfe2b4c399f7a0f54322af18433
[ "Apache-2.0" ]
2
2021-03-24T19:19:40.000Z
2022-01-13T03:49:25.000Z
#!/usr/bin/env python3 # # Access Sentinel-6 MF Data using a script # This script shows a simple way to maintain a local time series of Sentinel-6 data using the [CMR Search API](https://cmr.earthdata.nasa.gov/search/site/docs/search/api.html). It downloads granules the ingested since the previous run to a designated...
37.909091
356
0.66838
c1f25314101c6772ba72972d1b4fe3550c91083b
787
py
Python
variable_heuristic.py
HoSzyk/Map
d22e344cab7b14494f16884f7a4f29f46b752840
[ "MIT" ]
null
null
null
variable_heuristic.py
HoSzyk/Map
d22e344cab7b14494f16884f7a4f29f46b752840
[ "MIT" ]
null
null
null
variable_heuristic.py
HoSzyk/Map
d22e344cab7b14494f16884f7a4f29f46b752840
[ "MIT" ]
null
null
null
from problem import CspProblem
29.148148
96
0.662008
c1f374c3be2127bdaeef0e877233321933695462
2,837
py
Python
Latest/venv/Lib/site-packages/pyface/ui/qt4/splash_screen.py
adamcvj/SatelliteTracker
49a8f26804422fdad6f330a5548e9f283d84a55d
[ "Apache-2.0" ]
1
2022-01-09T20:04:31.000Z
2022-01-09T20:04:31.000Z
Latest/venv/Lib/site-packages/pyface/ui/qt4/splash_screen.py
adamcvj/SatelliteTracker
49a8f26804422fdad6f330a5548e9f283d84a55d
[ "Apache-2.0" ]
1
2022-02-15T12:01:57.000Z
2022-03-24T19:48:47.000Z
Latest/venv/Lib/site-packages/pyface/ui/qt4/splash_screen.py
adamcvj/SatelliteTracker
49a8f26804422fdad6f330a5548e9f283d84a55d
[ "Apache-2.0" ]
null
null
null
#------------------------------------------------------------------------------ # Copyright (c) 2007, Riverbank Computing Limited # All rights reserved. # # This software is provided without warranty under the terms of the BSD license. # However, when used with the GPL version of PyQt the additional terms described in ...
31.876404
117
0.556926
c1f478684234a287a64001cf0f99063dadc5f8af
31
py
Python
src/api/log/__init__.py
fekblom/critic
a6b60c9053e13d4c878d50531860d7389568626d
[ "Apache-2.0" ]
216
2015-01-05T12:48:10.000Z
2022-03-08T00:12:23.000Z
src/api/log/__init__.py
fekblom/critic
a6b60c9053e13d4c878d50531860d7389568626d
[ "Apache-2.0" ]
55
2015-02-28T12:10:26.000Z
2020-11-18T17:45:16.000Z
src/api/log/__init__.py
fekblom/critic
a6b60c9053e13d4c878d50531860d7389568626d
[ "Apache-2.0" ]
34
2015-05-02T15:15:10.000Z
2020-06-15T19:20:37.000Z
import rebase import partition
10.333333
16
0.870968
c1f4bb133035976b48bb331afd3017e6ebbc488d
1,908
py
Python
tests/test_utils.py
bccho/pass-glm
4ad14dd043532419dc413c509672b54d1eb8d516
[ "MIT" ]
null
null
null
tests/test_utils.py
bccho/pass-glm
4ad14dd043532419dc413c509672b54d1eb8d516
[ "MIT" ]
null
null
null
tests/test_utils.py
bccho/pass-glm
4ad14dd043532419dc413c509672b54d1eb8d516
[ "MIT" ]
null
null
null
import os import numpy.random as npr from numpy.testing import * import scipy.sparse as sp from passglm.utils import *
29.353846
55
0.62631
c1f86fc5762388dd48540888bcee3acf64dc619f
2,807
py
Python
book_catalog/models.py
shayweitzman/MyAutoBook
b5451e6d2db07c839b61802f94b57824a6b17da8
[ "Unlicense" ]
1
2022-01-24T15:49:32.000Z
2022-01-24T15:49:32.000Z
book_catalog/models.py
shayweitzman/MyAutoBook
b5451e6d2db07c839b61802f94b57824a6b17da8
[ "Unlicense" ]
null
null
null
book_catalog/models.py
shayweitzman/MyAutoBook
b5451e6d2db07c839b61802f94b57824a6b17da8
[ "Unlicense" ]
2
2021-01-03T15:19:05.000Z
2021-01-14T08:14:12.000Z
from django.db import models from django.contrib.auth.models import User
47.576271
104
0.666548
c1f9f4785ed1a27b6e505d73b0f114a13d0e7bf1
5,592
py
Python
backtest/marketdata.py
Christakou/backtest
fa97f50b36a1d56fe667250169ed50a8d9121c3c
[ "MIT" ]
null
null
null
backtest/marketdata.py
Christakou/backtest
fa97f50b36a1d56fe667250169ed50a8d9121c3c
[ "MIT" ]
null
null
null
backtest/marketdata.py
Christakou/backtest
fa97f50b36a1d56fe667250169ed50a8d9121c3c
[ "MIT" ]
null
null
null
from functools import cache import backtest.backtest_config as backtest_config import requests import json import pandas as pd
34.518519
159
0.59603
c1fd840d5ecdbc0915ab1f5085161cef7ecf53c7
1,257
py
Python
src/encoded/types/cell_annotation.py
Lattice-Data/encoded
94bb4f7cb51970523715e0598d84699a28f90861
[ "MIT" ]
null
null
null
src/encoded/types/cell_annotation.py
Lattice-Data/encoded
94bb4f7cb51970523715e0598d84699a28f90861
[ "MIT" ]
10
2020-07-22T20:16:15.000Z
2021-06-16T19:17:44.000Z
src/encoded/types/cell_annotation.py
Lattice-Data/encoded
94bb4f7cb51970523715e0598d84699a28f90861
[ "MIT" ]
null
null
null
from snovault import ( calculated_property, collection, load_schema, ) from .base import ( Item, )
26.1875
66
0.554495
c1fd99dc081e3e0e46f8e173b328ff9442c3aef2
68
py
Python
pufferfish/__init__.py
JohnUrban/pufferfish
27de965b34e87f775ca52daaf544a108a310e9db
[ "MIT" ]
1
2017-04-03T19:49:47.000Z
2017-04-03T19:49:47.000Z
squiggler/__init__.py
JohnUrban/squiggler
3ae5a1d0568d99bf914ce02a576a41f2e121686a
[ "MIT" ]
null
null
null
squiggler/__init__.py
JohnUrban/squiggler
3ae5a1d0568d99bf914ce02a576a41f2e121686a
[ "MIT" ]
null
null
null
import os import sys import scripts from version import __version__
13.6
31
0.852941
c1ff76b36c9dbf86dec877e09eab15874db75e42
5,118
py
Python
tests/test_pango.py
digitalvirtuoso/manim
3f223d680e3abb37de7f02ef767d604b7bbf95e9
[ "MIT" ]
2
2020-07-17T19:59:51.000Z
2020-10-14T16:38:23.000Z
tests/test_pango.py
aliPMPAINT/manim
f04a2e327517ecb7e51151c38a6ff36bc4abf2df
[ "MIT" ]
null
null
null
tests/test_pango.py
aliPMPAINT/manim
f04a2e327517ecb7e51151c38a6ff36bc4abf2df
[ "MIT" ]
null
null
null
"""Tests :class:`PangoText` by comparing SVG files created. """ import os import re import cairocffi import pangocairocffi import pangocffi from manim import START_X, START_Y, PangoText, SVGMobject RTL_TEXT: str = """ """ WIDTH: int = 600 HEIGTH: int = 400 folder: str = os.path.abspath(os.path.join("media", "texts...
36.557143
85
0.717468
c1ff88fad66967ae1ebe1bc58f80ce4b5daedef1
2,809
py
Python
cobra/utils/console_log.py
frankenstien-831/cobra
a2ec3ed1038c9606ed7e6978b5bf88f08fd2fc7f
[ "MIT" ]
53
2019-07-14T07:19:56.000Z
2022-03-25T06:56:04.000Z
cobra/utils/console_log.py
frankenstien-831/cobra
a2ec3ed1038c9606ed7e6978b5bf88f08fd2fc7f
[ "MIT" ]
1
2019-07-16T17:45:57.000Z
2019-07-17T22:16:09.000Z
cobra/utils/console_log.py
frankenstien-831/cobra
a2ec3ed1038c9606ed7e6978b5bf88f08fd2fc7f
[ "MIT" ]
11
2019-07-14T09:26:12.000Z
2021-12-10T11:23:19.000Z
from colorama import Fore, Style
49.280702
75
0.420434
de01884105e225c3e2617dac4fb2a36cf972600c
2,725
py
Python
python/ray/serve/tests/test_fastapi.py
jimzers/ray
de7ee75d27919178167cdc377e25441fc1b7a59b
[ "Apache-2.0" ]
null
null
null
python/ray/serve/tests/test_fastapi.py
jimzers/ray
de7ee75d27919178167cdc377e25441fc1b7a59b
[ "Apache-2.0" ]
40
2021-04-10T07:03:55.000Z
2022-03-12T08:04:04.000Z
python/ray/serve/tests/test_fastapi.py
ttumiel/ray
63594c537064d5cc47179169df6e6e6defa613d6
[ "Apache-2.0" ]
null
null
null
from fastapi import FastAPI import requests import pytest import inspect from ray import serve from ray.serve.utils import make_fastapi_class_based_view if __name__ == "__main__": import sys sys.exit(pytest.main(["-v", "-s", __file__]))
25.231481
70
0.622018
de020992d9c2e895643ea3290d2cf2e6d2c90a9e
3,907
py
Python
App/wizard/prefs/software.py
Wizard-collab/wizard
c2ec623fe011626716493c232b895fb0513f68ff
[ "MIT" ]
null
null
null
App/wizard/prefs/software.py
Wizard-collab/wizard
c2ec623fe011626716493c232b895fb0513f68ff
[ "MIT" ]
null
null
null
App/wizard/prefs/software.py
Wizard-collab/wizard
c2ec623fe011626716493c232b895fb0513f68ff
[ "MIT" ]
null
null
null
# coding: utf-8 # Defaults Python modules import os from wizard.prefs.site import site # Wizard prefs modules from wizard.prefs.user import user # Wizard tools modules from wizard.tools import log from wizard.tools import utility as util # Wizard variables modules from wizard.vars import defaults # Create the main l...
32.02459
94
0.646532
de025a2bd57c01dfe9a8caf784ef03bb282c675a
1,919
py
Python
evaluation/metrics.py
LaudateCorpus1/dm_c19_modelling
25c0a3c47df4f93991acaf4b5e4d3ab0a6d9b5ab
[ "Apache-2.0" ]
3
2021-07-21T10:05:55.000Z
2021-09-06T09:28:56.000Z
evaluation/metrics.py
deepmind/c19_modelling
25c0a3c47df4f93991acaf4b5e4d3ab0a6d9b5ab
[ "Apache-2.0" ]
1
2021-10-05T16:20:25.000Z
2021-10-05T16:20:25.000Z
evaluation/metrics.py
LaudateCorpus1/dm_c19_modelling
25c0a3c47df4f93991acaf4b5e4d3ab0a6d9b5ab
[ "Apache-2.0" ]
2
2021-08-04T16:10:28.000Z
2021-10-05T16:15:25.000Z
# pylint: disable=g-bad-file-header # Copyright 2020 DeepMind Technologies Limited. 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/...
40.829787
78
0.713913
de025c4b340cb55000bf3bafcb10a20043da87e2
29
py
Python
plugins/pelican-jinja2content/__init__.py
mohnjahoney/website_source
edc86a869b90ae604f32e736d9d5ecd918088e6a
[ "MIT" ]
17
2020-07-16T10:46:42.000Z
2022-02-04T13:33:10.000Z
plugins/pelican-jinja2content/__init__.py
mohnjahoney/website_source
edc86a869b90ae604f32e736d9d5ecd918088e6a
[ "MIT" ]
197
2016-01-01T18:26:21.000Z
2019-11-14T03:36:56.000Z
plugins/pelican-jinja2content/__init__.py
mohnjahoney/website_source
edc86a869b90ae604f32e736d9d5ecd918088e6a
[ "MIT" ]
20
2019-10-16T20:41:33.000Z
2021-12-18T22:00:06.000Z
from .jinja2content import *
14.5
28
0.793103
de027ed381e27521d180f60848ed257f616a7734
3,035
py
Python
src/eduid_userdb/tests/test_u2f.py
SUNET/eduid-userdb
5970880caf0b0e2bdee6c23869ef287acc87af2a
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
src/eduid_userdb/tests/test_u2f.py
SUNET/eduid-userdb
5970880caf0b0e2bdee6c23869ef287acc87af2a
[ "BSD-2-Clause-FreeBSD" ]
12
2015-08-28T12:05:32.000Z
2020-06-23T13:31:29.000Z
src/eduid_userdb/tests/test_u2f.py
SUNET/eduid-userdb
5970880caf0b0e2bdee6c23869ef287acc87af2a
[ "BSD-2-Clause-FreeBSD" ]
2
2016-10-24T06:37:33.000Z
2016-11-21T11:39:39.000Z
import copy import datetime from hashlib import sha256 from unittest import TestCase import eduid_userdb.element import eduid_userdb.exceptions from eduid_userdb.credentials import U2F, CredentialList __author__ = 'lundberg' # {'passwords': { # 'id': password_id, # 'salt': salt, # 'source': 'signup', # '...
31.28866
111
0.652059
de02cb831c54438434c8f706ebd7db2d34087b11
18,301
py
Python
models/ECAPA_TDNN.py
hiimmuc/Speaker-verification
b63a1821cbc672bbed7e939e85473337766681aa
[ "MIT" ]
2
2021-09-02T08:04:38.000Z
2021-10-21T02:45:35.000Z
models/ECAPA_TDNN.py
hiimmuc/Speaker-verification
b63a1821cbc672bbed7e939e85473337766681aa
[ "MIT" ]
null
null
null
models/ECAPA_TDNN.py
hiimmuc/Speaker-verification
b63a1821cbc672bbed7e939e85473337766681aa
[ "MIT" ]
null
null
null
import torch # noqa: F401 import torch.nn as nn import torch.nn.functional as F from models.ECAPA_utils import Conv1d as _Conv1d from models.ECAPA_utils import BatchNorm1d as _BatchNorm1d from utils import PreEmphasis import torchaudio def length_to_mask(length, max_len=None, dtype=None, device=None): ""...
31.607945
107
0.540408
de03666e334ae0858202f9ed124953d31b8a9572
249
py
Python
App/helpers.py
faustotnc/heart-health-interactive
3101f9972fcbe71b9cdeaed0427ae2b3ee0d5e79
[ "Apache-2.0" ]
null
null
null
App/helpers.py
faustotnc/heart-health-interactive
3101f9972fcbe71b9cdeaed0427ae2b3ee0d5e79
[ "Apache-2.0" ]
null
null
null
App/helpers.py
faustotnc/heart-health-interactive
3101f9972fcbe71b9cdeaed0427ae2b3ee0d5e79
[ "Apache-2.0" ]
null
null
null
import streamlit as st def add_space(size, col=None): """ Adds vertical space between two sections. """ (col if col else st).markdown( body=f"<div style='margin-top: {size}px'></div>", unsafe_allow_html=True )
19.153846
57
0.606426
de061f8ef236113e6114ec0c9c8473a641dfaccf
2,667
py
Python
envs/yumi/goal_vec_env.py
pcchenxi/skew-explore
fee27419a6168711eae23bc803875e36afe56438
[ "MIT" ]
3
2020-08-17T20:20:08.000Z
2021-05-25T07:44:35.000Z
envs/yumi/goal_vec_env.py
yqj13777866390/skew-explore
fee27419a6168711eae23bc803875e36afe56438
[ "MIT" ]
null
null
null
envs/yumi/goal_vec_env.py
yqj13777866390/skew-explore
fee27419a6168711eae23bc803875e36afe56438
[ "MIT" ]
1
2021-01-10T02:07:27.000Z
2021-01-10T02:07:27.000Z
import numpy as np from stable_baselines.common.vec_env import DummyVecEnv, SubprocVecEnv # class GoalSubprocVecEnv(SubprocVecEnv): # """ # extend the original SubprocVecEnv class with function set_goals for goal proposing # """ # def set_goals(self, goals): # for env_idx in range(self.num_envs...
43.016129
89
0.672291
de08610cedd78e43d431df85365d4dfba4c47907
4,193
py
Python
users/forms.py
amjadcp/bookingLine-grpA-miniProject
f57fc06f85edfb08f9c170757fddbf7b6de6f35a
[ "PostgreSQL", "Unlicense", "MIT" ]
null
null
null
users/forms.py
amjadcp/bookingLine-grpA-miniProject
f57fc06f85edfb08f9c170757fddbf7b6de6f35a
[ "PostgreSQL", "Unlicense", "MIT" ]
null
null
null
users/forms.py
amjadcp/bookingLine-grpA-miniProject
f57fc06f85edfb08f9c170757fddbf7b6de6f35a
[ "PostgreSQL", "Unlicense", "MIT" ]
null
null
null
from django import forms from django.contrib.auth.forms import UserCreationForm from .models import *
32.007634
91
0.463153
de09084f829fcd9d74df726b1380639b838d0319
541
py
Python
Web_Development_Python/RealPython/sql/11_sql.py
nitin-cherian/LifeLongLearning
84084792058358365162c645742c70064a2d5fd6
[ "MIT" ]
4
2018-01-19T17:15:06.000Z
2018-01-24T00:06:42.000Z
Web_Development_Python/RealPython/sql/11_sql.py
nitin-cherian/LifeLongLearning
84084792058358365162c645742c70064a2d5fd6
[ "MIT" ]
null
null
null
Web_Development_Python/RealPython/sql/11_sql.py
nitin-cherian/LifeLongLearning
84084792058358365162c645742c70064a2d5fd6
[ "MIT" ]
null
null
null
# JOINing data from multiple tables # import sqlite3 library import sqlite3 with sqlite3.connect("new.db") as connection: c = connection.cursor() c.execute("""SELECT DISTINCT population.city, population.population, regions.region FROM population,regions WHERE population.c...
22.541667
87
0.619224
de0919496be2caa61d95bbdc844b22ca197b6f48
14,457
py
Python
examples/ImageRecon/GEOmetrics/train.py
Tarkiyah/kaotlin
97374f648a53f6532f2348ca3f9ace943c4e2a4c
[ "ECL-2.0", "Apache-2.0" ]
2
2021-10-31T01:08:17.000Z
2021-11-08T09:43:17.000Z
examples/ImageRecon/GEOmetrics/train.py
AOE-khkhan/kaolin
ed132736421ee723d14d59eaeb0286a8916a159d
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
examples/ImageRecon/GEOmetrics/train.py
AOE-khkhan/kaolin
ed132736421ee723d14d59eaeb0286a8916a159d
[ "ECL-2.0", "Apache-2.0" ]
1
2021-07-17T16:08:35.000Z
2021-07-17T16:08:35.000Z
# Copyright (c) 2019, NVIDIA CORPORATION. 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 applicabl...
40.495798
148
0.672477
de099d4ec50e073b7b276ce018da4f6af5d4b5ff
2,524
py
Python
tests/foofixtures.py
dannguyen/pgark
6fa2f4f6b39e9cab520e32a61afe3404cdf4f34b
[ "MIT" ]
1
2021-02-28T03:56:52.000Z
2021-02-28T03:56:52.000Z
tests/foofixtures.py
dannguyen/pgark
6fa2f4f6b39e9cab520e32a61afe3404cdf4f34b
[ "MIT" ]
null
null
null
tests/foofixtures.py
dannguyen/pgark
6fa2f4f6b39e9cab520e32a61afe3404cdf4f34b
[ "MIT" ]
null
null
null
import pytest import responses import json as jsonlib from pathlib import Path import pgark import pgark.archivers.wayback as wb FIXTURES_DIR = Path("tests/fixtures/_old")
25.494949
73
0.585182
de0b67f55209e2ecc6fb50b240d4a9427e7348df
835
py
Python
alien.py
alaanlimaa/jogo_invasao_alienigena
34ba78ada57ea59da12ef1b54e653270188bd1ce
[ "MIT" ]
null
null
null
alien.py
alaanlimaa/jogo_invasao_alienigena
34ba78ada57ea59da12ef1b54e653270188bd1ce
[ "MIT" ]
null
null
null
alien.py
alaanlimaa/jogo_invasao_alienigena
34ba78ada57ea59da12ef1b54e653270188bd1ce
[ "MIT" ]
null
null
null
import pygame as pg from pygame.sprite import Sprite
29.821429
79
0.653892
de0b80e419af4dc6fc3a94037ba0c532fce15f88
6,267
py
Python
core/settings.py
ZeroExistence/blog_moe_ph_api
03084202631105e7f8d32e3c215399804cd1bcd6
[ "MIT" ]
null
null
null
core/settings.py
ZeroExistence/blog_moe_ph_api
03084202631105e7f8d32e3c215399804cd1bcd6
[ "MIT" ]
null
null
null
core/settings.py
ZeroExistence/blog_moe_ph_api
03084202631105e7f8d32e3c215399804cd1bcd6
[ "MIT" ]
null
null
null
""" Django settings for core project. Generated by 'django-admin startproject' using Django 3.1.3. For more information on this file, see https://docs.djangoproject.com/en/3.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.1/ref/settings/ """ from pathlib im...
27.247826
154
0.657891
de0e735f15620c71072611faa3fc697b0f1ef4db
16,195
py
Python
object_detection2/modeling/onestage_heads/fcos_outputsv2.py
vghost2008/wml
d0c5a1da6c228e321ae59a563e9ac84aa66266ff
[ "MIT" ]
6
2019-12-10T17:18:56.000Z
2022-03-01T01:00:35.000Z
object_detection2/modeling/onestage_heads/fcos_outputsv2.py
vghost2008/wml
d0c5a1da6c228e321ae59a563e9ac84aa66266ff
[ "MIT" ]
2
2021-08-25T16:16:01.000Z
2022-02-10T05:21:19.000Z
object_detection2/modeling/onestage_heads/fcos_outputsv2.py
vghost2008/wml
d0c5a1da6c228e321ae59a563e9ac84aa66266ff
[ "MIT" ]
2
2019-12-07T09:57:35.000Z
2021-09-06T04:58:10.000Z
#coding=utf-8 import tensorflow as tf import wml_tfutils as wmlt import wnn import functools import tfop import object_detection2.bboxes as odbox from object_detection2.standard_names import * import wmodule from object_detection2.modeling.onestage_heads.onestage_tools import * from object_detection2.datadef import * f...
48.927492
132
0.614202
de0ec166301768ecd45c66fc958622d5afd23ae6
8,756
py
Python
db_controller.py
ejeiffe/Reference-Manager
2ee901ba7e44914319a36e5dfc46e2ac4756ee04
[ "MIT" ]
2
2020-05-04T10:40:31.000Z
2021-04-05T12:13:22.000Z
db_controller.py
ejeiffe/Reference-Manager
2ee901ba7e44914319a36e5dfc46e2ac4756ee04
[ "MIT" ]
null
null
null
db_controller.py
ejeiffe/Reference-Manager
2ee901ba7e44914319a36e5dfc46e2ac4756ee04
[ "MIT" ]
1
2021-03-04T09:11:42.000Z
2021-03-04T09:11:42.000Z
import sqlite3
50.906977
168
0.631224
de0ed518e86bcc22e91a486320374a237105f31a
3,070
py
Python
tests/test_schemas/full_put_schema.py
gavrie/swagger-conformance
58d970bf9a8886e54de408e705c128884af4d70d
[ "MIT" ]
55
2017-04-21T23:41:20.000Z
2021-04-27T13:24:22.000Z
tests/test_schemas/full_put_schema.py
gavrie/swagger-conformance
58d970bf9a8886e54de408e705c128884af4d70d
[ "MIT" ]
10
2018-02-12T18:49:07.000Z
2020-12-03T12:27:05.000Z
tests/test_schemas/full_put_schema.py
gavrie/swagger-conformance
58d970bf9a8886e54de408e705c128884af4d70d
[ "MIT" ]
12
2017-10-31T12:39:28.000Z
2020-07-13T08:23:44.000Z
''' A simple REST API exposing a swagger schema. ''' import logging import os.path from flask import request from flask_restplus import Resource, fields from common import main, api log = logging.getLogger(__name__) example_ns = api.namespace('example', description="Example operations") # Define some custom fie...
33.369565
76
0.53127
de0f5660ff8481c2a4f37f981967e6c65955ffe9
818
py
Python
ssu-calculus-methods/cubic_spline.py
Imperat/SSU-Information-Security-Course
24c04cb8b4da0231d65d587e981e15b1fefc19eb
[ "Apache-2.0" ]
null
null
null
ssu-calculus-methods/cubic_spline.py
Imperat/SSU-Information-Security-Course
24c04cb8b4da0231d65d587e981e15b1fefc19eb
[ "Apache-2.0" ]
null
null
null
ssu-calculus-methods/cubic_spline.py
Imperat/SSU-Information-Security-Course
24c04cb8b4da0231d65d587e981e15b1fefc19eb
[ "Apache-2.0" ]
null
null
null
from math import sin ys = [sin(i) for i in range(1,3.14, 0.2)] xs = range(1, 3.14, 0.2) lamba1 = (3 * f_r(2) - 3 * f_r(1)) / (2 * (h(1) + h(2))) delta1 = - h(2) / (2 * (h(1) + h(2))) deltas = [delta1] lambas = [lamba1] for k in range(3,n): t = h(k) / (2 * h(k-1) + 2 * h(k) + h(k-1) * deltas[-1]) ...
21.526316
61
0.430318
de0f64cdd410f171eb59a7a23bdb2ba876e40cd2
10,331
py
Python
src/pyams_thesaurus/zmi/term.py
Py-AMS/pyams-thesaurus
c342a1d80042bd17b3bd36295bfea296ccc7f357
[ "ZPL-2.1" ]
null
null
null
src/pyams_thesaurus/zmi/term.py
Py-AMS/pyams-thesaurus
c342a1d80042bd17b3bd36295bfea296ccc7f357
[ "ZPL-2.1" ]
null
null
null
src/pyams_thesaurus/zmi/term.py
Py-AMS/pyams-thesaurus
c342a1d80042bd17b3bd36295bfea296ccc7f357
[ "ZPL-2.1" ]
null
null
null
# # Copyright (c) 2015-2021 Thierry Florac <tflorac AT ulthar.net> # 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. # THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED # WARRAN...
39.431298
91
0.599652
de11223e3e75fc6e894f166dfe6ed7b445b1b448
11,677
py
Python
experiments/mol/configs.py
shyam196/egc
43ddb88e82b6e2e3ac7c9a3736a8e55954168f5e
[ "MIT" ]
18
2021-04-05T08:20:08.000Z
2022-03-30T22:15:12.000Z
experiments/mol/configs.py
shyam196/egc
43ddb88e82b6e2e3ac7c9a3736a8e55954168f5e
[ "MIT" ]
1
2021-04-06T21:39:39.000Z
2021-04-06T22:12:46.000Z
experiments/mol/configs.py
shyam196/egc
43ddb88e82b6e2e3ac7c9a3736a8e55954168f5e
[ "MIT" ]
4
2021-04-15T14:34:48.000Z
2021-10-17T12:25:29.000Z
import torch import torch.nn.functional as F from exptune.exptune import ExperimentSettings, Metric, TrialResources from exptune.hyperparams import ( ChoiceHyperParam, LogUniformHyperParam, UniformHyperParam, ) from exptune.search_strategies import GridSearchStrategy from exptune.summaries.final_run_summari...
29.941026
88
0.587308
de123aa1128d6ecaaf7b7f80133bf558b3bdcdb1
4,097
py
Python
zou_2021/strain_energy.py
andrewtarzia/citable_data
6a9b94c7f1bddbd1f5f2f6e042fead632d17cc74
[ "MIT" ]
null
null
null
zou_2021/strain_energy.py
andrewtarzia/citable_data
6a9b94c7f1bddbd1f5f2f6e042fead632d17cc74
[ "MIT" ]
null
null
null
zou_2021/strain_energy.py
andrewtarzia/citable_data
6a9b94c7f1bddbd1f5f2f6e042fead632d17cc74
[ "MIT" ]
null
null
null
from os.path import exists import json import stk from atools import ( get_organic_linkers, calculate_energy, read_gfnx2xtb_eyfile ) def calculate_ligand_SE( org_ligs, sdict, opt_mol_dir, output_json, ): """ Calculate the strain energy of each ligand in the cage. Parameters ----...
26.262821
69
0.53527
de129eac046fccfa2f9c457c8305d20f43f95814
265
py
Python
openCV/ShowImage.py
MatveiAleksandrovich/Artificial-Intelligence
d3d6f253e7c2256f6f9d490b077bdb50ca1da229
[ "MIT" ]
null
null
null
openCV/ShowImage.py
MatveiAleksandrovich/Artificial-Intelligence
d3d6f253e7c2256f6f9d490b077bdb50ca1da229
[ "MIT" ]
null
null
null
openCV/ShowImage.py
MatveiAleksandrovich/Artificial-Intelligence
d3d6f253e7c2256f6f9d490b077bdb50ca1da229
[ "MIT" ]
null
null
null
import cv2 img = cv2.imread('assets/PersLogo_4.jpg', -1) img = cv2.resize(img, (0, 0), fx=0.5, fy=0.5) img = cv2.rotate(img, cv2.cv2.ROTATE_90_COUNTERCLOCKWISE) cv2.imwrite('assets/new_img.jpg', img) cv2.imshow('Image ', img) cv2.waitKey(0) cv2.destroyWindow()
22.083333
57
0.701887
de1335c8676fc555e37a1a77fd0c651c52901bd5
1,305
py
Python
angr/procedures/posix/accept.py
Kyle-Kyle/angr
345b2131a7a67e3a6ffc7d9fd475146a3e12f837
[ "BSD-2-Clause" ]
6,132
2015-08-06T23:24:47.000Z
2022-03-31T21:49:34.000Z
angr/procedures/posix/accept.py
Kyle-Kyle/angr
345b2131a7a67e3a6ffc7d9fd475146a3e12f837
[ "BSD-2-Clause" ]
2,272
2015-08-10T08:40:07.000Z
2022-03-31T23:46:44.000Z
angr/procedures/posix/accept.py
Kyle-Kyle/angr
345b2131a7a67e3a6ffc7d9fd475146a3e12f837
[ "BSD-2-Clause" ]
1,155
2015-08-06T23:37:39.000Z
2022-03-31T05:54:11.000Z
import angr ###################################### # accept (but not really) ######################################
42.096774
103
0.585441
de15fbbe1b7d2965b241fbdd3c9b6e81ae96f168
924
py
Python
common/evaluate.py
Ji-Xin/bovina
3690ca73c99e0fb451547ce690e03cb9c4d6213c
[ "Apache-2.0" ]
6
2019-04-08T05:53:03.000Z
2021-02-06T08:19:36.000Z
common/evaluate.py
Ji-Xin/bovina
3690ca73c99e0fb451547ce690e03cb9c4d6213c
[ "Apache-2.0" ]
18
2019-03-13T20:19:02.000Z
2019-07-30T18:53:03.000Z
common/evaluate.py
Ji-Xin/bovina
3690ca73c99e0fb451547ce690e03cb9c4d6213c
[ "Apache-2.0" ]
2
2019-03-11T14:13:42.000Z
2019-10-20T21:50:25.000Z
from common.evaluators.diff_token_evaluator import DiffTokenEvaluator from common.evaluators.paired_token_evaluator import PairedTokenEvaluator
35.538462
106
0.722944
a9a63bf94e80ef53297bd881b848b356b0fc09e3
2,412
py
Python
cluster_scripts/gen_train_exp.py
LasseWolter/laughter-detection-icsi
7e01a00f81332cd35a6266fa4d1d83b800944a40
[ "MIT" ]
null
null
null
cluster_scripts/gen_train_exp.py
LasseWolter/laughter-detection-icsi
7e01a00f81332cd35a6266fa4d1d83b800944a40
[ "MIT" ]
null
null
null
cluster_scripts/gen_train_exp.py
LasseWolter/laughter-detection-icsi
7e01a00f81332cd35a6266fa4d1d83b800944a40
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 """Script for generating experiments.txt""" import os from lxml import etree from dotenv import load_dotenv, find_dotenv import sys from pathlib import Path sys.path.append(str(Path(__file__).parent.parent)) from config import ANALYSIS as cfg load_dotenv(find_dotenv('.env')) FEATS_DIR=os.getenv(...
36
174
0.700249
a9a6afc3173d68681dcae81aae4811f5fd44ca32
1,299
py
Python
nuts.py
rasmuse/subnational-p-budgets
156437c816aafc9b4758464526a03939adf50c48
[ "MIT" ]
null
null
null
nuts.py
rasmuse/subnational-p-budgets
156437c816aafc9b4758464526a03939adf50c48
[ "MIT" ]
null
null
null
nuts.py
rasmuse/subnational-p-budgets
156437c816aafc9b4758464526a03939adf50c48
[ "MIT" ]
null
null
null
import pandas as pd import eust import hierarchy import settings
22.789474
76
0.622787
a9a7f46c7572b94c3a18b2d17dc43d55e2adfce7
41,790
py
Python
packages/depscloud-api-python/depscloud_api/v1alpha/tracker/tracker_pb2.py
depscloud/api
8a7dccb76186d0b76821977c50323f6dfcab046a
[ "MIT" ]
3
2019-09-23T14:05:06.000Z
2020-04-22T18:39:30.000Z
packages/depscloud-api-python/depscloud_api/v1alpha/tracker/tracker_pb2.py
depscloud/api
8a7dccb76186d0b76821977c50323f6dfcab046a
[ "MIT" ]
57
2020-06-28T15:41:57.000Z
2022-03-26T22:44:12.000Z
packages/depscloud-api-python/depscloud_api/v1alpha/tracker/tracker_pb2.py
depscloud/api
8a7dccb76186d0b76821977c50323f6dfcab046a
[ "MIT" ]
2
2019-11-23T03:36:08.000Z
2020-04-27T09:30:16.000Z
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: depscloud_api/v1alpha/tracker/tracker.proto """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _...
43.350622
4,569
0.7771
a9a88be0ef966f33151c466cf8087bb099a53eee
3,089
py
Python
alembic/versions/d365c792c756_convert_two_streets_cache_to_single.py
shaysw/anyway
35dec531fd4ac79c99d09e684027df017e989ddc
[ "MIT" ]
1
2022-01-19T18:23:03.000Z
2022-01-19T18:23:03.000Z
alembic/versions/d365c792c756_convert_two_streets_cache_to_single.py
shaysw/anyway
35dec531fd4ac79c99d09e684027df017e989ddc
[ "MIT" ]
2
2021-11-02T13:37:23.000Z
2021-11-23T15:51:06.000Z
alembic/versions/d365c792c756_convert_two_streets_cache_to_single.py
shaysw/anyway
35dec531fd4ac79c99d09e684027df017e989ddc
[ "MIT" ]
null
null
null
"""convert-two-streets-cache-to-single Revision ID: d365c792c756 Revises: b38237665bc9 Create Date: 2021-12-30 16:57:22.196091 """ # revision identifiers, used by Alembic. revision = 'd365c792c756' down_revision = 'b38237665bc9' branch_labels = None depends_on = None from alembic import op import sqlalchemy as sa f...
38.135802
109
0.652962
a9a9147d3a3896f06d1cc43042c2036d892a829a
1,776
py
Python
cachefy.py
aspnetcs/RecurJac-and-CROWN
5b3fcaaa7a275483e26164506f66a618538ee881
[ "BSD-2-Clause" ]
54
2020-09-09T12:43:43.000Z
2022-03-17T17:31:19.000Z
cachefy.py
huanzhang12/RecurJac-Jacobian-Bounds
163c84e7a8d345d18c718cf6b0bc61baa8a1a78a
[ "BSD-2-Clause" ]
8
2020-09-23T05:11:31.000Z
2022-03-12T00:47:29.000Z
cachefy.py
huanzhang12/RecurJac
163c84e7a8d345d18c718cf6b0bc61baa8a1a78a
[ "BSD-2-Clause" ]
5
2020-09-10T07:19:43.000Z
2021-07-24T06:28:04.000Z
#!/usr/bin/env python3 ## cachefy.py ## ## Add or remove numba "cache" decorators ## ## Copyright (C) 2018, Huan Zhang <huan@huan-zhang.com> and contributors ## ## This program is licenced under the BSD 2-Clause License, ## contained in the LICENCE file in this directory. ## See CREDITS for a list of contributors. ##...
26.507463
75
0.492117
a9a9700acbe8d4b83232569e31a1d7260b1f8b80
41
py
Python
visualization/visualizer/__init__.py
zhigangjiang/LGT-Net
d9a619158b2dc66a50c100e7fa7e491f1df16fd7
[ "MIT" ]
11
2022-03-03T17:49:33.000Z
2022-03-25T11:23:11.000Z
visualization/visualizer/__init__.py
zhigangjiang/LGT-Net
d9a619158b2dc66a50c100e7fa7e491f1df16fd7
[ "MIT" ]
null
null
null
visualization/visualizer/__init__.py
zhigangjiang/LGT-Net
d9a619158b2dc66a50c100e7fa7e491f1df16fd7
[ "MIT" ]
1
2022-03-04T06:39:50.000Z
2022-03-04T06:39:50.000Z
""" @Date: 2021/11/06 @description: """
8.2
17
0.560976
a9ab97df2b4e2947fbef542a5ade971945d4bf04
2,481
py
Python
__init__.py
felipedeaquino/firstFm
eb5f143e59aada0e4151901ff72bd20a573af2fc
[ "MIT" ]
null
null
null
__init__.py
felipedeaquino/firstFm
eb5f143e59aada0e4151901ff72bd20a573af2fc
[ "MIT" ]
null
null
null
__init__.py
felipedeaquino/firstFm
eb5f143e59aada0e4151901ff72bd20a573af2fc
[ "MIT" ]
null
null
null
__version__ = '0.1.0' from urllib.request import urlopen import datetime from datetime import timedelta from bs4 import BeautifulSoup inputUser = input('Qual nick do Last.fm tu quer o relatrio? ') #inserir usurio now = datetime.datetime.now().timestamp() #manda timestamp de agora byeFloat = int(now) #deixa de ser fl...
44.303571
133
0.669488