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
c75d41f3ecd90250dc9544657aba89378f5765d0
2,150
py
Python
services/UserService.py
erginbalta/FarmChain
a542d19212f176b7b5d12806078459da105e5afa
[ "Apache-2.0" ]
1
2021-01-16T14:38:21.000Z
2021-01-16T14:38:21.000Z
services/UserService.py
erginbalta/FarmChain
a542d19212f176b7b5d12806078459da105e5afa
[ "Apache-2.0" ]
null
null
null
services/UserService.py
erginbalta/FarmChain
a542d19212f176b7b5d12806078459da105e5afa
[ "Apache-2.0" ]
1
2020-07-23T04:00:07.000Z
2020-07-23T04:00:07.000Z
import mysql.connector import socket from contextlib import closing import json import random packetType= ["INF","TRN","USR"] database = mysql.connector.connect( host="localhost", user="root", port="3307", passwd="ergin00000", database="farmchain" )
26.875
119
0.676744
c75e39b34cd2c6335e68141ae306111fa4b684be
10,238
py
Python
tests/blackbox/access_settings/test_bb_access_settings.py
csanders-git/waflz
ec8fc7c845f20a2a8c757d13845ba22a6d7c5b28
[ "Apache-2.0" ]
1
2019-03-16T09:02:58.000Z
2019-03-16T09:02:58.000Z
tests/blackbox/access_settings/test_bb_access_settings.py
csanders-git/waflz
ec8fc7c845f20a2a8c757d13845ba22a6d7c5b28
[ "Apache-2.0" ]
null
null
null
tests/blackbox/access_settings/test_bb_access_settings.py
csanders-git/waflz
ec8fc7c845f20a2a8c757d13845ba22a6d7c5b28
[ "Apache-2.0" ]
1
2021-04-22T09:43:46.000Z
2021-04-22T09:43:46.000Z
#!/usr/bin/python '''Test WAF Access settings''' #TODO: make so waflz_server only runs once and then can post to it # ------------------------------------------------------------------------------ # Imports # ------------------------------------------------------------------------------ import pytest import subprocess...
49.458937
117
0.511428
c75ec65b0817a875da33fd517bd4f04f459ffba4
2,852
py
Python
cosmosis/runtime/analytics.py
ktanidis2/Modified_CosmoSIS_for_galaxy_number_count_angular_power_spectra
07e5d308c6a8641a369a3e0b8d13c4104988cd2b
[ "BSD-2-Clause" ]
1
2021-09-15T10:10:26.000Z
2021-09-15T10:10:26.000Z
cosmosis/runtime/analytics.py
ktanidis2/Modified_CosmoSIS_for_galaxy_number_count_angular_power_spectra
07e5d308c6a8641a369a3e0b8d13c4104988cd2b
[ "BSD-2-Clause" ]
null
null
null
cosmosis/runtime/analytics.py
ktanidis2/Modified_CosmoSIS_for_galaxy_number_count_angular_power_spectra
07e5d308c6a8641a369a3e0b8d13c4104988cd2b
[ "BSD-2-Clause" ]
1
2021-06-11T15:29:43.000Z
2021-06-11T15:29:43.000Z
#coding: utf-8 from __future__ import print_function from builtins import zip from builtins import object from cosmosis import output as output_module import numpy as np import sys import os
31.688889
73
0.543829
c76014b2a087d9f2456ffc8e8847fb9b397481a4
8,148
py
Python
sdcc2elf.py
Vector35/llil_transpiler
6f6f368d34cb872460ad1634ddcbc4207276feb6
[ "MIT" ]
14
2019-08-23T13:49:07.000Z
2021-12-24T20:09:57.000Z
sdcc2elf.py
Vector35/llil_transpiler
6f6f368d34cb872460ad1634ddcbc4207276feb6
[ "MIT" ]
null
null
null
sdcc2elf.py
Vector35/llil_transpiler
6f6f368d34cb872460ad1634ddcbc4207276feb6
[ "MIT" ]
1
2021-12-24T20:10:00.000Z
2021-12-24T20:10:00.000Z
#!/usr/bin/env python # # convert SDCC .rel files to 32-bit ELF relocatable # # resulting file is simple: # # ------------------------ # ELF header # ------------------------ # .text section # .shstrtab section # .strtab section # .symtab section # ------------------------ # NULL elf32_shdr # .text elf32_shdr # .shstrt...
27.714286
88
0.567624
c760d11b6bcb337986c7f02b8372675729e8a684
3,743
py
Python
eval.py
nikinsta/deep-siamese-text-similarity-on-python-3
80fffd86da1d9f6bc0cb154a9415ff767d944777
[ "MIT" ]
null
null
null
eval.py
nikinsta/deep-siamese-text-similarity-on-python-3
80fffd86da1d9f6bc0cb154a9415ff767d944777
[ "MIT" ]
null
null
null
eval.py
nikinsta/deep-siamese-text-similarity-on-python-3
80fffd86da1d9f6bc0cb154a9415ff767d944777
[ "MIT" ]
null
null
null
#! /usr/bin/env python import tensorflow as tf import numpy as np import os import time import datetime from tensorflow.contrib import learn from input_helpers import InputHelper # Parameters # ================================================== # Eval Parameters tf.flags.DEFINE_integer("batch_size", 64, "Batch Size (...
42.05618
167
0.696767
c76173ed74a504071f1116fc3a7dc17a1c832c39
4,626
py
Python
accounts/views.py
nikhiljohn10/django-auth
01d97e8173436c3446f039cfa6472ece3cd9f96a
[ "MIT" ]
null
null
null
accounts/views.py
nikhiljohn10/django-auth
01d97e8173436c3446f039cfa6472ece3cd9f96a
[ "MIT" ]
null
null
null
accounts/views.py
nikhiljohn10/django-auth
01d97e8173436c3446f039cfa6472ece3cd9f96a
[ "MIT" ]
null
null
null
from django.urls import reverse from django.conf import settings from django.contrib import messages from django.shortcuts import render, redirect from django.core.mail import send_mail from django.contrib.auth import login, logout, views, authenticate from django.views.generic.edit import CreateView from django.contri...
31.684932
78
0.671422
c7651286d18c5a48356115767024669710aad666
29
py
Python
python/testData/intentions/PyAnnotateVariableTypeIntentionTest/annotationTupleType.py
truthiswill/intellij-community
fff88cfb0dc168eea18ecb745d3e5b93f57b0b95
[ "Apache-2.0" ]
2
2019-04-28T07:48:50.000Z
2020-12-11T14:18:08.000Z
python/testData/intentions/PyAnnotateVariableTypeIntentionTest/annotationTupleType.py
truthiswill/intellij-community
fff88cfb0dc168eea18ecb745d3e5b93f57b0b95
[ "Apache-2.0" ]
173
2018-07-05T13:59:39.000Z
2018-08-09T01:12:03.000Z
python/testData/intentions/PyAnnotateVariableTypeIntentionTest/annotationTupleType.py
truthiswill/intellij-community
fff88cfb0dc168eea18ecb745d3e5b93f57b0b95
[ "Apache-2.0" ]
2
2020-03-15T08:57:37.000Z
2020-04-07T04:48:14.000Z
v<caret>ar = (1, 'foo', None)
29
29
0.551724
c7655b5b6676c78858c562c5f53a9ea086d6bb5c
228
py
Python
bot/venv/lib/python3.7/site-packages/scipy/version.py
manaccac/sc2_bot
3aa8b3711378b71fd0a44662cdd7148846e39530
[ "MIT" ]
76
2020-07-06T14:44:05.000Z
2022-02-14T15:30:21.000Z
bot/venv/lib/python3.7/site-packages/scipy/version.py
manaccac/sc2_bot
3aa8b3711378b71fd0a44662cdd7148846e39530
[ "MIT" ]
37
2020-10-20T08:30:53.000Z
2020-12-22T13:15:45.000Z
bot/venv/lib/python3.7/site-packages/scipy/version.py
manaccac/sc2_bot
3aa8b3711378b71fd0a44662cdd7148846e39530
[ "MIT" ]
15
2020-11-30T22:12:22.000Z
2020-12-09T01:32:48.000Z
# THIS FILE IS GENERATED FROM SCIPY SETUP.PY short_version = '1.5.4' version = '1.5.4' full_version = '1.5.4' git_revision = '19acfed431060aafaa963f7e530c95e70cd4b85c' release = True if not release: version = full_version
20.727273
57
0.745614
c765b8fb3017f33809adece1e8c0d5771ccc24b7
356
py
Python
emrichen/input/__init__.py
jbek7/emrichen
b6b8327e35cb2b9f3da49519110ecc766a9ad741
[ "MIT" ]
null
null
null
emrichen/input/__init__.py
jbek7/emrichen
b6b8327e35cb2b9f3da49519110ecc766a9ad741
[ "MIT" ]
null
null
null
emrichen/input/__init__.py
jbek7/emrichen
b6b8327e35cb2b9f3da49519110ecc766a9ad741
[ "MIT" ]
null
null
null
from typing import TextIO, Union from .json import load_json from .yaml import load_yaml PARSERS = { 'yaml': load_yaml, 'json': load_json, }
20.941176
79
0.676966
c7675ba7953da5231174f58bf3d8e9f9039a7d72
5,668
py
Python
sdk/python/pulumi_aws_native/workspaces/get_workspace.py
pulumi/pulumi-aws-native
1ae4a4d9c2256b2a79ca536f8d8497b28d10e4c3
[ "Apache-2.0" ]
29
2021-09-30T19:32:07.000Z
2022-03-22T21:06:08.000Z
sdk/python/pulumi_aws_native/workspaces/get_workspace.py
pulumi/pulumi-aws-native
1ae4a4d9c2256b2a79ca536f8d8497b28d10e4c3
[ "Apache-2.0" ]
232
2021-09-30T19:26:26.000Z
2022-03-31T23:22:06.000Z
sdk/python/pulumi_aws_native/workspaces/get_workspace.py
pulumi/pulumi-aws-native
1ae4a4d9c2256b2a79ca536f8d8497b28d10e4c3
[ "Apache-2.0" ]
4
2021-11-10T19:42:01.000Z
2022-02-05T10:15:49.000Z
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities from...
41.985185
211
0.711009
c768daaabaf9920391bc3d2ee09b1a53e4d2788c
24
py
Python
testtools/__init__.py
afy2103/spambayes-9-10-Frozen
383db71e3b7b2141975cf66e6d223bb437511776
[ "PSF-2.0" ]
null
null
null
testtools/__init__.py
afy2103/spambayes-9-10-Frozen
383db71e3b7b2141975cf66e6d223bb437511776
[ "PSF-2.0" ]
null
null
null
testtools/__init__.py
afy2103/spambayes-9-10-Frozen
383db71e3b7b2141975cf66e6d223bb437511776
[ "PSF-2.0" ]
null
null
null
__author__ = 'AlexYang'
12
23
0.75
c768fa044e6b10f72fbfbfa85435ada393a83af3
673
py
Python
tests/test_distance.py
mkclairhong/quail
a6d6502746c853518a670d542222eb5fc2b05542
[ "MIT" ]
1
2018-05-30T15:33:26.000Z
2018-05-30T15:33:26.000Z
tests/test_distance.py
mkclairhong/quail
a6d6502746c853518a670d542222eb5fc2b05542
[ "MIT" ]
null
null
null
tests/test_distance.py
mkclairhong/quail
a6d6502746c853518a670d542222eb5fc2b05542
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from quail.distance import * import numpy as np import pytest from scipy.spatial.distance import cdist
21.03125
41
0.580981
c769abd3fe7f81479f81afe9e3156873d7f5b0e2
17,050
py
Python
utils/manisfestManager.py
ovitrac/pizza3
0f4dc6e362fd8665c72ec13328df05f9119dfbc3
[ "MIT" ]
1
2022-02-07T14:10:10.000Z
2022-02-07T14:10:10.000Z
utils/manisfestManager.py
ovitrac/Pizza3
0f4dc6e362fd8665c72ec13328df05f9119dfbc3
[ "MIT" ]
null
null
null
utils/manisfestManager.py
ovitrac/Pizza3
0f4dc6e362fd8665c72ec13328df05f9119dfbc3
[ "MIT" ]
null
null
null
#!/usr/bin/env python ############################################################################### # # # manifestManager.py # # ...
44.285714
130
0.436716
c76b9236e24c24d26fa468bcec0fccac39b536c2
27,999
py
Python
pysnmp/ZYXEL-AclV2-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
11
2021-02-02T16:27:16.000Z
2021-08-31T06:22:49.000Z
pysnmp/ZYXEL-AclV2-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
75
2021-02-24T17:30:31.000Z
2021-12-08T00:01:18.000Z
pysnmp/ZYXEL-AclV2-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 ZYXEL-AclV2-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/ZYXEL-AclV2-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 21:43:03 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27...
144.324742
5,641
0.792314
c76ca1375282328ef3e6038f93b1edf1d46d7f49
1,728
py
Python
af/shovel/test_canning.py
mimi89999/pipeline
3e9eaf74c0966df907a230fbe89407c2bbc3d930
[ "BSD-3-Clause" ]
null
null
null
af/shovel/test_canning.py
mimi89999/pipeline
3e9eaf74c0966df907a230fbe89407c2bbc3d930
[ "BSD-3-Clause" ]
null
null
null
af/shovel/test_canning.py
mimi89999/pipeline
3e9eaf74c0966df907a230fbe89407c2bbc3d930
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python2.7 import unittest import canning if __name__ == "__main__": unittest.main()
30.315789
100
0.609375
c76d58f2d02929d5eb4690fddd86e4d2f3a6dc3d
244
py
Python
Exercicios/ex061.py
jlsmirandela/Curso_Python
2419b68d335a2a42beb3e98fb93552aca1264cae
[ "MIT" ]
null
null
null
Exercicios/ex061.py
jlsmirandela/Curso_Python
2419b68d335a2a42beb3e98fb93552aca1264cae
[ "MIT" ]
null
null
null
Exercicios/ex061.py
jlsmirandela/Curso_Python
2419b68d335a2a42beb3e98fb93552aca1264cae
[ "MIT" ]
null
null
null
print('-+-' *10) print(' GERADOR DE PA') print('+-+' * 10) c = 1 ter = int(input('Insira o primeiro termo - ')) rz = int(input('Insira a razo - ')) while c <= 10: print(ter, ' ', end=' ') ter += rz c += 1 print('FIM')
14.352941
46
0.487705
c76e7fcaeb2193c977b2c4ee81febf00b7763cee
2,175
py
Python
gpytorch/models/approximate_gp.py
phumm/gpytorch
4e8042bcecda049956f8f9e823d82ba6340766d5
[ "MIT" ]
1
2019-09-30T06:51:03.000Z
2019-09-30T06:51:03.000Z
gpytorch/models/approximate_gp.py
phumm/gpytorch
4e8042bcecda049956f8f9e823d82ba6340766d5
[ "MIT" ]
null
null
null
gpytorch/models/approximate_gp.py
phumm/gpytorch
4e8042bcecda049956f8f9e823d82ba6340766d5
[ "MIT" ]
1
2020-09-16T16:35:27.000Z
2020-09-16T16:35:27.000Z
#!/usr/bin/env python3 from .gp import GP from .pyro import _PyroMixin # This will only contain functions if Pyro is installed
38.157895
114
0.593563
c76ec369645b0f101be129ffedbb1f290be5f94b
510
py
Python
tests/test_ping.py
d-wysocki/flask-resty
2a5e7d7ea7e2130dce44b8f50625df72ad0dcd19
[ "MIT" ]
86
2015-11-25T07:09:10.000Z
2022-02-15T19:40:30.000Z
tests/test_ping.py
d-wysocki/flask-resty
2a5e7d7ea7e2130dce44b8f50625df72ad0dcd19
[ "MIT" ]
180
2015-11-24T23:02:53.000Z
2022-03-31T04:05:38.000Z
tests/test_ping.py
d-wysocki/flask-resty
2a5e7d7ea7e2130dce44b8f50625df72ad0dcd19
[ "MIT" ]
17
2015-12-28T11:05:47.000Z
2022-03-15T12:10:02.000Z
import pytest from flask_resty import Api from flask_resty.testing import assert_response # ----------------------------------------------------------------------------- # ----------------------------------------------------------------------------- def test_ping(base_client): response = base_client.get("/pi...
23.181818
79
0.490196
c76f8dffc967eba49049f65ff4df98887b137c0d
1,476
py
Python
tests/test_vetters.py
pllim/exovetter
75c6ca609331c04a55c0a6b4c858be71a4dfdfea
[ "MIT", "BSD-3-Clause" ]
null
null
null
tests/test_vetters.py
pllim/exovetter
75c6ca609331c04a55c0a6b4c858be71a4dfdfea
[ "MIT", "BSD-3-Clause" ]
null
null
null
tests/test_vetters.py
pllim/exovetter
75c6ca609331c04a55c0a6b4c858be71a4dfdfea
[ "MIT", "BSD-3-Clause" ]
null
null
null
from numpy.testing import assert_allclose from astropy.io import ascii from astropy import units as u import lightkurve as lk from exovetter import const as exo_const from exovetter import vetters from exovetter.tce import Tce from astropy.utils.data import get_pkg_data_filename
25.894737
71
0.638889
c770f106a56c64793bd9f4e329f2b5bb1fbfddef
4,270
py
Python
pyqtgraph/dockarea/DockDrop.py
hishizuka/pyqtgraph
4820625d93ffb41f324431d0d29b395cf91f339e
[ "MIT" ]
2,762
2015-01-02T14:34:10.000Z
2022-03-30T14:06:07.000Z
pyqtgraph/dockarea/DockDrop.py
hishizuka/pyqtgraph
4820625d93ffb41f324431d0d29b395cf91f339e
[ "MIT" ]
1,901
2015-01-12T03:20:30.000Z
2022-03-31T16:33:36.000Z
pyqtgraph/dockarea/DockDrop.py
hishizuka/pyqtgraph
4820625d93ffb41f324431d0d29b395cf91f339e
[ "MIT" ]
1,038
2015-01-01T04:05:49.000Z
2022-03-31T11:57:51.000Z
# -*- coding: utf-8 -*- from ..Qt import QtCore, QtGui
32.348485
91
0.525527
c7723eb15222900f00b69a2e3a6fb1a9708b8d3e
871
py
Python
data/download.py
pyaf/google-ai-open-images-object-detection-track
3dd19aeeca5eea07de341ade59d1513fda4597ee
[ "MIT" ]
null
null
null
data/download.py
pyaf/google-ai-open-images-object-detection-track
3dd19aeeca5eea07de341ade59d1513fda4597ee
[ "MIT" ]
null
null
null
data/download.py
pyaf/google-ai-open-images-object-detection-track
3dd19aeeca5eea07de341ade59d1513fda4597ee
[ "MIT" ]
null
null
null
import os from subprocess import call files = ['000002b66c9c498e.jpg', '000002b97e5471a0.jpg', '000002c707c9895e.jpg', '0000048549557964.jpg', '000004f4400f6ec5.jpg', '0000071d71a0a6f6.jpg', '000013ba71c12506.jpg', '000018acd19b4ad3.jpg', '00001bc2c4027449.jpg', '00001bcc92282a38.jpg', '0000201cd362f303.jpg', '0000207...
67
560
0.712974
c773836d5d08ecba5ffb7e86e3b25bdc07e2351a
3,927
py
Python
cisco-ios-xr/ydk/models/cisco_ios_xr/SNMP_FRAMEWORK_MIB.py
bopopescu/ACI
dd717bc74739eeed4747b3ea9e36b239580df5e1
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
cisco-ios-xr/ydk/models/cisco_ios_xr/SNMP_FRAMEWORK_MIB.py
bopopescu/ACI
dd717bc74739eeed4747b3ea9e36b239580df5e1
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
cisco-ios-xr/ydk/models/cisco_ios_xr/SNMP_FRAMEWORK_MIB.py
bopopescu/ACI
dd717bc74739eeed4747b3ea9e36b239580df5e1
[ "ECL-2.0", "Apache-2.0" ]
1
2020-07-22T04:04:44.000Z
2020-07-22T04:04:44.000Z
""" SNMP_FRAMEWORK_MIB """ from collections import OrderedDict from ydk.types import Entity, EntityPath, Identity, Enum, YType, YLeaf, YLeafList, YList, LeafDataList, Bits, Empty, Decimal64 from ydk.filters import YFilter from ydk.errors import YError, YModelError from ydk.errors.error_handler import handle_type_er...
28.456522
158
0.595111
c773cb05d9fdb9aa7ea5543ac5440822be912b9e
2,941
py
Python
handlers/redirects.py
Bainky/Ventify
638486dc5f265a4907a5a193ea2a7c9b44e8e943
[ "MIT" ]
6
2021-03-11T11:43:17.000Z
2021-12-08T05:26:20.000Z
handlers/redirects.py
Bainky/Ventify
638486dc5f265a4907a5a193ea2a7c9b44e8e943
[ "MIT" ]
null
null
null
handlers/redirects.py
Bainky/Ventify
638486dc5f265a4907a5a193ea2a7c9b44e8e943
[ "MIT" ]
2
2021-03-24T05:31:12.000Z
2021-04-13T22:03:11.000Z
from aiogram.utils.markdown import hide_link from aiogram.types import CallbackQuery from loader import dp from utils import ( get_object, get_attributes_of_object ) from keyboards import ( anime_choose_safe_category, anime_sfw_categories, anime_nsfw_categories, animals_categories, ...
23.717742
61
0.598776
c77456702d5939c9da605c3d65de2f70c1b95b26
8,695
py
Python
segmentation_test/Scripts/medpy_graphcut_voxel.py
rominashirazi/SpineSegmentation
fb08122ac6d9a598b60aecb4f1a1a2a31fba96ab
[ "MIT" ]
null
null
null
segmentation_test/Scripts/medpy_graphcut_voxel.py
rominashirazi/SpineSegmentation
fb08122ac6d9a598b60aecb4f1a1a2a31fba96ab
[ "MIT" ]
null
null
null
segmentation_test/Scripts/medpy_graphcut_voxel.py
rominashirazi/SpineSegmentation
fb08122ac6d9a598b60aecb4f1a1a2a31fba96ab
[ "MIT" ]
null
null
null
#!c:\users\hooma\documents\github\spinesegmentation\segmentation_test\scripts\python.exe """ Execute a graph cut on a voxel image based on some foreground and background markers. Copyright (C) 2013 Oskar Maier This program is free software: you can redistribute it and/or modify it under the terms of the GNU General ...
47.513661
328
0.692237
c774862e87bf8aaea6f4bb5796d15dd56dc9ae0b
2,968
py
Python
_notes/book/conf.py
AstroMatt/astronaut-training-en
6250af8e10358016dcebee54bb9ad5bc40cfe4d1
[ "MIT" ]
1
2020-08-08T00:37:28.000Z
2020-08-08T00:37:28.000Z
_notes/book/conf.py
AstroMatt/astronaut-training-en
6250af8e10358016dcebee54bb9ad5bc40cfe4d1
[ "MIT" ]
null
null
null
_notes/book/conf.py
AstroMatt/astronaut-training-en
6250af8e10358016dcebee54bb9ad5bc40cfe4d1
[ "MIT" ]
null
null
null
author = 'Matt Harasymczuk' email = 'matt@astrotech.io' project = 'Astronaut Training Program' description = 'Astronaut Training Program' extensions = [ 'sphinx.ext.todo', 'sphinx.ext.imgmath', ] todo_emit_warnings = False todo_include_todos = True exclude_patterns = [] # ------------------------------------...
24.130081
128
0.624326
c774cc70f7362fd8daf5037ff3abf0db4ccef896
221
py
Python
tutorial_application/forms.py
yamasakih/django_rdkit_tutorial
9ac591963976da38cae962de2b98702bbb919cf4
[ "MIT" ]
2
2018-12-04T00:01:26.000Z
2021-03-25T08:28:06.000Z
tutorial_application/forms.py
yamasakih/django-rdkit-tutorial
9ac591963976da38cae962de2b98702bbb919cf4
[ "MIT" ]
null
null
null
tutorial_application/forms.py
yamasakih/django-rdkit-tutorial
9ac591963976da38cae962de2b98702bbb919cf4
[ "MIT" ]
null
null
null
from django_rdkit import models from django.forms.models import ModelForm from .models import Compound
18.416667
41
0.723982
c775a30ea8b55f2cd0df98a3a7cc00417a074bda
18,286
py
Python
data_structures/trees/tree.py
onyonkaclifford/data-structures-and-algorithms
e0ca4bfa878273d06bf22c303e47762b8ec3870b
[ "MIT" ]
null
null
null
data_structures/trees/tree.py
onyonkaclifford/data-structures-and-algorithms
e0ca4bfa878273d06bf22c303e47762b8ec3870b
[ "MIT" ]
null
null
null
data_structures/trees/tree.py
onyonkaclifford/data-structures-and-algorithms
e0ca4bfa878273d06bf22c303e47762b8ec3870b
[ "MIT" ]
null
null
null
from abc import ABC, abstractmethod from typing import Any, Generator, Iterable, List, Union def is_root(self, position: _Position) -> bool: """Check if the passed position contains the root node. Time complexity: O(1). :returns: True if the passed position holds the root node, else False ...
39.240343
119
0.626107
c775ae8fda6ca73f18c286d16c2c597ac2a87d30
6,857
py
Python
nodes/audio.py
sddhrthrt/COVFEFE
bc74ff0b5ee4d675482928110dda81443d4bec63
[ "Apache-2.0" ]
null
null
null
nodes/audio.py
sddhrthrt/COVFEFE
bc74ff0b5ee4d675482928110dda81443d4bec63
[ "Apache-2.0" ]
null
null
null
nodes/audio.py
sddhrthrt/COVFEFE
bc74ff0b5ee4d675482928110dda81443d4bec63
[ "Apache-2.0" ]
null
null
null
from abc import ABC, abstractmethod import os import logging from nodes.helper import FileOutputNode from utils import file_utils from utils import signal_processing as sp from utils.shell_run import shell_run from config import OPENSMILE_HOME
36.865591
147
0.624763
c776010ff719981072eef5b7305ecf5eee272758
12,914
py
Python
texar/torch/modules/pretrained/gpt2.py
VegB/VLN-Transformer
da1fa71e419d8d05c96749445230a77338edba09
[ "Apache-2.0" ]
19
2020-07-29T15:25:45.000Z
2022-01-19T17:49:42.000Z
texar/torch/modules/pretrained/gpt2.py
VegB/VLN-Transformer
da1fa71e419d8d05c96749445230a77338edba09
[ "Apache-2.0" ]
3
2021-02-16T10:26:23.000Z
2021-06-08T16:50:40.000Z
texar/torch/modules/pretrained/gpt2.py
VegB/VLN-Transformer
da1fa71e419d8d05c96749445230a77338edba09
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 The Texar 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 applicable ...
40.73817
80
0.533065
c77641557884ec300d6f17e14694ed49328569cf
4,930
py
Python
Image classifier/train.py
anirudha-bs/Farm_assist
f824b7594befdb1132da2a5c03500a1885c6f036
[ "MIT" ]
null
null
null
Image classifier/train.py
anirudha-bs/Farm_assist
f824b7594befdb1132da2a5c03500a1885c6f036
[ "MIT" ]
null
null
null
Image classifier/train.py
anirudha-bs/Farm_assist
f824b7594befdb1132da2a5c03500a1885c6f036
[ "MIT" ]
null
null
null
from __future__ import absolute_import, division, print_function, unicode_literals import tensorflow as tf from keras import regularizers from tensorflow.keras.models import Sequential from tensorflow.keras.layers import Dense, Conv2D, Flatten, Dropout, MaxPooling2D from tensorflow.keras.preprocessing.image import Ima...
29.878788
130
0.683773
c779118332635de2c8ae2f98f07d435f86ed8e76
2,361
py
Python
fastrunner/httprunner3/report/html/gen_report.py
Chankee/AutoTestRunner
5f329b0dfac91ccd3541aabf46cc997cc4f01da3
[ "MIT" ]
1
2020-04-30T08:41:19.000Z
2020-04-30T08:41:19.000Z
httprunner/report/html/gen_report.py
Barronliu/httprunner
463b8c68cbd413fd2bb66852752149bc1609e98d
[ "Apache-2.0" ]
null
null
null
httprunner/report/html/gen_report.py
Barronliu/httprunner
463b8c68cbd413fd2bb66852752149bc1609e98d
[ "Apache-2.0" ]
null
null
null
import io import os from datetime import datetime from jinja2 import Template from loguru import logger from httprunner.exceptions import SummaryEmpty def gen_html_report(summary, report_template=None, report_dir=None, report_file=None): """ render html report with specified report name and template Args: ...
36.323077
110
0.674714
c779400f9f454e7ffcd25d7cea5b32ebe4fe996a
730
py
Python
SD/lab1/client.py
matheuscr30/UFU
e947e5a4ccd5c025cb8ef6e00b42ea1160742712
[ "MIT" ]
null
null
null
SD/lab1/client.py
matheuscr30/UFU
e947e5a4ccd5c025cb8ef6e00b42ea1160742712
[ "MIT" ]
11
2020-01-28T22:59:24.000Z
2022-03-11T23:59:04.000Z
SD/lab1/client.py
matheuscr30/UFU
e947e5a4ccd5c025cb8ef6e00b42ea1160742712
[ "MIT" ]
null
null
null
#client.py #!/usr/bin/python # This is client.py file import socket # Import socket module s = socket.socket() # Create a socket object host = socket.gethostname() # Get local machine name port = 12352 ...
27.037037
82
0.536986
c77943cb74b84356ac52ea818e7a35cca299778c
4,040
py
Python
tests/helpers.py
ws4/TopCTFd
3b1e25df1318e86ff163a0b546f6e9b7f8305a5a
[ "Apache-2.0" ]
1
2019-06-25T09:24:29.000Z
2019-06-25T09:24:29.000Z
tests/helpers.py
ws4/TopCTFd
3b1e25df1318e86ff163a0b546f6e9b7f8305a5a
[ "Apache-2.0" ]
null
null
null
tests/helpers.py
ws4/TopCTFd
3b1e25df1318e86ff163a0b546f6e9b7f8305a5a
[ "Apache-2.0" ]
null
null
null
from CTFd import create_app from CTFd.models import * from sqlalchemy_utils import database_exists, create_database, drop_database from sqlalchemy.engine.url import make_url import datetime import six if six.PY2: text_type = unicode binary_type = str else: text_type = str binary_type = bytes ...
27.297297
117
0.592574
c77b3c34564c716c04ed2a2e2297c397f73e511f
1,741
py
Python
homeassistant/components/kaiterra/const.py
MrDelik/core
93a66cc357b226389967668441000498a10453bb
[ "Apache-2.0" ]
30,023
2016-04-13T10:17:53.000Z
2020-03-02T12:56:31.000Z
homeassistant/components/kaiterra/const.py
MrDelik/core
93a66cc357b226389967668441000498a10453bb
[ "Apache-2.0" ]
24,710
2016-04-13T08:27:26.000Z
2020-03-02T12:59:13.000Z
homeassistant/components/kaiterra/const.py
MrDelik/core
93a66cc357b226389967668441000498a10453bb
[ "Apache-2.0" ]
11,956
2016-04-13T18:42:31.000Z
2020-03-02T09:32:12.000Z
"""Consts for Kaiterra integration.""" from datetime import timedelta from homeassistant.const import ( CONCENTRATION_MICROGRAMS_PER_CUBIC_METER, CONCENTRATION_MILLIGRAMS_PER_CUBIC_METER, CONCENTRATION_PARTS_PER_BILLION, CONCENTRATION_PARTS_PER_MILLION, PERCENTAGE, Platform, ) DOMAIN = "kaite...
22.907895
51
0.649627
c77bfcd69447b6d8753b518a3930aaea586d8856
440
py
Python
support/views.py
bhagirath1312/ich_bau
d37fe7aa3379f312a4d8b5f3d4715dd334b9adb0
[ "Apache-2.0" ]
1
2021-11-25T19:37:01.000Z
2021-11-25T19:37:01.000Z
support/views.py
bhagirath1312/ich_bau
d37fe7aa3379f312a4d8b5f3d4715dd334b9adb0
[ "Apache-2.0" ]
197
2017-09-06T22:54:20.000Z
2022-02-05T00:04:13.000Z
support/views.py
bhagirath1312/ich_bau
d37fe7aa3379f312a4d8b5f3d4715dd334b9adb0
[ "Apache-2.0" ]
2
2017-11-08T02:13:03.000Z
2020-09-30T19:48:12.000Z
from django.shortcuts import render, redirect from django.http import HttpResponseRedirect from .models import SupportProject # Create your views here.
27.5
76
0.688636
c77bfffe662ca6c238ec477ceec482de486d7271
2,931
py
Python
timeline/models.py
KolibriSolutions/BepMarketplace
c47d252fd744cde6b927e37c34d7a103c6162be5
[ "BSD-3-Clause" ]
1
2019-06-29T15:24:24.000Z
2019-06-29T15:24:24.000Z
timeline/models.py
KolibriSolutions/BepMarketplace
c47d252fd744cde6b927e37c34d7a103c6162be5
[ "BSD-3-Clause" ]
2
2020-01-12T17:47:33.000Z
2020-01-12T17:47:45.000Z
timeline/models.py
KolibriSolutions/BepMarketplace
c47d252fd744cde6b927e37c34d7a103c6162be5
[ "BSD-3-Clause" ]
2
2019-06-29T15:24:26.000Z
2020-01-08T15:15:03.000Z
# Bep Marketplace ELE # Copyright (c) 2016-2021 Kolibri Solutions # License: See LICENSE file or https://github.com/KolibriSolutions/BepMarketplace/blob/master/LICENSE # from datetime import datetime from django.core.exceptions import ValidationError from django.db import models
38.565789
119
0.643125
c77d8ee927213d5c37d334a8dc0c0e3d7493a2cf
2,221
py
Python
app/api/user_routes.py
nappernick/envelope
af4f574c04c51293b90ee2e09d0f95d12ca36d2c
[ "MIT" ]
2
2021-01-13T22:52:16.000Z
2021-01-29T18:37:51.000Z
app/api/user_routes.py
nappernick/envelope
af4f574c04c51293b90ee2e09d0f95d12ca36d2c
[ "MIT" ]
32
2021-01-08T19:05:33.000Z
2021-04-07T22:01:54.000Z
app/api/user_routes.py
nappernick/envelope
af4f574c04c51293b90ee2e09d0f95d12ca36d2c
[ "MIT" ]
null
null
null
from datetime import datetime from werkzeug.security import generate_password_hash from flask import Blueprint, jsonify, request from sqlalchemy.orm import joinedload from flask_login import login_required from app.models import db, User, Type from app.forms import UpdateUserForm from .auth_routes import authenticate, ...
30.013514
74
0.692031
c77e4ddc9f8fe255a8511d43e707cc1ce8c44d20
19,717
py
Python
timeflux/nodes/ml.py
OpenMindInnovation/timeflux
fd27ea6706df80fa52fb73ea3dba65e14ccd088c
[ "MIT" ]
null
null
null
timeflux/nodes/ml.py
OpenMindInnovation/timeflux
fd27ea6706df80fa52fb73ea3dba65e14ccd088c
[ "MIT" ]
null
null
null
timeflux/nodes/ml.py
OpenMindInnovation/timeflux
fd27ea6706df80fa52fb73ea3dba65e14ccd088c
[ "MIT" ]
null
null
null
"""Machine Learning""" import importlib import numpy as np import pandas as pd import json from jsonschema import validate from sklearn.pipeline import make_pipeline from timeflux.core.node import Node from timeflux.core.exceptions import ValidationError, WorkerInterrupt from timeflux.helpers.background import Task fr...
39.121032
103
0.502054
c780e591cbad3129663e73ce7d7f50fa3fb44f8f
3,675
py
Python
cms/migrations/0006_auto_20170122_1545.py
josemlp91/django-landingcms
9d9270204369e9663ff15eb0bd4c4093b3727c6c
[ "Apache-2.0" ]
null
null
null
cms/migrations/0006_auto_20170122_1545.py
josemlp91/django-landingcms
9d9270204369e9663ff15eb0bd4c4093b3727c6c
[ "Apache-2.0" ]
null
null
null
cms/migrations/0006_auto_20170122_1545.py
josemlp91/django-landingcms
9d9270204369e9663ff15eb0bd4c4093b3727c6c
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.10.5 on 2017-01-22 15:45 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion
47.115385
164
0.653605
c781463cac684dcc8d5bd7e224347018ce45563c
3,641
py
Python
1-lab-lambdaDynamoDB/source/cdk/app.py
donnieprakoso/workshop-buildingRESTAPIwithAWS
b3287d5749b65648710dde4e736ba55b73371c6b
[ "Apache-2.0" ]
23
2021-04-24T06:32:58.000Z
2022-03-27T11:04:57.000Z
1-lab-lambdaDynamoDB/source/cdk/app.py
ivandi1980/workshop-restAPI
b3287d5749b65648710dde4e736ba55b73371c6b
[ "Apache-2.0" ]
null
null
null
1-lab-lambdaDynamoDB/source/cdk/app.py
ivandi1980/workshop-restAPI
b3287d5749b65648710dde4e736ba55b73371c6b
[ "Apache-2.0" ]
5
2021-04-24T12:10:02.000Z
2021-11-18T13:34:33.000Z
#!/usr/bin/env python3 from aws_cdk import aws_iam as _iam from aws_cdk import aws_lambda as _lambda from aws_cdk import aws_dynamodb as _ddb from aws_cdk import core stack_prefix='restAPI-lab1-lambdaDynamoDB' app = core.App() stack = CdkStack(app, stack_prefix, stack_prefix=stack_prefix) core.Tags.of(stack).add('Na...
44.950617
177
0.682505
c7821ff30782af7bc27dc24920e0c07f5856c1a5
326
py
Python
module_6_lets_make_a_web_app/webapp/yield.py
JCarlos831/python_getting_started_-pluralsight-
5059a1019c46eb8174fc86989fab7cc0c4caffd4
[ "MIT" ]
null
null
null
module_6_lets_make_a_web_app/webapp/yield.py
JCarlos831/python_getting_started_-pluralsight-
5059a1019c46eb8174fc86989fab7cc0c4caffd4
[ "MIT" ]
null
null
null
module_6_lets_make_a_web_app/webapp/yield.py
JCarlos831/python_getting_started_-pluralsight-
5059a1019c46eb8174fc86989fab7cc0c4caffd4
[ "MIT" ]
null
null
null
students = [] read_file() print(students)
16.3
40
0.57362
c782a4a5ddbb4061270df891d7584a13d55d2191
6,325
py
Python
paul_analysis/Python/labird/gamma.py
lzkelley/arepo-mbh-sims_analysis
f14519552cedd39a040b53e6d7cc538b5b8f38a3
[ "MIT" ]
null
null
null
paul_analysis/Python/labird/gamma.py
lzkelley/arepo-mbh-sims_analysis
f14519552cedd39a040b53e6d7cc538b5b8f38a3
[ "MIT" ]
null
null
null
paul_analysis/Python/labird/gamma.py
lzkelley/arepo-mbh-sims_analysis
f14519552cedd39a040b53e6d7cc538b5b8f38a3
[ "MIT" ]
null
null
null
"""Module for finding an effective equation of state for in the Lyman-alpha forest from a snapshot. Ported to python from Matteo Viel's IDL script.""" import h5py import math import numpy as np def read_gamma(num,base): """Reads in an HDF5 snapshot from the NE gadget version, fits a power law to the equation ...
32.772021
192
0.552727
c782edc67d9a2546d01dc48945d663005d17b20d
10,490
py
Python
evogym/envs/change_shape.py
federico-camerota/evogym
fb3a792f93a61be15c9715a036da3721f99d2d42
[ "MIT" ]
78
2022-01-30T18:59:39.000Z
2022-03-31T00:26:41.000Z
evogym/envs/change_shape.py
Yuxing-Wang-THU/evogym
da3a0508fa6c5d3fcf589194778844b15a387ece
[ "MIT" ]
6
2022-01-31T02:37:49.000Z
2022-03-30T18:52:13.000Z
evogym/envs/change_shape.py
Yuxing-Wang-THU/evogym
da3a0508fa6c5d3fcf589194778844b15a387ece
[ "MIT" ]
6
2022-01-31T08:11:33.000Z
2022-02-22T01:49:50.000Z
import gym from gym import error, spaces from gym import utils from gym.utils import seeding from evogym import * from evogym.envs import BenchmarkBase import random from math import * import numpy as np import os
33.196203
121
0.6102
c7852c56539dc442622c1969bd3081ad523df76c
29,214
py
Python
pybind/slxos/v16r_1_00b/mpls_state/ldp/fec/ldp_fec_prefixes/__init__.py
shivharis/pybind
4e1c6d54b9fd722ccec25546ba2413d79ce337e6
[ "Apache-2.0" ]
null
null
null
pybind/slxos/v16r_1_00b/mpls_state/ldp/fec/ldp_fec_prefixes/__init__.py
shivharis/pybind
4e1c6d54b9fd722ccec25546ba2413d79ce337e6
[ "Apache-2.0" ]
null
null
null
pybind/slxos/v16r_1_00b/mpls_state/ldp/fec/ldp_fec_prefixes/__init__.py
shivharis/pybind
4e1c6d54b9fd722ccec25546ba2413d79ce337e6
[ "Apache-2.0" ]
1
2021-11-05T22:15:42.000Z
2021-11-05T22:15:42.000Z
from operator import attrgetter import pyangbind.lib.xpathhelper as xpathhelper from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType from pyangbind.lib.base import PybindBase from d...
73.772727
744
0.742726
c78545f3c73bfddebce8e778857a5662b6cdc383
610
py
Python
pug/dj/miner/model_mixin.py
hobson/pug-dj
55678b08755a55366ce18e7d3b8ea8fa4491ab04
[ "MIT" ]
null
null
null
pug/dj/miner/model_mixin.py
hobson/pug-dj
55678b08755a55366ce18e7d3b8ea8fa4491ab04
[ "MIT" ]
5
2021-09-07T23:53:24.000Z
2022-03-11T23:22:04.000Z
pug/dj/miner/model_mixin.py
hobson/pug-dj
55678b08755a55366ce18e7d3b8ea8fa4491ab04
[ "MIT" ]
1
2015-04-23T14:45:04.000Z
2015-04-23T14:45:04.000Z
from pug.nlp.db import representation from django.db import models
32.105263
150
0.727869
c785e70d66977d68cd692ad4e28b80dae9e1f5c0
4,255
py
Python
custom_components/kodi_media_sensors/config_flow.py
JurajNyiri/kodi-media-sensors
055065e52b34555df95a905fc556d3086626deee
[ "MIT" ]
5
2021-03-20T23:32:58.000Z
2022-03-12T02:01:39.000Z
custom_components/kodi_media_sensors/config_flow.py
JurajNyiri/kodi-media-sensors
055065e52b34555df95a905fc556d3086626deee
[ "MIT" ]
11
2021-02-09T16:40:34.000Z
2022-03-20T11:43:06.000Z
custom_components/kodi_media_sensors/config_flow.py
JurajNyiri/kodi-media-sensors
055065e52b34555df95a905fc556d3086626deee
[ "MIT" ]
3
2021-02-09T17:01:25.000Z
2022-02-23T22:21:16.000Z
import logging from typing import Any, Dict, Optional from homeassistant import config_entries from homeassistant.components.kodi.const import DOMAIN as KODI_DOMAIN from homeassistant.core import callback import voluptuous as vol from .const import ( OPTION_HIDE_WATCHED, OPTION_USE_AUTH_URL, OPTION_SEARCH...
36.681034
88
0.624207
c785fce89075a58bb84f43684cf4f43e70fff95c
3,561
py
Python
MySite/MainApp/views.py
tananyan/siteee
f90c4ed56122d1af2f3795a0f16c3f294b785ad3
[ "MIT" ]
1
2021-11-29T14:50:09.000Z
2021-11-29T14:50:09.000Z
MySite/MainApp/views.py
tananyan/siteee
f90c4ed56122d1af2f3795a0f16c3f294b785ad3
[ "MIT" ]
null
null
null
MySite/MainApp/views.py
tananyan/siteee
f90c4ed56122d1af2f3795a0f16c3f294b785ad3
[ "MIT" ]
null
null
null
from django.shortcuts import render from django.views.generic.edit import FormView from django.views.generic.edit import View from . import forms # , django . from django.contrib.auth.forms import AuthenticationForm from django.contrib.auth import logout from django.http import HttpResponseRedirect from dj...
33.914286
134
0.686043
c787795efbca79aae84c0943ac98820495ba5ee9
4,057
py
Python
imagetagger/imagetagger/settings_base.py
jbargu/imagetagger
216ac5e73902abadc1880321e285e68c55bdfd3d
[ "MIT" ]
1
2019-12-26T09:14:59.000Z
2019-12-26T09:14:59.000Z
imagetagger/imagetagger/settings_base.py
jbargu/imagetagger
216ac5e73902abadc1880321e285e68c55bdfd3d
[ "MIT" ]
4
2021-03-19T15:46:34.000Z
2022-01-13T03:33:04.000Z
imagetagger/imagetagger/settings_base.py
jbargu/imagetagger
216ac5e73902abadc1880321e285e68c55bdfd3d
[ "MIT" ]
2
2020-09-03T09:22:18.000Z
2020-09-09T15:13:35.000Z
""" Django settings for imagetagger project. Generated by 'django-admin startproject' using Django 1.10.3. For more information on this file, see https://docs.djangoproject.com/en/1.10/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.10/ref/settings/ """ impor...
26.51634
99
0.709884
c7879b591e4a17bc5cbafd6cd291d2d73183569a
23,794
py
Python
apps/project/views/issue.py
rainydaygit/testtcloudserver
8037603efe4502726a4d794fb1fc0a3f3cc80137
[ "MIT" ]
349
2020-08-04T10:21:01.000Z
2022-03-23T08:31:29.000Z
apps/project/views/issue.py
rainydaygit/testtcloudserver
8037603efe4502726a4d794fb1fc0a3f3cc80137
[ "MIT" ]
2
2021-01-07T06:17:05.000Z
2021-04-01T06:01:30.000Z
apps/project/views/issue.py
rainydaygit/testtcloudserver
8037603efe4502726a4d794fb1fc0a3f3cc80137
[ "MIT" ]
70
2020-08-24T06:46:14.000Z
2022-03-25T13:23:27.000Z
from flask import request from apps.auth.auth_require import required from apps.project.business.issue import IssueBusiness, IssueRecordBusiness, IssueDashBoardBusiness from apps.project.extentions import parse_json_form, validation, parse_list_args2 from library.api.render import json_detail_render, json_list_render2...
29.159314
114
0.504329
c787d4b85054cce4a273d4cda061e7e65933333a
3,351
py
Python
PhysicsTools/PythonAnalysis/python/ParticleDecayDrawer.py
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
null
null
null
PhysicsTools/PythonAnalysis/python/ParticleDecayDrawer.py
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
null
null
null
PhysicsTools/PythonAnalysis/python/ParticleDecayDrawer.py
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
null
null
null
# Benedikt Hegner, DESY # benedikt.hegner@cern.ch # # this tool is based on Luca Lista's tree drawer module
33.848485
81
0.497165
c788076445fbf7d0da81cc5cf12ab9482e59b110
357
py
Python
translator.py
liuprestin/pyninjaTUT-translator
903642ff56f573ed9c58b6f7db4e6fbb4e722c8d
[ "MIT" ]
null
null
null
translator.py
liuprestin/pyninjaTUT-translator
903642ff56f573ed9c58b6f7db4e6fbb4e722c8d
[ "MIT" ]
null
null
null
translator.py
liuprestin/pyninjaTUT-translator
903642ff56f573ed9c58b6f7db4e6fbb4e722c8d
[ "MIT" ]
null
null
null
from translate import Translator translator = Translator(to_lang="zh") try: with open('./example.md', mode='r') as in_file: text = in_file.read() with open('./example-tranlated.md', mode='w') as trans_file: trans_file.write(translator.translate(text)) except FileNotFoundError as...
27.461538
64
0.661064
c788d246174ead31e98e8d4b7639bcc5eb1a1074
580
py
Python
reddit2telegram/channels/news/app.py
mainyordle/reddit2telegram
1163e15aed3b6ff0fba65b222d3d9798f644c386
[ "MIT" ]
187
2016-09-20T09:15:54.000Z
2022-03-29T12:22:33.000Z
reddit2telegram/channels/news/app.py
mainyordle/reddit2telegram
1163e15aed3b6ff0fba65b222d3d9798f644c386
[ "MIT" ]
84
2016-09-22T14:25:07.000Z
2022-03-19T01:26:17.000Z
reddit2telegram/channels/news/app.py
mainyordle/reddit2telegram
1163e15aed3b6ff0fba65b222d3d9798f644c386
[ "MIT" ]
172
2016-09-21T15:39:39.000Z
2022-03-16T15:15:58.000Z
#encoding:utf-8 from utils import weighted_random_subreddit t_channel = '@news756' subreddit = weighted_random_subreddit({ 'politics': 0.5, 'news': 0.5 })
27.619048
75
0.653448
c78915846f029ced4be55e06e50f81dcf24cc440
21,941
py
Python
xcbgen/xtypes.py
tizenorg/framework.uifw.xorg.xcb.xcb-proto
d5ce7205c9bdd3e28d96d162617e32de1c126f8b
[ "X11" ]
1
2022-03-21T15:39:01.000Z
2022-03-21T15:39:01.000Z
targetfs/XSGX/lib/python2.6/site-packages/xcbgen/xtypes.py
jhofstee/Graphics_SDK
805bd44f347ed40699a84979bc9f3e8eb085fd9e
[ "Fair", "Unlicense" ]
null
null
null
targetfs/XSGX/lib/python2.6/site-packages/xcbgen/xtypes.py
jhofstee/Graphics_SDK
805bd44f347ed40699a84979bc9f3e8eb085fd9e
[ "Fair", "Unlicense" ]
null
null
null
''' This module contains the classes which represent XCB data types. ''' from xcbgen.expr import Field, Expression import __main__ # Cardinal datatype globals. See module __init__ method. tcard8 = SimpleType(('uint8_t',), 1) tcard16 = SimpleType(('uint16_t',), 2) tcard32 = SimpleType(('uint32_t',), 4) tint8 = Simp...
34.661927
112
0.593182
c78a85d9115e200586e2ed2d790dc6b616c4151d
3,769
py
Python
BioKlustering-Website/mlmodel/parser/kmeans.py
solislemuslab/mycovirus-website
bc8d3d5f9a9472c35e40334f19e90bbf782f7a1b
[ "MIT" ]
1
2021-11-23T15:07:58.000Z
2021-11-23T15:07:58.000Z
BioKlustering-Website/mlmodel/parser/kmeans.py
solislemuslab/mycovirus-website
bc8d3d5f9a9472c35e40334f19e90bbf782f7a1b
[ "MIT" ]
2
2020-10-23T15:40:49.000Z
2020-10-28T13:21:16.000Z
BioKlustering-Website/mlmodel/parser/kmeans.py
solislemuslab/bioklustering
bc8d3d5f9a9472c35e40334f19e90bbf782f7a1b
[ "MIT" ]
2
2021-11-04T20:01:36.000Z
2021-11-23T15:13:34.000Z
# Copyright 2020 by Luke Selberg, Solis-Lemus Lab, WID. # All rights reserved. # This file is part of the BioKlustering Website. import pandas as pd from Bio import SeqIO from sklearn.feature_extraction.text import TfidfVectorizer from sklearn.cluster import KMeans from sklearn.decomposition import PCA from sklearn.cl...
37.316832
113
0.717166
c78a9dbe76748ffc4b552241c18002c06e087035
1,920
py
Python
workflow/src/routing.py
mibexsoftware/alfred-stash-workflow
5cdba4d14c8998b937c1aa6af8e3417251fac540
[ "MIT" ]
13
2016-03-31T16:19:59.000Z
2019-09-26T20:47:57.000Z
workflow/src/routing.py
mibexsoftware/alfred-stash-workflow
5cdba4d14c8998b937c1aa6af8e3417251fac540
[ "MIT" ]
6
2015-09-18T15:24:43.000Z
2019-10-23T16:51:39.000Z
workflow/src/routing.py
mibexsoftware/alfred-stash-workflow
5cdba4d14c8998b937c1aa6af8e3417251fac540
[ "MIT" ]
3
2015-09-16T18:05:32.000Z
2020-01-04T19:41:21.000Z
# -*- coding: utf-8 -*- from src import icons, __version__ from src.actions import HOST_URL from src.actions.configure import ConfigureWorkflowAction from src.actions.help import HelpWorkflowAction from src.actions.index import IndexWorkflowAction from src.actions.projects import ProjectWorkflowAction from src.actions....
39.183673
105
0.678125
c78c8acd4546ee0e8cf65b0df48d4a928c3e7481
1,262
py
Python
model/model.py
CaoHoangTung/shark-cop-server
38cb494d45297b723b4ef6bf82b8c9e53c2993a0
[ "MIT" ]
2
2020-10-02T03:01:32.000Z
2020-12-06T09:21:06.000Z
model/model.py
CaoHoangTung/shark-cop-server
38cb494d45297b723b4ef6bf82b8c9e53c2993a0
[ "MIT" ]
null
null
null
model/model.py
CaoHoangTung/shark-cop-server
38cb494d45297b723b4ef6bf82b8c9e53c2993a0
[ "MIT" ]
null
null
null
import pandas as pd import numpy as np import matplotlib.pyplot as plt from sklearn.model_selection import train_test_split from sklearn.svm import SVC from sklearn.metrics import classification_report, confusion_matrix from mlxtend.plotting import plot_decision_regions # from sklearn import datasets from pandas.plotti...
33.210526
103
0.759113
c78d0f81c7f3ce50a968bb140ed1caaa45e4bf4b
547
py
Python
PE032.py
CaptainSora/Python-Project-Euler
056400f434eec837ece5ef06653b310ebfcc3d4e
[ "MIT" ]
null
null
null
PE032.py
CaptainSora/Python-Project-Euler
056400f434eec837ece5ef06653b310ebfcc3d4e
[ "MIT" ]
null
null
null
PE032.py
CaptainSora/Python-Project-Euler
056400f434eec837ece5ef06653b310ebfcc3d4e
[ "MIT" ]
null
null
null
from itertools import count from _pandigital_tools import is_pandigital def pand_products(): """ Returns the sum of all numbers n which have a factorization a * b = n such that a, b, n are (cumulatively) 1 through 9 pandigital. """ total = set() for a in range(2, 100): for b in count(...
23.782609
78
0.570384
c78d62ba8abdde61ef2fb89e7ca95a09bbcfc5d2
282
py
Python
v1/models.py
jdubansky/openstates.org
6fd5592aae554c4bb201f0a76ed3605bff5204c2
[ "MIT" ]
1
2022-01-17T11:54:28.000Z
2022-01-17T11:54:28.000Z
v1/models.py
washabstract/openstates.org
dc541ae5cd09dd3b3db623178bf32a03d0246f01
[ "MIT" ]
null
null
null
v1/models.py
washabstract/openstates.org
dc541ae5cd09dd3b3db623178bf32a03d0246f01
[ "MIT" ]
null
null
null
from django.db import models from openstates.data.models import Bill
28.2
69
0.758865
c78e2f38914cd69e3bd290dd0efeba4071626991
14,594
py
Python
corehq/apps/accounting/utils.py
satyaakam/commcare-hq
233f255ff20ab3a16013e9fdfdb9c1dcf632e415
[ "BSD-3-Clause" ]
null
null
null
corehq/apps/accounting/utils.py
satyaakam/commcare-hq
233f255ff20ab3a16013e9fdfdb9c1dcf632e415
[ "BSD-3-Clause" ]
1
2021-06-02T04:45:16.000Z
2021-06-02T04:45:16.000Z
corehq/apps/accounting/utils.py
satyaakam/commcare-hq
233f255ff20ab3a16013e9fdfdb9c1dcf632e415
[ "BSD-3-Clause" ]
null
null
null
import datetime import logging from collections import defaultdict, namedtuple from django.conf import settings from django.template.loader import render_to_string from django.urls import reverse from django.utils.translation import ugettext_lazy as _ from django_prbac.models import Grant, Role, UserRole from corehq...
34.419811
114
0.688434
c790959983852e5ff5dc7391f5d9c3bf229bac12
435
py
Python
hci/command/commands/le_apcf_commands/apcf_service_data.py
cc4728/python-hci
d988f69c55972af445ec3ba04fd4cd1199593d10
[ "MIT" ]
3
2021-12-16T14:32:45.000Z
2022-01-25T03:10:48.000Z
hci/command/commands/le_apcf_commands/apcf_service_data.py
cc4728/python-hci
d988f69c55972af445ec3ba04fd4cd1199593d10
[ "MIT" ]
null
null
null
hci/command/commands/le_apcf_commands/apcf_service_data.py
cc4728/python-hci
d988f69c55972af445ec3ba04fd4cd1199593d10
[ "MIT" ]
1
2022-01-25T03:10:50.000Z
2022-01-25T03:10:50.000Z
from ..le_apcf_command_pkt import LE_APCF_Command from struct import pack, unpack from enum import IntEnum """ This pare base on spec <<Android BT HCI Requirement for BLE feature>> v0.52 Advertisement Package Content filter """
25.588235
75
0.698851
c790fdff7571a6a4a1222a967671954a3b60828b
1,468
py
Python
source/documentModel/representations/DocumentNGramSymWinGraph.py
Vyvy-vi/Ngram-Graphs
3b990e5fd92543f7152b4a2c8e689e771578c047
[ "Apache-2.0" ]
178
2016-09-21T19:51:28.000Z
2021-09-07T17:37:06.000Z
source/documentModel/representations/DocumentNGramSymWinGraph.py
Vyvy-vi/Ngram-Graphs
3b990e5fd92543f7152b4a2c8e689e771578c047
[ "Apache-2.0" ]
null
null
null
source/documentModel/representations/DocumentNGramSymWinGraph.py
Vyvy-vi/Ngram-Graphs
3b990e5fd92543f7152b4a2c8e689e771578c047
[ "Apache-2.0" ]
17
2016-10-21T02:11:13.000Z
2020-10-07T19:11:54.000Z
""" DocumentNGramSymWinGraph.py Created on May 23, 2017, 4:56 PM """ import networkx as nx import pygraphviz as pgv import matplotlib.pyplot as plt from networkx.drawing.nx_agraph import graphviz_layout from DocumentNGramGraph import DocumentNGramGraph
26.690909
55
0.52248
c791642581cbd1a8e05d99ab1f306e65029dc666
2,212
py
Python
examples/EC2Conditions.py
DrLuke/troposphere
05672a2b0cf87215dbd6a2a656669e0d3c92d0e5
[ "BSD-2-Clause" ]
1
2021-04-03T22:24:36.000Z
2021-04-03T22:24:36.000Z
examples/EC2Conditions.py
cartermeyers/troposphere
4b42fa0d65f73cec28184b5349aa198fb8ee5b2e
[ "BSD-2-Clause" ]
1
2021-06-25T15:20:46.000Z
2021-06-25T15:20:46.000Z
examples/EC2Conditions.py
cartermeyers/troposphere
4b42fa0d65f73cec28184b5349aa198fb8ee5b2e
[ "BSD-2-Clause" ]
5
2020-05-10T13:50:32.000Z
2021-09-09T09:06:54.000Z
from __future__ import print_function from troposphere import ( Template, Parameter, Ref, Condition, Equals, And, Or, Not, If ) from troposphere import ec2 parameters = { "One": Parameter( "One", Type="String", ), "Two": Parameter( "Two", Type="String", ), "Thr...
22.343434
77
0.573689
c79252ab386af5d00249bc02769ec35279e30201
768
py
Python
fist_phase/08_objects.py
kapuni/exercise_py
b60ba8462d2545cae57483bcb0b3428b03c5d522
[ "MIT" ]
null
null
null
fist_phase/08_objects.py
kapuni/exercise_py
b60ba8462d2545cae57483bcb0b3428b03c5d522
[ "MIT" ]
null
null
null
fist_phase/08_objects.py
kapuni/exercise_py
b60ba8462d2545cae57483bcb0b3428b03c5d522
[ "MIT" ]
null
null
null
if __name__ == '__main__': main()
23.272727
53
0.605469
c79307bf6012742aa0a7a562893d0160e400a873
1,108
py
Python
lrtc_lib/data/load_dataset.py
MovestaDev/low-resource-text-classification-framework
4380755a65b35265e84ecbf4b87e872d79e8f079
[ "Apache-2.0" ]
57
2020-11-18T15:13:06.000Z
2022-03-28T22:33:26.000Z
lrtc_lib/data/load_dataset.py
MovestaDev/low-resource-text-classification-framework
4380755a65b35265e84ecbf4b87e872d79e8f079
[ "Apache-2.0" ]
5
2021-02-23T22:11:07.000Z
2021-12-13T00:13:48.000Z
lrtc_lib/data/load_dataset.py
MovestaDev/low-resource-text-classification-framework
4380755a65b35265e84ecbf4b87e872d79e8f079
[ "Apache-2.0" ]
14
2021-02-10T08:55:27.000Z
2022-02-23T22:37:54.000Z
# (c) Copyright IBM Corporation 2020. # LICENSE: Apache License 2.0 (Apache-2.0) # http://www.apache.org/licenses/LICENSE-2.0 import logging from lrtc_lib.data_access import single_dataset_loader from lrtc_lib.data_access.processors.dataset_part import DatasetPart from lrtc_lib.oracle_data_access import gold_labels_...
35.741935
115
0.730144
c79467938af160abb2d49f1add583ea15a8cc080
8,019
py
Python
graphql_compiler/compiler/emit_match.py
BarracudaPff/code-golf-data-pythpn
42e8858c2ebc6a061012bcadb167d29cebb85c5e
[ "MIT" ]
null
null
null
graphql_compiler/compiler/emit_match.py
BarracudaPff/code-golf-data-pythpn
42e8858c2ebc6a061012bcadb167d29cebb85c5e
[ "MIT" ]
null
null
null
graphql_compiler/compiler/emit_match.py
BarracudaPff/code-golf-data-pythpn
42e8858c2ebc6a061012bcadb167d29cebb85c5e
[ "MIT" ]
null
null
null
"""Convert lowered IR basic blocks to MATCH query strings.""" from collections import deque import six from .blocks import Filter, MarkLocation, QueryRoot, Recurse, Traverse from .expressions import TrueLiteral from .helpers import get_only_element_from_collection, validate_safe_string def _get_vertex_location_name(loc...
52.411765
152
0.775907
c794ff339d897246d1f9ee7d50c25c7781c1ee06
3,286
py
Python
mo_leduc.py
mohamedun/Deep-CFR
ec3a7fb06e11bd6cc65bb2bf6f16108ee41f7234
[ "MIT" ]
null
null
null
mo_leduc.py
mohamedun/Deep-CFR
ec3a7fb06e11bd6cc65bb2bf6f16108ee41f7234
[ "MIT" ]
null
null
null
mo_leduc.py
mohamedun/Deep-CFR
ec3a7fb06e11bd6cc65bb2bf6f16108ee41f7234
[ "MIT" ]
null
null
null
from PokerRL.game.games import StandardLeduc from PokerRL.game.games import BigLeduc from PokerRL.eval.rl_br.RLBRArgs import RLBRArgs from PokerRL.eval.lbr.LBRArgs import LBRArgs from PokerRL.game.bet_sets import POT_ONLY from DeepCFR.EvalAgentDeepCFR import EvalAgentDeepCFR from DeepCFR.TrainingProfile import Training...
54.766667
119
0.370663
c7964aa0abe4f31ae2f01cae5205b2c444d9f154
8,436
py
Python
geocircles/backend/gamestate.py
tmick0/geocircles
12845d006eeb0a4032679209a953c1cb072d06d7
[ "MIT" ]
null
null
null
geocircles/backend/gamestate.py
tmick0/geocircles
12845d006eeb0a4032679209a953c1cb072d06d7
[ "MIT" ]
null
null
null
geocircles/backend/gamestate.py
tmick0/geocircles
12845d006eeb0a4032679209a953c1cb072d06d7
[ "MIT" ]
null
null
null
import sqlite3 from enum import Enum import random __all__ = ['state_mgr', 'game_state', 'next_state']
36.838428
159
0.580844
c79748fa89a41d17ad6e31fcee8a32474231a1c4
27
py
Python
tests/unit/providers/callables/__init__.py
YelloFam/python-dependency-injector
541131e33858ee1b8b5a7590d2bb9f929740ea1e
[ "BSD-3-Clause" ]
null
null
null
tests/unit/providers/callables/__init__.py
YelloFam/python-dependency-injector
541131e33858ee1b8b5a7590d2bb9f929740ea1e
[ "BSD-3-Clause" ]
null
null
null
tests/unit/providers/callables/__init__.py
YelloFam/python-dependency-injector
541131e33858ee1b8b5a7590d2bb9f929740ea1e
[ "BSD-3-Clause" ]
null
null
null
"""Tests for callables."""
13.5
26
0.62963
c799f39a2d11cd8cf47042ccb70ce866c8193b11
191
py
Python
dss/dss_capi_gr/__init__.py
dss-extensions/dss_python
f6c4440a14287d06f1bd10180484b349f764ba7e
[ "BSD-3-Clause" ]
24
2019-03-07T20:24:24.000Z
2022-03-23T17:58:00.000Z
dss/dss_capi_gr/__init__.py
dss-extensions/dss_python
f6c4440a14287d06f1bd10180484b349f764ba7e
[ "BSD-3-Clause" ]
32
2019-02-14T03:46:31.000Z
2022-03-23T00:01:28.000Z
dss/dss_capi_ir/__init__.py
PMeira/dss_python
2dbc72ed875108d3f98d21cb0a488bab6b0d7f4c
[ "BSD-3-Clause" ]
5
2019-02-19T04:54:49.000Z
2022-03-23T10:40:51.000Z
''' A compatibility layer for DSS C-API that mimics the official OpenDSS COM interface. Copyright (c) 2016-2019 Paulo Meira ''' from __future__ import absolute_import from .IDSS import IDSS
23.875
83
0.78534
c79a2fb3f10def9e365b5ba6af795f7018c3bbe1
693
py
Python
museflow/components/embedding_layer.py
BILLXZY1215/museflow
241a98ef7b3f435f29bd5d2861ac7b17d4c091d8
[ "BSD-3-Clause" ]
null
null
null
museflow/components/embedding_layer.py
BILLXZY1215/museflow
241a98ef7b3f435f29bd5d2861ac7b17d4c091d8
[ "BSD-3-Clause" ]
null
null
null
museflow/components/embedding_layer.py
BILLXZY1215/museflow
241a98ef7b3f435f29bd5d2861ac7b17d4c091d8
[ "BSD-3-Clause" ]
null
null
null
from .component import Component, using_scope import tensorflow.compat.v1 as tf tf.disable_v2_behavior()
27.72
78
0.681097
c79bb693d6ca4d67f78e8585c83eae0b233a16e3
76
py
Python
hydrocarbon_problem/env/__init__.py
lollcat/Aspen-RL
0abefb9e7def7762e829ac4d621519d9d01592c0
[ "MIT" ]
1
2021-12-09T04:27:33.000Z
2021-12-09T04:27:33.000Z
hydrocarbon_problem/env/__init__.py
lollcat/Aspen-RL
0abefb9e7def7762e829ac4d621519d9d01592c0
[ "MIT" ]
2
2021-12-09T08:47:12.000Z
2022-03-25T16:07:56.000Z
hydrocarbon_problem/env/__init__.py
lollcat/Aspen-RL
0abefb9e7def7762e829ac4d621519d9d01592c0
[ "MIT" ]
1
2022-03-23T13:53:54.000Z
2022-03-23T13:53:54.000Z
from hydrocarbon_problem.env.types_ import Observation, Done, Stream, Column
76
76
0.855263
c79c07c8078e5f1d72628e2e7fc0c80e75f6489c
12,955
py
Python
addon_common/common/decorators.py
Unnoen/retopoflow
73c7cfc10a0b58937198d60e308ba5248b446490
[ "OML" ]
1
2022-01-10T23:40:21.000Z
2022-01-10T23:40:21.000Z
addon_common/common/decorators.py
Unnoen/retopoflow
73c7cfc10a0b58937198d60e308ba5248b446490
[ "OML" ]
null
null
null
addon_common/common/decorators.py
Unnoen/retopoflow
73c7cfc10a0b58937198d60e308ba5248b446490
[ "OML" ]
null
null
null
''' Copyright (C) 2021 CG Cookie http://cgcookie.com hello@cgcookie.com Created by Jonathan Denning, Jonathan Williamson This program 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 ...
33.475452
143
0.542802
c79d02fd3237e472a6910ab89fe822c176242e9f
11,414
py
Python
venv/Lib/site-packages/pandas/tests/window/moments/test_moments_consistency_ewm.py
ajayiagbebaku/NFL-Model
afcc67a85ca7138c58c3334d45988ada2da158ed
[ "MIT" ]
28,899
2016-10-13T03:32:12.000Z
2022-03-31T21:39:05.000Z
venv/Lib/site-packages/pandas/tests/window/moments/test_moments_consistency_ewm.py
ajayiagbebaku/NFL-Model
afcc67a85ca7138c58c3334d45988ada2da158ed
[ "MIT" ]
31,004
2016-10-12T23:22:27.000Z
2022-03-31T23:17:38.000Z
venv/Lib/site-packages/pandas/tests/window/moments/test_moments_consistency_ewm.py
ajayiagbebaku/NFL-Model
afcc67a85ca7138c58c3334d45988ada2da158ed
[ "MIT" ]
15,149
2016-10-13T03:21:31.000Z
2022-03-31T18:46:47.000Z
import numpy as np import pytest from pandas import ( DataFrame, Series, concat, ) import pandas._testing as tm def create_mock_weights(obj, com, adjust, ignore_na): if isinstance(obj, DataFrame): if not len(obj.columns): return DataFrame(index=obj.index, columns=obj.columns) ...
34.173653
88
0.615297
c79e030266cfddaf92e93230023130a13241d6c0
6,895
py
Python
brainex/query.py
ebuntel/BrainExTemp
991038155a6e9289af90da3d800210841ef23ff1
[ "MIT" ]
1
2020-09-04T16:15:26.000Z
2020-09-04T16:15:26.000Z
brainex/query.py
ebuntel/Brainextemp
991038155a6e9289af90da3d800210841ef23ff1
[ "MIT" ]
null
null
null
brainex/query.py
ebuntel/Brainextemp
991038155a6e9289af90da3d800210841ef23ff1
[ "MIT" ]
null
null
null
# TODO finish implementing query import math from pyspark import SparkContext # from genex.cluster import sim_between_seq from brainex.op.query_op import sim_between_seq from brainex.parse import strip_function, remove_trailing_zeros from .classes import Sequence from brainex.database import genexengine def query(...
33.634146
119
0.639014
c79e23eb5e67f7342ba09df2a42c01c2772ded3a
4,161
py
Python
main.py
orgr/arbitrage_bot
39365dce0dcae0f6bb4baf1d7c32392e28b6c623
[ "MIT" ]
null
null
null
main.py
orgr/arbitrage_bot
39365dce0dcae0f6bb4baf1d7c32392e28b6c623
[ "MIT" ]
1
2021-12-13T03:48:08.000Z
2021-12-13T04:58:36.000Z
main.py
orgr/arbitrage_bot
39365dce0dcae0f6bb4baf1d7c32392e28b6c623
[ "MIT" ]
null
null
null
import sys import time from typing import List import asyncio import ccxt.async_support as ccxt # import ccxt import itertools from enum import Enum if __name__ == '__main__': asyncio.run(main())
30.152174
111
0.564768
c79ee6a1b6ebeba170b33fbfe523726f9f206dbb
1,497
py
Python
examples/click-ninja/clickninja-final.py
predicatemike/predigame
096e8379beb1d40ccb3f19ed2bb3ad82b405bb7f
[ "Apache-2.0" ]
null
null
null
examples/click-ninja/clickninja-final.py
predicatemike/predigame
096e8379beb1d40ccb3f19ed2bb3ad82b405bb7f
[ "Apache-2.0" ]
null
null
null
examples/click-ninja/clickninja-final.py
predicatemike/predigame
096e8379beb1d40ccb3f19ed2bb3ad82b405bb7f
[ "Apache-2.0" ]
null
null
null
WIDTH = 20 HEIGHT = 14 TITLE = 'Click Ninja' BACKGROUND = 'board' score(color = PURPLE) callback(spawn, 1) keydown('r', reset)
24.145161
86
0.549766
c79f981e96642b4e8be1f381e054bf741fdc029f
7,166
py
Python
nni/retiarii/hub/pytorch/nasbench201.py
nbl97/nni
1530339d3e964a5ea95a0afde1775ec9167cdcc0
[ "MIT" ]
2,305
2018-09-07T12:42:26.000Z
2019-05-06T20:14:24.000Z
nni/retiarii/hub/pytorch/nasbench201.py
nbl97/nni
1530339d3e964a5ea95a0afde1775ec9167cdcc0
[ "MIT" ]
379
2018-09-10T10:19:50.000Z
2019-05-06T18:04:46.000Z
nni/retiarii/hub/pytorch/nasbench201.py
nbl97/nni
1530339d3e964a5ea95a0afde1775ec9167cdcc0
[ "MIT" ]
314
2018-09-08T05:36:08.000Z
2019-05-06T08:48:51.000Z
# Copyright (c) Microsoft Corporation. # Licensed under the MIT license. from typing import Callable, Dict import torch import torch.nn as nn from nni.retiarii import model_wrapper from nni.retiarii.nn.pytorch import NasBench201Cell __all__ = ['NasBench201'] OPS_WITH_STRIDE = { 'none': lambda C_in, C_out, st...
34.786408
110
0.579542
c7a0f4dd6f424ce5b114a5129ff1abc4021aa810
1,195
py
Python
setup.py
Pasha13666/dialog_py
c54a0e06dc0a5f86d9791b8cbd6fcfacb5b644ff
[ "MIT" ]
1
2021-02-17T07:38:01.000Z
2021-02-17T07:38:01.000Z
setup.py
Pasha13666/dialog_py
c54a0e06dc0a5f86d9791b8cbd6fcfacb5b644ff
[ "MIT" ]
null
null
null
setup.py
Pasha13666/dialog_py
c54a0e06dc0a5f86d9791b8cbd6fcfacb5b644ff
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import os from setuptools import setup with open(os.path.join(os.path.dirname(__file__), 'README.rst'), encoding='utf-8') as f: long_description = f.read() setup( name='dialog_py', version='1.0a1', description='Python API for cdialog/linux dialog', long_description=long_de...
31.447368
88
0.620921
c7a18f6b2dc263a28bbb7cb8d8990ce3618a2615
8,334
py
Python
test/test_who.py
rliebz/whoswho
0c411e418c240fcec6ea0a23d15bd003056c65d0
[ "MIT" ]
28
2018-02-14T23:14:59.000Z
2021-07-08T07:24:54.000Z
test/test_who.py
rliebz/whoswho
0c411e418c240fcec6ea0a23d15bd003056c65d0
[ "MIT" ]
1
2019-01-21T15:25:49.000Z
2019-01-23T19:03:06.000Z
test/test_who.py
rliebz/whoswho
0c411e418c240fcec6ea0a23d15bd003056c65d0
[ "MIT" ]
2
2018-09-27T05:46:46.000Z
2020-07-16T05:19:02.000Z
# -*- coding: utf-8 -*- from __future__ import unicode_literals import unittest import nose from nose.tools import * from whoswho import who, config from nameparser.config.titles import TITLES as NAMEPARSER_TITLES # TODO: Should we ensure that the metadata is up to date? if __name__ == '__main__': nose.ma...
40.852941
83
0.636069
c7a1b4eccd5313fe3d7a77b6d5633a8332809125
2,012
py
Python
endpoints/UserEndpoint.py
GardenersGalore/server
f7d7f8ae07b56fc3c4fbe46f0784329cd94ace2d
[ "MIT" ]
null
null
null
endpoints/UserEndpoint.py
GardenersGalore/server
f7d7f8ae07b56fc3c4fbe46f0784329cd94ace2d
[ "MIT" ]
1
2021-06-02T00:35:43.000Z
2021-06-02T00:35:43.000Z
endpoints/UserEndpoint.py
GardenersGalore/server
f7d7f8ae07b56fc3c4fbe46f0784329cd94ace2d
[ "MIT" ]
null
null
null
import json from flask import request from flask_restful import Resource, abort, reqparse from models.User import User """ POST Creates a new resource. GET Retrieves a resource. PUT Updates an existing resource. DELETE Deletes a resource. """
24.240964
97
0.548708
c7a2778b2130c187c84f5bc78fd439f687e7ad10
450
py
Python
passy_forms/forms/forms.py
vleon1/passy
fe48ed9f932eb6df9dbe463344b034218c81567b
[ "Apache-2.0" ]
null
null
null
passy_forms/forms/forms.py
vleon1/passy
fe48ed9f932eb6df9dbe463344b034218c81567b
[ "Apache-2.0" ]
19
2017-02-18T17:53:56.000Z
2017-03-11T22:09:06.000Z
passy_forms/forms/forms.py
vleon1/passy
fe48ed9f932eb6df9dbe463344b034218c81567b
[ "Apache-2.0" ]
null
null
null
from django.forms import forms
23.684211
86
0.622222
c7a2d818488a83ba3e02cfaea886aa5551f314ae
1,172
py
Python
assignment4/rorxornotencode.py
gkweb76/SLAE
c0aef9610a5f75568a0e65c4a91a3bb5a56e6fc6
[ "MIT" ]
15
2015-08-11T09:50:00.000Z
2021-10-02T19:30:53.000Z
assignment4/rorxornotencode.py
gkweb76/SLAE
c0aef9610a5f75568a0e65c4a91a3bb5a56e6fc6
[ "MIT" ]
null
null
null
assignment4/rorxornotencode.py
gkweb76/SLAE
c0aef9610a5f75568a0e65c4a91a3bb5a56e6fc6
[ "MIT" ]
9
2015-08-11T09:51:55.000Z
2021-10-18T18:04:11.000Z
#!/usr/bin/python # Title: ROR/XOR/NOT encoder # File: rorxornotencode.py # Author: Guillaume Kaddouch # SLAE-681 import sys ror = lambda val, r_bits, max_bits: \ ((val & (2**max_bits-1)) >> r_bits%max_bits) | \ (val << (max_bits-(r_bits%max_bits)) & (2**max_bits-1)) shellcode = ( "\x31\xc0\x50\x68\x6e\x2f\...
23.44
102
0.562287
c7a32b4c1d013fec417f68425b02fe13d88c171e
9,292
py
Python
authalligator_client/entities.py
closeio/authalligator-client
fe93c9d2333d2949e44c48a2dd0a9a266734e026
[ "MIT" ]
null
null
null
authalligator_client/entities.py
closeio/authalligator-client
fe93c9d2333d2949e44c48a2dd0a9a266734e026
[ "MIT" ]
null
null
null
authalligator_client/entities.py
closeio/authalligator-client
fe93c9d2333d2949e44c48a2dd0a9a266734e026
[ "MIT" ]
1
2021-01-31T13:08:48.000Z
2021-01-31T13:08:48.000Z
import datetime from enum import Enum from typing import Any, Callable, Dict, List, Optional, Type, TypeVar, Union, cast import attr import ciso8601 import structlog from attr import converters from . import enums from .utils import as_json_dict, to_snake_case logger = structlog.get_logger() OMITTED = Omitted.tok...
35.19697
88
0.660461
c7a3e79d5fcb0530f653c35813c95268647570c7
9,739
py
Python
library/device.py
lompal/USBIPManager
b03d8d9c0befcd70b7f67cfe61c0664f48d2939d
[ "MIT" ]
24
2019-01-25T20:40:07.000Z
2020-11-20T08:12:14.000Z
library/device.py
lompal/USBIPManager
b03d8d9c0befcd70b7f67cfe61c0664f48d2939d
[ "MIT" ]
3
2018-11-28T14:04:57.000Z
2020-09-14T08:35:09.000Z
library/device.py
lompal/USBIPManager
b03d8d9c0befcd70b7f67cfe61c0664f48d2939d
[ "MIT" ]
6
2019-08-23T05:30:26.000Z
2020-11-20T08:12:03.000Z
from library import config, ini, lang, log, performance, periphery, queue from asyncio import get_event_loop from threading import Thread, Event from PyQt5.QtCore import QObject, pyqtSignal from PyQt5.QtWidgets import QTreeWidgetItem # noinspection PyPep8Naming # noinspection PyPep8Naming # noinspection PyPep8Na...
36.339552
118
0.618133
c7a3f3c709f3111aed4b0e26101a434835f55c66
3,959
py
Python
agent/minimax/submission.py
youkeyao/SJTU-CS410-Snakes-3V3-Group06
180ab3714686cdd879454cf103affc6bb03b7fcd
[ "MIT" ]
1
2022-01-09T13:59:34.000Z
2022-01-09T13:59:34.000Z
agent/minimax/submission.py
youkeyao/SJTU-CS410-Snakes-3V3-Group06
180ab3714686cdd879454cf103affc6bb03b7fcd
[ "MIT" ]
null
null
null
agent/minimax/submission.py
youkeyao/SJTU-CS410-Snakes-3V3-Group06
180ab3714686cdd879454cf103affc6bb03b7fcd
[ "MIT" ]
null
null
null
DEPTH = 3 # Action def my_controller(observation, action_space, is_act_continuous=False): ac = Action.mapAct[MinimaxAgent(observation).get_action(observation['controlled_snake_index'])] return [ac]
32.186992
99
0.51023
c7a4ae3d4e412782ea4851134b89f174c5ee6fd3
224
py
Python
public_html/python/Empty_Python_Page.py
Asher-Simcha/help
23c52c136a885d76aa0e2e024cbf1587091f41a7
[ "BSD-3-Clause" ]
null
null
null
public_html/python/Empty_Python_Page.py
Asher-Simcha/help
23c52c136a885d76aa0e2e024cbf1587091f41a7
[ "BSD-3-Clause" ]
null
null
null
public_html/python/Empty_Python_Page.py
Asher-Simcha/help
23c52c136a885d76aa0e2e024cbf1587091f41a7
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/pyton # Title: # Author: # Additional Authors: # Filename: # Description: # Version: # Date: # Last Modified: # Location_of_the_Video: # Meta_data_for_YouTube: # Web_Site_For_Video: # Start Your Code Here #EOF
12.444444
24
0.71875
c7a95d54d497e531abccb6e65c1f8ff7b1fbb2e5
7,202
py
Python
semester3/oop/lab3/parser/client/MasterService/client.py
no1sebomb/University-Labs
1da5e7486f0b8a6119c077945aba8c89cdfc2e50
[ "WTFPL" ]
null
null
null
semester3/oop/lab3/parser/client/MasterService/client.py
no1sebomb/University-Labs
1da5e7486f0b8a6119c077945aba8c89cdfc2e50
[ "WTFPL" ]
null
null
null
semester3/oop/lab3/parser/client/MasterService/client.py
no1sebomb/University-Labs
1da5e7486f0b8a6119c077945aba8c89cdfc2e50
[ "WTFPL" ]
1
2020-11-01T23:54:52.000Z
2020-11-01T23:54:52.000Z
# coding=utf-8 from parser.client import * from parser.client.ResponseItem import * with (Path(__file__).resolve().parent / "config.json").open("rt") as siteConfigFile: SITE_CONFIG = json.load(siteConfigFile)
43.648485
120
0.509303
c7a995a9727073409d096c9586ccf8c67b8e8dc3
7,320
py
Python
sketchduino/template.py
rodrigopmatias/sketchduino
567023d69cd21bf1f573d2a26fc855183abdef7e
[ "Apache-2.0" ]
null
null
null
sketchduino/template.py
rodrigopmatias/sketchduino
567023d69cd21bf1f573d2a26fc855183abdef7e
[ "Apache-2.0" ]
3
2015-01-09T20:31:22.000Z
2015-01-09T20:31:22.000Z
sketchduino/template.py
rodrigopmatias/sketchduino
567023d69cd21bf1f573d2a26fc855183abdef7e
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- ''' Copyright 2012 Rodrigo Pinheiro Matias <rodrigopmatias@gmail.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless r...
27.518797
138
0.630464
c7a9d270039cb319b1e7bd45460f8d2badbcbfe0
1,562
py
Python
Tic-Tac-Pi/gameObjects/TextObject.py
mstubinis/Tic-Tac-Pi
b96db58332be4975f4a5b18b6dd45a0eac859528
[ "MIT" ]
2
2016-04-13T02:52:46.000Z
2017-11-20T22:41:36.000Z
Tic-Tac-Pi/gameObjects/TextObject.py
mstubinis/Tic-Tac-Pi
b96db58332be4975f4a5b18b6dd45a0eac859528
[ "MIT" ]
null
null
null
Tic-Tac-Pi/gameObjects/TextObject.py
mstubinis/Tic-Tac-Pi
b96db58332be4975f4a5b18b6dd45a0eac859528
[ "MIT" ]
3
2016-04-14T02:29:32.000Z
2020-04-27T06:08:07.000Z
import pygame from pygame.locals import * import resourceManager
31.24
68
0.596031
c7aa2635f7e1d5416d843dacc6078257816ee795
2,268
py
Python
src/encoded/server_defaults.py
beta-cell-network/beta-cell-nw
093b078fdb7932ebfcbc0715aeeb2261eda3ee52
[ "MIT" ]
4
2018-01-04T22:31:08.000Z
2021-07-15T17:39:16.000Z
src/encoded/server_defaults.py
beta-cell-network/beta-cell-nw
093b078fdb7932ebfcbc0715aeeb2261eda3ee52
[ "MIT" ]
7
2017-10-31T23:47:47.000Z
2022-01-10T00:12:42.000Z
src/encoded/server_defaults.py
beta-cell-network/beta-cell-nw
093b078fdb7932ebfcbc0715aeeb2261eda3ee52
[ "MIT" ]
10
2017-09-14T00:57:07.000Z
2021-07-27T23:41:14.000Z
from datetime import datetime from jsonschema_serialize_fork import NO_DEFAULT from pyramid.security import effective_principals from pyramid.threadlocal import get_current_request from string import ( digits, ascii_uppercase, ) import random import uuid from snovault.schema_utils import server_default A...
28
98
0.740741
c7aa99e86ce9b9941bb3c2dee52be602130563cd
200
py
Python
app/__init__.py
geirowew/SapAPI
dda0d839722d28c7a30d58c8b3d5076a503fd837
[ "MIT" ]
1
2021-10-11T20:20:50.000Z
2021-10-11T20:20:50.000Z
app/__init__.py
geirowew/SapAPI
dda0d839722d28c7a30d58c8b3d5076a503fd837
[ "MIT" ]
null
null
null
app/__init__.py
geirowew/SapAPI
dda0d839722d28c7a30d58c8b3d5076a503fd837
[ "MIT" ]
2
2021-01-22T10:52:04.000Z
2021-10-06T10:28:07.000Z
from flask import Flask #from config import Config import config app = Flask(__name__) #app.config.from_object(Config) app.config.from_object(config) #from app import routes from app import gettoken
20
31
0.81
c7ae90de0db880bd9c87e6ef499b2ab425e89a1b
19
py
Python
todo/task/__init__.py
BenMcLean981/flask-todo
9827f4993c7d4af0c42ed2a891f2eb56227f1644
[ "MIT" ]
null
null
null
todo/task/__init__.py
BenMcLean981/flask-todo
9827f4993c7d4af0c42ed2a891f2eb56227f1644
[ "MIT" ]
null
null
null
todo/task/__init__.py
BenMcLean981/flask-todo
9827f4993c7d4af0c42ed2a891f2eb56227f1644
[ "MIT" ]
null
null
null
"""Todo module."""
9.5
18
0.526316
c7aedff29cfbc578d32b6b83c7dce7618a9b1e46
680
py
Python
src/pvt_model/pvt_system/pipe.py
BenWinchester/PVTModel
6bf3976b06f406f632e0a9e525cd8b05359da239
[ "MIT" ]
1
2021-05-11T14:15:11.000Z
2021-05-11T14:15:11.000Z
src/pvt_model/pvt_system/pipe.py
BenWinchester/PVTModel
6bf3976b06f406f632e0a9e525cd8b05359da239
[ "MIT" ]
14
2021-02-23T11:53:08.000Z
2021-11-16T10:45:31.000Z
src/pvt_model/pvt_system/pipe.py
BenWinchester/PVTModel
6bf3976b06f406f632e0a9e525cd8b05359da239
[ "MIT" ]
null
null
null
#!/usr/bin/python3.7 ######################################################################################## # pvt_collector/pipe.py - Represents a pipe within the system. # # Author: Ben Winchester # Copyright: Ben Winchester, 2021 ######################################################################################...
21.25
88
0.507353
c7b0b81ceafaed0e74acb2a5f98af6b65a8f276d
1,850
py
Python
tests/test_api_account_state.py
luisparravicini/ioapi
f9d60a28032fd54163ea15b8256aba1d48ec4dcc
[ "MIT" ]
null
null
null
tests/test_api_account_state.py
luisparravicini/ioapi
f9d60a28032fd54163ea15b8256aba1d48ec4dcc
[ "MIT" ]
null
null
null
tests/test_api_account_state.py
luisparravicini/ioapi
f9d60a28032fd54163ea15b8256aba1d48ec4dcc
[ "MIT" ]
1
2020-05-03T04:34:32.000Z
2020-05-03T04:34:32.000Z
import unittest import os import json import requests import requests_mock from ioapi import api_url, IOService, AuthorizationError, UnexpectedResponseCodeError
31.355932
85
0.656216
c7b0f4e12943a98dbd413a45f48a80cdcaf7bcf6
6,517
py
Python
testData/devSeedData.py
bgporter/wastebook
79885a8d503452e1fbeb8ff445cedd2daafff2a0
[ "MIT" ]
null
null
null
testData/devSeedData.py
bgporter/wastebook
79885a8d503452e1fbeb8ff445cedd2daafff2a0
[ "MIT" ]
null
null
null
testData/devSeedData.py
bgporter/wastebook
79885a8d503452e1fbeb8ff445cedd2daafff2a0
[ "MIT" ]
null
null
null
''' fake posts to bootstrap a development database. Put any interesting cases useful for development in here. ''' from datetime import datetime POST_DATA_1 = [ { "created" : datetime(2015, 10, 1), "published": datetime(2015, 10, 1), "edited": datetime(2015, 10, 1), "rende...
29.224215
77
0.399724
c7b11734daef5c05aa9cf025632e59324996f20e
2,954
py
Python
customer_support/utils.py
rtnpro/django-customer-support
6de8d9301fe01a42fa6799757a107be69ee82426
[ "MIT" ]
1
2017-05-06T04:49:45.000Z
2017-05-06T04:49:45.000Z
customer_support/utils.py
rtnpro/django-customer-support
6de8d9301fe01a42fa6799757a107be69ee82426
[ "MIT" ]
null
null
null
customer_support/utils.py
rtnpro/django-customer-support
6de8d9301fe01a42fa6799757a107be69ee82426
[ "MIT" ]
null
null
null
from __future__ import absolute_import from django.shortcuts import render import simplejson import datetime from django.http import HttpResponse
25.912281
69
0.613067
c7b4d983814129255c3038e65a92199d05319e32
6,061
py
Python
tobit.py
AlvaroCorrales/tobit
6993b1cfe58010cd59aac477ced3c2525342244f
[ "MIT" ]
1
2021-04-13T03:14:01.000Z
2021-04-13T03:14:01.000Z
tobit.py
AlvaroCorrales/tobit
6993b1cfe58010cd59aac477ced3c2525342244f
[ "MIT" ]
null
null
null
tobit.py
AlvaroCorrales/tobit
6993b1cfe58010cd59aac477ced3c2525342244f
[ "MIT" ]
null
null
null
import math import warnings import numpy as np import pandas as pd from scipy.optimize import minimize import scipy.stats from scipy.stats import norm # edit from scipy.special import log_ndtr from sklearn.linear_model import LinearRegression from sklearn.metrics import mean_squared_error, mean_absolute_error
33.120219
123
0.620855
c7b509b05f7f3079575b9250d0a2891a9795c878
1,554
py
Python
setup.py
Raymond38324/hagworm
196d4735719f586d52a1cd9f21aedd00e16b59b0
[ "Apache-2.0" ]
null
null
null
setup.py
Raymond38324/hagworm
196d4735719f586d52a1cd9f21aedd00e16b59b0
[ "Apache-2.0" ]
null
null
null
setup.py
Raymond38324/hagworm
196d4735719f586d52a1cd9f21aedd00e16b59b0
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- import setuptools with open(r'README.md', r'r', encoding="utf8") as stream: long_description = stream.read() setuptools.setup( name=r'hagworm', version=r'3.0.0', license=r'Apache License Version 2.0', platforms=[r'all'], author=r'Shaobo.Wang', author_email=r'wsb310...
28.254545
62
0.548263
c7b513ddbd33e479f8df70d1c5b9306a2ec0133a
3,072
py
Python
mercury_ml/keras/containers.py
gabrieloexle/mercury-ml
cc663f84a26ee66ae105bbfc0cd1cbd5629031cd
[ "MIT" ]
null
null
null
mercury_ml/keras/containers.py
gabrieloexle/mercury-ml
cc663f84a26ee66ae105bbfc0cd1cbd5629031cd
[ "MIT" ]
null
null
null
mercury_ml/keras/containers.py
gabrieloexle/mercury-ml
cc663f84a26ee66ae105bbfc0cd1cbd5629031cd
[ "MIT" ]
null
null
null
""" Simple IoC containers that provide direct access to various Keras providers """
38.4
113
0.823893
c7b60df7ecb95aad435c61ec7e818259064a9562
1,851
py
Python
Code Injector/code_injector_BeEF.py
crake7/Defensor-Fortis-
086b055a10b9ac55f444e8d13b4031f998415438
[ "MIT" ]
null
null
null
Code Injector/code_injector_BeEF.py
crake7/Defensor-Fortis-
086b055a10b9ac55f444e8d13b4031f998415438
[ "MIT" ]
null
null
null
Code Injector/code_injector_BeEF.py
crake7/Defensor-Fortis-
086b055a10b9ac55f444e8d13b4031f998415438
[ "MIT" ]
1
2021-12-20T11:44:51.000Z
2021-12-20T11:44:51.000Z
#!/usr/bin/env python import netfilterqueue import scapy.all as scapy import re def process_packet(packet): """Modify downloads files on the fly while target uses HTTP/HTTPS. Do not forget to choose the port you will use on line 23 and 28 and uncomment them.""" scapy_packet = scapy.IP (packet.get_payload...
37.02
90
0.622366