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
765bdbd234fb42e7aa71522393ad38a642d864a9
13,184
py
Python
web/adoption_stories/adopteeStories/models.py
CuriousG102/Chinese-Adoption
8aa487b859ee330bd524381e8688aae68c225437
[ "MIT" ]
null
null
null
web/adoption_stories/adopteeStories/models.py
CuriousG102/Chinese-Adoption
8aa487b859ee330bd524381e8688aae68c225437
[ "MIT" ]
null
null
null
web/adoption_stories/adopteeStories/models.py
CuriousG102/Chinese-Adoption
8aa487b859ee330bd524381e8688aae68c225437
[ "MIT" ]
null
null
null
from django.db import models from django.utils.encoding import force_text from django.utils.translation import ugettext_lazy as _ from embed_video.fields import EmbedYoutubeField, EmbedSoundcloudField from .custom_model_fields import RestrictedImageField from .default_settings import ADOPTEE_STORIES_CONFIG as config ...
51.701961
112
0.586999
765c85c98a88ed131ecd9f838f2186d4fb82671f
169
py
Python
core/utils/gpu_check.py
andregri/keras-segmentation
699043adc4dd74b97cbed3d3e5b8d8aafb03b71c
[ "Apache-2.0" ]
null
null
null
core/utils/gpu_check.py
andregri/keras-segmentation
699043adc4dd74b97cbed3d3e5b8d8aafb03b71c
[ "Apache-2.0" ]
null
null
null
core/utils/gpu_check.py
andregri/keras-segmentation
699043adc4dd74b97cbed3d3e5b8d8aafb03b71c
[ "Apache-2.0" ]
null
null
null
import tensorflow as tf check_gpu()
16.9
69
0.715976
765cc31257c572ee270073568f4fce119056c92f
4,533
py
Python
pinakes/common/auth/keycloak_django/tests/test_permission_checks.py
Alex-Izquierdo/pinakes
dfeb855662b47d29a6e976e87fd7c090a262cf3f
[ "Apache-2.0" ]
2
2022-03-17T18:53:58.000Z
2022-03-17T22:04:22.000Z
pinakes/common/auth/keycloak_django/tests/test_permission_checks.py
Alex-Izquierdo/pinakes
dfeb855662b47d29a6e976e87fd7c090a262cf3f
[ "Apache-2.0" ]
9
2022-03-18T08:22:57.000Z
2022-03-30T17:14:49.000Z
pinakes/common/auth/keycloak_django/tests/test_permission_checks.py
Alex-Izquierdo/pinakes
dfeb855662b47d29a6e976e87fd7c090a262cf3f
[ "Apache-2.0" ]
7
2022-03-17T22:03:08.000Z
2022-03-28T21:28:34.000Z
from unittest import mock from pinakes.common.auth.keycloak.models import ( AuthzPermission, AuthzResource, ) from pinakes.common.auth.keycloak_django.permissions import ( check_wildcard_permission, check_resource_permission, check_object_permission, get_permitted_resources, )
29.245161
79
0.736378
765e377ff705e12f7620a2be9a2df5b9f1f29c8c
138
py
Python
apps/misc/context_processors.py
Thom03/edms-django
ad686a815d612f55921d6893093690311eeb831f
[ "MIT" ]
70
2019-05-26T11:48:32.000Z
2022-02-16T21:33:58.000Z
apps/misc/context_processors.py
CalebeGeazi/CoinBox
351611745d496d3cd3d871f96eb705250b5ec03f
[ "MIT" ]
7
2019-10-18T20:20:04.000Z
2021-04-21T15:25:15.000Z
apps/misc/context_processors.py
CalebeGeazi/CoinBox
351611745d496d3cd3d871f96eb705250b5ec03f
[ "MIT" ]
26
2019-07-07T17:06:00.000Z
2022-01-20T06:40:39.000Z
from django.utils.translation import get_language
15.333333
49
0.688406
765e4582dc810b4ad81584abb60251666d3180b8
20,723
py
Python
server.py
Arztpraxis/uno-server
1f87b0ea47d2f5bfc797a69b534aa8472cfdfb75
[ "MIT" ]
null
null
null
server.py
Arztpraxis/uno-server
1f87b0ea47d2f5bfc797a69b534aa8472cfdfb75
[ "MIT" ]
null
null
null
server.py
Arztpraxis/uno-server
1f87b0ea47d2f5bfc797a69b534aa8472cfdfb75
[ "MIT" ]
null
null
null
from json import JSONEncoder from random import choice, sample from threading import Thread, Timer, Lock from types import SimpleNamespace from os import execv from sys import argv, executable from optparse import OptionParser from shlex import split # Networking from wsgiref.simple_server import make_server from ws4p...
25.742857
87
0.700429
765ea91849f86020b6b972615c1e086ac4542de7
3,209
py
Python
interface/seed.py
matthewruttley/Bucketerer
828ee949b1f53b8432cfe7cf7cae0f6eec7d677f
[ "MIT" ]
null
null
null
interface/seed.py
matthewruttley/Bucketerer
828ee949b1f53b8432cfe7cf7cae0f6eec7d677f
[ "MIT" ]
null
null
null
interface/seed.py
matthewruttley/Bucketerer
828ee949b1f53b8432cfe7cf7cae0f6eec7d677f
[ "MIT" ]
null
null
null
#!/usr/bin/env python #Creates an ad bucket with a seed term/domain from pymongo import MongoClient from similarity import find_by_html, find_by_similarsites, create_connection, tokenize_clean from tabulate import tabulate verbose = False def get_rank(c, domain): """Gets the alexa rank for a domain. Returns False i...
28.149123
97
0.722655
766084a20156128ac28bfcc2ddc378e26abbd081
1,461
py
Python
functional_tests/tests.py
BFH-E1D-2015-2016/iotdemo
3440517401b8ef45cc1d3fa8c455671e743d706b
[ "MIT" ]
null
null
null
functional_tests/tests.py
BFH-E1D-2015-2016/iotdemo
3440517401b8ef45cc1d3fa8c455671e743d706b
[ "MIT" ]
1
2019-11-06T08:24:26.000Z
2019-11-06T08:24:26.000Z
functional_tests/tests.py
BFH-E1D-2015-2016/iotdemo
3440517401b8ef45cc1d3fa8c455671e743d706b
[ "MIT" ]
1
2019-03-27T14:48:36.000Z
2019-03-27T14:48:36.000Z
from django.test import LiveServerTestCase from selenium import webdriver
28.647059
123
0.670773
76611209864a777f582d19c43d076245dd3008ea
1,568
py
Python
imagepy/menus/Plugins/Manager/console_wgt.py
cycleuser/imagepy
5dc1a9a8137280c5215287392ba1b23d368bd7e9
[ "BSD-4-Clause" ]
1
2020-06-17T05:16:46.000Z
2020-06-17T05:16:46.000Z
imagepy/menus/Plugins/Manager/console_wgt.py
cycleuser/imagepy
5dc1a9a8137280c5215287392ba1b23d368bd7e9
[ "BSD-4-Clause" ]
null
null
null
imagepy/menus/Plugins/Manager/console_wgt.py
cycleuser/imagepy
5dc1a9a8137280c5215287392ba1b23d368bd7e9
[ "BSD-4-Clause" ]
null
null
null
# -*- coding: utf-8 -*- import wx from wx.py.shell import Shell import scipy.ndimage as ndimg import numpy as np # from imagepy import IPy from imagepy.core.engine import Free from sciapp import Source cmds = {'app':'app', 'np':np, 'ndimg':ndimg, 'update':None, 'get_img':None}
41.263158
123
0.596301
7661b5a5e9e423f4f23155f54765fa1febca32f0
2,002
py
Python
Support/Fuego/Pythia/pythia-0.5/packages/pyre/pyre/applications/Application.py
balos1/PelePhysics
d01190cc7b0eaad4ec96fac573034ccb485f0e9f
[ "BSD-3-Clause-LBNL" ]
31
2018-11-21T01:49:06.000Z
2022-03-30T03:41:43.000Z
Support/Fuego/Pythia/pythia-0.5/packages/pyre/pyre/applications/Application.py
balos1/PelePhysics
d01190cc7b0eaad4ec96fac573034ccb485f0e9f
[ "BSD-3-Clause-LBNL" ]
123
2019-03-12T22:27:29.000Z
2022-03-29T17:00:04.000Z
Support/Fuego/Pythia/pythia-0.5/packages/pyre/pyre/applications/Application.py
sundials-codes/PelePhysics
5624f83a04f43aa95288be9d8a7bb372a4adefe6
[ "BSD-3-Clause-LBNL" ]
32
2018-11-05T11:51:59.000Z
2022-03-29T13:09:32.000Z
#!/usr/bin/env python # # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # # Michael A.G. Aivazis # California Institute of Technology # (C) 1998-2003 All Rights Reserved # # <LicenseText> # # ~~~~~~~~~~~~~~~~~~~~~~~~...
22.244444
80
0.539461
7661be5bdbfa6ef0baed25f569d43c16bca82340
7,393
py
Python
cars/models.py
zhangpotato/kx_backmanage
5a484c19616a77a75698f63b8fa220ee027c0c17
[ "Apache-2.0" ]
null
null
null
cars/models.py
zhangpotato/kx_backmanage
5a484c19616a77a75698f63b8fa220ee027c0c17
[ "Apache-2.0" ]
null
null
null
cars/models.py
zhangpotato/kx_backmanage
5a484c19616a77a75698f63b8fa220ee027c0c17
[ "Apache-2.0" ]
null
null
null
from django.db import models # Create your models here.
52.06338
90
0.739889
76638422cf9ebc3c0f5b9d7f1f24d4651283c521
1,250
py
Python
pytorch_binding/setup.py
rickyHong/Warp-ctc-repl
9a2f718ac03588a2d91ffbce57e06350e0fe4fee
[ "Apache-2.0" ]
null
null
null
pytorch_binding/setup.py
rickyHong/Warp-ctc-repl
9a2f718ac03588a2d91ffbce57e06350e0fe4fee
[ "Apache-2.0" ]
null
null
null
pytorch_binding/setup.py
rickyHong/Warp-ctc-repl
9a2f718ac03588a2d91ffbce57e06350e0fe4fee
[ "Apache-2.0" ]
null
null
null
# build.py import os import platform import sys from distutils.core import setup from torch.utils.ffi import create_extension extra_compile_args = ['-std=c++11', '-fPIC'] warp_ctc_path = "../build" if platform.system() == 'Darwin': lib_ext = ".dylib" else: lib_ext = ".so" if "WARP_CTC_PATH" in os.environ: ...
27.777778
75
0.6872
76664b71c48bb37a8d1d4e8a21d159c35c4c4f30
5,275
py
Python
ddganAE/utils.py
Zeff020/Adversarial_ROM
8c9e7ff86250e9370e5fdd2018f9ad04ded5f122
[ "MIT" ]
1
2021-12-27T06:14:32.000Z
2021-12-27T06:14:32.000Z
ddganAE/utils.py
Zeff020/Adversarial_ROM
8c9e7ff86250e9370e5fdd2018f9ad04ded5f122
[ "MIT" ]
null
null
null
ddganAE/utils.py
Zeff020/Adversarial_ROM
8c9e7ff86250e9370e5fdd2018f9ad04ded5f122
[ "MIT" ]
3
2021-08-05T11:17:37.000Z
2021-09-02T02:37:44.000Z
""" General utilities for package """ import numpy as np import keras.backend as K from keras.losses import mse __author__ = "Zef Wolffs" __credits__ = ["Claire Heaney"] __license__ = "MIT" __version__ = "1.0.0" __maintainer__ = "Zef Wolffs" __email__ = "zefwolffs@gmail.com" __status__ = "Development" def calc_po...
28.825137
80
0.561896
766833811c4404edc21132096dd4af5a0802f1ce
8,923
py
Python
Preprocess/mosaic_utils.py
monchhichizzq/CenterNet
718bfbfa1940a8b068ab359aaca6737c3c173ad0
[ "MIT" ]
null
null
null
Preprocess/mosaic_utils.py
monchhichizzq/CenterNet
718bfbfa1940a8b068ab359aaca6737c3c173ad0
[ "MIT" ]
null
null
null
Preprocess/mosaic_utils.py
monchhichizzq/CenterNet
718bfbfa1940a8b068ab359aaca6737c3c173ad0
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # @Time : 2020/12/28 23:33 # @Author : Zeqi@@ # @FileName: mosaic_utils.py # @Software: PyCharm import os import cv2 from PIL import Image import numpy as np if __name__ == "__main__": annotation_path = '../Preparation/data_txt' annotation_lines = open(os.path.join(annotation_pa...
35.268775
116
0.455004
7668a391529415983ac3244d55ce03076f5a3acc
146
py
Python
starter_code/api_keys.py
tstenner1/python-api-challenge
dfc0642da6831d80664514d0705865f01e5c6c5a
[ "ADSL" ]
null
null
null
starter_code/api_keys.py
tstenner1/python-api-challenge
dfc0642da6831d80664514d0705865f01e5c6c5a
[ "ADSL" ]
null
null
null
starter_code/api_keys.py
tstenner1/python-api-challenge
dfc0642da6831d80664514d0705865f01e5c6c5a
[ "ADSL" ]
null
null
null
# OpenWeatherMap API Key weather_api_key = "f4695ec49ac558195fc591f0d450c34c" # Google API Key g_key = "AIzaSyAyIq5hhFN-Y0M16Ltie3YuwpDiKWx8tCk"
24.333333
52
0.835616
76697ffea65a3048f61ff82f93d0bee2b75272f6
1,535
py
Python
zoopla_history.py
chaudhary-amit/zoopla-scraper
9486a549bbd245493cdf5ec757fac9b003e9201f
[ "MIT" ]
1
2022-01-13T16:49:57.000Z
2022-01-13T16:49:57.000Z
zoopla_history.py
chaudhary-amit/zoopla-scraper
9486a549bbd245493cdf5ec757fac9b003e9201f
[ "MIT" ]
null
null
null
zoopla_history.py
chaudhary-amit/zoopla-scraper
9486a549bbd245493cdf5ec757fac9b003e9201f
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Mon Jun 26 16:48:20 2017 @author: AC """ import logging from lxml import html import requests import zoopla_rq logger = logging.getLogger()
28.425926
76
0.566775
766aab70e53fbf30d766b2eb2c674ed0d93615eb
604
py
Python
cavoke_server/tasks.py
cavoke-project/cavoke_server
5d2e39ca760e140ab9a8b0c50b45a6d4b22e21b5
[ "MIT" ]
null
null
null
cavoke_server/tasks.py
cavoke-project/cavoke_server
5d2e39ca760e140ab9a8b0c50b45a6d4b22e21b5
[ "MIT" ]
1
2020-01-06T17:47:03.000Z
2020-01-06T17:47:03.000Z
cavoke_server/tasks.py
cavoke-project/cavoke-server
5d2e39ca760e140ab9a8b0c50b45a6d4b22e21b5
[ "MIT" ]
null
null
null
# from celery.schedules import crontab # from celery.task import periodic_task # from django.utils import timezone # from cavoke_app.models import GameSession # # # @periodic_task(run_every=crontab(minute='*/1')) # def delete_old_foos(): # # Query all the foos in our database # gss = GameSession.objects.all() #...
30.2
67
0.655629
766ae60371b09b86c76e076b90ac87115e738f34
830
py
Python
src/stock/lib/daily.py
callim105/alphascan
a8eea45b3560a369b186c9971b01351a7a900d13
[ "MIT" ]
1
2021-12-03T01:30:12.000Z
2021-12-03T01:30:12.000Z
src/stock/lib/daily.py
callim105/alphascan
a8eea45b3560a369b186c9971b01351a7a900d13
[ "MIT" ]
null
null
null
src/stock/lib/daily.py
callim105/alphascan
a8eea45b3560a369b186c9971b01351a7a900d13
[ "MIT" ]
null
null
null
import requests import pandas as pd from util.api_util import AV_API_KEY
34.583333
134
0.584337
766b5f11549c7cb69fb9753e27e954a3ff27f37d
2,047
py
Python
FindingUsefulPoints/CodeThatClassifiesPoints.py
PaoloMura/VoronoiAR
373d2d4858b7cd1a6ae95692ffaab382542bca4a
[ "MIT" ]
null
null
null
FindingUsefulPoints/CodeThatClassifiesPoints.py
PaoloMura/VoronoiAR
373d2d4858b7cd1a6ae95692ffaab382542bca4a
[ "MIT" ]
null
null
null
FindingUsefulPoints/CodeThatClassifiesPoints.py
PaoloMura/VoronoiAR
373d2d4858b7cd1a6ae95692ffaab382542bca4a
[ "MIT" ]
null
null
null
from Point import * ''' A function that compares the distance of all the other points to a cast point with the distance from that cast point to the point it was casted from and returns either a closer point than the original one or the cast if the original was already the closest one ''' # Just a handy function that ...
26.24359
109
0.686859
767007c2e137e066c7c342a0aed20d260bc5e9d2
3,091
py
Python
label_studio/ml/examples/object_detection.py
zoumt1633/label-studio
324d542b49b42cac5c9a3e23373b9febaf9a426e
[ "Apache-2.0" ]
null
null
null
label_studio/ml/examples/object_detection.py
zoumt1633/label-studio
324d542b49b42cac5c9a3e23373b9febaf9a426e
[ "Apache-2.0" ]
null
null
null
label_studio/ml/examples/object_detection.py
zoumt1633/label-studio
324d542b49b42cac5c9a3e23373b9febaf9a426e
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # @Time : 2020/7/12 14:19 # @Author : zoumaotai # @Email : zoumaotai@ailongma.com # @File : object_detection.py # @Software: PyCharm import random import urllib from gluoncv import model_zoo, data from label_studio.ml import LabelStudioMLBase import mxnet as mx
38.6375
110
0.461663
7671557048679bb49752d923c9406604fe45cfb7
4,295
py
Python
ee/cli/plugins/sync.py
quimica/easyengine
07056759922a6e05949ca4b56ee94df6b2e580de
[ "MIT" ]
null
null
null
ee/cli/plugins/sync.py
quimica/easyengine
07056759922a6e05949ca4b56ee94df6b2e580de
[ "MIT" ]
null
null
null
ee/cli/plugins/sync.py
quimica/easyengine
07056759922a6e05949ca4b56ee94df6b2e580de
[ "MIT" ]
null
null
null
from cement.core.controller import CementBaseController, expose from cement.core import handler, hook from ee.core.fileutils import EEFileUtils from ee.cli.plugins.sitedb import * from ee.core.mysql import * from ee.core.logging import Log
44.739583
94
0.469849
7672b96f23df1eb333154249a0fe4fcc3c65df84
7,534
py
Python
nempy/spot_markert_backend/variable_ids.py
hy3440/nempy
ffc6c3e1a0becde8cbf6ba56d5885768dc1c0a37
[ "BSD-3-Clause" ]
24
2020-05-16T11:46:25.000Z
2022-03-29T22:25:09.000Z
nempy/spot_markert_backend/variable_ids.py
hy3440/nempy
ffc6c3e1a0becde8cbf6ba56d5885768dc1c0a37
[ "BSD-3-Clause" ]
6
2020-11-17T22:37:35.000Z
2022-03-03T00:11:08.000Z
nempy/spot_markert_backend/variable_ids.py
hy3440/nempy
ffc6c3e1a0becde8cbf6ba56d5885768dc1c0a37
[ "BSD-3-Clause" ]
12
2020-04-30T09:42:22.000Z
2022-03-06T23:45:08.000Z
import pandas as pd import numpy as np from nempy.help_functions import helper_functions as hf def bids(volume_bids, unit_info, next_variable_id): """Create decision variables that correspond to unit bids, for use in the linear program. This function defines the needed parameters for each variable, with a lo...
48.922078
120
0.541147
7673a924d37892716bfea072dd29ec7597bd35da
3,422
py
Python
numba/cuda/tests/cudapy/test_random.py
blair1306/numba
3b9647d17d653abac15363da604eeb804dbdd15a
[ "BSD-2-Clause" ]
76
2020-07-06T14:44:05.000Z
2022-02-14T15:30:21.000Z
numba/cuda/tests/cudapy/test_random.py
blair1306/numba
3b9647d17d653abac15363da604eeb804dbdd15a
[ "BSD-2-Clause" ]
11
2020-08-09T02:30:14.000Z
2022-03-12T00:50:14.000Z
numba/cuda/tests/cudapy/test_random.py
blair1306/numba
3b9647d17d653abac15363da604eeb804dbdd15a
[ "BSD-2-Clause" ]
11
2020-07-12T16:18:07.000Z
2022-02-05T16:48:35.000Z
import math import numpy as np from numba import cuda, float32 from numba.cuda.testing import unittest import numba.cuda.random from numba.cuda.testing import skip_on_cudasim, CUDATestCase from numba.cuda.random import \ xoroshiro128p_uniform_float32, xoroshiro128p_normal_float32, \ xoroshiro128p_uniform_flo...
33.881188
89
0.688778
767403c68c6963f4ac7af7065b349de0b68aecd1
4,307
py
Python
reviewboard/scmtools/sshutils.py
smorley/reviewboard
39dd1166fdec19d4fbced965b42a3a23a3b6b956
[ "MIT" ]
1
2019-01-16T11:59:40.000Z
2019-01-16T11:59:40.000Z
reviewboard/scmtools/sshutils.py
smorley/reviewboard
39dd1166fdec19d4fbced965b42a3a23a3b6b956
[ "MIT" ]
null
null
null
reviewboard/scmtools/sshutils.py
smorley/reviewboard
39dd1166fdec19d4fbced965b42a3a23a3b6b956
[ "MIT" ]
null
null
null
import os import urlparse from django.utils.translation import ugettext_lazy as _ import paramiko from reviewboard.scmtools.errors import AuthenticationError, \ BadHostKeyError, SCMError, \ UnknownHostKeyError # A list of known SSH URL ...
30.118881
79
0.602972
7676eaebbf4a10d110f2aa934b65cc618ec30ec1
10,056
py
Python
extract_data.py
dsrincon/bitcoin_network_analysis
897cdf6c2ad02a5790f4fb1b16382c4e4b31b0d2
[ "MIT" ]
null
null
null
extract_data.py
dsrincon/bitcoin_network_analysis
897cdf6c2ad02a5790f4fb1b16382c4e4b31b0d2
[ "MIT" ]
null
null
null
extract_data.py
dsrincon/bitcoin_network_analysis
897cdf6c2ad02a5790f4fb1b16382c4e4b31b0d2
[ "MIT" ]
1
2021-03-25T20:00:12.000Z
2021-03-25T20:00:12.000Z
# -*- coding: utf-8 -*- # Functions and Script to extract data import blocksci import pandas as pd import numpy as np import networkx as nx import multiprocessing as mp import itertools import random import time import string import pickle import csv import gc import os, sys from functools import partial #********...
30.380665
162
0.699682
767a24e4966929593e14aec0be63ad350928e7b1
1,616
py
Python
egs/wmt14_en_de/nlp1/local/generate_stand_vocab.py
didichuxing/delta
31dfebc8f20b7cb282b62f291ff25a87e403cc86
[ "Apache-2.0" ]
1,442
2019-07-09T07:34:28.000Z
2020-11-15T09:52:09.000Z
egs/wmt14_en_de/nlp1/local/generate_stand_vocab.py
didichuxing/delta
31dfebc8f20b7cb282b62f291ff25a87e403cc86
[ "Apache-2.0" ]
93
2019-07-22T09:20:20.000Z
2020-11-13T01:59:30.000Z
egs/wmt14_en_de/nlp1/local/generate_stand_vocab.py
didichuxing/delta
31dfebc8f20b7cb282b62f291ff25a87e403cc86
[ "Apache-2.0" ]
296
2019-07-09T07:35:28.000Z
2020-11-16T02:27:51.000Z
# Copyright (C) 2017 Beijing Didi Infinity Technology and Development Co.,Ltd. # 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/LI...
34.382979
80
0.618193
767a289d0241b57b9fea319169e096af9bc0394e
6,524
py
Python
Preprocessing/Crawler/Crawler.py
sambacha/pyblock
f8f207de36a2f91dfe5f61681eba0e371cb0c552
[ "MIT" ]
null
null
null
Preprocessing/Crawler/Crawler.py
sambacha/pyblock
f8f207de36a2f91dfe5f61681eba0e371cb0c552
[ "MIT" ]
null
null
null
Preprocessing/Crawler/Crawler.py
sambacha/pyblock
f8f207de36a2f91dfe5f61681eba0e371cb0c552
[ "MIT" ]
null
null
null
"""A client to interact with node and to save data to mongo.""" from pymongo import MongoClient import crawler_util import requests import json import sys import os import logging import time import tqdm sys.path.append(os.path.realpath(os.path.dirname(__file__))) DIR = "/mnt/c/data/db" LOGFIL = "crawler.log" if "BL...
36.244444
84
0.591355
767abb3e3d12d3c5ac07f73a70a0a54a78206ee1
302
py
Python
packages/models-library/src/models_library/__init__.py
elisabettai/osparc-simcore
ad7b6e05111b50fe95e49306a992170490a7247f
[ "MIT" ]
null
null
null
packages/models-library/src/models_library/__init__.py
elisabettai/osparc-simcore
ad7b6e05111b50fe95e49306a992170490a7247f
[ "MIT" ]
55
2018-05-15T09:47:00.000Z
2022-03-31T06:56:50.000Z
packages/models-library/src/models_library/__init__.py
mrnicegyu11/osparc-simcore
b6fa6c245dbfbc18cc74a387111a52de9b05d1f4
[ "MIT" ]
1
2020-04-22T15:06:58.000Z
2020-04-22T15:06:58.000Z
""" osparc's service models library """ # # NOTE: # - "examples" = [ ...] keyword and NOT "example". See https://json-schema.org/understanding-json-schema/reference/generic.html#annotations # import pkg_resources __version__: str = pkg_resources.get_distribution("simcore-models-library").version
25.166667
141
0.738411
767bc9780baf150a4175689b7f218ae850fdbe0b
257
py
Python
chords/more/gevent_task.py
omergertel/chords
1f5dd50f55f21ee32b8a4d7b808687d8ed1400c2
[ "MIT" ]
null
null
null
chords/more/gevent_task.py
omergertel/chords
1f5dd50f55f21ee32b8a4d7b808687d8ed1400c2
[ "MIT" ]
null
null
null
chords/more/gevent_task.py
omergertel/chords
1f5dd50f55f21ee32b8a4d7b808687d8ed1400c2
[ "MIT" ]
null
null
null
import functools from gevent import spawn from ..task import Task
21.416667
74
0.653696
767cbca3d4897fcfab64d04f9846298a51e53364
1,994
py
Python
tst/drivers/uart/uart_suite.py
ivankravets/pumbaa
2a1869cc204e3128516ed6fa9f89529aedec1702
[ "MIT" ]
69
2016-09-04T18:36:18.000Z
2021-07-04T21:51:54.000Z
tst/drivers/uart/uart_suite.py
ivankravets/pumbaa
2a1869cc204e3128516ed6fa9f89529aedec1702
[ "MIT" ]
42
2016-09-02T20:10:19.000Z
2020-07-01T05:54:01.000Z
tst/drivers/uart/uart_suite.py
ivankravets/pumbaa
2a1869cc204e3128516ed6fa9f89529aedec1702
[ "MIT" ]
11
2016-09-29T14:33:23.000Z
2021-02-28T19:30:49.000Z
# # @section License # # The MIT License (MIT) # # Copyright (c) 2016-2017, Erik Moqvist # # 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 ...
25.240506
69
0.691575
767e0dd0e7903c31af372aae1bd3170fe9248c58
2,035
py
Python
elasticapm/instrumentation/packages/tornado_httplib_response.py
laerteallan/apm-agent-python
62e494fa032e69bf4999cbc0efb30b80093ad5ba
[ "BSD-3-Clause" ]
2
2019-02-15T20:23:39.000Z
2019-02-15T20:26:06.000Z
elasticapm/instrumentation/packages/tornado_httplib_response.py
laerteallan/apm-agent-python
62e494fa032e69bf4999cbc0efb30b80093ad5ba
[ "BSD-3-Clause" ]
null
null
null
elasticapm/instrumentation/packages/tornado_httplib_response.py
laerteallan/apm-agent-python
62e494fa032e69bf4999cbc0efb30b80093ad5ba
[ "BSD-3-Clause" ]
null
null
null
from elasticapm.instrumentation.packages.base import AbstractInstrumentedModule from elasticapm.traces import capture_span from elasticapm.utils import default_ports from elasticapm.utils.compat import urlparse
38.396226
112
0.660934
76803418e7c483c10d751d87b7054156573f1939
586
py
Python
src/waldur_ansible/python_management/migrations/0004_removed_virtual_env_field_from_global_requests.py
opennode/waldur-ansible
c81c5f0491be02fa9a55a6d5bf9d845750fd1ba9
[ "MIT" ]
1
2017-09-05T08:09:47.000Z
2017-09-05T08:09:47.000Z
src/waldur_ansible/python_management/migrations/0004_removed_virtual_env_field_from_global_requests.py
opennode/waldur-ansible
c81c5f0491be02fa9a55a6d5bf9d845750fd1ba9
[ "MIT" ]
null
null
null
src/waldur_ansible/python_management/migrations/0004_removed_virtual_env_field_from_global_requests.py
opennode/waldur-ansible
c81c5f0491be02fa9a55a6d5bf9d845750fd1ba9
[ "MIT" ]
3
2017-09-24T03:13:19.000Z
2018-08-12T07:44:38.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.9 on 2018-03-27 14:01 from __future__ import unicode_literals from django.db import migrations
24.416667
64
0.645051
76803f5a83658d39e862a3ea11083cca906b0016
3,369
py
Python
pymain.py
Farhad-Mrkm/NCE_ICC-2022
998db82536c2077dbdb157aa21af8c6b84957761
[ "MIT" ]
1
2022-01-18T02:08:30.000Z
2022-01-18T02:08:30.000Z
pymain.py
Farhad-Mrkm/NCE_ICC-2022
998db82536c2077dbdb157aa21af8c6b84957761
[ "MIT" ]
null
null
null
pymain.py
Farhad-Mrkm/NCE_ICC-2022
998db82536c2077dbdb157aa21af8c6b84957761
[ "MIT" ]
null
null
null
# author__Farhad_Mirkarimi-*- coding: utf-8 -*- import os import h5py import glob, os import numpy as np import matplotlib.pyplot as plt from numpy import mean from numpy import std import torch import torch.nn as nn from tqdm.auto import tqdm, trange from numpy.random import default_rng import torch.nn.functional as F...
63.566038
313
0.688038
76806ed1e58231dbb9592dc36161e9c8ee832dc4
3,245
py
Python
libpySat/pySatTransformPolarMotion.py
grzeskokbol/pySatTools
7518ce670866bfebd4eb3d2f390e885d83c2e9c9
[ "MIT" ]
null
null
null
libpySat/pySatTransformPolarMotion.py
grzeskokbol/pySatTools
7518ce670866bfebd4eb3d2f390e885d83c2e9c9
[ "MIT" ]
null
null
null
libpySat/pySatTransformPolarMotion.py
grzeskokbol/pySatTools
7518ce670866bfebd4eb3d2f390e885d83c2e9c9
[ "MIT" ]
null
null
null
import datetime import numpy as np import libpySat as pySat from astropy import _erfa as erfa from scipy.misc import derivative from scipy import interpolate
32.777778
93
0.600616
7683107d396e18c771d9adf914e31a75696e11b6
2,086
py
Python
graphtheory/dominatingsets/tests/test_dsetus.py
mashal02/graphs-dict
39917d8a7f3bdcd5d95f3549ca054d16ba535e90
[ "BSD-3-Clause" ]
36
2015-09-20T20:55:39.000Z
2021-09-20T05:49:03.000Z
graphtheory/dominatingsets/tests/test_dsetus.py
mashal02/graphs-dict
39917d8a7f3bdcd5d95f3549ca054d16ba535e90
[ "BSD-3-Clause" ]
6
2016-03-25T21:41:46.000Z
2020-02-12T03:18:59.000Z
graphtheory/dominatingsets/tests/test_dsetus.py
mashal02/graphs-dict
39917d8a7f3bdcd5d95f3549ca054d16ba535e90
[ "BSD-3-Clause" ]
9
2016-09-12T07:57:27.000Z
2022-03-21T16:15:39.000Z
#!/usr/bin/python import unittest from graphtheory.structures.edges import Edge from graphtheory.structures.graphs import Graph from graphtheory.dominatingsets.dsetus import UnorderedSequentialDominatingSet # 0 --- 1 --- 2 not bipartite (triangles are present) # | / | | # | / | | maximum iset: (0, 4, 2) #...
33.645161
78
0.626558
76838a7af2293c66cd15e86e536b35b9a382902f
7,857
py
Python
wet_chicken_discrete/baseline_policy.py
Philipp238/Safe-Policy-Improvement-Approaches-on-Discrete-Markov-Decision-Processes
d0eb7281c5151e043547d5b7379144deea0bbe03
[ "MIT" ]
null
null
null
wet_chicken_discrete/baseline_policy.py
Philipp238/Safe-Policy-Improvement-Approaches-on-Discrete-Markov-Decision-Processes
d0eb7281c5151e043547d5b7379144deea0bbe03
[ "MIT" ]
null
null
null
wet_chicken_discrete/baseline_policy.py
Philipp238/Safe-Policy-Improvement-Approaches-on-Discrete-Markov-Decision-Processes
d0eb7281c5151e043547d5b7379144deea0bbe03
[ "MIT" ]
null
null
null
import numpy as np import pandas as pd
55.330986
141
0.543846
768603f80762916b71f5b82d5dc5b04a5977e674
136
py
Python
timeflow/__init__.py
zach-nervana/TimeFlow
c1ea2e1d2583907ab7775f189541af87f8de9d53
[ "MIT" ]
76
2016-11-22T14:09:10.000Z
2020-09-23T19:02:19.000Z
timeflow/__init__.py
genesiscrew/TensorFlow-Predictor
d129172b064d9e73e9118ac7164eb826a1263100
[ "MIT" ]
1
2017-08-17T18:43:01.000Z
2017-08-17T18:43:01.000Z
timeflow/__init__.py
genesiscrew/TensorFlow-Predictor
d129172b064d9e73e9118ac7164eb826a1263100
[ "MIT" ]
26
2017-03-09T02:41:07.000Z
2021-11-17T09:46:52.000Z
import layers as layers import placeholders as placeholders import trainer as trainer import features as features import utils as utils
22.666667
35
0.852941
7687001bee9e147d41cd9ca528d4c1347da72a03
1,459
py
Python
plot_graphs.py
bsciolla/merks
500569fb1222726238c3711826ff3d8f8ee8ac28
[ "Apache-2.0" ]
1
2018-07-27T08:31:55.000Z
2018-07-27T08:31:55.000Z
plot_graphs.py
bsciolla/merks
500569fb1222726238c3711826ff3d8f8ee8ac28
[ "Apache-2.0" ]
null
null
null
plot_graphs.py
bsciolla/merks
500569fb1222726238c3711826ff3d8f8ee8ac28
[ "Apache-2.0" ]
null
null
null
import matplotlib.pyplot as plt import networkx as nx import numpy plt.ion() # test
33.930233
127
0.594243
76879dfbcaa68b4faac6a435eae8b80ca5c3ab47
2,071
py
Python
Logistic-Regression/code.py
VaidikTrivedi/ga-learner-dsb-repo
4e31ce32d04f57744dd01ae53a2be57d76d5cab1
[ "MIT" ]
null
null
null
Logistic-Regression/code.py
VaidikTrivedi/ga-learner-dsb-repo
4e31ce32d04f57744dd01ae53a2be57d76d5cab1
[ "MIT" ]
null
null
null
Logistic-Regression/code.py
VaidikTrivedi/ga-learner-dsb-repo
4e31ce32d04f57744dd01ae53a2be57d76d5cab1
[ "MIT" ]
null
null
null
# -------------- import pandas as pd from sklearn.model_selection import train_test_split df = pd.read_csv(path) print(df.head(5)) X = df.drop('insuranceclaim', axis=1) #print(X.head(5)) y = df['insuranceclaim'] X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.2, random_state=6) print(X_t...
21.572917
89
0.700145
7687b35a200e00e3a680b96e15c14d349cc8f6ec
586
py
Python
tests/test_sink.py
LauWien/smooth
3d2ee96e3c2b2f9d5d805da1a920748f2dbbd538
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
5
2019-10-15T15:56:35.000Z
2021-02-04T10:11:31.000Z
tests/test_sink.py
LauWien/smooth
3d2ee96e3c2b2f9d5d805da1a920748f2dbbd538
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
121
2020-01-06T14:32:30.000Z
2021-09-23T11:26:11.000Z
tests/test_sink.py
LauWien/smooth
3d2ee96e3c2b2f9d5d805da1a920748f2dbbd538
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
6
2019-10-21T08:36:05.000Z
2021-03-26T10:37:17.000Z
from smooth.components.component_sink import Sink import oemof.solph as solph
26.636364
82
0.662116
76893a63b5463519de757a813d249bfa6abfb31f
12,814
py
Python
Forex/KalmanFilterPairsTrading.py
pvkraju80/Financial-Algorithms
d1847f52e38cf015c555cf789cd6627aaf1e2046
[ "MIT" ]
6
2020-12-10T07:22:22.000Z
2022-01-23T17:57:41.000Z
Forex/KalmanFilterPairsTrading.py
pvkraju80/Financial-Algorithms
d1847f52e38cf015c555cf789cd6627aaf1e2046
[ "MIT" ]
null
null
null
Forex/KalmanFilterPairsTrading.py
pvkraju80/Financial-Algorithms
d1847f52e38cf015c555cf789cd6627aaf1e2046
[ "MIT" ]
6
2020-12-10T07:22:38.000Z
2022-02-23T08:10:05.000Z
# -*- coding: utf-8 -*- """ Created on Fri Nov 8 17:50:11 2019 @author: ArmelFabrice """ ##### import the necessary modules and set chart style#### import numpy as np import pandas as pd import matplotlib as mpl mpl.style.use('bmh') import matplotlib.pylab as plt import statsmodels.api as sm from math import sqrt i...
38.250746
153
0.53184
7689a6e4d7295be853f74c7a7da78f85d2aecd55
1,592
py
Python
gym/tests/webserver.py
intrig-unicamp/gym
044be41236502ebde64427c3e1fff53bfff34aa2
[ "Apache-2.0" ]
8
2019-02-13T17:17:50.000Z
2021-08-17T12:32:42.000Z
gym/tests/webserver.py
intrig-unicamp/gym
044be41236502ebde64427c3e1fff53bfff34aa2
[ "Apache-2.0" ]
2
2017-09-18T03:06:29.000Z
2019-07-30T23:59:34.000Z
gym/tests/webserver.py
intrig-unicamp/gym
044be41236502ebde64427c3e1fff53bfff34aa2
[ "Apache-2.0" ]
2
2018-07-03T11:03:28.000Z
2020-03-12T17:20:11.000Z
import sys import json import asyncio import aiohttp from aiohttp import web from urllib.parse import urlparse if __name__ == "__main__": app = SimpleWebServer() app.run("http://127.0.0.1:7879")
30.037736
68
0.597362
768d0d745dc0784b2a3c714af9a252bf04f94f52
358
py
Python
fundamentos/exer027.py
edelvandro/Python
152685590af873bf63fcc5a29cf3528e4cc31a3e
[ "MIT" ]
1
2020-04-14T14:43:59.000Z
2020-04-14T14:43:59.000Z
fundamentos/exer027.py
edelvandro/Python
152685590af873bf63fcc5a29cf3528e4cc31a3e
[ "MIT" ]
null
null
null
fundamentos/exer027.py
edelvandro/Python
152685590af873bf63fcc5a29cf3528e4cc31a3e
[ "MIT" ]
null
null
null
''' Faa um programa que leia o nome completo de uma pessoa, mostrando em seguida o primeiro e o ltimo nome separadamente. ''' entrada = str(input('Digite um nome completo: ')).strip() print('Ol {}'.format(entrada)) nome = entrada.split() print('Seu primeiro nome : {}'.format(nome[0])) print('Seu ltimo nome : {...
32.545455
66
0.678771
768ea2d8cf6d6a06597ecbe6151b681589c1a073
526
py
Python
convert_to_neglog.py
yashkhem1/chemprop
ddfaf7c0d1ae0c78a3dc6a3be1071d68a7ff6544
[ "MIT" ]
null
null
null
convert_to_neglog.py
yashkhem1/chemprop
ddfaf7c0d1ae0c78a3dc6a3be1071d68a7ff6544
[ "MIT" ]
null
null
null
convert_to_neglog.py
yashkhem1/chemprop
ddfaf7c0d1ae0c78a3dc6a3be1071d68a7ff6544
[ "MIT" ]
null
null
null
import csv import numpy as np import os infile = "dopamine_processed.csv" outfile = "dopamine.csv" if os.path.exists(outfile): os.remove(outfile) with open(infile, 'r', newline='') as f: i=0 reader = csv.reader(f,delimiter=',') for row in reader: with open(outfile, 'a', newline='') as w: ...
25.047619
70
0.539924
768f6ea4edae64dc3c5e980c6abcd8369f91dd60
1,057
py
Python
DummyIntermediateDevices/connectiontable_dummy_intermediate.py
fretchen/synqs_devices
ec4bb24639e9d0d4cb707e1c2a6296a47dfe9f02
[ "MIT" ]
null
null
null
DummyIntermediateDevices/connectiontable_dummy_intermediate.py
fretchen/synqs_devices
ec4bb24639e9d0d4cb707e1c2a6296a47dfe9f02
[ "MIT" ]
4
2020-04-06T14:20:58.000Z
2020-04-17T10:47:11.000Z
DummyIntermediateDevices/connectiontable_dummy_intermediate.py
fretchen/synqs_devices
ec4bb24639e9d0d4cb707e1c2a6296a47dfe9f02
[ "MIT" ]
2
2020-04-10T08:56:28.000Z
2020-09-06T20:08:29.000Z
"""The sample file to be run in runmanager. This is the minimal sample that you can load from runmanager to see if your code is working properly. """ from labscript import * # from user_devices.dummy_device.labscript_devices import DummyDevice from labscript_devices.DummyPseudoclock.labscript_devices import DummyPse...
34.096774
102
0.811731
768fe188493a5880a64b1d123272dc48ba2a7f08
1,227
py
Python
src/autoencoder/dataset.py
fabiobedeschi/datepalm
ae240c5a6666d5d3b3ed91095c54175e9bd171bb
[ "MIT" ]
null
null
null
src/autoencoder/dataset.py
fabiobedeschi/datepalm
ae240c5a6666d5d3b3ed91095c54175e9bd171bb
[ "MIT" ]
null
null
null
src/autoencoder/dataset.py
fabiobedeschi/datepalm
ae240c5a6666d5d3b3ed91095c54175e9bd171bb
[ "MIT" ]
null
null
null
from keras_preprocessing.image import ImageDataGenerator from src.config import IMG_SIZE from src.autoencoder.params import BATCH_SIZE
26.673913
96
0.691932
7691a86ea40534f4131045fa474a445f4a5556fb
1,585
py
Python
test/knxip_tests/hpai_test.py
iligiddi/xknx
c450d5934c8ddc608741229a7d14168013c3684c
[ "MIT" ]
179
2016-12-29T00:24:47.000Z
2022-03-11T23:46:06.000Z
test/knxip_tests/hpai_test.py
iligiddi/xknx
c450d5934c8ddc608741229a7d14168013c3684c
[ "MIT" ]
820
2016-12-25T22:45:12.000Z
2022-03-31T10:18:25.000Z
test/knxip_tests/hpai_test.py
magenbrot/xknx
dc012c8b53606b591d4ba3c006700576149c268e
[ "MIT" ]
111
2016-12-30T00:02:13.000Z
2022-03-20T15:18:33.000Z
"""Unit test for KNX/IP HPAI objects.""" import pytest from xknx.exceptions import ConversionError, CouldNotParseKNXIP from xknx.knxip import HPAI
35.222222
75
0.628391
7691b87c25055ca65fe6a4859ce2615cd80362d1
815
py
Python
cloudmesh/sign/api.py
cloudmesh/cloudmesh.sign
84ddaf3b9f29e62f87db35d5a06357a51906db12
[ "Apache-2.0" ]
null
null
null
cloudmesh/sign/api.py
cloudmesh/cloudmesh.sign
84ddaf3b9f29e62f87db35d5a06357a51906db12
[ "Apache-2.0" ]
10
2017-04-30T00:43:05.000Z
2017-04-30T13:19:27.000Z
cloudmesh/sign/api.py
cloudmesh/extstreet
84ddaf3b9f29e62f87db35d5a06357a51906db12
[ "Apache-2.0" ]
null
null
null
from __future__ import print_function #import cv2
29.107143
84
0.623313
76958da8ea27dd73e495fa167896e0a6d0b9ab84
2,457
py
Python
profrage/generate/utils.py
federicoVS/ProFraGe
d8a653efae80af51e9a99f01268815c99fe62f84
[ "MIT" ]
null
null
null
profrage/generate/utils.py
federicoVS/ProFraGe
d8a653efae80af51e9a99f01268815c99fe62f84
[ "MIT" ]
null
null
null
profrage/generate/utils.py
federicoVS/ProFraGe
d8a653efae80af51e9a99f01268815c99fe62f84
[ "MIT" ]
null
null
null
import torch def reparametrize(mu, log_var, device): """ Reparametrize based on input mean and log variance Parameters ---------- mu : torch.tensor The mean. log_var : torch.tensor The log variance. device : str The device on which to put the data. Returns ...
23.4
86
0.559626
7696fdf8e67e695e5aa8e8399f3b07acfb6c071a
9,923
py
Python
neighbor_app/views.py
LawiOtieno/neighborhood-alert
883baa5a636129ac430631bd45b59a613f30bc8f
[ "MIT" ]
null
null
null
neighbor_app/views.py
LawiOtieno/neighborhood-alert
883baa5a636129ac430631bd45b59a613f30bc8f
[ "MIT" ]
null
null
null
neighbor_app/views.py
LawiOtieno/neighborhood-alert
883baa5a636129ac430631bd45b59a613f30bc8f
[ "MIT" ]
null
null
null
from django.shortcuts import render,redirect,get_object_or_404,HttpResponseRedirect from django.contrib.auth.decorators import login_required from django.contrib.auth import login, authenticate from .forms import * from .models import NeighborHood,Profile,Post,Business from django.contrib.sites.shortcuts import get_cu...
35.439286
149
0.75713
7697f0bf45c2a2e873665b3ec989e0158b6b5db8
8,233
py
Python
declare_qtquick/application.py
likianta/declare-qtquick
93c2ce49d841ccdeb0272085c5f731139927f0d7
[ "MIT" ]
3
2021-11-02T03:45:27.000Z
2022-03-27T05:33:36.000Z
declare_qtquick/application.py
likianta/declare-qtquick
93c2ce49d841ccdeb0272085c5f731139927f0d7
[ "MIT" ]
null
null
null
declare_qtquick/application.py
likianta/declare-qtquick
93c2ce49d841ccdeb0272085c5f731139927f0d7
[ "MIT" ]
null
null
null
import os.path as xpath from PySide6.QtCore import QObject from PySide6.QtQml import QQmlApplicationEngine from PySide6.QtQml import QQmlContext from PySide6.QtWidgets import QApplication from .typehint import Dict from .typehint import TPath app = _Application()
37.593607
80
0.54986
76996d0c6fee1f7994689e5e99ec874d21d739eb
1,259
py
Python
src/main.py
mdsanima-dev/mdsanima-rt-go
6032efb8f9fd3dfeb1640fba47b0b8b7759d4572
[ "Apache-2.0" ]
2
2021-12-09T10:22:27.000Z
2022-02-16T19:23:46.000Z
src/main.py
mdsanima-dev/mdsanima-rt-go
6032efb8f9fd3dfeb1640fba47b0b8b7759d4572
[ "Apache-2.0" ]
60
2021-08-13T17:24:35.000Z
2021-08-25T16:25:59.000Z
src/main.py
mdsanima-dev/mdsanima-rt-go
6032efb8f9fd3dfeb1640fba47b0b8b7759d4572
[ "Apache-2.0" ]
1
2021-08-20T00:48:28.000Z
2021-08-20T00:48:28.000Z
""" Main application MDSANIMA RT GO """ import kivy from __init__ import __version__ kivy.require('2.0.0') from kivy.uix.screenmanager import ScreenManager from kivymd.app import MDApp from plyer import notification from __init__ import resource_path from config.image import get_images from config.setting import ...
24.686275
62
0.68467
769a048a0a36fac60d8155d390abc6c865fbbb32
1,188
py
Python
puzzler/puzzles/polysticks123.py
tiwo/puzzler
7ad3d9a792f0635f7ec59ffa85fb46b54fd77a7e
[ "Intel" ]
null
null
null
puzzler/puzzles/polysticks123.py
tiwo/puzzler
7ad3d9a792f0635f7ec59ffa85fb46b54fd77a7e
[ "Intel" ]
null
null
null
puzzler/puzzles/polysticks123.py
tiwo/puzzler
7ad3d9a792f0635f7ec59ffa85fb46b54fd77a7e
[ "Intel" ]
1
2022-01-02T16:54:14.000Z
2022-01-02T16:54:14.000Z
#!/usr/bin/env python # $Id$ # Author: David Goodger <goodger@python.org> # Copyright: (C) 1998-2015 by David J. Goodger # License: GPL 2 (see __init__.py) """ Concrete polystick (orders 1 through 3) puzzles. """ from puzzler import coordsys from puzzler.puzzles.polysticks import Polysticks123
21.6
73
0.590067
769acd1960ba73c348d3e0c4296d92a024bce7eb
2,076
py
Python
src/scoring/split_by_target.py
annacarbery/VS_ECFP
20d464ecf3c0270957885b499748d1e2231d7ae8
[ "MIT" ]
null
null
null
src/scoring/split_by_target.py
annacarbery/VS_ECFP
20d464ecf3c0270957885b499748d1e2231d7ae8
[ "MIT" ]
null
null
null
src/scoring/split_by_target.py
annacarbery/VS_ECFP
20d464ecf3c0270957885b499748d1e2231d7ae8
[ "MIT" ]
null
null
null
from sklearn import tree import os import random import numpy as np import json DATA_DIR = '/Users/tyt15771/Documents/VS_ECFP/data/input/' data_train = [] class_train = [] data_test = [] class_test = [] hits = os.listdir(f'{DATA_DIR}/hit') random.shuffle(hits) miss = os.listdir(f'{DATA_DIR}/miss') random.shuffle(m...
34.032787
115
0.707611
769ada13f8c3423b8e779440f35e0b945f5e4443
989
py
Python
AsRoot/app/views.py
erin-hughes/qradar-sample-apps
13e05e37dbd2c2cbf52220fbd8508b35c4091523
[ "Apache-2.0" ]
8
2020-09-09T10:11:28.000Z
2021-11-21T12:56:35.000Z
AsRoot/app/views.py
erin-hughes/qradar-sample-apps
13e05e37dbd2c2cbf52220fbd8508b35c4091523
[ "Apache-2.0" ]
2
2021-03-04T13:25:29.000Z
2022-01-10T13:33:53.000Z
AsRoot/app/views.py
erin-hughes/qradar-sample-apps
13e05e37dbd2c2cbf52220fbd8508b35c4091523
[ "Apache-2.0" ]
13
2020-09-18T12:33:40.000Z
2022-03-04T12:16:08.000Z
# Copyright 2020 IBM Corporation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writi...
32.966667
74
0.718908
769cd151bfff35e599b6b4d6a430fabc5c061bb9
56
py
Python
web/code/mmg/jobtrak/util/__init__.py
559Labs/JobTrak
5b118248e9b6e62f479a335b5a23b7062b6f2368
[ "Apache-2.0" ]
1
2015-01-27T00:41:31.000Z
2015-01-27T00:41:31.000Z
web/code/mmg/jobtrak/util/__init__.py
andrewmarconi/JobTrak
5b118248e9b6e62f479a335b5a23b7062b6f2368
[ "Apache-2.0" ]
118
2015-01-26T14:02:52.000Z
2015-01-29T18:35:07.000Z
web/code/mmg/jobtrak/util/__init__.py
MarconiMediaGroup/JobTrak
5b118248e9b6e62f479a335b5a23b7062b6f2368
[ "Apache-2.0" ]
null
null
null
default_app_config = 'mmg.jobtrak.util.apps.LocalConfig'
56
56
0.839286
769e263d23fa479291700d7aa03a51789709cb77
2,471
py
Python
timemachines/skaters/nproph/nprophetiskaterfactory.py
iklasky/timemachines
1820fa9453d31d4daaeff75274a935c7455febe3
[ "MIT" ]
253
2021-01-08T17:33:30.000Z
2022-03-21T17:32:36.000Z
timemachines/skaters/nproph/nprophetiskaterfactory.py
iklasky/timemachines
1820fa9453d31d4daaeff75274a935c7455febe3
[ "MIT" ]
65
2021-01-20T16:43:35.000Z
2022-03-30T19:07:22.000Z
timemachines/skaters/nproph/nprophetiskaterfactory.py
iklasky/timemachines
1820fa9453d31d4daaeff75274a935c7455febe3
[ "MIT" ]
28
2021-02-04T14:58:30.000Z
2022-01-17T04:35:17.000Z
from timemachines.skaters.nproph.nprophetinclusion import using_neuralprophet, NeuralProphet if using_neuralprophet: import pandas as pd from typing import List, Tuple, Any from timemachines.skatertools.utilities.conventions import wrap from timemachines.skaters.nproph.nprophparams import NPROPHET_MODEL...
43.350877
124
0.630514
769ea6168b2afa78cac264bb8c29d434c439de34
1,165
py
Python
cride/teachers/serializers/skills.py
alexhernandez-git/cride-frontend
3c7e7b2ab374efb33b798d959e473a943b6df03c
[ "MIT" ]
null
null
null
cride/teachers/serializers/skills.py
alexhernandez-git/cride-frontend
3c7e7b2ab374efb33b798d959e473a943b6df03c
[ "MIT" ]
11
2020-02-25T07:34:21.000Z
2022-01-13T02:15:57.000Z
cride/teachers/serializers/skills.py
alexhernandez-git/cride-frontend
3c7e7b2ab374efb33b798d959e473a943b6df03c
[ "MIT" ]
null
null
null
"""Teacher serializer.""" # Django REST Framework from rest_framework import serializers # Models from cride.teachers.models import Skill
27.738095
109
0.628326
769f8f43c009cc26df35b8f606d1b914ff167485
670
py
Python
ibt/context.py
rcook/ibt
6ab5bda2067ef053874938a4ec445ea0e54b30f2
[ "MIT" ]
null
null
null
ibt/context.py
rcook/ibt
6ab5bda2067ef053874938a4ec445ea0e54b30f2
[ "MIT" ]
13
2018-08-08T15:40:54.000Z
2021-06-22T21:00:36.000Z
ibt/context.py
rcook/ibt
6ab5bda2067ef053874938a4ec445ea0e54b30f2
[ "MIT" ]
null
null
null
############################################################################### # # IBT: Isolated Build Tool # Copyright (C) 2016, Richard Cook. All rights reserved. # # Simple wrappers around Docker etc. for fully isolated build environments # ###########################################################################...
29.130435
79
0.568657
76a1d4ac05ac140e8cf845cb7dc3c6f309ba9c87
5,178
py
Python
python/cogs/helpall.py
HexF/felix
e7fc4027de8437af222c936c17a30d0ad4e887b3
[ "MIT" ]
null
null
null
python/cogs/helpall.py
HexF/felix
e7fc4027de8437af222c936c17a30d0ad4e887b3
[ "MIT" ]
null
null
null
python/cogs/helpall.py
HexF/felix
e7fc4027de8437af222c936c17a30d0ad4e887b3
[ "MIT" ]
null
null
null
"""This is a cog for a discord.py bot. It hides the help command and adds these commands: helpall show all commands (including all hidden ones) The commands will output to the current channel or to a dm channel according to the pm_help kwarg of the bot. Only users that have an admin role can use the ...
33.623377
79
0.587099
76a3321595c138692bf6ba78f4463d4296950073
11,200
py
Python
helpers.py
SacaSoh/AIPND---Project-2
0d8227fa3fa2e7ab9c3c34bb0fd88ab95c3079df
[ "MIT" ]
null
null
null
helpers.py
SacaSoh/AIPND---Project-2
0d8227fa3fa2e7ab9c3c34bb0fd88ab95c3079df
[ "MIT" ]
null
null
null
helpers.py
SacaSoh/AIPND---Project-2
0d8227fa3fa2e7ab9c3c34bb0fd88ab95c3079df
[ "MIT" ]
null
null
null
# PROGRAMMER: Diego da Costa Oliveira # DATE CREATED: Mar, 23, 2019. # REVISED DATE: # PURPOSE: Helpers for training a CNN and to predict the class for an input image import argparse import numpy as np import torch import json from torch import nn from torch import optim from torchvision import datasets, transforms...
36.842105
114
0.596071
76a35f5239c3e344d44f45b914edad790aa2a4e3
949
py
Python
test_single.py
hkchengrex/CharTrans-GAN
4a589e383eb49dad7a033458aa70eeb207b7de74
[ "Apache-2.0" ]
2
2019-08-17T12:48:52.000Z
2019-12-20T07:40:10.000Z
test_single.py
hkchengrex/CharTrans-GAN
4a589e383eb49dad7a033458aa70eeb207b7de74
[ "Apache-2.0" ]
1
2018-12-19T12:21:37.000Z
2018-12-19T13:59:57.000Z
test_single.py
hkchengrex/CharTrans-GAN
4a589e383eb49dad7a033458aa70eeb207b7de74
[ "Apache-2.0" ]
1
2018-11-04T11:04:21.000Z
2018-11-04T11:04:21.000Z
from net import Net from font_loader import FontDataset import torch import torchvision import torchvision.transforms as transforms font_root = './data/test1/' std_font = './data/standard/' font_size = 52 image_size = 48 numTransform = 5 numRef = 5 char_list_path = './character_set/character_set_1798' # Load the s...
26.361111
109
0.737619
76a3aadc66cb9b6a3ffc18d0b5d0424cb3f1bf19
1,435
py
Python
tests/package_path_test.py
radiasoft/sirepo
db3d1737bab7a84d39d456c0e8913c88deff3c31
[ "Apache-2.0" ]
49
2015-07-29T14:11:29.000Z
2021-12-10T15:24:26.000Z
tests/package_path_test.py
radiasoft/sirepo
db3d1737bab7a84d39d456c0e8913c88deff3c31
[ "Apache-2.0" ]
3,732
2015-08-03T22:07:26.000Z
2022-03-31T22:48:33.000Z
tests/package_path_test.py
radiasoft/sirepo
db3d1737bab7a84d39d456c0e8913c88deff3c31
[ "Apache-2.0" ]
28
2015-11-20T16:23:46.000Z
2021-09-20T07:22:48.000Z
# -*- coding: utf-8 -*- u"""Using a sim type that lives in a package outside of sirepo. :copyright: Copyright (c) 2021 RadiaSoft LLC. All Rights Reserved. :license: http://www.apache.org/licenses/LICENSE-2.0.html """ from __future__ import absolute_import, division, print_function import contextlib import pytest
28.137255
81
0.681533
76a644c9158839039d51c335089af8172474435d
35,948
py
Python
fanficdownloader/story.py
rodrigonz/rodrigodeoliveiracosta-ffdown
e28e20232e9cd6cef84aa9e830ed8de7dbb208ae
[ "Apache-2.0" ]
null
null
null
fanficdownloader/story.py
rodrigonz/rodrigodeoliveiracosta-ffdown
e28e20232e9cd6cef84aa9e830ed8de7dbb208ae
[ "Apache-2.0" ]
null
null
null
fanficdownloader/story.py
rodrigonz/rodrigodeoliveiracosta-ffdown
e28e20232e9cd6cef84aa9e830ed8de7dbb208ae
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Copyright 2011 Fanficdownloader team # # 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 require...
41.510393
169
0.537193
76a66cd1b58b111bec10cfd3ff837789c2aaac34
336
py
Python
2021/07/2021-07-2 The Treachery of Whales.py
dpustovarov/Advent-of-Code
3a08944c26ca6428ecca98aed96777d70038b6ef
[ "MIT" ]
null
null
null
2021/07/2021-07-2 The Treachery of Whales.py
dpustovarov/Advent-of-Code
3a08944c26ca6428ecca98aed96777d70038b6ef
[ "MIT" ]
null
null
null
2021/07/2021-07-2 The Treachery of Whales.py
dpustovarov/Advent-of-Code
3a08944c26ca6428ecca98aed96777d70038b6ef
[ "MIT" ]
null
null
null
import sys, statistics print(solution([int(n) for n in sys.stdin.read().split(',')]))
37.333333
100
0.5625
76a8df49a9b9a1d0460ba09a5a23cc25330a7581
213
py
Python
app/__init__.py
PushyZqin/flask-restful-plugin
7a142de96500910f5f7648d5edf8986afaa72b70
[ "MIT" ]
2
2018-11-28T13:49:18.000Z
2018-11-29T11:13:40.000Z
app/__init__.py
PushyZqin/flask-restful-plugin
7a142de96500910f5f7648d5edf8986afaa72b70
[ "MIT" ]
null
null
null
app/__init__.py
PushyZqin/flask-restful-plugin
7a142de96500910f5f7648d5edf8986afaa72b70
[ "MIT" ]
null
null
null
#encoding:utf-8 from flask import Flask from flask_sqlalchemy import SQLAlchemy import config app = Flask(__name__) app.config.from_object(config) db = SQLAlchemy(app) from app import req_demo, res_demo, models
19.363636
42
0.807512
76a95224312c942a2d4fbf9434826429874c5283
870
py
Python
scripts/storage.py
ibigbug/mixin-bot
73b2e6a83cf4bbb4e30dfc05cf4463dc616b871b
[ "Unlicense" ]
null
null
null
scripts/storage.py
ibigbug/mixin-bot
73b2e6a83cf4bbb4e30dfc05cf4463dc616b871b
[ "Unlicense" ]
1
2021-06-01T23:35:10.000Z
2021-06-01T23:35:10.000Z
scripts/storage.py
ibigbug/mixin-bot
73b2e6a83cf4bbb4e30dfc05cf4463dc616b871b
[ "Unlicense" ]
null
null
null
import os import sys from azure.storage.blob import BlockBlobService from azure.common import AzureMissingResourceHttpError account_name = os.environ.get('azure_storage_account_name') account_key = os.environ.get('azure_storage_account_key') container_name = os.environ.get('azure_storage_container_name') block_blob_s...
33.461538
64
0.749425
76adb21c8f58a8a73d261c808726722aa9b2c501
20,829
py
Python
t5/models/hf_model.py
thomasw21/text-to-text-transfer-transformer
6b7bcc8fe39ae772682bc7c72c93dec1e9120a80
[ "Apache-2.0" ]
1
2022-01-17T15:55:24.000Z
2022-01-17T15:55:24.000Z
t5/models/hf_model.py
thomasw21/text-to-text-transfer-transformer
6b7bcc8fe39ae772682bc7c72c93dec1e9120a80
[ "Apache-2.0" ]
null
null
null
t5/models/hf_model.py
thomasw21/text-to-text-transfer-transformer
6b7bcc8fe39ae772682bc7c72c93dec1e9120a80
[ "Apache-2.0" ]
null
null
null
# Copyright 2021 The T5 Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writi...
36.414336
86
0.69408
76adf99c53be9fdd9abcf7404d34ffbbdbf4e9ae
1,422
py
Python
api-reference-examples/python/pytx/pytx/threat_descriptor.py
b-bold/ThreatExchange
6f8d0dc803faccf576c9398569bb52d54a4f9a87
[ "BSD-3-Clause" ]
997
2015-03-13T18:04:03.000Z
2022-03-30T12:09:10.000Z
api-reference-examples/python/pytx/pytx/threat_descriptor.py
b-bold/ThreatExchange
6f8d0dc803faccf576c9398569bb52d54a4f9a87
[ "BSD-3-Clause" ]
444
2015-03-26T17:28:49.000Z
2022-03-28T19:34:05.000Z
api-reference-examples/python/pytx/pytx/threat_descriptor.py
b-bold/ThreatExchange
6f8d0dc803faccf576c9398569bb52d54a4f9a87
[ "BSD-3-Clause" ]
294
2015-03-13T22:19:43.000Z
2022-03-30T08:42:45.000Z
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved from .common import Common from .vocabulary import ThreatDescriptor as td from .vocabulary import ThreatExchange as t
20.911765
70
0.553446
76ae6ebfed82ce4d1cbcefc8ce95998102452884
2,766
py
Python
why_how_what/multiarmed_bandit.py
chandrabsingh/learnings
a3f507bbbf46582ce5a64991983dfc0759db0af5
[ "MIT" ]
null
null
null
why_how_what/multiarmed_bandit.py
chandrabsingh/learnings
a3f507bbbf46582ce5a64991983dfc0759db0af5
[ "MIT" ]
null
null
null
why_how_what/multiarmed_bandit.py
chandrabsingh/learnings
a3f507bbbf46582ce5a64991983dfc0759db0af5
[ "MIT" ]
null
null
null
import numpy as np import matplotlib.pyplot as plt from tqdm import tqdm # def main(): epsilons = [0.1] # Define list of epsilons=exploration leverCount = 10 # Define number of levers runs = 2000 steps = 1000 probs = [0.10, 0.50, 0.60, 0.80, 0.10, 0.25, 0.60, 0.45, 0.75, 0.65] # Define list of arm probabiliti...
36.88
118
0.667751
76af59b924c1dbc7c80b888dfc866f25f3b80a37
1,293
py
Python
algorithms/python/leetcode/tests/test_NonnegativeIntegerswithoutConsecutiveOnes.py
ytjia/coding-pratice
6ddba1f3b86c40639a8203cbc3373d52301c1b1f
[ "MIT" ]
null
null
null
algorithms/python/leetcode/tests/test_NonnegativeIntegerswithoutConsecutiveOnes.py
ytjia/coding-pratice
6ddba1f3b86c40639a8203cbc3373d52301c1b1f
[ "MIT" ]
null
null
null
algorithms/python/leetcode/tests/test_NonnegativeIntegerswithoutConsecutiveOnes.py
ytjia/coding-pratice
6ddba1f3b86c40639a8203cbc3373d52301c1b1f
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Authors: Y. Jia <ytjia.zju@gmail.com> import unittest from .. import NonnegativeIntegerswithoutConsecutiveOnes if __name__ == '__main__': unittest.main()
38.029412
77
0.70843
76af968ed5c491f4545b0402bd5a825b42b19aab
1,273
py
Python
tierpsy/debugging/check_roi_flow.py
mgh17/tierpsy-tracker
a18c06aa80a5fb22fd51563d82c639b520742777
[ "MIT" ]
9
2021-01-11T10:49:21.000Z
2022-02-28T15:48:00.000Z
tierpsy/debugging/check_roi_flow.py
mgh17/tierpsy-tracker
a18c06aa80a5fb22fd51563d82c639b520742777
[ "MIT" ]
18
2020-05-08T15:43:08.000Z
2022-03-23T10:19:24.000Z
tierpsy/debugging/check_roi_flow.py
mgh17/tierpsy-tracker
a18c06aa80a5fb22fd51563d82c639b520742777
[ "MIT" ]
10
2019-12-18T12:10:12.000Z
2022-01-05T09:12:47.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Mon Dec 17 17:59:36 2018 @author: avelinojaver """ import numpy as np import cv2 from functools import partial import json from pathlib import Path import pandas as pd from tierpsy.analysis.ske_create.helperIterROI import generateMoviesROI mask_file = ...
28.931818
112
0.660644
76b0032871e9f4df5fee3742b9f1d69889d52346
7,716
py
Python
models/SFD_net.py
LeileiCao/SFD_Pytorch
384b0cd42485946371812f4905e4c9fd3c5d4e65
[ "MIT" ]
1
2020-05-03T02:46:42.000Z
2020-05-03T02:46:42.000Z
models/SFD_net.py
LeileiCao/SFD_Pytorch
384b0cd42485946371812f4905e4c9fd3c5d4e65
[ "MIT" ]
1
2019-03-30T04:04:39.000Z
2019-03-30T04:04:39.000Z
models/SFD_net.py
LeileiCao/SFD_Pytorch
384b0cd42485946371812f4905e4c9fd3c5d4e65
[ "MIT" ]
3
2019-02-22T07:00:53.000Z
2021-01-13T10:19:59.000Z
import torch import torch.nn as nn import torch.nn.functional as F from torch.autograd import Variable from layers import * import torchvision.transforms as transforms import torchvision.models as models import torch.backends.cudnn as cudnn import torch.nn.init as init import os # This function is derived from torc...
35.394495
94
0.581519
76b14bd5cac8768daf91adb9dc2873199856ee7c
2,572
py
Python
PP4E/Examples/PP4E/Integrate/Embed/prioredition-2x/Inventory/WithDbase/inventory.py
BeacherHou/Python-_Markdown-
015d79a02d32f49395b80ca10919b3a09b72c4df
[ "MIT" ]
null
null
null
PP4E/Examples/PP4E/Integrate/Embed/prioredition-2x/Inventory/WithDbase/inventory.py
BeacherHou/Python-_Markdown-
015d79a02d32f49395b80ca10919b3a09b72c4df
[ "MIT" ]
null
null
null
PP4E/Examples/PP4E/Integrate/Embed/prioredition-2x/Inventory/WithDbase/inventory.py
BeacherHou/Python-_Markdown-
015d79a02d32f49395b80ca10919b3a09b72c4df
[ "MIT" ]
null
null
null
############################################################################ # implement inventory/buyer databases as persistent shelve/pickle files; # since the validations are already coded to use a function call interface, # we just map those calls back to the shelve or pickled object here--no # need to change ...
35.232877
77
0.64619
76b2c1eb2360e1542020b3c834b8848005058b6f
715
py
Python
services/worker/main.py
mrgrassho/geo-diff-2
4b89d36e247d389871d4fcd3f4df5c9a0203750f
[ "MIT" ]
null
null
null
services/worker/main.py
mrgrassho/geo-diff-2
4b89d36e247d389871d4fcd3f4df5c9a0203750f
[ "MIT" ]
11
2020-07-08T23:27:10.000Z
2022-02-27T07:45:57.000Z
services/worker/main.py
mrgrassho/geo-diff-2
4b89d36e247d389871d4fcd3f4df5c9a0203750f
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- from geodiff_worker import GeoDiffWorker from os import environ from os.path import join, dirname from dotenv import load_dotenv dotenv_path = join(dirname(__file__), '.env') load_dotenv(dotenv_path) def main(): """Main entry point to the program.""" # Get the ...
26.481481
91
0.717483
76b3074992a122c8788429826bad0b8169c1290c
4,922
py
Python
tasks/tv_raffle_handler.py
fakegit/bili2.0
6086588a59aba1b19dae4ab1eae59073d884becd
[ "MIT" ]
null
null
null
tasks/tv_raffle_handler.py
fakegit/bili2.0
6086588a59aba1b19dae4ab1eae59073d884becd
[ "MIT" ]
null
null
null
tasks/tv_raffle_handler.py
fakegit/bili2.0
6086588a59aba1b19dae4ab1eae59073d884becd
[ "MIT" ]
1
2019-07-25T18:05:11.000Z
2019-07-25T18:05:11.000Z
import asyncio import random import bili_statistics from reqs.tv_raffle_handler import TvRaffleHandlerReq from tasks.utils import UtilsTask import utils from .task_func_decorator import normal from .base_class import ForcedTask
43.557522
194
0.596709
76b51edc5f6025c886db8fed031828f33d4df24f
265
py
Python
openstack/regression/utils/wait.py
viduship/ceph-qe-scripts
886619fa6600c24cbf989d65868951b9c3decd72
[ "MIT" ]
6
2019-04-12T17:45:44.000Z
2021-09-14T19:59:05.000Z
openstack/regression/utils/wait.py
viduship/ceph-qe-scripts
886619fa6600c24cbf989d65868951b9c3decd72
[ "MIT" ]
111
2019-12-10T10:41:08.000Z
2022-03-31T11:42:30.000Z
openstack/regression/utils/wait.py
viduship/ceph-qe-scripts
886619fa6600c24cbf989d65868951b9c3decd72
[ "MIT" ]
23
2019-05-30T19:48:25.000Z
2022-03-24T17:07:19.000Z
import time
20.384615
66
0.584906
76b63b1bac33101e8507f58ebdfd16790912e32c
20,894
py
Python
cdci_data_analysis/analysis/parameters.py
andreatramacere/cdci_data_analysis
8ae34a7252d6baf011a3b99fbe4f6e624b63d7df
[ "MIT" ]
null
null
null
cdci_data_analysis/analysis/parameters.py
andreatramacere/cdci_data_analysis
8ae34a7252d6baf011a3b99fbe4f6e624b63d7df
[ "MIT" ]
null
null
null
cdci_data_analysis/analysis/parameters.py
andreatramacere/cdci_data_analysis
8ae34a7252d6baf011a3b99fbe4f6e624b63d7df
[ "MIT" ]
null
null
null
""" Overview -------- general info about this module Classes and Inheritance Structure ---------------------------------------------- .. inheritance-diagram:: Summary --------- .. autosummary:: list of the module you want Module API ---------- """ from __future__ import absolute_import, division, print...
27.348168
128
0.542117
76b7c7406ad873b2c3844218bc4fda711535e033
3,552
py
Python
utils/utils.py
lindsey98/dml_cross_entropy
4312cb295e972abda7b0e2bdadecf1965c5d7ed5
[ "BSD-3-Clause" ]
null
null
null
utils/utils.py
lindsey98/dml_cross_entropy
4312cb295e972abda7b0e2bdadecf1965c5d7ed5
[ "BSD-3-Clause" ]
null
null
null
utils/utils.py
lindsey98/dml_cross_entropy
4312cb295e972abda7b0e2bdadecf1965c5d7ed5
[ "BSD-3-Clause" ]
null
null
null
from collections import OrderedDict import torch import torch.nn as nn import torch.nn.functional as F def state_dict_to_cpu(state_dict: OrderedDict): """Moves a state_dict to cpu and removes the module. added by DataParallel. Parameters ---------- state_dict : OrderedDict State_dict containi...
39.032967
122
0.628097
76b9ae265a175f4dd03817b9470d4b4760c676f3
526
py
Python
examples/tinytag/fuzzbp.py
MJ-SEO/py_fuzz
789fbfea21bf644ba4d00554fe4141694b0a190a
[ "Apache-2.0" ]
null
null
null
examples/tinytag/fuzzbp.py
MJ-SEO/py_fuzz
789fbfea21bf644ba4d00554fe4141694b0a190a
[ "Apache-2.0" ]
null
null
null
examples/tinytag/fuzzbp.py
MJ-SEO/py_fuzz
789fbfea21bf644ba4d00554fe4141694b0a190a
[ "Apache-2.0" ]
null
null
null
from pythonfuzz.main import PythonFuzz from tinytag import TinyTag import tempfile import random if __name__ == '__main__': fuzz()
15.939394
56
0.6673
76bb0cabecd4a5466d01422f9d7179dffe4f8c9a
5,653
py
Python
r2d2.py
alicemirror/R2-D2-ArcadeLive
24a90edcadeed7d78b1f84f329211d5e5ba87fd8
[ "MIT" ]
1
2020-04-09T18:54:55.000Z
2020-04-09T18:54:55.000Z
r2d2.py
alicemirror/R2-D2-ArcadeLive
24a90edcadeed7d78b1f84f329211d5e5ba87fd8
[ "MIT" ]
null
null
null
r2d2.py
alicemirror/R2-D2-ArcadeLive
24a90edcadeed7d78b1f84f329211d5e5ba87fd8
[ "MIT" ]
null
null
null
#!/usr/bin/python # R2D2 Python source code to control the Sphero R2D2 droic # Author: Enrico Miglino # Version: 1.0 # Date: Sept, 2019 # License: LGPL 3.0 # # Based on the reverse engineering work # "Scripting Sphero's Star Wars Droids" # by ~bbraun. # # Thanks to Arnaud Coolsaet who inspired the live chroma key # met...
31.232044
130
0.711834
76bbab12b9082806b48585d80d0ee5d93f4121db
882
py
Python
week9_ML_svm_poly_norm/day2_svm_poly/theory/visualize_boundary.py
Clapiniella/data_science_nov_2020
7f98e626328169e266b0ee980f457b8402999647
[ "Apache-2.0" ]
1
2021-01-18T13:15:08.000Z
2021-01-18T13:15:08.000Z
week9_ML_svm_poly_norm/day2_svm_poly/theory/visualize_boundary.py
Clapiniella/data_science_nov_2020
7f98e626328169e266b0ee980f457b8402999647
[ "Apache-2.0" ]
null
null
null
week9_ML_svm_poly_norm/day2_svm_poly/theory/visualize_boundary.py
Clapiniella/data_science_nov_2020
7f98e626328169e266b0ee980f457b8402999647
[ "Apache-2.0" ]
1
2021-05-24T21:49:24.000Z
2021-05-24T21:49:24.000Z
import numpy as np import matplotlib.pyplot as plt from plot_data import plot_data def visualize_boundary(X, y, clf): """ Plots a linear decision boundary learned by the SVM. Parameters ---------- X : ndarray, shape (n_samples, n_features) Samples, where n_samples is the number of sample...
29.4
99
0.603175
76bbc2598c25fd191128e41eb9c547440be4a5b9
86
py
Python
src/integ_test_resources/common/platforms.py
kaichengyan/amplify-ci-support
5a56acd7fa8fb37ec7db975e080be6ba838dcec7
[ "Apache-2.0" ]
9
2020-06-09T21:59:02.000Z
2021-06-27T07:15:18.000Z
src/integ_test_resources/common/platforms.py
kaichengyan/amplify-ci-support
5a56acd7fa8fb37ec7db975e080be6ba838dcec7
[ "Apache-2.0" ]
27
2020-05-06T13:48:06.000Z
2022-02-14T10:10:33.000Z
src/integ_test_resources/common/platforms.py
kaichengyan/amplify-ci-support
5a56acd7fa8fb37ec7db975e080be6ba838dcec7
[ "Apache-2.0" ]
12
2020-05-15T11:51:41.000Z
2022-02-11T18:07:15.000Z
from enum import Enum
12.285714
23
0.639535
76bd0ea831e87f7129cc79c1729569f2c699f4dd
1,608
py
Python
pattern7-tree-breadth-first-search/7. Level Order Successor (easy).py
dopiwoo/Grokking-the-Coding-Interview
78b2bacf9d761b460ac78882bac42df7465feec9
[ "MIT" ]
null
null
null
pattern7-tree-breadth-first-search/7. Level Order Successor (easy).py
dopiwoo/Grokking-the-Coding-Interview
78b2bacf9d761b460ac78882bac42df7465feec9
[ "MIT" ]
null
null
null
pattern7-tree-breadth-first-search/7. Level Order Successor (easy).py
dopiwoo/Grokking-the-Coding-Interview
78b2bacf9d761b460ac78882bac42df7465feec9
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Fri Feb 26 17:29:12 2021 @author: dopiwoo Given a binary tree and a node, find the level order successor of the given node in the tree. The level order successor is the node that appears right after the given node in the level order traversal. """ from co...
24.363636
119
0.623756
76be0a159433c52bf9bb4c8d2bfce86eebcbe457
427
py
Python
UnitTesting/Columbus/views.py
FalseG0d/AdvancedDjango
52715ffea132e591f98f94b781960fc12a8613e4
[ "MIT" ]
9
2020-10-17T14:03:35.000Z
2022-01-12T17:51:14.000Z
UnitTesting/Columbus/views.py
FalseG0d/AdvancedDjango
52715ffea132e591f98f94b781960fc12a8613e4
[ "MIT" ]
null
null
null
UnitTesting/Columbus/views.py
FalseG0d/AdvancedDjango
52715ffea132e591f98f94b781960fc12a8613e4
[ "MIT" ]
4
2020-10-20T06:52:26.000Z
2022-01-07T23:51:59.000Z
from django.shortcuts import render from .models import Name from .forms import NameForm # Create your views here.
21.35
47
0.627635
76be67bce0cf697811965ca2143b5be3cb2e2a79
1,307
py
Python
bruges/attribute/energy.py
sbachkheti/bruges
10fa2524bf8f1b02df2e4e195dc44ead1ed97cbd
[ "Apache-2.0" ]
null
null
null
bruges/attribute/energy.py
sbachkheti/bruges
10fa2524bf8f1b02df2e4e195dc44ead1ed97cbd
[ "Apache-2.0" ]
null
null
null
bruges/attribute/energy.py
sbachkheti/bruges
10fa2524bf8f1b02df2e4e195dc44ead1ed97cbd
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- import numpy as np from scipy.signal import fftconvolve def energy(traces, duration, dt=1): """ Compute an mean-squared energy measurement for each point of a seismic section. :param traces: The data array to use for calculating MS energy. Must be 1D or 2D n...
31.878049
69
0.575363
76be7613f5b089099bb687a960915778fa3c9364
5,288
py
Python
examples/test_heat.py
nschloe/maelstrom
16a86524d8995448b510109493b1f12f8b35c82f
[ "MIT" ]
26
2016-07-21T16:57:30.000Z
2022-03-22T17:44:52.000Z
examples/test_heat.py
nschloe/maelstrom
16a86524d8995448b510109493b1f12f8b35c82f
[ "MIT" ]
2
2017-11-18T01:11:58.000Z
2021-12-03T07:32:37.000Z
examples/test_heat.py
nschloe/maelstrom
16a86524d8995448b510109493b1f12f8b35c82f
[ "MIT" ]
6
2016-01-28T21:22:26.000Z
2021-06-28T11:48:48.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- # from __future__ import print_function from dolfin import plot, dx, Constant, Measure, Function, project, XDMFFile import matplotlib.pyplot as plt import numpy import problems import maelstrom import parabolic def _parameter_quest(): """Find parameter sets fittin...
25.795122
76
0.587557
76c007829c9f8744254e7acb7d3b55012a5f340a
1,823
py
Python
news_collector/news_collector/spiders/laarena.py
mfalcon/chequeabot
380ac0f19f27b29237c36205bdb94412eb4f7cd3
[ "MIT" ]
11
2019-02-05T06:59:21.000Z
2021-02-04T10:00:28.000Z
news_collector/news_collector/spiders/laarena.py
mfalcon/chequeabot
380ac0f19f27b29237c36205bdb94412eb4f7cd3
[ "MIT" ]
8
2021-03-18T21:37:54.000Z
2022-03-11T23:36:04.000Z
news_collector/news_collector/spiders/laarena.py
chequeado/chequeabot
682289952d6160aa6a6e70b002564e6b9c4be094
[ "MIT" ]
4
2019-11-18T21:48:35.000Z
2020-11-04T13:39:39.000Z
import datetime import newspaper import scrapy import locale import datetime locale.setlocale(locale.LC_ALL, "es_AR.utf8") BASE_URL = 'http://www.laarena.com.ar/'
29.403226
116
0.60011
76c1957fa3e62fb50e20aef92a66bad4d263db88
5,343
py
Python
Server/server.py
hackerghost93/Encrypted_FTP
6d4b79fa0f3b9989a5c340c2859b53c4f7bc0970
[ "MIT" ]
null
null
null
Server/server.py
hackerghost93/Encrypted_FTP
6d4b79fa0f3b9989a5c340c2859b53c4f7bc0970
[ "MIT" ]
null
null
null
Server/server.py
hackerghost93/Encrypted_FTP
6d4b79fa0f3b9989a5c340c2859b53c4f7bc0970
[ "MIT" ]
null
null
null
from multiprocessing import Process from Crypto.Cipher import AES import os import sys import threading import socket import platform printing_lock = threading.Lock() obj = AES.new('This is a key123', AES.MODE_CBC, 'This is an IV456') counterTcp = 0 counterUdp = 0 if __name__ == '__main__': # is ru...
34.921569
138
0.579637
76c4af815aa877a1d595acd54dc152c3b1eb6533
511
py
Python
placement/settings.py
vipulgupta2048/getmejob
348427b03e0c3d57661cba7a53d9738199497bd6
[ "MIT" ]
1
2019-08-14T09:11:48.000Z
2019-08-14T09:11:48.000Z
placement/settings.py
vipulgupta2048/getmejob
348427b03e0c3d57661cba7a53d9738199497bd6
[ "MIT" ]
3
2021-03-31T19:36:43.000Z
2021-12-13T20:35:37.000Z
placement/settings.py
vipulgupta2048/getmejob
348427b03e0c3d57661cba7a53d9738199497bd6
[ "MIT" ]
1
2019-08-14T09:11:52.000Z
2019-08-14T09:11:52.000Z
BOT_NAME = "placement" SPIDER_MODULES = ["placement.spiders"] NEWSPIDER_MODULE = "placement.spiders" ROBOTSTXT_OBEY = True CONCURRENT_REQUESTS = 16 DUPEFILTER_DEBUG = True EXTENSIONS = {"spidermon.contrib.scrapy.extensions.Spidermon": 500} SPIDERMON_ENABLED = True ITEM_PIPELINES = {"spidermon.contrib.scrapy.pipeli...
26.894737
88
0.800391
76c5586c324a6c8cddcb69f882bddedf4ac01b9d
628
py
Python
api/src/mail.py
jsangmeister/openslides.com-1
73a5e2a36d5c969964ba0dd94c70dba83de99034
[ "MIT" ]
null
null
null
api/src/mail.py
jsangmeister/openslides.com-1
73a5e2a36d5c969964ba0dd94c70dba83de99034
[ "MIT" ]
21
2019-08-07T15:11:17.000Z
2022-01-31T09:57:07.000Z
api/src/mail.py
jsangmeister/openslides.com-1
73a5e2a36d5c969964ba0dd94c70dba83de99034
[ "MIT" ]
9
2019-07-10T14:11:48.000Z
2022-02-08T11:40:59.000Z
import smtplib from flask_babel import gettext as _ from flask_mail import Mail from .app import app from .errors import ViewError mail = Mail(app)
24.153846
78
0.619427
76c5d6ceadd233d09e6617cd9a2eac6fd428af2a
183
py
Python
src/python/starpattern.py
DHANUSHXENO/a-patterns
701ce22fdb1ac54b71943167edb97db89b7f311b
[ "MIT" ]
null
null
null
src/python/starpattern.py
DHANUSHXENO/a-patterns
701ce22fdb1ac54b71943167edb97db89b7f311b
[ "MIT" ]
null
null
null
src/python/starpattern.py
DHANUSHXENO/a-patterns
701ce22fdb1ac54b71943167edb97db89b7f311b
[ "MIT" ]
null
null
null
star_pattern(5) ''' star_pattern(5) * * * * * * * * * * * * * * * '''
10.764706
24
0.437158
76c632d8dcd5648691e6cdef8c48b528a22c1ea2
447
py
Python
setup.py
sdimitro/savedump-workflows
2f5b34f006d84c09918b2ade98c20902d411ed3f
[ "Apache-2.0" ]
1
2021-03-27T14:10:55.000Z
2021-03-27T14:10:55.000Z
setup.py
sdimitro/savedump-workflows
2f5b34f006d84c09918b2ade98c20902d411ed3f
[ "Apache-2.0" ]
9
2020-07-17T16:21:15.000Z
2020-09-01T15:50:10.000Z
setup.py
sdimitro/savedump-workflows
2f5b34f006d84c09918b2ade98c20902d411ed3f
[ "Apache-2.0" ]
2
2020-08-03T17:53:56.000Z
2020-08-12T21:49:12.000Z
#!/usr/bin/env python3 from setuptools import setup setup( name='savedump', version="0.1.0", packages=[ "savedump", ], entry_points={ 'console_scripts': ['savedump=savedump.savedump:main'], }, author='Delphix Platform Team', author_email='serapheim@delphix.com', ...
19.434783
63
0.635347
76c6d2932401f4203f7334417d8df963804344f7
899
py
Python
ex081.py
LucasBalbinoSS/Exercicios-Python-Mundo3
11799e9529ce4d9f20285b53206083310a076203
[ "MIT" ]
null
null
null
ex081.py
LucasBalbinoSS/Exercicios-Python-Mundo3
11799e9529ce4d9f20285b53206083310a076203
[ "MIT" ]
null
null
null
ex081.py
LucasBalbinoSS/Exercicios-Python-Mundo3
11799e9529ce4d9f20285b53206083310a076203
[ "MIT" ]
null
null
null
listaNum = list() contadorde5 = 0 while True: num = int(input('Digite um nmero: ')) if num == 5: contadorde5 += 1 listaNum.append(num) continuar = str(input('Quer continuar? [ S / N ] ')).strip().upper() print() if continuar[0] == 'N': break while continuar[0] != 'S' and ...
24.972222
81
0.604004
76c72ad5a13bd88794ba69132692e818b1f546b9
8,432
py
Python
SHLDataset/data_fusion3.py
jenhuluck/deep-learning-in-ADL
c6f70ed2c845253698f8bf8dcdd47a8e74b30fd2
[ "MIT" ]
3
2020-10-29T09:37:47.000Z
2022-03-24T13:03:28.000Z
SHLDataset/data_fusion3.py
jenhuluck/Deep-Learning-in-Human-Activity-Recognition-
c6f70ed2c845253698f8bf8dcdd47a8e74b30fd2
[ "MIT" ]
1
2020-10-13T03:12:28.000Z
2020-10-13T03:12:28.000Z
SHLDataset/data_fusion3.py
jenhuluck/deep-learning-in-ADL
c6f70ed2c845253698f8bf8dcdd47a8e74b30fd2
[ "MIT" ]
1
2021-02-10T14:00:04.000Z
2021-02-10T14:00:04.000Z
# -*- coding: utf-8 -*- """ Created on Fri Aug 21 21:38:36 2020 @author: Jieyun Hu """ #using deep learning on data fusion of motion and video data import pandas as pd import numpy as np import matplotlib.pyplot as plt from scipy import stats import tensorflow as tf from sklearn import metrics import h5py import mat...
41.742574
248
0.591675
76c82645a89d088d85f5022f67a7ad6314a2c8d3
245
py
Python
api-test-code/credentials.py
srijansingh53/hatErase
eab4873efee4803a0c641777bce5bd63fb4fcc2f
[ "MIT" ]
1
2020-06-26T07:24:03.000Z
2020-06-26T07:24:03.000Z
api-test-code/credentials.py
srijansingh53/hatErase
eab4873efee4803a0c641777bce5bd63fb4fcc2f
[ "MIT" ]
null
null
null
api-test-code/credentials.py
srijansingh53/hatErase
eab4873efee4803a0c641777bce5bd63fb4fcc2f
[ "MIT" ]
null
null
null
consumer_key = 'F1BCRW0AXUlr0wjLE8L6Znm8a' consumer_secret = 'HqRCnviPD8TmI05TSL47CA9eL6niFYtRu35CIP6J2F0fhjL9zz' access_token = '1163025465423982592-WrNzWHSUZykiwRmYbexhkUa5BGudYZ' access_secret = 'bZ0mWxWgFMClId9OoauDLQgT9IlwojmFS65OuGsy0E9QQ'
61.25
70
0.902041
76cb577af9c67979a6febdbd56b344a5e668c7c4
1,086
py
Python
data_operate_util.py
zs856/Second-hand-housing-guide-price-Shenzhen.
a4cbf0b3bc693d80d0ba64286ce9aeb0737c1698
[ "MIT" ]
2
2021-02-13T13:20:05.000Z
2021-03-24T09:45:24.000Z
data_operate_util.py
zs856/Second-hand-housing-guide-price-Shenzhen.
a4cbf0b3bc693d80d0ba64286ce9aeb0737c1698
[ "MIT" ]
null
null
null
data_operate_util.py
zs856/Second-hand-housing-guide-price-Shenzhen.
a4cbf0b3bc693d80d0ba64286ce9aeb0737c1698
[ "MIT" ]
null
null
null
import re import pandas as pd from constant import shenzhen_data_csv_path def shape_data(header, body): """ pdfdataframe :param header: :param body: :return: """ pd.set_option('display.max_rows', None) df = pd.DataFrame(body) df.columns = header return df def to_csv(datafra...
19.392857
59
0.643646
76cc225335a2213744e19bb14468fe461b9bf959
179
py
Python
magi/agents/sac_ae/__init__.py
ethanluoyc/magi
2ef2ba60989a55ccf8c90ba74c8e712fe301e2fa
[ "Apache-2.0" ]
86
2021-11-24T21:53:29.000Z
2022-03-27T13:35:45.000Z
magi/agents/sac_ae/__init__.py
ethanluoyc/magi
2ef2ba60989a55ccf8c90ba74c8e712fe301e2fa
[ "Apache-2.0" ]
7
2021-11-26T17:23:29.000Z
2022-03-07T21:49:44.000Z
magi/agents/sac_ae/__init__.py
ethanluoyc/magi
2ef2ba60989a55ccf8c90ba74c8e712fe301e2fa
[ "Apache-2.0" ]
3
2021-11-27T11:13:18.000Z
2022-01-24T14:38:53.000Z
"""SAC-AE agent.""" from magi.agents.sac_ae.agent import SACAEAgent from magi.agents.sac_ae.agent import SACAEConfig from magi.agents.sac_ae.networks import make_default_networks
35.8
61
0.826816
76ce8679092b6c88a9cd642b89726a44b635faef
86
py
Python
test/lib-clay/externals/abi/newtypes/run.py
jb55/clay
db0bd2702ab0b6e48965cd85f8859bbd5f60e48e
[ "BSD-2-Clause" ]
185
2015-01-04T09:33:17.000Z
2022-03-18T04:53:38.000Z
test/externals/abi/complex/run.py
aep/clay
92224d71c9d64a32d70a289593c13da7f970ec35
[ "BSD-2-Clause" ]
7
2015-03-22T06:13:42.000Z
2015-12-28T19:07:24.000Z
test/externals/abi/complex/run.py
aep/clay
92224d71c9d64a32d70a289593c13da7f970ec35
[ "BSD-2-Clause" ]
20
2015-01-09T22:24:46.000Z
2022-03-18T04:54:59.000Z
import sys sys.path.append('..') import external_test external_test.runExternalTest()
17.2
31
0.802326
76cf4f621c8a4523513d863e1b41164e09239127
34,495
py
Python
luna/gateware/debug/ila.py
macdaliot/luna
97e725d0af001a6d4c4811eefb43b6c31a9b45e1
[ "BSD-3-Clause" ]
1
2021-02-28T04:35:15.000Z
2021-02-28T04:35:15.000Z
luna/gateware/debug/ila.py
macdaliot/luna
97e725d0af001a6d4c4811eefb43b6c31a9b45e1
[ "BSD-3-Clause" ]
null
null
null
luna/gateware/debug/ila.py
macdaliot/luna
97e725d0af001a6d4c4811eefb43b6c31a9b45e1
[ "BSD-3-Clause" ]
null
null
null
# # This file is part of LUNA. # # Copyright (c) 2020 Great Scott Gadgets <info@greatscottgadgets.com> # SPDX-License-Identifier: BSD-3-Clause """ Integrated logic analysis helpers. """ import io import os import sys import math import unittest import tempfile import subprocess from abc import ABCMeta, a...
35.020305
123
0.604464
4f113526def488c862f6b1e51745bcce4bcf9d63
3,400
py
Python
SPD/lib/lib_IZZI_MD.py
yamamon75/PmagPy
fa5b189800a239683fc17c6b312cdfdd839a46c3
[ "BSD-3-Clause" ]
2
2020-07-05T01:11:33.000Z
2020-07-05T01:11:39.000Z
SPD/lib/lib_IZZI_MD.py
yamamon75/PmagPy
fa5b189800a239683fc17c6b312cdfdd839a46c3
[ "BSD-3-Clause" ]
null
null
null
SPD/lib/lib_IZZI_MD.py
yamamon75/PmagPy
fa5b189800a239683fc17c6b312cdfdd839a46c3
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python from __future__ import division from builtins import range from past.utils import old_div from numpy import *
34.693878
131
0.518824