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
1c01520b2864cd9a92e81b37cca59f5c41b908e7
44
py
Python
__init__.py
minjunli/jsonc
a61b72e92729f9177d8d8685deae744244d6be16
[ "MIT" ]
2
2020-08-30T08:02:10.000Z
2020-09-06T05:33:55.000Z
__init__.py
minjunli/jsonc
a61b72e92729f9177d8d8685deae744244d6be16
[ "MIT" ]
null
null
null
__init__.py
minjunli/jsonc
a61b72e92729f9177d8d8685deae744244d6be16
[ "MIT" ]
null
null
null
from .jsonc import load, loads, dump, dumps
22
43
0.75
1c0188f969e63d35026803dbf920b5a12f7d75cf
12,648
py
Python
specs/d3d9caps.py
prahal/apitrace
e9426dd61586757d23d7dddc85b3076f477e7f07
[ "MIT" ]
1
2020-06-19T12:34:44.000Z
2020-06-19T12:34:44.000Z
specs/d3d9caps.py
prahal/apitrace
e9426dd61586757d23d7dddc85b3076f477e7f07
[ "MIT" ]
null
null
null
specs/d3d9caps.py
prahal/apitrace
e9426dd61586757d23d7dddc85b3076f477e7f07
[ "MIT" ]
null
null
null
########################################################################## # # Copyright 2008-2009 VMware, Inc. # All Rights Reserved. # # 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 withou...
29.971564
79
0.716872
1c020c67e87e2c7154ebd489b70107987ace54ea
23
py
Python
miika_nlu/venv/Lib/site-packages/tqdm/_dist_ver.py
NimBuzz01/Project-Miika_SDGP
08ad1aafafbe9f47c59bd1568b8ac367fefe5503
[ "MIT" ]
null
null
null
miika_nlu/venv/Lib/site-packages/tqdm/_dist_ver.py
NimBuzz01/Project-Miika_SDGP
08ad1aafafbe9f47c59bd1568b8ac367fefe5503
[ "MIT" ]
null
null
null
miika_nlu/venv/Lib/site-packages/tqdm/_dist_ver.py
NimBuzz01/Project-Miika_SDGP
08ad1aafafbe9f47c59bd1568b8ac367fefe5503
[ "MIT" ]
null
null
null
__version__ = '4.64.0'
11.5
22
0.652174
1c026bf515ed2ee75cb046511de891145466adbe
10,188
py
Python
gym_flock/envs/old/mapping.py
katetolstaya/gym-flock
3236d1dafcb1b9be0cf78b471672e8becb2d37af
[ "MIT" ]
19
2019-07-29T22:19:58.000Z
2022-01-27T04:38:38.000Z
gym_flock/envs/old/mapping.py
henghenghahei849/gym-flock
b09bdfbbe4a96fe052958d1f9e1e9dd314f58419
[ "MIT" ]
null
null
null
gym_flock/envs/old/mapping.py
henghenghahei849/gym-flock
b09bdfbbe4a96fe052958d1f9e1e9dd314f58419
[ "MIT" ]
5
2019-10-03T14:44:49.000Z
2021-12-09T20:39:39.000Z
import gym from gym import spaces, error, utils from gym.utils import seeding import numpy as np import configparser from os import path import matplotlib.pyplot as plt from matplotlib.pyplot import gca font = {'family': 'sans-serif', 'weight': 'bold', 'size': 14}
38.014925
120
0.565077
1c0280c3ce6e60aeea9f1bd9542b3a69e75d70e4
10,478
py
Python
tensorflow/python/kernel_tests/lu_op_test.py
PaulWang1905/tensorflow
ebf12d22b4801fb8dab5034cc94562bf7cc33fa0
[ "Apache-2.0" ]
36
2016-12-17T15:25:25.000Z
2022-01-29T21:50:53.000Z
tensorflow/python/kernel_tests/lu_op_test.py
PaulWang1905/tensorflow
ebf12d22b4801fb8dab5034cc94562bf7cc33fa0
[ "Apache-2.0" ]
59
2019-06-17T09:37:49.000Z
2022-01-19T01:21:34.000Z
tensorflow/python/kernel_tests/lu_op_test.py
PaulWang1905/tensorflow
ebf12d22b4801fb8dab5034cc94562bf7cc33fa0
[ "Apache-2.0" ]
36
2017-07-27T21:12:40.000Z
2022-02-03T16:45:56.000Z
# Copyright 2018 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
36.894366
80
0.644589
1c02cc341eda998a41a468c758008bb1da86efcd
10,970
py
Python
aligner/features/processing.py
zhouyangnk/Montreal-Forced-Aligner
4f8733409e79a50744616921a04fccf115e8af6f
[ "MIT" ]
1
2021-03-09T03:15:14.000Z
2021-03-09T03:15:14.000Z
aligner/features/processing.py
missaaoo/Montreal-Forced-Aligner
62a40e2337448752a4b8fc7a4ec9cbf3f159fbff
[ "MIT" ]
null
null
null
aligner/features/processing.py
missaaoo/Montreal-Forced-Aligner
62a40e2337448752a4b8fc7a4ec9cbf3f159fbff
[ "MIT" ]
1
2021-03-09T03:15:17.000Z
2021-03-09T03:15:17.000Z
import multiprocessing as mp import subprocess import shutil import os from ..helper import make_path_safe, thirdparty_binary, filter_scp from ..exceptions import CorpusError def mfcc(mfcc_directory, num_jobs, feature_config, frequency_configs): """ Multiprocessing function that converts wav files into MFCC...
52.740385
142
0.51887
1c03e5b1937b24240e10a556ec3658ca89e78e05
19,640
py
Python
ffai/util/bothelper.py
tysen2k/ffai
2fa1fd45a8877986fdb21e3fea5e01cbf819d3ec
[ "Apache-2.0" ]
null
null
null
ffai/util/bothelper.py
tysen2k/ffai
2fa1fd45a8877986fdb21e3fea5e01cbf819d3ec
[ "Apache-2.0" ]
null
null
null
ffai/util/bothelper.py
tysen2k/ffai
2fa1fd45a8877986fdb21e3fea5e01cbf819d3ec
[ "Apache-2.0" ]
null
null
null
""" A number of static methods for interpretting the state of the fantasy football pitch that aren't required directly by the client """ from ffai.core import Game, Action, ActionType from ffai.core.procedure import * from ffai.util.pathfinding import * from typing import Optional, List, Dict def blitz_used(game: G...
39.676768
253
0.667668
1c04bbf01c459890b136a85f02fecf87b5220fd7
601
py
Python
sb_backend/cli/cli.py
DmitriyGrigoriev/sb-fastapi
1aef3db6ce26ea054e048e5927552d48c2eccbfb
[ "MIT" ]
null
null
null
sb_backend/cli/cli.py
DmitriyGrigoriev/sb-fastapi
1aef3db6ce26ea054e048e5927552d48c2eccbfb
[ "MIT" ]
null
null
null
sb_backend/cli/cli.py
DmitriyGrigoriev/sb-fastapi
1aef3db6ce26ea054e048e5927552d48c2eccbfb
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """sb-fastapi CLI root.""" import logging import click from sb_backend.cli.commands.serve import serve cli.add_command(serve)
18.78125
73
0.582363
1c04cbdee0c3246cf3dd07ebf05dec05475d975b
1,379
py
Python
1-Chapter/htmlcomponents.py
DSandovalFlavio/Dashboards-Plotly-Dash
58867c2e813bc9273838dec12e7bd15be25504fa
[ "MIT" ]
null
null
null
1-Chapter/htmlcomponents.py
DSandovalFlavio/Dashboards-Plotly-Dash
58867c2e813bc9273838dec12e7bd15be25504fa
[ "MIT" ]
null
null
null
1-Chapter/htmlcomponents.py
DSandovalFlavio/Dashboards-Plotly-Dash
58867c2e813bc9273838dec12e7bd15be25504fa
[ "MIT" ]
null
null
null
import dash from dash import html app = dash.Dash(__name__) app.layout = html.Div(children=[html.H1('Data Science', style = {'textAlign': 'center', 'color': '#0FD08D', 'font-size': '...
55.16
175
0.354605
1c051afc13411020a3654ad65fd96dd86b2c6979
75,380
py
Python
baadalinstallation/baadal/modules/vm_helper.py
iitd-plos/baadal2.0
0496a8ddb5c0620f3448f018ba48b080b96cbe61
[ "Apache-2.0" ]
8
2017-01-30T17:40:18.000Z
2022-02-07T19:37:32.000Z
baadalinstallation/baadal/modules/vm_helper.py
iitd-plos/baadal2.0
0496a8ddb5c0620f3448f018ba48b080b96cbe61
[ "Apache-2.0" ]
null
null
null
baadalinstallation/baadal/modules/vm_helper.py
iitd-plos/baadal2.0
0496a8ddb5c0620f3448f018ba48b080b96cbe61
[ "Apache-2.0" ]
7
2016-11-08T13:38:10.000Z
2019-11-26T04:33:17.000Z
# -*- coding: utf-8 -*- ################################################################################### from gluon import current from helper import get_constant, execute_remote_cmd, config, get_datetime, \ log_exception, is_pingable, get_context_path from libvirt import * # @UnusedWildImport from log_handler ...
44.789067
237
0.655399
1c051e0c55fbe3f232891ef1ecc26d26fcbe892f
1,152
py
Python
third_party/webrtc/src/chromium/src/build/android/devil/android/sdk/aapt.py
bopopescu/webrtc-streaming-node
727a441204344ff596401b0253caac372b714d91
[ "MIT" ]
8
2016-02-08T11:59:31.000Z
2020-05-31T15:19:54.000Z
third_party/webrtc/src/chromium/src/build/android/devil/android/sdk/aapt.py
bopopescu/webrtc-streaming-node
727a441204344ff596401b0253caac372b714d91
[ "MIT" ]
1
2016-01-29T00:54:49.000Z
2016-01-29T00:54:49.000Z
third_party/webrtc/src/chromium/src/build/android/devil/android/sdk/aapt.py
bopopescu/webrtc-streaming-node
727a441204344ff596401b0253caac372b714d91
[ "MIT" ]
7
2016-02-09T09:28:14.000Z
2020-07-25T19:03:36.000Z
# Copyright 2015 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """This module wraps the Android Asset Packaging Tool.""" import os from devil.utils import cmd_helper from pylib import constants _AAPT_PATH = os.path.jo...
27.428571
75
0.688368
1c0586c2c8dd465a0ae7f5e9116c1bf2f5320f2f
46
py
Python
examples/Tests/Misc/Resources/PythonFile/basic.py
esayui/mworks
0522e5afc1e30fdbf1e67cedd196ee50f7924499
[ "MIT" ]
null
null
null
examples/Tests/Misc/Resources/PythonFile/basic.py
esayui/mworks
0522e5afc1e30fdbf1e67cedd196ee50f7924499
[ "MIT" ]
null
null
null
examples/Tests/Misc/Resources/PythonFile/basic.py
esayui/mworks
0522e5afc1e30fdbf1e67cedd196ee50f7924499
[ "MIT" ]
null
null
null
setvar('nsamples', getvar('a') + getvar('b'))
23
45
0.608696
1c0727618b7254d68a22ae858de032e6c20ddbc5
2,218
py
Python
quacc/recipes/psi4/core.py
arosen93/HT-ASE
a76542e7a2bc5bf6e7382d8f1387374eb2abc713
[ "BSD-3-Clause-LBNL" ]
9
2022-02-08T08:31:30.000Z
2022-03-30T21:37:35.000Z
quacc/recipes/psi4/core.py
arosen93/HT-ASE
a76542e7a2bc5bf6e7382d8f1387374eb2abc713
[ "BSD-3-Clause-LBNL" ]
5
2022-02-02T21:47:59.000Z
2022-03-18T21:28:52.000Z
quacc/recipes/psi4/core.py
arosen93/HT-ASE
a76542e7a2bc5bf6e7382d8f1387374eb2abc713
[ "BSD-3-Clause-LBNL" ]
3
2022-02-23T12:00:57.000Z
2022-03-24T23:54:22.000Z
"""Core recipes for Psi4""" from __future__ import annotations from dataclasses import dataclass from typing import Any, Dict from ase.atoms import Atoms from ase.calculators.psi4 import Psi4 from jobflow import Maker, job from monty.dev import requires try: import psi4 except: psi4 = None from quacc.schemas...
25.494253
84
0.587917
1c073d575249e6f524c3e4fa1ac84edb0ff05cc7
984
py
Python
UAS/UAS 11 & 12/main.py
Archedar/UAS
3237d9304026340acc93c8f36b358578dc0ae66f
[ "BSD-Source-Code" ]
null
null
null
UAS/UAS 11 & 12/main.py
Archedar/UAS
3237d9304026340acc93c8f36b358578dc0ae66f
[ "BSD-Source-Code" ]
null
null
null
UAS/UAS 11 & 12/main.py
Archedar/UAS
3237d9304026340acc93c8f36b358578dc0ae66f
[ "BSD-Source-Code" ]
null
null
null
#Main Program from Class import Barang import Menu histori = list() listBarang = [ Barang('Rinso', 5000, 20), Barang('Sabun', 3000, 20), Barang('Pulpen', 2500, 20), Barang('Tisu', 10000, 20), Barang('Penggaris', 1000, 20) ] while True: print(''' Menu 1. Tampilkan Barang 2. Tambahkan Barang 3. Ta...
20.93617
37
0.645325
1c075f34dca283714195a979ceda054e43bd4f75
13,010
py
Python
original/baselines/train/JointE+ONE.py
thunlp/JointNRE
29e2070910d0940bf4d32a8b8c97800bceff98fb
[ "MIT" ]
186
2018-01-29T09:33:59.000Z
2022-03-17T08:20:44.000Z
original/baselines/train/JointE+ONE.py
thunlp/JointNRE
29e2070910d0940bf4d32a8b8c97800bceff98fb
[ "MIT" ]
19
2018-03-01T01:55:08.000Z
2022-02-17T03:38:21.000Z
original/baselines/train/JointE+ONE.py
thunlp/JointNRE
29e2070910d0940bf4d32a8b8c97800bceff98fb
[ "MIT" ]
36
2018-02-02T06:29:29.000Z
2021-01-22T08:36:00.000Z
#coding:utf-8 import numpy as np import tensorflow as tf import os import time import datetime import ctypes import threading import json ll1 = ctypes.cdll.LoadLibrary lib_cnn = ll1("./init_cnn.so") ll2 = ctypes.cdll.LoadLibrary lib_kg = ll2("./init_know.so") bags_sum = 0.0 bags_hit_NA = 0.0 sum_NA = 0.0 su...
41.301587
321
0.711299
1c076dedd327711fd82ede330f8c1964afc14a4e
7,468
py
Python
i2vec_cli/__main__.py
rachmadaniHaryono/i2vec_cli
9e03ca1c930e5eab8e42ac882c66e18f7c7435ba
[ "MIT" ]
null
null
null
i2vec_cli/__main__.py
rachmadaniHaryono/i2vec_cli
9e03ca1c930e5eab8e42ac882c66e18f7c7435ba
[ "MIT" ]
null
null
null
i2vec_cli/__main__.py
rachmadaniHaryono/i2vec_cli
9e03ca1c930e5eab8e42ac882c66e18f7c7435ba
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 """get tag from http://demo.illustration2vec.net/.""" # note: # - error 'ERROR: Request Entity Too Large' for file 1.1 mb # <span style="color:red;">ERROR: Request Entity Too Large</span> from collections import OrderedDict from pathlib import Path from pprint import pformat import imghdr import ...
30.987552
98
0.644215
1c079634ef4058798430437eb20ed1003701c2d2
23,443
py
Python
cherrypy/lib/cptools.py
debrando/cherrypy
a92c5cc5d888b0aad327bce34e94da4a1f961e43
[ "BSD-3-Clause" ]
2
2019-03-04T15:17:49.000Z
2021-04-04T08:08:14.000Z
lib/cherrypy/lib/cptools.py
rrosajp/script.module.cherrypy
61ae795123755f3be43611e0f2667e85ef20c9d3
[ "BSD-3-Clause" ]
2
2019-11-16T13:20:55.000Z
2021-01-10T11:28:43.000Z
lib/cherrypy/lib/cptools.py
rrosajp/script.module.cherrypy
61ae795123755f3be43611e0f2667e85ef20c9d3
[ "BSD-3-Clause" ]
6
2020-05-22T15:25:34.000Z
2021-08-13T09:43:01.000Z
"""Functions for builtin CherryPy tools.""" import logging import re from hashlib import md5 import six from six.moves import urllib import cherrypy from cherrypy._cpcompat import text_or_bytes from cherrypy.lib import httputil as _httputil from cherrypy.lib import is_iterator # Conditional HTT...
36.572543
81
0.601971
1c07bfa6e3a91882477a3925b04caaee6211dc0f
3,216
py
Python
pyiomica/utilityFunctions.py
benstear/pyiomica
bc26032b610fc911cc03b54115d6abdf53a56fce
[ "MIT" ]
null
null
null
pyiomica/utilityFunctions.py
benstear/pyiomica
bc26032b610fc911cc03b54115d6abdf53a56fce
[ "MIT" ]
null
null
null
pyiomica/utilityFunctions.py
benstear/pyiomica
bc26032b610fc911cc03b54115d6abdf53a56fce
[ "MIT" ]
null
null
null
'''Utility functions''' import multiprocessing from .globalVariables import * def readMathIOmicaData(fileName): '''Read text files exported by MathIOmica and convert to Python data Parameters: fileName: str Path of directories and name of the file containing data ...
26.578512
107
0.60852
1c07e719407fcda373a642abe4461b09f4086e6c
4,041
py
Python
CRNitschke/get_sextract_thresholds.py
deapplegate/wtgpipeline
9693e8562022cc97bf5a96427e22965e1a5e8497
[ "MIT" ]
1
2019-03-15T04:01:19.000Z
2019-03-15T04:01:19.000Z
CRNitschke/get_sextract_thresholds.py
deapplegate/wtgpipeline
9693e8562022cc97bf5a96427e22965e1a5e8497
[ "MIT" ]
5
2017-12-11T00:11:39.000Z
2021-07-09T17:05:16.000Z
CRNitschke/get_sextract_thresholds.py
deapplegate/wtgpipeline
9693e8562022cc97bf5a96427e22965e1a5e8497
[ "MIT" ]
2
2017-08-15T21:19:11.000Z
2017-10-12T00:36:35.000Z
#! /usr/bin/env python #adam-does# runs SeeingClearly to get the seeing and rms of the image, then uses those to get sextractor thresholds for CR detection #adam-use# use with CRNitschke pipeline #adam-call_example# call it like ./get_sextract_thresholds.py /path/flname.fits output_file.txt #IO stuff: import sys ; sys...
36.736364
213
0.732739
1c0a49535e49079808208d6bb2ff3cdc8ca96e3f
2,843
py
Python
python/labbox/api/_session.py
flatironinstitute/labbox
d8b331d55a5cca543567c3b2e92bcdc02b46e799
[ "Apache-2.0" ]
1
2021-09-23T01:10:39.000Z
2021-09-23T01:10:39.000Z
python/labbox/api/_session.py
flatironinstitute/labbox
d8b331d55a5cca543567c3b2e92bcdc02b46e799
[ "Apache-2.0" ]
null
null
null
python/labbox/api/_session.py
flatironinstitute/labbox
d8b331d55a5cca543567c3b2e92bcdc02b46e799
[ "Apache-2.0" ]
1
2021-09-23T01:10:39.000Z
2021-09-23T01:10:39.000Z
import time import multiprocessing
38.418919
140
0.593739
1c0adf2b82d9cbfe6db20d368afa9827c211f577
8,114
py
Python
aldryn_newsblog/tests/test_reversion.py
GabrielDumbrava/aldryn-newsblog
f3be5ff78e88fde532ce4c45e5eeb88d98fa6d93
[ "BSD-3-Clause" ]
null
null
null
aldryn_newsblog/tests/test_reversion.py
GabrielDumbrava/aldryn-newsblog
f3be5ff78e88fde532ce4c45e5eeb88d98fa6d93
[ "BSD-3-Clause" ]
null
null
null
aldryn_newsblog/tests/test_reversion.py
GabrielDumbrava/aldryn-newsblog
f3be5ff78e88fde532ce4c45e5eeb88d98fa6d93
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import unicode_literals from unittest import skipIf try: from django.core.urlresolvers import reverse except ModuleNotFoundError: from django.urls import reverse from django.db import transaction from aldryn_reversion.core import create_revision as aldryn_create_revisio...
37.391705
78
0.646537
1c0c6c9d53be4b7690f691af9859df23fb71fa58
38,971
py
Python
network/network.py
VirtualEmbryo/lumen_network
35b1dadccd087c9ef234f12c2735098b82890b34
[ "MIT" ]
1
2019-08-02T07:41:27.000Z
2019-08-02T07:41:27.000Z
network/network.py
VirtualEmbryo/lumen_network
35b1dadccd087c9ef234f12c2735098b82890b34
[ "MIT" ]
null
null
null
network/network.py
VirtualEmbryo/lumen_network
35b1dadccd087c9ef234f12c2735098b82890b34
[ "MIT" ]
null
null
null
# Library for the dynamics of a lumen network # The lumen are 2 dimensional and symmetric and connected with 1 dimensional tubes # # Created by A. Mielke, 2018 # Modified by M. Le Verge--Serandour on 8/04/2019 """ network.py conf.init Defines the class network and associated functions Imports ...
38.700099
215
0.497575
1c0d361e8337d02f5fbc92a1db2b014025d1f86f
943
py
Python
scripts/upsampling_demo.py
always-newbie161/pyprobml
eb70c84f9618d68235ef9ba7da147c009b2e4a80
[ "MIT" ]
2
2021-02-26T04:36:10.000Z
2021-02-26T04:36:24.000Z
scripts/upsampling_demo.py
always-newbie161/pyprobml
eb70c84f9618d68235ef9ba7da147c009b2e4a80
[ "MIT" ]
9
2021-03-31T20:18:21.000Z
2022-03-12T00:52:47.000Z
scripts/upsampling_demo.py
always-newbie161/pyprobml
eb70c84f9618d68235ef9ba7da147c009b2e4a80
[ "MIT" ]
1
2021-06-21T01:18:07.000Z
2021-06-21T01:18:07.000Z
# Illustrate upsampling in 2d # Code from Jason Brownlee # https://machinelearningmastery.com/generative_adversarial_networks/ import tensorflow as tf from tensorflow import keras from numpy import asarray #from keras.models import Sequential from tensorflow.keras.models import Sequential #from keras.layers import...
22.452381
74
0.709438
1c1095f5f37cb41b6318b6beaf6df6c400bfad6c
17,334
py
Python
V2RaycSpider1225/src/BusinessCentralLayer/scaffold.py
njchj/V2RayCloudSpider
16154cf48c74fa2c8cf2f6792d2db3632501f5d6
[ "MIT" ]
1
2021-09-28T09:38:15.000Z
2021-09-28T09:38:15.000Z
V2RaycSpider1225/src/BusinessCentralLayer/scaffold.py
njchj/V2RayCloudSpider
16154cf48c74fa2c8cf2f6792d2db3632501f5d6
[ "MIT" ]
null
null
null
V2RaycSpider1225/src/BusinessCentralLayer/scaffold.py
njchj/V2RayCloudSpider
16154cf48c74fa2c8cf2f6792d2db3632501f5d6
[ "MIT" ]
1
2021-09-09T07:22:47.000Z
2021-09-09T07:22:47.000Z
__all__ = ['scaffold', 'command_set'] from gevent import monkey monkey.patch_all() import csv import os import sys import time import shutil from typing import List import gevent from src.BusinessCentralLayer.setting import logger, DEFAULT_POWER, CHROMEDRIVER_PATH, \ REDIS_MASTER, SERVER_DIR_DATABASE_CACHE, SE...
37.038462
119
0.546267
1c10af158381d3bf41fbdb21d408b7a2f5c450b9
2,336
py
Python
python/swap_header.py
daniestevez/gr-csp
0a10e4d2e5cf4a51256e5dc72aa42f8d3d54c232
[ "Unlicense" ]
19
2016-05-27T15:12:31.000Z
2021-04-19T09:42:35.000Z
python/swap_header.py
daniestevez/gr-csp
0a10e4d2e5cf4a51256e5dc72aa42f8d3d54c232
[ "Unlicense" ]
null
null
null
python/swap_header.py
daniestevez/gr-csp
0a10e4d2e5cf4a51256e5dc72aa42f8d3d54c232
[ "Unlicense" ]
5
2017-04-26T22:48:40.000Z
2022-02-19T23:49:33.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright 2016 Daniel Estevez <daniel@destevez.net>. # # This is free and unencumbered software released into the public domain. # # Anyone is free to copy, modify, publish, use, compile, sell, or # distribute this software, either in source code form or as a compiled ...
36.5
90
0.704195
1c10ce60247554a61b0b5d48488c8c6ceac709b6
2,149
py
Python
start.py
gleenn/dfplayer
dd390a6f54b3bd8b2a3397fddd6caacfba01b29d
[ "MIT" ]
null
null
null
start.py
gleenn/dfplayer
dd390a6f54b3bd8b2a3397fddd6caacfba01b29d
[ "MIT" ]
null
null
null
start.py
gleenn/dfplayer
dd390a6f54b3bd8b2a3397fddd6caacfba01b29d
[ "MIT" ]
null
null
null
#!/usr/bin/python # # Start dfplayer. import argparse import os import shutil import subprocess import sys import time _PROJ_DIR = os.path.dirname(__file__) main()
28.653333
76
0.68497
1c1166ff6a3e4c18665f05d1beca5c764b5fda93
3,368
py
Python
AIY/voice/cloudspeech_demo.py
Pougnator/Prometheus
d7c59f3a97b4f60958f130741ccc16b81d65f505
[ "Apache-2.0" ]
null
null
null
AIY/voice/cloudspeech_demo.py
Pougnator/Prometheus
d7c59f3a97b4f60958f130741ccc16b81d65f505
[ "Apache-2.0" ]
null
null
null
AIY/voice/cloudspeech_demo.py
Pougnator/Prometheus
d7c59f3a97b4f60958f130741ccc16b81d65f505
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 # Copyright 2017 Google 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...
37.010989
94
0.58462
1c119d6282e07a22b49176d0f6616aca7099e5dc
3,159
py
Python
options/base_option.py
lime-j/YTMT-Strategy-1
aacc38c4e61b91e187cac81aa95500e0422d4d0f
[ "Apache-2.0" ]
26
2021-11-08T07:49:34.000Z
2022-03-28T14:09:27.000Z
options/base_option.py
lime-j/YTMT-Strategy-1
aacc38c4e61b91e187cac81aa95500e0422d4d0f
[ "Apache-2.0" ]
2
2021-10-22T02:53:10.000Z
2021-12-29T12:35:13.000Z
options/base_option.py
lime-j/YTMT-Strategy-1
aacc38c4e61b91e187cac81aa95500e0422d4d0f
[ "Apache-2.0" ]
1
2021-10-18T08:00:22.000Z
2021-10-18T08:00:22.000Z
import argparse import models model_names = sorted(name for name in models.__dict__ if name.islower() and not name.startswith("__") and callable(models.__dict__[name]))
65.8125
174
0.652738
1c11a09e91a9f24c73ca32bb8e2bc358e52c7c63
2,277
py
Python
bookstore/__init__.py
JanhaviSoni/Book-Recommendation-Analysis
d2697e1f2eb9b9b4e0bafc0dd43d486ceb3d1707
[ "MIT" ]
23
2021-01-15T15:46:45.000Z
2021-11-16T12:26:58.000Z
bookstore/__init__.py
JanhaviSoni/Book-Recommendation-Analysis
d2697e1f2eb9b9b4e0bafc0dd43d486ceb3d1707
[ "MIT" ]
108
2021-01-13T11:02:31.000Z
2022-03-21T17:47:24.000Z
bookstore/__init__.py
JanhaviSoni/Book-Recommendation-Analysis
d2697e1f2eb9b9b4e0bafc0dd43d486ceb3d1707
[ "MIT" ]
46
2021-01-14T17:27:28.000Z
2022-03-20T10:12:24.000Z
from flask import Flask, Response from flask_basicauth import BasicAuth from flask_cors import CORS, cross_origin import os #from flask_admin import Admin,AdminIndexView #from flask_admin.contrib.sqla import ModelView from flask_sqlalchemy import SQLAlchemy as _BaseSQLAlchemy from flask_migrate import Migrate, Migr...
25.021978
104
0.798858
1c11dc94f130a2807798806bad63a6da530e4ff6
8,438
py
Python
cobl/lexicon/management/commands/stats236.py
Bibiko/CoBL-public
5092a0d01b7a13565c7da6bf2f6c52d648a2debe
[ "BSD-2-Clause" ]
null
null
null
cobl/lexicon/management/commands/stats236.py
Bibiko/CoBL-public
5092a0d01b7a13565c7da6bf2f6c52d648a2debe
[ "BSD-2-Clause" ]
null
null
null
cobl/lexicon/management/commands/stats236.py
Bibiko/CoBL-public
5092a0d01b7a13565c7da6bf2f6c52d648a2debe
[ "BSD-2-Clause" ]
1
2020-04-30T11:02:51.000Z
2020-04-30T11:02:51.000Z
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.core.management import BaseCommand from cobl.lexicon.models import LanguageList, \ MeaningList, \ Meaning, \ Lexeme, \ ...
48.494253
79
0.508059
1c13e64266dfbb7d662d8dc0ddfc5df3b7bd9dd2
1,809
py
Python
collation/test2.py
enabling-languages/dinka
981ffd07e7468f692c4d17472083a3c5485987f8
[ "MIT" ]
1
2018-11-13T13:34:58.000Z
2018-11-13T13:34:58.000Z
collation/test2.py
enabling-languages/dinka
981ffd07e7468f692c4d17472083a3c5485987f8
[ "MIT" ]
6
2018-07-18T23:50:31.000Z
2021-08-24T06:57:49.000Z
collation/test2.py
enabling-languages/dinka
981ffd07e7468f692c4d17472083a3c5485987f8
[ "MIT" ]
null
null
null
import pandas as pd from icu import Collator, Locale, RuleBasedCollator ddf = pd.read_csv("../word_frequency/unilex/din.txt", sep='\t', skiprows = range(2,5)) collator = Collator.createInstance(Locale('en_AU.UTF-8')) # https://stackoverflow.com/questions/13838405/custom-sorting-in-pandas-dataframe/27009771#27009771 ...
37.6875
459
0.655611
1c154cd85ac8501efc488d575c2d366b73815f35
3,495
py
Python
pkgs/ops-pkg/src/genie/libs/ops/dot1x/ios/tests/test_dot1x.py
jbronikowski/genielibs
200a34e5fe4838a27b5a80d5973651b2e34ccafb
[ "Apache-2.0" ]
94
2018-04-30T20:29:15.000Z
2022-03-29T13:40:31.000Z
pkgs/ops-pkg/src/genie/libs/ops/dot1x/ios/tests/test_dot1x.py
jbronikowski/genielibs
200a34e5fe4838a27b5a80d5973651b2e34ccafb
[ "Apache-2.0" ]
67
2018-12-06T21:08:09.000Z
2022-03-29T18:00:46.000Z
pkgs/ops-pkg/src/genie/libs/ops/dot1x/ios/tests/test_dot1x.py
jbronikowski/genielibs
200a34e5fe4838a27b5a80d5973651b2e34ccafb
[ "Apache-2.0" ]
49
2018-06-29T18:59:03.000Z
2022-03-10T02:07:59.000Z
# Python import unittest from copy import deepcopy from unittest.mock import Mock # ATS from pyats.topology import Device # Genie from genie.libs.ops.dot1x.ios.dot1x import Dot1X from genie.libs.ops.dot1x.ios.tests.dot1x_output import Dot1xOutput # Parser from genie.libs.parser.ios.show_dot1x import ShowDot1xAllDeta...
30.657895
74
0.58083
1c1603d1abab233380508e0466aae61f575bb066
5,218
py
Python
script/analysis/check_transformation_matrices.py
lanl/nubhlight
6c0f2abc05884538fe8e4e2e70a021b7c48a72c2
[ "BSD-3-Clause" ]
16
2020-02-05T22:59:21.000Z
2022-03-18T11:05:37.000Z
script/analysis/check_transformation_matrices.py
lanl/nubhlight
6c0f2abc05884538fe8e4e2e70a021b7c48a72c2
[ "BSD-3-Clause" ]
13
2020-03-06T02:10:48.000Z
2021-06-15T20:00:30.000Z
script/analysis/check_transformation_matrices.py
lanl/nubhlight
6c0f2abc05884538fe8e4e2e70a021b7c48a72c2
[ "BSD-3-Clause" ]
4
2020-02-21T04:59:44.000Z
2020-12-10T21:42:12.000Z
# ====================================================================== # copyright 2020. Triad National Security, LLC. All rights # reserved. This program was produced under U.S. Government contract # 89233218CNA000001 for Los Alamos National Laboratory (LANL), which # is operated by Triad National Security, LLC for ...
28.358696
77
0.593139
1c16c296d9a00d573be4e9e818881918f7bcc86c
73
py
Python
holobot/discord/sdk/models/channel.py
rexor12/holobot
89b7b416403d13ccfeee117ef942426b08d3651d
[ "MIT" ]
1
2021-05-24T00:17:46.000Z
2021-05-24T00:17:46.000Z
holobot/discord/sdk/models/channel.py
rexor12/holobot
89b7b416403d13ccfeee117ef942426b08d3651d
[ "MIT" ]
41
2021-03-24T22:50:09.000Z
2021-12-17T12:15:13.000Z
holobot/discord/sdk/models/channel.py
rexor12/holobot
89b7b416403d13ccfeee117ef942426b08d3651d
[ "MIT" ]
null
null
null
from dataclasses import dataclass
12.166667
33
0.767123
1c1762c8ad20949427e7a540afab16d1a42370e8
13,174
py
Python
pynet/models/braingengan.py
claireguichon/pynet
92706375e61fb5cb523548303b7d04769c9de134
[ "CECILL-B" ]
8
2020-06-23T16:30:52.000Z
2021-07-27T15:07:18.000Z
pynet/models/braingengan.py
claireguichon/pynet
92706375e61fb5cb523548303b7d04769c9de134
[ "CECILL-B" ]
8
2019-12-18T17:28:47.000Z
2021-02-12T09:10:58.000Z
pynet/models/braingengan.py
claireguichon/pynet
92706375e61fb5cb523548303b7d04769c9de134
[ "CECILL-B" ]
18
2019-08-19T14:17:48.000Z
2021-12-20T03:56:39.000Z
# -*- coding: utf-8 -*- ########################################################################## # NSAp - Copyright (C) CEA, 2020 # Distributed under the terms of the CeCILL-B license, as published by # the CEA-CNRS-INRIA. Refer to the LICENSE file or to # http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html #...
37.214689
76
0.587141
1c192652847b82c847977050650f6dd9bf312075
7,587
py
Python
research/object_detection/core/freezable_batch_norm_test.py
baranshad/models
aaf008855e9764f32d974e86f8e1f9cfddfafd9a
[ "Apache-2.0" ]
3
2019-12-15T18:05:04.000Z
2021-04-30T16:26:04.000Z
research/object_detection/core/freezable_batch_norm_test.py
baranshad/models
aaf008855e9764f32d974e86f8e1f9cfddfafd9a
[ "Apache-2.0" ]
10
2020-01-28T23:15:47.000Z
2022-03-12T00:11:34.000Z
research/object_detection/core/freezable_batch_norm_test.py
baranshad/models
aaf008855e9764f32d974e86f8e1f9cfddfafd9a
[ "Apache-2.0" ]
5
2020-06-02T09:14:45.000Z
2022-02-05T17:32:44.000Z
# Copyright 2018 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
41.010811
80
0.63991
1c1a874f462704bb21b985ac2653cb99f9e8cd06
351
py
Python
offspect/gui/VWidgets/message.py
translationalneurosurgery/tool-offspect
011dafb697e8542fc7c3cf8af8523af3ff704a14
[ "MIT" ]
1
2022-02-23T12:26:45.000Z
2022-02-23T12:26:45.000Z
offspect/gui/VWidgets/message.py
neuromti/tool-offspect
011dafb697e8542fc7c3cf8af8523af3ff704a14
[ "MIT" ]
51
2020-03-15T14:52:36.000Z
2020-09-28T09:30:53.000Z
offspect/gui/VWidgets/message.py
neuromti/tool-offspect
011dafb697e8542fc7c3cf8af8523af3ff704a14
[ "MIT" ]
1
2020-03-24T07:35:30.000Z
2020-03-24T07:35:30.000Z
# from PyQt5.QtWidgets import QMessageBox # def raise_error(message: str = "DEFAULT:Error Description:More Information"): # box = QMessageBox() # kind, msg, info = message.split(":") # box.setIcon(QMessageBox.Critical) # box.setWindowTitle(kind + " Error") # box.setText(msg) # box.setInformati...
29.25
79
0.669516
1c1a9dfbfb88778f3a6aa8f06f925295c99a8f4b
3,182
py
Python
Widen/LC759_Employee_Free_Time.py
crazywiden/Leetcode_daily_submit
15637e260ab547022ac0c828dd196337bd8d50a3
[ "MIT" ]
null
null
null
Widen/LC759_Employee_Free_Time.py
crazywiden/Leetcode_daily_submit
15637e260ab547022ac0c828dd196337bd8d50a3
[ "MIT" ]
null
null
null
Widen/LC759_Employee_Free_Time.py
crazywiden/Leetcode_daily_submit
15637e260ab547022ac0c828dd196337bd8d50a3
[ "MIT" ]
null
null
null
""" 759. Employee Free Time We are given a list schedule of employees, which represents the working time for each employee. Each employee has a list of non-overlapping Intervals, and these intervals are in sorted order. Return the list of finite intervals representing common, positive-length free time for all employe...
38.804878
309
0.634192
1c1aaaf29009692c2f76cb9c4300ce895525d07d
1,333
py
Python
storitch/config.py
thomaserlang/storitch
dbcf97af547d9cb1ae5c3994654e8db03e43a253
[ "MIT" ]
null
null
null
storitch/config.py
thomaserlang/storitch
dbcf97af547d9cb1ae5c3994654e8db03e43a253
[ "MIT" ]
1
2022-03-03T00:35:08.000Z
2022-03-03T00:35:08.000Z
storitch/config.py
thomaserlang/storitch
dbcf97af547d9cb1ae5c3994654e8db03e43a253
[ "MIT" ]
null
null
null
import os, yaml config = { 'debug': False, 'port': 5000, 'store_path': '/var/storitch', 'pool_size': 5, 'logging': { 'level': 'warning', 'path': None, 'max_size': 100 * 1000 * 1000,# ~ 95 mb 'num_backups': 10, }, 'image_exts': [ '.jpg', '.jpeg', '.png...
28.361702
72
0.487622
1c1c06a5f2fd1746b831968ec2394fc2e3c54a63
3,727
py
Python
keras/lstm-securitai/model/pipeline_invoke_python.py
PipelineAI/models
d8df07877aa8b10ce9b84983bb440af75e84dca7
[ "Apache-2.0" ]
44
2017-11-17T06:19:05.000Z
2021-11-03T06:00:56.000Z
keras/lstm-securitai/model/pipeline_invoke_python.py
PipelineAI/models
d8df07877aa8b10ce9b84983bb440af75e84dca7
[ "Apache-2.0" ]
3
2018-08-09T14:28:17.000Z
2018-09-10T03:32:42.000Z
keras/lstm-securitai/model/pipeline_invoke_python.py
PipelineAI/models
d8df07877aa8b10ce9b84983bb440af75e84dca7
[ "Apache-2.0" ]
21
2017-11-18T15:12:12.000Z
2020-08-15T07:08:33.000Z
import io import os import numpy as np import pandas import json import logging #<== Optional. Log to console, file, kafka from pipeline_monitor import prometheus_monitor as monitor #<== Optional. Monitor runtime metrics from pipeline_logger import log import tenso...
38.822917
127
0.648779
1c1cd0e44417cd753d2dd2376c6b05a4b1e765f1
9,465
py
Python
src/act/common/aCTReport.py
ATLASControlTower/aCT
fb841bddbe086db9f0d620167c4a11ae4634ef4f
[ "Apache-2.0" ]
null
null
null
src/act/common/aCTReport.py
ATLASControlTower/aCT
fb841bddbe086db9f0d620167c4a11ae4634ef4f
[ "Apache-2.0" ]
8
2019-12-12T14:41:50.000Z
2020-12-04T21:06:44.000Z
src/act/common/aCTReport.py
ATLASControlTower/aCT
fb841bddbe086db9f0d620167c4a11ae4634ef4f
[ "Apache-2.0" ]
4
2018-02-05T11:25:20.000Z
2018-07-19T09:53:13.000Z
import argparse import importlib import os import re import signal import subprocess import sys import time import logging from act.common import aCTLogger from act.common.aCTConfig import aCTConfigAPP from act.arc import aCTDBArc if __name__ == '__main__': main()
32.979094
123
0.481247
1c1fc5837c8db7a7bfccee73b5ceb661f8e4a0b9
3,477
py
Python
unittests/test_apiv2_user.py
mtcolman/django-DefectDojo
76175aca446e077884bdb5e1d8e2a671a0840775
[ "BSD-3-Clause" ]
249
2016-09-06T21:04:40.000Z
2018-01-19T15:59:44.000Z
unittests/test_apiv2_user.py
mtcolman/django-DefectDojo
76175aca446e077884bdb5e1d8e2a671a0840775
[ "BSD-3-Clause" ]
275
2021-02-19T15:16:15.000Z
2022-03-31T21:09:29.000Z
unittests/test_apiv2_user.py
mtcolman/django-DefectDojo
76175aca446e077884bdb5e1d8e2a671a0840775
[ "BSD-3-Clause" ]
152
2016-09-06T21:04:54.000Z
2018-01-18T08:52:24.000Z
from rest_framework.test import APITestCase, APIClient from django.urls import reverse from rest_framework.authtoken.models import Token
39.067416
100
0.581823
1c20efc185d3c6e0666c4268894d9c9ea652083d
371
py
Python
src/init.py
ankit-kushwaha-51/RESTful_API
4513e8a058cb0200b41d47830b93b8a23ea38d7b
[ "MIT" ]
null
null
null
src/init.py
ankit-kushwaha-51/RESTful_API
4513e8a058cb0200b41d47830b93b8a23ea38d7b
[ "MIT" ]
null
null
null
src/init.py
ankit-kushwaha-51/RESTful_API
4513e8a058cb0200b41d47830b93b8a23ea38d7b
[ "MIT" ]
null
null
null
from flask import Flask from src.models import db from . import config
24.733333
80
0.752022
1c234ce8283c844cd60cb5760e7b8e156d4ade05
310
py
Python
tests/helpers/examples/order/tasks.py
nicoddemus/dependencies
74180e2c6098d8ad03bc53c5703bdf8dc61c3ed9
[ "BSD-2-Clause" ]
null
null
null
tests/helpers/examples/order/tasks.py
nicoddemus/dependencies
74180e2c6098d8ad03bc53c5703bdf8dc61c3ed9
[ "BSD-2-Clause" ]
null
null
null
tests/helpers/examples/order/tasks.py
nicoddemus/dependencies
74180e2c6098d8ad03bc53c5703bdf8dc61c3ed9
[ "BSD-2-Clause" ]
null
null
null
from dependencies import Injector from dependencies import this from dependencies.contrib.celery import shared_task from examples.order.commands import ProcessOrder
20.666667
51
0.783871
1c23b751e4593238c12f386d607b9cb57efba768
115
py
Python
001 - 050/ex032.py
SocrammBR/Desafios-Python-CursoEmVideo
bd2454a24134500343ece91b936c169d3a66f89e
[ "MIT" ]
null
null
null
001 - 050/ex032.py
SocrammBR/Desafios-Python-CursoEmVideo
bd2454a24134500343ece91b936c169d3a66f89e
[ "MIT" ]
null
null
null
001 - 050/ex032.py
SocrammBR/Desafios-Python-CursoEmVideo
bd2454a24134500343ece91b936c169d3a66f89e
[ "MIT" ]
null
null
null
ano = int(input('Digite o ano: ')) if (ano%4) == 0: print ('Ele bissexto') else: print ('Ele no bissexto')
23
34
0.6
1c245bb9f12c18581a3c0f8f320d7e2f0d45632a
42
py
Python
rn/__init__.py
vikneswaran20/rn
33e0bfaf58bb8a5ec54c6d010035693b35e9909d
[ "BSD-3-Clause" ]
null
null
null
rn/__init__.py
vikneswaran20/rn
33e0bfaf58bb8a5ec54c6d010035693b35e9909d
[ "BSD-3-Clause" ]
null
null
null
rn/__init__.py
vikneswaran20/rn
33e0bfaf58bb8a5ec54c6d010035693b35e9909d
[ "BSD-3-Clause" ]
null
null
null
__version__ = '0.0.1' __license__ = 'BSD'
14
21
0.666667
1c25a6c39831217b32cbaed42c9755b9bd09bf27
7,655
py
Python
flexmeasures/cli/data_edit.py
FlexMeasures/flexmeasures
a4367976d37ac5721b8eb3ce8a2414595e52c678
[ "Apache-2.0" ]
12
2021-12-18T10:41:10.000Z
2022-03-29T23:00:29.000Z
flexmeasures/cli/data_edit.py
FlexMeasures/flexmeasures
a4367976d37ac5721b8eb3ce8a2414595e52c678
[ "Apache-2.0" ]
103
2021-12-07T08:51:15.000Z
2022-03-31T13:28:48.000Z
flexmeasures/cli/data_edit.py
FlexMeasures/flexmeasures
a4367976d37ac5721b8eb3ce8a2414595e52c678
[ "Apache-2.0" ]
3
2022-01-18T04:45:48.000Z
2022-03-14T09:48:22.000Z
from datetime import timedelta from typing import Union, List, Optional import click import pandas as pd from flask import current_app as app from flask.cli import with_appcontext from flexmeasures import Sensor from flexmeasures.data import db from flexmeasures.data.schemas.generic_assets import GenericAssetIdField ...
31.502058
189
0.679556
1c25d14605a86b5c88bbbc4dc7cdc7e4ecc3b9b3
216
py
Python
semana2/mail_settings.py
ArseniumGX/bluemer-modulo2
24e5071b734de362dc47ef9d402c191699d15b43
[ "MIT" ]
null
null
null
semana2/mail_settings.py
ArseniumGX/bluemer-modulo2
24e5071b734de362dc47ef9d402c191699d15b43
[ "MIT" ]
null
null
null
semana2/mail_settings.py
ArseniumGX/bluemer-modulo2
24e5071b734de362dc47ef9d402c191699d15b43
[ "MIT" ]
null
null
null
mail_settings = { "MAIL_SERVER": 'smtp.gmail.com', "MAIL_PORT": 465, "MAIL_USE_TLS": False, "MAIL_USE_SSL": True, "MAIL_USERNAME": 'c003.teste.jp@gmail.com', "MAIL_PASSWORD": 'C003.teste' }
27
47
0.625
1c25eef341ba86ac217ef07e6815f7ede8df615f
3,071
py
Python
frame/base/parser.py
dingjingmaster/blog_spider
7a0885bf886166eac0caca4471ee9f6424be2225
[ "MIT" ]
null
null
null
frame/base/parser.py
dingjingmaster/blog_spider
7a0885bf886166eac0caca4471ee9f6424be2225
[ "MIT" ]
null
null
null
frame/base/parser.py
dingjingmaster/blog_spider
7a0885bf886166eac0caca4471ee9f6424be2225
[ "MIT" ]
null
null
null
#!/usr/bin/env python3.6 # -*- encoding=utf8 -*- import pyquery """ 1. URL 2. 3. 1. PARSER_PASSAGE_URL URL 2. PARSER_PASSAGE_TITLE 3. PARSER_PASSAGE_DATE 4. PARSER_PASSAGE_CATEGORY...
31.659794
71
0.552914
1c2623d238b3de2bae87d9eae327584f97cd5fb9
6,341
py
Python
tools/mkblocks.py
Commodore-Bench/u5remastered
02c7ed86055e368b97d3c3c5ca26622782bd564d
[ "Apache-2.0" ]
14
2020-02-07T06:55:40.000Z
2022-01-15T19:54:00.000Z
tools/mkblocks.py
Commodore-Bench/u5remastered
02c7ed86055e368b97d3c3c5ca26622782bd564d
[ "Apache-2.0" ]
1
2021-11-21T23:06:24.000Z
2021-11-21T23:06:24.000Z
tools/mkblocks.py
Commodore-Bench/u5remastered
02c7ed86055e368b97d3c3c5ca26622782bd564d
[ "Apache-2.0" ]
3
2020-02-22T13:48:18.000Z
2021-04-06T17:09:43.000Z
#!/usr/bin/env python3 # ---------------------------------------------------------------------------- # Copyright 2019 Drunella # # 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:/...
32.352041
109
0.598171
1c27318c3cab57ef8dbbc5271fbb6a638278cdd3
5,079
py
Python
src/apetest/decode.py
boxingbeetle/apetest
c6dd7aaca014c64eec4bde7e755c4a3dec72404a
[ "BSD-3-Clause" ]
6
2019-04-01T09:42:31.000Z
2020-05-20T15:23:17.000Z
src/apetest/decode.py
boxingbeetle/apetest
c6dd7aaca014c64eec4bde7e755c4a3dec72404a
[ "BSD-3-Clause" ]
31
2019-02-04T11:38:32.000Z
2022-03-03T02:51:15.000Z
src/apetest/decode.py
boxingbeetle/apetest
c6dd7aaca014c64eec4bde7e755c4a3dec72404a
[ "BSD-3-Clause" ]
null
null
null
# SPDX-License-Identifier: BSD-3-Clause """ Text decode functions. These functions can be used to get Unicode strings from a series of bytes. """ from codecs import ( BOM_UTF8, BOM_UTF16_BE, BOM_UTF16_LE, BOM_UTF32_BE, BOM_UTF32_LE, CodecInfo, lookup as lookup_codec, ) from collections im...
30.596386
88
0.620398
1c27cd5f5bfc380cd284613d082bf0df751fd64e
43,000
py
Python
utils.py
jiangycTarheel/Compositional-Auxseq
e4645a92c21c893cd320eb186c19d392bc147b43
[ "MIT" ]
8
2021-10-02T00:08:27.000Z
2022-02-15T17:23:14.000Z
utils.py
jiangycTarheel/compositional-auxseq
e4645a92c21c893cd320eb186c19d392bc147b43
[ "MIT" ]
null
null
null
utils.py
jiangycTarheel/compositional-auxseq
e4645a92c21c893cd320eb186c19d392bc147b43
[ "MIT" ]
null
null
null
import os import json import gzip from copy import deepcopy, copy import numpy as np import csv import torch import torch.nn as nn import torch.nn.functional as F from torch.utils.data import Dataset, DataLoader, RandomSampler from transformers.tokenization_utils import trim_batch # Special symbols SOS_token = "<SOS...
49.768519
158
0.548721
1c27f0ef99cad37dbc55d60ec83e6ae7afff0829
3,484
py
Python
bridger/serializers/fields/related.py
intellineers/django-bridger
ed097984a99df7da40a4d01bd00c56e3c6083056
[ "BSD-3-Clause" ]
2
2020-03-17T00:53:23.000Z
2020-07-16T07:00:33.000Z
bridger/serializers/fields/related.py
intellineers/django-bridger
ed097984a99df7da40a4d01bd00c56e3c6083056
[ "BSD-3-Clause" ]
76
2019-12-05T01:15:57.000Z
2021-09-07T16:47:27.000Z
bridger/serializers/fields/related.py
intellineers/django-bridger
ed097984a99df7da40a4d01bd00c56e3c6083056
[ "BSD-3-Clause" ]
1
2020-02-05T15:09:47.000Z
2020-02-05T15:09:47.000Z
from typing import Dict from rest_framework import serializers from rest_framework.fields import empty from rest_framework.relations import ManyRelatedField from rest_framework.request import Request from .mixins import BridgerSerializerFieldMixin from .types import BridgerType, ReturnContentType
34.156863
104
0.639208
1c28644cccaa9b7ccc104007acdb7fe41da7c7ad
1,198
py
Python
python/graphscope/experimental/nx/tests/algorithms/forward/operators/test_product.py
wenyuanyu/GraphScope
a40ccaf70557e608d8b091eb25ab04477f99ce21
[ "Apache-2.0" ]
2
2020-12-15T08:42:10.000Z
2022-01-14T09:13:16.000Z
python/graphscope/experimental/nx/tests/algorithms/forward/operators/test_product.py
wenyuanyu/GraphScope
a40ccaf70557e608d8b091eb25ab04477f99ce21
[ "Apache-2.0" ]
1
2020-12-22T13:15:40.000Z
2020-12-22T13:15:40.000Z
python/graphscope/experimental/nx/tests/algorithms/forward/operators/test_product.py
wenyuanyu/GraphScope
a40ccaf70557e608d8b091eb25ab04477f99ce21
[ "Apache-2.0" ]
1
2021-11-23T03:40:43.000Z
2021-11-23T03:40:43.000Z
import networkx.algorithms.operators.tests.test_product import pytest from graphscope.experimental.nx.utils.compat import import_as_graphscope_nx import_as_graphscope_nx(networkx.algorithms.operators.tests.test_product, decorators=pytest.mark.usefixtures("graphscope_session"))
27.860465
81
0.724541
1c29c6717099eef5374f68ca8190022df79ffc51
4,574
py
Python
Footy/UnsupportedBantzStrings.py
schleising/banter-bot
3e51453ae993d2c26dc51464a3cef3875a6be3c9
[ "Apache-2.0" ]
null
null
null
Footy/UnsupportedBantzStrings.py
schleising/banter-bot
3e51453ae993d2c26dc51464a3cef3875a6be3c9
[ "Apache-2.0" ]
2
2022-03-27T10:44:38.000Z
2022-03-28T19:24:39.000Z
Footy/UnsupportedBantzStrings.py
schleising/banter-bot
3e51453ae993d2c26dc51464a3cef3875a6be3c9
[ "Apache-2.0" ]
1
2022-03-28T11:45:47.000Z
2022-03-28T11:45:47.000Z
# {team} -> Name of team # {name} -> Name of person who supports team teamMatchStarted: list[str] = [ "{team} are shit", "{team} cunts", "Dirty {team}", "Dirty {team}, dirty {name}", ] drawing: list[str] = [ "{team} level, this is a shit match", "Boring old {team}", "Happy with how it's go...
34.390977
131
0.622868
1c29cd725d84cf362de4c0b82dab4a78ea1506c5
128
py
Python
bench/fibrec.py
codr7/alisp
05ac47ab2c28683373af4ec80e5a94937390fa6c
[ "MIT" ]
8
2021-09-04T10:18:49.000Z
2022-01-10T01:05:13.000Z
bench/fibrec.py
codr7/alisp
05ac47ab2c28683373af4ec80e5a94937390fa6c
[ "MIT" ]
null
null
null
bench/fibrec.py
codr7/alisp
05ac47ab2c28683373af4ec80e5a94937390fa6c
[ "MIT" ]
2
2021-10-05T11:00:14.000Z
2021-10-11T05:54:59.000Z
from bench import bench print(bench(100, ''' def fib(n): return n if n < 2 else fib(n-1) + fib(n-2) ''', ''' fib(20) '''))
14.222222
44
0.546875
1c2a4f856378f5f6862c783cf6cd99f449623c3f
3,271
py
Python
nlpir/native/classifier.py
NLPIR-team/nlpir-python
029f81e69ee561725fa017dce09cfd55acb34d20
[ "MIT" ]
18
2021-01-01T03:07:17.000Z
2022-03-20T11:25:46.000Z
nlpir/native/classifier.py
yangyaofei/nlpir-python
af7bca9e2c3ba5f07316364da8f5e46a2bbc7c52
[ "MIT" ]
23
2020-12-04T07:10:09.000Z
2022-03-10T09:39:26.000Z
nlpir/native/classifier.py
yangyaofei/nlpir-python
af7bca9e2c3ba5f07316364da8f5e46a2bbc7c52
[ "MIT" ]
13
2020-10-23T13:38:26.000Z
2022-03-18T12:10:10.000Z
# coding=utf-8 from nlpir.native.nlpir_base import NLPIRBase from ctypes import c_bool, c_char_p, c_int, POINTER, Structure, c_float
27.957265
112
0.597982
1c2af8e5727d2303652df4218b453994acacde5b
1,875
py
Python
tests/param/get_param_type_spec_test.py
nickgaya/bravado-core
16e752963bfceb4adfa43724085bc4127eefcd59
[ "BSD-3-Clause" ]
122
2015-04-22T17:31:18.000Z
2021-11-08T10:29:57.000Z
tests/param/get_param_type_spec_test.py
nickgaya/bravado-core
16e752963bfceb4adfa43724085bc4127eefcd59
[ "BSD-3-Clause" ]
364
2015-04-10T22:19:23.000Z
2022-02-25T08:55:10.000Z
tests/param/get_param_type_spec_test.py
nickgaya/bravado-core
16e752963bfceb4adfa43724085bc4127eefcd59
[ "BSD-3-Clause" ]
118
2015-04-20T15:11:53.000Z
2021-12-09T10:03:34.000Z
# -*- coding: utf-8 -*- import pytest from mock import Mock from bravado_core.exception import SwaggerMappingError from bravado_core.operation import Operation from bravado_core.param import get_param_type_spec from bravado_core.param import Param from bravado_core.spec import Spec
31.25
76
0.678933
1c2b194566a9e96dba834338ec915a2289eb1837
682
py
Python
functions/markdown-to-html/markdown2html.py
truls/faas-profiler
d54ca0d9926f38c693f616ba4d08414aea823f51
[ "MIT" ]
null
null
null
functions/markdown-to-html/markdown2html.py
truls/faas-profiler
d54ca0d9926f38c693f616ba4d08414aea823f51
[ "MIT" ]
null
null
null
functions/markdown-to-html/markdown2html.py
truls/faas-profiler
d54ca0d9926f38c693f616ba4d08414aea823f51
[ "MIT" ]
null
null
null
# Copyright (c) 2019 Princeton University # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. from markdown import markdown import base64 import json import base64
29.652174
108
0.690616
1c2b4a1c07a03c84645790de2fd147b0a49af942
779
py
Python
Python Files/Dataset_Formating/Audio_splicing.py
brennanMosher/Music-Genre-Recognition-using-a-Machine-Learning-Appraoch
7834fe5d709e894322ad76ef118067febaa78bce
[ "MIT" ]
1
2021-04-13T16:22:27.000Z
2021-04-13T16:22:27.000Z
Python Files/Dataset_Formating/Audio_splicing.py
brennanMosher/Music-Genre-Recognition-using-a-Machine-Learning-Appraoch
7834fe5d709e894322ad76ef118067febaa78bce
[ "MIT" ]
null
null
null
Python Files/Dataset_Formating/Audio_splicing.py
brennanMosher/Music-Genre-Recognition-using-a-Machine-Learning-Appraoch
7834fe5d709e894322ad76ef118067febaa78bce
[ "MIT" ]
null
null
null
from pydub import AudioSegment import os import math from pathlib import Path ''' Splice wav files into multiple segments. ''' LENGTH = 3 # Set splice length in seconds
25.129032
89
0.65982
1c2b5a500905db564cebad53847b80d4840a37d9
3,947
py
Python
manpages.py
mba811/dash-manpages-zh
94f7345f48084c2fa22ae00996920d1309458649
[ "Apache-2.0" ]
1
2020-04-09T10:51:01.000Z
2020-04-09T10:51:01.000Z
manpages.py
mba811/dash-manpages-zh
94f7345f48084c2fa22ae00996920d1309458649
[ "Apache-2.0" ]
null
null
null
manpages.py
mba811/dash-manpages-zh
94f7345f48084c2fa22ae00996920d1309458649
[ "Apache-2.0" ]
1
2020-09-16T03:04:18.000Z
2020-09-16T03:04:18.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- """ @author: Wu Liang @contact: @date: 2014/06/23 """ import os import sqlite3 import urllib2 import shutil import tarfile import hashlib import codecs from mako.template import Template from pyquery import PyQuery currentPath = os.path.join(os.path.dirname(os.path.real...
30.835938
122
0.698759
1c2c1ecff02208f628aa2e65eae53abaf0c94bd6
1,527
py
Python
docs/conf.py
alexweav/nisystemlink-clients-python
f19a30907a7fef536043ecbddc5a755e5fedf846
[ "MIT" ]
null
null
null
docs/conf.py
alexweav/nisystemlink-clients-python
f19a30907a7fef536043ecbddc5a755e5fedf846
[ "MIT" ]
null
null
null
docs/conf.py
alexweav/nisystemlink-clients-python
f19a30907a7fef536043ecbddc5a755e5fedf846
[ "MIT" ]
null
null
null
import os import sys sys.path.insert(0, os.path.abspath("..")) # -------------------------------------------------------------------------------------- project = "nisystemlink" copyright = "2020, National Instruments" author = "National Instruments" # The short X.Y version version = "0.1" # The full version, includ...
26.789474
88
0.587426
1c2c9eed7b32e658c90b6a2885b2e30dd90f1dbc
2,702
py
Python
multinet/api/views/common.py
multinet-app/multinet-api
a658d787f0fb9ba415ed85a1e37c29953486287f
[ "Apache-2.0" ]
null
null
null
multinet/api/views/common.py
multinet-app/multinet-api
a658d787f0fb9ba415ed85a1e37c29953486287f
[ "Apache-2.0" ]
91
2021-03-15T19:00:15.000Z
2022-03-11T00:04:05.000Z
multinet/api/views/common.py
multinet-app/multinet-api
a658d787f0fb9ba415ed85a1e37c29953486287f
[ "Apache-2.0" ]
1
2022-02-05T15:53:04.000Z
2022-02-05T15:53:04.000Z
from typing import Dict, List from arango.cursor import Cursor from django.http.response import Http404 from django.shortcuts import get_object_or_404 from rest_framework.pagination import LimitOffsetPagination from rest_framework.request import Request from rest_framework_extensions.mixins import NestedViewSetMixin ...
33.358025
96
0.703923
1c2cf799737827ae82cb008c68687ac40ab5260f
2,613
py
Python
scripts/tests/generate_host_files.py
NDevTK/cel
e97226416b6e12245564bfc1c3631d610d62f052
[ "BSD-3-Clause" ]
null
null
null
scripts/tests/generate_host_files.py
NDevTK/cel
e97226416b6e12245564bfc1c3631d610d62f052
[ "BSD-3-Clause" ]
null
null
null
scripts/tests/generate_host_files.py
NDevTK/cel
e97226416b6e12245564bfc1c3631d610d62f052
[ "BSD-3-Clause" ]
null
null
null
# Copyright 2018 The Chromium 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 argparse import logging import os import sys if __name__ == '__main__': args = ParseArgs() ConfigureLogging(args) logging.info("Arguments:...
31.107143
78
0.677
1c2db146a81095258082a5e01445b3cddf1eab20
8,037
py
Python
users/models.py
moshthepitt/probsc
9b8cab206bb1c41238e36bd77f5e0573df4d8e2d
[ "MIT" ]
null
null
null
users/models.py
moshthepitt/probsc
9b8cab206bb1c41238e36bd77f5e0573df4d8e2d
[ "MIT" ]
null
null
null
users/models.py
moshthepitt/probsc
9b8cab206bb1c41238e36bd77f5e0573df4d8e2d
[ "MIT" ]
null
null
null
from django.conf import settings from django.db import models from django.utils.translation import ugettext_lazy as _ from django.utils.encoding import python_2_unicode_compatible from django.urls import reverse from django_extensions.db.models import TimeStampedModel from mptt.models import MPTTModel, TreeForeignKey ...
33.911392
79
0.630459
1c2e98b8bfffd32e002ee05aa4877b21658d72a4
59,466
py
Python
azure-devops/azure/devops/released/build/build_client.py
imafidon2020/azure-devops-python-api
ea9075f0c54dbc10115a23a8b7ad34feacbbdc14
[ "MIT" ]
248
2019-05-10T14:20:24.000Z
2022-03-29T12:17:27.000Z
azure-devops/azure/devops/released/build/build_client.py
AzureMentor/azure-devops-python-api
3838e91d662dba1f77b43ad560ca23c1cb7e84e8
[ "MIT" ]
147
2019-05-08T14:20:49.000Z
2022-03-28T19:36:21.000Z
azure-devops/azure/devops/released/build/build_client.py
AzureMentor/azure-devops-python-api
3838e91d662dba1f77b43ad560ca23c1cb7e84e8
[ "MIT" ]
121
2019-05-08T06:24:39.000Z
2022-03-01T12:58:02.000Z
# -------------------------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # --------------------------------------------------------------------...
54.505958
411
0.618437
1c2ecd7374ac4b43cc0c12a94a556e95164106a8
190
py
Python
tests/test_train.py
hugobb/sgda
69dcda47bb2c5b76d46ead32eb46ab5fb5e5e6d3
[ "MIT" ]
1
2022-02-16T04:20:02.000Z
2022-02-16T04:20:02.000Z
tests/test_train.py
hugobb/sgda
69dcda47bb2c5b76d46ead32eb46ab5fb5e5e6d3
[ "MIT" ]
null
null
null
tests/test_train.py
hugobb/sgda
69dcda47bb2c5b76d46ead32eb46ab5fb5e5e6d3
[ "MIT" ]
null
null
null
import unittest from gamesopt.train import train, TrainConfig
27.142857
45
0.736842
1c2ee79c50e5332807a24a1c5c70089c0090c76c
91
py
Python
loadCSVdata.py
christostsekouronas/academyposttestanalysis
913a0c13ad0482927a323b2fb3a97a8e2ca26517
[ "MIT" ]
null
null
null
loadCSVdata.py
christostsekouronas/academyposttestanalysis
913a0c13ad0482927a323b2fb3a97a8e2ca26517
[ "MIT" ]
null
null
null
loadCSVdata.py
christostsekouronas/academyposttestanalysis
913a0c13ad0482927a323b2fb3a97a8e2ca26517
[ "MIT" ]
null
null
null
import pandas as pd
13
30
0.692308
1c2f9886c30209c8f8c18348757a2729fc8d5b30
1,832
py
Python
sdk/applicationinsights/azure-mgmt-applicationinsights/azure/mgmt/applicationinsights/v2015_05_01/models/_application_insights_management_client_enums.py
iscai-msft/azure-sdk-for-python
83715b95c41e519d5be7f1180195e2fba136fc0f
[ "MIT" ]
8
2021-01-13T23:44:08.000Z
2021-03-17T10:13:36.000Z
sdk/applicationinsights/azure-mgmt-applicationinsights/azure/mgmt/applicationinsights/v2015_05_01/models/_application_insights_management_client_enums.py
iscai-msft/azure-sdk-for-python
83715b95c41e519d5be7f1180195e2fba136fc0f
[ "MIT" ]
226
2019-07-24T07:57:21.000Z
2019-10-15T01:07:24.000Z
sdk/applicationinsights/azure-mgmt-applicationinsights/azure/mgmt/applicationinsights/v2015_05_01/models/_application_insights_management_client_enums.py
iscai-msft/azure-sdk-for-python
83715b95c41e519d5be7f1180195e2fba136fc0f
[ "MIT" ]
2
2020-05-21T22:51:22.000Z
2020-05-26T20:53:01.000Z
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # # Code generated by Microsoft (R) AutoRest Code Generator. # Changes ...
17.960784
76
0.600437
1c2fb781ddcd4218fd8a81658d8b1820f7658753
425
py
Python
setup.py
dhruvdcoder/allennlp-wandb
160dceb1f4cec8e893b856d333bc302748afdd74
[ "MIT" ]
null
null
null
setup.py
dhruvdcoder/allennlp-wandb
160dceb1f4cec8e893b856d333bc302748afdd74
[ "MIT" ]
null
null
null
setup.py
dhruvdcoder/allennlp-wandb
160dceb1f4cec8e893b856d333bc302748afdd74
[ "MIT" ]
null
null
null
from setuptools import setup, find_packages install_requires = [ "allennlp>=0.9.0", "wandb==0.8.15", ] setup( name='allennlp_wandb', version='0.0.1', description='Utilities to use allennlp with wandb', packages=find_packages( exclude=["*.tests", "*.tests.*", "tests.*", "tests"]), p...
25
62
0.647059
1c30848fe8db838bf2ea7ab14ebea0d07ae3d297
2,311
py
Python
setup.py
mark-mishyn/django-axes
dfaf67810abd21a0e76200a4906c1bffdd4fa9c9
[ "MIT" ]
null
null
null
setup.py
mark-mishyn/django-axes
dfaf67810abd21a0e76200a4906c1bffdd4fa9c9
[ "MIT" ]
null
null
null
setup.py
mark-mishyn/django-axes
dfaf67810abd21a0e76200a4906c1bffdd4fa9c9
[ "MIT" ]
null
null
null
#!/usr/bin/env python from setuptools import setup, find_packages setup( name="django-axes", description="Keep track of failed login attempts in Django-powered sites.", long_description="\n".join( [ open("README.rst", encoding="utf-8").read(), open("CHANGES.rst", encoding="...
34.492537
87
0.581134
1c30c09f1bd3070f07f121e14a73ab704dad99b4
106
py
Python
achievements/admin.py
peterkrauz/rpg-achievements-django
c65ec12237b2bee9f12d259fedd5f18934ff6c96
[ "Apache-2.0" ]
1
2021-08-31T10:52:55.000Z
2021-08-31T10:52:55.000Z
achievements/admin.py
peterkrauz/rpg-achievements-django
c65ec12237b2bee9f12d259fedd5f18934ff6c96
[ "Apache-2.0" ]
null
null
null
achievements/admin.py
peterkrauz/rpg-achievements-django
c65ec12237b2bee9f12d259fedd5f18934ff6c96
[ "Apache-2.0" ]
null
null
null
from django.contrib import admin from achievements import models admin.site.register(models.Achievement)
21.2
39
0.849057
1c30e979a316677653e10a7d840b2373d881b549
1,925
py
Python
src/modules/loss.py
ab3llini/BlindLess
46c50fb2748b9d372044d00b901f0cde91946684
[ "MIT" ]
1
2022-03-19T09:19:12.000Z
2022-03-19T09:19:12.000Z
src/modules/loss.py
ab3llini/BlindLess
46c50fb2748b9d372044d00b901f0cde91946684
[ "MIT" ]
1
2020-02-06T18:26:07.000Z
2020-02-06T18:26:07.000Z
src/modules/loss.py
ab3llini/BlindLess
46c50fb2748b9d372044d00b901f0cde91946684
[ "MIT" ]
null
null
null
from torch.nn import CrossEntropyLoss
31.048387
75
0.619221
1c31541017e2e3db5152ae18abbb5211d1ab50d4
6,481
py
Python
analyze_tls.py
khushhallchandra/CN-project
405ce86e4e65e116531aa19287b8d05c959b1441
[ "MIT" ]
null
null
null
analyze_tls.py
khushhallchandra/CN-project
405ce86e4e65e116531aa19287b8d05c959b1441
[ "MIT" ]
null
null
null
analyze_tls.py
khushhallchandra/CN-project
405ce86e4e65e116531aa19287b8d05c959b1441
[ "MIT" ]
null
null
null
import numpy as np import pandas as pd import matplotlib.pyplot as plt if __name__ == '__main__': files_http1 = ['./results/benchmark_size/http1_txt1.csv', './results/benchmark_size/http1_txt2.csv', './results/benchmark_size/http1_txt3.csv', './results/benchmark_size/http1_txt4.csv', './results/benchmark_size/htt...
54.923729
257
0.738158
1c32015a3c35228c38c5bac706f794e1cdc33050
7,376
py
Python
validation/utils/m1.py
PedrV/stfX
017436cd4ade7f0ea95185d82408697c43ac6ce6
[ "MIT" ]
null
null
null
validation/utils/m1.py
PedrV/stfX
017436cd4ade7f0ea95185d82408697c43ac6ce6
[ "MIT" ]
null
null
null
validation/utils/m1.py
PedrV/stfX
017436cd4ade7f0ea95185d82408697c43ac6ce6
[ "MIT" ]
null
null
null
import unittest import os from matplotlib import pyplot as plt from shapely import geometry, affinity X_COORDINATE = 0 Y_COORDINATE = 1 def extract_x_y(polygon: list) -> (list, list): """Extract the x and y coordinates as two separate lists""" x_list = [] y_list = [] for vertex in polygon: x...
33.990783
102
0.590564
1c334c43ec9647ed0e0ec846ea0ec8b0f1abcbfa
1,332
py
Python
movefiles.py
linhailan/JPG-PNG-to-MNIST-NN-Format
c2ff84cb8d2dc6cd49c4d462b4d8ea2ba4620719
[ "Apache-2.0" ]
null
null
null
movefiles.py
linhailan/JPG-PNG-to-MNIST-NN-Format
c2ff84cb8d2dc6cd49c4d462b4d8ea2ba4620719
[ "Apache-2.0" ]
null
null
null
movefiles.py
linhailan/JPG-PNG-to-MNIST-NN-Format
c2ff84cb8d2dc6cd49c4d462b4d8ea2ba4620719
[ "Apache-2.0" ]
null
null
null
import os from PIL import Image from array import * from random import shuffle import shutil # Load from and save to Names = [['./training-images','train'], ['./test-images','test']] for name in Names: FileList = [] for dirname in os.listdir(name[0]): path = os.path.join(name[0],dirname) p...
25.615385
65
0.553303
1c33dae046d778c2acefa8efab3c4ae7565e1bc3
348
py
Python
spark_work.py
nszceta/spark-python-celery-demo
c5b03be4bb96699f8e41aa8a42fecd4c25c76331
[ "MIT" ]
8
2016-01-19T15:59:36.000Z
2018-04-25T09:00:57.000Z
spark_work.py
nszceta/spark-python-celery-demo
c5b03be4bb96699f8e41aa8a42fecd4c25c76331
[ "MIT" ]
null
null
null
spark_work.py
nszceta/spark-python-celery-demo
c5b03be4bb96699f8e41aa8a42fecd4c25c76331
[ "MIT" ]
null
null
null
import sys from pyspark import SparkContext import json print('spark got python path -> ' + str(sys.executable)) logfile = sys.argv[1] sc = SparkContext() logdata = sc.textFile(logfile).cache() a_count = logdata.filter(lambda s: 'a' in s).count() b_count = logdata.filter(lambda s: 'b' in s).count() print(json.dumps({'a...
31.636364
56
0.70977
1c33fa15ddbf9c5dfc357e4226f51b2734c6f579
738
py
Python
nodes/List/GetTaskRenderListIndex.py
atticus-lv/RenderNode
8a4797a2186b76fedebc5d634cff298e69089474
[ "Apache-2.0" ]
17
2021-11-21T09:26:55.000Z
2022-03-09T06:56:01.000Z
nodes/List/GetTaskRenderListIndex.py
atticus-lv/RenderNode
8a4797a2186b76fedebc5d634cff298e69089474
[ "Apache-2.0" ]
1
2021-12-05T13:02:48.000Z
2021-12-06T08:02:34.000Z
nodes/List/GetTaskRenderListIndex.py
atticus-lv/RenderNode
8a4797a2186b76fedebc5d634cff298e69089474
[ "Apache-2.0" ]
4
2021-11-23T14:49:34.000Z
2021-12-30T15:04:58.000Z
import bpy from bpy.props import * from ...nodes.BASE.node_base import RenderNodeBase
26.357143
81
0.730352
1c3521323cf7d57dc8b2b240d95a181b90cc3144
1,188
py
Python
src/recognizeDigit.py
RsTaK/Sudoku
8daa0a06906ce61d9a71586a8d28a3931ca4e5e3
[ "MIT" ]
2
2020-01-22T14:32:40.000Z
2021-12-23T20:42:52.000Z
src/recognizeDigit.py
RsTaK/Sudoku
8daa0a06906ce61d9a71586a8d28a3931ca4e5e3
[ "MIT" ]
4
2020-11-13T18:54:24.000Z
2022-02-10T02:10:00.000Z
src/recognizeDigit.py
RsTaK/Sudoku
8daa0a06906ce61d9a71586a8d28a3931ca4e5e3
[ "MIT" ]
1
2020-01-22T14:02:50.000Z
2020-01-22T14:02:50.000Z
from keras.models import load_model import cv2 import pickle import keras.backend as K import numpy as np from src.model_path import MODEL_PATH '''def predict(self, cell): model = load_model('./model/Model.h5') f = K.function([model.layers[0].input, K.learning_phase()],[model.layers[-1].output]) rescaled_cell = ...
27
87
0.705387
1c3558d607658f8dea73cab624fa5807f1ade4f4
4,544
py
Python
plots.py
olihawkins/penguin-models
fabecdf6336390fc50e67cfd8494ade69fc3ef7f
[ "BSD-3-Clause" ]
1
2021-05-05T10:17:01.000Z
2021-05-05T10:17:01.000Z
plots.py
olihawkins/penguin-models
fabecdf6336390fc50e67cfd8494ade69fc3ef7f
[ "BSD-3-Clause" ]
null
null
null
plots.py
olihawkins/penguin-models
fabecdf6336390fc50e67cfd8494ade69fc3ef7f
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- """A module for plotting penguins data for modelling with scikit-learn.""" # Imports --------------------------------------------------------------------- import matplotlib as mpl import matplotlib.pyplot as plt import numpy as np import pandas as pd # Constants -----------------------------...
28.759494
79
0.574604
1c357d3712292b01ee95a5bca2342315acb4f8ef
623
py
Python
dojo/db_migrations/0147_rename_sslyze_parser.py
dant24/django-DefectDojo
caf5c91b3f8870d5f466dfaaf5a3a096f8812ad9
[ "BSD-3-Clause" ]
249
2016-09-06T21:04:40.000Z
2018-01-19T15:59:44.000Z
dojo/db_migrations/0147_rename_sslyze_parser.py
dant24/django-DefectDojo
caf5c91b3f8870d5f466dfaaf5a3a096f8812ad9
[ "BSD-3-Clause" ]
255
2016-09-06T21:36:37.000Z
2018-01-19T19:57:57.000Z
dojo/db_migrations/0147_rename_sslyze_parser.py
dant24/django-DefectDojo
caf5c91b3f8870d5f466dfaaf5a3a096f8812ad9
[ "BSD-3-Clause" ]
152
2016-09-06T21:04:54.000Z
2018-01-18T08:52:24.000Z
from django.db import migrations
25.958333
83
0.678973
1c35f69ad59be07090db7f3539f86ff7d6d0b4e8
4,203
py
Python
server/forestgame/game/test_world.py
Nick-Pearson/forestgame
8a37225adbe6da9df7851eba34ad06806da0ce48
[ "0BSD" ]
null
null
null
server/forestgame/game/test_world.py
Nick-Pearson/forestgame
8a37225adbe6da9df7851eba34ad06806da0ce48
[ "0BSD" ]
5
2021-03-10T14:18:45.000Z
2022-03-12T00:28:29.000Z
server/forestgame/game/test_world.py
Nick-Pearson/forestgame
8a37225adbe6da9df7851eba34ad06806da0ce48
[ "0BSD" ]
null
null
null
import unittest from forestgame.game.world import World
26.601266
66
0.610278
1c362cfcd82b4292b1b1b46edbeee9a97e7fba89
9,756
py
Python
invconv/xlsx.py
TechPowerAwaits/ax-toolkit
d49924ef2dcd3f54f494ba3859afb070cc12ef91
[ "0BSD" ]
null
null
null
invconv/xlsx.py
TechPowerAwaits/ax-toolkit
d49924ef2dcd3f54f494ba3859afb070cc12ef91
[ "0BSD" ]
16
2021-04-14T03:46:37.000Z
2022-02-11T16:15:00.000Z
invconv/xlsx.py
TechPowerAwaits/ax-toolkit
d49924ef2dcd3f54f494ba3859afb070cc12ef91
[ "0BSD" ]
null
null
null
# Copyright 2021 Richard Johnston <techpowerawaits@outlook.com> # SPDX-license-identifier: 0BSD import string from loguru import logger try: import cell_pos from exceptions import InvconvMissingHeaders import ftype import msg_handler except ModuleNotFoundError: import invconv.cell_pos as cell_pos...
33.410959
119
0.625974
1c369e5832adc50f438c555f56dfcb9a9431f342
5,501
py
Python
solvers/generation_solver/img_interface.py
Anthony102899/Lego-ImageGenerator
52b19c8bb20f77a3394675e7c037c943a50c1e15
[ "Unlicense" ]
1
2022-03-20T10:23:38.000Z
2022-03-20T10:23:38.000Z
solvers/generation_solver/img_interface.py
Anthony102899/Lego-ImageGenerator
52b19c8bb20f77a3394675e7c037c943a50c1e15
[ "Unlicense" ]
null
null
null
solvers/generation_solver/img_interface.py
Anthony102899/Lego-ImageGenerator
52b19c8bb20f77a3394675e7c037c943a50c1e15
[ "Unlicense" ]
null
null
null
import os from tkinter import * import tkinter.filedialog as tkfd from PIL import Image import numpy as np import solvers.generation_solver.image_seperation as IS if __name__ == '__main__': print(show_interface())
42.315385
158
0.616797
1c3759df5a38cc9eec92e29506b100742f627706
953
py
Python
Constellations/get_brightest_stars.py
PatD123/Polar-Constellation
86f54ae2028a4f351b9f1a056aa3166f49541679
[ "MIT" ]
null
null
null
Constellations/get_brightest_stars.py
PatD123/Polar-Constellation
86f54ae2028a4f351b9f1a056aa3166f49541679
[ "MIT" ]
null
null
null
Constellations/get_brightest_stars.py
PatD123/Polar-Constellation
86f54ae2028a4f351b9f1a056aa3166f49541679
[ "MIT" ]
null
null
null
from bs4 import BeautifulSoup as soup from urllib.request import urlopen as uReq import re, json # Getting the page URL = "https://www.astronomytrek.com/star-constellations-brightest-stars/" uClient = uReq(url=URL) page_html = uClient.read() page_soup = soup(page_html, "html.parser") # Opening a file to write in star...
27.228571
74
0.651626
1c38a65740967a1e49c94a99e84549d3470de0b7
493
py
Python
TwoPointers/Leetcode11.py
Rylie-W/LeetRecord
623c4efe88b3af54b8a65f6ec23db850b8c6f46f
[ "Apache-2.0" ]
null
null
null
TwoPointers/Leetcode11.py
Rylie-W/LeetRecord
623c4efe88b3af54b8a65f6ec23db850b8c6f46f
[ "Apache-2.0" ]
null
null
null
TwoPointers/Leetcode11.py
Rylie-W/LeetRecord
623c4efe88b3af54b8a65f6ec23db850b8c6f46f
[ "Apache-2.0" ]
null
null
null
if __name__ == '__main__': sol=Solution() # height = [1, 1] height=[1,3,2,5,25,24,5] print(sol.maxArea(height))
25.947368
69
0.543611
1c38c6e2555cdc9fef807ccf4fe2adf10311bc9a
13,688
py
Python
tensorflow_text/python/ops/bert_tokenizer_test.py
hashim361/text
141ed3ae72078a5da431831ce718c8d09fbf4f92
[ "Apache-2.0" ]
1
2020-10-10T14:10:07.000Z
2020-10-10T14:10:07.000Z
tensorflow_text/python/ops/bert_tokenizer_test.py
pranayjoshi/text
5a12211ac370f989ca359d232d3081a889e859dd
[ "Apache-2.0" ]
null
null
null
tensorflow_text/python/ops/bert_tokenizer_test.py
pranayjoshi/text
5a12211ac370f989ca359d232d3081a889e859dd
[ "Apache-2.0" ]
null
null
null
# coding=utf-8 # Copyright 2020 TF.Text Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
31.179954
80
0.512566
1c3b16c69b0c5704668f2afab4edc623fff685bf
5,324
py
Python
tests/index_test.py
DubeySandeep/pending-review-notification
353fa74d98eeb6c8386818273a2fe02af39d6b9d
[ "Apache-2.0" ]
null
null
null
tests/index_test.py
DubeySandeep/pending-review-notification
353fa74d98eeb6c8386818273a2fe02af39d6b9d
[ "Apache-2.0" ]
null
null
null
tests/index_test.py
DubeySandeep/pending-review-notification
353fa74d98eeb6c8386818273a2fe02af39d6b9d
[ "Apache-2.0" ]
1
2021-10-20T16:24:04.000Z
2021-10-20T16:24:04.000Z
"""Unit test for the index.py file.""" import unittest from datetime import datetime, timedelta, timezone import json from unittest.mock import patch, mock_open import requests_mock from src import index from src import github_services
35.493333
79
0.523666
1c3c2ebbf2a88dc388bb0314813d8b32b385e4b0
3,133
py
Python
rqalpha/data/instrument_mixin.py
mysky528/rqalpha
ecd550fc30aee96f9995e8152e2c48f5512f8b11
[ "Apache-2.0" ]
3
2017-07-11T15:37:24.000Z
2021-11-22T14:21:13.000Z
rqalpha/data/instrument_mixin.py
mysky528/rqalpha
ecd550fc30aee96f9995e8152e2c48f5512f8b11
[ "Apache-2.0" ]
null
null
null
rqalpha/data/instrument_mixin.py
mysky528/rqalpha
ecd550fc30aee96f9995e8152e2c48f5512f8b11
[ "Apache-2.0" ]
2
2019-04-26T07:51:08.000Z
2020-12-01T20:59:04.000Z
# -*- coding: utf-8 -*- # # Copyright 2017 Ricequant, 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 ...
40.166667
100
0.620172
1c3ca96a8752bea73f340ee28894ea1bdab8af22
215
py
Python
Python 3/19.prac_no2.py
ByeonUi-Hyeok/practice
6f55ddcb662e2bf8e0c3fb4c4af0beb77a1c7d2d
[ "MIT" ]
1
2021-06-11T08:55:03.000Z
2021-06-11T08:55:03.000Z
Python 3/19.prac_no2.py
ByeonUi-Hyeok/practice
6f55ddcb662e2bf8e0c3fb4c4af0beb77a1c7d2d
[ "MIT" ]
null
null
null
Python 3/19.prac_no2.py
ByeonUi-Hyeok/practice
6f55ddcb662e2bf8e0c3fb4c4af0beb77a1c7d2d
[ "MIT" ]
null
null
null
import funcvote as vote votes = input(" >>>") # print(votes) # print(type(votes)) result = vote.str2int(votes) print(vote.countvotes(result)) result = vote.countvotes(result) vote.printvote(result) #
14.333333
32
0.716279
1c3d09dc17bc58a64b3b41021ca264b66d8e9b31
427
py
Python
tutorials/30-days-of-code/30-operators.py
PingHuskar/hackerrank
1bfdbc63de5d0f94cd9e6ae250476b4a267662f2
[ "Unlicense" ]
41
2018-05-11T07:54:34.000Z
2022-03-29T19:02:32.000Z
tutorials/30-days-of-code/30-operators.py
PingHuskar/hackerrank
1bfdbc63de5d0f94cd9e6ae250476b4a267662f2
[ "Unlicense" ]
2
2021-09-13T10:03:26.000Z
2021-10-04T10:21:05.000Z
tutorials/30-days-of-code/30-operators.py
PingHuskar/hackerrank
1bfdbc63de5d0f94cd9e6ae250476b4a267662f2
[ "Unlicense" ]
21
2019-01-23T19:06:59.000Z
2021-12-23T16:03:47.000Z
# Day 2: Operators # Start using arithmetic operators. # # https://www.hackerrank.com/challenges/30-operators/problem # #!/bin/python3 import sys if __name__ == "__main__": meal_cost = float(input().strip()) tip_percent = int(input().strip()) tax_percent = int(input().strip()) cost = meal_cost * (1 ...
22.473684
66
0.665105
1c3e669806f961c690e3e607d0c5ebaae5ffefbe
2,503
py
Python
articles/views.py
qwghlm/CommentIsMee
2c11be1376ec693df28123727c3d86b38404fd71
[ "MIT" ]
null
null
null
articles/views.py
qwghlm/CommentIsMee
2c11be1376ec693df28123727c3d86b38404fd71
[ "MIT" ]
null
null
null
articles/views.py
qwghlm/CommentIsMee
2c11be1376ec693df28123727c3d86b38404fd71
[ "MIT" ]
null
null
null
from django.http import HttpResponse from django.template import RequestContext, loader from django.shortcuts import render, get_object_or_404, redirect from django.core.urlresolvers import reverse from django.core.cache import cache from articles.models import CIFArticle from .forms import CIFArticleForm def index(r...
32.934211
86
0.62485
1c3f21c6980082d2b5b98180066cf9ba8b94eb50
156
py
Python
utils/runtime_mode.py
omiderfanmanesh/dengue-infections-prediction
6b4e4aa4af6f6e2cc581fd7828634bbfdc446340
[ "Apache-2.0" ]
null
null
null
utils/runtime_mode.py
omiderfanmanesh/dengue-infections-prediction
6b4e4aa4af6f6e2cc581fd7828634bbfdc446340
[ "Apache-2.0" ]
null
null
null
utils/runtime_mode.py
omiderfanmanesh/dengue-infections-prediction
6b4e4aa4af6f6e2cc581fd7828634bbfdc446340
[ "Apache-2.0" ]
1
2021-06-05T10:05:44.000Z
2021-06-05T10:05:44.000Z
# Copyright (c) 2021, Omid Erfanmanesh, All rights reserved.
19.5
61
0.666667
1c41c0dd3400c46c01883be0652a07078deef3cb
2,616
py
Python
pydoc_fork/__main__.py
matthewdeanmartin/pydoc_fork
174475b15be966f3751d5563b4db0beecc3ab1f9
[ "MIT" ]
null
null
null
pydoc_fork/__main__.py
matthewdeanmartin/pydoc_fork
174475b15be966f3751d5563b4db0beecc3ab1f9
[ "MIT" ]
1
2022-01-17T16:28:45.000Z
2022-01-17T16:28:45.000Z
pydoc_fork/__main__.py
matthewdeanmartin/pydoc_fork
174475b15be966f3751d5563b4db0beecc3ab1f9
[ "MIT" ]
null
null
null
# noinspection PyPep8 """pydoc_fork A fork of pydoc that is optimized for generating html documentation in a CI context Usage: pydoc_fork <package>... [options] pydoc_fork (-h | --help) pydoc_fork --version Options: -h --help Show this screen. -v --version Show version. ...
31.518072
86
0.64526
1c41d05846e91ffb115828352ba38c0ccc9074be
444
py
Python
backend/src/libs/strings.py
codeglitchz/attendance-system
c82a8d75375069b15e0b827608209bfacb67cde7
[ "MIT" ]
37
2019-12-15T17:39:38.000Z
2022-03-13T08:16:09.000Z
backend/src/libs/strings.py
codeglitchz/attendance-system
c82a8d75375069b15e0b827608209bfacb67cde7
[ "MIT" ]
16
2020-05-05T14:17:26.000Z
2022-03-02T09:09:38.000Z
backend/src/libs/strings.py
codeglitchz/attendance-system
c82a8d75375069b15e0b827608209bfacb67cde7
[ "MIT" ]
18
2019-12-15T17:39:43.000Z
2022-01-22T10:42:41.000Z
""" libs.strings By default, uses `en-gb.json` file inside the `strings` top-level folder. If language changes, set `libs.strings.default_locale` and run `libs.strings.refresh()`. """ import json default_locale = "en-us" cached_strings = {} refresh()
17.76
88
0.702703
1c420085b055ce7cdac960f6e45563c43bc3b205
5,881
py
Python
nemo_cmd/deflate.py
SalishSeaCast/NEMO-Cmd
a1fb05c4430e152a7dae57296bce364f73752129
[ "Apache-2.0" ]
1
2020-03-26T16:42:26.000Z
2020-03-26T16:42:26.000Z
nemo_cmd/deflate.py
SalishSeaCast/NEMO-Cmd
a1fb05c4430e152a7dae57296bce364f73752129
[ "Apache-2.0" ]
10
2020-03-23T21:19:25.000Z
2021-11-01T22:12:17.000Z
nemo_cmd/deflate.py
SalishSeaCast/NEMO-Cmd
a1fb05c4430e152a7dae57296bce364f73752129
[ "Apache-2.0" ]
null
null
null
# Copyright 2013-2021 The Salish Sea MEOPAR Contributors # and The University of British Columbia # 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...
32.672222
87
0.631185
1c4260852b0f621da5efbc981c92c14d38f9bbe8
1,469
py
Python
src/UQpy/distributions/collection/__init__.py
SURGroup/UncertaintyQuantification
a94c8db47d07134ea2b3b0a3ca53ca818532c3e6
[ "MIT" ]
null
null
null
src/UQpy/distributions/collection/__init__.py
SURGroup/UncertaintyQuantification
a94c8db47d07134ea2b3b0a3ca53ca818532c3e6
[ "MIT" ]
null
null
null
src/UQpy/distributions/collection/__init__.py
SURGroup/UncertaintyQuantification
a94c8db47d07134ea2b3b0a3ca53ca818532c3e6
[ "MIT" ]
null
null
null
"""distributions module.""" from UQpy.distributions.collection.Beta import Beta from UQpy.distributions.collection.Binomial import Binomial from UQpy.distributions.collection.Cauchy import Cauchy from UQpy.distributions.collection.ChiSquare import ChiSquare from UQpy.distributions.collection.Exponential import Exponent...
58.76
79
0.884275
1c4262cdeb92ebd6c335d957cdc8fd8bfca03129
190
py
Python
Learning Python/Exercise Files/Ch2/helloworld_my.py
RomanShevtsiv/linkedin-learning
d7ec85953b7e88905f87928ede067d32344b984f
[ "MIT" ]
null
null
null
Learning Python/Exercise Files/Ch2/helloworld_my.py
RomanShevtsiv/linkedin-learning
d7ec85953b7e88905f87928ede067d32344b984f
[ "MIT" ]
null
null
null
Learning Python/Exercise Files/Ch2/helloworld_my.py
RomanShevtsiv/linkedin-learning
d7ec85953b7e88905f87928ede067d32344b984f
[ "MIT" ]
null
null
null
# # Example file for HelloWorld # if __name__ == "__main__": main()
13.571429
39
0.594737
1c42d191e50517487ce29edd00a0d3e85b40a9be
15,309
py
Python
RocketSimulation.py
pietrotrope/SolarSystemSimulation
905eec31eb73e1203ee23a32846954b30bbc5925
[ "MIT" ]
null
null
null
RocketSimulation.py
pietrotrope/SolarSystemSimulation
905eec31eb73e1203ee23a32846954b30bbc5925
[ "MIT" ]
null
null
null
RocketSimulation.py
pietrotrope/SolarSystemSimulation
905eec31eb73e1203ee23a32846954b30bbc5925
[ "MIT" ]
null
null
null
import sys import csv import json import math import pygame import numpy as np from pygame.locals import * import pandas as pd from data import * from agent import agentsList, Agent global screenSize screenSize = [1920, 1080] def run_simulation(burn_time): params = load_parameters("RocketSimulationData/info...
33.720264
118
0.528317
1c43093fa85de4f6e1de23a0ecc3b43530f42260
126
py
Python
sourcecode/GAN/FID/__init__.py
toufeeqahamedns/GeneratingHumanFaces
93048bf5f6ae99424f918b0d0fea46d21abee0cb
[ "MIT" ]
null
null
null
sourcecode/GAN/FID/__init__.py
toufeeqahamedns/GeneratingHumanFaces
93048bf5f6ae99424f918b0d0fea46d21abee0cb
[ "MIT" ]
null
null
null
sourcecode/GAN/FID/__init__.py
toufeeqahamedns/GeneratingHumanFaces
93048bf5f6ae99424f918b0d0fea46d21abee0cb
[ "MIT" ]
null
null
null
""" Package has implementation for the FID score calculation """ from GAN.FID import fid_score from GAN.FID import inception
21
60
0.785714