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
ae02de2b9a04ab2ec51a173473001761384a9382
781
py
Python
flask_web/config/default.py
Max-PJB/python-learning2
e8b05bef1574ee9abf8c90497e94ef20a7f4e3bd
[ "MIT" ]
null
null
null
flask_web/config/default.py
Max-PJB/python-learning2
e8b05bef1574ee9abf8c90497e94ef20a7f4e3bd
[ "MIT" ]
null
null
null
flask_web/config/default.py
Max-PJB/python-learning2
e8b05bef1574ee9abf8c90497e94ef20a7f4e3bd
[ "MIT" ]
null
null
null
# coding: utf-8 import os
24.40625
88
0.50064
7ac3c07bce8003bb3e2b3c3cce602636e606ad54
460
py
Python
sample_pointcloud.py
jiameng1010/pointNet
17d230f46f64136baba2c3d6cb7f05ab4bbb9f31
[ "MIT" ]
null
null
null
sample_pointcloud.py
jiameng1010/pointNet
17d230f46f64136baba2c3d6cb7f05ab4bbb9f31
[ "MIT" ]
null
null
null
sample_pointcloud.py
jiameng1010/pointNet
17d230f46f64136baba2c3d6cb7f05ab4bbb9f31
[ "MIT" ]
1
2019-02-03T12:19:36.000Z
2019-02-03T12:19:36.000Z
from pyntcloud import PyntCloud import pyembree import numpy as np import trimesh from trimesh import sample, ray, triangles from trimesh.ray.ray_pyembree import RayMeshIntersector import pandas as pd cloud = PyntCloud.from_file("/home/mjia/Documents/ShapeCompletion/test.ply") sample = cloud.get_sample(name='mesh_ran...
28.75
81
0.806522
7ac488b99ab139e2a02a5b3e6b204fadcc8e4335
2,842
py
Python
packages/asv_perception_segmentation/src/kaffe/caffe/resolver.py
rolker/asv_perception
395e5ebbd28790257c0c5188da6d409b49a64253
[ "BSD-3-Clause" ]
11
2020-12-08T17:41:56.000Z
2022-03-27T08:32:30.000Z
packages/asv_perception_segmentation/src/kaffe/caffe/resolver.py
20-210-River-Data-Analysis-Captone/asv_perception
a396b1ca980c2ddcb0480804dbc4c7e34df91fba
[ "BSD-3-Clause" ]
null
null
null
packages/asv_perception_segmentation/src/kaffe/caffe/resolver.py
20-210-River-Data-Analysis-Captone/asv_perception
a396b1ca980c2ddcb0480804dbc4c7e34df91fba
[ "BSD-3-Clause" ]
10
2020-11-30T03:10:47.000Z
2022-03-06T12:10:09.000Z
""" # License Each contributor holds copyright over their contributions to Caffe-Tensorflow. In particular: - Any included network model is provided under its original license. - Any portion derived from Caffe is provided under its original license. - Caffe-tensorflow is provided under the MIT license, as specified...
34.240964
93
0.697396
7ac5aa5c10712fd00bd98ae05b008abfcf61afd7
3,731
py
Python
n_step_sarsa.py
SuperSaiyan-God/Reinforcement-Learning
b43a2997e28ec3bf437c37d060637f6deecf89c6
[ "MIT" ]
null
null
null
n_step_sarsa.py
SuperSaiyan-God/Reinforcement-Learning
b43a2997e28ec3bf437c37d060637f6deecf89c6
[ "MIT" ]
null
null
null
n_step_sarsa.py
SuperSaiyan-God/Reinforcement-Learning
b43a2997e28ec3bf437c37d060637f6deecf89c6
[ "MIT" ]
null
null
null
import numpy as np import gym poleThetaSpace = np.linspace(-0.209, 0.209, 10) poleThetaVelSpace = np.linspace(-4, 4, 10) cartPosSpace = np.linspace(-2.4, 2.4, 10) cartVelSpace = np.linspace(-4, 4, 10) if __name__ == '__main__': env = gym.make('CartPole-v0') alpha = 0.1 gamma = 0.9 epsilon = 1.0 s...
34.546296
79
0.515679
7ac85f7048458c2addf6b3de189fc26545d191a3
1,173
py
Python
codeTest.py
horknfbr/random
5f34b0dd2846fdeaf4940a5bc804f39c4022c90b
[ "MIT" ]
null
null
null
codeTest.py
horknfbr/random
5f34b0dd2846fdeaf4940a5bc804f39c4022c90b
[ "MIT" ]
null
null
null
codeTest.py
horknfbr/random
5f34b0dd2846fdeaf4940a5bc804f39c4022c90b
[ "MIT" ]
null
null
null
#!/bin/env python3 pathString = ["PDX-SFO", "SEA-JFK", "SFO-SEA", "LAX-PDX"] if __name__ == "__main__": print(f"Unsorted: { pathString }") breakPairs(pathString)
23.938776
77
0.498721
7ac8b758a4914d28a0b5c6ed5e7469c1911dac47
2,526
py
Python
ASAConfigUsingREST/asa/ASA.py
g-ser/pythonNetworking
56081fbcfc8a45eb0645cd4cd19322acd2f42acd
[ "MIT" ]
null
null
null
ASAConfigUsingREST/asa/ASA.py
g-ser/pythonNetworking
56081fbcfc8a45eb0645cd4cd19322acd2f42acd
[ "MIT" ]
null
null
null
ASAConfigUsingREST/asa/ASA.py
g-ser/pythonNetworking
56081fbcfc8a45eb0645cd4cd19322acd2f42acd
[ "MIT" ]
null
null
null
import requests from requests.auth import HTTPBasicAuth from enum import Enum, auto import json.tool # suppress the message which comes from the self-signed certificate of ASA requests.packages.urllib3.disable_warnings() def sendrequest(verb, headers, url, auth, data=''): """ Helper method used by the metho...
31.575
103
0.61441
7ac8df6afc61122a3443bbed1503b982f80f9727
838
py
Python
Python Programs/count_nummber_in_web.py
Chibi-Shem/Hacktoberfest2020-Expert
324843464aec039e130e85a16e74b76d310f1497
[ "MIT" ]
77
2020-10-01T10:06:59.000Z
2021-11-08T08:57:18.000Z
Python Programs/count_nummber_in_web.py
Chibi-Shem/Hacktoberfest2020-Expert
324843464aec039e130e85a16e74b76d310f1497
[ "MIT" ]
46
2020-09-27T04:55:36.000Z
2021-05-14T18:49:06.000Z
Python Programs/count_nummber_in_web.py
Chibi-Shem/Hacktoberfest2020-Expert
324843464aec039e130e85a16e74b76d310f1497
[ "MIT" ]
327
2020-09-26T17:06:03.000Z
2021-10-09T06:04:39.000Z
import urllib.request, urllib.parse, urllib.error import xml.etree.ElementTree as ET url= input('Enter - ') data= urllib.request.urlopen(url).read().decode() #print(type('data')) #data ='''<commentinfo>tag</commentinfo>''' #print("~~~",data) c=0 commentsinfo = ET.fromstring(data)#starting tag. ie is "commentinfo" in ...
33.52
94
0.695704
7aca22cf041ef5a7f5b1aca7a605fe8549b92aca
9,329
py
Python
spaceshooter.py
emBrileg08/Space-Shooter
bd7779000675405bc389afe0de5806f45c6c632d
[ "MIT" ]
null
null
null
spaceshooter.py
emBrileg08/Space-Shooter
bd7779000675405bc389afe0de5806f45c6c632d
[ "MIT" ]
null
null
null
spaceshooter.py
emBrileg08/Space-Shooter
bd7779000675405bc389afe0de5806f45c6c632d
[ "MIT" ]
null
null
null
""" spaceshooter.py Author: emBrileg08 Credit: Spacewar Source Code www.pythoncentral.io for information on random number generation Assignment: Write and submit a program that implements the spacewar game: https://github.com/HHS-IntroProgramming/Spacewar """ from ggame import App, Sprite, ImageAsset, Frame import ran...
33.557554
185
0.554722
7acab154c2fe79d2a9e8272d3e4b0a39eb8dbfdd
1,399
py
Python
user/authentication.py
cavidanhasanli/TaskManager
6610370046ed3af228746c9590f23a69a77a9b23
[ "MIT" ]
null
null
null
user/authentication.py
cavidanhasanli/TaskManager
6610370046ed3af228746c9590f23a69a77a9b23
[ "MIT" ]
null
null
null
user/authentication.py
cavidanhasanli/TaskManager
6610370046ed3af228746c9590f23a69a77a9b23
[ "MIT" ]
null
null
null
import bcrypt from fastapi_jwt_auth import AuthJWT from passlib.context import CryptContext from .schemas import UserInDB, UserPassword pwd_context = CryptContext(schemes=["bcrypt"], deprecated="auto")
34.121951
84
0.706219
7acb3839960d46daa774c78e73cb0aeba944f283
288
py
Python
ddtruss/__init__.py
deeepeshthakur/ddtruss
86aa945d577c6efe752099eee579386762942289
[ "MIT" ]
1
2020-01-27T12:03:47.000Z
2020-01-27T12:03:47.000Z
ddtruss/__init__.py
deeepeshthakur/ddtruss
86aa945d577c6efe752099eee579386762942289
[ "MIT" ]
null
null
null
ddtruss/__init__.py
deeepeshthakur/ddtruss
86aa945d577c6efe752099eee579386762942289
[ "MIT" ]
null
null
null
from .__about__ import __author__, __email__, __license__, __status__, __version__ from .solver import DataDrivenSolver from .truss import Truss __all__ = [ "__author__", "__email__", "__license__", "__version__", "__status__", "Truss", "DataDrivenSolver", ]
20.571429
82
0.697917
7acb5c4779bdc1cd6d0e8bfab4d8463b76ef166b
413
py
Python
01 - EstruturaSequencial/13ex.py
lucasbraga10/ListaDeExerciciosPython
496a6c90e33e60fdf13e841c78a22707aa7139a8
[ "MIT" ]
null
null
null
01 - EstruturaSequencial/13ex.py
lucasbraga10/ListaDeExerciciosPython
496a6c90e33e60fdf13e841c78a22707aa7139a8
[ "MIT" ]
null
null
null
01 - EstruturaSequencial/13ex.py
lucasbraga10/ListaDeExerciciosPython
496a6c90e33e60fdf13e841c78a22707aa7139a8
[ "MIT" ]
null
null
null
'''13 - Tendo como dado de entrada a altura (h) de uma pessoa, construa um algoritmo que calcule seu peso ideal, utilizando as seguintes frmulas: * Para homens: (72.7*h) - 58 * Para mulheres: (62.1*h) - 44.7 ''' altura = float(input('Digite a sua altura em metros: ')) print(f'O peso ideal para homens de {(72.7*al...
37.545455
112
0.675545
7acba5203922316cadaa6ed16f71cc4bbd1b8a30
18,175
py
Python
tools/preprocess-rcnn-leaf.py
bernardcwj/FYP_2017
a9c9f6c6f83de018f63f83d283a75f50742108f0
[ "MIT" ]
null
null
null
tools/preprocess-rcnn-leaf.py
bernardcwj/FYP_2017
a9c9f6c6f83de018f63f83d283a75f50742108f0
[ "MIT" ]
null
null
null
tools/preprocess-rcnn-leaf.py
bernardcwj/FYP_2017
a9c9f6c6f83de018f63f83d283a75f50742108f0
[ "MIT" ]
null
null
null
import argparse import os import glob import shutil import json import re import hashlib import numpy as np import sys import imgaug as ia from imgaug import augmenters as iaa from multiprocessing import Pool, Value, Manager from lxml import etree from PIL import Image, ImageFile, ImageDraw, ImageFont ImageFile.LOAD_T...
32.806859
435
0.643301
7acbb0a39bd2e8157fd784661046a2e583513ba0
1,256
py
Python
examples/test01.py
pyrate-build/pyrate-build
8ce9c2dd2b94b50aebfd058e1dd8731cbb192e6d
[ "Apache-2.0" ]
41
2016-01-14T15:28:53.000Z
2022-03-17T12:43:01.000Z
examples/test01.py
pyrate-build/pyrate-build
8ce9c2dd2b94b50aebfd058e1dd8731cbb192e6d
[ "Apache-2.0" ]
5
2016-01-20T09:42:30.000Z
2016-12-22T22:54:27.000Z
examples/test01.py
pyrate-build/pyrate-build
8ce9c2dd2b94b50aebfd058e1dd8731cbb192e6d
[ "Apache-2.0" ]
3
2016-01-20T09:40:28.000Z
2020-10-29T09:33:48.000Z
import logging assert(pyrate_version > (0, 1, 9)) assert(pyrate_version >= '0.1.10') assert(pyrate_version != '0.0.1') assert(pyrate_version == pyrate_version) match('*.cpp', recurse = True) exe = executable('test.bin', ['test.cpp']) exe = executable('test.bin', ['test.cpp']) try: executable('test.bin', ['test.cpp', ...
24.153846
52
0.713376
7acc9ee1bc31164a1469a0d9996ab350cd9b5055
1,424
py
Python
pshychocloud/WAPPMessageAnalyzer.py
partu18/pshychocloud
208d8d3dd646637719f70a86f9d9e43dd2eed929
[ "MIT" ]
null
null
null
pshychocloud/WAPPMessageAnalyzer.py
partu18/pshychocloud
208d8d3dd646637719f70a86f9d9e43dd2eed929
[ "MIT" ]
2
2021-06-08T19:28:41.000Z
2021-09-07T23:47:14.000Z
pshychocloud/WAPPMessageAnalyzer.py
partu18/pshychocloud
208d8d3dd646637719f70a86f9d9e43dd2eed929
[ "MIT" ]
null
null
null
from MessageAnalyzer import MessageAnalyzer
45.935484
89
0.514045
7acf58e8499c47b575fb712b1d021c637dfc8af9
2,422
py
Python
ros/src/twist_controller/twist_controller.py
mohamedameen93/An-Autonomous-Vehicle-System-For-Udacity-s-Carla
a7ecd632c5f91f2d6037cbcb0cabff94e6e74869
[ "MIT" ]
11
2018-10-28T07:06:00.000Z
2022-02-17T09:20:46.000Z
ros/src/twist_controller/twist_controller.py
mohamedameen93/An-Autonomous-Vehicle-System-For-Udacity-s-Carla
a7ecd632c5f91f2d6037cbcb0cabff94e6e74869
[ "MIT" ]
7
2018-08-02T08:03:31.000Z
2018-08-22T12:42:32.000Z
ros/src/twist_controller/twist_controller.py
mohamedameen93/An-Autonomous-Vehicle-System-For-Udacity-s-Carla
a7ecd632c5f91f2d6037cbcb0cabff94e6e74869
[ "MIT" ]
4
2018-12-24T16:31:54.000Z
2022-01-14T15:14:10.000Z
import rospy from pid import PID from yaw_controller import YawController from lowpass import LowPassFilter GAS_DENSITY = 2.858 ONE_MPH = 0.44704
30.275
93
0.593311
7ad2878054453ac85ec36e78b1add4ee655d5d36
549
py
Python
test_normalize_sentences.py
Alienmaster/german-asr-lm-tools
acd014181addf01569732bfc437ac130de6dd311
[ "Apache-2.0" ]
11
2020-06-28T16:08:05.000Z
2022-01-20T08:50:22.000Z
test_normalize_sentences.py
Alienmaster/german-asr-lm-tools
acd014181addf01569732bfc437ac130de6dd311
[ "Apache-2.0" ]
3
2020-06-24T11:09:18.000Z
2021-08-13T15:26:33.000Z
test_normalize_sentences.py
Alienmaster/german-asr-lm-tools
acd014181addf01569732bfc437ac130de6dd311
[ "Apache-2.0" ]
3
2020-06-13T11:41:49.000Z
2020-09-14T15:47:46.000Z
import normalize_sentences import spacy nlp = spacy.load('de_core_news_sm') test_sentence = 'Der schlaue Fuchs sagte "Treffen um 16:20 Uhr!" aber war schon 20 Minuten frher da. Im Jahre 1995 schuf er das Gedicht.' test_sent('Der schlaue Fuchs sagte "Treffen um 16:20 Uhr!" aber war schon 20 Minuten frher da. Im Jahre...
36.6
138
0.765027
7ad40cb378a37aba085680b342019de80c7c506e
3,108
py
Python
apps/product/migrations/0001_initial.py
wasim2263/super-shop-management
9e8a9fdec7c3f47842eb97b1b682f6ab37b5e22d
[ "MIT" ]
null
null
null
apps/product/migrations/0001_initial.py
wasim2263/super-shop-management
9e8a9fdec7c3f47842eb97b1b682f6ab37b5e22d
[ "MIT" ]
null
null
null
apps/product/migrations/0001_initial.py
wasim2263/super-shop-management
9e8a9fdec7c3f47842eb97b1b682f6ab37b5e22d
[ "MIT" ]
null
null
null
# Generated by Django 3.1.12 on 2021-06-17 19:29 from django.db import migrations, models import django.db.models.deletion import django.utils.timezone import model_utils.fields
49.333333
147
0.606178
7ad867b12b57deb0d8a3770340fa6ea4f03970c1
2,184
py
Python
webapp/test/app_test2.py
PratikMahajan/Recipe-Management-Webapp-And-Infrastructure
234b0685ee0367a3e37401af3bd77d6fc6cde6ce
[ "Apache-2.0" ]
null
null
null
webapp/test/app_test2.py
PratikMahajan/Recipe-Management-Webapp-And-Infrastructure
234b0685ee0367a3e37401af3bd77d6fc6cde6ce
[ "Apache-2.0" ]
null
null
null
webapp/test/app_test2.py
PratikMahajan/Recipe-Management-Webapp-And-Infrastructure
234b0685ee0367a3e37401af3bd77d6fc6cde6ce
[ "Apache-2.0" ]
null
null
null
from app import app import unittest import base64 import json # def test_user_recipe_delete(self): # response = self.app.delete( # '/v1/recipe/f5e02bd4-55da-4243-b7fb-980b230a1138', headers={'Authorization': 'Basic ' + self.valid_credentials}) # self.assertEqual(response.status_code, 403) ...
34.666667
125
0.579212
7ad8b48b9381ffbf31887fa648e99f17d08a746a
282
py
Python
Python/Sets/symmertic_diffrence.py
abivilion/Hackerank-Solutions-
e195fb1fce1588171cf12d99d38da32ca5c8276a
[ "MIT" ]
null
null
null
Python/Sets/symmertic_diffrence.py
abivilion/Hackerank-Solutions-
e195fb1fce1588171cf12d99d38da32ca5c8276a
[ "MIT" ]
null
null
null
Python/Sets/symmertic_diffrence.py
abivilion/Hackerank-Solutions-
e195fb1fce1588171cf12d99d38da32ca5c8276a
[ "MIT" ]
null
null
null
# a,b = [set(input().split()) for i in range(4)][1::2] # print ('\n'.join(sorted(a^b, key=int))) a,b=(int(input()),input().split()) c,d=(int(input()),input().split()) x=set(b) y=set(d) p=y.difference(x) q=x.difference(y) r=p.union(q) print ('\n'.join(sorted(r, key=int)))
25.636364
55
0.567376
7ad914f27e6f44076a38b1e259798547bd6b192b
646
py
Python
prototype-scripts/src/check_dependencies.py
thomaslienbacher/one-man-rps
136dd27cfb7e3a7f2a8c016c4c758a3040dd1a02
[ "MIT" ]
null
null
null
prototype-scripts/src/check_dependencies.py
thomaslienbacher/one-man-rps
136dd27cfb7e3a7f2a8c016c4c758a3040dd1a02
[ "MIT" ]
null
null
null
prototype-scripts/src/check_dependencies.py
thomaslienbacher/one-man-rps
136dd27cfb7e3a7f2a8c016c4c758a3040dd1a02
[ "MIT" ]
null
null
null
""" Diese Script kann genutzt werden, um zu berprfen ob alle Python Bibliotheken installiert wurden. Wenn am Ende ein Smiley kommt ist hchst wahrscheinlich alles korrekt installiert. """ print("Loading...") import numpy import matplotlib import cv2 from picamera import mmal import tensorflow print("Versions installe...
30.761905
101
0.763158
7adb54044291cf0ab7965afb9c970e868933f5bd
15,841
py
Python
mpilot/libraries/eems/basic.py
consbio/MPilot
e0c48b6640982c8234404b2f2ca34859b0c96dc0
[ "MIT" ]
null
null
null
mpilot/libraries/eems/basic.py
consbio/MPilot
e0c48b6640982c8234404b2f2ca34859b0c96dc0
[ "MIT" ]
null
null
null
mpilot/libraries/eems/basic.py
consbio/MPilot
e0c48b6640982c8234404b2f2ca34859b0c96dc0
[ "MIT" ]
null
null
null
from __future__ import division import copy from functools import reduce import numpy import six from mpilot import params from mpilot.commands import Command from mpilot.libraries.eems.exceptions import ( MismatchedWeights, MixedArrayLengths, DuplicateRawValues, ) from mpilot.libraries.eems.mixins impor...
31.9375
109
0.629506
7adcd3919f89846eb5519f1327db7bcb0128e793
953
py
Python
backend/api/migrations/0022_auto_20200610_0618.py
luizfilipezs/lousher
267afbca6874d946801bd55db2c8f64da7dd594e
[ "Apache-2.0" ]
null
null
null
backend/api/migrations/0022_auto_20200610_0618.py
luizfilipezs/lousher
267afbca6874d946801bd55db2c8f64da7dd594e
[ "Apache-2.0" ]
14
2020-05-13T22:15:29.000Z
2022-03-12T00:29:32.000Z
backend/api/migrations/0022_auto_20200610_0618.py
luizfilipezs/lousher
267afbca6874d946801bd55db2c8f64da7dd594e
[ "Apache-2.0" ]
null
null
null
# Generated by Django 3.0.5 on 2020-06-10 06:18 from django.db import migrations, models
32.862069
258
0.593914
7add0d34f0931ada4c03cadbbcbbc9f0853f5478
4,005
py
Python
app/view.py
ordinem-net/core
f59a06a51fcac32ba79005ba25842bb258c3a08c
[ "Apache-2.0" ]
null
null
null
app/view.py
ordinem-net/core
f59a06a51fcac32ba79005ba25842bb258c3a08c
[ "Apache-2.0" ]
2
2020-07-17T00:05:30.000Z
2021-05-08T16:38:39.000Z
app/view.py
ordinem-net/core
f59a06a51fcac32ba79005ba25842bb258c3a08c
[ "Apache-2.0" ]
null
null
null
from app.app import app from flask import render_template, redirect, url_for, Markup, request from app.mage import Mage from const import const from essense.user import User from essense.secondary.fs.json_files import JsonFiles import os
33.099174
120
0.639451
7add2abee486f5e568f763dc5a15c1f88fe37f12
47,337
py
Python
run.py
LuxuriaP/editsql
2a031b620da32170b26ec14f8722ff8a6435d30d
[ "MIT" ]
null
null
null
run.py
LuxuriaP/editsql
2a031b620da32170b26ec14f8722ff8a6435d30d
[ "MIT" ]
null
null
null
run.py
LuxuriaP/editsql
2a031b620da32170b26ec14f8722ff8a6435d30d
[ "MIT" ]
null
null
null
"""Contains a main function for training and/or evaluating a model.""" import os import sys import numpy as np import random import shutil import copy from parse_args import interpret_args import data_util from data_util import atis_data from model.schema_interaction_model import SchemaInteractionATISModel from log...
39.283817
117
0.537888
7adfe972025dbd18a4cc50d3193c37be23c3dc0d
3,580
py
Python
app/messages.py
mjogodnik22/mini-amazon
cc7caf9366b862e43271305d1b2d27bb6c08260d
[ "MIT" ]
null
null
null
app/messages.py
mjogodnik22/mini-amazon
cc7caf9366b862e43271305d1b2d27bb6c08260d
[ "MIT" ]
null
null
null
app/messages.py
mjogodnik22/mini-amazon
cc7caf9366b862e43271305d1b2d27bb6c08260d
[ "MIT" ]
null
null
null
from flask import render_template, redirect, url_for, flash, request from werkzeug.urls import url_parse from flask_login import login_user, logout_user, current_user from flask_wtf import FlaskForm from wtforms import StringField, PasswordField, BooleanField, SubmitField, TextAreaField from wtforms.validators import V...
45.316456
132
0.709218
7ae020c7e1f46bb4f4ef30411e9ee4cb88e36131
864
py
Python
telluric/constants.py
FlorianPignol/telluric
285c7e195b2da630b4c76f2552465a424bcdaeb2
[ "MIT" ]
81
2018-04-12T12:29:06.000Z
2022-03-17T09:41:55.000Z
telluric/constants.py
FlorianPignol/telluric
285c7e195b2da630b4c76f2552465a424bcdaeb2
[ "MIT" ]
283
2018-04-09T11:32:25.000Z
2022-03-25T22:16:38.000Z
telluric/constants.py
FlorianPignol/telluric
285c7e195b2da630b4c76f2552465a424bcdaeb2
[ "MIT" ]
22
2018-04-09T10:53:52.000Z
2022-02-09T10:38:33.000Z
"""Useful constants. """ from rasterio.crs import CRS WGS84_SRID = 4326 #: WGS84 CRS. WGS84_CRS = CRS.from_epsg(WGS84_SRID) WEB_MERCATOR_SRID = 3857 #: Web Mercator CRS. WEB_MERCATOR_CRS = CRS.from_epsg(WEB_MERCATOR_SRID) # Best widely used, equal area projection according to # http://icaci.org/documents/ICC_procee...
27
101
0.768519
7ae0ec90a9546ca116697deb654ef6dc07e67e6d
1,552
py
Python
benzhu/file.py
xiaozhu-CHN/virmach
c40465f9c004c9050f513351f5f5844563b733e1
[ "MIT" ]
2
2020-08-03T18:07:53.000Z
2020-08-03T18:08:34.000Z
benzhu/file.py
xiaozhu-CHN/virmach
c40465f9c004c9050f513351f5f5844563b733e1
[ "MIT" ]
3
2021-06-02T00:43:17.000Z
2022-03-02T15:00:32.000Z
benzhu/file.py
xiaozhu-CHN/virmach
c40465f9c004c9050f513351f5f5844563b733e1
[ "MIT" ]
1
2020-01-11T03:10:38.000Z
2020-01-11T03:10:38.000Z
import json import os import time
36.952381
93
0.478737
7ae17d9da913f63cf5c16d0c36dc2d3d3734b46e
933
py
Python
trees/Path Sum 3/Solution.py
shahbagdadi/py-algo-n-ds
ff689534b771ddb4869b001b20a0e21b4896bb0a
[ "MIT" ]
null
null
null
trees/Path Sum 3/Solution.py
shahbagdadi/py-algo-n-ds
ff689534b771ddb4869b001b20a0e21b4896bb0a
[ "MIT" ]
null
null
null
trees/Path Sum 3/Solution.py
shahbagdadi/py-algo-n-ds
ff689534b771ddb4869b001b20a0e21b4896bb0a
[ "MIT" ]
null
null
null
# Definition for a binary tree node. import sys , os sys.path.append(os.path.abspath('../TreeUtil')) from util import drawtree , deserialize, serialize from collections import defaultdict ip = '[10,5,-3,3,2,null,11,3,-2,null,1]' root = deserialize(ip) s = Solution() ans = s.pathSum(root,8) print(ans)
26.657143
55
0.580922
7ae50d93020389130f7a04ed4c7ed892b8c42fdf
1,743
py
Python
tests/test_basics.py
viki-org/logstash-docker
71d316dfa1792075ffe82398f45561cf25741609
[ "Apache-2.0" ]
305
2016-10-04T04:17:04.000Z
2021-11-16T13:53:05.000Z
tests/test_basics.py
viki-org/logstash-docker
71d316dfa1792075ffe82398f45561cf25741609
[ "Apache-2.0" ]
105
2016-10-10T15:52:39.000Z
2019-06-26T13:39:36.000Z
tests/test_basics.py
viki-org/logstash-docker
71d316dfa1792075ffe82398f45561cf25741609
[ "Apache-2.0" ]
133
2016-11-03T18:01:43.000Z
2022-02-02T12:16:55.000Z
from .fixtures import logstash from .constants import logstash_version_string # REF: https://docs.openshift.com/container-platform/3.5/creating_images/guidelines.html
34.176471
90
0.780838
7ae77cea0feb66dc50a535f9fec6fd95a86986f6
9,836
py
Python
algorithms/topological_maps/tests/test_topological.py
alex-petrenko/landmark-exploration
faaeff84176de34e2ab4c18b24ee022bd069299e
[ "MIT" ]
4
2019-01-04T20:37:30.000Z
2019-03-27T02:07:55.000Z
algorithms/topological_maps/tests/test_topological.py
pelillian/landmark-exploration
4b9a6fff665e67f97e43f85aa657d4f7a6ca8e75
[ "MIT" ]
26
2019-02-10T02:02:51.000Z
2019-03-19T22:53:54.000Z
algorithms/topological_maps/tests/test_topological.py
pelillian/landmark-exploration
4b9a6fff665e67f97e43f85aa657d4f7a6ca8e75
[ "MIT" ]
1
2019-01-09T06:48:58.000Z
2019-01-09T06:48:58.000Z
import copy import math import random import shutil from string import ascii_lowercase from unittest import TestCase import numpy as np import networkx as nx from algorithms.agent import AgentLearner from algorithms.tests.test_wrappers import TEST_ENV_NAME from algorithms.topological_maps.topological_map import Topol...
33.006711
116
0.589467
7ae78226f99c528f9f91384558054ac4094ba103
644
py
Python
ch8/exercises/ans8_6.py
chunhua2017/pythonprogrammingdemo
64e4ac2b33c54cde4671291a6203e94cd96de4ba
[ "MIT" ]
4
2020-05-18T05:25:44.000Z
2021-07-30T01:02:39.000Z
ch8/exercises/ans8_6.py
chunhua2017/pythonprogrammingdemo
64e4ac2b33c54cde4671291a6203e94cd96de4ba
[ "MIT" ]
null
null
null
ch8/exercises/ans8_6.py
chunhua2017/pythonprogrammingdemo
64e4ac2b33c54cde4671291a6203e94cd96de4ba
[ "MIT" ]
2
2021-09-15T05:41:05.000Z
2022-01-25T05:44:43.000Z
# CPUNNtarget # 10000001 # 1000000 import threading, os, time N = os.cpu_count() # CPUN # if __name__ == '__main__': print(f"CPU has {N} Cores.") print("Start threading...") n = 1000000 threads = [threading.Thread(target=task, args=(n, )) for _ in range(N)] for thread in threads: thread.s...
29.272727
75
0.64441
7ae81ffd916d508ea02a5f801963bc2929653520
340
py
Python
src/utils.py
Benjvdg/altered-configurator
fa0ef454156eefdd6396f1c4809d5cf93ed76154
[ "MIT" ]
null
null
null
src/utils.py
Benjvdg/altered-configurator
fa0ef454156eefdd6396f1c4809d5cf93ed76154
[ "MIT" ]
null
null
null
src/utils.py
Benjvdg/altered-configurator
fa0ef454156eefdd6396f1c4809d5cf93ed76154
[ "MIT" ]
null
null
null
from .configuration import Configuration
28.333333
49
0.679412
7ae99f4f645effca112671b0e373f67c1099494b
1,352
pyw
Python
DataParser.pyw
RobustProgram/Python-GEngine
066a160f24192104dc3d6d97d07fa1b95c17a85d
[ "MIT" ]
null
null
null
DataParser.pyw
RobustProgram/Python-GEngine
066a160f24192104dc3d6d97d07fa1b95c17a85d
[ "MIT" ]
null
null
null
DataParser.pyw
RobustProgram/Python-GEngine
066a160f24192104dc3d6d97d07fa1b95c17a85d
[ "MIT" ]
null
null
null
import configparser """ VARIABLES """ config_Path = "EngineDataFile\EngineConfig\GEngineSettings.ini"
33.8
77
0.506657
7aeb7cc4116d6a02d146bf1aa77231481c47e119
457
py
Python
profile/bcs_gap_energy.py
pleroux0/super_material
b64d74afdeab7639dd1b220f8b23ade22d87c481
[ "BSD-2-Clause" ]
3
2020-10-20T00:37:59.000Z
2021-07-17T12:59:52.000Z
profile/bcs_gap_energy.py
pleroux0/super_material
b64d74afdeab7639dd1b220f8b23ade22d87c481
[ "BSD-2-Clause" ]
null
null
null
profile/bcs_gap_energy.py
pleroux0/super_material
b64d74afdeab7639dd1b220f8b23ade22d87c481
[ "BSD-2-Clause" ]
2
2020-10-02T14:31:07.000Z
2021-08-15T10:00:29.000Z
#!/usr/bin/env python3 from cProfile import Profile from numpy import linspace from super_material.gap_energy import BCSGapEnergy if __name__ == "__main__": run()
19.869565
74
0.717724
7aeeeef62aa01b729262c5390d03e0480b6ae142
2,292
py
Python
rotkehlchen/tests/unit/uniswap/test_calculate_events_balances.py
rotkehlchenio/rotkehlchen
98f49cd3ed26c641fec03b78eff9fe1872385fbf
[ "BSD-3-Clause" ]
137
2018-03-05T11:53:29.000Z
2019-11-03T16:38:42.000Z
rotkehlchen/tests/unit/uniswap/test_calculate_events_balances.py
rotkehlchenio/rotkehlchen
98f49cd3ed26c641fec03b78eff9fe1872385fbf
[ "BSD-3-Clause" ]
385
2018-03-08T12:43:41.000Z
2019-11-10T09:15:36.000Z
rotkehlchen/tests/unit/uniswap/test_calculate_events_balances.py
rotkehlchenio/rotkehlchen
98f49cd3ed26c641fec03b78eff9fe1872385fbf
[ "BSD-3-Clause" ]
59
2018-03-08T10:08:27.000Z
2019-10-26T11:30:44.000Z
from typing import List import pytest from rotkehlchen.chain.ethereum.interfaces.ammswap.types import LiquidityPool, LiquidityPoolEvent from .utils import ( LP_1_EVENTS, LP_1_EVENTS_BALANCE, LP_2_EVENTS, LP_2_EVENTS_BALANCE, LP_3_BALANCE, LP_3_EVENTS, LP_3_EVENTS_BALANCE, TEST_ADDRESS...
33.217391
97
0.746946
7aef14f9e97678b485424aba46ede0a6a6976f70
1,442
py
Python
chat/forms.py
Firexd2/social-network
8f7799aa54871843f55aed578e2c89a964c97ecc
[ "MIT" ]
2
2018-12-28T19:21:55.000Z
2019-05-15T14:37:12.000Z
chat/forms.py
Firexd2/social-network
8f7799aa54871843f55aed578e2c89a964c97ecc
[ "MIT" ]
null
null
null
chat/forms.py
Firexd2/social-network
8f7799aa54871843f55aed578e2c89a964c97ecc
[ "MIT" ]
2
2019-10-16T08:01:04.000Z
2021-07-13T06:02:15.000Z
from django import forms from chat.models import Message, Room
27.207547
118
0.620666
7af0056e7bb93cced5cf1fc4661b1b37c8a184f1
2,491
py
Python
Books/GodOfPython/P17_Database/chapter17.py
Tim232/Python-Things
05f0f373a4cf298e70d9668c88a6e3a9d1cd8146
[ "MIT" ]
2
2020-12-05T07:42:55.000Z
2021-01-06T23:23:18.000Z
Books/GodOfPython/P17_Database/chapter17.py
Tim232/Python-Things
05f0f373a4cf298e70d9668c88a6e3a9d1cd8146
[ "MIT" ]
null
null
null
Books/GodOfPython/P17_Database/chapter17.py
Tim232/Python-Things
05f0f373a4cf298e70d9668c88a6e3a9d1cd8146
[ "MIT" ]
null
null
null
from sqlite3 import * # mydb = connect('D:/02.Python/ch17/fruit.db') # csr = mydb.cursor() # csr.execute('create table test(fruit varchar(20), num int, price int)') # csr.execute("insert into test(fruit, num, price) values('Apple', 10, 1000)") # csr.execute('select * from test') # row = csr.fetchone() # print(row) # my...
31.935897
118
0.660779
7af21faa85a432e7263bd3da8d612b3c15107b7b
2,213
py
Python
jogo_nim.py
paulo-caixeta/00_CURSO_PYTHON
03097c7ed625796560a79c01511b8990f37efa6a
[ "MIT" ]
null
null
null
jogo_nim.py
paulo-caixeta/00_CURSO_PYTHON
03097c7ed625796560a79c01511b8990f37efa6a
[ "MIT" ]
null
null
null
jogo_nim.py
paulo-caixeta/00_CURSO_PYTHON
03097c7ed625796560a79c01511b8990f37efa6a
[ "MIT" ]
null
null
null
print ("Bem-vindo ao jogo do NIM! Escolha:") print ("1 - para jogar uma partida isolada") print ("2 - para jogar um campeonato") resposta = int(input()) while resposta != 1 and resposta !=2: print ("Jogada no permitida. Digite 1 ou 2") resposta = int(input()) if resposta == 1: partida() else: y = 1 ...
31.614286
97
0.54225
7af32048ae567014e129b04f8bfec3a79a90b2c2
1,727
py
Python
difference_scores_scripts/difference_time_score.py
smoorjani/LA-Crime-Analysis
26dfeae3a1b7e885a9bd1f78af2c5c5df5b7d071
[ "MIT" ]
null
null
null
difference_scores_scripts/difference_time_score.py
smoorjani/LA-Crime-Analysis
26dfeae3a1b7e885a9bd1f78af2c5c5df5b7d071
[ "MIT" ]
null
null
null
difference_scores_scripts/difference_time_score.py
smoorjani/LA-Crime-Analysis
26dfeae3a1b7e885a9bd1f78af2c5c5df5b7d071
[ "MIT" ]
null
null
null
import numpy as np import pandas as pd # Graphs the difference scores explained in slides with respect to time df = pd.read_csv('question2.csv') diff_list = [] import random for i in range(len(df)): temp_list = [df['Morning Percent'][i], df['Afternoon Percent'][i], df['Evening Percent'][i], df['Nig...
26.984375
121
0.579618
7af4a614a4f09e8901c13163445f321f3096ad80
3,266
py
Python
procafe/appProcafe/admin.py
ChrisTGX/PROCAFE
a85f60c70289e932511d0b29f1411b502fca0c97
[ "MIT" ]
null
null
null
procafe/appProcafe/admin.py
ChrisTGX/PROCAFE
a85f60c70289e932511d0b29f1411b502fca0c97
[ "MIT" ]
null
null
null
procafe/appProcafe/admin.py
ChrisTGX/PROCAFE
a85f60c70289e932511d0b29f1411b502fca0c97
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from django.contrib import admin from django.contrib.auth.admin import UserAdmin from appProcafe.models import Department, Unit, Section, Risk, Position, Location,\ Paysheet, Type, CourseRequest, CourseChangeRequest from appProcafe.models import Telephone, Document, Takes, Course from ...
36.696629
172
0.65891
7af4d941c3996a5b1698e633f36fec9f912924cd
410
py
Python
Scrapping JSON.py
AndrewPotap/Coursera_Python_Course
50a961361fb7838760f3e88d01039e22fe834f95
[ "BSD-3-Clause" ]
null
null
null
Scrapping JSON.py
AndrewPotap/Coursera_Python_Course
50a961361fb7838760f3e88d01039e22fe834f95
[ "BSD-3-Clause" ]
null
null
null
Scrapping JSON.py
AndrewPotap/Coursera_Python_Course
50a961361fb7838760f3e88d01039e22fe834f95
[ "BSD-3-Clause" ]
null
null
null
import urllib.request, urllib.parse, urllib.error import json url_link = input('Enter location: ') print('Retrieving:', url_link) handler = urllib.request.urlopen(url_link).read() js = json.loads(handler) print('Retrieved', len(handler), "characters") total = 0 count = 0 for comment in js['comments']: ...
24.117647
50
0.673171
7af55f2985bdda7c6d861c66a33deb86068ba3e3
10,949
py
Python
jkonet/models/model_jko.py
bunnech/jkonet
992d8aff421cded3ec55cea047066d7939e17edf
[ "MIT" ]
1
2022-03-30T10:52:53.000Z
2022-03-30T10:52:53.000Z
jkonet/models/model_jko.py
bunnech/jkonet
992d8aff421cded3ec55cea047066d7939e17edf
[ "MIT" ]
null
null
null
jkonet/models/model_jko.py
bunnech/jkonet
992d8aff421cded3ec55cea047066d7939e17edf
[ "MIT" ]
null
null
null
#!/usr/bin/python3 # author: Charlotte Bunne # imports import jax import jax.numpy as jnp import numpy as np import optax # internal imports from jkonet.utils.helper import count_parameters from jkonet.utils.optim import global_norm, penalize_weights_icnn from jkonet.models import fixpoint_loop from jkonet.models.los...
37.496575
79
0.583798
7af6736e0f50e1d7ae714c41cf42557149a6942a
683
py
Python
chap02/v2.0/app.py
usadamasa/Understanding-K8s
96c4c13b6ed3d67ad165133a7388ca91e76cd69b
[ "MIT" ]
48
2018-11-28T03:48:58.000Z
2022-03-21T05:29:07.000Z
chap02/v2.0/app.py
usadamasa/Understanding-K8s
96c4c13b6ed3d67ad165133a7388ca91e76cd69b
[ "MIT" ]
4
2019-01-23T03:38:34.000Z
2020-01-04T13:34:17.000Z
chap02/v2.0/app.py
usadamasa/Understanding-K8s
96c4c13b6ed3d67ad165133a7388ca91e76cd69b
[ "MIT" ]
36
2019-01-23T02:04:38.000Z
2022-03-23T15:42:55.000Z
#!/usr/bin/env python3 from flask import Flask, render_template, request import os,random,socket app = Flask(__name__) images = [ "las-01.jpg", "las-02.jpg", "las-03.jpg", "las-04.jpg", "las-05.jpg", "las-06.jpg" ] # Main if __name__ == "__main__": port = int(os.environ.get("PORT", 80)) ...
21.34375
84
0.63104
7af7520ce6392b7775b565df63469ed448626de0
68
py
Python
python/testData/inspections/PyTypeCheckerInspection/PromotingBytearrayToStrAndUnicode.py
jnthn/intellij-community
8fa7c8a3ace62400c838e0d5926a7be106aa8557
[ "Apache-2.0" ]
2
2018-12-29T09:53:39.000Z
2018-12-29T09:53:42.000Z
python/testData/inspections/PyTypeCheckerInspection/PromotingBytearrayToStrAndUnicode.py
Cyril-lamirand/intellij-community
60ab6c61b82fc761dd68363eca7d9d69663cfa39
[ "Apache-2.0" ]
173
2018-07-05T13:59:39.000Z
2018-08-09T01:12:03.000Z
python/testData/inspections/PyTypeCheckerInspection/PromotingBytearrayToStrAndUnicode.py
Cyril-lamirand/intellij-community
60ab6c61b82fc761dd68363eca7d9d69663cfa39
[ "Apache-2.0" ]
2
2020-03-15T08:57:37.000Z
2020-04-07T04:48:14.000Z
f(bytearray())
11.333333
24
0.529412
7af88202badb8480b931c63249d3ac2f5894816a
12,123
py
Python
botornado/__init__.py
bopopescu/botornado-1
324a1942fbe33ef41af7ae99c25478be2bdce5dc
[ "MIT" ]
22
2015-04-14T13:29:48.000Z
2017-11-15T18:03:25.000Z
botornado/__init__.py
bopopescu/botornado-1
324a1942fbe33ef41af7ae99c25478be2bdce5dc
[ "MIT" ]
2
2015-10-26T11:10:17.000Z
2016-04-25T23:57:57.000Z
botornado/__init__.py
bopopescu/botornado-1
324a1942fbe33ef41af7ae99c25478be2bdce5dc
[ "MIT" ]
9
2015-04-20T14:34:25.000Z
2021-06-09T00:13:26.000Z
# Copyright (c) 2006-2011 Mitch Garnaat http://garnaat.org/ # Copyright (c) 2010-2011, Eucalyptus Systems, Inc. # Copyright (c) 2011, Nexenta Systems Inc. # All rights reserved. # # Permission is hereby granted, free of charge, to any person obtaining a # copy of this software and associated documentation files (the # ...
34.936599
85
0.727625
7afaa2316ed84ded39c3f2d1eeb2eece59de51bb
4,888
py
Python
src/notebooks/nsynth_interpolation.py
BZ-2453/DeepBass
a0f4ab8613994a8cfcf732fa2b2b2840313264d4
[ "MIT" ]
1
2019-06-05T23:47:32.000Z
2019-06-05T23:47:32.000Z
src/notebooks/nsynth_interpolation.py
BZ-2453/DeepBass
a0f4ab8613994a8cfcf732fa2b2b2840313264d4
[ "MIT" ]
null
null
null
src/notebooks/nsynth_interpolation.py
BZ-2453/DeepBass
a0f4ab8613994a8cfcf732fa2b2b2840313264d4
[ "MIT" ]
1
2018-11-14T02:58:35.000Z
2018-11-14T02:58:35.000Z
from os import listdir from os.path import isfile, join import numpy as np import matplotlib.pyplot as plt from magenta.models.nsynth.wavenet import fastgen import sys # Change path back to /src to load other modules sys.path.insert(0, '/home/ubuntu/DeepBass/src') from ingestion.IO_utils import Load, Save from preproce...
33.251701
81
0.648527
7afb86fb81a4eb99c74d8f43a8e7313582e3e565
71
py
Python
src/runner/__init__.py
cmlab-mira/MedicalPro
3918c95197fd24406ce2117cc7ff9ce21bb8c620
[ "MIT" ]
6
2020-02-01T07:19:32.000Z
2021-05-10T13:55:49.000Z
src/runner/__init__.py
cmlab-mira/template
ae462f6eed9f3aa71d130c281c01c22fe0124a7b
[ "MIT" ]
19
2019-05-21T12:48:37.000Z
2020-04-01T09:56:42.000Z
src/runner/__init__.py
cmlab-mira/template
ae462f6eed9f3aa71d130c281c01c22fe0124a7b
[ "MIT" ]
1
2019-08-09T17:06:56.000Z
2019-08-09T17:06:56.000Z
from .trainers import * from .predictors import * from .utils import *
17.75
25
0.746479
7afbeeb0d62fce8e7b807f6f100acf5f55db87a0
9,230
py
Python
recommend/eusolver/scripts/job_list_icfp_anytime.py
jiry17/IntSy
36333489b77ff2fbe84e6440be1f6b84eb61f29e
[ "MIT" ]
7
2020-03-01T12:07:44.000Z
2021-10-20T02:34:59.000Z
recommend/esolver/scripts/job_list_icfp_anytime.py
jiry17/PolyGen
b384e478ec91299d6a14f4681ff3e0850911822b
[ "MIT" ]
1
2020-05-25T22:08:35.000Z
2020-05-25T22:08:35.000Z
recommend/eusolver/scripts/job_list_icfp_anytime.py
jiry17/IntSy
36333489b77ff2fbe84e6440be1f6b84eb61f29e
[ "MIT" ]
1
2021-12-01T08:18:21.000Z
2021-12-01T08:18:21.000Z
# job_list_one_shot.py --- # # Filename: job_list_one_shot.py # Author: Abhishek Udupa # Created: Tue Jan 26 15:13:19 2016 (-0500) # # # Copyright (c) 2015, Abhishek Udupa, University of Pennsylvania # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permit...
97.157895
150
0.676598
7afc81f420c7a7b1650e0243a1f216e195ab99db
642
py
Python
api/app/database.py
Le96/todays-mazai
1af8f57d7827d883a6c91661dc375b79274c94f5
[ "MIT" ]
null
null
null
api/app/database.py
Le96/todays-mazai
1af8f57d7827d883a6c91661dc375b79274c94f5
[ "MIT" ]
10
2022-02-27T11:01:23.000Z
2022-03-29T12:53:33.000Z
api/app/database.py
Le96/todays-mazai
1af8f57d7827d883a6c91661dc375b79274c94f5
[ "MIT" ]
null
null
null
import os from sqlalchemy import create_engine from sqlalchemy.ext.declarative import declarative_base from sqlalchemy.orm import sessionmaker USER = os.getenv("DB_USER") PASS = os.getenv("DB_PASSWORD") HOST = os.getenv("DB_HOST") PORT = os.getenv("DB_PORT") SCHEMA = os.getenv("DB_SCHEMA") SQLALCHEMY_DATABASE_URL = ...
23.777778
87
0.739875
7afcba4478178056c3c4b8f0dd94cece84b8040b
1,334
py
Python
tests/application/models.py
YoungAspirations/QA-Projects
9f24886977d566548f5629371407187d8017f209
[ "MIT" ]
null
null
null
tests/application/models.py
YoungAspirations/QA-Projects
9f24886977d566548f5629371407187d8017f209
[ "MIT" ]
null
null
null
tests/application/models.py
YoungAspirations/QA-Projects
9f24886977d566548f5629371407187d8017f209
[ "MIT" ]
null
null
null
from application import db
47.642857
92
0.688906
7afcd60decef66da0eca92347d1a54bcb6356e35
2,952
py
Python
wearebeautiful/bin/make_bundle.py
MarcTschudin/wearebeautiful.info
fcc57404d00b1b939812f655cafe0278970f3229
[ "BSD-2-Clause" ]
null
null
null
wearebeautiful/bin/make_bundle.py
MarcTschudin/wearebeautiful.info
fcc57404d00b1b939812f655cafe0278970f3229
[ "BSD-2-Clause" ]
2
2020-09-15T16:20:04.000Z
2020-09-15T16:26:39.000Z
wearebeautiful/bin/make_bundle.py
MarcTschudin/wearebeautiful.info
fcc57404d00b1b939812f655cafe0278970f3229
[ "BSD-2-Clause" ]
null
null
null
#!/usr/bin/env python import sys sys.path.append("..") import json import click import datetime import os import shutil from zipfile import ZipFile from tempfile import mkdtemp from scale_mesh import scale_mesh from wearebeautiful.bundles import validate_manifest, MAX_SCREENSHOT_SIZE from wearebeautiful import model_...
30.75
104
0.64668
7afe4f4c8c346bc4cfb1eca830605b559dd63333
7,670
py
Python
tools/BackProp.py
ywzhao2002/DeepEverest
25fc13884e83788390f944a507b7cf14b3fc7c3d
[ "MIT" ]
10
2021-09-27T07:12:13.000Z
2022-01-27T00:16:04.000Z
tools/BackProp.py
ywzhao2002/DeepEverest
25fc13884e83788390f944a507b7cf14b3fc7c3d
[ "MIT" ]
null
null
null
tools/BackProp.py
ywzhao2002/DeepEverest
25fc13884e83788390f944a507b7cf14b3fc7c3d
[ "MIT" ]
2
2022-02-16T04:28:10.000Z
2022-03-15T22:00:52.000Z
""" Adapted from https://github.com/hovinh/DeCNN """ import numpy as np from keras import backend as K
36.698565
111
0.592829
7afeb71053feedae92609691ef2291871af9e5e1
7,346
py
Python
src/visualization/visualize_all.py
mwegrzyn/volume-wise-language
ed24b11667e6b26d3ed09ce0aae383c26852821c
[ "MIT" ]
1
2019-11-19T13:48:33.000Z
2019-11-19T13:48:33.000Z
src/visualization/visualize_all.py
mwegrzyn/volume-wise-language
ed24b11667e6b26d3ed09ce0aae383c26852821c
[ "MIT" ]
null
null
null
src/visualization/visualize_all.py
mwegrzyn/volume-wise-language
ed24b11667e6b26d3ed09ce0aae383c26852821c
[ "MIT" ]
null
null
null
# coding: utf-8 # # Collect axes and make big plot # # This notebook is used to collect the output of all analyses which were ran for a single patient and to wrap all generated figures in a big plot which consists of multiple subplots. As with other notebooks which are needed to analyses single-subject data, this on...
29.502008
788
0.668255
bb0075e257517d7ea8e7b80a522763cdff7b8198
1,178
py
Python
dragonbot/game/output.py
Chainso/DragonBot
c431cd42be8672259164c9ee4ab338cbc624bec9
[ "MIT" ]
null
null
null
dragonbot/game/output.py
Chainso/DragonBot
c431cd42be8672259164c9ee4ab338cbc624bec9
[ "MIT" ]
null
null
null
dragonbot/game/output.py
Chainso/DragonBot
c431cd42be8672259164c9ee4ab338cbc624bec9
[ "MIT" ]
null
null
null
import torch import numpy as np from rlbot.agents.base_agent import SimpleControllerState, BaseAgent
26.772727
75
0.634975
bb00d33e1835de5ac5d645b216ad0956f73caeeb
9,059
py
Python
DeepLearningExamples/PyTorch/SpeechRecognition/Jasper/common/dataset.py
puririshi98/benchmark
79f554f1e1cf36f62994c78e0e6e5b360f554022
[ "BSD-3-Clause" ]
null
null
null
DeepLearningExamples/PyTorch/SpeechRecognition/Jasper/common/dataset.py
puririshi98/benchmark
79f554f1e1cf36f62994c78e0e6e5b360f554022
[ "BSD-3-Clause" ]
null
null
null
DeepLearningExamples/PyTorch/SpeechRecognition/Jasper/common/dataset.py
puririshi98/benchmark
79f554f1e1cf36f62994c78e0e6e5b360f554022
[ "BSD-3-Clause" ]
null
null
null
# 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 applic...
38.548936
88
0.643117
bb012a91e944e733bcc6b34d6435f48bf28ed4c9
5,313
py
Python
GroovBot Revamped/Utils/converters.py
OGminecraft/GroovBot-Work-in-proggress-
ac21a63924a887d24b4e10a1d3cc3b1fa11dade7
[ "MIT" ]
null
null
null
GroovBot Revamped/Utils/converters.py
OGminecraft/GroovBot-Work-in-proggress-
ac21a63924a887d24b4e10a1d3cc3b1fa11dade7
[ "MIT" ]
null
null
null
GroovBot Revamped/Utils/converters.py
OGminecraft/GroovBot-Work-in-proggress-
ac21a63924a887d24b4e10a1d3cc3b1fa11dade7
[ "MIT" ]
null
null
null
import discord from discord.ext import commands import re from .errors import BadGameArgument from dateutil.relativedelta import relativedelta import datetime import parsedatetime as pdt import typing import operator __all__ = ( 'CommandConverter', 'dice_roll', 'board_coords', 'espeak...
32.396341
110
0.549595
bb02a411517dc052ddec8bf6429f0db2eecdb103
3,077
py
Python
imagersite/imager_images/test/test_integration_images.py
brickfaced/django-imager
581e61d7832c3974f7ed4943c09e4ce5362b5148
[ "MIT" ]
null
null
null
imagersite/imager_images/test/test_integration_images.py
brickfaced/django-imager
581e61d7832c3974f7ed4943c09e4ce5362b5148
[ "MIT" ]
8
2020-02-11T22:21:32.000Z
2022-01-13T00:45:19.000Z
imagersite/imager_images/test/test_integration_images.py
brickfaced/django-imager
581e61d7832c3974f7ed4943c09e4ce5362b5148
[ "MIT" ]
null
null
null
from django.test import TestCase from imager_profile.models import User from ..models import Album, Photo from model_mommy import mommy import tempfile import factory from random import choice from django.urls import reverse_lazy choices = (('PRIVATE', 'Private'), ('SHARED', 'Shared'), ('PUBLIC', 'Public'),) def...
38.949367
105
0.656159
bb03ea91bfead8f236e57e4fff855b91bb245297
2,458
py
Python
fabfile.py
hirokazumiyaji/blue-green-sample
a369d250a5735391ff8cc58bb08275ba4a7aa780
[ "MIT" ]
null
null
null
fabfile.py
hirokazumiyaji/blue-green-sample
a369d250a5735391ff8cc58bb08275ba4a7aa780
[ "MIT" ]
null
null
null
fabfile.py
hirokazumiyaji/blue-green-sample
a369d250a5735391ff8cc58bb08275ba4a7aa780
[ "MIT" ]
null
null
null
# coding: utf-8 from __future__ import absolute_import, print_function, unicode_literals from datetime import datetime import time from fabric.api import cd, sudo, run as fabrun, env, settings, abort, hide env.use_ssh_config = True env.ssh_config_path = "ssh.config" CONTAINER_PORT = { "blue": "4567", "green...
22.759259
86
0.598047
bb0558ca4d28ffda3e0ececd8bb80adb17e6b2fd
2,208
py
Python
testmapwithspy1.py
Toinas/IntelligentSuit
f3d33b327406d899d18ecf5fd6a100b0c786fdce
[ "MIT" ]
null
null
null
testmapwithspy1.py
Toinas/IntelligentSuit
f3d33b327406d899d18ecf5fd6a100b0c786fdce
[ "MIT" ]
null
null
null
testmapwithspy1.py
Toinas/IntelligentSuit
f3d33b327406d899d18ecf5fd6a100b0c786fdce
[ "MIT" ]
null
null
null
import numpy np image=[0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 2, 2, 2, 2, 2, 2, 2, 1, 1, 0, 0, 0, 0, 1, 1, 2, 2, 2, 2, 2, 2, 2, 1, 1, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, ...
33.454545
80
0.408062
bb056645286e578beacdd13141aef618891149b4
6,640
py
Python
e2e/test_override.py
navoday-91/oncall
0a977f06bbf308978d0d2c2b46e0aca23937ca9a
[ "BSD-2-Clause" ]
857
2017-05-03T00:59:10.000Z
2022-03-29T06:45:23.000Z
e2e/test_override.py
navoday-91/oncall
0a977f06bbf308978d0d2c2b46e0aca23937ca9a
[ "BSD-2-Clause" ]
142
2017-05-03T02:00:58.000Z
2022-03-25T20:58:11.000Z
e2e/test_override.py
navoday-91/oncall
0a977f06bbf308978d0d2c2b46e0aca23937ca9a
[ "BSD-2-Clause" ]
218
2017-05-03T02:04:56.000Z
2022-03-25T18:28:04.000Z
# Copyright (c) LinkedIn Corporation. All rights reserved. Licensed under the BSD-2 Clause license. # See LICENSE in the project root for license information. import requests import time from testutils import prefix,api_v0 start, end = int(time.time()), int(time.time() + 36000) start = start / 1000 * 1000 end = end /...
34.051282
99
0.569428
bb05c1ad94a65dafdf8ac4b71235fa67d58b1f6b
3,094
py
Python
convert/photo2movie.py
penrin/SP-mapping
21ce1dff8b4821dbfc71da50ca1d5ce098c678b0
[ "MIT" ]
null
null
null
convert/photo2movie.py
penrin/SP-mapping
21ce1dff8b4821dbfc71da50ca1d5ce098c678b0
[ "MIT" ]
null
null
null
convert/photo2movie.py
penrin/SP-mapping
21ce1dff8b4821dbfc71da50ca1d5ce098c678b0
[ "MIT" ]
null
null
null
import sys import cv2 import argparse import time from math import ceil if __name__ == '__main__': parser = argparse.ArgumentParser() parser.add_argument('filename', help='output filename') parser.add_argument('-i', type=str, help='input image filename', required=True) parser.add_argument...
28.127273
83
0.543633
bb08c7db08a3a4f46b4d54e98699f5915dfaad1f
123
py
Python
Chapter04/deque_tail.py
PacktPublishing/Secret-Recipes-of-the-Python-Ninja
805d00c7a54927ba94c9077e9a580508ee3c5e56
[ "MIT" ]
13
2018-06-21T01:44:49.000Z
2021-12-01T10:49:53.000Z
Chapter04/deque_tail.py
PacktPublishing/Secret-Recipes-of-the-Python-Ninja
805d00c7a54927ba94c9077e9a580508ee3c5e56
[ "MIT" ]
null
null
null
Chapter04/deque_tail.py
PacktPublishing/Secret-Recipes-of-the-Python-Ninja
805d00c7a54927ba94c9077e9a580508ee3c5e56
[ "MIT" ]
6
2018-10-05T08:29:24.000Z
2022-01-11T14:49:50.000Z
def tail(filename, n=10): 'Return the last n lines of a file' with open(filename) as f: return deque(f, n)
24.6
39
0.617886
bb091e39ee9f343a16bc795582b949c70dabc617
2,469
py
Python
src/retrocookie/pr/events.py
iamamutt/retrocookie
4cc4da83c5fc3751377730c06fcef746a06fe60a
[ "MIT" ]
15
2020-06-21T14:35:42.000Z
2022-03-30T15:48:55.000Z
src/retrocookie/pr/events.py
iamamutt/retrocookie
4cc4da83c5fc3751377730c06fcef746a06fe60a
[ "MIT" ]
223
2020-05-22T14:35:05.000Z
2022-03-28T00:19:23.000Z
src/retrocookie/pr/events.py
iamamutt/retrocookie
4cc4da83c5fc3751377730c06fcef746a06fe60a
[ "MIT" ]
4
2020-11-19T12:55:01.000Z
2022-03-15T14:24:25.000Z
"""Events and contexts for the message bus.""" from dataclasses import dataclass from typing import List from retrocookie import git from retrocookie.pr.base import bus from retrocookie.pr.protocols import github
19.289063
66
0.713244
bb0b10d7f8ef73fa3757381d0bfa2f206e423b76
646
py
Python
genie/commands/minify_json.py
namuan/alfred-genie
b442e8c9d05befe0f89290907daa7b8d8cced913
[ "MIT" ]
5
2020-07-05T15:33:39.000Z
2021-05-02T12:53:18.000Z
genie/commands/minify_json.py
namuan/alfred-genie
b442e8c9d05befe0f89290907daa7b8d8cced913
[ "MIT" ]
null
null
null
genie/commands/minify_json.py
namuan/alfred-genie
b442e8c9d05befe0f89290907daa7b8d8cced913
[ "MIT" ]
null
null
null
import json from genie import uid, with_clip minify_json_command = MinifyJsonCommand()
24.846154
78
0.597523
bb0bce91d67c90d34702276b46fbd9f166da9293
35,935
py
Python
course_flow/serializers.py
aahilgert/CourseFlow
cbb26c694d9a1310872993dfac9ac3cd0e721e9b
[ "Apache-2.0" ]
null
null
null
course_flow/serializers.py
aahilgert/CourseFlow
cbb26c694d9a1310872993dfac9ac3cd0e721e9b
[ "Apache-2.0" ]
5
2020-03-24T18:04:39.000Z
2020-10-06T06:39:19.000Z
course_flow/serializers.py
aahilgert/CourseFlow
cbb26c694d9a1310872993dfac9ac3cd0e721e9b
[ "Apache-2.0" ]
1
2020-01-27T13:51:33.000Z
2020-01-27T13:51:33.000Z
from rest_framework import serializers from .models import ( Program, ComponentProgram, Course, Preparation, Activity, Assessment, Artifact, Strategy, Node, NodeStrategy, StrategyActivity, ComponentWeek, WeekCourse, Component, Week, Discipline, Outcome...
32.2287
94
0.626075
bb0c57d88c1a6fed248729aa225cdfd1acb49c82
960
py
Python
Euclides.py
GuillermoSP96/Criptografia
f87bf89f1bd0a657bd8bdd32d13b55c54d3fe2f2
[ "MIT" ]
null
null
null
Euclides.py
GuillermoSP96/Criptografia
f87bf89f1bd0a657bd8bdd32d13b55c54d3fe2f2
[ "MIT" ]
null
null
null
Euclides.py
GuillermoSP96/Criptografia
f87bf89f1bd0a657bd8bdd32d13b55c54d3fe2f2
[ "MIT" ]
null
null
null
import sys import math if __name__ == '__main__': euclides(int(sys.argv[1]), int(sys.argv[2]))
29.090909
82
0.394792
bb0da9f13b31f45e4ff0ce41a92bad0693a9f106
583
py
Python
tests/strategies/base.py
lycantropos/clipping
39cc9d6f2e12fd9d73b467cec83c1dd424ac0786
[ "MIT" ]
4
2020-08-28T01:22:42.000Z
2021-09-27T11:26:51.000Z
tests/strategies/base.py
lycantropos/clipping
39cc9d6f2e12fd9d73b467cec83c1dd424ac0786
[ "MIT" ]
2
2020-08-13T08:14:15.000Z
2020-08-27T11:43:35.000Z
tests/strategies/base.py
lycantropos/clipping
39cc9d6f2e12fd9d73b467cec83c1dd424ac0786
[ "MIT" ]
1
2021-01-20T14:58:48.000Z
2021-01-20T14:58:48.000Z
from fractions import Fraction from functools import partial from hypothesis import strategies MAX_NUMBER = 10 ** 10 MIN_NUMBER = -MAX_NUMBER coordinates_strategies_factories = { float: partial(strategies.floats, allow_nan=False, allow_infinity=False), Fraction: partial(s...
30.684211
67
0.704974
bb0de6d16e17502acb35444bc5d059c62e2625db
871
py
Python
svm.py
edmundwsy/ASR-for-chinese-number
e24a6ccc9c02a21f911b0cc55100bda46348e792
[ "MIT" ]
2
2019-10-11T06:25:37.000Z
2019-10-11T06:25:41.000Z
svm.py
edmundwsy/ASR-for-chinese-number
e24a6ccc9c02a21f911b0cc55100bda46348e792
[ "MIT" ]
null
null
null
svm.py
edmundwsy/ASR-for-chinese-number
e24a6ccc9c02a21f911b0cc55100bda46348e792
[ "MIT" ]
null
null
null
import numpy as np from sklearn import svm from data_loader import data_loader N = 100 NUM_CLASS = 4 data_dir = "C:\\Users\\wsy\\Documents\\Audio\\*.m4a" data_X, data_Y = data_loader(data_dir) print(len(data_X)) clf_list = [] for idx in range(NUM_CLASS): for i, X in enumerate(data_X): if ...
21.775
63
0.585534
bb0ded5ea316190bc5983e83d1641f4c90a47228
2,434
py
Python
comments/views.py
orlowdev/aite
6fcb02211d9fcb6be84de99deebc2aabe8075f61
[ "Apache-2.0" ]
1
2021-04-13T15:44:05.000Z
2021-04-13T15:44:05.000Z
comments/views.py
orlowdev/aite
6fcb02211d9fcb6be84de99deebc2aabe8075f61
[ "Apache-2.0" ]
null
null
null
comments/views.py
orlowdev/aite
6fcb02211d9fcb6be84de99deebc2aabe8075f61
[ "Apache-2.0" ]
null
null
null
from django.contrib import messages from django.contrib.auth.decorators import login_required from django.contrib.contenttypes.models import ContentType from django.http import Http404, HttpResponse, HttpResponseRedirect from django.shortcuts import render from .forms import CommentForm from .models import Comment
29.325301
78
0.650781
bb0e3a4a424cab3d6b9961d60125be743eac980d
277
py
Python
backend/src/incidents/migrations/0014_merge_20190918_1515.py
pavan168/IncidentManagement
7fbf111922a735d4cbe75969159858d6605a1e0b
[ "MIT" ]
17
2019-01-16T13:10:25.000Z
2021-02-07T02:04:11.000Z
backend/src/incidents/migrations/0014_merge_20190918_1515.py
pavan168/IncidentManagement
7fbf111922a735d4cbe75969159858d6605a1e0b
[ "MIT" ]
360
2019-02-13T15:24:44.000Z
2022-02-26T17:42:33.000Z
backend/src/incidents/migrations/0014_merge_20190918_1515.py
mohamednizar/request-management
a88a2ce35a7a1a98630ffd14c1a31a5173b662c8
[ "MIT" ]
46
2019-01-16T13:10:25.000Z
2021-06-23T02:44:18.000Z
# Generated by Django 2.2.1 on 2019-09-18 15:15 from django.db import migrations
18.466667
49
0.65343
bb124a8e52d8aee500e19c656533c54c1cedaf7a
1,252
py
Python
openbook_notifications/models/post_reaction_notification.py
TamaraAbells/okuna-api
f87d8e80d2f182c01dbce68155ded0078ee707e4
[ "MIT" ]
164
2019-07-29T17:59:06.000Z
2022-03-19T21:36:01.000Z
openbook_notifications/models/post_reaction_notification.py
TamaraAbells/okuna-api
f87d8e80d2f182c01dbce68155ded0078ee707e4
[ "MIT" ]
188
2019-03-16T09:53:25.000Z
2019-07-25T14:57:24.000Z
openbook_notifications/models/post_reaction_notification.py
TamaraAbells/okuna-api
f87d8e80d2f182c01dbce68155ded0078ee707e4
[ "MIT" ]
80
2019-08-03T17:49:08.000Z
2022-02-28T16:56:33.000Z
from django.contrib.contenttypes.fields import GenericRelation from django.db import models from openbook_notifications.models.notification import Notification from openbook_posts.models import PostReaction
46.37037
92
0.750799
bb12faf635c5c1c763f722434ba9353ad72b7539
1,449
py
Python
src/tsipy/correction/exposure.py
roksikonja/tsipy
844e54d8c8a550040d76e4c666c26a7db519f3c6
[ "MIT" ]
1
2021-05-04T19:05:31.000Z
2021-05-04T19:05:31.000Z
src/tsipy/correction/exposure.py
roksikonja/tsipy
844e54d8c8a550040d76e4c666c26a7db519f3c6
[ "MIT" ]
null
null
null
src/tsipy/correction/exposure.py
roksikonja/tsipy
844e54d8c8a550040d76e4c666c26a7db519f3c6
[ "MIT" ]
null
null
null
""" Module implements a function for degradation correction. """ import numpy as np __all__ = ["compute_exposure"] def compute_exposure( x: np.ndarray, method: str = "num_measurements", x_mean: float = 1.0, ) -> np.ndarray: """Computes exposure of a given signal. In literature, exposure is foun...
32.2
86
0.619738
bb16e2f5aa8300a34d3a16e43b3bfadcedaa4f1a
5,789
py
Python
core/agents/models/customs/da6.py
Yoshi-0921/MAEXP
cc03fdd46db9b1838df8f7782b4bd1b2bb3f11d5
[ "MIT" ]
null
null
null
core/agents/models/customs/da6.py
Yoshi-0921/MAEXP
cc03fdd46db9b1838df8f7782b4bd1b2bb3f11d5
[ "MIT" ]
10
2021-07-04T06:32:59.000Z
2021-11-06T04:05:24.000Z
core/agents/models/customs/da6.py
Yoshi-0921/MAEXP
cc03fdd46db9b1838df8f7782b4bd1b2bb3f11d5
[ "MIT" ]
null
null
null
"""Source code for multi-agent transfromer (DA6) model. Author: Yoshinari Motokawa <yoshinari.moto@fuji.waseda.jp> """ from typing import List import numpy as np import torch from core.utils.logging import initialize_logging from omegaconf import DictConfig from torch import nn import numpy.typing as npt from ..hard_s...
34.458333
86
0.617896
bb198b07594be38ae96c5efe86c634b9ab09bd0d
2,960
py
Python
xskillscore/core/deterministic.py
weiclimate/xskillscore
89a8cf30fef17adaea2d736430455726f59aa3ff
[ "Apache-2.0" ]
1
2018-07-29T17:01:12.000Z
2018-07-29T17:01:12.000Z
xskillscore/core/deterministic.py
weiclimate/xskillscore
89a8cf30fef17adaea2d736430455726f59aa3ff
[ "Apache-2.0" ]
null
null
null
xskillscore/core/deterministic.py
weiclimate/xskillscore
89a8cf30fef17adaea2d736430455726f59aa3ff
[ "Apache-2.0" ]
null
null
null
import xarray as xr from.np_deterministic import _pearson_r, _pearson_r_p_value, _rmse __all__ = ['pearson_r', 'rmse'] def pearson_r(a, b, dim): """ Pearson's correlation coefficient. Parameters ---------- a : Dataset, DataArray, GroupBy, Variable, numpy/dask arrays or scalars Mix of ...
30.515464
78
0.624324
bb1ad7cb4f7ab6a64b36e6a737e0bd97356a3f8e
414
py
Python
python3/maximum_depth_of_n-ary_tree.py
joshiaj7/CodingChallenges
f95dd79132f07c296e074d675819031912f6a943
[ "MIT" ]
1
2020-10-08T09:17:40.000Z
2020-10-08T09:17:40.000Z
python3/maximum_depth_of_n-ary_tree.py
joshiaj7/CodingChallenges
f95dd79132f07c296e074d675819031912f6a943
[ "MIT" ]
null
null
null
python3/maximum_depth_of_n-ary_tree.py
joshiaj7/CodingChallenges
f95dd79132f07c296e074d675819031912f6a943
[ "MIT" ]
null
null
null
from .model import NaryNode # Space : O(n) # Time : O(n)
17.25
46
0.434783
bb1b93056048ded04fe462901d7cdde0ccfcd081
4,991
py
Python
astetik/tables/table.py
meirm/astetik
ea05ce57a0bf1e8bd7ef18c4d5ca8d7ad3fb4be7
[ "MIT" ]
8
2017-07-27T11:25:41.000Z
2019-03-11T12:02:48.000Z
astetik/tables/table.py
meirm/astetik
ea05ce57a0bf1e8bd7ef18c4d5ca8d7ad3fb4be7
[ "MIT" ]
33
2018-04-04T20:45:59.000Z
2019-03-07T12:54:37.000Z
astetik/tables/table.py
meirm/astetik
ea05ce57a0bf1e8bd7ef18c4d5ca8d7ad3fb4be7
[ "MIT" ]
3
2018-10-19T15:50:55.000Z
2018-10-23T04:32:39.000Z
import pandas as pd from IPython.core.display import display, HTML def table(data, title="Descriptive Stats", sub_title="", table_width=630, indexcol_width=150, return_html=False): '''Displays a publication quality data table with any number of columns and a...
31
84
0.445001
bb1cbe7be49eea8286839ff6d39c7a92a362b8ed
1,766
py
Python
EXAMPLES/scripts/scenes/tasks.py
K9Kraken/EZpanda
aa4b13c1391f864be4f34fb7f258aa954baf32ca
[ "BSD-3-Clause" ]
null
null
null
EXAMPLES/scripts/scenes/tasks.py
K9Kraken/EZpanda
aa4b13c1391f864be4f34fb7f258aa954baf32ca
[ "BSD-3-Clause" ]
1
2021-09-21T19:05:18.000Z
2021-09-21T20:19:22.000Z
EXAMPLES/scripts/scenes/tasks.py
K9Kraken/EZpanda
aa4b13c1391f864be4f34fb7f258aa954baf32ca
[ "BSD-3-Clause" ]
null
null
null
render = ez.Node() aspect2D = ez.Node() camera = ez.Camera(parent=render) camera.y = -20 # Create a a model: dirt = ez.load.texture('dirt.png') mesh = ez.load.mesh('hex.bam') model = ez.Model( mesh, parent=render) model.shader = ez.load.shader('shaded.glsl') model.set_shader_input('texture0', dirt) # Our task functi...
24.527778
92
0.618913
bb20cd3ca3783421445910692e60fa4f02567675
650
py
Python
019. Enumerating Gene Orders/Main.py
SyouTono242/Rosalind
d0f339789b5373d7ce98d401d5168536f1d2e18c
[ "Apache-2.0" ]
null
null
null
019. Enumerating Gene Orders/Main.py
SyouTono242/Rosalind
d0f339789b5373d7ce98d401d5168536f1d2e18c
[ "Apache-2.0" ]
null
null
null
019. Enumerating Gene Orders/Main.py
SyouTono242/Rosalind
d0f339789b5373d7ce98d401d5168536f1d2e18c
[ "Apache-2.0" ]
null
null
null
# Given: A positive integer n7. # # Return: The total number of permutations of length n, followed by a list of all such permutations (in any order). n = 6 i = n intList = [] counter = 1 while i > 0: intList.append(str(i)) counter = counter * i i -= 1 print(counter) permute(intList, 0, len(intList)-1)
23.214286
115
0.6
bb216b1449c4bdf268511506ad9bcc2b2c3b4fcc
7,032
py
Python
pysnmp/TIMETRA-CLEAR-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
11
2021-02-02T16:27:16.000Z
2021-08-31T06:22:49.000Z
pysnmp/TIMETRA-CLEAR-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
75
2021-02-24T17:30:31.000Z
2021-12-08T00:01:18.000Z
pysnmp/TIMETRA-CLEAR-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 TIMETRA-CLEAR-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/TIMETRA-CLEAR-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 21:09:48 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Ma...
121.241379
843
0.755119
bb21afada8d8f15f29da835e84c0ab1aab13a8c1
129
py
Python
src/utils/fft/ifft.py
BystrickyK/SINDy
f5b887d230079ffd60eacfe0221b47d1c288342e
[ "MIT" ]
1
2021-04-12T18:22:54.000Z
2021-04-12T18:22:54.000Z
src/utils/fft/ifft.py
BystrickyK/SINDy
f5b887d230079ffd60eacfe0221b47d1c288342e
[ "MIT" ]
9
2021-03-03T14:34:41.000Z
2021-05-13T14:03:08.000Z
src/utils/fft/ifft.py
BystrickyK/SINDy
f5b887d230079ffd60eacfe0221b47d1c288342e
[ "MIT" ]
null
null
null
import numpy as np
18.428571
43
0.643411
bb225948430a1e881fb208df696ef5e354cd15ce
222
py
Python
power_perceiver/np_batch_processor/__init__.py
openclimatefix/power_perceiver
bafcdfaf6abf42fbab09da641479f74709ddd395
[ "MIT" ]
null
null
null
power_perceiver/np_batch_processor/__init__.py
openclimatefix/power_perceiver
bafcdfaf6abf42fbab09da641479f74709ddd395
[ "MIT" ]
33
2022-02-16T07:51:41.000Z
2022-03-31T11:24:11.000Z
power_perceiver/np_batch_processor/__init__.py
openclimatefix/power_perceiver
bafcdfaf6abf42fbab09da641479f74709ddd395
[ "MIT" ]
null
null
null
from power_perceiver.np_batch_processor.encode_space_time import EncodeSpaceTime from power_perceiver.np_batch_processor.sun_position import SunPosition from power_perceiver.np_batch_processor.topography import Topography
55.5
80
0.918919
bb23d09173111d16ca6e7ec28115b00c5478f690
693
py
Python
scripts/add_groups.py
hseritt/alfmonitor
7cb67913c030e43e51017dd9f5d9d0c9185b6d3b
[ "PostgreSQL" ]
null
null
null
scripts/add_groups.py
hseritt/alfmonitor
7cb67913c030e43e51017dd9f5d9d0c9185b6d3b
[ "PostgreSQL" ]
4
2020-06-05T22:22:57.000Z
2021-06-04T21:56:11.000Z
scripts/add_groups.py
hseritt/alfmonitor
7cb67913c030e43e51017dd9f5d9d0c9185b6d3b
[ "PostgreSQL" ]
null
null
null
#!/usr/bin/env python import os import sys import django from django.db.utils import IntegrityError sys.path.append('.') os.environ['DJANGO_SETTINGS_MODULE'] = 'alfmonitor.settings' django.setup() from django.contrib.auth.models import Group, User user_groups = ( 'console_admins', 'console_users', ) if ...
20.382353
67
0.675325
bb2444f0f11fe36608e740690e190ab225f4ca44
1,633
py
Python
models/strategy.py
CBarreiro96/PRICE-INSPECTOR
d77984f8c11817af21cbdaa56a610a359c6d8061
[ "MIT" ]
1
2021-03-21T10:49:46.000Z
2021-03-21T10:49:46.000Z
models/strategy.py
CBarreiro96/PRICE-INSPECTOR
d77984f8c11817af21cbdaa56a610a359c6d8061
[ "MIT" ]
1
2021-03-13T23:29:29.000Z
2021-03-13T23:29:29.000Z
models/strategy.py
CBarreiro96/PRICE-INSPECTOR
d77984f8c11817af21cbdaa56a610a359c6d8061
[ "MIT" ]
3
2021-03-30T12:56:05.000Z
2021-06-21T23:20:25.000Z
#!/usr/bin/python """class Strategy""" import models from models.base_model import BaseModel, Base from sqlalchemy import Column, String, Float, ForeignKey from sqlalchemy.orm import relationship
39.829268
66
0.691366
bb25d88b34aa87a95d720f23bdf7ee4cf0720387
1,846
py
Python
apps/shows/migrations/0006_comment.py
jorgesaw/oclock
2a78bd4d1ab40eaa65ea346cf8c37556fcbbeca5
[ "MIT" ]
null
null
null
apps/shows/migrations/0006_comment.py
jorgesaw/oclock
2a78bd4d1ab40eaa65ea346cf8c37556fcbbeca5
[ "MIT" ]
null
null
null
apps/shows/migrations/0006_comment.py
jorgesaw/oclock
2a78bd4d1ab40eaa65ea346cf8c37556fcbbeca5
[ "MIT" ]
null
null
null
# Generated by Django 2.2.13 on 2020-09-27 03:14 from django.conf import settings from django.db import migrations, models import django.db.models.deletion
51.277778
162
0.627844
bb27172fb0cc5ad2e5a95626ae35d9d5cb247567
2,819
py
Python
scripts/subreddit_comments_alt.py
awesome-archive/subreddit-analyzer
7ef113e10318f187d2e43960eaf21110bb8fe917
[ "MIT" ]
497
2019-12-23T15:29:42.000Z
2022-03-25T12:34:00.000Z
scripts/subreddit_comments_alt.py
HubBucket-Team/subreddit-analyzer
7ef113e10318f187d2e43960eaf21110bb8fe917
[ "MIT" ]
4
2019-12-24T22:03:52.000Z
2020-09-13T02:59:37.000Z
scripts/subreddit_comments_alt.py
HubBucket-Team/subreddit-analyzer
7ef113e10318f187d2e43960eaf21110bb8fe917
[ "MIT" ]
45
2019-12-23T16:42:58.000Z
2022-03-23T01:07:26.000Z
""" This script uses the Pushshift API to download comments from the specified subreddits. By default it downloads all the comments from the newest one to the first one of the specified date. """ import csv import sys import time from datetime import datetime import requests # 10,000 should cover at least 3 years of...
26.101852
100
0.638879
bb277ecd7191ed8683e34808e14ad7ee6f7a9f68
42,013
py
Python
django/bosscore/views/views_resource.py
jhuapl-boss/boss
c2e26d272bd7b8d54abdc2948193163537e31291
[ "Apache-2.0" ]
20
2016-05-16T21:08:13.000Z
2021-11-16T11:50:19.000Z
django/bosscore/views/views_resource.py
jhuapl-boss/boss
c2e26d272bd7b8d54abdc2948193163537e31291
[ "Apache-2.0" ]
31
2016-10-28T17:51:11.000Z
2022-02-10T08:07:31.000Z
django/bosscore/views/views_resource.py
jhuapl-boss/boss
c2e26d272bd7b8d54abdc2948193163537e31291
[ "Apache-2.0" ]
12
2016-10-28T17:47:01.000Z
2021-05-18T23:47:06.000Z
# Copyright 2016 The Johns Hopkins University Applied Physics Laboratory # # 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 ...
42.739573
130
0.620213
bb29ed7371a10fa561440136d68a16946ca367a4
1,299
py
Python
main.py
bogdanbledea/python-rdf-controller
a041382ce6ed6d6aaae951f45a9f589ac7adc964
[ "MIT" ]
null
null
null
main.py
bogdanbledea/python-rdf-controller
a041382ce6ed6d6aaae951f45a9f589ac7adc964
[ "MIT" ]
null
null
null
main.py
bogdanbledea/python-rdf-controller
a041382ce6ed6d6aaae951f45a9f589ac7adc964
[ "MIT" ]
null
null
null
from datetime import datetime from apscheduler.schedulers.background import BackgroundScheduler from flask import Flask, request import pandas as pd import requests # read the test file data = pd.read_csv('date_test.csv') # convert date column to datetime, so python can understand data['Time'] = pd.to_datetime(data['...
25.98
96
0.729022
bb2ca93917ed513f7e55b5691a7e89d82bb90ba4
1,896
py
Python
examples/00_load-a-map/00_load_map.py
inniyah/pytmxloader
93a4f8565300663c731b48a7ebe1c9d3b72479b2
[ "BSD-3-Clause" ]
1
2020-02-22T03:47:09.000Z
2020-02-22T03:47:09.000Z
examples/00_load-a-map/00_load_map.py
inniyah/pytmxloader
93a4f8565300663c731b48a7ebe1c9d3b72479b2
[ "BSD-3-Clause" ]
null
null
null
examples/00_load-a-map/00_load_map.py
inniyah/pytmxloader
93a4f8565300663c731b48a7ebe1c9d3b72479b2
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/python # -*- coding: utf-8 -*- """ This is the pygame minimal example. """ __revision__ = "$Rev$" __version__ = "3.0.0." + __revision__[6:-2] __author__ = 'DR0ID @ 2009-2011' import sys import os try: import _path except: pass import tiledtmxloader # ----------------------------------------...
23.7
80
0.563291
bb2d52c233b9c027a9bbeb27cc8db44cbb6c5aeb
440
py
Python
projects/migrations/0010_auto_20200217_0313.py
wilbrone/Awards
c4c87ca5d700a12dc8d23e2d6092ac59adada4af
[ "MIT" ]
null
null
null
projects/migrations/0010_auto_20200217_0313.py
wilbrone/Awards
c4c87ca5d700a12dc8d23e2d6092ac59adada4af
[ "MIT" ]
11
2020-06-05T20:57:31.000Z
2021-09-22T18:35:03.000Z
projects/migrations/0010_auto_20200217_0313.py
wilbrone/Awards
c4c87ca5d700a12dc8d23e2d6092ac59adada4af
[ "MIT" ]
null
null
null
# Generated by Django 3.0.2 on 2020-02-17 03:13 from django.db import migrations, models
23.157895
97
0.622727
bb2e8260484cf941efeee9bd75b7c4296b3cf0fe
916
py
Python
project1/src/run_test.py
JinquanPeng/CS323-Compilers
6e03d31e9f7c5a4125551c6a84f2783beac3c91d
[ "MIT" ]
null
null
null
project1/src/run_test.py
JinquanPeng/CS323-Compilers
6e03d31e9f7c5a4125551c6a84f2783beac3c91d
[ "MIT" ]
null
null
null
project1/src/run_test.py
JinquanPeng/CS323-Compilers
6e03d31e9f7c5a4125551c6a84f2783beac3c91d
[ "MIT" ]
null
null
null
import os import hashlib if __name__ == '__main__': cmds = [] ans = [] cmd = "./bin/splc" for i in range(1,10): file_name = cmd+ " ../test/test_1_r0"+str(i)+".spl > rst" a = "../test/test_1_r0" + str(i) +".out" cmds.append(file_name) ans.append(a) for i in range(10,...
23.487179
65
0.532751
bb2f86a7407e8af208d180bb44842b6821363661
1,219
py
Python
CybORG/CybORG/Shared/Actions/ShellActionsFolder/PersistenceFolder/Schtasks.py
rafvasq/cage-challenge-1
95affdfa38afc1124f1a1a09c92fbc0ed5b96318
[ "MIT" ]
18
2021-08-20T15:07:55.000Z
2022-03-11T12:05:15.000Z
CybORG/CybORG/Shared/Actions/ShellActionsFolder/PersistenceFolder/Schtasks.py
rafvasq/cage-challenge-1
95affdfa38afc1124f1a1a09c92fbc0ed5b96318
[ "MIT" ]
7
2021-11-09T06:46:58.000Z
2022-03-31T12:35:06.000Z
CybORG/CybORG/Shared/Actions/ShellActionsFolder/PersistenceFolder/Schtasks.py
rafvasq/cage-challenge-1
95affdfa38afc1124f1a1a09c92fbc0ed5b96318
[ "MIT" ]
13
2021-08-17T00:26:31.000Z
2022-03-29T20:06:45.000Z
# Copyright DST Group. Licensed under the MIT license. from CybORG.Shared.Actions.ShellActionsFolder.PersistenceFolder.Persistence import Persistence from CybORG.Simulator.State import State from CybORG.Shared.Enums import OperatingSystemType from CybORG.Shared.Observation import Observation
36.939394
94
0.689089
bb302d96d846c2523f4c01d9c2661d1278d7a867
1,220
py
Python
ch02-安装OpenCV/最简单-使用pip安装opencv-python和opencv-contrib-python/test_video.py
makelove/OpenCV-Python-Tutorial
e428d648f7aa50d6a0fb4f4d0fb1bd1a600fef41
[ "MIT" ]
2,875
2016-10-21T01:33:22.000Z
2022-03-30T12:15:28.000Z
ch02-安装OpenCV/最简单-使用pip安装opencv-python和opencv-contrib-python/test_video.py
makelove/OpenCV-Python-Tutorial
e428d648f7aa50d6a0fb4f4d0fb1bd1a600fef41
[ "MIT" ]
12
2017-07-18T14:24:27.000Z
2021-07-04T10:32:25.000Z
ch02-安装OpenCV/最简单-使用pip安装opencv-python和opencv-contrib-python/test_video.py
makelove/OpenCV-Python-Tutorial
e428d648f7aa50d6a0fb4f4d0fb1bd1a600fef41
[ "MIT" ]
1,066
2017-03-11T01:43:28.000Z
2022-03-29T14:52:41.000Z
# -*- coding: utf-8 -*- # @Time : 2017/8/2 10:46 # @Author : play4fun # @File : test_video.py # @Software: PyCharm """ test_video.py: """ import numpy as np import cv2 from matplotlib import pyplot as plt cap = cv2.VideoCapture('../../data/vtest.avi')# # cap = cv2.VideoCapture('output.avi') # cap = cv2.VideoC...
25.957447
78
0.698361
bb309be7b79bab53765d51fbd9cd8102d4fe70fe
691
py
Python
src/news/migrations/0007_auto_20200211_0715.py
HammudElHammud/newspage
feac69bf0fa3dd6c876e88ef0daae4166b367c09
[ "bzip2-1.0.6" ]
null
null
null
src/news/migrations/0007_auto_20200211_0715.py
HammudElHammud/newspage
feac69bf0fa3dd6c876e88ef0daae4166b367c09
[ "bzip2-1.0.6" ]
null
null
null
src/news/migrations/0007_auto_20200211_0715.py
HammudElHammud/newspage
feac69bf0fa3dd6c876e88ef0daae4166b367c09
[ "bzip2-1.0.6" ]
null
null
null
# Generated by Django 3.0.3 on 2020-02-11 15:15 from django.db import migrations, models
23.827586
65
0.551375
bb30be152200fea640eb2dc2127cb38b5146d564
1,719
py
Python
006_Picraft_advancedMinecraft/4_bench.py
McrRaspJam/McrRaspJam
29fb1f7ee54ad7b787b95be1b9795ecb29ba621e
[ "CC0-1.0" ]
null
null
null
006_Picraft_advancedMinecraft/4_bench.py
McrRaspJam/McrRaspJam
29fb1f7ee54ad7b787b95be1b9795ecb29ba621e
[ "CC0-1.0" ]
null
null
null
006_Picraft_advancedMinecraft/4_bench.py
McrRaspJam/McrRaspJam
29fb1f7ee54ad7b787b95be1b9795ecb29ba621e
[ "CC0-1.0" ]
1
2017-03-07T16:06:32.000Z
2017-03-07T16:06:32.000Z
#API setup from picraft import Vector from picraft import World, Block if __name__ == "__main__": main()
17.90625
49
0.668994
bb314ff4d3d72fdc85dd64dff7ae3856c4338bdd
165
py
Python
Python/011. Built-ins/04. Athlete Sort.py
subhadeep-123/HackerRank
4596915097e58d9fd7a8bfad3194ac35f0c25177
[ "MIT" ]
2
2020-07-20T19:47:54.000Z
2021-04-19T21:14:59.000Z
Python/011. Built-ins/04. Athlete Sort.py
subhadeep-123/HackerRank
4596915097e58d9fd7a8bfad3194ac35f0c25177
[ "MIT" ]
null
null
null
Python/011. Built-ins/04. Athlete Sort.py
subhadeep-123/HackerRank
4596915097e58d9fd7a8bfad3194ac35f0c25177
[ "MIT" ]
null
null
null
n, m = map(int, input().split()) array = [input() for _ in range(n)] k = int(input()) for row in sorted(array, key=lambda row: int(row.split()[k])): print(row)
23.571429
62
0.606061
bb3720e54516e77b9a91bf01d1acf58b90d964de
1,389
py
Python
Leetcoding-Actions/Explore-Monthly-Challenges/2020-08/05-add-and-search-word-data-stracture-design.py
shoaibur/SWE
1e114a2750f2df5d6c50b48c8e439224894d65da
[ "MIT" ]
1
2020-11-14T18:28:13.000Z
2020-11-14T18:28:13.000Z
Leetcoding-Actions/Explore-Monthly-Challenges/2020-08/05-add-and-search-word-data-stracture-design.py
shoaibur/SWE
1e114a2750f2df5d6c50b48c8e439224894d65da
[ "MIT" ]
null
null
null
Leetcoding-Actions/Explore-Monthly-Challenges/2020-08/05-add-and-search-word-data-stracture-design.py
shoaibur/SWE
1e114a2750f2df5d6c50b48c8e439224894d65da
[ "MIT" ]
null
null
null
# Your WordDictionary object will be instantiated and called as such: # obj = WordDictionary() # obj.addWord(word) # param_2 = obj.search(word)
28.346939
125
0.50468
bb37aac3a1d0456fe2c599a0c149fff7be144e31
1,740
py
Python
Hardware/const_hardware.py
modelsplaid/tzq_raspi_hexapod
129098c1209bf49cadeb3d077060ac45980b8d02
[ "MIT" ]
null
null
null
Hardware/const_hardware.py
modelsplaid/tzq_raspi_hexapod
129098c1209bf49cadeb3d077060ac45980b8d02
[ "MIT" ]
null
null
null
Hardware/const_hardware.py
modelsplaid/tzq_raspi_hexapod
129098c1209bf49cadeb3d077060ac45980b8d02
[ "MIT" ]
null
null
null
import json #json does not support int type key in dictionary, #so I created this function to do that. out_file = open("./config/const_hardware_config.json", "r") config_json = json.load(out_file) NUTURAL_POSES_PULSE = str_key2int(config_json['NUTURAL_POSES_PULSE']) NUTURAL_POSES_DEG = str_key2int(config_...
39.545455
74
0.701724
bb37e66022cf5b3dfa7d812f2c6b4a7dea737948
169
py
Python
strings.py
Abhiforcs/mypythonworkspace
ac5014160fc9b29d1a8d835441e6360f470fae59
[ "MIT" ]
1
2020-05-12T20:19:53.000Z
2020-05-12T20:19:53.000Z
strings.py
Abhiforcs/mypythonworkspace
ac5014160fc9b29d1a8d835441e6360f470fae59
[ "MIT" ]
null
null
null
strings.py
Abhiforcs/mypythonworkspace
ac5014160fc9b29d1a8d835441e6360f470fae59
[ "MIT" ]
null
null
null
result = count('a','banana') print(result)
18.777778
29
0.568047
bb3c05e140e350f26693ead6608a99e6809a8695
592
py
Python
migrations/versions/bbdff842b0cb_add_revokedtoken.py
rivalrockets/benchmarks.rivalrockets.com
8f56cae4ac8afc1870e2e3f7d567ffb55649c871
[ "MIT" ]
null
null
null
migrations/versions/bbdff842b0cb_add_revokedtoken.py
rivalrockets/benchmarks.rivalrockets.com
8f56cae4ac8afc1870e2e3f7d567ffb55649c871
[ "MIT" ]
16
2016-09-03T04:16:23.000Z
2016-10-24T13:05:11.000Z
migrations/versions/bbdff842b0cb_add_revokedtoken.py
rivalrockets/rivalrockets-api
8f56cae4ac8afc1870e2e3f7d567ffb55649c871
[ "MIT" ]
null
null
null
"""add revokedtoken Revision ID: bbdff842b0cb Revises: ad580d7b4f2a Create Date: 2018-08-22 23:34:44.240714 """ # revision identifiers, used by Alembic. revision = 'bbdff842b0cb' down_revision = 'ad580d7b4f2a' from alembic import op import sqlalchemy as sa
20.413793
59
0.692568
bb3ca45e0783016717a57abf87ea77f115739f69
14,523
py
Python
test/testRational.py
turkeydonkey/nzmath3
a48ae9efcf0d9ad1485c2e9863c948a7f1b20311
[ "BSD-3-Clause" ]
1
2021-05-26T19:22:17.000Z
2021-05-26T19:22:17.000Z
test/testRational.py
turkeydonkey/nzmath3
a48ae9efcf0d9ad1485c2e9863c948a7f1b20311
[ "BSD-3-Clause" ]
null
null
null
test/testRational.py
turkeydonkey/nzmath3
a48ae9efcf0d9ad1485c2e9863c948a7f1b20311
[ "BSD-3-Clause" ]
null
null
null
import unittest from nzmath.rational import * import nzmath.finitefield as finitefield from nzmath.plugins import FLOATTYPE as Float # Rational, Integer, theIntegerRing, theRationalField def suite(suffix = "Test"): suite = unittest.TestSuite() all_names = globals() for name in all_names: if n...
38.218421
91
0.641534