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
e1aafb58eef941757b45eb7221687eebd5c2e5ea
799
py
Python
app.py
mwinel/python-cicd-assignement
c4c08772094f983f8105090f0d91dfef5be042aa
[ "MIT" ]
null
null
null
app.py
mwinel/python-cicd-assignement
c4c08772094f983f8105090f0d91dfef5be042aa
[ "MIT" ]
null
null
null
app.py
mwinel/python-cicd-assignement
c4c08772094f983f8105090f0d91dfef5be042aa
[ "MIT" ]
null
null
null
import os import logging from flask import Flask app = Flask(__name__) if __name__ == "__main__": ## stream logs to a file logging.basicConfig(filename='app.log', level=logging.DEBUG) app.run(debug=True, host='0.0.0.0', port=int(os.environ.get('PORT', 8080)))
22.828571
79
0.673342
e1ad6793329afb999758e7af4b085f4de8b95b33
93
py
Python
Configuration/StandardSequences/python/L1Reco_cff.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
Configuration/StandardSequences/python/L1Reco_cff.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
Configuration/StandardSequences/python/L1Reco_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 from L1Trigger.Configuration.L1TReco_cff import *
18.6
49
0.83871
e1af67620fb53577d386b7ebbfdc3bab9dc25e7c
2,347
py
Python
pysrc/common/dataset_mod.py
Hibiki1020/classification_attitude_estimator
7f7435c2ed5b5b5c8d0219df2da0426b108ff3aa
[ "MIT" ]
null
null
null
pysrc/common/dataset_mod.py
Hibiki1020/classification_attitude_estimator
7f7435c2ed5b5b5c8d0219df2da0426b108ff3aa
[ "MIT" ]
null
null
null
pysrc/common/dataset_mod.py
Hibiki1020/classification_attitude_estimator
7f7435c2ed5b5b5c8d0219df2da0426b108ff3aa
[ "MIT" ]
null
null
null
import torch.utils.data as data from PIL import Image import numpy as np import math import csv
28.621951
111
0.611845
e1b1063d345266bc6d42ef8301d5659cc8f0a43d
1,846
py
Python
scripts/darias_energy_control/moveit_traj_baseline/repulsive_potential_field.py
hjw-1014/Multi-Objective-Reactive-Motion-Planning-in-Mobile-Manipulators
9a8801e9c663174b753c4852b2313c5a3f302434
[ "MIT" ]
null
null
null
scripts/darias_energy_control/moveit_traj_baseline/repulsive_potential_field.py
hjw-1014/Multi-Objective-Reactive-Motion-Planning-in-Mobile-Manipulators
9a8801e9c663174b753c4852b2313c5a3f302434
[ "MIT" ]
null
null
null
scripts/darias_energy_control/moveit_traj_baseline/repulsive_potential_field.py
hjw-1014/Multi-Objective-Reactive-Motion-Planning-in-Mobile-Manipulators
9a8801e9c663174b753c4852b2313c5a3f302434
[ "MIT" ]
null
null
null
import numpy as np import torch import matplotlib.pyplot as plt from icecream import ic w = 5 Y, X = np.mgrid[-w:w:5j, -w:w:5j] ic(Y) ic(X) import numpy as np import matplotlib.pyplot as plt # # Creating dataset # x = np.arange(0, 10) # y = np.arange(0, 10) # # # Creating grids # X, Y = np.meshgrid(x, y) # # ic(X) #...
20.977273
84
0.594258
e1b18b46651e9f66ff6958a9025b0bc1b9f9aca5
3,793
py
Python
capa/features/extractors/ida/extractor.py
pombredanne/capa
b41d23930189c269608d4b705533fa45cf3c064c
[ "Apache-2.0" ]
null
null
null
capa/features/extractors/ida/extractor.py
pombredanne/capa
b41d23930189c269608d4b705533fa45cf3c064c
[ "Apache-2.0" ]
null
null
null
capa/features/extractors/ida/extractor.py
pombredanne/capa
b41d23930189c269608d4b705533fa45cf3c064c
[ "Apache-2.0" ]
null
null
null
# Copyright (C) 2020 FireEye, Inc. All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: [package root]/LICENSE.txt # Unless required by applicable law or agreed to in writing,...
33.566372
111
0.714474
e1b1b1bf75362e9f77713c3b8bcaddbf1477de81
55
py
Python
Tests/playground.py
mbtaPredict/Main
e1c3320ff08b61355ac96f51be9e20c57372f13b
[ "MIT" ]
null
null
null
Tests/playground.py
mbtaPredict/Main
e1c3320ff08b61355ac96f51be9e20c57372f13b
[ "MIT" ]
null
null
null
Tests/playground.py
mbtaPredict/Main
e1c3320ff08b61355ac96f51be9e20c57372f13b
[ "MIT" ]
null
null
null
import matplotlib.pyplot as plt plt.plot() plt.show()
11
31
0.745455
e1b370db317e8d54c9c290cf01cbebc1cac20378
1,373
py
Python
flex/extensions/jsondata.py
AWehrhahn/flex-format
7fcc985559cd90e54d3ebde7946455aedc7293d7
[ "MIT" ]
null
null
null
flex/extensions/jsondata.py
AWehrhahn/flex-format
7fcc985559cd90e54d3ebde7946455aedc7293d7
[ "MIT" ]
null
null
null
flex/extensions/jsondata.py
AWehrhahn/flex-format
7fcc985559cd90e54d3ebde7946455aedc7293d7
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import annotations from tarfile import TarInfo from typing import BinaryIO, Tuple from ..base import FlexExtension
31.930233
78
0.640932
e1b37b3b7be2be9f06bdec60a631822373a8b7f7
185
py
Python
awards/forms.py
danalvin/Django-IP3
6df0adaddf998fd4195b23ee97f81938e741215a
[ "MIT" ]
null
null
null
awards/forms.py
danalvin/Django-IP3
6df0adaddf998fd4195b23ee97f81938e741215a
[ "MIT" ]
4
2020-06-05T19:20:59.000Z
2021-09-08T00:32:49.000Z
awards/forms.py
danalvin/Django-IP3
6df0adaddf998fd4195b23ee97f81938e741215a
[ "MIT" ]
null
null
null
from django import forms from .models import Project
18.5
52
0.67027
e1b43999f4dbbac898da1e996502f381b7896fa5
72,341
py
Python
src/tale/syntax/grammar/TaleParser.py
tale-lang/tale
1779f94aa13545e58a1d5a8819b85ad02ada4144
[ "MIT" ]
17
2020-02-11T10:38:19.000Z
2020-09-22T16:36:25.000Z
src/tale/syntax/grammar/TaleParser.py
tale-lang/tale
1779f94aa13545e58a1d5a8819b85ad02ada4144
[ "MIT" ]
18
2020-02-14T20:36:25.000Z
2020-05-26T21:52:46.000Z
src/tale/syntax/grammar/TaleParser.py
tale-lang/tale
1779f94aa13545e58a1d5a8819b85ad02ada4144
[ "MIT" ]
1
2020-02-16T12:04:07.000Z
2020-02-16T12:04:07.000Z
# Generated from tale/syntax/grammar/Tale.g4 by ANTLR 4.8 # encoding: utf-8 from antlr4 import * from io import StringIO import sys if sys.version_info[1] > 5: from typing import TextIO else: from typing.io import TextIO
34.317362
239
0.590868
e1b490b033e953f1585ccd81fdcb489a598e5706
353
py
Python
004.py
gabrieleliasdev/python-cev
45390963b5112a982e673f6a6866da422bf9ae6d
[ "MIT" ]
null
null
null
004.py
gabrieleliasdev/python-cev
45390963b5112a982e673f6a6866da422bf9ae6d
[ "MIT" ]
null
null
null
004.py
gabrieleliasdev/python-cev
45390963b5112a982e673f6a6866da422bf9ae6d
[ "MIT" ]
null
null
null
print('Ol, Mundo!') print(7+4) print('7'+'4') print('Ol', 5) # Toda varivel um objeto # Um objeto mais do que uma varivel nome = 'Gabriel' idade = 30 peso = 79 print(nome,idade,peso) nome = input('>>> Nome ') idade = input('>>> Idade ') peso = input('>>> Peso ') print(nome,idade,peso) print(f'Nome:{nome} ,Id...
14.12
49
0.620397
e1b5d39efe358fd9f5a0abeb927321f0eef6f285
680
py
Python
examples/create_mac_table_entry.py
open-switch/opx-docs
f448f3f3dc0de38822bbf16c1e173eb108925a40
[ "CC-BY-4.0" ]
122
2017-02-10T01:47:04.000Z
2022-03-23T20:11:11.000Z
examples/create_mac_table_entry.py
open-switch/opx-docs
f448f3f3dc0de38822bbf16c1e173eb108925a40
[ "CC-BY-4.0" ]
37
2017-03-01T07:07:22.000Z
2021-11-11T16:47:42.000Z
examples/create_mac_table_entry.py
open-switch/opx-docs
f448f3f3dc0de38822bbf16c1e173eb108925a40
[ "CC-BY-4.0" ]
39
2017-01-18T16:22:58.000Z
2020-11-18T13:23:43.000Z
#Python code block to configure MAC address table entry import cps_utils #Register the attribute type cps_utils.add_attr_type('base-mac/table/mac-address', 'mac') #Define the MAC address, interface index and VLAN attributes d = {'mac-address': '00:0a:0b:cc:0d:0e', 'ifindex': 18, 'vlan': '100'} #Create a CPS object ...
27.2
70
0.738235
e1b62639aea1ec0a6c6d66e1d90f5f610c374034
4,397
py
Python
win/GUI/Configuration.py
WeAreAVP/mdqc
3130a713c70017bc54d8e5da6bb5766ba9d97423
[ "Apache-2.0" ]
8
2019-01-18T08:58:02.000Z
2021-05-20T16:51:14.000Z
osx/GUI/Configuration.py
WeAreAVP/mdqc
3130a713c70017bc54d8e5da6bb5766ba9d97423
[ "Apache-2.0" ]
7
2016-02-25T21:50:03.000Z
2017-12-13T14:27:29.000Z
osx/GUI/Configuration.py
WeAreAVP/mdqc
3130a713c70017bc54d8e5da6bb5766ba9d97423
[ "Apache-2.0" ]
2
2020-02-13T16:00:07.000Z
2020-08-12T16:31:49.000Z
# -*- coding: UTF-8 -*- ''' Created on May 14, 2014 @author: Furqan Wasi <furqan@avpreserve.com> ''' import os, datetime, sys, platform, base64
31.407143
139
0.596771
e1b62abc8e468748316b85f828dfc8de03775be8
17,306
py
Python
MainController.py
samuelvp360/Microbiological-Assay-Calculator
36317e266bf499f24f7e7d3f59328864a8723aa4
[ "FSFAP" ]
null
null
null
MainController.py
samuelvp360/Microbiological-Assay-Calculator
36317e266bf499f24f7e7d3f59328864a8723aa4
[ "FSFAP" ]
null
null
null
MainController.py
samuelvp360/Microbiological-Assay-Calculator
36317e266bf499f24f7e7d3f59328864a8723aa4
[ "FSFAP" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import sys import os from pathlib import Path from datetime import datetime from PyQt5 import QtCore as qtc from PyQt5 import QtWidgets as qtw from PyQt5 import uic import numpy as np from Models import AssaysModel, SamplesModel from DB.AssaysDB import MyZODB import matpl...
42.836634
108
0.596729
e1b6ebd37b97bc9b109f511037c684ea5fa2de9b
225
py
Python
events/defaults.py
bozbalci/cython-experiments
a675571e09297e3cda9154e8b611562bb8b14f7e
[ "Unlicense" ]
1
2018-06-23T17:52:20.000Z
2018-06-23T17:52:20.000Z
events/defaults.py
bozbalci/cython-experiments
a675571e09297e3cda9154e8b611562bb8b14f7e
[ "Unlicense" ]
null
null
null
events/defaults.py
bozbalci/cython-experiments
a675571e09297e3cda9154e8b611562bb8b14f7e
[ "Unlicense" ]
null
null
null
# defaults.py: contains the built-in variables, events and methods # used for scripting the C program import event events = {} _event_names = ["on_start", "on_exit"] for evt in _event_names: events[evt] = event.Event()
22.5
66
0.724444
e1b7011c0667fc12e337dc4c85e26236aa831c39
15,526
py
Python
src/parse_text.py
rflieshman/BOLSTM
be7551957001a9bdaab6051145f96ad9d7415209
[ "Apache-2.0" ]
13
2019-04-11T02:20:49.000Z
2021-03-26T11:00:10.000Z
src/parse_text.py
rflieshman/BOLSTM
be7551957001a9bdaab6051145f96ad9d7415209
[ "Apache-2.0" ]
5
2018-12-05T14:38:40.000Z
2021-12-13T19:46:53.000Z
src/parse_text.py
lasigeBioTM/BOLSTM
c33a8b2a7722acb5e3ff55c3735591aea4f76f49
[ "Apache-2.0" ]
2
2019-10-13T13:47:19.000Z
2021-01-16T10:43:33.000Z
from itertools import combinations import numpy as np import spacy import sys from spacy.tokenizer import Tokenizer import re from subprocess import PIPE, Popen import os import logging import networkx as nx import en_core_web_sm import string from neg_gv import neg_gv_list SSTDIR = "sst-light-0.4/" TEMP_DIR = "temp/...
37.502415
119
0.550818
e1b73e252109287a68039d70bc02eba7d5e821da
1,049
py
Python
metadata-ingestion/examples/library/dataset_set_tag.py
cuong-pham/datahub
cb4eb001758f55622add0f4dc3650cf483609cba
[ "Apache-2.0" ]
1,603
2016-03-03T17:21:03.000Z
2020-01-22T22:12:02.000Z
metadata-ingestion/examples/library/dataset_set_tag.py
cuong-pham/datahub
cb4eb001758f55622add0f4dc3650cf483609cba
[ "Apache-2.0" ]
1,157
2016-03-03T19:29:22.000Z
2020-01-20T14:41:59.000Z
metadata-ingestion/examples/library/dataset_set_tag.py
cuong-pham/datahub
cb4eb001758f55622add0f4dc3650cf483609cba
[ "Apache-2.0" ]
570
2016-03-03T17:21:05.000Z
2020-01-21T06:54:10.000Z
# Imports for urn construction utility methods import logging from datahub.emitter.mce_builder import make_dataset_urn, make_tag_urn from datahub.emitter.mcp import MetadataChangeProposalWrapper from datahub.emitter.rest_emitter import DatahubRestEmitter # Imports for metadata model classes from datahub.metadata.sche...
32.78125
87
0.804576
e1b7f693b03922194b579f49635c8089ae32b745
517
py
Python
examples/Old Format/matrix_latex.py
waldyrious/galgebra
b5eb070340434d030dd737a5656fbf709538b0b1
[ "BSD-3-Clause" ]
151
2018-09-18T12:30:14.000Z
2022-03-16T08:02:48.000Z
examples/Old Format/matrix_latex.py
abrombo/galgebra
5ae058c9ba2c17b1baf46c58f77124e82eaf428a
[ "BSD-3-Clause" ]
454
2018-09-19T01:42:30.000Z
2022-01-18T14:02:00.000Z
examples/Old Format/matrix_latex.py
abrombo/galgebra
5ae058c9ba2c17b1baf46c58f77124e82eaf428a
[ "BSD-3-Clause" ]
30
2019-02-22T08:25:50.000Z
2022-01-15T05:20:22.000Z
from __future__ import print_function from sympy import symbols, Matrix from galgebra.printer import xpdf, Format if __name__ == "__main__": main()
19.884615
65
0.475822
e1b88db11881c00abc4ca3f31868a0861378a947
780
py
Python
hopsapp/__init__.py
mrahman013/Hope4Hops-web-applcation
d5bde1463c6fbc1ea5424cb656504119393c6ce2
[ "MIT" ]
null
null
null
hopsapp/__init__.py
mrahman013/Hope4Hops-web-applcation
d5bde1463c6fbc1ea5424cb656504119393c6ce2
[ "MIT" ]
null
null
null
hopsapp/__init__.py
mrahman013/Hope4Hops-web-applcation
d5bde1463c6fbc1ea5424cb656504119393c6ce2
[ "MIT" ]
null
null
null
"""Implements a basic flask app that provides hashes of text.""" from flask import Flask from flask_sqlalchemy import SQLAlchemy import flask_login #pylint: disable=invalid-name app = Flask(__name__) app.config['DEBUG'] = True app.config['SQLALCHEMY_DATABASE_URI'] = 'postgres://yjjuylsytqewni:d0d63322c6abd33e2dadeafd...
35.454545
224
0.815385
e1b8fdfc631946eef5fedb38c2e25e5e6c2e1add
800
py
Python
npytoImage.py
x35yao/camera
0ee77f5de72d785ba68bef44a557470ec425d702
[ "MIT" ]
null
null
null
npytoImage.py
x35yao/camera
0ee77f5de72d785ba68bef44a557470ec425d702
[ "MIT" ]
null
null
null
npytoImage.py
x35yao/camera
0ee77f5de72d785ba68bef44a557470ec425d702
[ "MIT" ]
null
null
null
import numpy as np; import cv2; n = 428671 img_RS_color = np.load('/home/p4bhattachan/gripper/3DCameraServer/testImages/npyFiles/{}_RS_color.npy'.format(n)) cv2.imshow('RS Color Image {}'.format(n), img_RS_color) # # # img_RS_depth = np.load('/home/p4bhattachan/gripper/3DCameraServer/testImages/npyFiles/{}_RS_depth.np...
38.095238
119
0.7475
e1b94f246fa698d25573d863b176f320113a2877
11,217
py
Python
magenta/music/sequences_lib.py
jellysquider/magenta
0fc8188870f5d1c988b76dae434b21e58362516c
[ "Apache-2.0" ]
null
null
null
magenta/music/sequences_lib.py
jellysquider/magenta
0fc8188870f5d1c988b76dae434b21e58362516c
[ "Apache-2.0" ]
null
null
null
magenta/music/sequences_lib.py
jellysquider/magenta
0fc8188870f5d1c988b76dae434b21e58362516c
[ "Apache-2.0" ]
null
null
null
# Copyright 2016 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
38.67931
80
0.692788
e1ba5c72da56a9dbf7ee8bd79a41429f11457824
8,404
py
Python
tests/index_jsonurl_test.py
Stidsty/dismantle
26fb8fe7ba97349a67498715bb47a19329b1a4c7
[ "Apache-2.0" ]
null
null
null
tests/index_jsonurl_test.py
Stidsty/dismantle
26fb8fe7ba97349a67498715bb47a19329b1a4c7
[ "Apache-2.0" ]
null
null
null
tests/index_jsonurl_test.py
Stidsty/dismantle
26fb8fe7ba97349a67498715bb47a19329b1a4c7
[ "Apache-2.0" ]
null
null
null
# Copyright 2021 Gary Stidston-Broadbent # # 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 ...
42.02
79
0.707996
e1ba723285119341020fa35acb08aec8be4bb131
200
py
Python
src/resdk/__init__.py
AGregorc/resolwe-bio-py
62304e5d4c54c917575421701c6977dc63fc3a8f
[ "Apache-2.0" ]
4
2016-09-28T16:00:05.000Z
2018-08-16T16:14:10.000Z
src/resdk/__init__.py
AGregorc/resolwe-bio-py
62304e5d4c54c917575421701c6977dc63fc3a8f
[ "Apache-2.0" ]
229
2016-03-28T19:41:00.000Z
2022-03-16T15:02:15.000Z
src/resdk/__init__.py
AGregorc/resolwe-bio-py
62304e5d4c54c917575421701c6977dc63fc3a8f
[ "Apache-2.0" ]
18
2016-03-10T16:11:57.000Z
2021-06-01T10:01:49.000Z
"""Resolwe SDK for Python.""" from .collection_tables import CollectionTables # noqa from .resdk_logger import log_to_stdout, start_logging # noqa from .resolwe import Resolwe, ResolweQuery # noqa
40
62
0.79
e1bade04e7403e544b5faa2f08e7005733a09b95
4,842
py
Python
helper/validation_scripts/launch-lm-profile.py
NanoMembers/DeepFlow
0235fe460d15a95f90202a1fdb3d3405d774511a
[ "Apache-2.0" ]
3
2020-10-29T19:00:29.000Z
2020-12-21T12:24:28.000Z
helper/validation_scripts/launch-lm-profile.py
NanoMembers/DeepFlow
0235fe460d15a95f90202a1fdb3d3405d774511a
[ "Apache-2.0" ]
null
null
null
helper/validation_scripts/launch-lm-profile.py
NanoMembers/DeepFlow
0235fe460d15a95f90202a1fdb3d3405d774511a
[ "Apache-2.0" ]
null
null
null
#!/tools/python/python3.8.3/bin/python import os import shutil import subprocess import numpy as np batch_list=[i*1024 for i in range(2,7)] seq_list=[10] hidden_list=[i*1024 for i in range(2,7)] vocab_list=[2048] #[int(i) for i in (2**np.linspace(10,13,20)//2*2)] layer_list=[1] bpe_list=[10] epoch_list=[3] output_d...
63.710526
363
0.621437
e1bb9b6b3739ef931135cf1fd4f2fa3e0d1cab30
8,171
py
Python
src/planet_box_extractor/extractor.py
V-AI-S/planet-box-extractor
5404bc97e7a2e1f6d90c7503d9106973038e4387
[ "MIT" ]
6
2021-05-31T14:51:55.000Z
2022-01-27T14:44:04.000Z
src/planet_box_extractor/extractor.py
V-AI-S/planet-box-extractor
5404bc97e7a2e1f6d90c7503d9106973038e4387
[ "MIT" ]
null
null
null
src/planet_box_extractor/extractor.py
V-AI-S/planet-box-extractor
5404bc97e7a2e1f6d90c7503d9106973038e4387
[ "MIT" ]
null
null
null
from .geo_utils import boundingBox import time import PIL.Image import urllib.request import mercantile import numpy as np if __name__ == '__main__': latitude, longitude = 5, 20 zoom = 15 radius = 0.2 API_KEY = '' map_id = '' extractor = PlanetBoxExtractor(radius, zoom, map_id, ...
41.060302
153
0.598947
e1bbdc48371fed473f16ae3afb93373be31ead4e
21,365
py
Python
Kai/python/modules/mctruth.py
NJManganelli/FourTopNAOD
9743d5b49bdbad27a74abb7b2d5b7295f678a0e3
[ "Apache-2.0" ]
1
2022-01-17T17:29:38.000Z
2022-01-17T17:29:38.000Z
Kai/python/modules/mctruth.py
NJManganelli/FourTopNAOD
9743d5b49bdbad27a74abb7b2d5b7295f678a0e3
[ "Apache-2.0" ]
null
null
null
Kai/python/modules/mctruth.py
NJManganelli/FourTopNAOD
9743d5b49bdbad27a74abb7b2d5b7295f678a0e3
[ "Apache-2.0" ]
1
2021-12-15T10:56:50.000Z
2021-12-15T10:56:50.000Z
from __future__ import (division, print_function) import os import ROOT #import numpy as np #import itertools #from collections import OrderedDict ROOT.PyConfig.IgnoreCommandLineOptions = True from PhysicsTools.NanoAODTools.postprocessing.framework.datamodel import Collection, Object from PhysicsTools.NanoAODTools.pos...
54.088608
192
0.539246
e1bced98ae2a678cded5046d18c92e44944d6925
1,214
py
Python
skimpy/utils/namespace.py
AQ18/skimpy
435fc50244f2ca815bbb39d525a82a4692f5c0ac
[ "Apache-2.0" ]
13
2020-11-05T10:59:13.000Z
2022-03-21T01:38:31.000Z
skimpy/utils/namespace.py
AQ18/skimpy
435fc50244f2ca815bbb39d525a82a4692f5c0ac
[ "Apache-2.0" ]
4
2022-01-27T10:23:40.000Z
2022-03-10T18:16:06.000Z
skimpy/utils/namespace.py
AQ18/skimpy
435fc50244f2ca815bbb39d525a82a4692f5c0ac
[ "Apache-2.0" ]
6
2020-08-04T17:01:33.000Z
2022-03-21T01:38:32.000Z
# -*- coding: utf-8 -*- """ .. module:: pytfa :platform: Unix, Windows :synopsis: Simple Kinetic Models in Python .. moduleauthor:: SKiMPy team [---------] Copyright 2017 Laboratory of Computational Systems Biotechnology (LCSB), Ecole Polytechnique Federale de Lausanne (EPFL), Switzerland Licensed under the ...
21.298246
72
0.702636
e1be426bfe54febaaf2747236ba29b8bea95325e
2,897
py
Python
designate/storage/impl_sqlalchemy/migrate_repo/versions/051_scoped_tsig.py
cneill/designate-testing
7bf320062d85a12bff2aee8d26c133941a289fc4
[ "Apache-2.0" ]
null
null
null
designate/storage/impl_sqlalchemy/migrate_repo/versions/051_scoped_tsig.py
cneill/designate-testing
7bf320062d85a12bff2aee8d26c133941a289fc4
[ "Apache-2.0" ]
null
null
null
designate/storage/impl_sqlalchemy/migrate_repo/versions/051_scoped_tsig.py
cneill/designate-testing
7bf320062d85a12bff2aee8d26c133941a289fc4
[ "Apache-2.0" ]
null
null
null
# Copyright 2015 Hewlett-Packard Development Company, L.P. # # Author: Kiall Mac Innes <kiall@hp.com> # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/L...
36.2125
78
0.713497
e1bf68076ea2cc2d9234c0759575b80d167f8b2e
680
py
Python
geomat/stein/migrations/0060_remove_mineraltype_mohs_scale.py
mimischi/django-geomat
8c5bc4c9ba9759b58b52ddf339ccaec40ec5f6ea
[ "BSD-3-Clause" ]
3
2017-01-13T15:53:39.000Z
2017-05-05T11:57:55.000Z
geomat/stein/migrations/0060_remove_mineraltype_mohs_scale.py
mimischi/django-geomat
8c5bc4c9ba9759b58b52ddf339ccaec40ec5f6ea
[ "BSD-3-Clause" ]
233
2016-11-05T15:19:48.000Z
2021-09-07T23:33:47.000Z
geomat/stein/migrations/0060_remove_mineraltype_mohs_scale.py
GeoMatDigital/django-geomat
8c5bc4c9ba9759b58b52ddf339ccaec40ec5f6ea
[ "BSD-3-Clause" ]
null
null
null
# Generated by Django 2.0.2 on 2018-05-04 07:33 from django.db import migrations from django.db import models
26.153846
106
0.632353
e1c057aa5119875fed8dba5a07e37ff673709a2b
14,420
py
Python
bamboo/core/calculator.py
pld/bamboo
a0fc77aebd6ff6b1087ba46896b0ce705fbb25a3
[ "BSD-3-Clause" ]
27
2015-01-14T15:57:54.000Z
2020-12-27T19:34:41.000Z
bamboo/core/calculator.py
biswapanda/bamboo
72fc260822a27ce52cbe65de178f8fa1b60311f3
[ "BSD-3-Clause" ]
2
2015-08-06T15:23:28.000Z
2016-01-28T00:05:25.000Z
bamboo/core/calculator.py
biswapanda/bamboo
72fc260822a27ce52cbe65de178f8fa1b60311f3
[ "BSD-3-Clause" ]
10
2015-08-07T01:50:39.000Z
2019-05-15T21:41:18.000Z
from collections import defaultdict from celery.task import task from pandas import concat, DataFrame from bamboo.core.aggregator import Aggregator from bamboo.core.frame import add_parent_column, join_dataset from bamboo.core.parser import Parser from bamboo.lib.datetools import recognize_dates from bamboo.lib.jsont...
35.343137
78
0.676283
e1c0ee31e7c392fd9a301672456d03f86541b8f3
265
py
Python
modules/python3/tests/unittests/scripts/glm.py
ImagiaViz/inviwo
a00bb6b0551bc1cf26dc0366c827c1a557a9603d
[ "BSD-2-Clause" ]
349
2015-01-30T09:21:52.000Z
2022-03-25T03:10:02.000Z
modules/python3/tests/unittests/scripts/glm.py
ImagiaViz/inviwo
a00bb6b0551bc1cf26dc0366c827c1a557a9603d
[ "BSD-2-Clause" ]
641
2015-09-23T08:54:06.000Z
2022-03-23T09:50:55.000Z
modules/python3/tests/unittests/scripts/glm.py
ImagiaViz/inviwo
a00bb6b0551bc1cf26dc0366c827c1a557a9603d
[ "BSD-2-Clause" ]
124
2015-02-27T23:45:02.000Z
2022-02-21T09:37:14.000Z
import inviwopy from inviwopy.glm import * v1 = vec3(1,2,3) v2 = size2_t(4,5) m1 = mat4(1) m2 = mat3(0,1,0,-1,0,0,0,0,2) v3 = m2 * v1 v4 = vec4(1,2,3,4) w = v4.w a = v4.a q = v4.q z = v4.z b = v4.b p = v4.p y = v4.y g = v4.g t = v4.t x = v4.x r = v4.r s = v4.s
10.6
29
0.532075
e1c1c2a4c0c8d49965261747c7efaf839f60298c
7,538
py
Python
djangoexample/thumbs/views.py
arneb/sorethumb
5b224fbf30eaeb83640510d11a0dea40592e76ad
[ "BSD-3-Clause" ]
null
null
null
djangoexample/thumbs/views.py
arneb/sorethumb
5b224fbf30eaeb83640510d11a0dea40592e76ad
[ "BSD-3-Clause" ]
null
null
null
djangoexample/thumbs/views.py
arneb/sorethumb
5b224fbf30eaeb83640510d11a0dea40592e76ad
[ "BSD-3-Clause" ]
null
null
null
from django.http import HttpResponse from django.shortcuts import render_to_response from django.template import RequestContext from django.conf import settings from models import ThumbTest from sorethumb.filters.defaultfilters import * from sorethumb.filters.drawfilters import * from sorethumb.djangothumbnail import...
31.805907
223
0.602282
e1c3efdf6d1bcb608ddb86a4384fd1aed1e4458f
117
py
Python
hello_world.py
michaeljamieson/Python01
96777e5252aaf58e5b424dd5b39186b395d9d859
[ "Apache-2.0" ]
null
null
null
hello_world.py
michaeljamieson/Python01
96777e5252aaf58e5b424dd5b39186b395d9d859
[ "Apache-2.0" ]
null
null
null
hello_world.py
michaeljamieson/Python01
96777e5252aaf58e5b424dd5b39186b395d9d859
[ "Apache-2.0" ]
null
null
null
print ('hello world') print ('hey i did something') print ('what happens if i do a ;'); print ('apparently nothing')
23.4
35
0.683761
e1c41ef577f4a05e6ab921f39322d64330728ff4
1,688
py
Python
start.py
AndrewJanuary/PM-Monitor
43548c805d2ee11ac54f8df874cc06be458454a8
[ "MIT" ]
null
null
null
start.py
AndrewJanuary/PM-Monitor
43548c805d2ee11ac54f8df874cc06be458454a8
[ "MIT" ]
6
2021-01-28T22:04:45.000Z
2021-12-20T20:59:03.000Z
start.py
AndrewJanuary/PM-Monitor
43548c805d2ee11ac54f8df874cc06be458454a8
[ "MIT" ]
null
null
null
from app.sensor import Sensor from app.uploader import Uploader from app.offline import Offline import time, logging, argparse, sys, random, datetime logging.basicConfig(filename='airquality.log', level=logging.DEBUG, filemode='a', format='%(asctime)s - %(name)s - %(levelname)s - %(message)s') sen...
30.690909
82
0.64455
e1c4600d073fba00b0a31f0113ee9536694f12a6
3,364
py
Python
py_trees_ros/visitors.py
geoc1234/py_trees_ros
65a055624f9261d67f0168ef419aa650302f96d0
[ "BSD-3-Clause" ]
65
2019-05-01T08:21:42.000Z
2022-03-23T15:49:55.000Z
py_trees_ros/visitors.py
geoc1234/py_trees_ros
65a055624f9261d67f0168ef419aa650302f96d0
[ "BSD-3-Clause" ]
62
2019-02-27T14:27:42.000Z
2022-02-08T03:54:30.000Z
py_trees_ros/visitors.py
geoc1234/py_trees_ros
65a055624f9261d67f0168ef419aa650302f96d0
[ "BSD-3-Clause" ]
23
2019-03-03T17:09:59.000Z
2022-01-06T03:07:59.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # # License: BSD # https://raw.githubusercontent.com/splintered-reality/py_trees_ros/devel/LICENSE # ############################################################################## # Documentation ###########################################################################...
31.735849
92
0.568668
e1c8c4baec324f5e5f8e13e03541f29a1a32842d
11,394
py
Python
Jarvis/features/Friday_Blueprint.py
faizeraza/Jarvis-Virtual-Assistant-
da88fc0124e6020aff1030317dc3dc918f7aa017
[ "MIT" ]
1
2021-12-14T00:18:10.000Z
2021-12-14T00:18:10.000Z
Jarvis/features/Friday_Blueprint.py
faizeraza/Jarvis-Virtual-Assistant-
da88fc0124e6020aff1030317dc3dc918f7aa017
[ "MIT" ]
null
null
null
Jarvis/features/Friday_Blueprint.py
faizeraza/Jarvis-Virtual-Assistant-
da88fc0124e6020aff1030317dc3dc918f7aa017
[ "MIT" ]
1
2021-12-29T05:01:02.000Z
2021-12-29T05:01:02.000Z
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'Friday_Blueprint.ui' # # Created by: PyQt5 UI code generator 5.15.4 # # 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 QtC...
49.755459
121
0.722924
e1c8d5b0e59bc3cff42a51e6c70986bae9cb73c9
3,201
py
Python
pints/toy/_logistic_model.py
iamleeg/pints
bd1c11472ff3ec0990f3d55f0b2f20d92397926d
[ "BSD-3-Clause" ]
null
null
null
pints/toy/_logistic_model.py
iamleeg/pints
bd1c11472ff3ec0990f3d55f0b2f20d92397926d
[ "BSD-3-Clause" ]
null
null
null
pints/toy/_logistic_model.py
iamleeg/pints
bd1c11472ff3ec0990f3d55f0b2f20d92397926d
[ "BSD-3-Clause" ]
null
null
null
# # Logistic toy model. # # This file is part of PINTS. # Copyright (c) 2017-2019, University of Oxford. # For licensing information, see the LICENSE file distributed with the PINTS # software package. # from __future__ import absolute_import, division from __future__ import print_function, unicode_literals import n...
34.419355
79
0.555764
e1cc98556e1e617de9737efeaed139473d56ebaf
426
py
Python
homeworks/vecutil.py
JediKoder/coursera-CodeMatrix
1ac461d22ebaf2777eabdcf31d76d709c33f472a
[ "MIT" ]
3
2018-01-11T07:48:06.000Z
2020-04-27T20:49:02.000Z
homeworks/vecutil.py
JediKoder/coursera-CodeMatrix
1ac461d22ebaf2777eabdcf31d76d709c33f472a
[ "MIT" ]
null
null
null
homeworks/vecutil.py
JediKoder/coursera-CodeMatrix
1ac461d22ebaf2777eabdcf31d76d709c33f472a
[ "MIT" ]
1
2021-01-26T07:25:48.000Z
2021-01-26T07:25:48.000Z
# Copyright 2013 Philip N. Klein from vec import Vec def list2vec(L): """Given a list L of field elements, return a Vec with domain {0...len(L)-1} whose entry i is L[i] >>> list2vec([10, 20, 30]) Vec({0, 1, 2},{0: 10, 1: 20, 2: 30}) """ return Vec(set(range(len(L))), {k:L[k] for k in range(len...
25.058824
80
0.577465
e1ccdf7c98befd87dd0fafb60f1dfb6a4f453f5f
59,998
py
Python
squidpy/im/_container.py
Emberwhirl/squidpy
456c49ac9149e16562617a8a4236a9faa2c0480d
[ "BSD-3-Clause" ]
1
2022-02-02T13:41:36.000Z
2022-02-02T13:41:36.000Z
squidpy/im/_container.py
Emberwhirl/squidpy
456c49ac9149e16562617a8a4236a9faa2c0480d
[ "BSD-3-Clause" ]
null
null
null
squidpy/im/_container.py
Emberwhirl/squidpy
456c49ac9149e16562617a8a4236a9faa2c0480d
[ "BSD-3-Clause" ]
null
null
null
from __future__ import annotations from copy import copy, deepcopy from types import MappingProxyType from typing import ( Any, Union, Mapping, TypeVar, Callable, Iterable, Iterator, Sequence, TYPE_CHECKING, ) from pathlib import Path from functools import partial from itertools imp...
37.173482
120
0.561252
e1cd563f597751eb051e125f9959363e2f96050c
397
py
Python
users/forms.py
kurosh-wss/Personal-Finance-Management
9c7c467b95999974492df19a0f0286809f877c87
[ "MIT" ]
null
null
null
users/forms.py
kurosh-wss/Personal-Finance-Management
9c7c467b95999974492df19a0f0286809f877c87
[ "MIT" ]
null
null
null
users/forms.py
kurosh-wss/Personal-Finance-Management
9c7c467b95999974492df19a0f0286809f877c87
[ "MIT" ]
null
null
null
from django import forms from django.contrib.auth.forms import UserCreationForm from crispy_bootstrap5.bootstrap5 import FloatingField from crispy_forms.layout import Layout from crispy_forms.helper import FormHelper
30.538462
58
0.806045
e1cdbef2e0091f3d12ceeeebb7a6739477ce69ea
1,214
py
Python
tutorzzz_reminder/reminder.py
xiebei1108/tools
8a3141e5d97305f4438e828c62eb7be512767aa9
[ "Apache-2.0" ]
null
null
null
tutorzzz_reminder/reminder.py
xiebei1108/tools
8a3141e5d97305f4438e828c62eb7be512767aa9
[ "Apache-2.0" ]
null
null
null
tutorzzz_reminder/reminder.py
xiebei1108/tools
8a3141e5d97305f4438e828c62eb7be512767aa9
[ "Apache-2.0" ]
null
null
null
import json import requests import config assignedIdList = list()
25.829787
93
0.528007
e1ce81097515faf4dfa5b55142281e9cb5ff0a2c
3,315
py
Python
invoicing/crud/invoice_crud.py
dnegreira/Invoicing
0bc8133e989f095c10151f67482e249416274947
[ "MIT" ]
null
null
null
invoicing/crud/invoice_crud.py
dnegreira/Invoicing
0bc8133e989f095c10151f67482e249416274947
[ "MIT" ]
null
null
null
invoicing/crud/invoice_crud.py
dnegreira/Invoicing
0bc8133e989f095c10151f67482e249416274947
[ "MIT" ]
null
null
null
from invoicing.crud.base_crud import BaseCrud from invoicing.latex.latex_invoice import LatexInvoice from invoicing.models.invoice_model import InvoiceModel from invoicing.repository.invoice_repository import InvoiceRepository from invoicing.repository.job_repository import JobRepository from invoicing.ui.date import D...
44.2
103
0.650075
e1cfe37a6f7f6e565038ee9ac5851b8cdd75207b
946
py
Python
ds3225_client.py
kim-tom/dbus_server
b16d1b47dfe4d699ef0177592ba528ba988f17be
[ "MIT" ]
null
null
null
ds3225_client.py
kim-tom/dbus_server
b16d1b47dfe4d699ef0177592ba528ba988f17be
[ "MIT" ]
null
null
null
ds3225_client.py
kim-tom/dbus_server
b16d1b47dfe4d699ef0177592ba528ba988f17be
[ "MIT" ]
null
null
null
from ds3225 import DS3225 import dbus import dbus.mainloop.glib import dbus.service from gi.repository import GObject, GLib UNLOCKED_DEG = 175 dbus.mainloop.glib.DBusGMainLoop(set_as_default=True) BUS_NAME = 'jp.kimura.DS3225Service' OBJECT_PATH = '/jp/kimura/DS3225Server' INTERFACE = 'jp.kimura.DS3225' if __name__ ...
27.823529
65
0.701903
e1d05a453d3d0e33ff80baf493eec26c3cbe59f9
437
py
Python
Extra kunskap/Kod/Farmen.py
abbindustrigymnasium/Programmering-1-Slutuppgift
679069ebb632ee59f6b4ee3035c18ae204cde145
[ "Apache-2.0" ]
null
null
null
Extra kunskap/Kod/Farmen.py
abbindustrigymnasium/Programmering-1-Slutuppgift
679069ebb632ee59f6b4ee3035c18ae204cde145
[ "Apache-2.0" ]
null
null
null
Extra kunskap/Kod/Farmen.py
abbindustrigymnasium/Programmering-1-Slutuppgift
679069ebb632ee59f6b4ee3035c18ae204cde145
[ "Apache-2.0" ]
1
2020-03-09T12:04:31.000Z
2020-03-09T12:04:31.000Z
import openpyxl wb= openpyxl.load_workbook('Farmen.xlsx') # sheet= wb.active # print(wb.get_sheet_names()) # Deltagar_sheet= wb.get_sheet_by_name('Deltagare') # artists=[{"Namn":sheet.cell(row=i, column=2).value, # "Sng":sheet.cell(row=i, column=3).value, # "Pong":sheet.cell(row=i, column=6).va...
33.615385
54
0.649886
e1d12741ffdd5338667faa2590522d4debf232f5
3,437
py
Python
archive/simple_nn.py
petebond/MarketPlaceML
347ea5eab84673b846c85c58ce6c525e3f1dd0ff
[ "CC0-1.0" ]
null
null
null
archive/simple_nn.py
petebond/MarketPlaceML
347ea5eab84673b846c85c58ce6c525e3f1dd0ff
[ "CC0-1.0" ]
null
null
null
archive/simple_nn.py
petebond/MarketPlaceML
347ea5eab84673b846c85c58ce6c525e3f1dd0ff
[ "CC0-1.0" ]
null
null
null
from os import access import torch import torch.nn as nn import torch.optim as optim import torch.nn.functional as F from torch.utils.data import DataLoader from torchvision import datasets, transforms import numpy as np import matplotlib.pyplot as plt # Create fully connected neural network model = CNN(784, 10) x = ...
30.6875
112
0.647949
becbc66bb4d180935eed7f6a49ea9b7ed75ae703
998
py
Python
plot_loss.py
ngachago/tabular_comp
799a1e0dbf7a51bb04454f1f14a57f883dbd2da7
[ "MIT" ]
null
null
null
plot_loss.py
ngachago/tabular_comp
799a1e0dbf7a51bb04454f1f14a57f883dbd2da7
[ "MIT" ]
null
null
null
plot_loss.py
ngachago/tabular_comp
799a1e0dbf7a51bb04454f1f14a57f883dbd2da7
[ "MIT" ]
null
null
null
import matplotlib.pyplot as plt
26.972973
51
0.635271
becc2f00075040cb4b100c7b8d0736d719593862
18,695
py
Python
hotkey.py
RMPiria/painelContreole
bd07def485981456a7e7390f2b18db71740ce8da
[ "Unlicense" ]
null
null
null
hotkey.py
RMPiria/painelContreole
bd07def485981456a7e7390f2b18db71740ce8da
[ "Unlicense" ]
null
null
null
hotkey.py
RMPiria/painelContreole
bd07def485981456a7e7390f2b18db71740ce8da
[ "Unlicense" ]
null
null
null
# -*- coding: utf-8 -*- import os from os.path import dirname, join, normpath import sys from sys import platform from config import config if platform == 'darwin': import objc from AppKit import NSApplication, NSWorkspace, NSBeep, NSSound, NSEvent, NSKeyDown, NSKeyUp, NSFlagsChanged, NSKeyDownMask, NSFlag...
44.300948
424
0.589462
becc66adc74c550995995f2d2b08dfaa9d6845d1
3,530
py
Python
Chapter10/ch10_r1_grover_aqua.py
georgekorpas/Quantum-Computing-in-Practice-with-Qiskit-and-IBM-Quantum-Experience
938123d051c5bab72110011b3a05e515bb69ca09
[ "MIT" ]
24
2020-11-21T20:33:51.000Z
2022-03-26T06:41:27.000Z
Chapter10/ch10_r1_grover_aqua.py
videomover/Quantum-Computing-in-Practice-with-Qiskit-and-IBM-Quantum-Experience
938123d051c5bab72110011b3a05e515bb69ca09
[ "MIT" ]
2
2021-02-07T14:32:12.000Z
2022-03-25T07:23:46.000Z
Chapter10/ch10_r1_grover_aqua.py
videomover/Quantum-Computing-in-Practice-with-Qiskit-and-IBM-Quantum-Experience
938123d051c5bab72110011b3a05e515bb69ca09
[ "MIT" ]
16
2020-11-03T07:49:11.000Z
2022-03-26T06:41:29.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created Nov 2020 @author: hassi """ from qiskit import Aer, IBMQ # Do the necessary import for our program from qiskit.aqua.algorithms import Grover from qiskit.aqua.components.oracles import LogicalExpressionOracle, TruthTableOracle # Import basic plot tools from ...
34.950495
120
0.703116
becc7d9f66f89922de66fb46f1bec24640debbb3
1,428
py
Python
setup_pre-commit.py
fierte-product-development/Setups
d6151888ecc82a94e894b5d926c85eb193a5b97c
[ "MIT" ]
1
2021-07-06T09:26:48.000Z
2021-07-06T09:26:48.000Z
setup_pre-commit.py
fierte-product-development/Setups
d6151888ecc82a94e894b5d926c85eb193a5b97c
[ "MIT" ]
3
2022-01-26T05:29:04.000Z
2022-02-16T10:16:02.000Z
setup_pre-commit.py
fierte-product-development/Setups
d6151888ecc82a94e894b5d926c85eb193a5b97c
[ "MIT" ]
1
2020-11-11T01:23:01.000Z
2020-11-11T01:23:01.000Z
import sys import os import subprocess from subprocess import PIPE, STDOUT from pathlib import Path proc_arg = { 'shell': True, 'stdout': PIPE, 'text': True } if __name__ == "__main__": main()
21.969231
65
0.579832
bece2e0f8b2de4615e59523ec76f70e91828684b
889
py
Python
5-buscar.py
gustavodp22/TP_DE_-CRUD-create-read-update-delete-
8edfba57cbbad37f8fb1af2d42d1d601301e8dd6
[ "MIT" ]
null
null
null
5-buscar.py
gustavodp22/TP_DE_-CRUD-create-read-update-delete-
8edfba57cbbad37f8fb1af2d42d1d601301e8dd6
[ "MIT" ]
null
null
null
5-buscar.py
gustavodp22/TP_DE_-CRUD-create-read-update-delete-
8edfba57cbbad37f8fb1af2d42d1d601301e8dd6
[ "MIT" ]
null
null
null
""" CRUD de SQLite3 con Python 3 """ import sqlite3 try: bd = sqlite3.connect("libros.db") cursor = bd.cursor() busqueda = input("Escribe tu bsqueda: ") if not busqueda: print("Bsqueda invlida") exit() sentencia = "SELECT * FROM libros WHERE titulo LIKE ?;" cursor.execute(sentencia, [ "...
27.78125
86
0.533183
becf153d29dc0bf9abcbf500a0d578ce48e9150a
4,686
py
Python
tests/advanced_tests/regressors.py
amlanbanerjee/auto_ml
db8e1d2cfa93f13a21e55739acfc8d99837e91b0
[ "MIT" ]
1,671
2016-08-09T04:44:48.000Z
2022-03-27T01:29:23.000Z
tests/advanced_tests/regressors.py
amlanbanerjee/auto_ml
db8e1d2cfa93f13a21e55739acfc8d99837e91b0
[ "MIT" ]
428
2016-08-08T00:13:04.000Z
2022-01-19T10:09:05.000Z
tests/advanced_tests/regressors.py
amlanbanerjee/auto_ml
db8e1d2cfa93f13a21e55739acfc8d99837e91b0
[ "MIT" ]
334
2016-08-29T12:34:18.000Z
2022-01-31T09:14:30.000Z
import datetime import os import random import sys sys.path = [os.path.abspath(os.path.dirname(__file__))] + sys.path from auto_ml import Predictor from auto_ml.utils_models import load_ml_model import dill from nose.tools import assert_equal, assert_not_equal, with_setup import numpy as np from sklearn.model_selecti...
31.877551
146
0.712761
bed0237d9ebc522d5a4384033d2b57c729cc7ede
39
py
Python
__init__.py
amueller/information-theoretic-mst
178fd4396bc9a9a499ec3d18d5047b320a5c32f2
[ "Unlicense" ]
20
2016-05-03T13:29:09.000Z
2021-10-06T20:41:36.000Z
__init__.py
amueller/information-theoretic-mst
178fd4396bc9a9a499ec3d18d5047b320a5c32f2
[ "Unlicense" ]
1
2018-04-21T15:32:07.000Z
2020-05-19T00:28:52.000Z
__init__.py
amueller/information-theoretic-mst
178fd4396bc9a9a499ec3d18d5047b320a5c32f2
[ "Unlicense" ]
5
2015-04-21T00:27:49.000Z
2019-02-23T20:46:33.000Z
from itm import ITM __all__ = ['ITM']
9.75
19
0.666667
bed3d451e4686403bc8880395163b3b1b1569208
2,827
py
Python
scripts/left_right_hemisphere_data/hemisphere_asymmetry.py
mwinding/connectome_analysis
dbc747290891805863c9481921d8080dc2043d21
[ "MIT" ]
1
2021-06-10T05:48:16.000Z
2021-06-10T05:48:16.000Z
left_right_hemisphere_data/hemisphere_asymmetry.py
mwinding/connectome_tools
0392f6b1e924194299ea7760d8386eb01f3371a3
[ "MIT" ]
2
2022-01-21T11:48:45.000Z
2022-01-21T11:48:45.000Z
scripts/left_right_hemisphere_data/hemisphere_asymmetry.py
mwinding/connectome_analysis
dbc747290891805863c9481921d8080dc2043d21
[ "MIT" ]
1
2022-02-02T15:39:52.000Z
2022-02-02T15:39:52.000Z
import pandas as pd import numpy as np import csv # import synapses divided across hemispheres hemisphere_data = pd.read_csv('left_right_hemisphere_data/brain_hemisphere_membership.csv', header = 0) #print(hemisphere_data) # import pair list CSV, manually generated #pairs = pd.read_csv('data/bp-pairs-2020-01-28.csv',...
45.596774
145
0.812168
bed4073b9e79a28ea38d1cc06f6e14cb5d4efcb7
777
py
Python
__determineTripplesSumToZeroFromList.py
simdevex/01.Basics
cf4f372384e66f4b26e4887d2f5d815a1f8e929c
[ "MIT" ]
null
null
null
__determineTripplesSumToZeroFromList.py
simdevex/01.Basics
cf4f372384e66f4b26e4887d2f5d815a1f8e929c
[ "MIT" ]
null
null
null
__determineTripplesSumToZeroFromList.py
simdevex/01.Basics
cf4f372384e66f4b26e4887d2f5d815a1f8e929c
[ "MIT" ]
null
null
null
''' Python program to determine which triples sum to zero from a given list of lists. Input: [[1343532, -2920635, 332], [-27, 18, 9], [4, 0, -4], [2, 2, 2], [-20, 16, 4]] Output: [False, True, True, False, True] Input: [[1, 2, -3], [-4, 0, 4], [0, 1, -5], [1, 1, 1], [-2, 4, -1]] Output: [True, True, False, False, False...
32.375
84
0.574003
bed6c276e3757d89c0d4a20b188e77bced930a94
701
py
Python
fastNLP/modules/encoder/lstm.py
h00Jiang/fastNLP
79ddb469d81946c87a3d066122a8a3aba6e40f3a
[ "Apache-2.0" ]
null
null
null
fastNLP/modules/encoder/lstm.py
h00Jiang/fastNLP
79ddb469d81946c87a3d066122a8a3aba6e40f3a
[ "Apache-2.0" ]
null
null
null
fastNLP/modules/encoder/lstm.py
h00Jiang/fastNLP
79ddb469d81946c87a3d066122a8a3aba6e40f3a
[ "Apache-2.0" ]
null
null
null
import torch.nn as nn
29.208333
98
0.636234
bed723c002fdd1ab37526c62f785025bbbd1fbd1
838
py
Python
geoLocApp/signals.py
KKWaxy/geoLoc
23e33b9fd7cb3b1031bd11475612dcc324680975
[ "Apache-2.0" ]
null
null
null
geoLocApp/signals.py
KKWaxy/geoLoc
23e33b9fd7cb3b1031bd11475612dcc324680975
[ "Apache-2.0" ]
null
null
null
geoLocApp/signals.py
KKWaxy/geoLoc
23e33b9fd7cb3b1031bd11475612dcc324680975
[ "Apache-2.0" ]
null
null
null
from django.db.models.signals import pre_save,post_save from django.dispatch import receiver import geoLocApp.models import geoLocApp.distance # @receiver(post_save,sender=geoLocApp.models.Position,dispatch_uid="only_before_registered") # def setDistance(sender, **kwargs): # position = kwargs["instance"] ...
39.904762
139
0.72673
bed7a7f211ac4ca2170057d5dae27d3248efc33a
2,198
py
Python
src/main/python/shabda/data/iterators/internal/data_iterator_base.py
dhiraa/sabdha
f428418962dcc76f49e0a451ffc0545fda9b6b59
[ "Apache-2.0" ]
4
2018-10-26T07:00:34.000Z
2020-10-07T01:03:08.000Z
src/main/python/shabda/data/iterators/internal/data_iterator_base.py
dhiraa/sabdha
f428418962dcc76f49e0a451ffc0545fda9b6b59
[ "Apache-2.0" ]
null
null
null
src/main/python/shabda/data/iterators/internal/data_iterator_base.py
dhiraa/sabdha
f428418962dcc76f49e0a451ffc0545fda9b6b59
[ "Apache-2.0" ]
1
2018-10-26T07:00:38.000Z
2018-10-26T07:00:38.000Z
# Copyright 2018 The Shabda Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable...
28.179487
83
0.670155
bed7c4898d58c738f63aa212ff888514735a6694
441
py
Python
app/filters.py
dakhnovskaya/organization
72fb6f0a2daf03e7f7ce4dfb2cb3c3eaf1c40851
[ "Apache-2.0" ]
null
null
null
app/filters.py
dakhnovskaya/organization
72fb6f0a2daf03e7f7ce4dfb2cb3c3eaf1c40851
[ "Apache-2.0" ]
null
null
null
app/filters.py
dakhnovskaya/organization
72fb6f0a2daf03e7f7ce4dfb2cb3c3eaf1c40851
[ "Apache-2.0" ]
null
null
null
import django_filters from app.models import Company
33.923077
102
0.750567
bed83cf2a356ae3011eb19bade5063e46f89b28c
6,598
py
Python
reaction/rpc/rabbitmq.py
Inkln/reaction
7a57bd642ac3db15012717130a5f2655c3b7b177
[ "Apache-2.0" ]
73
2019-10-01T15:59:57.000Z
2021-06-29T11:59:16.000Z
reaction/rpc/rabbitmq.py
Inkln/reaction
7a57bd642ac3db15012717130a5f2655c3b7b177
[ "Apache-2.0" ]
2
2020-06-25T10:26:38.000Z
2022-02-21T06:20:47.000Z
reaction/rpc/rabbitmq.py
Inkln/reaction
7a57bd642ac3db15012717130a5f2655c3b7b177
[ "Apache-2.0" ]
7
2019-10-08T05:46:22.000Z
2020-07-27T12:58:18.000Z
from typing import List import asyncio import inspect import logging import uuid import aio_pika import aio_pika.exceptions from .base import BaseRPC from .common import RPCError, RPCHandler, RPCRequest, RPCResponse
34.910053
78
0.543346
bed8ffa1e73ffa405bfc1005a04f4f722ab41812
2,069
py
Python
api/migrations/0005_auto_20200906_1951.py
sh2MAN/yamdb_final
17f84bacd832237d88d3389605cf2acdf2a590f5
[ "BSD-3-Clause" ]
null
null
null
api/migrations/0005_auto_20200906_1951.py
sh2MAN/yamdb_final
17f84bacd832237d88d3389605cf2acdf2a590f5
[ "BSD-3-Clause" ]
null
null
null
api/migrations/0005_auto_20200906_1951.py
sh2MAN/yamdb_final
17f84bacd832237d88d3389605cf2acdf2a590f5
[ "BSD-3-Clause" ]
12
2021-02-11T16:39:00.000Z
2022-03-30T19:18:24.000Z
# Generated by Django 3.0.5 on 2020-09-06 19:51 from django.db import migrations, models import django.db.models.deletion
34.483333
177
0.585307
bed9a7c33d1cf837bf05eedf9e2389f71612ac64
1,104
py
Python
user_activity/models.py
adithya-bhat-b/user-activity
d2577bbb295ac381e08a31e296e3d681da7ab036
[ "MIT" ]
null
null
null
user_activity/models.py
adithya-bhat-b/user-activity
d2577bbb295ac381e08a31e296e3d681da7ab036
[ "MIT" ]
3
2021-04-08T22:04:18.000Z
2021-06-09T19:14:16.000Z
user_activity/models.py
adithya-bhat-b/user-activity
d2577bbb295ac381e08a31e296e3d681da7ab036
[ "MIT" ]
null
null
null
import pytz from django.db import models # Create your models here. def _get_time_zones(): """ Function to get all the timezones """ timezone_choices = [(tz, tz) for tz in pytz.all_timezones] return timezone_choices # Model for user # Model for user
25.674419
74
0.646739
bedad5c3db81102c82212833e871a369686befc7
1,992
py
Python
Learning/python_data_analysis1.py
VictoriaGuXY/MCO-Menu-Checker-Online
706e2e1bf7395cc344f382ea2ac53d964d459f86
[ "MIT" ]
null
null
null
Learning/python_data_analysis1.py
VictoriaGuXY/MCO-Menu-Checker-Online
706e2e1bf7395cc344f382ea2ac53d964d459f86
[ "MIT" ]
null
null
null
Learning/python_data_analysis1.py
VictoriaGuXY/MCO-Menu-Checker-Online
706e2e1bf7395cc344f382ea2ac53d964d459f86
[ "MIT" ]
null
null
null
import pandas as pd # pandas provides us lots of data frame and functions that we can quickly use # to analyze data. """ output """ # This file contains notes of basic data analyzing strategies using Python. # I will introduce two ways to read a csv file: pathway and URL. # Also, I will introduce how to output data ...
36.888889
84
0.533133
bedb078b9701b035a6b7ffcad6706445ac8dade2
768
py
Python
InvoiceItemModel.py
kevinyjiang/cpa-generator
c21cd1f898cf068daff8a6937d6cefc591b16ab1
[ "MIT" ]
2
2018-09-26T19:18:45.000Z
2018-11-14T00:38:28.000Z
InvoiceItemModel.py
kevinyjiang/cpa-generator
c21cd1f898cf068daff8a6937d6cefc591b16ab1
[ "MIT" ]
null
null
null
InvoiceItemModel.py
kevinyjiang/cpa-generator
c21cd1f898cf068daff8a6937d6cefc591b16ab1
[ "MIT" ]
null
null
null
import config
30.72
68
0.453125
bedb1dc2f3fdaeceb37c80ae1a87e69944c3c668
1,725
py
Python
lambda/populateDB/lambda_function.py
aws-samples/amazon-connect-dynamic-ivr-menus
911f5d04cf78d3097cfe7e169bd0062459d61ec4
[ "MIT-0" ]
4
2021-06-24T14:42:42.000Z
2021-12-13T07:08:48.000Z
lambda/populateDB/lambda_function.py
aws-samples/amazon-connect-dynamic-ivr-menus
911f5d04cf78d3097cfe7e169bd0062459d61ec4
[ "MIT-0" ]
1
2021-12-13T06:53:39.000Z
2021-12-13T06:53:39.000Z
lambda/populateDB/lambda_function.py
aws-samples/amazon-connect-dynamic-ivr-menus
911f5d04cf78d3097cfe7e169bd0062459d61ec4
[ "MIT-0" ]
2
2021-06-10T18:54:03.000Z
2021-12-13T08:07:05.000Z
import json import boto3 import os
28.278689
176
0.584348
bedcd44ac29b275e927dc09d0e22f32d04f7138a
59
py
Python
pyds/heap/__init__.py
nitinkatyal1314/data-structures
2e7f5b99a6b09cea48f729682d9431b72afbfd7a
[ "MIT" ]
6
2021-04-06T18:14:59.000Z
2021-07-18T03:26:03.000Z
pyds/heap/__init__.py
nitinkatyal1314/data-structures
2e7f5b99a6b09cea48f729682d9431b72afbfd7a
[ "MIT" ]
null
null
null
pyds/heap/__init__.py
nitinkatyal1314/data-structures
2e7f5b99a6b09cea48f729682d9431b72afbfd7a
[ "MIT" ]
null
null
null
from .api import HeapAPI as Heap from .api import HeapType
19.666667
32
0.79661
bedeaa04e3aa523fae916c1f3ad83805bf94106f
2,849
py
Python
examples/s5b_transfer/s5b_receiver.py
isabella232/slixmpp
e15e6735f1dbfc66a5d43efe9fa9e7f5c9d1610a
[ "BSD-3-Clause" ]
null
null
null
examples/s5b_transfer/s5b_receiver.py
isabella232/slixmpp
e15e6735f1dbfc66a5d43efe9fa9e7f5c9d1610a
[ "BSD-3-Clause" ]
1
2021-02-24T07:58:40.000Z
2021-02-24T07:58:40.000Z
examples/s5b_transfer/s5b_receiver.py
isabella232/slixmpp
e15e6735f1dbfc66a5d43efe9fa9e7f5c9d1610a
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Slixmpp: The Slick XMPP Library Copyright (C) 2015 Emmanuel Gil Peyrot This file is part of Slixmpp. See the file LICENSE for copying permission. """ import asyncio import logging from getpass import getpass from argparse import ArgumentParser impo...
31.307692
77
0.630046
bedfb697a1311d179da9b0d371384f0a26973131
2,170
py
Python
api/app/routers/weather_models.py
bcgov/wps
71df0de72de9cd656dc9ebf8461ffe47cfb155f6
[ "Apache-2.0" ]
19
2020-01-31T21:51:31.000Z
2022-01-07T14:40:03.000Z
api/app/routers/weather_models.py
bcgov/wps
71df0de72de9cd656dc9ebf8461ffe47cfb155f6
[ "Apache-2.0" ]
1,680
2020-01-24T23:25:08.000Z
2022-03-31T23:50:27.000Z
api/app/routers/weather_models.py
bcgov/wps
71df0de72de9cd656dc9ebf8461ffe47cfb155f6
[ "Apache-2.0" ]
6
2020-04-28T22:41:08.000Z
2021-05-05T18:16:06.000Z
""" Routers for weather_models. """ import logging from fastapi import APIRouter, Depends from app.auth import authentication_required, audit from app.weather_models import ModelEnum from app.schemas.weather_models import ( WeatherModelPredictionSummaryResponse, WeatherStationsModelRunsPredictionsResponse) from...
38.070175
109
0.765438
bee066a8fc595636f1ed42106327e650d743c5d7
1,529
py
Python
155.min-stack.py
elfgzp/leetCode
964c6574d310a9a6c486bf638487fd2f72b83b3f
[ "MIT" ]
3
2019-04-12T06:22:56.000Z
2019-05-04T04:25:01.000Z
155.min-stack.py
elfgzp/Leetcode
964c6574d310a9a6c486bf638487fd2f72b83b3f
[ "MIT" ]
null
null
null
155.min-stack.py
elfgzp/Leetcode
964c6574d310a9a6c486bf638487fd2f72b83b3f
[ "MIT" ]
null
null
null
# # @lc app=leetcode.cn id=155 lang=python3 # # [155] # # https://leetcode-cn.com/problems/min-stack/description/ # # algorithms # Easy (47.45%) # Total Accepted: 19.4K # Total Submissions: 40.3K # Testcase Example: '["MinStack","push","push","push","getMin","pop","top","getMin"]\n[[],[-2],[0],[-3],[],[],[],[]]' #...
19.602564
118
0.530412
bee082fd43d018efe615e1efde05a3a482204b84
48,845
py
Python
demisto_client/demisto_api/models/investigation_playbook_task.py
guytest/demisto-py
8ca4f56a6177668151b5656cbe675a377003c0e9
[ "Apache-2.0" ]
1
2020-04-08T14:36:06.000Z
2020-04-08T14:36:06.000Z
demisto_client/demisto_api/models/investigation_playbook_task.py
guytest/demisto-py
8ca4f56a6177668151b5656cbe675a377003c0e9
[ "Apache-2.0" ]
null
null
null
demisto_client/demisto_api/models/investigation_playbook_task.py
guytest/demisto-py
8ca4f56a6177668151b5656cbe675a377003c0e9
[ "Apache-2.0" ]
null
null
null
# coding: utf-8 """ Demisto API This is the public REST API to integrate with the demisto server. HTTP request can be sent using any HTTP-client. For an example dedicated client take a look at: https://github.com/demisto/demisto-py. Requests must include API-key that can be generated in the Demisto web clie...
32.498337
1,584
0.649381
bee216da141df68c9f7b41ae5761fcf6bc3e34f4
36,274
py
Python
make.py
beefoo/subway-inequality
a93bdbf81ea3753b0d2ec85d028f816adcc2f6f9
[ "MIT" ]
1
2021-03-08T01:44:10.000Z
2021-03-08T01:44:10.000Z
make.py
beefoo/subway-inequality
a93bdbf81ea3753b0d2ec85d028f816adcc2f6f9
[ "MIT" ]
null
null
null
make.py
beefoo/subway-inequality
a93bdbf81ea3753b0d2ec85d028f816adcc2f6f9
[ "MIT" ]
1
2021-11-02T21:55:39.000Z
2021-11-02T21:55:39.000Z
# -*- coding: utf-8 -*- # python3 make.py -loc "data/lines/1.csv" -width 3840 -height 2160 -overwrite # python3 make.py -loc "data/lines/1.csv" -width 3840 -height 2160 -rtl -overwrite # python3 combine.py # python3 make.py -data "data/lines/A_LEF.csv" -width 3840 -height 2160 -loc "data/lines/C.csv" -img "img/A.png" ...
48.559572
371
0.668688
bee4367acb7e986f0d0dbc48437bdbc33f87cdab
15,487
py
Python
release/scripts/startup/bl_ui/space_text.py
vic3t3chn0/Bforartists
7c54a60dd7aa568e20ae7e3778dfef993b61b7b5
[ "Naumen", "Condor-1.1", "MS-PL" ]
1
2020-01-18T22:13:24.000Z
2020-01-18T22:13:24.000Z
release/scripts/startup/bl_ui/space_text.py
vic3t3chn0/Bforartists
7c54a60dd7aa568e20ae7e3778dfef993b61b7b5
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
release/scripts/startup/bl_ui/space_text.py
vic3t3chn0/Bforartists
7c54a60dd7aa568e20ae7e3778dfef993b61b7b5
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
# ##### BEGIN GPL LICENSE BLOCK ##### # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # # This program is distrib...
31.735656
125
0.612966
bee4d2aa2b67b36999556e3fe3dbdddbb08d368e
6,151
py
Python
wb/main/jobs/create_setup_bundle/create_setup_bundle_job.py
apaniukov/workbench
2f2653ecfd0143d2d53e33ad84379f13443fdfaa
[ "Apache-2.0" ]
23
2022-03-17T12:24:09.000Z
2022-03-31T09:13:30.000Z
wb/main/jobs/create_setup_bundle/create_setup_bundle_job.py
apaniukov/workbench
2f2653ecfd0143d2d53e33ad84379f13443fdfaa
[ "Apache-2.0" ]
18
2022-03-21T08:17:44.000Z
2022-03-30T12:42:30.000Z
wb/main/jobs/create_setup_bundle/create_setup_bundle_job.py
apaniukov/workbench
2f2653ecfd0143d2d53e33ad84379f13443fdfaa
[ "Apache-2.0" ]
16
2022-03-17T12:24:14.000Z
2022-03-31T12:15:12.000Z
""" OpenVINO DL Workbench Class for create setup bundle job Copyright (c) 2020 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...
55.918182
115
0.676313
bee53cb77bca7c1ce3a8035bc7f1d877d50fc52d
2,365
py
Python
ros_awsiot_agent/src/ros_awsiot_agent/mqtt2ros.py
whill-labs/ros_awsiot
4c15be53c0643fb81fd5a261a1af5be2652c4166
[ "MIT" ]
4
2021-10-06T10:19:07.000Z
2022-03-02T02:13:09.000Z
ros_awsiot_agent/src/ros_awsiot_agent/mqtt2ros.py
whill-labs/ros_awsiot
4c15be53c0643fb81fd5a261a1af5be2652c4166
[ "MIT" ]
1
2021-10-02T15:13:48.000Z
2021-10-02T15:13:48.000Z
ros_awsiot_agent/src/ros_awsiot_agent/mqtt2ros.py
whill-labs/ros_awsiot
4c15be53c0643fb81fd5a261a1af5be2652c4166
[ "MIT" ]
1
2021-10-07T02:11:27.000Z
2021-10-07T02:11:27.000Z
#!/usr/bin/env python3 import logging from os.path import expanduser from typing import Any, Dict from uuid import uuid4 import rospy from awsiotclient import mqtt, pubsub from ros_awsiot_agent import set_module_logger from rosbridge_library.internal.message_conversion import populate_instance from rosbridge_library....
30.320513
80
0.689641
bee627678ed010aec77f469faec38fc6e41f1465
5,031
py
Python
poly/app.py
thdb-theo/Polynomial
9943ee5eb175ef01720954c6a95c685bd7fd5f6c
[ "MIT" ]
null
null
null
poly/app.py
thdb-theo/Polynomial
9943ee5eb175ef01720954c6a95c685bd7fd5f6c
[ "MIT" ]
null
null
null
poly/app.py
thdb-theo/Polynomial
9943ee5eb175ef01720954c6a95c685bd7fd5f6c
[ "MIT" ]
null
null
null
import sys import re from PyQt4 import QtGui, QtCore from polynomial import Polynomial from rational import Rational if __name__ == '__main__': main()
33.098684
93
0.603459
bee68e7de68c03f76e1ccae51e5aa678663d50fa
493
py
Python
ariadne_server/tests/fixtures/fake_context.py
seanaye/FeatherLight-API
4d42a424762311ee35b3fd4f689883aa4197eb2e
[ "MIT" ]
3
2020-06-28T17:30:57.000Z
2022-01-25T18:03:38.000Z
ariadne_server/tests/fixtures/fake_context.py
seanaye/FeatherLight-API
4d42a424762311ee35b3fd4f689883aa4197eb2e
[ "MIT" ]
null
null
null
ariadne_server/tests/fixtures/fake_context.py
seanaye/FeatherLight-API
4d42a424762311ee35b3fd4f689883aa4197eb2e
[ "MIT" ]
1
2021-02-04T07:14:08.000Z
2021-02-04T07:14:08.000Z
from secrets import token_hex import pytest
18.259259
47
0.584178
bee850ee36621b995a6de029e878f2bcfff1b23e
4,552
py
Python
libs/evaluation/training_benchmark_database.py
eeshakumar/hythe
52ca795c8370ddfb2aa6fb87ff3f63a85c55f913
[ "MIT" ]
null
null
null
libs/evaluation/training_benchmark_database.py
eeshakumar/hythe
52ca795c8370ddfb2aa6fb87ff3f63a85c55f913
[ "MIT" ]
null
null
null
libs/evaluation/training_benchmark_database.py
eeshakumar/hythe
52ca795c8370ddfb2aa6fb87ff3f63a85c55f913
[ "MIT" ]
null
null
null
# Copyright (c) 2020 Julian Bernhard, # Klemens Esterle, Patrick Hart, Tobias Kessler # # This software is released under the MIT License. # https://opensource.org/licenses/MIT from bark.benchmark.benchmark_result import BenchmarkConfig from bark_ml.library_wrappers.lib_fqf_iqn_qrdqn.agent import TrainingBenchmark fro...
47.915789
133
0.65312
bee859bef7a37ff661836407bce80f2d3470ddd9
27,023
py
Python
goldstone/tenants/tests_cloud.py
Solinea/goldstone-server
91b078ca9fed1b33f48dc79f4af5c9d1817a1bc5
[ "Apache-2.0" ]
14
2015-05-18T22:11:11.000Z
2020-08-14T06:50:09.000Z
goldstone/tenants/tests_cloud.py
lexjacobs/goldstone-server
91b078ca9fed1b33f48dc79f4af5c9d1817a1bc5
[ "Apache-2.0" ]
568
2015-05-17T01:26:36.000Z
2021-06-10T20:36:47.000Z
goldstone/tenants/tests_cloud.py
lexjacobs/goldstone-server
91b078ca9fed1b33f48dc79f4af5c9d1817a1bc5
[ "Apache-2.0" ]
22
2015-05-25T20:16:06.000Z
2021-08-08T20:25:24.000Z
"""Unit tests for /tenants/<id>/cloud endpoints.""" # Copyright 2015 Solinea, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unles...
41.130898
79
0.531029
bee920effbd17d10746b345bbf080e1ea4ae7a4f
4,750
py
Python
onnxruntime/test/server/integration_tests/model_zoo_data_prep.py
PhaniShekhar/onnxruntime
2663b9c44381b30525ae6234e13ed25c69206d07
[ "MIT" ]
null
null
null
onnxruntime/test/server/integration_tests/model_zoo_data_prep.py
PhaniShekhar/onnxruntime
2663b9c44381b30525ae6234e13ed25c69206d07
[ "MIT" ]
null
null
null
onnxruntime/test/server/integration_tests/model_zoo_data_prep.py
PhaniShekhar/onnxruntime
2663b9c44381b30525ae6234e13ed25c69206d07
[ "MIT" ]
null
null
null
# Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. import os import sys import shutil import onnx import onnxruntime import json from google.protobuf.json_format import MessageToJson import predict_pb2 import onnx_ml_pb2 # Current models only have one input and one output...
32.758621
123
0.708842
beea57272100654c7600d64caab6b4c5cdc2179e
2,484
py
Python
articlequality/feature_lists/tests/test_enwiki.py
mariushoch/articlequality
57edf786636548bed466aa4e9d9e213fe8d1093b
[ "MIT" ]
null
null
null
articlequality/feature_lists/tests/test_enwiki.py
mariushoch/articlequality
57edf786636548bed466aa4e9d9e213fe8d1093b
[ "MIT" ]
null
null
null
articlequality/feature_lists/tests/test_enwiki.py
mariushoch/articlequality
57edf786636548bed466aa4e9d9e213fe8d1093b
[ "MIT" ]
null
null
null
from revscoring.datasources.revision_oriented import revision from revscoring.dependencies import solve from .. import enwiki revision_text = revision.text
27
76
0.654589
beead51f0acfbaced2396459fa3fc222015aa766
6,984
py
Python
GPU_compare_CPU.py
kvmu/SFU-workterm
91c976b094097912e71dd7e0d6207ad8ce7a7e93
[ "MIT" ]
null
null
null
GPU_compare_CPU.py
kvmu/SFU-workterm
91c976b094097912e71dd7e0d6207ad8ce7a7e93
[ "MIT" ]
null
null
null
GPU_compare_CPU.py
kvmu/SFU-workterm
91c976b094097912e71dd7e0d6207ad8ce7a7e93
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Mon Aug 10 14:31:17 2015 @author: Kevin M. Description: This script does CPU and GPU matrix element time complexity profiling. It has a function which applies the matrix element analysis for a given set of parameters, profiles the code and ...
29.719149
88
0.583477
beeae2374b9c6c4f75bcbbf6e4da5b6372460220
7,714
py
Python
applications/plugins/Flexible/Flexible_test/scenes/python/reInitMapping.py
sofa-framework/issofa
94855f488465bc3ed41223cbde987581dfca5389
[ "OML" ]
null
null
null
applications/plugins/Flexible/Flexible_test/scenes/python/reInitMapping.py
sofa-framework/issofa
94855f488465bc3ed41223cbde987581dfca5389
[ "OML" ]
null
null
null
applications/plugins/Flexible/Flexible_test/scenes/python/reInitMapping.py
sofa-framework/issofa
94855f488465bc3ed41223cbde987581dfca5389
[ "OML" ]
null
null
null
import Sofa import SofaTest import SofaPython.Tools OBJ = SofaPython.Tools.localPath( __file__, "beam.obj" ) RAW = SofaPython.Tools.localPath( __file__, "beam.raw" ) ##Check if calling Mapping::init() change anything # #The trick is to know that if the option evaluateShapeFunction is activated #in the ImageGaussPoint...
47.913043
298
0.704693
beeda21a5090a064572591c96a86d43fd6daf247
1,688
py
Python
mindspore/ops/_register_for_op.py
Vincent34/mindspore
a39a60878a46e7e9cb02db788c0bca478f2fa6e5
[ "Apache-2.0" ]
1
2021-07-16T12:05:53.000Z
2021-07-16T12:05:53.000Z
mindspore/ops/_register_for_op.py
Vincent34/mindspore
a39a60878a46e7e9cb02db788c0bca478f2fa6e5
[ "Apache-2.0" ]
null
null
null
mindspore/ops/_register_for_op.py
Vincent34/mindspore
a39a60878a46e7e9cb02db788c0bca478f2fa6e5
[ "Apache-2.0" ]
null
null
null
# Copyright 2020 Huawei Technologies Co., Ltd # # 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.76
82
0.593009
beee49868a956aa3196803cdf539676b921996ae
11,496
py
Python
senlin-7.0.0/senlin/tests/unit/api/middleware/test_version_negotiation.py
scottwedge/OpenStack-Stein
7077d1f602031dace92916f14e36b124f474de15
[ "Apache-2.0" ]
null
null
null
senlin-7.0.0/senlin/tests/unit/api/middleware/test_version_negotiation.py
scottwedge/OpenStack-Stein
7077d1f602031dace92916f14e36b124f474de15
[ "Apache-2.0" ]
5
2019-08-14T06:46:03.000Z
2021-12-13T20:01:25.000Z
senlin-7.0.0/senlin/tests/unit/api/middleware/test_version_negotiation.py
scottwedge/OpenStack-Stein
7077d1f602031dace92916f14e36b124f474de15
[ "Apache-2.0" ]
2
2020-03-15T01:24:15.000Z
2020-07-22T20:34:26.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 # distributed unde...
40.336842
79
0.673626
bef071b99c5638f1355cc9be272ba0f93a6cb31f
493
py
Python
iot/models.py
kkishans/IOT_DJANGO
12a19858f002a8c684e4dbb93868a8859d57615f
[ "MIT" ]
null
null
null
iot/models.py
kkishans/IOT_DJANGO
12a19858f002a8c684e4dbb93868a8859d57615f
[ "MIT" ]
null
null
null
iot/models.py
kkishans/IOT_DJANGO
12a19858f002a8c684e4dbb93868a8859d57615f
[ "MIT" ]
null
null
null
from django.db import models from django import forms # Create your models here.
25.947368
60
0.699797
bef0b40fe98f05288d080226293e4d439b57a362
2,970
py
Python
Homework files/Think_Python_Book_Homework_1.py
SillyHatsOnly/Python-Education-Experiments
22244defc47b4e3ba41af07957a782013afe12b0
[ "MIT" ]
null
null
null
Homework files/Think_Python_Book_Homework_1.py
SillyHatsOnly/Python-Education-Experiments
22244defc47b4e3ba41af07957a782013afe12b0
[ "MIT" ]
null
null
null
Homework files/Think_Python_Book_Homework_1.py
SillyHatsOnly/Python-Education-Experiments
22244defc47b4e3ba41af07957a782013afe12b0
[ "MIT" ]
null
null
null
do_twice(print_spam) do_twice(print_spam, 'spamm') do_four(print_spam, "SPAM") hor_line hor_line() hor_line() hor_line() square_print() square_print() square_print() double_square double_square() double_square() square_print() square_print()
18.679245
47
0.476431
bef16a350cb321f3059e524b8af8bbcaac507956
123
py
Python
email_log/apps.py
bernd-wechner/django-email-log
dbbe0ef6cee8b8067d6420dccc7a8f2061662a68
[ "MIT" ]
26
2015-04-14T18:24:54.000Z
2022-03-07T13:01:34.000Z
email_log/apps.py
bernd-wechner/django-email-log
dbbe0ef6cee8b8067d6420dccc7a8f2061662a68
[ "MIT" ]
23
2015-06-23T02:40:39.000Z
2022-02-08T05:07:42.000Z
email_log/apps.py
bernd-wechner/django-email-log
dbbe0ef6cee8b8067d6420dccc7a8f2061662a68
[ "MIT" ]
25
2015-02-04T16:16:05.000Z
2021-09-28T10:53:00.000Z
from django.apps import AppConfig
17.571429
33
0.731707
bef17e7d48e784a47058c04dd63db533f851c334
83
py
Python
gawain/tests/test_numerics.py
henrywatkins/gawain
c556be20242249504fc0e04a5d3b7168a8369043
[ "MIT" ]
1
2021-11-20T06:16:13.000Z
2021-11-20T06:16:13.000Z
gawain/tests/test_numerics.py
henrywatkins/gawain
c556be20242249504fc0e04a5d3b7168a8369043
[ "MIT" ]
null
null
null
gawain/tests/test_numerics.py
henrywatkins/gawain
c556be20242249504fc0e04a5d3b7168a8369043
[ "MIT" ]
null
null
null
import pytest from gawain.numerics import Clock, SolutionVector, MHDSolutionVector
27.666667
68
0.86747
bef2574ded37985d33b872832104339ea2dcbc78
384
py
Python
project_9/util.py
sople1/project_9
7d91d786533d508572feae1ffbd1b4a6a80208ab
[ "CC0-1.0" ]
null
null
null
project_9/util.py
sople1/project_9
7d91d786533d508572feae1ffbd1b4a6a80208ab
[ "CC0-1.0" ]
null
null
null
project_9/util.py
sople1/project_9
7d91d786533d508572feae1ffbd1b4a6a80208ab
[ "CC0-1.0" ]
null
null
null
""" utility for project 9 :author: Seongsu Yoon <sople1@snooey.net> :license: CC0 """ def clear(): """ clear cmd/term :return: void """ import os import sys if sys.platform == 'win32': os.system('cls') # on windows else: os.system('clear') # on linux / os x if __...
14.769231
45
0.570313
bef2add5e5d23f2bc354f97f806087052f88a9fd
2,383
py
Python
api/views.py
HigoOliveira/DesafioFinalServer
284d3cea59f28f6da229345496896106e3d2048a
[ "MIT" ]
null
null
null
api/views.py
HigoOliveira/DesafioFinalServer
284d3cea59f28f6da229345496896106e3d2048a
[ "MIT" ]
null
null
null
api/views.py
HigoOliveira/DesafioFinalServer
284d3cea59f28f6da229345496896106e3d2048a
[ "MIT" ]
null
null
null
from rest_framework.views import APIView from .models import User, Event from .serializer import UserSerializer, EventSerializer from rest_framework.permissions import AllowAny, IsAuthenticated from rest_framework.authentication import TokenAuthentication from rest_framework import status, mixins, generics from rest_f...
36.661538
85
0.768779
bef317cba640175d733bcaa55e5644bbab2602a1
1,582
py
Python
Searching_Sorting/MinimumMovesToEqualAllArrayElements2.py
PK-100/Competitive_Programming
d0863feaaa99462b2999e85dcf115f7a6c08bb8d
[ "MIT" ]
70
2018-06-25T21:20:15.000Z
2022-03-24T03:55:17.000Z
Searching_Sorting/MinimumMovesToEqualAllArrayElements2.py
An3sha/Competitive_Programming
ee7eadf51939a360d0b004d787ebabda583e92f0
[ "MIT" ]
4
2018-09-04T13:12:20.000Z
2021-06-20T08:29:12.000Z
Searching_Sorting/MinimumMovesToEqualAllArrayElements2.py
An3sha/Competitive_Programming
ee7eadf51939a360d0b004d787ebabda583e92f0
[ "MIT" ]
24
2018-12-26T05:15:32.000Z
2022-01-23T23:04:54.000Z
# LC 462 #from statistics import median from random import randrange from math import floor
28.763636
76
0.474083
bef32dc0efa2656e8a84216ea747c7b952e1b452
43
py
Python
moban/_version.py
CLiu13/moban
5deada1af7ff24a6adf698de6a8b589a258d4dc2
[ "MIT" ]
1
2018-12-16T01:16:22.000Z
2018-12-16T01:16:22.000Z
moban/_version.py
CLiu13/moban
5deada1af7ff24a6adf698de6a8b589a258d4dc2
[ "MIT" ]
null
null
null
moban/_version.py
CLiu13/moban
5deada1af7ff24a6adf698de6a8b589a258d4dc2
[ "MIT" ]
null
null
null
__version__ = "0.3.9" __author__ = "C. W."
14.333333
21
0.604651
bef3d9edefde231b494e39df17d4acf13c5e8797
666
py
Python
Gif_Rick/rick_random_gif.py
BiceCold/Citadel_of_Ricks
72f1a447accc2c11d1fa1cbf3c3342913913e50e
[ "Apache-2.0" ]
2
2018-04-13T17:41:08.000Z
2018-09-20T22:19:52.000Z
Gif_Rick/rick_random_gif.py
BiceCold/Citadel_of_Ricks
72f1a447accc2c11d1fa1cbf3c3342913913e50e
[ "Apache-2.0" ]
null
null
null
Gif_Rick/rick_random_gif.py
BiceCold/Citadel_of_Ricks
72f1a447accc2c11d1fa1cbf3c3342913913e50e
[ "Apache-2.0" ]
null
null
null
import imgurpython from Environment_Handlers.configs import get_config import random client_id = get_config("client_id") client_secret = get_config("client_secret") client_refresh_token = get_config("client_refresh") client_access_token = get_config("client_access_token") username = 'antipoliticsrick' client = imgur...
26.64
101
0.792793
bef57e6edf7a67698588bda9e271df4b1e689682
131
py
Python
catalyst/dl/experiment/__init__.py
andrey-avdeev/catalyst
fd17aaba7775c99b7e2b1ce86e60aa8f2379acc3
[ "Apache-2.0" ]
3
2019-11-02T05:37:06.000Z
2020-01-13T02:26:07.000Z
catalyst/dl/experiment/__init__.py
andrey-avdeev/catalyst
fd17aaba7775c99b7e2b1ce86e60aa8f2379acc3
[ "Apache-2.0" ]
null
null
null
catalyst/dl/experiment/__init__.py
andrey-avdeev/catalyst
fd17aaba7775c99b7e2b1ce86e60aa8f2379acc3
[ "Apache-2.0" ]
1
2021-12-20T07:32:25.000Z
2021-12-20T07:32:25.000Z
# flake8: noqa from .base import BaseExperiment from .config import ConfigExperiment from .supervised import SupervisedExperiment
21.833333
44
0.839695
bef59cacc937701b313af0467ffa47a4f4a7a929
3,217
py
Python
home_directories/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.BC9837BA-F60E-475C-B524-E761FBD0E1EB/common.py
joekallen/dotfiles
9318c168fdb9ce0b1066b032e93a7e465d0ffcee
[ "Apache-2.0" ]
null
null
null
home_directories/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.BC9837BA-F60E-475C-B524-E761FBD0E1EB/common.py
joekallen/dotfiles
9318c168fdb9ce0b1066b032e93a7e465d0ffcee
[ "Apache-2.0" ]
null
null
null
home_directories/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.BC9837BA-F60E-475C-B524-E761FBD0E1EB/common.py
joekallen/dotfiles
9318c168fdb9ce0b1066b032e93a7e465d0ffcee
[ "Apache-2.0" ]
null
null
null
import os import argparse import subprocess from workflow import Workflow
27.732759
126
0.608952
bef59fb3dbc590e868cbbe9ba87904ee2be92c5d
528
py
Python
dependencies/generate maps/pythongis/app/tk2/__init__.py
karimbahgat/AutoMap
eae52f16b7ce71cb2b4b7ae67cf6e4680ea2194f
[ "MIT" ]
4
2015-12-05T14:31:55.000Z
2018-02-09T05:54:36.000Z
dependencies/generate maps/pythongis/app/tk2/__init__.py
karimbahgat/AutoMap
eae52f16b7ce71cb2b4b7ae67cf6e4680ea2194f
[ "MIT" ]
1
2022-01-13T02:52:09.000Z
2022-01-13T02:52:09.000Z
dependencies/generate maps/pythongis/app/tk2/__init__.py
karimbahgat/AutoMap
eae52f16b7ce71cb2b4b7ae67cf6e4680ea2194f
[ "MIT" ]
1
2018-10-24T01:08:11.000Z
2018-10-24T01:08:11.000Z
""" Tk2 Tk2 is a convenience library for extending the functionality of Tkinter, to make it easier and more flexible to create GUI applications. """ from .basics import * from .scrollwidgets import * from .texteditor import Text, MultiTextSearch from .variables import * # Later from .multiwidgets import * from .pr...
20.307692
73
0.767045
bef5e1efda3dd7f954a3c06d34cbd2bd9106ec13
803
py
Python
tools/deepke/relation_extraction/standard/models/BasicModule.py
dfface/DoctorKG
6bd6ebec8244a9ce0a2c8c278a704f02b9afaaf8
[ "MIT" ]
1
2022-03-26T16:08:08.000Z
2022-03-26T16:08:08.000Z
tools/deepke/relation_extraction/standard/models/BasicModule.py
dfface/DoctorKG
6bd6ebec8244a9ce0a2c8c278a704f02b9afaaf8
[ "MIT" ]
null
null
null
tools/deepke/relation_extraction/standard/models/BasicModule.py
dfface/DoctorKG
6bd6ebec8244a9ce0a2c8c278a704f02b9afaaf8
[ "MIT" ]
null
null
null
import os import time import torch import torch.nn as nn
22.942857
85
0.555417
bef786a72fbb29131b60f5c806a5c2a1d2c1e463
3,135
py
Python
software/nuke/init.py
kei-iketani/plex
cf09c8ef93984e5a69b23bf56248b87e4cfd98b0
[ "MIT" ]
153
2018-03-22T18:29:17.000Z
2022-03-07T03:43:09.000Z
software/nuke/init.py
kei-iketani/plex
cf09c8ef93984e5a69b23bf56248b87e4cfd98b0
[ "MIT" ]
30
2018-08-16T16:27:42.000Z
2021-02-24T05:37:25.000Z
software/nuke/init.py
alexanderrichter/arPipeline
3466f70a79e4d32c0647ba21d9689157a0f7772e
[ "MIT" ]
34
2018-03-24T03:54:05.000Z
2022-03-10T11:36:52.000Z
#********************************************************************* # content = init Nuke # version = 0.1.0 # date = 2019-12-01 # # license = MIT <https://github.com/alexanderrichtertd> # author = Alexander Richter <alexanderrichtertd.com> #**************************************************************...
30.436893
89
0.536204
bef8b3cc0e57e7d1cb77a57410c13eec81de3df9
589
py
Python
main.py
gaoshanyu/web_ui_test_sample
8a6cc9b54b5f728af7ef0725dea42d759bd115d0
[ "MIT" ]
null
null
null
main.py
gaoshanyu/web_ui_test_sample
8a6cc9b54b5f728af7ef0725dea42d759bd115d0
[ "MIT" ]
null
null
null
main.py
gaoshanyu/web_ui_test_sample
8a6cc9b54b5f728af7ef0725dea42d759bd115d0
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Created at 03/10/2020 __author__ = 'raniys' import pytest if __name__ == '__main__': # -v: verbose; -s: shortcut for --capture=no; # -m: only run tests matching given mark expression. example: -m 'mark1 and not mark2'; # --html=path: create html report file at given path. # ...
39.266667
92
0.614601
bef9a72ceb82bbb48832da89c306ea29b20a4752
863
py
Python
rnd/HaskellRSLCompiler/test/parse/test.py
syoyo/lucille
ff81b332ae78181dbbdc1ec3c3b0f59992e7c0fa
[ "BSD-3-Clause" ]
77
2015-01-29T21:02:10.000Z
2022-03-04T11:23:12.000Z
rnd/HaskellRSLCompiler/test/parse/test.py
syoyo/lucille
ff81b332ae78181dbbdc1ec3c3b0f59992e7c0fa
[ "BSD-3-Clause" ]
1
2018-11-08T02:11:24.000Z
2018-11-08T04:31:17.000Z
rnd/HaskellRSLCompiler/test/parse/test.py
syoyo/lucille
ff81b332ae78181dbbdc1ec3c3b0f59992e7c0fa
[ "BSD-3-Clause" ]
13
2015-04-20T08:17:29.000Z
2020-06-17T18:35:06.000Z
#!/usr/bin/env python import os, sys import subprocess import re import glob errlog = [] if __name__ == '__main__': main()
17.979167
98
0.499421
befb15db729fb7dcc8145ec21e9b327a9461b95c
657
py
Python
glasses/models/classification/base/__init__.py
rentainhe/glasses
34300a76985c7fc643094fa8d617114926a0ee75
[ "MIT" ]
271
2020-10-20T12:30:23.000Z
2022-03-17T03:02:38.000Z
glasses/models/classification/base/__init__.py
rentainhe/glasses
34300a76985c7fc643094fa8d617114926a0ee75
[ "MIT" ]
212
2020-07-25T13:02:23.000Z
2022-02-20T10:33:32.000Z
glasses/models/classification/base/__init__.py
rentainhe/glasses
34300a76985c7fc643094fa8d617114926a0ee75
[ "MIT" ]
23
2021-01-03T13:53:36.000Z
2022-03-17T05:40:34.000Z
from torch import Tensor, nn from ...base import VisionModule
21.9
65
0.584475
befc1052790c2cb39af3f31238e68ac4213b7a50
3,202
py
Python
lib/data.py
PEDIA-Charite/classifier
13e9d6108f9691b089aac59c7392f7940033b8af
[ "MIT" ]
2
2019-04-04T03:44:25.000Z
2019-12-23T17:08:51.000Z
lib/data.py
PEDIA-Charite/classifier
13e9d6108f9691b089aac59c7392f7940033b8af
[ "MIT" ]
9
2017-05-23T09:55:15.000Z
2019-11-22T11:24:20.000Z
lib/data.py
PEDIA-Charite/classifier
13e9d6108f9691b089aac59c7392f7940033b8af
[ "MIT" ]
2
2017-05-24T12:23:13.000Z
2019-09-03T08:36:18.000Z
# -*- coding: utf-8 -*- import os import numpy as np import sys import logging import csv # Setup logging logger = logging.getLogger(__name__) console_handle = logging.StreamHandler() console_handle.setLevel(logging.INFO) formatter = logging.Formatter('%(asctime)s: %(message)s', datefmt='%m-%d %H:%M') cons...
37.232558
135
0.553716