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
d31fa655ac64aa971997076b0728810b41a6b669
2,899
py
Python
publishfeed/tests.py
RobertLD/publishfeed-OTC
b67192517706f5dfbe0210f5deaef258ae10d28d
[ "MIT" ]
9
2017-06-08T18:13:33.000Z
2021-11-02T12:41:46.000Z
publishfeed/tests.py
RobertLD/publishfeed-OTC
b67192517706f5dfbe0210f5deaef258ae10d28d
[ "MIT" ]
4
2021-03-30T15:52:52.000Z
2021-04-11T17:22:46.000Z
publishfeed/tests.py
RobertLD/publishfeed-OTC
b67192517706f5dfbe0210f5deaef258ae10d28d
[ "MIT" ]
4
2020-11-26T23:20:16.000Z
2022-03-03T12:20:25.000Z
import unittest from models import FeedSet, Base, RSSContent import config import sqlalchemy from sqlalchemy.orm import sessionmaker from unittest.mock import MagicMock from test_data.feedparser_data import fake_response from helpers import RSSContentHelper, FeedSetHelper if __name__ == '__main__': unittest.main()...
34.511905
109
0.660573
d32237cf61ff2cf5d80f55993554fdb8e42b3f2c
7,474
py
Python
src/faceRecognition.py
lizenan/Face-Recognition
b0a7ce630cd93e111ae4b204bc7b466c74084d7d
[ "Unlicense" ]
3
2018-03-01T23:13:10.000Z
2018-07-10T01:41:55.000Z
src/faceRecognition.py
lizenan/Face-Recognition
b0a7ce630cd93e111ae4b204bc7b466c74084d7d
[ "Unlicense" ]
null
null
null
src/faceRecognition.py
lizenan/Face-Recognition
b0a7ce630cd93e111ae4b204bc7b466c74084d7d
[ "Unlicense" ]
null
null
null
## -*- coding: utf-8 -*- """ Created on Tue Sep 26 13:38:17 2017 @author: Administrator """ import dlib import cv2 import numpy as np from sklearn.externals import joblib import os import pathAttributes #ap = argparse.ArgumentParser() #ap.add_argument("-p", "--shape-predictor", metavar="D:\\\\\\shape_pr...
42.225989
161
0.561012
d322674711a217f72d8fe05d49c286ff43b55845
1,005
py
Python
tests/contrib/value_learning/_test_valuestore.py
spirali/gamegym
8c2dbb7969cabae9ca86c0dab74c6ddc5fbd21bf
[ "MIT" ]
49
2018-10-05T20:52:31.000Z
2021-12-29T05:59:27.000Z
tests/contrib/value_learning/_test_valuestore.py
spirali/gamegym
8c2dbb7969cabae9ca86c0dab74c6ddc5fbd21bf
[ "MIT" ]
8
2018-10-07T12:11:20.000Z
2019-02-03T10:47:25.000Z
tests/contrib/value_learning/_test_valuestore.py
spirali/gamegym
8c2dbb7969cabae9ca86c0dab74c6ddc5fbd21bf
[ "MIT" ]
4
2018-10-07T10:27:43.000Z
2020-02-13T18:47:37.000Z
from gamegym.game import Game, Situation from gamegym.utils import get_rng from gamegym.distribution import Explicit from gamegym.value_learning.valuestore import LinearValueStore import numpy as np import pytest from scipy.sparse import csr_matrix
29.558824
62
0.666667
d322a549ba04d5714d8f4cb616bd1bf2addd3df6
9,951
py
Python
test/e2e/tests/test_route_table.py
timbyr/ec2-controller
d96d056fdc6ec7d31981f4c14cad8d740f6cf6ec
[ "Apache-2.0" ]
14
2021-08-04T00:21:49.000Z
2022-03-21T01:06:09.000Z
test/e2e/tests/test_route_table.py
timbyr/ec2-controller
d96d056fdc6ec7d31981f4c14cad8d740f6cf6ec
[ "Apache-2.0" ]
48
2021-08-03T19:00:42.000Z
2022-03-31T22:18:42.000Z
test/e2e/tests/test_route_table.py
timbyr/ec2-controller
d96d056fdc6ec7d31981f4c14cad8d740f6cf6ec
[ "Apache-2.0" ]
9
2021-07-22T15:49:43.000Z
2022-03-06T22:24:14.000Z
# Copyright Amazon.com Inc. or its affiliates. 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. A copy of the # License is located at # # http://aws.amazon.com/apache2.0/ # # or in the "license" file accompanyin...
35.794964
114
0.638428
d322e920e430d42433aea1129d02e77e626557b0
21,922
py
Python
desicos/abaqus/gui/gui_commands.py
saullocastro/desicos
922db8ac4fb0fb4d09df18ce2a14011f207f6fa8
[ "BSD-3-Clause" ]
1
2020-10-22T22:15:24.000Z
2020-10-22T22:15:24.000Z
desicos/abaqus/gui/gui_commands.py
saullocastro/desicos
922db8ac4fb0fb4d09df18ce2a14011f207f6fa8
[ "BSD-3-Clause" ]
1
2020-10-09T12:42:02.000Z
2020-10-09T12:42:02.000Z
desicos/abaqus/gui/gui_commands.py
saullocastro/desicos
922db8ac4fb0fb4d09df18ce2a14011f207f6fa8
[ "BSD-3-Clause" ]
2
2020-07-14T07:45:31.000Z
2020-12-29T00:22:41.000Z
import os import subprocess import shutil from itertools import chain import __main__ import numpy as np import desicos.abaqus.abaqus_functions as abaqus_functions import desicos.conecylDB as conecylDB import desicos.abaqus.conecyl as conecyl import desicos.abaqus.study as study from desicos.abaqus.constants import ...
36.96796
125
0.593194
d3230aebfb6ec10341841fb4d94700228d875338
2,277
py
Python
pydeelib/widgets/texteditor.py
pombreda/pydee
133609d4e378361d968e7a06baa11256e0e2f403
[ "MIT" ]
null
null
null
pydeelib/widgets/texteditor.py
pombreda/pydee
133609d4e378361d968e7a06baa11256e0e2f403
[ "MIT" ]
null
null
null
pydeelib/widgets/texteditor.py
pombreda/pydee
133609d4e378361d968e7a06baa11256e0e2f403
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # # Copyright 2009 Pierre Raybaut # Licensed under the terms of the MIT License # (see pydeelib/__init__.py for details) """ Text Editor Dialog based on PyQt4 """ # pylint: disable-msg=C0103 # pylint: disable-msg=R0903 # pylint: disable-msg=R0911 # pylint: disable-msg=R0201 fr...
29.960526
85
0.611331
d32563b73d3b9a87be6655f27c6f26fcf020fa7f
5,553
py
Python
invoices/xml/__init__.py
pythonitalia/fatturae
29e680ca942f60fcd92cff8e9651ee89bf832732
[ "MIT" ]
11
2018-12-28T12:13:21.000Z
2021-01-19T15:33:47.000Z
invoices/xml/__init__.py
pythonitalia/fatturae
29e680ca942f60fcd92cff8e9651ee89bf832732
[ "MIT" ]
8
2019-07-03T21:07:18.000Z
2021-12-13T19:59:13.000Z
invoices/xml/__init__.py
pythonitalia/fatturae
29e680ca942f60fcd92cff8e9651ee89bf832732
[ "MIT" ]
6
2019-01-01T23:56:41.000Z
2021-09-21T06:54:53.000Z
from __future__ import annotations from typing import TYPE_CHECKING, List from lxml import etree from .types import ProductSummary, XMLDict from .utils import dict_to_xml, format_price if TYPE_CHECKING: from invoices.models import Invoice, Sender, Address NAMESPACE_MAP = { "p": "http://ivaservizi.agenziae...
34.277778
79
0.52134
d3256dbf7b293bf8be691bd30c05059ca559be89
685
py
Python
src/sentry/db/models/fields/foreignkey.py
withrocks/commonlims
d8a925c917aa26e8205fefb3966a9f49f8f2e2f8
[ "BSD-3-Clause" ]
4
2019-05-27T13:55:07.000Z
2021-03-30T07:05:09.000Z
src/sentry/db/models/fields/foreignkey.py
withrocks/commonlims
d8a925c917aa26e8205fefb3966a9f49f8f2e2f8
[ "BSD-3-Clause" ]
99
2019-05-20T14:16:33.000Z
2021-01-19T09:25:15.000Z
src/sentry/db/models/fields/foreignkey.py
withrocks/commonlims
d8a925c917aa26e8205fefb3966a9f49f8f2e2f8
[ "BSD-3-Clause" ]
1
2020-08-10T07:55:40.000Z
2020-08-10T07:55:40.000Z
""" sentry.db.models.fields.foreignkey ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :copyright: (c) 2010-2014 by the Sentry Team, see AUTHORS for more details. :license: BSD, see LICENSE for more details. """ from __future__ import absolute_import from django.db.models import ForeignKey __all__ = ('FlexibleForeignKey', )
29.782609
75
0.70073
d32a4aebc5975eb5e4c7cdb76bcd29f0483434fb
3,235
py
Python
pybond/bond/bond_helpers/observe_files.py
necula01/bond
7ac262bc9695ba493985c784999509dec979e37a
[ "BSD-2-Clause-FreeBSD" ]
8
2015-11-19T01:14:08.000Z
2017-06-16T11:21:16.000Z
pybond/bond/bond_helpers/observe_files.py
gnecula/bond
7ac262bc9695ba493985c784999509dec979e37a
[ "BSD-2-Clause-FreeBSD" ]
26
2015-10-12T21:31:13.000Z
2017-04-11T13:57:33.000Z
pybond/bond/bond_helpers/observe_files.py
gnecula/bond
7ac262bc9695ba493985c784999509dec979e37a
[ "BSD-2-Clause-FreeBSD" ]
3
2015-10-30T01:12:10.000Z
2016-03-26T16:58:17.000Z
# Helper functions to observe files and directories import os import re def collect_directory_contents(directory, file_filter=None, collect_file_contents=False): """ Collect an object reflecting the contents of a directory :param directory: the ...
44.930556
102
0.646677
d32aedc406d3ed96b03df496926ed0bbfe5758f8
18,611
py
Python
p4z3/expressions.py
gauntlet-repo/gauntlet
be847507556fc61d85e0bfd70ac57b5d064c9e8a
[ "Apache-2.0" ]
2
2020-08-16T02:23:19.000Z
2021-01-04T16:01:35.000Z
p4z3/expressions.py
gauntlet-repo/gauntlet
be847507556fc61d85e0bfd70ac57b5d064c9e8a
[ "Apache-2.0" ]
null
null
null
p4z3/expressions.py
gauntlet-repo/gauntlet
be847507556fc61d85e0bfd70ac57b5d064c9e8a
[ "Apache-2.0" ]
null
null
null
import operator as op from p4z3.base import log, z3_cast, z3, copy_attrs, copy, gen_instance from p4z3.base import P4ComplexInstance, P4Expression, P4ComplexType
37.44668
95
0.620762
d32c20ceadd90960ca062de8a0331b5c9ee0d37a
18,597
py
Python
Gems/AtomLyIntegration/TechnicalArt/DccScriptingInterface/foundation.py
prophetl33t/o3de
eaeeb883eee1594b1b93327f6909eebd1a826caf
[ "Apache-2.0", "MIT" ]
null
null
null
Gems/AtomLyIntegration/TechnicalArt/DccScriptingInterface/foundation.py
prophetl33t/o3de
eaeeb883eee1594b1b93327f6909eebd1a826caf
[ "Apache-2.0", "MIT" ]
null
null
null
Gems/AtomLyIntegration/TechnicalArt/DccScriptingInterface/foundation.py
prophetl33t/o3de
eaeeb883eee1594b1b93327f6909eebd1a826caf
[ "Apache-2.0", "MIT" ]
null
null
null
# coding:utf-8 #!/usr/bin/python # # Copyright (c) Contributors to the Open 3D Engine Project. # For complete copyright and license terms please see the LICENSE at the root of this distribution. # # SPDX-License-Identifier: Apache-2.0 OR MIT # # # ------------------------------------------------------------------------...
38.108607
131
0.560789
d32c86dc486eaa041056b260ea19eef0c3713838
4,672
py
Python
analyze/install.py
takkii/Pylean
d51595e2788e946d9a2492bbe7131e4ada19062f
[ "MIT" ]
1
2020-06-22T10:05:23.000Z
2020-06-22T10:05:23.000Z
analyze/install.py
takkii/Pylean
d51595e2788e946d9a2492bbe7131e4ada19062f
[ "MIT" ]
null
null
null
analyze/install.py
takkii/Pylean
d51595e2788e946d9a2492bbe7131e4ada19062f
[ "MIT" ]
null
null
null
import importlib import platform import site import subprocess import sys import traceback if sys.version_info[0] == 2: print("This installer is Python2 not supported.") elif sys.version_info[0] == 3: pf = platform.system() if pf == 'Windows': InstClass = InstallerClass() InstClass.sci_w...
31.355705
98
0.596747
d32c8a2b7b92d8fdaee8fe0058c22508187e19a3
5,871
py
Python
ros2_workspace/src/kumo/kumo/handlers/node_handler.py
ichiro-its/kumo-playground
26163a5d80a81976482014855cf2796a44182608
[ "MIT" ]
2
2021-03-07T12:27:11.000Z
2021-03-19T16:25:59.000Z
ros2_workspace/src/kumo/kumo/handlers/node_handler.py
ichiro-its/kumo-playground
26163a5d80a81976482014855cf2796a44182608
[ "MIT" ]
20
2021-03-07T12:05:52.000Z
2021-07-22T13:33:13.000Z
ros2_workspace/src/kumo/kumo/handlers/node_handler.py
ichiro-its/kumo-playground
26163a5d80a81976482014855cf2796a44182608
[ "MIT" ]
1
2021-12-02T01:24:40.000Z
2021-12-02T01:24:40.000Z
# Copyright (c) 2021 Ichiro ITS # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, merge, publish, distribu...
41.055944
83
0.656788
d32d334b2b10906c6a65aadf1d57e8f4c1285936
6,560
py
Python
rcnn.py
PlanetExp/rcnn
c0f26c18c17334d7185a83b60c68eaf4357246bf
[ "Apache-2.0" ]
null
null
null
rcnn.py
PlanetExp/rcnn
c0f26c18c17334d7185a83b60c68eaf4357246bf
[ "Apache-2.0" ]
null
null
null
rcnn.py
PlanetExp/rcnn
c0f26c18c17334d7185a83b60c68eaf4357246bf
[ "Apache-2.0" ]
null
null
null
"""RCNN model """ import tensorflow as tf from define_scope import define_scope # custom decorators
32.156863
119
0.685366
d32d4989ddb61c61ac3a74c50608bb06d99de21a
4,016
py
Python
nihongo_companion/dictionary/nihongomaster.py
northy/anki-nihongo-companion
d238c3a0b0b195e857b0914570a824a492d2840c
[ "MIT" ]
1
2021-10-14T21:30:56.000Z
2021-10-14T21:30:56.000Z
nihongo_companion/dictionary/nihongomaster.py
northy/anki-nihongo-companion
d238c3a0b0b195e857b0914570a824a492d2840c
[ "MIT" ]
2
2021-10-08T00:30:22.000Z
2021-10-30T02:10:37.000Z
nihongo_companion/dictionary/nihongomaster.py
northy/anki-nihongo-companion
d238c3a0b0b195e857b0914570a824a492d2840c
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # MIT License # Copyright (c) 2021 Alexsandro Thomas # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # ...
38.990291
138
0.594871
d32db38b32c9c1c912fe1cbdd41b39ddaa026dbb
437
py
Python
src/aceinna/devices/configs/openimu_predefine.py
LukaszChl/ros_openimu
1bcf547fa42ee7c7dcc856c1d4eb5702d301b059
[ "Apache-2.0" ]
6
2021-03-18T16:18:53.000Z
2022-01-18T15:32:15.000Z
src/aceinna/devices/configs/openimu_predefine.py
LukaszChl/ros_openimu
1bcf547fa42ee7c7dcc856c1d4eb5702d301b059
[ "Apache-2.0" ]
11
2020-12-22T16:19:20.000Z
2022-02-11T11:03:25.000Z
src/aceinna/devices/configs/openimu_predefine.py
LukaszChl/ros_openimu
1bcf547fa42ee7c7dcc856c1d4eb5702d301b059
[ "Apache-2.0" ]
11
2021-04-12T03:00:28.000Z
2022-03-25T19:53:43.000Z
""" predefined params for openimu """ JSON_FILE_NAME = 'openimu.json' def get_app_names(): ''' define openimu app type ''' app_names = ['Compass', 'IMU', 'INS', 'Leveler', 'OpenIMU', 'VG', 'VG_AHRS', ...
19
74
0.434783
d32dd1934f4c68dc0cb20d9f2ee7231658679268
4,073
py
Python
app.py
dhill2522/DroneWeatherApi
fe8196c78597d4089359cd872491441690f6899f
[ "MIT" ]
null
null
null
app.py
dhill2522/DroneWeatherApi
fe8196c78597d4089359cd872491441690f6899f
[ "MIT" ]
null
null
null
app.py
dhill2522/DroneWeatherApi
fe8196c78597d4089359cd872491441690f6899f
[ "MIT" ]
null
null
null
from flask import Flask, request, Response from flask_cors import CORS import drone_awe import json import copy import traceback import utilities ''' Notes: - Need to disable plotting in the library - if possible remove matplotlib entirely from the library - if possible remove gekko object from a.output in...
30.395522
90
0.470169
d32e8c56edc32689975959c28267b672389c92f8
25,521
py
Python
cspass.py
Ruulian/CSPass
e608331b429e9a7e759ef4f54a66b25a179f724a
[ "MIT" ]
30
2021-11-01T15:55:39.000Z
2022-03-24T16:57:23.000Z
cspass.py
Ruulian/CSPass
e608331b429e9a7e759ef4f54a66b25a179f724a
[ "MIT" ]
1
2022-01-30T13:45:29.000Z
2022-01-30T14:43:10.000Z
cspass.py
Ruulian/CSPass
e608331b429e9a7e759ef4f54a66b25a179f724a
[ "MIT" ]
2
2021-11-08T15:52:33.000Z
2022-02-10T09:19:50.000Z
#! /usr/bin/env python3 # -*- coding: utf-8 -*- # Author : @Ruulian_ # Date created : 31 Oct 2021 from random import choice from requests_html import HTMLSession from selenium import webdriver from selenium.common.exceptions import TimeoutException from selenium.webdriver.firefox.options import Optio...
60.191038
429
0.58971
d32ea4782a875805c450b276ed30f51fc7a8a52c
4,079
py
Python
backend/tests/test_search.py
Davidw1339/GroceryBuddy
6e2fde00999b4b9e218a919d793ee10128212ea8
[ "Apache-2.0" ]
null
null
null
backend/tests/test_search.py
Davidw1339/GroceryBuddy
6e2fde00999b4b9e218a919d793ee10128212ea8
[ "Apache-2.0" ]
18
2019-02-09T21:59:15.000Z
2019-03-10T19:13:19.000Z
backend/tests/test_search.py
Davidw1339/GroceryBuddy
6e2fde00999b4b9e218a919d793ee10128212ea8
[ "Apache-2.0" ]
2
2019-02-12T17:12:22.000Z
2019-02-25T05:41:31.000Z
import json import search import test_data import copy from utils import Error def test_no_args(client): ''' Tests search without arguments. ''' rv = client.get('/search') response = json.loads(rv.data) assert response == {'success': False, 'error': Error.MISSING_KEYWOR...
25.335404
74
0.634714
d32eef8a7dfcf28dbfc6929775c3f28b6adb0ef8
4,879
py
Python
app/main.py
DataScienceHobbyGroup/nacho-b
e4cfc62f2daa45cb939bb544491cdb1c1a7294ef
[ "MIT" ]
null
null
null
app/main.py
DataScienceHobbyGroup/nacho-b
e4cfc62f2daa45cb939bb544491cdb1c1a7294ef
[ "MIT" ]
1
2021-04-30T22:09:21.000Z
2021-04-30T22:09:21.000Z
app/main.py
DataScienceHobbyGroup/nacho-b
e4cfc62f2daa45cb939bb544491cdb1c1a7294ef
[ "MIT" ]
null
null
null
"""TODO: Add file description.""" import curio # async library import logging # python standard logging library import click # command line interface creation kit (click) import click_log # connects the logger output to click output from datasources.binance_csv import BinanceCSV from datasources.binance...
29.215569
79
0.644189
d32efdf87fa01cecf781b9df68da523858dc7395
446
py
Python
github/joeynmt/vizseq/__init__.py
shania3322/joeynmt
5afe9d00930f19949b2078141771bf4621f6e9ae
[ "Apache-2.0" ]
null
null
null
github/joeynmt/vizseq/__init__.py
shania3322/joeynmt
5afe9d00930f19949b2078141771bf4621f6e9ae
[ "Apache-2.0" ]
null
null
null
github/joeynmt/vizseq/__init__.py
shania3322/joeynmt
5afe9d00930f19949b2078141771bf4621f6e9ae
[ "Apache-2.0" ]
null
null
null
# Copyright (c) Facebook, Inc. and its affiliates. # All rights reserved. # # This source code is licensed under the license found in the # LICENSE file in the root directory of this source tree. # import os.path as op from pathlib import Path FILE_ROOT = Path(__file__).parent with open(op.join(FILE_ROOT, ...
26.235294
62
0.724215
d32f5b9d04aa58bad6be7d58f09474c29bae63fc
428
py
Python
invest_app/investlib/yfhelper.py
bdastur/builder
e05c013d01c4e82340879289940b3029fc6de266
[ "Apache-2.0" ]
null
null
null
invest_app/investlib/yfhelper.py
bdastur/builder
e05c013d01c4e82340879289940b3029fc6de266
[ "Apache-2.0" ]
null
null
null
invest_app/investlib/yfhelper.py
bdastur/builder
e05c013d01c4e82340879289940b3029fc6de266
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- import yahoofinancials def get_historical_price_data(ticker_symbol, start_date, end_date, frequency='weekly'): ''' The API returns historical price data. ''' yf = yahoofinancials.YahooFinancials...
22.526316
72
0.619159
d32f8561b61fe41f696c13c35bb0725c59749044
601
py
Python
tools/HGMD/access_HGMDdb.py
NickyPan/bio_informatics
2542b2888f6bdf684727622fbe9e073bc2ef61c8
[ "Apache-2.0" ]
1
2019-02-28T05:17:00.000Z
2019-02-28T05:17:00.000Z
tools/HGMD/access_HGMDdb.py
NickyPan/bio_informatics
2542b2888f6bdf684727622fbe9e073bc2ef61c8
[ "Apache-2.0" ]
null
null
null
tools/HGMD/access_HGMDdb.py
NickyPan/bio_informatics
2542b2888f6bdf684727622fbe9e073bc2ef61c8
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python import os import sys dbSet = [] with open('other_allmut_HD.txt',"r") as beds: for bed in beds: bed = bed.strip() bed = bed.split('\t') item = bed[15] + '\t' + bed[16] + '\t' + bed[17] + '\t' + bed[17] + '\t' + bed[17] + '\t' + bed[17] + '\t' + 'https://www.ncbi.nlm.ni...
37.5625
282
0.507488
d32fadd4ff7f6437fb1ebe111930355e7c14cd81
5,058
py
Python
home/pi/blissflixx/chls/bfch_r_documentaries/__init__.py
erick-guerra/Royalbox
967dbbdddc94b9968e6eba873f0d20328fd86f66
[ "MIT" ]
1
2022-01-29T11:17:58.000Z
2022-01-29T11:17:58.000Z
home/pi/blissflixx/chls/bfch_r_documentaries/__init__.py
erick-guerra/Royalbox
967dbbdddc94b9968e6eba873f0d20328fd86f66
[ "MIT" ]
null
null
null
home/pi/blissflixx/chls/bfch_r_documentaries/__init__.py
erick-guerra/Royalbox
967dbbdddc94b9968e6eba873f0d20328fd86f66
[ "MIT" ]
null
null
null
import chanutils.reddit _SUBREDDIT = 'Documentaries' _FEEDLIST = [ {'title':'Latest', 'url':'http://www.reddit.com/r/Documentaries.json'}, {'title':'Anthropology', 'url':'http://www.reddit.com/r/documentaries/search.json?q=flair%3A%27Anthropology%27&sort=top&restrict_sr=on&t=all'}, {'title':'Art', 'url':'http:/...
87.206897
181
0.723013
d330b0abc9b07d9ac27539db5194ff38a79da742
73
py
Python
python/__init__.py
SpM-lab/irbasis
5beb5cbe3c0ba0fb42c32e262f04d1f3359d6045
[ "MIT" ]
17
2018-07-16T15:07:09.000Z
2022-03-26T06:46:55.000Z
python/__init__.py
SpM-lab/irbasis
5beb5cbe3c0ba0fb42c32e262f04d1f3359d6045
[ "MIT" ]
3
2019-09-19T07:12:01.000Z
2020-02-14T11:54:03.000Z
python/__init__.py
SpM-lab/irbasis
5beb5cbe3c0ba0fb42c32e262f04d1f3359d6045
[ "MIT" ]
6
2019-01-28T19:51:50.000Z
2021-08-02T12:57:14.000Z
from .irbasis import load, basis, sampling_points_matsubara, __version__
36.5
72
0.849315
d331cf8fdbde34709011fa6dbc66e215380c30c3
4,650
py
Python
src/bake_a_py/cli.py
derSuessmann/bake-a-py
1fd2a0a4fa473215b44d2718755c5994a5588343
[ "MIT" ]
null
null
null
src/bake_a_py/cli.py
derSuessmann/bake-a-py
1fd2a0a4fa473215b44d2718755c5994a5588343
[ "MIT" ]
null
null
null
src/bake_a_py/cli.py
derSuessmann/bake-a-py
1fd2a0a4fa473215b44d2718755c5994a5588343
[ "MIT" ]
null
null
null
import sys import traceback import click from . import imaging_utility as iu from . import provisioning from . import __version__ if __name__ == '__main__': cli(obj={})
31
79
0.641505
d331d81afce0ba8cb722312a7186ad3036859de6
1,338
py
Python
utility/gd_content.py
SoftBlankie/dsa-twitter-bot
9d251ab0e3a89b38696bf667421eba0f49923033
[ "MIT", "Unlicense" ]
null
null
null
utility/gd_content.py
SoftBlankie/dsa-twitter-bot
9d251ab0e3a89b38696bf667421eba0f49923033
[ "MIT", "Unlicense" ]
null
null
null
utility/gd_content.py
SoftBlankie/dsa-twitter-bot
9d251ab0e3a89b38696bf667421eba0f49923033
[ "MIT", "Unlicense" ]
null
null
null
def read_paragraph_element(element): """Returns text in given ParagraphElement Args: element: ParagraphElement from Google Doc """ text_run = element.get('textRun') if not text_run: return '' return text_run.get('content') def read_structural_elements(elements): """...
35.210526
74
0.594918
d33381d94db212c012354ecf16f4b8a33084a29c
301
py
Python
SchoolManagement/ServerRestAPI/admin.py
amiremohamadi/django-restful-api
13dd5de4f16b5529556118a3469680c42e6e8c42
[ "MIT" ]
4
2019-05-26T18:08:44.000Z
2019-07-05T10:45:24.000Z
SchoolManagement/ServerRestAPI/admin.py
amiremohamadi/django-restful-api
13dd5de4f16b5529556118a3469680c42e6e8c42
[ "MIT" ]
null
null
null
SchoolManagement/ServerRestAPI/admin.py
amiremohamadi/django-restful-api
13dd5de4f16b5529556118a3469680c42e6e8c42
[ "MIT" ]
2
2020-05-31T20:38:59.000Z
2020-10-07T11:16:52.000Z
from django.contrib import admin from ServerRestAPI.models import ( Student, Teacher, StudentLecture, TeacherLecture, Lecture ) admin.site.register(Student) admin.site.register(Teacher) admin.site.register(StudentLecture) admin.site.register(TeacherLecture) admin.site.register(Lecture)
25.083333
38
0.797342
d33385aee0f5219d0cc15a664efa5cd3ff7a8758
352
py
Python
BOJ/17000~17999/17200~17299/17286.py
shinkeonkim/today-ps
f3e5e38c5215f19579bb0422f303a9c18c626afa
[ "Apache-2.0" ]
2
2020-01-29T06:54:41.000Z
2021-11-07T13:23:27.000Z
BOJ/17000~17999/17200~17299/17286.py
shinkeonkim/Today_PS
bb0cda0ee1b9c57e1cfa38355e29d0f1c6167a44
[ "Apache-2.0" ]
null
null
null
BOJ/17000~17999/17200~17299/17286.py
shinkeonkim/Today_PS
bb0cda0ee1b9c57e1cfa38355e29d0f1c6167a44
[ "Apache-2.0" ]
null
null
null
import itertools,math L = [1,2,3] p = list(itertools.permutations(L,3)) D = [list(map(int,input().split())) for i in range(4)] ans = 999999999999 for pp in p: k = [0]+list(pp) d = 0 for i in range(1,4): d += math.sqrt((D[k[i-1]][0] - D[k[i]][0])**2 + (D[k[i-1]][1] - D[k[i]][1])**2) if d < ans:...
23.466667
87
0.511364
d3356a95eb136cde9fb2ff5f5c78c32c6a43c33c
7,264
py
Python
scellseg/guis/scellsegGui.py
cellimnet/scellseg-publish
03bfbae11fedcf430c40419c9afadf55cbd3034d
[ "BSD-3-Clause" ]
1
2022-03-04T01:55:40.000Z
2022-03-04T01:55:40.000Z
scellseg/guis/scellsegGui.py
cellimnet/scellseg-publish
03bfbae11fedcf430c40419c9afadf55cbd3034d
[ "BSD-3-Clause" ]
null
null
null
scellseg/guis/scellsegGui.py
cellimnet/scellseg-publish
03bfbae11fedcf430c40419c9afadf55cbd3034d
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'cellPoseUI.ui' # Created by: PyQt5 UI code generator 5.11.3 import os, platform, ctypes, sys from PyQt5 import QtWidgets from PyQt5.QtCore import Qt from PyQt5.QtGui import QFontDatabase from scellseg.guis.scellsegUi import Ui_...
30.016529
116
0.499587
d336daa589d1898a53c01db9e10748817c7feeee
4,066
py
Python
tff_group_by_key_example/group_by_key_tff.py
michaeldtz/fed-dsp-examples
781b4484242513152dcd1578470e1476b9490edf
[ "Apache-2.0" ]
null
null
null
tff_group_by_key_example/group_by_key_tff.py
michaeldtz/fed-dsp-examples
781b4484242513152dcd1578470e1476b9490edf
[ "Apache-2.0" ]
null
null
null
tff_group_by_key_example/group_by_key_tff.py
michaeldtz/fed-dsp-examples
781b4484242513152dcd1578470e1476b9490edf
[ "Apache-2.0" ]
1
2022-02-25T11:25:30.000Z
2022-02-25T11:25:30.000Z
# Copyright 2021 Google LLC # # 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 # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
33.327869
190
0.71938
d336f7daf1dfbab4fe94ce85a802bb39d23a2533
918
py
Python
final_project/machinetranslation/translator.py
Opaso/xzceb-flask_eng_fr
2aaa6e0efaefa618e7970470c4658cb26985bd5a
[ "Apache-2.0" ]
null
null
null
final_project/machinetranslation/translator.py
Opaso/xzceb-flask_eng_fr
2aaa6e0efaefa618e7970470c4658cb26985bd5a
[ "Apache-2.0" ]
null
null
null
final_project/machinetranslation/translator.py
Opaso/xzceb-flask_eng_fr
2aaa6e0efaefa618e7970470c4658cb26985bd5a
[ "Apache-2.0" ]
null
null
null
import os from ibm_watson import LanguageTranslatorV3 from ibm_cloud_sdk_core.authenticators import IAMAuthenticator from dotenv import load_dotenv load_dotenv() apikey= os.environ['apikey'] url= os.environ['url'] VERSION= '2018-05-01' authenticator= IAMAuthenticator(apikey) language_translator= LanguageTranslatorV3(...
34
92
0.8061
d33c83028d980eeb9f91ddf24085145d4792726e
629
py
Python
Malloc/run.py
Yanjun-Chen/Python-Tools
be3c9d3e2f2ac368c121805548c70757644e2302
[ "MIT" ]
1
2021-02-16T06:39:48.000Z
2021-02-16T06:39:48.000Z
Malloc/run.py
Yanjun-Chen/Python-Tools
be3c9d3e2f2ac368c121805548c70757644e2302
[ "MIT" ]
null
null
null
Malloc/run.py
Yanjun-Chen/Python-Tools
be3c9d3e2f2ac368c121805548c70757644e2302
[ "MIT" ]
null
null
null
import trace_malloc as trace '''trace 10 files with maximum memory allocated''' trace.start() # ... run your code ... snapshot = trace.take_snapshot() top_stats = snapshot.statistics('lineno') print("[ Top 10 ]") for stat in top_stats[:10]: print(stat) '''Backtrack the largest memory block''' # Store 25 f...
17.971429
68
0.683625
d33d05aa2036a3db33dfe5549b91f4bc1ae6e12f
770
py
Python
test/visualization/test_visualize.py
wukathryn/axondeepseg
b5533f37d5337759fd0fd4186e286cb201b66c65
[ "MIT" ]
115
2017-11-08T02:24:31.000Z
2022-02-10T19:03:57.000Z
test/visualization/test_visualize.py
wukathryn/axondeepseg
b5533f37d5337759fd0fd4186e286cb201b66c65
[ "MIT" ]
511
2017-12-05T15:23:09.000Z
2022-02-22T19:38:43.000Z
test/visualization/test_visualize.py
wukathryn/axondeepseg
b5533f37d5337759fd0fd4186e286cb201b66c65
[ "MIT" ]
35
2017-11-30T13:36:28.000Z
2022-01-10T18:11:06.000Z
# coding: utf-8 from pathlib import Path import pytest from AxonDeepSeg.visualization.visualize import visualize_training
24.0625
66
0.615584
d33de8c495b1c5d04c26434bb941307d1b085eba
441
py
Python
normal_forms/examples/normal_form/07.py
joepatmckenna/normal_forms
e506304295a2592cfc050a2a688add89715aa5ff
[ "MIT" ]
null
null
null
normal_forms/examples/normal_form/07.py
joepatmckenna/normal_forms
e506304295a2592cfc050a2a688add89715aa5ff
[ "MIT" ]
null
null
null
normal_forms/examples/normal_form/07.py
joepatmckenna/normal_forms
e506304295a2592cfc050a2a688add89715aa5ff
[ "MIT" ]
null
null
null
from normal_forms import normal_form import sympy # Murdock, Normal Forms and Unfoldings of Local Dynamical Systems, Example 4.5.24 h = normal_form(f, (0, 0, 0), 2) # coeff of z**2 print h.fun[0].coeff(h.jet.var[2]**2)
27.5625
81
0.512472
d33e1e636ee5da0369711e6dc257901496e19cc2
486
py
Python
julie/physics/velocity.py
MarcelloBB/julieutils
cffba53a1561d05660c2274ce0a9485bf9e0ddcf
[ "MIT" ]
2
2021-08-23T15:16:43.000Z
2021-11-01T15:29:02.000Z
julie/physics/velocity.py
MarcelloBB/julieutils
cffba53a1561d05660c2274ce0a9485bf9e0ddcf
[ "MIT" ]
null
null
null
julie/physics/velocity.py
MarcelloBB/julieutils
cffba53a1561d05660c2274ce0a9485bf9e0ddcf
[ "MIT" ]
null
null
null
def average_speed(s1 : float, s0 : float, t1 : float, t0 : float) -> float: """ [FUNC] average_speed: Returns the average speed. Where: Delta Space = (space1[s1] - space0[s0]) Delta Time = (time1[t1] - time0[t0]) """ return ((s1-s0)/(t1-t0)); def average_acceleration(v1 : flo...
22.090909
82
0.576132
d343f65dbd887e6c6ed96fa7058357629d64dfee
28,858
py
Python
projects/tests.py
DoubleCapitals/web-platform-prototype
b17a982d6e5d2231c9bc1127fe9f823ed546f36d
[ "MIT" ]
3
2019-02-27T18:11:11.000Z
2019-03-28T09:42:23.000Z
projects/tests.py
DoubleCapitals/web-platform-prototype
b17a982d6e5d2231c9bc1127fe9f823ed546f36d
[ "MIT" ]
7
2019-02-28T06:29:50.000Z
2019-04-26T05:46:41.000Z
projects/tests.py
DoubleCapitals/web-platform-prototype
b17a982d6e5d2231c9bc1127fe9f823ed546f36d
[ "MIT" ]
5
2019-02-27T17:28:34.000Z
2019-03-01T02:34:44.000Z
from django.test import TestCase, Client from django.urls import reverse from django.test.utils import setup_test_environment from bs4 import BeautifulSoup import re import time from projects.models import * from projects.forms import * client = Client() # length of base template, used to test for empty pages LEN_B...
40.530899
117
0.585557
d346045a2a702b4b5d37883e341ba6820c6a9156
11,851
py
Python
chess/__main__.py
quadratic-bit/pygame-chess
83e8329a0e294008191770e7ddace52572bf7460
[ "MIT" ]
3
2021-12-22T08:28:21.000Z
2022-01-05T03:44:50.000Z
chess/__main__.py
quadratic-bit/pygame-chess
83e8329a0e294008191770e7ddace52572bf7460
[ "MIT" ]
null
null
null
chess/__main__.py
quadratic-bit/pygame-chess
83e8329a0e294008191770e7ddace52572bf7460
[ "MIT" ]
null
null
null
from sys import exit from typing import Optional, Final import pygame from rich.traceback import install from chess.board import Chessboard, Move, PieceType, PieceColour from chess.bot import ChessBot from chess.const import GameState from chess.utils import load_image, load_sound, load_font install(show_locals=True...
42.938406
110
0.537845
d346329c9ae09e1ba6b9cdabc40a15e9d8362a75
532
py
Python
rfb_utils/scenegraph_utils.py
N500/RenderManForBlender
76de176322a130b657a898fef7123168677f67eb
[ "MIT" ]
5
2018-01-13T09:37:35.000Z
2021-07-19T08:55:28.000Z
rfb_utils/scenegraph_utils.py
N500/RenderManForBlender
76de176322a130b657a898fef7123168677f67eb
[ "MIT" ]
3
2018-01-17T22:32:24.000Z
2018-01-22T13:36:31.000Z
rfb_utils/scenegraph_utils.py
N500/RenderManForBlender
76de176322a130b657a898fef7123168677f67eb
[ "MIT" ]
2
2020-02-01T15:37:09.000Z
2020-06-16T16:40:17.000Z
def set_material(sg_node, sg_material_node): '''Sets the material on a scenegraph group node and sets the materialid user attribute at the same time. Arguments: sg_node (RixSGGroup) - scene graph group node to attach the material. sg_material_node (RixSGMaterial) - the scene graph material ...
38
81
0.725564
d34829b6ba82dd4f1000c257500d4c5fd0963053
1,766
py
Python
models/attention_ensemble_diff_layers.py
tlatkowski/attention-ensemble-gene-expression
7ef2361ddb758f6af7d3e948f2ae793363909f7d
[ "MIT" ]
null
null
null
models/attention_ensemble_diff_layers.py
tlatkowski/attention-ensemble-gene-expression
7ef2361ddb758f6af7d3e948f2ae793363909f7d
[ "MIT" ]
7
2017-11-03T12:08:14.000Z
2017-12-04T18:48:41.000Z
models/attention_ensemble_diff_layers.py
tlatkowski/attention-ensemble-gene-expression
7ef2361ddb758f6af7d3e948f2ae793363909f7d
[ "MIT" ]
null
null
null
import tensorflow as tf from layers.attention_layers import attention_layer from layers.common_layers import init_inputs from layers.feed_forward_layers import feed_forward_diff_features, feed_forward_diff_layers from utils.hyperparams import Hyperparams as hp
45.282051
108
0.663647
d3498dff4622ae6084c3e6cc4ffe4f73a4a1af00
1,965
py
Python
webapps/ivs/test/test_validators_views.py
mongodb-labs/mongo-web-shell
b306390e26888f0a0bf77cf99528e4e6bc41f0a8
[ "ECL-2.0", "Apache-2.0" ]
22
2015-09-29T10:23:23.000Z
2022-01-26T09:50:11.000Z
webapps/ivs/test/test_validators_views.py
pilliq/mongo-web-shell
03cbc8815982d0eb160ec239bf3a36c7a2e08dde
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
webapps/ivs/test/test_validators_views.py
pilliq/mongo-web-shell
03cbc8815982d0eb160ec239bf3a36c7a2e08dde
[ "ECL-2.0", "Apache-2.0" ]
10
2015-11-26T16:08:30.000Z
2021-03-03T15:11:23.000Z
# Copyright 2013 10gen 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 agreed to...
38.529412
79
0.690585
d349bccc9afad8b3db6c0df14da872b974c7b94e
9,370
py
Python
utils/train.py
fbuchert/mixmatch-pytorch
5dc989432bf26561b3c40ea03b319d12c7ace20b
[ "MIT" ]
null
null
null
utils/train.py
fbuchert/mixmatch-pytorch
5dc989432bf26561b3c40ea03b319d12c7ace20b
[ "MIT" ]
null
null
null
utils/train.py
fbuchert/mixmatch-pytorch
5dc989432bf26561b3c40ea03b319d12c7ace20b
[ "MIT" ]
null
null
null
import math from itertools import product from typing import Tuple, List, Optional, Union import numpy as np import torch import torch.nn as nn import torch.nn.init as init def model_init(m: torch.nn.Module): """ Method that initializes torch modules depending on their type: - Convolutional Layers: ...
36.745098
120
0.627215
d34a0f347fe4613cb57d033d0a6ac2ca4e0bbe81
2,647
py
Python
plotting-cell-cycle.py
kbromma/DBCCode
0315907c7e0f59d41339743fcca57716f0367f9a
[ "MIT" ]
null
null
null
plotting-cell-cycle.py
kbromma/DBCCode
0315907c7e0f59d41339743fcca57716f0367f9a
[ "MIT" ]
null
null
null
plotting-cell-cycle.py
kbromma/DBCCode
0315907c7e0f59d41339743fcca57716f0367f9a
[ "MIT" ]
null
null
null
import matplotlib import matplotlib.pyplot as plt import numpy as np import csv import seaborn as sns import itertools import pandas as pd import scipy from scipy.signal import savgol_filter from scipy.signal import find_peaks_cwt from scipy.signal import boxcar sns.set(font_scale=1.2) sns.set_style("white") colors = ...
27.863158
71
0.659615
d34a4e09e20dab066492b8968362434dac01a5d1
3,349
py
Python
config.py
sneakysnakesfrc/sneaky-vision-2019
7a83ece2c76c084e077bb386ac234594c3d780c5
[ "MIT" ]
2
2020-10-07T21:17:48.000Z
2020-11-13T13:45:20.000Z
config.py
sneakysnakesfrc/sneaky-vision-2019
7a83ece2c76c084e077bb386ac234594c3d780c5
[ "MIT" ]
null
null
null
config.py
sneakysnakesfrc/sneaky-vision-2019
7a83ece2c76c084e077bb386ac234594c3d780c5
[ "MIT" ]
1
2020-11-13T13:45:21.000Z
2020-11-13T13:45:21.000Z
# Debug or not DEBUG = 1 # Trackbar or not CREATE_TRACKBARS = 1 # Display or not DISPLAY = 1 # Image or Video, if "Video" is given as argument, program will use cv2.VideoCapture # If "Image" argument is given the program will use cv2.imread imageType = "Video" # imageType = "Image" # Image/Video source 0 or 1...
57.741379
211
0.582263
d34ade69ec04997bfd82ad501ed25a0cde195b6d
307
py
Python
context/steps.py
NanoScaleDesign/Canparam
987972f1593b83c3cbd8808b2722ff1b3a696eac
[ "MIT" ]
null
null
null
context/steps.py
NanoScaleDesign/Canparam
987972f1593b83c3cbd8808b2722ff1b3a696eac
[ "MIT" ]
null
null
null
context/steps.py
NanoScaleDesign/Canparam
987972f1593b83c3cbd8808b2722ff1b3a696eac
[ "MIT" ]
null
null
null
#! /usr/bin/env python3 """Context files must contain a 'main' function. The return from the main function should be the resulting text"""
20.466667
65
0.635179
d34b8ae8f80579fd68134d835709ce8d49d3681c
1,822
py
Python
python.io/study-20180412.py
cnzht/grit
eab457a0a9b216f5a6026669095b8126bf8a9e1d
[ "MIT" ]
1
2018-04-04T09:26:21.000Z
2018-04-04T09:26:21.000Z
python.io/study-20180412.py
cnzht/grit
eab457a0a9b216f5a6026669095b8126bf8a9e1d
[ "MIT" ]
null
null
null
python.io/study-20180412.py
cnzht/grit
eab457a0a9b216f5a6026669095b8126bf8a9e1d
[ "MIT" ]
null
null
null
#-*-coding:utf-8-*- #bodyBMI.py #2018411 21:03:12 # ''' import random st = [1,1,15,1,5,8,1,5,8] print (random.shuffle(st)) ''' ''' #PI from random import random from time import perf_counter DATA = pow(1000,100) hit = 0 start = perf_counter() for i in range(1,DATA+1): x,y = random(),random() if pow((x**2)+(y*...
12.565517
53
0.540615
d34b9b0c409e98b0bcb43c6a5a87a43c41b22c61
20,499
py
Python
ixian/task.py
kreneskyp/ixian
80133e9106e23eeb562c0112dd70bcdfb61986f9
[ "Apache-2.0" ]
null
null
null
ixian/task.py
kreneskyp/ixian
80133e9106e23eeb562c0112dd70bcdfb61986f9
[ "Apache-2.0" ]
null
null
null
ixian/task.py
kreneskyp/ixian
80133e9106e23eeb562c0112dd70bcdfb61986f9
[ "Apache-2.0" ]
null
null
null
# Copyright [2018-2020] Peter Krenesky # # 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...
34.862245
98
0.592029
d34d9ab7f21732e1b05d7bd300bd84ebde6c1a49
8,421
py
Python
src/main/tools/dbpy/meta_to_db_data.py
inqwell/inq
31ce4cd6b9b123b1ec4462905ccbcf7c00d6efc3
[ "BSD-3-Clause" ]
1
2016-09-25T16:41:57.000Z
2016-09-25T16:41:57.000Z
src/main/tools/dbpy/meta_to_db_data.py
inqwell/inq
31ce4cd6b9b123b1ec4462905ccbcf7c00d6efc3
[ "BSD-3-Clause" ]
null
null
null
src/main/tools/dbpy/meta_to_db_data.py
inqwell/inq
31ce4cd6b9b123b1ec4462905ccbcf7c00d6efc3
[ "BSD-3-Clause" ]
2
2016-09-25T16:48:49.000Z
2020-05-26T20:00:33.000Z
#!/usr/local/bin/bash """ Two options: 1) Build DB-specific data files from meta-data files 2) Build a single file containing all the DB-specific 'insert' statements in the correct dependency order from meta-data files and XML table files NOTE: - The data files must be named "xxx.dat"; for option (2) the correspond...
37.426667
109
0.652535
d34dea71189d3afc7d4964aa6dbd49339356c594
3,806
py
Python
YOLOtiny_chainer_v2/YOLOtiny.py
ashitani/ppap_detect
5aec43e8486c49d106392c926a5a6738ff498ac4
[ "MIT" ]
9
2016-12-22T00:49:45.000Z
2020-02-09T02:02:25.000Z
YOLOtiny_chainer_v2/YOLOtiny.py
ashitani/ppap_detect
5aec43e8486c49d106392c926a5a6738ff498ac4
[ "MIT" ]
null
null
null
YOLOtiny_chainer_v2/YOLOtiny.py
ashitani/ppap_detect
5aec43e8486c49d106392c926a5a6738ff498ac4
[ "MIT" ]
null
null
null
#!/usr/bin/env python import numpy as np import chainer from chainer import cuda, Function, gradient_check, Variable, optimizers, serializers, utils from chainer import Link, Chain, ChainList import chainer.functions as F import chainer.links as L from chainer import training from chainer.training import extensions ...
31.716667
123
0.558329
d3507046f0a495ed119738fbd0af1510a4ac11db
3,294
py
Python
prf/tests/test_resource.py
vahana/_prf
ff947003a3675a22730ca3d821fcb2e230575e7d
[ "MIT" ]
null
null
null
prf/tests/test_resource.py
vahana/_prf
ff947003a3675a22730ca3d821fcb2e230575e7d
[ "MIT" ]
6
2015-01-04T14:49:34.000Z
2017-11-21T16:26:03.000Z
prf/tests/test_resource.py
vahana/_prf
ff947003a3675a22730ca3d821fcb2e230575e7d
[ "MIT" ]
1
2019-11-14T17:16:34.000Z
2019-11-14T17:16:34.000Z
import mock import pytest from prf.tests.prf_testcase import PrfTestCase from pyramid.exceptions import ConfigurationExecutionError from prf.resource import Resource, get_view_class, get_parent_elements from prf.view import BaseView
33.272727
101
0.632665
d35266f4b7ddd35ff7911005944f1b419af759d9
2,004
py
Python
tests/integration/test_aggregator.py
mananpal1997/flake8
1c85f3d07c3aadf597db205dff597da2987745f7
[ "MIT" ]
null
null
null
tests/integration/test_aggregator.py
mananpal1997/flake8
1c85f3d07c3aadf597db205dff597da2987745f7
[ "MIT" ]
null
null
null
tests/integration/test_aggregator.py
mananpal1997/flake8
1c85f3d07c3aadf597db205dff597da2987745f7
[ "MIT" ]
null
null
null
"""Test aggregation of config files and command-line options.""" import os import pytest from flake8.main import options from flake8.options import aggregator from flake8.options import config from flake8.options import manager def test_aggregate_options_with_config(optmanager, flake8_config): """Verify we ag...
24.740741
79
0.635729
d3529efe0bf0d6df5975b82e93a399f8498bfad6
4,091
py
Python
id/trafficmon/TrafficMain.py
umanium/trafficmon
86c138bda3c8a3e38fff273e5d61610acee123b5
[ "MIT" ]
null
null
null
id/trafficmon/TrafficMain.py
umanium/trafficmon
86c138bda3c8a3e38fff273e5d61610acee123b5
[ "MIT" ]
null
null
null
id/trafficmon/TrafficMain.py
umanium/trafficmon
86c138bda3c8a3e38fff273e5d61610acee123b5
[ "MIT" ]
null
null
null
import os import cv2 import numpy as np import time from backgroundsubtraction.KMeans import KMeans from objectblob.ObjectBlobDetection import ObjectBlobDetection from pixelcleaning.MorphologicalCleaning import MorphologicalCleaning __author__ = 'Luqman' if __name__ == '__main__': import sys if len(sys....
29.431655
106
0.611831
d353025226f0401e819059c39392882f5cc58fad
2,439
py
Python
qrscannerpy.py
nunogois/qrscannerpy
5a84af93c43a8c15aab6fe1851b8dc2110687b9d
[ "MIT" ]
null
null
null
qrscannerpy.py
nunogois/qrscannerpy
5a84af93c43a8c15aab6fe1851b8dc2110687b9d
[ "MIT" ]
null
null
null
qrscannerpy.py
nunogois/qrscannerpy
5a84af93c43a8c15aab6fe1851b8dc2110687b9d
[ "MIT" ]
null
null
null
# Imports import sys, os, time, logging, json # QR code scanning is on a separate file from qr import qrscan # Configuration using config.json with open('config.json', 'r') as f: config = json.load(f) if 'outfile' in config: outfile = config['outfile'] if 'path' in config: path = config['path'] extensions = c...
28.034483
89
0.633866
d3531e57298807b91066e04d1ce5acf961f78599
4,566
py
Python
src/zope/app/publisher/interfaces/ftp.py
zopefoundation/zope.app.publisher
7c7aea272a8c4cd10ef97264f8f48766368ceefb
[ "ZPL-2.1" ]
1
2019-12-04T12:52:44.000Z
2019-12-04T12:52:44.000Z
src/zope/app/publisher/interfaces/ftp.py
zopefoundation/zope.app.publisher
7c7aea272a8c4cd10ef97264f8f48766368ceefb
[ "ZPL-2.1" ]
6
2017-05-05T11:53:40.000Z
2020-06-08T13:49:42.000Z
src/zope/app/publisher/interfaces/ftp.py
zopefoundation/zope.app.publisher
7c7aea272a8c4cd10ef97264f8f48766368ceefb
[ "ZPL-2.1" ]
2
2015-04-03T08:00:16.000Z
2020-06-09T10:06:15.000Z
############################################################################## # # Copyright (c) 2001, 2002 Zope Foundation and Contributors. # All Rights Reserved. # # This software is subject to the provisions of the Zope Public License, # Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution. # TH...
25.50838
78
0.597678
d353829766a83bdaaf1d9647932561620e2d8f0c
49
py
Python
lankuai/lankuai/lkitsm/project/workfolw/__init__.py
abiner/lankuai
55a3631528acf1c46a471cb0616e28a5396faab5
[ "MIT" ]
null
null
null
lankuai/lankuai/lkitsm/project/workfolw/__init__.py
abiner/lankuai
55a3631528acf1c46a471cb0616e28a5396faab5
[ "MIT" ]
null
null
null
lankuai/lankuai/lkitsm/project/workfolw/__init__.py
abiner/lankuai
55a3631528acf1c46a471cb0616e28a5396faab5
[ "MIT" ]
null
null
null
default_app_config='workfolw.apps.WorkfolwConfig'
49
49
0.897959
d355eb31c252b769e1ab39ae5b0f49c3fa0a1e7d
1,616
py
Python
testing/marker.py
knosmos/robowordle
4b4f0796795fad32c0021a82fde1da597c4d9d6f
[ "MIT" ]
2
2022-03-07T17:30:41.000Z
2022-03-11T00:48:22.000Z
testing/marker.py
knosmos/robowordle
4b4f0796795fad32c0021a82fde1da597c4d9d6f
[ "MIT" ]
null
null
null
testing/marker.py
knosmos/robowordle
4b4f0796795fad32c0021a82fde1da597c4d9d6f
[ "MIT" ]
null
null
null
import cv2 import numpy as np from rich import print dewarped = cv2.imread('../dewarped.png') ''' SIZE = 600 # Get ROI corners arucoDict = cv2.aruco.Dictionary_get(cv2.aruco.DICT_APRILTAG_36h11) arucoParams = cv2.aruco.DetectorParameters_create() (corners, ids, rejected) = cv2.aruco.detectMarkers(image, arucoDict, p...
27.389831
92
0.665223
d356028a1d23727819e8b944349fe8854b9a9ae6
3,699
py
Python
src/trusted/validator_ragel/trie_test.py
cohortfsllc/cohort-cocl2-sandbox
0ac6669d1a459d65a52007b80d5cffa4ef330287
[ "BSD-3-Clause" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
src/trusted/validator_ragel/trie_test.py
cohortfsllc/cohort-cocl2-sandbox
0ac6669d1a459d65a52007b80d5cffa4ef330287
[ "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
src/trusted/validator_ragel/trie_test.py
cohortfsllc/cohort-cocl2-sandbox
0ac6669d1a459d65a52007b80d5cffa4ef330287
[ "BSD-3-Clause" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.000Z
#!/usr/bin/python # Copyright (c) 2014 The Native Client Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import unittest import trie if __name__ == '__main__': unittest.main()
39.351064
76
0.634496
d356d162a88ba630ab5c48261a45a43472939810
6,074
py
Python
venv/lib/python3.7/site-packages/gitlab/cli.py
bhaving07/pyup
17ad21a2957c5cce91ad0cf5f75853a3182806d2
[ "MIT" ]
null
null
null
venv/lib/python3.7/site-packages/gitlab/cli.py
bhaving07/pyup
17ad21a2957c5cce91ad0cf5f75853a3182806d2
[ "MIT" ]
6
2020-12-17T09:37:03.000Z
2020-12-18T04:42:23.000Z
venv/lib/python3.7/site-packages/gitlab/cli.py
bhaving07/pyup
17ad21a2957c5cce91ad0cf5f75853a3182806d2
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright (C) 2013-2017 Gauvain Pocentek <gauvain@pocentek.net> # # This program 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 3 of the...
27.484163
87
0.604873
d3570c21033a2353bb799d126f54e1f54457ff8f
142
py
Python
RandomForestScores_1.py
dgudenius/football_win_predictions_v2
a95b8a97632d4b9eb42062fe60afdc21eae7c834
[ "MIT" ]
1
2020-12-09T14:47:13.000Z
2020-12-09T14:47:13.000Z
RandomForestScores_1.py
dgudenius/football_win_predictions_v2
a95b8a97632d4b9eb42062fe60afdc21eae7c834
[ "MIT" ]
null
null
null
RandomForestScores_1.py
dgudenius/football_win_predictions_v2
a95b8a97632d4b9eb42062fe60afdc21eae7c834
[ "MIT" ]
null
null
null
import pandas as pd import numpy from sklearn.model_selection import train_test_split from sklearn.ensemble import RandomForestClassifier
28.4
53
0.859155
d357eeb1047aa19ccfdf077b0d42dbce4b1b7b39
2,882
py
Python
deckhand/barbican/cache.py
airshipit/deckhand
3f4458690ddb424c075891badd5b76c9884cbb9e
[ "Apache-2.0" ]
2
2019-05-24T08:36:25.000Z
2019-05-31T17:40:19.000Z
deckhand/barbican/cache.py
airshipit/deckhand
3f4458690ddb424c075891badd5b76c9884cbb9e
[ "Apache-2.0" ]
1
2021-08-31T15:59:27.000Z
2021-08-31T15:59:27.000Z
deckhand/barbican/cache.py
airshipit/deckhand
3f4458690ddb424c075891badd5b76c9884cbb9e
[ "Apache-2.0" ]
4
2019-09-19T18:00:54.000Z
2021-07-19T05:03:18.000Z
# Copyright 2018 AT&T Intellectual Property. All other 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...
35.580247
79
0.743928
d359300d89c503491b179cf6b2e189a54cfed309
15,572
py
Python
stormreplay/analyzer.py
karlgluck/heroes-of-the-storm-replay-parser
5dd407e3ce2bd06d1acd279dd85c2a2a924c3c62
[ "MIT" ]
31
2015-01-19T09:42:02.000Z
2021-01-02T12:42:07.000Z
stormreplay/analyzer.py
karlgluck/heroes-of-the-storm-replay-parser
5dd407e3ce2bd06d1acd279dd85c2a2a924c3c62
[ "MIT" ]
null
null
null
stormreplay/analyzer.py
karlgluck/heroes-of-the-storm-replay-parser
5dd407e3ce2bd06d1acd279dd85c2a2a924c3c62
[ "MIT" ]
9
2015-04-02T04:24:54.000Z
2017-09-08T11:17:19.000Z
import os import reader import json # todo: get this logger from elsewhere from celery.utils.log import get_task_logger log = get_task_logger(__name__) defaultFieldMappings = [ ### SET (['info','protocol'], 'getReplayProtocolVersion'), (['info','bytes'], 'getReplayFileByteSize'), (['info','gameloops'], '...
40.978947
140
0.56075
d35a053d65915bab9a6060e5f2a46eeac4fd7b25
6,214
py
Python
sktime/_contrib/_plot_path.py
Vasudeva-bit/sktime
0d031862ac85d20e75434a1b4ab4117bdd544ffe
[ "BSD-3-Clause" ]
null
null
null
sktime/_contrib/_plot_path.py
Vasudeva-bit/sktime
0d031862ac85d20e75434a1b4ab4117bdd544ffe
[ "BSD-3-Clause" ]
null
null
null
sktime/_contrib/_plot_path.py
Vasudeva-bit/sktime
0d031862ac85d20e75434a1b4ab4117bdd544ffe
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- import matplotlib.colors as colorplt import matplotlib.pyplot as plt import numpy as np from sktime.distances._distance import distance_alignment_path, pairwise_distance gray_cmap = colorplt.LinearSegmentedColormap.from_list("", ["#c9cacb", "white"]) if __name__ == "__main__": x = np...
27.254386
86
0.516254
d35ae302dc71c9bbf5223948369169ce172e3f51
5,310
py
Python
utils/rtutil.py
RT-Team/RT-Lib
686c3632f4283c56b5983d2ddc20bd94f7ef2ba4
[ "MIT" ]
null
null
null
utils/rtutil.py
RT-Team/RT-Lib
686c3632f4283c56b5983d2ddc20bd94f7ef2ba4
[ "MIT" ]
null
null
null
utils/rtutil.py
RT-Team/RT-Lib
686c3632f4283c56b5983d2ddc20bd94f7ef2ba4
[ "MIT" ]
null
null
null
# RT Ext - Useful Util # import asyncio from json import dumps from time import time import discord from aiofile import async_open from discord.ext import commands, tasks # Webhook Sender # easy_embed def easy_embed(content, color=discord.Embed.Empty): es = ">>" spl = content.splitlines() title = s...
30.170455
79
0.56403
d35b8f5e002babab9cbdfd8130a669a4f050c35d
3,230
py
Python
asclepias_broker/events/cli.py
ChiaraBi/asclepias-broker
793e2634591eed926000b19bd342f044b29bedcc
[ "BSD-3-Clause" ]
null
null
null
asclepias_broker/events/cli.py
ChiaraBi/asclepias-broker
793e2634591eed926000b19bd342f044b29bedcc
[ "BSD-3-Clause" ]
null
null
null
asclepias_broker/events/cli.py
ChiaraBi/asclepias-broker
793e2634591eed926000b19bd342f044b29bedcc
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- # # Copyright (C) 2018 CERN. # # Asclepias Broker is free software; you can redistribute it and/or modify it # under the terms of the MIT License; see LICENSE file for more details. """Events CLI.""" from __future__ import absolute_import, print_function import datetime import json import cl...
35.494505
137
0.671207
d35eac2b776e4340c0c28e8d9b2cac414a8a38f1
2,620
py
Python
test/noise_transformation_test.py
DecodEPFL/eiv-grid-id
093a0f6f3537ee2d4003b6af6a10caaca986fa7a
[ "CC-BY-4.0" ]
1
2021-07-13T07:26:23.000Z
2021-07-13T07:26:23.000Z
test/noise_transformation_test.py
DecodEPFL/eiv-grid-id
093a0f6f3537ee2d4003b6af6a10caaca986fa7a
[ "CC-BY-4.0" ]
null
null
null
test/noise_transformation_test.py
DecodEPFL/eiv-grid-id
093a0f6f3537ee2d4003b6af6a10caaca986fa7a
[ "CC-BY-4.0" ]
2
2022-02-22T17:14:38.000Z
2022-02-25T10:29:35.000Z
import numpy as np import pytest from src.models.noise_transformation import average_true_var_real, average_true_var_imag, average_true_cov, \ average_true_noise_covariance, naive_noise_covariance test_cases_real_variance = [ (2 - 3j, 0, 0, 0), (0, 1, 1, np.exp(-2) * (2 * np.cosh(2) - np.cosh(1))), (2...
37.428571
109
0.630153
d35f6d432e8bf0619040f90837d1e5c82d21a5a6
257
py
Python
forherobj_app/urls.py
chaitphani/ForHerObj-repo
7d4a0f73e585bef10f92bced0d34b117ca8e60b1
[ "MIT" ]
null
null
null
forherobj_app/urls.py
chaitphani/ForHerObj-repo
7d4a0f73e585bef10f92bced0d34b117ca8e60b1
[ "MIT" ]
null
null
null
forherobj_app/urls.py
chaitphani/ForHerObj-repo
7d4a0f73e585bef10f92bced0d34b117ca8e60b1
[ "MIT" ]
null
null
null
from django.urls import path from . import views urlpatterns = [ path('', views.home, name='home'), path('login', views.login_fun, name='login'), path('signup', views.signup, name='signup'), path('logout', views.logout, name='logout'), ]
21.416667
49
0.642023
d3604b03b5b7d1f10584723f9cdd33c78d84a311
494
py
Python
1138_05_19-nmea.py
nchaparr/Geospatial-Analysis-with-Python
6e0d1ff429baa4205c63bf842ab950ed4176536f
[ "CC0-1.0" ]
null
null
null
1138_05_19-nmea.py
nchaparr/Geospatial-Analysis-with-Python
6e0d1ff429baa4205c63bf842ab950ed4176536f
[ "CC0-1.0" ]
null
null
null
1138_05_19-nmea.py
nchaparr/Geospatial-Analysis-with-Python
6e0d1ff429baa4205c63bf842ab950ed4176536f
[ "CC0-1.0" ]
null
null
null
"""Parse NMEA GPS strings""" from pynmea.streamer import NMEAStream nmeaFile = open("nmea.txt") nmea_stream = NMEAStream(stream_obj=nmeaFile) next_data = nmea_stream.get_objects() nmea_objects = [] while next_data: nmea_objects += next_data next_data = nmea_stream.get_objects() # The NMEA stream is parsed!...
30.875
59
0.712551
d3606a910d1904ced1fc96fd6f2ed700d8ae5f9d
852
py
Python
languages/python/src/concepts/P104_Decorators_ClassBasedDecorators.py
vikash-india/DeveloperNotes2Myself
fe277a3c52f73884863f2f72b237365b27a8c882
[ "MIT" ]
2
2019-05-25T10:09:00.000Z
2022-03-11T09:06:23.000Z
languages/python/src/concepts/P104_Decorators_ClassBasedDecorators.py
vikash-india/DeveloperNotes2Myself
fe277a3c52f73884863f2f72b237365b27a8c882
[ "MIT" ]
2
2020-03-31T04:30:17.000Z
2020-10-30T07:54:28.000Z
languages/python/src/concepts/P104_Decorators_ClassBasedDecorators.py
vikash-india/DeveloperNotes2Myself
fe277a3c52f73884863f2f72b237365b27a8c882
[ "MIT" ]
4
2019-07-12T13:18:56.000Z
2021-11-17T08:04:55.000Z
# Description: Class Based Decorators """ ### Note * If you want to maintain some sort of state and/or just make your code more confusing, use class based decorators. """ # Call Class Based Decorator def function_2(*args): for arg in args: print(arg) if __name__ == '__main__': function_1(1, 2, 3)...
23.027027
115
0.692488
d36269c78388362ffe468847db09a5f3e9d22cf0
991
py
Python
2. Programming Fundamentals With Python (May 2021)/08. Exercise - Lists Basics/09_hello_france.py
kzborisov/SoftUni
ccb2b8850adc79bfb2652a45124c3ff11183412e
[ "MIT" ]
1
2021-02-07T07:51:12.000Z
2021-02-07T07:51:12.000Z
2. Programming Fundamentals With Python (May 2021)/08. Exercise - Lists Basics/09_hello_france.py
kzborisov/softuni
9c5b45c74fa7d9748e9b3ea65a5ae4e15c142751
[ "MIT" ]
null
null
null
2. Programming Fundamentals With Python (May 2021)/08. Exercise - Lists Basics/09_hello_france.py
kzborisov/softuni
9c5b45c74fa7d9748e9b3ea65a5ae4e15c142751
[ "MIT" ]
null
null
null
# Task 09. Hello, France items_and_prices = input().split('|') budget = float(input()) initial_budget = budget new_prices = [] for item in items_and_prices: item_price = float(item.split('->')[1]) if budget - item_price < 0: continue if validate_price(item): budget -= item_price ...
24.775
54
0.624622
d362769ab3fa5593c05cc6ae7ad19f0af97efd9e
7,293
py
Python
main.py
itsjoel/migrate-following-python
cb212441ff608f7e68d29181cd13c4744c4bb57b
[ "MIT" ]
1
2018-09-06T17:15:59.000Z
2018-09-06T17:15:59.000Z
main.py
itsjoel/migrate-following-python
cb212441ff608f7e68d29181cd13c4744c4bb57b
[ "MIT" ]
null
null
null
main.py
itsjoel/migrate-following-python
cb212441ff608f7e68d29181cd13c4744c4bb57b
[ "MIT" ]
null
null
null
"""Finds out all the people you need to follow to follow all the same people as another user. Then, optionally, follows them for you.""" import configparser import csv import errno import os import tweepy from tqdm import tqdm #Useful Constants PATH_TO_TARGET_CSV = "./output/targetfriends.csv" PATH_TO_USER...
37.020305
160
0.688057
d363473272e75d741fdc620437d901b3dcaf7ba6
1,962
py
Python
Code/classification_system/data_visualisation/frequent_ngrams.py
sxd942/fascist_text_classification
29c429165bdd18ca031a30f98cf86a5090818c3c
[ "DOC" ]
null
null
null
Code/classification_system/data_visualisation/frequent_ngrams.py
sxd942/fascist_text_classification
29c429165bdd18ca031a30f98cf86a5090818c3c
[ "DOC" ]
null
null
null
Code/classification_system/data_visualisation/frequent_ngrams.py
sxd942/fascist_text_classification
29c429165bdd18ca031a30f98cf86a5090818c3c
[ "DOC" ]
null
null
null
import pandas as pd import matplotlib.pyplot as plt from nltk import ngrams from preprocessing.preprocess import remove_stopwords """ frequent_ngrams.py was used to generate bar plots of most frequently used bi and trigrams from the fascist and hate documents. @Author: Sin Davies Date: July 2020 """ # First the fasci...
29.727273
86
0.735984
d36373609911bdb8c7a337fdef0874b327dc17a2
1,319
py
Python
tests/util/test_doWaitWebRequest.py
unt-libraries/codalib
d3f2cdf3cc8e9aae14cfab00d1a6de760cc1220b
[ "BSD-3-Clause" ]
null
null
null
tests/util/test_doWaitWebRequest.py
unt-libraries/codalib
d3f2cdf3cc8e9aae14cfab00d1a6de760cc1220b
[ "BSD-3-Clause" ]
31
2015-06-15T22:50:50.000Z
2021-09-30T14:14:51.000Z
tests/util/test_doWaitWebRequest.py
unt-libraries/codalib
d3f2cdf3cc8e9aae14cfab00d1a6de760cc1220b
[ "BSD-3-Clause" ]
null
null
null
from unittest.mock import Mock from urllib.error import URLError from codalib import util def test_is_sucessful(monkeypatch): """ Verifies the return value from a successful call to doWaitWebRequest. """ response = Mock() doWebRequest = Mock(return_value=(response, 'fake content')) # Pat...
29.977273
74
0.70508
d36608a45bbd659af854e64d4a6a6c33241191d1
1,609
py
Python
setup.py
giuse/brutelogger
1979576b7d78f2e35cdf12b936d912783f7a1d34
[ "MIT" ]
1
2021-05-14T10:21:35.000Z
2021-05-14T10:21:35.000Z
setup.py
giuse/brutelogger
1979576b7d78f2e35cdf12b936d912783f7a1d34
[ "MIT" ]
null
null
null
setup.py
giuse/brutelogger
1979576b7d78f2e35cdf12b936d912783f7a1d34
[ "MIT" ]
null
null
null
# Thanks `https://github.com/pypa/sampleproject`!! from setuptools import setup, find_packages from os import path here = path.abspath(path.dirname(__file__)) with open(path.join(here, 'VERSION'), 'r', encoding='utf-8') as f: version = f.read().strip() with open(path.join(here, 'README.md'), 'r', encoding='utf-8') ...
38.309524
91
0.625233
d367233e6f58eb094faf45709e0f359789a76a55
1,226
py
Python
stream.py
seweithotroyman/twips
3c4745706bbf333bf1f54f07c7a6508675f10195
[ "MIT" ]
null
null
null
stream.py
seweithotroyman/twips
3c4745706bbf333bf1f54f07c7a6508675f10195
[ "MIT" ]
null
null
null
stream.py
seweithotroyman/twips
3c4745706bbf333bf1f54f07c7a6508675f10195
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Wed Jun 26 19:39:00 2019 @author: hehehe """ from __future__ import absolute_import, print_function from tweepy import OAuthHandler, Stream, StreamListener #Buat API Twitter di link berikut https://developer.twitter.com/en/apps consumer_key = "masukkan consumer_key" consumer_s...
30.65
72
0.701468
d36e33b56a0770e7874922971f3529c94e845e2e
683
py
Python
collatz.py
hansperu/pands-problems-2020-hp
5394788fad848cae579b7bc8a67369166609c32d
[ "MIT" ]
null
null
null
collatz.py
hansperu/pands-problems-2020-hp
5394788fad848cae579b7bc8a67369166609c32d
[ "MIT" ]
null
null
null
collatz.py
hansperu/pands-problems-2020-hp
5394788fad848cae579b7bc8a67369166609c32d
[ "MIT" ]
null
null
null
#ask user to enter a positive value (pedir al usuario que ingrese un valor positivo) a = int(input("please enter a positive integer: ")) #if value entered is negative print "not a positive number" and stop (si el valor introducido es una impresion negativa "no es un nmero positivo" y se detiene) while a < 0: print...
28.458333
160
0.660322
d36ecdbaec7f5e0f40d109acc1f21404c31625fa
8,788
py
Python
core/vswitch_controller_pxp.py
shreyagupta30/vineperf
d5c0a03054f720da2a5ff9eba74feee57fb0296d
[ "ECL-2.0", "Apache-2.0" ]
9
2017-05-18T03:25:39.000Z
2021-04-30T18:35:32.000Z
core/vswitch_controller_pxp.py
shreyagupta30/vineperf
d5c0a03054f720da2a5ff9eba74feee57fb0296d
[ "ECL-2.0", "Apache-2.0" ]
2
2020-11-26T09:29:12.000Z
2021-03-19T22:59:35.000Z
core/vswitch_controller_pxp.py
shreyagupta30/vineperf
d5c0a03054f720da2a5ff9eba74feee57fb0296d
[ "ECL-2.0", "Apache-2.0" ]
16
2016-12-09T12:47:04.000Z
2021-05-20T09:28:37.000Z
# Copyright 2016-2018 Intel Corporation., Tieto # # 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 agree...
51.694118
115
0.575444
d36f6676ccb48b50304e83341d6e479105d79633
14,104
py
Python
gofest/gofest.py
yamikaitou/rotom
e75cc421e75fcd17921a258e836129b105437191
[ "MIT" ]
null
null
null
gofest/gofest.py
yamikaitou/rotom
e75cc421e75fcd17921a258e836129b105437191
[ "MIT" ]
4
2019-01-24T20:13:54.000Z
2019-05-17T17:47:29.000Z
gofest/gofest.py
yamikaitou/rotom
e75cc421e75fcd17921a258e836129b105437191
[ "MIT" ]
null
null
null
from redbot.core import commands, Config, checks import discord from discord.ext import tasks import random import math from datetime import datetime
69.821782
411
0.703417
d371bded9db80d5ecfc09ed0c62cf85341632ea2
254
py
Python
NLP_Flask/app/data_manage_api/__init__.py
Gxy-2001/NLPPlat
f339c1a7452b979b413919cf4bc128bf45af52ef
[ "MIT" ]
null
null
null
NLP_Flask/app/data_manage_api/__init__.py
Gxy-2001/NLPPlat
f339c1a7452b979b413919cf4bc128bf45af52ef
[ "MIT" ]
null
null
null
NLP_Flask/app/data_manage_api/__init__.py
Gxy-2001/NLPPlat
f339c1a7452b979b413919cf4bc128bf45af52ef
[ "MIT" ]
null
null
null
from flask import Blueprint api = Blueprint("data_manage_api", __name__) from . import data_venation from . import operator_manage from . import model_manage from . import resource_manage from . import pipeline_manage from . import trainedmodel_manage
23.090909
44
0.818898
d372157180938920e4a54857c2c755457a97eb30
5,349
py
Python
cfg_exporter/exports/py_export.py
dong50252409/cfg_exporter
8e6fdfef00dbb228eb34ffdf4c1c23a74f1d7e18
[ "MIT" ]
3
2021-12-10T10:26:15.000Z
2022-02-11T08:34:31.000Z
cfg_exporter/exports/py_export.py
dong50252409/cfg_exporter
8e6fdfef00dbb228eb34ffdf4c1c23a74f1d7e18
[ "MIT" ]
null
null
null
cfg_exporter/exports/py_export.py
dong50252409/cfg_exporter
8e6fdfef00dbb228eb34ffdf4c1c23a74f1d7e18
[ "MIT" ]
1
2022-02-11T09:16:00.000Z
2022-02-11T09:16:00.000Z
import os import typing import cfg_exporter.custom as custom from cfg_exporter.const import DataType from cfg_exporter.const import TEMPLATE_EXTENSION from cfg_exporter.exports.base.export import BaseExport from cfg_exporter.lang_template import lang from cfg_exporter.tables.base.type import DefaultValue EXTENSION = ...
30.392045
116
0.653019
d372b26a4d6a57f99ba77b4687d599e40f2a2efe
774
py
Python
app/state.py
AnsGoo/cronJob
0f9aedbe2ffe3c405376c13a7c2d24540360bd0e
[ "MIT" ]
11
2021-06-27T05:00:09.000Z
2022-02-15T14:31:21.000Z
app/state.py
AnsGoo/cornJob
0f9aedbe2ffe3c405376c13a7c2d24540360bd0e
[ "MIT" ]
1
2021-12-01T12:20:54.000Z
2021-12-08T11:54:12.000Z
app/state.py
AnsGoo/cornJob
0f9aedbe2ffe3c405376c13a7c2d24540360bd0e
[ "MIT" ]
2
2021-06-27T05:00:16.000Z
2021-08-09T06:36:09.000Z
from typing import Any from starlette.datastructures import State default_state = DefaultState()
24.1875
64
0.568475
d374a451e2dd0106d96875a415ef683426b13aa3
3,260
py
Python
venv/lib/python2.7/site-packages/sklearn/metrics/__init__.py
bopopescu/fbserver
e812dbc4dc0cbf2fda19473015a3d7e253718a19
[ "Apache-2.0" ]
null
null
null
venv/lib/python2.7/site-packages/sklearn/metrics/__init__.py
bopopescu/fbserver
e812dbc4dc0cbf2fda19473015a3d7e253718a19
[ "Apache-2.0" ]
null
null
null
venv/lib/python2.7/site-packages/sklearn/metrics/__init__.py
bopopescu/fbserver
e812dbc4dc0cbf2fda19473015a3d7e253718a19
[ "Apache-2.0" ]
1
2020-07-23T19:26:19.000Z
2020-07-23T19:26:19.000Z
""" The :mod:`sklearn.metrics` module includes score functions, performance metrics and pairwise metrics and distance computations. """ from .metrics import (accuracy_score, average_precision_score, auc, roc_auc_score, classificati...
33.265306
79
0.513497
d377cc64f12358cddf2bd8d3cd61a85effd3e4d2
29,736
py
Python
dacman/plugins/csv/__init__.py
yocheah/dac-man
758849decf26f40fdc89f10cd29b1340e344008d
[ "BSD-3-Clause" ]
null
null
null
dacman/plugins/csv/__init__.py
yocheah/dac-man
758849decf26f40fdc89f10cd29b1340e344008d
[ "BSD-3-Clause" ]
null
null
null
dacman/plugins/csv/__init__.py
yocheah/dac-man
758849decf26f40fdc89f10cd29b1340e344008d
[ "BSD-3-Clause" ]
null
null
null
from pathlib import Path from collections import defaultdict import numpy as np try: import pandas as pd except ImportError: from dacman.core.utils import dispatch_import_error dispatch_import_error(module_name='pandas', plugin_name='CSV') from dacman.compare import base try: from IPython.display im...
31.466667
127
0.59581
d37adc24277995ed8988a9ffcaca7dbe43d291d6
4,223
py
Python
tests/customs_test.py
Mario-Kart-Felix/deeptrain
45e066e9aa97c16780682d62250516c7d64d9897
[ "MIT" ]
16
2020-09-15T14:27:05.000Z
2021-05-30T09:43:09.000Z
tests/customs_test.py
adbmd/deeptrain
fd412e68e23bce0d9997b0a619a6887ad557067e
[ "MIT" ]
1
2020-09-18T00:44:17.000Z
2020-09-18T14:06:00.000Z
tests/customs_test.py
adbmd/deeptrain
fd412e68e23bce0d9997b0a619a6887ad557067e
[ "MIT" ]
3
2020-09-17T16:56:28.000Z
2021-01-30T03:23:31.000Z
# -*- coding: utf-8 -*- import os import sys # ensure `tests` directory path is on top of Python's module search filedir = os.path.dirname(__file__) sys.path.insert(0, filedir) while filedir in sys.path[1:]: sys.path.pop(sys.path.index(filedir)) # avoid duplication import pytest import numpy as np from copy impor...
36.721739
78
0.604783
d37ae81f0414cb447a6f73c440fb58c44f708e36
57,410
py
Python
pluginsmanager/model/lv2/lilvlib.py
SpotlightKid/PluginsManager
2dcc9f6a79b48e9c9be82efffd855352fa15c5c7
[ "Apache-2.0" ]
9
2017-05-24T09:55:34.000Z
2020-06-22T03:55:51.000Z
pluginsmanager/model/lv2/lilvlib.py
SpotlightKid/PluginsManager
2dcc9f6a79b48e9c9be82efffd855352fa15c5c7
[ "Apache-2.0" ]
97
2016-11-17T16:30:35.000Z
2021-10-09T00:27:56.000Z
pluginsmanager/model/lv2/lilvlib.py
SpotlightKid/PluginsManager
2dcc9f6a79b48e9c9be82efffd855352fa15c5c7
[ "Apache-2.0" ]
3
2017-05-21T19:20:38.000Z
2019-11-04T23:53:59.000Z
""" File copy from https://github.com/moddevices/lilvlib """ #!/usr/bin/env python3 # -*- coding: utf-8 -*- # ------------------------------------------------------------------------------------------------------------ # Imports import json import lilv import os from math import fmod # -----------------------------...
38.94844
147
0.529977
d37c7110bc4a79d498454be90a36a6776d0d7a36
1,747
py
Python
scripts/save_hitoffsets.py
abraker95/ultimate_osu_analyzer
bea58c997d13c3f461ccbe682f52799f0f88fdea
[ "MIT" ]
23
2019-02-27T06:20:15.000Z
2022-03-31T22:54:11.000Z
scripts/save_hitoffsets.py
abraker95/ultimate_osu_analyzer
bea58c997d13c3f461ccbe682f52799f0f88fdea
[ "MIT" ]
38
2019-03-03T17:35:39.000Z
2021-08-23T20:43:34.000Z
scripts/save_hitoffsets.py
abraker95/ultimate_osu_analyzer
bea58c997d13c3f461ccbe682f52799f0f88fdea
[ "MIT" ]
4
2020-03-30T20:43:14.000Z
2022-03-06T19:40:15.000Z
import os ''' This script takes a beatmap file and a bunch of replays, calculates hitoffsets for each replay and saves them to a *.csv file. This script works for std gamemode only. '''
44.794872
117
0.691471
d37dcd3460178c5f2fd87503fdb31b744dd39932
779
py
Python
theme_clean/__manifest__.py
YnievesDotNetTeam/addons
2dd619ed7897a61bedef720d73509cb693a7f6cf
[ "MIT" ]
null
null
null
theme_clean/__manifest__.py
YnievesDotNetTeam/addons
2dd619ed7897a61bedef720d73509cb693a7f6cf
[ "MIT" ]
null
null
null
theme_clean/__manifest__.py
YnievesDotNetTeam/addons
2dd619ed7897a61bedef720d73509cb693a7f6cf
[ "MIT" ]
null
null
null
{ 'name': 'Clean Theme', 'description': 'Clean Theme', 'category': 'Theme/Services', 'summary': 'Corporate, Business, Tech, Services', 'sequence': 120, 'version': '2.0', 'author': 'Odoo S.A.', 'depends': ['theme_common', 'website_animate'], 'data': [ 'views/assets.xml', ...
28.851852
53
0.594352
d37f7f65c54c00d4b7ca2de97d0ffc3744d354d3
5,923
py
Python
sanejs/sanejs.py
Lookyloo/sanejs
129ee49e538184e5da595a0cb0b3d3b782e60687
[ "BSD-2-Clause" ]
2
2021-05-20T14:15:30.000Z
2021-07-06T15:06:32.000Z
sanejs/sanejs.py
Lookyloo/sanejs
129ee49e538184e5da595a0cb0b3d3b782e60687
[ "BSD-2-Clause" ]
56
2021-07-13T15:54:39.000Z
2022-03-31T14:03:50.000Z
sanejs/sanejs.py
Lookyloo/sanejs
129ee49e538184e5da595a0cb0b3d3b782e60687
[ "BSD-2-Clause" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import logging import hashlib import json import time from redis import Redis from git import Repo # type: ignore from .helpers import get_homedir, get_socket_path """ sha: set of libname|version|fullpath libname|version: hash of fullpath -> sha """ # We assume the i...
51.504348
176
0.552592
d38046899bb752ba34cde2b37feb05ce19cf39d5
3,916
py
Python
fsm/tests/test_fsm.py
romeech/fsm-mixin
1c561c58979902ac579f2a1be521ec133e57cc64
[ "MIT" ]
null
null
null
fsm/tests/test_fsm.py
romeech/fsm-mixin
1c561c58979902ac579f2a1be521ec133e57cc64
[ "MIT" ]
null
null
null
fsm/tests/test_fsm.py
romeech/fsm-mixin
1c561c58979902ac579f2a1be521ec133e57cc64
[ "MIT" ]
null
null
null
import pytest from mixins.fsm import FinalStateMachineMixin MSG_START = 'start' MSG_COMPLETE = 'complete' MSG_BREAK = 'break' MSG_RESTART = 'repair' MSG_UNREGISTERED = 'unknown' def test_fsm_uses_state(sample_task): sample_task.status = SampleTask.STATE_READY assert getattr(sample_task, sample_task.state_...
27.194444
87
0.728805
d380a82a7773462c1f6103e59d1fbfbfc17e5379
56
py
Python
mt5_correlation/gui/__init__.py
jamiecash/mt5-correlation
7d97b78f8c402342d6a24c2ff8a550b520629d01
[ "MIT" ]
10
2021-05-24T14:27:24.000Z
2021-05-25T10:25:34.000Z
mt5_correlation/gui/__init__.py
jamiecash/mt5-correlation
7d97b78f8c402342d6a24c2ff8a550b520629d01
[ "MIT" ]
null
null
null
mt5_correlation/gui/__init__.py
jamiecash/mt5-correlation
7d97b78f8c402342d6a24c2ff8a550b520629d01
[ "MIT" ]
3
2021-05-24T23:39:05.000Z
2021-12-03T10:05:18.000Z
from mt5_correlation.gui.mdi import CorrelationMDIFrame
28
55
0.892857
d382d3822a88e748265faacefdd36edf1d822fab
841
py
Python
dftparse/wien2k/refract_parser.py
CitrineInformatics/dft-parser
539fbdafe4d6c6c6aa2434fdf93206d012f75dfc
[ "Apache-2.0" ]
1
2021-04-10T13:09:30.000Z
2021-04-10T13:09:30.000Z
dftparse/wien2k/refract_parser.py
CitrineInformatics/dft-parser
539fbdafe4d6c6c6aa2434fdf93206d012f75dfc
[ "Apache-2.0" ]
1
2021-01-16T01:05:30.000Z
2021-01-16T01:05:30.000Z
dftparse/wien2k/refract_parser.py
CitrineInformatics/dft-parser
539fbdafe4d6c6c6aa2434fdf93206d012f75dfc
[ "Apache-2.0" ]
null
null
null
from ..core import BlockParser def _parse_refraction(line, lines): """Parse Energy [eV] ref_ind_xx ref_ind_zz extinct_xx extinct_zz""" split_line = line.split() energy = float(split_line[0]) ref_ind_xx = float(split_line[1]) ref_ind_zz = float(split_line[2]) extinct_xx = float(split...
28.033333
107
0.657551
d3836f505332bb014cbedb07ee589147a9cb81f2
23,985
py
Python
prompts/prompt_scorer.py
GpNico/bert_semantics
9b8f9db7b136d1059e6f82c26fd10d164fe2e78d
[ "MIT" ]
null
null
null
prompts/prompt_scorer.py
GpNico/bert_semantics
9b8f9db7b136d1059e6f82c26fd10d164fe2e78d
[ "MIT" ]
null
null
null
prompts/prompt_scorer.py
GpNico/bert_semantics
9b8f9db7b136d1059e6f82c26fd10d164fe2e78d
[ "MIT" ]
null
null
null
import numpy as np import pickle import tqdm import os import torch from prompts.prompt_material import DETS_LIST, CONTENT_STRUCTS_PREFIX_LIST, CONTENT_STRUCTS_MIDDLE_LIST, CONTENT_STRUCTS_SUFFIX_LIST, TRANSFORMATIONS, LOGICAL_PREFIXES_LIST, LOGICAL_STRUCTS_LW_LIST ####################################### # ...
44.171271
197
0.603836
d3840f69ec82ddf2ce2d8d629107b8b236ee07e4
7,861
py
Python
common/util/data.py
minkefusiji/TimeSeriesAnalysisPlugin
85baac82cece9bac7cabb053673df7cc20efa50d
[ "MIT" ]
null
null
null
common/util/data.py
minkefusiji/TimeSeriesAnalysisPlugin
85baac82cece9bac7cabb053673df7cc20efa50d
[ "MIT" ]
null
null
null
common/util/data.py
minkefusiji/TimeSeriesAnalysisPlugin
85baac82cece9bac7cabb053673df7cc20efa50d
[ "MIT" ]
null
null
null
import requests import json import os import sys import shutil from .azureblob import AzureBlob from .azuretable import AzureTable from .timeutil import get_time_offset, str_to_dt, dt_to_str from .series import Series from .constant import STATUS_SUCCESS, STATUS_FAIL from telemetry import log # To get the meta of a ...
42.263441
159
0.618369
d38426706b82675c8a7c667f7422351da30f26ac
435
py
Python
src/thespian/sourcetree/__init__.py
mtttech/yari-dnd
bcb9d5dbbd38b09e3ac25f7a9d5d88b66b000d1a
[ "MIT" ]
1
2022-03-28T16:10:15.000Z
2022-03-28T16:10:15.000Z
src/thespian/sourcetree/__init__.py
mtttech/dndpersonae
c4fa129d1e940c9f9a5e29d703e3988b45d90356
[ "MIT" ]
null
null
null
src/thespian/sourcetree/__init__.py
mtttech/dndpersonae
c4fa129d1e940c9f9a5e29d703e3988b45d90356
[ "MIT" ]
null
null
null
from .dnd5e import dnd5e_sources
33.461538
54
0.71954
d3844d5e720aff870756038cd3b7757937565096
1,087
py
Python
controllerconfig/controllerconfig/controllerconfig/common/log.py
etaivan/stx-config
281e1f110973f96e077645fb01f67b646fc253cc
[ "Apache-2.0" ]
null
null
null
controllerconfig/controllerconfig/controllerconfig/common/log.py
etaivan/stx-config
281e1f110973f96e077645fb01f67b646fc253cc
[ "Apache-2.0" ]
null
null
null
controllerconfig/controllerconfig/controllerconfig/common/log.py
etaivan/stx-config
281e1f110973f96e077645fb01f67b646fc253cc
[ "Apache-2.0" ]
1
2021-01-05T16:24:58.000Z
2021-01-05T16:24:58.000Z
# # Copyright (c) 2014 Wind River Systems, Inc. # # SPDX-License-Identifier: Apache-2.0 # """ Logging """ import logging import logging.handlers _loggers = {} def get_logger(name): """ Get a logger or create one """ if name not in _loggers: _loggers[name] = logging.getLogger(name) return _lo...
21.74
74
0.608096
d386b37d9a3c4a1c62ccd7ab2fded76f0930d665
357
py
Python
rastervision/command/train_command.py
AirbusAerial/raster-vision
cfa7826169392e497fb57a540eb952fc6cee3a98
[ "Apache-2.0" ]
2
2019-04-17T13:04:23.000Z
2020-10-04T10:28:27.000Z
rastervision/command/train_command.py
Yochengliu/raster-vision
f5badc387df86ce02d84e0e274a08026dbf65bd6
[ "Apache-2.0" ]
null
null
null
rastervision/command/train_command.py
Yochengliu/raster-vision
f5badc387df86ce02d84e0e274a08026dbf65bd6
[ "Apache-2.0" ]
null
null
null
import click from rastervision.command import Command
21
48
0.621849
d387b0b7199eff1982faf21fdb262d2cc1e7704b
10,220
py
Python
htools/magics.py
hdmamin/htools
620c6add29561b77c10d793e4be7beeb28b32bab
[ "MIT" ]
1
2019-12-14T15:24:38.000Z
2019-12-14T15:24:38.000Z
htools/magics.py
hdmamin/htools
620c6add29561b77c10d793e4be7beeb28b32bab
[ "MIT" ]
null
null
null
htools/magics.py
hdmamin/htools
620c6add29561b77c10d793e4be7beeb28b32bab
[ "MIT" ]
1
2020-03-30T17:26:39.000Z
2020-03-30T17:26:39.000Z
import inspect from IPython.core.interactiveshell import InteractiveShell from IPython.core.magic import cell_magic, magics_class, Magics from IPython.core.magic_arguments import (argument, magic_arguments, parse_argstring) import warnings from htools.meta import timebox ...
35.486111
79
0.609002
d3891e3d0186411e4c72b16b384e7e13ef7cce0a
395
py
Python
tests/test_msal.py
narongdejsrn/django-rest-framework-msal
0e969aadf7a681b24b630c008f05be1d339d0df4
[ "MIT" ]
3
2020-04-22T01:56:41.000Z
2021-06-22T15:21:57.000Z
tests/test_msal.py
narongdejsrn/django-rest-framework-msal
0e969aadf7a681b24b630c008f05be1d339d0df4
[ "MIT" ]
2
2021-01-08T09:04:16.000Z
2021-07-20T19:43:15.000Z
tests/test_msal.py
narongdejsrn/django-rest-framework-msal
0e969aadf7a681b24b630c008f05be1d339d0df4
[ "MIT" ]
4
2020-05-25T07:34:37.000Z
2021-06-11T07:37:59.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- """ test-msal ------------ Tests for MSAL Connection """ from django.test import TestCase from drf_msal_jwt.utils import build_auth_url
14.62963
45
0.637975
d3898090b566ac68c831a2bc03a18937bcdbab69
25,135
py
Python
server/athenian/api/auth.py
athenianco/athenian-api
dd5556101a8c49703d6b0516e4268b9e8d8eda5b
[ "RSA-MD" ]
9
2020-10-11T22:12:03.000Z
2022-02-26T02:16:45.000Z
server/athenian/api/auth.py
athenianco/athenian-api
dd5556101a8c49703d6b0516e4268b9e8d8eda5b
[ "RSA-MD" ]
246
2019-12-05T06:37:30.000Z
2022-03-29T10:00:07.000Z
server/athenian/api/auth.py
athenianco/athenian-api
dd5556101a8c49703d6b0516e4268b9e8d8eda5b
[ "RSA-MD" ]
5
2019-12-04T22:38:05.000Z
2021-02-26T00:50:04.000Z
import asyncio from datetime import datetime, timedelta import functools from http import HTTPStatus import logging import os import pickle from random import random import re import struct from typing import Any, Callable, Coroutine, Dict, List, Optional, Sequence, Tuple import warnings import aiohttp.web from aiohtt...
45.288288
99
0.580227
d38adc66f7d2d09f63a105229844d890c12fe69b
732
py
Python
expon/utils/git.py
hi-zhenyu/expon
17ad421cd4c4085d3cad090b7c3383e4957075c4
[ "MIT" ]
null
null
null
expon/utils/git.py
hi-zhenyu/expon
17ad421cd4c4085d3cad090b7c3383e4957075c4
[ "MIT" ]
null
null
null
expon/utils/git.py
hi-zhenyu/expon
17ad421cd4c4085d3cad090b7c3383e4957075c4
[ "MIT" ]
null
null
null
import subprocess
33.272727
108
0.657104
d38adfd3b61c63659bb5353ed611e4308365e199
1,526
py
Python
tests/dictionary/test_jmdict.py
DennisMerkus/omniglot
687a681f4fa6721ea4655339d5c9f215161725b2
[ "MIT" ]
null
null
null
tests/dictionary/test_jmdict.py
DennisMerkus/omniglot
687a681f4fa6721ea4655339d5c9f215161725b2
[ "MIT" ]
null
null
null
tests/dictionary/test_jmdict.py
DennisMerkus/omniglot
687a681f4fa6721ea4655339d5c9f215161725b2
[ "MIT" ]
null
null
null
import unittest import pytest from omniglot.jpn.jmdict.convert import create_JMDict_database_entries from omniglot.jpn.jmdict.extract import convert_to_JSON from omnilingual import PartOfSpeech from .test_jmdict_entries import entry_America, entry_batsuichi if __name__ == "__main__": unittest.main()
28.792453
88
0.679554