blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
4
721
content_id
stringlengths
40
40
detected_licenses
listlengths
0
57
license_type
stringclasses
2 values
repo_name
stringlengths
5
91
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
321 values
visit_date
timestamp[ns]date
2016-08-12 09:31:09
2023-09-06 10:45:07
revision_date
timestamp[ns]date
2010-09-28 14:01:40
2023-09-06 06:22:19
committer_date
timestamp[ns]date
2010-09-28 14:01:40
2023-09-06 06:22:19
github_id
int64
426
681M
star_events_count
int64
101
243k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[ns]date
2012-06-28 18:51:49
2023-09-14 21:59:16
gha_created_at
timestamp[ns]date
2008-02-11 22:55:26
2023-08-10 11:14:58
gha_language
stringclasses
147 values
src_encoding
stringclasses
26 values
language
stringclasses
2 values
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
6
10.2M
extension
stringclasses
115 values
filename
stringlengths
3
113
content
stringlengths
6
10.2M
2662607a8e5a3747180c96a39d01a3886cbf6a0d
c530897cb72b6943c7226b25824444cad5f3503b
/usaspending_api/download/tests/integration/test_populate_monthly_delta_files.py
336062ac25c17ebecc54432a012773837190e9b6
[ "CC0-1.0" ]
permissive
fedspendingtransparency/usaspending-api
fc63a22d32ea0207b7273d3e1ef26ba9dbabc42a
38f920438697930ae3ac57bbcaae9034877d8fb7
refs/heads/master
2023-09-01T22:00:36.633612
2023-08-29T18:39:18
2023-08-29T18:39:18
65,394,827
276
118
CC0-1.0
2023-09-14T20:33:15
2016-08-10T15:39:45
Python
UTF-8
Python
false
false
11,272
py
test_populate_monthly_delta_files.py
import zipfile import datetime import pytest import os from django.core.management import call_command from os import listdir from model_bakery import baker from csv import reader from usaspending_api.settings import HOST from usaspending_api.awards.models import TransactionDelta from usaspending_api.common.helpers.s...
efe40a0d750b905df951c3c352c34f9839f5a636
2853845c003d03db22f67c3303fa1ec333180ae7
/web_console_v2/api/fedlearner_webconsole/utils/k8s_cache.py
44783205b0460f289e21ad3bd6c0aa98c66cc864
[ "LicenseRef-scancode-proprietary-license", "Apache-2.0" ]
permissive
bytedance/fedlearner
fc1dd2ba2ec88092e83a32732eccea52451ce552
436e4959952c970917ee8f47b920f0a76cd4dd05
refs/heads/master
2023-08-14T23:01:02.875453
2023-05-23T03:44:03
2023-05-23T03:44:03
235,348,659
893
243
Apache-2.0
2023-06-08T07:37:18
2020-01-21T13:26:35
Python
UTF-8
Python
false
false
4,008
py
k8s_cache.py
# Copyright 2021 The FedLearner Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
ab7ee3d96b674ec2de4e29f0197737add1a264c2
a5dc4afbe35abe3377f0cf586d6b53207a9e63a4
/sewar/no_ref.py
84d253ba36b4941dc95c3041b52197bea8db022c
[ "MIT" ]
permissive
andrewekhalel/sewar
a53cfe539eb33b714c0301f1dc6b4ae712af475b
c1776bd58a98b1f6d61be6cac8952227a5d98527
refs/heads/master
2023-08-16T22:57:36.498482
2023-08-15T15:47:35
2023-08-15T15:47:35
145,829,544
544
76
MIT
2022-12-13T22:46:23
2018-08-23T09:11:28
Python
UTF-8
Python
false
false
2,424
py
no_ref.py
from __future__ import absolute_import, division, print_function import numpy as np from .full_ref import uqi from scipy.ndimage.filters import uniform_filter from .utils import imresize def d_lambda (ms,fused,p=1): """calculates Spectral Distortion Index (D_lambda). :param ms: low resolution multispectral image. ...
5f00a2f77678f99cb5eff21c58b5c0a2368e77e5
c69fc4000c675f4405bd2b00e749fadaf629d3b3
/tests/test_max_score.py
9d5a4c8d9f6569b89631dbc9a7b0ae9cab8c1818
[ "MIT" ]
permissive
SimonBlanke/Hyperactive
dedf75e77bbd0c3020ce7b8f3d9382b7474f8590
23cc6adf36a13a9cac2b544117a41edd889563f0
refs/heads/master
2023-08-25T01:00:10.666237
2023-07-23T15:23:19
2023-07-23T15:23:19
155,687,643
473
45
MIT
2023-06-28T15:34:12
2018-11-01T08:53:30
Python
UTF-8
Python
false
false
2,092
py
test_max_score.py
import time import numpy as np from sklearn.datasets import load_breast_cancer from sklearn.model_selection import cross_val_score from sklearn.tree import DecisionTreeClassifier from hyperactive import Hyperactive from hyperactive.optimizers import ( RandomSearchOptimizer, HillClimbingOptimizer, ) def objec...
b4ac52b6279877e22c01e9a3eef5f69ed2b18d02
952dc66c61966f099756cdb6c2d13b40352f63cc
/zerver/webhooks/bitbucket2/view.py
1eca871e9e7a5ef59f9e962e33c4e006b8addd9c
[ "Apache-2.0", "LicenseRef-scancode-free-unknown" ]
permissive
zulip/zulip
5ae6aad35fd9f72996c0a2a9cdd674400966ebf6
965a25d91b6ee2db54038f5df855215fa25146b0
refs/heads/main
2023-08-28T23:43:00.971110
2023-08-28T16:47:09
2023-08-28T19:33:02
43,160,685
20,239
8,996
Apache-2.0
2023-09-14T20:57:47
2015-09-25T16:37:25
Python
UTF-8
Python
false
false
20,088
py
view.py
# Webhooks for external integrations. import re import string from functools import partial from typing import Dict, List, Optional, Protocol from django.http import HttpRequest, HttpResponse from zerver.decorator import log_unsupported_webhook_event, webhook_view from zerver.lib.exceptions import UnsupportedWebhookE...
b721a3b0619028eb0e7996bb14b9c116200d2825
48fee8cd0d6f1e83cd13969e437ee94472d3f113
/examples/simple_nested.py
e47c33dd1f25e76158696b9351ee414a4038f78f
[ "BSD-3-Clause" ]
permissive
plumdog/flask_table
15f97bee65fac1634aaf03acc11ae30fd8e9e1cb
0ef1e6f195f83af9df45e76de77dd3207f30f679
refs/heads/master
2023-01-05T21:15:21.652887
2021-12-04T07:16:42
2021-12-04T07:16:42
19,407,941
230
49
BSD-3-Clause
2022-12-14T13:00:30
2014-05-03T17:10:03
Python
UTF-8
Python
false
false
2,266
py
simple_nested.py
from flask_table import Table, Col, NestedTableCol """Lets suppose that we have a class that we get an iterable of from somewhere, such as a database. We can declare a table that pulls out the relevant entries, escapes them and displays them. Additionally, we show here how to used a NestedTableCol, by first defining ...
c4f45471193bfefb2fafe7f798440f506b85df6d
1faeaab0e95faf58d4e656efb07f064c70873c07
/demo/demo/urls.py
87631f4e9ab3e480a1fc6b38c9ba7c6c87164565
[ "BSD-2-Clause" ]
permissive
idlesign/django-sitetree
ee094759f85c4c37e97e5dadfb2ea62bfc2031c6
0fa4c95903d63e1d68430fd0108fc8938fa038eb
refs/heads/master
2023-07-18T08:28:41.521241
2022-11-11T01:14:39
2022-11-11T01:14:39
687,157
272
132
BSD-3-Clause
2022-11-11T01:14:40
2010-05-26T12:38:55
Python
UTF-8
Python
false
false
286
py
urls.py
from django.urls import re_path from .views import index, listing, detailed urlpatterns = [ re_path(r'^$', index, name='index'), re_path(r'^articles/$', listing, name='articles-listing'), re_path(r'^articles/(?P<article_id>\d+)/$', detailed, name='articles-detailed'), ]
4897fb14b5a67f0edb2ba4e1b44c2ab46a2ffc50
d91d19da3589c3f69a834bbb9834386e80f100e0
/datashader/tests/benchmarks/test_canvas.py
5853d3974aea503785f658464c56142f2df1b8bf
[]
permissive
holoviz/datashader
11d518371e974c02ba3843871e3e0905e0c83956
b510594eb771d14cff3b69efca8ddd37ca3a1046
refs/heads/main
2023-08-18T13:55:24.214980
2023-08-17T08:45:48
2023-08-17T08:45:48
48,504,165
1,040
133
BSD-3-Clause
2023-09-11T09:51:30
2015-12-23T18:02:20
Python
UTF-8
Python
false
false
1,486
py
test_canvas.py
import pytest import os import numpy as np import pandas as pd import datashader as ds test_gpu = bool(int(os.getenv("DATASHADER_TEST_GPU", 0))) @pytest.fixture def time_series(): n = 10**7 signal = np.random.normal(0, 0.3, size=n).cumsum() + 50 noise = lambda var, bias, n: np.random.normal(bias, var, n...
492c7df777e7e8ccad28116f17d5baa122d6c81d
850fb312d6cfa25546369b4950c47b04231dce8e
/src/gt4sd/frameworks/granular/dataloader/sampler.py
ce9fa3edc78605e9058a9c844efd38c88765c95b
[ "MIT" ]
permissive
GT4SD/gt4sd-core
825418303547c36cf64575ac4f8711877fd7e16b
0b69b7d5b261f2f9af3984793c1295b9b80cd01a
refs/heads/main
2023-09-02T21:23:46.156469
2023-08-30T08:28:40
2023-08-30T08:28:40
458,309,249
239
50
MIT
2023-08-25T06:14:52
2022-02-11T19:06:58
Jupyter Notebook
UTF-8
Python
false
false
3,216
py
sampler.py
# # MIT License # # Copyright (c) 2022 GT4SD team # # 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, merge,...
57840be1bc5a20916597b7477e38bff812f534a7
bb33e6be8316f35decbb2b81badf2b6dcf7df515
/source/res/scripts/client/bwobsolete_helpers/PyGUI/IME.py
3dbe0d35c3f7c62c8cd56a44e440047e8ecb73c1
[]
no_license
StranikS-Scan/WorldOfTanks-Decompiled
999c9567de38c32c760ab72c21c00ea7bc20990c
d2fe9c195825ececc728e87a02983908b7ea9199
refs/heads/1.18
2023-08-25T17:39:27.718097
2022-09-22T06:49:44
2022-09-22T06:49:44
148,696,315
103
39
null
2022-09-14T17:50:03
2018-09-13T20:49:11
Python
UTF-8
Python
false
false
17,084
py
IME.py
# Python bytecode 2.7 (decompiled from Python 2.7) # Embedded file name: scripts/client/bwobsolete_helpers/PyGUI/IME.py import BigWorld import GUI import Math import Utils from Utils import BlinkingCursor from Utils import blinkingColourProvider from Utils import getHPixelScalar, getVPixelScalar from bwdebug import * A...
a224763d19f9b9400e4626573dcf2834608ce0fe
b2fef77e77f77b6cfd83da4ec2f89cbe73330844
/monai/handlers/parameter_scheduler.py
d12e6e072c0a12edf3e1d2b608178a0bff4065a8
[ "Apache-2.0" ]
permissive
Project-MONAI/MONAI
8ef2593cc5fd1cd16e13464f927fe563fe3f5bac
e48c3e2c741fa3fc705c4425d17ac4a5afac6c47
refs/heads/dev
2023-09-02T00:21:04.532596
2023-09-01T06:46:45
2023-09-01T06:46:45
214,485,001
4,805
996
Apache-2.0
2023-09-14T15:19:30
2019-10-11T16:41:38
Python
UTF-8
Python
false
false
7,119
py
parameter_scheduler.py
# Copyright (c) MONAI Consortium # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, so...
1c435f5d216b1f722aa75d85026bf1e22154ec95
71b8b60c5627ace1bbda39f679f93f60b55543ca
/tensorflow_federated/python/core/impl/computation/computation_impl.py
ceb97a946cb846abe3f8be880d5aedf7addaf150
[ "Apache-2.0" ]
permissive
tensorflow/federated
ff94b63e9f4af448795bae77cee5b627dcae9051
ad4bca66f4b483e09d8396e9948630813a343d27
refs/heads/main
2023-08-31T11:46:28.559047
2023-08-31T02:04:38
2023-08-31T02:09:59
161,556,784
2,297
631
Apache-2.0
2023-09-13T22:54:14
2018-12-12T23:15:35
Python
UTF-8
Python
false
false
6,062
py
computation_impl.py
# Copyright 2018, The TensorFlow Federated 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 o...
54d73c0ea7a45df241f44749d8503f616e0189bf
d718da620c1adffdd202355e2b641d1a1fc18cbe
/src/pyfme/models/euler_flat_earth.py
f0d16231a5158d84d01caf05f7c6b8d6f2bca88e
[ "MIT" ]
permissive
AeroPython/PyFME
af46465725ee9adb5ac149757d02032a8a40ddc3
156fa9f1db097f107c20ad7354c71b1eaee4cbb1
refs/heads/master
2021-01-24T06:47:30.243437
2020-08-13T11:34:37
2020-08-13T11:34:37
42,995,365
210
103
MIT
2020-08-13T11:34:39
2015-09-23T10:47:58
Python
UTF-8
Python
false
false
8,491
py
euler_flat_earth.py
# -*- coding: utf-8 -*- """ Python Flight Mechanics Engine (PyFME). Copyright (c) AeroPython Development Team. Distributed under the terms of the MIT License. Euler Flat Earth ---------------- Classical aircraft motion equations assuming no Earth rotation inertial effects, representing attitude with Euler angles (not...
ba0f076c28ff8381530cf2813423889bd705ee41
04e5b6df2ee3bcfb7005d8ec91aab8e380333ac4
/Lib/objc/_FTServices.py
f95d8680cd90992fae2ec4a80c973a4c74dce3d7
[ "MIT" ]
permissive
ColdGrub1384/Pyto
64e2a593957fd640907f0e4698d430ea7754a73e
7557485a733dd7e17ba0366b92794931bdb39975
refs/heads/main
2023-08-01T03:48:35.694832
2022-07-20T14:38:45
2022-07-20T14:38:45
148,944,721
884
157
MIT
2023-02-26T21:34:04
2018-09-15T22:29:07
C
UTF-8
Python
false
false
1,635
py
_FTServices.py
""" Classes from the 'FTServices' framework. """ try: from rubicon.objc import ObjCClass except ValueError: def ObjCClass(name): return None def _Class(name): try: return ObjCClass(name) except NameError: return None FTPasswordManager = _Class("FTPasswordManager") _FTPasswo...
5003606e679db8b94be0bb59574ddd8683415f02
fb52e7d82f88bf59e43a0cf6762e1926e2188f11
/adam-python/bdgenomics/adam/test/variantDataset_test.py
de8c22152da0670e28344ed03e12f8accb3b4574
[ "Apache-2.0", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause", "MIT" ]
permissive
bigdatagenomics/adam
d621fea3d988da8917417d8ebd46434919b917fa
02f4048ac7ddcc1d507427bb86893691a4f6160a
refs/heads/master
2023-08-12T18:20:18.696000
2023-02-23T16:30:44
2023-02-23T17:10:52
14,541,530
929
315
Apache-2.0
2023-08-21T17:07:36
2013-11-19T23:47:57
Scala
UTF-8
Python
false
false
1,709
py
variantDataset_test.py
# # Licensed to Big Data Genomics (BDG) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The BDG licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not use this fil...
52be4b3da6973e7dd17fa5f058da92e4db4f3ede
2218f5f93ded47519e29a682e68f5e4eff82be8e
/docs/sphinx/conf.py
09222a459f2b012743ff9f2feb25f2cd5c16adce
[ "Apache-2.0" ]
permissive
ddinu/observable
56bb113c28a8f3e716d625c0a633318e72df103d
8bb82fdf8a7680af5f1957a497cf7fecc7d80010
refs/heads/master
2022-08-07T15:56:02.730886
2022-01-24T23:37:18
2022-01-24T23:37:18
66,405,755
301
32
Apache-2.0
2022-01-24T23:09:33
2016-08-23T21:45:22
C++
UTF-8
Python
false
false
436
py
conf.py
project = "Observable" master_doc = 'index' html_theme = 'alabaster' html_theme_options = { 'description': "Generic observable objects for C++", 'github_user': 'ddinu', 'github_repo': 'observable', 'github_button': True, 'font_family': 'Helvetica, Arial, sans-serif', 'head_font_family': 'Helvet...
d90799b491e43b127f0c9ac17658e88d2cae1ef2
ef2c1a0ae0f1746e58fcc160844788ab92a8d488
/archai/trainers/lamb_optimizer.py
04f225db7056a21688694e826c41af701a0e4b84
[ "MIT", "LicenseRef-scancode-free-unknown", "LGPL-2.1-or-later", "Apache-2.0", "LicenseRef-scancode-generic-cla" ]
permissive
microsoft/archai
4d04476ef6a434148638ef91df0ef3bf2c948422
95d6e19a1523a701b3fbc249dd1a7d1e7ba44aee
refs/heads/main
2023-09-03T13:23:48.576626
2023-07-27T01:30:01
2023-07-27T01:30:01
245,036,506
439
97
MIT
2023-05-09T21:10:10
2020-03-05T00:54:29
Python
UTF-8
Python
false
false
8,706
py
lamb_optimizer.py
# Copyright (c) 2019-2020, NVIDIA CORPORATION. # Licensed under the Apache License, Version 2.0. # https://github.com/NVIDIA/DeepLearningExamples/blob/master/PyTorch/LanguageModeling/Transformer-XL/pytorch/lamb.py # # Copyright (c) 2019 cybertronai. # Licensed under the MIT license. from typing import Iterable, Option...
f3c9f33cd5dba0dc9e0e39d086df27783391b20c
40dd8330e5f78c4348bbddc2c5acfd59d793dd51
/tools/model_converters/swin2mmseg.py
d434f9465bbdad6bebc7d5962e8bfaf63c7c9e72
[ "Apache-2.0" ]
permissive
open-mmlab/mmsegmentation
0d12092312e2c465ede1fd7dd9847b6f2b37049c
30a3f94f3e2916e27fa38c67cc3b8c69c1893fe8
refs/heads/main
2023-09-04T10:54:52.299711
2023-07-24T07:28:21
2023-07-24T07:28:21
272,133,018
6,534
2,375
Apache-2.0
2023-09-14T01:22:32
2020-06-14T04:32:33
Python
UTF-8
Python
false
false
2,740
py
swin2mmseg.py
# Copyright (c) OpenMMLab. All rights reserved. import argparse import os.path as osp from collections import OrderedDict import mmengine import torch from mmengine.runner import CheckpointLoader def convert_swin(ckpt): new_ckpt = OrderedDict() def correct_unfold_reduction_order(x): out_channel, in_...
d927f496b0644872007c881f037084a89791d819
f7dc806f341ef5dbb0e11252a4693003a66853d5
/modules/mobile_vr/SCsub
e6c43228b4c9a2ff92663a44041514d3c476bdec
[ "LicenseRef-scancode-free-unknown", "MIT", "CC-BY-4.0", "OFL-1.1", "Bison-exception-2.2", "CC0-1.0", "LicenseRef-scancode-nvidia-2002", "LicenseRef-scancode-other-permissive", "GPL-3.0-only", "LicenseRef-scancode-unknown-license-reference", "Unlicense", "BSL-1.0", "Apache-2.0", "BSD-3-Clau...
permissive
godotengine/godot
8a2419750f4851d1426a8f3bcb52cac5c86f23c2
970be7afdc111ccc7459d7ef3560de70e6d08c80
refs/heads/master
2023-08-21T14:37:00.262883
2023-08-21T06:26:15
2023-08-21T06:26:15
15,634,981
68,852
18,388
MIT
2023-09-14T21:42:16
2014-01-04T16:05:36
C++
UTF-8
Python
false
false
158
SCsub
#!/usr/bin/env python Import("env") Import("env_modules") env_mobile_vr = env_modules.Clone() env_mobile_vr.add_source_files(env.modules_sources, "*.cpp")
a5d15ab27ee3902c45449aaf323c86fbdabb603c
83de24182a7af33c43ee340b57755e73275149ae
/aliyun-python-sdk-green/aliyunsdkgreen/__init__.py
c8e17b56156faac648f0a58dc047f156f76e63cc
[ "Apache-2.0" ]
permissive
aliyun/aliyun-openapi-python-sdk
4436ca6c57190ceadbc80f0b1c35b1ab13c00c7f
83fd547946fd6772cf26f338d9653f4316c81d3c
refs/heads/master
2023-08-04T12:32:57.028821
2023-08-04T06:00:29
2023-08-04T06:00:29
39,558,861
1,080
721
NOASSERTION
2023-09-14T08:51:06
2015-07-23T09:39:45
Python
UTF-8
Python
false
false
21
py
__init__.py
__version__ = '3.6.6'
50309e485e2260079e4b0d1f9af1138ccb688e7a
a5a99f646e371b45974a6fb6ccc06b0a674818f2
/Calibration/HcalAlCaRecoProducers/python/alcagammajet_cfi.py
6afff74e0f025f01943f7da0e6a2c8687a6d5dde
[ "Apache-2.0" ]
permissive
cms-sw/cmssw
4ecd2c1105d59c66d385551230542c6615b9ab58
19c178740257eb48367778593da55dcad08b7a4f
refs/heads/master
2023-08-23T21:57:42.491143
2023-08-22T20:22:40
2023-08-22T20:22:40
10,969,551
1,006
3,696
Apache-2.0
2023-09-14T19:14:28
2013-06-26T14:09:07
C++
UTF-8
Python
false
false
429
py
alcagammajet_cfi.py
import FWCore.ParameterSet.Config as cms # producer for alcadijets (HCAL gamma-jet) import Calibration.HcalAlCaRecoProducers.alcaGammaJetProducer_cfi GammaJetProd = Calibration.HcalAlCaRecoProducers.alcaGammaJetProducer_cfi.alcaGammaJetProducer.clone() import Calibration.HcalAlCaRecoProducers.alcaGammaJetSelector_cfi...
23eb6cce60fbc6f48f622f62ba6bcfa5271323f2
c82aceed27b19578708f1aa1497a0a2e7268e891
/modules/api/src/test/functional/tests/shared_zone_test_context.py
a27c52018416e2a9601a8b0b892c1d8283d6d6af
[ "MPL-2.0", "EPL-1.0", "Apache-2.0" ]
permissive
vinyldns/vinyldns
441ba87943db67aba61806f47d85de5c5380dd99
ec54b1d533f744fc7777aa747b6ad4f1c46d0c3e
refs/heads/master
2023-08-31T04:17:28.072961
2023-08-22T14:18:30
2023-08-22T14:18:30
142,474,323
353
134
Apache-2.0
2023-09-12T20:26:47
2018-07-26T17:43:18
Scala
UTF-8
Python
false
false
28,814
py
shared_zone_test_context.py
import copy import inspect import logging from typing import MutableMapping, Mapping from tests.list_batch_summaries_test_context import ListBatchChangeSummariesTestContext from tests.list_groups_test_context import ListGroupsTestContext from tests.list_recordsets_test_context import ListRecordSetsTestContext from tes...
aee22ec13955f79a040eb5b70f2f55372036fb37
163bad17c2ba0aeeb05e29d1a7f870e675ee28eb
/hikyuu/trade_manage/trade.py
92dbce57ddd996e90963d73c595f7e75e494c975
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
fasiondog/hikyuu
8b7bc4fd99ff915c621586a480c3663ef3fae464
86b0fa5b0e847d9a04905bca93660a7a33fc9fc2
refs/heads/master
2023-09-03T15:04:33.983389
2023-09-03T11:17:46
2023-09-03T11:17:46
5,103,141
1,884
547
MIT
2023-09-06T16:53:51
2012-07-18T23:21:42
C++
UTF-8
Python
false
false
4,755
py
trade.py
#!/usr/bin/python # -*- coding: utf8 -*- # cp936 # # The MIT License (MIT) # # Copyright (c) 2010-2017 fasiondog # # 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, includi...
05dd191bc612827e1b09eb9c062b501d472ab72c
1543b53d145e1783ba0faa8a3b84b5c49ee29084
/kedro/extras/datasets/api/__init__.py
ccd799b2c95741dd06b6afd513b6066a87d23c6d
[ "Apache-2.0" ]
permissive
kedro-org/kedro
9ed5920ac713e66861039ba4901a5347d3cda28e
0293dc15812b27330bba31a01c7b332b3165af2a
refs/heads/main
2023-09-01T08:57:52.258279
2023-08-31T09:19:39
2023-08-31T09:19:39
182,067,506
4,099
332
Apache-2.0
2023-09-14T12:12:52
2019-04-18T10:29:56
Python
UTF-8
Python
false
false
316
py
__init__.py
"""``APIDataSet`` loads the data from HTTP(S) APIs and returns them into either as string or json Dict. It uses the python requests library: https://requests.readthedocs.io/en/latest/ """ __all__ = ["APIDataSet"] from contextlib import suppress with suppress(ImportError): from .api_dataset import APIDataSet
d634f2b3d934856e70e6967929f96e3a4c238dd9
9d5ae8add5868d56af20f38f0bc1841d5ed3b4c2
/tests/unit/utils/test_stat_buffer.py
b263f2e33de64ee522c693272200a9e54b8e1230
[ "BSD-3-Clause", "Python-2.0", "Apache-2.0" ]
permissive
powerapi-ng/powerapi
5c6e30a48716f0c06449c489820991ed3ca2167d
be3f1852ad38894c2bc487bbb3a30508ed8d6b50
refs/heads/master
2023-08-16T12:14:16.940876
2023-08-16T11:25:51
2023-08-16T11:25:51
175,017,297
143
29
BSD-3-Clause
2023-09-12T12:00:45
2019-03-11T14:27:02
Python
UTF-8
Python
false
false
5,041
py
test_stat_buffer.py
# Copyright (c) 2021, INRIA # Copyright (c) 2021, University of Lille # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # * Redistributions of source code must retain the above copyright notice, t...
e942c32abda797626d0bcbfd1265894a8d35ce2c
39b021eabbb8e3be1734cf92fd641965a796b0eb
/deepchem/feat/molecule_featurizers/raw_featurizer.py
b6cf3908c407660406484cae98d858229d4d832c
[ "MIT" ]
permissive
deepchem/deepchem
066cbf42316b2f6bec0166727e0264a485d5266f
ee6e67ebcf7bf04259cf13aff6388e2b791fea3d
refs/heads/master
2023-09-02T01:32:17.860111
2023-08-31T18:49:00
2023-08-31T18:49:00
43,098,215
4,876
1,905
MIT
2023-09-14T19:10:44
2015-09-24T23:20:28
Python
UTF-8
Python
false
false
1,687
py
raw_featurizer.py
from typing import Union from deepchem.utils.typing import RDKitMol from deepchem.feat.base_classes import MolecularFeaturizer class RawFeaturizer(MolecularFeaturizer): """Encodes a molecule as a SMILES string or RDKit mol. This featurizer can be useful when you're trying to transform a large collection...
a4d04a01622c177f98a2e7854409fc7119f1d7ba
76b467dff2c870e85f2f5a5cf70229626b966a25
/sota_extractor/scrapers/nlp_progress/markdown.py
7eadbab4f57e4703eee764030efa67187888fb30
[ "Apache-2.0", "MIT", "CC-BY-SA-3.0", "CC-BY-SA-4.0" ]
permissive
paperswithcode/sota-extractor
6909eeb34c1ea3c6b2c5f833b02e3785eaada5ba
e6374da129cedab1736e97883bfbcddb7ddd2a72
refs/heads/master
2022-05-13T02:38:38.047255
2022-03-09T15:23:26
2022-03-09T15:23:26
160,834,210
271
35
Apache-2.0
2022-03-09T15:23:27
2018-12-07T14:29:42
Python
UTF-8
Python
false
false
5,722
py
markdown.py
import io import logging from typing import List import markdown from markdown.treeprocessors import Treeprocessor from markdown.extensions.tables import TableExtension from sota_extractor.taskdb.v01 import Task, Dataset, TaskDB from sota_extractor.scrapers.nlp_progress.fixer import fix_task from sota_extractor.scrap...
35a7398f2569acffe9328f5940ae8a817a51b364
f00747d1406b3211983f1255855fce0b5346c13d
/src/modules/iqy_gen.py
b310d90579a99783625b0c6be4d57f1433a4ae6d
[ "Apache-2.0" ]
permissive
sevagas/macro_pack
d594c34fed6f3e684130323d96efa27d2d98af95
071fd4aa16dc74815c2a860ddafe4358d6454c89
refs/heads/master
2023-08-15T08:04:35.577175
2022-01-20T17:15:59
2022-01-20T17:15:59
105,688,016
1,992
413
Apache-2.0
2022-05-12T13:20:41
2017-10-03T18:30:06
Python
UTF-8
Python
false
false
1,231
py
iqy_gen.py
#!/usr/bin/env python # encoding: utf-8 import logging from common.utils import MPParam, getParamValue from modules.payload_builder import PayloadBuilder """ http://www.labofapenetrationtester.com/2015/08/abusing-web-query-iqy-files.html https://inquest.net/blog/2018/08/23/hunting-iqy-files-with-yara """ IQY_TEM...
76d95e14b64b98e8ae67636dd770efb4d174e57f
c544b4a171b55fb98e2a17aa3068b599301585ac
/plasTeX/Renderers/ManPage/__init__.py
4dec52eba4c6aa6f1966500bac576dab8408eded
[ "MIT" ]
permissive
plastex/plastex
3c9dbbfd47a2cb83ef919bcfbb1b57723a8a6979
a882a62b81e6ae7b8c9454ae2b222ef5c2c14bb1
refs/heads/master
2023-07-20T04:53:20.325023
2023-07-03T10:03:34
2023-07-03T10:03:34
17,483,722
129
41
NOASSERTION
2023-09-04T10:49:23
2014-03-06T16:10:23
Python
UTF-8
Python
false
false
12,585
py
__init__.py
from plasTeX.Renderers import Renderer as BaseRenderer from plasTeX import encoding import textwrap, re, string class ManPageRenderer(BaseRenderer): """ Renderer for UNIX man pages """ outputType = str fileExtension = '.man' aliases = { 'superscript': 'active::^', 'subscript': 'ac...
ac7cb63f440dd3cd5f2a86b287790588f91c3a5e
b4cfd4949cab5dc5bd27fb028596a9fc02f4e1db
/skfda/exploratory/outliers/_directional_outlyingness.py
30e8338d34415cc11facf54244ed437b0db9077a
[ "BSD-3-Clause" ]
permissive
GAA-UAM/scikit-fda
dabfd995f2c82efb0d44fa1d2005b2a8ca67442b
dfbce35cc9e67d93306dddf0edf4f95aaacd8aff
refs/heads/develop
2023-08-31T09:11:31.407423
2023-08-18T08:19:21
2023-08-18T08:19:21
96,133,420
231
55
BSD-3-Clause
2023-08-18T08:19:22
2017-07-03T17:06:56
Python
UTF-8
Python
false
false
19,535
py
_directional_outlyingness.py
from __future__ import annotations from dataclasses import dataclass from typing import Tuple import numpy as np import scipy.integrate import scipy.stats from numpy import linalg as la from sklearn.covariance import MinCovDet from ..._utils._sklearn_adapter import BaseEstimator, OutlierMixin from ...misc.validation...
96d85d395793d601f1466c2af747dd4a48cc357c
22531d5431acb0630c600be31ae3e8a9954b252c
/dpkt/hsrp.py
51154569828d26cd6e1d71df483665cdace7b893
[ "LicenseRef-scancode-warranty-disclaimer", "BSD-2-Clause" ]
permissive
kbandla/dpkt
f33cae70d587637fe46303ca9cd467ac1f2f0990
440447ae17afc83af9e8d0167e8f13a907d9b83b
refs/heads/master
2023-08-18T08:58:41.459495
2023-01-27T16:44:52
2023-01-27T16:44:52
4,576,441
1,071
350
NOASSERTION
2023-09-09T15:21:08
2012-06-06T18:39:31
Python
UTF-8
Python
false
false
2,223
py
hsrp.py
# $Id: hsrp.py 23 2006-11-08 15:45:33Z dugsong $ # -*- coding: utf-8 -*- """Cisco Hot Standby Router Protocol.""" from __future__ import absolute_import from . import dpkt # Opcodes HELLO = 0 COUP = 1 RESIGN = 2 # States INITIAL = 0x00 LEARN = 0x01 LISTEN = 0x02 SPEAK = 0x04 STANDBY = 0x08 ACTIVE = 0x10 class HSRP...
42af354e3ebb8c508e32760cec2dd4680dbb3550
a5a99f646e371b45974a6fb6ccc06b0a674818f2
/SimGeneral/DataMixingModule/python/DataMixer_DataConditions_3_8_X_data2010.py
dc9c02fcf255679225fc8edcc9fdc4540a5582c4
[ "Apache-2.0" ]
permissive
cms-sw/cmssw
4ecd2c1105d59c66d385551230542c6615b9ab58
19c178740257eb48367778593da55dcad08b7a4f
refs/heads/master
2023-08-23T21:57:42.491143
2023-08-22T20:22:40
2023-08-22T20:22:40
10,969,551
1,006
3,696
Apache-2.0
2023-09-14T19:14:28
2013-06-26T14:09:07
C++
UTF-8
Python
false
false
14,722
py
DataMixer_DataConditions_3_8_X_data2010.py
import FWCore.ParameterSet.Config as cms def customise(process): # # IOV set based on GlobalTag GR_R_35X_V8B # # placeholder !!!!!! replace with the actual run number of # the real run to be overlaid process.source.firstRun = cms.untracked.uint32(132599) process.ecalConditions1 = cms.ESSource("Poo...
64e67e713f1397847264a68fe79b0a4ecac10687
793155a64d67f08a27900b91309c45c4a80c4098
/6/src6/1/mario1.py
99002879c63ddc5219108934a5e58496eef2ef76
[]
no_license
cs50/lectures
dad568d3179be2f821b861b4db5f63e66a03cfcd
deed42bc3d2dd2e0f56f7e3a0e421026a5ca8107
refs/heads/2022/fall
2023-07-08T11:48:40.398165
2023-03-22T15:27:22
2023-03-22T15:27:22
66,601,652
225
146
null
2022-09-19T21:00:56
2016-08-26T00:02:52
C
UTF-8
Python
false
false
172
py
mario1.py
# Prints a column of n bricks with a loop from cs50 import get_int while True: n = get_int("Height: ") if n > 0: break for i in range(n): print("#")
b88e6a55321fa78c981fc914107f4dccc3437ca1
ce0a34a4a1f44cda31042e4294e6cef334392a37
/corpustools/gui/environments.py
654a14afba3ea2d0d1f1ab4dc1b2366840a9c051
[ "GPL-3.0-only" ]
permissive
PhonologicalCorpusTools/CorpusTools
ba6644f90a9790d3f61d923b3b5622eaeaa24caa
314bd30be24b1cb7ee0c252a6529bbfe964056ad
refs/heads/master
2022-09-29T20:36:12.148289
2022-09-16T01:57:47
2022-09-16T01:57:47
18,848,568
108
24
BSD-3-Clause
2021-05-07T23:58:03
2014-04-16T17:14:55
Python
UTF-8
Python
false
false
56,641
py
environments.py
from .imports import * from .widgets import SegmentSelectionWidget, SegmentSelectDialog from corpustools.corpus.classes.lexicon import EnvironmentFilter, SyllableEnvironmentFilter import sip from pprint import pprint import regex as re SPECIAL_SYMBOL_RE = ['.', '^', '$', '*', '+', '?', '|', '{', '}', '[', ']', '#', '(...
dc8ec2ecfa59d7fab6c305f95e2695f2178d85c8
ec1c268f2b24ab1a636be3db21651748ccade65d
/QuickWall/__init__.py
7f1ae9b9a42baed8f7e1a3da52bf00eb2f8af301
[ "MIT" ]
permissive
deepjyoti30/QuickWall
f44a2d023d1b0f6a9ca9b7476c6415f1621d32ca
3a51b33b29fce615f29df672fd68e9a4d687b3e9
refs/heads/master
2022-02-24T20:10:02.615520
2022-02-16T18:09:04
2022-02-16T18:09:04
201,968,469
210
12
MIT
2019-12-31T09:19:59
2019-08-12T16:30:18
Python
UTF-8
Python
false
false
284
py
__init__.py
name = "QuickWall" __all__ = ['download', 'utility', 'logger', 'nitrogen', 'feh', 'kde', 'setter', 'blacklist', 'SetPaper', 'search', 'wall', 'wal', ]
02329a124245531b26030ef4d48a5c92ca10f1f4
83b8b30ebb633eecd29ca0a7a20cc43a293c9333
/tests/cmdline/repl_words_move.py
e1eb5295350c180e13d5bf861ac7a3d9c58be43e
[ "MIT", "GPL-1.0-or-later" ]
permissive
adafruit/circuitpython
430ec895149d1eb814b505db39b4977a35ee88a7
506dca71b0cbb7af749bb51f86b01021db5483b3
refs/heads/main
2023-08-21T16:30:46.781068
2023-08-20T00:39:44
2023-08-20T00:39:44
66,166,069
3,806
1,560
MIT
2023-09-14T19:23:51
2016-08-20T20:10:40
C
UTF-8
Python
false
false
709
py
repl_words_move.py
# word movement # backward-word, start in word 234b1 # backward-word, don't start in word 234 b1 # backward-word on start of line. if cursor is moved, this will result in a SyntaxError 1 2 + 3b+ # forward-word, start in word 1+2 12+f+3 # forward-word, don't start in word 1+ 12 3f+ # forward-word on eo...
f22f50273601130e284056268777f660ed9fc25d
2337351b228818e41be3002bd38f68f77c2aa074
/sa/interfaces/inotifysae.py
dfe566f7aec02931930cfd78d436ff6a0372d169
[ "BSD-3-Clause" ]
permissive
nocproject/noc
57d40c680a1499374463e472434f9595ed6d1374
6e6d71574e9b9d822bec572cc629a0ea73604a59
refs/heads/master
2023-08-31T01:11:33.544573
2023-08-30T17:31:11
2023-08-30T17:31:11
107,815,776
105
33
BSD-3-Clause
2023-07-31T07:57:45
2017-10-21T21:04:33
Python
UTF-8
Python
false
false
522
py
inotifysae.py
# --------------------------------------------------------------------- # INotifySAE interface # --------------------------------------------------------------------- # Copyright (C) 2007-2010 The NOC Project # See LICENSE for details # --------------------------------------------------------------------- # NOC Module...
345b4d1f0f460f6d0b355f6c2fd15ced8818aabc
2d05050d0ada29f7680b4df20c10bb85b0530e45
/python/tvm/auto_scheduler/search_task.py
767baf916d58f0aa0c87537fd4fcf617275737d6
[ "Apache-2.0", "BSD-3-Clause", "MIT", "LicenseRef-scancode-unknown-license-reference", "Unlicense", "Zlib", "LLVM-exception", "BSD-2-Clause" ]
permissive
apache/tvm
87cb617f9a131fa44e1693303aaddf70e7a4c403
d75083cd97ede706338ab413dbc964009456d01b
refs/heads/main
2023-09-04T11:24:26.263032
2023-09-04T07:26:00
2023-09-04T07:26:00
70,746,484
4,575
1,903
Apache-2.0
2023-09-14T19:06:33
2016-10-12T22:20:28
Python
UTF-8
Python
false
false
23,857
py
search_task.py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
bf435e5381b0bec0a03d81e530a64ab0eec5b26c
0f59e486ea9d7c96b8c3f7f92bf063fc8389f1e8
/envi/expression.py
c95a944b639a9f7036408b9e0580256891481431
[ "Apache-2.0" ]
permissive
vivisect/vivisect
ac259918b6281d9431c32a0b2307c61f9cab0dec
b07e161cc28b19fdda0d047eefafed22c5b00f15
refs/heads/master
2023-08-25T09:02:00.526532
2023-07-26T03:07:07
2023-07-26T03:07:07
26,651,759
833
181
Apache-2.0
2023-09-07T03:43:53
2014-11-14T18:28:47
Python
UTF-8
Python
false
false
4,068
py
expression.py
""" Unified expression helpers. """ class ExpressionFail(Exception): def __init__(self, pycode, exception): Exception.__init__(self) self.pycode = pycode self.exception = exception def __repr__(self): return "ExpressionFail: %r is not a valid expression in this context (%r)" %...
7161eb0d57293f31f0d479425eaf4ebf74a100d6
69e215d4d4f91501558bfa3f529f9569155c1da4
/installer/resources/src/find_existing_resources.py
dc1dc97d6b3b03c96bde6599870e25235c4daf19
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0", "MIT", "BSD-3-Clause", "GPL-1.0-or-later", "AGPL-3.0-only", "AGPL-3.0-or-later" ]
permissive
awslabs/scale-out-computing-on-aws
a9ca83602a684c9067d48c19656b294bc12ac5fb
e1617b14bb1b4a29a5bc6e02fa76c1312a333389
refs/heads/main
2023-08-08T23:08:33.652011
2023-07-28T09:23:56
2023-07-28T09:23:56
212,436,034
110
66
Apache-2.0
2023-08-24T20:20:57
2019-10-02T20:34:06
Python
UTF-8
Python
false
false
38,319
py
find_existing_resources.py
###################################################################################################################### # Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. # # ...
6303774c29919094d459b9685acffd5519d7e0cb
a4269b96a9eba49bbe692733d6777ec1917ef629
/semana-04/scripts/3-eventos-y-señales-ejemplo_3.py
9bea8cebaa84a13bf93fd20020cbc28f751f4527
[]
no_license
IIC2233/contenidos
7bbc687c10d5fa2f394891507cf733f24b14080f
ee49033e3aa382f1dcbd03004601a7c084f824ab
refs/heads/main
2023-08-29T10:15:56.430976
2023-08-22T04:35:17
2023-08-22T04:37:00
286,314,095
118
193
null
2020-10-13T16:55:19
2020-08-09T20:45:00
Jupyter Notebook
UTF-8
Python
false
false
1,559
py
3-eventos-y-señales-ejemplo_3.py
import sys from PyQt6.QtWidgets import QApplication, QWidget, QLabel class MiVentana(QWidget): def __init__(self): super().__init__() self.setGeometry(100, 100, 110, 400) self.label = QLabel("Haz clic en mí", self) self.label.setGeometry(10, 10, 90, 100) self.label.setStyl...
7239e03f976db7ede7f3570170f032049df1adcc
5dac15b472b4cb73c746e5fcc36c37c110b528c2
/tools/macos.py
34a755abefc50b48c2d103c162449afc9011d7ae
[ "MIT" ]
permissive
godotengine/godot-cpp
c2f75545e8c469282f7629185b5a8c68d2975089
c370f0f24a6e4ce767e21673731838f1affc45fb
refs/heads/master
2023-08-17T19:40:25.532820
2023-08-17T15:14:07
2023-08-17T15:14:07
83,732,863
787
356
MIT
2023-09-13T11:44:23
2017-03-02T22:50:13
C++
UTF-8
Python
false
false
2,326
py
macos.py
import os import sys def has_osxcross(): return "OSXCROSS_ROOT" in os.environ def options(opts): opts.Add("macos_deployment_target", "macOS deployment target", "default") opts.Add("macos_sdk_path", "macOS SDK path", "") if has_osxcross(): opts.Add("osxcross_sdk", "OSXCross SDK version", "dar...
7cfd7bff3a6f6e466d95262e79b46a5ac8356719
6415c13547e6943f7b65337cbd2790c4e18723c8
/netbox/dcim/migrations/0167_module_status.py
c048b4bd83f60ff3a00ddd91336c28dcc0ddc2c2
[ "Apache-2.0" ]
permissive
netbox-community/netbox
287254a9698270d51f57b1297118e9f01536da5a
506884bc4dc70299db3e2a7ad577dd7fd808065e
refs/heads/develop
2023-08-24T09:11:46.685121
2023-08-23T18:44:14
2023-08-23T18:44:14
52,796,596
8,122
1,817
Apache-2.0
2023-09-14T18:16:01
2016-02-29T14:15:46
Python
UTF-8
Python
false
false
401
py
0167_module_status.py
# Generated by Django 4.1.2 on 2022-12-09 15:09 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('dcim', '0166_virtualdevicecontext'), ] operations = [ migrations.AddField( model_name='module', name='status', ...
20e6010b1b4f3a78c0dbaa06319d3dcb7934ef77
65078b8087c2040cf0188e2550ea298d20518f62
/src/bentoml_cli/cli.py
303af2493ad16a2d9ffbc25b67808046445d39d5
[ "Apache-2.0" ]
permissive
bentoml/BentoML
20ab6f8351b1c5cd116d6d60a28098246a1581b3
4a14f073d8a3e700aff29483b17ea053058c0c63
refs/heads/main
2023-09-05T16:03:08.909692
2023-09-04T18:54:33
2023-09-04T18:54:33
178,976,529
5,712
732
Apache-2.0
2023-09-14T20:07:54
2019-04-02T01:39:27
Python
UTF-8
Python
false
false
2,561
py
cli.py
from __future__ import annotations import importlib.metadata import click import psutil from bentoml_cli.bentos import add_bento_management_commands from bentoml_cli.cloud import add_cloud_command from bentoml_cli.containerize import add_containerize_command from bentoml_cli.deployment import add_deployment_command ...
f0315d76012b1902fe4cadeedca1ddbb4d8a6eed
11e227cc06dfce171fe521591909e347b67220ff
/build/scripts/documentation_release.py
1758f38475291df851fe2c52f28b695cf6e0099f
[ "Apache-2.0" ]
permissive
approvals/ApprovalTests.cpp
45638b954cd84d2c154c250111c60b46d8efc5d0
d49cbcbd8a83ad8be12ad647e84162d6b2fe69b0
refs/heads/master
2023-08-17T17:13:51.713763
2023-08-05T17:38:09
2023-08-05T17:38:09
9,286,563
298
61
Apache-2.0
2023-09-04T17:23:47
2013-04-08T01:53:54
C++
UTF-8
Python
false
false
2,975
py
documentation_release.py
import shutil import time from collections import Callable from scripts.release_constants import release_constants from scripts.utilities import read_file, use_directory, replace_text_in_file, run, check_step from scripts.release_details import ReleaseDetails from typing import Callable class PrepareDocumentationRel...
52b0277658a1a8c004f9bac868c6f25cc3a2eb7f
549270020f6c8724e2ef1b12e38d11b025579f8d
/recipes/libbasisu/all/conanfile.py
6dfaf4ee7f3dec6ff53af5698f3bc4400a191c99
[ "MIT" ]
permissive
conan-io/conan-center-index
1bcec065ccd65aa38b1fed93fbd94d9d5fe6bc43
3b17e69bb4e5601a850b6e006e44775e690bac33
refs/heads/master
2023-08-31T11:34:45.403978
2023-08-31T11:13:23
2023-08-31T11:13:23
204,671,232
844
1,820
MIT
2023-09-14T21:22:42
2019-08-27T09:43:58
Python
UTF-8
Python
false
false
4,769
py
conanfile.py
import os from conans import ConanFile, CMake, tools from conans.errors import ConanInvalidConfiguration required_conan_version = ">=1.33.0" class LibBasisUniversalConan(ConanFile): name = "libbasisu" description = "Basis Universal Supercompressed GPU Texture Codec" homepage = "https://github.com/Binomia...
50459ca91fe0dfed99c09e4b675ceec28ceffd77
1543b53d145e1783ba0faa8a3b84b5c49ee29084
/tests/io/test_incremental_dataset.py
76218b63244213736372b9dd86f64bb3ba856d14
[ "Apache-2.0" ]
permissive
kedro-org/kedro
9ed5920ac713e66861039ba4901a5347d3cda28e
0293dc15812b27330bba31a01c7b332b3165af2a
refs/heads/main
2023-09-01T08:57:52.258279
2023-08-31T09:19:39
2023-08-31T09:19:39
182,067,506
4,099
332
Apache-2.0
2023-09-14T12:12:52
2019-04-18T10:29:56
Python
UTF-8
Python
false
false
17,863
py
test_incremental_dataset.py
from __future__ import annotations import os import re from pathlib import Path from typing import Any import boto3 import pandas as pd import pytest from moto import mock_s3 from pandas.util.testing import assert_frame_equal from kedro.extras.datasets.pickle import PickleDataSet from kedro.extras.datasets.text impo...
d493c5c413a7d77cf2c63422924af6c04f52d3d1
54485e624e28529ff066d6d1ecab620c2ec14f36
/tests/test_outcome.py
f6f8500798025ec75eb0341eaa73549d884df587
[ "MIT" ]
permissive
ucfopen/canvasapi
c63be9655672a1cd1f51028c2619523224af80ec
02d42cba3b0fd22e780ac0a5e904ea84fbc0b58d
refs/heads/develop
2023-08-19T03:08:34.936379
2023-05-25T14:46:58
2023-05-25T14:46:58
73,851,042
503
183
MIT
2023-06-15T06:25:10
2016-11-15T20:09:41
Python
UTF-8
Python
false
false
19,528
py
test_outcome.py
import unittest import requests_mock from canvasapi import Canvas from canvasapi.outcome import Outcome, OutcomeGroup, OutcomeLink from tests import settings from tests.util import register_uris @requests_mock.Mocker() class TestOutcome(unittest.TestCase): def setUp(self): self.canvas = Canvas(settings....
31bc04de12a99fe8b72cc2fa76942b434a9fdca5
71acb7214efd91c0d327f6d8958e1798eadb4401
/locations/spiders/vue_cinemas.py
d1344a089a9e427fc91a1f7ff90806f8b32d91a8
[ "CC0-1.0", "MIT" ]
permissive
alltheplaces/alltheplaces
21b9f8b4ace1352e52ae7b8f8825a930d2cb033e
1bcbb55cfcf06f2c714465570711f6e83f205c22
refs/heads/master
2023-08-30T19:45:35.098658
2023-08-30T17:51:54
2023-08-30T17:51:54
61,166,935
453
176
NOASSERTION
2023-09-14T17:16:40
2016-06-15T01:09:18
Python
UTF-8
Python
false
false
1,252
py
vue_cinemas.py
from scrapy.spiders import SitemapSpider from locations.google_url import extract_google_position from locations.items import Feature from locations.spiders.vapestore_gb import clean_address class VueCinemasSpider(SitemapSpider): name = "vue_cinemas" item_attributes = {"brand": "Vue", "brand_wikidata": "Q253...
9953a1454756bc48cb92b218638c12cf30429ee5
e22eeb5256e17a96a98b3ff25433aec2d641cd2c
/openstack/orchestration/v1/_proxy.py
27200f2e5531d75bf3c48e87c89823a1f0f55291
[ "Apache-2.0" ]
permissive
openstack/openstacksdk
b4b95fd7869653feea5a3b783e9a5c588235c039
d474eb84c605c429bb9cccb166cabbdd1654d73c
refs/heads/master
2023-09-03T22:50:03.398512
2023-07-27T14:09:35
2023-08-29T16:28:46
16,223,378
124
130
Apache-2.0
2023-09-06T02:52:47
2014-01-25T02:48:00
Python
UTF-8
Python
false
false
22,746
py
_proxy.py
# Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under t...
8f39ffe2118c6b5dd76908ff1a9113973ccfc7d3
d1062421aed9448f583d1a084a073f12a5ac74e2
/sequana/enrichment/plot_go_terms.py
f27fc44b839a0fd4ce1f498f1fdb516c728ace18
[ "BSD-3-Clause" ]
permissive
sequana/sequana
9d89cea55cf6987b832351ac35d34742620ce64a
8717094493d1993debd079f324c540541dece70f
refs/heads/main
2023-08-01T04:02:27.864027
2023-07-12T13:12:37
2023-07-12T13:12:37
53,329,678
155
41
BSD-3-Clause
2023-09-13T12:39:01
2016-03-07T14:00:07
Jupyter Notebook
UTF-8
Python
false
false
16,481
py
plot_go_terms.py
# # This file is part of Sequana software # # Copyright (c) 2016-2021 - Sequana Development Team # # Distributed under the terms of the 3-clause BSD license. # The full license is in the LICENSE file, distributed with this software. # # website: https://github.com/sequana/sequana # documentation: http://sequana.r...
cbec670b567899eb9f908bddce9a05a7c875659f
bed3ac926beac0f4e0293303d7b2a6031ee476c9
/Modules/Core/Mesh/wrapping/test/itkMeshArrayPixelTypeTest.py
f18b498c0441ccb961d3730ddac25553cf333f78
[ "IJG", "Zlib", "LicenseRef-scancode-proprietary-license", "SMLNJ", "BSD-3-Clause", "BSD-4.3TAHOE", "LicenseRef-scancode-free-unknown", "Spencer-86", "LicenseRef-scancode-llnl", "FSFUL", "Libpng", "libtiff", "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-other-permissive", ...
permissive
InsightSoftwareConsortium/ITK
ed9dbbc5b8b3f7511f007c0fc0eebb3ad37b88eb
3eb8fd7cdfbc5ac2d0c2e5e776848a4cbab3d7e1
refs/heads/master
2023-08-31T17:21:47.754304
2023-08-31T00:58:51
2023-08-31T14:12:21
800,928
1,229
656
Apache-2.0
2023-09-14T17:54:00
2010-07-27T15:48:04
C++
UTF-8
Python
false
false
2,315
py
itkMeshArrayPixelTypeTest.py
# ========================================================================== # # Copyright NumFOCUS # # 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...
ccf86655111a6473f5a1ece300f641f803fe0a5e
4506d81df5ae98078e5cbe79f613514ad12b1c83
/nipype/interfaces/semtools/diffusion/tests/test_auto_dtiestim.py
0a36716e87718052b208c853c01bcacaccde00de
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
nipy/nipype
d52eba1b98fda68e24d006ac0d5701fc8a531b9c
03a236320fa229299d637ff9af97865a6ae76aca
refs/heads/master
2023-08-28T10:36:07.020541
2023-08-25T13:40:09
2023-08-25T13:40:09
791,477
692
569
NOASSERTION
2023-09-11T06:04:51
2010-07-22T17:06:49
Python
UTF-8
Python
false
false
2,550
py
test_auto_dtiestim.py
# AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT from ..diffusion import dtiestim def test_dtiestim_inputs(): input_map = dict( B0=dict( argstr="--B0 %s", hash_files=False, ), B0_mask_output=dict( argstr="--B0_mask_output %s", hash_files...
242aa5607cdfc90ad387377c09442872cebe85cf
81a0a8218a45edcc8f295de5d41a3fd29cdc3ce6
/switch_model/hawaii/switch_patch.py
d0a85aa1fc7905e5901d6c1e1486788042933ecf
[ "Apache-2.0" ]
permissive
switch-model/switch
af5ea212a141d97613ef1f13e550ee898fa352da
35bd3596a031fac7891f762cc87af610ded13615
refs/heads/master
2023-06-19T17:57:22.298285
2022-11-01T23:56:15
2022-11-01T23:56:15
33,576,546
114
81
NOASSERTION
2023-01-29T17:30:41
2015-04-08T00:59:34
Python
UTF-8
Python
false
false
2,413
py
switch_patch.py
from pyomo.environ import * def define_components(m): """Make various changes to the model to support hawaii-specific modules.""" # # TODO: combine the following changes into a pull request for Pyomo # # patch Pyomo's table-reading function to allow .csv files with headers but no data # import os, re # def new_...
652eee0eddf6d587965f54d7ba0b0b85664f235d
21f35d6b81c94bd1ed07b923482c1a9e17423d4c
/sphinx_gallery/tests/test_load_style.py
713b03057b95887d207028c63d93c737fee13b36
[]
permissive
sphinx-gallery/sphinx-gallery
06378c2ecedf9cb306b3958327a1ba294c8d6725
4e298a6ccee1c4ff8b33cd65371127118f626032
refs/heads/master
2023-08-17T06:30:59.195322
2023-08-15T16:00:25
2023-08-15T16:00:25
25,860,190
382
235
BSD-3-Clause
2023-09-12T15:29:13
2014-10-28T08:41:46
Python
UTF-8
Python
false
false
680
py
test_load_style.py
import os import pytest @pytest.mark.conf_file(extensions=["sphinx_gallery.load_style"]) def test_load_style(sphinx_app_wrapper): """Testing that style loads properly.""" sphinx_app = sphinx_app_wrapper.build_sphinx_app() cfg = sphinx_app.config assert cfg.project == "Sphinx-Gallery <Tests>" build...
285e4fd662ef696aab4910008930fd12d4ecd076
5ef6c8d47864f471e26b9902d61f8c687e941f05
/src/genie/libs/parser/iosxe/tests/ShowIpOspfDatabaseDatabaseSummary/cli/equal/golden_output_expected.py
5ce27ae3693943997662c3141fcfc94eaf284378
[ "Apache-2.0" ]
permissive
CiscoTestAutomation/genieparser
169c196558f1c1a0f0d10650876096f993224917
b531eff760b2e44cd69d7a2716db6f866907c239
refs/heads/master
2023-09-03T08:56:18.831340
2023-08-29T22:32:02
2023-08-29T22:32:02
131,621,824
247
409
Apache-2.0
2023-08-29T22:32:04
2018-04-30T16:51:50
Python
UTF-8
Python
false
false
2,424
py
golden_output_expected.py
expected_output = { "instance": { "1": { "router_id": "1.1.1.1", "area_summary": { "0": { "router": {"count": 2, "delete": 0, "maxage": 0}, "network": {"count": 1, "delete": 0, "maxage": 0}, "summary_net": {"...
0d89bc4d5fd6bf79e6ee59923397bb1d048afcae
79a6b3a5bb0c1c7b733502a06cdd2d4971ad9687
/Eclipse Projects/Section 3/strategies/auto_correlation.py
18f18d010dee13181c3ef09bf224871996d69fb5
[ "MIT" ]
permissive
PacktPublishing/Machine-Learning-for-Algorithmic-Trading-Bots-with-Python
ebc15a6814f1b09bb232f97551d98cd947bd6a04
c01f1799cc85baaada1dd13b1fe91d885cfd69a3
refs/heads/master
2023-02-04T16:18:44.990198
2023-01-30T09:31:10
2023-01-30T09:31:10
160,665,937
361
170
null
null
null
null
UTF-8
Python
false
false
3,150
py
auto_correlation.py
from zipline.api import order, symbol, record from matplotlib import pyplot as plt import pandas as pd import numpy as np from scipy.stats.stats import pearsonr class AutoCorrelation: stocks = ['APL', 'MSFT', 'TSLA'] lag = 1 steps = 3 def initialize(self, context): context.has_ord...
21f8ab78d08217d548425e7f73b933f6ce5f7083
5327af5248f88082c81eaf6d0fcf5359cb7e4670
/src/libtmux/exc.py
0023cb3eb764e5efbb9f84ffdc9c4cb64973db3c
[ "MIT" ]
permissive
tmux-python/libtmux
f272ee69d3c435f79972ed92441bee7244a13d0b
83a19fe78922f6e231172659a136db58ba232040
refs/heads/master
2023-09-06T01:40:40.500776
2023-09-03T10:07:39
2023-09-03T10:07:39
59,409,425
613
63
MIT
2023-05-23T06:57:08
2016-05-22T11:46:12
Python
UTF-8
Python
false
false
3,629
py
exc.py
"""libtmux exceptions. libtmux.exc ~~~~~~~~~~~ """ import typing as t from libtmux._internal.query_list import ObjectDoesNotExist if t.TYPE_CHECKING: from libtmux.neo import ListExtraArgs class LibTmuxException(Exception): """Base Exception for libtmux Errors.""" class TmuxSessionExists(LibTmuxExceptio...
3fa7ec2db08405d80efa582bccc31a102d30de54
e94df9dbed523a66b497928c2bf948f52349c319
/examples/dedup_deterministic.py
14db0176abaef00f40171bcdcfee212be4e72c9e
[ "BSD-3-Clause" ]
permissive
J535D165/recordlinkage
dc12f44c3fe1f96ece2da5acd4d9050ec5b92c9f
b93d97641952f8c85106be5794ca93b1f1298fbc
refs/heads/master
2023-09-06T09:53:30.028866
2023-07-20T12:59:41
2023-07-20T12:59:41
44,471,657
830
165
BSD-3-Clause
2023-07-20T12:53:13
2015-10-18T09:00:02
Python
UTF-8
Python
false
false
2,688
py
dedup_deterministic.py
"""Example: Deterministic record linkage to find links in a single file. In determininistic record linkage, each compared attribute get a certain weight (coefficient). The higher the weight, the more dicriminating the variable is. A low weight indicate a less discriminating variable. For example, the given name has a ...
e9a8c1fe06cbc1bcb2e98fb99ce8b73564371411
b8c8a1c26035d3efa424477e3fd0ca2e275562cf
/setup.py
cfd3d5a95c3735bc39931caf7fa96c5331a5ac83
[ "MIT" ]
permissive
crs4/hl7apy
f8eecf7b91fb9ab4cfc2eba5099ef3ede55d19dd
522e296febb5245d62a970531dc88a1782dba749
refs/heads/develop
2023-08-13T16:00:05.869949
2021-11-11T08:44:13
2021-11-11T08:44:13
12,003,789
197
96
MIT
2023-08-10T20:08:13
2013-08-09T15:14:41
Python
UTF-8
Python
false
false
3,403
py
setup.py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright (c) 2012-2018, CRS4 # # 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 ...
48172a878d234527735d0771b1a58569af2e3ceb
5b6ba0f288b1e2ac236af846a9bf546a63228476
/prime/postrefine/mod_input.py
51fac0c403b70537d3354b4050206d9bbf4efb10
[ "BSD-3-Clause-LBNL" ]
permissive
cctbx/cctbx_project
5b547b416cadbdf95cca21dace9f54272a08d98a
7f4dfb6c873fd560920f697cbfd8a5ff6eed82fa
refs/heads/master
2023-08-17T17:44:05.077010
2023-08-16T22:40:22
2023-08-16T22:40:22
39,508,026
206
131
NOASSERTION
2023-09-14T17:12:55
2015-07-22T13:36:27
Python
UTF-8
Python
false
false
20,727
py
mod_input.py
from __future__ import division, print_function, absolute_import """read PRIME input""" #Define exceptions class ReadInputError(Exception): pass class InvalidData(ReadInputError): pass class InvalidCrystalSystem(ReadInputError): pass class InvalidPixelSize(ReadInputError): pass class InvalidRunNo(ReadInputError): pass...
655767779bf082a0f7125a5badb6fcfe85b23605
3b07815fc01110db387261b9e5dc47ca8f2906cd
/nngen/onnx/concat.py
3b3d7cf3ffa1ffd6e2a90d9fc3c0146e82d442d0
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
NNgen/nngen
1580271dde93c79b484abfd191775802fb6e90f5
5cf1d66768ed07f64e7dcddf9a395675f57d85bd
refs/heads/develop
2023-07-10T06:22:48.408377
2023-06-23T01:42:38
2023-06-23T01:42:38
221,174,472
290
46
Apache-2.0
2023-06-16T08:03:22
2019-11-12T09:04:35
Python
UTF-8
Python
false
false
1,519
py
concat.py
from __future__ import absolute_import from __future__ import print_function from __future__ import division import numpy as np import nngen.operator as operator from . import util def Concat(visitor, node): srcs = [] for src in node.input: src_obj = visitor.visit(src) srcs.append(src_obj...
1a25dc7cf30a673a4afcac2c42f5abbac06e6f06
64ab5b65afdf8d950c4b56ad2259133b95fc2fec
/zeus/db/func.py
7b2d16e7d919e8fa734635f48f59b85e98f7c948
[ "Apache-2.0" ]
permissive
getsentry/zeus
3e88895443b23278fdb4c25121422ee214630512
6d4a490c19ebe406b551641a022ca08f26c21fcb
refs/heads/master
2023-09-01T14:20:11.396306
2021-04-30T17:08:33
2021-04-30T17:08:33
96,131,433
222
27
Apache-2.0
2022-06-01T03:17:16
2017-07-03T16:39:35
Python
UTF-8
Python
false
false
1,373
py
func.py
import re from sqlalchemy.sql import func from sqlalchemy.types import String, TypeDecorator # https://bitbucket.org/zzzeek/sqlalchemy/issues/3729/using-array_agg-around-row-function-does class ArrayOfRecord(TypeDecorator): _array_regexp = re.compile(r"^\{(\".+?\")*\}$") _chunk_regexp = re.compile(r'"(.*?)"...
cf599866f2926dc4016aa2e5e1a9fdd7ab8d798c
69d8d91954f6623f3674d52d734d589f72383628
/horizon/utils/secret_key.py
ca03b64a3c797d1496b6fd00f2680b04726f2bbd
[ "Apache-2.0" ]
permissive
openstack/horizon
d031cebe126c06ad9717bbc52790b3d890e8661e
7896fd8c77a6766a1156a520946efaf792b76ca5
refs/heads/master
2023-09-04T06:57:58.069907
2023-09-01T20:17:10
2023-09-01T20:17:10
2,665,166
1,060
1,175
Apache-2.0
2023-08-07T02:33:44
2011-10-28T13:12:05
Python
UTF-8
Python
false
false
3,034
py
secret_key.py
# Copyright 2012 Nebula, 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 agree...
8128630b1a6d9f309b204161d59143e89066efbf
6fdb4eaf5b0e6dbd7db4bf947547541e9aebf110
/robot-server/tests/runs/test_run_auto_deleter.py
8e15626834301cace1788306f671db8a162110e3
[ "LicenseRef-scancode-warranty-disclaimer", "Apache-2.0" ]
permissive
Opentrons/opentrons
874321e01149184960eeaeaa31b1d21719a1ceda
026b523c8c9e5d45910c490efb89194d72595be9
refs/heads/edge
2023-09-02T02:51:49.579906
2023-08-31T16:02:45
2023-08-31T16:02:45
38,644,841
326
174
Apache-2.0
2023-09-14T21:47:20
2015-07-06T20:41:01
Python
UTF-8
Python
false
false
1,805
py
test_run_auto_deleter.py
"""Unit tests for `run_auto_deleter`.""" from datetime import datetime import logging import pytest from decoy import Decoy from robot_server.deletion_planner import RunDeletionPlanner from robot_server.runs.run_auto_deleter import RunAutoDeleter from robot_server.runs.run_store import ( RunStore, RunResour...
a5a7f8c9b717995dbad855d47baf671364e4693a
eb9f655206c43c12b497c667ba56a0d358b6bc3a
/plugins/hg4idea/testData/bin/hgext/narrow/__init__.py
2b95b5983ffd6fe57081fd371e6ac3e754e4918e
[ "Apache-2.0" ]
permissive
JetBrains/intellij-community
2ed226e200ecc17c037dcddd4a006de56cd43941
05dbd4575d01a213f3f4d69aa4968473f2536142
refs/heads/master
2023-09-03T17:06:37.560889
2023-09-03T11:51:00
2023-09-03T12:12:27
2,489,216
16,288
6,635
Apache-2.0
2023-09-12T07:41:58
2011-09-30T13:33:05
null
UTF-8
Python
false
false
2,417
py
__init__.py
# __init__.py - narrowhg extension # # Copyright 2017 Google, Inc. # # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. '''create clones which fetch history data for subset of files (EXPERIMENTAL)''' from __future__ import absolute_imp...
06be59a890e639e72bff27ef523a6d5cd6cfbe07
163e851e35b1c7cf61051ad111f5928ce72ded0a
/azure/functions/kafka.py
4693e9d18d7cce4aa9183542b61ed1fd55245c85
[ "MIT", "LicenseRef-scancode-generic-cla" ]
permissive
Azure/azure-functions-python-library
b410ae8c6103cdabdd790fecd55f0c945321ca01
88f96d360458a62a2139d1b9f60cffa6f7783bbe
refs/heads/dev
2023-08-28T12:49:45.754018
2023-08-10T16:05:01
2023-08-10T16:05:01
136,426,082
118
51
MIT
2023-08-31T22:57:29
2018-06-07T05:29:14
Python
UTF-8
Python
false
false
9,927
py
kafka.py
# Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. import typing import json from typing import Any, List from . import meta from ._kafka import AbstractKafkaEvent class KafkaEvent(AbstractKafkaEvent): """A concrete implementation of Kafka event message type.""" ...
73576b5d11bdaaf114b41ef47e8e3f5ba08527bd
445a4a45ace6124d98569c16c24f53fb4d486ae9
/src/python/bezier/curve.py
94c4e9b9581f4a13059ee14709faa3c97133138e
[ "Apache-2.0" ]
permissive
dhermes/bezier
7acd2d5a4020a3d1846e19a9f213344a0f3c93f4
bb9faa707916ef6f1b987677009e32cf68c54034
refs/heads/main
2023-08-08T22:41:00.943587
2023-08-01T20:56:28
2023-08-01T20:56:28
73,047,402
231
45
Apache-2.0
2023-08-02T03:19:48
2016-11-07T06:07:45
Python
UTF-8
Python
false
false
30,854
py
curve.py
# 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 or agreed to in writing, software # distributed under t...
90ab7b918b0c70bfd67717bca3a3a3628cac9de0
68384147be31aadd870c0153ac75466b1f5de122
/keras_cv_attention_models/swin_transformer_v2/swin_transformer_v2_timm.py
e70987c73c8e1c33a25ed260e4240c7297d29079
[ "CC-BY-NC-4.0", "CC-BY-4.0", "MIT", "LicenseRef-scancode-proprietary-license", "Apache-2.0" ]
permissive
leondgarse/keras_cv_attention_models
cbee0b641e4ed727d9646669cf1614ddf3435a8a
ac1d1146ef10823ce83bffdc527f227e9732ab55
refs/heads/main
2023-08-31T07:09:57.302178
2023-08-25T12:51:31
2023-08-25T12:51:31
391,777,965
460
69
MIT
2022-10-13T14:31:01
2021-08-02T00:59:55
Python
UTF-8
Python
false
false
19,027
py
swin_transformer_v2_timm.py
import math import numpy as np from keras_cv_attention_models import backend from keras_cv_attention_models.backend import layers, functional, models, initializers from keras_cv_attention_models.models import register_model from keras_cv_attention_models.attention_layers import ( ChannelAffine, drop_block, ...
69b24a0713e8b579aa1311a81e7fa3155d802436
74426bb6633fa41e6c3eb86e22d58e18a9aba3c8
/wsgidav/server/server_sample.py
b1865750b427473363ec20288facdbbacbdcd347
[ "MIT", "LGPL-2.0-or-later" ]
permissive
mar10/wsgidav
30e89b10cca8984c8af951475390ea3ca113d03c
dd3e53a5c57b03c19d1d240fbe949b8f75dd6850
refs/heads/master
2023-08-31T05:34:01.991675
2023-08-27T07:21:27
2023-08-27T07:21:27
15,376,784
728
162
MIT
2023-08-27T07:21:28
2013-12-22T14:38:24
Python
UTF-8
Python
false
false
1,851
py
server_sample.py
# -*- coding: utf-8 -*- # (c) 2009-2023 Martin Wendt and contributors; see WsgiDAV https://github.com/mar10/wsgidav # Original PyFileServer (c) 2005 Ho Chun Wei. # Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php """ Simple example how to a run WsgiDAV in a 3rd-party WSGI server. """ f...
462e43d9a46b6b39d3f0ae2656097571d5e19fbf
39ae7e85ac6967b24886e08f3af58735a9b66adc
/utils/cluster.py
06dee26533cf56ff47514de7e7c844d162affb9b
[ "MIT" ]
permissive
varunagrawal/tiny-faces-pytorch
fd5b6edc0ccb451da28629e53ec0ab3a1927dc7a
83058fe5ff22df2d9203432cdaf16ea668c00453
refs/heads/master
2023-07-20T18:03:11.951615
2023-05-10T15:12:05
2023-05-10T15:12:05
143,350,153
171
49
MIT
2023-07-20T13:15:14
2018-08-02T22:18:56
Python
UTF-8
Python
false
false
4,972
py
cluster.py
import argparse from datetime import datetime from pathlib import Path import numpy as np from PIL import Image, ImageDraw from pyclust import KMedoids from pyclustering.cluster.kmedoids import kmedoids import joblib from tqdm import tqdm from .k_medoids import kMedoids from .metrics import jaccard_index, rect_dist ...
0d6794e01f6c9ec33d4774b3a2b23dc9a770bd8a
576764ad37667f8da2c63aaa1a9f96da211795a6
/tests/forte/data/readers/conllu_ud_reader_test.py
43ab6980e7afb6352c2e991900187c96150296cd
[ "Apache-2.0" ]
permissive
asyml/forte
96f852601647836dda3bccf3bd7900b9d10e6fcb
13e50aebe2afd79a7a8b3c01f0bb2568addea54f
refs/heads/master
2023-04-09T17:52:31.203644
2023-04-06T15:04:49
2023-04-06T15:04:49
201,518,876
233
73
Apache-2.0
2023-04-06T15:04:51
2019-08-09T18:12:12
Python
UTF-8
Python
false
false
4,138
py
conllu_ud_reader_test.py
# Copyright 2019 The Forte 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 applicable ...
8e739aa03f0237eacc74d69d601a40ee3b7b0a49
0349e502733a4c25f020fbcad4715f598d686799
/rl_coach/presets/CartPole_DFP.py
523c3e3da91dd7bf28b46c98b5480b1fa9819df0
[ "Apache-2.0" ]
permissive
IntelLabs/coach
679592e9887f5788229fef9d77a1a7975e959bc4
2c60cb5acd8cd3c9c381a5066c208e69fc273c7b
refs/heads/master
2023-09-05T17:56:19.435416
2022-12-11T17:54:06
2022-12-11T17:54:06
105,468,219
497
102
Apache-2.0
2021-12-27T09:52:30
2017-10-01T19:27:43
Python
UTF-8
Python
false
false
2,440
py
CartPole_DFP.py
from rl_coach.agents.dfp_agent import DFPAgentParameters, HandlingTargetsAfterEpisodeEnd from rl_coach.base_parameters import VisualizationParameters, EmbedderScheme, PresetValidationParameters from rl_coach.core_types import TrainingSteps, EnvironmentEpisodes, EnvironmentSteps from rl_coach.environments.gym_environmen...
785d980ac78f3ff9e029a5119947dc47701b0f05
279f415dd1e06c594c6c87deda57e201c73c4542
/espnet2/enh/encoder/conv_encoder.py
ef3a44b9a6c011b2d7e11da056b026dcb84abf4b
[ "Apache-2.0" ]
permissive
espnet/espnet
f7ba47271c1a6b1ed606dbbfb04a7f14220bb585
bcd20948db7846ee523443ef9fd78c7a1248c95e
refs/heads/master
2023-08-28T23:43:34.238336
2023-08-23T02:51:39
2023-08-23T02:51:39
114,054,873
7,242
2,244
Apache-2.0
2023-09-14T08:01:11
2017-12-13T00:45:11
Python
UTF-8
Python
false
false
2,785
py
conv_encoder.py
import math import torch from espnet2.enh.encoder.abs_encoder import AbsEncoder class ConvEncoder(AbsEncoder): """Convolutional encoder for speech enhancement and separation""" def __init__( self, channel: int, kernel_size: int, stride: int, ): super().__init__()...
ceff232ea70ae3d8873b52c15a91a940cc043a75
13800b7827598e76428a335559b7bf11867ec2f0
/python/ccxt/mercado.py
abbe53f0722caa00265ceb1d9c707b7fbf59f56d
[ "MIT" ]
permissive
ccxt/ccxt
b40a0466f5c430a3c0c6026552ae697aa80ba6c6
e4065f6a490e6fc4dd7a72b375428b2faa570668
refs/heads/master
2023-09-04T03:41:29.787733
2023-09-03T19:25:57
2023-09-03T19:25:57
91,253,698
30,798
8,190
MIT
2023-09-14T21:59:09
2017-05-14T15:41:56
Python
UTF-8
Python
false
false
34,786
py
mercado.py
# -*- coding: utf-8 -*- # PLEASE DO NOT EDIT THIS FILE, IT IS GENERATED AND WILL BE OVERWRITTEN: # https://github.com/ccxt/ccxt/blob/master/CONTRIBUTING.md#how-to-contribute-code from ccxt.base.exchange import Exchange from ccxt.abstract.mercado import ImplicitAPI import hashlib from ccxt.base.types import OrderSide ...
a794a0342974d4117750b205ce75a573ace2b619
a5a99f646e371b45974a6fb6ccc06b0a674818f2
/Configuration/Eras/python/Modifier_run3_egamma_cff.py
5e0c0d5b734e4a0f76ace0fcd84e33fa71d332e5
[ "Apache-2.0" ]
permissive
cms-sw/cmssw
4ecd2c1105d59c66d385551230542c6615b9ab58
19c178740257eb48367778593da55dcad08b7a4f
refs/heads/master
2023-08-23T21:57:42.491143
2023-08-22T20:22:40
2023-08-22T20:22:40
10,969,551
1,006
3,696
Apache-2.0
2023-09-14T19:14:28
2013-06-26T14:09:07
C++
UTF-8
Python
false
false
70
py
Modifier_run3_egamma_cff.py
import FWCore.ParameterSet.Config as cms run3_egamma =cms.Modifier()
690b9f5693ab7d43370a8b9acdf138167eb47053
483424524c70852cc043e0d77bf1b757a61d797a
/deepspeed/module_inject/containers/features/gated_mlp.py
24f0826db14ed08f373a2824f845ac6f9d7d9508
[ "Apache-2.0", "LicenseRef-scancode-generic-cla" ]
permissive
microsoft/DeepSpeed
810f1af320020718d0794f5a97cde6f1d17af122
55d9964c59c0c6e23158b5789a5c36c28939a7b0
refs/heads/master
2023-09-06T07:40:52.145692
2023-09-05T23:51:23
2023-09-05T23:51:23
235,860,204
27,557
3,347
Apache-2.0
2023-09-14T21:38:46
2020-01-23T18:35:18
Python
UTF-8
Python
false
false
5,397
py
gated_mlp.py
# Copyright (c) Microsoft Corporation. # SPDX-License-Identifier: Apache-2.0 # DeepSpeed Team from abc import abstractmethod from .hybrid_engine import HybridEngineContainer class HybridGatedMLPContainer(HybridEngineContainer): """ The HybridGatedMLPContainer supports models for which the first MLP layer ...
f854c9044de6c73000a53700be4260466dd3ad47
c1b77c0b1630c2e319e7ba7782a744f4ac867f7d
/gpytorch/module.py
ff431a4218c91555d865985c5e7562f745874ff9
[ "MIT", "Python-2.0" ]
permissive
cornellius-gp/gpytorch
6b9ab969b2888fa7f27f236a1b20041f00cc0253
5e93d2c04ac0634a7aeea9fd964be529bb250888
refs/heads/master
2023-08-31T21:13:02.741585
2023-08-25T19:24:53
2023-08-25T19:24:53
93,868,719
3,182
578
MIT
2023-09-13T01:06:00
2017-06-09T14:48:20
Python
UTF-8
Python
false
false
25,459
py
module.py
#!/usr/bin/env python3 import copy import inspect import itertools import operator from collections import OrderedDict from typing import Union import torch from linear_operator.operators import LinearOperator from torch import nn, Tensor from torch.distributions import Distribution from .constraints import Interval...
0adb345f30e36adcffa3c874c45f74097d57c0d7
7d232f51e2330a4f537c50ede9c6bc023d656fd4
/examples/python/keep_alive/helloworld_pb2_grpc.py
47c186976e1c6ea1cf51aaa751506c49448a7c63
[ "BSD-3-Clause", "MPL-2.0", "Apache-2.0" ]
permissive
grpc/grpc
6975af3ba6f07a6fe965b875a0c09abf18999a52
e4d598ab64aa54f1da78c6ed6133b741742d11d4
refs/heads/master
2023-08-31T01:10:22.666618
2023-08-30T22:35:17
2023-08-30T22:35:17
27,729,880
42,330
13,022
Apache-2.0
2023-09-14T21:54:19
2014-12-08T18:58:53
C++
UTF-8
Python
false
false
2,310
py
helloworld_pb2_grpc.py
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc import helloworld_pb2 as helloworld__pb2 class GreeterStub(object): """The greeting service definition. """ def __init__(self, channel): "...
ba50d9fe6539cfe409bc6e9cf939a7f9945aff39
6f2fef1b207299681f8d67d3831c400bb91de04b
/data_collection/gazette/spiders/sc_palhoca.py
ec388a54ea0f156acd9837815f228010c743386a
[ "MIT" ]
permissive
okfn-brasil/querido-diario
76177747aa5ad47e99514f38402e6bc747b9a715
548a9b1b2718dc78ba8ccb06b36cf337543ad71d
refs/heads/main
2023-08-22T04:26:30.798196
2023-08-18T14:12:37
2023-08-18T14:12:37
127,598,755
402
233
MIT
2023-09-14T18:56:02
2018-04-01T05:01:21
Python
UTF-8
Python
false
false
193
py
sc_palhoca.py
from gazette.spiders.base.fecam import FecamGazetteSpider class ScPalhocaSpider(FecamGazetteSpider): name = "sc_palhoca" FECAM_QUERY = "cod_entidade:185" TERRITORY_ID = "4211900"
11a77de00ad6ba402ecdb712fab0c9ac8f23f4ca
93b858db8d5fd4990c36a6c9eed3b75047152863
/tests/test_obj_Cuboid.py
280a2879a9884088e8196f02747a305a157c5842
[ "BSD-2-Clause" ]
permissive
magpylib/magpylib
c4dc908c4e1a0109f65f15cd73584693ddc71f4b
7fa3514afceb28e8b7ba94f2821f5e9c789cc996
refs/heads/main
2023-09-01T00:04:39.420872
2023-08-27T05:32:14
2023-08-27T05:32:14
169,390,106
174
39
BSD-2-Clause
2023-09-03T18:34:52
2019-02-06T10:39:43
Python
UTF-8
Python
false
false
3,144
py
test_obj_Cuboid.py
import os import pickle import numpy as np import magpylib as magpy from magpylib._src.obj_classes.class_Sensor import Sensor from magpylib.magnet import Cuboid # # # """data generation for test_Cuboid()""" # # N = 100 # # mags = (np.random.rand(N,3)-0.5)*1000 # # dims = np.random.rand(N,3)*5 # # posos = (np.r...
c4a551d7eaaf2dcf7690734daeb8977e2b57fdf0
499f5402baed77d000c65f243b457c69dc3d2fe4
/pycatia/hybrid_shape_interfaces/hybrid_shape_boundary.py
4b51fbaeda1c429359e5b882e00a7d264bbc92b1
[ "MIT" ]
permissive
evereux/pycatia
416189b34f3c60effea8a76258e36ffc5ae86e22
5f5726d5dc66265b3eba8a01910c4aeae424365d
refs/heads/master
2023-08-21T10:03:41.660445
2023-08-09T16:21:10
2023-08-09T16:21:10
159,069,580
141
42
MIT
2023-08-09T11:15:27
2018-11-25T20:04:31
Python
UTF-8
Python
false
false
7,565
py
hybrid_shape_boundary.py
#! usr/bin/python3.9 """ Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-07-06 14:02:20.222384 .. warning:: The notes denoted "CAA V5 Visual Basic Help" are to be used as reference only. They are there as a guide as to how the visual basic / catscript function...
33058d52b6bcd478b75b4cc5ed290c149c9a9499
a6c84bfd01cf40a2ca32b538c02aa971a2abec88
/src/triage/component/catwalk/storage.py
81d60a79092c7e6b1ee5a85a8abb9b57615cf64f
[ "MIT" ]
permissive
dssg/triage
01b480d103f1eba7e00822410a8ba462378c1f12
1b2049a9d10d8c6b70586e6fbc945ac4fa32fe68
refs/heads/master
2023-08-25T12:53:10.463078
2023-08-03T22:54:49
2023-08-03T22:54:49
71,394,134
177
64
NOASSERTION
2023-09-13T17:41:43
2016-10-19T19:55:46
Jupyter Notebook
UTF-8
Python
false
false
20,731
py
storage.py
# coding: utf-8 import itertools import verboselogs, logging logger = verboselogs.VerboseLogger(__name__) import os import pathlib from contextlib import contextmanager from os.path import dirname from urllib.parse import urlparse import gzip import pandas as pd import s3fs import wrapt import yaml import joblib f...
d25e972c08499338ee523303aef22fc1843373d7
08f8d1203bae66dbb692f8c085b6bbe25934195a
/testSuite/scripts/utility.py
f708ac2904fc30e12c1a5d1b0f233a18ad9b0ea8
[ "LGPL-2.1-or-later", "BSD-3-Clause", "ISC", "Apache-2.0", "BSD-2-Clause", "LicenseRef-scancode-unknown-license-reference", "MIT", "LicenseRef-scancode-generic-cla" ]
permissive
Azure/azure-storage-azcopy
a747b43ad5cf1162dafbb308024f864baec13ae1
f8b3875a8d30bb56fecc3b70023d4a20c53bc7d5
refs/heads/main
2023-08-16T18:55:37.997091
2023-08-15T19:08:15
2023-08-15T19:08:15
114,798,676
552
218
MIT
2023-09-14T21:46:12
2017-12-19T18:33:42
Go
UTF-8
Python
false
false
32,226
py
utility.py
import ctypes import os import platform import shutil import subprocess import shlex import uuid import random import json from pathlib import Path from collections import namedtuple # Command Class is used to create azcopy commands and validator commands. class Command(object): def __init__(self, command_type): ...
1333ef2df59fcf8799100dac8f68bdeecfc51092
1f4f8d8cba7c6e458a96789008a2e5c9303ad530
/test_all_games.py
0d3d15191534cc9bc71d8c76e41f02a60101d90b
[ "MIT" ]
permissive
suragnair/alpha-zero-general
45b0f59aa70c206e7617ab47499ca21b84a44283
ce020c8eebbabf0e22654279508a6887b4791015
refs/heads/master
2023-09-03T12:53:13.958587
2023-06-21T08:27:01
2023-06-21T08:27:01
112,687,645
3,545
1,099
MIT
2023-08-22T06:48:10
2017-12-01T02:55:15
Jupyter Notebook
UTF-8
Python
false
false
3,405
py
test_all_games.py
"""" This is a Regression Test Suite to automatically test all combinations of games and ML frameworks. Each test plays two quick games using an untrained neural network (randomly initialized) against a random player. In order for the entire test suite to run successfully, all the required libraries must ...
4c880ed290b91d53ede84d5cf1e37a998f9f31fe
6dd5027d9f02b2c40c96fdea9796a4fba6ee7e46
/tests/polybench/jacobi_1d.py
948fcdf016791afc28d6b14def1f6579a686810f
[ "Apache-2.0" ]
permissive
cornell-zhang/heterocl
fb4fd3c9cdbb7c7ccbdb2a8a09f47b436200c8f6
b794409e68e326cafa6c3eaec2e3560ff066e129
refs/heads/main
2023-07-22T16:33:57.900104
2023-07-19T19:58:13
2023-07-19T19:58:13
114,906,951
312
111
Apache-2.0
2023-07-19T19:58:15
2017-12-20T16:13:52
Python
UTF-8
Python
false
false
1,223
py
jacobi_1d.py
# Copyright HeteroCL authors. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 import heterocl as hcl import math as mt import os def top_jacobi_1d(N, TSTEPS, dtype=hcl.Int(), target=None): hcl.init(dtype) A = hcl.placeholder((N,), "A") B = hcl.placeholder((N,), "B") def kernel_jacobi_1d(A...
74070b05bdc7a3d2cea71f4219b1020913166e00
c8d98c2101a2932c4449183c9e8bd6501c57345f
/copulae/copula/__init__.py
3bbc310767c59e8d828e0b989bc9a718c3b2100d
[ "MIT" ]
permissive
DanielBok/copulae
a9af8fa88a212a5436226a22d59799d671d78645
d48fbd064426605b8784684114844758e3ffc90d
refs/heads/master
2023-07-08T09:52:31.815899
2023-06-14T04:29:39
2023-06-14T05:22:31
165,516,660
131
30
MIT
2023-06-14T05:22:32
2019-01-13T14:43:39
Jupyter Notebook
UTF-8
Python
false
false
49
py
__init__.py
from .base import * from .summary import Summary
fd45a9b924541646b41f8e3d3247efaf179e8089
974d04d2ea27b1bba1c01015a98112d2afb78fe5
/python/paddle/distributed/io.py
bc125cb242a29b2de69e89804ac620441ff2e262
[ "Apache-2.0" ]
permissive
PaddlePaddle/Paddle
b3d2583119082c8e4b74331dacc4d39ed4d7cff0
22a11a60e0e3d10a3cf610077a3d9942a6f964cb
refs/heads/develop
2023-08-17T21:27:30.568889
2023-08-17T12:38:22
2023-08-17T12:38:22
65,711,522
20,414
5,891
Apache-2.0
2023-09-14T19:20:51
2016-08-15T06:59:08
C++
UTF-8
Python
false
false
23,608
py
io.py
# Copyright (c) 2022 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 appli...
0f22caee1db0a402feeaab45cab0e73d54b8ca48
182bbadb0ee7f59f1abd154d06484e555a30c6d8
/api/tests/integration/tests/rpe/properties.py
5952a7ce2b71bbf80a074e76945608cfb518edbe
[ "Apache-2.0" ]
permissive
epam/Indigo
08559861adf474122366b6e2e499ed3aa56272d1
8e473e69f393c3a57ff75b7728999c5fb4cbf1a3
refs/heads/master
2023-09-02T10:14:46.843829
2023-08-25T08:39:24
2023-08-25T08:39:24
37,536,320
265
106
Apache-2.0
2023-09-14T17:34:00
2015-06-16T14:45:56
C++
UTF-8
Python
false
false
1,505
py
properties.py
import os import sys sys.path.append( os.path.normpath( os.path.join(os.path.abspath(__file__), "..", "..", "..", "common") ) ) from env_indigo import * # noqa indigo = Indigo() reaction = indigo.loadQueryReaction( "Cl[C:1]([*:3])=O.[OH:2][*:4]>>[*:4][O:2][C:1]([*:3])=O" ) print("=== Input React...
68b05b4c4ee389b00656c6ed7c8b4efb3f9a0b12
6923f79f1eaaba0ab28b25337ba6cb56be97d32d
/Data_Analysis_with_Open_Source_Tools/listings/ch16_lst1.py
7bbdc7a181eb9503deeb4518719ea9888508a935
[]
no_license
burakbayramli/books
9fe7ba0cabf06e113eb125d62fe16d4946f4a4f0
5e9a0e03aa7ddf5e5ddf89943ccc68d94b539e95
refs/heads/master
2023-08-17T05:31:08.885134
2023-08-14T10:05:37
2023-08-14T10:05:37
72,460,321
223
174
null
2022-10-24T12:15:06
2016-10-31T17:24:00
Jupyter Notebook
UTF-8
Python
false
false
203
py
ch16_lst1.py
import dbm db = dbm.open( "data.db", 'c' ) db[ 'abc' ] = "123" db[ 'xyz' ] = "Hello, World!" db[ '42' ] = "42" print db[ 'abc' ] del db[ 'xyz' ] for k in db.keys(): print db[k] db.close()
24d3b41af68c192003024b03e0c94742dfd461bc
59f64b5cf799e31c97b11828dba4787afb8f3f17
/batch/test/test_utils.py
e381fba9848ecdc8ab0be4980a2dcdfe01eae337
[ "MIT" ]
permissive
hail-is/hail
2089e6f3b38548f13fa5c2a8ab67f5cfdd67b4f1
07a483ae0f46c66f3ed6fd265b48f48c06298f98
refs/heads/main
2023-09-01T15:03:01.450365
2023-09-01T02:46:35
2023-09-01T02:46:35
45,069,467
913
262
MIT
2023-09-14T21:53:32
2015-10-27T20:55:42
Python
UTF-8
Python
false
false
1,071
py
test_utils.py
from batch.cloud.resource_utils import adjust_cores_for_packability from hailtop.batch_client.parse import parse_memory_in_bytes def test_packability(): assert adjust_cores_for_packability(0) == 250 assert adjust_cores_for_packability(200) == 250 assert adjust_cores_for_packability(250) == 250 assert ...
b38781198828f76a6a294c4bf432462afa3f47bd
af2d183c8281d5d3447b6ac799660fbb8684756c
/test/test_sysroot_creator.py
2e9d2b11575d5f99e1e1fcf9273b7c1befe5726c
[ "Apache-2.0" ]
permissive
ros-tooling/cross_compile
4c8c441fd779b48f22448332a1199fb70a0a41a5
1cedd079950bb184b8ae76198a1b92a8a8229912
refs/heads/master
2022-12-23T14:51:19.274643
2022-12-14T16:51:57
2022-12-14T16:51:57
159,832,509
173
51
Apache-2.0
2022-12-14T16:51:58
2018-11-30T14:09:07
Python
UTF-8
Python
false
false
3,621
py
test_sysroot_creator.py
# Copyright 2019 Amazon.com, Inc. or its affiliates. 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 require...
35480b0bd6c8e7c3a0af7ad880326a2ed16754af
a5a99f646e371b45974a6fb6ccc06b0a674818f2
/HeterogeneousCore/CUDATest/python/prod6FromCUDA_cfi.py
de894a5f326172948c64e85211db1342dd11a403
[ "Apache-2.0" ]
permissive
cms-sw/cmssw
4ecd2c1105d59c66d385551230542c6615b9ab58
19c178740257eb48367778593da55dcad08b7a4f
refs/heads/master
2023-08-23T21:57:42.491143
2023-08-22T20:22:40
2023-08-22T20:22:40
10,969,551
1,006
3,696
Apache-2.0
2023-09-14T19:14:28
2013-06-26T14:09:07
C++
UTF-8
Python
false
false
231
py
prod6FromCUDA_cfi.py
import FWCore.ParameterSet.Config as cms from HeterogeneousCore.CUDATest.testCUDAProducerGPUtoCPU_cfi import testCUDAProducerGPUtoCPU as _testCUDAProducerGPUtoCPU prod6FromCUDA = _testCUDAProducerGPUtoCPU.clone(src = "prod6CUDA")
985328a088c03e9797dfb1d7bed8f8c44c641465
2ad93a1cf25a580fe980482d2d17a657de3b2523
/django-stubs/contrib/gis/db/models/__init__.pyi
47d6738a8cbf0660ca3ccec24ca4ff03b6e8ac15
[ "MIT" ]
permissive
typeddjango/django-stubs
f35dfcb001e54694a0a1e8c0afcc6e6a3d130c32
0117348c3c7713f25f96b46e53ebdeed7bdba544
refs/heads/master
2023-08-25T19:42:52.707151
2023-08-23T15:13:25
2023-08-23T15:13:25
142,779,680
1,133
376
MIT
2023-09-13T19:05:06
2018-07-29T17:08:50
Python
UTF-8
Python
false
false
847
pyi
__init__.pyi
# noqa: F401 from django.contrib.gis.db.models.aggregates import * from django.contrib.gis.db.models.fields import GeometryCollectionField as GeometryCollectionField from django.contrib.gis.db.models.fields import GeometryField as GeometryField from django.contrib.gis.db.models.fields import LineStringField as LineStri...
28f8618e49c1d0af570e83ad7d89114b9b111e0b
78297bc868d588dd7a16cfea059ef7365ba18622
/scripts/irods/test/session.py
d39bc34c218ea6a4410f7cf7bbd9efdfc21e92c8
[ "BSD-3-Clause" ]
permissive
irods/irods
ab72a41fdf05a4a905c3e3a97bb7ba3c2a6ae52d
f3ccaa842218e477395ebcf553639134433b63ee
refs/heads/main
2023-09-01T20:12:33.322002
2023-08-23T18:22:59
2023-08-31T13:41:31
14,724,975
381
167
NOASSERTION
2023-09-11T18:18:14
2013-11-26T18:10:18
C++
UTF-8
Python
false
false
13,854
py
session.py
from __future__ import print_function import contextlib import datetime import errno import hashlib import itertools import json import os import shutil import tempfile import time from .. import test from .. import lib from .. import paths from . import settings from ..configuration import IrodsConfig from .command ...
35e77e440286df74748f640f5a06df324ce237ba
52245910f830dbfb2b1432ad2a967df7321ee6de
/examples/apps/django_multi_apps/gbm/pn_app.py
bede5dc9316346195ac8cdb3fb945ec9c5657f99
[ "BSD-3-Clause" ]
permissive
holoviz/panel
92c19f979353d456512abbce5a027dff6ddb3a5c
2c6e165e2bba96c0cb97947aa072d4429133cf7a
refs/heads/main
2023-08-17T11:28:06.581979
2023-08-17T11:23:09
2023-08-17T11:23:09
145,848,899
2,544
373
BSD-3-Clause
2023-09-14T17:13:31
2018-08-23T12:14:24
Python
UTF-8
Python
false
false
171
py
pn_app.py
import panel as pn from .pn_model import GBM def app(doc): gbm = GBM() row = pn.Row(pn.Column(gbm.param, gbm.refresh), gbm.update_plot) row.server_doc(doc)
3d377993ada7e7ad6988315c536b3435a6dc4a82
96dcea595e7c16cec07b3f649afd65f3660a0bad
/homeassistant/components/coinbase/diagnostics.py
674ce9dca28ca995ab30f71fe2f6513665efe96d
[ "Apache-2.0" ]
permissive
home-assistant/core
3455eac2e9d925c92d30178643b1aaccf3a6484f
80caeafcb5b6e2f9da192d0ea6dd1a5b8244b743
refs/heads/dev
2023-08-31T15:41:06.299469
2023-08-31T14:50:53
2023-08-31T14:50:53
12,888,993
35,501
20,617
Apache-2.0
2023-09-14T21:50:15
2013-09-17T07:29:48
Python
UTF-8
Python
false
false
919
py
diagnostics.py
"""Diagnostics support for Coinbase.""" from typing import Any from homeassistant.components.diagnostics import async_redact_data from homeassistant.config_entries import ConfigEntry from homeassistant.const import CONF_API_KEY, CONF_API_TOKEN, CONF_ID from homeassistant.core import HomeAssistant from . import Coinb...
5cff63f142708633848245305c5cefa7ea6eea82
7cec2737769c70a575aa8dbedf630276666ed199
/elf/miasm_sandbox.py
fd34967bbfc1be1455cd1f6b908ff42062f70c27
[]
no_license
Te-k/analyst-scripts
f73925d7cc4eba6ee30ac816f1f4999945dc2b22
d8b3ac8260289e374618d2c07fcd1d9d71f43ad3
refs/heads/master
2023-07-05T20:54:11.598609
2023-06-29T16:33:59
2023-06-29T16:33:59
59,152,609
126
43
null
2019-10-07T22:26:44
2016-05-18T21:29:46
Python
UTF-8
Python
false
false
500
py
miasm_sandbox.py
import logging from pdb import pm from miasm.analysis.sandbox import Sandbox_Linux_x86_64 from miasm.jitter.jitload import log_func # Insert here user defined methods # Parse arguments parser = Sandbox_Linux_x86_64.parser(description="ELF sandboxer") parser.add_argument("filename", help="ELF Filename") options = pars...
6bb9276567d2ceaa8aa8a72e498bf5723bb3e293
6923f79f1eaaba0ab28b25337ba6cb56be97d32d
/Intro_Solid_Mechanics_Adeeb/12.1.2.1.py
517747ec899bb12757129b2237eea6ee9483b1c2
[]
no_license
burakbayramli/books
9fe7ba0cabf06e113eb125d62fe16d4946f4a4f0
5e9a0e03aa7ddf5e5ddf89943ccc68d94b539e95
refs/heads/master
2023-08-17T05:31:08.885134
2023-08-14T10:05:37
2023-08-14T10:05:37
72,460,321
223
174
null
2022-10-24T12:15:06
2016-10-31T17:24:00
Jupyter Notebook
UTF-8
Python
false
false
2,049
py
12.1.2.1.py
import sympy as sp import numpy as np from sympy import lambdify from matplotlib import pyplot as plt x = sp.symbols("x") xL = np.arange(0,1,0.01) c,L,EA = 1,1,1 # Exact Calculations u_exact = c*L**2/2/EA*x - c/sp.Rational("6")/EA*x**3 s_exact = u_exact.diff(x) print("u_exact(x) =",u_exact,"s_exact(x) =",s_exact) F = l...
8b0c7bcbb2a9acce3cfebd3e9606ac1fb22ee980
0bd8ef0ac54e82ba20e5f5e9cc554e7a26094daa
/{{cookiecutter.project_slug}}/src/{{cookiecutter.app_name}}/api/hello.py
464913cb6ed248c40643fcadc72d736b913e17e1
[ "MIT" ]
permissive
mdklatt/cookiecutter-python-app
ef40b77efad195aa4ebc21e39785e17fa1ef15a1
02c1c78bd69bd9d3ec30396ed0bc2455164d2a78
refs/heads/main
2023-07-05T22:35:50.054536
2023-07-02T16:30:50
2023-07-02T17:05:55
40,841,335
132
37
MIT
2023-04-21T15:10:07
2015-08-16T21:12:20
Python
UTF-8
Python
false
false
260
py
hello.py
""" Implement the hello command. """ from ..core.logger import logger def main(name="World") -> str: """ Execute the command. :param name: name to use in greeting """ logger.debug("executing hello command") return f"Hello, {name}!"