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
f106f0dd2f35b12a8d622c6fb2ff9b2b2d8443aa
d6aae799e18e907fb413b715200c7832252a87e5
/responsible_ai/prejudice_remover_regularizer_images/utils/utils.py
0383d6ce7ad7824e74d7f66dd2d1030c5691e573
[ "BSD-3-Clause", "MIT", "LicenseRef-scancode-proprietary-license", "Apache-2.0", "CC-BY-NC-4.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
sony/nnabla-examples
0d0bbd5df3028996e790bcf07248fdb0932697d1
41f71faa6efff7774a76bbd5af3198322a90a6ab
refs/heads/master
2023-09-04T03:45:54.023899
2023-08-22T03:31:21
2023-08-22T03:31:21
109,625,584
308
108
Apache-2.0
2023-08-22T03:31:23
2017-11-05T23:30:40
Python
UTF-8
Python
false
false
8,144
py
utils.py
# Copyright 2022 Sony Group Corporation. # # 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 ...
441edf929b91f5317349d8d0fa0f5f762d903359
a3d6556180e74af7b555f8d47d3fea55b94bcbda
/chrome/updater/test/service/win/answer_uac.py
5691da6f7d624f74695aa78250dcf9a602d253d5
[ "BSD-3-Clause" ]
permissive
chromium/chromium
aaa9eda10115b50b0616d2f1aed5ef35d1d779d6
a401d6cf4f7bf0e2d2e964c512ebb923c3d8832c
refs/heads/main
2023-08-24T00:35:12.585945
2023-08-23T22:01:11
2023-08-23T22:01:11
120,360,765
17,408
7,102
BSD-3-Clause
2023-09-10T23:44:27
2018-02-05T20:55:32
null
UTF-8
Python
false
false
1,937
py
answer_uac.py
# Copyright 2021 The Chromium Authors # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """A simple command to answer UAC prompt. To interact with UAC, we create this standalone program so that the process can run with the same security token as the desired winlogon....
0c77908762865bcbc74b2a863bebe274eb50ae29
a1bc4de84d65226e5b2e9d06818dd407a5fb4d20
/flinck.py
277cc5f9fc06013f120d6f1917a40764499b6728
[ "MIT" ]
permissive
Kraymer/flinck
80961a6776900bfd7a1bf1b954bccdd0625dc91a
b3d0076e2b3ab74c0a8f4a3c8abf5631ee362438
refs/heads/master
2021-01-18T22:10:51.422411
2021-01-08T19:25:32
2021-01-08T19:25:32
54,346,527
155
9
null
2016-06-08T07:01:40
2016-03-20T23:42:26
Python
UTF-8
Python
false
false
231
py
flinck.py
#!/usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2016 Fabrice Laporte - kray.me # The MIT License http://www.opensource.org/licenses/mit-license.php import flinck if __name__ == "__main__": flinck.flinck_cli()
71c7062c0485a8854bb2976d9a2f4c12d9063178
40dd8330e5f78c4348bbddc2c5acfd59d793dd51
/configs/upernet/upernet_r18_4xb4-160k_ade20k-512x512.py
9ac6c35527b588a8cd3abd3a63f913896a9c5b07
[ "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
377
py
upernet_r18_4xb4-160k_ade20k-512x512.py
_base_ = [ '../_base_/models/upernet_r50.py', '../_base_/datasets/ade20k.py', '../_base_/default_runtime.py', '../_base_/schedules/schedule_160k.py' ] model = dict( pretrained='open-mmlab://resnet18_v1c', backbone=dict(depth=18), decode_head=dict(in_channels=[64, 128, 256, 512], num_classes=150), ...
92764efefc130a62ab768a3adca7d020f1f4e070
2181883c8faac55bfc969a97d22d9b24a3e81ab3
/Pythonwin/pywin/mfc/activex.py
a9828e78dcfbc6cbdeec68abb1f0d2518ea9043b
[ "PSF-2.0" ]
permissive
mhammond/pywin32
574bf121cfeac8c7a9d28f94ee0f2069a425e8ab
2a7137f21965013020ef9e4f27565db6dea59003
refs/heads/main
2023-09-02T13:16:52.307262
2023-08-17T19:42:26
2023-08-17T19:42:26
108,187,130
4,757
907
null
2023-08-23T01:45:49
2017-10-24T21:44:27
C++
UTF-8
Python
false
false
2,611
py
activex.py
"""Support for ActiveX control hosting in Pythonwin. """ import win32ui import win32uiole from . import window class Control(window.Wnd): """An ActiveX control base class. A new class must be derived from both this class and the Events class. See the demos for more details. """ def __init__(self):...
a0762b17c279878ed09cc2aa41bf19fa44152496
8188f026dcfa3ca6c4e2d58e6c56d04d24e37a18
/projectq/meta/_util_test.py
a60d4ac51dd0b7c221c9ad2c6d5229a74fe1fcb1
[ "Apache-2.0" ]
permissive
ProjectQ-Framework/ProjectQ
2e342da0622d4b5d513c15504556e95d3d0e2aea
67c660ca18725d23ab0b261a45e34873b6a58d03
refs/heads/develop
2023-09-04T02:18:25.581119
2023-03-09T16:03:57
2023-03-09T16:03:57
77,520,796
886
335
Apache-2.0
2023-07-24T07:07:15
2016-12-28T09:31:53
Python
UTF-8
Python
false
false
1,928
py
_util_test.py
# Copyright 2017 ProjectQ-Framework (www.projectq.ch) # # 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 app...
7b9d1f5be22fa7937cb3012a2a3cfcd9a9752c65
a61bf859ceeb1ba98de3863225e07b29e1d7ce8a
/thonny/plugins/goto_definition.py
bd9f4ec32f016bf90720adfc5c15e15149d5e3ce
[ "MIT", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
thonny/thonny
3974b1860703e8450b837863682117f525a886c6
8fc9f5c7cbbe1d1c82aa5503ec4b684e28aa608c
refs/heads/master
2023-08-31T03:04:34.685140
2023-08-24T11:38:36
2023-08-24T11:38:36
163,728,962
2,788
1,048
MIT
2023-08-10T18:59:37
2019-01-01T10:29:50
Python
UTF-8
Python
false
false
4,520
py
goto_definition.py
import os.path import tkinter as tk from logging import getLogger from tkinter import messagebox from typing import Set, cast from thonny import get_runner, get_workbench from thonny.codeview import CodeViewText, SyntaxText from thonny.common import InlineCommand from thonny.editor_helpers import get_relevant_source_a...
c8bb6235160a2e3b163f3904b6f31d933f5bce6a
a198aa98679ae1fc70388f8376a9a41444040319
/deprecated-tools/better-bus-buffers/BBB_CountTripsAtStopsByRouteAndDirection.py
f057bf54e87ea291947c17f3ed2ad26f5311f468
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Esri/public-transit-tools
8437831328e94fa9fe74469922c204eb6fb74b22
47cbc3de67a7b1bf9255e07e88cba7b051db0505
refs/heads/master
2023-09-05T17:01:23.375328
2023-08-30T19:58:50
2023-08-30T19:58:50
42,553,165
155
67
Apache-2.0
2023-08-30T19:58:51
2015-09-15T23:38:22
Python
UTF-8
Python
false
false
14,437
py
BBB_CountTripsAtStopsByRouteAndDirection.py
############################################################################ ## Tool name: BetterBusBuffers - Count Trips at Stops by Route and Direction ## Created by: David Wasserman, https://github.com/d-wasserman and Melinda Morang, Esri ## This tool was developed as part of Transit R&D Efforts from Fehr & Peers. #...
467d231c19ad651966772e8f4086682ebadcde07
edc1134436a79ca883a0d25f3c8dfffc4235c514
/pyro/poutine/broadcast_messenger.py
f12ec13f48ceeaf64c0179d806c90ed19231fac0
[ "Apache-2.0" ]
permissive
pyro-ppl/pyro
2283d8ca528fc090c724a3a6e0f344e505ebbf77
0e82cad30f75b892a07e6c9a5f9e24f2cb5d0d81
refs/heads/dev
2023-08-18T00:35:28.014919
2023-08-06T21:01:36
2023-08-06T21:01:36
94,506,832
3,647
606
Apache-2.0
2023-09-14T13:52:14
2017-06-16T05:03:47
Python
UTF-8
Python
false
false
3,528
py
broadcast_messenger.py
# Copyright (c) 2017-2019 Uber Technologies, Inc. # SPDX-License-Identifier: Apache-2.0 from pyro.util import ignore_jit_warnings from .messenger import Messenger class BroadcastMessenger(Messenger): """ Automatically broadcasts the batch shape of the stochastic function at a sample site when inside a s...
8df8a303cbf897effaf98f9cdf1b0b61498fe7a3
fe0f171663b30275f084dd4f87580972cbf62b21
/tests/test_client.py
4463afbc88c452cc9d557f737b7fb39f39a5c322
[ "Apache-2.0" ]
permissive
VirusTotal/vt-py
625237cef9ac3a2982424e3506a28e51ff0bc060
2376f96156a1359f0f7b8981268f5fa5438f0fba
refs/heads/master
2023-09-04T00:54:41.380224
2023-08-23T12:36:42
2023-08-23T12:36:42
190,611,801
417
107
Apache-2.0
2023-09-12T09:41:44
2019-06-06T16:11:24
Python
UTF-8
Python
false
false
12,922
py
test_client.py
# Copyright 2019 The vt-py 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 law...
10faa105589374df194c71e8d09d6eccac196a29
61004e474b7b2ad0071c16766f0f7874f04f9466
/examples/bq_benchmarks/tests/test_bucket_util.py
7c94de1e0a48d976cc1e4485fc6e0b4cdc8a448b
[ "Apache-2.0" ]
permissive
GoogleCloudPlatform/professional-services
eb79751efae765a8c691a745e520f44f51bd715c
0f51121b945bd74c7f667e74e8861fceda87565c
refs/heads/main
2023-09-05T02:57:33.328973
2023-08-30T14:40:30
2023-08-30T14:40:30
91,730,359
2,626
1,381
Apache-2.0
2023-09-14T20:13:42
2017-05-18T19:29:27
Python
UTF-8
Python
false
false
4,258
py
test_bucket_util.py
# Copyright 2018 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 or agreed to in writing,...
d9b2c2074390115c511862978b98b9fdfa8b12ba
64e5f76a15d0178e851d64573196a33043e68164
/test/py/ganeti.cli_unittest.py
fb866e53ad15765e5f3219b333b166f6ab02b9de
[ "BSD-2-Clause" ]
permissive
ganeti/ganeti
759aa20d2d3e15c816fa3ba5019d7d143b2d1294
456ea285a7583183c2c8e5bcffe9006ec8a9d658
refs/heads/master
2023-07-24T21:23:49.389657
2023-05-25T15:37:44
2023-05-28T10:17:36
25,163,509
465
126
BSD-2-Clause
2023-08-18T17:06:33
2014-10-13T15:03:51
Python
UTF-8
Python
false
false
57,465
py
ganeti.cli_unittest.py
#!/usr/bin/python3 # # Copyright (C) 2008, 2011, 2012, 2013 Google Inc. # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # 1. Redistributions of source code must retain the above copyright not...
9d86a480233066eefa6e5831ec7fd77c674c5ea3
7401a59db9b626486fce50f77dc9ae846bb131ce
/setup.py
f29ba5c1f0c992853c851b6d76280bb391164615
[ "BSD-3-Clause" ]
permissive
dicompyler/dicompyler-core
1891193896ae8536b2b74ce1402dbeca627081de
e6dd12d6e138e2c39a544f9d7adf6d124c979144
refs/heads/master
2023-08-07T23:14:35.428123
2023-06-13T01:21:38
2023-06-13T01:21:38
51,550,203
129
75
NOASSERTION
2023-08-02T01:42:07
2016-02-11T22:00:12
Python
UTF-8
Python
false
false
2,180
py
setup.py
#!/usr/bin/env python # -*- coding: utf-8 -*- # __init__.py """setup.py for dicompyler-core.""" # Copyright (c) 2009-2018 Aditya Panchal # This file is part of dicompyler-core, relased under a BSD license. # See the file license.txt included with this distribution, also # available at https://github.com/dicompyle...
0d5175d1efcde2a730054a77260ece7adfc33e1b
812045c3ec6587827aeb18bde666237dfffc21ae
/tf_quant_finance/datetime/schedules.py
d805e42b50b1dae44167ba953a59d7f8f40152b8
[ "Apache-2.0", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause" ]
permissive
google/tf-quant-finance
2062082c85e8679b71e69bbeb579fe338c1b0288
0d3a2193c0f2d320b65e602cf01d7a617da484df
refs/heads/master
2023-08-31T01:58:15.415811
2023-08-15T07:37:46
2023-08-15T07:38:22
198,669,252
4,165
557
Apache-2.0
2023-08-04T19:25:55
2019-07-24T16:09:50
Python
UTF-8
Python
false
false
18,652
py
schedules.py
# Copyright 2020 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 or agreed to in writing, ...
669ad9a41b939b68bcdfd9f931a700671358d5ca
6cd1a085c8113030f14a8c992ecd2b45db70c4e2
/scripts/create_prime_factors_database.py
00c96f10e82f781848f1817c95d4cd85a5af9302
[ "MIT" ]
permissive
mhostetter/galois
a72e6339ac3bba2fda31e5c9f1228ebc85d5ebe7
a140a468fa1f7619f94ad2551f9c14e684ee3a34
refs/heads/master
2023-07-27T17:02:04.925608
2023-05-09T19:39:50
2023-05-09T22:37:26
312,901,841
186
25
MIT
2023-09-10T14:56:32
2020-11-14T21:05:20
Python
UTF-8
Python
false
false
22,092
py
create_prime_factors_database.py
""" A script to create a database of prime factorizations of p^n +/- 1 using the Cunningham Project's tables. https://homes.cerias.purdue.edu/~ssw/cun/ """ from __future__ import annotations import os import re import sqlite3 from pathlib import Path import requests import galois def main(): """ The main r...
6adc43fed98e9c03a782c1503443f7bff91280e2
eb9f655206c43c12b497c667ba56a0d358b6bc3a
/plugins/hg4idea/testData/bin/mercurial/templatefilters.py
964b6bfe5acc211dea55023dba73448f01d01c4d
[ "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
15,476
py
templatefilters.py
# templatefilters.py - common template expansion filters # # Copyright 2005-2008 Olivia Mackall <olivia@selenic.com> # # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. from __future__ import absolute_import import os import re impor...
da18cf4f34d0af241fde3ca00bbcd305d1faf789
d29d1dce52e7dd89059b7255cf50ac31eebb75ef
/tests/test_PD013.py
0016def51df29784bc0290bb0c170738113ac4d7
[ "MIT" ]
permissive
deppen8/pandas-vet
4a4230ba61b2e7a39d86c0f2e2865daf6bf5f8d9
ded2485a6ead29f503c8ea63f6aa8e41487f0ad5
refs/heads/main
2023-08-17T05:59:01.534456
2023-08-11T15:07:51
2023-08-11T15:07:51
172,439,221
169
23
MIT
2023-08-11T15:07:52
2019-02-25T05:19:51
Python
UTF-8
Python
false
false
842
py
test_PD013.py
""" Test to check functionality for use of the `.melt()` data frame method in preference to `.stack()` method. """ import ast from pandas_vet import PD013, VetPlugin def test_PD013_pass(): """ Test that using .melt() explicitly does not result in an error. """ statement = """table = df.melt( ...
b2f577d9ee5fc9edd40b626852cd95d355906203
94c1805df5a09c39159d502f420d19ad54b567fc
/runtime/deps/gyp/test/mac/xcode-env-order/test.gyp
8f975f7d6b17feabd001f0c5f5ee55846f0f7124
[ "Apache-2.0", "LicenseRef-scancode-public-domain", "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause" ]
permissive
tmikov/jscomp
9805a5a4d06520549c57380f0df4a1c0aa0dab56
83828441cb38ec96603a6a60be06977d4852940a
refs/heads/develop
2021-01-19T02:56:35.102659
2016-04-12T06:19:30
2016-04-12T06:19:30
36,981,674
237
13
Apache-2.0
2018-10-14T09:48:12
2015-06-06T13:49:26
C
UTF-8
Python
false
false
5,079
gyp
test.gyp
# Copyright (c) 2012 Google Inc. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. { 'targets': [ { 'target_name': 'test_app', 'product_name': 'Test', 'type': 'executable', 'mac_bundle': 1, 'sources': [ ...
b22ef848759470652a9d1a4f0da05c0f70fec135
3a6a211ea0d32405497fbd6486c490bb147e25f9
/third_party/google-endpoints/Crypto/SelfTest/Cipher/common.py
8bebed9cfbe3ee4325c3200de26fe5a88b844642
[ "Apache-2.0", "BSD-3-Clause" ]
permissive
catapult-project/catapult
e2cbdd5eb89f3b1492fc8752494e62ea1df4bae0
53102de187a48ac2cfc241fef54dcbc29c453a8e
refs/heads/main
2021-05-25T07:37:22.832505
2021-05-24T08:01:49
2021-05-25T06:07:38
33,947,548
2,032
742
BSD-3-Clause
2022-08-26T16:01:18
2015-04-14T17:49:05
HTML
UTF-8
Python
false
false
16,599
py
common.py
# -*- coding: utf-8 -*- # # SelfTest/Hash/common.py: Common code for Crypto.SelfTest.Hash # # Written in 2008 by Dwayne C. Litzenberger <dlitz@dlitz.net> # # =================================================================== # The contents of this file are dedicated to the public domain. To # the extent that dedicat...
85b1c04ff651b4a9c58958e4976532f309d8c923
e9ee565cfff9e6b2a1ea6f73368f4a8948274795
/tests/test_io/test_spia.py
2e3e234a034a358deeebc369d3c97f9e5cb6d514
[ "MIT" ]
permissive
pybel/pybel
7e79530b454e23ae48486a5c0e3207744b7fa139
ed66f013a77f9cbc513892b0dad1025b8f68bb46
refs/heads/master
2022-08-26T18:41:25.724850
2022-02-11T12:22:35
2022-02-11T12:22:35
68,376,693
133
40
MIT
2022-02-11T12:11:24
2016-09-16T12:09:49
Python
UTF-8
Python
false
false
10,645
py
test_spia.py
# -*- coding: utf-8 -*- """This module contains tests for the SPIA exporter.""" import unittest from pandas import DataFrame from pybel.dsl import activity, composite_abundance, pmod, protein, rna from pybel.examples.sialic_acid_example import ( cd33, citation, evidence_1, shp1, shp2, sialic...
479da4f3046538ca7e6572e7b64c54f8462aa20e
15f0514701a78e12750f68ba09d68095172493ee
/Python3/78.py
a73509b3f0e5d98a8c703de3ed693039c1471711
[ "MIT" ]
permissive
strengthen/LeetCode
5e38c8c9d3e8f27109b9124ae17ef8a4139a1518
3ffa6dcbeb787a6128641402081a4ff70093bb61
refs/heads/master
2022-12-04T21:35:17.872212
2022-11-30T06:23:24
2022-11-30T06:23:24
155,958,163
936
365
MIT
2021-11-15T04:02:45
2018-11-03T06:47:38
null
UTF-8
Python
false
false
1,421
py
78.py
__________________________________________________________________________________________________ sample 24 ms submission class Solution: def subsets(self, nums: List[int]) -> List[List[int]]: res = [[]] def dfs(index, path): if index == len(...
2a7b919bc955d80783160e7690bc04c2d06557ed
5e739e329243ad4d7ea29b66387be52c923ead85
/pypeln/task/api/to_stage.py
4d727d83b030207d16b647c4280b235008adb2fc
[ "MIT" ]
permissive
cgarciae/pypeln
ba51746d36b4bec7ab97ab98ebe80b56c35ab98a
c91ec0d080f5b56191cdbe32a2d08a566552bc68
refs/heads/master
2023-08-05T02:26:18.485566
2023-03-22T14:52:27
2023-03-22T14:52:27
147,001,703
1,434
101
MIT
2023-07-20T16:18:21
2018-09-01T13:43:31
Python
UTF-8
Python
false
false
484
py
to_stage.py
import typing as tp from pypeln.utils import A from ..stage import Stage from .from_iterable import from_iterable def to_stage( obj: tp.Union[Stage[A], tp.Iterable[A], tp.AsyncIterable[A]], maxsize: int ) -> Stage[A]: if isinstance(obj, Stage): return obj elif isinstance(obj, tp.Iterable) or is...
671019e910392bcee89e5436f8b93454e010bd78
a29b8d6ae6642ef80d04ae99d721b703de06db69
/maro/cli/grass/lib/services/utils/params.py
8a106e023802e12db772e81cf462a8cb4621527f
[ "LicenseRef-scancode-generic-cla", "MIT" ]
permissive
microsoft/maro
6aab1a4e86fddabf7f242f0d1020d985a5f7a5f3
b3c6a589ad9036b03221e776a6929b2bc1eb4680
refs/heads/master
2023-08-24T16:52:38.250279
2023-05-15T04:31:58
2023-05-15T04:31:58
230,389,247
764
158
MIT
2023-07-25T20:59:06
2019-12-27T06:48:27
Python
UTF-8
Python
false
false
619
py
params.py
# Copyright (c) Microsoft Corporation. # Licensed under the MIT license. import os class NodeStatus: PENDING = "Pending" RUNNING = "Running" STOPPED = "Stopped" class ContainerStatus: RUNNING = "running" EXITED = "exited" class JobStatus: PENDING = "pending" RUNNING = "running" K...
5ffddc9b2db956e5c10ed70dd509ec35f0f21c0b
8ca19f1a31070738b376c0370c4bebf6b7efcb43
/office365/outlook/mail/automatic_replies_setting.py
887e028fa47a6b8966ed671c73dc9c1d15037152
[ "MIT" ]
permissive
vgrem/Office365-REST-Python-Client
2ef153d737c6ed5445ba1e446aeaec39c4ef4ed3
cbd245d1af8d69e013c469cfc2a9851f51c91417
refs/heads/master
2023-09-02T14:20:40.109462
2023-08-31T19:14:05
2023-08-31T19:14:05
51,305,798
1,006
326
MIT
2023-08-28T05:38:02
2016-02-08T15:24:51
Python
UTF-8
Python
false
false
1,252
py
automatic_replies_setting.py
from office365.runtime.client_value import ClientValue class AutomaticRepliesSetting(ClientValue): """ Configuration settings to automatically notify the sender of an incoming email with a message from the signed-in user. For example, an automatic reply to notify that the signed-in user is unavailable to ...
79c19e0fb26f88368eb8975f0c8a1c116315991e
66f7d157f51897d08c45700f0a60ef6e4ddcaa34
/tests/test_filters.py
12cfdbc62a9877202b79736f1836385af36cb0e3
[ "MIT" ]
permissive
FKLC/AnyAPI
1d3eee97e507088ee754d80b6658cce7eca465d5
be6f23ad2d4affb8574da0082d1a9375fe11f9ed
refs/heads/master
2021-11-24T08:49:09.481422
2019-05-25T15:14:36
2019-05-25T15:14:36
166,031,038
131
9
null
null
null
null
UTF-8
Python
false
false
681
py
test_filters.py
from anyapi import AnyAPI import pytest @pytest.fixture def httpbin(): return AnyAPI("http://httpbin.org") def add_header(kwargs): kwargs["headers"]["Test-Header"] = "Test-Value" def test_filter_request(httpbin): """Test filter_request by setting header (It is enough to test against only headers)""" ...
2826fd718ff5d55f4946a8af5cf7dd4f82812e63
aa5c1a530f95d629e686ac9124caf1a49a9f23e9
/build_tools/github_actions/runner/config/health_server/health_server.py
626bb20b48803aa5df2310925290b1ab6b5774d6
[ "Apache-2.0", "LLVM-exception", "LicenseRef-scancode-unknown-license-reference" ]
permissive
openxla/iree
eacf5b239559e1d3b40c38039ac4c26315b523f7
13ef677e556d0a1d154e45b052fe016256057f65
refs/heads/main
2023-09-06T01:19:49.598662
2023-09-04T07:01:30
2023-09-04T07:01:30
208,145,128
387
110
Apache-2.0
2023-09-14T20:48:00
2019-09-12T20:57:39
C++
UTF-8
Python
false
false
3,326
py
health_server.py
#!/usr/bin/env python3 # Copyright 2022 The IREE Authors # # Licensed under the Apache License v2.0 with LLVM Exceptions. # See https://llvm.org/LICENSE.txt for license information. # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception """A really basic health check HTTP server. All it does is server a 200 to eve...
9a8c764a0989de3e82f589146a288659c2f66641
c1ff870879152fba2b54eddfb7591ec322eb3061
/plugins/languageAPI/jsAPI/3rdParty/nodejs/10.1.0/source/deps/openssl/openssl-cl_asm.gypi
614c0cf316c46222c2b4838698c0f0136ee64d02
[ "ISC", "LicenseRef-scancode-public-domain", "BSD-2-Clause", "Artistic-2.0", "NAIST-2003", "MIT", "BSD-3-Clause", "Zlib", "NTP", "LicenseRef-scancode-openssl", "ICU", "LicenseRef-scancode-unicode", "LicenseRef-scancode-unknown-license-reference", "LicenseRef-scancode-free-unknown" ]
permissive
MTASZTAKI/ApertusVR
1a9809fb7af81c3cd7fb732ed481ebe4ce66fefa
424ec5515ae08780542f33cc4841a8f9a96337b3
refs/heads/0.9
2022-12-11T20:03:42.926813
2019-10-11T09:29:45
2019-10-11T09:29:45
73,708,854
188
55
MIT
2022-12-11T08:53:21
2016-11-14T13:48:00
C++
UTF-8
Python
false
false
2,430
gypi
openssl-cl_asm.gypi
{ 'conditions': [ ['target_arch=="ppc" and OS=="aix"', { 'includes': ['config/archs/aix-gcc/asm/openssl-cl.gypi'], }, 'target_arch=="ppc" and OS=="linux"', { 'includes': ['config/archs/linux-ppc/asm/openssl-cl.gypi'], }, 'target_arch=="ppc64" and OS=="aix"', { 'includes': ['config/archs/...
4b6b0a196180c978fba991e186fbb2d16e50235c
551990e68feda34d2a9173b05cc3a7259f4e8c9a
/projects/spie2022_radial_subsampling/plot_zoomed.py
1bcb7fcce9f6414d583d605bd49e55618cd855d3
[ "Apache-2.0" ]
permissive
NKI-AI/direct
a5c1ca0cb75d709b62e94ff76aba361e188d2d59
2a4c29342bc52a404aae097bc2654fb4323e1ac8
refs/heads/main
2023-08-03T11:37:52.941124
2023-06-28T14:11:56
2023-06-28T14:11:56
269,966,010
151
35
Apache-2.0
2023-06-28T14:11:58
2020-06-06T11:53:07
Python
UTF-8
Python
false
false
2,696
py
plot_zoomed.py
import matplotlib.patches as patches from mpl_toolkits.axes_grid1.inset_locator import mark_inset, zoomed_inset_axes def zoom_in_rectangle(img, ax, zoom, rectangle_xy, rectangle_width, rectangle_height, **kwargs): """ Parameters ---------- img: array-like The image data. ax: Axes A...
aa8748c5d03ab8698e678794e4f1d5a40d8a84e1
5a52ccea88f90dd4f1acc2819997fce0dd5ffb7d
/alipay/aop/api/domain/JFExportInputFieldModel.py
9cad32c655b90ba0a91844f80a31f2d9cb30dacc
[ "Apache-2.0" ]
permissive
alipay/alipay-sdk-python-all
8bd20882852ffeb70a6e929038bf88ff1d1eff1c
1fad300587c9e7e099747305ba9077d4cd7afde9
refs/heads/master
2023-08-27T21:35:01.778771
2023-08-23T07:12:26
2023-08-23T07:12:26
133,338,689
247
70
Apache-2.0
2023-04-25T04:54:02
2018-05-14T09:40:54
Python
UTF-8
Python
false
false
6,083
py
JFExportInputFieldModel.py
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.constant.ParamConstants import * from alipay.aop.api.domain.ValidationRule import ValidationRule class JFExportInputFieldModel(object): def __init__(self): self._data_type = None self._default_value = None self...
dfde71f5800aa2ca5753ced75d6a6b33245f1cc8
bb33e6be8316f35decbb2b81badf2b6dcf7df515
/source/res/scripts/client/gui/scaleform/daapi/view/lobby/cybersport/cybersportintroview.py
88cde8b07e469c5e6132f2821eb9ede172e516d1
[]
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
7,791
py
cybersportintroview.py
# Python bytecode 2.7 (decompiled from Python 2.7) # Embedded file name: scripts/client/gui/Scaleform/daapi/view/lobby/cyberSport/CyberSportIntroView.py from gui.Scaleform.framework.managers.loaders import SFViewLoadParams from gui.shared.gui_items import GUI_ITEM_TYPE from gui.shared.items_cache import CACHE_SYNC_REAS...
6d244b2b6bd6efb7533b800737abe6293db299e6
9587c0df0e5b36e2a9cdad9a2666885efe812620
/test/test_geom.py
16380a9b36dd5ccfc17441bb23c319c5642416fd
[ "LicenseRef-scancode-unknown-license-reference", "BSD-2-Clause" ]
permissive
osmcode/pyosmium
c4d1b743824ea3bda8f3248d3e39a60b22c2940e
0459fb4126f51d215daca03620286c191676c0a1
refs/heads/master
2023-07-20T13:17:04.726937
2023-07-15T18:27:03
2023-07-15T18:27:03
24,344,280
277
63
BSD-2-Clause
2023-05-24T21:26:17
2014-09-22T20:25:42
Python
UTF-8
Python
false
false
4,646
py
test_geom.py
# SPDX-License-Identifier: BSD # # This file is part of Pyosmium. # # Copyright (C) 2022 Sarah Hoffmann. import json import pytest import osmium as o import osmium.geom wkbfab = o.geom.WKBFactory() @pytest.fixture def node_geom(test_data): def _run(factory, data='n1 x-23.3 y28.0'): geoms = [] d...
d9c38757b2bde606fbe58b89957da7d658a5fe0b
82b05fc158acbb10263a9e2415caf31ed4ea1ff4
/graphbrain/parsers/nlp.py
2c24f40b22641bffffffb3ffb0588790fddf6128
[ "MIT" ]
permissive
graphbrain/graphbrain
e655de5c9f7d755b7a34649a461762d7def501ff
8cb019eeea4bfba036f66ca742f1b4c3fc2c9c6a
refs/heads/master
2023-09-04T04:07:04.985162
2023-07-19T12:41:20
2023-07-19T12:41:20
51,751,006
534
60
MIT
2023-03-10T21:32:47
2016-02-15T11:25:11
Python
UTF-8
Python
false
false
1,254
py
nlp.py
from collections import OrderedDict from asciitree import LeftAligned from termcolor import colored def with_color(text, color, colors=True): if colors: return colored(text, color) else: return text def token2str(token, colors=False): word = with_color(token.lower_.strip(), 'cyan', colo...
18c6a236495811516575c4b8df4ffaefc1cb10d8
5234f553b85839546b50c0575e84c2e451c8adcf
/src/robot_upstart/job.py
895525cb86c6902cfe028abd3f8afdb64d90b6df
[ "BSD-3-Clause" ]
permissive
clearpathrobotics/robot_upstart
bb766eec7f26415bb0781ad9b290d40f5709e03c
987376f5c49864e9e250e5bb5b88ae13e0ed6973
refs/heads/noetic-devel
2023-07-24T20:27:05.055264
2022-02-16T13:47:22
2022-02-16T13:47:22
12,384,688
196
103
BSD-3-Clause
2023-07-14T14:33:09
2013-08-26T17:01:19
Python
UTF-8
Python
false
false
9,757
py
job.py
# Software License Agreement (BSD) # # @author Mike Purvis <mpurvis@clearpathrobotics.com> # @copyright (c) 2015, Clearpath Robotics, Inc., All rights reserved. # # Redistribution and use in source and binary forms, with or without modification, are permitted provided that # the following conditions are met: # * Red...
cbb6cdd46a3fb28bdf4847bc36dde8fde09620bc
15f0514701a78e12750f68ba09d68095172493ee
/Python3/479.py
94cf168e998958b68d5af4fea151144080bdc38b
[ "MIT" ]
permissive
strengthen/LeetCode
5e38c8c9d3e8f27109b9124ae17ef8a4139a1518
3ffa6dcbeb787a6128641402081a4ff70093bb61
refs/heads/master
2022-12-04T21:35:17.872212
2022-11-30T06:23:24
2022-11-30T06:23:24
155,958,163
936
365
MIT
2021-11-15T04:02:45
2018-11-03T06:47:38
null
UTF-8
Python
false
false
1,665
py
479.py
__________________________________________________________________________________________________ sample 36 ms submission class Solution: def largestPalindrome(self, n: int) -> int: if n == 1: return 9 k = 1 base = 10**n while True: upper = base - 2 * k ...
bcebd41ac32649b3da38c93ef264bf3472c0b6d7
2ae0b8d95d439ccfd55ea7933ad4a2994ad0f6c5
/tools/mo/openvino/tools/mo/front/tf/SwitchMergeOptimization.py
9a5fb162d20b1c6a4956a7bcfb2d359578718cba
[ "Apache-2.0" ]
permissive
openvinotoolkit/openvino
38ea745a247887a4e14580dbc9fc68005e2149f9
e4bed7a31c9f00d8afbfcabee3f64f55496ae56a
refs/heads/master
2023-08-18T03:47:44.572979
2023-08-17T21:24:59
2023-08-17T21:24:59
153,097,643
3,953
1,492
Apache-2.0
2023-09-14T21:42:24
2018-10-15T10:54:40
C++
UTF-8
Python
false
false
4,651
py
SwitchMergeOptimization.py
# Copyright (C) 2018-2023 Intel Corporation # SPDX-License-Identifier: Apache-2.0 from openvino.tools.mo.ops.select import Select from openvino.tools.mo.front.common.replacement import FrontReplacementSubgraph from openvino.tools.mo.graph.graph import Graph class SwitchMergeOptimization(FrontReplacementSubgraph): ...
4572d37f4186659b534e4fdf97eaf77d4e108acb
6a7005ca7e418a18cbfeec296129873aef6446a4
/examples/DecryptLoginExamples/crawlers/neteaseclickplaylist/__init__.py
d5dcf4c278bbe7b71c2ff777c65478e1d6ab0819
[ "Apache-2.0" ]
permissive
CharlesPikachu/DecryptLogin
f0646d37e8604fb9c41dc74c17c0ea48cb5066ec
bb4228c0535ffd7060b7816cbd1da51ba8d95ab8
refs/heads/master
2023-05-22T15:21:59.038844
2022-08-29T08:59:05
2022-08-29T08:59:05
172,416,496
2,871
809
Apache-2.0
2022-10-06T14:58:49
2019-02-25T01:57:20
Python
UTF-8
Python
false
false
71
py
__init__.py
'''initialize''' from .neteaseclickplaylist import NeteaseClickPlaylist
6787924cb69830635a205d8f9658b12ba2a1e1ec
7343ece3b82ac87a594865c4074623b45b0297b4
/tests/handlers/test_room_member.py
3e28117e2c0f058fe8920c65125caef1e7f5f2cb
[ "Apache-2.0" ]
permissive
matrix-org/synapse
a00111f83310783b78e2996557f8bbae4d9fb229
d35bed8369514fe727b4fe1afb68f48cc8b2655a
refs/heads/develop
2023-09-05T05:24:20.808942
2023-09-04T16:14:09
2023-09-04T16:14:09
22,844,864
12,215
2,869
Apache-2.0
2023-09-14T15:20:48
2014-08-11T15:51:42
Python
UTF-8
Python
false
false
16,212
py
test_room_member.py
from unittest.mock import AsyncMock, patch from twisted.test.proto_helpers import MemoryReactor import synapse.rest.admin import synapse.rest.client.login import synapse.rest.client.room from synapse.api.constants import EventTypes, Membership from synapse.api.errors import LimitExceededError, SynapseError from synap...
5d75add79bd39c185638c64158da758bc22458e3
27b86f422246a78704e0e84983b2630533a47db6
/src/ezdxf/render/leader.py
0bc9a9a8e756319de1dae5a63882e5e9dcff0404
[ "MIT" ]
permissive
mozman/ezdxf
7512decd600896960660f0f580cab815bf0d7a51
ba6ab0264dcb6833173042a37b1b5ae878d75113
refs/heads/master
2023-09-01T11:55:13.462105
2023-08-15T11:50:05
2023-08-15T12:00:04
79,697,117
750
194
MIT
2023-09-14T09:40:41
2017-01-22T05:55:55
Python
UTF-8
Python
false
false
4,602
py
leader.py
# Copyright (c) 2020-2023, Manfred Moitzi # License: MIT License from __future__ import annotations from typing import TYPE_CHECKING, Iterator, cast from ezdxf import ARROWS from ezdxf.entities import factory from ezdxf.lldxf.const import BYBLOCK from ezdxf.math import Vec3, fit_points_to_cad_cv if TYPE_CHECKING: ...
076fac2ff991e35b02b24a1367b1df91d96e56cc
dfa29402bb0add9560c76c75d72f1e3adbbb6662
/tests/test_an.py
7102c30766bce59cbce09aaa120f2bb5a1e5b841
[ "MIT" ]
permissive
jaraco/inflect
ed833aef3883739b230c7183575454c1e3776bd7
1a2ac489613145e26032b8831d55ba3188893208
refs/heads/main
2023-08-31T22:23:19.830839
2023-08-21T00:44:58
2023-08-21T00:44:58
730,520
397
56
MIT
2023-08-31T16:59:08
2010-06-20T13:43:13
Python
UTF-8
Python
false
false
1,018
py
test_an.py
import inflect def test_an(): p = inflect.engine() assert p.an("cat") == "a cat" assert p.an("ant") == "an ant" assert p.an("a") == "an a" assert p.an("b") == "a b" assert p.an("honest cat") == "an honest cat" assert p.an("dishonest cat") == "a dishonest cat" assert p.an("Honolulu sun...
783cd9e7e56b287f2221530e408256220fc28334
cb9d0e383eecb4dc8a1234b35300b84bcd958210
/backend/lambdas/tasks/orchestrate_ecs_service_scaling.py
b2e986b552423f5cea8a8da3affe6c4f479497d3
[ "Apache-2.0" ]
permissive
awslabs/amazon-s3-find-and-forget
e7a699ec333ba4120bb22f61a3ec0bd4e7a7f443
283429bd01db843fb8e207122729a97169ee752f
refs/heads/master
2023-08-02T16:45:39.658385
2023-08-02T12:51:34
2023-08-02T12:51:34
238,810,568
212
32
Apache-2.0
2023-08-02T12:51:35
2020-02-07T00:07:08
Python
UTF-8
Python
false
false
486
py
orchestrate_ecs_service_scaling.py
""" Task to orchestrate scaling for a ECS Service """ import boto3 from decorators import with_logging ecs = boto3.client("ecs") @with_logging def handler(event, context): cluster = event["Cluster"] max_tasks = event["DeletionTasksMaxNumber"] queue_size = event["QueueSize"] service = event["DeleteSe...
8b5e88010d0a64c346e2496dd0352af3bd45ae55
7944d899365f7bc849f367b72f4cc285e041826c
/submitit/test_documentation.py
07b57a4be520ebad904d14cf372d5c35b44245ca
[ "MIT" ]
permissive
facebookincubator/submitit
39edc49ad3c97883dd22cb7fe625d2db55f105d7
109f7c7f098de6775397e2b84826d59101a29a9f
refs/heads/main
2023-08-22T05:39:19.476497
2023-08-16T14:00:41
2023-08-16T14:00:41
258,441,818
947
111
MIT
2023-04-05T15:24:09
2020-04-24T07:41:09
Python
UTF-8
Python
false
false
2,895
py
test_documentation.py
# Copyright (c) Facebook, Inc. and its affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. # import re import typing as tp from pathlib import Path import submitit class MarkdownLink: """Handle to a markdown link, for easy exi...
4b1de5b0c509a8c1bea36cba96c0a05485988cb4
5d0433d5cfa29e3e9c49286197337ad166359df0
/icebergShaded/generate_iceberg_jars.py
551638aca90ee80c57a4ec1a0f8823930681ef21
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
delta-io/delta
dbc3fb5a119e5131be742e5df262e0a66ce28099
512562dbd43b03bd3debcebd059ed2a36577d140
refs/heads/master
2023-09-01T03:52:45.060128
2023-08-31T16:54:44
2023-08-31T16:54:44
182,849,188
6,505
1,518
Apache-2.0
2023-09-14T21:23:39
2019-04-22T18:56:51
HTML
UTF-8
Python
false
false
7,381
py
generate_iceberg_jars.py
#!/usr/bin/env python3 # # Copyright (2021) The Delta Lake Project 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...
8b264eb2ee7018b9c763f29379eee94c87f8c2a3
5da5473ff3026165a47f98744bac82903cf008e0
/packages/google-cloud-deploy/google/cloud/deploy_v1/services/cloud_deploy/transports/grpc.py
ddfb1966a84a1a56d14d573602a7e36abd2ab974
[ "Apache-2.0" ]
permissive
googleapis/google-cloud-python
ed61a5f03a476ab6053870f4da7bc5534e25558b
93c4e63408c65129422f65217325f4e7d41f7edf
refs/heads/main
2023-09-04T09:09:07.852632
2023-08-31T22:49:26
2023-08-31T22:49:26
16,316,451
2,792
917
Apache-2.0
2023-09-14T21:45:18
2014-01-28T15:51:47
Python
UTF-8
Python
false
false
49,492
py
grpc.py
# -*- coding: utf-8 -*- # Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
832d6a6360ef3e10e300c769b64f199cfb10d77c
fdbb74a95924e2677466614f6ab6e2bb13b2a95a
/third_party/python/Tools/scripts/fixdiv.py
1213a4e397603fad502b9d15b6d00cf97864c928
[ "Python-2.0", "ISC", "GPL-1.0-or-later", "LicenseRef-scancode-python-cwi", "LicenseRef-scancode-free-unknown", "LicenseRef-scancode-other-copyleft" ]
permissive
jart/cosmopolitan
fb11b5658939023977060a7c6c71a74093d9cb44
0d748ad58e1063dd1f8560f18a0c75293b9415b7
refs/heads/master
2023-09-06T09:17:29.303607
2023-09-02T03:49:13
2023-09-02T03:50:18
272,457,606
11,887
435
ISC
2023-09-14T17:47:58
2020-06-15T14:16:13
C
UTF-8
Python
false
false
13,882
py
fixdiv.py
#! /usr/bin/env python3 """fixdiv - tool to fix division operators. To use this tool, first run `python -Qwarnall yourscript.py 2>warnings'. This runs the script `yourscript.py' while writing warning messages about all uses of the classic division operator to the file `warnings'. The warnings look like this: <fil...
f270f4b5a1026b97e72a1d8e915706ba1838c636
4f1ab9e0d6f030c04f49bb40c6989345c024c5a8
/saas/urls/views/subscriber/billing/payment.py
60d62744c351d60ad2d547c947708d21a28b6549
[ "BSD-2-Clause" ]
permissive
djaodjin/djaodjin-saas
2e883b2afe548e6f6abccb6f74d884679e1e0b15
029bfcd9d4b04478950b829aeb0a92f5fd31776e
refs/heads/master
2023-09-06T05:45:27.940652
2023-09-05T13:21:32
2023-09-05T13:21:32
9,898,720
503
153
NOASSERTION
2023-09-08T10:55:07
2013-05-06T22:43:32
Python
UTF-8
Python
false
false
2,811
py
payment.py
# Copyright (c) 2022, DjaoDjin inc. # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # 1. Redistributions of source code must retain the above copyright notice, # this list of conditions and t...
8a2997f4bf5c2b376144e88ce97d6f5110bafd5a
9d7a9cad236d6fc766dc3f0db8a74a824a2073bf
/python/interpret_community/widget/_internal/__init__.py
0d3338327b6752801d006694620be5997d35231c
[ "MIT", "LicenseRef-scancode-free-unknown" ]
permissive
interpretml/interpret-community
fdf03ea65791990aab27d3c6c06b7a5bc44ed801
00922df124204420402e13ec8f1b4ca9781e42f1
refs/heads/main
2023-08-17T11:16:22.596730
2023-08-15T17:16:28
2023-08-15T17:16:28
210,882,381
403
83
MIT
2023-09-11T13:20:21
2019-09-25T15:43:56
Python
UTF-8
Python
false
false
282
py
__init__.py
# --------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # --------------------------------------------------------- """Init file for azureml-contrib-explain-model/azureml/contrib/explain/model/visualize/_internal."""
91e64e2ab845c611da56dddcf106c28b5edeb1bf
d4239425234eacb647c4cc4f2f4c8537b618fca0
/onadata/apps/logger/migrations/0019_auto_20160307_0256.py
09c2af5b19a4cc6dbc89941a3d4ea3ca515d26f5
[ "BSD-2-Clause", "BSD-3-Clause" ]
permissive
onaio/onadata
58762d6a606870bd13d43fd27fdaa61720a745c2
e5bdec91cb47179172b515bbcb91701262ff3377
refs/heads/main
2023-09-04T03:12:43.388668
2023-08-24T07:27:08
2023-08-24T07:27:08
12,888,897
177
149
NOASSERTION
2023-09-13T14:19:05
2013-09-17T07:25:01
Python
UTF-8
Python
false
false
982
py
0019_auto_20160307_0256.py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ("logger", "0018_auto_20160301_0330"), ] operations = [ migrations.AddField( model_name="widget", name...
77af56dece82c1626d9b4f7772cc84895e607601
b71a6e7050b0a4368007350d91ee078288a7318c
/examples/mastermind.py
cc7d8aada542a437be76ca9134cecc19172fbe41
[ "Apache-2.0" ]
permissive
jarvisteach/appJar
2dfd0da6cb85ea3535379ed000efd97fb42fe4f8
0b59ce041da2197dcff3410e20f298676f1f7266
refs/heads/appJar
2023-08-29T09:42:01.812005
2019-09-28T18:34:06
2019-09-28T18:34:06
39,996,518
696
103
NOASSERTION
2023-02-20T01:01:16
2015-07-31T08:59:20
Python
UTF-8
Python
false
false
3,581
py
mastermind.py
# -*- coding: utf-8 -*- import sys sys.path.append('../') import random from appJar import gui COLOURS = ['black', 'red', 'orange', 'yellow', 'green', 'blue', 'purple', 'pink', 'white'] HELP_MESSAGE = """Mastermind is a code-breaking game, in which the codebreaker (you) is trying to guess a randomly generated pattern....
13fd799b74b6bdcf008c2470a22c87a7f8e24968
4ddf82eeb31d46fb67802a4375390eb42a8f23b8
/tests/multi_bluetooth/ble_characteristic.py
b5dfefc840dd6ffe685e3accdb5d56aef2dc59c3
[ "MIT" ]
permissive
pulkin/micropython
1437a507b9e90c8824e80c3553e6209d89e64565
c274c947c611f510fd2b1c4ef6cbd9f4283794fc
refs/heads/master
2023-03-08T02:35:28.208819
2022-04-19T12:38:47
2022-04-19T12:38:47
167,732,676
103
36
MIT
2023-02-25T03:02:36
2019-01-26T19:57:59
C
UTF-8
Python
false
false
5,475
py
ble_characteristic.py
# Test characteristic read/write/notify from both GATTS and GATTC. from micropython import const import time, machine, bluetooth TIMEOUT_MS = 5000 _IRQ_CENTRAL_CONNECT = const(1 << 0) _IRQ_CENTRAL_DISCONNECT = const(1 << 1) _IRQ_GATTS_WRITE = const(1 << 2) _IRQ_PERIPHERAL_CONNECT = const(1 << 6) _IRQ_PERIPHERAL_DISC...
e0be5ae3fcbbd630788d40123c82ac6f94f75828
b8bbdfc593b6d816e67a344f720f90ec05236778
/airflow/providers/amazon/aws/operators/lambda_function.py
5d7e980bb53aca76960a4b0a2283adb7ea13c591
[ "Apache-2.0", "BSD-3-Clause", "MIT" ]
permissive
apache/airflow
ed78db0a8bab7e096990e143926e52f518e288ab
1b122c15030e99cef9d4ff26d3781a7a9d6949bc
refs/heads/main
2023-09-01T08:37:34.556097
2023-09-01T06:49:05
2023-09-01T06:49:05
33,884,891
22,756
11,558
Apache-2.0
2023-09-14T20:12:36
2015-04-13T18:04:58
Python
UTF-8
Python
false
false
9,619
py
lambda_function.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...
54394d38bd4b1b110bbf5768d0791d6dce977eac
e39cfcb65565524225fa304fb06ebf5ad3513306
/python-sdk/pachyderm_sdk/api/debug/extension.py
c25c46e09c802407f2aaddc060c0e34daca866da
[ "Apache-2.0", "LicenseRef-scancode-generic-cla" ]
permissive
pachyderm/pachyderm
7b5cbd89c6f3efa5d7bfb3eeed412f5ea1026d04
125f95010125f2df34bafb3ac804c966299c0f98
refs/heads/master
2023-08-31T11:56:47.995626
2023-08-30T22:50:50
2023-08-30T22:50:50
23,653,453
5,718
712
Apache-2.0
2023-09-14T19:37:37
2014-09-04T07:50:02
Go
UTF-8
Python
false
false
1,609
py
extension.py
"""Handwritten classes/methods that augment the existing Debug API.""" from datetime import timedelta from typing import Iterator, List, Optional, TYPE_CHECKING from . import DebugStub from . import DumpChunk, System if TYPE_CHECKING: from ..pps import Pipeline class ApiStub(DebugStub): # noinspection PyMet...
51a195390da4011a3073d7a8591c475e61166b88
069c2295076c482afadfe6351da5ae02be8e18e6
/tests/syndication_tests/feeds.py
a35dc29e20900bf550a7097e04b8d696b2e9fd06
[ "LicenseRef-scancode-other-copyleft", "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause", "GPL-1.0-or-later", "Python-2.0.1", "LicenseRef-scancode-free-unknown", "LicenseRef-scancode-other-permissive", "Python-2.0" ]
permissive
django/django
5eb557f57053631cd4f566f451e43197309dbeeb
c74a6fad5475495756a5bdb18b2cab2b68d429bc
refs/heads/main
2023-09-01T03:43:44.033530
2023-08-31T08:27:32
2023-08-31T08:27:32
4,164,482
73,530
38,187
BSD-3-Clause
2023-09-14T20:03:48
2012-04-28T02:47:18
Python
UTF-8
Python
false
false
7,949
py
feeds.py
from functools import wraps from django.contrib.syndication import views from django.utils import feedgenerator from django.utils.timezone import get_fixed_timezone from .models import Article, Entry def wraps_decorator(f): @wraps(f) def wrapper(*args, **kwargs): value = f(*args, **kwargs) r...
82b7de4af83edbacc73f5f858ff534838a180c24
64f31364d8defec1f8bfa1e16f02be43d050f275
/twilio/rest/supersim/v1/fleet.py
0017ff4e9228e5eec771fe7abea34111830ae728
[ "MIT" ]
permissive
twilio/twilio-python
198e841186b977d043f84b56abf83f62bd468563
9991fab510b8980b6e3580a7a96c1db504d90c38
refs/heads/main
2023-08-31T09:53:14.427790
2023-08-24T07:32:59
2023-08-24T07:32:59
307,447
1,621
749
MIT
2023-09-09T00:25:23
2009-09-15T05:33:57
Python
UTF-8
Python
false
false
35,221
py
fleet.py
r""" This code was generated by ___ _ _ _ _ _ _ ____ ____ ____ _ ____ ____ _ _ ____ ____ ____ ___ __ __ | | | | | | | | | __ | | |__| | __ | __ |___ |\ | |___ |__/ |__| | | | |__/ | |_|_| | |___ | |__| |__| | | | |__] |___ | \| |___ | \ | | | |__| | \ Twilio - Supersi...
f6f31601e12188dd400ea3ce445ca58618149f7c
a63d907ad63ba6705420a6fb2788196d1bd3763c
/src/api/dataflow/tests/test_uc/test_graph/test_unified_computing_graph.py
48fa0dcd61af95a225ec05b75ce70e603ee71062
[ "MIT" ]
permissive
Tencent/bk-base
a38461072811667dc2880a13a5232004fe771a4b
6d483b4df67739b26cc8ecaa56c1d76ab46bd7a2
refs/heads/master
2022-07-30T04:24:53.370661
2022-04-02T10:30:55
2022-04-02T10:30:55
381,257,882
101
51
NOASSERTION
2022-04-02T10:30:56
2021-06-29T06:10:01
Python
UTF-8
Python
false
false
3,232
py
test_unified_computing_graph.py
# -*- coding: utf-8 -*- """ Tencent is pleased to support the open source community by making BK-BASE 蓝鲸基础平台 available. Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved. BK-BASE 蓝鲸基础平台 is licensed under the MIT License. License for BK-BASE 蓝鲸基础平台: ------------------------------------------...
9f7d10d578db62ce7ff6837a9b93e7f9cb79dd76
f576f0ea3725d54bd2551883901b25b863fe6688
/sdk/ml/azure-ai-ml/azure/ai/ml/entities/_job/resource_configuration.py
b41718715b3337ded997f8b76aaeacd6b46ae366
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later", "LicenseRef-scancode-python-cwi", "PSF-2.0", "LGPL-2.0-or-later", "GPL-3.0-or-later", "GPL-1.0-or-later", "LicenseRef-scancode-warranty-disclaimer", "LGPL-2.1-only", "Python-2.0", "MPL-2.0", "LicenseRef-scancode-other-copyleft", ...
permissive
Azure/azure-sdk-for-python
02e3838e53a33d8ba27e9bcc22bd84e790e4ca7c
c2ca191e736bb06bfbbbc9493e8325763ba990bb
refs/heads/main
2023-09-06T09:30:13.135012
2023-09-06T01:08:06
2023-09-06T01:08:06
4,127,088
4,046
2,755
MIT
2023-09-14T21:48:49
2012-04-24T16:46:12
Python
UTF-8
Python
false
false
4,041
py
resource_configuration.py
# --------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # --------------------------------------------------------- import json import logging from typing import Any, Dict, Optional from azure.ai.ml._restclient.v2023_04_01_preview.models import ResourceC...
5144410eadc40660fe339b11f0847daf50739bbd
6189f34eff2831e3e727cd7c5e43bc5b591adffc
/WebMirror/management/rss_parser_funcs/feed_parse_extractChrononTranslations.py
f967f0c8613e3c88ba7b7aae509599d9a47e71a2
[ "BSD-3-Clause" ]
permissive
fake-name/ReadableWebProxy
24603660b204a9e7965cfdd4a942ff62d7711e27
ca2e086818433abc08c014dd06bfd22d4985ea2a
refs/heads/master
2023-09-04T03:54:50.043051
2023-08-26T16:08:46
2023-08-26T16:08:46
39,611,770
207
20
BSD-3-Clause
2023-09-11T15:48:15
2015-07-24T04:30:43
Python
UTF-8
Python
false
false
1,651
py
feed_parse_extractChrononTranslations.py
def extractChrononTranslations(item): """ """ vol, chp, frag, postfix = extractVolChapterFragmentPostfix(item['title']) if not (chp or vol or frag) or 'preview' in item['title'].lower(): return None item['title'] = item['title'].replace('’', '') if 'Weapons cheat'.lower() in item['title'].lower(): return bui...
a34e7410e522eb674682abd5dd5eebc8cf6d3306
975b2d421d3661e6770b601929d5f11d981d8985
/msgraph/generated/models/security/ediscovery_estimate_operation.py
c73cc3fab2c682f0a34b738213f71f16c9af6d23
[ "MIT" ]
permissive
microsoftgraph/msgraph-sdk-python
a7c551b85daadeebf76ec4ae12668664ea639b42
27de7ccbe688d7614b2f6bde0fdbcda4bc5cc949
refs/heads/main
2023-09-03T21:45:27.989672
2023-08-31T06:22:18
2023-08-31T06:22:18
534,665,999
135
18
MIT
2023-09-14T11:04:11
2022-09-09T14:00:17
Python
UTF-8
Python
false
false
3,923
py
ediscovery_estimate_operation.py
from __future__ import annotations from dataclasses import dataclass, field from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union if TYPE_CHECKING: from .case_operation import CaseOperation from .edisco...
d6c7e9474c86227d0e7af968125e3ae2d38e998b
a5a99f646e371b45974a6fb6ccc06b0a674818f2
/Validation/RecoEgamma/python/egammaPostValidation_cff.py
40ddc0c77bf59eb178f5eb33ef90e56785459bd0
[ "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
262
py
egammaPostValidation_cff.py
import FWCore.ParameterSet.Config as cms from Validation.RecoEgamma.photonPostProcessor_cff import * from Validation.RecoEgamma.electronPostValidationSequence_cff import * egammaPostValidation = cms.Sequence(photonPostProcessor+electronPostValidationSequence)
50092aa1fe288ba143ead833c788902d77ea516d
ffdc77394c5b5532b243cf3c33bd584cbdc65cb7
/tests/st/ops/gpu/test_dataformatdimmap_op.py
9ceda9b18b843fffd51576b3168b1c51dcbe4123
[ "Apache-2.0", "LicenseRef-scancode-proprietary-license", "MPL-1.0", "OpenSSL", "LGPL-3.0-only", "LicenseRef-scancode-warranty-disclaimer", "BSD-3-Clause-Open-MPI", "MIT", "MPL-2.0-no-copyleft-exception", "NTP", "BSD-3-Clause", "GPL-1.0-or-later", "0BSD", "MPL-2.0", "LicenseRef-scancode-f...
permissive
mindspore-ai/mindspore
ca7d5bb51a3451c2705ff2e583a740589d80393b
54acb15d435533c815ee1bd9f6dc0b56b4d4cf83
refs/heads/master
2023-07-29T09:17:11.051569
2023-07-17T13:14:15
2023-07-17T13:14:15
239,714,835
4,178
768
Apache-2.0
2023-07-26T22:31:11
2020-02-11T08:43:48
C++
UTF-8
Python
false
false
3,472
py
test_dataformatdimmap_op.py
# Copyright 2022 Huawei Technologies Co., Ltd # # 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...
a33b9f722c947aa42f8d157c86d89cce4d691719
c3fb19c2e228fd1d32516fe64f38a9006772d260
/botfw/liquid/trade.py
559e2c54f6bee759c5b9f2571429735a75479e9f
[ "MIT" ]
permissive
penta2019/btc_bot_framework
0642725cfd5c7b9f1c4e011f30b292cc4fc7ba50
3793c4c1d170db31a8017096f16946610c0a062e
refs/heads/master
2022-01-24T01:25:17.346272
2022-01-18T10:29:28
2022-01-18T10:29:28
224,544,310
131
43
MIT
2022-01-18T10:29:29
2019-11-28T01:11:14
Python
UTF-8
Python
false
false
724
py
trade.py
import json from ..base.trade import TradeBase from .websocket import LiquidWebsocket class LiquidTrade(TradeBase): def __init__(self, symbol, ws=None): super().__init__() self.symbol = symbol self.ws = ws or LiquidWebsocket() market_id = self.symbol.replace('/', '').lower() ...
413f72421274506c2819fa70bb1d4fc7d31e2e5a
5a52ccea88f90dd4f1acc2819997fce0dd5ffb7d
/alipay/aop/api/domain/Command.py
060ae5d99343502c16d76ca8ee07e10f3fd3b691
[ "Apache-2.0" ]
permissive
alipay/alipay-sdk-python-all
8bd20882852ffeb70a6e929038bf88ff1d1eff1c
1fad300587c9e7e099747305ba9077d4cd7afde9
refs/heads/master
2023-08-27T21:35:01.778771
2023-08-23T07:12:26
2023-08-23T07:12:26
133,338,689
247
70
Apache-2.0
2023-04-25T04:54:02
2018-05-14T09:40:54
Python
UTF-8
Python
false
false
2,173
py
Command.py
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.constant.ParamConstants import * class Command(object): def __init__(self): self._commander = None self._content = None self._executor = None self._key = None @property def commander(self): ...
d3c899446b439c28c9780aa8e0d7767f1fb755c1
3c41443364da8b44c74dce08ef94a1acd1b66b3e
/osf/models/action.py
d9ad78afa840493d60e7c2e04052dc402634c60c
[ "BSD-3-Clause", "MIT", "LicenseRef-scancode-free-unknown", "LicenseRef-scancode-warranty-disclaimer", "AGPL-3.0-only", "LGPL-2.0-or-later", "LicenseRef-scancode-proprietary-license", "MPL-1.1", "CPAL-1.0", "LicenseRef-scancode-unknown-license-reference", "BSD-2-Clause", "Apache-2.0" ]
permissive
CenterForOpenScience/osf.io
71d9540be7989f7118a33e15bc4a6ce2d2492ac1
a3e0a0b9ddda5dd75fc8248d58f3bcdeece0323e
refs/heads/develop
2023-09-04T03:21:14.970917
2023-08-31T14:49:20
2023-08-31T14:49:20
10,199,599
683
390
Apache-2.0
2023-09-14T17:07:52
2013-05-21T15:53:37
Python
UTF-8
Python
false
false
3,616
py
action.py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models from osf.models.base import BaseModel, ObjectIDMixin from osf.utils.workflows import ( ApprovalStates, DefaultStates, DefaultTriggers, ReviewStates, ReviewTriggers, RegistrationModerationTriggers, ...
a447fe4a49bbf2217fc76fc80a2aacb2feae37f6
056f10d9f99506bb9b5abf7e91633f3ad0c76061
/CheckMembership.py
ca0020f47c3018de73b39bc1201184f649d3b929
[]
no_license
taers232c/GAM-Scripts3
5f171b620b2ac19514ab7198e39720f59a60ba9e
a59c5adb7b03b6bc9a4e054b9b41eabae2779f13
refs/heads/master
2023-08-31T06:43:57.645295
2023-08-22T17:32:21
2023-08-22T17:32:21
108,921,186
176
46
null
2023-02-28T15:52:32
2017-10-30T23:48:44
Python
UTF-8
Python
false
false
2,579
py
CheckMembership.py
#!/usr/bin/env python3 """ # Purpose: For a list of group members and a list of users, produce a CSV file that lists the users that are not group members # Note: This script can use Basic or Advanced GAM: # https://github.com/GAM-team/GAM # https://github.com/taers232c/GAMADV-XTD3 # Python: Use python or python3 below ...
771aedbd9f2a08f3fcb2bc1dd2b98a7563d8a52e
064adb670110b02615b9a5feceb39bd6cc56f640
/example_services/benchmark/client.py
2b8e9d676d3b0912d7e0ba57b932b054d2faacaf
[ "BSD-2-Clause" ]
permissive
almarklein/mypaas
3e7f00562e83d936f3feadc9f9fd75f448252a8b
d3f7559f66cda89245e55416a2e704234a65da6f
refs/heads/main
2023-05-25T01:33:30.749796
2023-05-10T11:29:33
2023-05-10T11:29:33
219,710,639
334
18
BSD-2-Clause
2023-05-10T11:29:34
2019-11-05T09:49:45
Python
UTF-8
Python
false
false
1,546
py
client.py
""" Run this from your workstation, or anywhere, to connect to your server and stress it! """ import time import random import threading import requests names = [f"foo{i}" for i in range(1000)] ## # Run this once to create a bunch of databases at the server if True: for name in names: print(name) ...
9ecee25f2e4b5013575b5bb0c5434b99c1cf4d3f
01857ef455ea60eccaf03b5a9059ec83e9803c2e
/nicegui/tailwind_types/backdrop_grayscale.py
95c09b97621f1b2cb3aa3fdebbeadfb3f89227c9
[ "MIT" ]
permissive
zauberzeug/nicegui
f08312cc1f393deca79e0e84a2506d3a35efff16
c61b1315f29d51e26cc1168207f5616b302f8df0
refs/heads/main
2023-08-18T18:09:30.937322
2023-08-18T15:04:00
2023-08-18T15:04:00
365,250,183
5,128
271
MIT
2023-09-14T01:50:56
2021-05-07T13:55:05
Python
UTF-8
Python
false
false
76
py
backdrop_grayscale.py
from typing import Literal BackdropGrayscale = Literal[ '0', '', ]
3e45709b997f9bce07d5a577fe2e96503c692319
5105403f2b75990654519438d8ceabcf80962ebf
/tests/unit/bokeh/plotting/test__stack.py
5668bbce2c00f738c34ceb3cf1879d9d7197459c
[ "BSD-3-Clause" ]
permissive
bokeh/bokeh
ed1d81eb07d27d27c6710c9fec9114886047f528
310cb2cbeabc4c4b8180cbda566df16039737cdc
refs/heads/branch-3.3
2023-08-31T23:53:06.537061
2023-08-30T03:43:05
2023-08-30T03:43:05
3,834,332
17,174
5,251
BSD-3-Clause
2023-09-14T11:37:23
2012-03-26T15:40:01
Python
UTF-8
Python
false
false
9,034
py
test__stack.py
#----------------------------------------------------------------------------- # Copyright (c) 2012 - 2023, Anaconda, Inc., and Bokeh Contributors. # All rights reserved. # # The full license is in the file LICENSE.txt, distributed with this software. #-------------------------------------------------------------------...
4a7d6b740a2c7f4ceecf8d36b34b499bd34b728c
b58d2a25194bf70b05787a71e3158eed63609fd6
/preprocess-features.py
9394318332de6b5981e45522a184ff8d38e90ec6
[ "GPL-3.0-only" ]
permissive
KaihuaTang/VQA2.0-Recent-Approachs-2018.pytorch
22818d8d39106a37c0fb83486761187bb8e55579
1a4aa392a510a6fb7e1037ca90d06c2eb0dd6cd9
refs/heads/master
2022-02-02T23:38:55.718214
2022-01-12T13:54:10
2022-01-12T13:54:10
162,952,449
316
57
MIT
2019-10-11T09:28:44
2018-12-24T05:14:21
Python
UTF-8
Python
false
false
2,611
py
preprocess-features.py
import sys import argparse import base64 import os import csv import itertools csv.field_size_limit(sys.maxsize) import h5py import torch.utils.data import numpy as np from tqdm import tqdm import config import data import utils def main(): parser = argparse.ArgumentParser() parser.add_argument('--test', a...
3391b01294ca34984626c54d90a77ff14a532647
b57aab2567c3e17f7460be188e58c736eeed743a
/python/text/textindex.py
5cb5d71a4904d52073d42a9bd5d557e873251339
[ "Apache-2.0" ]
permissive
GoogleCloudPlatform/cloud-vision
af1e0b9337d047cbf85a57ffd1cd48f49234a90d
7d50fb62950ab3ebd46f230ed6bd1510c553d1f3
refs/heads/master
2023-04-01T10:30:40.615451
2022-04-18T16:37:45
2022-04-18T16:37:45
50,685,592
1,217
1,119
Apache-2.0
2022-04-08T20:44:08
2016-01-29T19:22:07
Python
UTF-8
Python
false
false
10,855
py
textindex.py
#!/usr/bin/env python # Copyright 2015 Google Inc. 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...
ea08b2f0bf7160cfa596991985bc808163e07ad7
f6d5108d05e97f58ddb24c3669a7a52c413ffe03
/docstring_parser/tests/test_google.py
201f14159212b8a810b28fe182e21fd6850d8b7a
[ "MIT" ]
permissive
rr-/docstring_parser
cc5364c2fc892f3a4e13baa4befa0aa076ddca0c
703c6cafd96d4889b01a70f7481d9caad5b84dda
refs/heads/master
2023-07-07T02:45:13.684287
2022-09-18T09:04:53
2022-09-18T09:04:53
129,903,472
161
51
MIT
2023-06-30T23:52:00
2018-04-17T12:47:17
Python
UTF-8
Python
false
false
26,577
py
test_google.py
"""Tests for Google-style docstring routines.""" import typing as T import pytest from docstring_parser.common import ParseError, RenderingStyle from docstring_parser.google import ( GoogleParser, Section, SectionType, compose, parse, ) def test_google_parser_unknown_section() -> None: """Tes...
7875a644d798dd3ebb690af1fef72e1fc51b1bce
0d7bcd65699549f615a9a529d733f7f50001cd3b
/back-end/www/show_video_transforms.py
ad854671472a09e07867886040b28935256e6edf
[ "BSD-3-Clause", "CC0-1.0" ]
permissive
CMU-CREATE-Lab/deep-smoke-machine
99ad9936faf089117a927a59684a853463a2094e
2501963c5bdb56202ae1792051f94adfd1ecfc65
refs/heads/master
2023-05-02T18:15:02.406452
2023-04-21T15:30:02
2023-04-21T15:30:02
184,317,473
103
27
BSD-3-Clause
2020-12-08T09:32:16
2019-04-30T19:10:41
Python
UTF-8
Python
false
false
1,220
py
show_video_transforms.py
import os thread = "1" os.environ["MKL_NUM_THREADS"] = thread os.environ["NUMEXPR_NUM_THREADS"] = thread os.environ["OMP_NUM_THREADS"] = thread os.environ["VECLIB_MAXIMUM_THREADS"] = thread os.environ["OPENBLAS_NUM_THREADS"] = thread import cv2 cv2.setNumThreads(0) import sys import matplotlib matplotlib.use("TkAgg") ...
900c9d3a3b91117c335e212c89ac27245ec3f6ec
187414dcb264fb49d82507a099fd5fdca6e55e38
/python/pyspark/pandas/tests/computation/test_any_all.py
64f293c48d64a588319b7dac66dd1aa3217599b3
[ "BSD-3-Clause", "CC0-1.0", "CDDL-1.1", "Apache-2.0", "LicenseRef-scancode-public-domain", "BSD-2-Clause", "LicenseRef-scancode-unknown-license-reference", "EPL-2.0", "CDDL-1.0", "MIT", "LGPL-2.0-or-later", "Python-2.0", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-free-unknown",...
permissive
apache/spark
8aeba2d80465a262acc95781ede105a5b5886f6d
60d8fc49bec5dae1b8cf39a0670cb640b430f520
refs/heads/master
2023-09-04T04:33:36.058199
2023-09-04T03:48:52
2023-09-04T03:48:52
17,165,658
39,983
32,449
Apache-2.0
2023-09-14T19:46:24
2014-02-25T08:00:08
Scala
UTF-8
Python
false
false
6,364
py
test_any_all.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 us...
6a7f62fb4c3e6bac12718db44577ce405a027520
cf759ef1264f39a97709f47d0ea6fe2c5e0338d1
/andriller/gui/wa_crypt.py
9ec696eebb53df3cd1c16a9dc04b5d41f77d69d1
[ "MIT" ]
permissive
den4uk/andriller
809595d0845726c090fddd5b34a4fa771290b4c7
3b8c9f7b8d9bb4f567ea05c03522341033ce2d3b
refs/heads/master
2022-07-15T01:15:42.042722
2022-06-27T22:00:44
2022-06-27T22:00:44
227,929,809
1,188
205
MIT
2022-06-27T22:00:45
2019-12-13T22:06:36
Python
UTF-8
Python
false
false
6,382
py
wa_crypt.py
import os.path import pathlib import tkinter as tk from tkinter import ttk, messagebox from .core import BaseWindow from .. import decrypts from .. import statics from ..utils import threaded, human_bytes # WhatsApp Crypt -------------------------------------------------------------- class WhatsAppCrypt(BaseWindow): ...
ecb7530fd1d8f41376c069edb87d6c6f22b4db2f
8f7320c10f2c5fc8475753dc5256d1a66067e15c
/pykeops/pykeops/examples/pytorch/plot_generic_syntax_pytorch_LSE.py
8b3a0dc0e68bad8a6eb9916d00a8d8c506ca094b
[ "MIT" ]
permissive
getkeops/keops
947a5409710379893c6c7a46d0a256133a6d8aff
52ed22a7fbbcf4bd02dbdf5dc2b00bf79cceddf5
refs/heads/main
2023-08-25T12:44:22.092925
2023-08-09T13:33:58
2023-08-09T13:33:58
182,054,091
910
69
MIT
2023-09-03T20:35:44
2019-04-18T09:04:07
Python
UTF-8
Python
false
false
6,211
py
plot_generic_syntax_pytorch_LSE.py
""" LogSumExp reduction ============================== """ #################################################################### # Let's compute the (3000,1) tensor :math:`c` whose entries # :math:`c_i` are given by: # # .. math:: # c_i = \log \left[ \sum_j \exp\left( (p-a_j)^2 \exp(x_i+y_j) \right) \right] # # where...
66b4640024fb8f4ea96bed47af7550756bbb5147
2bb7bc07df02a17735c2cacc7b2ba0c6de77b63c
/tests/mesos_test.py
38f99769551d2bb7e5d260c09c7080b6fdb38904
[ "Apache-2.0" ]
permissive
Yelp/Tron
2c30a301055a732c3b33a39e05dbdcfc84ac8e02
958a2e22a6ac733cba043bc4238f3bf2b8048f4b
refs/heads/master
2023-08-29T11:35:11.716532
2023-08-21T19:27:45
2023-08-21T19:27:45
899,771
226
53
NOASSERTION
2023-08-21T19:26:45
2010-09-09T20:54:04
Python
UTF-8
Python
false
false
23,731
py
mesos_test.py
from collections import namedtuple from unittest import mock import staticconf.testing from testifycompat import assert_equal from testifycompat import setup_teardown from testifycompat import TestCase from tron.mesos import MesosCluster from tron.mesos import MesosClusterRepository from tron.mesos import MesosTask ...
3e89fd6081b88f9ed651c3874e663036b2fbe7a5
3779caa500c53f0ee12baa039cda4cde1e7391b9
/Generate Parentheses.py
25ecc56e0c1cf005a52936aff266319d5497ccbb
[]
no_license
kongzhidea/leetcode
924d66bcbc8b7b0f793399184870d4f8da309dba
57fc31718ee9cd6a4282c752382e538e42ff02ce
refs/heads/master
2021-10-29T07:07:41.603363
2021-10-27T13:49:29
2021-10-27T13:49:29
63,241,496
125
2
null
null
null
null
UTF-8
Python
false
false
455
py
Generate Parentheses.py
class Solution: def __init__(self): self.ret = [] # @param an integer # @return a list of string def generateParenthesis(self, n): self.dfs("",0,0,n) return self.ret def dfs(self,tmp,lc,rc,n): if lc + rc == n * 2: self.ret.append(tmp) return ...
f384559345601f6d01c33bc8445b984e1ec3ff7b
db6f3e6486ad8367c62163a4f124da185a64ab5d
/scripts/type_extractor/type_extractor/lti_types.py
7c0af5b8c6dcb2b5a4261523558e71c2035be2c5
[ "MIT", "Zlib", "JSON", "LicenseRef-scancode-unknown-license-reference", "MPL-2.0", "BSD-3-Clause", "GPL-2.0-only", "NCSA", "WTFPL", "BSL-1.0", "LicenseRef-scancode-proprietary-license", "Apache-2.0" ]
permissive
avast/retdec
c199854e06454a0e41f5af046ba6f5b9bfaaa4b4
b9791c884ad8f5b1c1c7f85c88301316010bc6f2
refs/heads/master
2023-08-31T16:03:49.626430
2023-08-07T08:15:07
2023-08-14T14:09:09
113,967,646
3,111
483
MIT
2023-08-17T05:02:35
2017-12-12T09:04:24
C++
UTF-8
Python
false
false
1,654
py
lti_types.py
"""Dictionary of types used in headers and types for lti.""" LTI_TYPES = { # default C types and some typedefs '__int64': 'i64', 'bool': 'i1', 'double': 'double', 'long double': 'double', 'float': 'float', 'char': 'i8', 'int': 'i32', 'long': 'i32', 'long int': 'i64', 'long l...
7cf8dfe4467ca1a78dd0508e275bf8d196d2c8de
fce81b804cae23f525a5ad4370b684bf0dc531a5
/numpy/matrixlib/defmatrix.pyi
9d0d1ee50b6600bce80f1f5b1363e5ee3102a02a
[ "Zlib", "BSD-3-Clause", "MIT", "Apache-2.0" ]
permissive
numpy/numpy
ba2abcc1d2d46affbb6aabe5aed6407b4b57507e
dc2ff125493777a1084044e6cd6857a42ee323d4
refs/heads/main
2023-09-05T10:10:52.767363
2023-09-04T18:03:29
2023-09-04T18:03:29
908,607
25,725
11,968
BSD-3-Clause
2023-09-14T21:26:09
2010-09-13T23:02:39
Python
UTF-8
Python
false
false
451
pyi
defmatrix.pyi
from collections.abc import Sequence, Mapping from typing import Any from numpy import matrix as matrix from numpy._typing import ArrayLike, DTypeLike, NDArray __all__: list[str] def bmat( obj: str | Sequence[ArrayLike] | NDArray[Any], ldict: None | Mapping[str, Any] = ..., gdict: None | Mapping[str, Any]...
986f6d4f1b7c482ac11dd9bf836c2d8d71bc90bf
974d04d2ea27b1bba1c01015a98112d2afb78fe5
/test/cinn/ops/test_cholesky_op.py
661c51e17980722d9f93940d010ef8f6a8149613
[ "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
5,561
py
test_cholesky_op.py
#!/usr/bin/env python3 # Copyright (c) 2021 CINN 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 r...
7558dc4ae5eabc9c6d40c0ef406cc0a5df18ef13
29eacf3b29753d65d8ec0ab4a60ea1f7ddecbd68
/tests/api_workflow/test_api_workflow.py
1f5d3fac99ebd3152becbbc18175e01d4f0ea0ae
[ "MIT" ]
permissive
lightly-ai/lightly
5b655fe283b7cc2ddf1d7f5bd098603fc1cce627
5650ee8d4057139acf8aa10c884d5d5cdc2ccb17
refs/heads/master
2023-08-17T11:08:00.135920
2023-08-16T12:43:02
2023-08-16T12:43:02
303,705,119
2,473
229
MIT
2023-09-14T14:47:16
2020-10-13T13:02:56
Python
UTF-8
Python
false
false
4,903
py
test_api_workflow.py
import os from unittest import mock import numpy as np import lightly from tests.api_workflow import utils from tests.api_workflow.mocked_api_workflow_client import ( MockedApiWorkflowClient, MockedApiWorkflowSetup, ) class TestApiWorkflow(MockedApiWorkflowSetup): def setUp(self) -> None: lightl...
1e2aa85f0965aff2eedf0ef1f39775aa3d5919a0
529e713a78e82de2ae5d44cfb8ef209e0894d72a
/python-bitwise-operators/stegano/bitmap.py
cda7bc4536349b23ae92992756f8898795acefc9
[ "MIT" ]
permissive
realpython/materials
cd2f548276be2c82f134ca03eadb1cd279e0f26e
d2d62756d3854f54a12a767f2bf9470486c0ceef
refs/heads/master
2023-09-05T22:12:29.806738
2023-08-31T20:56:28
2023-08-31T20:56:28
132,374,697
4,678
6,482
MIT
2023-09-12T22:22:06
2018-05-06T20:46:18
HTML
UTF-8
Python
false
false
3,785
py
bitmap.py
""" Bitmap read/write operations. """ import pathlib from dataclasses import dataclass from itertools import islice from mmap import mmap, ACCESS_WRITE from struct import pack, unpack from typing import Any, Union, Iterator class Bitmap: """High-level interface to a bitmap file.""" def __init__(self, path: ...
b2bf48653dcc59084360de3c082c7dbc7d1211aa
dcb823e295bb94de99a89dd4d69314186b9351b2
/dreamcoder/domains/regex/main.py
4c23a3ac6b05be27dac65bbaddfcce9afbc5920d
[ "MIT" ]
permissive
ellisk42/ec
caae2ad9fa7892b2fc456f0d82ee4e3e394ebeb6
cb0e63f5c33cd2de360b791038b0f5272750270e
refs/heads/master
2023-07-05T22:31:26.762022
2022-03-16T17:45:10
2022-03-16T17:45:10
117,295,639
371
137
MIT
2023-02-16T20:24:12
2018-01-12T22:55:36
Slash
UTF-8
Python
false
false
14,146
py
main.py
# analog of list.py for regex tasks. Responsible for actually running the task. from dreamcoder.domains.regex.makeRegexTasks import makeOldTasks, makeLongTasks, makeShortTasks, makeWordTasks, makeNumberTasks, makeHandPickedTasks, makeNewTasks, makeNewNumberTasks from dreamcoder.domains.regex.regexPrimitives import bas...
705ea14d682a0aa1ac92b70de976c56b437db98b
72293b4650b92019f9c046133f7de13ea6f69644
/zulip_bots/zulip_bots/bots/trello/test_trello.py
60af4174df85d0d1d2b98bfbf5d244786898e41f
[ "Apache-2.0", "LicenseRef-scancode-free-unknown" ]
permissive
zulip/python-zulip-api
820978c36689db4872abf21730b25ce8abb5fbcf
35a8ff8839ac39cff0638f533fea59665cb9aff3
refs/heads/main
2023-09-03T14:04:46.920347
2023-06-12T21:03:10
2023-08-11T19:36:11
96,455,158
387
437
Apache-2.0
2023-08-11T19:36:12
2017-07-06T17:25:46
Python
UTF-8
Python
false
false
5,223
py
test_trello.py
from unittest.mock import patch from zulip_bots.bots.trello.trello import TrelloHandler from zulip_bots.test_lib import BotTestCase, DefaultTests, StubBotHandler mock_config = {"api_key": "TEST", "access_token": "TEST", "user_name": "TEST"} class TestTrelloBot(BotTestCase, DefaultTests): bot_name = "trello" # ...
6d0ef467f39918c56c6ac974eee083be51a4a9c4
ffdc77394c5b5532b243cf3c33bd584cbdc65cb7
/tests/st/profiler/test_ascend_profiler.py
1df2fc10b58bc975d5e506e73167499cefb3f63d
[ "Apache-2.0", "LicenseRef-scancode-proprietary-license", "MPL-1.0", "OpenSSL", "LGPL-3.0-only", "LicenseRef-scancode-warranty-disclaimer", "BSD-3-Clause-Open-MPI", "MIT", "MPL-2.0-no-copyleft-exception", "NTP", "BSD-3-Clause", "GPL-1.0-or-later", "0BSD", "MPL-2.0", "LicenseRef-scancode-f...
permissive
mindspore-ai/mindspore
ca7d5bb51a3451c2705ff2e583a740589d80393b
54acb15d435533c815ee1bd9f6dc0b56b4d4cf83
refs/heads/master
2023-07-29T09:17:11.051569
2023-07-17T13:14:15
2023-07-17T13:14:15
239,714,835
4,178
768
Apache-2.0
2023-07-26T22:31:11
2020-02-11T08:43:48
C++
UTF-8
Python
false
false
4,305
py
test_ascend_profiler.py
# Copyright 2021 Huawei Technologies Co., Ltd # # 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...
980130a2686cdceff91af9a96175855a7837b05c
96d69d82b4f7cffe20e405b00f26ea15fa988f6e
/tutorials/spectral/plot_SpectralVariance.py
966c1d98a6658bd854ea36ee2964b3c405ccdd6b
[ "Apache-2.0" ]
permissive
neurodsp-tools/neurodsp
5706550da30f5b6a97390f08614580c2d883070a
d449761a334ff5a091c055401b41be0dc6fa8fc1
refs/heads/main
2023-07-27T10:55:16.082678
2023-07-20T19:24:45
2023-07-20T19:24:45
94,924,688
219
55
Apache-2.0
2023-09-13T11:27:50
2017-06-20T18:51:11
Python
UTF-8
Python
false
false
7,366
py
plot_SpectralVariance.py
""" Spectral Domain Analysis: Variance ================================== Apply spectral domain analyses, calculating variance measures. This tutorial primarily covers the ``neurodsp.spectral.variance`` module. """ ################################################################################################### # ...
930bf4732b67b8418767480d2508b5acb430f678
4c800425b941243c521f0a878c1b12a8f5a50585
/deepreg/config/parser.py
4f9ab34cd27aba13ee07d30a8f20832ab26ed568
[ "Apache-2.0" ]
permissive
DeepRegNet/DeepReg
f7af4554c89a7a40a53bac9f7fc9939402d1110d
650a2f1a88ad3c6932be305d6a98a36e26feedc6
refs/heads/main
2023-04-06T20:40:38.722315
2022-05-18T21:52:19
2022-05-18T21:52:19
269,365,590
509
78
Apache-2.0
2023-03-11T12:18:21
2020-06-04T13:21:37
Python
UTF-8
Python
false
false
2,638
py
parser.py
import os from typing import Dict, List, Union import yaml from deepreg import log from deepreg.config.v011 import parse_v011 logger = log.get(__name__) def update_nested_dict(d: Dict, u: Dict) -> Dict: """ Merge two dicts. https://stackoverflow.com/questions/3232943/update-value-of-a-nested-dictionar...
ad218877fb21e0ecd0037561a0542d2db8ec05e8
b8f61783b1000c04e878c88ee8c5b86a5adc27ae
/piicatcher/output.py
b1eb4e1690a1fe611e9913769f811846d0dc299a
[ "Apache-2.0" ]
permissive
tokern/piicatcher
8d41a85fd86efa68d4cbd59987618582a3c573a5
aa15f90bd25a45fc7b3ab75c52be71d714b8b57a
refs/heads/master
2023-08-06T06:44:43.367430
2023-08-03T06:34:48
2023-08-03T06:34:48
176,927,554
197
81
Apache-2.0
2023-08-03T06:34:50
2019-03-21T11:03:02
Python
UTF-8
Python
false
false
3,792
py
output.py
import datetime from typing import Any, Dict, List, Optional from dbcat.catalog import Catalog, CatSchema, CatSource, CatTable from piicatcher.generators import column_generator def output_dict( catalog: Catalog, source: CatSource, list_all: bool = False, last_run: datetime.datetime = None, incl...
8df45952d32f5e0794ee6976480ec64b189c73a0
eb9f655206c43c12b497c667ba56a0d358b6bc3a
/python/helpers/typeshed/stubs/openpyxl/openpyxl/drawing/drawing.pyi
10f90e212a6826adad150d49e547f85a2756db0c
[ "Apache-2.0", "MIT" ]
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
615
pyi
drawing.pyi
from typing import Any class Drawing: count: int name: str description: str coordinates: Any left: int top: int resize_proportional: bool rotation: int anchortype: str anchorcol: int anchorrow: int def __init__(self) -> None: ... @property def width(self): ... ...
edbca877463e4672b2771b9fdcd6e33d2af7ccfc
e4a879f0e53e5dd76ea1d1625a9db83ee737d4ff
/.circleci/get-commit-range.py
98429ceec7111fd046a78560ec2f5e7e7fd79d2e
[ "BSD-3-Clause" ]
permissive
berkeley-dsep-infra/datahub
d252eed0a126931438d2519400d75c9675dada44
495ca4ed43b8287358f053203236534564a41205
refs/heads/staging
2023-08-16T16:07:21.489331
2023-08-16T04:47:28
2023-08-16T04:47:28
99,443,505
132
158
BSD-3-Clause
2023-09-14T17:46:05
2017-08-05T19:26:32
Python
UTF-8
Python
false
false
2,631
py
get-commit-range.py
#!/usr/bin/env python3 import os import argparse from github import Github import sys def from_pr(project, repo, pr_number): gh = Github() pr = gh.get_repo(f'{project}/{repo}').get_pull(pr_number) return f'{pr.base.sha}...{pr.head.sha}' def from_branch(project, repo, branch_name): """ Return comm...
f84b62393d16db18ab9f330aee2a3d7e0954d09d
c71b7a8a9dd7bf7c9496b1df2acc1e52a2a913d0
/onadata/apps/logger/migrations/0020_submission_counter_timestamp_as_date.py
659b6b71cfe42fad1aed827efcda494135653953
[ "BSD-2-Clause" ]
permissive
kobotoolbox/kobocat
a5c6fb6a9d3dabe71b5e3c082e4261c4475cbf7f
b8d93d4da649f323af111cf7247206554be7c8b1
refs/heads/main
2023-08-10T00:05:49.384348
2023-07-06T04:47:59
2023-07-06T04:47:59
14,497,749
101
135
BSD-2-Clause
2023-09-13T14:57:13
2013-11-18T16:16:32
Python
UTF-8
Python
false
false
492
py
0020_submission_counter_timestamp_as_date.py
# Generated by Django 2.2.14 on 2021-08-11 14:12 from django.conf import settings from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('logger', '0019_purge_deleted_instances'), ] ope...
d44e80fb6bfb7fdd45bbebfc7eb44b266d0689b2
9803232b04daa00eb4038be338b833907fd1625f
/library/shared/content_providers/content_detectors/vindictus.py
748fbcdfd29bdbd7614fac1b47226e92eed41bdb
[ "MIT" ]
permissive
REDxEYE/SourceIO
a0ff3cff37504afdb906e4ee20c1077a8daf2912
85661fe057cef1ad2a779a9d48e810ea214f4f07
refs/heads/master
2023-08-08T18:35:28.771447
2023-08-07T22:26:59
2023-08-07T22:26:59
170,197,673
409
53
MIT
2023-08-23T18:40:38
2019-02-11T20:33:55
Python
UTF-8
Python
false
false
883
py
vindictus.py
from pathlib import Path from typing import Dict from .....library.utils.path_utilities import backwalk_file_resolver from ..content_provider_base import ContentProviderBase from ..hfs_provider import HFS1ContentProvider, HFS2ContentProvider from .source1_common import Source1Common class VindictusDetector(Source1Co...
5892ece4c848f97d150d7fac3d97f94a5dee597e
b10e501b17337b685a2fef01f63d91c427bf62d6
/raytracing/examples/twoPhotonDescannedDetector.py
a47343051327e0a23b67fc33a9a4aaca3985b4dd
[ "MIT" ]
permissive
DCC-Lab/RayTracing
5ebd1a982e390fab5397a6309aa832efe9c62d20
bbf715b9b9dc8317d3d5d5bd550a726f6908b3bb
refs/heads/master
2023-04-08T16:41:59.211239
2023-02-22T06:02:02
2023-02-22T06:02:02
166,473,288
185
38
MIT
2023-08-14T11:39:05
2019-01-18T21:13:35
Python
UTF-8
Python
false
false
2,193
py
twoPhotonDescannedDetector.py
import envexamples from raytracing import * import matplotlib.pyplot as plt """ The emitted light in some optical systems, like two-photon descanned detector, is scattered in all directions. The size of the diffused light dictates which lenses and detector size to choose. Therefore, it is of great importance to find ...
b9d23a71864836238eb2f9c23801ee18fbf084f8
9ffbe6414664a107b00e7d5fc4ac70834219b170
/test/acceptance/features/steps/nodejs_application.py
dddea2d732361767b7fac8b7dbda2563c44b3607
[ "Apache-2.0" ]
permissive
redhat-developer/service-binding-operator
7371d91b04783b0332c7b8017ecd574192ceb73c
e66264b9df029f52cd1bdf9be76df6587c03e44f
refs/heads/master
2023-09-03T15:33:03.057544
2023-08-25T04:40:56
2023-08-25T04:40:56
191,504,334
116
96
Apache-2.0
2023-09-14T10:59:21
2019-06-12T05:36:31
Go
UTF-8
Python
false
false
3,071
py
nodejs_application.py
from app import App import re import requests import time import polling2 class NodeJSApp(App): pod_name_pattern = "{name}.*$(?<!-build)" def __init__(self, name, namespace, nodejs_app_image="quay.io/pmacik/nodejs-rest-http-crud"): App.__init__(self, name, namespace, nodejs_app_image, "8080") d...
d4acd5071dd23c6f1cf3bfc7aea81c46a173a738
d1c2d00078520cd556f60b7213c27856f8b3460d
/sdks/python/apache_beam/typehints/opcodes.py
5a35b56b9321e78e29f28e461d6970186173dff2
[ "BSD-3-Clause", "MIT", "LicenseRef-scancode-protobuf", "Apache-2.0", "Python-2.0" ]
permissive
apache/beam
ed11b9e043465c720659eac20ac71b5b171bfa88
6d5048e05087ea54abc889ce402ae2a0abb9252b
refs/heads/master
2023-09-04T07:41:07.002653
2023-09-01T23:01:05
2023-09-01T23:01:05
50,904,245
7,061
4,522
Apache-2.0
2023-09-14T21:43:38
2016-02-02T08:00:06
Java
UTF-8
Python
false
false
15,736
py
opcodes.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 us...
353473d328d02fffc1e6938b5748636456b74185
8eccea9f715a2a0ce602f1944ed3e812adcacb4d
/tests/api/v2/handlers/test_obfuscators_api.py
fcc3ac9e5410f98f9f00d59ce42cb5b554543298
[ "Apache-2.0" ]
permissive
mitre/caldera
c466cde25bb0191880984cfdf3af84efc8a7c9f4
3140411d4b96d8d5607b2b50476f7bf3d506de00
refs/heads/master
2023-08-23T02:14:23.360314
2023-08-21T18:55:29
2023-08-21T18:55:29
112,409,981
4,685
1,046
Apache-2.0
2023-09-13T16:36:05
2017-11-29T01:25:10
Python
UTF-8
Python
false
false
1,825
py
test_obfuscators_api.py
import pytest from http import HTTPStatus from app.objects.c_obfuscator import Obfuscator from app.utility.base_service import BaseService @pytest.fixture def test_obfuscator(event_loop, api_v2_client): obfuscator = Obfuscator(name='test', description='a test obfuscator', module='testmodule') event_loop.run...
8bdd28c02d777d612f4669fad8d7c46f794150a7
bed34365a9dab825fd9f4a4ff1b0863f441266ac
/neutron/conf/services/metering_agent.py
74d7d56532fc1107542e498b1d4a2fb6cc254de2
[ "Apache-2.0" ]
permissive
openstack/neutron
0913ee3cd69d5bdb9c10aa084d4e1803abee320c
dde31aae392b80341f6440eb38db1583563d7d1f
refs/heads/master
2023-08-31T13:09:41.831598
2023-08-31T11:37:30
2023-08-31T11:37:30
2,400,289
1,174
1,325
Apache-2.0
2022-06-29T08:00:05
2011-09-16T16:04:08
Python
UTF-8
Python
false
false
1,666
py
metering_agent.py
# Copyright (C) 2013 eNovance SAS <licensing@enovance.com> # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicabl...
cfd1432fd979ada620a9d77bc492f635ab429620
09a6d8dbad5b92f93791948b5bf9b75f5cb2e5ce
/tests/qchem/of_tests/test_dipole_of.py
22b5a201f63503d27b2a4845297b3a70655dec36
[ "Apache-2.0" ]
permissive
PennyLaneAI/pennylane
458efd5d9457e90ada31ca2ef0fb6bb96a24e9a7
0843183ff15a013c2622af5e61fea431d18076d3
refs/heads/master
2023-09-03T17:00:43.105784
2023-09-01T16:15:07
2023-09-01T16:15:07
129,936,360
1,431
410
Apache-2.0
2023-09-14T21:30:56
2018-04-17T16:45:42
Python
UTF-8
Python
false
false
8,970
py
test_dipole_of.py
# Copyright 2018-2023 Xanadu Quantum Technologies 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...
c0958b0820353e9f9aff5ea0b27e3f40a2612897
fac6bd9d5ca6b068e9ec5ce8a6e703c9261476a3
/hockey/player.py
de203b93b1a22551f90a8e18a7ef70a813c03e47
[ "MIT" ]
permissive
TrustyJAID/Trusty-cogs
b72b48a7da37d6985cfc7924dae3a2ff4fcbb39f
5b4c87d461065ef55af4f012a89501925a34a8d5
refs/heads/master
2023-09-04T22:55:34.235209
2023-09-04T22:52:25
2023-09-04T22:52:25
160,604,179
170
252
MIT
2023-06-10T17:01:00
2018-12-06T02:02:25
Python
UTF-8
Python
false
false
29,256
py
player.py
from __future__ import annotations from dataclasses import dataclass from datetime import datetime from typing import Literal, Optional, Union import aiohttp import discord from red_commons.logging import getLogger from redbot.core.i18n import Translator from redbot.core.utils.chat_formatting import box from tabulate...
1874331a37b7071791e7fbef93c9e4e9dece2096
99bdb3251fecee538e0630f15f6574054dfc1468
/bsp/Infineon/libraries/IFX_PSOC6_HAL/SConscript
5ef305f38fdcdee104dad227bf7d842a16f970a1
[ "Apache-2.0", "Zlib", "LicenseRef-scancode-proprietary-license", "MIT", "BSD-3-Clause", "X11", "BSD-4-Clause-UC", "LicenseRef-scancode-unknown-license-reference" ]
permissive
RT-Thread/rt-thread
03a7c52c2aeb1b06a544143b0e803d72f47d1ece
3602f891211904a27dcbd51e5ba72fefce7326b2
refs/heads/master
2023-09-01T04:10:20.295801
2023-08-31T16:20:55
2023-08-31T16:20:55
7,408,108
9,599
5,805
Apache-2.0
2023-09-14T13:37:26
2013-01-02T14:49:21
C
UTF-8
Python
false
false
8,245
SConscript
from building import * import rtconfig Import('RTT_ROOT') # get current directory cwd = GetCurrentDir() src = [] # The set of source files associated with this SConscript file. src = Split(''' mtb-hal-cat1/source/cyhal_clock.c mtb-hal-cat1/source/cyhal_hwmgr.c mtb-hal-cat1/source/c...
03203cdc3c7793b83c0acc6046a2a6d5305e85d1
9ed4d46aedd4d4acadb48d610e940594b5b7b3fd
/project_euler/problem_042/solution42.py
f8a54e40eaab40ee723072a2e413b33f5df49f42
[ "CC-BY-NC-4.0", "CC-BY-NC-SA-4.0", "MIT" ]
permissive
TheAlgorithms/Python
7596a0e236ed12a61f9db19a7ea68309779cc85b
421ace81edb0d9af3a173f4ca7e66cc900078c1d
refs/heads/master
2023-09-01T17:32:20.190949
2023-08-29T13:18:10
2023-08-29T13:18:10
63,476,337
184,217
48,615
MIT
2023-09-14T02:05:29
2016-07-16T09:44:01
Python
UTF-8
Python
false
false
1,362
py
solution42.py
""" The nth term of the sequence of triangle numbers is given by, tn = ½n(n+1); so the first ten triangle numbers are: 1, 3, 6, 10, 15, 21, 28, 36, 45, 55, ... By converting each letter in a word to a number corresponding to its alphabetical position and adding these values we form a word value. For example, the word...
f2e81ca512636c83bff0ab7c213174982e595736
82f99c9f492551c6050910c4869b2a35ca15df87
/Utilities/ParaView/export-scene-macro.py
a739bacf4ea5d77b075da6f8ba98f7a0bc70bdc6
[ "BSD-3-Clause" ]
permissive
Kitware/vtk-js
e87efd5ed13bc1ee3482a7596de7cab4f75ff184
26bd8da0ec03e881f5dc6af5d0096ebf0f005613
refs/heads/master
2023-09-04T04:35:47.758832
2023-08-31T22:08:06
2023-09-01T15:28:57
57,900,965
1,079
397
BSD-3-Clause
2023-09-14T14:35:17
2016-05-02T15:44:11
JavaScript
UTF-8
Python
false
false
20,532
py
export-scene-macro.py
import zipfile from urllib.parse import quote import hashlib import shutil import gzip import json import errno import time import os import sys from paraview.vtk import * from paraview import simple # ### ----------------------------------------------------------------------- ### # ### Configu...