hexsha
stringlengths
40
40
size
int64
4
1.02M
ext
stringclasses
8 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
209
max_stars_repo_name
stringlengths
5
121
max_stars_repo_head_hexsha
stringlengths
40
40
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
4
209
max_issues_repo_name
stringlengths
5
121
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
10
max_issues_count
int64
1
67k
⌀
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
4
209
max_forks_repo_name
stringlengths
5
121
max_forks_repo_head_hexsha
stringlengths
40
40
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
4
1.02M
avg_line_length
float64
1.07
66.1k
max_line_length
int64
4
266k
alphanum_fraction
float64
0.01
1
47c055ddddcc00f038bbe2a277feb4061d66d807
9,520
py
Python
labelbox/schema/model_run.py
Cyniikal/labelbox-python
526fb8235c245a3c6161af57c354a47d68385bab
[ "Apache-2.0" ]
null
null
null
labelbox/schema/model_run.py
Cyniikal/labelbox-python
526fb8235c245a3c6161af57c354a47d68385bab
[ "Apache-2.0" ]
null
null
null
labelbox/schema/model_run.py
Cyniikal/labelbox-python
526fb8235c245a3c6161af57c354a47d68385bab
[ "Apache-2.0" ]
null
null
null
from typing import TYPE_CHECKING, Dict, Iterable, Union, List, Optional, Any from pathlib import Path import os import time import logging import requests import ndjson from labelbox.pagination import PaginatedCollection from labelbox.orm.query import results_query_part from labelbox.orm.model import Field, Relationsh...
38.699187
131
0.602521
daa8739456765c8aae2762795c56f698e47ae769
3,697
py
Python
sahara/service/edp/data_sources/base.py
ksshanam/sahara
0d259f7a71447cd0cefe4f11184cc2ee335f4e33
[ "Apache-2.0" ]
161
2015-01-05T11:46:42.000Z
2022-01-05T07:41:39.000Z
sahara/service/edp/data_sources/base.py
ksshanam/sahara
0d259f7a71447cd0cefe4f11184cc2ee335f4e33
[ "Apache-2.0" ]
5
2019-08-14T06:46:03.000Z
2021-12-13T20:01:25.000Z
sahara/service/edp/data_sources/base.py
ksshanam/sahara
0d259f7a71447cd0cefe4f11184cc2ee335f4e33
[ "Apache-2.0" ]
118
2015-01-29T06:34:35.000Z
2021-12-06T07:30:09.000Z
# Copyright (c) 2017 OpenStack Foundation # # 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 ...
33.609091
79
0.672978
1743abaf8109e3f2ad421c6f30529060233a71f9
42,251
py
Python
homeassistant/components/zwave/__init__.py
ziotibia81/home-assistant
8925cd0aaa0af72f58e75b928a4d39bfd9ae19ed
[ "Apache-2.0" ]
null
null
null
homeassistant/components/zwave/__init__.py
ziotibia81/home-assistant
8925cd0aaa0af72f58e75b928a4d39bfd9ae19ed
[ "Apache-2.0" ]
null
null
null
homeassistant/components/zwave/__init__.py
ziotibia81/home-assistant
8925cd0aaa0af72f58e75b928a4d39bfd9ae19ed
[ "Apache-2.0" ]
null
null
null
""" Support for Z-Wave. For more details about this component, please refer to the documentation at https://home-assistant.io/components/zwave/ """ import asyncio import copy import logging from pprint import pprint import voluptuous as vol from homeassistant import config_entries from homeassistant.core import call...
39.413246
79
0.626423
11f84002aee6ee3c85b11d1ba3df7da4e154c6d3
607
py
Python
faker/providers/internet/pt_BR/__init__.py
jacksmith15/faker
bc5dda1983e4d055aa2698ccf0806a462cb8370e
[ "MIT" ]
1
2020-09-16T20:57:27.000Z
2020-09-16T20:57:27.000Z
faker/providers/internet/pt_BR/__init__.py
jacksmith15/faker
bc5dda1983e4d055aa2698ccf0806a462cb8370e
[ "MIT" ]
33
2020-12-09T16:49:15.000Z
2022-01-04T22:03:10.000Z
faker/providers/internet/pt_BR/__init__.py
jacksmith15/faker
bc5dda1983e4d055aa2698ccf0806a462cb8370e
[ "MIT" ]
3
2022-02-07T18:18:54.000Z
2022-03-11T22:09:01.000Z
from .. import Provider as InternetProvider class Provider(InternetProvider): safe_email_tlds = ("com", "net", "br", "br") free_email_domains = ( "gmail.com", "hotmail.com", "yahoo.com.br", "uol.com.br", "bol.com.br", "ig.com.br", ) tlds = ("com", "com",...
21.678571
64
0.359143
d40033c6b6df9bb041ad8ce32648162185ae0393
9,408
py
Python
config/settings/base.py
munapaula/vue_ema
5aeaa3da426cc7e9d3c162696b1cacd1acf31211
[ "MIT" ]
null
null
null
config/settings/base.py
munapaula/vue_ema
5aeaa3da426cc7e9d3c162696b1cacd1acf31211
[ "MIT" ]
null
null
null
config/settings/base.py
munapaula/vue_ema
5aeaa3da426cc7e9d3c162696b1cacd1acf31211
[ "MIT" ]
null
null
null
""" Django settings for vue_ema project. For more information on this file, see https://docs.djangoproject.com/en/dev/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/dev/ref/settings/ """ import environ ROOT_DIR = environ.Path(__file__) - 3 # (vue_ema/config/se...
34.844444
98
0.610544
93fd544f482a353996efc8cbbac2459070dae51d
3,483
py
Python
util/UniPOIEdgeBasic.py
hijiangtao/M3C
2c3221e0503fd948cd5be904120bb4886b9bd106
[ "Apache-2.0" ]
null
null
null
util/UniPOIEdgeBasic.py
hijiangtao/M3C
2c3221e0503fd948cd5be904120bb4886b9bd106
[ "Apache-2.0" ]
null
null
null
util/UniPOIEdgeBasic.py
hijiangtao/M3C
2c3221e0503fd948cd5be904120bb4886b9bd106
[ "Apache-2.0" ]
1
2020-04-02T13:16:19.000Z
2020-04-02T13:16:19.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Output Format: # [ppedge-[x]] # from_pid, to_pid, dev_num, rec_num, seg import os import gc import logging class UniPOIEdgeBasic(object): """ POI Edge :param object: """ def __init__(self, PROP): super(UniPOIEdgeBasic, self).__init__() self.INDEX = PRO...
24.528169
89
0.594315
b5ccb9004e56a65669a6fe27952f0667408beb8d
110,343
py
Python
sdk/python/pulumi_gcp/compute/backend_service.py
la3mmchen/pulumi-gcp
0e3c6fecd062dff78a4fd95b7ebd5ce4492ad1ea
[ "ECL-2.0", "Apache-2.0" ]
121
2018-06-18T19:16:42.000Z
2022-03-31T06:06:48.000Z
sdk/python/pulumi_gcp/compute/backend_service.py
la3mmchen/pulumi-gcp
0e3c6fecd062dff78a4fd95b7ebd5ce4492ad1ea
[ "ECL-2.0", "Apache-2.0" ]
492
2018-06-22T19:41:03.000Z
2022-03-31T15:33:53.000Z
sdk/python/pulumi_gcp/compute/backend_service.py
la3mmchen/pulumi-gcp
0e3c6fecd062dff78a4fd95b7ebd5ce4492ad1ea
[ "ECL-2.0", "Apache-2.0" ]
43
2018-06-19T01:43:13.000Z
2022-03-23T22:43:37.000Z
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import...
52.221013
195
0.670428
ce9351037da4413948c2811090acd0a7ba2a6976
51,875
py
Python
pysnmp-with-texts/NNCEXTPVC-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
8
2019-05-09T17:04:00.000Z
2021-06-09T06:50:51.000Z
pysnmp-with-texts/NNCEXTPVC-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
4
2019-05-31T16:42:59.000Z
2020-01-31T21:57:17.000Z
pysnmp-with-texts/NNCEXTPVC-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module NNCEXTPVC-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/NNCEXTPVC-MIB # Produced by pysmi-0.3.4 at Wed May 1 14:22:55 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 201...
190.716912
4,072
0.784193
6855ca2fa833918280e714ad47adb8aebc7b2053
17,778
py
Python
theano/sandbox/cuda/nvcc_compiler.py
jych/Theano
d7d722faa96aac95c19f460bf60e8e8654ff58df
[ "BSD-3-Clause" ]
1
2021-07-01T02:51:08.000Z
2021-07-01T02:51:08.000Z
theano/sandbox/cuda/nvcc_compiler.py
mayunpeng/Theano
c74da33de3768e231ffa0d92d9d11667a2a5aedb
[ "BSD-3-Clause" ]
null
null
null
theano/sandbox/cuda/nvcc_compiler.py
mayunpeng/Theano
c74da33de3768e231ffa0d92d9d11667a2a5aedb
[ "BSD-3-Clause" ]
null
null
null
from __future__ import print_function import distutils import logging import os import subprocess import sys import warnings import numpy from theano.compat import decode, decode_iter from theano.gof import local_bitwidth from theano.gof.utils import hash_from_file from theano.gof.cmodule import (std_libs, std_lib_di...
40.312925
81
0.566487
763e813ca0ff0be0181397f977168f7e1dc5dddd
8,580
py
Python
website/project/views/comment.py
bdyetton/prettychart
e8b33a7dfdc8c33d15969586be7f68172795f76d
[ "Apache-2.0" ]
null
null
null
website/project/views/comment.py
bdyetton/prettychart
e8b33a7dfdc8c33d15969586be7f68172795f76d
[ "Apache-2.0" ]
null
null
null
website/project/views/comment.py
bdyetton/prettychart
e8b33a7dfdc8c33d15969586be7f68172795f76d
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- import collections import httplib as http import pytz from flask import request from modularodm import Q from framework.exceptions import HTTPError from framework.auth.decorators import must_be_logged_in from framework.auth.utils import privacy_info_handle from framework.forms.utils import san...
27.677419
85
0.642541
4a5100faf32cea2844e2625642f9e467dce890c7
200
py
Python
ch02/flask/hello.py
nhonaitran/docbook
3bd2f8b0dd3d3aa2fe1936381fd1e82e89a78695
[ "Apache-2.0" ]
244
2015-01-15T19:01:56.000Z
2022-03-11T09:16:14.000Z
ch02/flask/hello.py
nhonaitran/docbook
3bd2f8b0dd3d3aa2fe1936381fd1e82e89a78695
[ "Apache-2.0" ]
6
2015-03-03T12:53:26.000Z
2019-07-20T17:06:59.000Z
ch02/flask/hello.py
nhonaitran/docbook
3bd2f8b0dd3d3aa2fe1936381fd1e82e89a78695
[ "Apache-2.0" ]
162
2015-03-01T16:50:25.000Z
2021-12-13T16:39:16.000Z
#!/usr/bin/env python from flask import Flask app = Flask(__name__) @app.route('/hi') def hello_world(): return 'Hello World!' if __name__ == '__main__': app.run(host='0.0.0.0', port=5000)
16.666667
38
0.655
63a9370afb7ba168a2b6b32b309400202337a764
19,000
py
Python
pywraps/py_idaapi.py
EiNSTeiN-/idapython
a03c7a511715ad63a2df068b82fe82eafe175fa2
[ "BSD-3-Clause" ]
46
2015-01-02T09:02:07.000Z
2022-03-25T12:51:40.000Z
pywraps/py_idaapi.py
EiNSTeiN-/idapython
a03c7a511715ad63a2df068b82fe82eafe175fa2
[ "BSD-3-Clause" ]
null
null
null
pywraps/py_idaapi.py
EiNSTeiN-/idapython
a03c7a511715ad63a2df068b82fe82eafe175fa2
[ "BSD-3-Clause" ]
62
2015-04-13T11:25:53.000Z
2022-03-25T12:52:10.000Z
# ----------------------------------------------------------------------- try: import pywraps pywraps_there = True except: pywraps_there = False import _idaapi import random import operator import datetime #<pycode(py_idaapi)> import struct import traceback import os import sys import b...
32.367973
128
0.546053
032845c896c398b6e2a578531a230d4f4dd71455
895
py
Python
backend/asgi.py
michaelchen-lab/LMS_Backend
f8727398c66b94926e625ebd194e8330481727eb
[ "MIT" ]
null
null
null
backend/asgi.py
michaelchen-lab/LMS_Backend
f8727398c66b94926e625ebd194e8330481727eb
[ "MIT" ]
null
null
null
backend/asgi.py
michaelchen-lab/LMS_Backend
f8727398c66b94926e625ebd194e8330481727eb
[ "MIT" ]
null
null
null
""" ASGI config for backend project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.2/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANGO_SETTIN...
27.121212
78
0.775419
489d02b8f6cbb5c02521e064582671bb2dbfb6d1
4,835
py
Python
egs/TAC/eval.py
ccan1995/asteroid
782e95be17b6c16ed2b292d11b9063bf274ca346
[ "MIT" ]
600
2020-02-27T08:18:46.000Z
2020-11-30T19:33:40.000Z
egs/TAC/eval.py
ccan1995/asteroid
782e95be17b6c16ed2b292d11b9063bf274ca346
[ "MIT" ]
235
2020-03-02T12:57:07.000Z
2020-11-30T20:11:18.000Z
egs/TAC/eval.py
ccan1995/asteroid
782e95be17b6c16ed2b292d11b9063bf274ca346
[ "MIT" ]
175
2020-02-26T18:56:43.000Z
2020-11-30T13:06:29.000Z
import os import random import soundfile as sf import torch import yaml import json import argparse import pandas as pd from tqdm import tqdm from pprint import pprint from asteroid.models.fasnet import FasNetTAC from asteroid.metrics import get_metrics from asteroid.losses import PITLossWrapper, pairwise_neg_sisdr fr...
38.070866
98
0.662668
ffd4c90e1712b1c1d2bdc94d53b0913a46c38f5a
1,598
py
Python
flexget/plugins/parsers/parser_internal.py
sillygreen89/Flexget
60f24ab0dda7b94c87ba43451921c50c3cef391f
[ "MIT" ]
1
2018-05-02T21:14:50.000Z
2018-05-02T21:14:50.000Z
flexget/plugins/parsers/parser_internal.py
sillygreen89/Flexget
60f24ab0dda7b94c87ba43451921c50c3cef391f
[ "MIT" ]
null
null
null
flexget/plugins/parsers/parser_internal.py
sillygreen89/Flexget
60f24ab0dda7b94c87ba43451921c50c3cef391f
[ "MIT" ]
null
null
null
from __future__ import unicode_literals, division, absolute_import from builtins import * # pylint: disable=unused-import, redefined-builtin import logging import time from flexget import plugin from flexget.event import event from flexget.utils.log import log_once from flexget.utils.titles.movie import MovieParser ...
31.333333
107
0.661452
a4cd481f5d0b6b84618a5dd6be5c744caf581b96
2,215
py
Python
docs/source/conf.py
engineervix/ubuntu-server-setup
eeff4e0e57b0f3c06f411e3526248ae06c0644cb
[ "MIT" ]
1
2021-06-10T07:10:51.000Z
2021-06-10T07:10:51.000Z
docs/source/conf.py
engineervix/ubuntu-server-setup
eeff4e0e57b0f3c06f411e3526248ae06c0644cb
[ "MIT" ]
2
2021-06-12T07:33:06.000Z
2021-07-08T12:04:11.000Z
docs/source/conf.py
engineervix/ubuntu-server-setup
eeff4e0e57b0f3c06f411e3526248ae06c0644cb
[ "MIT" ]
2
2021-06-11T17:34:20.000Z
2021-12-19T01:25:12.000Z
# Configuration file for the Sphinx documentation builder. # # This file only contains a selection of the most common options. For a full # list see the documentation: # https://www.sphinx-doc.org/en/master/usage/configuration.html # -- Path setup -------------------------------------------------------------- # If ex...
33.560606
79
0.680361
a2a035bf2bd17f2a9c0a676d5cd2f85326934f2f
4,725
py
Python
packages/syft/src/syft/core/smpc/protocol/spdz/spdz.py
yuhongsun96/PySyft
36f624ec47336d58fb73504c0817aa988a678626
[ "Apache-2.0" ]
null
null
null
packages/syft/src/syft/core/smpc/protocol/spdz/spdz.py
yuhongsun96/PySyft
36f624ec47336d58fb73504c0817aa988a678626
[ "Apache-2.0" ]
null
null
null
packages/syft/src/syft/core/smpc/protocol/spdz/spdz.py
yuhongsun96/PySyft
36f624ec47336d58fb73504c0817aa988a678626
[ "Apache-2.0" ]
null
null
null
"""SPDZ Protocol. SPDZ mechanism used for multiplication Contains functions that are run at: * the party that orchestrates the computation * the parties that hold the shares """ # future from __future__ import annotations # stdlib from typing import Any from typing import Dict from typing import Optional from typin...
28.293413
84
0.649312
936b40035ccc861846c96fcb44c97a9940c5292a
1,415
py
Python
examples/scripts/First Script.py
anrath/coba
635fd21306f52b27e7f5d78ee05148e6934e3d38
[ "BSD-3-Clause" ]
null
null
null
examples/scripts/First Script.py
anrath/coba
635fd21306f52b27e7f5d78ee05148e6934e3d38
[ "BSD-3-Clause" ]
null
null
null
examples/scripts/First Script.py
anrath/coba
635fd21306f52b27e7f5d78ee05148e6934e3d38
[ "BSD-3-Clause" ]
null
null
null
""" This is an example script that creates a Benchmark. This script requires that the matplotlib and vowpalwabbit packages be installed. """ from coba.config import CobaConfig from coba.learners import RandomLearner, EpsilonBanditLearner, VowpalLearner from coba.experiments import Experiment from coba.envir...
38.243243
106
0.740636
0305f60b500a34961300453734c8bf5754e0c9be
915
py
Python
services/trade_service.py
satyam93sinha/SuperSimpleStockMarket
6c894f641bca1a0e47307e35b71839556c40b748
[ "MIT" ]
null
null
null
services/trade_service.py
satyam93sinha/SuperSimpleStockMarket
6c894f641bca1a0e47307e35b71839556c40b748
[ "MIT" ]
null
null
null
services/trade_service.py
satyam93sinha/SuperSimpleStockMarket
6c894f641bca1a0e47307e35b71839556c40b748
[ "MIT" ]
null
null
null
from models.trade_model import TradeModel from services.trade_record_file import FileDatabase from datetime import datetime class TradeService: trading_details = {} @classmethod def trade_shares(cls, symbol, quantity, buy_or_sell, trade_price, timestamp=datetime.now()): # read from file/db ...
35.192308
96
0.725683
4ff729ab066b1122c9b86e783ff708bc5d898a7e
6,273
py
Python
main.py
nathanrhart/PythonPasswordGenerate
899de3660b1ea633c832e31fcb0b6f988fc85378
[ "MIT" ]
null
null
null
main.py
nathanrhart/PythonPasswordGenerate
899de3660b1ea633c832e31fcb0b6f988fc85378
[ "MIT" ]
null
null
null
main.py
nathanrhart/PythonPasswordGenerate
899de3660b1ea633c832e31fcb0b6f988fc85378
[ "MIT" ]
null
null
null
"""AUTHOR: NathanHart - github.com/nathanrhart NOUNLIST AUTHOR: http://www.desiquintans.com/nounlist""" import random import time wordlist = [] print("Password Generator V0.9") def loadnouns(): global wordlist print("Reading Nouns list TXT") file = open("parsednouns.txt") wordlist = file.read...
32.502591
106
0.632233
4f1b78dd0b94e16ea4fd74fc62d837be001e0451
3,192
py
Python
source/extensions/figtable.py
cityofcph/rsmp_sxl_traffic_lights
906da3c3d5e1286861154692d83879613f8ec357
[ "MIT" ]
11
2018-01-30T13:17:06.000Z
2021-12-10T11:17:50.000Z
source/extensions/figtable.py
rsmp-nordic/rsmp_sxl_traffic_lights
906da3c3d5e1286861154692d83879613f8ec357
[ "MIT" ]
132
2017-07-07T11:31:12.000Z
2022-03-08T12:14:31.000Z
source/extensions/figtable.py
rsmp-nordic/rsmp_core
84a3714dd11c8c182518be2cc7460146eb3b8b21
[ "MIT" ]
2
2018-08-08T11:47:51.000Z
2019-05-21T16:24:00.000Z
""" Adds a new directive called 'figtable' that creates a figure around a table. """ from docutils import nodes import docutils.parsers.rst.directives as directives from docutils.parsers.rst import Directive from sphinx import addnodes class figtable(nodes.General, nodes.Element): pass def visit_figtable_node(se...
32.242424
83
0.609962
9d2149c3a973f196b1816e18dad37ca330752d2c
48,734
py
Python
tests/tests_geomstats/test_spd_matrices.py
annacalissano/geomstats
1c8f6565868474b0e9ad3adb2202f528d942621d
[ "MIT" ]
null
null
null
tests/tests_geomstats/test_spd_matrices.py
annacalissano/geomstats
1c8f6565868474b0e9ad3adb2202f528d942621d
[ "MIT" ]
null
null
null
tests/tests_geomstats/test_spd_matrices.py
annacalissano/geomstats
1c8f6565868474b0e9ad3adb2202f528d942621d
[ "MIT" ]
null
null
null
"""Unit tests for the manifold of symmetric positive definite matrices.""" import math import random import geomstats.backend as gs import geomstats.tests from geomstats.geometry.lower_triangular_matrices import LowerTriangularMatrices from geomstats.geometry.positive_lower_triangular_matrices import ( PositiveL...
36.55964
88
0.53593
ba8cae8eaeecd7f26a3bb25a1ca5de6449862ec1
1,466
py
Python
src/workbench/parse_loegion.py
josiahfmccoy/scholasterion
2d547bc56b47a46448a4f1e5b83eb56e15310926
[ "Apache-2.0" ]
null
null
null
src/workbench/parse_loegion.py
josiahfmccoy/scholasterion
2d547bc56b47a46448a4f1e5b83eb56e15310926
[ "Apache-2.0" ]
null
null
null
src/workbench/parse_loegion.py
josiahfmccoy/scholasterion
2d547bc56b47a46448a4f1e5b83eb56e15310926
[ "Apache-2.0" ]
null
null
null
import argparse import json import os import time from parsing.loegion import LoegionParser from utils import * def parse_loegion(filename, outpath=None, logger=None): outname = outpath or os.path.dirname(filename) if outname.endswith('formatted') or outname.endswith('processed'): outname = os.path.di...
31.869565
79
0.667804
dda5bbdc6f1303587eb064a460fa291d0ab0e193
523
py
Python
__init__.py
haliphax/supybot-greet
117a542d0552259e457b9d191db309502e335a73
[ "MIT" ]
null
null
null
__init__.py
haliphax/supybot-greet
117a542d0552259e457b9d191db309502e335a73
[ "MIT" ]
1
2019-03-21T14:04:32.000Z
2019-03-21T14:51:21.000Z
__init__.py
haliphax/supybot-greet
117a542d0552259e457b9d191db309502e335a73
[ "MIT" ]
null
null
null
""" Add a description of the plugin (to be presented to the user inside the wizard) here. This should describe *what* the plugin does. """ import supybot import supybot.world as world __version__ = "" __author__ = supybot.Author('haliphax', 'haliphax', 'haliphax@nope') __contributors__ = {} __url__ = 'https://github...
21.791667
79
0.745698
082cc5be56f0a9b2dbbf07c732ab08297f65e9d0
1,903
py
Python
docxUtils/reports.py
shapiromatron/docxUtils
240842a18a76f66ed72ff553c92767ddb32f9755
[ "MIT" ]
4
2015-10-01T17:04:34.000Z
2021-06-01T17:58:55.000Z
docxUtils/reports.py
shapiromatron/docxUtils
240842a18a76f66ed72ff553c92767ddb32f9755
[ "MIT" ]
null
null
null
docxUtils/reports.py
shapiromatron/docxUtils
240842a18a76f66ed72ff553c92767ddb32f9755
[ "MIT" ]
3
2015-08-08T16:26:25.000Z
2016-09-22T01:27:01.000Z
import abc import os from io import BytesIO from docx import Document from docx.shared import Inches from docx.enum.section import WD_ORIENT class DOCXReport(object): def __init__(self, root_path, context): self.root_path = root_path self.context = context def build_report(self): ""...
25.373333
75
0.584866
7e5a88744f09657eddce44c1aabf34beb4bd5fd5
17,253
py
Python
mysqldb_1.2.4_python_2.7/MySQLdb/cursors.py
developerlbas/relabs
4a800f854fe18b61b1580cbd63ac3a7c033991cd
[ "MIT" ]
1
2019-04-11T05:13:29.000Z
2019-04-11T05:13:29.000Z
mysqldb_1.2.4_python_2.7/MySQLdb/cursors.py
developerlbas/relabs
4a800f854fe18b61b1580cbd63ac3a7c033991cd
[ "MIT" ]
null
null
null
mysqldb_1.2.4_python_2.7/MySQLdb/cursors.py
developerlbas/relabs
4a800f854fe18b61b1580cbd63ac3a7c033991cd
[ "MIT" ]
null
null
null
"""MySQLdb Cursors This module implements Cursors of various types for MySQLdb. By default, MySQLdb uses the Cursor class. """ import re import sys try: from types import ListType, TupleType, UnicodeType except ImportError: # Python 3 ListType = list TupleType = tuple UnicodeType = str restr = r...
32.430451
84
0.592419
a1def3716c686ae7f6488799d6222d60ea9f396a
3,860
py
Python
completions/selectors.py
y0ssar1an/CSS3
813ec04e1426d81bfa0ce8da4c65a026fdd62e83
[ "MIT" ]
192
2015-01-03T02:42:23.000Z
2020-03-10T17:10:52.000Z
completions/selectors.py
argyleink/CSS3
db942b42191b3063d9e0d3bf212083ed3e565a44
[ "MIT" ]
89
2015-01-02T11:36:32.000Z
2020-04-26T07:30:45.000Z
completions/selectors.py
argyleink/CSS3
db942b42191b3063d9e0d3bf212083ed3e565a44
[ "MIT" ]
37
2015-01-04T05:44:09.000Z
2019-04-11T09:07:58.000Z
at_page = [ (":blank", ":blank "), (":first", ":first "), (":left", ":left "), (":recto", ":recto "), (":right", ":right "), (":verso", ":verso "), ] html_tags = [ ("a",), ("abbr",), ("address",), ("area",), ("article",), ("aside",), ("audio",), ("b",), ("bas...
18.293839
53
0.353109
d1249575b222c8443621acfa932f6cf3f9a17d30
743
py
Python
api/example_api.py
warisqr007/accentron-on-web
abaccec1779cef13e815d4e2ade3ad49caea79e6
[ "Apache-2.0" ]
null
null
null
api/example_api.py
warisqr007/accentron-on-web
abaccec1779cef13e815d4e2ade3ad49caea79e6
[ "Apache-2.0" ]
null
null
null
api/example_api.py
warisqr007/accentron-on-web
abaccec1779cef13e815d4e2ade3ad49caea79e6
[ "Apache-2.0" ]
null
null
null
from flask import jsonify, request from pbu import list_to_json # from storage.example_mongo_store import Example # TODO: this is just an example. You should delete this file and remove it from the `runner.py` as well def register_endpoints(app, stores): # extract stores for API endpoints (mongo_example is just...
32.304348
103
0.69852
7de6141f74a543db4d1f7412dd990d81493dfc44
1,863
py
Python
PyRAI2MD/Molecule/qmmm_helper.py
lopez-lab/PyRAI2MD
43e27fbc9bc5b6ab6a8f170791951f316fcd0964
[ "MIT" ]
12
2021-10-20T23:41:34.000Z
2022-03-29T23:29:21.000Z
PyRAI2MD/Molecule/qmmm_helper.py
lijingbai2009/PyRAI2MD
f672960aff4d9e25f4dff11683e9231b120a1b68
[ "MIT" ]
null
null
null
PyRAI2MD/Molecule/qmmm_helper.py
lijingbai2009/PyRAI2MD
f672960aff4d9e25f4dff11683e9231b120a1b68
[ "MIT" ]
4
2021-02-06T04:27:01.000Z
2022-03-29T23:29:28.000Z
###################################################### # # PyRAI2MD 2 module for automatic qmmmm boundray detection # # Author Jingbai Li # Sep 5 2021 # ###################################################### import numpy as np from PyRAI2MD.Molecule.atom import Atom def AutoBoundary(coord, high): """ Auto qmmm b...
27
86
0.495437
f3ce8f08aa6fc79427fab7474a8da6c527a13c20
5,694
py
Python
examples/sklearn_examples/workflows/stream_train_stream_predict/stream_train_stream_predict.py
ideax-business/ai-flow
0a7797a093beddf827f68cad7a11e0babf1b5059
[ "Apache-2.0", "BSD-2-Clause", "MIT", "ECL-2.0", "BSD-3-Clause" ]
1
2021-08-06T04:24:36.000Z
2021-08-06T04:24:36.000Z
examples/sklearn_examples/workflows/stream_train_stream_predict/stream_train_stream_predict.py
lee0528123/ai-flow
fccd6c3ae4aa782745fba897acc0c928d6d8df98
[ "Apache-2.0" ]
null
null
null
examples/sklearn_examples/workflows/stream_train_stream_predict/stream_train_stream_predict.py
lee0528123/ai-flow
fccd6c3ae4aa782745fba897acc0c928d6d8df98
[ "Apache-2.0" ]
1
2021-05-20T02:17:11.000Z
2021-05-20T02:17:11.000Z
# # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not...
57.515152
111
0.648051
367715a80be56f5fb40e98127f4cd2c35b856f29
7,035
py
Python
Lib/test/test_unicode_file.py
orestis/python
870a82aac7788ffa105e2a3e4480b3715c93bff6
[ "PSF-2.0" ]
1
2021-12-26T22:20:34.000Z
2021-12-26T22:20:34.000Z
Lib/test/test_unicode_file.py
orestis/python
870a82aac7788ffa105e2a3e4480b3715c93bff6
[ "PSF-2.0" ]
null
null
null
Lib/test/test_unicode_file.py
orestis/python
870a82aac7788ffa105e2a3e4480b3715c93bff6
[ "PSF-2.0" ]
2
2018-08-06T04:37:38.000Z
2022-02-27T18:07:12.000Z
# Test some Unicode file name semantics # We dont test many operations on files other than # that their names can be used with Unicode characters. import os, glob, time, shutil import unicodedata import unittest from test.support import run_unittest, TESTFN_UNICODE, rmtree from test.support import TESTFN_ENCODING, TES...
41.627219
80
0.640796
8e2d6b4fb28303eea3d3f69b852b921d210ad09c
3,738
py
Python
ormar/relations/querysetproxy.py
smorokin/ormar
56444f2638219d7dc55eb875aebde7fa0c7376c8
[ "MIT" ]
null
null
null
ormar/relations/querysetproxy.py
smorokin/ormar
56444f2638219d7dc55eb875aebde7fa0c7376c8
[ "MIT" ]
null
null
null
ormar/relations/querysetproxy.py
smorokin/ormar
56444f2638219d7dc55eb875aebde7fa0c7376c8
[ "MIT" ]
null
null
null
from typing import Any, List, Optional, Sequence, TYPE_CHECKING, TypeVar, Union import ormar if TYPE_CHECKING: # pragma no cover from ormar.relations import Relation from ormar.models import Model from ormar.queryset import QuerySet T = TypeVar("T", bound=Model) class QuerysetProxy(ormar.QuerySetP...
35.942308
84
0.652755
682ff4ceecf8dda102c8a57c1475e9d2cab7f510
5,885
py
Python
src/frr/tests/topotests/bgp_flowspec/test_bgp_flowspec_topo.py
zhouhaifeng/vpe
9c644ffd561988e5740021ed26e0f7739844353d
[ "Apache-2.0" ]
null
null
null
src/frr/tests/topotests/bgp_flowspec/test_bgp_flowspec_topo.py
zhouhaifeng/vpe
9c644ffd561988e5740021ed26e0f7739844353d
[ "Apache-2.0" ]
null
null
null
src/frr/tests/topotests/bgp_flowspec/test_bgp_flowspec_topo.py
zhouhaifeng/vpe
9c644ffd561988e5740021ed26e0f7739844353d
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # # test_bgp_flowspec_topo.py # Part of NetDEF Topology Tests # # Copyright (c) 2019 by 6WIND # # Permission to use, copy, modify, and/or distribute this software # for any purpose with or without fee is hereby granted, provided # that the above copyright notice and this permission notice appear ...
28.848039
83
0.560408
29937407785cc2c82ab4ebfee9d7fe70f7912e11
315
py
Python
demo.py
cogito233/RoboMaster-AI-Challenge-Simulator-2D
aff0383851e2d011fc36e87e10ed4ec341034c33
[ "MIT" ]
42
2019-03-02T06:39:34.000Z
2022-03-25T19:57:38.000Z
demo.py
cogito233/RoboMaster-AI-Challenge-Simulator-2D
aff0383851e2d011fc36e87e10ed4ec341034c33
[ "MIT" ]
null
null
null
demo.py
cogito233/RoboMaster-AI-Challenge-Simulator-2D
aff0383851e2d011fc36e87e10ed4ec341034c33
[ "MIT" ]
21
2019-03-02T06:39:37.000Z
2022-02-28T12:52:14.000Z
# -*- coding: utf-8 -*- from rmaics import rmaics from kernal import record_player #%% game = rmaics(agent_num=4, render=True) game.reset() # only when render = True game.play() #%% game.save_record('./records/record0.npy') #%% player = record_player() player.play('./records/record_test.npy')
17.5
42
0.660317
e458522f0fab9fda321f34117b6fbcbd4be2959c
2,655
py
Python
reporter/parsers.py
itsdkey/workreporter
daea921a03f4798c9acd689fc9bc6010e72cf886
[ "MIT" ]
null
null
null
reporter/parsers.py
itsdkey/workreporter
daea921a03f4798c9acd689fc9bc6010e72cf886
[ "MIT" ]
21
2020-04-04T11:08:20.000Z
2021-01-29T07:58:40.000Z
reporter/parsers.py
itsdkey/workreporter
daea921a03f4798c9acd689fc9bc6010e72cf886
[ "MIT" ]
null
null
null
class JiraParser: """A class responsible for parsing a JIRA API response.""" @staticmethod def filter_out_important_data(issues_list: dict) -> list: """ Flatter the dictionary to only important information. :param issues_list: issues from the API """ issues = [ ...
38.478261
100
0.541996
f12f59a90c0bf4395f81e34a47fca9905a1e42a8
670
py
Python
manage.py
intadd/SecureChat
a35c61a314b2a6680a7253272c75a3b58b4d0e01
[ "MIT" ]
null
null
null
manage.py
intadd/SecureChat
a35c61a314b2a6680a7253272c75a3b58b4d0e01
[ "MIT" ]
null
null
null
manage.py
intadd/SecureChat
a35c61a314b2a6680a7253272c75a3b58b4d0e01
[ "MIT" ]
null
null
null
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): """Run administrative tasks.""" os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'secureChatProj.settings') try: from django.core.management import execute_from_command_line exce...
29.130435
78
0.68209
b3835d53619a7940ae70927af4f4929418c87dbb
7,920
py
Python
tensorpack/dataflow/dataset/ilsvrc.py
yinglanma/AI-project
db145c59f57f519177f3eedde14c3ce033b2a11d
[ "Apache-2.0" ]
null
null
null
tensorpack/dataflow/dataset/ilsvrc.py
yinglanma/AI-project
db145c59f57f519177f3eedde14c3ce033b2a11d
[ "Apache-2.0" ]
null
null
null
tensorpack/dataflow/dataset/ilsvrc.py
yinglanma/AI-project
db145c59f57f519177f3eedde14c3ce033b2a11d
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # File: ilsvrc.py # Author: Yuxin Wu <ppwwyyxxc@gmail.com> import os import tarfile import cv2 import numpy as np from six.moves import range import xml.etree.ElementTree as ET from ...utils import logger, get_rng, get_dataset_path, memoized from ...utils.loadcaffe import ...
34.585153
103
0.550758
cda51ef84a0c39015e3ddb86c3a0fba3d14b19bb
107
py
Python
pyjobweb/__init__.py
vvaradarajan/pyJobWeb
eb83ce09f9a9f9185e31e53b2fda8b56981e26af
[ "Apache-2.0" ]
1
2019-03-19T12:23:53.000Z
2019-03-19T12:23:53.000Z
pyjobweb/__init__.py
vvaradarajan/pyJobWeb
eb83ce09f9a9f9185e31e53b2fda8b56981e26af
[ "Apache-2.0" ]
null
null
null
pyjobweb/__init__.py
vvaradarajan/pyJobWeb
eb83ce09f9a9f9185e31e53b2fda8b56981e26af
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- __author__ = """vasan""" __email__ = 'vsvconsult@gmail.com' __version__ = '0.1.0'
17.833333
34
0.616822
011f64ee7aa027aa51b5a468cd5d583ac2f54e55
50,303
py
Python
airflow/utils/dag_processing.py
Quimstr/airflow
05e66570cb66895e1d8842c95a6e8a534d419551
[ "Apache-2.0" ]
null
null
null
airflow/utils/dag_processing.py
Quimstr/airflow
05e66570cb66895e1d8842c95a6e8a534d419551
[ "Apache-2.0" ]
3
2020-03-08T15:43:38.000Z
2021-09-29T17:26:10.000Z
airflow/utils/dag_processing.py
upjohnc/airflow-upjohn-k8s
caadbc1618d73e054de99138b0892cea3a9327c4
[ "Apache-2.0", "BSD-2-Clause", "MIT", "ECL-2.0", "BSD-3-Clause" ]
1
2019-07-30T17:12:34.000Z
2019-07-30T17:12:34.000Z
# -*- coding: utf-8 -*- # # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the #...
37.68015
108
0.585333
9327160d365832a3d9e8b5cbf8b96b7dff02a50c
6,969
py
Python
gftool/density.py
DerWeh/gftools
a123c3d2aa62bcf9c2c7fcc15121cf60d09df020
[ "MIT" ]
12
2020-10-09T10:05:44.000Z
2022-02-22T14:04:19.000Z
gftool/density.py
DerWeh/gftools
a123c3d2aa62bcf9c2c7fcc15121cf60d09df020
[ "MIT" ]
20
2020-01-28T09:15:27.000Z
2022-02-06T16:48:30.000Z
gftool/density.py
DerWeh/gftools
a123c3d2aa62bcf9c2c7fcc15121cf60d09df020
[ "MIT" ]
6
2021-03-09T19:10:37.000Z
2022-02-02T14:29:06.000Z
"""Calculate density from Green's function.""" import logging from typing import Callable import numpy as np from scipy import optimize from gftool._util import _gu_sum from gftool.basis.pole import PoleGf LOGGER = logging.getLogger(__name__) def density_iw(iws, gf_iw, beta, weights=1., moments=(1.,), n_fit=0): ...
37.467742
98
0.645286
839b1ed4f6a5db7f2ed1c9ab9245f6e8b71fc789
12,130
py
Python
billforward/models/bf_permission.py
billforward/bf-python
d2b812329ca3ed1fd94364d7f46f69ad74665596
[ "Apache-2.0" ]
2
2016-11-23T17:32:37.000Z
2022-02-24T05:13:20.000Z
billforward/models/bf_permission.py
billforward/bf-python
d2b812329ca3ed1fd94364d7f46f69ad74665596
[ "Apache-2.0" ]
null
null
null
billforward/models/bf_permission.py
billforward/bf-python
d2b812329ca3ed1fd94364d7f46f69ad74665596
[ "Apache-2.0" ]
1
2016-12-30T20:02:48.000Z
2016-12-30T20:02:48.000Z
# coding: utf-8 """ BillForward REST API OpenAPI spec version: 1.0.0 Generated by: https://github.com/swagger-api/swagger-codegen.git 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...
32.695418
746
0.561583
47e5d4ce682b5396f99b576d8d9c6494d42b3fea
12,481
py
Python
qa/rpc-tests/util.py
Library-Dev/BLibraryTest
7f3c8c71cb60dbf6b1fb936c1d32bfd71eb33345
[ "MIT" ]
null
null
null
qa/rpc-tests/util.py
Library-Dev/BLibraryTest
7f3c8c71cb60dbf6b1fb936c1d32bfd71eb33345
[ "MIT" ]
null
null
null
qa/rpc-tests/util.py
Library-Dev/BLibraryTest
7f3c8c71cb60dbf6b1fb936c1d32bfd71eb33345
[ "MIT" ]
null
null
null
# Copyright (c) 2014 The Bitcoin Core developers # Copyright (c) 2014-2015 The Dash developers # Copyright (c) 2015-2017 The PIVX developers # Copyright (c) 2017 The blibrary developers # Distributed under the MIT/X11 software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-licens...
35.9683
108
0.648826
b3a032712d3fa465a225cd4fdfda3ba1d3c6048b
40,405
py
Python
frappe-bench/env/lib/python2.7/site-packages/botocore/parsers.py
ibrahmm22/library-management
b88a2129a5a2e96ce1f945ec8ba99a0b63b8c506
[ "MIT" ]
2
2020-06-27T20:07:11.000Z
2021-02-28T06:02:37.000Z
frappe-bench/env/lib/python2.7/site-packages/botocore/parsers.py
ibrahmm22/library-management
b88a2129a5a2e96ce1f945ec8ba99a0b63b8c506
[ "MIT" ]
null
null
null
frappe-bench/env/lib/python2.7/site-packages/botocore/parsers.py
ibrahmm22/library-management
b88a2129a5a2e96ce1f945ec8ba99a0b63b8c506
[ "MIT" ]
1
2021-04-06T13:46:36.000Z
2021-04-06T13:46:36.000Z
# Copyright 2014 Amazon.com, Inc. or its affiliates. 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. A copy of # the License is located at # # http://aws.amazon.com/apache2.0/ # # or in the "license" file accompa...
41.441026
80
0.596585
e275a82022b234453e4faa9d924404582975484a
1,435
py
Python
app/core/models.py
robnmrz/building-projects-api
67855e6d2e6339020fca1401551c4e67d40f83e9
[ "MIT" ]
null
null
null
app/core/models.py
robnmrz/building-projects-api
67855e6d2e6339020fca1401551c4e67d40f83e9
[ "MIT" ]
4
2020-08-19T16:08:48.000Z
2020-08-19T17:12:39.000Z
app/core/models.py
robnmrz/building-projects-api
67855e6d2e6339020fca1401551c4e67d40f83e9
[ "MIT" ]
null
null
null
from django.db import models from django.contrib.auth.models import AbstractBaseUser, BaseUserManager, PermissionsMixin # define class to overwrite standard input "username" with "email" class UserManager(BaseUserManager): # extra_fields --> pass in all extra functions in additional fields def create_user(sel...
36.794872
90
0.705923
acfe9f5610b93f98ec0936a6d94913b428f06b23
425
py
Python
2021/3-1.py
lkesteloot/advent-of-code
4372e76602e16c69db8c227081b334d58455af1f
[ "MIT" ]
null
null
null
2021/3-1.py
lkesteloot/advent-of-code
4372e76602e16c69db8c227081b334d58455af1f
[ "MIT" ]
null
null
null
2021/3-1.py
lkesteloot/advent-of-code
4372e76602e16c69db8c227081b334d58455af1f
[ "MIT" ]
null
null
null
lines = [list(map(int,list(line.strip()))) for line in open("input-3.txt")] count = len(lines) half = count // 2 sums = lines[0] for i in range(1, count): for j in range(len(sums)): sums[j] += lines[i][j] print(sums, count) gamma = int("".join(map(lambda x: "1" if x > half else "0", sums)), 2) epsilon...
21.25
75
0.6
0425809944b067adeda28081db2145c484f3f8bd
12,080
py
Python
test/functional/test_framework/test_node.py
8899kkA/REBELCoin
42e21696292c98ffdaf959d6c0c060460aa188a7
[ "MIT" ]
null
null
null
test/functional/test_framework/test_node.py
8899kkA/REBELCoin
42e21696292c98ffdaf959d6c0c060460aa188a7
[ "MIT" ]
null
null
null
test/functional/test_framework/test_node.py
8899kkA/REBELCoin
42e21696292c98ffdaf959d6c0c060460aa188a7
[ "MIT" ]
1
2022-01-30T23:45:34.000Z
2022-01-30T23:45:34.000Z
#!/usr/bin/env python3 # Copyright (c) 2017 The Bitcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Class for rebelcoind node under test""" import decimal import errno import http.client import json import l...
39.093851
173
0.620695
39a7f5408d1b26cf74c43f8d5c2645e4b24a7f81
346
py
Python
src/lol_scrapers/utils/dataclasses/runes.py
Melzak252/lol_scrapers
c083b766a970ad61bda68102a66d3a6303dda93d
[ "MIT" ]
null
null
null
src/lol_scrapers/utils/dataclasses/runes.py
Melzak252/lol_scrapers
c083b766a970ad61bda68102a66d3a6303dda93d
[ "MIT" ]
null
null
null
src/lol_scrapers/utils/dataclasses/runes.py
Melzak252/lol_scrapers
c083b766a970ad61bda68102a66d3a6303dda93d
[ "MIT" ]
null
null
null
from dataclasses import dataclass from typing import List from lol_scrapers.utils.dataclasses import Stats @dataclass class RuneName: name: str src: str @dataclass class Runes: main_tree: List[RuneName] secondary_tree: List[RuneName] @dataclass class RuneSet: title: str stats: Stats r...
13.84
48
0.722543
0f718a7aa91d7a57240e0f8e2817f27e13b1d600
368
py
Python
my_backend/clients/viewsets.py
RodrigoBLima/card-virtual-for-establishment
9c238b9ea27a87c56b18448c07fe6ef02ccb4600
[ "MIT" ]
null
null
null
my_backend/clients/viewsets.py
RodrigoBLima/card-virtual-for-establishment
9c238b9ea27a87c56b18448c07fe6ef02ccb4600
[ "MIT" ]
1
2022-02-20T23:18:25.000Z
2022-02-20T23:18:25.000Z
my_backend/clients/viewsets.py
RodrigoBLima/card-virtual-for-establishment
9c238b9ea27a87c56b18448c07fe6ef02ccb4600
[ "MIT" ]
null
null
null
from rest_framework import viewsets from .models import Clients from .serializers import ClientsSerializer from django_filters.rest_framework import DjangoFilterBackend class ClientsViewSet(viewsets.ModelViewSet): model = Clients queryset = Clients.objects.all() serializer_class = ClientsSerializer ...
26.285714
61
0.796196
c763b8de45cf161ff338b229bd2496302f8971d3
520
py
Python
src/ml/training/tests/test_train.py
raywu60kg/mini-demand-side-platform
a9613c4cf955d72174d8c5d8638ddcd0365bfb68
[ "MIT" ]
null
null
null
src/ml/training/tests/test_train.py
raywu60kg/mini-demand-side-platform
a9613c4cf955d72174d8c5d8638ddcd0365bfb68
[ "MIT" ]
null
null
null
src/ml/training/tests/test_train.py
raywu60kg/mini-demand-side-platform
a9613c4cf955d72174d8c5d8638ddcd0365bfb68
[ "MIT" ]
null
null
null
from app.train import SklearnTrain from tests.test_data.test_data import test_formated_x, test_formated_y from unittest import TestCase class TestSklearnTrain(TestCase): skt = SklearnTrain( X_train=test_formated_x, y_train=test_formated_y, X_test=test_formated_x, y_test=test_forma...
27.368421
70
0.707692
9ac13f77359aaae3165d8a4397f687161d3217e7
557
py
Python
src/1_100/0077_combinations/combinations.py
himichael/LeetCode
d54f48e785af3d47a2a67a95fd3343d2b23f8ae5
[ "Apache-2.0" ]
1
2019-12-18T06:08:47.000Z
2019-12-18T06:08:47.000Z
src/1_100/0077_combinations/combinations.py
himichael/LeetCode
d54f48e785af3d47a2a67a95fd3343d2b23f8ae5
[ "Apache-2.0" ]
1
2019-05-18T09:35:22.000Z
2019-05-18T09:35:22.000Z
src/1_100/0077_combinations/combinations.py
himichael/LeetCode
d54f48e785af3d47a2a67a95fd3343d2b23f8ae5
[ "Apache-2.0" ]
null
null
null
class Solution(object): def combine(self, n, k): """ :type n: int :type k: int :rtype: List[List[int]] """ arr = [] for i in range(1,n+1): arr.append(i) res = [] def recursive(i,tmp): if(len(tmp)==k): ...
24.217391
37
0.375224
a7652d4a1311b0938636d09eed714ac7c0421936
1,991
py
Python
tutorials/gluon_mnist/gluon_mnist/mnist_int_gluon.py
CortexFoundation/tvm-cvm
d8941dc60a51dd27a6d2accc1eff2eced3b3640d
[ "Apache-2.0" ]
6
2019-07-04T09:42:53.000Z
2021-12-28T13:19:48.000Z
tutorials/gluon_mnist/gluon_mnist/mnist_int_gluon.py
CortexFoundation/tvm-cvm
d8941dc60a51dd27a6d2accc1eff2eced3b3640d
[ "Apache-2.0" ]
4
2019-06-27T08:05:18.000Z
2021-09-09T18:59:11.000Z
tutorials/gluon_mnist/gluon_mnist/mnist_int_gluon.py
CortexFoundation/tvm-cvm
d8941dc60a51dd27a6d2accc1eff2eced3b3640d
[ "Apache-2.0" ]
null
null
null
# -*- encode: utf8 -*- import mxnet as mx import utils from int_layer import * from mxnet.gluon import nn from mxnet import init, gluon, nd from mxnet.gluon.data.vision.datasets import MNIST # added import nnvm import tvm from tvm import rpc def main(): ctx = mx.cpu() train_data, test_data = ...
36.87037
140
0.661477
91e9608187d3829e940480f717c1ff8f96ceb894
7,891
py
Python
code/monkey_transfer_feature_extraction.py
inani47/Transfer_Learning
1e28614ceaa38a8034aa45c92b8265c79e64780a
[ "BSD-2-Clause" ]
null
null
null
code/monkey_transfer_feature_extraction.py
inani47/Transfer_Learning
1e28614ceaa38a8034aa45c92b8265c79e64780a
[ "BSD-2-Clause" ]
null
null
null
code/monkey_transfer_feature_extraction.py
inani47/Transfer_Learning
1e28614ceaa38a8034aa45c92b8265c79e64780a
[ "BSD-2-Clause" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Mon Dec 3 19:00:28 2018 @author: PI """ import pandas as pd import os import numpy as np import matplotlib.image as mpimg from skimage import io import skimage from skimage.transform import resize as transf from torch.optim import lr_scheduler import torchvision import time ...
30.70428
98
0.578507
947644e83c2368f9964611ecd0abf16794e0ed95
2,536
py
Python
PyLCONF/utilities.py
LCONF-Data-Serialization-Format/PyLCONF
63b7df0092dcf3700604dfe8d5ef3775582891eb
[ "BSD-3-Clause" ]
null
null
null
PyLCONF/utilities.py
LCONF-Data-Serialization-Format/PyLCONF
63b7df0092dcf3700604dfe8d5ef3775582891eb
[ "BSD-3-Clause" ]
null
null
null
PyLCONF/utilities.py
LCONF-Data-Serialization-Format/PyLCONF
63b7df0092dcf3700604dfe8d5ef3775582891eb
[ "BSD-3-Clause" ]
null
null
null
class Err(Exception): """ Prints Project Error. * `error_origin`: (str) to specify from where the error comes. * `info_list` : (list) list of strings to print as message: each list item starts at a new line. """ def __init__(self, error_origin, info_list): Exception.__init__(self, error_...
31.308642
122
0.510647
23ceb88b3cf61c2eea3cbb1d29fb85d8dd3b26fd
105,047
py
Python
test/dialect/test_sqlite.py
plettich/sqlalchemy-1
25ee5a05df0daeb7dc7ba432172d6abc76ffab56
[ "MIT" ]
null
null
null
test/dialect/test_sqlite.py
plettich/sqlalchemy-1
25ee5a05df0daeb7dc7ba432172d6abc76ffab56
[ "MIT" ]
null
null
null
test/dialect/test_sqlite.py
plettich/sqlalchemy-1
25ee5a05df0daeb7dc7ba432172d6abc76ffab56
[ "MIT" ]
null
null
null
#!coding: utf-8 """SQLite-specific tests.""" import datetime import json import os from sqlalchemy import and_ from sqlalchemy import bindparam from sqlalchemy import CheckConstraint from sqlalchemy import Column from sqlalchemy import column from sqlalchemy import Computed from sqlalchemy import create_engine from s...
32.153964
79
0.515255
5d4103f39a31cd4f0e6aa8f1bbba71840d1b34cb
8,609
py
Python
third_party/skia_m84/third_party/externals/angle2/scripts/run_code_generation.py
kniefliu/WindowsSamples
c841268ef4a0f1c6f89b8e95bf68058ea2548394
[ "MIT" ]
6
2021-07-05T16:09:39.000Z
2022-03-06T22:44:42.000Z
third_party/skia_m84/third_party/externals/angle2/scripts/run_code_generation.py
kniefliu/WindowsSamples
c841268ef4a0f1c6f89b8e95bf68058ea2548394
[ "MIT" ]
7
2022-03-15T13:25:39.000Z
2022-03-15T13:25:44.000Z
third_party/skia_m84/third_party/externals/angle2/scripts/run_code_generation.py
kniefliu/WindowsSamples
c841268ef4a0f1c6f89b8e95bf68058ea2548394
[ "MIT" ]
null
null
null
#!/usr/bin/python2 # # Copyright 2017 The ANGLE Project Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. # # run_code_generation.py: # Runs ANGLE format table and other script code generation scripts. import hashlib import json import...
33.368217
96
0.642583
c2915b701b61e02cef2edecc5dddc6efd2a59d07
822
py
Python
tools/process_words/entropy_precalc.py
quittung/wordle_guess
b966700bcf392c19aca4d0447223c1e45c7a2b67
[ "MIT" ]
null
null
null
tools/process_words/entropy_precalc.py
quittung/wordle_guess
b966700bcf392c19aca4d0447223c1e45c7a2b67
[ "MIT" ]
null
null
null
tools/process_words/entropy_precalc.py
quittung/wordle_guess
b966700bcf392c19aca4d0447223c1e45c7a2b67
[ "MIT" ]
null
null
null
import sys, os.path import json from multiprocessing.pool import Pool from tqdm import tqdm # hacky import, but this is for development use only sys.path.append(os.path.join(os.path.dirname(__file__), "..", "..")) from wordle_guess.app import guesser from wordle_guess.app.strategies import entropy if __name__ == "_...
31.615385
145
0.690998
f28374248e35ec1e1c009beed74aa373bd559757
411
py
Python
SimG4CMS/EcalTestBeam/python/crystal1253_cff.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
SimG4CMS/EcalTestBeam/python/crystal1253_cff.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
SimG4CMS/EcalTestBeam/python/crystal1253_cff.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
import FWCore.ParameterSet.Config as cms common_beam_direction_parameters = cms.PSet( MinEta = cms.double(1.09179), MaxEta = cms.double(1.09179), MinPhi = cms.double(-0.0405577 ), MaxPhi = cms.double(-0.0405577 ), Psi = cms.double(999.9), BeamMeanX = c...
31.615385
44
0.596107
92155300f8a5aa6cc8216bc8869e05544643558c
26
py
Python
src/mam/_mam/tasks/nox/__init__.py
Peilonrayz/mam
f288f6087e0efa4938bdbfcf1234af51b9898318
[ "MIT" ]
null
null
null
src/mam/_mam/tasks/nox/__init__.py
Peilonrayz/mam
f288f6087e0efa4938bdbfcf1234af51b9898318
[ "MIT" ]
1
2019-06-16T10:27:39.000Z
2019-06-16T10:27:39.000Z
src/mam/_mam/tasks/nox/__init__.py
Peilonrayz/mam
f288f6087e0efa4938bdbfcf1234af51b9898318
[ "MIT" ]
null
null
null
"""Nox specific tasks."""
13
25
0.615385
81419f6b497d186b10a76edc1fb1442aa2334b52
350
py
Python
sequentialSearch.py
aligoren/pyalgo
8aa58143d3301f70ed7189ca86ce0c7886f92e8c
[ "MIT" ]
22
2015-05-04T14:16:18.000Z
2021-05-12T07:21:14.000Z
sequentialSearch.py
aligoren/pyalgo
8aa58143d3301f70ed7189ca86ce0c7886f92e8c
[ "MIT" ]
null
null
null
sequentialSearch.py
aligoren/pyalgo
8aa58143d3301f70ed7189ca86ce0c7886f92e8c
[ "MIT" ]
12
2015-12-26T05:00:24.000Z
2022-02-28T05:03:13.000Z
def sequentialSearch(alist, item): pos = 0 found = False while pos < len(alist) and not found: if alist[pos] == item: found = True else: pos = pos+1 return found testlist = [1, 2, 32, 8, 17, 19, 42, 13, 0] print(sequentialSearch(testlist, 3)) print(s...
23.333333
43
0.562857
5dfeba6f5b2bd67ba17ab4889cce58ad3a069985
2,161
py
Python
homeassistant/components/vera/switch.py
JPHutchins/core
c471e043b8e061d9cef19c8382495a31c8c82789
[ "Apache-2.0" ]
2
2018-09-16T23:03:33.000Z
2021-08-30T23:12:50.000Z
homeassistant/components/vera/switch.py
JPHutchins/core
c471e043b8e061d9cef19c8382495a31c8c82789
[ "Apache-2.0" ]
43
2020-12-21T08:17:05.000Z
2022-03-31T06:04:47.000Z
homeassistant/components/vera/switch.py
JPHutchins/core
c471e043b8e061d9cef19c8382495a31c8c82789
[ "Apache-2.0" ]
null
null
null
"""Support for Vera switches.""" from typing import Any, Callable, List, Optional import pyvera as veraApi from homeassistant.components.switch import ( DOMAIN as PLATFORM_DOMAIN, ENTITY_ID_FORMAT, SwitchEntity, ) from homeassistant.config_entries import ConfigEntry from homeassistant.core import HomeAssi...
29.202703
78
0.669135
ec47918d1dd71690bd555ee4f54cdd7dcf87f942
37,072
py
Python
nlp_toolkit_version_0.1/nlp_toolbox.py
p-dimi/nlp_toolkit_public
492a4c272d62c4b3a1daa971d5bed5577113d6d1
[ "MIT" ]
1
2021-01-13T17:56:06.000Z
2021-01-13T17:56:06.000Z
nlp_toolkit_version_0.1/nlp_toolbox.py
p-dimi/NLP-tookit
492a4c272d62c4b3a1daa971d5bed5577113d6d1
[ "MIT" ]
null
null
null
nlp_toolkit_version_0.1/nlp_toolbox.py
p-dimi/NLP-tookit
492a4c272d62c4b3a1daa971d5bed5577113d6d1
[ "MIT" ]
null
null
null
### NLP TOOLBOX LIBRARY ### # Created by Dmitri Paley # ~First public version~ # This library was created to make certain deep-learning NLP uses easily accessible and usable by anyone # The library is made to be easily imported into your Python code and for complex operations to be simply called via a few simple comman...
57.744548
1,632
0.700016
f3c85dbe7475d480fc15c2b1619d3cd42d376236
2,246
py
Python
pollbot/models/option.py
kranthi105/ultimate-poll-bot
081aa7d4606e72489b33ba95a1777eacd74a7297
[ "MIT" ]
1
2020-08-10T08:07:34.000Z
2020-08-10T08:07:34.000Z
pollbot/models/option.py
kranthi105/ultimate-poll-bot
081aa7d4606e72489b33ba95a1777eacd74a7297
[ "MIT" ]
null
null
null
pollbot/models/option.py
kranthi105/ultimate-poll-bot
081aa7d4606e72489b33ba95a1777eacd74a7297
[ "MIT" ]
null
null
null
"""The sqlalchemy model for a polloption.""" from datetime import date from sqlalchemy import Column, ForeignKey, UniqueConstraint, func from sqlalchemy.orm import relationship from sqlalchemy.types import Boolean, DateTime, Integer, String from pollbot.db import base class Option(base): """The model for a Opti...
31.633803
86
0.63179
0407eec4aea1dae9a1c4435621eb9a9afac9dc28
3,329
py
Python
sleeptrackbackend/sleeptrackbackend/settings.py
katarinagalic/pillow-clock
bad4003ded92a3faf2ca4913623f47b4630ac53d
[ "MIT" ]
null
null
null
sleeptrackbackend/sleeptrackbackend/settings.py
katarinagalic/pillow-clock
bad4003ded92a3faf2ca4913623f47b4630ac53d
[ "MIT" ]
null
null
null
sleeptrackbackend/sleeptrackbackend/settings.py
katarinagalic/pillow-clock
bad4003ded92a3faf2ca4913623f47b4630ac53d
[ "MIT" ]
1
2019-08-07T19:38:05.000Z
2019-08-07T19:38:05.000Z
""" Django settings for sleeptrackbackend project. Generated by 'django-admin startproject' using Django 2.2. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ ...
26.846774
92
0.673175
fc468e22a2fbcabc9f9d5ae5d24648582622d7ef
235
py
Python
python/ch_07_guizero.py
huaiyang/raspberrypi_cookbook_ed3
faf63b37bf94332120f3d3a9cb31d8b0990d2f17
[ "MIT" ]
65
2018-11-23T08:52:42.000Z
2022-03-25T23:19:21.000Z
python/ch_07_guizero.py
zeitguy/raspberrypi_cookbook_ed3
bccf35ea309f493c1a45c3b96dec45dc7cebb0d9
[ "MIT" ]
1
2020-11-27T15:04:33.000Z
2020-11-27T15:04:33.000Z
python/ch_07_guizero.py
zeitguy/raspberrypi_cookbook_ed3
bccf35ea309f493c1a45c3b96dec45dc7cebb0d9
[ "MIT" ]
26
2019-07-02T16:10:37.000Z
2022-03-11T16:30:22.000Z
from guizero import * def say_hello(): info("An Alert", "Please don't press this button again") app = App(title="Pi Cookbook Example", height=200) button = PushButton(app, text="Don't Press Me", command=say_hello) app.display()
23.5
66
0.710638
36e00db417657a34a12680f83311ac10405e840f
2,261
py
Python
xos/synchronizer/steps/sync_vrouterdevice.py
pan2za/vrouter
a8cedaa68c677599dbe5d10ab99f62b015e04eba
[ "Apache-2.0" ]
null
null
null
xos/synchronizer/steps/sync_vrouterdevice.py
pan2za/vrouter
a8cedaa68c677599dbe5d10ab99f62b015e04eba
[ "Apache-2.0" ]
null
null
null
xos/synchronizer/steps/sync_vrouterdevice.py
pan2za/vrouter
a8cedaa68c677599dbe5d10ab99f62b015e04eba
[ "Apache-2.0" ]
null
null
null
import os import sys import requests import json from django.db.models import Q, F from services.vrouter.models import * from synchronizers.base.syncstep import SyncStep from xos.logger import Logger, logging # from core.models import Service from requests.auth import HTTPBasicAuth parentdir = os.path.join(os.path.di...
31.402778
121
0.678903
acc1864b240a2d47ec488268de150f660b32926a
1,052
py
Python
benchmarks/image_recognition/tensorflow/resnet50v1_5/training/fp32/model_init.py
yangw1234/models-1
7e7f484f4f22c760f9a5af836f57a3602b4fa7a6
[ "Apache-2.0" ]
357
2019-01-23T23:54:30.000Z
2022-03-31T05:32:25.000Z
benchmarks/image_recognition/tensorflow/resnet50v1_5/training/fp32/model_init.py
yangw1234/models-1
7e7f484f4f22c760f9a5af836f57a3602b4fa7a6
[ "Apache-2.0" ]
65
2019-02-06T15:35:35.000Z
2022-03-25T09:56:48.000Z
benchmarks/image_recognition/tensorflow/resnet50v1_5/training/fp32/model_init.py
yangw1234/models-1
7e7f484f4f22c760f9a5af836f57a3602b4fa7a6
[ "Apache-2.0" ]
164
2019-02-06T15:05:57.000Z
2022-03-31T11:48:14.000Z
# # -*- coding: utf-8 -*- # # Copyright (c) 2018 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 app...
32.875
80
0.768061
382f7b43bdb8d873b65744f59ec569e193d81c41
118
py
Python
src/geventhttpclient/__init__.py
odidev/geventhttpclient
e917e9a4d95cb0b4e191ef454fa52edf19932879
[ "MIT" ]
null
null
null
src/geventhttpclient/__init__.py
odidev/geventhttpclient
e917e9a4d95cb0b4e191ef454fa52edf19932879
[ "MIT" ]
null
null
null
src/geventhttpclient/__init__.py
odidev/geventhttpclient
e917e9a4d95cb0b4e191ef454fa52edf19932879
[ "MIT" ]
null
null
null
# package __version__ = "1.5.1" from geventhttpclient.client import HTTPClient from geventhttpclient.url import URL
16.857143
46
0.805085
acc95269b2c3af68348074977ee446a804a5da67
3,477
py
Python
datatau/settings.py
vdt/DataTau
fb238608884121ab25f059e8df674e037a2da28a
[ "MIT" ]
1
2019-07-03T06:31:31.000Z
2019-07-03T06:31:31.000Z
datatau/settings.py
vdt/DataTau
fb238608884121ab25f059e8df674e037a2da28a
[ "MIT" ]
null
null
null
datatau/settings.py
vdt/DataTau
fb238608884121ab25f059e8df674e037a2da28a
[ "MIT" ]
null
null
null
""" Django settings for datatau project. Generated by 'django-admin startproject' using Django 2.2.2. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ import os #...
26.142857
91
0.700892
881e03b053753b71870a08ae6c1a98686e50ae2c
82
py
Python
hastl/__init__.py
mortvest/hastl
898fd148bd5fd7b2521f11a9a9a21d00dbb576b8
[ "MIT" ]
4
2021-07-06T18:25:22.000Z
2022-01-31T09:24:56.000Z
hastl/__init__.py
mortvest/hastl
898fd148bd5fd7b2521f11a9a9a21d00dbb576b8
[ "MIT" ]
1
2021-08-19T11:33:40.000Z
2022-02-02T16:21:15.000Z
hastl/__init__.py
mortvest/hastl
898fd148bd5fd7b2521f11a9a9a21d00dbb576b8
[ "MIT" ]
null
null
null
from hastl.stl import STL, print_installed_backends from hastl.loess import LOESS
27.333333
51
0.853659
9adb4f07d10881acb6039d0a781db66b50b78c83
919
py
Python
startBot.py
Critteros/TestingBot
f0be7cfcc85bf0d9932e8f6f50c0e3e767192399
[ "Apache-2.0" ]
null
null
null
startBot.py
Critteros/TestingBot
f0be7cfcc85bf0d9932e8f6f50c0e3e767192399
[ "Apache-2.0" ]
null
null
null
startBot.py
Critteros/TestingBot
f0be7cfcc85bf0d9932e8f6f50c0e3e767192399
[ "Apache-2.0" ]
null
null
null
#This file is the entry point for the bot and root of all python scripts #Load .env from dotenv import load_dotenv load_dotenv() #Standard imports import discord, sys, asyncio, os from discord.ext import commands #Helpers from TestingBot.start_helper import loadParameters #Logger module from TestingBot.Log import...
20.422222
87
0.712731
c8528e4b494a6bcfd928e71e7b43bf6a75453765
2,681
py
Python
api_minions.py
mishoryu/twitter-minions
a1d0c3d2b65b13a11b67e2c15299323411a34b68
[ "MIT" ]
2
2019-07-24T19:43:23.000Z
2020-02-27T04:51:12.000Z
api_minions.py
mishoryu/twitter-minions
a1d0c3d2b65b13a11b67e2c15299323411a34b68
[ "MIT" ]
1
2017-11-14T20:01:04.000Z
2017-11-14T20:01:04.000Z
api_minions.py
mishoryu/twitter-minions
a1d0c3d2b65b13a11b67e2c15299323411a34b68
[ "MIT" ]
1
2020-02-27T04:51:14.000Z
2020-02-27T04:51:14.000Z
""" handles the bulk of the tweepy api operations """ import tweepy class APIMinions(object): """ minions tweepy api helper class. """ def __init__(self, app_consumer_key, app_consumer_secret, app_access_key, \ app_access_secret): """ create the object with empty properties. """ ...
33.5125
98
0.598284
6ae04220a1c0f3b07286d1ba404cc2868ff965f1
1,028
py
Python
setup.py
odra/koji-scheduler
121142376036629af4e40b3262774b6fedb82370
[ "MIT" ]
3
2021-09-14T18:39:38.000Z
2022-03-18T01:33:51.000Z
setup.py
odra/koji-scheduler
121142376036629af4e40b3262774b6fedb82370
[ "MIT" ]
null
null
null
setup.py
odra/koji-scheduler
121142376036629af4e40b3262774b6fedb82370
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # DO NOT EDIT THIS FILE! # This file has been autogenerated by dephell <3 # https://github.com/dephell/dephell try: from setuptools import setup except ImportError: from distutils.core import setup readme = '' setup( long_description=readme, name='koji-builder-kube', vers...
27.783784
78
0.568093
2ea8129373df468769371d17a2e006b82870764e
659
py
Python
Algorithms/Miscellaneous/Python/Coin Change.py
abdzitter/Daily-Coding-DS-ALGO-Practice
26ddbf7a3673608039a07d26d812fce31b69871a
[ "MIT" ]
289
2021-05-15T22:56:03.000Z
2022-03-28T23:13:25.000Z
Algorithms/Miscellaneous/Python/Coin Change.py
abdzitter/Daily-Coding-DS-ALGO-Practice
26ddbf7a3673608039a07d26d812fce31b69871a
[ "MIT" ]
1,812
2021-05-09T13:49:58.000Z
2022-01-15T19:27:17.000Z
Algorithms/Miscellaneous/Python/Coin Change.py
abdzitter/Daily-Coding-DS-ALGO-Practice
26ddbf7a3673608039a07d26d812fce31b69871a
[ "MIT" ]
663
2021-05-09T16:57:58.000Z
2022-03-27T14:15:07.000Z
# Recursive Python3 program for # coin change problem. # Returns the count of ways we can sum # S[0...m-1] coins to get sum n def count(S, m, n ): # If n is 0 then there is 1 # solution (do not include any coin) if (n == 0): return 1 # If n is less than 0 then no # solution exists if (n < 0): return 0; #...
19.969697
55
0.616085
6c49cc242ebc9d0064926c9271d850b1fe8a28ac
634
py
Python
iosicongallery/settings.py
wyrover/iosicongallery
6965ccdb26d076c2d84bc94cc5e246c83e9683db
[ "MIT" ]
2
2015-08-12T10:05:27.000Z
2016-07-26T06:45:10.000Z
iosicongallery/settings.py
wyrover/iosicongallery
6965ccdb26d076c2d84bc94cc5e246c83e9683db
[ "MIT" ]
null
null
null
iosicongallery/settings.py
wyrover/iosicongallery
6965ccdb26d076c2d84bc94cc5e246c83e9683db
[ "MIT" ]
null
null
null
# Scrapy settings for iosicongallery project # # For simplicity, this file contains only the most important settings by # default. All the other settings are documented here: # # http://doc.scrapy.org/en/latest/topics/settings.html # BOT_NAME = 'iosicongallery' SPIDER_MODULES = ['iosicongallery.spiders'] NEWSP...
30.190476
80
0.774448
5afa8a3b2004b9029c929a2c55c010fa6b220ee0
9,872
py
Python
scr/Scripts/Preprocessing.py
centre-for-humanities-computing/burial-mounds
9555d9523700315c0c1c2e37948b1d16035603d9
[ "MIT" ]
null
null
null
scr/Scripts/Preprocessing.py
centre-for-humanities-computing/burial-mounds
9555d9523700315c0c1c2e37948b1d16035603d9
[ "MIT" ]
null
null
null
scr/Scripts/Preprocessing.py
centre-for-humanities-computing/burial-mounds
9555d9523700315c0c1c2e37948b1d16035603d9
[ "MIT" ]
null
null
null
#!/usr/bin/env python """ ================================== Preprocessing: Create Raster Tiles ================================== ----- PURPOSE ----- This script takes large raster files in the form of '.tif' or '.img' and breaks them into tiles of a specified pixel length (default = 150 pixels by 150 pixels). Th...
40.625514
323
0.540721
b90fd07c3f645905f981c94ada8e7d90573acb44
487
py
Python
tests/test_healthcheck_router.py
randomicu/fakedata-provider
639e31888c2be57961f78d653a6a10d7f324be23
[ "Unlicense" ]
1
2021-05-11T19:35:11.000Z
2021-05-11T19:35:11.000Z
tests/test_healthcheck_router.py
randomicu/fakedata-provider
639e31888c2be57961f78d653a6a10d7f324be23
[ "Unlicense" ]
75
2020-09-25T07:25:23.000Z
2022-03-18T09:06:44.000Z
tests/test_healthcheck_router.py
randomicu/fakedata-provider
639e31888c2be57961f78d653a6a10d7f324be23
[ "Unlicense" ]
null
null
null
#!/usr/bin/env python from requests import Response from app import __version__ def test_healthcheck_router(client): with client: response: Response = client.get('/healthcheck') response_structure = { 'status': 'UP', 'version': __version__ } assert response.status_code == 20...
24.35
62
0.679671
0a1fd8eecef0ec6fe91f81ce2282220c6724387e
5,357
py
Python
sotorrent_pipeline/sotorrent/util/config.py
sotorrent/pipeline
5903c17162d9322ed21bed4b3683410c7e35b923
[ "Apache-2.0" ]
1
2021-04-10T22:58:33.000Z
2021-04-10T22:58:33.000Z
sotorrent_pipeline/sotorrent/util/config.py
sotorrent/pipeline
5903c17162d9322ed21bed4b3683410c7e35b923
[ "Apache-2.0" ]
null
null
null
sotorrent_pipeline/sotorrent/util/config.py
sotorrent/pipeline
5903c17162d9322ed21bed4b3683410c7e35b923
[ "Apache-2.0" ]
1
2021-09-22T16:07:22.000Z
2021-09-22T16:07:22.000Z
import copy import json import logging import os import sys from apache_beam.options.pipeline_options import PipelineOptions, SetupOptions from pkg_resources import resource_stream LOG_LEVEL = logging.INFO logger = logging.getLogger(__name__) class Config: def __init__(self, config_file, mode): logger.i...
48.7
112
0.639537
a54c6217da6db307d766a6a9736065d777efbf41
8,380
py
Python
docs/conf.py
elamperti/hangups
a421ccc045dbbe0ff13a8c7be03288634faae837
[ "MIT" ]
null
null
null
docs/conf.py
elamperti/hangups
a421ccc045dbbe0ff13a8c7be03288634faae837
[ "MIT" ]
null
null
null
docs/conf.py
elamperti/hangups
a421ccc045dbbe0ff13a8c7be03288634faae837
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # # hangups documentation build configuration file, created by # sphinx-quickstart on Tue Sep 30 19:42:56 2014. # # This file is execfile()d with the current directory set to its # containing dir. # # Note that not all possible configuration values are present in this # au...
31.268657
79
0.717303
c3b216fe183a8d83bf69fc1d0ad8822b4bdfa20f
4,840
py
Python
webapp/parse/parsers/parse_citilink.py
rom762/learn_python_pricer2
8e9e1e9cde63cd2cc00507086ef8c87f0ff0b22a
[ "MIT" ]
null
null
null
webapp/parse/parsers/parse_citilink.py
rom762/learn_python_pricer2
8e9e1e9cde63cd2cc00507086ef8c87f0ff0b22a
[ "MIT" ]
1
2021-03-19T22:04:01.000Z
2021-03-19T22:04:01.000Z
webapp/parse/parsers/parse_citilink.py
rom762/learn_python_pricer2
8e9e1e9cde63cd2cc00507086ef8c87f0ff0b22a
[ "MIT" ]
null
null
null
import os import logging import json import sys import time from datetime import datetime from pprint import pprint from random import randint import pandas as pd import requests from bs4 import BeautifulSoup logging.basicConfig(filename='parse.log', level=logging.DEBUG) parameters = { 'available': '1', 'sta...
29.156627
153
0.670041
74b90a10d3c3a12c8ee1334e3f2c3bc3c0d8e534
1,127
py
Python
google/ads/googleads/v5/enums/types/batch_job_status.py
batardo/google-ads-python
a39748521847e85138fca593f3be2681352ad024
[ "Apache-2.0" ]
null
null
null
google/ads/googleads/v5/enums/types/batch_job_status.py
batardo/google-ads-python
a39748521847e85138fca593f3be2681352ad024
[ "Apache-2.0" ]
null
null
null
google/ads/googleads/v5/enums/types/batch_job_status.py
batardo/google-ads-python
a39748521847e85138fca593f3be2681352ad024
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law o...
27.487805
74
0.700976
5de104ec8340064083f2c72af9c271f133ab6d3e
6,227
py
Python
src/geocurrency/currencies/viewsets.py
comradekingu/geocurrency
00131739555438b6926caea7c5b237bb23b9848d
[ "MIT" ]
null
null
null
src/geocurrency/currencies/viewsets.py
comradekingu/geocurrency
00131739555438b6926caea7c5b237bb23b9848d
[ "MIT" ]
null
null
null
src/geocurrency/currencies/viewsets.py
comradekingu/geocurrency
00131739555438b6926caea7c5b237bb23b9848d
[ "MIT" ]
null
null
null
import statistics import logging from datetime import date, timedelta from django.utils.decorators import method_decorator from django.views.decorators.cache import cache_page from django.views.decorators.vary import vary_on_cookie from drf_yasg import openapi from drf_yasg.utils import swagger_auto_schema from rest_f...
42.944828
120
0.62502
3c013dd6a4f3a88fd1f5b1da2f66e49678fd3831
245
py
Python
Python/Selection Sort/SelectionSort.py
DanielPramatarov/Sorting-and-Searching-Algorithms
52e5e2415924c236082261dca24fc2d5adc895fd
[ "Apache-2.0" ]
null
null
null
Python/Selection Sort/SelectionSort.py
DanielPramatarov/Sorting-and-Searching-Algorithms
52e5e2415924c236082261dca24fc2d5adc895fd
[ "Apache-2.0" ]
null
null
null
Python/Selection Sort/SelectionSort.py
DanielPramatarov/Sorting-and-Searching-Algorithms
52e5e2415924c236082261dca24fc2d5adc895fd
[ "Apache-2.0" ]
null
null
null
import sys A = [64, 25, 12, 22, 11] for i in range(len(A)): min_idx = i for j in range(i+1, len(A)): if A[min_idx] > A[j]: min_idx = j A[i], A[min_idx] = A[min_idx], A[i] for i in range(len(A)): print(f"{A[i]}"),
13.611111
37
0.502041
8a5155267cd4751e51530f9df672ccf654660e42
9,405
py
Python
finetuning.py
Jarvisgivemeasuit/Person_Seg
496ea0fbba7dcf1bc9d488b372385b9e16f42df2
[ "MIT" ]
null
null
null
finetuning.py
Jarvisgivemeasuit/Person_Seg
496ea0fbba7dcf1bc9d488b372385b9e16f42df2
[ "MIT" ]
null
null
null
finetuning.py
Jarvisgivemeasuit/Person_Seg
496ea0fbba7dcf1bc9d488b372385b9e16f42df2
[ "MIT" ]
null
null
null
import os import time import datetime import numpy as np from matplotlib import pyplot as plt from collections import namedtuple from progress.bar import Bar from apex import amp from PIL import Image import utils.metrics as metrics from utils.args import Args from utils.utils import * from model import get_model, sa...
37.62
161
0.557682
d8cda055dae60b04cdaea648d2dcb0e814b13f80
15,580
py
Python
tests/test_flow/test_persistence_fuzz.py
baxen/bionic
f722a72e9571b81f537ed51fcf15bc964a928024
[ "Apache-2.0" ]
null
null
null
tests/test_flow/test_persistence_fuzz.py
baxen/bionic
f722a72e9571b81f537ed51fcf15bc964a928024
[ "Apache-2.0" ]
null
null
null
tests/test_flow/test_persistence_fuzz.py
baxen/bionic
f722a72e9571b81f537ed51fcf15bc964a928024
[ "Apache-2.0" ]
null
null
null
import pytest from numpy.random import choice from textwrap import dedent from random import Random from bionic.exception import CodeVersioningError from bionic.persistence import FakeCloudStore from bionic import interpret import bionic as bn class SimpleFlowModel: """ Manages a simple Bionic flow where ev...
36.487119
91
0.621823
7eb61f7d4f3c6e1d64d6bd74d67af56d03790583
5,022
py
Python
workertasks/assignment/cognitive.py
danula/crowdcog
f467b82e5b362931bd03b19d896c13479da1c761
[ "MIT" ]
1
2021-01-04T07:30:16.000Z
2021-01-04T07:30:16.000Z
workertasks/assignment/cognitive.py
danula/crowdcog
f467b82e5b362931bd03b19d896c13479da1c761
[ "MIT" ]
null
null
null
workertasks/assignment/cognitive.py
danula/crowdcog
f467b82e5b362931bd03b19d896c13479da1c761
[ "MIT" ]
1
2020-10-01T01:52:15.000Z
2020-10-01T01:52:15.000Z
import os from django.conf import settings from django.core.files import File import uuid import json from sklearn.ensemble import RandomForestRegressor import pickle from workertasks.constants.constants import * from workertasks.models import Worker, CognitiveTestCompletion from workertasks.assignment.build_cogniti...
44.839286
145
0.546396
ac4f53d2a8c71639b6550b19cbacb29c0b8b7a57
10,324
py
Python
homeassistant/components/zha/core/const.py
N1c093/core
227292569936408475a8d169e4e54f4d1beeb16f
[ "Apache-2.0" ]
null
null
null
homeassistant/components/zha/core/const.py
N1c093/core
227292569936408475a8d169e4e54f4d1beeb16f
[ "Apache-2.0" ]
1
2021-03-01T13:21:01.000Z
2022-01-17T16:38:17.000Z
homeassistant/components/zha/core/const.py
angrycaptain19/core
084cfa4a1d83dca58fe7fa134025e007eb382a0e
[ "Apache-2.0" ]
null
null
null
"""All constants related to the ZHA component.""" import enum import logging from typing import List import bellows.zigbee.application from zigpy.config import CONF_DEVICE_PATH # noqa: F401 # pylint: disable=unused-import import zigpy_cc.zigbee.application import zigpy_deconz.zigbee.application import zigpy_xbee.zigb...
30.187135
88
0.788551
72335e13a86e857bb92e84fcf7465a87f8491026
805
py
Python
tethys_gizmos/gizmo_options/__init__.py
rfun/tethys
a19df1658c0e525ef8b0442df6a23c3fd067551b
[ "BSD-2-Clause" ]
79
2015-10-05T13:13:28.000Z
2022-02-01T12:30:33.000Z
tethys_gizmos/gizmo_options/__init__.py
rfun/tethys
a19df1658c0e525ef8b0442df6a23c3fd067551b
[ "BSD-2-Clause" ]
542
2015-08-12T22:11:32.000Z
2022-03-29T22:18:08.000Z
tethys_gizmos/gizmo_options/__init__.py
rfun/tethys
a19df1658c0e525ef8b0442df6a23c3fd067551b
[ "BSD-2-Clause" ]
71
2016-01-16T01:03:41.000Z
2022-03-31T17:55:54.000Z
""" ******************************************************************************** * Name: gizmo_options/__init__.py * Author: Nathan Swain and Ezra Rice * Created On: May 2015 * Copyright: (c) Brigham Young University 2015 * License: BSD 2-Clause **********************************************************************...
29.814815
80
0.616149
8a3dedb97dbb655fdd345ca80abaea71d600621b
8,089
py
Python
elements_sdk/models/volume_mini_reference.py
elements-storage/elements-sdk-python
39c365fe079dcd5928c5fe1bbaa67389bd5a3d81
[ "MIT" ]
6
2020-11-16T23:15:18.000Z
2022-03-14T03:56:12.000Z
elements_sdk/models/volume_mini_reference.py
elements-storage/elements-sdk-python
39c365fe079dcd5928c5fe1bbaa67389bd5a3d81
[ "MIT" ]
1
2021-07-28T13:03:49.000Z
2021-08-25T12:24:01.000Z
elements_sdk/models/volume_mini_reference.py
elements-storage/elements-sdk-python
39c365fe079dcd5928c5fe1bbaa67389bd5a3d81
[ "MIT" ]
null
null
null
# coding: utf-8 """ ELEMENTS API The version of the OpenAPI document: 2 Generated by: https://openapi-generator.tech """ import pprint import re # noqa: F401 import six from elements_sdk.configuration import Configuration class VolumeMiniReference(object): """NOTE: This class is auto generated ...
30.070632
146
0.585116
e800ef17ee327a1681cc5b4b7fe58da9ee3ae998
9,069
py
Python
tests/gcp/hooks/test_dataproc.py
AntonVolDev/airflow
b297b59593f6da6610a65cc0fabcafa5ea5992a7
[ "Apache-2.0" ]
1
2019-09-06T09:55:18.000Z
2019-09-06T09:55:18.000Z
tests/gcp/hooks/test_dataproc.py
AntonVolDev/airflow
b297b59593f6da6610a65cc0fabcafa5ea5992a7
[ "Apache-2.0" ]
null
null
null
tests/gcp/hooks/test_dataproc.py
AntonVolDev/airflow
b297b59593f6da6610a65cc0fabcafa5ea5992a7
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the #...
47.481675
109
0.666667
57911e4ca6fd8d6553b74e33d24c683dc0038885
18,162
py
Python
src/qt_designer/base_GUI.py
jowanpittevils/Databasemanager_Signalplotter
993152ad15793054df2acf386eb1c9a76610b789
[ "BSD-3-Clause" ]
null
null
null
src/qt_designer/base_GUI.py
jowanpittevils/Databasemanager_Signalplotter
993152ad15793054df2acf386eb1c9a76610b789
[ "BSD-3-Clause" ]
null
null
null
src/qt_designer/base_GUI.py
jowanpittevils/Databasemanager_Signalplotter
993152ad15793054df2acf386eb1c9a76610b789
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file '.\base_GUI.ui' # # Created by: PyQt5 UI code generator 5.15.3 # # WARNING: Any manual changes made to this file will be lost when pyuic5 is # run again. Do not edit this file unless you know what you are doing. from PyQt5 import QtCore, Q...
58.211538
122
0.740998
ccab8760fb32d2c5f726ab69671dc22689f12811
9,384
py
Python
mythril/support/signatures.py
rjx18/mythril
0325dbfd14ab7f442da6162989c3d40fdffea91f
[ "MIT" ]
null
null
null
mythril/support/signatures.py
rjx18/mythril
0325dbfd14ab7f442da6162989c3d40fdffea91f
[ "MIT" ]
null
null
null
mythril/support/signatures.py
rjx18/mythril
0325dbfd14ab7f442da6162989c3d40fdffea91f
[ "MIT" ]
null
null
null
"""The Mythril function signature database.""" import functools import logging import multiprocessing import os import sqlite3 import time from collections import defaultdict from typing import List, Set, DefaultDict, Dict from mythril.ethereum.util import get_solc_json log = logging.getLogger(__name__) lock = multi...
31.702703
98
0.593031
09f269c58da8d9563eb623d226288371d333dede
545
py
Python
gym_vgdl/setup.py
921kiyo/symbolic-rl
14db62adb32beca506ff94a55809d423ac375d86
[ "MIT" ]
52
2019-02-23T19:17:47.000Z
2022-03-23T09:43:31.000Z
gym_vgdl/setup.py
921kiyo/Symbolic-RL
27168c044306cf5e5846ab5679862921adb15382
[ "MIT" ]
5
2018-11-03T11:01:55.000Z
2018-11-03T11:02:14.000Z
gym_vgdl/setup.py
921kiyo/Symbolic_RL
27168c044306cf5e5846ab5679862921adb15382
[ "MIT" ]
12
2019-03-02T08:57:19.000Z
2021-10-10T01:00:47.000Z
from setuptools import setup, find_packages import sys, os.path # Don't import gym module here, since deps may not be installed sys.path.insert(0, os.path.join(os.path.dirname(__file__), 'gym_vgdl')) setup(name='gym_vgdl', version=0.1, description='VGDL', url='', author='', author_email=...
23.695652
71
0.60367
cbab03fc83dfcca5e00f120fe7766ce89ad4afe4
7,980
py
Python
tests/test_train_eval_mode.py
sgillen/stable-baselines3-contrib
b2e7126840259ccc7bda13cf96eb939e40689e78
[ "MIT" ]
null
null
null
tests/test_train_eval_mode.py
sgillen/stable-baselines3-contrib
b2e7126840259ccc7bda13cf96eb939e40689e78
[ "MIT" ]
null
null
null
tests/test_train_eval_mode.py
sgillen/stable-baselines3-contrib
b2e7126840259ccc7bda13cf96eb939e40689e78
[ "MIT" ]
null
null
null
import gym import numpy as np import pytest import torch as th import torch.nn as nn from stable_baselines3.common.preprocessing import get_flattened_obs_dim from stable_baselines3.common.torch_layers import BaseFeaturesExtractor from sb3_contrib import QRDQN, TQC class FlattenBatchNormDropoutExtractor(BaseFeaturesE...
35.309735
125
0.739348
0c4b2382a6afc905bf40f3f60e9dca18fd9501d4
102
py
Python
PycharmProjects/PythonValidacao/main.py
FeFSRibeiro/learning-python
4f642aa7e1c6523f5209f83ece7e974bfb3ef24e
[ "Apache-2.0" ]
null
null
null
PycharmProjects/PythonValidacao/main.py
FeFSRibeiro/learning-python
4f642aa7e1c6523f5209f83ece7e974bfb3ef24e
[ "Apache-2.0" ]
null
null
null
PycharmProjects/PythonValidacao/main.py
FeFSRibeiro/learning-python
4f642aa7e1c6523f5209f83ece7e974bfb3ef24e
[ "Apache-2.0" ]
null
null
null
from cpf_cnpj import CpfCnpj exemplo_cnpj = "3537983800011" documento = CpfCnpj(exemplo_cnpj,"cnpj")
20.4
40
0.803922
73cbb93943cb7427091b7256e48dca8a2308fd83
4,953
py
Python
polyaxon_schemas/api/clusters.py
granularai/polyaxon-schemas
017ae74701f21f12f0b25e75379681ea5d8baa9e
[ "MIT" ]
null
null
null
polyaxon_schemas/api/clusters.py
granularai/polyaxon-schemas
017ae74701f21f12f0b25e75379681ea5d8baa9e
[ "MIT" ]
null
null
null
polyaxon_schemas/api/clusters.py
granularai/polyaxon-schemas
017ae74701f21f12f0b25e75379681ea5d8baa9e
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import absolute_import, division, print_function from marshmallow import fields from polyaxon_schemas.base import BaseConfig, BaseSchema from polyaxon_schemas.fields import UUID class NodeGPUSchema(BaseSchema): index = fields.Int() name = fields.Str() uuid = UUID(...
31.547771
83
0.627498
122114378ecf515ed20356370bcbf15a306a9e5d
862
py
Python
davidson/runtime/theia.py
possiblyMikeB/davidson-jupyter
8980c1249756d421b70950b9895b75e16d7e68c0
[ "BSD-3-Clause" ]
null
null
null
davidson/runtime/theia.py
possiblyMikeB/davidson-jupyter
8980c1249756d421b70950b9895b75e16d7e68c0
[ "BSD-3-Clause" ]
null
null
null
davidson/runtime/theia.py
possiblyMikeB/davidson-jupyter
8980c1249756d421b70950b9895b75e16d7e68c0
[ "BSD-3-Clause" ]
null
null
null
""" 0;10;1cReturn config on servers to start for theia See https://jupyter-server-proxy.readthedocs.io/en/latest/server-process.html for more information. """ import os import shutil def setup_theia(): # Make sure theia is in $PATH def _theia_command(port): pwd = os.getcwd() full_path = shutil...
27.806452
143
0.580046
79e0a5588299269ae78f667dcefd0c7ec9363da0
95,314
py
Python
python/types.py
Vector35/binaryninja-api
a25db4472398773a43d47db188bcc0b9d3c9b4e6
[ "MIT" ]
589
2016-04-11T11:32:33.000Z
2022-03-30T09:49:37.000Z
python/types.py
Vector35/binaryninja-api
a25db4472398773a43d47db188bcc0b9d3c9b4e6
[ "MIT" ]
2,744
2016-04-11T02:47:37.000Z
2022-03-31T21:05:09.000Z
python/types.py
Vector35/binaryninja-api
a25db4472398773a43d47db188bcc0b9d3c9b4e6
[ "MIT" ]
178
2016-04-15T00:47:05.000Z
2022-03-24T10:42:54.000Z
# Copyright (c) 2015-2021 Vector 35 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, publish, ...
38.433065
163
0.773024
c8a90e87b33e1daf04872feae3d5bb42626a452b
390
py
Python
pbx/forms.py
Kgermando/es-script
f1b10ecf2c805e8875a025e7033c724e236f6cd1
[ "Apache-2.0" ]
null
null
null
pbx/forms.py
Kgermando/es-script
f1b10ecf2c805e8875a025e7033c724e236f6cd1
[ "Apache-2.0" ]
null
null
null
pbx/forms.py
Kgermando/es-script
f1b10ecf2c805e8875a025e7033c724e236f6cd1
[ "Apache-2.0" ]
null
null
null
from django import forms class ReportFilterForm(forms.Form): datetime_range = forms.CharField( label='Choose Date and time Range:', widget=forms.TextInput(attrs={ 'class': 'form-control pull-right', 'name': 'datetimerange', 'id': 'datetimerange', 'wid...
24.375
47
0.541026
99f42606904c79b0e323ba0fdd9de5d457c8ab90
9,444
py
Python
spyderlib/widgets/browser.py
junglefunkyman/spectracer
f595415e4bee19c72b6d7226f05ddd643b4cbe4b
[ "MIT" ]
null
null
null
spyderlib/widgets/browser.py
junglefunkyman/spectracer
f595415e4bee19c72b6d7226f05ddd643b4cbe4b
[ "MIT" ]
null
null
null
spyderlib/widgets/browser.py
junglefunkyman/spectracer
f595415e4bee19c72b6d7226f05ddd643b4cbe4b
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # # Copyright © 2009-2010 Pierre Raybaut # Licensed under the terms of the MIT License # (see spyderlib/__init__.py for details) """Simple web browser widget""" from spyderlib.qt.QtGui import (QHBoxLayout, QWidget, QVBoxLayout, QProgressBar, QLabel, QMe...
37.181102
81
0.57698
2257afa98de4046bfa149ef1aa29070bc955543c
10,435
py
Python
habitat_sim/agent/controls/pyrobot_noisy_controls.py
shacklettbp/habitat-sim
1d5f7a4a3bfc30b620cf99f75a09db124b7aa1a5
[ "MIT" ]
1
2021-04-27T01:33:38.000Z
2021-04-27T01:33:38.000Z
habitat_sim/agent/controls/pyrobot_noisy_controls.py
shacklettbp/habitat-sim
1d5f7a4a3bfc30b620cf99f75a09db124b7aa1a5
[ "MIT" ]
null
null
null
habitat_sim/agent/controls/pyrobot_noisy_controls.py
shacklettbp/habitat-sim
1d5f7a4a3bfc30b620cf99f75a09db124b7aa1a5
[ "MIT" ]
1
2020-11-26T16:09:20.000Z
2020-11-26T16:09:20.000Z
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. import attr import magnum as mn import numpy as np import scipy.stats import habitat_sim.bindings as hsim from habitat...
33.66129
106
0.630379