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
89504989087775dd7ba2da5a1d9611e8030284df
447
py
Python
tests/test_teamcity.py
flexmock/flexmock
31091e747e38a2edb3ced6b64ae159b36110e83c
[ "BSD-2-Clause-FreeBSD" ]
15
2021-07-05T13:21:38.000Z
2022-01-06T02:53:26.000Z
tests/test_teamcity.py
flexmock/flexmock
31091e747e38a2edb3ced6b64ae159b36110e83c
[ "BSD-2-Clause-FreeBSD" ]
93
2021-07-05T13:12:31.000Z
2022-03-21T00:55:27.000Z
tests/test_teamcity.py
flexmock/flexmock
31091e747e38a2edb3ced6b64ae159b36110e83c
[ "BSD-2-Clause-FreeBSD" ]
4
2021-07-12T21:05:34.000Z
2021-08-22T07:54:10.000Z
"""Test TeamCity (PyCharm) integration.""" # pylint: disable=missing-docstring,no-self-use import unittest from teamcity.unittestpy import TeamcityTestRunner from tests.features import FlexmockTestCase if __name__ == "__main__": runner = TeamcityTestRunner() unittest.main(testRunner=runner)
26.294118
75
0.778523
8950596453e002623e4009ce7cd83af42547805a
11,807
py
Python
authors/apps/authentication/serializers.py
andela/ah-legion
223f8c207d3de40f5d9fe7d5bb57b452b04af86f
[ "BSD-3-Clause" ]
3
2019-03-23T16:56:32.000Z
2019-05-22T20:42:52.000Z
authors/apps/authentication/serializers.py
andela/ah-legion
223f8c207d3de40f5d9fe7d5bb57b452b04af86f
[ "BSD-3-Clause" ]
31
2019-02-26T13:19:35.000Z
2021-12-13T19:56:18.000Z
authors/apps/authentication/serializers.py
andela/ah-legion
223f8c207d3de40f5d9fe7d5bb57b452b04af86f
[ "BSD-3-Clause" ]
6
2019-03-22T09:41:34.000Z
2019-10-17T05:07:38.000Z
from django.contrib.auth import authenticate from django.core.validators import RegexValidator, URLValidator from rest_framework import serializers from rest_framework.validators import UniqueValidator from .models import User, PasswordResetToken from authors.apps.profiles.serializers import ProfileSerializer
37.601911
78
0.618362
8951d51b46dce58e644f7ed9188c363c28a226ff
1,079
py
Python
multilstm_tensorpack/tensorpack/callbacks/graph.py
neale/A4C
acbbb3cf14e31a19c12f27306971b4db4feafe09
[ "MIT" ]
1
2017-03-11T23:10:00.000Z
2017-03-11T23:10:00.000Z
multilstm_tensorpack/tensorpack/callbacks/graph.py
neale/A4C
acbbb3cf14e31a19c12f27306971b4db4feafe09
[ "MIT" ]
null
null
null
multilstm_tensorpack/tensorpack/callbacks/graph.py
neale/A4C
acbbb3cf14e31a19c12f27306971b4db4feafe09
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # File: graph.py # Author: Yuxin Wu <ppwwyyxxc@gmail.com> """ Graph related callbacks""" from .base import Triggerable __all__ = ['RunOp']
25.690476
97
0.604263
895398c9cdc502909c0f77aea4669469831c7687
169
py
Python
application/__init__.py
amcodec1/Flask-aws-app
205aed34629c345ea82d6228be2c6bf47d6686ef
[ "MIT" ]
1
2017-08-10T06:45:51.000Z
2017-08-10T06:45:51.000Z
application/__init__.py
amcodec1/Flask-aws-app
205aed34629c345ea82d6228be2c6bf47d6686ef
[ "MIT" ]
null
null
null
application/__init__.py
amcodec1/Flask-aws-app
205aed34629c345ea82d6228be2c6bf47d6686ef
[ "MIT" ]
null
null
null
from flask import Flask from flask.ext.sqlalchemy import SQLAlchemy application = Flask(__name__) application.config.from_object('config') db = SQLAlchemy(application)
24.142857
43
0.822485
89544fe5be471dfc862fbd416e5ab8a4d1aa2ce5
1,152
py
Python
patchsim_experiment/experiment_extra_patches_1time_patchsim/exp_patchsim.py
poracle100/poracle-experiments
2582e7a0b0380bac810d49a75eb33f7a0626d6d8
[ "Apache-2.0" ]
null
null
null
patchsim_experiment/experiment_extra_patches_1time_patchsim/exp_patchsim.py
poracle100/poracle-experiments
2582e7a0b0380bac810d49a75eb33f7a0626d6d8
[ "Apache-2.0" ]
null
null
null
patchsim_experiment/experiment_extra_patches_1time_patchsim/exp_patchsim.py
poracle100/poracle-experiments
2582e7a0b0380bac810d49a75eb33f7a0626d6d8
[ "Apache-2.0" ]
2
2021-03-29T08:13:34.000Z
2021-04-23T08:51:18.000Z
#!/usr/bin/python from datetime import datetime import os import shutil, sys from os.path import join import json i = 0 configs_dir = '/poracle-experiments/extra_configs/' for subroot, dirs, files in os.walk(configs_dir): # run('{}/cleanup'.format(root_dir)) for config_file in files: read_file = open(j...
30.315789
71
0.577257
8955951f8af9485bbbfe9c8b8031c4f7a7835b68
674
py
Python
tests/test_utils.py
biglocalnews/covid-world-scraper
385f792b32d58dbf67a524c36e60d21f76e463ef
[ "0BSD" ]
null
null
null
tests/test_utils.py
biglocalnews/covid-world-scraper
385f792b32d58dbf67a524c36e60d21f76e463ef
[ "0BSD" ]
11
2020-07-14T02:16:32.000Z
2022-01-31T18:06:49.000Z
tests/test_utils.py
biglocalnews/covid-world-scraper
385f792b32d58dbf67a524c36e60d21f76e463ef
[ "0BSD" ]
null
null
null
import datetime from unittest.mock import patch, MagicMock import pytest from covid_world_scraper.utils import relative_year DEC_31 = datetime.datetime(2020, 12, 31, 12, 59, 1) JAN_1 = datetime.datetime(2020, 1, 1, 1, 1, 1)
24.962963
58
0.679525
8956065fd228d29e022eb365dffc1354b92e5e48
3,227
py
Python
interface/__init__.py
KauaVicto/igbot
f490540e60643f735cc716f1424cbf087ad98c32
[ "MIT" ]
null
null
null
interface/__init__.py
KauaVicto/igbot
f490540e60643f735cc716f1424cbf087ad98c32
[ "MIT" ]
null
null
null
interface/__init__.py
KauaVicto/igbot
f490540e60643f735cc716f1424cbf087ad98c32
[ "MIT" ]
null
null
null
from PySimpleGUI import PySimpleGUI as sg from sys import exit sg.theme('DarkGray14') # sg.theme_previewer() janela()
44.205479
130
0.570189
8957faed268950fdd3010d67b51f473dca55db15
13,706
py
Python
src/tests/api/test_episodes.py
DmitryBurnaev/podcast-service
53349a3f9aed22a8024d0c83380f9a02464962a3
[ "MIT" ]
5
2021-07-01T16:31:29.000Z
2022-01-29T14:32:13.000Z
src/tests/api/test_episodes.py
DmitryBurnaev/podcast-service
53349a3f9aed22a8024d0c83380f9a02464962a3
[ "MIT" ]
45
2020-10-25T19:41:26.000Z
2022-03-25T06:31:58.000Z
src/tests/api/test_episodes.py
DmitryBurnaev/podcast-service
53349a3f9aed22a8024d0c83380f9a02464962a3
[ "MIT" ]
1
2022-01-27T11:30:07.000Z
2022-01-27T11:30:07.000Z
import pytest from common.statuses import ResponseStatus from modules.providers.exceptions import SourceFetchError from modules.podcast import tasks from modules.podcast.models import Episode, Podcast from modules.podcast.tasks import DownloadEpisodeTask from tests.api.test_base import BaseTestAPIView from tests.helpe...
40.311765
100
0.670217
89587e20404a195d566ade5dd64d8a90d60482b4
3,928
py
Python
IDEAS/Resources/src/fluid/heatpumps/calibration/PythonModel/heatexchangers.py
JavierArroyoBastida/IDEAS
d8df09206d90451f8a5910aa5780f363573ecd8c
[ "BSD-3-Clause" ]
87
2015-01-13T10:48:28.000Z
2022-02-07T12:46:06.000Z
IDEAS/Resources/src/fluid/heatpumps/calibration/PythonModel/heatexchangers.py
JavierArroyoBastida/IDEAS
d8df09206d90451f8a5910aa5780f363573ecd8c
[ "BSD-3-Clause" ]
871
2015-01-02T09:14:43.000Z
2022-03-28T20:22:25.000Z
IDEAS/Resources/src/fluid/heatpumps/calibration/PythonModel/heatexchangers.py
JavierArroyoBastida/IDEAS
d8df09206d90451f8a5910aa5780f363573ecd8c
[ "BSD-3-Clause" ]
45
2015-01-12T13:51:45.000Z
2022-03-14T08:01:40.000Z
from __future__ import division, print_function, absolute_import import numpy as np
32.46281
80
0.619399
89588acaf0215f496c8f0209b15ce97ce1c50516
4,806
py
Python
ecosante/inscription/blueprint.py
betagouv/ecosante
cc7dd76bb65405ba44f432197de851dc7e22ed38
[ "MIT" ]
3
2021-09-24T14:07:51.000Z
2021-12-14T13:48:34.000Z
ecosante/inscription/blueprint.py
betagouv/recosante-api
4560b2cf2ff4dc19597792fe15a3805f6259201d
[ "MIT" ]
187
2021-03-25T16:43:49.000Z
2022-03-23T14:40:31.000Z
ecosante/inscription/blueprint.py
betagouv/recosante-api
4560b2cf2ff4dc19597792fe15a3805f6259201d
[ "MIT" ]
2
2020-04-08T11:56:17.000Z
2020-04-09T14:04:15.000Z
from flask import ( abort, render_template, request, jsonify, stream_with_context, ) from .models import Inscription, db from .forms import FormPremiereEtape, FormDeuxiemeEtape from ecosante.utils.decorators import ( admin_capability_url, webhook_capability_url ) from ecosante.utils import B...
33.608392
126
0.6804
8959bfc6f03789f676832a95e881b497a1ad60ab
2,455
py
Python
broker.py
batuengin/becalm-station
1fa377c4553e92d6ffde7e4d999ed7d4940ecd77
[ "Apache-2.0" ]
2
2020-10-18T08:13:17.000Z
2021-03-12T12:19:45.000Z
broker.py
batuengin/becalm-station
1fa377c4553e92d6ffde7e4d999ed7d4940ecd77
[ "Apache-2.0" ]
5
2020-10-26T15:39:02.000Z
2022-02-27T05:47:30.000Z
broker.py
batuengin/becalm-station
1fa377c4553e92d6ffde7e4d999ed7d4940ecd77
[ "Apache-2.0" ]
3
2020-10-31T08:56:50.000Z
2021-01-25T21:28:37.000Z
#!/usr/bin/python3 # This file is part of becalm-station # https://github.com/idatis-org/becalm-station # Copyright: Copyright (C) 2020 Enrique Melero <enrique.melero@gmail.com> # License: Apache License Version 2.0, January 2004 # The full text of the Apache License is available here # http://w...
29.578313
95
0.682281
895a276f3342205d34c7416b14456a42a8a1a72b
9,404
py
Python
tests/test_geometry.py
TovarnovM/easyvec
25a67a37907140c07feace02dd85d68fc59824a6
[ "MIT" ]
1
2021-06-24T18:12:51.000Z
2021-06-24T18:12:51.000Z
tests/test_geometry.py
TovarnovM/easyvec
25a67a37907140c07feace02dd85d68fc59824a6
[ "MIT" ]
null
null
null
tests/test_geometry.py
TovarnovM/easyvec
25a67a37907140c07feace02dd85d68fc59824a6
[ "MIT" ]
null
null
null
from pytest import approx from easyvec import Vec2, intersect, closest, Mat2 import numpy as np from easyvec.geometry import _sortreduce, Rect, PolyLine, is_in_polygon # TODO add test for arcs
30.044728
111
0.549341
895b5c7a50aa9cfe925ce6b639fb8f5b69feda61
2,468
py
Python
model/multiscale_HSD.py
hit-nclab/HSD
e0fe95b4a17eb3a261804a194802a95ccd729db0
[ "MIT" ]
null
null
null
model/multiscale_HSD.py
hit-nclab/HSD
e0fe95b4a17eb3a261804a194802a95ccd729db0
[ "MIT" ]
null
null
null
model/multiscale_HSD.py
hit-nclab/HSD
e0fe95b4a17eb3a261804a194802a95ccd729db0
[ "MIT" ]
null
null
null
# -*- encoding: utf-8 -*- # Multi-scales HSD implementataion import numpy as np import networkx as nx import pygsp import multiprocessing from collections import defaultdict from tqdm import tqdm from model import HSD from tools import hierarchy # plot wavelet changes in multi scales def multiscale_plot_wavelets()...
30.097561
100
0.628849
895b7c90cb75da66ff20cbbd6d8d03e20ae0fa6d
10,433
py
Python
src/tournaments/__init__.py
happz/settlers
961a6d2121ab6e89106f17017f026c60c77f16f9
[ "MIT" ]
1
2018-11-16T09:41:31.000Z
2018-11-16T09:41:31.000Z
src/tournaments/__init__.py
happz/settlers
961a6d2121ab6e89106f17017f026c60c77f16f9
[ "MIT" ]
15
2015-01-07T14:17:36.000Z
2019-04-29T13:26:43.000Z
src/tournaments/__init__.py
happz/settlers
961a6d2121ab6e89106f17017f026c60c77f16f9
[ "MIT" ]
null
null
null
__author__ = 'Milos Prchlik' __copyright__ = 'Copyright 2010 - 2014, Milos Prchlik' __contact__ = 'happz@happz.cz' __license__ = 'http://www.php-suit.com/dpl' import collections import threading from collections import OrderedDict import hlib.api import hlib.events import hlib.input import hlib.error import games i...
31.33033
159
0.690501
895bd2e21910859bb3cd7f5f07cedff8bc008454
6,474
py
Python
max2/elo.py
thexa4/Spades
1b6c5003d5bec13421418e1e563db435fac18286
[ "MIT" ]
1
2018-01-27T16:45:51.000Z
2018-01-27T16:45:51.000Z
max2/elo.py
thexa4/Spades
1b6c5003d5bec13421418e1e563db435fac18286
[ "MIT" ]
null
null
null
max2/elo.py
thexa4/Spades
1b6c5003d5bec13421418e1e563db435fac18286
[ "MIT" ]
1
2018-01-27T16:45:56.000Z
2018-01-27T16:45:56.000Z
from game_manager import GameManager from braindead_player import BraindeadPlayer from max.random_player import RandomPlayer from max2.training_player import TrainingPlayer import max2.model import sys import trueskill import random import itertools import math import concurrent.futures import threading from os.path im...
36.167598
124
0.56194
895d5c7ec5c22176fbc7bef3c30c34da72d63571
2,275
py
Python
examples/density.py
dwbullok/python-colormath
4b218effd53a52da891bbbb60661426ef194d085
[ "BSD-3-Clause" ]
1
2019-06-10T20:06:31.000Z
2019-06-10T20:06:31.000Z
examples/density.py
dwbullok/python-colormath
4b218effd53a52da891bbbb60661426ef194d085
[ "BSD-3-Clause" ]
null
null
null
examples/density.py
dwbullok/python-colormath
4b218effd53a52da891bbbb60661426ef194d085
[ "BSD-3-Clause" ]
null
null
null
""" This module shows you how to perform various kinds of density calculations. """ # Does some sys.path manipulation so we can run examples in-place. # noinspection PyUnresolvedReferences import example_config from colormath.color_objects import SpectralColor from colormath.density_standards import ANSI_STA...
40.625
79
0.712967
895ea8c663f4b071e8a2f10939d1693b255ef7ea
1,858
py
Python
connector/python/setup.py
nikolaypavlov/spark-riak-connector
84859aa4d82dd7234fb5c3c21789108d3a6c1094
[ "Apache-2.0" ]
63
2015-09-12T04:10:58.000Z
2022-03-20T16:35:27.000Z
connector/python/setup.py
nikolaypavlov/spark-riak-connector
84859aa4d82dd7234fb5c3c21789108d3a6c1094
[ "Apache-2.0" ]
83
2015-09-11T13:30:50.000Z
2018-11-24T11:13:06.000Z
connector/python/setup.py
nikolaypavlov/spark-riak-connector
84859aa4d82dd7234fb5c3c21789108d3a6c1094
[ "Apache-2.0" ]
34
2015-09-10T15:52:54.000Z
2018-07-03T10:33:43.000Z
""" Copyright 2016 Basho Technologies, Inc. This file is provided to you 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 agre...
32.034483
73
0.728741
895f39f7683bf346e299eae827e0f17349fa596b
1,310
py
Python
data/download_source.py
mappingvermont/vt-road-names
62665702efb345894b6d6567d4b2790baa8df5f5
[ "MIT" ]
null
null
null
data/download_source.py
mappingvermont/vt-road-names
62665702efb345894b6d6567d4b2790baa8df5f5
[ "MIT" ]
null
null
null
data/download_source.py
mappingvermont/vt-road-names
62665702efb345894b6d6567d4b2790baa8df5f5
[ "MIT" ]
null
null
null
import os import requests import zipfile data_dir = os.path.dirname(__file__) source_dir = os.path.join(data_dir, 'source') if not os.path.exists(source_dir): os.mkdir(source_dir) rds_url = r'http://maps.vcgi.vermont.gov/gisdata/vcgi/packaged_zips/EmergencyE911_RDS.zip' town_boundary_url = r'http://maps.vcgi.vermo...
26.734694
103
0.714504
8960f936e80553661cf0be04471dadc4290fc3b4
976
py
Python
src/zeo_connector_defaults/__init__.py
Bystroushaak/zeo_connector_defaults
b54ecb99ddb4665db00fba183ef1d7252b0ca62b
[ "MIT" ]
null
null
null
src/zeo_connector_defaults/__init__.py
Bystroushaak/zeo_connector_defaults
b54ecb99ddb4665db00fba183ef1d7252b0ca62b
[ "MIT" ]
null
null
null
src/zeo_connector_defaults/__init__.py
Bystroushaak/zeo_connector_defaults
b54ecb99ddb4665db00fba183ef1d7252b0ca62b
[ "MIT" ]
null
null
null
#! /usr/bin/env python # -*- coding: utf-8 -*- # # Interpreter version: python 2.7 # # Imports ===================================================================== import os.path from environment_generator import tmp_context from environment_generator import tmp_context_name from environment_generator import generat...
34.857143
79
0.615779
8961ecebf2ca4b4e071b2aa1e8778032bdcb8a52
576
py
Python
AST/block.py
CorentinGoet/miniC-Compiler
8631b1ce47e9de1c3a3255d7c0a941242ad48292
[ "MIT" ]
null
null
null
AST/block.py
CorentinGoet/miniC-Compiler
8631b1ce47e9de1c3a3255d7c0a941242ad48292
[ "MIT" ]
null
null
null
AST/block.py
CorentinGoet/miniC-Compiler
8631b1ce47e9de1c3a3255d7c0a941242ad48292
[ "MIT" ]
null
null
null
""" @author Corentin Goetghebeur (github.com/CorentinGoet) """ from AST.node import Node
18.580645
54
0.631944
8962ba1e70c133d90ad2110d321cabbb28852c18
9,195
py
Python
pysnmp/CISCO-VOICE-IF-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
11
2021-02-02T16:27:16.000Z
2021-08-31T06:22:49.000Z
pysnmp/CISCO-VOICE-IF-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
75
2021-02-24T17:30:31.000Z
2021-12-08T00:01:18.000Z
pysnmp/CISCO-VOICE-IF-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module CISCO-VOICE-IF-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/CISCO-VOICE-IF-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 18:03:11 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, ...
133.26087
1,082
0.755628
89630d0bd0aad54ccd57d39bdeed4934b8f4b4ea
4,812
py
Python
scripts/pre_processing/pre_processing_LOCAL.py
self-improving-agent/SomaticVariantCallingWithDeepLearning
50912dd3c2e88cd05daf5870ab6437d43a16cca8
[ "MIT" ]
null
null
null
scripts/pre_processing/pre_processing_LOCAL.py
self-improving-agent/SomaticVariantCallingWithDeepLearning
50912dd3c2e88cd05daf5870ab6437d43a16cca8
[ "MIT" ]
null
null
null
scripts/pre_processing/pre_processing_LOCAL.py
self-improving-agent/SomaticVariantCallingWithDeepLearning
50912dd3c2e88cd05daf5870ab6437d43a16cca8
[ "MIT" ]
null
null
null
import pysam import vcf from vcf.parser import _Info as VcfInfo, field_counts as vcf_field_counts import math CHR = 22 chr_to_num = lambda x: ''.join([c for c in x if c.isdigit()]) purity = 0.6 # Open files normalSample = pysam.AlignmentFile("../../data/external/HG002.hs37d5.300x.bam", "rb", ignore_truncation=True) t...
30.846154
167
0.687656
896353bb52dc91b51515cede2f8f6435b1c743a3
1,229
py
Python
getitfixed/lingua_extractor.py
camptocamp/getitfixed
f339ee7ac603ebf6c5938d90b79d709e1c9e3f09
[ "BSD-2-Clause-FreeBSD" ]
4
2021-02-11T15:09:15.000Z
2021-02-23T07:56:49.000Z
getitfixed/lingua_extractor.py
camptocamp/getitfixed
f339ee7ac603ebf6c5938d90b79d709e1c9e3f09
[ "BSD-2-Clause-FreeBSD" ]
4
2021-02-08T12:52:16.000Z
2021-11-25T16:25:05.000Z
getitfixed/lingua_extractor.py
camptocamp/getitfixed
f339ee7ac603ebf6c5938d90b79d709e1c9e3f09
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
from lingua.extractors import Extractor, Message from c2c.template.config import config as configuration
39.645161
87
0.617575
89636af3bcc2dac82bb553831e85121b506753d9
1,577
py
Python
magnify/script_utils.py
jiwoncpark/magnify
04421d43b9f5340989e8614d961ac9f5988bde0c
[ "MIT" ]
null
null
null
magnify/script_utils.py
jiwoncpark/magnify
04421d43b9f5340989e8614d961ac9f5988bde0c
[ "MIT" ]
null
null
null
magnify/script_utils.py
jiwoncpark/magnify
04421d43b9f5340989e8614d961ac9f5988bde0c
[ "MIT" ]
2
2021-09-14T19:14:12.000Z
2021-11-07T10:29:01.000Z
import os import torch def save_state(model, optim, lr_scheduler, kl_scheduler, epoch, train_dir, param_w_scheduler, epoch_i): """Save the state dict of the current training to disk Parameters ---------- train_loss : float current training loss val_loss : float curre...
32.854167
64
0.63792
89639c5827d0f48f2821d66cd1c6a72c013d43ba
489
py
Python
test/test_account.py
dheller1/personal-finance
914de3e538515249b510383fd93538693a96d98f
[ "MIT" ]
null
null
null
test/test_account.py
dheller1/personal-finance
914de3e538515249b510383fd93538693a96d98f
[ "MIT" ]
null
null
null
test/test_account.py
dheller1/personal-finance
914de3e538515249b510383fd93538693a96d98f
[ "MIT" ]
null
null
null
from pfin.account import Account from moneyed import Money, EUR, USD import pytest
22.227273
53
0.652352
8963b9e21a078addbf999be72b2d1e008edfb9e8
2,306
py
Python
preprocess/feature.py
NTHU-CVLab/ActivityProps
68392fb38d87afdc92f6f054e83e9166121401a5
[ "Apache-2.0" ]
1
2017-10-31T15:36:55.000Z
2017-10-31T15:36:55.000Z
preprocess/feature.py
NTHU-CVLab/ActivityProps
68392fb38d87afdc92f6f054e83e9166121401a5
[ "Apache-2.0" ]
null
null
null
preprocess/feature.py
NTHU-CVLab/ActivityProps
68392fb38d87afdc92f6f054e83e9166121401a5
[ "Apache-2.0" ]
null
null
null
import os import re import h5py import numpy as np
34.939394
87
0.617953
8963da14cc6badd83963c9d6f04c2a8c84d7a51c
8,162
py
Python
sdks/python/apache_beam/io/fileio_test.py
goldfishy/beam
a956ff77a8448e5f2c12f6695fec608348b5ab60
[ "Apache-2.0", "BSD-3-Clause" ]
2
2019-04-25T22:16:34.000Z
2019-07-11T10:14:15.000Z
sdks/python/apache_beam/io/fileio_test.py
goldfishy/beam
a956ff77a8448e5f2c12f6695fec608348b5ab60
[ "Apache-2.0", "BSD-3-Clause" ]
6
2020-11-13T18:59:17.000Z
2021-08-25T16:11:11.000Z
sdks/python/apache_beam/io/fileio_test.py
goldfishy/beam
a956ff77a8448e5f2c12f6695fec608348b5ab60
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may not us...
34.584746
80
0.661725
896461c46e6db21b14443c315d819b33f6df70bd
856
py
Python
pyuaparser/test.py
havocesp/pyuaparser
486d6f19b05f0c8ae0e160b3185f06798b49fce6
[ "Unlicense" ]
2
2019-11-20T02:16:14.000Z
2021-12-17T01:12:41.000Z
pyuaparser/test.py
havocesp/pyuaparser
486d6f19b05f0c8ae0e160b3185f06798b49fce6
[ "Unlicense" ]
null
null
null
pyuaparser/test.py
havocesp/pyuaparser
486d6f19b05f0c8ae0e160b3185f06798b49fce6
[ "Unlicense" ]
null
null
null
# -*- coding:utf-8 -*- from core import UserAgent testing_data = { 'user_agent': { 'family': 'Chrome', 'major': '60', 'minor': '0', 'patch': '3112' }, 'os': { 'family': 'Windows', 'major': '10', 'minor': None, 'patch': None, 'patch_min...
25.939394
131
0.55257
8964797fa4b8e72c8fbd72fbf7a0a140ab73619e
347
py
Python
LeetCode/0219. Contains Duplicate II/solution.py
InnoFang/oh-my-algorithms
f559dba371ce725a926725ad28d5e1c2facd0ab2
[ "Apache-2.0" ]
19
2018-08-26T03:10:58.000Z
2022-03-07T18:12:52.000Z
LeetCode/0219. Contains Duplicate II/solution.py
InnoFang/Algorithm-Library
1896b9d8b1fa4cd73879aaecf97bc32d13ae0169
[ "Apache-2.0" ]
null
null
null
LeetCode/0219. Contains Duplicate II/solution.py
InnoFang/Algorithm-Library
1896b9d8b1fa4cd73879aaecf97bc32d13ae0169
[ "Apache-2.0" ]
6
2020-03-16T23:00:06.000Z
2022-01-13T07:02:08.000Z
""" 23 / 23 test cases passed. Runtime: 48 ms Memory Usage: 22.3 MB """
24.785714
71
0.54755
8964f69c1d51b707bae8188916bfb506969245ff
5,714
py
Python
src/datalab/notebook/notebook-command/command/api/datahub.py
Chromico/bk-base
be822d9bbee544a958bed4831348185a75604791
[ "MIT" ]
84
2021-06-30T06:20:23.000Z
2022-03-22T03:05:49.000Z
src/datalab/notebook/notebook-command/command/api/datahub.py
Chromico/bk-base
be822d9bbee544a958bed4831348185a75604791
[ "MIT" ]
7
2021-06-30T06:21:16.000Z
2022-03-29T07:36:13.000Z
src/datalab/notebook/notebook-command/command/api/datahub.py
Chromico/bk-base
be822d9bbee544a958bed4831348185a75604791
[ "MIT" ]
40
2021-06-30T06:21:26.000Z
2022-03-29T12:42:26.000Z
# -*- coding: utf-8 -*- """ Tencent is pleased to support the open source community by making BK-BASE available. Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved. BK-BASE is licensed under the MIT License. License for BK-BASE : ------------------------------------------------------------...
31.744444
118
0.687434
8965fcb7879e775552cad013b775944c4222f025
3,323
py
Python
openpnm/models/__init__.py
halotudio/openPNM-copy2
d400ec65e9421256a531f6d22a38255b002d5dcb
[ "MIT" ]
1
2021-05-01T11:10:43.000Z
2021-05-01T11:10:43.000Z
openpnm/models/__init__.py
Jimmy-INL/OpenPNM
1546fa1ac2204443bde916f2037fac383c5069ae
[ "MIT" ]
null
null
null
openpnm/models/__init__.py
Jimmy-INL/OpenPNM
1546fa1ac2204443bde916f2037fac383c5069ae
[ "MIT" ]
null
null
null
r""" **openpnm.models** ---- This module contains a selection of pore-scale models for calculating geometrical, thermophysical, and multiphysics transport properties. ---- **Using Prewritten Models from the Library** OpenPNM includes a solid library of pre-written models for most basic and standard scenarios. Th...
40.036145
85
0.539874
8968f1c206c8bb5c3456179cb46db720666878ac
2,247
py
Python
examples/train_filters.py
shakenes/unsupervised-drl
bb44aa87411e5dde3aa0d049fd721d6fb9da0b7e
[ "MIT" ]
1
2021-04-23T08:36:31.000Z
2021-04-23T08:36:31.000Z
examples/train_filters.py
shakenes/unsupervised-drl
bb44aa87411e5dde3aa0d049fd721d6fb9da0b7e
[ "MIT" ]
null
null
null
examples/train_filters.py
shakenes/unsupervised-drl
bb44aa87411e5dde3aa0d049fd721d6fb9da0b7e
[ "MIT" ]
null
null
null
from __future__ import print_function import tensorflow as tf config = tf.ConfigProto() config.gpu_options.allow_growth = True session = tf.Session(config=config) import keras from keras.preprocessing.image import ImageDataGenerator from keras.models import Model from keras.layers import Dense, Flatten, Conv2D, Permu...
27.740741
99
0.721851
8969033413c810fd4ac389308247704b3968aeba
2,346
py
Python
core/infer.py
lvboodvl/smart_sync
be295c0db4cd0b7f3e9ff6f33889c24fa0d1eecd
[ "MIT" ]
3
2020-07-17T13:08:23.000Z
2021-12-23T08:41:30.000Z
core/infer.py
lvboodvl/smart_sync
be295c0db4cd0b7f3e9ff6f33889c24fa0d1eecd
[ "MIT" ]
null
null
null
core/infer.py
lvboodvl/smart_sync
be295c0db4cd0b7f3e9ff6f33889c24fa0d1eecd
[ "MIT" ]
null
null
null
#coding=utf-8 ''' infer module ''' import sys caffe_path = '../caffe/python/' #caffe_path = '/root/caffe/python/' sys.path.insert(0, caffe_path) import caffe caffe.set_device(0) caffe.set_mode_gpu() from caffe.proto import caffe_pb2 from google.protobuf import text_format import numpy as np #import cv2 ''' prepare c...
35.014925
84
0.746377
896a54ac83d7220e88e21b226080aa932a25b015
44,852
py
Python
pycam/pycam/Plugins/OpenGLWindow.py
pschou/py-sdf
0a269ed155d026e29429d76666fb63c95d2b4b2c
[ "MIT" ]
null
null
null
pycam/pycam/Plugins/OpenGLWindow.py
pschou/py-sdf
0a269ed155d026e29429d76666fb63c95d2b4b2c
[ "MIT" ]
null
null
null
pycam/pycam/Plugins/OpenGLWindow.py
pschou/py-sdf
0a269ed155d026e29429d76666fb63c95d2b4b2c
[ "MIT" ]
null
null
null
""" Copyright 2011 Lars Kruse <devel@sumpfralle.de> This file is part of PyCAM. PyCAM is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. PyCA...
47.262381
99
0.580175
896a9f43a1ddcc85cd7e1204d61e68064fd6890e
20,864
py
Python
scripts/external_libs/scapy-2.4.5/scapy/contrib/scada/iec104/__init__.py
dariusgrassi/trex-core
3b19ddcf67e33934f268b09d3364cd87275d48db
[ "Apache-2.0" ]
250
2016-12-29T02:43:04.000Z
2022-03-31T05:51:23.000Z
scripts/external_libs/scapy-2.4.5/scapy/contrib/scada/iec104/__init__.py
dariusgrassi/trex-core
3b19ddcf67e33934f268b09d3364cd87275d48db
[ "Apache-2.0" ]
2
2017-08-08T06:22:10.000Z
2021-05-22T01:59:43.000Z
scripts/external_libs/scapy-2.4.5/scapy/contrib/scada/iec104/__init__.py
dariusgrassi/trex-core
3b19ddcf67e33934f268b09d3364cd87275d48db
[ "Apache-2.0" ]
86
2016-12-29T06:39:34.000Z
2021-12-12T20:07:39.000Z
# This file is part of Scapy # See http://www.secdev.org/projects/scapy for more information # Copyright (C) Thomas Tannhaeuser <hecke@naberius.de> # This program is published under a GPLv2 license # # scapy.contrib.description = IEC-60870-5-104 APCI / APDU layer definitions # scapy.contrib.status = loads """ IEC ...
32.651017
86
0.66852
896ab830d31d4ae0126e9da6fffd5ca1f79bc426
241
py
Python
users/admin.py
ananthan-123/react-django
5305649f1d39e1f5b62eb17a4f40f67fe7cfd14b
[ "MIT" ]
null
null
null
users/admin.py
ananthan-123/react-django
5305649f1d39e1f5b62eb17a4f40f67fe7cfd14b
[ "MIT" ]
null
null
null
users/admin.py
ananthan-123/react-django
5305649f1d39e1f5b62eb17a4f40f67fe7cfd14b
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import Patient, Doctor, UserInfo,Admin_Users # Register your models here. admin.site.register(UserInfo) admin.site.register(Patient) admin.site.register(Doctor) admin.site.register(Admin_Users)
26.777778
57
0.821577
896ac1984700bc7074227418120b14e08af8c05f
474
py
Python
old/pepper2/src/main/python/pepper2like/test.py
andybalaam/pepper
f0d12379c7c6e2d82003c0c1d6130bfac685e1c3
[ "MIT" ]
2
2018-12-19T16:32:46.000Z
2019-01-10T09:00:33.000Z
old/pepper2/src/main/python/pepper2like/test.py
andybalaam/pepper
f0d12379c7c6e2d82003c0c1d6130bfac685e1c3
[ "MIT" ]
null
null
null
old/pepper2/src/main/python/pepper2like/test.py
andybalaam/pepper
f0d12379c7c6e2d82003c0c1d6130bfac685e1c3
[ "MIT" ]
null
null
null
from pepper2like.type_check import type_check from pepper2like.log import Log from pepper2like.string import String from pepper2like.callable import Callable
23.7
47
0.64135
896c2ace62a35c240bb8d02122b9fd8d32e9885a
830
py
Python
xcparse/Xcode/XCSchemeActions/__init__.py
samdmarshall/xcparser
4f78af149127325e60e3785b6e09d6dbfeedc799
[ "BSD-3-Clause" ]
59
2015-02-27T21:45:37.000Z
2021-03-16T04:37:40.000Z
xcparse/Xcode/XCSchemeActions/__init__.py
samdmarshall/xcparser
4f78af149127325e60e3785b6e09d6dbfeedc799
[ "BSD-3-Clause" ]
14
2015-03-02T18:53:51.000Z
2016-07-19T23:20:23.000Z
xcparse/Xcode/XCSchemeActions/__init__.py
samdmarshall/xcparser
4f78af149127325e60e3785b6e09d6dbfeedc799
[ "BSD-3-Clause" ]
8
2015-03-02T02:32:09.000Z
2017-07-31T21:14:51.000Z
# from .Base_Action import * # # from .BuildAction import * # from .TestAction import * # from .LaunchAction import * # from .ProfileAction import * # from .AnalyzeAction import * # from .ArchiveAction import * # # from .BuildActionEntry import * # from .BuildableReference import * # from .BuildableProductRunnable impo...
29.642857
63
0.807229
896c42df3aee1153cc88340c843b78ef48002567
367
py
Python
DMGroup/ChangeDMGroupName.py
tungdo0602/Some-Discord-Collection
b14b9bf20261873c5ebf875607f305f5767bd874
[ "MIT" ]
4
2021-12-13T17:32:30.000Z
2022-03-27T21:29:35.000Z
DMGroup/ChangeDMGroupName.py
tungdo0602/Some-Discord-Collection
b14b9bf20261873c5ebf875607f305f5767bd874
[ "MIT" ]
1
2021-11-28T07:03:00.000Z
2021-11-28T07:03:00.000Z
DMGroup/ChangeDMGroupName.py
tungdo0602/Some-Discord-Collection
b14b9bf20261873c5ebf875607f305f5767bd874
[ "MIT" ]
1
2021-11-16T15:45:40.000Z
2021-11-16T15:45:40.000Z
import requests, os token = "" DMGroup_id = "" DMGroup_name = "" group = requests.patch(f'https://discord.com/api/v9/channels/{DMGroup_id}', headers={"authorization": token}, json={"name": DMGroup_name}) if group.status_code == 200: print("Successfully changed the group name!") else: print(f"Failed to cha...
33.363636
139
0.705722
896ccdee096faa75f037665b2b0f87f93f06154a
1,815
py
Python
autogoal/contrib/streamlit/__init__.py
gmijenes/autogoal
916b0eb4d1aa1a222d0ff1b0f6f202bf56458ef5
[ "MIT" ]
null
null
null
autogoal/contrib/streamlit/__init__.py
gmijenes/autogoal
916b0eb4d1aa1a222d0ff1b0f6f202bf56458ef5
[ "MIT" ]
null
null
null
autogoal/contrib/streamlit/__init__.py
gmijenes/autogoal
916b0eb4d1aa1a222d0ff1b0f6f202bf56458ef5
[ "MIT" ]
null
null
null
try: import streamlit as st except ImportError: print( "(!) The code inside `autogoal.contrib.streamlit` requires `streamlit>=0.55`." ) print("(!) Fix it by running `pip install autogoal[streamlit]`.") raise from autogoal.search import Logger
32.410714
87
0.6
896d186eab4c273d1fcc4a39b1e7daa5cc6508b0
3,179
py
Python
lib/Shade/storage/Completer.py
maarons/Shade
34a223f2121664df3fc0834b32e13a84797e1084
[ "MIT" ]
null
null
null
lib/Shade/storage/Completer.py
maarons/Shade
34a223f2121664df3fc0834b32e13a84797e1084
[ "MIT" ]
null
null
null
lib/Shade/storage/Completer.py
maarons/Shade
34a223f2121664df3fc0834b32e13a84797e1084
[ "MIT" ]
null
null
null
# Copyright (c) 2011, 2012, 2013 Marek Sapota # # 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, p...
38.768293
79
0.595156
896d5d0ada4c6f624396d6861f892d9e9cc3434d
1,701
py
Python
dm_page/migrations/0029_auto_20210827_1452.py
AlexanderHalsey/Donation-Manager
5655d1eb6394f7db9a178c081039c4e149ef6998
[ "Unlicense" ]
null
null
null
dm_page/migrations/0029_auto_20210827_1452.py
AlexanderHalsey/Donation-Manager
5655d1eb6394f7db9a178c081039c4e149ef6998
[ "Unlicense" ]
null
null
null
dm_page/migrations/0029_auto_20210827_1452.py
AlexanderHalsey/Donation-Manager
5655d1eb6394f7db9a178c081039c4e149ef6998
[ "Unlicense" ]
null
null
null
# Generated by Django 3.1.7 on 2021-08-27 14:52 from django.db import migrations, models import django.db.models.deletion
37.8
132
0.629042
8972396cf9b6b7c254bf9de4a9b69db47d733679
2,414
py
Python
examples/interface/CP.py
sg0/Elemental
614f02509690449b553451e36bc78e7e132ea517
[ "BSD-3-Clause" ]
1
2015-12-08T22:54:37.000Z
2015-12-08T22:54:37.000Z
examples/interface/CP.py
sg0/Elemental
614f02509690449b553451e36bc78e7e132ea517
[ "BSD-3-Clause" ]
null
null
null
examples/interface/CP.py
sg0/Elemental
614f02509690449b553451e36bc78e7e132ea517
[ "BSD-3-Clause" ]
null
null
null
# # Copyright (c) 2009-2015, Jack Poulson # All rights reserved. # # This file is part of Elemental and is under the BSD 2-Clause License, # which can be found in the LICENSE file in the root directory, or at # http://opensource.org/licenses/BSD-2-Clause # import El import time m = 4000 n = 2000 display = True ...
25.956989
73
0.630075
897282b1225402f34c02a3d173efb231094cfc04
1,062
py
Python
ealgebra.py
LiDReSaR/algebra
ecf6a27439f3f7dcdb088bcb27c46122125fcd9d
[ "MIT" ]
2
2020-01-13T19:57:42.000Z
2020-01-14T18:42:11.000Z
ealgebra.py
LiDReSaR/algebra
ecf6a27439f3f7dcdb088bcb27c46122125fcd9d
[ "MIT" ]
null
null
null
ealgebra.py
LiDReSaR/algebra
ecf6a27439f3f7dcdb088bcb27c46122125fcd9d
[ "MIT" ]
null
null
null
__version__ = '0.0.4' def phi(n: int) -> int: """Euler function Parameters: n (int): Number Returns: int: Result """ res, i = n, 2 while i * i <= n: if n % i == 0: while n % i == 0: n //= i res -= res // i i += 1 if n >...
12.795181
34
0.431262
89734318911678f29e1f240cbaf0439095d72eff
1,016
py
Python
old/bisenetv2/meters.py
khsily/BiSeNet
7373cbb76f893c698dab8865306264fc2a3ca0a4
[ "MIT" ]
966
2018-12-13T12:11:18.000Z
2022-03-31T14:13:55.000Z
old/bisenetv2/meters.py
khsily/BiSeNet
7373cbb76f893c698dab8865306264fc2a3ca0a4
[ "MIT" ]
214
2019-01-25T10:06:24.000Z
2022-03-22T01:55:28.000Z
old/bisenetv2/meters.py
khsily/BiSeNet
7373cbb76f893c698dab8865306264fc2a3ca0a4
[ "MIT" ]
247
2019-03-04T11:39:06.000Z
2022-03-30T05:45:56.000Z
import time import datetime
23.090909
78
0.574803
89737894de02186c1f7503654873acb36fbc2267
6,556
py
Python
QFT_ram_reader_writer_metafied.py
woodrush/QFT-devkit
8a2789c89e526a593fb56edab508ed56a6321c20
[ "MIT" ]
null
null
null
QFT_ram_reader_writer_metafied.py
woodrush/QFT-devkit
8a2789c89e526a593fb56edab508ed56a6321c20
[ "MIT" ]
null
null
null
QFT_ram_reader_writer_metafied.py
woodrush/QFT-devkit
8a2789c89e526a593fb56edab508ed56a6321c20
[ "MIT" ]
null
null
null
from glife import * import golly as g s1 = g.getstring("Enter stack size:", "233") s2 = g.getstring("Enter stdin buffer starting address:", "290") s3 = g.getstring("Enter stdout buffer starting address:", "790") # calc.c RAM_NEGATIVE_BUFFER_SIZE = int(s1) QFTASM_RAMSTDIN_BUF_STARTPOSITION = int(s2) + RAM_NEGATIVE_BU...
31.825243
141
0.623703
8973de1b669b61e0aa3358d6ae11021869cf1108
844
py
Python
app/meda_sync_search/models/equipment.py
DEV3L/meda-sync-search
c67feb2f2b54ba153dc50e9aba5058d4e7948c92
[ "Beerware" ]
null
null
null
app/meda_sync_search/models/equipment.py
DEV3L/meda-sync-search
c67feb2f2b54ba153dc50e9aba5058d4e7948c92
[ "Beerware" ]
null
null
null
app/meda_sync_search/models/equipment.py
DEV3L/meda-sync-search
c67feb2f2b54ba153dc50e9aba5058d4e7948c92
[ "Beerware" ]
null
null
null
from app.meda_sync_search.models.model import Model
29.103448
64
0.545024
8974ddb734130878e03e5d77f48d49024373a773
1,649
py
Python
src/tf/cluster/train.py
juanprietob/gan-brain
5783514427e0f08bb06116bc3b09e38d13216483
[ "Apache-2.0" ]
1
2018-01-10T23:59:20.000Z
2018-01-10T23:59:20.000Z
src/tf/cluster/train.py
juanprietob/gan-brain
5783514427e0f08bb06116bc3b09e38d13216483
[ "Apache-2.0" ]
null
null
null
src/tf/cluster/train.py
juanprietob/gan-brain
5783514427e0f08bb06116bc3b09e38d13216483
[ "Apache-2.0" ]
null
null
null
import tensorflow as tf cluster = tf.train.ClusterSpec({ "worker": [ "localhost:2223", ], "ps": [ "152.19.32.251:2222" ]}) server = tf.train.Server(cluster, job_name='worker', task_index=0) with tf.device("/job:ps/task:0"): image = tf.get_variable("images", shape=[5,5], dt...
38.348837
147
0.671922
897553789aacbc17dcfc8919505f6b267a51d7e1
5,780
py
Python
aleph_message/tests/test_models.py
leirbag95/aleph-message
3b942e761a253126fb0240a3bce342db0a7333d2
[ "MIT" ]
null
null
null
aleph_message/tests/test_models.py
leirbag95/aleph-message
3b942e761a253126fb0240a3bce342db0a7333d2
[ "MIT" ]
null
null
null
aleph_message/tests/test_models.py
leirbag95/aleph-message
3b942e761a253126fb0240a3bce342db0a7333d2
[ "MIT" ]
null
null
null
import json import os.path from hashlib import sha256 from os import listdir from os.path import join, isdir from pprint import pprint import pytest import requests from pydantic import ValidationError from aleph_message.models import MessagesResponse, Message, ProgramMessage, ForgetMessage, \ PostContent from al...
33.410405
177
0.690311
8976eae594b4584e64e8e97c683b3a1f51871c22
3,767
py
Python
19-python/BeaconScanner.py
kmolski/aoc-2021
59288c5deca1d65208573123c972fea37fbb3f9e
[ "MIT" ]
1
2022-01-06T22:22:28.000Z
2022-01-06T22:22:28.000Z
19-python/BeaconScanner.py
kmolski/aoc-2021
59288c5deca1d65208573123c972fea37fbb3f9e
[ "MIT" ]
null
null
null
19-python/BeaconScanner.py
kmolski/aoc-2021
59288c5deca1d65208573123c972fea37fbb3f9e
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 from io import StringIO from itertools import groupby, permutations, product from math import cos, sin, radians from sys import argv import numpy as np INTERSECTION_SIZE = 12 MATCHING_DIST_COUNT = (INTERSECTION_SIZE * (INTERSECTION_SIZE - 1)) / 2 SIN_90 = sin(radians(90)) COS_90 = cos(radians...
29.429688
87
0.664454
897a254918d1fb162762d25214144081e7c6e2d7
39
py
Python
androidframer/__init__.py
abc22413/androidframer
67cb721964f1a27ecbda5b6e84ccb49e75b0c458
[ "Apache-2.0" ]
80
2019-08-03T12:26:22.000Z
2020-06-13T11:43:55.000Z
androidframer/__init__.py
abc22413/androidframer
67cb721964f1a27ecbda5b6e84ccb49e75b0c458
[ "Apache-2.0" ]
7
2019-08-03T09:50:28.000Z
2020-07-01T17:10:10.000Z
androidframer/__init__.py
abc22413/androidframer
67cb721964f1a27ecbda5b6e84ccb49e75b0c458
[ "Apache-2.0" ]
7
2020-07-06T11:27:08.000Z
2021-02-24T11:45:47.000Z
from androidframer.framer import Framer
39
39
0.897436
897a3cad9732f828a836a54ac4bd026a55f0492c
1,024
py
Python
server/test/exception_test.py
cwh98/calendar
5d13f0dd8047a065cabc62503177f39f429567e7
[ "MIT" ]
4
2019-07-15T04:31:18.000Z
2021-04-29T17:56:44.000Z
server/test/exception_test.py
cwh98/calendar
5d13f0dd8047a065cabc62503177f39f429567e7
[ "MIT" ]
4
2019-05-14T12:04:12.000Z
2019-06-04T09:59:23.000Z
server/test/exception_test.py
cwh98/calendar
5d13f0dd8047a065cabc62503177f39f429567e7
[ "MIT" ]
7
2019-05-15T03:13:06.000Z
2019-08-12T05:12:30.000Z
#!/usr/bin/python # This file includes test cases for calendar # author:makdon # # # # # Life is short, i use Python. import unittest import json import copy from .util import get_status_code_by_request from .util import get_login_cookie from .util import get_response from .util import get_a_calendarId from .util impo...
27.675676
77
0.722656
897b8decb81a9ceb7fa7fbc4dcdf34ceb70ae499
7,487
py
Python
des2.py
101guptaji/Cryptography
70e52f80f4cbb609d42bd714256ed228f994e57f
[ "MIT" ]
null
null
null
des2.py
101guptaji/Cryptography
70e52f80f4cbb609d42bd714256ed228f994e57f
[ "MIT" ]
null
null
null
des2.py
101guptaji/Cryptography
70e52f80f4cbb609d42bd714256ed228f994e57f
[ "MIT" ]
null
null
null
PC1 = [57, 49, 41, 33, 25, 17, 9, 1, 58, 50, 42, 34, 26, 18, 10, 2, 59, 51, 43, 35, 27, 19, 11, 3, 60, 52, 44, 36, 63, 55, 47, 39, 31, 23, 15, 7, 62, 54, 46, 38, 30, 22, 14, 6, 61, 53, 45, 37, 29, 21, 13, 5, 28, 20, 12, 4] PC2 = [14, 17, 11, 24, 1, 5, 3, 28, 15, ...
29.476378
64
0.467343
897cee4247148463acee605a8d5251ae9c74fc0e
1,518
py
Python
logaspect/groundtruth/split_xml_format.py
studiawan/logaspect
adeb4a5f802ef22329cacb50ea00b090f12f6ebb
[ "MIT" ]
null
null
null
logaspect/groundtruth/split_xml_format.py
studiawan/logaspect
adeb4a5f802ef22329cacb50ea00b090f12f6ebb
[ "MIT" ]
null
null
null
logaspect/groundtruth/split_xml_format.py
studiawan/logaspect
adeb4a5f802ef22329cacb50ea00b090f12f6ebb
[ "MIT" ]
1
2021-11-11T11:41:18.000Z
2021-11-11T11:41:18.000Z
from xml.dom import minidom import xml.etree.ElementTree as Et
33.733333
71
0.583663
897d8a1a4cebed6675e8d257d5a7f5e1a6d7eaf2
1,510
py
Python
app/Search/schema.py
psyphore/flask-phone-book
cceec3caabdeb03f260d37f3b55d5aa7a52c30c2
[ "MIT" ]
null
null
null
app/Search/schema.py
psyphore/flask-phone-book
cceec3caabdeb03f260d37f3b55d5aa7a52c30c2
[ "MIT" ]
2
2021-03-19T03:39:56.000Z
2021-06-08T20:28:03.000Z
app/Search/schema.py
psyphore/flask-phone-book
cceec3caabdeb03f260d37f3b55d5aa7a52c30c2
[ "MIT" ]
null
null
null
import graphene from graphql import GraphQLError from app.People.models import Person from .service import SearchService from app.People.graphql_types import PersonType from .graphql_types import SearchType, SearchResultType service = SearchService() schema = graphene.Schema(query=SearchQuery, auto_camelcase=True)
33.555556
110
0.686755
897dc8f53189925ee767800d270c182c2df50742
7,463
py
Python
geonames/migrations/0001_initial.py
fmalina/django-geonames
fe9191629be4b3c400f5c763476428a08f05304a
[ "BSD-2-Clause-FreeBSD" ]
1
2021-11-09T05:27:59.000Z
2021-11-09T05:27:59.000Z
geonames/migrations/0001_initial.py
fmalina/django-geonames
fe9191629be4b3c400f5c763476428a08f05304a
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
geonames/migrations/0001_initial.py
fmalina/django-geonames
fe9191629be4b3c400f5c763476428a08f05304a
[ "BSD-2-Clause-FreeBSD" ]
3
2021-11-09T05:27:46.000Z
2022-03-29T16:44:07.000Z
# Generated by Django 2.2.3 on 2019-08-12 16:17 # import django.contrib.gis.db.models.fields import django.db.models.deletion from django.db import migrations, models
47.234177
169
0.557417
897fa0ec09d0c1f6b4067a68206a8ac3cfab5cb6
1,180
py
Python
initialization/bustype.py
rwl/rapid
c7c6592327e045f1828b351c498f6cb93b218a21
[ "BSD-3-Clause" ]
4
2021-10-30T02:18:21.000Z
2021-11-02T12:39:05.000Z
initialization/bustype.py
rwl/rapid
c7c6592327e045f1828b351c498f6cb93b218a21
[ "BSD-3-Clause" ]
null
null
null
initialization/bustype.py
rwl/rapid
c7c6592327e045f1828b351c498f6cb93b218a21
[ "BSD-3-Clause" ]
1
2021-10-30T02:18:24.000Z
2021-10-30T02:18:24.000Z
''' MATPOWER Copyright (c) 1996-2016 by Power System Engineering Research Center (PSERC) by Ray Zimmerman, PSERC Cornell This code follows part of MATPOWER. See http://www.pserc.cornell.edu/matpower/ for more info. Modified by Oak Ridge National Laboratory (Byungkwon Park) to be used in the parareal algorithm. ''' imp...
31.052632
107
0.650847
898014b2091b7e026bfe9dfaf15324a72ffbbf12
437
py
Python
blogapp/migrations/0006_auto_20210314_1244.py
NitinPSingh/blogprojlive
769685f22218d31b8eb2195d65d9c3c351e02772
[ "MIT" ]
1
2021-04-06T15:10:09.000Z
2021-04-06T15:10:09.000Z
blogapp/migrations/0006_auto_20210314_1244.py
NitinPSingh/blogprojlive
769685f22218d31b8eb2195d65d9c3c351e02772
[ "MIT" ]
null
null
null
blogapp/migrations/0006_auto_20210314_1244.py
NitinPSingh/blogprojlive
769685f22218d31b8eb2195d65d9c3c351e02772
[ "MIT" ]
null
null
null
# Generated by Django 3.1.5 on 2021-03-14 07:14 import ckeditor.fields from django.db import migrations
21.85
72
0.590389
89806ba532f974ea2b7559062fecb83230464dd3
10,431
py
Python
cheshire3/grid/srboo.py
cheshire3/cheshire3
306348831ec110229c78a7c5f0f2026a0f394d2c
[ "Python-2.0", "Unlicense" ]
3
2015-08-02T09:03:28.000Z
2017-12-06T09:26:14.000Z
cheshire3/grid/srboo.py
cheshire3/cheshire3
306348831ec110229c78a7c5f0f2026a0f394d2c
[ "Python-2.0", "Unlicense" ]
5
2015-08-17T01:16:35.000Z
2015-09-16T21:51:27.000Z
cheshire3/grid/srboo.py
cheshire3/cheshire3
306348831ec110229c78a7c5f0f2026a0f394d2c
[ "Python-2.0", "Unlicense" ]
6
2015-05-17T15:32:20.000Z
2020-04-22T08:43:16.000Z
"""Object Oriented wrapper to Python SRB Interface. Description: Object Oriented wrapper to Python SRB Interface Author: Rob Sanderson (azaroth@liv.ac.uk) Date: 2005-05-12 Version: 0.8 Copyright: (c) University of Liverpool Licence: GPL """ import srb import types import socket import atexit ...
28.735537
81
0.53178
89815f9fce2325c06f32e8ded32f06fbf3f4c405
2,599
py
Python
mllib/utility/logger.py
a4rcvv/mllib
7817abf4cebe6ab859be5927aef09fdaefc82a4d
[ "Unlicense" ]
null
null
null
mllib/utility/logger.py
a4rcvv/mllib
7817abf4cebe6ab859be5927aef09fdaefc82a4d
[ "Unlicense" ]
null
null
null
mllib/utility/logger.py
a4rcvv/mllib
7817abf4cebe6ab859be5927aef09fdaefc82a4d
[ "Unlicense" ]
null
null
null
import logging import os from slack_log_handler import SlackLogHandler STOP_LOG = 100 def make_root_logger(console_loglevel: int = logging.DEBUG, file_loglevel: int = STOP_LOG, slack_loglevel: int = STOP_LOG, log_file_path: str = None) -> logging.Logger: """Generate the root logger, includi...
32.4875
106
0.660639
898338757509f355846c2cf187edc5ea7c636b57
9,820
py
Python
test_one_image.py
zhouxiaoxu/pytorch-retinanet
72013ee0f46d2da08dd141f143a7a094477aa5e4
[ "Apache-2.0" ]
null
null
null
test_one_image.py
zhouxiaoxu/pytorch-retinanet
72013ee0f46d2da08dd141f143a7a094477aa5e4
[ "Apache-2.0" ]
null
null
null
test_one_image.py
zhouxiaoxu/pytorch-retinanet
72013ee0f46d2da08dd141f143a7a094477aa5e4
[ "Apache-2.0" ]
null
null
null
# coding: utf-8 import numpy as np import torchvision import time import os import copy import pdb import time import argparse from PIL import Image import sys import cv2 import torch from torch.utils.data import Dataset, DataLoader from torchvision import datasets, models, transforms from retinanet.dataloader impo...
36.236162
160
0.582383
89837c95dfd6f41782d792b3614567e32b3938f5
13,424
py
Python
prop/algorithms/dqn.py
abstractpaper/prop
f2ca127119ffbfb3f7d2855eff7e7473e0bb3a80
[ "MIT" ]
null
null
null
prop/algorithms/dqn.py
abstractpaper/prop
f2ca127119ffbfb3f7d2855eff7e7473e0bb3a80
[ "MIT" ]
null
null
null
prop/algorithms/dqn.py
abstractpaper/prop
f2ca127119ffbfb3f7d2855eff7e7473e0bb3a80
[ "MIT" ]
null
null
null
import torch import torch.optim as optim import torch.nn.functional as F import numpy as np import random import math import copy import time from collections import namedtuple from itertools import count, compress from tensorboardX import SummaryWriter from prop.buffers.priority_replay_buffer import PrioritizedReplay...
45.659864
143
0.617253
8983a9be22a3861d8eb7b176eda31942d58d222f
3,631
py
Python
plugins/lookup/kube.py
dlwhitehurst/rustic-beast
23fffb40b05f48fec5c6308f1ec36de48e387d40
[ "Apache-2.0" ]
48
2021-02-05T01:24:04.000Z
2022-02-03T02:40:32.000Z
plugins/lookup/kube.py
dlwhitehurst/rustic-beast
23fffb40b05f48fec5c6308f1ec36de48e387d40
[ "Apache-2.0" ]
48
2021-02-04T21:59:27.000Z
2022-01-18T15:54:57.000Z
plugins/lookup/kube.py
dlwhitehurst/rustic-beast
23fffb40b05f48fec5c6308f1ec36de48e387d40
[ "Apache-2.0" ]
18
2021-02-16T15:19:27.000Z
2022-01-18T17:26:17.000Z
# https://docs.ansible.com/ansible/latest/dev_guide/developing_plugins.html#lookup-plugins from __future__ import (absolute_import, division, print_function) __metaclass__ = type DOCUMENTATION = """ lookup: kube author: Jose Montoya <jmontoya@ms3-inc.com> version_added: "0.6.0" short_description: Looku...
38.221053
115
0.662352
8983e6cd68b9d8c7ccabefd09bef779c29996094
6,289
py
Python
cabot/cabotapp/tests/tests_jenkins.py
boringusername99/cabot
56cfed43c006e145931f46cb68e316fbaccf75cd
[ "MIT" ]
3,865
2015-01-01T11:37:14.000Z
2022-03-30T01:02:50.000Z
cabot/cabotapp/tests/tests_jenkins.py
boringusername99/cabot
56cfed43c006e145931f46cb68e316fbaccf75cd
[ "MIT" ]
550
2015-01-02T18:06:08.000Z
2021-11-04T23:39:47.000Z
cabot/cabotapp/tests/tests_jenkins.py
boringusername99/cabot
56cfed43c006e145931f46cb68e316fbaccf75cd
[ "MIT" ]
598
2015-01-22T12:17:53.000Z
2022-03-25T17:32:21.000Z
# -*- coding: utf-8 -*- import unittest from datetime import timedelta import jenkins from cabot.cabotapp import jenkins as cabot_jenkins from cabot.cabotapp.models import JenkinsConfig from cabot.cabotapp.models.jenkins_check_plugin import JenkinsStatusCheck from django.utils import timezone from freezegun import fr...
32.251282
84
0.582605
8983fdeeef769de4d9c254fb60b07b53f7a140f9
2,101
py
Python
Machine Learning A-Z/Part 2 - Regression/Section 4 - Simple Linear Regression/simple_linear_regression.py
AnubhavMadhav/Learn-Machine-Learning
233a59c4c5ad9c0467ed732de881b61cbec72360
[ "MIT" ]
1
2020-11-29T08:33:57.000Z
2020-11-29T08:33:57.000Z
Machine Learning A-Z/Part 2 - Regression/Section 4 - Simple Linear Regression/simple_linear_regression.py
AnubhavMadhav/Learn-Machine-Learning
233a59c4c5ad9c0467ed732de881b61cbec72360
[ "MIT" ]
null
null
null
Machine Learning A-Z/Part 2 - Regression/Section 4 - Simple Linear Regression/simple_linear_regression.py
AnubhavMadhav/Learn-Machine-Learning
233a59c4c5ad9c0467ed732de881b61cbec72360
[ "MIT" ]
null
null
null
# Simple Linear Regression Model # Data Preprocessing Template # Importing the libraries import numpy as np import matplotlib.pyplot as plt import pandas as pd # Importing the dataset dataset = pd.read_csv('Salary_Data.csv') X = dataset.iloc[:, :-1].values Y = dataset.iloc[:, 1].values # Splitting the Dataset into ...
36.859649
203
0.743931
89841453ed436b530631f15af4fe9a72ed553857
1,062
py
Python
onadata/apps/logger/migrations/0034_auto_20170814_0432.py
childhelpline/myhelpline
d72120ee31b6713cbaec79f299f5ee8bcb7ea429
[ "BSD-3-Clause" ]
1
2018-07-15T13:13:43.000Z
2018-07-15T13:13:43.000Z
onadata/apps/logger/migrations/0034_auto_20170814_0432.py
aondiaye/myhelpline
d72120ee31b6713cbaec79f299f5ee8bcb7ea429
[ "BSD-3-Clause" ]
14
2018-07-10T12:48:46.000Z
2022-03-11T23:24:51.000Z
onadata/apps/logger/migrations/0034_auto_20170814_0432.py
aondiaye/myhelpline
d72120ee31b6713cbaec79f299f5ee8bcb7ea429
[ "BSD-3-Clause" ]
5
2018-07-04T07:59:14.000Z
2020-01-28T07:50:18.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.1 on 2017-08-14 08:32 from __future__ import unicode_literals from django.db import migrations, models
26.55
60
0.545198
8984723b36e886451beb99246f287ee4f2ba6b7f
248
py
Python
your_health/urls.py
JakubWolak/blood_pressure_monitor
6ff4d6eeac29543c245b7f18568ead092063b778
[ "CC0-1.0" ]
null
null
null
your_health/urls.py
JakubWolak/blood_pressure_monitor
6ff4d6eeac29543c245b7f18568ead092063b778
[ "CC0-1.0" ]
8
2021-03-30T13:48:07.000Z
2022-03-12T00:41:54.000Z
your_health/urls.py
JakubWolak/blood_pressure_monitor
6ff4d6eeac29543c245b7f18568ead092063b778
[ "CC0-1.0" ]
null
null
null
from django.urls import path from . import views app_name = "your_health" urlpatterns = [ path("add_data", views.UserDataCreateView.as_view(), name="add_data"), path("edit_data", views.UserDataUpdateView.as_view(), name="edit_data"), ]
20.666667
76
0.721774
898849fe81b6ae5ad41948570e4b00db9cbfbae5
10,265
py
Python
src/bot.py
andlehma/Margery
1d3cb44684f663e42753f60f0a82321c3601b046
[ "MIT" ]
null
null
null
src/bot.py
andlehma/Margery
1d3cb44684f663e42753f60f0a82321c3601b046
[ "MIT" ]
null
null
null
src/bot.py
andlehma/Margery
1d3cb44684f663e42753f60f0a82321c3601b046
[ "MIT" ]
null
null
null
import math import time from rlbot.agents.base_agent import BaseAgent, SimpleControllerState from rlbot.utils.structures.game_data_struct import GameTickPacket from utils.vec3 import vec3 SIN45 = math.sin(0.785398) def normalize_location(location: vec3): """ take any location and normalize it to be within ...
35.642361
76
0.606624
89886a336e20fe2ed1bc7535f8a97dba9bde0006
3,969
py
Python
cross_val_splitter.py
SebastianQuispeNaola/PruebaDeConcepto
52da536c834955750711ab1f132801f47cd3e7be
[ "MIT" ]
null
null
null
cross_val_splitter.py
SebastianQuispeNaola/PruebaDeConcepto
52da536c834955750711ab1f132801f47cd3e7be
[ "MIT" ]
null
null
null
cross_val_splitter.py
SebastianQuispeNaola/PruebaDeConcepto
52da536c834955750711ab1f132801f47cd3e7be
[ "MIT" ]
null
null
null
import os import argparse import numpy as np import shutil
44.1
108
0.525573
8988936e2c4a16ed8dc2c0ae76734b697c4c8441
686
py
Python
app/core/migrations/0001_initial.py
danish21752/audio_apis
932a74c51e67394b1c3cba0bcd22a636ea11aeb1
[ "MIT" ]
null
null
null
app/core/migrations/0001_initial.py
danish21752/audio_apis
932a74c51e67394b1c3cba0bcd22a636ea11aeb1
[ "MIT" ]
null
null
null
app/core/migrations/0001_initial.py
danish21752/audio_apis
932a74c51e67394b1c3cba0bcd22a636ea11aeb1
[ "MIT" ]
null
null
null
# Generated by Django 2.1.15 on 2021-04-14 18:29 import core.services from django.db import migrations, models
27.44
156
0.606414
8988f618f6884ba9859e27e0406209aa497f8589
7,697
py
Python
ldt/utils/usaf/bcsd_preproc/lib_bcsd_metrics/bias_correction_nmme_modulefast.py
andrewsoong/LISF
20e3b00a72b6b348c567d0703550f290881679b4
[ "Apache-2.0" ]
67
2018-11-13T21:40:54.000Z
2022-02-23T08:11:56.000Z
ldt/utils/usaf/bcsd_preproc/lib_bcsd_metrics/bias_correction_nmme_modulefast.py
andrewsoong/LISF
20e3b00a72b6b348c567d0703550f290881679b4
[ "Apache-2.0" ]
679
2018-11-13T20:10:29.000Z
2022-03-30T19:55:25.000Z
ldt/utils/usaf/bcsd_preproc/lib_bcsd_metrics/bias_correction_nmme_modulefast.py
andrewsoong/LISF
20e3b00a72b6b348c567d0703550f290881679b4
[ "Apache-2.0" ]
119
2018-11-08T15:53:35.000Z
2022-03-28T10:16:01.000Z
#!/usr/bin/env python """ # Author: Shrad Shukla # coding: utf-8 #Author: Shrad Shukla #Usage: This is a module for the BCSD code. #This module bias corrects a forecasts following #probability mapping approach as described in Wood et al. 2002 #Date: August 06, 2015 # In[28]: """ from __future__ import division #import...
36.306604
95
0.701832
8989902473136427aab6e0c005da613605c34629
10,472
py
Python
tests/test_siginfo.py
anergictcell/siginfo
d3c2690574c12ba62cc8cd8867c4ec79004dc4bf
[ "MIT" ]
null
null
null
tests/test_siginfo.py
anergictcell/siginfo
d3c2690574c12ba62cc8cd8867c4ec79004dc4bf
[ "MIT" ]
null
null
null
tests/test_siginfo.py
anergictcell/siginfo
d3c2690574c12ba62cc8cd8867c4ec79004dc4bf
[ "MIT" ]
null
null
null
import unittest from siginfo import siginfoclass as si import sys OLD_OUT = sys.stdout if __name__ == '__main__': unittest.main()
30.005731
83
0.592628
89899204c69d8a7489b0f58b06bb9c244ae7764a
3,775
py
Python
Code/classification_acc.py
prasys/textanalyzer
fd14454d073c8571ddaa40f6ac668842e8aef726
[ "MIT" ]
null
null
null
Code/classification_acc.py
prasys/textanalyzer
fd14454d073c8571ddaa40f6ac668842e8aef726
[ "MIT" ]
null
null
null
Code/classification_acc.py
prasys/textanalyzer
fd14454d073c8571ddaa40f6ac668842e8aef726
[ "MIT" ]
null
null
null
import sys from ast import literal_eval import nltk #below function requires a run flag (runf) (1-4) for the four folds, and tf is flag for feature combination (1-17) #getr(1,1) #getr(sys.argv[0],sys.argv[1])
29.960317
125
0.527682
898a588ad7df97ad04629bf1e3d9464b0c069554
4,678
py
Python
recorded_failures/aoc2020/day_11_seating_system/invalid_state_change_caught_by_contracts.py
mristin/python-by-contract-corpus
c96ed00389c3811d7d63560ac665d410a7ee8493
[ "MIT" ]
8
2021-05-07T17:37:37.000Z
2022-02-26T15:08:42.000Z
recorded_failures/aoc2020/day_11_seating_system/invalid_state_change_caught_by_contracts.py
mristin/python-by-contract-corpus
c96ed00389c3811d7d63560ac665d410a7ee8493
[ "MIT" ]
22
2021-04-28T21:55:48.000Z
2022-03-04T07:41:37.000Z
recorded_failures/aoc2020/day_11_seating_system/invalid_state_change_caught_by_contracts.py
mristin/aocdbc
c96ed00389c3811d7d63560ac665d410a7ee8493
[ "MIT" ]
3
2021-03-26T22:29:12.000Z
2021-04-11T20:45:45.000Z
import dataclasses import enum import re from typing import Tuple, Mapping, List, Optional, Set, Iterable from icontract import require, ensure # crosshair: on def repr_layout(layout: List[List[str]]) -> str: return "\n".join("".join(row) for row in layout)
30.180645
88
0.579521
898c2fa200064dde9d5f9f7743769291f662c8c6
30,086
py
Python
plugin/CustomerSupportArchive/Lane_Diagnostics/tools/debug_reader.py
iontorrent/TS
7591590843c967435ee093a3ffe9a2c6dea45ed8
[ "Apache-2.0" ]
125
2015-01-22T05:43:23.000Z
2022-03-22T17:15:59.000Z
plugin/CustomerSupportArchive/NucStepSpatialV2/tools/debug_reader.py
iontorrent/TS
7591590843c967435ee093a3ffe9a2c6dea45ed8
[ "Apache-2.0" ]
59
2015-02-10T09:13:06.000Z
2021-11-11T02:32:38.000Z
plugin/CustomerSupportArchive/autoCal/tools/debug_reader.py
iontorrent/TS
7591590843c967435ee093a3ffe9a2c6dea45ed8
[ "Apache-2.0" ]
98
2015-01-17T01:25:10.000Z
2022-03-18T17:29:42.000Z
import datetime, re, subprocess import numpy as np import matplotlib import matplotlib.pyplot as plt TODAY = datetime.datetime.today() WF_REGEX = re.compile( r""".*working directory: (?P<wd>[\w/.]+), workflowVersion: (?P<version>[\w/.=\s\-]+)""" ) GIT_RE = re.compile( r"""git branch\s+=\s+(?P<branch>[\w\...
46.286154
210
0.533039
898c3e48331e030f060a5395594833520b8e7dfc
15,973
py
Python
challtools/cli.py
mateuszdrwal/challtools
62ebd7e10762131eb6024da77fad050de653d9dc
[ "MIT" ]
3
2021-01-17T16:16:10.000Z
2022-02-23T21:40:51.000Z
challtools/cli.py
mateuszdrwal/challtools
62ebd7e10762131eb6024da77fad050de653d9dc
[ "MIT" ]
null
null
null
challtools/cli.py
mateuszdrwal/challtools
62ebd7e10762131eb6024da77fad050de653d9dc
[ "MIT" ]
null
null
null
import sys import time import argparse import os import uuid import hashlib from pathlib import Path import requests import yaml from google.cloud import storage from .validator import ConfigValidator from .utils import ( process_messages, load_ctf_config, load_config_or_exit, get_ctf_config_path, ...
31.381139
169
0.61942
898eda22192d326a096fa0229a432d881d990666
861
py
Python
src/main.py
TaylorCoons/fiscus
a5f705d66f0d545e75e8b7ffc11ac3bd7a3d2577
[ "MIT" ]
null
null
null
src/main.py
TaylorCoons/fiscus
a5f705d66f0d545e75e8b7ffc11ac3bd7a3d2577
[ "MIT" ]
null
null
null
src/main.py
TaylorCoons/fiscus
a5f705d66f0d545e75e8b7ffc11ac3bd7a3d2577
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 ''' Script to check for price movements of desired stocks and sent a price notification ''' import argparse def main(): '''Main entrypoint for the script''' parser = argparse.ArgumentParser( description='Check stocks for price movements', epilog='example usage: ./main.p...
23.916667
83
0.602787
898f6e51ff46c19a7cf1ada1c6928da2e1ca42db
1,375
py
Python
scaaml/capture/crypto_input.py
kralka/scaaml
f47e028dad6bc74eb480cbfae83724c1057caf39
[ "Apache-2.0" ]
null
null
null
scaaml/capture/crypto_input.py
kralka/scaaml
f47e028dad6bc74eb480cbfae83724c1057caf39
[ "Apache-2.0" ]
null
null
null
scaaml/capture/crypto_input.py
kralka/scaaml
f47e028dad6bc74eb480cbfae83724c1057caf39
[ "Apache-2.0" ]
null
null
null
# Copyright 2022 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, ...
34.375
79
0.714909
8992b5f93842836b9d76a43b1ddc1b921a49a818
3,977
py
Python
assignment2.py
tommasodeangeli97/assignment1
c65915b65f3fbff602127dfbb30a436e75dc3314
[ "MIT" ]
null
null
null
assignment2.py
tommasodeangeli97/assignment1
c65915b65f3fbff602127dfbb30a436e75dc3314
[ "MIT" ]
null
null
null
assignment2.py
tommasodeangeli97/assignment1
c65915b65f3fbff602127dfbb30a436e75dc3314
[ "MIT" ]
null
null
null
from __future__ import print_function import time from sr.robot import * a_th = 2.0 """ float: Threshold for the control of the orientation""" d_th = 0.4 """ float: Threshold for the control of the linear distance""" d_min = 1.0 """ float: Threshold for the minimum distance from the golden token""" angl2 = 0.0 """F...
23.25731
105
0.499371
899312eeaa648d3cf1dc32eea72213d9bebf6345
4,587
py
Python
bin/pcnaDeep/evaluate.py
Jeff-Gui/PCNAdeep
ed4effc07e330155905b73064435d444ac857c1d
[ "Apache-2.0" ]
null
null
null
bin/pcnaDeep/evaluate.py
Jeff-Gui/PCNAdeep
ed4effc07e330155905b73064435d444ac857c1d
[ "Apache-2.0" ]
null
null
null
bin/pcnaDeep/evaluate.py
Jeff-Gui/PCNAdeep
ed4effc07e330155905b73064435d444ac857c1d
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- import os import subprocess from pcnaDeep.data.annotate import relabel_trackID, label_by_track, get_lineage_txt, break_track, save_seq
41.324324
130
0.572051
8993a61ba9d5f7f78947b3558ba1b503cf322e2a
3,065
py
Python
wampnado/transports/tcp/__init__.py
rexlunae/tornwamp
881538c6ae7909e06a15a838a0d84ebb94a2aed2
[ "Apache-2.0" ]
null
null
null
wampnado/transports/tcp/__init__.py
rexlunae/tornwamp
881538c6ae7909e06a15a838a0d84ebb94a2aed2
[ "Apache-2.0" ]
null
null
null
wampnado/transports/tcp/__init__.py
rexlunae/tornwamp
881538c6ae7909e06a15a838a0d84ebb94a2aed2
[ "Apache-2.0" ]
null
null
null
""" Methods common to all TCP transports. """ from enum import Enum from warnings import warn from datetime import datetime from wampnado.serializer import JSON_PROTOCOL, BINARY_PROTOCOL, NONE_PROTOCOL from wampnado.messages import Message
29.471154
167
0.614356
89949a0d7e5905c915a24c9c907a6109e2e0c7e4
2,008
py
Python
kvcd/config.py
lrivallain/kvcd
625f4d4d944015d25f092269ad197afaf5eeeae9
[ "MIT" ]
2
2021-08-24T09:42:27.000Z
2021-08-24T10:02:02.000Z
kvcd/config.py
lrivallain/kvcd
625f4d4d944015d25f092269ad197afaf5eeeae9
[ "MIT" ]
6
2021-08-06T13:24:06.000Z
2021-11-24T16:12:55.000Z
kvcd/config.py
lrivallain/kvcd
625f4d4d944015d25f092269ad197afaf5eeeae9
[ "MIT" ]
null
null
null
"""This Submodules contains the definition of the expected configuration to setup to use kvcd. The main configuration is handled by `environ-config` module. """ import environ import logging from kvcd import _available_modules logger = logging.getLogger(__name__)
31.873016
87
0.624502
8995bddb98552d642fc694543bcd58329e9a0cf7
3,078
py
Python
fixture/orm.py
DmitriyYa/python_training
e8cbb729eaf59ae19ce97c67532a5e0154ca5ca3
[ "Apache-2.0" ]
null
null
null
fixture/orm.py
DmitriyYa/python_training
e8cbb729eaf59ae19ce97c67532a5e0154ca5ca3
[ "Apache-2.0" ]
null
null
null
fixture/orm.py
DmitriyYa/python_training
e8cbb729eaf59ae19ce97c67532a5e0154ca5ca3
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- from pony.orm import * from datetime import datetime from model.group import Group from model.myuser import MyUser from pymysql.converters import decoders
43.352113
204
0.673164
89974218a6dc419bd7f56f7782b26f754696ba88
1,316
py
Python
python/fastKnapSackSearchTree.py
SaadAhmad123/myCodeRepo
e63632a3851eb8cfb8a7a65002b65e86321d69ed
[ "Apache-2.0" ]
null
null
null
python/fastKnapSackSearchTree.py
SaadAhmad123/myCodeRepo
e63632a3851eb8cfb8a7a65002b65e86321d69ed
[ "Apache-2.0" ]
null
null
null
python/fastKnapSackSearchTree.py
SaadAhmad123/myCodeRepo
e63632a3851eb8cfb8a7a65002b65e86321d69ed
[ "Apache-2.0" ]
null
null
null
''' This function implements the memoization approach in the searchTree algorithm in knapSackSearchTree.py To use the implementation below the list should be a list of objects with following functions. - getValue() -----> this function will be maximized for all the elements in the ...
36.555556
105
0.617021
8998590cb40538f31155d83c4fe0126a9ca17c93
574
py
Python
src/haarcascade/static.py
rafaelscariot/face-detection
cd7e82a0133daac605d6d1384560439829fb002d
[ "MIT" ]
null
null
null
src/haarcascade/static.py
rafaelscariot/face-detection
cd7e82a0133daac605d6d1384560439829fb002d
[ "MIT" ]
1
2021-11-08T12:15:29.000Z
2021-11-08T12:15:29.000Z
src/haarcascade/static.py
rafaelscariot/facial-detection
cd7e82a0133daac605d6d1384560439829fb002d
[ "MIT" ]
null
null
null
import cv2 image_path = '../../images/person.jpg' cascade_path = '../../resources/haarcascade_frontalface_default.xml' if __name__ == '__main__': main().run()
27.333333
97
0.620209
89987bdf2033d7fc645b19e40cfe6505bcc8f8f5
9,714
py
Python
src/benchmark/plot_benchmark.py
robertu94/ndzip
5b3c34991005c0924a339f2ec06750729ebbf015
[ "MIT" ]
21
2021-03-04T11:45:37.000Z
2022-02-24T03:38:41.000Z
src/benchmark/plot_benchmark.py
robertu94/ndzip
5b3c34991005c0924a339f2ec06750729ebbf015
[ "MIT" ]
5
2022-01-19T08:05:26.000Z
2022-03-05T16:01:53.000Z
src/benchmark/plot_benchmark.py
robertu94/ndzip
5b3c34991005c0924a339f2ec06750729ebbf015
[ "MIT" ]
5
2021-06-07T07:12:49.000Z
2022-03-02T13:46:03.000Z
#!/usr/bin/env python3 # pipe input from benchmark binary into this script to plot throughput vs. compression ratio import csv import sys from collections import defaultdict from operator import itemgetter from argparse import ArgumentParser from math import floor, ceil, log10 import numpy as np import scipy.stats a...
43.954751
120
0.607268
89993688fedbe2f0628f63817147515cb76bd3bd
165
py
Python
rick_db/__init__.py
oddbit-project/rick_db
02910c071f3ad58fdd88b2a27bfdd2bc61497d42
[ "MIT" ]
null
null
null
rick_db/__init__.py
oddbit-project/rick_db
02910c071f3ad58fdd88b2a27bfdd2bc61497d42
[ "MIT" ]
null
null
null
rick_db/__init__.py
oddbit-project/rick_db
02910c071f3ad58fdd88b2a27bfdd2bc61497d42
[ "MIT" ]
null
null
null
from .version import get_version from .mapper import Record, fieldmapper, RecordError from .repository import Repository, RepositoryError from .dbgrid import DbGrid
33
52
0.842424
89998d70c706b83396aaecba89ebc188e6a073e0
1,558
py
Python
27_remove_elements/remove_elements.py
daniel-hocking/leetcode
62f881642f3e6ccdeef48f03e5f3f0c2aa7bad9c
[ "MIT" ]
null
null
null
27_remove_elements/remove_elements.py
daniel-hocking/leetcode
62f881642f3e6ccdeef48f03e5f3f0c2aa7bad9c
[ "MIT" ]
null
null
null
27_remove_elements/remove_elements.py
daniel-hocking/leetcode
62f881642f3e6ccdeef48f03e5f3f0c2aa7bad9c
[ "MIT" ]
null
null
null
''' Description: Given an array nums and a value val, remove all instances of that value in-place and return the new length. Do not allocate extra space for another array, you must do this by modifying the input array in-place with O(1) extra memory. eg. Input: [3,2,2,3], val = 3 Output: 2 and array = [2, 2] Written b...
27.333333
73
0.558408
899a16141300dc61abb244c3174df70a20cf5c7a
3,885
py
Python
rostran/core/parameters.py
aliyun/alibabacloud-ros-tool-transformer
f30b2cf3a7855e7d59a6657f32ee02a5c0c0109c
[ "Apache-2.0" ]
9
2020-06-11T11:50:29.000Z
2022-03-25T13:16:07.000Z
rostran/core/parameters.py
aliyun/alibabacloud-ros-tool-transformer
f30b2cf3a7855e7d59a6657f32ee02a5c0c0109c
[ "Apache-2.0" ]
7
2020-09-09T12:50:52.000Z
2021-09-10T02:33:58.000Z
rostran/core/parameters.py
aliyun/alibabacloud-ros-tool-transformer
f30b2cf3a7855e7d59a6657f32ee02a5c0c0109c
[ "Apache-2.0" ]
4
2020-06-16T07:07:23.000Z
2022-02-07T19:37:16.000Z
import re from openpyxl.cell.cell import Cell from .exceptions import InvalidTemplateParameter from .utils import get_and_validate_cell
38.465347
110
0.607465
899b6653b64c0d95ab249abc168b2a37a76ba7d3
3,730
py
Python
src/notification/notification.py
FrancoisChastel/DD2480_Software-Engineering_CI
26424af8a349cc0abdc9a256bf91b161d989c702
[ "BSD-2-Clause" ]
1
2018-02-04T22:02:01.000Z
2018-02-04T22:02:01.000Z
src/notification/notification.py
FrancoisChastel/DD2480_Software-Engineering_CI
26424af8a349cc0abdc9a256bf91b161d989c702
[ "BSD-2-Clause" ]
4
2018-02-04T13:43:40.000Z
2018-02-07T00:25:33.000Z
src/notification/notification.py
FrancoisChastel/DD2480_Software-Engineering_CI
26424af8a349cc0abdc9a256bf91b161d989c702
[ "BSD-2-Clause" ]
null
null
null
import email.message as e import smtplib # !/usr/bin/env python # -*- coding: utf-8 -*- import configs import communication def send_notifications(result): """ Function that will send by e-mail a notification of the state of the testing and compiling process :param result: communication-object (see commu...
42.873563
114
0.555764
899c2dd325cf4c564e8808ea1ba5f680b670182e
428
py
Python
Lib/site-packages/spyder/plugins/maininterpreter/__init__.py
hirorin-demon/hirorin-streamlit
03fbb6f03ec94f909d451e708a3b30b177607695
[ "0BSD" ]
1
2021-06-20T14:52:40.000Z
2021-06-20T14:52:40.000Z
spyder/plugins/maininterpreter/__init__.py
Pancakerr/spyder
34a9878bba97f427fbdd7b4a6d77ac0651327565
[ "MIT" ]
1
2021-04-30T21:16:55.000Z
2021-04-30T21:16:55.000Z
spyder/plugins/maininterpreter/__init__.py
Pancakerr/spyder
34a9878bba97f427fbdd7b4a6d77ac0651327565
[ "MIT" ]
1
2020-06-14T07:03:50.000Z
2020-06-14T07:03:50.000Z
# -*- coding: utf-8 -*- # # Copyright Spyder Project Contributors # Licensed under the terms of the MIT License # (see spyder/__init__.py for details) """ spyder.plugins.maininterpreter ============================== Main interpreter Plugin. """ from spyder.plugins.maininterpreter.plugin import MainInterpreter # T...
23.777778
74
0.714953
899c649ad362d748354372855604277acccc2bd6
8,909
py
Python
dataset.py
xuweigogogo/DSACA
7b7de22bd770c3cc2856fcb6dc58ff07cd2a3571
[ "MIT" ]
8
2021-04-12T08:54:48.000Z
2022-03-14T06:27:12.000Z
dataset.py
xuweigogogo/DSACA
7b7de22bd770c3cc2856fcb6dc58ff07cd2a3571
[ "MIT" ]
null
null
null
dataset.py
xuweigogogo/DSACA
7b7de22bd770c3cc2856fcb6dc58ff07cd2a3571
[ "MIT" ]
null
null
null
import torch from torch.utils.data import Dataset import os from image import * import random import time import torch from config import args from torchvision import datasets, transforms import numpy as np from PIL import Image, ImageEnhance import numbers from torch.multiprocessing import Pool, Process,...
37.590717
134
0.547536
899c6a5e5c9be0abc578e848dc68228baf0cd293
482
py
Python
rescvae/__init__.py
myinxd/rescvae
3f8025e2924b8bb643d6c2b4925b8d78f5d6dd07
[ "MIT" ]
1
2018-11-27T13:15:02.000Z
2018-11-27T13:15:02.000Z
rescvae/__init__.py
myinxd/rescvae
3f8025e2924b8bb643d6c2b4925b8d78f5d6dd07
[ "MIT" ]
null
null
null
rescvae/__init__.py
myinxd/rescvae
3f8025e2924b8bb643d6c2b4925b8d78f5d6dd07
[ "MIT" ]
1
2021-03-24T02:50:26.000Z
2021-03-24T02:50:26.000Z
# Copyright (C) 2018 Zhixian MA <zx@mazhixian.me> # MIT liscence # Argument for setup() __pkgname__ = "rescvae" __version__ = "0.1.0" __author__ = "Zhixian MA" __author_email__ = "zx@mazhixian.me" __license__ = "MIT" __keywords__ = "ResCVAE: residual conditional variational autoencoder" __copyright__ = "Copyright (C) ...
34.428571
98
0.76556
899d4a64b2918938934e81a5ab447dceadb839ae
306
py
Python
config.py
abhinayy0/DQRCG
141b3963577ba780a887345e17224f841122cfb1
[ "MIT" ]
2
2022-01-31T05:04:42.000Z
2022-02-01T17:08:09.000Z
config.py
red-elka/DQRCG
4a8fd9e11bbc3775fc532999f0100a5ff2c42d6c
[ "MIT" ]
7
2022-01-29T22:38:31.000Z
2022-02-06T17:29:43.000Z
config.py
red-elka/DQRCG
4a8fd9e11bbc3775fc532999f0100a5ff2c42d6c
[ "MIT" ]
1
2022-01-30T00:35:20.000Z
2022-01-30T00:35:20.000Z
import os basedir = os.path.abspath(os.path.dirname(__file__))
30.6
57
0.699346
899e83412ff2fa1525c82aac7177cf47f340579c
295
py
Python
deepr/config/__init__.py
Mbompr/deepr
1fb28e15aeeac6ef2d8e5b678feb380f2b1951f2
[ "Apache-2.0" ]
null
null
null
deepr/config/__init__.py
Mbompr/deepr
1fb28e15aeeac6ef2d8e5b678feb380f2b1951f2
[ "Apache-2.0" ]
null
null
null
deepr/config/__init__.py
Mbompr/deepr
1fb28e15aeeac6ef2d8e5b678feb380f2b1951f2
[ "Apache-2.0" ]
null
null
null
# pylint: disable=unused-import,missing-docstring from deepr.config.base import parse_config, from_config from deepr.config.macros import ismacro, fill_macros, find_macro_params, assert_no_macros from deepr.config.references import isreference, fill_references import deepr.config.experimental
42.142857
89
0.857627
89a15ae5b3476a944decb384c8b33df59fc5d498
880
py
Python
src/Utilities/iterateIdealHInst.cc.py
jmikeowen/Spheral
3e1082a7aefd6b328bd3ae24ca1a477108cfc3c4
[ "BSD-Source-Code", "BSD-3-Clause-LBNL", "FSFAP" ]
22
2018-07-31T21:38:22.000Z
2020-06-29T08:58:33.000Z
src/Utilities/iterateIdealHInst.cc.py
jmikeowen/Spheral
3e1082a7aefd6b328bd3ae24ca1a477108cfc3c4
[ "BSD-Source-Code", "BSD-3-Clause-LBNL", "FSFAP" ]
41
2020-09-28T23:14:27.000Z
2022-03-28T17:01:33.000Z
src/Utilities/iterateIdealHInst.cc.py
jmikeowen/Spheral
3e1082a7aefd6b328bd3ae24ca1a477108cfc3c4
[ "BSD-Source-Code", "BSD-3-Clause-LBNL", "FSFAP" ]
7
2019-12-01T07:00:06.000Z
2020-09-15T21:12:39.000Z
text = """ //------------------------------------------------------------------------------ // Explicit instantiation. //------------------------------------------------------------------------------ #include "Utilities/iterateIdealH.cc" #include "Geometry/Dimension.hh" namespace Spheral { template void iterateIdeal...
44
83
0.314773
89a1bfc4acc2d83b6cc53fb4e7cfbb3bdd5c6936
7,407
py
Python
Benchmark_2/Speaker.py
MarkFzp/ToM-Pragmatics
3de1956c36ea40f29a41e4c153c4b8cdc73afc15
[ "MIT" ]
null
null
null
Benchmark_2/Speaker.py
MarkFzp/ToM-Pragmatics
3de1956c36ea40f29a41e4c153c4b8cdc73afc15
[ "MIT" ]
null
null
null
Benchmark_2/Speaker.py
MarkFzp/ToM-Pragmatics
3de1956c36ea40f29a41e4c153c4b8cdc73afc15
[ "MIT" ]
null
null
null
import tensorflow as tf from VisualEncoder import ConvAsFcEncoder # from vgg16 import vgg16 import numpy as np class Informed_Speaker: # @property # def reg_loss(self): # return self.regularization_ def __init__(self, encode_type, input_len, dense_len, num_distract, num_filter, vo...
64.408696
225
0.663697
89a27cde42ba1214ef5e6dbdbf06c3bb09fd9643
263
py
Python
scripts/src/report_parsers/base_parser.py
APotyomkin/awesome-bugs
3b28c6acf91cc70db8f38ee01b5f502416011db5
[ "MIT" ]
1
2022-01-08T08:55:56.000Z
2022-01-08T08:55:56.000Z
scripts/src/report_parsers/base_parser.py
APotyomkin/awesome-bugs
3b28c6acf91cc70db8f38ee01b5f502416011db5
[ "MIT" ]
17
2021-11-29T17:33:43.000Z
2022-03-21T15:44:56.000Z
scripts/src/report_parsers/base_parser.py
APotyomkin/awesome-bugs
3b28c6acf91cc70db8f38ee01b5f502416011db5
[ "MIT" ]
10
2021-11-21T21:21:18.000Z
2022-02-13T18:27:03.000Z
from abc import abstractmethod from scripts.src.analyze_reports import AnalyzerReport
20.230769
54
0.741445
89a363fe1159744b8b9978656efa4f210d11eee9
1,704
py
Python
CaptchaBreaker_cmd/CaptchaBreaker.py
alstjgg/captcha_image_preprocess
5ecbf8eab3ce65e0a92c5e0ff10c51fd0de26cb5
[ "MIT" ]
2
2019-12-06T14:19:09.000Z
2021-12-10T07:47:27.000Z
CaptchaBreaker_cmd/CaptchaBreaker.py
alstjgg/captcha_image_preprocess
5ecbf8eab3ce65e0a92c5e0ff10c51fd0de26cb5
[ "MIT" ]
5
2021-03-18T21:59:16.000Z
2022-03-11T23:38:47.000Z
CaptchaBreaker_cmd/CaptchaBreaker.py
alstjgg/captcha_image_preprocess
5ecbf8eab3ce65e0a92c5e0ff10c51fd0de26cb5
[ "MIT" ]
1
2020-11-24T16:05:37.000Z
2020-11-24T16:05:37.000Z
from load import get_image from Preprocessing import bw import process_manage import testProcess import argparse # help descriptions option_help = 'Choose operation' \ '\n1. Preprocess image' \ '\n2. Show success rate for dataset' \ '\n3. Test binarisation' \ '...
33.411765
79
0.603286
89a50781df307585317def9fc6141f6123c76bac
872
py
Python
generate_index.py
AnonyKagamine/MessengerDataIndex
2059ac7a82e2b2549a1c6ccf11c06f35851a9853
[ "MIT" ]
null
null
null
generate_index.py
AnonyKagamine/MessengerDataIndex
2059ac7a82e2b2549a1c6ccf11c06f35851a9853
[ "MIT" ]
null
null
null
generate_index.py
AnonyKagamine/MessengerDataIndex
2059ac7a82e2b2549a1c6ccf11c06f35851a9853
[ "MIT" ]
null
null
null
#!/usr/bin/python3 import sys import json from urllib.request import urljoin GH_PAGES_PREFIX = "https://anonykagamine.github.io" OUTPUT_FILENAME = "index.json" if __name__ == '__main__': main()
31.142857
70
0.619266