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
922b49321572191d7b66c10a4c4bde3685820be0
2,598
py
Python
OpenSources/GDAL_moreExamples/class08demos_ogr_gdal/class08_ogr_buffer.py
mehran66/python-geospatial-open-sources
6c56922bdd2a815a98faeb5ac65f674c22486923
[ "MIT" ]
null
null
null
OpenSources/GDAL_moreExamples/class08demos_ogr_gdal/class08_ogr_buffer.py
mehran66/python-geospatial-open-sources
6c56922bdd2a815a98faeb5ac65f674c22486923
[ "MIT" ]
null
null
null
OpenSources/GDAL_moreExamples/class08demos_ogr_gdal/class08_ogr_buffer.py
mehran66/python-geospatial-open-sources
6c56922bdd2a815a98faeb5ac65f674c22486923
[ "MIT" ]
null
null
null
'''********************************************* author: Galen Maclaurin Date: 12/11/2012 Updated: 03/14/2016 , Stefan Leyk Purpose: Simple Buffer example using OGR *********************************************''' from time import clock start = clock() import os from osgeo import ogr # Define variables yo...
37.652174
82
0.706697
922cef519f3bea50e9ca93a2cb8bc5bc4fddf486
4,309
py
Python
Leyva_Davis_op3.py
DavisLeyva/Examen-primer-unidad
9829574f488a14852eee54f9e33ac2f71b280534
[ "MIT" ]
null
null
null
Leyva_Davis_op3.py
DavisLeyva/Examen-primer-unidad
9829574f488a14852eee54f9e33ac2f71b280534
[ "MIT" ]
null
null
null
Leyva_Davis_op3.py
DavisLeyva/Examen-primer-unidad
9829574f488a14852eee54f9e33ac2f71b280534
[ "MIT" ]
null
null
null
from tkinter import Frame,Label,Button,Checkbutton,Scale,StringVar,IntVar,Entry,Tk import serial import time import threading import pandas as pd import mysql.connector if __name__=="__main__": main()
42.245098
182
0.595034
922d36a66e41790999941500aa12a32f8a43c0bf
334
py
Python
sumultiply.py
declanbarr/python-problems
0e3f241438e8420fb16073e24bf239eafc632ca6
[ "Apache-2.0" ]
null
null
null
sumultiply.py
declanbarr/python-problems
0e3f241438e8420fb16073e24bf239eafc632ca6
[ "Apache-2.0" ]
null
null
null
sumultiply.py
declanbarr/python-problems
0e3f241438e8420fb16073e24bf239eafc632ca6
[ "Apache-2.0" ]
null
null
null
# Declan Barr 19 Mar 2018 # Script that contains function sumultiply that takes two integer arguments and # returns their product. Does this without the * or / operators print(sumultiply(11, 13)) print(sumultiply(5, 123))
22.266667
80
0.685629
922e181e066e7a206a91aadb175d4b8f0ac18a0d
2,602
py
Python
docs/code/distributions/multivariate/plot_multivariate_copulas.py
SURGroup/UncertaintyQuantification
a94c8db47d07134ea2b3b0a3ca53ca818532c3e6
[ "MIT" ]
null
null
null
docs/code/distributions/multivariate/plot_multivariate_copulas.py
SURGroup/UncertaintyQuantification
a94c8db47d07134ea2b3b0a3ca53ca818532c3e6
[ "MIT" ]
null
null
null
docs/code/distributions/multivariate/plot_multivariate_copulas.py
SURGroup/UncertaintyQuantification
a94c8db47d07134ea2b3b0a3ca53ca818532c3e6
[ "MIT" ]
null
null
null
""" Multivariate from independent marginals and copula ================================================== """ #%% md # # - How to define bivariate distribution from independent marginals and change its structure based on a copula supported by UQpy # - How to plot the pdf of the distribution # - How to modify the pa...
27.389474
130
0.647579
922f2e4c55b39a64c04985ea44b07548e34ad5a0
38,177
py
Python
tests/bdd_test.py
krooken/dd
dda262e6f4582c7f0c77c56a3f3bdfccc2847b7a
[ "BSD-3-Clause" ]
null
null
null
tests/bdd_test.py
krooken/dd
dda262e6f4582c7f0c77c56a3f3bdfccc2847b7a
[ "BSD-3-Clause" ]
null
null
null
tests/bdd_test.py
krooken/dd
dda262e6f4582c7f0c77c56a3f3bdfccc2847b7a
[ "BSD-3-Clause" ]
null
null
null
import logging from dd.bdd import BDD as _BDD from dd.bdd import preimage from dd import autoref from dd import bdd as _bdd import nose.tools as nt import networkx as nx import networkx.algorithms.isomorphism as iso def test_reduce_combined(): """Fig.5 in 1986 Bryant TOC""" ordering = {'x': 0, ...
26.383552
68
0.524242
922f623f7a3d41cac0130a562f5b7e6ac382fee1
2,639
py
Python
mikelint/analysers/analyser.py
mike-fam/mikelint
4e512039d11e9bbfde18a8cadcbc4608295e663f
[ "MIT" ]
2
2021-04-27T01:13:37.000Z
2021-05-21T02:28:24.000Z
mikelint/analysers/analyser.py
mike-fam/mikelint
4e512039d11e9bbfde18a8cadcbc4608295e663f
[ "MIT" ]
3
2021-05-05T10:21:25.000Z
2021-05-30T12:51:43.000Z
mikelint/analysers/analyser.py
mike-fam/mikelint
4e512039d11e9bbfde18a8cadcbc4608295e663f
[ "MIT" ]
null
null
null
""" Abstract analyser """ from functools import wraps from inspect import getmembers, ismethod from typing import Callable from ..type_hints import AnalyserResults, AnalyserHelper from ..utils import SyntaxTree, BaseViolation, ViolationResult def register_check(error_format: str): """ Registers a new checker...
32.182927
80
0.611595
922fa3dca598bcb019c6f728700b805a4c18143d
2,744
py
Python
tests/test_eos_token_seq_length.py
v0lta/tfkaldi
4772e881cc168439723c19f69a2425588f661060
[ "MIT" ]
57
2017-01-19T15:58:46.000Z
2021-01-12T17:57:31.000Z
tests/test_eos_token_seq_length.py
v0lta/tfkaldi
4772e881cc168439723c19f69a2425588f661060
[ "MIT" ]
null
null
null
tests/test_eos_token_seq_length.py
v0lta/tfkaldi
4772e881cc168439723c19f69a2425588f661060
[ "MIT" ]
15
2017-02-25T17:44:35.000Z
2019-09-23T14:03:18.000Z
from __future__ import absolute_import, division, print_function import numpy as np import tensorflow as tf from IPython.core.debugger import Tracer; debug_here = Tracer(); batch_size = 5 max_it = tf.constant(6) char_mat_1 = [[0.0, 0.0, 0.0, 0.9, 0.0, 0.0], [0.0, 0.0, 0.0, 0.9, 0.0, 0.0], ...
34.3
80
0.543367
923063bef1fb7156669c1bb0bb14d63ac5b20fc0
2,796
py
Python
presentation/ham10kplots.py
iwan933/mlmi-federated-learning
e148664304dd7fbbc2cc2a6a34567533748c1720
[ "MIT" ]
2
2021-09-07T12:52:44.000Z
2021-09-30T09:35:53.000Z
presentation/ham10kplots.py
iwan933/mlmi-federated-learning
e148664304dd7fbbc2cc2a6a34567533748c1720
[ "MIT" ]
null
null
null
presentation/ham10kplots.py
iwan933/mlmi-federated-learning
e148664304dd7fbbc2cc2a6a34567533748c1720
[ "MIT" ]
1
2021-03-02T12:35:28.000Z
2021-03-02T12:35:28.000Z
from typing import List, Tuple import seaborn as sns import matplotlib matplotlib.use('TkAgg') from matplotlib import pyplot as plt import pandas as pd import numpy as np """ Plots of tensorboard results with adjusted theming for presentation """ label_dict = {0: 'akiec', 1: 'bcc', 2: 'bkl', 3: 'df', 4: 'mel', 5: 'nv...
36.311688
86
0.690629
9234049232e94a3055e5a3b996213c1ab5cf8d64
9,937
py
Python
mdn_base.py
Woodenonez/multimodal_motion_prediction
e1c799626a2b99780afe63b64e29042cb8043dd3
[ "MIT" ]
1
2022-03-21T03:28:19.000Z
2022-03-21T03:28:19.000Z
mdn_base.py
Woodenonez/CASE2021_multimodal_motion_prediction
6817333fa7b9f2553c1da70a3a82414ed54dfb42
[ "MIT" ]
null
null
null
mdn_base.py
Woodenonez/CASE2021_multimodal_motion_prediction
6817333fa7b9f2553c1da70a3a82414ed54dfb42
[ "MIT" ]
null
null
null
""" A module for a mixture density network layer (_Mixture Desity Networks_ by Bishop, 1994.) """ import sys import torch import torch.tensor as ts import torch.nn as nn import torch.optim as optim from torch.distributions import Categorical import math # Draw distributions import numpy as np import matplotlib.pyplot ...
36.003623
118
0.607427
9236f54ad779bb50859cbb8fd78dee86260f72c6
29,649
py
Python
djautotask/tests/test_commands.py
KerkhoffTechnologies/django-autotask
458ff0bf65e3ca85fb954f907f05c4c614904afc
[ "MIT" ]
4
2019-04-18T17:12:07.000Z
2021-12-30T21:42:10.000Z
djautotask/tests/test_commands.py
KerkhoffTechnologies/django-autotask
458ff0bf65e3ca85fb954f907f05c4c614904afc
[ "MIT" ]
32
2018-05-30T20:31:22.000Z
2022-02-17T21:36:50.000Z
djautotask/tests/test_commands.py
KerkhoffTechnologies/django-autotask
458ff0bf65e3ca85fb954f907f05c4c614904afc
[ "MIT" ]
5
2018-05-25T23:33:45.000Z
2022-01-04T22:01:46.000Z
import io from atws.wrapper import Wrapper from django.core.management import call_command from django.test import TestCase from djautotask.tests import fixtures, mocks, fixture_utils from djautotask import models
31.441145
79
0.659516
9237845df9705971fc68a591a3a63ea569aa3bde
26,319
py
Python
src/utils/adbtool.py
wangzhi2689/data_analysis
3410856d1df1a9cd95660e28e6ed47fd0102f6aa
[ "Apache-2.0" ]
1
2022-01-01T09:36:54.000Z
2022-01-01T09:36:54.000Z
src/utils/adbtool.py
wangzhi2689/data_analysis
3410856d1df1a9cd95660e28e6ed47fd0102f6aa
[ "Apache-2.0" ]
1
2022-02-26T13:07:05.000Z
2022-02-26T13:07:05.000Z
src/utils/adbtool.py
wangzhi2689/data_analysis
3410856d1df1a9cd95660e28e6ed47fd0102f6aa
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/evn python # -*- coding:utf-8 -*- # FileName adbtools.py # Author: HeyNiu # Created Time: 2016/9/19 """ adb """ import os import platform import re import time #import utils.timetools def pull(self, source, target): """ :return: """ self...
30.010262
120
0.49356
9238a72a6c6ffca4fc17e398558fafc0e65223b0
425
py
Python
apps/company/migrations/0018_alter_inspection_is_inspection_successful.py
samuVillegas/proyecto-fmc
595a201ed3a136b5db7daadd1be1ecaaae58aea6
[ "MIT" ]
null
null
null
apps/company/migrations/0018_alter_inspection_is_inspection_successful.py
samuVillegas/proyecto-fmc
595a201ed3a136b5db7daadd1be1ecaaae58aea6
[ "MIT" ]
null
null
null
apps/company/migrations/0018_alter_inspection_is_inspection_successful.py
samuVillegas/proyecto-fmc
595a201ed3a136b5db7daadd1be1ecaaae58aea6
[ "MIT" ]
null
null
null
# Generated by Django 4.0.1 on 2022-04-17 22:48 from django.db import migrations, models
22.368421
63
0.628235
92394ab87ad3c0d381f474179d582c21604b15ff
816
py
Python
vyperlogix/misc/_getframeInfo.py
raychorn/chrome_gui
f1fade70b61af12ee43c55c075aa9cfd32caa962
[ "CC0-1.0" ]
1
2020-09-29T01:36:33.000Z
2020-09-29T01:36:33.000Z
vyperlogix/misc/_getframeInfo.py
raychorn/chrome_gui
f1fade70b61af12ee43c55c075aa9cfd32caa962
[ "CC0-1.0" ]
null
null
null
vyperlogix/misc/_getframeInfo.py
raychorn/chrome_gui
f1fade70b61af12ee43c55c075aa9cfd32caa962
[ "CC0-1.0" ]
null
null
null
# use sys._getframe() -- it returns a frame object, whose attribute # f_code is a code object, whose attribute co_name is the name: import sys this_function_name = sys._getframe().f_code.co_name # the frame and code objects also offer other useful information: this_line_number = sys._getframe().f_lineno this_filename ...
29.142857
67
0.75
923a48452188fc84a18ece827d6488dd0408f125
8,859
py
Python
msl/loadlib/freeze_server32.py
MSLNZ/msl-loadlib
60f100221774e7c8bac067b50f427fd1d99d2552
[ "MIT" ]
51
2017-02-20T18:13:18.000Z
2022-03-02T21:46:36.000Z
msl/loadlib/freeze_server32.py
MSLNZ/msl-loadlib
60f100221774e7c8bac067b50f427fd1d99d2552
[ "MIT" ]
31
2017-02-20T18:09:43.000Z
2022-03-02T15:21:37.000Z
msl/loadlib/freeze_server32.py
MSLNZ/msl-loadlib
60f100221774e7c8bac067b50f427fd1d99d2552
[ "MIT" ]
15
2017-02-20T18:13:25.000Z
2020-04-06T12:27:43.000Z
""" Creates a 32-bit server to use for `inter-process communication <https://en.wikipedia.org/wiki/Inter-process_communication>`_. This module must be run from a 32-bit Python interpreter with PyInstaller_ installed. If you want to re-freeze the 32-bit server, for example, if you want a 32-bit version of :mod:`numpy`...
35.866397
105
0.637769
923a9a6900420562cd0f49a3a2d29687195c5fed
1,281
py
Python
sprite-animation-generator.py
eijiuema/sprite-animation-generator
096be1ff195a1de2d99aa9374b51dcca3cdf7b61
[ "MIT" ]
null
null
null
sprite-animation-generator.py
eijiuema/sprite-animation-generator
096be1ff195a1de2d99aa9374b51dcca3cdf7b61
[ "MIT" ]
null
null
null
sprite-animation-generator.py
eijiuema/sprite-animation-generator
096be1ff195a1de2d99aa9374b51dcca3cdf7b61
[ "MIT" ]
null
null
null
from collections import defaultdict from PIL import Image import operator image = Image.open("images\\test.png") pixel_map = image.load() initial_coordinate = tuple(int(x.strip()) for x in input("Initial coordinates: ").split(',')) pixel_list = [] directions = [(1, 0), (0, -1), (1, -1), ...
26.142857
78
0.659641
923b0cb630aa956d94a0d8aedaa532196c1f2daa
4,931
py
Python
src/figcli/svcs/aws_cfg.py
figtools/figgy-cli
88f4ccb8221ef9734f95b2637acfacc6e00983e7
[ "Apache-2.0" ]
36
2020-07-21T21:22:02.000Z
2021-10-20T06:55:47.000Z
src/figcli/svcs/aws_cfg.py
figtools/figgy-cli
88f4ccb8221ef9734f95b2637acfacc6e00983e7
[ "Apache-2.0" ]
2
2020-10-29T12:49:15.000Z
2021-04-29T01:12:05.000Z
src/figcli/svcs/aws_cfg.py
figtools/figgy-cli
88f4ccb8221ef9734f95b2637acfacc6e00983e7
[ "Apache-2.0" ]
null
null
null
import logging import os from figcli.config.style.color import Color from figcli.io.input import Input from figcli.svcs.config_manager import ConfigManager from figcli.config.aws import * from figcli.config.constants import * log = logging.getLogger(__name__)
46.084112
116
0.659298
923b793e73318ac543d6b8f506ca44596c39777b
11,831
py
Python
eopf/product/store/netcdf.py
CSC-DPR/eopf-cpm
6af10c0905eec876e8ab884ce62d5b74d52cb5a3
[ "Apache-2.0" ]
null
null
null
eopf/product/store/netcdf.py
CSC-DPR/eopf-cpm
6af10c0905eec876e8ab884ce62d5b74d52cb5a3
[ "Apache-2.0" ]
171
2022-01-29T09:38:27.000Z
2022-03-30T08:17:35.000Z
eopf/product/store/netcdf.py
CSC-DPR/eopf-cpm
6af10c0905eec876e8ab884ce62d5b74d52cb5a3
[ "Apache-2.0" ]
null
null
null
import itertools as it import os import pathlib from collections.abc import MutableMapping from typing import TYPE_CHECKING, Any, Iterator, Optional, Union import xarray as xr from netCDF4 import Dataset, Group, Variable from eopf.exceptions import StoreNotOpenError from eopf.product.store import EOProductStore from ...
33.706553
116
0.603415
923c4e2cb4ba7cdc78f566b0f424d01000307fda
1,213
py
Python
static/src/srcjpy.py
JoshuaOndieki/oneforma-fashion-attribute
00aaea0e964adbe7b33e5e51cd8eabb42817dec7
[ "MIT" ]
null
null
null
static/src/srcjpy.py
JoshuaOndieki/oneforma-fashion-attribute
00aaea0e964adbe7b33e5e51cd8eabb42817dec7
[ "MIT" ]
null
null
null
static/src/srcjpy.py
JoshuaOndieki/oneforma-fashion-attribute
00aaea0e964adbe7b33e5e51cd8eabb42817dec7
[ "MIT" ]
null
null
null
import json restructure_category_data() restructure_part_data() restructure_texture_data()
26.369565
56
0.623248
923c9cf40938312d11d7cd0afb9a1a8d330bf48b
24,250
py
Python
floodlight/vll_pusher.py
netgroup/Dreamer-VLL-Pusher
9b543a2799d7805ac2e1b5d4cfd3fa86d93875c6
[ "Apache-2.0" ]
1
2018-10-27T11:18:26.000Z
2018-10-27T11:18:26.000Z
floodlight/vll_pusher.py
netgroup/Dreamer-VLL-Pusher
9b543a2799d7805ac2e1b5d4cfd3fa86d93875c6
[ "Apache-2.0" ]
null
null
null
floodlight/vll_pusher.py
netgroup/Dreamer-VLL-Pusher
9b543a2799d7805ac2e1b5d4cfd3fa86d93875c6
[ "Apache-2.0" ]
1
2018-11-21T10:21:26.000Z
2018-11-21T10:21:26.000Z
#!/usr/bin/python ############################################################################################## # Copyright (C) 2014 Pier Luigi Ventre - (Consortium GARR and University of Rome "Tor Vergata") # Copyright (C) 2014 Giuseppe Siracusano, Stefano Salsano - (CNIT and University of Rome "Tor Vergata") # www....
45.66855
371
0.623258
923ce42885b5acee5c6a003f6685bde886fc0313
7,334
py
Python
lib/external_lib/arvore.py
patrick7star/jogo_da_forca
93a982d940d0b7ae1dc4e9ea7f88df24d7b95c4b
[ "MIT" ]
null
null
null
lib/external_lib/arvore.py
patrick7star/jogo_da_forca
93a982d940d0b7ae1dc4e9ea7f88df24d7b95c4b
[ "MIT" ]
null
null
null
lib/external_lib/arvore.py
patrick7star/jogo_da_forca
93a982d940d0b7ae1dc4e9ea7f88df24d7b95c4b
[ "MIT" ]
null
null
null
''' Aqui o programa conter uma funo que permite listar tanto diretrios, como arquivos na forma de rvores, ou seja, seus ramos tero linhas, e tambm, espaamentos mostrando a profundidade de cada diretrio dado uma pasta raz. ''' #s pode ser importado: __all__ = ['arvore'] # ********* bibliotecas ********** ...
34.271028
76
0.590674
923d5b2799ddb2b60a1a2513f89ea6d082ceb654
5,032
py
Python
magneto/utils/__init__.py
MagnetoTesting/magneto
e34232f93caa970524cc88792dc22acb2b479b85
[ "Apache-2.0" ]
24
2015-11-25T06:58:32.000Z
2021-09-20T10:41:25.000Z
magneto/utils/__init__.py
MagnetoTesting/magneto
e34232f93caa970524cc88792dc22acb2b479b85
[ "Apache-2.0" ]
null
null
null
magneto/utils/__init__.py
MagnetoTesting/magneto
e34232f93caa970524cc88792dc22acb2b479b85
[ "Apache-2.0" ]
7
2015-12-10T06:01:38.000Z
2018-04-09T01:37:58.000Z
from __future__ import absolute_import from contextlib import contextmanager from multiprocessing import TimeoutError import signal import datetime import os import subprocess import time import urllib import zipfile import shutil import pytest from .adb import ADB from ..logger import Logger def get_center(bounds)...
29.775148
135
0.630962
923d66fe6edb0b62b34853584252cfb7100d51a4
1,222
py
Python
common/widgets.py
saulm/firedeptmanagement
06548bf872fc76ac214ec25cc536f34aa8145305
[ "Unlicense" ]
2
2019-09-24T19:12:04.000Z
2019-09-28T19:07:57.000Z
common/widgets.py
saulm/firedeptmanagement
06548bf872fc76ac214ec25cc536f34aa8145305
[ "Unlicense" ]
1
2020-08-16T02:34:28.000Z
2021-03-16T14:15:47.000Z
common/widgets.py
saulm/firedeptmanagement
06548bf872fc76ac214ec25cc536f34aa8145305
[ "Unlicense" ]
2
2017-01-18T21:10:18.000Z
2020-03-12T20:25:08.000Z
from django import forms from django.db import models from django.conf import settings from south.modelsinspector import add_introspection_rules add_introspection_rules([], ["^common\.widgets\.LocationField"])
34.914286
78
0.6473
923f16aaf648cbadbb3a766cadbe8a39ea5540cc
605
py
Python
2015/advent25.py
AwesomeGitHubRepos/adventofcode
84ba7963a5d7905973f14bb1c2e3a59165f8b398
[ "MIT" ]
96
2018-04-21T07:53:34.000Z
2022-03-15T11:00:02.000Z
2015/advent25.py
AwesomeGitHubRepos/adventofcode
84ba7963a5d7905973f14bb1c2e3a59165f8b398
[ "MIT" ]
17
2019-02-07T05:14:47.000Z
2021-12-27T12:11:04.000Z
2015/advent25.py
AwesomeGitHubRepos/adventofcode
84ba7963a5d7905973f14bb1c2e3a59165f8b398
[ "MIT" ]
14
2019-02-05T06:34:15.000Z
2022-01-24T17:35:00.000Z
import re from functools import reduce if __name__ == '__main__': import sys filename = sys.argv[-1] with open(filename) as f: line = next(f) row, col = map(int, re.search(r'row (\d+), column (\d+)', line).groups()) print('Part 1:', calculate_code(row, col))
26.304348
81
0.624793
923fbcda3f989955bd68ae7294e1df2739368dbf
1,792
py
Python
test/detect_os.py
ThunderSoft123/mbed-ls
bf2750e2da4649591fcbb8047e0926ae4d6c74fd
[ "Apache-2.0" ]
null
null
null
test/detect_os.py
ThunderSoft123/mbed-ls
bf2750e2da4649591fcbb8047e0926ae4d6c74fd
[ "Apache-2.0" ]
null
null
null
test/detect_os.py
ThunderSoft123/mbed-ls
bf2750e2da4649591fcbb8047e0926ae4d6c74fd
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python """ mbed SDK Copyright (c) 2011-2015 ARM 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 ...
27.151515
76
0.708147
9240a548d742f534b991d13e7dee47d24390d843
416
py
Python
aiocloudflare/api/user/billing/subscriptions/subscriptions.py
Stewart86/aioCloudflare
341c0941f8f888a8b7e696e64550bce5da4949e6
[ "MIT" ]
2
2021-09-14T13:20:55.000Z
2022-02-24T14:18:24.000Z
aiocloudflare/api/user/billing/subscriptions/subscriptions.py
Stewart86/aioCloudflare
341c0941f8f888a8b7e696e64550bce5da4949e6
[ "MIT" ]
46
2021-09-08T08:39:45.000Z
2022-03-29T12:31:05.000Z
aiocloudflare/api/user/billing/subscriptions/subscriptions.py
Stewart86/aioCloudflare
341c0941f8f888a8b7e696e64550bce5da4949e6
[ "MIT" ]
1
2021-12-30T23:02:23.000Z
2021-12-30T23:02:23.000Z
from aiocloudflare.commons.unused import Unused from .apps.apps import Apps from .zones.zones import Zones
21.894737
49
0.697115
92414f09496d34fe212d6725d451c35584414eae
1,548
py
Python
dlutils/timer.py
podgorskiy/dlutils
716c99fd26cde73550c58b2be1071d64c67ca036
[ "Apache-2.0" ]
5
2019-11-06T20:42:38.000Z
2020-09-06T02:09:56.000Z
dlutils/timer.py
podgorskiy/dlutils
716c99fd26cde73550c58b2be1071d64c67ca036
[ "Apache-2.0" ]
2
2020-04-23T09:22:29.000Z
2020-04-23T14:41:22.000Z
dlutils/timer.py
podgorskiy/dlutils
716c99fd26cde73550c58b2be1071d64c67ca036
[ "Apache-2.0" ]
3
2020-04-28T18:12:47.000Z
2020-08-28T06:50:34.000Z
# Copyright 2017-2019 Stanislav Pidhorskyi # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to i...
29.769231
104
0.583333
9242274087f97ac266387b636296af92b2d7d9f8
422
py
Python
global_covid_tracker/plotting/__init__.py
kvanderveen/global_covid_tracker
ad4466b099aae30cbc73b62cce440c62a4fc87f9
[ "MIT" ]
null
null
null
global_covid_tracker/plotting/__init__.py
kvanderveen/global_covid_tracker
ad4466b099aae30cbc73b62cce440c62a4fc87f9
[ "MIT" ]
3
2021-08-23T20:45:46.000Z
2022-03-12T00:33:28.000Z
global_covid_tracker/plotting/__init__.py
kvanderveen/global_covid_tracker
ad4466b099aae30cbc73b62cce440c62a4fc87f9
[ "MIT" ]
null
null
null
from .plot_positive_test_rates import plot_positive_test_rates from .plot_total_cases import plot_total_cases from .plot_total_deaths import plot_total_deaths from .plot_deaths_by_country import plot_deaths_by_country from .plot_cases_by_country import plot_cases_by_country from .plot_total_tests import plot_total_test...
46.888889
62
0.905213
9242fcee18924cfc75c9b5f04ff881874a1a4e66
1,229
py
Python
iot_services_sdk/session.py
sap-archive/iot-services-sdk
157e607b0c8b3a7b77836336aa31d89ebd8e9f86
[ "CNRI-Python" ]
4
2019-05-02T07:51:13.000Z
2019-09-25T12:14:06.000Z
iot_services_sdk/session.py
sap-archive/iot-services-sdk
157e607b0c8b3a7b77836336aa31d89ebd8e9f86
[ "CNRI-Python" ]
2
2019-09-13T15:36:32.000Z
2019-11-15T06:01:09.000Z
iot_services_sdk/session.py
SAP/iot-services-sdk
157e607b0c8b3a7b77836336aa31d89ebd8e9f86
[ "CNRI-Python" ]
1
2020-01-17T15:44:52.000Z
2020-01-17T15:44:52.000Z
""" Author: Philipp Steinrtter (steinroe) """ from .iot_service import IoTService from .response import Response
29.97561
106
0.597234
9244aa4117e40f1bf99002ca86723057b1690b0e
736
py
Python
tests/test_pieces.py
trslater/chess
0c29faf1296f76020f8e213e9c218c05043668bb
[ "MIT" ]
null
null
null
tests/test_pieces.py
trslater/chess
0c29faf1296f76020f8e213e9c218c05043668bb
[ "MIT" ]
null
null
null
tests/test_pieces.py
trslater/chess
0c29faf1296f76020f8e213e9c218c05043668bb
[ "MIT" ]
null
null
null
from chess.pieces import Pawn, Knight, Bishop, Rook, Queen, King
30.666667
72
0.532609
9244ebfd6d415914bf8fb0696b6cfab97096c3f1
19,961
py
Python
src/ezdxf/tools/pattern.py
hh-wu/ezdxf
62509ba39b826ee9b36f19c0a5abad7f3518186a
[ "MIT" ]
null
null
null
src/ezdxf/tools/pattern.py
hh-wu/ezdxf
62509ba39b826ee9b36f19c0a5abad7f3518186a
[ "MIT" ]
null
null
null
src/ezdxf/tools/pattern.py
hh-wu/ezdxf
62509ba39b826ee9b36f19c0a5abad7f3518186a
[ "MIT" ]
null
null
null
# Purpose: Standard definitions # Created: 08.07.2015 # Copyright (c) 2015-2020, Manfred Moitzi # License: MIT License # pattern type: predefined (1) from ezdxf.math import Vec2 PATTERN_NEW = { "ANSI31": [[45.0, (0.0, 0.0), (-2.2627, 2.2627), []]], "ANSI32": [ [45.0, (0.0, 0.0), (-6.7882, 6.7882), []]...
43.299349
90
0.38475
9246db381d9f89a88ccf848b69e719ab81150613
1,763
py
Python
src/grab_stations.py
davis68/capstone-python-intermediate-forecast
4f120fcb3389b84227a40ec572dd0042d00a736b
[ "CC-BY-4.0", "MIT" ]
null
null
null
src/grab_stations.py
davis68/capstone-python-intermediate-forecast
4f120fcb3389b84227a40ec572dd0042d00a736b
[ "CC-BY-4.0", "MIT" ]
null
null
null
src/grab_stations.py
davis68/capstone-python-intermediate-forecast
4f120fcb3389b84227a40ec572dd0042d00a736b
[ "CC-BY-4.0", "MIT" ]
null
null
null
#!/usr/bin/env python3.3 import requests def grab_website_data(): '''Get raw data as HTML string from the NOAA website.''' url = 'http://www.nws.noaa.gov/mdl/gfslamp/docs/stations_info.shtml' page = requests.get(url) return page.text def extract_section(text): '''Find Illinois data segment (in a P...
38.326087
80
0.650028
924898f498fe7a8a90741bbddcf129930d8751be
11,617
py
Python
tarpn/netrom/router.py
rxt1077/tarpn-node-controller
ffbe1d78fbd1c10e891b3339b50002e5233e21ad
[ "MIT" ]
null
null
null
tarpn/netrom/router.py
rxt1077/tarpn-node-controller
ffbe1d78fbd1c10e891b3339b50002e5233e21ad
[ "MIT" ]
null
null
null
tarpn/netrom/router.py
rxt1077/tarpn-node-controller
ffbe1d78fbd1c10e891b3339b50002e5233e21ad
[ "MIT" ]
null
null
null
import datetime import os from dataclasses import dataclass, field from operator import attrgetter from typing import List, Dict, Optional, cast, Set from tarpn.ax25 import AX25Call from tarpn.netrom import NetRomPacket, NetRomNodes, NodeDestination from tarpn.network import L3RoutingTable, L3Address import tarpn.net...
40.197232
132
0.608419
924aac08eec6f6d80fd3a7f3fb5250d621f04816
162
py
Python
tests/configuration/config.py
NHSDigital/karsten-ratelimit-test
f4eeccd999ef440d4a1ec4d0a71ffc187665877d
[ "MIT" ]
1
2021-11-08T14:54:07.000Z
2021-11-08T14:54:07.000Z
tests/configuration/config.py
NHSDigital/karsten-ratelimit-test
f4eeccd999ef440d4a1ec4d0a71ffc187665877d
[ "MIT" ]
36
2020-06-24T10:55:10.000Z
2022-02-11T10:11:07.000Z
tests/configuration/config.py
NHSDigital/public-data-catalogue
7c385698a8db241cc9496a74bd41a1806bee2907
[ "MIT" ]
1
2021-04-11T07:32:37.000Z
2021-04-11T07:32:37.000Z
from .environment import ENV # Api Details ENVIRONMENT = ENV["environment"] BASE_URL = f"https://{ENVIRONMENT}.api.service.nhs.uk" BASE_PATH = ENV["base_path"]
20.25
54
0.740741
924ad870dca0b68ac369ce463d3a75f82ddca91b
1,119
py
Python
blacktape/pipeline.py
carascap/blacktape
52e0b912f4c67899911d10d2d6e3770671db02fa
[ "MIT" ]
null
null
null
blacktape/pipeline.py
carascap/blacktape
52e0b912f4c67899911d10d2d6e3770671db02fa
[ "MIT" ]
1
2022-02-22T19:45:27.000Z
2022-02-22T19:45:27.000Z
blacktape/pipeline.py
carascap/blacktape
52e0b912f4c67899911d10d2d6e3770671db02fa
[ "MIT" ]
null
null
null
from concurrent.futures import ProcessPoolExecutor, as_completed from typing import Iterable, Optional from blacktape.lib import match_entities_in_text, match_pattern_in_text from blacktape.util import worker_init
30.243243
87
0.688114
924b525f72949c8b2846500dfb435617c66b0ba8
4,881
py
Python
opencda/customize/core/sensing/localization/extented_kalman_filter.py
xst-666/OpenCDA
d69069bb617c8197c5f254891be255fc46a47a3a
[ "MIT" ]
1
2021-07-17T02:34:19.000Z
2021-07-17T02:34:19.000Z
opencda/customize/core/sensing/localization/extented_kalman_filter.py
xst-666/OpenCDA
d69069bb617c8197c5f254891be255fc46a47a3a
[ "MIT" ]
null
null
null
opencda/customize/core/sensing/localization/extented_kalman_filter.py
xst-666/OpenCDA
d69069bb617c8197c5f254891be255fc46a47a3a
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Use Extended Kalman Filter on GPS + IMU for better localization. """ # Author: Runsheng Xu <rxx3386@ucla.edu> # License: MIT import math import numpy as np
27.576271
77
0.489039
924de0a0c74c357b33f982e135db16cb5de4bd6a
546
py
Python
BinarySearch/koko_eating_bananas.py
mishrakeshav/Competitive-Programming
b25dcfeec0fb9a9c71bf3a05644b619f4ca83dd2
[ "MIT" ]
2
2020-06-25T21:10:32.000Z
2020-12-10T06:53:45.000Z
BinarySearch/koko_eating_bananas.py
mishrakeshav/Competitive-Programming
b25dcfeec0fb9a9c71bf3a05644b619f4ca83dd2
[ "MIT" ]
null
null
null
BinarySearch/koko_eating_bananas.py
mishrakeshav/Competitive-Programming
b25dcfeec0fb9a9c71bf3a05644b619f4ca83dd2
[ "MIT" ]
3
2020-05-15T14:17:09.000Z
2021-07-25T13:18:20.000Z
""" link : https://leetcode.com/problems/koko-eating-bananas/ """
26
62
0.430403
924dffc77f794977e8214ff14f2ae22012c1fb17
6,729
py
Python
src/rgw/const.py
suryakumar1024/cortx-rgw-integration
765d0625b6f15153cbf2c39b7018dfee95b5a2bd
[ "Apache-2.0" ]
null
null
null
src/rgw/const.py
suryakumar1024/cortx-rgw-integration
765d0625b6f15153cbf2c39b7018dfee95b5a2bd
[ "Apache-2.0" ]
null
null
null
src/rgw/const.py
suryakumar1024/cortx-rgw-integration
765d0625b6f15153cbf2c39b7018dfee95b5a2bd
[ "Apache-2.0" ]
null
null
null
#!/bin/env python3 # Copyright (c) 2021 Seagate Technology LLC and/or its Affiliates # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published # by the Free Software Foundation, either version 3 of the License, or # (at your option...
51.761538
133
0.777679
924e9af1eed998986d5218116f64284930f05bc0
4,516
py
Python
day2/exercises/Jamila/dartdrafts.py
lavjams/BI-Demo
2ff4aeb9dc71eeb1aa9e1f6510a79994c6c20ef1
[ "MIT" ]
null
null
null
day2/exercises/Jamila/dartdrafts.py
lavjams/BI-Demo
2ff4aeb9dc71eeb1aa9e1f6510a79994c6c20ef1
[ "MIT" ]
null
null
null
day2/exercises/Jamila/dartdrafts.py
lavjams/BI-Demo
2ff4aeb9dc71eeb1aa9e1f6510a79994c6c20ef1
[ "MIT" ]
null
null
null
###### ###BACKGROUND #Below Section: Imports necessary functions import numpy as np import matplotlib.pyplot as graph import random as rand import time as watch pi = np.pi #FUNCTION: ishit #PURPOSE: This function is meant to test whether or not a given 2d point is within the unit circle. #INPUTS: x = x-axis location,...
32.028369
107
0.731178
924f6c3f27a65566969cd1db1da75e95eab90307
25,486
py
Python
baidu_code/soap_mockserver/spyne/test/model/test_primitive.py
deevarvar/myLab
7a5019f5f7fc11e173d350e6e2a7d2c80504782d
[ "MIT" ]
null
null
null
baidu_code/soap_mockserver/spyne/test/model/test_primitive.py
deevarvar/myLab
7a5019f5f7fc11e173d350e6e2a7d2c80504782d
[ "MIT" ]
null
null
null
baidu_code/soap_mockserver/spyne/test/model/test_primitive.py
deevarvar/myLab
7a5019f5f7fc11e173d350e6e2a7d2c80504782d
[ "MIT" ]
3
2016-10-08T15:01:49.000Z
2018-05-24T03:14:24.000Z
#!/usr/bin/env python # coding=utf-8 # # spyne - Copyright (C) Spyne contributors. # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public # License as published by the Free Software Foundation; either # version 2.1 of the License, or (at your optio...
36.617816
90
0.623244
92544ee0917001aa83d874e1a79b36634831aeca
3,648
py
Python
tests/test_humidifiersteamgas.py
marcelosalles/pyidf
c2f744211572b5e14e29522aac1421ba88addb0e
[ "Apache-2.0" ]
19
2015-12-08T23:33:51.000Z
2022-01-31T04:41:10.000Z
tests/test_humidifiersteamgas.py
marcelosalles/pyidf
c2f744211572b5e14e29522aac1421ba88addb0e
[ "Apache-2.0" ]
2
2019-10-04T10:57:00.000Z
2021-10-01T06:46:17.000Z
tests/test_humidifiersteamgas.py
marcelosalles/pyidf
c2f744211572b5e14e29522aac1421ba88addb0e
[ "Apache-2.0" ]
7
2015-11-04T02:25:01.000Z
2021-12-08T03:14:28.000Z
import os import tempfile import unittest import logging from pyidf import ValidationLevel import pyidf from pyidf.idf import IDF from pyidf.humidifiers_and_dehumidifiers import HumidifierSteamGas log = logging.getLogger(__name__)
44.487805
136
0.741228
92560e59cb5045f93552b5f02a6b69d10b76c6c7
1,445
py
Python
e2e_tests/tests/fixtures/pytorch_lightning_amp/model_def.py
gh-determined-ai/determined
9a1ab33a3a356b69681b3351629fef4ab98ddb56
[ "Apache-2.0" ]
1,729
2020-04-27T17:36:40.000Z
2022-03-31T05:48:39.000Z
e2e_tests/tests/fixtures/pytorch_lightning_amp/model_def.py
ChrisW09/determined
5c37bfe9cfcc69174ba29a3f1a115c3e9e3632e0
[ "Apache-2.0" ]
1,940
2020-04-27T17:34:14.000Z
2022-03-31T23:02:28.000Z
e2e_tests/tests/fixtures/pytorch_lightning_amp/model_def.py
ChrisW09/determined
5c37bfe9cfcc69174ba29a3f1a115c3e9e3632e0
[ "Apache-2.0" ]
214
2020-04-27T19:57:28.000Z
2022-03-29T08:17:16.000Z
""" This example shows how to interact with the Determined PyTorch Lightning Adapter interface to build a basic MNIST network. LightningAdapter utilizes the provided LightningModule with Determined's PyTorch control loop. """ from determined.pytorch import PyTorchTrialContext, DataLoader from determined.pytorch.lightn...
37.051282
91
0.707266
925679157584e0c93b47453d951d15d7ead1a249
1,299
py
Python
graph.py
tannerb/genetic_math
96fd0fb2b988a22ff0399b4e8386570ae377e284
[ "MIT" ]
null
null
null
graph.py
tannerb/genetic_math
96fd0fb2b988a22ff0399b4e8386570ae377e284
[ "MIT" ]
null
null
null
graph.py
tannerb/genetic_math
96fd0fb2b988a22ff0399b4e8386570ae377e284
[ "MIT" ]
null
null
null
# graph from datetime import date import numpy as np from bokeh.client import push_session from bokeh.io import output_server, show, vform from bokeh.palettes import RdYlBu3 from bokeh.plotting import figure, curdoc, vplot, output_server from bokeh.models import ColumnDataSource from bokeh.models.widgets im...
28.23913
78
0.69746
92588b0247061718ca53cbfd3f3046c34ac25694
9,001
py
Python
deployment/cloudformation/data.py
azavea/cac-tripplanner
08eaa7e909484ac04687e078fbecba7e7fdc452e
[ "Apache-2.0" ]
13
2015-08-07T13:54:53.000Z
2020-10-20T18:59:01.000Z
deployment/cloudformation/data.py
azavea/cac-tripplanner
08eaa7e909484ac04687e078fbecba7e7fdc452e
[ "Apache-2.0" ]
1,177
2015-01-15T16:46:38.000Z
2022-03-29T13:37:37.000Z
deployment/cloudformation/data.py
azavea/cac-tripplanner
08eaa7e909484ac04687e078fbecba7e7fdc452e
[ "Apache-2.0" ]
7
2015-01-19T20:10:38.000Z
2019-10-16T05:57:47.000Z
"""Handles template generation for Cac Data Plane stack""" from troposphere import ( Parameter, Ref, Output, Tags, GetAtt, ec2, rds, route53 ) from .utils.constants import RDS_INSTANCE_TYPES from majorkirby import StackNode
36.004
100
0.59249
9259b7ed50eae624a0ff1eb302547c63e7d7b373
1,113
py
Python
tests/test_default_currencies_provider.py
pedroburon/python-monon
670a5c5e98171838d43fd1f72d0afbf7a70b937b
[ "MIT" ]
1
2017-07-10T15:32:48.000Z
2017-07-10T15:32:48.000Z
tests/test_default_currencies_provider.py
pedroburon/python-monon
670a5c5e98171838d43fd1f72d0afbf7a70b937b
[ "MIT" ]
5
2017-07-10T16:34:28.000Z
2017-07-10T16:41:38.000Z
tests/test_default_currencies_provider.py
pedroburon/python-monon
670a5c5e98171838d43fd1f72d0afbf7a70b937b
[ "MIT" ]
null
null
null
from unittest import TestCase from decimal import Decimal, ROUND_UP from monon.currency import DefaultCurrenciesProvider
30.916667
89
0.716083
925a517d59e52167dcdd4e1d3358f0d6bda53758
29,242
py
Python
appion/bin/imageloader.py
leschzinerlab/myami-3.2-freeHand
974b8a48245222de0d9cfb0f433533487ecce60d
[ "MIT" ]
null
null
null
appion/bin/imageloader.py
leschzinerlab/myami-3.2-freeHand
974b8a48245222de0d9cfb0f433533487ecce60d
[ "MIT" ]
null
null
null
appion/bin/imageloader.py
leschzinerlab/myami-3.2-freeHand
974b8a48245222de0d9cfb0f433533487ecce60d
[ "MIT" ]
1
2019-09-05T20:58:37.000Z
2019-09-05T20:58:37.000Z
#!/usr/bin/env python #pythonlib import os import sys import shutil import time import numpy import math import glob #appion from appionlib import appionLoop2 from appionlib import apDatabase from appionlib import apDisplay from appionlib import apDBImage from appionlib import apProject from appionlib import apEMAN fr...
37.203562
126
0.692839
925b2a1e34a13b512d3f03e220fa0f35f79533d6
3,926
py
Python
modules/exporter.py
MarzioMonticelli/python-cryptonet
598c6e61fd7165f3a03ffce3f1de9f69d8645681
[ "MIT" ]
19
2020-04-09T15:01:43.000Z
2022-03-28T07:39:40.000Z
modules/exporter.py
MarzioMonticelli/python-cryptonet
598c6e61fd7165f3a03ffce3f1de9f69d8645681
[ "MIT" ]
4
2020-04-22T14:19:53.000Z
2021-05-25T13:12:57.000Z
modules/exporter.py
MarzioMonticelli/python-cryptonet
598c6e61fd7165f3a03ffce3f1de9f69d8645681
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ @author: Marzio Monticelli (1459333) """ from os import path from . import model as md from tensorflow import keras
35.369369
96
0.439379
925cbff7b4fe629ab439be60df8604f24ff66bc7
130
py
Python
kbc_pul/experiments_utils/file_utils.py
ML-KULeuven/KBC-as-PU-Learning
a00f606bd40ca06af0a5627e65a4582859976918
[ "Apache-2.0" ]
4
2021-12-14T16:13:47.000Z
2022-01-21T13:14:14.000Z
kbc_pul/experiments_utils/file_utils.py
ML-KULeuven/KBC-as-PU-Learning
a00f606bd40ca06af0a5627e65a4582859976918
[ "Apache-2.0" ]
null
null
null
kbc_pul/experiments_utils/file_utils.py
ML-KULeuven/KBC-as-PU-Learning
a00f606bd40ca06af0a5627e65a4582859976918
[ "Apache-2.0" ]
null
null
null
import os
18.571429
70
0.676923
925d10b9338d7e7d834dd03a2a709b1fb7059381
5,913
py
Python
combinatorial_gwas/phenotypes/__init__.py
hoangthienan95/combinatorial_GWAS
c6d51f6214f96773b2a271c706ed7026152e0fbb
[ "Apache-2.0" ]
null
null
null
combinatorial_gwas/phenotypes/__init__.py
hoangthienan95/combinatorial_GWAS
c6d51f6214f96773b2a271c706ed7026152e0fbb
[ "Apache-2.0" ]
null
null
null
combinatorial_gwas/phenotypes/__init__.py
hoangthienan95/combinatorial_GWAS
c6d51f6214f96773b2a271c706ed7026152e0fbb
[ "Apache-2.0" ]
null
null
null
# AUTOGENERATED! DO NOT EDIT! File to edit: notebooks/package/phenotypes.ipynb (unless otherwise specified). __all__ = ['QueryDataframe', 'parameters', 'catalog_all', 'catalog_all', 'read_csv_compressed', 'get_GWAS_result_link', 'heritability_Neale', 'display_cols', 'quality_heritability_phenos', 'quality_h...
46.559055
195
0.753425
925dbb41d905b1329c3789b6eec66daa27db7a18
15,553
py
Python
eprime2events/cimaq_convert_eprime_to_bids_event.py
MarieStLaurent/cimaq_memory
d7e65cb5ca767b35b7cf35d0aa3209f58338854d
[ "MIT" ]
1
2020-11-27T16:02:57.000Z
2020-11-27T16:02:57.000Z
eprime2events/cimaq_convert_eprime_to_bids_event.py
FrancoisNadeau/cimaq_memory
128e34f67b6f550185b78d76dc78e034cb382c35
[ "MIT" ]
10
2019-10-22T08:49:00.000Z
2022-03-12T00:02:05.000Z
eprime2events/cimaq_convert_eprime_to_bids_event.py
FrancoisNadeau/cimaq_memory
128e34f67b6f550185b78d76dc78e034cb382c35
[ "MIT" ]
5
2019-08-02T14:56:11.000Z
2021-09-01T02:57:27.000Z
#!/usr/bin/env python # encoding: utf-8 import os import re import sys import argparse import glob import logging from numpy import nan as NaN import pandas as pd import shutil import zipfile def get_all_ids(iFolder): """ List all ZipFile and get all IDs Parameters: ---------- iFolder: string (inpu...
37.387019
148
0.604642
925ee23c45a2c6df1775b5f4dad4041e0eaa6777
5,631
py
Python
noise_filtering.py
tahoangthang/Wikidata2Text
722b528451e92b3072bf57260fdb8f0962a89929
[ "Apache-2.0" ]
2
2021-08-16T21:52:49.000Z
2021-08-18T12:08:41.000Z
noise_filtering.py
thangth1102/Wikidata2Text
722b528451e92b3072bf57260fdb8f0962a89929
[ "Apache-2.0" ]
null
null
null
noise_filtering.py
thangth1102/Wikidata2Text
722b528451e92b3072bf57260fdb8f0962a89929
[ "Apache-2.0" ]
2
2021-11-15T14:41:13.000Z
2021-12-23T10:04:31.000Z
#........................................................................................................ # Title: Wikidata claims (statements) to natural language (a part of Triple2Text/Ontology2Text task) # Author: Ta, Hoang Thang # Email: tahoangthang@gmail.com # Lab: https://www.cic.ipn.mx # Date: 12/2019 #.....
35.19375
126
0.520156
926055753876c29c748828d168304c3ef6c8a5b4
578
py
Python
Unit 8 Libraries/shapes.py
ItsMrTurtle/PythonChris
4513dea336e68f48fabf480ad87bc538a323c2cd
[ "MIT" ]
null
null
null
Unit 8 Libraries/shapes.py
ItsMrTurtle/PythonChris
4513dea336e68f48fabf480ad87bc538a323c2cd
[ "MIT" ]
null
null
null
Unit 8 Libraries/shapes.py
ItsMrTurtle/PythonChris
4513dea336e68f48fabf480ad87bc538a323c2cd
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Thu May 28 15:30:04 2020 @author: Christopher Cheng """
23.12
48
0.626298
9262f09ddc9af9e13ef91b7856117a5ac6fea12c
456
py
Python
locale/pot/api/core/_autosummary/pyvista-StructuredGrid-reconstruct_surface-1.py
tkoyama010/pyvista-doc-translations
23bb813387b7f8bfe17e86c2244d5dd2243990db
[ "MIT" ]
4
2020-08-07T08:19:19.000Z
2020-12-04T09:51:11.000Z
locale/pot/api/core/_autosummary/pyvista-UnstructuredGrid-reconstruct_surface-1.py
tkoyama010/pyvista-doc-translations
23bb813387b7f8bfe17e86c2244d5dd2243990db
[ "MIT" ]
19
2020-08-06T00:24:30.000Z
2022-03-30T19:22:24.000Z
locale/pot/api/core/_autosummary/pyvista-RectilinearGrid-reconstruct_surface-1.py
tkoyama010/pyvista-doc-translations
23bb813387b7f8bfe17e86c2244d5dd2243990db
[ "MIT" ]
1
2021-03-09T07:50:40.000Z
2021-03-09T07:50:40.000Z
# Create a point cloud out of a sphere and reconstruct a surface # from it. # import pyvista as pv points = pv.wrap(pv.Sphere().points) surf = points.reconstruct_surface() # pl = pv.Plotter(shape=(1,2)) _ = pl.add_mesh(points) _ = pl.add_title('Point Cloud of 3D Surface') pl.subplot(0,1) _ = pl.add_mesh(surf, color=Tru...
26.823529
64
0.734649
92630e4c8ee42e9ce01f451373ba14d583adb08d
3,296
py
Python
src/tests/test_cli.py
GatorQue/cogit
fe5dc4c73901bf28dceb23d4808d831dec30a1c5
[ "MIT" ]
null
null
null
src/tests/test_cli.py
GatorQue/cogit
fe5dc4c73901bf28dceb23d4808d831dec30a1c5
[ "MIT" ]
null
null
null
src/tests/test_cli.py
GatorQue/cogit
fe5dc4c73901bf28dceb23d4808d831dec30a1c5
[ "MIT" ]
null
null
null
# *- coding: utf-8 -*- # pylint: disable=wildcard-import, unused-wildcard-import, missing-docstring # pylint: disable=redefined-outer-name, no-self-use, bad-continuation """ Test '__main__' CLI stub. See http://click.pocoo.org/3/testing/ """ # Copyright 2017 Ryan Lindeman <ryanlindeman+cogit@gmail.com> # # Permi...
29.963636
80
0.724515
9263aacfdcc819b5a43c66114bde3dce544b96d4
367
py
Python
tests/opytimizer/math/test_hypercomplex.py
macoldibelli/opytimizer
ca0574d520ecc17b1ac875bc6271d466c88d18ac
[ "MIT" ]
null
null
null
tests/opytimizer/math/test_hypercomplex.py
macoldibelli/opytimizer
ca0574d520ecc17b1ac875bc6271d466c88d18ac
[ "MIT" ]
null
null
null
tests/opytimizer/math/test_hypercomplex.py
macoldibelli/opytimizer
ca0574d520ecc17b1ac875bc6271d466c88d18ac
[ "MIT" ]
null
null
null
import numpy as np import pytest from opytimizer.math import hypercomplex
14.68
49
0.623978
926441ea90cbc6c22b98d9270a3adf3f083c5bbf
889
py
Python
card/models.py
tyhunt99/card-collector-db
932bd829eb46f9492e6a25326140823629161bab
[ "MIT" ]
null
null
null
card/models.py
tyhunt99/card-collector-db
932bd829eb46f9492e6a25326140823629161bab
[ "MIT" ]
4
2020-06-05T20:53:52.000Z
2022-02-10T08:32:51.000Z
card/models.py
tyhunt99/card-collector-db
932bd829eb46f9492e6a25326140823629161bab
[ "MIT" ]
null
null
null
import datetime from django.core.validators import MaxValueValidator, MinValueValidator from django.db import models
26.939394
78
0.68054
92649b09690dc30270898659d76b1423039bb414
1,870
py
Python
nns_based_approach/tv_recon_network/cg.py
schote/P1-Temp-Reg
2e19099f969e31ec4e2c503ae3cf7bc983f3559b
[ "Apache-2.0" ]
null
null
null
nns_based_approach/tv_recon_network/cg.py
schote/P1-Temp-Reg
2e19099f969e31ec4e2c503ae3cf7bc983f3559b
[ "Apache-2.0" ]
null
null
null
nns_based_approach/tv_recon_network/cg.py
schote/P1-Temp-Reg
2e19099f969e31ec4e2c503ae3cf7bc983f3559b
[ "Apache-2.0" ]
null
null
null
import torch from scipy.sparse.linalg import LinearOperator, cg from typing import Callable, Optional from torch import Tensor import numpy as np import time
39.787234
159
0.602674
9266e4c4574268ab0b44736b2d4aa4d3367192ba
897
py
Python
AFLW/fddb_symbol_gen.py
kli-nlpr/FaceDetection-ConvNet-3D
f9251c48eb40c5aec8fba7455115c355466555be
[ "Apache-2.0" ]
159
2016-08-23T22:13:26.000Z
2021-10-24T01:31:35.000Z
AFLW/fddb_symbol_gen.py
mrgloom/FaceDetection-ConvNet-3D
f9251c48eb40c5aec8fba7455115c355466555be
[ "Apache-2.0" ]
10
2016-08-23T05:59:07.000Z
2018-05-24T02:31:41.000Z
AFLW/fddb_symbol_gen.py
mrgloom/FaceDetection-ConvNet-3D
f9251c48eb40c5aec8fba7455115c355466555be
[ "Apache-2.0" ]
77
2016-08-21T00:35:00.000Z
2021-06-01T05:03:34.000Z
import mxnet as mx
37.375
116
0.692308
926717c790dcf9ea71f2c1067ee097894058f6ba
7,904
py
Python
pythutils/mediautils.py
JolleJolles/pyutilspack
cbc6aa7f4f2a6b51c4cb689671fbdd53ab5f58c8
[ "Apache-2.0" ]
2
2019-03-07T19:00:44.000Z
2019-07-27T05:20:59.000Z
pythutils/mediautils.py
JolleJolles/pyutilspack
cbc6aa7f4f2a6b51c4cb689671fbdd53ab5f58c8
[ "Apache-2.0" ]
1
2019-12-24T12:49:09.000Z
2019-12-24T12:49:09.000Z
pythutils/mediautils.py
JolleJolles/pyutilspack
cbc6aa7f4f2a6b51c4cb689671fbdd53ab5f58c8
[ "Apache-2.0" ]
null
null
null
#! /usr/bin/env python # Copyright (c) 2018 - 2019 Jolle Jolles <j.w.jolles@gmail.com> # # 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 # # Unle...
27.068493
80
0.600076
926a661ce3065265a3050354d8147de32f7843f6
4,313
py
Python
pythoncode/example2.py
morganwillisaws/codeguru
b146c59ad5444a9d980a8d1eb26ae18ad19acf13
[ "MIT-0" ]
1
2021-09-17T23:00:37.000Z
2021-09-17T23:00:37.000Z
pythoncode/example2.py
morganwillisaws/codeguru
b146c59ad5444a9d980a8d1eb26ae18ad19acf13
[ "MIT-0" ]
2
2021-03-02T17:40:15.000Z
2021-03-30T14:50:36.000Z
pythoncode/example2.py
morganwillisaws/codeguru
b146c59ad5444a9d980a8d1eb26ae18ad19acf13
[ "MIT-0" ]
1
2021-08-08T10:28:28.000Z
2021-08-08T10:28:28.000Z
import boto3 import subprocess successes = 0 # Dummy AWS Handler to kick off high level processes # Scan returns paginated results, so only partial data will be copied # This code uses a mutable default argument and modifies it to return. This would leak results across calls # Infinite loop because a list is mod...
38.508929
120
0.688152
926d81ed11d37c488b31b61c0181835d4dec72e0
11,550
py
Python
runtime/module_resolution.py
cheery/lever
6fa8cd6afec440b32232f87236b0457fb8bfb8b1
[ "MIT" ]
136
2015-12-18T21:11:59.000Z
2022-02-21T19:47:36.000Z
runtime/module_resolution.py
cheery/lever
6fa8cd6afec440b32232f87236b0457fb8bfb8b1
[ "MIT" ]
1
2021-05-07T11:17:02.000Z
2021-05-07T18:15:07.000Z
runtime/module_resolution.py
cheery/lever
6fa8cd6afec440b32232f87236b0457fb8bfb8b1
[ "MIT" ]
13
2016-03-06T18:27:17.000Z
2020-06-18T14:27:32.000Z
from space import * import base import bon import evaluator import core import os import pathobj import stdlib import sys # root_module = ModuleScope(pathobj.parse(u"builtin:/"), frozen=True) root_module.base_module = base.module for py_module in stdlib.import_all_modules(): assert isinstance(py_module.module, M...
35
102
0.63013
926e172260da95c8e0bed936db852d904ce5ea3f
6,249
py
Python
datamine/loaders/liqtool.py
Saran33/datamine_python
396a01883fe98f31e32d506d50e4eeaa2de06466
[ "BSD-3-Clause" ]
39
2019-05-15T19:22:03.000Z
2022-03-08T08:54:51.000Z
datamine/loaders/liqtool.py
Saran33/datamine_python
396a01883fe98f31e32d506d50e4eeaa2de06466
[ "BSD-3-Clause" ]
9
2019-02-26T03:50:27.000Z
2021-07-24T15:31:38.000Z
datamine/loaders/liqtool.py
Saran33/datamine_python
396a01883fe98f31e32d506d50e4eeaa2de06466
[ "BSD-3-Clause" ]
11
2019-04-16T12:32:29.000Z
2021-08-28T15:09:51.000Z
from . import Loader import pandas as pd from datetime import datetime, timedelta start = datetime(1970, 1, 1) # Unix epoch start time liqLoader = LiqLoader()
99.190476
265
0.666187
926f6eee1bd751e76192f8e1d3068aec789d5c41
1,069
py
Python
setup.py
maraujop/django-rules
702839e494a65f72f550982867e2f011952737c4
[ "BSD-3-Clause" ]
20
2015-05-17T16:33:39.000Z
2021-12-25T03:47:21.000Z
setup.py
maraujop/django-rules
702839e494a65f72f550982867e2f011952737c4
[ "BSD-3-Clause" ]
null
null
null
setup.py
maraujop/django-rules
702839e494a65f72f550982867e2f011952737c4
[ "BSD-3-Clause" ]
9
2016-02-12T21:39:10.000Z
2019-11-01T11:01:41.000Z
# -*- coding: utf-8 -*- import os import sys reload(sys).setdefaultencoding("UTF-8") from setuptools import setup, find_packages from distutils.core import setup version = '0.2' setup( name='django-rules', version=version, description="Flexible per-object authorization backend for Django", long_descr...
29.694444
77
0.662301
9271ac7529349d3b0dfa17ddd03591219a780e76
1,188
py
Python
numbering-systems-final.py
Vandal2006/numbering-systems
3057e354919433b06efe37bded2b7dbbe26543c8
[ "MIT" ]
null
null
null
numbering-systems-final.py
Vandal2006/numbering-systems
3057e354919433b06efe37bded2b7dbbe26543c8
[ "MIT" ]
null
null
null
numbering-systems-final.py
Vandal2006/numbering-systems
3057e354919433b06efe37bded2b7dbbe26543c8
[ "MIT" ]
null
null
null
# Author: Henry Gilson # Class: cpsc-20000 # Constants INTRODUCTION = ''' ****************************************************** Numbering Systemn 2.0 GilsoSoft ****************************************************** This program will give you your inp...
33
92
0.558923
9271ae6e568ebb47596ef419f5344965563e2e99
2,993
py
Python
demo/optimization.py
Pricccvtqu4tt/ngocthinh
03b980e7cefa085c0a3314b6f3b25275b584ff99
[ "Apache-2.0" ]
1
2020-09-24T07:16:39.000Z
2020-09-24T07:16:39.000Z
demo/optimization.py
Pricccvtqu4tt/ngocthinh
03b980e7cefa085c0a3314b6f3b25275b584ff99
[ "Apache-2.0" ]
null
null
null
demo/optimization.py
Pricccvtqu4tt/ngocthinh
03b980e7cefa085c0a3314b6f3b25275b584ff99
[ "Apache-2.0" ]
null
null
null
# Copyright (c) 2018 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by app...
33.255556
112
0.686602
92721f275bd80706a0af8e3045e6a861b877107e
2,136
py
Python
test/build_bfrange2.py
trueroad/pdf-fix-tuc
b5e682c45062560d443d778e7ef31b54d85b54da
[ "BSD-2-Clause" ]
20
2021-01-23T13:59:36.000Z
2022-03-28T01:48:22.000Z
test/build_bfrange2.py
trueroad/pdf-fix-tuc
b5e682c45062560d443d778e7ef31b54d85b54da
[ "BSD-2-Clause" ]
null
null
null
test/build_bfrange2.py
trueroad/pdf-fix-tuc
b5e682c45062560d443d778e7ef31b54d85b54da
[ "BSD-2-Clause" ]
null
null
null
#!/usr/bin/env python3 # # Fix ToUnicode CMap in PDF # https://github.com/trueroad/pdf-fix-tuc # # build_bfrange2.py: # Build bfrange2 PDF. # # Copyright (C) 2021 Masamichi Hosoda. # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided tha...
31.880597
77
0.695225
9272ad107af4225262b4e05e8e7c329cca07cdc6
4,391
py
Python
fedot/api/api_utils/initial_assumptions.py
vkirilenko/FEDOT
d287d899e47fe5aebf52c12733892e103b75842b
[ "BSD-3-Clause" ]
1
2021-11-09T10:24:38.000Z
2021-11-09T10:24:38.000Z
fedot/api/api_utils/initial_assumptions.py
vkirilenko/FEDOT
d287d899e47fe5aebf52c12733892e103b75842b
[ "BSD-3-Clause" ]
null
null
null
fedot/api/api_utils/initial_assumptions.py
vkirilenko/FEDOT
d287d899e47fe5aebf52c12733892e103b75842b
[ "BSD-3-Clause" ]
null
null
null
from typing import List, Union from fedot.core.data.data import data_has_categorical_features, InputData from fedot.core.data.multi_modal import MultiModalData from fedot.core.pipelines.node import PrimaryNode, SecondaryNode, Node from fedot.core.pipelines.pipeline import Pipeline from fedot.core.repository.tasks impo...
49.337079
114
0.666818
9273889db8121468c67067e3c3728797e69262dd
1,251
py
Python
server/py/dummy.py
sreyas/Attendance-management-system
eeb57bcc942f407151b71bfab528e817c6806c74
[ "MIT" ]
null
null
null
server/py/dummy.py
sreyas/Attendance-management-system
eeb57bcc942f407151b71bfab528e817c6806c74
[ "MIT" ]
null
null
null
server/py/dummy.py
sreyas/Attendance-management-system
eeb57bcc942f407151b71bfab528e817c6806c74
[ "MIT" ]
null
null
null
import numpy as np import glob,os import datetime from pathlib import Path from pymongo import MongoClient from flask_mongoengine import MongoEngine from bson.objectid import ObjectId client = MongoClient(port=27017) db=client.GetMeThrough; binary =0; home = str(os.path.dirname(os.path.abspath(__file__))) + "/../../" ...
37.909091
92
0.723421
927394c4cd452ef6ecd8dbe3a44abe8b81fb299c
1,802
py
Python
TingCheChangSystem/ParkingLot.py
scottyyf/oodoop
d254b8a355c985c7672381495ab8a44d7d55e153
[ "MIT" ]
2
2021-12-14T10:46:14.000Z
2021-12-14T10:47:00.000Z
TingCheChangSystem/ParkingLot.py
scottyyf/oodoop
d254b8a355c985c7672381495ab8a44d7d55e153
[ "MIT" ]
9
2021-12-06T06:16:15.000Z
2021-12-20T06:39:50.000Z
TingCheChangSystem/ParkingLot.py
scottyyf/oodoop
d254b8a355c985c7672381495ab8a44d7d55e153
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- """ File: ParkingLot.py Author: Scott Yang(Scott) Email: yangyingfa@skybility.com Copyright: Copyright (c) 2021, Skybility Software Co.,Ltd. All rights reserved. Description: """ from datetime import datetime from TException import SpotOccupiedError, NoSuitableSpotsError ...
25.380282
79
0.614317
92739e4159a529434e8f575d3386d3a074e34ccc
3,998
py
Python
hnk05_hupai.py
jcq15/mahjong
4220a7aecdb22361052c23c1829844e1b3cb1c83
[ "MIT" ]
1
2021-07-23T02:17:42.000Z
2021-07-23T02:17:42.000Z
hnk05_hupai.py
jcq15/mahjong
4220a7aecdb22361052c23c1829844e1b3cb1c83
[ "MIT" ]
null
null
null
hnk05_hupai.py
jcq15/mahjong
4220a7aecdb22361052c23c1829844e1b3cb1c83
[ "MIT" ]
null
null
null
import operator from global_data import * if __name__ == '__main__': pai = '1m1m1m2m3m4m5m6m7m8m9m9m9m1z' hc = HupaiCheck(tehai=pai) hc.hupai_dealall() hc.hupaiway_usersee() # pai.numtehai = [1,1,2,2,2,3,3,3,4,4,5,5,6,6] #print(pai.hupai32_deal(pai.numtehai)) #print(pai.hupai_dealall...
32.504065
104
0.512256
927613f79cb0fe30b6c12b5c873b5fabde329804
2,193
py
Python
edgelm/examples/wav2vec/unsupervised/kaldi_self_train/st/local/prepare_data_from_w2v.py
guotao0628/DeepNet
1ae74d8b44d715bf67c7d64a8efafff4b7c7937a
[ "MIT" ]
1
2021-11-07T00:30:05.000Z
2021-11-07T00:30:05.000Z
edgelm/examples/wav2vec/unsupervised/kaldi_self_train/st/local/prepare_data_from_w2v.py
guotao0628/DeepNet
1ae74d8b44d715bf67c7d64a8efafff4b7c7937a
[ "MIT" ]
null
null
null
edgelm/examples/wav2vec/unsupervised/kaldi_self_train/st/local/prepare_data_from_w2v.py
guotao0628/DeepNet
1ae74d8b44d715bf67c7d64a8efafff4b7c7937a
[ "MIT" ]
null
null
null
import kaldi_io import numpy as np import os if __name__ == "__main__": main()
38.473684
85
0.616963
927646be7e0eba265112163bf55301fe33919254
1,465
py
Python
tests/tests_earthquake.py
domenicosolazzo/Earthquake
4a9940c0f10f686bafb27521b1d9ba83a2930968
[ "MIT" ]
null
null
null
tests/tests_earthquake.py
domenicosolazzo/Earthquake
4a9940c0f10f686bafb27521b1d9ba83a2930968
[ "MIT" ]
null
null
null
tests/tests_earthquake.py
domenicosolazzo/Earthquake
4a9940c0f10f686bafb27521b1d9ba83a2930968
[ "MIT" ]
null
null
null
import unittest from lib.earthquake import Earthquake
63.695652
120
0.736519
9277085b50933d495b6b61b89bb5d25f3f2a75a8
4,704
py
Python
edmunds/log/logmanager.py
LowieHuyghe/edmunds-python
236d087746cb8802a8854b2706b8d3ff009e9209
[ "Apache-2.0" ]
4
2017-09-07T13:39:50.000Z
2018-05-31T16:14:50.000Z
edmunds/log/logmanager.py
LowieHuyghe/edmunds-python
236d087746cb8802a8854b2706b8d3ff009e9209
[ "Apache-2.0" ]
103
2017-03-19T15:58:21.000Z
2018-07-11T20:36:17.000Z
edmunds/log/logmanager.py
LowieHuyghe/edmunds-python
236d087746cb8802a8854b2706b8d3ff009e9209
[ "Apache-2.0" ]
2
2017-10-14T15:20:11.000Z
2018-04-20T09:55:44.000Z
from edmunds.foundation.patterns.manager import Manager import os
29.772152
82
0.54358
9278e544f626a49aa388ef6db7265b805480641b
2,220
py
Python
mottak-arkiv-service/tests/routers/dto/test_Arkivuttrekk.py
arkivverket/mottak
241dc86b6a012f5ac07dd5242d97df3fadfb69d0
[ "Apache-2.0" ]
4
2021-03-05T15:39:24.000Z
2021-09-15T06:11:45.000Z
mottak-arkiv-service/tests/routers/dto/test_Arkivuttrekk.py
arkivverket/mottak
241dc86b6a012f5ac07dd5242d97df3fadfb69d0
[ "Apache-2.0" ]
631
2020-04-27T10:39:18.000Z
2022-03-31T14:51:38.000Z
mottak-arkiv-service/tests/routers/dto/test_Arkivuttrekk.py
arkivverket/mottak
241dc86b6a012f5ac07dd5242d97df3fadfb69d0
[ "Apache-2.0" ]
3
2020-02-20T15:48:03.000Z
2021-12-16T22:50:40.000Z
from datetime import date from uuid import UUID import pytest from app.domain.models.Arkivuttrekk import Arkivuttrekk, ArkivuttrekkStatus, ArkivuttrekkType from app.domain.models.Depotinstitusjoner import DepotinstitusjonerEnum from app.routers.dto.Arkivuttrekk import ArkivuttrekkCreate as Arkivuttrekk_dto def te...
34.6875
93
0.718468
92799feccf4a1361a1ddbaeca85667a04610ecb8
1,007
py
Python
anecAPI/anecAPI.py
suborofu/anecAPI
ddf54e63254fc4b00748e673d8b48aa59abd6526
[ "MIT" ]
null
null
null
anecAPI/anecAPI.py
suborofu/anecAPI
ddf54e63254fc4b00748e673d8b48aa59abd6526
[ "MIT" ]
null
null
null
anecAPI/anecAPI.py
suborofu/anecAPI
ddf54e63254fc4b00748e673d8b48aa59abd6526
[ "MIT" ]
null
null
null
from modern_jokes import modern_jokes from soviet_jokes import soviet_jokes import random import argparse # TODO: Auto-generated jokes if __name__ == "__main__": parser = argparse.ArgumentParser(add_help=True, description='Displays a funny (or not) USSR/Russian joke (also ...
27.972222
119
0.681231
9279acc17663b0db1a6150a3819e8cd2c5b2264d
3,141
py
Python
lexicon/encode.py
ishine/neural-lexicon-reader
66f4c464a7a442812e79458759ac913ce51d1c6e
[ "MIT" ]
4
2021-10-31T08:29:21.000Z
2021-12-29T08:12:56.000Z
lexicon/encode.py
shaun95/neural-lexicon-reader
66f4c464a7a442812e79458759ac913ce51d1c6e
[ "MIT" ]
1
2021-12-12T11:22:20.000Z
2021-12-12T11:53:47.000Z
lexicon/encode.py
mutiann/neural-lexicon-reader
66f4c464a7a442812e79458759ac913ce51d1c6e
[ "MIT" ]
null
null
null
import transformers from transformers import XLMRobertaTokenizerFast, XLMRobertaModel import torch import json import pickle import tqdm import os from matplotlib import pyplot as plt lengths = [] tokenizer = XLMRobertaTokenizerFast.from_pretrained("xlm-roberta-large") model = XLMRobertaModel.from_pretrained("xlm-robe...
36.103448
141
0.58007
927d3239663b283ae0d534d00b7151aeae2d5071
1,052
py
Python
05_reseaux_web/2_le_web/demo_web_cgi/cgi-bin/cookie.py
efloti/cours-nsi-premiere
5b05bc81e5f8d7df47bf5785068b4bf4d1e357bb
[ "CC0-1.0" ]
null
null
null
05_reseaux_web/2_le_web/demo_web_cgi/cgi-bin/cookie.py
efloti/cours-nsi-premiere
5b05bc81e5f8d7df47bf5785068b4bf4d1e357bb
[ "CC0-1.0" ]
null
null
null
05_reseaux_web/2_le_web/demo_web_cgi/cgi-bin/cookie.py
efloti/cours-nsi-premiere
5b05bc81e5f8d7df47bf5785068b4bf4d1e357bb
[ "CC0-1.0" ]
null
null
null
#!/opt/tljh/user/bin/python import cgitb; cgitb.enable() # pour dbogage import os entete_http = "Content-type: text/html; charset=utf-8\n" # gabarit html ... deux zones d'insertions html_tpl = """ <!DOCTYPE html> <head> <title>cookie</title> </head> <body> <a href="/">retour...</a> <h2>{message}</h2> ...
19.849057
84
0.651141
927e320523e04b0b2afed5168444a9bde76b3d60
2,053
py
Python
globe_observer_cli.py
fpaludi/GlobeObserver
d95155142304a305e9ec73276139ddcd8dd31c72
[ "MIT" ]
null
null
null
globe_observer_cli.py
fpaludi/GlobeObserver
d95155142304a305e9ec73276139ddcd8dd31c72
[ "MIT" ]
null
null
null
globe_observer_cli.py
fpaludi/GlobeObserver
d95155142304a305e9ec73276139ddcd8dd31c72
[ "MIT" ]
null
null
null
from time import time from typing import List, Optional from pathlib import Path from datetime import datetime, timedelta import typer import numpy as np from skimage import exposure import rasterio as rio from rasterio import plot from globe_observer.gee import SatelliteFactory, BaseGeeService from globe_observer.gdri...
25.6625
73
0.669264
927e356264be10470f903d4aeb2be8373a316cd6
61
py
Python
up/utils/model/optim/__init__.py
ModelTC/EOD
164bff80486e9ae6a095a97667b365c46ceabd86
[ "Apache-2.0" ]
196
2021-10-30T05:15:36.000Z
2022-03-30T18:43:40.000Z
up/utils/model/optim/__init__.py
ModelTC/EOD
164bff80486e9ae6a095a97667b365c46ceabd86
[ "Apache-2.0" ]
12
2021-10-30T11:33:28.000Z
2022-03-31T14:22:58.000Z
up/utils/model/optim/__init__.py
ModelTC/EOD
164bff80486e9ae6a095a97667b365c46ceabd86
[ "Apache-2.0" ]
23
2021-11-01T07:26:17.000Z
2022-03-27T05:55:37.000Z
from .lars import LARS # noqa from .lamb import LAMB # noqa
30.5
30
0.721311
927f45b9dbdb80eca73f5bcd7ad5255da6d02422
10,487
py
Python
simrd/simrd/parse/graph.py
uwsampl/dtr-prototype
eff53cc4804cc7d6246a6e5086861ce2b846f62b
[ "Linux-OpenIB" ]
90
2020-06-18T05:32:06.000Z
2022-03-28T13:05:17.000Z
simrd/simrd/parse/graph.py
merrymercy/dtr-prototype
bf40e182453a7d8d23581ea68f32a9d7d2037d62
[ "Linux-OpenIB" ]
5
2020-07-02T02:25:16.000Z
2022-03-24T05:50:30.000Z
simrd/simrd/parse/graph.py
uwsampl/dtr-prototype
eff53cc4804cc7d6246a6e5086861ce2b846f62b
[ "Linux-OpenIB" ]
13
2020-06-27T07:01:54.000Z
2022-01-18T07:31:01.000Z
import attr from attr import attrib, s from typing import Tuple, List, Optional, Callable, Mapping, Union, Set from collections import defaultdict from ..tensor import Operator GOp.CONST_NAME = 'constant' class Graph: def __init__(self): self._id : int = 0 self.schedule : List[Union['GCompute', 'GGet', 'GR...
30.135057
89
0.605416
927f4c79aa83e7fff26f8f45893a1eaf912e2026
58
py
Python
json_schema_checker/validators/__init__.py
zorgulle/json_schema_checker
20cac68f899528619e5059f0e1fbee0a0f7219d6
[ "MIT" ]
null
null
null
json_schema_checker/validators/__init__.py
zorgulle/json_schema_checker
20cac68f899528619e5059f0e1fbee0a0f7219d6
[ "MIT" ]
null
null
null
json_schema_checker/validators/__init__.py
zorgulle/json_schema_checker
20cac68f899528619e5059f0e1fbee0a0f7219d6
[ "MIT" ]
null
null
null
from .validators import Int from .validators import String
29
30
0.844828
927fd09597ab96c5d8e35156dd5a27ff50d0ebba
3,653
py
Python
samples/oxy-cope/namd_02-mini.py
sergio-marti/qm3
00476b05a730de79511c003dd54894c5d2cfac7c
[ "MIT" ]
13
2020-12-19T02:37:39.000Z
2022-02-09T11:26:38.000Z
samples/oxy-cope/namd_02-mini.py
zhenglz/qm3
356a26baf990391597bd75b971a95952e52fb977
[ "MIT" ]
2
2021-01-07T02:53:27.000Z
2021-07-02T17:58:42.000Z
samples/oxy-cope/namd_02-mini.py
zhenglz/qm3
356a26baf990391597bd75b971a95952e52fb977
[ "MIT" ]
3
2020-12-20T11:30:52.000Z
2021-07-12T02:51:44.000Z
import qm3.mol import qm3.fio.xplor import qm3.problem import qm3.engines.namd import qm3.engines.xtb import qm3.engines.mmint import qm3.actions.minimize import os import time import pickle obj = my_problem() qm3.actions.minimize.fire( obj, print_frequency = 10, gradient_tolerance = 10.0, step_num...
26.860294
116
0.557624
927fe9bfc9c6689c83acfebe0371f46c8bba2a23
1,791
py
Python
wysdom/dom/DOMDict.py
jetavator/wysdom
4c67c82a9df66370da5cf5347abd7450a52d3d03
[ "Apache-2.0" ]
1
2021-04-20T07:40:28.000Z
2021-04-20T07:40:28.000Z
wysdom/dom/DOMDict.py
jetavator/wysdom
4c67c82a9df66370da5cf5347abd7450a52d3d03
[ "Apache-2.0" ]
69
2020-05-13T07:13:49.000Z
2021-05-06T18:26:21.000Z
wysdom/dom/DOMDict.py
jetavator/wysdom
4c67c82a9df66370da5cf5347abd7450a52d3d03
[ "Apache-2.0" ]
null
null
null
from __future__ import annotations from typing import Generic, TypeVar, Optional, Any, Dict from collections.abc import Mapping from ..base_schema import Schema, SchemaAnything from .DOMElement import DOMElement from .DOMObject import DOMObject from . import DOMInfo from .DOMProperties import DOMProperties T_co = T...
34.442308
115
0.638749
928094af66188381474817f8d7d387d3293b6b95
13,773
py
Python
auto_updater.py
fgreinacher/homebrew-dotnet-sdk-versions
4cf4eb88c7e2ffdb866d0ad2a4b72acef4139afb
[ "MIT" ]
null
null
null
auto_updater.py
fgreinacher/homebrew-dotnet-sdk-versions
4cf4eb88c7e2ffdb866d0ad2a4b72acef4139afb
[ "MIT" ]
null
null
null
auto_updater.py
fgreinacher/homebrew-dotnet-sdk-versions
4cf4eb88c7e2ffdb866d0ad2a4b72acef4139afb
[ "MIT" ]
null
null
null
#!/usr/bin/env python import argparse import glob import hashlib import json import os import re import requests import urllib.request if __name__ == "__main__": parser = argparse.ArgumentParser() parser.add_argument("--really_push", action='store_true', default=False, help='Indicates whether we really pu...
38.046961
186
0.650839
9280ceaa2b70f59e4500ed7d8d1c93dba1aab988
4,487
py
Python
template_creator/reader/strategies/GoStrategy.py
VanOvermeire/sam-template-creator
0b39440c9051ccd30fc80bfa2e4d7da40c7e50b7
[ "MIT" ]
3
2019-06-10T19:46:23.000Z
2021-05-06T12:15:45.000Z
template_creator/reader/strategies/GoStrategy.py
VanOvermeire/sam-template-creator
0b39440c9051ccd30fc80bfa2e4d7da40c7e50b7
[ "MIT" ]
2
2019-10-20T14:57:50.000Z
2020-01-01T00:52:32.000Z
template_creator/reader/strategies/GoStrategy.py
VanOvermeire/sam-template-creator
0b39440c9051ccd30fc80bfa2e4d7da40c7e50b7
[ "MIT" ]
2
2019-10-19T07:40:53.000Z
2019-10-19T08:29:40.000Z
import re from template_creator.reader.config.iam_config import GO_EXCEPTIONS from template_creator.reader.strategies.language_strategy_common import find_variables_in_line_of_code, find_api, find_events
34.251908
125
0.595944
9280f582ef5d54e9016b69411e4065df25b247b7
2,650
py
Python
indicators/data.py
WPRDC/community-simulacrum
c463de3dac1749c82537c6c6ac74c50eb5b9be75
[ "MIT" ]
null
null
null
indicators/data.py
WPRDC/community-simulacrum
c463de3dac1749c82537c6c6ac74c50eb5b9be75
[ "MIT" ]
6
2020-12-18T17:21:35.000Z
2021-03-03T21:08:44.000Z
indicators/data.py
WPRDC/community-simulacrum
c463de3dac1749c82537c6c6ac74c50eb5b9be75
[ "MIT" ]
null
null
null
import dataclasses import typing from dataclasses import dataclass from typing import List from typing import Optional from profiles.settings import DENOM_DKEY, VALUE_DKEY, GEOG_DKEY, TIME_DKEY if typing.TYPE_CHECKING: from indicators.models import CensusVariable, CKANVariable
37.857143
105
0.655472
9281d8f67c6e76e88dcbf1ff3a04ce086acc8c7f
886
py
Python
support.py
Soarxyn/PEF-Structural-Analysis
db6067d216539266cd3c40682f85070ccc082f89
[ "MIT" ]
4
2020-03-20T20:45:12.000Z
2020-06-19T13:03:41.000Z
support.py
Soarxyn/PEF-Structural-Analysis
db6067d216539266cd3c40682f85070ccc082f89
[ "MIT" ]
null
null
null
support.py
Soarxyn/PEF-Structural-Analysis
db6067d216539266cd3c40682f85070ccc082f89
[ "MIT" ]
null
null
null
from typing import Tuple from enum import Enum from auxiliary.algebra import Vector3, psin, pcos # this is an auxiliary class used for initializing the Support class's members' values # this is a class that defines one of three support types: simple, pinned or fixed
32.814815
86
0.705418
9282012d5de8ff8454e76abbaa57322969482ad0
11,677
py
Python
picaact.py
yindaheng98/picacomic
167ba977192d27f6d27a911f748bf018b61d2acf
[ "Apache-2.0" ]
null
null
null
picaact.py
yindaheng98/picacomic
167ba977192d27f6d27a911f748bf018b61d2acf
[ "Apache-2.0" ]
null
null
null
picaact.py
yindaheng98/picacomic
167ba977192d27f6d27a911f748bf018b61d2acf
[ "Apache-2.0" ]
null
null
null
import os import re import logging import sqlite3 import json import threading from picaapi import PicaApi from urllib import parse from multiprocessing.pool import ThreadPool
41.853047
178
0.546716
92823b64b2493a2841eef5286f4dd90b0822ea8b
1,094
py
Python
sharpy-sc2/sharpy/plans/require/enemy_building_exists.py
etzhang416/sharpy-bot-eco
badc68ad1aa903dfa1bbc33f6225608e433ff353
[ "Unlicense" ]
null
null
null
sharpy-sc2/sharpy/plans/require/enemy_building_exists.py
etzhang416/sharpy-bot-eco
badc68ad1aa903dfa1bbc33f6225608e433ff353
[ "Unlicense" ]
null
null
null
sharpy-sc2/sharpy/plans/require/enemy_building_exists.py
etzhang416/sharpy-bot-eco
badc68ad1aa903dfa1bbc33f6225608e433ff353
[ "Unlicense" ]
null
null
null
import warnings from sc2 import UnitTypeId from sharpy.plans.require.require_base import RequireBase
28.789474
115
0.678245
92831eddc434876a1167f4aa57320da88b3d4e23
2,971
py
Python
setup.py
biobakery/halla
9017988664399e607590ddb030ce755b233effae
[ "MIT" ]
6
2020-09-15T17:57:45.000Z
2022-01-09T11:46:33.000Z
setup.py
biobakery/halla
9017988664399e607590ddb030ce755b233effae
[ "MIT" ]
2
2021-04-13T17:07:28.000Z
2021-09-20T15:45:43.000Z
setup.py
biobakery/halla
9017988664399e607590ddb030ce755b233effae
[ "MIT" ]
2
2020-06-17T16:47:35.000Z
2020-09-15T17:57:47.000Z
'''HAllA setup To install: python setup.py install ''' import sys try: import setuptools from setuptools.command.install import install except ImportError: sys.exit('Please install setuptools.') VERSION = '0.8.20' AUTHOR = 'HAllA Development Team' MAINTAINER_EMAIL = 'halla-users@googlegroups.com' # In...
35.795181
570
0.657354
92839f4c490a65ddecdbcfd8f4191a0b811fc3a5
5,087
py
Python
all-sky-average-proper-motions/proper-motion-map.py
agabrown/gaiaedr3-proper-motion-visualizations
f3943c548e6c373badcd0a598852c71eb88643d1
[ "MIT" ]
5
2020-12-03T17:05:54.000Z
2021-03-22T11:48:21.000Z
all-sky-average-proper-motions/proper-motion-map.py
agabrown/gaiaedr3-proper-motion-visualizations
f3943c548e6c373badcd0a598852c71eb88643d1
[ "MIT" ]
null
null
null
all-sky-average-proper-motions/proper-motion-map.py
agabrown/gaiaedr3-proper-motion-visualizations
f3943c548e6c373badcd0a598852c71eb88643d1
[ "MIT" ]
2
2021-01-28T13:20:57.000Z
2021-08-13T16:55:32.000Z
""" Plot an all-sky average proper motion map, using statistics downloaded from the Gaia archive with a query similar to the following: select gaia_healpix_index(5, source_id) as healpix_5, avg(pmra) as avg_pmra, avg(pmdec) as avg_pmdec from gaiaedr3.gaia_source where parallax_over_error>=10 and parallax*paralla...
40.373016
120
0.658148
92863f36881bc64c62961311a3a4e4eae246cfd5
15,743
py
Python
AWERA/wind_profile_clustering/read_requested_data.py
lthUniBonn/AWERA
fa7f210516318bcfcbe1c99abbb5954b0cbaf682
[ "MIT" ]
null
null
null
AWERA/wind_profile_clustering/read_requested_data.py
lthUniBonn/AWERA
fa7f210516318bcfcbe1c99abbb5954b0cbaf682
[ "MIT" ]
null
null
null
AWERA/wind_profile_clustering/read_requested_data.py
lthUniBonn/AWERA
fa7f210516318bcfcbe1c99abbb5954b0cbaf682
[ "MIT" ]
null
null
null
#!/usr/bin/env python2 # -*- coding: utf-8 -*- import xarray as xr import numpy as np import sys from os.path import join as path_join from .era5_ml_height_calc import compute_level_heights # FIXME what of this is still necessary? import dask # only as many threads as requested CPUs | only one to be requested, # ...
42.896458
79
0.56495
9289780cbba13c79f57a317c9ba7998f92d3643a
1,113
py
Python
bot/test_gpio.py
radiodee1/awesome-chatbot
5e83ae577421bb1e612da57836f24544e9dc044b
[ "MIT" ]
22
2018-06-22T07:10:06.000Z
2022-03-22T05:27:58.000Z
bot/test_gpio.py
radiodee1/awesome-chatbot
5e83ae577421bb1e612da57836f24544e9dc044b
[ "MIT" ]
6
2020-05-17T16:34:48.000Z
2022-03-02T13:56:55.000Z
bot/test_gpio.py
radiodee1/awesome-chatbot
5e83ae577421bb1e612da57836f24544e9dc044b
[ "MIT" ]
11
2018-03-29T21:47:56.000Z
2022-03-07T22:15:06.000Z
#!/usr/bin/env python3 import time pin_skip = False try: import RPi.GPIO as GPIO led_pin_a = 12 led_pin_b = 16 print('load rpi gpio') except: try: import Jetson.GPIO as GPIO led_pin_a = 12 led_pin_b = 16 print('load jetson gpio') except: pin_skip = True...
20.611111
41
0.577718
9289e747472df431fa07919c97c9bde9926f3780
636
py
Python
1-Algorithmic-Toolbox/week3/assignments/car_fueling.py
Helianus/Data-Structures-and-Algorithms-Coursera
1fe8961cdd77fdeb88490f127e4369680419c428
[ "MIT" ]
null
null
null
1-Algorithmic-Toolbox/week3/assignments/car_fueling.py
Helianus/Data-Structures-and-Algorithms-Coursera
1fe8961cdd77fdeb88490f127e4369680419c428
[ "MIT" ]
null
null
null
1-Algorithmic-Toolbox/week3/assignments/car_fueling.py
Helianus/Data-Structures-and-Algorithms-Coursera
1fe8961cdd77fdeb88490f127e4369680419c428
[ "MIT" ]
null
null
null
# python3 import sys if __name__ == '__main__': d, m, _, *stops = map(int, sys.stdin.read().split()) print(compute_min_refills(d, m, stops))
22.714286
66
0.52673
928bbe7491fdbc0a0f928ea52f2ec3bc8d5bb842
323
py
Python
python/python.py
TimVan1596/ACM-ICPC
07f7d728db1ecd09c5a3d0f05521930b14eb9883
[ "Apache-2.0" ]
1
2019-05-22T07:12:34.000Z
2019-05-22T07:12:34.000Z
python/python.py
TimVan1596/ACM-ICPC
07f7d728db1ecd09c5a3d0f05521930b14eb9883
[ "Apache-2.0" ]
3
2021-12-10T01:13:54.000Z
2021-12-14T21:18:42.000Z
python/python.py
TimVan1596/ACM-ICPC
07f7d728db1ecd09c5a3d0f05521930b14eb9883
[ "Apache-2.0" ]
null
null
null
import xlwt if __name__ == '__main__': workbook = xlwt.Workbook(encoding='utf-8') # workbook worksheet = workbook.add_sheet('sheet1') # sheet # , ,, worksheet.write(0, 0, 'hello world') worksheet.write(0, 1, '') workbook.save('first.xls') # students.xls
32.3
63
0.674923
928bed2cda12bb44aa28928e0571f9042f5e1006
736
py
Python
kiestze_django/kiestze/migrations/0004_auto_20180719_1438.py
oSoc18/kiest_ze
842eefcf3f6002ea90c2917682f625749398b33e
[ "Apache-2.0" ]
3
2018-07-11T07:59:15.000Z
2018-07-26T19:58:44.000Z
kiestze_django/kiestze/migrations/0004_auto_20180719_1438.py
oSoc18/kiest_ze
842eefcf3f6002ea90c2917682f625749398b33e
[ "Apache-2.0" ]
4
2018-08-11T13:55:50.000Z
2019-12-28T15:41:30.000Z
kiestze_django/kiestze/migrations/0004_auto_20180719_1438.py
oSoc18/kiest_ze
842eefcf3f6002ea90c2917682f625749398b33e
[ "Apache-2.0" ]
null
null
null
# Generated by Django 2.0.7 on 2018-07-19 14:38 from django.db import migrations, models import django.db.models.deletion
25.37931
104
0.586957
928e8bc158a67d838d81a5ba85e0362f35eae242
3,182
py
Python
analysis/get_input_message_pairs.py
Shawn-Guo-CN/EmergentNumerals
ef9786e5bd6c8c456143ad305742340e510f5edb
[ "MIT" ]
2
2019-08-16T21:37:55.000Z
2019-08-18T18:11:28.000Z
analysis/get_input_message_pairs.py
Shawn-Guo-CN/EmergentNumerals
ef9786e5bd6c8c456143ad305742340e510f5edb
[ "MIT" ]
null
null
null
analysis/get_input_message_pairs.py
Shawn-Guo-CN/EmergentNumerals
ef9786e5bd6c8c456143ad305742340e510f5edb
[ "MIT" ]
null
null
null
import torch import numpy as np from utils.conf import args from models.Set2Seq2Seq import Set2Seq2Seq from preprocesses.DataIterator import FruitSeqDataset from preprocesses.Voc import Voc DATA_FILE = './data/all_data.txt' OUT_FILE = './data/input_msg_pairs.txt' if __name__ == '__main__': main()
28.666667
82
0.653363
92939cd40ec3f894a9ca9fdc8baa64317efc2816
768
py
Python
Deck.py
Harel92/BlackJack-Game
adba557a025d9633a2cdaca4f59bb7aa4c566f6c
[ "MIT" ]
null
null
null
Deck.py
Harel92/BlackJack-Game
adba557a025d9633a2cdaca4f59bb7aa4c566f6c
[ "MIT" ]
null
null
null
Deck.py
Harel92/BlackJack-Game
adba557a025d9633a2cdaca4f59bb7aa4c566f6c
[ "MIT" ]
null
null
null
import random from Card import Card suits = ('Hearts', 'Diamonds', 'Spades', 'Clubs') ranks = ('Two', 'Three', 'Four', 'Five', 'Six', 'Seven', 'Eight', 'Nine', 'Ten', 'Jack', 'Queen', 'King', 'Ace')
30.72
113
0.578125
9293e833f1e19f7c619dba6ff2f245f4df6c6b74
4,762
py
Python
dependencies/src/4Suite-XML-1.0.2/Ft/Xml/Lib/HtmlPrettyPrinter.py
aleasims/Peach
bb56841e943d719d5101fee0a503ed34308eda04
[ "MIT" ]
null
null
null
dependencies/src/4Suite-XML-1.0.2/Ft/Xml/Lib/HtmlPrettyPrinter.py
aleasims/Peach
bb56841e943d719d5101fee0a503ed34308eda04
[ "MIT" ]
null
null
null
dependencies/src/4Suite-XML-1.0.2/Ft/Xml/Lib/HtmlPrettyPrinter.py
aleasims/Peach
bb56841e943d719d5101fee0a503ed34308eda04
[ "MIT" ]
1
2020-07-26T03:57:45.000Z
2020-07-26T03:57:45.000Z
######################################################################## # $Header: /var/local/cvsroot/4Suite/Ft/Xml/Lib/HtmlPrettyPrinter.py,v 1.12 2005/02/09 09:12:06 mbrown Exp $ """ This module supports formatted document serialization in HTML syntax. Copyright 2005 Fourthought, Inc. (USA). Detailed license and co...
36.075758
108
0.616968
9294963c5c0383860551b27b39a0b277aa9e0e8f
818
py
Python
setup.py
lanius/chord
48e129367080c95116600a80d56b310d06322b21
[ "MIT" ]
null
null
null
setup.py
lanius/chord
48e129367080c95116600a80d56b310d06322b21
[ "MIT" ]
null
null
null
setup.py
lanius/chord
48e129367080c95116600a80d56b310d06322b21
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from setuptools import setup setup( name='chord', version='0.0.1', url='https://github.com/lanius/chord/', packages=['chord'], license='MIT', author='lanius', author_email='lanius@nirvake.org', description='Captures current status of keyboard.', install_req...
29.214286
70
0.5978
92950fc24b8bc2b382fb2963eb44444a27e250ed
4,669
py
Python
modules/deepspell/baseline/symspell_gendawg.py
Klebert-Engineering/deep-spell-9
cabfcbf8238085b139e6b4b0e43f459230ead963
[ "MIT" ]
3
2018-12-16T17:20:39.000Z
2019-01-11T19:45:29.000Z
modules/deepspell/baseline/symspell_gendawg.py
Klebert-Engineering/deep-spell-9
cabfcbf8238085b139e6b4b0e43f459230ead963
[ "MIT" ]
2
2021-11-30T16:35:36.000Z
2022-01-20T12:33:10.000Z
modules/deepspell/baseline/symspell_gendawg.py
Klebert-Engineering/deep-spell-9
cabfcbf8238085b139e6b4b0e43f459230ead963
[ "MIT" ]
null
null
null
# (C) 2018-present Klebert Engineering """ Opens a TSV FTS corpus file and generates misspelled entries for each FTS token with a given maximum edit distance. Takes two arguments: (1) The corpus file (2) The output file. Two output files will be generated from this argument: -> <output file>.refs : Contains pickle...
39.567797
106
0.644892