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
78b1088a5138ebe9e271cee17d9f041b05a1e072
122
py
Python
pyeccodes/defs/mars/grib_oper_ea_def.py
ecmwf/pyeccodes
dce2c72d3adcc0cb801731366be53327ce13a00b
[ "Apache-2.0" ]
7
2020-04-14T09:41:17.000Z
2021-08-06T09:38:19.000Z
pyeccodes/defs/mars/grib_oper_ea_def.py
ecmwf/pyeccodes
dce2c72d3adcc0cb801731366be53327ce13a00b
[ "Apache-2.0" ]
null
null
null
pyeccodes/defs/mars/grib_oper_ea_def.py
ecmwf/pyeccodes
dce2c72d3adcc0cb801731366be53327ce13a00b
[ "Apache-2.0" ]
3
2020-04-30T12:44:48.000Z
2020-12-15T08:40:26.000Z
import pyeccodes.accessors as _
13.555556
40
0.581967
78b1a07d25bb2f618f40e24ffc85d90df88326f4
89
py
Python
djnic/cambios/apps.py
avdata99/nic
70399bd78fd2b4b496d338e7959867ad12cdf477
[ "MIT" ]
8
2021-05-01T13:03:22.000Z
2021-12-17T21:50:04.000Z
djnic/cambios/apps.py
avdata99/nic
70399bd78fd2b4b496d338e7959867ad12cdf477
[ "MIT" ]
16
2020-11-20T23:18:22.000Z
2021-04-08T20:09:35.000Z
djnic/cambios/apps.py
OpenDataCordoba/nic
f9528856e13d106bdfb476cab1236bc5b8a92183
[ "MIT" ]
null
null
null
from django.apps import AppConfig
14.833333
33
0.752809
78b1c9766b7e64ef672c2a82990fc34ee71a9182
1,896
py
Python
src/modules/database.py
HorizonKinen/YoutubeToBilibili
3203741ef29cd3ef56b4e86d88b41d02da9c405b
[ "WTFPL" ]
22
2021-04-01T03:25:45.000Z
2021-11-07T12:21:01.000Z
src/modules/database.py
HarukaKinen/YoutubeToBilibili
f980f24a4a641016d888658bfba509c4d80be155
[ "WTFPL" ]
3
2021-01-30T08:21:22.000Z
2021-01-31T11:14:47.000Z
src/modules/database.py
HorizonKinen/YoutubeToBilibili
3203741ef29cd3ef56b4e86d88b41d02da9c405b
[ "WTFPL" ]
8
2021-04-02T10:54:56.000Z
2021-11-18T19:48:44.000Z
import enum from sqlalchemy import Column, String, Integer, create_engine, insert from sqlalchemy.orm import sessionmaker, scoped_session from sqlalchemy.ext.declarative import declarative_base from .config import config config.read() base = declarative_base() def get_video_status(self): return self.statu...
29.625
111
0.699367
78b4645e95a83ab2fc48ce9430f8611ed92914a8
33,444
py
Python
hans/problem.py
hannes-holey/hans
9604eedd70d54f3d4e2058fbc5b911e92e005e4f
[ "MIT" ]
1
2022-02-03T09:31:24.000Z
2022-02-03T09:31:24.000Z
hans/problem.py
hannes-holey/hans
9604eedd70d54f3d4e2058fbc5b911e92e005e4f
[ "MIT" ]
6
2022-02-03T09:24:24.000Z
2022-02-07T09:25:16.000Z
hans/problem.py
hannes-holey/hans
9604eedd70d54f3d4e2058fbc5b911e92e005e4f
[ "MIT" ]
null
null
null
""" MIT License Copyright 2021 Hannes Holey Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, dist...
36.23402
111
0.520303
78b51de648c13fb8cfc695b056eab9fb7c00af83
5,600
py
Python
nucleoatac/run_occ.py
oaxiom/NucleoATAC
e1ec144df924ab48f5f6fe65c52e4ec40d5a89f8
[ "MIT" ]
null
null
null
nucleoatac/run_occ.py
oaxiom/NucleoATAC
e1ec144df924ab48f5f6fe65c52e4ec40d5a89f8
[ "MIT" ]
null
null
null
nucleoatac/run_occ.py
oaxiom/NucleoATAC
e1ec144df924ab48f5f6fe65c52e4ec40d5a89f8
[ "MIT" ]
null
null
null
""" Script to make nucleosome occupancy track! @author: Alicia Schep """ ##### IMPORT MODULES ##### # import necessary python modules #import matplotlib as mpl #mpl.use('PS') import matplotlib.pyplot as plt import multiprocessing as mp import numpy as np import traceback import itertools import pysam from pyatac.util...
34.567901
137
0.656071
78b6b965994bd0785c77caa03eeb03a96a7b1651
3,936
py
Python
mc_states/modules/mc_supervisor.py
makinacorpus/makina-states
8ae1ccd1a0b614a7f308229c07e1493b06f5883a
[ "BSD-3-Clause" ]
18
2015-02-22T12:53:50.000Z
2019-03-15T16:45:10.000Z
doc/sphinx/mc_states/modules/mc_supervisor.py
makinacorpus/makina-states
8ae1ccd1a0b614a7f308229c07e1493b06f5883a
[ "BSD-3-Clause" ]
20
2015-01-20T22:35:02.000Z
2017-11-06T11:17:34.000Z
doc/sphinx/mc_states/modules/mc_supervisor.py
makinacorpus/makina-states
8ae1ccd1a0b614a7f308229c07e1493b06f5883a
[ "BSD-3-Clause" ]
5
2015-01-13T04:23:09.000Z
2019-01-03T17:00:31.000Z
# -*- coding: utf-8 -*- ''' .. _module_mc_supervisor: mc_supervisor / supervisor functions ============================================ ''' # Import python libs import logging import mc_states.api __name = 'supervisor' log = logging.getLogger(__name__) def settings(): ''' supervisor settings loca...
34.226087
72
0.423526
78b85e2ee9cd23c4f6512c2c73157bd3170681df
8,047
py
Python
ebk_client.py
felixb/ebk-client
c1566506316b93a4b678bf9b55ba4efed27a8818
[ "MIT" ]
null
null
null
ebk_client.py
felixb/ebk-client
c1566506316b93a4b678bf9b55ba4efed27a8818
[ "MIT" ]
null
null
null
ebk_client.py
felixb/ebk-client
c1566506316b93a4b678bf9b55ba4efed27a8818
[ "MIT" ]
1
2019-01-22T15:23:15.000Z
2019-01-22T15:23:15.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- """ ebk-client - eBay Kleinanzeigen/Classifieds API client in Python Copyright (c) 2016 tjado <https://github.com/tejado> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"...
39.063107
131
0.653411
78b9348b92d0ea4267dcf99bdf1ee4caa57ef2c3
1,452
py
Python
main.py
luozhaoyu/poc-aws
f0f83a52ab28db785f855adbceadd96ded1ad64e
[ "MIT" ]
null
null
null
main.py
luozhaoyu/poc-aws
f0f83a52ab28db785f855adbceadd96ded1ad64e
[ "MIT" ]
null
null
null
main.py
luozhaoyu/poc-aws
f0f83a52ab28db785f855adbceadd96ded1ad64e
[ "MIT" ]
null
null
null
import socket import MySQLdb import config main()
26.888889
80
0.637052
78b97b602a288086ad8ba28fb40c3f8b4b109fa2
1,336
py
Python
tests/test_wordpairscore.py
simontite-capita-ti/yal
6f5969d9d34f5933f1c12fad07c8ac3d695865e9
[ "BSD-3-Clause" ]
98
2015-01-04T08:03:27.000Z
2021-01-12T14:23:06.000Z
tests/test_wordpairscore.py
simontite-capita-ti/yal
6f5969d9d34f5933f1c12fad07c8ac3d695865e9
[ "BSD-3-Clause" ]
16
2015-07-28T20:29:37.000Z
2021-06-14T20:38:53.000Z
tests/test_wordpairscore.py
simontite-capita-ti/yal
6f5969d9d34f5933f1c12fad07c8ac3d695865e9
[ "BSD-3-Clause" ]
31
2015-07-28T17:38:47.000Z
2021-08-22T17:17:28.000Z
#!/usr/bin/env python # coding: utf-8 import os import unittest from yalign.wordpairscore import WordPairScore if __name__ == "__main__": unittest.main()
35.157895
83
0.665419
78b9aafb6b3b46eea530af06b0d1f3e28f712761
2,131
py
Python
Space_Invaders/classes/Game/Screens/MenuScreen.py
Jh123x/Orbital
6f8f2da4fd26ef1d77c0c6183230c3a5e6bf0bb9
[ "MIT" ]
4
2020-05-15T11:17:09.000Z
2020-06-30T01:11:41.000Z
Space_Invaders/classes/Game/Screens/MenuScreen.py
Jh123x/Orbital
6f8f2da4fd26ef1d77c0c6183230c3a5e6bf0bb9
[ "MIT" ]
10
2020-05-16T10:45:32.000Z
2020-07-27T07:17:02.000Z
Space_Invaders/classes/Game/Screens/MenuScreen.py
Jh123x/Orbital
6f8f2da4fd26ef1d77c0c6183230c3a5e6bf0bb9
[ "MIT" ]
null
null
null
import pygame from pygame.locals import * from . import MenuTemplate from .. import State, WHITE, ImageObject, Direction
40.980769
148
0.665415
78ba0cdb84fd84166a30e6d6058f9f0e67c50a04
1,210
py
Python
01 Fundamental/Session 03/homework/clothes_shop.py
culee/c4e
775c53fa92a31696431760f58a79a52889bfb46f
[ "MIT" ]
null
null
null
01 Fundamental/Session 03/homework/clothes_shop.py
culee/c4e
775c53fa92a31696431760f58a79a52889bfb46f
[ "MIT" ]
null
null
null
01 Fundamental/Session 03/homework/clothes_shop.py
culee/c4e
775c53fa92a31696431760f58a79a52889bfb46f
[ "MIT" ]
null
null
null
items = ['T-Shirt','Sweater'] print("*** Note: If you want to quit this program, simply type 'quit' or 'QUIT'.") print("*" * 20) while True: action = (input("Welcome to our shop, what do you want (C, R, U, D)? ")).upper() if action == "R": print("Our items: ", end='') print(*items,sep=', ') ...
33.611111
84
0.510744
78baaa23dc63dd326173e40105e3cda865d11d80
525
py
Python
tplogtools/timetools.py
Travelport-Czech/tplogtools
c649001929760d11aadaaf713793f01e48c31e80
[ "MIT" ]
null
null
null
tplogtools/timetools.py
Travelport-Czech/tplogtools
c649001929760d11aadaaf713793f01e48c31e80
[ "MIT" ]
null
null
null
tplogtools/timetools.py
Travelport-Czech/tplogtools
c649001929760d11aadaaf713793f01e48c31e80
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 """Extended tools for datetime""" import datetime def how_many_seconds_to_time(now, hour, minute): """Return amount seconds from now to given hour and minute""" target_time = now.replace(hour=hour, minute=minute, second=0) if now >= target_time: target_time += datetime.timed...
32.8125
68
0.71619
78bd4f598c685b4628bf5017651d095fd254c7df
1,468
py
Python
Algo_Ds_Notes-master/Algo_Ds_Notes-master/Catalan_Numbers/Catalan_Numbers.py
rajatenzyme/Coding-Journey-
65a0570153b7e3393d78352e78fb2111223049f3
[ "MIT" ]
null
null
null
Algo_Ds_Notes-master/Algo_Ds_Notes-master/Catalan_Numbers/Catalan_Numbers.py
rajatenzyme/Coding-Journey-
65a0570153b7e3393d78352e78fb2111223049f3
[ "MIT" ]
null
null
null
Algo_Ds_Notes-master/Algo_Ds_Notes-master/Catalan_Numbers/Catalan_Numbers.py
rajatenzyme/Coding-Journey-
65a0570153b7e3393d78352e78fb2111223049f3
[ "MIT" ]
null
null
null
''' Catalan numbers (Cn) are a sequence of natural numbers that occur in many places. The most important ones being that Cn gives the number of Binary Search Trees possible with n values. Cn is the number of full Binary Trees with n + 1 leaves. Cn is the number of different ways n + 1 factors can be...
29.36
67
0.641689
78c05a7d33de4a49b8b2a6d8d287fc4f14f928e6
2,613
py
Python
tuun/util/database.py
petuum/tuun
8eec472dbf0e5e695449b0fa2d98985469fd5b30
[ "Apache-2.0" ]
33
2020-08-30T16:22:35.000Z
2022-02-26T13:48:32.000Z
tuun/util/database.py
petuum/tuun
8eec472dbf0e5e695449b0fa2d98985469fd5b30
[ "Apache-2.0" ]
2
2021-01-18T19:46:43.000Z
2021-03-24T09:59:14.000Z
tuun/util/database.py
petuum/tuun
8eec472dbf0e5e695449b0fa2d98985469fd5b30
[ "Apache-2.0" ]
2
2020-08-25T17:02:15.000Z
2021-04-21T16:40:44.000Z
import sqlite3 import os from sqlite_utils import Database from pathlib import Path def init_db(db_name, exp_id, table_config): """Initialize and return MetricDatabase database.""" ENV_TUUN_LOG = os.getenv('TUUN_LOG', 'False') ENV_TUUN_LOG_PATH = os.path.expanduser(os.getenv('TUUN_LOG_PATH', '~/tuun-log')...
33.075949
84
0.616533
78c274019b23956261bae0c04015c5c68eb29c3a
1,373
py
Python
content/topic_3_loops/turtle_grid_with_nested_for_loop_example_4.py
chuanhao01/MSP_Learn_Python_Turtle
0d39ece81181848dc7449ee14992fe6a297413fa
[ "MIT" ]
1
2021-01-11T06:23:41.000Z
2021-01-11T06:23:41.000Z
content/topic_3_loops/turtle_grid_with_nested_for_loop_example_4.py
chuanhao01/MSP_Learn_Python_Turtle
0d39ece81181848dc7449ee14992fe6a297413fa
[ "MIT" ]
null
null
null
content/topic_3_loops/turtle_grid_with_nested_for_loop_example_4.py
chuanhao01/MSP_Learn_Python_Turtle
0d39ece81181848dc7449ee14992fe6a297413fa
[ "MIT" ]
null
null
null
import turtle pen = turtle.Turtle() pen.speed("slowest") # Let's draw something a little more interesting, a 2d grid of squares # How would you draw a grid of squares? # For each row in the grid, draw a certain number of squares (number of columns) square_width = 50 num_rows = 2 num_cols = 2 # Starting X and y coor...
33.487805
94
0.691916
78c386654e3fd5a3d61ed8bee81711706a58dac6
3,586
py
Python
scripts/process_connectivity.py
lejianhuang/RPN-signature_Lejian
79f42c19330220a30eb0b7ef14d725274e77d607
[ "BSD-3-Clause" ]
11
2019-08-19T16:13:37.000Z
2022-02-25T16:41:27.000Z
scripts/process_connectivity.py
lejianhuang/RPN-signature_Lejian
79f42c19330220a30eb0b7ef14d725274e77d607
[ "BSD-3-Clause" ]
3
2019-04-26T09:42:56.000Z
2020-04-19T11:28:38.000Z
scripts/process_connectivity.py
lejianhuang/RPN-signature_Lejian
79f42c19330220a30eb0b7ef14d725274e77d607
[ "BSD-3-Clause" ]
4
2019-09-28T10:12:49.000Z
2020-09-20T11:58:48.000Z
#!/usr/bin/env python import warnings warnings.filterwarnings("always") warnings.filterwarnings("ignore", message="numpy.dtype size changed") warnings.filterwarnings("ignore", message="numpy.ufunc size changed") from PAINTeR import global_vars import PAINTeR.connectivity as conn ######################################...
49.123288
83
0.501673
78c40627d39d356d19c21d52595417188b6004ad
4,711
py
Python
seafileapi/repo.py
AdriCueGim/python-seafile
a84d34dbf8bc87f31ec3d9d52e4673d93fb9d6dd
[ "Apache-2.0" ]
null
null
null
seafileapi/repo.py
AdriCueGim/python-seafile
a84d34dbf8bc87f31ec3d9d52e4673d93fb9d6dd
[ "Apache-2.0" ]
null
null
null
seafileapi/repo.py
AdriCueGim/python-seafile
a84d34dbf8bc87f31ec3d9d52e4673d93fb9d6dd
[ "Apache-2.0" ]
null
null
null
import io import posixpath import re import validators from urllib.parse import urlencode from seafileapi.files import SeafDir, SeafFile from seafileapi.utils import raise_does_not_exist def delete(self): """Remove this repo. Only the repo owner can do this""" self.client.delete('/api2/repos/' + s...
31.61745
98
0.603906
78c41299a246153c0b264f9e8c09edf455403bd6
2,403
py
Python
workalendar/tests/test_registry.py
ftatarli/workalendar
111d2268f6153cfa1906823409103f5d532f7b8b
[ "MIT" ]
2
2020-07-15T09:56:41.000Z
2021-02-04T18:11:28.000Z
workalendar/tests/test_registry.py
ftatarli/workalendar
111d2268f6153cfa1906823409103f5d532f7b8b
[ "MIT" ]
null
null
null
workalendar/tests/test_registry.py
ftatarli/workalendar
111d2268f6153cfa1906823409103f5d532f7b8b
[ "MIT" ]
null
null
null
from datetime import date from unittest import TestCase from workalendar.registry import IsoRegistry from workalendar.core import Calendar
32.472973
72
0.649605
78c5d6c90cd6eccf97797ec79ddda4d73efe4619
617
py
Python
pythonx/ncm2_sorter/abbrfuzzy.py
ncm2/ncm2-abbrfuzzy-matcher
64c44ef5b804b8a59b8a241b0321e1d050f50c3e
[ "MIT" ]
null
null
null
pythonx/ncm2_sorter/abbrfuzzy.py
ncm2/ncm2-abbrfuzzy-matcher
64c44ef5b804b8a59b8a241b0321e1d050f50c3e
[ "MIT" ]
2
2018-07-13T11:18:11.000Z
2018-07-14T05:19:43.000Z
pythonx/ncm2_sorter/abbrfuzzy.py
ncm2/ncm2-abbrfuzzy-matcher
64c44ef5b804b8a59b8a241b0321e1d050f50c3e
[ "MIT" ]
1
2018-07-13T11:15:48.000Z
2018-07-13T11:15:48.000Z
import sys
20.566667
47
0.505673
78c83ac5442915f637cfef0b30d9e2b358200620
389
py
Python
2021learning/logica.py
rulgamer03/Python-Projects
89a2418fadce0fd4674d3f7d3fa682a9aaa4b14d
[ "Apache-2.0" ]
1
2021-06-18T16:29:46.000Z
2021-06-18T16:29:46.000Z
2021learning/logica.py
rulgamer03/Python-Projects
89a2418fadce0fd4674d3f7d3fa682a9aaa4b14d
[ "Apache-2.0" ]
null
null
null
2021learning/logica.py
rulgamer03/Python-Projects
89a2418fadce0fd4674d3f7d3fa682a9aaa4b14d
[ "Apache-2.0" ]
null
null
null
# operador logico print("Ingrese el valor de a") a = float(input()) print("Ingrese el valor de b") b = float(input()) print("b es mayor que a") print(b > a) print(type(b > a)) print("b es menor que a") print(b < a) print("b es mayor o igual que a") print(b >= a) print("b es menor o igual que a") print(b <= a) print("b ...
20.473684
33
0.619537
78c8a373f4941b1a89cd464353930c266a29e398
96
py
Python
efocus/__init__.py
shimonuri/cmdb
cc2640cdc6e6f0bb6efe0e74dab5b75bbc5b6fb6
[ "MIT" ]
null
null
null
efocus/__init__.py
shimonuri/cmdb
cc2640cdc6e6f0bb6efe0e74dab5b75bbc5b6fb6
[ "MIT" ]
null
null
null
efocus/__init__.py
shimonuri/cmdb
cc2640cdc6e6f0bb6efe0e74dab5b75bbc5b6fb6
[ "MIT" ]
null
null
null
from . import wrapper from . import logging_filter from . import preload __version__ = "0.1.4"
16
28
0.75
78c8e742fe95e9b7db7d7168d536b80e816955f9
719
py
Python
staff/views.py
kamiswin/body
70d8df770bab372ab6b1cb0bd96b1cbe2a03816f
[ "BSD-3-Clause" ]
null
null
null
staff/views.py
kamiswin/body
70d8df770bab372ab6b1cb0bd96b1cbe2a03816f
[ "BSD-3-Clause" ]
null
null
null
staff/views.py
kamiswin/body
70d8df770bab372ab6b1cb0bd96b1cbe2a03816f
[ "BSD-3-Clause" ]
null
null
null
# coding:utf-8 from django.contrib import auth from django.contrib.auth.decorators import login_required from django.contrib.auth.models import models from django.contrib.auth.models import User from django.conf import settings from django.core.exceptions import ObjectDoesNotExist from django import forms from django....
31.26087
72
0.826147
78c915234305db0bbc2e4f726adf2a0d2c6d50ef
2,119
py
Python
datacollector/gasMassFlow.py
IKKUengine/EtaNetPythonClients
509e37fc4592f5f52f880b62f7034f46afca1384
[ "MIT" ]
2
2020-02-11T11:51:38.000Z
2020-02-11T11:51:40.000Z
datacollector/gasMassFlow.py
IKKUengine/EtaNetPythonClients
509e37fc4592f5f52f880b62f7034f46afca1384
[ "MIT" ]
1
2020-02-11T11:49:46.000Z
2020-02-11T11:49:46.000Z
datacollector/gasMassFlow.py
IKKUengine/CHPefficiency
509e37fc4592f5f52f880b62f7034f46afca1384
[ "MIT" ]
1
2021-07-06T07:41:50.000Z
2021-07-06T07:41:50.000Z
from connections import i2cAdafruitConnection from observer import observe import parameter import datetime
36.534483
85
0.600283
78cb8d9a2f35c412eec52230d5d23ce37819115e
8,617
py
Python
src/AutoGTAP/SimulationCMF/SimulationCMF.py
ltl10121314/Auto-GTAP
6d7ba9035b94a5b1d1950adb522857e4593402ad
[ "MIT" ]
1
2021-03-29T13:56:33.000Z
2021-03-29T13:56:33.000Z
src/AutoGTAP/SimulationCMF/SimulationCMF.py
Allenwang1997/Auto-GTAP
6d7ba9035b94a5b1d1950adb522857e4593402ad
[ "MIT" ]
null
null
null
src/AutoGTAP/SimulationCMF/SimulationCMF.py
Allenwang1997/Auto-GTAP
6d7ba9035b94a5b1d1950adb522857e4593402ad
[ "MIT" ]
1
2022-01-25T13:25:28.000Z
2022-01-25T13:25:28.000Z
__author__ = "Andre Barbe" __project__ = "Auto-GTAP" __created__ = "2018-3-13" from AutoGTAP.Shocks.Shocks import Shocks from AutoGTAP.SimulationShocksShale import SimulationShocksShale
38.99095
119
0.447023
78cc113d02e305c03a96c2f7019329b67d174294
2,396
py
Python
pyaimsalgo/bin/AimsSulciVoronoi.py
brainvisa/aims-free
5852c1164292cadefc97cecace022d14ab362dc4
[ "CECILL-B" ]
4
2019-07-09T05:34:10.000Z
2020-10-16T00:03:15.000Z
pyaimsalgo/bin/AimsSulciVoronoi.py
brainvisa/aims-free
5852c1164292cadefc97cecace022d14ab362dc4
[ "CECILL-B" ]
72
2018-10-31T14:52:50.000Z
2022-03-04T11:22:51.000Z
pyaimsalgo/bin/AimsSulciVoronoi.py
brainvisa/aims-free
5852c1164292cadefc97cecace022d14ab362dc4
[ "CECILL-B" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import print_function from __future__ import absolute_import import sys, os from soma import aims, aimsalgo import numpy import optparse parser = optparse.OptionParser( description='Voronoi diagram of the sulci ' \ 'nodes regions, in the grey matter, an...
27.54023
89
0.690317
78ce8c9ef2cc826cfdb124750dd51d9fc6f19617
3,371
py
Python
Classifier.py
uniquetrij/CarND-P5-Vehicle-Detection
6b29653ba87d00ae3b361499d381a81f4c36cf07
[ "MIT" ]
null
null
null
Classifier.py
uniquetrij/CarND-P5-Vehicle-Detection
6b29653ba87d00ae3b361499d381a81f4c36cf07
[ "MIT" ]
10
2020-03-24T15:38:17.000Z
2022-03-11T23:17:36.000Z
Classifier.py
uniquetrij/CarND-P5-Vehicle-Detection
6b29653ba87d00ae3b361499d381a81f4c36cf07
[ "MIT" ]
1
2020-10-01T16:30:16.000Z
2020-10-01T16:30:16.000Z
import inspect import cv2 import numpy as np from sklearn.preprocessing import StandardScaler import time from sklearn.svm import SVC from sklearn.cross_validation import train_test_split from Dataset import Dataset from FeatureCombiner import FeatureCombiner from HOGExtractor import HOGExtractor from HistExtractor i...
38.306818
83
0.663305
78d037b6e6a633913a3baf5a2858d9e15b479093
3,713
py
Python
pyknp/knp/drawtree.py
eval-scheme/pyknp
ab2dfbec820575d82cbf98115c7706f2e3e290f4
[ "BSD-3-Clause" ]
2
2015-11-13T08:01:39.000Z
2017-01-05T09:33:41.000Z
pyknp/knp/drawtree.py
eval-scheme/pyknp
ab2dfbec820575d82cbf98115c7706f2e3e290f4
[ "BSD-3-Clause" ]
null
null
null
pyknp/knp/drawtree.py
eval-scheme/pyknp
ab2dfbec820575d82cbf98115c7706f2e3e290f4
[ "BSD-3-Clause" ]
1
2021-05-05T08:20:28.000Z
2021-05-05T08:20:28.000Z
#-*- encoding: utf-8 -*- from __future__ import unicode_literals from __future__ import absolute_import from __future__ import print_function import re from six.moves import range POS_MARK = { '': '*', '': 'v', '': 'j', '': 'c', '': 'x', '': 'n', '': 'N', '': 'J', '': 'C', '': ...
29.468254
75
0.403447
78d0fdc99eef8a84cba546e1e44176c8661c6b32
354
py
Python
test_frame/test_redis_ack_able/test_redis_ack_able_consumer.py
DJMIN/funboost
7570ca2909bb0b44a1080f5f98aa96c86d3da9d4
[ "Apache-2.0" ]
120
2021-12-26T03:27:12.000Z
2022-03-31T16:20:44.000Z
test_frame/test_redis_ack_able/test_redis_ack_able_consumer.py
mooti-barry/funboost
2cd9530e2c4e5a52fc921070d243d402adbc3a0e
[ "Apache-2.0" ]
18
2021-12-31T06:26:37.000Z
2022-03-31T16:16:33.000Z
test_frame/test_redis_ack_able/test_redis_ack_able_consumer.py
mooti-barry/funboost
2cd9530e2c4e5a52fc921070d243d402adbc3a0e
[ "Apache-2.0" ]
27
2021-12-26T16:12:31.000Z
2022-03-26T17:43:08.000Z
""" redis """ import time from funboost import boost,BrokerEnum if __name__ == '__main__': cost_long_time_fun.consume()
23.6
97
0.731638
78d65d7fce864b07f49cabf258f8bf48115d34f3
1,411
py
Python
dungeon/levels/stacking.py
tipishev/python_debugging_workshop
92ccc7b2e71ed38bcabdf6f0ced206ab4956a1cf
[ "Unlicense" ]
13
2019-11-01T09:24:01.000Z
2021-11-03T18:37:06.000Z
dungeon/levels/stacking.py
tipishev/python_debugging_workshop
92ccc7b2e71ed38bcabdf6f0ced206ab4956a1cf
[ "Unlicense" ]
null
null
null
dungeon/levels/stacking.py
tipishev/python_debugging_workshop
92ccc7b2e71ed38bcabdf6f0ced206ab4956a1cf
[ "Unlicense" ]
1
2021-05-12T04:28:01.000Z
2021-05-12T04:28:01.000Z
from mechanics import check_password _ = None MAYBE_HINT_1 = "When lazy and don't know go to Stack O......." MAYBE_HINT_2 = "Hints' wording is a silly whim, my favourite editor is V.." MAYBE_HINT_3 = "Could it be a real hint? When debugging don't use p...."
28.795918
75
0.691708
78d69ee192d553fe50f3822f51c7b71c3c4fc673
5,498
py
Python
hfradarpy/plot/plot_nc.py
teresaupdyke/HFRadarPy
581e5b8dcd56138f5bdd8eb7e43cbe1de7163cb6
[ "MIT" ]
null
null
null
hfradarpy/plot/plot_nc.py
teresaupdyke/HFRadarPy
581e5b8dcd56138f5bdd8eb7e43cbe1de7163cb6
[ "MIT" ]
1
2020-05-20T17:14:56.000Z
2020-05-20T17:14:56.000Z
hfradarpy/plot/plot_nc.py
teresaupdyke/HFRadarPy
581e5b8dcd56138f5bdd8eb7e43cbe1de7163cb6
[ "MIT" ]
6
2018-10-03T19:09:08.000Z
2020-06-08T17:56:08.000Z
import xarray as xr import numpy as np import numpy.ma as ma from hfradarpy.calc import uv2spdir, spdir2uv from hfradarpy.plot.common import plot_common import logging from matplotlib import colors from matplotlib.colors import TwoSlopeNorm, Normalize import cmocean logger = logging.getLogger(__name__) def plot_radi...
29.089947
105
0.616952
78d6ac1780a834d58960d00f2b454d544cc545be
320
py
Python
a-practical-introduction-to-python-programming-brian-heinold/chapter-01/exercise-07.py
elarabyelaidy19/awesome-reading
5c01a4272ba58e4f7ea665aab14b4c0aa252ea89
[ "MIT" ]
31
2021-11-02T19:51:13.000Z
2022-02-17T10:55:26.000Z
a-practical-introduction-to-python-programming-brian-heinold/chapter-01/exercise-07.py
MosTafaHoSamm/awesome-reading
469408fefc049d78ed53a2b2331b5d5cecdc6c06
[ "MIT" ]
1
2022-01-18T12:27:54.000Z
2022-01-18T12:27:54.000Z
a-practical-introduction-to-python-programming-brian-heinold/chapter-01/exercise-07.py
MosTafaHoSamm/awesome-reading
469408fefc049d78ed53a2b2331b5d5cecdc6c06
[ "MIT" ]
3
2022-01-11T05:01:34.000Z
2022-02-05T14:36:29.000Z
# Write a program that asks the user for a weight in kilograms and converts it to pounds. There # are 2.2 pounds in a kilogram. # Enter a weight in kilograms: 7 # The weight in pounds is: 15.4 kilograms = eval(input('Enter a weight in kilograms: ')) pounds = kilograms * 2.2 print('The weight in pounds is:', pounds)
29.090909
95
0.721875
1520a48351b4834a95ad9f000db6325507ab5753
5,836
py
Python
wt_plus/core/http.py
andersoncustodio/wt-plus
b31b782fb4dde8a0d92f5aa478797a929a0f8d0c
[ "BSD-3-Clause" ]
1
2022-02-20T19:15:22.000Z
2022-02-20T19:15:22.000Z
wt_plus/core/http.py
andersoncustodio/wt-plus
b31b782fb4dde8a0d92f5aa478797a929a0f8d0c
[ "BSD-3-Clause" ]
null
null
null
wt_plus/core/http.py
andersoncustodio/wt-plus
b31b782fb4dde8a0d92f5aa478797a929a0f8d0c
[ "BSD-3-Clause" ]
null
null
null
import os import re from jinja2 import Template
38.649007
117
0.576251
1524dfc872a4f07d30ab40c63034f4d0ab961fbf
1,243
py
Python
api/generated/python/azure-iiot-opc-history/models/event_filter_api_model.py
jaz230/Industrial-IoT
bd4c5abfe579cbb7086a621e8381978e6c70a563
[ "MIT" ]
1
2020-01-22T12:03:08.000Z
2020-01-22T12:03:08.000Z
api/generated/python/azure-iiot-opc-history/models/event_filter_api_model.py
likithadt/Industrial-IoT
d4ea7b330eff08455ca0556fed76aa74d2034da5
[ "MIT" ]
null
null
null
api/generated/python/azure-iiot-opc-history/models/event_filter_api_model.py
likithadt/Industrial-IoT
d4ea7b330eff08455ca0556fed76aa74d2034da5
[ "MIT" ]
null
null
null
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # # Code generated by Microsoft (R) AutoRest Code Generator 2.3.33.0 # ...
36.558824
95
0.635559
15256b7ebf72b5792943f519047995e3d2a0c22c
2,251
py
Python
tests/responses/test_streaming.py
alex-oleshkevich/kupala
2cbf566fb601631afc4fc1ec90384502ef546ce8
[ "MIT" ]
8
2021-05-26T00:17:21.000Z
2022-03-28T13:15:22.000Z
tests/responses/test_streaming.py
alex-oleshkevich/kupala
2cbf566fb601631afc4fc1ec90384502ef546ce8
[ "MIT" ]
10
2021-11-06T16:56:43.000Z
2022-03-28T13:15:02.000Z
tests/responses/test_streaming.py
alex-oleshkevich/kupala
2cbf566fb601631afc4fc1ec90384502ef546ce8
[ "MIT" ]
null
null
null
import asyncio import typing as t from kupala.application import Kupala from kupala.requests import Request from kupala.responses import StreamingResponse from kupala.testclient import TestClient
29.233766
106
0.654376
15264e9d0892bf8e0609608883eda85d2403dd52
6,068
py
Python
atomate/vasp/firetasks/tests/test_write_vasp.py
dongsenfo/atomate
01558e8c3e38470c02bc8b50c0ee3aa6198e5206
[ "BSD-3-Clause-LBNL" ]
1
2019-09-02T00:55:26.000Z
2019-09-02T00:55:26.000Z
atomate/vasp/firetasks/tests/test_write_vasp.py
dongsenfo/atomate
01558e8c3e38470c02bc8b50c0ee3aa6198e5206
[ "BSD-3-Clause-LBNL" ]
1
2019-04-09T20:55:30.000Z
2019-04-09T21:30:24.000Z
atomate/vasp/firetasks/tests/test_write_vasp.py
dongsenfo/atomate
01558e8c3e38470c02bc8b50c0ee3aa6198e5206
[ "BSD-3-Clause-LBNL" ]
3
2017-03-31T07:42:39.000Z
2018-10-10T12:52:49.000Z
# coding: utf-8 from __future__ import division, print_function, unicode_literals, absolute_import import os import unittest from fireworks.utilities.fw_serializers import load_object from atomate.vasp.firetasks.write_inputs import WriteVaspFromIOSet, WriteVaspFromPMGObjects, \ ModifyPotcar, ModifyIncar fro...
40.453333
94
0.595748
1529261397325793ed94147671978f3fabd7b5b1
2,407
py
Python
internal/notes/builtin-SAVE/packages/exabayes/package.py
HPCToolkit/hpctest
5ff4455582bf39e75530a31badcf6142081b386b
[ "BSD-3-Clause" ]
1
2019-01-17T20:07:19.000Z
2019-01-17T20:07:19.000Z
internal/notes/builtin-SAVE/packages/exabayes/package.py
HPCToolkit/hpctest
5ff4455582bf39e75530a31badcf6142081b386b
[ "BSD-3-Clause" ]
null
null
null
internal/notes/builtin-SAVE/packages/exabayes/package.py
HPCToolkit/hpctest
5ff4455582bf39e75530a31badcf6142081b386b
[ "BSD-3-Clause" ]
2
2019-08-06T18:13:57.000Z
2021-11-05T18:19:49.000Z
############################################################################## # Copyright (c) 2013-2017, Lawrence Livermore National Security, LLC. # Produced at the Lawrence Livermore National Laboratory. # # This file is part of Spack. # Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved. # LLNL-CODE-64...
41.5
94
0.659742
15294107e60d5b4697bb65b2479bfc5f3662ef58
7,315
py
Python
learnRCNN/train.py
ZDstandup/Some-deep-model-for-text-classification
002835466ef670945a9843b8a809782d49eaf24e
[ "Apache-2.0" ]
7
2018-06-12T03:07:31.000Z
2021-09-16T12:49:57.000Z
learnRCNN/train.py
cmfyj/Some-deep-model-for-text-classification
002835466ef670945a9843b8a809782d49eaf24e
[ "Apache-2.0" ]
null
null
null
learnRCNN/train.py
cmfyj/Some-deep-model-for-text-classification
002835466ef670945a9843b8a809782d49eaf24e
[ "Apache-2.0" ]
1
2018-11-20T02:03:38.000Z
2018-11-20T02:03:38.000Z
#coding=utf-8 #author@zhangdong import datetime import tensorflow as tf import data_helper from tensorflow.contrib import learn import numpy as np from TextRCNN_model import TextRCNN import os import time #configuration FLAGS=tf.flags.FLAGS tf.flags.DEFINE_string('raw_train_file','./../data/ag_news_...
42.52907
152
0.650718
1529448fe3457ec4ff872b8296c0cfa1eb4b79fd
1,696
py
Python
observations/r/edc_t.py
hajime9652/observations
2c8b1ac31025938cb17762e540f2f592e302d5de
[ "Apache-2.0" ]
199
2017-07-24T01:34:27.000Z
2022-01-29T00:50:55.000Z
observations/r/edc_t.py
hajime9652/observations
2c8b1ac31025938cb17762e540f2f592e302d5de
[ "Apache-2.0" ]
46
2017-09-05T19:27:20.000Z
2019-01-07T09:47:26.000Z
observations/r/edc_t.py
hajime9652/observations
2c8b1ac31025938cb17762e540f2f592e302d5de
[ "Apache-2.0" ]
45
2017-07-26T00:10:44.000Z
2022-03-16T20:44:59.000Z
# -*- coding: utf-8 -*- from __future__ import absolute_import from __future__ import division from __future__ import print_function import csv import numpy as np import os import sys from observations.util import maybe_download_and_extract def edc_t(path): """EPICA Dome C Ice Core 800KYr Temperature Estimates ...
25.313433
77
0.683962
1529a475c71647ffe54fb8b937d4b12c9992baed
5,475
py
Python
release/src-rt-6.x.4708/router/samba3/source4/auth/credentials/tests/bind.py
zaion520/ATtomato
4d48bb79f8d147f89a568cf18da9e0edc41f93fb
[ "FSFAP" ]
2
2019-01-13T09:19:10.000Z
2019-02-15T01:21:02.000Z
release/src-rt-6.x.4708/router/samba3/source4/auth/credentials/tests/bind.py
zaion520/ATtomato
4d48bb79f8d147f89a568cf18da9e0edc41f93fb
[ "FSFAP" ]
null
null
null
release/src-rt-6.x.4708/router/samba3/source4/auth/credentials/tests/bind.py
zaion520/ATtomato
4d48bb79f8d147f89a568cf18da9e0edc41f93fb
[ "FSFAP" ]
2
2020-03-08T01:58:25.000Z
2020-12-20T10:34:54.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- # This is unit with tests for LDAP access checks import optparse import sys import base64 import re import os import copy import time sys.path.insert(0, "bin/python") import samba samba.ensure_external_module("testtools", "testtools") samba.ensure_external_module("subunit...
35.322581
87
0.675799
152acf1a6e79b95deee54372e80ef12306aa5088
3,152
py
Python
samples/test.gromacs.py
SinHouse/qm3
b2436ad813dd13c0c14bdee5d95f30436bc0a04d
[ "MIT" ]
null
null
null
samples/test.gromacs.py
SinHouse/qm3
b2436ad813dd13c0c14bdee5d95f30436bc0a04d
[ "MIT" ]
null
null
null
samples/test.gromacs.py
SinHouse/qm3
b2436ad813dd13c0c14bdee5d95f30436bc0a04d
[ "MIT" ]
null
null
null
import os import qm3.mol import qm3.engines.gromacs import qm3.problem import qm3.maths.matrix try: import cStringIO as io except: import io os.system( "rm -f gromacs.*" ) f = io.StringIO( """ATOM 1 OH2 QWT 1 0.121 0.069 -0.225 1.00 0.00 W ATOM 2 H1 QWT 1 -0.527 ...
23.699248
130
0.532678
152baac0bcb386cd9039bbdf5a3fc9368ffcc277
449
py
Python
packages/w3af/w3af/core/controllers/tests/pylint_plugins/scapy_fix.py
ZooAtmosphereGroup/HelloPackages
0ccffd33bf927b13d28c8f715ed35004c33465d9
[ "Apache-2.0" ]
3
2019-04-09T22:59:33.000Z
2019-06-14T09:23:24.000Z
tools/w3af/w3af/core/controllers/tests/pylint_plugins/scapy_fix.py
sravani-m/Web-Application-Security-Framework
d9f71538f5cba6fe1d8eabcb26c557565472f6a6
[ "MIT" ]
null
null
null
tools/w3af/w3af/core/controllers/tests/pylint_plugins/scapy_fix.py
sravani-m/Web-Application-Security-Framework
d9f71538f5cba6fe1d8eabcb26c557565472f6a6
[ "MIT" ]
null
null
null
from astroid import MANAGER, register_module_extender from astroid.builder import AstroidBuilder CODE_FIX = """ class IP(object): pass class TCP(object): pass class UDP(object): pass class traceroute(object): def __init__(domain, dport=80, maxttl=1): pass """
21.380952
67
0.755011
152ca8af47b1f84e3980ac80dfb63972aae4a637
786
py
Python
arduinotask.py
Kopsi/flower-bot-skill
f711cf505dafaf9f9e03ea5e27510488c646a53b
[ "Apache-2.0" ]
null
null
null
arduinotask.py
Kopsi/flower-bot-skill
f711cf505dafaf9f9e03ea5e27510488c646a53b
[ "Apache-2.0" ]
null
null
null
arduinotask.py
Kopsi/flower-bot-skill
f711cf505dafaf9f9e03ea5e27510488c646a53b
[ "Apache-2.0" ]
null
null
null
import datetime,pymysql db=pymysql.connect("localhost", "flowerbot", "mycroft", "sensordata") curs=db.cursor() from arduinodata import getCurrentSensorData sensordata = getCurrentSensorData() select_stmt = "SELECT moisture,last_watered FROM history ORDER BY date DESC" with db: curs.execute(select_stmt) moistu...
22.457143
121
0.739186
152d6fb68544889d0006f0efcb6300a4c88e8eae
7,809
py
Python
main_sno_mdp.py
SunandanAdhikary/safe_near_optimal_mdp
67731555c504b79f8635da9d4fac01fd3b4c0211
[ "MIT" ]
30
2020-06-24T08:05:11.000Z
2021-12-21T05:21:17.000Z
main_sno_mdp.py
SunandanAdhikary/safe_near_optimal_mdp
67731555c504b79f8635da9d4fac01fd3b4c0211
[ "MIT" ]
null
null
null
main_sno_mdp.py
SunandanAdhikary/safe_near_optimal_mdp
67731555c504b79f8635da9d4fac01fd3b4c0211
[ "MIT" ]
8
2020-06-24T08:05:14.000Z
2022-03-11T03:25:34.000Z
from __future__ import division, print_function, absolute_import import GPy import numpy as np import arguments from safemdp.grid_world import (compute_S_hat0, shortest_path) from utils.reward_utilities import RewardObj from utils.safety_utilities import SafetyObj from utils.mdp_utilities import (calc_opt_policy, r...
33.659483
80
0.679088
152d912b2e5f9f15cc867a175d937b12195d7065
1,396
py
Python
rl/backup/policy_model.py
qbetterk/user-simulator
77caca30ff67b9112b1fe5e65e191c6b5e25532c
[ "Apache-2.0" ]
20
2019-11-08T02:28:28.000Z
2022-02-07T09:20:21.000Z
rl/backup/policy_model.py
qbetterk/user-simulator
77caca30ff67b9112b1fe5e65e191c6b5e25532c
[ "Apache-2.0" ]
21
2019-11-08T02:27:40.000Z
2022-03-12T00:02:54.000Z
rl/backup/policy_model.py
qbetterk/user-simulator
77caca30ff67b9112b1fe5e65e191c6b5e25532c
[ "Apache-2.0" ]
8
2020-02-10T07:28:37.000Z
2021-09-23T09:42:14.000Z
import torch import torch.nn as nn import torch.optim as optim import torch.nn.functional as F from config import Config
35.794872
94
0.598138
152e536cfcb36ffbb11a21ebf72c8ea33d63a359
434
py
Python
examples/hello_world.py
KolosDan/tgmsg
1e735afe999f88e09fe9801e9c36ba763125dca5
[ "MIT" ]
null
null
null
examples/hello_world.py
KolosDan/tgmsg
1e735afe999f88e09fe9801e9c36ba763125dca5
[ "MIT" ]
null
null
null
examples/hello_world.py
KolosDan/tgmsg
1e735afe999f88e09fe9801e9c36ba763125dca5
[ "MIT" ]
1
2022-01-25T12:57:26.000Z
2022-01-25T12:57:26.000Z
from flask import Flask, request from tgmsg import TelegramClient, messages app = Flask(__name__) client = TelegramClient('<YOUR_TOKEN>')
22.842105
54
0.74424
152f9a962b09494ed52835d05d33e015173b9956
251
py
Python
2018/day1p2.py
JonSn0w/advent-of-code
f62636ef975dd89d788cba66578d16e07b70d7e9
[ "MIT" ]
1
2018-12-01T04:39:21.000Z
2018-12-01T04:39:21.000Z
2018/day1p2.py
JonSn0w/advent-of-code
f62636ef975dd89d788cba66578d16e07b70d7e9
[ "MIT" ]
null
null
null
2018/day1p2.py
JonSn0w/advent-of-code
f62636ef975dd89d788cba66578d16e07b70d7e9
[ "MIT" ]
2
2020-12-06T16:49:58.000Z
2021-02-05T17:55:21.000Z
import sys inp = [int(i) for i in sys.stdin.readlines()] total = 0 vals = set() while True: for i in inp: vals.add(total) total += i if total in vals: print(total) sys.exit() vals.add(total)
19.307692
45
0.517928
15306021f9e192c548938130dbf2bfd5bfd5db1e
3,334
py
Python
library-management-system/AddBook.py
UltiRequiem/python-proyects-for-intermediates
d4a5256752caa434f2f292b55f6949606aa70620
[ "MIT" ]
6
2021-06-17T17:13:54.000Z
2022-03-22T13:06:00.000Z
library-management-system/AddBook.py
talexandrakis/python-projects-for-intermediates
d4a5256752caa434f2f292b55f6949606aa70620
[ "MIT" ]
null
null
null
library-management-system/AddBook.py
talexandrakis/python-projects-for-intermediates
d4a5256752caa434f2f292b55f6949606aa70620
[ "MIT" ]
5
2021-06-17T17:13:55.000Z
2022-03-24T11:27:20.000Z
from tkinter import * from PIL import ImageTk, Image from tkinter import messagebox import pymysql
28.254237
90
0.597481
153090c054c803c5894f9af75f4340207e440ae6
7,506
py
Python
benchmarking/QuanTest2/adjust_msa_to_quantest2.py
KatyBrown/CIAlign
364da94fdbd90e8b31487897ec2c150f4a6300a2
[ "MIT" ]
60
2019-09-09T16:44:14.000Z
2022-03-26T12:04:17.000Z
benchmarking/QuanTest2/adjust_msa_to_quantest2.py
KatyBrown/CIAlign
364da94fdbd90e8b31487897ec2c150f4a6300a2
[ "MIT" ]
16
2020-05-12T20:17:30.000Z
2022-03-15T16:01:41.000Z
benchmarking/QuanTest2/adjust_msa_to_quantest2.py
KatyBrown/CIAlign
364da94fdbd90e8b31487897ec2c150f4a6300a2
[ "MIT" ]
3
2020-03-28T11:20:02.000Z
2022-01-22T07:16:58.000Z
#!/usr/bin/env python3 import numpy as np import copy import itertools import sys import ete3 import numpy as np from Bio import AlignIO # import CIAlign.cropSeq as cropSeq # from AlignmentStats import find_removed_cialign def writeOutfile(outfile, arr, nams, rmfile=None): ''' Writes an alignment stored in ...
33.963801
112
0.601386
15396cc16c053555fa0c7b5e16708e389e915d9e
814
py
Python
myapp/app/tests/tests.py
clozinski/grok.install
d15f3aed6b422865c690c2787ad3811e73c7f1e9
[ "ZPL-2.1" ]
1
2016-03-24T20:03:19.000Z
2016-03-24T20:03:19.000Z
myapp/app/tests/tests.py
clozinski/grok.install
d15f3aed6b422865c690c2787ad3811e73c7f1e9
[ "ZPL-2.1" ]
null
null
null
myapp/app/tests/tests.py
clozinski/grok.install
d15f3aed6b422865c690c2787ad3811e73c7f1e9
[ "ZPL-2.1" ]
null
null
null
# The tests in test_app.py are picked up by zope.testrunner. # When decorating a unittest.TestCase or doctest with a layer, the layer is # used to group tests and execute setup and teardown of the grok environment # for the test to run in. import unittest import doctest from zope.fanstatic.testing import ZopeFanstat...
28.068966
77
0.727273
153b36c3ab1564adaec52e59c3f3bdda7d0a41bf
1,091
py
Python
resources/libraries/python/TLDK/TLDKConstants.py
preym17/csit
3151c98618c78e3782e48bbe4d9c8f906c126f69
[ "Apache-2.0" ]
null
null
null
resources/libraries/python/TLDK/TLDKConstants.py
preym17/csit
3151c98618c78e3782e48bbe4d9c8f906c126f69
[ "Apache-2.0" ]
null
null
null
resources/libraries/python/TLDK/TLDKConstants.py
preym17/csit
3151c98618c78e3782e48bbe4d9c8f906c126f69
[ "Apache-2.0" ]
null
null
null
# Copyright (c) 2017 Cisco and/or its affiliates. # 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 ag...
34.09375
74
0.740605
153bc4e6bb32d6b5175c608bdd91ccb925665630
211
py
Python
feedback/forms.py
davidavi1/ecosystem1
51033968e1548a08625fb42aa6e98017dc91ed65
[ "Unlicense" ]
null
null
null
feedback/forms.py
davidavi1/ecosystem1
51033968e1548a08625fb42aa6e98017dc91ed65
[ "Unlicense" ]
null
null
null
feedback/forms.py
davidavi1/ecosystem1
51033968e1548a08625fb42aa6e98017dc91ed65
[ "Unlicense" ]
null
null
null
from django import forms from .models import FeedBackModel
23.444444
58
0.658768
153cd59d86c4763f2490a9297938fae810130176
554
py
Python
GGDBFetch/ggdbfetch/clusters.py
pdhsulab/GeneGraphDB
f2754a596d08680f7f0b092391653d9dbf477ddd
[ "MIT" ]
6
2021-08-28T07:03:07.000Z
2022-02-22T03:34:11.000Z
GGDBFetch/ggdbfetch/clusters.py
pdhsulab/GeneGraphDB
f2754a596d08680f7f0b092391653d9dbf477ddd
[ "MIT" ]
null
null
null
GGDBFetch/ggdbfetch/clusters.py
pdhsulab/GeneGraphDB
f2754a596d08680f7f0b092391653d9dbf477ddd
[ "MIT" ]
null
null
null
from ggdbfetch import CLUSTERS_DB from os.path import join import sqlite3
21.307692
71
0.644404
153cf4b25e9b23c4f2cea4bd6c1ab17737f012dc
440
py
Python
vlc_helper/scripts/myvlc.py
kenjyco/vlc-helper
2bb24da9c7ee78ba34bb496e701c0c385cf3215d
[ "MIT" ]
null
null
null
vlc_helper/scripts/myvlc.py
kenjyco/vlc-helper
2bb24da9c7ee78ba34bb496e701c0c385cf3215d
[ "MIT" ]
null
null
null
vlc_helper/scripts/myvlc.py
kenjyco/vlc-helper
2bb24da9c7ee78ba34bb496e701c0c385cf3215d
[ "MIT" ]
null
null
null
import click from vlc_helper import vlcstart_precise if __name__ == '__main__': main()
25.882353
78
0.713636
153d7fb61c38c41553a4e473fb3e5c0de21d4d4c
2,184
py
Python
app/tests/test_parser_cve_json.py
stanleyshuang/cvedata
b90afb3e4f90a4ed24d93bd044181c836b4d3747
[ "Apache-2.0" ]
null
null
null
app/tests/test_parser_cve_json.py
stanleyshuang/cvedata
b90afb3e4f90a4ed24d93bd044181c836b4d3747
[ "Apache-2.0" ]
null
null
null
app/tests/test_parser_cve_json.py
stanleyshuang/cvedata
b90afb3e4f90a4ed24d93bd044181c836b4d3747
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # # Author: Stanley Huang # Project: crawler 1.0 # Date: 2021-07-10 # import unittest from pkg.util.parser_cve_json import is_cve_json_filename from pkg.util.parser_cve_json import extract_cveid from pkg.util.parser_cve_json import splitcveid
33.6
148
0.681777
153d87e711b2229f4d6b50d986f38e678169f1ca
2,423
py
Python
comsyl/utils/Logger.py
s-sajid-ali/comsyl
f2a5d984b1e870d203a9152bbeca804c4304850e
[ "MIT" ]
2
2020-07-22T06:50:55.000Z
2021-01-10T05:26:59.000Z
comsyl/utils/Logger.py
s-sajid-ali/comsyl
f2a5d984b1e870d203a9152bbeca804c4304850e
[ "MIT" ]
1
2017-07-06T09:55:30.000Z
2017-07-06T09:55:30.000Z
comsyl/utils/Logger.py
s-sajid-ali/comsyl
f2a5d984b1e870d203a9152bbeca804c4304850e
[ "MIT" ]
4
2019-12-09T18:27:36.000Z
2021-01-10T05:27:03.000Z
# coding: utf-8 # /*########################################################################## # # Copyright (c) 2017 European Synchrotron Radiation Facility # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal #...
30.2875
79
0.651671
153ea0cd0fca2d8fa8bd97daea2e02c395386192
3,097
py
Python
cea/plots/optimization/pareto_capacity_installed.py
pajotca/CityEnergyAnalyst
f3d0a08f7b5f5967961bf831625544a95c7702f0
[ "MIT" ]
1
2018-08-16T14:34:23.000Z
2018-08-16T14:34:23.000Z
cea/plots/optimization/pareto_capacity_installed.py
pajotca/CityEnergyAnalyst
f3d0a08f7b5f5967961bf831625544a95c7702f0
[ "MIT" ]
null
null
null
cea/plots/optimization/pareto_capacity_installed.py
pajotca/CityEnergyAnalyst
f3d0a08f7b5f5967961bf831625544a95c7702f0
[ "MIT" ]
null
null
null
from __future__ import division from __future__ import print_function import plotly.graph_objs as go from plotly.offline import plot from cea.plots.variable_naming import LOGO, COLOR, NAMING
37.313253
108
0.674847
153f30bd1a5b9177b014783ea389e0b69e7b8629
2,697
py
Python
app/funcoes/funcoes.py
jaddmn/utilitarios-para-fundacoes-profundas
749aea0fef6de62d1f18492a47697823ae014ac0
[ "MIT" ]
null
null
null
app/funcoes/funcoes.py
jaddmn/utilitarios-para-fundacoes-profundas
749aea0fef6de62d1f18492a47697823ae014ac0
[ "MIT" ]
null
null
null
app/funcoes/funcoes.py
jaddmn/utilitarios-para-fundacoes-profundas
749aea0fef6de62d1f18492a47697823ae014ac0
[ "MIT" ]
null
null
null
import matplotlib import numpy as np import pandas as pd from funcoes.dados import mse from PyQt5.QtCore import QObject, QAbstractTableModel, Qt from PyQt5.QtWidgets import QTableView
30.303371
77
0.581016
15419d6634317b0ce05e53971b6809c604efece1
602
py
Python
supply_maker/src/model/card_set/candidates.py
LouiS0616/DominionSupplyMaker
0317895699530b81bc183151add6b058e12ea59a
[ "MIT" ]
null
null
null
supply_maker/src/model/card_set/candidates.py
LouiS0616/DominionSupplyMaker
0317895699530b81bc183151add6b058e12ea59a
[ "MIT" ]
null
null
null
supply_maker/src/model/card_set/candidates.py
LouiS0616/DominionSupplyMaker
0317895699530b81bc183151add6b058e12ea59a
[ "MIT" ]
null
null
null
from typing import TYPE_CHECKING from ._card_set import CardSet if TYPE_CHECKING: from supply_maker.src.model.constraint.slimmer import CandidateSlimmer
25.083333
74
0.700997
15490b60277a7c730f8645e422f923f1829b2b19
10,150
py
Python
tests/nea/test_nea.py
jonheng/sgnlp
aeee85b78de2e449ca1dc6b18686a060cb938d07
[ "MIT" ]
null
null
null
tests/nea/test_nea.py
jonheng/sgnlp
aeee85b78de2e449ca1dc6b18686a060cb938d07
[ "MIT" ]
null
null
null
tests/nea/test_nea.py
jonheng/sgnlp
aeee85b78de2e449ca1dc6b18686a060cb938d07
[ "MIT" ]
null
null
null
import unittest import pathlib import shutil import pytest import torch from transformers import PretrainedConfig from sgnlp.models.nea import ( NEAConfig, NEARegPoolingModel, NEARegModel, NEABiRegModel, NEABiRegPoolingModel, NEATokenizer, ) PARENT_DIR = pathlib.Path(__file__).parent
41.769547
81
0.687685
154a9e70a266f50b1038b0748d33bec44ab61d60
25,720
py
Python
arelle/Locale.py
DataFinnovation/Arelle
d4bf45f56fc9249f75ab22e6217dbe55f0510841
[ "Apache-2.0" ]
1
2021-10-05T10:48:30.000Z
2021-10-05T10:48:30.000Z
arelle/Locale.py
DataFinnovation/Arelle
d4bf45f56fc9249f75ab22e6217dbe55f0510841
[ "Apache-2.0" ]
3
2021-01-07T23:36:40.000Z
2021-12-13T20:43:27.000Z
arelle/Locale.py
DataFinnovation/Arelle
d4bf45f56fc9249f75ab22e6217dbe55f0510841
[ "Apache-2.0" ]
2
2020-02-24T16:06:12.000Z
2021-02-24T00:21:32.000Z
''' Created on Jan 26, 2011 This module is a local copy of python locale in order to allow passing in localconv as an argument to functions without affecting system-wide settings. (The system settings can remain in 'C' locale.) @author: Mark V Systems Limited (incorporating python locale module code) (original pytho...
37.879234
153
0.547978
154b9d15193c940131ff334d9b2981b990d3c08e
494
py
Python
examples/quickhowto2/app/forms.py
ezeev/Flask-AppBuilder
d95f0ed934272629ee44ad3241646fa7ba09cdf8
[ "BSD-3-Clause" ]
71
2016-11-02T06:45:42.000Z
2021-11-15T12:33:48.000Z
examples/quickhowto2/app/forms.py
ezeev/Flask-AppBuilder
d95f0ed934272629ee44ad3241646fa7ba09cdf8
[ "BSD-3-Clause" ]
3
2021-06-08T23:39:54.000Z
2022-03-12T00:50:13.000Z
examples/quickhowto2/app/forms.py
ezeev/Flask-AppBuilder
d95f0ed934272629ee44ad3241646fa7ba09cdf8
[ "BSD-3-Clause" ]
23
2016-11-02T06:45:44.000Z
2022-02-08T14:55:13.000Z
from wtforms import StringField from flask_babel import lazy_gettext from wtforms.validators import DataRequired from flask_appbuilder.fieldwidgets import BS3TextFieldWidget from flask_appbuilder.forms import DynamicForm
44.909091
120
0.825911
154c843dd17632fcefac0372be34ba84d9784528
2,408
py
Python
doc/examples/scripts/nucleotide_contacts.py
biotite-dev/bioview
7466900d6d659cb9d69a481870f68136a23cacb2
[ "BSD-3-Clause" ]
5
2020-09-16T12:03:05.000Z
2022-02-03T04:00:49.000Z
doc/examples/scripts/nucleotide_contacts.py
biotite-dev/bioview
7466900d6d659cb9d69a481870f68136a23cacb2
[ "BSD-3-Clause" ]
1
2022-03-12T19:41:48.000Z
2022-03-13T11:06:47.000Z
doc/examples/scripts/nucleotide_contacts.py
biotite-dev/bioview
7466900d6d659cb9d69a481870f68136a23cacb2
[ "BSD-3-Clause" ]
2
2021-02-14T12:34:21.000Z
2022-03-12T16:33:07.000Z
""" Contacts between nucleotides in a tetracycline aptamer ====================================================== This example reproduces a figure from the publication *"StreAM-Tg: algorithms for analyzing coarse grained RNA dynamics based on Markov models of connectivity-graphs"* [1]_. The figure displays a coarse g...
30.871795
75
0.695598
154d09606ec616beb00faaf7db8125c5e3779fb0
16,751
py
Python
xfl2svg/shape/edge.py
PluieElectrique/xfl2svg
62e983fdbeea7d39d06f01c12b88fab0e97a619d
[ "MIT" ]
null
null
null
xfl2svg/shape/edge.py
PluieElectrique/xfl2svg
62e983fdbeea7d39d06f01c12b88fab0e97a619d
[ "MIT" ]
null
null
null
xfl2svg/shape/edge.py
PluieElectrique/xfl2svg
62e983fdbeea7d39d06f01c12b88fab0e97a619d
[ "MIT" ]
null
null
null
"""Convert XFL edges to SVG paths. If you just want to convert, use `xfl_edge_to_svg_path()`. If you're interested in how everything works, read on. """ # Read these links first, as there is no official documentation for the XFL # edge format: # # * https://github.com/SasQ/SavageFlask/blob/master/doc/FLA.txt # * ...
39.97852
88
0.620202
154d6644f9dfcb6e7fb54f2e51f019cbe2408220
5,163
py
Python
src/main/python/article_statistics.py
utcompling/fieldspring
a8425085188fb8f4dc06ccdcdeb2682a172cd680
[ "Apache-2.0" ]
14
2015-03-25T16:20:42.000Z
2021-02-16T19:14:40.000Z
src/main/python/article_statistics.py
utcompling/fieldspring
a8425085188fb8f4dc06ccdcdeb2682a172cd680
[ "Apache-2.0" ]
null
null
null
src/main/python/article_statistics.py
utcompling/fieldspring
a8425085188fb8f4dc06ccdcdeb2682a172cd680
[ "Apache-2.0" ]
2
2015-03-25T16:21:20.000Z
2016-04-09T11:35:38.000Z
#!/usr/bin/env python ####### ####### article_statistics.py ####### ####### Copyright (c) 2010 Ben Wing. ####### # Counts and outputs various statistics about the articles in the # article-data file. from nlputil import * import process_article_data as pad ######################## Statistics about articles Stats_s...
34.651007
116
0.680612
155074a3ccef54a4d20221e50f3372b850c3fcd9
1,508
py
Python
popdata_sources/barbieri2012/process.py
ryanraaum/african-mtdna
c2d210cd16708396f08bad0266ba815285b386d2
[ "CC0-1.0" ]
null
null
null
popdata_sources/barbieri2012/process.py
ryanraaum/african-mtdna
c2d210cd16708396f08bad0266ba815285b386d2
[ "CC0-1.0" ]
null
null
null
popdata_sources/barbieri2012/process.py
ryanraaum/african-mtdna
c2d210cd16708396f08bad0266ba815285b386d2
[ "CC0-1.0" ]
null
null
null
from oldowan.mtconvert import seq2sites, sites2seq, str2sites from oldowan.fasta import fasta from string import translate import pandas as pd import sys import re sys.path.append('../../scripts') from utils import * ## load metadata metadata = pd.read_csv('metadata.csv', index_col=0) region = range2region(metadata.i...
24.721311
65
0.662467
155085da3a095fac77bdf23ba97f9817c0906c08
200
py
Python
__init__.py
traits/dynamic_plot
666f4dd78de590b6f126429fa217ce401c45f0a3
[ "MIT" ]
null
null
null
__init__.py
traits/dynamic_plot
666f4dd78de590b6f126429fa217ce401c45f0a3
[ "MIT" ]
null
null
null
__init__.py
traits/dynamic_plot
666f4dd78de590b6f126429fa217ce401c45f0a3
[ "MIT" ]
null
null
null
import sys if sys.version_info[0] >= 3 and sys.version_info[1] >= 6: pass else: raise Exception("dynamic_plot: Python 3.6 or a more recent version is required.") from .dynamic_plot import *
22.222222
85
0.71
1550e4fef1bc8f14bdacb2543744b33dbe31953d
5,531
py
Python
engine.py
Tenvence/polar-inst
95b2ef2fbc666469b031367e6aeb471d0465c272
[ "Apache-2.0" ]
null
null
null
engine.py
Tenvence/polar-inst
95b2ef2fbc666469b031367e6aeb471d0465c272
[ "Apache-2.0" ]
null
null
null
engine.py
Tenvence/polar-inst
95b2ef2fbc666469b031367e6aeb471d0465c272
[ "Apache-2.0" ]
null
null
null
import torch import torch.nn.utils import torch.cuda.amp as amp import torchvision.ops as cv_ops import utils.bbox_ops as bbox_ops
48.095652
175
0.685048
1551d427c2e1fdc853a1df3c8ff47f46979e93c7
182
py
Python
unobase/support/admin.py
unomena/unobase
175e768afa1608f9f34d1e5a053763ad27db0f7e
[ "BSD-3-Clause" ]
null
null
null
unobase/support/admin.py
unomena/unobase
175e768afa1608f9f34d1e5a053763ad27db0f7e
[ "BSD-3-Clause" ]
null
null
null
unobase/support/admin.py
unomena/unobase
175e768afa1608f9f34d1e5a053763ad27db0f7e
[ "BSD-3-Clause" ]
null
null
null
from unobase.support import models __author__ = 'michael' from django.contrib import admin admin.site.register(models.Case) admin.site.register(models.FrequentlyAskedQuestion)
22.75
51
0.813187
155214b03e862eb962e281f8f29ee276216f9d0b
5,209
py
Python
src/svgParsing/parse_rules.py
lmbaker/crows
325472dcc8fe838ab73afad86183de9d3c57f670
[ "MIT" ]
null
null
null
src/svgParsing/parse_rules.py
lmbaker/crows
325472dcc8fe838ab73afad86183de9d3c57f670
[ "MIT" ]
null
null
null
src/svgParsing/parse_rules.py
lmbaker/crows
325472dcc8fe838ab73afad86183de9d3c57f670
[ "MIT" ]
null
null
null
import re from svgParsing.formatted_text import merge_pages, svg_to_text, FormattedText from svgParsing.table_names import tables_to_remove # A function to parse the rules from SVG files (one per page). def generate_srd_articles(): ''' Parse the svg files created from the SRD, into a dictionary of articles. ...
42.696721
151
0.63851
155267b5c05e505a351d0b16cef50e7a25a8a341
1,409
py
Python
HeapSort.py
DatHydroGuy/SortVis
14e539431ed3152b883a9f321c8c166e37b3d513
[ "MIT" ]
null
null
null
HeapSort.py
DatHydroGuy/SortVis
14e539431ed3152b883a9f321c8c166e37b3d513
[ "MIT" ]
null
null
null
HeapSort.py
DatHydroGuy/SortVis
14e539431ed3152b883a9f321c8c166e37b3d513
[ "MIT" ]
null
null
null
from SortBase import SortBase
29.978723
78
0.535841
15541f23e7b78630abaee8289722386177ce7098
1,397
py
Python
stimuli/video_renderer.py
DrugowitschLab/motion-structure-identification
908f084b36c7387daf0cbfe75f16bab70cf96db9
[ "MIT" ]
null
null
null
stimuli/video_renderer.py
DrugowitschLab/motion-structure-identification
908f084b36c7387daf0cbfe75f16bab70cf96db9
[ "MIT" ]
null
null
null
stimuli/video_renderer.py
DrugowitschLab/motion-structure-identification
908f084b36c7387daf0cbfe75f16bab70cf96db9
[ "MIT" ]
null
null
null
from stimuli.motion import Motion from stimuli.motion_structure import MotionStructure import matplotlib as mpl import matplotlib.animation as animation import matplotlib.pyplot as plt from config import fps, ExperimentConfig, DisplayConfig presets = { 'IND': MotionStructure(1, ExperimentConfig._T), 'GLO': Mo...
36.763158
88
0.740873
1554b058513e4973141146c741f02d6ba7f67d90
680
py
Python
scripts/network-activity.py
games647/ElectroBoard
0cf3f0e9afd66b76b4096fa79d20e0d5cfc14664
[ "Unlicense" ]
5
2016-09-07T14:36:54.000Z
2018-10-31T22:33:58.000Z
scripts/network-activity.py
games647/ElectroBoard
0cf3f0e9afd66b76b4096fa79d20e0d5cfc14664
[ "Unlicense" ]
null
null
null
scripts/network-activity.py
games647/ElectroBoard
0cf3f0e9afd66b76b4096fa79d20e0d5cfc14664
[ "Unlicense" ]
null
null
null
#!/usr/bin/python3 from pysimplesoap.client import SoapClient # Install the above dependency with "pip install pysimplesoap" location = 'http://fritz.box:49000/igdupnp/control/WANCommonIFC1' namespace = 'urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1' action = 'urn:schemas-upnp-org:service:WANCommonInterface...
37.777778
76
0.822059
15553d372f67c534733125bf66f361315552a6de
691
py
Python
linked-list/palindrome.py
kolodach/python-algostructs
569bb7499dd9aa595a5728b2e9dc5941e80b6ab2
[ "MIT" ]
null
null
null
linked-list/palindrome.py
kolodach/python-algostructs
569bb7499dd9aa595a5728b2e9dc5941e80b6ab2
[ "MIT" ]
4
2020-10-09T07:24:20.000Z
2020-10-11T18:15:51.000Z
linked-list/palindrome.py
kolodach/python-algostructs
569bb7499dd9aa595a5728b2e9dc5941e80b6ab2
[ "MIT" ]
null
null
null
'''Palindrome Implement a function to check if a linked list is a palindrome. ''' from linkedlist import LinkedList def is_palindrome(linkedlist: LinkedList) -> bool: '''Determines whether list is a palindrome. Args: linkedlist: List to check Returns: True if the list is a palindrome and Fal...
26.576923
74
0.654124
15557b0acfa632452741f9b804e97b7b1326c532
497
py
Python
python/iterables-and-iterators/sol.py
natebwangsut/hackerrank
548daf5d8e976031f839fba384755536a4d92869
[ "MIT" ]
null
null
null
python/iterables-and-iterators/sol.py
natebwangsut/hackerrank
548daf5d8e976031f839fba384755536a4d92869
[ "MIT" ]
null
null
null
python/iterables-and-iterators/sol.py
natebwangsut/hackerrank
548daf5d8e976031f839fba384755536a4d92869
[ "MIT" ]
null
null
null
#!/usr/bin/env python """ Hackerrank Solution - Nate B. Wangsutthitham <@natebwangsut | nate.bwangsut@gmail.com> """ __author__ = "Nate B. Wangsutthitham" __credits__ = ["Nate B. Wangsutthitham"] __license__ = "MIT" __version__ = "1.0.0" __maintainer__ = "Nate B. Wangsutthitham" __email__ = "nate.bwangsut@gmail.com" ...
19.115385
48
0.704225
1557207e8168d0306d5ac92498b482aa2239f9dd
3,938
py
Python
BinanceAsyncWebsocket/BinanceFapiAsyncWs.py
monk-after-90s/BinanceAsyncWebsocket
62e612a2afb641d0013396eff9cea706e9875d60
[ "MIT" ]
1
2022-01-23T13:07:24.000Z
2022-01-23T13:07:24.000Z
BinanceAsyncWebsocket/BinanceFapiAsyncWs.py
monk-after-90s/BinanceAsyncWebsocket
62e612a2afb641d0013396eff9cea706e9875d60
[ "MIT" ]
null
null
null
BinanceAsyncWebsocket/BinanceFapiAsyncWs.py
monk-after-90s/BinanceAsyncWebsocket
62e612a2afb641d0013396eff9cea706e9875d60
[ "MIT" ]
null
null
null
import json import aiohttp from AsyncWebsocketStreamInterface import AsyncWebsocketStreamInterface import websockets from loguru import logger if __name__ == '__main__': import signal import asyncio """ 2 SIGINT CTRL+C 9 SIGKILL 15 SIGTEM ...
30.527132
118
0.623921
1558f878e6d53f74f8dea1a8a029e87ceea27170
774
py
Python
app/exception.py
hggffhhfg/project_clever
fe0f954765c8570f504b6b92430333eef0658fc9
[ "MIT" ]
null
null
null
app/exception.py
hggffhhfg/project_clever
fe0f954765c8570f504b6b92430333eef0658fc9
[ "MIT" ]
null
null
null
app/exception.py
hggffhhfg/project_clever
fe0f954765c8570f504b6b92430333eef0658fc9
[ "MIT" ]
null
null
null
Errors = { 'add': ' ', 'update': ' ', 'value': ' ', 'syntax': ' ', 'type': ' ', 'database': ' ', 'file': ' ', 'import': ' ', 'other': ' ' }
33.652174
93
0.710594
155c943d731c9fffb4028721fc8f1209e9ca0e8b
354
py
Python
Operation/Sub.py
janvi16/-HACKTOBERFEST2K20
aa9c8b6f7feb245793c0a003ba6fbea3fca9ca22
[ "Apache-2.0" ]
null
null
null
Operation/Sub.py
janvi16/-HACKTOBERFEST2K20
aa9c8b6f7feb245793c0a003ba6fbea3fca9ca22
[ "Apache-2.0" ]
null
null
null
Operation/Sub.py
janvi16/-HACKTOBERFEST2K20
aa9c8b6f7feb245793c0a003ba6fbea3fca9ca22
[ "Apache-2.0" ]
null
null
null
#python program to subtract two numbers using function num1=int(input("please enter first number: "))#input from user to num1 num2=int(input("please enter second number: "))#input from user to num2 print("Subtraction is: ",subtraction(num1,num2))#call the function
35.4
71
0.754237
155db2774fcc01b3f5cf921b0001ee17ef81286e
681
py
Python
workplanner/fields.py
pavelmaksimov/work-planner
e6659e7e00520d32b8bc622909990ba3522046da
[ "Apache-2.0" ]
null
null
null
workplanner/fields.py
pavelmaksimov/work-planner
e6659e7e00520d32b8bc622909990ba3522046da
[ "Apache-2.0" ]
null
null
null
workplanner/fields.py
pavelmaksimov/work-planner
e6659e7e00520d32b8bc622909990ba3522046da
[ "Apache-2.0" ]
null
null
null
from typing import Optional import peewee import pendulum from workplanner.utils import normalize_datetime, strftime_utc
26.192308
76
0.666667
155f5d6fdc9986ef1c6d5d459061790335cd6046
993
py
Python
wagtail_to_ion/templatetags/content_type_description.py
anfema/wagtail_to_ion
2c042d220f4421f8a277c4bfcbdd65f89d76f4c7
[ "MIT" ]
1
2022-02-22T08:13:16.000Z
2022-02-22T08:13:16.000Z
wagtail_to_ion/templatetags/content_type_description.py
anfema/wagtail_to_ion
2c042d220f4421f8a277c4bfcbdd65f89d76f4c7
[ "MIT" ]
33
2020-11-05T10:30:27.000Z
2022-03-11T12:23:25.000Z
wagtail_to_ion/templatetags/content_type_description.py
anfema/wagtail_to_ion
2c042d220f4421f8a277c4bfcbdd65f89d76f4c7
[ "MIT" ]
null
null
null
from collections import namedtuple from django import template from wagtail_to_ion.models import get_ion_content_type_description_model register = template.Library()
34.241379
130
0.787513
155fa320fe0eefbe4908f7951d9309401d5bfeaa
14,082
py
Python
plugin.video.HaydarGames/default.py
thehtml5ninja/kodi
b5f5154d78bd0742b7fb7488bd3a39c764b16861
[ "Apache-2.0" ]
null
null
null
plugin.video.HaydarGames/default.py
thehtml5ninja/kodi
b5f5154d78bd0742b7fb7488bd3a39c764b16861
[ "Apache-2.0" ]
null
null
null
plugin.video.HaydarGames/default.py
thehtml5ninja/kodi
b5f5154d78bd0742b7fb7488bd3a39c764b16861
[ "Apache-2.0" ]
null
null
null
#Youtube channels # # # # # #Husham Memar import re import os import sys import urllib2 import buggalo import xbmcgui import xbmcaddon import xbmcplugin BASE_URL = 'http://www.husham.com/?p=11081' PLAY_VIDEO_PATH = 'plugin://plugin.video.youtube/?action=play_video&videoid=%s' PLAYLIST_PATH = 'plugin://plugin.video.you...
71.482234
158
0.632084
1561aa03dbe771d5034e94f0d6d20984e6bcc7cc
480
py
Python
src/ukw_intelli_store/__init__.py
Maddonix/ukw-intelli-store
a6ba088e70d5ee2e9499a9c72477833dfccafb0b
[ "MIT" ]
null
null
null
src/ukw_intelli_store/__init__.py
Maddonix/ukw-intelli-store
a6ba088e70d5ee2e9499a9c72477833dfccafb0b
[ "MIT" ]
null
null
null
src/ukw_intelli_store/__init__.py
Maddonix/ukw-intelli-store
a6ba088e70d5ee2e9499a9c72477833dfccafb0b
[ "MIT" ]
null
null
null
''' Package to read and process material export data. To use, initiate an endomaterial object and start exploring! --------- Examples: ## Init from ukw_intelli_store import EndoMaterial em = EndoMaterial(path, path) ## To explore all used materials: em.mat_info ## To explore specific material id em.get_mat_info_f...
16
60
0.7375
156288a451582d6ebe7d80707d938db0496c9374
24,896
py
Python
parameter.py
tgillet1/PASTA
454d7b4595d9ed28ae40c8629d33d7403c579020
[ "MIT" ]
null
null
null
parameter.py
tgillet1/PASTA
454d7b4595d9ed28ae40c8629d33d7403c579020
[ "MIT" ]
null
null
null
parameter.py
tgillet1/PASTA
454d7b4595d9ed28ae40c8629d33d7403c579020
[ "MIT" ]
1
2021-09-28T12:11:30.000Z
2021-09-28T12:11:30.000Z
import argparse import platform import os.path from Bio.SubsMat import MatrixInfo from Bio import SeqIO from sequence import NeuriteSequence import sequence from random import shuffle # Validates user-provided command-line arguments relative to sequence alignment # Helper-class to parse input arguments # Validates u...
45.680734
280
0.612669
1563dbafae83ddb8b923f51711ee6a19bcbb9c71
3,477
py
Python
rosidl_runtime_py/utilities.py
fujitatomoya/rosidl_runtime_py
f1bfe509c457e4693f8c1e85a5cecdd8483bd7d2
[ "Apache-2.0" ]
3
2019-09-19T17:58:06.000Z
2022-03-07T15:47:20.000Z
rosidl_runtime_py/utilities.py
fujitatomoya/rosidl_runtime_py
f1bfe509c457e4693f8c1e85a5cecdd8483bd7d2
[ "Apache-2.0" ]
12
2019-09-19T17:57:56.000Z
2022-03-15T21:48:33.000Z
rosidl_runtime_py/utilities.py
fujitatomoya/rosidl_runtime_py
f1bfe509c457e4693f8c1e85a5cecdd8483bd7d2
[ "Apache-2.0" ]
10
2019-10-21T20:47:42.000Z
2022-03-29T15:01:34.000Z
# Copyright 2019 Open Source Robotics Foundation, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law...
36.21875
92
0.741156
156605f988cf64194142750c94c848f0887cf602
1,199
py
Python
weibospider/WeiboCookies.py
cirlmcesc/weibo-userdata-crawler
e6bb2740a31701a7c2bda931f6714f105951328d
[ "MIT" ]
3
2018-01-16T07:33:50.000Z
2018-01-21T05:30:43.000Z
weibospider/WeiboCookies.py
cirlmcesc/weibo-userdata-spider
e6bb2740a31701a7c2bda931f6714f105951328d
[ "MIT" ]
null
null
null
weibospider/WeiboCookies.py
cirlmcesc/weibo-userdata-spider
e6bb2740a31701a7c2bda931f6714f105951328d
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ weibo login """ import json import os import logging import requests from weibospider.WeiboAccounts import accounts logger = logging.getLogger(__name__) def getCookies(username, password): """ """ def getAllAccountsCookies(rconn): """ cookiesreids """ for account in accou...
27.883721
108
0.664721
156821be7ed14dd901dce4ac81ab7755213aa310
165
py
Python
electricitylci/canadian_imports.py
gschivley/ElectricityLCI
1c1c1b69705d3ffab1e1e844aaf7379e4f51198e
[ "CC0-1.0" ]
1
2019-04-15T18:11:16.000Z
2019-04-15T18:11:16.000Z
electricitylci/canadian_imports.py
gschivley/ElectricityLCI
1c1c1b69705d3ffab1e1e844aaf7379e4f51198e
[ "CC0-1.0" ]
3
2019-05-07T19:04:22.000Z
2019-09-30T21:29:59.000Z
electricitylci/canadian_imports.py
gschivley/ElectricityLCI
1c1c1b69705d3ffab1e1e844aaf7379e4f51198e
[ "CC0-1.0" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Wed Feb 20 15:10:09 2019 @author: cooneyg """ import pandas as pd ca_tech_mix = pd.read_csv('data/canadian_imports.csv')
12.692308
54
0.666667
1568880808ca2cee59188d8ba9ce6ba5e0e7fbf9
1,587
py
Python
test/test_XMLtoJSON.py
unification-com/haiku-node-prototype
ea77aa90f6b3f08d004be1c24e6b8d62e83bc66b
[ "MIT" ]
3
2018-06-15T18:02:05.000Z
2018-07-06T02:32:18.000Z
test/test_XMLtoJSON.py
unification-com/haiku-node-prototype
ea77aa90f6b3f08d004be1c24e6b8d62e83bc66b
[ "MIT" ]
4
2018-08-17T06:51:34.000Z
2018-08-17T08:39:24.000Z
test/test_XMLtoJSON.py
unification-com/haiku-node-prototype
ea77aa90f6b3f08d004be1c24e6b8d62e83bc66b
[ "MIT" ]
null
null
null
import json import pytest import xmljson from lxml.etree import fromstring schema_1 = "<schema-template><fields><field><name>account_name</name><type>varchar</type><is-null>false</is-null><table>unification_lookup</table></field><field><name>Heartrate</name><type>int</type><is-null>true</is-null><table>data_1</table...
79.35
576
0.733459
156974bee2f1222ae03c71fb0762fd715537c66c
216
py
Python
src/pyrin/cli/core/template/__init__.py
wilsonGmn/pyrin
25dbe3ce17e80a43eee7cfc7140b4c268a6948e0
[ "BSD-3-Clause" ]
null
null
null
src/pyrin/cli/core/template/__init__.py
wilsonGmn/pyrin
25dbe3ce17e80a43eee7cfc7140b4c268a6948e0
[ "BSD-3-Clause" ]
null
null
null
src/pyrin/cli/core/template/__init__.py
wilsonGmn/pyrin
25dbe3ce17e80a43eee7cfc7140b4c268a6948e0
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- """ cli core template package. """ from pyrin.packaging.base import Package
14.4
40
0.648148
156af09bcf182ae12099b0cddaed1205fee5ccc0
367
py
Python
evaluation/npi-set_2.py
sdlab-naist/Teddy-plus
367aadbb30b80e1680156b88017f9bb2d78c539a
[ "0BSD" ]
null
null
null
evaluation/npi-set_2.py
sdlab-naist/Teddy-plus
367aadbb30b80e1680156b88017f9bb2d78c539a
[ "0BSD" ]
65
2020-01-30T10:58:48.000Z
2020-04-30T03:37:58.000Z
evaluation/npi-set_2.py
MUICT-SERU/SP2019-TEDDY
367aadbb30b80e1680156b88017f9bb2d78c539a
[ "ISC" ]
1
2021-01-15T08:18:23.000Z
2021-01-15T08:18:23.000Z
# Source: https://www.geeksforgeeks.org/sets-in-python/ # Python program to # demonstrate intersection # of two sets set1 = [0,1,2,3,4,5] set2 = [3,4,5,6,7,8,9] set3 = set1 + set2 unique_set3 = [] for i in set3: if i not in unique_set3: unique_set3.append(i) print("Intersection using intersecti...
21.588235
55
0.673025
156b9f30f0dfeefca81a2eedc9cb5062d26dcda5
268
py
Python
ib/ext/cfg/EWrapperMsgGenerator.py
gkatsQT/ibpy
d92fc7b03fc92bde0260adbcb217bac3aae27e2d
[ "BSD-3-Clause" ]
1
2016-11-23T23:55:35.000Z
2016-11-23T23:55:35.000Z
ib/ext/cfg/EWrapperMsgGenerator.py
keven/ibpy
3a96091e1f798d60001c47dc731ffd65c12c0797
[ "BSD-3-Clause" ]
null
null
null
ib/ext/cfg/EWrapperMsgGenerator.py
keven/ibpy
3a96091e1f798d60001c47dc731ffd65c12c0797
[ "BSD-3-Clause" ]
1
2016-07-25T09:22:21.000Z
2016-07-25T09:22:21.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- """ ib.ext.cfg.EWrapperMsgGenerator -> config module for EWrapperMsgGenerator.java. """ modulePreamble = [ 'from ib.ext.AnyWrapperMsgGenerator import AnyWrapperMsgGenerator', 'from ib.ext.Util import Util', ]
26.8
83
0.701493
156d1f27e343f188858a78e726e89f6d5bc303d7
5,578
py
Python
Notebooks/utils/featureSelection_util.py
ferdouszislam/Weather-WaterLevel-Prediction-ML
9ab40b0a6661d3885dc77497048fcb9e7d4b00f6
[ "MIT" ]
null
null
null
Notebooks/utils/featureSelection_util.py
ferdouszislam/Weather-WaterLevel-Prediction-ML
9ab40b0a6661d3885dc77497048fcb9e7d4b00f6
[ "MIT" ]
14
2021-11-07T13:36:51.000Z
2021-12-22T17:16:20.000Z
Notebooks/utils/featureSelection_util.py
ferdouszislam/Weather-Prediction-ML
9ab40b0a6661d3885dc77497048fcb9e7d4b00f6
[ "MIT" ]
1
2022-01-28T14:19:41.000Z
2022-01-28T14:19:41.000Z
import pandas as pd import numpy as np from sklearn.feature_selection import (SelectKBest, SequentialFeatureSelector, f_regression, mutual_info_regression, mutual_info_classif, f_classif) from sklearn.svm import LinearSVC, LinearSVR def pea...
34.645963
141
0.641449
156ebf640409ae77f16602cba4dfad2b843f1f73
553
py
Python
biserici_inlemnite/app/migrations/0020_auto_20210924_1110.py
ck-tm/biserici-inlemnite
c9d12127b92f25d3ab2fcc7b4c386419fe308a4e
[ "MIT" ]
null
null
null
biserici_inlemnite/app/migrations/0020_auto_20210924_1110.py
ck-tm/biserici-inlemnite
c9d12127b92f25d3ab2fcc7b4c386419fe308a4e
[ "MIT" ]
null
null
null
biserici_inlemnite/app/migrations/0020_auto_20210924_1110.py
ck-tm/biserici-inlemnite
c9d12127b92f25d3ab2fcc7b4c386419fe308a4e
[ "MIT" ]
null
null
null
# Generated by Django 3.1.13 on 2021-09-24 08:10 from django.db import migrations, models
24.043478
90
0.60217
156f7d77d17c563b95530ec46f7751f349e4e705
1,315
py
Python
website/tests/test_practical_info.py
laudrup/ebbamaala
1e6bb3dc625e1613e23cbfd69b9cb4336ab9ef13
[ "MIT" ]
null
null
null
website/tests/test_practical_info.py
laudrup/ebbamaala
1e6bb3dc625e1613e23cbfd69b9cb4336ab9ef13
[ "MIT" ]
8
2020-05-22T11:48:52.000Z
2021-11-06T15:34:23.000Z
website/tests/test_practical_info.py
laudrup/ebbamaala
1e6bb3dc625e1613e23cbfd69b9cb4336ab9ef13
[ "MIT" ]
1
2021-08-03T22:42:18.000Z
2021-08-03T22:42:18.000Z
from unittest import mock from urllib.parse import urlencode from django.conf import settings from django.contrib.auth import get_user_model from django.test import TestCase from website.models import PracticalInfo
36.527778
88
0.709506
156fe98d8dd99ea32ed2c8f6927d0a6a2b7def77
1,504
py
Python
ABC253/c/main.py
seigot/atcoder
6c2da684c75b7c5de162de3713a13507aeecce1d
[ "MIT" ]
2
2021-12-28T11:43:47.000Z
2022-02-20T14:41:27.000Z
ABC253/c/main.py
seigot/atcoder
6c2da684c75b7c5de162de3713a13507aeecce1d
[ "MIT" ]
null
null
null
ABC253/c/main.py
seigot/atcoder
6c2da684c75b7c5de162de3713a13507aeecce1d
[ "MIT" ]
null
null
null
from cgi import MiniFieldStorage import sys sys.setrecursionlimit(4100000) import math import itertools import collections INF = float('inf') MINF = -float('inf') from heapq import heapify, heappop, heappush from bisect import bisect, bisect_left, bisect_right MOD = 10 ** 9 + 7 from collections import defaultdict, dequ...
25.931034
78
0.449468
1571341d83cd432e4e2b3f570d8cc5296c59376d
5,401
py
Python
library/templexer.py
K4zuki/tempcommand
ee5c7474975f08e38492f1a98271c2dde9350333
[ "Apache-2.0" ]
null
null
null
library/templexer.py
K4zuki/tempcommand
ee5c7474975f08e38492f1a98271c2dde9350333
[ "Apache-2.0" ]
null
null
null
library/templexer.py
K4zuki/tempcommand
ee5c7474975f08e38492f1a98271c2dde9350333
[ "Apache-2.0" ]
null
null
null
#-*- coding: utf-8 -*- #!/usr/bin/env python # Copyright (c) 2016 Kazuki Yamamoto # # Permission is hereby granted, free of charge, to any person obtaining a copy of # this software and associated documentation files (the "Software"), to deal in the # Software without restriction, including without limitation t...
31.04023
86
0.522681
1571da19bc4e9086da325d4d3863a07e2d919a0a
735
py
Python
tasks/task0014.py
jtprogru/interview-task
13c045c83de1ebcd66431e4f0a7c01b1b043c0db
[ "MIT" ]
3
2022-02-07T17:31:35.000Z
2022-02-15T19:52:29.000Z
tasks/task0014.py
jtprogru/interview-task
13c045c83de1ebcd66431e4f0a7c01b1b043c0db
[ "MIT" ]
2
2022-02-07T15:57:38.000Z
2022-03-01T05:40:49.000Z
tasks/task0014.py
jtprogru/interview-task
13c045c83de1ebcd66431e4f0a7c01b1b043c0db
[ "MIT" ]
null
null
null
""" Given an integer array nums, move all 0's to the end of it while maintaining the relative order of the non-zero elements. Note that you must do this in-place without making a copy of the array. Example 1: Input: nums = [0,1,0,3,12] Output: [1,3,12,0,0] Example 2: Input: nums = [0] Output: [0] Con...
23.709677
76
0.623129
15727598d3535ab4c01841285576554553a6132c
3,161
py
Python
kimsta/migrations/0002_auto_20211208_1726.py
Evan-cell/instagram
630031b7a5887392466a0ba84da95e5bac106f39
[ "Unlicense" ]
null
null
null
kimsta/migrations/0002_auto_20211208_1726.py
Evan-cell/instagram
630031b7a5887392466a0ba84da95e5bac106f39
[ "Unlicense" ]
null
null
null
kimsta/migrations/0002_auto_20211208_1726.py
Evan-cell/instagram
630031b7a5887392466a0ba84da95e5bac106f39
[ "Unlicense" ]
null
null
null
# Generated by Django 3.2.7 on 2021-12-08 14:26 import cloudinary.models from django.conf import settings from django.db import migrations, models import django.db.models.deletion
42.716216
145
0.601708
1573df68f0c7fd25a083bffddc3a0093c5f81f19
2,388
py
Python
python/taskmda/mda/svc/generate_entity_ngrams.py
jiportilla/ontology
8a66bb7f76f805c64fc76cfc40ab7dfbc1146f40
[ "MIT" ]
null
null
null
python/taskmda/mda/svc/generate_entity_ngrams.py
jiportilla/ontology
8a66bb7f76f805c64fc76cfc40ab7dfbc1146f40
[ "MIT" ]
null
null
null
python/taskmda/mda/svc/generate_entity_ngrams.py
jiportilla/ontology
8a66bb7f76f805c64fc76cfc40ab7dfbc1146f40
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: UTF-8 -*- import os import pprint from base import BaseObject from base import FileIO from base import MandatoryParamError
33.166667
102
0.600084
1574ff932e5ed7ac4764df4b3be08fbe2f0fb201
183
py
Python
signalwire/relay/calling/results/dial_result.py
ramarketing/signalwire-python
c0663bdd0454faaa39f42af7c936cea1d43e1842
[ "MIT" ]
23
2018-12-19T14:48:18.000Z
2022-01-11T03:58:36.000Z
signalwire/relay/calling/results/dial_result.py
ramarketing/signalwire-python
c0663bdd0454faaa39f42af7c936cea1d43e1842
[ "MIT" ]
13
2018-10-17T12:57:54.000Z
2021-09-01T21:46:01.000Z
signalwire/relay/calling/results/dial_result.py
ramarketing/signalwire-python
c0663bdd0454faaa39f42af7c936cea1d43e1842
[ "MIT" ]
12
2020-01-21T14:29:43.000Z
2022-01-11T07:48:06.000Z
from . import BaseResult
18.3
32
0.726776
1575c51299057a966b253264cc970f15f0f3f7da
5,708
py
Python
src/patteRNA/DOM.py
AviranLab/patteRNA
88b900844016717a71b6ec8e4f2d10d8888600ce
[ "BSD-2-Clause" ]
12
2018-03-02T21:48:46.000Z
2022-01-31T02:58:59.000Z
src/patteRNA/DOM.py
AviranLab/patteRNA
88b900844016717a71b6ec8e4f2d10d8888600ce
[ "BSD-2-Clause" ]
2
2018-07-19T01:11:11.000Z
2019-04-08T23:54:08.000Z
src/patteRNA/DOM.py
AviranLab/patteRNA
88b900844016717a71b6ec8e4f2d10d8888600ce
[ "BSD-2-Clause" ]
5
2018-03-06T18:13:36.000Z
2021-01-08T20:54:28.000Z
import numpy as np
32.804598
110
0.582341
1576f5af6af7aa6f222cb0a759b5bee7645af7c9
1,193
py
Python
printopal_changes/utils.py
HITESHBERA/printopal_changes1
2abd59689e5e0deed10ef40a8ce4e36df999ff04
[ "MIT" ]
null
null
null
printopal_changes/utils.py
HITESHBERA/printopal_changes1
2abd59689e5e0deed10ef40a8ce4e36df999ff04
[ "MIT" ]
null
null
null
printopal_changes/utils.py
HITESHBERA/printopal_changes1
2abd59689e5e0deed10ef40a8ce4e36df999ff04
[ "MIT" ]
null
null
null
from __future__ import unicode_literals import frappe from frappe import _ import json
28.404762
127
0.711651