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
216053aaf8b29fc8b35d155e70516ea38c7964da
142
py
Python
homecam.py
stigmarl/flask-homecam
cb56b4dff468faa8f1020e9504a03aae0072ceba
[ "MIT" ]
null
null
null
homecam.py
stigmarl/flask-homecam
cb56b4dff468faa8f1020e9504a03aae0072ceba
[ "MIT" ]
null
null
null
homecam.py
stigmarl/flask-homecam
cb56b4dff468faa8f1020e9504a03aae0072ceba
[ "MIT" ]
null
null
null
from app import create_app, db app = create_app()
15.777778
33
0.711268
216075410bdf65b4cfa98dc5604abc1c889ef2b2
3,288
py
Python
dtargs.py
petedmarsh/dtargs
6d3ae82f7ae9f865212f7f4f6c85d4aef31d0671
[ "MIT" ]
null
null
null
dtargs.py
petedmarsh/dtargs
6d3ae82f7ae9f865212f7f4f6c85d4aef31d0671
[ "MIT" ]
null
null
null
dtargs.py
petedmarsh/dtargs
6d3ae82f7ae9f865212f7f4f6c85d4aef31d0671
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import argparse import pytz from datetime import datetime
39.142857
79
0.615268
216118178f22c620e11f9953a3111b92a4f5fc5d
2,683
py
Python
pykeops/numpy/lazytensor/LazyTensor.py
Rama27SepIBM/keops
bf71b2afea7b23a6788c38745846cf9f1dffd93a
[ "MIT" ]
1
2021-04-20T09:04:21.000Z
2021-04-20T09:04:21.000Z
pykeops/numpy/lazytensor/LazyTensor.py
Rama27SepIBM/keops
bf71b2afea7b23a6788c38745846cf9f1dffd93a
[ "MIT" ]
null
null
null
pykeops/numpy/lazytensor/LazyTensor.py
Rama27SepIBM/keops
bf71b2afea7b23a6788c38745846cf9f1dffd93a
[ "MIT" ]
1
2021-04-06T16:36:30.000Z
2021-04-06T16:36:30.000Z
import numpy as np from pykeops.common.lazy_tensor import GenericLazyTensor from pykeops.numpy.utils import numpytools # Convenient aliases: def Vi(x_or_ind, dim=None): r""" Simple wrapper that return an instantiation of :class:`LazyTensor` of type 0. """ return Var(x_or_ind, dim, 0) def Vj(x_or_...
30.83908
87
0.654119
2161360bfb81e040502ee6b62c38a124e41869d0
15,947
py
Python
src/legUp_v2.py
mjaquiery/legUp
ec1555ecb8b396cad109ad0b9d4ce0086295f8ef
[ "MIT" ]
null
null
null
src/legUp_v2.py
mjaquiery/legUp
ec1555ecb8b396cad109ad0b9d4ce0086295f8ef
[ "MIT" ]
null
null
null
src/legUp_v2.py
mjaquiery/legUp
ec1555ecb8b396cad109ad0b9d4ce0086295f8ef
[ "MIT" ]
null
null
null
""" Updated on Sun Feb 25 15:26 2018 - tkinter library used to enable file selection dialogues for loading data and saving output - options now specified with a dialogue box rather than a command line Created on Thu Feb 06 17:29:27 2015 This program takes csv files containing voltage readings (20,000 of them per file)...
32.216162
128
0.612466
21614ce4ba8fe5009d765fbf8cc775a72c5b4840
2,553
py
Python
clismo/sim/client_server_model.py
jmorgadov/clismo
1200a5115eef5b2e1801bd1768c78191220ae0e2
[ "MIT" ]
2
2022-02-19T22:11:30.000Z
2022-02-23T18:22:56.000Z
clismo/sim/client_server_model.py
jmorgadov/clismo
1200a5115eef5b2e1801bd1768c78191220ae0e2
[ "MIT" ]
null
null
null
clismo/sim/client_server_model.py
jmorgadov/clismo
1200a5115eef5b2e1801bd1768c78191220ae0e2
[ "MIT" ]
null
null
null
from queue import PriorityQueue from typing import Callable, List
35.957746
86
0.541324
21618cc54a6c2516a96f053ea9a88f8e38e43a1b
98
py
Python
genoome/color_aliases/admin.py
jiivan/genoomy
e71fdd7ef7440e41efd8e245bbdb61f11b896be5
[ "MIT" ]
null
null
null
genoome/color_aliases/admin.py
jiivan/genoomy
e71fdd7ef7440e41efd8e245bbdb61f11b896be5
[ "MIT" ]
2
2016-01-19T13:09:05.000Z
2017-03-15T13:49:02.000Z
genoome/color_aliases/admin.py
jiivan/genoomy
e71fdd7ef7440e41efd8e245bbdb61f11b896be5
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import ColorAlias admin.site.register(ColorAlias)
16.333333
32
0.826531
21629f0708dae873e8a5adb69fcdb728a21e4126
315
py
Python
app/gql/__init__.py
yoshiya0503/flask-graphQL-example
469bc38d183ebb0ed7e9a14427d813cb1fdb3b3e
[ "MIT" ]
null
null
null
app/gql/__init__.py
yoshiya0503/flask-graphQL-example
469bc38d183ebb0ed7e9a14427d813cb1fdb3b3e
[ "MIT" ]
null
null
null
app/gql/__init__.py
yoshiya0503/flask-graphQL-example
469bc38d183ebb0ed7e9a14427d813cb1fdb3b3e
[ "MIT" ]
null
null
null
#! /usr/bin/env python3 # -*- encoding: utf-8 -*- """ schema object schema """ __author__ = 'Yoshiya Ito <myon53@gmail.com>' __version__ = '1.0.0' __date__ = '2019-12-02' import graphene from app.gql.query import Query from app.gql.mutation import Mutation schema = graphene.Schema(query=Query, mutation=Mutation)
21
56
0.72381
216485c38366b8711003ea1f47b4b3d0d3777fa3
25,526
py
Python
tests/test_operands.py
cu2/aldebaran
affd692bd568cdb5a3a1840c6bc02b5197da1064
[ "MIT" ]
4
2018-11-20T07:31:48.000Z
2020-12-29T22:04:03.000Z
tests/test_operands.py
cu2/aldebaran
affd692bd568cdb5a3a1840c6bc02b5197da1064
[ "MIT" ]
7
2020-09-04T22:49:12.000Z
2022-02-26T11:19:39.000Z
tests/test_operands.py
cu2/aldebaran
affd692bd568cdb5a3a1840c6bc02b5197da1064
[ "MIT" ]
null
null
null
import unittest from unittest.mock import Mock from instructions.operands import ( Operand, OpLen, OpType, get_operand_opcode, parse_operand_buffer, get_operand_value, set_operand_value, _get_reference_address, _get_opbyte, _get_register_code_by_name, _get_register_name_by_code, InvalidRegister...
44.315972
114
0.653882
2165794335ca95279cca6df02ac540918b551bc8
1,096
py
Python
event_loop/cancel_task.py
lishulongVI/Ilhabela
12e97ad2c239038bca0aaecc037beba7f7d3715a
[ "MIT" ]
null
null
null
event_loop/cancel_task.py
lishulongVI/Ilhabela
12e97ad2c239038bca0aaecc037beba7f7d3715a
[ "MIT" ]
null
null
null
event_loop/cancel_task.py
lishulongVI/Ilhabela
12e97ad2c239038bca0aaecc037beba7f7d3715a
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ @contact: lishulong.never@gmail.com @time: 2019/3/25 9:43 """ import asyncio if __name__ == '__main__': tasks = [consume() for i in range(10)] loop = asyncio.get_event_loop() try: loop.run_until_complete(asyncio.wait(tasks)) except KeyboardInterrupt as e: ...
15.884058
59
0.663321
2167face4e0d997c82f580f3b2a66b5b2585ee56
762
py
Python
testTF.py
acsstudios/assgnopts
0a754861b47b56992fad1cb8026260be39e8f765
[ "MIT" ]
1
2021-09-09T10:03:55.000Z
2021-09-09T10:03:55.000Z
testTF.py
acsstudios/assgnopts
0a754861b47b56992fad1cb8026260be39e8f765
[ "MIT" ]
null
null
null
testTF.py
acsstudios/assgnopts
0a754861b47b56992fad1cb8026260be39e8f765
[ "MIT" ]
null
null
null
# Importing required libraries import tensorflow as tf from tensorflow import keras from tensorflow.keras.preprocessing.text import Tokenizer # List of sample sentences that we want to tokenize sentences = ['I love my dog', 'I love my cat', 'you love my dog!', 'Do you think my d...
28.222222
57
0.695538
2168d2e3e100b833c3bdb3e0fda3939272c31053
7,953
py
Python
harjoitustyo/src/ui/views/menu_view.py
ronituohino/ohte-harjoitustyo
18eb9033c285d6f826ae0bafe5fec9319401eb82
[ "MIT" ]
null
null
null
harjoitustyo/src/ui/views/menu_view.py
ronituohino/ohte-harjoitustyo
18eb9033c285d6f826ae0bafe5fec9319401eb82
[ "MIT" ]
null
null
null
harjoitustyo/src/ui/views/menu_view.py
ronituohino/ohte-harjoitustyo
18eb9033c285d6f826ae0bafe5fec9319401eb82
[ "MIT" ]
null
null
null
import os from os.path import isfile, join import pygame from ui.view import View from ui.components.button import Button from ui.components.text import render, blit, text from ui.components.box import box from services.menu import Menu
30.825581
85
0.406262
2169433be713fc577361a94f5719a5780017349f
1,238
py
Python
Study/interesting_program/test.py
pynickle/awesome-python-tools
e405fb8d9a1127ae7cd5bcbd6481da78f6f1fb07
[ "BSD-2-Clause" ]
21
2019-06-02T01:55:14.000Z
2022-01-08T22:35:31.000Z
Study/interesting_program/test.py
code-nick-python/awesome-daily-tools
e405fb8d9a1127ae7cd5bcbd6481da78f6f1fb07
[ "BSD-2-Clause" ]
3
2019-06-02T01:55:17.000Z
2019-06-14T12:32:06.000Z
Study/interesting_program/test.py
code-nick-python/awesome-daily-tools
e405fb8d9a1127ae7cd5bcbd6481da78f6f1fb07
[ "BSD-2-Clause" ]
16
2019-06-23T13:00:04.000Z
2021-09-18T06:09:58.000Z
""" Copyright: Copyright (c) 2019 License : WTFPL License owner : pynickle title : amazing-python study projects description : projects for studying python """ import sys import io import unittest import importlib unittest.main()
24.76
75
0.679321
216bb3640cb2bccd362d7ee3d859fa96b2df5029
4,437
py
Python
ssl_joystick_operation/scripts/joystick_node.py
SSL-Roots/CON-SAI
dbe60090441547df3d31c87db948c8822b07bfb1
[ "MIT" ]
28
2017-08-15T03:38:53.000Z
2021-11-25T02:11:05.000Z
ssl_joystick_operation/scripts/joystick_node.py
SSL-Roots/CON-SAI
dbe60090441547df3d31c87db948c8822b07bfb1
[ "MIT" ]
41
2017-08-17T07:48:18.000Z
2019-07-23T04:36:37.000Z
ssl_joystick_operation/scripts/joystick_node.py
SSL-Roots/CON-SAI
dbe60090441547df3d31c87db948c8822b07bfb1
[ "MIT" ]
8
2017-08-27T14:46:05.000Z
2021-03-07T07:05:46.000Z
#!/usr/bin/env python import rospy import socket import math from std_msgs.msg import String from std_msgs.msg import Time from std_msgs.msg import UInt8 from std_msgs.msg import UInt32 from sensor_msgs.msg import Joy from consai_msgs.msg import robot_commands import topic_tools.srv # import ssl_refbox.msg # class...
28.811688
78
0.615731
216c3e584bf0ccf79b7676172b319c96938d2937
189
py
Python
pythontutorials/Udacity/CS101/Lesson 02 - Problem Set/Q6-Bodacious Udacity.py
JoseALermaIII/python-tutorials
9d6cb78beec0bb55e27c49da1217317ba4d5f4fc
[ "MIT" ]
2
2017-04-20T02:57:19.000Z
2018-10-12T20:15:47.000Z
pythontutorials/Udacity/CS101/Lesson 02 - Problem Set/Q6-Bodacious Udacity.py
JoseALermaIII/python-tutorials
9d6cb78beec0bb55e27c49da1217317ba4d5f4fc
[ "MIT" ]
8
2021-03-18T21:50:16.000Z
2022-03-11T23:38:01.000Z
pythontutorials/Udacity/CS101/Lesson 02 - Problem Set/Q6-Bodacious Udacity.py
JoseALermaIII/python-tutorials
9d6cb78beec0bb55e27c49da1217317ba4d5f4fc
[ "MIT" ]
3
2018-08-30T20:30:50.000Z
2022-01-18T13:40:51.000Z
# Given the variables s and t defined as: s = 'udacity' t = 'bodacious' # write Python code that prints out udacious # without using any quote characters in # your code. print s[0] + t[2:]
23.625
44
0.708995
216c848e1ddcba2e2b04e531b179a3e5a5e41621
9,527
py
Python
datasets/classification.py
billhhh/model-quantization-1
e816c3ffd36426810e31de04dfdec1894a600c2d
[ "BSD-2-Clause" ]
66
2020-07-28T06:28:59.000Z
2022-03-30T03:34:31.000Z
datasets/classification.py
billhhh/model-quantization-1
e816c3ffd36426810e31de04dfdec1894a600c2d
[ "BSD-2-Clause" ]
5
2021-07-07T10:12:15.000Z
2021-08-19T11:30:45.000Z
datasets/classification.py
billhhh/model-quantization-1
e816c3ffd36426810e31de04dfdec1894a600c2d
[ "BSD-2-Clause" ]
17
2021-03-11T09:54:16.000Z
2022-03-22T13:06:12.000Z
import torch import torchvision import torchvision.transforms as transforms import torchvision.datasets as datasets import os import numpy as np from PIL import Image, ImageFile __imagenet_pca = { 'eigval': torch.Tensor([0.2175, 0.0188, 0.0045]), 'eigvec': torch.Tensor([ [-0.5675, 0.7192, 0.4009], ...
38.727642
157
0.601868
dcbe7f19c1dbf983d47755b3e4b05e87bf1bdbd3
42
py
Python
selection.py
JOkendo/PythonPrograms
f8520bbedfe8a1d967f61108c5a24b07f56c7d91
[ "MIT" ]
null
null
null
selection.py
JOkendo/PythonPrograms
f8520bbedfe8a1d967f61108c5a24b07f56c7d91
[ "MIT" ]
null
null
null
selection.py
JOkendo/PythonPrograms
f8520bbedfe8a1d967f61108c5a24b07f56c7d91
[ "MIT" ]
null
null
null
marks = 70 if num > 50: print("pass!")
14
18
0.547619
dcbe975027f4df9e2601fd2aaf93136cc3a06d31
1,181
py
Python
examples/src/main/python/python_example.py
bensenberner/spline-spark-agent
b391bae118233f88f9f2f235d35d11d93055507e
[ "Apache-2.0" ]
65
2020-01-09T08:30:35.000Z
2022-03-29T11:02:01.000Z
examples/src/main/python/python_example.py
bensenberner/spline-spark-agent
b391bae118233f88f9f2f235d35d11d93055507e
[ "Apache-2.0" ]
359
2020-01-03T15:47:38.000Z
2022-03-21T14:22:30.000Z
examples/src/main/python/python_example.py
bensenberner/spline-spark-agent
b391bae118233f88f9f2f235d35d11d93055507e
[ "Apache-2.0" ]
57
2020-03-30T09:16:47.000Z
2022-03-18T19:55:18.000Z
# # Copyright 2017 ABSA Group Limited # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
36.90625
115
0.740051
dcbed17561796433a09061693546b7d9c9b7c335
314
py
Python
scribedb/__init__.py
Decathlon/scribedb
153ae8854bc77c33a799f2757a2d4629f3909f8c
[ "Apache-2.0" ]
3
2020-03-17T09:13:50.000Z
2020-07-17T08:30:07.000Z
scribedb/__init__.py
doc22940/scribedb
153ae8854bc77c33a799f2757a2d4629f3909f8c
[ "Apache-2.0" ]
5
2020-03-09T15:11:20.000Z
2020-09-17T20:50:08.000Z
scribedb/__init__.py
doc22940/scribedb
153ae8854bc77c33a799f2757a2d4629f3909f8c
[ "Apache-2.0" ]
1
2020-04-08T01:02:20.000Z
2020-04-08T01:02:20.000Z
""" scribeDB is a light tool which compares data at schema level. Let us say we have two schemas deployed inside PostgreSQL and Oracle RDBs. A minimal usage example: # """ from . import oracle, postgres, rdbms, scribedb __version__ = '0.1.0' __all__ = ['__version__', 'oracle', 'postgres', 'scribedb','rdbms']
20.933333
67
0.72293
dcbfb218a75df60570bbac44effd705f21976a4c
1,871
py
Python
src/bot/xlparser/settings/config.py
delvinru/schedule
4ef58b54d5df0aa06e123480f0fe4231295da873
[ "MIT" ]
2
2021-09-21T09:50:44.000Z
2021-12-12T21:34:35.000Z
src/bot/xlparser/settings/config.py
delvinru/schedule
4ef58b54d5df0aa06e123480f0fe4231295da873
[ "MIT" ]
null
null
null
src/bot/xlparser/settings/config.py
delvinru/schedule
4ef58b54d5df0aa06e123480f0fe4231295da873
[ "MIT" ]
null
null
null
''' parser. ''' link_MireaSchedule = "https://www.mirea.ru/schedule/" links_file = "links.txt" first_september = [2021, 9, 1] first_january = [2022, 1, 1] semestr_start = [2021, 8, 30] # block_tags = { # , "" : "", # "" : "", # "" : "", # "" : "", # ...
27.925373
82
0.577231
dcc3791c6b08e46a11284b513cf249f26c00368b
1,795
py
Python
referals/platforms/crowdtangle.py
jakobbaek/link_collector
18fa1083a876b653e345f35075402a415aa71b6d
[ "MIT" ]
null
null
null
referals/platforms/crowdtangle.py
jakobbaek/link_collector
18fa1083a876b653e345f35075402a415aa71b6d
[ "MIT" ]
null
null
null
referals/platforms/crowdtangle.py
jakobbaek/link_collector
18fa1083a876b653e345f35075402a415aa71b6d
[ "MIT" ]
null
null
null
import random import requests import time
33.867925
132
0.587744
dcc672cd1529c256e9ce92450f3e659f1ce15438
7,240
py
Python
src/AgentSPL/train.py
Yulv-git/Awesome-Ultrasound-Standard-Plane-Detection
2e35afaa891badf5a235b5d995102e4dc8a4cf0d
[ "MIT" ]
1
2022-03-24T06:54:36.000Z
2022-03-24T06:54:36.000Z
src/AgentSPL/train.py
Yulv-git/Awesome-Ultrasound-Standard-Plane-Detection
2e35afaa891badf5a235b5d995102e4dc8a4cf0d
[ "MIT" ]
null
null
null
src/AgentSPL/train.py
Yulv-git/Awesome-Ultrasound-Standard-Plane-Detection
2e35afaa891badf5a235b5d995102e4dc8a4cf0d
[ "MIT" ]
null
null
null
#!/usr/bin/env python # coding=utf-8 ''' Author: Shuangchi He / Yulv Email: yulvchi@qq.com Date: 2022-03-20 18:17:37 Motto: Entities should not be multiplied unnecessarily. LastEditors: Shuangchi He LastEditTime: 2022-04-03 17:16:14 FilePath: /Awesome-Ultrasound-Standard-Plane-Detection/src/AgentSPL/train.py ...
40.903955
123
0.623481
dcc6d54a859e984a75c2b6603ea50f7c1bdba1fa
14,620
py
Python
tests/batch/base_parse_replication_stream_test.py
ywlianghang/mysql_streamer
7fc85efaca3db6a387ea4b791632c2df2d04cb3e
[ "Apache-2.0" ]
419
2016-11-17T18:41:47.000Z
2022-03-14T02:50:02.000Z
tests/batch/base_parse_replication_stream_test.py
ywlianghang/mysql_streamer
7fc85efaca3db6a387ea4b791632c2df2d04cb3e
[ "Apache-2.0" ]
19
2016-11-30T18:09:00.000Z
2019-04-02T06:20:02.000Z
tests/batch/base_parse_replication_stream_test.py
ywlianghang/mysql_streamer
7fc85efaca3db6a387ea4b791632c2df2d04cb3e
[ "Apache-2.0" ]
90
2016-11-23T06:26:20.000Z
2022-01-22T09:24:42.000Z
# -*- coding: utf-8 -*- # Copyright 2016 Yelp Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
33.076923
98
0.675103
dcc700f21b2de33960e29c9e4a85159939c5b5f3
1,362
py
Python
build.py
sijad/iran-cities
b895d45c2adf049a56e9acfb6914914578d547a1
[ "MIT" ]
14
2016-05-01T11:33:15.000Z
2019-07-27T17:21:40.000Z
build.py
sijad/iran-cities-list
b895d45c2adf049a56e9acfb6914914578d547a1
[ "MIT" ]
1
2017-10-14T19:23:51.000Z
2017-10-14T19:23:51.000Z
build.py
sijad/iran-cities-list
b895d45c2adf049a56e9acfb6914914578d547a1
[ "MIT" ]
3
2016-12-03T22:24:59.000Z
2017-10-13T16:15:13.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import json # see: https://en.wikipedia.org/wiki/ISO_3166-2:IR PROVINCE_MAP = { u' ': 1, u' ': 2, u'': 3, u'': 4, u'': 5, u'': 6, u'': 7, u' ': 8, u'': 10, u'': 11, u'': 12, u' ': 13, u'': 14, u'': 15, u'': 1...
21.28125
75
0.551395
dcc701ccb8967fd5ddcba24fee8eaeca6fa55888
900
py
Python
57 - Square root convergents/converg.py
jamtot/PyProjectEuler
98c2cf5dbfa3d38a2727f2ad204e41f01b624dda
[ "MIT" ]
null
null
null
57 - Square root convergents/converg.py
jamtot/PyProjectEuler
98c2cf5dbfa3d38a2727f2ad204e41f01b624dda
[ "MIT" ]
null
null
null
57 - Square root convergents/converg.py
jamtot/PyProjectEuler
98c2cf5dbfa3d38a2727f2ad204e41f01b624dda
[ "MIT" ]
null
null
null
""" 3 7 17 41 99 239 577 1393 n = 2n(i-1(previous)) + n(i-2(num before previous)) - - -- -- -- --- --- ---- 2 5 12 29 70 169 408 985 (same as above, next number is 2 times previous plus the number before that) """ if __name__ == "__main__": numerator_expansions = [3, 7, 17, 41, 99,...
32.142857
85
0.645556
dcc741045cd440a4dccfd1036075439ab58dcc3c
565
py
Python
src/__init__.py
chompomonim/python-graphql-example
e7b3ba1a549e2c4719eab1529d896fb19ab1cbb2
[ "MIT" ]
null
null
null
src/__init__.py
chompomonim/python-graphql-example
e7b3ba1a549e2c4719eab1529d896fb19ab1cbb2
[ "MIT" ]
null
null
null
src/__init__.py
chompomonim/python-graphql-example
e7b3ba1a549e2c4719eab1529d896fb19ab1cbb2
[ "MIT" ]
null
null
null
from sanic import Sanic from sanic.response import json, text from sanic_graphql import GraphQLView from api import schema, setup app = Sanic() app.add_route(GraphQLView.as_view(schema=schema, graphiql=True), '/graphql') if __name__ == "__main__": setup() app.run(host="0.0.0.0", port=4000)
22.6
76
0.707965
dcc80839aa9d4bea48c925ed65c8c0a36c832df3
255
py
Python
swarmdjango/core/models/Heading.py
YCP-Swarm-Robotics-Capstone-2020-2021/swarm-website-backend
081d1930cc9283ee299d373f91f7c127f466c104
[ "MIT" ]
null
null
null
swarmdjango/core/models/Heading.py
YCP-Swarm-Robotics-Capstone-2020-2021/swarm-website-backend
081d1930cc9283ee299d373f91f7c127f466c104
[ "MIT" ]
51
2020-08-31T16:50:09.000Z
2021-05-10T03:04:18.000Z
swarmdjango/core/models/Heading.py
YCP-Swarm-Robotics-Capstone-2020-2021/swarm-website-backend
081d1930cc9283ee299d373f91f7c127f466c104
[ "MIT" ]
null
null
null
from django.db import models from core.models import Change
28.333333
60
0.733333
dcc81393de725a070444fbc983b8a4a61724241e
904
py
Python
iaso/api/algorithms.py
ekhalilbsq/iaso
e6400c52aeb4f67ce1ca83b03efa3cb11ef235ee
[ "MIT" ]
29
2020-12-26T07:22:19.000Z
2022-03-07T13:40:09.000Z
iaso/api/algorithms.py
ekhalilbsq/iaso
e6400c52aeb4f67ce1ca83b03efa3cb11ef235ee
[ "MIT" ]
150
2020-11-09T15:03:27.000Z
2022-03-07T15:36:07.000Z
iaso/api/algorithms.py
ekhalilbsq/iaso
e6400c52aeb4f67ce1ca83b03efa3cb11ef235ee
[ "MIT" ]
4
2020-11-09T10:38:13.000Z
2021-10-04T09:42:47.000Z
from rest_framework import viewsets, permissions, serializers from rest_framework.response import Response from iaso.models import MatchingAlgorithm from .common import HasPermission
28.25
100
0.725664
dcc8dbdd612c29691ae2ae82b4109c98232e4fd7
3,608
py
Python
lib/googlecloudsdk/command_lib/run/printers/k8s_object_printer_util.py
google-cloud-sdk-unofficial/google-cloud-sdk
2a48a04df14be46c8745050f98768e30474a1aac
[ "Apache-2.0" ]
2
2019-11-10T09:17:07.000Z
2019-12-18T13:44:08.000Z
lib/googlecloudsdk/command_lib/run/printers/k8s_object_printer_util.py
google-cloud-sdk-unofficial/google-cloud-sdk
2a48a04df14be46c8745050f98768e30474a1aac
[ "Apache-2.0" ]
null
null
null
lib/googlecloudsdk/command_lib/run/printers/k8s_object_printer_util.py
google-cloud-sdk-unofficial/google-cloud-sdk
2a48a04df14be46c8745050f98768e30474a1aac
[ "Apache-2.0" ]
1
2020-07-25T01:40:19.000Z
2020-07-25T01:40:19.000Z
# -*- coding: utf-8 -*- # # Copyright 2019 Google LLC. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requir...
33.100917
80
0.720621
dcc93490f493990dafb1397d9f13b6202e693216
201
py
Python
codility/lessons/1-iterations/test_binary_gap.py
phacic/dsa-py
77e07361d502aeec004c7e44b714a53fe7f9cae0
[ "MIT" ]
null
null
null
codility/lessons/1-iterations/test_binary_gap.py
phacic/dsa-py
77e07361d502aeec004c7e44b714a53fe7f9cae0
[ "MIT" ]
null
null
null
codility/lessons/1-iterations/test_binary_gap.py
phacic/dsa-py
77e07361d502aeec004c7e44b714a53fe7f9cae0
[ "MIT" ]
null
null
null
import pytest from binary_gap import solution
25.125
81
0.686567
dcc98874a25ce5c8605f3884f1b1cc84e78aae08
1,287
py
Python
IntroProPython/IntroProPython - exercicios/capitulo 07/exercicio-07-02.py
SweydAbdul/estudos-python
b052708d0566a0afb9a1c04d035467d45f820879
[ "MIT" ]
null
null
null
IntroProPython/IntroProPython - exercicios/capitulo 07/exercicio-07-02.py
SweydAbdul/estudos-python
b052708d0566a0afb9a1c04d035467d45f820879
[ "MIT" ]
null
null
null
IntroProPython/IntroProPython - exercicios/capitulo 07/exercicio-07-02.py
SweydAbdul/estudos-python
b052708d0566a0afb9a1c04d035467d45f820879
[ "MIT" ]
null
null
null
############################################################################## # Parte do livro Introduo Programao com Python # Autor: Nilo Ney Coutinho Menezes # Editora Novatec (c) 2010-2017 # Primeira edio - Novembro/2010 - ISBN 978-85-7522-250-8 # Primeira reimpresso - Outubro/2011 # Segunda reimpresso - Novembro/...
34.783784
78
0.637918
dcc9cd475081319ccd143f49c43e6f3a2600ff8d
727
py
Python
tests/pup/sensors/ultrasonic_lights.py
cschlack/pybricks-micropython
0abfd2918267a4e6e7a04062976ac1bb3da1f4b1
[ "MIT" ]
115
2020-06-15T16:43:14.000Z
2022-03-21T21:11:57.000Z
tests/pup/sensors/ultrasonic_lights.py
cschlack/pybricks-micropython
0abfd2918267a4e6e7a04062976ac1bb3da1f4b1
[ "MIT" ]
83
2020-06-17T17:19:29.000Z
2022-03-08T18:50:35.000Z
tests/pup/sensors/ultrasonic_lights.py
BertLindeman/pybricks-micropython
8f22a99551100e66ddf08d014d9f442f22b33b4d
[ "MIT" ]
40
2020-06-15T18:36:39.000Z
2022-03-28T13:22:43.000Z
# SPDX-License-Identifier: MIT # Copyright (c) 2020 The Pybricks Authors """ Hardware Module: 1 Description: This tests the lights on the Ultrasonic Sensor. No external sensors are used to verify that it works. """ from pybricks.pupdevices import UltrasonicSensor from pybricks.parameters import Port from pybricks.to...
20.194444
72
0.729023
dcca7131726cc736db9713ef7e9fc6e4d4c07906
226
py
Python
sites/newbrandx/rankx/admin.py
jackytu/newbrandx
19569a725bef86a77e94009353e7be5fc6f1b993
[ "BSD-3-Clause" ]
null
null
null
sites/newbrandx/rankx/admin.py
jackytu/newbrandx
19569a725bef86a77e94009353e7be5fc6f1b993
[ "BSD-3-Clause" ]
null
null
null
sites/newbrandx/rankx/admin.py
jackytu/newbrandx
19569a725bef86a77e94009353e7be5fc6f1b993
[ "BSD-3-Clause" ]
null
null
null
from django.contrib import admin # Register your models here. from .models import Milk from .models import Brand from .models import Company admin.site.register(Milk) admin.site.register(Brand) admin.site.register(Company)
18.833333
32
0.800885
dcca9238b45a4d07ef66ddc0ab5b12946af6ccf6
24
py
Python
class.py
adadesions/python_class
f593cdf3887bff17de05958751e1b080a0a8162e
[ "MIT" ]
null
null
null
class.py
adadesions/python_class
f593cdf3887bff17de05958751e1b080a0a8162e
[ "MIT" ]
null
null
null
class.py
adadesions/python_class
f593cdf3887bff17de05958751e1b080a0a8162e
[ "MIT" ]
null
null
null
""" class lesson """
8
16
0.458333
dccc2de6c78a75b6d941a646536abd681d5266d8
9,797
py
Python
Paddle_ChineseBert/PaddleNLP/paddlenlp/transformers/chinesebert/tokenizer.py
jiaqianjing/ChineseBERT-Paddle
c4a1a7d08eb8e4b3de1b8e0fb9cefeb7dc0451be
[ "MIT" ]
1
2022-02-25T11:28:31.000Z
2022-02-25T11:28:31.000Z
Paddle_ChineseBert/PaddleNLP/paddlenlp/transformers/chinesebert/tokenizer.py
jiaqianjing/ChineseBERT-Paddle
c4a1a7d08eb8e4b3de1b8e0fb9cefeb7dc0451be
[ "MIT" ]
null
null
null
Paddle_ChineseBert/PaddleNLP/paddlenlp/transformers/chinesebert/tokenizer.py
jiaqianjing/ChineseBERT-Paddle
c4a1a7d08eb8e4b3de1b8e0fb9cefeb7dc0451be
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- encoding: utf-8 -*- ''' @File : tokenzier.py @Time : 2021/09/11 16:00:04 @Author : Jia Qianjing @Version : 1.0 @Contact : jiaqianjing@gmail.com @Desc : None ''' import json import os from typing import List import numpy as np from pypinyin import Style, pinyin from .....
39.031873
104
0.526488
dccc3770539a345be610b7f21997fe1acd9b086e
9,949
py
Python
train.py
w86763777/pytorch-simple-yolov3
fb08b7c83493bdad3c0d60f8446a2018827b53a1
[ "WTFPL" ]
null
null
null
train.py
w86763777/pytorch-simple-yolov3
fb08b7c83493bdad3c0d60f8446a2018827b53a1
[ "WTFPL" ]
null
null
null
train.py
w86763777/pytorch-simple-yolov3
fb08b7c83493bdad3c0d60f8446a2018827b53a1
[ "WTFPL" ]
null
null
null
import os import argparse from collections import defaultdict import torch import torch.distributed as dist from torch.nn.parallel import DistributedDataParallel as DDP from torch.multiprocessing import Process from tqdm import trange from tensorboardX import SummaryWriter from pycocotools.coco import COCO from yolov...
37.123134
82
0.609911
dcccd3460841aa56fdd3f12e2c4b74b5af2f3969
1,708
py
Python
progress.py
zzeleznick/config
f7d519004573968aa47fff850480618fd57dc0d1
[ "MIT" ]
null
null
null
progress.py
zzeleznick/config
f7d519004573968aa47fff850480618fd57dc0d1
[ "MIT" ]
null
null
null
progress.py
zzeleznick/config
f7d519004573968aa47fff850480618fd57dc0d1
[ "MIT" ]
null
null
null
#!/usr/bin/env python # coding=UTF-8 import sys from blessings import Terminal import time import numpy as np import argparse # import subprocess; # subprocess.call(["printf", "\033c"]); if __name__ == '__main__': main()
25.878788
72
0.522834
dccdd28cc039a3a5144b0d2df2b3d0fb83817707
3,359
py
Python
misc/jarvis-dsc-bot/challenge/bot.py
PWrWhiteHats/BtS-CTF-Challenges-03-2021
545880c414a6c55fe216d71f9eee2f54f64bb070
[ "MIT" ]
7
2021-03-14T16:34:56.000Z
2022-01-18T16:46:25.000Z
misc/jarvis-dsc-bot/challenge/bot.py
PWrWhiteHats/BtS-CTF-Challenges-03-2021
545880c414a6c55fe216d71f9eee2f54f64bb070
[ "MIT" ]
4
2021-03-19T16:09:12.000Z
2022-03-12T00:55:12.000Z
misc/jarvis-dsc-bot/challenge/bot.py
PWrWhiteHats/BtS-CTF-Challenges-03-2021
545880c414a6c55fe216d71f9eee2f54f64bb070
[ "MIT" ]
null
null
null
# bot.py import os import discord from discord.ext import commands from dotenv import load_dotenv from time import sleep load_dotenv() TOKEN = os.getenv('DISCORD_TOKEN') try: with open('/app/flag.txt', 'r') as r: FLAG = r.read().strip() except FileNotFoundError: FLAG = os.getenv('FLAG', 'bts{tmpflag}...
31.990476
134
0.677583
dccfb668a1df9c3316a2a14e3756a083e3ab3839
3,734
py
Python
google/ads/google_ads/v4/proto/services/campaign_bid_modifier_service_pb2_grpc.py
arammaliachi/google-ads-python
a4fe89567bd43eb784410523a6306b5d1dd9ee67
[ "Apache-2.0" ]
1
2021-04-09T04:28:47.000Z
2021-04-09T04:28:47.000Z
google/ads/google_ads/v4/proto/services/campaign_bid_modifier_service_pb2_grpc.py
arammaliachi/google-ads-python
a4fe89567bd43eb784410523a6306b5d1dd9ee67
[ "Apache-2.0" ]
null
null
null
google/ads/google_ads/v4/proto/services/campaign_bid_modifier_service_pb2_grpc.py
arammaliachi/google-ads-python
a4fe89567bd43eb784410523a6306b5d1dd9ee67
[ "Apache-2.0" ]
null
null
null
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc from google.ads.google_ads.v4.proto.resources import campaign_bid_modifier_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__bid__modifier__pb2 from google.ads.google_ads.v4.proto.services import campaign_bid_...
53.342857
186
0.831012
dccfcf5fe340584cacae04463285d5b6a560f3d3
4,369
py
Python
readthedocs/oauth/models.py
adrianmugnoz/Documentacion-universidades
0e088718cdfdb2c9c52118c181def8086c821b1e
[ "MIT" ]
1
2019-05-07T15:08:53.000Z
2019-05-07T15:08:53.000Z
readthedocs/oauth/models.py
mba811/readthedocs.org
b882cec8c0e7d741d3c58af2f6d0f48d1a123f8d
[ "MIT" ]
null
null
null
readthedocs/oauth/models.py
mba811/readthedocs.org
b882cec8c0e7d741d3c58af2f6d0f48d1a123f8d
[ "MIT" ]
null
null
null
from django.db import models from django.contrib.auth.models import User from django.utils.translation import ugettext_lazy as _
46.978495
98
0.673838
dcd1979ad4bab59c6389ed6cdcd41efd03611f23
8,840
py
Python
hg_agent_forwarder/forwarder.py
hostedgraphite/hg-agent-forwarder
b5bc9a69f1cbd49ba925dd33fa4f28617f1e33dc
[ "MIT" ]
null
null
null
hg_agent_forwarder/forwarder.py
hostedgraphite/hg-agent-forwarder
b5bc9a69f1cbd49ba925dd33fa4f28617f1e33dc
[ "MIT" ]
null
null
null
hg_agent_forwarder/forwarder.py
hostedgraphite/hg-agent-forwarder
b5bc9a69f1cbd49ba925dd33fa4f28617f1e33dc
[ "MIT" ]
2
2018-07-17T15:11:38.000Z
2018-08-19T12:16:55.000Z
import threading import Queue import os import logging import json import time import random import requests import multitail2 import errno import tempfile from requests.auth import HTTPBasicAuth from utils import Datapoint
36.378601
81
0.541176
dcd1af861d1db0434de55a20de85ed1a197219cd
27
py
Python
kutana/__main__.py
ekonda/kutana
902f9d521c10c6c7ccabb1387ee3d87db5e2eba6
[ "MIT" ]
69
2018-10-05T21:42:51.000Z
2022-03-16T17:22:21.000Z
kutana/__main__.py
ekonda/kutana
902f9d521c10c6c7ccabb1387ee3d87db5e2eba6
[ "MIT" ]
41
2018-10-20T09:18:43.000Z
2021-11-22T12:19:44.000Z
kutana/__main__.py
ekonda/kutana
902f9d521c10c6c7ccabb1387ee3d87db5e2eba6
[ "MIT" ]
26
2018-10-20T09:13:42.000Z
2021-12-24T17:01:02.000Z
from .cli import run run()
9
20
0.703704
dcd27c7511190004659b9e60ba4a4a26b905d6d5
2,119
py
Python
Chapter9_FormatDetection/pr9_3_1.py
SeventeenChen/Python_Speech_SZY
0074ad1d519387a75d5eca42c77f4d6966eb0a0e
[ "MIT" ]
7
2020-11-23T11:03:43.000Z
2021-10-24T01:26:21.000Z
Chapter9_FormatDetection/pr9_3_1.py
SeventeenChen/Python_Speech_SZY
0074ad1d519387a75d5eca42c77f4d6966eb0a0e
[ "MIT" ]
null
null
null
Chapter9_FormatDetection/pr9_3_1.py
SeventeenChen/Python_Speech_SZY
0074ad1d519387a75d5eca42c77f4d6966eb0a0e
[ "MIT" ]
2
2021-06-23T14:26:13.000Z
2021-06-30T10:39:08.000Z
# # pr9_3_1 from audiolazy import lazy_lpc from scipy.signal import lfilter, find_peaks from LPC import LPC from Universal import * if __name__ == '__main__': filename = 'snn27.wav' speech = Speech() x, fs = speech.audioread(filename, None) # read one frame data u = lfilter(b=np.array([1, -0.99]), a=1, x=x) # ...
30.710145
108
0.601699
dcd3f42d79247d516e91a944ac5320d42c096f12
8,356
py
Python
FP - Fundamentals Of Programming/bank-accounts-manager/tests.py
p0licat/university
4c86fd2e7aafb830f7d9cb2d38f96a145b7e7f7b
[ "MIT" ]
2
2018-03-05T14:07:37.000Z
2021-01-24T22:44:24.000Z
FP - Fundamentals Of Programming/bank-accounts-manager/tests.py
p0licat/university
4c86fd2e7aafb830f7d9cb2d38f96a145b7e7f7b
[ "MIT" ]
1
2017-03-08T09:08:29.000Z
2017-03-10T08:23:58.000Z
FP - Fundamentals Of Programming/bank-accounts-manager/tests.py
p0licat/university
4c86fd2e7aafb830f7d9cb2d38f96a145b7e7f7b
[ "MIT" ]
1
2017-03-08T12:25:11.000Z
2017-03-08T12:25:11.000Z
from methods import * ''' This file contains the test functions of every function defined in methods.py, which is imported. This file is imported by the main file ( application.py ) ''' # ========================================================= TEST FUNCTIONS =================================================...
43.072165
155
0.602202
dcd42f2daa76bc524d4c8ee909709be681a4b7f0
679
py
Python
darshan-util/pydarshan/darshan/error.py
gaocegege/darshan
2d54cd8ec96d26db23e9ca421df48d2031a4c55e
[ "mpich2" ]
null
null
null
darshan-util/pydarshan/darshan/error.py
gaocegege/darshan
2d54cd8ec96d26db23e9ca421df48d2031a4c55e
[ "mpich2" ]
null
null
null
darshan-util/pydarshan/darshan/error.py
gaocegege/darshan
2d54cd8ec96d26db23e9ca421df48d2031a4c55e
[ "mpich2" ]
null
null
null
""" Darshan Error classes and functions. """
24.25
103
0.645066
dcd4c65a2576a728fe423b160c1c1d7a8fc3fb51
6,618
py
Python
etl_e2e/census_etl/dfxml/python/dfxml/fiwalk.py
thinkmoore/das
d9faabf3de987b890a5079b914f5aba597215b14
[ "CC0-1.0" ]
35
2019-04-16T19:37:01.000Z
2022-02-14T20:33:41.000Z
etl_e2e/census_etl/dfxml/python/dfxml/fiwalk.py
thinkmoore/das
d9faabf3de987b890a5079b914f5aba597215b14
[ "CC0-1.0" ]
17
2021-07-02T21:19:52.000Z
2022-01-27T22:30:19.000Z
etl_e2e/census_etl/dfxml/python/dfxml/fiwalk.py
thinkmoore/das
d9faabf3de987b890a5079b914f5aba597215b14
[ "CC0-1.0" ]
12
2019-05-02T19:38:06.000Z
2021-09-11T22:02:03.000Z
#!/usr/bin/env python # This software was developed in whole or in part by employees of the # Federal Government in the course of their official duties, and with # other Federal assistance. Pursuant to title 17 Section 105 of the # United States Code portions of this software authored by Federal # employees are not su...
37.389831
111
0.653974
dcd4e905ad3640b7680d21aba4cf6c5615e3a1ee
17,684
py
Python
backend/tests/test_response.py
PolyCortex/polydodo
473d5a8b89e9bdb68ba9592241e45d30b86b471c
[ "MIT" ]
13
2020-06-02T03:17:10.000Z
2022-03-23T04:06:52.000Z
backend/tests/test_response.py
PolyCortex/polydodo
473d5a8b89e9bdb68ba9592241e45d30b86b471c
[ "MIT" ]
43
2020-07-15T04:21:06.000Z
2022-03-06T00:32:19.000Z
backend/tests/test_response.py
PolyCortex/polydodo
473d5a8b89e9bdb68ba9592241e45d30b86b471c
[ "MIT" ]
2
2020-12-27T07:21:18.000Z
2021-09-16T20:06:47.000Z
""" Not tested as they seemed obvious: - "SleepTime": 31045, // Total amount of time sleeping including nocturnal awakenings (sleepOffset - sleepOnset) - "WASO": 3932, // Total amount of time passed in nocturnal awakenings. It is the total time passed in non-wake stage // from sleep Onset to sleep offse...
42.30622
117
0.604558
dcd4fad7ef29868c6597c0320970ff225d173cc6
602
py
Python
ver_colores.py
maltenzo/surrendeador
a3a0acbcaafa1ddec451cfaa6a75d850904a01e4
[ "MIT" ]
null
null
null
ver_colores.py
maltenzo/surrendeador
a3a0acbcaafa1ddec451cfaa6a75d850904a01e4
[ "MIT" ]
null
null
null
ver_colores.py
maltenzo/surrendeador
a3a0acbcaafa1ddec451cfaa6a75d850904a01e4
[ "MIT" ]
null
null
null
import mouse import keyboard from PIL import Image import pyscreenshot from time import sleep import os while True: # print(mouse.get_position()) print( dame_colores())
25.083333
81
0.679402
dcd6208add7287d2ee89286c6cb5068024c9c289
8,124
py
Python
src/train.py
2212221352/Multimodal-Transformer
7e57e93f75119082ed923a33259f873824c7b300
[ "MIT" ]
null
null
null
src/train.py
2212221352/Multimodal-Transformer
7e57e93f75119082ed923a33259f873824c7b300
[ "MIT" ]
null
null
null
src/train.py
2212221352/Multimodal-Transformer
7e57e93f75119082ed923a33259f873824c7b300
[ "MIT" ]
null
null
null
import torch from torch import nn import sys from src import models from src import ctc from src.utils import * import torch.optim as optim import numpy as np import time from torch.optim.lr_scheduler import ReduceLROnPlateau import os import pickle from sklearn.metrics import classification_report from sklearn.metric...
40.62
133
0.590103
dcd91413a4ee5c2dc186ccc8e249ed33ec01e5cc
4,145
py
Python
datawin-parse.py
BlackLotus/ogme
c163d51d495e61b96d8123cbb0efe8eae0e4fb66
[ "MIT" ]
null
null
null
datawin-parse.py
BlackLotus/ogme
c163d51d495e61b96d8123cbb0efe8eae0e4fb66
[ "MIT" ]
null
null
null
datawin-parse.py
BlackLotus/ogme
c163d51d495e61b96d8123cbb0efe8eae0e4fb66
[ "MIT" ]
null
null
null
#!/usr/bin/python2 # -*- coding: utf-8 -*- import os, sys import binascii import struct import StringIO # chunk names are 4 bytes long # not quite sure how long the header is but I guess 8 bytes for now :> # actually it's not really a header but the first chunk # 4 bytes for the name (FORM) and 4 bytes for the length ...
30.255474
174
0.587696
dcd99c7731f5c8f42cf05cb204ee8f7516acc652
413
py
Python
Diena_1_4_thonny/d2_u2_d11.py
edzya/Python_RTU_08_20
d2921d998c611c18328dd523daf976a27ce858c1
[ "MIT" ]
8
2020-08-31T16:10:54.000Z
2021-11-24T06:37:37.000Z
Diena_1_4_thonny/d2_u2_d11.py
edzya/Python_RTU_08_20
d2921d998c611c18328dd523daf976a27ce858c1
[ "MIT" ]
8
2021-06-08T22:30:29.000Z
2022-03-12T00:48:55.000Z
Diena_1_4_thonny/d2_u2_d11.py
edzya/Python_RTU_08_20
d2921d998c611c18328dd523daf976a27ce858c1
[ "MIT" ]
12
2020-09-28T17:06:52.000Z
2022-02-17T12:12:46.000Z
try: width=float(input("Ieraksti savas istabas platumu (metros): ")) height=float(input("Ieraksti savas istabas augstumu (metros): ")) length=float(input("Ieraksti savas istabas garumu (metros): ")) capacity=round(width*height*length, 2) print(f"Tavas istabas tilpums ir {capacity} m\u00b3.") except ...
45.888889
69
0.714286
dcdafaad8c8fc0f7203bbde1fef43d4a96e917bd
1,381
py
Python
javaStringHashCollision.py
VivekYadav7272/hash_code_collisions
98eed61a4a4d69f1c6985ed43f01a18feb2f9605
[ "MIT" ]
null
null
null
javaStringHashCollision.py
VivekYadav7272/hash_code_collisions
98eed61a4a4d69f1c6985ed43f01a18feb2f9605
[ "MIT" ]
null
null
null
javaStringHashCollision.py
VivekYadav7272/hash_code_collisions
98eed61a4a4d69f1c6985ed43f01a18feb2f9605
[ "MIT" ]
null
null
null
# Program to check how effective is Java's String's Hash Collision # for generating hash codes for Indian Phone No.s import random from pprint import pprint SAMPLE_SPACE = 10000 def genJavaHashCode(phone: str) -> int: """ s[0]*31^(n-1) + s[1]*31^(n-2) + + s[n-1] where : s[i] is the ith ...
30.688889
92
0.627806
dcdb3ea3ab1893474827b46227655af67fd0f6e0
1,701
py
Python
arrhenuis/termodyn.py
xtotdam/leipzig-report
fe4146f9201a8453683ef1221fc768f135677153
[ "MIT" ]
null
null
null
arrhenuis/termodyn.py
xtotdam/leipzig-report
fe4146f9201a8453683ef1221fc768f135677153
[ "MIT" ]
null
null
null
arrhenuis/termodyn.py
xtotdam/leipzig-report
fe4146f9201a8453683ef1221fc768f135677153
[ "MIT" ]
null
null
null
from arrhenius import stringify """ This script generates cool table with termodynamic parameters, taken from 'termodyn-acid.data.txt' and 'termodyn-anion.data.txt' """ head = ''' \\begin{center} \\begin{tabular}{ x{1cm} x{2cm} x{2cm} x{2cm} x{2cm} x{2cm} } \\hline Acid & E$_A$ \\newline kJ/mol & A \\ne...
36.191489
167
0.542034
dcdc34ed85ff8e76e296804c80c837bca03715e7
9,930
py
Python
functree/tree.py
yutayamate/functree-ng
0eeb59c7117c4271125871929f680f660e4a413a
[ "MIT" ]
17
2019-01-17T09:20:50.000Z
2022-02-08T05:49:35.000Z
functree/tree.py
yutayamate/functree-ng
0eeb59c7117c4271125871929f680f660e4a413a
[ "MIT" ]
17
2019-03-26T10:16:10.000Z
2022-03-11T23:38:33.000Z
functree/tree.py
yutayamate/functree-ng
0eeb59c7117c4271125871929f680f660e4a413a
[ "MIT" ]
7
2019-04-30T02:57:58.000Z
2021-09-01T18:53:20.000Z
#!/usr/bin/env python3 import re, copy, urllib.request, urllib.parse, argparse, json import networkx as nx KEGG_DOWNLOAD_HTEXT_ENDPOINT = 'http://www.genome.jp/kegg-bin/download_htext?' EXCLUDES = ['Global and overview maps', 'Drug Development', 'Chemical structure transformation maps'] def from_tsv(path, name): ...
38.941176
135
0.544411
dcdd023a81feca70c98120ea168d3604a0c94976
416
py
Python
app/config.py
dogukangungordi/cinetify-Movie
85946010f4471cef0fb42873d50d59493372d060
[ "MIT" ]
null
null
null
app/config.py
dogukangungordi/cinetify-Movie
85946010f4471cef0fb42873d50d59493372d060
[ "MIT" ]
null
null
null
app/config.py
dogukangungordi/cinetify-Movie
85946010f4471cef0fb42873d50d59493372d060
[ "MIT" ]
null
null
null
import os TWO_WEEKS = 1209600 SECRET_KEY = os.getenv('SECRET_KEY', None) assert SECRET_KEY TOKEN_EXPIRES = TWO_WEEKS DATABASE_URL = os.getenv( 'DATABASE_URL', 'postgres://postgres@{0}:5432/postgres'.format(os.getenv('DB_PORT_5432_TCP_ADDR', None))) assert DATABASE_URL REDIS_HOST = os.getenv('REDIS_HOST', ...
23.111111
93
0.759615
dcdd6e685bb422c18bab7a2d6e2b60a9ba328309
597
py
Python
2020/day02/password_philosopy.py
rycmak/advent-of-code
2a3289516f4c1d0bc1d24a38d495a93edcb19e29
[ "MIT" ]
1
2021-03-03T01:40:09.000Z
2021-03-03T01:40:09.000Z
2020/day02/password_philosopy.py
rycmak/advent-of-code
2a3289516f4c1d0bc1d24a38d495a93edcb19e29
[ "MIT" ]
null
null
null
2020/day02/password_philosopy.py
rycmak/advent-of-code
2a3289516f4c1d0bc1d24a38d495a93edcb19e29
[ "MIT" ]
null
null
null
file = open("input.txt", "r") num_valid = 0 for line in file: # policy = part before colon policy = line.strip().split(":")[0] # get min/max number allowed for given letter min_max = policy.split(" ")[0] letter = policy.split(" ")[1] min = int(min_max.split("-")[0]) max = int(min_max.split("-")[1]) ...
28.428571
69
0.644891
dcddcfee3d5454fe6a00d6247e9174457baf2d21
4,209
py
Python
tools/config_setting.py
JBoRu/IMN-Pytorch-implement
2e605353a2f9aac2c151b72c40a19eb2a9eb9967
[ "MIT" ]
1
2020-05-08T02:03:20.000Z
2020-05-08T02:03:20.000Z
tools/config_setting.py
JBoRu/IMN-Pytorch-implement
2e605353a2f9aac2c151b72c40a19eb2a9eb9967
[ "MIT" ]
1
2021-07-21T07:33:23.000Z
2021-07-22T02:09:55.000Z
tools/config_setting.py
JBoRu/IMN-Pytorch-implement
2e605353a2f9aac2c151b72c40a19eb2a9eb9967
[ "MIT" ]
null
null
null
import argparse import logging import numpy as np
89.553191
195
0.703968
dcde4bcab3184fcfb3d10a1de327eba5c84c244b
3,503
py
Python
data_loader.py
franpena-kth/learning-deep-learning
9cd287b602dee1358672c4189445721a9c24f107
[ "MIT" ]
null
null
null
data_loader.py
franpena-kth/learning-deep-learning
9cd287b602dee1358672c4189445721a9c24f107
[ "MIT" ]
null
null
null
data_loader.py
franpena-kth/learning-deep-learning
9cd287b602dee1358672c4189445721a9c24f107
[ "MIT" ]
null
null
null
import h5py import numpy import sklearn import sklearn.datasets from matplotlib import pyplot
40.264368
112
0.666572
dce163daae46473015d3b2a1132e2c0325c306ae
669
py
Python
landmarkrest/field_predictor/field_models/TwoDigitYear.py
inferlink/landmark-rest
5bda40424bd1d62c64c9f4931855b4e341742b95
[ "BSD-4-Clause" ]
null
null
null
landmarkrest/field_predictor/field_models/TwoDigitYear.py
inferlink/landmark-rest
5bda40424bd1d62c64c9f4931855b4e341742b95
[ "BSD-4-Clause" ]
null
null
null
landmarkrest/field_predictor/field_models/TwoDigitYear.py
inferlink/landmark-rest
5bda40424bd1d62c64c9f4931855b4e341742b95
[ "BSD-4-Clause" ]
null
null
null
from BaseModel import BaseModel
33.45
87
0.630792
dce57c487095cb71ffd506dd3c16e7691af00444
5,078
py
Python
compressor.py
kunliu7/compress_2RDM
29ffa35ae5172d897fefb431b7894cdaf38b91ae
[ "MIT" ]
null
null
null
compressor.py
kunliu7/compress_2RDM
29ffa35ae5172d897fefb431b7894cdaf38b91ae
[ "MIT" ]
null
null
null
compressor.py
kunliu7/compress_2RDM
29ffa35ae5172d897fefb431b7894cdaf38b91ae
[ "MIT" ]
null
null
null
import numpy as np
31.153374
99
0.541355
dce5e9ef143c58e970f4648e4aa54bd55e17fa5f
5,285
py
Python
Lib/site-packages/node/tests/test_lifecycle.py
Dr8Ninja/ShareSpace
7b445783a313cbdebb1938e824e98370a42def5f
[ "MIT" ]
11
2015-04-02T17:47:44.000Z
2020-10-26T20:27:43.000Z
Lib/site-packages/node/tests/test_lifecycle.py
Dr8Ninja/ShareSpace
7b445783a313cbdebb1938e824e98370a42def5f
[ "MIT" ]
5
2017-01-18T11:05:42.000Z
2019-03-30T06:19:21.000Z
Lib/site-packages/node/tests/test_lifecycle.py
Dr8Ninja/ShareSpace
7b445783a313cbdebb1938e824e98370a42def5f
[ "MIT" ]
2
2015-09-15T06:50:22.000Z
2016-12-01T11:12:01.000Z
from node.behaviors import Attributes from node.behaviors import AttributesLifecycle from node.behaviors import DefaultInit from node.behaviors import DictStorage from node.behaviors import Lifecycle from node.behaviors import NodeAttributes from node.behaviors import Nodespaces from node.behaviors import Nodify from n...
30.373563
79
0.652602
dce61460a569ea1c684c33c8c9a8695d6d330978
547
py
Python
sources/t08/t08ej02.py
workready/pythonbasic
59bd82caf99244f5e711124e1f6f4dec8de22141
[ "MIT" ]
null
null
null
sources/t08/t08ej02.py
workready/pythonbasic
59bd82caf99244f5e711124e1f6f4dec8de22141
[ "MIT" ]
null
null
null
sources/t08/t08ej02.py
workready/pythonbasic
59bd82caf99244f5e711124e1f6f4dec8de22141
[ "MIT" ]
null
null
null
jorge = Empleado("Jorge", "jorge@mail.com") jorge.guapo = "Por supuesto" # Probando hasattr, getattr, setattr print(hasattr(jorge, 'guapo')) # True print(getattr(jorge, 'guapo')) # Por supuesto print(hasattr(jorge, 'listo')) # False setattr(jorge, 'listo', 'Ms que las monas') print(getattr(jorge, 'listo')) # Ma...
27.35
51
0.670932
dce6dd052404f932eea34b3955c8909dbf822ff0
852
py
Python
utils/label_smoothing.py
wdjose/keyword-transformer
ded7ee4dae3e0a164f6f2ebb46c105431aadc9d1
[ "MIT" ]
9
2021-05-15T17:57:50.000Z
2022-03-28T14:39:43.000Z
utils/label_smoothing.py
wdjose/kws-transformer
ded7ee4dae3e0a164f6f2ebb46c105431aadc9d1
[ "MIT" ]
null
null
null
utils/label_smoothing.py
wdjose/kws-transformer
ded7ee4dae3e0a164f6f2ebb46c105431aadc9d1
[ "MIT" ]
2
2021-05-15T18:01:36.000Z
2021-06-02T06:22:43.000Z
import torch from torch import nn # LabelSmoothingLoss from: https://github.com/dreamgonfly/transformer-pytorch/blob/master/losses.py # License: https://github.com/dreamgonfly/transformer-pytorch/blob/master/LICENSE
42.6
99
0.67723
dce816b69b0582baaf4d9c46666864b3035d5fab
931
py
Python
lib/west_tools/westpa/reweight/__init__.py
ajoshpratt/westpa
545a42a5ae4cfa77de0e125a38a5b1ec2b9ab218
[ "MIT" ]
1
2019-12-21T09:11:54.000Z
2019-12-21T09:11:54.000Z
lib/west_tools/westpa/reweight/__init__.py
astatide/westpa
545a42a5ae4cfa77de0e125a38a5b1ec2b9ab218
[ "MIT" ]
1
2020-04-14T20:49:38.000Z
2020-04-14T20:49:38.000Z
lib/west_tools/westpa/reweight/__init__.py
ajoshpratt/westpa
545a42a5ae4cfa77de0e125a38a5b1ec2b9ab218
[ "MIT" ]
1
2020-04-14T20:42:11.000Z
2020-04-14T20:42:11.000Z
# Copyright (C) 2017 Matthew C. Zwier and Lillian T. Chong # # This file is part of WESTPA. # # WESTPA is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any...
33.25
72
0.765843
dce9049b9ad5800c270533fc62b259d65fd6b5da
3,044
py
Python
platforms/m3/programming/mbus_message.py
lab11/M-ulator
95b49c6194678c74accca4a20af71380efbcac5f
[ "Apache-2.0", "MIT" ]
19
2015-01-26T10:47:23.000Z
2021-08-13T11:07:54.000Z
platforms/m3/programming/mbus_message.py
lab11/M-ulator
95b49c6194678c74accca4a20af71380efbcac5f
[ "Apache-2.0", "MIT" ]
14
2015-08-24T02:35:46.000Z
2021-05-05T03:53:44.000Z
platforms/m3/programming/mbus_message.py
lab11/M-ulator
95b49c6194678c74accca4a20af71380efbcac5f
[ "Apache-2.0", "MIT" ]
9
2015-05-27T23:27:35.000Z
2020-10-05T22:02:43.000Z
#!/usr/bin/python import sys import logging from m3_common import m3_common #m3_common.configure_root_logger() #logger = logging.getLogger(__name__) from m3_logging import get_logger logger = get_logger(__name__) m = mbus_message_generator() #m.do_default("Run power-on sequence", m.power_on) #m.do_default("Reset ...
33.450549
96
0.654402
dce928dcf018f001f3c1247ee7dfb3079e1b064c
1,172
py
Python
test/test_nn/test_distribution/test_gaussian.py
brunomaga/PRML
47d9830b39e91690cedb27003934df85cfb8c5c7
[ "MIT" ]
11,017
2017-07-03T03:06:25.000Z
2022-03-30T18:47:20.000Z
test/test_nn/test_distribution/test_gaussian.py
brunomaga/PRML
47d9830b39e91690cedb27003934df85cfb8c5c7
[ "MIT" ]
21
2017-08-13T01:35:41.000Z
2022-03-21T06:25:09.000Z
test/test_nn/test_distribution/test_gaussian.py
brunomaga/PRML
47d9830b39e91690cedb27003934df85cfb8c5c7
[ "MIT" ]
3,417
2017-07-05T12:55:52.000Z
2022-03-30T18:47:27.000Z
import unittest import numpy as np import prml.nn as nn if __name__ == "__main__": unittest.main()
32.555556
93
0.598123
dce9859de967085bbcf63975cb47a3c6a5bf26ec
1,087
py
Python
monsterapi/migrations/0023_check.py
merenor/momeback
33195c43abd2757a361dfc5cb7e3cf56f6b57402
[ "MIT" ]
1
2018-11-05T13:08:48.000Z
2018-11-05T13:08:48.000Z
monsterapi/migrations/0023_check.py
merenor/momeback
33195c43abd2757a361dfc5cb7e3cf56f6b57402
[ "MIT" ]
null
null
null
monsterapi/migrations/0023_check.py
merenor/momeback
33195c43abd2757a361dfc5cb7e3cf56f6b57402
[ "MIT" ]
null
null
null
# Generated by Django 2.1.3 on 2018-11-24 13:52 from django.db import migrations, models import django.db.models.deletion import django.utils.timezone
40.259259
140
0.643054
dceac604206c3804e988356a36e1c21687d75def
50
py
Python
api_module/___init__.py
miscdec/tk-auto-study
2c5c716ab652dfc04796c335d2fb2bc01c494ccd
[ "MIT" ]
null
null
null
api_module/___init__.py
miscdec/tk-auto-study
2c5c716ab652dfc04796c335d2fb2bc01c494ccd
[ "MIT" ]
null
null
null
api_module/___init__.py
miscdec/tk-auto-study
2c5c716ab652dfc04796c335d2fb2bc01c494ccd
[ "MIT" ]
null
null
null
from . import main_api __all__=[ "main_api" ]
10
22
0.66
dcec0a27d90cdc4a82ce90945f1522764fe59ffb
5,852
py
Python
result/fig1_opt/plot.py
HongdaWu1226/FedPNS
9045da7c925bee006ae8ea5432abbc44bc84376c
[ "MIT" ]
null
null
null
result/fig1_opt/plot.py
HongdaWu1226/FedPNS
9045da7c925bee006ae8ea5432abbc44bc84376c
[ "MIT" ]
null
null
null
result/fig1_opt/plot.py
HongdaWu1226/FedPNS
9045da7c925bee006ae8ea5432abbc44bc84376c
[ "MIT" ]
null
null
null
import sys import argparse import matplotlib.pyplot as plt import numpy as np import pickle matrices = ['acc', 'loss'] # labels = ['fedavg_5iid_5niid', 'fedavg_6iid_4niid', 'fedavg_2iid_8niid', 'fedavg_8iid_2niid' ] # labels_prun = ['fedavg_5iid_5niid_prun', 'fedavg_6iid_4niid_prun', 'fedavg_8iid_2niid_prun'] ...
28.827586
122
0.572454
dcec0a932b384751e223e69c5f0bacbab7b74478
2,502
py
Python
tools/solViewer.py
afkummer/gecco2020-brkga
a76438483528da54a0406925ffb8ae26a029c2eb
[ "MIT" ]
null
null
null
tools/solViewer.py
afkummer/gecco2020-brkga
a76438483528da54a0406925ffb8ae26a029c2eb
[ "MIT" ]
null
null
null
tools/solViewer.py
afkummer/gecco2020-brkga
a76438483528da54a0406925ffb8ae26a029c2eb
[ "MIT" ]
2
2020-04-11T07:39:15.000Z
2020-10-19T16:58:13.000Z
#!/usr/bin/env python3 # -*- coding:utf-8 -*- # # The MIT License (MIT) # # Copyright (c) 2020 # Alberto Francisco Kummer Neto (afkneto@inf.ufrgs.br), # Luciana Salete Buriol (buriol@inf.ufrgs.br) and # Olinto Csar Bassi de Arajo (olinto@ctism.ufsm.br) # # Permission is hereby granted, free of charge, to any person ob...
29.093023
82
0.673861
dcec3b942ff3cfa0abdd8f17276dd930a550b6c9
936
py
Python
test cases/unittest_homophone_module.py
johnbumgarner/wordhoard
c71ad970505801ffe6d5c640c63f073c434b9a47
[ "MIT" ]
40
2020-10-21T19:49:51.000Z
2022-03-05T20:46:58.000Z
test cases/unittest_homophone_module.py
johnbumgarner/wordhoard
c71ad970505801ffe6d5c640c63f073c434b9a47
[ "MIT" ]
10
2021-08-15T13:56:03.000Z
2022-03-03T14:15:26.000Z
test cases/unittest_homophone_module.py
johnbumgarner/wordhoard
c71ad970505801ffe6d5c640c63f073c434b9a47
[ "MIT" ]
4
2020-12-30T15:22:07.000Z
2022-02-01T21:05:49.000Z
#!/usr/bin/env python3 """ This Python script is designed to perform unit testing of Wordhoard's Homophones module. """ __author__ = 'John Bumgarner' __date__ = 'September 20, 2020' __status__ = 'Quality Assurance' __license__ = 'MIT' __copyright__ = "Copyright (C) 2021 John Bumgarner" import unittest from wordhoard...
25.297297
86
0.690171
dcec6ff0d9def2fe9c68c69ed39626402f66ee06
3,492
py
Python
resist/types/models/message.py
an-dyy/Resist
db4526e2db78bbd8d16567ae3e3880cf2c64eda1
[ "MIT" ]
4
2022-03-05T21:54:14.000Z
2022-03-13T07:51:07.000Z
resist/types/models/message.py
an-dyy/Resist
db4526e2db78bbd8d16567ae3e3880cf2c64eda1
[ "MIT" ]
1
2022-03-09T20:15:09.000Z
2022-03-10T10:39:25.000Z
resist/types/models/message.py
an-dyy/Resist
db4526e2db78bbd8d16567ae3e3880cf2c64eda1
[ "MIT" ]
1
2022-03-09T10:58:54.000Z
2022-03-09T10:58:54.000Z
from __future__ import annotations from typing import Literal, TypedDict, Union, final from typing_extensions import NotRequired from .asset import AssetData SoundcloudLinkEmbedMetadata = TypedDict( "SoundcloudLinkEmbedMetadata", {"type": Literal["Soundcloud"]} ) NoneEmbed = TypedDict("NoneEmbed", {...
23.436242
80
0.70189
dceca6923a77f2914c413d91ca752154c85edfb7
2,933
py
Python
baseline/DRL/rpm.py
sugam45/CS771_project
0361fd71fa65981614bc14bff8dceb763cb7c152
[ "MIT" ]
null
null
null
baseline/DRL/rpm.py
sugam45/CS771_project
0361fd71fa65981614bc14bff8dceb763cb7c152
[ "MIT" ]
null
null
null
baseline/DRL/rpm.py
sugam45/CS771_project
0361fd71fa65981614bc14bff8dceb763cb7c152
[ "MIT" ]
2
2020-12-09T05:00:24.000Z
2021-12-05T12:00:12.000Z
# from collections import deque import numpy as np import random import torch import pickle as pickle from torch.autograd import Variable
38.592105
116
0.617797
dcedf5797dbbe753e782f1e510c2e2eadacb0ae4
1,519
py
Python
Line bot/app/models_for_line.py
FatTtyLoser/LINE-Bot
32c5ffaabbf9c84b161ae720333b1405887be10a
[ "MIT" ]
null
null
null
Line bot/app/models_for_line.py
FatTtyLoser/LINE-Bot
32c5ffaabbf9c84b161ae720333b1405887be10a
[ "MIT" ]
null
null
null
Line bot/app/models_for_line.py
FatTtyLoser/LINE-Bot
32c5ffaabbf9c84b161ae720333b1405887be10a
[ "MIT" ]
null
null
null
from app import handler from app import line_bot_api, handler from linebot.models import ( MessageEvent, TextMessage, TextSendMessage, ImageSendMessage ) import random import re import urllib
29.784314
135
0.622778
dcee0aabb64225f7e08fe67c3434070100bac04e
5,885
py
Python
misc/m2g_script.py
PSSF23/neurodata.io
81ae10cc5082136db2d654026737a0a64f65cd88
[ "Apache-2.0" ]
9
2018-11-23T15:21:23.000Z
2022-03-27T22:41:29.000Z
misc/m2g_script.py
PSSF23/neurodata.io
81ae10cc5082136db2d654026737a0a64f65cd88
[ "Apache-2.0" ]
515
2016-02-17T19:58:15.000Z
2022-03-31T20:57:48.000Z
misc/m2g_script.py
PSSF23/neurodata.io
81ae10cc5082136db2d654026737a0a64f65cd88
[ "Apache-2.0" ]
19
2016-03-25T19:52:57.000Z
2022-01-11T01:17:19.000Z
import boto3 import botocore from ruamel.yaml import YAML yaml = YAML() CLIENT = boto3.client('s3', # region_name='us-east-1', config=botocore.client.Config(signature_version=botocore.UNSIGNED)) RESOURCE = boto3.resource('s3') REF_DIFF = {'SWU4': 'http://fcon_1000.projects.nitrc.org/indi/CoRR/h...
38.214286
89
0.581648
dcf22457d7a59600a3e671d892fcbc97a92f684c
207
py
Python
pip_services3_prometheus/count/__init__.py
pip-services-python/pip-services-prometheus-python
062be3bad4548c4733f0ed398d7b6069018eaffa
[ "MIT" ]
null
null
null
pip_services3_prometheus/count/__init__.py
pip-services-python/pip-services-prometheus-python
062be3bad4548c4733f0ed398d7b6069018eaffa
[ "MIT" ]
null
null
null
pip_services3_prometheus/count/__init__.py
pip-services-python/pip-services-prometheus-python
062be3bad4548c4733f0ed398d7b6069018eaffa
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- __all__ = ['PrometheusCounterConverter', 'PrometheusCounters'] from .PrometheusCounterConverter import PrometheusCounterConverter from .PrometheusCounters import PrometheusCounters
29.571429
66
0.816425
dcf39fbfef9164b52a639bb7ce9ec336fdfee6b7
635
py
Python
datenight/urls.py
SarahJaine/date-night
fb63b68cfb115f52c5d3ec39f2e73454c5d63bb6
[ "MIT" ]
null
null
null
datenight/urls.py
SarahJaine/date-night
fb63b68cfb115f52c5d3ec39f2e73454c5d63bb6
[ "MIT" ]
null
null
null
datenight/urls.py
SarahJaine/date-night
fb63b68cfb115f52c5d3ec39f2e73454c5d63bb6
[ "MIT" ]
null
null
null
from django.conf import settings from django.conf.urls import include, url from django.contrib import admin from datenight.views import HomePageView urlpatterns = [ # Examples: url(r'^$', HomePageView.as_view(), name='home'), # url(r'^blog/', include('blog.urls')), url(r'^admin/rq/', include('django...
27.608696
83
0.696063
dcf431fc5aea71e31c30dbdd5ee59dfa4598f2c6
8,337
py
Python
plugins/view/tightening_controller_views.py
masami10/airflow
3df5353d7a31ec890925dc4fd7c2a82fd349a483
[ "Apache-2.0", "BSD-2-Clause", "MIT", "ECL-2.0", "BSD-3-Clause" ]
1
2021-03-03T07:00:02.000Z
2021-03-03T07:00:02.000Z
plugins/view/tightening_controller_views.py
masami10/airflow
3df5353d7a31ec890925dc4fd7c2a82fd349a483
[ "Apache-2.0", "BSD-2-Clause", "MIT", "ECL-2.0", "BSD-3-Clause" ]
36
2021-11-26T00:08:49.000Z
2021-11-26T00:09:33.000Z
plugins/view/tightening_controller_views.py
masami10/airflow
3df5353d7a31ec890925dc4fd7c2a82fd349a483
[ "Apache-2.0", "BSD-2-Clause", "MIT", "ECL-2.0", "BSD-3-Clause" ]
3
2020-06-30T02:38:17.000Z
2022-01-19T06:14:08.000Z
# -*- coding: utf-8 -*- from flask import flash, make_response, request import json from flask_babel import lazy_gettext, gettext from datetime import datetime from flask_login import current_user from flask_appbuilder.actions import action from flask_appbuilder import expose from flask import redirect from plugins.com...
36.247826
119
0.689816
dcf4b8560b916ceca9700c2e7bf16bb6a53c4588
3,601
py
Python
src/python/nimbusml/internal/entrypoints/models_ovamodelcombiner.py
GalOshri/NimbusML
a2ba6f51b7c8cdd3c3316d5ecf4605621be3bd8d
[ "MIT" ]
2
2019-03-01T01:22:54.000Z
2019-07-10T19:57:38.000Z
src/python/nimbusml/internal/entrypoints/models_ovamodelcombiner.py
GalOshri/NimbusML
a2ba6f51b7c8cdd3c3316d5ecf4605621be3bd8d
[ "MIT" ]
null
null
null
src/python/nimbusml/internal/entrypoints/models_ovamodelcombiner.py
GalOshri/NimbusML
a2ba6f51b7c8cdd3c3316d5ecf4605621be3bd8d
[ "MIT" ]
null
null
null
# - Generated by tools/entrypoint_compiler.py: do not edit by hand """ Models.OvaModelCombiner """ from ..utils.entrypoints import EntryPoint from ..utils.utils import try_set, unlist def models_ovamodelcombiner( training_data, predictor_model=None, model_array=None, use_probabilitie...
31.867257
71
0.599833
dcf50395b719a7f5d100f42a4c173a03d2453dfa
2,496
py
Python
kraken/public/views.py
peterdemartini/KrakenMaster
2b3ed18f6dcc720e66e1ac397a3b5ee902914e58
[ "BSD-3-Clause" ]
1
2016-12-22T22:25:05.000Z
2016-12-22T22:25:05.000Z
kraken/public/views.py
peterdemartini/KrakenMaster
2b3ed18f6dcc720e66e1ac397a3b5ee902914e58
[ "BSD-3-Clause" ]
null
null
null
kraken/public/views.py
peterdemartini/KrakenMaster
2b3ed18f6dcc720e66e1ac397a3b5ee902914e58
[ "BSD-3-Clause" ]
1
2022-03-28T00:28:07.000Z
2022-03-28T00:28:07.000Z
# -*- coding: utf-8 -*- '''Public section, including homepage and signup.''' from flask import (Blueprint, request, render_template, flash, url_for, redirect, session) from flask.ext.login import login_user, login_required, logout_user from kraken.extensions import login_manager from kraken.user.mo...
34.666667
93
0.659054
dcf7760ee0ea08cc59fe587411f1de19eb0c37fe
374
py
Python
web/game/migrations/0002_message_visible.py
ihsgnef/kuiperbowl
a0c3e346bc05ed149fdb34f12b872c983a40613e
[ "MIT" ]
null
null
null
web/game/migrations/0002_message_visible.py
ihsgnef/kuiperbowl
a0c3e346bc05ed149fdb34f12b872c983a40613e
[ "MIT" ]
5
2019-10-01T03:34:43.000Z
2020-05-26T14:28:40.000Z
web/game/migrations/0002_message_visible.py
jasmaa/quizbowl
282fe17217891266da96bcf1a9da4af5eff80fcc
[ "MIT" ]
1
2021-05-10T01:46:45.000Z
2021-05-10T01:46:45.000Z
# Generated by Django 2.2.7 on 2020-05-29 19:44 from django.db import migrations, models
19.684211
52
0.585561
dcf7946f10ce6e7e4b323d54039dd26ab7fa02da
271
py
Python
problem_49/test_prime_permutations.py
plilja/project-euler
646d1989cf15e903ef7e3c6e487284847d522ec9
[ "Apache-2.0" ]
null
null
null
problem_49/test_prime_permutations.py
plilja/project-euler
646d1989cf15e903ef7e3c6e487284847d522ec9
[ "Apache-2.0" ]
null
null
null
problem_49/test_prime_permutations.py
plilja/project-euler
646d1989cf15e903ef7e3c6e487284847d522ec9
[ "Apache-2.0" ]
null
null
null
import unittest from prime_permutations import * if __name__ == '__main__': unittest.main()
20.846154
82
0.741697
dcf7baef1e6706bbb04fa4359be5af5f09500ebe
1,495
py
Python
lecture10/inventory_hitting_time.py
BenGravell/optimal-control-course
ae8ab619b5c138f79d466d9c6dfc7af46b2a23b6
[ "MIT" ]
null
null
null
lecture10/inventory_hitting_time.py
BenGravell/optimal-control-course
ae8ab619b5c138f79d466d9c6dfc7af46b2a23b6
[ "MIT" ]
null
null
null
lecture10/inventory_hitting_time.py
BenGravell/optimal-control-course
ae8ab619b5c138f79d466d9c6dfc7af46b2a23b6
[ "MIT" ]
null
null
null
import numpy as np import numpy.linalg as la import matplotlib.pyplot as plt capacity = 6 prob_demand_mass = np.array([0.7, 0.2, 0.1]) prob_demand_supp = np.array([0, 1, 2]) T = 50 P = np.array([[0, 0, 0, 0, prob_demand_mass[0], prob_demand_mass[1], prob_demand_mass[2]], [0, 0, 0, 0, prob_demand_mass[0...
36.463415
102
0.656856
dcfa4eb39a27cde22f1cd1ef58378d755009e643
1,177
py
Python
mongoproj/First_Q_City/Paris.py
OuassimAKEBLI/MongoDB
d224a8d7e2a2bd8451b2b46e39602e085994c6b8
[ "Apache-2.0" ]
null
null
null
mongoproj/First_Q_City/Paris.py
OuassimAKEBLI/MongoDB
d224a8d7e2a2bd8451b2b46e39602e085994c6b8
[ "Apache-2.0" ]
null
null
null
mongoproj/First_Q_City/Paris.py
OuassimAKEBLI/MongoDB
d224a8d7e2a2bd8451b2b46e39602e085994c6b8
[ "Apache-2.0" ]
null
null
null
import requests import json from pprint import pprint from pymongo import MongoClient v_paris = get_vparis() v_paris_to_insert = [ { 'name': elem.get('fields', {}).get('name', '').title(), 'geometry': elem.get('geometry'), 'size': elem.get('fields', {}).get('capacity'), 'source':...
30.179487
119
0.641461
dcfc51bcf5d6a13b28a3e162e544af447ae8e347
681
py
Python
Youcheng/twitter_REST.py
xiaoli-chen/Godel
181b347aa88220b0e3e9ae628089f5acd1e6f170
[ "Apache-2.0" ]
null
null
null
Youcheng/twitter_REST.py
xiaoli-chen/Godel
181b347aa88220b0e3e9ae628089f5acd1e6f170
[ "Apache-2.0" ]
null
null
null
Youcheng/twitter_REST.py
xiaoli-chen/Godel
181b347aa88220b0e3e9ae628089f5acd1e6f170
[ "Apache-2.0" ]
null
null
null
#from twython import Twython from twitter import Twitter, OAuth, TwitterHTTPError, TwitterStream import json CONSUMER_KEY = 'pxeqo0ylpUayIIl5Nlc2kBmkb' CONSUMER_SECRET = 'JUAAG5ilMS9TxZN1Y0ZKwPhsamtE3gFoIYTnKfwWTGqGmF6zXL' ACCESS_TOKEN = '395150986-GiB9RbBtrjjiEetZ977wtQwYGVWCuhiPMir0962F' ACCESS_SECRET = 'DUk5aVVGGy...
32.428571
78
0.806167
dcfe313a4570b1136b9927ba85fb05f98e2c3f09
2,903
py
Python
app/risk/RiskEngine.py
OuissalTAIM/jenkins
7ea5bcdeb6c0bb3cc14c2826a68e4f521de163c1
[ "BSD-1-Clause" ]
null
null
null
app/risk/RiskEngine.py
OuissalTAIM/jenkins
7ea5bcdeb6c0bb3cc14c2826a68e4f521de163c1
[ "BSD-1-Clause" ]
6
2021-02-02T22:52:41.000Z
2022-03-12T00:37:30.000Z
app/risk/RiskEngine.py
OuissalTAIM/jenkins
7ea5bcdeb6c0bb3cc14c2826a68e4f521de163c1
[ "BSD-1-Clause" ]
null
null
null
# -*- coding: utf-8 -*- from app.data.DataManager import DataManager from app.model.Simulator import Simulator from app.data.Client import Driver from app.tools.Logger import logger_sensitivity as logger from app.model.ScenarioGenerator import ScenarioGeneratorFactory as SGF from app.config.env import ScenarioGenerat...
42.072464
122
0.619015
0d00ee6cb81689f5aa3f9ed7df94760a8859265c
2,129
py
Python
upf/python/upf.py
aiplan4eu/upf-poc
616c4044a4d0f26dc00aa3d371f61329b173bf8f
[ "Apache-2.0" ]
null
null
null
upf/python/upf.py
aiplan4eu/upf-poc
616c4044a4d0f26dc00aa3d371f61329b173bf8f
[ "Apache-2.0" ]
null
null
null
upf/python/upf.py
aiplan4eu/upf-poc
616c4044a4d0f26dc00aa3d371f61329b173bf8f
[ "Apache-2.0" ]
null
null
null
import importlib from dataclasses import dataclass from typing import FrozenSet, Callable, List class Solver(): class LinkedSolver(Solver): from contextlib import contextmanager if __name__ == '__main__': size = 10 problem = generate_problem(size) planners = ['cppplanner_upf', 'pyplanner_upf', '...
25.963415
104
0.610146
0d034550164c2e8133c022210ebe779bc78107db
1,547
py
Python
rnnparser/RecursiveNN/tests/test_code_gen.py
uphere-co/nlp-prototype
c4623927e5c5c5f9c3e702eb36497ea1d9fd1ff3
[ "BSD-3-Clause" ]
null
null
null
rnnparser/RecursiveNN/tests/test_code_gen.py
uphere-co/nlp-prototype
c4623927e5c5c5f9c3e702eb36497ea1d9fd1ff3
[ "BSD-3-Clause" ]
null
null
null
rnnparser/RecursiveNN/tests/test_code_gen.py
uphere-co/nlp-prototype
c4623927e5c5c5f9c3e702eb36497ea1d9fd1ff3
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- import numpy as np import pytest from recursiveNN.nodes import Val,Var,VSF, Add,Mul,Dot,CTimes,Transpose, Node
38.675
100
0.553975
0d05520e82655910896021870c67e33da2f6dc74
569
py
Python
tests/api/schemas/test_product_schema.py
igor822/product-categorization
e9c64834bf60cd9d51ab9b696b1b3ea49e702c9d
[ "MIT" ]
19
2018-11-13T15:12:12.000Z
2022-01-31T20:43:26.000Z
tests/api/schemas/test_product_schema.py
igor822/product-categorization
e9c64834bf60cd9d51ab9b696b1b3ea49e702c9d
[ "MIT" ]
null
null
null
tests/api/schemas/test_product_schema.py
igor822/product-categorization
e9c64834bf60cd9d51ab9b696b1b3ea49e702c9d
[ "MIT" ]
8
2019-03-07T03:32:43.000Z
2020-11-13T01:51:03.000Z
import unittest import pytest from src.api.schemas.product_schema import ProductSchema
27.095238
76
0.683656
0d058e1ee4a48662be58d98c65151d8e58a92c4b
430
py
Python
InterAutoTest_W/testcase/t_pytest/pytest_class.py
xuguoyan/pytest_api3
c83d8b1fbd2b061db9d6dee40068ac84ae81c708
[ "MIT" ]
7
2019-11-28T07:17:37.000Z
2020-10-28T08:24:09.000Z
InterAutoTest_W/testcase/t_pytest/pytest_class.py
xuguoyan/pytest_api3
c83d8b1fbd2b061db9d6dee40068ac84ae81c708
[ "MIT" ]
null
null
null
InterAutoTest_W/testcase/t_pytest/pytest_class.py
xuguoyan/pytest_api3
c83d8b1fbd2b061db9d6dee40068ac84ae81c708
[ "MIT" ]
7
2021-01-10T14:11:10.000Z
2022-02-28T12:41:04.000Z
#coding=utf-8 """ 1.; 2.test 3.setup_class, teardown_class 4. """ import pytest if __name__ == "__main__": pytest.main(['-s', 'pytest_class.py'])
17.2
43
0.588372
0d094d21102a554dd26ab1f57fd940c5c211f30e
1,469
py
Python
tests/test_cmd.py
mick88/poeditor-sync
2326b0ff6c0537b3d4ff729fd45b079e0789d2c7
[ "MIT" ]
6
2021-07-16T14:19:44.000Z
2022-03-10T10:27:39.000Z
tests/test_cmd.py
mick88/poeditor-sync
2326b0ff6c0537b3d4ff729fd45b079e0789d2c7
[ "MIT" ]
9
2021-07-10T15:57:52.000Z
2021-10-17T11:44:24.000Z
tests/test_cmd.py
mick88/poeditor-sync
2326b0ff6c0537b3d4ff729fd45b079e0789d2c7
[ "MIT" ]
null
null
null
from unittest import TestCase from click.testing import CliRunner, Result from poeditor_sync.cmd import poeditor
36.725
122
0.684139
0d09b1f3b7cd0f00460955d0c6f059dbe658e86b
3,472
py
Python
cats/cats_simus/vortex.py
brunellacarlomagno/CATS
2fb85366dbca81736d75a982156674523632414f
[ "MIT" ]
null
null
null
cats/cats_simus/vortex.py
brunellacarlomagno/CATS
2fb85366dbca81736d75a982156674523632414f
[ "MIT" ]
null
null
null
cats/cats_simus/vortex.py
brunellacarlomagno/CATS
2fb85366dbca81736d75a982156674523632414f
[ "MIT" ]
null
null
null
import numpy as np import cv2 import proper from cats.cats_simus import *
51.058824
191
0.615495
0d0a48c167ff778fcf72beb6012207a10ec69a12
1,119
py
Python
Search/rotated/Solution.py
Voley/AlgorithmicProblemsV2
0c70e4fe61b66ae3f648ee6dada4dd75a4234edd
[ "MIT" ]
null
null
null
Search/rotated/Solution.py
Voley/AlgorithmicProblemsV2
0c70e4fe61b66ae3f648ee6dada4dd75a4234edd
[ "MIT" ]
null
null
null
Search/rotated/Solution.py
Voley/AlgorithmicProblemsV2
0c70e4fe61b66ae3f648ee6dada4dd75a4234edd
[ "MIT" ]
null
null
null
# Problem code
27.292683
62
0.544236
0d0ada3c223ce67e0153b8f576b9926c738f9141
21,631
py
Python
pysnmp/CISCO-EMBEDDED-EVENT-MGR-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
11
2021-02-02T16:27:16.000Z
2021-08-31T06:22:49.000Z
pysnmp/CISCO-EMBEDDED-EVENT-MGR-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
75
2021-02-24T17:30:31.000Z
2021-12-08T00:01:18.000Z
pysnmp/CISCO-EMBEDDED-EVENT-MGR-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 CISCO-EMBEDDED-EVENT-MGR-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/CISCO-EMBEDDED-EVENT-MGR-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 17:39:13 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python vers...
142.309211
3,183
0.773473
0d0b5671587550eca8af9d7486e1e9c27446306c
277
py
Python
src/util_walk_sftp.py
Chrisebell24/walk_sftp
65dcb4e4231fabe8f8d9f2a6b595371c31ddc0d6
[ "MIT" ]
null
null
null
src/util_walk_sftp.py
Chrisebell24/walk_sftp
65dcb4e4231fabe8f8d9f2a6b595371c31ddc0d6
[ "MIT" ]
null
null
null
src/util_walk_sftp.py
Chrisebell24/walk_sftp
65dcb4e4231fabe8f8d9f2a6b595371c31ddc0d6
[ "MIT" ]
null
null
null
import paramiko
34.625
50
0.696751
0d0cfb3214f9d822574bd483b912ab38da359e78
13,211
py
Python
Project_2/source/project_2.py
larsjbro/FYS4150
95ac4e09b5aad133b29c9aabb5be1302abdd8e65
[ "BSD-2-Clause" ]
null
null
null
Project_2/source/project_2.py
larsjbro/FYS4150
95ac4e09b5aad133b29c9aabb5be1302abdd8e65
[ "BSD-2-Clause" ]
null
null
null
Project_2/source/project_2.py
larsjbro/FYS4150
95ac4e09b5aad133b29c9aabb5be1302abdd8e65
[ "BSD-2-Clause" ]
null
null
null
''' Created on 14. sep. 2017 v2 @author: LJB ''' from __future__ import division, absolute_import from numba import jit, float64, int64, void import numpy as np import matplotlib.pyplot as plt import timeit _DPI = 250 _SIZE = 0.7 def cpu_time(repetition=10, n=100): ''' Grid n =10^6 and two repetitions ga...
32.379902
119
0.594202
0d0d282cf5109854c1ac67b2906a8fd2bb27e9ac
266
py
Python
L.py
tomerl20-meet/meet2018y1mini-proj
5c66652b900c50d0b30326170c21e1b1224c649a
[ "MIT" ]
null
null
null
L.py
tomerl20-meet/meet2018y1mini-proj
5c66652b900c50d0b30326170c21e1b1224c649a
[ "MIT" ]
null
null
null
L.py
tomerl20-meet/meet2018y1mini-proj
5c66652b900c50d0b30326170c21e1b1224c649a
[ "MIT" ]
null
null
null
import turtle screen = turtle.Screen() # this assures that the size of the screen will always be 400x400 ... screen.setup(400, 400) # ... which is the same size as our image # now set the background to our space image screen.bgpic("game.over") turtle.mainloop()
20.461538
69
0.729323
0d0dad0715867923a463d0648e569bd453764be1
844
py
Python
demo.py
PAV-Laboratory/cryptoblotter
f573592a3638fbc6cae24d76305de36b932949c6
[ "MIT" ]
1
2021-08-01T19:16:02.000Z
2021-08-01T19:16:02.000Z
demo.py
PAV-Laboratory/cryptoblotter
f573592a3638fbc6cae24d76305de36b932949c6
[ "MIT" ]
null
null
null
demo.py
PAV-Laboratory/cryptoblotter
f573592a3638fbc6cae24d76305de36b932949c6
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 from cryptofeed import FeedHandler from cryptofeed.defines import TRADES from cryptoblotter.exchanges import CoinbaseBlotter from cryptoblotter.trades import SequentialIntegerTradeCallback, ThreshCallback from cryptoblotter.trades.constants import VOLUME if __name__ == "__main__": fh = F...
24.823529
79
0.562796
0d0e450b602d94ac05485326e1145ffc9479645d
29,665
py
Python
mars/tensor/datasource/tests/test_datasource.py
HarshCasper/mars
4c12c968414d666c7a10f497bc22de90376b1932
[ "Apache-2.0" ]
2
2019-03-29T04:11:10.000Z
2020-07-08T10:19:54.000Z
mars/tensor/datasource/tests/test_datasource.py
HarshCasper/mars
4c12c968414d666c7a10f497bc22de90376b1932
[ "Apache-2.0" ]
null
null
null
mars/tensor/datasource/tests/test_datasource.py
HarshCasper/mars
4c12c968414d666c7a10f497bc22de90376b1932
[ "Apache-2.0" ]
null
null
null
# Copyright 1999-2020 Alibaba Group Holding Ltd. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or a...
38.228093
103
0.607821
0d0f8d40c6da19e8a82a8164266b4e9bf0bbd18d
1,259
py
Python
setup.py
n1k0r/tplink-wr-api
7f4e29b4b08cf6564b06d9bc3381ab5682afd83f
[ "MIT" ]
5
2021-11-02T13:13:10.000Z
2021-12-14T14:13:28.000Z
setup.py
n1k0r/tplink-wr-api
7f4e29b4b08cf6564b06d9bc3381ab5682afd83f
[ "MIT" ]
null
null
null
setup.py
n1k0r/tplink-wr-api
7f4e29b4b08cf6564b06d9bc3381ab5682afd83f
[ "MIT" ]
null
null
null
#!/usr/bin/env python from setuptools import find_packages, setup with open("README.md", "r", encoding="utf-8") as f: long_description = f.read() setup( name="tplink-wr-api", version="0.2.1", url="https://github.com/n1k0r/tplink-wr-api", author="n1k0r", author_email="me@n1k0r.me", descript...
32.282051
59
0.619539
0d10a5908b7fb6316071dd7f27f26e87d1e2419d
5,835
py
Python
examples/qp2q/preprocessing/session_data_processing.py
xeisberg/pecos
c9cf209676205dd000479861667351e724f0ba1c
[ "Apache-2.0" ]
288
2021-04-26T21:34:12.000Z
2022-03-29T19:50:06.000Z
examples/qp2q/preprocessing/session_data_processing.py
xeisberg/pecos
c9cf209676205dd000479861667351e724f0ba1c
[ "Apache-2.0" ]
32
2021-04-29T23:58:23.000Z
2022-03-28T17:23:04.000Z
examples/qp2q/preprocessing/session_data_processing.py
xeisberg/pecos
c9cf209676205dd000479861667351e724f0ba1c
[ "Apache-2.0" ]
63
2021-04-28T20:12:59.000Z
2022-03-29T14:10:36.000Z
"""The module contains functions to preprocess input datasets into usable format.""" import gc import gzip import json import logging import multiprocessing as mp import pathlib import sys from itertools import repeat import numpy as np import scipy.sparse as smat logging.basicConfig( stream=sys.stdout, format...
28.188406
100
0.605484