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
b90f54d52259df5370c156bb89c17f8368958017
1,845
py
Python
documents/aws-doc-sdk-examples/python/example_code/kda/kda-python-datagenerator-stockticker.py
siagholami/aws-documentation
2d06ee9011f3192b2ff38c09f04e01f1ea9e0191
[ "CC-BY-4.0" ]
5
2021-08-13T09:20:58.000Z
2021-12-16T22:13:54.000Z
documents/aws-doc-sdk-examples/python/example_code/kda/kda-python-datagenerator-stockticker.py
siagholami/aws-documentation
2d06ee9011f3192b2ff38c09f04e01f1ea9e0191
[ "CC-BY-4.0" ]
null
null
null
documents/aws-doc-sdk-examples/python/example_code/kda/kda-python-datagenerator-stockticker.py
siagholami/aws-documentation
2d06ee9011f3192b2ff38c09f04e01f1ea9e0191
[ "CC-BY-4.0" ]
null
null
null
# snippet-comment:[These are tags for the AWS doc team's sample catalog. Do not remove.] # snippet-sourcedescription:[kda-python-datagenerator-stockticker.py demonstrates how to generate sample data for Amazon Kinesis Data Analytics SQL applications.] # snippet-service:[kinesisanalytics] # snippet-keyword:[Python] # sn...
34.811321
162
0.720325
b90fbfa2a7bb6e18e5af7e82345d7b5cf393db62
2,347
py
Python
backend/app.py
alexespejo/project-argus
53a6a8b1790906044bffbd2db156322938b62da9
[ "MIT" ]
1
2022-03-21T02:13:25.000Z
2022-03-21T02:13:25.000Z
backend/app.py
alexespejo/project-argus
53a6a8b1790906044bffbd2db156322938b62da9
[ "MIT" ]
null
null
null
backend/app.py
alexespejo/project-argus
53a6a8b1790906044bffbd2db156322938b62da9
[ "MIT" ]
null
null
null
import face_recognition from flask import Flask, request, redirect, Response import camera import firestore as db # You can change this to any folder on your system ALLOWED_EXTENSIONS = {'png', 'jpg', 'jpeg'} app = Flask(__name__) if __name__ == "__main__": app.run(host='0.0.0.0', port=5001, debug=...
26.370787
94
0.672348
f8d46f993d25bd7f9f34660f23bf18928f5a3963
5,672
py
Python
module/classification_package/src/utils.py
fishial/Object-Detection-Model
4792f65ea785156a8e240d9cdbbc0c9d013ea0bb
[ "CC0-1.0" ]
1
2022-01-03T14:00:17.000Z
2022-01-03T14:00:17.000Z
module/classification_package/src/utils.py
fishial/Object-Detection-Model
4792f65ea785156a8e240d9cdbbc0c9d013ea0bb
[ "CC0-1.0" ]
null
null
null
module/classification_package/src/utils.py
fishial/Object-Detection-Model
4792f65ea785156a8e240d9cdbbc0c9d013ea0bb
[ "CC0-1.0" ]
1
2021-12-21T09:50:53.000Z
2021-12-21T09:50:53.000Z
import numpy as np import logging import numbers import torch import math import json import sys from torch.optim.lr_scheduler import LambdaLR from torchvision.transforms.functional import pad def get_padding(image): w, h = image.size max_wh = np.max([w, h]) h_padding = (max_wh - w) / 2 ...
33.761905
117
0.653738
f8d470d1980749c03e842d69c111ae8c0604cde9
992
py
Python
tests/pylint_plugins/test_assert_raises_without_msg.py
L-Net-1992/mlflow
a90574dbb730935c815ff41a0660b9a823b81630
[ "Apache-2.0" ]
null
null
null
tests/pylint_plugins/test_assert_raises_without_msg.py
L-Net-1992/mlflow
a90574dbb730935c815ff41a0660b9a823b81630
[ "Apache-2.0" ]
null
null
null
tests/pylint_plugins/test_assert_raises_without_msg.py
L-Net-1992/mlflow
a90574dbb730935c815ff41a0660b9a823b81630
[ "Apache-2.0" ]
null
null
null
import pytest from tests.pylint_plugins.utils import create_message, extract_node, skip_if_pylint_unavailable pytestmark = skip_if_pylint_unavailable()
30.060606
95
0.768145
f8d49b043794456e8669c31d21ba4a68846ab71c
5,088
py
Python
SVassembly/plot_bcs_across_bkpts.py
AV321/SVPackage
c9c625af7f5047ddb43ae79f8beb2ce9aadf7697
[ "MIT" ]
null
null
null
SVassembly/plot_bcs_across_bkpts.py
AV321/SVPackage
c9c625af7f5047ddb43ae79f8beb2ce9aadf7697
[ "MIT" ]
null
null
null
SVassembly/plot_bcs_across_bkpts.py
AV321/SVPackage
c9c625af7f5047ddb43ae79f8beb2ce9aadf7697
[ "MIT" ]
1
2019-01-22T19:16:24.000Z
2019-01-22T19:16:24.000Z
import pandas as pd import numpy as np import matplotlib matplotlib.use('Agg') import matplotlib.pyplot as plt import matplotlib.colors import csv from scipy.stats import mode import math as m import os import collections #set working directory #os.chdir("/mnt/ix1/Projects/M002_131217_gastric/P00526/P00526_WG10_15072...
36.085106
228
0.605149
f8d6b09688dbea2ed0259d01f1aa0504d9acbfdc
821
py
Python
bites/bite029.py
ChidinmaKO/Chobe-bitesofpy
2f933e6c8877a37d1ce7ef54ea22169fc67417d3
[ "MIT" ]
null
null
null
bites/bite029.py
ChidinmaKO/Chobe-bitesofpy
2f933e6c8877a37d1ce7ef54ea22169fc67417d3
[ "MIT" ]
null
null
null
bites/bite029.py
ChidinmaKO/Chobe-bitesofpy
2f933e6c8877a37d1ce7ef54ea22169fc67417d3
[ "MIT" ]
1
2019-07-16T19:12:52.000Z
2019-07-16T19:12:52.000Z
# tests
30.407407
74
0.478685
f8d75cfce0f3dc1a5df25624c4dcbf0a3624f6c0
2,917
py
Python
language-detection-webapp/blueprints/langid.py
derlin/SwigSpot_Schwyzertuutsch-Spotting
f38c8243ff34c6e512cadab5e4f51b08dacc16c6
[ "Apache-2.0" ]
6
2018-06-17T07:14:32.000Z
2020-03-02T15:28:25.000Z
language-detection-webapp/blueprints/langid.py
derlin/SwigSpot_Schwyzertuutsch-Spotting
f38c8243ff34c6e512cadab5e4f51b08dacc16c6
[ "Apache-2.0" ]
1
2021-03-31T18:42:26.000Z
2021-03-31T18:42:26.000Z
language-detection-webapp/blueprints/langid.py
derlin/SwigSpot_Schwyzertuutsch-Spotting
f38c8243ff34c6e512cadab5e4f51b08dacc16c6
[ "Apache-2.0" ]
1
2019-04-16T09:18:08.000Z
2019-04-16T09:18:08.000Z
import logging from flask import Blueprint from flask import Flask, render_template, request, flash from flask_wtf import FlaskForm from wtforms import StringField, validators, SelectField, BooleanField from wtforms.fields.html5 import IntegerRangeField from wtforms.widgets import TextArea import langid from utils.u...
29.765306
106
0.65204
f8d7e5ead057431bae183bbe4b52bcbc1bde7f4d
962
py
Python
var/spack/repos/builtin/packages/r-xts/package.py
kehw/spack
4f49b1a9301447a8cf880c99820cad65e5c2d7e3
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
2
2020-09-10T22:50:08.000Z
2021-01-12T22:18:54.000Z
var/spack/repos/builtin/packages/r-xts/package.py
kehw/spack
4f49b1a9301447a8cf880c99820cad65e5c2d7e3
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
14
2021-07-20T01:04:53.000Z
2022-03-02T01:08:36.000Z
var/spack/repos/builtin/packages/r-xts/package.py
kehw/spack
4f49b1a9301447a8cf880c99820cad65e5c2d7e3
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
1
2021-05-06T00:17:46.000Z
2021-05-06T00:17:46.000Z
# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other # Spack Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) from spack import *
41.826087
96
0.748441
f8d9062a56a02a0e0c258c3b8d23088b9caa04a9
11,421
py
Python
sandbox/lib/jumpscale/Jumpscale/core/BASECLASSES/JSConfigsBCDB.py
threefoldtech/threebot_prebuilt
1f0e1c65c14cef079cd80f73927d7c8318755c48
[ "Apache-2.0" ]
null
null
null
sandbox/lib/jumpscale/Jumpscale/core/BASECLASSES/JSConfigsBCDB.py
threefoldtech/threebot_prebuilt
1f0e1c65c14cef079cd80f73927d7c8318755c48
[ "Apache-2.0" ]
null
null
null
sandbox/lib/jumpscale/Jumpscale/core/BASECLASSES/JSConfigsBCDB.py
threefoldtech/threebot_prebuilt
1f0e1c65c14cef079cd80f73927d7c8318755c48
[ "Apache-2.0" ]
null
null
null
# Copyright (C) July 2018: TF TECH NV in Belgium see https://www.threefold.tech/ # In case TF TECH NV ceases to exist (e.g. because of bankruptcy) # then Incubaid NV also in Belgium will get the Copyright & Authorship for all changes made since July 2018 # and the license will automatically become Apache v2 for al...
34.609091
175
0.571228
f8da2f02f4840468e37f0eba92152ef522fab6ae
2,589
py
Python
source/tree.py
holderekt/regression-tree
130fe07262faea8681159092718310d9aefe9889
[ "MIT" ]
null
null
null
source/tree.py
holderekt/regression-tree
130fe07262faea8681159092718310d9aefe9889
[ "MIT" ]
null
null
null
source/tree.py
holderekt/regression-tree
130fe07262faea8681159092718310d9aefe9889
[ "MIT" ]
null
null
null
import utils as utl import error_measures as err # Regression Tree Node # Regression Tree
29.758621
93
0.588644
f8dde6ce7a9ea138ac9fe3fc5e28f791075d3425
454
py
Python
src/site/config.py
ninaamorim/sentiment-analysis-2018-president-election
a5c12f1b659186edbc2dfa916bc82a2cfa2dd67f
[ "MIT" ]
39
2018-09-05T14:42:05.000Z
2021-09-24T20:21:56.000Z
src/site/config.py
ninaamorim/sentiment-analysis-2018-president-election
a5c12f1b659186edbc2dfa916bc82a2cfa2dd67f
[ "MIT" ]
null
null
null
src/site/config.py
ninaamorim/sentiment-analysis-2018-president-election
a5c12f1b659186edbc2dfa916bc82a2cfa2dd67f
[ "MIT" ]
11
2018-12-07T19:43:44.000Z
2021-05-21T21:54:43.000Z
from starlette.applications import Starlette from starlette.middleware.gzip import GZipMiddleware from starlette.middleware.cors import CORSMiddleware from starlette.staticfiles import StaticFiles app = Starlette(debug=False, template_directory='src/site/templates') app.add_middleware(GZipMiddleware, minimum_size=500)...
45.4
76
0.830396
f8de8fc01b4a4af13fb95b42532f7a7fe7198cd6
225
py
Python
loadbalanceRL/lib/__init__.py
fqzhou/LoadBalanceControl-RL
689eec3b3b27e121aa45d2793e411f1863f6fc0b
[ "MIT" ]
11
2018-10-29T06:50:43.000Z
2022-03-28T14:26:09.000Z
loadbalanceRL/lib/__init__.py
fqzhou/LoadBalanceControl-RL
689eec3b3b27e121aa45d2793e411f1863f6fc0b
[ "MIT" ]
1
2022-03-01T13:46:25.000Z
2022-03-01T13:46:25.000Z
loadbalanceRL/lib/__init__.py
fqzhou/LoadBalanceControl-RL
689eec3b3b27e121aa45d2793e411f1863f6fc0b
[ "MIT" ]
6
2019-02-05T20:01:53.000Z
2020-09-04T12:30:00.000Z
#! /usr/bin/env python3 # -*- coding: utf-8 -*- """ Contains core logic for Rainman2 """ __author__ = 'Ari Saha (arisaha@icloud.com), Mingyang Liu(liux3941@umn.edu)' __date__ = 'Wednesday, February 14th 2018, 11:42:09 am'
20.454545
76
0.68
f8dfe184dbac3633e171f2ced9f8b35d7607d947
717
py
Python
openff/bespokefit/__init__.py
openforcefield/bespoke-f
27b072bd09610dc8209429118d739e1f453edd61
[ "MIT" ]
12
2020-08-28T20:49:00.000Z
2021-11-17T08:50:32.000Z
openff/bespokefit/__init__.py
openforcefield/bespoke-f
27b072bd09610dc8209429118d739e1f453edd61
[ "MIT" ]
95
2020-02-19T18:40:54.000Z
2021-12-02T10:52:23.000Z
openff/bespokefit/__init__.py
openforcefield/bespoke-f
27b072bd09610dc8209429118d739e1f453edd61
[ "MIT" ]
3
2021-04-01T04:22:49.000Z
2021-04-13T03:19:10.000Z
""" BespokeFit Creating bespoke parameters for individual molecules. """ import logging import sys from ._version import get_versions versions = get_versions() __version__ = versions["version"] __git_revision__ = versions["full-revisionid"] del get_versions, versions # Silence verbose messages when running the CLI ...
28.68
86
0.781032
f8e0235b8205933db406d18f8b9437b0dca33a40
1,810
py
Python
TRANSFORM/Resources/python/2006LUT_to_SDF.py
greenwoodms/TRANSFORM-Library
dc152d4f0298d3f18385f2ea33645d87d7812915
[ "Apache-2.0" ]
29
2018-04-24T17:06:19.000Z
2021-11-21T05:17:28.000Z
TRANSFORM/Resources/python/2006LUT_to_SDF.py
greenwoodms/TRANSFORM-Library
dc152d4f0298d3f18385f2ea33645d87d7812915
[ "Apache-2.0" ]
13
2018-04-05T08:34:27.000Z
2021-10-04T14:24:41.000Z
TRANSFORM/Resources/python/2006LUT_to_SDF.py
greenwoodms/TRANSFORM-Library
dc152d4f0298d3f18385f2ea33645d87d7812915
[ "Apache-2.0" ]
17
2018-08-06T22:18:01.000Z
2022-01-29T21:38:17.000Z
# -*- coding: utf-8 -*- """ Created on Tue Apr 03 11:06:37 2018 @author: vmg """ import sdf import numpy as np # Load 2006 LUT for interpolation # 2006 Groeneveld Look-Up Table as presented in # "2006 CHF Look-Up Table", Nuclear Engineering and Design 237, pp. 190-1922. # This file requires the file 2006LUTdata.tx...
36.2
137
0.651381
f8e07bde7c24919fc5325f0451f8753ee945632d
2,836
py
Python
test/asserting/policy.py
tmsanrinsha/vint
8c34196252b43d7361d0f58cb78cf2d3e4e4fbd0
[ "MIT" ]
2
2021-06-15T15:07:28.000Z
2021-10-05T12:23:23.000Z
test/asserting/policy.py
tmsanrinsha/vint
8c34196252b43d7361d0f58cb78cf2d3e4e4fbd0
[ "MIT" ]
null
null
null
test/asserting/policy.py
tmsanrinsha/vint
8c34196252b43d7361d0f58cb78cf2d3e4e4fbd0
[ "MIT" ]
null
null
null
import unittest from pathlib import Path from pprint import pprint from vint.compat.itertools import zip_longest from vint.linting.linter import Linter from vint.linting.config.config_default_source import ConfigDefaultSource
31.865169
97
0.685825
f8e0ad168c40024827eba4f57a5381ccd338e24b
39,902
py
Python
dataprofiler/labelers/character_level_cnn_model.py
gliptak/DataProfiler
37ffbf43652246ef27e070df7ff0d9f1b9529162
[ "Apache-2.0" ]
null
null
null
dataprofiler/labelers/character_level_cnn_model.py
gliptak/DataProfiler
37ffbf43652246ef27e070df7ff0d9f1b9529162
[ "Apache-2.0" ]
1
2021-11-20T01:08:12.000Z
2021-11-20T01:08:12.000Z
dataprofiler/labelers/character_level_cnn_model.py
gliptak/DataProfiler
37ffbf43652246ef27e070df7ff0d9f1b9529162
[ "Apache-2.0" ]
null
null
null
import copy import json import logging import os import sys import time from collections import defaultdict import numpy as np import tensorflow as tf from sklearn import decomposition from .. import dp_logging from . import labeler_utils from .base_model import AutoSubRegistrationMeta, BaseModel, BaseTrainableModel ...
40.38664
136
0.602276
f8e1bca5e78231c74ae6a4100aeb7480c5e84ad6
6,031
py
Python
airflow/contrib/plugins/metastore_browser/main.py
Nipica/airflow
211a71f8a6b9d808bd03af84bd77bf8ff0ef247f
[ "Apache-2.0" ]
null
null
null
airflow/contrib/plugins/metastore_browser/main.py
Nipica/airflow
211a71f8a6b9d808bd03af84bd77bf8ff0ef247f
[ "Apache-2.0" ]
1
2019-01-14T17:12:47.000Z
2019-01-14T17:12:47.000Z
airflow/contrib/plugins/metastore_browser/main.py
shubhamod/airflow
04f4622656656d4c55b69d460bbd2ed1379810c4
[ "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 #...
33.320442
75
0.62842
f8e296b5bc6bda6288119a1eb8117102f686848c
12,255
py
Python
app/lib/manage.py
AaronDewes/compose-nonfree
82ef3e58019ee03d163dea7aff4d7ed18d884238
[ "MIT" ]
5
2021-09-26T18:02:27.000Z
2022-03-30T10:16:03.000Z
app/lib/manage.py
AaronDewes/compose-nonfree
82ef3e58019ee03d163dea7aff4d7ed18d884238
[ "MIT" ]
5
2021-09-23T18:57:00.000Z
2021-11-02T06:47:05.000Z
app/lib/manage.py
AaronDewes/compose-nonfree
82ef3e58019ee03d163dea7aff4d7ed18d884238
[ "MIT" ]
3
2021-10-01T15:14:09.000Z
2022-03-30T10:16:06.000Z
#!/usr/bin/env python3 # SPDX-FileCopyrightText: 2021 Aaron Dewes <aaron.dewes@protonmail.com> # # SPDX-License-Identifier: MIT import stat import tempfile import threading from typing import List from sys import argv import os import requests import shutil import json import yaml import subprocess from lib.composeg...
37.941176
166
0.651652
f8e31dd1ab5827961bb3c5e7a54cd2196fee2f7f
2,814
py
Python
features/jit-features/query/query.py
YuanruiZJU/SZZ-TSE
093506f9019a0d8b412dad4672525f93150ca181
[ "MIT" ]
13
2019-04-15T12:54:56.000Z
2022-03-09T02:30:14.000Z
features/jit-features/query/query.py
YanYoungZhao/SZZ-TSE
093506f9019a0d8b412dad4672525f93150ca181
[ "MIT" ]
1
2022-01-27T02:33:09.000Z
2022-01-27T02:33:09.000Z
features/jit-features/query/query.py
YanYoungZhao/SZZ-TSE
093506f9019a0d8b412dad4672525f93150ca181
[ "MIT" ]
6
2019-11-04T11:24:13.000Z
2021-12-16T07:53:18.000Z
from query.base import BaseQuery
34.317073
76
0.643568
f8e3234f6fa0a9c3711d4ac7b793885d955f7286
449
py
Python
example/mappers.py
mikeywaites/flask-arrested
6b97ce2ad2765f9acab10f4726e310258aa51de0
[ "MIT" ]
46
2016-06-28T10:25:07.000Z
2019-12-10T20:53:47.000Z
example/mappers.py
mikeywaites/flask-arrested
6b97ce2ad2765f9acab10f4726e310258aa51de0
[ "MIT" ]
4
2018-02-10T10:53:08.000Z
2018-11-07T08:11:06.000Z
example/mappers.py
mikeywaites/flask-arrested
6b97ce2ad2765f9acab10f4726e310258aa51de0
[ "MIT" ]
9
2016-07-20T17:05:46.000Z
2022-02-15T18:40:17.000Z
from kim import Mapper, field from example.models import Planet, Character
19.521739
47
0.712695
f8e3680aea79628533b40e4e3bc074491f7796fd
3,660
py
Python
collections/ansible_collections/community/general/plugins/connection/saltstack.py
escalate/ansible-gitops-example-repository
f7f7a9fcd09abd982f5fcd3bd196809a6c4c2f08
[ "MIT" ]
1
2021-07-16T19:51:04.000Z
2021-07-16T19:51:04.000Z
collections/ansible_collections/community/general/plugins/connection/saltstack.py
escalate/ansible-gitops-example-repository
f7f7a9fcd09abd982f5fcd3bd196809a6c4c2f08
[ "MIT" ]
null
null
null
collections/ansible_collections/community/general/plugins/connection/saltstack.py
escalate/ansible-gitops-example-repository
f7f7a9fcd09abd982f5fcd3bd196809a6c4c2f08
[ "MIT" ]
null
null
null
# Based on local.py (c) 2012, Michael DeHaan <michael.dehaan@gmail.com> # Based on chroot.py (c) 2013, Maykel Moya <mmoya@speedyrails.com> # Based on func.py # (c) 2014, Michael Scherer <misc@zarb.org> # (c) 2017 Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt...
36.237624
133
0.668033
f8e37ad4239180526865365831c9ddf7d0371aa5
5,074
py
Python
create/views.py
normaldotcom/webvirtmgr
8d822cb94105abf82eb0ff6651a36c43b0911d2a
[ "Apache-2.0" ]
1
2019-07-16T20:32:44.000Z
2019-07-16T20:32:44.000Z
create/views.py
normaldotcom/webvirtmgr
8d822cb94105abf82eb0ff6651a36c43b0911d2a
[ "Apache-2.0" ]
null
null
null
create/views.py
normaldotcom/webvirtmgr
8d822cb94105abf82eb0ff6651a36c43b0911d2a
[ "Apache-2.0" ]
null
null
null
from django.shortcuts import render_to_response from django.http import HttpResponseRedirect from django.template import RequestContext from django.utils.translation import ugettext_lazy as _ from servers.models import Compute from create.models import Flavor from instance.models import Instance from libvirt import l...
44.121739
112
0.513599
f8e487af25b9797dd2a942cb5666ca85e89e2765
886
py
Python
utils/wassersteinGradientPenalty.py
andimarafioti/GACELA
34649fb01bdecbcb266db046a8b9c48c141f16e1
[ "MIT" ]
15
2020-05-12T02:58:12.000Z
2022-03-14T12:10:56.000Z
utils/wassersteinGradientPenalty.py
tifgan/gacela
cd496cfce128ea7b6191a93639f8f4efac7e7142
[ "MIT" ]
1
2021-05-22T14:02:06.000Z
2021-06-01T13:45:11.000Z
utils/wassersteinGradientPenalty.py
tifgan/gacela
cd496cfce128ea7b6191a93639f8f4efac7e7142
[ "MIT" ]
5
2020-06-18T20:15:00.000Z
2021-11-05T15:45:35.000Z
import torch __author__ = 'Andres'
42.190476
91
0.688488
f8e61b754a032cf61ead46cd66c6dc6f3690b256
121
py
Python
pytest_capture_log_error/test_file.py
butla/experiments
8c8ade15bb01978763d6618342fa42ad7563e38f
[ "MIT" ]
1
2020-06-01T02:41:45.000Z
2020-06-01T02:41:45.000Z
pytest_capture_log_error/test_file.py
butla/experiments
8c8ade15bb01978763d6618342fa42ad7563e38f
[ "MIT" ]
48
2019-12-26T16:38:19.000Z
2021-07-06T13:29:50.000Z
pytest_capture_log_error/test_file.py
butla/experiments
8c8ade15bb01978763d6618342fa42ad7563e38f
[ "MIT" ]
null
null
null
import a_file
20.166667
56
0.719008
f8e61d9aa8b9610c3339494d4c960ec17ee4ba35
286
py
Python
src_py/ui/identify_page.py
Magier/Aetia
7f6045d99904b808e1201f445d0d10b0dce54c37
[ "MIT" ]
null
null
null
src_py/ui/identify_page.py
Magier/Aetia
7f6045d99904b808e1201f445d0d10b0dce54c37
[ "MIT" ]
null
null
null
src_py/ui/identify_page.py
Magier/Aetia
7f6045d99904b808e1201f445d0d10b0dce54c37
[ "MIT" ]
null
null
null
import streamlit as st from ui.session_state import SessionState, get_state from infer import ModelStage
26
52
0.734266
f8e6a09b44f3ad67acebf3ea296df8c1d2d40eaf
4,075
py
Python
openke/data/UniverseTrainDataLoader.py
luofeisg/OpenKE-PuTransE
0bfefb3917e7479520917febd91a9f4d7353c7fc
[ "CC-BY-4.0", "MIT" ]
null
null
null
openke/data/UniverseTrainDataLoader.py
luofeisg/OpenKE-PuTransE
0bfefb3917e7479520917febd91a9f4d7353c7fc
[ "CC-BY-4.0", "MIT" ]
null
null
null
openke/data/UniverseTrainDataLoader.py
luofeisg/OpenKE-PuTransE
0bfefb3917e7479520917febd91a9f4d7353c7fc
[ "CC-BY-4.0", "MIT" ]
null
null
null
''' MIT License Copyright (c) 2020 Rashid Lafraie 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...
40.75
120
0.694724
f8e92112b61dc64252a8bdb77bbf3e0e15b55abe
5,074
py
Python
test/jit/test_backend_nnapi.py
Hacky-DH/pytorch
80dc4be615854570aa39a7e36495897d8a040ecc
[ "Intel" ]
60,067
2017-01-18T17:21:31.000Z
2022-03-31T21:37:45.000Z
test/jit/test_backend_nnapi.py
Hacky-DH/pytorch
80dc4be615854570aa39a7e36495897d8a040ecc
[ "Intel" ]
66,955
2017-01-18T17:21:38.000Z
2022-03-31T23:56:11.000Z
test/jit/test_backend_nnapi.py
Hacky-DH/pytorch
80dc4be615854570aa39a7e36495897d8a040ecc
[ "Intel" ]
19,210
2017-01-18T17:45:04.000Z
2022-03-31T23:51:56.000Z
import os import sys import unittest import torch import torch._C from pathlib import Path from test_nnapi import TestNNAPI from torch.testing._internal.common_utils import TEST_WITH_ASAN # Make the helper files in test/ importable pytorch_test_dir = os.path.dirname(os.path.dirname(os.path.realpath(__file__))) sys.pa...
44.508772
132
0.643082
f8e997acb5df08763f83e5ed402ea27c456b06ca
1,078
py
Python
main/configure.py
syxu828/Graph2Seq-0.1
36e38f755c0ee390735e49121259151da54bcc1c
[ "Apache-2.0" ]
24
2018-11-04T17:16:52.000Z
2022-01-06T12:34:49.000Z
main/configure.py
syxu828/Graph2Seq-0.1
36e38f755c0ee390735e49121259151da54bcc1c
[ "Apache-2.0" ]
3
2018-12-09T00:31:36.000Z
2020-07-29T06:21:51.000Z
main/configure.py
syxu828/Graph2Seq-0.1
36e38f755c0ee390735e49121259151da54bcc1c
[ "Apache-2.0" ]
4
2019-01-09T06:44:41.000Z
2019-08-04T07:55:00.000Z
train_data_path = "../data/no_cycle/train.data" dev_data_path = "../data/no_cycle/dev.data" test_data_path = "../data/no_cycle/test.data" word_idx_file_path = "../data/word.idx" word_embedding_dim = 100 train_batch_size = 32 dev_batch_size = 500 test_batch_size = 500 l2_lambda = 0.000001 learning_rate = 0.001 epoch...
21.137255
63
0.727273
f8ea7055295dd79ddcfe4843e79b06f95f13078d
7,506
py
Python
dataControlWidget.py
andreasbayer/AEGUIFit
6a1e31091b74d648d007c75c9fef6efae4086860
[ "BSD-3-Clause" ]
null
null
null
dataControlWidget.py
andreasbayer/AEGUIFit
6a1e31091b74d648d007c75c9fef6efae4086860
[ "BSD-3-Clause" ]
null
null
null
dataControlWidget.py
andreasbayer/AEGUIFit
6a1e31091b74d648d007c75c9fef6efae4086860
[ "BSD-3-Clause" ]
null
null
null
from PyQt5.QtWidgets import QLabel, QWidget, QGridLayout, QCheckBox, QGroupBox from InftyDoubleSpinBox import InftyDoubleSpinBox from PyQt5.QtCore import pyqtSignal, Qt import helplib as hl import numpy as np
34.589862
123
0.635092
f8ea7298a7caca93599e616f2e4db31947e61892
6,425
py
Python
src/freemovr_engine/calib/acquire.py
strawlab/flyvr
335892cae740e53e82e07b526e1ba53fbd34b0ce
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
3
2015-01-29T14:09:25.000Z
2016-04-24T04:25:49.000Z
src/freemovr_engine/calib/acquire.py
strawlab/flyvr
335892cae740e53e82e07b526e1ba53fbd34b0ce
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
null
null
null
src/freemovr_engine/calib/acquire.py
strawlab/flyvr
335892cae740e53e82e07b526e1ba53fbd34b0ce
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
null
null
null
import roslib roslib.load_manifest('sensor_msgs') roslib.load_manifest('dynamic_reconfigure') import rospy import sensor_msgs.msg import dynamic_reconfigure.srv import dynamic_reconfigure.encoding import numpy as np import time import os.path import queue def clear_queue(self): q = self.im_queue ...
36.095506
124
0.588327
f8eb7ee679859acda30ad6ca74e666a2bc11c767
6,949
py
Python
examples/hfht/pointnet_classification.py
nixli/hfta
76274b5ee0e32732da20b153a3cc6550510d8a78
[ "MIT" ]
24
2021-04-06T20:36:10.000Z
2022-02-26T17:03:33.000Z
examples/hfht/pointnet_classification.py
nixli/hfta
76274b5ee0e32732da20b153a3cc6550510d8a78
[ "MIT" ]
20
2021-04-02T00:51:34.000Z
2022-03-29T15:00:08.000Z
examples/hfht/pointnet_classification.py
nixli/hfta
76274b5ee0e32732da20b153a3cc6550510d8a78
[ "MIT" ]
5
2021-04-11T20:07:32.000Z
2021-06-14T06:41:05.000Z
import argparse import logging import numpy as np import os import pandas as pd import random import subprocess from pathlib import Path from hyperopt import hp from hyperopt.pyll.stochastic import sample from hfta.hfht import (tune_hyperparameters, attach_common_args, rearrange_algorithm_kwarg...
29.570213
80
0.61534
f8eb7f85d81c3a2dfe42f499dfc3e4db4b3a0b93
444
py
Python
cpdb/trr/migrations/0002_alter_trr_subject_id_type.py
invinst/CPDBv2_backend
b4e96d620ff7a437500f525f7e911651e4a18ef9
[ "Apache-2.0" ]
25
2018-07-20T22:31:40.000Z
2021-07-15T16:58:41.000Z
cpdb/trr/migrations/0002_alter_trr_subject_id_type.py
invinst/CPDBv2_backend
b4e96d620ff7a437500f525f7e911651e4a18ef9
[ "Apache-2.0" ]
13
2018-06-18T23:08:47.000Z
2022-02-10T07:38:25.000Z
cpdb/trr/migrations/0002_alter_trr_subject_id_type.py
invinst/CPDBv2_backend
b4e96d620ff7a437500f525f7e911651e4a18ef9
[ "Apache-2.0" ]
6
2018-05-17T21:59:43.000Z
2020-11-17T00:30:26.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.4 on 2018-03-06 04:00 from __future__ import unicode_literals from django.db import migrations, models
21.142857
57
0.61036
f8ec1873a929e5565a9c1de6ad8321fa85a4a6d9
1,409
py
Python
tests/utils/dut.py
Ostrokrzew/standalone-linux-io-tracer
5fcbe7f0c7b027d9e5fdfb4c6e9d553c6fa617b6
[ "BSD-3-Clause-Clear" ]
24
2019-05-09T08:36:46.000Z
2022-03-16T16:20:01.000Z
tests/utils/dut.py
Ostrokrzew/standalone-linux-io-tracer
5fcbe7f0c7b027d9e5fdfb4c6e9d553c6fa617b6
[ "BSD-3-Clause-Clear" ]
122
2019-05-27T12:27:15.000Z
2020-07-31T06:45:08.000Z
tests/utils/dut.py
Ostrokrzew/standalone-linux-io-tracer
5fcbe7f0c7b027d9e5fdfb4c6e9d553c6fa617b6
[ "BSD-3-Clause-Clear" ]
18
2019-05-27T09:31:56.000Z
2021-05-27T18:54:52.000Z
# # Copyright(c) 2020 Intel Corporation # SPDX-License-Identifier: BSD-3-Clause-Clear # from core.test_run_utils import TestRun from utils.installer import install_iotrace, check_if_installed from utils.iotrace import IotracePlugin from utils.misc import kill_all_io from test_tools.fio.fio import Fio
30.630435
112
0.726757
f8ecc8d3dac32d7fd54bf1a19d511383c8e5ce7f
355
py
Python
game_service.py
Drew8521/MusiQ
e52671c7dcc4f54f6cbb829486a733a9179575b1
[ "MIT" ]
null
null
null
game_service.py
Drew8521/MusiQ
e52671c7dcc4f54f6cbb829486a733a9179575b1
[ "MIT" ]
1
2019-08-09T21:36:33.000Z
2019-08-09T21:37:24.000Z
game_service.py
Drew8521/MusiQ
e52671c7dcc4f54f6cbb829486a733a9179575b1
[ "MIT" ]
null
null
null
from models import Song from random import choice
23.666667
60
0.622535
f8ed0d2649220a6a4bd9e78f42580892fbc06d4f
288
py
Python
stdlib/csv/custom_dialect.py
janbodnar/Python-Course
51705ab5a2adef52bcdb99a800e94c0d67144a38
[ "BSD-2-Clause" ]
13
2017-08-22T12:26:07.000Z
2021-07-29T16:13:50.000Z
stdlib/csv/custom_dialect.py
janbodnar/Python-Course
51705ab5a2adef52bcdb99a800e94c0d67144a38
[ "BSD-2-Clause" ]
1
2021-02-08T10:24:33.000Z
2021-02-08T10:24:33.000Z
stdlib/csv/custom_dialect.py
janbodnar/Python-Course
51705ab5a2adef52bcdb99a800e94c0d67144a38
[ "BSD-2-Clause" ]
17
2018-08-13T11:10:33.000Z
2021-07-29T16:14:02.000Z
#!/usr/bin/python # custom_dialect.py import csv csv.register_dialect("hashes", delimiter="#") f = open('items3.csv', 'w') with f: writer = csv.writer(f, dialect="hashes") writer.writerow(("pencils", 2)) writer.writerow(("plates", 1)) writer.writerow(("books", 4))
16.941176
45
0.635417
f8ed4e06a829662d9c548dd0be8745a5ea388df8
996
py
Python
servicex/web/forms.py
zorache/ServiceX_App
4479afa0f019bbdcd35812691e78abba442c9d37
[ "BSD-3-Clause" ]
3
2019-12-31T06:44:06.000Z
2021-03-19T17:39:42.000Z
servicex/web/forms.py
zorache/ServiceX_App
4479afa0f019bbdcd35812691e78abba442c9d37
[ "BSD-3-Clause" ]
132
2019-10-09T20:45:53.000Z
2022-03-30T19:07:37.000Z
servicex/web/forms.py
zorache/ServiceX_App
4479afa0f019bbdcd35812691e78abba442c9d37
[ "BSD-3-Clause" ]
12
2019-12-06T22:47:35.000Z
2021-09-23T21:13:47.000Z
from typing import Optional from flask_wtf import FlaskForm from wtforms import StringField, SelectField, SubmitField from wtforms.validators import DataRequired, Length, Email from servicex.models import UserModel
38.307692
80
0.653614
f8ee134e47a471c9b912238f8dbcd8fb83c49b93
3,405
py
Python
libs/export_pbs/exportPb.py
linye931025/FPN_Tensorflow-master
e972496a798e9d77a74ddc6062d46b152d072ce7
[ "MIT" ]
null
null
null
libs/export_pbs/exportPb.py
linye931025/FPN_Tensorflow-master
e972496a798e9d77a74ddc6062d46b152d072ce7
[ "MIT" ]
null
null
null
libs/export_pbs/exportPb.py
linye931025/FPN_Tensorflow-master
e972496a798e9d77a74ddc6062d46b152d072ce7
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import absolute_import, print_function, division import os, sys import tensorflow as tf import tf_slim as slim from tensorflow.python.tools import freeze_graph sys.path.append('../../') from data.io.image_preprocess import short_side_resize_for_inference_data from libs.configs...
38.693182
126
0.612335
f8eef0cd263627a15c156d8fca2fb80f3faea6c2
983
py
Python
ngadnap/command_templates/adapter_removal.py
smilefreak/NaDNAP
18354778dd896bc0ab3456ca7dbb9d194c1ebf4d
[ "MIT" ]
null
null
null
ngadnap/command_templates/adapter_removal.py
smilefreak/NaDNAP
18354778dd896bc0ab3456ca7dbb9d194c1ebf4d
[ "MIT" ]
null
null
null
ngadnap/command_templates/adapter_removal.py
smilefreak/NaDNAP
18354778dd896bc0ab3456ca7dbb9d194c1ebf4d
[ "MIT" ]
null
null
null
""" Adapter Removal templates """ # AdapterRemoval # # {0}: executable # {1}: fastq1 abs # {2}: fastq2 abs # {3}: fastq1 # {4}: fastq2 # {5}: minimum length # {6}: mismatch_rate # {7}: min base uality # {8}: min merge_length __ADAPTER_REMOVAL__=""" {0} --collapse --file1 {1} --file2 {2} --outputstats {3}....
31.709677
225
0.678535
f8f15b0752a64958efc156868083500a63e94dc1
1,745
py
Python
undercloud_heat_plugins/immutable_resources.py
AllenJSebastian/tripleo-common
d510a30266e002e90c358e69cb720bfdfa736134
[ "Apache-2.0" ]
52
2015-04-17T12:06:09.000Z
2021-11-23T09:46:30.000Z
undercloud_heat_plugins/immutable_resources.py
AllenJSebastian/tripleo-common
d510a30266e002e90c358e69cb720bfdfa736134
[ "Apache-2.0" ]
null
null
null
undercloud_heat_plugins/immutable_resources.py
AllenJSebastian/tripleo-common
d510a30266e002e90c358e69cb720bfdfa736134
[ "Apache-2.0" ]
47
2015-10-09T15:22:38.000Z
2021-04-22T04:35:57.000Z
# # 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 writing, software # ...
28.145161
78
0.696848
f8f2378998282c62f5eff079407d0b48e7bea81d
2,154
py
Python
slybot/setup.py
DataKnower/dk-portia
24579c0160167af2442117975bf7d6a714b4d7d5
[ "BSD-3-Clause" ]
null
null
null
slybot/setup.py
DataKnower/dk-portia
24579c0160167af2442117975bf7d6a714b4d7d5
[ "BSD-3-Clause" ]
null
null
null
slybot/setup.py
DataKnower/dk-portia
24579c0160167af2442117975bf7d6a714b4d7d5
[ "BSD-3-Clause" ]
null
null
null
from os.path import join, abspath, dirname, exists from slybot import __version__ from setuptools import setup, find_packages from setuptools.command.bdist_egg import bdist_egg from setuptools.command.sdist import sdist install_requires = ['Scrapy', 'scrapely', 'loginform', 'lxml', 'jsonschema', ...
29.916667
76
0.615135
f8f25149f3eefd3629cc486cf987c4d8a9a5bbb9
3,846
py
Python
yolov3.py
huhuhang/yolov3
6c254b3f453c394046381e1c00cb0908b8f97b3a
[ "MIT" ]
35
2018-10-12T06:33:09.000Z
2022-02-25T03:19:37.000Z
yolov3.py
huhuhang/yolov3
6c254b3f453c394046381e1c00cb0908b8f97b3a
[ "MIT" ]
1
2019-08-31T16:05:12.000Z
2020-01-05T15:34:54.000Z
yolov3.py
huhuhang/yolov3
6c254b3f453c394046381e1c00cb0908b8f97b3a
[ "MIT" ]
14
2018-12-10T22:48:51.000Z
2021-11-18T20:56:38.000Z
import torch import torch.nn as nn from .yolo_layer import * from .yolov3_base import * ################################################################### ## Backbone and helper modules
38.079208
119
0.578783
f8f25cd96d67041f861381dbd21810aa553cccdc
883
py
Python
tests/assets/test_driver_errors.py
CyrilLeMat/modelkit
2150ffe78ebb00e3302dac36ccb09e66becd5130
[ "MIT" ]
null
null
null
tests/assets/test_driver_errors.py
CyrilLeMat/modelkit
2150ffe78ebb00e3302dac36ccb09e66becd5130
[ "MIT" ]
null
null
null
tests/assets/test_driver_errors.py
CyrilLeMat/modelkit
2150ffe78ebb00e3302dac36ccb09e66becd5130
[ "MIT" ]
null
null
null
import os import pytest from modelkit.assets import errors from tests.conftest import skip_unless
29.433333
65
0.822197
f8f2d8744612c8dd54640bd2fc3dd67702898911
2,163
py
Python
wiki/tests.py
Jarquevious/makewiki
a945da5ab7704042ef9d740987e23da19ec87267
[ "MIT" ]
null
null
null
wiki/tests.py
Jarquevious/makewiki
a945da5ab7704042ef9d740987e23da19ec87267
[ "MIT" ]
4
2020-06-06T01:42:46.000Z
2021-06-10T20:10:57.000Z
wiki/tests.py
Jarquevious/makewiki
a945da5ab7704042ef9d740987e23da19ec87267
[ "MIT" ]
null
null
null
from django.test import TestCase from django.contrib.auth.models import User from wiki.models import Page # Create your tests here. def test_detail_page(self): """ Test to see if slug generated when saving a Page.""" # Create a user and save to the database user = User.objects.create() user.save() ...
27.730769
98
0.660194
f8f3fc84d2eec11a3d1fe8de179b44f825aeb0e4
419
py
Python
BanditSim/__init__.py
AJB0211/BanditSim
5426486b40c35492049b09f9b57eb18ad5d6ce63
[ "MIT" ]
null
null
null
BanditSim/__init__.py
AJB0211/BanditSim
5426486b40c35492049b09f9b57eb18ad5d6ce63
[ "MIT" ]
null
null
null
BanditSim/__init__.py
AJB0211/BanditSim
5426486b40c35492049b09f9b57eb18ad5d6ce63
[ "MIT" ]
null
null
null
from .multiarmedbandit import MultiArmedBandit from .eps_greedy_constant_stepsize import EpsilonGreedyConstantStepsize from .greedy_constant_stepsize import GreedyConstantStepsize from .epsilon_greedy_average_step import EpsilonGreedyAverageStep from .greedy_average_step import GreedyAverageStep from .greedy_bayes_upd...
38.090909
71
0.909308
f8f43d95779ee26635e6e7c26bda70278bc13afd
3,915
py
Python
tests/queries/test_query.py
txf626/django
95bda03f2da15172cf342f13ba8a77c007b63fbb
[ "PSF-2.0", "BSD-3-Clause" ]
2
2019-02-28T12:38:32.000Z
2019-09-30T08:08:16.000Z
tests/queries/test_query.py
Scheldon/django
11a9017179812198a12a2fc19610262a549aa46e
[ "PSF-2.0", "BSD-3-Clause" ]
57
2018-10-08T12:37:30.000Z
2018-10-08T17:39:26.000Z
tests/queries/test_query.py
Scheldon/django
11a9017179812198a12a2fc19610262a549aa46e
[ "PSF-2.0", "BSD-3-Clause" ]
1
2021-06-21T07:51:09.000Z
2021-06-21T07:51:09.000Z
from datetime import datetime from django.core.exceptions import FieldError from django.db.models import CharField, F, Q from django.db.models.expressions import SimpleCol from django.db.models.fields.related_lookups import RelatedIsNull from django.db.models.functions import Lower from django.db.models.lookups import...
41.648936
81
0.696552
f8f4457783432480005e18ff932b887d871f9663
16,356
py
Python
src/matrix_game/matrix_game.py
ewanlee/mackrl
6dd505aa09830f16c35a022f67e255db935c807e
[ "Apache-2.0" ]
26
2019-10-28T09:01:45.000Z
2021-09-20T08:56:12.000Z
src/matrix_game/matrix_game.py
ewanlee/mackrl
6dd505aa09830f16c35a022f67e255db935c807e
[ "Apache-2.0" ]
1
2020-07-25T06:50:05.000Z
2020-07-25T06:50:05.000Z
src/matrix_game/matrix_game.py
ewanlee/mackrl
6dd505aa09830f16c35a022f67e255db935c807e
[ "Apache-2.0" ]
6
2019-12-18T12:02:57.000Z
2021-03-03T13:15:47.000Z
# This notebook implements a proof-of-principle for # Multi-Agent Common Knowledge Reinforcement Learning (MACKRL) # The entire notebook can be executed online, no need to download anything # http://pytorch.org/ from itertools import chain import torch import torch.nn.functional as F from torch.multiprocessing import...
38.037209
145
0.547811
f8f4dcd9fb78ee1924b9f50173ac949a710abcfd
3,190
py
Python
testcases/school_bus.py
wilsonsuen/av-testing
a6967b4cb4e4ad6b10d041ffd3dc62188fccad81
[ "MIT" ]
null
null
null
testcases/school_bus.py
wilsonsuen/av-testing
a6967b4cb4e4ad6b10d041ffd3dc62188fccad81
[ "MIT" ]
null
null
null
testcases/school_bus.py
wilsonsuen/av-testing
a6967b4cb4e4ad6b10d041ffd3dc62188fccad81
[ "MIT" ]
null
null
null
import sys import os import glob import json from robot import rebot from robot.api import TestSuite sys.path.append(os.path.join(os.path.dirname(__file__), '..')) if __name__ == "__main__": main_suite = TestSuite('School Bus Scenario') main_suite.resource.imports.library('lib/simulation.py') testcas...
91.142857
1,951
0.754232
f8f623d0cb63c4b268f633b3bf392a5401ce666a
2,962
py
Python
pr_consistency/2.find_pr_branches.py
adrn/astropy-tools
c26a5e4cdf8735976375dd2b77de797a7723bcd9
[ "BSD-3-Clause" ]
10
2018-02-24T15:06:39.000Z
2020-11-24T15:28:35.000Z
pr_consistency/2.find_pr_branches.py
adrn/astropy-tools
c26a5e4cdf8735976375dd2b77de797a7723bcd9
[ "BSD-3-Clause" ]
63
2018-01-22T20:12:47.000Z
2021-07-10T15:42:58.000Z
pr_consistency/2.find_pr_branches.py
adrn/astropy-tools
c26a5e4cdf8735976375dd2b77de797a7723bcd9
[ "BSD-3-Clause" ]
16
2018-02-25T16:32:51.000Z
2021-07-10T13:33:46.000Z
# The purpose of this script is to check all the maintenance branches of the # given repository, and find which pull requests are included in which # branches. The output is a JSON file that contains for each pull request the # list of all branches in which it is included. We look specifically for the # message "Merge ...
33.659091
102
0.686698
f8f63abc9f6d14490126b79f424fe99cf745e819
603
py
Python
agents/solo_q_agents/q_agent_test/aux.py
pedMatias/matias_hfo
6d88e1043a1455f5c1f6cc11b9380869772f4176
[ "MIT" ]
1
2021-06-03T20:03:50.000Z
2021-06-03T20:03:50.000Z
agents/solo_q_agents/q_agent_test/aux.py
pedMatias/matias_hfo
6d88e1043a1455f5c1f6cc11b9380869772f4176
[ "MIT" ]
null
null
null
agents/solo_q_agents/q_agent_test/aux.py
pedMatias/matias_hfo
6d88e1043a1455f5c1f6cc11b9380869772f4176
[ "MIT" ]
1
2021-03-14T01:22:33.000Z
2021-03-14T01:22:33.000Z
from datetime import datetime as dt import os import numpy as np import settings
24.12
67
0.665008
f8f65ce2aa90b1532e983805cc84833de1433b1e
1,316
py
Python
Python38/Lib/site-packages/PyInstaller/hooks/hook-PyQt4.py
AXFS-H/Windows10Debloater
ab5f8a8a8fb065bb40b7ddbd1df75563d8b8d13e
[ "MIT" ]
5
2020-08-24T23:29:58.000Z
2022-02-07T19:58:07.000Z
PyInstaller/hooks/hook-PyQt4.py
jeremysanders/pyinstaller
321b24f9a9a5978337735816b36ca6b4a90a2fb4
[ "Apache-2.0" ]
12
2020-02-15T04:04:55.000Z
2022-02-18T20:29:49.000Z
PyInstaller/hooks/hook-PyQt4.py
jeremysanders/pyinstaller
321b24f9a9a5978337735816b36ca6b4a90a2fb4
[ "Apache-2.0" ]
2
2020-08-24T23:30:06.000Z
2021-12-23T18:23:38.000Z
#----------------------------------------------------------------------------- # Copyright (c) 2013-2020, PyInstaller Development Team. # # Distributed under the terms of the GNU General Public License (version 2 # or later) with exception for distributing the bootloader. # # The full license is in the file COPYING.txt...
35.567568
86
0.670213
f8f694a754b9e6ecfc7a48eb472c8ee96d237a42
278
py
Python
timeserio/utils/functools.py
ig248/timeserio
afc2a953a83e763418d417059493ef13a17d349c
[ "MIT" ]
63
2019-07-12T17:16:27.000Z
2022-02-22T11:06:50.000Z
timeserio/utils/functools.py
ig248/timeserio
afc2a953a83e763418d417059493ef13a17d349c
[ "MIT" ]
34
2019-07-30T11:52:09.000Z
2022-03-28T12:42:02.000Z
timeserio/utils/functools.py
ig248/timeserio
afc2a953a83e763418d417059493ef13a17d349c
[ "MIT" ]
12
2019-08-14T05:51:22.000Z
2021-03-15T09:34:15.000Z
import inspect def get_default_args(func): """Get default arguments of a function. """ signature = inspect.signature(func) return { k: v.default for k, v in signature.parameters.items() if v.default is not inspect.Parameter.empty }
21.384615
51
0.636691
f8f72bfabd477794319287090180fb8cb1c3008e
2,059
py
Python
Sec_10_expr_lambdas_fun_integradas/a_lambdas.py
PauloAlexSilva/Python
690913cdcfd8bde52d9ddd15e3c838e6aef27730
[ "MIT" ]
null
null
null
Sec_10_expr_lambdas_fun_integradas/a_lambdas.py
PauloAlexSilva/Python
690913cdcfd8bde52d9ddd15e3c838e6aef27730
[ "MIT" ]
null
null
null
Sec_10_expr_lambdas_fun_integradas/a_lambdas.py
PauloAlexSilva/Python
690913cdcfd8bde52d9ddd15e3c838e6aef27730
[ "MIT" ]
null
null
null
""" Utilizando Lambdas Conhecidas por Expresses Lambdas, ou simplesmente Lambdas, so funes sem nome, ou seja, funes annimas. # Funo em Python def funcao(x): return 3 * x + 1 print(funcao(4)) print(funcao(7)) # Expresso Lambda lambda x: 3 * x + 1 # Como utlizar a expresso lambda? calc = lambda x: 3 * x + 1...
20.79798
94
0.641088
f8f83df34dfaf5ae52ea9e532bb035a4e1cce478
825
py
Python
ex085.py
EduotavioFonseca/ProgramasPython
8e0ef5f6f4239d1fe52321f8795b6573f6ff5130
[ "MIT" ]
null
null
null
ex085.py
EduotavioFonseca/ProgramasPython
8e0ef5f6f4239d1fe52321f8795b6573f6ff5130
[ "MIT" ]
null
null
null
ex085.py
EduotavioFonseca/ProgramasPython
8e0ef5f6f4239d1fe52321f8795b6573f6ff5130
[ "MIT" ]
null
null
null
# Lista dentro de dicionrio campeonato = dict() gol = [] aux = 0 campeonato['Jogador'] = str(input('Digite o nome do jogador: ')) print() partidas = int(input('Quantas partidas ele jogou? ')) print() for i in range(0, partidas): aux = int(input(f'Quantos gols na partida {i + 1}? ')) gol.append(aux) p...
25.78125
71
0.613333
f8f8dae5df2040a52619a0f46630de1b8ffbe445
533
py
Python
heat/initial_data.py
kjetil-lye/ismo_heat
09776b740a0543e270417af653d2a047c94f1b50
[ "MIT" ]
null
null
null
heat/initial_data.py
kjetil-lye/ismo_heat
09776b740a0543e270417af653d2a047c94f1b50
[ "MIT" ]
6
2020-11-13T19:04:16.000Z
2022-02-10T02:10:50.000Z
heat/initial_data.py
kjetil-lye/ismo_heat
09776b740a0543e270417af653d2a047c94f1b50
[ "MIT" ]
1
2021-03-26T06:53:19.000Z
2021-03-26T06:53:19.000Z
import numpy
28.052632
85
0.613508
f8fa0708043799c2510940867111d04480ef484c
5,030
py
Python
explore/scripts/get_repos_creationhistory.py
john18/uccross.github.io
72cd88c7310ab1503467fba27add2338cf57d8f7
[ "MIT" ]
12
2019-03-02T06:42:37.000Z
2022-03-01T03:59:08.000Z
explore/scripts/get_repos_creationhistory.py
john18/uccross.github.io
72cd88c7310ab1503467fba27add2338cf57d8f7
[ "MIT" ]
6
2020-04-14T21:22:36.000Z
2022-01-19T23:41:35.000Z
explore/scripts/get_repos_creationhistory.py
john18/uccross.github.io
72cd88c7310ab1503467fba27add2338cf57d8f7
[ "MIT" ]
29
2017-11-08T19:39:20.000Z
2022-03-17T18:05:29.000Z
import helpers import json import re datfilepath = "../github-data/labRepos_CreationHistory.json" allData = {} # Check for and read existing data file allData = helpers.read_existing(datfilepath) # Read repo info data file (to use as repo list) dataObj = helpers.read_json("../github-data/labReposInfo.json") # Popul...
31.4375
110
0.695626
f8fb454d7a74c617f9f1467386eb93a2fe60e4db
341
py
Python
examples/test/runMe.py
tomaszjonak/PBL
738b95da52cd59dcacb0b9dc244ca1713b0264ac
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
examples/test/runMe.py
tomaszjonak/PBL
738b95da52cd59dcacb0b9dc244ca1713b0264ac
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
examples/test/runMe.py
tomaszjonak/PBL
738b95da52cd59dcacb0b9dc244ca1713b0264ac
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
#! /usr/bin/env python2.7 from __future__ import print_function import sys sys.path.append("../../include") import PyBool_public_interface as Bool if __name__ == "__main__": expr = Bool.parse_std("input.txt") expr = expr["main_expr"] expr = Bool.simplify(expr) expr = Bool.nne(expr) print(Bo...
16.238095
38
0.683284
f8fcc7a6b82e6b901e4e3c720b6e0e1f082a90c0
24,425
py
Python
calculator.py
rupen4678/botique_management_system
9b7807cc28bb15e024093d6161a8fef96ce7e291
[ "Apache-2.0" ]
null
null
null
calculator.py
rupen4678/botique_management_system
9b7807cc28bb15e024093d6161a8fef96ce7e291
[ "Apache-2.0" ]
null
null
null
calculator.py
rupen4678/botique_management_system
9b7807cc28bb15e024093d6161a8fef96ce7e291
[ "Apache-2.0" ]
null
null
null
from tkinter import * import random import time from PIL import Image from datetime import datetime from tinydb import * import os import pickle #from database1 import * from random import randint root = Tk() root.geometry("1600x800+0+0") root.title("Suman_dai_ko_DHOKAN") root.configure(bg="goldenrod4") text_Input =...
34.401408
155
0.600368
f8feca35fdbbdb7ba2119b9d7d1e1e21456081ac
18,656
py
Python
mmdet/models/anchor_heads/embedding_nnms_head_v2_limited.py
Lanselott/mmdetection
03ce0a87f4d52f4adf4f78fd39ad30b2da394376
[ "Apache-2.0" ]
null
null
null
mmdet/models/anchor_heads/embedding_nnms_head_v2_limited.py
Lanselott/mmdetection
03ce0a87f4d52f4adf4f78fd39ad30b2da394376
[ "Apache-2.0" ]
null
null
null
mmdet/models/anchor_heads/embedding_nnms_head_v2_limited.py
Lanselott/mmdetection
03ce0a87f4d52f4adf4f78fd39ad30b2da394376
[ "Apache-2.0" ]
null
null
null
import torch import torch.nn as nn from mmcv.cnn import normal_init from mmdet.core import distance2bbox, force_fp32, multi_apply, multiclass_nms, bbox_overlaps from ..builder import build_loss from ..registry import HEADS from ..utils import ConvModule, Scale, bias_init_with_prob from IPython import embed INF = 1e8
40.468547
125
0.572684
f8ff164c7b99d263ef5622eb983cd4b6a79fdda1
863
py
Python
firefly_flask/app/models.py
Haehnchen/trivago-firefly
ee92450fda42059f1865971849dc234a42dc9027
[ "MIT" ]
null
null
null
firefly_flask/app/models.py
Haehnchen/trivago-firefly
ee92450fda42059f1865971849dc234a42dc9027
[ "MIT" ]
null
null
null
firefly_flask/app/models.py
Haehnchen/trivago-firefly
ee92450fda42059f1865971849dc234a42dc9027
[ "MIT" ]
null
null
null
from . import db from sqlalchemy.dialects.mysql import LONGTEXT
28.766667
66
0.682503
f8ffdfd391593d89205af0a89c79433669635ec2
471
py
Python
plotly_basic_plots/line_chart2.py
HarishOsthe/Plotly_Dash_Practice_Codes
ca709509d27803a4d727b3986d4473cdd71a41a6
[ "MIT" ]
null
null
null
plotly_basic_plots/line_chart2.py
HarishOsthe/Plotly_Dash_Practice_Codes
ca709509d27803a4d727b3986d4473cdd71a41a6
[ "MIT" ]
null
null
null
plotly_basic_plots/line_chart2.py
HarishOsthe/Plotly_Dash_Practice_Codes
ca709509d27803a4d727b3986d4473cdd71a41a6
[ "MIT" ]
null
null
null
import pandas as pd import numpy as np import plotly.offline as pyo import plotly.graph_objs as go df= pd.read_csv("Data/nst-est2017-alldata.csv") df2=df[df["DIVISION"] == '1'] df2.set_index("NAME",inplace=True) list_of_pop_col=[col for col in df2.columns if col.startswith('POP')] df2=df2[list_of_pop_col] data=[go....
24.789474
69
0.66879
f8fff1c2d03cf1ef4aae436dd124c9505b06ab95
21,993
py
Python
tests/test_markup.py
samdoran/sphinx
4c91c038b220d07bbdfe0c1680af42fe897f342c
[ "BSD-2-Clause" ]
4,973
2015-01-03T15:44:00.000Z
2022-03-31T03:11:51.000Z
tests/test_markup.py
samdoran/sphinx
4c91c038b220d07bbdfe0c1680af42fe897f342c
[ "BSD-2-Clause" ]
7,850
2015-01-02T08:09:25.000Z
2022-03-31T18:57:40.000Z
tests/test_markup.py
samdoran/sphinx
4c91c038b220d07bbdfe0c1680af42fe897f342c
[ "BSD-2-Clause" ]
2,179
2015-01-03T15:26:53.000Z
2022-03-31T12:22:44.000Z
""" test_markup ~~~~~~~~~~~ Test various Sphinx-specific markup extensions. :copyright: Copyright 2007-2021 by the Sphinx team, see AUTHORS. :license: BSD, see LICENSE for details. """ import re import pytest from docutils import frontend, nodes, utils from docutils.parsers.rst import Parser as ...
35.702922
111
0.60592
5d018e12b1c73bed5cd0c0150226e9cf4fc0779d
50,253
py
Python
dev/tools/leveleditor/direct/showbase/ContainerLeakDetector.py
CrankySupertoon01/Toontown-2
60893d104528a8e7eb4aced5d0015f22e203466d
[ "MIT" ]
1
2021-02-13T22:40:50.000Z
2021-02-13T22:40:50.000Z
dev/tools/leveleditor/direct/showbase/ContainerLeakDetector.py
CrankySupertoonArchive/Toontown-2
60893d104528a8e7eb4aced5d0015f22e203466d
[ "MIT" ]
1
2018-07-28T20:07:04.000Z
2018-07-30T18:28:34.000Z
dev/tools/leveleditor/direct/showbase/ContainerLeakDetector.py
CrankySupertoonArchive/Toontown-2
60893d104528a8e7eb4aced5d0015f22e203466d
[ "MIT" ]
2
2019-12-02T01:39:10.000Z
2021-02-13T22:41:00.000Z
from pandac.PandaModules import PStatCollector from direct.directnotify.DirectNotifyGlobal import directNotify from direct.showbase.PythonUtil import Queue, invertDictLossless, makeFlywheelGen from direct.showbase.PythonUtil import itype, serialNum, safeRepr, fastRepr from direct.showbase.Job import Job import types, w...
44.159051
138
0.528804
5d02f65a15a35f3f5f2205ff5270eaa60e785026
12,032
py
Python
virtual/lib/python3.6/site-packages/sqlalchemy/sql/default_comparator.py
mzazakeith/flask-blog
2833404cc5e96ffdbfb767f35b9caf2bdcce7997
[ "MIT" ]
207
2018-10-01T08:53:01.000Z
2022-03-14T12:15:54.000Z
virtual/lib/python3.6/site-packages/sqlalchemy/sql/default_comparator.py
mzazakeith/flask-blog
2833404cc5e96ffdbfb767f35b9caf2bdcce7997
[ "MIT" ]
32
2018-05-01T05:24:43.000Z
2022-03-11T23:20:39.000Z
lib/python2.7/site-packages/sqlalchemy/sql/default_comparator.py
anish03/weather-dash
d517fa9da9028d1fc5d8fd71d77cee829ddee87b
[ "MIT" ]
53
2019-03-12T16:50:21.000Z
2022-03-15T23:16:18.000Z
# sql/default_comparator.py # Copyright (C) 2005-2018 the SQLAlchemy authors and contributors # <see AUTHORS file> # # This module is part of SQLAlchemy and is released under # the MIT License: http://www.opensource.org/licenses/mit-license.php """Default implementation of SQL comparison operations. """ from .. impor...
36.907975
79
0.593251
5d0300b0501feb02f7f7fdb3d0f6bb946c42313a
2,153
py
Python
recipes/serializers.py
klharshini/recipe-django-api
7ceb00ab26f6e0d19196519ece297d2f4d616a5d
[ "Apache-2.0" ]
null
null
null
recipes/serializers.py
klharshini/recipe-django-api
7ceb00ab26f6e0d19196519ece297d2f4d616a5d
[ "Apache-2.0" ]
3
2020-06-05T21:58:22.000Z
2021-06-10T21:40:50.000Z
recipes/serializers.py
klharshini/recipe-django-api
7ceb00ab26f6e0d19196519ece297d2f4d616a5d
[ "Apache-2.0" ]
null
null
null
from django.contrib.auth.validators import UnicodeUsernameValidator from rest_framework import serializers from django.contrib.auth.models import User from recipes.models import Recipe, Ingredient, Step
33.123077
69
0.672085
5d0375507c268370ae9c58f1a6b3dd509a4f4999
1,652
py
Python
tests/test_model/test_temporal_regression_head.py
jcwon0/BlurHPE
c97a57e92a8a7f171b0403aee640222a32513562
[ "Apache-2.0" ]
null
null
null
tests/test_model/test_temporal_regression_head.py
jcwon0/BlurHPE
c97a57e92a8a7f171b0403aee640222a32513562
[ "Apache-2.0" ]
null
null
null
tests/test_model/test_temporal_regression_head.py
jcwon0/BlurHPE
c97a57e92a8a7f171b0403aee640222a32513562
[ "Apache-2.0" ]
null
null
null
import numpy as np import pytest import torch from mmpose.models import TemporalRegressionHead def test_temporal_regression_head(): """Test temporal head.""" head = TemporalRegressionHead( in_channels=1024, num_joints=17, loss_keypoint=dict(type='MPJPELoss', use_target_wei...
28.982456
70
0.625303
5d03e84b9fba295a1596df9171a5466ae68073d3
415
py
Python
django_orm/sports_orm/leagues/migrations/0002_auto_20161031_1620.py
gfhuertac/coding_dojo_python
4d17bb63fb2b9669216a0f60326d4a4b9055af7e
[ "MIT" ]
null
null
null
django_orm/sports_orm/leagues/migrations/0002_auto_20161031_1620.py
gfhuertac/coding_dojo_python
4d17bb63fb2b9669216a0f60326d4a4b9055af7e
[ "MIT" ]
6
2020-06-06T01:50:21.000Z
2022-02-10T11:33:02.000Z
django_orm/sports_orm/leagues/migrations/0002_auto_20161031_1620.py
gfhuertac/coding_dojo_python
4d17bb63fb2b9669216a0f60326d4a4b9055af7e
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.10.2 on 2016-10-31 23:20 from __future__ import unicode_literals from django.db import migrations
19.761905
48
0.592771
5d04161d9491b3b2bccc61b8d346c61f251d0a5b
1,774
py
Python
353-Design-Snake-Game/solution.py
Tanych/CodeTracking
86f1cb98de801f58c39d9a48ce9de12df7303d20
[ "MIT" ]
null
null
null
353-Design-Snake-Game/solution.py
Tanych/CodeTracking
86f1cb98de801f58c39d9a48ce9de12df7303d20
[ "MIT" ]
null
null
null
353-Design-Snake-Game/solution.py
Tanych/CodeTracking
86f1cb98de801f58c39d9a48ce9de12df7303d20
[ "MIT" ]
null
null
null
# Your SnakeGame object will be instantiated and called as such: # obj = SnakeGame(width, height, food) # param_1 = obj.move(direction)
35.48
102
0.567644
5d046e78f1ff28c88e9dd3fba255e0d381257af6
975
py
Python
scripts/register_sam.py
jessebrennan/azul
65970a0947f38fae439a3bf8fd960d351787b7a3
[ "Apache-2.0" ]
null
null
null
scripts/register_sam.py
jessebrennan/azul
65970a0947f38fae439a3bf8fd960d351787b7a3
[ "Apache-2.0" ]
null
null
null
scripts/register_sam.py
jessebrennan/azul
65970a0947f38fae439a3bf8fd960d351787b7a3
[ "Apache-2.0" ]
null
null
null
from itertools import ( chain, ) import logging from azul import ( config, require, ) from azul.logging import ( configure_script_logging, ) from azul.terra import ( TDRClient, TDRSourceName, ) log = logging.getLogger(__name__) if __name__ == '__main__': main()
22.159091
78
0.644103
5d0642e93e7a866ace737fc8f40342ddac2993c4
17,835
py
Python
dsn/editor/construct.py
expressionsofchange/nerf0
788203619fc89c92e8c7301d62bbc4f1f4ee66e1
[ "MIT" ]
2
2019-04-30T05:42:05.000Z
2019-08-11T19:17:20.000Z
dsn/editor/construct.py
expressionsofchange/nerf0
788203619fc89c92e8c7301d62bbc4f1f4ee66e1
[ "MIT" ]
null
null
null
dsn/editor/construct.py
expressionsofchange/nerf0
788203619fc89c92e8c7301d62bbc4f1f4ee66e1
[ "MIT" ]
null
null
null
""" Tools to "play notes for the editor clef", which may be thought of as "executing editor commands". NOTE: in the below, we often connect notes together "manually", i.e. using NoteSlur(..., previous_hash). As an alternative, we could consider `nouts_for_notes`. """ from s_address import node_for_s_address, s_dfs f...
47.18254
120
0.691786
5d06e71f9e23ea91aab0fd29960c633c1cc96c2f
636
py
Python
src/pytong/base.py
richtong/pytong
6ff07a1bdf1d5e2232bfc102cce2dd74783bb111
[ "MIT" ]
null
null
null
src/pytong/base.py
richtong/pytong
6ff07a1bdf1d5e2232bfc102cce2dd74783bb111
[ "MIT" ]
null
null
null
src/pytong/base.py
richtong/pytong
6ff07a1bdf1d5e2232bfc102cce2dd74783bb111
[ "MIT" ]
null
null
null
"""Base for all Classes. Base mainly includes the description fields """ import logging from typing import Optional from .log import Log # type: ignore
22.714286
75
0.610063
5d073e43082666b4fb7e947816cf1a811338dbe3
620
py
Python
subprocess-10.py
GuillaumeFalourd/poc-subprocess
8f014a709ac2e471092d4ea1f61f1a9ff65ff571
[ "Apache-2.0" ]
1
2021-12-08T12:58:14.000Z
2021-12-08T12:58:14.000Z
subprocess-10.py
GuillaumeFalourd/poc-subprocess
8f014a709ac2e471092d4ea1f61f1a9ff65ff571
[ "Apache-2.0" ]
null
null
null
subprocess-10.py
GuillaumeFalourd/poc-subprocess
8f014a709ac2e471092d4ea1f61f1a9ff65ff571
[ "Apache-2.0" ]
null
null
null
import subprocess import re programs = input('Separe the programs with a space: ').split() secure_pattern = '[\w\d]' for program in programs: if not re.match(secure_pattern, program): print("Sorry we can't check that program") continue process = subprocess. run( ['which', program],...
22.962963
65
0.63871
5d0751ff55112db535e551765b215e8ad53a88d2
2,320
py
Python
authentication/socialaccount/forms.py
vo0doO/pydj-persweb
efcd6b7090230f7c0b9ec056008f6d1d9e876ed9
[ "CC0-1.0" ]
null
null
null
authentication/socialaccount/forms.py
vo0doO/pydj-persweb
efcd6b7090230f7c0b9ec056008f6d1d9e876ed9
[ "CC0-1.0" ]
4
2020-05-06T17:22:00.000Z
2021-12-13T20:43:30.000Z
authentication/socialaccount/forms.py
vo0doO/pydj-persweb
efcd6b7090230f7c0b9ec056008f6d1d9e876ed9
[ "CC0-1.0" ]
null
null
null
from __future__ import absolute_import from django import forms from authentication.account.forms import BaseSignupForm from . import app_settings, signals from .adapter import get_adapter from .models import SocialAccount
35.692308
76
0.617241
5d0792b2d66082b8e779a07e75899ce616d825f2
12,110
py
Python
pytheos/pytheos.py
nilsbeck/pytheos
de4f3a03330ddb28e68ddcaa7b4888ea9a25e238
[ "MIT" ]
null
null
null
pytheos/pytheos.py
nilsbeck/pytheos
de4f3a03330ddb28e68ddcaa7b4888ea9a25e238
[ "MIT" ]
1
2021-10-30T16:31:41.000Z
2021-10-30T16:31:41.000Z
pytheos/pytheos.py
nilsbeck/pytheos
de4f3a03330ddb28e68ddcaa7b4888ea9a25e238
[ "MIT" ]
1
2021-10-30T14:24:58.000Z
2021-10-30T14:24:58.000Z
#!/usr/bin/env python """ Provides the primary interface into the library """ from __future__ import annotations import asyncio import logging from typing import Callable, Optional, Union from . import utils from . import controllers from .networking.connection import Connection from .networking.types import SSDPRes...
31.952507
108
0.650372
5d0806edbac94be1802c588fc12c4cc3d74c7198
1,673
py
Python
source/188-Lista_celulares.py
FelixLuciano/DesSoft-2020.2
a44063d63778329f1e1266881f20f7954ecb528b
[ "MIT" ]
null
null
null
source/188-Lista_celulares.py
FelixLuciano/DesSoft-2020.2
a44063d63778329f1e1266881f20f7954ecb528b
[ "MIT" ]
null
null
null
source/188-Lista_celulares.py
FelixLuciano/DesSoft-2020.2
a44063d63778329f1e1266881f20f7954ecb528b
[ "MIT" ]
null
null
null
# Lista celulares # O departamento de marketing da sua empresa est interessado em obter apenas os nmeros de telefone celular, separando-os dos telefones fixos. Para simplificar esta operao sero considerados nmeros de celular apenas aqueles que, aps o cdigo de rea, iniciarem com o dgito adicional 9. # Voc recebeu a tare...
152.090909
409
0.775254
5d0889f3f4e69f4a0ebb469755c280704d4811e2
326
py
Python
test_modules/language_dictionary_test.py
1goodday/Google-Dictionary-Pronunciation.ankiaddon
35837802e41d81733aec656fbf4ad1c8e4aeec5e
[ "MIT" ]
1
2021-10-02T13:16:29.000Z
2021-10-02T13:16:29.000Z
test_modules/language_dictionary_test.py
1goodday/Google-Dictionary-Pronunciation.ankiaddon
35837802e41d81733aec656fbf4ad1c8e4aeec5e
[ "MIT" ]
2
2021-09-08T14:08:33.000Z
2021-10-10T04:35:08.000Z
test_modules/language_dictionary_test.py
1goodday/Google-Dictionary.ankiaddon
35837802e41d81733aec656fbf4ad1c8e4aeec5e
[ "MIT" ]
null
null
null
import csv _iso_639_1_codes_file = open("files/ISO-639-1_Codes.csv", mode='r') _iso_639_1_codes_dictreader = csv.DictReader(_iso_639_1_codes_file) _iso_639_1_codes_dict: dict = {} for _row in _iso_639_1_codes_dictreader: _iso_639_1_codes_dict[_row['ISO-639-1 Code']] = _row['Language'] print(str(_iso_639_1_codes_...
32.6
68
0.794479
5d090b8cc45daaa469bff1113230ad77ae43f4b6
9,596
py
Python
tianshou/data/collector.py
DZ9/tianshou
04208e6cce722b7a2353d9a5f4d6f0fc05797d67
[ "MIT" ]
1
2020-04-01T04:47:39.000Z
2020-04-01T04:47:39.000Z
tianshou/data/collector.py
TommeyChang/tianshou
4f843d3f51789f488169131a5b5decba8bab2b31
[ "MIT" ]
null
null
null
tianshou/data/collector.py
TommeyChang/tianshou
4f843d3f51789f488169131a5b5decba8bab2b31
[ "MIT" ]
1
2022-01-23T10:52:48.000Z
2022-01-23T10:52:48.000Z
import time import torch import warnings import numpy as np from tianshou.env import BaseVectorEnv from tianshou.data import Batch, ReplayBuffer,\ ListReplayBuffer from tianshou.utils import MovAvg
40.150628
79
0.492393
5d0a9e073091c730b7a6a4929db2b2500c65ff5d
1,591
py
Python
drink_partners/partners/tests/views/test_search_partner_view.py
henriquebraga/drink-partners
4702263ae3e43ea9403cff5a72b68245d61880c7
[ "Apache-2.0" ]
null
null
null
drink_partners/partners/tests/views/test_search_partner_view.py
henriquebraga/drink-partners
4702263ae3e43ea9403cff5a72b68245d61880c7
[ "Apache-2.0" ]
22
2020-05-02T19:32:24.000Z
2021-10-17T21:19:46.000Z
drink_partners/partners/tests/views/test_search_partner_view.py
henriquebraga/drink-partners
4702263ae3e43ea9403cff5a72b68245d61880c7
[ "Apache-2.0" ]
null
null
null
from drink_partners.contrib.samples import partner_bar_legal
31.82
90
0.649906
5d0c13bd9ead504a51ba033deca97415ff355734
17,858
py
Python
Titanic/class_create_model_of_logistic_regression.py
ysh329/Titanic-Machine-Learning-from-Disaster
d2ba330625e40b648b2946a8ca221198af148368
[ "MIT" ]
1
2018-07-23T08:41:02.000Z
2018-07-23T08:41:02.000Z
Titanic/class_create_model_of_logistic_regression.py
ysh329/Titanic-Machine-Learning-from-Disaster
d2ba330625e40b648b2946a8ca221198af148368
[ "MIT" ]
null
null
null
Titanic/class_create_model_of_logistic_regression.py
ysh329/Titanic-Machine-Learning-from-Disaster
d2ba330625e40b648b2946a8ca221198af148368
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # !/usr/bin/python ################################### PART0 DESCRIPTION ################################# # Filename: class_create_model_of_logistic_regression.py # Description: # # Author: Shuai Yuan # E-mail: ysh329@sina.com # Create: 2016-01-23 23:32:49 # Last: __author__ = 'yuens' ######...
48.005376
177
0.57302
5d0d63268d357d52fa0b7327baa9d61702e3b1cd
3,341
py
Python
mjecv/io/base.py
mje-nz/mjecv
9a02c005a0abc7d21594f65c348cfe5185c90184
[ "MIT" ]
null
null
null
mjecv/io/base.py
mje-nz/mjecv
9a02c005a0abc7d21594f65c348cfe5185c90184
[ "MIT" ]
null
null
null
mjecv/io/base.py
mje-nz/mjecv
9a02c005a0abc7d21594f65c348cfe5185c90184
[ "MIT" ]
null
null
null
import multiprocessing from typing import List, Optional import numpy as np from ..util import dill_for_apply
33.079208
86
0.609398
5d0f2e44cd4703366dc6065304ee5f71411d41c4
1,495
py
Python
377_combination_sum_iv.py
gengwg/leetcode
0af5256ec98149ef5863f3bba78ed1e749650f6e
[ "Apache-2.0" ]
2
2018-04-24T19:17:40.000Z
2018-04-24T19:33:52.000Z
377_combination_sum_iv.py
gengwg/leetcode
0af5256ec98149ef5863f3bba78ed1e749650f6e
[ "Apache-2.0" ]
null
null
null
377_combination_sum_iv.py
gengwg/leetcode
0af5256ec98149ef5863f3bba78ed1e749650f6e
[ "Apache-2.0" ]
3
2020-06-17T05:48:52.000Z
2021-01-02T06:08:25.000Z
# 377 Combination Sum IV # Given an integer array with all positive numbers and no duplicates, # find the number of possible combinations that add up to a positive integer target. # # Example: # # nums = [1, 2, 3] # target = 4 # # The possible combination ways are: # (1, 1, 1, 1) # (1, 1, 2) # (1, 2, 1) # (1, 3) # (2,...
24.508197
84
0.535786
5d102888dd921effe96e5fc388b2a1b8ea50b383
3,440
py
Python
nvidia-texture-tools/conanfile.py
koeleck/conan-packages
da43e82c2444e934e69a38e524998d028f8edcc3
[ "Unlicense" ]
null
null
null
nvidia-texture-tools/conanfile.py
koeleck/conan-packages
da43e82c2444e934e69a38e524998d028f8edcc3
[ "Unlicense" ]
null
null
null
nvidia-texture-tools/conanfile.py
koeleck/conan-packages
da43e82c2444e934e69a38e524998d028f8edcc3
[ "Unlicense" ]
null
null
null
from conans import ConanFile, CMake, tools import os STATIC_LIBS = ["nvtt", "squish", "rg_etc1", "nvimage", "bc6h", "posh", "bc7", "nvmath", "nvthread", "nvcore"] SHARED_LIBS = ["nvtt", "nvimage", "nvthread", "nvmath", "nvcore"]
47.123288
184
0.627326
5d105ccb37935c70d4da4645c5743044452805b9
2,890
py
Python
train_args.py
MyWay/Create-Your-Own-Image-Classifier
70e5744084435af8a74b2cfe2098c25b0745c9af
[ "MIT" ]
null
null
null
train_args.py
MyWay/Create-Your-Own-Image-Classifier
70e5744084435af8a74b2cfe2098c25b0745c9af
[ "MIT" ]
null
null
null
train_args.py
MyWay/Create-Your-Own-Image-Classifier
70e5744084435af8a74b2cfe2098c25b0745c9af
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 """ train_args.py train_args.py command-line args. """ import argparse def get_args(): """ """ parser = argparse.ArgumentParser( description="This script lets you train and save your model.", usage="python3 train.py flowers/train --gpu --learning_rate 0.001 --epochs...
30.104167
112
0.450173
5d12933f8b3900ae610ac625eadbf5cf407b20ba
1,483
py
Python
apps/payment/views.py
canadiyaman/thetask
0f1cea1d8eea4966138ef0bdc303a53e3511e57d
[ "RSA-MD" ]
null
null
null
apps/payment/views.py
canadiyaman/thetask
0f1cea1d8eea4966138ef0bdc303a53e3511e57d
[ "RSA-MD" ]
null
null
null
apps/payment/views.py
canadiyaman/thetask
0f1cea1d8eea4966138ef0bdc303a53e3511e57d
[ "RSA-MD" ]
null
null
null
from django.http import HttpResponseRedirect from django.conf import settings from django.views.generic import TemplateView from apps.payment.models import PaymentLog from apps.payment.stripe import get_token, get_payment_charge from apps.subscription.views import start_subscription
34.488372
106
0.653405
5d12b1edae2081b00e12d5653d2750d5567eb062
211
py
Python
users/apps.py
srinidhibhat/booknotes
666f92fac309b97c13b79e91f5493220f934cab3
[ "MIT" ]
null
null
null
users/apps.py
srinidhibhat/booknotes
666f92fac309b97c13b79e91f5493220f934cab3
[ "MIT" ]
2
2020-08-11T07:23:21.000Z
2020-08-11T07:26:41.000Z
users/apps.py
srinidhibhat/booknotes-DjangoProject
666f92fac309b97c13b79e91f5493220f934cab3
[ "MIT" ]
null
null
null
from django.apps import AppConfig
23.444444
75
0.71564
5d12e645166a3997ff332b7bb734f77bb3785c93
1,407
py
Python
secure_data_store/cli.py
HumanBrainProject/secure-data-store
69b615cf979fc08f4ae8474ca9cd3e6d2f04b7f0
[ "MIT" ]
1
2021-11-23T12:26:01.000Z
2021-11-23T12:26:01.000Z
secure_data_store/cli.py
HumanBrainProject/secure-data-store
69b615cf979fc08f4ae8474ca9cd3e6d2f04b7f0
[ "MIT" ]
null
null
null
secure_data_store/cli.py
HumanBrainProject/secure-data-store
69b615cf979fc08f4ae8474ca9cd3e6d2f04b7f0
[ "MIT" ]
1
2020-05-21T15:51:44.000Z
2020-05-21T15:51:44.000Z
# -*- coding: utf-8 -*- """Console script for secure_data_store.""" import click from . import secure_data_store as sds CONFIG='~/.sdsrc' main()
29.3125
88
0.663113
5d13dcd7f99f525058d1ada523c294f362a0d8b9
1,052
py
Python
Support/Fuego/Pythia/pythia-0.4/packages/pyre/pyre/graph/Node.py
marient/PelePhysics
e6ad1839d77b194e09ab44ff850c9489652e5d81
[ "BSD-3-Clause-LBNL" ]
1
2019-04-24T13:32:23.000Z
2019-04-24T13:32:23.000Z
Support/Fuego/Pythia/pythia-0.4/packages/pyre/pyre/graph/Node.py
marient/PelePhysics
e6ad1839d77b194e09ab44ff850c9489652e5d81
[ "BSD-3-Clause-LBNL" ]
null
null
null
Support/Fuego/Pythia/pythia-0.4/packages/pyre/pyre/graph/Node.py
marient/PelePhysics
e6ad1839d77b194e09ab44ff850c9489652e5d81
[ "BSD-3-Clause-LBNL" ]
null
null
null
#!/usr/bin/env python # # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # # Michael A.G. Aivazis # California Institute of Technology # (C) 1998-2003 All Rights Reserved # # <LicenseText> # # ~~~~~~~~~~~~~~~~~...
19.849057
82
0.429658
5d13e82b9800d2ed9d73368f30bea490d35c562b
3,522
py
Python
cairis/gui/RiskScatterPanel.py
RachelLar/cairis_update
0b1d6d17ce49bc74887d1684e28c53c1b06e2fa2
[ "Apache-2.0" ]
null
null
null
cairis/gui/RiskScatterPanel.py
RachelLar/cairis_update
0b1d6d17ce49bc74887d1684e28c53c1b06e2fa2
[ "Apache-2.0" ]
null
null
null
cairis/gui/RiskScatterPanel.py
RachelLar/cairis_update
0b1d6d17ce49bc74887d1684e28c53c1b06e2fa2
[ "Apache-2.0" ]
null
null
null
# 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...
33.865385
141
0.70017
5d147935a791e2ef09a425d200ac60697365562a
7,380
py
Python
sdk/python/pulumi_azure/containerservice/get_registry.py
aangelisc/pulumi-azure
71dd9c75403146e16f7480e5a60b08bc0329660e
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_azure/containerservice/get_registry.py
aangelisc/pulumi-azure
71dd9c75403146e16f7480e5a60b08bc0329660e
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_azure/containerservice/get_registry.py
aangelisc/pulumi-azure
71dd9c75403146e16f7480e5a60b08bc0329660e
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
# 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...
36.716418
215
0.65813
5d14d6320ca92dcf32c70f780204293a845032e6
21,539
py
Python
contrib/memcache_whisper.py
TimWhalen/graphite-web
e150af45e01d01141a8767ec0597e218105b9914
[ "Apache-2.0" ]
1
2020-01-23T16:25:50.000Z
2020-01-23T16:25:50.000Z
contrib/memcache_whisper.py
TimWhalen/graphite-web
e150af45e01d01141a8767ec0597e218105b9914
[ "Apache-2.0" ]
2
2016-07-28T20:55:46.000Z
2016-08-02T13:59:28.000Z
contrib/memcache_whisper.py
TimWhalen/graphite-web
e150af45e01d01141a8767ec0597e218105b9914
[ "Apache-2.0" ]
1
2020-03-05T06:50:02.000Z
2020-03-05T06:50:02.000Z
#!/usr/bin/env python # Copyright 2008 Orbitz WorldWide # # 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 ...
40.563089
160
0.720553
5d15eae6d6d420d8166df518e95a6f5df2ba41f1
2,619
py
Python
main.py
showtimesynergy/mojify
8c012730b9f56d6e7e2003e8db99669516f4e027
[ "BSD-2-Clause" ]
null
null
null
main.py
showtimesynergy/mojify
8c012730b9f56d6e7e2003e8db99669516f4e027
[ "BSD-2-Clause" ]
null
null
null
main.py
showtimesynergy/mojify
8c012730b9f56d6e7e2003e8db99669516f4e027
[ "BSD-2-Clause" ]
null
null
null
from PIL import Image import csv from ast import literal_eval as make_tuple from math import sqrt import argparse import os.path if __name__ == '__main__': args = handle_arguments() path = args.image emoji_list = [] with open('proc.csv') as raw_list: emoji_list = [] reader = csv.re...
29.426966
63
0.557083
5d15ebcd4b1cb7692dfb4253406f6c027f0525d0
17,824
py
Python
venv/lib/python3.7/site-packages/Xlib/ext/xinput.py
umr-bot/sliding-puzzle-solver-bot
826532a426f343bcc66034b241a42b3bd864e07c
[ "MIT" ]
null
null
null
venv/lib/python3.7/site-packages/Xlib/ext/xinput.py
umr-bot/sliding-puzzle-solver-bot
826532a426f343bcc66034b241a42b3bd864e07c
[ "MIT" ]
null
null
null
venv/lib/python3.7/site-packages/Xlib/ext/xinput.py
umr-bot/sliding-puzzle-solver-bot
826532a426f343bcc66034b241a42b3bd864e07c
[ "MIT" ]
null
null
null
# Xlib.ext.xinput -- XInput extension module # # Copyright (C) 2012 Outpost Embedded, LLC # Forest Bond <forest.bond@rapidrollout.com> # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public License # as published by the Free Software...
27.212214
96
0.601212
5d173dba73e014674031b329494a05e8bf83b546
24
py
Python
vel/notebook/__init__.py
tigerwlin/vel
00e4fbb7b612e888e2cbb5d8455146664638cd0b
[ "MIT" ]
273
2018-09-01T08:54:34.000Z
2022-02-02T13:22:51.000Z
vel/notebook/__init__.py
tigerwlin/vel
00e4fbb7b612e888e2cbb5d8455146664638cd0b
[ "MIT" ]
47
2018-08-17T11:27:08.000Z
2022-03-11T23:26:55.000Z
vel/notebook/__init__.py
tigerwlin/vel
00e4fbb7b612e888e2cbb5d8455146664638cd0b
[ "MIT" ]
37
2018-10-11T22:56:57.000Z
2020-10-06T19:53:05.000Z
from .loader import load
24
24
0.833333
5d17411291af35f334b84d9eb9a01839cc0b1a31
340
py
Python
YourJobAidApi/migrations/0019_remove_category_count_post.py
rayhanrock/django-yourjobaid-api
17751dac5a298998aeecf7a70b79792f8311b9b2
[ "MIT" ]
1
2020-07-08T10:57:37.000Z
2020-07-08T10:57:37.000Z
YourJobAidApi/migrations/0019_remove_category_count_post.py
rayhanrock/django-yourjobaid-api
17751dac5a298998aeecf7a70b79792f8311b9b2
[ "MIT" ]
6
2021-04-08T20:23:17.000Z
2021-09-22T18:58:16.000Z
YourJobAidApi/migrations/0019_remove_category_count_post.py
rayhanrock/django-yourjobaid-api
17751dac5a298998aeecf7a70b79792f8311b9b2
[ "MIT" ]
null
null
null
# Generated by Django 3.0.4 on 2020-04-16 23:10 from django.db import migrations
20
54
0.608824
5d190891c7c8c6ae88bd8b11a4958d94ac97d775
129
py
Python
easyquant/login/__init__.py
CharlieZhao95/easy-quant
9df126433e27d92eced9b087e581b5fd66c5a400
[ "Apache-2.0" ]
null
null
null
easyquant/login/__init__.py
CharlieZhao95/easy-quant
9df126433e27d92eced9b087e581b5fd66c5a400
[ "Apache-2.0" ]
2
2022-01-26T15:50:37.000Z
2022-03-30T14:08:36.000Z
easyquant/login/__init__.py
CharlieZhao95/easy-quant
9df126433e27d92eced9b087e581b5fd66c5a400
[ "Apache-2.0" ]
null
null
null
# @Time : 2022/1/26 23:07 # @Author : zhaoyu # @Site : # @File : __init__.py.py # @Software: PyCharm # @Note : xx
21.5
29
0.527132
5d1b794c29c7e14b547cb2e45a43996ab2eb188a
60,985
py
Python
tests/api/test_attributes.py
DowneyTung/saleor
50f299d8e276b594753ee439d9e1a212f85a91b1
[ "CC-BY-4.0" ]
19
2019-12-03T17:28:07.000Z
2021-09-10T21:30:52.000Z
tests/api/test_attributes.py
DowneyTung/saleor
50f299d8e276b594753ee439d9e1a212f85a91b1
[ "CC-BY-4.0" ]
51
2019-12-06T08:06:07.000Z
2021-05-06T02:10:50.000Z
tests/api/test_attributes.py
DowneyTung/saleor
50f299d8e276b594753ee439d9e1a212f85a91b1
[ "CC-BY-4.0" ]
20
2020-02-03T00:38:59.000Z
2022-01-03T13:07:52.000Z
from typing import Union from unittest import mock import graphene import pytest from django.core.exceptions import ValidationError from django.db.models import Q from django.template.defaultfilters import slugify from graphene.utils.str_converters import to_camel_case from saleor.core.taxes import zero_money from sa...
31.598446
88
0.649504
5d1c26b574f8d1aa48c37371f029724022116688
3,557
py
Python
3-photos/1-chromakey/app.py
rafacm/aws-serverless-workshop-innovator-island
3f982ef6f70d28dfdc4e1d19103c181609b06b08
[ "MIT-0" ]
1
2020-11-26T16:12:16.000Z
2020-11-26T16:12:16.000Z
3-photos/1-chromakey/app.py
rafacm/aws-serverless-workshop-innovator-island
3f982ef6f70d28dfdc4e1d19103c181609b06b08
[ "MIT-0" ]
null
null
null
3-photos/1-chromakey/app.py
rafacm/aws-serverless-workshop-innovator-island
3f982ef6f70d28dfdc4e1d19103c181609b06b08
[ "MIT-0" ]
1
2020-11-26T16:12:21.000Z
2020-11-26T16:12:21.000Z
import os import json import cv2 import logging import boto3 import botocore s3 = boto3.client('s3') logger = logging.getLogger() logger.setLevel(logging.INFO) def upload_file(file_name, bucket, object_name=None): """Upload a file to an S3 bucket :param file_name: File to upload :param bucket: Bucket to ...
30.663793
86
0.671633
5d1d2183e311c349b4e6a54b6abedc9e76fcc8d1
323
py
Python
metrics/overflow.py
DEKHTIARJonathan/pyinstrument
cc4f3f6fc1b493d7cd058ecf41ad012e0030a512
[ "BSD-3-Clause" ]
1
2021-04-10T15:07:51.000Z
2021-04-10T15:07:51.000Z
metrics/overflow.py
DEKHTIARJonathan/pyinstrument
cc4f3f6fc1b493d7cd058ecf41ad012e0030a512
[ "BSD-3-Clause" ]
1
2022-02-28T02:48:43.000Z
2022-02-28T02:48:43.000Z
metrics/overflow.py
DEKHTIARJonathan/pyinstrument
cc4f3f6fc1b493d7cd058ecf41ad012e0030a512
[ "BSD-3-Clause" ]
1
2018-09-24T15:32:13.000Z
2018-09-24T15:32:13.000Z
from pyinstrument import Profiler p = Profiler(use_signal=False) p.start() func(900) p.stop() print(p.output_text()) with open('overflow_out.html', 'w') as f: f.write(p.output_html())
13.458333
41
0.597523
5d1d2acfb826681789b607d0aa918460c8853f38
12,995
py
Python
scripts/gen_tee_bin.py
wawang621/optee_os
bf7298044beca7a4501ece95c6146b5987cecaa4
[ "BSD-2-Clause" ]
null
null
null
scripts/gen_tee_bin.py
wawang621/optee_os
bf7298044beca7a4501ece95c6146b5987cecaa4
[ "BSD-2-Clause" ]
null
null
null
scripts/gen_tee_bin.py
wawang621/optee_os
bf7298044beca7a4501ece95c6146b5987cecaa4
[ "BSD-2-Clause" ]
null
null
null
#!/usr/bin/env python3 # SPDX-License-Identifier: BSD-2-Clause # # Copyright (c) 2019, Linaro Limited # from __future__ import print_function from __future__ import division import argparse import sys import struct import re import hashlib try: from elftools.elf.elffile import ELFFile from elftools.elf.consta...
33.066158
79
0.604309
5d1d311ba4f1a92388fbc36107c0bf393d5b97bc
1,864
py
Python
CircuitPython_JEplayer_mp3/repeat.py
gamblor21/Adafruit_Learning_System_Guides
f5dab4a758bc82d0bfc3c299683fe89dc093912a
[ "MIT" ]
665
2017-09-27T21:20:14.000Z
2022-03-31T09:09:25.000Z
CircuitPython_JEplayer_mp3/repeat.py
gamblor21/Adafruit_Learning_System_Guides
f5dab4a758bc82d0bfc3c299683fe89dc093912a
[ "MIT" ]
641
2017-10-03T19:46:37.000Z
2022-03-30T18:28:46.000Z
CircuitPython_JEplayer_mp3/repeat.py
gamblor21/Adafruit_Learning_System_Guides
f5dab4a758bc82d0bfc3c299683fe89dc093912a
[ "MIT" ]
734
2017-10-02T22:47:38.000Z
2022-03-30T14:03:51.000Z
# The MIT License (MIT) # # Copyright (c) 2020 Jeff Epler for Adafruit Industries LLC # # 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 r...
38.833333
79
0.694742
5d1d5be9e9e0382909fb3777ed89becc272c0e93
767
py
Python
Kapitel_1/_1_public_private.py
Geralonx/Classes_Tutorial
9499db8159efce1e3c38975b66a9c649631c6727
[ "MIT" ]
1
2020-12-24T15:42:54.000Z
2020-12-24T15:42:54.000Z
Kapitel_1/_1_public_private.py
Geralonx/Classes_Tutorial
9499db8159efce1e3c38975b66a9c649631c6727
[ "MIT" ]
null
null
null
Kapitel_1/_1_public_private.py
Geralonx/Classes_Tutorial
9499db8159efce1e3c38975b66a9c649631c6727
[ "MIT" ]
null
null
null
# --- Klassendeklaration mit Konstruktor --- # # --- Instanziierung einer Klasse ---# # --- Ich bevorzuge die Initialisierung mit den Keywords --- # pc_instanz = PC(cpu='Ryzen 7', gpu='RTX2070Super', ram='GSkill') # --- Zugriff auf normale _public_ Attribute --- # print(pc_instanz.cpu) print(pc_instanz.gpu) # --- Z...
29.5
89
0.684485