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
bfc67912cacb053d18b81a8c4ccd2fa05884f9dd
8,528
py
Python
wifi12306.py
Arnie97/emu-screenshot-server
a50526c0d852cd61050ba2926d43c84241d57afb
[ "MIT" ]
42
2018-01-16T10:48:58.000Z
2020-08-28T07:34:56.000Z
wifi12306.py
Arnie97/emu-screenshot
a50526c0d852cd61050ba2926d43c84241d57afb
[ "MIT" ]
1
2018-11-12T06:20:50.000Z
2018-11-12T06:45:30.000Z
wifi12306.py
Arnie97/emu-screenshot
a50526c0d852cd61050ba2926d43c84241d57afb
[ "MIT" ]
4
2018-06-09T02:29:45.000Z
2020-08-07T11:47:52.000Z
#!/usr/bin/env python3 from datetime import date from itertools import chain from operator import itemgetter from os.path import commonprefix from tickets import API from typing import Any, Iterable, Dict, List, Optional, Tuple from util import repl, AttrDict COMMENT_MAPPING = { 'A': "", 'B': "", 'C': ""...
33.443137
198
0.577744
bfc69200893675851efff0c9ed38ba8da908af17
1,648
py
Python
tests/components/coronavirus/test_config_flow.py
basicpail/core
5cc54618c5af3f75c08314bf2375cc7ac40d2b7e
[ "Apache-2.0" ]
11
2018-02-16T15:35:47.000Z
2020-01-14T15:20:00.000Z
tests/components/coronavirus/test_config_flow.py
jagadeeshvenkatesh/core
1bd982668449815fee2105478569f8e4b5670add
[ "Apache-2.0" ]
79
2020-07-23T07:13:37.000Z
2022-03-22T06:02:37.000Z
tests/components/coronavirus/test_config_flow.py
jagadeeshvenkatesh/core
1bd982668449815fee2105478569f8e4b5670add
[ "Apache-2.0" ]
11
2020-12-16T13:48:14.000Z
2022-02-01T00:28:05.000Z
"""Test the Coronavirus config flow.""" from unittest.mock import MagicMock, patch from aiohttp import ClientError from homeassistant import config_entries, setup from homeassistant.components.coronavirus.const import DOMAIN, OPTION_WORLDWIDE from homeassistant.core import HomeAssistant
32.313725
79
0.703277
bfc8836265bf50d2912b69d0feaa958739783ce7
64,150
py
Python
src/view/perspective.py
struts2spring/sql-editor
082868dd92cbd8f0f6715f734f9ebe64032cbe4a
[ "MIT" ]
9
2018-10-15T04:57:37.000Z
2021-12-07T07:39:35.000Z
src/view/perspective.py
struts2spring/sql-editor
082868dd92cbd8f0f6715f734f9ebe64032cbe4a
[ "MIT" ]
13
2018-10-19T11:52:44.000Z
2021-09-08T00:39:30.000Z
src/view/perspective.py
struts2spring/sql-editor
082868dd92cbd8f0f6715f734f9ebe64032cbe4a
[ "MIT" ]
3
2018-10-25T11:08:04.000Z
2021-02-23T08:28:31.000Z
import logging.config import wx from src.sqlite_executer.ConnectExecuteSqlite import SQLExecuter from src.view.AutoCompleteTextCtrl import TextCtrlAutoComplete # from src.view.TreePanel import CreatingTreePanel from src.view.constants import * from wx.lib.agw.aui.aui_constants import actionDragFloatingPane, A...
47.589021
237
0.595479
bfc92f5dcf23f382d12d6bd9cbb5c26b13f0c728
268
py
Python
PythonBehave/features/environment.py
adamd1985/BDDArticle
be1f7fd67d8e195c31864622966ee88d3a2e257a
[ "Apache-2.0" ]
null
null
null
PythonBehave/features/environment.py
adamd1985/BDDArticle
be1f7fd67d8e195c31864622966ee88d3a2e257a
[ "Apache-2.0" ]
null
null
null
PythonBehave/features/environment.py
adamd1985/BDDArticle
be1f7fd67d8e195c31864622966ee88d3a2e257a
[ "Apache-2.0" ]
null
null
null
from flaskr import app
20.615385
44
0.716418
bfc96dc65fba4dfeccca21923ae5c19d56187622
1,042
py
Python
pyscripts/truncate_lines.py
joseph62/Scripts
13aab2a51957894f4d524b7a868cb7e51dbba980
[ "MIT" ]
null
null
null
pyscripts/truncate_lines.py
joseph62/Scripts
13aab2a51957894f4d524b7a868cb7e51dbba980
[ "MIT" ]
null
null
null
pyscripts/truncate_lines.py
joseph62/Scripts
13aab2a51957894f4d524b7a868cb7e51dbba980
[ "MIT" ]
null
null
null
#! /usr/bin/env python3 import sys import argparse import signal DEFAULT_LINE_LENGTH = 80 if __name__ == "__main__": signal.signal(signal.SIGPIPE, signal.SIG_DFL) sys.exit(main(sys.argv[1:]))
22.652174
90
0.642035
bfcb37f297e73011c6f83e4feb6d86e5b96b07bc
30,944
py
Python
mpisppy/opt/lshaped.py
Matthew-Signorotti/mpi-sppy
5c6b4b8cd26af517ff09706d11751f2fb05b1b5f
[ "BSD-3-Clause" ]
null
null
null
mpisppy/opt/lshaped.py
Matthew-Signorotti/mpi-sppy
5c6b4b8cd26af517ff09706d11751f2fb05b1b5f
[ "BSD-3-Clause" ]
null
null
null
mpisppy/opt/lshaped.py
Matthew-Signorotti/mpi-sppy
5c6b4b8cd26af517ff09706d11751f2fb05b1b5f
[ "BSD-3-Clause" ]
null
null
null
# Copyright 2020 by B. Knueven, D. Mildebrath, C. Muir, J-P Watson, and D.L. Woodruff # This software is distributed under the 3-clause BSD License. import pyomo.environ as pyo import mpisppy.utils.sputils as sputils import numpy as np import itertools import time import sys import mpisppy.spbase as spbase from mpispp...
39.824968
152
0.607226
bfcbc5d0c314cd0ac9510073757086968e66ea31
4,812
py
Python
Features/NucleotideContent.py
jcg/d-tailor
7ea83bcf7a2cda21eb8727575ff2b20ac8b49606
[ "BSD-2-Clause" ]
14
2016-05-19T08:31:44.000Z
2021-08-05T08:56:56.000Z
Features/NucleotideContent.py
jcg/d-tailor
7ea83bcf7a2cda21eb8727575ff2b20ac8b49606
[ "BSD-2-Clause" ]
1
2018-09-25T12:00:23.000Z
2018-12-10T18:42:31.000Z
Features/NucleotideContent.py
jcg/d-tailor
7ea83bcf7a2cda21eb8727575ff2b20ac8b49606
[ "BSD-2-Clause" ]
4
2016-06-23T21:40:49.000Z
2021-02-02T03:05:35.000Z
''' Created on Nov 16, 2011 @author: jcg ''' from Features.Feature import Feature import Functions from uuid import uuid4 import Solution
43.745455
206
0.625104
bfcc3bf3ce4a6a7791d6831071ec72ca44993852
25
py
Python
python/testData/intentions/PyConvertTypeCommentToVariableAnnotationIntentionTest/simpleAssignment.py
jnthn/intellij-community
8fa7c8a3ace62400c838e0d5926a7be106aa8557
[ "Apache-2.0" ]
2
2019-04-28T07:48:50.000Z
2020-12-11T14:18:08.000Z
python/testData/intentions/PyConvertTypeCommentToVariableAnnotationIntentionTest/simpleAssignment.py
jnthn/intellij-community
8fa7c8a3ace62400c838e0d5926a7be106aa8557
[ "Apache-2.0" ]
173
2018-07-05T13:59:39.000Z
2018-08-09T01:12:03.000Z
python/testData/intentions/PyConvertTypeCommentToVariableAnnotationIntentionTest/simpleAssignment.py
jnthn/intellij-community
8fa7c8a3ace62400c838e0d5926a7be106aa8557
[ "Apache-2.0" ]
2
2020-03-15T08:57:37.000Z
2020-04-07T04:48:14.000Z
x = 42 # ty<caret>pe: int
25
25
0.6
bfcdbaafa9988638af7ac347c436a853bc52d3ed
6,090
py
Python
python/etl/tests/spark/app/test_smartstore_src_to_log0.py
beobest2/delta
0107d5322492c420a044fa41d90be03375606bea
[ "Apache-2.0" ]
1
2021-12-01T00:35:13.000Z
2021-12-01T00:35:13.000Z
python/etl/tests/spark/app/test_smartstore_src_to_log0.py
beobest2/delta
0107d5322492c420a044fa41d90be03375606bea
[ "Apache-2.0" ]
null
null
null
python/etl/tests/spark/app/test_smartstore_src_to_log0.py
beobest2/delta
0107d5322492c420a044fa41d90be03375606bea
[ "Apache-2.0" ]
null
null
null
from argparse import Namespace import pytest from laplace_spark.app.smartstore_src_to_log0 import SparkAppSmartstoreSrcToLog0 from laplace_spark.constants import DATE_ID_COLUMN_NAME from laplace_spark.modules.provider import Provider from laplace_spark.modules.utils.laplace_utils import LaplaceUtils from tests.utils i...
29.563107
98
0.691297
bfd00740f86fba0d1df5af433b0fc3f4e9436cc0
3,962
py
Python
lambda/ec2-event-processor/handler.py
mattmcclean/mlops-ray-cdk
202e127a11ac84749ec45b4d345e2557bf3e8121
[ "Apache-2.0" ]
null
null
null
lambda/ec2-event-processor/handler.py
mattmcclean/mlops-ray-cdk
202e127a11ac84749ec45b4d345e2557bf3e8121
[ "Apache-2.0" ]
null
null
null
lambda/ec2-event-processor/handler.py
mattmcclean/mlops-ray-cdk
202e127a11ac84749ec45b4d345e2557bf3e8121
[ "Apache-2.0" ]
null
null
null
import os import json import boto3 # create the boto3 clients ec2 = boto3.client('ec2') elbv2 = boto3.client('elbv2') # Get the ALB Target Group ARNs MLFLOW_TARGET_GROUP_ARN=os.getenv('MLFLOW_TARGET_GROUP_ARN') TENSORBOARD_TARGET_GROUP_ARN=os.getenv('TENSORBOARD_TARGET_GROUP_ARN') RAY_DASHBOARD_TARGET_GROUP_ARN=os.g...
37.377358
115
0.692075
bfd04b70e5cd39ca29b574b5353e8f0319f41223
2,325
py
Python
app.py
laurohen/api-flask-mysql
3660d8828203476ea87b2580ed4b0508c0ea3af6
[ "MIT" ]
null
null
null
app.py
laurohen/api-flask-mysql
3660d8828203476ea87b2580ed4b0508c0ea3af6
[ "MIT" ]
null
null
null
app.py
laurohen/api-flask-mysql
3660d8828203476ea87b2580ed4b0508c0ea3af6
[ "MIT" ]
null
null
null
from flask import Flask, request, jsonify, make_response from flask_sqlalchemy import SQLAlchemy from marshmallow import fields from marshmallow_sqlalchemy import ModelSchema app = Flask(__name__) app.config['SQLALCHEMY_DATABASE_URI'] = 'mysql+pymysql://username:password@host:port/database-name' db = SQLAlchemy(app) ...
26.420455
99
0.67828
bfd196b146e9b5ea426e42cd1a578fe228ee3eac
647
py
Python
inspector/checks/constants.py
yoyowallet/inspector
a6ee3328a4dcf49b0e5b62d23195ed44f515a705
[ "Apache-2.0" ]
7
2019-03-03T14:47:47.000Z
2020-10-31T00:26:52.000Z
inspector/checks/constants.py
yoyowallet/inspector
a6ee3328a4dcf49b0e5b62d23195ed44f515a705
[ "Apache-2.0" ]
2
2019-03-06T19:35:41.000Z
2020-11-04T11:57:18.000Z
inspector/checks/constants.py
yoyowallet/inspector
a6ee3328a4dcf49b0e5b62d23195ed44f515a705
[ "Apache-2.0" ]
3
2019-03-03T16:29:44.000Z
2020-10-31T00:47:01.000Z
from model_utils import Choices RELATIONS = Choices( (0, 'eq', '='), (1, 'ne', '!='), (2, 'gt', '>'), (3, 'lt', '<'), (4, 'ge', '>='), (5, 'le', '<='), ) STATUSES = Choices( ('NEW', 'New'), ('RUNNING', 'Running'), ('FINISHED', 'Finished'), ('ERROR', 'Error') ) RESULTS = Choice...
19.029412
50
0.479134
bfd4a079399c71c1620bc498d4b73a09c55a55ad
661
bzl
Python
versions.bzl
spiralgenetics/biograph
33c78278ce673e885f38435384f9578bfbf9cdb8
[ "BSD-2-Clause" ]
16
2021-07-14T23:32:31.000Z
2022-03-24T16:25:15.000Z
versions.bzl
spiralgenetics/biograph
33c78278ce673e885f38435384f9578bfbf9cdb8
[ "BSD-2-Clause" ]
9
2021-07-20T20:39:47.000Z
2021-09-16T20:57:59.000Z
versions.bzl
spiralgenetics/biograph
33c78278ce673e885f38435384f9578bfbf9cdb8
[ "BSD-2-Clause" ]
9
2021-07-15T19:38:35.000Z
2022-01-31T19:24:56.000Z
# Product versions live here (and only here). They should be bumped at every # release. # # NOTE: This is parsable by both bazel and sh. Do not add arbitrary # text here. # # Versions *must* adhere to semantic versioning rules. See http://semver.org/ # # Don't forget to also update relevant docs and README.txt files. ...
30.045455
77
0.750378
bfd4b07cf0067ae5efca658be3f46767e83ea056
523
py
Python
35. searchInsertPosition.py
izan-majeed/leetcode
b7fbc734771f94522498d833f72443d07c4e7ed1
[ "Apache-2.0" ]
1
2021-06-20T09:59:59.000Z
2021-06-20T09:59:59.000Z
35. searchInsertPosition.py
izan-majeed/leetcode
b7fbc734771f94522498d833f72443d07c4e7ed1
[ "Apache-2.0" ]
null
null
null
35. searchInsertPosition.py
izan-majeed/leetcode
b7fbc734771f94522498d833f72443d07c4e7ed1
[ "Apache-2.0" ]
null
null
null
from typing import List
23.772727
61
0.418738
bfd7afdce647ef41b496ff6aa9e1fd9678d81b54
542
py
Python
Lesson 02.gf/intermediate_expressions.py
gfoo003/programming-together
225e0a2255dd8da1f1ef32d2a88deea27c050f10
[ "MIT" ]
null
null
null
Lesson 02.gf/intermediate_expressions.py
gfoo003/programming-together
225e0a2255dd8da1f1ef32d2a88deea27c050f10
[ "MIT" ]
null
null
null
Lesson 02.gf/intermediate_expressions.py
gfoo003/programming-together
225e0a2255dd8da1f1ef32d2a88deea27c050f10
[ "MIT" ]
null
null
null
name=input("hi, what's your name?") age=input("how old are you?") print("your name is ", name, "and you are ", age ) # int(x) = change string to integer # str(x)= change integer to string # to check type, print(type"x") # you can only print "results" of the same type, unless doing string interpolation. # difference b...
30.111111
103
0.726937
bfd85a1488c8ca4d9abcbfd556e3a3f3dfa1b395
1,877
py
Python
trainNaiveBayes.py
tianxiangchen2015/bayes-Apache-spark-reuters
705a05a1d8dddef27c4bdd68c08174996822ca3a
[ "Apache-2.0" ]
null
null
null
trainNaiveBayes.py
tianxiangchen2015/bayes-Apache-spark-reuters
705a05a1d8dddef27c4bdd68c08174996822ca3a
[ "Apache-2.0" ]
null
null
null
trainNaiveBayes.py
tianxiangchen2015/bayes-Apache-spark-reuters
705a05a1d8dddef27c4bdd68c08174996822ca3a
[ "Apache-2.0" ]
null
null
null
from pyspark.mllib.feature import HashingTF, IDF from pyspark.mllib.regression import LabeledPoint from pyspark.mllib.classification import NaiveBayes import os.path os.environ["SPARK_HOME"] = "/usr/local/spark" os.environ["PYSPARK_PYTHON"]="/System/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7" from p...
34.127273
101
0.726692
bfd93482b38e9761ce0b5a5309864c90fa7acac9
7,298
py
Python
tests/filesystems/test_s3.py
altescy/minato
bcb198a3f65192367df71a6c3a3324a6b2285785
[ "MIT" ]
8
2021-05-16T00:50:01.000Z
2022-02-09T11:15:56.000Z
tests/filesystems/test_s3.py
altescy/minato
bcb198a3f65192367df71a6c3a3324a6b2285785
[ "MIT" ]
null
null
null
tests/filesystems/test_s3.py
altescy/minato
bcb198a3f65192367df71a6c3a3324a6b2285785
[ "MIT" ]
1
2021-06-20T07:22:53.000Z
2021-06-20T07:22:53.000Z
import tempfile from pathlib import Path import boto3 from moto import mock_s3 from minato.filesystems import S3FileSystem
27.231343
85
0.643327
449bbabb756ac92734377e46afd4f7a309af927c
12,269
py
Python
app/school/tests/test_moderation_api.py
bondeveloper/maischool
16bf2afe99d26caa067b7912e88839639cf2191e
[ "MIT" ]
null
null
null
app/school/tests/test_moderation_api.py
bondeveloper/maischool
16bf2afe99d26caa067b7912e88839639cf2191e
[ "MIT" ]
null
null
null
app/school/tests/test_moderation_api.py
bondeveloper/maischool
16bf2afe99d26caa067b7912e88839639cf2191e
[ "MIT" ]
null
null
null
from django.test import TestCase from django.urls import reverse from django.utils import timezone from django.contrib.auth import get_user_model from rest_framework.test import APIClient from rest_framework import status from core.models import Category, School, Session, Subject, Level, Lesson, \ ...
28.532558
76
0.5108
449c986b0e31e6560fc043808de0556dfd190e0f
169
py
Python
packages/server/invites/src/domain/controller/__init__.py
gbartoczevicz/moosic
003ff5cff628505093cc08ad0fbd273272172a51
[ "MIT" ]
3
2021-09-30T00:41:31.000Z
2022-03-15T00:14:23.000Z
packages/server/invites/src/domain/controller/__init__.py
gbartoczevicz/moosic
003ff5cff628505093cc08ad0fbd273272172a51
[ "MIT" ]
13
2021-09-20T22:29:52.000Z
2021-12-05T01:59:34.000Z
packages/server/invites/src/domain/controller/__init__.py
gabrielbartoczevicz/moosic
003ff5cff628505093cc08ad0fbd273272172a51
[ "MIT" ]
1
2021-11-10T22:11:55.000Z
2021-11-10T22:11:55.000Z
from .create_invite import CreateInviteController from ..usecases import create_invite_usecase create_invite_controller = CreateInviteController(create_invite_usecase)
33.8
72
0.893491
449d14cc3d79279400a714ef3f44c1383e23b569
2,937
py
Python
main.py
danialre/ise_ipsk
a11929c19a7fcff7311cea2f457a6eac1823d77b
[ "Apache-2.0" ]
null
null
null
main.py
danialre/ise_ipsk
a11929c19a7fcff7311cea2f457a6eac1823d77b
[ "Apache-2.0" ]
null
null
null
main.py
danialre/ise_ipsk
a11929c19a7fcff7311cea2f457a6eac1823d77b
[ "Apache-2.0" ]
null
null
null
import traceback, logging, signal, time, ssl from functools import partial from tornado import httpserver, ioloop, log from tornado.web import Application import settings, isetools, isehandlers, ruckushandlers PORT = 2443 def create_server(serverlist, username, password, emailer=None, certfile=None, keyfile=...
40.232877
90
0.706844
449e221a47922edae38daf290f2bdc462fa87ed3
446
py
Python
dueros/directive/Pay/Buy.py
Mryan2005/bot-sdk-python
f961aedf141e966badd5cd577ad8913dd9733998
[ "Apache-2.0" ]
70
2018-01-04T06:47:58.000Z
2021-07-28T03:08:48.000Z
dueros/directive/Pay/Buy.py
mlzboy/bot-sdk-python
664c90ec6d0abbb0844c030cd3114693a96b12ab
[ "Apache-2.0" ]
16
2018-01-02T15:25:23.000Z
2020-03-14T07:25:44.000Z
dueros/directive/Pay/Buy.py
mlzboy/bot-sdk-python
664c90ec6d0abbb0844c030cd3114693a96b12ab
[ "Apache-2.0" ]
32
2018-01-09T10:19:46.000Z
2021-05-06T08:35:52.000Z
#!/usr/bin/env python3 # -*- encoding=utf-8 -*- # description: # author:jack # create_time: 2019-07-04 from dueros.directive.BaseDirective import BaseDirective
21.238095
64
0.639013
44a08928a2a3e4699cdfa43b536f8936d6d36c31
6,064
py
Python
deployer/loggers/__init__.py
timgates42/python-deployer
04c67c887357c202e315412473ee3541b4675f02
[ "BSD-2-Clause-FreeBSD" ]
39
2015-01-06T23:56:56.000Z
2021-12-15T09:43:35.000Z
deployer/loggers/__init__.py
timgates42/python-deployer
04c67c887357c202e315412473ee3541b4675f02
[ "BSD-2-Clause-FreeBSD" ]
1
2017-02-11T21:12:41.000Z
2017-02-11T21:12:41.000Z
deployer/loggers/__init__.py
timgates42/python-deployer
04c67c887357c202e315412473ee3541b4675f02
[ "BSD-2-Clause-FreeBSD" ]
14
2015-03-14T17:52:18.000Z
2021-11-25T18:23:38.000Z
__all__ = ('Actions', 'LoggerInterface', 'RunCallback', 'FileCallback', 'Logger', 'DummyLoggerInterface') # # Interface: group of loggers which can attach multiple loggers. # def log_file(self, host, **kwargs): """ Log a get/put/open actions on remote files. """ return File(ho...
25.91453
123
0.540897
44a13e0681ea8a22398ff1905b2af689bf8ea5fe
477
py
Python
Deep-Hash-learning-for-Remote-Sensing-Image-Retrieval/utils/generateUniformData.py
LiuChaoXD/Remote-Sensing-Image-Retrieval-Models
c135562263102080716e35260f111dcff7762264
[ "MIT" ]
4
2021-01-30T15:45:43.000Z
2021-12-19T03:41:57.000Z
Deep-Hash-learning-for-Remote-Sensing-Image-Retrieval/utils/generateUniformData.py
LiuChaoXD/Remote-Sensing-Image-Retrieval-Models
c135562263102080716e35260f111dcff7762264
[ "MIT" ]
null
null
null
Deep-Hash-learning-for-Remote-Sensing-Image-Retrieval/utils/generateUniformData.py
LiuChaoXD/Remote-Sensing-Image-Retrieval-Models
c135562263102080716e35260f111dcff7762264
[ "MIT" ]
1
2020-12-21T14:23:36.000Z
2020-12-21T14:23:36.000Z
import numpy as np
28.058824
49
0.563941
44a242250b25eed8bf545b060d0762a2f0751de5
2,949
py
Python
etc/pip_install/setup.py
hmost1/incubator-toree
f58a86f2a9466c122d52ed5abd8122c8ce40b2c5
[ "Apache-2.0" ]
31
2017-03-02T09:00:22.000Z
2021-03-27T12:14:46.000Z
etc/pip_install/setup.py
hmost1/incubator-toree
f58a86f2a9466c122d52ed5abd8122c8ce40b2c5
[ "Apache-2.0" ]
3
2016-11-03T16:05:08.000Z
2020-02-20T07:12:50.000Z
etc/pip_install/setup.py
hmost1/incubator-toree
f58a86f2a9466c122d52ed5abd8122c8ce40b2c5
[ "Apache-2.0" ]
8
2016-09-27T12:58:48.000Z
2020-12-01T11:35:48.000Z
# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may not us...
36.407407
102
0.707358
44a2791177029781912dd84d5fb81d78441a1833
1,488
py
Python
server-python3/test/test.py
Aaron-Ming/websocket_terminal
42c24391d51c275eabf1f879fb312b9a3614f51e
[ "MIT" ]
40
2016-11-20T09:48:27.000Z
2021-04-02T00:29:14.000Z
server-python3/test/test.py
Aaron-Ming/websocket_terminal
42c24391d51c275eabf1f879fb312b9a3614f51e
[ "MIT" ]
6
2018-01-07T03:43:22.000Z
2022-03-21T08:43:33.000Z
server-python3/test/test.py
glensc/websocket_terminal
42c24391d51c275eabf1f879fb312b9a3614f51e
[ "MIT" ]
20
2016-12-02T06:00:27.000Z
2021-08-15T11:40:34.000Z
import threading import sys import subprocess import eventlet import eventlet.tpool import eventlet.green.subprocess from eventlet import green eventlet.monkey_patch() proc = green.subprocess.Popen("cmd", stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE, bufsize=0) thread1 = spawn(lambd...
22.208955
118
0.640457
44a509e87a818b2445cd5c73173ed6b47ce8470d
1,591
py
Python
climatecontrol/cli_utils.py
daviskirk/climatecontrol
f1fed474d649eaf4d75ed5b7cdda333faef4bbd7
[ "MIT" ]
19
2018-01-19T13:42:18.000Z
2022-02-27T22:20:39.000Z
climatecontrol/cli_utils.py
daviskirk/climatecontrol
f1fed474d649eaf4d75ed5b7cdda333faef4bbd7
[ "MIT" ]
27
2016-06-01T23:03:48.000Z
2022-02-27T22:24:36.000Z
climatecontrol/cli_utils.py
daviskirk/climatecontrol
f1fed474d649eaf4d75ed5b7cdda333faef4bbd7
[ "MIT" ]
2
2017-07-10T09:49:55.000Z
2018-01-10T12:38:34.000Z
"""CLI utils for easy command line extras.""" import click from climatecontrol import core def click_settings_file_option( settings_obj: core.Climate, click_obj=click, option_name="settings", **kw ): """Build a `click` option decorator. Args: settings_obj: settings object to load configuration ...
26.081967
81
0.63105
44a6f0369943db97ab0830abb53adb928e4a9136
356
py
Python
src/pyglottolog/admin_commands/evobib.py
SimonGreenhill/pyglottolog
1e0aa0cdc5ae35906c763f9219c6db9b976f8d38
[ "Apache-2.0" ]
7
2019-07-28T16:09:05.000Z
2021-09-12T20:21:55.000Z
src/pyglottolog/admin_commands/evobib.py
SimonGreenhill/pyglottolog
1e0aa0cdc5ae35906c763f9219c6db9b976f8d38
[ "Apache-2.0" ]
52
2019-06-18T05:16:38.000Z
2022-02-21T11:20:02.000Z
src/pyglottolog/admin_commands/evobib.py
SimonGreenhill/pyglottolog
1e0aa0cdc5ae35906c763f9219c6db9b976f8d38
[ "Apache-2.0" ]
6
2019-07-26T17:40:25.000Z
2021-12-08T00:59:38.000Z
""" """ from clldutils.clilib import PathType from pyglottolog.references import evobib
19.777778
72
0.676966
44a98b03850d9eb1474c0e0ef2e1403a15713bb9
1,198
py
Python
Chapter 3/latihan03.py
Gadeth/Basic-Python
470b6e1ccb1da6c0b17801970004bda38e462d19
[ "Apache-2.0" ]
null
null
null
Chapter 3/latihan03.py
Gadeth/Basic-Python
470b6e1ccb1da6c0b17801970004bda38e462d19
[ "Apache-2.0" ]
null
null
null
Chapter 3/latihan03.py
Gadeth/Basic-Python
470b6e1ccb1da6c0b17801970004bda38e462d19
[ "Apache-2.0" ]
null
null
null
# import library import datetime # input nama user nama = input("Hallo... nama saya Mr. Kompie, nama Anda siapa? ") # tampilkan nama user print("Oh.. nama Anda", nama, ", nama yang bagus sekali.") # kasih jeda 3 detik time.sleep(3) # input tahun lahir thnLahir = int(input("BTW... " + nama + "kamu lah...
23.96
70
0.643573
44aa0a66e785bf81c7382dde12bd47b1cd507bfb
155
py
Python
Baekjoon/Python/10814.py
KHJcode/Algorithm-study
fa08d3c752fcb3557fd45fb394157926afc0de4a
[ "MIT" ]
2
2020-05-23T01:55:38.000Z
2020-07-07T15:59:00.000Z
Baekjoon/Python/10814.py
KHJcode/Algorithm-study
fa08d3c752fcb3557fd45fb394157926afc0de4a
[ "MIT" ]
null
null
null
Baekjoon/Python/10814.py
KHJcode/Algorithm-study
fa08d3c752fcb3557fd45fb394157926afc0de4a
[ "MIT" ]
null
null
null
n = int(input()) person = [] for i in range(n): a,b = map(str, input().split()) person.append((int(a),i,b)) for i in sorted(person): print(i[0],i[2])
22.142857
42
0.580645
44aa2a1d82bec0cc44381f7808cea5fcad7ec790
2,888
py
Python
utils.py
andreloezer/zombie-dice
0a97f0d14a2c5ada480e416e4a3f3fc1f47f8c30
[ "MIT" ]
null
null
null
utils.py
andreloezer/zombie-dice
0a97f0d14a2c5ada480e416e4a3f3fc1f47f8c30
[ "MIT" ]
null
null
null
utils.py
andreloezer/zombie-dice
0a97f0d14a2c5ada480e416e4a3f3fc1f47f8c30
[ "MIT" ]
null
null
null
"""Miscellaneous functions goes in here. """ from os import system from config import OS from strings import UtilsStrings as Strings def clear_console() -> None: """Clear console terminal. """ command = "clear" if OS in ("nt", "dos"): command = "cls" system(command) def char_input() -...
27.245283
111
0.61115
44abe0da4aed5d12f6ff0fc73008b9641dec2d50
335
py
Python
sqltricks/__init__.py
jiyulongxu/sql-tricks
6eee96849ce09d46dd15ec0f48b6022bd5738fff
[ "Apache-2.0" ]
1
2022-02-21T03:09:26.000Z
2022-02-21T03:09:26.000Z
sqltricks/__init__.py
jiyulongxu/sql-tricks
6eee96849ce09d46dd15ec0f48b6022bd5738fff
[ "Apache-2.0" ]
null
null
null
sqltricks/__init__.py
jiyulongxu/sql-tricks
6eee96849ce09d46dd15ec0f48b6022bd5738fff
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- """ https://sqxccdy.github.io/odpc/sql_build_model.html """ from sqltricks.create import * from sqltricks.fields import * from sqltricks.insert import * from sqltricks.query import * from sqltricks.drop import * FORMAT = '%(asctime)-15s %(levelname)s::::%(message)s' logging.basicConfig(forma...
19.705882
54
0.725373
44ac65411f95028d1ff96429ecd33acb3965c521
1,348
py
Python
tests/test_analyser/test_sniffer_shpr.py
di-unipi-socc/micro-tosca
5d5c9361b34eeabaed8955ddc62282607672bd81
[ "MIT" ]
null
null
null
tests/test_analyser/test_sniffer_shpr.py
di-unipi-socc/micro-tosca
5d5c9361b34eeabaed8955ddc62282607672bd81
[ "MIT" ]
3
2019-10-02T13:55:39.000Z
2021-06-01T22:55:20.000Z
tests/test_analyser/test_sniffer_shpr.py
di-unipi-socc/microFreshener-core
5d5c9361b34eeabaed8955ddc62282607672bd81
[ "MIT" ]
null
null
null
from unittest import TestCase from microfreshener.core.importer import YMLImporter from microfreshener.core.analyser.sniffer import SharedPersistencySmellSniffer from microfreshener.core.analyser.smell import SharedPersistencySmell from microfreshener.core.model.groups import Edge
36.432432
78
0.714392
44acf77d849af78689caf76f78bd3a87709f0bd6
1,112
py
Python
problems/dfs/Solution417.py
akalu/cs-problems-python
9b1bd8e3932be62135a38a77f955ded9a766b654
[ "MIT" ]
null
null
null
problems/dfs/Solution417.py
akalu/cs-problems-python
9b1bd8e3932be62135a38a77f955ded9a766b654
[ "MIT" ]
null
null
null
problems/dfs/Solution417.py
akalu/cs-problems-python
9b1bd8e3932be62135a38a77f955ded9a766b654
[ "MIT" ]
null
null
null
""" Given an m x n matrix of non-negative integers representing the height of each unit cell in a continent, the "Pacific ocean" touches the left and top edges of the matrix and the "Atlantic ocean" touches the right and bottom edges. Water can only flow in four directions (up, down, left, or right) f...
30.888889
97
0.566547
44ad4566bf3e052d6f2cd5576c859905edc198bd
9,068
py
Python
geneal/applications/tsp/travelling_salesman_problem.py
NeveIsa/geneal
064b0409912088886bf56fe9a729d74dac92a235
[ "MIT" ]
47
2020-07-10T14:28:52.000Z
2022-03-25T17:20:52.000Z
geneal/applications/tsp/travelling_salesman_problem.py
NeveIsa/geneal
064b0409912088886bf56fe9a729d74dac92a235
[ "MIT" ]
10
2020-08-08T16:35:40.000Z
2022-03-08T00:07:19.000Z
geneal/applications/tsp/travelling_salesman_problem.py
NeveIsa/geneal
064b0409912088886bf56fe9a729d74dac92a235
[ "MIT" ]
14
2020-08-07T20:49:18.000Z
2022-03-31T17:55:47.000Z
import random import time from functools import reduce import hashlib from collections import defaultdict import numpy as np from numba import njit from numba.core import types from numba.typed import Dict from geneal.applications.tsp.mutation_strategies import MutationStrategies from geneal.genetic_algorithms import...
31.929577
104
0.638619
44ae9d732979b2682fbbac20b12b7e914fab8154
388
py
Python
src/377. Combination Sum IV.py
xiaonanln/myleetcode-python
95d282f21a257f937cd22ef20c3590a69919e307
[ "Apache-2.0" ]
null
null
null
src/377. Combination Sum IV.py
xiaonanln/myleetcode-python
95d282f21a257f937cd22ef20c3590a69919e307
[ "Apache-2.0" ]
null
null
null
src/377. Combination Sum IV.py
xiaonanln/myleetcode-python
95d282f21a257f937cd22ef20c3590a69919e307
[ "Apache-2.0" ]
null
null
null
nums = [1, 2, 3] target = 4 print Solution().combinationSum4(nums, target)
17.636364
46
0.574742
44aee10963b90c303639a9d3405aa32659f7cfd5
12,188
py
Python
src/component/PlaylistDialog.py
renchangjiu/kon-windows
a20f33fc98cd197e1e601b5d97adecabee9176d8
[ "MIT" ]
2
2020-06-01T00:34:50.000Z
2020-12-08T14:40:41.000Z
src/component/PlaylistDialog.py
renchangjiu/kon-windows
a20f33fc98cd197e1e601b5d97adecabee9176d8
[ "MIT" ]
null
null
null
src/component/PlaylistDialog.py
renchangjiu/kon-windows
a20f33fc98cd197e1e601b5d97adecabee9176d8
[ "MIT" ]
null
null
null
from PyQt5 import QtGui from PyQt5.QtCore import Qt, QEvent, QModelIndex from PyQt5.QtGui import QPixmap, QColor, QIcon, QCursor, QPainter, QPen from PyQt5.QtWidgets import QWidget, QTableWidgetItem, \ QAction, QMenu, QLabel, QWidgetAction, QHBoxLayout from src.Apps import Apps from src.model.MusicList import Musi...
44.808824
118
0.628159
44b09eface0e025db8dfa1c9489702d2607f4f1d
8,486
py
Python
linux/avnav_gui.py
e-sailing/avnav
b3e8df4d6fa122b05309eee09197c716e29b64ec
[ "MIT" ]
null
null
null
linux/avnav_gui.py
e-sailing/avnav
b3e8df4d6fa122b05309eee09197c716e29b64ec
[ "MIT" ]
null
null
null
linux/avnav_gui.py
e-sailing/avnav
b3e8df4d6fa122b05309eee09197c716e29b64ec
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # vim: ts=2 sw=2 et ai ############################################################################### # Copyright (c) 2012,2014 Andreas Vogel andreas@wellenvogel.net # # Permission is hereby granted, free of charge, to any person obtaining a # copy of this software and a...
36.895652
168
0.600283
44b0bea0625ce86caee7e87e49ae974396869730
2,714
py
Python
scripts/crawlAll.py
hysds/sciflo
f706288405c8eee59a2f883bab3dcb5229615367
[ "Apache-2.0" ]
null
null
null
scripts/crawlAll.py
hysds/sciflo
f706288405c8eee59a2f883bab3dcb5229615367
[ "Apache-2.0" ]
null
null
null
scripts/crawlAll.py
hysds/sciflo
f706288405c8eee59a2f883bab3dcb5229615367
[ "Apache-2.0" ]
1
2019-02-07T01:08:34.000Z
2019-02-07T01:08:34.000Z
#!/usr/bin/env python # ----------------------------------------------------------------------------- # Name: crawlAll.py # Purpose: Crawl and catalog using crawler config in crawler directory. # # Author: Gerald Manipon # # Created: Wed Nov 29 18:42:34 2006 # Copyright: (c) 2006, California Insti...
33.925
79
0.611643
44b155e14a6c99695a7fb8ef157cc096fe1beb35
8,162
py
Python
powermeterapatorec3.py
grillbaer/data-logger
f0d5b878e8f4a2f8eafcc8453d8f3b42c210558d
[ "Apache-2.0" ]
9
2018-03-11T20:46:31.000Z
2022-03-28T13:28:43.000Z
powermeterapatorec3.py
grillbaer/data-logger
f0d5b878e8f4a2f8eafcc8453d8f3b42c210558d
[ "Apache-2.0" ]
null
null
null
powermeterapatorec3.py
grillbaer/data-logger
f0d5b878e8f4a2f8eafcc8453d8f3b42c210558d
[ "Apache-2.0" ]
1
2020-05-03T07:15:08.000Z
2020-05-03T07:15:08.000Z
""" Communication with APATOR EC3 power meter to get its actual readings. """ from __future__ import annotations __author__ = 'Holger Fleischmann' __copyright__ = 'Copyright 2021, Holger Fleischmann, Bavaria/Germany' __license__ = 'Apache License 2.0' import logging import time from typing import NamedTuple, Optiona...
33.314286
115
0.636364
44b22136f8f7845ba30e0d616c9b44281b0dd3fc
913
py
Python
core/migrations/0009_auto_20190421_1740.py
support-me/support-me
385e605c5a5506e2e712d007df9c0241ef941dee
[ "Unlicense" ]
null
null
null
core/migrations/0009_auto_20190421_1740.py
support-me/support-me
385e605c5a5506e2e712d007df9c0241ef941dee
[ "Unlicense" ]
29
2019-04-12T21:08:33.000Z
2022-02-10T07:46:06.000Z
core/migrations/0009_auto_20190421_1740.py
support-me/support-me
385e605c5a5506e2e712d007df9c0241ef941dee
[ "Unlicense" ]
null
null
null
# Generated by Django 2.2 on 2019-04-21 21:40 from django.conf import settings from django.db import migrations, models import django.db.models.deletion
32.607143
161
0.661555
44b2ed7cd64ff69161aa71d32d7a5abf6638b0c2
6,939
py
Python
django/peering_coord/peering_policy.py
netsys-lab/scion-peering-coordinator
cd2fc9e9423242cafe90e71a54f4ad9e763acdae
[ "MIT" ]
null
null
null
django/peering_coord/peering_policy.py
netsys-lab/scion-peering-coordinator
cd2fc9e9423242cafe90e71a54f4ad9e763acdae
[ "MIT" ]
null
null
null
django/peering_coord/peering_policy.py
netsys-lab/scion-peering-coordinator
cd2fc9e9423242cafe90e71a54f4ad9e763acdae
[ "MIT" ]
null
null
null
"""Functions for updating links according to peering policies""" from django.db import transaction from django.db.models import Q, QuerySet from peering_coord.api.client_connection import ClientRegistry from peering_coord.api.peering_pb2 import AsyncError from peering_coord.models.ixp import VLAN, Interface, Owner fr...
40.817647
99
0.683816
44b55411280b2c91c5d8253412bafa1ca94c9a7f
33,900
py
Python
momepy/dimension.py
AleFeli/momepy
fd68bdd2518e2c1cadce41a6059a93cebb2c1864
[ "MIT" ]
1
2021-06-19T05:41:30.000Z
2021-06-19T05:41:30.000Z
momepy/dimension.py
AleFeli/momepy
fd68bdd2518e2c1cadce41a6059a93cebb2c1864
[ "MIT" ]
null
null
null
momepy/dimension.py
AleFeli/momepy
fd68bdd2518e2c1cadce41a6059a93cebb2c1864
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # dimension.py # definitions of dimension characters import math import numpy as np import pandas as pd import scipy as sp from shapely.geometry import LineString, Point, Polygon from tqdm import tqdm from .shape import _make_circle __all__ = [ "Area", "Perimet...
33.798604
146
0.578643
44b618144cd7630733cffae5d1cb9672a7fba58e
6,430
py
Python
tests/test_db.py
craymaru/serverless-todo-backend
5f0bd32b321e783fbdcab2714ccd0cdee30f6156
[ "MIT" ]
1
2020-12-08T09:16:27.000Z
2020-12-08T09:16:27.000Z
tests/test_db.py
craymaru/serverless-todo-backend
5f0bd32b321e783fbdcab2714ccd0cdee30f6156
[ "MIT" ]
null
null
null
tests/test_db.py
craymaru/serverless-todo-backend
5f0bd32b321e783fbdcab2714ccd0cdee30f6156
[ "MIT" ]
null
null
null
import operator import pytest from chalice import NotFoundError import app from tests.testdata.ddb_items import TESTDATA_DDB_ITEMS DEFAULT_USERNAME = 'default' class TestGetItem(TestDB): def test_Raise_NotFoundError_case_uid_not_exist(self, mock): """get_item: uid""" with pytest.raises(N...
38.502994
85
0.671851
44b63f8dd16194a8fc997b6be8fdf43178a1bc65
11,651
py
Python
src/vessel-drift-analysis/scripts/simulations/launch_drift.py
yosoyjay/project-nps-vessel-drift
1cdc14ef87db31fa03b0c3bdc1d60c332727ef57
[ "MIT" ]
null
null
null
src/vessel-drift-analysis/scripts/simulations/launch_drift.py
yosoyjay/project-nps-vessel-drift
1cdc14ef87db31fa03b0c3bdc1d60c332727ef57
[ "MIT" ]
null
null
null
src/vessel-drift-analysis/scripts/simulations/launch_drift.py
yosoyjay/project-nps-vessel-drift
1cdc14ef87db31fa03b0c3bdc1d60c332727ef57
[ "MIT" ]
null
null
null
#!python """Launch vessel drift simulations. Methodology ----------- For every week with forcing data, simulated vessels are launched from every cell where a vessel was present in the AIS data. The drift angle (up to 60 deg.), windage scaling (2% - 10% of 10 m), and left/right direction is randomly assigned per simul...
32.912429
122
0.618488
44b6d6a32049f0dfb679101cd399346994e52f62
932
py
Python
setup.py
bobbypaton/pyX-Struct
c6e7132f010635ebc95aea09cef75247271026de
[ "MIT" ]
6
2018-09-01T21:00:20.000Z
2022-01-11T11:13:38.000Z
setup.py
bobbypaton/pyX-Struct
c6e7132f010635ebc95aea09cef75247271026de
[ "MIT" ]
null
null
null
setup.py
bobbypaton/pyX-Struct
c6e7132f010635ebc95aea09cef75247271026de
[ "MIT" ]
null
null
null
from setuptools import setup import io # read the contents of your README file from os import path this_directory = path.abspath(path.dirname(__file__)) with io.open(path.join(this_directory, 'README.md'), encoding='utf-8') as f: long_description = f.read() setup( name = 'pyxstruct', packages = ['pyxstruct'],...
33.285714
86
0.722103
44ba14a55225e2fca7e6776005ca90c19e46d4ef
7,317
py
Python
hypernets/tabular/ensemble/base_ensemble.py
Enpen/Hypernets
5fbf01412ffaef310855d98f52f8cc169e96246b
[ "Apache-2.0" ]
null
null
null
hypernets/tabular/ensemble/base_ensemble.py
Enpen/Hypernets
5fbf01412ffaef310855d98f52f8cc169e96246b
[ "Apache-2.0" ]
null
null
null
hypernets/tabular/ensemble/base_ensemble.py
Enpen/Hypernets
5fbf01412ffaef310855d98f52f8cc169e96246b
[ "Apache-2.0" ]
null
null
null
# -*- coding:utf-8 -*- __author__ = 'yangjian' """ """ import copy import pickle from sklearn.model_selection import StratifiedKFold from hypernets.utils import fs
38.109375
111
0.574962
44ba63f3647ceeb589ce1842b68940e92b0bb81b
173
py
Python
agronet_be/AgronetApp/models/__init__.py
lauraC4MP0/Prueba-github
291fc266fc0a8efc80ab36dd6eb4bff3e98e7c1f
[ "MIT" ]
1
2021-10-06T00:39:08.000Z
2021-10-06T00:39:08.000Z
agronet_be/AgronetApp/models/__init__.py
lauraC4MP0/Prueba-github
291fc266fc0a8efc80ab36dd6eb4bff3e98e7c1f
[ "MIT" ]
null
null
null
agronet_be/AgronetApp/models/__init__.py
lauraC4MP0/Prueba-github
291fc266fc0a8efc80ab36dd6eb4bff3e98e7c1f
[ "MIT" ]
1
2021-10-03T13:39:31.000Z
2021-10-03T13:39:31.000Z
from .product import Product from .departament import Departament from .city import City from .orderDetail import OrderDetail from .order import Order from .user import User
28.833333
36
0.83237
44bcca6b59578ac7da93d3743cc3030c283f7d93
4,698
py
Python
apis/betterself/v1/supplements/views.py
jeffshek/betterself
51468253fc31373eb96e0e82189b9413f3d76ff5
[ "MIT" ]
98
2017-07-29T14:26:36.000Z
2022-02-28T04:10:15.000Z
apis/betterself/v1/supplements/views.py
jeffshek/betterself
51468253fc31373eb96e0e82189b9413f3d76ff5
[ "MIT" ]
1,483
2017-05-30T00:05:56.000Z
2022-03-31T12:37:06.000Z
apis/betterself/v1/supplements/views.py
lawrendran/betterself
51468253fc31373eb96e0e82189b9413f3d76ff5
[ "MIT" ]
13
2017-11-08T00:02:35.000Z
2022-02-28T04:10:32.000Z
from django.db.models.query import Prefetch from rest_framework.generics import ListAPIView, ListCreateAPIView from apis.betterself.v1.supplements.filters import IngredientCompositionFilter, SupplementFilter, \ UserSupplementStackFilter, UserSupplementStackCompositionFilter from apis.betterself.v1.supplements.seri...
43.906542
117
0.801618
44bccdf59785819826e9ae489afe64a4d019ae2c
253
py
Python
mlrun/frameworks/_common/__init__.py
zjzh/mlrun
2f367b29838222663b1a7c6deeacbe26156071b3
[ "Apache-2.0" ]
1
2021-02-17T08:12:33.000Z
2021-02-17T08:12:33.000Z
mlrun/frameworks/_common/__init__.py
zjzh/mlrun
2f367b29838222663b1a7c6deeacbe26156071b3
[ "Apache-2.0" ]
null
null
null
mlrun/frameworks/_common/__init__.py
zjzh/mlrun
2f367b29838222663b1a7c6deeacbe26156071b3
[ "Apache-2.0" ]
1
2021-08-30T21:43:38.000Z
2021-08-30T21:43:38.000Z
# flake8: noqa - this is until we take care of the F401 violations with respect to __all__ & sphinx from .mlrun_interface import MLRunInterface from .model_handler import ModelHandler from .types import ExtraDataType, IOSampleType, ModelType, PathType
50.6
100
0.818182
44bdf8f5ecb0e60fa1e48ee58697351e0ea1c854
3,456
py
Python
KMeansClustering/clustering.py
saberzuko/MachineLearningAlgorithms
a7072e7342b0836f195325faed169f5d1de23f76
[ "MIT" ]
null
null
null
KMeansClustering/clustering.py
saberzuko/MachineLearningAlgorithms
a7072e7342b0836f195325faed169f5d1de23f76
[ "MIT" ]
null
null
null
KMeansClustering/clustering.py
saberzuko/MachineLearningAlgorithms
a7072e7342b0836f195325faed169f5d1de23f76
[ "MIT" ]
null
null
null
import numpy as np from scipy.spatial import distance import random
39.724138
97
0.640625
44be78e2d92511ba650938e4b2a465810360de31
435
py
Python
app/utils.py
scorpioza/tele2-profit
99514eb6bce404ce4cf672ea6f5ddf84388d46c1
[ "MIT" ]
16
2020-06-26T13:20:52.000Z
2021-01-05T09:35:08.000Z
app/utils.py
scorpioza/tele2-profit
99514eb6bce404ce4cf672ea6f5ddf84388d46c1
[ "MIT" ]
3
2020-09-25T18:04:16.000Z
2020-11-16T15:02:52.000Z
app/utils.py
scorpioza/tele2-profit
99514eb6bce404ce4cf672ea6f5ddf84388d46c1
[ "MIT" ]
5
2020-09-26T19:29:41.000Z
2020-12-29T08:42:21.000Z
import asyncio import os from _version import __version__
21.75
51
0.657471
44be7e179d9f24df461429aeb0c1ef7aff9ab585
3,060
py
Python
utils/static_common_utils.py
UESTC-Liuxin/CVMI_Sementic_Segmentation
dc5bf6e940cf6961ef65abb6e7ec372f29d55249
[ "Apache-2.0" ]
null
null
null
utils/static_common_utils.py
UESTC-Liuxin/CVMI_Sementic_Segmentation
dc5bf6e940cf6961ef65abb6e7ec372f29d55249
[ "Apache-2.0" ]
null
null
null
utils/static_common_utils.py
UESTC-Liuxin/CVMI_Sementic_Segmentation
dc5bf6e940cf6961ef65abb6e7ec372f29d55249
[ "Apache-2.0" ]
null
null
null
''' Author: Liu Xin Date: 2021-11-13 19:11:06 LastEditors: Liu Xin LastEditTime: 2021-11-25 15:44:12 Description: FilePath: /CVMI_Sementic_Segmentation/utils/static_common_utils.py ''' import os import random import numpy as np import torch import torch.backends.cudnn as cudnn import warnings from socket import gethos...
27.321429
79
0.66634
44bf0a5052cbf6a144e0a5b040f0b62cdb2a95c6
230
py
Python
receivers.py
MortalHappiness/mailer
cf7252d97ef42ac31f82e2745723c9d5629ac6a2
[ "MIT" ]
null
null
null
receivers.py
MortalHappiness/mailer
cf7252d97ef42ac31f82e2745723c9d5629ac6a2
[ "MIT" ]
null
null
null
receivers.py
MortalHappiness/mailer
cf7252d97ef42ac31f82e2745723c9d5629ac6a2
[ "MIT" ]
null
null
null
import csv def get_receivers(): """ Return a list of receivers here """ with open("receivers.csv") as fin: reader = csv.reader(fin) receivers = [row[0] for row in reader] return receivers
19.166667
46
0.591304
44bfddd8311b2ce5f5b9d04ea8832fb97c03d8da
4,309
py
Python
anime_downloader/scrapers/gogoanime/gogoanime_scraper.py
Amdrossa/Anime
9757f7c8d1a094da61e0c0ac38a2a29bf1c21e28
[ "MIT" ]
554
2020-04-15T20:22:50.000Z
2022-03-31T11:07:53.000Z
anime_downloader/scrapers/gogoanime/gogoanime_scraper.py
Amdrossa/Anime
9757f7c8d1a094da61e0c0ac38a2a29bf1c21e28
[ "MIT" ]
44
2020-04-15T19:26:43.000Z
2022-03-11T09:59:24.000Z
anime_downloader/scrapers/gogoanime/gogoanime_scraper.py
Amdrossa/Anime
9757f7c8d1a094da61e0c0ac38a2a29bf1c21e28
[ "MIT" ]
61
2020-04-16T19:17:04.000Z
2022-03-27T14:51:54.000Z
import re from util.Episode import Episode from bs4 import BeautifulSoup from extractors.jwplayer_extractor import JWPlayerExtractor from scrapers.base_scraper import BaseScraper from util.Color import printer
38.81982
106
0.561383
44bff82fd79a239bdafb6a54e8fdebc06260a17d
1,355
py
Python
mr_dale/config.py
evgeniy-tulyakov/mr-dale
5a976ca11ba21e83a2adf2f9f4a77833a68da116
[ "MIT" ]
null
null
null
mr_dale/config.py
evgeniy-tulyakov/mr-dale
5a976ca11ba21e83a2adf2f9f4a77833a68da116
[ "MIT" ]
null
null
null
mr_dale/config.py
evgeniy-tulyakov/mr-dale
5a976ca11ba21e83a2adf2f9f4a77833a68da116
[ "MIT" ]
null
null
null
''' Constants necessary for the correct execution of this bot. here, most of the values of the environment variables are extracted. ''' from os import getenv from pathlib import Path # Base settings PROJECT_PATH = Path(__file__).resolve().parent UI_RESOURCES_PATH = PROJECT_PATH / 'ui_resources' BOT_TOKEN = getenv('...
23.77193
83
0.568266
44c122eb2bc4fddfe34663b5e113bdd4620db9d3
1,305
py
Python
work/plot.py
XUHUAKing/bigdata
47cdccbd448eacf074c4521d5b40d1205b000fc6
[ "CC-BY-4.0" ]
6
2018-03-19T03:34:19.000Z
2021-11-08T01:35:48.000Z
work/plot.py
XUHUAKing/bigdata
47cdccbd448eacf074c4521d5b40d1205b000fc6
[ "CC-BY-4.0" ]
null
null
null
work/plot.py
XUHUAKing/bigdata
47cdccbd448eacf074c4521d5b40d1205b000fc6
[ "CC-BY-4.0" ]
null
null
null
# needs a parameter to specify which training record to display import matplotlib as mpl from mpl_toolkits.mplot3d import Axes3D import numpy as np import matplotlib.pyplot as plt import functions as fn import sys #from matplotlib.backends.backend_pdf import PdfPages tdata, ttarget, tlabel = fn.get_training_data() i ...
30.348837
98
0.691954
44c253f81c7a3412e5a62fbd60011c97050af7d2
2,720
py
Python
tests/test_year_2014.py
l0pht511/jpholiday
083145737b61fad3420c066968c4329d17dc3baf
[ "MIT" ]
179
2017-10-05T12:41:10.000Z
2022-03-24T22:18:25.000Z
tests/test_year_2014.py
l0pht511/jpholiday
083145737b61fad3420c066968c4329d17dc3baf
[ "MIT" ]
17
2018-10-23T00:51:13.000Z
2021-11-22T11:40:06.000Z
tests/test_year_2014.py
l0pht511/jpholiday
083145737b61fad3420c066968c4329d17dc3baf
[ "MIT" ]
17
2018-10-19T11:13:07.000Z
2022-01-29T08:05:56.000Z
# coding: utf-8 import datetime import unittest import jpholiday
51.320755
95
0.682353
44c3145c6b5a8cac5b0e2f9068f7547381896e10
31,414
py
Python
python/tests/nexus_helpers.py
arm61/scippneutron
20283e7b8f8772776978c539f8664f889d1fbded
[ "BSD-3-Clause" ]
null
null
null
python/tests/nexus_helpers.py
arm61/scippneutron
20283e7b8f8772776978c539f8664f889d1fbded
[ "BSD-3-Clause" ]
null
null
null
python/tests/nexus_helpers.py
arm61/scippneutron
20283e7b8f8772776978c539f8664f889d1fbded
[ "BSD-3-Clause" ]
null
null
null
from dataclasses import dataclass from typing import List, Union, Iterator, Optional, Dict, Any, Tuple import h5py import numpy as np from enum import Enum from contextlib import contextmanager import json from scippneutron.file_loading._json_nexus import LoadFromJson, MissingDataset h5root = Union[h5py.File, h5py.Gro...
41.773936
88
0.61046
44c41032c50ef5d1788dcc18837fdc341819e52a
10,351
py
Python
pyarpspoofer/arpspoofer.py
bocajspear1/pyarpspoofer
5612e0c900c070d98743bb8fdd39743a0ce09cf2
[ "MIT" ]
null
null
null
pyarpspoofer/arpspoofer.py
bocajspear1/pyarpspoofer
5612e0c900c070d98743bb8fdd39743a0ce09cf2
[ "MIT" ]
null
null
null
pyarpspoofer/arpspoofer.py
bocajspear1/pyarpspoofer
5612e0c900c070d98743bb8fdd39743a0ce09cf2
[ "MIT" ]
null
null
null
""" MIT License Copyright (c) 2018 Jacob Hartman Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish,...
34.274834
155
0.589025
44c5095346311b6017f0569e809826181a4a55f9
526
py
Python
mac_numbers.py
dmayan-ss/diegoflow
2225c24f7c5a6b331946c3c0d550bed26e92ee39
[ "BSD-3-Clause" ]
22
2019-02-24T13:12:23.000Z
2022-03-08T08:55:18.000Z
mac_numbers.py
dmayan-ss/diegoflow
2225c24f7c5a6b331946c3c0d550bed26e92ee39
[ "BSD-3-Clause" ]
3
2017-06-10T13:39:11.000Z
2018-10-10T22:15:50.000Z
mac_numbers.py
dmayan-ss/diegoflow
2225c24f7c5a6b331946c3c0d550bed26e92ee39
[ "BSD-3-Clause" ]
13
2019-03-24T06:03:19.000Z
2021-10-31T02:27:25.000Z
# Copyright (c) 2017, Manito Networks, LLC # All rights reserved. # NOTE: This is updated as we have time, and is by no means comprehensive yet. mac_prefix = { "00CDFE":"Apple", "18AF61":"Apple", "CC46D6":"Cisco", "58AC78":"Cisco", "0050BA":"D-Link", "00179A":"D-Link", "1CBDB9":"D-Link", "9094E4":"D-Link", "28107B"...
18.137931
78
0.657795
44c515b10ccba3215103fa7169a17fded5d650d8
298
py
Python
tests/test_app/urls.py
emorozov/django-reversion
43b732b29b1023d984b3deb73b03c7d691db520d
[ "BSD-3-Clause" ]
1,735
2015-01-01T17:57:11.000Z
2022-03-28T10:53:27.000Z
tests/test_app/urls.py
emorozov/django-reversion
43b732b29b1023d984b3deb73b03c7d691db520d
[ "BSD-3-Clause" ]
554
2015-01-02T17:31:31.000Z
2022-02-22T10:30:04.000Z
tests/test_app/urls.py
emorozov/django-reversion
43b732b29b1023d984b3deb73b03c7d691db520d
[ "BSD-3-Clause" ]
368
2015-01-02T03:32:18.000Z
2022-03-31T09:48:31.000Z
from django.urls import path from test_app import views urlpatterns = [ path("save-obj/", views.save_obj_view), path("save-obj-error/", views.save_obj_error_view), path("create-revision/", views.create_revision_view), path("revision-mixin/", views.RevisionMixinView.as_view()), ]
27.090909
63
0.724832
44c5b067e13fdd1e1ad2cc1a2c99d3c5b3330ac5
1,410
py
Python
stellapy/utils/decorators/restrict_sizeList.py
SStroteich/stella-1
104556a07b9736e7c28e6f1bf2f799384732f38b
[ "MIT" ]
4
2021-12-15T08:23:45.000Z
2022-02-18T15:14:42.000Z
stellapy/utils/decorators/restrict_sizeList.py
SStroteich/stella-1
104556a07b9736e7c28e6f1bf2f799384732f38b
[ "MIT" ]
37
2021-07-05T16:41:33.000Z
2022-03-21T15:58:05.000Z
stellapy/utils/decorators/restrict_sizeList.py
SStroteich/stella-1
104556a07b9736e7c28e6f1bf2f799384732f38b
[ "MIT" ]
7
2021-07-05T15:35:55.000Z
2022-03-09T09:23:42.000Z
#=============================================================== # Restrict size of printed list #=============================================================== import numpy as np def restrict_sizeList(input_list, size): ''' Print a long list as [ a b c ... x y z ] ''' # For 1D arrays or list, return [ a b ...
30
98
0.458865
44c6da2588473857006929d493bd43cadac15056
182
py
Python
backend/course_application/admin.py
heyImDrew/edupro
98b8342dda45071da4871bbf73f2ef002fee938f
[ "Apache-2.0" ]
null
null
null
backend/course_application/admin.py
heyImDrew/edupro
98b8342dda45071da4871bbf73f2ef002fee938f
[ "Apache-2.0" ]
null
null
null
backend/course_application/admin.py
heyImDrew/edupro
98b8342dda45071da4871bbf73f2ef002fee938f
[ "Apache-2.0" ]
null
null
null
from django.contrib import admin from .models import * admin.site.register(Course) admin.site.register(UserCourse) admin.site.register(Partition) admin.site.register(PartitionTask)
22.75
34
0.824176
44cb0ba9c0f8df7004f8672416120408c2f977bc
350
py
Python
app/helpers.py
kilonzi/dukaone
0563f1329f87df17424d6c058b46f6bdede46f2f
[ "MIT" ]
null
null
null
app/helpers.py
kilonzi/dukaone
0563f1329f87df17424d6c058b46f6bdede46f2f
[ "MIT" ]
null
null
null
app/helpers.py
kilonzi/dukaone
0563f1329f87df17424d6c058b46f6bdede46f2f
[ "MIT" ]
null
null
null
from db.models import *
23.333333
42
0.642857
44cd2971fc2d0fb346116f5807babe8620e40891
221
py
Python
gdsfactory/gdsdiff/sample.py
jorgepadilla19/gdsfactory
68e1c18257a75d4418279851baea417c8899a165
[ "MIT" ]
null
null
null
gdsfactory/gdsdiff/sample.py
jorgepadilla19/gdsfactory
68e1c18257a75d4418279851baea417c8899a165
[ "MIT" ]
null
null
null
gdsfactory/gdsdiff/sample.py
jorgepadilla19/gdsfactory
68e1c18257a75d4418279851baea417c8899a165
[ "MIT" ]
null
null
null
import gdsfactory as gf from gdsfactory.gdsdiff.gdsdiff import gdsdiff if __name__ == "__main__": c1 = gf.components.straight(length=2) c2 = gf.components.straight(length=3) c = gdsdiff(c1, c2) c.show()
22.1
46
0.696833
44cdc0c7246c968a7e2f2abbae018d1456bcdfd9
8,239
py
Python
src/lib/searchio/cmd/reload.py
cgxxv/alfred-searchio
f4a14cbe5350b83d6d962aa993abf01f14b60d33
[ "MIT" ]
304
2015-01-15T08:18:47.000Z
2022-03-31T10:41:52.000Z
src/lib/searchio/cmd/reload.py
cgxxv/alfred-searchio
f4a14cbe5350b83d6d962aa993abf01f14b60d33
[ "MIT" ]
66
2015-03-14T18:10:36.000Z
2022-03-27T11:33:56.000Z
src/lib/searchio/cmd/reload.py
cgxxv/alfred-searchio
f4a14cbe5350b83d6d962aa993abf01f14b60d33
[ "MIT" ]
36
2015-04-12T16:50:17.000Z
2022-03-28T09:53:32.000Z
#!/usr/bin/env python # encoding: utf-8 # # Copyright (c) 2016 Dean Jackson <deanishe@deanishe.net> # # MIT Licence. See http://opensource.org/licenses/MIT # # Created on 2016-12-17 # """searchio reload [-h] Update info.plist from saved searches. Usage: searchio reload [--defaults] searchio -h Options: ...
29.320285
112
0.572157
44ce0f9db9fe5919a4a1f3796a0fe0c4e1d331ae
2,882
py
Python
lessons/migrations/0005_auto_20180911_1600.py
keeperaft/personalaltwebsite
b8ad2679c2809c316e8f746ffe1b302460f336be
[ "MIT" ]
null
null
null
lessons/migrations/0005_auto_20180911_1600.py
keeperaft/personalaltwebsite
b8ad2679c2809c316e8f746ffe1b302460f336be
[ "MIT" ]
2
2020-06-05T20:35:57.000Z
2021-06-10T21:24:24.000Z
lessons/migrations/0005_auto_20180911_1600.py
keeperaft/personalaltwebsite
b8ad2679c2809c316e8f746ffe1b302460f336be
[ "MIT" ]
1
2019-04-10T02:03:35.000Z
2019-04-10T02:03:35.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.6 on 2018-09-11 07:00 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion import lessons.filefield
45.746032
256
0.590909
44d06773b5f3d0ff34828b00098d2e28292a0ca8
10,308
py
Python
tests/responses/test_response.py
TeoDV/jj
a58d91ad7b37ba3115daea4890190abede8f3353
[ "Apache-2.0" ]
4
2020-09-08T08:14:21.000Z
2022-01-27T19:22:53.000Z
tests/responses/test_response.py
TeoDV/jj
a58d91ad7b37ba3115daea4890190abede8f3353
[ "Apache-2.0" ]
19
2018-02-13T05:51:25.000Z
2022-03-27T22:48:11.000Z
tests/responses/test_response.py
TeoDV/jj
a58d91ad7b37ba3115daea4890190abede8f3353
[ "Apache-2.0" ]
3
2017-11-17T13:25:23.000Z
2022-02-03T12:57:00.000Z
import os import sys if sys.version_info >= (3, 8): from unittest import IsolatedAsyncioTestCase as TestCase else: from unittest import TestCase import pytest import jj from jj import server_version from jj.apps import create_app from jj.handlers import default_handler from jj.matchers import MethodMatcher f...
38.898113
95
0.644257
44d22b17f45772c546f11f4444520b63362e9cd5
766
py
Python
slide_09/Exercicio04.py
lordjack/aula_python_slides
38ad45ac1843fc83c3349addb9d49f7d182a574f
[ "MIT" ]
null
null
null
slide_09/Exercicio04.py
lordjack/aula_python_slides
38ad45ac1843fc83c3349addb9d49f7d182a574f
[ "MIT" ]
null
null
null
slide_09/Exercicio04.py
lordjack/aula_python_slides
38ad45ac1843fc83c3349addb9d49f7d182a574f
[ "MIT" ]
null
null
null
''' Q04 - Faa um programa que leia uma matriz 3x3 de inteiros, e apresente a Diagonal Principal desta Matriz. ''' import random # x = random.uniform(0, 10) matriz = [] diagonalPrincipal = [] for i in range(0, 3, 1): linha = [] for j in range(0, 3, 1): # elemento = int(input("Digite o elemento da posio...
23.212121
76
0.571802
44d2734bfe7281ba6062b53a0dd208cf424d41c5
142
py
Python
servers/apps.py
shubhamdipt/monitoring-dashboard
ae4524f1c179cf735fdc17673865bdbdb463ee3e
[ "MIT" ]
1
2021-08-08T14:40:09.000Z
2021-08-08T14:40:09.000Z
servers/apps.py
shubhamdipt/monitoring-dashboard
ae4524f1c179cf735fdc17673865bdbdb463ee3e
[ "MIT" ]
null
null
null
servers/apps.py
shubhamdipt/monitoring-dashboard
ae4524f1c179cf735fdc17673865bdbdb463ee3e
[ "MIT" ]
null
null
null
from django.apps import AppConfig
15.777778
33
0.697183
44d38b1f211f5c9e46f3fcd73adf617055c70c17
4,268
py
Python
examples/forest_fire_disjunctive.py
kevinmcareavey/pyactualcausality
51367d768dde3b1b039373db5797efb087003cd4
[ "MIT" ]
null
null
null
examples/forest_fire_disjunctive.py
kevinmcareavey/pyactualcausality
51367d768dde3b1b039373db5797efb087003cd4
[ "MIT" ]
null
null
null
examples/forest_fire_disjunctive.py
kevinmcareavey/pyactualcausality
51367d768dde3b1b039373db5797efb087003cd4
[ "MIT" ]
null
null
null
from frozendict import frozendict from lib.halpern_pearl import Variable, CausalNetwork, CausalSetting, find_actual_causes, CausalFormula, PrimitiveEvent, \ Negation, find_trivial_explanations, EpistemicState, find_nontrivial_explanations, find_explanations, \ find_sufficient_causes U_L, U_MD = Variable("U_L")...
56.157895
192
0.751172
44d405a3b963e1575bfadf95aec209b7044e8452
3,152
py
Python
environments/icds-cas/migrations/nic_to_tcl/couchdb-files-post.py
rohit-dimagi/commcare-cloud
55576713f3a12acc3f2df4f24c405df9c30143b3
[ "BSD-3-Clause" ]
null
null
null
environments/icds-cas/migrations/nic_to_tcl/couchdb-files-post.py
rohit-dimagi/commcare-cloud
55576713f3a12acc3f2df4f24c405df9c30143b3
[ "BSD-3-Clause" ]
null
null
null
environments/icds-cas/migrations/nic_to_tcl/couchdb-files-post.py
rohit-dimagi/commcare-cloud
55576713f3a12acc3f2df4f24c405df9c30143b3
[ "BSD-3-Clause" ]
null
null
null
import getpass import requests import argparse if __name__ == '__main__': main()
33.178947
121
0.580901
44d42b43218cec56ddb7aa37023d60517545e56a
23,816
py
Python
fee/views.py
masoodazhar/-school-management-system
6525b3d29d12f03e05d362d81b7c5855806f57d9
[ "Apache-2.0" ]
1
2022-01-20T10:20:05.000Z
2022-01-20T10:20:05.000Z
fee/views.py
masoodazhar/-school-management-system
6525b3d29d12f03e05d362d81b7c5855806f57d9
[ "Apache-2.0" ]
null
null
null
fee/views.py
masoodazhar/-school-management-system
6525b3d29d12f03e05d362d81b7c5855806f57d9
[ "Apache-2.0" ]
1
2022-01-20T10:20:31.000Z
2022-01-20T10:20:31.000Z
from django.shortcuts import render, redirect from student.models import Admission from .forms import SearchChallan from django.utils import timezone from django.db.models import Q from .models import Voucher from payroll.models import Salary from django import forms from django.contrib import messages from dj...
41.204152
187
0.570961
44d4708d8f3e8cbb68ded6ad9426b4bdf6c6ba43
6,211
py
Python
interpolation/splines/filter_cubic.py
gboehl/interpolation.py
25520556804dd104c5931c8a6bedfff65420025f
[ "BSD-2-Clause" ]
null
null
null
interpolation/splines/filter_cubic.py
gboehl/interpolation.py
25520556804dd104c5931c8a6bedfff65420025f
[ "BSD-2-Clause" ]
null
null
null
interpolation/splines/filter_cubic.py
gboehl/interpolation.py
25520556804dd104c5931c8a6bedfff65420025f
[ "BSD-2-Clause" ]
null
null
null
from __future__ import division import numpy as np import time from numba import jit, njit # used by njitted routines (frozen) basis = np.array([1.0 / 6.0, 2.0 / 3.0, 1.0 / 6.0, 0.0]) def filter_coeffs(smin, smax, orders, data): smin = np.array(smin, dtype=float) smax = np.array(smax, dtype=float) ...
24.844
88
0.551924
44d48337c78ce2e640508a61a6350b194e4ad2ee
507
py
Python
backend/product/urls.py
kmrul/Grocery-Store
a8abc99d66daf7c1dbf42a5bb9b563bda98b9e3c
[ "MIT" ]
null
null
null
backend/product/urls.py
kmrul/Grocery-Store
a8abc99d66daf7c1dbf42a5bb9b563bda98b9e3c
[ "MIT" ]
null
null
null
backend/product/urls.py
kmrul/Grocery-Store
a8abc99d66daf7c1dbf42a5bb9b563bda98b9e3c
[ "MIT" ]
null
null
null
from django.urls import path from . import views urlpatterns = [ path('product/', views.apiOverview, name='overview'), path('product/list/', views.productList, name='product-list'), path('product/detail/<str:pk>', views.productDetail, name='product-detail'), path('product/create', views.productCreate, ...
46.090909
80
0.706114
44d4c378e92d06b8248254af3ada493cd9a99613
1,512
py
Python
Train.py
jinsuyun/DriavablaMap_Segmentation
8537f19f007f064ca2ab3a91bd25c714ecb50a48
[ "BSD-3-Clause" ]
null
null
null
Train.py
jinsuyun/DriavablaMap_Segmentation
8537f19f007f064ca2ab3a91bd25c714ecb50a48
[ "BSD-3-Clause" ]
null
null
null
Train.py
jinsuyun/DriavablaMap_Segmentation
8537f19f007f064ca2ab3a91bd25c714ecb50a48
[ "BSD-3-Clause" ]
null
null
null
from tensorflow.keras.callbacks import ModelCheckpoint, LearningRateScheduler, TensorBoard import tensorflow as tf import Data import Model # import myslack import os import argparse from tensorflow.python.client import device_lib import warnings warnings.filterwarnings("ignore") parser = argparse.ArgumentParser(descr...
25.627119
98
0.703042
44d52e44864bf1ce0a5095905d078b5ae85da8b7
3,470
py
Python
ui/custom_pb/custompb.py
magnusjwatson2786/Container-GUI
42cbe1bb970fbabe5b5fde873425f262e9207d30
[ "MIT" ]
null
null
null
ui/custom_pb/custompb.py
magnusjwatson2786/Container-GUI
42cbe1bb970fbabe5b5fde873425f262e9207d30
[ "MIT" ]
null
null
null
ui/custom_pb/custompb.py
magnusjwatson2786/Container-GUI
42cbe1bb970fbabe5b5fde873425f262e9207d30
[ "MIT" ]
null
null
null
from PySide6.QtCore import * from PySide6.QtGui import * from PySide6.QtWidgets import *
31.545455
86
0.583285
44d52f169921ab9efb57ff8c6c57b8de676e6dfb
1,301
py
Python
camhudson/views/index.py
Hudson00/Hudson00.github.io
75fede08521dc1e10cb2ce29e20c54c93e9e6db6
[ "MIT" ]
null
null
null
camhudson/views/index.py
Hudson00/Hudson00.github.io
75fede08521dc1e10cb2ce29e20c54c93e9e6db6
[ "MIT" ]
null
null
null
camhudson/views/index.py
Hudson00/Hudson00.github.io
75fede08521dc1e10cb2ce29e20c54c93e9e6db6
[ "MIT" ]
null
null
null
"""Cam Hudson Personal Website app's index.html view. URLs handled in this file include: / """ from flask import render_template, session from camhudson.views.utility import create_index_card # Make linter shut up import camhudson
32.525
76
0.530361
44d5d7d712b3b2f871108b46b0de197890de0365
2,661
py
Python
ai_services/anomaly_detection/data_preprocessing_examples/oci_data_flow_based_examples/example_code/normalization.py
oracle-samples/oci-data-science-ai-samples
3128787c1347a17f9dc2194f1a16a500ed08eb8e
[ "UPL-1.0", "Apache-2.0" ]
null
null
null
ai_services/anomaly_detection/data_preprocessing_examples/oci_data_flow_based_examples/example_code/normalization.py
oracle-samples/oci-data-science-ai-samples
3128787c1347a17f9dc2194f1a16a500ed08eb8e
[ "UPL-1.0", "Apache-2.0" ]
null
null
null
ai_services/anomaly_detection/data_preprocessing_examples/oci_data_flow_based_examples/example_code/normalization.py
oracle-samples/oci-data-science-ai-samples
3128787c1347a17f9dc2194f1a16a500ed08eb8e
[ "UPL-1.0", "Apache-2.0" ]
2
2022-03-28T07:27:28.000Z
2022-03-28T21:18:36.000Z
from pyspark.sql import SparkSession from pyspark.sql import functions as F import argparse from pyspark.ml.feature import MinMaxScaler, StandardScaler, VectorAssembler def normalize_data(df, scaler_type, columns): """ Scale numeric features using two methods 1) minmax normalization or 2) sta...
33.2625
78
0.658023
44d71f0a51d5a31acbe4cd401e05ee26f9010239
3,051
py
Python
deep_morphology/models/bert_tagger.py
juditacs/deep-morphology
090c17e604499a3430ea835a6340fa3abdc6ea83
[ "MIT" ]
3
2019-10-16T12:25:37.000Z
2021-01-16T00:31:37.000Z
deep_morphology/models/bert_tagger.py
juditacs/deep-morphology
090c17e604499a3430ea835a6340fa3abdc6ea83
[ "MIT" ]
15
2018-09-12T20:26:44.000Z
2018-11-09T20:10:37.000Z
deep_morphology/models/bert_tagger.py
juditacs/deep-morphology
090c17e604499a3430ea835a6340fa3abdc6ea83
[ "MIT" ]
null
null
null
#! /usr/bin/env python # -*- coding: utf-8 -*- # vim:fenc=utf-8 # # Copyright 2019 Judit Acs <judit@sch.bme.hu> # # Distributed under terms of the MIT license. import torch import torch.nn as nn from pytorch_pretrained_bert import BertModel from deep_morphology.models.base import BaseModel from deep_morphology.mode...
36.321429
90
0.640118
44d7658584167ad1f72604c07e855eaac8a27727
123
py
Python
CLASESYOBJETOS1.py
Germiprogramer/POO
c84bb9cf7e3bc1a003193375121489aa80daf03c
[ "Apache-2.0" ]
null
null
null
CLASESYOBJETOS1.py
Germiprogramer/POO
c84bb9cf7e3bc1a003193375121489aa80daf03c
[ "Apache-2.0" ]
null
null
null
CLASESYOBJETOS1.py
Germiprogramer/POO
c84bb9cf7e3bc1a003193375121489aa80daf03c
[ "Apache-2.0" ]
null
null
null
taxi = Auto() print(taxi.modelo) #se imprime el modelo nicamente
15.375
32
0.617886
44d7838cf86895dbb3bc71349d1a986ae126e5e6
4,246
py
Python
python3/11.py
mn113/adventofcode2020
87e3062948444627eb95e1b81e8d1b6db9640ba0
[ "MIT" ]
null
null
null
python3/11.py
mn113/adventofcode2020
87e3062948444627eb95e1b81e8d1b6db9640ba0
[ "MIT" ]
null
null
null
python3/11.py
mn113/adventofcode2020
87e3062948444627eb95e1b81e8d1b6db9640ba0
[ "MIT" ]
null
null
null
#! /usr/bin/env python3 part = 1 # generate string snapshot of current seating area, for state comparison # @returns {String} def hash_seating(seating): return "".join(["".join([str(seat) for seat in row]) for row in seating]) # pad grid with | and _ to avoid out-of-bounds errors: # @param {string[]} grid di...
27.217949
94
0.542393
44d7bf8fa8ad6da40c52b2f23d769cd6c11b59ae
2,667
py
Python
f5lbaasdriver/test/tempest/services/clients/l7policy_client.py
fsckss/f5-openstack-lbaasv2-driver
678724d5b1eadad89a774af6d5e073512ba4998c
[ "Apache-2.0" ]
null
null
null
f5lbaasdriver/test/tempest/services/clients/l7policy_client.py
fsckss/f5-openstack-lbaasv2-driver
678724d5b1eadad89a774af6d5e073512ba4998c
[ "Apache-2.0" ]
null
null
null
f5lbaasdriver/test/tempest/services/clients/l7policy_client.py
fsckss/f5-openstack-lbaasv2-driver
678724d5b1eadad89a774af6d5e073512ba4998c
[ "Apache-2.0" ]
null
null
null
# coding=utf-8 u"""F5 Networks LBaaSv2 L7 rules client for tempest tests.""" # Copyright 2016 F5 Networks Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/lice...
39.220588
76
0.662542
44d81f4a562fc325b6fdaf33b5effc0dd60d28d3
26,298
py
Python
hgapp/powers/createPowerFormUtilities.py
shadytradesman/The-Contract-Website
d8b353064f91c53ebab951dec784a0a36caba260
[ "Apache-2.0" ]
6
2020-10-03T12:15:05.000Z
2021-10-15T04:43:36.000Z
hgapp/powers/createPowerFormUtilities.py
shadytradesman/The-Contract-Website
d8b353064f91c53ebab951dec784a0a36caba260
[ "Apache-2.0" ]
99
2020-06-04T17:43:56.000Z
2022-03-12T01:07:20.000Z
hgapp/powers/createPowerFormUtilities.py
shadytradesman/The-Contract-Website
d8b353064f91c53ebab951dec784a0a36caba260
[ "Apache-2.0" ]
9
2020-06-06T16:39:09.000Z
2020-10-02T16:24:17.000Z
from django.forms import formset_factory from django.utils import timezone from django.shortcuts import get_object_or_404 import bleach import json from .forms import CreatePowerForm, make_enhancement_form, make_drawback_form, make_parameter_form, \ SystemFieldRollForm, SystemFieldTextForm, MIND_, BODY_, PARRY_ fr...
46.299296
154
0.664994
44d8afe91e73eaf3251897e6e3f5a49e57dc20e9
1,877
py
Python
cargan/loss/pitch.py
mdc202002/cargan
5bfb44a1d8c2de8126e8053bed6078ad2e20819c
[ "MIT" ]
72
2021-10-20T01:17:54.000Z
2022-02-22T07:40:35.000Z
cargan/loss/pitch.py
mdc202002/cargan
5bfb44a1d8c2de8126e8053bed6078ad2e20819c
[ "MIT" ]
7
2021-10-21T21:44:00.000Z
2022-03-17T18:24:42.000Z
cargan/loss/pitch.py
mdc202002/cargan
5bfb44a1d8c2de8126e8053bed6078ad2e20819c
[ "MIT" ]
16
2021-10-20T02:07:46.000Z
2022-03-16T08:18:37.000Z
import torch import torchcrepe ############################################################################### # CREPE perceptual loss ###############################################################################
30.770492
88
0.550879
44d97cec1d9b32b7e2914ecab12420157a4f75cc
223
py
Python
rec_to_nwb/processing/nwb/components/analog/old_fl_analog_builder.py
EMK-Lab/rec_to_nwb
d3550b4c1df9629a3687fa5a9208d142c9c7c7fb
[ "Apache-2.0" ]
8
2020-05-29T13:48:35.000Z
2021-11-19T04:24:48.000Z
rec_to_nwb/processing/nwb/components/analog/old_fl_analog_builder.py
EMK-Lab/rec_to_nwb
d3550b4c1df9629a3687fa5a9208d142c9c7c7fb
[ "Apache-2.0" ]
8
2020-07-13T00:42:35.000Z
2020-11-16T16:17:12.000Z
rec_to_nwb/processing/nwb/components/analog/old_fl_analog_builder.py
EMK-Lab/rec_to_nwb
d3550b4c1df9629a3687fa5a9208d142c9c7c7fb
[ "Apache-2.0" ]
1
2020-08-28T01:34:35.000Z
2020-08-28T01:34:35.000Z
from rec_to_nwb.processing.nwb.components.analog.fl_analog import FlAnalog
24.777778
74
0.775785
44da8f08437fa311200de5d8536d8b820064e77f
438
py
Python
_todo/programme/td9_simple_server.py
Jerome-maker/ensae_teaching_cs
43ea044361ee60c00c85aea354a7b25c21c0fd07
[ "MIT" ]
73
2015-05-12T13:12:11.000Z
2021-12-21T11:44:29.000Z
_todo/programme/td9_simple_server.py
Jerome-maker/ensae_teaching_cs
43ea044361ee60c00c85aea354a7b25c21c0fd07
[ "MIT" ]
90
2015-06-23T11:11:35.000Z
2021-03-31T22:09:15.000Z
_todo/programme/td9_simple_server.py
Jerome-maker/ensae_teaching_cs
43ea044361ee60c00c85aea354a7b25c21c0fd07
[ "MIT" ]
65
2015-01-13T08:23:55.000Z
2022-02-11T22:42:07.000Z
import sys sys.path.append(r"D:\Dupre\_data\program\pyhome") import pyhome3 from pyhome3 import HalLOG from pyhome3.srcpyhome.internet.simple_server.simple_server_custom import run_server HalLOG(OutputPrint=True) HalLOG("running server") run_server(None) HalLOG("end running server") # http://localhost:8080/localfile/...
29.2
112
0.821918
44dbb055e9de0b9ac2e1f37ae940e8d05cde499b
6,230
py
Python
XML_to_Semark/xml_semark.py
prashankkadam/Maer_1
e201866429a1231df7f439797ef100f9e4e6da37
[ "MIT" ]
null
null
null
XML_to_Semark/xml_semark.py
prashankkadam/Maer_1
e201866429a1231df7f439797ef100f9e4e6da37
[ "MIT" ]
null
null
null
XML_to_Semark/xml_semark.py
prashankkadam/Maer_1
e201866429a1231df7f439797ef100f9e4e6da37
[ "MIT" ]
null
null
null
# -*- coding:/ utf-8 -*- """ Created on Tue Jul 23 12:07:20 2019 This piece of software is bound by The MIT License (MIT) Copyright (c) 2019 Prashank Kadam Code written by : Prashank Kadam User name - ADM-PKA187 Email ID : prashank.kadam@maersktankers.com Created on - Tue Jul 30 10:00:14 2019 version : 1.0 ""...
46.148148
117
0.632103
44dc0bec2aec12c7dc578a3fe8630954d0075baf
3,506
py
Python
bot.py
justletterh/cutiecafe
148f4708ab0b852552f6b91a25e084ac0011b2f0
[ "WTFPL" ]
null
null
null
bot.py
justletterh/cutiecafe
148f4708ab0b852552f6b91a25e084ac0011b2f0
[ "WTFPL" ]
null
null
null
bot.py
justletterh/cutiecafe
148f4708ab0b852552f6b91a25e084ac0011b2f0
[ "WTFPL" ]
null
null
null
import discord, jishaku from discord.ext import commands from time import sleep hid=666317117154525185 did=676454199742955530 lid=701254727534510129 owners=[hid,did,lid] status=" ! . " join="""\U00002601 . . . <@&689140834200846374> **welcome sweetheart!! please verify to gain access to the rest of the serve...
40.767442
204
0.733885
44dd2af0e04f2bcde0f9679219132a6850d1e347
1,611
py
Python
src/05_concurrent/concurrent_queue.py
edgardeng/python-advance-interview
59fd7bee8e871acdc7fdfecf2a110db840c47ebb
[ "Apache-2.0" ]
1
2022-03-06T13:03:56.000Z
2022-03-06T13:03:56.000Z
src/05_concurrent/concurrent_queue.py
edgardeng/python-advance-interview
59fd7bee8e871acdc7fdfecf2a110db840c47ebb
[ "Apache-2.0" ]
null
null
null
src/05_concurrent/concurrent_queue.py
edgardeng/python-advance-interview
59fd7bee8e871acdc7fdfecf2a110db840c47ebb
[ "Apache-2.0" ]
null
null
null
from multiprocessing import Queue, Process, Pool, Manager, Pipe from time import sleep ''' ' ' Pool ManagerQueue ' Process,multiprocessing.Queue ''' ''' ' pip u ''' if __name__ == '__main__': # basic_usage() pipe_usage()
19.888889
63
0.605835
44e04665233d45cb831ee9757a5d9394bae0f183
1,504
py
Python
app/blueprints/auth/mail.py
hbradleyiii/spa-base
ac79535d63778dc0793b1e2d7ecac5547927798d
[ "MIT" ]
null
null
null
app/blueprints/auth/mail.py
hbradleyiii/spa-base
ac79535d63778dc0793b1e2d7ecac5547927798d
[ "MIT" ]
null
null
null
app/blueprints/auth/mail.py
hbradleyiii/spa-base
ac79535d63778dc0793b1e2d7ecac5547927798d
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ app.blueprints.auth.email ~~~~~~~~~~~~~~~~~~~~~~~~~ The auth routes for spa-base. """ from flask import current_app, render_template from app.mail import send_mail
40.648649
86
0.619681
44e1e41758ba5e233b4268bbcdad68104bb8d0a0
2,008
py
Python
logger/publish_http.py
scsibug/Raspberry-Pi-Sensor-Node
606cf2a15a72ac1503c7318a39c9f3cc523a9c4a
[ "Unlicense" ]
1
2015-12-23T04:27:16.000Z
2015-12-23T04:27:16.000Z
logger/publish_http.py
scsibug/Raspberry-Pi-Sensor-Node
606cf2a15a72ac1503c7318a39c9f3cc523a9c4a
[ "Unlicense" ]
null
null
null
logger/publish_http.py
scsibug/Raspberry-Pi-Sensor-Node
606cf2a15a72ac1503c7318a39c9f3cc523a9c4a
[ "Unlicense" ]
null
null
null
#!/usr/bin/python import redis import sys import hmac import hashlib import json import decimal import urllib2 import time import argparse import os from settings import * r = redis.StrictRedis(host='localhost', port=6379, db=0) print "using "+os.environ['EVENT_SECRET_KEY'] parser = argparse.ArgumentParser(descriptio...
32.918033
110
0.729084
44e34cab338c76b526dd9c77da1242eee658adad
458
py
Python
cfgov/paying_for_college/migrations/0010_program_median_monthly_debt.py
flacoman91/consumerfinance.gov
64e3d68d1c023ae944baf66a99e54236e5976097
[ "CC0-1.0" ]
37
2020-08-18T19:52:39.000Z
2022-03-23T08:08:41.000Z
cfgov/paying_for_college/migrations/0010_program_median_monthly_debt.py
flacoman91/consumerfinance.gov
64e3d68d1c023ae944baf66a99e54236e5976097
[ "CC0-1.0" ]
338
2020-08-14T20:46:36.000Z
2022-03-31T20:49:32.000Z
cfgov/paying_for_college/migrations/0010_program_median_monthly_debt.py
raft-tech/cfgov-refresh
7c63c31fd6bb95ed4f7d368f1e1252175f0c71ca
[ "CC0-1.0" ]
14
2020-10-21T15:27:03.000Z
2022-03-17T03:16:36.000Z
# -*- coding: utf-8 -*- from django.db import migrations, models
25.444444
116
0.631004
44e4083a3f1aa8e2c31b0a862cea63e31e705b35
502
py
Python
grifo/snippets/api.py
pavelsimo/Grifo
aff3c6e2c2d5ad7598e5c6d022b444d3ed78e0d2
[ "MIT" ]
null
null
null
grifo/snippets/api.py
pavelsimo/Grifo
aff3c6e2c2d5ad7598e5c6d022b444d3ed78e0d2
[ "MIT" ]
null
null
null
grifo/snippets/api.py
pavelsimo/Grifo
aff3c6e2c2d5ad7598e5c6d022b444d3ed78e0d2
[ "MIT" ]
null
null
null
from grifo.snippets.models import Snippet, SnippetCategory from rest_framework import viewsets from grifo.snippets.serializers import SnippetSerializer, SnippetCategorySerializer
29.529412
83
0.806773
44e680a8fac14428a219624044650be58b2e4334
374
py
Python
Tools/AtlasMaker/Assets/listdir.py
fakhirsh/cyclicshift
d255a3cc82703decdbbd477df3fa14791cd528d5
[ "MIT" ]
1
2019-11-12T17:47:23.000Z
2019-11-12T17:47:23.000Z
Tools/AtlasMaker/Assets/listdir.py
fakhirsh/cyclicshift
d255a3cc82703decdbbd477df3fa14791cd528d5
[ "MIT" ]
31
2019-10-25T11:28:21.000Z
2019-12-10T16:57:30.000Z
Tools/AtlasMaker/Assets/listdir.py
fakhirsh/cyclicshift
d255a3cc82703decdbbd477df3fa14791cd528d5
[ "MIT" ]
null
null
null
import os import sys if(len(sys.argv) != 2): print("Error: usage --> python3 lstdir.py [DIRNAME]") exit(0) path = sys.argv[1] files = [] # r=root, d=directories, f = files for r, d, f in os.walk(path): for file in f: if '.png' in file: files.append(os.path.join(r, file)) ...
17.809524
57
0.558824
44e6bc135f28e05f2002c2b95899b3825d3fcdcd
1,022
py
Python
preprocess-scripts/build_movies.py
rohanrb302/End-to-End-Movie-Recommendation--Service
eabbf843e599cbfa4ae17f9e7c7eb0e73fd852d4
[ "Apache-2.0" ]
null
null
null
preprocess-scripts/build_movies.py
rohanrb302/End-to-End-Movie-Recommendation--Service
eabbf843e599cbfa4ae17f9e7c7eb0e73fd852d4
[ "Apache-2.0" ]
null
null
null
preprocess-scripts/build_movies.py
rohanrb302/End-to-End-Movie-Recommendation--Service
eabbf843e599cbfa4ae17f9e7c7eb0e73fd852d4
[ "Apache-2.0" ]
null
null
null
import pandas as pd import requests ratings = pd.read_csv("processed_ratings.csv") # fetch movie details of all the unique movieids from the movie API movie_api_url = "http://128.2.204.215:8080/movie/" movies = [requests.get(movie_api_url + movie).json() for movie in ratings['movieid'].unique()] # filter out records...
48.666667
164
0.746575
44e7490f9c6966672bb9ea8fc88ef245604797cd
182
py
Python
sdk/decorators.py
morais90/sdk.py
97fcb6f7079ae9ae7606265a13c4d7d9670e176c
[ "MIT" ]
null
null
null
sdk/decorators.py
morais90/sdk.py
97fcb6f7079ae9ae7606265a13c4d7d9670e176c
[ "MIT" ]
8
2021-11-17T20:30:21.000Z
2022-03-29T02:23:32.000Z
sdk/decorators.py
morais90/sdk.py
97fcb6f7079ae9ae7606265a13c4d7d9670e176c
[ "MIT" ]
null
null
null
import functools
16.545455
39
0.620879
44e8fc0d72523b5cd8b760e1363b4509f15356c5
450
py
Python
flask_restly/decorator/body.py
gorzechowski/flask-restly
54f28b66f35b0ab12ba4ee37bcd6d39aaf24111a
[ "MIT" ]
16
2018-10-16T20:07:02.000Z
2021-01-07T13:01:05.000Z
flask_restly/decorator/body.py
gorzechowski/flask-restly
54f28b66f35b0ab12ba4ee37bcd6d39aaf24111a
[ "MIT" ]
16
2018-10-16T14:09:55.000Z
2020-01-16T07:52:22.000Z
flask_restly/decorator/body.py
gorzechowski/flask-restly
54f28b66f35b0ab12ba4ee37bcd6d39aaf24111a
[ "MIT" ]
1
2019-04-17T03:20:41.000Z
2019-04-17T03:20:41.000Z
from flask_restly._storage import push_metadata import wrapt
22.5
47
0.62
44ea1e24de27283dea1dea7e3321f3745fc9d01f
400
py
Python
docs/en/conf.py
sdaityari/e-cidadania
2fc7f312145e7cd674033f3d765ff9ff8d4fb23c
[ "Apache-2.0" ]
40
2015-03-26T20:46:16.000Z
2022-02-28T09:15:30.000Z
docs/en/conf.py
zixtor/e-cidadania
2fc7f312145e7cd674033f3d765ff9ff8d4fb23c
[ "Apache-2.0" ]
1
2017-07-29T09:44:12.000Z
2017-08-08T16:27:22.000Z
docs/en/conf.py
zixtor/e-cidadania
2fc7f312145e7cd674033f3d765ff9ff8d4fb23c
[ "Apache-2.0" ]
19
2015-01-13T20:40:49.000Z
2021-11-02T03:53:39.000Z
import sys import os cwd = os.path.dirname(os.path.realpath(__file__)) main_dir = os.path.normpath(cwd + '/../') sys.path.append(main_dir) #print sys.path from config.all import * language = 'en' #html_logo = '../images/logos/logo-en.png' latex_logo = '../images/logos/logo-en.png' latex_documents = [ ('index', 'e...
22.222222
49
0.6875
44f1e748bd22b2cafab30bc7205e2a0aa86a626c
2,191
py
Python
tests/data_source/test_ec.py
KarrLab/Kinetic-Datanator
8aff047fd117033b98eca8ee3b21a8f07c430dec
[ "CC-BY-3.0", "CC0-1.0", "CC-BY-4.0", "MIT" ]
10
2018-11-20T17:04:09.000Z
2021-08-24T18:29:06.000Z
tests/data_source/test_ec.py
KarrLab/Kinetic-Datanator
8aff047fd117033b98eca8ee3b21a8f07c430dec
[ "CC-BY-3.0", "CC0-1.0", "CC-BY-4.0", "MIT" ]
59
2018-11-23T20:42:11.000Z
2020-11-08T19:51:36.000Z
tests/data_source/test_ec.py
KarrLab/Kinetic-Datanator
8aff047fd117033b98eca8ee3b21a8f07c430dec
[ "CC-BY-3.0", "CC0-1.0", "CC-BY-4.0", "MIT" ]
3
2018-12-15T00:53:54.000Z
2021-08-24T18:29:08.000Z
import unittest from datanator.data_source import ec import datanator.config.core import shutil import tempfile from pathlib import Path
42.960784
167
0.614331