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
941cea816007d01476d7254fd327defb9c84327e
1,030
py
Python
Problem-No-23/Approach-No-1.py
sidhant-sriv/comp-project-grade-11
a95a39e4624ec8f19e800296f3ab025de49b0d64
[ "MIT" ]
3
2020-10-23T05:21:23.000Z
2022-01-10T10:58:42.000Z
Problem-No-23/Approach-No-1.py
sidhant-sriv/comp-project-grade-11
a95a39e4624ec8f19e800296f3ab025de49b0d64
[ "MIT" ]
3
2020-10-25T10:44:32.000Z
2020-10-25T16:44:15.000Z
Problem-No-23/Approach-No-1.py
sidhant-sriv/comp-project-grade-11
a95a39e4624ec8f19e800296f3ab025de49b0d64
[ "MIT" ]
6
2020-10-23T05:18:56.000Z
2021-01-14T09:32:35.000Z
''' | Write a program that should prompt the user to type some sentences. It should then print number of words, number of characters, number of digits and number of special characters in it. | |------------------------------------------------------------------------------------------------------------------------------...
44.782609
188
0.446602
941d352a3b96792669ab524440dad9a606275e2e
442
py
Python
primacy/__init__.py
FofanovLab/Primacy
5505b839e33659a50fef725bb5c1c3584827e4f1
[ "MIT" ]
4
2018-10-19T06:39:46.000Z
2019-04-18T04:46:19.000Z
primacy/__init__.py
FofanovLab/Primacy
5505b839e33659a50fef725bb5c1c3584827e4f1
[ "MIT" ]
null
null
null
primacy/__init__.py
FofanovLab/Primacy
5505b839e33659a50fef725bb5c1c3584827e4f1
[ "MIT" ]
1
2018-10-19T06:39:56.000Z
2018-10-19T06:39:56.000Z
import click def error(msg, logger=False): """Prints an error message to stderr and logs.""" click.secho(msg, fg='red', err=True) if logger: logger.error(msg) def warn(msg, logger=False): '''Prints a warning message to stderr.''' click.secho(msg, fg='yellow') if logger: logger...
21.047619
53
0.615385
941fed1bb03847ac97ba42232f45ea371b035a81
18,584
py
Python
mixture_tensorflow/src/gmmvae.py
yixinwang/lidvae-public
8a0a6a5873888ec68c67dd1802bc42294abe2330
[ "MIT" ]
1
2022-02-02T12:50:05.000Z
2022-02-02T12:50:05.000Z
mixture_tensorflow/src/gmmvae.py
yixinwang/lidvae-public
8a0a6a5873888ec68c67dd1802bc42294abe2330
[ "MIT" ]
null
null
null
mixture_tensorflow/src/gmmvae.py
yixinwang/lidvae-public
8a0a6a5873888ec68c67dd1802bc42294abe2330
[ "MIT" ]
null
null
null
import os import time from datetime import datetime import numpy as np import numpy.random as npr import matplotlib matplotlib.use('Agg') import matplotlib.pyplot as plt import tensorflow as tf print(tf.__version__) from tensorflow.python.client import device_lib device_lib.list_local_devices() from tensorflow.contr...
46.811083
271
0.632211
9420f4b16f63eff7579a1baa1337f88c073a8797
65
py
Python
run.py
TheBotCrator/Cools3
c3711887c6ca61d5bce99573367705c707f17945
[ "MIT" ]
null
null
null
run.py
TheBotCrator/Cools3
c3711887c6ca61d5bce99573367705c707f17945
[ "MIT" ]
null
null
null
run.py
TheBotCrator/Cools3
c3711887c6ca61d5bce99573367705c707f17945
[ "MIT" ]
null
null
null
import BonezBot.bot __author__ = "SpBonez" __version__ = "0.0.1"
16.25
22
0.738462
942279c3334fa764daedae602da97b0a679adcb5
1,168
py
Python
deployment/src/webapp_main.py
nesfit/pyspark-plaso
4e0680a1a79a5aebfbc7ae983da30841bf984d95
[ "Apache-2.0" ]
2
2020-02-09T01:11:08.000Z
2021-09-17T04:16:31.000Z
deployment/src/webapp_main.py
nesfit/pyspark-plaso
4e0680a1a79a5aebfbc7ae983da30841bf984d95
[ "Apache-2.0" ]
null
null
null
deployment/src/webapp_main.py
nesfit/pyspark-plaso
4e0680a1a79a5aebfbc7ae983da30841bf984d95
[ "Apache-2.0" ]
1
2021-03-17T09:47:01.000Z
2021-03-17T09:47:01.000Z
# -*- coding: utf-8 -*- if __name__ == "__main__": # Spark Session and Spark Context from pyspark.sql import SparkSession spark = SparkSession.builder \ .appName("PySpark Plaso WebAPI Application") \ .getOrCreate() sc = spark.sparkContext from os import getenv from plaso.tarz...
30.736842
91
0.669521
94228f07bd58a62807a2239f88f4d780e3989c40
5,892
py
Python
research/cv/StackedHourglass/src/dataset/DatasetGenerator.py
leelige/mindspore
5199e05ba3888963473f2b07da3f7bca5b9ef6dc
[ "Apache-2.0" ]
1
2021-11-18T08:17:44.000Z
2021-11-18T08:17:44.000Z
research/cv/StackedHourglass/src/dataset/DatasetGenerator.py
leelige/mindspore
5199e05ba3888963473f2b07da3f7bca5b9ef6dc
[ "Apache-2.0" ]
null
null
null
research/cv/StackedHourglass/src/dataset/DatasetGenerator.py
leelige/mindspore
5199e05ba3888963473f2b07da3f7bca5b9ef6dc
[ "Apache-2.0" ]
2
2019-09-01T06:17:04.000Z
2019-10-04T08:39:45.000Z
# Copyright 2021 Huawei Technologies Co., Ltd # # 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...
36.37037
110
0.54888
94231734cc463afef8a707d32dbd418d60688b77
9,782
py
Python
tools/filereader.py
SaibboRiginal/Python_remote_PLC
e0034e363891ebac4f8704f632900530174d22da
[ "MIT" ]
null
null
null
tools/filereader.py
SaibboRiginal/Python_remote_PLC
e0034e363891ebac4f8704f632900530174d22da
[ "MIT" ]
null
null
null
tools/filereader.py
SaibboRiginal/Python_remote_PLC
e0034e363891ebac4f8704f632900530174d22da
[ "MIT" ]
null
null
null
# Essential modules import import csv, os # Variables modules import from tools import * # Importing custom Utility modules from utility.logger import MyLogger log = MyLogger("csv-reader") # Logger if __name__ == "__main__": asd = CSVR(r"C:\Java\Visual Basic Code\source\mirror 4.0\ABSOLUTE3\PYTHON\files\asd.csv")...
40.92887
149
0.508792
94239941557b0ef32f8bdc3e929a8b7a0ca9bab9
1,087
py
Python
calc/calculations/calculation.py
dhruvshah1996/Project3
d87ad37f6cf2de0d3402c71d21b25258946aad69
[ "MIT" ]
null
null
null
calc/calculations/calculation.py
dhruvshah1996/Project3
d87ad37f6cf2de0d3402c71d21b25258946aad69
[ "MIT" ]
null
null
null
calc/calculations/calculation.py
dhruvshah1996/Project3
d87ad37f6cf2de0d3402c71d21b25258946aad69
[ "MIT" ]
null
null
null
"""Calculation Class"""
47.26087
100
0.678933
94241de093c4473da5fbd63e55e70c05f056f359
2,390
py
Python
tests/test_models/test_user.py
adrian-blip/AirBnB_clone_v2
c27a9d923631c78ec437e4608b5c98f3f9fd1cad
[ "MIT" ]
null
null
null
tests/test_models/test_user.py
adrian-blip/AirBnB_clone_v2
c27a9d923631c78ec437e4608b5c98f3f9fd1cad
[ "MIT" ]
null
null
null
tests/test_models/test_user.py
adrian-blip/AirBnB_clone_v2
c27a9d923631c78ec437e4608b5c98f3f9fd1cad
[ "MIT" ]
1
2021-07-07T21:37:54.000Z
2021-07-07T21:37:54.000Z
#!/usr/bin/python3 """ =============================================================================== =============================================================================== """ from models....
39.180328
80
0.454393
94248c4b47d73f1af610ca1e30110952cd6738d6
1,236
py
Python
filter_local_tool/test_filter.py
g-freire/web-parser-tools
edbec7b57b33eea8a203e1b32a8c911ef1a22956
[ "MIT" ]
1
2019-09-25T21:22:14.000Z
2019-09-25T21:22:14.000Z
filter_local_tool/test_filter.py
g-freire/web-parser-tools
edbec7b57b33eea8a203e1b32a8c911ef1a22956
[ "MIT" ]
null
null
null
filter_local_tool/test_filter.py
g-freire/web-parser-tools
edbec7b57b33eea8a203e1b32a8c911ef1a22956
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import pytest from filter_tool import * # critical URL's that can break the algo product_pattern = ["https://www.epocacosmeticos.com.br/some_product/p","https://www.epocacosmeticos.com.br/sabonete-eme-barra-dermage-secatriz/p"] duplicates = ["https://www.epocacosmeticos....
56.181818
239
0.749191
94255f71fe2c2edb4e8cc5ae13b412e91881739d
832
py
Python
src/Reset Ease Automatically/utils.py
RisingOrange/Reset-Ease-Automatically
7c2fd16b7cac32ba499d87f681c75cfcfb617405
[ "MIT" ]
5
2020-09-06T10:51:39.000Z
2021-11-11T01:46:06.000Z
src/Reset Ease Automatically/utils.py
RisingOrange/Reset-Ease-Automatically
7c2fd16b7cac32ba499d87f681c75cfcfb617405
[ "MIT" ]
6
2020-09-06T11:28:47.000Z
2021-06-13T00:22:03.000Z
src/Reset Ease Automatically/utils.py
RisingOrange/Reset-Ease-Automatically
7c2fd16b7cac32ba499d87f681c75cfcfb617405
[ "MIT" ]
1
2020-09-06T10:52:43.000Z
2020-09-06T10:52:43.000Z
from aqt import mw from .config import get, set
27.733333
70
0.671875
942599ab210e3bb5b077aab6360a6c4298208c75
507
py
Python
zhihuer/celery.py
guojy1314/stw1209
043889688c2ed55884b8ddde9cdf6949ee52f905
[ "MIT" ]
85
2018-07-15T06:45:59.000Z
2021-06-26T06:51:38.000Z
zhihuer/celery.py
guojy1314/stw1209
043889688c2ed55884b8ddde9cdf6949ee52f905
[ "MIT" ]
8
2020-02-12T02:26:58.000Z
2022-03-12T00:08:05.000Z
zhihuer/celery.py
guojy1314/stw1209
043889688c2ed55884b8ddde9cdf6949ee52f905
[ "MIT" ]
26
2019-01-26T18:05:11.000Z
2021-06-26T06:51:39.000Z
# zhihuer, # cmd: celery -A zhihuer worker -l info (-A celery) # celery from __future__ import absolute_import, unicode_literals import os from celery import Celery from django.conf import settings # os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'zhihuer.settings') # Celery app = Celery('zhihuer') # djangosettin...
25.35
67
0.808679
9425fd387b206e24b54e8691b3da5475d83b5d32
1,122
py
Python
cogs/youtube.py
RuiL1904/ruibot-discord.py
588406ef2dbebd7d976237f1d876054d641933f6
[ "MIT" ]
null
null
null
cogs/youtube.py
RuiL1904/ruibot-discord.py
588406ef2dbebd7d976237f1d876054d641933f6
[ "MIT" ]
null
null
null
cogs/youtube.py
RuiL1904/ruibot-discord.py
588406ef2dbebd7d976237f1d876054d641933f6
[ "MIT" ]
null
null
null
import os import nextcord as discord from nextcord.ext import commands import pytube
28.769231
68
0.603387
94267a216f2fcaedda83675c1ece9c6b384d5d17
7,273
py
Python
pysnmp/CTRON-SSR-CONFIG-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
11
2021-02-02T16:27:16.000Z
2021-08-31T06:22:49.000Z
pysnmp/CTRON-SSR-CONFIG-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
75
2021-02-24T17:30:31.000Z
2021-12-08T00:01:18.000Z
pysnmp/CTRON-SSR-CONFIG-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module CTRON-SSR-CONFIG-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/CTRON-SSR-CONFIG-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 18:15:46 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (defau...
115.444444
751
0.74371
942894d912ee4a7ba9f0aefb2767a546ced6f224
19,551
py
Python
demisto_client/demisto_api/models/widget.py
guytest/demisto-py
8ca4f56a6177668151b5656cbe675a377003c0e9
[ "Apache-2.0" ]
59
2017-05-04T05:48:00.000Z
2022-02-27T21:06:01.000Z
demisto_client/demisto_api/models/widget.py
guytest/demisto-py
8ca4f56a6177668151b5656cbe675a377003c0e9
[ "Apache-2.0" ]
44
2017-05-09T17:42:43.000Z
2022-03-30T05:55:44.000Z
demisto_client/demisto_api/models/widget.py
guytest/demisto-py
8ca4f56a6177668151b5656cbe675a377003c0e9
[ "Apache-2.0" ]
37
2017-05-06T04:30:32.000Z
2022-02-15T04:59:00.000Z
# coding: utf-8 """ Demisto API This is the public REST API to integrate with the demisto server. HTTP request can be sent using any HTTP-client. For an example dedicated client take a look at: https://github.com/demisto/demisto-py. Requests must include API-key that can be generated in the Demisto web clie...
30.596244
1,584
0.591223
9428c808c828141ff45952921a511681e35a77df
410
py
Python
saliency_web_mapper/config/environment.py
HeosSacer/saliency_web_mapper
a2fd744b821086dc1a0af0498361207f7bcddee6
[ "MIT" ]
null
null
null
saliency_web_mapper/config/environment.py
HeosSacer/saliency_web_mapper
a2fd744b821086dc1a0af0498361207f7bcddee6
[ "MIT" ]
null
null
null
saliency_web_mapper/config/environment.py
HeosSacer/saliency_web_mapper
a2fd744b821086dc1a0af0498361207f7bcddee6
[ "MIT" ]
null
null
null
from saliency_web_mapper.config.typesafe_dataclass import TypesafeDataclass from typing import List, Dict, Tuple, Sequence
25.625
75
0.707317
942ac8198c8de838154ed09c3da64a2f9cbb9cfe
1,306
py
Python
setup.py
web-eid/mobile-id-rest-python-client
31586f505121c016f6d0be5690205f0ca9310dae
[ "MIT" ]
null
null
null
setup.py
web-eid/mobile-id-rest-python-client
31586f505121c016f6d0be5690205f0ca9310dae
[ "MIT" ]
null
null
null
setup.py
web-eid/mobile-id-rest-python-client
31586f505121c016f6d0be5690205f0ca9310dae
[ "MIT" ]
null
null
null
import os from setuptools import find_packages, setup VERSION = "0.0.1" # allow setup.py to be run from any path os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir))) description = "Estonian Mobile-ID Python client is an Python library that can be used for easy integration with Mobile-ID RES...
32.65
135
0.680704
942b66c8fc0310ad42fc87a38834d2efbab930c1
185
py
Python
tests/core/test_setproctitle.py
STATION-I/STAI-blockchain
a8ca05cbd2602eee7c2e4ce49c74c447a091ef0f
[ "Apache-2.0" ]
10
2021-10-02T18:33:56.000Z
2021-11-14T17:10:48.000Z
tests/core/test_setproctitle.py
STATION-I/STAI-blockchain
a8ca05cbd2602eee7c2e4ce49c74c447a091ef0f
[ "Apache-2.0" ]
14
2021-10-07T22:10:15.000Z
2021-12-21T09:13:49.000Z
tests/core/test_setproctitle.py
STATION-I/STAI-blockchain
a8ca05cbd2602eee7c2e4ce49c74c447a091ef0f
[ "Apache-2.0" ]
6
2021-10-29T19:36:59.000Z
2021-12-19T19:52:57.000Z
import unittest from stai.util.setproctitle import setproctitle
20.555556
47
0.778378
942c0a693ba17d410d8999d5102376d8d5967101
8,825
py
Python
eurlex2lexparency/transformation/utils/liap.py
Lexparency/eurlex2lexparency
b4958f6fea5c2207eb06d2c3b91be798720c94bd
[ "MIT" ]
null
null
null
eurlex2lexparency/transformation/utils/liap.py
Lexparency/eurlex2lexparency
b4958f6fea5c2207eb06d2c3b91be798720c94bd
[ "MIT" ]
null
null
null
eurlex2lexparency/transformation/utils/liap.py
Lexparency/eurlex2lexparency
b4958f6fea5c2207eb06d2c3b91be798720c94bd
[ "MIT" ]
null
null
null
""" """ import re from collections import namedtuple from functools import lru_cache from lexref.model import Value __all__ = ['ListItemsAndPatterns'] romans_pattern = Value.tag_2_pattern('EN')['ROM_L'].pattern.strip('b\\()') _eur_lex_item_patterns_en = { # key: (itemization-character-pattern, ordered [bool], fi...
47.446237
115
0.546062
942c240cacbca2c4496639534336a931e698439a
409
py
Python
setup.py
JulianGindi/auto-semver
8e98a341155ac44a698310b08177c3e8c27aa201
[ "MIT" ]
5
2019-12-18T17:35:09.000Z
2021-07-06T01:20:58.000Z
setup.py
JulianGindi/auto-increment-semver
8e98a341155ac44a698310b08177c3e8c27aa201
[ "MIT" ]
null
null
null
setup.py
JulianGindi/auto-increment-semver
8e98a341155ac44a698310b08177c3e8c27aa201
[ "MIT" ]
1
2020-11-13T05:51:35.000Z
2020-11-13T05:51:35.000Z
from setuptools import setup setup( name="auto-semver", version="0.8.0", description="Semver swiss-army knife", url="http://github.com/juliangindi/auto-semver", author="Julian Gindi", author_email="julian@gindi.io", license="MIT", packages=["auto_semver"], zip_safe=False, entry_...
22.722222
69
0.650367
942e67e6084cbe0943f0556a6207b5e4ed9dc683
42,733
py
Python
libyang/schema.py
pepa-cz/libyang-python
634fc348c775890467d1b488bc666af4a2f3ebd1
[ "MIT" ]
null
null
null
libyang/schema.py
pepa-cz/libyang-python
634fc348c775890467d1b488bc666af4a2f3ebd1
[ "MIT" ]
null
null
null
libyang/schema.py
pepa-cz/libyang-python
634fc348c775890467d1b488bc666af4a2f3ebd1
[ "MIT" ]
null
null
null
# Copyright (c) 2018-2019 Robin Jarry # Copyright (c) 2021 RACOM s.r.o. # SPDX-License-Identifier: MIT from contextlib import suppress from typing import IO, Any, Dict, Iterator, Optional, Tuple, Union from _libyang import ffi, lib from .util import IOType, c2str, init_output, ly_array_iter, str2c # ---------------...
32.009738
100
0.556034
942e6e33a83242bb266836b4cf6d35a4a245ea62
568
py
Python
2020/day-05/day-05b.py
BenjaminEHowe/advent-of-code
7d869bbadc60b1c9b03a54edf698b89cc04eab9b
[ "MIT" ]
null
null
null
2020/day-05/day-05b.py
BenjaminEHowe/advent-of-code
7d869bbadc60b1c9b03a54edf698b89cc04eab9b
[ "MIT" ]
null
null
null
2020/day-05/day-05b.py
BenjaminEHowe/advent-of-code
7d869bbadc60b1c9b03a54edf698b89cc04eab9b
[ "MIT" ]
null
null
null
seats = [] with open("input.txt") as f: for line in f: line = line.replace("\n", "") seat = {} seat["raw"] = line seat["row"] = int(seat["raw"][:7].replace("F", "0").replace("B", "1"), 2) seat["column"] = int(seat["raw"][-3:].replace("L", "0").replace("R", "1"), 2) s...
31.555556
85
0.492958
942f5cd48c58389e331452b5be336e85b4cdd20b
415
py
Python
crmsystem/__init__.py
iomegak12/pythondockertry
dd91dc57a09141f94cb0a73e18a8ad9da4d5aa85
[ "MIT" ]
null
null
null
crmsystem/__init__.py
iomegak12/pythondockertry
dd91dc57a09141f94cb0a73e18a8ad9da4d5aa85
[ "MIT" ]
null
null
null
crmsystem/__init__.py
iomegak12/pythondockertry
dd91dc57a09141f94cb0a73e18a8ad9da4d5aa85
[ "MIT" ]
null
null
null
from .config import GlobalConfiguration from .controllers import DataController from .utilities import ErrorProvider, CustomerEncoder, OrderEncoder, PrettyTableGenerator from .services import CustomerService, OrderService from .models import Customer, Order, CRMSystemError from .decorators import Logger from .routing i...
41.5
89
0.857831
942f69fda255bb1418c7d2e2276adda04e3b0630
25,683
py
Python
aliquotmaf/subcommands/vcf_to_aliquot/runners/gdc_1_0_0_aliquot.py
NCI-GDC/aliquot-maf-tools
6aec9490ab7194ec605bf02c4c8e7c1cfca53973
[ "Apache-2.0" ]
1
2020-09-18T17:52:37.000Z
2020-09-18T17:52:37.000Z
aliquotmaf/subcommands/vcf_to_aliquot/runners/gdc_1_0_0_aliquot.py
NCI-GDC/aliquot-maf-tools
6aec9490ab7194ec605bf02c4c8e7c1cfca53973
[ "Apache-2.0" ]
null
null
null
aliquotmaf/subcommands/vcf_to_aliquot/runners/gdc_1_0_0_aliquot.py
NCI-GDC/aliquot-maf-tools
6aec9490ab7194ec605bf02c4c8e7c1cfca53973
[ "Apache-2.0" ]
1
2020-08-14T08:49:39.000Z
2020-08-14T08:49:39.000Z
"""Main vcf2maf logic for spec gdc-1.0.0-aliquot""" import urllib.parse from operator import itemgetter import pysam from maflib.header import MafHeader, MafHeaderRecord from maflib.sort_order import BarcodesAndCoordinate from maflib.sorter import MafSorter from maflib.validation import ValidationStringency from mafli...
35.870112
95
0.576373
9430c7d26f1a2d5ac3fef69dacab439ea6ec2d2d
477
py
Python
shortly/settings.py
fengsp/shortly
29532523c2db297c995a7e94c84df6d884ce240e
[ "BSD-3-Clause" ]
11
2015-01-01T03:22:09.000Z
2021-02-12T14:08:06.000Z
shortly/settings.py
fengsp/shortly
29532523c2db297c995a7e94c84df6d884ce240e
[ "BSD-3-Clause" ]
null
null
null
shortly/settings.py
fengsp/shortly
29532523c2db297c995a7e94c84df6d884ce240e
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- """ shortly.settings ~~~~~~~~~~~~~~~~ Shortly config. :copyright: (c) 2014 by fsp. :license: BSD. """ import os DEBUG = False # Detect environment by whether debug named file exists or not if os.path.exists(os.path.join(os.path.dirname(__file__), 'debug')): DEBUG = T...
17.035714
68
0.607966
9430d0d4a88447aeee51cd6bf4204e6a50abf192
20,916
py
Python
examples/fiber_tractography/TractographyHelper.py
MIC-DKFZ/cmdint
b4a222430a82d38f339e2072ef2bad26e94d146b
[ "Apache-2.0" ]
8
2019-02-13T15:55:01.000Z
2020-07-07T14:38:23.000Z
examples/fiber_tractography/TractographyHelper.py
MIC-DKFZ/cmdint
b4a222430a82d38f339e2072ef2bad26e94d146b
[ "Apache-2.0" ]
null
null
null
examples/fiber_tractography/TractographyHelper.py
MIC-DKFZ/cmdint
b4a222430a82d38f339e2072ef2bad26e94d146b
[ "Apache-2.0" ]
1
2021-02-21T12:47:33.000Z
2021-02-21T12:47:33.000Z
from cmdint import CmdInterface import numpy as np from shutil import copyfile from dipy.io import read_bvals_bvecs import os """ This exapmple contains two classes that help with fiber tractography using MITK Diffusion and MRtrix. It is only intended as a larger example of multiple usages of CmdInterface and NOT (yet...
48.755245
140
0.616275
943433e7904bd6cd00af3cb006c316f8db03e34e
3,063
py
Python
tests/misc/normalize_volume.py
ysatapathy23/TomoEncoders
6f3f8c6dd088e4df968337e33a034a42d1f6c799
[ "BSD-3-Clause" ]
1
2021-06-23T18:09:57.000Z
2021-06-23T18:09:57.000Z
tests/misc/normalize_volume.py
ysatapathy23/TomoEncoders
6f3f8c6dd088e4df968337e33a034a42d1f6c799
[ "BSD-3-Clause" ]
3
2021-08-24T17:53:48.000Z
2021-11-26T07:50:43.000Z
tests/misc/normalize_volume.py
ysatapathy23/TomoEncoders
6f3f8c6dd088e4df968337e33a034a42d1f6c799
[ "BSD-3-Clause" ]
5
2021-07-01T20:56:24.000Z
2022-03-22T18:25:47.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ """ import sys import matplotlib.pyplot as plt import numpy as np # from tomo_encoders.misc_utils.feature_maps_vis import view_midplanes import cupy as cp import time import h5py #from recon_subvol import fbp_filter, recon_patch # from tomo_encoders import ...
28.100917
109
0.625531
9436ee02169dab30dcc57c297b85baa82e5a02a7
246
py
Python
deeptrade/__init__.py
deeptrade-tech/deeptrade_api
4612f1057ff4532b3f4b96f3fe07c2b7150f80b7
[ "MIT" ]
1
2019-09-30T05:33:24.000Z
2019-09-30T05:33:24.000Z
deeptrade/__init__.py
deeptrade-tech/deeptrade_api
4612f1057ff4532b3f4b96f3fe07c2b7150f80b7
[ "MIT" ]
null
null
null
deeptrade/__init__.py
deeptrade-tech/deeptrade_api
4612f1057ff4532b3f4b96f3fe07c2b7150f80b7
[ "MIT" ]
null
null
null
from __future__ import absolute_import, division, print_function # configuration variables api_key = None api_base = "https://www.deeptrade.ch/" # API sentiment from deeptrade.sentiment import * # API stocks from deeptrade.stocks import *
15.375
64
0.776423
9437b4664dddc71767596c5c57b1d9b243110f39
1,415
py
Python
Movie_IMDB/process_3.py
likelyzhao/Homeland
b639add8f302662bd64c5cd36cdf1cd267b1f55e
[ "Apache-2.0" ]
null
null
null
Movie_IMDB/process_3.py
likelyzhao/Homeland
b639add8f302662bd64c5cd36cdf1cd267b1f55e
[ "Apache-2.0" ]
null
null
null
Movie_IMDB/process_3.py
likelyzhao/Homeland
b639add8f302662bd64c5cd36cdf1cd267b1f55e
[ "Apache-2.0" ]
null
null
null
# -*- coding:utf-8 -*- import os import json access_key = 'Access_Key' secret_key = 'Secret_Key' bucket_name = 'Bucket_Name' bucket_based_url = "Based_url" localfile = 'bbb.png' json_file = 'splits.json' threshold = 0.5 #movie_header = 'http://ozqw10x19.bkt.clouddn.com/IMDBTOP250/' expand_range =3 with open(json_fi...
23.583333
119
0.688339
94388603ebcb4df77f1d83d5d6abd9980c49bf05
261
py
Python
maad/cluster/__init__.py
jflatorreg/scikit-maad
f7c4ac1370dcf416b7014f94784d71549623593f
[ "BSD-3-Clause" ]
3
2021-04-17T21:13:57.000Z
2021-04-25T00:55:18.000Z
maad/cluster/__init__.py
jflatorreg/scikit-maad
f7c4ac1370dcf416b7014f94784d71549623593f
[ "BSD-3-Clause" ]
null
null
null
maad/cluster/__init__.py
jflatorreg/scikit-maad
f7c4ac1370dcf416b7014f94784d71549623593f
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- """ cluster functions for scikit-maad Cluster regions of interest using High Dimensional Data Clsutering (HDDC). """ from .hdda import (HDDC) from .cluster_func import (do_PCA) __all__ = ['HDDC', 'do_PCA']
18.642857
76
0.628352
943af4c9b4f0d02449e03edde4cb90f8a5ee5e58
929
py
Python
pipng/imagescale/Globals.py
nwiizo/joke
808c4c998cc7f5b7f6f3fb5a3ce421588a70c087
[ "MIT" ]
1
2017-01-11T06:12:24.000Z
2017-01-11T06:12:24.000Z
pipng/imagescale/Globals.py
ShuyaMotouchi/joke
808c4c998cc7f5b7f6f3fb5a3ce421588a70c087
[ "MIT" ]
null
null
null
pipng/imagescale/Globals.py
ShuyaMotouchi/joke
808c4c998cc7f5b7f6f3fb5a3ce421588a70c087
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # Copyright 2012-13 Qtrac Ltd. All rights reserved. # This program or module is free software: you can redistribute it # and/or modify it under the terms of the GNU General Public License as # published by the Free Software Foundation, either version 3 of the # License, or (at your option) ...
38.708333
73
0.722282
943af91b6e1ff66300bbebded33c0dacc1346cc2
964
py
Python
explore_dataset.py
andreybicalho/attention-ocr-1
f963eebd85b6d0f239935c2fe5aa1dfb1f95d387
[ "MIT" ]
null
null
null
explore_dataset.py
andreybicalho/attention-ocr-1
f963eebd85b6d0f239935c2fe5aa1dfb1f95d387
[ "MIT" ]
null
null
null
explore_dataset.py
andreybicalho/attention-ocr-1
f963eebd85b6d0f239935c2fe5aa1dfb1f95d387
[ "MIT" ]
null
null
null
import random from PIL import Image from captcha.image import ImageCaptcha from utils.dataset import CaptchaDataset from utils.img_util import display_images from torchvision import transforms import numpy as np img_width = 160 img_height = 60 n_chars = 7 chars = list('1234567890abcdefghijklmnopqrstuvwxyzABCDEFGHI...
23.512195
78
0.73444
943b0458f99c1e70af51f3bcd5f158a987eb40cf
4,197
py
Python
features/extract_features_buckeye.py
kamperh/bucktsong_eskmeans
fe1e19aa77bb47e0c71f22f75edff87a25edca94
[ "MIT" ]
1
2021-02-18T14:44:17.000Z
2021-02-18T14:44:17.000Z
features/extract_features_buckeye.py
kamperh/bucktsong_eskmeans
fe1e19aa77bb47e0c71f22f75edff87a25edca94
[ "MIT" ]
null
null
null
features/extract_features_buckeye.py
kamperh/bucktsong_eskmeans
fe1e19aa77bb47e0c71f22f75edff87a25edca94
[ "MIT" ]
null
null
null
#!/usr/bin/env python """ Extract MFCC and filterbank features for the Buckeye dataset. Author: Herman Kamper Contact: kamperh@gmail.com Date: 2019, 2021 """ from datetime import datetime from os import path from tqdm import tqdm import argparse import numpy as np import os import sys sys.path.append("..") from pa...
30.413043
79
0.637122
943b21bad087472d917929d954b13b2a355101b8
190
py
Python
by-session/ta-921/j8/atal_matal.py
amiraliakbari/sharif-mabani-python
5d14a08d165267fe71c28389ddbafe29af7078c5
[ "MIT" ]
2
2015-04-29T20:59:35.000Z
2018-09-26T13:33:43.000Z
by-session/ta-921/j8/atal_matal.py
amiraliakbari/sharif-mabani-python
5d14a08d165267fe71c28389ddbafe29af7078c5
[ "MIT" ]
null
null
null
by-session/ta-921/j8/atal_matal.py
amiraliakbari/sharif-mabani-python
5d14a08d165267fe71c28389ddbafe29af7078c5
[ "MIT" ]
null
null
null
n = int(input()) print 1 + f(range(n*2), 0) / 2
19
34
0.426316
943b27a6307e3dd5baf6b7f00cd5eae08fb5833d
861
py
Python
examples/old-examples/pygame/01_hello_world.py
Vallentin/ModernGL
18ce7d3f28c68b2d305da332ae0afd221dc043d1
[ "MIT" ]
null
null
null
examples/old-examples/pygame/01_hello_world.py
Vallentin/ModernGL
18ce7d3f28c68b2d305da332ae0afd221dc043d1
[ "MIT" ]
null
null
null
examples/old-examples/pygame/01_hello_world.py
Vallentin/ModernGL
18ce7d3f28c68b2d305da332ae0afd221dc043d1
[ "MIT" ]
1
2020-07-10T23:26:36.000Z
2020-07-10T23:26:36.000Z
import struct import ModernGL import pygame from pygame.locals import DOUBLEBUF, OPENGL pygame.init() pygame.display.set_mode((800, 600), DOUBLEBUF | OPENGL) ctx = ModernGL.create_context() vert = ctx.vertex_shader(''' #version 330 in vec2 vert; void main() { gl_Position = vec4(vert, 0.0, 1.0); ...
19.568182
68
0.609756
943b73919f38e3439cb685654e78f62bab98a195
1,375
py
Python
phpme/binx/console.py
eghojansu/phpme
441129e0eaa91c571639dcf87a8e7d0c325aed39
[ "MIT" ]
null
null
null
phpme/binx/console.py
eghojansu/phpme
441129e0eaa91c571639dcf87a8e7d0c325aed39
[ "MIT" ]
null
null
null
phpme/binx/console.py
eghojansu/phpme
441129e0eaa91c571639dcf87a8e7d0c325aed39
[ "MIT" ]
null
null
null
import os, json, subprocess
28.645833
100
0.546182
943bf0558ebf6b4b809909be2b8a669c3b8ef8b4
1,189
py
Python
app/core/tests/test_models.py
prafullkumar41/recipe-app-api
f66d076aafa6c8bb727d7f9bd03955c986e811c9
[ "MIT" ]
null
null
null
app/core/tests/test_models.py
prafullkumar41/recipe-app-api
f66d076aafa6c8bb727d7f9bd03955c986e811c9
[ "MIT" ]
null
null
null
app/core/tests/test_models.py
prafullkumar41/recipe-app-api
f66d076aafa6c8bb727d7f9bd03955c986e811c9
[ "MIT" ]
null
null
null
from django.test import TestCase from django.contrib.auth import get_user_model
29
69
0.644239
943c183a8cf29871bd50107c7e20c5b1b41d6909
15,977
py
Python
oyProjectManager/models/entity.py
gcodebackups/oyprojectmanager
3085ecbe1cc04a73ec69b4848b789009546feae7
[ "BSD-2-Clause" ]
1
2020-10-22T00:14:01.000Z
2020-10-22T00:14:01.000Z
oyProjectManager/models/entity.py
gcodebackups/oyprojectmanager
3085ecbe1cc04a73ec69b4848b789009546feae7
[ "BSD-2-Clause" ]
null
null
null
oyProjectManager/models/entity.py
gcodebackups/oyprojectmanager
3085ecbe1cc04a73ec69b4848b789009546feae7
[ "BSD-2-Clause" ]
2
2016-12-02T10:15:08.000Z
2020-02-15T15:51:21.000Z
# -*- coding: utf-8 -*- # Copyright (c) 2009-2014, Erkan Ozgur Yilmaz # # This module is part of oyProjectManager and is released under the BSD 2 # License: http://www.opensource.org/licenses/BSD-2-Clause from exceptions import TypeError import os import jinja2 from sqlalchemy import UniqueConstraint, Column, String,...
32.018036
90
0.632972
943cbbdb31ae448fb7d75fccc1ef80e65961de28
718
py
Python
setup.py
Omerdan03/dog_scraper
85c22ec7b378bb2736fd7c8ef0314616c957dbc1
[ "MIT" ]
null
null
null
setup.py
Omerdan03/dog_scraper
85c22ec7b378bb2736fd7c8ef0314616c957dbc1
[ "MIT" ]
null
null
null
setup.py
Omerdan03/dog_scraper
85c22ec7b378bb2736fd7c8ef0314616c957dbc1
[ "MIT" ]
null
null
null
import os from setuptools import setup, find_namespace_packages requirements = open('requirements.txt').readlines() with open(os.path.normpath(os.path.join(__file__, '../scraper/VERSION'))) as f: __version__ = f.readline(0) setup(name='dog-scraper', version=__version__, description='A repo for scrapp...
34.190476
90
0.667131
943e1d6391bc96c958af3f46e434cc6fac7f09c7
568
py
Python
uni_ticket/migrations/0176_ticketcategorywsprotocollo_protocollo_uo_rpa_matricola.py
biotech2021/uniTicket
8c441eac18e67a983e158326b1c4b82f00f1f1ef
[ "Apache-2.0" ]
15
2019-09-06T06:47:08.000Z
2022-01-17T06:39:54.000Z
uni_ticket/migrations/0176_ticketcategorywsprotocollo_protocollo_uo_rpa_matricola.py
biotech2021/uniTicket
8c441eac18e67a983e158326b1c4b82f00f1f1ef
[ "Apache-2.0" ]
69
2019-09-06T12:03:19.000Z
2022-03-26T14:30:53.000Z
uni_ticket/migrations/0176_ticketcategorywsprotocollo_protocollo_uo_rpa_matricola.py
biotech2021/uniTicket
8c441eac18e67a983e158326b1c4b82f00f1f1ef
[ "Apache-2.0" ]
13
2019-09-11T10:54:20.000Z
2021-11-23T09:09:19.000Z
# Generated by Django 3.2.7 on 2021-11-11 09:18 from django.db import migrations, models
29.894737
158
0.684859
943eeb9749e082db09f5227b018be34955839421
1,015
py
Python
slowfast/config/custom_config.py
bqhuyy/SlowFast-clean
3dc000dc9fe1951ab70cb835bfb91b71a07d8f63
[ "Apache-2.0" ]
null
null
null
slowfast/config/custom_config.py
bqhuyy/SlowFast-clean
3dc000dc9fe1951ab70cb835bfb91b71a07d8f63
[ "Apache-2.0" ]
null
null
null
slowfast/config/custom_config.py
bqhuyy/SlowFast-clean
3dc000dc9fe1951ab70cb835bfb91b71a07d8f63
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. """Add custom configs and default values""" from fvcore.common.config import CfgNode
22.555556
71
0.628571
9440856b2d7276c60d2cc96015a0362bb8a2a18e
2,425
py
Python
edan.py
Smithsonian/EDAN-python
096dfba39fd3585ae773f01751f2f91616084775
[ "Apache-2.0" ]
1
2021-11-08T09:46:01.000Z
2021-11-08T09:46:01.000Z
edan.py
Smithsonian/EDAN-python
096dfba39fd3585ae773f01751f2f91616084775
[ "Apache-2.0" ]
null
null
null
edan.py
Smithsonian/EDAN-python
096dfba39fd3585ae773f01751f2f91616084775
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 # # Search metadata in the EDAN API # v0.1 # import urllib.parse import urllib.request import datetime import email.utils import uuid import hashlib import json from base64 import b64encode #for testing from urllib.request import Request, urlopen from urllib.error import URLError, HTTPError ...
28.529412
112
0.659794
9443b3059c2ab393a05388896493bc8f4737abcb
1,166
py
Python
dash_docs/chapters/dash_bio/examples/ideogram.py
joelostblom/dash-docs
7be5aed7795f61ac32375ce33a18046b8f2f5254
[ "MIT" ]
379
2017-06-21T14:35:52.000Z
2022-03-20T01:47:14.000Z
dash_docs/chapters/dash_bio/examples/ideogram.py
joelostblom/dash-docs
7be5aed7795f61ac32375ce33a18046b8f2f5254
[ "MIT" ]
746
2017-06-21T19:58:17.000Z
2022-03-23T14:51:24.000Z
dash_docs/chapters/dash_bio/examples/ideogram.py
joelostblom/dash-docs
7be5aed7795f61ac32375ce33a18046b8f2f5254
[ "MIT" ]
201
2017-06-21T21:53:19.000Z
2022-03-17T13:23:55.000Z
import dash import dash_bio as dashbio import dash_html_components as html import dash_core_components as dcc external_stylesheets = ['https://codepen.io/chriddyp/pen/bWLwgP.css'] app = dash.Dash(__name__, external_stylesheets=external_stylesheets) app.layout = html.Div([ 'Select which chromosomes to display on ...
26.5
75
0.683533
9445502dd31059686a0626a1b245765a02b8c798
6,860
py
Python
blockchain/node.py
EnniOne/minimum_viable_block_chain
3e0bb1ea5e63f3d22958806a37ead2ab94b827cd
[ "MIT" ]
null
null
null
blockchain/node.py
EnniOne/minimum_viable_block_chain
3e0bb1ea5e63f3d22958806a37ead2ab94b827cd
[ "MIT" ]
null
null
null
blockchain/node.py
EnniOne/minimum_viable_block_chain
3e0bb1ea5e63f3d22958806a37ead2ab94b827cd
[ "MIT" ]
null
null
null
from blockchain import Blockchain, Transaction from nacl.signing import SigningKey from hashlib import sha256 from time import sleep from threading import Thread import random
36.489362
103
0.617347
94464711b51aaed6bb644bb94d8782573a3c211b
302
py
Python
mmocr/models/common/__init__.py
yangrisheng/mmocr
3ad4a8d3f8d2d22b7854b72ee68a7977a3f3631f
[ "Apache-2.0" ]
2
2022-01-02T13:33:10.000Z
2022-02-08T07:40:30.000Z
mmocr/models/common/__init__.py
yangrisheng/mmocr
3ad4a8d3f8d2d22b7854b72ee68a7977a3f3631f
[ "Apache-2.0" ]
null
null
null
mmocr/models/common/__init__.py
yangrisheng/mmocr
3ad4a8d3f8d2d22b7854b72ee68a7977a3f3631f
[ "Apache-2.0" ]
null
null
null
# Copyright (c) OpenMMLab. All rights reserved. from . import backbones, layers, losses, modules from .backbones import * # NOQA from .layers import * # NOQA from .losses import * # NOQA from .modules import * # NOQA __all__ = backbones.__all__ + losses.__all__ + layers.__all__ + modules.__all__
33.555556
79
0.731788
9446aade498fa199059711760c1a3d5ae32f881f
994
py
Python
Task1B.py
lhliew/flood-warning
234bb3f7ec7174fc91963d8b7e64df1893694e1b
[ "MIT" ]
null
null
null
Task1B.py
lhliew/flood-warning
234bb3f7ec7174fc91963d8b7e64df1893694e1b
[ "MIT" ]
null
null
null
Task1B.py
lhliew/flood-warning
234bb3f7ec7174fc91963d8b7e64df1893694e1b
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Sun Jan 29 16:13:48 2017 @author: laide """ """prints a list of tuples (station name, town, distance) for the 10 closest and the 10 furthest stations from the Cambridge city centre, (52.2053, 0.1218).""" from floodsystem.geo import stations_by_distance from floodsystem.stationda...
32.064516
98
0.687123
9446b9ff584bcbd9ff011026042c303a28b108ae
7,988
py
Python
tests/run-tests.py
notofonts/NotoSansDuployan
d3bf2d4436d376501d0720e5d9f1fe032f8c5ffc
[ "Apache-2.0" ]
6
2020-04-06T02:14:07.000Z
2022-03-22T09:13:47.000Z
tests/run-tests.py
dscorbett/duployan-font
966e4e233f56d818bbbcb4548f1cf232cd3fe4a1
[ "Apache-2.0" ]
2
2021-07-19T10:20:41.000Z
2021-12-16T01:25:02.000Z
tests/run-tests.py
notofonts/NotoSansDuployan
d3bf2d4436d376501d0720e5d9f1fe032f8c5ffc
[ "Apache-2.0" ]
1
2019-08-04T03:40:57.000Z
2019-08-04T03:40:57.000Z
#!/usr/bin/env python3 # Copyright 2018-2019 David Corbett # Copyright 2020-2021 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0...
40.964103
236
0.578117
944721eaafb8ae53ae88021d8e7ade1d8c08d23c
1,969
py
Python
TagScreen.py
CMPUT-291-Miniproject/MiniProject-1
e56b3acf6867278613a2a05d1fbf453f909fa45b
[ "MIT" ]
null
null
null
TagScreen.py
CMPUT-291-Miniproject/MiniProject-1
e56b3acf6867278613a2a05d1fbf453f909fa45b
[ "MIT" ]
null
null
null
TagScreen.py
CMPUT-291-Miniproject/MiniProject-1
e56b3acf6867278613a2a05d1fbf453f909fa45b
[ "MIT" ]
null
null
null
from Tag import Tag from CheckInput import CheckInput from PostQuery import QuestionQuery from PostQuery import AnswerQuery if __name__ == "__main__": from Terminal import Terminal from SearchForPostsScreen import SearchForPostsScreen from SelectedPostScreen import SelectedPostScreen sfps = SearchForPostsScree...
26.608108
106
0.733875
9447f67cbc469e7ce4cacfa8e5dbd718fbc8f8cb
6,096
py
Python
sta663_project_lda/algorithms/lda_gibbs.py
haofuml/sta663_project_lda
d9d0253f61996fef48e9909aecf583e70e318aff
[ "MIT" ]
3
2019-05-18T13:37:07.000Z
2021-11-19T07:29:47.000Z
sta663_project_lda/algorithms/lda_gibbs.py
haofuml/sta663_project_lda
d9d0253f61996fef48e9909aecf583e70e318aff
[ "MIT" ]
null
null
null
sta663_project_lda/algorithms/lda_gibbs.py
haofuml/sta663_project_lda
d9d0253f61996fef48e9909aecf583e70e318aff
[ "MIT" ]
null
null
null
""" Collapsed Gibbs Sampling Implementation of LDA """ import numpy as np import sys import random from scipy.special import gamma, gammaln, psi from scipy.stats import * from scipy import * import argparse from sta663_project_lda.visualization.demo_topics import topic_viz if __name__ == '__main__': parser = argp...
38.1
130
0.563156
9448ae4b1a5ba29919ea2751ef6ab4b81defaac0
1,971
py
Python
FrontEnd/app/socket_client_side.py
ahmobayen/image_processing
d616b2ca2dafba1fb519f025044481eb1a2e760b
[ "MIT" ]
null
null
null
FrontEnd/app/socket_client_side.py
ahmobayen/image_processing
d616b2ca2dafba1fb519f025044481eb1a2e760b
[ "MIT" ]
null
null
null
FrontEnd/app/socket_client_side.py
ahmobayen/image_processing
d616b2ca2dafba1fb519f025044481eb1a2e760b
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import os.path import pickle import struct import socket import selectors sel = selectors.DefaultSelector() messages = [b'Video Request'] if __name__ == '__main__': from ast import literal_eval data = str(simple_receive().decode('utf-8') ) python_dict = literal_eval(data) pr...
32.311475
97
0.584982
944b3519824a1ec44b0b5915e648a3cea1b18227
5,156
py
Python
notebooks/myhmm.py
RonDen/HanTokenization
7fd61f3de33a1fc094784fcc49bd4b2808195c89
[ "MIT" ]
3
2021-04-04T03:28:41.000Z
2021-04-23T02:57:20.000Z
notebooks/myhmm.py
RonDen/HanTokenization
7fd61f3de33a1fc094784fcc49bd4b2808195c89
[ "MIT" ]
null
null
null
notebooks/myhmm.py
RonDen/HanTokenization
7fd61f3de33a1fc094784fcc49bd4b2808195c89
[ "MIT" ]
2
2021-04-13T11:34:35.000Z
2021-04-20T00:51:41.000Z
import re import os from prob import trans_P, emit_P, start_P from preprocess import preprocess, recov, UNK DATAROOT = '/home/luod/class/nlp/HanTokenization/datasets' RESULTROOT = '/home/luod/class/nlp/HanTokenization/results' VOCAB_FILE = os.path.join(DATAROOT, 'training_vocab.txt') VOCAB_FREQ = os.path.join(RESULTR...
29.803468
215
0.554112
944b3da25cd5066da7daf13b3dab234d95f0e9bd
9,727
py
Python
tests/test_vidkl.py
ziatdinovmax/gpax
a35374c178b66a3ea5640063a479b0b6be8d57db
[ "MIT" ]
13
2021-11-18T20:20:18.000Z
2022-03-23T12:53:51.000Z
tests/test_vidkl.py
ziatdinovmax/gpax
a35374c178b66a3ea5640063a479b0b6be8d57db
[ "MIT" ]
5
2022-02-25T09:50:44.000Z
2022-03-26T21:10:26.000Z
tests/test_vidkl.py
ziatdinovmax/gpax
a35374c178b66a3ea5640063a479b0b6be8d57db
[ "MIT" ]
null
null
null
import sys import pytest import numpy as onp import jax.numpy as jnp import jax import haiku as hk import numpyro from numpy.testing import assert_equal, assert_array_equal sys.path.insert(0, "../gpax/") from gpax.vidkl import viDKL, MLP from gpax.utils import get_keys def test_get_mvn_posterior(): rng_ke...
33.197952
96
0.631027
944b49db9922d734d432d502d558b6874b8edee9
350
py
Python
module3-nosql-and-document-oriented-databases/mongoDB.py
cocoisland/DS-Unit-3-Sprint-2-SQL-and-Databases
063af0488fa5694ee233298ed76de71b4229fe4c
[ "MIT" ]
null
null
null
module3-nosql-and-document-oriented-databases/mongoDB.py
cocoisland/DS-Unit-3-Sprint-2-SQL-and-Databases
063af0488fa5694ee233298ed76de71b4229fe4c
[ "MIT" ]
null
null
null
module3-nosql-and-document-oriented-databases/mongoDB.py
cocoisland/DS-Unit-3-Sprint-2-SQL-and-Databases
063af0488fa5694ee233298ed76de71b4229fe4c
[ "MIT" ]
null
null
null
#!/usr/bin/env python import pymongo conn_string="mongodb://dbUser19:LSVyKnHW@cluster0-shard-00-00-nadgn.mongodb.net:27017,cluster0-shard-00-01-nadgn.mongodb.net:27017,cluster0-shard-00-02-nadgn.mongodb.net:27017/test?ssl=true&replicaSet=Cluster0-shard-0&authSource=admin&retryWrites=true" client=pymongo.MongoClient(...
31.818182
252
0.814286
944bf54b73dad52bc537f98cbad4c7acf0d3d271
10,744
py
Python
tests/test_helper.py
ajctrl/pysesameos2
045d785f028e737eab67146d1c7ca7a033df0b0e
[ "Apache-2.0" ]
16
2021-06-30T00:13:00.000Z
2022-02-16T14:58:48.000Z
tests/test_helper.py
ajctrl/pysesameos2
045d785f028e737eab67146d1c7ca7a033df0b0e
[ "Apache-2.0" ]
32
2021-06-26T23:16:48.000Z
2022-03-07T12:55:22.000Z
tests/test_helper.py
ajctrl/pysesameos2
045d785f028e737eab67146d1c7ca7a033df0b0e
[ "Apache-2.0" ]
6
2021-10-31T07:05:39.000Z
2022-02-05T07:28:35.000Z
#!/usr/bin/env python """Tests for `pysesameos2` package.""" import pytest from pysesameos2.helper import ( CHProductModel, CHSesame2MechSettings, CHSesame2MechStatus, CHSesameBotButtonMode, CHSesameBotLockSecondsConfiguration, CHSesameBotMechSettings, CHSesameBotMechStatus, CHSesameB...
37.048276
203
0.696203
944c02065ba04cb19712b6f22f00a4dabb48ce05
3,049
py
Python
test_migrations/contrib/pytest_plugin/plugin.py
skarzi/django-test-migrations
9b61f36fd91900334a29ff26dc60228842a86da8
[ "MIT" ]
4
2019-07-26T12:42:42.000Z
2020-01-27T07:45:09.000Z
test_migrations/contrib/pytest_plugin/plugin.py
skarzi/django-test-migrations
9b61f36fd91900334a29ff26dc60228842a86da8
[ "MIT" ]
37
2019-10-18T18:10:14.000Z
2020-01-31T07:46:23.000Z
test_migrations/contrib/pytest_plugin/plugin.py
skarzi/django-test-migrations
9b61f36fd91900334a29ff26dc60228842a86da8
[ "MIT" ]
1
2019-08-03T15:54:50.000Z
2019-08-03T15:54:50.000Z
import pytest from test_migrations import constants from .fixtures import migrator # pylint: disable=W0611 pytest_plugins = ['pytest_django'] # pylint: disable=C0103 def pytest_addoption(parser): """Add option for running migration tests. """ group = parser.getgroup('django_test_migrations') gro...
35.870588
81
0.651361
944d0a8ff7bd49103305170067ede2c52eda684a
19,307
py
Python
hrp/models.py
paleocore/paleocore110
754f3248ab22a2996b43bd224bd4ba15462edf7d
[ "MIT" ]
null
null
null
hrp/models.py
paleocore/paleocore110
754f3248ab22a2996b43bd224bd4ba15462edf7d
[ "MIT" ]
7
2020-02-05T20:54:24.000Z
2021-12-13T20:13:20.000Z
hrp/models.py
paleocore/paleocore110
754f3248ab22a2996b43bd224bd4ba15462edf7d
[ "MIT" ]
null
null
null
import os from django.contrib.gis.db import models from hrp.ontologies import * # from hrp.ontologies import ITEM_TYPE_VOCABULARY, HRP_COLLECTOR_CHOICES, \ # HRP_COLLECTING_METHOD_VOCABULARY, HRP_BASIS_OF_RECORD_VOCABULARY, HRP_COLLECTION_CODES from django.contrib.gis.geos import Point import projects.models ...
48.147132
117
0.70187
944d49dda9afc349c390f4947052a89775f74de8
6,781
py
Python
sfepy/discrete/dg/limiters.py
BubuLK/sfepy
3e8e2082c26d574dc334fe3a0e0eeb723f7a6657
[ "BSD-3-Clause" ]
2
2017-05-24T17:14:11.000Z
2018-05-15T14:10:14.000Z
sfepy/discrete/dg/limiters.py
Moyunning/sfepy
127ab753a2f4f24ed359d0152088d11227c3dd49
[ "BSD-3-Clause" ]
null
null
null
sfepy/discrete/dg/limiters.py
Moyunning/sfepy
127ab753a2f4f24ed359d0152088d11227c3dd49
[ "BSD-3-Clause" ]
1
2018-05-15T16:06:52.000Z
2018-05-15T16:06:52.000Z
# -*- coding: utf-8 -*- """ Limiters for high order DG methods """ import numpy as nm from sfepy.discrete.dg.poly_spaces import iter_by_order from sfepy.discrete.dg.fields import get_raveler, get_unraveler from sfepy.base.base import output MACHINE_EPS = 1e-30 def minmod(a, b, c): """Minmod function of three va...
32.290476
83
0.493585
944e1897e78e31a1756131e5df7add361d007cab
3,042
py
Python
yarn_list_utils/Utils.py
windgeek/bigdata_cus
c876fc445cbb7c867179bcdd0612bc9f880b597a
[ "Apache-2.0" ]
null
null
null
yarn_list_utils/Utils.py
windgeek/bigdata_cus
c876fc445cbb7c867179bcdd0612bc9f880b597a
[ "Apache-2.0" ]
null
null
null
yarn_list_utils/Utils.py
windgeek/bigdata_cus
c876fc445cbb7c867179bcdd0612bc9f880b597a
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # Created by wind on 2021/4/21 import requests import json import time
26.920354
71
0.56476
944e5d01bc95a8da54644cdff9222609c9befc8d
1,695
py
Python
api/views/errors.py
rubycho/webpi
49163427d6a56548da415ec58f150c610cd031be
[ "MIT" ]
5
2020-01-31T13:07:15.000Z
2020-04-02T05:23:51.000Z
api/views/errors.py
rubycho/webpi
49163427d6a56548da415ec58f150c610cd031be
[ "MIT" ]
10
2020-02-06T08:36:08.000Z
2021-06-10T18:21:23.000Z
api/views/errors.py
rubycho/webpi
49163427d6a56548da415ec58f150c610cd031be
[ "MIT" ]
null
null
null
import enum from typing import List from rest_framework import status from rest_framework.response import Response def extract_data(data: dict, keys: List[str]) -> (List[str], dict): """ Extract data based on keys. :param data: dict-similar-typed source :param keys: keys to extract value from sour...
24.214286
68
0.631858
9451476f11677b46be97a0f4978515f3acb6cf52
1,049
py
Python
object-oriented-programming/src/oop-interface.py
giserh/book-python
ebd4e70cea1dd56986aa8efbae3629ba3f1ba087
[ "MIT" ]
1
2019-01-02T15:04:08.000Z
2019-01-02T15:04:08.000Z
object-oriented-programming/src/oop-interface.py
giserh/book-python
ebd4e70cea1dd56986aa8efbae3629ba3f1ba087
[ "MIT" ]
null
null
null
object-oriented-programming/src/oop-interface.py
giserh/book-python
ebd4e70cea1dd56986aa8efbae3629ba3f1ba087
[ "MIT" ]
null
null
null
# Imput to the classifier features = [ (5.1, 3.5, 1.4, 0.2), (4.9, 3.0, 1.4, 0.2), (4.7, 3.2, 1.3, 0.2), (7.0, 3.2, 4.7, 1.4), (6.4, 3.2, 4.5, 1.5), (6.9, 3.1, 4.9, 1.5), (6.3, 3.3, 6.0, 2.5), (5.8, 2.7, 5.1, 1.9), (7.1, 3.0, 5.9, 2.1), ] # 0: I. setosa # 1: I. versicolor # 2: I...
18.732143
45
0.553861
94538901fe8b5906394cf7db13b524c5e05fce62
2,933
py
Python
main.py
celikmustafa89/streaming-standardization
190c5fcde7ed55fc3c4f674ea0d26992b41fd8d1
[ "MIT" ]
null
null
null
main.py
celikmustafa89/streaming-standardization
190c5fcde7ed55fc3c4f674ea0d26992b41fd8d1
[ "MIT" ]
null
null
null
main.py
celikmustafa89/streaming-standardization
190c5fcde7ed55fc3c4f674ea0d26992b41fd8d1
[ "MIT" ]
null
null
null
import random import math listes = [] """for i in range(3): # listes.append(random.sample(range(5, 50), random.randint(5,1000))) listes.append(random.sample(range(1, 100), 10)) """ listes = [ [10,20,30,90,30,54,123,34,656,246,24,842,6784,2,56,4,5,7423,6,6,3,345,6,7,345,46], [10,20,30,90], [10,20,...
23.094488
102
0.527446
9453f91d17fbd3f26c0b9b47751d7481f19b12e8
109
gyp
Python
binding.gyp
artik-snu/node-addon-gpio
9530478d8543b0ffbfbcf8780a7b91ccbd56a111
[ "MIT" ]
null
null
null
binding.gyp
artik-snu/node-addon-gpio
9530478d8543b0ffbfbcf8780a7b91ccbd56a111
[ "MIT" ]
null
null
null
binding.gyp
artik-snu/node-addon-gpio
9530478d8543b0ffbfbcf8780a7b91ccbd56a111
[ "MIT" ]
null
null
null
{ "targets": [ { "target_name": "gpio", "sources": ["gpio.cc", "tizen-gpio.cc"] } ] }
13.625
45
0.422018
945432debee6e2dc09fae0ff0cc88d5b42bb1d00
2,208
py
Python
webauthn/helpers/parse_client_data_json.py
MasterKale/py_webauthn
fe97b9841328aa84559bd2a282c07d20145845c1
[ "BSD-3-Clause" ]
null
null
null
webauthn/helpers/parse_client_data_json.py
MasterKale/py_webauthn
fe97b9841328aa84559bd2a282c07d20145845c1
[ "BSD-3-Clause" ]
null
null
null
webauthn/helpers/parse_client_data_json.py
MasterKale/py_webauthn
fe97b9841328aa84559bd2a282c07d20145845c1
[ "BSD-3-Clause" ]
null
null
null
import json from json.decoder import JSONDecodeError from .base64url_to_bytes import base64url_to_bytes from .exceptions import InvalidClientDataJSONStructure from .structs import CollectedClientData, TokenBinding def parse_client_data_json(val: bytes) -> CollectedClientData: """ Break apart `response.client...
33.454545
83
0.665308
9454ae456058a5c984b91c0a770883c558f45cd2
1,934
py
Python
tests/python/pants_test/backend/jvm/tasks/jvm_compile/test_resource_mapping.py
WamBamBoozle/pants
98cadfa1a5d337146903eb66548cfe955f2627b3
[ "Apache-2.0" ]
null
null
null
tests/python/pants_test/backend/jvm/tasks/jvm_compile/test_resource_mapping.py
WamBamBoozle/pants
98cadfa1a5d337146903eb66548cfe955f2627b3
[ "Apache-2.0" ]
null
null
null
tests/python/pants_test/backend/jvm/tasks/jvm_compile/test_resource_mapping.py
WamBamBoozle/pants
98cadfa1a5d337146903eb66548cfe955f2627b3
[ "Apache-2.0" ]
null
null
null
# coding=utf-8 # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import (absolute_import, division, generators, nested_scopes, print_function, unicode_literals, with_statement) import os from pant...
39.469388
117
0.798345
9457ac0da5564b2ab782626c607ee29294300e54
1,480
py
Python
examples/basic_events.py
Shadofer/dogey
1d9f1b82aa7ecfe6d9776feb03364ef9eb00bd63
[ "MIT" ]
3
2021-05-18T09:46:30.000Z
2022-03-26T14:23:24.000Z
examples/basic_events.py
Shadofer/dogey
1d9f1b82aa7ecfe6d9776feb03364ef9eb00bd63
[ "MIT" ]
null
null
null
examples/basic_events.py
Shadofer/dogey
1d9f1b82aa7ecfe6d9776feb03364ef9eb00bd63
[ "MIT" ]
null
null
null
from dogey import Dogey from dogey.classes import Message, User, Room, Context from dogey.exceptions import DogeyCommandError dogey = Dogey(token='your token', refresh_token='your refresh token', prefix='.') bot = dogey.bot dogey.start()
31.489362
99
0.728378
94581e6740d331c24508ac853a1aafc12d13bcc6
380
py
Python
algorithm/deep_learning/neural_network6.py
kake777/python_sample
3e69c0e89a67f81ced56193524c2f69913262dda
[ "MIT" ]
null
null
null
algorithm/deep_learning/neural_network6.py
kake777/python_sample
3e69c0e89a67f81ced56193524c2f69913262dda
[ "MIT" ]
null
null
null
algorithm/deep_learning/neural_network6.py
kake777/python_sample
3e69c0e89a67f81ced56193524c2f69913262dda
[ "MIT" ]
null
null
null
# import numpy as np from dataset.mnist import load_mnist (x_train, t_train), (x_test, t_test) =\ load_mnist(normalize=True, one_hot_label=True) print(x_train.shape) print(t_train.shape) train_size = x_train.shape[0] batch_size = 10 batch_mask = np.random.choice(train_size, batch_size) x_batch = x_train[batch_ma...
21.111111
53
0.778947
9459da79cb451077424b3e724720da8c0a06c9ac
1,281
py
Python
openport/common/tee.py
Deshdeepak1/openport
4aefb3281c2a483ed7b02c8574321b5c0d9a954a
[ "MIT" ]
5
2018-06-04T14:45:15.000Z
2022-01-07T09:02:35.000Z
openport/common/tee.py
Deshdeepak1/openport
4aefb3281c2a483ed7b02c8574321b5c0d9a954a
[ "MIT" ]
9
2019-11-24T19:58:33.000Z
2022-03-29T21:54:03.000Z
openport/common/tee.py
Deshdeepak1/openport
4aefb3281c2a483ed7b02c8574321b5c0d9a954a
[ "MIT" ]
5
2019-08-04T17:56:15.000Z
2022-02-06T20:15:03.000Z
import sys
22.875
37
0.530055
9459faf5f1ae64d251e582624318b24b8d865ed6
10,624
py
Python
main.py
vk02169/photobooth_raspi3
fe2374a3b5359b2bdf908a8383c4ae7ae4ff2598
[ "Apache-2.0" ]
1
2020-12-18T17:27:10.000Z
2020-12-18T17:27:10.000Z
main.py
vk02169/photobooth_raspi3
fe2374a3b5359b2bdf908a8383c4ae7ae4ff2598
[ "Apache-2.0" ]
null
null
null
main.py
vk02169/photobooth_raspi3
fe2374a3b5359b2bdf908a8383c4ae7ae4ff2598
[ "Apache-2.0" ]
null
null
null
################################################################################################################################## # The original photobooth application was written by WYLUM. I have borrowed from their code base and the proceeded to enhance/subtract. # Especially the part where the application uploads ...
38.078853
139
0.481645
945a434c2fd10a32fcc164824e6dff4647c862a3
3,251
py
Python
globalCounter/server/counter_server.py
aratz-lasa/globalCounter
9ac0841b0e7d1bc71cd6205649c1b07bcf77e01f
[ "MIT" ]
2
2019-03-24T19:09:59.000Z
2019-03-25T07:15:06.000Z
globalCounter/server/counter_server.py
aratz-lasa/globalCounter
9ac0841b0e7d1bc71cd6205649c1b07bcf77e01f
[ "MIT" ]
null
null
null
globalCounter/server/counter_server.py
aratz-lasa/globalCounter
9ac0841b0e7d1bc71cd6205649c1b07bcf77e01f
[ "MIT" ]
null
null
null
import socket from multiprocessing import Pool, Queue, Manager, cpu_count from ..protocol.methods import * from ..protocol.models import * from ..various.abc import CounterServer MAX_WORKERS = cpu_count()
31.563107
71
0.609966
945a5840ff79964bce5f89f0237c5ec63c7f6bc4
4,364
py
Python
src/fparser/two/tests/fortran2003/test_format_item_c1002.py
sturmianseq/fparser
bf3cba3f31a72671d4d4a93b6ef4f9832006219f
[ "BSD-3-Clause" ]
33
2017-08-18T16:31:27.000Z
2022-03-28T09:43:50.000Z
src/fparser/two/tests/fortran2003/test_format_item_c1002.py
sturmianseq/fparser
bf3cba3f31a72671d4d4a93b6ef4f9832006219f
[ "BSD-3-Clause" ]
319
2017-01-12T14:22:07.000Z
2022-03-23T20:53:25.000Z
src/fparser/two/tests/fortran2003/test_format_item_c1002.py
sturmianseq/fparser
bf3cba3f31a72671d4d4a93b6ef4f9832006219f
[ "BSD-3-Clause" ]
17
2017-10-13T07:12:28.000Z
2022-02-11T14:42:18.000Z
# Copyright (c) 2019 Science and Technology Facilities Council # All rights reserved. # Modifications made as part of the fparser project are distributed # under the following license: # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following condi...
40.785047
74
0.745417
945a6543444e52c5a044844b767d07e928876dbc
1,447
py
Python
nomaj/nj/nj_fixed.py
monomonedula/nomaj
d81e8919966bd2fc649594be647d8d98f0ff6a8f
[ "MIT" ]
null
null
null
nomaj/nj/nj_fixed.py
monomonedula/nomaj
d81e8919966bd2fc649594be647d8d98f0ff6a8f
[ "MIT" ]
null
null
null
nomaj/nj/nj_fixed.py
monomonedula/nomaj
d81e8919966bd2fc649594be647d8d98f0ff6a8f
[ "MIT" ]
null
null
null
from typing import Callable, Awaitable, Dict from koda import Result, Ok from nvelope import JSON from nomaj.nomaj import Nomaj, Req, Resp
27.301887
80
0.580511
945b7f901e1c11d43f4642fe9b5624c95774e9b1
2,542
py
Python
flask_app/dash/orange/models.py
julien-bonnefoy/website
a00d70697cc3a367dcdb32ca62ed29493029cf91
[ "Apache-2.0" ]
null
null
null
flask_app/dash/orange/models.py
julien-bonnefoy/website
a00d70697cc3a367dcdb32ca62ed29493029cf91
[ "Apache-2.0" ]
null
null
null
flask_app/dash/orange/models.py
julien-bonnefoy/website
a00d70697cc3a367dcdb32ca62ed29493029cf91
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- from sqlalchemy import Column, Integer, String, Sequence, Text, Table from sqlalchemy import ForeignKey, Boolean, DateTime from sqlalchemy.ext.declarative import declarative_base from sqlalchemy.orm import relationship import redis import rq import datetime as dt from flask_app.database import ...
28.561798
80
0.734068
945db23a1d2728c5507f15d764b787a34c73c68a
252
py
Python
cms/templatetags/watch.py
sandmark/DjangoPerfectSquare
490686a1780c27d1b592b1771450f2a86ac861cf
[ "MIT" ]
null
null
null
cms/templatetags/watch.py
sandmark/DjangoPerfectSquare
490686a1780c27d1b592b1771450f2a86ac861cf
[ "MIT" ]
3
2020-02-11T21:47:12.000Z
2021-06-10T18:24:43.000Z
cms/templatetags/watch.py
sandmark/DjangoPerfectSquare
490686a1780c27d1b592b1771450f2a86ac861cf
[ "MIT" ]
null
null
null
from django import template from django.utils.http import urlquote import re register = template.Library()
22.909091
51
0.710317
945de4aea7a3b88d286047de11642d31b0128f82
7,774
py
Python
model/transformer.py
scut-bds/exampe_repo_from_scutbds
6528eeb25d6da53dd4f7eb6b92d534631794aa80
[ "Apache-2.0" ]
null
null
null
model/transformer.py
scut-bds/exampe_repo_from_scutbds
6528eeb25d6da53dd4f7eb6b92d534631794aa80
[ "Apache-2.0" ]
null
null
null
model/transformer.py
scut-bds/exampe_repo_from_scutbds
6528eeb25d6da53dd4f7eb6b92d534631794aa80
[ "Apache-2.0" ]
null
null
null
# coding=utf-8 # Copyright 2021 South China University of Technology and # Engineering Research Ceter of Minstry of Education on Human Body Perception. # # 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...
46.831325
138
0.664651
945e1051e675a474b42fb803eb11282480b657ba
264
py
Python
src/lib/idol/dataclass/codegen/schema/primitive_type.py
lyric-com/idol
285005e9ddaa92b2284b7e9c28cd12f1e34746ec
[ "MIT" ]
null
null
null
src/lib/idol/dataclass/codegen/schema/primitive_type.py
lyric-com/idol
285005e9ddaa92b2284b7e9c28cd12f1e34746ec
[ "MIT" ]
2
2020-03-24T18:03:10.000Z
2020-03-31T10:41:56.000Z
src/lib/idol/dataclass/codegen/schema/primitive_type.py
lyric-com/idol
285005e9ddaa92b2284b7e9c28cd12f1e34746ec
[ "MIT" ]
null
null
null
# DO NOT EDIT # This file was generated by idol_data, any changes will be lost when idol_data is rerun again from enum import Enum
22
94
0.67803
9460da662c249dbfe258e1da02ea4d17876fff61
485
py
Python
tests/test_requirements_files/app.py
Robinson04/serverlesspack
271fdbc4bcc769a778e369b14e5f491360824512
[ "MIT" ]
1
2022-03-07T22:32:32.000Z
2022-03-07T22:32:32.000Z
tests/test_requirements_files/app.py
Robinson04/serverlesspack
271fdbc4bcc769a778e369b14e5f491360824512
[ "MIT" ]
3
2021-03-01T19:12:46.000Z
2021-05-09T11:09:27.000Z
tests/test_requirements_files/app.py
Robinson04/serverlesspack
271fdbc4bcc769a778e369b14e5f491360824512
[ "MIT" ]
null
null
null
from pydantic import BaseModel from typing import Optional
30.3125
86
0.769072
94611d8fb6626acc66a8ff1fb61998cb3024f470
274
py
Python
nickleback.py
helanan/kill_nickleback
6cbc37f58cf3e9aedc42d4e2718b8c7549692a15
[ "MIT" ]
null
null
null
nickleback.py
helanan/kill_nickleback
6cbc37f58cf3e9aedc42d4e2718b8c7549692a15
[ "MIT" ]
null
null
null
nickleback.py
helanan/kill_nickleback
6cbc37f58cf3e9aedc42d4e2718b8c7549692a15
[ "MIT" ]
null
null
null
songs = { ('Nickelback', 'How You Remind Me'), ('Will.i.am', 'That Power'), ('Miles Davis', 'Stella by Starlight'), ('Nickelback', 'Animals') } # Using a set comprehension, create a new set that contains all songs that were not performed by Nickelback. nonNickelback = {}
54.8
144
0.689781
94619449453a285926187d511d9d1aa00b91410b
8,761
py
Python
siam_tracker/benchmarks/otb/butil/seq_config.py
songheony/SPM-Tracker
41fd91ec42cf9072fe44d45c5bb68993f28a12ad
[ "MIT" ]
32
2019-08-30T09:50:03.000Z
2021-10-12T08:36:25.000Z
siam_tracker/benchmarks/otb/butil/seq_config.py
songheony/SPM-Tracker
41fd91ec42cf9072fe44d45c5bb68993f28a12ad
[ "MIT" ]
3
2019-09-05T09:45:52.000Z
2020-12-02T02:42:08.000Z
siam_tracker/benchmarks/otb/butil/seq_config.py
songheony/SPM-Tracker
41fd91ec42cf9072fe44d45c5bb68993f28a12ad
[ "MIT" ]
16
2019-09-10T09:04:53.000Z
2021-09-13T12:44:47.000Z
import zipfile import shutil import copy import json from PIL import Image from ..config import * from ..model import * from .split_seq import split_seq_TRE from .shift_bbox import shift_init_BB import logging logging.getLogger().setLevel(logging.INFO)
34.089494
91
0.576304
9462eb2500bdbcb6be261010cdb1088e435cd696
4,099
py
Python
main.py
mneeman/Removing_atmospheric_turbulence
cf0dc0ab503d6fe9dfa4f48d2fffc69f1e0899b6
[ "MIT" ]
4
2020-06-25T15:21:51.000Z
2021-08-11T14:04:43.000Z
main.py
mneeman/Removing_atmospheric_turbulence
cf0dc0ab503d6fe9dfa4f48d2fffc69f1e0899b6
[ "MIT" ]
1
2021-05-29T08:22:30.000Z
2021-05-29T08:22:30.000Z
main.py
mneeman/Removing_atmospheric_turbulence
cf0dc0ab503d6fe9dfa4f48d2fffc69f1e0899b6
[ "MIT" ]
2
2020-09-23T02:42:59.000Z
2021-08-11T14:04:45.000Z
import multiprocessing multiprocessing.set_start_method('spawn', True) import argparse import os import numpy as np import math import sys import torchvision import torchvision.transforms as transforms from torch.utils.data import DataLoader from torchvision import datasets from torchvision.utils import make_grid fr...
44.554348
148
0.732618
94644175cac90d22e5db804ffcb4e25dad573381
857
py
Python
change_brightness.py
qLethon/bin_picking_robot
807025442925e82cdf5558eaa766edb479c7619a
[ "MIT" ]
null
null
null
change_brightness.py
qLethon/bin_picking_robot
807025442925e82cdf5558eaa766edb479c7619a
[ "MIT" ]
1
2019-10-28T13:46:40.000Z
2019-11-09T11:29:16.000Z
change_brightness.py
qLethon/bin_picking_robot
807025442925e82cdf5558eaa766edb479c7619a
[ "MIT" ]
null
null
null
from PIL import Image, ImageEnhance import os import argparse if __name__ == "__main__": parser = argparse.ArgumentParser() parser.add_argument('-i', '--imagedir', type=str, required=True) parser.add_argument('-s', '--savedir', type=str, required=True) args = parser.parse_args() for brightne...
40.809524
107
0.70245
946461fc3a4fd6828fbc72c73b2d0410d8ef7f35
858
py
Python
handlers/changing_stickerpack_handl.py
bbt-t/bot-pet-project
6b0d7862b14fe739be52d87ff8c8610a3f4548e1
[ "Apache-2.0" ]
null
null
null
handlers/changing_stickerpack_handl.py
bbt-t/bot-pet-project
6b0d7862b14fe739be52d87ff8c8610a3f4548e1
[ "Apache-2.0" ]
null
null
null
handlers/changing_stickerpack_handl.py
bbt-t/bot-pet-project
6b0d7862b14fe739be52d87ff8c8610a3f4548e1
[ "Apache-2.0" ]
null
null
null
from aiogram.dispatcher import FSMContext from aiogram.types import CallbackQuery from handlers.states_in_handlers import UserSettingStates from loader import dp from utils.keyboards.start_handl_choice_kb import get_start_keyboard
37.304348
85
0.681818
9465b84b222240f9c7b3a1cae7f082ad76af9e0f
256
py
Python
DebugLibrary/robotvar.py
lobinho/robotframework-debuglibrary
7e6f9a005ad60a56bc47820c215ac8efd115a88e
[ "BSD-3-Clause" ]
93
2015-02-06T16:40:27.000Z
2022-02-10T14:26:23.000Z
DebugLibrary/robotvar.py
lobinho/robotframework-debuglibrary
7e6f9a005ad60a56bc47820c215ac8efd115a88e
[ "BSD-3-Clause" ]
55
2015-05-21T02:48:01.000Z
2021-08-13T15:00:01.000Z
DebugLibrary/robotvar.py
stdedos/robotframework-debuglibrary
5f48ce7e603c096bf258b2118b4ac3db0172675b
[ "BSD-3-Clause" ]
50
2015-05-20T13:52:26.000Z
2021-11-19T21:23:05.000Z
def assign_variable(robot_instance, variable_name, args): """Assign a robotframework variable.""" variable_value = robot_instance.run_keyword(*args) robot_instance._variables.__setitem__(variable_name, variable_value) return variable_value
42.666667
72
0.792969
94698a7593ec8f7eb2b02572abe4aa120407e92f
1,653
py
Python
objectModel/Python/tests/storage/test_github.py
rt112000/CDM
34bd34f9260140a8f8aa02bd87c23033f3daad4c
[ "CC-BY-4.0", "MIT" ]
884
2019-05-10T02:09:10.000Z
2022-03-31T14:02:00.000Z
objectModel/Python/tests/storage/test_github.py
spbast/CDM
bf97a3720c97ee4c9df3625084cf8b3bc65ff9c7
[ "CC-BY-4.0", "MIT" ]
171
2019-06-10T11:34:37.000Z
2022-03-31T22:50:12.000Z
objectModel/Python/tests/storage/test_github.py
spbast/CDM
bf97a3720c97ee4c9df3625084cf8b3bc65ff9c7
[ "CC-BY-4.0", "MIT" ]
340
2019-05-07T18:00:16.000Z
2022-03-31T12:00:15.000Z
# Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. import json import unittest import unittest.mock as mock import random from tests.common import async_test from cdm.storage.github import GithubAdapter if __nam...
37.568182
159
0.717483
946a29f0318d7d5fe69b7d46e7d524cff9ab803e
1,162
py
Python
speedTester/logs/average.py
saurabhcommand/Hello-world
647bad9da901a52d455f05ecc37c6823c22dc77e
[ "MIT" ]
1,428
2018-10-03T15:15:17.000Z
2019-03-31T18:38:36.000Z
speedTester/logs/average.py
saurabhcommand/Hello-world
647bad9da901a52d455f05ecc37c6823c22dc77e
[ "MIT" ]
1,162
2018-10-03T15:05:49.000Z
2018-10-18T14:17:52.000Z
speedTester/logs/average.py
saurabhcommand/Hello-world
647bad9da901a52d455f05ecc37c6823c22dc77e
[ "MIT" ]
3,909
2018-10-03T15:07:19.000Z
2019-03-31T18:39:08.000Z
file1 = open("./logs/pythonlog.txt", 'r+') avg1 = 0.0 lines1 = 0.0 for line in file1: lines1 = lines1 + 1.0 avg1 = (avg1 + float(line)) avg1 = avg1/lines1 print(avg1, "for Python with", lines1, "lines") file2 = open("./logs/clog.txt", 'r+') avg2 = 0.0 lines2 = 0.0 for line in file2: lines2 = lines2 + 1.0 ...
21.518519
63
0.598107
946a4a73330228004fdde94d6a2c3a081179bb5a
768
py
Python
test/test_handlers.py
abstractR/ext_logging
b8b6078261644ec46449de70450fd440e3083ffb
[ "Apache-2.0" ]
null
null
null
test/test_handlers.py
abstractR/ext_logging
b8b6078261644ec46449de70450fd440e3083ffb
[ "Apache-2.0" ]
null
null
null
test/test_handlers.py
abstractR/ext_logging
b8b6078261644ec46449de70450fd440e3083ffb
[ "Apache-2.0" ]
null
null
null
import json import errno import os import ext_logging from . import BaseTestCase, log
24
74
0.559896
946bb5cefd90ff90d24a9f15626ae9d52df1b370
1,136
py
Python
setup.py
opacam/python3-tmdb3
6d287389f1e09e7e034591782c1a287b816c73bb
[ "BSD-3-Clause" ]
2
2019-03-17T20:31:28.000Z
2020-10-15T22:03:17.000Z
setup.py
opacam/python3-tmdb3
6d287389f1e09e7e034591782c1a287b816c73bb
[ "BSD-3-Clause" ]
2
2019-09-04T10:12:50.000Z
2020-06-17T07:54:51.000Z
setup.py
opacam/python3-tmdb3
6d287389f1e09e7e034591782c1a287b816c73bb
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python import sys import os try: from setuptools import setup except ImportError: from distutils.core import setup wd = os.path.dirname(os.path.abspath(__file__)) os.chdir(wd) sys.path.insert(1, wd) name = 'tmdb3' pkg = __import__('tmdb3') author, email = pkg.__author__.rsplit(' ', 1) email ...
21.846154
64
0.68662
946c090b0b918ab6c06ef2242175541fc692fd5e
1,645
py
Python
Linked List/142. Linked List Cycle II.py
xli1110/LC
3c18b8809c5a21a62903060eef659654e0595036
[ "MIT" ]
2
2021-04-02T11:57:46.000Z
2021-04-02T11:57:47.000Z
Linked List/142. Linked List Cycle II.py
xli1110/LC
3c18b8809c5a21a62903060eef659654e0595036
[ "MIT" ]
null
null
null
Linked List/142. Linked List Cycle II.py
xli1110/LC
3c18b8809c5a21a62903060eef659654e0595036
[ "MIT" ]
null
null
null
# Definition for singly-linked list. if __name__ == "__main__": head = ListNode(1) p = head node = ListNode(2) p.next = node p = p.next node = ListNode(3) p.next = node p = p.next node = ListNode(4) p.next = node p = p.next start = node node = ListNode(5) p...
19.583333
54
0.491185
946e26227518ff513554910aa81069946aa27b6e
858
py
Python
simpleml/models/classifiers/sklearn/mixture.py
ptoman/SimpleML
a829ee05da01a75b64982d91a012e9274b6f7c6e
[ "BSD-3-Clause" ]
15
2018-08-19T19:36:23.000Z
2021-11-09T17:47:18.000Z
simpleml/models/classifiers/sklearn/mixture.py
ptoman/SimpleML
a829ee05da01a75b64982d91a012e9274b6f7c6e
[ "BSD-3-Clause" ]
75
2020-10-11T17:58:59.000Z
2022-03-29T22:34:54.000Z
simpleml/models/classifiers/sklearn/mixture.py
ptoman/SimpleML
a829ee05da01a75b64982d91a012e9274b6f7c6e
[ "BSD-3-Clause" ]
4
2018-04-30T23:09:42.000Z
2022-01-19T08:03:18.000Z
''' Wrapper module around `sklearn.mixture` ''' __author__ = 'Elisha Yadgaran' from .base_sklearn_classifier import SklearnClassifier from simpleml.models.classifiers.external_models import ClassificationExternalModelMixin from sklearn.mixture import BayesianGaussianMixture, GaussianMixture ''' Gaussian Mixture '...
26.8125
103
0.825175
946e637bb8b70153f7f53eb205e32d60fd2680ee
1,355
py
Python
Configuration/Generator/python/ZPrime5000JJ_8TeV_TuneCUETP8M1_cfi.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
6
2017-09-08T14:12:56.000Z
2022-03-09T23:57:01.000Z
Configuration/Generator/python/ZPrime5000JJ_8TeV_TuneCUETP8M1_cfi.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
545
2017-09-19T17:10:19.000Z
2022-03-07T16:55:27.000Z
Configuration/Generator/python/ZPrime5000JJ_8TeV_TuneCUETP8M1_cfi.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
14
2017-10-04T09:47:21.000Z
2019-10-23T18:04:45.000Z
import FWCore.ParameterSet.Config as cms from Configuration.Generator.Pythia8CommonSettings_cfi import * from Configuration.Generator.Pythia8CUEP8M1Settings_cfi import * generator = cms.EDFilter("Pythia8GeneratorFilter", #pythiaHepMCVerbosity = cms.untracked.bool(False), ...
42.34375
75
0.512177
946e6ae2d052be8d2efbe4c1190acf5f785c81d2
32,747
py
Python
fairseq/modules/Z_layer/multi_phrase_attention.py
salvation-z/fairseq
baea7343dfa1a8f0f316c6978ba66a9a60c6130d
[ "MIT" ]
1
2020-03-26T02:33:19.000Z
2020-03-26T02:33:19.000Z
fairseq/modules/Z_layer/multi_phrase_attention.py
salvation-z/fairseq
baea7343dfa1a8f0f316c6978ba66a9a60c6130d
[ "MIT" ]
null
null
null
fairseq/modules/Z_layer/multi_phrase_attention.py
salvation-z/fairseq
baea7343dfa1a8f0f316c6978ba66a9a60c6130d
[ "MIT" ]
null
null
null
# Copyright (c) Facebook, Inc. and its affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. # Copied from multihead_attention.py # Change it for phrase level gaussian attention # TODO: # 1. Graph based function # 2. Convlution based f...
39.984127
114
0.585458
946ec27fdd23802b4feeaeb4d5ee19100b13e2f5
140
py
Python
tools/bacommon/__init__.py
ritiek/ballistica
5f909d0b91bfbed3e96c21dbf342616a2d2e7b41
[ "MIT" ]
null
null
null
tools/bacommon/__init__.py
ritiek/ballistica
5f909d0b91bfbed3e96c21dbf342616a2d2e7b41
[ "MIT" ]
null
null
null
tools/bacommon/__init__.py
ritiek/ballistica
5f909d0b91bfbed3e96c21dbf342616a2d2e7b41
[ "MIT" ]
null
null
null
# Released under the MIT License. See LICENSE for details. # """Bits of functionality common to ballistica client and server components."""
35
78
0.771429
946f05e7e0483f9687ceb2a81c265b7213be7125
12,818
py
Python
tensorflow_ranking/python/keras/estimator_test.py
renyi533/ranking
77f280075e220946d0935b44b64770f4dabb37d0
[ "Apache-2.0" ]
2,482
2018-12-03T20:49:40.000Z
2022-03-30T19:36:01.000Z
tensorflow_ranking/python/keras/estimator_test.py
wangziliang11/ranking
6cf8f70a8533ba15abbfb5f50db17cb01fc56410
[ "Apache-2.0" ]
304
2018-12-04T02:01:40.000Z
2022-03-29T21:58:08.000Z
tensorflow_ranking/python/keras/estimator_test.py
wangziliang11/ranking
6cf8f70a8533ba15abbfb5f50db17cb01fc56410
[ "Apache-2.0" ]
449
2018-12-04T01:16:52.000Z
2022-03-27T08:29:49.000Z
# Copyright 2021 The TensorFlow Ranking Authors. # # 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 ag...
36.005618
80
0.677953
946f30f9387c6c8f7e6cd66ecde7c286751d1fc1
140
py
Python
tests/tests/screens/screens/test_screens.py
centergy/flex_ussd
ddc0ccd192e3a0a82e8b7705f088862d59656c28
[ "MIT" ]
null
null
null
tests/tests/screens/screens/test_screens.py
centergy/flex_ussd
ddc0ccd192e3a0a82e8b7705f088862d59656c28
[ "MIT" ]
null
null
null
tests/tests/screens/screens/test_screens.py
centergy/flex_ussd
ddc0ccd192e3a0a82e8b7705f088862d59656c28
[ "MIT" ]
null
null
null
from flex.ussd.screens import UssdScreen
9.333333
40
0.742857
946f3f719a9bae48bd6b704f1e5e51de03e9d2b1
6,567
py
Python
k-means.py
JoelRamosC/Algorithms_PYTHON
07a693f9729e92fd6a70b1840d06f718fc24a436
[ "MIT" ]
null
null
null
k-means.py
JoelRamosC/Algorithms_PYTHON
07a693f9729e92fd6a70b1840d06f718fc24a436
[ "MIT" ]
null
null
null
k-means.py
JoelRamosC/Algorithms_PYTHON
07a693f9729e92fd6a70b1840d06f718fc24a436
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Fonte https://realpython.com/k-means-clustering-python/ # Clustering is a set of techniques used to partition data into groups, or clusters. Clusters are loosely defined as groups of data objects that are more similar to other objects in their cluster than they are to data objects in oth...
36.687151
267
0.753617
946feff5f8d46bf5d118c8553c43a5f9b1acdac8
4,660
py
Python
Imaging/Core/Testing/Python/TestImageProjection.py
jasper-yeh/VtkDotNet
84b56f781cb511694e4380cebfb245bbefe2560b
[ "BSD-3-Clause" ]
3
2020-06-20T23:31:06.000Z
2021-01-11T02:17:16.000Z
Imaging/Core/Testing/Python/TestImageProjection.py
jasper-yeh/VtkDotNet
84b56f781cb511694e4380cebfb245bbefe2560b
[ "BSD-3-Clause" ]
1
2020-12-01T23:21:02.000Z
2020-12-02T23:44:43.000Z
Imaging/Core/Testing/Python/TestImageProjection.py
jasper-yeh/VtkDotNet
84b56f781cb511694e4380cebfb245bbefe2560b
[ "BSD-3-Clause" ]
5
2015-10-09T04:12:29.000Z
2021-12-15T16:57:11.000Z
#!/usr/bin/env python import vtk from vtk.test import Testing from vtk.util.misc import vtkGetDataRoot VTK_DATA_ROOT = vtkGetDataRoot() # this script tests vtkImageSlab with various axes permutations, # in order to cover a nasty set of "if" statements that check # the intersections of the raster lines with the input b...
33.285714
70
0.809871
94704cd4de1f0b3c909a1594891c846e45aa5197
967
py
Python
tests/pipelines/test_context_factory.py
dpasse/eeyore
0420cf9ff6d3ddecfc716e62aa97a00443cb23cb
[ "MIT" ]
null
null
null
tests/pipelines/test_context_factory.py
dpasse/eeyore
0420cf9ff6d3ddecfc716e62aa97a00443cb23cb
[ "MIT" ]
null
null
null
tests/pipelines/test_context_factory.py
dpasse/eeyore
0420cf9ff6d3ddecfc716e62aa97a00443cb23cb
[ "MIT" ]
null
null
null
import os import sys sys.path.insert(0, os.path.abspath('src')) from eeyore_nlp.pipelines import ContextFactory, \ TextPipeline, \ ContractionsTextPipe, \ PreTaggedContextFactory
26.861111
91
0.544984
9470c26c016cbc9700c1e8fe9a668a1e2bb75e79
722
py
Python
l5q1.py
gonewithharshwinds/itt-lab
257eb0d38b09eac7991b490ec64c068ef51d7fb2
[ "MIT" ]
1
2022-01-06T00:07:36.000Z
2022-01-06T00:07:36.000Z
l5q1.py
gonewithharshwinds/itt-lab
257eb0d38b09eac7991b490ec64c068ef51d7fb2
[ "MIT" ]
null
null
null
l5q1.py
gonewithharshwinds/itt-lab
257eb0d38b09eac7991b490ec64c068ef51d7fb2
[ "MIT" ]
null
null
null
#!/usr/bin/python a = int(input("Enter first number: ")) b = int(input("Enter second number: ")) print("Please select operation : \n" \ "1. Addition \n" \ "2. Subtraction \n" \ "3. Multiplication \n" \ "4. Division \n") select = int(input("Select operations form 1, 2, 3, 4 :")) if select == 1: prin...
20.628571
59
0.506925
94710d9fc08d583f01866bc48d784b361bc959a7
2,467
py
Python
Task/Sokoban/Python/sokoban.py
LaudateCorpus1/RosettaCodeData
9ad63ea473a958506c041077f1d810c0c7c8c18d
[ "Info-ZIP" ]
1
2018-11-09T22:08:38.000Z
2018-11-09T22:08:38.000Z
Task/Sokoban/Python/sokoban.py
seanwallawalla-forks/RosettaCodeData
9ad63ea473a958506c041077f1d810c0c7c8c18d
[ "Info-ZIP" ]
null
null
null
Task/Sokoban/Python/sokoban.py
seanwallawalla-forks/RosettaCodeData
9ad63ea473a958506c041077f1d810c0c7c8c18d
[ "Info-ZIP" ]
1
2018-11-09T22:08:40.000Z
2018-11-09T22:08:40.000Z
from array import array from collections import deque import psyco data = [] nrows = 0 px = py = 0 sdata = "" ddata = "" level = """\ ####### # # # # #. # # #. $$ # #.$$ # #.# @# #######""" psyco.full() init(level) print level, "\n\n", solve()
25.43299
65
0.398865
94722bb27e5ee8fb87a9f33ce242e8abc9022b87
6,621
py
Python
tests/test_thornthwaite.py
gastoneb/PyETo
8bb427654b144141442a3b88754ba637644e47e9
[ "BSD-3-Clause" ]
100
2015-05-12T13:48:48.000Z
2022-03-30T08:16:30.000Z
tests/test_thornthwaite.py
tigerforeveryoung/PyETo
0b7ac9f149f4c89c5b5759a875010c521aa07f0f
[ "BSD-3-Clause" ]
11
2015-09-11T10:01:46.000Z
2021-12-09T15:25:47.000Z
tests/test_thornthwaite.py
tigerforeveryoung/PyETo
0b7ac9f149f4c89c5b5759a875010c521aa07f0f
[ "BSD-3-Clause" ]
74
2015-08-23T20:05:10.000Z
2022-02-25T12:55:29.000Z
""" Unit test script for pyeto.thornthwaite.py """ import unittest import pyeto if __name__ == '__main__': unittest.main()
37.619318
80
0.561547
947267e1c8550678d00f1bad3cf2d94a7396e900
6,619
py
Python
openmdao.lib/src/openmdao/lib/optproblems/sellar.py
OzanCKN/OpenMDAO-Framework
05e9d4b9bc41d0ec00a7073545146c925cd33b0b
[ "Apache-2.0" ]
1
2015-11-05T11:14:45.000Z
2015-11-05T11:14:45.000Z
openmdao.lib/src/openmdao/lib/optproblems/sellar.py
janus/OpenMDAO-Framework
05e9d4b9bc41d0ec00a7073545146c925cd33b0b
[ "Apache-2.0" ]
null
null
null
openmdao.lib/src/openmdao/lib/optproblems/sellar.py
janus/OpenMDAO-Framework
05e9d4b9bc41d0ec00a7073545146c925cd33b0b
[ "Apache-2.0" ]
1
2020-07-15T02:45:54.000Z
2020-07-15T02:45:54.000Z
""" Two discipline components. From Sellar's analytic problem. Sellar, R. S., Batill, S. M., and Renaud, J. E., Response Surface Based, Concur- rent Subspace Optimization for Multidisciplinary System Design," Proceedings References 79 of the 34th AIAA Aerospace Sciences Meeting and Exhibit, Reno, NV, J...
34.118557
95
0.573803