hexsha
stringlengths
40
40
size
int64
2
1.05M
ext
stringclasses
9 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
193
max_stars_repo_name
stringlengths
6
109
max_stars_repo_head_hexsha
stringlengths
40
78
max_stars_repo_licenses
listlengths
1
10
max_stars_count
int64
1
36.6k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
4
193
max_issues_repo_name
stringlengths
6
109
max_issues_repo_head_hexsha
stringlengths
40
78
max_issues_repo_licenses
listlengths
1
10
max_issues_count
int64
1
29.8k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
4
193
max_forks_repo_name
stringlengths
6
109
max_forks_repo_head_hexsha
stringlengths
40
78
max_forks_repo_licenses
listlengths
1
10
max_forks_count
int64
1
11.2k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
2
1.05M
avg_line_length
float64
1
404k
max_line_length
int64
1
1.03M
alphanum_fraction
float64
0
1
743e089cbc16dc46a675890f4d1cf1d7e151f440
16
py
Python
Tests/Bugs/riley/r_riley1_t.py
jwilk/Pyrex
83dfbae1261788933472e3f9c501ad74c61a37c5
[ "Apache-2.0" ]
5
2019-05-26T20:48:36.000Z
2021-07-09T01:38:38.000Z
Tests/Bugs/riley/r_riley1_t.py
jwilk/Pyrex
83dfbae1261788933472e3f9c501ad74c61a37c5
[ "Apache-2.0" ]
null
null
null
Tests/Bugs/riley/r_riley1_t.py
jwilk/Pyrex
83dfbae1261788933472e3f9c501ad74c61a37c5
[ "Apache-2.0" ]
1
2022-02-10T07:14:58.000Z
2022-02-10T07:14:58.000Z
import r_riley1
8
15
0.875
743e0b054faf0b8ff2466a0d42bea369e8df2fd3
8,396
py
Python
ENCODE_collection.py
T2DREAM/pyencoded-tools
75fa636995bfc9fe181f9af490ce70dde3f6ce21
[ "MIT" ]
null
null
null
ENCODE_collection.py
T2DREAM/pyencoded-tools
75fa636995bfc9fe181f9af490ce70dde3f6ce21
[ "MIT" ]
null
null
null
ENCODE_collection.py
T2DREAM/pyencoded-tools
75fa636995bfc9fe181f9af490ce70dde3f6ce21
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: latin-1 -*- '''GET an ENCODE collection and output a tsv of all objects and their properties suitable for spreadsheet import''' import json import os.path import encodedcc import requests from urllib.parse import urljoin import logging EPILOG = ''' This script MIGHT be depricated w...
41.359606
143
0.606956
743e0b5987c39b8837ef9382692484a6982432ae
27,816
py
Python
IPython/config/loader.py
damianavila/ipython
4481c323e0d261685ad350fc6f437494b889ab12
[ "BSD-3-Clause-Clear" ]
2
2020-11-30T14:04:30.000Z
2021-11-08T11:29:05.000Z
IPython/config/loader.py
RuSHi2381/ipython
4481c323e0d261685ad350fc6f437494b889ab12
[ "BSD-3-Clause-Clear" ]
null
null
null
IPython/config/loader.py
RuSHi2381/ipython
4481c323e0d261685ad350fc6f437494b889ab12
[ "BSD-3-Clause-Clear" ]
1
2020-11-19T05:18:41.000Z
2020-11-19T05:18:41.000Z
"""A simple configuration system. Inheritance diagram: .. inheritance-diagram:: IPython.config.loader :parts: 3 Authors ------- * Brian Granger * Fernando Perez * Min RK """ #----------------------------------------------------------------------------- # Copyright (C) 2008-2011 The IPython Development Team # #...
33.839416
97
0.55993
743e370b5cdf25f7530a456fd6f11ea86bb085e8
1,145
py
Python
small_cnn.py
tccorcoran/ml_recipes
bd8f09ac5681d54ef9c626f2f89d61f0c0f5e071
[ "MIT" ]
null
null
null
small_cnn.py
tccorcoran/ml_recipes
bd8f09ac5681d54ef9c626f2f89d61f0c0f5e071
[ "MIT" ]
null
null
null
small_cnn.py
tccorcoran/ml_recipes
bd8f09ac5681d54ef9c626f2f89d61f0c0f5e071
[ "MIT" ]
null
null
null
from keras.models import Sequential from keras.layers import Conv2D, MaxPooling2D from keras.layers import Activation, Dropout, Flatten, Dense from keras.callbacks import ModelCheckpoint from keras import regularizers def small_cnn(input_shape, output_size): model = Sequential() model.add(Conv2D(32, (5, 5), in...
35.78125
83
0.700437
743e66daaec33486cc95165dc13879bc929c2bab
6,287
py
Python
src/onevision/nn/loss/color_constancy_loss.py
phlong3105/onevision
90552b64df7213e7fbe23c80ffd8a89583289433
[ "MIT" ]
2
2022-03-28T09:46:38.000Z
2022-03-28T14:12:32.000Z
src/onevision/nn/loss/color_constancy_loss.py
phlong3105/onevision
90552b64df7213e7fbe23c80ffd8a89583289433
[ "MIT" ]
null
null
null
src/onevision/nn/loss/color_constancy_loss.py
phlong3105/onevision
90552b64df7213e7fbe23c80ffd8a89583289433
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- """Color Constancy Loss. A color constancy loss to correct the potential color deviations in the enhanced image and also build the relations among the three adjusted channels. References: https://github.com/Li-Chongyi/Zero-DCE/blob/master/Zero-DCE_code/Myloss.py """ ...
32.91623
81
0.572769
743e776ad7b8af30b6d1b8ab4ec9b8113315b62a
9,690
py
Python
utest/ui/test_tree.py
chandrapola/RIDE
08e01b98026b618359e47689cb5e65a0a67795f5
[ "ECL-2.0", "Apache-2.0" ]
84
2016-09-21T10:57:22.000Z
2021-11-30T21:25:36.000Z
utest/ui/test_tree.py
chandrapola/RIDE
08e01b98026b618359e47689cb5e65a0a67795f5
[ "ECL-2.0", "Apache-2.0" ]
124
2017-12-11T21:23:06.000Z
2022-02-18T19:11:02.000Z
utest/ui/test_tree.py
chandrapola/RIDE
08e01b98026b618359e47689cb5e65a0a67795f5
[ "ECL-2.0", "Apache-2.0" ]
38
2017-07-20T02:51:56.000Z
2021-07-09T04:54:44.000Z
# Copyright 2008-2015 Nokia Networks # Copyright 2016- Robot Framework Foundation # # 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 ...
38.300395
85
0.676987
743e7c84d8a13712f94bdeb872dc288022f10f92
14,448
py
Python
gslib/gcs_json_credentials.py
djnicolson/gsutil
0e629ab55032b799ec728c05a71faf72cd49ff48
[ "Apache-2.0" ]
null
null
null
gslib/gcs_json_credentials.py
djnicolson/gsutil
0e629ab55032b799ec728c05a71faf72cd49ff48
[ "Apache-2.0" ]
null
null
null
gslib/gcs_json_credentials.py
djnicolson/gsutil
0e629ab55032b799ec728c05a71faf72cd49ff48
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Copyright 2016 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 require...
42.619469
80
0.743563
743e839937abbdb23949e6a4cb3a07a43ad1661b
13,228
py
Python
IIIT_H/models/research/deeplab/datasets/vis.py
pradeeprathore04/Niti_Ayog_movehack_2018
36c56f06b03a0488c1dbf62fdf3f1b335d81997b
[ "MIT" ]
null
null
null
IIIT_H/models/research/deeplab/datasets/vis.py
pradeeprathore04/Niti_Ayog_movehack_2018
36c56f06b03a0488c1dbf62fdf3f1b335d81997b
[ "MIT" ]
null
null
null
IIIT_H/models/research/deeplab/datasets/vis.py
pradeeprathore04/Niti_Ayog_movehack_2018
36c56f06b03a0488c1dbf62fdf3f1b335d81997b
[ "MIT" ]
1
2018-10-11T05:58:15.000Z
2018-10-11T05:58:15.000Z
# Copyright 2018 The TensorFlow Authors All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
40.329268
89
0.67085
743e873405d62b927307165060f201f0585ff9ec
1,266
py
Python
CourseraMOOCdbTranslate/program/piping_scripts/run_openedx.py
rcmurray/WorkflowComponents
368f8132ce5bef3ac3fb9d8e1a13a08f91764cfa
[ "BSD-4-Clause-UC" ]
26
2016-09-14T18:15:29.000Z
2021-12-01T20:01:29.000Z
CourseraMOOCdbTranslate/program/piping_scripts/run_openedx.py
rcmurray/WorkflowComponents
368f8132ce5bef3ac3fb9d8e1a13a08f91764cfa
[ "BSD-4-Clause-UC" ]
122
2017-09-12T15:22:03.000Z
2021-09-27T17:25:08.000Z
CourseraMOOCdbTranslate/program/piping_scripts/run_openedx.py
rcmurray/WorkflowComponents
368f8132ce5bef3ac3fb9d8e1a13a08f91764cfa
[ "BSD-4-Clause-UC" ]
17
2017-02-16T16:04:41.000Z
2021-02-06T05:36:44.000Z
''' To run: cd <parent of the directory containing this file> python -m piping_scripts.run_openedx ''' from main import * vars = { 'source': { 'platform_format': 'openedx', 'course_org': '', 'course_id_1': '', 'course_id_2': '', 'lms_host': '', 'lms_user': '', ...
20.754098
49
0.436019
743e8734d1041faffe563b4cc09a33e09c56fe07
42,862
py
Python
hatchet/tests/conftest.py
TauferLab/llnl-hatchet
c7d12888d71d2b23058facd3025e7dcfa12cbb39
[ "MIT" ]
null
null
null
hatchet/tests/conftest.py
TauferLab/llnl-hatchet
c7d12888d71d2b23058facd3025e7dcfa12cbb39
[ "MIT" ]
null
null
null
hatchet/tests/conftest.py
TauferLab/llnl-hatchet
c7d12888d71d2b23058facd3025e7dcfa12cbb39
[ "MIT" ]
null
null
null
# Copyright 2017-2022 Lawrence Livermore National Security, LLC and other # Hatchet Project Developers. See the top-level LICENSE file for details. # # SPDX-License-Identifier: MIT import os import sys import shutil import struct from glob import glob import pytest import numpy as np @pytest.fixture def data_dir():...
39.250916
110
0.295996
743e92460d6bfa626fe4ce331a7d1c5d03dc81a4
3,129
py
Python
unittest/python/bindings_joint_composite.py
yDMhaven/pinocchio
fabed17d5ad0dc1c8d251c64cfa656a0215469a5
[ "BSD-2-Clause-FreeBSD" ]
1
2020-04-07T07:23:34.000Z
2020-04-07T07:23:34.000Z
unittest/python/bindings_joint_composite.py
yDMhaven/pinocchio
fabed17d5ad0dc1c8d251c64cfa656a0215469a5
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
unittest/python/bindings_joint_composite.py
yDMhaven/pinocchio
fabed17d5ad0dc1c8d251c64cfa656a0215469a5
[ "BSD-2-Clause-FreeBSD" ]
1
2020-02-25T13:34:37.000Z
2020-02-25T13:34:37.000Z
import unittest import pinocchio as pin pin.switchToNumpyMatrix() import numpy as np class TestJointCompositeBindings(unittest.TestCase): def test_basic(self): jc = pin.JointModelComposite() self.assertTrue(hasattr(jc,'joints')) self.assertTrue(hasattr(jc,'njoints')) self.assertTru...
30.980198
83
0.618089
743ea42496c2b19278ea09759a4ed0f32688056a
2,280
py
Python
torch_geometric_signed_directed/nn/directed/DiGCN_link_prediction.py
SherylHYX/pytorch_geometric_signed_directed
c2dbede0171424cdf7bae7c45c6c1e19a862bcfd
[ "MIT" ]
38
2022-02-09T06:27:14.000Z
2022-03-29T09:44:14.000Z
torch_geometric_signed_directed/nn/directed/DiGCN_link_prediction.py
SherylHYX/pytorch_geometric_signed_directed
c2dbede0171424cdf7bae7c45c6c1e19a862bcfd
[ "MIT" ]
17
2022-02-09T23:13:35.000Z
2022-02-21T03:14:36.000Z
torch_geometric_signed_directed/nn/directed/DiGCN_link_prediction.py
SherylHYX/pytorch_geometric_signed_directed
c2dbede0171424cdf7bae7c45c6c1e19a862bcfd
[ "MIT" ]
6
2022-02-09T04:49:17.000Z
2022-03-29T09:44:17.000Z
import torch import torch.nn as nn import torch.nn.functional as F from .DiGCNConv import DiGCNConv class DiGCN_link_prediction(torch.nn.Module): r"""An implementation of the DiGCN model without inception blocks for link prediction from the `Digraph Inception Convolutional Networks <https://papers.nips.c...
43.018868
123
0.666228
743ead1bff74a512d58510807260c1991848ddbd
5,874
py
Python
plotly/grid_objs/grid_objs.py
awesome-archive/plotly.py
0af4ef6abd0fe9907268d266304de630f94cda60
[ "MIT" ]
48
2017-08-04T03:30:22.000Z
2022-03-09T03:24:11.000Z
LDDMM_Python/lddmm_python/lib/plotly/grid_objs/grid_objs.py
hushunbo/lddmm-ot
5af26fe32ae440c598ed403ce2876e98d6e1c692
[ "MIT" ]
null
null
null
LDDMM_Python/lddmm_python/lib/plotly/grid_objs/grid_objs.py
hushunbo/lddmm-ot
5af26fe32ae440c598ed403ce2876e98d6e1c692
[ "MIT" ]
15
2017-09-30T18:55:48.000Z
2021-04-27T18:27:55.000Z
""" grid_objs ========= """ from __future__ import absolute_import import json from collections import MutableSequence from plotly import exceptions, utils __all__ = None class Column(object): """ Columns make up Plotly Grids and can be the source of data for Plotly Graphs. They have a name and an...
30.915789
77
0.621042
743ed22cf5d51f552a59f38e2e1772bbd9f6362b
2,615
py
Python
setup.py
Boolean263/latuni
013d8e6ba386aae689ff243544ce36e5f3de21a6
[ "MIT" ]
null
null
null
setup.py
Boolean263/latuni
013d8e6ba386aae689ff243544ce36e5f3de21a6
[ "MIT" ]
null
null
null
setup.py
Boolean263/latuni
013d8e6ba386aae689ff243544ce36e5f3de21a6
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # # This was originally based on the wonderful example at # https://github.com/navdeep-G/setup.py # It's been changed since then, but that's still a good site to check out. # Note: To use the 'upload' functionality of this file, you must: # $ pipenv install twine --dev...
26.958763
86
0.63021
743edf91cb62558c4d58503fca80e6505667856d
14,356
py
Python
adsb2influx.py
slintak/adsb2influx
b99da56c2b7379dbef060573d0e32fd875bae481
[ "BSD-3-Clause" ]
6
2019-10-15T20:20:41.000Z
2022-03-02T19:18:02.000Z
adsb2influx.py
slintak/adsb2influx
b99da56c2b7379dbef060573d0e32fd875bae481
[ "BSD-3-Clause" ]
null
null
null
adsb2influx.py
slintak/adsb2influx
b99da56c2b7379dbef060573d0e32fd875bae481
[ "BSD-3-Clause" ]
4
2019-04-17T12:40:57.000Z
2021-12-09T07:04:05.000Z
import signal import socket import time import calendar import argparse import re import logging import requests ################################################################################ # Global Variables ################################################################################ run_app = True logging....
32.926606
96
0.511006
743ee09abe5801a50d45b1231a6d6ef4d533d970
1,871
py
Python
ufora/distributed/ServerUtils/EventFD.py
ufora/ufora
04db96ab049b8499d6d6526445f4f9857f1b6c7e
[ "Apache-2.0", "CC0-1.0", "MIT", "BSL-1.0", "BSD-3-Clause" ]
571
2015-11-05T20:07:07.000Z
2022-01-24T22:31:09.000Z
ufora/distributed/ServerUtils/EventFD.py
timgates42/ufora
04db96ab049b8499d6d6526445f4f9857f1b6c7e
[ "Apache-2.0", "CC0-1.0", "MIT", "BSL-1.0", "BSD-3-Clause" ]
218
2015-11-05T20:37:55.000Z
2021-05-30T03:53:50.000Z
ufora/distributed/ServerUtils/EventFD.py
timgates42/ufora
04db96ab049b8499d6d6526445f4f9857f1b6c7e
[ "Apache-2.0", "CC0-1.0", "MIT", "BSL-1.0", "BSD-3-Clause" ]
40
2015-11-07T21:42:19.000Z
2021-05-23T03:48:19.000Z
# Copyright 2015 Ufora 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 i...
30.177419
76
0.676109
743eff5c69be66a4a4c13b398968184e269651a2
4,534
py
Python
apps/testclient/views.py
TransparentHealth/bluebutton-web-server
69b6e649b2e9caf7859a75ea3867bf74c83ca340
[ "Apache-2.0" ]
1
2020-01-26T16:02:27.000Z
2020-01-26T16:02:27.000Z
apps/testclient/views.py
TransparentHealth/bluebutton-web-server
69b6e649b2e9caf7859a75ea3867bf74c83ca340
[ "Apache-2.0" ]
null
null
null
apps/testclient/views.py
TransparentHealth/bluebutton-web-server
69b6e649b2e9caf7859a75ea3867bf74c83ca340
[ "Apache-2.0" ]
2
2018-09-29T18:53:08.000Z
2020-01-26T16:02:31.000Z
from django.shortcuts import render from requests_oauthlib import OAuth2Session from collections import OrderedDict from django.http import JsonResponse, HttpResponseRedirect from django.conf import settings from django.core.urlresolvers import reverse from .utils import test_setup, get_client_secret import logging fro...
36.272
89
0.679312
743f05408530b6fc20205e1817a72f14919c22e8
20,271
py
Python
run_pretraining.py
chenyu-jiang/bert
099cb1421dbf23f30f61a59b2770c4f06465c7bf
[ "Apache-2.0" ]
null
null
null
run_pretraining.py
chenyu-jiang/bert
099cb1421dbf23f30f61a59b2770c4f06465c7bf
[ "Apache-2.0" ]
null
null
null
run_pretraining.py
chenyu-jiang/bert
099cb1421dbf23f30f61a59b2770c4f06465c7bf
[ "Apache-2.0" ]
null
null
null
# coding=utf-8 # Copyright 2018 The Google AI Language Team 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 ...
40.461078
152
0.662325
743f5084151d7d974e9bc1cf2a94add1cb5e1715
1,218
py
Python
test/test_changelog.py
VIIgit/azul
bb61965f625c667979a2f255f6bc39dcafaaf40b
[ "Apache-2.0" ]
null
null
null
test/test_changelog.py
VIIgit/azul
bb61965f625c667979a2f255f6bc39dcafaaf40b
[ "Apache-2.0" ]
null
null
null
test/test_changelog.py
VIIgit/azul
bb61965f625c667979a2f255f6bc39dcafaaf40b
[ "Apache-2.0" ]
null
null
null
from operator import itemgetter import sys from tempfile import TemporaryDirectory from unittest import mock import azul.changelog from azul_test_case import AzulTestCase class TestChangeLog(AzulTestCase): def test_changelog(self): changelog = azul.changelog.changelog() with TemporaryDirectory() ...
45.111111
104
0.668309
743f93355f9f5fef757a5089b4fdeca9560fd712
67,140
py
Python
twisted/python/test/test_release.py
sxamit/twisted
30f6966329c857c3631c60aeb420d84d7828e01e
[ "MIT", "Unlicense" ]
1
2017-08-07T14:52:02.000Z
2017-08-07T14:52:02.000Z
Lib/site-packages/twisted/python/test/test_release.py
adzhou/Python27
a7113b69d54a04cc780143241c2f1fe81939ad3a
[ "bzip2-1.0.6" ]
null
null
null
Lib/site-packages/twisted/python/test/test_release.py
adzhou/Python27
a7113b69d54a04cc780143241c2f1fe81939ad3a
[ "bzip2-1.0.6" ]
1
2018-11-07T12:52:07.000Z
2018-11-07T12:52:07.000Z
# Copyright (c) Twisted Matrix Laboratories. # See LICENSE for details. """ Tests for L{twisted.python.release} and L{twisted.python._release}. All of these tests are skipped on platforms other than Linux, as the release is only ever performed on Linux. """ import glob import operator import os import sys import tex...
33.704819
79
0.569303
743f97eda26900bd61fe0c55779a7c4b36c95ab9
4,342
py
Python
autorest/namer/python_mappings.py
cfculhane/autorest.python
8cbca95faee88d933a58bbbd17b76834faa8d387
[ "MIT" ]
35
2018-04-03T12:15:53.000Z
2022-03-11T14:03:34.000Z
autorest/namer/python_mappings.py
cfculhane/autorest.python
8cbca95faee88d933a58bbbd17b76834faa8d387
[ "MIT" ]
652
2017-08-28T22:44:41.000Z
2022-03-31T21:20:31.000Z
autorest/namer/python_mappings.py
cfculhane/autorest.python
8cbca95faee88d933a58bbbd17b76834faa8d387
[ "MIT" ]
29
2017-08-28T20:57:01.000Z
2022-03-11T14:03:38.000Z
# ------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # -------------------------------------------------------------------------- from enum ...
23.597826
134
0.516352
743fe4e6216e6199da55e89138cb33257cb1c9d0
1,220
py
Python
helix/commands/fetch_data.py
ckrivacic/helix_matcher
e1acb518117faf7de9a91270f86d78e066eea903
[ "MIT" ]
2
2021-04-26T15:14:08.000Z
2021-06-07T10:56:37.000Z
helix/commands/fetch_data.py
ckrivacic/helix_matcher
e1acb518117faf7de9a91270f86d78e066eea903
[ "MIT" ]
null
null
null
helix/commands/fetch_data.py
ckrivacic/helix_matcher
e1acb518117faf7de9a91270f86d78e066eea903
[ "MIT" ]
null
null
null
"""\ Copy design files from a remote source. A common application is to copy simulation results from the cluster to a workstation for analysis. The given directory must be contained within a workspace created by 01_setup_workspace. Usage: roseasy fetch_data <directory> [options] Options: --remote URL, -r...
27.727273
79
0.664754
743ffc8ffc2609805722c31b40d0d531fc113800
5,523
py
Python
asposewordscloud/models/requests/render_page_online_request.py
aspose-words-cloud/aspose-words-cloud-python
65c7b55fa4aac69b60d41e7f54aed231df285479
[ "MIT" ]
14
2018-07-15T17:01:52.000Z
2018-11-29T06:15:33.000Z
asposewordscloud/models/requests/render_page_online_request.py
aspose-words-cloud/aspose-words-cloud-python
65c7b55fa4aac69b60d41e7f54aed231df285479
[ "MIT" ]
1
2018-09-28T12:59:34.000Z
2019-10-08T08:42:59.000Z
asposewordscloud/models/requests/render_page_online_request.py
aspose-words-cloud/aspose-words-cloud-python
65c7b55fa4aac69b60d41e7f54aed231df285479
[ "MIT" ]
2
2020-12-21T07:59:17.000Z
2022-02-16T21:41:25.000Z
# coding: utf-8 # ----------------------------------------------------------------------------------- # <copyright company="Aspose" file="render_page_online_request.py"> # Copyright (c) 2021 Aspose.Words for Cloud # </copyright> # <summary> # Permission is hereby granted, free of charge, to any person obtaining a c...
44.902439
127
0.649647
7440012b0391a4a248f922ceee0228eb71f4e624
6,232
py
Python
src/cutadapt/align.py
greggles/cutadapt
fb3e8f0828c2cb92bfaea69d91ffb539ab24cdd0
[ "MIT" ]
null
null
null
src/cutadapt/align.py
greggles/cutadapt
fb3e8f0828c2cb92bfaea69d91ffb539ab24cdd0
[ "MIT" ]
null
null
null
src/cutadapt/align.py
greggles/cutadapt
fb3e8f0828c2cb92bfaea69d91ffb539ab24cdd0
[ "MIT" ]
null
null
null
__all__ = [ 'Aligner', 'PrefixComparer', 'SuffixComparer', 'hamming_sphere', 'hamming_environment', 'edit_environment', 'edit_distance', ] from typing import Iterator, Tuple from cutadapt._align import Aligner, PrefixComparer, SuffixComparer # flags for global alignment # The interpretat...
31.316583
88
0.551669
7440073a33fca8f6a91d416b46f6c0bef541aec9
639
py
Python
examples/pup/hub_shared/button_single.py
TheVinhLuong102/pybricks-api
1259d5d33acb41b383445a4b1776b38084efb481
[ "MIT" ]
51
2020-04-02T10:03:45.000Z
2022-03-27T23:49:39.000Z
examples/pup/hub_shared/button_single.py
LEGO-Robotics/Pybricks-API
1259d5d33acb41b383445a4b1776b38084efb481
[ "MIT" ]
77
2020-03-22T17:32:14.000Z
2022-03-28T18:02:43.000Z
examples/pup/hub_shared/button_single.py
LEGO-Robotics/Pybricks-API
1259d5d33acb41b383445a4b1776b38084efb481
[ "MIT" ]
25
2020-03-18T23:35:17.000Z
2022-01-01T12:52:01.000Z
# ExampleHub = MoveHub CityHub TechnicHub from pybricks.hubs import ExampleHub from pybricks.parameters import Color, Button from pybricks.tools import wait, StopWatch # Initialize the hub. hub = ExampleHub() # Disable the stop button. hub.system.set_stop_button(None) # Check the button for 5 seconds. watch = StopWa...
23.666667
46
0.732394
74400cdd2905de6d778ba2c3a7439b255244a355
1,269
py
Python
deeppavlov/models/preprocessors/char_splitter.py
ineersa/DeepPavlov
8200bf9a0f0b378baad4ee0eb75b59453f516004
[ "Apache-2.0" ]
1
2018-09-28T05:49:43.000Z
2018-09-28T05:49:43.000Z
deeppavlov/models/preprocessors/char_splitter.py
ineersa/DeepPavlov
8200bf9a0f0b378baad4ee0eb75b59453f516004
[ "Apache-2.0" ]
null
null
null
deeppavlov/models/preprocessors/char_splitter.py
ineersa/DeepPavlov
8200bf9a0f0b378baad4ee0eb75b59453f516004
[ "Apache-2.0" ]
1
2019-03-17T13:47:44.000Z
2019-03-17T13:47:44.000Z
# Copyright 2017 Neural Networks and Deep Learning lab, MIPT # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
35.25
112
0.745469
74402631102144482b88dc8556c3547b1dabed90
5,440
py
Python
experiments/ashvin/rfeatures/rlbench/open_drawer_vision/td3bc_with_state_offpolicy_debug.py
Asap7772/railrl_evalsawyer
baba8ce634d32a48c7dfe4dc03b123e18e96e0a3
[ "MIT" ]
null
null
null
experiments/ashvin/rfeatures/rlbench/open_drawer_vision/td3bc_with_state_offpolicy_debug.py
Asap7772/railrl_evalsawyer
baba8ce634d32a48c7dfe4dc03b123e18e96e0a3
[ "MIT" ]
null
null
null
experiments/ashvin/rfeatures/rlbench/open_drawer_vision/td3bc_with_state_offpolicy_debug.py
Asap7772/railrl_evalsawyer
baba8ce634d32a48c7dfe4dc03b123e18e96e0a3
[ "MIT" ]
null
null
null
import gym import rlkit.torch.pytorch_util as ptu from rlkit.data_management.obs_dict_replay_buffer import ObsDictRelabelingBuffer from rlkit.exploration_strategies.base import \ PolicyWrappedWithExplorationStrategy from rlkit.exploration_strategies.gaussian_and_epislon import \ GaussianAndEpislonStrategy from...
35.324675
130
0.652022
74407fbb7752ababada2c9258d108291b431e584
5,287
py
Python
unittests/test_dnpTools.py
DNPLab/DNPLab
78999a4e8320b6476a5aa55d9884c49d74149edc
[ "MIT" ]
4
2020-09-23T08:09:33.000Z
2022-02-10T22:02:11.000Z
unittests/test_dnpTools.py
DNPLab/DNPLab
78999a4e8320b6476a5aa55d9884c49d74149edc
[ "MIT" ]
126
2020-09-16T22:25:59.000Z
2022-03-29T17:15:27.000Z
unittests/test_dnpTools.py
DNPLab/DNPLab
78999a4e8320b6476a5aa55d9884c49d74149edc
[ "MIT" ]
5
2020-09-24T20:57:31.000Z
2021-08-19T01:52:16.000Z
import unittest import dnplab as dnp from dnplab import dnpdata from numpy.testing import assert_array_equal import dnplab.dnpImport as wrapper import dnplab.dnpNMR as nmr import numpy as np import os import copy class dnpTools_tester(unittest.TestCase): def setUp(self): path = os.path.join(".", "data", "...
32.042424
86
0.603556
7440864b52076ca17ae2090937e9ad6b35771117
13,001
py
Python
tests/stubs/models/domain/ml_model.py
PSE-TECO-2020-TEAM1/e2e-ml_model-management
7f01a008648e25a29c639a5e16124b2e399eb821
[ "MIT" ]
1
2021-05-04T08:46:19.000Z
2021-05-04T08:46:19.000Z
tests/stubs/models/domain/ml_model.py
PSE-TECO-2020-TEAM1/e2e-ml_model-management
7f01a008648e25a29c639a5e16124b2e399eb821
[ "MIT" ]
null
null
null
tests/stubs/models/domain/ml_model.py
PSE-TECO-2020-TEAM1/e2e-ml_model-management
7f01a008648e25a29c639a5e16124b2e399eb821
[ "MIT" ]
1
2022-01-28T21:21:32.000Z
2022-01-28T21:21:32.000Z
from app.ml.objects.classification.factory import get_classifier from app.ml.objects.column_transfomer import PandasColumnTransformer from sklearn.pipeline import Pipeline from tests.stubs.models.domain.feature_extraction_data import get_labels_of_data_windows_4_2, get_labels_of_data_windows_5_1 from app.models.domain....
56.038793
434
0.691485
7440a1c10d03fa32f0d2f2e206381a1f63a280e5
2,900
py
Python
list-expansion/Python/vm/implementation.py
harrisi/on-being-better
81dc6d02de582e1d0dcf48d8d9f603bee9f2ef39
[ "CC0-1.0" ]
null
null
null
list-expansion/Python/vm/implementation.py
harrisi/on-being-better
81dc6d02de582e1d0dcf48d8d9f603bee9f2ef39
[ "CC0-1.0" ]
null
null
null
list-expansion/Python/vm/implementation.py
harrisi/on-being-better
81dc6d02de582e1d0dcf48d8d9f603bee9f2ef39
[ "CC0-1.0" ]
null
null
null
import sys import collections from machine import internals from machine import util from machine import registers import argparse import pprint def fetch(): instruction = ("0x" + format(internals.memory[internals.PC]) + format(internals.memory[internals.PC + 1])) internal...
31.868132
83
0.554828
7440ad7d01701b45a092bee6c7c662f72e54170c
1,379
py
Python
Notebooks/Tutorials/CGAN-Use-Tutorial.py
sa-artea/VVG-MLModel-Trainer
42bcaec9910ab58886dd9ebe739dbdb49426c40f
[ "MIT" ]
null
null
null
Notebooks/Tutorials/CGAN-Use-Tutorial.py
sa-artea/VVG-MLModel-Trainer
42bcaec9910ab58886dd9ebe739dbdb49426c40f
[ "MIT" ]
null
null
null
Notebooks/Tutorials/CGAN-Use-Tutorial.py
sa-artea/VVG-MLModel-Trainer
42bcaec9910ab58886dd9ebe739dbdb49426c40f
[ "MIT" ]
null
null
null
""" https://machinelearningmastery.com/how-to-develop-a-conditional-generative-adversarial-network-from-scratch/ """ # example of loading the generator model and generating images from numpy import asarray from numpy.random import randn from numpy.random import randint from keras.models import load_model from matplotl...
27.58
108
0.741117
7440db0495e7bac0e480f91f57c92400ca04b004
4,757
py
Python
homeassistant/components/arlo/alarm_control_panel.py
marioedani/homeassistant-core
2bc5db857ec6aa605ea7ff363654db2109f7cec4
[ "Apache-2.0" ]
7
2019-02-07T14:14:12.000Z
2019-07-28T06:56:10.000Z
homeassistant/components/arlo/alarm_control_panel.py
tomachristian/core
71c8fcee20c55536b33c3ee774c76c1795f37cd2
[ "Apache-2.0" ]
6
2021-02-08T20:54:31.000Z
2022-03-12T00:50:43.000Z
homeassistant/components/arlo/alarm_control_panel.py
tomachristian/core
71c8fcee20c55536b33c3ee774c76c1795f37cd2
[ "Apache-2.0" ]
2
2020-04-19T13:35:24.000Z
2020-04-19T13:35:51.000Z
"""Support for Arlo Alarm Control Panels.""" import logging import voluptuous as vol from homeassistant.components.alarm_control_panel import ( PLATFORM_SCHEMA, AlarmControlPanel, ) from homeassistant.components.alarm_control_panel.const import ( SUPPORT_ALARM_ARM_AWAY, SUPPORT_ALARM_ARM_HOME, SUP...
29.918239
88
0.677107
7441151b36c8d7bdd23163bf9aa6730a57cdaf51
20,768
py
Python
Decoder.py
shalei120/OxCTE
0909a7d8f4fd8269de51eefe25732553e9fd4f59
[ "MIT" ]
1
2021-08-29T10:21:53.000Z
2021-08-29T10:21:53.000Z
Decoder.py
shalei120/OxCTE
0909a7d8f4fd8269de51eefe25732553e9fd4f59
[ "MIT" ]
null
null
null
Decoder.py
shalei120/OxCTE
0909a7d8f4fd8269de51eefe25732553e9fd4f59
[ "MIT" ]
null
null
null
import torch import torch.autograd as autograd import torch.nn as nn import torch.nn.functional as F import torch.optim as optim from torch.nn.parameter import Parameter import numpy as np import datetime from Hyperparameters import args from queue import PriorityQueue import copy class Decoder(nn.Module): def _...
45.246187
211
0.582916
74411aa6bde210da94bee72868f7796bec01858e
1,579
py
Python
alipay/aop/api/response/MybankMarketingBkcustgrowprodCardstyleCreateResponse.py
antopen/alipay-sdk-python-all
8e51c54409b9452f8d46c7bb10eea7c8f7e8d30c
[ "Apache-2.0" ]
null
null
null
alipay/aop/api/response/MybankMarketingBkcustgrowprodCardstyleCreateResponse.py
antopen/alipay-sdk-python-all
8e51c54409b9452f8d46c7bb10eea7c8f7e8d30c
[ "Apache-2.0" ]
null
null
null
alipay/aop/api/response/MybankMarketingBkcustgrowprodCardstyleCreateResponse.py
antopen/alipay-sdk-python-all
8e51c54409b9452f8d46c7bb10eea7c8f7e8d30c
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.response.AlipayResponse import AlipayResponse class MybankMarketingBkcustgrowprodCardstyleCreateResponse(AlipayResponse): def __init__(self): super(MybankMarketingBkcustgrowprodCardstyleCreateResponse, self).__init__() ...
28.196429
125
0.667511
74412177a99d58e6a2f35e0e2ed9d6a8fb841f7c
8,343
py
Python
pollination_sdk/models/function_integer_output.py
pollination/python-sdk
599e8dbfc6e547c5e18aa903b27c70d7ffef84e5
[ "RSA-MD" ]
2
2020-01-30T23:28:59.000Z
2020-05-06T16:43:47.000Z
pollination_sdk/models/function_integer_output.py
pollination/python-sdk
599e8dbfc6e547c5e18aa903b27c70d7ffef84e5
[ "RSA-MD" ]
1
2020-10-02T18:00:25.000Z
2020-10-02T18:00:25.000Z
pollination_sdk/models/function_integer_output.py
pollination/python-sdk
599e8dbfc6e547c5e18aa903b27c70d7ffef84e5
[ "RSA-MD" ]
null
null
null
# coding: utf-8 """ pollination-server Pollination Server OpenAPI Definition # noqa: E501 The version of the OpenAPI document: 0.16.0 Contact: info@pollination.cloud Generated by: https://openapi-generator.tech """ import pprint import re # noqa: F401 import six from pollination_sdk.configu...
31.247191
171
0.608055
7441406ec51f1968c95bf7e84328dcc40f5e0500
956
py
Python
conohadnsclient/v1/diagnostics.py
naototty/python-conohadns-client
04f360450d2e1a6020d2870272d8125cb112fa01
[ "Apache-2.0" ]
null
null
null
conohadnsclient/v1/diagnostics.py
naototty/python-conohadns-client
04f360450d2e1a6020d2870272d8125cb112fa01
[ "Apache-2.0" ]
null
null
null
conohadnsclient/v1/diagnostics.py
naototty/python-conohadns-client
04f360450d2e1a6020d2870272d8125cb112fa01
[ "Apache-2.0" ]
null
null
null
# Copyright 2012 Managed I.T. # # Author: Kiall Mac Innes <kiall@managedit.ie> # # 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...
34.142857
75
0.689331
74419c5312e29ac6151707f5fea8de663cacbe3f
49
py
Python
abc/abc149/A.py
tonko2/AtCoder
5d617072517881d226d7c8af09cb88684d41af7e
[ "Xnet", "X11", "CECILL-B" ]
2
2022-01-22T07:56:58.000Z
2022-01-24T00:29:37.000Z
abc/abc149/a/main.py
tonko2/AtCoder
5d617072517881d226d7c8af09cb88684d41af7e
[ "Xnet", "X11", "CECILL-B" ]
null
null
null
abc/abc149/a/main.py
tonko2/AtCoder
5d617072517881d226d7c8af09cb88684d41af7e
[ "Xnet", "X11", "CECILL-B" ]
null
null
null
S, T = map(str, input().split()) print(f'{T}{S}')
24.5
32
0.530612
7441a04c2f7d2702ad33eea6e42607a9be6e94e8
16,865
py
Python
python/orca/src/bigdl/orca/automl/model/base_pytorch_model.py
sgwhat/BigDL
25b402666fbb26b0bc18fc8100e9a00469844778
[ "Apache-2.0" ]
null
null
null
python/orca/src/bigdl/orca/automl/model/base_pytorch_model.py
sgwhat/BigDL
25b402666fbb26b0bc18fc8100e9a00469844778
[ "Apache-2.0" ]
null
null
null
python/orca/src/bigdl/orca/automl/model/base_pytorch_model.py
sgwhat/BigDL
25b402666fbb26b0bc18fc8100e9a00469844778
[ "Apache-2.0" ]
null
null
null
# # Copyright 2016 The BigDL Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
40.835351
98
0.597925
7441a1cf540186f2f5b54e812ae886aaaca1cde9
1,407
py
Python
api/v1/views.py
agnihotri7/demo-api
ffccd7e7a21b99cb8282045b4c3343ff5888c527
[ "RSA-MD" ]
null
null
null
api/v1/views.py
agnihotri7/demo-api
ffccd7e7a21b99cb8282045b4c3343ff5888c527
[ "RSA-MD" ]
null
null
null
api/v1/views.py
agnihotri7/demo-api
ffccd7e7a21b99cb8282045b4c3343ff5888c527
[ "RSA-MD" ]
null
null
null
""" """ from collections import OrderedDict from django.conf import settings from django.shortcuts import render from rest_framework.decorators import api_view from rest_framework.response import Response from rest_framework.reverse import reverse @api_view(['GET']) def api_root(request, format=None): """ E...
40.2
111
0.658138
7441b2c06b0b1325e3646c3852d833ee1cdc2e88
38,143
py
Python
src/lib/Bcfg2/Client/Tools/rpmtools.py
amplify-education/bcfg2
02d7f574babfeb2da99e2aad3a92b4e8d6494f07
[ "mpich2" ]
null
null
null
src/lib/Bcfg2/Client/Tools/rpmtools.py
amplify-education/bcfg2
02d7f574babfeb2da99e2aad3a92b4e8d6494f07
[ "mpich2" ]
null
null
null
src/lib/Bcfg2/Client/Tools/rpmtools.py
amplify-education/bcfg2
02d7f574babfeb2da99e2aad3a92b4e8d6494f07
[ "mpich2" ]
null
null
null
#!/usr/bin/env python """ Module that uses rpm-python to implement the following rpm functionality for the bcfg2 RPM and YUM client drivers: rpm -qa rpm --verify rpm --erase The code closely follows the rpm C code. The code was written to be used in the bcfg2 RPM/YUM drivers. ...
34.208969
95
0.57017
7441b606274ac6e0c51e3603260d8c54faa6a475
6,609
py
Python
theto/color_utils.py
Valassis-Digital-Media/geoplotter
debd1bac4cfbac6d90693585661a88ef61d420d3
[ "BSD-3-Clause" ]
5
2019-05-01T23:29:21.000Z
2020-02-16T16:47:31.000Z
theto/color_utils.py
Valassis-Digital-Media/geoplotter
debd1bac4cfbac6d90693585661a88ef61d420d3
[ "BSD-3-Clause" ]
23
2019-05-06T18:35:47.000Z
2020-05-11T13:57:58.000Z
theto/color_utils.py
Valassis-Digital-Media/geoplotter
debd1bac4cfbac6d90693585661a88ef61d420d3
[ "BSD-3-Clause" ]
2
2020-04-15T10:52:25.000Z
2020-11-23T23:22:08.000Z
from bokeh.colors import named from numpy import array, repeat, argmax, linspace NAMED_COLORS = {color: getattr(named, color).to_hex() for color in named.__all__} def minmax_scale(x, out_range=(-1, 1)): if type(x) != array: x = array(x) domain = min(x), max(x) y = (x - (domain[1] + domai...
30.040909
104
0.579361
7441c4bde538e9bfc41bf508ca6d731386d19478
1,481
py
Python
MakeLightCurves.py
PaulHancock/SIMRobbie
a291beeff1a92da52275d95790e7c8d9dfa37094
[ "AFL-3.0" ]
null
null
null
MakeLightCurves.py
PaulHancock/SIMRobbie
a291beeff1a92da52275d95790e7c8d9dfa37094
[ "AFL-3.0" ]
null
null
null
MakeLightCurves.py
PaulHancock/SIMRobbie
a291beeff1a92da52275d95790e7c8d9dfa37094
[ "AFL-3.0" ]
null
null
null
#! /usr/bin/env python import numpy as np author = "Paul Hancock" date = "2018-11-14" def get_norm_lc(nepochs, m): """ Create a light curve with a given modulation index :param nepochs: Number of data points :param m: The modulation index :return: """ data = np.random.normal(loc=0, scal...
23.887097
79
0.619851
7441d0ce63cb65294d69cbcf99b355907ff3dc88
9,794
py
Python
terrascript/data/hashicorp/google_beta.py
mjuenema/python-terrascript
6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d
[ "BSD-2-Clause" ]
507
2017-07-26T02:58:38.000Z
2022-01-21T12:35:13.000Z
terrascript/data/hashicorp/google_beta.py
mjuenema/python-terrascript
6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d
[ "BSD-2-Clause" ]
135
2017-07-20T12:01:59.000Z
2021-10-04T22:25:40.000Z
terrascript/data/hashicorp/google_beta.py
mjuenema/python-terrascript
6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d
[ "BSD-2-Clause" ]
81
2018-02-20T17:55:28.000Z
2022-01-31T07:08:40.000Z
# terrascript/data/hashicorp/google_beta.py # Automatically generated by tools/makecode.py (24-Sep-2021 15:17:17 UTC) import terrascript class google_active_folder(terrascript.Data): pass class google_app_engine_default_service_account(terrascript.Data): pass class google_bigquery_default_service_account(...
20.277433
76
0.79273
7441f3312dcace3ce34b1b64bce723718208fe66
107,608
py
Python
tools/harness-thci/OpenThread.py
sarah-iot/openthread
8210a02400c145eb862b65e32040ed0415ba36c2
[ "BSD-3-Clause" ]
69
2021-12-16T01:34:09.000Z
2022-03-31T08:27:39.000Z
tools/harness-thci/OpenThread.py
xuyirio/openthread
349041bc61e899acdccefea455c3401c05e1318b
[ "BSD-3-Clause" ]
6
2022-01-12T18:22:08.000Z
2022-03-25T10:19:27.000Z
tools/harness-thci/OpenThread.py
xuyirio/openthread
349041bc61e899acdccefea455c3401c05e1318b
[ "BSD-3-Clause" ]
21
2021-12-20T09:05:45.000Z
2022-03-28T02:52:28.000Z
#!/usr/bin/env python # # Copyright (c) 2016, The OpenThread Authors. # 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 # notic...
33.018717
228
0.574214
7441f6db6a59b700f17d2a38de9503674bdf73ff
2,470
py
Python
app/mod_team/controllers.py
RITC3/Hermes
7df5cf1cbeaca949918ace9278b2d5c1138d4eac
[ "MIT" ]
2
2018-03-06T03:39:00.000Z
2018-03-06T04:31:39.000Z
app/mod_team/controllers.py
RITC3/Hermes
7df5cf1cbeaca949918ace9278b2d5c1138d4eac
[ "MIT" ]
15
2018-01-01T20:55:22.000Z
2018-06-09T21:37:39.000Z
app/mod_team/controllers.py
RITC3/Hermes
7df5cf1cbeaca949918ace9278b2d5c1138d4eac
[ "MIT" ]
null
null
null
from flask import Blueprint, jsonify, request from sqlalchemy.exc import SQLAlchemyError from ..mod_auth import require_auth from ..mod_db import db from .models import Team mod_team = Blueprint('team', __name__, url_prefix='/api/data/team') @mod_team.route('/create', methods=['POST']) @require_auth def create_team(...
28.068182
69
0.575709
744218332147cf307aaff424b22e83d765c6de7d
630
py
Python
venv/lib/python2.7/site-packages/py2neo/packages/tart/__init__.py
KairosSystems/drMouse
f98d04084eb1210db88df4c9888eea149ae31b2c
[ "MIT" ]
9
2017-07-15T08:45:22.000Z
2021-07-06T08:32:03.000Z
venv/lib/python2.7/site-packages/py2neo/packages/tart/__init__.py
KairosSystems/drMouse
f98d04084eb1210db88df4c9888eea149ae31b2c
[ "MIT" ]
6
2017-05-05T13:11:51.000Z
2019-01-25T22:46:30.000Z
venv/lib/python2.7/site-packages/py2neo/packages/tart/__init__.py
KairosSystems/drMouse
f98d04084eb1210db88df4c9888eea149ae31b2c
[ "MIT" ]
3
2018-03-16T14:11:52.000Z
2020-03-04T02:08:31.000Z
#!/usr/bin/env python # -*- encoding: utf-8 -*- # Copyright 2011-2014, Nigel Small # # 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 # # Unle...
37.058824
74
0.746032
744243933e990c2213772ade4b6d2be1b612e004
1,556
py
Python
src/ggrc_basic_permissions/migrations/versions/20131204014446_54b6efd65a93_add_mappings_to_audi.py
Killswitchz/ggrc-core
2460df94daf66727af248ad821462692917c97a9
[ "ECL-2.0", "Apache-2.0" ]
1
2018-03-30T11:28:48.000Z
2018-03-30T11:28:48.000Z
src/ggrc_basic_permissions/migrations/versions/20131204014446_54b6efd65a93_add_mappings_to_audi.py
trevordonnelly/ggrc-core
499cf0d3cce70737b080991b12c203ec22015cea
[ "ECL-2.0", "Apache-2.0" ]
10
2018-07-06T00:04:23.000Z
2021-02-26T21:13:20.000Z
src/ggrc_basic_permissions/migrations/versions/20131204014446_54b6efd65a93_add_mappings_to_audi.py
zidarsk8/ggrc-core
2509c989eddf434249d3bef50c21e08dbf56c1a4
[ "ECL-2.0", "Apache-2.0" ]
1
2017-11-11T22:16:56.000Z
2017-11-11T22:16:56.000Z
# Copyright (C) 2017 Google Inc. # Licensed under http://www.apache.org/licenses/LICENSE-2.0 <see LICENSE file> """Add mappings to Auditor role Revision ID: 54b6efd65a93 Revises: 13b49798db19 Create Date: 2013-12-04 01:44:46.023974 """ # revision identifiers, used by Alembic. revision = '54b6efd65a93' down_revisio...
27.298246
78
0.738432
744256ce09d1a5e7a13600587e2bfca138ab3e0f
9,187
py
Python
handcam/ltt/util/TFTools.py
luketaverne/handcam
e294ebf2be8b5512c8607d3c8ba3f6946f3b8e30
[ "MIT" ]
1
2022-02-10T13:19:20.000Z
2022-02-10T13:19:20.000Z
handcam/ltt/util/TFTools.py
luketaverne/handcam
e294ebf2be8b5512c8607d3c8ba3f6946f3b8e30
[ "MIT" ]
null
null
null
handcam/ltt/util/TFTools.py
luketaverne/handcam
e294ebf2be8b5512c8607d3c8ba3f6946f3b8e30
[ "MIT" ]
null
null
null
import sys import cv2 import numpy as np import tensorflow as tf from random import shuffle from textwrap import wrap import re import itertools import tfplot import matplotlib from sklearn.metrics import confusion_matrix from tensorflow.python.framework import ops from tensorflow.python.ops import control_flow_ops fr...
37.345528
153
0.706651
74425763b7b7ab8fc4942ae3266f4f58326d4889
4,925
py
Python
Pytest/tocsv.py
Jovamih/PythonProyectos
cc87cc98001fba528c3a03fe9a0edd290b83ec60
[ "MIT" ]
null
null
null
Pytest/tocsv.py
Jovamih/PythonProyectos
cc87cc98001fba528c3a03fe9a0edd290b83ec60
[ "MIT" ]
null
null
null
Pytest/tocsv.py
Jovamih/PythonProyectos
cc87cc98001fba528c3a03fe9a0edd290b83ec60
[ "MIT" ]
null
null
null
# /usr/bin/env python3 #(about). Este script convierte una tabla encontrada en fichero html a formato CSV #paa ello realizara los siguientes pasos #(+). Construir una funcio que encuentre determinada palabra entre un conjunto de caracteres especificadas #ej. buscar entre 'a' y 'mn'-> 'la determinada tranr tmn': ...
41.737288
176
0.644264
74425c774fe2eae044c6ed2f723b676d5616bce5
2,585
py
Python
dask_cuda/tests/test_local_cuda_cluster.py
jakirkham/dask-cuda
76061574ed22e325907a16aa430f06d0c9705d23
[ "Apache-2.0" ]
null
null
null
dask_cuda/tests/test_local_cuda_cluster.py
jakirkham/dask-cuda
76061574ed22e325907a16aa430f06d0c9705d23
[ "Apache-2.0" ]
null
null
null
dask_cuda/tests/test_local_cuda_cluster.py
jakirkham/dask-cuda
76061574ed22e325907a16aa430f06d0c9705d23
[ "Apache-2.0" ]
null
null
null
from distributed.utils_test import gen_test import os from dask.distributed import Client from distributed.worker import TOTAL_MEMORY from dask_cuda import LocalCUDACluster from dask_cuda import utils import pytest @gen_test(timeout=20) async def test_local_cuda_cluster(): async with LocalCUDACluster(asynchrono...
34.013158
88
0.592263
744264b9023b46048ec64b751bbf38bd4f6bb39e
5,041
py
Python
examples/property_prediction/MTL/model/regressor.py
siboehm/dgl-lifesci
f8a176414b21b72c5ca1f8c7eb8d64702432ae24
[ "Apache-2.0" ]
390
2020-06-05T13:16:18.000Z
2022-03-31T07:36:34.000Z
examples/property_prediction/MTL/model/regressor.py
siboehm/dgl-lifesci
f8a176414b21b72c5ca1f8c7eb8d64702432ae24
[ "Apache-2.0" ]
71
2020-06-12T05:26:56.000Z
2022-03-29T06:26:39.000Z
examples/property_prediction/MTL/model/regressor.py
siboehm/dgl-lifesci
f8a176414b21b72c5ca1f8c7eb8d64702432ae24
[ "Apache-2.0" ]
113
2020-06-08T18:48:18.000Z
2022-03-22T01:16:26.000Z
import torch import torch.nn as nn class MLPRegressor(nn.Module): """MLP for regression (over multiple tasks) from molecule representations. Parameters ---------- in_feats : int Number of input molecular graph features hidden_feats : int Hidden size for molecular graph representati...
34.292517
97
0.631026
7442742d94191bec75efee50ebadc8a243227381
750
py
Python
src/scripts/bw_hp_management/resync_wandb.py
claudius-kienle/self-supervised-depth-denoising
4dffb30e8ef5022ef665825d26f45f67bf712cfd
[ "MIT" ]
2
2021-12-02T15:06:28.000Z
2021-12-03T09:48:32.000Z
src/scripts/bw_hp_management/resync_wandb.py
claudius-kienle/self-supervised-depth-denoising
4dffb30e8ef5022ef665825d26f45f67bf712cfd
[ "MIT" ]
23
2022-02-24T09:17:03.000Z
2022-03-21T16:57:58.000Z
src/scripts/bw_hp_management/resync_wandb.py
alr-internship/self-supervised-depth-denoising
4dffb30e8ef5022ef665825d26f45f67bf712cfd
[ "MIT" ]
null
null
null
from pathlib import Path import shutil import pandas as pd ROOT_DIR = Path(__file__).parent.parent.parent.parent with open(ROOT_DIR / "wandb.csv", 'r') as f: csv_file = pd.read_csv(f, dtype=str) trainer_ids = csv_file['trainer_id'].to_list() models_dir = [d for d in (ROOT_DIR / "local_resources/final_models")...
25.862069
93
0.706667
74427d9f958821f4c20b9df0c951cd9d82020af9
418
py
Python
supriya/commands/SynthNewargsRequest.py
deeuu/supriya
14fcb5316eccb4dafbe498932ceff56e1abb9d27
[ "MIT" ]
null
null
null
supriya/commands/SynthNewargsRequest.py
deeuu/supriya
14fcb5316eccb4dafbe498932ceff56e1abb9d27
[ "MIT" ]
null
null
null
supriya/commands/SynthNewargsRequest.py
deeuu/supriya
14fcb5316eccb4dafbe498932ceff56e1abb9d27
[ "MIT" ]
null
null
null
from supriya.commands.Request import Request from supriya.enums import RequestId class SynthNewargsRequest(Request): ### CLASS VARIABLES ### request_id = RequestId.SYNTH_NEWARGS ### INITIALIZER ### def __init__(self): Request.__init__(self) raise NotImplementedError ### PUBLIC...
19.904762
49
0.688995
744288911b1faf3b3aecc955b585eb43e6a2a5d5
5,871
py
Python
models/StereoCNN/Resnext_module.py
daili0015/ModelFeast
0689ced4d0f37be438d3a91908e5e4cc5b7d54b8
[ "MIT" ]
247
2019-03-05T07:12:29.000Z
2022-03-29T01:51:17.000Z
models/StereoCNN/Resnext_module.py
jungerschwarz/ModelFeast
03afca0b129532135910ee2ac72a3b85be795289
[ "MIT" ]
8
2019-05-21T03:05:27.000Z
2021-12-09T03:22:51.000Z
models/StereoCNN/Resnext_module.py
jungerschwarz/ModelFeast
03afca0b129532135910ee2ac72a3b85be795289
[ "MIT" ]
47
2019-03-05T07:14:13.000Z
2021-11-11T01:04:28.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Author: zcy # @Date: 2019-02-15 12:48:45 # @Last Modified by: zcy # @Last Modified time: 2019-02-15 12:56:18 import torch import torch.nn as nn import torch.nn.functional as F import math from functools import partial __all__ = ['ResNeXt', 'ResNeXtBottleneck'] d...
30.262887
79
0.545222
744299dfdae6ae01a266f690c081f9fab5455d01
5,411
py
Python
src/dcos_migrate/plugins/marathon/stateful_copy.py
Ganasagar/migration-tools-repo
73d78f1734ccd04f1475d70b48fa02c6d892524b
[ "Apache-2.0" ]
null
null
null
src/dcos_migrate/plugins/marathon/stateful_copy.py
Ganasagar/migration-tools-repo
73d78f1734ccd04f1475d70b48fa02c6d892524b
[ "Apache-2.0" ]
null
null
null
src/dcos_migrate/plugins/marathon/stateful_copy.py
Ganasagar/migration-tools-repo
73d78f1734ccd04f1475d70b48fa02c6d892524b
[ "Apache-2.0" ]
null
null
null
import json import shutil import yaml import logging from pathlib import Path from typing import List, Dict, Any, NamedTuple from dcos_migrate.plugins.marathon import app_translator from dcos_migrate.plugins.marathon import volumes STATE_PATH: Path = Path("dcos-migrate") / "migrate/marathon/stateful-copy" def make_...
41.305344
123
0.70024
7442aaf2b1d6316c417d897f16e6e8489b00429c
4,712
py
Python
venv/Lib/site-packages/pyrogram/raw/types/theme.py
D1ne2021/jjhhhjj
a090da30983b3ef276dfe4cef2ded4526f36002a
[ "MIT" ]
2
2021-12-13T07:09:55.000Z
2022-01-12T12:15:20.000Z
venv/Lib/site-packages/pyrogram/raw/types/theme.py
hoangkiet1906/Botcie_ver1
c133b915edde06dac690a7dc6ca160f6792fc4c8
[ "MIT" ]
null
null
null
venv/Lib/site-packages/pyrogram/raw/types/theme.py
hoangkiet1906/Botcie_ver1
c133b915edde06dac690a7dc6ca160f6792fc4c8
[ "MIT" ]
null
null
null
# Pyrogram - Telegram MTProto API Client Library for Python # Copyright (C) 2017-2021 Dan <https://github.com/delivrance> # # This file is part of Pyrogram. # # Pyrogram is free software: you can redistribute it and/or modify # it under the terms of the GNU Lesser General Public License as published # by the Free...
36.8125
256
0.599109
74435bc40d46f1f7b5e47f2b8a79b0f59db396c3
3,949
py
Python
alipay/aop/api/request/AlipayOpenBpaasAppPublishRequest.py
antopen/alipay-sdk-python-all
8e51c54409b9452f8d46c7bb10eea7c8f7e8d30c
[ "Apache-2.0" ]
213
2018-08-27T16:49:32.000Z
2021-12-29T04:34:12.000Z
alipay/aop/api/request/AlipayOpenBpaasAppPublishRequest.py
antopen/alipay-sdk-python-all
8e51c54409b9452f8d46c7bb10eea7c8f7e8d30c
[ "Apache-2.0" ]
29
2018-09-29T06:43:00.000Z
2021-09-02T03:27:32.000Z
alipay/aop/api/request/AlipayOpenBpaasAppPublishRequest.py
antopen/alipay-sdk-python-all
8e51c54409b9452f8d46c7bb10eea7c8f7e8d30c
[ "Apache-2.0" ]
59
2018-08-27T16:59:26.000Z
2022-03-25T10:08:15.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.FileItem import FileItem from alipay.aop.api.constant.ParamConstants import * from alipay.aop.api.domain.AlipayOpenBpaasAppPublishModel import AlipayOpenBpaasAppPublishModel class AlipayOpenBpaasAppPublishRequest(object): def __init...
27.234483
148
0.642694
74436a8e7269e250ccd8cd62c168b93b6fbd517a
2,747
py
Python
venv/Lib/site-packages/pyrogram/raw/types/nearest_dc.py
D1ne2021/jjhhhjj
a090da30983b3ef276dfe4cef2ded4526f36002a
[ "MIT" ]
2
2021-12-13T07:09:55.000Z
2022-01-12T12:15:20.000Z
venv/Lib/site-packages/pyrogram/raw/types/nearest_dc.py
hoangkiet1906/Botcie_ver1
c133b915edde06dac690a7dc6ca160f6792fc4c8
[ "MIT" ]
null
null
null
venv/Lib/site-packages/pyrogram/raw/types/nearest_dc.py
hoangkiet1906/Botcie_ver1
c133b915edde06dac690a7dc6ca160f6792fc4c8
[ "MIT" ]
null
null
null
# Pyrogram - Telegram MTProto API Client Library for Python # Copyright (C) 2017-2021 Dan <https://github.com/delivrance> # # This file is part of Pyrogram. # # Pyrogram is free software: you can redistribute it and/or modify # it under the terms of the GNU Lesser General Public License as published # by the Free...
30.865169
103
0.605388
74436df3af1d851dc6be6d17c28ea3c74df094d5
286,818
py
Python
sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_10_01/models/_models_py3.py
vincenttran-msft/azure-sdk-for-python
348b56f9f03eeb3f7b502eed51daf494ffff874d
[ "MIT" ]
1
2022-03-09T08:59:13.000Z
2022-03-09T08:59:13.000Z
sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_10_01/models/_models_py3.py
vincenttran-msft/azure-sdk-for-python
348b56f9f03eeb3f7b502eed51daf494ffff874d
[ "MIT" ]
null
null
null
sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_10_01/models/_models_py3.py
vincenttran-msft/azure-sdk-for-python
348b56f9f03eeb3f7b502eed51daf494ffff874d
[ "MIT" ]
null
null
null
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
49.803438
1,211
0.690114
7443aa37bf5080d6c05223bce952033eff12f958
10,661
py
Python
salt/modules/bridge.py
skrobul/salt
ef7fb71082cce7a9783e00b9c65062fefae09263
[ "Apache-2.0" ]
2
2017-09-17T21:10:35.000Z
2019-08-26T03:00:12.000Z
salt/modules/bridge.py
skrobul/salt
ef7fb71082cce7a9783e00b9c65062fefae09263
[ "Apache-2.0" ]
null
null
null
salt/modules/bridge.py
skrobul/salt
ef7fb71082cce7a9783e00b9c65062fefae09263
[ "Apache-2.0" ]
3
2021-02-23T08:12:48.000Z
2021-02-23T08:13:13.000Z
# -*- coding: utf-8 -*- ''' Module for gathering and managing bridging information ''' import sys import re import salt.utils __func_alias__ = { 'list_': 'list' } # Other BSD-like derivatives that use ifconfig may work too SUPPORTED_BSD_LIKE = ['FreeBSD', 'NetBSD', 'OpenBSD'] def __virtual__(): ''' C...
22.118257
78
0.545634
7443d78678997dfec36178f4c45429a3e5b128ac
4,867
py
Python
delfin/common/config.py
noelmcloughlin/delfin
6dfa9bdb86d850410c82201f6fa621b4e5ea2917
[ "Apache-2.0" ]
null
null
null
delfin/common/config.py
noelmcloughlin/delfin
6dfa9bdb86d850410c82201f6fa621b4e5ea2917
[ "Apache-2.0" ]
3
2020-05-23T03:24:56.000Z
2020-06-06T02:24:27.000Z
delfin/common/config.py
noelmcloughlin/delfin
6dfa9bdb86d850410c82201f6fa621b4e5ea2917
[ "Apache-2.0" ]
null
null
null
# Copyright 2020 The SODA Authors. # Copyright 2010 United States Government as represented by the # Administrator of the National Aeronautics and Space Administration. # All Rights Reserved. # Copyright 2012 Red Hat, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this ...
37.152672
78
0.586193
7443f082bf0479d901f95d2738e72af72bc66964
2,105
py
Python
python/ray/compat.py
hahaxun/ray
754d7b1f0d6a147315a96dfc9f410504472b28d5
[ "Apache-2.0" ]
null
null
null
python/ray/compat.py
hahaxun/ray
754d7b1f0d6a147315a96dfc9f410504472b28d5
[ "Apache-2.0" ]
null
null
null
python/ray/compat.py
hahaxun/ray
754d7b1f0d6a147315a96dfc9f410504472b28d5
[ "Apache-2.0" ]
null
null
null
import errno import io import platform import socket import sys def patch_redis_empty_recv(): """On Windows, socket disconnect result in errors rather than empty reads. redis-py does not handle these errors correctly. This patch translates connection resets to empty reads as in POSIX. """ assert s...
35.083333
79
0.6038
74441f2feadb2c3a7d8174eca7a9597d029b2d38
570
py
Python
examples/separate/separate_1d_varian/separate.py
genematx/nmrglue
8a24cf6cbd18451e552fc0673b84c42d1dcb69a2
[ "BSD-3-Clause" ]
150
2015-01-16T12:24:13.000Z
2022-03-03T18:01:18.000Z
examples/separate/separate_1d_varian/separate.py
genematx/nmrglue
8a24cf6cbd18451e552fc0673b84c42d1dcb69a2
[ "BSD-3-Clause" ]
129
2015-01-13T04:58:56.000Z
2022-03-02T13:39:16.000Z
examples/separate/separate_1d_varian/separate.py
genematx/nmrglue
8a24cf6cbd18451e552fc0673b84c42d1dcb69a2
[ "BSD-3-Clause" ]
88
2015-02-16T20:04:12.000Z
2022-03-10T06:50:30.000Z
#! /usr/bin/env python # Separate 1D Agilent/Varian data creating directories based on the # array parameter found in the procpar file. import nmrglue as ng dic, data = ng.varian.read('arrayed_data.dir') dic['nblocks'] = 1 arrayed_param = dic['procpar']['array']['values'][0] # loop over the echo times, separating...
31.666667
71
0.714035
744437a02c7d8523b59a6b820b3b7380dd39fdb9
36,371
py
Python
python/cudf/cudf/core/reshape.py
beckernick/pygdf
851418c37946e72b44c74fd5ea807a79fce7e4c5
[ "Apache-2.0" ]
239
2018-10-10T09:55:22.000Z
2018-10-28T20:47:23.000Z
python/cudf/cudf/core/reshape.py
beckernick/pygdf
851418c37946e72b44c74fd5ea807a79fce7e4c5
[ "Apache-2.0" ]
25
2018-10-10T14:46:32.000Z
2018-10-28T22:16:14.000Z
python/cudf/cudf/core/reshape.py
beckernick/pygdf
851418c37946e72b44c74fd5ea807a79fce7e4c5
[ "Apache-2.0" ]
19
2018-10-10T12:42:51.000Z
2018-10-26T16:33:22.000Z
# Copyright (c) 2018-2022, NVIDIA CORPORATION. import itertools import warnings from collections import abc from typing import Dict, Optional import numpy as np import pandas as pd import cudf from cudf._lib.transform import one_hot_encode from cudf._typing import Dtype from cudf.core.column import ColumnBase, as_co...
30.927721
79
0.552198
7444a322886d7cc1c8163b6936cdb9331e4866a8
13,857
py
Python
invasion_simulation.py
Oftatkofta/Barcoded_invasion
bb56e1762be0831b4e66e216d2aa6c0d8ae24d97
[ "MIT" ]
null
null
null
invasion_simulation.py
Oftatkofta/Barcoded_invasion
bb56e1762be0831b4e66e216d2aa6c0d8ae24d97
[ "MIT" ]
null
null
null
invasion_simulation.py
Oftatkofta/Barcoded_invasion
bb56e1762be0831b4e66e216d2aa6c0d8ae24d97
[ "MIT" ]
null
null
null
import random from collections import Counter import numpy import time from multiprocessing.dummy import Pool #from multiprocessing import Pool import sys class Cell(object): """ Representation of a HeLa cell with two properties (list of Bacterium) bound_bacteria and (bool) invaded. Additionally ...
33.471014
177
0.585697
7444a34820124e5a1dfb302bd4aea42f929c6df8
16,009
py
Python
hivemind/client/optim/collaborative.py
ploshkin/hivemind
7bb656567417895e9f1d8684a0c0e9ef4e4de25d
[ "MIT" ]
null
null
null
hivemind/client/optim/collaborative.py
ploshkin/hivemind
7bb656567417895e9f1d8684a0c0e9ef4e4de25d
[ "MIT" ]
null
null
null
hivemind/client/optim/collaborative.py
ploshkin/hivemind
7bb656567417895e9f1d8684a0c0e9ef4e4de25d
[ "MIT" ]
null
null
null
from __future__ import annotations import warnings from dataclasses import dataclass from threading import Thread, Lock, Event from typing import Optional, Type import logging import torch import numpy as np from hivemind.dht import DHT from hivemind.client.optim.base import DecentralizedOptimizerBase from hivemind.c...
56.17193
120
0.707352
7444d7c035835688297f8d1e194bccb900ee5ead
2,475
py
Python
tests/test_mkgu.py
jjpr-mit/mkgu
4773cd2ebb3370449fa2ff32c9f17a695c0138c9
[ "MIT" ]
null
null
null
tests/test_mkgu.py
jjpr-mit/mkgu
4773cd2ebb3370449fa2ff32c9f17a695c0138c9
[ "MIT" ]
1
2018-01-17T16:24:56.000Z
2018-01-17T16:24:56.000Z
tests/test_mkgu.py
jjpr-mit/mkgu
4773cd2ebb3370449fa2ff32c9f17a695c0138c9
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- """ test_mkgu ---------------------------------- Tests for `mkgu` module. """ import os import pytest import numpy as np import mkgu from mkgu import assemblies, fetch from mkgu import metrics import pandas as pd import xarray as xr from pytest import approx _hvm_s3_url...
25.515464
95
0.683636
7444eb48b99d6e455fa3c9420bef55f4b1e21d5a
23,689
py
Python
ufora/BackendGateway/ComputedValue/ComputedValue.py
ufora/ufora
04db96ab049b8499d6d6526445f4f9857f1b6c7e
[ "Apache-2.0", "CC0-1.0", "MIT", "BSL-1.0", "BSD-3-Clause" ]
571
2015-11-05T20:07:07.000Z
2022-01-24T22:31:09.000Z
ufora/BackendGateway/ComputedValue/ComputedValue.py
timgates42/ufora
04db96ab049b8499d6d6526445f4f9857f1b6c7e
[ "Apache-2.0", "CC0-1.0", "MIT", "BSL-1.0", "BSD-3-Clause" ]
218
2015-11-05T20:37:55.000Z
2021-05-30T03:53:50.000Z
ufora/BackendGateway/ComputedValue/ComputedValue.py
timgates42/ufora
04db96ab049b8499d6d6526445f4f9857f1b6c7e
[ "Apache-2.0", "CC0-1.0", "MIT", "BSL-1.0", "BSD-3-Clause" ]
40
2015-11-07T21:42:19.000Z
2021-05-23T03:48:19.000Z
# Copyright 2015 Ufora 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 i...
34.183261
115
0.635696
744534515ff6b6b51d87949726e9073dcc2a0fd3
9,638
py
Python
openpnm/network/Bravais.py
Eravalord/OpenPNM
505bc37318a3ba40d8343f89cd347d0073dd9d14
[ "MIT" ]
1
2021-07-20T13:56:57.000Z
2021-07-20T13:56:57.000Z
openpnm/network/Bravais.py
Eravalord/OpenPNM
505bc37318a3ba40d8343f89cd347d0073dd9d14
[ "MIT" ]
null
null
null
openpnm/network/Bravais.py
Eravalord/OpenPNM
505bc37318a3ba40d8343f89cd347d0073dd9d14
[ "MIT" ]
null
null
null
from openpnm.network import GenericNetwork, Cubic from openpnm import topotools from openpnm.utils import logging, Workspace import numpy as np logger = logging.getLogger(__name__) ws = Workspace() class Bravais(GenericNetwork): r""" Crystal lattice types including fcc, bcc, sc, and hcp These arrangement...
41.188034
79
0.584042
744551bcce9936e1bb946b6a44b4649dc0c6aacc
553
py
Python
src/epivizFileParser/Helper.py
epiviz/parser
255dc6409db3f55b6f967df079ada469862cd02c
[ "MIT" ]
4
2018-09-14T19:00:16.000Z
2020-04-08T07:58:34.000Z
src/epivizFileParser/Helper.py
epiviz/parser
255dc6409db3f55b6f967df079ada469862cd02c
[ "MIT" ]
6
2019-04-27T21:08:49.000Z
2021-12-21T01:03:11.000Z
src/epivizFileParser/Helper.py
epiviz/epivizFileParser
bba301db40458b6666653c77a446db8778ee07f8
[ "MIT" ]
2
2021-01-11T17:09:24.000Z
2021-01-28T16:17:11.000Z
from .utils import toDataFrame # returns columns, result, None? __author__ = "Jayaram Kancherla" __copyright__ = "jkanche" __license__ = "mit" def get_range_helper(toDF, get_bin, get_col_names, chr, start, end, file_iter, columns, respType): result = [] for x in file_iter: cols = get_bin(x) r...
24.043478
98
0.665461
744566509f6dd2430cfdd99219a952122e9d4c68
1,588
py
Python
botoflow/decisions/decision_list.py
boto/botoflow
49d8ed3bc9c57294504be82e933a051e1901b76e
[ "Apache-2.0" ]
13
2016-06-15T06:10:57.000Z
2021-10-30T03:52:28.000Z
botoflow/decisions/decision_list.py
DalavanCloud/botoflow
49d8ed3bc9c57294504be82e933a051e1901b76e
[ "Apache-2.0" ]
11
2016-09-15T01:48:08.000Z
2019-01-09T06:11:44.000Z
botoflow/decisions/decision_list.py
DalavanCloud/botoflow
49d8ed3bc9c57294504be82e933a051e1901b76e
[ "Apache-2.0" ]
16
2016-06-05T03:42:04.000Z
2022-03-01T17:43:14.000Z
# Copyright 2013 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. # A copy of the License is located at # # http://aws.amazon.com/apache2.0 # # or in the "license" file accompa...
30.538462
77
0.645466
7445c6e56be0f09eb3479dfeb8c8e5c0d1120ae7
2,293
py
Python
services/traction/acapy_wrapper/models/indy_proof_identifier.py
Open-Earth-Foundation/traction
908b555a7f408a88541b7692d3730e37a297c919
[ "Apache-2.0" ]
12
2022-01-29T20:30:03.000Z
2022-03-29T11:46:14.000Z
services/traction/acapy_wrapper/models/indy_proof_identifier.py
Open-Earth-Foundation/traction
908b555a7f408a88541b7692d3730e37a297c919
[ "Apache-2.0" ]
38
2021-11-22T17:52:50.000Z
2022-03-31T17:52:00.000Z
services/traction/acapy_wrapper/models/indy_proof_identifier.py
Open-Earth-Foundation/traction
908b555a7f408a88541b7692d3730e37a297c919
[ "Apache-2.0" ]
9
2021-11-22T18:05:48.000Z
2022-03-29T11:25:08.000Z
# coding: utf-8 from __future__ import annotations from datetime import date, datetime # noqa: F401 import re # noqa: F401 from typing import Any, Dict, List, Optional # noqa: F401 from pydantic import AnyUrl, BaseModel, EmailStr, validator # noqa: F401 class IndyProofIdentifier(BaseModel): """NOTE: This c...
34.742424
283
0.673354
7445c73672f9cc1482ac1b935be89ca7516c487a
144
py
Python
alphastarmini/core/__init__.py
liuruoze/mini-AlphaStar
cf9de2507d526a5fb8ef67676aab2ffb92738640
[ "Apache-2.0" ]
108
2021-02-10T13:24:56.000Z
2022-03-21T09:58:28.000Z
alphastarmini/core/__init__.py
liuruoze/mini-AlphaStar
cf9de2507d526a5fb8ef67676aab2ffb92738640
[ "Apache-2.0" ]
21
2021-04-09T18:46:05.000Z
2022-03-29T02:44:15.000Z
alphastarmini/core/__init__.py
liuruoze/mini-AlphaStar
cf9de2507d526a5fb8ef67676aab2ffb92738640
[ "Apache-2.0" ]
19
2021-08-03T01:49:02.000Z
2022-03-30T10:21:13.000Z
import alphastarmini.core.arch import alphastarmini.core.sl import alphastarmini.core.rl import alphastarmini.core.ma print("core init")
20.571429
31
0.798611
7445cb30ba1844b2d15cc4d06a706f6794648eda
1,369
py
Python
terrascript/resource/hashicorp/googleworkspace.py
mjuenema/python-terrascript
6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d
[ "BSD-2-Clause" ]
507
2017-07-26T02:58:38.000Z
2022-01-21T12:35:13.000Z
terrascript/resource/hashicorp/googleworkspace.py
mjuenema/python-terrascript
6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d
[ "BSD-2-Clause" ]
135
2017-07-20T12:01:59.000Z
2021-10-04T22:25:40.000Z
terrascript/resource/hashicorp/googleworkspace.py
mjuenema/python-terrascript
6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d
[ "BSD-2-Clause" ]
81
2018-02-20T17:55:28.000Z
2022-01-31T07:08:40.000Z
# terrascript/resource/hashicorp/googleworkspace.py # Automatically generated by tools/makecode.py (24-Sep-2021 15:17:22 UTC) import terrascript class googleworkspace_chrome_policy(terrascript.Resource): pass class googleworkspace_domain(terrascript.Resource): pass class googleworkspace_domain_alias(terra...
20.132353
73
0.790358
7445d060bfda108fa109948b5675b6a6aed7b139
6,359
py
Python
docs/conf.py
Julian/regret
251fb8db5f604e1f4479bf0f3621b18585062ec0
[ "MIT" ]
10
2019-10-21T14:57:52.000Z
2021-10-04T08:46:31.000Z
docs/conf.py
Julian/regret
251fb8db5f604e1f4479bf0f3621b18585062ec0
[ "MIT" ]
35
2019-11-07T00:48:01.000Z
2020-12-09T14:28:12.000Z
docs/conf.py
Julian/regret
251fb8db5f604e1f4479bf0f3621b18585062ec0
[ "MIT" ]
2
2020-08-11T13:37:27.000Z
2020-12-05T14:19:55.000Z
# -*- coding: utf-8 -*- # # Configuration file for the Sphinx documentation builder. # # This file does only contain a selection of the most common options. For a # full list see the documentation: # http://www.sphinx-doc.org/en/master/config import importlib.metadata import re # -- Project information --------------...
27.409483
78
0.620852
74461cfeec3fb9e547b410649922cee50315fce9
4,727
py
Python
authors/apps/articles/tests/test_data.py
andela/ah-backend-prime
0708463d4565a4977a5a5dcb839f1dfed52fdc90
[ "BSD-3-Clause" ]
1
2019-09-19T14:30:05.000Z
2019-09-19T14:30:05.000Z
authors/apps/articles/tests/test_data.py
e-ian/authors-haven-frontend
05829c8088ca49ef2cf0863dc87ec55b44b13534
[ "BSD-3-Clause" ]
22
2019-03-25T16:10:53.000Z
2022-03-11T23:44:21.000Z
authors/apps/articles/tests/test_data.py
e-ian/authors-haven-frontend
05829c8088ca49ef2cf0863dc87ec55b44b13534
[ "BSD-3-Clause" ]
6
2019-03-25T09:39:39.000Z
2021-03-11T23:54:12.000Z
VALID_ARTICLE = { "title": "Bentley be easy", "description": "Just Bentley", "body": "I love Bentley.", "tags": ["cars", "bentlys"] } INVALID_ARTICLE = { "title": "Bentley be easy", "body": "I love Bentley." } VALID_UPDATE_ARTICLE = { "title": "Bentley be easy", "description": "Just Bentley", "body": "...
50.827957
99
0.751428
74463482b7ea2d73de52cee63b8f7204df02dcac
732
py
Python
src/posts/migrations/0003_auto_20171117_1120.py
devbabar/django-blog
b9f00ebdd619214631231932c27c06684ab97631
[ "BSD-3-Clause" ]
1
2020-08-03T18:24:55.000Z
2020-08-03T18:24:55.000Z
src/posts/migrations/0003_auto_20171117_1120.py
devbabar/django-blog
b9f00ebdd619214631231932c27c06684ab97631
[ "BSD-3-Clause" ]
null
null
null
src/posts/migrations/0003_auto_20171117_1120.py
devbabar/django-blog
b9f00ebdd619214631231932c27c06684ab97631
[ "BSD-3-Clause" ]
2
2020-12-17T00:15:29.000Z
2022-02-07T11:20:13.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.9 on 2017-11-17 11:20 from __future__ import unicode_literals import datetime from django.db import migrations, models from django.utils.timezone import utc class Migration(migrations.Migration): dependencies = [ ('posts', '0002_post_user'), ] ope...
25.241379
107
0.606557
744665040309c52db037d78ff73f34ec79a0565c
8,220
py
Python
lib/spack/spack/cmd/bootstrap.py
BenWibking/spack
49b3b43a4a9375210b578635d9240875a5f3106b
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
2,360
2017-11-06T08:47:01.000Z
2022-03-31T14:45:33.000Z
lib/spack/spack/cmd/bootstrap.py
BenWibking/spack
49b3b43a4a9375210b578635d9240875a5f3106b
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
13,838
2017-11-04T07:49:45.000Z
2022-03-31T23:38:39.000Z
lib/spack/spack/cmd/bootstrap.py
joequant/spack
e028ee0d5903045e1cdeb57550cbff61f2ffb2fa
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
1,793
2017-11-04T07:45:50.000Z
2022-03-30T14:31:53.000Z
# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other # Spack Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) from __future__ import print_function import os.path import shutil import llnl.util.tty import llnl.util.tty.color impor...
31.136364
86
0.63017
744678c5b826ed2640e2a021cad5e15d7ab34f81
4,088
py
Python
mines/mines.py
willsheffler/games
0f894178aac8fbb3dd460fdac3b27c7d960846bb
[ "Apache-2.0" ]
null
null
null
mines/mines.py
willsheffler/games
0f894178aac8fbb3dd460fdac3b27c7d960846bb
[ "Apache-2.0" ]
null
null
null
mines/mines.py
willsheffler/games
0f894178aac8fbb3dd460fdac3b27c7d960846bb
[ "Apache-2.0" ]
null
null
null
#to run this game type the command pgzrun mines.py into the terminal whilst in this directory ########### # Imports # ########### from random import randint from math import floor #imports the top tiles cover = Actor('cover') flag = Actor('flag') #creates a dictionary that stores all the possible bottom tile types t...
28.788732
93
0.501468
74469b62a2d805f530e626964de17f0eecca1bd5
14,636
py
Python
specreduce/calibration_data.py
pllim/specreduce
ca299ce9e01d73277f48d3a306b752dd03b9a7e1
[ "BSD-3-Clause" ]
null
null
null
specreduce/calibration_data.py
pllim/specreduce
ca299ce9e01d73277f48d3a306b752dd03b9a7e1
[ "BSD-3-Clause" ]
null
null
null
specreduce/calibration_data.py
pllim/specreduce
ca299ce9e01d73277f48d3a306b752dd03b9a7e1
[ "BSD-3-Clause" ]
null
null
null
""" Utilities for defining, loading, and handling spectroscopic calibration data """ import os import pkg_resources import warnings import astropy.units as u from astropy.table import Table from astropy.utils.data import download_file from astropy.utils.exceptions import AstropyUserWarning import synphot from specut...
36.773869
124
0.649221
7446b2311ebe039a9d45a68357bba29b92e8e976
1,589
py
Python
GLM/GLM_Model/PoissonMAP.py
ys7yoo/npglm
98cc040fff8a861e2d7e210fef049207f1714b2a
[ "MIT" ]
9
2020-11-20T17:43:36.000Z
2021-02-26T22:18:59.000Z
GLM/GLM_Model/PoissonMAP.py
ys7yoo/npglm
98cc040fff8a861e2d7e210fef049207f1714b2a
[ "MIT" ]
1
2021-02-04T13:51:17.000Z
2021-02-04T23:56:07.000Z
GLM/GLM_Model/PoissonMAP.py
ys7yoo/npglm
98cc040fff8a861e2d7e210fef049207f1714b2a
[ "MIT" ]
1
2020-11-22T19:36:35.000Z
2020-11-22T19:36:35.000Z
import numpy as np import pandas as pd from Utils import utils from collections import OrderedDict class PoissonMAP: def __init__(self, params, data_df, glm, use_callbacks=False): self.params = params self.delta = params.delta self.glm = glm self.data_df = data_df self.time...
33.808511
138
0.641913
7446c521aed377971e72c8ae7fa9cfe429aff207
11,865
py
Python
scan/test/scan/test_data/scan.py
korenlev/calipso-cvim
39278a5cf09c40b26a8a143ccc0c8d437961abc2
[ "Apache-2.0" ]
null
null
null
scan/test/scan/test_data/scan.py
korenlev/calipso-cvim
39278a5cf09c40b26a8a143ccc0c8d437961abc2
[ "Apache-2.0" ]
null
null
null
scan/test/scan/test_data/scan.py
korenlev/calipso-cvim
39278a5cf09c40b26a8a143ccc0c8d437961abc2
[ "Apache-2.0" ]
null
null
null
############################################################################### # Copyright (c) 2017-2020 Koren Lev (Cisco Systems), # # Yaron Yogev (Cisco Systems), Ilia Abashin (Cisco Systems) and others # # # ...
27.213303
79
0.595365
7446c577fbd3bcf398f085bd9202ebfe6081c45f
4,916
py
Python
bootcamp/wiki/plugins/images/models.py
basiltiger/easy_bootcamp
875b9ed287f1a7824bb38f142dbe2f3b1ce54389
[ "MIT" ]
null
null
null
bootcamp/wiki/plugins/images/models.py
basiltiger/easy_bootcamp
875b9ed287f1a7824bb38f142dbe2f3b1ce54389
[ "MIT" ]
null
null
null
bootcamp/wiki/plugins/images/models.py
basiltiger/easy_bootcamp
875b9ed287f1a7824bb38f142dbe2f3b1ce54389
[ "MIT" ]
null
null
null
from __future__ import unicode_literals import os.path from django.apps import apps from django.conf import settings as django_settings from django.core.exceptions import ImproperlyConfigured from django.db import models from django.db.models import signals from django.utils.encoding import python_2_unicode_compatibl...
33.442177
93
0.656631
7446f4441ed831690128e896f3b72535f06c6366
59
py
Python
survae/tests/nn/nets/matching/__init__.py
alisiahkoohi/survae_flows
e1747b05524c7ab540a211ed360ab3e67bc3e96d
[ "MIT" ]
262
2020-07-05T20:57:44.000Z
2022-03-28T02:24:43.000Z
survae/tests/nn/nets/matching/__init__.py
alisiahkoohi/survae_flows
e1747b05524c7ab540a211ed360ab3e67bc3e96d
[ "MIT" ]
17
2020-08-15T05:43:34.000Z
2022-01-31T12:24:21.000Z
survae/tests/nn/nets/matching/__init__.py
alisiahkoohi/survae_flows
e1747b05524c7ab540a211ed360ab3e67bc3e96d
[ "MIT" ]
35
2020-08-24T06:55:37.000Z
2022-02-11T05:17:58.000Z
from .densenet import * from .multiscale_densenet import *
19.666667
34
0.79661
7446f5550fe868fc48140ee98e904eba7d604cd3
18,042
py
Python
kiosk_client/job.py
vanvalenlab/kiosk-client
f1b414932367eb583decbef0d4ca33689ea6fb96
[ "Apache-2.0" ]
3
2019-09-26T17:54:10.000Z
2019-12-11T20:34:03.000Z
kiosk_client/job.py
vanvalenlab/kiosk-benchmarking
f966654032c0a6b0370442c2f986e559b2bd6aeb
[ "Apache-2.0" ]
13
2019-01-18T00:31:52.000Z
2020-05-29T18:31:17.000Z
kiosk_client/job.py
vanvalenlab/kiosk-benchmarking
f966654032c0a6b0370442c2f986e559b2bd6aeb
[ "Apache-2.0" ]
null
null
null
# Copyright 2016-2021 The Van Valen Lab at the California Institute of # Technology (Caltech), with support from the Paul Allen Family Foundation, # Google, & National Institutes of Health (NIH) under Grant U24CA224309-01. # All rights reserved. # # Licensed under a modified Apache License, Version 2.0 (the "License");...
39.30719
83
0.587518
744707329b7f04ab0bf06a94135f9953a14580e0
1,970
py
Python
k3d/test/plot_compare.py
Eccsx/K3D-jupyter
1b034ddf068e6e89511077b67e539a5267bf6e1d
[ "MIT" ]
1
2022-02-17T15:02:46.000Z
2022-02-17T15:02:46.000Z
k3d/test/plot_compare.py
habi/K3D-jupyter
0015a92665d9650304fcc8e3ab00a2ca5e9ab6a8
[ "MIT" ]
null
null
null
k3d/test/plot_compare.py
habi/K3D-jupyter
0015a92665d9650304fcc8e3ab00a2ca5e9ab6a8
[ "MIT" ]
null
null
null
import pytest from PIL import Image from pixelmatch.contrib.PIL import pixelmatch from io import BytesIO import os import sys from base64 import b64encode def prepare(): while len(pytest.plot.objects) > 0: pytest.plot -= pytest.plot.objects[-1] pytest.plot.clipping_planes = [] pytest.plot.colorba...
34.561404
91
0.628426
74470edd9e311db1ecd73c9cd44f35adddd83ed1
6,647
py
Python
Tools/Scripts/libraries/webkitcorepy/webkitcorepy/version.py
jacadcaps/webkitty
9aebd2081349f9a7b5d168673c6f676a1450a66d
[ "BSD-2-Clause" ]
6
2021-07-05T16:09:39.000Z
2022-03-06T22:44:42.000Z
Tools/Scripts/libraries/webkitcorepy/webkitcorepy/version.py
jacadcaps/webkitty
9aebd2081349f9a7b5d168673c6f676a1450a66d
[ "BSD-2-Clause" ]
7
2022-03-15T13:25:39.000Z
2022-03-15T13:25:44.000Z
Tools/Scripts/libraries/webkitcorepy/webkitcorepy/version.py
jacadcaps/webkitty
9aebd2081349f9a7b5d168673c6f676a1450a66d
[ "BSD-2-Clause" ]
null
null
null
# Copyright (C) 2020 Apple 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 the fo...
35.356383
101
0.562359
744746284c547418b7b3c5736db54f7b7ef2fa0e
7,271
py
Python
dnacentersdk/models/validators/v2_1_2/jsd_a4b6c87a4ffb9efa.py
nonstdout/dnacentersdk
dbbbc4baa5300aa9e5c9193f2ea71438018095f5
[ "MIT" ]
null
null
null
dnacentersdk/models/validators/v2_1_2/jsd_a4b6c87a4ffb9efa.py
nonstdout/dnacentersdk
dbbbc4baa5300aa9e5c9193f2ea71438018095f5
[ "MIT" ]
null
null
null
dnacentersdk/models/validators/v2_1_2/jsd_a4b6c87a4ffb9efa.py
nonstdout/dnacentersdk
dbbbc4baa5300aa9e5c9193f2ea71438018095f5
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """DNA Center Sync Virtual Account Devices data model. Copyright (c) 2019-2020 Cisco and/or its affiliates. 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 restric...
26.731618
78
0.329528
74476418b722a9e1345a220d583ca503041dadc1
40,059
py
Python
SCRAPE/Lib/site-packages/zope/interface/interface.py
Chinmoy-Prasad-Dutta/scrapy_scraper
09f6abfc3bcf10ee28f486d83b450c89a07e066e
[ "MIT" ]
275
2015-01-29T16:38:19.000Z
2022-03-13T09:22:27.000Z
activate/Lib/site-packages/zope/interface/interface.py
Tanushree28/Cyberbullying-Detection
3a69ade5cf068b640a0d6d1f176ff0d0e2040501
[ "MIT" ]
232
2015-01-11T22:36:04.000Z
2022-03-30T15:12:57.000Z
activate/Lib/site-packages/zope/interface/interface.py
Tanushree28/Cyberbullying-Detection
3a69ade5cf068b640a0d6d1f176ff0d0e2040501
[ "MIT" ]
66
2015-01-26T16:29:28.000Z
2021-12-20T04:19:07.000Z
############################################################################## # # Copyright (c) 2001, 2002 Zope Foundation and Contributors. # All Rights Reserved. # # This software is subject to the provisions of the Zope Public License, # Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution. # TH...
34.713172
102
0.62378
74476c543a22764af9c41bb42963029f4bc45b1f
2,286
bzl
Python
pkg/experimental/tests/external_repo/pkg/test.bzl
konste/rules_pkg
b5737c050f6bbc7e90895ea41602af953013cfb9
[ "Apache-2.0" ]
null
null
null
pkg/experimental/tests/external_repo/pkg/test.bzl
konste/rules_pkg
b5737c050f6bbc7e90895ea41602af953013cfb9
[ "Apache-2.0" ]
null
null
null
pkg/experimental/tests/external_repo/pkg/test.bzl
konste/rules_pkg
b5737c050f6bbc7e90895ea41602af953013cfb9
[ "Apache-2.0" ]
1
2020-08-19T14:53:06.000Z
2020-08-19T14:53:06.000Z
# Copyright 2020 The Bazel 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 la...
34.119403
110
0.712161
74476f6333171675f8f8839ff267cec42ae43c80
624
py
Python
tools/dockerize/webportal/usr/lib/python2.7/site-packages/oslo/serialization/jsonutils.py
foruy/openflow-multiopenstack
74140b041ac25ed83898ff3998e8dcbed35572bb
[ "Apache-2.0" ]
1
2019-09-11T11:56:19.000Z
2019-09-11T11:56:19.000Z
tools/dockerize/webportal/usr/lib/python2.7/site-packages/oslo/serialization/jsonutils.py
foruy/openflow-multiopenstack
74140b041ac25ed83898ff3998e8dcbed35572bb
[ "Apache-2.0" ]
null
null
null
tools/dockerize/webportal/usr/lib/python2.7/site-packages/oslo/serialization/jsonutils.py
foruy/openflow-multiopenstack
74140b041ac25ed83898ff3998e8dcbed35572bb
[ "Apache-2.0" ]
null
null
null
# Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # d...
44.571429
78
0.732372
7447820e58a48006bd9c41f8af543de65c75d5c2
1,242
py
Python
test/test_data_handler.py
palicand/mi-pdd
4c182cbaadbb7856fe1ce8d5ccdad31e11ea36e0
[ "MIT" ]
null
null
null
test/test_data_handler.py
palicand/mi-pdd
4c182cbaadbb7856fe1ce8d5ccdad31e11ea36e0
[ "MIT" ]
null
null
null
test/test_data_handler.py
palicand/mi-pdd
4c182cbaadbb7856fe1ce8d5ccdad31e11ea36e0
[ "MIT" ]
null
null
null
# author palicka # created on 28/01/15 from unittest import TestCase import numpy as np import base.data_handler as dh class TestProcessSet(TestCase): def setUp(self): self.spectra = [] number_of_spectra = 100 wavelength_limits = (6300.0, 6600.0) features_limits = (1000, 2000) ...
37.636364
101
0.636071
7447843c40ff176559400e3feb05cdbd406a816d
3,137
py
Python
IPyTracer/utils/logger.py
BenDerPan/IPyTracer
f5890691583064be59a239cec5bd4da83e5c0760
[ "MIT" ]
3
2019-03-04T07:01:02.000Z
2020-09-28T10:07:45.000Z
IPyTracer/utils/logger.py
BenDerPan/IPyTracer
f5890691583064be59a239cec5bd4da83e5c0760
[ "MIT" ]
null
null
null
IPyTracer/utils/logger.py
BenDerPan/IPyTracer
f5890691583064be59a239cec5bd4da83e5c0760
[ "MIT" ]
2
2019-03-04T07:01:03.000Z
2020-09-28T10:07:46.000Z
""" This file comes from the project RevitPythonWrapper, written by Gui Talarico https://github.com/gtalarico I used this logger to start the project without spending hours to setup a new one. Many thanks to Gui Talarico for providing ready-to-use tools! """ import sys class mockLoggerWrapp...
27.043103
86
0.624163
7447882bfe8d4c1d8694134fd09c1a78b71ecaee
961
py
Python
var/spack/repos/builtin/packages/r-globaloptions/package.py
kehw/spack
4f49b1a9301447a8cf880c99820cad65e5c2d7e3
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
2
2020-09-10T22:50:08.000Z
2021-01-12T22:18:54.000Z
var/spack/repos/builtin/packages/r-globaloptions/package.py
kehw/spack
4f49b1a9301447a8cf880c99820cad65e5c2d7e3
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
11
2021-01-08T22:23:53.000Z
2022-03-30T11:08:17.000Z
var/spack/repos/builtin/packages/r-globaloptions/package.py
kehw/spack
4f49b1a9301447a8cf880c99820cad65e5c2d7e3
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
null
null
null
# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other # Spack Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) from spack import * class RGlobaloptions(RPackage): """It provides more controls on the option values such as valida...
43.681818
96
0.727367
7447917bd2b1f5c69819ebd89f9b86798b5d4a44
400
py
Python
tests/cli/test_cli_sex.py
biocyberman/chanjo
962eedf26dcfc0ad8ea66d4c56b455192934c68e
[ "MIT" ]
null
null
null
tests/cli/test_cli_sex.py
biocyberman/chanjo
962eedf26dcfc0ad8ea66d4c56b455192934c68e
[ "MIT" ]
null
null
null
tests/cli/test_cli_sex.py
biocyberman/chanjo
962eedf26dcfc0ad8ea66d4c56b455192934c68e
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from chanjo.cli import root def test_sex(cli_runner, bam_path): result = cli_runner.invoke(root, ['sex', bam_path]) assert result.exit_code == 0 assert 'female' in result.output def test_sex_with_wrong_file(cli_runner, bam_path): bai_path = "{}.bai".format(bam_path) resul...
26.666667
55
0.69
74479a91b04631a188f53cede8112cc9205c5ff4
96,878
py
Python
util/image_viewer/spotfinder_frame.py
ndevenish/dials-fork
e3970ffcd2870ccd0e340f5e94999efcc978fb2b
[ "BSD-3-Clause" ]
null
null
null
util/image_viewer/spotfinder_frame.py
ndevenish/dials-fork
e3970ffcd2870ccd0e340f5e94999efcc978fb2b
[ "BSD-3-Clause" ]
null
null
null
util/image_viewer/spotfinder_frame.py
ndevenish/dials-fork
e3970ffcd2870ccd0e340f5e94999efcc978fb2b
[ "BSD-3-Clause" ]
null
null
null
from __future__ import absolute_import, division, print_function import collections import itertools import math import six import wx from wx.lib.intctrl import IntCtrl from cctbx import crystal, uctbx from cctbx.miller import index_generator from dxtbx.imageset import ImageSet from dxtbx.model.experiment_list impor...
42.942376
106
0.547999
7447a1d6cfbe2c5093b491bf763079acdeda6d0f
59
py
Python
Testing_CI:CD/assert0.py
fangyiyu/CS50_web_programming
8d6f304772ae8bd8cd373f17545d507c6e55768e
[ "MIT" ]
2
2021-04-05T15:29:08.000Z
2022-03-08T11:07:21.000Z
Lecture 7 : Testing, CI-CD/src7/assert0.py
Sumanth-Talluri/CS50-Web-Programming-with-Python-and-JavaScript
8d5f83f4354f1f27138a2a9c40317d358f3b2f9a
[ "MIT" ]
null
null
null
Lecture 7 : Testing, CI-CD/src7/assert0.py
Sumanth-Talluri/CS50-Web-Programming-with-Python-and-JavaScript
8d5f83f4354f1f27138a2a9c40317d358f3b2f9a
[ "MIT" ]
null
null
null
def square(x): return x * x assert square(10) == 100
9.833333
24
0.59322
7447a501bfd3ef002e0d00ed420fcd19b1dcf415
9,049
py
Python
test_scripts/pyfora1/testPythonSubscribableWebObjects.py
ufora/ufora
04db96ab049b8499d6d6526445f4f9857f1b6c7e
[ "Apache-2.0", "CC0-1.0", "MIT", "BSL-1.0", "BSD-3-Clause" ]
571
2015-11-05T20:07:07.000Z
2022-01-24T22:31:09.000Z
test_scripts/pyfora1/testPythonSubscribableWebObjects.py
timgates42/ufora
04db96ab049b8499d6d6526445f4f9857f1b6c7e
[ "Apache-2.0", "CC0-1.0", "MIT", "BSL-1.0", "BSD-3-Clause" ]
218
2015-11-05T20:37:55.000Z
2021-05-30T03:53:50.000Z
test_scripts/pyfora1/testPythonSubscribableWebObjects.py
timgates42/ufora
04db96ab049b8499d6d6526445f4f9857f1b6c7e
[ "Apache-2.0", "CC0-1.0", "MIT", "BSL-1.0", "BSD-3-Clause" ]
40
2015-11-07T21:42:19.000Z
2021-05-23T03:48:19.000Z
# Copyright 2015 Ufora 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 i...
34.14717
99
0.640955
7447b16ec4dfe9bdc2e95e1f941c9323b9a6cd2d
6,819
py
Python
src/io.py
sco1/scan-splitter
8f953abd0877fb9db12fcbf9db69629ee985de00
[ "MIT" ]
null
null
null
src/io.py
sco1/scan-splitter
8f953abd0877fb9db12fcbf9db69629ee985de00
[ "MIT" ]
null
null
null
src/io.py
sco1/scan-splitter
8f953abd0877fb9db12fcbf9db69629ee985de00
[ "MIT" ]
null
null
null
import typing as t from pathlib import Path from rich import print as rprint from src import parser # Default Headers ANTHRO_HEADER = ["Measurement Name,Measurement"] LANDMARK_HEADER = ["Landmark Name,x,y,z"] def _dump_chunk(filepath: Path, data: list[str], header: t.Optional[list[str]] = None) -> None: """ ...
36.859459
144
0.687198
7447bb79fd561b5e346eb3f4a286a8a3de8eaa1e
25
py
Python
btd6_memory_info/generated/Assets/Scripts/SocialSharing/social_sharing.py
56kyle/bloons_auto
419d55b51d1cddc49099593970adf1c67985b389
[ "MIT" ]
null
null
null
btd6_memory_info/generated/Assets/Scripts/SocialSharing/social_sharing.py
56kyle/bloons_auto
419d55b51d1cddc49099593970adf1c67985b389
[ "MIT" ]
null
null
null
btd6_memory_info/generated/Assets/Scripts/SocialSharing/social_sharing.py
56kyle/bloons_auto
419d55b51d1cddc49099593970adf1c67985b389
[ "MIT" ]
null
null
null
class SocialSharing: pass
25
25
0.88