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
34791ea44dea16eb3c5f6adbe45ec3f5e3a3b266
21,113
py
Python
peersockets.py
kaykurokawa/pushtx
8155665e17f494a22f65f32ec75002da846e5135
[ "MIT" ]
7
2015-07-28T20:35:05.000Z
2021-03-13T03:30:16.000Z
peersockets.py
kaykurokawa/pushtx
8155665e17f494a22f65f32ec75002da846e5135
[ "MIT" ]
1
2015-08-07T05:08:58.000Z
2015-08-13T16:32:13.000Z
peersockets.py
kaykurokawa/pushtx
8155665e17f494a22f65f32ec75002da846e5135
[ "MIT" ]
4
2015-11-08T10:30:58.000Z
2020-10-31T21:55:40.000Z
import logging import struct import socket import select import time from hashlib import sha256 import protocol import cryptoconfig USER_AGENT='/Satoshi:0.10.0/' #BIP 14 TCP_RECV_PACKET_SIZE=4096 SOCKET_BLOCK_SECONDS=0 # None means blocking calls, 0 means non blocking calls ADDRESS_TO_GET_IP='google.com' #connect t...
39.911153
115
0.614929
3479528b4dfe049877b66a81c47c90223d199db2
2,330
py
Python
code/models/textcnn.py
hiyouga/Toxic_Detection
7545f71ebf8f65043db8e8fb0f5a8072b8b346cf
[ "MIT" ]
2
2022-01-01T06:37:41.000Z
2022-02-14T05:30:44.000Z
code/models/textcnn.py
hiyouga/Toxic_Detection
7545f71ebf8f65043db8e8fb0f5a8072b8b346cf
[ "MIT" ]
null
null
null
code/models/textcnn.py
hiyouga/Toxic_Detection
7545f71ebf8f65043db8e8fb0f5a8072b8b346cf
[ "MIT" ]
null
null
null
import torch import torch.nn as nn from .env import multienv
38.196721
112
0.626609
347a1384407b1b23219df7d5991b067d20546576
493
py
Python
app/views/index.py
HyperBCS/RedditNotify
11a67b41ef46d002a0a2de03b303a4d9118470f9
[ "MIT" ]
null
null
null
app/views/index.py
HyperBCS/RedditNotify
11a67b41ef46d002a0a2de03b303a4d9118470f9
[ "MIT" ]
null
null
null
app/views/index.py
HyperBCS/RedditNotify
11a67b41ef46d002a0a2de03b303a4d9118470f9
[ "MIT" ]
1
2020-10-06T10:33:30.000Z
2020-10-06T10:33:30.000Z
from flask import Blueprint, render_template, abort from jinja2 import TemplateNotFound from app.auth import require_role import config page = Blueprint('index', __name__, template_folder='templates')
30.8125
115
0.732252
347aba8fa5e854a8f3da7d0aac119eb2c5bd06c8
2,534
py
Python
eopf-notebooks/eopf_product_data_structure/EOProductDataStructure.py
CSC-DPR/notebooks
6e1034ca5402a7abb11f428bd68ba03cf47a5e9f
[ "Apache-2.0" ]
null
null
null
eopf-notebooks/eopf_product_data_structure/EOProductDataStructure.py
CSC-DPR/notebooks
6e1034ca5402a7abb11f428bd68ba03cf47a5e9f
[ "Apache-2.0" ]
null
null
null
eopf-notebooks/eopf_product_data_structure/EOProductDataStructure.py
CSC-DPR/notebooks
6e1034ca5402a7abb11f428bd68ba03cf47a5e9f
[ "Apache-2.0" ]
null
null
null
from abc import ABC, abstractmethod from dataclasses import dataclass, field from eopf.product.core import EOVariable, EOGroup, EOProduct, MetaData from typing import Any, Optional, Union import xarray as xr import numpy as np from utils import create_data DEFAULT_ATTRS = { attr: "TBD" for attr in ["long_n...
36.2
135
0.700868
347adf97af54d63546ef5ec7a08e7789395b81c9
12,026
py
Python
bsuite_exp/option_critic/option_critic.py
DavidSlayback/rlpyt
445adbd3917842caae0cae0d06e4b2866c8f1258
[ "MIT" ]
null
null
null
bsuite_exp/option_critic/option_critic.py
DavidSlayback/rlpyt
445adbd3917842caae0cae0d06e4b2866c8f1258
[ "MIT" ]
null
null
null
bsuite_exp/option_critic/option_critic.py
DavidSlayback/rlpyt
445adbd3917842caae0cae0d06e4b2866c8f1258
[ "MIT" ]
null
null
null
# python3 # pylint: disable=g-bad-file-header # Copyright 2019 DeepMind Technologies Limited. 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...
37.347826
110
0.657492
347bdf3e4ec485ca7399c31e32fb019b8d475476
1,041
py
Python
__estimators__/decorator.py
dmitrydavydov96/quantmodels
609b453fec32d7def4d4aed40b8d25969ba8b702
[ "MIT" ]
null
null
null
__estimators__/decorator.py
dmitrydavydov96/quantmodels
609b453fec32d7def4d4aed40b8d25969ba8b702
[ "MIT" ]
null
null
null
__estimators__/decorator.py
dmitrydavydov96/quantmodels
609b453fec32d7def4d4aed40b8d25969ba8b702
[ "MIT" ]
null
null
null
from abc import ABC, abstractmethod # -----------------------------------------------
20.019231
49
0.555235
347c5bc64ff65cc737eacd82e9e3755436605323
22,430
py
Python
sopel_modules/SpiceBot/Users.py
deathbybandaid/Sopel-SpiceBotSERV
816dddc88943b9194f3f0aa6558759eedd585343
[ "EFL-2.0" ]
2
2018-07-24T14:04:36.000Z
2019-01-11T21:41:50.000Z
sopel_modules/SpiceBot/Users.py
deathbybandaid/Sopel-SpiceBotSERV
816dddc88943b9194f3f0aa6558759eedd585343
[ "EFL-2.0" ]
947
2018-07-24T01:50:29.000Z
2019-04-14T22:40:57.000Z
sopel_modules/SpiceBot/Users.py
deathbybandaid/Sopel-SpiceBotSERV
816dddc88943b9194f3f0aa6558759eedd585343
[ "EFL-2.0" ]
6
2019-04-12T17:09:07.000Z
2019-09-30T05:56:15.000Z
# coding=utf8 from __future__ import unicode_literals, absolute_import, division, print_function """A way to track users""" import sopel from sopel.tools import Identifier from .Database import db as botdb from .Tools import is_number, inlist, similar, array_arrangesort, bot_privs, channel_privs from sopel_modules.s...
39.144852
181
0.575881
347c6d0817ffa67e0ca371af20acaf843bc16260
444
py
Python
Lesson-1/uniqueOut.py
dhingratul/Data-Analysis
8aa9695375b143fbbcb1355e9ade7a57ab68592d
[ "MIT" ]
null
null
null
Lesson-1/uniqueOut.py
dhingratul/Data-Analysis
8aa9695375b143fbbcb1355e9ade7a57ab68592d
[ "MIT" ]
null
null
null
Lesson-1/uniqueOut.py
dhingratul/Data-Analysis
8aa9695375b143fbbcb1355e9ade7a57ab68592d
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Mon May 8 13:48:29 2017 @author: dhingratul Input: Filename, columnName Output : Unique number of a column of data """ import pandas as pd filename = '/home/dhingratul/Documents/Dataset/Data Analysis/\ daily_engagement_full.csv' print(uniqueOut(filename...
21.142857
62
0.722973
347cc706db977bf1fd2615b3c38710ac5e37e797
241
py
Python
packs/openstack/actions/keystone.py
jonico/st2contrib
149c9c553f24360d91a14fef7ea6146707de75fd
[ "Apache-2.0" ]
5
2016-10-11T11:52:53.000Z
2017-06-15T05:21:05.000Z
packs/openstack/actions/keystone.py
jonico/st2contrib
149c9c553f24360d91a14fef7ea6146707de75fd
[ "Apache-2.0" ]
25
2016-07-28T17:50:35.000Z
2017-09-25T09:26:18.000Z
packs/openstack/actions/keystone.py
jonico/st2contrib
149c9c553f24360d91a14fef7ea6146707de75fd
[ "Apache-2.0" ]
2
2015-09-09T11:46:25.000Z
2020-11-21T10:10:49.000Z
#!/usr/bin/python import sys from lib import openstack from keystoneclient.v3.client import Client ostack = openstack.OpenStack('config.yaml') sess = ostack.getSession() client = Client(session=sess) print(ostack.run(client, sys.argv))
17.214286
43
0.767635
347e3514263a9fbe7cad08b6c30cdb4bb852249c
567
py
Python
LoadDataAndPrepare/Category_to_subcat_mappings/grooming_subcategories_yelp.py
ngrover2/Automatic_Lexicon_Induction
b58a1d55f294293161dc23ab2e6d669c1c5e90d8
[ "MIT" ]
null
null
null
LoadDataAndPrepare/Category_to_subcat_mappings/grooming_subcategories_yelp.py
ngrover2/Automatic_Lexicon_Induction
b58a1d55f294293161dc23ab2e6d669c1c5e90d8
[ "MIT" ]
null
null
null
LoadDataAndPrepare/Category_to_subcat_mappings/grooming_subcategories_yelp.py
ngrover2/Automatic_Lexicon_Induction
b58a1d55f294293161dc23ab2e6d669c1c5e90d8
[ "MIT" ]
null
null
null
grooming_categories = [ 'Beauty & Spas', 'Barbers', 'Hair Salons', 'Skin Care', 'Hair Extensions', 'Medical Spas', 'Waxing', 'Nail Salons', 'Eyelash Service', 'Hair Removal', 'Blow Dry/Out Services', 'Hair Stylists', 'Day Spas', 'Massage', 'Massage Therapy', 'Eyebrow Services', 'Tattoo Removal', 'Kids Hair Salons', 'Sa...
16.2
24
0.687831
3480169d44a71f7ec54dde6653589dc344e1247c
10,063
py
Python
oss2/select_response.py
xkdcc/aliyun-oss-python-sdk
c34c10c830b3a0f884af4bd2a1b501b3d4e52038
[ "MIT" ]
840
2015-12-07T04:00:04.000Z
2022-03-25T15:04:53.000Z
oss2/select_response.py
xkdcc/aliyun-oss-python-sdk
c34c10c830b3a0f884af4bd2a1b501b3d4e52038
[ "MIT" ]
270
2016-01-11T01:55:46.000Z
2022-03-30T10:27:49.000Z
oss2/select_response.py
xkdcc/aliyun-oss-python-sdk
c34c10c830b3a0f884af4bd2a1b501b3d4e52038
[ "MIT" ]
424
2015-12-05T12:26:04.000Z
2022-03-23T10:57:16.000Z
import platform import struct import requests from .compat import to_bytes from .exceptions import RequestError from .exceptions import SelectOperationFailed from .exceptions import SelectOperationClientError from .exceptions import InconsistentError from . import utils import logging logger = logging.getLogger(__nam...
41.929167
164
0.617311
3481af2e70769439b70e72f6601e14cbab1fe00b
10,622
py
Python
datagenerationpipeline.py
odeliss/wapetex
1ad6740f537724e3640175234ea5d120912a0c3c
[ "MIT" ]
null
null
null
datagenerationpipeline.py
odeliss/wapetex
1ad6740f537724e3640175234ea5d120912a0c3c
[ "MIT" ]
null
null
null
datagenerationpipeline.py
odeliss/wapetex
1ad6740f537724e3640175234ea5d120912a0c3c
[ "MIT" ]
null
null
null
import os import cv2 import imutils import random from skimage.transform import rotate #3 next ones used for the skewing from skimage.transform import warp from skimage import data from skimage.transform import ProjectiveTransform import numpy as np #this class will rotate, translate, crop, add noise, skew, flip verti...
40.234848
134
0.720015
3481d1c2600c28f0691d9c43bd72bdf90e3ec7b3
3,381
py
Python
esheep_sdk/example/medusa/algorithm1/config.py
skygoo/esheep-sdk
b413bba8f703dbdd3752d0f7c5787bce030c0a67
[ "Apache-2.0" ]
3
2019-01-15T00:32:34.000Z
2019-05-14T09:04:38.000Z
esheep-sdk/example/medusa/algorithm1/config.py
seekloud/esheep-sdk
1c8978e2bf00f9f4838981a71a555c169a97fb21
[ "Apache-2.0" ]
null
null
null
esheep-sdk/example/medusa/algorithm1/config.py
seekloud/esheep-sdk
1c8978e2bf00f9f4838981a71a555c169a97fb21
[ "Apache-2.0" ]
3
2019-01-23T07:44:09.000Z
2019-03-24T15:11:16.000Z
# Author: Taoz # Date : 8/29/2018 # Time : 3:08 PM # FileName: config.py import time import sys import configparser import os customer_conf_file = sys.argv[1] dqn_conf = load_conf(customer_conf_file) """experiment""" GPU_INDEX = dqn_conf.getint('GPU_INDEX') PRE_TRAIN_MODEL_FILE = dqn_conf.get('PRE_TRAIN_MODEL_...
31.598131
117
0.736469
caa12ce8ca3ac2e27dd3c56991cf44b0a7f75b35
523
py
Python
Kaspa/modules/extension_modules/time_module/timeModuleDe.py
karim-awad/kaspa
701d935dd215bfd9a4810a4430973b33fecec257
[ "MIT" ]
null
null
null
Kaspa/modules/extension_modules/time_module/timeModuleDe.py
karim-awad/kaspa
701d935dd215bfd9a4810a4430973b33fecec257
[ "MIT" ]
null
null
null
Kaspa/modules/extension_modules/time_module/timeModuleDe.py
karim-awad/kaspa
701d935dd215bfd9a4810a4430973b33fecec257
[ "MIT" ]
null
null
null
from Kaspa.modules.abstract_modules.abstractBriefingSubmodule import AbstractBriefingSubmodule
26.15
94
0.674952
caa2a47d26942b262cea4bf3e3c7abe149fab5d2
659
py
Python
app/views.py
JN513/BEMOL
8be49825addb4680912c7a8cf3812ae835538909
[ "MIT" ]
1
2021-12-06T23:47:34.000Z
2021-12-06T23:47:34.000Z
app/views.py
JN513/BEMOL
8be49825addb4680912c7a8cf3812ae835538909
[ "MIT" ]
null
null
null
app/views.py
JN513/BEMOL
8be49825addb4680912c7a8cf3812ae835538909
[ "MIT" ]
1
2022-03-23T13:22:49.000Z
2022-03-23T13:22:49.000Z
from django.shortcuts import render, redirect from django.http import HttpResponse from app.forms import PersonForm # Create your views here.
27.458333
57
0.669196
caa368ee3f86b500c3851b882996cf49e1b7ed27
9,657
py
Python
sqlorm4es/sql.py
floatliang/sqlorm4es
343d8b350087e0d73784d70c4fa152febc0e0b14
[ "MIT" ]
6
2019-10-11T17:03:22.000Z
2019-10-14T02:11:02.000Z
sqlorm4es/sql.py
floatliang/sqlorm4es
343d8b350087e0d73784d70c4fa152febc0e0b14
[ "MIT" ]
1
2019-10-14T02:11:23.000Z
2019-10-14T12:41:25.000Z
sqlorm4es/sql.py
floatliang/sqlorm4es
343d8b350087e0d73784d70c4fa152febc0e0b14
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # @Time : 2019/10/4 18:22 # @Author : floatsliang # @File : sql.py from typing import Union import re from copy import deepcopy from .epool import POOL from .compiler import QueryCompiler from .field import Expr, Field, OP_DICT, OP from .utils import result_wrapper, SearchResu...
33.53125
120
0.569224
caa75e5d2bdfbfee786b817df8f19969fb19c54a
1,512
py
Python
klgists/misc/git.py
kokellab/klgists
e4028eda10789ee4eb61061b6ae8c4099715bf58
[ "Apache-2.0" ]
2
2019-09-15T01:53:46.000Z
2020-11-25T17:05:46.000Z
klgists/misc/git.py
kokellab/klgists
e4028eda10789ee4eb61061b6ae8c4099715bf58
[ "Apache-2.0" ]
16
2017-03-31T21:16:41.000Z
2020-04-05T00:41:25.000Z
klgists/misc/git.py
kokellab/klgists
e4028eda10789ee4eb61061b6ae8c4099715bf58
[ "Apache-2.0" ]
null
null
null
import re from klgists.common.exceptions import ExternalCommandFailed, ParsingFailedException from klgists.common import abcd __all__ = ['GitDescription', 'GitTools']
32.170213
113
0.707011
caa9a9876419f7cc024bc385bf5186f2f38087b3
118
py
Python
catkin_ws/src/my_package/scripts/service_client.py
SACHINKUMARHACKER/ROS
312daa76fbea288e5094684ad19ca52407fddbfa
[ "BSD-2-Clause" ]
null
null
null
catkin_ws/src/my_package/scripts/service_client.py
SACHINKUMARHACKER/ROS
312daa76fbea288e5094684ad19ca52407fddbfa
[ "BSD-2-Clause" ]
null
null
null
catkin_ws/src/my_package/scripts/service_client.py
SACHINKUMARHACKER/ROS
312daa76fbea288e5094684ad19ca52407fddbfa
[ "BSD-2-Clause" ]
null
null
null
#!/usr/bin/env python import rospy from std_msgs.msg import String
16.857143
37
0.745763
caaa92936e9bdaba1fb9ce03d01d0d8201e0f71d
702
py
Python
warp_stl.py
rcpedersen/stl-warper
2c838795f0527d1159907b477f09ca40ade6d121
[ "MIT" ]
3
2016-02-23T10:35:57.000Z
2017-09-11T00:14:03.000Z
warp_stl.py
rcpedersen/stl-warper
2c838795f0527d1159907b477f09ca40ade6d121
[ "MIT" ]
null
null
null
warp_stl.py
rcpedersen/stl-warper
2c838795f0527d1159907b477f09ca40ade6d121
[ "MIT" ]
null
null
null
from reader import read_stl_verticies from utils import split_triangles, push2d, top_wider, push3d from writer import Binary_STL_Writer if __name__ == '__main__': faces = [] triangles = read_stl_verticies("./input.stl") more_triangles = split_triangles(triangles,5) for triangle in more_triangles: ...
35.1
60
0.655271
caaae961bfa85f149e075a0231d58bb0c94823f0
3,511
py
Python
dcms/news/tests.py
regiondavid/django-demo
4e1829c222d5f37ef222818b6f5afccc76a24f39
[ "MIT" ]
1
2019-08-31T16:54:28.000Z
2019-08-31T16:54:28.000Z
dcms/news/tests.py
regiondavid/django-demo
4e1829c222d5f37ef222818b6f5afccc76a24f39
[ "MIT" ]
9
2020-06-05T17:25:55.000Z
2022-01-13T00:39:47.000Z
dcms/news/tests.py
regiondavid/django-demo
4e1829c222d5f37ef222818b6f5afccc76a24f39
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import unicode_literals import datetime from django.utils import timezone from django.test import TestCase from django.urls import reverse from .models import Question # Create your tests here. def create_question(question_text, days): """ Create a question """ ...
39.449438
94
0.679578
caab037d5577b045c5e211a62efa05a95efb90b3
1,227
py
Python
sample/PutRowsWithDataFrame.py
nguyentientungduong/python_client
83e43e470f26291edb8ce09a99544c80e187f701
[ "Apache-2.0" ]
79
2018-03-28T14:13:24.000Z
2021-12-23T18:29:12.000Z
sample/PutRowsWithDataFrame.py
nguyentientungduong/python_client
83e43e470f26291edb8ce09a99544c80e187f701
[ "Apache-2.0" ]
20
2018-07-03T18:12:52.000Z
2022-01-06T03:11:11.000Z
sample/PutRowsWithDataFrame.py
nguyentientungduong/python_client
83e43e470f26291edb8ce09a99544c80e187f701
[ "Apache-2.0" ]
73
2018-08-11T09:45:25.000Z
2021-12-27T03:24:13.000Z
#!/usr/bin/python import griddb_python as griddb import sys import pandas factory = griddb.StoreFactory.get_instance() argv = sys.argv blob = bytearray([65, 66, 67, 68, 69, 70, 71, 72, 73, 74]) update = False containerName = "SamplePython_PutRows" try: # Get GridStore object gridstore = factory.get_store(h...
29.926829
124
0.620212
caab073dbfab127f4fb02cfb6a42eb41a7a18c2b
443
py
Python
Python/MaxSumInSlidingWindow.py
ChanderJindal/Data_Structure_and_Algorithms
8268a5b8be6bc967af41d1985db1224d6c6afc5e
[ "MIT" ]
14
2019-10-26T11:43:56.000Z
2021-01-23T00:37:17.000Z
Python/MaxSumInSlidingWindow.py
ChanderJindal/Data_Structure_and_Algorithms
8268a5b8be6bc967af41d1985db1224d6c6afc5e
[ "MIT" ]
28
2019-10-13T17:49:42.000Z
2020-11-15T07:08:10.000Z
Python/MaxSumInSlidingWindow.py
ChanderJindal/Data_Structure_and_Algorithms
8268a5b8be6bc967af41d1985db1224d6c6afc5e
[ "MIT" ]
73
2019-10-11T06:38:10.000Z
2022-01-26T20:04:24.000Z
import math # this algorithm calculates the maximum sum present in the sublists of length k # in the array nums=list(map(int,input("enter the elements of the list\n").split())) k=int(input("enter the size of the window :")) cursum=sum(nums[:k]) maxsum= cursum for i in range(1,len(nums)-k): cursum=cursum-nums[i-1]+n...
27.6875
79
0.704289
caabe05d542fa1d4213fb15dc48b72856aee1f2d
748
py
Python
tests/configs/learning-gem5-p1-two-level.py
samgh1230/gem5
01c41ec521352ccd6e857aa2bed808d38557b40d
[ "BSD-3-Clause" ]
3
2017-11-19T06:49:54.000Z
2018-12-26T18:08:11.000Z
tests/configs/learning-gem5-p1-two-level.py
samgh1230/gem5
01c41ec521352ccd6e857aa2bed808d38557b40d
[ "BSD-3-Clause" ]
1
2020-08-20T05:53:30.000Z
2020-08-20T05:53:30.000Z
tests/configs/learning-gem5-p1-two-level.py
samgh1230/gem5
01c41ec521352ccd6e857aa2bed808d38557b40d
[ "BSD-3-Clause" ]
6
2016-07-31T18:48:18.000Z
2022-03-06T22:41:28.000Z
# A wrapper around configs/learning_gem5/part1/two_level.py # For some reason, this is implicitly needed by run.py root = None import m5
29.92
76
0.653743
caaccb98746ecf642948cea481675b0e4f50f8ca
13,233
py
Python
src/stactools/landsat/mtl_metadata.py
pjhartzell/landsat
56c1cdd4343a9ce44607b5f5b33def5278eca3a4
[ "Apache-2.0" ]
null
null
null
src/stactools/landsat/mtl_metadata.py
pjhartzell/landsat
56c1cdd4343a9ce44607b5f5b33def5278eca3a4
[ "Apache-2.0" ]
null
null
null
src/stactools/landsat/mtl_metadata.py
pjhartzell/landsat
56c1cdd4343a9ce44607b5f5b33def5278eca3a4
[ "Apache-2.0" ]
null
null
null
from collections import defaultdict from datetime import datetime from typing import Any, Dict, List, Optional from pyproj import Geod from pystac.utils import str_to_datetime from stactools.core.io import ReadHrefModifier from stactools.core.io.xml import XmlElement from stactools.core.projection import transform_fro...
37.808571
153
0.607194
caace811c3bf865e13c6bf1803446ce42c096a7e
2,079
py
Python
lib/galaxy/model/orm/ext/assignmapper.py
thata/galaxy-dist
6c3ffa064faf0c500f5594ed7b58ed839b00f337
[ "CC-BY-3.0" ]
2
2016-02-23T00:09:14.000Z
2019-02-11T07:48:44.000Z
lib/galaxy/model/orm/ext/assignmapper.py
thata/galaxy-dist
6c3ffa064faf0c500f5594ed7b58ed839b00f337
[ "CC-BY-3.0" ]
null
null
null
lib/galaxy/model/orm/ext/assignmapper.py
thata/galaxy-dist
6c3ffa064faf0c500f5594ed7b58ed839b00f337
[ "CC-BY-3.0" ]
6
2015-05-27T13:09:50.000Z
2019-02-11T07:48:46.000Z
""" This is similar to the assignmapper extensions in SQLAclhemy 0.3 and 0.4 but with some compatibility fixes. It assumes that the session is a ScopedSession, and thus has the "mapper" method to attach contextual mappers to a class. It adds additional query and session methods to the class to support the SQLAlchemy 0....
41.58
87
0.662338
caad7ba8a2fcd067353d0063eebca93ac75d8669
2,191
py
Python
wrappers.py
cross32768/PlaNet_PyTorch
022baf724b52bf79e610f9d7a31e4195d6be6455
[ "MIT" ]
26
2019-12-30T06:45:16.000Z
2022-03-18T02:00:15.000Z
wrappers.py
cross32768/PlaNet_PyTorch
022baf724b52bf79e610f9d7a31e4195d6be6455
[ "MIT" ]
7
2019-12-29T14:46:36.000Z
2020-01-01T09:11:34.000Z
wrappers.py
cross32768/PlaNet_PyTorch
022baf724b52bf79e610f9d7a31e4195d6be6455
[ "MIT" ]
3
2020-05-23T17:23:22.000Z
2020-10-27T18:03:58.000Z
import gym import numpy as np from viewer import OpenCVImageViewer class RepeatAction(gym.Wrapper): """ Action repeat wrapper to act same action repeatedly """
28.089744
89
0.600639
caaded4bd578289725713128513fb77368214fe1
229
py
Python
run.py
mdasari823/fastmot-copy
28c50cdd9f816b94a6d463bad3ac897701c4e6e8
[ "MIT" ]
null
null
null
run.py
mdasari823/fastmot-copy
28c50cdd9f816b94a6d463bad3ac897701c4e6e8
[ "MIT" ]
1
2021-12-23T07:26:12.000Z
2021-12-23T07:26:12.000Z
run.py
mdasari823/fastmot-copy
28c50cdd9f816b94a6d463bad3ac897701c4e6e8
[ "MIT" ]
null
null
null
import os for run in range(1, 17): print (run) os.system('python3 app.py --input_uri ../camloc/oct22/'+str(run)+'.mp4 --mot --gui -l results.txt -o output.mp4') os.system('mv pixel-locs.txt camera_'+str(run)+'.txt')
32.714286
117
0.637555
cab187b9189478433c28cb351566cfef54a3c790
3,175
py
Python
project/services/views.py
Aleksey-Hugo/Avtoservis-Ulyanovsk-one-
073cf02eda5efc7ed7598a39bcf62815f2bfeebb
[ "Apache-2.0" ]
1
2021-06-29T13:28:44.000Z
2021-06-29T13:28:44.000Z
project/services/views.py
Aleksey-Hugo/Avtoservis-Ulyanovsk-one-
073cf02eda5efc7ed7598a39bcf62815f2bfeebb
[ "Apache-2.0" ]
null
null
null
project/services/views.py
Aleksey-Hugo/Avtoservis-Ulyanovsk-one-
073cf02eda5efc7ed7598a39bcf62815f2bfeebb
[ "Apache-2.0" ]
null
null
null
from django.shortcuts import render from . import models from project import additional_scripts as scripts from django.http import HttpResponse, JsonResponse from django.template.loader import render_to_string from django.views.decorators.csrf import csrf_exempt import re # Create your views here.
50.396825
226
0.748976
cab46f38ed7e33ed8da42d9ab11d078861215107
11,952
py
Python
vispy/app/backends/_ipynb_webgl.py
robmcmullen/vispy
8d5092fdae4a24fc364ae51c7e34e12d3fd6d0a2
[ "BSD-3-Clause" ]
null
null
null
vispy/app/backends/_ipynb_webgl.py
robmcmullen/vispy
8d5092fdae4a24fc364ae51c7e34e12d3fd6d0a2
[ "BSD-3-Clause" ]
null
null
null
vispy/app/backends/_ipynb_webgl.py
robmcmullen/vispy
8d5092fdae4a24fc364ae51c7e34e12d3fd6d0a2
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- # Copyright (c) 2014, Vispy Development Team. # Distributed under the (new) BSD License. See LICENSE.txt for more info. """ Vispy backend for the IPython notebook (WebGL approach). """ from __future__ import division from ..base import (BaseApplicationBackend, BaseCanvasBackend, ...
34.643478
79
0.556727
cab4bd43b931381073b462b76ec7bd88985afa84
347
py
Python
dp2.py
bourneagain/pythonBytes
be115162147e52718aacbfb9cd2763aa02754f28
[ "MIT" ]
1
2017-05-29T02:02:27.000Z
2017-05-29T02:02:27.000Z
dp2.py
bourneagain/pythonBytes
be115162147e52718aacbfb9cd2763aa02754f28
[ "MIT" ]
null
null
null
dp2.py
bourneagain/pythonBytes
be115162147e52718aacbfb9cd2763aa02754f28
[ "MIT" ]
null
null
null
fibMem= {} a="sam" print fib(1000) #if __name__ == '__main__': # import timeit # print(timeit.timeit("print a", setup="from __main__ import *",repeat=3))
20.411765
77
0.582133
cab5e991d555f4eb25c36074f5ce2e555de8a284
635
py
Python
[functions] Time_related.py
3n5/functions-python
be42f7b2108f8ed481956ce1c1ddc356c4ce17d6
[ "MIT" ]
2
2020-12-29T06:32:43.000Z
2020-12-29T06:32:45.000Z
[functions] Time_related.py
h4r3/functions-python
be42f7b2108f8ed481956ce1c1ddc356c4ce17d6
[ "MIT" ]
null
null
null
[functions] Time_related.py
h4r3/functions-python
be42f7b2108f8ed481956ce1c1ddc356c4ce17d6
[ "MIT" ]
null
null
null
#Time-related functions 2020/12/22 """Get elapsed time"""#[] time_elapsed() """Get the current time""" time_current()
28.863636
79
0.637795
cab6c8d8ca6e59ca96641958c8f303e7d2e0cead
434
py
Python
backend_sqlalchemy/backend_app/resources/stats.py
jiz148/medical_app
2f8b3f299ff6a87e62ac7483b6d2bac156a08874
[ "MIT" ]
null
null
null
backend_sqlalchemy/backend_app/resources/stats.py
jiz148/medical_app
2f8b3f299ff6a87e62ac7483b6d2bac156a08874
[ "MIT" ]
null
null
null
backend_sqlalchemy/backend_app/resources/stats.py
jiz148/medical_app
2f8b3f299ff6a87e62ac7483b6d2bac156a08874
[ "MIT" ]
null
null
null
from backend_sqlalchemy.backend_app.models.diseases import DiseasesModel from backend_sqlalchemy.backend_app.db import db from backend_sqlalchemy.backend_app.models.stats import StatsModel def get_stats(): """ Get stats """ all_stats = db.session.query(StatsModel.DID, StatsModel.FID, StatsModel.Sen) ...
24.111111
80
0.728111
cab6fe7833f5fec0c5468b98e097935105bdd403
6,661
py
Python
tables/save_global_basin_curves_xls.py
thomasfrederikse/sealevelbudget_20c
eb3155da7255cd7e17cd574464e730b6ba16cb7d
[ "FSFAP" ]
12
2020-08-19T21:32:37.000Z
2022-02-23T12:35:42.000Z
tables/save_global_basin_curves_xls.py
thomasfrederikse/sealevelbudget_20c
eb3155da7255cd7e17cd574464e730b6ba16cb7d
[ "FSFAP" ]
1
2020-12-09T08:51:00.000Z
2020-12-09T08:51:00.000Z
tables/save_global_basin_curves_xls.py
thomasfrederikse/sealevelbudget_20c
eb3155da7255cd7e17cd574464e730b6ba16cb7d
[ "FSFAP" ]
null
null
null
# --------------------------------------------------------- # Save global and basin-mean sea-level curves as Excel file # Single file per basin # --------------------------------------------------------- import numpy as np import os import pandas as pd
76.563218
236
0.629035
cab7a62a6440c568cac6b6e233a81c664d529376
3,053
py
Python
catalog/views.py
OdidiLavender/FoodWasteManagementProject
a5f339de79c9fb78771197089967caaf2ec1db18
[ "MIT" ]
null
null
null
catalog/views.py
OdidiLavender/FoodWasteManagementProject
a5f339de79c9fb78771197089967caaf2ec1db18
[ "MIT" ]
null
null
null
catalog/views.py
OdidiLavender/FoodWasteManagementProject
a5f339de79c9fb78771197089967caaf2ec1db18
[ "MIT" ]
null
null
null
from multiprocessing import context from django.shortcuts import render, redirect, get_object_or_404 from django.contrib.auth.decorators import login_required from .models import Food, Order from .forms import FoodForm # Create your views here. def order(request, template='viewOrderItem.html'): orders = Order.obj...
34.303371
65
0.603013
cab85709d6006c0a36f8149a81345dd85e7eae3b
971
py
Python
awsrx/tailer.py
GEUS-PROMICE/awsrx
f593120a3593a0eb5dfe55c49f1ef72263ceeb5a
[ "MIT" ]
2
2020-11-13T08:26:14.000Z
2021-04-24T17:02:48.000Z
awsrx/tailer.py
GEUS-PROMICE/awsrx
f593120a3593a0eb5dfe55c49f1ef72263ceeb5a
[ "MIT" ]
null
null
null
awsrx/tailer.py
GEUS-PROMICE/awsrx
f593120a3593a0eb5dfe55c49f1ef72263ceeb5a
[ "MIT" ]
1
2021-07-22T08:46:44.000Z
2021-07-22T08:46:44.000Z
#! /usr/bin/python2.7 #coding=cp850 #mcit@geus.dk # #tail the in_files by lines and write them in out_subdir prepending the aws name # #TODO: quick hack: clean it up import glob, sys, os, os.path from collections import deque
26.972222
80
0.584964
cab9ac61743d32c048db9d32b01f12077629c7cb
403
py
Python
webapp/detectron/models.py
hasbegun/mask_rcnn
3e68ca053f00441950bbf441171b6f0a82ddf316
[ "MIT" ]
null
null
null
webapp/detectron/models.py
hasbegun/mask_rcnn
3e68ca053f00441950bbf441171b6f0a82ddf316
[ "MIT" ]
5
2020-03-31T07:10:39.000Z
2022-02-10T09:09:30.000Z
webapp/detectron/models.py
hasbegun/mask_rcnn
3e68ca053f00441950bbf441171b6f0a82ddf316
[ "MIT" ]
null
null
null
from django.db import models def user_upload_file_path(instance, filename): "find the path for user upload dir." return 'user_{0}/{1}'.format(instance.user.id, filename)
31
67
0.764268
cab9ed4e026d9fabb8a1a1bf7202062d7c63720a
744
py
Python
InnovationMaps/urls.py
OnlineS3/5.6.-RIS3-innovation-maps
118c1460ad13f1d56d5228187a0a570b42944cc6
[ "MIT" ]
null
null
null
InnovationMaps/urls.py
OnlineS3/5.6.-RIS3-innovation-maps
118c1460ad13f1d56d5228187a0a570b42944cc6
[ "MIT" ]
null
null
null
InnovationMaps/urls.py
OnlineS3/5.6.-RIS3-innovation-maps
118c1460ad13f1d56d5228187a0a570b42944cc6
[ "MIT" ]
null
null
null
"""Innovation Maps URL Configuration The `urlpatterns` list routes URLs to views. """ from django.conf.urls import url from InnovationMaps.views import * urlpatterns = [ url(r'^about/$', about, name='innovationmaps_about'), url(r'^guide/$', guide, name='innovationmaps_guide'), url(r'^pdf/$', pdf, name='inn...
39.157895
66
0.678763
caba839088d90d9f3c925bdaedf92c7faa434941
885
py
Python
quick_django/main/models.py
masatoman/django_test
a850864e132246cffc9d7e2ad308c68623f79bd0
[ "MIT" ]
null
null
null
quick_django/main/models.py
masatoman/django_test
a850864e132246cffc9d7e2ad308c68623f79bd0
[ "MIT" ]
null
null
null
quick_django/main/models.py
masatoman/django_test
a850864e132246cffc9d7e2ad308c68623f79bd0
[ "MIT" ]
null
null
null
from django.db import models classBook(models.Model): isbn = models.CharField( verbose_name='ISBN', max_length=20 ) title = models.CharField( verbose_name='', max_length=100 ) price = models.IntegerField( verbose_name='', ...
26.818182
62
0.463277
cababfdd4a279ee379d1a2e9140e141a7bd6a78b
2,892
py
Python
nc2json_HYCOM_GLBy_forecast.py
cyhsu/leaflet-velocity
3759902e995b0ebd5047c5558bbbf9887d1ebed0
[ "MIT" ]
null
null
null
nc2json_HYCOM_GLBy_forecast.py
cyhsu/leaflet-velocity
3759902e995b0ebd5047c5558bbbf9887d1ebed0
[ "MIT" ]
null
null
null
nc2json_HYCOM_GLBy_forecast.py
cyhsu/leaflet-velocity
3759902e995b0ebd5047c5558bbbf9887d1ebed0
[ "MIT" ]
null
null
null
import os, sys, json import numpy as np import xarray as xr from glob import glob from datetime import datetime from netCDF4 import Dataset, num2date, date2num from scipy.interpolate import griddata #- HYCOM GLBv0.08/latest (daily-mean) present + forecast #- Detail info: https://www.hycom.org/dataserver/gofs-3pt1/ana...
40.166667
117
0.662863
cabba8c446bfd820cdac622caa53c5b56ff9c9ae
663
py
Python
patch/0000_groups.py
williamcanin/crud-django-cbv
9f2ede86b9106cc2bbe8b5b027d02e2a6f9cf002
[ "MIT" ]
1
2021-09-21T12:49:14.000Z
2021-09-21T12:49:14.000Z
patch/0000_groups.py
williamcanin/crud-django-cbv
9f2ede86b9106cc2bbe8b5b027d02e2a6f9cf002
[ "MIT" ]
null
null
null
patch/0000_groups.py
williamcanin/crud-django-cbv
9f2ede86b9106cc2bbe8b5b027d02e2a6f9cf002
[ "MIT" ]
null
null
null
# Generated by Django 3.2.7 on 2021-10-02 01:57 # Add this file on migrations "clients" from django.db import migrations
21.387097
63
0.641026
cabf215598b0ef86cd55eda9871b7fe1d2891171
1,464
py
Python
EulerEight.py
vanigupta20024/Programming-Challenges
578dba33e9f6b04052a503bcb5de9b32f33494a5
[ "MIT" ]
14
2020-10-15T21:47:18.000Z
2021-12-01T06:06:51.000Z
EulerEight.py
vanigupta20024/Programming-Challenges
578dba33e9f6b04052a503bcb5de9b32f33494a5
[ "MIT" ]
null
null
null
EulerEight.py
vanigupta20024/Programming-Challenges
578dba33e9f6b04052a503bcb5de9b32f33494a5
[ "MIT" ]
4
2020-06-15T14:40:45.000Z
2021-06-15T06:22:03.000Z
# Project Euler - Problem 7 # What is the 10 001st prime number? import time start = time.time() s = "73167176531330624919225119674426574742355349194934\ 9698352031277450632623957831801698480186947885184385861560789112949495459501737958331952853208805511\ 12540698747158523863050715693290963295227443043557668966489504...
37.538462
101
0.846311
cac13e4d297435c69c600284b0b6eb2c35f04a93
628
py
Python
app1/migrations/0092_auto_20210516_2203.py
vashuteotia123/zbcvit
da29b3281ccc87481a264b63c5b6c3a549945f33
[ "MIT" ]
6
2021-09-16T16:46:56.000Z
2022-02-06T13:00:08.000Z
app1/migrations/0092_auto_20210516_2203.py
vashuteotia123/zbcvit
da29b3281ccc87481a264b63c5b6c3a549945f33
[ "MIT" ]
null
null
null
app1/migrations/0092_auto_20210516_2203.py
vashuteotia123/zbcvit
da29b3281ccc87481a264b63c5b6c3a549945f33
[ "MIT" ]
1
2021-09-14T09:26:58.000Z
2021-09-14T09:26:58.000Z
# Generated by Django 3.1.2 on 2021-05-16 16:33 import datetime from django.db import migrations, models
25.12
98
0.597134
cac156f76f885eb1f0b8909985d1e6e242b2f771
374
py
Python
projects/python/def/index.py
SunDawning/sundawning.github.io
ac70ed49c41cb544f1c49e4217808acb7373ca47
[ "MIT" ]
null
null
null
projects/python/def/index.py
SunDawning/sundawning.github.io
ac70ed49c41cb544f1c49e4217808acb7373ca47
[ "MIT" ]
20
2017-03-28T11:42:51.000Z
2017-09-29T13:15:31.000Z
projects/python/def/index.py
SunDawning/sundawning.github.io
ac70ed49c41cb544f1c49e4217808acb7373ca47
[ "MIT" ]
null
null
null
""" Adding an attribute to a Python dictionary from the standard library - Stack Overflow: https://stackoverflow.com/questions/11532060/adding-an-attribute-to-a-python-dictionary-from-the-standard-library """ foo=Foo() foo.a=2 print(foo.b())
22
200
0.681818
cac27a4fdd875de8d39aa95f71a8e785bf4a097c
901
py
Python
lens/models/ext_models/deep_red/arffImporter.py
pietrobarbiero/logic_explained_networks
238f2a220ae8fc4f31ab0cf12649603aba0285d5
[ "Apache-2.0" ]
18
2021-05-24T07:47:57.000Z
2022-01-05T14:48:39.000Z
lens/models/ext_models/deep_red/arffImporter.py
pietrobarbiero/logic_explained_networks
238f2a220ae8fc4f31ab0cf12649603aba0285d5
[ "Apache-2.0" ]
1
2021-08-25T16:33:10.000Z
2021-08-25T16:33:10.000Z
lens/models/ext_models/deep_red/arffImporter.py
pietrobarbiero/deep-logic
238f2a220ae8fc4f31ab0cf12649603aba0285d5
[ "Apache-2.0" ]
2
2021-05-26T08:15:14.000Z
2021-08-23T18:58:16.000Z
import arff as arff import numpy as np datasetRepo = 'BreastCancer' datasetName = 'breast-cancer-wisconsinBinary' data_list=[] for row in arff.load('/home/lukas/Uni/AAThesis/Datasets/'+ datasetRepo +'/'+ datasetName +'.arff'): data_list.append(row) data_np=np.array(data_list,dtype=float) #eliminate missing #i...
30.033333
104
0.756937
cac2971ae42c2e1eedf0e79789b0fb4607584896
1,550
py
Python
clipl/scripts/hadd.py
thomas-mueller/clipl
4c8c61dd4a09fee6ad2ec65f3baa6854cf9cce69
[ "MIT" ]
null
null
null
clipl/scripts/hadd.py
thomas-mueller/clipl
4c8c61dd4a09fee6ad2ec65f3baa6854cf9cce69
[ "MIT" ]
null
null
null
clipl/scripts/hadd.py
thomas-mueller/clipl
4c8c61dd4a09fee6ad2ec65f3baa6854cf9cce69
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- import logging import clipl.utility.logger as logger log = logging.getLogger(__name__) import argparse import clipl.utility.jsonTools as jsonTools import clipl.utility.tools as tools import glob import os import shlex import sys from clipl.utility.tools import hadd ...
28.703704
139
0.672903
cac588be03ffc7ee32885771e6c662fba728e2e2
12,135
py
Python
process.py
Jacob-Zhou/CWS_Dict-rewrite
ef73c2c05acedef6a8e886286e2cd652676c9879
[ "MIT" ]
null
null
null
process.py
Jacob-Zhou/CWS_Dict-rewrite
ef73c2c05acedef6a8e886286e2cd652676c9879
[ "MIT" ]
null
null
null
process.py
Jacob-Zhou/CWS_Dict-rewrite
ef73c2c05acedef6a8e886286e2cd652676c9879
[ "MIT" ]
1
2019-06-23T07:21:05.000Z
2019-06-23T07:21:05.000Z
import codecs import collections from typing import * import os import tensorflow as tf import csv import tokenization import numpy as np import re import utils def convert_single_example(ex_index, example: InputExample, tokenizer, label_map, dict_builder=None): """Converts a single ...
33.896648
95
0.567614
cac76d33c2f744198aac139825eb16f25223cdbd
654
py
Python
trackers/SiamRPNpp/tracker/tracker_builder.py
htet96/Integration-of-THOR-and-SiamRPN-wip-
74d4baded10acfe6b35c6d7b2c66a3da6c36f4a1
[ "MIT" ]
null
null
null
trackers/SiamRPNpp/tracker/tracker_builder.py
htet96/Integration-of-THOR-and-SiamRPN-wip-
74d4baded10acfe6b35c6d7b2c66a3da6c36f4a1
[ "MIT" ]
null
null
null
trackers/SiamRPNpp/tracker/tracker_builder.py
htet96/Integration-of-THOR-and-SiamRPN-wip-
74d4baded10acfe6b35c6d7b2c66a3da6c36f4a1
[ "MIT" ]
1
2021-03-29T02:47:56.000Z
2021-03-29T02:47:56.000Z
# Copyright (c) SenseTime. All Rights Reserved. from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals from siamrpnpp.core.config import cfg from siamrpnpp.tracker.siamrpn_tracker import SiamRPNTracker from siamrpnpp.tracker...
31.142857
64
0.792049
caca13b9f9987b6f832d8d595f3219235635f8e0
5,108
py
Python
GUI/RPi_data.py
leander-dsouza/URC-2019
6773e6b66dfb840bdbb4463441e8a855b42b1123
[ "MIT" ]
5
2020-05-10T11:03:48.000Z
2022-01-17T07:00:40.000Z
GUI/RPi_data.py
leander-dsouza/URC-2019
6773e6b66dfb840bdbb4463441e8a855b42b1123
[ "MIT" ]
null
null
null
GUI/RPi_data.py
leander-dsouza/URC-2019
6773e6b66dfb840bdbb4463441e8a855b42b1123
[ "MIT" ]
3
2020-07-13T14:11:12.000Z
2022-01-07T18:05:05.000Z
from PyQt5 import QtCore, QtWidgets, QtGui import pyqtgraph as pg import numpy as np import socket import pyproj from pyqtgraph import functions as fn from gps3 import gps3 import sys from PyQt5.QtWidgets import QMainWindow, QApplication, QWidget, QPushButton, QAction, QLineEdit, QMessageBox from PyQt5.QtGui import QIc...
31.530864
141
0.646045
caca8b4bdada018953ac3b4a8cab365219d0c4bb
4,710
py
Python
UDBFData.py
residualsilence/pyudbf
4ebeaa5c4c4cfc62a040d659c2c2fe1fa4ee46be
[ "MIT" ]
null
null
null
UDBFData.py
residualsilence/pyudbf
4ebeaa5c4c4cfc62a040d659c2c2fe1fa4ee46be
[ "MIT" ]
null
null
null
UDBFData.py
residualsilence/pyudbf
4ebeaa5c4c4cfc62a040d659c2c2fe1fa4ee46be
[ "MIT" ]
null
null
null
import numpy as np from dataclasses import dataclass from typing import List, Any from datetime import datetime
32.260274
78
0.551592
caca9e7e4c7e9fcaa5eda9ce8eed667687e6876a
34,263
py
Python
tests/scheduling/test_condition.py
bdsinger/PsyNeuLink
71d8a0bb1691ff85061d4ad3de866d9930a69a73
[ "Apache-2.0" ]
null
null
null
tests/scheduling/test_condition.py
bdsinger/PsyNeuLink
71d8a0bb1691ff85061d4ad3de866d9930a69a73
[ "Apache-2.0" ]
null
null
null
tests/scheduling/test_condition.py
bdsinger/PsyNeuLink
71d8a0bb1691ff85061d4ad3de866d9930a69a73
[ "Apache-2.0" ]
null
null
null
import logging import pytest from psyneulink.core.components.functions.transferfunctions import Linear from psyneulink.core.components.mechanisms.processing.transfermechanism import TransferMechanism from psyneulink.core.components.projections.pathway.mappingprojection import MappingProjection from psyneulink.core.co...
41.330519
395
0.613636
cacb6a4e06751d15dfbdbeba477c081483e1cd05
1,267
py
Python
blueprints/cms/admin.py
dchaplinsky/ninja-cats
d0760712d47eb391c01be137eb5cc5df0c450e86
[ "MIT" ]
null
null
null
blueprints/cms/admin.py
dchaplinsky/ninja-cats
d0760712d47eb391c01be137eb5cc5df0c450e86
[ "MIT" ]
null
null
null
blueprints/cms/admin.py
dchaplinsky/ninja-cats
d0760712d47eb391c01be137eb5cc5df0c450e86
[ "MIT" ]
1
2019-02-07T15:27:14.000Z
2019-02-07T15:27:14.000Z
from vulyk.admin.models import AuthModelView, CKTextAreaField from wtforms.validators import Required from wtforms.fields import SelectField
23.90566
65
0.625888
cacd4256dc6120a59cb2c550ba1d38db5d54f626
1,488
py
Python
analysisTool/testtools/pickyinvestor.py
YueZiqihong/BacktestingProject
5940192dd3561fdaf50b84784751d53a5e40aec5
[ "MIT" ]
null
null
null
analysisTool/testtools/pickyinvestor.py
YueZiqihong/BacktestingProject
5940192dd3561fdaf50b84784751d53a5e40aec5
[ "MIT" ]
null
null
null
analysisTool/testtools/pickyinvestor.py
YueZiqihong/BacktestingProject
5940192dd3561fdaf50b84784751d53a5e40aec5
[ "MIT" ]
null
null
null
import pandas as pd import numpy as np from . import datamonger
31
91
0.609543
cacd4b38f867a34c81112b4cbf0a8aafc3d0f02e
5,717
py
Python
predictNN.py
stefanbo92/Kaggle-Titanic-Competition
b3b4cffdeef977d4cb5b37c41d60290f4b4c76c8
[ "MIT" ]
null
null
null
predictNN.py
stefanbo92/Kaggle-Titanic-Competition
b3b4cffdeef977d4cb5b37c41d60290f4b4c76c8
[ "MIT" ]
null
null
null
predictNN.py
stefanbo92/Kaggle-Titanic-Competition
b3b4cffdeef977d4cb5b37c41d60290f4b4c76c8
[ "MIT" ]
null
null
null
import os import numpy as np import tensorflow as tf import datetime import csv as csv import pandas as pd import operator print ("Packages loaded") #load training and testing data train = pd.read_csv('input/train.csv', header = 0, dtype={'Age': np.float64}) test = pd.read_csv('input/test.csv' , header = 0, dtype={'A...
33.046243
103
0.668183
cacee22303bdeb74b8fd99897abb8318af8068c7
286
py
Python
5/5B.py
allenalvin333/Hackerrank_Stats
54b61491377396adc2f529c88d1cfdb0cdc14709
[ "MIT" ]
null
null
null
5/5B.py
allenalvin333/Hackerrank_Stats
54b61491377396adc2f529c88d1cfdb0cdc14709
[ "MIT" ]
null
null
null
5/5B.py
allenalvin333/Hackerrank_Stats
54b61491377396adc2f529c88d1cfdb0cdc14709
[ "MIT" ]
null
null
null
# https://www.hackerrank.com/challenges/s10-poisson-distribution-2/problem # Enter your code here. Read input from STDIN. Print output to STDOUT x,y = list(map(float, input().split(" "))) cost1 = 160 + 40*(x+x**2) cost2 = 128 + 40*(y+y**2) print(round(cost1, 3)) print(round(cost2, 3))
35.75
74
0.688811
cacf9a2cc70649787fc954ebbb125da02d448c66
3,839
py
Python
index/DiskIndex.py
pythonlittleboy/python_gentleman_crawler
751b624d22a5024746c256080ea0815a9986e3d7
[ "Apache-2.0" ]
1
2017-05-03T12:18:31.000Z
2017-05-03T12:18:31.000Z
index/DiskIndex.py
pythonlittleboy/python_gentleman_crawler
751b624d22a5024746c256080ea0815a9986e3d7
[ "Apache-2.0" ]
null
null
null
index/DiskIndex.py
pythonlittleboy/python_gentleman_crawler
751b624d22a5024746c256080ea0815a9986e3d7
[ "Apache-2.0" ]
1
2020-10-29T04:00:04.000Z
2020-10-29T04:00:04.000Z
import os import index.MovieDAO as movieDAO from pprint import pprint from index import SysConst import shutil # avList = [{"av_number": "ABS-072"}] # pprint(findLocalMovies(avList=avList, path="G://Game//File//")) #deleteSmallImages(SysConst.getImageCachePath()) #copyImageToTemp(["ABS-072"]) #...
33.675439
96
0.567856
cad081edcdd3a2dbd2df62ac950a790986e0574a
30,555
py
Python
mmaction/models/recognizers/recognizer3d_semi_appsup_tempsup_simclr_crossclip_ptv.py
lambert-x/video_semisup
8ff44343bb34485f8ad08d50ca4d8de22e122c1d
[ "Apache-2.0" ]
null
null
null
mmaction/models/recognizers/recognizer3d_semi_appsup_tempsup_simclr_crossclip_ptv.py
lambert-x/video_semisup
8ff44343bb34485f8ad08d50ca4d8de22e122c1d
[ "Apache-2.0" ]
null
null
null
mmaction/models/recognizers/recognizer3d_semi_appsup_tempsup_simclr_crossclip_ptv.py
lambert-x/video_semisup
8ff44343bb34485f8ad08d50ca4d8de22e122c1d
[ "Apache-2.0" ]
null
null
null
import torch import torch.nn.functional as F import torch.nn as nn # Custom imports from .base_semi_apppearance_temporal_simclr import SemiAppTemp_SimCLR_BaseRecognizer from ..builder import RECOGNIZERS from ..losses import CosineSimiLoss from ...utils import GatherLayer
52.409949
142
0.602291
cad1818d3242b33e885309feb138f0608365c2a1
83
py
Python
cloudprober/grpc_gcp_prober/versions.py
qixuanl1/grpc-gcp-python
5a2cd9807bbaf1b85402a2a364775e5b65853df6
[ "Apache-2.0" ]
10
2019-01-14T19:05:06.000Z
2021-03-08T18:48:47.000Z
cloudprober/grpc_gcp_prober/versions.py
qixuanl1/grpc-gcp-python
5a2cd9807bbaf1b85402a2a364775e5b65853df6
[ "Apache-2.0" ]
3
2018-09-10T17:52:44.000Z
2019-03-28T00:44:21.000Z
cloudprober/grpc_gcp_prober/versions.py
qixuanl1/grpc-gcp-python
5a2cd9807bbaf1b85402a2a364775e5b65853df6
[ "Apache-2.0" ]
11
2018-08-28T11:48:19.000Z
2021-10-09T16:18:36.000Z
"""This is a template file for holding version numbers.""" GRPC_VERSION = '1.11.0'
27.666667
58
0.710843
cad40e90be13cab47bd5268c5b82d265267aefbf
29,968
py
Python
experiments/classCali_full_CRF/gpu_crf_eval_with_ece.py
neelabh17/SegmenTron
69a4d1da858aba9222994847000f9945be3f4cd5
[ "Apache-2.0" ]
null
null
null
experiments/classCali_full_CRF/gpu_crf_eval_with_ece.py
neelabh17/SegmenTron
69a4d1da858aba9222994847000f9945be3f4cd5
[ "Apache-2.0" ]
null
null
null
experiments/classCali_full_CRF/gpu_crf_eval_with_ece.py
neelabh17/SegmenTron
69a4d1da858aba9222994847000f9945be3f4cd5
[ "Apache-2.0" ]
null
null
null
from __future__ import print_function from ast import dump from numpy.lib.npyio import save from calibration_library.metrics import ECELoss, CCELoss import io from logging import log from experiments.classCali_full_CRF import convcrf from experiments.classCali_full_CRF.convcrf import GaussCRF, get_default_conf import...
37.181141
189
0.531734
cad510dc56f073e7603af970c006b57ebebf4ae0
9,585
py
Python
leavable_wait_page/pages.py
chkgk/leavable_wait_page
7bafe7492329d91e6e1df57996bd110fccb92abc
[ "MIT" ]
2
2020-02-01T11:47:03.000Z
2020-03-27T17:14:34.000Z
leavable_wait_page/pages.py
chkgk/leavable_wait_page
7bafe7492329d91e6e1df57996bd110fccb92abc
[ "MIT" ]
1
2020-08-13T02:34:56.000Z
2020-08-13T02:36:22.000Z
leavable_wait_page/pages.py
chkgk/leavable_wait_page
7bafe7492329d91e6e1df57996bd110fccb92abc
[ "MIT" ]
null
null
null
import time from django.http import HttpResponseRedirect from otree.models import Participant from . import models from ._builtin import Page, WaitPage
49.153846
127
0.649557
cad58261e324fbea414f99255ccc6dcba0116684
7,424
py
Python
test/new_tests/test_info_single_node.py
syaiful6/aerospike-client-python
59fa0d36aa899a164282643fe49b27d12aaf323f
[ "Apache-2.0" ]
105
2015-01-07T09:51:13.000Z
2022-03-24T04:23:54.000Z
test/new_tests/test_info_single_node.py
syaiful6/aerospike-client-python
59fa0d36aa899a164282643fe49b27d12aaf323f
[ "Apache-2.0" ]
180
2015-01-01T19:29:50.000Z
2022-03-19T14:14:06.000Z
test/new_tests/test_info_single_node.py
syaiful6/aerospike-client-python
59fa0d36aa899a164282643fe49b27d12aaf323f
[ "Apache-2.0" ]
94
2015-01-21T19:17:48.000Z
2022-01-31T07:17:47.000Z
# -*- coding: utf-8 -*- import pytest import time import sys import socket from .test_base_class import TestBaseClass from .as_status_codes import AerospikeStatus from aerospike import exception as e aerospike = pytest.importorskip("aerospike") try: import aerospike except: print("Please install aerospike pyt...
32.419214
95
0.626212
cad5be719449448e1cb37622c1ab182044445704
7,175
py
Python
utils.py
malva28/Cliente-Eco-UDP-con-Correcci-n
d3ceccb2e2b96ef53040a2715a595653aa668f08
[ "MIT" ]
null
null
null
utils.py
malva28/Cliente-Eco-UDP-con-Correcci-n
d3ceccb2e2b96ef53040a2715a595653aa668f08
[ "MIT" ]
null
null
null
utils.py
malva28/Cliente-Eco-UDP-con-Correcci-n
d3ceccb2e2b96ef53040a2715a595653aa668f08
[ "MIT" ]
null
null
null
import argparse import os.path import sys import io import _io import filecmp from collections import OrderedDict from math import ceil import csv from queue import Queue, Empty def int_to_string_bytearray(a: int, digit: int = 5) -> bytearray: """ para convertir un integer a un string como bytearray de al me...
29.166667
97
0.579512
cad6c0b1053bc8a29b767e1dedc6210f83381ace
457
py
Python
datatrans/migrations/0005_optional_aliasregistration_transaction_id.py
skioo/django-datatrans
c2159b08935cd0c70355ca6e8ff92bbe86d372cd
[ "MIT" ]
9
2017-09-12T12:45:30.000Z
2022-03-30T13:53:57.000Z
datatrans/migrations/0005_optional_aliasregistration_transaction_id.py
skioo/django-datatrans
c2159b08935cd0c70355ca6e8ff92bbe86d372cd
[ "MIT" ]
null
null
null
datatrans/migrations/0005_optional_aliasregistration_transaction_id.py
skioo/django-datatrans
c2159b08935cd0c70355ca6e8ff92bbe86d372cd
[ "MIT" ]
1
2021-11-08T10:21:01.000Z
2021-11-08T10:21:01.000Z
# Generated by Django 2.0 on 2018-01-29 07:30 from django.db import migrations, models
24.052632
86
0.643326
cada338b322e830c14a3de91f1b4a499e17be809
7,494
py
Python
buildroot/package/lmsmpris/src/mpris.py
mgrosso/hifiberry-os
47bad0e9abea0b72914cbd8b13b2b3fdbe656c6f
[ "MIT" ]
637
2016-12-05T15:13:49.000Z
2022-03-25T21:28:09.000Z
buildroot/package/lmsmpris/src/mpris.py
mgrosso/hifiberry-os
47bad0e9abea0b72914cbd8b13b2b3fdbe656c6f
[ "MIT" ]
294
2018-10-10T15:58:17.000Z
2022-03-29T09:35:36.000Z
buildroot/package/lmsmpris/src/mpris.py
mgrosso/hifiberry-os
47bad0e9abea0b72914cbd8b13b2b3fdbe656c6f
[ "MIT" ]
89
2018-06-04T05:18:24.000Z
2022-03-15T13:46:12.000Z
import dbus import time import logging from metadata import Metadata PLAYING = "playing" mpris = None MPRIS_NEXT = "Next" MPRIS_PREV = "Previous" MPRIS_PAUSE = "Pause" MPRIS_PLAYPAUSE = "PlayPause" MPRIS_STOP = "Stop" MPRIS_PLAY = "Play" mpris_commands = [MPRIS_NEXT, MPRIS_PREV, MPRIS_PAUSE, MPRI...
29.388235
76
0.52442
cadb3eae3b08f55a6a3bbd2cf0cf04010825242f
1,305
py
Python
chapter7/code/paramiko/ssh_brute_force.py
abbbhucho/Mastering-Python-for-Networking-and-Security
f4fb1131253e9daad8da501c297758fdcedfbac3
[ "MIT" ]
98
2018-05-13T20:41:43.000Z
2022-03-31T00:24:01.000Z
chapter7/code/paramiko/ssh_brute_force.py
Cyb3rid10ts/Mastering-Python-for-Networking-and-Security
4cf04d1758f17ae378b5e3422404e5b7a174a243
[ "MIT" ]
null
null
null
chapter7/code/paramiko/ssh_brute_force.py
Cyb3rid10ts/Mastering-Python-for-Networking-and-Security
4cf04d1758f17ae378b5e3422404e5b7a174a243
[ "MIT" ]
62
2018-06-19T13:46:34.000Z
2022-02-11T05:47:24.000Z
import paramiko,sys,os from socket import * host = raw_input('Enter host to scan: ') targetIP = gethostbyname(host) ssh = paramiko.SSHClient() users_file="users.txt" passwords_file="passwords.txt" ud=open(users_file,"r") pd=open(passwords_file,"r") users= ud.readlines() passwords=pd.readlines() for user in user...
23.727273
77
0.685824
cadc7755eb3b3f1d4b9d8e68156a082b53c83cbb
1,743
py
Python
infra/gce-autoscale.py
szyszy/dist_test
a992ed1c007e9ec4850643e707bc803fbf5a084b
[ "Apache-2.0" ]
28
2016-05-03T21:16:48.000Z
2021-06-11T17:09:58.000Z
infra/gce-autoscale.py
szyszy/dist_test
a992ed1c007e9ec4850643e707bc803fbf5a084b
[ "Apache-2.0" ]
45
2016-05-03T22:16:09.000Z
2019-04-23T20:53:07.000Z
infra/gce-autoscale.py
szyszy/dist_test
a992ed1c007e9ec4850643e707bc803fbf5a084b
[ "Apache-2.0" ]
25
2016-04-20T00:02:08.000Z
2020-11-24T18:05:45.000Z
#!/usr/bin/env python import logging import re import subprocess import time import urllib2 DIST_TEST_URL = "http://dist-test.cloudera.org" # GCE bills 10-minute minimum, so if we've started instances # more recently than 10 minutes ago, we shouldn't shut them down. SHRINK_LAG = 600 if __name__ == "__main__": ...
28.57377
87
0.659208
cadf2c0206812d71cdeb1d4e64b0d2ed452aaeca
2,587
py
Python
tests/nlu_core_tests/test_entire_namespace_unittest.py
UPbook-innovations/nlu
2ae02ce7b6ca163f47271e98b71de109d38adefe
[ "Apache-2.0" ]
1
2021-05-01T01:23:18.000Z
2021-05-01T01:23:18.000Z
tests/nlu_core_tests/test_entire_namespace_unittest.py
adbmd/nlu
c9b52a4ae001505bdb09c22c9ebd7e5b2ccf3b54
[ "Apache-2.0" ]
2
2021-09-28T05:55:05.000Z
2022-02-26T11:16:21.000Z
tests/nlu_core_tests/test_entire_namespace_unittest.py
atdavidpark/nlu
619d07299e993323d83086c86506db71e2a139a9
[ "Apache-2.0" ]
1
2021-09-13T10:06:20.000Z
2021-09-13T10:06:20.000Z
# content of test_expectation.py import pytest import nlu from nose2.tools import params import unittest from parameterized import parameterized, parameterized_class ''' Test every component in the NLU namespace. This can take very long ''' all_default_references = [] i=0 for nlu_reference in nlu.NameSpace.component_...
33.166667
85
0.707383
cadfb2d6ce0426383623ded5f2662bc9dd5dd1ea
220
py
Python
app/main/__init__.py
Amukozoberit/Quotes2
80795a5208f9442bf954170a0e4b22d71c53eb81
[ "MIT" ]
null
null
null
app/main/__init__.py
Amukozoberit/Quotes2
80795a5208f9442bf954170a0e4b22d71c53eb81
[ "MIT" ]
null
null
null
app/main/__init__.py
Amukozoberit/Quotes2
80795a5208f9442bf954170a0e4b22d71c53eb81
[ "MIT" ]
null
null
null
from flask import Blueprint from ..models import Permission main=Blueprint('main',__name__) from . import views,errors
14.666667
38
0.781818
cae17f3ada10180582eda453dfd1179f17df81e8
2,158
py
Python
format.py
suut/psychic-happiness
56c0daef93f40b91e8a859f04a4660dde2b5c5c1
[ "Unlicense" ]
1
2020-02-25T10:47:00.000Z
2020-02-25T10:47:00.000Z
format.py
suut/psychic-happiness
56c0daef93f40b91e8a859f04a4660dde2b5c5c1
[ "Unlicense" ]
null
null
null
format.py
suut/psychic-happiness
56c0daef93f40b91e8a859f04a4660dde2b5c5c1
[ "Unlicense" ]
null
null
null
#!/usr/bin/python3.4 # -*- coding: utf-8 -*- from forbiddenfruit import curse controlcodes = {'bold': '\x02', 'underlined': '\x1F', 'italic': '\x1D', 'reset': '\x0F', 'reverse': '\x16'} colorlist = {'white': '00', ...
29.972222
97
0.460612
cae1c80a7397a93055cad4f63295d5712bbe0db1
192
py
Python
Exercise 013.py
sayan-datapython/Learn_Python_Full_Course_for_Beginners
1cca3df62cfd7ae5a0c85c019b0f5fe4f6f4740c
[ "MIT" ]
null
null
null
Exercise 013.py
sayan-datapython/Learn_Python_Full_Course_for_Beginners
1cca3df62cfd7ae5a0c85c019b0f5fe4f6f4740c
[ "MIT" ]
null
null
null
Exercise 013.py
sayan-datapython/Learn_Python_Full_Course_for_Beginners
1cca3df62cfd7ae5a0c85c019b0f5fe4f6f4740c
[ "MIT" ]
1
2020-09-30T14:25:51.000Z
2020-09-30T14:25:51.000Z
salario = float(input("Enter o seu salario: ")) novosalario = salario + (salario*0.15) print('O valor do salario e {} e o acrescimo de 15% no novo salario e {}'.format(salario, novosalario))
48
104
0.703125
cae3775167ae0cae99118eee8c09154bac9abff6
2,565
py
Python
screens/mainScreen.py
superstap/jimi
d921b815c726e169c5a35f01a81eea8a75b8321d
[ "Apache-2.0" ]
111
2020-06-30T10:51:29.000Z
2022-03-29T00:33:48.000Z
screens/mainScreen.py
superstap/jimi
d921b815c726e169c5a35f01a81eea8a75b8321d
[ "Apache-2.0" ]
206
2020-07-02T22:48:49.000Z
2022-02-16T13:21:10.000Z
screens/mainScreen.py
superstap/jimi
d921b815c726e169c5a35f01a81eea8a75b8321d
[ "Apache-2.0" ]
24
2020-11-16T15:30:00.000Z
2022-02-10T03:20:14.000Z
import requests import time import os import json from pathlib import Path from core import api, workers, logging, settings, helpers, screen, auth from screens import coreScreen # SCREENS
35.136986
122
0.473684
cae3d350a7769f9965a5864545deeaba068637e3
2,753
py
Python
main.py
loicgirard/pygame-3D
62b578918bdf8459779cf4f18ab542329601cd41
[ "MIT" ]
null
null
null
main.py
loicgirard/pygame-3D
62b578918bdf8459779cf4f18ab542329601cd41
[ "MIT" ]
null
null
null
main.py
loicgirard/pygame-3D
62b578918bdf8459779cf4f18ab542329601cd41
[ "MIT" ]
null
null
null
import pygame from pygame.locals import * import sys from pygame3D import * <<<<<<< HEAD import time ======= import numpy as np import time import cv2 import math >>>>>>> 8da8f0ff1109db951a4915c1aecb7f4d7de41630 pygame.init() camera = Camera(position=(0, 0, 0), rotation=(0, 0, 0), fov=137, clipping_pla...
32.77381
116
0.578641
cae475cf15eaab315664af14b56874ea55231098
1,171
py
Python
plugins/module_utils/ovh.py
PiMath22/infra-ovh-ansible-module
cbd9d1513f61001d1dcce56b1387fa0c9e3721f5
[ "MIT" ]
61
2017-03-28T09:38:19.000Z
2022-03-16T00:38:25.000Z
plugins/module_utils/ovh.py
PiMath22/infra-ovh-ansible-module
cbd9d1513f61001d1dcce56b1387fa0c9e3721f5
[ "MIT" ]
30
2017-08-16T08:57:09.000Z
2021-12-19T16:04:16.000Z
plugins/module_utils/ovh.py
PiMath22/infra-ovh-ansible-module
cbd9d1513f61001d1dcce56b1387fa0c9e3721f5
[ "MIT" ]
25
2017-05-30T10:25:32.000Z
2022-01-24T10:31:16.000Z
from __future__ import (absolute_import, division, print_function) __metaclass__ = type try: import ovh from ovh.exceptions import APIError HAS_OVH = True except ImportError: HAS_OVH = False
30.815789
88
0.671221
cae4ec0d8b6fef60b4e8998414d13025c2d142e9
5,962
py
Python
subs2vec/similarities.py
jvparidon/sub2vec
adb9e72b64dc6dbde3c2060ee0d3964ab623a149
[ "MIT" ]
19
2019-09-23T20:31:54.000Z
2022-03-01T22:19:12.000Z
subs2vec/similarities.py
ClarasMind/subs2vec
adb9e72b64dc6dbde3c2060ee0d3964ab623a149
[ "MIT" ]
4
2019-11-26T21:12:53.000Z
2022-03-29T02:46:25.000Z
subs2vec/similarities.py
ClarasMind/subs2vec
adb9e72b64dc6dbde3c2060ee0d3964ab623a149
[ "MIT" ]
2
2020-09-30T15:02:32.000Z
2022-03-01T22:19:20.000Z
"""Compute rank correlations between word vector cosine similarities and human ratings of semantic similarity.""" import numpy as np import pandas as pd import argparse import os import scipy.spatial.distance import scipy.stats from .vecs import Vectors from .utensils import log_timer import logging logging.b...
48.080645
159
0.679638
cae50b168c1643c324a44991b116ba28feaccea9
1,772
py
Python
projectq/setups/ibm16_test.py
gavarela/ProjectQ
f2cec3cc1ea3775edd77c898ed8802af9f802533
[ "Apache-2.0" ]
2
2019-06-18T11:58:23.000Z
2020-04-26T20:39:32.000Z
projectq/setups/ibm16_test.py
gavarela/ProjectQ
f2cec3cc1ea3775edd77c898ed8802af9f802533
[ "Apache-2.0" ]
8
2019-08-13T11:22:36.000Z
2019-11-19T15:47:05.000Z
projectq/setups/ibm16_test.py
gavarela/ProjectQ
f2cec3cc1ea3775edd77c898ed8802af9f802533
[ "Apache-2.0" ]
1
2020-08-16T22:40:08.000Z
2020-08-16T22:40:08.000Z
# Copyright 2017 ProjectQ-Framework (www.projectq.ch) # # 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 app...
36.916667
76
0.719526
cae5c011002e812a851b5713900b33655f82a713
1,356
py
Python
backend/server/backend/migrations/0012_auto_20200801_2315.py
fossabot/Graphery
61f23b2ad4ad0fa5dff643047597f9bb6cae35a2
[ "MIT" ]
5
2020-08-26T00:15:01.000Z
2021-01-11T17:24:51.000Z
backend/server/backend/migrations/0012_auto_20200801_2315.py
fossabot/Graphery
61f23b2ad4ad0fa5dff643047597f9bb6cae35a2
[ "MIT" ]
69
2020-08-02T23:45:44.000Z
2021-04-17T03:04:32.000Z
backend/server/backend/migrations/0012_auto_20200801_2315.py
fossabot/Graphery
61f23b2ad4ad0fa5dff643047597f9bb6cae35a2
[ "MIT" ]
4
2020-09-10T05:40:49.000Z
2020-12-20T11:44:16.000Z
# Generated by Django 3.0.8 on 2020-08-01 23:15 from django.db import migrations, models import django.db.models.deletion
33.9
107
0.623894
cae5ebe8c6d1f42aa7dd3dd33da4b132a54dd359
8,345
py
Python
module/tokenizer.py
irebai/wav2vec2
461dc98292ad0dc7aa6f76a1d8d923f84a758d4f
[ "Apache-2.0" ]
3
2021-06-02T22:30:57.000Z
2022-03-02T15:31:04.000Z
module/tokenizer.py
irebai/wav2vec2
461dc98292ad0dc7aa6f76a1d8d923f84a758d4f
[ "Apache-2.0" ]
1
2022-03-16T14:21:11.000Z
2022-03-16T14:21:11.000Z
module/tokenizer.py
irebai/wav2vec2
461dc98292ad0dc7aa6f76a1d8d923f84a758d4f
[ "Apache-2.0" ]
null
null
null
import sentencepiece as spm import logging import json import sys import os import re import copy from typing import Any, Dict, List, Optional, Union from transformers import Wav2Vec2CTCTokenizer from itertools import groupby logger = logging.getLogger(__name__) logging.basicConfig( format="%(asctime)s - %(levelna...
31.254682
103
0.545956
caee7405f72c31710c4a76b26d18b5e0202497d9
2,794
py
Python
tests/unit/app/test_session.py
cswarth/whylogs
6805b252f1d07efde84836d3924949f7ec2d97b1
[ "Apache-2.0" ]
603
2020-07-31T23:26:10.000Z
2022-03-31T23:05:36.000Z
tests/unit/app/test_session.py
cswarth/whylogs
6805b252f1d07efde84836d3924949f7ec2d97b1
[ "Apache-2.0" ]
284
2021-03-02T21:28:03.000Z
2022-03-31T22:36:08.000Z
tests/unit/app/test_session.py
cswarth/whylogs
6805b252f1d07efde84836d3924949f7ec2d97b1
[ "Apache-2.0" ]
39
2020-08-14T21:22:08.000Z
2022-03-29T20:24:54.000Z
import pytest from whylogs.app.config import SessionConfig from whylogs.app.session import ( Session, get_or_create_session, get_session, reset_default_session, session_from_config, )
27.126214
98
0.721546
caef0d0629c15343e9df7473db70cc7cfee8bd44
863
py
Python
paper/scripts/parse_hg19_Genome_FASTA.py
CEGRcode/GenoPipe
76c2bd553582a51aa1f83a3b5e916663dd8f1e18
[ "MIT" ]
null
null
null
paper/scripts/parse_hg19_Genome_FASTA.py
CEGRcode/GenoPipe
76c2bd553582a51aa1f83a3b5e916663dd8f1e18
[ "MIT" ]
null
null
null
paper/scripts/parse_hg19_Genome_FASTA.py
CEGRcode/GenoPipe
76c2bd553582a51aa1f83a3b5e916663dd8f1e18
[ "MIT" ]
null
null
null
import sys import argparse valid_chr = ["chr1", "chr2", "chr3", "chr4", "chr5", "chr6", "chr7", "chr8", "chr9", "chr10", "chr11", "chr12", "chr13", "chr14", "chr15", "chr16", "chr17", "chr18", "chr19", "chr20", "chr21", "chr22", "chrM", "chrX", "chrY"] if __name__=='__main__': args = get_params() valid ...
23.324324
138
0.64774
caef9773708a6b2a6663f3f50808e394425a0baf
1,742
py
Python
demos/python_demos/image_retrieval_demo/image_retrieval_demo/roi_detector_on_video.py
evgeny-izutov/open_model_zoo
2cd6145ef342fc9b7ccf32676af73f4a1cb8d9ba
[ "Apache-2.0" ]
5
2020-03-09T07:39:04.000Z
2021-08-16T07:17:28.000Z
demos/python_demos/image_retrieval_demo/image_retrieval_demo/roi_detector_on_video.py
evgeny-izutov/open_model_zoo
2cd6145ef342fc9b7ccf32676af73f4a1cb8d9ba
[ "Apache-2.0" ]
8
2020-09-26T00:40:13.000Z
2022-03-12T00:14:30.000Z
demos/python_demos/image_retrieval_demo/image_retrieval_demo/roi_detector_on_video.py
evgeny-izutov/open_model_zoo
2cd6145ef342fc9b7ccf32676af73f4a1cb8d9ba
[ "Apache-2.0" ]
4
2020-04-21T17:31:00.000Z
2021-10-18T07:04:49.000Z
""" Copyright (c) 2019 Intel Corporation Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in wri...
30.034483
99
0.668197
caf034be7b02abcd1a1172a30827469cf3491119
672
py
Python
buildroot/support/testing/tests/package/test_python_pytest_asyncio.py
inverse/operating-system
bb7964ff021eebc5e194f03a2b14ccf6efc3e8d6
[ "Apache-2.0" ]
349
2021-08-17T08:46:53.000Z
2022-03-30T06:25:25.000Z
buildroot/support/testing/tests/package/test_python_pytest_asyncio.py
TopSWorld/operating-system
99a4d4ea75e5afd53f7e71422726f9d3200b25a3
[ "Apache-2.0" ]
2
2021-08-29T11:29:57.000Z
2021-08-30T12:00:05.000Z
buildroot/support/testing/tests/package/test_python_pytest_asyncio.py
TopSWorld/operating-system
99a4d4ea75e5afd53f7e71422726f9d3200b25a3
[ "Apache-2.0" ]
12
2021-08-17T20:10:30.000Z
2022-01-06T10:52:54.000Z
import os from tests.package.test_python import TestPythonPackageBase
32
77
0.691964
caf2fd807c83b6852b321d0fe1d8c3415691086c
35
py
Python
demo.py
sebedoyar/Demo-Clase
ad95dfc78864451da95cb0ce7fd65ef9e5b9728f
[ "MIT" ]
null
null
null
demo.py
sebedoyar/Demo-Clase
ad95dfc78864451da95cb0ce7fd65ef9e5b9728f
[ "MIT" ]
null
null
null
demo.py
sebedoyar/Demo-Clase
ad95dfc78864451da95cb0ce7fd65ef9e5b9728f
[ "MIT" ]
null
null
null
print ('Hola Mundo desde demo.py')
17.5
34
0.714286
caf3064cbecd8a96460c32ca717913b340bf5d76
516
py
Python
piccolo/columns/__init__.py
Fingel/piccolo
9091e2a14aa7ac93937c1f5602721d97c975662e
[ "MIT" ]
null
null
null
piccolo/columns/__init__.py
Fingel/piccolo
9091e2a14aa7ac93937c1f5602721d97c975662e
[ "MIT" ]
null
null
null
piccolo/columns/__init__.py
Fingel/piccolo
9091e2a14aa7ac93937c1f5602721d97c975662e
[ "MIT" ]
null
null
null
from .column_types import ( # noqa: F401 Boolean, Bytea, Date, Decimal, Float, ForeignKey, Integer, Interval, JSON, JSONB, Numeric, PrimaryKey, Real, Secret, Serial, Text, Timestamp, Timestamptz, UUID, Varchar, ) from .base import ( # noq...
16.125
55
0.604651
caf41dbd85255511abe44215a30940d32474994c
519
py
Python
produtos.py
rodrigomoreira777/POO2021.2
7c5d45148882337e4d72258f50f14eda8d42d1df
[ "MIT" ]
null
null
null
produtos.py
rodrigomoreira777/POO2021.2
7c5d45148882337e4d72258f50f14eda8d42d1df
[ "MIT" ]
null
null
null
produtos.py
rodrigomoreira777/POO2021.2
7c5d45148882337e4d72258f50f14eda8d42d1df
[ "MIT" ]
null
null
null
import ferramentas_usuarios as fe
32.4375
93
0.695568
caf48cc7fd48dcdd4b394a1391829b50017bd13c
489
py
Python
src/main/resources/pytz/zoneinfo/Africa/Mbabane.py
TheEin/swagger-maven-plugin
cf93dce2d5c8d3534f4cf8c612b11e2d2313871b
[ "Apache-2.0" ]
65
2015-11-14T13:46:01.000Z
2021-08-14T05:54:04.000Z
lib/pytz/zoneinfo/Africa/Mbabane.py
tjsavage/polymer-dashboard
19bc467f1206613f8eec646b6f2bc43cc319ef75
[ "CNRI-Python", "Linux-OpenIB" ]
13
2016-03-31T20:00:17.000Z
2021-08-20T14:52:31.000Z
lib/pytz/zoneinfo/Africa/Mbabane.py
tjsavage/polymer-dashboard
19bc467f1206613f8eec646b6f2bc43cc319ef75
[ "CNRI-Python", "Linux-OpenIB" ]
20
2015-03-18T08:41:37.000Z
2020-12-18T02:58:30.000Z
'''tzinfo timezone information for Africa/Mbabane.''' from pytz.tzinfo import DstTzInfo from pytz.tzinfo import memorized_datetime as d from pytz.tzinfo import memorized_ttinfo as i Mbabane = Mbabane()
21.26087
77
0.689162
caf71c9e764e7f9cc0a44834ec06b0816dd53183
1,108
py
Python
data_processing.py
lanlehoang67/Galaxies-Classification
2ee35a418e1e93529b3c0522a6f0f07be6818a51
[ "MIT" ]
null
null
null
data_processing.py
lanlehoang67/Galaxies-Classification
2ee35a418e1e93529b3c0522a6f0f07be6818a51
[ "MIT" ]
null
null
null
data_processing.py
lanlehoang67/Galaxies-Classification
2ee35a418e1e93529b3c0522a6f0f07be6818a51
[ "MIT" ]
null
null
null
import warnings import numpy as np import matplotlib.pyplot as plt import pandas as pd from PIL import Image solutions = pd.read_csv('D:\\code\\galaxy-zoo-the-galaxy-challenge\\training_solutions_rev1.csv', sep = ',') solutions = solutions.loc[solutions["Class1.3"] < 0.5] solutions = solutions.loc[:, ["GalaxyID", "Clas...
52.761905
133
0.695848
caf821a157dc5d0ae68a5868b42fb9f3ac134445
2,470
py
Python
app/models/registration/phone_sender.py
Tingerlink/tingerwork
0e3d360bf97a62e088f12aa72277200b75e43643
[ "MIT" ]
null
null
null
app/models/registration/phone_sender.py
Tingerlink/tingerwork
0e3d360bf97a62e088f12aa72277200b75e43643
[ "MIT" ]
null
null
null
app/models/registration/phone_sender.py
Tingerlink/tingerwork
0e3d360bf97a62e088f12aa72277200b75e43643
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Module 'phone_sender' of the project 'tingerwork' # :date_create: 11.12.2017.4:21 # :author: Tingerlink # :description: import json import requests import config.settings import tools.logger as logger
44.107143
124
0.59919
caf8377c81dfe105d39fee6b3a818984e3e52135
154
py
Python
3. Linear Regresion/3-2)Autograd.py
choijiwoong/-ROKA-torch-tutorial-files
c298fdf911cd64757895c3ab9f71ae7c3467c545
[ "Unlicense" ]
null
null
null
3. Linear Regresion/3-2)Autograd.py
choijiwoong/-ROKA-torch-tutorial-files
c298fdf911cd64757895c3ab9f71ae7c3467c545
[ "Unlicense" ]
null
null
null
3. Linear Regresion/3-2)Autograd.py
choijiwoong/-ROKA-torch-tutorial-files
c298fdf911cd64757895c3ab9f71ae7c3467c545
[ "Unlicense" ]
null
null
null
import torch w=torch.tensor(2.0,requires_grad=True)#set variable y=w**2 z=2*y+5 z.backward()#grad print(' w : {}'.format(w.grad))#call result
17.111111
53
0.701299
caf8c9497a6a18b4424ce269c5bc4d42454d82d8
4,155
py
Python
methods/arope_main.py
aida-ugent/graph-vis-eval
8e15737542488c3abe1cbdf7da4dbd87011a0d8c
[ "MIT" ]
null
null
null
methods/arope_main.py
aida-ugent/graph-vis-eval
8e15737542488c3abe1cbdf7da4dbd87011a0d8c
[ "MIT" ]
null
null
null
methods/arope_main.py
aida-ugent/graph-vis-eval
8e15737542488c3abe1cbdf7da4dbd87011a0d8c
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # This file was originally developed for EvalNE by Alexandru Cristian Mara import argparse import numpy as np import networkx as nx import ast import time from utils import AROPE # Although the method says it requires python 3.5, it should be run with python 2.7 for optim...
36.447368
119
0.612996
cafa342f68372739cf2be15cd31ab6536193eaad
241
py
Python
poetry/utils/helpers.py
paralax/poetry
16d49d10f9e333fdb2833b31f012d68c6d5ac0a6
[ "MIT" ]
null
null
null
poetry/utils/helpers.py
paralax/poetry
16d49d10f9e333fdb2833b31f012d68c6d5ac0a6
[ "MIT" ]
null
null
null
poetry/utils/helpers.py
paralax/poetry
16d49d10f9e333fdb2833b31f012d68c6d5ac0a6
[ "MIT" ]
null
null
null
import re _canonicalize_regex = re.compile('[-_.]+')
20.083333
53
0.676349
cafa51ff6545b99480852d33b0550b9abe3eb455
15,670
py
Python
mygrid/power_flow/backward_forward_sweep_3p.py
grei-ufc/MyGrid
c42fe9d4e0838f253dd5b0716cbf0c892136d931
[ "MIT" ]
3
2018-03-02T11:18:51.000Z
2021-07-30T23:22:18.000Z
mygrid/power_flow/backward_forward_sweep_3p.py
grei-ufc/MyGrid
c42fe9d4e0838f253dd5b0716cbf0c892136d931
[ "MIT" ]
8
2017-11-06T12:15:15.000Z
2019-04-29T13:41:27.000Z
mygrid/power_flow/backward_forward_sweep_3p.py
grei-ufc/MyGrid
c42fe9d4e0838f253dd5b0716cbf0c892136d931
[ "MIT" ]
4
2019-03-20T11:26:04.000Z
2021-06-03T19:28:05.000Z
# -*- coding: utf-8 -*- import copy from mygrid.util import Phasor, R, P from mygrid.util import r2p, p2r from mygrid.grid import Section, TransformerModel, Auto_TransformerModel import numpy as np # from pycallgraph import PyCallGraph # from pycallgraph.output import GraphvizOutput from numba import jit from functo...
32.04499
101
0.572942
cafb24814eb097820d02a880a3235f040ebd6635
212
py
Python
NOV26/03.py
Razdeep/PythonSnippets
76f9313894f511c487a99bc38bdf0fe5e594caf5
[ "MIT" ]
null
null
null
NOV26/03.py
Razdeep/PythonSnippets
76f9313894f511c487a99bc38bdf0fe5e594caf5
[ "MIT" ]
null
null
null
NOV26/03.py
Razdeep/PythonSnippets
76f9313894f511c487a99bc38bdf0fe5e594caf5
[ "MIT" ]
null
null
null
# Create a dataframe using pandas series import pandas as pd cols = ['a','b'] list_of_series = [pd.Series([1,2],index=cols), pd.Series([3,4],index=cols)] df = pd.DataFrame(list_of_series, columns=cols) print(df)
30.285714
75
0.716981
cafc0364eb82044fdfe153c9ed4bca8077eb7856
1,036
py
Python
contxt/cli/commands/assets.py
ndustrialio/contxt-sdk-python-control
e87930eb65853a314eb118ea5cbc0386d2188db2
[ "0BSD" ]
4
2019-06-04T17:59:52.000Z
2020-09-09T17:33:30.000Z
contxt/cli/commands/assets.py
ndustrialio/contxt-sdk-python-control
e87930eb65853a314eb118ea5cbc0386d2188db2
[ "0BSD" ]
61
2019-05-24T17:49:56.000Z
2022-03-24T15:22:57.000Z
contxt/cli/commands/assets.py
ndustrialio/contxt-sdk-python-control
e87930eb65853a314eb118ea5cbc0386d2188db2
[ "0BSD" ]
2
2021-12-07T01:03:56.000Z
2022-02-18T16:40:24.000Z
from typing import List import click from contxt.cli.clients import Clients from contxt.cli.utils import fields_option, print_table, sort_option from contxt.models.assets import Asset, AssetType
29.6
76
0.710425
cafc4de57835e7699aa3fc23c1d712de48724ce8
3,785
py
Python
test4/test_brownian_motion.py
WINGS-ABC-programming-tutorial/mlflow-demo
2af7ad439c5feebc5af3ba67086c0077fe142bbe
[ "MIT" ]
null
null
null
test4/test_brownian_motion.py
WINGS-ABC-programming-tutorial/mlflow-demo
2af7ad439c5feebc5af3ba67086c0077fe142bbe
[ "MIT" ]
null
null
null
test4/test_brownian_motion.py
WINGS-ABC-programming-tutorial/mlflow-demo
2af7ad439c5feebc5af3ba67086c0077fe142bbe
[ "MIT" ]
null
null
null
import numpy as np import pytest from lib4.brownian_motion import BrownianMotion, ParamBrownianMotion CORRECT_DATASET = [ # (seed, initial_state, sigma, state_trajectory) (123, 0.0, 10.0, np.array([ 0., -9.891213503, -13.56908001, -0.68982741, ])), (456, -2.0, 1.0, np.ar...
30.039683
93
0.564333
cafc7e9bfd9667324e0c0cf4454da54de8d2d177
4,280
py
Python
src/exec/exec.py
rdoddanavar/hpr-sim
d2bc892865a093939f0a7e7c0713af849e87099a
[ "MIT" ]
3
2021-01-30T21:22:06.000Z
2022-01-12T06:49:01.000Z
src/exec/exec.py
rdoddanavar/hpr-sim
d2bc892865a093939f0a7e7c0713af849e87099a
[ "MIT" ]
68
2019-04-22T20:06:11.000Z
2022-03-26T19:03:17.000Z
src/exec/exec.py
rdoddanavar/hpr-sim
d2bc892865a093939f0a7e7c0713af849e87099a
[ "MIT" ]
2
2021-01-30T21:22:08.000Z
2021-04-27T06:15:33.000Z
# System modules import sys import os import pdb import pathlib import copy import multiprocessing as mp import numpy as np import yaml # Path modifications paths = ["../../build/src", "../preproc", "../util"] for item in paths: addPath = pathlib.Path(__file__).parent / item sys.path.append(str(addPath.resolv...
24.457143
80
0.577336
caffd1b73a689729f231cad50675ec1c7e0fe3f4
29
py
Python
ephypype/gather/__init__.py
jasmainak/ephypype
257603cbb099cef7847a96c8eb141332fb85ebfa
[ "BSD-3-Clause" ]
null
null
null
ephypype/gather/__init__.py
jasmainak/ephypype
257603cbb099cef7847a96c8eb141332fb85ebfa
[ "BSD-3-Clause" ]
null
null
null
ephypype/gather/__init__.py
jasmainak/ephypype
257603cbb099cef7847a96c8eb141332fb85ebfa
[ "BSD-3-Clause" ]
null
null
null
from . import gather_conmats
14.5
28
0.827586
1b020a047efb286d2a4246ddd8cdf39ac6043bbd
40
py
Python
src/poetry/puzzle/__init__.py
sivanbecker/poetry
72497bcb66b5a1cc20e3aa95973c523a22b05bfa
[ "MIT" ]
1
2020-02-01T07:13:05.000Z
2020-02-01T07:13:05.000Z
src/poetry/puzzle/__init__.py
sivanbecker/poetry
72497bcb66b5a1cc20e3aa95973c523a22b05bfa
[ "MIT" ]
1
2021-12-31T19:44:26.000Z
2022-03-08T20:52:13.000Z
src/poetry/puzzle/__init__.py
sivanbecker/poetry
72497bcb66b5a1cc20e3aa95973c523a22b05bfa
[ "MIT" ]
2
2020-12-07T04:26:21.000Z
2021-09-25T21:46:36.000Z
from poetry.puzzle.solver import Solver
20
39
0.85
1b0267cda0ae00986428ec6b28e72c523d8d9663
16,916
py
Python
sellerhub/amazon/orders/ordersFile_columnization.py
clair513/SellerHub
1bbc173c24c47e9ce1ec43bf627f281267c75fe7
[ "MIT" ]
1
2021-03-13T19:36:49.000Z
2021-03-13T19:36:49.000Z
sellerhub/amazon/orders/ordersFile_columnization.py
clair513/SellerHub
1bbc173c24c47e9ce1ec43bf627f281267c75fe7
[ "MIT" ]
null
null
null
sellerhub/amazon/orders/ordersFile_columnization.py
clair513/SellerHub
1bbc173c24c47e9ce1ec43bf627f281267c75fe7
[ "MIT" ]
null
null
null
""" Script# : 3 INPUT: Raw Data File generated by Amazon Seller Central Portal for a particular seller that has been fed as webpage input by registered User AND undergone 'ordersFile_preprocessing' script. OUTPUT: Delivers data for Information Dashboard as a Pandas DataFrame or TextParserself. Generalization and a...
60.848921
1,234
0.632537
1b02aed7e5de0af16b5239e868db60820eb7d130
448
py
Python
C1-G/generator.py
Matrix53/algo
7a176dac9ed9c6ad65d1514afb6388f7ee6b912a
[ "MIT" ]
1
2021-12-14T08:54:11.000Z
2021-12-14T08:54:11.000Z
C1-G/generator.py
Matrix53/algo
7a176dac9ed9c6ad65d1514afb6388f7ee6b912a
[ "MIT" ]
null
null
null
C1-G/generator.py
Matrix53/algo
7a176dac9ed9c6ad65d1514afb6388f7ee6b912a
[ "MIT" ]
1
2021-12-13T09:31:40.000Z
2021-12-13T09:31:40.000Z
from cyaron import * max_node = 1000000 for i in range(5): io = IO(str(i + 1) + '.in', str(i + 1) + '.out') tree = Graph.tree(max_node) leaf = [] for i in tree.edges: if len(i) == 1: leaf.append(randint(0, 10000)) io.input_writeln(max_node) io.input_writeln(tree.to_str(outp...
28
76
0.613839
1b02b03b1b37281b6a5b8bf7031ec157a8175644
19,091
py
Python
src/model/soccer.py
celsomilne/soccer
b3b164b6610ebd88b13601970d2d4e65423d0a57
[ "MIT" ]
null
null
null
src/model/soccer.py
celsomilne/soccer
b3b164b6610ebd88b13601970d2d4e65423d0a57
[ "MIT" ]
2
2021-06-08T20:34:37.000Z
2022-02-10T01:12:59.000Z
src/model/soccer.py
celsomilne/soccer
b3b164b6610ebd88b13601970d2d4e65423d0a57
[ "MIT" ]
null
null
null
import numpy as np import cv2 import pandas as pd from ._base import ModelBase
36.926499
104
0.510031
1b03eaa75d1aee551f363fcba0197ce33eaa2183
766
py
Python
osprey/cli/parser_worker.py
rmcgibbo/osprey
0e0e11cafa3976854c0009be3bc562b8344218c6
[ "Apache-2.0" ]
5
2015-01-13T20:17:45.000Z
2016-07-12T15:14:07.000Z
osprey/cli/parser_worker.py
rmcgibbo/osprey
0e0e11cafa3976854c0009be3bc562b8344218c6
[ "Apache-2.0" ]
null
null
null
osprey/cli/parser_worker.py
rmcgibbo/osprey
0e0e11cafa3976854c0009be3bc562b8344218c6
[ "Apache-2.0" ]
null
null
null
from __future__ import print_function, absolute_import, division from argparse import ArgumentDefaultsHelpFormatter
40.315789
79
0.703655