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
9c6f5eebc67f2c098afe70ef549d9f14b27bc659
1,572
py
Python
app/strategies/ema_bb_alligator_strategy.py
namuan/crypto-rider
f5b47ada60a7cef07e66609e2e92993619c6bfbe
[ "MIT" ]
1
2022-01-18T19:06:20.000Z
2022-01-18T19:06:20.000Z
app/strategies/ema_bb_alligator_strategy.py
namuan/crypto-rider
f5b47ada60a7cef07e66609e2e92993619c6bfbe
[ "MIT" ]
null
null
null
app/strategies/ema_bb_alligator_strategy.py
namuan/crypto-rider
f5b47ada60a7cef07e66609e2e92993619c6bfbe
[ "MIT" ]
null
null
null
import pandas as pd import ta from app.common import reshape_data from app.strategies.base_strategy import BaseStrategy pd.set_option("display.max_columns", None) pd.set_option("display.width", None)
29.111111
83
0.564885
9c6f86bf35dea92442e86d8e34f3dfcb1923875e
1,336
py
Python
BasicScripts/basics.py
TomasBelskis/PythonAutomation
dd2e30abb214e37d84a8952deb834074abdc84a2
[ "MIT" ]
null
null
null
BasicScripts/basics.py
TomasBelskis/PythonAutomation
dd2e30abb214e37d84a8952deb834074abdc84a2
[ "MIT" ]
null
null
null
BasicScripts/basics.py
TomasBelskis/PythonAutomation
dd2e30abb214e37d84a8952deb834074abdc84a2
[ "MIT" ]
null
null
null
# Python Basics # String concatenaton added_strings = str(32) + "_342" # Getting input input_from_user = input() # Basic print function print(input_from_user) # Mixing boolean and comparison operations if (4 < 5) and (5 < 6): print("True") # Basic if & if else flow if name == 'Alice': print('Hi, Alice.')...
19.940299
66
0.624251
9c6fcb64c497c5bc80d5ed65052770cfc9db0316
156
py
Python
env.example.py
wilcoln/klazor
8f3c40a03a7e61c07eceb6cdbe4d1bb05693727e
[ "MIT" ]
8
2020-01-18T09:33:51.000Z
2020-01-19T10:47:51.000Z
env.example.py
wilcoln/klazor
8f3c40a03a7e61c07eceb6cdbe4d1bb05693727e
[ "MIT" ]
8
2019-08-09T03:54:44.000Z
2022-02-12T16:55:51.000Z
env.example.py
wilcoln/klazor
8f3c40a03a7e61c07eceb6cdbe4d1bb05693727e
[ "MIT" ]
null
null
null
DATABASE_OPTIONS = { 'database': 'klazor', 'user': 'root', 'password': '', 'charset': 'utf8mb4', } HOSTS = ['127.0.0.1', '67.209.115.211']
17.333333
39
0.525641
9c70026f65fce93a4cf97730e00fb2afc1c7f5b5
818
py
Python
misc/_local_settings.py
lzantal/djskell
cef71bab8a4dd163b632128666c315e228cc8f0f
[ "MIT" ]
4
2018-08-06T19:18:03.000Z
2019-09-26T14:52:01.000Z
misc/_local_settings.py
lzantal/djskell
cef71bab8a4dd163b632128666c315e228cc8f0f
[ "MIT" ]
2
2018-08-06T19:17:57.000Z
2020-02-12T22:59:40.000Z
misc/_local_settings.py
lzantal/djskell
cef71bab8a4dd163b632128666c315e228cc8f0f
[ "MIT" ]
null
null
null
""" Django settings. Generated by 'django-admin startproject' using Django 2.2.4. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ #DEBUG = False DEBUG = True SERV...
24.058824
64
0.640587
9c70e9c29dfd2bb44316e8313ac9366ffff8c24e
204
py
Python
contacts/forms.py
pedrohd21/Agenda-Django
c48a90d76094523fd2060ff735faefbf3c2f808d
[ "MIT" ]
1
2021-04-21T00:07:03.000Z
2021-04-21T00:07:03.000Z
contacts/forms.py
pedrohd21/Agenda
c48a90d76094523fd2060ff735faefbf3c2f808d
[ "MIT" ]
null
null
null
contacts/forms.py
pedrohd21/Agenda
c48a90d76094523fd2060ff735faefbf3c2f808d
[ "MIT" ]
null
null
null
from django import forms from .models import Contact
20.4
71
0.661765
9c723e762bff7b4ab80b6f5113e4e550464fb8ae
1,276
py
Python
awx/api/urls/ad_hoc_command.py
ziegenberg/awx
a3e29317c5d4220fffe28370ec73c73802255246
[ "Apache-2.0" ]
null
null
null
awx/api/urls/ad_hoc_command.py
ziegenberg/awx
a3e29317c5d4220fffe28370ec73c73802255246
[ "Apache-2.0" ]
2
2022-02-10T11:57:21.000Z
2022-02-27T22:43:44.000Z
awx/api/urls/ad_hoc_command.py
ziegenberg/awx
a3e29317c5d4220fffe28370ec73c73802255246
[ "Apache-2.0" ]
null
null
null
# Copyright (c) 2017 Ansible, Inc. # All Rights Reserved. from django.urls import re_path from awx.api.views import ( AdHocCommandList, AdHocCommandDetail, AdHocCommandCancel, AdHocCommandRelaunch, AdHocCommandAdHocCommandEventsList, AdHocCommandActivityStreamList, AdHocCommandNotification...
42.533333
137
0.724922
9c73c8f40881c066eecdb84a89d42263b576a7ce
110
py
Python
note5/package_test5.py
icexmoon/python-learning-notes
838c91d896404290b89992b6517be1b6a79df41f
[ "MIT" ]
null
null
null
note5/package_test5.py
icexmoon/python-learning-notes
838c91d896404290b89992b6517be1b6a79df41f
[ "MIT" ]
null
null
null
note5/package_test5.py
icexmoon/python-learning-notes
838c91d896404290b89992b6517be1b6a79df41f
[ "MIT" ]
null
null
null
#test.py from time_tools import * # print(compareTimestamp(111,222)) time.showNowTime() # now time is XX:XX:XX
22
34
0.754545
9c7497307c0cb4f07fda11674de8080bc75940ac
3,265
py
Python
fgarcade/sprites.py
fabiommendes/fgarcade
2bfdb3ca18cb8260048ccfc9e84524987c322221
[ "MIT" ]
2
2019-04-20T00:07:16.000Z
2019-04-24T01:25:38.000Z
fgarcade/sprites.py
fabiommendes/fgarcade
2bfdb3ca18cb8260048ccfc9e84524987c322221
[ "MIT" ]
null
null
null
fgarcade/sprites.py
fabiommendes/fgarcade
2bfdb3ca18cb8260048ccfc9e84524987c322221
[ "MIT" ]
7
2019-06-18T17:59:41.000Z
2019-07-02T21:37:21.000Z
import arcade from arcade import FACE_RIGHT, FACE_DOWN, FACE_UP, FACE_LEFT
40.8125
79
0.618989
9c76b7443d1cefb8613a32ec558f3e2d259300ab
2,089
py
Python
src/mafUtility.py
gh-schen/SiriusEpiClassifier
617e0243a95fe1014acfeca25ff6f6ba617d366f
[ "Apache-2.0" ]
1
2021-12-08T19:21:07.000Z
2021-12-08T19:21:07.000Z
src/mafUtility.py
gh-schen/SiriusEpiClassifier
617e0243a95fe1014acfeca25ff6f6ba617d366f
[ "Apache-2.0" ]
null
null
null
src/mafUtility.py
gh-schen/SiriusEpiClassifier
617e0243a95fe1014acfeca25ff6f6ba617d366f
[ "Apache-2.0" ]
null
null
null
from numpy.core.fromnumeric import transpose from sklearn import linear_model from scipy.special import logit from scipy import stats from copy import deepcopy from numpy import random, concatenate, quantile, matmul, transpose import logging
31.179104
87
0.650551
9c77b39243b7ae9ea7813df0033b58ce3c06fb82
4,553
py
Python
examples/linreg.py
hanyas/sds
3c195fb9cbd88a9284287d62c0eacb6afc4598a7
[ "MIT" ]
12
2019-09-21T13:52:09.000Z
2022-02-14T06:48:46.000Z
examples/linreg.py
hanyas/sds
3c195fb9cbd88a9284287d62c0eacb6afc4598a7
[ "MIT" ]
1
2020-01-22T12:34:52.000Z
2020-01-26T21:14:11.000Z
examples/linreg.py
hanyas/sds
3c195fb9cbd88a9284287d62c0eacb6afc4598a7
[ "MIT" ]
5
2019-09-18T15:11:26.000Z
2021-12-10T14:04:53.000Z
import numpy as np import matplotlib.pyplot as plt from scipy import stats from sklearn.linear_model import ARDRegression, LinearRegression # Parameters of the example np.random.seed(0) n_samples, n_features = 100, 100 # Create Gaussian data X = np.random.randn(n_samples, n_features) # Create weights with a precision...
39.591304
100
0.691852
9c77f77e66dc427bbe7624fc776b41c3d875169f
7,516
py
Python
optimal/tompkins/examples/dask_scheduling_problem_nonetcontention.py
KarizCache/serverless
c5735afee29e104f3909f3b0140e993d461a5420
[ "MIT" ]
null
null
null
optimal/tompkins/examples/dask_scheduling_problem_nonetcontention.py
KarizCache/serverless
c5735afee29e104f3909f3b0140e993d461a5420
[ "MIT" ]
null
null
null
optimal/tompkins/examples/dask_scheduling_problem_nonetcontention.py
KarizCache/serverless
c5735afee29e104f3909f3b0140e993d461a5420
[ "MIT" ]
null
null
null
#!/usr/bin/python3 import os import json import re import ast import json from graphviz import Digraph import pandas as pd # color the graph import graph_tool.all as gt import copy import matplotlib.colors as mcolors import sys import utils from tompkins.ilp import schedule, jobs_when_where from collections import d...
32.678261
125
0.548696
9c78abbbec293aaefd5d026abd3db6d7960279d4
8,563
py
Python
tests/apitests/python/test_robot_account.py
gerhardgossen/harbor
1d03b8727acb9a3935bf45cd76b61f87c68e2a08
[ "Apache-2.0" ]
1
2020-07-31T15:00:54.000Z
2020-07-31T15:00:54.000Z
tests/apitests/python/test_robot_account.py
gerhardgossen/harbor
1d03b8727acb9a3935bf45cd76b61f87c68e2a08
[ "Apache-2.0" ]
10
2021-05-31T00:06:59.000Z
2022-02-11T12:34:16.000Z
tests/apitests/python/test_robot_account.py
gerhardgossen/harbor
1d03b8727acb9a3935bf45cd76b61f87c68e2a08
[ "Apache-2.0" ]
1
2020-07-12T16:51:07.000Z
2020-07-12T16:51:07.000Z
from __future__ import absolute_import import unittest from testutils import ADMIN_CLIENT from testutils import TEARDOWN from library.user import User from library.project import Project from library.repository import Repository from library.repository import pull_harbor_image from library.repository import push_imag...
64.871212
215
0.73911
9c79f89ccfffa309abd3d78c50d5bebd47df7780
3,675
py
Python
slackchannel2pdf/locales.py
ErikKalkoken/slackchannel2pdf
2848dfaaffbf9a5255c6dbe87dcc1e90d062b820
[ "MIT" ]
52
2019-08-05T21:58:53.000Z
2022-03-21T22:36:22.000Z
slackchannel2pdf/locales.py
ErikKalkoken/slackchannel2pdf
2848dfaaffbf9a5255c6dbe87dcc1e90d062b820
[ "MIT" ]
10
2020-04-11T21:30:53.000Z
2022-03-12T07:14:06.000Z
slackchannel2pdf/locales.py
ErikKalkoken/slackchannel2pdf
2848dfaaffbf9a5255c6dbe87dcc1e90d062b820
[ "MIT" ]
10
2020-01-30T07:52:09.000Z
2022-02-03T03:44:41.000Z
import datetime as dt import logging from babel import Locale, UnknownLocaleError from babel.dates import format_datetime, format_time, format_date import pytz from tzlocal import get_localzone from . import settings logger = logging.getLogger(__name__) def format_datetime_str(self, my_datetime: dt.datetime) ...
36.386139
88
0.633741
9c7a5adb483cec8b62999237b4fa84739552c994
2,414
py
Python
databoard/databoard/default_config.py
glemaitre/ramp-board-1
a5e9b423a55d196d38232fd94b2f7d53fb35d9d8
[ "BSD-3-Clause" ]
null
null
null
databoard/databoard/default_config.py
glemaitre/ramp-board-1
a5e9b423a55d196d38232fd94b2f7d53fb35d9d8
[ "BSD-3-Clause" ]
null
null
null
databoard/databoard/default_config.py
glemaitre/ramp-board-1
a5e9b423a55d196d38232fd94b2f7d53fb35d9d8
[ "BSD-3-Clause" ]
null
null
null
import os ######################################################################
30.948718
70
0.681856
9c7c266f5c66aa6fb93fbd1ac553f14737d31adf
1,193
py
Python
python_developer_tools/cv/bases/pool/AvgPool2d.py
carlsummer/python_developer_tools
a8c4365b7cc601cda55648cdfd8c0cb1faae132f
[ "Apache-2.0" ]
32
2021-06-21T04:49:48.000Z
2022-03-29T05:46:59.000Z
python_developer_tools/cv/bases/pool/AvgPool2d.py
carlsummer/python_developer_tools
a8c4365b7cc601cda55648cdfd8c0cb1faae132f
[ "Apache-2.0" ]
1
2021-11-12T03:45:55.000Z
2021-11-12T03:45:55.000Z
python_developer_tools/cv/bases/pool/AvgPool2d.py
carlsummer/python_developer_tools
a8c4365b7cc601cda55648cdfd8c0cb1faae132f
[ "Apache-2.0" ]
10
2021-06-03T08:05:05.000Z
2021-12-13T03:10:42.000Z
# !/usr/bin/env python # -- coding: utf-8 -- # @Author zengxiaohui # Datatime:8/31/2021 1:37 PM # @File:GlobalAvgPool2d import torch.nn as nn from python_developer_tools.cv.bases.activates.swish import h_swish
31.394737
93
0.619447
9c7c4de6be5e48f9c89afdf0a57351e2ebf01e66
28,531
py
Python
expyfun/_utils.py
nordme/expyfun
e644bba8cbfb6edd2a076099536417d4854d64af
[ "BSD-3-Clause" ]
2
2015-12-31T07:56:16.000Z
2016-08-22T17:23:02.000Z
expyfun/_utils.py
nordme/expyfun
e644bba8cbfb6edd2a076099536417d4854d64af
[ "BSD-3-Clause" ]
6
2015-02-18T04:25:46.000Z
2017-01-25T01:00:35.000Z
expyfun/_utils.py
nordme/expyfun
e644bba8cbfb6edd2a076099536417d4854d64af
[ "BSD-3-Clause" ]
1
2015-12-31T07:56:20.000Z
2015-12-31T07:56:20.000Z
"""Some utility functions""" # Authors: Eric Larson <larsoner@uw.edu> # # License: BSD (3-clause) import warnings import operator from copy import deepcopy import subprocess import importlib import os import os.path as op import inspect import sys import tempfile import ssl from shutil import rmtree import atexit imp...
31.45645
79
0.598156
9c7c6f724eb34b62e9ef21f46c99bd86675f4bf5
295
py
Python
mixin.py
delimatorres/foodbasket
2f043d713337581be2165259cdbba4e4a24b656b
[ "Apache-2.0" ]
null
null
null
mixin.py
delimatorres/foodbasket
2f043d713337581be2165259cdbba4e4a24b656b
[ "Apache-2.0" ]
null
null
null
mixin.py
delimatorres/foodbasket
2f043d713337581be2165259cdbba4e4a24b656b
[ "Apache-2.0" ]
null
null
null
import signal
26.818182
59
0.698305
9c7c76de33634fbc8775661a36b44e7120b4b1f1
68
py
Python
test5.py
liubaishuo-github/peening-post-processor
61f4c2d2385469bc1e9d1b7a692b72eb6afd7f75
[ "MIT" ]
null
null
null
test5.py
liubaishuo-github/peening-post-processor
61f4c2d2385469bc1e9d1b7a692b72eb6afd7f75
[ "MIT" ]
null
null
null
test5.py
liubaishuo-github/peening-post-processor
61f4c2d2385469bc1e9d1b7a692b72eb6afd7f75
[ "MIT" ]
null
null
null
a = HAHA() print(a) print(a[0])
9.714286
17
0.5
9c7d50b1d9dc52a93f5eb0bc5220367d727e498d
9,079
py
Python
torch/_fx/graph_module.py
jsun94/nimble
e5c899a69677818b1becc58100577441e15ede13
[ "BSD-3-Clause" ]
206
2020-11-28T22:56:38.000Z
2022-03-27T02:33:04.000Z
torch/_fx/graph_module.py
jsun94/nimble
e5c899a69677818b1becc58100577441e15ede13
[ "BSD-3-Clause" ]
19
2020-12-09T23:13:14.000Z
2022-01-24T23:24:08.000Z
torch/_fx/graph_module.py
jsun94/nimble
e5c899a69677818b1becc58100577441e15ede13
[ "BSD-3-Clause" ]
28
2020-11-29T15:25:12.000Z
2022-01-20T02:16:27.000Z
import torch import torch.overrides import linecache from typing import Type, Dict, List, Any, Union from .graph import Graph import copy # normal exec loses the source code, however we can patch # the linecache module to still recover it. # using exec_with_source will add it to our local cache # and then tools like T...
41.268182
107
0.651614
9c7db6d021abe53926601b1834856be78ee60324
8,949
py
Python
RequestHandler.py
robot0nfire/behem0th
3931f2a9a2f00b95d82ccb3c5e7c13b3fbb5f4d7
[ "MIT" ]
2
2016-09-08T18:38:35.000Z
2016-09-14T11:05:34.000Z
RequestHandler.py
robot0nfire/behem0th
3931f2a9a2f00b95d82ccb3c5e7c13b3fbb5f4d7
[ "MIT" ]
1
2016-09-29T17:36:49.000Z
2016-09-29T17:36:49.000Z
RequestHandler.py
robot0nfire/behem0th
3931f2a9a2f00b95d82ccb3c5e7c13b3fbb5f4d7
[ "MIT" ]
null
null
null
# # Copyright (c) 2016 Christoph Heiss <me@christoph-heiss.me> # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, m...
24.927577
91
0.684769
9c7dd63e969ee9cd5df33ca5c30412f39a0774ab
366
py
Python
tests/utils/test_metrics.py
haochuanwei/hover
53eb38c718e44445b18a97e391b7f90270802b04
[ "MIT" ]
251
2020-11-22T15:02:30.000Z
2022-03-23T23:29:28.000Z
tests/utils/test_metrics.py
MaxCodeXTC/hover
feeb0e0c59295a3c883823ccef918dfe388b603c
[ "MIT" ]
22
2020-12-03T07:50:27.000Z
2022-02-26T01:43:41.000Z
tests/utils/test_metrics.py
MaxCodeXTC/hover
feeb0e0c59295a3c883823ccef918dfe388b603c
[ "MIT" ]
14
2020-11-18T06:46:02.000Z
2022-03-03T08:14:18.000Z
from hover.utils.metrics import classification_accuracy import numpy as np
33.272727
55
0.677596
9c7e8f9016c9cbf4f8f05d18b1e14e707c0c6a3e
27,504
py
Python
scripts/blenderseed.package.py
rgirish28/blenderseed
fee897620d0348f4ea1f5722e1a82c3682ca0178
[ "MIT" ]
null
null
null
scripts/blenderseed.package.py
rgirish28/blenderseed
fee897620d0348f4ea1f5722e1a82c3682ca0178
[ "MIT" ]
null
null
null
scripts/blenderseed.package.py
rgirish28/blenderseed
fee897620d0348f4ea1f5722e1a82c3682ca0178
[ "MIT" ]
null
null
null
#!/usr/bin/python # # This source file is part of appleseed. # Visit https://appleseedhq.net/ for additional information and resources. # # This software is released under the MIT license. # # Copyright (c) 2017-2018 Esteban Tovagliari, The appleseedhq Organization # # Permission is hereby granted, free of charge, to ...
37.98895
148
0.597186
9c7f2a0eaaf692b24bd48b78aa80933467348c66
80
py
Python
uts/uts_17_aut_py/2/A.py
viad00/code_olymp
90f20f9fd075e8967d02baf7554fcf24f4ae089c
[ "MIT" ]
null
null
null
uts/uts_17_aut_py/2/A.py
viad00/code_olymp
90f20f9fd075e8967d02baf7554fcf24f4ae089c
[ "MIT" ]
null
null
null
uts/uts_17_aut_py/2/A.py
viad00/code_olymp
90f20f9fd075e8967d02baf7554fcf24f4ae089c
[ "MIT" ]
null
null
null
ser = int(input()) mas = list(map(int, input().split())) mas.sort() print(*mas)
16
37
0.6125
9c7f69a036f4358b44b78abe3f34ed429e5fbfef
1,420
py
Python
wagtailkatex/wagtail_hooks.py
ongchi/wagtail-katex
c64b491e765e6b87a90d7cd8602153826ee9fe07
[ "Apache-2.0" ]
null
null
null
wagtailkatex/wagtail_hooks.py
ongchi/wagtail-katex
c64b491e765e6b87a90d7cd8602153826ee9fe07
[ "Apache-2.0" ]
null
null
null
wagtailkatex/wagtail_hooks.py
ongchi/wagtail-katex
c64b491e765e6b87a90d7cd8602153826ee9fe07
[ "Apache-2.0" ]
null
null
null
from django.utils.translation import gettext from wagtail.admin.rich_text.editors.draftail import features as draftail_features from wagtail.core import hooks from .richtext import KaTeXEntityElementHandler, katex_entity_decorator
32.272727
90
0.607042
9c7f78a252c83665660e04bc5a8e1cea157db269
1,415
py
Python
esque_wire/protocol/serializers/api/elect_preferred_leaders_request.py
real-digital/esque-wire
eb02c49f38b89ad5e5d25aad15fb4ad795e52807
[ "MIT" ]
null
null
null
esque_wire/protocol/serializers/api/elect_preferred_leaders_request.py
real-digital/esque-wire
eb02c49f38b89ad5e5d25aad15fb4ad795e52807
[ "MIT" ]
7
2019-11-26T08:19:49.000Z
2021-03-15T14:27:47.000Z
esque_wire/protocol/serializers/api/elect_preferred_leaders_request.py
real-digital/esque-wire
eb02c49f38b89ad5e5d25aad15fb4ad795e52807
[ "MIT" ]
null
null
null
############################################################### # Autogenerated module. Please don't modify. # # Edit according file in protocol_generator/templates instead # ############################################################### from typing import Dict from ...structs.api.elect_preferred_le...
41.617647
109
0.733569
9c7f9627f318b3e1570c92823a8ee10c19ec9aa5
8,991
py
Python
test/tests/bootstrap/test_api20_windows_bootstrap.py
arunrordell/RackHD
079c21f45cb38f538c502363aa1ff86dbcac3169
[ "Apache-2.0" ]
451
2015-11-09T13:19:25.000Z
2022-03-16T08:00:16.000Z
test/tests/bootstrap/test_api20_windows_bootstrap.py
arunrordell/RackHD
079c21f45cb38f538c502363aa1ff86dbcac3169
[ "Apache-2.0" ]
824
2015-11-10T15:25:50.000Z
2018-04-09T09:59:49.000Z
test/tests/bootstrap/test_api20_windows_bootstrap.py
arunrordell/RackHD
079c21f45cb38f538c502363aa1ff86dbcac3169
[ "Apache-2.0" ]
221
2015-11-10T23:00:46.000Z
2022-03-16T08:00:22.000Z
''' Copyright 2017 Dell Inc. or its subsidiaries. All Rights Reserved. This script tests arbitrary payload of the RackHD API 2.0 OS bootstrap workflows. The default case is running a minimum payload Windows OS install. Other Windows-type OS install cases can be specified by creating a payload file and specifiying it u...
45.872449
127
0.587031
9c806e8f0ae3b3c96a9df2eadcd9d67e2ad3e5fe
602
py
Python
random_number.py
till-h/alexa
47891eb97fff375500a032b23fef7a2681b50735
[ "MIT" ]
null
null
null
random_number.py
till-h/alexa
47891eb97fff375500a032b23fef7a2681b50735
[ "MIT" ]
null
null
null
random_number.py
till-h/alexa
47891eb97fff375500a032b23fef7a2681b50735
[ "MIT" ]
null
null
null
from flask import Flask, render_template from flask_ask import Ask, statement import random app = Flask(__name__) ask = Ask(app, '/') if __name__ == '__main__': app.run(debug=True)
31.684211
101
0.749169
9c81af124f83929d36674b85f7157b8a2ef4f4b9
9,686
py
Python
model/losses.py
askerlee/rift
d4dbf42b82f1f83dfab18f8da8fe3a1d0a716fa2
[ "MIT" ]
11
2022-02-14T08:31:04.000Z
2022-03-29T08:20:17.000Z
model/losses.py
askerlee/rift
d4dbf42b82f1f83dfab18f8da8fe3a1d0a716fa2
[ "MIT" ]
3
2022-02-14T11:19:15.000Z
2022-03-19T05:11:25.000Z
model/losses.py
askerlee/rift
d4dbf42b82f1f83dfab18f8da8fe3a1d0a716fa2
[ "MIT" ]
null
null
null
import torch import numpy as np import torch.nn as nn import torch.nn.functional as F import torchvision.models as models from model.laplacian import LapLoss device = torch.device("cuda" if torch.cuda.is_available() else "cpu") # flow could have any channels. # https://github.com/coolbeam/OIFlow/blob/main/utils/to...
39.696721
134
0.601693
9c820bdf9b7f916cd742cf712e94425ee24e76e1
5,847
py
Python
project/python/swarm_simulation.py
righetti/swarmrobotics
f8f6bf72c3aae1f432f3306aebb48fd32a6dd2a7
[ "BSD-3-Clause" ]
8
2019-09-14T11:55:49.000Z
2022-02-05T23:06:33.000Z
project/python/swarm_simulation.py
righetti/swarmrobotics
f8f6bf72c3aae1f432f3306aebb48fd32a6dd2a7
[ "BSD-3-Clause" ]
null
null
null
project/python/swarm_simulation.py
righetti/swarmrobotics
f8f6bf72c3aae1f432f3306aebb48fd32a6dd2a7
[ "BSD-3-Clause" ]
7
2019-09-16T02:42:41.000Z
2021-09-07T03:26:22.000Z
import numpy as np import pybullet as p import itertools from robot import Robot
43.634328
96
0.540277
9c82ce7669d0a4f2d3645ab5502b497296602411
31,437
py
Python
boto/ec2/elb/__init__.py
wt/boto
83d5b256c8333307233e1ec7c1e21696e8d32437
[ "MIT" ]
15
2015-03-25T05:24:11.000Z
2021-12-18T04:24:06.000Z
boto/ec2/elb/__init__.py
wt/boto
83d5b256c8333307233e1ec7c1e21696e8d32437
[ "MIT" ]
null
null
null
boto/ec2/elb/__init__.py
wt/boto
83d5b256c8333307233e1ec7c1e21696e8d32437
[ "MIT" ]
10
2015-04-26T17:56:37.000Z
2020-09-24T14:01:53.000Z
# Copyright (c) 2006-2012 Mitch Garnaat http://garnaat.org/ # Copyright (c) 2012 Amazon.com, Inc. or its affiliates. # All Rights Reserved # # Permission is hereby granted, free of charge, to any person obtaining a # copy of this software and associated documentation files (the # "Software"), to deal in the Software wi...
42.946721
91
0.633426
9c836060b9b7e80140ebb8a9cc363bc2e1d5ff72
9,677
py
Python
basis_set_exchange/cli/bse_cli.py
atomse/basis_set_exchange
7ffd64082c14d2f61eb43f1c2d44792e8b0e394e
[ "BSD-3-Clause" ]
null
null
null
basis_set_exchange/cli/bse_cli.py
atomse/basis_set_exchange
7ffd64082c14d2f61eb43f1c2d44792e8b0e394e
[ "BSD-3-Clause" ]
null
null
null
basis_set_exchange/cli/bse_cli.py
atomse/basis_set_exchange
7ffd64082c14d2f61eb43f1c2d44792e8b0e394e
[ "BSD-3-Clause" ]
null
null
null
''' Command line interface for the basis set exchange ''' import argparse import argcomplete from .. import version from .bse_handlers import bse_cli_handle_subcmd from .check import cli_check_normalize_args from .complete import (cli_case_insensitive_validator, cli_family_completer, cli_role_co...
59.368098
160
0.673349
9c8366ee191973d219cc50c6458365ebe9053724
376
py
Python
Backjoon/1929.py
hanjungwoo1/CodingTest
0112488d04dd53cea1c869439341fb602e699f2a
[ "MIT" ]
3
2022-03-29T04:56:50.000Z
2022-03-30T08:06:42.000Z
Backjoon/1929.py
hanjungwoo1/CodingTest
0112488d04dd53cea1c869439341fb602e699f2a
[ "MIT" ]
null
null
null
Backjoon/1929.py
hanjungwoo1/CodingTest
0112488d04dd53cea1c869439341fb602e699f2a
[ "MIT" ]
null
null
null
""" 3 16 3 5 7 11 13 """ import math left, right = map(int, input().split()) array = [True for i in range(right+1)] array[1] = 0 for i in range(2, int(math.sqrt(right)) + 1): if array[i] == True: j = 2 while i * j <= right: array[i * j] = False j += 1 for i in range(l...
13.925926
45
0.505319
92bb5127dacf316c62cd64b3874b283309deffd5
42,452
py
Python
tensorflow/tools/quantization/quantize_graph_test.py
tianyapiaozi/tensorflow
fb3ce0467766a8e91f1da0ad7ada7c24fde7a73a
[ "Apache-2.0" ]
374
2018-12-02T06:59:44.000Z
2022-03-15T10:34:00.000Z
tensorflow/tools/quantization/quantize_graph_test.py
shrikunjsarda/tensorflow
7e8927e7af0c51ac20a63bd4eab6ff83df1a39ae
[ "Apache-2.0" ]
157
2018-12-02T07:37:39.000Z
2022-03-16T09:49:11.000Z
tensorflow/tools/quantization/quantize_graph_test.py
shrikunjsarda/tensorflow
7e8927e7af0c51ac20a63bd4eab6ff83df1a39ae
[ "Apache-2.0" ]
141
2018-12-12T11:57:59.000Z
2022-02-28T13:12:58.000Z
# Copyright 2015 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
43.900724
80
0.692123
92bbcd24bf10bc66f379878a7b6917a00a8a96a4
2,698
py
Python
layerserver/migrations/0001_initial.py
aroiginfraplan/giscube-admin
b7f3131b0186f847f3902df97f982cb288b16a49
[ "BSD-3-Clause" ]
5
2018-06-07T12:54:35.000Z
2022-01-14T10:38:38.000Z
layerserver/migrations/0001_initial.py
aroiginfraplan/giscube-admin
b7f3131b0186f847f3902df97f982cb288b16a49
[ "BSD-3-Clause" ]
140
2018-06-18T10:27:28.000Z
2022-03-23T09:53:15.000Z
layerserver/migrations/0001_initial.py
aroiginfraplan/giscube-admin
b7f3131b0186f847f3902df97f982cb288b16a49
[ "BSD-3-Clause" ]
1
2021-04-13T11:20:54.000Z
2021-04-13T11:20:54.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.10 on 2018-04-26 09:14 import colorfield.fields from django.db import migrations, models import django.db.models.deletion import giscube.utils
52.901961
182
0.610823
92bc543d24e721550df8b06cf7b80bb7637df99c
910
py
Python
SETTINGS.py
pirica/fortnite-leaks-image-generator
c23633862fd7d2286700f932e5dab41decd2ff72
[ "CC0-1.0" ]
5
2020-10-07T23:53:30.000Z
2021-09-18T17:50:11.000Z
SETTINGS.py
pirica/fortnite-leaks-image-generator
c23633862fd7d2286700f932e5dab41decd2ff72
[ "CC0-1.0" ]
null
null
null
SETTINGS.py
pirica/fortnite-leaks-image-generator
c23633862fd7d2286700f932e5dab41decd2ff72
[ "CC0-1.0" ]
5
2020-12-13T16:49:41.000Z
2021-09-18T17:50:14.000Z
backgroundurl = "https://storage.needpix.com/rsynced_images/colored-background.jpg" # <- Need to be a Image URL!!! lang = "en" # <- language code displayset = True # <- Display the Set of the Item raritytext = True # <- Display the Rarity of the Item typeconfig = { "BannerToken": True, "AthenaBackpack":...
28.4375
115
0.66044
92bc6a8a2905baaef24ea73868b39d5f28b0a445
592
py
Python
src/healthvaultlib/tests/testbase.py
rajeevs1992/pyhealthvault
2b6fa7c1687300bcc2e501368883fbb13dc80495
[ "MIT" ]
1
2015-12-19T09:09:15.000Z
2015-12-19T09:09:15.000Z
src/healthvaultlib/tests/testbase.py
rajeevs1992/pyhealthvault
2b6fa7c1687300bcc2e501368883fbb13dc80495
[ "MIT" ]
6
2015-12-19T07:53:44.000Z
2021-12-13T19:35:10.000Z
src/healthvaultlib/tests/testbase.py
rajeevs1992/pyhealthvault
2b6fa7c1687300bcc2e501368883fbb13dc80495
[ "MIT" ]
2
2018-02-20T08:34:50.000Z
2018-03-28T14:29:52.000Z
import unittest import settings from healthvaultlib.helpers.connection import Connection
31.157895
90
0.72973
92bcea551d4afd1053bbca8f841cc813051b6539
484
py
Python
apps/extensions/migrations/0012_imports_path_urlfield_to_charfield.py
StepicOrg/stepik-apps
5825bc9b2444ad4690681964d1bed172706f8796
[ "Apache-2.0" ]
5
2017-03-17T10:01:25.000Z
2018-03-23T05:56:25.000Z
apps/extensions/migrations/0012_imports_path_urlfield_to_charfield.py
StepicOrg/stepik-apps
5825bc9b2444ad4690681964d1bed172706f8796
[ "Apache-2.0" ]
4
2020-06-05T17:34:05.000Z
2021-04-19T12:58:48.000Z
apps/extensions/migrations/0012_imports_path_urlfield_to_charfield.py
StepicOrg/stepik-apps
5825bc9b2444ad4690681964d1bed172706f8796
[ "Apache-2.0" ]
2
2017-03-21T13:01:28.000Z
2017-04-27T14:33:20.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.10.6 on 2017-06-09 03:01 from __future__ import unicode_literals from django.db import migrations, models
23.047619
71
0.630165
92bcfabb83b949d7b865d6edb058159c8c815b8b
628
py
Python
regtests/bench/thread_collision.py
secureosv/pythia
459f9e2bc0bb2da57e9fa8326697d9ef3386883a
[ "BSD-3-Clause" ]
17
2015-12-13T23:11:31.000Z
2020-07-19T00:40:18.000Z
regtests/bench/thread_collision.py
secureosv/pythia
459f9e2bc0bb2da57e9fa8326697d9ef3386883a
[ "BSD-3-Clause" ]
8
2016-02-22T19:42:56.000Z
2016-07-13T10:58:04.000Z
regtests/bench/thread_collision.py
secureosv/pythia
459f9e2bc0bb2da57e9fa8326697d9ef3386883a
[ "BSD-3-Clause" ]
3
2016-04-11T20:34:31.000Z
2021-03-12T10:33:02.000Z
''' multi-threading (python3 version) https://docs.python.org/3/library/threading.html ''' from time import clock import threading THREADS=2 lock = threading.Lock() A = 0 B = 0 C = 0 main()
14.604651
54
0.630573
92bd6cd2780084175f5bca66b4d32f6768777683
2,270
py
Python
game/board.py
scooler/checkers
90bfe8702c6005c767a8673caed6e7e2f0ce5879
[ "MIT" ]
null
null
null
game/board.py
scooler/checkers
90bfe8702c6005c767a8673caed6e7e2f0ce5879
[ "MIT" ]
null
null
null
game/board.py
scooler/checkers
90bfe8702c6005c767a8673caed6e7e2f0ce5879
[ "MIT" ]
null
null
null
import numpy as np
28.024691
93
0.574009
92bed45f1cd8f2bc90c85f74109f48fc3d320089
5,261
py
Python
zge/engine.py
zhester/zge
246096a8c1fd26472091aac747a3fffda58f3072
[ "BSD-2-Clause" ]
null
null
null
zge/engine.py
zhester/zge
246096a8c1fd26472091aac747a3fffda58f3072
[ "BSD-2-Clause" ]
null
null
null
zge/engine.py
zhester/zge
246096a8c1fd26472091aac747a3fffda58f3072
[ "BSD-2-Clause" ]
null
null
null
""" Zoe Game Engine Core Implementation =================================== Requirements ------------ [pygame](http://www.pygame.org/) """ # core packages # third-party packages import pygame # local package import layer __version__ = '0.0.0' #===================================================================...
27.118557
78
0.472914
92c00c62a4d73688ee5500b37708447cbeae1913
557
py
Python
Authentication/migrations/0004_auto_20201115_1105.py
CHESyrian/Estebyan
015c0a8e95d033af04ba949942da79a4f5a90488
[ "MIT" ]
null
null
null
Authentication/migrations/0004_auto_20201115_1105.py
CHESyrian/Estebyan
015c0a8e95d033af04ba949942da79a4f5a90488
[ "MIT" ]
null
null
null
Authentication/migrations/0004_auto_20201115_1105.py
CHESyrian/Estebyan
015c0a8e95d033af04ba949942da79a4f5a90488
[ "MIT" ]
null
null
null
# Generated by Django 3.0.6 on 2020-11-15 09:05 from django.db import migrations, models
23.208333
54
0.587074
92c32d549db39666405ca82ccd8b1e761fbef653
455
py
Python
dashboard/urls.py
EdisonBr/MockDados
c625cba7b93a8f31609549241c5aa71932e26b2d
[ "MIT" ]
null
null
null
dashboard/urls.py
EdisonBr/MockDados
c625cba7b93a8f31609549241c5aa71932e26b2d
[ "MIT" ]
4
2021-03-30T13:49:39.000Z
2021-06-10T19:40:02.000Z
dashboard/urls.py
smart320/MockDados
c625cba7b93a8f31609549241c5aa71932e26b2d
[ "MIT" ]
1
2020-07-27T02:08:29.000Z
2020-07-27T02:08:29.000Z
from django.urls import path, re_path from django.views.generic.base import TemplateView from .views import dashboard_cost, dashboard_energy, MotorDataListView app_name = 'dashboard' urlpatterns = [ path('', MotorDataListView.as_view(), name='dashboard_custom'), #path('', dashboard_custom, name='dashboar...
28.4375
71
0.745055
92c39bcd73eb7b9f3010061b7c3106141036133d
111
py
Python
Coursera/Python for Everybody Specialization/Python for everybody basics/hourly rate.py
ejgarcia1991/Courses-and-other-non-professional-projects
94794dd1d6cf626de174330311e3fde4d10cd460
[ "MIT" ]
1
2021-02-19T22:33:55.000Z
2021-02-19T22:33:55.000Z
Coursera/Python for Everybody Specialization/Python for everybody basics/hourly rate.py
ejgarcia1991/Courses-and-other-non-professional-projects
94794dd1d6cf626de174330311e3fde4d10cd460
[ "MIT" ]
null
null
null
Coursera/Python for Everybody Specialization/Python for everybody basics/hourly rate.py
ejgarcia1991/Courses-and-other-non-professional-projects
94794dd1d6cf626de174330311e3fde4d10cd460
[ "MIT" ]
null
null
null
hrs = input("Enter Hours:") rate = input("Enter rate:") pay = float(hrs) * float(rate) print("Pay: " +str(pay))
27.75
30
0.630631
92c3f1ad626b115da6ffe9d3c9d13ac69cd2a64e
18,742
py
Python
litex_boards/platforms/xilinx_kcu105.py
smunaut/litex-boards
caac75c7dbcba68d9f4fb948107cb5d6ff60e05f
[ "BSD-2-Clause" ]
177
2019-06-13T09:54:49.000Z
2022-03-29T02:25:13.000Z
litex_boards/platforms/xilinx_kcu105.py
smunaut/litex-boards
caac75c7dbcba68d9f4fb948107cb5d6ff60e05f
[ "BSD-2-Clause" ]
347
2019-06-12T17:47:45.000Z
2022-03-30T21:59:01.000Z
litex_boards/platforms/xilinx_kcu105.py
smunaut/litex-boards
caac75c7dbcba68d9f4fb948107cb5d6ff60e05f
[ "BSD-2-Clause" ]
202
2019-06-11T15:01:26.000Z
2022-03-31T16:25:19.000Z
# # This file is part of LiteX-Boards. # # Copyright (c) 2017-2019 Florent Kermarrec <florent@enjoy-digital.fr> # SPDX-License-Identifier: BSD-2-Clause from litex.build.generic_platform import * from litex.build.xilinx import XilinxPlatform, VivadoProgrammer # IOs -----------------------------------------------------...
34.836431
100
0.442642
92c62cbe56cec51196d1580ada73d616cb7c64b7
1,543
py
Python
code/advent_of_code_day3.py
erinleeryan/2020adventofcode
69f21d3458f57d8fcf006c451416e0509a66cd7a
[ "Unlicense" ]
null
null
null
code/advent_of_code_day3.py
erinleeryan/2020adventofcode
69f21d3458f57d8fcf006c451416e0509a66cd7a
[ "Unlicense" ]
null
null
null
code/advent_of_code_day3.py
erinleeryan/2020adventofcode
69f21d3458f57d8fcf006c451416e0509a66cd7a
[ "Unlicense" ]
null
null
null
#!/usr/bin/env python # coding: utf-8 # In[1]: import numpy as np import math # In[2]: fileObj = open('../data/advent_of_code_input_day_three.txt', "r") #opens the file in read mode. items = fileObj. read(). splitlines() #puts the file into an array. # In[3]: #print (items) holding = [] for i, line in enum...
20.302632
106
0.700583
92c68dfb6fa34afab6acdb9718f1d8ef9da011d5
670
py
Python
input_handler.py
Wyverns010/Body-Keypoints-Detection
980445da5e87c898a00a8ef1c9e1e143d09d4643
[ "Apache-2.0" ]
1
2021-06-06T07:08:27.000Z
2021-06-06T07:08:27.000Z
input_handler.py
Wyverns010/Body-Keypoints-Detection
980445da5e87c898a00a8ef1c9e1e143d09d4643
[ "Apache-2.0" ]
null
null
null
input_handler.py
Wyverns010/Body-Keypoints-Detection
980445da5e87c898a00a8ef1c9e1e143d09d4643
[ "Apache-2.0" ]
null
null
null
import os import traceback if __name__ == '__main__': obj = InputHandler() print(obj.listFiles())
25.769231
135
0.60597
92c83bb936e6892d8eb39bcbfcb76fe95e1f5577
1,281
py
Python
docker/autoconfig.py
misc0110/bepasty-server
662179671220d680fed57aa90894ffebf57dd4c7
[ "BSD-2-Clause" ]
null
null
null
docker/autoconfig.py
misc0110/bepasty-server
662179671220d680fed57aa90894ffebf57dd4c7
[ "BSD-2-Clause" ]
null
null
null
docker/autoconfig.py
misc0110/bepasty-server
662179671220d680fed57aa90894ffebf57dd4c7
[ "BSD-2-Clause" ]
null
null
null
#!/usr/bin/python import os import sys SITENAME = os.environ.get("BEPASTY_SITENAME", None) if SITENAME is None: print("\n\nEnvironment variable BEPASTY_SITENAME must be set.") sys.exit(1) SECRET_KEY = os.environ.get("BEPASTY_SECRET_KEY", None) if SECRET_KEY is None: print("\n\nEnvironment variable BEPAST...
30.5
87
0.753318
92c8fb39f9443d549d8e36137c05b64ee86a7a00
13,786
py
Python
pysh/transforms/alpha/bangexpr.py
drslump/pysh
673cdf2b5ea95dc3209cb294bb91cb2f298bb888
[ "MIT" ]
3
2018-07-09T04:39:24.000Z
2020-11-27T05:44:56.000Z
pysh/transforms/alpha/bangexpr.py
drslump/pysh
673cdf2b5ea95dc3209cb294bb91cb2f298bb888
[ "MIT" ]
null
null
null
pysh/transforms/alpha/bangexpr.py
drslump/pysh
673cdf2b5ea95dc3209cb294bb91cb2f298bb888
[ "MIT" ]
1
2018-08-02T21:57:11.000Z
2018-08-02T21:57:11.000Z
from io import StringIO import re import tokenize import os from collections import deque, ChainMap from functools import lru_cache from enum import Enum import pysh from pysh.path import PathWrapper, Path from typing import List, Callable, Iterator, Tuple, NamedTuple, Deque, Union, Any TBangTransformer = Callable[ [...
31.260771
153
0.533585
92ca0cfb3a6ca200081a09f8a2c36869b58c22cb
2,449
py
Python
example/bayesian-methods/data_loader.py
Vikas-kum/incubator-mxnet
ba02bf2fe2da423caa59ddb3fd5e433b90b730bf
[ "Apache-2.0" ]
54
2018-11-27T06:00:52.000Z
2022-03-24T09:41:01.000Z
example/bayesian-methods/data_loader.py
Vikas-kum/incubator-mxnet
ba02bf2fe2da423caa59ddb3fd5e433b90b730bf
[ "Apache-2.0" ]
27
2017-07-04T17:45:51.000Z
2019-09-12T06:56:27.000Z
example/bayesian-methods/data_loader.py
Vikas-kum/incubator-mxnet
ba02bf2fe2da423caa59ddb3fd5e433b90b730bf
[ "Apache-2.0" ]
51
2019-07-12T05:10:25.000Z
2021-07-28T16:19:06.000Z
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
40.147541
95
0.683953
92ca255eec01c1e82a3ad0136582786783c1c0bd
4,743
py
Python
start.py
mickeyckm/nanodegree-freshtomatoes
12776f7e46d6c42a4755a0b81e60eb1a5a65de08
[ "MIT" ]
1
2016-10-13T05:25:36.000Z
2016-10-13T05:25:36.000Z
start.py
mickeyckm/freshtomatoes
12776f7e46d6c42a4755a0b81e60eb1a5a65de08
[ "MIT" ]
null
null
null
start.py
mickeyckm/freshtomatoes
12776f7e46d6c42a4755a0b81e60eb1a5a65de08
[ "MIT" ]
null
null
null
import os import tmdbsimple as tmdb import media import fresh_tomatoes as ft movies = [] if os.environ.get('TMDB_API', False): # Retrieve API KEY tmdb.API_KEY = os.environ['TMDB_API'] # TMDB Movie Ids movie_ids = [271110, 297761, 246655, 278154, 135397, 188927] # Get Configuration configurat...
43.916667
78
0.59688
92cab9ec692aa8897ecccca29c25b34c478b66a7
8,798
py
Python
qiskit_metal/_gui/elements_ui.py
sarafs1926/qiskit-metal
cf2ce8125ebe8f21b6d1b85362466fd57db2cada
[ "Apache-2.0" ]
1
2022-01-27T07:11:49.000Z
2022-01-27T07:11:49.000Z
qiskit_metal/_gui/elements_ui.py
sarafs1926/qiskit-metal
cf2ce8125ebe8f21b6d1b85362466fd57db2cada
[ "Apache-2.0" ]
null
null
null
qiskit_metal/_gui/elements_ui.py
sarafs1926/qiskit-metal
cf2ce8125ebe8f21b6d1b85362466fd57db2cada
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file './elements_ui.ui', # licensing of './elements_ui.ui' applies. # # Created: Wed Jun 16 14:29:03 2021 # by: pyside2-uic running on PySide2 5.13.2 # # WARNING! All changes made in this file will be lost! from PySide2 import QtCore, QtGui...
49.988636
100
0.639236
92cb45afbfe997d9e2fe7ab0970f2d0910fc5659
148
py
Python
Python/function.py
manishaverma1012/programs
dd77546219eab2f2ee81dd0d599b78ebd8f95957
[ "MIT" ]
null
null
null
Python/function.py
manishaverma1012/programs
dd77546219eab2f2ee81dd0d599b78ebd8f95957
[ "MIT" ]
null
null
null
Python/function.py
manishaverma1012/programs
dd77546219eab2f2ee81dd0d599b78ebd8f95957
[ "MIT" ]
null
null
null
digit = input(" the cube of which digit do you want >") result = cube(int(digit)) print(result)
18.5
56
0.702703
92cd8cee441a839cf57967c393c922a1fab007b8
1,203
py
Python
tests/test_runner.py
elifesciences/proofreader-python
89d807253e17a1731c7ce15f7dd382e49c1c835a
[ "MIT" ]
1
2018-06-26T21:49:31.000Z
2018-06-26T21:49:31.000Z
tests/test_runner.py
elifesciences/proofreader-python
89d807253e17a1731c7ce15f7dd382e49c1c835a
[ "MIT" ]
8
2017-12-05T08:34:25.000Z
2018-04-30T08:58:18.000Z
tests/test_runner.py
elifesciences/proofreader-python
89d807253e17a1731c7ce15f7dd382e49c1c835a
[ "MIT" ]
null
null
null
try: from unittest.mock import patch except ImportError: # pragma: no cover from mock import patch from proofreader.runner import run, _run_command
28.642857
83
0.729842
92ce1ba4b6776bf939e55fcd9a49ebf0d28494b0
1,266
py
Python
tanim/core/container/container.py
wofeicaoge/Tanim
8ef17834a4ba51092f28c0d5becec25aecd01a62
[ "MIT" ]
null
null
null
tanim/core/container/container.py
wofeicaoge/Tanim
8ef17834a4ba51092f28c0d5becec25aecd01a62
[ "MIT" ]
5
2020-04-13T15:31:37.000Z
2022-03-12T00:23:27.000Z
tanim/core/container/container.py
wofeicaoge/Tanim
8ef17834a4ba51092f28c0d5becec25aecd01a62
[ "MIT" ]
null
null
null
from tanim.utils.config_ops import digest_config from tanim.utils.iterables import list_update # Currently, this is only used by both Scene and Mobject. # Still, we abstract its functionality here, albeit purely nominally. # All actual implementation has to be handled by derived classes for now.
32.461538
76
0.657188
92ce6473bab7c8882ecd1ab85554b02e243b4587
5,076
py
Python
article.py
ZACHSTRIVES/AUCSS-StaffPlatform
f2d6597853e85b06f057292025d83edbb4184361
[ "MIT" ]
3
2020-10-01T08:46:12.000Z
2021-01-25T11:32:16.000Z
article.py
ZACHSTRIVES/AUCSS-StaffPlatform
f2d6597853e85b06f057292025d83edbb4184361
[ "MIT" ]
null
null
null
article.py
ZACHSTRIVES/AUCSS-StaffPlatform
f2d6597853e85b06f057292025d83edbb4184361
[ "MIT" ]
1
2020-09-24T11:20:23.000Z
2020-09-24T11:20:23.000Z
from config import *
25.766497
121
0.573483
92cea7421504e38a8678084f761b6c6af9dcfff2
1,231
py
Python
12-Querying-Data-II/just_filtering.py
dwang-ischool/w205
ebcdf684dc653951691faaa2787896a2d2406539
[ "Apache-2.0" ]
23
2018-10-21T17:47:56.000Z
2022-03-06T04:50:27.000Z
12a/just_filtering.py
FuriousGeorge19/W205-Course-Content
f51046d7507fba9ba9f7521cda437d7dad803e5b
[ "Apache-2.0" ]
null
null
null
12a/just_filtering.py
FuriousGeorge19/W205-Course-Content
f51046d7507fba9ba9f7521cda437d7dad803e5b
[ "Apache-2.0" ]
9
2020-03-16T08:52:58.000Z
2022-02-09T09:31:51.000Z
#!/usr/bin/env python """Extract events from kafka and write them to hdfs """ import json from pyspark.sql import SparkSession, Row from pyspark.sql.functions import udf def main(): """main """ spark = SparkSession \ .builder \ .appName("ExtractEventsJob") \ .getOrCreate() ra...
25.122449
73
0.613323
92cec8b3278d323143a4d7cc2f5e6ab7db12785e
434
py
Python
test.py
navjotk/pysz
6d75aa4fe24713ed893a2301c143006dace6fd77
[ "MIT" ]
3
2020-03-14T04:43:00.000Z
2022-02-02T15:22:48.000Z
test.py
navjotk/pysz
6d75aa4fe24713ed893a2301c143006dace6fd77
[ "MIT" ]
null
null
null
test.py
navjotk/pysz
6d75aa4fe24713ed893a2301c143006dace6fd77
[ "MIT" ]
null
null
null
import numpy as np from pysz import compress, decompress test_compress_decompress()
25.529412
84
0.71659
92cf711f3ee4d4acd21a60efb873e479a2b9db00
447
py
Python
sparkdq/outliers/params/KSigmaParams.py
PasaLab/SparkDQ
16d50210747ef7de03cf36d689ce26ff7445f63a
[ "Apache-2.0" ]
1
2021-02-08T07:49:54.000Z
2021-02-08T07:49:54.000Z
sparkdq/outliers/params/KSigmaParams.py
PasaLab/SparkDQ
16d50210747ef7de03cf36d689ce26ff7445f63a
[ "Apache-2.0" ]
null
null
null
sparkdq/outliers/params/KSigmaParams.py
PasaLab/SparkDQ
16d50210747ef7de03cf36d689ce26ff7445f63a
[ "Apache-2.0" ]
null
null
null
import json from sparkdq.outliers.params.OutlierSolverParams import OutlierSolverParams from sparkdq.outliers.OutlierSolver import OutlierSolver
23.526316
75
0.736018
92d067e85ffe42672816ef3e9eaff85647966d45
1,312
py
Python
webhooks/sentry/alerta_sentry.py
dunzoit/alerta-contrib
57dd47d5bb0c994fce036ae1eea2c3a88ef352c4
[ "MIT" ]
null
null
null
webhooks/sentry/alerta_sentry.py
dunzoit/alerta-contrib
57dd47d5bb0c994fce036ae1eea2c3a88ef352c4
[ "MIT" ]
null
null
null
webhooks/sentry/alerta_sentry.py
dunzoit/alerta-contrib
57dd47d5bb0c994fce036ae1eea2c3a88ef352c4
[ "MIT" ]
null
null
null
from alerta.models.alert import Alert from alerta.webhooks import WebhookBase
32
108
0.529726
92d135cd3396bc2bfc2ba5711e29b118672c8503
1,676
py
Python
setup.py
dolfim/django-mail-gmailapi
c2f7319329d07d6ecd41e4addc05e47c38fd5e19
[ "Apache-2.0" ]
null
null
null
setup.py
dolfim/django-mail-gmailapi
c2f7319329d07d6ecd41e4addc05e47c38fd5e19
[ "Apache-2.0" ]
null
null
null
setup.py
dolfim/django-mail-gmailapi
c2f7319329d07d6ecd41e4addc05e47c38fd5e19
[ "Apache-2.0" ]
null
null
null
import re from setuptools import setup, find_packages import sys if sys.version_info < (3, 5): raise 'must use Python version 3.5 or higher' with open('./gmailapi_backend/__init__.py', 'r') as f: MATCH_EXPR = "__version__[^'\"]+(['\"])([^'\"]+)" VERSION = re.search(MATCH_EXPR, f.read()).group(2).strip() ...
33.52
79
0.614558
92d23334c19f98d7d5d931da713ce60c1a673466
1,351
py
Python
openpeerpower/scripts/ensure_config.py
OpenPeerPower/openpeerpower
940a04a88e8f78e2d010dc912ad6905ae363503c
[ "Apache-2.0" ]
null
null
null
openpeerpower/scripts/ensure_config.py
OpenPeerPower/openpeerpower
940a04a88e8f78e2d010dc912ad6905ae363503c
[ "Apache-2.0" ]
null
null
null
openpeerpower/scripts/ensure_config.py
OpenPeerPower/openpeerpower
940a04a88e8f78e2d010dc912ad6905ae363503c
[ "Apache-2.0" ]
1
2019-04-24T14:10:08.000Z
2019-04-24T14:10:08.000Z
"""Script to ensure a configuration file exists.""" import argparse import os import openpeerpower.config as config_util from openpeerpower.core import OpenPeerPower # mypy: allow-untyped-calls, allow-untyped-defs def run(args): """Handle ensure config commandline script.""" parser = argparse.ArgumentParser...
28.145833
79
0.687639
92d2be755f1c0894c43d329732b414de4bf31ab2
195
py
Python
atcoder/abc132A_fifty_fifty.py
uninhm/kyopro
bf6ed9cbf6a5e46cde0291f7aa9d91a8ddf1f5a3
[ "BSD-3-Clause" ]
31
2020-05-13T01:07:55.000Z
2021-07-13T07:53:26.000Z
atcoder/abc132A_fifty_fifty.py
uninhm/kyopro
bf6ed9cbf6a5e46cde0291f7aa9d91a8ddf1f5a3
[ "BSD-3-Clause" ]
10
2020-05-20T07:22:09.000Z
2021-07-19T03:52:13.000Z
atcoder/abc132A_fifty_fifty.py
uninhm/kyopro
bf6ed9cbf6a5e46cde0291f7aa9d91a8ddf1f5a3
[ "BSD-3-Clause" ]
14
2020-05-11T05:58:36.000Z
2021-12-07T03:20:43.000Z
# Vicfred # https://atcoder.jp/contests/abc132/tasks/abc132_a # implementation S = list(input()) if len(set(S)) == 2: if S.count(S[0]) == 2: print("Yes") quit() print("No")
16.25
51
0.574359
92d3126cd9f9279a6936076ceba3b9c4bff9aa48
11,146
py
Python
dabl/plot/tests/test_supervised.py
nrohan09-cloud/dabl
ebc4686c7b16c011bf5266cb6335221309aacb80
[ "BSD-3-Clause" ]
500
2019-04-01T13:50:18.000Z
2022-03-07T01:50:45.000Z
dabl/plot/tests/test_supervised.py
nrohan09-cloud/dabl
ebc4686c7b16c011bf5266cb6335221309aacb80
[ "BSD-3-Clause" ]
111
2019-04-01T17:48:40.000Z
2020-03-27T16:39:19.000Z
dabl/plot/tests/test_supervised.py
nrohan09-cloud/dabl
ebc4686c7b16c011bf5266cb6335221309aacb80
[ "BSD-3-Clause" ]
60
2019-04-01T14:58:35.000Z
2021-08-13T02:58:20.000Z
import pytest import numpy as np import pandas as pd import matplotlib.pyplot as plt import itertools from sklearn.datasets import (make_regression, make_blobs, load_digits, fetch_openml, load_diabetes) from sklearn.preprocessing import KBinsDiscretizer from dabl.preprocessing import cle...
35.610224
79
0.63386
92d3e306e086847f38535479f8de8893955d728c
4,480
py
Python
scripts/calculate_rank.py
daniel-theis/multicore-test-harness
d0ff54ef1c9f9637dd16dd8b85ac1cee8dc49e19
[ "MIT" ]
15
2018-05-06T20:54:41.000Z
2020-12-04T05:36:11.000Z
scripts/calculate_rank.py
daniel-theis/multicore-test-harness
d0ff54ef1c9f9637dd16dd8b85ac1cee8dc49e19
[ "MIT" ]
null
null
null
scripts/calculate_rank.py
daniel-theis/multicore-test-harness
d0ff54ef1c9f9637dd16dd8b85ac1cee8dc49e19
[ "MIT" ]
3
2020-12-04T05:36:13.000Z
2021-09-08T11:53:16.000Z
################################################################################ # Copyright (c) 2017 Dan Iorga, Tyler Sorenson, Alastair Donaldson # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the...
39.646018
107
0.579241
92d42a0f362d457b4431027767a7c26d248663c3
6,206
py
Python
contrib/antlrqueryparser/src/python/generate_asts.py
marblestation/montysolr
50917b4d53caac633fe9d1965f175401b3edc77d
[ "Apache-2.0" ]
24
2015-03-23T17:57:47.000Z
2021-11-01T17:08:58.000Z
contrib/antlrqueryparser/src/python/generate_asts.py
marblestation/montysolr
50917b4d53caac633fe9d1965f175401b3edc77d
[ "Apache-2.0" ]
138
2015-01-02T16:47:51.000Z
2022-02-26T02:44:07.000Z
contrib/antlrqueryparser/src/python/generate_asts.py
marblestation/montysolr
50917b4d53caac633fe9d1965f175401b3edc77d
[ "Apache-2.0" ]
10
2015-03-11T19:49:51.000Z
2020-12-09T09:22:02.000Z
import sys import subprocess as sub import os """ Simple utility script to generate HTML charts of how ANTLR parses every query and what is the resulting AST. """ if __name__ == '__main__': if len(sys.argv) == 1: sys.argv.insert(1, "StandardLuceneGrammar") run(*sys.argv[1:])
30.722772
144
0.496616
92d5a318d2e721b05edd8c4dc433e4875c24b448
6,318
py
Python
visual_perception/Detection/yolov4/__init__.py
SSusantAchary/Visual-Perception
b81ffe69ab85e9afb7ee6eece43ac83c8f292285
[ "MIT" ]
null
null
null
visual_perception/Detection/yolov4/__init__.py
SSusantAchary/Visual-Perception
b81ffe69ab85e9afb7ee6eece43ac83c8f292285
[ "MIT" ]
null
null
null
visual_perception/Detection/yolov4/__init__.py
SSusantAchary/Visual-Perception
b81ffe69ab85e9afb7ee6eece43ac83c8f292285
[ "MIT" ]
null
null
null
""" MIT License Copyright (c) 2020 Susant Achary <sache.meet@yahoo.com> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, ...
43.875
141
0.608895
92d6916cbd5aa31c26daff18d295d7d026f17d82
517
py
Python
server/mqtt/handler.py
rishab-rb/MyIOTMap
e27a73b58cd3a9aba558ebacfb2bf8b6ef4761aa
[ "MIT" ]
1
2018-10-08T06:11:20.000Z
2018-10-08T06:11:20.000Z
server/mqtt/handler.py
rishab-rb/MyIOTMap
e27a73b58cd3a9aba558ebacfb2bf8b6ef4761aa
[ "MIT" ]
null
null
null
server/mqtt/handler.py
rishab-rb/MyIOTMap
e27a73b58cd3a9aba558ebacfb2bf8b6ef4761aa
[ "MIT" ]
2
2018-07-30T08:18:22.000Z
2018-10-11T08:04:58.000Z
import paho.client as mqtt HOST = 'localhost' PORT = 1883
19.884615
61
0.609284
92d713c9c1666b57fdf260fc3597ec5bb433209c
1,886
py
Python
scripts/spacy_files/similarity_replacement.py
HighDeFing/thesis_v4
2dc9288af75a8b51fe54ed66f520e8aa8a0ab3c7
[ "Apache-2.0" ]
null
null
null
scripts/spacy_files/similarity_replacement.py
HighDeFing/thesis_v4
2dc9288af75a8b51fe54ed66f520e8aa8a0ab3c7
[ "Apache-2.0" ]
null
null
null
scripts/spacy_files/similarity_replacement.py
HighDeFing/thesis_v4
2dc9288af75a8b51fe54ed66f520e8aa8a0ab3c7
[ "Apache-2.0" ]
null
null
null
#!/bin/env python from black import main import spacy import json from spacy import displacy import unidecode import pandas as pd import numpy as np import os csv_source = "scripts/spacy_files/data/thesis_200_with_school.csv" df = pd.read_csv(csv_source) df = df[df['isScan']==False] df = df.sort_values('isScan', asce...
25.486486
83
0.718982
92d920562d22f1142cab1ea79e81051636bf317f
7,212
py
Python
test/unittest_base.py
dat-boris/tensorforce
d777121b1c971da5500572c5f83173b9229f7370
[ "Apache-2.0" ]
null
null
null
test/unittest_base.py
dat-boris/tensorforce
d777121b1c971da5500572c5f83173b9229f7370
[ "Apache-2.0" ]
null
null
null
test/unittest_base.py
dat-boris/tensorforce
d777121b1c971da5500572c5f83173b9229f7370
[ "Apache-2.0" ]
null
null
null
# Copyright 2018 Tensorforce Team. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable la...
35.880597
97
0.634498
92dadd375392924dd104471b2991098481772c78
132
py
Python
mspray/apps/reveal/__init__.py
onaio/mspray
b3e0f4b5855abbf0298de6b66f2e9f472f2bf838
[ "Apache-2.0" ]
null
null
null
mspray/apps/reveal/__init__.py
onaio/mspray
b3e0f4b5855abbf0298de6b66f2e9f472f2bf838
[ "Apache-2.0" ]
76
2018-03-15T09:37:56.000Z
2019-05-15T12:45:51.000Z
mspray/apps/reveal/__init__.py
onaio/mspray
b3e0f4b5855abbf0298de6b66f2e9f472f2bf838
[ "Apache-2.0" ]
1
2020-10-31T07:15:22.000Z
2020-10-31T07:15:22.000Z
"""init module for reveal app""" # pylint: disable=invalid-name default_app_config = "mspray.apps.reveal.apps.RevealConfig" # noqa
33
67
0.757576
92dbf0257f2cb3330104352818f4db40e27c4927
513
py
Python
guifw/models/port.py
luizerico/PyGuiFW
d79347db7d4bd9e09fbc53215d79c06ccf16bad5
[ "MIT" ]
1
2021-02-05T02:58:19.000Z
2021-02-05T02:58:19.000Z
guifw/models/port.py
luizerico/PyGuiFW
d79347db7d4bd9e09fbc53215d79c06ccf16bad5
[ "MIT" ]
1
2018-11-09T16:10:50.000Z
2018-11-09T16:10:50.000Z
guifw/models/port.py
luizerico/PyGuiFW
d79347db7d4bd9e09fbc53215d79c06ccf16bad5
[ "MIT" ]
null
null
null
from django.db import models from django import forms from audit_log.models.managers import AuditLog # Create your models here.
20.52
61
0.707602
92dc4e7fbdb299e18e1175c0718307d433b0cb15
386
py
Python
app/backend/arm/migrations/0002_auto_20190924_1712.py
karstenv/nmp-arm
47e45f0391820000f461ab6e994e20eacfffb457
[ "Apache-2.0" ]
2
2019-08-12T22:06:23.000Z
2019-10-22T20:50:32.000Z
app/backend/arm/migrations/0002_auto_20190924_1712.py
karstenv/nmp-arm
47e45f0391820000f461ab6e994e20eacfffb457
[ "Apache-2.0" ]
12
2019-07-10T18:11:31.000Z
2022-02-10T08:47:57.000Z
app/backend/arm/migrations/0002_auto_20190924_1712.py
karstenv/nmp-arm
47e45f0391820000f461ab6e994e20eacfffb457
[ "Apache-2.0" ]
6
2019-07-03T21:24:11.000Z
2021-04-29T17:31:34.000Z
# Generated by Django 2.2.5 on 2019-09-25 00:12 from django.db import migrations
19.3
48
0.546632
92dc54efa676f164aaadbce167924df2d1df95ab
7,112
py
Python
webcam_demo.py
taranek/tennis-stats-provider
e95093679a194d30d0727ec8e11d44fc462f6adc
[ "Apache-2.0" ]
null
null
null
webcam_demo.py
taranek/tennis-stats-provider
e95093679a194d30d0727ec8e11d44fc462f6adc
[ "Apache-2.0" ]
null
null
null
webcam_demo.py
taranek/tennis-stats-provider
e95093679a194d30d0727ec8e11d44fc462f6adc
[ "Apache-2.0" ]
null
null
null
import tensorflow as tf import json import math import cv2 import time import argparse import concurrent.futures import posenet import keyboard import sys import numpy as np from threading import Thread from slugify import slugify parser = argparse.ArgumentParser() parser.add_argument('--model', type=int, default=101)...
37.829787
137
0.564398
92df29892405e44dded087915f2a1792a9fb1160
6,265
py
Python
otcextensions/tests/unit/osclient/dcs/v1/fakes.py
zsoltn/python-otcextensions
4c0fa22f095ebd5f9636ae72acbae5048096822c
[ "Apache-2.0" ]
null
null
null
otcextensions/tests/unit/osclient/dcs/v1/fakes.py
zsoltn/python-otcextensions
4c0fa22f095ebd5f9636ae72acbae5048096822c
[ "Apache-2.0" ]
null
null
null
otcextensions/tests/unit/osclient/dcs/v1/fakes.py
zsoltn/python-otcextensions
4c0fa22f095ebd5f9636ae72acbae5048096822c
[ "Apache-2.0" ]
null
null
null
# Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distrib...
36.005747
77
0.555148
92df7af4ff3a17d2d4ea5d2cff4ae315569f3502
830
py
Python
tests/dummy_repo/tvm/python/tvm/api.py
csullivan/ffi-navigator
ed47678f9cb8c6d3637bf3219d3cf7b2754b84bb
[ "Apache-2.0" ]
148
2019-12-28T19:02:17.000Z
2022-03-27T07:30:13.000Z
tests/dummy_repo/tvm/python/tvm/api.py
csullivan/ffi-navigator
ed47678f9cb8c6d3637bf3219d3cf7b2754b84bb
[ "Apache-2.0" ]
21
2019-12-28T17:29:24.000Z
2021-11-24T09:59:35.000Z
tests/dummy_repo/tvm/python/tvm/api.py
csullivan/ffi-navigator
ed47678f9cb8c6d3637bf3219d3cf7b2754b84bb
[ "Apache-2.0" ]
17
2019-12-29T01:46:13.000Z
2022-01-10T09:56:46.000Z
from ._ffi.base import string_types from ._ffi.object import register_object, Object from ._ffi.node import register_node, NodeBase from ._ffi.node import convert_to_node as _convert_to_node from ._ffi.node_generic import _scalar_type_inference from ._ffi.function import Function from ._ffi.function import _init_api, r...
31.923077
87
0.812048
92dfa8870f87fbcfb31691bd442140d0c802358d
4,121
py
Python
torchattacks/attacks/multiattack.py
Harry24k/adversarial-attacks-pytorch
bfa2aa8d6f0c3b8086718f9f31526fcafa6995bb
[ "MIT" ]
782
2020-03-28T01:56:36.000Z
2022-03-31T14:54:02.000Z
torchattacks/attacks/multiattack.py
Harry24k/adversarial-attacks-pytorch
bfa2aa8d6f0c3b8086718f9f31526fcafa6995bb
[ "MIT" ]
48
2020-04-18T23:06:30.000Z
2022-03-24T01:54:50.000Z
torchattacks/attacks/multiattack.py
Harry24k/adversarial-attacks-pytorch
bfa2aa8d6f0c3b8086718f9f31526fcafa6995bb
[ "MIT" ]
197
2020-03-31T05:21:02.000Z
2022-03-31T15:24:29.000Z
import copy import torch from ..attack import Attack
33.778689
108
0.626062
92e0877363cacd633cbbf12e0ee4175cb9564598
2,627
py
Python
src/manager/om/script/gspylib/inspection/items/os/CheckPortConflict.py
wotchin/openGauss-server
ebd92e92b0cfd76b121d98e4c57a22d334573159
[ "MulanPSL-1.0" ]
1
2020-06-30T15:00:50.000Z
2020-06-30T15:00:50.000Z
src/manager/om/script/gspylib/inspection/items/os/CheckPortConflict.py
wotchin/openGauss-server
ebd92e92b0cfd76b121d98e4c57a22d334573159
[ "MulanPSL-1.0" ]
null
null
null
src/manager/om/script/gspylib/inspection/items/os/CheckPortConflict.py
wotchin/openGauss-server
ebd92e92b0cfd76b121d98e4c57a22d334573159
[ "MulanPSL-1.0" ]
null
null
null
# -*- coding:utf-8 -*- # Copyright (c) 2020 Huawei Technologies Co.,Ltd. # # openGauss is licensed under Mulan PSL v2. # You can use this software according to the terms # and conditions of the Mulan PSL v2. # You may obtain a copy of Mulan PSL v2 at: # # http://license.coscl.org.cn/MulanPSL2 # # THIS SOFTWARE...
39.80303
79
0.53445
92e16c1fa8d877e82eb805100d17b73907afb25e
646
py
Python
_scripts/_build.py
dfreeman06/wxyz
663cf6593f4c0ca12f7b94b61e34c0a8d3cbcdfd
[ "BSD-3-Clause" ]
1
2021-06-20T12:21:27.000Z
2021-06-20T12:21:27.000Z
_scripts/_build.py
nrbgt/wxyz
663cf6593f4c0ca12f7b94b61e34c0a8d3cbcdfd
[ "BSD-3-Clause" ]
null
null
null
_scripts/_build.py
nrbgt/wxyz
663cf6593f4c0ca12f7b94b61e34c0a8d3cbcdfd
[ "BSD-3-Clause" ]
null
null
null
import subprocess import sys from . import ROOT, PY_SRC, _run, PY, DIST CONDA_ORDER = [ "core", "html", "lab", "datagrid", "svg", "tpl-jjinja" "yaml" ] CONDA_BUILD_ARGS = [ "conda-build", "-c", "conda-forge", "--output-folder", DIST / "conda-bld", ] if __name__ == "__main__": f...
20.83871
83
0.560372
92e1c91fec4c34f39e9e2622024fad4489b61749
5,279
py
Python
scripts/C189/C189Checkin.py
xiaopowanyi/py_scripts
29f240800eefd6e0f91fd098c35ac3c451172ff8
[ "MIT" ]
2
2020-11-14T05:42:49.000Z
2020-11-14T05:43:13.000Z
scripts/C189/C189Checkin.py
J220541674/py_scripts
2b72e23041392a2e5f0a7305d7e9802054978384
[ "MIT" ]
null
null
null
scripts/C189/C189Checkin.py
J220541674/py_scripts
2b72e23041392a2e5f0a7305d7e9802054978384
[ "MIT" ]
null
null
null
import requests, time, re, rsa, json, base64 from urllib import parse s = requests.Session() username = "" password = "" if(username == "" or password == ""): username = input("") password = input("") BI_RM = list("0123456789abcdefghijklmnopqrstuvwxyz") b64map = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopq...
37.707143
305
0.586664
92e2096dcbe8b31e8b6213b7078b62e4efd23dd0
3,318
py
Python
Mmint/CGratio.py
lijiacd985/Mplot
adea07aa78a5495cf3551618f6ec2c08fa7c1029
[ "MIT" ]
5
2018-07-02T16:33:23.000Z
2021-03-23T00:32:31.000Z
Mmint/CGratio.py
lijiacd985/Mplot
adea07aa78a5495cf3551618f6ec2c08fa7c1029
[ "MIT" ]
1
2017-09-19T19:46:11.000Z
2020-02-28T05:00:49.000Z
Mmint/CGratio.py
lijiacd985/Mplot
adea07aa78a5495cf3551618f6ec2c08fa7c1029
[ "MIT" ]
4
2017-11-16T15:26:24.000Z
2020-02-13T16:25:25.000Z
import subprocess from .Genome_fasta import get_fasta import matplotlib matplotlib.use('Agg') from matplotlib import pyplot as plt import numpy as np import pysam if __name__=="__main__": import argparse parser = argparse.ArgumentParser() parser.add_argument('-b','--bamfile',help="bam file name", metavar="...
33.857143
177
0.589813
92e278de46c7d8190178a6e51a0f4e234995f14e
1,536
py
Python
src/furo/__init__.py
sethmlarson/furo
1257d884dae9040248380595e06d7d2a1e6eba39
[ "MIT" ]
null
null
null
src/furo/__init__.py
sethmlarson/furo
1257d884dae9040248380595e06d7d2a1e6eba39
[ "MIT" ]
null
null
null
src/furo/__init__.py
sethmlarson/furo
1257d884dae9040248380595e06d7d2a1e6eba39
[ "MIT" ]
null
null
null
"""A clean customisable Sphinx documentation theme.""" __version__ = "2020.9.8.beta2" from pathlib import Path from .body import wrap_tables from .code import get_pygments_style_colors from .navigation import get_navigation_tree from .toc import should_hide_toc def setup(app): """Entry point for sphinx themin...
32
73
0.69401
92e3577604795bc43851e0afe7af80fe0fe26bbf
2,059
py
Python
experiments/mix_down.py
fretboardfreak/potty_oh
70b752c719576c0975e1d2af5aca2fc7abc8abcc
[ "Apache-2.0" ]
null
null
null
experiments/mix_down.py
fretboardfreak/potty_oh
70b752c719576c0975e1d2af5aca2fc7abc8abcc
[ "Apache-2.0" ]
1
2016-05-04T03:51:36.000Z
2016-05-16T19:08:02.000Z
experiments/mix_down.py
fretboardfreak/potty_oh
70b752c719576c0975e1d2af5aca2fc7abc8abcc
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 # Copyright 2016 Curtis Sand # # 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 la...
34.898305
78
0.736765
92e37ec4545956a8e8242b1871fea16288a1a867
8,704
py
Python
tests/test_hrepr.py
fabaff/hrepr
f6de915f1d34c47ceab11f5f70e433a30e6de174
[ "MIT" ]
null
null
null
tests/test_hrepr.py
fabaff/hrepr
f6de915f1d34c47ceab11f5f70e433a30e6de174
[ "MIT" ]
null
null
null
tests/test_hrepr.py
fabaff/hrepr
f6de915f1d34c47ceab11f5f70e433a30e6de174
[ "MIT" ]
null
null
null
from dataclasses import dataclass from hrepr import H from hrepr import hrepr as real_hrepr from hrepr.h import styledir from .common import one_test_per_assert css_hrepr = open(f"{styledir}/hrepr.css", encoding="utf-8").read() hrepr = real_hrepr.variant(fill_resources=False) def hshort(x, **kw): return hrep...
29.110368
79
0.443934
92e459320d22b81d1d537a46bdb22eb8751da72d
6,218
py
Python
sympy/assumptions/assume.py
shivangdubey/sympy
bd3ddd4c71d439c8b623f69a02274dd8a8a82198
[ "BSD-3-Clause" ]
2
2020-07-27T16:36:27.000Z
2020-12-29T22:28:37.000Z
sympy/assumptions/assume.py
shivangdubey/sympy
bd3ddd4c71d439c8b623f69a02274dd8a8a82198
[ "BSD-3-Clause" ]
2
2020-08-18T15:21:59.000Z
2020-08-18T19:35:29.000Z
sympy/assumptions/assume.py
shivangdubey/sympy
bd3ddd4c71d439c8b623f69a02274dd8a8a82198
[ "BSD-3-Clause" ]
2
2021-01-08T23:03:23.000Z
2021-01-13T18:57:02.000Z
import inspect from sympy.core.cache import cacheit from sympy.core.singleton import S from sympy.core.sympify import _sympify from sympy.logic.boolalg import Boolean from sympy.utilities.source import get_class from contextlib import contextmanager global_assumptions = AssumptionsContext()
26.686695
81
0.587488
92e5ae34177c1ed1dca21481a52e063cdd40f997
5,794
py
Python
distancematrix/tests/consumer/test_distance_matrix.py
IDLabResearch/seriesdistancematrix
c0e666d036f24184511e766cee9fdfa55f41df97
[ "MIT" ]
12
2019-11-22T14:34:51.000Z
2021-05-04T19:23:55.000Z
distancematrix/tests/consumer/test_distance_matrix.py
predict-idlab/seriesdistancematrix
c0e666d036f24184511e766cee9fdfa55f41df97
[ "MIT" ]
1
2020-04-28T07:59:03.000Z
2020-04-28T07:59:03.000Z
distancematrix/tests/consumer/test_distance_matrix.py
IDLabResearch/seriesdistancematrix
c0e666d036f24184511e766cee9fdfa55f41df97
[ "MIT" ]
3
2020-03-02T12:39:00.000Z
2021-03-22T13:36:25.000Z
import numpy as np from unittest import TestCase import numpy.testing as npt from distancematrix.util import diag_indices_of from distancematrix.consumer.distance_matrix import DistanceMatrix
42.602941
104
0.608733
92e5bc0e9b68f032b202632a0013f3e6bb85256a
11,460
py
Python
supervisor/const.py
peddamat/home-assistant-supervisor-test
5da55772bcb2db3c6d8432cbc08e2ac9fbf480c4
[ "Apache-2.0" ]
null
null
null
supervisor/const.py
peddamat/home-assistant-supervisor-test
5da55772bcb2db3c6d8432cbc08e2ac9fbf480c4
[ "Apache-2.0" ]
null
null
null
supervisor/const.py
peddamat/home-assistant-supervisor-test
5da55772bcb2db3c6d8432cbc08e2ac9fbf480c4
[ "Apache-2.0" ]
null
null
null
"""Constants file for Supervisor.""" from enum import Enum from ipaddress import ip_network from pathlib import Path SUPERVISOR_VERSION = "DEV" URL_HASSIO_ADDONS = "https://github.com/home-assistant/addons" URL_HASSIO_APPARMOR = "https://version.home-assistant.io/apparmor.txt" URL_HASSIO_VERSION = "https://version.ho...
25.986395
84
0.755585
92e5e938e0e0af1229cd08971df68b5917c123c7
8,334
py
Python
quaesit/agent.py
jgregoriods/quaesit
3846f5084ea4d6c1cbd9a93176ee9dee25e12105
[ "MIT" ]
null
null
null
quaesit/agent.py
jgregoriods/quaesit
3846f5084ea4d6c1cbd9a93176ee9dee25e12105
[ "MIT" ]
null
null
null
quaesit/agent.py
jgregoriods/quaesit
3846f5084ea4d6c1cbd9a93176ee9dee25e12105
[ "MIT" ]
null
null
null
import inspect from math import hypot, sin, asin, cos, radians, degrees from abc import ABCMeta, abstractmethod from random import randint, choice from typing import Dict, List, Tuple, Union
35.016807
76
0.517639
92e5fb97c8f7793e1b150c9be5289156548c78e6
15,337
py
Python
models/LRF_COCO_300.py
vaesl/LRF-Net
e44b120dd55288c02852f8e58cda31313525d748
[ "MIT" ]
180
2019-10-24T01:55:54.000Z
2022-02-07T11:26:49.000Z
models/LRF_COCO_300.py
CV-Rookie/LRF-Net
e44b120dd55288c02852f8e58cda31313525d748
[ "MIT" ]
11
2019-11-06T08:46:00.000Z
2020-06-20T02:30:32.000Z
models/LRF_COCO_300.py
CV-Rookie/LRF-Net
e44b120dd55288c02852f8e58cda31313525d748
[ "MIT" ]
29
2019-10-28T03:26:27.000Z
2021-05-03T02:32:06.000Z
import torch import torch.nn as nn import os import torch.nn.functional as F def vgg(cfg, i, batch_norm=False): layers = [] in_channels = i for v in cfg: if v == 'M': layers += [nn.MaxPool2d(kernel_size=2, stride=2)] elif v == 'C': layers += [nn.MaxPool2d(k...
36.516667
154
0.579774
92e751e7128a30f8b366e1182af0f9e14b4591cd
25,418
py
Python
tests/test.py
chromia/wandplus
815127aeee85dbac3bc8fca35971d2153b1898a9
[ "ImageMagick", "MIT" ]
null
null
null
tests/test.py
chromia/wandplus
815127aeee85dbac3bc8fca35971d2153b1898a9
[ "ImageMagick", "MIT" ]
null
null
null
tests/test.py
chromia/wandplus
815127aeee85dbac3bc8fca35971d2153b1898a9
[ "ImageMagick", "MIT" ]
null
null
null
#!/usr/bin/env python from wand.image import Image from wand.drawing import Drawing from wand.color import Color import wandplus.image as wpi from wandplus.textutil import calcSuitableFontsize, calcSuitableImagesize import os import unittest tmpdir = '_tmp/' class CheckTextUtil(unittest.TestCase): if __name__ ...
29.487239
81
0.464395
92e78a29e0f69d74c35aa00744e686a1763079d2
7,652
py
Python
src/librender/tests/test_mesh.py
tizian/layer-laboratory
008cc94b76127e9eb74227fcd3d0145da8ddec30
[ "CNRI-Python" ]
7
2020-07-24T03:19:59.000Z
2022-03-30T10:56:12.000Z
src/librender/tests/test_mesh.py
tizian/layer-laboratory
008cc94b76127e9eb74227fcd3d0145da8ddec30
[ "CNRI-Python" ]
1
2021-04-07T22:30:23.000Z
2021-04-08T00:55:36.000Z
src/librender/tests/test_mesh.py
tizian/layer-laboratory
008cc94b76127e9eb74227fcd3d0145da8ddec30
[ "CNRI-Python" ]
2
2020-06-08T08:25:09.000Z
2021-04-05T22:13:08.000Z
import mitsuba import pytest import enoki as ek from enoki.dynamic import Float32 as Float from mitsuba.python.test.util import fresolver_append_path from mitsuba.python.util import traverse def test04_normal_weighting_scheme(variant_scalar_rgb): from mitsuba.core import Struct, float_dtype, Vector3f from...
32.561702
93
0.611997
92e9c5118907200831bee6234267cd344285472f
1,457
py
Python
agsadmin/sharing_admin/community/groups/Group.py
christopherblanchfield/agsadmin
989cb3795aacf285ccf74ee51b0de26bf2f48bc3
[ "BSD-3-Clause" ]
2
2015-12-07T05:53:29.000Z
2020-09-13T18:12:15.000Z
agsadmin/sharing_admin/community/groups/Group.py
christopherblanchfield/agsadmin
989cb3795aacf285ccf74ee51b0de26bf2f48bc3
[ "BSD-3-Clause" ]
4
2015-03-09T05:59:14.000Z
2018-01-09T00:12:56.000Z
agsadmin/sharing_admin/community/groups/Group.py
christopherblanchfield/agsadmin
989cb3795aacf285ccf74ee51b0de26bf2f48bc3
[ "BSD-3-Clause" ]
5
2015-03-09T01:05:24.000Z
2019-09-09T23:01:21.000Z
from __future__ import (absolute_import, division, print_function, unicode_literals) from builtins import (ascii, bytes, chr, dict, filter, hex, input, int, map, next, oct, open, pow, range, round, str, super, zip) from ...._utils import send_session_request from ..._PortalEndpointBase import Por...
33.883721
117
0.683596
92ea3eda1c775e0583e47210352c08da3ae6793c
3,995
py
Python
amy/workshops/migrations/0191_auto_20190809_0936.py
code-review-doctor/amy
268c1a199510457891459f3ddd73fcce7fe2b974
[ "MIT" ]
53
2015-01-10T17:39:19.000Z
2019-06-12T17:36:34.000Z
amy/workshops/migrations/0191_auto_20190809_0936.py
code-review-doctor/amy
268c1a199510457891459f3ddd73fcce7fe2b974
[ "MIT" ]
1,176
2015-01-02T06:32:47.000Z
2019-06-18T11:57:47.000Z
amy/workshops/migrations/0191_auto_20190809_0936.py
code-review-doctor/amy
268c1a199510457891459f3ddd73fcce7fe2b974
[ "MIT" ]
44
2015-01-03T15:08:56.000Z
2019-06-09T05:33:08.000Z
# Generated by Django 2.1.7 on 2019-08-09 09:36 from django.db import migrations, models def migrate_public_event(apps, schema_editor): """Migrate options previously with no contents (displayed as "Other:") to a new contents ("other"). The field containing these options is in CommonRequest abstract model...
71.339286
949
0.702378
92ec1a79aa56994e71f763b1fea1ca3f88478806
1,278
py
Python
pix2pix/Discriminator.py
yubin1219/GAN
8345095f9816e548c968492efbe92b427b0e06a3
[ "MIT" ]
null
null
null
pix2pix/Discriminator.py
yubin1219/GAN
8345095f9816e548c968492efbe92b427b0e06a3
[ "MIT" ]
null
null
null
pix2pix/Discriminator.py
yubin1219/GAN
8345095f9816e548c968492efbe92b427b0e06a3
[ "MIT" ]
1
2021-09-17T01:28:50.000Z
2021-09-17T01:28:50.000Z
import torch import torch.nn as nn
29.045455
86
0.58216
92ec31910f4ccb9a9e9fdaf1976491caf430c06d
1,067
py
Python
tests/slicebuilders/subpopulations/test_length.py
ANarayan/robustness-gym
eed2800985631fbbe6491b5f6f0731a067eef78e
[ "Apache-2.0" ]
null
null
null
tests/slicebuilders/subpopulations/test_length.py
ANarayan/robustness-gym
eed2800985631fbbe6491b5f6f0731a067eef78e
[ "Apache-2.0" ]
null
null
null
tests/slicebuilders/subpopulations/test_length.py
ANarayan/robustness-gym
eed2800985631fbbe6491b5f6f0731a067eef78e
[ "Apache-2.0" ]
null
null
null
from unittest import TestCase import numpy as np from robustnessgym.cachedops.spacy import Spacy from robustnessgym.slicebuilders.subpopulations.length import LengthSubpopulation from tests.testbeds import MockTestBedv0
34.419355
81
0.686036
92eca5c1a6337291d863c933685487ea52da0c9b
1,146
py
Python
pulsar_spectra/catalogue_papers/Jankowski_2018_raw_to_yaml.py
NickSwainston/pulsar_spectra
b264aab3f8fc1bb3cad14ef1b93cab519ed5bc69
[ "MIT" ]
null
null
null
pulsar_spectra/catalogue_papers/Jankowski_2018_raw_to_yaml.py
NickSwainston/pulsar_spectra
b264aab3f8fc1bb3cad14ef1b93cab519ed5bc69
[ "MIT" ]
4
2021-12-17T04:24:13.000Z
2022-02-24T14:51:18.000Z
pulsar_spectra/catalogue_papers/Jankowski_2018_raw_to_yaml.py
NickSwainston/pulsar_spectra
b264aab3f8fc1bb3cad14ef1b93cab519ed5bc69
[ "MIT" ]
null
null
null
import json from astroquery.vizier import Vizier with open("Jankowski_2018_raw.txt", "r") as raw_file: lines = raw_file.readlines() print(lines) pulsar_dict = {} for row in lines[3:]: row = row.split("|") print(row) pulsar = row[0].strip().replace("", "-") freqs = [] fluxs = [] flux_er...
34.727273
111
0.604712
92ee36608ac8edb00b879a89f8f1eafb4cb4fb04
15,018
py
Python
integration-tests/run-intg-test.py
NishikaDeSilva/identity-test-integration
dbd1db07aa6d4f4942d772cd56c0b06c355bd43b
[ "Apache-2.0" ]
4
2017-10-23T05:25:27.000Z
2018-01-10T08:00:14.000Z
integration-tests/run-intg-test.py
NishikaDeSilva/identity-test-integration
dbd1db07aa6d4f4942d772cd56c0b06c355bd43b
[ "Apache-2.0" ]
42
2018-05-21T12:55:49.000Z
2020-01-17T06:40:25.000Z
integration-tests/run-intg-test.py
NishikaDeSilva/identity-test-integration
dbd1db07aa6d4f4942d772cd56c0b06c355bd43b
[ "Apache-2.0" ]
46
2017-10-04T05:45:52.000Z
2018-05-05T14:32:26.000Z
# Copyright (c) 2018, WSO2 Inc. (http://wso2.com) All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by ap...
46.639752
127
0.671195
92eed01036cb07058175a69126f2f5a418891a9a
2,376
py
Python
src/pytest_notification/sound.py
rhpvorderman/pytest-notification
3f322ab04914f52525e1b07bc80537d5f9a00250
[ "MIT" ]
2
2020-08-27T03:14:05.000Z
2020-10-24T17:17:36.000Z
src/pytest_notification/sound.py
rhpvorderman/pytest-notification
3f322ab04914f52525e1b07bc80537d5f9a00250
[ "MIT" ]
5
2019-12-02T08:49:15.000Z
2020-06-22T08:38:34.000Z
src/pytest_notification/sound.py
rhpvorderman/pytest-notification
3f322ab04914f52525e1b07bc80537d5f9a00250
[ "MIT" ]
null
null
null
# Copyright (c) 2019 Leiden University Medical Center # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, me...
43.2
79
0.731481
92ef37eb449c4f50b5c90c7a720a5f53652a647c
420
py
Python
7KYU/next_prime.py
yaznasivasai/python_codewars
25493591dde4649dc9c1ec3bece8191a3bed6818
[ "MIT" ]
4
2021-07-17T22:48:03.000Z
2022-03-25T14:10:58.000Z
7KYU/next_prime.py
yaznasivasai/python_codewars
25493591dde4649dc9c1ec3bece8191a3bed6818
[ "MIT" ]
null
null
null
7KYU/next_prime.py
yaznasivasai/python_codewars
25493591dde4649dc9c1ec3bece8191a3bed6818
[ "MIT" ]
3
2021-06-14T14:18:16.000Z
2022-03-16T06:02:02.000Z
from math import sqrt
20
44
0.435714
92ef91238a4d28bed6389f80b7547828e84737ba
6,622
py
Python
cozmo_sdk_examples/if_this_then_that/ifttt_gmail.py
manxueitp/cozmo-test
a91b1a4020544cb622bd67385f317931c095d2e8
[ "MIT" ]
null
null
null
cozmo_sdk_examples/if_this_then_that/ifttt_gmail.py
manxueitp/cozmo-test
a91b1a4020544cb622bd67385f317931c095d2e8
[ "MIT" ]
null
null
null
cozmo_sdk_examples/if_this_then_that/ifttt_gmail.py
manxueitp/cozmo-test
a91b1a4020544cb622bd67385f317931c095d2e8
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # Copyright (c) 2016 Anki, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License in the file LICENSE.txt or at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unles...
41.3875
105
0.67457
92f0c7d812707a316f1c04c4ec3e35722444b8b5
13,843
py
Python
plotutils.py
parkus/mypy
21043c559dca14abe7508e0f6b2f8053bf376bb8
[ "MIT" ]
1
2015-11-06T06:27:59.000Z
2015-11-06T06:27:59.000Z
plotutils.py
parkus/mypy
21043c559dca14abe7508e0f6b2f8053bf376bb8
[ "MIT" ]
null
null
null
plotutils.py
parkus/mypy
21043c559dca14abe7508e0f6b2f8053bf376bb8
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Fri May 30 17:15:27 2014 @author: Parke """ from __future__ import division, print_function, absolute_import import numpy as np import matplotlib as mplot import matplotlib.pyplot as plt import mypy.my_numpy as mnp dpi = 100 fullwidth = 10.0 halfwidth = 5.0 # use these with li...
31.461364
117
0.582388