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
030fd2dfb8a4fa6185ed55acabcf1eed72bf0ff0
2,347
py
Python
rbk_shares_grab.py
adamrfox/rbk_nas_bulk_add
4784e0671a7abcb2b03df4f25ee8977eb2666636
[ "MIT" ]
3
2019-04-29T20:54:49.000Z
2022-03-23T18:11:53.000Z
rbk_shares_grab.py
adamrfox/rbk_nas_bulk_add
4784e0671a7abcb2b03df4f25ee8977eb2666636
[ "MIT" ]
null
null
null
rbk_shares_grab.py
adamrfox/rbk_nas_bulk_add
4784e0671a7abcb2b03df4f25ee8977eb2666636
[ "MIT" ]
null
null
null
#!/usr/bin/python from __future__ import print_function import sys import rubrik_cdm import getopt import getpass import urllib3 urllib3.disable_warnings() if __name__ == "__main__": user = "" password = "" token = "" protocol = "" outfile = "" timeout = 60 optlist, args = getopt.getopt(...
30.089744
114
0.558585
03107adc71743725424b2361e5a9dcd1060c0b19
821
py
Python
Pyton_Codes/Python Data Structures/3.Lists/ex_9.4.py
Bombjack88/Python-for-Everybody--PY4E-
0dee57e015ed0c773bdb11e841ed4b2b639b5eca
[ "MIT" ]
null
null
null
Pyton_Codes/Python Data Structures/3.Lists/ex_9.4.py
Bombjack88/Python-for-Everybody--PY4E-
0dee57e015ed0c773bdb11e841ed4b2b639b5eca
[ "MIT" ]
null
null
null
Pyton_Codes/Python Data Structures/3.Lists/ex_9.4.py
Bombjack88/Python-for-Everybody--PY4E-
0dee57e015ed0c773bdb11e841ed4b2b639b5eca
[ "MIT" ]
null
null
null
name = input("Enter file:") if len(name) < 1: name = "mbox-short.txt" handle = open(name) hist=dict() for line in handle: if line.startswith('From:'): words=line.split() if words[1] not in hist: hist[words[1]]=1 else: hist[words[1]]=hist[words[1]]+1 #print(hist) n...
21.605263
45
0.588307
0310a3f412e38098f32e0ef6e645cc58b02cafe4
440
py
Python
Pacote/Python/teste.py
Rezende31/Primeiros-programas-em-Python
69b4cdde36fdb2fa9193eac7c0f279fbeea21350
[ "MIT" ]
null
null
null
Pacote/Python/teste.py
Rezende31/Primeiros-programas-em-Python
69b4cdde36fdb2fa9193eac7c0f279fbeea21350
[ "MIT" ]
null
null
null
Pacote/Python/teste.py
Rezende31/Primeiros-programas-em-Python
69b4cdde36fdb2fa9193eac7c0f279fbeea21350
[ "MIT" ]
null
null
null
maior = 0 menor = 0 totalPessoas = 10 for pessoa in range(1, 11): idade = int(input("Digite a idade: ")) if idade >= 18: maior += 1 else: menor += 1 print("Quantidade de pessoas maior de idade: ", maior) print("Quantidade de pessoas menor de idade: ", menor) print("Porcentagem de pessoas menores de idad...
29.333333
82
0.670455
031333ba3988ef98fbd4715a4e62cc80ec83e8a6
20
py
Python
BackpackTF/__init__.py
danocmx/BackpackTF
f72e3e469564bac3437e46b609295ed9682fa111
[ "MIT" ]
null
null
null
BackpackTF/__init__.py
danocmx/BackpackTF
f72e3e469564bac3437e46b609295ed9682fa111
[ "MIT" ]
null
null
null
BackpackTF/__init__.py
danocmx/BackpackTF
f72e3e469564bac3437e46b609295ed9682fa111
[ "MIT" ]
null
null
null
name = "BackpackTF"
10
19
0.7
03161323e20915da493ace89b2bc01368abbd868
5,180
py
Python
soapfish/py2wsdl.py
jocassid/soapfish
7926335089ec286d3f4f491f72d84ec7096c79c9
[ "BSD-3-Clause" ]
null
null
null
soapfish/py2wsdl.py
jocassid/soapfish
7926335089ec286d3f4f491f72d84ec7096c79c9
[ "BSD-3-Clause" ]
1
2018-02-19T22:40:44.000Z
2018-02-19T22:40:44.000Z
soapfish/py2wsdl.py
jocassid/soapfish
7926335089ec286d3f4f491f72d84ec7096c79c9
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import absolute_import, print_function import argparse import imp import logging import sys import six from lxml import etree from . import namespaces as ns, xsd from .py2xsd import generate_xsdspec from .soap import SOAP_HTTP_Transport from .utils impor...
33.636364
88
0.662548
03165ba60d729661a58123673f53a2d1bcac3825
4,583
py
Python
tests/test_realtime.py
nickgaya/redbucket
820adbf32f0a37bd73832a1a82195cd966a469e4
[ "MIT" ]
null
null
null
tests/test_realtime.py
nickgaya/redbucket
820adbf32f0a37bd73832a1a82195cd966a469e4
[ "MIT" ]
null
null
null
tests/test_realtime.py
nickgaya/redbucket
820adbf32f0a37bd73832a1a82195cd966a469e4
[ "MIT" ]
null
null
null
"""Realtime rate limiting tests.""" import sched import threading import time import pytest from pytest import approx from redbucket import (InMemoryRateLimiter, RedisScriptRateLimiter, RedisTransactionalRateLimiter, RateLimit, Zone) def test_basic(rate_limiter): rate_limiter.configu...
26.958824
79
0.60899
031719063b08e6d7aba0d2f8634fb56d4b2237bf
5,660
py
Python
napari/util/colormaps/colormaps.py
donovanr/napari
580b5eab8cc40af53aef780a65adb9216d968a32
[ "BSD-3-Clause" ]
null
null
null
napari/util/colormaps/colormaps.py
donovanr/napari
580b5eab8cc40af53aef780a65adb9216d968a32
[ "BSD-3-Clause" ]
null
null
null
napari/util/colormaps/colormaps.py
donovanr/napari
580b5eab8cc40af53aef780a65adb9216d968a32
[ "BSD-3-Clause" ]
null
null
null
import os from .vendored import colorconv import numpy as np import vispy.color _matplotlib_list_file = os.path.join(os.path.dirname(__file__), 'matplotlib_cmaps.txt') with open(_matplotlib_list_file) as fin: matplotlib_colormaps = [line.rstrip() for line in fin] def _all_r...
32.342857
93
0.601237
03193daceb0294a6570e1e5c247887786113d92d
6,908
py
Python
pass.py
gabrielbiasi/password-finder
c4f010f93c1ba930150c27a5d0a0e4177390c141
[ "MIT" ]
1
2021-09-08T21:06:36.000Z
2021-09-08T21:06:36.000Z
pass.py
josanjohnata/password-finder
c4f010f93c1ba930150c27a5d0a0e4177390c141
[ "MIT" ]
null
null
null
pass.py
josanjohnata/password-finder
c4f010f93c1ba930150c27a5d0a0e4177390c141
[ "MIT" ]
1
2021-09-08T21:06:44.000Z
2021-09-08T21:06:44.000Z
#!/usr/bin/env python3 """ pass.py Find hardcoded passwords on source code of your project. python pass.py path/to/project """ import os import sys import re import fnmatch import json from argparse import ArgumentParser DEFAULT_BAD_WORDS = ['token', 'oauth', 'secret', 'pass', 'password', 'senha'] DEFAULT_ANALYZERS...
32.739336
146
0.599739
031c1bbdf2907809a6800767549c8b50f9abcffc
1,660
py
Python
api/test/test_authentication/test_authentication.py
ghalonso94/wswallet
8f1f13a0d646166adad45b3872c2db6558d48f38
[ "MIT" ]
null
null
null
api/test/test_authentication/test_authentication.py
ghalonso94/wswallet
8f1f13a0d646166adad45b3872c2db6558d48f38
[ "MIT" ]
null
null
null
api/test/test_authentication/test_authentication.py
ghalonso94/wswallet
8f1f13a0d646166adad45b3872c2db6558d48f38
[ "MIT" ]
null
null
null
from django.contrib.auth.models import User from django.urls import reverse from rest_framework import status from rest_framework.test import APITestCase from django.contrib.auth import authenticate
44.864865
77
0.735542
031f8e68c6be1164545c38f2fc637c6974d63093
6,226
py
Python
qcengine/compute.py
dsirianni/QCEngine
45d639c59f26e25ad8d7ace6c7e2faca2a8909ac
[ "BSD-3-Clause" ]
null
null
null
qcengine/compute.py
dsirianni/QCEngine
45d639c59f26e25ad8d7ace6c7e2faca2a8909ac
[ "BSD-3-Clause" ]
null
null
null
qcengine/compute.py
dsirianni/QCEngine
45d639c59f26e25ad8d7ace6c7e2faca2a8909ac
[ "BSD-3-Clause" ]
null
null
null
""" Integrates the computes together """ from typing import Any, Dict, Optional, Union from qcelemental.models import ComputeError, FailedOperation, Optimization, OptimizationInput, ResultInput from .config import get_config from .procedures import get_procedure, list_all_procedures, list_available_procedures from .p...
37.059524
106
0.681497
032097b293e25c54965aa1b1ccac4d5f2d0b3a18
192
py
Python
Logic/OR.py
Oumourin/Deep-Learning-Study
85c3a04aaa3af2fcf6a335d9fd8db70c89527b39
[ "MIT" ]
1
2019-06-30T09:19:42.000Z
2019-06-30T09:19:42.000Z
Logic/OR.py
Oumourin/Deep-Learning-Study
85c3a04aaa3af2fcf6a335d9fd8db70c89527b39
[ "MIT" ]
null
null
null
Logic/OR.py
Oumourin/Deep-Learning-Study
85c3a04aaa3af2fcf6a335d9fd8db70c89527b39
[ "MIT" ]
2
2019-06-06T06:49:32.000Z
2019-07-18T04:41:47.000Z
import numpy as np
16
28
0.447917
0321382973833ce42d92bf1b5c63c3c37fe27281
1,473
py
Python
tweet/migrations/0002_auto_20190801_1335.py
destro6984/Twitecs
9df81fd217107cd3437d15f9b49b6985a909ae14
[ "MIT" ]
null
null
null
tweet/migrations/0002_auto_20190801_1335.py
destro6984/Twitecs
9df81fd217107cd3437d15f9b49b6985a909ae14
[ "MIT" ]
12
2019-10-29T18:55:35.000Z
2022-02-10T10:04:36.000Z
tweet/migrations/0002_auto_20190801_1335.py
destro6984/Twitecs
9df81fd217107cd3437d15f9b49b6985a909ae14
[ "MIT" ]
null
null
null
# Generated by Django 2.2.3 on 2019-08-01 13:35 from django.conf import settings from django.db import migrations, models import django.db.models.deletion
33.477273
135
0.633401
0321d19423a315e4931f710e342abdee508698ef
545
py
Python
iroko/records/marshmallow/__init__.py
tocororo/iroko
e1cf08bbd565178c2d60244719aad6d288b48363
[ "MIT" ]
null
null
null
iroko/records/marshmallow/__init__.py
tocororo/iroko
e1cf08bbd565178c2d60244719aad6d288b48363
[ "MIT" ]
14
2021-02-02T22:47:27.000Z
2021-12-22T18:39:46.000Z
iroko/records/marshmallow/__init__.py
tocororo/iroko
e1cf08bbd565178c2d60244719aad6d288b48363
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Copyright (c) 2021. Universidad de Pinar del Rio # This file is part of SCEIBA (sceiba.cu). # SCEIBA is free software; you can redistribute it and/or modify it # under the terms of the MIT License; see LICENSE file for more details. # """Schemas for marshmallow.""" from __future__ impo...
32.058824
94
0.759633
03232a1312dd329eaec49364e1227f3b04f0d86e
570
py
Python
wotpy/wot/dictionaries/filter.py
JKRhb/wot-py
3eaa780189b686c82b7dbdea404fd8077bd3c9f9
[ "MIT" ]
24
2019-02-15T09:00:27.000Z
2021-12-23T05:45:03.000Z
wotpy/wot/dictionaries/filter.py
JKRhb/wot-py
3eaa780189b686c82b7dbdea404fd8077bd3c9f9
[ "MIT" ]
20
2020-03-17T09:41:51.000Z
2021-07-14T12:29:02.000Z
wotpy/wot/dictionaries/filter.py
JKRhb/wot-py
3eaa780189b686c82b7dbdea404fd8077bd3c9f9
[ "MIT" ]
5
2019-10-10T13:38:20.000Z
2021-12-22T14:22:26.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Wrapper class for dictionaries to represent Thing filters. """ from wotpy.wot.dictionaries.base import WotBaseDict from wotpy.wot.enums import DiscoveryMethod
21.111111
61
0.605263
03238ca23c3c7570a1e23790a0fd110cb3b831d7
407
py
Python
discord/types/enums/stickerformattype.py
AA1999/Disthon
fcf4e550750938b87a1fb48ff3006bdeeecd73e3
[ "MIT" ]
14
2021-09-20T10:50:03.000Z
2022-03-01T16:01:08.000Z
discord/types/enums/stickerformattype.py
Rashaad1268/Disthon
50c191fc2750bcb28280006e1f9bbd1fa65bac33
[ "MIT" ]
25
2021-12-12T15:52:19.000Z
2022-03-31T19:45:46.000Z
discord/types/enums/stickerformattype.py
Rashaad1268/Disthon
50c191fc2750bcb28280006e1f9bbd1fa65bac33
[ "MIT" ]
12
2021-09-22T10:40:50.000Z
2021-11-25T15:47:42.000Z
from __future__ import annotations from enum import IntEnum
21.421053
48
0.611794
0323a06f1ee42ae880ce7059ecb63d0962974481
320
py
Python
ch2_practice/13_pdf_word/00_decryptPDF/test.py
dreddsa5dies/automatePy
2a24b38b8e0705a33b8bff0942079f30a0ab22d3
[ "MIT" ]
2
2019-10-09T13:11:03.000Z
2020-03-20T23:01:45.000Z
ch2_practice/13_pdf_word/00_decryptPDF/test.py
dreddsa5dies/automatePy
2a24b38b8e0705a33b8bff0942079f30a0ab22d3
[ "MIT" ]
null
null
null
ch2_practice/13_pdf_word/00_decryptPDF/test.py
dreddsa5dies/automatePy
2a24b38b8e0705a33b8bff0942079f30a0ab22d3
[ "MIT" ]
1
2020-03-20T23:01:46.000Z
2020-03-20T23:01:46.000Z
#! python import PyPDF2 pdf = open('encrypted.pdf', 'rb') pdfRead = PyPDF2.PdfFileReader(pdf) if pdfRead.isEncrypted: # , pdfRead.decrypt('rosebud') for i in range(pdfRead.getNumPages()): data = pdfRead.getPage(i) print(data.extractText()) pdf.close()
22.857143
43
0.646875
0324d864acbec40fec8fa0aa86d9215de2424e81
1,895
py
Python
lab4/part3.py
neo-mashiro/MRI
62bef9f1e8e7d92e6f8027eceeb673e473cb727e
[ "CC0-1.0" ]
2
2021-02-05T09:47:11.000Z
2021-02-05T10:12:39.000Z
lab4/part3.py
Grindewald1900/MRI
1305d3e5897b0e908e406927432223846ee11170
[ "CC0-1.0" ]
null
null
null
lab4/part3.py
Grindewald1900/MRI
1305d3e5897b0e908e406927432223846ee11170
[ "CC0-1.0" ]
6
2020-07-02T01:42:47.000Z
2021-10-01T18:48:40.000Z
from dipy.denoise.nlmeans import nlmeans_3d, nlmeans from dipy.denoise.noise_estimate import estimate_sigma import cv2 as cv import numpy as np import nibabel as nib def preprocess(nifti, name): """Preprocess the 3D MRI image before image segmentation""" image = nifti.get_fdata() sigma = estimate_sigma(im...
38.673469
105
0.672296
0324d9ece5af63a368124e9fa17ba3a69c38e54b
167
py
Python
frites/dataset/ds_fmri.py
StanSStanman/frites
53f4745979dc2e7b27145cd63eab6a82fe893ec7
[ "BSD-3-Clause" ]
null
null
null
frites/dataset/ds_fmri.py
StanSStanman/frites
53f4745979dc2e7b27145cd63eab6a82fe893ec7
[ "BSD-3-Clause" ]
null
null
null
frites/dataset/ds_fmri.py
StanSStanman/frites
53f4745979dc2e7b27145cd63eab6a82fe893ec7
[ "BSD-3-Clause" ]
null
null
null
"""Dataset representation of fMRI data."""
16.7
42
0.592814
03258bb27ecf65469783680d33009dc1d384c085
1,631
py
Python
shiyanlougithub/shiyanlougithub/spiders/repositories.py
xizhongzhao/challenge10
5cde7722bd4ed4423325bdb4b979b0487b43a734
[ "BSD-3-Clause" ]
null
null
null
shiyanlougithub/shiyanlougithub/spiders/repositories.py
xizhongzhao/challenge10
5cde7722bd4ed4423325bdb4b979b0487b43a734
[ "BSD-3-Clause" ]
null
null
null
shiyanlougithub/shiyanlougithub/spiders/repositories.py
xizhongzhao/challenge10
5cde7722bd4ed4423325bdb4b979b0487b43a734
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- import scrapy from shiyanlougithub.items import RepositoryItem
42.921053
116
0.573268
0326a1642c11c61dec31a86e0466b9ade9a04445
69,686
py
Python
run_pasta_gui.py
koditaraszka/pasta
2f14d5ae5b256ce1cd6bc49e44cc84a7b25be7f9
[ "Python-2.0", "BSD-Source-Code", "OLDAP-2.7" ]
1
2018-06-22T03:27:55.000Z
2018-06-22T03:27:55.000Z
run_pasta_gui.py
kodicollins/pasta
2f14d5ae5b256ce1cd6bc49e44cc84a7b25be7f9
[ "Python-2.0", "BSD-Source-Code", "OLDAP-2.7" ]
null
null
null
run_pasta_gui.py
kodicollins/pasta
2f14d5ae5b256ce1cd6bc49e44cc84a7b25be7f9
[ "Python-2.0", "BSD-Source-Code", "OLDAP-2.7" ]
null
null
null
"""Main script for PASTA GUI on Windows/Mac/Linux """ # This file is part of PASTA which is forked from SATe # PASTA, like SATe is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License...
64.464385
20,662
0.632939
0327834d28dae6fa6a8dee4194786064fc5d39ca
2,676
py
Python
conanfile.py
odant/conan-pion
42b8c2a4cd73572b3ed6b7fa30bb5f6cb8ca9013
[ "MIT" ]
null
null
null
conanfile.py
odant/conan-pion
42b8c2a4cd73572b3ed6b7fa30bb5f6cb8ca9013
[ "MIT" ]
null
null
null
conanfile.py
odant/conan-pion
42b8c2a4cd73572b3ed6b7fa30bb5f6cb8ca9013
[ "MIT" ]
null
null
null
from conans import ConanFile, CMake, tools
39.940299
106
0.616592
0327e21481aa16a562b119df60a16c6b88f569b8
2,735
py
Python
test/20200923_fungar_network.py
CITA-cph/deep-sight
9c60183a5bd1f3b6b930cdba8632c33f38769c0b
[ "Apache-2.0" ]
null
null
null
test/20200923_fungar_network.py
CITA-cph/deep-sight
9c60183a5bd1f3b6b930cdba8632c33f38769c0b
[ "Apache-2.0" ]
null
null
null
test/20200923_fungar_network.py
CITA-cph/deep-sight
9c60183a5bd1f3b6b930cdba8632c33f38769c0b
[ "Apache-2.0" ]
1
2021-12-05T21:59:49.000Z
2021-12-05T21:59:49.000Z
''' Copyright 2020 CITA Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distribute...
26.047619
131
0.636929
032a2f163f17517b205bff3b9e13c1fe8bff958e
2,456
py
Python
old/app/minixs.py
CoCongV/scheduler-service
c16ea8751b7259abe1b6bfa2e8e706aa2ea7e74a
[ "BSD-2-Clause" ]
2
2019-11-18T14:25:04.000Z
2020-08-01T13:16:40.000Z
old/app/minixs.py
CoCongV/scheduler-service
c16ea8751b7259abe1b6bfa2e8e706aa2ea7e74a
[ "BSD-2-Clause" ]
2
2017-02-07T05:33:21.000Z
2017-02-14T02:03:28.000Z
old/app/minixs.py
CoCongV/scheduler-service
c16ea8751b7259abe1b6bfa2e8e706aa2ea7e74a
[ "BSD-2-Clause" ]
2
2017-01-08T08:28:38.000Z
2021-07-20T07:44:36.000Z
from sqlalchemy.inspection import inspect from . import db class Serializer(object): serialized_fields = ()
29.238095
71
0.576954
032a63d36e0c2a21ce1dba31d81de9a446407ad8
2,333
py
Python
decimate_mesh_blender.py
CarolineBao/mouse-brain-atlases_generator
a6e264b86de5fd561a9bfc46cd80c8ac0bb8dab1
[ "MIT" ]
8
2019-07-04T06:48:58.000Z
2020-06-30T19:34:47.000Z
decimate_mesh_blender.py
CarolineBao/mouse-brain-atlases_generator
a6e264b86de5fd561a9bfc46cd80c8ac0bb8dab1
[ "MIT" ]
2
2018-11-15T16:59:29.000Z
2019-02-20T20:25:15.000Z
decimate_mesh_blender.py
CarolineBao/mouse-brain-atlases_generator
a6e264b86de5fd561a9bfc46cd80c8ac0bb8dab1
[ "MIT" ]
5
2019-07-04T06:57:19.000Z
2021-01-13T15:06:49.000Z
import bpy import os import sys import argparse ## Example call from commandline: blender -b -P decimate_mesh_blender.py -- -f mesh.obj -o mesh_dec.obj -r 0.5 -i 2 -n 4 -l 0.5 ## Blender will ignore all options after -- so parameters can be passed to python script. # get the args passed to blender after "--", all of ...
33.328571
127
0.747964
032b982d116fea61d2d02e4210388792536137b0
113
py
Python
Q03__/51_Android_Unlock_Patterns/test.py
hsclinical/leetcode
48a57f6a5d5745199c5685cd2c8f5c4fa293e54a
[ "Apache-2.0" ]
null
null
null
Q03__/51_Android_Unlock_Patterns/test.py
hsclinical/leetcode
48a57f6a5d5745199c5685cd2c8f5c4fa293e54a
[ "Apache-2.0" ]
null
null
null
Q03__/51_Android_Unlock_Patterns/test.py
hsclinical/leetcode
48a57f6a5d5745199c5685cd2c8f5c4fa293e54a
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python from Solution import Solution obj = Solution() A = 1 B = 9 print(obj.numberOfPatterns(A, B))
12.555556
33
0.699115
032d6c600fbcdae76913b5fb1347461373aefd62
96
py
Python
images/MER/create_lexicon.py
nleguillarme/snr_tools_and_methods
0a62b411989289a72b2dbf8e3a60bcdc32306dae
[ "Apache-2.0" ]
2
2021-08-24T14:57:26.000Z
2022-02-07T19:46:48.000Z
images/MER/create_lexicon.py
nleguillarme/snr_tools_and_methods
0a62b411989289a72b2dbf8e3a60bcdc32306dae
[ "Apache-2.0" ]
null
null
null
images/MER/create_lexicon.py
nleguillarme/snr_tools_and_methods
0a62b411989289a72b2dbf8e3a60bcdc32306dae
[ "Apache-2.0" ]
null
null
null
import merpy merpy.create_lexicon_from_file("ncbi.txt", "ncbi") merpy.process_lexicon("ncbi")
16
50
0.78125
032d7af571f68b175085eaef5dc82e7163ae00f8
2,195
py
Python
numba/misc/inspection.py
luk-f-a/numba
3a682bd827e416335e3574bc7b10f0ec69adb701
[ "BSD-2-Clause", "BSD-3-Clause" ]
6,620
2015-01-04T08:51:04.000Z
2022-03-31T12:52:18.000Z
numba/misc/inspection.py
luk-f-a/numba
3a682bd827e416335e3574bc7b10f0ec69adb701
[ "BSD-2-Clause", "BSD-3-Clause" ]
6,457
2015-01-04T03:18:41.000Z
2022-03-31T17:38:42.000Z
numba/misc/inspection.py
luk-f-a/numba
3a682bd827e416335e3574bc7b10f0ec69adb701
[ "BSD-2-Clause", "BSD-3-Clause" ]
930
2015-01-25T02:33:03.000Z
2022-03-30T14:10:32.000Z
"""Miscellaneous inspection tools """ from tempfile import NamedTemporaryFile def disassemble_elf_to_cfg(elf): """ Gets the CFG of the disassembly of an ELF object, elf, and renders it appropriately depending on the execution environment (terminal/notebook). """ try: import r2pipe exce...
35.983607
78
0.542597
032ffdd156f2bdf9468433191d431081b171a1df
107
py
Python
StatisticsFunctions/variance.py
mkm99/TeamProject_StatsCalculator
81085c1af47f38d3e49b43d667e312016c44ad10
[ "MIT" ]
null
null
null
StatisticsFunctions/variance.py
mkm99/TeamProject_StatsCalculator
81085c1af47f38d3e49b43d667e312016c44ad10
[ "MIT" ]
7
2020-03-03T21:37:57.000Z
2020-03-06T04:11:42.000Z
StatisticsFunctions/variance.py
mkm99/TeamProject_StatsCalculator
81085c1af47f38d3e49b43d667e312016c44ad10
[ "MIT" ]
null
null
null
import numpy as np
17.833333
27
0.654206
03330128825e316c2788c0f162c74ade80d2b98f
1,515
py
Python
dtc/message_types/open_orders_request.py
jseparovic/python-ws-dtc-client
fd3952cdaf7ab8c9d5a26ccf53b5e9acb3a9ea0f
[ "Apache-2.0" ]
15
2020-04-26T05:25:53.000Z
2022-02-11T19:38:42.000Z
dtc/message_types/open_orders_request.py
jseparovic/python-ws-dtc-client
fd3952cdaf7ab8c9d5a26ccf53b5e9acb3a9ea0f
[ "Apache-2.0" ]
2
2021-01-08T19:58:08.000Z
2021-11-29T06:08:48.000Z
dtc/message_types/open_orders_request.py
jseparovic/python-ws-dtc-client
fd3952cdaf7ab8c9d5a26ccf53b5e9acb3a9ea0f
[ "Apache-2.0" ]
4
2020-11-23T13:38:01.000Z
2021-12-27T13:21:06.000Z
from dtc.enums.message_types import MessageTypes from lib.base_message_type import BaseMessageType
32.234043
68
0.655446
0334bf455674f8ac3108f4846a7e2037686fb8f7
518
py
Python
apps/decors/urls.py
gurnitha/django-torang-bisa-apa
538c67944b86010832594ffa9558a3b2b41205eb
[ "Unlicense" ]
null
null
null
apps/decors/urls.py
gurnitha/django-torang-bisa-apa
538c67944b86010832594ffa9558a3b2b41205eb
[ "Unlicense" ]
null
null
null
apps/decors/urls.py
gurnitha/django-torang-bisa-apa
538c67944b86010832594ffa9558a3b2b41205eb
[ "Unlicense" ]
null
null
null
# apps/decors/urls.py # Django modules from django.urls import path # Locals from apps.decors import views # Appname app_name = 'decors' urlpatterns = [ # SKILLS CRUD path('create-skill/', views.create_skill, name='create_skill'), path('update-skill/<str:pk>/', views.update_skill, name='update_skill'), path('d...
25.9
78
0.725869
0334e651421abe1c3bbd784b6968c6b9f2211995
762
py
Python
crits/exploits/urls.py
dutrow/crits
6b357daa5c3060cf622d3a3b0c7b41a9ca69c049
[ "MIT" ]
738
2015-01-02T12:39:55.000Z
2022-03-23T11:05:51.000Z
crits/exploits/urls.py
dutrow/crits
6b357daa5c3060cf622d3a3b0c7b41a9ca69c049
[ "MIT" ]
605
2015-01-01T01:03:39.000Z
2021-11-17T18:51:07.000Z
crits/exploits/urls.py
dutrow/crits
6b357daa5c3060cf622d3a3b0c7b41a9ca69c049
[ "MIT" ]
316
2015-01-07T12:35:01.000Z
2022-03-30T04:44:30.000Z
from django.conf.urls import url from . import views urlpatterns = [ url(r'^add/$', views.add_exploit, name='crits-exploits-views-add_exploit'), url(r'^edit/cve/$', views.edit_exploit_cve, name='crits-exploits-views-edit_exploit_cve'), url(r'^edit/name/(?P<id_>\S+)/$', views.edit_exploit_name, name='crits...
54.428571
110
0.708661
0337cfe49357e6f2ed4cb54f4c1e1167ba912c44
3,197
py
Python
cs28_project/cs28/models/grade.py
desuderata/cs28_project
d8e84e2ee30f36ce964370580730396b8c211315
[ "MIT" ]
null
null
null
cs28_project/cs28/models/grade.py
desuderata/cs28_project
d8e84e2ee30f36ce964370580730396b8c211315
[ "MIT" ]
null
null
null
cs28_project/cs28/models/grade.py
desuderata/cs28_project
d8e84e2ee30f36ce964370580730396b8c211315
[ "MIT" ]
1
2021-04-29T15:40:57.000Z
2021-04-29T15:40:57.000Z
"""Grades Model """ from django.core.exceptions import ValidationError from django.db import models from cs28.models import Student from ..convert_to_ttpt import to_ttpt
38.059524
78
0.426337
03381189e2ef61ec33adddf77a23ff4319aaca5b
2,341
py
Python
install.py
Trick-17/arch-installer
7759da8198ec11e695964253217a879d7455ab5f
[ "Unlicense" ]
9
2017-02-18T17:52:31.000Z
2021-03-20T16:42:19.000Z
install.py
Trick-17/arch-installer
7759da8198ec11e695964253217a879d7455ab5f
[ "Unlicense" ]
62
2017-01-01T20:39:52.000Z
2018-02-16T09:39:16.000Z
install.py
GPMueller/arch-installer
7759da8198ec11e695964253217a879d7455ab5f
[ "Unlicense" ]
4
2017-06-12T15:12:55.000Z
2020-08-06T04:05:36.000Z
""" Installs Arch-Linux when called from a live-iso """ import argparse from pyscripts import s000_detect_hardware as hardware from pyscripts import s00_user_input as user_input from pyscripts import s01_partitions as partitions from pyscripts import s02_basic_arch as basic_arch from pyscripts import s03_package_m...
36.015385
72
0.805639
03382a55b841efd94eda18f63d1f8005f449368e
3,276
py
Python
platformio/exception.py
ufo2011/platformio-core
0ceae62701731f8b32c34d7993a34dea34aea59c
[ "Apache-2.0" ]
null
null
null
platformio/exception.py
ufo2011/platformio-core
0ceae62701731f8b32c34d7993a34dea34aea59c
[ "Apache-2.0" ]
null
null
null
platformio/exception.py
ufo2011/platformio-core
0ceae62701731f8b32c34d7993a34dea34aea59c
[ "Apache-2.0" ]
null
null
null
# Copyright (c) 2014-present PlatformIO <contact@platformio.org> # # 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 appli...
23.73913
78
0.703907
03385b75ab65a165d412456332fff78c2821cfeb
310
py
Python
matrix_inverse_using_numpy.py
6895mahfuzgit/Linear_Algebra_for_Machine_Learning
3f266391491d9ab99e53a3547900c6b1bd657af1
[ "Apache-2.0" ]
null
null
null
matrix_inverse_using_numpy.py
6895mahfuzgit/Linear_Algebra_for_Machine_Learning
3f266391491d9ab99e53a3547900c6b1bd657af1
[ "Apache-2.0" ]
null
null
null
matrix_inverse_using_numpy.py
6895mahfuzgit/Linear_Algebra_for_Machine_Learning
3f266391491d9ab99e53a3547900c6b1bd657af1
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Wed Sep 15 23:57:35 2021 @author: Mahfuz_Shazol """ import numpy as np X=np.array([[4,2],[-5,-3]]) X_inv=np.linalg.inv(X) print('Inverse of X ',X_inv) Y=np.array([4,-7]) #w=(X**-1)Y result=np.dot(X_inv,Y) print(result) #Y=Xw result_y=np.dot(X,result) print(result_y)
14.761905
35
0.63871
033abf5e8250b0746a37f8b779c20ccb2929c825
4,385
py
Python
dglib/modules/sampler.py
billzhonggz/Transfer-Learning-Library
d7a6e4298e571d5101e05515a2ab1f171160ef89
[ "MIT" ]
1,474
2020-07-24T02:55:55.000Z
2022-03-31T12:35:56.000Z
dglib/modules/sampler.py
mxliu/Transfer-Learning-Library
7b0ccb3a8087ecc65daf4b1e815e5a3f42106641
[ "MIT" ]
70
2020-08-05T10:47:33.000Z
2022-03-31T03:48:54.000Z
dglib/modules/sampler.py
mxliu/Transfer-Learning-Library
7b0ccb3a8087ecc65daf4b1e815e5a3f42106641
[ "MIT" ]
312
2020-08-01T11:08:39.000Z
2022-03-30T06:03:47.000Z
""" @author: Baixu Chen @contact: cbx_99_hasta@outlook.com """ import random import copy import numpy as np from torch.utils.data.dataset import ConcatDataset from torch.utils.data.sampler import Sampler
38.464912
120
0.65496
033b815efd46e0d1a664d3f11c268118691a5667
315
py
Python
wol/views/pages.py
JleMyP/wol
02693fe79df1628e9fa773bd677bf79114fd4868
[ "WTFPL" ]
null
null
null
wol/views/pages.py
JleMyP/wol
02693fe79df1628e9fa773bd677bf79114fd4868
[ "WTFPL" ]
1
2021-05-09T02:52:10.000Z
2021-05-09T03:35:07.000Z
wol/views/pages.py
JleMyP/wol
02693fe79df1628e9fa773bd677bf79114fd4868
[ "WTFPL" ]
null
null
null
from flask import Blueprint, render_template from ..logic.crud import get_all_targets pages = Blueprint('web', __name__, template_folder='../templates')
26.25
66
0.746032
033d57641b58c038ae7cadfa710f0a8d215d7cc3
8,374
py
Python
orderportal/designs.py
NationalGenomicsInfrastructure/OrderPortal
dc553f499c29dab61fd66622588bb058ee2d8d1f
[ "MIT" ]
4
2018-06-18T15:23:36.000Z
2022-03-09T09:23:26.000Z
orderportal/designs.py
pekrau/OrderPortal
c331d1e387a7de2a3d8235394e628278ee7313e6
[ "MIT" ]
876
2015-01-12T15:16:58.000Z
2022-02-28T12:46:31.000Z
orderportal/designs.py
pekrau/OrderPortal
c331d1e387a7de2a3d8235394e628278ee7313e6
[ "MIT" ]
11
2015-01-13T14:19:56.000Z
2022-03-10T13:14:31.000Z
"CouchDB design documents (view index definitions)." import json import logging import couchdb2 from . import constants from . import settings DESIGNS = dict( account=dict( all=dict(reduce="_count", # account/all map= """function(doc) { if (doc.orderportal_doctype !== 'account') re...
30.562044
82
0.57989
033ea47fa2e5daf9936636fbdb0490a19908fa20
604
py
Python
foxylib/tools/socialmedia/naver/foxylib_naver.py
foxytrixy-com/foxylib
94b8c5b9f8b12423393c68f7d9f910258840ed18
[ "BSD-3-Clause" ]
null
null
null
foxylib/tools/socialmedia/naver/foxylib_naver.py
foxytrixy-com/foxylib
94b8c5b9f8b12423393c68f7d9f910258840ed18
[ "BSD-3-Clause" ]
3
2019-12-12T05:17:44.000Z
2022-03-11T23:40:50.000Z
foxylib/tools/socialmedia/naver/foxylib_naver.py
foxytrixy-com/foxylib
94b8c5b9f8b12423393c68f7d9f910258840ed18
[ "BSD-3-Clause" ]
2
2019-10-16T17:39:34.000Z
2020-02-10T06:32:08.000Z
import os from functools import lru_cache from foxylib.tools.function.function_tool import FunctionTool
27.454545
61
0.751656
033eee1601ff228fa065e21c10453e0401992b25
8,388
py
Python
ensembl/datacheck/client.py
danstaines/ensembl-prodinf
65c51ac7f2dd4fe12b051f417ca252979916798b
[ "Apache-2.0" ]
null
null
null
ensembl/datacheck/client.py
danstaines/ensembl-prodinf
65c51ac7f2dd4fe12b051f417ca252979916798b
[ "Apache-2.0" ]
null
null
null
ensembl/datacheck/client.py
danstaines/ensembl-prodinf
65c51ac7f2dd4fe12b051f417ca252979916798b
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python import argparse import logging import json import re from collections import defaultdict from ensembl.rest_client import RestClient from ensembl.server_utils import assert_mysql_uri, assert_mysql_db_uri if __name__ == '__main__': parser = argparse.ArgumentParser(description='Run datachecks...
43.46114
112
0.602408
034052e3e3d54baafeafaa4d2da6b4e8c641a704
3,867
py
Python
osvc_python/osvc_python_connect.py
rajangdavis/osc_python
c67000d4df246764b0125a06734c926a23952693
[ "MIT" ]
7
2018-06-27T06:42:45.000Z
2021-04-13T00:43:17.000Z
osvc_python/osvc_python_connect.py
rajangdavis/osc_python
c67000d4df246764b0125a06734c926a23952693
[ "MIT" ]
1
2018-05-27T09:38:37.000Z
2018-05-27T09:38:37.000Z
osvc_python/osvc_python_connect.py
rajangdavis/osc_python
c67000d4df246764b0125a06734c926a23952693
[ "MIT" ]
1
2018-05-27T09:37:22.000Z
2018-05-27T09:37:22.000Z
import requests import json from .osvc_python_file_handling import OSvCPythonFileHandler from .osvc_python_config import OSvCPythonConfig from .osvc_python_validations import OSvCPythonValidations from .osvc_python_examples import CLIENT_NOT_DEFINED,CLIENT_NO_INTERFACE_SET_EXAMPLE,CLIENT_NO_USERNAME_SET_EXAMPLE,CLIENT_...
37.182692
146
0.74347
03409362f0901598af4e50547a849c03202fac91
2,263
py
Python
mes_examples/example_remeshing.py
Anthys/slam
30605301b5c1eee2d7093e2343ffb9e3a99af1d7
[ "MIT" ]
null
null
null
mes_examples/example_remeshing.py
Anthys/slam
30605301b5c1eee2d7093e2343ffb9e3a99af1d7
[ "MIT" ]
null
null
null
mes_examples/example_remeshing.py
Anthys/slam
30605301b5c1eee2d7093e2343ffb9e3a99af1d7
[ "MIT" ]
null
null
null
""" .. _example_remeshing: =================================== Remeshing example in slam =================================== """ # Authors: Julien Barrs <julien.barres@etu.univ-amu.fr> # License: BSD (3-clause) # sphinx_gallery_thumbnail_number = 2 ##################################################################...
39.701754
79
0.541759
03426266f83765606d5f857e286527434a18490d
2,812
py
Python
st2common/tests/unit/test_internal_trigger_types_registrar.py
UbuntuEvangelist/st2
36af04f2caa03b396fb8ab00fd6d700e827fda8d
[ "Apache-2.0" ]
1
2020-11-21T10:11:25.000Z
2020-11-21T10:11:25.000Z
st2common/tests/unit/test_internal_trigger_types_registrar.py
UbuntuEvangelist/st2
36af04f2caa03b396fb8ab00fd6d700e827fda8d
[ "Apache-2.0" ]
1
2015-06-08T15:27:11.000Z
2015-06-08T15:27:11.000Z
st2common/tests/unit/test_internal_trigger_types_registrar.py
UbuntuEvangelist/st2
36af04f2caa03b396fb8ab00fd6d700e827fda8d
[ "Apache-2.0" ]
13
2017-01-12T11:07:20.000Z
2019-04-19T09:55:49.000Z
# Licensed to the StackStorm, Inc ('StackStorm') 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 use th...
38
87
0.726885
034307386c24988a91f1bd8dccaf719175b5c671
217
py
Python
pypay/interfaces/PayInterface.py
huangxingx/pypay
4f854554f14593c060d13dc00dfc894f24e60a2c
[ "MIT" ]
1
2019-05-28T09:04:34.000Z
2019-05-28T09:04:34.000Z
pypay/interfaces/PayInterface.py
huangxingx/pypay
4f854554f14593c060d13dc00dfc894f24e60a2c
[ "MIT" ]
null
null
null
pypay/interfaces/PayInterface.py
huangxingx/pypay
4f854554f14593c060d13dc00dfc894f24e60a2c
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # @author: x.huang # @date:29/05/19 import abc
13.5625
42
0.635945
03451faab6c85709efd9d9c1e734436d39041762
29,735
py
Python
sb3.py
monoclecat/SPFlow
3acd8683f05cf1d850fe7d0ebb4e24496050adb4
[ "Apache-2.0" ]
null
null
null
sb3.py
monoclecat/SPFlow
3acd8683f05cf1d850fe7d0ebb4e24496050adb4
[ "Apache-2.0" ]
null
null
null
sb3.py
monoclecat/SPFlow
3acd8683f05cf1d850fe7d0ebb4e24496050adb4
[ "Apache-2.0" ]
null
null
null
import stable_baselines3 as sb3 import gym from stable_baselines3.sac.policies import SACPolicy from stable_baselines3.sac.sac import SAC from stable_baselines3.common.utils import polyak_update from stable_baselines3.common.policies import BasePolicy, register_policy, ContinuousCritic, BaseModel from stable_baselines3...
43.727941
116
0.643383
0345f4f2923bee611d9743fd90090f87573648f8
5,914
py
Python
src/integral_timber_joints/process/compute_process_assembly_tools.py
gramaziokohler/integral_timber_joints
70e75a66e13b5ada580fcffc58879f5fcb8fce32
[ "MIT" ]
3
2021-09-16T13:08:32.000Z
2022-02-21T17:20:21.000Z
src/integral_timber_joints/process/compute_process_assembly_tools.py
gramaziokohler/integral_timber_joints
70e75a66e13b5ada580fcffc58879f5fcb8fce32
[ "MIT" ]
80
2021-09-06T09:55:38.000Z
2022-03-22T18:44:24.000Z
src/integral_timber_joints/process/compute_process_assembly_tools.py
gramaziokohler/integral_timber_joints
70e75a66e13b5ada580fcffc58879f5fcb8fce32
[ "MIT" ]
null
null
null
try: from typing import Dict, List, Optional, Tuple from integral_timber_joints.process import RFLPathPlanner, RobotClampAssemblyProcess except: pass import itertools from copy import deepcopy from compas.geometry import Frame from integral_timber_joints.assembly import Assembly, BeamAssemblyMethod from ...
43.485294
168
0.723537
0346123d4e8b36b1a22364f3527038880f8016ac
231
py
Python
src/apis/image/image/restoration.py
theunifai/unifai-apis-core
1f2a9051c1e3df1bd19a96f22e4a07767ef3973a
[ "MIT" ]
2
2021-11-09T07:18:06.000Z
2022-01-04T19:37:17.000Z
src/apis/image/image/restoration.py
theunifai/unifai-apis-core
1f2a9051c1e3df1bd19a96f22e4a07767ef3973a
[ "MIT" ]
4
2021-11-04T08:28:59.000Z
2021-11-07T05:59:59.000Z
src/apis/image/image/restoration.py
theunifai/unifai-apis-core
1f2a9051c1e3df1bd19a96f22e4a07767ef3973a
[ "MIT" ]
1
2022-01-07T09:12:22.000Z
2022-01-07T09:12:22.000Z
from fastapi import APIRouter from gladia_api_utils.submodules import TaskRouter router = APIRouter() TaskRouter( router=router, input="image", output="image", default_model="bringing-old-photos-back-to-life", )
17.769231
53
0.735931
03472bc113607c9cce24676674e3bde57eee28aa
435
py
Python
path.py
jihuacao/Putil
b753fc94bea4cbda00f483681c55f0e9f54adef2
[ "Apache-2.0" ]
1
2018-12-09T06:09:29.000Z
2018-12-09T06:09:29.000Z
path.py
jihuacao/Putil
b753fc94bea4cbda00f483681c55f0e9f54adef2
[ "Apache-2.0" ]
null
null
null
path.py
jihuacao/Putil
b753fc94bea4cbda00f483681c55f0e9f54adef2
[ "Apache-2.0" ]
null
null
null
import os
27.1875
70
0.650575
0347d78cdbcf07e87eb4636ff1c0bcb164181fcc
3,393
py
Python
views/views_users.py
SideShowBoBGOT/EPAM-project
f96ce88c81a8c075daafc6f37b4df47186395320
[ "Unlicense" ]
1
2021-12-04T21:46:12.000Z
2021-12-04T21:46:12.000Z
views/views_users.py
SideShowBoBGOT/EPAM-project
f96ce88c81a8c075daafc6f37b4df47186395320
[ "Unlicense" ]
null
null
null
views/views_users.py
SideShowBoBGOT/EPAM-project
f96ce88c81a8c075daafc6f37b4df47186395320
[ "Unlicense" ]
null
null
null
""" Module contains all functions working on users page. Functions: users_page() edit_user(id) delete_user(id) check_session() """ import os import sys import urllib.parse from flask_login import login_user, login_required from flask import render_template, request, redirect, Blueprint, session sys.pa...
35.715789
126
0.639257
0348b3151492f1bf80185687c781237ee59205a5
1,722
py
Python
polls/migrations/0001_initial.py
zzZ5/compost
00cc2cbc74df6626e07072c8c1e638ffd9bac8f1
[ "MIT" ]
1
2020-11-28T00:06:06.000Z
2020-11-28T00:06:06.000Z
polls/migrations/0001_initial.py
zzZ5/compost
00cc2cbc74df6626e07072c8c1e638ffd9bac8f1
[ "MIT" ]
null
null
null
polls/migrations/0001_initial.py
zzZ5/compost
00cc2cbc74df6626e07072c8c1e638ffd9bac8f1
[ "MIT" ]
null
null
null
# Generated by Django 3.0.8 on 2020-11-23 11:30 from django.db import migrations, models import django.db.models.deletion
35.875
116
0.542973
0348d60d31e7478967314ca6fb318726da997b7d
2,644
py
Python
models/python/hypothalamus/dynamical/miro_experiments/recurrent_3_mot.py
ABRG-Models/MammalBot
0b153232b94197c7a65156c1c3451ab2b9f725ae
[ "MIT" ]
null
null
null
models/python/hypothalamus/dynamical/miro_experiments/recurrent_3_mot.py
ABRG-Models/MammalBot
0b153232b94197c7a65156c1c3451ab2b9f725ae
[ "MIT" ]
null
null
null
models/python/hypothalamus/dynamical/miro_experiments/recurrent_3_mot.py
ABRG-Models/MammalBot
0b153232b94197c7a65156c1c3451ab2b9f725ae
[ "MIT" ]
null
null
null
import numpy as np import matplotlib.pyplot as plt N = 100 T = 20000 # nonlinearilties qg= 0.950997659088 xg= 26.594968159566278 bg= 0.2818239551304378 A= 3.5505937843746906 qf= 0.8274882807912485 xf= 26.594968159566278 bf= 0.2818239551304378 # Presynaptic nonlinearity # Postsynaptic nonlinearity beta = 0.82 rm = 7...
22.793103
109
0.541982
034a4644f850ec4608521c4cd8964398f1f171f6
7,094
py
Python
laceworksdk/api/v2/vulnerability_policies.py
alannix-lw/python-sdk
2f4f189de6aa5e6a2cfd27314d69d8a27814d6c0
[ "MIT" ]
2
2020-09-08T20:42:05.000Z
2020-09-09T14:27:55.000Z
laceworksdk/api/v2/vulnerability_policies.py
alannix-lw/lacework-python-sdk
2f4f189de6aa5e6a2cfd27314d69d8a27814d6c0
[ "MIT" ]
null
null
null
laceworksdk/api/v2/vulnerability_policies.py
alannix-lw/lacework-python-sdk
2f4f189de6aa5e6a2cfd27314d69d8a27814d6c0
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Lacework VulnerabilityPolicies API wrapper. """ from laceworksdk.api.crud_endpoint import CrudEndpoint
38.765027
104
0.591063
034b34fdf1049f91f02d84b8a1eb633f22e1bc51
2,044
py
Python
fabfile.py
clemsos/fabric-node-deploy
496ea7373db4303d41c9da9b0d5bee9c76fdfc94
[ "CC0-1.0" ]
null
null
null
fabfile.py
clemsos/fabric-node-deploy
496ea7373db4303d41c9da9b0d5bee9c76fdfc94
[ "CC0-1.0" ]
null
null
null
fabfile.py
clemsos/fabric-node-deploy
496ea7373db4303d41c9da9b0d5bee9c76fdfc94
[ "CC0-1.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- from fabric.api import * from fabric.contrib import files import os from settings import * # create RUN_DIR=os.path.join(HOME_DIR, "run") LOG_DIR=os.path.join(HOME_DIR, "log") REMOTE_REPO_DIR = os.path.join(HOME_DIR, APP_NAME) OUT_LOG_FILE = os.path.join(LOG_DIR, 'out.lo...
25.55
128
0.624266
034b5a11a5878a75f302c173807ce0e05e487714
23,482
py
Python
fhir/resources/STU3/tests/test_contract.py
mmabey/fhir.resources
cc73718e9762c04726cd7de240c8f2dd5313cbe1
[ "BSD-3-Clause" ]
null
null
null
fhir/resources/STU3/tests/test_contract.py
mmabey/fhir.resources
cc73718e9762c04726cd7de240c8f2dd5313cbe1
[ "BSD-3-Clause" ]
null
null
null
fhir/resources/STU3/tests/test_contract.py
mmabey/fhir.resources
cc73718e9762c04726cd7de240c8f2dd5313cbe1
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- """ Profile: http://hl7.org/fhir/StructureDefinition/Contract Release: STU3 Version: 3.0.2 Revision: 11917 Last updated: 2019-10-24T11:53:00+11:00 """ import io import json import os import unittest import pytest from .. import contract from ..fhirdate import FHIRDate from .fixtures import fo...
41.052448
115
0.609744
034c61f2ec91791e279171ab1057dcc1dc8de021
315
py
Python
restapi/project/urls.py
shuvro/docker-django-postgres-pgadmin
75c03739345a8cc03b9ec25a2773edbe327bab23
[ "MIT" ]
1
2022-02-15T02:08:26.000Z
2022-02-15T02:08:26.000Z
restapi/project/urls.py
shuvro/docker-django-postgres-pgadmin
75c03739345a8cc03b9ec25a2773edbe327bab23
[ "MIT" ]
null
null
null
restapi/project/urls.py
shuvro/docker-django-postgres-pgadmin
75c03739345a8cc03b9ec25a2773edbe327bab23
[ "MIT" ]
null
null
null
from django.contrib import admin from django.urls import path # See: https://docs.djangoproject.com/en/dev/ref/contrib/admin/#hooking-adminsite-instances-into-your-urlconf admin.autodiscover() # See: https://docs.djangoproject.com/en/dev/topics/http/urls/ urlpatterns = [ path('admin/', admin.site.urls), ]
24.230769
109
0.752381
034c768e8ff9942fe59487947e87279a28ca2e45
1,795
py
Python
alipay/aop/api/domain/AntMerchantExpandIndirectTiansuoBindModel.py
snowxmas/alipay-sdk-python-all
96870ced60facd96c5bce18d19371720cbda3317
[ "Apache-2.0" ]
213
2018-08-27T16:49:32.000Z
2021-12-29T04:34:12.000Z
alipay/aop/api/domain/AntMerchantExpandIndirectTiansuoBindModel.py
snowxmas/alipay-sdk-python-all
96870ced60facd96c5bce18d19371720cbda3317
[ "Apache-2.0" ]
29
2018-09-29T06:43:00.000Z
2021-09-02T03:27:32.000Z
alipay/aop/api/domain/AntMerchantExpandIndirectTiansuoBindModel.py
snowxmas/alipay-sdk-python-all
96870ced60facd96c5bce18d19371720cbda3317
[ "Apache-2.0" ]
59
2018-08-27T16:59:26.000Z
2022-03-25T10:08:15.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.constant.ParamConstants import * from alipay.aop.api.domain.TiansuoIsvBindVO import TiansuoIsvBindVO
33.867925
93
0.643454
034d20fd175ab2693519395e5e5f96e1611dc15d
100
py
Python
chain/p2p/start.py
tsifrer/ark
c678091e226d79fabe4a2c554e1d8e704a5b5cec
[ "MIT" ]
5
2019-02-01T01:22:27.000Z
2019-05-24T12:20:38.000Z
chain/p2p/start.py
tsifrer/ark
c678091e226d79fabe4a2c554e1d8e704a5b5cec
[ "MIT" ]
15
2019-03-29T13:12:10.000Z
2019-08-25T19:19:35.000Z
chain/p2p/start.py
tsifrer/ark
c678091e226d79fabe4a2c554e1d8e704a5b5cec
[ "MIT" ]
4
2019-01-31T13:52:03.000Z
2020-08-12T02:12:03.000Z
from chain.p2p.websocket_server import start_server if __name__ == "__main__": start_server()
16.666667
51
0.76
034fa6ded90557498bcdef8c5839aba68d6f2667
3,260
py
Python
VOCgrowth/EarlyOmicronEstimate/extractsgtf.py
alex1770/Covid-19
0212593bf5d9bcbb7009c7d1fb1710116ad8bf32
[ "MIT" ]
5
2021-06-26T09:22:45.000Z
2021-12-20T21:29:22.000Z
VOCgrowth/EarlyOmicronEstimate/extractsgtf.py
alex1770/Covid-19
0212593bf5d9bcbb7009c7d1fb1710116ad8bf32
[ "MIT" ]
1
2021-12-21T09:45:17.000Z
2021-12-21T09:45:17.000Z
VOCgrowth/EarlyOmicronEstimate/extractsgtf.py
alex1770/Covid-19
0212593bf5d9bcbb7009c7d1fb1710116ad8bf32
[ "MIT" ]
2
2021-06-25T18:27:56.000Z
2021-12-12T17:49:31.000Z
from stuff import * # Get weekday pattern from case data in order to identify exact date on SGTF graph # 0 mod 7 is Thursday in daytodate notation (being 1970-01-01) nc={} with open('SAcases','r') as fp: for x in fp: y=x.split() nc[datetoday(y[0])]=int(y[1]) minday=min(nc) maxday=max(nc) c0=[0]*7 c1=[0]*7 f...
25.271318
127
0.62546
0350b1c01f134ae5fd6651b2be6c408686aa20ca
271
py
Python
pytimize/programs/__init__.py
TerrayTM/pytimize
5d3508e8da4d2e6c8e52d3386b580bc300dc52d5
[ "Apache-2.0" ]
10
2020-02-24T01:52:20.000Z
2022-03-12T02:50:58.000Z
pytimize/programs/__init__.py
TerrayTM/pytimize
5d3508e8da4d2e6c8e52d3386b580bc300dc52d5
[ "Apache-2.0" ]
null
null
null
pytimize/programs/__init__.py
TerrayTM/pytimize
5d3508e8da4d2e6c8e52d3386b580bc300dc52d5
[ "Apache-2.0" ]
2
2021-10-03T22:18:47.000Z
2021-10-03T22:19:27.000Z
from ._linear import LinearProgram from ._integer import IntegerProgram from ._nonlinear import NonlinearProgram from ._unconstrained import UnconstrainedProgram __all__ = [ "LinearProgram", "IntegerProgram", "NonlinearProgram", "UnconstrainedProgram" ]
22.583333
48
0.782288
035243c41a2fb6bdd10ac6c5768361efd5db9457
1,147
py
Python
komoog/paths.py
benmaier/komoog
5b6613a5ba31c71be28f2642681cb01c2cb67e41
[ "MIT" ]
2
2021-10-05T20:03:42.000Z
2021-10-07T12:13:19.000Z
komoog/paths.py
benmaier/komoog
5b6613a5ba31c71be28f2642681cb01c2cb67e41
[ "MIT" ]
null
null
null
komoog/paths.py
benmaier/komoog
5b6613a5ba31c71be28f2642681cb01c2cb67e41
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Path handling """ import pathlib from pathlib import Path import simplejson as json customdir = Path.home() / ".komoog" def get_credentials(): """ Returns credentials for komoot login in structure .. code:: python { "email" : "", "password" :...
20.854545
87
0.529207
035551f0a9a617df3389602faaf9e463c1e8ab39
677
py
Python
test/py/boundary/test01.py
Ahdhn/lar-cc
7092965acf7c0c78a5fab4348cf2c2aa01c4b130
[ "MIT", "Unlicense" ]
1
2021-06-10T02:06:27.000Z
2021-06-10T02:06:27.000Z
test/py/boundary/test01.py
Ahdhn/lar-cc
7092965acf7c0c78a5fab4348cf2c2aa01c4b130
[ "MIT", "Unlicense" ]
1
2018-02-20T21:57:07.000Z
2018-02-21T07:18:11.000Z
test/py/boundary/test01.py
Ahdhn/lar-cc
7092965acf7c0c78a5fab4348cf2c2aa01c4b130
[ "MIT", "Unlicense" ]
7
2016-11-04T10:47:42.000Z
2018-04-10T17:32:50.000Z
""" testing boundary operators (correct result) """ from larlib import * filename = "test/svg/inters/boundarytest0.svg" lines = svg2lines(filename) VIEW(STRUCT(AA(POLYLINE)(lines))) V,FV,EV,polygons = larFromLines(lines) VV = AA(LIST)(range(len(V))) submodel = STRUCT(MKPOLS((V,EV))) VIEW(larModelNumbering(1,1,1)(...
32.238095
78
0.685377
0355c21295e2d5034326c23469124c4e375d7a0d
6,697
py
Python
source/mcl_launcher.py
MChenLiang/pipelineLauncher
998ec4c20726b967f8fe6523c94df9d2c3f83237
[ "MIT" ]
3
2022-03-26T23:40:11.000Z
2022-03-27T01:06:52.000Z
source/mcl_launcher.py
MChenLiang/pipelineLauncher
998ec4c20726b967f8fe6523c94df9d2c3f83237
[ "MIT" ]
null
null
null
source/mcl_launcher.py
MChenLiang/pipelineLauncher
998ec4c20726b967f8fe6523c94df9d2c3f83237
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding:UTF-8 -*- # @email : spirit_az@foxmail.com __author__ = 'ChenLiang.Miao' # +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ # from .message_button import MessageCtrlLabel, MessageLabels from .software_frame import Pic...
35.247368
119
0.648947
03580ce1c1f6b4456135185f251c6a3e02b6a675
610
py
Python
criterium/urls.py
andywar65/rp_repo
726c1426d738b962cabeabd8995aa35767df0c41
[ "BSD-2-Clause" ]
null
null
null
criterium/urls.py
andywar65/rp_repo
726c1426d738b962cabeabd8995aa35767df0c41
[ "BSD-2-Clause" ]
null
null
null
criterium/urls.py
andywar65/rp_repo
726c1426d738b962cabeabd8995aa35767df0c41
[ "BSD-2-Clause" ]
null
null
null
from django.urls import path from .views import (RaceDetailView, RaceRedirectView, CorrectRedirectView, RaceListView, RaceListAthleteView) app_name = 'criterium' urlpatterns = [ path('', RaceRedirectView.as_view(), name = 'all_editions'), path('<int:year>/', CorrectRedirectView.as_view(), name = 'correct_e...
43.571429
84
0.680328
03583e640a9336d584e45b640cc0d9f1eb8ebe69
2,266
py
Python
Py2048_Engine/Test.py
http-samc/2048.py
f68704e6ef47473c5b2cdc55c0880ea6b5fe147a
[ "MIT" ]
null
null
null
Py2048_Engine/Test.py
http-samc/2048.py
f68704e6ef47473c5b2cdc55c0880ea6b5fe147a
[ "MIT" ]
null
null
null
Py2048_Engine/Test.py
http-samc/2048.py
f68704e6ef47473c5b2cdc55c0880ea6b5fe147a
[ "MIT" ]
null
null
null
""" Test.py 10/10/2021 MIT License Copyright (c) 2021 http-samc Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights...
37.147541
112
0.650044
0358bad369ac30bcb876f6ad3eac9566fac65812
40,713
py
Python
rest_gae/rest_gae.py
emarinizquierdo/xentinels
596b51c332543bae1fb8ce2d1d271ebe05a117dc
[ "Apache-2.0" ]
56
2015-02-25T02:04:59.000Z
2020-06-10T06:00:04.000Z
rest_gae/rest_gae.py
emarinizquierdo/xentinels
596b51c332543bae1fb8ce2d1d271ebe05a117dc
[ "Apache-2.0" ]
5
2016-01-25T06:55:53.000Z
2016-08-27T12:29:03.000Z
rest_gae/rest_gae.py
emarinizquierdo/xentinels
596b51c332543bae1fb8ce2d1d271ebe05a117dc
[ "Apache-2.0" ]
13
2015-01-11T15:25:03.000Z
2018-02-27T19:27:27.000Z
""" Wraps NDB models and provided REST APIs (GET/POST/PUT/DELETE) arounds them. Fully supports permissions. Some code is taken from: https://github.com/abahgat/webapp2-user-accounts """ import importlib import json import re from urlparse import urlparse from datetime import datetime, time, date from urllib import u...
41.375
189
0.618034
035910a3b54e8e63dbf7c45064c2b9b84557a159
982
py
Python
leetcode/medium/1396-Design_underground.py
shubhamoli/practice
5a24fdeb6e5f43b821ef0510fe3b343ddda18f22
[ "MIT" ]
1
2020-02-25T10:32:27.000Z
2020-02-25T10:32:27.000Z
leetcode/medium/1396-Design_underground.py
shubhamoli/practice
5a24fdeb6e5f43b821ef0510fe3b343ddda18f22
[ "MIT" ]
null
null
null
leetcode/medium/1396-Design_underground.py
shubhamoli/practice
5a24fdeb6e5f43b821ef0510fe3b343ddda18f22
[ "MIT" ]
null
null
null
""" Leetcode #1396 """ from collections import defaultdict if __name__ == "__main__": # Your UndergroundSystem object will be instantiated and called as such: obj = UndergroundSystem() obj.checkIn(5,"A",8) obj.checkIn(6,"A",8) obj.checkOut(5,"C",10) obj.checkOut(6,"D",11) assert ...
25.842105
76
0.639511
035a3527627af4d6489387bc138be77681de609c
387
py
Python
bireme/account/admin.py
bireme/feedback
118018a846afcb373451593cea1c2200e44e2057
[ "MIT", "Apache-2.0", "BSD-3-Clause" ]
null
null
null
bireme/account/admin.py
bireme/feedback
118018a846afcb373451593cea1c2200e44e2057
[ "MIT", "Apache-2.0", "BSD-3-Clause" ]
null
null
null
bireme/account/admin.py
bireme/feedback
118018a846afcb373451593cea1c2200e44e2057
[ "MIT", "Apache-2.0", "BSD-3-Clause" ]
null
null
null
from django.contrib import admin from django.contrib.auth.models import User from django.contrib.auth.admin import UserAdmin from models import UserProfile admin.site.unregister(User) admin.site.register(User, UserProfileAdmin)
25.8
47
0.79845
035b33760396ff2556a140be777ee24c66f14e84
2,808
py
Python
post_processing/default_config.py
5trobl/oaisys
e52e3b0e64e5c4f57963e4aabb07946930f62299
[ "MIT" ]
null
null
null
post_processing/default_config.py
5trobl/oaisys
e52e3b0e64e5c4f57963e4aabb07946930f62299
[ "MIT" ]
1
2021-11-22T15:42:37.000Z
2021-11-22T15:42:37.000Z
post_processing/default_config.py
5trobl/oaisys
e52e3b0e64e5c4f57963e4aabb07946930f62299
[ "MIT" ]
null
null
null
from yacs.config import CfgNode as CN _C = CN(new_allowed=True) ############### # General ############### _C.FORMAT = "" # this defines the data format. it is recommended to leave this blank and define it via the cmd-line; ["coco", "hdf5"] _C.BASE_PATH="" # absolute path to the rendered image batches _C.BATCH_GLOB="b...
47.59322
214
0.712963
035c251c4c248ccb50b1534a85f228e49bcae5e4
4,431
py
Python
gallery/mode/photo_manager.py
bob-chen/gallery
623c522bee7b6a469c3ef89396cabd1ac25dec46
[ "MIT" ]
null
null
null
gallery/mode/photo_manager.py
bob-chen/gallery
623c522bee7b6a469c3ef89396cabd1ac25dec46
[ "MIT" ]
null
null
null
gallery/mode/photo_manager.py
bob-chen/gallery
623c522bee7b6a469c3ef89396cabd1ac25dec46
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- ''' Created on Mar 19, 2015 @author: Bob.Chen ''' import sys import urllib2 import time from PIL import Image from constant import PHOTO_DATA_ROOT from common import Logger, RandomID, getPhotoUrl, getPhotoPath from error_api import Err from gallery.models import Photo from StringIO import Strin...
35.166667
116
0.536448
035c304f1ec69e91d20acd5f0e289d4926d45369
15,494
py
Python
megastone/rsp/server.py
giltom/megastone
0ef02c724d53acf7a06430f58bc5f777676d78a9
[ "MIT" ]
2
2021-04-03T01:55:09.000Z
2021-04-12T15:12:10.000Z
megastone/rsp/server.py
giltom/megastone
0ef02c724d53acf7a06430f58bc5f777676d78a9
[ "MIT" ]
null
null
null
megastone/rsp/server.py
giltom/megastone
0ef02c724d53acf7a06430f58bc5f777676d78a9
[ "MIT" ]
null
null
null
from megastone.util import round_up import threading import logging import io import enum import dataclasses import abc from megastone.errors import UnsupportedError from megastone.mem import SegmentMemory, MemoryAccessError from megastone.debug import Debugger, StopReason, StopType, HookType, CPUError, InvalidInsnErr...
34.507795
141
0.616368
035eef11fbf5d60293a71487c390191332e516a1
1,140
py
Python
hddcoin/hodl/cli/cmd_profits.py
u4ma-hdd/hddcoin-blockchain
4199d1f1d87e129ae9c08bf50dd48ec3b2c08727
[ "Apache-2.0" ]
37
2021-07-08T23:42:01.000Z
2022-03-26T21:30:10.000Z
hddcoin/hodl/cli/cmd_profits.py
u4ma-hdd/hddcoin-blockchain
4199d1f1d87e129ae9c08bf50dd48ec3b2c08727
[ "Apache-2.0" ]
13
2021-07-11T15:12:01.000Z
2022-03-15T08:36:18.000Z
hddcoin/hodl/cli/cmd_profits.py
u4ma-hdd/hddcoin-blockchain
4199d1f1d87e129ae9c08bf50dd48ec3b2c08727
[ "Apache-2.0" ]
19
2021-07-10T14:09:07.000Z
2022-03-14T11:17:05.000Z
# -*- coding: utf-8 -*- from __future__ import annotations import decimal import json import blspy #type:ignore from hddcoin.hodl.hodlrpc import HodlRpcClient from hddcoin.hodl.util import vlog from .colours import * from .colours import _
35.625
100
0.652632
035f297f282425999f86e647db2ed349dc9460e1
3,017
py
Python
test_topology.py
rammses/onos_tests
d74e775de71f615a5526fd3bd35679c7c3f55f33
[ "Apache-2.0" ]
null
null
null
test_topology.py
rammses/onos_tests
d74e775de71f615a5526fd3bd35679c7c3f55f33
[ "Apache-2.0" ]
null
null
null
test_topology.py
rammses/onos_tests
d74e775de71f615a5526fd3bd35679c7c3f55f33
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python from mininet.topo import Topo from mininet.cli import CLI from mininet.net import Mininet from mininet.util import dumpNodeConnections from mininet.log import setLogLevel from mininet.node import RemoteController # Traffic Control from mininet.link import TCLink REMOTE_CONTROLLER_IP = "172.21.22....
28.196262
77
0.629102
0360cafecaaa9455d7d33a8861e7c648c65fee2c
9,049
py
Python
PyObjCTest/test_nsimage.py
Khan/pyobjc-framework-Cocoa
f8b015ea2a72d8d78be6084fb12925c4785b8f1f
[ "MIT" ]
132
2015-01-01T10:02:42.000Z
2022-03-09T12:51:01.000Z
mac/pyobjc-framework-Cocoa/PyObjCTest/test_nsimage.py
mba811/music-player
7998986b34cfda2244ef622adefb839331b81a81
[ "BSD-2-Clause" ]
6
2015-01-06T08:23:19.000Z
2019-03-14T12:22:06.000Z
mac/pyobjc-framework-Cocoa/PyObjCTest/test_nsimage.py
mba811/music-player
7998986b34cfda2244ef622adefb839331b81a81
[ "BSD-2-Clause" ]
27
2015-02-23T11:51:43.000Z
2022-03-07T02:34:18.000Z
from PyObjCTools.TestSupport import * import AppKit from AppKit import * try: unicode except NameError: unicode = str if __name__ == "__main__": main()
53.229412
121
0.766162
0362e3e2a8505146a18fa8d1c03cc3f8125b8048
274
py
Python
go/apps/access_mobile_http_api/__init__.py
lynnUg/vumi-go
852f906c46d5d26940bd6699f11488b73bbc3742
[ "BSD-3-Clause" ]
null
null
null
go/apps/access_mobile_http_api/__init__.py
lynnUg/vumi-go
852f906c46d5d26940bd6699f11488b73bbc3742
[ "BSD-3-Clause" ]
null
null
null
go/apps/access_mobile_http_api/__init__.py
lynnUg/vumi-go
852f906c46d5d26940bd6699f11488b73bbc3742
[ "BSD-3-Clause" ]
null
null
null
from zope.interface import implements from twisted.cred import portal, checkers, credentials, error from twisted.internet.defer import inlineCallbacks, returnValue from twisted.web import resource from twisted.web.guard import HTTPAuthSessionWrapper, BasicCredentialFactory
45.666667
76
0.864964
03642e9e3466527576804e20735a32e86832776d
3,337
py
Python
app/content/streamlit_examples_radio.py
thatscotdatasci/streamlit-example
4d944085be7e30ea3fa9129d5ca16aa2aaf04e78
[ "MIT" ]
null
null
null
app/content/streamlit_examples_radio.py
thatscotdatasci/streamlit-example
4d944085be7e30ea3fa9129d5ca16aa2aaf04e78
[ "MIT" ]
null
null
null
app/content/streamlit_examples_radio.py
thatscotdatasci/streamlit-example
4d944085be7e30ea3fa9129d5ca16aa2aaf04e78
[ "MIT" ]
1
2020-01-04T20:23:19.000Z
2020-01-04T20:23:19.000Z
import time import numpy as np import pandas as pd import streamlit as st from app.abstract_classes.abstract_navigation_radio import AbstractNavigationRadio
31.780952
125
0.552592
03658fd44f182cf1f9d458475f8bbe4dd7239ccc
4,149
py
Python
src/vgf/lego_alpha_team/cli_main.py
Robmaister/VideoGameFormats
7676dde9ffaee036ba71526d8a09ee36474631e4
[ "MIT" ]
1
2019-07-21T17:46:28.000Z
2019-07-21T17:46:28.000Z
src/vgf/lego_alpha_team/cli_main.py
Robmaister/VideoGameFormats
7676dde9ffaee036ba71526d8a09ee36474631e4
[ "MIT" ]
null
null
null
src/vgf/lego_alpha_team/cli_main.py
Robmaister/VideoGameFormats
7676dde9ffaee036ba71526d8a09ee36474631e4
[ "MIT" ]
null
null
null
#Copyright (c) 2012 Robert Rouhani <robert.rouhani@gmail.com> # #Permission is hereby granted, free of charge, to any person obtaining a copy #of this software and associated documentation files (the "Software"), to deal #in the Software without restriction, including without limitation the rights #to use, copy, modify...
38.416667
96
0.610991
03668cf9440c38ae185dd40a3ea4d789b11c3bec
4,021
py
Python
supersaver/common/utils/datetime.py
ftkghost/SuperSaver
04d1f19c309b35b540f056ad9a4796225f97cb76
[ "BSD-2-Clause" ]
null
null
null
supersaver/common/utils/datetime.py
ftkghost/SuperSaver
04d1f19c309b35b540f056ad9a4796225f97cb76
[ "BSD-2-Clause" ]
1
2018-08-12T12:50:17.000Z
2018-08-12T12:50:17.000Z
supersaver/common/utils/datetime.py
ftkghost/SuperSaver
04d1f19c309b35b540f056ad9a4796225f97cb76
[ "BSD-2-Clause" ]
null
null
null
from datetime import tzinfo, timedelta, datetime from dateutil.zoneinfo import getzoneinfofile_stream, ZoneInfoFile EPOCH_TIME = datetime.utcfromtimestamp(0).replace(tzinfo=UTC()) def from_client_timestamp(timestamp): """ Convert timestamp from client to UTC datetime. :param timestamp: timestamp f...
29.785185
113
0.730415
03697735af293ef7d2a1b016a34423010eccc106
523
py
Python
visualize/colors.py
victorkitov/common
ef0ee1afc5df55c4cdc851a7e59f8cb3d35e61b0
[ "MIT" ]
1
2020-06-14T17:44:07.000Z
2020-06-14T17:44:07.000Z
visualize/colors.py
victorkitov/common
ef0ee1afc5df55c4cdc851a7e59f8cb3d35e61b0
[ "MIT" ]
null
null
null
visualize/colors.py
victorkitov/common
ef0ee1afc5df55c4cdc851a7e59f8cb3d35e61b0
[ "MIT" ]
null
null
null
# A set of distinct colors for visualization purposes. # Author: Victor Kitov (v.v.kitov@yandex.ru), 03.2016 from pylab import * # this is a set of well distinguishable colors. Useful for visualizing many graphs on one plot. COLORS=[[0,0.5,1],[1,0,0],[0.2,1,0],[1,0.5,0],[1,0,1],[0.5,0.5,0.5],[0.5,0,1],[1,1,0],[...
34.866667
126
0.611855
036b1145e2ee5dde6cb595f92210041e3ac7a639
1,538
py
Python
asm.py
Syntox32/LittleMan
ce21dd6f810d4809ccc92efc7a84adfc2a55cde4
[ "MIT" ]
4
2016-11-03T13:16:42.000Z
2021-02-06T17:58:06.000Z
asm.py
Syntox32/LittleMan
ce21dd6f810d4809ccc92efc7a84adfc2a55cde4
[ "MIT" ]
null
null
null
asm.py
Syntox32/LittleMan
ce21dd6f810d4809ccc92efc7a84adfc2a55cde4
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # Les inn et tall og skriv det ut igjen demo1 = [ 901, 902, 0 ] # Les inn to tall og skriv ut summen demo2 = [ 901, 306, 901, 106, 902, 0, 0 ] # Demo ... hva er dette? demo3 = [ 505, 902, 105, 305, 601, 1 ] # Les inn maxverdi og skriv ut Fibonaccitallene mindre eller lik maxverdi demo4 = [ 90...
25.633333
73
0.453186
036da201f76a97f3bd6dd5bdbe4284b68396ee50
463
py
Python
19. Backtracking/subsets of an array.py
Ujjawalgupta42/Hacktoberfest2021-DSA
eccd9352055085973e3d6a1feb10dd193905584b
[ "MIT" ]
225
2021-10-01T03:09:01.000Z
2022-03-11T11:32:49.000Z
19. Backtracking/subsets of an array.py
Ujjawalgupta42/Hacktoberfest2021-DSA
eccd9352055085973e3d6a1feb10dd193905584b
[ "MIT" ]
252
2021-10-01T03:45:20.000Z
2021-12-07T18:32:46.000Z
19. Backtracking/subsets of an array.py
Ujjawalgupta42/Hacktoberfest2021-DSA
eccd9352055085973e3d6a1feb10dd193905584b
[ "MIT" ]
911
2021-10-01T02:55:19.000Z
2022-02-06T09:08:37.000Z
#Input: nums = [1,2,3] #Output: [[],[1],[2],[1,2],[3],[1,3],[2,3],[1,2,3]]
28.9375
56
0.492441
036ebafb997ebc95f92ce5c17998b441855f6cda
4,650
py
Python
demos/visualize_feeder_feature_correlation.py
AlexanderHoogsteyn/PhaseIdentification
0ef49456e16dbc5481c324b1ae7340518e1511b6
[ "MIT" ]
1
2020-11-10T09:18:36.000Z
2020-11-10T09:18:36.000Z
demos/visualize_feeder_feature_correlation.py
AlexanderHoogsteyn/PhaseIdentification
0ef49456e16dbc5481c324b1ae7340518e1511b6
[ "MIT" ]
null
null
null
demos/visualize_feeder_feature_correlation.py
AlexanderHoogsteyn/PhaseIdentification
0ef49456e16dbc5481c324b1ae7340518e1511b6
[ "MIT" ]
null
null
null
import sys from os.path import dirname sys.path.append(dirname("../src/")) from src.PhaseIdentification.common import * from src.VisualizePhaseIdentification.visualization import * from src.PhaseIdentification.voltageBasedPhaseIdentification import * from src.PhaseIdentification.powerBasedPhaseIdentification import * ...
39.40678
122
0.72086
0372470bd73314dd6de4de8ad09ee2efbf1ce927
1,138
py
Python
src/sage/manifolds/differentiable/examples/symplectic_space_test.py
UCD4IDS/sage
43474c96d533fd396fe29fe0782d44dc7f5164f7
[ "BSL-1.0" ]
null
null
null
src/sage/manifolds/differentiable/examples/symplectic_space_test.py
UCD4IDS/sage
43474c96d533fd396fe29fe0782d44dc7f5164f7
[ "BSL-1.0" ]
null
null
null
src/sage/manifolds/differentiable/examples/symplectic_space_test.py
UCD4IDS/sage
43474c96d533fd396fe29fe0782d44dc7f5164f7
[ "BSL-1.0" ]
null
null
null
import sage.all from sage.manifolds.differentiable.symplectic_form import SymplecticForm from sage.manifolds.differentiable.examples.symplectic_space import ( StandardSymplecticSpace, ) import pytest class TestR4VectorSpace: def test_repr(self, M: StandardSymplecticSpace): assert str(M) == "Standard...
29.179487
72
0.705624
03731b307ec6331bb69d499df497733f21d49ef0
305
py
Python
tests/test_version.py
marten-cz/citools
452251b376c48bc8a9e1a8666d892a8e5a309108
[ "MIT" ]
null
null
null
tests/test_version.py
marten-cz/citools
452251b376c48bc8a9e1a8666d892a8e5a309108
[ "MIT" ]
null
null
null
tests/test_version.py
marten-cz/citools
452251b376c48bc8a9e1a8666d892a8e5a309108
[ "MIT" ]
null
null
null
import click from click.testing import CliRunner from cctools.commands.version.commands import cli
27.727273
89
0.695082
0376082e779134a1cfd1d21bad8dbefb223c3b31
8,507
py
Python
reversi/test/ReversiPlayTest.py
yuta-yoshinaga/ReversiPython
8004d68041fd6a15ea6dafefa8a4344b7a1724ef
[ "MIT" ]
1
2018-11-21T14:49:24.000Z
2018-11-21T14:49:24.000Z
reversi/test/ReversiPlayTest.py
yuta-yoshinaga/ReversiPython
8004d68041fd6a15ea6dafefa8a4344b7a1724ef
[ "MIT" ]
5
2020-02-11T23:25:30.000Z
2021-06-10T17:41:00.000Z
reversi/test/ReversiPlayTest.py
yuta-yoshinaga/ReversiPython
8004d68041fd6a15ea6dafefa8a4344b7a1724ef
[ "MIT" ]
null
null
null
################################################################################ # @file ReversiPlayTest.py # @brief # @author Yuta Yoshinaga # @date 2018.11.13 # $Version: $ # $Revision: $ # # (c) 2018 Yuta Yoshinaga. # # - # # - # # ###################################################...
31.861423
110
0.487598
03791f6917a3bd9495bde7c14a2607051948abdc
647
py
Python
scripts/Qubit/Analysis/Two tone/sideband_drive.py
sourav-majumder/qtlab
96b2a127b1df7b45622c90229bd5ef8a4083614e
[ "MIT" ]
null
null
null
scripts/Qubit/Analysis/Two tone/sideband_drive.py
sourav-majumder/qtlab
96b2a127b1df7b45622c90229bd5ef8a4083614e
[ "MIT" ]
null
null
null
scripts/Qubit/Analysis/Two tone/sideband_drive.py
sourav-majumder/qtlab
96b2a127b1df7b45622c90229bd5ef8a4083614e
[ "MIT" ]
null
null
null
import numpy as np import matplotlib.pyplot as plt path = r'D:\data\20190320\200420_omit_5to6_good' data_name = path+path[16:]+r'.dat' data = np.loadtxt(data_name, unpack=True) n = 1 # power= np.array_split(data[0],n) freq = data[6] absol = data[4] # print(freq) # print(cavity_freq[0]) # plt.pl...
20.870968
72
0.646059
0379ce5f4cb1546a16b2a25c00299f5cdddd3f69
18,812
py
Python
GenNet_utils/LocallyDirectedConnected.py
reneevdw/GenNet
e30f0cce4372c770f8d4692ce6a6f61a160c0d5d
[ "Apache-2.0" ]
34
2020-07-06T21:09:52.000Z
2022-03-22T00:08:02.000Z
GenNet_utils/LocallyDirectedConnected.py
reneevdw/GenNet
e30f0cce4372c770f8d4692ce6a6f61a160c0d5d
[ "Apache-2.0" ]
19
2020-08-07T10:54:07.000Z
2022-01-27T10:49:02.000Z
GenNet_utils/LocallyDirectedConnected.py
reneevdw/GenNet
e30f0cce4372c770f8d4692ce6a6f61a160c0d5d
[ "Apache-2.0" ]
5
2020-10-05T09:30:38.000Z
2021-12-30T10:12:54.000Z
# For the article see https://www.biorxiv.org/content/10.1101/2020.06.19.159152v1 # For an explenation how to use this layer see https://github.com/ArnovanHilten/GenNet # Locallyconnected1D is used as a basis to write the LocallyDirected layer # ==========================================================================...
42.465011
119
0.642675
037cbda1c737658769d56600f04aa463d8f413ba
5,743
py
Python
tests/validation/lib/rke_client.py
XianglongLuo/rancher
781cd0fdc12a8e4292a4c664cf003963062df842
[ "Apache-2.0" ]
6
2018-08-15T16:12:38.000Z
2019-12-17T03:49:13.000Z
tests/validation/lib/rke_client.py
XianglongLuo/rancher
781cd0fdc12a8e4292a4c664cf003963062df842
[ "Apache-2.0" ]
123
2018-01-25T21:17:59.000Z
2021-02-09T13:52:39.000Z
tests/validation/lib/rke_client.py
XianglongLuo/rancher
781cd0fdc12a8e4292a4c664cf003963062df842
[ "Apache-2.0" ]
29
2018-01-24T20:07:59.000Z
2021-01-26T06:09:29.000Z
import os import jinja2 import logging import tempfile import time import subprocess from yaml import load logging.getLogger('invoke').setLevel(logging.WARNING) DEBUG = os.environ.get('DEBUG', 'false') DEFAULT_CONFIG_NAME = 'cluster.yml' DEFAULT_NETWORK_PLUGIN = os.environ.get('DEFAULT_NETWORK_PLUGIN', 'canal')
39.606897
78
0.606303
037cef8dc5a933dc4a59c5d58211d7ddc902f11d
1,806
py
Python
lighting.py
KonosSgouras/PhongReflection
15b703f887dbc2a803e959a63c53f9754f2ccb9c
[ "MIT" ]
null
null
null
lighting.py
KonosSgouras/PhongReflection
15b703f887dbc2a803e959a63c53f9754f2ccb9c
[ "MIT" ]
null
null
null
lighting.py
KonosSgouras/PhongReflection
15b703f887dbc2a803e959a63c53f9754f2ccb9c
[ "MIT" ]
null
null
null
from OpenGL.GL import * from OpenGL.GLU import * cameraposition=(0,0,-5) iss=10 idd=10 iaa=10
35.411765
158
0.671096
cee03ee940c42f68705300b559b5bd61f2b1d992
99,800
py
Python
pysnmp/A3COM-HUAWEI-IFQOS2-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
11
2021-02-02T16:27:16.000Z
2021-08-31T06:22:49.000Z
pysnmp/A3COM-HUAWEI-IFQOS2-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
75
2021-02-24T17:30:31.000Z
2021-12-08T00:01:18.000Z
pysnmp/A3COM-HUAWEI-IFQOS2-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module A3COM-HUAWEI-IFQOS2-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/A3COM-HUAWEI-IFQOS2-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 16:50:28 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 ...
139.191074
13,431
0.752555
cee1009e43c001be6fdeb065ff6d43adb709ffa5
5,622
py
Python
method/pruning_googlenet.py
Nuctech-AI/LBS_pruning
d2f67b287b69968b54a55fc3d25e26eef64d29a7
[ "MIT" ]
6
2020-10-16T07:57:48.000Z
2021-10-08T01:02:36.000Z
method/pruning_googlenet.py
Nuctech-AI/LBS_pruning
d2f67b287b69968b54a55fc3d25e26eef64d29a7
[ "MIT" ]
null
null
null
method/pruning_googlenet.py
Nuctech-AI/LBS_pruning
d2f67b287b69968b54a55fc3d25e26eef64d29a7
[ "MIT" ]
3
2020-11-21T15:03:40.000Z
2021-02-22T06:39:44.000Z
import torch.nn as nn import torch import copy import numpy as np import collections
39.87234
126
0.587691
cee35a0c038d5a35a076a859296711fc3b4238b6
3,932
py
Python
rtgraph/ui/mainWindow_ui.py
spewil/RTGraph
0e3f4502988a36866ac2aaa27e232ade2128d7ea
[ "MIT" ]
null
null
null
rtgraph/ui/mainWindow_ui.py
spewil/RTGraph
0e3f4502988a36866ac2aaa27e232ade2128d7ea
[ "MIT" ]
null
null
null
rtgraph/ui/mainWindow_ui.py
spewil/RTGraph
0e3f4502988a36866ac2aaa27e232ade2128d7ea
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'mainWindow.ui' # # Created by: PyQt5 UI code generator 5.6 # # WARNING! All changes made in this file will be lost! from PyQt5 import QtCore, QtGui, QtWidgets from pyqtgraph import GraphicsLayoutWidget
48.54321
76
0.71236
cee46735041dda012e2428557b3fcef104dc47c5
12
py
Python
server/amberalertcn/api/v1/lib/__init__.py
fuzhouch/amberalertcn
5118666a7b3d7b1c40b255be8ac6c9b12e2fc4dc
[ "BSD-3-Clause" ]
151
2015-01-25T10:25:29.000Z
2022-03-15T10:04:09.000Z
server/amberalertcn/api/v1/lib/__init__.py
fuzhouch/amberalertcn
5118666a7b3d7b1c40b255be8ac6c9b12e2fc4dc
[ "BSD-3-Clause" ]
null
null
null
server/amberalertcn/api/v1/lib/__init__.py
fuzhouch/amberalertcn
5118666a7b3d7b1c40b255be8ac6c9b12e2fc4dc
[ "BSD-3-Clause" ]
70
2015-02-02T02:35:48.000Z
2021-05-13T09:51:08.000Z
""" lib """
3
3
0.25
cee74b22dcf3195c27deef7cf8d9f143c460b0b0
2,762
py
Python
utils/tests/test_osmand.py
posm/osm-export-tool2
5a1f4096f1afbe7420363376e6e1e8d42e47e1d1
[ "BSD-3-Clause" ]
2
2018-08-31T18:30:28.000Z
2018-11-27T01:50:06.000Z
utils/tests/test_osmand.py
posm/osm-export-tool2
5a1f4096f1afbe7420363376e6e1e8d42e47e1d1
[ "BSD-3-Clause" ]
null
null
null
utils/tests/test_osmand.py
posm/osm-export-tool2
5a1f4096f1afbe7420363376e6e1e8d42e47e1d1
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- import logging import os from mock import Mock, patch from django.conf import settings from django.test import TestCase from ..osmand import OSMToOBF, UpdateBatchXML logger = logging.getLogger(__name__)
36.342105
99
0.65496
cee7536256a60edb921f6f38a61dcc515d1ef09b
1,147
py
Python
leetcode/1290_convert_binary_number_in_a_linked_list_to_integer.py
chaosWsF/Python-Practice
ff617675b6bcd125933024bb4c246b63a272314d
[ "BSD-2-Clause" ]
null
null
null
leetcode/1290_convert_binary_number_in_a_linked_list_to_integer.py
chaosWsF/Python-Practice
ff617675b6bcd125933024bb4c246b63a272314d
[ "BSD-2-Clause" ]
null
null
null
leetcode/1290_convert_binary_number_in_a_linked_list_to_integer.py
chaosWsF/Python-Practice
ff617675b6bcd125933024bb4c246b63a272314d
[ "BSD-2-Clause" ]
null
null
null
""" Given head which is a reference node to a singly-linked list. The value of each node in the linked list is either 0 or 1. The linked list holds the binary representation of a number. Return the decimal value of the number in the linked list. Example 1: https://assets.leetcode.com/uploads/2019/12/05/graph-1.png ...
19.440678
92
0.604185
cee8b5efc1c548faacd22e42db65b55fcf9e358c
1,081
py
Python
sys_utils/keep_awake.py
ant358/ML_tools
9e0d562e12d7253d68dd8081967de9e300b84eda
[ "MIT" ]
null
null
null
sys_utils/keep_awake.py
ant358/ML_tools
9e0d562e12d7253d68dd8081967de9e300b84eda
[ "MIT" ]
null
null
null
sys_utils/keep_awake.py
ant358/ML_tools
9e0d562e12d7253d68dd8081967de9e300b84eda
[ "MIT" ]
null
null
null
""" Prevent the system from shutting down if you have no admin control and need it to run for many hours """ import pyautogui import time import sys from datetime import datetime # quickly move the mouse to the upper left corner to exit pyautogui.FAILSAFE=True numMin = 3 run = True while(run == True): x=0 ...
24.568182
70
0.627197
cee8e2623f00d76d4fe9112fafd0d9ca635f2952
1,100
py
Python
2020/15/solution.py
Rexcantor/advent-of-code
9a42e91abe5a1f405d9d5ca711ba151eebf7b4e4
[ "MIT" ]
1
2021-12-14T15:02:40.000Z
2021-12-14T15:02:40.000Z
2020/15/solution.py
diogotcorreia/advent-of-code
9a42e91abe5a1f405d9d5ca711ba151eebf7b4e4
[ "MIT" ]
null
null
null
2020/15/solution.py
diogotcorreia/advent-of-code
9a42e91abe5a1f405d9d5ca711ba151eebf7b4e4
[ "MIT" ]
null
null
null
lines = [line.strip() for line in open("input.txt", 'r') if line.strip() != ""] startingNumbers = [int(i) for i in lines[0].split(",")] ########################################## # PART 1 # ########################################## print('Answer to part 1 is', part1(startingNumbers,...
26.190476
79
0.425455
cee9434ba4b4de22d4c3de8272ee758493fe8787
5,171
py
Python
monitor/monitor_util.py
so366/web5
13dbfdd1308926d3b75b2e0682b5600ba3390e43
[ "MIT" ]
33
2018-01-30T09:51:04.000Z
2021-04-04T07:31:22.000Z
monitor/monitor_util.py
so366/web5
13dbfdd1308926d3b75b2e0682b5600ba3390e43
[ "MIT" ]
1
2019-08-03T03:36:50.000Z
2019-08-03T03:36:50.000Z
monitor/monitor_util.py
so366/web5
13dbfdd1308926d3b75b2e0682b5600ba3390e43
[ "MIT" ]
48
2018-04-03T14:09:26.000Z
2022-03-05T13:59:08.000Z
import json import random from flask import Flask from flask_sqlalchemy import SQLAlchemy from sqlalchemy import Column, Integer, String, MetaData, Table from sqlalchemy.ext.declarative import declarative_base from sqlalchemy.sql import select import monitor_db import monitor_logger import monitor_util Base = declar...
35.176871
124
0.677238
ceec3204a614fa8b71ad8fab515fcc2b7b5399e7
107
py
Python
scinol/__init__.py
mihahauke/scinol_icml2019
8f6bf250c9501a47d3c4b2323f830abcbf56cce3
[ "MIT" ]
3
2020-04-30T11:32:46.000Z
2021-04-23T01:16:54.000Z
scinol/__init__.py
mihahauke/scinol_icml2019
8f6bf250c9501a47d3c4b2323f830abcbf56cce3
[ "MIT" ]
6
2020-01-28T22:55:13.000Z
2022-02-10T00:20:24.000Z
scinol/__init__.py
mihahauke/scinol_icml2019
8f6bf250c9501a47d3c4b2323f830abcbf56cce3
[ "MIT" ]
1
2020-09-23T07:26:31.000Z
2020-09-23T07:26:31.000Z
from ._scinol import * from ._nag import * from ._prescinol import * from ._sfmd import * # __all__ = TODO
17.833333
25
0.719626
ceeca4f6840905331be8898a1ffcca85619bd7c0
1,086
py
Python
download-scripts/from-url.py
halilkocaerkek/GitHub-amazon-sagemaker-stock-prediction-alphavantage
e93c5b129904fcfd4ca39c3e97d438074d333b5b
[ "MIT-0" ]
null
null
null
download-scripts/from-url.py
halilkocaerkek/GitHub-amazon-sagemaker-stock-prediction-alphavantage
e93c5b129904fcfd4ca39c3e97d438074d333b5b
[ "MIT-0" ]
null
null
null
download-scripts/from-url.py
halilkocaerkek/GitHub-amazon-sagemaker-stock-prediction-alphavantage
e93c5b129904fcfd4ca39c3e97d438074d333b5b
[ "MIT-0" ]
null
null
null
import pandas as pd import matplotlib.pyplot as plt from enum import Enum Adjusted = Enum('Adjusted', 'true false') Interval = Enum('Interval', '_1min _5min _15min _30min _60min') OutputSize = Enum('outputsize', 'compact full') DataType = Enum('datatype', 'json csv') key = '7YVKV6R8YWNYE83E' apiUrl = 'https://www...
35.032258
106
0.705341
ceed55033d54194e073a4be91ec5fbc3b9543b04
2,429
py
Python
virt/ansible-latest/lib/python2.7/site-packages/ansible/modules/cloud/ovirt/ovirt_api_facts.py
lakhlaifi/RedHat-Ansible
27c5077cced9d416081fcd5d69ea44bca0317fa4
[ "Apache-2.0" ]
1
2020-03-22T01:04:39.000Z
2020-03-22T01:04:39.000Z
ansible/ansible/modules/cloud/ovirt/ovirt_api_facts.py
SergeyCherepanov/ansible
875711cd2fd6b783c812241c2ed7a954bf6f670f
[ "MIT" ]
7
2020-09-07T17:27:56.000Z
2022-03-02T06:25:46.000Z
ansible/ansible/modules/cloud/ovirt/ovirt_api_facts.py
SergeyCherepanov/ansible
875711cd2fd6b783c812241c2ed7a954bf6f670f
[ "MIT" ]
1
2020-03-22T01:04:48.000Z
2020-03-22T01:04:48.000Z
#!/usr/bin/python # -*- coding: utf-8 -*- # Copyright (c) 2017 Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import absolute_import, division, print_function __metaclass__ = type ANSIBLE_METADATA = { 'metadata_version': '1.1', 'st...
26.988889
92
0.661589