hexsha
stringlengths
40
40
size
int64
1
1.03M
ext
stringclasses
10 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
3
239
max_stars_repo_name
stringlengths
5
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
239
max_issues_repo_name
stringlengths
5
130
max_issues_repo_head_hexsha
stringlengths
40
78
max_issues_repo_licenses
listlengths
1
10
max_issues_count
int64
1
67k
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
239
max_forks_repo_name
stringlengths
5
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.03M
avg_line_length
float64
1
958k
max_line_length
int64
1
1.03M
alphanum_fraction
float64
0
1
4a26bc021925afcec77a9c60b07998b318cfc32d
2,948
py
Python
dev/Tools/lmbr_aws/cli.py
jeikabu/lumberyard
07228c605ce16cbf5aaa209a94a3cb9d6c1a4115
[ "AML" ]
8
2019-10-07T16:33:47.000Z
2020-12-07T03:59:58.000Z
dev/Tools/lmbr_aws/cli.py
jeikabu/lumberyard
07228c605ce16cbf5aaa209a94a3cb9d6c1a4115
[ "AML" ]
null
null
null
dev/Tools/lmbr_aws/cli.py
jeikabu/lumberyard
07228c605ce16cbf5aaa209a94a3cb9d6c1a4115
[ "AML" ]
5
2020-08-27T20:44:18.000Z
2021-08-21T22:54:11.000Z
# # All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or # its licensors. # # For complete copyright and license terms please see the LICENSE at the root of this # distribution (the "License"). All use of this software is governed by the License, # or, if provided, by the license below or th...
45.353846
235
0.72863
4a26beeccdc06ef480105e99edcb3feed89192df
4,655
py
Python
sdk/python/pulumi_aws/codestarconnections/get_connection.py
aamir-locus/pulumi-aws
3e234b050129bde35d8e072a88bd608562f02142
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_aws/codestarconnections/get_connection.py
aamir-locus/pulumi-aws
3e234b050129bde35d8e072a88bd608562f02142
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_aws/codestarconnections/get_connection.py
aamir-locus/pulumi-aws
3e234b050129bde35d8e072a88bd608562f02142
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import...
33.978102
167
0.64812
4a26c0a268f444c831bd9f5f8d1897f593fe7994
1,914
py
Python
contrib/devtools/check-doc.py
SicNull/tiercoin
f5f52da02c1d23ffb571123582c6049359a9d4d0
[ "MIT" ]
null
null
null
contrib/devtools/check-doc.py
SicNull/tiercoin
f5f52da02c1d23ffb571123582c6049359a9d4d0
[ "MIT" ]
null
null
null
contrib/devtools/check-doc.py
SicNull/tiercoin
f5f52da02c1d23ffb571123582c6049359a9d4d0
[ "MIT" ]
null
null
null
#!/usr/bin/env python # Copyright (c) 2015-2016 The Bitcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. ''' This checks if all command line args are documented. Return value is 0 to indicate no error. Author: @...
42.533333
303
0.6907
4a26c1776b8bc89ea333624f090f331d1d755c7c
2,210
py
Python
migration/rack/commits/commit643839e7d8036731ba1da767942c8e74c2876e2e.py
tuxji/RACK
74b59b9a89b48cf2da91d7d9ac23ab3408e32bcf
[ "BSD-3-Clause" ]
4
2021-07-02T08:58:05.000Z
2022-02-02T03:02:32.000Z
migration/rack/commits/commit643839e7d8036731ba1da767942c8e74c2876e2e.py
tuxji/RACK
74b59b9a89b48cf2da91d7d9ac23ab3408e32bcf
[ "BSD-3-Clause" ]
309
2020-11-02T19:46:14.000Z
2022-03-24T21:35:28.000Z
migration/rack/commits/commit643839e7d8036731ba1da767942c8e74c2876e2e.py
tuxji/RACK
74b59b9a89b48cf2da91d7d9ac23ab3408e32bcf
[ "BSD-3-Clause" ]
7
2020-11-30T22:22:06.000Z
2022-02-02T03:09:12.000Z
# Copyright (c) 2021, Galois, Inc. # # All Rights Reserved # # This material is based upon work supported by the Defense Advanced Research # Projects Agency (DARPA) under Contract No. FA8750-20-C-0203. # # Any opinions, findings and conclusions or recommendations expressed in this # material are those of the author(s) ...
27.974684
78
0.593213
4a26c230f7a21cc6dd4a3cdb52e32730b1ce73ca
12,731
py
Python
v1_api_demo/gan/gan_trainer.py
shenchaohua/Paddle
9c5942db13308d53cc115708058c1e885f4b57a3
[ "Apache-2.0" ]
5
2017-06-20T06:13:01.000Z
2021-04-21T03:54:08.000Z
v1_api_demo/gan/gan_trainer.py
shenchaohua/Paddle
9c5942db13308d53cc115708058c1e885f4b57a3
[ "Apache-2.0" ]
9
2017-09-13T07:39:31.000Z
2017-10-18T05:58:23.000Z
v1_api_demo/gan/gan_trainer.py
shenchaohua/Paddle
9c5942db13308d53cc115708058c1e885f4b57a3
[ "Apache-2.0" ]
2
2017-07-16T03:19:48.000Z
2019-01-16T05:33:20.000Z
# Copyright (c) 2016 PaddlePaddle 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 applic...
36.374286
110
0.650774
4a26c2c4a2f686ef8a4a8e0511fec3385309d1e4
37,034
py
Python
google/ads/google_ads/v2/services/shared_set_service_client.py
jiulongw/google-ads-python
6f5256eb1eeb5a9a95c8cdb9b97988d3a676282e
[ "Apache-2.0" ]
1
2019-11-30T23:42:39.000Z
2019-11-30T23:42:39.000Z
google/ads/google_ads/v2/services/shared_set_service_client.py
jiulongw/google-ads-python
6f5256eb1eeb5a9a95c8cdb9b97988d3a676282e
[ "Apache-2.0" ]
null
null
null
google/ads/google_ads/v2/services/shared_set_service_client.py
jiulongw/google-ads-python
6f5256eb1eeb5a9a95c8cdb9b97988d3a676282e
[ "Apache-2.0" ]
1
2020-03-13T00:14:31.000Z
2020-03-13T00:14:31.000Z
# -*- coding: utf-8 -*- # # Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law...
62.557432
155
0.802398
4a26c2d979cb66afd8b6c37b60af9c3d88eb7ab2
1,672
py
Python
srcs/testset.py
huy-ha/PIXOR
9ad2b451470aa30c7dd40be23b526f6fbedb6bc1
[ "MIT" ]
259
2019-02-19T07:38:55.000Z
2022-03-28T05:58:42.000Z
srcs/testset.py
huy-ha/PIXOR
9ad2b451470aa30c7dd40be23b526f6fbedb6bc1
[ "MIT" ]
30
2019-02-18T08:43:27.000Z
2021-02-05T15:51:36.000Z
srcs/testset.py
huy-ha/PIXOR
9ad2b451470aa30c7dd40be23b526f6fbedb6bc1
[ "MIT" ]
59
2018-10-28T17:42:03.000Z
2022-02-15T11:59:32.000Z
import glob import pandas as pd import numpy as np import os.path from PIL import Image class TestSet(object): def __init__(self, basedir, bagname): self.basedir = basedir self.bagname = bagname self.data_path = os.path.join(basedir, bagname) self.imtype = 'png' ...
31.54717
98
0.610048
4a26c309499eeb68c48f7e886174b0e5cd38e061
28,031
py
Python
remofile/cli.py
Sonkun/remofile
918adf1bfb3f21356848834457ec043afe53b6f1
[ "MIT" ]
1
2018-10-17T14:22:05.000Z
2018-10-17T14:22:05.000Z
remofile/cli.py
intjelic/remofile
918adf1bfb3f21356848834457ec043afe53b6f1
[ "MIT" ]
null
null
null
remofile/cli.py
intjelic/remofile
918adf1bfb3f21356848834457ec043afe53b6f1
[ "MIT" ]
1
2019-01-09T19:46:45.000Z
2019-01-09T19:46:45.000Z
# Remofile - Quick and easy-to-use alternative to FTP # # This file is distributed under the MIT License. See the LICENSE file # in the root of this project for more information. # # Written by Jonathan De Wachter <dewachter.jonathan@gmail.com>, March 2018 import os import sys from datetime import datetime from pathli...
39.204196
146
0.680711
4a26c31eece135515456c19395f35833176ce67d
1,004
py
Python
userbot/modules/direct_message.py
vckyou/XBot-Remix
ec19357fe7de1ce5f8ad7a7c3cc5fc37553dd955
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
userbot/modules/direct_message.py
vckyou/XBot-Remix
ec19357fe7de1ce5f8ad7a7c3cc5fc37553dd955
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
userbot/modules/direct_message.py
vckyou/XBot-Remix
ec19357fe7de1ce5f8ad7a7c3cc5fc37553dd955
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
from userbot.events import register from userbot import CMD_HELP # Ported By @VckyouuBitch From GeezProject # Devoted To GeezProject @register(outgoing=True, pattern=r"^\.(?:dm)\s?(.*)?") async def remoteaccess(event): p = event.pattern_match.group(1) m = p.split(" ") chat_id = m[0] try: ch...
24.487805
70
0.619522
4a26c3bb8c9fc0048af75e918c7aa4ce31ca0d37
3,452
py
Python
examples/xgb_master.py
rmill040/ptuner
bf76ca75ad79a0def7965dd29f3e44056b1d8f09
[ "MIT" ]
1
2020-06-24T16:04:44.000Z
2020-06-24T16:04:44.000Z
examples/xgb_master.py
rmill040/ptuner
bf76ca75ad79a0def7965dd29f3e44056b1d8f09
[ "MIT" ]
null
null
null
examples/xgb_master.py
rmill040/ptuner
bf76ca75ad79a0def7965dd29f3e44056b1d8f09
[ "MIT" ]
null
null
null
import numpy as np import os from sklearn.model_selection import train_test_split from xgboost import XGBClassifier # Custom imports from ptuner import ParallelPipelineTuner, STATUS_FAIL, STATUS_OK from ptuner.spaces import NaiveFeatureSampler, SpaceSampler, XGBClassifierSampler DATA_DIR = os.path.dirname(os.path.abs...
27.616
93
0.519699
4a26c432d3ca46baaa9603e334480ab69d6a58df
8,128
py
Python
.waf.rej/.waf-1.6.11-30618c54883417962c38f5d395f83584/waflib/Tools/tex.py
acstanton515/Tree-Based-Routing
90742ec5908061e77b473fd2feb6733ad6592da9
[ "MIT" ]
null
null
null
.waf.rej/.waf-1.6.11-30618c54883417962c38f5d395f83584/waflib/Tools/tex.py
acstanton515/Tree-Based-Routing
90742ec5908061e77b473fd2feb6733ad6592da9
[ "MIT" ]
null
null
null
.waf.rej/.waf-1.6.11-30618c54883417962c38f5d395f83584/waflib/Tools/tex.py
acstanton515/Tree-Based-Routing
90742ec5908061e77b473fd2feb6733ad6592da9
[ "MIT" ]
null
null
null
#! /usr/bin/env python # encoding: utf-8 # WARNING! Do not edit! http://waf.googlecode.com/git/docs/wafbook/single.html#_obtaining_the_waf_file import os,re from waflib import Utils,Task,Errors from waflib.TaskGen import feature,before_method from waflib.Logs import error,warn,debug re_bibunit=re.compile(r'\\(?P<type>...
33.586777
152
0.687131
4a26c4e4466394f0d221797f83ca00d6ca6ae12e
2,608
py
Python
talentmap_api/fsbid/tests/test_fsbid_bidlist.py
burgwyn/State-TalentMAP-API
1f4f3659c5743ebfd558cd87af381f5460f284b3
[ "CC0-1.0" ]
5
2018-08-09T18:51:12.000Z
2021-11-08T10:28:17.000Z
talentmap_api/fsbid/tests/test_fsbid_bidlist.py
burgwyn/State-TalentMAP-API
1f4f3659c5743ebfd558cd87af381f5460f284b3
[ "CC0-1.0" ]
13
2019-01-11T18:19:33.000Z
2021-03-22T17:15:17.000Z
talentmap_api/fsbid/tests/test_fsbid_bidlist.py
burgwyn/State-TalentMAP-API
1f4f3659c5743ebfd558cd87af381f5460f284b3
[ "CC0-1.0" ]
4
2018-06-13T14:49:27.000Z
2021-06-30T22:29:15.000Z
import pytest import datetime from dateutil.relativedelta import relativedelta from model_mommy import mommy from unittest.mock import Mock, patch from rest_framework import status from django.utils import timezone import talentmap_api.fsbid.services as services bid = { "submittedDate": "2019/01/01", "statusCode...
36.732394
83
0.717408
4a26c586498b6c8bde6f47a2e0d479b19c7f03ad
873
py
Python
rsa/src/crypto/cipher_test.py
rafaelcn/cryptography
38de104b4a264a9f71d40f6306bfe96e24e6985b
[ "MIT" ]
null
null
null
rsa/src/crypto/cipher_test.py
rafaelcn/cryptography
38de104b4a264a9f71d40f6306bfe96e24e6985b
[ "MIT" ]
null
null
null
rsa/src/crypto/cipher_test.py
rafaelcn/cryptography
38de104b4a264a9f71d40f6306bfe96e24e6985b
[ "MIT" ]
null
null
null
import unittest from crypto import key from crypto import primes from crypto import cipher # PYTHONPATH=. python3 src/cipher_test.py (on src) # PYTHONPATH=../ python3 cipher_test.py (on crypto) class TestKeyAlgorithms(unittest.TestCase): def test_key_gen(self): p = primes.get_random_bits(1024) q...
26.454545
74
0.654066
4a26c5d77ab0fee9d615d30d3a46fa6648183122
148
py
Python
paperjam/codes.py
MineRobber9000/paperjam
f91d8d349f92268afc19414c5b5e27fe37488143
[ "MIT" ]
null
null
null
paperjam/codes.py
MineRobber9000/paperjam
f91d8d349f92268afc19414c5b5e27fe37488143
[ "MIT" ]
null
null
null
paperjam/codes.py
MineRobber9000/paperjam
f91d8d349f92268afc19414c5b5e27fe37488143
[ "MIT" ]
null
null
null
from enum import Enum class Codes(Enum): HELLO_POSTING = 200 HELLO_NOPOST = 201 GOODBYE = 205 TEMP_UNAVAILABLE = 400 PERM_UNAVAILABLE = 502
14.8
23
0.75
4a26c60d9fe0a6b4323489911c9aa7674c735b8d
306
py
Python
setup.py
jpmfribeiro/PyCharts
e1b52ba11adbb8fa884116019e2321bc769adfba
[ "MIT" ]
null
null
null
setup.py
jpmfribeiro/PyCharts
e1b52ba11adbb8fa884116019e2321bc769adfba
[ "MIT" ]
null
null
null
setup.py
jpmfribeiro/PyCharts
e1b52ba11adbb8fa884116019e2321bc769adfba
[ "MIT" ]
null
null
null
from distutils.core import setup setup( name='PyCharts', version='', packages=['pycharts', 'pycharts.charts', 'pycharts.fields', 'pycharts.fields.series', 'pycharts.fields.plot_options'], url='', license='', author='jpedro', author_email='', description='' )
21.857143
91
0.611111
4a26c6f8f858cbaadcc9f82323fc7e8743a4dfd5
3,786
py
Python
vlapy/core/field.py
kyleniemeyer/VlaPy
efbd38f0d53fb4a5ffa61ecbfbc14d3383eb0f48
[ "MIT" ]
22
2020-03-02T10:46:59.000Z
2022-03-29T12:04:55.000Z
vlapy/core/field.py
kyleniemeyer/VlaPy
efbd38f0d53fb4a5ffa61ecbfbc14d3383eb0f48
[ "MIT" ]
68
2020-03-13T01:16:07.000Z
2020-09-17T05:18:06.000Z
vlapy/core/field.py
kyleniemeyer/VlaPy
efbd38f0d53fb4a5ffa61ecbfbc14d3383eb0f48
[ "MIT" ]
10
2020-02-24T18:55:41.000Z
2021-10-01T12:16:23.000Z
# MIT License # # Copyright (c) 2020 Archis Joglekar # # 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, mer...
35.055556
111
0.717644
4a26c704afa1a27eb9993c040d00f727b45f776e
292
py
Python
dim/nn/modules/mseLoss.py
xhqing/dim
ea776d05568641565358213ea402422102dc53d8
[ "MIT" ]
null
null
null
dim/nn/modules/mseLoss.py
xhqing/dim
ea776d05568641565358213ea402422102dc53d8
[ "MIT" ]
null
null
null
dim/nn/modules/mseLoss.py
xhqing/dim
ea776d05568641565358213ea402422102dc53d8
[ "MIT" ]
null
null
null
import dim from .module import Module class MSELoss(Module): def __init__(self): super(MSELoss,self).__init__() self.moduleList.append({"name":None,"module":self}) def forward(self,x,y): return dim.nn.functional.mseLoss(x,y) def __str__(self): return "MSELoss()"
22.461538
56
0.681507
4a26c8a5b240e964460cff33c7238a4d033c2d92
1,245
py
Python
201-250/209.py
yshshadow/Leetcode
5097f69bb0050d963c784d6bc0e88a7e871568ed
[ "MIT" ]
null
null
null
201-250/209.py
yshshadow/Leetcode
5097f69bb0050d963c784d6bc0e88a7e871568ed
[ "MIT" ]
null
null
null
201-250/209.py
yshshadow/Leetcode
5097f69bb0050d963c784d6bc0e88a7e871568ed
[ "MIT" ]
null
null
null
# Given an array of n positive integers and a positive integer s, find the minimal length of a contiguous subarray of which the sum ≥ s. If there isn't one, return 0 instead. # # Example: # # Input: s = 7, nums = [2,3,1,2,4,3] # Output: 2 # Explanation: the subarray [4,3] has the minimal length under the problem constr...
31.923077
174
0.533333
4a26c8d1c7e68ea2366f00c6869f1d0e1b77976c
107
py
Python
mkdocs/utils/filters.py
davidhrbac/mkdocs
3c8a1fccca29272ce327e89c398a55771a7f5635
[ "BSD-2-Clause" ]
57
2016-09-28T01:19:35.000Z
2022-01-07T13:59:21.000Z
mkdocs/utils/filters.py
hufyhang/mkdocs
4c4ef7fa7224713e17d479742c2df1b2fc78edcb
[ "BSD-2-Clause" ]
16
2017-02-06T15:48:03.000Z
2018-02-28T21:40:10.000Z
mkdocs/utils/filters.py
hufyhang/mkdocs
4c4ef7fa7224713e17d479742c2df1b2fc78edcb
[ "BSD-2-Clause" ]
81
2016-09-06T04:21:06.000Z
2022-03-10T06:32:45.000Z
import json import jinja2 def tojson(obj, **kwargs): return jinja2.Markup(json.dumps(obj, **kwargs))
15.285714
51
0.71028
4a26c9bd57bfe5b46598f4f2f47063acc1f2eb86
10,579
py
Python
altimeter/core/graph/link/links.py
AmOr1984v02/altimeter
4adcf8d759b1f3f615b00521cc1756c8007e04f3
[ "MIT" ]
null
null
null
altimeter/core/graph/link/links.py
AmOr1984v02/altimeter
4adcf8d759b1f3f615b00521cc1756c8007e04f3
[ "MIT" ]
null
null
null
altimeter/core/graph/link/links.py
AmOr1984v02/altimeter
4adcf8d759b1f3f615b00521cc1756c8007e04f3
[ "MIT" ]
null
null
null
"""A Link represents the predicate-object portion of a triple.""" import uuid from typing import Any, Dict, Type, List, Union from rdflib import BNode, Graph, Literal, Namespace, RDF, URIRef, XSD from altimeter.core.graph.exceptions import LinkParseException from altimeter.core.graph.link.base import Link from altime...
36.98951
99
0.604594
4a26c9d857b1b26486895b298c840056c3b26b9e
250
py
Python
tests/atgtasks_test.py
seba-1511/atg
8f0b135d1a32c613f6726c7b28d165b8fd63c94c
[ "MIT" ]
null
null
null
tests/atgtasks_test.py
seba-1511/atg
8f0b135d1a32c613f6726c7b28d165b8fd63c94c
[ "MIT" ]
null
null
null
tests/atgtasks_test.py
seba-1511/atg
8f0b135d1a32c613f6726c7b28d165b8fd63c94c
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import unittest class UtilTests(unittest.TestCase): def setUp(self): pass def tearDown(self): pass def test_myfunctionality(self): pass if __name__ == '__main__': unittest.main()
12.5
35
0.624
4a26ca796ab709e4845e05b9e1f57252efb98bbd
468
py
Python
codewars/7kyu/evenOrOdd.py
jglez/code-solutions
92e9f8f249e238f94e01db71663eac4c82b1a0ef
[ "MIT" ]
null
null
null
codewars/7kyu/evenOrOdd.py
jglez/code-solutions
92e9f8f249e238f94e01db71663eac4c82b1a0ef
[ "MIT" ]
null
null
null
codewars/7kyu/evenOrOdd.py
jglez/code-solutions
92e9f8f249e238f94e01db71663eac4c82b1a0ef
[ "MIT" ]
null
null
null
""" Task: Given a list of integers, determine whether the sum of its elements is odd or even. Give your answer as a string matching "odd" or "even". If the input array is empty consider it as: [0] (array with a zero). Examples: Input: [0] Output: "even" Input: [0, 1, 4] Output: "odd" ...
18.72
87
0.57906
4a26cb5b4f29be2ed89f6009b7b32310da4aa22a
19,985
py
Python
pysnmp-with-texts/SNMPEXT-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
8
2019-05-09T17:04:00.000Z
2021-06-09T06:50:51.000Z
pysnmp-with-texts/SNMPEXT-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
4
2019-05-31T16:42:59.000Z
2020-01-31T21:57:17.000Z
pysnmp-with-texts/SNMPEXT-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module SNMPEXT-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/SNMPEXT-MIB # Produced by pysmi-0.3.4 at Wed May 1 15:08:41 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 0...
163.811475
1,725
0.805154
4a26cb76736439c5177b862367a683486d414ac1
3,425
py
Python
examples/submission/fleur_specific_tests/test_CuBulk_fleur.py
broeder-j/aiida_fleur_plugin
cca54b194f4b217abb69aaa1fca0db52c6c830c3
[ "MIT" ]
1
2017-02-07T12:31:38.000Z
2017-02-07T12:31:38.000Z
examples/submission/fleur_specific_tests/test_CuBulk_fleur.py
broeder-j/aiida_fleur_plugin
cca54b194f4b217abb69aaa1fca0db52c6c830c3
[ "MIT" ]
16
2017-04-03T11:42:50.000Z
2017-05-18T16:25:39.000Z
examples/submission/fleur_specific_tests/test_CuBulk_fleur.py
broeder-j/aiida_fleur_plugin
cca54b194f4b217abb69aaa1fca0db52c6c830c3
[ "MIT" ]
null
null
null
#!/usr/bin/env runaiida # -*- coding: utf-8 -*- from __future__ import absolute_import from __future__ import print_function __copyright__ = (u'Copyright (c), 2016, Forschungszentrum Jülich GmbH, ' 'IAS-1/PGI-1, Germany. All rights reserved.') __license__ = 'MIT license, see LICENSE.txt file' __versi...
33.252427
117
0.714161
4a26cbf032c98380663861230020455fdc8e0ad1
950
py
Python
server/app/utils/misc.py
SheetWithoutShit/sws-server
16b7154188f08b33f84d88caea217673cf989b2b
[ "MIT" ]
null
null
null
server/app/utils/misc.py
SheetWithoutShit/sws-server
16b7154188f08b33f84d88caea217673cf989b2b
[ "MIT" ]
57
2020-08-01T14:58:59.000Z
2020-09-20T13:27:16.000Z
server/app/utils/misc.py
SpentlessInc/spentless-server
16b7154188f08b33f84d88caea217673cf989b2b
[ "MIT" ]
null
null
null
"""This module provides misc functions.""" import asyncio import logging from app.utils.errors import RetryError LOGGER = logging.getLogger(__name__) def retry(times, retry_interval=2): """Decorator that provides backoff retries.""" def func_wrapper(func): """Function wrapper.""" async def...
28.787879
78
0.510526
4a26cd0ed194730ea747f0ef6622227fe6c84ff9
2,354
py
Python
lnt/testing/profile/profilev1impl.py
llvm/lnt
77e0a25f996a5363e23f701c0d995525a5c6484a
[ "Apache-2.0" ]
null
null
null
lnt/testing/profile/profilev1impl.py
llvm/lnt
77e0a25f996a5363e23f701c0d995525a5c6484a
[ "Apache-2.0" ]
null
null
null
lnt/testing/profile/profilev1impl.py
llvm/lnt
77e0a25f996a5363e23f701c0d995525a5c6484a
[ "Apache-2.0" ]
null
null
null
from lnt.testing.profile.profile import ProfileImpl import pickle import zlib class ProfileV1(ProfileImpl): """ ProfileV1 files not clever in any way. They are simple Python objects with the profile data layed out in the most obvious way for production/consumption that are then pickled and compressed. They are e...
27.057471
77
0.584537
4a26cd7230b52b52759159c2aeac729e2261aebf
2,674
py
Python
tohu/v4/set_special_methods.py
maxalbert/tohu
3adf0c58b13ef1e1d716d7d613484d2adc58fb60
[ "MIT" ]
1
2019-03-07T19:58:45.000Z
2019-03-07T19:58:45.000Z
tohu/v4/set_special_methods.py
maxalbert/tohu
3adf0c58b13ef1e1d716d7d613484d2adc58fb60
[ "MIT" ]
9
2017-10-04T15:08:53.000Z
2021-02-02T21:51:41.000Z
tohu/v4/set_special_methods.py
maxalbert/tohu
3adf0c58b13ef1e1d716d7d613484d2adc58fb60
[ "MIT" ]
null
null
null
""" This module is not meant to be imported directly. Its purpose is to patch the TohuBaseGenerator class so that its special methods __add__, __mul__ etc. support other generators as arguments. """ from operator import add, mul, gt, ge, lt, le, eq from .base import TohuBaseGenerator from .primitive_generators import...
29.384615
102
0.775243
4a26cf0eadec9d8cb44f64b3871c597d4ac9a175
15,865
py
Python
modules/flow0d/flow0d.py
marchirschvogel/ambit
9c21852d2c7c562b7accdd34025fc6b829eb1d3e
[ "BSD-4-Clause" ]
3
2021-03-22T14:17:09.000Z
2021-05-03T15:24:09.000Z
modules/flow0d/flow0d.py
marchirschvogel/ambit
9c21852d2c7c562b7accdd34025fc6b829eb1d3e
[ "BSD-4-Clause" ]
null
null
null
modules/flow0d/flow0d.py
marchirschvogel/ambit
9c21852d2c7c562b7accdd34025fc6b829eb1d3e
[ "BSD-4-Clause" ]
2
2021-03-29T10:52:09.000Z
2021-11-26T15:56:38.000Z
#!/usr/bin/env python3 # Copyright (c) 2019-2022, Dr.-Ing. Marc Hirschvogel # All rights reserved. # This source code is licensed under the BSD-style license found in the # LICENSE file in the root directory of this source tree. import time, sys import numpy as np from petsc4py import PETSc import timeintegration i...
47.642643
310
0.645194
4a26cf16f44476d5a82c2d4f0ea0f567b46e241d
13,427
py
Python
lib/python3.8/site-packages/ansible_collections/community/postgresql/plugins/modules/postgresql_copy.py
cjsteel/python3-venv-ansible-2.10.5
c95395c4cae844dc66fddde9b4343966f4b2ecd5
[ "Apache-1.1" ]
null
null
null
lib/python3.8/site-packages/ansible_collections/community/postgresql/plugins/modules/postgresql_copy.py
cjsteel/python3-venv-ansible-2.10.5
c95395c4cae844dc66fddde9b4343966f4b2ecd5
[ "Apache-1.1" ]
null
null
null
lib/python3.8/site-packages/ansible_collections/community/postgresql/plugins/modules/postgresql_copy.py
cjsteel/python3-venv-ansible-2.10.5
c95395c4cae844dc66fddde9b4343966f4b2ecd5
[ "Apache-1.1" ]
null
null
null
#!/usr/bin/python # -*- coding: utf-8 -*- # Copyright: (c) 2019, Andrew Klychkov (@Andersson007) <aaklychkov@mail.ru> # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import (absolute_import, division, print_function) __metaclass__ = type DOCUMENTATION = r'...
31.893112
110
0.639011
4a26d0c8a60ccadafa610a32e97a2d93b6bed596
2,918
py
Python
build_word2vec_model_v020.py
espoirMur/balobi_nini
b68b9af4c84ec0f5b38ae8ba52d5f0d32b41ead3
[ "Unlicense" ]
1
2020-09-30T08:03:10.000Z
2020-09-30T08:03:10.000Z
build_word2vec_model_v020.py
espoirMur/balobi_nini
b68b9af4c84ec0f5b38ae8ba52d5f0d32b41ead3
[ "Unlicense" ]
22
2020-09-23T14:05:33.000Z
2021-12-04T22:40:41.000Z
build_word2vec_model_v020.py
espoirMur/balobi_nini
b68b9af4c84ec0f5b38ae8ba52d5f0d32b41ead3
[ "Unlicense" ]
1
2021-07-29T10:38:13.000Z
2021-07-29T10:38:13.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # Filename: my-word-to-vec.py # Author: #cf # Version 0.2.0 (2016-10-08) from pathlib import Path """ Function to build word2vec models from text files using gensim. https://rare-technologies.com/word2vec-tutorial/ """ ################## # Parameters ################## ...
27.790476
90
0.537012
4a26d0fcaeaa80b801a429881bc43214b194642e
2,555
py
Python
setup.py
MattTunny/SeleniumBase
d85071074137b1d6070ec3d73122a0de966c844b
[ "MIT" ]
null
null
null
setup.py
MattTunny/SeleniumBase
d85071074137b1d6070ec3d73122a0de966c844b
[ "MIT" ]
null
null
null
setup.py
MattTunny/SeleniumBase
d85071074137b1d6070ec3d73122a0de966c844b
[ "MIT" ]
null
null
null
""" The setup package to install SeleniumBase dependencies and plugins (Uses selenium 3.x and is compatible with Python 2.7+ and Python 3.6+) """ from setuptools import setup, find_packages # noqa setup( name='seleniumbase', version='1.12.3', description='Web Automation & Testing Framework - http://selen...
35.486111
79
0.590607
4a26d13b953bbc6600e94ed9330b38d1a84174ab
4,612
py
Python
PythonAPI/carissma_project/lib/python3.5/site-packages/mpl_toolkits/mplot3d/proj3d.py
AbdulHoffmann/carla_carissma
8d382769ffa02a6c61a22c57160285505f5ff0a4
[ "MIT" ]
445
2019-01-26T13:50:26.000Z
2022-03-18T05:17:38.000Z
venv/lib/python3.7/site-packages/mpl_toolkits/mplot3d/proj3d.py
John1001Song/Big-Data-Robo-Adviser
9444dce96954c546333d5aecc92a06c3bfd19aa5
[ "MIT" ]
242
2019-01-29T15:48:27.000Z
2022-03-31T22:09:21.000Z
venv/lib/python3.7/site-packages/mpl_toolkits/mplot3d/proj3d.py
John1001Song/Big-Data-Robo-Adviser
9444dce96954c546333d5aecc92a06c3bfd19aa5
[ "MIT" ]
64
2018-04-25T08:51:57.000Z
2022-01-29T14:13:57.000Z
# 3dproj.py # """ Various transforms used for by the 3D code """ import numpy as np import numpy.linalg as linalg def line2d(p0, p1): """ Return 2D equation of line in the form ax+by+c = 0 """ # x + x1 = 0 x0, y0 = p0[:2] x1, y1 = p1[:2] # if x0 == x1: a = -1 b = 0 ...
23.292929
77
0.48634
4a26d24bd9839edbd3218a3722f24aa43333327e
16,518
py
Python
hityper/__main__.py
JohnnyPeng18/HiTyper
1e80e85e204dbaca522a0c06309479e29ce5d94c
[ "Apache-2.0" ]
2
2022-02-05T08:46:09.000Z
2022-02-06T06:03:16.000Z
hityper/__main__.py
JohnnyPeng18/HiTyper
1e80e85e204dbaca522a0c06309479e29ce5d94c
[ "Apache-2.0" ]
2
2022-03-24T12:36:45.000Z
2022-03-30T07:34:18.000Z
hityper/__main__.py
JohnnyPeng18/HiTyper
1e80e85e204dbaca522a0c06309479e29ce5d94c
[ "Apache-2.0" ]
null
null
null
import argparse import subprocess import ast import os import json import traceback from hityper.tdg_generator import TDGGenerator from hityper.usertype_finder import UsertypeFinder from hityper.utils import formatUserTypes, getRecommendations, test_multiplefile from hityper.config import config from hityper import log...
58.367491
192
0.568047
4a26d27f52a034694e96532fa1c97b8c9fe862a1
16,442
py
Python
nikola/plugins/compile/rest/__init__.py
asmeurer/nikola
ea1c651bfed0fd6337f1d22cf8dd99899722912c
[ "MIT" ]
null
null
null
nikola/plugins/compile/rest/__init__.py
asmeurer/nikola
ea1c651bfed0fd6337f1d22cf8dd99899722912c
[ "MIT" ]
null
null
null
nikola/plugins/compile/rest/__init__.py
asmeurer/nikola
ea1c651bfed0fd6337f1d22cf8dd99899722912c
[ "MIT" ]
1
2021-07-07T11:32:42.000Z
2021-07-07T11:32:42.000Z
# -*- coding: utf-8 -*- # Copyright © 2012-2020 Roberto Alsina and others. # 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 t...
40.69802
159
0.637392
4a26d2a3d733de0106a6f42ca5f91b1e7d57a812
17
py
Python
hdltools/__init__.py
brunosmmm/hdltools
a98ca8c4d168740fa229c939a7b1f31ea73eec24
[ "MIT" ]
2
2020-02-28T13:02:39.000Z
2021-06-30T09:15:35.000Z
hdltools/__init__.py
brunosmmm/hdltools
a98ca8c4d168740fa229c939a7b1f31ea73eec24
[ "MIT" ]
1
2020-03-22T17:32:45.000Z
2020-03-23T15:43:39.000Z
hdltools/__init__.py
brunosmmm/hdltools
a98ca8c4d168740fa229c939a7b1f31ea73eec24
[ "MIT" ]
null
null
null
"""HDL Tools."""
8.5
16
0.470588
4a26d2a5577efd7afb31f4525dcbd8683d74a5c1
7,755
py
Python
caseworker/core/services.py
django-doctor/lite-frontend
330ff9575fd22d7c4c42698ac2d653244e6180d6
[ "MIT" ]
1
2021-10-16T16:36:58.000Z
2021-10-16T16:36:58.000Z
caseworker/core/services.py
django-doctor/lite-frontend
330ff9575fd22d7c4c42698ac2d653244e6180d6
[ "MIT" ]
45
2020-08-11T14:37:46.000Z
2022-03-29T17:03:02.000Z
caseworker/core/services.py
django-doctor/lite-frontend
330ff9575fd22d7c4c42698ac2d653244e6180d6
[ "MIT" ]
3
2021-02-01T06:26:19.000Z
2022-02-21T23:02:46.000Z
from collections import defaultdict from caseworker.users.services import get_gov_user from core import client from core.helpers import convert_value_to_query_param from caseworker.cases.constants import CaseType, CaseStatusEnum from lite_forms.components import Option def get_denial_reasons(request, convert_to_opti...
37.283654
119
0.648485
4a26d2f94bca429c7f22505c371e0b6c3c9fc917
1,850
py
Python
build/lib/skedm/version.py
NickC1/sknla
4a33011537961d0aa08e6c4245684088a6f8f5c4
[ "MIT" ]
21
2017-03-04T00:55:57.000Z
2021-06-20T00:33:06.000Z
build/lib/skedm/version.py
NickC1/sknla
4a33011537961d0aa08e6c4245684088a6f8f5c4
[ "MIT" ]
3
2017-03-17T21:35:02.000Z
2019-01-11T16:59:08.000Z
build/lib/skedm/version.py
NickC1/sknla
4a33011537961d0aa08e6c4245684088a6f8f5c4
[ "MIT" ]
15
2017-06-06T08:17:08.000Z
2021-11-08T23:15:30.000Z
from os.path import join as pjoin # Format expected by setup.py and doc/source/conf.py: string of form "X.Y.Z" _version_major = 0 _version_minor = 2 _version_micro = '' # use '' for first of series, number for 1 and above _version_extra = 'dev' #_version_extra = '' # Uncomment this for full releases # Construct ful...
31.896552
87
0.712432
4a26d3411595c7bd2dfb4d9e5660b668e90fe5a1
21,151
py
Python
examples.py
bvilhjal/mixmogam
766b889d4f5e97f4c9a960e3a007b125137ba796
[ "MIT" ]
15
2015-08-02T05:39:06.000Z
2021-12-22T12:13:21.000Z
examples.py
bvilhjal/mixmogam
766b889d4f5e97f4c9a960e3a007b125137ba796
[ "MIT" ]
null
null
null
examples.py
bvilhjal/mixmogam
766b889d4f5e97f4c9a960e3a007b125137ba796
[ "MIT" ]
8
2017-02-16T07:35:59.000Z
2022-02-11T19:56:19.000Z
""" Examples for how to perform GWAS using mixed models, and stepwise mixed models. Author: Bjarni J. Vilhjalmsson Email: bjarni.vilhjalmsson@gmail.com """ def load_a_thaliana_genotypes(): """ Loads A. thaliana genotypes (Horton et al., 2012) and returns a snps_data object """ import dataParsers as ...
38.952118
133
0.603896
4a26d3711dc98b9abb95a6124380fd82743d7f67
99
py
Python
bb_django_library/models.py
openbox/bb-django-library
eb4db4308ecda82125fa1f99fe6aa8cdd9e13eb7
[ "MIT" ]
null
null
null
bb_django_library/models.py
openbox/bb-django-library
eb4db4308ecda82125fa1f99fe6aa8cdd9e13eb7
[ "MIT" ]
4
2019-10-02T21:46:28.000Z
2021-06-10T21:09:12.000Z
bb_django_library/models.py
openbox/bb-django-library
eb4db4308ecda82125fa1f99fe6aa8cdd9e13eb7
[ "MIT" ]
null
null
null
from django.db import models class Foo(models.Model): bar = models.CharField(max_length=255)
16.5
42
0.747475
4a26d5a6439a8fed7c57ca5d77fd57f95a4e2733
1,709
py
Python
test/test_styles.py
Inveracity/flynt
b975b6f61893d5db1114d68fbb5d212c4e11aeb8
[ "MIT" ]
487
2019-06-10T17:44:56.000Z
2022-03-26T01:28:19.000Z
test/test_styles.py
Inveracity/flynt
b975b6f61893d5db1114d68fbb5d212c4e11aeb8
[ "MIT" ]
118
2019-07-03T12:26:39.000Z
2022-03-06T22:40:17.000Z
test/test_styles.py
Inveracity/flynt
b975b6f61893d5db1114d68fbb5d212c4e11aeb8
[ "MIT" ]
25
2019-07-10T08:39:58.000Z
2022-03-03T14:44:15.000Z
import random import pytest from flynt.format import QuoteTypes, get_quote_type, set_quote_type from flynt.lexer.split import get_chunks @pytest.mark.parametrize( argnames=["code", "quote_type"], argvalues=[ ("'abra'", QuoteTypes.single), ('"bobro"', QuoteTypes.double), ("'''abra'''"...
25.893939
81
0.652428
4a26d5ed61d7b4693b755747cbdf583a47372e5d
80
py
Python
template/{{ cookiecutter.project_slug }}/{{ cookiecutter.project_module }}/__init__.py
seldonPlan/pyscript
562335b5f11c2bf1820577d143c973e58cb35f01
[ "MIT" ]
null
null
null
template/{{ cookiecutter.project_slug }}/{{ cookiecutter.project_module }}/__init__.py
seldonPlan/pyscript
562335b5f11c2bf1820577d143c973e58cb35f01
[ "MIT" ]
null
null
null
template/{{ cookiecutter.project_slug }}/{{ cookiecutter.project_module }}/__init__.py
seldonPlan/pyscript
562335b5f11c2bf1820577d143c973e58cb35f01
[ "MIT" ]
null
null
null
"""{{ cookiecutter.project_name }} project description""" __version__ = "0.0.1"
26.666667
57
0.7
4a26d62b6a1f60e7a9b3963ab4f92a435d8bebdd
403
py
Python
register/migrations/0019_auto_20190402_2028.py
LucasHiago/pede_ja
62609a32d045b167a96be79cc93113d32dcfe917
[ "MIT" ]
null
null
null
register/migrations/0019_auto_20190402_2028.py
LucasHiago/pede_ja
62609a32d045b167a96be79cc93113d32dcfe917
[ "MIT" ]
null
null
null
register/migrations/0019_auto_20190402_2028.py
LucasHiago/pede_ja
62609a32d045b167a96be79cc93113d32dcfe917
[ "MIT" ]
null
null
null
# Generated by Django 2.1.4 on 2019-04-02 20:28 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('register', '0018_auto_20190401_1338'), ] operations = [ migrations.AlterField( model_name='offlinecompensations', na...
21.210526
54
0.615385
4a26d6d623b3f895bd16ef6cafd11e6c226bd62e
184
py
Python
packages/lib/python3.8/site-packages/corsheaders/models.py
sakthiRathinam/cuebook
7f9b13fe73ed366959fdbee3ee0e60dcf5efbffb
[ "MIT" ]
null
null
null
packages/lib/python3.8/site-packages/corsheaders/models.py
sakthiRathinam/cuebook
7f9b13fe73ed366959fdbee3ee0e60dcf5efbffb
[ "MIT" ]
3
2019-02-27T11:06:34.000Z
2021-06-10T21:11:45.000Z
env/lib/python3.6/site-packages/corsheaders/models.py
developeroka/blog_restapi
3a4dd782c2bb71562aa59919593a3ad984bd7a9b
[ "MIT" ]
null
null
null
from django.db import models # For signal registration from .signals import check_request_enabled # noqa class CorsModel(models.Model): cors = models.CharField(max_length=255)
20.444444
50
0.782609
4a26d7a9d1d0b0ec7f9fb39fe2e48b175e11ec8c
5,170
py
Python
utils/image1_gluoncv.py
jundeli/Scaled-YOLOv4-tensorflow2
dd2ce523258f9a5b851bd6f391a6c07a4999662e
[ "Apache-2.0" ]
30
2021-01-29T13:57:47.000Z
2022-02-09T13:17:57.000Z
utils/image1_gluoncv.py
jundeli/Scaled-YOLOv4-tensorflow2
dd2ce523258f9a5b851bd6f391a6c07a4999662e
[ "Apache-2.0" ]
13
2021-04-16T06:30:27.000Z
2022-03-16T18:42:23.000Z
utils/image1_gluoncv.py
jundeli/Scaled-YOLOv4-tensorflow2
dd2ce523258f9a5b851bd6f391a6c07a4999662e
[ "Apache-2.0" ]
16
2021-04-28T06:51:58.000Z
2022-03-23T23:47:52.000Z
"""Extended image transformations to `mxnet.image`.""" from __future__ import division import random import numpy as np import cv2 __all__ = ['imresize', 'random_pca_lighting', 'random_expand', 'random_flip'] def imresize(src, w, h, inter=1): """Resize image with OpenCV. This is a duplicate of mxne...
31.717791
95
0.595938
4a26d91e30978b9d6e68c8810dadaa7060ec32a8
47
py
Python
girvi/__init__.py
rajeshr188/django-onex
f1086a4159b1d135e54327c77c93fcc6c446338f
[ "MIT" ]
2
2019-06-08T22:50:59.000Z
2020-07-12T14:13:18.000Z
girvi/__init__.py
rajeshr188/django-onex
f1086a4159b1d135e54327c77c93fcc6c446338f
[ "MIT" ]
13
2020-02-11T23:51:43.000Z
2021-06-05T13:10:49.000Z
girvi/__init__.py
rajeshr188/django-onex
f1086a4159b1d135e54327c77c93fcc6c446338f
[ "MIT" ]
null
null
null
default_app_config = 'girvi.apps.GirviConfig'#
23.5
46
0.808511
4a26d9883adda9b724e5bc544c38e43e2e27af1f
46,798
py
Python
lib/transient.py
apokhr/PumpProbe-analysis
18ddd4b5be37b48bed249d90baeabae941b72648
[ "MIT" ]
null
null
null
lib/transient.py
apokhr/PumpProbe-analysis
18ddd4b5be37b48bed249d90baeabae941b72648
[ "MIT" ]
null
null
null
lib/transient.py
apokhr/PumpProbe-analysis
18ddd4b5be37b48bed249d90baeabae941b72648
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Mon May 15 09:57:29 2017 @author: S.Y. Agustsson """ import os import re import numpy as np import pandas as pd import scipy.io as spio import scipy.signal as spsignal from matplotlib import cm, pyplot as plt from scipy.optimize import curve_fit from lib import utils def mai...
39.625741
139
0.577952
4a26da5d16c3fdb6208d04675f9a5f5076f4a9ac
24,202
py
Python
resources/fixtures/scripts/fixtures-tool.py
janosvitok/qlcplus
0a2e9302de8349d74a54a1a78266d58084c6b818
[ "ECL-2.0", "Apache-2.0" ]
1
2017-05-11T06:20:08.000Z
2017-05-11T06:20:08.000Z
resources/fixtures/scripts/fixtures-tool.py
janosvitok/qlcplus
0a2e9302de8349d74a54a1a78266d58084c6b818
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
resources/fixtures/scripts/fixtures-tool.py
janosvitok/qlcplus
0a2e9302de8349d74a54a1a78266d58084c6b818
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
#!/usr/bin/env python import sys import os import re import argparse import lxml.etree as etree singleCapCount = 0 namespace = "http://www.qlcplus.org/FixtureDefinition" # please see https://github.com/mcallegari/qlcplus/wiki/Fixture-definition-presets when changing this list def getPresetsArray(): return [ ...
37.348765
142
0.530493
4a26db0070c53565e5ba657ff3ed6586084bbb6d
492
py
Python
pyscript/math/matplotlib_plot.py
airy-ict/learn_python
5a6c45c627208856bb04c2545fae8cba903519d3
[ "MIT" ]
1
2021-06-07T09:01:21.000Z
2021-06-07T09:01:21.000Z
pyscript/math/matplotlib_plot.py
airy-ict/learn_python
5a6c45c627208856bb04c2545fae8cba903519d3
[ "MIT" ]
null
null
null
pyscript/math/matplotlib_plot.py
airy-ict/learn_python
5a6c45c627208856bb04c2545fae8cba903519d3
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import numpy as np import matplotlib.pyplot as plt plt.rcParams['font.sans-serif'] = ['SimHei'] #指定默认字体 plt.rcParams['axes.unicode_minus'] = False #解决保存图像是负号'-'显示为方块的问题 x = np.linspace(0, 10, 1000) y = np.sin(x) z = np.cos(x**2) plt.figure(figsize=(8,4)) plt.plot(x,y,label="$sin(x)$",colo...
23.428571
66
0.648374
4a26db992214ad8f5de8744c67320c661eff22d0
4,122
py
Python
main/utils/dto.py
keshavbohra/movie-bookie
3ca4f855bfaad6b2fa859a6feed8f2d512513b69
[ "MIT" ]
null
null
null
main/utils/dto.py
keshavbohra/movie-bookie
3ca4f855bfaad6b2fa859a6feed8f2d512513b69
[ "MIT" ]
1
2021-09-06T11:49:05.000Z
2021-09-06T11:49:05.000Z
main/utils/dto.py
keshavbohra/movie_bookie
3ca4f855bfaad6b2fa859a6feed8f2d512513b69
[ "MIT" ]
null
null
null
from flask_restx import Namespace, fields screening_marshaller = { 'screening_start': fields.DateTime(required=True, description='Screening start time'), 'screening_end': fields.DateTime(required=True, description='Screening end time'), 'seats_remain': fields.Integer(required=True, description='Remaining S...
47.930233
113
0.74721
4a26dc9cb6d6e08e1f17afbcde876f2ea7c434f4
10,718
py
Python
src/ipycbm/utils/help_docs.py
VP-GEO/cbm
4ed229f6b6455435b6d032deb8a39dba4ecee7a2
[ "BSD-3-Clause" ]
null
null
null
src/ipycbm/utils/help_docs.py
VP-GEO/cbm
4ed229f6b6455435b6d032deb8a39dba4ecee7a2
[ "BSD-3-Clause" ]
null
null
null
src/ipycbm/utils/help_docs.py
VP-GEO/cbm
4ed229f6b6455435b6d032deb8a39dba4ecee7a2
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # This file is part of CbM (https://github.com/ec-jrc/cbm). # Author : Konstantinos Anastasakis # Credits : GTCAP Team # Copyright : 2021 European Commission, Joint Research Centre # License : 3-Clause BSD from ipywidgets import (HTML, HBox, VBox, Checkbox, Layou...
68.267516
551
0.764135
4a26dd29afca6397b575dc8afad7dac419ba1f61
4,880
py
Python
feature_engine/discretisation/arbitrary.py
david-cortes/feature_engine
702328d1a072d0911441e10b4eb98b3bfbf19215
[ "BSD-3-Clause" ]
1
2022-01-02T19:35:50.000Z
2022-01-02T19:35:50.000Z
feature_engine/discretisation/arbitrary.py
david-cortes/feature_engine
702328d1a072d0911441e10b4eb98b3bfbf19215
[ "BSD-3-Clause" ]
null
null
null
feature_engine/discretisation/arbitrary.py
david-cortes/feature_engine
702328d1a072d0911441e10b4eb98b3bfbf19215
[ "BSD-3-Clause" ]
null
null
null
# Authors: Soledad Galli <solegalli@protonmail.com> # License: BSD 3 clause from typing import Dict, List, Optional, Union import pandas as pd from feature_engine.base_transformers import BaseNumericalTransformer from feature_engine.validation import _return_tags class ArbitraryDiscretiser(BaseNumericalTransformer...
32.533333
86
0.634016
4a26dd4b13fb0c5a6bb3c1597b5a9baaf436bd2c
4,836
py
Python
framework/Runners/InternalRunner.py
alptezbasaran/raven
fd6fe8fe90b59d6dd3615cfea929722f3e04b2ca
[ "Apache-2.0" ]
1
2018-07-02T21:12:48.000Z
2018-07-02T21:12:48.000Z
framework/Runners/InternalRunner.py
alptezbasaran/raven
fd6fe8fe90b59d6dd3615cfea929722f3e04b2ca
[ "Apache-2.0" ]
null
null
null
framework/Runners/InternalRunner.py
alptezbasaran/raven
fd6fe8fe90b59d6dd3615cfea929722f3e04b2ca
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Battelle Energy Alliance, LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed t...
37.2
130
0.627792
4a26dd8c2ae63cab2429ad5007aebe7d4ad952c2
1,865
py
Python
src/other_scripts/split_sentences.py
saranya132/classinsight-language
c62d43337f190261bd00f0878f7364daebab3b1e
[ "BSD-3-Clause" ]
null
null
null
src/other_scripts/split_sentences.py
saranya132/classinsight-language
c62d43337f190261bd00f0878f7364daebab3b1e
[ "BSD-3-Clause" ]
null
null
null
src/other_scripts/split_sentences.py
saranya132/classinsight-language
c62d43337f190261bd00f0878f7364daebab3b1e
[ "BSD-3-Clause" ]
1
2020-02-15T01:45:23.000Z
2020-02-15T01:45:23.000Z
''' Created on Oct 14, 2019 @author: jzc1104 Splits paragraphs into sentences ''' import csv,nltk,sys try: nltk.data.find('tokenizers/punkt') except LookupError: nltk.download('punkt') if __name__ == '__main__': if len(sys.argv)>1: input_filename=sys.argv[1] output_filename=s...
30.080645
107
0.609115
4a26de8dd41e87aca3e8f26f847b7887ee30d46e
9,269
py
Python
mlpug/pytorch/trainers/training.py
nuhame/mlpug
be9f7c55f7d6616af5303e9350cfd8092d55440b
[ "Apache-2.0" ]
4
2019-12-30T16:12:06.000Z
2022-03-25T15:25:49.000Z
mlpug/pytorch/trainers/training.py
nuhame/mlpug
be9f7c55f7d6616af5303e9350cfd8092d55440b
[ "Apache-2.0" ]
null
null
null
mlpug/pytorch/trainers/training.py
nuhame/mlpug
be9f7c55f7d6616af5303e9350cfd8092d55440b
[ "Apache-2.0" ]
null
null
null
import torch from torch.cuda.amp import autocast import torch.distributed as dist from functools import reduce import basics.base_utils as _ from mlpug.trainers.training import * from mlpug.trainers.training import TrainingManager as TrainingManagerBase from mlpug.mlpug_exceptions import TrainerInvalidException, B...
35.51341
120
0.665012
4a26deae6f4741a708b08b3138844c9085fae5bf
168
py
Python
todo/urls.py
zhy0216-collection/django-todo
9e91d5a0c800d461d5027300f76a0090769752b9
[ "MIT" ]
null
null
null
todo/urls.py
zhy0216-collection/django-todo
9e91d5a0c800d461d5027300f76a0090769752b9
[ "MIT" ]
null
null
null
todo/urls.py
zhy0216-collection/django-todo
9e91d5a0c800d461d5027300f76a0090769752b9
[ "MIT" ]
null
null
null
from django.conf.urls import patterns, url from todo import views urlpatterns = patterns('', url(r'^$', views.TodoListView.as_view(), name="index") )
8.4
58
0.654762
4a26dff8cc94b3371ec2f755637fb8a1597a16c9
3,232
py
Python
voltha/adapters/loader.py
Balaji-P/voltha_docker_compose-rsk_tech_CKAD
3cf9b2e2bbbaeed4744ff9f33a3e91e60c8020b7
[ "Apache-2.0" ]
null
null
null
voltha/adapters/loader.py
Balaji-P/voltha_docker_compose-rsk_tech_CKAD
3cf9b2e2bbbaeed4744ff9f33a3e91e60c8020b7
[ "Apache-2.0" ]
null
null
null
voltha/adapters/loader.py
Balaji-P/voltha_docker_compose-rsk_tech_CKAD
3cf9b2e2bbbaeed4744ff9f33a3e91e60c8020b7
[ "Apache-2.0" ]
null
null
null
# # Copyright 2016 the original author or authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
34.752688
82
0.64078
4a26e0d90a879e3c86e64765863bd46fbd36f9fb
1,424
py
Python
basic/dataset-processor.py
alexnguyen65/class6-homework
f3be0e5a6ec059f7ec56148fbd757f1eda2cef89
[ "MIT" ]
null
null
null
basic/dataset-processor.py
alexnguyen65/class6-homework
f3be0e5a6ec059f7ec56148fbd757f1eda2cef89
[ "MIT" ]
null
null
null
basic/dataset-processor.py
alexnguyen65/class6-homework
f3be0e5a6ec059f7ec56148fbd757f1eda2cef89
[ "MIT" ]
null
null
null
import os import pandas as pd import matplotlib.pyplot as plt from mpl_toolkits.mplot3d import Axes3D file_path = 'housing.data' plots_dir = 'plots' plots_format = 'png' housing_df = pd.read_csv(file_path, sep='\s+', header=0) housing_df.columns = ['CRIM', 'ZN', 'INDUS', 'CHAS', 'NOX', 'RM', 'AGE', 'DIS', 'RAD', 'TA...
43.151515
133
0.653792
4a26e2843a1475a1faecfd3c0760d04cd29f8a64
24,082
py
Python
tools/generate-wire.py
mosqueiro/lightning
793a25a0e5ee0c3c80d1403d556a4a013ee233fd
[ "MIT" ]
null
null
null
tools/generate-wire.py
mosqueiro/lightning
793a25a0e5ee0c3c80d1403d556a4a013ee233fd
[ "MIT" ]
null
null
null
tools/generate-wire.py
mosqueiro/lightning
793a25a0e5ee0c3c80d1403d556a4a013ee233fd
[ "MIT" ]
null
null
null
#! /usr/bin/env python3 # Script to parse spec output CSVs and produce C files. # Released by lisa neigut under CC0: # https://creativecommons.org/publicdomain/zero/1.0/ # # Reads from stdin, outputs C header or body file. # # Standard message types: # msgtype,<msgname>,<value>[,<option>] # msgdata,<msgname>,<field...
35.57164
117
0.561623
4a26e2b6a7e1d1a6f49fa031a3b6d151494fe821
9,521
py
Python
docs/conf.py
eblume/flask-dance
87d45328bbdaff833559a6d3da71461fe4579592
[ "MIT" ]
null
null
null
docs/conf.py
eblume/flask-dance
87d45328bbdaff833559a6d3da71461fe4579592
[ "MIT" ]
null
null
null
docs/conf.py
eblume/flask-dance
87d45328bbdaff833559a6d3da71461fe4579592
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # # Flask Dance documentation build configuration file, created by # sphinx-quickstart on Sat Sep 27 09:47:52 2014. # # This file is execfile()d with the current directory set to its # containing dir. # # Note that not all possible configuration values are present in this # autogenerated file. #...
31.842809
87
0.701607
4a26e3da81c291c52c46ff283399c5af6bffbbad
15,849
py
Python
backend/src/baserow/contrib/database/api/fields/views.py
lyhiving/baserow2
757148947a77e1469ad63540628730b637134cc2
[ "MIT" ]
null
null
null
backend/src/baserow/contrib/database/api/fields/views.py
lyhiving/baserow2
757148947a77e1469ad63540628730b637134cc2
[ "MIT" ]
null
null
null
backend/src/baserow/contrib/database/api/fields/views.py
lyhiving/baserow2
757148947a77e1469ad63540628730b637134cc2
[ "MIT" ]
null
null
null
from django.db import transaction from drf_spectacular.openapi import OpenApiParameter, OpenApiTypes from drf_spectacular.utils import extend_schema from rest_framework.decorators import permission_classes as method_permission_classes from rest_framework.permissions import IsAuthenticated, AllowAny from rest_framework....
41.489529
88
0.659663
4a26e511262b460ad96cde480ec6f8e4c5eb6abc
450
py
Python
src/board.py
zoltax/tanks
995cd9af260e5dd1d4485cfb95c80ce7f7c358ef
[ "MIT" ]
null
null
null
src/board.py
zoltax/tanks
995cd9af260e5dd1d4485cfb95c80ce7f7c358ef
[ "MIT" ]
null
null
null
src/board.py
zoltax/tanks
995cd9af260e5dd1d4485cfb95c80ce7f7c358ef
[ "MIT" ]
null
null
null
__author__ = 'filipkulig' class Board(): # curses.LINES and curses.COLS lines = None cols = None def __init__(self): pass def get(self): return "plansza" def update(self): pass def get_cols(self): return self.cols def get_lines(self): re...
13.636364
34
0.568889
4a26e55fe7fcbe5d0a9245c2c4457fc211a62299
991
py
Python
KAUSIM_py/multirotor/drone/event_manager.py
RETELLIGENCE-IWEN/KAU_SIM_PY
b922fa361d0ee20b37752470c25370089a7690e8
[ "MIT" ]
null
null
null
KAUSIM_py/multirotor/drone/event_manager.py
RETELLIGENCE-IWEN/KAU_SIM_PY
b922fa361d0ee20b37752470c25370089a7690e8
[ "MIT" ]
null
null
null
KAUSIM_py/multirotor/drone/event_manager.py
RETELLIGENCE-IWEN/KAU_SIM_PY
b922fa361d0ee20b37752470c25370089a7690e8
[ "MIT" ]
null
null
null
from typing import Callable, Dict, List, Any class EventManager: def __init__(self): self.subsciptions: Dict[Any, List[Callable]] = {} def register(self, event_name: Any): """새로운 event를 추가""" if event_name in self.subsciptions: raise ValueError(f"{event_name} is already r...
30.030303
67
0.61554
4a26e6915066addb7c742321a16686127617861a
2,892
py
Python
google/appengine/ext/mapreduce/main.py
prashanth9962/gaepatch-1.6
fbc19e3ecb1eb0709b6a92157d005d14e9b146f0
[ "Apache-2.0" ]
1
2020-10-13T19:53:04.000Z
2020-10-13T19:53:04.000Z
google/appengine/ext/mapreduce/main.py
prashanth9962/gaepatch-1.6
fbc19e3ecb1eb0709b6a92157d005d14e9b146f0
[ "Apache-2.0" ]
null
null
null
google/appengine/ext/mapreduce/main.py
prashanth9962/gaepatch-1.6
fbc19e3ecb1eb0709b6a92157d005d14e9b146f0
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # # Copyright 2007 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law o...
22.952381
78
0.707469
4a26e6d51404a885e2e99157e3450afa88c5170e
954
py
Python
tfx_addons/utils/test_utils.py
digits/tfx-addons
df5dbe307a50988f31a6477775348213dd5d1886
[ "Apache-2.0" ]
null
null
null
tfx_addons/utils/test_utils.py
digits/tfx-addons
df5dbe307a50988f31a6477775348213dd5d1886
[ "Apache-2.0" ]
null
null
null
tfx_addons/utils/test_utils.py
digits/tfx-addons
df5dbe307a50988f31a6477775348213dd5d1886
[ "Apache-2.0" ]
null
null
null
# Copyright 2022 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 applicabl...
38.16
80
0.675052
4a26e8ce5513995046825932396735897fb8739f
1,415
py
Python
setup.py
waltdisgrace/dbus-signature-pyparsing
fa705f1a7932dc5c5cb7f83858d0d7006fce6495
[ "Apache-2.0" ]
null
null
null
setup.py
waltdisgrace/dbus-signature-pyparsing
fa705f1a7932dc5c5cb7f83858d0d7006fce6495
[ "Apache-2.0" ]
null
null
null
setup.py
waltdisgrace/dbus-signature-pyparsing
fa705f1a7932dc5c5cb7f83858d0d7006fce6495
[ "Apache-2.0" ]
null
null
null
# isort: STDLIB import os import sys # isort: THIRDPARTY import setuptools if sys.version_info[0] < 3: from codecs import open def local_file(name): return os.path.relpath(os.path.join(os.path.dirname(__file__), name)) README = local_file("README.rst") with open(local_file("src/dbus_signature_pyparsing/_...
30.106383
73
0.660777
4a26e9383de0cdad501dcf4238b94ea2491309b0
10,217
py
Python
sdk/python/pulumi_azure_nextgen/network/v20190201/vpn_site.py
pulumi/pulumi-azure-nextgen
452736b0a1cf584c2d4c04666e017af6e9b2c15c
[ "Apache-2.0" ]
31
2020-09-21T09:41:01.000Z
2021-02-26T13:21:59.000Z
sdk/python/pulumi_azure_nextgen/network/v20190201/vpn_site.py
pulumi/pulumi-azure-nextgen
452736b0a1cf584c2d4c04666e017af6e9b2c15c
[ "Apache-2.0" ]
231
2020-09-21T09:38:45.000Z
2021-03-01T11:16:03.000Z
sdk/python/pulumi_azure_nextgen/network/v20190201/vpn_site.py
pulumi/pulumi-azure-nextgen
452736b0a1cf584c2d4c04666e017af6e9b2c15c
[ "Apache-2.0" ]
4
2020-09-29T14:14:59.000Z
2021-02-10T20:38:16.000Z
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union from ... import _utilities, _tables from...
45.611607
1,426
0.65577
4a26e95cb8b1f932c5c25a228d16051e52dc88c3
264
py
Python
.heroku/chrome-smoke-test.py
SalesforceFoundation/MetaCI
b80f880672d4f11594fc48cbda0d340311fa35e0
[ "BSD-3-Clause" ]
15
2017-11-06T05:26:15.000Z
2018-10-12T03:15:37.000Z
.heroku/chrome-smoke-test.py
SalesforceFoundation/MetaCI
b80f880672d4f11594fc48cbda0d340311fa35e0
[ "BSD-3-Clause" ]
66
2017-10-31T21:26:30.000Z
2018-10-19T15:55:27.000Z
.heroku/chrome-smoke-test.py
SalesforceFoundation/MetaCI
b80f880672d4f11594fc48cbda0d340311fa35e0
[ "BSD-3-Clause" ]
7
2018-01-07T11:30:47.000Z
2018-10-11T11:51:58.000Z
import selenium import selenium.webdriver import sys options = selenium.webdriver.chrome.options.Options() options.headless = True try: selenium.webdriver.Chrome(options=options) except Exception as e: print(f"Unable to open chrome:\n{e}") sys.exit(1)
24
53
0.761364
4a26ec7cdb3678976d307e8f884c85693463ff7a
3,749
py
Python
travis_pypi_setup.py
ulkaio/ulka
d33d8a695082cafcd5be808f7a745b6066931560
[ "MIT" ]
null
null
null
travis_pypi_setup.py
ulkaio/ulka
d33d8a695082cafcd5be808f7a745b6066931560
[ "MIT" ]
425
2016-09-26T21:27:56.000Z
2022-03-28T10:27:18.000Z
travis_pypi_setup.py
ulkaio/ulka
d33d8a695082cafcd5be808f7a745b6066931560
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- """Update encrypted deploy password in Travis config file """ from __future__ import print_function import base64 import json import os from getpass import getpass import yaml from cryptography.hazmat.primitives.serialization import load_pem_public_key from cryptography.h...
30.479675
79
0.69992
4a26ec94eccfae57805a691a89571e7d5237ec32
3,585
py
Python
tests/integration/sugar/test_wallet.py
sawdog/xrpl-py
ae6eac89d55a8db6b26a0189749b8c4b83d00d88
[ "ISC" ]
null
null
null
tests/integration/sugar/test_wallet.py
sawdog/xrpl-py
ae6eac89d55a8db6b26a0189749b8c4b83d00d88
[ "ISC" ]
null
null
null
tests/integration/sugar/test_wallet.py
sawdog/xrpl-py
ae6eac89d55a8db6b26a0189749b8c4b83d00d88
[ "ISC" ]
1
2022-02-21T07:36:36.000Z
2022-02-21T07:36:36.000Z
from tests.integration.integration_test_case import IntegrationTestCase from tests.integration.it_utils import submit_transaction_async, test_async_and_sync from tests.integration.reusable_values import WALLET from xrpl.asyncio.clients import AsyncJsonRpcClient, AsyncWebsocketClient from xrpl.asyncio.wallet import gene...
40.280899
84
0.656904
4a26ecef26d01fa381d384c1986d4b889f43be90
7,805
py
Python
models/half_model.py
EliotChenKJ/CMTE
e3a7be59ea4eba09f37c20b9e19e64386e74818e
[ "BSD-3-Clause" ]
null
null
null
models/half_model.py
EliotChenKJ/CMTE
e3a7be59ea4eba09f37c20b9e19e64386e74818e
[ "BSD-3-Clause" ]
null
null
null
models/half_model.py
EliotChenKJ/CMTE
e3a7be59ea4eba09f37c20b9e19e64386e74818e
[ "BSD-3-Clause" ]
null
null
null
import torch from .base_model import BaseModel from . import networks from .vgg import VGG, GramMatrix, GramMSELoss import os class halfModel(BaseModel): """ This is HalfModel for image texture extension. The model training requires '-dataset_model half' dataset. It trains a half-gan model, mapping fr...
54.201389
151
0.641127
4a26ed42f86572071abccaf4d585abd6c3827680
1,740
py
Python
app/main.py
AlpacaMax/Shadow-Browser
65c95eb2712a2764384b851c8bc128702ea911d1
[ "MIT" ]
1
2018-07-26T13:54:44.000Z
2018-07-26T13:54:44.000Z
app/main.py
AlpacaMax/Shadow-Browser
65c95eb2712a2764384b851c8bc128702ea911d1
[ "MIT" ]
null
null
null
app/main.py
AlpacaMax/Shadow-Browser
65c95eb2712a2764384b851c8bc128702ea911d1
[ "MIT" ]
null
null
null
from flask import * import requests import os app = Flask(__name__) SECRET = os.environ.get("SECRET") HOSTNAME = os.environ.get("HOSTNAME") def validate_token(token, hashes, secret): api_url = "https://api.coinhive.com/token/verify" data = { 'token': token, 'hashes': hashes, ...
26.363636
95
0.564368
4a26ee1c27e7102d8d0416365cee7dc5730c6e5a
7,377
py
Python
adafruit_bno08x/spi.py
jposada202020/Adafruit_CircuitPython_BNO08x
d96dc951a5f9aca6e2ea8ee4ebbc708cb3002cf4
[ "MIT", "MIT-0", "Unlicense" ]
null
null
null
adafruit_bno08x/spi.py
jposada202020/Adafruit_CircuitPython_BNO08x
d96dc951a5f9aca6e2ea8ee4ebbc708cb3002cf4
[ "MIT", "MIT-0", "Unlicense" ]
null
null
null
adafruit_bno08x/spi.py
jposada202020/Adafruit_CircuitPython_BNO08x
d96dc951a5f9aca6e2ea8ee4ebbc708cb3002cf4
[ "MIT", "MIT-0", "Unlicense" ]
null
null
null
# SPDX-FileCopyrightText: Copyright (c) 2020 Bryan Siepert for Adafruit Industries # # SPDX-License-Identifier: MIT """ Subclass of `adafruit_bno08x.BNO08X` to use SPI ================================================ """ import time from struct import pack_into from digitalio import Direction, Pull import adafruit_bus...
35.296651
94
0.63088
4a26eec2e8d3ecbe57b5eab87ad9f527ea61f1ff
127
py
Python
is_even/_typings.py
spookyahell/PyIsEven
da0fe5a181c77ef84e858a2da5c04f66b7916591
[ "MIT" ]
45
2021-04-02T22:19:49.000Z
2022-02-01T15:38:33.000Z
is_even/_typings.py
spookyahell/PyIsEven
da0fe5a181c77ef84e858a2da5c04f66b7916591
[ "MIT" ]
20
2021-04-03T10:06:51.000Z
2021-08-20T22:46:23.000Z
is_even/_typings.py
spookyahell/PyIsEven
da0fe5a181c77ef84e858a2da5c04f66b7916591
[ "MIT" ]
11
2021-04-02T17:25:46.000Z
2021-12-14T03:28:30.000Z
from typing import TypedDict class Success(TypedDict): ad: str iseven: bool class Error(TypedDict): error: str
11.545455
28
0.692913
4a26eec7c95d374f67c63256a1e01a11e9ff3a2f
2,100
py
Python
web/addons/account/project/wizard/account_analytic_chart.py
diogocs1/comps
63df07f6cf21c41e4527c06e2d0499f23f4322e7
[ "Apache-2.0" ]
1
2019-12-29T11:53:56.000Z
2019-12-29T11:53:56.000Z
odoo/addons/account/project/wizard/account_analytic_chart.py
tuanquanghpvn/odoo8-tutorial
52d25f1ca5f233c431cb9d3b24b79c3b4fb5127e
[ "MIT" ]
null
null
null
odoo/addons/account/project/wizard/account_analytic_chart.py
tuanquanghpvn/odoo8-tutorial
52d25f1ca5f233c431cb9d3b24b79c3b4fb5127e
[ "MIT" ]
3
2020-10-08T14:42:10.000Z
2022-01-28T14:12:29.000Z
# -*- coding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution # Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>). # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU...
42
106
0.61619
4a26eedc512b2a1f7c479fbad185fc88a1544978
21,050
py
Python
analysis_module.py
huangbrandon432/Investing-Trading-Tool
370015b906b7ee90c0fb48ca69865ac7428b3917
[ "BSD-3-Clause" ]
null
null
null
analysis_module.py
huangbrandon432/Investing-Trading-Tool
370015b906b7ee90c0fb48ca69865ac7428b3917
[ "BSD-3-Clause" ]
null
null
null
analysis_module.py
huangbrandon432/Investing-Trading-Tool
370015b906b7ee90c0fb48ca69865ac7428b3917
[ "BSD-3-Clause" ]
null
null
null
import robin_stocks as r import pandas as pd import numpy as np from datetime import date, timedelta import yfinance as yf from collections import deque ###Stocks/Crypto######################################################################################################################################### class S...
45.960699
251
0.606936
4a26eede28f40dbcdf207bf7b86c723f153cb695
10,816
py
Python
opsgenie_sdk/configuration.py
BATS/opsgenie-python-sdk
b59b3881187288c4cff401f05e4a84ca380425ab
[ "Apache-2.0" ]
null
null
null
opsgenie_sdk/configuration.py
BATS/opsgenie-python-sdk
b59b3881187288c4cff401f05e4a84ca380425ab
[ "Apache-2.0" ]
null
null
null
opsgenie_sdk/configuration.py
BATS/opsgenie-python-sdk
b59b3881187288c4cff401f05e4a84ca380425ab
[ "Apache-2.0" ]
null
null
null
# coding: utf-8 """ Python SDK for Opsgenie REST API Python SDK for Opsgenie REST API # noqa: E501 The version of the OpenAPI document: 2.0.0 Contact: support@opsgenie.com Generated by: https://openapi-generator.tech """ from __future__ import absolute_import import copy import logging import...
32.87538
107
0.592825
4a26eee8278a2e29877eb1fa8a8c546ca6b6bd68
7,269
py
Python
test/test_motor_pool.py
myfreecomm/motor
bf1382c906045d9d9ad14106486a02f6b8721ada
[ "Apache-2.0" ]
null
null
null
test/test_motor_pool.py
myfreecomm/motor
bf1382c906045d9d9ad14106486a02f6b8721ada
[ "Apache-2.0" ]
null
null
null
test/test_motor_pool.py
myfreecomm/motor
bf1382c906045d9d9ad14106486a02f6b8721ada
[ "Apache-2.0" ]
null
null
null
# Copyright 2013-2014 MongoDB, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writin...
34.947115
79
0.649745
4a26f0816b209c1d559188e8cdc9467006e51228
118
py
Python
week1/yaml_test1.py
nlinkov/test_a
091dc66134f1e77ede35f58a774593862a44ded2
[ "MIT" ]
null
null
null
week1/yaml_test1.py
nlinkov/test_a
091dc66134f1e77ede35f58a774593862a44ded2
[ "MIT" ]
null
null
null
week1/yaml_test1.py
nlinkov/test_a
091dc66134f1e77ede35f58a774593862a44ded2
[ "MIT" ]
null
null
null
#!/usr/bin/python from pprint import pprint as pp from yaml_helper import read_yaml pp(read_yaml('test_file3.yml'))
16.857143
33
0.779661
4a26f0a264024ee1aa72a1a6bb0e8bf6ea932197
127
py
Python
predict/urls.py
yen936/adaptic_public
905e287843c152d8a743a2a64ceac539aac96149
[ "MIT" ]
3
2019-05-18T14:26:18.000Z
2020-04-25T16:15:24.000Z
predict/urls.py
yen936/adaptic_public
905e287843c152d8a743a2a64ceac539aac96149
[ "MIT" ]
2
2020-02-12T00:17:32.000Z
2020-06-05T20:53:28.000Z
predict/urls.py
yen936/adaptic_public
905e287843c152d8a743a2a64ceac539aac96149
[ "MIT" ]
null
null
null
from django.urls import path from predict.views import Predictor urlpatterns = [ path('predict/', Predictor.as_view()), ]
18.142857
42
0.732283
4a26f2cf117c6b090f145a881a079198f16fb028
2,968
py
Python
openff/benchmark/analysis/readwrite.py
openforcefield/openbenchmark
65a3519f18cb587622471a6bda6d58d9e39cd1d2
[ "MIT" ]
3
2020-03-14T22:52:18.000Z
2020-05-21T10:28:44.000Z
openff/benchmark/analysis/readwrite.py
openforcefield/openbenchmark
65a3519f18cb587622471a6bda6d58d9e39cd1d2
[ "MIT" ]
5
2020-03-24T19:35:38.000Z
2020-04-30T22:37:29.000Z
openff/benchmark/analysis/readwrite.py
openforcefield/openbenchmark
65a3519f18cb587622471a6bda6d58d9e39cd1d2
[ "MIT" ]
null
null
null
#!/usr/bin/env python """ io.py I/O operations for the analysis/report part of the openff-benchmark workflow By: David F. Hahn Version: Nov 18 2020 """ import os import numpy as np import pandas as pd import pint ureg = pint.UnitRegistry() from openforcefield.topology import Molecule from openforcefield...
34.511628
131
0.65566
4a26f37b1e1618e41d525358192d1fed3f05ca23
473
py
Python
delphi_epidata/__init__.py
lee14257/delphi-epidata-py
ca84147fb75a50b073bab43e77dcb32b52b26f4b
[ "MIT" ]
null
null
null
delphi_epidata/__init__.py
lee14257/delphi-epidata-py
ca84147fb75a50b073bab43e77dcb32b52b26f4b
[ "MIT" ]
null
null
null
delphi_epidata/__init__.py
lee14257/delphi-epidata-py
ca84147fb75a50b073bab43e77dcb32b52b26f4b
[ "MIT" ]
1
2021-12-22T23:56:58.000Z
2021-12-22T23:56:58.000Z
"""Fetch data from Delphi's API. """ from ._constants import __version__ from ._model import ( EpiRange, EpiRangeDict, EpiDataResponse, EpiRangeLike, InvalidArgumentException, EpiRangeParam, IntParam, StringParam, EpiDataFormatType, AEpiDataCall, ) from ._covidcast import ( D...
17.518519
35
0.693446
4a26f3db1020108c23c59d18f242e4fd22d7dc15
1,837
py
Python
aio_graphite_api/cluster/cluster.py
yunstanford/aio-graphite-api
819b82c451c23ce5928e711202bde79a5399c3da
[ "Apache-2.0" ]
1
2016-12-09T04:14:16.000Z
2016-12-09T04:14:16.000Z
aio_graphite_api/cluster/cluster.py
yunstanford/aio-graphite-api
819b82c451c23ce5928e711202bde79a5399c3da
[ "Apache-2.0" ]
1
2017-02-06T22:15:07.000Z
2017-02-06T23:01:04.000Z
aio_graphite_api/cluster/cluster.py
yunstanford/aio-graphite-api
819b82c451c23ce5928e711202bde79a5399c3da
[ "Apache-2.0" ]
null
null
null
import aiohttp async def init_cluster(config): """ a helper function for initing a cluster that talk with remote graphite-web. """ return await Cluster(config["cluster_servers"], config["graphite_web_cluster_protocol"], config["cluster_timeout"]) class Cluster: """ an aiohttp ClientSession cla...
21.360465
91
0.688078
4a26f4a594ff2847d4d76b85b3586ca2c01a07e2
4,450
py
Python
sdk/keyvault/azure-keyvault-certificates/samples/backup_restore_operations_async.py
omziv/azure-sdk-for-python
3fbb0f9e1f86acc4e0a8cb13b790dccf32e3860f
[ "MIT" ]
1
2021-04-26T21:15:01.000Z
2021-04-26T21:15:01.000Z
sdk/keyvault/azure-keyvault-certificates/samples/backup_restore_operations_async.py
omziv/azure-sdk-for-python
3fbb0f9e1f86acc4e0a8cb13b790dccf32e3860f
[ "MIT" ]
2
2021-08-24T15:32:30.000Z
2021-08-24T23:21:34.000Z
sdk/keyvault/azure-keyvault-certificates/samples/backup_restore_operations_async.py
omziv/azure-sdk-for-python
3fbb0f9e1f86acc4e0a8cb13b790dccf32e3860f
[ "MIT" ]
null
null
null
# ------------------------------------ # Copyright (c) Microsoft Corporation. # Licensed under the MIT License. # ------------------------------------ import asyncio import os from azure.keyvault.certificates.aio import CertificateClient from azure.keyvault.certificates import CertificatePolicy from azure.identity.aio ...
45.408163
123
0.656854
4a26f5493094b13ab10540aebfefc50c1414ac15
2,960
py
Python
load_tests/create_bus_subscription.py
mbta/alerts_concierge
d8e643445ef06f80ca273f2914c6959daea146f6
[ "MIT" ]
null
null
null
load_tests/create_bus_subscription.py
mbta/alerts_concierge
d8e643445ef06f80ca273f2914c6959daea146f6
[ "MIT" ]
21
2021-03-12T17:05:30.000Z
2022-02-16T21:48:35.000Z
load_tests/create_bus_subscription.py
mbta/alerts_concierge
d8e643445ef06f80ca273f2914c6959daea146f6
[ "MIT" ]
1
2021-12-09T15:09:53.000Z
2021-12-09T15:09:53.000Z
from locust import TaskSequence, seq_task from page import Page class CreateBusSubscription(TaskSequence): """Sequence to create a bus subscription""" @seq_task(1) def visit_new_subscription_page(self): response = self.client.get("/trip/new") self.csrf_token = Page.get_csrf_token(response...
35.238095
106
0.430743
4a26f55b723ec75566ffee7337d8ade5fd46eb9b
817
py
Python
app/core/tests/test_commands.py
dulvinw/recipe-api
f132345987a5962134755e5425e88dde4c56d5fe
[ "Apache-2.0" ]
1
2021-07-08T05:15:38.000Z
2021-07-08T05:15:38.000Z
app/core/tests/test_commands.py
TMEU/recipe-api
f132345987a5962134755e5425e88dde4c56d5fe
[ "Apache-2.0" ]
null
null
null
app/core/tests/test_commands.py
TMEU/recipe-api
f132345987a5962134755e5425e88dde4c56d5fe
[ "Apache-2.0" ]
1
2021-07-08T05:15:42.000Z
2021-07-08T05:15:42.000Z
from unittest.mock import patch from django.core.management import call_command from django.db.utils import OperationalError from django.test import TestCase class CommandTests(TestCase): def test_wait_for_db_ready(self): """Test waiting for db until db is ready""" with patch('django.db.utils.Co...
34.041667
74
0.676867
4a26f59f27eb36e1af3e2061e9c12a6ddb7542c5
5,002
py
Python
track-gps-l1.py
wumouyan/GNSS-SDR-Python
61292c2ba151724538808663e2a6d0b048635401
[ "MIT" ]
68
2015-06-23T17:30:06.000Z
2022-03-29T22:06:54.000Z
track-gps-l1.py
wumouyan/GNSS-SDR-Python
61292c2ba151724538808663e2a6d0b048635401
[ "MIT" ]
4
2018-03-01T05:14:36.000Z
2021-12-05T11:07:39.000Z
track-gps-l1.py
wumouyan/GNSS-SDR-Python
61292c2ba151724538808663e2a6d0b048635401
[ "MIT" ]
43
2015-06-26T10:27:05.000Z
2022-03-30T02:47:09.000Z
#!/usr/bin/env python import optparse import numpy as np import gnsstools.gps.ca as ca import gnsstools.nco as nco import gnsstools.io as io import gnsstools.discriminator as discriminator import gnsstools.util as util class tracking_state: def __init__(self,fs,prn,code_p,code_f,code_i,carrier_p,carrier_f,carrier...
27.788889
203
0.681128
4a26f5a8b8d008fb61af5e44696deddbf15128a4
4,392
py
Python
google/ads/google_ads/v3/proto/enums/conversion_attribution_event_type_pb2.py
andy0937/google-ads-python
cb5da7f4a75076828d1fc3524b08cc167670435a
[ "Apache-2.0" ]
1
2019-11-30T23:42:39.000Z
2019-11-30T23:42:39.000Z
google/ads/google_ads/v3/proto/enums/conversion_attribution_event_type_pb2.py
andy0937/google-ads-python
cb5da7f4a75076828d1fc3524b08cc167670435a
[ "Apache-2.0" ]
null
null
null
google/ads/google_ads/v3/proto/enums/conversion_attribution_event_type_pb2.py
andy0937/google-ads-python
cb5da7f4a75076828d1fc3524b08cc167670435a
[ "Apache-2.0" ]
1
2020-03-13T00:14:31.000Z
2020-03-13T00:14:31.000Z
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/ads/googleads_v3/proto/enums/conversion_attribution_event_type.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from googl...
42.640777
700
0.806239
4a26f61f1742dfaa300b67797b8d7dd1684f18f2
5,333
py
Python
src/RobotFrameworkCore/org.robotframework.ide.core-functions/src/test/python/scripts/test_red_variables.py
alex729/RED
128bf203cf035892c02805aabd0c915f96006bb0
[ "Apache-2.0" ]
375
2015-11-02T19:15:30.000Z
2022-03-19T03:32:10.000Z
src/RobotFrameworkCore/org.robotframework.ide.core-functions/src/test/python/scripts/test_red_variables.py
alex729/RED
128bf203cf035892c02805aabd0c915f96006bb0
[ "Apache-2.0" ]
433
2015-11-03T13:24:40.000Z
2022-03-30T11:20:14.000Z
src/RobotFrameworkCore/org.robotframework.ide.core-functions/src/test/python/scripts/test_red_variables.py
alex729/RED
128bf203cf035892c02805aabd0c915f96006bb0
[ "Apache-2.0" ]
133
2016-05-02T02:20:06.000Z
2022-01-06T06:01:28.000Z
import unittest import os from red_variables import get_variables from red_variables import get_global_variables from robot.errors import DataError class VariablesRetrievingTests(unittest.TestCase): def test_if_global_variables_are_returned(self): result = get_global_variables() self.assertEqual...
46.780702
117
0.663979
4a26f70def3b16570b4ec65b48b67c354c27cee1
8,581
py
Python
tests/repositories/test_installed_repository.py
sivanbecker/poetry
72497bcb66b5a1cc20e3aa95973c523a22b05bfa
[ "MIT" ]
null
null
null
tests/repositories/test_installed_repository.py
sivanbecker/poetry
72497bcb66b5a1cc20e3aa95973c523a22b05bfa
[ "MIT" ]
null
null
null
tests/repositories/test_installed_repository.py
sivanbecker/poetry
72497bcb66b5a1cc20e3aa95973c523a22b05bfa
[ "MIT" ]
null
null
null
from pathlib import Path from typing import TYPE_CHECKING from typing import Dict from typing import List from typing import Optional import pytest from poetry.repositories.installed_repository import InstalledRepository from poetry.utils._compat import metadata from poetry.utils.env import MockEnv as BaseMockEnv fro...
35.903766
86
0.725207
4a26f80e01a9b6dc8ff701a28d28cc2eea97b737
768
py
Python
thinc/tests/regression/issue519/test_issue519.py
TheVinhLuong102/thinc
7b54f728ddec7765a1d8a5e553d4b4b90b9edaec
[ "MIT" ]
2,542
2016-10-20T07:02:59.000Z
2022-03-30T20:18:35.000Z
thinc/tests/regression/issue519/test_issue519.py
TheVinhLuong102/thinc
7b54f728ddec7765a1d8a5e553d4b4b90b9edaec
[ "MIT" ]
453
2016-10-19T21:09:35.000Z
2022-03-31T11:01:15.000Z
thinc/tests/regression/issue519/test_issue519.py
TheVinhLuong102/thinc
7b54f728ddec7765a1d8a5e553d4b4b90b9edaec
[ "MIT" ]
265
2016-11-14T14:53:58.000Z
2022-03-31T02:25:24.000Z
import subprocess try: import importlib.resources as importlib_resources except ImportError: import importlib_resources # type: ignore import pytest @pytest.mark.slow def test_issue519(): """ Test ability of Thinc mypy plugin to handle variadic arguments. This test can take up to 45 seconds, a...
29.538462
82
0.733073
4a26f86bce83518e28ba8ec427802d6ae5252a84
1,315
py
Python
girder_utils/templatetags/girder_utils.py
girder/django-girder-utils
587919e4c7b48b67624be40df3389d02380c69bb
[ "Apache-2.0" ]
2
2020-10-12T18:46:54.000Z
2021-01-28T21:02:24.000Z
girder_utils/templatetags/girder_utils.py
girder/django-girder-utils
587919e4c7b48b67624be40df3389d02380c69bb
[ "Apache-2.0" ]
12
2020-12-01T20:13:31.000Z
2021-12-19T02:32:05.000Z
girder_utils/templatetags/girder_utils.py
girder/django-girder-utils
587919e4c7b48b67624be40df3389d02380c69bb
[ "Apache-2.0" ]
1
2021-01-04T22:26:47.000Z
2021-01-04T22:26:47.000Z
import json from typing import Any, Mapping, Optional, TypeVar from django import template register = template.Library() _KT = TypeVar('_KT') _VT_co = TypeVar('_VT_co', covariant=True) @register.filter def getitem(value: Mapping[_KT, _VT_co], arg: _KT) -> Optional[_VT_co]: """ Retrieve `value[arg]` from a...
28.586957
98
0.66692
4a26f8950bd69b6143fa438d7ff6e3326a3a28a8
11,438
py
Python
cogs/extra.py
SilentSerenityy/JDBot
cd404000f06d51757439e435b2aaedbbab233144
[ "MIT" ]
null
null
null
cogs/extra.py
SilentSerenityy/JDBot
cd404000f06d51757439e435b2aaedbbab233144
[ "MIT" ]
null
null
null
cogs/extra.py
SilentSerenityy/JDBot
cd404000f06d51757439e435b2aaedbbab233144
[ "MIT" ]
null
null
null
from discord.ext import commands import discord, random, asuna_api, math, aiohttp, io, chardet, aiogtts, mystbin, alexflipnote, os class Extra(commands.Cog): def __init__(self,client): self.client = client @commands.command(brief="a way to look up minecraft usernames",help="using the official minecraft api, l...
44.162162
228
0.678703
4a26f9a975958731b04bde1c5702cbe1de1fac78
74
py
Python
Numpy-Arrays.py
H2oPtic/Codecademy-Education
454ecff36a055fa17b4b338e1c6f1e9b3b94ef66
[ "MIT" ]
null
null
null
Numpy-Arrays.py
H2oPtic/Codecademy-Education
454ecff36a055fa17b4b338e1c6f1e9b3b94ef66
[ "MIT" ]
null
null
null
Numpy-Arrays.py
H2oPtic/Codecademy-Education
454ecff36a055fa17b4b338e1c6f1e9b3b94ef66
[ "MIT" ]
null
null
null
import numpy as np test_1 = np.array([92,94,88,91,87]) print(test_1)
14.8
36
0.662162
4a26fba4d46ab33071ae8c09e60058986522f1ad
1,523
py
Python
pylearn2/scripts/papers/jia_huang_wkshp_11/assemble.py
ikervazquezlopez/Pylearn2
2971e8f64374ffde572d4cf967aad5342beaf5e0
[ "BSD-3-Clause" ]
2,045
2015-01-01T14:07:52.000Z
2022-03-08T08:56:41.000Z
pylearn2/scripts/papers/jia_huang_wkshp_11/assemble.py
ikervazquezlopez/Pylearn2
2971e8f64374ffde572d4cf967aad5342beaf5e0
[ "BSD-3-Clause" ]
305
2015-01-02T13:18:24.000Z
2021-08-20T18:03:28.000Z
pylearn2/scripts/papers/jia_huang_wkshp_11/assemble.py
ikervazquezlopez/Pylearn2
2971e8f64374ffde572d4cf967aad5342beaf5e0
[ "BSD-3-Clause" ]
976
2015-01-01T17:08:51.000Z
2022-03-25T19:53:17.000Z
from __future__ import print_function import numpy as np import os from theano.compat.six.moves import xrange #check that the right files are present names = os.listdir('.') if 'features.npy' in names: print("Not doing anything, features.npy already exists.") quit(0) chunk_names = [ 'features_A.npy', ...
22.397059
96
0.653972
4a26fc58ffddcf5f99e402731e986a9079a16d03
170
py
Python
ciclo1_python/udea/MisionTIC_UdeA_Ciclo1/Material/Semana_7/Semana 7/msc.py
felipeescallon/mision_tic_2022
20496fc40b18d2e98114d6362928f34fde41aaae
[ "CC0-1.0" ]
7
2021-07-05T21:25:50.000Z
2021-11-09T11:09:41.000Z
ciclo1_python/udea/MisionTIC_UdeA_Ciclo1/Material/Semana_7/Semana 7/msc.py
felipeescallon/mision_tic_2022
20496fc40b18d2e98114d6362928f34fde41aaae
[ "CC0-1.0" ]
null
null
null
ciclo1_python/udea/MisionTIC_UdeA_Ciclo1/Material/Semana_7/Semana 7/msc.py
felipeescallon/mision_tic_2022
20496fc40b18d2e98114d6362928f34fde41aaae
[ "CC0-1.0" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Tue Jun 29 11:15:12 2021 @author: USUARIO """ import os dta=os.getcwd() Rutaab=os.dta.realpath(__file__) print (Rutaab)
15.454545
36
0.629412
4a26fd5fed52f52f3c649b64e011bf8ef79c968a
30,313
py
Python
tests/conftest.py
nismod/onion
950bb5ee7bff929277133a6e82ce0d8e4ce2542b
[ "MIT" ]
2
2019-02-12T15:33:04.000Z
2019-02-13T13:51:17.000Z
tests/conftest.py
nismod/onion
950bb5ee7bff929277133a6e82ce0d8e4ce2542b
[ "MIT" ]
1
2019-02-14T10:24:38.000Z
2019-02-14T10:24:38.000Z
tests/conftest.py
nismod/onion
950bb5ee7bff929277133a6e82ce0d8e4ce2542b
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Dummy conftest.py for onion. If you don't know what this is for, just leave it empty. Read more about conftest.py under: https://pytest.org/latest/plugins.html """ import pytest @pytest.fixture() def geojson_no_substation(): data = \ { ...
26.778269
86
0.290601
4a26fd6ca0439a024a0b752d4cd7ff3946118f0c
2,121
py
Python
pymeasure/thread.py
NeoBeats/pymeasure
e48f9d679d6ee970e2e875d2fc9a5679378b07aa
[ "MIT" ]
2
2020-11-24T11:08:21.000Z
2021-01-23T01:46:05.000Z
pymeasure/thread.py
NeoBeats/pymeasure
e48f9d679d6ee970e2e875d2fc9a5679378b07aa
[ "MIT" ]
1
2021-01-07T19:22:49.000Z
2021-01-07T19:22:49.000Z
pymeasure/thread.py
NeoBeats/pymeasure
e48f9d679d6ee970e2e875d2fc9a5679378b07aa
[ "MIT" ]
1
2021-05-19T05:39:28.000Z
2021-05-19T05:39:28.000Z
# # This file is part of the PyMeasure package. # # Copyright (c) 2013-2020 PyMeasure Developers # # 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 limit...
33.666667
79
0.710042
4a26fd8110674d991d74099660c3019f71bda1ae
849
py
Python
PycharmProjects/PythonExercíciosHARDMODE/ex033HM.py
RodrigoMASRamos/Projects.py
ed15981b320914c9667305dcd5fb5b7906fd9b00
[ "MIT" ]
null
null
null
PycharmProjects/PythonExercíciosHARDMODE/ex033HM.py
RodrigoMASRamos/Projects.py
ed15981b320914c9667305dcd5fb5b7906fd9b00
[ "MIT" ]
null
null
null
PycharmProjects/PythonExercíciosHARDMODE/ex033HM.py
RodrigoMASRamos/Projects.py
ed15981b320914c9667305dcd5fb5b7906fd9b00
[ "MIT" ]
null
null
null
# ex033: Faça um programa que leia três números e mostre qual é o maior e qual é o menor. print('\033[1;30mEste programa irá ler \033[1;35mtrês números \033[1;30me indicar qual é o \033[1;32mmaior ' '\033[1;30me o \033[1;31mmenor.\033[m') n1_ = input('\033[0;30mDigite o primeiro número: \033[m').strip() n2_ = in...
32.653846
108
0.644287
4a26fdb73e1fad0f5ad9cd39da6e1342ccf6ffac
1,118
py
Python
leetcode/linked-list/reverse-linked-list.py
jaimeulloa61/data-structure-and-algorithms
76140bb36b62ebc7c60914c48a323aae4956fb0a
[ "MIT" ]
81
2020-05-22T14:22:04.000Z
2021-12-18T10:11:23.000Z
leetcode/linked-list/reverse-linked-list.py
jaimeulloa61/data-structure-and-algorithms
76140bb36b62ebc7c60914c48a323aae4956fb0a
[ "MIT" ]
4
2020-08-06T21:08:00.000Z
2021-03-31T16:07:50.000Z
leetcode/linked-list/reverse-linked-list.py
jaimeulloa61/data-structure-and-algorithms
76140bb36b62ebc7c60914c48a323aae4956fb0a
[ "MIT" ]
37
2020-05-22T14:25:21.000Z
2021-12-30T03:13:13.000Z
""" ## Questions ### 206. [Reverse Linked List](https://leetcode.com/problems/reverse-linked-list/) Reverse a singly linked list. Example: Input: 1->2->3->4->5->NULL Output: 5->4->3->2->1->NULL Follow up: A linked list can be reversed either iteratively or recursively. Could you implement both? """ # Solutions #...
21.09434
90
0.595707
4a26fe30fe72882a815cb3c16026f443926e3ea3
3,283
py
Python
large_dat.py
ck44liu/ICA-blind-source-separation
ad42c6cf00bb3686aa7ea4550f8222f4a9890415
[ "MIT" ]
null
null
null
large_dat.py
ck44liu/ICA-blind-source-separation
ad42c6cf00bb3686aa7ea4550f8222f4a9890415
[ "MIT" ]
null
null
null
large_dat.py
ck44liu/ICA-blind-source-separation
ad42c6cf00bb3686aa7ea4550f8222f4a9890415
[ "MIT" ]
null
null
null
from scipy.io import loadmat # import loadmat to read .mat file # from scipy.io import wavfile # import wavfile if we want to transform to sound files import numpy as np from numpy import array, matmul, identity, longdouble from matplotlib import pyplot as plt # use loadmat to read sounds.mat U = loadmat('sou...
32.186275
92
0.607981