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
ae93028834095132f0d185515f7eb82644b3d574
478
py
Python
heap/1.py
miiiingi/algorithmstudy
75eaf97e2c41d7edf32eb4a57d4d7685c9218aba
[ "MIT" ]
null
null
null
heap/1.py
miiiingi/algorithmstudy
75eaf97e2c41d7edf32eb4a57d4d7685c9218aba
[ "MIT" ]
null
null
null
heap/1.py
miiiingi/algorithmstudy
75eaf97e2c41d7edf32eb4a57d4d7685c9218aba
[ "MIT" ]
null
null
null
import heapq answer = solution([1,2,3,9,10,12], 1000) print(answer)
28.117647
45
0.523013
ae98e871311e8fb43a781a04df1f457c09b8bd46
587
py
Python
x_rebirth_station_calculator/station_data/modules/valley_forge.py
Phipsz/XRebirthStationCalculator
ac31c2f5816be34a7df2d7c4eb4bd5e01f7ff835
[ "MIT" ]
1
2016-04-17T11:00:22.000Z
2016-04-17T11:00:22.000Z
x_rebirth_station_calculator/station_data/modules/valley_forge.py
Phipsz/XRebirthStationCalculator
ac31c2f5816be34a7df2d7c4eb4bd5e01f7ff835
[ "MIT" ]
null
null
null
x_rebirth_station_calculator/station_data/modules/valley_forge.py
Phipsz/XRebirthStationCalculator
ac31c2f5816be34a7df2d7c4eb4bd5e01f7ff835
[ "MIT" ]
null
null
null
from x_rebirth_station_calculator.station_data.station_base import Module from x_rebirth_station_calculator.station_data.station_base import Production from x_rebirth_station_calculator.station_data.station_base import Consumption from x_rebirth_station_calculator.station_data import wares names = {'L044': 'Valley For...
39.133333
78
0.775128
ae999dae84b2cf7e73c7d8ac63967bb8d105893f
652
py
Python
migrations/versions/e424d03ba260_.py
danielSbastos/gistified
96a8b61df4dbe54cc2e808734976c969e024976b
[ "MIT" ]
null
null
null
migrations/versions/e424d03ba260_.py
danielSbastos/gistified
96a8b61df4dbe54cc2e808734976c969e024976b
[ "MIT" ]
null
null
null
migrations/versions/e424d03ba260_.py
danielSbastos/gistified
96a8b61df4dbe54cc2e808734976c969e024976b
[ "MIT" ]
null
null
null
"""empty message Revision ID: e424d03ba260 Revises: ace8d095a26b Create Date: 2017-10-12 11:25:11.775853 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = 'e424d03ba260' down_revision = 'ace8d095a26b' branch_labels = None depends_on = None
22.482759
81
0.68865
ae9c101bafb94a97148b51abc123ec5cc959835d
428
py
Python
backend/setup.py
erik/smiegel
34e9d132e241f2db4e96e84295588cd11d7c0164
[ "MIT" ]
null
null
null
backend/setup.py
erik/smiegel
34e9d132e241f2db4e96e84295588cd11d7c0164
[ "MIT" ]
null
null
null
backend/setup.py
erik/smiegel
34e9d132e241f2db4e96e84295588cd11d7c0164
[ "MIT" ]
null
null
null
from setuptools import setup setup( name='smiegel', version='0.0', long_description=__doc__, packages=['smiegel'], include_package_data=True, author='Erik Price', description='Self hosted SMS mirroring service', license='MIT', install_requires=open('requirements.txt').readlines(), ...
22.526316
58
0.640187
ae9ca2472d73373711675aa4fb19922a4e4088ab
1,558
py
Python
buycoins/ngnt.py
Youngestdev/buycoins-python
fa17600cfa92278d1c7f80f0a860e3ba7b5bc3b0
[ "MIT" ]
46
2021-02-06T07:29:22.000Z
2022-01-28T06:52:18.000Z
buycoins/ngnt.py
Youngestdev/buycoins-python
fa17600cfa92278d1c7f80f0a860e3ba7b5bc3b0
[ "MIT" ]
1
2021-04-05T12:40:38.000Z
2021-04-09T18:46:20.000Z
buycoins/ngnt.py
Youngestdev/buycoins-python
fa17600cfa92278d1c7f80f0a860e3ba7b5bc3b0
[ "MIT" ]
5
2021-02-06T08:02:19.000Z
2022-02-18T12:46:26.000Z
from buycoins.client import BuyCoinsClient from buycoins.exceptions import AccountError, ClientError, ServerError from buycoins.exceptions.utils import check_response
35.409091
89
0.596919
ae9d77bf011601ea6bcbab318779c48b7e9a439f
1,510
py
Python
factory-ai-vision/EdgeSolution/modules/WebModule/backend/vision_on_edge/azure_training_status/signals.py
piyushka17/azure-intelligent-edge-patterns
0d088899afb0022daa2ac434226824dba2c997c1
[ "MIT" ]
null
null
null
factory-ai-vision/EdgeSolution/modules/WebModule/backend/vision_on_edge/azure_training_status/signals.py
piyushka17/azure-intelligent-edge-patterns
0d088899afb0022daa2ac434226824dba2c997c1
[ "MIT" ]
null
null
null
factory-ai-vision/EdgeSolution/modules/WebModule/backend/vision_on_edge/azure_training_status/signals.py
piyushka17/azure-intelligent-edge-patterns
0d088899afb0022daa2ac434226824dba2c997c1
[ "MIT" ]
null
null
null
"""App Signals """ import logging from django.db.models.signals import post_save from django.dispatch import receiver from vision_on_edge.azure_training_status.models import TrainingStatus from vision_on_edge.notifications.models import Notification logger = logging.getLogger(__name__)
33.555556
75
0.654305
ae9e92c6d74c509eb9f3ed8c37b24f34f450e293
2,526
py
Python
brilleaux_flask/brilleaux.py
digirati-co-uk/brilleaux
5061d96e60239380c052f70dd12c4bec830e80db
[ "MIT" ]
null
null
null
brilleaux_flask/brilleaux.py
digirati-co-uk/brilleaux
5061d96e60239380c052f70dd12c4bec830e80db
[ "MIT" ]
null
null
null
brilleaux_flask/brilleaux.py
digirati-co-uk/brilleaux
5061d96e60239380c052f70dd12c4bec830e80db
[ "MIT" ]
null
null
null
import json import brilleaux_settings import flask from flask_caching import Cache from flask_cors import CORS import logging import sys from pyelucidate.pyelucidate import async_items_by_container, format_results, mirador_oa app = flask.Flask(__name__) CORS(app) cache = Cache( app, config={"CACHE_TYPE": "filesyst...
32.805195
88
0.644497
8818024dcc74585344f5c0d78dbccf72a3196b14
1,253
py
Python
src/aioros_master/master.py
mgrrx/aioros_master
24e74e851d6a00fb6517d053d78c02ed8b8bede2
[ "Apache-2.0" ]
1
2020-09-01T07:29:21.000Z
2020-09-01T07:29:21.000Z
src/aioros_master/master.py
mgrrx/aioros_master
24e74e851d6a00fb6517d053d78c02ed8b8bede2
[ "Apache-2.0" ]
null
null
null
src/aioros_master/master.py
mgrrx/aioros_master
24e74e851d6a00fb6517d053d78c02ed8b8bede2
[ "Apache-2.0" ]
null
null
null
from typing import Optional from aiohttp.web import AppRunner # TODO fix import from aioros.graph_resource import get_local_address from .master_api_server import start_server from .param_cache import ParamCache from .registration_manager import RegistrationManager
28.477273
72
0.656824
881919bc42fa47660473b0dc049df1de113f468a
1,344
py
Python
models/agent.py
AfrinAyesha/data-service
09d4aa45b1f8b0340646739fb0cf17966541af9d
[ "MIT" ]
null
null
null
models/agent.py
AfrinAyesha/data-service
09d4aa45b1f8b0340646739fb0cf17966541af9d
[ "MIT" ]
null
null
null
models/agent.py
AfrinAyesha/data-service
09d4aa45b1f8b0340646739fb0cf17966541af9d
[ "MIT" ]
null
null
null
from db import db
30.545455
123
0.638393
881a66b8c5d567be876f01b26aae1838a9ef3f6f
421
py
Python
oa/migrations/0004_auto_20171023_1747.py
htwenhe/DJOA
3c2d384a983e42dedfd72561353ecf9370a02115
[ "MIT" ]
1
2017-10-31T02:37:37.000Z
2017-10-31T02:37:37.000Z
oa/migrations/0004_auto_20171023_1747.py
htwenhe/whoa
3c2d384a983e42dedfd72561353ecf9370a02115
[ "MIT" ]
1
2017-10-31T01:56:58.000Z
2017-10-31T01:57:03.000Z
oa/migrations/0004_auto_20171023_1747.py
htwenhe/whoa
3c2d384a983e42dedfd72561353ecf9370a02115
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.9.13 on 2017-10-23 09:47 from __future__ import unicode_literals from django.db import migrations
20.047619
48
0.598575
881a7473f1b598f91ff5fb6ca636049be01b75ae
836
py
Python
DateVersioning.py
EinarArnason/DateVersioning
8e5a5e89218eed6324f71c9377d7342a0fd60cbd
[ "MIT" ]
null
null
null
DateVersioning.py
EinarArnason/DateVersioning
8e5a5e89218eed6324f71c9377d7342a0fd60cbd
[ "MIT" ]
null
null
null
DateVersioning.py
EinarArnason/DateVersioning
8e5a5e89218eed6324f71c9377d7342a0fd60cbd
[ "MIT" ]
null
null
null
import time import subprocess import sys import logging if __name__ == "__main__": try: print(generate(**dict(arg.split("=") for arg in sys.argv[1:]))) except GitDirectoryError as e: logging.error("%s %s", "[DateVersioning]", e)
25.333333
71
0.600478
881a898ae26445fd0e94d07ff062d0f6af611593
520
py
Python
src/cli_report.py
dmitryvodop/vk_likechecker
3673ecf7548b3374aa5082bc69b7db1669f2f9c2
[ "MIT" ]
null
null
null
src/cli_report.py
dmitryvodop/vk_likechecker
3673ecf7548b3374aa5082bc69b7db1669f2f9c2
[ "MIT" ]
null
null
null
src/cli_report.py
dmitryvodop/vk_likechecker
3673ecf7548b3374aa5082bc69b7db1669f2f9c2
[ "MIT" ]
null
null
null
MAX_CONSOLE_LINE_LENGTH = 79
34.666667
108
0.607692
881aadb872501d08df8bad8897f3a02a5ed64924
5,138
py
Python
s3splitmerge/merge.py
MacHu-GWU/s3splitmerge-project
873892158f4a2d0ee20f291e5d3b2a80f0bae1ba
[ "MIT" ]
null
null
null
s3splitmerge/merge.py
MacHu-GWU/s3splitmerge-project
873892158f4a2d0ee20f291e5d3b2a80f0bae1ba
[ "MIT" ]
null
null
null
s3splitmerge/merge.py
MacHu-GWU/s3splitmerge-project
873892158f4a2d0ee20f291e5d3b2a80f0bae1ba
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import typing import pandas as pd import smart_open import awswrangler as wr from .helpers import ( check_enumeration_s3_key_string, get_key_size_all_objects, group_s3_objects_no_larger_than, ) from .options import ZFILL def merge_parquet(boto3_session, source_u...
29.528736
87
0.610743
881b4859fbf99cdf056286c05c45307fee24239c
5,316
py
Python
maraboupy/test/test_query.py
yuvaljacoby/Marabou-1
553b780ef2e2cfe349b3954adc433a27af37a50f
[ "BSD-3-Clause" ]
null
null
null
maraboupy/test/test_query.py
yuvaljacoby/Marabou-1
553b780ef2e2cfe349b3954adc433a27af37a50f
[ "BSD-3-Clause" ]
null
null
null
maraboupy/test/test_query.py
yuvaljacoby/Marabou-1
553b780ef2e2cfe349b3954adc433a27af37a50f
[ "BSD-3-Clause" ]
1
2021-06-29T06:54:29.000Z
2021-06-29T06:54:29.000Z
# Supress warnings caused by tensorflow import warnings warnings.filterwarnings('ignore', category = DeprecationWarning) warnings.filterwarnings('ignore', category = PendingDeprecationWarning) import pytest from .. import Marabou import numpy as np import os # Global settings TOL = 1e-4 ...
40.892308
112
0.702784
881f656efbfa94bdb3489d35c6e705e30fa814e3
2,703
py
Python
blog/migrations/0006_auto_20220424_1910.py
moboroboo/training-site
053628c9ce131c3d88c621b837bf67fdd3c59cf2
[ "MIT" ]
null
null
null
blog/migrations/0006_auto_20220424_1910.py
moboroboo/training-site
053628c9ce131c3d88c621b837bf67fdd3c59cf2
[ "MIT" ]
null
null
null
blog/migrations/0006_auto_20220424_1910.py
moboroboo/training-site
053628c9ce131c3d88c621b837bf67fdd3c59cf2
[ "MIT" ]
null
null
null
# Generated by Django 3.2.12 on 2022-04-24 14:40 from django.conf import settings from django.db import migrations, models import django.db.models.deletion import django_jalali.db.models
35.565789
146
0.593045
88203bc1014682e00a112fd76476f7cca8c80dfe
6,825
py
Python
module4-acid-and-database-scalability-tradeoffs/titanic_queries.py
imdeja/DS-Unit-3-Sprint-2-SQL-and-Databases
100546c4c8acdecd3361661705f373a2bcd3e7c9
[ "MIT" ]
null
null
null
module4-acid-and-database-scalability-tradeoffs/titanic_queries.py
imdeja/DS-Unit-3-Sprint-2-SQL-and-Databases
100546c4c8acdecd3361661705f373a2bcd3e7c9
[ "MIT" ]
null
null
null
module4-acid-and-database-scalability-tradeoffs/titanic_queries.py
imdeja/DS-Unit-3-Sprint-2-SQL-and-Databases
100546c4c8acdecd3361661705f373a2bcd3e7c9
[ "MIT" ]
null
null
null
import os from dotenv import load_dotenv import pandas as pd import psycopg2 from psycopg2.extras import execute_values import json import numpy as np load_dotenv() DB_NAME = os.getenv("DB_NAME") DB_USER = os.getenv("DB_USER") DB_PASSWORD = os.getenv("DB_PASSWORD") DB_HOST= os.getenv("DB_HOST") conn = psycopg2.con...
42.12963
89
0.74989
88209768adc40766b4eb56ddccfe9cdaf5de8651
2,530
py
Python
flask-example/data-server/A.py
YJDoc2/Kerberos-Examples
cc5bb8fcbec52ab84e6f0e88d0843f8c564f0689
[ "MIT" ]
null
null
null
flask-example/data-server/A.py
YJDoc2/Kerberos-Examples
cc5bb8fcbec52ab84e6f0e88d0843f8c564f0689
[ "MIT" ]
null
null
null
flask-example/data-server/A.py
YJDoc2/Kerberos-Examples
cc5bb8fcbec52ab84e6f0e88d0843f8c564f0689
[ "MIT" ]
null
null
null
import json from flask import Flask, render_template, redirect, Response, jsonify,request from flask_cors import CORS from Kerberos import Server,Server_Error app = Flask(__name__, static_folder='./static', static_url_path='/') cors = CORS(app) #! This server uses distinct routes for different type of requests #? We ...
38.923077
110
0.679447
8820ecc0654f8927cee2ae38d218e22ba45c5793
3,050
py
Python
scripts/computeDice.py
STORM-IRIT/pcednet-supp
68d2a2a62bfb7b450bf241c2251ee3bb99d18c7e
[ "CC-BY-3.0" ]
7
2022-01-28T14:59:11.000Z
2022-03-17T05:09:28.000Z
scripts/computeDice.py
STORM-IRIT/pcednet-supp
68d2a2a62bfb7b450bf241c2251ee3bb99d18c7e
[ "CC-BY-3.0" ]
4
2021-11-18T13:50:21.000Z
2022-02-25T15:10:06.000Z
scripts/computeDice.py
STORM-IRIT/pcednet-supp
68d2a2a62bfb7b450bf241c2251ee3bb99d18c7e
[ "CC-BY-3.0" ]
null
null
null
import sys, glob from os import listdir, remove from os.path import dirname, join, isfile, abspath from io import StringIO import numpy as np import utilsmodule as um script_path = dirname(abspath(__file__)) datasetPath = join(script_path,"data/") e = 'shrec' ### Compute the dice coefficient used in Table 1, # E Mo...
26.99115
107
0.615738
8821e5692a8f5f25d979cb717b556c74dc17abc9
23
py
Python
pyfirebase/__init__.py
andela-cnnadi/python-fire
11868007a7ff7fec45ed87cec18466e351cdb5ab
[ "MIT" ]
14
2016-08-31T06:24:33.000Z
2019-12-12T11:23:21.000Z
pyfirebase/__init__.py
andela-cnnadi/python-fire
11868007a7ff7fec45ed87cec18466e351cdb5ab
[ "MIT" ]
2
2016-09-16T12:40:51.000Z
2016-12-27T06:26:39.000Z
pyfirebase/__init__.py
andela-cnnadi/python-fire
11868007a7ff7fec45ed87cec18466e351cdb5ab
[ "MIT" ]
5
2016-08-30T21:16:32.000Z
2020-11-05T20:39:52.000Z
from firebase import *
11.5
22
0.782609
8823f9acf9979c7b6037b4ffb5d08ae416a7a660
1,094
py
Python
plugins/dbnd-test-scenarios/src/dbnd_test_scenarios/integrations/mlflow_example.py
ipattarapong/dbnd
7bd65621c46c73e078eb628f994127ad4c7dbd1a
[ "Apache-2.0" ]
224
2020-01-02T10:46:37.000Z
2022-03-02T13:54:08.000Z
plugins/dbnd-test-scenarios/src/dbnd_test_scenarios/integrations/mlflow_example.py
ipattarapong/dbnd
7bd65621c46c73e078eb628f994127ad4c7dbd1a
[ "Apache-2.0" ]
16
2020-03-11T09:37:58.000Z
2022-01-26T10:22:08.000Z
plugins/dbnd-test-scenarios/src/dbnd_test_scenarios/integrations/mlflow_example.py
ipattarapong/dbnd
7bd65621c46c73e078eb628f994127ad4c7dbd1a
[ "Apache-2.0" ]
24
2020-03-24T13:53:50.000Z
2022-03-22T11:55:18.000Z
import logging from random import randint, random from mlflow import ( active_run, end_run, get_tracking_uri, log_metric, log_param, start_run, ) from mlflow.tracking import MlflowClient from dbnd import task logger = logging.getLogger(__name__) # # from dbnd_task # @task # def mlflow_ex...
20.259259
75
0.662706
88256ef9dd2f406213232667e9ac4bf44aae2ebc
312
py
Python
src/models/functions/__init__.py
takedarts/skipresnet
d6f1e16042f8433a287355009e17e4e5768ad319
[ "MIT" ]
3
2022-02-03T13:25:12.000Z
2022-02-04T16:12:23.000Z
src/models/functions/__init__.py
takedarts/skipresnet
d6f1e16042f8433a287355009e17e4e5768ad319
[ "MIT" ]
null
null
null
src/models/functions/__init__.py
takedarts/skipresnet
d6f1e16042f8433a287355009e17e4e5768ad319
[ "MIT" ]
1
2022-02-04T12:28:02.000Z
2022-02-04T12:28:02.000Z
from .channelpad import channelpad from .conv2d_same import conv2d_same from .padding import get_same_padding, pad_same from .shakedrop import shakedrop from .sigaug import signal_augment from .sigmoid import h_sigmoid from .stack import adjusted_concat, adjusted_stack from .swish import h_swish, swish
34.666667
51
0.826923
8826f802253e79fbdf200b9f603f2a1bd96164e1
2,673
py
Python
notes/conditionals/if_blocks.py
mcorley-gba/IntroCS21-22
a823e17f2cb618be0e67468cb15f48873ae85152
[ "MIT" ]
null
null
null
notes/conditionals/if_blocks.py
mcorley-gba/IntroCS21-22
a823e17f2cb618be0e67468cb15f48873ae85152
[ "MIT" ]
null
null
null
notes/conditionals/if_blocks.py
mcorley-gba/IntroCS21-22
a823e17f2cb618be0e67468cb15f48873ae85152
[ "MIT" ]
null
null
null
#Conditional Tests HW - Due Monday # 13 Tests --> 1 True and 1 False for each #If Statements #Simplest structure of an if statement: # if conditional_test: # do something <-- Instructions/commands #my_age = 13 #if my_age >= 18: # print("You are old enough to vote.") # print("Are you registered to vote?...
29.373626
76
0.716423
8828b21c1d7aa3ef1f1b5b77da67057776db662c
3,798
py
Python
make_histogram.py
hijinks/python-bcet
3e2fac66c82fb3f1c02e8e19153f5e3e97f57aca
[ "MIT" ]
null
null
null
make_histogram.py
hijinks/python-bcet
3e2fac66c82fb3f1c02e8e19153f5e3e97f57aca
[ "MIT" ]
null
null
null
make_histogram.py
hijinks/python-bcet
3e2fac66c82fb3f1c02e8e19153f5e3e97f57aca
[ "MIT" ]
null
null
null
#!/usr/bin/env python # BCET Workflow __author__ = 'Sam Brooke' __date__ = 'September 2017' __copyright__ = '(C) 2017, Sam Brooke' __email__ = "sbrooke@tuta.io" import os import georasters as gr import matplotlib.pyplot as plt import numpy as np from optparse import OptionParser import fnmatch import re from scipy....
27.926471
120
0.700105
882c6ccf86c14fc6738ccff54229e3586e042456
1,989
py
Python
subsurfaceCollabor8/frame_utils.py
digitalcollaboration-collabor8/subsurfaceSampleClient
f5009f3c7740d718392c0a9a2ec6179a51fd28cf
[ "Apache-2.0" ]
null
null
null
subsurfaceCollabor8/frame_utils.py
digitalcollaboration-collabor8/subsurfaceSampleClient
f5009f3c7740d718392c0a9a2ec6179a51fd28cf
[ "Apache-2.0" ]
3
2021-03-08T08:32:39.000Z
2021-07-29T08:56:49.000Z
subsurfaceCollabor8/frame_utils.py
digitalcollaboration-collabor8/subsurfaceSampleClient
f5009f3c7740d718392c0a9a2ec6179a51fd28cf
[ "Apache-2.0" ]
null
null
null
from pandas import DataFrame import os def frame_to_csv(frame:DataFrame,output_file:str,decimal_format=',', float_format=None,date_format=None,quote_char='"',no_data_repr='',sep=';'): """ Converts a pandas dataframe to a csv file Parameters ---------- output_file -> path to file to write to d...
33.15
94
0.712418
882fe548d37c7d24cd165d77437c6ae5e4632773
1,562
py
Python
integrationtest/vm/ha/test_ui_stop.py
sherry546/zstack-woodpecker
54a37459f2d72ce6820974feaa6eb55772c3d2ce
[ "Apache-2.0" ]
1
2021-03-21T12:41:11.000Z
2021-03-21T12:41:11.000Z
integrationtest/vm/ha/test_ui_stop.py
sherry546/zstack-woodpecker
54a37459f2d72ce6820974feaa6eb55772c3d2ce
[ "Apache-2.0" ]
null
null
null
integrationtest/vm/ha/test_ui_stop.py
sherry546/zstack-woodpecker
54a37459f2d72ce6820974feaa6eb55772c3d2ce
[ "Apache-2.0" ]
1
2017-05-19T06:40:40.000Z
2017-05-19T06:40:40.000Z
''' Integration Test for HA mode with UI stop on one node. @author: Quarkonics ''' import zstackwoodpecker.test_util as test_util import zstackwoodpecker.test_state as test_state import zstackwoodpecker.test_lib as test_lib import zstackwoodpecker.operations.resource_operations as res_ops import zstackwoo...
37.190476
97
0.733675
8832c2e7a770e80b777ea2950239b133e7919983
4,736
py
Python
scope/device/andor/lowlevel.py
drew-sinha/rpc-scope
268864097b5b7d123a842f216adc446ec6b32d01
[ "MIT" ]
1
2017-11-10T17:23:11.000Z
2017-11-10T17:23:11.000Z
scope/device/andor/lowlevel.py
drew-sinha/rpc-scope
268864097b5b7d123a842f216adc446ec6b32d01
[ "MIT" ]
5
2018-08-01T03:05:35.000Z
2018-11-29T22:11:25.000Z
scope/device/andor/lowlevel.py
drew-sinha/rpc-scope
268864097b5b7d123a842f216adc446ec6b32d01
[ "MIT" ]
3
2016-05-25T18:58:35.000Z
2018-11-29T23:40:45.000Z
# This code is licensed under the MIT License (see LICENSE file for details) import ctypes import atexit # import all the autogenerated functions and definitions # note: also pulls in common which provides AndorError and several other constants from . import wrapper from .wrapper import * # Provided for reference pu...
31.157895
117
0.714949
88398ae2c4128d5752a93cafe6efa48eb9858180
3,718
py
Python
tests/integration/questionnaire/test_questionnaire_save_sign_out.py
uk-gov-mirror/ONSdigital.eq-survey-runner
b3a67a82347d024177f7fa6bf05499f47ece7ea5
[ "MIT" ]
27
2015-10-02T17:27:54.000Z
2021-04-05T12:39:16.000Z
tests/integration/questionnaire/test_questionnaire_save_sign_out.py
uk-gov-mirror/ONSdigital.eq-survey-runner
b3a67a82347d024177f7fa6bf05499f47ece7ea5
[ "MIT" ]
1,836
2015-09-16T09:59:03.000Z
2022-03-30T14:27:06.000Z
tests/integration/questionnaire/test_questionnaire_save_sign_out.py
uk-gov-mirror/ONSdigital.eq-survey-runner
b3a67a82347d024177f7fa6bf05499f47ece7ea5
[ "MIT" ]
20
2016-09-09T16:56:12.000Z
2021-11-12T06:09:27.000Z
from app.validation.error_messages import error_messages from tests.integration.integration_test_case import IntegrationTestCase
35.75
149
0.655998
883ab54b46f93c6809f1bedd1cd71a0ee4774d4e
16,479
py
Python
model/UniGNN.py
czc567/UniGNN
bbb061f393b847ff6c7c20cab9e1ecb8f1c3eb96
[ "MIT" ]
null
null
null
model/UniGNN.py
czc567/UniGNN
bbb061f393b847ff6c7c20cab9e1ecb8f1c3eb96
[ "MIT" ]
null
null
null
model/UniGNN.py
czc567/UniGNN
bbb061f393b847ff6c7c20cab9e1ecb8f1c3eb96
[ "MIT" ]
null
null
null
import torch import torch.nn as nn, torch.nn.functional as F from torch.nn.parameter import Parameter import math from torch_scatter import scatter from torch_geometric.utils import softmax # NOTE: can not tell which implementation is better statistically def normalize_l2(X): """Row-normalize matrix""" ...
32.311765
141
0.550155
883dc5b6a2c7b8f6d8eeeaa196713dc1735f14e3
23,515
py
Python
emolog_pc/emolog/emotool/main.py
alon/emolog
ed6e9e30a46ffc04282527ee73aa3bb8605e2dc9
[ "MIT" ]
null
null
null
emolog_pc/emolog/emotool/main.py
alon/emolog
ed6e9e30a46ffc04282527ee73aa3bb8605e2dc9
[ "MIT" ]
2
2019-01-29T15:27:34.000Z
2021-03-06T20:00:16.000Z
emolog_pc/emolog/emotool/main.py
alon/emolog
ed6e9e30a46ffc04282527ee73aa3bb8605e2dc9
[ "MIT" ]
1
2019-01-03T18:44:54.000Z
2019-01-03T18:44:54.000Z
#!/bin/env python3 # import os # os.environ['PYTHONASYNCIODEBUG'] = '1' # import logging # logging.getLogger('asyncio').setLevel(logging.DEBUG) from datetime import datetime import traceback import atexit import argparse import os from os import path import sys import logging from struct import pack import random fro...
39.991497
180
0.671444
8840790f6010bda703bcb00bd31eb62706621ff5
799
py
Python
Workflows/pyOpenMS/OpenSwathFeatureXMLToTSV_basics.py
Leon-Bichmann/Tutorials
c9183f98b162833cbca59e6d71a5ae3cc4375b31
[ "BSD-3-Clause" ]
null
null
null
Workflows/pyOpenMS/OpenSwathFeatureXMLToTSV_basics.py
Leon-Bichmann/Tutorials
c9183f98b162833cbca59e6d71a5ae3cc4375b31
[ "BSD-3-Clause" ]
null
null
null
Workflows/pyOpenMS/OpenSwathFeatureXMLToTSV_basics.py
Leon-Bichmann/Tutorials
c9183f98b162833cbca59e6d71a5ae3cc4375b31
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- import sys def main(options): # test parameter handling print options.infile, options.traml_in, options.outfile def handle_args(): import argparse usage = "" usage += "\nOpenSwathFeatureXMLToTSV Converts a featureXML to a mProphet tsv." parser ...
799
799
0.68836
88409ac26b662efb26f26a13bba8f1ae10c3260d
487
py
Python
test.py
exc4l/kanjigrid
9e7dc0dadb578fc7ee4129aca5abf0a3767bc6dd
[ "MIT" ]
1
2021-03-23T14:10:59.000Z
2021-03-23T14:10:59.000Z
test.py
exc4l/kanjigrid
9e7dc0dadb578fc7ee4129aca5abf0a3767bc6dd
[ "MIT" ]
null
null
null
test.py
exc4l/kanjigrid
9e7dc0dadb578fc7ee4129aca5abf0a3767bc6dd
[ "MIT" ]
null
null
null
import kanjigrid gridder = kanjigrid.Gridder("Kanji", 40, "Header", 52) grading = kanjigrid.Jouyou() with open("test.txt", "r", encoding="utf-8") as f: data = f.read() gridder.feed_text(data) grid = gridder.make_grid(grading, outside_of_grading=True, stats=True, bar_graph=True) grid.save("test.png") if "" in gra...
28.647059
86
0.702259
8843966a1736b059d72b2035589a76126f469706
12,738
py
Python
spectrl/rl/ars_discrete.py
luigiberducci/dirl
5f7997aea20dfb7347ebdee66de9bea4e6cd3c62
[ "MIT" ]
6
2021-11-11T00:29:18.000Z
2022-03-18T13:56:51.000Z
spectrl/rl/ars_discrete.py
luigiberducci/dirl
5f7997aea20dfb7347ebdee66de9bea4e6cd3c62
[ "MIT" ]
null
null
null
spectrl/rl/ars_discrete.py
luigiberducci/dirl
5f7997aea20dfb7347ebdee66de9bea4e6cd3c62
[ "MIT" ]
4
2021-11-26T03:11:02.000Z
2022-01-13T02:32:29.000Z
import torch import numpy as np import time from spectrl.util.rl import get_rollout, test_policy def ars(env, nn_policy, params): ''' Run augmented random search. Parameters: env: gym.Env (state is expected to be a pair (np.array, int)) Also expected to provide cum_reward() funct...
33.87766
100
0.622861
8844d83df31129aa57478e21727d0b2f1ba309a4
640
py
Python
backends/c-scpu/config.py
guoshzhao/antares
30a6338dd6ce4100922cf26ec515e615b449f76a
[ "MIT" ]
null
null
null
backends/c-scpu/config.py
guoshzhao/antares
30a6338dd6ce4100922cf26ec515e615b449f76a
[ "MIT" ]
null
null
null
backends/c-scpu/config.py
guoshzhao/antares
30a6338dd6ce4100922cf26ec515e615b449f76a
[ "MIT" ]
null
null
null
# Copyright (c) Microsoft Corporation. # Licensed under the MIT license. import subprocess
22.857143
111
0.673438
884592962cd70a31da5127626d57fbccde00c157
408
py
Python
grab-exceptions.py
Plexical/pymod.me
b3bf1a8c6e15fa02d1b58a8f296ba60aae60d18a
[ "MIT" ]
1
2016-06-13T19:17:03.000Z
2016-06-13T19:17:03.000Z
grab-exceptions.py
Plexical/pymod.me
b3bf1a8c6e15fa02d1b58a8f296ba60aae60d18a
[ "MIT" ]
3
2017-05-10T08:29:20.000Z
2018-02-07T20:57:16.000Z
grab-exceptions.py
Plexical/pydoc.me
b3bf1a8c6e15fa02d1b58a8f296ba60aae60d18a
[ "MIT" ]
null
null
null
import sys from pymod import index from pymod.index import modules from pymod.mappings import url out = lambda s: sys.stdout.write(s) out('{ ') dom = index.domof('https://docs.python.org/2/library/exceptions.html') for el in (el for el in dom.findAll('a', {'class': 'headerlink'}) if '-' not in el.attrs['...
25.5
70
0.644608
8845d03ee4e193d770ba1a3bdc365691fd17435f
878
py
Python
src/10_reactive/db.py
rurumimic/concurrency-python
3eb7875dd4848872226f8035d295a31a40e32bf0
[ "MIT" ]
null
null
null
src/10_reactive/db.py
rurumimic/concurrency-python
3eb7875dd4848872226f8035d295a31a40e32bf0
[ "MIT" ]
null
null
null
src/10_reactive/db.py
rurumimic/concurrency-python
3eb7875dd4848872226f8035d295a31a40e32bf0
[ "MIT" ]
null
null
null
import sqlite3 from collections import namedtuple from functional import seq with sqlite3.connect(':memory:') as conn: conn.execute('CREATE TABLE user (id INT, name TEXT)') conn.commit() User = namedtuple('User', 'id name') seq([(1, 'pedro'), (2, 'fritz')]).to_sqlite3( conn, 'INSERT INTO user...
31.357143
84
0.555809
88466faa8fda4f9d6ebd884891fe47a03fd3b5e7
298
py
Python
run_wrf/configs/test/config_test_jobsched.py
matzegoebel/run_wrf
cbbbb0ec818416d9b24698d369f70ad9ba8cb801
[ "BSD-2-Clause" ]
2
2021-01-15T11:05:37.000Z
2021-01-15T11:05:39.000Z
run_wrf/configs/test/config_test_jobsched.py
matzegoebel/run_wrf
cbbbb0ec818416d9b24698d369f70ad9ba8cb801
[ "BSD-2-Clause" ]
null
null
null
run_wrf/configs/test/config_test_jobsched.py
matzegoebel/run_wrf
cbbbb0ec818416d9b24698d369f70ad9ba8cb801
[ "BSD-2-Clause" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Settings for launch_jobs.py Test settings for automated tests. To test run with job scheduler @author: Matthias Gbel """ from run_wrf.configs.test.config_test import * from copy import deepcopy params = deepcopy(params) params["vmem"] = 500
16.555556
46
0.728188
8846dbf904bdc1c8ef7bcf560fdf92013cf493ce
362
py
Python
Chapter 02/Chap02_Example2.9.py
bpbpublications/Programming-Techniques-using-Python
49b785f37e95a3aad1d36cef51e219ac56e5e9f0
[ "MIT" ]
null
null
null
Chapter 02/Chap02_Example2.9.py
bpbpublications/Programming-Techniques-using-Python
49b785f37e95a3aad1d36cef51e219ac56e5e9f0
[ "MIT" ]
null
null
null
Chapter 02/Chap02_Example2.9.py
bpbpublications/Programming-Techniques-using-Python
49b785f37e95a3aad1d36cef51e219ac56e5e9f0
[ "MIT" ]
null
null
null
s1 = "I am a beginner in python \nI will study the concepts to be familiar with this language.\nIt is a very user friendly language" print("The long string is: \n" + s1) # -- L1 s2 = """The long string is: I am a beginner in python I will study the concepts to be familiar with this language. It is a very user ...
40.222222
133
0.69337
884a95c1571d9440eebd2ee5b658dea1bc3ebe28
5,177
py
Python
requirements/docutils-0.18/setup.py
QuentinTournier40/AnimationFreeCAD
8eaff8356ec68b948a721b83a6888b652278db8a
[ "Apache-2.0" ]
null
null
null
requirements/docutils-0.18/setup.py
QuentinTournier40/AnimationFreeCAD
8eaff8356ec68b948a721b83a6888b652278db8a
[ "Apache-2.0" ]
null
null
null
requirements/docutils-0.18/setup.py
QuentinTournier40/AnimationFreeCAD
8eaff8356ec68b948a721b83a6888b652278db8a
[ "Apache-2.0" ]
1
2022-02-03T08:03:30.000Z
2022-02-03T08:03:30.000Z
#!/usr/bin/env python # $Id: setup.py 8864 2021-10-26 11:46:55Z grubert $ # Copyright: This file has been placed in the public domain. from __future__ import print_function import glob import os import sys try: from setuptools import setup except ImportError: print('Error: The "setuptools" module, which is r...
35.703448
78
0.603631
884b8595b246a25d1c4c0a76969e4887169352b3
3,171
py
Python
tests/plugins/remove/test_rm_cli.py
jtpavlock/moe
6f053c8c53f92686013657bda676b00f97edd230
[ "MIT" ]
14
2021-09-04T11:42:18.000Z
2022-02-04T05:11:46.000Z
tests/plugins/remove/test_rm_cli.py
jtpavlock/Moe
6f053c8c53f92686013657bda676b00f97edd230
[ "MIT" ]
56
2021-05-26T00:00:46.000Z
2021-08-08T17:14:31.000Z
tests/plugins/remove/test_rm_cli.py
jtpavlock/moe
6f053c8c53f92686013657bda676b00f97edd230
[ "MIT" ]
1
2021-07-22T21:55:21.000Z
2021-07-22T21:55:21.000Z
"""Tests the ``remove`` plugin.""" from unittest.mock import patch import pytest import moe class TestCommand: """Test the `remove` command.""" def test_track(self, mock_track, mock_query, mock_rm, tmp_rm_config): """Tracks are removed from the database with valid query.""" cli_args = ["...
33.03125
84
0.666667
884fed80e4bfbef3b30a1a62c33621b37d15f8a9
2,089
py
Python
include/PyBool_builder.py
tyler-utah/PBL
842a3fab949528bc03ee03d1f802e4163604d0f5
[ "BSD-2-Clause-FreeBSD" ]
9
2015-04-03T10:40:35.000Z
2021-02-18T21:54:54.000Z
include/PyBool_builder.py
tyler-utah/PBL
842a3fab949528bc03ee03d1f802e4163604d0f5
[ "BSD-2-Clause-FreeBSD" ]
1
2017-08-06T18:46:35.000Z
2017-08-07T14:01:23.000Z
include/PyBool_builder.py
tyler-utah/PBL
842a3fab949528bc03ee03d1f802e4163604d0f5
[ "BSD-2-Clause-FreeBSD" ]
7
2015-10-09T05:42:04.000Z
2022-03-24T19:07:19.000Z
#Tyler Sorensen #February 15, 2012 #University of Utah #PyBool_builder.py #The interface to build recursive style boolean expressions #See README.txt for more information def mk_const_expr(val): """ returns a constant expression of value VAL VAL should be of type boolean """ return {"type" : "con...
23.47191
59
0.560555
8850e891db7232fd18b38c698cdc17d7011b2602
2,595
py
Python
spotify-monitor.py
tmessi/bins
6fdd738ee44b5dc68849ddb6056667c4170dd603
[ "MIT" ]
null
null
null
spotify-monitor.py
tmessi/bins
6fdd738ee44b5dc68849ddb6056667c4170dd603
[ "MIT" ]
null
null
null
spotify-monitor.py
tmessi/bins
6fdd738ee44b5dc68849ddb6056667c4170dd603
[ "MIT" ]
null
null
null
#!/usr/bin/env python2 ''' A simple script to get the playback status of spotify. This script needs ``dbus-python`` for spotify communication To run simply:: ./spotify-monitor.py <command> Where command is one of the following:: ``playback`` ``playing`` ''' # pylint: disable=W0703 import dbus from db...
27.315789
85
0.563391
8851d7b5290203c0b1a5e1b0bf63d3352db40abc
787
py
Python
tests/file-test/test-pyro.py
nelmiux/CS347-Data_Management
1e9d87097b5a373f9312b0d6b413198e495fd6c0
[ "CNRI-Jython" ]
null
null
null
tests/file-test/test-pyro.py
nelmiux/CS347-Data_Management
1e9d87097b5a373f9312b0d6b413198e495fd6c0
[ "CNRI-Jython" ]
null
null
null
tests/file-test/test-pyro.py
nelmiux/CS347-Data_Management
1e9d87097b5a373f9312b0d6b413198e495fd6c0
[ "CNRI-Jython" ]
null
null
null
import sys sys.path.insert(0, '../Pyro4-4.17') import Pyro4 from time import clock """ log = open('pyro.log', 'w') times = [] proxy = Pyro4.Proxy("PYRO:example.service@localhost:54642") for i in range(100) : local = [] begin = clock() for files in proxy.getFiles(proxy.getcwd()) : for file in file...
24.59375
72
0.617535
88521be531a73b3f205941d7145e1d213b76932c
117
py
Python
tests/test_controllers/test_demo.py
wikimedia/analytics-wikimetrics
1d2036657b06ccd16ecfc76edd3f9a6119ff75f4
[ "MIT" ]
6
2015-01-28T05:59:08.000Z
2018-01-09T07:48:57.000Z
tests/test_controllers/test_demo.py
wikimedia/analytics-wikimetrics
1d2036657b06ccd16ecfc76edd3f9a6119ff75f4
[ "MIT" ]
2
2020-05-09T16:36:43.000Z
2020-05-09T16:52:35.000Z
tests/test_controllers/test_demo.py
wikimedia/analytics-wikimetrics
1d2036657b06ccd16ecfc76edd3f9a6119ff75f4
[ "MIT" ]
1
2016-01-13T07:19:44.000Z
2016-01-13T07:19:44.000Z
from nose.tools import assert_equal from tests.fixtures import WebTest
16.714286
35
0.811966
8852b79b5bfc54d623d2ee6424607b818660de24
1,358
py
Python
evaluation/hpt/sizes/plot.py
cucl-srg/Measuring-Burstiness
b9024bf606362d5587773a0c5b892fcb97a3d577
[ "Apache-2.0" ]
1
2022-03-21T02:26:27.000Z
2022-03-21T02:26:27.000Z
evaluation/hpt/sizes/plot.py
cucl-srg/Measuring-Burstiness
b9024bf606362d5587773a0c5b892fcb97a3d577
[ "Apache-2.0" ]
null
null
null
evaluation/hpt/sizes/plot.py
cucl-srg/Measuring-Burstiness
b9024bf606362d5587773a0c5b892fcb97a3d577
[ "Apache-2.0" ]
1
2020-08-10T16:46:05.000Z
2020-08-10T16:46:05.000Z
import sys import matplotlib import numpy as np # Avoid errors when running on headless servers. matplotlib.use('Agg') import matplotlib.pyplot as plt if len(sys.argv) != 6: print "Usage plot.py <data file port 1> <min size> <step size> <max size> <num packets sent>" sys.exit(1) width = 20 data_file = sys.ar...
28.893617
97
0.658321
8853e415ffd0f52c5a2f8419a9bf5ebfef325883
2,678
py
Python
examples/pytorch/dtgrnn/dataloading.py
ketyi/dgl
a1b859c29b63a673c148d13231a49504740e0e01
[ "Apache-2.0" ]
9,516
2018-12-08T22:11:31.000Z
2022-03-31T13:04:33.000Z
examples/pytorch/dtgrnn/dataloading.py
ketyi/dgl
a1b859c29b63a673c148d13231a49504740e0e01
[ "Apache-2.0" ]
2,494
2018-12-08T22:43:00.000Z
2022-03-31T21:16:27.000Z
examples/pytorch/dtgrnn/dataloading.py
ketyi/dgl
a1b859c29b63a673c148d13231a49504740e0e01
[ "Apache-2.0" ]
2,529
2018-12-08T22:56:14.000Z
2022-03-31T13:07:41.000Z
import os import ssl from six.moves import urllib import torch import numpy as np import dgl from torch.utils.data import Dataset, DataLoader def PEMS_BAYGraphDataset(): if not os.path.exists('data/graph_bay.bin'): if not os.path.exists('data'): os.mkdir('data') download_file('gr...
28.795699
78
0.639283
88551bbfcb08a1b53c119a389c90207f6e61b6cd
1,552
py
Python
django_boto/tests.py
degerli/django-boto
930863b75c0f26eb10090a6802e16e1cf127b588
[ "MIT" ]
54
2015-02-09T14:25:56.000Z
2021-09-03T21:11:29.000Z
django_boto/tests.py
degerli/django-boto
930863b75c0f26eb10090a6802e16e1cf127b588
[ "MIT" ]
12
2015-01-10T06:39:56.000Z
2019-06-19T19:36:40.000Z
django_boto/tests.py
degerli/django-boto
930863b75c0f26eb10090a6802e16e1cf127b588
[ "MIT" ]
18
2015-01-09T20:06:38.000Z
2019-02-22T12:33:44.000Z
# -*- coding: utf-8 -*- import string import random import logging import urllib2 from os import path from django.test import TestCase from django.core.files.base import ContentFile from s3 import upload from s3.storage import S3Storage from settings import BOTO_S3_BUCKET logger = logging.getLogger(__name__) local...
23.164179
74
0.661727
8857049e6802ce1ea80b578b8e1834b184a88a8c
4,060
py
Python
src/roswire/ros1/bag/player.py
ChrisTimperley/roswire
3220583305dc3e90b8cf0a7653cbc1b9c7fdb83b
[ "Apache-2.0" ]
4
2019-09-22T18:38:33.000Z
2021-04-02T01:37:10.000Z
src/roswire/ros1/bag/player.py
ChrisTimperley/roswire
3220583305dc3e90b8cf0a7653cbc1b9c7fdb83b
[ "Apache-2.0" ]
208
2019-03-27T18:34:39.000Z
2021-07-26T20:36:07.000Z
src/roswire/ros1/bag/player.py
ChrisTimperley/roswire
3220583305dc3e90b8cf0a7653cbc1b9c7fdb83b
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # http://wiki.ros.org/Bags/Format/2.0 __all__ = ("BagPlayer",) import subprocess import threading from types import TracebackType from typing import Optional, Type import dockerblade from loguru import logger from ... import exceptions def finished(self) -> bool: """Checks wheth...
29.852941
71
0.578818
885a5fd1a5967b9a6efcaa58fe258ea5b945e757
3,120
py
Python
flask_vgavro_utils/decorators.py
vgavro/flask-vgavro-utils
01b7caa0241a6b606c228081eea169e51a0d1337
[ "BSD-2-Clause" ]
null
null
null
flask_vgavro_utils/decorators.py
vgavro/flask-vgavro-utils
01b7caa0241a6b606c228081eea169e51a0d1337
[ "BSD-2-Clause" ]
null
null
null
flask_vgavro_utils/decorators.py
vgavro/flask-vgavro-utils
01b7caa0241a6b606c228081eea169e51a0d1337
[ "BSD-2-Clause" ]
null
null
null
from functools import wraps from flask import request, make_response from .exceptions import ApiError from .schemas import create_schema, ma_version_lt_300b7 def response_headers(headers={}): """ This decorator adds the headers passed in to the response """ # http://flask.pocoo.org/snippets/100/ ...
31.515152
96
0.605769
885c26a7ab9bb55b6a5e53e5c4ace165bde1c509
1,447
py
Python
manolo/urls.py
rmaceissoft/django-manolo
7a447b6b06a5a9a0bbc3ed5daf754721a48bbd76
[ "BSD-3-Clause" ]
null
null
null
manolo/urls.py
rmaceissoft/django-manolo
7a447b6b06a5a9a0bbc3ed5daf754721a48bbd76
[ "BSD-3-Clause" ]
null
null
null
manolo/urls.py
rmaceissoft/django-manolo
7a447b6b06a5a9a0bbc3ed5daf754721a48bbd76
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.conf import settings from django.conf.urls import include, url from django.conf.urls.static import static from django.urls import path # Uncomment the next two lines to enable the admin: from django.contrib import admin from drf_yasg.views im...
34.452381
105
0.704216
885c8e23ca6cf334dab1eb1260245a09eefae5fc
2,043
py
Python
samples/frontend/datagator/rest/decorators.py
liuyu81/datagator-contrib
813529e211f680732bd1dc9568f5b4f2bdcacdcc
[ "Apache-2.0" ]
2
2015-02-20T02:50:07.000Z
2017-05-02T19:26:42.000Z
samples/frontend/datagator/rest/decorators.py
liuyu81/datagator-contrib
813529e211f680732bd1dc9568f5b4f2bdcacdcc
[ "Apache-2.0" ]
null
null
null
samples/frontend/datagator/rest/decorators.py
liuyu81/datagator-contrib
813529e211f680732bd1dc9568f5b4f2bdcacdcc
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- """ datagator.rest.decorators ~~~~~~~~~~~~~~~~~~~~~~~~~ :copyright: 2015 by `University of Denver <http://pardee.du.edu/>`_ :license: Apache 2.0, see LICENSE for more details. """ import base64 from django.contrib.auth import authenticate, login from django.core.exceptions imp...
29.608696
78
0.600587
885d21f84b46886e1d6a64a22aa7df5e772efb4b
2,836
py
Python
src/ui.py
ajstensland/slyther
176e901120032b94427d634e647cb8940b019f14
[ "MIT" ]
9
2019-10-15T17:24:09.000Z
2021-11-07T20:23:43.000Z
src/ui.py
ajstensland/slyther
176e901120032b94427d634e647cb8940b019f14
[ "MIT" ]
21
2019-10-17T15:42:04.000Z
2019-11-14T20:43:55.000Z
src/ui.py
ajstensland/slyther
176e901120032b94427d634e647cb8940b019f14
[ "MIT" ]
4
2019-10-27T13:54:03.000Z
2021-07-09T12:54:02.000Z
from getpass import getpass import socket COLORS = {"green" : "\33[92m", "red" : "\33[91m", "yellow" : "\33[93m", "endc" : "\33[0m" } def print_green(msg): """Prints msg in green text.""" print("{0}{1}{2}".format(COLORS["green"], msg, COLORS["endc"])) def print_yellow(ms...
26.259259
82
0.575811
885d4d75f5722e68e64b97b960999165b69c5ecc
1,244
py
Python
src/data processing - clinical notes and structured data/step5_note_level_tagging.py
arjun-parthi/SSRI-Project
62f610a594e5849ccf0f3c25cd6adcd63888ec2a
[ "MIT" ]
2
2019-02-12T00:37:37.000Z
2021-03-25T05:40:06.000Z
src/data processing - clinical notes and structured data/step5_note_level_tagging.py
arjun-parthi/SSRI-Project
62f610a594e5849ccf0f3c25cd6adcd63888ec2a
[ "MIT" ]
null
null
null
src/data processing - clinical notes and structured data/step5_note_level_tagging.py
arjun-parthi/SSRI-Project
62f610a594e5849ccf0f3c25cd6adcd63888ec2a
[ "MIT" ]
1
2021-03-25T05:40:17.000Z
2021-03-25T05:40:17.000Z
import pandas as pd import numpy as np from collections import Counter data = pd.read_csv('out/negex_all.txt', sep="\t", header=None) print(data.shape) data.columns = ['PAT_DEID','NOTE_DEID','NOTE_DATE','ENCOUNTER_DATE','NOTE_CODE','TEXT_SNIPPET','lower_text','STATUS'] df = data.groupby(['PAT_DEID','NOTE_DEID','NOTE_...
34.555556
141
0.676045
885d8583c03a1a8044c9ab014f78fb40213a58b5
821
py
Python
app.py
shaungarwood/co-voter-db
bcbc0d46459cc9913ed318b32b284a4139c75b74
[ "MIT" ]
null
null
null
app.py
shaungarwood/co-voter-db
bcbc0d46459cc9913ed318b32b284a4139c75b74
[ "MIT" ]
null
null
null
app.py
shaungarwood/co-voter-db
bcbc0d46459cc9913ed318b32b284a4139c75b74
[ "MIT" ]
null
null
null
from flask import Flask from flask import request from flask import jsonify from os import environ import query app = Flask(__name__) if 'MONGODB_HOST' in environ: mongodb_host = environ['MONGODB_HOST'] else: mongodb_host = "localhost" if 'MONGODB_PORT' in environ: mongodb_port = environ['MONGODB_PORT']...
21.605263
52
0.686967
885e29d199b2465852d40fecbeb6ea0388645c61
972
py
Python
stack/tests/m_decoded_string_test.py
dhrubach/python-code-recipes
14356c6adb1946417482eaaf6f42dde4b8351d2f
[ "MIT" ]
null
null
null
stack/tests/m_decoded_string_test.py
dhrubach/python-code-recipes
14356c6adb1946417482eaaf6f42dde4b8351d2f
[ "MIT" ]
null
null
null
stack/tests/m_decoded_string_test.py
dhrubach/python-code-recipes
14356c6adb1946417482eaaf6f42dde4b8351d2f
[ "MIT" ]
null
null
null
from stack.m_decoded_string import DecodeString
24.3
66
0.595679
885efaccc06cb190fd2ac00927d90705f3efe0f0
534
py
Python
tests/uranium/plot_rho.py
rc/dftatom
fe479fd27a7e0f77c6a88a1949996406ec935ac2
[ "MIT" ]
40
2015-03-19T16:00:14.000Z
2021-12-29T03:06:10.000Z
tests/uranium/plot_rho.py
rc/dftatom
fe479fd27a7e0f77c6a88a1949996406ec935ac2
[ "MIT" ]
6
2015-06-23T21:59:56.000Z
2019-09-04T20:36:51.000Z
tests/uranium/plot_rho.py
rc/dftatom
fe479fd27a7e0f77c6a88a1949996406ec935ac2
[ "MIT" ]
15
2015-06-07T15:14:49.000Z
2021-12-05T07:03:24.000Z
from pylab import plot, show, legend from numpy import array from h5py import File data = File("data.h5") iter = 2 R = array(data["/%04d/R" % iter]) rho = array(data["/%04d/rho" % iter]) Vtot = array(data["/%04d/V_tot" % iter]) Zeff = -Vtot * R #for i in range(1, 19): # P = array(data["/%04d/P%04d" % (iter, i)])...
22.25
47
0.571161
88601c88f30dcd435b8268d9578887c317aa8098
379
py
Python
src/account/migrations/0002_address_default_add.py
amaan2398/EcommerceWebsiteDjango
5173d13d60c1276c957161ce0ea37b8de5acddf4
[ "MIT" ]
1
2020-08-11T01:17:36.000Z
2020-08-11T01:17:36.000Z
src/account/migrations/0002_address_default_add.py
amaan2398/EcommerceWebsiteDjango
5173d13d60c1276c957161ce0ea37b8de5acddf4
[ "MIT" ]
null
null
null
src/account/migrations/0002_address_default_add.py
amaan2398/EcommerceWebsiteDjango
5173d13d60c1276c957161ce0ea37b8de5acddf4
[ "MIT" ]
null
null
null
# Generated by Django 3.1 on 2020-08-18 13:17 from django.db import migrations, models
19.947368
52
0.593668
886191b83cc6306a7a234ebf3e4730d225e73536
692
py
Python
100-clean_web_static.py
cbarros7/AirBnB_clone_v2
b25d8facc07ac5be2092a9f6214d1ef8c32ce60e
[ "MIT" ]
null
null
null
100-clean_web_static.py
cbarros7/AirBnB_clone_v2
b25d8facc07ac5be2092a9f6214d1ef8c32ce60e
[ "MIT" ]
null
null
null
100-clean_web_static.py
cbarros7/AirBnB_clone_v2
b25d8facc07ac5be2092a9f6214d1ef8c32ce60e
[ "MIT" ]
1
2021-08-11T05:20:27.000Z
2021-08-11T05:20:27.000Z
#!/usr/bin/python3 # Fabfile to delete out-of-date archives. import os from fabric.api import * env.hosts = ['104.196.116.233', '54.165.130.77'] def do_clean(number=0): """Delete out-of-date archives. """ number = 1 if int(number) == 0 else int(number) archives = sorted(os.listdir("versions")) [...
28.833333
62
0.606936
88627cf7ecface35fcb049861351f30b77fd4c4c
173
py
Python
tfrec/utils/__init__.py
Praful932/Tf-Rec
fe0e08d3621da911149a95d8a701e434dfa61161
[ "MIT" ]
18
2020-12-22T04:16:54.000Z
2022-03-23T08:49:16.000Z
tfrec/utils/__init__.py
Praful932/Tf-Rec
fe0e08d3621da911149a95d8a701e434dfa61161
[ "MIT" ]
1
2021-05-11T12:28:07.000Z
2022-03-16T17:33:03.000Z
tfrec/utils/__init__.py
Praful932/Tf-Rec
fe0e08d3621da911149a95d8a701e434dfa61161
[ "MIT" ]
2
2021-04-26T10:29:44.000Z
2021-07-01T03:31:31.000Z
from tfrec.utils.model_utils import cross_validate from tfrec.utils.model_utils import preprocess_and_split __all__ = [ 'cross_validate', 'preprocess_and_split', ]
21.625
56
0.791908
8863590d6524676746195e9a24531f9c96bd95d5
17,316
py
Python
dask/threaded.py
eriknw/dask
f654b47a61cbbddaf5d2f4d1a3e6e07373b86709
[ "BSD-3-Clause" ]
null
null
null
dask/threaded.py
eriknw/dask
f654b47a61cbbddaf5d2f4d1a3e6e07373b86709
[ "BSD-3-Clause" ]
null
null
null
dask/threaded.py
eriknw/dask
f654b47a61cbbddaf5d2f4d1a3e6e07373b86709
[ "BSD-3-Clause" ]
null
null
null
""" A threaded shared-memory scheduler for dask graphs. This code is experimental and fairly ugly. It should probably be rewritten before anyone really depends on it. It is very stateful and error-prone. That being said, it is decently fast. State ===== Many functions pass around a ``state`` variable that holds t...
28.340426
88
0.569416
8863c6f90ec7586192322c6a14b72934c7e25e1f
495
py
Python
ToDo/todoapp/migrations/0003_auto_20200901_1842.py
UTKx/vigilant-octo-waffle
77beec55877bb12ebb4d2db5a8f673c32cfe69de
[ "MIT" ]
1
2020-09-04T22:07:23.000Z
2020-09-04T22:07:23.000Z
ToDo/todoapp/migrations/0003_auto_20200901_1842.py
UTKx/vigilant-octo-waffle
77beec55877bb12ebb4d2db5a8f673c32cfe69de
[ "MIT" ]
null
null
null
ToDo/todoapp/migrations/0003_auto_20200901_1842.py
UTKx/vigilant-octo-waffle
77beec55877bb12ebb4d2db5a8f673c32cfe69de
[ "MIT" ]
null
null
null
# Generated by Django 3.1.1 on 2020-09-01 18:42 from django.db import migrations, models import django.db.models.deletion
24.75
126
0.646465
886441bce8027fa3056e6171153d3d8c51ba7d04
360
py
Python
yachter/courses/management/commands/courses_export_static.py
rcoup/yachter
8a73af1b5205f194000a6eac5974b3751d5d00f5
[ "Apache-2.0" ]
1
2015-10-09T11:07:32.000Z
2015-10-09T11:07:32.000Z
yachter/courses/management/commands/courses_export_static.py
rcoup/yachter
8a73af1b5205f194000a6eac5974b3751d5d00f5
[ "Apache-2.0" ]
null
null
null
yachter/courses/management/commands/courses_export_static.py
rcoup/yachter
8a73af1b5205f194000a6eac5974b3751d5d00f5
[ "Apache-2.0" ]
null
null
null
from django.core.management.base import LabelCommand from yachter.courses.utils import export_static_html
30
72
0.75
8864cc357b1ab216b6ae36ff17356348ff1a4bee
6,163
py
Python
deprecated/test_01_job_cli.py
cloudmesh/cloudmesh-queue
8a299c8a4915916c9214d4b9e681da4a1b36bfd4
[ "Apache-2.0" ]
null
null
null
deprecated/test_01_job_cli.py
cloudmesh/cloudmesh-queue
8a299c8a4915916c9214d4b9e681da4a1b36bfd4
[ "Apache-2.0" ]
12
2020-12-18T09:57:49.000Z
2020-12-28T12:34:15.000Z
deprecated/test_01_job_cli.py
cloudmesh/cloudmesh-queue
8a299c8a4915916c9214d4b9e681da4a1b36bfd4
[ "Apache-2.0" ]
null
null
null
############################################################### # cms set host='juliet.futuresystems.org' # cms set user=$USER # # pytest -v --capture=no tests/test_01_job_cli.py # pytest -v tests/test_01_job_cli.py # pytest -v --capture=no tests/test_01_job_cli.py::TestJob::<METHODNAME> #############################...
28.013636
80
0.577154
88663926b411e82cb276e8ee0d40df6d2b4d5fe4
3,370
py
Python
source/pysqlizer-cli.py
slafi/pysqlizer
871ad922d42fd99a59dd33091ea3eaa4406542b4
[ "MIT" ]
null
null
null
source/pysqlizer-cli.py
slafi/pysqlizer
871ad922d42fd99a59dd33091ea3eaa4406542b4
[ "MIT" ]
null
null
null
source/pysqlizer-cli.py
slafi/pysqlizer
871ad922d42fd99a59dd33091ea3eaa4406542b4
[ "MIT" ]
1
2020-01-05T05:36:58.000Z
2020-01-05T05:36:58.000Z
import argparse import time from pathlib import Path from logger import get_logger from csv_reader import CSVReader from utils import infer_type, clear_console from sql_generator import SQLGenerator if __name__ == "__main__": ## Clear console clear_console() ## get logger logger = get_logger('pysql...
35.104167
123
0.663205
88672f1ee1e8b7ba396e5278ca480986acfefed4
854
py
Python
MergeIntervals56.py
Bit64L/LeetCode-Python-
64847cbb1adcaca4561b949e8acc52e8e031a6cb
[ "MIT" ]
null
null
null
MergeIntervals56.py
Bit64L/LeetCode-Python-
64847cbb1adcaca4561b949e8acc52e8e031a6cb
[ "MIT" ]
null
null
null
MergeIntervals56.py
Bit64L/LeetCode-Python-
64847cbb1adcaca4561b949e8acc52e8e031a6cb
[ "MIT" ]
null
null
null
# Definition for an interval. solution = Solution() ans = solution.merge([Interval(1, 4), Interval(2, 3)]) for i in ans: print(i.start, i.end)
24.4
54
0.529274
88681b8ce61bdcea470b1b26564a91d9e24035aa
221
py
Python
Training/mangement_system.py
Orleanslindsay/Python_Programming
dacc08090e9ebf9eb43aec127ee3e2e3cdcb4f55
[ "MIT" ]
1
2021-08-16T10:25:01.000Z
2021-08-16T10:25:01.000Z
Training/mangement_system.py
Orleanslindsay/Python_Programming
dacc08090e9ebf9eb43aec127ee3e2e3cdcb4f55
[ "MIT" ]
null
null
null
Training/mangement_system.py
Orleanslindsay/Python_Programming
dacc08090e9ebf9eb43aec127ee3e2e3cdcb4f55
[ "MIT" ]
null
null
null
from tkinter import * import mariadb root = Tk() root.title('SCHOOL MANAGEMENT') root.geometry("900x700") counter=2 for i in range(1,20): label=Entry(root).grid(row=counter,column=0) counter += 2 root.mainloop()
13
45
0.710407
88688860861603e2b3b947fdc9d58f769c86e31d
2,742
py
Python
FlopyAdapter/MtPackages/SftAdapter.py
inowas/InowasFlopyAdapter
43ddf223778693ea5e7651d7a55bef56deff0ad5
[ "MIT" ]
null
null
null
FlopyAdapter/MtPackages/SftAdapter.py
inowas/InowasFlopyAdapter
43ddf223778693ea5e7651d7a55bef56deff0ad5
[ "MIT" ]
null
null
null
FlopyAdapter/MtPackages/SftAdapter.py
inowas/InowasFlopyAdapter
43ddf223778693ea5e7651d7a55bef56deff0ad5
[ "MIT" ]
1
2020-09-27T23:26:14.000Z
2020-09-27T23:26:14.000Z
import flopy.mt3d as mt
26.882353
67
0.486871
8869c83d02e1a922baaa9130b61848763de1897f
2,089
py
Python
src/payoff_landscape.py
khozzy/phd
9a05572a6960d948320669c51e0c80bb9d037d4a
[ "CC-BY-4.0" ]
null
null
null
src/payoff_landscape.py
khozzy/phd
9a05572a6960d948320669c51e0c80bb9d037d4a
[ "CC-BY-4.0" ]
null
null
null
src/payoff_landscape.py
khozzy/phd
9a05572a6960d948320669c51e0c80bb9d037d4a
[ "CC-BY-4.0" ]
null
null
null
import matplotlib.pyplot as plt from matplotlib.ticker import MultipleLocator, FormatStrFormatter from collections import namedtuple from typing import Dict from src.visualization import diminishing_reward_colors, PLOT_DPI StateAction = namedtuple('StateAction', 'id state action')
34.245902
100
0.691719
886c6ba2396b2e58f84b93dfe9961e27c379d6bf
520
py
Python
fly/ModelStart.py
cheburakshu/fly
d452af4b83e4cb0f8d0094bf1e0c1b407d39bdf5
[ "Apache-2.0" ]
null
null
null
fly/ModelStart.py
cheburakshu/fly
d452af4b83e4cb0f8d0094bf1e0c1b407d39bdf5
[ "Apache-2.0" ]
null
null
null
fly/ModelStart.py
cheburakshu/fly
d452af4b83e4cb0f8d0094bf1e0c1b407d39bdf5
[ "Apache-2.0" ]
null
null
null
import time import sys import threading import asyncio # fly from .ModelBootstrap import ModelBootstrap from . import ModelManager #runForEver = threading.Event() # Expects a .conf for the model. It should be availble in config folder #modelConf='calculator.conf' #sys.argv[1] #bootstrap(modelConf) # Th...
21.666667
72
0.725
886c941fa641d07a3da73aedf1058de8f4d4b127
569
py
Python
newss.py
krishnansuki/daily-news
3b03ea4bcd0aed8ddf69d91128bfce1f3d9192c0
[ "Apache-2.0" ]
1
2020-08-01T04:04:34.000Z
2020-08-01T04:04:34.000Z
newss.py
krishnansuki/daily-news
3b03ea4bcd0aed8ddf69d91128bfce1f3d9192c0
[ "Apache-2.0" ]
null
null
null
newss.py
krishnansuki/daily-news
3b03ea4bcd0aed8ddf69d91128bfce1f3d9192c0
[ "Apache-2.0" ]
null
null
null
import feedparser allheadlines = [] newsurls={'googlenews': 'https://news.google.com/news/rss/?h1=ta&amp;ned=us&amp;gl=IN',}# I used IN in this line for indian news instead of that you can use your capital's for key, url in newsurls.items(): allheadlines.extend(getHeadLines(url)) for h in allheadlines: pr...
35.5625
172
0.692443
886e4ad951e13066662fa39167df5cb479e0a992
664
py
Python
features/steps/public_pages.py
geeksforsocialchange/imok
efb7189c13c398dbd5d4301ca496a2e583b0f5b7
[ "MIT" ]
6
2021-05-12T08:40:36.000Z
2022-01-25T08:31:06.000Z
features/steps/public_pages.py
geeksforsocialchange/imok
efb7189c13c398dbd5d4301ca496a2e583b0f5b7
[ "MIT" ]
14
2021-05-12T09:03:08.000Z
2021-06-10T13:18:52.000Z
features/steps/public_pages.py
geeksforsocialchange/imok
efb7189c13c398dbd5d4301ca496a2e583b0f5b7
[ "MIT" ]
1
2021-05-14T20:54:15.000Z
2021-05-14T20:54:15.000Z
from behave import when, then from application.models import Member
22.896552
77
0.709337
886fdb38b86a90cbac81f513da517e4152656447
2,824
py
Python
examples/05_fields.py
johnaparker/MiePy
5c5bb5a07c8ab79e9e2a9fc79fb9779e690147be
[ "MIT" ]
3
2016-05-30T06:45:29.000Z
2017-08-30T19:58:56.000Z
examples/05_fields.py
johnaparker/MiePy
5c5bb5a07c8ab79e9e2a9fc79fb9779e690147be
[ "MIT" ]
null
null
null
examples/05_fields.py
johnaparker/MiePy
5c5bb5a07c8ab79e9e2a9fc79fb9779e690147be
[ "MIT" ]
5
2016-12-13T02:05:31.000Z
2018-03-23T07:11:30.000Z
""" Displaying the fields in an xy cross section of the sphere (x polarized light, z-propagating) """ import numpy as np import matplotlib.pyplot as plt import miepy from mpl_toolkits.mplot3d import Axes3D import matplotlib.cm as cm Ag = miepy.materials. Ag() # calculate scattering coefficients, 800 nm illumination ...
29.726316
147
0.645892
887136302539945d1d8fc0fd52d9556bdb55e9ef
13,616
py
Python
pya2a/models.py
LvanWissen/pya2a
d8a7848ba408850aedd79d18ad2816524499f528
[ "MIT" ]
null
null
null
pya2a/models.py
LvanWissen/pya2a
d8a7848ba408850aedd79d18ad2816524499f528
[ "MIT" ]
null
null
null
pya2a/models.py
LvanWissen/pya2a
d8a7848ba408850aedd79d18ad2816524499f528
[ "MIT" ]
null
null
null
import datetime import dateutil.parser import xml import xml.etree.ElementTree from pya2a.utils import parseRemark
32.809639
107
0.563234
887318ae1de3947a937b8a9fff9e751422b6ec84
4,059
py
Python
python/quantization.py
simnalamburt/snippets
8ba4cfcb1305d2b82ea892e3305613eeb7ba382b
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
31
2016-01-27T07:03:25.000Z
2022-02-25T07:59:11.000Z
python/quantization.py
simnalamburt/snippets
8ba4cfcb1305d2b82ea892e3305613eeb7ba382b
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
1
2015-01-26T01:27:21.000Z
2015-01-30T16:16:30.000Z
python/quantization.py
simnalamburt/snippets
8ba4cfcb1305d2b82ea892e3305613eeb7ba382b
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
3
2017-02-07T04:17:56.000Z
2020-06-12T05:01:31.000Z
import numpy as np min, max = -0.8777435, 0.57090986 M = np.asmatrix([ [0.02355068, -0.50542802, 0.16642167, -0.44872788, -0.05130898, 0.13320047, 0.41464597, -0.55703336, 0.52567458, 0.23784444, 0.15049535, 0.16599870, -0.28757980, 0.22277315, 0.56460077, -0.70838273, -0.61990398, -0.39724344, -0.09969769, 0.4583...
156.115385
384
0.700172
8873474612b143bfb3dcc0cc047dd90038304a53
3,391
py
Python
Modulo_01/Aula09-ManipulandoStrings.py
rodrigojackal/Python-Guanabara
8bfbbbd7b4549b9235d9b6fcb3a0c3d00eb384f2
[ "MIT" ]
null
null
null
Modulo_01/Aula09-ManipulandoStrings.py
rodrigojackal/Python-Guanabara
8bfbbbd7b4549b9235d9b6fcb3a0c3d00eb384f2
[ "MIT" ]
null
null
null
Modulo_01/Aula09-ManipulandoStrings.py
rodrigojackal/Python-Guanabara
8bfbbbd7b4549b9235d9b6fcb3a0c3d00eb384f2
[ "MIT" ]
null
null
null
# Aula 09 - Manipulando de cadeias de texto (Strings) """ Tcnica de Fatiamento Frase = Curso em Video Python Frase [9]: letra especfica Frase [9:13]: Vai pegar do 9 ao 12 (menos um no final) Frase [9:21:2]: Pula de 2 em 2 Frase [:5]: Ir comear no primeiro caracter e terminar no 4 (excluindo o nmero 5) Frase [15:]: In...
33.245098
112
0.760248
88735f42e1881dd628983cb3ca2947d11d481c02
2,575
py
Python
{{ cookiecutter.repo_name }}/{{ cookiecutter.repo_name }}/models/train.py
vasinkd/cookiecutter-data-science
3b1be4b701198b73e9701af498381a2c55da9fe6
[ "MIT" ]
2
2020-03-26T22:06:11.000Z
2021-04-02T08:52:38.000Z
{{ cookiecutter.repo_name }}/{{ cookiecutter.repo_name }}/models/train.py
vasinkd/cookiecutter-data-science
3b1be4b701198b73e9701af498381a2c55da9fe6
[ "MIT" ]
1
2019-10-19T13:36:33.000Z
2019-10-19T13:36:33.000Z
{{ cookiecutter.repo_name }}/{{ cookiecutter.repo_name }}/models/train.py
vasinkd/cookiecutter-data-science
3b1be4b701198b73e9701af498381a2c55da9fe6
[ "MIT" ]
8
2019-10-17T20:32:07.000Z
2022-03-10T15:28:49.000Z
import optuna from {{cookiecutter.repo_name}}.utils import check_args_num, \ read_config, set_random_seed, str_hash, file_hash from {{cookiecutter.repo_name}}.settings import optuna_db_path def get_objective(config): """ more on optuna objectives: https://optuna.readthedocs.io/en/stable/faq.html ...
28.932584
79
0.717282
88737c6f1857632bec14f3d69ee844444dd65d17
2,221
py
Python
musiker_fille_bot.py
pranay414/musiker_fille_bot
55d87a3bfdbaf8b99b5ca86c6f7a433cd6280d42
[ "MIT" ]
null
null
null
musiker_fille_bot.py
pranay414/musiker_fille_bot
55d87a3bfdbaf8b99b5ca86c6f7a433cd6280d42
[ "MIT" ]
1
2017-12-24T11:18:07.000Z
2017-12-25T20:29:18.000Z
musiker_fille_bot.py
pranay414/musiker_fille_bot
55d87a3bfdbaf8b99b5ca86c6f7a433cd6280d42
[ "MIT" ]
null
null
null
# - *- coding: utf- 8 - *- """ Bot to suggest music from Spotify based on your mood. """ import spotipy, os from spotipy.oauth2 import SpotifyClientCredentials from telegram.ext import Updater, CommandHandler, MessageHandler, Filters #from access_token import AUTH_TOKEN, CLIENT_ID, CLIENT_SECRET # Intialise spotipy cl...
38.964912
185
0.722647
8875919d1f2a6e03d1eb055a54e6b7d341bfcdca
1,544
py
Python
tracker/utils/projects.py
dti-research/tracker
f2384c0c7b631aa9efd39bf606cda8b85187fcc6
[ "BSD-3-Clause" ]
1
2019-07-25T18:02:37.000Z
2019-07-25T18:02:37.000Z
tracker/utils/projects.py
dti-research/tracker
f2384c0c7b631aa9efd39bf606cda8b85187fcc6
[ "BSD-3-Clause" ]
10
2019-08-29T12:27:35.000Z
2020-01-04T18:40:48.000Z
tracker/utils/projects.py
dti-research/tracker
f2384c0c7b631aa9efd39bf606cda8b85187fcc6
[ "BSD-3-Clause" ]
null
null
null
# Copyright (c) 2019, Danish Technological Institute. # All rights reserved. # # This source code is licensed under the BSD-style license found in the # LICENSE file in the root directory of this source tree. # -*- coding: utf-8 -*- """ Utility code to locate tracker projects """ from tracker.tracker_file import Tra...
21.746479
75
0.609456
8875c6d752de20720e19e0bcf7801a8392c5567b
220
py
Python
int/Lib/site-packages/hn/__init__.py
yoniv/shellHN-main
767e78f54403ebd3193ee9ada8672cfc06705967
[ "MIT" ]
null
null
null
int/Lib/site-packages/hn/__init__.py
yoniv/shellHN-main
767e78f54403ebd3193ee9ada8672cfc06705967
[ "MIT" ]
null
null
null
int/Lib/site-packages/hn/__init__.py
yoniv/shellHN-main
767e78f54403ebd3193ee9ada8672cfc06705967
[ "MIT" ]
1
2021-09-22T10:41:46.000Z
2021-09-22T10:41:46.000Z
""" Python API for Hacker News. @author Karan Goel @email karan@goel.im """ __title__ = 'hackernews' __author__ = 'Karan Goel' __license__ = 'MIT' __copyright__ = 'Copyright 2014 Karan Goel' from .hn import HN, Story
15.714286
43
0.722727
887679321d473fff8303fdde842a58ecb25c93a7
57
py
Python
training/constants.py
vlad-danaila/deep_hiv_ab_pred
651e9174cef9d5f27de328536aec5ebea3af8f3d
[ "MIT" ]
null
null
null
training/constants.py
vlad-danaila/deep_hiv_ab_pred
651e9174cef9d5f27de328536aec5ebea3af8f3d
[ "MIT" ]
null
null
null
training/constants.py
vlad-danaila/deep_hiv_ab_pred
651e9174cef9d5f27de328536aec5ebea3af8f3d
[ "MIT" ]
null
null
null
ACCURACY = 0 MATTHEWS_CORRELATION_COEFFICIENT = 1 AUC = 2
19
36
0.807018
8876c3bace11ab590dd97932baa4aa09e457abf7
2,580
py
Python
day06.py
AnthonyFloyd/2017-AdventOfCode-Python
ef66ed25fef416f1f5f269810e6039cab53dc6d0
[ "MIT" ]
null
null
null
day06.py
AnthonyFloyd/2017-AdventOfCode-Python
ef66ed25fef416f1f5f269810e6039cab53dc6d0
[ "MIT" ]
null
null
null
day06.py
AnthonyFloyd/2017-AdventOfCode-Python
ef66ed25fef416f1f5f269810e6039cab53dc6d0
[ "MIT" ]
null
null
null
''' Advent of Code 2017 Day 6: Memory Reallocation ''' import unittest TEST_BANKS = ('0 2 7 0', 5, 4) INPUT_BANKS = '0 5 10 0 11 14 13 4 11 8 8 7 1 4 12 11' def findInfiniteLoop(memoryBanks): ''' Finds the number of iterations required to detect an infinite loop with the given start condition. memoryBa...
27.446809
109
0.637597
887a62af70424662df05268a24baf2a7aafc6529
1,757
py
Python
iucas/utils.py
rysdyk/django-iucas
d534800c6a1fc6cf3ea5e3f1c0d9bc0dc7a2b4db
[ "BSD-3-Clause" ]
null
null
null
iucas/utils.py
rysdyk/django-iucas
d534800c6a1fc6cf3ea5e3f1c0d9bc0dc7a2b4db
[ "BSD-3-Clause" ]
null
null
null
iucas/utils.py
rysdyk/django-iucas
d534800c6a1fc6cf3ea5e3f1c0d9bc0dc7a2b4db
[ "BSD-3-Clause" ]
1
2020-01-16T20:25:52.000Z
2020-01-16T20:25:52.000Z
""" Utility Methods for Authenticating against and using Indiana University CAS. """ import httplib2 from django.contrib.auth.models import User from django.core.exceptions import ObjectDoesNotExist from django.conf import settings def validate_cas_ticket(casticket, casurl): """ Takes a CAS Ticket and makes th...
30.293103
76
0.632328
887a99f77ebc5982239f9bc71d68f9e4f2afc02f
20,460
py
Python
blousebrothers/confs/views.py
sladinji/blousebrothers
461de3ba011c0aaed3f0014136c4497b6890d086
[ "MIT" ]
1
2022-01-27T11:58:10.000Z
2022-01-27T11:58:10.000Z
blousebrothers/confs/views.py
sladinji/blousebrothers
461de3ba011c0aaed3f0014136c4497b6890d086
[ "MIT" ]
5
2021-03-19T00:01:54.000Z
2022-03-11T23:46:21.000Z
blousebrothers/confs/views.py
sladinji/blousebrothers
461de3ba011c0aaed3f0014136c4497b6890d086
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from django.http import JsonResponse from decimal import Decimal from datetime import datetime, timedelta import re import logging from disqusapi import DisqusAPI from django.contrib import messages from django.apps import apps from django.core.mail import mail_admins from django.core.urlresolv...
36.34103
115
0.62219
887ad1b6a09fd7cd401ad5b4a47a80e80503fdb2
3,177
py
Python
software/robotClass.py
technovus-sfu/swarmbots
6a50193a78056c0359c426b097b96e1c37678a55
[ "MIT" ]
null
null
null
software/robotClass.py
technovus-sfu/swarmbots
6a50193a78056c0359c426b097b96e1c37678a55
[ "MIT" ]
3
2018-02-05T23:21:02.000Z
2018-05-03T02:58:50.000Z
software/robotClass.py
technovus-sfu/swarmbots
6a50193a78056c0359c426b097b96e1c37678a55
[ "MIT" ]
null
null
null
import serial import string import math from itertools import chain
27.868421
95
0.678942
887cf7708e8f994e5fe9bde9079bf51b3a0cab82
4,054
py
Python
hijackednode/logger.py
Luxter77/Hijacked-Node
378cbb4201e891e81107b22ba568b3564b2e4197
[ "BSD-3-Clause" ]
null
null
null
hijackednode/logger.py
Luxter77/Hijacked-Node
378cbb4201e891e81107b22ba568b3564b2e4197
[ "BSD-3-Clause" ]
null
null
null
hijackednode/logger.py
Luxter77/Hijacked-Node
378cbb4201e891e81107b22ba568b3564b2e4197
[ "BSD-3-Clause" ]
null
null
null
from discord import TextChannel, User from discord.ext.commands import Bot from .configuration import CONF0 from tqdm.asyncio import tqdm # class LogMe: # """This is a complicated logger I came up with.\n # Feel free to insult me whilst readding it.""" # _std = { # "LS": "|-----------------Log_ ST...
45.044444
89
0.415886
887d7ad21774f9d78fa33b58dec3b6e2af7b8b30
13,930
py
Python
tests/test_api.py
vsoch/django-oci
e60b2d0501ddd45f6ca3596b126180bebb2e6903
[ "Apache-2.0" ]
5
2020-03-24T23:45:28.000Z
2021-11-26T03:31:05.000Z
tests/test_api.py
vsoch/django-oci
e60b2d0501ddd45f6ca3596b126180bebb2e6903
[ "Apache-2.0" ]
14
2020-04-02T17:13:28.000Z
2020-12-29T12:36:38.000Z
tests/test_api.py
vsoch/django-oci
e60b2d0501ddd45f6ca3596b126180bebb2e6903
[ "Apache-2.0" ]
null
null
null
""" test_django-oci api ------------------- Tests for `django-oci` api. """ from django.urls import reverse from django.contrib.auth.models import User from django_oci import settings from rest_framework import status from rest_framework.test import APITestCase from django.test.utils import override_settings from tim...
37.245989
87
0.618808
887d7f78ede177237d678a89bcd14f2af84d31d3
1,492
py
Python
LCSTPlotter.py
edwinstorres/LCST-Plotter
1afbd251cc395461498e902069e90bb14e66b013
[ "MIT" ]
null
null
null
LCSTPlotter.py
edwinstorres/LCST-Plotter
1afbd251cc395461498e902069e90bb14e66b013
[ "MIT" ]
null
null
null
LCSTPlotter.py
edwinstorres/LCST-Plotter
1afbd251cc395461498e902069e90bb14e66b013
[ "MIT" ]
null
null
null
#LCST Plotter #Author: ESTC import numpy import streamlit import matplotlib.pyplot as plt import pandas launch_app() if datafile is not None: load_data(datafile) make_plot(x1a,x1b,T,cation,anion)
32.434783
81
0.661528
887dda35242cbfb0d65a1b78e9d2c415c3d774ec
13,039
py
Python
hello.py
zarqabiqbal/RTDA-Real-Time-Data-Analysis-ML-Project-
0659191afa6a8802647f46d0dc4f85f2044639e5
[ "Apache-2.0" ]
null
null
null
hello.py
zarqabiqbal/RTDA-Real-Time-Data-Analysis-ML-Project-
0659191afa6a8802647f46d0dc4f85f2044639e5
[ "Apache-2.0" ]
null
null
null
hello.py
zarqabiqbal/RTDA-Real-Time-Data-Analysis-ML-Project-
0659191afa6a8802647f46d0dc4f85f2044639e5
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 from flask import Flask, render_template, app, url_for,request import tweepy # To consume Twitter's API import pandas as pd # To handle data import numpy as np # For number computing from textblob import TextBlob import re import pandas as pa from sklearn.tree import DecisionTr...
37.90407
190
0.638162
887ec99957073c1e4d84bfa70941e65fc56ac5fc
529
py
Python
utils.py
Ji-Xinyou/DIP-proj-DepthEstimation
5432c14ce1d0cdc9b8b6ab0a273678ffbe6086bd
[ "MIT" ]
null
null
null
utils.py
Ji-Xinyou/DIP-proj-DepthEstimation
5432c14ce1d0cdc9b8b6ab0a273678ffbe6086bd
[ "MIT" ]
null
null
null
utils.py
Ji-Xinyou/DIP-proj-DepthEstimation
5432c14ce1d0cdc9b8b6ab0a273678ffbe6086bd
[ "MIT" ]
null
null
null
import torch def save_param(model, pth_path): ''' save the parameters of the model Args: model: the model to which the params belong pth_path: the path where .pth file is saved ''' torch.save(model.state_dict(), pth_path) def load_param(model, pth_path): ''' load t...
25.190476
61
0.635161
8883af6b6c6f6d7fd863836a0ab018f4af35d11b
1,348
py
Python
prob-77.py
tushargayan2324/Project_Euler
874accc918e23337510056d7140cd85a1656dd3e
[ "MIT" ]
null
null
null
prob-77.py
tushargayan2324/Project_Euler
874accc918e23337510056d7140cd85a1656dd3e
[ "MIT" ]
null
null
null
prob-77.py
tushargayan2324/Project_Euler
874accc918e23337510056d7140cd85a1656dd3e
[ "MIT" ]
null
null
null
#Project Euler Problem-77 #Author Tushar Gayan #Multinomial Theorem import math import numpy as np '''prime_list = [] i = 1 while len(prime_list)<200: if prime_check(i) == True: prime_list.append(i) i +=1 print(prime_list) m = 1 for i in prime_list: m *= np.poly1d(mod_list(i,30)) #print(i) ...
18.985915
57
0.5
888504477ef926e05cac253422a2f5fcc1a109ea
4,031
py
Python
main.py
sun624/Dogecoin_musk
6dc48f03275321d29bb1ab131ecd14626bcc5170
[ "MIT" ]
null
null
null
main.py
sun624/Dogecoin_musk
6dc48f03275321d29bb1ab131ecd14626bcc5170
[ "MIT" ]
null
null
null
main.py
sun624/Dogecoin_musk
6dc48f03275321d29bb1ab131ecd14626bcc5170
[ "MIT" ]
null
null
null
#! usr/bin/env python3 from os import times from bs4 import BeautifulSoup from selenium import webdriver from selenium.webdriver.chrome.options import Options from selenium.webdriver.common.keys import Keys from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.common.by import By import numpy...
29.210145
170
0.690896
88858e6eec8ef3e573592e88fd8baa705aa1f430
1,264
py
Python
064_minimum_path_sum.py
gengwg/leetcode
0af5256ec98149ef5863f3bba78ed1e749650f6e
[ "Apache-2.0" ]
2
2018-04-24T19:17:40.000Z
2018-04-24T19:33:52.000Z
064_minimum_path_sum.py
gengwg/leetcode
0af5256ec98149ef5863f3bba78ed1e749650f6e
[ "Apache-2.0" ]
null
null
null
064_minimum_path_sum.py
gengwg/leetcode
0af5256ec98149ef5863f3bba78ed1e749650f6e
[ "Apache-2.0" ]
3
2020-06-17T05:48:52.000Z
2021-01-02T06:08:25.000Z
""" 64. Minimum Path Sum Given a m x n grid filled with non-negative numbers, find a path from top left to bottom right which minimizes the sum of all numbers along its path. Note: You can only move either down or right at any point in time. http://www.tangjikai.com/algorithms/leetcode-64-minimum-path-sum Dynamic P...
29.395349
75
0.530854
8886118689d4c63bf084bbb40abe034f4a2125d5
12,507
py
Python
pants-plugins/structured/subsystems/r_distribution.py
cosmicexplorer/structured
ea452a37e265dd75d4160efa59a4a939bf8c0521
[ "Apache-2.0" ]
null
null
null
pants-plugins/structured/subsystems/r_distribution.py
cosmicexplorer/structured
ea452a37e265dd75d4160efa59a4a939bf8c0521
[ "Apache-2.0" ]
null
null
null
pants-plugins/structured/subsystems/r_distribution.py
cosmicexplorer/structured
ea452a37e265dd75d4160efa59a4a939bf8c0521
[ "Apache-2.0" ]
null
null
null
# coding=utf-8 from __future__ import (absolute_import, division, generators, nested_scopes, print_function, unicode_literals, with_statement) import logging import os import re import subprocess import sys from contextlib import contextmanager from abc import abstractproperty from pants.bin...
33.352
93
0.691773
88864f3fa8092982651eaeda9dbe085e135b834a
5,121
py
Python
src/test.py
yliuhz/PMAW
23f4f3ec2ccb381be3d4b2edea0878e4015e1ae4
[ "Apache-2.0" ]
8
2021-12-02T02:25:55.000Z
2022-03-18T23:41:42.000Z
src/test.py
yliuhz/PMAW
23f4f3ec2ccb381be3d4b2edea0878e4015e1ae4
[ "Apache-2.0" ]
null
null
null
src/test.py
yliuhz/PMAW
23f4f3ec2ccb381be3d4b2edea0878e4015e1ae4
[ "Apache-2.0" ]
null
null
null
import torch from torch import nn import numpy as np import torch from torch import nn if __name__=='__main__': model = convmodel() for m in model.parameters(): m.data.fill_(0.1) # criterion = nn.CrossEntropyLoss() criterion = nn.MSELoss() optimizer = torch.optim.SGD(model.parameters(),...
35.075342
81
0.610037
8887cdf2cc8ae9604a5a9ce44664b255c6cabd67
64
py
Python
hanlp/datasets/ner/__init__.py
v-smwang/HanLP
98db7a649110fca4307acbd6a26f2b5bb1159efc
[ "Apache-2.0" ]
27,208
2015-03-27T10:25:45.000Z
2022-03-31T13:26:32.000Z
hanlp/datasets/ner/__init__.py
hushaoyun/HanLP
967b52404c9d0adbc0cff2699690c127ecfca36e
[ "Apache-2.0" ]
1,674
2015-03-30T06:36:44.000Z
2022-03-16T01:52:56.000Z
hanlp/datasets/ner/__init__.py
hushaoyun/HanLP
967b52404c9d0adbc0cff2699690c127ecfca36e
[ "Apache-2.0" ]
7,710
2015-03-27T08:07:57.000Z
2022-03-31T14:57:23.000Z
# -*- coding:utf-8 -*- # Author: hankcs # Date: 2019-12-06 15:32
21.333333
24
0.59375
888a09b848fdd84015221d8d652297a6bccb8e05
563
py
Python
portfolio/2011_krakDK/krak/items.py
0--key/lib
ba7a85dda2b208adc290508ca617bdc55a5ded22
[ "Apache-2.0" ]
null
null
null
portfolio/2011_krakDK/krak/items.py
0--key/lib
ba7a85dda2b208adc290508ca617bdc55a5ded22
[ "Apache-2.0" ]
null
null
null
portfolio/2011_krakDK/krak/items.py
0--key/lib
ba7a85dda2b208adc290508ca617bdc55a5ded22
[ "Apache-2.0" ]
5
2016-03-22T07:40:46.000Z
2021-05-30T16:12:21.000Z
# Define here the models for your scraped items # # See documentation in: # http://doc.scrapy.org/topics/items.html from scrapy.item import Item, Field
23.458333
48
0.657194
888a79727132fd019b0db67bf3741b80a00a7a59
29,630
py
Python
src/mau/parsers/main_parser.py
Project-Mau/mau
193d16633c1573227debf4517ebcaf07add24979
[ "MIT" ]
28
2021-02-22T18:46:52.000Z
2022-02-21T15:14:05.000Z
src/mau/parsers/main_parser.py
Project-Mau/mau
193d16633c1573227debf4517ebcaf07add24979
[ "MIT" ]
5
2021-02-23T09:56:13.000Z
2022-03-13T09:47:42.000Z
src/mau/parsers/main_parser.py
Project-Mau/mau
193d16633c1573227debf4517ebcaf07add24979
[ "MIT" ]
2
2021-02-23T09:11:45.000Z
2021-03-13T11:08:21.000Z
import re import copy from mau.lexers.base_lexer import TokenTypes, Token from mau.lexers.main_lexer import MainLexer from mau.parsers.base_parser import ( BaseParser, TokenError, ConfigurationError, parser, ) from mau.parsers.text_parser import TextParser from mau.parsers.arguments_parser import Argum...
32.136659
104
0.583463
888b41cc12274148e790e361bed90e406da76010
3,344
py
Python
stereomag/nets.py
MandyMY/stereo-magnification
c18fa484484597dfa653f317459a503d9bf8d933
[ "Apache-2.0" ]
null
null
null
stereomag/nets.py
MandyMY/stereo-magnification
c18fa484484597dfa653f317459a503d9bf8d933
[ "Apache-2.0" ]
null
null
null
stereomag/nets.py
MandyMY/stereo-magnification
c18fa484484597dfa653f317459a503d9bf8d933
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python # # Copyright 2018 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 # # Unless required by applicable law or ag...
39.809524
78
0.650718
888c285859f9179b927cbdc06da726b52d44b5cf
3,731
py
Python
tests/test_init.py
ashb/freedesktop-icons
10737b499bff9a22c853aa20822215c8e059a737
[ "MIT" ]
1
2021-06-02T11:11:50.000Z
2021-06-02T11:11:50.000Z
tests/test_init.py
ashb/freedesktop-icons
10737b499bff9a22c853aa20822215c8e059a737
[ "MIT" ]
null
null
null
tests/test_init.py
ashb/freedesktop-icons
10737b499bff9a22c853aa20822215c8e059a737
[ "MIT" ]
null
null
null
from pathlib import Path from unittest import mock import pytest from freedesktop_icons import Icon, Theme, lookup, lookup_fallback, theme_search_dirs
35.198113
100
0.729027
888d0174a06f5d771e461f6d3b086646f76a87f5
569
py
Python
src/sweetrpg_library_api/application/__init__.py
paulyhedral/sweetrpg-library-api
0105e963ef4321398aa66d7cb3aa9c2df1c4f375
[ "MIT" ]
null
null
null
src/sweetrpg_library_api/application/__init__.py
paulyhedral/sweetrpg-library-api
0105e963ef4321398aa66d7cb3aa9c2df1c4f375
[ "MIT" ]
33
2021-09-18T23:52:05.000Z
2022-03-30T12:25:49.000Z
src/sweetrpg_library_api/application/__init__.py
sweetrpg/library-api
0105e963ef4321398aa66d7cb3aa9c2df1c4f375
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- __author__ = "Paul Schifferer <dm@sweetrpg.com>" """ """ import os import sentry_sdk from sentry_sdk.integrations.flask import FlaskIntegration from sentry_sdk.integrations.redis import RedisIntegration from sweetrpg_library_api.application import constants sentry_sdk.init(dsn=os.environ[con...
28.45
78
0.680141
888eea6317cde6023d0d320a6a78866a20795e44
13,674
py
Python
isochrones_old.py
timothydmorton/fpp-old
6a2175d4bd9648b61c244c7463148632f36de631
[ "MIT" ]
null
null
null
isochrones_old.py
timothydmorton/fpp-old
6a2175d4bd9648b61c244c7463148632f36de631
[ "MIT" ]
null
null
null
isochrones_old.py
timothydmorton/fpp-old
6a2175d4bd9648b61c244c7463148632f36de631
[ "MIT" ]
null
null
null
""" Compiles stellar model isochrones into an easy-to-access format. """ from numpy import * from scipy.interpolate import LinearNDInterpolator as interpnd from consts import * import os,sys,re import scipy.optimize #try: # import pymc as pm #except: # print 'isochrones: pymc not loaded! MCMC will not work' i...
34.270677
152
0.52311