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
c3c8d411583e67c11896bf47299529f51cd0b641
5,765
py
Python
idMatching_windowcards.py
CarnegieHall/metadata-matching
8b3ccc3d0aea764f884cc20a723a6479d4edacf4
[ "MIT" ]
4
2016-04-29T05:07:38.000Z
2021-07-30T19:18:50.000Z
idMatching_windowcards.py
CarnegieHall/metadata-matching
8b3ccc3d0aea764f884cc20a723a6479d4edacf4
[ "MIT" ]
7
2016-04-26T20:16:19.000Z
2019-01-28T19:47:09.000Z
idMatching_windowcards.py
CarnegieHall/metadata-matching
8b3ccc3d0aea764f884cc20a723a6479d4edacf4
[ "MIT" ]
null
null
null
# !/usr/local/bin/python3.4.2 # ----Copyright (c) 2016 Carnegie Hall | The MIT License (MIT)---- # ----For the full license terms, please visit https://github.com/CarnegieHall/quality-control/blob/master/LICENSE---- # run script with 5 arguments: # argument 0 is the script name # argument 1 is the path to the Isilon HD...
42.389706
134
0.612142
c3c8e031aee7868f8730d77f9fc2d1e3db73ac7c
1,020
py
Python
data_input/__init__.py
carlosvin/pricecalculator
2c2c409e4a7f3e7d52001b19630a37a4e1a827ae
[ "Apache-2.0" ]
null
null
null
data_input/__init__.py
carlosvin/pricecalculator
2c2c409e4a7f3e7d52001b19630a37a4e1a827ae
[ "Apache-2.0" ]
null
null
null
data_input/__init__.py
carlosvin/pricecalculator
2c2c409e4a7f3e7d52001b19630a37a4e1a827ae
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf8 -*- from urllib.request import Request, urlopen import logging import parsing __author__ = 'carlos'
21.702128
84
0.594118
c3caacf1b7d05e15e360c1c4d0096f1b7b8c5a0b
1,403
py
Python
ursina/string_utilities.py
jtiai/ursina
6b424a7052c91e49aa3d19dae27fc3abe0f59e0e
[ "MIT" ]
1
2020-09-04T14:32:33.000Z
2020-09-04T14:32:33.000Z
ursina/string_utilities.py
Lewis7Lewis/ursina
38fd34c820dcfe5be7e82db16323631570cdf96a
[ "MIT" ]
1
2021-04-09T00:00:39.000Z
2021-04-09T00:00:39.000Z
ursina/string_utilities.py
Lewis7Lewis/ursina
38fd34c820dcfe5be7e82db16323631570cdf96a
[ "MIT" ]
1
2021-04-09T00:02:59.000Z
2021-04-09T00:02:59.000Z
import re import traceback from textwrap import dedent def multireplace(string, replacements, ignore_case=False): """ Given a string and a dict, replaces occurrences of the dict keys found in the string, with their corresponding values. The replacements will occur in "one pass", i.e. there should be...
33.404762
87
0.684961
c3cd50d3bef2109a7394181b196687c2fce15100
24
py
Python
catkin_ws/src/00-infrastructure/easy_regression/include/easy_regression/processors/__init__.py
yxiao1996/dev
e2181233aaa3d16c472b792b58fc4863983825bd
[ "CC-BY-2.0" ]
2
2018-06-25T02:51:25.000Z
2018-06-25T02:51:27.000Z
catkin_ws/src/00-infrastructure/easy_regression/include/easy_regression/processors/__init__.py
yxiao1996/dev
e2181233aaa3d16c472b792b58fc4863983825bd
[ "CC-BY-2.0" ]
null
null
null
catkin_ws/src/00-infrastructure/easy_regression/include/easy_regression/processors/__init__.py
yxiao1996/dev
e2181233aaa3d16c472b792b58fc4863983825bd
[ "CC-BY-2.0" ]
2
2018-09-04T06:44:21.000Z
2018-10-15T02:30:50.000Z
from .identity import *
12
23
0.75
c3ce5c789ffdabd456c4f50d5c4cea5acccf135f
558
py
Python
setup.py
whipper-team/morituri-eaclogger
4cbdeb24d713ab8c9358ac90f4740d8cec76d3c4
[ "0BSD" ]
9
2018-10-18T13:33:01.000Z
2022-01-17T19:25:38.000Z
setup.py
JoeLametta/morituri-eaclogger
4cbdeb24d713ab8c9358ac90f4740d8cec76d3c4
[ "0BSD" ]
6
2016-07-03T20:47:05.000Z
2018-02-09T14:58:43.000Z
setup.py
whipper-team/morituri-eaclogger
4cbdeb24d713ab8c9358ac90f4740d8cec76d3c4
[ "0BSD" ]
3
2016-07-03T19:58:36.000Z
2018-02-07T15:34:41.000Z
from setuptools import setup from eaclogger import __version__ as plugin_version setup( name="whipper-plugin-eaclogger", version=plugin_version, description="A plugin for whipper which provides EAC style log reports", author="JoeLametta, supermanvelo", maintainer="JoeLametta", license="ISC Lice...
29.368421
76
0.688172
c3cf716bf2646fc626aab11469e78c6e67817ef2
201
py
Python
main.py
cankut/image-to-prime
d681ac0a6435f41662f638479ee7cfde2f203cb0
[ "MIT" ]
null
null
null
main.py
cankut/image-to-prime
d681ac0a6435f41662f638479ee7cfde2f203cb0
[ "MIT" ]
null
null
null
main.py
cankut/image-to-prime
d681ac0a6435f41662f638479ee7cfde2f203cb0
[ "MIT" ]
null
null
null
from PrimeSearcher import PrimeSearcher ### ps = PrimeSearcher("./images/euler.jpg") ps.rescale(60*60, fit_to_original=True) ps.search(max_iterations=1000, noise_count=1, break_on_find=False)
18.272727
66
0.761194
c3cf778a7c7e4eb0ab55391af44f975aea597584
2,432
py
Python
Phyton/sinavKontrol.py
huseyinozdem/programlamaninTemelleri
8aebc1aae40426f449c33165a1d1cb4600ee50bd
[ "MIT" ]
null
null
null
Phyton/sinavKontrol.py
huseyinozdem/programlamaninTemelleri
8aebc1aae40426f449c33165a1d1cb4600ee50bd
[ "MIT" ]
null
null
null
Phyton/sinavKontrol.py
huseyinozdem/programlamaninTemelleri
8aebc1aae40426f449c33165a1d1cb4600ee50bd
[ "MIT" ]
null
null
null
import sys import os import random klasorAdi = os.path.dirname(sys.argv[0]) dosyaIsmi = klasorAdi + "/test.txt" soruSayisi = 40 ogrenciSayisi = 60 d = {} dogruSayisi = {} yalisSayisi = {} bosSayisi = {} puan = {} sinavHazirla() sinavDegerlendir() sinavSirala() sinavYaz() sinavOku()
24.565657
81
0.557155
c3cf7f9ab95399cee3acf2f3ba359c7fc5fb1065
5,639
py
Python
heufybot/modules/commands/time_command.py
Heufneutje/PyHeufyBot
9d26587c47a4ea75a3f4f1af6d40958bec2c9a87
[ "MIT" ]
3
2015-12-19T15:41:35.000Z
2017-11-01T12:33:01.000Z
heufybot/modules/commands/time_command.py
Heufneutje/PyHeufyBot
9d26587c47a4ea75a3f4f1af6d40958bec2c9a87
[ "MIT" ]
26
2015-01-10T10:51:24.000Z
2019-03-07T10:51:46.000Z
heufybot/modules/commands/time_command.py
Heufneutje/PyHeufyBot
9d26587c47a4ea75a3f4f1af6d40958bec2c9a87
[ "MIT" ]
8
2015-01-28T12:18:06.000Z
2018-11-28T21:39:21.000Z
from twisted.plugin import IPlugin from heufybot.moduleinterface import IBotModule from heufybot.modules.commandinterface import BotCommand from heufybot.utils.timeutils import now, timestamp from zope.interface import implements from datetime import datetime timeCommand = TimeCommand()
44.401575
119
0.592126
c3d03fc207ef78fc939d12e5c945e9251e9a8a37
2,132
py
Python
problem11.py
Scitator/fivt_bioinfo17
f0b861edc5ffc106f9802ed3ef6cd78b25570025
[ "MIT" ]
null
null
null
problem11.py
Scitator/fivt_bioinfo17
f0b861edc5ffc106f9802ed3ef6cd78b25570025
[ "MIT" ]
null
null
null
problem11.py
Scitator/fivt_bioinfo17
f0b861edc5ffc106f9802ed3ef6cd78b25570025
[ "MIT" ]
1
2019-12-05T20:47:29.000Z
2019-12-05T20:47:29.000Z
import pandas as pd import click import collections def find_eulerian_tour(graph): """ stack St; St ( ); St V - St; (V) = 0, V ; V St; , V; ; St; """ ans = [] stack = [f...
23.688889
69
0.584897
c3d17c2c456d36f8cb0a5fd4496941d685d48e93
328
py
Python
ch22/import_test.py
eroicaleo/LearningPython
297d46eddce6e43ce0c160d2660dff5f5d616800
[ "MIT" ]
1
2020-10-12T13:33:29.000Z
2020-10-12T13:33:29.000Z
ch22/import_test.py
eroicaleo/LearningPython
297d46eddce6e43ce0c160d2660dff5f5d616800
[ "MIT" ]
null
null
null
ch22/import_test.py
eroicaleo/LearningPython
297d46eddce6e43ce0c160d2660dff5f5d616800
[ "MIT" ]
1
2016-11-09T07:28:45.000Z
2016-11-09T07:28:45.000Z
#!/usr/bin/env python3 import sys import re import time import datetime import os for module in sorted(sys.modules): print("%-20s : %s" % (module, sys.modules[module])) print('USER : ', os.environ['USER']) print('PWD : ', os.environ['PWD']) print('PYTHONPATH: ', os.environ.get('PYTHONPATH')) print(sy...
19.294118
55
0.652439
c3d31d6dc22314e66346271479257cc51c92d100
997
py
Python
tests/infrastructure/test_bpelearner.py
maximzubkov/codeprep
807ee1ea33796b6853c45e9dcb4e866b3f09a5f2
[ "Apache-2.0" ]
33
2020-03-02T23:42:15.000Z
2022-03-18T02:34:32.000Z
tests/infrastructure/test_bpelearner.py
maximzubkov/codeprep
807ee1ea33796b6853c45e9dcb4e866b3f09a5f2
[ "Apache-2.0" ]
10
2020-02-27T13:43:00.000Z
2021-04-21T12:11:44.000Z
tests/infrastructure/test_bpelearner.py
maximzubkov/codeprep
807ee1ea33796b6853c45e9dcb4e866b3f09a5f2
[ "Apache-2.0" ]
9
2020-03-16T14:28:06.000Z
2021-09-30T09:40:56.000Z
# SPDX-FileCopyrightText: 2020 Hlib Babii <hlibbabii@gmail.com> # # SPDX-License-Identifier: Apache-2.0 from unittest import mock import pytest from codeprep.bpepkg.bpe_config import BpeConfig, BpeParam, BpeConfigNotSupported from codeprep.pipeline.bpelearner import run
29.323529
81
0.713139
c3d376d5f7adc2553dd1e51178275f57c44c8d80
6,321
py
Python
tcheck.py
zcm/tcheck
0a0b1c362cd630875d725247e9bfda541880614d
[ "Apache-2.0" ]
null
null
null
tcheck.py
zcm/tcheck
0a0b1c362cd630875d725247e9bfda541880614d
[ "Apache-2.0" ]
null
null
null
tcheck.py
zcm/tcheck
0a0b1c362cd630875d725247e9bfda541880614d
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 import torrent_parser as tp import asyncio import contextlib import pathlib import argparse import pprint import hashlib import concurrent.futures import os.path import logging import tqdm if __name__ == '__main__': main() # vim: set et ts=2 sw=2 sts=2
33.802139
83
0.641196
c3d3a48562b302ec3d1c4f7d9f346e8c2423f4ac
78
py
Python
segmentation_tools/__init__.py
shiwei23/ImageAnalysis3
1d2aa1721d188c96feb55b22fc6c9929d7073f49
[ "MIT" ]
3
2018-10-10T22:15:10.000Z
2020-11-20T15:17:45.000Z
segmentation_tools/__init__.py
shiwei23/ImageAnalysis3
1d2aa1721d188c96feb55b22fc6c9929d7073f49
[ "MIT" ]
2
2019-10-31T13:29:05.000Z
2021-08-12T17:32:32.000Z
segmentation_tools/__init__.py
shiwei23/ImageAnalysis3
1d2aa1721d188c96feb55b22fc6c9929d7073f49
[ "MIT" ]
2
2020-06-04T18:40:52.000Z
2022-03-18T15:53:05.000Z
# Functions to segment chromosomes from . import chromosome from . import cell
26
34
0.807692
c3d419ee047550f261d26c3946541ba1b4cb36e0
3,127
py
Python
kha/scraper.py
claui/kommtheuteaktenzeichen
2afbdfd1731a8dd6e222d094b0ee26c1a1945e61
[ "Apache-2.0" ]
2
2021-06-06T15:29:08.000Z
2021-06-07T20:37:38.000Z
kha/scraper.py
claui/kommtheuteaktenzeichen
2afbdfd1731a8dd6e222d094b0ee26c1a1945e61
[ "Apache-2.0" ]
null
null
null
kha/scraper.py
claui/kommtheuteaktenzeichen
2afbdfd1731a8dd6e222d094b0ee26c1a1945e61
[ "Apache-2.0" ]
1
2021-05-31T16:48:08.000Z
2021-05-31T16:48:08.000Z
"""Scrape episodes from online sources.""" from datetime import datetime import re from typing import Dict, Iterable, Match, Optional, Tuple import requests from .episode import Episode from .settings \ import WUNSCHLISTE_IMPLIED_TIMEZONE, \ WUNSCHLISTE_QUERY_PARAMETERS, WUNSCHLISTE_URL WUNSCHLISTE_SELECT_E...
33.265957
72
0.532779
c3d49173df679851d73eb5d1c962ff92c378def9
1,824
py
Python
locust/locustfile.py
FannySundlofSopra/locust-on-azure
09a5fb7e928ffacf2f4422c9c5bd92cbb88ae80c
[ "MIT" ]
null
null
null
locust/locustfile.py
FannySundlofSopra/locust-on-azure
09a5fb7e928ffacf2f4422c9c5bd92cbb88ae80c
[ "MIT" ]
null
null
null
locust/locustfile.py
FannySundlofSopra/locust-on-azure
09a5fb7e928ffacf2f4422c9c5bd92cbb88ae80c
[ "MIT" ]
null
null
null
from locust import HttpUser, task, between from locust.contrib.fasthttp import FastHttpUser
49.297297
95
0.660088
c3d6fc016b75ad1d8fdff7a053452786b343e77c
251
py
Python
lino_book/projects/lydia/tests/dumps/18.12.0/invoicing_plan.py
lino-framework/lino_book
4eab916832cd8f48ff1b9fc8c2789f0b437da0f8
[ "BSD-2-Clause" ]
3
2016-08-25T05:58:09.000Z
2019-12-05T11:13:45.000Z
lino_book/projects/lydia/tests/dumps/18.12.0/invoicing_plan.py
lino-framework/lino_book
4eab916832cd8f48ff1b9fc8c2789f0b437da0f8
[ "BSD-2-Clause" ]
18
2016-11-12T21:38:58.000Z
2019-12-03T17:54:38.000Z
lino_book/projects/lydia/tests/dumps/18.12.0/invoicing_plan.py
lino-framework/lino_book
4eab916832cd8f48ff1b9fc8c2789f0b437da0f8
[ "BSD-2-Clause" ]
9
2016-10-15T11:12:33.000Z
2021-09-22T04:37:37.000Z
# -*- coding: UTF-8 -*- logger.info("Loading 1 objects to table invoicing_plan...") # fields: id, user, today, journal, max_date, partner, course loader.save(create_invoicing_plan(1,6,date(2015,3,1),1,None,None,None)) loader.flush_deferred_objects()
35.857143
71
0.737052
c3d72d083cc46a58431880b45d7e590b6d5dc93f
4,943
py
Python
PyYADL/redis_lock.py
PawelJ-PL/PyYADL
baa748200d75f8bdd8252d95e0296b2df933bc90
[ "MIT" ]
2
2018-02-20T22:08:00.000Z
2018-05-29T22:02:03.000Z
PyYADL/redis_lock.py
PawelJ-PL/PyYADL
baa748200d75f8bdd8252d95e0296b2df933bc90
[ "MIT" ]
1
2018-01-14T20:03:18.000Z
2018-02-20T22:07:49.000Z
PyYADL/redis_lock.py
PawelJ-PL/PyYADL
baa748200d75f8bdd8252d95e0296b2df933bc90
[ "MIT" ]
null
null
null
from time import time from json import dumps, loads from redis import StrictRedis, ConnectionPool, WatchError from PyYADL.distributed_lock import AbstractDistributedLock
42.247863
121
0.580012
c3d757831ced0c808c54a19099c1901ac199f8e6
68,660
py
Python
benchmarks/SimResults/_bigLittle_hrrs_spec_tugberk_rr/cmp_leslie3d/power.py
TugberkArkose/MLScheduler
e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061
[ "Unlicense" ]
null
null
null
benchmarks/SimResults/_bigLittle_hrrs_spec_tugberk_rr/cmp_leslie3d/power.py
TugberkArkose/MLScheduler
e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061
[ "Unlicense" ]
null
null
null
benchmarks/SimResults/_bigLittle_hrrs_spec_tugberk_rr/cmp_leslie3d/power.py
TugberkArkose/MLScheduler
e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061
[ "Unlicense" ]
null
null
null
power = {'BUSES': {'Area': 1.33155, 'Bus/Area': 1.33155, 'Bus/Gate Leakage': 0.00662954, 'Bus/Peak Dynamic': 0.0, 'Bus/Runtime Dynamic': 0.0, 'Bus/Subthreshold Leakage': 0.0691322, 'Bus/Subthreshold Leakage with power gating': 0.0259246, 'Gate...
75.12035
124
0.682275
c3d88ae30b5927313a3fbd970dd4a5f973d6b45f
37,327
py
Python
ros/devel/lib/python2.7/dist-packages/darknet_ros_msgs/msg/_CheckForObjectsAction.py
wutianze/ComP
021440aa98aa03ee3b86ed3db196b95477b9f80b
[ "MIT" ]
3
2021-08-20T03:25:37.000Z
2022-03-31T02:47:28.000Z
ros/devel/lib/python2.7/dist-packages/darknet_ros_msgs/msg/_CheckForObjectsAction.py
wutianze/ComP
021440aa98aa03ee3b86ed3db196b95477b9f80b
[ "MIT" ]
null
null
null
ros/devel/lib/python2.7/dist-packages/darknet_ros_msgs/msg/_CheckForObjectsAction.py
wutianze/ComP
021440aa98aa03ee3b86ed3db196b95477b9f80b
[ "MIT" ]
null
null
null
# This Python file uses the following encoding: utf-8 """autogenerated by genpy from darknet_ros_msgs/CheckForObjectsAction.msg. Do not edit.""" import sys python3 = True if sys.hexversion > 0x03000000 else False import genpy import struct import darknet_ros_msgs.msg import sensor_msgs.msg import genpy import actionli...
41.428413
246
0.63943
c3d941ff5907d9662b0cf2643809b6e39408eb71
612
py
Python
datalabframework/paths.py
Quyenna/datalabframework
918738f38438c0bb483e67602a022cf135f8d509
[ "MIT" ]
null
null
null
datalabframework/paths.py
Quyenna/datalabframework
918738f38438c0bb483e67602a022cf135f8d509
[ "MIT" ]
null
null
null
datalabframework/paths.py
Quyenna/datalabframework
918738f38438c0bb483e67602a022cf135f8d509
[ "MIT" ]
null
null
null
import os _rootdir = os.getcwd()
20.4
60
0.601307
c3d9819c60978679ed12ac424127e68b0245461c
1,292
py
Python
python/dailycodingproblems/problem0003.py
smhnr27/code
fbb34db248d36ffdad104b4f8fe73d0a64b9e15a
[ "MIT" ]
null
null
null
python/dailycodingproblems/problem0003.py
smhnr27/code
fbb34db248d36ffdad104b4f8fe73d0a64b9e15a
[ "MIT" ]
null
null
null
python/dailycodingproblems/problem0003.py
smhnr27/code
fbb34db248d36ffdad104b4f8fe73d0a64b9e15a
[ "MIT" ]
null
null
null
# Given the root to a binary tree, implement serialize(root), which serializes the tree into a string, and deserialize(s), which deserializes the string back into the tree. # # For example, given the following Node class: # The following test should pass: # node = Node('root', Node('left', Node('left.left')), Node('ri...
26.367347
172
0.653251
c3da32e04dd68552d6766ba134d4dbed387f0a82
2,051
py
Python
test.py
ndwuhuangwei/py-radio-autoencoder
842cd1f14a17ee0798766dffcf132950a9e745bd
[ "CC0-1.0" ]
null
null
null
test.py
ndwuhuangwei/py-radio-autoencoder
842cd1f14a17ee0798766dffcf132950a9e745bd
[ "CC0-1.0" ]
null
null
null
test.py
ndwuhuangwei/py-radio-autoencoder
842cd1f14a17ee0798766dffcf132950a9e745bd
[ "CC0-1.0" ]
1
2021-09-06T14:05:53.000Z
2021-09-06T14:05:53.000Z
import math import random import numpy as np # # (7,4) # def hanming(code_0): # # # code1 = bin(int(code_0)) # code = str(code1)[2:] # print('{0}'.format(code_0), code) # # # 40 # while len(code) < 4: #...
31.553846
100
0.592394
c3da95c06f9dee9d167e749a7cc66d5cb5c8f2b0
17,778
py
Python
backend/app/bug_killer_app/test/api/test_bug.py
SeanFitzpatrick0/BugKiller
c7dd328ac539aa75e8a1d908dd35722df4e78ab4
[ "Apache-2.0" ]
null
null
null
backend/app/bug_killer_app/test/api/test_bug.py
SeanFitzpatrick0/BugKiller
c7dd328ac539aa75e8a1d908dd35722df4e78ab4
[ "Apache-2.0" ]
null
null
null
backend/app/bug_killer_app/test/api/test_bug.py
SeanFitzpatrick0/BugKiller
c7dd328ac539aa75e8a1d908dd35722df4e78ab4
[ "Apache-2.0" ]
null
null
null
import json from unittest import TestCase from unittest.mock import patch from bug_killer_api_interface.schemas.entities.bug import BugResolution from bug_killer_api_interface.schemas.request.bug import CreateBugPayload, UpdateBugPayload from bug_killer_api_interface.schemas.request.project import CreateProjectPayload...
32.56044
118
0.646754
c3dabc6965dd2618eed250729b37fe4568407913
566
py
Python
Module3/notes/imshow_example.py
FernanOrtega/DAT210x
bcafca952b2ca440acfd19e08764c5a150cc32a4
[ "MIT" ]
null
null
null
Module3/notes/imshow_example.py
FernanOrtega/DAT210x
bcafca952b2ca440acfd19e08764c5a150cc32a4
[ "MIT" ]
null
null
null
Module3/notes/imshow_example.py
FernanOrtega/DAT210x
bcafca952b2ca440acfd19e08764c5a150cc32a4
[ "MIT" ]
null
null
null
#!/usr/bin/env python2 # -*- coding: utf-8 -*- """ Created on Fri Jul 21 13:15:22 2017 @author: fernando """ import matplotlib import matplotlib.pyplot as plt import pandas as pd matplotlib.style.use('ggplot') # Look Pretty # If the above line throws an error, use plt.style.use('ggplot') instead df = pd.read_csv("co...
24.608696
72
0.724382
c3dac7924e9e075694dc1f3a5fa25da3cbacbc9b
1,488
py
Python
api/models.py
AnuragTimilsina/SchoolSystemAPI
9ac55dc862953a075dbdc69d5c4176742d8da5b6
[ "MIT" ]
null
null
null
api/models.py
AnuragTimilsina/SchoolSystemAPI
9ac55dc862953a075dbdc69d5c4176742d8da5b6
[ "MIT" ]
null
null
null
api/models.py
AnuragTimilsina/SchoolSystemAPI
9ac55dc862953a075dbdc69d5c4176742d8da5b6
[ "MIT" ]
1
2021-07-16T11:28:36.000Z
2021-07-16T11:28:36.000Z
from django.db import models from users.models import User
30.367347
63
0.551075
c3daf8ed9bcb88200aa1371e56dc95da838977ae
1,543
py
Python
src/main/functions/poisson_regression.py
far2raf/method-optimization-resit
75f87067942dbd0eafe092c1831d3267c01e3c3a
[ "MIT" ]
null
null
null
src/main/functions/poisson_regression.py
far2raf/method-optimization-resit
75f87067942dbd0eafe092c1831d3267c01e3c3a
[ "MIT" ]
1
2021-04-30T21:05:25.000Z
2021-04-30T21:05:25.000Z
src/main/functions/poisson_regression.py
far2raf/method-optimization-resit
75f87067942dbd0eafe092c1831d3267c01e3c3a
[ "MIT" ]
null
null
null
import numpy as np import scipy.sparse from src.main.functions.interface_function import InterfaceFunction
31.489796
101
0.60661
c3dafcd023eb4196e2c03de73e78ae172fc56c0a
105
py
Python
fastapi version/src/fastapp/__init__.py
abhiWriteCode/TextSummarization
e2ed2dddc6afaa5a5106cfda19a3bd8d520f63a4
[ "MIT" ]
null
null
null
fastapi version/src/fastapp/__init__.py
abhiWriteCode/TextSummarization
e2ed2dddc6afaa5a5106cfda19a3bd8d520f63a4
[ "MIT" ]
null
null
null
fastapi version/src/fastapp/__init__.py
abhiWriteCode/TextSummarization
e2ed2dddc6afaa5a5106cfda19a3bd8d520f63a4
[ "MIT" ]
null
null
null
from fastapi import FastAPI from . import api app = FastAPI(debug=True) app.include_router(api.router)
15
30
0.780952
c3dbdd7fe56b64e44976be0048a19f5dd5080ab7
1,769
py
Python
Onaeri/timekeeper.py
Lakitna/Onaeri
7a851e39a06c2d6fdb44393a8be4ba851a9d51a6
[ "MIT" ]
null
null
null
Onaeri/timekeeper.py
Lakitna/Onaeri
7a851e39a06c2d6fdb44393a8be4ba851a9d51a6
[ "MIT" ]
7
2017-11-08T13:14:12.000Z
2018-11-24T14:55:23.000Z
Onaeri/timekeeper.py
Lakitna/Onaeri
7a851e39a06c2d6fdb44393a8be4ba851a9d51a6
[ "MIT" ]
1
2018-11-24T14:52:55.000Z
2018-11-24T14:52:55.000Z
import time import math from . import settings
26.014706
79
0.50424
c3dc3299c8eb137f9e3ec5991afb8d2669fe74f8
5,223
py
Python
storm_analysis/L1H/cs_analysis.py
bintulab/storm-analysis
71ae493cbd17ddb97938d0ae2032d97a0eaa76b2
[ "CNRI-Python" ]
null
null
null
storm_analysis/L1H/cs_analysis.py
bintulab/storm-analysis
71ae493cbd17ddb97938d0ae2032d97a0eaa76b2
[ "CNRI-Python" ]
null
null
null
storm_analysis/L1H/cs_analysis.py
bintulab/storm-analysis
71ae493cbd17ddb97938d0ae2032d97a0eaa76b2
[ "CNRI-Python" ]
1
2021-04-19T18:17:06.000Z
2021-04-19T18:17:06.000Z
#!/usr/bin/env python """ Perform compressed sensing analysis on a dax file using the homotopy approach. Return the results in hres image format and as a list of object locations. Hazen 09/12 """ import numpy import storm_analysis.sa_library.datareader as datareader import storm_analysis.sa_library.parameters as par...
35.290541
122
0.671262
c3dc8e9574bfd412866a0cadf2943bfad0114e52
3,620
py
Python
ism/dal/sqlite3_dao.py
kaliklipper/python_state_machine
386eb10113c621fbbac6be8d7afbd1b384b4bf47
[ "MIT" ]
1
2021-07-13T23:23:32.000Z
2021-07-13T23:23:32.000Z
ism/dal/sqlite3_dao.py
kaliklipper/python_state_machine
386eb10113c621fbbac6be8d7afbd1b384b4bf47
[ "MIT" ]
9
2021-03-30T15:04:02.000Z
2021-04-08T18:28:38.000Z
ism/dal/sqlite3_dao.py
kaliklipper/python_state_machine
386eb10113c621fbbac6be8d7afbd1b384b4bf47
[ "MIT" ]
null
null
null
""" Methods for handling DB creation and CRUD operations in Sqlite3. """ # Standard library imports import logging import sqlite3 # Local application imports from ism.exceptions.exceptions import UnrecognisedParameterisationCharacter from ism.interfaces.dao_interface import DAOInterface
34.807692
94
0.614641
c3ddb0f5cc3958cd4468c89bd47c157287e41cea
7,373
py
Python
src/content_selection/old_lda.py
elenakhas/summarization_system
c8da139daea768898bb1b32ff671d204bba3a9a7
[ "MIT" ]
null
null
null
src/content_selection/old_lda.py
elenakhas/summarization_system
c8da139daea768898bb1b32ff671d204bba3a9a7
[ "MIT" ]
null
null
null
src/content_selection/old_lda.py
elenakhas/summarization_system
c8da139daea768898bb1b32ff671d204bba3a9a7
[ "MIT" ]
null
null
null
import os import json import argparse from gensim import corpora from gensim.utils import simple_preprocess from gensim.models import LdaModel # reaad json file def parseJson(json_file): ''' parsing the JSON file from the pre-processing pipeline :param json_file :return: dictionary with docID as key ...
35.447115
111
0.595416
c3de38c22cfda9f4f7342bce1d98e9209e645392
1,267
py
Python
uva/247.py
btjanaka/competitive-programming-solutions
e3df47c18451802b8521ebe61ca71ee348e5ced7
[ "MIT" ]
3
2020-06-25T21:04:02.000Z
2021-05-12T03:33:19.000Z
uva/247.py
btjanaka/competitive-programming-solutions
e3df47c18451802b8521ebe61ca71ee348e5ced7
[ "MIT" ]
null
null
null
uva/247.py
btjanaka/competitive-programming-solutions
e3df47c18451802b8521ebe61ca71ee348e5ced7
[ "MIT" ]
1
2020-06-25T21:04:06.000Z
2020-06-25T21:04:06.000Z
# Author: btjanaka (Bryon Tjanaka) # Problem: (UVa) 247 import sys from collections import defaultdict main()
19.796875
54
0.481452
c3de8bb295f59593da837f846389cf50e4339c8b
1,970
py
Python
lib/dataset/utils.py
decisionforce/mmTransformer
be25d26118d2dfdac72b1d1e0cf6cbf14f7f4a0b
[ "Apache-2.0" ]
199
2021-03-23T06:10:50.000Z
2022-03-31T08:23:00.000Z
lib/dataset/utils.py
yuzhouxianzhi/mmTransformer
be25d26118d2dfdac72b1d1e0cf6cbf14f7f4a0b
[ "Apache-2.0" ]
16
2021-04-12T12:48:46.000Z
2022-03-10T14:11:26.000Z
lib/dataset/utils.py
yuzhouxianzhi/mmTransformer
be25d26118d2dfdac72b1d1e0cf6cbf14f7f4a0b
[ "Apache-2.0" ]
23
2021-03-29T01:37:56.000Z
2022-03-30T01:48:41.000Z
import math import numpy as np from sklearn.linear_model import LinearRegression def get_heading_angle(traj: np.ndarray): """ get the heading angle traj: [N,2] N>=6 """ # length == 6 # sort position _traj = traj.copy() traj = traj.copy() traj = traj[traj[:, 0].argsort()] ...
31.269841
93
0.586294
c3dfc2511f343d7ceb9692a36dbb37532c595d9b
1,637
py
Python
src/utils/schema/jobserver/migrations/0013_migrate_job_completion.py
gravitationalwavedc/gwcloud_job_server
fb96ed1dc6baa240d1a38ac1adcd246577285294
[ "MIT" ]
null
null
null
src/utils/schema/jobserver/migrations/0013_migrate_job_completion.py
gravitationalwavedc/gwcloud_job_server
fb96ed1dc6baa240d1a38ac1adcd246577285294
[ "MIT" ]
8
2020-06-06T08:39:37.000Z
2021-09-22T18:01:47.000Z
src/utils/schema/jobserver/migrations/0013_migrate_job_completion.py
gravitationalwavedc/gwcloud_job_server
fb96ed1dc6baa240d1a38ac1adcd246577285294
[ "MIT" ]
null
null
null
# Generated by Django 3.0.4 on 2020-05-17 22:34 from django.db import migrations, models from django.utils import timezone
31.480769
84
0.592547
c3e1060bf2a185aa6c94956d406f3149c414b1ec
8,603
py
Python
tests/test.py
limited/Superior-Cache-ANalyzer
0552cd10136b2bee953d22277fdc700ce7c6dd2d
[ "Apache-2.0" ]
null
null
null
tests/test.py
limited/Superior-Cache-ANalyzer
0552cd10136b2bee953d22277fdc700ce7c6dd2d
[ "Apache-2.0" ]
null
null
null
tests/test.py
limited/Superior-Cache-ANalyzer
0552cd10136b2bee953d22277fdc700ce7c6dd2d
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 # Copyright 2018 Comcast Cable Communications Management, LLC # 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 re...
31.17029
116
0.676043
c3e1f510ef63ae835103c4ad8efe6e325362dcc1
8,810
py
Python
ansible/venv/lib/python2.7/site-packages/ansible/modules/cloud/vmware/vmware_host_powermgmt_policy.py
gvashchenkolineate/gvashchenkolineate_infra_trytravis
0fb18850afe0d8609693ba4b23f29c7cda17d97f
[ "MIT" ]
17
2017-06-07T23:15:01.000Z
2021-08-30T14:32:36.000Z
ansible/venv/lib/python2.7/site-packages/ansible/modules/cloud/vmware/vmware_host_powermgmt_policy.py
gvashchenkolineate/gvashchenkolineate_infra_trytravis
0fb18850afe0d8609693ba4b23f29c7cda17d97f
[ "MIT" ]
9
2017-06-25T03:31:52.000Z
2021-05-17T23:43:12.000Z
ansible/venv/lib/python2.7/site-packages/ansible/modules/cloud/vmware/vmware_host_powermgmt_policy.py
gvashchenkolineate/gvashchenkolineate_infra_trytravis
0fb18850afe0d8609693ba4b23f29c7cda17d97f
[ "MIT" ]
3
2018-05-26T21:31:22.000Z
2019-09-28T17:00:45.000Z
#!/usr/bin/python # -*- coding: utf-8 -*- # Copyright: (c) 2018, Christian Kotte <christian.kotte@gmx.de> # # 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 = { 'met...
37.330508
121
0.592168
c3e416fee43806fffc3e5957dc5258f61a408baa
12,483
py
Python
drizzlepac/run_hla_flag_filter.py
srodney/drizzlepac
c554523331a6204ce113d4317b7286ad39094f74
[ "BSD-3-Clause" ]
2
2020-02-10T16:15:58.000Z
2021-03-24T20:08:03.000Z
drizzlepac/run_hla_flag_filter.py
srodney/drizzlepac
c554523331a6204ce113d4317b7286ad39094f74
[ "BSD-3-Clause" ]
null
null
null
drizzlepac/run_hla_flag_filter.py
srodney/drizzlepac
c554523331a6204ce113d4317b7286ad39094f74
[ "BSD-3-Clause" ]
1
2020-09-02T18:08:39.000Z
2020-09-02T18:08:39.000Z
#!/usr/bin/env python """This script simply calls drizzlepac/hlautils/hla_flag_filter.py for test purposes""" import json import glob import os import pdb import sys from astropy.table import Table import drizzlepac from drizzlepac.hlautils import config_utils from drizzlepac.hlautils import poller_utils #==========...
61.79703
340
0.667868
c3e5a8f772560507fa6d343866762b6688837518
71
py
Python
get_position.py
Zerschleuniger/fracture_mechanics-automate_franc2d
a16df615cd163ed8a573c000aad074c1387f6add
[ "MIT" ]
null
null
null
get_position.py
Zerschleuniger/fracture_mechanics-automate_franc2d
a16df615cd163ed8a573c000aad074c1387f6add
[ "MIT" ]
null
null
null
get_position.py
Zerschleuniger/fracture_mechanics-automate_franc2d
a16df615cd163ed8a573c000aad074c1387f6add
[ "MIT" ]
null
null
null
import pyautogui import time time.sleep(3) print(pyautogui.position())
14.2
27
0.802817
c3e6442d2623708c8ac504af5f8c38b19fd3c0c5
4,182
py
Python
tests/test_concatenated_brain_lstm.py
Dranero/NeuroEvolution-CTRNN_new
19751b1511cebe59c7605ba97737530b69861088
[ "MIT" ]
null
null
null
tests/test_concatenated_brain_lstm.py
Dranero/NeuroEvolution-CTRNN_new
19751b1511cebe59c7605ba97737530b69861088
[ "MIT" ]
null
null
null
tests/test_concatenated_brain_lstm.py
Dranero/NeuroEvolution-CTRNN_new
19751b1511cebe59c7605ba97737530b69861088
[ "MIT" ]
null
null
null
from tools.configurations import ConcatenatedBrainLSTMCfg from brains.concatenated_brains import ConcatenatedLSTM from brains.lstm import LSTMNumPy from brains.ffnn import FeedForwardNumPy import numpy as np from gym.spaces import Box
45.956044
121
0.752989
c3e72c6c31d212fced0fce571e32ee5d5eba0f2d
1,432
py
Python
tests/pfmsoft/util/file/conftest.py
DonalChilde/Pfm-Util
6be95278e61d3007da193742e089ea2ae7faa190
[ "MIT" ]
1
2021-09-25T22:03:01.000Z
2021-09-25T22:03:01.000Z
tests/pfmsoft/util/file/conftest.py
DonalChilde/Pfm-Util
6be95278e61d3007da193742e089ea2ae7faa190
[ "MIT" ]
null
null
null
tests/pfmsoft/util/file/conftest.py
DonalChilde/Pfm-Util
6be95278e61d3007da193742e089ea2ae7faa190
[ "MIT" ]
null
null
null
import json from pathlib import Path import pytest
27.018868
75
0.697626
c3e9f4343126ec46f0c5a89073232da6448d66bd
3,118
py
Python
shell/core/help.py
dromero1452/shellsploit-framework
38ce78542fd2dd2ac30f6567972d695ede1e4709
[ "MIT" ]
2
2019-12-23T15:47:02.000Z
2020-01-06T09:51:57.000Z
shell/core/help.py
badfish5150/shellsploit-framework
22bb910d33379ca29ddd10ba93a63e9ff1eab99d
[ "MIT" ]
null
null
null
shell/core/help.py
badfish5150/shellsploit-framework
22bb910d33379ca29ddd10ba93a63e9ff1eab99d
[ "MIT" ]
1
2021-12-23T16:35:24.000Z
2021-12-23T16:35:24.000Z
# ------------------Bombermans Team---------------------------------# # Author : B3mB4m # Concat : b3mb4m@protonmail.com # Project : https://github.com/b3mb4m/Shellsploit # LICENSE : https://github.com/b3mb4m/Shellsploit/blob/master/LICENSE # ------------------------------------------------------------------# from ...
36.255814
74
0.536562
c3ef2c796af21bf862af0de2fcb23a9f957c5de9
732
py
Python
django_vcr/management/commands/download_tapes.py
areedtomlinson/django-vcr
902f38346a01a8e6124e859e21d7acb9c97241fc
[ "MIT" ]
null
null
null
django_vcr/management/commands/download_tapes.py
areedtomlinson/django-vcr
902f38346a01a8e6124e859e21d7acb9c97241fc
[ "MIT" ]
null
null
null
django_vcr/management/commands/download_tapes.py
areedtomlinson/django-vcr
902f38346a01a8e6124e859e21d7acb9c97241fc
[ "MIT" ]
null
null
null
import os from optparse import make_option from django.core.management.base import BaseCommand, CommandError
27.111111
77
0.639344
c3f037f9b6896ab3320e40dc02cc6755e166843f
958
py
Python
common/src/stack/command/stack/commands/dump/plugin_bootaction.py
shivanshs9/stacki
258740748281dfe89b0f566261eaf23102f91aa4
[ "BSD-3-Clause" ]
null
null
null
common/src/stack/command/stack/commands/dump/plugin_bootaction.py
shivanshs9/stacki
258740748281dfe89b0f566261eaf23102f91aa4
[ "BSD-3-Clause" ]
null
null
null
common/src/stack/command/stack/commands/dump/plugin_bootaction.py
shivanshs9/stacki
258740748281dfe89b0f566261eaf23102f91aa4
[ "BSD-3-Clause" ]
null
null
null
# @copyright@ # Copyright (c) 2006 - 2018 Teradata # All rights reserved. Stacki(r) v5.x stacki.com # https://github.com/Teradata/stacki/blob/master/LICENSE.txt # @copyright@ import stack.commands
21.288889
60
0.662839
c3f051a0ba567a1bfa80d8a15622a56fe1837dca
608
py
Python
swcms_social/faq/migrations/0005_auto_20180419_1001.py
ivanff/swcms
20d121003243abcc26e41409bc44f1c0ef3c6c2a
[ "MIT" ]
null
null
null
swcms_social/faq/migrations/0005_auto_20180419_1001.py
ivanff/swcms
20d121003243abcc26e41409bc44f1c0ef3c6c2a
[ "MIT" ]
1
2019-06-25T11:17:35.000Z
2019-06-25T11:17:54.000Z
swcms_social/faq/migrations/0005_auto_20180419_1001.py
ivanff/swcms-social
20d121003243abcc26e41409bc44f1c0ef3c6c2a
[ "MIT" ]
null
null
null
# Generated by Django 2.0.3 on 2018-04-19 07:01 from django.db import migrations
27.636364
121
0.597039
c3f17a70386052db02c11c15fab00823b5a363bc
1,245
py
Python
Missing Numbers.py
Shaikh-Nabeel/HackerRankAlgorithms
3d11fd2c45bd045fa320691c8ac1c89acadc6d8a
[ "Apache-2.0" ]
null
null
null
Missing Numbers.py
Shaikh-Nabeel/HackerRankAlgorithms
3d11fd2c45bd045fa320691c8ac1c89acadc6d8a
[ "Apache-2.0" ]
null
null
null
Missing Numbers.py
Shaikh-Nabeel/HackerRankAlgorithms
3d11fd2c45bd045fa320691c8ac1c89acadc6d8a
[ "Apache-2.0" ]
null
null
null
""" Problem Statement Numeros, The Artist, had two lists A and B, such that, B was a permutation of A. Numeros was very proud of these lists. Unfortunately, while transporting them from one exhibition to another, some numbers from List A got left out. Can you find out the numbers missing from A? """ __author__ = 'Dany...
24.411765
119
0.519679
c3f1f74b466b17b50d5baf80f81ac4960271ecd0
3,187
py
Python
jmap/account/imap/mailbox.py
filiphanes/jmap-proxy-python
86d7aba07c5faad652dd46f418f2b8dd3fe03bc3
[ "MIT" ]
14
2020-05-12T14:21:23.000Z
2022-03-17T07:20:25.000Z
jmap/account/imap/mailbox.py
filiphanes/jmap-proxy-python
86d7aba07c5faad652dd46f418f2b8dd3fe03bc3
[ "MIT" ]
1
2020-11-28T12:52:09.000Z
2020-11-28T12:52:09.000Z
jmap/account/imap/mailbox.py
filiphanes/jmap-proxy-python
86d7aba07c5faad652dd46f418f2b8dd3fe03bc3
[ "MIT" ]
4
2020-06-03T09:21:01.000Z
2022-03-11T20:43:58.000Z
from jmap.account.imap.imap_utf7 import imap_utf7_decode, imap_utf7_encode KNOWN_SPECIALS = set('\\HasChildren \\HasNoChildren \\NoSelect \\NoInferiors \\UnMarked \\Subscribed'.lower().split()) # special use or name magic ROLE_MAP = { 'inbox': 'inbox', 'drafts': 'drafts', 'draft': 'drafts', 'draft messages':...
26.338843
118
0.557891
c3f30ba18a8ccc9b5eb6bda010feb4e01b778707
2,987
py
Python
pyieee1905/multiap_msg.py
evanslai/pyieee1905
1007f964c1ebcaf3825a809fb98bc20430e26b64
[ "MIT" ]
3
2020-07-17T15:58:49.000Z
2022-01-03T11:40:04.000Z
pyieee1905/multiap_msg.py
jayakumar-ananthakrishnan/pyieee1905
8aab72a1bccb9c6c753ca7d3d8913b3cba4c74a0
[ "MIT" ]
3
2019-03-29T19:31:23.000Z
2021-09-16T11:51:55.000Z
pyieee1905/multiap_msg.py
jayakumar-ananthakrishnan/pyieee1905
8aab72a1bccb9c6c753ca7d3d8913b3cba4c74a0
[ "MIT" ]
1
2021-09-14T13:58:43.000Z
2021-09-14T13:58:43.000Z
from pyieee1905.ieee1905_tlv import IEEE1905_TLV from scapy.packet import Packet, bind_layers from scapy.fields import BitField, XByteField, XShortField, XShortEnumField from scapy.layers.l2 import Ether IEEE1905_MCAST = "01:80:c2:00:00:13" ieee1905_msg_type = { 0x0000:"TOPOLOGY_DISCOVERY_MESSAGE", 0x0001:...
37.810127
75
0.781051
c3f439b48efe360b61fbb39a47da1c6f455643ce
2,719
py
Python
daily_practice/tools/GetMem.py
joakimzhang/qa_study
ff8930e674d45c49bea4e130d14d73d17b090e48
[ "Apache-2.0" ]
null
null
null
daily_practice/tools/GetMem.py
joakimzhang/qa_study
ff8930e674d45c49bea4e130d14d73d17b090e48
[ "Apache-2.0" ]
null
null
null
daily_practice/tools/GetMem.py
joakimzhang/qa_study
ff8930e674d45c49bea4e130d14d73d17b090e48
[ "Apache-2.0" ]
null
null
null
# coding:utf8 ''' Created on 2016830 @author: zhangq ''' from serial import Serial import re from threading import Thread import time import datetime import pygal import os if __name__ == "__main__": my_obj = FilterMem(9, 115200) my_obj.send_thread("mid", 10) #my_obj.connect_uart() my_obj.getmem("Us...
29.554348
135
0.544318
c3f60d6a60312b81c0e1bdb097c0cb726e1268b3
4,582
py
Python
worky/server.py
asuol/worky
362257e77486af05941cc977055c01e49b09a2dd
[ "MIT" ]
null
null
null
worky/server.py
asuol/worky
362257e77486af05941cc977055c01e49b09a2dd
[ "MIT" ]
null
null
null
worky/server.py
asuol/worky
362257e77486af05941cc977055c01e49b09a2dd
[ "MIT" ]
null
null
null
""" MIT License Copyright (c) 2020 Andr Lousa Marques <andre.lousa.marques at 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 righ...
27.60241
78
0.742034
c3f743cc4af3a71c5d1f33fa1729e7222543c974
561
py
Python
main.py
tyleralgigi/NCAA-NN
e2482846d6a588a80f2ae7641fc8109eab62523e
[ "MIT" ]
3
2020-02-11T19:40:30.000Z
2020-12-02T13:15:48.000Z
main.py
tyleralgigi/ALBURT_AI
e2482846d6a588a80f2ae7641fc8109eab62523e
[ "MIT" ]
4
2020-02-07T19:42:08.000Z
2021-06-02T01:00:59.000Z
main.py
tyleralgigi/NCAA-NN
e2482846d6a588a80f2ae7641fc8109eab62523e
[ "MIT" ]
null
null
null
#files import schedule import test import ATS import editGameList import getGames import getData #libs import pathlib import time if __name__ == '__main__': path = pathlib.Path(__file__).parent.absolute() getData.getData() print('1/6') time.sleep(2) getGames.start(path) print('2/6') time.sl...
18.096774
51
0.654189
c3f80a30cddcf300830226429e92b2147122720d
12,689
py
Python
waffle/tests/test_management.py
theunraveler/django-waffle
4b27b27c5ce3f044eb8b2c94f40df841bc982884
[ "BSD-3-Clause" ]
1
2021-09-12T00:44:29.000Z
2021-09-12T00:44:29.000Z
waffle/tests/test_management.py
theunraveler/django-waffle
4b27b27c5ce3f044eb8b2c94f40df841bc982884
[ "BSD-3-Clause" ]
4
2016-06-01T16:23:26.000Z
2017-01-04T13:04:06.000Z
waffle/tests/test_management.py
theunraveler/django-waffle
4b27b27c5ce3f044eb8b2c94f40df841bc982884
[ "BSD-3-Clause" ]
null
null
null
from __future__ import unicode_literals import six from django.core.management import call_command, CommandError from django.contrib.auth.models import Group, User from waffle import get_waffle_flag_model from waffle.models import Sample, Switch from waffle.tests.base import TestCase
38.568389
85
0.638033
c3fa1a868dbcea9b71565113431a5f4f8d72d153
8,733
py
Python
cdma.py
SouppuoS/CDMA
8377fa2e238f0802c306869018746305cc5122c9
[ "MIT" ]
7
2021-11-02T12:18:02.000Z
2022-02-14T12:30:46.000Z
cdma.py
Pashasah/CDMA
8377fa2e238f0802c306869018746305cc5122c9
[ "MIT" ]
1
2021-12-14T20:56:48.000Z
2021-12-18T04:30:01.000Z
cdma.py
Pashasah/CDMA
8377fa2e238f0802c306869018746305cc5122c9
[ "MIT" ]
3
2021-12-12T07:34:16.000Z
2022-03-30T07:21:02.000Z
""" Implement of Circular Differential Microphone Arrays (CDMA) Reference: [1] Benesty, Jacob, Jingdong Chen, and Israel Cohen. Design of circular differential microphone arrays. Vol. 12. Berlin, Germany:: Springer, 2015. """ import numpy as np c = 340 class FixedBeamformor(): class CDMA(FixedBeamformor): ""...
40.430556
146
0.482996
c3fc3ab5d99683c3c1fb3c45a1d21f95f0d04d07
2,083
py
Python
iteebot/manage.py
enkwolf/ITEE-discord-bot
9b39852f99316c4fd376a5bf85e2500eadd6ec7e
[ "MIT" ]
null
null
null
iteebot/manage.py
enkwolf/ITEE-discord-bot
9b39852f99316c4fd376a5bf85e2500eadd6ec7e
[ "MIT" ]
null
null
null
iteebot/manage.py
enkwolf/ITEE-discord-bot
9b39852f99316c4fd376a5bf85e2500eadd6ec7e
[ "MIT" ]
null
null
null
""" Command line management utilities for ITEEBot. This module's command line interface will act as the bot's entry point when installed. """ import click from . import configurator as conf from . import database as db from .bot import ITEEBot cli.add_command(create_config) cli.add_command(init_db) cli.add_command(ru...
24.797619
77
0.69035
c3fc56ed683eeb1327d133f78576e74865f4e678
439
py
Python
accounts/models.py
sulembutproton/morphicsys
17bdeb501b1225fc7cb7c384f5c70ad0fabfdf23
[ "MIT" ]
null
null
null
accounts/models.py
sulembutproton/morphicsys
17bdeb501b1225fc7cb7c384f5c70ad0fabfdf23
[ "MIT" ]
null
null
null
accounts/models.py
sulembutproton/morphicsys
17bdeb501b1225fc7cb7c384f5c70ad0fabfdf23
[ "MIT" ]
null
null
null
import random from django.core.exceptions import ValidationError from django.db import models from django.conf import settings
29.266667
80
0.758542
c3fff026f9609601d831faed00227194945d7bec
7,685
py
Python
corehq/apps/translations/integrations/transifex/project_migrator.py
dimagilg/commcare-hq
ea1786238eae556bb7f1cbd8d2460171af1b619c
[ "BSD-3-Clause" ]
471
2015-01-10T02:55:01.000Z
2022-03-29T18:07:18.000Z
corehq/apps/translations/integrations/transifex/project_migrator.py
dimagilg/commcare-hq
ea1786238eae556bb7f1cbd8d2460171af1b619c
[ "BSD-3-Clause" ]
14,354
2015-01-01T07:38:23.000Z
2022-03-31T20:55:14.000Z
corehq/apps/translations/integrations/transifex/project_migrator.py
dimagilg/commcare-hq
ea1786238eae556bb7f1cbd8d2460171af1b619c
[ "BSD-3-Clause" ]
175
2015-01-06T07:16:47.000Z
2022-03-29T13:27:01.000Z
import copy import datetime import tempfile from collections import OrderedDict from django.utils.functional import cached_property from django.utils.translation import ugettext as _ import polib from memoized import memoized from corehq.apps.app_manager.dbaccessors import get_app from corehq.apps.translations.integ...
41.766304
110
0.670787
7f0027a4173acf95c325d3b417da922342f80c70
515
py
Python
project3-mlops/Includes/Common-Notebooks/Common-Test.py
LiuxyEric/dscc202-402-spring2022
f3877c2dde64656f9d84e3f913340f3fcefdc11b
[ "MIT" ]
null
null
null
project3-mlops/Includes/Common-Notebooks/Common-Test.py
LiuxyEric/dscc202-402-spring2022
f3877c2dde64656f9d84e3f913340f3fcefdc11b
[ "MIT" ]
null
null
null
project3-mlops/Includes/Common-Notebooks/Common-Test.py
LiuxyEric/dscc202-402-spring2022
f3877c2dde64656f9d84e3f913340f3fcefdc11b
[ "MIT" ]
53
2022-01-11T19:06:06.000Z
2022-03-25T19:27:48.000Z
# Databricks notebook source # MAGIC # MAGIC %md # MAGIC # Integration Tests # MAGIC The purpose of this notebook is to faciliate testing of our systems. # COMMAND ---------- import os spark.conf.set("com.databricks.training.module-name", "common-notebooks") currentVersion = os.environ["DATABRICKS_RUNTIME_VERSION"...
19.807692
76
0.72233
7f0183081841c770b57330f1874dfa4da1f1b5b1
3,865
py
Python
py/test_runner.py
radanalyticsio/tensorflow-k8s
cb1e05389bfb25f21da84ca489eb8c8630f36b58
[ "Apache-2.0" ]
4
2018-03-02T12:27:34.000Z
2020-06-04T17:24:39.000Z
py/test_runner.py
radanalyticsio/tensorflow-k8s
cb1e05389bfb25f21da84ca489eb8c8630f36b58
[ "Apache-2.0" ]
null
null
null
py/test_runner.py
radanalyticsio/tensorflow-k8s
cb1e05389bfb25f21da84ca489eb8c8630f36b58
[ "Apache-2.0" ]
2
2018-09-05T18:47:31.000Z
2019-03-05T17:21:43.000Z
"""Test runner runs a TfJob test.""" import argparse import logging import os import time import uuid import jinja2 from kubernetes import client as k8s_client from py import test_util from py import util from py import tf_job_client from google.cloud import storage # pylint: disable=no-name-in-module import yaml ...
27.411348
83
0.684605
7f019039c93471670011b52c66c98041328e2ea4
2,848
py
Python
deepspeech/io/collator.py
iclementine/DeepSpeech
d0635c6592a2e787ca296e15241e7371a83ca55f
[ "Apache-2.0" ]
1
2021-05-14T23:27:13.000Z
2021-05-14T23:27:13.000Z
deepspeech/io/collator.py
xihuanafeng/DeepSpeech
2bdf4c946af66cc173d638c072ba6435cd18a286
[ "Apache-2.0" ]
null
null
null
deepspeech/io/collator.py
xihuanafeng/DeepSpeech
2bdf4c946af66cc173d638c072ba6435cd18a286
[ "Apache-2.0" ]
null
null
null
# Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
36.050633
86
0.61236
7f01e3a718f45996d405a272db21ce74f4e2b2d9
553
py
Python
launch/test.py
a-tharva/LaunchEnv
3f138d863e961c541513539c499574122fbd8b9b
[ "MIT" ]
1
2022-01-25T04:44:22.000Z
2022-01-25T04:44:22.000Z
launch/test.py
a-tharva/LaunchEnv
3f138d863e961c541513539c499574122fbd8b9b
[ "MIT" ]
null
null
null
launch/test.py
a-tharva/LaunchEnv
3f138d863e961c541513539c499574122fbd8b9b
[ "MIT" ]
null
null
null
#import subprocess # #subprocess.Popen(f'C:\Windows\system32\calc.exe') # # # # # # # #\ is a escape character. You have three options. # #1) use /. This, as a bonus works for linux as well: # 'D:/xxx/xxxx/asd/asd.exe' # #2) escape the backslash # 'D:\\xxx\\xxxx\\asd\\asd.exe' # #3) use raw strings: #r'D:\xxx\xxxx\as...
14.945946
58
0.631103
7f02e9703a47b60d920bf5b4d7b9b607bc976036
96
py
Python
struct2seq/__init__.py
amorehead/neurips19-graph-protein-design
92ecd0b667069c3207afa668865eb23eea4631d4
[ "MIT" ]
null
null
null
struct2seq/__init__.py
amorehead/neurips19-graph-protein-design
92ecd0b667069c3207afa668865eb23eea4631d4
[ "MIT" ]
null
null
null
struct2seq/__init__.py
amorehead/neurips19-graph-protein-design
92ecd0b667069c3207afa668865eb23eea4631d4
[ "MIT" ]
null
null
null
__all__ = ['data', 'noam_opt', 'protein_features', 'self_attention', 'struct2seq', 'seq_model']
48
95
0.708333
7f02f1eeb46d28ccafbcdaa3e9a08ba2c3640961
20,258
py
Python
p1bsl_formatter.py
WonderMr/Linter1
f7ab00505902e5622d24ac3a48d074850cd67193
[ "Artistic-2.0" ]
null
null
null
p1bsl_formatter.py
WonderMr/Linter1
f7ab00505902e5622d24ac3a48d074850cd67193
[ "Artistic-2.0" ]
null
null
null
p1bsl_formatter.py
WonderMr/Linter1
f7ab00505902e5622d24ac3a48d074850cd67193
[ "Artistic-2.0" ]
null
null
null
# -*- coding: utf-8 -*- import os import sys import re from collections import namedtuple import subprocess from typing import NewType p1 = p1parser() cwd1 = os.getcwd() for file in os.listdir(cwd1): if file.capitalize().endswith(".bsl"): ...
57.225989
217
0.423783
7f0316dc67c441582810e7ff6fb783c0825f64ba
2,010
py
Python
server/__init__.py
jbcurtin/datsu-panic
aa3706cf2c9c7b74d15e94b3ef767a67853720f9
[ "MIT" ]
null
null
null
server/__init__.py
jbcurtin/datsu-panic
aa3706cf2c9c7b74d15e94b3ef767a67853720f9
[ "MIT" ]
null
null
null
server/__init__.py
jbcurtin/datsu-panic
aa3706cf2c9c7b74d15e94b3ef767a67853720f9
[ "MIT" ]
null
null
null
import asyncio import logging import time from functools import partial from signal import SIGINT, SIGTERM from panic import \ datatypes as panic_datatypes logger = logging.getLogger(__name__) current_time = None def update_current_time(loop): """ Caches the current time, since it is needed at the e...
25.443038
77
0.726866
7f03b804ac44c2d020cee4637a88e0c658251515
47,593
py
Python
analysis/scripts/gmm.py
sbooeshaghi/azucar
0ced041aa9cfa52593109f79794ac6009adf909a
[ "BSD-2-Clause" ]
null
null
null
analysis/scripts/gmm.py
sbooeshaghi/azucar
0ced041aa9cfa52593109f79794ac6009adf909a
[ "BSD-2-Clause" ]
null
null
null
analysis/scripts/gmm.py
sbooeshaghi/azucar
0ced041aa9cfa52593109f79794ac6009adf909a
[ "BSD-2-Clause" ]
null
null
null
# this file contains _base.py and _gaussian_mixture.py # @title sklearn/mixture/_base.py """Base class for mixture models.""" # sklearn/mixture/_base.py # Author: Wei Xue <xuewei4d@gmail.com> # Modified by Thierry Guillemot <thierry.guillemot.work@gmail.com> # License: BSD 3 clause import warnings from abc import ...
33.25856
88
0.605992
7f040d97e1fdd272b5cef573caeb25422a650cb8
4,548
py
Python
main.py
scottyplunkett/crayket
6cc203e55865ff8c1cf4269c3a55e18b70a1b40f
[ "MIT" ]
1
2020-08-25T15:53:05.000Z
2020-08-25T15:53:05.000Z
main.py
scottyplunkett/crayket
6cc203e55865ff8c1cf4269c3a55e18b70a1b40f
[ "MIT" ]
null
null
null
main.py
scottyplunkett/crayket
6cc203e55865ff8c1cf4269c3a55e18b70a1b40f
[ "MIT" ]
null
null
null
from kivy.app import App from kivy.uix.gridlayout import GridLayout from kivy.uix.boxlayout import BoxLayout from kivy.uix.widget import Widget from kivy.uix.button import Button, Label from kivy.properties import ListProperty, ObjectProperty from game import Game from player import Player from helpers import new_targe...
31.583333
75
0.644019
7f052867dedcbc62e101a7a70ed0204af998d934
609
py
Python
src/modular/funcion1.py
GokoshiJr/algoritmos2-py
106dcbed31739309c193a77c671522aac17f6e45
[ "MIT" ]
null
null
null
src/modular/funcion1.py
GokoshiJr/algoritmos2-py
106dcbed31739309c193a77c671522aac17f6e45
[ "MIT" ]
null
null
null
src/modular/funcion1.py
GokoshiJr/algoritmos2-py
106dcbed31739309c193a77c671522aac17f6e45
[ "MIT" ]
null
null
null
# 16. Evale la siguiente funcin matemtica: f(a,b,c,d,e) = ((a! + b! + c!) / d!) + e^c / e! # Ejemplo: Si a = 5, b = 1, c= 4 , d = 3, e = 2 despliega: 32,17 a, b, c, d, e = 5, 1, 4, 3, 2 print('Despliega: {:.2f}'.format(formula(a, b, c, d, e)))
32.052632
94
0.533662
7f055b39eb9d9bedda5195c6c85467b444c1804f
799
py
Python
setup.py
Fragalli/brFinance
f06d7b148d20d07361c89158837d47225c4fea1f
[ "MIT" ]
1
2021-07-19T19:12:11.000Z
2021-07-19T19:12:11.000Z
setup.py
Fragalli/brFinance
f06d7b148d20d07361c89158837d47225c4fea1f
[ "MIT" ]
1
2021-07-22T13:52:30.000Z
2021-07-22T13:52:30.000Z
setup.py
Fragalli/brFinance
f06d7b148d20d07361c89158837d47225c4fea1f
[ "MIT" ]
null
null
null
from setuptools import setup, find_packages setup( name='brfinance', version='0.1', packages=find_packages(exclude=['tests*']), license='MIT', description='A Python package for webscraping financial data brazilian sources such as CVM, Banco Central, B3, ANBIMA, etc.', long_description=open('REA...
49.9375
160
0.679599
7f08f99ac096d3d4fdb36c4caaac2056f5f43854
5,938
py
Python
model/DeepLabv3plus2.py
THU-CVlab/JMedSeg
1c9c66a1b2c6e4c5e3f70ca9e1ed54447b944755
[ "MIT" ]
26
2021-08-19T05:22:44.000Z
2022-03-08T05:44:43.000Z
model/DeepLabv3plus2.py
Jittor/JMedSeg
1c9c66a1b2c6e4c5e3f70ca9e1ed54447b944755
[ "MIT" ]
null
null
null
model/DeepLabv3plus2.py
Jittor/JMedSeg
1c9c66a1b2c6e4c5e3f70ca9e1ed54447b944755
[ "MIT" ]
3
2021-08-19T06:12:49.000Z
2021-08-19T11:41:16.000Z
import jittor as jt from jittor import nn from jittor import Module from jittor import init from jittor.contrib import concat from model.backbone import resnet50, resnet101 from model.backbone import res2net101 Backbone_List = ['resnet50', 'resnet101', 'res2net101'] def main(): model = DeepLab(backbone = 'resne...
36.207317
105
0.580835
7f094e91b9871860a612632460408191babfa754
788
py
Python
snakeoil/migrations/0001_initial.py
wbcsmarteezgithub/django-snakeoil
ae1a8dab9e14194e48963101ff3349f45aee0ccf
[ "BSD-2-Clause" ]
1
2020-07-03T15:52:25.000Z
2020-07-03T15:52:25.000Z
snakeoil/migrations/0001_initial.py
wbcsmarteezgithub/django-snakeoil
ae1a8dab9e14194e48963101ff3349f45aee0ccf
[ "BSD-2-Clause" ]
null
null
null
snakeoil/migrations/0001_initial.py
wbcsmarteezgithub/django-snakeoil
ae1a8dab9e14194e48963101ff3349f45aee0ccf
[ "BSD-2-Clause" ]
null
null
null
# Generated by Django 2.2 on 2020-03-30 15:03 from django.db import migrations, models
29.185185
126
0.574873
7f09c4ad50e3517a9c308f3dc246fb0ef9e4dac5
1,090
py
Python
appswag/tests/test_codec.py
atchoum31/appswag
7279ccde73e2a27495228a9342c88e8526b0534a
[ "MIT" ]
null
null
null
appswag/tests/test_codec.py
atchoum31/appswag
7279ccde73e2a27495228a9342c88e8526b0534a
[ "MIT" ]
null
null
null
appswag/tests/test_codec.py
atchoum31/appswag
7279ccde73e2a27495228a9342c88e8526b0534a
[ "MIT" ]
null
null
null
from __future__ import absolute_import from appswag.primitives import MimeCodec import unittest
35.16129
66
0.646789
7f0b21821574f29c48de13330ac73d4176385f22
2,211
py
Python
mediafeed/databases/files.py
media-feed/mediafeed
c2fb37b20a5bc41a4299193fa9b11f8a3e3b2acf
[ "MIT" ]
null
null
null
mediafeed/databases/files.py
media-feed/mediafeed
c2fb37b20a5bc41a4299193fa9b11f8a3e3b2acf
[ "MIT" ]
null
null
null
mediafeed/databases/files.py
media-feed/mediafeed
c2fb37b20a5bc41a4299193fa9b11f8a3e3b2acf
[ "MIT" ]
null
null
null
import os from shutil import rmtree from ..settings import DATA_PATH def get_media_path(item): return os.path.join(DATA_PATH, 'medias', item.module_id, item.id) def get_medias(item): try: return {Media(item, filename) for filename in os.listdir(get_media_path(item))} except FileNotFoundError: ...
26.638554
97
0.635911
7f0c072f59aca4526734d94d5badc06ae290a227
2,823
py
Python
src/alipay/payment.py
davidrepos/py3alipay
e547e4918c661eb90e69a276ab3e881f28b1112a
[ "MIT" ]
null
null
null
src/alipay/payment.py
davidrepos/py3alipay
e547e4918c661eb90e69a276ab3e881f28b1112a
[ "MIT" ]
null
null
null
src/alipay/payment.py
davidrepos/py3alipay
e547e4918c661eb90e69a276ab3e881f28b1112a
[ "MIT" ]
null
null
null
from hashlib import md5 from urllib.parse import urlencode from .exceptions import AlipayExcepton,ParameterValueErrorException,MissingParameterException,TokenAuthorizationErrorException
44.809524
126
0.643642
7f0c54650b946eb5ed1cdc2900d388cb5381d2f3
1,998
py
Python
src/robusta/core/triggers/error_event_trigger.py
Rutam21/robusta
7c918d96362f607488c0e7e0056f436a06dce4ae
[ "MIT" ]
null
null
null
src/robusta/core/triggers/error_event_trigger.py
Rutam21/robusta
7c918d96362f607488c0e7e0056f436a06dce4ae
[ "MIT" ]
null
null
null
src/robusta/core/triggers/error_event_trigger.py
Rutam21/robusta
7c918d96362f607488c0e7e0056f436a06dce4ae
[ "MIT" ]
1
2022-02-20T01:49:36.000Z
2022-02-20T01:49:36.000Z
from ..discovery.top_service_resolver import TopServiceResolver from ...core.playbooks.base_trigger import TriggerEvent from ...integrations.kubernetes.autogenerated.triggers import EventAllChangesTrigger, EventChangeEvent from ...integrations.kubernetes.base_triggers import K8sTriggerEvent from ...utils.rate_limiter i...
38.423077
110
0.669169
7f0c64c539a14aefaa3e8de5c3955487b8cbc27a
6,483
py
Python
photoman/rename.py
maciejgaleja/good-content
15d88aafec25775211672ca447a569478d1d0fbd
[ "MIT" ]
null
null
null
photoman/rename.py
maciejgaleja/good-content
15d88aafec25775211672ca447a569478d1d0fbd
[ "MIT" ]
null
null
null
photoman/rename.py
maciejgaleja/good-content
15d88aafec25775211672ca447a569478d1d0fbd
[ "MIT" ]
null
null
null
import logging import exifread # type: ignore from datetime import datetime import pathlib import os import shutil import filecmp import subprocess from typing import Tuple, List exifread.logger.disabled = True date_str_default = "1970:01:01 00:00:00" def parse_date_str(date_str: str) -> datetime: date_forma...
33.417526
174
0.583989
7f0d5ca49f1919e597ff44fb16712aa31f0671e9
3,536
py
Python
scripts/yaml2rdf_module.py
opencultureagency/Training.Module.Template
eb9c7a348e55d4884b4be543b00e71b3ba608ee1
[ "CC0-1.0" ]
null
null
null
scripts/yaml2rdf_module.py
opencultureagency/Training.Module.Template
eb9c7a348e55d4884b4be543b00e71b3ba608ee1
[ "CC0-1.0" ]
null
null
null
scripts/yaml2rdf_module.py
opencultureagency/Training.Module.Template
eb9c7a348e55d4884b4be543b00e71b3ba608ee1
[ "CC0-1.0" ]
null
null
null
''' Converts ASKotec training module meta-data (from module.yaml) into an RDF/Turtle. ''' import glob import os from rdflib.namespace import DC, DCTERMS, DOAP, FOAF, SKOS, OWL, RDF, RDFS, VOID, XMLNS, XSD import wget from yaml2rdf_shared import * from yaml2rdf import convert KEY_RESOURCE_URL_YAML = 'yaml-url' KEY_RES...
36.081633
99
0.625283
7f0de68f1e52bb92eebc116356fe75164e1a0c39
8,346
py
Python
bot/handlers/poll_handler.py
rednas174/Whatsapp_bot
05c48f9b82ac92c77c29fb4c4d394ce0607db40f
[ "MIT" ]
3
2021-01-07T21:14:43.000Z
2021-05-24T11:43:59.000Z
bot/handlers/poll_handler.py
rednas174/Whatsapp_bot
05c48f9b82ac92c77c29fb4c4d394ce0607db40f
[ "MIT" ]
4
2021-01-09T13:05:28.000Z
2021-01-10T12:41:47.000Z
bot/handlers/poll_handler.py
rednas174/Whatsapp_bot
05c48f9b82ac92c77c29fb4c4d394ce0607db40f
[ "MIT" ]
3
2021-01-07T21:09:18.000Z
2021-01-12T18:53:09.000Z
# -*- coding: utf-8 -*- """ Created on Fri Jan 15 11:43:21 2021 @author: Sander """ import random # TODO: '/poll vote 88' has no output # : invalid poll id gives no output # Poll datastructure # # { # "number or name of person": # { # "__id" : unique id for every poll # "__name...
30.23913
127
0.496645
7f0e7fdf479fefea84a6252c3937890b9d28d7ee
7,689
py
Python
script.py
OJP98/Text-Prediction
2ef69c82c8e1a0809e54dfbb42f5ed335f5c74d1
[ "MIT" ]
1
2020-12-18T00:10:34.000Z
2020-12-18T00:10:34.000Z
script.py
OJP98/Text-Prediction
2ef69c82c8e1a0809e54dfbb42f5ed335f5c74d1
[ "MIT" ]
null
null
null
script.py
OJP98/Text-Prediction
2ef69c82c8e1a0809e54dfbb42f5ed335f5c74d1
[ "MIT" ]
null
null
null
# To add a new cell, type '# %%' # To add a new markdown cell, type '# %% [markdown]' # %% [markdown] # # Laboratorio #3 - Prediccin de textos # # * Oscar Jurez - 17315 # * Jos Pablo Cifuentes - 17509 # * Paul Belches - 17088 # %% from keras.layers import Embedding from keras.layers import LSTM from keras.layers impor...
31.383673
391
0.60437
7f0f365849e50a905970be37d0158ad513dfbf3f
976
py
Python
notebook/str_compare_re.py
vhn0912/python-snippets
80b2e1d6b2b8f12ae30d6dbe86d25bb2b3a02038
[ "MIT" ]
174
2018-05-30T21:14:50.000Z
2022-03-25T07:59:37.000Z
notebook/str_compare_re.py
vhn0912/python-snippets
80b2e1d6b2b8f12ae30d6dbe86d25bb2b3a02038
[ "MIT" ]
5
2019-08-10T03:22:02.000Z
2021-07-12T20:31:17.000Z
notebook/str_compare_re.py
vhn0912/python-snippets
80b2e1d6b2b8f12ae30d6dbe86d25bb2b3a02038
[ "MIT" ]
53
2018-04-27T05:26:35.000Z
2022-03-25T07:59:37.000Z
import re s = 'aaa-AAA-123' print(re.search('aaa', s)) # <re.Match object; span=(0, 3), match='aaa'> print(re.search('xxx', s)) # None print(re.search('^aaa', s)) # <re.Match object; span=(0, 3), match='aaa'> print(re.search('^123', s)) # None print(re.search('aaa$', s)) # None print(re.search('123$', s)) # <re....
18.415094
56
0.574795
7f1013721896a66800cbfdbbd69ac5bfb01f2332
47
py
Python
pytype/__version__.py
jjedele/pytype
3c5d920d26ac583bdfd68080e7db454ecb1dc900
[ "Apache-2.0" ]
null
null
null
pytype/__version__.py
jjedele/pytype
3c5d920d26ac583bdfd68080e7db454ecb1dc900
[ "Apache-2.0" ]
null
null
null
pytype/__version__.py
jjedele/pytype
3c5d920d26ac583bdfd68080e7db454ecb1dc900
[ "Apache-2.0" ]
null
null
null
# pylint: skip-file __version__ = '2018.12.21'
15.666667
26
0.702128
7f102b5952e499b7df63927d1e17dfc99e397355
291
py
Python
keybindings/autokey/data/Mac/refresh.py
guoyiteng/linux-for-macos-user
705baec9ddffb9ab73172cdc2b272ab123b1e402
[ "MIT" ]
1
2019-10-24T19:52:23.000Z
2019-10-24T19:52:23.000Z
keybindings/autokey/data/Mac/refresh.py
guoyiteng/linux-for-macos-user
705baec9ddffb9ab73172cdc2b272ab123b1e402
[ "MIT" ]
null
null
null
keybindings/autokey/data/Mac/refresh.py
guoyiteng/linux-for-macos-user
705baec9ddffb9ab73172cdc2b272ab123b1e402
[ "MIT" ]
null
null
null
store.set_global_value('hotkey', '<meta>+r') if re.match('.*(Hyper)', window.get_active_class()): logging.debug('terminal refresh buffer') engine.set_return_value('<ctrl>+<shift>+r') else: logging.debug('normal') engine.set_return_value('<ctrl>+r') engine.run_script('combo')
36.375
52
0.697595
7f10c789a41fdf99ae85a779599834f61aad15f7
13,722
py
Python
mednickdb_pyapi/test_mednickdb_pyapi.py
MednickLab/python_module
818763a70d1058e72ddecfea7e07b88e42b39f3b
[ "MIT" ]
null
null
null
mednickdb_pyapi/test_mednickdb_pyapi.py
MednickLab/python_module
818763a70d1058e72ddecfea7e07b88e42b39f3b
[ "MIT" ]
null
null
null
mednickdb_pyapi/test_mednickdb_pyapi.py
MednickLab/python_module
818763a70d1058e72ddecfea7e07b88e42b39f3b
[ "MIT" ]
1
2018-12-06T21:51:22.000Z
2018-12-06T21:51:22.000Z
from mednickdb_pyapi.mednickdb_pyapi import MednickAPI import pytest import time user = 'bdyetton@hotmail.com' password = 'Pass1234' server_address = 'http://saclab.ss.uci.edu:8000' def test_login(): """Test login, this will always pass until we deal with login""" med_api = MednickAPI(server_address, user ,...
44.843137
177
0.626366
7f114c9480739ed4ffd7edf4c037a334bd96a0d0
1,286
py
Python
passl/hooks/evaluate_hook.py
LielinJiang/PASSL
56be08aa50c4883e12b2a728103ccb56dd19b047
[ "Apache-2.0" ]
null
null
null
passl/hooks/evaluate_hook.py
LielinJiang/PASSL
56be08aa50c4883e12b2a728103ccb56dd19b047
[ "Apache-2.0" ]
null
null
null
passl/hooks/evaluate_hook.py
LielinJiang/PASSL
56be08aa50c4883e12b2a728103ccb56dd19b047
[ "Apache-2.0" ]
null
null
null
# Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserve. # # 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 applic...
31.365854
74
0.724728
7f131597a81ecfde4479ee53fb1d6ae3dac7f3c1
13,154
py
Python
npu/core/common.py
xloem/npu
ed6da8599b04e9a5f2eded88d6c6ca433d46aa03
[ "MIT" ]
null
null
null
npu/core/common.py
xloem/npu
ed6da8599b04e9a5f2eded88d6c6ca433d46aa03
[ "MIT" ]
null
null
null
npu/core/common.py
xloem/npu
ed6da8599b04e9a5f2eded88d6c6ca433d46aa03
[ "MIT" ]
null
null
null
import hashlib import json import math import os import dill import base64 from sys import exit import requests from bson import ObjectId from Crypto.Cipher import PKCS1_OAEP from Crypto.Hash import SHA256 from Crypto.PublicKey import RSA #from cryptography.hazmat.primitives.asymmetric import padding #from cryptography...
31.696386
114
0.64277
7f1364a55addfc28c7b3b109ab7ac3024926b0fb
54
py
Python
BZOJ/BZOJ1349.py
xehoth/OnlineJudgeCodes
013d31cccaaa1d2b6d652c2f5d5d6cb2e39884a7
[ "Apache-2.0" ]
7
2017-09-21T13:20:05.000Z
2020-03-02T03:03:04.000Z
BZOJ/BZOJ1349.py
xehoth/OnlineJudgeCodes
013d31cccaaa1d2b6d652c2f5d5d6cb2e39884a7
[ "Apache-2.0" ]
null
null
null
BZOJ/BZOJ1349.py
xehoth/OnlineJudgeCodes
013d31cccaaa1d2b6d652c2f5d5d6cb2e39884a7
[ "Apache-2.0" ]
3
2019-01-05T07:02:57.000Z
2019-06-13T08:23:13.000Z
import math print(int(math.ceil(math.sqrt(input()))))
18
41
0.722222
7f13a49ab964463c1066e45f31d90b6e23b47055
1,326
py
Python
apps/order/migrations/0002_auto_20180710_0937.py
jakejie/ShopPro
f0cec134ae77f4449f15a0219123d6a6bce2aad2
[ "Apache-2.0" ]
1
2019-04-20T16:58:02.000Z
2019-04-20T16:58:02.000Z
apps/order/migrations/0002_auto_20180710_0937.py
jakejie/ShopPro
f0cec134ae77f4449f15a0219123d6a6bce2aad2
[ "Apache-2.0" ]
6
2020-06-05T19:57:58.000Z
2021-09-08T00:49:17.000Z
apps/order/migrations/0002_auto_20180710_0937.py
jakejie/ShopPro
f0cec134ae77f4449f15a0219123d6a6bce2aad2
[ "Apache-2.0" ]
1
2021-09-10T18:29:28.000Z
2021-09-10T18:29:28.000Z
# Generated by Django 2.0.7 on 2018-07-10 09:37 from django.conf import settings from django.db import migrations, models import django.db.models.deletion
33.15
129
0.631222
7f15fb89af9a585518029d9c6d50226a9e6439c3
935
py
Python
discordbot.py
yutoring/discordpy-startup
2a1d7f46d5b83384675494805eb82d5395be622f
[ "MIT" ]
null
null
null
discordbot.py
yutoring/discordpy-startup
2a1d7f46d5b83384675494805eb82d5395be622f
[ "MIT" ]
null
null
null
discordbot.py
yutoring/discordpy-startup
2a1d7f46d5b83384675494805eb82d5395be622f
[ "MIT" ]
null
null
null
from discord.ext import commands import tasks from datetime import datetime import os import traceback bot = commands.Bot(command_prefix='/') token = os.environ['DISCORD_BOT_TOKEN'] # client = discord.Client() # dateTimeList = [ '2019/11/19 18:09', '2019/11/19 18:15', '2019/11/19 18:20', ] # # # 30 # time...
17
51
0.680214
7f16d84239714a967c293f97513e0e7811b10129
2,431
py
Python
model-optimizer/unit_tests/extensions/ops/sparse_reshape_test.py
monroid/openvino
8272b3857ef5be0aaa8abbf7bd0d5d5615dc40b6
[ "Apache-2.0" ]
2,406
2020-04-22T15:47:54.000Z
2022-03-31T10:27:37.000Z
model-optimizer/unit_tests/extensions/ops/sparse_reshape_test.py
thomas-yanxin/openvino
031e998a15ec738c64cc2379d7f30fb73087c272
[ "Apache-2.0" ]
4,948
2020-04-22T15:12:39.000Z
2022-03-31T18:45:42.000Z
model-optimizer/unit_tests/extensions/ops/sparse_reshape_test.py
thomas-yanxin/openvino
031e998a15ec738c64cc2379d7f30fb73087c272
[ "Apache-2.0" ]
991
2020-04-23T18:21:09.000Z
2022-03-31T18:40:57.000Z
# Copyright (C) 2018-2021 Intel Corporation # SPDX-License-Identifier: Apache-2.0 import unittest import numpy as np from extensions.ops.sparse_reshape import SparseReshape from mo.front.common.partial_infer.utils import int64_array from mo.graph.graph import Node from unit_tests.utils.graph import build_graph node...
47.666667
132
0.640889
7f17b5e719007933ccff3a44c5b4667ddd2e9fe6
2,425
py
Python
app/utils/sqlalchemy_helpers.py
maricaantonacci/slat
739a98a93884bc1defbf2b297f4225e0ba069fef
[ "Apache-2.0" ]
null
null
null
app/utils/sqlalchemy_helpers.py
maricaantonacci/slat
739a98a93884bc1defbf2b297f4225e0ba069fef
[ "Apache-2.0" ]
null
null
null
app/utils/sqlalchemy_helpers.py
maricaantonacci/slat
739a98a93884bc1defbf2b297f4225e0ba069fef
[ "Apache-2.0" ]
null
null
null
# Copyright (c) Istituto Nazionale di Fisica Nucleare (INFN). 2020-2021 # # 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 ...
31.907895
90
0.654021
7f17cfaa77e2ef66b6517f601eec65ab88ad3f26
6,955
py
Python
python/uw/like/scalemodels.py
coclar/pointlike
7088724b5a40cf787371aff69e64c9bec701f578
[ "BSD-3-Clause" ]
1
2019-03-19T14:45:28.000Z
2019-03-19T14:45:28.000Z
python/uw/like/scalemodels.py
coclar/pointlike
7088724b5a40cf787371aff69e64c9bec701f578
[ "BSD-3-Clause" ]
1
2019-03-05T17:30:52.000Z
2019-03-05T18:12:15.000Z
python/uw/like/scalemodels.py
coclar/pointlike
7088724b5a40cf787371aff69e64c9bec701f578
[ "BSD-3-Clause" ]
3
2018-03-14T15:34:07.000Z
2021-11-05T15:29:32.000Z
""" Code to implement ScaleFactor:: decorator supported in gtlike. The gtlike feature is documented here: https://confluence.slac.stanford.edu/display/ST/Science+Tools+Development+Notes?focusedCommentId=103582318#comment-103582318 Author: Joshua Lande """ import operator from copy import deep...
36.036269
132
0.634364
7f191b51e43f5f96fe4666dba8c6b32532e8c659
581
py
Python
neighbour/forms.py
Nobella-Nyarari-Ejiofor/Neighbourood
cacd9d64c944fa195a4bcb554425c9d0210b87b8
[ "PostgreSQL", "Unlicense" ]
null
null
null
neighbour/forms.py
Nobella-Nyarari-Ejiofor/Neighbourood
cacd9d64c944fa195a4bcb554425c9d0210b87b8
[ "PostgreSQL", "Unlicense" ]
null
null
null
neighbour/forms.py
Nobella-Nyarari-Ejiofor/Neighbourood
cacd9d64c944fa195a4bcb554425c9d0210b87b8
[ "PostgreSQL", "Unlicense" ]
null
null
null
from django.contrib.auth.models import User from django import forms import neighbour from .models import Business, Profile , Neighbourhood , Posts
23.24
61
0.726334
7f191d3bb5dfb78d923ae3d5e4afeb6b44cfb286
3,956
py
Python
src/gp_server/utils/paths_overlay_filter.py
hellej/hope-green-path-server
46742c413fbe4c3734edd12ec867bdf7e2b29f05
[ "MIT" ]
5
2020-05-24T12:18:54.000Z
2021-04-25T19:07:16.000Z
src/gp_server/utils/paths_overlay_filter.py
hellej/hope-green-path-server
46742c413fbe4c3734edd12ec867bdf7e2b29f05
[ "MIT" ]
43
2019-09-22T18:45:35.000Z
2021-07-10T08:51:33.000Z
src/gp_server/utils/paths_overlay_filter.py
hellej/hope-green-path-server
46742c413fbe4c3734edd12ec867bdf7e2b29f05
[ "MIT" ]
7
2020-08-04T06:50:14.000Z
2021-01-17T11:36:13.000Z
""" This module provides functionality for filtering out paths with nearly identical geometries. """ from typing import List, Tuple, Union from gp_server.app.path import Path from gp_server.app.logger import Logger def __get_path_overlay_candidates_by_len( param_path: Path, all_paths: List[Path], len_dif...
36.293578
100
0.685035
7f19de1db916a2221c0fcabfd4e70d02f0ac0cdb
1,676
py
Python
ADT/Homework 4/heapsort_variant.py
Devang-25/CS-Jacobs
d56a70c13ce3863bcf3140990fab5b634b30a2af
[ "MIT" ]
null
null
null
ADT/Homework 4/heapsort_variant.py
Devang-25/CS-Jacobs
d56a70c13ce3863bcf3140990fab5b634b30a2af
[ "MIT" ]
null
null
null
ADT/Homework 4/heapsort_variant.py
Devang-25/CS-Jacobs
d56a70c13ce3863bcf3140990fab5b634b30a2af
[ "MIT" ]
null
null
null
# Defining the left function # Defining the right function # Defining the parent node function # Max_Heapify # build_max_heap function #Push Up function # Push Down function # Heapsort Algorithm
23.605634
51
0.516706
7f19df6d90e4eaf71ba87a40f7d247e20f11c992
6,625
py
Python
kunquat/tracker/ui/model/keymapmanager.py
kagu/kunquat
83a2e972121e6a114ecc5ef4392b501ce926bb06
[ "CC0-1.0" ]
13
2016-09-01T21:52:49.000Z
2022-03-24T06:07:20.000Z
kunquat/tracker/ui/model/keymapmanager.py
kagu/kunquat
83a2e972121e6a114ecc5ef4392b501ce926bb06
[ "CC0-1.0" ]
290
2015-03-14T10:59:25.000Z
2022-03-20T08:32:17.000Z
kunquat/tracker/ui/model/keymapmanager.py
kagu/kunquat
83a2e972121e6a114ecc5ef4392b501ce926bb06
[ "CC0-1.0" ]
7
2015-03-19T13:28:11.000Z
2019-09-03T16:21:16.000Z
# -*- coding: utf-8 -*- # # Authors: Toni Ruottu, Finland 2014 # Tomi Jylh-Ollila, Finland 2016-2019 # # This file is part of Kunquat. # # CC0 1.0 Universal, http://creativecommons.org/publicdomain/zero/1.0/ # # To the extent possible under law, Kunquat Affirmers have waived all # copyright and related or nei...
31.103286
92
0.635774
7f1a722e6f68f116e0ececcc7c8694b6ecbb5279
453
py
Python
make_instance.py
github-nakasho/ohzeki_method
975e5a85e0209d6f3689eaee179c19335c52e35a
[ "MIT" ]
null
null
null
make_instance.py
github-nakasho/ohzeki_method
975e5a85e0209d6f3689eaee179c19335c52e35a
[ "MIT" ]
null
null
null
make_instance.py
github-nakasho/ohzeki_method
975e5a85e0209d6f3689eaee179c19335c52e35a
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import numpy as np
22.65
87
0.620309
7f1aa77534d7ca4bf005172321cf304ed4c252e6
7,175
py
Python
ros/src/tl_detector/light_classification/tl_classifier.py
Kuan-HC/Udacity-CarND-Capstone
cfe6c44f0f46de19a7df728de3044fb2c1a80666
[ "MIT" ]
null
null
null
ros/src/tl_detector/light_classification/tl_classifier.py
Kuan-HC/Udacity-CarND-Capstone
cfe6c44f0f46de19a7df728de3044fb2c1a80666
[ "MIT" ]
null
null
null
ros/src/tl_detector/light_classification/tl_classifier.py
Kuan-HC/Udacity-CarND-Capstone
cfe6c44f0f46de19a7df728de3044fb2c1a80666
[ "MIT" ]
null
null
null
from styx_msgs.msg import TrafficLight import rospy import tensorflow as tf import numpy as np import cv2 from PIL import Image # for visualization #import matplotlib.pyplot as plt from PIL import ImageDraw from PIL import ImageColor import os
38.783784
124
0.607387
7f1b46a68b462c9832a4e39c40ba6411d23ff59c
3,279
py
Python
template/plugin/datafile.py
vaMuchenje/Template-Python
9edbf401cfeb9c33b50bd37fd0643fa0205d8a5e
[ "Artistic-2.0" ]
1
2016-03-02T06:51:04.000Z
2016-03-02T06:51:04.000Z
template/plugin/datafile.py
vaMuchenje/Template-Python
9edbf401cfeb9c33b50bd37fd0643fa0205d8a5e
[ "Artistic-2.0" ]
6
2015-10-13T13:46:10.000Z
2019-06-17T09:39:57.000Z
template/plugin/datafile.py
vaMuchenje/Template-Python
9edbf401cfeb9c33b50bd37fd0643fa0205d8a5e
[ "Artistic-2.0" ]
3
2018-12-03T13:15:21.000Z
2019-03-13T09:12:09.000Z
# # The Template-Python distribution is Copyright (C) Sean McAfee 2007-2008, # derived from the Perl Template Toolkit Copyright (C) 1996-2007 Andy # Wardley. All Rights Reserved. # # The file "LICENSE" at the top level of this source distribution describes # the terms under which this file may be distributed. # ...
28.763158
78
0.68466
7f1c8a1a6999814f41798c4e38334cdaa0a22f93
1,544
py
Python
src/tests/colorsensor.py
duckida/legosort
8fb6a3810056ced7b09fa7e5db42148b54831bcc
[ "MIT" ]
3
2020-04-30T18:56:32.000Z
2020-08-03T10:20:36.000Z
src/tests/colorsensor.py
duckida/legosort
8fb6a3810056ced7b09fa7e5db42148b54831bcc
[ "MIT" ]
1
2020-08-03T23:34:03.000Z
2020-08-03T23:34:03.000Z
src/tests/colorsensor.py
duckida/legosort
8fb6a3810056ced7b09fa7e5db42148b54831bcc
[ "MIT" ]
null
null
null
import RPi.GPIO as GPIO import time s2 = 26 s3 = 27 signal = 17 NUM_CYCLES = 10 if __name__=='__main__': setup() try: loop() except KeyboardInterrupt: endprogram()
19.794872
64
0.610751
7f1d0f17b0c7610564f4bd552870d3ed540a3a70
1,045
py
Python
example/example2.py
chrisseto/Breeze
53fc81666ba144e4a873c5f20e77cde00a675d38
[ "MIT" ]
null
null
null
example/example2.py
chrisseto/Breeze
53fc81666ba144e4a873c5f20e77cde00a675d38
[ "MIT" ]
null
null
null
example/example2.py
chrisseto/Breeze
53fc81666ba144e4a873c5f20e77cde00a675d38
[ "MIT" ]
null
null
null
import datetime import peewee as p from breeze import App, Resource, Serializable db = p.SqliteDatabase('users.db') db.connect() app = App(User, prefix='/api/v1/', debug=True) if __name__ == '__main__': app.serve()
21.326531
62
0.614354
7f1d6247aa5afbf4e9f81a212764267b491f054c
551
py
Python
sqlalchemy_jsonapi/constants.py
jimbobhickville/sqlalchemy-jsonapi
40f8b5970d44935b27091c2bf3224482d23311bb
[ "MIT" ]
73
2015-01-11T09:23:21.000Z
2021-07-07T03:51:38.000Z
sqlalchemy_jsonapi/constants.py
jimbobhickville/sqlalchemy-jsonapi
40f8b5970d44935b27091c2bf3224482d23311bb
[ "MIT" ]
61
2015-03-16T22:08:14.000Z
2018-01-12T01:43:48.000Z
sqlalchemy_jsonapi/constants.py
JanAckermann/sqlalchemy-jsonapi
40f8b5970d44935b27091c2bf3224482d23311bb
[ "MIT" ]
39
2015-01-21T15:04:40.000Z
2020-09-24T19:54:15.000Z
""" SQLAlchemy-JSONAPI Constants Colton J. Provias MIT License """ try: from enum import Enum except ImportError: from enum34 import Enum
17.774194
70
0.637024
7f1e39640d0d32b0f11e287faac312c0865dad46
2,617
py
Python
1.-MapReduce Spark/B-Datos Meteorologicos/Meteorologico_3.py
gorco/sgdi-lab
afd967145fe21a5237893e93a3bfda828dba09e3
[ "Apache-2.0" ]
null
null
null
1.-MapReduce Spark/B-Datos Meteorologicos/Meteorologico_3.py
gorco/sgdi-lab
afd967145fe21a5237893e93a3bfda828dba09e3
[ "Apache-2.0" ]
null
null
null
1.-MapReduce Spark/B-Datos Meteorologicos/Meteorologico_3.py
gorco/sgdi-lab
afd967145fe21a5237893e93a3bfda828dba09e3
[ "Apache-2.0" ]
null
null
null
# coding=utf-8 # Este fichero generado para la asignatura SGDI # Practica 1 MapReduce Y Spark, Ejercicio B.3 # Autores: Antonio Calvo Morata y Carlos Congosto Sandoval # Antonio Calvo Morata y Carlos Congosto Sandoval declaramos que esta solucin es fruto exclusivamente de nuestro # trabajo personal. No hemos sido ayu...
40.890625
119
0.658387
7f20ed98a090dda844e5340489d6c208513276d2
226
py
Python
components/studio/deployments/admin.py
ScilifelabDataCentre/stackn
00a65a16ff271f04548b3ff475c72dacbfd916df
[ "Apache-2.0" ]
null
null
null
components/studio/deployments/admin.py
ScilifelabDataCentre/stackn
00a65a16ff271f04548b3ff475c72dacbfd916df
[ "Apache-2.0" ]
null
null
null
components/studio/deployments/admin.py
ScilifelabDataCentre/stackn
00a65a16ff271f04548b3ff475c72dacbfd916df
[ "Apache-2.0" ]
null
null
null
from django.contrib import admin from .models import DeploymentDefinition, DeploymentInstance, HelmResource admin.site.register(HelmResource) admin.site.register(DeploymentDefinition) admin.site.register(DeploymentInstance)
28.25
74
0.862832