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
b97f4f2077af2e6d4198d160e8fea133c49dee89
4,187
py
Python
pyecharts/custom/grid.py
zilong305/pycharts
6cf1bb7f17001a36da6a766615a78b1dbef5918f
[ "MIT" ]
null
null
null
pyecharts/custom/grid.py
zilong305/pycharts
6cf1bb7f17001a36da6a766615a78b1dbef5918f
[ "MIT" ]
null
null
null
pyecharts/custom/grid.py
zilong305/pycharts
6cf1bb7f17001a36da6a766615a78b1dbef5918f
[ "MIT" ]
null
null
null
#!/usr/bin/env python # coding=utf-8 from pyecharts.option import grid
31.961832
100
0.540482
b97f78c59a8296809ae879f2d6f8355b0f8c52d0
4,588
py
Python
smooch/conversations.py
devinmcgloin/smooch
c9561c3e7f1546efc58daa472b70f738d0d35e13
[ "MIT" ]
3
2016-07-04T12:02:03.000Z
2017-03-20T19:39:36.000Z
smooch/conversations.py
devinmcgloin/smooch
c9561c3e7f1546efc58daa472b70f738d0d35e13
[ "MIT" ]
41
2019-05-28T09:54:04.000Z
2020-02-20T05:34:19.000Z
smooch/conversations.py
devinmcgloin/smooch
c9561c3e7f1546efc58daa472b70f738d0d35e13
[ "MIT" ]
2
2016-07-20T14:31:45.000Z
2016-11-18T12:19:38.000Z
import logging from .endpoint import ask def request_payment(user_id, message, options): """Note that amount is a integer which specifies the amount of cents in the transaction Smooch will default to the currency specified in your account settings.""" if not valid_args(user_id, message, options): ...
30.586667
129
0.598954
b980ab008a2dab6e2778edec1d7d9e24b2315a73
1,086
py
Python
cifar/evalit.py
Sharkbyteprojects/IRIS-ML_and_Deep-Learning
f0e053cf7a0e69019bbba36e6da3e60d76105fe9
[ "MIT" ]
null
null
null
cifar/evalit.py
Sharkbyteprojects/IRIS-ML_and_Deep-Learning
f0e053cf7a0e69019bbba36e6da3e60d76105fe9
[ "MIT" ]
null
null
null
cifar/evalit.py
Sharkbyteprojects/IRIS-ML_and_Deep-Learning
f0e053cf7a0e69019bbba36e6da3e60d76105fe9
[ "MIT" ]
null
null
null
import keras from keras.models import load_model from PIL import Image import matplotlib.pylab as plt import numpy as np import zipfile print("Extract") zip_ref = zipfile.ZipFile("./asset.zip", 'r') zip_ref.extractall(".") zip_ref.close() print("Load Model") model=load_model("cifar-model.h5") CIFAR_10_CLASSES=["Plane",...
27.15
88
0.710866
b980be1e0d2b8db749e25a4f49c35cdddbdca9d9
1,650
py
Python
tt/urls.py
samiksha-patil/Knowledge-Sharing-Platform
22e61a659d5ad63fe656fa639dc897cbdebad4fe
[ "bzip2-1.0.6" ]
1
2021-05-09T08:18:49.000Z
2021-05-09T08:18:49.000Z
tt/urls.py
samiksha-patil/Knowledge-Sharing-Platform
22e61a659d5ad63fe656fa639dc897cbdebad4fe
[ "bzip2-1.0.6" ]
9
2021-03-19T01:11:35.000Z
2022-03-12T00:20:13.000Z
tt/urls.py
samiksha-patil/Knowledge-Sharing-Platform
22e61a659d5ad63fe656fa639dc897cbdebad4fe
[ "bzip2-1.0.6" ]
null
null
null
""" tt URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based vi...
35.869565
100
0.726061
b9814171798d1f2ddf5247c67182a7e7e032132e
105
py
Python
src/git/cmd.py
danihodovic/dht
636f54d70f8c6ca60ab48f2815b3e9e1a336d78f
[ "MIT" ]
2
2021-01-21T15:04:32.000Z
2021-01-21T16:23:32.000Z
src/git/cmd.py
danihodovic/dht
636f54d70f8c6ca60ab48f2815b3e9e1a336d78f
[ "MIT" ]
2
2020-12-30T20:34:51.000Z
2021-01-17T20:02:02.000Z
src/git/cmd.py
danihodovic/dht
636f54d70f8c6ca60ab48f2815b3e9e1a336d78f
[ "MIT" ]
null
null
null
import os import click os.environ["GIT_PYTHON_REFRESH"] = "quiet"
9.545455
42
0.67619
b98238142a5e4442e3c9fdd220f6bde9274299de
570
py
Python
TwitterImage2JPG.py
Tymec/Playground
5a4aaa4a88e084d8d31803485b1ec521ad49a3d1
[ "MIT" ]
null
null
null
TwitterImage2JPG.py
Tymec/Playground
5a4aaa4a88e084d8d31803485b1ec521ad49a3d1
[ "MIT" ]
null
null
null
TwitterImage2JPG.py
Tymec/Playground
5a4aaa4a88e084d8d31803485b1ec521ad49a3d1
[ "MIT" ]
1
2019-02-19T10:32:07.000Z
2019-02-19T10:32:07.000Z
import glob import os if __name__ == __name__: main()
22.8
67
0.585965
b982943f0b8c226209550f8c7f62a0e03d0b5ff5
6,405
py
Python
Data Analysis/classification.py
Riccardo95Facchini/DIL-2019
febeda55fd647943a1b8c49b3c5192fcd69fdaf5
[ "MIT" ]
null
null
null
Data Analysis/classification.py
Riccardo95Facchini/DIL-2019
febeda55fd647943a1b8c49b3c5192fcd69fdaf5
[ "MIT" ]
null
null
null
Data Analysis/classification.py
Riccardo95Facchini/DIL-2019
febeda55fd647943a1b8c49b3c5192fcd69fdaf5
[ "MIT" ]
null
null
null
import numpy as np import pandas as pd import seaborn as sns import matplotlib.pyplot as plt from sklearn.metrics import classification_report #EVERY TIME THE DATASET IS RETRIEVED FROM GITHUB input_file = 'https://raw.githubusercontent.com/lcphy/Digital-Innovation-Lab/master/bank-full.csv' dataset = pd.read_csv(input...
25.722892
98
0.721624
b982c2b4e976b723dfa3208c1bc1e4ea51b77ac9
5,562
py
Python
tools/c7n_azure/tests/test_route_table.py
anastasiia-zolochevska/cloud-custodian
f25315a01bec808c16ab0e2d433d6151cf5769e4
[ "Apache-2.0" ]
2
2020-01-20T19:46:28.000Z
2020-08-19T14:20:27.000Z
tools/c7n_azure/tests/test_route_table.py
anastasiia-zolochevska/cloud-custodian
f25315a01bec808c16ab0e2d433d6151cf5769e4
[ "Apache-2.0" ]
79
2019-03-20T12:27:06.000Z
2019-08-14T14:07:04.000Z
tools/c7n_azure/tests/test_route_table.py
anastasiia-zolochevska/cloud-custodian
f25315a01bec808c16ab0e2d433d6151cf5769e4
[ "Apache-2.0" ]
2
2019-04-22T15:20:23.000Z
2019-08-27T12:37:51.000Z
# Copyright 2015-2018 Capital One Services, LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed ...
35.426752
95
0.538655
b98531b0567b9e4719006397ec461d3fa4999e4b
11,730
py
Python
proto/tp_artifact_1.0/build/lib/sawtooth_artifact/processor/handler.py
pkthein/sparts_all_fam
ff162e4ea8c3919a197dc0cc13fde6b32da113c7
[ "Apache-2.0" ]
1
2019-04-03T18:31:36.000Z
2019-04-03T18:31:36.000Z
proto/tp_artifact_1.0/build/lib/sawtooth_artifact/processor/handler.py
pkthein/sparts_all_fam
ff162e4ea8c3919a197dc0cc13fde6b32da113c7
[ "Apache-2.0" ]
null
null
null
proto/tp_artifact_1.0/build/lib/sawtooth_artifact/processor/handler.py
pkthein/sparts_all_fam
ff162e4ea8c3919a197dc0cc13fde6b32da113c7
[ "Apache-2.0" ]
null
null
null
# Copyright 2016 Intel Corporation # Copyright 2017 Wind River # 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...
39.897959
82
0.521313
b9877d896f97460bc5a35787da6277925368bc9f
764
py
Python
ReviewsCollector.py
fsandx/moodybooks
5c13fe43849e4fa861a163c74411e9f796518bc9
[ "MIT" ]
null
null
null
ReviewsCollector.py
fsandx/moodybooks
5c13fe43849e4fa861a163c74411e9f796518bc9
[ "MIT" ]
null
null
null
ReviewsCollector.py
fsandx/moodybooks
5c13fe43849e4fa861a163c74411e9f796518bc9
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ STEP 2 Takes the list of urls in the json files and downloads the html files to local drive Start with: scrapy runspider ReviewsCollector.py """ import scrapy import json
29.384615
124
0.611257
b9887b38cf06939bc8dd710e9861e2366862482a
3,120
py
Python
firelight/interfaces/light.py
roshie548/firelight
3a5af5e2a1e5784127baebcf1517ffddcaff4062
[ "MIT" ]
16
2021-11-29T03:05:31.000Z
2022-01-19T05:32:45.000Z
firelight/interfaces/light.py
roshie548/firelight
3a5af5e2a1e5784127baebcf1517ffddcaff4062
[ "MIT" ]
null
null
null
firelight/interfaces/light.py
roshie548/firelight
3a5af5e2a1e5784127baebcf1517ffddcaff4062
[ "MIT" ]
null
null
null
from abc import ABC, abstractmethod from .color import Color
32.842105
77
0.641026
b98b6f0b6e5f35ef44fd272ec1f3a99b4d72acf0
1,293
py
Python
PolymorphismPYTHON/Polypy.py
cadeng23/oop-cjgustafson
cd3e5ca0e37f8b00a80516c6c8d5d6789a77d9a8
[ "MIT" ]
null
null
null
PolymorphismPYTHON/Polypy.py
cadeng23/oop-cjgustafson
cd3e5ca0e37f8b00a80516c6c8d5d6789a77d9a8
[ "MIT" ]
null
null
null
PolymorphismPYTHON/Polypy.py
cadeng23/oop-cjgustafson
cd3e5ca0e37f8b00a80516c6c8d5d6789a77d9a8
[ "MIT" ]
null
null
null
import random Daughter = Family('Ashley', 'Smith', 'Brown') Son = Family('Kevin', 'Smith', 'Brown') print(Daughter.eyes) print(Son.eyes) #with the kids being born it will define what color hair and eyes # they may randomly get through inheritance
23.089286
66
0.618716
b98c3a1636cff18e5244db1f52b8e6e89e2c99b5
1,494
py
Python
homeassistant/components/device_tracker/owntracks.py
evancohen/home-assistant
dafc0ced6b07025c03417d8e7a2c0133b4c622fc
[ "MIT" ]
14
2015-11-10T07:57:43.000Z
2021-08-29T13:45:26.000Z
homeassistant/components/device_tracker/owntracks.py
evancohen/home-assistant
dafc0ced6b07025c03417d8e7a2c0133b4c622fc
[ "MIT" ]
null
null
null
homeassistant/components/device_tracker/owntracks.py
evancohen/home-assistant
dafc0ced6b07025c03417d8e7a2c0133b4c622fc
[ "MIT" ]
8
2015-11-14T16:40:41.000Z
2020-02-17T19:48:08.000Z
""" homeassistant.components.device_tracker.owntracks ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OwnTracks platform for the device tracker. For more details about this platform, please refer to the documentation at https://home-assistant.io/components/device_tracker.owntracks/ """ import json import logging im...
27.666667
74
0.582999
b98c6a6e2a07073f4614093d6ae5d6469afd6835
48,027
py
Python
src/models/end_to_end_event_coreference.py
luyaojie/E3C
4b2f33da4629211fd6a3738077794f821c7f7c8b
[ "MIT" ]
2
2022-02-20T15:13:11.000Z
2022-03-22T03:47:21.000Z
src/models/end_to_end_event_coreference.py
luyaojie/E3C
4b2f33da4629211fd6a3738077794f821c7f7c8b
[ "MIT" ]
null
null
null
src/models/end_to_end_event_coreference.py
luyaojie/E3C
4b2f33da4629211fd6a3738077794f821c7f7c8b
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding:utf-8 -*- # Created by Roger on 2019-09-10 # Mostly by AllenNLP import logging import math from typing import Any, Dict, List, Optional, Tuple import torch import torch.nn.functional as F from allennlp.data import Vocabulary from allennlp.models.model import Model from allennlp.mod...
54.514188
134
0.629271
b98ccbb0c859fdccad6b30924e5845122d497aa5
1,964
py
Python
week2/7litersProblem.py
vietanhtran2710/ArtificialIntelligenceHomework
f4da761016d67477b50856cadf1e2560230d3f79
[ "MIT" ]
3
2021-09-20T08:32:23.000Z
2021-09-25T08:11:48.000Z
week2/7litersProblem.py
vietanhtran2710/ArtificialIntelligenceHomework
f4da761016d67477b50856cadf1e2560230d3f79
[ "MIT" ]
null
null
null
week2/7litersProblem.py
vietanhtran2710/ArtificialIntelligenceHomework
f4da761016d67477b50856cadf1e2560230d3f79
[ "MIT" ]
null
null
null
""" Given 3 bottles of capacities 3, 5, and 9 liters, count number of all possible solutions to get 7 liters """ current_path = [[0, 0, 0]] CAPACITIES = (3, 5, 9) solutions_count = 0 if __name__ == "__main__": try: current_state = [0, 0, 0] move_to_new_state(current_state) print(s...
35.709091
91
0.548371
b98d02f62eca1818cb1fb297d1c8644dd35ff288
8,263
py
Python
st2common/st2common/bootstrap/rulesregistrar.py
avezraj/st2
519c7f6819e52fb289c440bb7d1df7b558bb9ed7
[ "Apache-2.0" ]
null
null
null
st2common/st2common/bootstrap/rulesregistrar.py
avezraj/st2
519c7f6819e52fb289c440bb7d1df7b558bb9ed7
[ "Apache-2.0" ]
null
null
null
st2common/st2common/bootstrap/rulesregistrar.py
avezraj/st2
519c7f6819e52fb289c440bb7d1df7b558bb9ed7
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Extreme Networks, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to i...
41.109453
98
0.57824
b9912797a8155d6800745fe804b93206d95de8ac
91,819
py
Python
sdk/costmanagement/azure-mgmt-costmanagement/azure/mgmt/costmanagement/models/_models_py3.py
aiven/azure-sdk-for-python
8764dc07423beca46ed0b51212d81289d9e52c60
[ "MIT" ]
1
2021-09-07T18:43:20.000Z
2021-09-07T18:43:20.000Z
sdk/costmanagement/azure-mgmt-costmanagement/azure/mgmt/costmanagement/models/_models_py3.py
aiven/azure-sdk-for-python
8764dc07423beca46ed0b51212d81289d9e52c60
[ "MIT" ]
2
2021-11-03T06:10:36.000Z
2021-12-01T06:29:39.000Z
sdk/costmanagement/azure-mgmt-costmanagement/azure/mgmt/costmanagement/models/_models_py3.py
msyyc/azure-sdk-for-python
e2dba75181f8b4336ae57e75aa391322c12c3123
[ "MIT" ]
1
2021-05-19T02:55:10.000Z
2021-05-19T02:55:10.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 may ...
38.16251
498
0.649005
b9921ebf7fdd9b5fb1dd763092a97ae1888e730f
3,860
py
Python
test/test_simple_compression.py
jayvdb/brotlipy
ffddf2ea5adc584c8c353d246bb1077b7e781b63
[ "MIT" ]
null
null
null
test/test_simple_compression.py
jayvdb/brotlipy
ffddf2ea5adc584c8c353d246bb1077b7e781b63
[ "MIT" ]
null
null
null
test/test_simple_compression.py
jayvdb/brotlipy
ffddf2ea5adc584c8c353d246bb1077b7e781b63
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ test_simple_compression ~~~~~~~~~~~~~~~~~~~~~~~~~ Tests for compression of single chunks. """ import brotli import pytest from hypothesis import given from hypothesis.strategies import binary, integers, sampled_from, one_of def test_roundtrip_compression_with_files(simple_compressed_fil...
29.692308
78
0.615803
b992a4ec960bcf3e39ba5a1bb6a8cd2e68be293e
1,987
py
Python
wexapi/models/ticker.py
madmis/wexapi
f5b1b9b566f767bca7d8fad1f08c3d1bca42355a
[ "MIT" ]
3
2018-06-08T12:45:04.000Z
2018-08-02T11:09:11.000Z
wexapi/models/ticker.py
madmis/wexapi
f5b1b9b566f767bca7d8fad1f08c3d1bca42355a
[ "MIT" ]
null
null
null
wexapi/models/ticker.py
madmis/wexapi
f5b1b9b566f767bca7d8fad1f08c3d1bca42355a
[ "MIT" ]
null
null
null
from decimal import Decimal
20.27551
38
0.545546
b99506d26f9716e398b3a3724d393185a9900942
1,216
py
Python
hard-gists/98bb452dc14e8c40e403/snippet.py
jjhenkel/dockerizeme
eaa4fe5366f6b9adf74399eab01c712cacaeb279
[ "Apache-2.0" ]
21
2019-07-08T08:26:45.000Z
2022-01-24T23:53:25.000Z
hard-gists/98bb452dc14e8c40e403/snippet.py
jjhenkel/dockerizeme
eaa4fe5366f6b9adf74399eab01c712cacaeb279
[ "Apache-2.0" ]
5
2019-06-15T14:47:47.000Z
2022-02-26T05:02:56.000Z
hard-gists/98bb452dc14e8c40e403/snippet.py
jjhenkel/dockerizeme
eaa4fe5366f6b9adf74399eab01c712cacaeb279
[ "Apache-2.0" ]
17
2019-05-16T03:50:34.000Z
2021-01-14T14:35:12.000Z
from scryptos import * p1 = 32581479300404876772405716877547 p2 = 27038194053540661979045656526063 p3 = 26440615366395242196516853423447 n = p1*p2*p3 e = 3 c = int(open("flag.enc", "rb").read().encode("hex"), 16) # from User's Guide to PARI/GP, nth_root function sqrtnall = 'sqrtnall(x,n)={my(V,r,z,r2);r=sqrtn(x,n,&z...
39.225806
224
0.663651
b9954284c404c9a5aed225965d5006c8735af349
1,717
py
Python
musa/migrations/0001_initial.py
ccsreenidhin/Music-Web-Django
9b8286914f9099b9ed56c712c7ca384846f189d1
[ "MIT" ]
null
null
null
musa/migrations/0001_initial.py
ccsreenidhin/Music-Web-Django
9b8286914f9099b9ed56c712c7ca384846f189d1
[ "MIT" ]
null
null
null
musa/migrations/0001_initial.py
ccsreenidhin/Music-Web-Django
9b8286914f9099b9ed56c712c7ca384846f189d1
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2018-03-29 06:43 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion import musa.models
40.880952
121
0.633663
b9957182927ee0480e35dd837a4d9ee2d8587462
3,207
py
Python
nuitka/codegen/LoopCodes.py
RESP3CT88/Nuitka
0fcc25d9f00c4fc78c79a863c4b7987f573962e1
[ "Apache-2.0" ]
1
2021-05-25T12:48:28.000Z
2021-05-25T12:48:28.000Z
venv/Lib/site-packages/nuitka/codegen/LoopCodes.py
matthijsvanvliet/raytracing-python
73d692b47330ab94eedde579a51063e3a907e92b
[ "MIT" ]
null
null
null
venv/Lib/site-packages/nuitka/codegen/LoopCodes.py
matthijsvanvliet/raytracing-python
73d692b47330ab94eedde579a51063e3a907e92b
[ "MIT" ]
null
null
null
# Copyright 2021, Kay Hayen, mailto:kay.hayen@gmail.com # # Part of "Nuitka", an optimizing Python compiler that is compatible and # integrates with CPython, but also works on its own. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in complianc...
34.858696
111
0.752728
b995831c9a98c5b05882c5bbcc4b241cd51503bd
4,837
py
Python
3_module/C_BloomFilter.py
L4mborg1n1-D14610/Algoritms_and_DataStructure
f61b7434dbc600da02e8ec38648fa84beb160f17
[ "Xnet", "X11", "CECILL-B" ]
null
null
null
3_module/C_BloomFilter.py
L4mborg1n1-D14610/Algoritms_and_DataStructure
f61b7434dbc600da02e8ec38648fa84beb160f17
[ "Xnet", "X11", "CECILL-B" ]
null
null
null
3_module/C_BloomFilter.py
L4mborg1n1-D14610/Algoritms_and_DataStructure
f61b7434dbc600da02e8ec38648fa84beb160f17
[ "Xnet", "X11", "CECILL-B" ]
null
null
null
import math from sys import exit # , n - , P - , # m = -(nlog2P) / ln2 (2 - ), - -log2P # - : (((i + 1)*x + p(i+1)) mod M) mod m, - x - , i - -, # pi - i- , M - 31 , M = 2^31 - 1, M = 2 147 483 647, M - . # - k . BloomFilter # . # m, , # . , : # 1, ...
34.798561
116
0.551995
b996ad8d5f407e5b1769d9b50ca7be5705a211e8
1,937
py
Python
pyzmq/examples/pubsub/subscriber.py
Surfndez/source-publish
c3838b303c1a0806f21cd4e8d8c207015b3ce9c8
[ "Intel" ]
null
null
null
pyzmq/examples/pubsub/subscriber.py
Surfndez/source-publish
c3838b303c1a0806f21cd4e8d8c207015b3ce9c8
[ "Intel" ]
1
2021-01-21T17:43:33.000Z
2021-01-21T17:43:33.000Z
pyzmq/examples/pubsub/subscriber.py
Surfndez/source-publish
c3838b303c1a0806f21cd4e8d8c207015b3ce9c8
[ "Intel" ]
null
null
null
"""A test that subscribes to NumPy arrays. Uses REQ/REP (on PUB/SUB socket + 1) to synchronize """ #----------------------------------------------------------------------------- # Copyright (c) 2010 Brian Granger # # Distributed under the terms of the New BSD License. The full license is in # the file COPYING.BSD...
25.826667
78
0.545173
b997c70668ace413cc27502883f737e007e56239
1,006
py
Python
Doc/includes/sqlite3/load_extension.py
livioso/cpython
077061a7b24917aaf31057885c69919c5a553c88
[ "PSF-2.0" ]
36
2019-06-07T20:44:06.000Z
2022-03-23T06:19:43.000Z
Doc/includes/sqlite3/load_extension.py
livioso/cpython
077061a7b24917aaf31057885c69919c5a553c88
[ "PSF-2.0" ]
49
2016-02-29T17:59:52.000Z
2019-05-05T04:59:26.000Z
Doc/includes/sqlite3/load_extension.py
livioso/cpython
077061a7b24917aaf31057885c69919c5a553c88
[ "PSF-2.0" ]
28
2019-06-27T04:11:27.000Z
2022-03-11T06:27:44.000Z
import sqlite3 con = sqlite3.connect(":memory:") # enable extension loading con.enable_load_extension(True) # Load the fulltext search extension con.execute("select load_extension('./fts3.so')") # alternatively you can load the extension using an API call: # con.load_extension("./fts3.so") # disable extension load...
37.259259
104
0.744533
b9982b7f935a0931c3a9dc4e8ec48b12b5523acb
22,060
py
Python
lingvo/core/inference_graph_exporter.py
RunzheYang/lingvo
1291e29812f9ee9836f9cacbb05db9ec6b095234
[ "Apache-2.0" ]
1
2021-09-02T18:04:13.000Z
2021-09-02T18:04:13.000Z
lingvo/core/inference_graph_exporter.py
RunzheYang/lingvo
1291e29812f9ee9836f9cacbb05db9ec6b095234
[ "Apache-2.0" ]
null
null
null
lingvo/core/inference_graph_exporter.py
RunzheYang/lingvo
1291e29812f9ee9836f9cacbb05db9ec6b095234
[ "Apache-2.0" ]
null
null
null
# Lint as: python3 # 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 ...
38.100173
116
0.694334
b9982e3e4e7a4b4799e5780bd7629d5235cc1b40
1,836
py
Python
src/preprocessing/annual_hc_by_crime_loc.py
VijayKalmath/USCrimeAnalysis
14c96aae52547a4f7ea140395c62a621a97def50
[ "MIT" ]
null
null
null
src/preprocessing/annual_hc_by_crime_loc.py
VijayKalmath/USCrimeAnalysis
14c96aae52547a4f7ea140395c62a621a97def50
[ "MIT" ]
null
null
null
src/preprocessing/annual_hc_by_crime_loc.py
VijayKalmath/USCrimeAnalysis
14c96aae52547a4f7ea140395c62a621a97def50
[ "MIT" ]
null
null
null
#! usr/env/bin python import glob import numpy as np import pandas as pd from tqdm import tqdm def get_place_crime_count(path:str)->pd.DataFrame: """ Function to return """ # Extracting the table name from and year from the given file path t_name = " ".join(path[path.index("Table"):path.index(...
33.381818
84
0.6378
b998534e368ce74be309448b790e384f839c6d4a
1,672
py
Python
allennlp/tests/modules/token_embedders/bag_of_word_counts_token_embedder_test.py
ethanjperez/allennlp
e520993f16f0da7e2c40f6e44b8dc56338f46b57
[ "Apache-2.0" ]
24
2019-09-16T00:10:54.000Z
2021-09-08T19:31:51.000Z
allennlp/tests/modules/token_embedders/bag_of_word_counts_token_embedder_test.py
ethanjperez/allennlp
e520993f16f0da7e2c40f6e44b8dc56338f46b57
[ "Apache-2.0" ]
null
null
null
allennlp/tests/modules/token_embedders/bag_of_word_counts_token_embedder_test.py
ethanjperez/allennlp
e520993f16f0da7e2c40f6e44b8dc56338f46b57
[ "Apache-2.0" ]
7
2019-09-16T02:37:31.000Z
2021-09-01T06:06:17.000Z
# pylint: disable=no-self-use,invalid-name import numpy as np from numpy.testing import assert_almost_equal import torch from allennlp.common import Params from allennlp.data import Vocabulary from allennlp.modules.token_embedders import BagOfWordCountsTokenEmbedder from allennlp.common.testing import AllenNlpTestCase ...
45.189189
93
0.70634
b998e92d411833a80bc4657adf0243c90d5c6084
5,457
py
Python
demo/demo_shapenet.py
hengkaiz/meshrcnn
eb5b5bc0639a33e48f0fc1e0834106798cd1e3d8
[ "BSD-3-Clause" ]
null
null
null
demo/demo_shapenet.py
hengkaiz/meshrcnn
eb5b5bc0639a33e48f0fc1e0834106798cd1e3d8
[ "BSD-3-Clause" ]
null
null
null
demo/demo_shapenet.py
hengkaiz/meshrcnn
eb5b5bc0639a33e48f0fc1e0834106798cd1e3d8
[ "BSD-3-Clause" ]
null
null
null
import argparse import logging import multiprocessing as mp import logging import os from detectron2.evaluation import inference_context import torch import torch.distributed as dist import torch.multiprocessing as mp from detectron2.utils.collect_env import collect_env_info from detectron2.utils.logger import setup_lo...
31.912281
99
0.637713
b998f6994cf6e83702b501cd661bb37f91b59317
7,854
py
Python
proglearn/voters.py
jshin13/progressive-learning
dccc70fe5f6a03d2c53c2b01fd2122d7fd2798dc
[ "Apache-2.0" ]
null
null
null
proglearn/voters.py
jshin13/progressive-learning
dccc70fe5f6a03d2c53c2b01fd2122d7fd2798dc
[ "Apache-2.0" ]
null
null
null
proglearn/voters.py
jshin13/progressive-learning
dccc70fe5f6a03d2c53c2b01fd2122d7fd2798dc
[ "Apache-2.0" ]
null
null
null
import numpy as np # from sklearn.ensemble import BaggingClassifier # from sklearn.tree import DecisionTreeClassifier from sklearn.neighbors import KNeighborsClassifier from sklearn.utils.validation import ( check_X_y, check_array, NotFittedError, ) from sklearn.utils.multiclass import check_classificati...
26.805461
99
0.556277
b999024320e50c940c8f273e6f0536039450c829
1,949
py
Python
config.py
jhattat/photoBooth
f6fe3ab418bb917792e10349597401ed34078766
[ "MIT" ]
null
null
null
config.py
jhattat/photoBooth
f6fe3ab418bb917792e10349597401ed34078766
[ "MIT" ]
null
null
null
config.py
jhattat/photoBooth
f6fe3ab418bb917792e10349597401ed34078766
[ "MIT" ]
null
null
null
# Tumblr Setup # Replace the values with your information # OAuth keys can be generated from https://api.tumblr.com/console/calls/user/info consumer_key='ShbOqI5zErQXOL7Qnd5XduXpY9XQUlBgJDpCLeq1OYqnY2KzSt' #replace with your key consumer_secret='ulZradkbJGksjpl2MMlshAfJgEW6TNeSdZucykqeTp8jvwgnhu' #replace with your sec...
77.96
130
0.758338
b9991711cbe60fa3459b0fb4cb64d023132610e8
896
py
Python
accounts/admin.py
GuilhemN/site-interludes
69873810d5b0168aa57277ba51805117e6c53874
[ "MIT" ]
null
null
null
accounts/admin.py
GuilhemN/site-interludes
69873810d5b0168aa57277ba51805117e6c53874
[ "MIT" ]
1
2022-03-24T10:41:10.000Z
2022-03-24T12:39:30.000Z
accounts/admin.py
GuilhemN/site-interludes
69873810d5b0168aa57277ba51805117e6c53874
[ "MIT" ]
1
2022-03-23T22:30:12.000Z
2022-03-23T22:30:12.000Z
from django.contrib import admin from django.contrib.auth.models import Group from accounts.models import EmailUser from shared.admin import ExportCsvMixin # no need for groups - we only have regular users and superusers admin.site.unregister(Group)
37.333333
106
0.753348
b9993aa0d134cc4869bfe49fd1ecd6dc8c6b0b96
23,640
py
Python
rotkehlchen/exchanges/coinbase.py
vnavascues/rotki
8675bdb02bf84bfccb5d59362e3ae2b7138fcd8f
[ "BSD-3-Clause" ]
null
null
null
rotkehlchen/exchanges/coinbase.py
vnavascues/rotki
8675bdb02bf84bfccb5d59362e3ae2b7138fcd8f
[ "BSD-3-Clause" ]
null
null
null
rotkehlchen/exchanges/coinbase.py
vnavascues/rotki
8675bdb02bf84bfccb5d59362e3ae2b7138fcd8f
[ "BSD-3-Clause" ]
null
null
null
import hashlib import hmac import logging import time from json.decoder import JSONDecodeError from typing import TYPE_CHECKING, Any, Dict, List, Optional, Tuple from urllib.parse import urlencode import requests from rotkehlchen.assets.asset import Asset from rotkehlchen.assets.converters import asset_from_coinbase ...
40.688468
98
0.592047
b9994eb6b47f29e07dc9f474ab82878fdc8ae029
3,533
py
Python
lib/python3.7/site-packages/ldap/controls/deref.py
aonrobot/MSC-thug-auth-provider
aef37ef5a000586b8502cc536244f31e08b9c2db
[ "Apache-2.0" ]
1
2019-06-21T11:51:26.000Z
2019-06-21T11:51:26.000Z
lib/python3.7/site-packages/ldap/controls/deref.py
aonrobot/MSC-thug-auth-provider
aef37ef5a000586b8502cc536244f31e08b9c2db
[ "Apache-2.0" ]
13
2019-07-03T21:28:31.000Z
2022-02-26T10:42:05.000Z
lib/python3.7/site-packages/ldap/controls/deref.py
aonrobot/MSC-thug-auth-provider
aef37ef5a000586b8502cc536244f31e08b9c2db
[ "Apache-2.0" ]
2
2020-02-11T09:34:39.000Z
2020-11-10T14:41:32.000Z
# -*- coding: utf-8 -*- """ ldap.controls.deref - classes for (see https://tools.ietf.org/html/draft-masarati-ldap-deref) See https://www.python-ldap.org/ for project details. """ __all__ = [ 'DEREF_CONTROL_OID', 'DereferenceControl', ] import ldap.controls from ldap.controls import LDAPControl,KNOWN_RESPONSE_CO...
29.441667
102
0.711577
b999aec7c34874ef90e0f30812ac97217ce90cca
3,145
py
Python
emoji.py
notagoat/Deepmoji
1ab922306c3647f9c7ea98caa2660a53b18fe4b6
[ "MIT" ]
1
2020-03-19T20:09:00.000Z
2020-03-19T20:09:00.000Z
emoji.py
notagoat/Deepmoji
1ab922306c3647f9c7ea98caa2660a53b18fe4b6
[ "MIT" ]
null
null
null
emoji.py
notagoat/Deepmoji
1ab922306c3647f9c7ea98caa2660a53b18fe4b6
[ "MIT" ]
null
null
null
import requests import urllib.request import os.path import shutil import csv if __name__ == '__main__': main()
37.440476
151
0.574245
b99b1d1ec6004cbeeb91e19410dbbb1e2216c45e
1,478
py
Python
nsq/__init__.py
jehiah/pynsq
899b60a8ce77ed6c8ab899fbdfd7adbc1b450c96
[ "MIT" ]
1
2015-05-25T00:23:53.000Z
2015-05-25T00:23:53.000Z
nsq/__init__.py
barkinet/pynsq
899b60a8ce77ed6c8ab899fbdfd7adbc1b450c96
[ "MIT" ]
null
null
null
nsq/__init__.py
barkinet/pynsq
899b60a8ce77ed6c8ab899fbdfd7adbc1b450c96
[ "MIT" ]
null
null
null
from __future__ import absolute_import import signal import tornado.ioloop import logging from .protocol import ( Error, unpack_response, decode_message, valid_topic_name, valid_channel_name, identify, subscribe, ready, finish, touch, requeue, nop, pub, mpub, ...
26.392857
96
0.696211
b99b2da4f2ac2ca37d2ded7c72545cef1cab4228
5,356
py
Python
scripts/summaryPlot.py
Hespian/ParFastKer
5ddf1685c0652e73c889cfc64c7ec1fd827f905c
[ "BSD-3-Clause", "MIT" ]
3
2019-08-10T08:24:19.000Z
2019-08-12T07:16:03.000Z
scripts/summaryPlot.py
Hespian/ParFastKer
5ddf1685c0652e73c889cfc64c7ec1fd827f905c
[ "BSD-3-Clause", "MIT" ]
null
null
null
scripts/summaryPlot.py
Hespian/ParFastKer
5ddf1685c0652e73c889cfc64c7ec1fd827f905c
[ "BSD-3-Clause", "MIT" ]
null
null
null
import get_data_ours import get_data_akiba import get_data_NearLinear import get_data_LinearTime import os import matplotlib.pyplot as plt # graphs = ["uk-2002", "arabic-2005", "gsh-2015-tpd", "uk-2005", "it-2004", "sk-2005", "uk-2007-05", "webbase-2001", "asia.osm", "road_usa", "europe.osm", "rgg_n26_s0", "RHG-10000...
39.094891
234
0.720127
b99c2305beceab596bedee8ad399b6faa3216070
3,587
py
Python
bouncer/cli/base.py
lrnt/git-bouncer
3015e11a5d2c90986124de73bf1fd0f5a8563360
[ "MIT" ]
null
null
null
bouncer/cli/base.py
lrnt/git-bouncer
3015e11a5d2c90986124de73bf1fd0f5a8563360
[ "MIT" ]
null
null
null
bouncer/cli/base.py
lrnt/git-bouncer
3015e11a5d2c90986124de73bf1fd0f5a8563360
[ "MIT" ]
null
null
null
import configparser import sys import inspect from argparse import ArgumentParser, RawDescriptionHelpFormatter
27.381679
72
0.578199
b99c4d9fb380e0635cac67dff2a6820b500bf34f
13,728
py
Python
Examples/ExampleCodes_ssccoorriinngg.py
MahdadJafarzadeh/ssccoorriinngg
63c726e9e7d0f6d13032415c76b8c3bb1ff2bee3
[ "MIT" ]
2
2020-04-28T12:50:26.000Z
2020-05-13T08:52:42.000Z
Examples/ExampleCodes_ssccoorriinngg.py
MahdadJafarzadeh/ssccoorriinngg
63c726e9e7d0f6d13032415c76b8c3bb1ff2bee3
[ "MIT" ]
null
null
null
Examples/ExampleCodes_ssccoorriinngg.py
MahdadJafarzadeh/ssccoorriinngg
63c726e9e7d0f6d13032415c76b8c3bb1ff2bee3
[ "MIT" ]
1
2020-07-14T13:48:56.000Z
2020-07-14T13:48:56.000Z
#%% Import libs import numpy as np from sklearn.ensemble import RandomForestClassifier from sklearn.model_selection import cross_validate from sklearn.metrics import make_scorer, accuracy_score, precision_score, recall_score, f1_score import h5py import time from ssccoorriinngg import ssccoorriinngg import numpy as np ...
53.209302
127
0.682984
b99d08420cae81be117acdda96af821aba38eea2
6,891
py
Python
igibson/examples/behavior/behavior_demo_collection.py
suresh-guttikonda/iGibson
a69e623058180146466cd52d4bb3c00d1facdacf
[ "MIT" ]
null
null
null
igibson/examples/behavior/behavior_demo_collection.py
suresh-guttikonda/iGibson
a69e623058180146466cd52d4bb3c00d1facdacf
[ "MIT" ]
null
null
null
igibson/examples/behavior/behavior_demo_collection.py
suresh-guttikonda/iGibson
a69e623058180146466cd52d4bb3c00d1facdacf
[ "MIT" ]
null
null
null
""" Main BEHAVIOR demo collection entrypoint """ import argparse import copy import datetime import os import bddl import numpy as np import igibson from igibson.activity.activity_base import iGBEHAVIORActivityInstance from igibson.render.mesh_renderer.mesh_renderer_cpu import MeshRendererSettings from igibson.rende...
31.465753
120
0.652881
b99e3b0ee335439a781ae231769595415a1dc6ec
546
py
Python
wagtail/wagtailadmin/menu.py
digitalmarmalade/wagtail
ac4d23172ff3f42746625630583b17d243fb9822
[ "BSD-3-Clause" ]
1
2015-11-05T18:02:04.000Z
2015-11-05T18:02:04.000Z
wagtail/wagtailadmin/menu.py
digitalmarmalade/wagtail
ac4d23172ff3f42746625630583b17d243fb9822
[ "BSD-3-Clause" ]
null
null
null
wagtail/wagtailadmin/menu.py
digitalmarmalade/wagtail
ac4d23172ff3f42746625630583b17d243fb9822
[ "BSD-3-Clause" ]
null
null
null
from django.utils.text import slugify from django.utils.html import format_html
32.117647
79
0.611722
b99ee5dfe9849188796ff8d2b024b524adedb8d2
1,950
py
Python
django_mfa/migrations/0001_initial.py
timgates42/django-mfa
89eeb83f7da3ea24f205b40b13c7f9d33ea15b99
[ "MIT" ]
null
null
null
django_mfa/migrations/0001_initial.py
timgates42/django-mfa
89eeb83f7da3ea24f205b40b13c7f9d33ea15b99
[ "MIT" ]
null
null
null
django_mfa/migrations/0001_initial.py
timgates42/django-mfa
89eeb83f7da3ea24f205b40b13c7f9d33ea15b99
[ "MIT" ]
null
null
null
# Generated by Django 2.1.5 on 2019-03-26 11:35 from django.conf import settings from django.db import migrations, models import django.db.models.deletion
41.489362
143
0.598974
b99f21827c3ba7ccbcab4806c878cdacfa139e20
317
py
Python
app/logger_example/main.py
khanh-nguyen-code/my-collection
31581ef0b1dae67aafb1f4e64b9973a38cc01edf
[ "MIT" ]
null
null
null
app/logger_example/main.py
khanh-nguyen-code/my-collection
31581ef0b1dae67aafb1f4e64b9973a38cc01edf
[ "MIT" ]
null
null
null
app/logger_example/main.py
khanh-nguyen-code/my-collection
31581ef0b1dae67aafb1f4e64b9973a38cc01edf
[ "MIT" ]
null
null
null
from my_collection import logger if __name__ == "__main__": logger.now().debug("debug1") logger.now().debug("debug2") logger.now().info("hello1") logger.now().info("hello2") logger.now().with_field("key", "val").error("with field1") logger.now().with_field("key", "val").error("with field2")
31.7
62
0.646688
b9a14f8cda479b51cbe9296c63d8ae7397078bc7
760
py
Python
robotframework_iperf3/__main__.py
scathaig/robotframework-iperf3
cfeeb3e265777403d7eb06fcfa6d69650f2a5e67
[ "Apache-2.0" ]
null
null
null
robotframework_iperf3/__main__.py
scathaig/robotframework-iperf3
cfeeb3e265777403d7eb06fcfa6d69650f2a5e67
[ "Apache-2.0" ]
null
null
null
robotframework_iperf3/__main__.py
scathaig/robotframework-iperf3
cfeeb3e265777403d7eb06fcfa6d69650f2a5e67
[ "Apache-2.0" ]
null
null
null
import argparse from robotremoteserver import RobotRemoteServer from .iperf3 import Iperf3 if __name__ == '__main__': # create commandline parser parser = argparse.ArgumentParser(formatter_class=argparse.ArgumentDefaultsHelpFormatter) parser.prog = 'python3 -m robotframework_iperf3' # add parser opt...
21.111111
92
0.619737
b9a1ae11b40a499e6f6854e1a273c2ff226ef650
692
py
Python
h2o-docs/src/booklets/v2_2015/source/Python_Vignette_code_examples/python_combine_frames_append_one_as_columns.py
ahmedengu/h2o-3
ac2c0a6fbe7f8e18078278bf8a7d3483d41aca11
[ "Apache-2.0" ]
6,098
2015-05-22T02:46:12.000Z
2022-03-31T16:54:51.000Z
h2o-docs/src/booklets/v2_2015/source/Python_Vignette_code_examples/python_combine_frames_append_one_as_columns.py
ahmedengu/h2o-3
ac2c0a6fbe7f8e18078278bf8a7d3483d41aca11
[ "Apache-2.0" ]
2,517
2015-05-23T02:10:54.000Z
2022-03-30T17:03:39.000Z
h2o-docs/src/booklets/v2_2015/source/Python_Vignette_code_examples/python_combine_frames_append_one_as_columns.py
ahmedengu/h2o-3
ac2c0a6fbe7f8e18078278bf8a7d3483d41aca11
[ "Apache-2.0" ]
2,199
2015-05-22T04:09:55.000Z
2022-03-28T22:20:45.000Z
df8.cbind(df9) # A B C D A0 B0 C0 D0 # ----- ------ ------ ------ ------ ----- ----- ----- # -0.09 0.944 0.160 0.271 -0.351 1.66 -2.32 -0.86 # -0.95 0.669 0.664 1.535 -0.633 -1.78 0.32 1.27 # 0.17 0.657 0.970 -0.419 -1.413 -0.51 0.64 -1.25 # 0.58 -0.516 -1.598 -1.346 0.71...
43.25
54
0.460983
b9a1dbb5125acea57356714e95e66c8e3a612e30
1,101
py
Python
FluentPython/dynamic_attr_and_prop/frozen_json.py
xu6148152/Binea_Python_Project
d943eb5f4685d08f080b372dcf1a7cbd5d63efed
[ "MIT" ]
null
null
null
FluentPython/dynamic_attr_and_prop/frozen_json.py
xu6148152/Binea_Python_Project
d943eb5f4685d08f080b372dcf1a7cbd5d63efed
[ "MIT" ]
null
null
null
FluentPython/dynamic_attr_and_prop/frozen_json.py
xu6148152/Binea_Python_Project
d943eb5f4685d08f080b372dcf1a7cbd5d63efed
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- encoding: utf-8 -*- from collections import abc from keyword import iskeyword
27.525
56
0.561308
b9a20089dfb3f5c8a3472d1f3be189af236d4d44
4,062
py
Python
pomdp_problems/tag/models/transition_model.py
Semanti1/pomdp_findit
b96c1c06aab4b485fa005654cf6438ff63718083
[ "MIT" ]
null
null
null
pomdp_problems/tag/models/transition_model.py
Semanti1/pomdp_findit
b96c1c06aab4b485fa005654cf6438ff63718083
[ "MIT" ]
null
null
null
pomdp_problems/tag/models/transition_model.py
Semanti1/pomdp_findit
b96c1c06aab4b485fa005654cf6438ff63718083
[ "MIT" ]
null
null
null
"""The Tag problem. Implemented according to the paper `Anytime Point-Based Approximations for Large POMDPs <https://arxiv.org/pdf/1110.0027.pdf>`_. Transition model: the robot moves deterministically. The target's movement depends on the robot; With Pr=0.8 the target moves away from the robot, and with P...
45.640449
103
0.537912
b9a21ff5a8c4fcb07930580d031f6847ecfaed43
4,731
py
Python
packit/fedpkg.py
bocekm/packit
b5da23c0fa3f205537551b9ed212d8f77d00d705
[ "MIT" ]
null
null
null
packit/fedpkg.py
bocekm/packit
b5da23c0fa3f205537551b9ed212d8f77d00d705
[ "MIT" ]
null
null
null
packit/fedpkg.py
bocekm/packit
b5da23c0fa3f205537551b9ed212d8f77d00d705
[ "MIT" ]
null
null
null
# MIT License # # Copyright (c) 2019 Red Hat, Inc. # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, merge,...
35.044444
82
0.609808
b9a3c97262cf3c50a695832e8941374463a78067
901
py
Python
tests/test_MaskedArrayCollection.py
ahaldane/NDducktype_tests
4876416e5fbff7ba0d85445c0eeae432d6e80014
[ "BSD-3-Clause" ]
3
2020-06-18T14:18:39.000Z
2021-07-22T18:05:52.000Z
tests/test_MaskedArrayCollection.py
ahaldane/NDducktype_tests
4876416e5fbff7ba0d85445c0eeae432d6e80014
[ "BSD-3-Clause" ]
2
2020-07-19T15:44:09.000Z
2020-07-28T23:22:21.000Z
tests/test_MaskedArrayCollection.py
ahaldane/NDducktype_tests
4876416e5fbff7ba0d85445c0eeae432d6e80014
[ "BSD-3-Clause" ]
2
2019-06-20T00:20:13.000Z
2020-09-20T21:42:52.000Z
#!/usr/bin/env python from ndarray_ducktypes.ArrayCollection import ArrayCollection from ndarray_ducktypes.MaskedArray import MaskedArray from ndarray_ducktypes.MaskedArrayCollection import MaskedArrayCollection import numpy as np # Tests for Masked ArrayCollections. # # First try: Simply make an arraycollection of Ma...
31.068966
75
0.738069
b9a4cbf5401cd86949e3f94c13bc464c4725fcee
192,704
py
Python
rpc/gen/core_pb2.py
jasonjoo2010/core
7c05ddbdac2e05a3d96db28f8bdfacf661907b82
[ "MIT" ]
null
null
null
rpc/gen/core_pb2.py
jasonjoo2010/core
7c05ddbdac2e05a3d96db28f8bdfacf661907b82
[ "MIT" ]
null
null
null
rpc/gen/core_pb2.py
jasonjoo2010/core
7c05ddbdac2e05a3d96db28f8bdfacf661907b82
[ "MIT" ]
null
null
null
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: core.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflecti...
38.875126
16,249
0.731339
b9a524c2d76717a70aa199aeb8c04e4579e1a276
2,217
py
Python
src/models/text_node.py
moevm/nosql1h19-text-graph
410f156ad4f232f8aa060d43692ab020610ddfd4
[ "MIT" ]
null
null
null
src/models/text_node.py
moevm/nosql1h19-text-graph
410f156ad4f232f8aa060d43692ab020610ddfd4
[ "MIT" ]
null
null
null
src/models/text_node.py
moevm/nosql1h19-text-graph
410f156ad4f232f8aa060d43692ab020610ddfd4
[ "MIT" ]
null
null
null
from neomodel import StructuredNode, StringProperty, JSONProperty, \ Relationship, IntegerProperty import numpy as np import re from models.text_relation import TextRelation __all__ = ['TextNode']
31.671429
73
0.488498
b9a529f9f36fb2cce0a38f16148b6bc2117ab033
2,655
py
Python
tests/test_bishop_generate.py
otaviocarvalho/chess-negamax
21f1066611e581dac3257d3f46c71ca2b09b5964
[ "MIT" ]
6
2015-04-04T15:58:29.000Z
2019-04-07T11:45:02.000Z
tests/test_bishop_generate.py
otaviocarvalho/chess-negamax
21f1066611e581dac3257d3f46c71ca2b09b5964
[ "MIT" ]
1
2015-04-27T19:02:06.000Z
2015-04-27T19:02:06.000Z
tests/test_bishop_generate.py
otaviocarvalho/chess-negamax
21f1066611e581dac3257d3f46c71ca2b09b5964
[ "MIT" ]
3
2015-10-04T00:22:17.000Z
2019-04-07T11:44:56.000Z
import unittest from .helpers import StubBoard, StubPiece, C, WHITE, BLACK if __name__ == '__main__': unittest.main()
30.872093
58
0.581921
b9a5362ea01805df4bb2ad83d0b9f037b0c75078
481
py
Python
lib/fmdplugins/list_records.py
GonzaloAlvarez/py-ga-sysadmin
fbbbbcad36df9f1b3e40328ff48c22bad13a56f4
[ "MIT" ]
2
2018-01-05T15:32:06.000Z
2021-06-02T13:15:05.000Z
lib/fmdplugins/list_records.py
GonzaloAlvarez/devops-tools
fbbbbcad36df9f1b3e40328ff48c22bad13a56f4
[ "MIT" ]
67
2017-01-09T19:39:19.000Z
2018-02-28T05:33:40.000Z
lib/fmdplugins/list_records.py
GonzaloAlvarez/devops-tools
fbbbbcad36df9f1b3e40328ff48c22bad13a56f4
[ "MIT" ]
null
null
null
from lib.fmd.namedentity import NamedEntity from lib.fmd.decorators import Action, ListStage, GetStage from lib.exceptions.workflow import EntryException
30.0625
63
0.719335
b9a5aa9a635301ab37ae92c6395e50231bd81a4b
6,033
py
Python
pysoa/server/action/switched.py
zetahernandez/pysoa
006e55ba877196a42c64f2ff453583d366082d55
[ "Apache-2.0" ]
null
null
null
pysoa/server/action/switched.py
zetahernandez/pysoa
006e55ba877196a42c64f2ff453583d366082d55
[ "Apache-2.0" ]
null
null
null
pysoa/server/action/switched.py
zetahernandez/pysoa
006e55ba877196a42c64f2ff453583d366082d55
[ "Apache-2.0" ]
null
null
null
from __future__ import ( absolute_import, unicode_literals, ) import abc import six from pysoa.server.internal.types import is_switch __all__ = ( 'SwitchedAction', )
38.673077
117
0.673463
b9a6e1263697c6f30d94bde78d6313fed9c57e76
542
py
Python
Seeder/settings/tests.py
WebarchivCZ/Seeder
1958c5d3f6bdcbbdb2c81dcb6abc7f689125b6a8
[ "MIT" ]
8
2017-08-16T19:18:57.000Z
2022-01-24T10:08:19.000Z
Seeder/settings/tests.py
WebarchivCZ/Seeder
1958c5d3f6bdcbbdb2c81dcb6abc7f689125b6a8
[ "MIT" ]
242
2017-02-03T19:15:52.000Z
2022-03-25T08:02:52.000Z
Seeder/settings/tests.py
WebarchivCZ/Seeder
1958c5d3f6bdcbbdb2c81dcb6abc7f689125b6a8
[ "MIT" ]
2
2019-03-06T12:36:29.000Z
2019-07-08T12:52:20.000Z
from .base import * SECRET_KEY = 'test' # SECURITY WARNING: don't run with debug turned on in production! DEBUG = True TEMPLATE_DEBUG = True ALLOWED_HOSTS = ['127.0.0.1'] DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', 'NAME': 'sqlite3.db', 'USER': '', 'PASSWO...
19.357143
66
0.605166
b9a767c55418efb8b98d12205d59e512ca419081
1,860
py
Python
blobStore.py
odeke-em/resty
838934033e7eeca521e8c6d8cb2e99778beaa4b9
[ "Apache-2.0" ]
null
null
null
blobStore.py
odeke-em/resty
838934033e7eeca521e8c6d8cb2e99778beaa4b9
[ "Apache-2.0" ]
null
null
null
blobStore.py
odeke-em/resty
838934033e7eeca521e8c6d8cb2e99778beaa4b9
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 # Author: Emmanuel Odeke <odeke@ualberta.ca> # This example steps you through using resty & restAssured to save pickled/serialized # data as a blob and then later re-using it in after deserialization. # Sample usage might be in collaborative computing ie publish results from an expensive # compu...
31
87
0.7
b9a7d3f5b98af28c51ffb55578408fad9a1d3f99
3,066
py
Python
venv/Lib/site-packages/dataframe/_dataframe_column_set.py
kavanAdeshara/Expense_Tracker
b3e4810e858a7786e05cda6b91ba674b73b87981
[ "Apache-2.0" ]
null
null
null
venv/Lib/site-packages/dataframe/_dataframe_column_set.py
kavanAdeshara/Expense_Tracker
b3e4810e858a7786e05cda6b91ba674b73b87981
[ "Apache-2.0" ]
null
null
null
venv/Lib/site-packages/dataframe/_dataframe_column_set.py
kavanAdeshara/Expense_Tracker
b3e4810e858a7786e05cda6b91ba674b73b87981
[ "Apache-2.0" ]
null
null
null
# dataframe: a data-frame implementation using method piping # # Copyright (C) 2016 Simon Dirmeier # # This file is part of dataframe. # # dataframe 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 versi...
30.356436
71
0.63242
b9a7d44b00e1b419e797c8637498d8abc23d4def
13,322
bzl
Python
java/image.bzl
Springworks/rules_docker
b943cd1fe3bf1c6c5fdac1889e952408599cffff
[ "Apache-2.0" ]
null
null
null
java/image.bzl
Springworks/rules_docker
b943cd1fe3bf1c6c5fdac1889e952408599cffff
[ "Apache-2.0" ]
null
null
null
java/image.bzl
Springworks/rules_docker
b943cd1fe3bf1c6c5fdac1889e952408599cffff
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Google Inc. 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 law or a...
34.246787
79
0.642546
b9a831ae9aec7e87ced37e12721727df9e75bb48
17,427
py
Python
cupyx/jit/_builtin_funcs.py
khushi-411/cupy
b5221a478c800c5e60eef65545467de9eb00c0d9
[ "MIT" ]
null
null
null
cupyx/jit/_builtin_funcs.py
khushi-411/cupy
b5221a478c800c5e60eef65545467de9eb00c0d9
[ "MIT" ]
null
null
null
cupyx/jit/_builtin_funcs.py
khushi-411/cupy
b5221a478c800c5e60eef65545467de9eb00c0d9
[ "MIT" ]
null
null
null
import warnings import cupy from cupy_backends.cuda.api import runtime from cupy.cuda import device from cupyx.jit import _cuda_types from cupyx.jit._internal_types import BuiltinFunc from cupyx.jit._internal_types import Data from cupyx.jit._internal_types import Constant from cupyx.jit._internal_types import Range ...
35.206061
115
0.569748
b9aa6c3c1ecb2355209fd4db4f58118befbffa8a
225
py
Python
python-basic-grammer/python-basic/02-python-variables-and-string/string_strip_demo.py
jinrunheng/base-of-python
595bdbc8bfaf2136d8f1f9ea82c03b84aeaf0a39
[ "Apache-2.0" ]
null
null
null
python-basic-grammer/python-basic/02-python-variables-and-string/string_strip_demo.py
jinrunheng/base-of-python
595bdbc8bfaf2136d8f1f9ea82c03b84aeaf0a39
[ "Apache-2.0" ]
null
null
null
python-basic-grammer/python-basic/02-python-variables-and-string/string_strip_demo.py
jinrunheng/base-of-python
595bdbc8bfaf2136d8f1f9ea82c03b84aeaf0a39
[ "Apache-2.0" ]
null
null
null
# str1 = " hello " print(str1) print(len(str1)) # print(str1.strip()) print(len(str1.strip())) # print(str1.lstrip()) print(len(str1.lstrip())) # print(str1.rstrip()) print(len(str1.rstrip()))
16.071429
25
0.688889
b9aaf0198d21a1cb3a68b8836041445460cf7efd
379
py
Python
bruges/util/__init__.py
hyperiongeo/bruges
6d9a3aae86aaa53107caaa20e9aafa390358b0f8
[ "Apache-2.0" ]
null
null
null
bruges/util/__init__.py
hyperiongeo/bruges
6d9a3aae86aaa53107caaa20e9aafa390358b0f8
[ "Apache-2.0" ]
null
null
null
bruges/util/__init__.py
hyperiongeo/bruges
6d9a3aae86aaa53107caaa20e9aafa390358b0f8
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- from .util import rms from .util import moving_average from .util import moving_avg_conv from .util import moving_avg_fft from .util import normalize from .util import next_pow2 from .util import top_and_tail from .util import extrapolate from .util import nearest from .util import deprecated fr...
27.071429
34
0.804749
b9acae3f6c9a11754c72065d93acff3857609af2
5,423
py
Python
toontown/estate/DistributedHouseDoor.py
CrankySupertoon01/Toontown-2
60893d104528a8e7eb4aced5d0015f22e203466d
[ "MIT" ]
1
2021-02-13T22:40:50.000Z
2021-02-13T22:40:50.000Z
toontown/estate/DistributedHouseDoor.py
CrankySupertoonArchive/Toontown-2
60893d104528a8e7eb4aced5d0015f22e203466d
[ "MIT" ]
1
2018-07-28T20:07:04.000Z
2018-07-30T18:28:34.000Z
toontown/estate/DistributedHouseDoor.py
CrankySupertoonArchive/Toontown-2
60893d104528a8e7eb4aced5d0015f22e203466d
[ "MIT" ]
2
2019-12-02T01:39:10.000Z
2021-02-13T22:41:00.000Z
from toontown.toonbase.ToonBaseGlobal import * from panda3d.core import * from direct.interval.IntervalGlobal import * from direct.distributed.ClockDelta import * from direct.distributed import DistributedObject from toontown.toonbase import ToontownGlobals from direct.directnotify import DirectNotifyGlobal from direct...
40.17037
299
0.638761
b9ad055e162f0001e288ab22dec6a5a4746fd51d
2,786
py
Python
Neuro-Cognitive Models/Runs/Nonhier_run/res_nonhier.py
AGhaderi/spatial_attenNCM
1f7edf17f55d804d2ae3360d23623c9ab5035518
[ "MIT" ]
null
null
null
Neuro-Cognitive Models/Runs/Nonhier_run/res_nonhier.py
AGhaderi/spatial_attenNCM
1f7edf17f55d804d2ae3360d23623c9ab5035518
[ "MIT" ]
null
null
null
Neuro-Cognitive Models/Runs/Nonhier_run/res_nonhier.py
AGhaderi/spatial_attenNCM
1f7edf17f55d804d2ae3360d23623c9ab5035518
[ "MIT" ]
null
null
null
#!/home/a.ghaderi/.conda/envs/envjm/bin/python # Model 2 import pystan import pandas as pd import numpy as np import sys sys.path.append('../../') import utils parts = 1 data = utils.get_data() #loading dateset data = data[data['participant']==parts] mis = np.where((data['n200lat']<.101)|(data['n200lat']>....
39.8
116
0.648959
b9adc3a3c0f82e03cf53dd13486c80b1bb9dbf85
6,691
py
Python
rq_dashboard/dashboard.py
refgenomics/rq-dashboard
cdfadd2b9aa9a66b0594fd5573e3c45fa8643f05
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
rq_dashboard/dashboard.py
refgenomics/rq-dashboard
cdfadd2b9aa9a66b0594fd5573e3c45fa8643f05
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
rq_dashboard/dashboard.py
refgenomics/rq-dashboard
cdfadd2b9aa9a66b0594fd5573e3c45fa8643f05
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
from redis import Redis from redis import from_url from rq import push_connection, pop_connection from rq.job import Job from functools import wraps import times from flask import Blueprint from flask import current_app, url_for, abort from flask import render_template from rq import Queue, Worker from rq import cancel...
29.606195
115
0.67658
b9ae95988166d56c353c46926e3d21a79d84f88c
769
py
Python
layers/layer1_python3/0300_acquisition/acquisition/__init__.py
moas/mfdata
ca9460c3783ddfd6ad022c96a0a8bf0e65fa36b2
[ "BSD-3-Clause" ]
null
null
null
layers/layer1_python3/0300_acquisition/acquisition/__init__.py
moas/mfdata
ca9460c3783ddfd6ad022c96a0a8bf0e65fa36b2
[ "BSD-3-Clause" ]
null
null
null
layers/layer1_python3/0300_acquisition/acquisition/__init__.py
moas/mfdata
ca9460c3783ddfd6ad022c96a0a8bf0e65fa36b2
[ "BSD-3-Clause" ]
null
null
null
from acquisition.step import AcquisitionStep from acquisition.stats import AcquisitionStatsDClient from acquisition.move_step import AcquisitionMoveStep from acquisition.delete_step import AcquisitionDeleteStep from acquisition.batch_step import AcquisitionBatchStep from acquisition.reinject_step import AcquisitionRein...
48.0625
63
0.830949
b9b2dd8fc97fddaaa64ec64957043ee8e8088e39
615
py
Python
frappe-bench/apps/erpnext/erpnext/non_profit/doctype/member/member.py
Semicheche/foa_frappe_docker
a186b65d5e807dd4caf049e8aeb3620a799c1225
[ "MIT" ]
null
null
null
frappe-bench/apps/erpnext/erpnext/non_profit/doctype/member/member.py
Semicheche/foa_frappe_docker
a186b65d5e807dd4caf049e8aeb3620a799c1225
[ "MIT" ]
null
null
null
frappe-bench/apps/erpnext/erpnext/non_profit/doctype/member/member.py
Semicheche/foa_frappe_docker
a186b65d5e807dd4caf049e8aeb3620a799c1225
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Copyright (c) 2017, Frappe Technologies Pvt. Ltd. and contributors # For license information, please see license.txt from __future__ import unicode_literals from frappe.model.document import Document from frappe.contacts.address_and_contact import load_address_and_contact
29.285714
72
0.786992
b9b3501a4a1a7bee83abdc50e1932071f97c2394
12,427
py
Python
networks/networks.py
ayyuriss/TRHPO
56a06d3593504647b75589ab87b5c96bdab74c9f
[ "MIT" ]
null
null
null
networks/networks.py
ayyuriss/TRHPO
56a06d3593504647b75589ab87b5c96bdab74c9f
[ "MIT" ]
null
null
null
networks/networks.py
ayyuriss/TRHPO
56a06d3593504647b75589ab87b5c96bdab74c9f
[ "MIT" ]
null
null
null
from torch import nn import numpy as np import base.basenetwork as BaseN from networks.cholesky import CholeskyBlock
50.51626
91
0.508168
b9b4c8dedee4c99c1bae0987e46ca8c83899e4d8
1,435
py
Python
icenews/api_important_words.py
sverrirab/icenews
10a5e13d4dcd5e95f746c4fec9821b4b48fa440e
[ "Apache-2.0" ]
4
2019-04-25T21:09:39.000Z
2020-07-26T08:57:00.000Z
icenews/api_important_words.py
sverrirab/icenews
10a5e13d4dcd5e95f746c4fec9821b4b48fa440e
[ "Apache-2.0" ]
1
2019-08-11T00:27:18.000Z
2019-08-12T17:36:42.000Z
icenews/api_important_words.py
sverrirab/icenews
10a5e13d4dcd5e95f746c4fec9821b4b48fa440e
[ "Apache-2.0" ]
null
null
null
import logging from pydantic import BaseModel, Field from typing import List from .similar import important_words from .server import app _MAX_LENGTH = 2000 logger = logging.getLogger(__name__) # Strange things happen with error handling when using alias - splitting up into two input models
25.625
97
0.724042
b9b51a38157d5d825f921ab19fba044fe3545044
206
py
Python
try-except.py
kmarcini/Learn-Python---Full-Course-for-Beginners-Tutorial-
8ea4ef004d86fdf393980fd356edcf5b769bfeac
[ "BSD-3-Clause" ]
null
null
null
try-except.py
kmarcini/Learn-Python---Full-Course-for-Beginners-Tutorial-
8ea4ef004d86fdf393980fd356edcf5b769bfeac
[ "BSD-3-Clause" ]
null
null
null
try-except.py
kmarcini/Learn-Python---Full-Course-for-Beginners-Tutorial-
8ea4ef004d86fdf393980fd356edcf5b769bfeac
[ "BSD-3-Clause" ]
null
null
null
try: # num = 10 / 0 number = int(input("Enter a number: ")) print(number) # catch specific errors except ZeroDivisionError as err: print(err) except ValueError: print("Invalid input")
17.166667
43
0.650485
b9b691941c62b002880bb1f21ca60b0e932e41c1
3,574
py
Python
peaksampl.py
Gattocrucco/sipmfilter
74215d6c53b998808fc6c677b46030234d996bdf
[ "CC-BY-4.0", "MIT" ]
null
null
null
peaksampl.py
Gattocrucco/sipmfilter
74215d6c53b998808fc6c677b46030234d996bdf
[ "CC-BY-4.0", "MIT" ]
null
null
null
peaksampl.py
Gattocrucco/sipmfilter
74215d6c53b998808fc6c677b46030234d996bdf
[ "CC-BY-4.0", "MIT" ]
null
null
null
import numpy as np def _yz(y, z, t, yout): """ Shared implementation of peaksampl and sumpeaks. """ y = np.asarray(y) z = np.asarray(z) t = np.asarray(t) y = np.pad(y, [(0, 0)] * (y.ndim - 1) + [(1, 1)], constant_values=yout) offset = np.argmax(np.abs(y), axis=-1) ampl = np.tak...
28.822581
78
0.546726
b9b6f990f4ce20ca5842a3bb309cb667f69ccc3e
453
py
Python
arachne/hdl/xilinx/ps8/resources/pmu.py
shrine-maiden-heavy-industries/arachne
1d0320bf6e77653656f8ce1874900743452dbac4
[ "BSD-3-Clause" ]
3
2021-09-13T20:23:42.000Z
2022-01-19T13:12:32.000Z
arachne/hdl/xilinx/ps8/resources/pmu.py
shrine-maiden-heavy-industries/arachne
1d0320bf6e77653656f8ce1874900743452dbac4
[ "BSD-3-Clause" ]
null
null
null
arachne/hdl/xilinx/ps8/resources/pmu.py
shrine-maiden-heavy-industries/arachne
1d0320bf6e77653656f8ce1874900743452dbac4
[ "BSD-3-Clause" ]
null
null
null
# SPDX-License-Identifier: BSD-3-Clause from amaranth import * from amaranth.build import * from .common import PS8Resource, MIOSet __all__ = ( 'PMUResource', )
19.695652
46
0.699779
b9b9340675c6ceead7ff166bf8fe4d65fa580b58
4,597
py
Python
backend/Washlist/tests.py
henrikhorluck/tdt4140-washlists
a75c3bc38a3f915eb48cf3e9ecba848f46a2bcaa
[ "MIT" ]
null
null
null
backend/Washlist/tests.py
henrikhorluck/tdt4140-washlists
a75c3bc38a3f915eb48cf3e9ecba848f46a2bcaa
[ "MIT" ]
2
2020-05-02T18:17:44.000Z
2020-05-02T18:18:02.000Z
backend/Washlist/tests.py
henrikhorluck/tdt4140-washlists
a75c3bc38a3f915eb48cf3e9ecba848f46a2bcaa
[ "MIT" ]
null
null
null
from django.test import TestCase from django.urls import reverse from rest_framework import status from Dormroom.models import Dormroom from SIFUser.mixins import AuthTestMixin from StudentVillage.models import StudentVillage from Washlist.jobs import reset_washlists from Washlist.models.Templates import TemplateList...
35.091603
92
0.67022
b9ba39e57d52ad0baaeb81fbe95a03b7bb17d4ad
3,792
py
Python
torchvision/prototype/models/mobilenetv3.py
piyush01123/vision
c6722307e6860057b4855483d237fe00a213dcf6
[ "BSD-3-Clause" ]
null
null
null
torchvision/prototype/models/mobilenetv3.py
piyush01123/vision
c6722307e6860057b4855483d237fe00a213dcf6
[ "BSD-3-Clause" ]
null
null
null
torchvision/prototype/models/mobilenetv3.py
piyush01123/vision
c6722307e6860057b4855483d237fe00a213dcf6
[ "BSD-3-Clause" ]
null
null
null
from functools import partial from typing import Any, Optional, List from torchvision.prototype.transforms import ImageNetEval from torchvision.transforms.functional import InterpolationMode from ...models.mobilenetv3 import MobileNetV3, _mobilenet_v3_conf, InvertedResidualConfig from ._api import WeightsEnum, Weight...
34.472727
119
0.704114
b9bb675bdbf31f94537da2d2380efe251bd20dd2
1,036
py
Python
rest_auth/registration/urls.py
soul4code/django-rest-auth
b7a2e06e7736865b18f6aab79dcd42210e06c28b
[ "MIT" ]
null
null
null
rest_auth/registration/urls.py
soul4code/django-rest-auth
b7a2e06e7736865b18f6aab79dcd42210e06c28b
[ "MIT" ]
null
null
null
rest_auth/registration/urls.py
soul4code/django-rest-auth
b7a2e06e7736865b18f6aab79dcd42210e06c28b
[ "MIT" ]
null
null
null
from django.urls import re_path from django.views.generic import TemplateView from .views import RegisterView, VerifyEmailView urlpatterns = [ re_path(r'^$', RegisterView.as_view(), name='rest_register'), re_path(r'^verify-email/$', VerifyEmailView.as_view(), name='rest_verify_email'), # This url is use...
41.44
100
0.721042
b9bb907819b5835937644fde4b8d08e5dd987580
1,036
py
Python
crawler/tests.py
mental689/paddict
493268b62531c698687d42416edf61c602250133
[ "MIT" ]
1
2019-06-22T10:28:21.000Z
2019-06-22T10:28:21.000Z
crawler/tests.py
mental689/paddict
493268b62531c698687d42416edf61c602250133
[ "MIT" ]
4
2020-09-05T01:48:18.000Z
2022-03-02T04:29:25.000Z
crawler/tests.py
mental689/paddict
493268b62531c698687d42416edf61c602250133
[ "MIT" ]
null
null
null
from django.test import TestCase # Create your tests here. from crawler.download import * from crawler.models import *
32.375
106
0.608108
b9bfcc9ca3f71d3591d1b453eea9313adf491d9f
452
py
Python
test_scripts/xml_example.py
petervdb/testrep1
76b6eb3de2deb9596c055f252191e28587d5520c
[ "MIT" ]
1
2015-11-17T21:35:44.000Z
2015-11-17T21:35:44.000Z
test_scripts/xml_example.py
petervdb/testrep1
76b6eb3de2deb9596c055f252191e28587d5520c
[ "MIT" ]
null
null
null
test_scripts/xml_example.py
petervdb/testrep1
76b6eb3de2deb9596c055f252191e28587d5520c
[ "MIT" ]
null
null
null
#!/usr/bin/python3 from urllib.request import urlopen from xml.etree.ElementTree import parse # Download the RSS feed and parse it u = urlopen('http://planet.python.org/rss20.xml') doc = parse(u) # Extract and output tags of interest for item in doc.iterfind('channel/item'): title = item.findtext('title') date = i...
20.545455
49
0.725664
b9c06414f6de5d6df932f87abe0ac2addfe2d410
1,489
py
Python
contacts/urls.py
anthowen/duplify
846d01c1b21230937fdf0281b0cf8c0b08a8c24e
[ "MIT" ]
1
2019-04-21T18:57:57.000Z
2019-04-21T18:57:57.000Z
contacts/urls.py
anthowen/duplify
846d01c1b21230937fdf0281b0cf8c0b08a8c24e
[ "MIT" ]
null
null
null
contacts/urls.py
anthowen/duplify
846d01c1b21230937fdf0281b0cf8c0b08a8c24e
[ "MIT" ]
null
null
null
"""dedupper_app URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.0/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-...
38.179487
85
0.672263
b9c1739f7de89fe26aec7c763524b35992652ab0
92
py
Python
pydm/PyQt/uic.py
klauer/pydm
e26aad58a7a0eb6f7321c61aa1dace646ff652bd
[ "BSD-3-Clause-LBNL" ]
null
null
null
pydm/PyQt/uic.py
klauer/pydm
e26aad58a7a0eb6f7321c61aa1dace646ff652bd
[ "BSD-3-Clause-LBNL" ]
null
null
null
pydm/PyQt/uic.py
klauer/pydm
e26aad58a7a0eb6f7321c61aa1dace646ff652bd
[ "BSD-3-Clause-LBNL" ]
null
null
null
from . import qtlib QT_LIB = qtlib.QT_LIB if QT_LIB == 'PyQt5': from PyQt5.uic import *
18.4
27
0.684783
b9c1d738b7414d020a32d72c8b5b4b39a4b6d1d4
2,667
py
Python
CPB100/lab2b/scheduled/ingestapp.py
pranaynanda/training-data-analyst
f10ab778589129239fd5b277cfdefb41638eded5
[ "Apache-2.0" ]
null
null
null
CPB100/lab2b/scheduled/ingestapp.py
pranaynanda/training-data-analyst
f10ab778589129239fd5b277cfdefb41638eded5
[ "Apache-2.0" ]
null
null
null
CPB100/lab2b/scheduled/ingestapp.py
pranaynanda/training-data-analyst
f10ab778589129239fd5b277cfdefb41638eded5
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # Copyright 2016 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 ...
32.13253
214
0.683915
b9c3b62c39c9c9979a0f73775051d1aecd742c75
73
py
Python
index.py
StarSky1/microsoft-python-study
7fdc1ad87ac0eeb497013d7792f499416aac32d9
[ "MIT" ]
null
null
null
index.py
StarSky1/microsoft-python-study
7fdc1ad87ac0eeb497013d7792f499416aac32d9
[ "MIT" ]
null
null
null
index.py
StarSky1/microsoft-python-study
7fdc1ad87ac0eeb497013d7792f499416aac32d9
[ "MIT" ]
null
null
null
name=input('input your name:'); print('hello'); print(name.capitalize());
24.333333
31
0.69863
b9c4867749ea67a9a267a9e62cea575f210f9260
2,526
py
Python
credentials.py
Machel54/-pass-locker-
8ddf14cf755924ca903919177f9f878f65a08042
[ "MIT" ]
null
null
null
credentials.py
Machel54/-pass-locker-
8ddf14cf755924ca903919177f9f878f65a08042
[ "MIT" ]
null
null
null
credentials.py
Machel54/-pass-locker-
8ddf14cf755924ca903919177f9f878f65a08042
[ "MIT" ]
1
2020-01-29T02:05:49.000Z
2020-01-29T02:05:49.000Z
import pyperclip import random import string
30.071429
111
0.665479
b9c5365f366487d350d0993e89760939da233546
80
py
Python
tests/test_dice.py
mehulsatardekar/dice-on-demand
fa1ce1214975ba70c5d61390408a4de2418cf997
[ "MIT" ]
1
2020-12-03T14:27:20.000Z
2020-12-03T14:27:20.000Z
tests/test_dice.py
mehulsatardekar/dice-on-demand
fa1ce1214975ba70c5d61390408a4de2418cf997
[ "MIT" ]
11
2020-10-21T17:51:12.000Z
2020-11-09T12:02:52.000Z
tests/test_dice.py
mehulsatardekar/dice-on-demand
fa1ce1214975ba70c5d61390408a4de2418cf997
[ "MIT" ]
27
2021-09-09T22:53:21.000Z
2021-11-20T22:46:16.000Z
import unittest import app
11.428571
33
0.6625
b9c62ba9c79d4ffcb00ede68fc940fc877d45118
5,614
py
Python
annotations/rip_annotated_junctions.py
ChristopherWilks/snaptron
82ea3c5c5f2fbb726bba6d8c2bd0f7713291833a
[ "MIT" ]
25
2016-01-08T02:02:36.000Z
2021-12-29T14:00:58.000Z
annotations/rip_annotated_junctions.py
ChristopherWilks/snaptron
82ea3c5c5f2fbb726bba6d8c2bd0f7713291833a
[ "MIT" ]
11
2016-02-25T01:44:46.000Z
2021-07-02T05:52:55.000Z
annotations/rip_annotated_junctions.py
ChristopherWilks/snaptron
82ea3c5c5f2fbb726bba6d8c2bd0f7713291833a
[ "MIT" ]
7
2016-02-13T01:45:15.000Z
2021-11-22T11:04:12.000Z
#!/usr/bin/env python """ rip_annotated_junctions.py Non-reference/species verson of this script, no lift-over Rips junctions from annotation files contained in jan_24_2016_annotations.tar.gz, as described in annotation_definition.md. Junctions are dumped to stdout, which we record as annotated_junctions.tsv.gz in ru...
44.555556
543
0.603669
b9c731695680778a55c685fcfc15ab5e3eccf437
5,438
py
Python
dramkit/_tmp/VMD.py
Genlovy-Hoo/dramkit
fa3d2f35ebe9effea88a19e49d876b43d3c5c4c7
[ "MIT" ]
null
null
null
dramkit/_tmp/VMD.py
Genlovy-Hoo/dramkit
fa3d2f35ebe9effea88a19e49d876b43d3c5c4c7
[ "MIT" ]
null
null
null
dramkit/_tmp/VMD.py
Genlovy-Hoo/dramkit
fa3d2f35ebe9effea88a19e49d876b43d3c5c4c7
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import numpy as np def vmd( signal, alpha, tau, K, DC, init, tol): ''' VMD VMD VMD u omega2*pi/fs*omega Input and Parameters: signal - the time domain signal (1D) to be decomposed alpha - the balancing parameter of the data-fidelity constraint tau ...
37.503448
141
0.580912
b9c81413c2bd63d72d0731352d31911ef52240f6
480
py
Python
forum/main.py
asmaasalih/my_project
89183d7a2578fa302e94ea29570ab527e9ca47b5
[ "MIT" ]
1
2018-03-21T07:51:36.000Z
2018-03-21T07:51:36.000Z
forum/main.py
asmaasalih/my_project
89183d7a2578fa302e94ea29570ab527e9ca47b5
[ "MIT" ]
null
null
null
forum/main.py
asmaasalih/my_project
89183d7a2578fa302e94ea29570ab527e9ca47b5
[ "MIT" ]
null
null
null
import models import stores member1 =models.Member("ahmed",33) member2 =models.Member("mohamed",30) post1=models.Post("Post1", "Content1") post2= models.Post("Post2", "Content2") post3= models.Post("Post3", "Content3") #member store member_store=stores.MemberStore() member_store.add(member1) member_store.add(member...
20.869565
39
0.772917
b9c89d9ad7d4587730637df2e5c8576e03c43ad8
3,115
py
Python
shellfind.py
bhavyanshu/Shell-Finder
308b3ba7f1a53b8a6cc738d69c01f4b7108d0860
[ "Apache-2.0" ]
4
2016-06-15T22:08:29.000Z
2019-10-16T13:12:51.000Z
shellfind.py
kaitolegion/Shell-Finder
308b3ba7f1a53b8a6cc738d69c01f4b7108d0860
[ "Apache-2.0" ]
null
null
null
shellfind.py
kaitolegion/Shell-Finder
308b3ba7f1a53b8a6cc738d69c01f4b7108d0860
[ "Apache-2.0" ]
7
2015-07-08T22:21:52.000Z
2021-05-31T14:05:47.000Z
#!/usr/bin/env python ''' Author : Bhavyanshu Parasher Email : bhavyanshu@codershangout.org Description : shellfind.py is a Python command line utility which lets you look for shells on a site that the hacker must have uploaded. It considers all the shells available and tries all possibilities via dictionary match. '''...
35
224
0.742857
b9c964b752a9622a17123202e7aae50d1718a48a
1,345
py
Python
question3.py
nosisky/algo-solution
a9276f73ba63b1a0965c194885aea6cadfab0e0b
[ "MIT" ]
1
2019-08-14T12:32:49.000Z
2019-08-14T12:32:49.000Z
question3.py
nosisky/algo-solution
a9276f73ba63b1a0965c194885aea6cadfab0e0b
[ "MIT" ]
null
null
null
question3.py
nosisky/algo-solution
a9276f73ba63b1a0965c194885aea6cadfab0e0b
[ "MIT" ]
null
null
null
# A string S consisting of N characters is considered to be properly nested if any of the following conditions is true: # S is empty; # S has the form "(U)" or "[U]" or "{U}" where U is a properly nested string; S has the form "VW" where V and W are properly nested strings. # For example, the string "{[()()]}" is prope...
42.03125
140
0.66171
b9ca4ff833bf2ee267f7f1b8ecf69069cd8c4b31
1,996
py
Python
Teil_27_Game_of_Life_3d.py
chrMenzel/A-beautiful-code-in-Python
92ee43c1fb03c299384d4de8bebb590c5ba1b623
[ "MIT" ]
50
2018-12-23T15:46:16.000Z
2022-03-28T15:49:59.000Z
Teil_27_Game_of_Life_3d.py
chrMenzel/A-beautiful-code-in-Python
92ee43c1fb03c299384d4de8bebb590c5ba1b623
[ "MIT" ]
9
2018-12-03T10:31:29.000Z
2022-01-20T14:41:33.000Z
Teil_27_Game_of_Life_3d.py
chrMenzel/A-beautiful-code-in-Python
92ee43c1fb03c299384d4de8bebb590c5ba1b623
[ "MIT" ]
69
2019-02-02T11:59:09.000Z
2022-03-28T15:54:28.000Z
import bpy import random as rnd from collections import Counter import itertools as iter feld_von, feld_bis = -4, 4 spielfeld_von, spielfeld_bis = feld_von-6, feld_bis+6 anz = int((feld_bis-feld_von)**3*.3) spielfeld = {(rnd.randint(feld_von, feld_bis), rnd.randint( feld_von, feld_bis), rnd.randint(feld_von, fe...
28.927536
102
0.67986
b9ca98991068e30844d7bcc8e336f70de5eef5a9
1,824
py
Python
power_perceiver/xr_batch_processor/reduce_num_pv_systems.py
openclimatefix/power_perceiver
bafcdfaf6abf42fbab09da641479f74709ddd395
[ "MIT" ]
null
null
null
power_perceiver/xr_batch_processor/reduce_num_pv_systems.py
openclimatefix/power_perceiver
bafcdfaf6abf42fbab09da641479f74709ddd395
[ "MIT" ]
33
2022-02-16T07:51:41.000Z
2022-03-31T11:24:11.000Z
power_perceiver/xr_batch_processor/reduce_num_pv_systems.py
openclimatefix/power_perceiver
bafcdfaf6abf42fbab09da641479f74709ddd395
[ "MIT" ]
null
null
null
from dataclasses import dataclass import numpy as np import xarray as xr from power_perceiver.load_prepared_batches.data_sources import PV from power_perceiver.load_prepared_batches.data_sources.prepared_data_source import XarrayBatch
39.652174
97
0.721491
b9cc65aafe29eb9820f902e036880e65947e1e2d
857
py
Python
HelloWorld_python/log/demo_log_3.py
wang153723482/HelloWorld_my
b8642ad9742f95cfebafc61f25b00e917485e50c
[ "Apache-2.0" ]
null
null
null
HelloWorld_python/log/demo_log_3.py
wang153723482/HelloWorld_my
b8642ad9742f95cfebafc61f25b00e917485e50c
[ "Apache-2.0" ]
null
null
null
HelloWorld_python/log/demo_log_3.py
wang153723482/HelloWorld_my
b8642ad9742f95cfebafc61f25b00e917485e50c
[ "Apache-2.0" ]
null
null
null
#encoding=utf8 # import logging import time from logging.handlers import TimedRotatingFileHandler #---------------------------------------------------------------------- if __name__ == "__main__": logFilePath = "timed_test.log" logger = logging.getLogger("YouLoggerName") logger.setLevel(logging.INFO) ...
29.551724
89
0.536756
b9cd3a4333e6169069ae770751a00e82db1b741a
736
py
Python
bot_da_os/statemachine/person/person_action.py
Atsocs/bot-da-os
e6d54057f4a3b703f303e9944a39e291ac87c40f
[ "MIT" ]
null
null
null
bot_da_os/statemachine/person/person_action.py
Atsocs/bot-da-os
e6d54057f4a3b703f303e9944a39e291ac87c40f
[ "MIT" ]
null
null
null
bot_da_os/statemachine/person/person_action.py
Atsocs/bot-da-os
e6d54057f4a3b703f303e9944a39e291ac87c40f
[ "MIT" ]
null
null
null
from operator import eq # Static fields; an enumeration of instances: PersonAction.compliment = PersonAction("person compliments") PersonAction.informing = PersonAction("person gives information about the service order") PersonAction.query = PersonAction("person wants to know about his/her order") PersonAction.angry...
29.44
89
0.72962
b9cd7df81437d8aa9311f772f8fd75744e9a395a
5,108
py
Python
MyServer.py
bisw1jit/MyServer
cbd7bc4015482ce8f24314894148f7e20ef66b21
[ "MIT" ]
3
2019-11-09T17:29:55.000Z
2021-12-19T21:52:12.000Z
MyServer.py
bisw1jit/MyServer
cbd7bc4015482ce8f24314894148f7e20ef66b21
[ "MIT" ]
null
null
null
MyServer.py
bisw1jit/MyServer
cbd7bc4015482ce8f24314894148f7e20ef66b21
[ "MIT" ]
null
null
null
# Tool Name :- MyServer # Author :- LordReaper # Date :- 13/11/2018 - 9/11/2019 # Powered By :- H1ckPro Software's import sys import os from time import sleep from core.system import * if len(sys.argv)>1: pass else: print ("error : invalid arguments !!") print ("use : myserver --help for more information") s...
34.748299
98
0.576155
b9cda5cbb2749647d6a78abf80d9eb5c24205425
341
py
Python
tests/test_gen_epub.py
ffreemt/tmx2epub
55a59cb2a9b7f42031a65f64c29e5c43fdb487ea
[ "MIT" ]
null
null
null
tests/test_gen_epub.py
ffreemt/tmx2epub
55a59cb2a9b7f42031a65f64c29e5c43fdb487ea
[ "MIT" ]
null
null
null
tests/test_gen_epub.py
ffreemt/tmx2epub
55a59cb2a9b7f42031a65f64c29e5c43fdb487ea
[ "MIT" ]
null
null
null
""" test gen_epub. """ from tmx2epub.gen_epub import gen_epub def test_gen_epub2(): """ test_gen_epub2. """ from pathlib import Path infile = r"tests\2.tmx" stem = Path(infile).absolute().stem outfile = f"{Path(infile).absolute().parent / stem}.epub" assert gen_epub(infile, debug=True) == out...
22.733333
61
0.653959
b9cde2fbd07898c518510cadb194827f6566c927
716
py
Python
pub_sub/python/http/checkout/app.py
amulyavarote/quickstarts
c21a8f58d515b28eaa8a3680388fa06995c2331b
[ "Apache-2.0" ]
null
null
null
pub_sub/python/http/checkout/app.py
amulyavarote/quickstarts
c21a8f58d515b28eaa8a3680388fa06995c2331b
[ "Apache-2.0" ]
null
null
null
pub_sub/python/http/checkout/app.py
amulyavarote/quickstarts
c21a8f58d515b28eaa8a3680388fa06995c2331b
[ "Apache-2.0" ]
null
null
null
import json import time import random import logging import requests import os logging.basicConfig(level=logging.INFO) base_url = os.getenv('BASE_URL', 'http://localhost') + ':' + os.getenv( 'DAPR_HTTP_PORT', '3500') PUBSUB_NAME = 'order_pub_sub' TOPIC = 'orders' logging.info('Publishing to baseUR...
25.571429
72
0.642458
b9ce404499c062b33e8623b446d27dfebe6f033f
52,312
py
Python
jj.py
smailedge/pro
f86347d4368bc97aa860b37caa9ba10e84a93738
[ "Unlicense" ]
1
2019-08-14T04:17:06.000Z
2019-08-14T04:17:06.000Z
jj.py
smailedge/pro
f86347d4368bc97aa860b37caa9ba10e84a93738
[ "Unlicense" ]
null
null
null
jj.py
smailedge/pro
f86347d4368bc97aa860b37caa9ba10e84a93738
[ "Unlicense" ]
7
2018-10-27T11:58:45.000Z
2021-02-11T19:45:30.000Z
# -*- coding: utf-8 -*- from linepy import * from datetime import datetime from time import sleep from humanfriendly import format_timespan, format_size, format_number, format_length import time, random, sys, json, codecs, threading, glob, re, string, os, requests, subprocess, six, ast, pytz, urllib, urllib.parse #===...
51.742829
168
0.404267
b9cea3f3b51bf703897e952ed45d88260e3502a1
1,190
py
Python
dd_app/messaging/backend.py
datadealer/dd_app
3806b9b9df165a49f0fca8a249170b4ccd4d0177
[ "Artistic-2.0" ]
2
2018-12-17T10:10:49.000Z
2018-12-17T11:18:32.000Z
dd_app/messaging/backend.py
datadealer/dd_app
3806b9b9df165a49f0fca8a249170b4ccd4d0177
[ "Artistic-2.0" ]
null
null
null
dd_app/messaging/backend.py
datadealer/dd_app
3806b9b9df165a49f0fca8a249170b4ccd4d0177
[ "Artistic-2.0" ]
1
2021-06-06T22:28:12.000Z
2021-06-06T22:28:12.000Z
def send(self, channel_id, payload): # Fanout emitter return self.connection.publish(channel_id, payload)
28.333333
73
0.608403
b9cf5fa54caecef97e6454178f438ce16bc99d7b
241
py
Python
fetch_data.py
bitfag/bt-macd-binance
eeffe52f8e561ff521629839078ff886e7bf700e
[ "MIT" ]
null
null
null
fetch_data.py
bitfag/bt-macd-binance
eeffe52f8e561ff521629839078ff886e7bf700e
[ "MIT" ]
null
null
null
fetch_data.py
bitfag/bt-macd-binance
eeffe52f8e561ff521629839078ff886e7bf700e
[ "MIT" ]
null
null
null
#!/usr/bin/env python from btmacd.binance_fetcher import BinanceFetcher if __name__ == "__main__": main()
18.538462
93
0.705394
b9d0d7e9fc82e29bf1385d169d21f03d43d467e2
25,508
py
Python
tensorflow_probability/python/mcmc/diagnostic.py
Frightera/probability
deac4562cbc1056e6abebc7450218d38444fe65d
[ "Apache-2.0" ]
1
2022-03-06T15:37:18.000Z
2022-03-06T15:37:18.000Z
tensorflow_probability/python/mcmc/diagnostic.py
Frightera/probability
deac4562cbc1056e6abebc7450218d38444fe65d
[ "Apache-2.0" ]
null
null
null
tensorflow_probability/python/mcmc/diagnostic.py
Frightera/probability
deac4562cbc1056e6abebc7450218d38444fe65d
[ "Apache-2.0" ]
null
null
null
# Copyright 2018 The TensorFlow Probability 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 o...
43.015177
85
0.663361
b9d22fbf764d6a06a81fe68e7bedb0cb2069ff17
2,360
py
Python
mpl/models/leaf.py
jiangyuang/ModelPruningLibrary
9c8ba5a3c5d118f37768d5d42254711f48d88745
[ "MIT" ]
13
2020-02-24T16:57:37.000Z
2021-12-14T16:47:41.000Z
mpl/models/leaf.py
jiangyuang/ModelPruningLibrary
9c8ba5a3c5d118f37768d5d42254711f48d88745
[ "MIT" ]
3
2021-01-08T14:06:33.000Z
2021-09-07T13:39:46.000Z
mpl/models/leaf.py
jiangyuang/ModelPruningLibrary
9c8ba5a3c5d118f37768d5d42254711f48d88745
[ "MIT" ]
3
2020-05-30T17:59:43.000Z
2021-04-13T04:55:33.000Z
from torch import nn as nn from .base_model import BaseModel from ..nn.conv2d import DenseConv2d from ..nn.linear import DenseLinear __all__ = ["Conv2", "conv2", "Conv4", "conv4"] def conv2() -> Conv2: return Conv2() def conv4() -> Conv4: return Conv4() # TODO: define pretrain etc.
36.307692
96
0.469068
b9d2bd5114a0540a0095f6c31a8ad07b71899f53
29,424
py
Python
scripts/generate_network_interactomix.py
quimaguirre/NetworkAnalysis
c7a4da3ba5696800738b4767065ce29fa0020d79
[ "MIT" ]
1
2017-07-10T17:33:31.000Z
2017-07-10T17:33:31.000Z
scripts/generate_network_interactomix.py
quimaguirre/NetworkAnalysis
c7a4da3ba5696800738b4767065ce29fa0020d79
[ "MIT" ]
null
null
null
scripts/generate_network_interactomix.py
quimaguirre/NetworkAnalysis
c7a4da3ba5696800738b4767065ce29fa0020d79
[ "MIT" ]
null
null
null
import argparse import ConfigParser import sys, os, re import biana try: from biana import * except: sys.exit(10) import methods_dictionaries as methods_dicts def generate_network(options): """ Generates a protein-protein interaction network extracting information from BIANA. """ ...
48.157119
591
0.569195