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
3f042a0420967f88675a79d4f9cf3ecb5cca91b8
1,947
py
Python
vega/trainer/callbacks/horovod.py
zjzh/vega
aa6e7b8c69024262fc483ee06113b4d1bd5156d8
[ "Apache-2.0" ]
null
null
null
vega/trainer/callbacks/horovod.py
zjzh/vega
aa6e7b8c69024262fc483ee06113b4d1bd5156d8
[ "Apache-2.0" ]
null
null
null
vega/trainer/callbacks/horovod.py
zjzh/vega
aa6e7b8c69024262fc483ee06113b4d1bd5156d8
[ "Apache-2.0" ]
null
null
null
# -*- coding:utf-8 -*- # Copyright (C) 2020. Huawei Technologies Co., Ltd. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE...
33.568966
78
0.698511
3f0440a332e725d1be2b9f4d8bf41ca99082b5e6
5,580
py
Python
parse_doc.py
nprapps/idp-georgia
316eba6195b7f410567a7e11eb4811ff7cba54cc
[ "Unlicense" ]
1
2017-04-15T01:48:27.000Z
2017-04-15T01:48:27.000Z
parse_doc.py
nprapps/idp-georgia
316eba6195b7f410567a7e11eb4811ff7cba54cc
[ "Unlicense" ]
153
2017-04-14T18:06:26.000Z
2017-06-02T13:08:09.000Z
parse_doc.py
nprapps/idp-georgia
316eba6195b7f410567a7e11eb4811ff7cba54cc
[ "Unlicense" ]
1
2021-02-18T11:15:52.000Z
2021-02-18T11:15:52.000Z
# _*_ coding:utf-8 _*_ import logging import re import app_config from bs4 import BeautifulSoup from shortcode import process_shortcode logging.basicConfig(format=app_config.LOG_FORMAT) logger = logging.getLogger(__name__) logger.setLevel(app_config.LOG_LEVEL) end_doc_regex = re.compile(ur'^\s*[Ee][Nn][Dd]\s*$', ...
28.040201
78
0.58405
3f04bc07d2d8f73a71534912779c419ef2aa5148
2,162
py
Python
01_irc_bot/bot.py
pymug/ARJ_SpoonfeedingSockets_APR2021
ba741d4fbde11f8ab4ddda704340ab5892c19478
[ "MIT" ]
null
null
null
01_irc_bot/bot.py
pymug/ARJ_SpoonfeedingSockets_APR2021
ba741d4fbde11f8ab4ddda704340ab5892c19478
[ "MIT" ]
null
null
null
01_irc_bot/bot.py
pymug/ARJ_SpoonfeedingSockets_APR2021
ba741d4fbde11f8ab4ddda704340ab5892c19478
[ "MIT" ]
null
null
null
""" Abdur-Rahmaan Janhangeer Skeleton of https://github.com/pyhoneybot/honeybot/ """ import time import os import socket directory = "irc" if not os.path.exists(directory): os.makedirs(directory) target = open(os.path.join(directory, "log.txt"), "w") BOT_IRC_SERVER = "chat.freenode.net" BOT_IRC_CHANNEL = "##b...
25.738095
93
0.623497
3f05790f911b335d2d94be5f242d22af72e43329
5,494
py
Python
xenia_python_client_library/models/attachments_list.py
DutchAnalytics/xenia-python-client-library
60dc3e21094086124b552ff5bed5895fee826b57
[ "Apache-2.0" ]
null
null
null
xenia_python_client_library/models/attachments_list.py
DutchAnalytics/xenia-python-client-library
60dc3e21094086124b552ff5bed5895fee826b57
[ "Apache-2.0" ]
null
null
null
xenia_python_client_library/models/attachments_list.py
DutchAnalytics/xenia-python-client-library
60dc3e21094086124b552ff5bed5895fee826b57
[ "Apache-2.0" ]
null
null
null
# coding: utf-8 """ Xenia Python Client Library Python Client Library to interact with the Xenia API. # noqa: E501 The version of the OpenAPI document: v2.1 Generated by: https://openapi-generator.tech """ import pprint import re # noqa: F401 import six from xenia_python_client_library.configur...
27.60804
132
0.59028
3f05ec3f00a5d7d90f5ef0232521b059bc84d999
672
py
Python
src/AuShadha/registry/icd10/aushadha.py
GosthMan/AuShadha
3ab48825a0dba19bf880b6ac6141ab7a6adf1f3e
[ "PostgreSQL" ]
46
2015-03-04T14:19:47.000Z
2021-12-09T02:58:46.000Z
src/AuShadha/registry/icd10/aushadha.py
aytida23/AuShadha
3ab48825a0dba19bf880b6ac6141ab7a6adf1f3e
[ "PostgreSQL" ]
2
2015-06-05T10:29:04.000Z
2015-12-06T16:54:10.000Z
src/AuShadha/registry/icd10/aushadha.py
aytida23/AuShadha
3ab48825a0dba19bf880b6ac6141ab7a6adf1f3e
[ "PostgreSQL" ]
24
2015-03-23T01:38:11.000Z
2022-01-24T16:23:42.000Z
################################################################################ # Create a Registration with the UI for a Role. # Each module's aushadha.py is screened for this # # Each Class is registered for a Role in UI # These can be used to generate Role based UI elements later. # # As of now string base role...
37.333333
80
0.577381
3f075c7ec34c5ad02a052b425ce2675ad65347ca
973
py
Python
Etap 2/Logia03/Zad1.py
aszokalski/Logia
5e29745b01623df8a2f162f143656a76056af407
[ "MIT" ]
null
null
null
Etap 2/Logia03/Zad1.py
aszokalski/Logia
5e29745b01623df8a2f162f143656a76056af407
[ "MIT" ]
null
null
null
Etap 2/Logia03/Zad1.py
aszokalski/Logia
5e29745b01623df8a2f162f143656a76056af407
[ "MIT" ]
null
null
null
from turtle import *
20.702128
45
0.42446
3f07c6d2135990949504b1e72bbaec00f43feafb
616
py
Python
server/src/models/movie.py
Rubilmax/netflux
9e79063b81e3dc78055fc683c230de511827f030
[ "MIT" ]
2
2019-06-17T08:28:03.000Z
2019-06-17T08:28:32.000Z
server/src/models/movie.py
Rubilmax/netflux
9e79063b81e3dc78055fc683c230de511827f030
[ "MIT" ]
3
2020-09-05T00:54:20.000Z
2021-05-07T15:34:58.000Z
server/src/models/movie.py
Rubilmax/netflux
9e79063b81e3dc78055fc683c230de511827f030
[ "MIT" ]
null
null
null
""" Define the Movie model """ from . import db from .abc import BaseModel, MetaBaseModel
25.666667
62
0.657468
3f07dc93b37cf1bf8c17deb226c77fdb8cc21bba
17,963
py
Python
wmt-shared-task/segment-level/segment_level_prism.py
chryssa-zrv/UA_COMET
527e7c86bd0a0d8ff90efda58e820108a5666b92
[ "Apache-2.0" ]
null
null
null
wmt-shared-task/segment-level/segment_level_prism.py
chryssa-zrv/UA_COMET
527e7c86bd0a0d8ff90efda58e820108a5666b92
[ "Apache-2.0" ]
null
null
null
wmt-shared-task/segment-level/segment_level_prism.py
chryssa-zrv/UA_COMET
527e7c86bd0a0d8ff90efda58e820108a5666b92
[ "Apache-2.0" ]
null
null
null
f""" Shell script tho reproduce results for BERTScores in data from WMT18/19 Metrics Shared task. """ import argparse import hashlib import logging import os import sys from typing import Any, Dict, Iterator, List import numpy as np import pandas as pd import sentencepiece as spm import torch from tqdm import tqdm fr...
40.006682
137
0.571341
3f090c825452547dfa25b58d3c0bf2f6280faf90
826
py
Python
source_code/3-2-download.py
VickyMin1994/easy-scraping-tutorial
75b7ffc79da397afa95342022c29cd72520f155f
[ "MIT" ]
708
2017-12-29T05:32:34.000Z
2022-03-25T14:29:05.000Z
source_code/3-2-download.py
VickyMin1994/easy-scraping-tutorial
75b7ffc79da397afa95342022c29cd72520f155f
[ "MIT" ]
6
2018-01-06T07:58:31.000Z
2020-10-26T15:57:46.000Z
source_code/3-2-download.py
VickyMin1994/easy-scraping-tutorial
75b7ffc79da397afa95342022c29cd72520f155f
[ "MIT" ]
609
2017-12-29T10:04:20.000Z
2022-03-23T18:32:37.000Z
import os os.makedirs('./img/', exist_ok=True) IMAGE_URL = "https://mofanpy.com/static/img/description/learning_step_flowchart.png" urllib_download() print('download image1') request_download() print('download image2') chunk_download() print('download image3')
23.6
84
0.670702
3f09b543086a1b61bb8cf4a38db61dcd67d88667
5,787
py
Python
flare_classifier/cnn.py
Wingham1/hessidf
18e63e25f9989565f1f361458f7ff8e53f4579e9
[ "Unlicense" ]
null
null
null
flare_classifier/cnn.py
Wingham1/hessidf
18e63e25f9989565f1f361458f7ff8e53f4579e9
[ "Unlicense" ]
14
2020-01-28T23:15:48.000Z
2022-03-12T00:12:36.000Z
flare_classifier/cnn.py
Wingham1/hessidf
18e63e25f9989565f1f361458f7ff8e53f4579e9
[ "Unlicense" ]
null
null
null
from tensorflow.keras import Sequential from tensorflow.keras.layers import Conv2D, Flatten, Dense, Dropout import tensorflow.keras as keras import os import cv2 import numpy as np from sklearn.model_selection import train_test_split def data_prep(path, img_rows, img_cols, color): """ A function to preprocess ...
44.515385
155
0.683428
3f0acb5cf9be9113370cabc267dfa5dafd6e50f5
895
py
Python
survol/sources_types/oracle/library/__init__.py
AugustinMascarelli/survol
7a822900e82d1e6f016dba014af5741558b78f15
[ "BSD-3-Clause" ]
null
null
null
survol/sources_types/oracle/library/__init__.py
AugustinMascarelli/survol
7a822900e82d1e6f016dba014af5741558b78f15
[ "BSD-3-Clause" ]
null
null
null
survol/sources_types/oracle/library/__init__.py
AugustinMascarelli/survol
7a822900e82d1e6f016dba014af5741558b78f15
[ "BSD-3-Clause" ]
null
null
null
""" Oracle library """ import lib_common from lib_properties import pc # Ambiguity with tables, oracle or normal users.
28.870968
128
0.750838
3f0adc8f234944eb3b185c95906a510034084c0d
4,104
py
Python
src/train.py
rnagumo/dgm_vae
ea9e1a39f0018c9ed55f13f0b88f4afc4657d7e4
[ "MIT" ]
5
2020-05-27T02:28:32.000Z
2021-03-27T08:07:50.000Z
src/train.py
rnagumo/dgmvae
ea9e1a39f0018c9ed55f13f0b88f4afc4657d7e4
[ "MIT" ]
null
null
null
src/train.py
rnagumo/dgmvae
ea9e1a39f0018c9ed55f13f0b88f4afc4657d7e4
[ "MIT" ]
null
null
null
"""Training method""" import argparse import json import os import pathlib from typing import Union import numpy as np import torch from torch.backends import cudnn import pytorch_lightning as pl import dgmvae.models as dvm from experiment import VAEUpdater def export_model(model: Union[torch.nn.Module, torch.j...
29.52518
79
0.576754
3f0db4e9c999e9ae4b627b4d2fef5914dc26a29e
17,193
py
Python
kea/axi_lite_registers/_registers.py
SmartAcoustics/Kea
5790f18dafccfc01fe9dbe98de5bb1a5ce584c56
[ "BSD-3-Clause-Clear", "BSD-3-Clause" ]
3
2020-02-28T13:03:59.000Z
2020-09-20T06:33:04.000Z
kea/axi_lite_registers/_registers.py
SmartAcoustics/Kea
5790f18dafccfc01fe9dbe98de5bb1a5ce584c56
[ "BSD-3-Clause-Clear", "BSD-3-Clause" ]
null
null
null
kea/axi_lite_registers/_registers.py
SmartAcoustics/Kea
5790f18dafccfc01fe9dbe98de5bb1a5ce584c56
[ "BSD-3-Clause-Clear", "BSD-3-Clause" ]
3
2018-12-17T16:33:08.000Z
2020-01-21T14:10:25.000Z
from myhdl import Signal, intbv, block, always_comb, ConcatSignal import myhdl from collections import OrderedDict import keyword def _is_valid_name(ident: str) -> bool: '''Determine if ident is a valid register or bitfield name. ''' if not isinstance(ident, str): raise TypeError("expected str, b...
36.89485
79
0.571163
3f0e2d51a2df3a348d377cd1a32d06c17973e189
1,429
py
Python
tools/clear_from_n.py
ubercomrade/MultiDeNA
128f2963cf0a49f94c85744c5eaaf5c41f0e161c
[ "MIT" ]
null
null
null
tools/clear_from_n.py
ubercomrade/MultiDeNA
128f2963cf0a49f94c85744c5eaaf5c41f0e161c
[ "MIT" ]
null
null
null
tools/clear_from_n.py
ubercomrade/MultiDeNA
128f2963cf0a49f94c85744c5eaaf5c41f0e161c
[ "MIT" ]
null
null
null
import random
28.019608
86
0.501749
3f109ba5a82b80a619a2cca61182b7519ce6df9d
2,217
py
Python
tensorbank/tf/slices.py
pshved/tensorbank
6a1497b58cfac5e7218ec42c04dd62e17b7bb88c
[ "MIT" ]
1
2020-07-07T09:00:28.000Z
2020-07-07T09:00:28.000Z
tensorbank/tf/slices.py
pshved/tensorbank
6a1497b58cfac5e7218ec42c04dd62e17b7bb88c
[ "MIT" ]
null
null
null
tensorbank/tf/slices.py
pshved/tensorbank
6a1497b58cfac5e7218ec42c04dd62e17b7bb88c
[ "MIT" ]
null
null
null
"""Advanced Tensor slicing ========================== Utilities for advanced tensor slicing and batching operations. Reference --------- """ import tensorflow as tf def slice_within_stride(x, stride, si=0, ei=None, keepdims=True): """Select ``x[..., (i * stride + si):(i * stride + ei)]`` for each i. The te...
31.225352
74
0.592242
3f1168ed05032f188730bcd06823c66a0ec28d77
5,168
py
Python
testfixtures/tests/test_roundcomparison.py
Alexhuszagh/XLDiscoverer
60937b1f7f2e23af4219eb26519d6b83fb4232d6
[ "Apache-2.0", "MIT" ]
null
null
null
testfixtures/tests/test_roundcomparison.py
Alexhuszagh/XLDiscoverer
60937b1f7f2e23af4219eb26519d6b83fb4232d6
[ "Apache-2.0", "MIT" ]
null
null
null
testfixtures/tests/test_roundcomparison.py
Alexhuszagh/XLDiscoverer
60937b1f7f2e23af4219eb26519d6b83fb4232d6
[ "Apache-2.0", "MIT" ]
null
null
null
# Copyright (c) 2014 Simplistix Ltd # See license.txt for license details. from decimal import Decimal from testfixtures import RoundComparison as R, compare, ShouldRaise from unittest import TestCase from ..compat import PY2, PY3
33.128205
79
0.629257
3f11b3d9455edd6883b563bf0cbd4035db741ccc
23,628
py
Python
config/usb_device_cdc.py
newbs/usb
5aeafc26849673a357a6110713524387f2f5f84d
[ "0BSD" ]
null
null
null
config/usb_device_cdc.py
newbs/usb
5aeafc26849673a357a6110713524387f2f5f84d
[ "0BSD" ]
null
null
null
config/usb_device_cdc.py
newbs/usb
5aeafc26849673a357a6110713524387f2f5f84d
[ "0BSD" ]
null
null
null
"""***************************************************************************** * Copyright (C) 2019 Microchip Technology Inc. and its subsidiaries. * * Subject to your compliance with these terms, you may use Microchip software * and any derivatives exclusively with Microchip products. It is your * responsibility to ...
46.60355
210
0.752878
3f147cdd3b7dfdb59f469f69eb27289609a80ec7
169
py
Python
quant_test/__init__.py
rgkimball/quant_test
efa74de02f6a65c2d61029d6e8a1c0b5ac34b0c2
[ "Apache-2.0" ]
null
null
null
quant_test/__init__.py
rgkimball/quant_test
efa74de02f6a65c2d61029d6e8a1c0b5ac34b0c2
[ "Apache-2.0" ]
1
2021-02-02T23:10:35.000Z
2021-02-02T23:10:35.000Z
quant_test/__init__.py
rgkimball/quant_test
efa74de02f6a65c2d61029d6e8a1c0b5ac34b0c2
[ "Apache-2.0" ]
null
null
null
""" quant_test ~~~~~~ The quant_test package - a Python package template project that is intended to be used as a cookie-cutter for developing new Python packages. """
21.125
75
0.745562
3f14a246aafc9d9fb1bbbb14593c493646a1817d
5,189
py
Python
django_sql_dashboard/extensions/ExtendedParameter.py
ipamo/django-sql-dashboard
c976bb59db70df200bdc44f1598aab31a25d3930
[ "Apache-2.0" ]
null
null
null
django_sql_dashboard/extensions/ExtendedParameter.py
ipamo/django-sql-dashboard
c976bb59db70df200bdc44f1598aab31a25d3930
[ "Apache-2.0" ]
null
null
null
django_sql_dashboard/extensions/ExtendedParameter.py
ipamo/django-sql-dashboard
c976bb59db70df200bdc44f1598aab31a25d3930
[ "Apache-2.0" ]
null
null
null
import re from django.utils.html import escape from django.utils.safestring import mark_safe from ..utils import Parameter
50.378641
192
0.586626
3f159df489050cc9cb8053b59296d74b1792277e
3,644
py
Python
jiotc/models/bilstm_model.py
JHP4911/JioTC
be82159bdb0f2f10b1ac85966659626b5e8a7304
[ "MIT" ]
4
2020-06-17T03:32:23.000Z
2021-07-02T06:46:26.000Z
jiotc/models/bilstm_model.py
dongrixinyu/JioTC
be82159bdb0f2f10b1ac85966659626b5e8a7304
[ "MIT" ]
null
null
null
jiotc/models/bilstm_model.py
dongrixinyu/JioTC
be82159bdb0f2f10b1ac85966659626b5e8a7304
[ "MIT" ]
null
null
null
# -*- coding=utf-8 -*- # author: dongrixinyu # contact: dongrixinyu.89@163.com # blog: https://github.com/dongrixinyu/ # file: bare_embedding.py # time: 2020-06-12 11:27 import os import pdb import logging from typing import Union, Optional, Dict, Any, Tuple import torch import torch.nn as nn from torch.nn.utils.r...
33.431193
128
0.602634
3f15b4889cdf171226bf2916a6b9994712b58560
56,576
py
Python
tests/learning/test_prediction_error_delta_function.py
mihaic/psyneulink
3d2fc3117c82bccc92fc585add330b0f9b35c830
[ "Apache-2.0" ]
null
null
null
tests/learning/test_prediction_error_delta_function.py
mihaic/psyneulink
3d2fc3117c82bccc92fc585add330b0f9b35c830
[ "Apache-2.0" ]
null
null
null
tests/learning/test_prediction_error_delta_function.py
mihaic/psyneulink
3d2fc3117c82bccc92fc585add330b0f9b35c830
[ "Apache-2.0" ]
null
null
null
import numpy as np from psyneulink import PredictionErrorDeltaFunction np.set_printoptions(suppress=True)
72.255428
80
0.352128
3f18a598378fac5606353de6db627c25234fa321
22,823
py
Python
jts/backend/jobapps/views.py
goupaz/babylon
4e638d02705469061e563fec349676d8faa9f648
[ "MIT" ]
1
2019-08-08T09:03:17.000Z
2019-08-08T09:03:17.000Z
backend/jobapps/views.py
goupaz/website
ce1bc8b6c52ee0815a7b98842ec3bde0c20e0add
[ "Apache-2.0" ]
2
2020-10-09T19:16:09.000Z
2020-10-10T20:40:41.000Z
jts/backend/jobapps/views.py
goupaz/babylon-hackathon
4e638d02705469061e563fec349676d8faa9f648
[ "MIT" ]
1
2019-07-21T01:42:21.000Z
2019-07-21T01:42:21.000Z
from datetime import datetime as dt from django.utils import timezone import uuid from django.contrib.auth import get_user_model from django.http import JsonResponse from django.views.decorators.csrf import csrf_exempt from rest_framework.decorators import api_view from company.utils import get_or_create_company from ...
50.605322
131
0.623056
3f18ab10027c8065766c8a8c8fb7ac830007c2ab
127
py
Python
reassign.py
Ca2Patton/PythonStuff
9d13f340296bcea41dfca87a4b36e445821703de
[ "Apache-2.0" ]
null
null
null
reassign.py
Ca2Patton/PythonStuff
9d13f340296bcea41dfca87a4b36e445821703de
[ "Apache-2.0" ]
null
null
null
reassign.py
Ca2Patton/PythonStuff
9d13f340296bcea41dfca87a4b36e445821703de
[ "Apache-2.0" ]
null
null
null
#!/Library/Frameworks/Python.framework/Versions/2.7/bin/python x=5 print x reassign(x) print x
12.7
62
0.740157
3f1926f6984e1a663e867e004da2e2a9429fe1d9
6,632
py
Python
python_modules/dagster/dagster/core/meta/config_types.py
Ramshackle-Jamathon/dagster
959037ab8d8fb7ed49fbc2daff9fa566f71766f2
[ "Apache-2.0" ]
null
null
null
python_modules/dagster/dagster/core/meta/config_types.py
Ramshackle-Jamathon/dagster
959037ab8d8fb7ed49fbc2daff9fa566f71766f2
[ "Apache-2.0" ]
null
null
null
python_modules/dagster/dagster/core/meta/config_types.py
Ramshackle-Jamathon/dagster
959037ab8d8fb7ed49fbc2daff9fa566f71766f2
[ "Apache-2.0" ]
null
null
null
from collections import namedtuple from dagster import check from dagster.config.config_type import ConfigType, ConfigTypeKind from dagster.config.field import Field from dagster.core.serdes import whitelist_for_serdes # This function is used by the recursive descent # through all the inner types. This does *not* ...
37.258427
99
0.692853
3f197e7a784ea8a0684cc88fb9aeb9e0486240f7
624
py
Python
database/migrations/2017_06_14_205530_create_users_table.py
emirbek/cope
be72b71e8045d1fe16d7ac6c680fc9f274af6c50
[ "MIT" ]
2
2017-06-21T09:26:51.000Z
2020-10-15T19:45:20.000Z
database/migrations/2017_06_14_205530_create_users_table.py
emirbek/cope
be72b71e8045d1fe16d7ac6c680fc9f274af6c50
[ "MIT" ]
11
2017-06-18T21:16:58.000Z
2021-06-12T18:34:20.000Z
database/migrations/2017_06_14_205530_create_users_table.py
emirbek/cope
be72b71e8045d1fe16d7ac6c680fc9f274af6c50
[ "MIT" ]
2
2017-10-27T06:53:57.000Z
2021-09-26T10:26:31.000Z
from orator.migrations import Migration
24
51
0.525641
3f1a06109933032a2467ac3c5a49cf17e45b67a0
387
py
Python
make_json.py
jfalcou/infra
97e05039a3f4f3d69b7c50233aed5e5d60a59605
[ "BSD-2-Clause" ]
135
2017-01-12T04:39:08.000Z
2020-05-08T17:08:52.000Z
make_json.py
jfalcou/infra
97e05039a3f4f3d69b7c50233aed5e5d60a59605
[ "BSD-2-Clause" ]
229
2017-01-23T12:45:44.000Z
2020-05-13T17:36:57.000Z
make_json.py
jfalcou/infra
97e05039a3f4f3d69b7c50233aed5e5d60a59605
[ "BSD-2-Clause" ]
106
2017-04-18T14:42:34.000Z
2020-05-07T14:24:34.000Z
from configparser import ConfigParser import os import json obj = {} config = ConfigParser() config.read(os.path.join(os.getenv("HOME"), ".aws", "credentials")) obj["MY_ACCESS_KEY"] = config.get("default", "aws_access_key_id", fallback="") obj["MY_SECRET_KEY"] = config.get("default", "aws_secret_access_key", fallback=...
29.769231
82
0.710594
3f1cf61b4a31d4bea3fa0897656382d3014a7dec
1,051
py
Python
ztest-type1.py
tochiji/ztest-type1
ca141d13a74708846cba414f2051200d162302a0
[ "MIT" ]
null
null
null
ztest-type1.py
tochiji/ztest-type1
ca141d13a74708846cba414f2051200d162302a0
[ "MIT" ]
null
null
null
ztest-type1.py
tochiji/ztest-type1
ca141d13a74708846cba414f2051200d162302a0
[ "MIT" ]
null
null
null
######################################################### # 1 ######################################################### import sys import math # 4 if len(sys.argv[1:]) != 4: error_usage() n1,p1,n2,p2 = map(float, sys.argv[1:]) p = ((n1*p1) + (n2*p2))/(n1+n2) # n30 if (n1 < 30) or (n2 < 30): error_usage() #...
24.44186
67
0.488107
3f1d2166206051864985cc1f8d2162c4a056737f
13,796
py
Python
flask_demo/main.py
yzj2019/database_learning
a9260799f96010674bb4077180ee45a51481e832
[ "MIT" ]
null
null
null
flask_demo/main.py
yzj2019/database_learning
a9260799f96010674bb4077180ee45a51481e832
[ "MIT" ]
null
null
null
flask_demo/main.py
yzj2019/database_learning
a9260799f96010674bb4077180ee45a51481e832
[ "MIT" ]
null
null
null
# coding=utf-8 import functools from flask import Flask, session from flask import redirect from flask import request, make_response from flask import render_template from flask import url_for from flask_bootstrap import Bootstrap # from db import * # json import json # app app = Flask(__name__, insta...
34.318408
101
0.508771
3f1e42b52ec11496ab90f620e8e049e8cb9d426e
1,462
py
Python
tests/test_env.py
dmitrvk/mymusichere-app
02a6d5f60a72197e08c98da59b0ef7e7168dcf4b
[ "MIT" ]
null
null
null
tests/test_env.py
dmitrvk/mymusichere-app
02a6d5f60a72197e08c98da59b0ef7e7168dcf4b
[ "MIT" ]
14
2020-06-06T19:08:03.000Z
2020-12-03T12:07:04.000Z
tests/test_env.py
dmitrvk/mymusichere-app
02a6d5f60a72197e08c98da59b0ef7e7168dcf4b
[ "MIT" ]
null
null
null
# Licensed under the MIT License from mymusichere import env
35.658537
76
0.678523
3f1f9aba8ecf3aa6254017a10062ec1345e2b069
2,943
py
Python
tests/factorys.py
2h4dl/pymilvus
6af6d4922242ae48d90ed5a1afb891d9e4d1540e
[ "Apache-2.0" ]
null
null
null
tests/factorys.py
2h4dl/pymilvus
6af6d4922242ae48d90ed5a1afb891d9e4d1540e
[ "Apache-2.0" ]
null
null
null
tests/factorys.py
2h4dl/pymilvus
6af6d4922242ae48d90ed5a1afb891d9e4d1540e
[ "Apache-2.0" ]
null
null
null
# STL imports import random import logging import string import time import datetime import random import struct import sys from functools import wraps # Third party imports import numpy as np import faker from faker.providers import BaseProvider logging.getLogger('faker').setLevel(logging.ERROR) sys.path.append('.'...
23.357143
115
0.675841
3f201da335b43cb8e7b8ff1ba5bda41dec4c38c6
524
py
Python
HACKERRANK_Regrex&Parsing/Matrix_Script.py
StefaniaSferragatta/ADM2020-HW1
8f85ac1c8dd4bff52c5c17987c9e96b209a93830
[ "MIT" ]
null
null
null
HACKERRANK_Regrex&Parsing/Matrix_Script.py
StefaniaSferragatta/ADM2020-HW1
8f85ac1c8dd4bff52c5c17987c9e96b209a93830
[ "MIT" ]
null
null
null
HACKERRANK_Regrex&Parsing/Matrix_Script.py
StefaniaSferragatta/ADM2020-HW1
8f85ac1c8dd4bff52c5c17987c9e96b209a93830
[ "MIT" ]
null
null
null
import math import os import random import re import sys first_multiple_input = input().rstrip().split() n = int(first_multiple_input[0]) m = int(first_multiple_input[1]) matrix = [] if (n>0 and m>0 and n<100 and m< 100): for _ in range(n): matrix_item = input() matrix.append(matrix_item) for...
21.833333
50
0.59542
3f203a9e4f2175047e23a90b2ce6f785f3b752e7
4,495
py
Python
smartsheet/models/filter.py
Funtimes-Smarts/Python-import-Smart
ffb99887d03e31d10da553c9ee8c7be1238816fc
[ "Apache-2.0" ]
null
null
null
smartsheet/models/filter.py
Funtimes-Smarts/Python-import-Smart
ffb99887d03e31d10da553c9ee8c7be1238816fc
[ "Apache-2.0" ]
null
null
null
smartsheet/models/filter.py
Funtimes-Smarts/Python-import-Smart
ffb99887d03e31d10da553c9ee8c7be1238816fc
[ "Apache-2.0" ]
null
null
null
# pylint: disable=C0111,R0902,R0904,R0912,R0913,R0915,E1101 # Smartsheet Python SDK. # # Copyright 2016 Smartsheet.com, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"): you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www....
30.787671
75
0.588654
3f20478583f74a50977bf5b718f080efb96af674
5,524
py
Python
utils/train.py
danilonumeroso/MEG
86f2a664e22082b0ff5d01c8e0ad9618b64e9065
[ "Apache-2.0" ]
6
2020-10-26T13:53:01.000Z
2021-03-12T14:26:43.000Z
utils/train.py
danilonumeroso/Explainer
e133c150738f09998d0350e58dece4824ee58a76
[ "Apache-2.0" ]
null
null
null
utils/train.py
danilonumeroso/Explainer
e133c150738f09998d0350e58dece4824ee58a76
[ "Apache-2.0" ]
1
2021-03-13T01:08:12.000Z
2021-03-13T01:08:12.000Z
import torch import torch.nn.functional as F import os.path as osp import json from torch_geometric.utils import precision, recall from torch_geometric.utils import f1_score, accuracy from torch.utils.tensorboard import SummaryWriter
33.889571
101
0.589609
3f2291365a0ddde1dace00a736bbde9087e031ac
9,716
py
Python
python-sdk/nuimages/scripts/render_images.py
bjajoh/nuscenes-devkit
5bc5627801c3867de395a500a1905c24171cec7d
[ "Apache-2.0" ]
1,284
2018-09-12T14:08:06.000Z
2022-03-31T08:28:20.000Z
python-sdk/nuimages/scripts/render_images.py
bjajoh/nuscenes-devkit
5bc5627801c3867de395a500a1905c24171cec7d
[ "Apache-2.0" ]
518
2018-10-20T08:34:15.000Z
2022-03-31T08:16:08.000Z
python-sdk/nuimages/scripts/render_images.py
bjajoh/nuscenes-devkit
5bc5627801c3867de395a500a1905c24171cec7d
[ "Apache-2.0" ]
487
2018-09-13T20:03:21.000Z
2022-03-31T04:41:17.000Z
# nuScenes dev-kit. # Code written by Holger Caesar, 2020. import argparse import gc import os import random from typing import List from collections import defaultdict import cv2 import tqdm from nuimages.nuimages import NuImages def render_images(nuim: NuImages, mode: str = 'all', ...
42.614035
120
0.656546
3f23c6741b5a4eb8f1708037600b9e1ee26ac16e
10,868
py
Python
version_info.py
sairam4123/GodotReleaseScriptPython
2fd2644b0301f20b89b6772a0c93cec6d012f080
[ "MIT" ]
null
null
null
version_info.py
sairam4123/GodotReleaseScriptPython
2fd2644b0301f20b89b6772a0c93cec6d012f080
[ "MIT" ]
null
null
null
version_info.py
sairam4123/GodotReleaseScriptPython
2fd2644b0301f20b89b6772a0c93cec6d012f080
[ "MIT" ]
null
null
null
import re from configparser import ConfigParser from constants import PROJECT_FOLDER, RELEASE_LEVEL_DICT from release_type import ReleaseLevel, ReleaseType, value_from_key if __name__ == '__main__': # Test Script index = 0 version_info = VersionInfo(1, 0, 0, 0, ReleaseLevel.public, None, ReleaseType.majo...
39.234657
118
0.656054
3f2514948f103576dc7043e1528909e26cdfc7f7
2,302
py
Python
test/test_create_json_items_from_embark_xml.py
ndlib/mellon-search
30f7eb267e35d77ee6d126789866d44d825c3e0c
[ "Apache-2.0" ]
null
null
null
test/test_create_json_items_from_embark_xml.py
ndlib/mellon-search
30f7eb267e35d77ee6d126789866d44d825c3e0c
[ "Apache-2.0" ]
null
null
null
test/test_create_json_items_from_embark_xml.py
ndlib/mellon-search
30f7eb267e35d77ee6d126789866d44d825c3e0c
[ "Apache-2.0" ]
null
null
null
# test_create_json_items_from_embark_xml.py 2/18/19 sm """ test create_json_items_from_embark_xml.py """ import sys import json import unittest import csv from xml.etree.ElementTree import ElementTree, tostring # add parent directory to path import os import inspect CURRENTDIR = os.path.dirname(os.path.abspath(inspec...
36.539683
113
0.682884
3f272482b04c8aa1d417b0e37326c6eff1cef597
3,000
py
Python
plot/laikago/plot_task.py
MaxxWilson/ASE389Project
13c3c72887e27fbed2eef63c1e27b4a185036a39
[ "MIT" ]
17
2021-05-31T10:55:48.000Z
2022-03-30T10:09:37.000Z
plot/laikago/plot_task.py
MaxxWilson/ASE389Project
13c3c72887e27fbed2eef63c1e27b4a185036a39
[ "MIT" ]
2
2021-10-01T22:11:43.000Z
2021-12-06T02:34:33.000Z
plot/laikago/plot_task.py
MaxxWilson/ASE389Project
13c3c72887e27fbed2eef63c1e27b4a185036a39
[ "MIT" ]
3
2021-08-24T00:53:18.000Z
2022-03-31T17:29:07.000Z
import os import sys cwd = os.getcwd() sys.path.append(cwd) import pickle import numpy as np import matplotlib matplotlib.use('TkAgg') import matplotlib.pyplot as plt from plot.helper import plot_task, plot_weights, plot_rf_z_max, plot_rf_quad, plot_vector_traj tasks = [ 'com_pos', 'com_vel', 'chassis_quat', 'ch...
29.411765
94
0.515333
3f272ad913a6368c2dd0e9360ea0f0c8243524c5
3,504
py
Python
h/views/api/users.py
bibliotechie/h
16e275f79ef7d1086971bd30ef403501c6b93beb
[ "BSD-2-Clause" ]
null
null
null
h/views/api/users.py
bibliotechie/h
16e275f79ef7d1086971bd30ef403501c6b93beb
[ "BSD-2-Clause" ]
null
null
null
h/views/api/users.py
bibliotechie/h
16e275f79ef7d1086971bd30ef403501c6b93beb
[ "BSD-2-Clause" ]
null
null
null
from pyramid.httpexceptions import HTTPConflict from h.auth.util import client_authority from h.presenters import TrustedUserJSONPresenter from h.schemas import ValidationError from h.schemas.api.user import CreateUserAPISchema, UpdateUserAPISchema from h.services.user_unique import DuplicateUserError from h.views.api...
31.567568
81
0.710616
3f2894b54d3e8597c52938f696795d8309755127
239
py
Python
controllers/social_auth/kivyauth/__init__.py
richierh/SalesKivyMD
f445adc701946ff38865b4a1a00a03529142613e
[ "MIT" ]
126
2020-06-12T15:02:19.000Z
2022-03-31T10:13:29.000Z
controllers/social_auth/kivyauth/__init__.py
richierh/SalesKivyMD
f445adc701946ff38865b4a1a00a03529142613e
[ "MIT" ]
13
2020-07-01T01:03:26.000Z
2022-02-21T02:21:24.000Z
controllers/social_auth/kivyauth/__init__.py
richierh/SalesKivyMD
f445adc701946ff38865b4a1a00a03529142613e
[ "MIT" ]
22
2020-06-12T22:24:27.000Z
2022-03-10T13:24:33.000Z
from kivy.logger import Logger from kivy.utils import platform __version__ = "2.3.2" _log_message = "KivyAuth:" + f" {__version__}" + f' (installed at "{__file__}")' __all__ = ("login_providers", "auto_login") Logger.info(_log_message)
23.9
80
0.723849
3f28d1e2f76100adc00945a0759d254a0a1638b4
20
py
Python
RDS/circle3_central_services/research_manager/src/api/User/__init__.py
Sciebo-RDS/Sciebo-RDS
d71cf449ed045a2a7a049e2cb77c99fd5a9195bd
[ "MIT" ]
10
2020-06-24T08:22:24.000Z
2022-01-13T16:17:36.000Z
RDS/circle3_central_services/research_manager/src/api/User/__init__.py
Sciebo-RDS/Sciebo-RDS
d71cf449ed045a2a7a049e2cb77c99fd5a9195bd
[ "MIT" ]
78
2020-01-23T14:32:06.000Z
2022-03-07T14:11:16.000Z
RDS/circle3_central_services/research_manager/src/api/User/__init__.py
Sciebo-RDS/Sciebo-RDS
d71cf449ed045a2a7a049e2cb77c99fd5a9195bd
[ "MIT" ]
1
2020-06-24T08:33:48.000Z
2020-06-24T08:33:48.000Z
from .user import *
20
20
0.7
3f2a269b65ae0fe9d318d9013769d0a87c6d1a66
2,475
py
Python
cesium_app/app_server.py
yaowenxi/cesium
b87c8bcafc8a7707877f8b9e9b111a2a99b5aeee
[ "BSD-3-Clause" ]
41
2016-10-10T23:14:54.000Z
2021-07-08T19:44:14.000Z
cesium_app/app_server.py
cesium-ml/cesium_web
6dd9977ff037982d50f740bfb62012b508eebd29
[ "BSD-3-Clause" ]
200
2016-06-22T19:55:38.000Z
2022-03-22T18:42:19.000Z
cesium_app/app_server.py
yaowenxi/cesium
b87c8bcafc8a7707877f8b9e9b111a2a99b5aeee
[ "BSD-3-Clause" ]
26
2016-04-21T00:50:03.000Z
2019-11-04T20:19:53.000Z
import tornado.web import os import sys import pathlib from baselayer.app.config import Config from . import models from baselayer.app import model_util # This provides `login`, `complete`, and `disconnect` endpoints from social_tornado.routes import SOCIAL_AUTH_ROUTES from .handlers import ( ProjectHandler, ...
30.555556
76
0.641212
3f2ad7646cc054828d1f34022e2ec7ed31b8f6a0
903
py
Python
tests/test_building.py
sietekk/elevator
5058d36df323cc31a078c7016c57cc7f4488fcdc
[ "MIT" ]
null
null
null
tests/test_building.py
sietekk/elevator
5058d36df323cc31a078c7016c57cc7f4488fcdc
[ "MIT" ]
null
null
null
tests/test_building.py
sietekk/elevator
5058d36df323cc31a078c7016c57cc7f4488fcdc
[ "MIT" ]
null
null
null
# # Copyright (c) 2016 Michael Conroy # from elevator.building import ( Building, Floor, DEFAULT_FLOOR_QTY, DEFAULT_ELEVATOR_QTY, ) from elevator.elevator import Elevator
24.405405
66
0.660022
3f2bc27a1667776823d6302c9923d489d7a4ce6b
707
py
Python
Modulo_3/semana 2/miercoles/main.py
AutodidactaMx/cocid_python
11628f465ff362807a692c79ede26bf30dd8e26a
[ "MIT" ]
null
null
null
Modulo_3/semana 2/miercoles/main.py
AutodidactaMx/cocid_python
11628f465ff362807a692c79ede26bf30dd8e26a
[ "MIT" ]
null
null
null
Modulo_3/semana 2/miercoles/main.py
AutodidactaMx/cocid_python
11628f465ff362807a692c79ede26bf30dd8e26a
[ "MIT" ]
1
2022-03-04T00:57:18.000Z
2022-03-04T00:57:18.000Z
import tkinter as tk from presentacion.formulario import FormularioPersona try: ventana=tk.Tk() centrar_ventana(ventana) ventana.title("Formulario") form = FormularioPersona(ventana) ventana.mainloop() except Exception as e: print("Exist...
30.73913
77
0.663366
3f2bff3972bb90e7ea59576e6eccf7d56961ec7e
196
py
Python
Voting/urls.py
Poornartha/Odonata
71e8dfc4e8d93c6ecc1a3a155459b7e43bd28cdb
[ "MIT" ]
null
null
null
Voting/urls.py
Poornartha/Odonata
71e8dfc4e8d93c6ecc1a3a155459b7e43bd28cdb
[ "MIT" ]
null
null
null
Voting/urls.py
Poornartha/Odonata
71e8dfc4e8d93c6ecc1a3a155459b7e43bd28cdb
[ "MIT" ]
null
null
null
from django.urls import path from .views import teams_all, team_vote urlpatterns = [ path('teams/all', teams_all, name="teams_all"), path('teams/<int:pk>', team_vote, name="team_vote"), ]
28
56
0.704082
3f2fbc4cbbd9085f9e4653f26ebfd93f8e5ea745
5,594
py
Python
models/3-Whats goin on/train_code/resnext50/train.py
cns-iu/HuBMAP---Hacking-the-Kidney
1a41c887f8edb0b52f5afade384a17dc3d3efec4
[ "MIT" ]
null
null
null
models/3-Whats goin on/train_code/resnext50/train.py
cns-iu/HuBMAP---Hacking-the-Kidney
1a41c887f8edb0b52f5afade384a17dc3d3efec4
[ "MIT" ]
null
null
null
models/3-Whats goin on/train_code/resnext50/train.py
cns-iu/HuBMAP---Hacking-the-Kidney
1a41c887f8edb0b52f5afade384a17dc3d3efec4
[ "MIT" ]
null
null
null
from Dataset import * from Network import * from Functions import * import os from fastai.distributed import * import argparse import torch try: #from apex.parallel import DistributedDataParallel as DDP from apex.fp16_utils import * from apex import amp, optimizers from apex.multi_tensor_apply import mu...
44.752
163
0.704147
3f302d5ab9b39b181ba1fa9fc5436b10d4114686
6,220
py
Python
models/node/node.py
InfoCoV/Multi-Cro-CoV-cseBERT
5edc8e6d9c7de285c8fbb537b72f8f8b081d531d
[ "MIT" ]
null
null
null
models/node/node.py
InfoCoV/Multi-Cro-CoV-cseBERT
5edc8e6d9c7de285c8fbb537b72f8f8b081d531d
[ "MIT" ]
null
null
null
models/node/node.py
InfoCoV/Multi-Cro-CoV-cseBERT
5edc8e6d9c7de285c8fbb537b72f8f8b081d531d
[ "MIT" ]
1
2022-02-17T14:32:13.000Z
2022-02-17T14:32:13.000Z
""" NODE model definition and experiment setup. Neural Oblivious Decision Ensembles for Deep Learning on Tabular Data https://arxiv.org/abs/1909.06312 Model details: https://pytorch-tabular.readthedocs.io/en/latest/models/#nodemodel """ import logging import os.path import shutil from sklearn.metrics import classif...
31.414141
78
0.646302
3f30899107200b08356b7f18f040b82026d98005
8,570
py
Python
dtf/packages/models.py
WebPowerLabs/django-trainings
97f7a96c0fbeb85a001201c74713f7944cb77236
[ "BSD-3-Clause" ]
null
null
null
dtf/packages/models.py
WebPowerLabs/django-trainings
97f7a96c0fbeb85a001201c74713f7944cb77236
[ "BSD-3-Clause" ]
null
null
null
dtf/packages/models.py
WebPowerLabs/django-trainings
97f7a96c0fbeb85a001201c74713f7944cb77236
[ "BSD-3-Clause" ]
null
null
null
from django.db import models from django.core.urlresolvers import reverse from djnfusion import server, key from django.conf import settings from jsonfield import JSONField # TODO: change to this. Currently doesnt work. may have something to do with # the server not in __init__ # from packages.providers.infusionsoft ...
38.430493
96
0.626604
3f3094c51e91fa31dccfedc07336034240d0cf3e
1,438
py
Python
chap 2/2_1.py
hmhuy2000/Reinforcement-Learning-SuttonBartoI
97ca9dc11c4cb4fda74b144e658c3eac756131ff
[ "MIT" ]
null
null
null
chap 2/2_1.py
hmhuy2000/Reinforcement-Learning-SuttonBartoI
97ca9dc11c4cb4fda74b144e658c3eac756131ff
[ "MIT" ]
null
null
null
chap 2/2_1.py
hmhuy2000/Reinforcement-Learning-SuttonBartoI
97ca9dc11c4cb4fda74b144e658c3eac756131ff
[ "MIT" ]
null
null
null
import numpy as np import matplotlib.pyplot as plt from tqdm import trange def get_result(e): bandits = [bandit(np.random.randn(),CFG.variance) for i in range(CFG.n)] res = [] global cnt for _ in range(CFG.t): if (np.random.random()<e): choose = np.random.choice(CFG.n) ...
21.147059
76
0.553547
3f312f416c35a4ef754ae001c14b305991e498d6
2,080
py
Python
jetavator_databricks_client/setup.py
jetavator/jetavator_databricks
719c934b6391f6f41ca34b4d4df8c697c1a25283
[ "Apache-2.0" ]
null
null
null
jetavator_databricks_client/setup.py
jetavator/jetavator_databricks
719c934b6391f6f41ca34b4d4df8c697c1a25283
[ "Apache-2.0" ]
null
null
null
jetavator_databricks_client/setup.py
jetavator/jetavator_databricks
719c934b6391f6f41ca34b4d4df8c697c1a25283
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- import io import os from setuptools import setup, find_packages # Package metadata # ---------------- SHORT_NAME = 'databricks_client' NAME = 'jetavator_databricks_client' DESCRIPTION = ( 'Databricks support for the Jetavator engine ' 'to be installed on the client system' ) URL = 'h...
24.186047
73
0.662019
3f31a6445fe5a4545fbddede8dd570fd945d12b3
596
py
Python
web-interface/app/application/misc/pages/misc_options/purposes_sampling.py
horvathi94/seqmeta
94f2f04c372181c93a6f68b6efe15b141ef02779
[ "MIT" ]
null
null
null
web-interface/app/application/misc/pages/misc_options/purposes_sampling.py
horvathi94/seqmeta
94f2f04c372181c93a6f68b6efe15b141ef02779
[ "MIT" ]
null
null
null
web-interface/app/application/misc/pages/misc_options/purposes_sampling.py
horvathi94/seqmeta
94f2f04c372181c93a6f68b6efe15b141ef02779
[ "MIT" ]
null
null
null
from dataclasses import dataclass from .base import _MiscOptionBase from application.src.misc.sampling import PurposesOfSampling
24.833333
60
0.718121
3f327b3abcfcf0bb203bb9dab1e2f88e290b8007
1,816
py
Python
src/python3/sdp/scripts/FWR_Postprocess/nstx_singlechannel_analysis.py
LeiShi/Synthetic-Diagnostics-Platform
870120d3fd14b2a3c89c6e6e85625d1e9109a2de
[ "BSD-3-Clause" ]
5
2019-08-16T22:08:19.000Z
2021-02-24T02:47:05.000Z
src/python3/sdp/scripts/FWR_Postprocess/nstx_singlechannel_analysis.py
justthepython/Synthetic-Diagnostics-Platform
5f1cb5c29d182490acbd4f3c167f0e09ec211236
[ "BSD-3-Clause" ]
1
2016-05-11T12:58:00.000Z
2016-05-11T17:18:36.000Z
src/python3/sdp/scripts/FWR_Postprocess/nstx_singlechannel_analysis.py
justthepython/Synthetic-Diagnostics-Platform
5f1cb5c29d182490acbd4f3c167f0e09ec211236
[ "BSD-3-Clause" ]
5
2018-04-29T12:35:59.000Z
2020-01-10T03:38:30.000Z
import sdp.scripts.load_nstx_exp_ref as nstx_exp #import sdp.scripts.FWR2D_NSTX_139047_Postprocess as fwrpp import pickle import numpy as np with open('/p/gkp/lshi/XGC1_NSTX_Case/FullF_XGC_ti191_output/ref_pos.pck','r') as f: ref_pos = pickle.load(f) channel = 9 nt = 50 llim = 1e-7 ulim = 1e-4 time_array = np.lin...
26.705882
102
0.669053
3f33208b87772b3914f2f7e4b5518f6f944741b9
1,236
py
Python
tests/integration/suites/default/reboot.py
bularcasergiu/Anjay
a76399199dc9569d58aebc4bf18c494ca2127292
[ "Apache-2.0" ]
null
null
null
tests/integration/suites/default/reboot.py
bularcasergiu/Anjay
a76399199dc9569d58aebc4bf18c494ca2127292
[ "Apache-2.0" ]
null
null
null
tests/integration/suites/default/reboot.py
bularcasergiu/Anjay
a76399199dc9569d58aebc4bf18c494ca2127292
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # # Copyright 2017-2020 AVSystem <avsystem@avsystem.com> # # 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 ...
34.333333
75
0.719256
3f33ca3b9b3ca0aa03c1d9c5a2a2a55f778438b0
22,381
py
Python
astrodet/scarlet.py
lyf1436/astrodet
72d69fe38c9d744620866682e36a03c668c284f2
[ "MIT" ]
null
null
null
astrodet/scarlet.py
lyf1436/astrodet
72d69fe38c9d744620866682e36a03c668c284f2
[ "MIT" ]
2
2021-04-15T03:03:24.000Z
2021-04-26T19:41:57.000Z
astrodet/scarlet.py
lyf1436/astrodet
72d69fe38c9d744620866682e36a03c668c284f2
[ "MIT" ]
3
2021-03-18T14:08:12.000Z
2021-10-08T04:26:14.000Z
import sys, os import numpy as np import scarlet import sep from astropy.io import ascii import astropy.io.fits as fits import matplotlib import matplotlib.pyplot as plt from matplotlib.patches import Ellipse from astropy.wcs import WCS def write_scarlet_results(datas, observation, starlet_sources, model_frame, ca...
37.116086
131
0.629105
3f348185cd12109292cb8c384d3bec9afb87b02b
193
py
Python
serve.py
haiyoumeiyou/cherrybrigde
f00a0592240b60cc42b895ad194b0273485956d0
[ "BSD-3-Clause" ]
null
null
null
serve.py
haiyoumeiyou/cherrybrigde
f00a0592240b60cc42b895ad194b0273485956d0
[ "BSD-3-Clause" ]
null
null
null
serve.py
haiyoumeiyou/cherrybrigde
f00a0592240b60cc42b895ad194b0273485956d0
[ "BSD-3-Clause" ]
null
null
null
from application import bootstrap bootstrap() if __name__=='__main__': import cherrypy cherrypy.engine.signals.subscribe() cherrypy.engine.start() cherrypy.engine.block()
19.3
39
0.720207
3f3537a4e2a9c606bd390358c783d299bde031c0
2,125
py
Python
ooobuild/lo/smarttags/x_range_based_smart_tag_recognizer.py
Amourspirit/ooo_uno_tmpl
64e0c86fd68f24794acc22d63d8d32ae05dd12b8
[ "Apache-2.0" ]
null
null
null
ooobuild/lo/smarttags/x_range_based_smart_tag_recognizer.py
Amourspirit/ooo_uno_tmpl
64e0c86fd68f24794acc22d63d8d32ae05dd12b8
[ "Apache-2.0" ]
null
null
null
ooobuild/lo/smarttags/x_range_based_smart_tag_recognizer.py
Amourspirit/ooo_uno_tmpl
64e0c86fd68f24794acc22d63d8d32ae05dd12b8
[ "Apache-2.0" ]
null
null
null
# coding: utf-8 # # Copyright 2022 :Barry-Thomas-Paul: Moss # # 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 applicab...
42.5
215
0.777412
3f3653bf5b35e045e2b4c2aeff6f681433eea55f
924
py
Python
apprest/plugins/icat/views/ICAT.py
acampsm/calipsoplus-backend
b66690124bd2f2541318ddb83b18e082b5df5676
[ "MIT" ]
4
2018-12-04T15:08:27.000Z
2019-04-11T09:49:41.000Z
apprest/plugins/icat/views/ICAT.py
acampsm/calipsoplus-backend
b66690124bd2f2541318ddb83b18e082b5df5676
[ "MIT" ]
63
2018-11-22T13:07:56.000Z
2021-06-10T20:55:58.000Z
apprest/plugins/icat/views/ICAT.py
AlexRogalskiy/calipsoplus-backend
3f6b034f16668bc154b0f4b759ed62b055f41647
[ "MIT" ]
10
2018-11-23T08:17:28.000Z
2022-01-15T23:41:59.000Z
from rest_framework import status from rest_framework.authentication import SessionAuthentication, BasicAuthentication from rest_framework.permissions import IsAuthenticated from rest_framework.views import APIView from apprest.plugins.icat.helpers.complex_encoder import JsonResponse from apprest.plugins.icat.services...
34.222222
100
0.787879
3f374d2a724eacf4543f9a4bee934b7b700f04f6
396
py
Python
python/phevaluator/table_tests/test_hashtable8.py
StTronn/PokerHandEvaluator
3611a7072c2a62844d6aca32d798aafa59e4606d
[ "Apache-2.0" ]
1
2020-11-12T14:35:02.000Z
2020-11-12T14:35:02.000Z
python/phevaluator/table_tests/test_hashtable8.py
StTronn/PokerHandEvaluator
3611a7072c2a62844d6aca32d798aafa59e4606d
[ "Apache-2.0" ]
null
null
null
python/phevaluator/table_tests/test_hashtable8.py
StTronn/PokerHandEvaluator
3611a7072c2a62844d6aca32d798aafa59e4606d
[ "Apache-2.0" ]
null
null
null
import unittest from table_tests.utils import BaseTestNoFlushTable from evaluator.hashtable8 import NO_FLUSH_8 if __name__ == "__main__": unittest.main()
23.294118
52
0.765152
3f37c1453442f813e72c82a4ee9d8d0dd3dbc36c
921
py
Python
Marcelina_Skoczylas_praca_domowa_3.py
marcelinaskoczylas/python_wprowadzenie_warsztaty_2021
9614d791b253a15a117960deadb7375c681e8a27
[ "MIT" ]
1
2021-11-12T10:17:02.000Z
2021-11-12T10:17:02.000Z
Marcelina_Skoczylas_praca_domowa_3.py
marcelinaskoczylas/python_wprowadzenie_warsztaty_2021
9614d791b253a15a117960deadb7375c681e8a27
[ "MIT" ]
3
2021-11-07T12:27:46.000Z
2021-12-11T18:20:58.000Z
Marcelina_Skoczylas_praca_domowa_3.py
marcelinaskoczylas/python_wprowadzenie_warsztaty_2021
9614d791b253a15a117960deadb7375c681e8a27
[ "MIT" ]
23
2021-11-07T12:16:58.000Z
2021-11-26T21:03:29.000Z
#zadanie 1 i=1 j=1 k=1 ciag=[1,1] while len(ciag)<50: k=i+j j=i i=k ciag.append(k) print(ciag) #zadanie 2 wpisane=str(input("Prosz wpisa dowolne sowa po przecinku ")) zmienne=wpisane.split(",") def funkcja(*args): '''Funkcja sprawdza dugo sw i usuwa te, ktre s za krtkie'...
18.058824
72
0.606949
3f3831fca3eb8519b2004ca6b866229be692631e
91
py
Python
rh_pathfinding/src/rh_pathfinding/engine/geometry/obstacle/lineFinder/__init__.py
RhinohawkUAV/rh_ros
e13077060bdfcc231adee9731ebfddadcd8d6b4a
[ "MIT" ]
4
2020-05-13T19:34:27.000Z
2021-09-20T09:01:10.000Z
rh_pathfinding/src/rh_pathfinding/engine/geometry/obstacle/lineFinder/__init__.py
RhinohawkUAV/rh_ros
e13077060bdfcc231adee9731ebfddadcd8d6b4a
[ "MIT" ]
null
null
null
rh_pathfinding/src/rh_pathfinding/engine/geometry/obstacle/lineFinder/__init__.py
RhinohawkUAV/rh_ros
e13077060bdfcc231adee9731ebfddadcd8d6b4a
[ "MIT" ]
2
2019-09-14T14:45:09.000Z
2020-11-22T01:46:59.000Z
from linePathSegment import LinePathSegment from lineSegmentFinder import LineSegmentFinder
45.5
47
0.923077
3f39db2a6e3725e4d6d3a964e14a0df2e6772218
655
py
Python
days/day01/part2.py
jaredbancroft/aoc2021
4eaf339cc0c8566da2af13f7cb9cf6fe87355aac
[ "MIT" ]
null
null
null
days/day01/part2.py
jaredbancroft/aoc2021
4eaf339cc0c8566da2af13f7cb9cf6fe87355aac
[ "MIT" ]
null
null
null
days/day01/part2.py
jaredbancroft/aoc2021
4eaf339cc0c8566da2af13f7cb9cf6fe87355aac
[ "MIT" ]
null
null
null
from helpers import inputs
31.190476
76
0.51145
3f3a04716997d73eaef4e151bd98036259ad059e
1,183
py
Python
src/unicon/plugins/nxos/n5k/service_statements.py
TestingBytes/unicon.plugins
0600956d805deb4fd790aa3ef591c5d659e85de1
[ "Apache-2.0" ]
18
2019-11-23T23:14:53.000Z
2022-01-10T01:17:08.000Z
src/unicon/plugins/nxos/n5k/service_statements.py
TestingBytes/unicon.plugins
0600956d805deb4fd790aa3ef591c5d659e85de1
[ "Apache-2.0" ]
12
2020-11-09T20:39:25.000Z
2022-03-22T12:46:59.000Z
src/unicon/plugins/nxos/n5k/service_statements.py
TestingBytes/unicon.plugins
0600956d805deb4fd790aa3ef591c5d659e85de1
[ "Apache-2.0" ]
32
2020-02-12T15:42:22.000Z
2022-03-15T16:42:10.000Z
from unicon.eal.dialogs import Statement from .service_patterns import NxosN5kReloadPatterns from unicon.plugins.nxos.service_statements import (login_stmt, password_stmt, enable_vdc, admin_password) from unicon.plugins.generic.service_statements import (save_env, auto_provision, auto_install_dialog, setu...
43.814815
78
0.658495
3f3a4efcbbb562167b72ebf68516d5cfd976b799
11,321
py
Python
src/clic/cloud.py
NathanRVance/clic
e28f7f2686f5ac6689b384474e3fdfa4d207f6ec
[ "MIT" ]
2
2017-12-13T03:41:07.000Z
2019-03-12T14:08:42.000Z
src/clic/cloud.py
NathanRVance/clic
e28f7f2686f5ac6689b384474e3fdfa4d207f6ec
[ "MIT" ]
null
null
null
src/clic/cloud.py
NathanRVance/clic
e28f7f2686f5ac6689b384474e3fdfa4d207f6ec
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 from clic import nodes import time import os import logging as loggingmod logging = loggingmod.getLogger('cloud') logging.setLevel(loggingmod.WARNING) def main(): import argparse parser = argparse.ArgumentParser(description='Execute cloud API commands') from clic import version ...
45.103586
192
0.569473
3f3cb556d7979e79091d66cbe322dfcac371f91c
3,185
py
Python
HyperUnmixing/visualization.py
mdbresh/HyperUnmixing
9ed1be74da48ff80298099497194efa2e97b7fbe
[ "MIT" ]
1
2020-06-03T21:43:29.000Z
2020-06-03T21:43:29.000Z
HyperUnmixing/visualization.py
mdbresh/HyperUnmixing
9ed1be74da48ff80298099497194efa2e97b7fbe
[ "MIT" ]
8
2020-04-13T22:12:03.000Z
2020-05-01T21:37:16.000Z
HyperUnmixing/visualization.py
mdbresh/HyperUnmixing
9ed1be74da48ff80298099497194efa2e97b7fbe
[ "MIT" ]
null
null
null
import numpy as np import pandas as pd import ipywidgets as widgets import matplotlib.pyplot as plt from skimage.measure import label, regionprops, regionprops_table from skimage.color import label2rgb def Wav_2_Im(im, wn): ''' Input a 3-D datacube and outputs a normalized slice at one wavenumber. Parameters ---...
25.277778
107
0.690424
3f3d41979c4cb0e2058dd2cdc43c80be671cc4fb
2,758
py
Python
velocileptors/Utils/loginterp.py
kokron/velocileptors
50016dd66ec9a2d33effecc248a48ca7ea7322bf
[ "MIT" ]
null
null
null
velocileptors/Utils/loginterp.py
kokron/velocileptors
50016dd66ec9a2d33effecc248a48ca7ea7322bf
[ "MIT" ]
null
null
null
velocileptors/Utils/loginterp.py
kokron/velocileptors
50016dd66ec9a2d33effecc248a48ca7ea7322bf
[ "MIT" ]
null
null
null
import numpy as np from scipy.interpolate import InterpolatedUnivariateSpline as interpolate from scipy.misc import derivative import inspect def loginterp(x, y, yint = None, side = "both", lorder = 9, rorder = 9, lp = 1, rp = -2, ldx = 1e-6, rdx = 1e-6,\ interp_min = -12, interp_max = 12, ...
37.27027
120
0.536983
3f3d5388905e53963d743e54574d98fe526396ec
4,458
py
Python
src/modeling/calc_target_scale.py
pfnet-research/kaggle-lyft-motion-prediction-4th-place-solution
0bc51075db31a747eeebb7f4775a3cd26ad5f870
[ "MIT" ]
44
2020-12-09T06:15:15.000Z
2022-03-31T02:37:47.000Z
src/modeling/calc_target_scale.py
pfnet-research/kaggle-lyft-motion-prediction-4th-place-solution
0bc51075db31a747eeebb7f4775a3cd26ad5f870
[ "MIT" ]
null
null
null
src/modeling/calc_target_scale.py
pfnet-research/kaggle-lyft-motion-prediction-4th-place-solution
0bc51075db31a747eeebb7f4775a3cd26ad5f870
[ "MIT" ]
7
2020-12-09T10:08:32.000Z
2021-08-17T01:53:51.000Z
from typing import Tuple import dataclasses import numpy as np import torch from pathlib import Path from l5kit.data import LocalDataManager, ChunkedDataset import sys import os from tqdm import tqdm sys.path.append(os.pardir) sys.path.append(os.path.join(os.pardir, os.pardir)) from lib.evaluation.mask import load_...
40.527273
120
0.746074
3f3d9f5e7b52389bd248948394c8302b4b2c0b67
3,679
py
Python
examples/solvers using low level utilities/interior_laplace_neumann_panel_polygon.py
dbstein/pybie2d
1c2d6c05f6dbb4f1ab4476d3824f4dde20f90d58
[ "Apache-2.0" ]
11
2018-10-26T17:34:29.000Z
2020-04-27T21:21:33.000Z
examples/solvers using low level utilities/interior_laplace_neumann_panel_polygon.py
dbstein/pybie2d
1c2d6c05f6dbb4f1ab4476d3824f4dde20f90d58
[ "Apache-2.0" ]
null
null
null
examples/solvers using low level utilities/interior_laplace_neumann_panel_polygon.py
dbstein/pybie2d
1c2d6c05f6dbb4f1ab4476d3824f4dde20f90d58
[ "Apache-2.0" ]
null
null
null
import numpy as np import scipy as sp import scipy.sparse import matplotlib as mpl import matplotlib.pyplot as plt import matplotlib.path plt.ion() import pybie2d """o solve an interior Modified Helmholtz problem On a complicated domain using a global quadr Demonstrate how to use the pybie2d package tature This examp...
34.383178
93
0.618918
3f3e92f1f4a6224cee72e432180bdaba79cbc4b7
576
py
Python
controllers/rcj_soccer_referee_supervisor/rcj_soccer_referee_supervisor.py
dbscoach/webots-soccer-sim-playground
464f9052834d0c6896e6a960113720e8ca4e21df
[ "Apache-2.0" ]
null
null
null
controllers/rcj_soccer_referee_supervisor/rcj_soccer_referee_supervisor.py
dbscoach/webots-soccer-sim-playground
464f9052834d0c6896e6a960113720e8ca4e21df
[ "Apache-2.0" ]
null
null
null
controllers/rcj_soccer_referee_supervisor/rcj_soccer_referee_supervisor.py
dbscoach/webots-soccer-sim-playground
464f9052834d0c6896e6a960113720e8ca4e21df
[ "Apache-2.0" ]
null
null
null
from math import ceil from referee.consts import MATCH_TIME, TIME_STEP from referee.referee import RCJSoccerReferee referee = RCJSoccerReferee( match_time=MATCH_TIME, progress_check_steps=ceil(15/(TIME_STEP/1000.0)), progress_check_threshold=0.5, ball_progress_check_steps=ceil(10/(TIME_STEP/1000.0)), ...
27.428571
58
0.770833
3f3edf95fac5cc6b31cb7effd1e2b59006a53ab6
4,675
py
Python
backend/app.py
CMU-IDS-2020/fp-profiler
45edb7c5f5dfcf34854057476558793bc877f031
[ "BSD-3-Clause" ]
null
null
null
backend/app.py
CMU-IDS-2020/fp-profiler
45edb7c5f5dfcf34854057476558793bc877f031
[ "BSD-3-Clause" ]
null
null
null
backend/app.py
CMU-IDS-2020/fp-profiler
45edb7c5f5dfcf34854057476558793bc877f031
[ "BSD-3-Clause" ]
1
2020-11-20T02:56:20.000Z
2020-11-20T02:56:20.000Z
from flask import Flask, request import os from subprocess import Popen, PIPE import json from prof_file_util import load_source, load_line_profile, load_graph_profile from linewise_barchart import linewise_barchart from valgrind import extract_valgrind_result from mem_issue_visualize import mem_issue_visualize app =...
31.802721
106
0.620535
3f3f001f639e3ff68f19c91e138db8007658913f
998
py
Python
py/book/ShortestSubarrayLength.py
danyfang/SourceCode
8168f6058648f2a330a7354daf3a73a4d8a4e730
[ "MIT" ]
null
null
null
py/book/ShortestSubarrayLength.py
danyfang/SourceCode
8168f6058648f2a330a7354daf3a73a4d8a4e730
[ "MIT" ]
null
null
null
py/book/ShortestSubarrayLength.py
danyfang/SourceCode
8168f6058648f2a330a7354daf3a73a4d8a4e730
[ "MIT" ]
null
null
null
''' Leetcode problem No 862 Shortest Subarray with Sum at Least K Solution written by Xuqiang Fang on 1 July, 2018 ''' import collections main()
28.514286
69
0.490982
3f3f1b80d7db0ba49872fa346d7180fa077d1cab
2,692
py
Python
djangocms_baseplugins/contact/models.py
benzkji/djangocms-baseplugins
7f041a030ed93dcdec70e4ca777b841846b8f2f2
[ "MIT" ]
2
2019-04-14T01:31:22.000Z
2020-03-05T13:06:57.000Z
djangocms_baseplugins/contact/models.py
benzkji/djangocms-baseplugins
7f041a030ed93dcdec70e4ca777b841846b8f2f2
[ "MIT" ]
32
2017-04-04T09:28:06.000Z
2021-08-18T16:23:02.000Z
djangocms_baseplugins/contact/models.py
bnzk/djangocms-baseplugins
7f041a030ed93dcdec70e4ca777b841846b8f2f2
[ "MIT" ]
null
null
null
import time from ckeditor.fields import RichTextField from django.db import models from django.utils.translation import ugettext_lazy as _ from requests import ConnectionError from djangocms_baseplugins.baseplugin.models import AbstractBasePlugin from djangocms_baseplugins.baseplugin.utils import check_migration_modu...
34.075949
87
0.593239
3f3fcc2c16b2bfd7c2cf31951c3290a8d5c5992d
355
py
Python
Level1/Lessons76501/minari-76501.py
StudyForCoding/ProgrammersLevel
dc957b1c02cc4383a93b8cbf3d739e6c4d88aa25
[ "MIT" ]
null
null
null
Level1/Lessons76501/minari-76501.py
StudyForCoding/ProgrammersLevel
dc957b1c02cc4383a93b8cbf3d739e6c4d88aa25
[ "MIT" ]
null
null
null
Level1/Lessons76501/minari-76501.py
StudyForCoding/ProgrammersLevel
dc957b1c02cc4383a93b8cbf3d739e6c4d88aa25
[ "MIT" ]
1
2021-04-05T07:35:59.000Z
2021-04-05T07:35:59.000Z
#1. for (len(absolutes)), if signs[i] is true: answer += absolutes[i], else: answer -= absolutes[i] #2. sum(absolutes)
29.583333
100
0.571831
3f40172291607ab0c848f7f1917399766b9b515c
1,082
py
Python
pyexcel/__init__.py
quis/pyexcel
e02f5ff871ba69184d3fb85fa8960da4e883ebdc
[ "BSD-3-Clause" ]
null
null
null
pyexcel/__init__.py
quis/pyexcel
e02f5ff871ba69184d3fb85fa8960da4e883ebdc
[ "BSD-3-Clause" ]
null
null
null
pyexcel/__init__.py
quis/pyexcel
e02f5ff871ba69184d3fb85fa8960da4e883ebdc
[ "BSD-3-Clause" ]
null
null
null
""" pyexcel ~~~~~~~~~~~~~~~~~~~ **pyexcel** is a wrapper library to read, manipulate and write data in different excel formats: csv, ods, xls, xlsx and xlsm. It does not support formulas, styles and charts. :copyright: (c) 2014-2017 by Onni Software Ltd. :license: New BSD License, see LICE...
21.64
62
0.686691
3f4174ff9c8ef5d53e5df7cf324c378ca2b1ce02
2,729
py
Python
tests/resources/selenium/test_nfc.py
Avi-Labs/taurus
3aa9bc294778d99be545575467fb5897dc815330
[ "Apache-2.0" ]
1,743
2015-03-30T20:56:03.000Z
2022-03-31T09:08:37.000Z
tests/resources/selenium/test_nfc.py
Avi-Labs/taurus
3aa9bc294778d99be545575467fb5897dc815330
[ "Apache-2.0" ]
1,159
2015-04-01T08:25:53.000Z
2022-03-29T08:15:31.000Z
tests/resources/selenium/test_nfc.py
Avi-Labs/taurus
3aa9bc294778d99be545575467fb5897dc815330
[ "Apache-2.0" ]
497
2015-03-31T21:05:18.000Z
2022-03-17T12:45:21.000Z
# coding=utf-8 import logging import random import string import sys import unittest from time import time, sleep import apiritif import os import re from selenium import webdriver from selenium.common.exceptions import NoSuchElementException, TimeoutException from selenium.webdriver.common.by import By from seleniu...
32.488095
91
0.681568
3f418694dc8e68bdf0bfc91861f5c5eb0502eab0
5,495
py
Python
src/onegov/search/dsl.py
politbuero-kampagnen/onegov-cloud
20148bf321b71f617b64376fe7249b2b9b9c4aa9
[ "MIT" ]
null
null
null
src/onegov/search/dsl.py
politbuero-kampagnen/onegov-cloud
20148bf321b71f617b64376fe7249b2b9b9c4aa9
[ "MIT" ]
null
null
null
src/onegov/search/dsl.py
politbuero-kampagnen/onegov-cloud
20148bf321b71f617b64376fe7249b2b9b9c4aa9
[ "MIT" ]
null
null
null
from elasticsearch_dsl import Search as BaseSearch from elasticsearch_dsl.response import Hit as BaseHit from elasticsearch_dsl.response import Response as BaseResponse def explanation_value(explanation, text): """ Gets the value from the explanation for descriptions starting with the given text. """ ...
28.471503
79
0.589263
3f4197885d65ac6c21aa8108e7b1eaac4d9a1a2e
3,862
py
Python
DistributedStorageBenchmarkTool/EchoHandler.py
shadoobie/dbench
0cca504048ba918a1502482b7d06a866cda9ab6e
[ "MIT" ]
null
null
null
DistributedStorageBenchmarkTool/EchoHandler.py
shadoobie/dbench
0cca504048ba918a1502482b7d06a866cda9ab6e
[ "MIT" ]
null
null
null
DistributedStorageBenchmarkTool/EchoHandler.py
shadoobie/dbench
0cca504048ba918a1502482b7d06a866cda9ab6e
[ "MIT" ]
null
null
null
from SocketServer import BaseRequestHandler, TCPServer from DistributedStorageBenchmarkTool.StampyMcGetTheLog import StampyMcGetTheLog # from sets import Set import re if __name__ == '__main__': serv = TCPServer(('', 20000), EchoHandler) serv.serve_forever()
39.408163
144
0.676075
3f42306d062bc9168cc3334b385fbe62bb7498d6
14,054
py
Python
bitten/queue.py
SpamExperts/bitten
924ae157c876eeff7957074b0c51ed4685d4f304
[ "BSD-3-Clause" ]
null
null
null
bitten/queue.py
SpamExperts/bitten
924ae157c876eeff7957074b0c51ed4685d4f304
[ "BSD-3-Clause" ]
1
2020-09-24T05:28:44.000Z
2020-09-28T05:34:19.000Z
bitten/queue.py
SpamExperts/bitten
924ae157c876eeff7957074b0c51ed4685d4f304
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- # # Copyright (C) 2007-2010 Edgewall Software # Copyright (C) 2005-2007 Christopher Lenz <cmlenz@gmx.de> # All rights reserved. # # This software is licensed as described in the file COPYING, which # you should have received as part of this distribution. The terms # are also available at http://...
40.973761
85
0.570656
3f4449fb416b741bfe8100121589dabfd4bff616
434
py
Python
dynamic-programming/Python/0120-triangle.py
lemonnader/LeetCode-Solution-Well-Formed
baabdb1990fd49ab82a712e121f49c4f68b29459
[ "Apache-2.0" ]
1
2020-04-02T13:31:31.000Z
2020-04-02T13:31:31.000Z
dynamic-programming/Python/0120-triangle.py
lemonnader/LeetCode-Solution-Well-Formed
baabdb1990fd49ab82a712e121f49c4f68b29459
[ "Apache-2.0" ]
null
null
null
dynamic-programming/Python/0120-triangle.py
lemonnader/LeetCode-Solution-Well-Formed
baabdb1990fd49ab82a712e121f49c4f68b29459
[ "Apache-2.0" ]
null
null
null
from typing import List
27.125
62
0.47235
3f4460e3255eb428d7e5749918a9b4a6ef898fc7
5,063
py
Python
regparser/tree/xml_parser/tree_utils.py
pkfec/regulations-parser
ff6b29dcce0449a133e7b93dd462ab3110f80a5d
[ "CC0-1.0" ]
26
2016-06-04T20:48:09.000Z
2021-07-28T18:13:30.000Z
regparser/tree/xml_parser/tree_utils.py
pkfec/regulations-parser
ff6b29dcce0449a133e7b93dd462ab3110f80a5d
[ "CC0-1.0" ]
146
2016-04-06T19:07:54.000Z
2022-01-02T20:09:53.000Z
regparser/tree/xml_parser/tree_utils.py
pkfec/regulations-parser
ff6b29dcce0449a133e7b93dd462ab3110f80a5d
[ "CC0-1.0" ]
28
2016-04-09T20:40:48.000Z
2021-05-08T17:52:59.000Z
# -*- coding: utf-8 -*- from __future__ import unicode_literals from copy import deepcopy from functools import wraps from itertools import chain from lxml import etree from six.moves.html_parser import HTMLParser from regparser.tree.priority_stack import PriorityStack def prepend_parts(parts_prefix, n): """ R...
33.309211
78
0.661268
3f450a61b8e2b1852d0f1a4d826ca4c04fcbb6db
10,638
py
Python
aiida/orm/implementation/querybuilder.py
PercivalN/aiida-core
b215ed5a7ce9342bb7f671b67e95c1f474cc5940
[ "BSD-2-Clause" ]
1
2019-07-31T04:08:13.000Z
2019-07-31T04:08:13.000Z
aiida/orm/implementation/querybuilder.py
PercivalN/aiida-core
b215ed5a7ce9342bb7f671b67e95c1f474cc5940
[ "BSD-2-Clause" ]
null
null
null
aiida/orm/implementation/querybuilder.py
PercivalN/aiida-core
b215ed5a7ce9342bb7f671b67e95c1f474cc5940
[ "BSD-2-Clause" ]
null
null
null
# -*- coding: utf-8 -*- ########################################################################### # Copyright (c), The AiiDA team. All rights reserved. # # This file is part of the AiiDA code. # # ...
36.682759
153
0.601805
3f45b952c9fbaad033d9a0d8b00c659fec74f672
675
py
Python
qiskit/util.py
alejomonbar/qiskit-terra
207fe593f6f616b0d55b43afe4451dcaa672871a
[ "Apache-2.0" ]
null
null
null
qiskit/util.py
alejomonbar/qiskit-terra
207fe593f6f616b0d55b43afe4451dcaa672871a
[ "Apache-2.0" ]
null
null
null
qiskit/util.py
alejomonbar/qiskit-terra
207fe593f6f616b0d55b43afe4451dcaa672871a
[ "Apache-2.0" ]
null
null
null
# This code is part of Qiskit. # # (C) Copyright IBM 2017. # # This code is licensed under the Apache License, Version 2.0. You may # obtain a copy of this license in the LICENSE.txt file in the root directory # of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. # # Any modifications or derivative wo...
35.526316
77
0.764444
3f46011535915198f4025241d624f246d85211f4
1,049
py
Python
examples/plot_spirals.py
zblz/gammapy
49539f25886433abeedc8852387ab4cd73977006
[ "BSD-3-Clause" ]
null
null
null
examples/plot_spirals.py
zblz/gammapy
49539f25886433abeedc8852387ab4cd73977006
[ "BSD-3-Clause" ]
null
null
null
examples/plot_spirals.py
zblz/gammapy
49539f25886433abeedc8852387ab4cd73977006
[ "BSD-3-Clause" ]
null
null
null
# Licensed under a 3-clause BSD style license - see LICENSE.rst """ Plot Milky Way spiral arm models. """ import numpy as np import matplotlib matplotlib.use('Agg') import matplotlib.pyplot as plt from gammapy.astro.population.spatial import ValleeSpiral, FaucherSpiral vallee_spiral = ValleeSpiral() faucher_spiral = F...
28.351351
85
0.737846
3f464d492cb70cfcafd85a5cef1d4df43430ab0b
7,462
py
Python
pytc/fitters/bayesian.py
jharman25/pytc
d9ccde3f04e35a3d821ff37a4ad42e62a048d4ac
[ "Unlicense" ]
20
2017-04-27T16:30:03.000Z
2021-08-12T19:42:05.000Z
pytc/fitters/bayesian.py
jharman25/pytc
d9ccde3f04e35a3d821ff37a4ad42e62a048d4ac
[ "Unlicense" ]
20
2021-05-03T18:02:23.000Z
2022-03-12T12:01:04.000Z
Lib/site-packages/pytc/fitters/bayesian.py
fochoao/cpython
3dc84b260e5bced65ebc2c45c40c8fa65f9b5aa9
[ "bzip2-1.0.6", "0BSD" ]
6
2016-06-23T00:54:21.000Z
2020-05-19T05:24:20.000Z
__description__ = \ """ Fitter subclass for performing bayesian (MCMC) fits. """ __author__ = "Michael J. Harms" __date__ = "2017-05-10" from .base import Fitter import emcee, corner import numpy as np import scipy.optimize as optimize import multiprocessing
32.163793
90
0.598767
3f473e7173cd4e6d679a1656ee0296fc204724d2
166
py
Python
code/taskB/models.py
nft-appraiser/nft-appraiser-api
6d6495049851afd3d9bfc6969d0e1c9bc430dc81
[ "MIT" ]
null
null
null
code/taskB/models.py
nft-appraiser/nft-appraiser-api
6d6495049851afd3d9bfc6969d0e1c9bc430dc81
[ "MIT" ]
null
null
null
code/taskB/models.py
nft-appraiser/nft-appraiser-api
6d6495049851afd3d9bfc6969d0e1c9bc430dc81
[ "MIT" ]
null
null
null
from django.db import models
23.714286
63
0.728916
3f47e5cac2344784ba9a8fd0999bd621214986ec
669
py
Python
DesignPatterns/FactoryPattern/SimpleFactory/autoFactory.py
Py-Himanshu-Patel/Learn-Python
47a50a934cabcce3b1cbdd4c88141a51f21d3a05
[ "MIT" ]
null
null
null
DesignPatterns/FactoryPattern/SimpleFactory/autoFactory.py
Py-Himanshu-Patel/Learn-Python
47a50a934cabcce3b1cbdd4c88141a51f21d3a05
[ "MIT" ]
null
null
null
DesignPatterns/FactoryPattern/SimpleFactory/autoFactory.py
Py-Himanshu-Patel/Learn-Python
47a50a934cabcce3b1cbdd4c88141a51f21d3a05
[ "MIT" ]
null
null
null
from inspect import isclass, isabstract, getmembers import autos
25.730769
72
0.647235
3f48698c2248b56650a5e482a06629cf79f5bbbd
9,023
py
Python
Costa Rican Household Poverty Level Prediction/tens.py
hautan/train_tf
0946c7a497703f13c156de9f0135296fd91127ee
[ "Apache-2.0" ]
null
null
null
Costa Rican Household Poverty Level Prediction/tens.py
hautan/train_tf
0946c7a497703f13c156de9f0135296fd91127ee
[ "Apache-2.0" ]
null
null
null
Costa Rican Household Poverty Level Prediction/tens.py
hautan/train_tf
0946c7a497703f13c156de9f0135296fd91127ee
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # We must always import the relevant libraries for our problem at hand. NumPy and TensorFlow are required for this example. # https://www.kaggle.com/c/costa-rican-household-poverty-prediction/data#_=_ import numpy as np np.set_printoptions(threshold='nan') import matplotlib.pyplot as plt import...
62.659722
174
0.715283
3f4b0ed4eea9580bec7a5e2d579164110301a866
4,095
py
Python
DTL_tests/unittests/test_api.py
rocktavious/DevToolsLib
117200c91a3361e04f7c8e07d2ed4999bbcfc469
[ "MIT" ]
1
2015-03-23T18:52:12.000Z
2015-03-23T18:52:12.000Z
DTL_tests/unittests/test_api.py
rocktavious/DevToolsLib
117200c91a3361e04f7c8e07d2ed4999bbcfc469
[ "MIT" ]
null
null
null
DTL_tests/unittests/test_api.py
rocktavious/DevToolsLib
117200c91a3361e04f7c8e07d2ed4999bbcfc469
[ "MIT" ]
2
2017-05-21T12:50:41.000Z
2021-10-17T03:32:45.000Z
import os import time import unittest from DTL.api import * def main(): unittest.main(verbosity=2) if __name__ == '__main__': main()
35.301724
155
0.616361
3f4bd6114512c0dce72c018cd5c68157e1b63e0a
2,840
py
Python
src/yellow_ball/src/ball.py
AndyHUI711/ELEC3210-Group7
08e5d9a7566447349a33ef577499ac2edbb9d6c3
[ "IJG" ]
1
2021-12-16T09:57:44.000Z
2021-12-16T09:57:44.000Z
src/yellow_ball/src/ball.py
AndyHUI711/ELEC3210-Group7
08e5d9a7566447349a33ef577499ac2edbb9d6c3
[ "IJG" ]
null
null
null
src/yellow_ball/src/ball.py
AndyHUI711/ELEC3210-Group7
08e5d9a7566447349a33ef577499ac2edbb9d6c3
[ "IJG" ]
null
null
null
#!/usr/bin/env python import numpy as np import cv2 import math import rospy from cv_bridge import CvBridge, CvBridgeError from std_msgs.msg import Bool from sensor_msgs.msg import Image from geometry_msgs.msg import Twist bridge = CvBridge() laser_scan_on = True if __name__ == '__main__': main()
28.979592
107
0.560915
3f4d396e7dff26260074f0fb74d95a3f3b759b61
7,358
py
Python
dlkit/json_/authentication/queries.py
UOC/dlkit
a9d265db67e81b9e0f405457464e762e2c03f769
[ "MIT" ]
2
2018-02-23T12:16:11.000Z
2020-10-08T17:54:24.000Z
dlkit/json_/authentication/queries.py
UOC/dlkit
a9d265db67e81b9e0f405457464e762e2c03f769
[ "MIT" ]
87
2017-04-21T18:57:15.000Z
2021-12-13T19:43:57.000Z
dlkit/json_/authentication/queries.py
UOC/dlkit
a9d265db67e81b9e0f405457464e762e2c03f769
[ "MIT" ]
1
2018-03-01T16:44:25.000Z
2018-03-01T16:44:25.000Z
"""JSON implementations of authentication queries.""" # pylint: disable=no-init # Numerous classes don't require __init__. # pylint: disable=too-many-public-methods,too-few-public-methods # Number of methods are defined in specification # pylint: disable=protected-access # Access to protected methods allow...
36.425743
98
0.671786
3f4d7a70b7445e8fd4a01a87b193501aed45d294
2,944
py
Python
PyStellar/stellar/Git/service/git_commit_service.py
psgstellar/Stellar
947d4b3d9d6b9c74d4c9ebd29683793a8d86fad2
[ "Apache-2.0" ]
3
2021-01-24T17:07:55.000Z
2021-02-20T20:11:13.000Z
PyStellar/stellar/Git/service/git_commit_service.py
psgstellar/Stellar
947d4b3d9d6b9c74d4c9ebd29683793a8d86fad2
[ "Apache-2.0" ]
61
2021-01-10T12:59:01.000Z
2021-06-24T09:19:20.000Z
PyStellar/stellar/Git/service/git_commit_service.py
psgstellar/Stellar
947d4b3d9d6b9c74d4c9ebd29683793a8d86fad2
[ "Apache-2.0" ]
1
2021-01-14T05:23:32.000Z
2021-01-14T05:23:32.000Z
import requests import dateutil.parser import pytz from Git.dao.git_dao import GitOwnerRepo
43.940299
176
0.52038
3f4ed1f83045dc59c913f12ff649d24264b9e68d
10,199
py
Python
apps/jetbrains/jetbrains.py
HansKlokkenspel/knausj_talon
af9254f9b5be73187573f113a42c905146c0aabd
[ "Unlicense" ]
null
null
null
apps/jetbrains/jetbrains.py
HansKlokkenspel/knausj_talon
af9254f9b5be73187573f113a42c905146c0aabd
[ "Unlicense" ]
null
null
null
apps/jetbrains/jetbrains.py
HansKlokkenspel/knausj_talon
af9254f9b5be73187573f113a42c905146c0aabd
[ "Unlicense" ]
null
null
null
import os import os.path import requests import time from pathlib import Path from talon import ctrl, ui, Module, Context, actions, clip import tempfile # Courtesy of https://github.com/anonfunc/talon-user/blob/master/apps/jetbrains.py extendCommands = [] # Each IDE gets its own port, as otherwise you wouldn't be ab...
31.772586
90
0.654574
3f4f261effbec9ffc0f629f4f48d599f4fe3ee02
752
py
Python
be/model/db_conn.py
CharlesDDDD/bookstore
4052a06f5162100f14c4b762f058204792ceb3c3
[ "Apache-2.0" ]
null
null
null
be/model/db_conn.py
CharlesDDDD/bookstore
4052a06f5162100f14c4b762f058204792ceb3c3
[ "Apache-2.0" ]
null
null
null
be/model/db_conn.py
CharlesDDDD/bookstore
4052a06f5162100f14c4b762f058204792ceb3c3
[ "Apache-2.0" ]
null
null
null
from be.table.user import User from be.table.user_store import User_Store from be.table.store import Store
26.857143
94
0.610372
3f4f714fbc65f277fd1dc4334716ace380650956
22,334
py
Python
lib/roi_data_rel/fast_rcnn_rel.py
champon1020/TRACE
8ed0aed87e153af66f02502887a4de0d39867209
[ "MIT" ]
34
2021-08-19T05:59:58.000Z
2022-03-26T09:26:54.000Z
lib/roi_data_rel/fast_rcnn_rel.py
champon1020/TRACE
8ed0aed87e153af66f02502887a4de0d39867209
[ "MIT" ]
8
2021-09-15T05:27:23.000Z
2022-02-27T12:38:03.000Z
lib/roi_data_rel/fast_rcnn_rel.py
champon1020/TRACE
8ed0aed87e153af66f02502887a4de0d39867209
[ "MIT" ]
6
2021-09-16T10:51:38.000Z
2022-03-05T22:48:54.000Z
# Adapted by Ji Zhang, 2019 # # Based on Detectron.pytorch/lib/roi_data/fast_rcnn.py # Original license text: # -------------------------------------------------------- # Copyright (c) 2017-present, Facebook, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in ...
57.266667
138
0.69392
3f4fa826c96bbe11c4299dd6bc861d0f137a3106
5,957
py
Python
src/mysql/tables.py
katerina7479/sooty-shearwater
1319a6f55443a73e50d265286746edd722404649
[ "MIT" ]
null
null
null
src/mysql/tables.py
katerina7479/sooty-shearwater
1319a6f55443a73e50d265286746edd722404649
[ "MIT" ]
null
null
null
src/mysql/tables.py
katerina7479/sooty-shearwater
1319a6f55443a73e50d265286746edd722404649
[ "MIT" ]
null
null
null
import time import re from src.core.tables import Table, MigrationTable from src.core.constraints import Index def get_column_definition(self, column_name): '''Get the sql column definition Selects the column type, and YES or NO from the column, IS NULLABLE. That's enough information...
35.041176
108
0.583347
3f508ed942c873013d3f6f30b02515c9088ebbfe
2,418
py
Python
CvZoneCompetition.py
MoranLeven/CvZomeCompetition
f28dc81ad4139902d831c34649ff3996106a2496
[ "Apache-2.0" ]
null
null
null
CvZoneCompetition.py
MoranLeven/CvZomeCompetition
f28dc81ad4139902d831c34649ff3996106a2496
[ "Apache-2.0" ]
null
null
null
CvZoneCompetition.py
MoranLeven/CvZomeCompetition
f28dc81ad4139902d831c34649ff3996106a2496
[ "Apache-2.0" ]
null
null
null
import cv2 import numpy as np from time import sleep import random length_min = 80 # Minimum length of retangle height_min = 80 # Minimum height of the angle offset = 6 #Error allowed between pixel pos_linha = 550 delay = 60 #FPS of video detect = [] cars = 0 cap = cv2.VideoCapture ("DRONE-SURVEILLANCE-CONTEST-...
33.123288
118
0.611249
3f520d921ea722830523cfc9c9d0a7a9e7da7bf2
1,048
py
Python
setup.py
jiinus/django-db-prefix
2fae11b30dc339f3d4318a97900cf7cc4ff2cd51
[ "BSD-3-Clause" ]
11
2016-12-17T20:01:43.000Z
2022-02-24T16:35:36.000Z
setup.py
jiinus/django-db-prefix
2fae11b30dc339f3d4318a97900cf7cc4ff2cd51
[ "BSD-3-Clause" ]
4
2018-09-08T23:44:01.000Z
2021-09-22T06:33:16.000Z
setup.py
jiinus/django-db-prefix
2fae11b30dc339f3d4318a97900cf7cc4ff2cd51
[ "BSD-3-Clause" ]
11
2015-11-13T09:26:58.000Z
2021-12-20T11:51:44.000Z
# -*- coding: utf-8 -*- import os.path from distutils.core import setup setup( name='django-db-prefix', version='1.0', keywords='django database', author=u'Ben Slavin <benjamin.slavin@gmail.com>, Denilson S <denilsonsa@gmail.com>', packages=['django_db_prefix'], url='https://github.com/denils...
29.942857
100
0.625954
3f52461202339d3dfdcf90633c36a5d40fb4c967
2,104
py
Python
pyleecan/Methods/Slot/HoleUD/build_geometry.py
mjfwest/pyleecan
6946c863bea62d13f100def2d3f905c9de8721d0
[ "Apache-2.0" ]
1
2020-10-19T09:01:00.000Z
2020-10-19T09:01:00.000Z
pyleecan/Methods/Slot/HoleUD/build_geometry.py
mjfwest/pyleecan
6946c863bea62d13f100def2d3f905c9de8721d0
[ "Apache-2.0" ]
null
null
null
pyleecan/Methods/Slot/HoleUD/build_geometry.py
mjfwest/pyleecan
6946c863bea62d13f100def2d3f905c9de8721d0
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- from numpy import arcsin, arctan, cos, exp, array, angle, pi from numpy import imag as np_imag from scipy.optimize import fsolve from ....Classes.Segment import Segment from ....Classes.SurfLine import SurfLine from ....Classes.Arc1 import Arc1 from ....Methods import ParentMissingError from ....
30.941176
77
0.620722
3f52ca8d87119aa7ada69b18dd59026206c97a21
2,861
py
Python
tardis/tardis_portal/auth/localdb_auth.py
nrmay/mytardis
34a460cde6a847c66a6ec3725182c09dc9167bd5
[ "Apache-2.0" ]
null
null
null
tardis/tardis_portal/auth/localdb_auth.py
nrmay/mytardis
34a460cde6a847c66a6ec3725182c09dc9167bd5
[ "Apache-2.0" ]
null
null
null
tardis/tardis_portal/auth/localdb_auth.py
nrmay/mytardis
34a460cde6a847c66a6ec3725182c09dc9167bd5
[ "Apache-2.0" ]
null
null
null
''' Local DB Authentication module. .. moduleauthor:: Gerson Galang <gerson.galang@versi.edu.au> ''' import logging from django.contrib.auth.models import User, Group from django.contrib.auth.backends import ModelBackend from tardis.tardis_portal.auth.interfaces import AuthProvider, GroupProvider, UserProvider lo...
26.009091
90
0.595246
3f53cdf77e0b0d349cd123391fe47e0189614f36
29,318
py
Python
src/app.py
hubmapconsortium/search-api
21900c9ba5d353ab075d4b2cc217085b85d555b1
[ "MIT" ]
null
null
null
src/app.py
hubmapconsortium/search-api
21900c9ba5d353ab075d4b2cc217085b85d555b1
[ "MIT" ]
248
2020-02-27T20:45:25.000Z
2022-03-30T19:12:58.000Z
src/app.py
sennetconsortium/search-api
01a5c0ab8ec6abd147e5b04477ba10f80fedfdc3
[ "MIT" ]
1
2022-02-03T19:49:55.000Z
2022-02-03T19:49:55.000Z
import os import time from pathlib import Path from flask import Flask, jsonify, abort, request, Response, Request import concurrent.futures import threading import requests import logging import ast from urllib.parse import urlparse from flask import current_app as app from urllib3.exceptions import InsecureRequestWar...
38.934927
167
0.653728
3f55d1d3db5efaf77627369621529da7de9da985
149
py
Python
wordpress/apps.py
2e2a/django-wordpress
5417d98128ea6ad4308b250fdee65226e7deb628
[ "BSD-3-Clause" ]
1
2021-12-03T19:55:27.000Z
2021-12-03T19:55:27.000Z
wordpress/apps.py
2e2a/django-wordpress
5417d98128ea6ad4308b250fdee65226e7deb628
[ "BSD-3-Clause" ]
null
null
null
wordpress/apps.py
2e2a/django-wordpress
5417d98128ea6ad4308b250fdee65226e7deb628
[ "BSD-3-Clause" ]
null
null
null
from django.apps import AppConfig
24.833333
53
0.771812
3f5944acb466684ca6235f591cf5e26e8e10c295
2,613
py
Python
libs/libgmp/libgmp.py
wrobelda/craft-blueprints-kde
366f460cecd5baebdf3a695696767c8c0e5e7c7e
[ "BSD-2-Clause" ]
14
2017-09-04T09:01:03.000Z
2022-01-04T20:09:00.000Z
libs/libgmp/libgmp.py
wrobelda/craft-blueprints-kde
366f460cecd5baebdf3a695696767c8c0e5e7c7e
[ "BSD-2-Clause" ]
14
2017-12-15T08:11:22.000Z
2020-12-29T19:11:13.000Z
libs/libgmp/libgmp.py
wrobelda/craft-blueprints-kde
366f460cecd5baebdf3a695696767c8c0e5e7c7e
[ "BSD-2-Clause" ]
19
2017-09-05T19:16:21.000Z
2020-10-18T12:46:06.000Z
# -*- coding: utf-8 -*- # Copyright 2018 ukasz Wojniowicz <lukasz.wojnilowicz@gmail.com> # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # 1. Redistributions of source code must retain the above copyright # notice,...
42.836066
140
0.738615