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
46ec761cd98425860c5430fd123aaa948c1d1e0b
248
py
Python
ignoregen/__init__.py
rcook/ignoregen
d702b1fbe3d1b525dde312aa761080e098fc9111
[ "MIT" ]
null
null
null
ignoregen/__init__.py
rcook/ignoregen
d702b1fbe3d1b525dde312aa761080e098fc9111
[ "MIT" ]
1
2018-04-22T04:28:52.000Z
2018-04-22T04:31:24.000Z
ignoregen/__init__.py
rcook/ignoregen
d702b1fbe3d1b525dde312aa761080e098fc9111
[ "MIT" ]
null
null
null
################################################## # Copyright (C) 2017-2020, All rights reserved. ################################################## __project_name__ = "ignoregen" __version__ = "0.6" __description__ = "Generate Git ignore rules"
31
50
0.443548
46ee6358447c89093b274edefbf4cb4da8117ae6
9,517
py
Python
website/CubeToaster.py
yuxuibbs/MCC-Competition-Docs
384726c41434c5a07becb6438c3d2409c6ca6eb4
[ "MIT" ]
4
2016-11-13T20:49:33.000Z
2017-12-20T20:03:03.000Z
website/CubeToaster.py
yuxuibbs/MCC-Competition-Docs
384726c41434c5a07becb6438c3d2409c6ca6eb4
[ "MIT" ]
5
2016-12-26T19:14:46.000Z
2022-02-11T03:44:39.000Z
website/CubeToaster.py
yuxuibbs/MCC-Competition-Docs
384726c41434c5a07becb6438c3d2409c6ca6eb4
[ "MIT" ]
2
2016-12-29T12:03:15.000Z
2017-02-16T15:51:02.000Z
from flask import Flask, request, render_template, redirect, url_for, flash, make_response from flask_wtf import FlaskForm from wtforms import StringField, IntegerField, SubmitField, SelectField, widgets from wtforms.validators import Required import os import csv import json import requests # import jellyfish #####...
32.261017
203
0.505201
46eea24e59a0c70c504de2c39f8d5f9e4c5fd1f5
6,695
py
Python
booking_sites_parser/models.py
webmalc/booking-sites-parser
992d6a6f3774eeebfbbd535b5de3baa373137150
[ "Apache-2.0" ]
2
2019-03-14T13:08:59.000Z
2019-09-22T08:08:38.000Z
booking_sites_parser/models.py
webmalc/booking-sites-parser
992d6a6f3774eeebfbbd535b5de3baa373137150
[ "Apache-2.0" ]
null
null
null
booking_sites_parser/models.py
webmalc/booking-sites-parser
992d6a6f3774eeebfbbd535b5de3baa373137150
[ "Apache-2.0" ]
null
null
null
""" Package models """ import re from abc import ABC, abstractmethod from decimal import Decimal from typing import Any, List, Optional from bs4 import BeautifulSoup from .http_client import HttpClient, HttpResponse def _get_html_text_by_selector(self, selector: str) -> str: """ Get HTML elem...
24.704797
79
0.573861
46ef02cf00dc2eef4d91549f2257af29dc55234b
747
py
Python
ex036.py
erikamaylim/Python-CursoemVideo
5a6809818c4c55a02ec52379d95f3d20c833df2e
[ "MIT" ]
null
null
null
ex036.py
erikamaylim/Python-CursoemVideo
5a6809818c4c55a02ec52379d95f3d20c833df2e
[ "MIT" ]
null
null
null
ex036.py
erikamaylim/Python-CursoemVideo
5a6809818c4c55a02ec52379d95f3d20c833df2e
[ "MIT" ]
null
null
null
"""Escreva um programa para aprovar o emprstimo bancrio para a compra de uma casa. Pergunte o valor da casa, o salrio do comprador e em quantos anos ele vai pagar. A prestao mensal no pode exceder 30% do salrio ou ento o emprstimo ser negado.""" casa = float(input('Qual o valor da casa? R$ ')) salario = float(input('Q...
43.941176
93
0.702811
46f1607eb413535d97110e501a2e28d97385688e
1,972
py
Python
src/pyconcepticon/commands/citation.py
concepticon/pyconcepticon
bd336df18545b493f59ed8c22b636ded447dede1
[ "Apache-2.0" ]
5
2019-06-04T02:17:03.000Z
2021-12-28T01:59:16.000Z
src/pyconcepticon/commands/citation.py
concepticon/pyconcepticon
bd336df18545b493f59ed8c22b636ded447dede1
[ "Apache-2.0" ]
36
2019-02-06T11:50:21.000Z
2021-12-28T18:43:11.000Z
src/pyconcepticon/commands/citation.py
concepticon/pyconcepticon
bd336df18545b493f59ed8c22b636ded447dede1
[ "Apache-2.0" ]
5
2019-09-18T13:34:19.000Z
2021-12-28T02:01:44.000Z
""" Print a full bibliographic citation for a Concepticon version """ import html import collections from datetime import date from clldutils.path import git_describe from clldutils.jsonlib import dump from nameparser import HumanName
35.854545
98
0.61359
46f1a9721dee5956e739c11d736c03c0e3499e4a
848
py
Python
generate_booth.py
kodomomo/dsm-payments-util
592fda1f2578573a8b158403cd30067c0987ce16
[ "MIT" ]
null
null
null
generate_booth.py
kodomomo/dsm-payments-util
592fda1f2578573a8b158403cd30067c0987ce16
[ "MIT" ]
null
null
null
generate_booth.py
kodomomo/dsm-payments-util
592fda1f2578573a8b158403cd30067c0987ce16
[ "MIT" ]
null
null
null
import pymysql from booth_info import booths from generate_random_id import generate_random_id, generate_easy_password from generate_random_password import generate_random_password from sqls import * pay_database = { 'port': 3306, } pay_connection = pymysql.connect(**pay_database) pay_cursor = pay_co...
29.241379
89
0.731132
46f20ff3199dbbecb63862c20b9f0fbe6430f66b
1,106
py
Python
get_repos.py
Oyekunle-Mark/alpha-tower
46d2e96553909388432ff28f2caf74a359538f5e
[ "MIT" ]
null
null
null
get_repos.py
Oyekunle-Mark/alpha-tower
46d2e96553909388432ff28f2caf74a359538f5e
[ "MIT" ]
1
2021-06-02T00:28:26.000Z
2021-06-02T00:28:26.000Z
get_repos.py
Oyekunle-Mark/alpha-tower
46d2e96553909388432ff28f2caf74a359538f5e
[ "MIT" ]
null
null
null
from requests import get from parameters import build_parameters GITHUB_API_URL = "https://api.github.com/search/repositories" def get_repos_with_most_stars(languages, sort="stars", order="desc", stars=50000): """Fetches the data from the GitHub API Arguments: languages {list} -- the list of languag...
29.891892
100
0.674503
46f2dabd5d215702d44606f19c384a3fe040de66
580
py
Python
media.py
Daniatnuom/Programming_Foundations_with_Python
ec5c5af25c74bdb14e2dbce48b6e25b15b016b24
[ "MIT" ]
null
null
null
media.py
Daniatnuom/Programming_Foundations_with_Python
ec5c5af25c74bdb14e2dbce48b6e25b15b016b24
[ "MIT" ]
null
null
null
media.py
Daniatnuom/Programming_Foundations_with_Python
ec5c5af25c74bdb14e2dbce48b6e25b15b016b24
[ "MIT" ]
null
null
null
import webbrowser
30.526316
83
0.77069
46f32983b778972015b0fe2f9086e189aa4ddb58
3,840
py
Python
hwtLib/xilinx/locallink/axis_conv.py
optical-o/hwtLib
edad621f5ad4cdbea20a5751ff4468979afe2f77
[ "MIT" ]
null
null
null
hwtLib/xilinx/locallink/axis_conv.py
optical-o/hwtLib
edad621f5ad4cdbea20a5751ff4468979afe2f77
[ "MIT" ]
null
null
null
hwtLib/xilinx/locallink/axis_conv.py
optical-o/hwtLib
edad621f5ad4cdbea20a5751ff4468979afe2f77
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- from hwt.code import Concat, Switch, If from hwt.hdl.typeShortcuts import vec from hwt.interfaces.utils import addClkRstn, propagateClkRstn from hwt.synthesizer.param import Param from hwt.synthesizer.unit import Unit from hwtLib.amba.axis import AxiStream from hwtLib.xil...
25.430464
82
0.58724
46f492ce8bbd51b82ba43d37275a6e3759094db3
5,763
py
Python
src/bat/renamefiles.py
armijnhemel/binaryanalysis
1d186d1f6b711b83a6f8e0ffbcce37284ffa1c16
[ "Apache-2.0" ]
78
2016-09-29T08:26:50.000Z
2022-02-21T23:41:23.000Z
src/bat/renamefiles.py
armijnhemel/binaryanalysis
1d186d1f6b711b83a6f8e0ffbcce37284ffa1c16
[ "Apache-2.0" ]
7
2016-10-14T14:32:00.000Z
2018-03-17T17:28:42.000Z
src/bat/renamefiles.py
armijnhemel/binaryanalysis
1d186d1f6b711b83a6f8e0ffbcce37284ffa1c16
[ "Apache-2.0" ]
50
2016-10-05T06:22:38.000Z
2022-02-03T16:08:48.000Z
#!/usr/bin/python # Binary Analysis Tool # Copyright 2015-2016 Armijn Hemel for Tjaldur Software Governance Solutions # Licensed under Apache 2.0, see LICENSE file for details import shutil import os.path import copy ''' This aggregate scan traverses the unpackreports an tries to rename certain files based on proper...
48.838983
136
0.495402
46f529ee223628b6a5b01d5ac087af9e7d7bb5b3
7,863
py
Python
baseline_models/slowvae/train.py
slachapelle/anon_disentanglement_via_mechanism_sparsity
677f7e160f3532e1357a3c7f35f9f8f8529b389a
[ "Apache-2.0" ]
null
null
null
baseline_models/slowvae/train.py
slachapelle/anon_disentanglement_via_mechanism_sparsity
677f7e160f3532e1357a3c7f35f9f8f8529b389a
[ "Apache-2.0" ]
null
null
null
baseline_models/slowvae/train.py
slachapelle/anon_disentanglement_via_mechanism_sparsity
677f7e160f3532e1357a3c7f35f9f8f8529b389a
[ "Apache-2.0" ]
null
null
null
import argparse import shutil import os, json, sys, traceback, time import pathlib try: from comet_ml import Experiment COMET_AVAIL = True except: COMET_AVAIL = False import numpy as np import torch import datetime sys.path.insert(0, str(pathlib.Path(__file__).parent)) from scripts.solver import Solver s...
46.526627
127
0.6336
46f57addab66e45928b367affb186d84c36a11cb
854
py
Python
Lottery/loterry.py
camicasii/Casino
0534092c1b2746d5561761b65bad1a97982a54f6
[ "MIT" ]
null
null
null
Lottery/loterry.py
camicasii/Casino
0534092c1b2746d5561761b65bad1a97982a54f6
[ "MIT" ]
null
null
null
Lottery/loterry.py
camicasii/Casino
0534092c1b2746d5561761b65bad1a97982a54f6
[ "MIT" ]
null
null
null
from TicketGenerator import TicketGenerator as Tickes import random if __name__== "__main__": a=Lottery() print( a.Winner() )
23.081081
89
0.571429
46f6b7548af61ad27d9501b669160abd5dd775c5
704
py
Python
hypernets/tabular/__init__.py
Enpen/Hypernets
5fbf01412ffaef310855d98f52f8cc169e96246b
[ "Apache-2.0" ]
3
2022-03-25T23:27:44.000Z
2022-03-27T01:32:28.000Z
hypernets/tabular/__init__.py
Enpen/Hypernets
5fbf01412ffaef310855d98f52f8cc169e96246b
[ "Apache-2.0" ]
null
null
null
hypernets/tabular/__init__.py
Enpen/Hypernets
5fbf01412ffaef310855d98f52f8cc169e96246b
[ "Apache-2.0" ]
null
null
null
# -*- coding:utf-8 -*- """ """ from ._base import get_tool_box, register_toolbox, register_transformer, tb_transformer from .toolbox import ToolBox register_toolbox(ToolBox) try: import dask.dataframe as dd import dask_ml from .dask_ex import DaskToolBox register_toolbox(DaskToolBox, 0) is_dask...
19.555556
87
0.715909
46f71f98ecaf6509dfb1c8c18122f3a925f3229c
115
py
Python
geophires_simulation/__init__.py
tuw-eeg/GEOPHIRES-simulation
14343cefd7c373f240e610a5a5a1143457a4f8d4
[ "Apache-2.0" ]
null
null
null
geophires_simulation/__init__.py
tuw-eeg/GEOPHIRES-simulation
14343cefd7c373f240e610a5a5a1143457a4f8d4
[ "Apache-2.0" ]
null
null
null
geophires_simulation/__init__.py
tuw-eeg/GEOPHIRES-simulation
14343cefd7c373f240e610a5a5a1143457a4f8d4
[ "Apache-2.0" ]
null
null
null
# Expose the main function to the outside world under the alias "simulate" from .main import main_func as simulate
38.333333
74
0.8
46f727d602c8ba9999e35ad52eeeadffe23d46a0
3,086
py
Python
cogs/everestpins.py
leo60228/everestbot
53bbf6a5b42a71889ed3de02cc65f22fedddf313
[ "MIT" ]
1
2020-08-30T22:16:13.000Z
2020-08-30T22:16:13.000Z
cogs/everestpins.py
leo60228/everestbot
53bbf6a5b42a71889ed3de02cc65f22fedddf313
[ "MIT" ]
null
null
null
cogs/everestpins.py
leo60228/everestbot
53bbf6a5b42a71889ed3de02cc65f22fedddf313
[ "MIT" ]
null
null
null
import time import config import discord from discord.ext import commands
56.109091
230
0.642579
46f79c6995e3596cb2225c315e33d1b7fa73ac8b
291
py
Python
FacialRecognition/Media Manipulation/open_camera.py
markgacoka/micro-projects
e8115c8270a115282e7dfda6e24620b3333f8c6b
[ "MIT" ]
1
2021-03-19T10:42:07.000Z
2021-03-19T10:42:07.000Z
Media Manipulation/open_camera.py
markgacoka/FacialRecognition
af3e4e37f40f7995f2e276c35283bbe3b73a2a27
[ "MIT" ]
null
null
null
Media Manipulation/open_camera.py
markgacoka/FacialRecognition
af3e4e37f40f7995f2e276c35283bbe3b73a2a27
[ "MIT" ]
null
null
null
import numpy as np import cv2 video = cv2.VideoCapture(0) while(True): ret, frame = video.read() resized_video = cv2.resize(frame, (1000, 700)) cv2.imshow('Video Capture', resized_video) if cv2.waitKey(10) == ord('q'): break video.release() cv2.destroyAllWindows()
20.785714
50
0.666667
46faddb5936830fe08f886c938c95f1e747a2f63
362
py
Python
test/src/lib/idol/py_mar/codegen/all/target/optional_service.py
lyric-com/idol
285005e9ddaa92b2284b7e9c28cd12f1e34746ec
[ "MIT" ]
null
null
null
test/src/lib/idol/py_mar/codegen/all/target/optional_service.py
lyric-com/idol
285005e9ddaa92b2284b7e9c28cd12f1e34746ec
[ "MIT" ]
2
2020-03-24T18:03:10.000Z
2020-03-31T10:41:56.000Z
test/src/lib/idol/py_mar/codegen/all/target/optional_service.py
lyric-com/idol
285005e9ddaa92b2284b7e9c28cd12f1e34746ec
[ "MIT" ]
null
null
null
# DO NOT EDIT # This file was generated by idol_mar, any changes will be lost when idol_mar is rerun again from marshmallow import Schema from .optional_method import AllTargetOptionalMethodField
32.909091
92
0.792818
46fbd511834efaa0b005f2300675fbcff5d8801c
4,193
py
Python
robot.py
3299/2018
b886b1409d3240ad1e2dad7ecee963e401c7bfec
[ "MIT" ]
null
null
null
robot.py
3299/2018
b886b1409d3240ad1e2dad7ecee963e401c7bfec
[ "MIT" ]
null
null
null
robot.py
3299/2018
b886b1409d3240ad1e2dad7ecee963e401c7bfec
[ "MIT" ]
null
null
null
""" Main logic code """ import wpilib from inits import Component import helpers from components.chassis import Chassis from autonomous import Autonomous from components.lights import Lights from components.metabox import MetaBox from components.winch import Winch from components.pdb import Power from networktables...
35.235294
126
0.589554
46fc0e73c34a3b1f86eeecfd31ad3ce03445be4e
6,496
py
Python
iotFlaskPro/apis/aep_device_management.py
ChrisLeff/IOT-BUAA_2021
e8220350a156daba93e6baf91c793a81629aa956
[ "MIT" ]
2
2022-02-28T15:07:53.000Z
2022-03-01T06:57:20.000Z
iotFlaskPro/apis/aep_device_management.py
ChrisLeff/IOT-BUAA_2021
e8220350a156daba93e6baf91c793a81629aa956
[ "MIT" ]
null
null
null
iotFlaskPro/apis/aep_device_management.py
ChrisLeff/IOT-BUAA_2021
e8220350a156daba93e6baf91c793a81629aa956
[ "MIT" ]
null
null
null
#!/usr/bin/python # encoding=utf-8 import sys if sys.version_info[0] == 2: # Python2 import core.AepSdkRequestSend as AepSdkRequestSend else: # Python3 from apis.core import AepSdkRequestSend #MasterKey: String, # :MasterKey #productId: long, # : #searchValue: String, # :T-link:Id # MQTT...
31.533981
120
0.704895
46fd902b540497f93d018433534679e3a97042d2
8,933
py
Python
examples/Random/Random.py
aniknarayan/ioticiser_new
9886f1ba5c249ebbcebfb0e1f4434fecdf8c0680
[ "Apache-2.0" ]
null
null
null
examples/Random/Random.py
aniknarayan/ioticiser_new
9886f1ba5c249ebbcebfb0e1f4434fecdf8c0680
[ "Apache-2.0" ]
null
null
null
examples/Random/Random.py
aniknarayan/ioticiser_new
9886f1ba5c249ebbcebfb0e1f4434fecdf8c0680
[ "Apache-2.0" ]
null
null
null
# Copyright (c) 2017 Iotic Labs Ltd. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://github.com/Iotic-Labs/py-IoticBulkData/blob/master/LICENSE # # Unless...
38.175214
113
0.629912
46fda291ce75700d6c941a1210e9051ba1026be6
400
py
Python
hermione/module_templates/__IMPLEMENTED_BASE__/src/api/myrequests.py
RodrigoATorres/hermione
6cbed73e309f8025a48f33165d8f29561c6a3cc7
[ "Apache-2.0" ]
183
2020-06-03T22:43:14.000Z
2022-03-17T22:39:07.000Z
hermione/module_templates/__IMPLEMENTED_BASE__/src/api/myrequests.py
RodrigoATorres/hermione
6cbed73e309f8025a48f33165d8f29561c6a3cc7
[ "Apache-2.0" ]
31
2020-06-03T22:55:18.000Z
2022-03-27T20:06:17.000Z
hermione/module_templates/__IMPLEMENTED_BASE__/src/api/myrequests.py
RodrigoATorres/hermione
6cbed73e309f8025a48f33165d8f29561c6a3cc7
[ "Apache-2.0" ]
43
2020-06-03T22:45:03.000Z
2021-12-29T19:43:54.000Z
import requests import json url = 'http://localhost:5000/invocations' data = { 'Pclass':[3,3,3], 'Sex': ['male', 'female', 'male'], 'Age':[4, 22, 28] } j_data = json.dumps(data) headers = {'Content-Type': 'application/json'} print("Sending request for model...") print(f"Data: {j_data}") r...
23.529412
52
0.6175
46fe9f836dbdd86b3fbfa9bbee4ce5237f317f4d
171
py
Python
tsqr/user2.py
hanwoody/docs-1
55aec2f77f345c2f219ea69f61b919f61e8700f2
[ "Apache-2.0" ]
null
null
null
tsqr/user2.py
hanwoody/docs-1
55aec2f77f345c2f219ea69f61b919f61e8700f2
[ "Apache-2.0" ]
null
null
null
tsqr/user2.py
hanwoody/docs-1
55aec2f77f345c2f219ea69f61b919f61e8700f2
[ "Apache-2.0" ]
null
null
null
import sys import mrutil # NxN matrix
19
35
0.690058
46feb8044826238fc9d8d9d895df1bb66042d882
1,207
py
Python
genindex.py
miguelgrinberg/twilio-openapi-docs
1f92dd1b433037ac1f893572408d3d96750dc831
[ "MIT" ]
3
2021-04-22T18:44:59.000Z
2021-04-27T01:12:28.000Z
genindex.py
miguelgrinberg/twilio-openapi-docs
1f92dd1b433037ac1f893572408d3d96750dc831
[ "MIT" ]
null
null
null
genindex.py
miguelgrinberg/twilio-openapi-docs
1f92dd1b433037ac1f893572408d3d96750dc831
[ "MIT" ]
null
null
null
#!/usr/bin/env python import re import urllib.request template = ''' <!doctype html> <html> <head> <title>Twilio OpenAPI Documentation</title> <style> body { text-align: center; } ul { list-style-type: none; display: flex; flex-wrap: wrap; padding-i...
21.175439
107
0.555924
46ff9fba20209668c437a076f4febcd60a6c1518
104,686
py
Python
EnrollmentStation/Binaries/YubikeyManager/pymodules/smartcard/scard/scard.py
dennisrahmen/EnrollmentStation
a145345f9bb91bccb2bd67b349af8cfc4ec9e290
[ "MIT" ]
1
2020-03-16T14:57:15.000Z
2020-03-16T14:57:15.000Z
EnrollmentStation/Binaries/YubikeyManager/pymodules/smartcard/scard/scard.py
dennisrahmen/EnrollmentStation
a145345f9bb91bccb2bd67b349af8cfc4ec9e290
[ "MIT" ]
null
null
null
EnrollmentStation/Binaries/YubikeyManager/pymodules/smartcard/scard/scard.py
dennisrahmen/EnrollmentStation
a145345f9bb91bccb2bd67b349af8cfc4ec9e290
[ "MIT" ]
1
2022-02-04T14:55:45.000Z
2022-02-04T14:55:45.000Z
# This file was automatically generated by SWIG (http://www.swig.org). # Version 4.0.0 # # Do not make changes to this file unless you know what you are doing--modify # the SWIG interface file instead. """ The smartcard.scard module is a simple wrapper on top of the C language PCSC SCardXXX API. The smartcard.scard m...
33.424649
249
0.675936
200010fc68a811414b58910a066945d5e6e9b2e8
2,027
py
Python
onlinejudge/_implementation/command/split_input.py
btk15049/online-judge-tools
22505e98359c50df06e7cc1d53a7d253cb096b14
[ "MIT" ]
null
null
null
onlinejudge/_implementation/command/split_input.py
btk15049/online-judge-tools
22505e98359c50df06e7cc1d53a7d253cb096b14
[ "MIT" ]
null
null
null
onlinejudge/_implementation/command/split_input.py
btk15049/online-judge-tools
22505e98359c50df06e7cc1d53a7d253cb096b14
[ "MIT" ]
null
null
null
# Python Version: 3.x import subprocess import sys import time from typing import * from typing.io import * import onlinejudge._implementation.format_utils as format_utils import onlinejudge._implementation.logging as log if TYPE_CHECKING: import argparse split_input_auto_footer = ('__AUTO_FOOTER__', ) # this...
31.671875
126
0.556487
2000f6bca79b14f3980ef41fb7acabbb4ceb4180
334
py
Python
photographer/views.py
shiv-source/online-photographer-finder
d72089fef03a6ebc30c96a29820a0751f70d5b9a
[ "MIT" ]
1
2020-06-19T22:41:59.000Z
2020-06-19T22:41:59.000Z
photographer/views.py
shiv-source/online-photographer-finder
d72089fef03a6ebc30c96a29820a0751f70d5b9a
[ "MIT" ]
null
null
null
photographer/views.py
shiv-source/online-photographer-finder
d72089fef03a6ebc30c96a29820a0751f70d5b9a
[ "MIT" ]
null
null
null
from django.shortcuts import render from .models import Photorecorder from django.contrib.auth.decorators import login_required # Create your views here.
33.4
71
0.781437
200358a6a93b6e371ca0faec84207e445afd7915
24,656
py
Python
linkwarner/linkwarner.py
jack1142/JackCogs
ad3b5c43e4597f92816db8f0974f8f61d511abc3
[ "Apache-2.0" ]
18
2019-01-18T07:00:26.000Z
2021-09-22T00:12:40.000Z
linkwarner/linkwarner.py
jack1142/JackCogs
ad3b5c43e4597f92816db8f0974f8f61d511abc3
[ "Apache-2.0" ]
43
2019-04-28T01:31:17.000Z
2022-03-08T02:17:55.000Z
linkwarner/linkwarner.py
jack1142/JackCogs
ad3b5c43e4597f92816db8f0974f8f61d511abc3
[ "Apache-2.0" ]
20
2020-01-21T10:49:37.000Z
2022-03-21T02:16:45.000Z
# Copyright 2018-2021 Jakub Kuczys (https://github.com/jack1142) # # 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 # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by app...
39.4496
88
0.624108
20037c2305209c3714382f992c3dbf0aa31b9950
384
py
Python
app/commands/base.py
AndersonSMed/DiscordBot
f42bae852b72d486d347416c7594d1631158631a
[ "MIT" ]
2
2021-02-05T18:43:10.000Z
2021-02-09T01:23:27.000Z
app/commands/base.py
AndersonSMed/DiscordBot
f42bae852b72d486d347416c7594d1631158631a
[ "MIT" ]
5
2021-02-05T17:15:21.000Z
2021-06-23T00:39:51.000Z
app/commands/base.py
AndersonSMed/EducaBot
f42bae852b72d486d347416c7594d1631158631a
[ "MIT" ]
null
null
null
import abc
21.333333
59
0.638021
2003a339006e0e413215fedb71b8a6d01e840444
2,375
py
Python
src/spaceone/inventory/connector/aws_sqs_connector/connector.py
spaceone-dev/plugin-aws-cloud-service-inven-collector
aa252a41940e0941d4b0f7be7fc05d152da654dd
[ "Apache-2.0" ]
null
null
null
src/spaceone/inventory/connector/aws_sqs_connector/connector.py
spaceone-dev/plugin-aws-cloud-service-inven-collector
aa252a41940e0941d4b0f7be7fc05d152da654dd
[ "Apache-2.0" ]
1
2022-02-10T04:38:11.000Z
2022-02-10T04:38:11.000Z
src/spaceone/inventory/connector/aws_sqs_connector/connector.py
spaceone-dev/plugin-aws-cloud-service-inven-collector
aa252a41940e0941d4b0f7be7fc05d152da654dd
[ "Apache-2.0" ]
1
2021-11-15T05:19:44.000Z
2021-11-15T05:19:44.000Z
import time import logging from typing import List import json from spaceone.core.utils import * from spaceone.inventory.connector.aws_sqs_connector.schema.data import QueData, RedrivePolicy from spaceone.inventory.connector.aws_sqs_connector.schema.resource import SQSResponse, QueResource from spaceone.inventory.conn...
35.984848
110
0.634526
20059b820157bb2d0ee1f766dc27bdd85fb8b399
936
py
Python
Code in Place/Assignment2/nimm.py
LuisAdolfoAlves/Stanford
8358d315a4c475359742a70eb862a3ac71abd042
[ "MIT" ]
null
null
null
Code in Place/Assignment2/nimm.py
LuisAdolfoAlves/Stanford
8358d315a4c475359742a70eb862a3ac71abd042
[ "MIT" ]
null
null
null
Code in Place/Assignment2/nimm.py
LuisAdolfoAlves/Stanford
8358d315a4c475359742a70eb862a3ac71abd042
[ "MIT" ]
null
null
null
""" File: nimm.py ------------------------- Add your comments here. """ # This provided line is required at the end of a Python file # to call the main() function. if __name__ == '__main__': main()
24.631579
91
0.470085
2007d963b430c7008bffb6ba4fc10719f5949ab9
1,842
py
Python
test/validation/test_validation_duration.py
thenetcircle/dino
1047c3458e91a1b4189e9f48f1393b3a68a935b3
[ "Apache-2.0" ]
150
2016-10-05T11:09:36.000Z
2022-03-06T16:24:41.000Z
test/validation/test_validation_duration.py
thenetcircle/dino
1047c3458e91a1b4189e9f48f1393b3a68a935b3
[ "Apache-2.0" ]
27
2017-03-02T03:37:02.000Z
2022-02-10T04:59:54.000Z
test/validation/test_validation_duration.py
thenetcircle/dino
1047c3458e91a1b4189e9f48f1393b3a68a935b3
[ "Apache-2.0" ]
21
2016-11-11T07:51:48.000Z
2020-04-26T21:38:33.000Z
# Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the Li...
29.709677
74
0.721498
200887615ac67e1a7a3968d230b1ee9b68acdafe
1,371
py
Python
ssidstat/ssidstatd/monitor.py
putrasattvika/ssidstat
90bc4a52702ec314a0385f669d68446fa46fe153
[ "Apache-2.0" ]
null
null
null
ssidstat/ssidstatd/monitor.py
putrasattvika/ssidstat
90bc4a52702ec314a0385f669d68446fa46fe153
[ "Apache-2.0" ]
null
null
null
ssidstat/ssidstatd/monitor.py
putrasattvika/ssidstat
90bc4a52702ec314a0385f669d68446fa46fe153
[ "Apache-2.0" ]
null
null
null
import time import daemon from ssidstat.common import db from ssidstat.common import sysutils
26.882353
109
0.726477
20090d71a734d2ab4af55b54fdaa56d50241ad80
8,899
py
Python
MHD/FEniCS/MHD/CG/Ex6/3dCavityFlow.py
wathen/PhD
35524f40028541a4d611d8c78574e4cf9ddc3278
[ "MIT" ]
3
2020-10-25T13:30:20.000Z
2021-08-10T21:27:30.000Z
MHD/FEniCS/MHD/CG/Ex6/3dCavityFlow.py
wathen/PhD
35524f40028541a4d611d8c78574e4cf9ddc3278
[ "MIT" ]
null
null
null
MHD/FEniCS/MHD/CG/Ex6/3dCavityFlow.py
wathen/PhD
35524f40028541a4d611d8c78574e4cf9ddc3278
[ "MIT" ]
3
2019-10-28T16:12:13.000Z
2020-01-13T13:59:44.000Z
#!/usr/bin/python import petsc4py import slepc4py import sys petsc4py.init(sys.argv) slepc4py.init(sys.argv) from petsc4py import PETSc from slepc4py import SLEPc Print = PETSc.Sys.Print # from MatrixOperations import * from dolfin import * import numpy as np import matplotlib.pylab as plt import scipy.sparse as sps ...
26.564179
166
0.54759
200a07a8f6c323cf28ccdef7bc5e7ac20a331280
206
py
Python
src/onegov/winterthur/forms/__init__.py
politbuero-kampagnen/onegov-cloud
20148bf321b71f617b64376fe7249b2b9b9c4aa9
[ "MIT" ]
null
null
null
src/onegov/winterthur/forms/__init__.py
politbuero-kampagnen/onegov-cloud
20148bf321b71f617b64376fe7249b2b9b9c4aa9
[ "MIT" ]
null
null
null
src/onegov/winterthur/forms/__init__.py
politbuero-kampagnen/onegov-cloud
20148bf321b71f617b64376fe7249b2b9b9c4aa9
[ "MIT" ]
null
null
null
from onegov.winterthur.forms.mission_report import MissionReportForm from onegov.winterthur.forms.mission_report import MissionReportVehicleForm __all__ = ('MissionReportForm', 'MissionReportVehicleForm')
41.2
75
0.868932
200c3ab143b719e01a8471eeab8c7b2a5fb55afb
1,322
py
Python
operating_system/first_in_first_out/Python/FCFS.py
CarbonDDR/al-go-rithms
8e65affbe812931b7dde0e2933eb06c0f44b4130
[ "CC0-1.0" ]
1,253
2017-06-06T07:19:25.000Z
2022-03-30T17:07:58.000Z
operating_system/first_in_first_out/Python/FCFS.py
rishabh99-rc/al-go-rithms
4df20d7ef7598fda4bc89101f9a99aac94cdd794
[ "CC0-1.0" ]
554
2017-09-29T18:56:01.000Z
2022-02-21T15:48:13.000Z
operating_system/first_in_first_out/Python/FCFS.py
rishabh99-rc/al-go-rithms
4df20d7ef7598fda4bc89101f9a99aac94cdd794
[ "CC0-1.0" ]
2,226
2017-09-29T19:59:59.000Z
2022-03-25T08:59:55.000Z
''' Author - Ronak Vadhaiya FCFS ''' import math if __name__ == "__main__": data = [] n_process = int(input("Number of Process: ")) for _ in range(n_process): arrival_time, service_time, priority = map( int, input("Arrival | Service | Priority").split()) data.append([arriv...
26.44
63
0.516641
200c3d5ac5bbf2a6efa0995f9b7a1d5bf57885ff
2,418
py
Python
ps1/src/linearclass/gda.py
Ziggareto/cs229
10b03b68b24d252dad3e3437561976d9509ebdd0
[ "MIT" ]
null
null
null
ps1/src/linearclass/gda.py
Ziggareto/cs229
10b03b68b24d252dad3e3437561976d9509ebdd0
[ "MIT" ]
null
null
null
ps1/src/linearclass/gda.py
Ziggareto/cs229
10b03b68b24d252dad3e3437561976d9509ebdd0
[ "MIT" ]
null
null
null
import numpy as np import linearclass.util def main(train_path, valid_path, save_path): """Problem: Gaussian discriminant analysis (GDA) Args: train_path: Path to CSV file containing dataset for training. valid_path: Path to CSV file containing dataset for validation. save_path: Path ...
30.225
75
0.597601
200d4644111b8e6220fee55b1430740b1b5fa0ab
84
py
Python
pws_br/source/user_defined_functions/udf_types.py
stop-it-h2020-project/PublicWarningNotificationSystem
b2d5e80a10dcb40e7638e36613fa0c1a6cb95939
[ "CC-BY-4.0" ]
null
null
null
pws_br/source/user_defined_functions/udf_types.py
stop-it-h2020-project/PublicWarningNotificationSystem
b2d5e80a10dcb40e7638e36613fa0c1a6cb95939
[ "CC-BY-4.0" ]
null
null
null
pws_br/source/user_defined_functions/udf_types.py
stop-it-h2020-project/PublicWarningNotificationSystem
b2d5e80a10dcb40e7638e36613fa0c1a6cb95939
[ "CC-BY-4.0" ]
null
null
null
BOOL = "BOOL" INT = "INT" DOUBLE = "DOUBLE" STRING = "STRING" DURATION = "DURATION"
14
21
0.642857
200d540302c3b1b222fe7b8506d0b431a429e984
69
py
Python
serverless/tests/CreateEndpoint_event.py
shobhitsundriyal/space_bandits_deployment
c0f87fb4dfda7b35225cdf3f228920eb64f168ed
[ "MIT" ]
null
null
null
serverless/tests/CreateEndpoint_event.py
shobhitsundriyal/space_bandits_deployment
c0f87fb4dfda7b35225cdf3f228920eb64f168ed
[ "MIT" ]
1
2022-03-26T08:42:55.000Z
2022-03-26T08:42:55.000Z
serverless/tests/CreateEndpoint_event.py
shobhitsundriyal/space_bandits_deployment
c0f87fb4dfda7b35225cdf3f228920eb64f168ed
[ "MIT" ]
1
2020-03-27T19:47:56.000Z
2020-03-27T19:47:56.000Z
# coding: utf-8 # In[ ]: { "MLModelId": "ml-ModelExampleId" }
6.272727
34
0.536232
200de3e606ff6ab210f5f66800ffdc8b73b8e1ee
902,000
py
Python
data.py
dskart/perceptron_classifier
936f763d8dcdb11898628cce2be50e68d0259296
[ "MIT" ]
null
null
null
data.py
dskart/perceptron_classifier
936f763d8dcdb11898628cce2be50e68d0259296
[ "MIT" ]
null
null
null
data.py
dskart/perceptron_classifier
936f763d8dcdb11898628cce2be50e68d0259296
[ "MIT" ]
null
null
null
iris = [ ((6.0, 2.2, 4.0, 1.0), "iris-versicolor"), ((6.9, 3.1, 5.4, 2.1), "iris-virginica" ), ((5.5, 2.4, 3.7, 1.0), "iris-versicolor"), ((6.3, 2.8, 5.1, 1.5), "iris-virginica" ), ((6.8, 3.0, 5.5, 2.1), "iris-virginica" ), ((6.3, 2.7, 4.9, 1.8), "iris-virginica" ), ((6.3, 3.4, 5.6, 2...
129.059951
204
0.414328
200ef42bfef4d6393d9dcce9e1c4825bb9b3de29
7,162
py
Python
sacla/scripts/pv3.py
beamline-i24/DiamondChips
02fb58a95ad2c1712c41b641eb5f197d688c54c3
[ "Apache-2.0" ]
null
null
null
sacla/scripts/pv3.py
beamline-i24/DiamondChips
02fb58a95ad2c1712c41b641eb5f197d688c54c3
[ "Apache-2.0" ]
null
null
null
sacla/scripts/pv3.py
beamline-i24/DiamondChips
02fb58a95ad2c1712c41b641eb5f197d688c54c3
[ "Apache-2.0" ]
null
null
null
#PILATUS pilat_file_path = 'BL24I-EA-PILAT-01:cam1:FilePath' pilat_file_name = 'BL24I-EA-PILAT-01:cam1:FileName' pilat_file_temp = 'BL24I-EA-PILAT-01:cam1:FileTemplate' pilat_numb_imgs = 'BL24I-EA-PILAT-01:cam1:NumImages' pilat_file_num = 'BL24I-EA-PILAT-01:cam1:FileNumber' pilat_acquire = 'BL24I-EA-PILAT-01:cam1:Acqui...
34.599034
58
0.740575
200f1d4b82c58a0465fa2637a27c721e431a980f
2,532
py
Python
tracardi/process_engine/action/v1/flow/property_exists/plugin.py
DawidekZagajnik/tracardi
979015b7b14cb87fb639efb1eee6537932319b61
[ "MIT" ]
153
2021-11-02T00:35:41.000Z
2022-03-25T16:37:44.000Z
tracardi/process_engine/action/v1/flow/property_exists/plugin.py
DawidekZagajnik/tracardi
979015b7b14cb87fb639efb1eee6537932319b61
[ "MIT" ]
243
2021-10-17T17:00:22.000Z
2022-03-28T10:13:34.000Z
tracardi/process_engine/action/v1/flow/property_exists/plugin.py
DawidekZagajnik/tracardi
979015b7b14cb87fb639efb1eee6537932319b61
[ "MIT" ]
14
2021-10-17T11:39:04.000Z
2022-03-14T14:44:02.000Z
from tracardi.process_engine.action.v1.flow.property_exists.model.configuration import Configuration from tracardi.service.plugin.domain.register import Plugin, Spec, MetaData, Documentation, PortDoc, Form, FormGroup, \ FormField, FormComponent from tracardi.service.plugin.domain.result import Result from tracardi....
35.661972
119
0.525276
200fe5bb13aa8a362c4acb4df1a5ad2b2c8c36a2
8,178
py
Python
experiments/s3dis/train.py
corochann/chainer-pointnet
4b0350122c6a704ebea9bf206896a6f18e1ab4d7
[ "MIT" ]
37
2018-06-01T21:10:58.000Z
2021-11-14T15:42:33.000Z
experiments/s3dis/train.py
KosukeArase/chainer-pointnet
4b0350122c6a704ebea9bf206896a6f18e1ab4d7
[ "MIT" ]
3
2018-07-20T10:16:07.000Z
2019-10-01T01:36:52.000Z
experiments/s3dis/train.py
KosukeArase/chainer-pointnet
4b0350122c6a704ebea9bf206896a6f18e1ab4d7
[ "MIT" ]
11
2018-08-01T07:05:41.000Z
2022-03-23T06:07:00.000Z
#!/usr/bin/env python from __future__ import print_function import argparse from distutils.util import strtobool import os import chainer from chainer import serializers from chainer import iterators from chainer import optimizers from chainer import training from chainer.dataset import to_device, concat_examples fro...
39.892683
94
0.663732
20105ad6c1b6144c00a1af858c386181e3dcb971
4,617
py
Python
tests/image/test_init.py
PyExplorer/shub
dc38191e6593f3c012cb89ed1551f8b0dd2981d8
[ "BSD-3-Clause" ]
111
2015-02-05T15:24:15.000Z
2022-03-31T03:31:22.000Z
tests/image/test_init.py
PyExplorer/shub
dc38191e6593f3c012cb89ed1551f8b0dd2981d8
[ "BSD-3-Clause" ]
355
2015-01-01T16:18:46.000Z
2022-03-18T15:41:10.000Z
tests/image/test_init.py
PyExplorer/shub
dc38191e6593f3c012cb89ed1551f8b0dd2981d8
[ "BSD-3-Clause" ]
79
2015-02-23T17:07:32.000Z
2022-01-03T09:15:39.000Z
import os import pytest from click.testing import CliRunner from shub.exceptions import BadConfigException from shub.image.init import cli from shub.image.init import _format_system_deps from shub.image.init import _format_system_env from shub.image.init import _format_requirements from shub.image.init import _wrap ...
35.515385
100
0.675114
2014bfd95f78901caeb13c9daf7444041662fd7c
6,195
py
Python
ufo2otf/compilers.py
debian-janitor/ufo2otf-debian
1203d95f454d918ab74ffef0f7f00addbd410ded
[ "BSD-3-Clause" ]
21
2015-05-04T14:15:01.000Z
2021-11-15T03:17:58.000Z
ufo2otf/compilers.py
debian-janitor/ufo2otf-debian
1203d95f454d918ab74ffef0f7f00addbd410ded
[ "BSD-3-Clause" ]
4
2018-07-31T10:07:29.000Z
2020-09-10T11:13:45.000Z
ufo2otf/compilers.py
fonts/ufo2otf
9025ba292c2a17e7dc8010c4fed79ab1a036403a
[ "BSD-3-Clause" ]
3
2016-01-26T04:01:13.000Z
2017-12-08T13:16:37.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- from os import mkdir from os.path import splitext, dirname, sep, join, exists, basename from subprocess import Popen from diagnostics import diagnostics, known_compilers, FontError import codecs import re diagnostics = diagnostics()
36.875
96
0.504762
2014e723afe7cd6d380a497e7707c33b3a2406d2
1,999
py
Python
model_converter.py
dylancrockett/classical-music-generator-ai
8f8416c022cecd238be80473acbf497d052516c5
[ "MIT" ]
null
null
null
model_converter.py
dylancrockett/classical-music-generator-ai
8f8416c022cecd238be80473acbf497d052516c5
[ "MIT" ]
null
null
null
model_converter.py
dylancrockett/classical-music-generator-ai
8f8416c022cecd238be80473acbf497d052516c5
[ "MIT" ]
null
null
null
from midi_converter import char_to_note, note_to_char import random # generate a seed for the model to use to generate a song sequence # convert a dataset into a sample for the AI to train off of
18.682243
66
0.511756
2015cd2bc695dff119d87cd94a61638c234d79af
2,978
py
Python
src/baseline_main.py
NaiboWang/HFL-CS6203-NaiboShiqi
4bab35a20f1ec1229b0011c952d93c341579c402
[ "MIT" ]
null
null
null
src/baseline_main.py
NaiboWang/HFL-CS6203-NaiboShiqi
4bab35a20f1ec1229b0011c952d93c341579c402
[ "MIT" ]
null
null
null
src/baseline_main.py
NaiboWang/HFL-CS6203-NaiboShiqi
4bab35a20f1ec1229b0011c952d93c341579c402
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # Python version: 3.8 """ This script is used to run the baseline experiments by arguments from commandline. Please see readme.md to see the supported arguments. """ import pickle import time from tqdm import tqdm import matplotlib.pyplot as plt from utils import * from o...
36.765432
178
0.659167
20162944698b6ab02ecf96bed6303ceed2e3a8ae
498
py
Python
setup.py
GOIT-Course-Project/Module-1-CP
93674b1d65665762debd994e02361fe653c7bad1
[ "MIT" ]
null
null
null
setup.py
GOIT-Course-Project/Module-1-CP
93674b1d65665762debd994e02361fe653c7bad1
[ "MIT" ]
null
null
null
setup.py
GOIT-Course-Project/Module-1-CP
93674b1d65665762debd994e02361fe653c7bad1
[ "MIT" ]
null
null
null
from setuptools import setup, find_namespace_packages setup( name='personal_assistant', version='1.0.0', authors=('Volodymyr Dunkin', 'Andrii Mikhalkin'), description='personal assistant', entry_points={'console_scripts': [ 'assist = personal_assistant.general:main']}, long_des...
33.2
116
0.710843
201664b688293c2f210424f82b9dea760c6421c4
2,160
py
Python
openmdao/test_suite/groups/parametric_group.py
ryanfarr01/blue
a9aac98c09cce0f7cadf26cf592e3d978bf4e3ff
[ "Apache-2.0" ]
null
null
null
openmdao/test_suite/groups/parametric_group.py
ryanfarr01/blue
a9aac98c09cce0f7cadf26cf592e3d978bf4e3ff
[ "Apache-2.0" ]
null
null
null
openmdao/test_suite/groups/parametric_group.py
ryanfarr01/blue
a9aac98c09cce0f7cadf26cf592e3d978bf4e3ff
[ "Apache-2.0" ]
null
null
null
"""Define the test group classes.""" from __future__ import division, print_function from openmdao.core.group import Group
40.754717
99
0.598611
2016f524e2a1b9db4f8a8bef592b86cb754e2948
2,577
py
Python
CSE4309/assignment 6/knn_classify.py
theoneineed/MLandVision
b9bbef887ed63829e958daee660dd7a900e55f8f
[ "MIT" ]
null
null
null
CSE4309/assignment 6/knn_classify.py
theoneineed/MLandVision
b9bbef887ed63829e958daee660dd7a900e55f8f
[ "MIT" ]
null
null
null
CSE4309/assignment 6/knn_classify.py
theoneineed/MLandVision
b9bbef887ed63829e958daee660dd7a900e55f8f
[ "MIT" ]
null
null
null
#Nabin Chapagain #1001551151 #knn_classify(<training_file>, <test_file>, <k>) # Importing all needed libraries import numpy as np import math import sys import random from scipy import stats from scipy.spatial import distance import statistics as s from statistics import mean, median, mode, stdev fname = sys.argv[1]...
25.019417
112
0.683741
2019b9e2d05e4a4a7e89f2421f88750a1ab6eff8
638
py
Python
var/spack/repos/builtin/packages/perl-getopt-tabular/package.py
player1537-forks/spack
822b7632222ec5a91dc7b7cda5fc0e08715bd47c
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
11
2015-10-04T02:17:46.000Z
2018-02-07T18:23:00.000Z
var/spack/repos/builtin/packages/perl-getopt-tabular/package.py
player1537-forks/spack
822b7632222ec5a91dc7b7cda5fc0e08715bd47c
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
22
2017-08-01T22:45:10.000Z
2022-03-10T07:46:31.000Z
var/spack/repos/builtin/packages/perl-getopt-tabular/package.py
player1537-forks/spack
822b7632222ec5a91dc7b7cda5fc0e08715bd47c
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
4
2016-06-10T17:57:39.000Z
2018-09-11T04:59:38.000Z
# Copyright 2013-2022 Lawrence Livermore National Security, LLC and other # Spack Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) from spack import *
39.875
93
0.753918
201aafc09a27272df9e65b3abf61a1c4c43849ac
3,218
py
Python
aileen/box/management/commands/monitor_tmux.py
aileenproject/aileen
ea3cee33658e8f0a32edc806b4aad22a75227f26
[ "MIT" ]
11
2018-12-16T10:59:19.000Z
2019-04-13T09:35:25.000Z
aileen/box/management/commands/monitor_tmux.py
aileenproject/aileen-core
ea3cee33658e8f0a32edc806b4aad22a75227f26
[ "MIT" ]
6
2019-07-08T09:21:50.000Z
2019-11-08T08:21:54.000Z
aileen/box/management/commands/monitor_tmux.py
aileenproject/aileen-core
ea3cee33658e8f0a32edc806b4aad22a75227f26
[ "MIT" ]
3
2019-01-17T23:18:27.000Z
2019-04-13T09:55:05.000Z
import logging import os import time from datetime import datetime import pytz from django.conf import settings from django.core.management.base import BaseCommand import libtmux from box.management.commands.run_box import start_sensor_in_tmux from box.models import BoxSettings from box.utils.dir_handling import buil...
33.175258
115
0.686451
201ab30fb25e805b4259dacde1a4af4992404af1
8,244
py
Python
pySPM/nanoscan.py
BBarbara-fr/pySPM
6dfd59b0e873173c455b1085e091495cf775f852
[ "Apache-2.0" ]
39
2016-08-23T19:12:29.000Z
2022-02-11T11:36:33.000Z
pySPM/nanoscan.py
BBarbara-fr/pySPM
6dfd59b0e873173c455b1085e091495cf775f852
[ "Apache-2.0" ]
24
2018-04-26T12:05:00.000Z
2022-02-27T12:36:51.000Z
pySPM/nanoscan.py
BBarbara-fr/pySPM
6dfd59b0e873173c455b1085e091495cf775f852
[ "Apache-2.0" ]
40
2018-01-23T07:11:14.000Z
2022-03-11T12:41:49.000Z
# -- coding: utf-8 -- # Copyright 2018 Olivier Scholder <o.scholder@gmail.com> import os import base64 import xml.etree.ElementTree as ET import struct import numpy as np import pySPM.SPM from pySPM.SPM import SPM_image, funit from .utils.misc import aliased, alias, deprecated
49.071429
198
0.563925
201b60efc08461f66b0f374787bf9604d5d7d204
424
py
Python
pset_loops/dict_loops/p1.py
mottaquikarim/pydev-psets
9749e0d216ee0a5c586d0d3013ef481cc21dee27
[ "MIT" ]
5
2019-04-08T20:05:37.000Z
2019-12-04T20:48:45.000Z
pset_loops/dict_loops/p1.py
mottaquikarim/pydev-psets
9749e0d216ee0a5c586d0d3013ef481cc21dee27
[ "MIT" ]
8
2019-04-15T15:16:05.000Z
2022-02-12T10:33:32.000Z
pset_loops/dict_loops/p1.py
mottaquikarim/pydev-psets
9749e0d216ee0a5c586d0d3013ef481cc21dee27
[ "MIT" ]
2
2019-04-10T00:14:42.000Z
2020-02-26T20:35:21.000Z
""" Contacts """ # You went to a conference and got people to sign up for text updates from your startup. Go through this dict to make the phone numbers readable to a computer. # Hint: It can't include any non-numeric # characters. contacts = { 'Jamie': '1.192.168.0143', 'Kartik': '1.837.209.1121', 'Grant': '1.8...
23.555556
160
0.667453
201c3ff46ed39f9d31b9bd6af4988cd2d18f6c06
1,342
py
Python
setup/util/logging.py
JackInTaiwan/ViDB
d658fd4f6a1ad2d7d36bb270fde2a373d3cc965d
[ "MIT" ]
2
2021-05-29T06:57:24.000Z
2021-06-15T09:13:38.000Z
setup/util/logging.py
JackInTaiwan/ViDB
d658fd4f6a1ad2d7d36bb270fde2a373d3cc965d
[ "MIT" ]
null
null
null
setup/util/logging.py
JackInTaiwan/ViDB
d658fd4f6a1ad2d7d36bb270fde2a373d3cc965d
[ "MIT" ]
null
null
null
import os import logging import logging.config
26.313725
92
0.469449
201eb6fa14944b9223d55f400cf800718bfd62d0
481
py
Python
api/handlers/schemahandler.py
scitran/nimsapi
a4203cf6c6d29aa15d33011250ee69ff929fcb0d
[ "MIT" ]
13
2016-05-31T14:32:58.000Z
2021-09-17T07:18:11.000Z
api/handlers/schemahandler.py
scitran/core
a4203cf6c6d29aa15d33011250ee69ff929fcb0d
[ "MIT" ]
911
2016-02-16T18:40:27.000Z
2018-08-07T17:50:29.000Z
api/handlers/schemahandler.py
scitran/nimsapi
a4203cf6c6d29aa15d33011250ee69ff929fcb0d
[ "MIT" ]
16
2016-02-17T15:54:34.000Z
2021-04-07T05:30:34.000Z
import os import json from ..web import base from .. import config
24.05
62
0.632017
2020ae402acc11537dc961ac7e378c574b23fb5e
6,794
py
Python
chess_net_v2.py
michaelwolz/ChessML
72d82804cac0554440ef39caf0f25eb399f4a34f
[ "MIT" ]
7
2019-04-05T10:33:28.000Z
2021-06-07T17:14:55.000Z
chess_net_v2.py
michaelwolz/ChessML
72d82804cac0554440ef39caf0f25eb399f4a34f
[ "MIT" ]
null
null
null
chess_net_v2.py
michaelwolz/ChessML
72d82804cac0554440ef39caf0f25eb399f4a34f
[ "MIT" ]
2
2019-03-29T18:57:48.000Z
2020-09-13T10:11:26.000Z
import torch import torch.optim as optim import torch.nn as nn import torchvision import time import progressbar import os from torchvision import transforms, models # Implementation based on resnet18 # Accuracy of 99% after 12 Epochs of training with 31.200 training images and 7.800 validation images # Where to sto...
34.140704
118
0.611422
202123a817addffe802bc7038a57cc62474ba2d3
1,187
py
Python
code/ch06-data-structs/friend_map.py
tamnguyenchi93/python-memory-management-course
e858b1a5e4f423fae5b431a7727a9eb953e8b6a0
[ "MIT" ]
30
2020-08-24T14:01:26.000Z
2022-03-26T18:55:55.000Z
code/ch06-data-structs/friend_map.py
danielhao5/python-memory-management-course
89015877d858488e018e07fad52eec7bf3acd394
[ "MIT" ]
null
null
null
code/ch06-data-structs/friend_map.py
danielhao5/python-memory-management-course
89015877d858488e018e07fad52eec7bf3acd394
[ "MIT" ]
17
2020-08-21T01:52:21.000Z
2021-11-28T13:11:11.000Z
import weakref from collections import defaultdict from typing import List, Dict from person import Person __map: Dict[int, List] = defaultdict(list)
22.396226
61
0.628475
2021a506098259e1c1e707ac8752765f8b357bc4
3,450
py
Python
buildScripts/Android_build.py
Zhanghuahua/50KEngine
843bb1fbeebaa42029793a28336bac4870554984
[ "Apache-2.0" ]
4
2020-05-06T06:18:15.000Z
2021-11-24T09:27:03.000Z
buildScripts/Android_build.py
Zhanghuahua/50KEngine
843bb1fbeebaa42029793a28336bac4870554984
[ "Apache-2.0" ]
null
null
null
buildScripts/Android_build.py
Zhanghuahua/50KEngine
843bb1fbeebaa42029793a28336bac4870554984
[ "Apache-2.0" ]
null
null
null
import os import sys import shutil ANDROID_NDK = os.getenv("NDK_HOME") if(ANDROID_NDK == None): print("no ndk found") else: print("foud ndk in " + ANDROID_NDK) BUILD_TYPE="Release" BUILD_SHARED_LIBS="OFF" BUILD_HIDDEN_SYMBOL="ON" BUILD_RTTI="ON" BUILD_EXCEPTIONS="ON" ANDROID_STL_32BIT="c++_shared" ANDROID_ST...
31.081081
101
0.713333
20250ba40775118058acfaa6b23f44f28eae0339
5,143
py
Python
run_project.py
bleotiu/Mosaics
3ef0fcd9ea37de03c15bc8eac4dd02e80f0cb4f4
[ "MIT" ]
null
null
null
run_project.py
bleotiu/Mosaics
3ef0fcd9ea37de03c15bc8eac4dd02e80f0cb4f4
[ "MIT" ]
null
null
null
run_project.py
bleotiu/Mosaics
3ef0fcd9ea37de03c15bc8eac4dd02e80f0cb4f4
[ "MIT" ]
null
null
null
""" PROIECT MOZAIC """ # Parametrii algoritmului sunt definiti in clasa Parameters. from parameters import * from build_mosaic import * import timeit import numpy as np import os import cv2 as cv dir_path = './..data/imaginiTest/' filenames = [('./../data/imaginiTest/ferrari.jpeg', 'ferrari'), ...
32.967949
102
0.637177
20255a880a1144e9646a6cba9442f38fbfcf88ba
28,776
py
Python
tests/test_customer.py
psantori/contacthub-sdk-python
03b6dba72ac0a5c34775b409f28b501894cae080
[ "Apache-2.0" ]
null
null
null
tests/test_customer.py
psantori/contacthub-sdk-python
03b6dba72ac0a5c34775b409f28b501894cae080
[ "Apache-2.0" ]
null
null
null
tests/test_customer.py
psantori/contacthub-sdk-python
03b6dba72ac0a5c34775b409f28b501894cae080
[ "Apache-2.0" ]
null
null
null
import json import unittest from datetime import datetime import mock from contacthub.lib.paginated_list import PaginatedList from contacthub.lib.read_only_list import ReadOnlyList from contacthub.models.customer import Customer from contacthub.models.education import Education from contacthub.models.properties impor...
53.387755
120
0.654678
20263c0738f5a4bf50cf12ac5dca6b704fb581b7
1,027
py
Python
python3/lib/python3.6/site-packages/tensorflow/_api/v1/lite/constants/__init__.py
TruongThuyLiem/keras2tensorflow
726f2370160701081cb43fbd8b56154c10d7ad63
[ "MIT" ]
3
2020-10-12T15:47:01.000Z
2022-01-14T19:51:26.000Z
python3/lib/python3.6/site-packages/tensorflow/_api/v1/lite/constants/__init__.py
TruongThuyLiem/keras2tensorflow
726f2370160701081cb43fbd8b56154c10d7ad63
[ "MIT" ]
null
null
null
python3/lib/python3.6/site-packages/tensorflow/_api/v1/lite/constants/__init__.py
TruongThuyLiem/keras2tensorflow
726f2370160701081cb43fbd8b56154c10d7ad63
[ "MIT" ]
2
2020-08-03T13:02:06.000Z
2020-11-04T03:15:44.000Z
# This file is MACHINE GENERATED! Do not edit. # Generated by: tensorflow/python/tools/api/generator/create_python_api.py script. """Public API for tf.lite.constants namespace. """ from __future__ import print_function as _print_function from tensorflow.lite.python.lite_constants import FLOAT from tensorflow.lite.pyt...
41.08
83
0.843233
2027748f2846da6b6c70c5892c0dc16fc59d2b8e
461
py
Python
yi/core/dtypes.py
soloist-v/yi
d7c04fe6266441d2629ba35f69c9fc659a52b370
[ "MIT" ]
null
null
null
yi/core/dtypes.py
soloist-v/yi
d7c04fe6266441d2629ba35f69c9fc659a52b370
[ "MIT" ]
null
null
null
yi/core/dtypes.py
soloist-v/yi
d7c04fe6266441d2629ba35f69c9fc659a52b370
[ "MIT" ]
null
null
null
import numpy as np import ctypes as ct char = ct.c_char ubyte = ct.c_ubyte bool = np.bool float = np.float float16 = np.float16 float32 = np.float32 float64 = np.float64 uint8 = np.uint8 byte = np.byte uint = np.uint uint16 = np.uint16 uint32 = np.uint32 uint64 = np.uint64 int = np.int int16 = np.int16 short = np.shor...
17.074074
26
0.73102
2027d741875bd17dba0f53e2ec50dbf45c31bd83
1,468
py
Python
tests/algorithms/test_bounded_mean.py
Vishwaak/PyDP
408384534843bd297ec7d59ce820c7099a80d848
[ "Apache-2.0" ]
null
null
null
tests/algorithms/test_bounded_mean.py
Vishwaak/PyDP
408384534843bd297ec7d59ce820c7099a80d848
[ "Apache-2.0" ]
null
null
null
tests/algorithms/test_bounded_mean.py
Vishwaak/PyDP
408384534843bd297ec7d59ce820c7099a80d848
[ "Apache-2.0" ]
null
null
null
import pytest from pydp.algorithms.laplacian import BoundedMean # TODO: port this test # # TYPED_TEST(BoundedMeanTest, BasicTest) { # std::vector<TypeParam> a = {2, 4, 6, 8}; # std::unique_ptr<BoundedMean<TypeParam>> mean = # typename BoundedMean<TypeParam>::Builder() # .SetEpsilon(1.0) # ...
28.230769
79
0.638965
2028e7f5d5555af7c6f61543cb886074df2a83db
2,688
py
Python
exportegv/main.py
tiger12506/meerk40t-exportegv
e34aab2bd43b33622ef2cc112e40a1988732d6c1
[ "MIT" ]
null
null
null
exportegv/main.py
tiger12506/meerk40t-exportegv
e34aab2bd43b33622ef2cc112e40a1988732d6c1
[ "MIT" ]
null
null
null
exportegv/main.py
tiger12506/meerk40t-exportegv
e34aab2bd43b33622ef2cc112e40a1988732d6c1
[ "MIT" ]
null
null
null
from meerk40t.device.lasercommandconstants import * output_path = "/home/jacob/cut/output.egv"
40.727273
122
0.607515
2029145c9d4ea9c9155795f998247b31586f13e7
3,769
py
Python
reinforcement_learning/rl_tic_tac_toe_coach_customEnv/tic_tac_toe_game.py
jpmarques19/tensorflwo-test
0ff8b06e0415075c7269820d080284a42595bb2e
[ "Apache-2.0" ]
5
2019-01-19T23:53:35.000Z
2022-01-29T14:04:31.000Z
reinforcement_learning/rl_tic_tac_toe_coach_customEnv/tic_tac_toe_game.py
jpmarques19/tensorflwo-test
0ff8b06e0415075c7269820d080284a42595bb2e
[ "Apache-2.0" ]
6
2020-01-28T23:08:49.000Z
2022-02-10T00:27:19.000Z
reinforcement_learning/rl_tic_tac_toe_coach_customEnv/tic_tac_toe_game.py
jpmarques19/tensorflwo-test
0ff8b06e0415075c7269820d080284a42595bb2e
[ "Apache-2.0" ]
8
2020-12-14T15:49:24.000Z
2022-03-23T18:38:36.000Z
from ipywidgets import widgets, HBox, VBox, Layout from IPython.display import display from functools import partial import numpy as np
30.893443
98
0.477846
202a5da8266f29b01ac5f81206b1cb497b57c352
2,714
py
Python
src/evaluate.py
buswinka/DetectStereocillia
7205680d9861cb50a447fe730696d2631f8256ba
[ "MIT" ]
null
null
null
src/evaluate.py
buswinka/DetectStereocillia
7205680d9861cb50a447fe730696d2631f8256ba
[ "MIT" ]
null
null
null
src/evaluate.py
buswinka/DetectStereocillia
7205680d9861cb50a447fe730696d2631f8256ba
[ "MIT" ]
1
2022-03-20T03:05:20.000Z
2022-03-20T03:05:20.000Z
from src.model import faster_rcnn_bundle, faster_rcnn_cilia, mask_rcnn, keypoint_rcnn import torch import src.utils import torch.optim import torchvision.ops as ops import src.transforms as t import torchvision.transforms.functional as TF import numpy as np import PIL from typing import Dict, List, Tuple import os.p...
36.675676
161
0.648858
202b359513f51708d7eb7be95a2b59ab940c8140
36
py
Python
system/protocols/generic/__init__.py
UltrosBot/Ultros
639efc11f73ebf7e8f47f0554aced00a559d9e2d
[ "Artistic-2.0" ]
16
2015-01-02T00:16:11.000Z
2019-06-03T06:23:11.000Z
system/protocols/generic/__init__.py
UltrosBot/Ultros
639efc11f73ebf7e8f47f0554aced00a559d9e2d
[ "Artistic-2.0" ]
31
2015-01-18T12:14:53.000Z
2018-01-07T13:32:29.000Z
system/protocols/generic/__init__.py
UltrosBot/Ultros
639efc11f73ebf7e8f47f0554aced00a559d9e2d
[ "Artistic-2.0" ]
9
2015-02-13T09:38:53.000Z
2020-11-29T19:59:32.000Z
# coding=utf-8 __author__ = 'Sean'
9
19
0.666667
202b86ff46d75ae6771b1867dc89ef0af73924b6
4,763
py
Python
src/solver.py
nataboll/ellipsoids
efd6b5d4bf221aa08a657f6265cb8a175289f979
[ "MIT" ]
null
null
null
src/solver.py
nataboll/ellipsoids
efd6b5d4bf221aa08a657f6265cb8a175289f979
[ "MIT" ]
null
null
null
src/solver.py
nataboll/ellipsoids
efd6b5d4bf221aa08a657f6265cb8a175289f979
[ "MIT" ]
null
null
null
from src.data import Data import numpy as np from scipy.optimize import minimize import matplotlib.pyplot as plt # area of ellipse # def f(x): # return np.pi * (x[0] * x[3] - x[1] * x[2]) ** 2
35.281481
117
0.503674
2030a126837212f6f3c802c76c67b2aadd17b523
1,043
py
Python
project2.py
pralhad88/ProjectEluer
f27cf97295d3d3a3a8f1d64d02010c3a00346fa2
[ "MIT" ]
1
2020-04-14T08:31:39.000Z
2020-04-14T08:31:39.000Z
project2.py
pralhad88/ProjectEluer
f27cf97295d3d3a3a8f1d64d02010c3a00346fa2
[ "MIT" ]
null
null
null
project2.py
pralhad88/ProjectEluer
f27cf97295d3d3a3a8f1d64d02010c3a00346fa2
[ "MIT" ]
null
null
null
# Each new term in the Fibonacci sequence is generated by adding the previous two terms. By starting with 1 and 2, the first 10 terms will be: # 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, ... #By considering the terms in the Fibonacci sequence whose values do not exceed four million, find the sum of the even-valued term...
23.177778
177
0.711409
20319180ed84fbe3b13d01be4d5e3308273c3a54
1,218
py
Python
tests/conftest.py
mzaglia/bdc-db
bce8ba164a336dd8f7638ed4c0a5c1a4ad80e3a5
[ "MIT" ]
null
null
null
tests/conftest.py
mzaglia/bdc-db
bce8ba164a336dd8f7638ed4c0a5c1a4ad80e3a5
[ "MIT" ]
null
null
null
tests/conftest.py
mzaglia/bdc-db
bce8ba164a336dd8f7638ed4c0a5c1a4ad80e3a5
[ "MIT" ]
null
null
null
# # This file is part of Brazil Data Cube Database module. # Copyright (C) 2019-2020 INPE. # # Brazil Data Cube Database moduleis free software; you can redistribute it and/or modify it # under the terms of the MIT License; see LICENSE file for more details. # """Config test fixtures.""" from typing import List impo...
22.981132
92
0.702791
203206409e2548bf6472b00d0f31ff2df6928c52
2,805
py
Python
code/ner/evaluate.py
miquelcanalesteve/mtextos2122
e400090575b9f23469cf5a071523b8dafec1c0cf
[ "CC-BY-4.0" ]
null
null
null
code/ner/evaluate.py
miquelcanalesteve/mtextos2122
e400090575b9f23469cf5a071523b8dafec1c0cf
[ "CC-BY-4.0" ]
null
null
null
code/ner/evaluate.py
miquelcanalesteve/mtextos2122
e400090575b9f23469cf5a071523b8dafec1c0cf
[ "CC-BY-4.0" ]
5
2022-02-09T15:13:31.000Z
2022-03-07T20:07:24.000Z
import argparse import logging import os import numpy as np import torch import utils import model.net as net from model.data_loader import DataLoader parser = argparse.ArgumentParser() parser.add_argument('--data_dir', default='data/small', help="Directory containing the dataset") parser.add_argument('--model_dir', ...
33
109
0.685918
20324745b49d12b28c5e64b40f7fe8dfb4e906b0
2,051
py
Python
workspace/machine_learning/support_functions.py
Batyi/Website-Fingerprinting-on-Proxy
d2c330fa154cf13c03bd36947e6507debf1ec173
[ "MIT" ]
1
2020-06-26T14:25:41.000Z
2020-06-26T14:25:41.000Z
workspace/machine_learning/support_functions.py
Batyi/Website-Fingerprinting-on-Proxy
d2c330fa154cf13c03bd36947e6507debf1ec173
[ "MIT" ]
null
null
null
workspace/machine_learning/support_functions.py
Batyi/Website-Fingerprinting-on-Proxy
d2c330fa154cf13c03bd36947e6507debf1ec173
[ "MIT" ]
null
null
null
import os import re
32.555556
96
0.712823
20331abdaf8bf7d676a5d3d8fb00324bcc3c7cde
1,124
py
Python
cynergy/errors/ContainerException.py
LALAYANG/IOCynergy
1821423680f741d8ca06bcc6a02c8b21156f9ba0
[ "MIT" ]
12
2017-12-14T02:02:25.000Z
2019-07-31T10:42:23.000Z
cynergy/errors/ContainerException.py
LALAYANG/IOCynergy
1821423680f741d8ca06bcc6a02c8b21156f9ba0
[ "MIT" ]
1
2019-09-10T07:11:27.000Z
2019-10-22T20:18:19.000Z
cynergy/errors/ContainerException.py
LALAYANG/IOCynergy
1821423680f741d8ca06bcc6a02c8b21156f9ba0
[ "MIT" ]
2
2021-08-15T08:56:13.000Z
2021-11-05T17:06:15.000Z
from typing import Type
44.96
120
0.509786
2034a75a259e4f6a84df0a1bdb6f0f7a485dcf5a
841
py
Python
scripts/testcase_parser/kattis.py
metaflow/contests
5e9ffcb72c3e7da54b5e0818b1afa59f5778ffa2
[ "MIT" ]
1
2019-05-12T23:41:00.000Z
2019-05-12T23:41:00.000Z
scripts/testcase_parser/kattis.py
metaflow/contests
5e9ffcb72c3e7da54b5e0818b1afa59f5778ffa2
[ "MIT" ]
null
null
null
scripts/testcase_parser/kattis.py
metaflow/contests
5e9ffcb72c3e7da54b5e0818b1afa59f5778ffa2
[ "MIT" ]
null
null
null
#!/usr/bin/env python from bs4 import BeautifulSoup from urllib.parse import urlsplit import json import sys import utils url = sys.argv[1] path = sys.argv[2] url = urlsplit(url) host = url.netloc if not host.endswith('kattis.com'): exit(1) name = url.path.rstrip('/').split('/')[-1] # /problems/skiresort with op...
23.361111
64
0.655172
203526c026fed195000636faf1d1dd48a896aced
18,756
py
Python
src/libs/loss.py
dylanturpin/6-PACK
a8d94cea97ed0f459431f409792038abb14f02d4
[ "MIT" ]
1
2020-06-23T10:03:18.000Z
2020-06-23T10:03:18.000Z
src/libs/loss.py
dylanturpin/6-PACK
a8d94cea97ed0f459431f409792038abb14f02d4
[ "MIT" ]
null
null
null
src/libs/loss.py
dylanturpin/6-PACK
a8d94cea97ed0f459431f409792038abb14f02d4
[ "MIT" ]
null
null
null
import pdb from torch.nn.modules.loss import _Loss from torch.autograd import Variable import math import torch import time import numpy as np import torch.nn as nn import random import torch.backends.cudnn as cudnn import torch.nn.functional as F import torch.distributions as tdist import copy import pymesh import pyv...
44.870813
139
0.61447
2035bc483e311f9599f980f47de2dacaa8317d2b
1,789
py
Python
setup.py
galaddirie/django-cassiopeia
e3e75e6c815cfc96e3b7ef5991aa1265221a2122
[ "MIT" ]
null
null
null
setup.py
galaddirie/django-cassiopeia
e3e75e6c815cfc96e3b7ef5991aa1265221a2122
[ "MIT" ]
null
null
null
setup.py
galaddirie/django-cassiopeia
e3e75e6c815cfc96e3b7ef5991aa1265221a2122
[ "MIT" ]
null
null
null
#!/usr/bin/env python import sys from setuptools import setup, find_packages from os import path this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f: long_description = f.read() install_requires = [ "datapipelines>=1.0.7", "mera...
30.844828
90
0.648966
2036a59a849efccd1eebf5b74851410e2d9a4249
710
py
Python
Solver/Solver.py
MapleNSteel/mpcGenerationToolkit
e0b43e34247447cb8c591bb2f7d69834e4b7d982
[ "MIT" ]
null
null
null
Solver/Solver.py
MapleNSteel/mpcGenerationToolkit
e0b43e34247447cb8c591bb2f7d69834e4b7d982
[ "MIT" ]
null
null
null
Solver/Solver.py
MapleNSteel/mpcGenerationToolkit
e0b43e34247447cb8c591bb2f7d69834e4b7d982
[ "MIT" ]
null
null
null
import time import numpy as np from cvxopt import matrix, solvers from sympy import pprint solvers.options['show_progress'] = False solvers.options['maxiters'] = 1
32.272727
85
0.690141
2037a567b77e305e0d1ccdea12da25c068d7248b
3,460
py
Python
fhir/resources/DSTU2/enrollmentrequest.py
cstoltze/fhir.resources
52f99738935b7313089d89daf94d73ce7d167c9d
[ "BSD-3-Clause" ]
144
2019-05-08T14:24:43.000Z
2022-03-30T02:37:11.000Z
fhir/resources/DSTU2/enrollmentrequest.py
cstoltze/fhir.resources
52f99738935b7313089d89daf94d73ce7d167c9d
[ "BSD-3-Clause" ]
82
2019-05-13T17:43:13.000Z
2022-03-30T16:45:17.000Z
fhir/resources/DSTU2/enrollmentrequest.py
cstoltze/fhir.resources
52f99738935b7313089d89daf94d73ce7d167c9d
[ "BSD-3-Clause" ]
48
2019-04-04T14:14:53.000Z
2022-03-30T06:07:31.000Z
# -*- coding: utf-8 -*- """ Profile: https://www.hl7.org/fhir/DSTU2/enrollmentrequest.html Release: DSTU2 Version: 1.0.2 Revision: 7202 """ from typing import List as ListType from pydantic import Field from . import domainresource, fhirtypes
30.350877
93
0.629191
203928c956b6d7f878702889dc3a41b3976259dc
537
py
Python
strona/urls.py
lukasy2/strona
7ccebfe0553f9fac06bf762d1028c9faf7d830c0
[ "MIT", "Unlicense" ]
null
null
null
strona/urls.py
lukasy2/strona
7ccebfe0553f9fac06bf762d1028c9faf7d830c0
[ "MIT", "Unlicense" ]
null
null
null
strona/urls.py
lukasy2/strona
7ccebfe0553f9fac06bf762d1028c9faf7d830c0
[ "MIT", "Unlicense" ]
null
null
null
from django.conf.urls import patterns, include, url from django.contrib import admin from django.contrib.auth import views as auth_views from newsy import views urlpatterns = [ url(r'^admin/', admin.site.urls), url(r'^accounts/register/$', views.register_user), url(r'^accounts/register_success/$', views.re...
31.588235
70
0.687151
203badb19861f80a63c8028ac6ffdd250300130d
799
py
Python
software/feature_space.py
aM3z/primality-testing
b9e8395ab346ffd46f5b014996da2207c50dcc0a
[ "MIT" ]
1
2021-03-15T17:26:32.000Z
2021-03-15T17:26:32.000Z
software/feature_space.py
aM3z/primality-testing
b9e8395ab346ffd46f5b014996da2207c50dcc0a
[ "MIT" ]
null
null
null
software/feature_space.py
aM3z/primality-testing
b9e8395ab346ffd46f5b014996da2207c50dcc0a
[ "MIT" ]
null
null
null
from base_b import convert from random import randint DATA_DIR = "../data/"
21.594595
63
0.605757
203cba017e9464fdeee0e4647c552ae7f9d28d68
1,477
py
Python
redisext/queue.py
mylokin/redisext
b49c2699183d795ec462f0288bb3fb7110936a89
[ "MIT" ]
null
null
null
redisext/queue.py
mylokin/redisext
b49c2699183d795ec462f0288bb3fb7110936a89
[ "MIT" ]
5
2015-02-15T11:03:29.000Z
2018-03-05T19:11:20.000Z
redisext/queue.py
mylokin/redisext
b49c2699183d795ec462f0288bb3fb7110936a89
[ "MIT" ]
2
2018-03-05T19:06:34.000Z
2020-07-01T09:18:40.000Z
from __future__ import absolute_import import redisext.models.abc
24.213115
67
0.570752
203de3b0e97c73fd699b6af21861e33253964a9d
6,947
py
Python
dataLoader.py
stephen-w-bailey/fast-n-deep-faces
53173c6367dfa3a20d3193ad7a0e77ac1e898f02
[ "BSD-3-Clause" ]
40
2020-06-26T10:56:39.000Z
2022-01-26T10:43:34.000Z
dataLoader.py
stephen-w-bailey/fast-n-deep-faces
53173c6367dfa3a20d3193ad7a0e77ac1e898f02
[ "BSD-3-Clause" ]
7
2020-07-01T07:10:11.000Z
2022-03-07T00:07:41.000Z
dataLoader.py
stephen-w-bailey/fast-n-deep-faces
53173c6367dfa3a20d3193ad7a0e77ac1e898f02
[ "BSD-3-Clause" ]
13
2020-06-30T11:57:41.000Z
2022-02-20T17:24:00.000Z
import matplotlib.pyplot as plt import numpy as np import pickle import tensorflow as tf import UVGenerator
38.594444
122
0.554196
203e0415618b04f5477d288195f92e0ca902d4e2
2,105
py
Python
cop/email_smaple/mail.py
maksim-urbanovich/Python_Task3
d0842c2caa39030ced55a342a709c9d0a2c8acce
[ "MIT" ]
null
null
null
cop/email_smaple/mail.py
maksim-urbanovich/Python_Task3
d0842c2caa39030ced55a342a709c9d0a2c8acce
[ "MIT" ]
null
null
null
cop/email_smaple/mail.py
maksim-urbanovich/Python_Task3
d0842c2caa39030ced55a342a709c9d0a2c8acce
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import smtplib from smtplib import SMTPException from email.mime.text import MIMEText import csv import codecs import logging from logging import StreamHandler from logging.handlers import RotatingFileHandler import sys import time LOGGER = 'logger' user = "robot.artsiom.mishuta" password = "r...
29.236111
172
0.636105
203e08b8b5ab33b02e1ca4e3dd9d441003adb9b3
857
py
Python
mayan/apps/tags/api_views.py
Dave360-crypto/mayan-edms
9cd37537461347f79ff0429e4b8b16fd2446798d
[ "Apache-2.0" ]
3
2020-02-03T11:58:51.000Z
2020-10-20T03:52:21.000Z
mayan/apps/tags/api_views.py
Dave360-crypto/mayan-edms
9cd37537461347f79ff0429e4b8b16fd2446798d
[ "Apache-2.0" ]
null
null
null
mayan/apps/tags/api_views.py
Dave360-crypto/mayan-edms
9cd37537461347f79ff0429e4b8b16fd2446798d
[ "Apache-2.0" ]
2
2020-10-24T11:10:06.000Z
2021-03-03T20:05:38.000Z
from __future__ import absolute_import from rest_framework import generics from taggit.models import Tag from rest_api.filters import MayanObjectPermissionsFilter from rest_api.permissions import MayanPermission from .permissions import PERMISSION_TAG_VIEW from .serializers import TagSerializer
25.205882
61
0.763127
203f15c01536c740d40273810080fe27d8d79ddb
2,191
py
Python
stick_video/keypoints_to_stick_image.py
yookyungkho/Hand-to-Hand
c0ae9a9c1e5ea894c7daf2c2bf2f7c752e31e8b7
[ "Apache-2.0" ]
4
2021-04-07T05:38:25.000Z
2021-07-18T05:02:39.000Z
stick_video/keypoints_to_stick_image.py
yookyungkho/Hand-to-Hand
c0ae9a9c1e5ea894c7daf2c2bf2f7c752e31e8b7
[ "Apache-2.0" ]
null
null
null
stick_video/keypoints_to_stick_image.py
yookyungkho/Hand-to-Hand
c0ae9a9c1e5ea894c7daf2c2bf2f7c752e31e8b7
[ "Apache-2.0" ]
6
2020-10-25T07:10:29.000Z
2020-11-06T17:21:48.000Z
import numpy as np import cv2 import matplotlib.pyplot as plt import json import os pose_point_pair_ver1 = [[1, 2], [2, 3], [3, 4], [1, 5], [5, 6], [6, 7], [1, 9], [9, 8], [8, 12], [12, 1]] pose_point_pair_ver2 = [[1, 2], [2, 3], [3, 4], [1, 5], [5, 6], [6, 7], [2, 9], [9, 8], [8, 12], [12, 5]] face_point_pair = [ ...
38.438596
106
0.542218
203f675ff410bffb2f8fc129a258a5f53d79aacf
336
py
Python
mayan/apps/scheduler/permissions.py
Dave360-crypto/mayan-edms
9cd37537461347f79ff0429e4b8b16fd2446798d
[ "Apache-2.0" ]
3
2020-02-03T11:58:51.000Z
2020-10-20T03:52:21.000Z
mayan/apps/scheduler/permissions.py
Dave360-crypto/mayan-edms
9cd37537461347f79ff0429e4b8b16fd2446798d
[ "Apache-2.0" ]
null
null
null
mayan/apps/scheduler/permissions.py
Dave360-crypto/mayan-edms
9cd37537461347f79ff0429e4b8b16fd2446798d
[ "Apache-2.0" ]
2
2020-10-24T11:10:06.000Z
2021-03-03T20:05:38.000Z
from __future__ import absolute_import from django.utils.translation import ugettext_lazy as _ from permissions.models import PermissionNamespace, Permission namespace = PermissionNamespace('scheduler', _(u'Scheduler')) PERMISSION_VIEW_JOB_LIST = Permission.objects.register(namespace, 'jobs_list', _(u'View the inter...
37.333333
112
0.827381
20426ff7837fe22b23c2cac78531fbb52e8967be
765
py
Python
django_dramatiq/migrations/0003_auto_20200204_0842.py
thebjorn/django_dramatiq
bd293e0479f3dd3f378ab92465e8dcb5e51583b0
[ "Apache-2.0" ]
229
2017-11-13T06:03:19.000Z
2022-03-28T09:36:15.000Z
django_dramatiq/migrations/0003_auto_20200204_0842.py
thebjorn/django_dramatiq
bd293e0479f3dd3f378ab92465e8dcb5e51583b0
[ "Apache-2.0" ]
109
2017-11-15T07:49:54.000Z
2022-02-18T05:28:25.000Z
django_dramatiq/migrations/0003_auto_20200204_0842.py
thebjorn/django_dramatiq
bd293e0479f3dd3f378ab92465e8dcb5e51583b0
[ "Apache-2.0" ]
76
2017-11-14T00:28:31.000Z
2022-03-23T04:46:48.000Z
# Generated by Django 2.0 on 2020-02-04 08:42 from django.db import migrations, models import django.db.models.manager
29.423077
217
0.573856
20453193afb607d368c958b88cbf1cdb70f61f43
717
py
Python
python/leetcode/280_wiggle_sort.py
yxun/Notebook
680ae89a32d3f7d4fdcd541e66cea97e29efbd26
[ "Apache-2.0" ]
1
2021-10-04T13:26:32.000Z
2021-10-04T13:26:32.000Z
python/leetcode/280_wiggle_sort.py
yxun/Notebook
680ae89a32d3f7d4fdcd541e66cea97e29efbd26
[ "Apache-2.0" ]
3
2020-03-24T19:34:42.000Z
2022-01-21T20:15:39.000Z
python/leetcode/280_wiggle_sort.py
yxun/Notebook
680ae89a32d3f7d4fdcd541e66cea97e29efbd26
[ "Apache-2.0" ]
1
2021-04-01T20:56:50.000Z
2021-04-01T20:56:50.000Z
#%% """ - Wiggle Sort - https://leetcode.com/problems/wiggle-sort/ - Medium Given an unsorted array nums, reorder it in-place such that nums[0] <= nums[1] >= nums[2] <= nums[3].... Example: Input: nums = [3,5,2,1,6,4] Output: One possible answer is [3,5,1,6,2,4] """ #%% ##
19.916667
104
0.474198
20464f88e6c7527ff417743bfb8b19c2d606f75a
1,017
py
Python
setup.py
kaste/pytest-mockito
f20cae8f592cf83682f6027c7aafafc829c13785
[ "MIT" ]
13
2017-03-21T01:16:48.000Z
2021-06-10T21:18:23.000Z
setup.py
kaste/pytest-mockito
f20cae8f592cf83682f6027c7aafafc829c13785
[ "MIT" ]
1
2017-09-25T01:06:10.000Z
2018-07-11T17:20:13.000Z
setup.py
kaste/pytest-mockito
f20cae8f592cf83682f6027c7aafafc829c13785
[ "MIT" ]
null
null
null
from setuptools import setup setup( name="pytest-mockito", version='0.0.4', description='Base fixtures for mockito', long_description=open('README.rst').read(), license='MIT', author='herr kaste', author_email='herr.kaste@gmail.com', url='https://github.com/kaste/pytest-mockito', pl...
33.9
69
0.612586
2046a9865a03989fbda1a01607042dce01486fd9
4,843
py
Python
code/old/pyTorch_baxter_feed_forward_simple2.py
NLesniak/DeepLearning
c1e18a5c0fdab9c6bf4412c142c7db9c15baeef3
[ "MIT" ]
11
2020-06-05T15:38:21.000Z
2021-08-31T21:33:11.000Z
code/old/pyTorch_baxter_feed_forward_simple2.py
NLesniak/DeepLearning
c1e18a5c0fdab9c6bf4412c142c7db9c15baeef3
[ "MIT" ]
7
2019-10-23T15:30:51.000Z
2019-12-09T22:49:42.000Z
code/old/pyTorch_baxter_feed_forward_simple2.py
NLesniak/DeepLearning
c1e18a5c0fdab9c6bf4412c142c7db9c15baeef3
[ "MIT" ]
10
2020-06-18T05:43:37.000Z
2021-10-31T14:30:24.000Z
## Add modules that are necessary import numpy as np # linear algebra import pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv) from sympy import * import matplotlib.pyplot as plt import operator from IPython.core.display import display import torch from torch.autograd import Variable import torch.utils.da...
32.072848
92
0.694817
2046beee5b0531f6aba2f13452eaf086c8cff9b9
890
py
Python
tests/layout/test_waveguide.py
joamatab/zeropdk
feed134fc3243655f93cfd5b3bd5b65ea928bf48
[ "MIT" ]
17
2019-08-22T15:55:50.000Z
2022-02-02T20:52:00.000Z
tests/layout/test_waveguide.py
joamatab/zeropdk
feed134fc3243655f93cfd5b3bd5b65ea928bf48
[ "MIT" ]
1
2020-09-29T00:43:38.000Z
2020-10-27T07:15:01.000Z
tests/layout/test_waveguide.py
joamatab/zeropdk
feed134fc3243655f93cfd5b3bd5b65ea928bf48
[ "MIT" ]
3
2019-09-04T07:48:35.000Z
2021-06-16T09:39:42.000Z
import numpy as np import pytest from ..context import zeropdk # noqa from zeropdk.layout.waveguides import waveguide_dpolygon from zeropdk.layout import insert_shape import klayout.db as kdb
23.421053
65
0.65618
2047aaf1773627781dbbff3024237cc94ffa4aba
1,258
py
Python
spottelbot/botexceptions.py
mnowiasz/spottelbot
72ad0692edf5f244b7cb16171248d266ed82ce94
[ "MIT" ]
null
null
null
spottelbot/botexceptions.py
mnowiasz/spottelbot
72ad0692edf5f244b7cb16171248d266ed82ce94
[ "MIT" ]
null
null
null
spottelbot/botexceptions.py
mnowiasz/spottelbot
72ad0692edf5f244b7cb16171248d266ed82ce94
[ "MIT" ]
null
null
null
"""Custom exception where the builin exceptions won't suffice""" # Invalid user in the configfile (non-numeric UserID with no "@") # No Token or empty token defined # No users (or empty users). # No username (or empty username) for spotify # A section is missing # Invalid Bookmarks (more than one or two en...
22.070175
65
0.72814
2048324c1071d236d03d6f7a8c261d1007dcdeaf
9,072
py
Python
bin/Utils/CraftCache.py
C-EO/craft
a52ead76ce400cc745876bd679eba6f62da70ee5
[ "BSD-2-Clause" ]
55
2016-11-20T17:08:19.000Z
2022-03-11T22:19:43.000Z
bin/Utils/CraftCache.py
C-EO/craft
a52ead76ce400cc745876bd679eba6f62da70ee5
[ "BSD-2-Clause" ]
17
2017-09-20T07:52:17.000Z
2021-12-03T10:03:00.000Z
bin/Utils/CraftCache.py
C-EO/craft
a52ead76ce400cc745876bd679eba6f62da70ee5
[ "BSD-2-Clause" ]
29
2016-12-10T15:00:11.000Z
2021-12-02T12:54:05.000Z
import atexit import json import os import pickle import re import shutil import subprocess import tempfile import time import urllib.error import urllib.request import sys from pathlib import Path from CraftCore import CraftCore, AutoImport from Blueprints.CraftVersion import CraftVersion from CraftOS.osutils import...
40.681614
128
0.585097
204957f54dcadffc5466310b4e613d1c9d0522f8
141
py
Python
db/mongodb/next.py
kosyachniy/dev
39bb5c5ee10780bfcd8a59cf59cfb1a348ac52a4
[ "Apache-2.0" ]
13
2018-12-17T23:30:54.000Z
2021-12-29T14:31:43.000Z
db/mongodb/next.py
kosyachniy/dev
39bb5c5ee10780bfcd8a59cf59cfb1a348ac52a4
[ "Apache-2.0" ]
36
2018-06-07T21:34:13.000Z
2022-03-13T21:01:43.000Z
db/mongodb/next.py
kosyachniy/dev
39bb5c5ee10780bfcd8a59cf59cfb1a348ac52a4
[ "Apache-2.0" ]
2
2021-01-03T11:47:20.000Z
2021-12-29T14:31:49.000Z
from func.db_mongo import * # try: id = db['test'].find().sort('id', -1)[0]['id'] + 1 except: id = 1 print(id)
15.666667
51
0.624113
2049fcc66cf6a0685dbf23f42665dec25297f7e3
3,213
py
Python
dojos/design/5_naming.py
aurzenligl/tdd_training
7a83ed77181297fcb45712c7998af972032794c5
[ "MIT" ]
null
null
null
dojos/design/5_naming.py
aurzenligl/tdd_training
7a83ed77181297fcb45712c7998af972032794c5
[ "MIT" ]
12
2017-11-27T21:57:25.000Z
2017-11-27T22:01:58.000Z
dojos/design/5_naming.py
aurzenligl/tdd_training
7a83ed77181297fcb45712c7998af972032794c5
[ "MIT" ]
null
null
null
urlString = 'https://google.com' pathUsedWhenPathStringAndDefaultPathStringAndDefault2PathStringIsNotFound = 'nevermind' logPathString = "/tmp/log.txt"; logsPathString = "logs/subdir/output"; b_fileRead = True work = 0 jump = 2 parse = 42 flower = True termination = False findPath = 'foobarbaz' map = Map() open ...
25.101563
98
0.71024
204ac12bfcc8a62a1ffcd3cacb0f4f80cf9ae16d
6,260
py
Python
web3/settings/__init__.py
anonymoose2/director
c73c0e106372031ffe84bf044d8a88137518635c
[ "MIT" ]
10
2017-03-20T14:40:56.000Z
2020-04-07T17:03:42.000Z
web3/settings/__init__.py
anonymoose2/director
c73c0e106372031ffe84bf044d8a88137518635c
[ "MIT" ]
50
2017-05-23T01:26:26.000Z
2020-06-05T17:13:25.000Z
web3/settings/__init__.py
anonymoose2/director
c73c0e106372031ffe84bf044d8a88137518635c
[ "MIT" ]
9
2017-03-18T01:23:38.000Z
2020-08-17T20:50:07.000Z
""" Django settings for web3 project. Generated by 'django-admin startproject' using Django 1.10.1. For more information on this file, see https://docs.djangoproject.com/en/1.10/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.10/ref/settings/ """ import os ...
27.099567
94
0.70607
204c706394af50cdc13dca585672f3febe695893
8,425
py
Python
prune/visualize.py
PaulLerner/Plumcot
7e5a6fed1bc3d099a0644f8baba77304b952ca57
[ "MIT" ]
1
2021-06-18T13:42:20.000Z
2021-06-18T13:42:20.000Z
prune/visualize.py
PaulLerner/Plumcot
7e5a6fed1bc3d099a0644f8baba77304b952ca57
[ "MIT" ]
2
2020-09-01T09:45:17.000Z
2020-09-22T14:32:01.000Z
prune/visualize.py
PaulLerner/Prune
7e5a6fed1bc3d099a0644f8baba77304b952ca57
[ "MIT" ]
null
null
null
#!/usr/bin/env python # encoding: utf-8 """Usage: visualize.py gecko (<hypotheses_path>|<database.task.protocol>) <uri> [--map --tag_na --database.task.protocol=<database.task.protocol> --embeddings=<embeddings>] visualize.py speakers (<hypotheses_path>|<database.task.protocol>) <uri> visualize.py update_distanc...
36.158798
165
0.651395
204d1e3c250e8ba9939e2ae7da3513ab0b097992
16,003
py
Python
hopper_controller/src/ros_abstraction/leg_controller.py
CreedyNZ/Hopper_ROS
1e6354109f034a7d1d41a5b39ddcb632cfee64b2
[ "MIT" ]
36
2018-12-19T18:03:08.000Z
2022-02-21T16:20:12.000Z
hopper_controller/src/ros_abstraction/leg_controller.py
CreedyNZ/Hopper_ROS
1e6354109f034a7d1d41a5b39ddcb632cfee64b2
[ "MIT" ]
null
null
null
hopper_controller/src/ros_abstraction/leg_controller.py
CreedyNZ/Hopper_ROS
1e6354109f034a7d1d41a5b39ddcb632cfee64b2
[ "MIT" ]
7
2019-08-11T20:31:27.000Z
2021-09-19T04:34:18.000Z
from __future__ import division import rospy import tf2_ros from threading import Event from Queue import Queue, Empty from hopper_controller.srv import MoveLegsToPosition, MoveCoreToPosition, MoveLegsUntilCollision, MoveLegsToRelativePosition, MoveBodyRelative, ReadCurrentLegPositions, ReadCurrentLegPositionsRespons...
57.981884
200
0.727551
204fbf91dd0345c4f0a3d33b337de07d901d56be
1,004
py
Python
featureExtractor/graph_features.py
MatrixBlake/AuthorProfilingAbuseDetection
0abd109a23a52cfe4b8cfc65aac08eb9762705f6
[ "MIT" ]
10
2018-06-11T05:57:39.000Z
2021-10-04T15:11:25.000Z
featureExtractor/graph_features.py
MatrixBlake/AuthorProfilingAbuseDetection
0abd109a23a52cfe4b8cfc65aac08eb9762705f6
[ "MIT" ]
1
2020-12-06T13:05:35.000Z
2021-02-10T08:01:13.000Z
featureExtractor/graph_features.py
MatrixBlake/AuthorProfilingAbuseDetection
0abd109a23a52cfe4b8cfc65aac08eb9762705f6
[ "MIT" ]
7
2019-05-22T04:09:55.000Z
2021-10-30T11:50:37.000Z
import numpy import os
31.375
82
0.581673
2050c46574beaa8d6730b8207eba67b732239e3d
4,314
py
Python
oase-root/libs/backyardlibs/monitoring_adapter/Grafana/Grafana_formatting.py
Masa-Yasuno/oase
90f3cee73c0d9b3153808a4a72bd19984a4873f9
[ "Apache-2.0" ]
9
2020-03-25T07:51:47.000Z
2022-02-07T00:07:28.000Z
oase-root/libs/backyardlibs/monitoring_adapter/Grafana/Grafana_formatting.py
Masa-Yasuno/oase
90f3cee73c0d9b3153808a4a72bd19984a4873f9
[ "Apache-2.0" ]
1,164
2021-01-28T23:16:11.000Z
2022-03-28T07:23:10.000Z
oase-root/libs/backyardlibs/monitoring_adapter/Grafana/Grafana_formatting.py
Masa-Yasuno/oase
90f3cee73c0d9b3153808a4a72bd19984a4873f9
[ "Apache-2.0" ]
25
2020-03-17T06:48:30.000Z
2022-02-15T15:13:44.000Z
# Copyright 2019 NEC Corporation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in wri...
28.95302
157
0.607557