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
986ac397932279d6a6baa2e1d1a81f4621e3adb3
2,193
py
Python
bin/watcher.py
kitaro-tn/lambda_deploy
7da5d604f214daf3d14ada5f3a69f324130c821b
[ "MIT" ]
null
null
null
bin/watcher.py
kitaro-tn/lambda_deploy
7da5d604f214daf3d14ada5f3a69f324130c821b
[ "MIT" ]
1
2021-06-01T23:00:26.000Z
2021-06-01T23:00:26.000Z
bin/watcher.py
tanish-kr/lambda_deploy
7da5d604f214daf3d14ada5f3a69f324130c821b
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import os import sys import time import re import logging import subprocess from watchdog.observers import Observer from watchdog.events import LoggingEventHandler from watchdog.events import FileSystemEventHandler if __name__ == "__main__": logging.basicConfig(level=logging.INFO, ...
30.887324
100
0.622891
986afc8c8252f43697256a6f683c7548d2d1d640
558
py
Python
example/gaussian_elimination.py
iamaris/ppf
60f798eaea69e7dec2b8c422ceb684219b1645d0
[ "MIT" ]
2
2019-10-26T17:18:41.000Z
2020-06-05T11:26:10.000Z
example/gaussian_elimination.py
iamaris/ppf
60f798eaea69e7dec2b8c422ceb684219b1645d0
[ "MIT" ]
null
null
null
example/gaussian_elimination.py
iamaris/ppf
60f798eaea69e7dec2b8c422ceb684219b1645d0
[ "MIT" ]
5
2019-01-24T16:44:07.000Z
2020-09-14T06:56:55.000Z
import numpy from numpy import dot if __name__ == "__main__": a = numpy.array( [[ 4., -2., 1.], [-2., 4., -2.], [ 1., -2., 4.]]) b = numpy.array([[11.],[-16.],[17.]]) x = gaussian_elimination(a.copy(), b) print x print dot(a, x)
22.32
58
0.453405
986b4eb3404a6056f028d5b2e0888b2f1504a9e7
1,009
py
Python
src/python/strelka/scanners/scan_bzip2.py
weslambert/strelka
a941020a9f363774017cb045c4ec173f144c13a0
[ "Apache-2.0" ]
513
2018-09-26T18:57:40.000Z
2022-03-31T18:13:53.000Z
src/python/strelka/scanners/scan_bzip2.py
weslambert/strelka
a941020a9f363774017cb045c4ec173f144c13a0
[ "Apache-2.0" ]
79
2018-09-28T01:05:25.000Z
2022-03-02T12:22:23.000Z
src/python/strelka/scanners/scan_bzip2.py
weslambert/strelka
a941020a9f363774017cb045c4ec173f144c13a0
[ "Apache-2.0" ]
88
2018-09-26T20:10:56.000Z
2022-03-28T02:06:22.000Z
import bz2 import io from strelka import strelka
30.575758
64
0.474727
986c75e370e34a52e4bf7dc513dbd76a17105cd9
245
py
Python
ENV/lib/python3.6/site-packages/pyramid/resource.py
captain-c00keys/pyramid-stocks
0acf3363a6a7ee61cd41b855f43c9d6f9582ae6a
[ "MIT" ]
null
null
null
ENV/lib/python3.6/site-packages/pyramid/resource.py
captain-c00keys/pyramid-stocks
0acf3363a6a7ee61cd41b855f43c9d6f9582ae6a
[ "MIT" ]
null
null
null
ENV/lib/python3.6/site-packages/pyramid/resource.py
captain-c00keys/pyramid-stocks
0acf3363a6a7ee61cd41b855f43c9d6f9582ae6a
[ "MIT" ]
null
null
null
""" Backwards compatibility shim module (forever). """ from pyramid.asset import * # b/w compat resolve_resource_spec = resolve_asset_spec resource_spec_from_abspath = asset_spec_from_abspath abspath_from_resource_spec = abspath_from_asset_spec
40.833333
54
0.840816
986e12c15ea58c908f90556561a79c323476a15d
2,985
py
Python
tgext/evolve/__init__.py
axant/tgext.evolve
9072a156f63c22445be385014541bb5c0ad065f2
[ "MIT" ]
null
null
null
tgext/evolve/__init__.py
axant/tgext.evolve
9072a156f63c22445be385014541bb5c0ad065f2
[ "MIT" ]
null
null
null
tgext/evolve/__init__.py
axant/tgext.evolve
9072a156f63c22445be385014541bb5c0ad065f2
[ "MIT" ]
null
null
null
from tg.configuration import milestones from tg.appwrappers.base import ApplicationWrapper from .evolver import Evolution from webob.exc import HTTPServiceUnavailable from threading import Thread __all__ = ['plugme', 'Evolution'] import logging log = logging.getLogger('tgext.evolve')
36.402439
115
0.688442
986f4f99c75768f4e311bdc0d8bfb4d47dcf11f2
1,189
py
Python
simple linear regression/simpleLinearReg.py
Sammy-Barasa/Artificial-Inteligence-and-Machine-Learning
7668ec502f13fa0ec36bb909da1160c19106c4fc
[ "MIT" ]
null
null
null
simple linear regression/simpleLinearReg.py
Sammy-Barasa/Artificial-Inteligence-and-Machine-Learning
7668ec502f13fa0ec36bb909da1160c19106c4fc
[ "MIT" ]
null
null
null
simple linear regression/simpleLinearReg.py
Sammy-Barasa/Artificial-Inteligence-and-Machine-Learning
7668ec502f13fa0ec36bb909da1160c19106c4fc
[ "MIT" ]
null
null
null
#imports import matplotlib.pyplot as plt import pandas as pd from sklearn.linear_model import LinearRegression from sklearn.model_selection import train_test_split #Loading the data from a csv dataset=pd.read_csv("Salary_Data.csv") #Data pre processing for salary vs experience x=dataset.iloc[:,:-1].values print(...
23.78
80
0.787216
986fb6556cd010b2a735198814dbb2a544ab1e34
2,235
py
Python
py/1041.robot-bounded-in-circle.py
ck2w/leetcode
2d411530b690a2e51b0ae518bf3efaad2edc1083
[ "MIT" ]
null
null
null
py/1041.robot-bounded-in-circle.py
ck2w/leetcode
2d411530b690a2e51b0ae518bf3efaad2edc1083
[ "MIT" ]
null
null
null
py/1041.robot-bounded-in-circle.py
ck2w/leetcode
2d411530b690a2e51b0ae518bf3efaad2edc1083
[ "MIT" ]
null
null
null
# # @lc app=leetcode id=1041 lang=python3 # # [1041] Robot Bounded In Circle # # https://leetcode.com/problems/robot-bounded-in-circle/description/ # # algorithms # Medium (54.22%) # Likes: 557 # Dislikes: 176 # Total Accepted: 39.9K # Total Submissions: 73.7K # Testcase Example: '"GGLLGG"' # # On an infinite pl...
21.699029
78
0.561074
986fc1135486d171a1e649556cb3989527131ad3
133
py
Python
tests/regularizedtau/__init__.py
TukisTukis/linvpy
471fb8b456af3bf22ced5e8fe1ec0fbbad8a08c8
[ "BSD-2-Clause" ]
16
2016-10-18T03:36:47.000Z
2020-03-02T08:01:21.000Z
tests/regularizedtau/__init__.py
TukisTukis/linvpy
471fb8b456af3bf22ced5e8fe1ec0fbbad8a08c8
[ "BSD-2-Clause" ]
3
2016-10-18T03:37:19.000Z
2019-01-24T13:02:28.000Z
tests/regularizedtau/__init__.py
TukisTukis/linvpy
471fb8b456af3bf22ced5e8fe1ec0fbbad8a08c8
[ "BSD-2-Clause" ]
4
2017-04-07T07:03:55.000Z
2020-07-17T03:40:10.000Z
# __all__ = ['linvpy_latest', 'toolboxutilities_latest', 'toolboxinverse_latest'] # in your __init__.py from regularizedtau import *
33.25
81
0.781955
986fec6407d29e5bfc411010d765dcbb343988ce
2,381
py
Python
persistence/layer.py
pminervini/DeepKGC
ed55d0a28d7607324def7c48ebde98786c11d5e1
[ "MIT" ]
5
2015-11-22T11:20:45.000Z
2017-09-20T13:14:51.000Z
persistence/layer.py
pminervini/DeepKGC
ed55d0a28d7607324def7c48ebde98786c11d5e1
[ "MIT" ]
null
null
null
persistence/layer.py
pminervini/DeepKGC
ed55d0a28d7607324def7c48ebde98786c11d5e1
[ "MIT" ]
5
2016-03-17T03:03:22.000Z
2018-10-23T08:59:40.000Z
# -*- coding: utf-8 -*- from abc import ABCMeta, abstractmethod import datetime, time import sys, os, os.path import pymongo import cPickle as pickle import logging
25.063158
108
0.601428
9871044a50f6b8ea1c144e417127b1e4c3c0e043
1,035
py
Python
Day10-19/11.py
bcongdon/advent_of_code_2017
ad9a9b028716c9387dddc3ef9ee34c3a70fea151
[ "MIT" ]
15
2017-12-05T16:01:39.000Z
2020-11-03T00:01:03.000Z
Day10-19/11.py
bcongdon/advent_of_code_2017
ad9a9b028716c9387dddc3ef9ee34c3a70fea151
[ "MIT" ]
null
null
null
Day10-19/11.py
bcongdon/advent_of_code_2017
ad9a9b028716c9387dddc3ef9ee34c3a70fea151
[ "MIT" ]
null
null
null
if __name__ == '__main__': with open('11.txt') as f: directions = f.read().split(',') part1, part2 = path_dist(directions) print("Part 1: {}".format(part1)) print("Part 2: {}".format(part2))
25.243902
51
0.535266
987212e9935b27eb8454286fdd3a99fa1b5c3a93
3,809
py
Python
handwritten_ocr/pdf_to_images.py
testigos2022/ocr-forms
da4e4b70975d799754bdc470526295cdefc77d34
[ "MIT" ]
null
null
null
handwritten_ocr/pdf_to_images.py
testigos2022/ocr-forms
da4e4b70975d799754bdc470526295cdefc77d34
[ "MIT" ]
null
null
null
handwritten_ocr/pdf_to_images.py
testigos2022/ocr-forms
da4e4b70975d799754bdc470526295cdefc77d34
[ "MIT" ]
null
null
null
import os from dataclasses import dataclass, field from pathlib import Path from typing import Any, Callable, Union, Iterator, Iterable from PIL.PpmImagePlugin import PpmImageFile from misc_utils.cached_data import CachedData from misc_utils.dataclass_utils import _UNDEFINED, UNDEFINED from misc_utils.prefix_suffix im...
34.627273
128
0.667104
98725bcf75d90a74eac93b39fd6ebe4b9b3823b0
1,654
py
Python
pd_parallel/tools.py
xbanke/pandas-parallel
f3b5f0cba1b639551cc9a1e04af58f4015053c99
[ "MIT" ]
1
2019-05-11T22:11:46.000Z
2019-05-11T22:11:46.000Z
pd_parallel/tools.py
xbanke/pandas-parallel
f3b5f0cba1b639551cc9a1e04af58f4015053c99
[ "MIT" ]
null
null
null
pd_parallel/tools.py
xbanke/pandas-parallel
f3b5f0cba1b639551cc9a1e04af58f4015053c99
[ "MIT" ]
null
null
null
#! /usr/bin/env python # -*- coding: utf-8 -*- """ @version: 0.1 @author: quantpy @file: tools.py @time: 2018/4/11 16:25 """ import os from functools import partial import numpy as np import pandas as pd from .apply_parallel import df_group_apply_parallel def get_grouper(df: pd.DataFrame, by=None, axis=0, le...
31.207547
121
0.689843
987362642a365e5423cf2bd55917ff9447725133
512
py
Python
workers/metric_status_worker/tests/tests_worker.py
ishagarg06/augur
2295d48288d243c9ac01bf54ba140ca756828929
[ "MIT" ]
null
null
null
workers/metric_status_worker/tests/tests_worker.py
ishagarg06/augur
2295d48288d243c9ac01bf54ba140ca756828929
[ "MIT" ]
null
null
null
workers/metric_status_worker/tests/tests_worker.py
ishagarg06/augur
2295d48288d243c9ac01bf54ba140ca756828929
[ "MIT" ]
null
null
null
import requests import pytest from metric_status_worker.worker import MetricsStatus
30.117647
67
0.734375
9873a808f133176d36f13d62415361d7e99b6f93
3,563
py
Python
general/lies-damnlies-stats/server/stats/tests.py
jeremyosborne/examples-python
5900b3a4f47d59de0a32d3257a8b90a44e80fdcd
[ "MIT" ]
null
null
null
general/lies-damnlies-stats/server/stats/tests.py
jeremyosborne/examples-python
5900b3a4f47d59de0a32d3257a8b90a44e80fdcd
[ "MIT" ]
null
null
null
general/lies-damnlies-stats/server/stats/tests.py
jeremyosborne/examples-python
5900b3a4f47d59de0a32d3257a8b90a44e80fdcd
[ "MIT" ]
null
null
null
""" Automated tests for the ldls application. """ import json from datetime import datetime from django.utils import unittest from django.db import models from jsonserializermixin import JSONSerializerMixin from jsonencoderdelegator import JSONEncoderDelegator
33.613208
80
0.579848
9874849b08248f2d12b5e87f81348c5947b4f011
609
py
Python
abstract/view.py
bkosciow/piader
81ca2c8a4bd4a834fb460b5306fca0c5ce0584c4
[ "MIT" ]
null
null
null
abstract/view.py
bkosciow/piader
81ca2c8a4bd4a834fb460b5306fca0c5ce0584c4
[ "MIT" ]
null
null
null
abstract/view.py
bkosciow/piader
81ca2c8a4bd4a834fb460b5306fca0c5ce0584c4
[ "MIT" ]
null
null
null
#!/usr/bin/python # -*- coding: utf-8 -*- #pylint: disable=I0011,R0913,R0902,R0921 """View interface""" from builtins import object
25.375
60
0.632184
9874c094dee995f171864cf9fc6e8566bd56593c
888
py
Python
src/sage/misc/multireplace.py
bopopescu/sage
2d495be78e0bdc7a0a635454290b27bb4f5f70f0
[ "BSL-1.0" ]
4
2020-07-17T04:49:44.000Z
2020-07-29T06:33:51.000Z
src/sage/misc/multireplace.py
Ivo-Maffei/sage
467fbc70a08b552b3de33d9065204ee9cbfb02c7
[ "BSL-1.0" ]
2
2018-10-30T13:40:20.000Z
2020-07-23T12:13:30.000Z
src/sage/misc/multireplace.py
dimpase/sage
468f23815ade42a2192b0a9cd378de8fdc594dcd
[ "BSL-1.0" ]
7
2021-11-08T10:01:59.000Z
2022-03-03T11:25:52.000Z
"multi_replace" ########################################################################## # # multi_replace function # # By Xavier Defrang. # # From the Python cookbook: # # http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/81330 # # There's more cool related code at the above site... # #######################...
24.666667
75
0.573198
98750fb5aa7191d7cee8eb6e8dd2026b54b8928a
344
py
Python
test/test_pettingzoo.py
PettingZoo-Team/hanabi-learning-environment
2c91462cbdd8df94e6e63f24aec746343b48b664
[ "Apache-2.0" ]
8
2020-05-29T04:21:29.000Z
2020-06-05T20:24:39.000Z
test/test_pettingzoo.py
PettingZoo-Team/hanabi-learning-environment
2c91462cbdd8df94e6e63f24aec746343b48b664
[ "Apache-2.0" ]
null
null
null
test/test_pettingzoo.py
PettingZoo-Team/hanabi-learning-environment
2c91462cbdd8df94e6e63f24aec746343b48b664
[ "Apache-2.0" ]
4
2020-05-29T04:31:28.000Z
2020-06-05T20:24:43.000Z
import pytest from pettingzoo.classic import hanabi_v4
21.5
53
0.59593
98769521800947b03e8abc619624645a9f5604cc
1,002
py
Python
aiida_bigdft/futile/doc/doxygen-filter-f90.py
adegomme/aiida-bigdft-plugin
dfd17f166a8cd547d3e581c7c3c9f4eb32bd2aab
[ "MIT" ]
2
2020-06-10T02:45:59.000Z
2020-08-05T18:55:05.000Z
aiida_bigdft/futile/doc/doxygen-filter-f90.py
mikiec84/aiida-bigdft-plugin
ce6ddc69def97977fe0209861ea7f1637090b60f
[ "MIT" ]
6
2019-12-15T19:35:34.000Z
2021-05-07T15:32:18.000Z
aiida_bigdft/futile/doc/doxygen-filter-f90.py
mikiec84/aiida-bigdft-plugin
ce6ddc69def97977fe0209861ea7f1637090b60f
[ "MIT" ]
1
2020-08-05T18:55:21.000Z
2020-08-05T18:55:21.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- # Filter used by doxygen to any fortran file to do: # 0 - no error, always return something # 1 - Add include file (recursive call) import re import sys #Include command re_include = re.compile('^[ ]*include.*?\n',re.MULTILINE+re.IGNORECASE) #Extract file of the include...
26.368421
93
0.585828
987ef5d0afe01238bcfb2e49227c0d50f2adadf7
965
py
Python
src/cmd/root.py
public0821/dnas
d28af238dbf3d6a5cd4ef0b85abe16044b6f729d
[ "Apache-2.0" ]
null
null
null
src/cmd/root.py
public0821/dnas
d28af238dbf3d6a5cd4ef0b85abe16044b6f729d
[ "Apache-2.0" ]
null
null
null
src/cmd/root.py
public0821/dnas
d28af238dbf3d6a5cd4ef0b85abe16044b6f729d
[ "Apache-2.0" ]
null
null
null
from cli import Command from cmd.status import Status from cmd.samba import Samba
35.740741
101
0.645596
98802c9f1ac3cac5655a6b81c0649a8621ae583b
38,401
py
Python
bucky/model/main.py
ragram88/bucky
7840e3821af0124bedf4d806a1af34b8ebb20647
[ "MIT" ]
1
2021-08-11T20:31:35.000Z
2021-08-11T20:31:35.000Z
bucky/model/main.py
ragram88/bucky
7840e3821af0124bedf4d806a1af34b8ebb20647
[ "MIT" ]
null
null
null
bucky/model/main.py
ragram88/bucky
7840e3821af0124bedf4d806a1af34b8ebb20647
[ "MIT" ]
null
null
null
"""The main module handling the simulation""" import copy import datetime import logging import os import pickle import queue import random import sys import threading import warnings from functools import lru_cache from pprint import pformat # TODO set some defaults for width/etc with partial? import numpy as np imp...
41.922489
147
0.609672
988147fa4143728a5e12261688a08199610fecd9
10,557
py
Python
bootini_star/views.py
rseichter/bootini-star
a80258f01a05e4df38748b8cb47dfadabd42c20d
[ "MIT" ]
null
null
null
bootini_star/views.py
rseichter/bootini-star
a80258f01a05e4df38748b8cb47dfadabd42c20d
[ "MIT" ]
null
null
null
bootini_star/views.py
rseichter/bootini-star
a80258f01a05e4df38748b8cb47dfadabd42c20d
[ "MIT" ]
null
null
null
""" Application views/routes are based on Flask's MethodView. All primary views are combined into a Flask blueprint. """ __author__ = 'Ralph Seichter' import datetime from operator import attrgetter import flask_login from flask import Blueprint, flash, redirect, url_for from flask.templating import render_template f...
36.278351
79
0.62783
9881570c2307209bb16898489ef2c768f90b46b1
514
py
Python
3_corpus_chatterbot.py
OtacilioMaia/Chatbots-Desenvolvimento-Orientado-a-Conversas
aadb7384d64549749508d594138e07221c200f68
[ "MIT" ]
null
null
null
3_corpus_chatterbot.py
OtacilioMaia/Chatbots-Desenvolvimento-Orientado-a-Conversas
aadb7384d64549749508d594138e07221c200f68
[ "MIT" ]
null
null
null
3_corpus_chatterbot.py
OtacilioMaia/Chatbots-Desenvolvimento-Orientado-a-Conversas
aadb7384d64549749508d594138e07221c200f68
[ "MIT" ]
null
null
null
__author__ = "Otacilio Maia" __version__ = "1.0.0" from chatterbot import ChatBot from chatterbot.trainers import ChatterBotCorpusTrainer if __name__ == "__main__": main()
25.7
71
0.684825
9881f1e32280b6d69007c8828095a1ac61745d01
3,290
py
Python
alipay/aop/api/domain/AlipayMarketingPassInstanceQueryModel.py
articuly/alipay-sdk-python-all
0259cd28eca0f219b97dac7f41c2458441d5e7a6
[ "Apache-2.0" ]
null
null
null
alipay/aop/api/domain/AlipayMarketingPassInstanceQueryModel.py
articuly/alipay-sdk-python-all
0259cd28eca0f219b97dac7f41c2458441d5e7a6
[ "Apache-2.0" ]
null
null
null
alipay/aop/api/domain/AlipayMarketingPassInstanceQueryModel.py
articuly/alipay-sdk-python-all
0259cd28eca0f219b97dac7f41c2458441d5e7a6
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- import simplejson as json from alipay.aop.api.constant.ParamConstants import *
28.362069
77
0.573252
9882a6621e2f9d2ca4d617578cd087b3c1b9a289
74
py
Python
test/test_resources/python-unittest/py_several_files2/Root/application.py
jocelyn/codeboard_mantra
05a4c783dbae8d87b55c834382d8d12f957ffea9
[ "MIT" ]
1
2019-01-12T02:57:53.000Z
2019-01-12T02:57:53.000Z
test/test_resources/python-unittest/py_several_files2/Root/application.py
jocelyn/codeboard_mantra
05a4c783dbae8d87b55c834382d8d12f957ffea9
[ "MIT" ]
1
2017-10-13T11:57:41.000Z
2017-10-13T11:57:41.000Z
test/test_resources/python-unittest/py_several_files2/Root/application.py
jocelyn/codeboard_mantra
05a4c783dbae8d87b55c834382d8d12f957ffea9
[ "MIT" ]
6
2017-10-13T11:27:58.000Z
2020-10-06T19:06:22.000Z
from b import foo from c import bar1 foo() bar1() print "Goodbye, World!"
12.333333
23
0.716216
9882fd7a26e84caf45194e8eb71a993e438a8861
149
py
Python
abm/abm/agents/__init__.py
giacrava/sbp-adoption-abm
18f683caac8aa0efecfcce18598305b1670b6dba
[ "MIT" ]
null
null
null
abm/abm/agents/__init__.py
giacrava/sbp-adoption-abm
18f683caac8aa0efecfcce18598305b1670b6dba
[ "MIT" ]
null
null
null
abm/abm/agents/__init__.py
giacrava/sbp-adoption-abm
18f683caac8aa0efecfcce18598305b1670b6dba
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from .municipality import Municipality from .government import Government from .environment import MunicipalityEnvironment
21.285714
48
0.791946
9883440a5388568181a9f4d444ede27a94ebd59a
9,053
py
Python
MCEq/misc.py
afedynitch/MCEq_classic
cbbe4b00c923b54afb0221e980bc716a395ed4b5
[ "MIT" ]
null
null
null
MCEq/misc.py
afedynitch/MCEq_classic
cbbe4b00c923b54afb0221e980bc716a395ed4b5
[ "MIT" ]
null
null
null
MCEq/misc.py
afedynitch/MCEq_classic
cbbe4b00c923b54afb0221e980bc716a395ed4b5
[ "MIT" ]
2
2019-12-10T14:12:12.000Z
2020-05-06T14:25:58.000Z
# -*- coding: utf-8 -*- """ :mod:`MCEq.misc` - other useful things ====================================== Some helper functions and plotting features are collected in this module. """ import numpy as np from mceq_config import dbg def normalize_hadronic_model_name(name): """Converts hadronic model name into st...
30.176667
78
0.577046
9883506bbef48623a9d156fc156d445016a20d6a
5,103
py
Python
examples/test_wf/test_convergence.py
yakutovicha/yambo-aiida
5c722961ebabe5ea14fbcb20a866c6fb99398a7d
[ "MIT", "BSD-3-Clause" ]
null
null
null
examples/test_wf/test_convergence.py
yakutovicha/yambo-aiida
5c722961ebabe5ea14fbcb20a866c6fb99398a7d
[ "MIT", "BSD-3-Clause" ]
null
null
null
examples/test_wf/test_convergence.py
yakutovicha/yambo-aiida
5c722961ebabe5ea14fbcb20a866c6fb99398a7d
[ "MIT", "BSD-3-Clause" ]
null
null
null
from aiida.backends.utils import load_dbenv, is_dbenv_loaded if not is_dbenv_loaded(): load_dbenv() from aiida_yambo.workflows.yamboconvergence import YamboConvergenceWorkflow try: from aiida.orm.data.base import Float, Str, NumericType, BaseType, List from aiida.work.run import run, submit except Impo...
50.524752
130
0.562806
98839343d4c13dcd80dfa12f748035fe5fe131e4
503
py
Python
src/storage.py
xyzza/Sancho
ed0b7914bbd3f92b39ff5ef6fe92711855d2d45b
[ "MIT" ]
null
null
null
src/storage.py
xyzza/Sancho
ed0b7914bbd3f92b39ff5ef6fe92711855d2d45b
[ "MIT" ]
null
null
null
src/storage.py
xyzza/Sancho
ed0b7914bbd3f92b39ff5ef6fe92711855d2d45b
[ "MIT" ]
null
null
null
# coding: utf-8 _USERS_STORAGE = { 'default_id': None, # current issue }
20.12
49
0.644135
9883b6e8d4d307c1b52e2f3a77df6fc639e8d98d
4,936
py
Python
lungSegmentation/evalutate_performance.py
slowy07/medical-BCDU
dab1ddcacbe093b78e6830d52db2a4e6fabc3d52
[ "MIT" ]
null
null
null
lungSegmentation/evalutate_performance.py
slowy07/medical-BCDU
dab1ddcacbe093b78e6830d52db2a4e6fabc3d52
[ "MIT" ]
null
null
null
lungSegmentation/evalutate_performance.py
slowy07/medical-BCDU
dab1ddcacbe093b78e6830d52db2a4e6fabc3d52
[ "MIT" ]
null
null
null
import os os.environ["CUDA_VISIBLE_DEVICES"] = "1" import models as M import numpy as np import scipy import matplotlib.pyplot as plt from sklearn.metrics import roc_curve from sklearn.metrics import roc_auc_score from sklearn.metrics import confusion_matrix from sklearn.metrics import precision_recall_curve from sklea...
36.562963
109
0.709887
988492255fff6a05146e48a47f6f7316997bd490
600
py
Python
A_source_code/carbon/code/mocsy_module.py
vanHoek-dgnm/CARBON-DISC
3ecd5f4efba5e032d43679ee977064d6b25154a9
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
A_source_code/carbon/code/mocsy_module.py
vanHoek-dgnm/CARBON-DISC
3ecd5f4efba5e032d43679ee977064d6b25154a9
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
A_source_code/carbon/code/mocsy_module.py
vanHoek-dgnm/CARBON-DISC
3ecd5f4efba5e032d43679ee977064d6b25154a9
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
# ****************************************************** ## Copyright 2019, PBL Netherlands Environmental Assessment Agency and Utrecht University. ## Reuse permitted under Gnu Public License, GPL v3. # ****************************************************** ''' imports mocsy module ''' try: import mocsy except Modul...
31.578947
90
0.55
98861ad043d727327fb39c7ecee6e55bdc8d3211
311
py
Python
project/stocks/__init__.py
YellowFlash2012/stock-portfolio-io
0a39c9a692aecc8d6b39e728efd63061112bc975
[ "MIT" ]
null
null
null
project/stocks/__init__.py
YellowFlash2012/stock-portfolio-io
0a39c9a692aecc8d6b39e728efd63061112bc975
[ "MIT" ]
null
null
null
project/stocks/__init__.py
YellowFlash2012/stock-portfolio-io
0a39c9a692aecc8d6b39e728efd63061112bc975
[ "MIT" ]
null
null
null
""" The stocks blueprint handles the user management for this application. Specifically, this blueprint allows for users to add, edit, and delete stock data from their portfolio. """ from flask import Blueprint stocks_blueprint = Blueprint('stocks', __name__, template_folder='templates') from . import routes
31.1
77
0.794212
98862016069a5935ad27d5ce8118f56358c9629c
1,548
py
Python
1.5-one-away.py
jmartenstein/interview-questions
0e2dca36b02f82e7a30453ef7ae2165f04e50710
[ "MIT" ]
null
null
null
1.5-one-away.py
jmartenstein/interview-questions
0e2dca36b02f82e7a30453ef7ae2165f04e50710
[ "MIT" ]
null
null
null
1.5-one-away.py
jmartenstein/interview-questions
0e2dca36b02f82e7a30453ef7ae2165f04e50710
[ "MIT" ]
null
null
null
import unittest if __name__ == '__main__': unittest.main()
21.802817
70
0.631783
9886841ad97481579a6dce1caae1343591e52f5d
9,593
py
Python
Pressure_Converter/pressure_converter_script.py
Affanmir/Awesome-Python-Scripts
bba0512e1c580d605205744ece878da13f2c7661
[ "MIT" ]
1,026
2018-10-02T18:51:12.000Z
2022-03-31T13:45:14.000Z
Pressure_Converter/pressure_converter_script.py
Affanmir/Awesome-Python-Scripts
bba0512e1c580d605205744ece878da13f2c7661
[ "MIT" ]
164
2018-10-02T18:37:40.000Z
2021-11-18T13:29:54.000Z
Pressure_Converter/pressure_converter_script.py
Affanmir/Awesome-Python-Scripts
bba0512e1c580d605205744ece878da13f2c7661
[ "MIT" ]
521
2018-10-02T18:15:40.000Z
2022-03-26T12:10:15.000Z
from typing import Union def atmospeheres_to_bars(atm: float, unit: str) -> Union[float, str]: """ This function converts atm to bar Wikipedia reference: https://en.wikipedia.org/wiki/Standard_atmosphere_(unit) Wikipedia reference: https://en.wikipedia.org/wiki/Bar_(unit) >>> atmospeheres_to_bars...
29.791925
83
0.640154
9886f6ef61ce8671578994a8e3555d6131699f26
444
py
Python
jp.atcoder/abc129/abc129_c/10071155.py
kagemeka/atcoder-submissions
91d8ad37411ea2ec582b10ba41b1e3cae01d4d6e
[ "MIT" ]
1
2022-02-09T03:06:25.000Z
2022-02-09T03:06:25.000Z
jp.atcoder/abc129/abc129_c/10071155.py
kagemeka/atcoder-submissions
91d8ad37411ea2ec582b10ba41b1e3cae01d4d6e
[ "MIT" ]
1
2022-02-05T22:53:18.000Z
2022-02-09T01:29:30.000Z
jp.atcoder/abc129/abc129_c/10071155.py
kagemeka/atcoder-submissions
91d8ad37411ea2ec582b10ba41b1e3cae01d4d6e
[ "MIT" ]
null
null
null
import sys MOD = 10 ** 9 + 7 n, m, *a = map(int, sys.stdin.read().split()) broken = set(a) if __name__ == '__main__': ans = main() print(ans)
17.76
46
0.432432
9886fd5ef77fff993bad45edb77225659ddd988c
6,569
py
Python
venv/lib/python3.6/site-packages/ansible_collections/cisco/nxos/plugins/modules/nxos_banner.py
usegalaxy-no/usegalaxy
75dad095769fe918eb39677f2c887e681a747f3a
[ "MIT" ]
1
2020-01-22T13:11:23.000Z
2020-01-22T13:11:23.000Z
venv/lib/python3.6/site-packages/ansible_collections/cisco/nxos/plugins/modules/nxos_banner.py
usegalaxy-no/usegalaxy
75dad095769fe918eb39677f2c887e681a747f3a
[ "MIT" ]
12
2020-02-21T07:24:52.000Z
2020-04-14T09:54:32.000Z
venv/lib/python3.6/site-packages/ansible_collections/cisco/nxos/plugins/modules/nxos_banner.py
usegalaxy-no/usegalaxy
75dad095769fe918eb39677f2c887e681a747f3a
[ "MIT" ]
null
null
null
#!/usr/bin/python # -*- coding: utf-8 -*- from __future__ import absolute_import, division, print_function __metaclass__ = type # (c) 2017, Ansible by Red Hat, inc # # This file is part of Ansible by Red Hat # # Ansible is free software: you can redistribute it and/or modify # it under the terms of the GNU General Pu...
28.437229
102
0.630994
98877c694a0a259f7bba574f818a2c84334902b2
8,555
py
Python
guv/greenthread.py
timgates42/guv
d7bac2ca6a73cc2059969af08223b82f3e187922
[ "MIT" ]
120
2015-01-05T15:15:26.000Z
2020-07-28T11:25:10.000Z
guv/greenthread.py
timgates42/guv
d7bac2ca6a73cc2059969af08223b82f3e187922
[ "MIT" ]
22
2015-01-12T21:52:32.000Z
2017-01-22T18:18:20.000Z
guv/greenthread.py
timgates42/guv
d7bac2ca6a73cc2059969af08223b82f3e187922
[ "MIT" ]
13
2015-01-18T11:42:34.000Z
2021-07-15T10:59:22.000Z
from collections import deque import sys import greenlet from . import event, hubs from .support import reraise __all__ = ['sleep', 'spawn', 'spawn_n', 'kill', 'spawn_after', 'GreenThread'] def sleep(seconds=0): """Yield control to the hub until at least `seconds` have elapsed :param float seconds: time to...
35.205761
100
0.658679
988be3dce863409b6b062d305bd83405f34d1ed8
460
py
Python
While_loop/while_loop.py
SaicharanKandukuri/snippets-python-from-scrach
b0823fde3cf1a88bf43d97bdc542de7e32c76dac
[ "MIT" ]
1
2021-05-29T03:09:24.000Z
2021-05-29T03:09:24.000Z
While_loop/while_loop.py
SaicharanKandukuri/snippets-python-from-scrach
b0823fde3cf1a88bf43d97bdc542de7e32c76dac
[ "MIT" ]
null
null
null
While_loop/while_loop.py
SaicharanKandukuri/snippets-python-from-scrach
b0823fde3cf1a88bf43d97bdc542de7e32c76dac
[ "MIT" ]
null
null
null
name = None x=0 while not name: x=x+1 if x<3: name = input("Enter your name: ") if x==3: name = input("Man enter your name : ") if x==4: name = input("Why are spamming mate: ") if x==5: name = input("For God sake: ") if x==6: name = input("Bro!........") ...
20.909091
47
0.465217
988edc13ccae6c0801420ecb6d188c9b4a82c75b
1,052
py
Python
Lecture_notes/数据提取与验证码的识别(下)/code/多线程爬虫.py
littleturings/2021PythonWebCrawler
a9089a912affce4369cf50df3c22c55eb4ebf2d5
[ "MIT" ]
1
2021-02-03T08:28:16.000Z
2021-02-03T08:28:16.000Z
Lecture_notes/数据提取与验证码的识别(下)/code/多线程爬虫.py
littleturings/2021PythonWebCrawler
a9089a912affce4369cf50df3c22c55eb4ebf2d5
[ "MIT" ]
null
null
null
Lecture_notes/数据提取与验证码的识别(下)/code/多线程爬虫.py
littleturings/2021PythonWebCrawler
a9089a912affce4369cf50df3c22c55eb4ebf2d5
[ "MIT" ]
null
null
null
from threading import Thread import requests from lxml import etree from fake_useragent import UserAgent from queue import Queue if __name__ == "__main__": base_url = "https://www.qiushibaike.com/text/page/{}/" url_queue =Queue() for num in range(1,6): url_queue.put(base_url.format(num)) ...
30.941176
101
0.586502
988feb164822c678128261338e61810b6c4748b8
486
py
Python
__isVowel.py
simdevex/01.Basics
cf4f372384e66f4b26e4887d2f5d815a1f8e929c
[ "MIT" ]
null
null
null
__isVowel.py
simdevex/01.Basics
cf4f372384e66f4b26e4887d2f5d815a1f8e929c
[ "MIT" ]
null
null
null
__isVowel.py
simdevex/01.Basics
cf4f372384e66f4b26e4887d2f5d815a1f8e929c
[ "MIT" ]
null
null
null
''' A Python program to test whether a passed letter is a vowel ornot. ''' main()
20.25
66
0.524691
9890311c2c70976d1163fe80f05202d37c39505b
5,821
py
Python
scripts/cscap/harvest_soil_bd.py
isudatateam/datateam
eb8e1dad6c05cb1b236689862fe87c56b25ea6fc
[ "MIT" ]
5
2017-05-20T04:51:55.000Z
2022-03-07T18:55:27.000Z
scripts/cscap/harvest_soil_bd.py
isudatateam/datateam
eb8e1dad6c05cb1b236689862fe87c56b25ea6fc
[ "MIT" ]
275
2017-03-09T20:31:30.000Z
2022-03-30T22:43:47.000Z
scripts/cscap/harvest_soil_bd.py
isudatateam/datateam
eb8e1dad6c05cb1b236689862fe87c56b25ea6fc
[ "MIT" ]
3
2020-06-01T15:03:06.000Z
2021-02-01T13:46:58.000Z
"""Scrape out the Soil Bulk Density and Texture data from Google Drive""" from __future__ import print_function import sys import psycopg2 import pyiem.cscap_utils as util YEAR = sys.argv[1] config = util.get_config() pgconn = psycopg2.connect( database="sustainablecorn", host=config["database"]["host"] ) pcurs...
30.798942
78
0.49373
9891dd87fdf4f97e52addf857b05cd50067c4326
3,335
py
Python
app/training.py
m-triple-m/project_junky
e55d3eeae6e97f002ab3087245e9dbeb4ed3eafd
[ "MIT" ]
null
null
null
app/training.py
m-triple-m/project_junky
e55d3eeae6e97f002ab3087245e9dbeb4ed3eafd
[ "MIT" ]
null
null
null
app/training.py
m-triple-m/project_junky
e55d3eeae6e97f002ab3087245e9dbeb4ed3eafd
[ "MIT" ]
null
null
null
import pandas as pd import numpy as np import pickle import sklearn.ensemble as ske from sklearn import tree, linear_model from sklearn.model_selection import train_test_split from sklearn.feature_selection import SelectFromModel from sklearn.externals import joblib from sklearn.naive_bayes import GaussianNB from sklea...
38.333333
113
0.686657
989349744cc2dd1a6576576af6f0bfa7e5efaf0a
2,495
py
Python
python/roman-numerals/roman_numerals.py
KT12/Exercism
41d6bdf3e3550d5af45f3e4aa6e7da10b7161b0a
[ "MIT" ]
1
2016-09-08T21:35:57.000Z
2016-09-08T21:35:57.000Z
python/roman-numerals/roman_numerals.py
KT12/Exercism
41d6bdf3e3550d5af45f3e4aa6e7da10b7161b0a
[ "MIT" ]
null
null
null
python/roman-numerals/roman_numerals.py
KT12/Exercism
41d6bdf3e3550d5af45f3e4aa6e7da10b7161b0a
[ "MIT" ]
null
null
null
#!/usr/bin/env python2 # -*- coding: utf-8 -*- """ Created on Fri Jan 6 15:51:34 2017 @author: ktt """ #!/usr/bin/env python2 # -*- coding: utf-8 -*- """ Created on Fri Jan 6 14:28:01 2017 @author: ktt """
25.459184
54
0.322645
9894780acddb9d5e169d21af5bce8cf904e87b23
5,466
py
Python
examples/Forecasting/models/forecast.py
vophihungvn/h1st
d421995bb0b8de6a5a76788261efef5b26bc7c12
[ "Apache-2.0" ]
1
2021-12-31T08:51:11.000Z
2021-12-31T08:51:11.000Z
examples/Forecasting/models/forecast.py
vophihungvn/h1st
d421995bb0b8de6a5a76788261efef5b26bc7c12
[ "Apache-2.0" ]
null
null
null
examples/Forecasting/models/forecast.py
vophihungvn/h1st
d421995bb0b8de6a5a76788261efef5b26bc7c12
[ "Apache-2.0" ]
null
null
null
import h1st as h1 import pandas as pd import os import sklearn import sklearn.metrics import subprocess import pathlib from sklearn.ensemble import RandomForestRegressor from sklearn.pipeline import Pipeline from sklearn.compose import make_column_transformer from sklearn.preprocessing import OneHotEncoder from Forecas...
41.725191
163
0.595134
9894d7c37b8c896bda95bc509e864f5d49009ff3
1,231
py
Python
main.py
Tasty213/github-graph
b0c7e04ff80afbcf3d4d40089301eb97ad3cdaf6
[ "MIT" ]
null
null
null
main.py
Tasty213/github-graph
b0c7e04ff80afbcf3d4d40089301eb97ad3cdaf6
[ "MIT" ]
null
null
null
main.py
Tasty213/github-graph
b0c7e04ff80afbcf3d4d40089301eb97ad3cdaf6
[ "MIT" ]
null
null
null
from wrapper import rate_handler import utils import mappers.repos import mappers.commits import mappers.labels import mappers.pull_requests import mappers.milestones import mappers.issues import logging import os from github import Github if __name__ == "__main__": logging.config.fileConfig( fname='loggin...
31.564103
69
0.726239
9895e882158e28bf4c2b35edfa219a477694083b
5,267
py
Python
pysnmp-with-texts/RADLAN-BOOTP-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
8
2019-05-09T17:04:00.000Z
2021-06-09T06:50:51.000Z
pysnmp-with-texts/RADLAN-BOOTP-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
4
2019-05-31T16:42:59.000Z
2020-01-31T21:57:17.000Z
pysnmp-with-texts/RADLAN-BOOTP-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module RADLAN-BOOTP-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/RADLAN-BOOTP-MIB # Produced by pysmi-0.3.4 at Wed May 1 14:45:26 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar ...
109.729167
477
0.792671
989688c2724f16a6ea2d06900ed3f29271555bc8
13,063
py
Python
ceviche/fdtd.py
kwadwo00/ceviche
a1ee155304c4679b262e4fdf8c8a28bc4d060ec8
[ "MIT" ]
111
2019-11-14T13:55:15.000Z
2022-03-29T12:19:01.000Z
ceviche/fdtd.py
kwadwo00/ceviche
a1ee155304c4679b262e4fdf8c8a28bc4d060ec8
[ "MIT" ]
13
2019-11-22T05:49:07.000Z
2022-03-20T17:02:59.000Z
ceviche/fdtd.py
kwadwo00/ceviche
a1ee155304c4679b262e4fdf8c8a28bc4d060ec8
[ "MIT" ]
42
2019-11-13T19:29:06.000Z
2022-03-19T11:58:09.000Z
import numpy as np import autograd.numpy as npa from copy import copy, deepcopy from .constants import * from .utils import reshape_to_ND, grid_center_to_xyz, grid_xyz_to_center from .derivatives import curl_E, curl_H def initialize_fields(self): """ Initializes: - the H, D, and E fields f...
41.208202
148
0.559672
98973eb1d96331229e648363477aa310dbca7e97
1,392
py
Python
scrapyext/duplicate.py
zanachka/scrapyext
2dd5e0fc03f8e4b8793b808744d4dd6452e5d5b3
[ "BSD-3-Clause" ]
12
2016-01-14T16:15:56.000Z
2021-08-12T09:31:27.000Z
scrapyext/duplicate.py
zanachka/scrapyext
2dd5e0fc03f8e4b8793b808744d4dd6452e5d5b3
[ "BSD-3-Clause" ]
null
null
null
scrapyext/duplicate.py
zanachka/scrapyext
2dd5e0fc03f8e4b8793b808744d4dd6452e5d5b3
[ "BSD-3-Clause" ]
3
2017-06-09T21:57:23.000Z
2022-03-13T08:16:11.000Z
""" DuplicatesPipeline Uses a configurable unique key/item field to filter duplicates on. HashedDuplicatesPipeline Automatic (exact) duplicates finder, remembering items based on a hash, optionally using a hashset for every seen itemtype. """ from scrapy.exceptions import DropItem try: import cPickle as pickle ex...
24
78
0.729167
9897920e4b31c1105fd21257030e059f22b924ba
5,289
py
Python
examples/probabilistic_keypoint_estimation/processors.py
niqbal996/paz
f27205907367415d5b21f90e1a1d1d1ce598e889
[ "MIT" ]
300
2020-10-29T08:02:05.000Z
2022-03-30T21:47:32.000Z
examples/probabilistic_keypoint_estimation/processors.py
albertofernandezvillan/paz
9fbd50b993f37e1e807297a29c6044c09967c9cc
[ "MIT" ]
30
2020-10-29T12:40:32.000Z
2022-03-31T14:06:35.000Z
examples/probabilistic_keypoint_estimation/processors.py
albertofernandezvillan/paz
9fbd50b993f37e1e807297a29c6044c09967c9cc
[ "MIT" ]
62
2020-10-29T12:34:13.000Z
2022-03-29T05:21:45.000Z
from paz.backend.image import draw_circle from paz.backend.image.draw import GREEN from paz.backend.image import resize_image from paz import processors as pr from paz.abstract import Processor import numpy as np from paz.backend.image import lincolor import seaborn as sns from matplotlib.backends.backend_agg import Fi...
33.474684
81
0.682927
989a6043392e3a00a96dc24ccaddbe9e043d1236
3,727
py
Python
lib/exabgp/configuration/experimental/__init__.py
dneiter/exabgp
cb54d527f476f967ebd6598f3178f4b9814945dd
[ "BSD-3-Clause" ]
3
2015-08-20T07:56:37.000Z
2020-02-03T13:15:36.000Z
lib/exabgp/configuration/experimental/__init__.py
dneiter/exabgp
cb54d527f476f967ebd6598f3178f4b9814945dd
[ "BSD-3-Clause" ]
1
2015-02-09T16:54:01.000Z
2015-02-09T16:54:01.000Z
lib/exabgp/configuration/experimental/__init__.py
dneiter/exabgp
cb54d527f476f967ebd6598f3178f4b9814945dd
[ "BSD-3-Clause" ]
1
2015-02-09T16:33:51.000Z
2015-02-09T16:33:51.000Z
# encoding: utf-8 """ registry.py Created by Thomas Mangin on 2014-06-22. Copyright (c) 2014-2015 Exa Networks. All rights reserved. """ from exabgp.configuration.experimental.engine.raised import Raised from exabgp.configuration.experimental.engine.section import Section from exabgp.configuration.experimental.engin...
27.607407
133
0.691441
989c00ae5a2652cb4f51a767565665fceecf4f71
105
py
Python
nmmis/contrib/place/admin.py
mgrsantox/nmmis
77f5bc0907c4fa7babe177a07ea144c2ac8b2eca
[ "BSD-2-Clause" ]
null
null
null
nmmis/contrib/place/admin.py
mgrsantox/nmmis
77f5bc0907c4fa7babe177a07ea144c2ac8b2eca
[ "BSD-2-Clause" ]
null
null
null
nmmis/contrib/place/admin.py
mgrsantox/nmmis
77f5bc0907c4fa7babe177a07ea144c2ac8b2eca
[ "BSD-2-Clause" ]
null
null
null
from django.contrib import admin from nmmis.contrib.place.models import Place admin.site.register(Place)
26.25
44
0.838095
989dc6b7e06440eaa1baf455b551c9b102c10503
2,993
py
Python
scripts/blueprint_graph_queries.py
azdolinski/apstra-api-python
2380bcdbd5be31e552d9259592249b13fa432286
[ "Apache-2.0" ]
1
2022-03-23T22:16:15.000Z
2022-03-23T22:16:15.000Z
scripts/blueprint_graph_queries.py
azdolinski/apstra-api-python
2380bcdbd5be31e552d9259592249b13fa432286
[ "Apache-2.0" ]
4
2022-03-26T15:12:50.000Z
2022-03-31T07:31:53.000Z
scripts/blueprint_graph_queries.py
azdolinski/apstra-api-python
2380bcdbd5be31e552d9259592249b13fa432286
[ "Apache-2.0" ]
2
2022-03-26T00:04:42.000Z
2022-03-26T14:23:20.000Z
# Copyright 2020-present, Apstra, Inc. All rights reserved. # # This source code is licensed under End User License Agreement found in the # LICENSE file at http://www.apstra.com/eula from aos.client import AosClient from scripts.utils import deserialize_fixture import urllib3 urllib3.disable_warnings(urllib3.exceptio...
33.629213
76
0.642833
989f87f406c9d1817c123fea722d38ee2706a91d
3,405
py
Python
src/data_loading/base.py
I2Cvb/rethinopaty
1f3386b5f21d781da972151459e6ef5886b6d6d8
[ "MIT" ]
2
2019-05-10T04:08:06.000Z
2019-09-24T07:35:34.000Z
src/data_loading/base.py
I2Cvb/rethinopaty
1f3386b5f21d781da972151459e6ef5886b6d6d8
[ "MIT" ]
1
2015-11-08T00:08:15.000Z
2015-11-10T19:07:16.000Z
src/data_loading/base.py
I2Cvb/rethinopaty
1f3386b5f21d781da972151459e6ef5886b6d6d8
[ "MIT" ]
1
2018-11-19T02:02:37.000Z
2018-11-19T02:02:37.000Z
""" Base code for dataset conversion and management This code contains: - core functions - asserting definitions to ensure dataset's integrity TODO ---- #TODO: find the best way to define the global path #TODO: check tests #TODO: think if it should be a class in this manner 'dataset_name' etc.. ...
26.192308
87
0.674596
98a08f9c2482c0d99eb42cf5f396b2658fb698d8
490
py
Python
grade.py
pooja160699/fullstackprograms
60db5db8e49ba99a106188c6771a8163be3d18be
[ "bzip2-1.0.6" ]
null
null
null
grade.py
pooja160699/fullstackprograms
60db5db8e49ba99a106188c6771a8163be3d18be
[ "bzip2-1.0.6" ]
null
null
null
grade.py
pooja160699/fullstackprograms
60db5db8e49ba99a106188c6771a8163be3d18be
[ "bzip2-1.0.6" ]
null
null
null
#grade print("enter marks of 5 subjects") a=[] for i in range(0,5): inp=input() a.append(inp) print(a) grade(a)
14
35
0.461224
98a54a0f98ef2d7111fbff0beed3ba90e0411134
1,233
py
Python
tasks/config.py
laruja/f-show
0ef15d25d230ffeb20e70fae5b4769daa9a10828
[ "MIT" ]
4
2021-07-27T09:14:44.000Z
2021-09-08T02:14:31.000Z
tasks/config.py
laruja/f-show
0ef15d25d230ffeb20e70fae5b4769daa9a10828
[ "MIT" ]
null
null
null
tasks/config.py
laruja/f-show
0ef15d25d230ffeb20e70fae5b4769daa9a10828
[ "MIT" ]
null
null
null
import util # global logfileDir logfileDir = './log' # global db db = { 'host': '127.0.0.1', 'port': 27017 } global daliy daliy = 'daliy' global daliyxxx daliyxxx = 'daliy'+util.yesterday().strftime('%Y%m%d') # daliy20210622 global history history = 'histest' global fund fund = 'fund' # global fundType1 g...
26.804348
84
0.633414
98a5c9401ffa5bdac95b62746713c3eae81af041
6,172
py
Python
mindquantum/algorithm/nisq/chem/unitary_cc.py
Takishima/mindquantum
e90dfe474b759023d7ae18281b9a87cb8d223d04
[ "Apache-2.0" ]
null
null
null
mindquantum/algorithm/nisq/chem/unitary_cc.py
Takishima/mindquantum
e90dfe474b759023d7ae18281b9a87cb8d223d04
[ "Apache-2.0" ]
null
null
null
mindquantum/algorithm/nisq/chem/unitary_cc.py
Takishima/mindquantum
e90dfe474b759023d7ae18281b9a87cb8d223d04
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Copyright 2021 Huawei Technologies Co., Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by app...
41.422819
119
0.599968
98a5de6ff37a8157fd5acdb6ec1f751faeddd147
6,506
py
Python
Tax-Calculator-3.0.0/taxcalc/policy.py
grantseiter/Tax-Benefits-Of-Parenthood
5350e832e8b877b46c2a3cab070fc8262b914a52
[ "MIT" ]
null
null
null
Tax-Calculator-3.0.0/taxcalc/policy.py
grantseiter/Tax-Benefits-Of-Parenthood
5350e832e8b877b46c2a3cab070fc8262b914a52
[ "MIT" ]
null
null
null
Tax-Calculator-3.0.0/taxcalc/policy.py
grantseiter/Tax-Benefits-Of-Parenthood
5350e832e8b877b46c2a3cab070fc8262b914a52
[ "MIT" ]
null
null
null
""" Tax-Calculator federal tax policy Policy class. """ # CODING-STYLE CHECKS: # pycodestyle policy.py # pylint --disable=locally-disabled policy.py import os import json import numpy as np from taxcalc.parameters import Parameters from taxcalc.growfactors import GrowFactors
39.192771
80
0.632339
98a60c53249410258e27e16f17c6bf4773ac5726
2,550
py
Python
tests/test_ops/test_merge_cells.py
BIGWangYuDong/mmcv
c46deb0576edaff5cd5a7d384c617478c7a73a70
[ "Apache-2.0" ]
1
2022-03-18T02:41:11.000Z
2022-03-18T02:41:11.000Z
tests/test_ops/test_merge_cells.py
BIGWangYuDong/mmcv
c46deb0576edaff5cd5a7d384c617478c7a73a70
[ "Apache-2.0" ]
null
null
null
tests/test_ops/test_merge_cells.py
BIGWangYuDong/mmcv
c46deb0576edaff5cd5a7d384c617478c7a73a70
[ "Apache-2.0" ]
null
null
null
# Copyright (c) OpenMMLab. All rights reserved. """ CommandLine: pytest tests/test_merge_cells.py """ import torch import torch.nn.functional as F from mmcv.ops.merge_cells import (BaseMergeCell, ConcatCell, GlobalPoolingCell, SumCell)
38.059701
79
0.681569
98a6de571928281aacce4b2dc2d2f1e1d92b626c
459
py
Python
django_simple_coupons/migrations/0002_alter_coupon_created_field.py
Boober-Inc/django-simple-coupons
b5096a17a2517394d600236e370f2059f70896d7
[ "MIT" ]
null
null
null
django_simple_coupons/migrations/0002_alter_coupon_created_field.py
Boober-Inc/django-simple-coupons
b5096a17a2517394d600236e370f2059f70896d7
[ "MIT" ]
null
null
null
django_simple_coupons/migrations/0002_alter_coupon_created_field.py
Boober-Inc/django-simple-coupons
b5096a17a2517394d600236e370f2059f70896d7
[ "MIT" ]
1
2021-09-02T08:45:49.000Z
2021-09-02T08:45:49.000Z
# Generated by Django 3.0.8 on 2020-07-31 10:00 from django.db import migrations, models import django_simple_coupons.helpers
22.95
82
0.64488
98a754ea36c6f75e3a944d4f376a736140a55916
6,337
py
Python
bot.py
der-test/3dp_helpbot
db379d7738231d0b1879f1ef8a70f7fdfc6b2d47
[ "MIT" ]
null
null
null
bot.py
der-test/3dp_helpbot
db379d7738231d0b1879f1ef8a70f7fdfc6b2d47
[ "MIT" ]
null
null
null
bot.py
der-test/3dp_helpbot
db379d7738231d0b1879f1ef8a70f7fdfc6b2d47
[ "MIT" ]
null
null
null
""" /r/3DPrinting Help Bot V2 Tries to help users by replying to them with helpful links :author: Tim Estermann, @der-test :original author: Connor Henley, @thatging3rkid """ import os import sys import time import pickle import praw import praw.models import datetime import traceback import subprocess import config ...
38.406061
135
0.576456
98a77d126b8fadb75bc96ccc3906c0ff62219f1a
37,989
py
Python
pytorch_nlu/pytorch_sequencelabeling/slLayer.py
dumpmemory/Pytorch-NLU
864fb9acc7751fc51abd3d05d24b5a9a7eab7110
[ "Apache-2.0" ]
115
2021-08-29T04:28:40.000Z
2022-03-29T22:57:48.000Z
pytorch_nlu/pytorch_sequencelabeling/slLayer.py
dumpmemory/Pytorch-NLU
864fb9acc7751fc51abd3d05d24b5a9a7eab7110
[ "Apache-2.0" ]
2
2022-01-14T01:52:07.000Z
2022-03-04T11:40:10.000Z
pytorch_nlu/pytorch_sequencelabeling/slLayer.py
dumpmemory/Pytorch-NLU
864fb9acc7751fc51abd3d05d24b5a9a7eab7110
[ "Apache-2.0" ]
18
2021-09-23T06:41:10.000Z
2022-03-22T04:37:05.000Z
# !/usr/bin/python # -*- coding: utf-8 -*- # @time : 2021/7/24 21:45 # @author : Mo # @function: Layer and Loss from torch import nn import torch import numpy as np __all__ = ["PriorMultiLabelSoftMarginLoss", "LabelSmoothingCrossEntropyV1", "LabelSmoothingCrossEntropy", "MultiL...
45.117577
144
0.587565
98a8fc03a807d08d5235921bcc1fa702022d4814
2,075
py
Python
WebServer/possible/Context/Cache.py
yvanlvA/Possible_Web_Server_Frame
2992e2cf512d34efac8bd976b67fbbd46aa8a996
[ "MIT" ]
1
2019-12-16T07:55:55.000Z
2019-12-16T07:55:55.000Z
WebServer/possible/Context/Cache.py
yvanlvA/Possible_Web_Server_Frame
2992e2cf512d34efac8bd976b67fbbd46aa8a996
[ "MIT" ]
null
null
null
WebServer/possible/Context/Cache.py
yvanlvA/Possible_Web_Server_Frame
2992e2cf512d34efac8bd976b67fbbd46aa8a996
[ "MIT" ]
null
null
null
#_*_ coding:utf-8 _*_ import redis ''' # python3 Cache.py True b'Yym' Yym None None True 4 1 1 True 1888 True ''' if __name__ == "__main__": main()
22.311828
72
0.551325
98a9ddb77716f5ad2a2d263d27421845bd0aff98
1,528
py
Python
models/lossfuns.py
zekunhao1995/DualSDF
177a102b315949bfa59a6ae1c47de52ddbea6eaa
[ "MIT" ]
107
2020-04-07T01:15:14.000Z
2022-03-17T09:32:46.000Z
models/lossfuns.py
zekunhao1995/DualSDF
177a102b315949bfa59a6ae1c47de52ddbea6eaa
[ "MIT" ]
6
2020-05-16T00:41:28.000Z
2021-04-27T16:04:21.000Z
models/lossfuns.py
zekunhao1995/DualSDF
177a102b315949bfa59a6ae1c47de52ddbea6eaa
[ "MIT" ]
17
2020-04-14T10:50:24.000Z
2022-01-20T09:43:08.000Z
import numpy as np # PyTorch import torch import torch.nn as nn import torch.nn.functional as F # Original DeepSDF loss # [B N] # L2 loss on the outside, encourage inside to < 0.0
40.210526
109
0.697644
98aa1c3ed547c9ca4fbd19509bd3c22693bda976
389
py
Python
Section4/appcode/security.py
ntnshrm87/FlaskDevTest
f5af6c57280950eb56b735476ab38953d1c25033
[ "MIT" ]
null
null
null
Section4/appcode/security.py
ntnshrm87/FlaskDevTest
f5af6c57280950eb56b735476ab38953d1c25033
[ "MIT" ]
null
null
null
Section4/appcode/security.py
ntnshrm87/FlaskDevTest
f5af6c57280950eb56b735476ab38953d1c25033
[ "MIT" ]
null
null
null
from werkzeug.security import safe_str_cmp from appcode.models.user import UserModel # Function to authenticate the user
25.933333
59
0.768638
98ab4c8c271cda0de6cc40da611003519c199dfe
5,184
py
Python
rmot/generate_stim/run.py
DrugowitschLab/motion-structure-used-in-perception
d4f0115e154d5e529094383963c8cdaa1386720b
[ "MIT" ]
4
2020-04-03T09:34:29.000Z
2020-10-22T20:36:40.000Z
rmot/generate_stim/run.py
DrugowitschLab/motion-structure-used-in-perception
d4f0115e154d5e529094383963c8cdaa1386720b
[ "MIT" ]
null
null
null
rmot/generate_stim/run.py
DrugowitschLab/motion-structure-used-in-perception
d4f0115e154d5e529094383963c8cdaa1386720b
[ "MIT" ]
1
2020-09-17T09:48:27.000Z
2020-09-17T09:48:27.000Z
import numpy as np import pylab as pl from time import time import logging from motionstruct.functions import init_logging, asciiL, recursive_dict_update from motionstruct.classes import PhiWorld import scipy.io as sio import os # Help string and argument parsing from argparse import ArgumentParser, RawTextHelpFormatt...
35.751724
129
0.637924
98abff31f9453308cacf5d060c6d452b0b11b3d1
812
py
Python
send_mail.py
cnpopeye/getcode4sis001
4b63e29dd95ae3c85973ede4f7ac75df72d7994e
[ "MIT" ]
6
2017-02-23T01:45:49.000Z
2020-07-07T10:40:57.000Z
send_mail.py
cnpopeye/getcode4sis001
4b63e29dd95ae3c85973ede4f7ac75df72d7994e
[ "MIT" ]
null
null
null
send_mail.py
cnpopeye/getcode4sis001
4b63e29dd95ae3c85973ede4f7ac75df72d7994e
[ "MIT" ]
4
2017-02-23T01:46:09.000Z
2019-11-22T10:59:52.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- import os, sys, string, socket import smtplib #smtplibMIMEText import smtplib from email.mime.text import MIMEText from config import mailto_list, mail_host, mail_user, mail_pass, mail_postfix if __name__ == '__main__': if send_mail("subject","content"): prin...
23.882353
77
0.623153
98acf47b5de02fab44c2cbbf5152e7f879ad95fc
598
py
Python
Interview_Questions/Tencent_20190310/3_card.py
sintocos/CS_Roaming
c85d2c95337a00079160f7f5a8a1b0e31eb5fcb3
[ "BSD-3-Clause" ]
null
null
null
Interview_Questions/Tencent_20190310/3_card.py
sintocos/CS_Roaming
c85d2c95337a00079160f7f5a8a1b0e31eb5fcb3
[ "BSD-3-Clause" ]
null
null
null
Interview_Questions/Tencent_20190310/3_card.py
sintocos/CS_Roaming
c85d2c95337a00079160f7f5a8a1b0e31eb5fcb3
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: UTF-8 -*- # description: Q,n,1nQ: # # QQ # example: input:7 (n, 1<=n<=1e6) # # output:1 3 5 7 4 2 6 (n) """ @param string line @return string """ print(solution(8))
22.148148
66
0.583612
98ae3f1be8211f99c7d8b22fd98d93670a9d293c
10,626
py
Python
scripts/gis_append.py
mwb249/connect-dispatch
c6f17c088bce639daaa9fd1ab04f3edd15dc1887
[ "MIT" ]
null
null
null
scripts/gis_append.py
mwb249/connect-dispatch
c6f17c088bce639daaa9fd1ab04f3edd15dc1887
[ "MIT" ]
null
null
null
scripts/gis_append.py
mwb249/connect-dispatch
c6f17c088bce639daaa9fd1ab04f3edd15dc1887
[ "MIT" ]
null
null
null
""" Connect|DISPATCH: Connecting Computer-Aided Dispatch (CAD) Systems to ArcGIS. The gis_append script is activated when incident_push.p is modified in the watch directory. """ from connectdispatch import fire_ops import logging import os import yaml import pickle import csv import mgrs from datetime import datetime...
48.081448
112
0.616413
98ae7cc0bf9eb0897447c4658aa679311159c417
13,723
py
Python
mpitest/test_par_doe.py
naylor-b/OpenMDAO1
49d82f6601b33db9bdcf7d146d030d55e3b62ef4
[ "Apache-2.0" ]
17
2018-01-11T20:13:59.000Z
2022-03-22T03:46:05.000Z
mpitest/test_par_doe.py
naylor-b/OpenMDAO1
49d82f6601b33db9bdcf7d146d030d55e3b62ef4
[ "Apache-2.0" ]
6
2017-10-19T23:14:14.000Z
2020-11-22T17:30:57.000Z
mpitest/test_par_doe.py
naylor-b/OpenMDAO1
49d82f6601b33db9bdcf7d146d030d55e3b62ef4
[ "Apache-2.0" ]
10
2018-04-12T22:13:33.000Z
2020-05-07T10:02:59.000Z
#!/usr/bin/env python """ Running DOE experiments (in parallel)""" from __future__ import print_function import sys import time import traceback import numpy as np import unittest from openmdao.api import IndepVarComp, Component, Group, Problem, \ FullFactorialDriver, AnalysisError from open...
34.221945
103
0.55345
98aecf2b93283481f3008296cbf813e753bfc1b2
453
gyp
Python
binding.gyp
rguiliani/node-roboticscape
39f589574a8a776e55440a2a5276b4d26ab73c4a
[ "MIT" ]
null
null
null
binding.gyp
rguiliani/node-roboticscape
39f589574a8a776e55440a2a5276b4d26ab73c4a
[ "MIT" ]
null
null
null
binding.gyp
rguiliani/node-roboticscape
39f589574a8a776e55440a2a5276b4d26ab73c4a
[ "MIT" ]
null
null
null
{ "targets": [ { "target_name": "roboticscape", "sources": [ "rc-node-bindings.cc" ], "cflags": [ "-Wall", "-g", "-std=c++1y" ], "cflags_cc!": [ "-fno-rtti", "-std=c++14" ], "libraries": [ "-lm", "-lrt", "-lpthread", "-lroboticscape" ], ...
28.3125
74
0.362031
98b13a41184605b434409c1a6321ec30bf1c9205
133
py
Python
review_request/admin.py
Portfolio-APPS/web-app
57dc3243fc17d1429f30b9337e2633197505671c
[ "MIT" ]
4
2019-10-09T19:12:46.000Z
2021-07-10T10:59:33.000Z
review_request/admin.py
Portfolio-APPS/web-app
57dc3243fc17d1429f30b9337e2633197505671c
[ "MIT" ]
7
2020-06-05T18:11:24.000Z
2022-03-11T23:20:15.000Z
review_request/admin.py
Portfolio-APPS/web-app
57dc3243fc17d1429f30b9337e2633197505671c
[ "MIT" ]
1
2018-11-19T17:07:38.000Z
2018-11-19T17:07:38.000Z
from django.contrib import admin from .models import ReviewRequest # Register your models here. admin.site.register(ReviewRequest)
19
34
0.819549
98b2b467fe732e9f25c6541b5a2df8198a18a396
1,959
py
Python
api_reflector/api.py
backwardspy/api-reflector
5feacf7d7d549418b31acbf9407602a7659e431d
[ "MIT" ]
4
2021-09-24T13:58:37.000Z
2022-03-01T22:19:41.000Z
api_reflector/api.py
backwardspy/api-reflector
5feacf7d7d549418b31acbf9407602a7659e431d
[ "MIT" ]
10
2021-09-21T16:28:06.000Z
2022-03-25T16:48:36.000Z
api_reflector/api.py
backwardspy/api-reflector
5feacf7d7d549418b31acbf9407602a7659e431d
[ "MIT" ]
2
2021-09-13T13:00:33.000Z
2022-02-24T14:55:46.000Z
""" Provides the top level flask application configuration. """ import sentry_sdk from flask import Flask from flask_dance.contrib.azure import make_azure_blueprint from sentry_sdk.integrations.flask import FlaskIntegration from sentry_sdk.integrations.sqlalchemy import SqlalchemyIntegration from werkzeug.middleware.p...
28.391304
71
0.721797
98b4ddc8a925b89655f9356aeabab166b6a518d9
113
py
Python
erpnext_biotrack/__init__.py
webonyx/erpnext_biotrack
eb2384a6c3fda84a91c81c959f095a5386a89665
[ "MIT" ]
11
2017-05-29T23:35:21.000Z
2022-03-12T04:29:21.000Z
erpnext_biotrack/__init__.py
webonyx/erpnext_biotrack
eb2384a6c3fda84a91c81c959f095a5386a89665
[ "MIT" ]
1
2016-12-11T16:58:36.000Z
2016-12-11T16:58:36.000Z
erpnext_biotrack/__init__.py
webonyx/erpnext_biotrack
eb2384a6c3fda84a91c81c959f095a5386a89665
[ "MIT" ]
14
2016-12-17T11:01:03.000Z
2021-11-01T10:21:45.000Z
# -*- coding: utf-8 -*- from __future__ import unicode_literals __version__ = "0.0.1" __title__ = "Traceability"
22.6
39
0.716814
98b4ea7878ad705aedb7d3edb6e3d8b9abcf6219
612
py
Python
fora/models/user.py
WayStudios/fora
1dea5fadeb0e8245a48c547d0c5b260e888583e5
[ "BSD-3-Clause" ]
null
null
null
fora/models/user.py
WayStudios/fora
1dea5fadeb0e8245a48c547d0c5b260e888583e5
[ "BSD-3-Clause" ]
null
null
null
fora/models/user.py
WayStudios/fora
1dea5fadeb0e8245a48c547d0c5b260e888583e5
[ "BSD-3-Clause" ]
null
null
null
# fora # class UserModel # Xu [xw901103@gmail.com] Copyright 2015 from fora.core.model import Model from sqlalchemy import ( Column, Integer, Boolean, String, DateTime )
24.48
66
0.687908
98b51bf927ecb8711b46f44c5fe353e2b5cb0870
16,590
py
Python
app_common/apptools/io/deserializer.py
KBIbiopharma/app_common
bd913e24741fb070aad058a0f90cbb2c64d8b106
[ "MIT" ]
2
2020-02-12T17:51:13.000Z
2021-05-03T05:36:15.000Z
app_common/apptools/io/deserializer.py
KBIbiopharma/app_common
bd913e24741fb070aad058a0f90cbb2c64d8b106
[ "MIT" ]
30
2020-02-04T21:38:58.000Z
2021-05-25T20:55:01.000Z
app_common/apptools/io/deserializer.py
KBIbiopharma/app_common
bd913e24741fb070aad058a0f90cbb2c64d8b106
[ "MIT" ]
null
null
null
""" Module containing the deserializer api function and supporting classes. The deserializers are versioned and the ones in this module correspond to the latest protocol. Old versions of deserializers that were updated are stored in the legacy_deserializers dict. """ import logging from six import string_types from t...
34.347826
79
0.662929
98b56a5b7675ee876b08c64bf15a49e2ad1f944e
1,162
py
Python
index.py
garlfin/RPC-Client-Server
d13dc9988e5582ce8ccb396a5aa1db21fc1041c5
[ "MIT" ]
null
null
null
index.py
garlfin/RPC-Client-Server
d13dc9988e5582ce8ccb396a5aa1db21fc1041c5
[ "MIT" ]
null
null
null
index.py
garlfin/RPC-Client-Server
d13dc9988e5582ce8ccb396a5aa1db21fc1041c5
[ "MIT" ]
null
null
null
import res.server.server as server import res.client as client import threading import os import res.server.keyboardlistener address = ("localhost", 8000) dataPath = os.getcwd()+"/res/database/clients/db.json" currentWorkingThreads = [threading.Thread(target=startServer), threading.Thread(target=StartClient, args=...
33.2
118
0.744406
98b5f376bd47906407f7bf31c750c092f24b315d
3,235
py
Python
src/bitwardentools/common.py
mavensk/bitwardentools
b000a8941ef8d07fbe1a5eb191896638d29bf1b6
[ "BSD-3-Clause" ]
9
2021-03-08T20:36:19.000Z
2022-03-07T21:52:48.000Z
src/bitwardentools/common.py
mavensk/bitwardentools
b000a8941ef8d07fbe1a5eb191896638d29bf1b6
[ "BSD-3-Clause" ]
10
2021-04-16T13:27:17.000Z
2022-02-17T11:54:58.000Z
src/bitwardentools/common.py
mavensk/bitwardentools
b000a8941ef8d07fbe1a5eb191896638d29bf1b6
[ "BSD-3-Clause" ]
6
2021-04-18T15:01:48.000Z
2022-03-06T20:12:31.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import absolute_import, division, print_function import datetime import enum import logging import os import re import smtplib from email.mime.text import MIMEText from http.client import HTTPConnection CFG = os.environ.get("CONFIG", "/w/data/config.in...
22.943262
83
0.642658
98b770f8e0999760f77965903c3fef662ce6f394
88
py
Python
example_snippets/multimenus_snippets/Snippets/SciPy/Integration and ODE solvers/Integrate given fixed samples/Trapezoidal rule to compute integral from samples.py
kuanpern/jupyterlab-snippets-multimenus
477f51cfdbad7409eab45abe53cf774cd70f380c
[ "BSD-3-Clause" ]
null
null
null
example_snippets/multimenus_snippets/Snippets/SciPy/Integration and ODE solvers/Integrate given fixed samples/Trapezoidal rule to compute integral from samples.py
kuanpern/jupyterlab-snippets-multimenus
477f51cfdbad7409eab45abe53cf774cd70f380c
[ "BSD-3-Clause" ]
null
null
null
example_snippets/multimenus_snippets/Snippets/SciPy/Integration and ODE solvers/Integrate given fixed samples/Trapezoidal rule to compute integral from samples.py
kuanpern/jupyterlab-snippets-multimenus
477f51cfdbad7409eab45abe53cf774cd70f380c
[ "BSD-3-Clause" ]
1
2021-02-04T04:51:48.000Z
2021-02-04T04:51:48.000Z
x = np.linspace(1, 5, num=100) y = 3*x**2 + 1 integrate.trapz(y, x) # Exact value is 128
29.333333
42
0.625
98b885f1b9eb2153dd880f99bd878e13ddc4ca0e
81
py
Python
naeval/norm/datasets/__init__.py
sdspieg/naeval
52c4a508bf212b95d4e610cfe1b5e23b8ca94d2f
[ "MIT" ]
36
2020-03-22T09:37:10.000Z
2022-01-17T14:49:30.000Z
naeval/norm/datasets/__init__.py
sdspieg/naeval
52c4a508bf212b95d4e610cfe1b5e23b8ca94d2f
[ "MIT" ]
11
2020-03-25T09:39:45.000Z
2020-08-16T05:37:02.000Z
naeval/norm/datasets/__init__.py
sdspieg/naeval
52c4a508bf212b95d4e610cfe1b5e23b8ca94d2f
[ "MIT" ]
6
2020-05-16T05:52:04.000Z
2022-01-16T06:45:29.000Z
from .bsnlp import load_bsnlp # noqa from .persons import load_persons # noqa
20.25
41
0.765432
98b9762881728e3e8b8e279e7a738fdda5199b56
19,776
py
Python
seaice/pretty.py
cjpatton/seaice
103f069679415be104a08f3b11b1b6415a440659
[ "BSD-3-Clause" ]
null
null
null
seaice/pretty.py
cjpatton/seaice
103f069679415be104a08f3b11b1b6415a440659
[ "BSD-3-Clause" ]
null
null
null
seaice/pretty.py
cjpatton/seaice
103f069679415be104a08f3b11b1b6415a440659
[ "BSD-3-Clause" ]
null
null
null
# pretty.py - Pretty formatting for db table rows. There are routines defined # here for use in a terminal as well as on the web. # # Copyright (c) 2013, Christopher Patton, all rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the foll...
39.238095
143
0.621106
98b9e22db3260d4dd56031107290c4fa484ebf3e
5,016
py
Python
tools/uavcan_ip_interface.py
greck2908/robot-software
2e1e8177148a089e8883967375dde7f8ed3d878b
[ "MIT" ]
40
2016-10-04T19:59:22.000Z
2020-12-25T18:11:35.000Z
tools/uavcan_ip_interface.py
greck2908/robot-software
2e1e8177148a089e8883967375dde7f8ed3d878b
[ "MIT" ]
209
2016-09-21T21:54:28.000Z
2022-01-26T07:42:37.000Z
tools/uavcan_ip_interface.py
greck2908/robot-software
2e1e8177148a089e8883967375dde7f8ed3d878b
[ "MIT" ]
21
2016-11-07T14:40:16.000Z
2021-11-02T09:53:37.000Z
#!/usr/bin/env python3 """ UAVCAN to TUN network adapter. """ import argparse import os import struct import sys import fcntl import uavcan import subprocess import time import logging from queue import Queue, Empty import threading DSDL_DIR = os.path.join(os.path.dirname(__file__), "../uavcan_data_types/cvra") ...
26.125
87
0.621212
98ba753b081a3ea187c35cbd90efdcf17178d65c
840
py
Python
gpx_builder.py
jvicu2001/GGeoTrace
7796daaa505586cf7b867e321aa528f5dd64a8c6
[ "MIT" ]
null
null
null
gpx_builder.py
jvicu2001/GGeoTrace
7796daaa505586cf7b867e321aa528f5dd64a8c6
[ "MIT" ]
null
null
null
gpx_builder.py
jvicu2001/GGeoTrace
7796daaa505586cf7b867e321aa528f5dd64a8c6
[ "MIT" ]
null
null
null
from xml.etree import ElementTree
33.6
113
0.653571
7f250990d797b7976e2e10bec45f242af50a0328
5,050
py
Python
statefun-examples/statefun-python-walkthrough-example/run-example.py
authuir/flink-statefun
ca16055de31737a8a0073b8f9083268fc24b9828
[ "Apache-2.0" ]
1
2020-05-27T03:38:36.000Z
2020-05-27T03:38:36.000Z
statefun-examples/statefun-python-walkthrough-example/run-example.py
authuir/flink-statefun
ca16055de31737a8a0073b8f9083268fc24b9828
[ "Apache-2.0" ]
null
null
null
statefun-examples/statefun-python-walkthrough-example/run-example.py
authuir/flink-statefun
ca16055de31737a8a0073b8f9083268fc24b9828
[ "Apache-2.0" ]
null
null
null
################################################################################ # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this...
28.531073
116
0.631881
7f268c8fd92f2096679b4eb0bada219d945e28f0
1,428
py
Python
python/recognize.py
qcumba0/voicekit-examples
43eaf1800674ac82d7211dfea1ca0fb85affd6d1
[ "Apache-2.0" ]
null
null
null
python/recognize.py
qcumba0/voicekit-examples
43eaf1800674ac82d7211dfea1ca0fb85affd6d1
[ "Apache-2.0" ]
null
null
null
python/recognize.py
qcumba0/voicekit-examples
43eaf1800674ac82d7211dfea1ca0fb85affd6d1
[ "Apache-2.0" ]
null
null
null
#! /usr/bin/env python3 from tinkoff.cloud.stt.v1 import stt_pb2_grpc from auth import authorization_metadata from audio import audio_open_read from common import build_recognition_request, make_channel, print_recognition_response, BaseRecognitionParser from google.protobuf.json_format import MessageToDict from tinkof...
42
117
0.72619
7f27580713d4e95daa65183a504423139e12ff45
33,823
py
Python
tests/integration/test_web.py
raiden-network/raiden-wizard
faea0f3075b748b6a1e204518e84b0fd1950d5b5
[ "MIT" ]
9
2020-05-27T12:19:29.000Z
2022-03-20T05:55:36.000Z
tests/integration/test_web.py
raiden-network/raiden-wizard
faea0f3075b748b6a1e204518e84b0fd1950d5b5
[ "MIT" ]
178
2020-02-26T17:03:22.000Z
2021-12-28T14:21:00.000Z
tests/integration/test_web.py
raiden-network/raiden-wizard
faea0f3075b748b6a1e204518e84b0fd1950d5b5
[ "MIT" ]
9
2020-03-30T13:35:28.000Z
2022-03-01T17:24:20.000Z
import asyncio import json import os from unittest.mock import patch import pytest from eth_utils import encode_hex, to_canonical_address, to_checksum_address from tornado.httpclient import HTTPRequest from tornado.websocket import websocket_connect from raiden_installer import load_settings from raiden_installer.acc...
36.644637
98
0.635958
7f281eff9319b1d52f1e904c4e69206d883b8adc
3,872
py
Python
coral/reglib.py
kdberends/coral
637b1a4756f09841b71da7520754fc15d7fac72c
[ "MIT" ]
null
null
null
coral/reglib.py
kdberends/coral
637b1a4756f09841b71da7520754fc15d7fac72c
[ "MIT" ]
1
2019-04-15T09:52:59.000Z
2019-04-15T09:52:59.000Z
coral/reglib.py
kdberends/coral
637b1a4756f09841b71da7520754fc15d7fac72c
[ "MIT" ]
1
2019-08-17T13:36:02.000Z
2019-08-17T13:36:02.000Z
""" Regression library """ # ============================================================================= # Imports # ============================================================================= import theano import numpy as np import pymc3 as pm import random from coral.statsfunc import get_empirical_cdf, empirica...
33.669565
112
0.557593
7f2837056134a8675c72391b0e3336ba0c0c4211
26,367
py
Python
pysit/optimization/optimization.py
zfang-slim/PysitForPython3
dc60537b26018e28d92b7a956a2cf96775f0bdf9
[ "BSD-3-Clause" ]
null
null
null
pysit/optimization/optimization.py
zfang-slim/PysitForPython3
dc60537b26018e28d92b7a956a2cf96775f0bdf9
[ "BSD-3-Clause" ]
null
null
null
pysit/optimization/optimization.py
zfang-slim/PysitForPython3
dc60537b26018e28d92b7a956a2cf96775f0bdf9
[ "BSD-3-Clause" ]
1
2020-06-13T07:13:07.000Z
2020-06-13T07:13:07.000Z
import sys import time import copy import numpy as np import scipy.io as sio __all__=['OptimizationBase'] __docformat__ = "restructuredtext en"
39.120178
222
0.592938
7f289f79fa5cf6d1164d782245286d6f16f90388
7,091
py
Python
dashboard.py
fschw/dashoard
6583d8bdfd1f14d40607df121832c5ceb6cbaa81
[ "Apache-2.0" ]
null
null
null
dashboard.py
fschw/dashoard
6583d8bdfd1f14d40607df121832c5ceb6cbaa81
[ "Apache-2.0" ]
null
null
null
dashboard.py
fschw/dashoard
6583d8bdfd1f14d40607df121832c5ceb6cbaa81
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python # -*- coding:utf-8 -*- import os import sys import logging import ccs811LIBRARY logging.basicConfig(format='%(asctime)s %(levelname)-8s %(message)s', level=logging.DEBUG, datefmt='%Y-%m-%d %H:%M:%S') picdir = os.path.join(os.path.join(os.path.join(os.path.join(os.path.dirname(os.path.realpath(__fil...
37.718085
206
0.626287
7f28a7ab38e9b7eef62b3b54becbde2c0fcfdf3c
7,025
py
Python
polyply/src/polyply_parser.py
jan-stevens/polyply_1.0
17578a0ea546584164722129f0d718a5c9533a1a
[ "Apache-2.0" ]
34
2020-07-23T14:50:22.000Z
2022-03-17T02:03:41.000Z
polyply/src/polyply_parser.py
jan-stevens/polyply_1.0
17578a0ea546584164722129f0d718a5c9533a1a
[ "Apache-2.0" ]
136
2020-06-12T15:06:18.000Z
2022-03-31T11:31:09.000Z
polyply/src/polyply_parser.py
jan-stevens/polyply_1.0
17578a0ea546584164722129f0d718a5c9533a1a
[ "Apache-2.0" ]
7
2020-07-30T10:53:47.000Z
2022-03-11T19:27:57.000Z
# Copyright 2020 University of Groningen # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to i...
39.24581
95
0.601423
7f28c2e82480941f199ea350974100507d9d1569
8,138
py
Python
timeflux/nodes/query.py
jonathanjfshaw/timeflux
a17100bce754bd6d85d2c9c65a95bfcc0e7fe219
[ "MIT" ]
null
null
null
timeflux/nodes/query.py
jonathanjfshaw/timeflux
a17100bce754bd6d85d2c9c65a95bfcc0e7fe219
[ "MIT" ]
null
null
null
timeflux/nodes/query.py
jonathanjfshaw/timeflux
a17100bce754bd6d85d2c9c65a95bfcc0e7fe219
[ "MIT" ]
null
null
null
import numpy as np from timeflux.core.exceptions import WorkerInterrupt from timeflux.core.node import Node
35.229437
188
0.52986
7f2a45cc54e29cb7e353983ef17c8b140cf637fe
2,205
py
Python
tools/report-converter/codechecker_report_converter/analyzers/tslint/analyzer_result.py
hyker/codechecker
8ddb9bd1aa037d4499a2be8d35e9c1d470163baf
[ "Apache-2.0" ]
1
2021-04-08T16:51:45.000Z
2021-04-08T16:51:45.000Z
tools/report-converter/codechecker_report_converter/analyzers/tslint/analyzer_result.py
hyker/codechecker
8ddb9bd1aa037d4499a2be8d35e9c1d470163baf
[ "Apache-2.0" ]
1
2021-11-30T10:43:49.000Z
2021-11-30T10:43:49.000Z
tools/report-converter/codechecker_report_converter/analyzers/tslint/analyzer_result.py
hyker/codechecker
8ddb9bd1aa037d4499a2be8d35e9c1d470163baf
[ "Apache-2.0" ]
null
null
null
# ------------------------------------------------------------------------- # # Part of the CodeChecker project, under the Apache License v2.0 with # LLVM Exceptions. See LICENSE for license information. # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception # # ---------------------------------------------------...
32.426471
79
0.565079
7f2adbf9ea8e7eead366ec2e27cc570cfa8e157e
364
py
Python
executaveis/01-desconto.py
pro-pedropaulo/estudo_python
715a63c72d8b4ea2449e74617400f2bf37b19951
[ "MIT" ]
null
null
null
executaveis/01-desconto.py
pro-pedropaulo/estudo_python
715a63c72d8b4ea2449e74617400f2bf37b19951
[ "MIT" ]
null
null
null
executaveis/01-desconto.py
pro-pedropaulo/estudo_python
715a63c72d8b4ea2449e74617400f2bf37b19951
[ "MIT" ]
null
null
null
nome = input('Digite o nome da pessoa: ') salario = float(input('Digite o Salario da pessoa: ')) desconto = float(input('Digite a porcertagem de desconto do salario: ')) salario_final = salario - (salario / desconto) print('{}, tem o Salrio de R${:.2f}, mas houve desconto de {}%, o salario final do mes foi R${:.2f}'.f...
60.666667
146
0.708791
7f2b5175127736ab4e0d2ce18a1b4d34dfabbaf8
5,040
py
Python
FetchPatents.py
tymrail/PatentFPO
530f73148a8249cdc146ca2c3cedef1995df998e
[ "MIT" ]
null
null
null
FetchPatents.py
tymrail/PatentFPO
530f73148a8249cdc146ca2c3cedef1995df998e
[ "MIT" ]
null
null
null
FetchPatents.py
tymrail/PatentFPO
530f73148a8249cdc146ca2c3cedef1995df998e
[ "MIT" ]
1
2020-05-21T11:42:02.000Z
2020-05-21T11:42:02.000Z
import requests from bs4 import BeautifulSoup import sqlite3 import re from OperateDatabase import * import socket import random import time socket.setdefaulttimeout(1000) base_url = 'http://www.freepatentsonline.com' additional_url = ['/result.html?p=', '&sort=relevance&srch=top&query_txt=AN%2F%22...
38.769231
131
0.591667
7f2bb676e5135ebdf8b615c0ce9ba1c6a5bc6581
4,505
py
Python
test/observer/test_observer.py
a1trl9/MQBench
279c5a9e6e48778fe2913ba708b53ab9c2b0520c
[ "Apache-2.0" ]
51
2021-08-20T01:28:50.000Z
2021-09-22T05:34:39.000Z
test/observer/test_observer.py
a1trl9/MQBench
279c5a9e6e48778fe2913ba708b53ab9c2b0520c
[ "Apache-2.0" ]
7
2021-08-24T09:46:31.000Z
2021-09-22T05:43:06.000Z
test/observer/test_observer.py
a1trl9/MQBench
279c5a9e6e48778fe2913ba708b53ab9c2b0520c
[ "Apache-2.0" ]
6
2021-08-20T09:18:48.000Z
2021-09-19T04:35:13.000Z
import torch import unittest from mqbench.prepare_by_platform import prepare_by_platform, BackendType from mqbench.convert_deploy import convert_deploy from mqbench.utils.state import enable_calibration, enable_quantization
45.969388
113
0.685905
7f2bf725dc4bfa7321dd8446ecf83336132ad3f8
3,005
py
Python
ib_trading_calendars/status.py
alexanu/ib-trading-calendars
5a92770d106542968e856aa54ae48d48b306d7f3
[ "Apache-2.0" ]
9
2019-02-04T19:42:12.000Z
2021-08-04T18:36:43.000Z
ib_trading_calendars/status.py
alexanu/ib-trading-calendars
5a92770d106542968e856aa54ae48d48b306d7f3
[ "Apache-2.0" ]
1
2020-03-12T17:32:38.000Z
2020-03-12T17:32:38.000Z
ib_trading_calendars/status.py
alexanu/ib-trading-calendars
5a92770d106542968e856aa54ae48d48b306d7f3
[ "Apache-2.0" ]
8
2019-02-04T21:08:38.000Z
2021-08-04T18:36:45.000Z
#!/usr/bin/env python # Copyright 2019 QuantRocket LLC - 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 req...
36.646341
85
0.706156
7f2c6071c31a2ed0bd4232d7ae1073c3257e303e
8,520
py
Python
src/data_preparation/data_prep.py
christianhilscher/dynasim
881cfd3bd9d4b9291d289d703ec7da4a617a479a
[ "MIT" ]
null
null
null
src/data_preparation/data_prep.py
christianhilscher/dynasim
881cfd3bd9d4b9291d289d703ec7da4a617a479a
[ "MIT" ]
2
2020-08-06T10:01:59.000Z
2021-05-17T12:14:44.000Z
src/data_preparation/data_prep.py
christianhilscher/dynasim
881cfd3bd9d4b9291d289d703ec7da4a617a479a
[ "MIT" ]
2
2020-08-19T06:52:09.000Z
2021-12-10T08:57:54.000Z
import numpy as np import pandas as pd def SOEP_to_df_old(dataf): """ This function takes the SOEP data as a dataframe and returns the the harmonized data such that the rest of the code can work with it. It also renames the columns etc """ dataf = dataf.copy() # Checking whether some adjustments ...
32.643678
169
0.617019
7f2cd64976be46ed25ddd2ae11ac7035e1a5d54f
1,404
py
Python
Tracker_LoRa/test_sdb_sof/main.py
pbaron2/tracker-lora
e713ae090748c4416c4c689b1c2a2dcc7cc44a11
[ "MIT" ]
null
null
null
Tracker_LoRa/test_sdb_sof/main.py
pbaron2/tracker-lora
e713ae090748c4416c4c689b1c2a2dcc7cc44a11
[ "MIT" ]
null
null
null
Tracker_LoRa/test_sdb_sof/main.py
pbaron2/tracker-lora
e713ae090748c4416c4c689b1c2a2dcc7cc44a11
[ "MIT" ]
null
null
null
from network import LoRa import socket import time modes=[LoRa.LORA] coding=[LoRa.CODING_4_5,LoRa.CODING_4_6,LoRa.CODING_4_7,LoRa.CODING_4_8] pub=[True,False] for k in modes: for i in range(0,16): for j in range(0,6): for l in coding: for p in pub: #LoRa ...
28.653061
123
0.421652
7f2d05b6fae820e8bd03cf3afe4d2c069a1af0b6
731
py
Python
ansible/filter_plugins/decrypt.py
10sr/junks
638f75a2b592e60460f1bb680de1de8ef6a99519
[ "CC0-1.0" ]
null
null
null
ansible/filter_plugins/decrypt.py
10sr/junks
638f75a2b592e60460f1bb680de1de8ef6a99519
[ "CC0-1.0" ]
24
2016-07-19T04:59:00.000Z
2021-09-30T02:10:06.000Z
ansible/filter_plugins/decrypt.py
10sr/junks
638f75a2b592e60460f1bb680de1de8ef6a99519
[ "CC0-1.0" ]
1
2018-05-21T06:35:00.000Z
2018-05-21T06:35:00.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import base64 from cryptography.fernet import Fernet import hashlib if __name__ == "__main__": import sys print(_enc(sys.argv[1].encode("utf-8"), sys.argv[2]))
20.885714
74
0.645691
7f2e724ea35fff6427fd9fe2bf26c971384b0524
1,268
py
Python
setup.py
lnknguyen/niimpy
2aebd1d59b0b7562103128d5eaff90f20091f6fd
[ "MIT" ]
null
null
null
setup.py
lnknguyen/niimpy
2aebd1d59b0b7562103128d5eaff90f20091f6fd
[ "MIT" ]
null
null
null
setup.py
lnknguyen/niimpy
2aebd1d59b0b7562103128d5eaff90f20091f6fd
[ "MIT" ]
null
null
null
#!/usr/bin/env python from setuptools import setup, find_packages from os.path import join, dirname with open("README.md", "r") as fh: long_description = fh.read() version_ns = { } exec(open('niimpy/_version.py').read(), version_ns) version = version_ns['__version__'] del version_ns requirementstxt = join(dirna...
32.512821
86
0.67429
7f30a1684896d53f541a481dace286d253b53f59
329
py
Python
core/interface/action.py
caostorm/smng
f1cff4010a0645ae8e1182cd3c961d97cecf4a6e
[ "MIT" ]
null
null
null
core/interface/action.py
caostorm/smng
f1cff4010a0645ae8e1182cd3c961d97cecf4a6e
[ "MIT" ]
null
null
null
core/interface/action.py
caostorm/smng
f1cff4010a0645ae8e1182cd3c961d97cecf4a6e
[ "MIT" ]
1
2019-06-26T13:05:45.000Z
2019-06-26T13:05:45.000Z
#coding=utf-8 from abc import ABCMeta, abstractmethod
16.45
39
0.644377
7f311571dd0bf0894a02e05b6fff48b29b3ac83a
430
py
Python
generator/model.py
AntonyMoes/cyberhelper
125805b19190250968bf6deef836a600e8b25af6
[ "MIT" ]
1
2019-08-19T18:48:52.000Z
2019-08-19T18:48:52.000Z
generator/model.py
AntonyMoes/cyberkotsenko
125805b19190250968bf6deef836a600e8b25af6
[ "MIT" ]
18
2019-08-18T14:56:58.000Z
2019-08-30T18:07:06.000Z
generator/model.py
AntonyMoes/cyberhelper
125805b19190250968bf6deef836a600e8b25af6
[ "MIT" ]
1
2019-08-19T19:45:36.000Z
2019-08-19T19:45:36.000Z
from keras.models import Sequential from keras.layers import Dense from keras.layers import LSTM from keras.optimizers import RMSprop
28.666667
71
0.75814