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
2133b362ea2ee1490e512836e24b6ee57a2742e2
370
py
Python
catapult/config.py
alexanderphoenix/catapult
e47463907aad84e2eb11ef2ea75be9beb37bb421
[ "MIT" ]
null
null
null
catapult/config.py
alexanderphoenix/catapult
e47463907aad84e2eb11ef2ea75be9beb37bb421
[ "MIT" ]
null
null
null
catapult/config.py
alexanderphoenix/catapult
e47463907aad84e2eb11ef2ea75be9beb37bb421
[ "MIT" ]
null
null
null
import os _HOME_PATH = os.path.expanduser("~") # aws config AWS_PROFILE = os.environ.get("CATAPULT_AWS_PROFILE", "default") AWS_MFA_DEVICE = os.environ.get("CATAPULT_AWS_MFA_DEVICE") # git config GIT_REPO = os.environ.get("CATAPULT_GIT_REPO", "./") # catapult config CATAPULT_SESSION = os.environ.get( "CATAPULT_...
23.125
63
0.740541
21353c8aaa61715f003a31803a7d1e42233e090c
40,928
py
Python
setup.py
LeeKamentsky/build-ilastik-on-windows
3c95d5f48e35d7686222d20145bee08428c1c7d5
[ "BSD-2-Clause" ]
null
null
null
setup.py
LeeKamentsky/build-ilastik-on-windows
3c95d5f48e35d7686222d20145bee08428c1c7d5
[ "BSD-2-Clause" ]
null
null
null
setup.py
LeeKamentsky/build-ilastik-on-windows
3c95d5f48e35d7686222d20145bee08428c1c7d5
[ "BSD-2-Clause" ]
null
null
null
import setuptools import distutils.command.build from distutils.errors import DistutilsSetupError import distutils.sysconfig import distutils.spawn import hashlib import os import re import shutil import StringIO import sys import tarfile import tempfile import urllib2 import urlparse import zipfile # # Things that ne...
38.720908
128
0.582682
2136d57032796c382b2bcf676789e3a7dbaf74ca
19,149
py
Python
onlinejudge_template/generator/julia.py
kameyama/template-generator
420a9c787c6f8f6bc7c575f6267b0ef4f1c2c2b0
[ "MIT" ]
null
null
null
onlinejudge_template/generator/julia.py
kameyama/template-generator
420a9c787c6f8f6bc7c575f6267b0ef4f1c2c2b0
[ "MIT" ]
null
null
null
onlinejudge_template/generator/julia.py
kameyama/template-generator
420a9c787c6f8f6bc7c575f6267b0ef4f1c2c2b0
[ "MIT" ]
null
null
null
""" the module to generate Julia code module Python main.py - :func:`read_input` - :func:`write_output` - :func:`declare_constants` - :func:`formal_arguments` - :func:`actual_arguments` - :func:`return_type` - :func:`return_value` - :func:`generate_input` - :func:`write_input` """ from typing import * impor...
40.656051
193
0.646457
2137a254f99d846eb48cf890aaca95c06bcfcf0a
1,451
py
Python
tests/test_memory_cache.py
drorvinkler/thornfield
3c5bb8afaa96097bc71cccb119394a0f351d828f
[ "MIT" ]
2
2020-11-24T13:27:14.000Z
2020-11-24T13:29:40.000Z
tests/test_memory_cache.py
drorvinkler/thornfield
3c5bb8afaa96097bc71cccb119394a0f351d828f
[ "MIT" ]
1
2020-11-24T13:33:45.000Z
2020-11-24T15:10:41.000Z
tests/test_memory_cache.py
drorvinkler/thornfield
3c5bb8afaa96097bc71cccb119394a0f351d828f
[ "MIT" ]
null
null
null
from time import sleep from unittest import TestCase from thornfield.cacher import Cacher from thornfield.caches.memory_cache import MemoryCache
25.45614
54
0.604411
21380f91fe35f66985a11aadbd6ba2faf7888044
1,852
py
Python
index.py
cs-fullstack-2019-fall/python-classobject-review-cw-LilPrice-Code-1
ca26b088252254cebc41b5d7236e887f513652dd
[ "Apache-2.0" ]
null
null
null
index.py
cs-fullstack-2019-fall/python-classobject-review-cw-LilPrice-Code-1
ca26b088252254cebc41b5d7236e887f513652dd
[ "Apache-2.0" ]
null
null
null
index.py
cs-fullstack-2019-fall/python-classobject-review-cw-LilPrice-Code-1
ca26b088252254cebc41b5d7236e887f513652dd
[ "Apache-2.0" ]
null
null
null
# Problem 1: # # Create a Movie class with the following properties/attributes: movieName, rating, and yearReleased. # # Override the default str (to-String) method and implement the code that will print the value of all the properties/attributes of the Movie class # # # Assign a value of your choosing for each propert...
29.396825
148
0.61933
2139e18eede874f8c9984b45680b934dcf1d9148
1,267
py
Python
test/test_del_user_from_group.py
SergKitler/python_training
a5bbc5f4121dc10ef2b5a3bddacaf65595dc948c
[ "Apache-2.0" ]
null
null
null
test/test_del_user_from_group.py
SergKitler/python_training
a5bbc5f4121dc10ef2b5a3bddacaf65595dc948c
[ "Apache-2.0" ]
null
null
null
test/test_del_user_from_group.py
SergKitler/python_training
a5bbc5f4121dc10ef2b5a3bddacaf65595dc948c
[ "Apache-2.0" ]
null
null
null
__author__ = 'sergei' from model.group import Group from model.user import User import random
39.59375
99
0.700868
213ade98125f2742c5b43d740f3054f2af88f7bd
741
py
Python
test_bale_bot/test_models/test_client_requests/test_messaging/test_edit_message.py
naderAbolfazli/bale-bot-python
1e694adfd0850cb9e288d180ed0231f148f4c223
[ "Apache-2.0" ]
24
2018-07-08T12:17:55.000Z
2022-03-05T22:00:28.000Z
test_bale_bot/test_models/test_client_requests/test_messaging/test_edit_message.py
naderAbolfazli/bale-bot-python
1e694adfd0850cb9e288d180ed0231f148f4c223
[ "Apache-2.0" ]
21
2018-08-30T03:18:25.000Z
2022-03-11T23:36:16.000Z
test_bale_bot/test_models/test_client_requests/test_messaging/test_edit_message.py
naderAbolfazli/bale-bot-python
1e694adfd0850cb9e288d180ed0231f148f4c223
[ "Apache-2.0" ]
12
2018-07-07T08:29:12.000Z
2022-03-05T22:00:05.000Z
import unittest from unittest.mock import MagicMock from balebot.models.base_models import Peer from balebot.models.client_requests import EditMessage from balebot.models.messages import TextMessage
33.681818
94
0.746289
213bcd6bcb089f055fbbea7d10486c9635c089cf
12,883
py
Python
BB/bbConfig/bbConfig.py
Laura7089/GOF2BountyBot
96d678bb3eda116292f4c1575d5e046206aa3cdd
[ "MIT" ]
null
null
null
BB/bbConfig/bbConfig.py
Laura7089/GOF2BountyBot
96d678bb3eda116292f4c1575d5e046206aa3cdd
[ "MIT" ]
null
null
null
BB/bbConfig/bbConfig.py
Laura7089/GOF2BountyBot
96d678bb3eda116292f4c1575d5e046206aa3cdd
[ "MIT" ]
null
null
null
# Typing imports from __future__ import annotations import math, random, pprint from ..bbUtil import dumbEmoji ##### UTIL ##### # Number of decimal places to calculate itemTLSpawnChanceForShopTL values to tl_resolution = 3 def truncToRes(num : float) -> float: """Truncate the passed float to tl_resolution deci...
37.126801
299
0.726772
213d38841104f97538b8d13b91cf5eb823ddbdf6
47,272
py
Python
server/tests/controllers/miners/github/test_pull_request.py
athenianco/athenian-api
dd5556101a8c49703d6b0516e4268b9e8d8eda5b
[ "RSA-MD" ]
9
2020-10-11T22:12:03.000Z
2022-02-26T02:16:45.000Z
server/tests/controllers/miners/github/test_pull_request.py
athenianco/athenian-api
dd5556101a8c49703d6b0516e4268b9e8d8eda5b
[ "RSA-MD" ]
246
2019-12-05T06:37:30.000Z
2022-03-29T10:00:07.000Z
server/tests/controllers/miners/github/test_pull_request.py
athenianco/athenian-api
dd5556101a8c49703d6b0516e4268b9e8d8eda5b
[ "RSA-MD" ]
5
2019-12-04T22:38:05.000Z
2021-02-26T00:50:04.000Z
from collections import defaultdict import dataclasses from datetime import date, datetime, timedelta, timezone from itertools import chain import pickle from typing import Any, Dict import pandas as pd from pandas.core.dtypes.common import is_datetime64_any_dtype from pandas.testing import assert_frame_equal import p...
38
98
0.618696
213d3e71dd31496bb63acb66ff3f22dd91bbc213
8,383
py
Python
villebot1.0.py
wkpelt/Villebot
d04a7707684babae07ad93d1fd76ee401fc371de
[ "MIT" ]
1
2019-03-10T22:00:18.000Z
2019-03-10T22:00:18.000Z
villebot1.0.py
wkpelt/Villebot
d04a7707684babae07ad93d1fd76ee401fc371de
[ "MIT" ]
null
null
null
villebot1.0.py
wkpelt/Villebot
d04a7707684babae07ad93d1fd76ee401fc371de
[ "MIT" ]
null
null
null
#VILLEBot v1.0 #Author = Wiljam Peltomaa #Last updated = 21.04.2019 import PySimpleGUI as sg import pyautogui import pyperclip import string from time import sleep main()
44.590426
125
0.445187
213db5f35ea6d1846adc243063d3e37e46d77f5c
2,487
py
Python
test/test_erc20.py
patractlabs/py-patract
ba36981898d93ad68ab832ea4cdc8843bb545105
[ "Apache-2.0" ]
10
2021-01-04T01:35:05.000Z
2021-04-15T19:36:01.000Z
test/test_erc20.py
patractlabs/py-patract
ba36981898d93ad68ab832ea4cdc8843bb545105
[ "Apache-2.0" ]
3
2021-04-16T10:23:45.000Z
2021-05-17T21:44:46.000Z
test/test_erc20.py
patractlabs/py-patract
ba36981898d93ad68ab832ea4cdc8843bb545105
[ "Apache-2.0" ]
null
null
null
import os import unittest import logging from substrateinterface import SubstrateInterface, ContractMetadata, Keypair from substrateinterface.utils.ss58 import ss58_encode from patractinterface.unittest.env import SubstrateTestEnv from patractinterface.contracts.erc20 import ERC20 if __name__ == '__main__': unit...
35.528571
126
0.675513
213de5c5ec034a55eb91624483a3fc5b71895f40
316
py
Python
code/abc030_c_01.py
KoyanagiHitoshi/AtCoder
731892543769b5df15254e1f32b756190378d292
[ "MIT" ]
3
2019-08-16T16:55:48.000Z
2021-04-11T10:21:40.000Z
code/abc030_c_01.py
KoyanagiHitoshi/AtCoder
731892543769b5df15254e1f32b756190378d292
[ "MIT" ]
null
null
null
code/abc030_c_01.py
KoyanagiHitoshi/AtCoder
731892543769b5df15254e1f32b756190378d292
[ "MIT" ]
null
null
null
import bisect N,M=map(int,input().split()) X,Y=map(int,input().split()) A=list(map(int,input().split())) B=list(map(int,input().split())) ans=0 time=0 while time<=A[-1]: time=A[bisect.bisect_left(A,time)]+X if time<=B[-1]: time=B[bisect.bisect_left(B,time)]+Y ans+=1 else:break print(ans)
22.571429
44
0.617089
213f46b4589c11995b5f6fb48b27af63bf5048d3
33,295
py
Python
tests/metrics/test_metastatus_lib.py
white105/paasta
410418fb54d501141f091381ada368a8bf62037b
[ "Apache-2.0" ]
2
2020-04-09T06:58:46.000Z
2021-05-03T21:56:03.000Z
tests/metrics/test_metastatus_lib.py
white105/paasta
410418fb54d501141f091381ada368a8bf62037b
[ "Apache-2.0" ]
null
null
null
tests/metrics/test_metastatus_lib.py
white105/paasta
410418fb54d501141f091381ada368a8bf62037b
[ "Apache-2.0" ]
1
2020-09-29T03:23:02.000Z
2020-09-29T03:23:02.000Z
#!/usr/bin/env python # Copyright 2015-2016 Yelp 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 # # Unless required by applicable law ...
30.489927
109
0.583811
21405a908f0dbb287266e8c8f77371225bd31b1c
14,337
py
Python
source/spark_runner/run_pipeline_multiple_files.py
VCCRI/GEOraclePlus
6595cf449b4e9ead8317bcf56ebd8e173aa78bca
[ "MIT" ]
3
2019-03-21T05:58:23.000Z
2021-05-21T06:28:07.000Z
source/spark_runner/run_pipeline_multiple_files.py
VCCRI/GEOraclePlus
6595cf449b4e9ead8317bcf56ebd8e173aa78bca
[ "MIT" ]
null
null
null
source/spark_runner/run_pipeline_multiple_files.py
VCCRI/GEOraclePlus
6595cf449b4e9ead8317bcf56ebd8e173aa78bca
[ "MIT" ]
null
null
null
import argparse import os import shlex import shutil from subprocess import Popen, PIPE from pyspark import SparkContext, SparkConf import pandas as pd import subprocess import boto3 import re global parser_result APPLICATION_FOLDER = "/mnt/app" GENOME_REFERENCES_FOLDER = "/mnt/ref" TEMP_OUTPUT_FOLDER = "/mnt/output"...
41.677326
120
0.651671
2141317fbf5f3992f4c511744ecc5272b889b6f8
3,198
py
Python
Scripts/Webscraping 2.0.py
PatrikLah/VerkonRaapiminen
7df7f00654250b6f66c449ded6fb9c36fad4f548
[ "Apache-2.0" ]
null
null
null
Scripts/Webscraping 2.0.py
PatrikLah/VerkonRaapiminen
7df7f00654250b6f66c449ded6fb9c36fad4f548
[ "Apache-2.0" ]
null
null
null
Scripts/Webscraping 2.0.py
PatrikLah/VerkonRaapiminen
7df7f00654250b6f66c449ded6fb9c36fad4f548
[ "Apache-2.0" ]
null
null
null
from requests_html import HTMLSession import pandas as pd import time #Render Dynamic Pages - Web Scraping Product Links with Python #Virvoitusjuomat = 1022 | sivuja n. 5 #Mehut = 1018 | sivuja n. 9 #Vedet = 1028 | sivuja n. 4 #Energiajuomat = 1038 | n. 2 category_code = 1008 page_count = 1 category_string = "" if ca...
32.969072
108
0.590056
21418a1620b85c8b126f4c0005971414afc84bc6
3,718
py
Python
cogs/welcomer.py
Abhiraj441/Superior
1c597cc367f1fadbabf124c83e4684e35bc36a4e
[ "MIT" ]
null
null
null
cogs/welcomer.py
Abhiraj441/Superior
1c597cc367f1fadbabf124c83e4684e35bc36a4e
[ "MIT" ]
null
null
null
cogs/welcomer.py
Abhiraj441/Superior
1c597cc367f1fadbabf124c83e4684e35bc36a4e
[ "MIT" ]
null
null
null
from discord.ext import commands import discord import random import datetime import sqlite3
38.329897
98
0.563206
2142e2114d52df5ead364aee160bbcf0ccdc04e6
4,995
py
Python
pirates/minigame/BlendActor.py
itsyaboyrocket/pirates
6ca1e7d571c670b0d976f65e608235707b5737e3
[ "BSD-3-Clause" ]
3
2021-02-25T06:38:13.000Z
2022-03-22T07:00:15.000Z
pirates/minigame/BlendActor.py
itsyaboyrocket/pirates
6ca1e7d571c670b0d976f65e608235707b5737e3
[ "BSD-3-Clause" ]
null
null
null
pirates/minigame/BlendActor.py
itsyaboyrocket/pirates
6ca1e7d571c670b0d976f65e608235707b5737e3
[ "BSD-3-Clause" ]
1
2021-02-25T06:38:17.000Z
2021-02-25T06:38:17.000Z
# uncompyle6 version 3.2.0 # Python bytecode 2.4 (62061) # Decompiled from: Python 2.7.14 (v2.7.14:84471935ed, Sep 16 2017, 20:19:30) [MSC v.1500 32 bit (Intel)] # Embedded file name: pirates.minigame.BlendActor from direct.interval.MetaInterval import Sequence from direct.interval.MetaInterval import Parallel from dir...
41.625
153
0.673273
2143fa672c59acab513578369d0301062ae5ff0e
10,872
py
Python
overplot_lags.py
abigailStev/lag_spectra
58742d9a3d82fa117ef397819b59b837265b8ed0
[ "MIT" ]
2
2020-02-11T16:37:03.000Z
2020-03-06T10:49:32.000Z
overplot_lags.py
abigailStev/lag_spectra
58742d9a3d82fa117ef397819b59b837265b8ed0
[ "MIT" ]
null
null
null
overplot_lags.py
abigailStev/lag_spectra
58742d9a3d82fa117ef397819b59b837265b8ed0
[ "MIT" ]
2
2015-11-19T13:05:17.000Z
2020-03-06T10:51:25.000Z
#!/usr/bin/env """ Plots multiple lag-energy spectra (from different observations, simulations, etc.) on the same plot. Change lag_dir and sim_dir to suit your machine and setup. Example call: python overplot_lag-energy.py cygx1 """ import argparse import subprocess import numpy as np from astropy.io import fits from...
36.979592
128
0.558131
214429602fec8e745dc0430d164010181f0164da
1,986
py
Python
models/srresnet.py
4tif4nwer/image-super-resolution
12dd2f0bd601f5733e529d84ccfac204f0ac7bc5
[ "Apache-2.0" ]
9
2021-09-08T08:42:37.000Z
2022-03-13T21:22:29.000Z
models/srresnet.py
4tif4nwer/image-super-resolution
12dd2f0bd601f5733e529d84ccfac204f0ac7bc5
[ "Apache-2.0" ]
null
null
null
models/srresnet.py
4tif4nwer/image-super-resolution
12dd2f0bd601f5733e529d84ccfac204f0ac7bc5
[ "Apache-2.0" ]
5
2021-08-20T13:45:37.000Z
2022-01-29T09:45:26.000Z
import tensorflow as tf from tensorflow.keras.models import Model from tensorflow.keras.layers import Input, Conv2D, BatchNormalization, Add, Lambda from tensorflow.python.keras.layers import PReLU from utils.normalization import normalize_01, denormalize_m11 upsamples_per_scale = { 2: 1, 4: 2, 8: 3 } ...
28.371429
117
0.685297
2145b861123252d96c2d3306d78c3b97976c5156
85
py
Python
crusoe_observe/OS-parser-component/osrest/method/__init__.py
CSIRT-MU/CRUSOE
73e4ac0ced6c3ac46d24ac5c3feb01a1e88bd36b
[ "MIT" ]
3
2021-11-09T09:55:17.000Z
2022-02-19T02:58:27.000Z
crusoe_observe/OS-parser-component/osrest/method/__init__.py
CSIRT-MU/CRUSOE
73e4ac0ced6c3ac46d24ac5c3feb01a1e88bd36b
[ "MIT" ]
null
null
null
crusoe_observe/OS-parser-component/osrest/method/__init__.py
CSIRT-MU/CRUSOE
73e4ac0ced6c3ac46d24ac5c3feb01a1e88bd36b
[ "MIT" ]
null
null
null
from .domain import Domain from .tcpml import Tcpml from .useragent import UserAgent
21.25
32
0.823529
2146376ebb271565f1cb15c5a7d8faeed0721eb4
14,914
py
Python
alembic/versions/8d599d025605_remove.py
rxrw/file-reader
43e7047b5b4db25dff7d391241583ba6b7849061
[ "MIT" ]
2
2020-12-02T23:17:52.000Z
2020-12-04T18:20:27.000Z
alembic/versions/8d599d025605_remove.py
rxrw/file-reader
43e7047b5b4db25dff7d391241583ba6b7849061
[ "MIT" ]
1
2021-02-03T03:11:57.000Z
2021-02-03T03:11:57.000Z
alembic/versions/8d599d025605_remove.py
rxrw/file-reader
43e7047b5b4db25dff7d391241583ba6b7849061
[ "MIT" ]
null
null
null
"""remove Revision ID: 8d599d025605 Revises: 8effd1c19c35 Create Date: 2020-11-30 15:53:56.451886 """ from alembic import op import sqlalchemy as sa from sqlalchemy.dialects import mysql # revision identifiers, used by Alembic. revision = '8d599d025605' down_revision = '8effd1c19c35' branch_labels = None depends_on...
53.264286
76
0.701556
2146a8fbf3a884aceec2b25ecae1e6d554c69d22
1,569
py
Python
day02/App/views.py
wenpanzhaopython/MyGit
ca49a1ecc46ee858d32be0121ace11169910b0f1
[ "Apache-2.0" ]
null
null
null
day02/App/views.py
wenpanzhaopython/MyGit
ca49a1ecc46ee858d32be0121ace11169910b0f1
[ "Apache-2.0" ]
null
null
null
day02/App/views.py
wenpanzhaopython/MyGit
ca49a1ecc46ee858d32be0121ace11169910b0f1
[ "Apache-2.0" ]
null
null
null
from django.http import HttpResponse from django.shortcuts import render from App.models import Categary, Item, Students
21.493151
65
0.687062
21478a5a0f87a81a930087f6511cec8be95258ab
21,338
py
Python
config/settings/base.py
BanatIT/oxigen
40d50d06de0ea4f3a73507ce96c9aa62b74c3608
[ "MIT" ]
1
2022-02-27T19:32:07.000Z
2022-02-27T19:32:07.000Z
config/settings/base.py
BanatIT/oxigen
40d50d06de0ea4f3a73507ce96c9aa62b74c3608
[ "MIT" ]
2
2020-11-29T12:31:06.000Z
2022-02-28T17:46:40.000Z
config/settings/base.py
BanatIT/oxigen
40d50d06de0ea4f3a73507ce96c9aa62b74c3608
[ "MIT" ]
1
2020-11-26T20:07:07.000Z
2020-11-26T20:07:07.000Z
""" Base settings to build other settings files upon. """ from pathlib import Path import environ ROOT_DIR = Path(__file__).resolve(strict=True).parent.parent.parent # oxigen_api/ APPS_DIR = ROOT_DIR / "oxigen_api" env = environ.Env() READ_DOT_ENV_FILE = env.bool("DJANGO_READ_DOT_ENV_FILE", default=False) if READ_D...
38.585895
122
0.608867
21499887ec6c101484d715302b11c0a7a70a27c6
44,526
py
Python
sql/migrations/0001_initial.py
bopopescu/ArcherySql
bfa15d5f8e6ca510e25ae43d32ef5e97a4d3db74
[ "Apache-2.0" ]
null
null
null
sql/migrations/0001_initial.py
bopopescu/ArcherySql
bfa15d5f8e6ca510e25ae43d32ef5e97a4d3db74
[ "Apache-2.0" ]
2
2020-06-06T00:13:26.000Z
2021-06-10T22:10:19.000Z
sql/migrations/0001_initial.py
bopopescu/ArcherySql
bfa15d5f8e6ca510e25ae43d32ef5e97a4d3db74
[ "Apache-2.0" ]
2
2020-07-20T01:13:17.000Z
2020-09-28T08:15:22.000Z
# Generated by Django 2.0.13 on 2019-08-05 21:50 from django.conf import settings import django.contrib.auth.models import django.contrib.auth.validators from django.db import migrations, models import django.db.models.deletion import django.utils.timezone
66.357675
1,323
0.598572
2149d6420c3893223a5218dbf2a34414ddcf1d07
10,212
py
Python
opengwas/io_hdf5.py
chengsoonong/opengwas
2128ba2fd49c62e88130e3b073e804c423bd700f
[ "BSD-2-Clause" ]
5
2015-04-13T01:59:43.000Z
2018-07-04T06:22:27.000Z
opengwas/io_hdf5.py
chengsoonong/opengwas
2128ba2fd49c62e88130e3b073e804c423bd700f
[ "BSD-2-Clause" ]
null
null
null
opengwas/io_hdf5.py
chengsoonong/opengwas
2128ba2fd49c62e88130e3b073e804c423bd700f
[ "BSD-2-Clause" ]
1
2016-11-23T00:45:23.000Z
2016-11-23T00:45:23.000Z
"""Interface with HDF5 file containing PLINK data. The convention used in the container Each probe is a row in the genotype array. Each individual is a column in the genotype array. import tables raw_data = tables.openFile('test.h5', 'r') raw_data.root.probes[1:10]['ID'] raw_data.root.individuals[3:6] raw_data.root.g...
36.733813
98
0.63396
214a07d8cc0215d98c308b5d7c5428fd93ac98c9
355
py
Python
cvat_reader/video_reader/dummy_reader.py
eyedl/cvat_reader
9f4837d82b3bb7946f6fb03b3c8fb0991a6d929f
[ "BSD-3-Clause" ]
null
null
null
cvat_reader/video_reader/dummy_reader.py
eyedl/cvat_reader
9f4837d82b3bb7946f6fb03b3c8fb0991a6d929f
[ "BSD-3-Clause" ]
5
2021-12-03T12:56:38.000Z
2022-01-18T20:35:01.000Z
cvat_reader/video_reader/dummy_reader.py
eyedl/cvat_reader
9f4837d82b3bb7946f6fb03b3c8fb0991a6d929f
[ "BSD-3-Clause" ]
2
2022-02-09T08:53:35.000Z
2022-03-16T10:21:14.000Z
from typing import Tuple, Any from .base import VideoReader
20.882353
44
0.647887
214ac35945cc9f1e0cb8c7e8a00c985e721c4342
837
py
Python
lv_examples/src/lv_ex_widgets/lv_ex_gauge/lv_ex_gauge_2_png.py
Yinyifeng18/lv_sim_qt
4609c359fe7019e4d3b3a743b4b64fa03bb7a437
[ "MIT" ]
77
2022-01-12T01:25:12.000Z
2022-03-29T11:52:38.000Z
lv_examples/src/lv_ex_widgets/lv_ex_gauge/lv_ex_gauge_2_png.py
Yinyifeng18/lv_sim_qt
4609c359fe7019e4d3b3a743b4b64fa03bb7a437
[ "MIT" ]
1
2022-01-13T03:21:42.000Z
2022-01-13T06:58:46.000Z
lv_examples/src/lv_ex_widgets/lv_ex_gauge/lv_ex_gauge_2_png.py
Yinyifeng18/lv_sim_qt
4609c359fe7019e4d3b3a743b4b64fa03bb7a437
[ "MIT" ]
9
2022-01-12T13:28:45.000Z
2022-02-17T11:44:35.000Z
from lv_colors import lv_colors from imagetools import get_png_info, open_png # Register PNG image decoder decoder = lv.img.decoder_create() decoder.info_cb = get_png_info decoder.open_cb = open_png # Create an image with open('img_hand.png','rb') as f: png_data = f.read() img_hand_dsc = lv.img_dsc_t({ 'data_...
24.617647
94
0.769415
214cd801428e590c762681af80688789b13c9823
23,108
py
Python
VoiExtractionManager.py
shinaji/texture_analysis
1beb4c887d20eb011f0e8b5c98c223fa33d22a9c
[ "MIT" ]
24
2017-11-22T01:26:53.000Z
2022-01-04T04:14:30.000Z
VoiExtractionManager.py
shinaji/texture_analysis
1beb4c887d20eb011f0e8b5c98c223fa33d22a9c
[ "MIT" ]
null
null
null
VoiExtractionManager.py
shinaji/texture_analysis
1beb4c887d20eb011f0e8b5c98c223fa33d22a9c
[ "MIT" ]
11
2018-01-07T00:10:19.000Z
2021-05-06T01:04:43.000Z
#-*- coding:utf-8 -*- """ VoiExtractionManager Copyright (c) 2016 Tetsuya Shinaji This software is released under the MIT License. http://opensource.org/licenses/mit-license.phps Date: 2016/02/10 """ import pydicom as dicom try: from pydicom.contrib import pydicom_serie...
43.273408
99
0.548858
214e52ac6288035be9504b22746e2464fc085760
416
py
Python
config.py
EliCrystal2001/nds-string-editor
a166f2f69ac99b82968f47fffbd696e608ecd414
[ "MIT" ]
null
null
null
config.py
EliCrystal2001/nds-string-editor
a166f2f69ac99b82968f47fffbd696e608ecd414
[ "MIT" ]
null
null
null
config.py
EliCrystal2001/nds-string-editor
a166f2f69ac99b82968f47fffbd696e608ecd414
[ "MIT" ]
null
null
null
#!/bin/python3 # Required: ROM_NAME = "DSCDP_CRUJN6_00" IGNORE_MD5 = False # Custom Rules Begin Here # This example one just excludes control characters (except 0x0A) # Required: this method must exist, and return true / false on if a byte array # is to be considred valid characters
18.909091
78
0.711538
214e58f9acc686b9612aa19291f9f026256d168a
3,660
py
Python
application/model/mailhandler.py
haiyoumeiyou/cherrybrigde
f00a0592240b60cc42b895ad194b0273485956d0
[ "BSD-3-Clause" ]
null
null
null
application/model/mailhandler.py
haiyoumeiyou/cherrybrigde
f00a0592240b60cc42b895ad194b0273485956d0
[ "BSD-3-Clause" ]
null
null
null
application/model/mailhandler.py
haiyoumeiyou/cherrybrigde
f00a0592240b60cc42b895ad194b0273485956d0
[ "BSD-3-Clause" ]
null
null
null
import email, smtplib, ssl from email import encoders from email.mime.base import MIMEBase from email.mime.multipart import MIMEMultipart from email.mime.text import MIMEText from typing import Dict, List
40.21978
98
0.624044
214f14a5207071c70160fd6f3b0be764212c9e14
422
py
Python
koi/config/vae_mnist_config.py
BouncyButton/koi
309c4c6485d61ad097fc9392c765cd186b7cb483
[ "MIT" ]
null
null
null
koi/config/vae_mnist_config.py
BouncyButton/koi
309c4c6485d61ad097fc9392c765cd186b7cb483
[ "MIT" ]
null
null
null
koi/config/vae_mnist_config.py
BouncyButton/koi
309c4c6485d61ad097fc9392c765cd186b7cb483
[ "MIT" ]
null
null
null
from koi.config.vae_config import VAEConfig
30.142857
71
0.630332
214f1cdd4cb9bcfb4a7c08c88edef89e68f62e01
2,464
py
Python
disco/layers.py
Hekstra-Lab/disco
771f2ddb7214f231afae685d1a04161495795f70
[ "MIT" ]
null
null
null
disco/layers.py
Hekstra-Lab/disco
771f2ddb7214f231afae685d1a04161495795f70
[ "MIT" ]
null
null
null
disco/layers.py
Hekstra-Lab/disco
771f2ddb7214f231afae685d1a04161495795f70
[ "MIT" ]
null
null
null
import numpy as np import reciprocalspaceship as rs import tensorflow as tf from tensorflow import keras as tfk from IPython import embed
31.189873
103
0.618506
21502ce2af890eea0b19adfd58d4172a57935762
2,157
py
Python
keras/models/topcoder_crnn_finetune.py
Abhay242/language-identification-
4b05f6cba588bc4862a3034911407f5f503db0d0
[ "MIT" ]
3
2019-08-20T08:02:21.000Z
2020-10-17T17:45:13.000Z
keras/models/topcoder_crnn_finetune.py
Abhay242/language-identification-
4b05f6cba588bc4862a3034911407f5f503db0d0
[ "MIT" ]
13
2020-01-28T22:32:17.000Z
2022-02-10T00:01:56.000Z
keras/models/topcoder_crnn_finetune.py
Abhay242/language-identification-
4b05f6cba588bc4862a3034911407f5f503db0d0
[ "MIT" ]
null
null
null
from keras.layers.core import Dense, Permute, Reshape from keras.layers.convolutional import Convolution2D from keras.layers.normalization import BatchNormalization from keras.layers.pooling import MaxPooling2D from keras.layers.wrappers import Bidirectional from keras.layers.recurrent import LSTM from keras.models imp...
37.189655
114
0.701901
215098d699d54adea5d7cb74f7c705781808e543
372
py
Python
examples/vandermonde.py
certik/sympy-oldcore
eb5bd061c309d88cdfb502bfd5df511b30368458
[ "BSD-3-Clause" ]
1
2016-05-08T17:54:57.000Z
2016-05-08T17:54:57.000Z
examples/vandermonde.py
certik/sympy-oldcore
eb5bd061c309d88cdfb502bfd5df511b30368458
[ "BSD-3-Clause" ]
null
null
null
examples/vandermonde.py
certik/sympy-oldcore
eb5bd061c309d88cdfb502bfd5df511b30368458
[ "BSD-3-Clause" ]
null
null
null
import sys sys.path.append("..") from sympy import sqrt, symbols, eye w, x, y, z = symbols("wxyz") L = [x,y,z] V = eye(len(L)) for i in range(len(L)): for j in range(len(L)): V[i,j] = L[i]**j det = 1 for i in range(len(L)): det *= L[i]-L[i-1] print "matrix" print V print "det:" print V.det().expand() ...
16.909091
36
0.594086
215270aa6d52000e2c885ac3642c2a4eaa77fe73
7,679
py
Python
scripts/buildkite/tasks/__main__.py
malanchak/AuTuMN
0cbd006d1f15da414d02eed44e48bb5c06f0802e
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
scripts/buildkite/tasks/__main__.py
malanchak/AuTuMN
0cbd006d1f15da414d02eed44e48bb5c06f0802e
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
scripts/buildkite/tasks/__main__.py
malanchak/AuTuMN
0cbd006d1f15da414d02eed44e48bb5c06f0802e
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
import os import sys import logging import subprocess as sp import click from . import buildkite logger = logging.getLogger(__name__) BURN_IN_DEFAULT = 50 # Iterations def run_aws_script(cmd: str, args: dict) -> str: """ Run the AWS CLI script, streams stdout to the user and returns stdout as a strin...
32.816239
102
0.594869
2153553196359339fb29feea81a827dad6d4e3e8
3,385
py
Python
profile_xf23id2bs/startup/10-machine.py
NSLS-II-CSX/xf23id2_profiles
7bfd3aa5c617e4b145b40933608eafe551f215a4
[ "BSD-3-Clause" ]
null
null
null
profile_xf23id2bs/startup/10-machine.py
NSLS-II-CSX/xf23id2_profiles
7bfd3aa5c617e4b145b40933608eafe551f215a4
[ "BSD-3-Clause" ]
2
2017-02-22T18:27:25.000Z
2018-06-18T21:40:58.000Z
profile_xf23id2bs/startup/10-machine.py
NSLS-II-CSX/xf23id2_profiles
7bfd3aa5c617e4b145b40933608eafe551f215a4
[ "BSD-3-Clause" ]
3
2017-02-22T18:19:59.000Z
2018-08-31T16:20:17.000Z
from ophyd import EpicsMotor, PVPositioner, PVPositionerPC, EpicsSignal, EpicsSignalRO, Device from ophyd import Component as Cpt, FormattedComponent as FmCpt # Undulator epu1 = EPU1('XF:23ID-ID{EPU:1', name='epu1') epu2 = EPU2('XF:23ID-ID{EPU:2', name='epu2') # Front End Slits (Primary Slits) # fe_xc = PVPosit...
36.397849
94
0.58257
21538763f9c252fe1d0c8fe8b65b09f0a22a7791
7,407
py
Python
config/settings.py
uktrade/dnb-service
c8f22af82af70f33b8d6bf92e3ca6992fce1f220
[ "MIT" ]
4
2019-12-03T14:59:50.000Z
2020-04-28T12:42:24.000Z
config/settings.py
uktrade/dnb-service
c8f22af82af70f33b8d6bf92e3ca6992fce1f220
[ "MIT" ]
17
2019-04-11T13:12:57.000Z
2022-01-13T10:08:07.000Z
config/settings.py
uktrade/dnb-service
c8f22af82af70f33b8d6bf92e3ca6992fce1f220
[ "MIT" ]
3
2021-05-11T16:13:57.000Z
2022-03-08T15:57:19.000Z
import os import dj_database_url import environ import sentry_sdk from celery.schedules import crontab from sentry_sdk.integrations.celery import CeleryIntegration from sentry_sdk.integrations.django import DjangoIntegration # Build paths inside the project like this: os.path.join(BASE_DIR, ...) BASE_DIR = os.path.d...
27.63806
93
0.73444
2153d6042cba3c4149e3f44eef228662efa9145e
4,688
py
Python
test/test_ffs.py
ebezzam/pyFFS
29eac7a3305dcefe40b4cdc03f730fc9bd868eab
[ "BSD-3-Clause" ]
9
2019-06-14T05:22:15.000Z
2021-12-13T22:11:20.000Z
test/test_ffs.py
ebezzam/pyFFS
29eac7a3305dcefe40b4cdc03f730fc9bd868eab
[ "BSD-3-Clause" ]
7
2020-10-22T11:25:25.000Z
2020-11-07T10:54:26.000Z
test/test_ffs.py
ebezzam/pyFFS
29eac7a3305dcefe40b4cdc03f730fc9bd868eab
[ "BSD-3-Clause" ]
1
2020-10-09T10:05:45.000Z
2020-10-09T10:05:45.000Z
# ############################################################################# # test_ffs.py # =========== # Author : # Sepand KASHANI [kashani.sepand@gmail.com] # Eric BEZZAM [ebezzam@gmail.com] # ############################################################################# import math from pyffs import ( ffs, ...
33.726619
96
0.544795
2153e9953162fe6fb3af358f1ecb6a76766a9983
237
py
Python
dnnsvg/__init__.py
yuishihara/dnnsvg
3bbc6ef6f8630498c7b791bb07efff6e1cd11a50
[ "MIT" ]
3
2019-10-30T01:05:13.000Z
2021-01-25T20:54:19.000Z
dnnsvg/__init__.py
yuishihara/dnnsvg
3bbc6ef6f8630498c7b791bb07efff6e1cd11a50
[ "MIT" ]
null
null
null
dnnsvg/__init__.py
yuishihara/dnnsvg
3bbc6ef6f8630498c7b791bb07efff6e1cd11a50
[ "MIT" ]
1
2019-10-30T01:09:51.000Z
2019-10-30T01:09:51.000Z
from dnnsvg import layers from dnnsvg.svg_builder import SVGBuilder from dnnsvg.svgeables.variables.tensor_2d import Tensor2D from dnnsvg.svgeables.variables.tensor_3d import Tensor3D from dnnsvg.svgeables.captions.caption import Caption
47.4
57
0.877637
2154b26da699e433e31a94748940bfef5493cd1a
13,362
py
Python
instaread/instapaper/instapaper.py
anhdat/instaread
c554c58ae32119d3d80c8db1a163a1712c3f4f90
[ "MIT" ]
null
null
null
instaread/instapaper/instapaper.py
anhdat/instaread
c554c58ae32119d3d80c8db1a163a1712c3f4f90
[ "MIT" ]
null
null
null
instaread/instapaper/instapaper.py
anhdat/instaread
c554c58ae32119d3d80c8db1a163a1712c3f4f90
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # --------------------------------------------------------------------------------------------- # Copyright (c) 2013-2016, Ryan Galloway (ryan@rsgalloway.com) # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that ...
32.275362
95
0.570648
2154ec2471f6fa3ff03b5c747051552bb06f618f
449
py
Python
accounts/admin.py
simpledatatools/django-starter-api
6c11b9a236230e47b8358ef9fbaae550002bb1a8
[ "MIT" ]
1
2022-02-25T18:39:44.000Z
2022-02-25T18:39:44.000Z
accounts/admin.py
prateekmohanty63/microfinance
39839c0d378be4ccc40a9dde5dc38a10773a38a1
[ "MIT" ]
null
null
null
accounts/admin.py
prateekmohanty63/microfinance
39839c0d378be4ccc40a9dde5dc38a10773a38a1
[ "MIT" ]
1
2022-02-24T13:17:20.000Z
2022-02-24T13:17:20.000Z
from django.contrib import admin from .models import CustomUser from django.contrib.auth.admin import UserAdmin admin.site.register(CustomUser, CustomUserAdmin)
24.944444
81
0.706013
2156ad8ef70c868eff5a4e0ce1a0b2d9c87bd37f
5,586
py
Python
scraping/bigkinds_db_schedule.py
jaywoong/project_stock
158b7ce209908b6dbe0f411a4d35b7690245a3ee
[ "Apache-2.0" ]
2
2021-09-13T13:39:19.000Z
2021-09-17T01:35:59.000Z
scraping/bigkinds_db_schedule.py
jaywoong/project_stock
158b7ce209908b6dbe0f411a4d35b7690245a3ee
[ "Apache-2.0" ]
null
null
null
scraping/bigkinds_db_schedule.py
jaywoong/project_stock
158b7ce209908b6dbe0f411a4d35b7690245a3ee
[ "Apache-2.0" ]
1
2021-08-31T02:48:28.000Z
2021-08-31T02:48:28.000Z
import sqlite3 import schedule from selenium import webdriver from selenium.webdriver.chrome.options import Options #import chromedriver_autoinstaller from bs4 import BeautifulSoup import pandas as pd import time if __name__ == "__main__": conn = sqlite3.connect('bigkinds.db') c = conn.cursor() # schedu...
41.686567
129
0.557286
2157539dbdb8df956fc7c21309e4abc0c35771d6
3,157
py
Python
src/main.py
f0lg0/geneticAlgorithm-1
f9c0ee67a450db7915e81bc5cb492d7c49a1ae05
[ "MIT" ]
17
2020-02-03T20:46:46.000Z
2020-06-28T05:51:39.000Z
src/main.py
f0lg0/geneticAlgorithm-PY
f9c0ee67a450db7915e81bc5cb492d7c49a1ae05
[ "MIT" ]
5
2020-02-04T20:28:57.000Z
2020-05-02T08:17:19.000Z
src/main.py
f0lg0/geneticAlgorithm-1
f9c0ee67a450db7915e81bc5cb492d7c49a1ae05
[ "MIT" ]
4
2020-02-04T20:09:57.000Z
2020-06-28T05:51:40.000Z
import random import time from displayBanner import displayBanner, choice TARGET = "genetic algorithm" INDIVIDUAL_SIZE = len(TARGET) POPULATION_SIZE = 100 MUTATION_RATE = 0.1 TOURNAMENT_SELECTION_SIZE = 40 KEYS = 'abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ' # ============================================= ...
26.090909
99
0.681026
215757ab7cfa429f1c411f24ad14cf50ab7992a4
1,517
py
Python
setup.py
Cyb3r-Jak3/ExifReader
483df30b73ee6be81be5afb27e6cffc7fe12a27c
[ "BSD-3-Clause" ]
1
2020-07-12T20:45:29.000Z
2020-07-12T20:45:29.000Z
setup.py
Cyb3r-Jak3/ExifReader
483df30b73ee6be81be5afb27e6cffc7fe12a27c
[ "BSD-3-Clause" ]
null
null
null
setup.py
Cyb3r-Jak3/ExifReader
483df30b73ee6be81be5afb27e6cffc7fe12a27c
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- from setuptools import setup, find_packages from exifreader import __version__, __doc__ readme_file = open("README.md", "rt").read() setup( name="ExifReader", version=__version__, author="Cyb3r Jak3", author_email="jake@jwhite.network", license="BSD", python_requires="...
33.711111
81
0.626895
21576cb938009e2cf19a938a7d1507717937f740
696
py
Python
BreadTools/gui/window.py
TurtleP/BreadTools
d849768f3a3455a0ddb40f4212003022afdcea49
[ "MIT" ]
null
null
null
BreadTools/gui/window.py
TurtleP/BreadTools
d849768f3a3455a0ddb40f4212003022afdcea49
[ "MIT" ]
null
null
null
BreadTools/gui/window.py
TurtleP/BreadTools
d849768f3a3455a0ddb40f4212003022afdcea49
[ "MIT" ]
null
null
null
from PyQt5.QtGui import QColor, QIcon from PyQt5.QtWidgets import QMainWindow from ..storage import Storage from .panel import SideBar from .colors import get_color
20.470588
74
0.66092
2158eb73536fe9b11e0d8fd0dd4f2a37c52f7ad1
458
py
Python
services/divnik/src/api/migrations/0005_auto_20200503_0933.py
pomo-mondreganto/innoctf-final-10-05-2020
8d31bb43b543c6948b1e09d9816728a10125c4be
[ "WTFPL" ]
1
2021-01-04T23:52:34.000Z
2021-01-04T23:52:34.000Z
services/divnik/src/api/migrations/0005_auto_20200503_0933.py
pomo-mondreganto/innoctf-final-10-05-2020
8d31bb43b543c6948b1e09d9816728a10125c4be
[ "WTFPL" ]
null
null
null
services/divnik/src/api/migrations/0005_auto_20200503_0933.py
pomo-mondreganto/innoctf-final-10-05-2020
8d31bb43b543c6948b1e09d9816728a10125c4be
[ "WTFPL" ]
2
2020-10-22T12:27:25.000Z
2020-10-22T12:27:28.000Z
# Generated by Django 3.0.3 on 2020-05-03 09:33 from django.db import migrations
21.809524
47
0.543668
215a383798053684214a8aef3bf4c5b4656e227c
9,458
py
Python
Book_1/Alien invasion/main.py
Master-sniffer/Learning
fb192ba3972f9238ebee98a8a539087772ad83b2
[ "MIT" ]
1
2020-07-15T22:44:43.000Z
2020-07-15T22:44:43.000Z
Book_1/Alien invasion/main.py
Master-sniffer/Learning
fb192ba3972f9238ebee98a8a539087772ad83b2
[ "MIT" ]
3
2021-06-04T23:51:09.000Z
2021-06-10T20:07:33.000Z
Book_1/Alien invasion/main.py
Master-sniffer/Learning-PYTHON-
526f31fb189e6422693c32d38618831b22706f87
[ "MIT" ]
null
null
null
#import this # delete the first hashtag to see the truth import pygame, sys, json from time import sleep #my folders from settings import Settings from ship import Ship from bullet import Bullet from game_stats import GameStats from alien import Alien from button import Button from scoreboard import Scoreboard #from ch...
40.767241
155
0.645908
215b795f7d3f42889803e45d66f7f3ec772868ce
21,319
py
Python
src/optimModels/comm_optim/ea_setup.py
sousamd/optimModels
b11d26eb72f19da0b97abbd4fb6513de06a348ef
[ "Apache-2.0" ]
null
null
null
src/optimModels/comm_optim/ea_setup.py
sousamd/optimModels
b11d26eb72f19da0b97abbd4fb6513de06a348ef
[ "Apache-2.0" ]
null
null
null
src/optimModels/comm_optim/ea_setup.py
sousamd/optimModels
b11d26eb72f19da0b97abbd4fb6513de06a348ef
[ "Apache-2.0" ]
null
null
null
from copy import deepcopy from random import randint, uniform, choice config = EAConfig() def change_config( pop_size = None, max_gen = None, cand = None, rep = None, max_val = None, mut = None, cross = None ): """ used to change the values o...
34.441034
111
0.630517
215c1b73c79d715648cf7f009f7c23a8bfe11e9d
3,374
bzl
Python
repositories.bzl
prehistoric-penguin/prometheus-cpp
2eba2847b13b1144ff7331cc7e1a7343ceb27a0f
[ "MIT" ]
1
2020-03-20T08:51:18.000Z
2020-03-20T08:51:18.000Z
repositories.bzl
prehistoric-penguin/prometheus-cpp
2eba2847b13b1144ff7331cc7e1a7343ceb27a0f
[ "MIT" ]
null
null
null
repositories.bzl
prehistoric-penguin/prometheus-cpp
2eba2847b13b1144ff7331cc7e1a7343ceb27a0f
[ "MIT" ]
null
null
null
_PROMETHEUS_CLIENT_MODEL_BUILD_FILE = """ licenses(["notice"]) # BSD license load("@com_google_protobuf//:protobuf.bzl", "cc_proto_library") cc_proto_library( name = "prometheus_client_model", srcs = ["metrics.proto"], default_runtime = "@com_google_protobuf//:protobuf", protoc = "@com_google_protobu...
25.179104
84
0.593361
215f062e64a317cf63a45c48fe295e5daa72421e
9,867
py
Python
isaacgymenvs/tasks/amp/utils_amp/gym_util.py
ZaneZh/IsaacGymEnvs
adc20a5fbd70d77a716fefe86eb947f83d3efbd2
[ "BSD-3-Clause" ]
1
2022-03-26T12:55:04.000Z
2022-03-26T12:55:04.000Z
isaacgymenvs/tasks/amp/utils_amp/gym_util.py
ZaneZh/IsaacGymEnvs
adc20a5fbd70d77a716fefe86eb947f83d3efbd2
[ "BSD-3-Clause" ]
null
null
null
isaacgymenvs/tasks/amp/utils_amp/gym_util.py
ZaneZh/IsaacGymEnvs
adc20a5fbd70d77a716fefe86eb947f83d3efbd2
[ "BSD-3-Clause" ]
2
2022-03-19T13:45:54.000Z
2022-03-23T07:23:19.000Z
# Copyright (c) 2018-2022, NVIDIA Corporation # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # 1. Redistributions of source code must retain the above copyright notice, this # list of condit...
40.604938
87
0.663424
2161ceb1a3ec23817185ca046a16ca44a96eb732
1,159
py
Python
ncbi-track.py
Ma-Fi-94/ncbi-track
d0ddee20c13fc75108b9343d92fb2981624bf09d
[ "Apache-2.0" ]
null
null
null
ncbi-track.py
Ma-Fi-94/ncbi-track
d0ddee20c13fc75108b9343d92fb2981624bf09d
[ "Apache-2.0" ]
5
2022-01-08T00:27:55.000Z
2022-01-25T15:03:39.000Z
ncbi-track.py
Ma-Fi-94/ncbi-track
d0ddee20c13fc75108b9343d92fb2981624bf09d
[ "Apache-2.0" ]
1
2019-02-20T19:02:24.000Z
2019-02-20T19:02:24.000Z
# User params EMAIL = 'A.N.Other@example.com' DEFAULT_YEAR_MIN = 1970 DEFAULT_YEAR_MAX = 2021 # Basic setup from Bio import Entrez from tqdm import tqdm from typing import Tuple from typing import List Entrez.email = EMAIL def _number_by_year(query: str, year: int) -> int: '''Internal helper functions. Return...
32.194444
130
0.69025
2165e5e0ff6a24cc499198511ada7d2a185cc95e
146
py
Python
vizbert/data/__init__.py
daemon/vizbert
e40b7d1529f8857050313f8d87ff03b1b7226c9e
[ "MIT" ]
null
null
null
vizbert/data/__init__.py
daemon/vizbert
e40b7d1529f8857050313f8d87ff03b1b7226c9e
[ "MIT" ]
null
null
null
vizbert/data/__init__.py
daemon/vizbert
e40b7d1529f8857050313f8d87ff03b1b7226c9e
[ "MIT" ]
null
null
null
from .classification import * from .conll import * from .metric import * from .transform import * from .workspace import * from .pattern import *
20.857143
29
0.753425
2167dbfa987400283e4b93301c42383dc353687a
1,127
py
Python
project/people/views.py
dhmncivichacks/timewebsite
b0e6355ea9249143a217b213df14738eaf067f97
[ "0BSD" ]
5
2016-02-09T20:54:12.000Z
2016-10-03T15:21:35.000Z
project/people/views.py
dhmncivichacks/timewebsite
b0e6355ea9249143a217b213df14738eaf067f97
[ "0BSD" ]
33
2016-02-09T21:18:52.000Z
2017-02-06T21:49:04.000Z
project/people/views.py
dhmncivichacks/timewebsite
b0e6355ea9249143a217b213df14738eaf067f97
[ "0BSD" ]
1
2016-02-09T20:54:19.000Z
2016-02-09T20:54:19.000Z
# imports from flask import request from flask import render_template from flask import Blueprint from flask import redirect from flask import url_for from flask.ext.login import current_user from project import db from project.models import Person from .forms import PersonForm # config people_blueprint = Blueprin...
25.613636
61
0.650399
21686e2c5a6fb53bb4999288166075c2a704a954
7,152
py
Python
food_reference_listing/database/models.py
bfssi-forest-dussault/food_reference_listing
85372a81a9201dda02797ab0c11b1bd710f9b70d
[ "MIT" ]
null
null
null
food_reference_listing/database/models.py
bfssi-forest-dussault/food_reference_listing
85372a81a9201dda02797ab0c11b1bd710f9b70d
[ "MIT" ]
null
null
null
food_reference_listing/database/models.py
bfssi-forest-dussault/food_reference_listing
85372a81a9201dda02797ab0c11b1bd710f9b70d
[ "MIT" ]
null
null
null
from django.db import models from simple_history.models import HistoricalRecords
44.981132
117
0.719938
216944bc1ade0040eed2f392a6b52e0c45059445
3,445
py
Python
advent/days/day18/test_day.py
RuedigerLudwig/advent2021
ce069d485bb34b4752ec4e89f195f7cc8cf084cc
[ "Unlicense" ]
null
null
null
advent/days/day18/test_day.py
RuedigerLudwig/advent2021
ce069d485bb34b4752ec4e89f195f7cc8cf084cc
[ "Unlicense" ]
null
null
null
advent/days/day18/test_day.py
RuedigerLudwig/advent2021
ce069d485bb34b4752ec4e89f195f7cc8cf084cc
[ "Unlicense" ]
null
null
null
from advent.common import utils from .day import part1, part2 from .number import SnailInt, SnailNumber, SnailPair
29.444444
100
0.63135
216a2f5727bd9e3ded4fd549e1965f8a1c6304e1
6,415
py
Python
salt/_states/metalk8s.py
SaintLoong/metalk8s
06fa3a731f35ab0f9ad8d3443fd8f8c4e7037432
[ "Apache-2.0" ]
255
2018-08-03T17:32:53.000Z
2022-03-25T21:51:00.000Z
salt/_states/metalk8s.py
SaintLoong/metalk8s
06fa3a731f35ab0f9ad8d3443fd8f8c4e7037432
[ "Apache-2.0" ]
3,259
2018-08-03T00:25:56.000Z
2022-03-31T15:23:11.000Z
salt/_states/metalk8s.py
SaintLoong/metalk8s
06fa3a731f35ab0f9ad8d3443fd8f8c4e7037432
[ "Apache-2.0" ]
43
2018-08-08T01:47:22.000Z
2022-03-12T17:49:41.000Z
"""Custom states for MetalK8s.""" import logging import time import traceback import re from salt.exceptions import CommandExecutionError from salt.ext import six __virtualname__ = "metalk8s" log = logging.getLogger(__name__) def static_pod_managed( name, source, config_files=None, config_files_opt=None, co...
30.259434
85
0.5788
216b39fe89c4a27a4e4a39eb85d69f2512812ada
2,419
py
Python
programs/models/LinearRegression.py
hayato-n/AsakuraBook
60c794961cb5d23ba257e33d350ae719ee72dd21
[ "MIT" ]
null
null
null
programs/models/LinearRegression.py
hayato-n/AsakuraBook
60c794961cb5d23ba257e33d350ae719ee72dd21
[ "MIT" ]
null
null
null
programs/models/LinearRegression.py
hayato-n/AsakuraBook
60c794961cb5d23ba257e33d350ae719ee72dd21
[ "MIT" ]
null
null
null
import numpy as np # from scipy import stats, optimize
32.689189
76
0.583299
216bc585900177bb2561f98523e8970a569462b1
1,745
py
Python
meerkat_analysis/test/test_univariate.py
fjelltopp/meerkat_analysis
ad68b02636ee5543e4aa78ac7f46126d040d67ed
[ "MIT" ]
null
null
null
meerkat_analysis/test/test_univariate.py
fjelltopp/meerkat_analysis
ad68b02636ee5543e4aa78ac7f46126d040d67ed
[ "MIT" ]
null
null
null
meerkat_analysis/test/test_univariate.py
fjelltopp/meerkat_analysis
ad68b02636ee5543e4aa78ac7f46126d040d67ed
[ "MIT" ]
null
null
null
import unittest import pandas as pd from statsmodels.stats import proportion from meerkat_analysis import univariate, util
42.560976
100
0.689398
dcbeed138887023ae7c0c9b4965a14a732578a69
214
py
Python
_src/Section2/smoothing.py
paullewallencom/opencv-978-1-7893-4536-0
4a6686f44d8ed82280c94df04813cec5cbd30447
[ "Apache-2.0" ]
8
2019-06-11T16:27:36.000Z
2021-11-11T14:42:19.000Z
_src/Section2/smoothing.py
paullewallencom/opencv-978-1-7893-4536-0
4a6686f44d8ed82280c94df04813cec5cbd30447
[ "Apache-2.0" ]
null
null
null
_src/Section2/smoothing.py
paullewallencom/opencv-978-1-7893-4536-0
4a6686f44d8ed82280c94df04813cec5cbd30447
[ "Apache-2.0" ]
4
2019-04-28T14:13:59.000Z
2021-04-22T22:21:11.000Z
import cv2 image = cv2.imread("noisy.png") cv2.imshow("Original", image) smooth = cv2.GaussianBlur(image, (11,11), 1) #cv2.GaussianBlur(input, kernel size, sigma) cv2.imshow("De-noised", smooth) cv2.waitKey(0)
21.4
89
0.714953
dcbf8a28a968f1aa52484037af2beaa2516eb51e
250
py
Python
production/tests/conftest.py
sainide/Customer-Churn-Prediction
f7fd5bf1d21f2b7dad50fb1a6c51d77ef449e879
[ "BSD-3-Clause" ]
null
null
null
production/tests/conftest.py
sainide/Customer-Churn-Prediction
f7fd5bf1d21f2b7dad50fb1a6c51d77ef449e879
[ "BSD-3-Clause" ]
null
null
null
production/tests/conftest.py
sainide/Customer-Churn-Prediction
f7fd5bf1d21f2b7dad50fb1a6c51d77ef449e879
[ "BSD-3-Clause" ]
null
null
null
import pytest from classification_model.config.core import config from classification_model.processing.data_manager import load_dataset
25
69
0.848
dcc0d328db6ea81b64e1fd1fd7af946fd70cf4d5
15,165
py
Python
src/solutions/common/integrations/cirklo/cirklo.py
goubertbrent/oca-backend
b9f59cc02568aecb55d4b54aec05245790ea25fd
[ "Apache-2.0" ]
null
null
null
src/solutions/common/integrations/cirklo/cirklo.py
goubertbrent/oca-backend
b9f59cc02568aecb55d4b54aec05245790ea25fd
[ "Apache-2.0" ]
null
null
null
src/solutions/common/integrations/cirklo/cirklo.py
goubertbrent/oca-backend
b9f59cc02568aecb55d4b54aec05245790ea25fd
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Copyright 2020 Green Valley Belgium NV # # 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 appl...
43.82948
118
0.696406
dcc368841481c483c9cecbe85cd5e6472b5ab80c
1,907
py
Python
hillSketch/code/data/bulk.py
ViskaWei/hill-sketch
cc3ebf19ec83e67e4178004107f3b1dcc9a5379b
[ "MIT" ]
3
2020-12-02T04:00:48.000Z
2020-12-04T06:42:06.000Z
hillSketch/code/data/bulk.py
ViskaWei/hill-sketch
cc3ebf19ec83e67e4178004107f3b1dcc9a5379b
[ "MIT" ]
null
null
null
hillSketch/code/data/bulk.py
ViskaWei/hill-sketch
cc3ebf19ec83e67e4178004107f3b1dcc9a5379b
[ "MIT" ]
null
null
null
# from sklearn.decomposition import PCA import numpy as np import pandas as pd import matplotlib.pyplot as plt from sklearn.decomposition import PCA ######################## PCA ########################### ######################## NORM ########################### # def get_rebin(dfNorm, base): # dfRebin=(dfNorm*...
32.322034
75
0.588883
dcc424db20a8d7965b1e60f57bf13d6c0c24b2c1
308
py
Python
GrAm/forms.py
claudianjeri/Instagram
93b16495c0ec62eb4ab0327d18e3155b82f1b4bd
[ "MIT" ]
3
2018-06-14T12:07:49.000Z
2020-06-16T02:44:14.000Z
GrAm/forms.py
claudianjeri/Instagram
93b16495c0ec62eb4ab0327d18e3155b82f1b4bd
[ "MIT" ]
null
null
null
GrAm/forms.py
claudianjeri/Instagram
93b16495c0ec62eb4ab0327d18e3155b82f1b4bd
[ "MIT" ]
null
null
null
from .models import Image, Profile, Comment from django import forms
28
58
0.662338
dcc530d338845900a1da1ea13b2ce974b70aa2fe
7,535
py
Python
example/mnist/train_mnist_keras.py
leonskim/webdnn
f97c798c9a659fe953f9dc8c8537b8917e4be7a2
[ "MIT" ]
1
2021-04-09T15:55:35.000Z
2021-04-09T15:55:35.000Z
example/mnist/train_mnist_keras.py
leonskim/webdnn
f97c798c9a659fe953f9dc8c8537b8917e4be7a2
[ "MIT" ]
null
null
null
example/mnist/train_mnist_keras.py
leonskim/webdnn
f97c798c9a659fe953f9dc8c8537b8917e4be7a2
[ "MIT" ]
null
null
null
""" This example is based on keras's mnist_mlp.py and mnist_cnn.py Trains a simple deep NN on the MNIST dataset. """ import argparse import json import os import keras from webdnn.backend import generate_descriptor, backend_names from webdnn.frontend.keras import KerasConverter batch_size = 128 num_classes = 10 ep...
36.756098
136
0.667153
dcc64800430131d283de4b85bb796a7a3b2b1f39
1,793
py
Python
vega/metrics/tensorflow/classifier_metric.py
zjzh/vega
aa6e7b8c69024262fc483ee06113b4d1bd5156d8
[ "Apache-2.0" ]
null
null
null
vega/metrics/tensorflow/classifier_metric.py
zjzh/vega
aa6e7b8c69024262fc483ee06113b4d1bd5156d8
[ "Apache-2.0" ]
null
null
null
vega/metrics/tensorflow/classifier_metric.py
zjzh/vega
aa6e7b8c69024262fc483ee06113b4d1bd5156d8
[ "Apache-2.0" ]
null
null
null
# -*- coding:utf-8 -*- # Copyright (C) 2020. Huawei Technologies 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/LICENSE...
36.591837
80
0.668154
dcc6929ebc43874a263f2fdc7e4382a4c2c8e1f4
11,290
py
Python
python/pmercury/protocols/tls_certificate.py
raj-apoorv/mercury
9b372e9ba8e7e0bcb87787038e7d058f8f769b44
[ "BSD-2-Clause" ]
299
2019-09-11T18:48:17.000Z
2022-03-28T11:12:03.000Z
python/pmercury/protocols/tls_certificate.py
raj-apoorv/mercury
9b372e9ba8e7e0bcb87787038e7d058f8f769b44
[ "BSD-2-Clause" ]
21
2019-09-30T17:59:33.000Z
2022-03-24T19:15:41.000Z
python/pmercury/protocols/tls_certificate.py
raj-apoorv/mercury
9b372e9ba8e7e0bcb87787038e7d058f8f769b44
[ "BSD-2-Clause" ]
58
2019-09-30T17:59:45.000Z
2022-03-27T13:40:47.000Z
""" Copyright (c) 2019 Cisco Systems, Inc. All rights reserved. License at https://github.com/cisco/mercury/blob/master/LICENSE """ import os import sys import base64 # TLS helper classes sys.path.append(os.path.dirname(os.path.abspath(__file__))) sys.path.append(os.path.dirname(os.path.abspath(__file__))+'/../') f...
28.87468
107
0.533924
dcc6c7dc55590c974bdea386d0db32e6d88e9c06
3,182
py
Python
plugins/aea-cli-benchmark/aea_cli_benchmark/case_agent_construction_time/case.py
valory-xyz/agents-aea
8f38efa96041b0156ed1ae328178e395dbabf2fc
[ "Apache-2.0" ]
null
null
null
plugins/aea-cli-benchmark/aea_cli_benchmark/case_agent_construction_time/case.py
valory-xyz/agents-aea
8f38efa96041b0156ed1ae328178e395dbabf2fc
[ "Apache-2.0" ]
null
null
null
plugins/aea-cli-benchmark/aea_cli_benchmark/case_agent_construction_time/case.py
valory-xyz/agents-aea
8f38efa96041b0156ed1ae328178e395dbabf2fc
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # ------------------------------------------------------------------------------ # # Copyright 2022 Valory AG # Copyright 2018-2021 Fetch.AI Limited # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance...
32.469388
80
0.560339
dcc7a77f4169521fe89b86a05dfe67f63795adcd
4,077
py
Python
whizzlibrary/plotting.py
rodrigolece/whizz-library
beb3b6a31000239843bdfae8f4edd2a700749ce7
[ "MIT" ]
null
null
null
whizzlibrary/plotting.py
rodrigolece/whizz-library
beb3b6a31000239843bdfae8f4edd2a700749ce7
[ "MIT" ]
null
null
null
whizzlibrary/plotting.py
rodrigolece/whizz-library
beb3b6a31000239843bdfae8f4edd2a700749ce7
[ "MIT" ]
null
null
null
import numpy as np import scipy.stats as st # for pearsonr, has to be imported explicitly import matplotlib.pyplot as plt from mpl_toolkits.axes_grid1.inset_locator import inset_axes # to use the inset in subplot from mpl_toolkits.axes_grid1 import make_axes_locatable # to scale the colorbar from .quarters ...
31.361538
113
0.648516
dcc7cc7a40b45ab40e2a51260b50373958a8da92
187
py
Python
data_collection/gazette/spiders/sc_tangara.py
Jefersonalves/diario-oficial
9a4bdfe2e31414c993d88831a67160c49a5ee657
[ "MIT" ]
3
2021-08-18T17:50:31.000Z
2021-11-12T23:36:33.000Z
data_collection/gazette/spiders/sc_tangara.py
Jefersonalves/diario-oficial
9a4bdfe2e31414c993d88831a67160c49a5ee657
[ "MIT" ]
4
2021-02-10T02:36:48.000Z
2022-03-02T14:55:34.000Z
data_collection/gazette/spiders/sc_tangara.py
Jefersonalves/diario-oficial
9a4bdfe2e31414c993d88831a67160c49a5ee657
[ "MIT" ]
null
null
null
from gazette.spiders.base import FecamGazetteSpider
23.375
51
0.764706
dcc94d1efbebd6519f53641f480b76cc940d4d0c
774
py
Python
posts/urls.py
mmanchev23/network
248a23089640096fe866abc4557e82383768b5bc
[ "MIT" ]
null
null
null
posts/urls.py
mmanchev23/network
248a23089640096fe866abc4557e82383768b5bc
[ "MIT" ]
null
null
null
posts/urls.py
mmanchev23/network
248a23089640096fe866abc4557e82383768b5bc
[ "MIT" ]
null
null
null
from django.urls import path from django.conf.urls import url from . import views urlpatterns = [ path("", views.index, name="index"), path("login", views.login_view, name="login"), path("logout", views.logout_view, name="logout"), path("register", views.register, name="register"), path("profile/<...
43
74
0.674419
dcc9ddc5d8f9f9a656c88d8718ebff1b675da47f
2,476
py
Python
nnaps/tests/test_mesa.py
vosjo/nnaps
bc4aac715b511c5df897ef24fb953ad7265927ea
[ "MIT" ]
4
2020-09-24T12:55:58.000Z
2021-05-19T14:46:10.000Z
nnaps/tests/test_mesa.py
vosjo/nnaps
bc4aac715b511c5df897ef24fb953ad7265927ea
[ "MIT" ]
4
2021-06-02T09:28:35.000Z
2021-06-04T08:32:24.000Z
nnaps/tests/test_mesa.py
vosjo/nnaps
bc4aac715b511c5df897ef24fb953ad7265927ea
[ "MIT" ]
3
2020-10-05T13:18:27.000Z
2021-06-02T09:29:11.000Z
import os import pytest import pandas as pd from nnaps.mesa import compress_mesa, fileio from pathlib import Path base_path = Path(__file__).parent
38.092308
120
0.599354
dcca02e10815f058cde445c4c498cd6121ab7987
10,588
py
Python
riot_transmute/v5/match_to_game.py
mrtolkien/riotwatcher_dto
777455c45159f177d3a7ba3956043ff26f625c30
[ "MIT" ]
8
2020-10-01T18:01:15.000Z
2022-02-22T22:51:30.000Z
riot_transmute/v5/match_to_game.py
mrtolkien/riotwatcher_dto
777455c45159f177d3a7ba3956043ff26f625c30
[ "MIT" ]
2
2021-12-15T23:02:02.000Z
2022-01-25T06:07:53.000Z
riot_transmute/v5/match_to_game.py
mrtolkien/riotwatcher_dto
777455c45159f177d3a7ba3956043ff26f625c30
[ "MIT" ]
4
2020-07-30T23:24:06.000Z
2022-02-21T19:26:01.000Z
import lol_dto.classes.game as dto from lol_dto.classes.sources.riot_lol_api import RiotGameSource, RiotPlayerSource from riot_transmute.common.iso_date_from_ms import get_iso_date_from_ms_timestamp role_trigrams = { "TOP": "TOP", "JUNGLE": "JGL", "MIDDLE": "MID", "BOTTOM": "BOT", "UTILITY": "SUP"...
40.723077
177
0.621364
dccbb1ed1d93a36b9b6ce4c8495a089a6511c9fc
1,946
py
Python
chart/tests/helm_template_generator.py
jrderuiter/airflow
3122b351a515d455b2c69412b9cc72af888abc2b
[ "Apache-2.0" ]
1
2020-02-29T18:15:04.000Z
2020-02-29T18:15:04.000Z
chart/tests/helm_template_generator.py
jrderuiter/airflow
3122b351a515d455b2c69412b9cc72af888abc2b
[ "Apache-2.0" ]
null
null
null
chart/tests/helm_template_generator.py
jrderuiter/airflow
3122b351a515d455b2c69412b9cc72af888abc2b
[ "Apache-2.0" ]
null
null
null
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
37.423077
97
0.723022
dccd47a41be8ee6cd564590ef78258b59157e457
999
py
Python
src/states/minnesota/main.py
mail-my-ballot/elections-officials
f52862b62121a6e30f8f1c865bfe62705d3a0748
[ "Apache-2.0" ]
3
2020-04-26T02:05:33.000Z
2020-07-06T22:11:04.000Z
src/states/minnesota/main.py
mail-my-ballot/elections-officials
f52862b62121a6e30f8f1c865bfe62705d3a0748
[ "Apache-2.0" ]
25
2020-05-22T18:51:01.000Z
2020-06-28T00:47:19.000Z
src/states/minnesota/main.py
vote-by-mail/elections-officials
ac3cfb896db11f553f9c22ea2303fa54e6bb1a39
[ "Apache-2.0" ]
5
2020-05-21T01:28:57.000Z
2020-07-01T23:02:31.000Z
import re from bs4 import BeautifulSoup from common import cache_request BASE_URL = 'https://www.sos.state.mn.us/elections-voting/find-county-election-office/' re_lines = re.compile(r'(?<=Absentee voting contact)\s*(.*?)\s*' + r'Phone:\s*([0-9\-]+)(?:\s*ext\s*\d+)?\s*Fax:\s*([0-9\-]+)\s*Email:\s...
24.975
101
0.60961
dccda10f7d1ebffea799e8be451190ac7dc23768
3,788
py
Python
tests/test_conv.py
eLeVeNnN/xshinnosuke
69da91e0ea5042437edfc31c0e6ff9ef394c6cc9
[ "MIT" ]
290
2020-07-06T02:13:12.000Z
2021-01-04T14:23:39.000Z
tests/test_conv.py
E1eveNn/xshinnosuke
69da91e0ea5042437edfc31c0e6ff9ef394c6cc9
[ "MIT" ]
1
2020-12-03T11:11:48.000Z
2020-12-03T11:11:48.000Z
tests/test_conv.py
E1eveNn/xshinnosuke
69da91e0ea5042437edfc31c0e6ff9ef394c6cc9
[ "MIT" ]
49
2020-07-16T00:27:47.000Z
2020-11-26T03:03:14.000Z
import xs.nn import xs.nn.functional import xs.optim from xs.layers import Conv2D, ReLU, BatchNormalization import numpy as np import torch.nn import torch.nn.functional import torch.optim import os import matplotlib.pyplot as plt os.environ["KMP_DUPLICATE_LIB_OK"] = "TRUE" ######################### Hyper Paramete...
35.735849
81
0.682682
dccf13a2d3c43a0138e2d1dfdb3119a402dd9a6f
7,897
py
Python
eazy.py
tddesjardins/image-stacking
a9477987b7d267d6604deafaf0080794193264eb
[ "Unlicense" ]
null
null
null
eazy.py
tddesjardins/image-stacking
a9477987b7d267d6604deafaf0080794193264eb
[ "Unlicense" ]
2
2018-06-10T04:44:16.000Z
2018-06-14T18:11:46.000Z
eazy.py
tddesjardins/image-stacking
a9477987b7d267d6604deafaf0080794193264eb
[ "Unlicense" ]
null
null
null
import pandas as pd from astropy.table import Table import pdb,os import matplotlib.pyplot as plt import threedhst.eazyPy as eazy import numpy as np from astropy.stats.funcs import biweight_location as bl from astropy.stats.funcs import biweight_midvariance as bs flux={'cB':'fB1','kB':'fB1','V':'fV1','R':'fR1','I':'fI...
36.224771
136
0.595416
dcd28b594bfbebe11f19c266f448d60744584605
290
py
Python
tests/web/views/application/test_security.py
bitcaster-io/bitcaster
9f1bad96e00e3bc78a22451731e231d30662b166
[ "BSD-3-Clause" ]
4
2018-03-01T10:22:30.000Z
2020-04-04T16:31:11.000Z
tests/web/views/application/test_security.py
bitcaster-io/bitcaster
9f1bad96e00e3bc78a22451731e231d30662b166
[ "BSD-3-Clause" ]
60
2018-05-20T04:42:32.000Z
2022-02-10T17:03:37.000Z
tests/web/views/application/test_security.py
bitcaster-io/bitcaster
9f1bad96e00e3bc78a22451731e231d30662b166
[ "BSD-3-Clause" ]
1
2018-08-04T05:06:45.000Z
2018-08-04T05:06:45.000Z
import pytest from bitcaster.security import APP_ROLES
24.166667
60
0.775862
dcd2a7a049ecfd7fc7c9464d81aae3b346e5d160
3,421
py
Python
Square Run/Prototype/genetic/population.py
Soare-Robert-Daniel/Project-Sarus
38f8b5c579eda0cf941f05e35bd5063d31d06ce4
[ "MIT" ]
null
null
null
Square Run/Prototype/genetic/population.py
Soare-Robert-Daniel/Project-Sarus
38f8b5c579eda0cf941f05e35bd5063d31d06ce4
[ "MIT" ]
null
null
null
Square Run/Prototype/genetic/population.py
Soare-Robert-Daniel/Project-Sarus
38f8b5c579eda0cf941f05e35bd5063d31d06ce4
[ "MIT" ]
null
null
null
import random from individual import Individual import settings
34.555556
110
0.565039
dcd52bc300b5c8c984d399df10df6360c5a1fbf3
1,151
py
Python
qf_lib/plotting/charts/heatmap/color_bar.py
webclinic017/qf-lib
96463876719bba8a76c8269cef76addf3a2d836d
[ "Apache-2.0" ]
198
2019-08-16T15:09:23.000Z
2022-03-30T12:44:00.000Z
qf_lib/plotting/charts/heatmap/color_bar.py
webclinic017/qf-lib
96463876719bba8a76c8269cef76addf3a2d836d
[ "Apache-2.0" ]
13
2021-01-07T10:15:19.000Z
2022-03-29T13:01:47.000Z
qf_lib/plotting/charts/heatmap/color_bar.py
webclinic017/qf-lib
96463876719bba8a76c8269cef76addf3a2d836d
[ "Apache-2.0" ]
29
2019-08-16T15:21:28.000Z
2022-02-23T09:53:49.000Z
# Copyright 2016-present CERN European Organization for Nuclear Research # # 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....
41.107143
109
0.721981
dcd554291817b398928bef57ec99ed6c4a636952
358
py
Python
terrascript/github/d.py
vutsalsinghal/python-terrascript
3b9fb5ad77453d330fb0cd03524154a342c5d5dc
[ "BSD-2-Clause" ]
null
null
null
terrascript/github/d.py
vutsalsinghal/python-terrascript
3b9fb5ad77453d330fb0cd03524154a342c5d5dc
[ "BSD-2-Clause" ]
null
null
null
terrascript/github/d.py
vutsalsinghal/python-terrascript
3b9fb5ad77453d330fb0cd03524154a342c5d5dc
[ "BSD-2-Clause" ]
null
null
null
# terrascript/github/d.py import terrascript
15.565217
45
0.768156
dcd55843a9662ccceae7d69532befbd320afdb43
1,273
py
Python
python/PyQt5/16_pixels_test.py
nnaabbcc/exercise
255fd32b39473b3d0e7702d4b1a8a97bed2a68f8
[ "MIT" ]
1
2016-11-23T08:18:08.000Z
2016-11-23T08:18:08.000Z
python/PyQt5/16_pixels_test.py
nnaabbcc/exercise
255fd32b39473b3d0e7702d4b1a8a97bed2a68f8
[ "MIT" ]
null
null
null
python/PyQt5/16_pixels_test.py
nnaabbcc/exercise
255fd32b39473b3d0e7702d4b1a8a97bed2a68f8
[ "MIT" ]
1
2016-11-23T08:17:34.000Z
2016-11-23T08:17:34.000Z
from PyQt5.QtWidgets import QApplication, QWidget, QVBoxLayout from PyQt5.QtGui import QPainter from PyQt5.QtCore import Qt if __name__ == '__main__': import sys app = QApplication(sys.argv) w = MyWidget() w.show() sys.exit(app.exec_())
23.574074
70
0.601728
dcd5ea4327eaa7ba736fe1d45c3f903efcd52cd3
5,401
py
Python
lib/evernote/edam/limits/constants.py
zapier/zapier-evernote-sdk-python-old
a95444969c2ae00ea573b4af35c9c851a40a4813
[ "Apache-2.0", "BSD-2-Clause" ]
9
2015-01-08T17:48:50.000Z
2017-08-11T00:24:38.000Z
lib/evernote/edam/limits/constants.py
zapier/zapier-evernote-sdk-python-old
a95444969c2ae00ea573b4af35c9c851a40a4813
[ "Apache-2.0", "BSD-2-Clause" ]
1
2015-07-25T09:41:50.000Z
2015-07-25T15:40:18.000Z
lib/evernote/edam/limits/constants.py
mindprince/pinboardToEvernote
4dd2b462f4100853c66ab433c0e94533863f2352
[ "Apache-2.0" ]
1
2021-09-08T09:31:43.000Z
2021-09-08T09:31:43.000Z
# # Autogenerated by Thrift Compiler (0.5.0-en-262021) # # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING # # options string: py:new_style # from thrift.Thrift import TType, TMessageType, TException, TApplicationException from ttypes import * EDAM_ATTRIBUTE_LEN_MIN = 1 EDAM_ATTRIBUTE_LEN_MAX = 4096...
39.423358
141
0.733383
dcd6bdeb888785f2ab42d4a43ffa59943e64ac31
3,423
py
Python
scripts/outliers.py
gmackall/deep-quant
1c0081795c8be9b7513697b367e9a1381f7f742a
[ "MIT" ]
122
2017-10-04T04:34:24.000Z
2022-03-10T23:59:22.000Z
scripts/outliers.py
emrekesici/deep-quant
19ae66d25924c4bc4b09879d82794013140d2a8b
[ "MIT" ]
20
2018-02-07T16:34:10.000Z
2020-07-21T08:45:59.000Z
scripts/outliers.py
Henrywcj/MLII
bf639e82f64b11b4af973570bccdfe5e2ed25533
[ "MIT" ]
51
2017-11-16T15:42:13.000Z
2022-03-19T00:46:57.000Z
#!/bin/sh ''''exec python3 -u -- "$0" ${1+"$@"} # ''' # Copyright 2016 Euclidean Technologies Management LLC 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...
29.765217
102
0.585159
dcd956d859b1b4126c88e2fcc1d30c3967daf4d3
317
py
Python
tester.py
jonah-sullivan/language-server-presentation
343c42382eb0a9caad2881ea9141b3f5eca9450a
[ "CC0-1.0" ]
1
2022-03-03T12:04:23.000Z
2022-03-03T12:04:23.000Z
tester.py
jonah-sullivan/language-server-presentation
343c42382eb0a9caad2881ea9141b3f5eca9450a
[ "CC0-1.0" ]
null
null
null
tester.py
jonah-sullivan/language-server-presentation
343c42382eb0a9caad2881ea9141b3f5eca9450a
[ "CC0-1.0" ]
null
null
null
from twoInts import add_two_ints import typing firstInt = 5 secondInt = 2 additionOutput = add_two_ints(firstInt, secondInt) print(f"firstInt: {firstInt}, secondInt: {secondInt}") print(f"additionOutput: {additionOutput}") print("addTwoInts.__doc__", add_two_ints.__doc__) add_two_ints(1, 2) add_two_ints(1, "a")
21.133333
54
0.776025
dcda06fca71ac791b2cd5f224de59dc2d3b33b14
1,966
py
Python
glumpy/ext/freetype/ft_enums/ft_render_modes.py
antoineMoPa/glumpy
901df7eb37cd728c2fe7e54920392b700b46c0ac
[ "BSD-3-Clause" ]
1,074
2015-01-02T07:52:35.000Z
2022-03-28T08:58:55.000Z
glumpy/ext/freetype/ft_enums/ft_render_modes.py
antoineMoPa/glumpy
901df7eb37cd728c2fe7e54920392b700b46c0ac
[ "BSD-3-Clause" ]
273
2015-01-02T19:49:30.000Z
2021-12-15T11:02:53.000Z
glumpy/ext/freetype/ft_enums/ft_render_modes.py
antoineMoPa/glumpy
901df7eb37cd728c2fe7e54920392b700b46c0ac
[ "BSD-3-Clause" ]
235
2015-07-20T09:42:42.000Z
2021-12-06T18:12:26.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- # ----------------------------------------------------------------------------- # # FreeType high-level python API - Copyright 2011-2012 Nicolas P. Rougier # Distributed under the terms of the new BSD license. # # ----------------------------------------------------------...
33.896552
79
0.682096
dcdaeb321a2d41ba91fe6e7a27a8591de912bd95
1,349
py
Python
bpmn/views/event_view.py
marcelobbfonseca/SFDjango-BPMN
50565763414f52d9e84004494cf550c6fe2358fa
[ "MIT" ]
1
2021-09-22T02:04:07.000Z
2021-09-22T02:04:07.000Z
bpmn/views/event_view.py
VSSantana/SFDjango-BPMN
e5a3fb8da9282fd88f72a85a4b34d89d38391e36
[ "MIT" ]
5
2021-09-22T13:54:06.000Z
2021-09-22T14:05:56.000Z
bpmn/views/event_view.py
marcelobbfonseca/SFDjango-BPMN
50565763414f52d9e84004494cf550c6fe2358fa
[ "MIT" ]
1
2021-09-18T01:22:25.000Z
2021-09-18T01:22:25.000Z
from django.views.generic.base import TemplateView from django.views.generic.edit import UpdateView, DeleteView, FormView from django.urls import reverse_lazy from django.http import HttpResponseRedirect from ..models import Event from ..forms import EventForm
25.942308
70
0.697554
dcdb7d35dacad0a6039ec92643d3ff7d8da2b159
3,912
py
Python
foss_library/import_data/frappe_api.py
nikochiko/foss-library
8d2eccf3658b8ada0176f3dc24b9d87e465815de
[ "MIT" ]
1
2021-09-16T09:35:36.000Z
2021-09-16T09:35:36.000Z
foss_library/import_data/frappe_api.py
nikochiko/foss-library
8d2eccf3658b8ada0176f3dc24b9d87e465815de
[ "MIT" ]
1
2021-09-10T13:49:11.000Z
2021-09-10T13:49:11.000Z
foss_library/import_data/frappe_api.py
nikochiko/foss-library
8d2eccf3658b8ada0176f3dc24b9d87e465815de
[ "MIT" ]
null
null
null
import asyncio import os from math import ceil from pprint import pprint from typing import Any, AsyncIterator, Optional import aiohttp from foss_library.books.models import Book FRAPPE_API_URL = os.getenv( "FRAPPE_API_URL", "https://frappe.io/api/method/frappe-library" ) def convert_json_to_book(json_book...
30.325581
89
0.645961
dcdba7dd7903e0df919b227a20e23652c6d7a728
1,712
py
Python
dcp_diag/component_agents/azul_agent.py
HumanCellAtlas/dcp-diag
85c324ed86785d8b224fca2f3cbc1097f8606dde
[ "MIT" ]
2
2018-10-03T17:56:54.000Z
2018-10-08T18:10:38.000Z
dcp_diag/component_agents/azul_agent.py
HumanCellAtlas/dcp-diag
85c324ed86785d8b224fca2f3cbc1097f8606dde
[ "MIT" ]
15
2018-11-20T11:06:32.000Z
2019-09-17T20:06:20.000Z
dcp_diag/component_agents/azul_agent.py
HumanCellAtlas/dcp-diag
85c324ed86785d8b224fca2f3cbc1097f8606dde
[ "MIT" ]
null
null
null
import requests import json
30.035088
99
0.536799
dcdc4a0b43fc30222496ff000d7b32f612ff3e55
3,764
py
Python
BabyForm1.py
UofU-BMI-BirthRecord/BirthRecord-Application
1ebb6674f59623ea3ce424b5feef5071fa63df05
[ "Apache-2.0" ]
null
null
null
BabyForm1.py
UofU-BMI-BirthRecord/BirthRecord-Application
1ebb6674f59623ea3ce424b5feef5071fa63df05
[ "Apache-2.0" ]
null
null
null
BabyForm1.py
UofU-BMI-BirthRecord/BirthRecord-Application
1ebb6674f59623ea3ce424b5feef5071fa63df05
[ "Apache-2.0" ]
null
null
null
#from flask_wtf import Form from flask_wtf import FlaskForm from wtforms import IntegerField, SubmitField, TextAreaField, SelectField, StringField, TextField, DecimalField, HiddenField, BooleanField from wtforms import validators, ValidationError import GetPatientInfo from WeightUtil import *
38.408163
138
0.613177
dcdcb483050848f2993e3f0c9dadc3d0d1bb4473
388
py
Python
aoc2020/day01.py
austinsalonen/advent_of_code
c085a813511ace023620739f367948c58e7ca5e7
[ "MIT" ]
null
null
null
aoc2020/day01.py
austinsalonen/advent_of_code
c085a813511ace023620739f367948c58e7ca5e7
[ "MIT" ]
null
null
null
aoc2020/day01.py
austinsalonen/advent_of_code
c085a813511ace023620739f367948c58e7ca5e7
[ "MIT" ]
null
null
null
from collections import Counter inputs = [] with open('day01.input') as f: inputs = [int(x) for x in f.readlines()] print(part1(inputs)) print(part2(inputs))
19.4
81
0.675258
dcdde9a31ea174b05d5ac70e403cbbcd1fb9ab3b
2,989
py
Python
tools/linphone-sample.py
garronej/linphone
f61a337f5363b991d6e866a6aa7d303658c04073
[ "BSD-2-Clause" ]
null
null
null
tools/linphone-sample.py
garronej/linphone
f61a337f5363b991d6e866a6aa7d303658c04073
[ "BSD-2-Clause" ]
null
null
null
tools/linphone-sample.py
garronej/linphone
f61a337f5363b991d6e866a6aa7d303658c04073
[ "BSD-2-Clause" ]
1
2021-03-17T10:04:06.000Z
2021-03-17T10:04:06.000Z
#!/usr/bin/env python import logging import signal import time import linphone if __name__ == "__main__": cam = SecurityCamera(username='raspberry', password='pi', whitelist=['sip:trusteduser@sip.linphone.org'], camera='V4L2: /dev/video0', snd_capture='ALSA: USB Device 0x46d:0x825') cam.run()
41.513889
181
0.668786
dcde5efdccefb089a037137083b3846183985189
2,984
py
Python
assets/utils/piaf/af_structure_browser.py
47lining/quickstart-osisoft-pisystem2aws-connector
f6bdcb84b3cb271d3498d057474be6833f67b5be
[ "Apache-2.0" ]
null
null
null
assets/utils/piaf/af_structure_browser.py
47lining/quickstart-osisoft-pisystem2aws-connector
f6bdcb84b3cb271d3498d057474be6833f67b5be
[ "Apache-2.0" ]
null
null
null
assets/utils/piaf/af_structure_browser.py
47lining/quickstart-osisoft-pisystem2aws-connector
f6bdcb84b3cb271d3498d057474be6833f67b5be
[ "Apache-2.0" ]
null
null
null
import re
39.263158
111
0.586126
dcdede0c23afb24fce856491c71696e393155ec4
3,492
py
Python
scripts/noaa_spider.py
guilload/thrashtide
b7cfc2e092c032251a862a46102420c169f92a68
[ "MIT" ]
null
null
null
scripts/noaa_spider.py
guilload/thrashtide
b7cfc2e092c032251a862a46102420c169f92a68
[ "MIT" ]
null
null
null
scripts/noaa_spider.py
guilload/thrashtide
b7cfc2e092c032251a862a46102420c169f92a68
[ "MIT" ]
null
null
null
import json import scrapy HARCON_HEADER = ("index", "name", "amplitude", "phase", "speed")
34.574257
119
0.609966
dcdf88e243084249bdc7e74dd8256b969863ffa7
3,079
py
Python
torchvision_3d/models/vgg.py
rubythalib33/3D-Torchvision
7dab0a3d1d83e6046320f879af2bff28b31310ab
[ "MIT" ]
4
2022-03-09T02:53:12.000Z
2022-03-10T14:35:06.000Z
torchvision_3d/models/vgg.py
rubythalib33/3D-Torchvision
7dab0a3d1d83e6046320f879af2bff28b31310ab
[ "MIT" ]
null
null
null
torchvision_3d/models/vgg.py
rubythalib33/3D-Torchvision
7dab0a3d1d83e6046320f879af2bff28b31310ab
[ "MIT" ]
1
2022-03-10T14:35:08.000Z
2022-03-10T14:35:08.000Z
from turtle import forward import torch.nn as nn import torch if __name__ == '__main__': example = torch.randn(1, 3, 3, 224, 224).cuda() type_ = "vgg11_bn" model = VGG3D(type=type_).cuda() print(model(example).shape)
45.955224
199
0.626177
dce0c50e458be59e923eedd9c95b66857cc10f8f
1,820
py
Python
mihifepe/feature.py
cloudbopper/feature-importance-analysis
7f03e4413d1e42e9265d790cb64c41f34dbea5ab
[ "MIT" ]
1
2019-11-01T12:31:45.000Z
2019-11-01T12:31:45.000Z
mihifepe/feature.py
cloudbopper/feature-importance-analysis
7f03e4413d1e42e9265d790cb64c41f34dbea5ab
[ "MIT" ]
10
2018-11-14T17:44:39.000Z
2020-01-02T03:25:14.000Z
mihifepe/feature.py
cloudbopper/mihifepe
7f03e4413d1e42e9265d790cb64c41f34dbea5ab
[ "MIT" ]
3
2018-11-14T04:17:17.000Z
2020-01-04T20:32:00.000Z
"""Feature class""" import anytree import cityhash import numpy as np from mihifepe import constants # pylint: disable = too-many-instance-attributes def uniquify(self, uniquifier): """Add uniquifying identifier to name""" assert uniquifier self.name = "{0}->{1}".format(uniquifier, self....
32.5
95
0.656044
dce1be765fc810f1f2efc2a19e81f0226d3354d5
25,193
py
Python
codenerix/models.py
codenerix/django-codenerix
1fc2edb451c5cf2359e243d860940876af0cf575
[ "Apache-2.0" ]
15
2018-03-21T10:47:57.000Z
2022-02-01T08:17:56.000Z
codenerix/models.py
codenerix/django-codenerix
1fc2edb451c5cf2359e243d860940876af0cf575
[ "Apache-2.0" ]
4
2018-04-11T10:19:08.000Z
2020-02-29T18:54:36.000Z
codenerix/models.py
codenerix/django-codenerix
1fc2edb451c5cf2359e243d860940876af0cf575
[ "Apache-2.0" ]
5
2018-03-12T16:57:02.000Z
2021-04-15T16:51:08.000Z
# -*- coding: utf-8 -*- # # django-codenerix # # Copyright 2017 Centrologic Computational Logistic Center S.L. # # Project URL : http://www.codenerix.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 ...
42.48398
181
0.543167
dce29bb40a99d94f488b8f470037b28cd28ee97f
858
py
Python
migrations/versions/a75e5cbedaad_.py
deanarchy/FLChat
49cd437d7ca30102b519f6d4b96ac0b9602c689e
[ "MIT" ]
null
null
null
migrations/versions/a75e5cbedaad_.py
deanarchy/FLChat
49cd437d7ca30102b519f6d4b96ac0b9602c689e
[ "MIT" ]
null
null
null
migrations/versions/a75e5cbedaad_.py
deanarchy/FLChat
49cd437d7ca30102b519f6d4b96ac0b9602c689e
[ "MIT" ]
null
null
null
"""empty message Revision ID: a75e5cbedaad Revises: 520f9f05e787 Create Date: 2021-05-21 10:36:28.752323 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = 'a75e5cbedaad' down_revision = '520f9f05e787' branch_labels = None depends_on = None
25.235294
72
0.685315
dce5a04225c3fa6408504250122a874c9962cf88
1,741
py
Python
01_Modelos_Supervisionados/1.1_Modelos_Lineares/1.1.7_Regressao_do_Angulo_minimo.py
BrunoBertti/Scikit_Learning
4b9e10ff7909f3728ac1e8bba19f5fd779340bc4
[ "MIT" ]
null
null
null
01_Modelos_Supervisionados/1.1_Modelos_Lineares/1.1.7_Regressao_do_Angulo_minimo.py
BrunoBertti/Scikit_Learning
4b9e10ff7909f3728ac1e8bba19f5fd779340bc4
[ "MIT" ]
null
null
null
01_Modelos_Supervisionados/1.1_Modelos_Lineares/1.1.7_Regressao_do_Angulo_minimo.py
BrunoBertti/Scikit_Learning
4b9e10ff7909f3728ac1e8bba19f5fd779340bc4
[ "MIT" ]
null
null
null
########## 1.1.7 Regresso do ngulo Mnimo (LARs) ########## # Regresso do ngulo Mnimo (LARS, em ingls) um algoritmo de regresso para dados de alto-dimencionamento. desenvolvido por Bradley Efron, Trevor Hastie, Iain Johnstone e Robert Tibshirani. RAM semelhante regresso progressiva passo-a-passo. Em cada etapa, ...
87.05
467
0.763929
dce5dec856ec133da037182f8f14b17c7fb3f435
2,542
py
Python
DailyProgrammer/DP20120704B.py
DayGitH/Python-Challenges
bc32f1332a92fcc2dfa6f5ea4d95f8a8d64c3edf
[ "MIT" ]
2
2020-12-23T18:59:22.000Z
2021-04-14T13:16:09.000Z
DailyProgrammer/DP20120704B.py
DayGitH/Python-Challenges
bc32f1332a92fcc2dfa6f5ea4d95f8a8d64c3edf
[ "MIT" ]
null
null
null
DailyProgrammer/DP20120704B.py
DayGitH/Python-Challenges
bc32f1332a92fcc2dfa6f5ea4d95f8a8d64c3edf
[ "MIT" ]
null
null
null
""" An X-ray illuminator is the bright plate that doctors put filters over in order to view x-ray images. In our problem, we are going to place various sizes of red and blue tinted cellophane randomly on top of a finite x-ray illuminator. If a given part of the illuminator is covered by only red filters, then the lig...
31.775
120
0.697089
dce730e56dda1e585a4258679358f534f02fcfd2
2,410
py
Python
gym_modular/rewards/robot/end_effector_acceleration_reward.py
TimSchneider42/mbpo
736ba90bbdaddb2a40a6233bc0b78da72235100a
[ "MIT" ]
null
null
null
gym_modular/rewards/robot/end_effector_acceleration_reward.py
TimSchneider42/mbpo
736ba90bbdaddb2a40a6233bc0b78da72235100a
[ "MIT" ]
null
null
null
gym_modular/rewards/robot/end_effector_acceleration_reward.py
TimSchneider42/mbpo
736ba90bbdaddb2a40a6233bc0b78da72235100a
[ "MIT" ]
null
null
null
from typing import Optional import numpy as np from ... import BaseTask from assembly_gym.environment.generic import RobotComponent from .. import Reward
50.208333
120
0.678008