hexsha
string
size
int64
ext
string
lang
string
max_stars_repo_path
string
max_stars_repo_name
string
max_stars_repo_head_hexsha
string
max_stars_repo_licenses
list
max_stars_count
int64
max_stars_repo_stars_event_min_datetime
string
max_stars_repo_stars_event_max_datetime
string
max_issues_repo_path
string
max_issues_repo_name
string
max_issues_repo_head_hexsha
string
max_issues_repo_licenses
list
max_issues_count
int64
max_issues_repo_issues_event_min_datetime
string
max_issues_repo_issues_event_max_datetime
string
max_forks_repo_path
string
max_forks_repo_name
string
max_forks_repo_head_hexsha
string
max_forks_repo_licenses
list
max_forks_count
int64
max_forks_repo_forks_event_min_datetime
string
max_forks_repo_forks_event_max_datetime
string
content
string
avg_line_length
float64
max_line_length
int64
alphanum_fraction
float64
qsc_code_num_words_quality_signal
int64
qsc_code_num_chars_quality_signal
float64
qsc_code_mean_word_length_quality_signal
float64
qsc_code_frac_words_unique_quality_signal
float64
qsc_code_frac_chars_top_2grams_quality_signal
float64
qsc_code_frac_chars_top_3grams_quality_signal
float64
qsc_code_frac_chars_top_4grams_quality_signal
float64
qsc_code_frac_chars_dupe_5grams_quality_signal
float64
qsc_code_frac_chars_dupe_6grams_quality_signal
float64
qsc_code_frac_chars_dupe_7grams_quality_signal
float64
qsc_code_frac_chars_dupe_8grams_quality_signal
float64
qsc_code_frac_chars_dupe_9grams_quality_signal
float64
qsc_code_frac_chars_dupe_10grams_quality_signal
float64
qsc_code_frac_chars_replacement_symbols_quality_signal
float64
qsc_code_frac_chars_digital_quality_signal
float64
qsc_code_frac_chars_whitespace_quality_signal
float64
qsc_code_size_file_byte_quality_signal
float64
qsc_code_num_lines_quality_signal
float64
qsc_code_num_chars_line_max_quality_signal
float64
qsc_code_num_chars_line_mean_quality_signal
float64
qsc_code_frac_chars_alphabet_quality_signal
float64
qsc_code_frac_chars_comments_quality_signal
float64
qsc_code_cate_xml_start_quality_signal
float64
qsc_code_frac_lines_dupe_lines_quality_signal
float64
qsc_code_cate_autogen_quality_signal
float64
qsc_code_frac_lines_long_string_quality_signal
float64
qsc_code_frac_chars_string_length_quality_signal
float64
qsc_code_frac_chars_long_word_length_quality_signal
float64
qsc_code_frac_lines_string_concat_quality_signal
float64
qsc_code_cate_encoded_data_quality_signal
float64
qsc_code_frac_chars_hex_words_quality_signal
float64
qsc_code_frac_lines_prompt_comments_quality_signal
float64
qsc_code_frac_lines_assert_quality_signal
float64
qsc_codepython_cate_ast_quality_signal
float64
qsc_codepython_frac_lines_func_ratio_quality_signal
float64
qsc_codepython_cate_var_zero_quality_signal
bool
qsc_codepython_frac_lines_pass_quality_signal
float64
qsc_codepython_frac_lines_import_quality_signal
float64
qsc_codepython_frac_lines_simplefunc_quality_signal
float64
qsc_codepython_score_lines_no_logic_quality_signal
float64
qsc_codepython_frac_lines_print_quality_signal
float64
qsc_code_num_words
int64
qsc_code_num_chars
int64
qsc_code_mean_word_length
int64
qsc_code_frac_words_unique
null
qsc_code_frac_chars_top_2grams
int64
qsc_code_frac_chars_top_3grams
int64
qsc_code_frac_chars_top_4grams
int64
qsc_code_frac_chars_dupe_5grams
int64
qsc_code_frac_chars_dupe_6grams
int64
qsc_code_frac_chars_dupe_7grams
int64
qsc_code_frac_chars_dupe_8grams
int64
qsc_code_frac_chars_dupe_9grams
int64
qsc_code_frac_chars_dupe_10grams
int64
qsc_code_frac_chars_replacement_symbols
int64
qsc_code_frac_chars_digital
int64
qsc_code_frac_chars_whitespace
int64
qsc_code_size_file_byte
int64
qsc_code_num_lines
int64
qsc_code_num_chars_line_max
int64
qsc_code_num_chars_line_mean
int64
qsc_code_frac_chars_alphabet
int64
qsc_code_frac_chars_comments
int64
qsc_code_cate_xml_start
int64
qsc_code_frac_lines_dupe_lines
int64
qsc_code_cate_autogen
int64
qsc_code_frac_lines_long_string
int64
qsc_code_frac_chars_string_length
int64
qsc_code_frac_chars_long_word_length
int64
qsc_code_frac_lines_string_concat
null
qsc_code_cate_encoded_data
int64
qsc_code_frac_chars_hex_words
int64
qsc_code_frac_lines_prompt_comments
int64
qsc_code_frac_lines_assert
int64
qsc_codepython_cate_ast
int64
qsc_codepython_frac_lines_func_ratio
int64
qsc_codepython_cate_var_zero
int64
qsc_codepython_frac_lines_pass
int64
qsc_codepython_frac_lines_import
int64
qsc_codepython_frac_lines_simplefunc
int64
qsc_codepython_score_lines_no_logic
int64
qsc_codepython_frac_lines_print
int64
effective
string
hits
int64
d657341f77e87e5f864f27d5a22831699f595552
1,105
py
Python
packages/mccomponents/python/mccomponents/detector/obsolete/register_DetectorPack.py
mcvine/mcvine
42232534b0c6af729628009bed165cd7d833789d
[ "BSD-3-Clause" ]
5
2017-01-16T03:59:47.000Z
2020-06-23T02:54:19.000Z
packages/mccomponents/python/mccomponents/detector/obsolete/register_DetectorPack.py
mcvine/mcvine
42232534b0c6af729628009bed165cd7d833789d
[ "BSD-3-Clause" ]
293
2015-10-29T17:45:52.000Z
2022-01-07T16:31:09.000Z
packages/mccomponents/python/mccomponents/detector/obsolete/register_DetectorPack.py
mcvine/mcvine
42232534b0c6af729628009bed165cd7d833789d
[ "BSD-3-Clause" ]
1
2019-05-25T00:53:31.000Z
2019-05-25T00:53:31.000Z
#!/usr/bin/env python # # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # # Jiao Lin # California Institute of Technology # (C) 2007 All Rights Reserved # # {LicenseText} # # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # # the interface from register_CompositeDetector import CompositeDetector as base class DetectorPack(base): def identify(self, visitor): return visitor.onDetectorPack(self) pass # 2. the handler to construct c++ engine def onDetectorPack(self, detectorPack): return self.onCompositeDetector( detectorPack ) # 4. register the new class and handlers import mccomponents.homogeneous_scatterer as mh mh.register_engine_renderer_handler (DetectorPack, onDetectorPack ) def onDetectorPackCopy(self, copy): pack = copy.reference() return self.onDetectorPack(pack) class DetectorPackCopy: pass mh.register_engine_renderer_handler( DetectorPackCopy, onDetectorPackCopy ) # version __id__ = "$Id$" # End of file
23.510638
80
0.6
99
1,105
6.575758
0.575758
0.0553
0.049155
0.073733
0.095238
0
0
0
0
0
0
0.006734
0.193665
1,105
46
81
24.021739
0.723906
0.41267
0
0
0
0
0.006339
0
0
0
0
0
0
1
0.214286
false
0.142857
0.142857
0.142857
0.642857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
1
1
0
0
4
c3c8eab06048cca2390c088f38e9b4972ccbbed3
4,130
py
Python
ve/unit/test_coverage_wildcard_bins.py
fvutils/py-vsc
e30ffae1b750d8182d102b1fe5b1cfdce017a092
[ "Apache-2.0" ]
54
2020-03-28T17:54:00.000Z
2022-03-27T08:53:13.000Z
ve/unit/test_coverage_wildcard_bins.py
fvutils/py-vsc
e30ffae1b750d8182d102b1fe5b1cfdce017a092
[ "Apache-2.0" ]
124
2020-04-10T03:06:03.000Z
2022-03-24T18:35:46.000Z
ve/unit/test_coverage_wildcard_bins.py
fvutils/py-vsc
e30ffae1b750d8182d102b1fe5b1cfdce017a092
[ "Apache-2.0" ]
17
2020-04-09T21:47:58.000Z
2022-02-23T19:37:37.000Z
''' Created on Jul 23, 2021 @author: mballance ''' import vsc from vsc_test_case import VscTestCase class TestCoverageWildcardBins(VscTestCase): def test_single_wildcard_bin_1(self): @vsc.covergroup class cg(object): def __init__(self): self.with_sample( dict(a=vsc.bit_t(8))) self.cp_a = vsc.coverpoint(self.a, bins=dict( a=vsc.wildcard_bin("0x8x"))) cg_i = cg() cg_i.sample(0) self.assertEqual(cg_i.get_coverage(), 0.0) cg_i.sample(0x81) self.assertEqual(cg_i.get_coverage(), 100.0) def test_single_wildcard_bin_1_1(self): @vsc.covergroup class cg(object): def __init__(self): self.with_sample( dict(a1=vsc.bit_t(8), a2=vsc.bit_t(8))) self.cp_a1 = vsc.coverpoint(self.a1, bins=dict( a=vsc.wildcard_bin("0x8x", "0x6x"))) self.cp_a2 = vsc.coverpoint(self.a2, bins=dict( a=vsc.wildcard_bin("0x8x", "0x6x"))) cg_i = cg() cg_i.sample(0, 0) self.assertEqual(cg_i.cp_a1.get_coverage(), 0.0) self.assertEqual(cg_i.cp_a2.get_coverage(), 0.0) cg_i.sample(0x81, 0) self.assertEqual(cg_i.cp_a1.get_coverage(), 100.0) self.assertEqual(cg_i.cp_a2.get_coverage(), 0.0) cg_i.sample(0, 0x61) self.assertEqual(cg_i.cp_a2.get_coverage(), 100.0) def test_single_wildcard_bin_2(self): @vsc.covergroup class cg(object): def __init__(self): self.with_sample( dict(a=vsc.bit_t(8))) self.cp_a = vsc.coverpoint(self.a, bins=dict( a=vsc.wildcard_bin((0x80,0xF0)) )) cg_i = cg() cg_i.sample(0) self.assertEqual(cg_i.get_coverage(), 0.0) cg_i.sample(0x81) self.assertEqual(cg_i.get_coverage(), 100.0) def test_array_wildcard_bin_1(self): @vsc.covergroup class cg(object): def __init__(self): self.with_sample( dict(a=vsc.bit_t(8))) self.cp_a = vsc.coverpoint(self.a, bins=dict( a=vsc.wildcard_bin_array([], "0x8x") )) cg_i = cg() cg_i.sample(0) self.assertEqual(cg_i.get_coverage(), 0.0) for i in range(16): cg_i.sample(0x80+i) self.assertEqual(cg_i.get_coverage(), 100*((1+i)/16)) def test_array_wildcard_bin_2(self): @vsc.covergroup class cg(object): def __init__(self): self.with_sample( dict(a=vsc.bit_t(8))) self.cp_a = vsc.coverpoint(lambda: self.a[7:0], bins=dict( a=vsc.wildcard_bin_array([], "0b1011011x", "0b0x101010") )) obj1 = cg() def test_array_wildcard_bin_3(self): import vsc @vsc.covergroup class cg(object): def __init__(self): self.with_sample( dict(a=vsc.bit_t(8))) self.cp_a = vsc.coverpoint(lambda: self.a[7:0], bins=dict( a=vsc.wildcard_bin_array([], "0b1011011x", "0b0x101010"), b=vsc.wildcard_bin_array([], "0b1011011x", "0b0x10x01x")) ) obj1 = cg() model = vsc.get_coverage_report_model() self.assertEqual(len(model.covergroups), 1) self.assertEqual(len(model.covergroups[0].coverpoints), 1) self.assertEqual(len(model.covergroups[0].coverpoints[0].bins), 14) vsc.report_coverage(details=True)
30.820896
81
0.489346
485
4,130
3.905155
0.146392
0.038015
0.050686
0.104541
0.829461
0.775079
0.760296
0.732313
0.63622
0.576558
0
0.065947
0.394189
4,130
134
82
30.820896
0.691047
0.010412
0
0.619565
0
0
0.020588
0
0
0
0.006863
0
0.152174
1
0.130435
false
0
0.032609
0
0.23913
0
0
0
0
null
0
0
0
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
7f0bf716f75c164b5adb94b4e77d5c70a844921f
238
py
Python
KWP/general/forms.py
arcticczar/DownedWildlifeMonitoring
55c2b2bd1d537163735f9c371493365215b5ea7d
[ "Unlicense", "MIT" ]
null
null
null
KWP/general/forms.py
arcticczar/DownedWildlifeMonitoring
55c2b2bd1d537163735f9c371493365215b5ea7d
[ "Unlicense", "MIT" ]
null
null
null
KWP/general/forms.py
arcticczar/DownedWildlifeMonitoring
55c2b2bd1d537163735f9c371493365215b5ea7d
[ "Unlicense", "MIT" ]
null
null
null
from django import forms from .models import * class TrapLocationForm(forms.ModelForm): class Meta: model=TrapLocation fields = '__all___' class TrapCheckForm(forms.ModelForm): class Meta: model=TrapCheck fields = '__all__'
15.866667
40
0.756303
27
238
6.333333
0.555556
0.163743
0.222222
0.269006
0.327485
0
0
0
0
0
0
0
0.159664
238
15
41
15.866667
0.855
0
0
0.2
0
0
0.062762
0
0
0
0
0
0
1
0
false
0
0.2
0
0.6
0
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
4
7f17b3939fb27a8cb8d81fe47de8a843c79319d6
307
py
Python
otreeutils_example3_market/urls.py
WZBSocialScienceCenter/otreeutils
1967826fe422943f846ce2a7e55186d738696878
[ "Apache-2.0" ]
16
2016-12-13T12:37:06.000Z
2021-07-18T02:47:09.000Z
otreeutils_example3_market/urls.py
WZBSocialScienceCenter/otreeutils
1967826fe422943f846ce2a7e55186d738696878
[ "Apache-2.0" ]
2
2016-11-29T17:28:17.000Z
2016-11-30T14:43:51.000Z
otreeutils_example3_market/urls.py
WZBSocialScienceCenter/otreeutils
1967826fe422943f846ce2a7e55186d738696878
[ "Apache-2.0" ]
9
2017-02-03T16:46:57.000Z
2021-05-19T07:42:53.000Z
""" Custom URLs as explained in https://otree.readthedocs.io/en/latest/misc/django.html#adding-custom-pages-urls This adds URLs for custom admin views (session data and export) from otreeutils. Sept. 2018, Markus Konrad <markus.konrad@wzb.eu> """ from otreeutils.admin_extensions.urls import urlpatterns
30.7
108
0.788274
46
307
5.23913
0.782609
0.116183
0
0
0
0
0
0
0
0
0
0.014599
0.107492
307
9
109
34.111111
0.864964
0.781759
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
61405c6829000c1b54bdd0d90caefa6060228769
442
py
Python
src/electric/config.py
electricdb/electric-cli
8ecf57c0c22d5fcc66b2855901017097481c11f4
[ "MIT" ]
null
null
null
src/electric/config.py
electricdb/electric-cli
8ecf57c0c22d5fcc66b2855901017097481c11f4
[ "MIT" ]
null
null
null
src/electric/config.py
electricdb/electric-cli
8ecf57c0c22d5fcc66b2855901017097481c11f4
[ "MIT" ]
null
null
null
"""Application config.""" import os env = os.environ def default_endpoint(): return env.get('ELECTRIC_DATA_DEFAULT_ENDPOINT', 'https://api.electricdb.net') def documentation_url(): return env.get('ELECTRIC_DATA_DOCUMENTATION_URL', 'https://electricdb.net/docs') def is_testing(): return bool(env.get('ELECTRIC_DATA_IS_TESTING', False)) def should_open_browser(): return bool(env.get('ELECTRIC_DATA_OPEN_BROWSER', False))
26
84
0.748869
60
442
5.233333
0.45
0.076433
0.178344
0.229299
0.33121
0.178344
0
0
0
0
0
0
0.108597
442
16
85
27.625
0.796954
0.042986
0
0
0
0
0.393285
0.266187
0
0
0
0
0
1
0.4
false
0
0.1
0.4
0.9
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
4
617ae9f535365efb0954ad7f0069c65809c82f22
973
py
Python
mljar/exceptions.py
mljar/mljar-api-python
78afae67e9f8a26a457f7bae29367f9b3d7f85b4
[ "Apache-2.0" ]
42
2016-12-01T11:07:16.000Z
2022-01-20T05:01:56.000Z
mljar/exceptions.py
kamrankausar/mljar-api-python
78afae67e9f8a26a457f7bae29367f9b3d7f85b4
[ "Apache-2.0" ]
10
2017-06-28T08:02:44.000Z
2018-04-10T07:10:04.000Z
mljar/exceptions.py
kamrankausar/mljar-api-python
78afae67e9f8a26a457f7bae29367f9b3d7f85b4
[ "Apache-2.0" ]
11
2017-03-27T13:29:02.000Z
2021-04-04T19:16:51.000Z
class MljarException(Exception): """Base exception class for this module""" pass class TokenException(MljarException): pass class DataReadException(MljarException): pass class JSONReadException(MljarException): pass class NotFoundException(MljarException): pass class AuthenticationException(MljarException): pass class BadRequestException(MljarException): pass class BadValueException(MljarException): pass class UnknownProjectTask(MljarException): pass class IncorrectInputDataException(MljarException): pass class FileUploadException(MljarException): pass class CreateProjectException(MljarException): pass class CreateDatasetException(MljarException): pass class CreateExperimentException(MljarException): pass class UndefinedExperimentException(MljarException): pass class DatasetUnknownException(MljarException): pass class PredictionDownloadException(MljarException): pass
18.358491
51
0.787256
74
973
10.351351
0.324324
0.18799
0.450392
0
0
0
0
0
0
0
0
0
0.154162
973
52
52
18.711538
0.930741
0.036999
0
0.5
0
0
0
0
0
0
0
0
0
1
0
true
0.5
0
0
0.5
0
0
0
1
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
4
6195ee7f9ca9060dde0e0b55dc9cadd5de3f0a79
102
py
Python
src/addon.py
vladimir-poleh/kodi.kino.pub
bdb6696ab532d12abf4087e663999f7882dbcd0f
[ "BSD-3-Clause" ]
59
2018-10-07T19:54:27.000Z
2022-03-27T08:55:57.000Z
src/addon.py
Limeone/kodi.kino.pub
69fde0f997cf4e624e9588525b710dcf8fbca692
[ "BSD-3-Clause" ]
147
2018-10-07T19:02:13.000Z
2022-03-05T17:15:16.000Z
src/addon.py
Limeone/kodi.kino.pub
69fde0f997cf4e624e9588525b710dcf8fbca692
[ "BSD-3-Clause" ]
22
2018-11-14T16:40:19.000Z
2022-02-11T22:30:28.000Z
#!/usr/bin/python from resources.lib.main import plugin if __name__ == "__main__": plugin.run()
14.571429
37
0.696078
14
102
4.5
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.156863
102
6
38
17
0.732558
0.156863
0
0
0
0
0.094118
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
4ef69e38a7469f2cf5a2328e5e7a6e2bb8262865
357
py
Python
typhoon/contrib/hooks/hook_interface.py
typhoon-data-org/typhoon-orchestrator
f24c4807b0e1ee38713ba1468db761119724dcf2
[ "Apache-2.0" ]
21
2021-04-10T20:57:49.000Z
2022-03-24T06:45:30.000Z
typhoon/contrib/hooks/hook_interface.py
typhoon-data-org/typhoon-orchestrator
f24c4807b0e1ee38713ba1468db761119724dcf2
[ "Apache-2.0" ]
7
2021-11-06T16:10:41.000Z
2021-12-12T11:41:32.000Z
typhoon/contrib/hooks/hook_interface.py
typhoon-data-org/typhoon-orchestrator
f24c4807b0e1ee38713ba1468db761119724dcf2
[ "Apache-2.0" ]
1
2022-03-08T21:22:33.000Z
2022-03-08T21:22:33.000Z
from typing_extensions import Protocol, runtime_checkable from typhoon.connections import ConnectionParams @runtime_checkable class HookInterface(Protocol): conn_type: str conn_params: ConnectionParams def __init__(self, conn_params: ConnectionParams): ... def __enter__(self): ... def __exit__(self, exc_type, exc_val, exc_tb): ...
25.5
58
0.761905
41
357
6.121951
0.585366
0.12749
0.207171
0.231076
0
0
0
0
0
0
0
0
0.151261
357
13
59
27.461538
0.828383
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.222222
0
0.888889
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
4
f6448681f1d269b6c3ebb8b32208db952a14dadd
3,859
py
Python
mergeconf/__init__.py
ComputeCanada/mergeconf
c95207f33850d9763c2cafe4f57b80ccfcf1a7d6
[ "MIT" ]
null
null
null
mergeconf/__init__.py
ComputeCanada/mergeconf
c95207f33850d9763c2cafe4f57b80ccfcf1a7d6
[ "MIT" ]
null
null
null
mergeconf/__init__.py
ComputeCanada/mergeconf
c95207f33850d9763c2cafe4f57b80ccfcf1a7d6
[ "MIT" ]
null
null
null
# vi: set softtabstop=2 ts=2 sw=2 expandtab: # pylint: """ mergeconf - build a single configuration by merging multiple configuration sources with order of precedence, based on immediacy. Configurations can be read from files (via ConfigParser), environment variables, and command-line arguments (via ArgumentParser). By default, configuration in files is overridden by that in environment variables which in turn is overridden by appropriate command-line arguments, but the library offers flexibility in ordering. ## Examples ### Typical use If the following is in `app.conf`: ``` shape = circle upsidedown = false [section2] ratio = 20.403 count = 4 ``` The following code could be used to set that up: ``` import mergeconf conf = mergeconf.MergeConf('myapp', files='app.conf') conf.add('name') conf.add('shape', mandatory=True) conf.add('colour', value='black') conf.add('upsidedown', type=bool) conf.add('rightsideup', type=bool, value=True) section2 = conf.add_section('section2') section2.add('count', type=int, mandatory=True) section2.add('ratio', type=float) # read file, override from environment, ensure mandatories are present conf.merge() ``` Now to make use of the configuration: ``` # use attribute style access print(f"Shape: {conf.shape}") # including for sectioned configuration print(f"Count: {conf.section2.count}") # can also use array indices print(f"Ratio: {conf['section2']['count']}") ``` ### Handling atypical configuration hierarchy In some cases it may be desirable to handle the merging yourself, such as if you want a different hierarchy, such as environment configuration being overridden by file-based configurations. ``` # not specifying file here conf = mergeconf.MergeConf('myapp') conf.add('name') # other configuration items added, etc. # ... # now handle merge steps myself conf.merge_file('app.conf') conf.merge_environment() # don't forget you have to validate when you're done conf.validate() # now ready to use ``` ### Adding command-line arguments MergeConf can work with Python's built-in `argparse` package to handle command-line arguments in addition to configuration files and environment variables: ``` conf = mergeconf.MergeConf('myapp') # use the `cli` parameter to indicate inclusion in command-line arguments, and # use the `description` parameter so there's help text in the command usage conf.add('name', description='Name of the thing', cli=True) ... # set up argparse however you like parser = argparse.ArgumentParser(prog='myapp') parser.add_argument(...) ... # now call MergeConf to configure the parser for indicated configurations conf.config_argparser(parser) # parse arguments args = parser.parse_args() # merge configuration conf.merge(args) ``` ### Generating sample configuration MergeConf also provides a way to generate a sample configuration file using the configuration item descriptions, types and default values. ``` print(conf.sample_config()) ``` Produces something like: ``` # (str) Unique name for the thing #name = # (str) The shape of the thing shape = # (str) The colour of the thing #colour = black # (bool) Upside-downness of the thing #upsidedown = # (bool) Is this thing right-side-up #rightsideup = True [section1] # (str) What level of fluffiness does this item exhibit #fluff = light # (int) It's hard to come up with examples #density = [section2] # (int) How many of the thing count = # (float) The ratio of thing to thang #ratio = ``` Note that: * expected types are described in the comment and what follows is the description * default values are provided in the commented-out assignment * optional items are commented out * mandatory items are not commented out (but blank) """ from .mergeconf import MergeConf from .mergeconfsection import MergeConfSection from .mergeconfitem import MergeConfItem from . import exceptions
23.530488
81
0.752267
544
3,859
5.323529
0.408088
0.019337
0.03453
0.02797
0
0
0
0
0
0
0
0.005473
0.147707
3,859
163
82
23.674847
0.875038
0.958798
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
9c90043776341d4c91c50e0c2c64092b455a4378
126
py
Python
venv/Lib/site-packages/django_toggle_switch_widget/apps.py
nevilparmar11/Music_Sharing_Site
1dec47e0cdbe88b96a99dbfba4e5205e04b746f5
[ "MIT" ]
3
2020-03-20T14:45:50.000Z
2021-06-17T13:30:21.000Z
venv/Lib/site-packages/django_toggle_switch_widget/apps.py
nevilparmar11/Music_Sharing_Site
1dec47e0cdbe88b96a99dbfba4e5205e04b746f5
[ "MIT" ]
4
2021-03-19T02:23:50.000Z
2022-01-13T02:36:34.000Z
venv/Lib/site-packages/django_toggle_switch_widget/apps.py
nevilparmar11/Music_Sharing_Site
1dec47e0cdbe88b96a99dbfba4e5205e04b746f5
[ "MIT" ]
null
null
null
from django.apps import AppConfig class DjangoToggleSwitchWidgetConfig(AppConfig): name = 'django_toggle_switch_widget'
21
48
0.825397
13
126
7.769231
0.846154
0
0
0
0
0
0
0
0
0
0
0
0.119048
126
5
49
25.2
0.90991
0
0
0
0
0
0.214286
0.214286
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
9c95b0369f54b429d1a26181d3aa5bf3e670ac39
52
py
Python
pettingzoo/classic/backgammon_v3.py
RedTachyon/PettingZoo
0c4be0ca0de5a11bf8eff3f7b87976edcacd093e
[ "Apache-2.0" ]
846
2020-05-12T05:55:00.000Z
2021-10-08T19:38:40.000Z
pettingzoo/classic/backgammon_v3.py
RedTachyon/PettingZoo
0c4be0ca0de5a11bf8eff3f7b87976edcacd093e
[ "Apache-2.0" ]
237
2020-04-27T06:01:39.000Z
2021-10-13T02:55:54.000Z
pettingzoo/classic/backgammon_v3.py
RedTachyon/PettingZoo
0c4be0ca0de5a11bf8eff3f7b87976edcacd093e
[ "Apache-2.0" ]
126
2020-05-29T04:20:29.000Z
2021-10-13T05:31:12.000Z
from .backgammon.backgammon_env import env, raw_env
26
51
0.846154
8
52
5.25
0.625
0
0
0
0
0
0
0
0
0
0
0
0.096154
52
1
52
52
0.893617
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
9cc35acd283499cfbc38a7f2ab97c4eaec554733
6,499
py
Python
python/tests/core/avro/test_read_projection.py
moulimukherjee/incubator-iceberg
bf7edc4b325df6dd80d86fea0149d2be0ad09468
[ "Apache-2.0" ]
2,161
2020-05-28T01:20:01.000Z
2022-03-31T14:48:04.000Z
python/tests/core/avro/test_read_projection.py
moulimukherjee/incubator-iceberg
bf7edc4b325df6dd80d86fea0149d2be0ad09468
[ "Apache-2.0" ]
3,096
2020-05-27T20:57:13.000Z
2022-03-31T22:55:42.000Z
python/tests/core/avro/test_read_projection.py
moulimukherjee/incubator-iceberg
bf7edc4b325df6dd80d86fea0149d2be0ad09468
[ "Apache-2.0" ]
879
2020-05-28T01:20:01.000Z
2022-03-31T12:48:48.000Z
# 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 use this file except in compliance with # the License. You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # from .conftest import write_and_read from iceberg.core import ManifestEntry, PartitionSpecParser, SchemaParser from iceberg.core.avro import IcebergToAvro def test_full_projection(iceberg_full_read_projection_schema): schema = SchemaParser.from_json({'type': 'struct', 'fields': [{'id': 1, 'name': 'account_id', 'required': False, 'type': 'long', 'doc': 'Lookup table: account_d'}, {'id': 2, 'name': 'subscrn_id', 'required': False, 'type': 'long'}, {'id': 3, 'name': 'is_in_free_trial', 'required': False, 'type': 'int'}, {'id': 4, 'name': 'subscrn_service_days', 'required': False, 'type': 'int'}, {'id': 5, 'name': 'subscrn_period_nbr', 'required': False, 'type': 'int'}, {'id': 6, 'name': 'account_service_days', 'required': False, 'type': 'int', 'doc': 'number of days subscriber has had service over all subscriptions'}, {'id': 7, 'name': 'account_period_nbr', 'required': False, 'type': 'int'}, {'id': 8, 'name': 'current_plan_id', 'required': False, 'type': 'int', 'doc': 'Lookup table: plan_d'}, {'id': 10, 'name': 'country_iso_code', 'required': False, 'type': 'string', 'doc': 'Registration country id. Lookup table: geo_country_d'}, {'id': 11, 'name': 'is_onhold', 'required': False, 'type': 'int', 'doc': 'Subscriptions can be put on hold due to suspected fraud or failure to pay. subscriber is no longer able to view and is no longer considered a member while on hold'}, {'id': 12, 'name': 'same_day_hold', 'required': False, 'type': 'int', 'doc': 'When a member goes on hold and off hold in the same day'}, {'id': 13, 'name': 'dateint', 'required': False, 'type': 'int', 'doc': 'Will be deprecated'}, {'id': 14, 'name': 'plan_rollup_id', 'required': False, 'type': 'int', 'doc': 'Lookup table: plan_rollup_d'}, {'id': 15, 'name': 'price_tier_code', 'required': False, 'type': 'string', 'doc': 'Lookup table: price_tier_d. You can also use plan_price_d to lookup the combination of (plan_rollup_id, price_tier_code, country_iso_code)'}, {'id': 16, 'name': 'latest_plan_change_date', 'required': False, 'type': 'int', 'doc': 'Members can upgrade or downgrade plans'}, {'id': 17, 'name': 'is_in_product_grace_period', 'required': False, 'type': 'int', 'doc': 'Members on grace period can continue to view, but they are not considered active members since they are not in good payment standing.'}, {'id': 18, 'name': 'is_in_member_cnt', 'required': False, 'type': 'int', 'doc': 'Total # of entitlements. An entitlement is the right to stream Netflix and excludes those on hold or in grace periods and can include both paid and free subs.'}, {'id': 19, 'name': 'is_grace_period_to_member_cnt', 'required': False, 'type': 'int', 'doc': 'Members that were on grace period before, but cleared out and become in good standing'}, {'id': 20, 'name': 'is_grace_period_to_on_hold', 'required': False, 'type': 'int', 'doc': 'Members that were on grace period (usually for 7 days), but they failed to provide a valid payment method so they placed on hold'}, {'id': 21, 'name': 'is_from_gp_start', 'required': False, 'type': 'int', 'doc': 'Grace period start date'}, {'id': 22, 'name': 'is_onhold_without_gp_end', 'required': False, 'type': 'int'}, {'id': 23, 'name': 'subscription_type', 'required': False, 'type': 'string', 'doc': 'Added with NIO project. Values: P (paying only), S (streaming only), PS (paying and streaming)'}, {'id': 24, 'name': 'connected_to_account_id', 'required': False, 'type': 'long', 'doc': 'Added with NIO project. This will only be populated when the paying accounts have logins. Possible values: subscription_type = P, connected_to_account_id = value or null, subscription_type = S, connected_to_account_id = null, subscription_type = PS, connected_to_account_id = null'}, {'id': 25, 'name': 'can_stream', 'required': False, 'type': 'int', 'doc': 'Added with NIO project. Ability to stream whether a member is in good standing or on grace period. Possible values: subscription_type = P, can_stream = 0, subscription_type = S, can_stream = 1, subscription_type = PS, can_stream = 0 or 1 based hold and grace period'}, {'id': 26, 'name': 'is_untethered_account', 'required': False, 'type': 'int', 'doc': 'Added with NIO project. This column is used to identify paying accounts that are not associated with logins. Logic used to populate it: (subscription_type = P, can_stream=0, is_in_member_cnt =1, connected_to_account_id = null) Possible values: subscription_type = P, is_untethered_account = 0 or 1, subscription_type = S, is_untethered_account = 0, subscription_type = PS, is_untethered_account = 0'}, {'id': 27, 'name': 'is_billing_paused', 'required': False, 'type': 'int', 'doc': 'Added with NIO project. Possible values: subscription_type = P, is_billing_paused = 0, subscription_type = S, is_billing_paused = 0 or 1, subscription_type = PS, is_billing_paused = 0.'}, {'id': 28, 'name': 'is_in_customer_count', 'required': False, 'type': 'int'}, {'id': 29, 'name': 'paid_category', 'required': False, 'type': 'string'}, {'id': 30, 'name': 'is_in_paid_member_cnt', 'required': False, 'type': 'int'}, {'id': 31, 'name': 'scale', 'required': False, 'type': 'string'}, {'id': 32, 'name': 'test_new_col', 'required': False, 'type': 'string', 'doc': 'new_column docs'}, {'id': 33, 'name': 'test_new_col_2', 'required': False, 'type': 'string', 'doc': 'new_column docs 2'}]}) spec = PartitionSpecParser.from_json_fields(schema, 0, [{"name": "scale", "transform": "identity", "source-id": 31}]) proj_schema = ManifestEntry.project_schema(spec.partition_type(), ["*"]) print(IcebergToAvro.type_to_schema(proj_schema.as_struct(), "manifest_entry"))
232.107143
5,092
0.690876
946
6,499
4.58351
0.298097
0.095941
0.125461
0.101476
0.322648
0.217712
0.127998
0.089022
0.071033
0.023524
0
0.014438
0.147407
6,499
27
5,093
240.703704
0.768092
0.121096
0
0
0
1.111111
0.656426
0.061096
0
0
0
0
0
1
0.111111
false
0
0.222222
0
0.333333
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
9ccb5c64fa5dfc0f02b3462bbc9da538dc4e59a8
52
py
Python
onmt/multiprocessing/dict_builder.py
tuannamnguyen93/NMTGMinor
acde3454343bda7060fae541c110d0ad1a8ac4f4
[ "MIT" ]
4
2021-07-06T11:39:41.000Z
2022-02-23T10:48:59.000Z
onmt/multiprocessing/dict_builder.py
tuannamnguyen93/NMTGMinor
acde3454343bda7060fae541c110d0ad1a8ac4f4
[ "MIT" ]
2
2021-09-14T03:18:12.000Z
2022-01-25T16:19:51.000Z
onmt/multiprocessing/dict_builder.py
tuannamnguyen93/NMTGMinor
acde3454343bda7060fae541c110d0ad1a8ac4f4
[ "MIT" ]
1
2019-09-15T17:22:58.000Z
2019-09-15T17:22:58.000Z
import torch import os import sys import onmt
4.727273
12
0.730769
8
52
4.75
0.625
0
0
0
0
0
0
0
0
0
0
0
0.269231
52
10
13
5.2
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
9ceaca6f4685ab70c6d86ddedf135e77ee48192c
170
py
Python
new/energies/demag.py
fangohr/oommf-python
9c9f617c4efe4b488f01703186c1126070ea5d3f
[ "BSD-2-Clause" ]
7
2016-01-25T09:36:46.000Z
2021-09-03T01:42:19.000Z
new/energies/demag.py
fangohr/oommf-python
9c9f617c4efe4b488f01703186c1126070ea5d3f
[ "BSD-2-Clause" ]
1
2016-03-07T17:11:44.000Z
2016-03-07T17:11:44.000Z
new/energies/demag.py
fangohr/oommf-python
9c9f617c4efe4b488f01703186c1126070ea5d3f
[ "BSD-2-Clause" ]
9
2015-09-30T10:53:06.000Z
2021-05-12T20:21:52.000Z
class Demag(object): def __init__(self): pass def get_mif(self): mif = '# Demag\n' mif += 'Specify Oxs_Demag {}\n\n' return mif
17
41
0.517647
22
170
3.727273
0.590909
0.146341
0
0
0
0
0
0
0
0
0
0
0.352941
170
9
42
18.888889
0.745455
0
0
0
0
0
0.194118
0
0
0
0
0
0
1
0.285714
false
0.142857
0
0
0.571429
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
4
143212a0c3632774e338ae30515297fe3978dba7
291
py
Python
regulus/tree/__init__.py
yarden-livnat/regulus
ab78a5ef7d2dcdc95f5f8e16dfe58c8db296812f
[ "BSD-3-Clause" ]
3
2018-03-16T20:47:48.000Z
2020-01-07T15:58:18.000Z
regulus/tree/__init__.py
yarden-livnat/regulus.py
ab78a5ef7d2dcdc95f5f8e16dfe58c8db296812f
[ "BSD-3-Clause" ]
3
2018-03-25T07:18:39.000Z
2020-05-06T19:41:38.000Z
regulus/tree/__init__.py
yarden-livnat/regulus.py
ab78a5ef7d2dcdc95f5f8e16dfe58c8db296812f
[ "BSD-3-Clause" ]
3
2018-03-16T20:48:05.000Z
2018-08-30T20:38:00.000Z
from .tree import * from .traittypes import TreeType from .traverse import * from .alg import * from .apply import * from .hastree import * # from .adaptive_tree import AdaptiveTree # from .simplified import SimplifiedTree from .transform import TransformTree from .reduce import ReduceTree
26.454545
41
0.797251
36
291
6.416667
0.472222
0.21645
0
0
0
0
0
0
0
0
0
0
0.14433
291
10
42
29.1
0.927711
0.268041
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
14452b86514616fcd8e4d4288e28eb919a38d308
195
py
Python
database/__init__.py
danielpine/AutoStock
2f4df17171b132489672e451ff2ec7e24205cb09
[ "Apache-2.0" ]
2
2019-10-09T04:38:16.000Z
2020-11-09T14:36:52.000Z
database/__init__.py
danielpine/AutoStock
2f4df17171b132489672e451ff2ec7e24205cb09
[ "Apache-2.0" ]
null
null
null
database/__init__.py
danielpine/AutoStock
2f4df17171b132489672e451ff2ec7e24205cb09
[ "Apache-2.0" ]
null
null
null
from app import app from flask_sqlalchemy import SQLAlchemy app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///stock.db' app.config["SQLALCHEMY_TRACK_MODIFICATIONS"] = True db = SQLAlchemy(app)
27.857143
60
0.794872
26
195
5.769231
0.538462
0.173333
0.253333
0
0
0
0
0
0
0
0
0
0.092308
195
6
61
32.5
0.847458
0
0
0
0
0
0.364103
0.271795
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
1446979bddd48571ea18f55bf28c3abbe8ac5332
554
py
Python
conans/client/graph/conanfile_dependencies.py
lexknuther/conan
acf6de21d5df09c5f9b4743bb9c2c3e1c33d30c8
[ "MIT" ]
null
null
null
conans/client/graph/conanfile_dependencies.py
lexknuther/conan
acf6de21d5df09c5f9b4743bb9c2c3e1c33d30c8
[ "MIT" ]
null
null
null
conans/client/graph/conanfile_dependencies.py
lexknuther/conan
acf6de21d5df09c5f9b4743bb9c2c3e1c33d30c8
[ "MIT" ]
null
null
null
from conans.model.conanfile_interface import ConanFileInterface class ConanFileDependencies: def __init__(self, node): self._node = node @property def build_requires(self): return [ConanFileInterface(edge.dst.conanfile) for edge in self._node.dependencies if edge.build_require] @property def requires(self): # public direct requires return [ConanFileInterface(edge.dst.conanfile) for edge in self._node.dependencies if not edge.build_require and not edge.private]
29.157895
90
0.696751
63
554
5.952381
0.460317
0.085333
0.149333
0.165333
0.378667
0.378667
0.378667
0.378667
0.378667
0.378667
0
0
0.236462
554
18
91
30.777778
0.886525
0.039711
0
0.333333
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.083333
0.166667
0.583333
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
4
14570e71857d877a38985687919f7afbe97184a0
174
py
Python
run.py
mikespub-org/TwilioDevEd-account-security-quickstart-flask
42f0c159416a03b30af2add65214ba3f09060880
[ "MIT" ]
null
null
null
run.py
mikespub-org/TwilioDevEd-account-security-quickstart-flask
42f0c159416a03b30af2add65214ba3f09060880
[ "MIT" ]
30
2021-05-06T15:18:32.000Z
2022-03-29T12:37:31.000Z
run.py
mikespub-org/TwilioDevEd-account-security-quickstart-flask
42f0c159416a03b30af2add65214ba3f09060880
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 from twofa import app, init_db if __name__ == "__main__": init_db() app.run(debug=True) # app.run(debug=True, host='0.0.0.0', port=8080)
19.333333
52
0.643678
30
174
3.4
0.666667
0.058824
0.215686
0.294118
0
0
0
0
0
0
0
0.062937
0.178161
174
8
53
21.75
0.65035
0.390805
0
0
0
0
0.076923
0
0
0
0
0
0
1
0
true
0
0.25
0
0.25
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
14933692a481475d0673bcb79a05ba4aba998b85
42
py
Python
.history/ClassFiles/OOP/Encapsulation_20210105144324.py
minefarmer/Comprehensive-Python
f97b9b83ec328fc4e4815607e6a65de90bb8de66
[ "Unlicense" ]
null
null
null
.history/ClassFiles/OOP/Encapsulation_20210105144324.py
minefarmer/Comprehensive-Python
f97b9b83ec328fc4e4815607e6a65de90bb8de66
[ "Unlicense" ]
null
null
null
.history/ClassFiles/OOP/Encapsulation_20210105144324.py
minefarmer/Comprehensive-Python
f97b9b83ec328fc4e4815607e6a65de90bb8de66
[ "Unlicense" ]
null
null
null
''' Encapsulation : Part 1
42
42
0.428571
3
42
6
1
0
0
0
0
0
0
0
0
0
0
0.045455
0.47619
42
1
42
42
0.772727
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
4
149de5c2c8b0dcc6aacea49aaa496ab177fe92a2
338
py
Python
server/src/weblab/core/wl.py
zstars/weblabdeusto
09bd9d93d483671bca67ee5c70a9c412eb5d352f
[ "BSD-2-Clause" ]
null
null
null
server/src/weblab/core/wl.py
zstars/weblabdeusto
09bd9d93d483671bca67ee5c70a9c412eb5d352f
[ "BSD-2-Clause" ]
null
null
null
server/src/weblab/core/wl.py
zstars/weblabdeusto
09bd9d93d483671bca67ee5c70a9c412eb5d352f
[ "BSD-2-Clause" ]
null
null
null
from weblab.core.new_server import WebLabAPI weblab_api = WebLabAPI(['login_web', 'web', 'webclient']) import webclient.web.view_index import webclient.web.view_labs import webclient.web.view_lab @weblab_api.route_webclient("/test/", methods=["GET", "POST"]) def test(): weblab_api.ctx.reservation_id = "TEST" return "HAI"
19.882353
62
0.739645
47
338
5.106383
0.553191
0.1125
0.225
0.275
0
0
0
0
0
0
0
0
0.118343
338
16
63
21.125
0.805369
0
0
0
0
0
0.122024
0
0
0
0
0
0
1
0.111111
false
0
0.444444
0
0.666667
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
21242ee1f1dbed09828ae700ee83b8d2815127cd
176
py
Python
game_data/__init__.py
MonsterSpawned/CSE210-03
fb026d625aa88f802bce5177210259c4ec7a4920
[ "MIT" ]
null
null
null
game_data/__init__.py
MonsterSpawned/CSE210-03
fb026d625aa88f802bce5177210259c4ec7a4920
[ "MIT" ]
3
2022-02-07T22:56:30.000Z
2022-02-08T04:03:56.000Z
game_data/__init__.py
MonsterSpawned/CSE210-03
fb026d625aa88f802bce5177210259c4ec7a4920
[ "MIT" ]
1
2022-02-08T02:03:46.000Z
2022-02-08T02:03:46.000Z
# NOTE: DO NOT EDIT THIS FILE. IT IS ONLY FOR THE PURPOSE OF PYTHON RECOGNIZING THIS DIRECTORY AS A FOLDER WITH CODE. # WITHOUT IT, NONE OF THE CODE IN THIS FOLDER WOULD LOAD.
88
118
0.761364
33
176
4.060606
0.787879
0
0
0
0
0
0
0
0
0
0
0
0.198864
176
2
119
88
0.950355
0.977273
0
null
1
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
1
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
212d92c973ba0ffc8a046bb92a329ebbf0a03cb4
262
py
Python
src/model.py
Irreq/gyarbete
6c86ddfdecccb9a3d425d916dfc15f40223937ce
[ "MIT" ]
null
null
null
src/model.py
Irreq/gyarbete
6c86ddfdecccb9a3d425d916dfc15f40223937ce
[ "MIT" ]
null
null
null
src/model.py
Irreq/gyarbete
6c86ddfdecccb9a3d425d916dfc15f40223937ce
[ "MIT" ]
1
2021-05-16T14:23:59.000Z
2021-05-16T14:23:59.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # src/model.py # Author : Irreq """ DOCUMENTATION: Define the model. TODO: Everything. Implement the CNN and fix the core of modem. """
17.466667
61
0.469466
27
262
4.555556
0.888889
0
0
0
0
0
0
0
0
0
0
0.013072
0.416031
262
14
62
18.714286
0.79085
0.927481
0
null
0
null
0
0
null
0
0
0.071429
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
1
0
0
0
1
0
0
0
0
0
0
4
2165d907e829926ccebdcff366c089bb32d116b0
85
py
Python
catalog/tests/__init__.py
larrywang0128/django_locallibrary
1efb1ad8a4661ae552b030a64f28bfc464903bbe
[ "MIT" ]
null
null
null
catalog/tests/__init__.py
larrywang0128/django_locallibrary
1efb1ad8a4661ae552b030a64f28bfc464903bbe
[ "MIT" ]
13
2020-03-24T16:09:33.000Z
2022-03-11T23:29:47.000Z
catalog/tests/__init__.py
larrywang0128/django_locallibrary
1efb1ad8a4661ae552b030a64f28bfc464903bbe
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Fri Aug 24 10:52:22 2018 @author: haiwa """
10.625
35
0.564706
14
85
3.428571
1
0
0
0
0
0
0
0
0
0
0
0.19403
0.211765
85
7
36
12.142857
0.522388
0.870588
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
dcc7a66f53841fb8e23d9b89f7160a8e5de2f630
81
py
Python
epibox/__main__.py
anascacais/EpiBOX
23f8963c4a2f5457dd8773e6092b86b0db35e2c7
[ "MIT" ]
1
2021-07-14T10:03:54.000Z
2021-07-14T10:03:54.000Z
epibox/__main__.py
anascacais/epibox
23f8963c4a2f5457dd8773e6092b86b0db35e2c7
[ "MIT" ]
null
null
null
epibox/__main__.py
anascacais/epibox
23f8963c4a2f5457dd8773e6092b86b0db35e2c7
[ "MIT" ]
null
null
null
from epibox.startup import startup if __name__ == '__main__': startup.main()
20.25
34
0.728395
10
81
5.1
0.7
0
0
0
0
0
0
0
0
0
0
0
0.160494
81
4
35
20.25
0.75
0
0
0
0
0
0.097561
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
dcf20b1815b59f26073b925139ada34da40d5c16
11,176
py
Python
mistralclient/tests/unit/v2/test_actions.py
lostmap/python-mistralclient
f77c1d23fb68b24d7406647b489f3f960026c46b
[ "Apache-2.0" ]
29
2015-06-23T08:06:59.000Z
2020-07-21T07:19:37.000Z
mistralclient/tests/unit/v2/test_actions.py
lostmap/python-mistralclient
f77c1d23fb68b24d7406647b489f3f960026c46b
[ "Apache-2.0" ]
1
2021-04-23T06:05:58.000Z
2021-04-23T06:05:58.000Z
mistralclient/tests/unit/v2/test_actions.py
lostmap/python-mistralclient
f77c1d23fb68b24d7406647b489f3f960026c46b
[ "Apache-2.0" ]
18
2015-10-14T15:38:37.000Z
2021-04-22T08:18:06.000Z
# Copyright 2015 Huawei Technologies Co., Ltd. # Copyright 2020 Nokia Software. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. import os.path import pkg_resources as pkg from urllib import parse from urllib import request from mistralclient.api import base as api_base from mistralclient.api.v2 import actions from mistralclient.tests.unit.v2 import base ACTION_DEF = """ --- version: 2.0 my_action: base: std.echo base-input: output: 'Bye!' output: info: <% $.output %> """ INVALID_ACTION_DEF = """ --- version: 2.0 my_action: base: std.echo unexpected-property: 'this should fail' base-input: output: 'Bye!' output: info: <% $.output %> """ ACTION = { 'id': '123', 'name': 'my_action', 'input': '', 'definition': ACTION_DEF } URL_TEMPLATE = '/actions' URL_TEMPLATE_SCOPE = '/actions?scope=private' URL_TEMPLATE_NAME = '/actions/%s' URL_TEMPLATE_VALIDATE = '/actions/validate' class TestActionsV2(base.BaseClientV2Test): def test_create(self): self.requests_mock.post(self.TEST_URL + URL_TEMPLATE, json={'actions': [ACTION]}, status_code=201) actions = self.actions.create(ACTION_DEF) self.assertIsNotNone(actions) self.assertEqual(ACTION_DEF, actions[0].definition) last_request = self.requests_mock.last_request self.assertEqual('text/plain', last_request.headers['content-type']) self.assertEqual(ACTION_DEF, last_request.text) def test_create_with_namespace(self): self.requests_mock.post(self.TEST_URL + URL_TEMPLATE, json={'actions': [ACTION]}, status_code=201) actions = self.actions.create(ACTION_DEF, namespace='test_namespace') self.assertIsNotNone(actions) self.assertEqual(ACTION_DEF, actions[0].definition) last_request = self.requests_mock.last_request self.assertEqual('text/plain', last_request.headers['content-type']) self.assertEqual(ACTION_DEF, last_request.text) def test_create_with_file(self): self.requests_mock.post(self.TEST_URL + URL_TEMPLATE, json={'actions': [ACTION]}, status_code=201) # The contents of action_v2.yaml must be identical to ACTION_DEF path = pkg.resource_filename( 'mistralclient', 'tests/unit/resources/action_v2.yaml' ) actions = self.actions.create(path) self.assertIsNotNone(actions) self.assertEqual(ACTION_DEF, actions[0].definition) last_request = self.requests_mock.last_request self.assertEqual('text/plain', last_request.headers['content-type']) self.assertEqual(ACTION_DEF, last_request.text) def test_update_with_id(self): self.requests_mock.put(self.TEST_URL + URL_TEMPLATE_NAME % 123, json={'actions': [ACTION]}) actions = self.actions.update(ACTION_DEF, id=123) self.assertIsNotNone(actions) self.assertEqual(ACTION_DEF, actions[0].definition) last_request = self.requests_mock.last_request self.assertEqual('scope=private', last_request.query) self.assertEqual('text/plain', last_request.headers['content-type']) self.assertEqual(ACTION_DEF, last_request.text) def test_update(self): self.requests_mock.put(self.TEST_URL + URL_TEMPLATE, json={'actions': [ACTION]}) actions = self.actions.update(ACTION_DEF) self.assertIsNotNone(actions) self.assertEqual(ACTION_DEF, actions[0].definition) last_request = self.requests_mock.last_request self.assertEqual('scope=private', last_request.query) self.assertEqual('text/plain', last_request.headers['content-type']) self.assertEqual(ACTION_DEF, last_request.text) def test_update_with_namespace(self): self.requests_mock.put(self.TEST_URL + URL_TEMPLATE, json={'actions': [ACTION]}) actions = self.actions.update(ACTION_DEF, namespace='test_namespace') self.assertIsNotNone(actions) self.assertEqual(ACTION_DEF, actions[0].definition) last_request = self.requests_mock.last_request self.assertEqual('scope=private&namespace=test_namespace', last_request.query) self.assertEqual('text/plain', last_request.headers['content-type']) self.assertEqual(ACTION_DEF, last_request.text) def test_update_with_file_uri(self): self.requests_mock.put(self.TEST_URL + URL_TEMPLATE, json={'actions': [ACTION]}) # The contents of action_v2.yaml must be identical to ACTION_DEF path = pkg.resource_filename( 'mistralclient', 'tests/unit/resources/action_v2.yaml' ) path = os.path.abspath(path) # Convert the file path to file URI uri = parse.urljoin('file:', request.pathname2url(path)) actions = self.actions.update(uri) self.assertIsNotNone(actions) self.assertEqual(ACTION_DEF, actions[0].definition) last_request = self.requests_mock.last_request self.assertEqual('scope=private', last_request.query) self.assertEqual('text/plain', last_request.headers['content-type']) self.assertEqual(ACTION_DEF, last_request.text) def test_list(self): self.requests_mock.get(self.TEST_URL + URL_TEMPLATE, json={'actions': [ACTION]}) action_list = self.actions.list() self.assertEqual(1, len(action_list)) action = action_list[0] self.assertEqual( actions.Action(self.actions, ACTION).to_dict(), action.to_dict() ) def test_list_with_pagination(self): self.requests_mock.get(self.TEST_URL + URL_TEMPLATE, json={'actions': [ACTION], 'next': '/actions?fake'}) action_list = self.actions.list( limit=1, sort_keys='created_at', sort_dirs='asc' ) self.assertEqual(1, len(action_list)) last_request = self.requests_mock.last_request # The url param order is unpredictable. self.assertEqual(['1'], last_request.qs['limit']) self.assertEqual(['created_at'], last_request.qs['sort_keys']) self.assertEqual(['asc'], last_request.qs['sort_dirs']) def test_list_with_no_limit(self): self.requests_mock.get(self.TEST_URL + URL_TEMPLATE, json={'actions': [ACTION]}) action_list = self.actions.list(limit=-1) self.assertEqual(1, len(action_list)) last_request = self.requests_mock.last_request self.assertNotIn('limit', last_request.qs) def test_get(self): self.requests_mock.get(self.TEST_URL + URL_TEMPLATE_NAME % 'action/', json=ACTION) action = self.actions.get('action') self.assertIsNotNone(action) self.assertEqual( actions.Action(self.actions, ACTION).to_dict(), action.to_dict() ) def test_get_with_namespace(self): self.requests_mock.get(self.TEST_URL + URL_TEMPLATE_NAME % 'action/namespace', json=ACTION) action = self.actions.get('action', 'namespace') self.assertIsNotNone(action) self.assertEqual( actions.Action(self.actions, ACTION).to_dict(), action.to_dict() ) def test_delete(self): url = self.TEST_URL + URL_TEMPLATE_NAME % 'action/' m = self.requests_mock.delete(url, status_code=204) self.actions.delete('action') self.assertEqual(1, m.call_count) def test_delete_with_namespace(self): url = self.TEST_URL + URL_TEMPLATE_NAME % 'action/namespace' m = self.requests_mock.delete(url, status_code=204) self.actions.delete('action', 'namespace') self.assertEqual(1, m.call_count) def test_validate(self): self.requests_mock.post(self.TEST_URL + URL_TEMPLATE_VALIDATE, json={'valid': True}) result = self.actions.validate(ACTION_DEF) self.assertIsNotNone(result) self.assertIn('valid', result) self.assertTrue(result['valid']) last_request = self.requests_mock.last_request self.assertEqual(ACTION_DEF, last_request.text) self.assertEqual('text/plain', last_request.headers['content-type']) def test_validate_with_file(self): self.requests_mock.post(self.TEST_URL + URL_TEMPLATE_VALIDATE, json={'valid': True}) # The contents of action_v2.yaml must be identical to ACTION_DEF path = pkg.resource_filename( 'mistralclient', 'tests/unit/resources/action_v2.yaml' ) result = self.actions.validate(path) self.assertIsNotNone(result) self.assertIn('valid', result) self.assertTrue(result['valid']) last_request = self.requests_mock.last_request self.assertEqual(ACTION_DEF, last_request.text) self.assertEqual('text/plain', last_request.headers['content-type']) def test_validate_failed(self): self.requests_mock.post(self.TEST_URL + URL_TEMPLATE_VALIDATE, json={"valid": False, "error": "mocked error message"}) result = self.actions.validate(INVALID_ACTION_DEF) self.assertIsNotNone(result) self.assertIn('valid', result) self.assertFalse(result['valid']) self.assertIn('error', result) self.assertIn("mocked error message", result['error']) last_request = self.requests_mock.last_request self.assertEqual('text/plain', last_request.headers['content-type']) def test_validate_api_failed(self): self.requests_mock.post(self.TEST_URL + URL_TEMPLATE_VALIDATE, status_code=500, json={}) self.assertRaises( api_base.APIException, self.actions.validate, ACTION_DEF ) last_request = self.requests_mock.last_request self.assertEqual('text/plain', last_request.headers['content-type']) self.assertEqual(ACTION_DEF, last_request.text)
33.361194
77
0.630727
1,283
11,176
5.292284
0.142634
0.089102
0.073049
0.037113
0.752283
0.745361
0.735935
0.709867
0.696907
0.678056
0
0.00848
0.261364
11,176
334
78
33.461078
0.814052
0.078382
0
0.583333
0
0
0.115661
0.016051
0
0
0
0
0.285088
1
0.078947
false
0
0.030702
0
0.114035
0
0
0
0
null
0
0
0
0
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
0d26104753de0dfff4eeef393a14bda2d2db94fc
92
py
Python
PoC/connectiontypes/__init__.py
odonnellc/qlife
e20f0e7ba6a194c53afff7585a885f90a9fedaf3
[ "MIT" ]
null
null
null
PoC/connectiontypes/__init__.py
odonnellc/qlife
e20f0e7ba6a194c53afff7585a885f90a9fedaf3
[ "MIT" ]
null
null
null
PoC/connectiontypes/__init__.py
odonnellc/qlife
e20f0e7ba6a194c53afff7585a885f90a9fedaf3
[ "MIT" ]
null
null
null
#Serves no other purpose than for python to recognise this folder for imports. #Hacky hacky!
46
78
0.804348
15
92
4.933333
0.866667
0
0
0
0
0
0
0
0
0
0
0
0.152174
92
2
79
46
0.948718
0.967391
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
0d2d4552e27853648f091daabe017b541ed4a0d3
1,371
py
Python
molecule/python/test/test_wallet_permission_api.py
sumit4-ttn/SDK
b3ae385e5415e47ac70abd0b3fdeeaeee9aa7cff
[ "Apache-2.0" ]
null
null
null
molecule/python/test/test_wallet_permission_api.py
sumit4-ttn/SDK
b3ae385e5415e47ac70abd0b3fdeeaeee9aa7cff
[ "Apache-2.0" ]
null
null
null
molecule/python/test/test_wallet_permission_api.py
sumit4-ttn/SDK
b3ae385e5415e47ac70abd0b3fdeeaeee9aa7cff
[ "Apache-2.0" ]
null
null
null
# coding: utf-8 """ Molecule API Documentation The Hydrogen Molecule API # noqa: E501 OpenAPI spec version: 1.3.0 Contact: info@hydrogenplatform.com Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import unittest import molecule_api from molecule_api.api.wallet_permission_api import WalletPermissionApi # noqa: E501 from molecule_api.rest import ApiException class TestWalletPermissionApi(unittest.TestCase): """WalletPermissionApi unit test stubs""" def setUp(self): self.api = molecule_api.api.wallet_permission_api.WalletPermissionApi() # noqa: E501 def tearDown(self): pass def test_get_wallet_permission_all_using_get(self): """Test case for get_wallet_permission_all_using_get Fetch Wallet list with client's permissions # noqa: E501 """ pass def test_get_wallet_permission_using_get(self): """Test case for get_wallet_permission_using_get Fetch Wallet's client permissions details # noqa: E501 """ pass def test_update_wallet_permission_using_put(self): """Test case for update_wallet_permission_using_put Update client's permission for provided Wallet # noqa: E501 """ pass if __name__ == '__main__': unittest.main()
24.482143
93
0.707513
169
1,371
5.443787
0.390533
0.13913
0.082609
0.048913
0.346739
0.243478
0.091304
0.091304
0.091304
0
0
0.020542
0.218818
1,371
55
94
24.927273
0.838469
0.431802
0
0.222222
1
0
0.011799
0
0
0
0
0
0
1
0.277778
false
0.222222
0.277778
0
0.611111
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
4
0d3b4920b4fdb9c2a65fdef428455b1828bc8e7d
109
py
Python
io/swig/io/__init__.py
ljktest/siconos
85b60e62beca46e6bf06bfbd65670089e86607c7
[ "Apache-2.0" ]
null
null
null
io/swig/io/__init__.py
ljktest/siconos
85b60e62beca46e6bf06bfbd65670089e86607c7
[ "Apache-2.0" ]
null
null
null
io/swig/io/__init__.py
ljktest/siconos
85b60e62beca46e6bf06bfbd65670089e86607c7
[ "Apache-2.0" ]
1
2015-10-07T19:35:16.000Z
2015-10-07T19:35:16.000Z
"""Input/Output module. """ from .io_base import save, load #from .mechanics_run import MechanicsHdf5Runner
18.166667
47
0.770642
14
109
5.857143
0.857143
0
0
0
0
0
0
0
0
0
0
0.010417
0.119266
109
5
48
21.8
0.84375
0.614679
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
0d400083cc4088f0c760a58b755bbd9dd90221d0
104
py
Python
starling_sim/basemodel/__init__.py
tellae/starling
56121c728eb5de3dfc77cdf08da89548f3315c87
[ "CECILL-B" ]
19
2021-02-16T12:32:22.000Z
2022-01-06T11:16:44.000Z
starling_sim/basemodel/__init__.py
tellae/starling
56121c728eb5de3dfc77cdf08da89548f3315c87
[ "CECILL-B" ]
20
2021-01-13T20:58:07.000Z
2022-03-21T15:53:07.000Z
starling_sim/basemodel/__init__.py
tellae/starling
56121c728eb5de3dfc77cdf08da89548f3315c87
[ "CECILL-B" ]
null
null
null
""" This package contains modules related to the generic simulation layer for transport simulation. """
26
95
0.788462
13
104
6.307692
0.923077
0
0
0
0
0
0
0
0
0
0
0
0.144231
104
3
96
34.666667
0.921348
0.913462
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
0d57adc735048dc4e940a47f8ec41d3bd8493869
1,346
py
Python
src/features/CFBStats_create_features.py
ereidelbach/cfbAnalysis
55366a4305b3f99adab491b38426258b0a28e62f
[ "MIT" ]
1
2021-04-15T00:59:16.000Z
2021-04-15T00:59:16.000Z
src/features/CFBStats_create_features.py
ereidelbach/cfbAnalysis
55366a4305b3f99adab491b38426258b0a28e62f
[ "MIT" ]
null
null
null
src/features/CFBStats_create_features.py
ereidelbach/cfbAnalysis
55366a4305b3f99adab491b38426258b0a28e62f
[ "MIT" ]
null
null
null
#!/usr/bin/env python3.7 # -*- coding: utf-8 -*- """ Created on Fri Nov 30 17:37:18 2018 @author: ejreidelbach :DESCRIPTION: :REQUIRES: :TODO: """ #============================================================================== # Package Import #============================================================================== import os import pandas as pd import pathlib #============================================================================== # Function Definitions / Reference Variable Declaration #============================================================================== def function_name(var1, var2, var3): ''' Purpose: Stuff goes here Input: (1) var1 (type): description (2) var2 (type): description (3) var3 (type): description Output: (1) output1 (type): description ''' def createRankingVariable(): # National Ranking # Conference Ranking # Division Ranking #============================================================================== # Working Code #============================================================================== # Set the project working directory path_project = pathlib.Path(__file__).resolve().parents[2] #path_project = pathlib.Path('/home/ejreidelbach/Projects/cfbAnalysis') os.chdir(path_project)
24.925926
79
0.421991
100
1,346
5.6
0.69
0.107143
0.064286
0.078571
0
0
0
0
0
0
0
0.023643
0.15156
1,346
53
80
25.396226
0.466725
0.558692
0
0
0
0
0
0
0
0
0
0.018868
0
0
null
null
0
0.428571
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
1
0
1
0
0
0
1
0
0
0
0
4
b491d9e45d13e6e77f47c9b7c638e44bff9a528b
22,103
py
Python
mac/pyobjc-framework-Quartz/PyObjCTest/test_cgimageproperties.py
albertz/music-player
d23586f5bf657cbaea8147223be7814d117ae73d
[ "BSD-2-Clause" ]
132
2015-01-01T10:02:42.000Z
2022-03-09T12:51:01.000Z
mac/pyobjc-framework-Quartz/PyObjCTest/test_cgimageproperties.py
mba811/music-player
7998986b34cfda2244ef622adefb839331b81a81
[ "BSD-2-Clause" ]
6
2015-01-06T08:23:19.000Z
2019-03-14T12:22:06.000Z
mac/pyobjc-framework-Quartz/PyObjCTest/test_cgimageproperties.py
mba811/music-player
7998986b34cfda2244ef622adefb839331b81a81
[ "BSD-2-Clause" ]
27
2015-02-23T11:51:43.000Z
2022-03-07T02:34:18.000Z
from PyObjCTools.TestSupport import * from Quartz import * try: unicode except NameError: unicode = str class TestCGImageProperties (TestCase): def testConstants(self): self.assertIsInstance(kCGImagePropertyTIFFDictionary, unicode) self.assertIsInstance(kCGImagePropertyGIFDictionary, unicode) self.assertIsInstance(kCGImagePropertyJFIFDictionary, unicode) self.assertIsInstance(kCGImagePropertyExifDictionary, unicode) self.assertIsInstance(kCGImagePropertyPNGDictionary, unicode) self.assertIsInstance(kCGImagePropertyIPTCDictionary, unicode) self.assertIsInstance(kCGImagePropertyGPSDictionary, unicode) self.assertIsInstance(kCGImagePropertyRawDictionary, unicode) self.assertIsInstance(kCGImagePropertyCIFFDictionary, unicode) self.assertIsInstance(kCGImagePropertyFileSize, unicode) self.assertIsInstance(kCGImagePropertyPixelHeight, unicode) self.assertIsInstance(kCGImagePropertyPixelWidth, unicode) self.assertIsInstance(kCGImagePropertyDPIHeight, unicode) self.assertIsInstance(kCGImagePropertyDPIWidth, unicode) self.assertIsInstance(kCGImagePropertyDepth, unicode) self.assertIsInstance(kCGImagePropertyOrientation, unicode) self.assertIsInstance(kCGImagePropertyIsFloat, unicode) self.assertIsInstance(kCGImagePropertyIsIndexed, unicode) self.assertIsInstance(kCGImagePropertyHasAlpha, unicode) self.assertIsInstance(kCGImagePropertyColorModel, unicode) self.assertIsInstance(kCGImagePropertyProfileName, unicode) self.assertIsInstance(kCGImagePropertyColorModelRGB, unicode) self.assertIsInstance(kCGImagePropertyColorModelGray, unicode) self.assertIsInstance(kCGImagePropertyColorModelCMYK, unicode) self.assertIsInstance(kCGImagePropertyColorModelLab, unicode) self.assertIsInstance(kCGImagePropertyTIFFCompression, unicode) self.assertIsInstance(kCGImagePropertyTIFFPhotometricInterpretation, unicode) self.assertIsInstance(kCGImagePropertyTIFFDocumentName, unicode) self.assertIsInstance(kCGImagePropertyTIFFImageDescription, unicode) self.assertIsInstance(kCGImagePropertyTIFFMake, unicode) self.assertIsInstance(kCGImagePropertyTIFFModel, unicode) self.assertIsInstance(kCGImagePropertyTIFFOrientation, unicode) self.assertIsInstance(kCGImagePropertyTIFFXResolution, unicode) self.assertIsInstance(kCGImagePropertyTIFFYResolution, unicode) self.assertIsInstance(kCGImagePropertyTIFFResolutionUnit, unicode) self.assertIsInstance(kCGImagePropertyTIFFSoftware, unicode) self.assertIsInstance(kCGImagePropertyTIFFTransferFunction, unicode) self.assertIsInstance(kCGImagePropertyTIFFDateTime, unicode) self.assertIsInstance(kCGImagePropertyTIFFArtist, unicode) self.assertIsInstance(kCGImagePropertyTIFFHostComputer, unicode) self.assertIsInstance(kCGImagePropertyTIFFCopyright, unicode) self.assertIsInstance(kCGImagePropertyTIFFWhitePoint, unicode) self.assertIsInstance(kCGImagePropertyTIFFPrimaryChromaticities, unicode) self.assertIsInstance(kCGImagePropertyJFIFVersion, unicode) self.assertIsInstance(kCGImagePropertyJFIFXDensity, unicode) self.assertIsInstance(kCGImagePropertyJFIFYDensity, unicode) self.assertIsInstance(kCGImagePropertyJFIFDensityUnit, unicode) self.assertIsInstance(kCGImagePropertyJFIFIsProgressive, unicode) self.assertIsInstance(kCGImagePropertyExifExposureTime, unicode) self.assertIsInstance(kCGImagePropertyExifFNumber, unicode) self.assertIsInstance(kCGImagePropertyExifExposureProgram, unicode) self.assertIsInstance(kCGImagePropertyExifSpectralSensitivity, unicode) self.assertIsInstance(kCGImagePropertyExifISOSpeedRatings, unicode) self.assertIsInstance(kCGImagePropertyExifOECF, unicode) self.assertIsInstance(kCGImagePropertyExifVersion, unicode) self.assertIsInstance(kCGImagePropertyExifDateTimeOriginal, unicode) self.assertIsInstance(kCGImagePropertyExifDateTimeDigitized, unicode) self.assertIsInstance(kCGImagePropertyExifComponentsConfiguration, unicode) self.assertIsInstance(kCGImagePropertyExifCompressedBitsPerPixel, unicode) self.assertIsInstance(kCGImagePropertyExifShutterSpeedValue, unicode) self.assertIsInstance(kCGImagePropertyExifApertureValue, unicode) self.assertIsInstance(kCGImagePropertyExifBrightnessValue, unicode) self.assertIsInstance(kCGImagePropertyExifExposureBiasValue, unicode) self.assertIsInstance(kCGImagePropertyExifMaxApertureValue, unicode) self.assertIsInstance(kCGImagePropertyExifSubjectDistance, unicode) self.assertIsInstance(kCGImagePropertyExifMeteringMode, unicode) self.assertIsInstance(kCGImagePropertyExifLightSource, unicode) self.assertIsInstance(kCGImagePropertyExifFlash, unicode) self.assertIsInstance(kCGImagePropertyExifFocalLength, unicode) self.assertIsInstance(kCGImagePropertyExifSubjectArea, unicode) self.assertIsInstance(kCGImagePropertyExifMakerNote, unicode) self.assertIsInstance(kCGImagePropertyExifUserComment, unicode) self.assertIsInstance(kCGImagePropertyExifSubsecTime, unicode) self.assertIsInstance(kCGImagePropertyExifSubsecTimeOrginal, unicode) self.assertIsInstance(kCGImagePropertyExifSubsecTimeDigitized, unicode) self.assertIsInstance(kCGImagePropertyExifFlashPixVersion, unicode) self.assertIsInstance(kCGImagePropertyExifColorSpace, unicode) self.assertIsInstance(kCGImagePropertyExifPixelXDimension, unicode) self.assertIsInstance(kCGImagePropertyExifPixelYDimension, unicode) self.assertIsInstance(kCGImagePropertyExifRelatedSoundFile, unicode) self.assertIsInstance(kCGImagePropertyExifFlashEnergy, unicode) self.assertIsInstance(kCGImagePropertyExifSpatialFrequencyResponse, unicode) self.assertIsInstance(kCGImagePropertyExifFocalPlaneXResolution, unicode) self.assertIsInstance(kCGImagePropertyExifFocalPlaneYResolution, unicode) self.assertIsInstance(kCGImagePropertyExifFocalPlaneResolutionUnit, unicode) self.assertIsInstance(kCGImagePropertyExifSubjectLocation, unicode) self.assertIsInstance(kCGImagePropertyExifExposureIndex, unicode) self.assertIsInstance(kCGImagePropertyExifSensingMethod, unicode) self.assertIsInstance(kCGImagePropertyExifFileSource, unicode) self.assertIsInstance(kCGImagePropertyExifSceneType, unicode) self.assertIsInstance(kCGImagePropertyExifCFAPattern, unicode) self.assertIsInstance(kCGImagePropertyExifCustomRendered, unicode) self.assertIsInstance(kCGImagePropertyExifExposureMode, unicode) self.assertIsInstance(kCGImagePropertyExifWhiteBalance, unicode) self.assertIsInstance(kCGImagePropertyExifDigitalZoomRatio, unicode) self.assertIsInstance(kCGImagePropertyExifFocalLenIn35mmFilm, unicode) self.assertIsInstance(kCGImagePropertyExifSceneCaptureType, unicode) self.assertIsInstance(kCGImagePropertyExifGainControl, unicode) self.assertIsInstance(kCGImagePropertyExifContrast, unicode) self.assertIsInstance(kCGImagePropertyExifSaturation, unicode) self.assertIsInstance(kCGImagePropertyExifSharpness, unicode) self.assertIsInstance(kCGImagePropertyExifDeviceSettingDescription, unicode) self.assertIsInstance(kCGImagePropertyExifSubjectDistRange, unicode) self.assertIsInstance(kCGImagePropertyExifImageUniqueID, unicode) self.assertIsInstance(kCGImagePropertyExifGamma, unicode) self.assertIsInstance(kCGImagePropertyGIFLoopCount, unicode) self.assertIsInstance(kCGImagePropertyGIFDelayTime, unicode) self.assertIsInstance(kCGImagePropertyGIFImageColorMap, unicode) self.assertIsInstance(kCGImagePropertyGIFHasGlobalColorMap, unicode) self.assertIsInstance(kCGImagePropertyPNGGamma, unicode) self.assertIsInstance(kCGImagePropertyPNGInterlaceType, unicode) self.assertIsInstance(kCGImagePropertyPNGXPixelsPerMeter, unicode) self.assertIsInstance(kCGImagePropertyPNGYPixelsPerMeter, unicode) self.assertIsInstance(kCGImagePropertyPNGsRGBIntent, unicode) self.assertIsInstance(kCGImagePropertyPNGChromaticities, unicode) self.assertIsInstance(kCGImagePropertyGPSVersion, unicode) self.assertIsInstance(kCGImagePropertyGPSLatitudeRef, unicode) self.assertIsInstance(kCGImagePropertyGPSLatitude, unicode) self.assertIsInstance(kCGImagePropertyGPSLongitudeRef, unicode) self.assertIsInstance(kCGImagePropertyGPSLongitude, unicode) self.assertIsInstance(kCGImagePropertyGPSAltitudeRef, unicode) self.assertIsInstance(kCGImagePropertyGPSAltitude, unicode) self.assertIsInstance(kCGImagePropertyGPSTimeStamp, unicode) self.assertIsInstance(kCGImagePropertyGPSSatellites, unicode) self.assertIsInstance(kCGImagePropertyGPSStatus, unicode) self.assertIsInstance(kCGImagePropertyGPSMeasureMode, unicode) self.assertIsInstance(kCGImagePropertyGPSDOP, unicode) self.assertIsInstance(kCGImagePropertyGPSSpeedRef, unicode) self.assertIsInstance(kCGImagePropertyGPSSpeed, unicode) self.assertIsInstance(kCGImagePropertyGPSTrackRef, unicode) self.assertIsInstance(kCGImagePropertyGPSTrack, unicode) self.assertIsInstance(kCGImagePropertyGPSImgDirectionRef, unicode) self.assertIsInstance(kCGImagePropertyGPSImgDirection, unicode) self.assertIsInstance(kCGImagePropertyGPSMapDatum, unicode) self.assertIsInstance(kCGImagePropertyGPSDestLatitudeRef, unicode) self.assertIsInstance(kCGImagePropertyGPSDestLatitude, unicode) self.assertIsInstance(kCGImagePropertyGPSDestLongitudeRef, unicode) self.assertIsInstance(kCGImagePropertyGPSDestLongitude, unicode) self.assertIsInstance(kCGImagePropertyGPSDestBearingRef, unicode) self.assertIsInstance(kCGImagePropertyGPSDestBearing, unicode) self.assertIsInstance(kCGImagePropertyGPSDestDistanceRef, unicode) self.assertIsInstance(kCGImagePropertyGPSDestDistance, unicode) self.assertIsInstance(kCGImagePropertyGPSProcessingMethod, unicode) self.assertIsInstance(kCGImagePropertyGPSAreaInformation, unicode) self.assertIsInstance(kCGImagePropertyGPSDateStamp, unicode) self.assertIsInstance(kCGImagePropertyGPSDifferental, unicode) self.assertIsInstance(kCGImagePropertyIPTCObjectTypeReference, unicode) self.assertIsInstance(kCGImagePropertyIPTCObjectAttributeReference, unicode) self.assertIsInstance(kCGImagePropertyIPTCObjectName, unicode) self.assertIsInstance(kCGImagePropertyIPTCEditStatus, unicode) self.assertIsInstance(kCGImagePropertyIPTCEditorialUpdate, unicode) self.assertIsInstance(kCGImagePropertyIPTCUrgency, unicode) self.assertIsInstance(kCGImagePropertyIPTCSubjectReference, unicode) self.assertIsInstance(kCGImagePropertyIPTCCategory, unicode) self.assertIsInstance(kCGImagePropertyIPTCSupplementalCategory, unicode) self.assertIsInstance(kCGImagePropertyIPTCFixtureIdentifier, unicode) self.assertIsInstance(kCGImagePropertyIPTCKeywords, unicode) self.assertIsInstance(kCGImagePropertyIPTCContentLocationCode, unicode) self.assertIsInstance(kCGImagePropertyIPTCContentLocationName, unicode) self.assertIsInstance(kCGImagePropertyIPTCReleaseDate, unicode) self.assertIsInstance(kCGImagePropertyIPTCReleaseTime, unicode) self.assertIsInstance(kCGImagePropertyIPTCExpirationDate, unicode) self.assertIsInstance(kCGImagePropertyIPTCExpirationTime, unicode) self.assertIsInstance(kCGImagePropertyIPTCSpecialInstructions, unicode) self.assertIsInstance(kCGImagePropertyIPTCActionAdvised, unicode) self.assertIsInstance(kCGImagePropertyIPTCReferenceService, unicode) self.assertIsInstance(kCGImagePropertyIPTCReferenceDate, unicode) self.assertIsInstance(kCGImagePropertyIPTCReferenceNumber, unicode) self.assertIsInstance(kCGImagePropertyIPTCDateCreated, unicode) self.assertIsInstance(kCGImagePropertyIPTCTimeCreated, unicode) self.assertIsInstance(kCGImagePropertyIPTCDigitalCreationDate, unicode) self.assertIsInstance(kCGImagePropertyIPTCDigitalCreationTime, unicode) self.assertIsInstance(kCGImagePropertyIPTCOriginatingProgram, unicode) self.assertIsInstance(kCGImagePropertyIPTCProgramVersion, unicode) self.assertIsInstance(kCGImagePropertyIPTCObjectCycle, unicode) self.assertIsInstance(kCGImagePropertyIPTCByline, unicode) self.assertIsInstance(kCGImagePropertyIPTCBylineTitle, unicode) self.assertIsInstance(kCGImagePropertyIPTCCity, unicode) self.assertIsInstance(kCGImagePropertyIPTCSubLocation, unicode) self.assertIsInstance(kCGImagePropertyIPTCProvinceState, unicode) self.assertIsInstance(kCGImagePropertyIPTCCountryPrimaryLocationCode, unicode) self.assertIsInstance(kCGImagePropertyIPTCCountryPrimaryLocationName, unicode) self.assertIsInstance(kCGImagePropertyIPTCOriginalTransmissionReference, unicode) self.assertIsInstance(kCGImagePropertyIPTCHeadline, unicode) self.assertIsInstance(kCGImagePropertyIPTCCredit, unicode) self.assertIsInstance(kCGImagePropertyIPTCSource, unicode) self.assertIsInstance(kCGImagePropertyIPTCCopyrightNotice, unicode) self.assertIsInstance(kCGImagePropertyIPTCContact, unicode) self.assertIsInstance(kCGImagePropertyIPTCCaptionAbstract, unicode) self.assertIsInstance(kCGImagePropertyIPTCWriterEditor, unicode) self.assertIsInstance(kCGImagePropertyIPTCImageType, unicode) self.assertIsInstance(kCGImagePropertyIPTCImageOrientation, unicode) self.assertIsInstance(kCGImagePropertyIPTCLanguageIdentifier, unicode) self.assertIsInstance(kCGImagePropertyIPTCStarRating, unicode) @min_os_level('10.5') def testConstants10_5(self): self.assertIsInstance(kCGImagePropertyMakerCanonDictionary, unicode) self.assertIsInstance(kCGImagePropertyMakerNikonDictionary, unicode) self.assertIsInstance(kCGImageProperty8BIMDictionary, unicode) self.assertIsInstance(kCGImagePropertyDNGDictionary, unicode) self.assertIsInstance(kCGImageProperty8BIMLayerNames, unicode) self.assertIsInstance(kCGImagePropertyDNGVersion, unicode) self.assertIsInstance(kCGImagePropertyDNGBackwardVersion, unicode) self.assertIsInstance(kCGImagePropertyDNGUniqueCameraModel, unicode) self.assertIsInstance(kCGImagePropertyDNGLocalizedCameraModel, unicode) self.assertIsInstance(kCGImagePropertyDNGCameraSerialNumber, unicode) self.assertIsInstance(kCGImagePropertyDNGLensInfo, unicode) self.assertIsInstance(kCGImagePropertyCIFFDescription, unicode) self.assertIsInstance(kCGImagePropertyCIFFFirmware, unicode) self.assertIsInstance(kCGImagePropertyCIFFOwnerName, unicode) self.assertIsInstance(kCGImagePropertyCIFFImageName, unicode) self.assertIsInstance(kCGImagePropertyCIFFImageFileName, unicode) self.assertIsInstance(kCGImagePropertyCIFFReleaseMethod, unicode) self.assertIsInstance(kCGImagePropertyCIFFReleaseTiming, unicode) self.assertIsInstance(kCGImagePropertyCIFFRecordID, unicode) self.assertIsInstance(kCGImagePropertyCIFFSelfTimingTime, unicode) self.assertIsInstance(kCGImagePropertyCIFFCameraSerialNumber, unicode) self.assertIsInstance(kCGImagePropertyCIFFImageSerialNumber, unicode) self.assertIsInstance(kCGImagePropertyCIFFContinuousDrive, unicode) self.assertIsInstance(kCGImagePropertyCIFFFocusMode, unicode) self.assertIsInstance(kCGImagePropertyCIFFMeteringMode, unicode) self.assertIsInstance(kCGImagePropertyCIFFShootingMode, unicode) self.assertIsInstance(kCGImagePropertyCIFFLensModel, unicode) self.assertIsInstance(kCGImagePropertyCIFFLensMaxMM, unicode) self.assertIsInstance(kCGImagePropertyCIFFLensMinMM, unicode) self.assertIsInstance(kCGImagePropertyCIFFWhiteBalanceIndex, unicode) self.assertIsInstance(kCGImagePropertyCIFFFlashExposureComp, unicode) self.assertIsInstance(kCGImagePropertyCIFFMeasuredEV, unicode) self.assertIsInstance(kCGImagePropertyMakerNikonISOSetting, unicode) self.assertIsInstance(kCGImagePropertyMakerNikonColorMode, unicode) self.assertIsInstance(kCGImagePropertyMakerNikonQuality, unicode) self.assertIsInstance(kCGImagePropertyMakerNikonWhiteBalanceMode, unicode) self.assertIsInstance(kCGImagePropertyMakerNikonSharpenMode, unicode) self.assertIsInstance(kCGImagePropertyMakerNikonFocusMode, unicode) self.assertIsInstance(kCGImagePropertyMakerNikonFlashSetting, unicode) self.assertIsInstance(kCGImagePropertyMakerNikonISOSelection, unicode) self.assertIsInstance(kCGImagePropertyMakerNikonFlashExposureComp, unicode) self.assertIsInstance(kCGImagePropertyMakerNikonImageAdjustment, unicode) self.assertIsInstance(kCGImagePropertyMakerNikonLensAdapter, unicode) self.assertIsInstance(kCGImagePropertyMakerNikonLensType, unicode) self.assertIsInstance(kCGImagePropertyMakerNikonLensInfo, unicode) self.assertIsInstance(kCGImagePropertyMakerNikonFocusDistance, unicode) self.assertIsInstance(kCGImagePropertyMakerNikonDigitalZoom, unicode) self.assertIsInstance(kCGImagePropertyMakerNikonShootingMode, unicode) self.assertIsInstance(kCGImagePropertyMakerNikonCameraSerialNumber, unicode) self.assertIsInstance(kCGImagePropertyMakerNikonShutterCount, unicode) self.assertIsInstance(kCGImagePropertyMakerCanonOwnerName, unicode) self.assertIsInstance(kCGImagePropertyMakerCanonCameraSerialNumber, unicode) self.assertIsInstance(kCGImagePropertyMakerCanonImageSerialNumber, unicode) self.assertIsInstance(kCGImagePropertyMakerCanonFlashExposureComp, unicode) self.assertIsInstance(kCGImagePropertyMakerCanonContinuousDrive, unicode) self.assertIsInstance(kCGImagePropertyMakerCanonLensModel, unicode) self.assertIsInstance(kCGImagePropertyExifAuxDictionary, unicode) self.assertIsInstance(kCGImagePropertyMakerCanonFirmware, unicode) self.assertIsInstance(kCGImagePropertyMakerCanonAspectRatioInfo, unicode) self.assertIsInstance(kCGImagePropertyExifAuxLensInfo, unicode) self.assertIsInstance(kCGImagePropertyExifAuxLensModel, unicode) self.assertIsInstance(kCGImagePropertyExifAuxSerialNumber, unicode) self.assertIsInstance(kCGImagePropertyExifAuxLensID, unicode) self.assertIsInstance(kCGImagePropertyExifAuxLensSerialNumber, unicode) self.assertIsInstance(kCGImagePropertyExifAuxImageNumber, unicode) self.assertIsInstance(kCGImagePropertyExifAuxFlashCompensation, unicode) self.assertIsInstance(kCGImagePropertyExifAuxOwnerName, unicode) self.assertIsInstance(kCGImagePropertyExifAuxFirmware, unicode) self.assertIsInstance(kCGImagePropertyMakerMinoltaDictionary, unicode) self.assertIsInstance(kCGImagePropertyMakerFujiDictionary, unicode) self.assertIsInstance(kCGImagePropertyMakerOlympusDictionary, unicode) self.assertIsInstance(kCGImagePropertyMakerPentaxDictionary, unicode) @min_os_level('10.6') def testConstants10_6(self): self.assertIsInstance(kCGImagePropertyIPTCCreatorContactInfo, unicode) self.assertIsInstance(kCGImagePropertyIPTCRightsUsageTerms, unicode) self.assertIsInstance(kCGImagePropertyIPTCScene, unicode) self.assertIsInstance(kCGImagePropertyIPTCContactInfoCity, unicode) self.assertIsInstance(kCGImagePropertyIPTCContactInfoCountry, unicode) self.assertIsInstance(kCGImagePropertyIPTCContactInfoAddress, unicode) self.assertIsInstance(kCGImagePropertyIPTCContactInfoPostalCode, unicode) self.assertIsInstance(kCGImagePropertyIPTCContactInfoStateProvince, unicode) self.assertIsInstance(kCGImagePropertyIPTCContactInfoEmails, unicode) self.assertIsInstance(kCGImagePropertyIPTCContactInfoPhones, unicode) self.assertIsInstance(kCGImagePropertyIPTCContactInfoWebURLs, unicode) @min_os_level('10.7') def testConstants10_7(self): self.assertIsInstance(kCGImagePropertyGIFUnclampedDelayTime, unicode) self.assertIsInstance(kCGImagePropertyPNGAuthor, unicode) self.assertIsInstance(kCGImagePropertyPNGCopyright, unicode) self.assertIsInstance(kCGImagePropertyPNGCreationTime, unicode) self.assertIsInstance(kCGImagePropertyPNGDescription, unicode) self.assertIsInstance(kCGImagePropertyPNGModificationTime, unicode) self.assertIsInstance(kCGImagePropertyPNGSoftware, unicode) self.assertIsInstance(kCGImagePropertyPNGTitle, unicode) @min_os_level('10.7') @expectedFailure def testConstants10_7_broken(self): # The constants in this testcase are defined in headers and documentation, # but aren't exported by the framework... self.assertIsInstance(kCGImagePropertyExifCameraOwnerName, unicode) self.assertIsInstance(kCGImagePropertyExifBodySerialNumber, unicode) self.assertIsInstance(kCGImagePropertyExifLensSpecification, unicode) self.assertIsInstance(kCGImagePropertyExifLensMake, unicode) self.assertIsInstance(kCGImagePropertyExifLensModel, unicode) #self.assertIsInstance(kCGImagePropertyExifLensSerialNumber, unicode) if __name__ == "__main__": main()
67.593272
89
0.806497
1,243
22,103
14.324216
0.270314
0.326874
0.433698
0.003819
0.004381
0.002247
0
0
0
0
0
0.00147
0.137945
22,103
326
90
67.800614
0.93298
0.008144
0
0.006472
0
0
0.001095
0
0
0
0
0
0.938511
1
0.016181
false
0
0.006472
0
0.02589
0
0
0
1
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
4
b49ece9c4f685c36e386989614e27fb6c1e1976e
280
py
Python
seiketsu/users/input_types.py
tychota/seiketsu
2b5280365b9de44cd84ac65ed74981b30be5cc76
[ "MIT" ]
null
null
null
seiketsu/users/input_types.py
tychota/seiketsu
2b5280365b9de44cd84ac65ed74981b30be5cc76
[ "MIT" ]
null
null
null
seiketsu/users/input_types.py
tychota/seiketsu
2b5280365b9de44cd84ac65ed74981b30be5cc76
[ "MIT" ]
null
null
null
from .models import User from graphene_django_extras import DjangoInputObjectType class UserInputType(DjangoInputObjectType): class Meta: description = " User InputType definition to use as input on an Arguments class on traditional Mutations " model = User
31.111111
114
0.771429
32
280
6.6875
0.75
0.242991
0
0
0
0
0
0
0
0
0
0
0.196429
280
8
115
35
0.951111
0
0
0
0
0
0.321429
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.666667
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
b4ba7dd258dd57b909e46aaf90dd9cd36e39bb8a
90
py
Python
BettingRestAPI/csgo_api/apps.py
PatrickKoss/BettingPrediction
8082bb89d00d28ade774a445a1645dc07ac86127
[ "MIT" ]
null
null
null
BettingRestAPI/csgo_api/apps.py
PatrickKoss/BettingPrediction
8082bb89d00d28ade774a445a1645dc07ac86127
[ "MIT" ]
null
null
null
BettingRestAPI/csgo_api/apps.py
PatrickKoss/BettingPrediction
8082bb89d00d28ade774a445a1645dc07ac86127
[ "MIT" ]
null
null
null
from django.apps import AppConfig class CsgoApiConfig(AppConfig): name = 'csgo_api'
15
33
0.755556
11
90
6.090909
0.909091
0
0
0
0
0
0
0
0
0
0
0
0.166667
90
5
34
18
0.893333
0
0
0
0
0
0.088889
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
b4c8123593d7ac229c14cc29ee1829bf984b3344
173
py
Python
text/_cascade/element/positioning/bounds/maximum.py
jedhsu/text
8525b602d304ac571a629104c48703443244545c
[ "Apache-2.0" ]
null
null
null
text/_cascade/element/positioning/bounds/maximum.py
jedhsu/text
8525b602d304ac571a629104c48703443244545c
[ "Apache-2.0" ]
null
null
null
text/_cascade/element/positioning/bounds/maximum.py
jedhsu/text
8525b602d304ac571a629104c48703443244545c
[ "Apache-2.0" ]
null
null
null
class Maximum(Bound): __metaclass__ = ABCMeta class MaximumWidth( Property, Minimum, ): pass class MinimumHeight( Property, Minimum, ): pass
10.176471
27
0.635838
15
173
7.066667
0.666667
0.283019
0.358491
0
0
0
0
0
0
0
0
0
0.283237
173
16
28
10.8125
0.854839
0
0
0.666667
0
0
0
0
0
0
0
0
0
1
0
false
0.166667
0
0
0.333333
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
4
2e9876ed53fa4fb80dcdadcc199e5e746e998c73
955
py
Python
src/utils/paths.py
rycolab/declension-mi
593a87073e46bbfdb4cb5843dd642a319c3f7be4
[ "MIT" ]
1
2021-06-09T19:05:43.000Z
2021-06-09T19:05:43.000Z
src/utils/paths.py
rycolab/declension-mi
593a87073e46bbfdb4cb5843dd642a319c3f7be4
[ "MIT" ]
null
null
null
src/utils/paths.py
rycolab/declension-mi
593a87073e46bbfdb4cb5843dd642a319c3f7be4
[ "MIT" ]
null
null
null
import os from .utils import mkdir class ApplicationPaths: @staticmethod def application_root(): return os.path.abspath(os.getcwd()) @staticmethod def get_path(default_path, subfolder_path=''): path = ApplicationPaths.application_root() + os.sep + default_path + subfolder_path + os.sep mkdir(path) return path @staticmethod def config(file_name='', subfolder_path=''): return ApplicationPaths.get_path("config/", subfolder_path) + file_name @staticmethod def logs(file_name='', subfolder_path=''): return ApplicationPaths.get_path("logs/", subfolder_path) + file_name @staticmethod def datasets(file_name='', subfolder_path=''): return ApplicationPaths.get_path("datasets/", subfolder_path) + file_name @staticmethod def assets(file_name='', subfolder_path=''): return ApplicationPaths.get_path("assets/", subfolder_path) + file_name
29.84375
100
0.690052
106
955
5.962264
0.235849
0.205696
0.107595
0.132911
0.487342
0.487342
0.316456
0.316456
0
0
0
0
0.195812
955
31
101
30.806452
0.822917
0
0
0.26087
0
0
0.029319
0
0
0
0
0
0
1
0.26087
false
0
0.086957
0.217391
0.652174
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
4
2eb1f93963ebbf2038b368d7c5dd6f67851c934a
67
py
Python
Impact/__init__.py
Erosion2020/SpaceCore
ba81bf1913461a200f9e88acb7d0d91d7deda8e8
[ "MIT" ]
4
2022-03-22T08:21:52.000Z
2022-03-23T12:58:17.000Z
Impact/__init__.py
Erosion2020/SpaceCore
ba81bf1913461a200f9e88acb7d0d91d7deda8e8
[ "MIT" ]
null
null
null
Impact/__init__.py
Erosion2020/SpaceCore
ba81bf1913461a200f9e88acb7d0d91d7deda8e8
[ "MIT" ]
null
null
null
import Impact.SimpleHorse simple_horse = Impact.SimpleHorse.start
16.75
39
0.850746
8
67
7
0.75
0.607143
0
0
0
0
0
0
0
0
0
0
0.089552
67
3
40
22.333333
0.918033
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
2c328dbf5d631129e84d3b05c32394c661702476
7,393
py
Python
tests/integration/test_search.py
qw-in/async-search-client
457596b2f44f0ef9dda3c15d8d67587c1981ebd9
[ "MIT" ]
null
null
null
tests/integration/test_search.py
qw-in/async-search-client
457596b2f44f0ef9dda3c15d8d67587c1981ebd9
[ "MIT" ]
null
null
null
tests/integration/test_search.py
qw-in/async-search-client
457596b2f44f0ef9dda3c15d8d67587c1981ebd9
[ "MIT" ]
null
null
null
import pytest @pytest.mark.asyncio async def test_basic_search(index_with_documents): index = await index_with_documents() response = await index.search("How to Train Your Dragon") assert response.hits[0]["id"] == "166428" assert "_formatted" not in response.hits[0] @pytest.mark.asyncio async def test_basic_search_with_empty_params(index_with_documents): index = await index_with_documents() response = await index.search("How to Train Your Dragon") assert response.hits[0]["id"] == "166428" assert "_formatted" not in response.hits[0] @pytest.mark.asyncio async def test_search_with_empty_query(index_with_documents): index = await index_with_documents() response = await index.search("") assert len(response.hits) == 20 assert response.query == "" @pytest.mark.asyncio async def test_custom_search(index_with_documents): index = await index_with_documents() response = await index.search("Dragon", attributes_to_highlight=["title"]) assert response.hits[0]["id"] == "166428" assert "_formatted" in response.hits[0] assert "dragon" in response.hits[0]["_formatted"]["title"].lower() @pytest.mark.asyncio async def test_custom_search_with_empty_query(index_with_documents): index = await index_with_documents() response = await index.search("", attributes_to_highlight=["title"]) assert len(response.hits) == 20 assert response.query == "" @pytest.mark.asyncio async def test_custom_search_with_no_query(index_with_documents): index = await index_with_documents() response = await index.search("", limit=5) assert len(response.hits) == 5 @pytest.mark.asyncio async def test_custom_search_params_with_wildcard(index_with_documents): index = await index_with_documents() response = await index.search( "a", limit=5, attributes_to_highlight=["*"], attributes_to_retrieve=["*"], attributes_to_crop=["*"], ) assert len(response.hits) == 5 assert "_formatted" in response.hits[0] assert "title" in response.hits[0]["_formatted"] @pytest.mark.asyncio async def test_custom_search_params_with_simple_string(index_with_documents): index = await index_with_documents() response = await index.search( "a", limit=5, attributes_to_highlight=["title"], attributes_to_retrieve=["title"], attributes_to_crop=["title"], ) assert len(response.hits) == 5 assert "_formatted" in response.hits[0] assert "title" in response.hits[0]["_formatted"] assert "release_date" not in response.hits[0]["_formatted"] @pytest.mark.asyncio async def test_custom_search_params_with_string_list(index_with_documents): index = await index_with_documents() response = await index.search( "a", limit=5, attributes_to_retrieve=["title", "overview"], attributes_to_highlight=["title"], ) assert len(response.hits) == 5 assert "title" in response.hits[0] assert "overview" in response.hits[0] assert "release_date" not in response.hits[0] assert "title" in response.hits[0]["_formatted"] assert "overview" not in response.hits[0]["_formatted"] @pytest.mark.asyncio async def test_custom_search_params_with_facets_distribution(index_with_documents): index = await index_with_documents() update = await index.update_attributes_for_faceting(["genre"]) await index.wait_for_pending_update(update.update_id) response = await index.search("world", facets_distribution=["genre"]) assert len(response.hits) == 12 assert response.facets_distribution is not None assert response.exhaustive_facets_count is not None assert "genre" in response.facets_distribution assert response.facets_distribution["genre"]["cartoon"] == 1 assert response.facets_distribution["genre"]["action"] == 3 assert response.facets_distribution["genre"]["fantasy"] == 1 @pytest.mark.asyncio async def test_custom_search_params_with_facet_filters(index_with_documents): index = await index_with_documents() update = await index.update_attributes_for_faceting(["genre"]) await index.wait_for_pending_update(update.update_id) response = await index.search("world", facet_filters=[["genre:action"]]) assert len(response.hits) == 3 assert response.facets_distribution is None assert response.exhaustive_facets_count is None @pytest.mark.asyncio async def test_custom_search_params_with_multiple_facet_filters(index_with_documents): index = await index_with_documents() update = await index.update_attributes_for_faceting(["genre"]) await index.wait_for_pending_update(update.update_id) response = await index.search( "world", facet_filters=["genre:action", ["genre:action", "genre:action"]] ) assert len(response.hits) == 3 assert response.facets_distribution is None assert response.exhaustive_facets_count is None @pytest.mark.asyncio async def test_custom_search_facet_filters_with_space(test_client): dataset = [ { "id": 123, "title": "Pride and Prejudice", "comment": "A great book", "genre": "romance", }, { "id": 456, "title": "Le Petit Prince", "comment": "A french book about a prince that walks on little cute planets", "genre": "adventure", }, { "id": 2, "title": "Le Rouge et le Noir", "comment": "Another french book", "genre": "romance", }, { "id": 1, "title": "Alice In Wonderland", "comment": "A weird book", "genre": "adventure", }, { "id": 1344, "title": "The Hobbit", "comment": "An awesome book", "genre": "sci fi", }, { "id": 4, "title": "Harry Potter and the Half-Blood Prince", "comment": "The best book", "genre": "fantasy", }, {"id": 42, "title": "The Hitchhiker's Guide to the Galaxy", "genre": "fantasy"}, ] index = test_client.index("books") update = await index.add_documents(dataset) await index.wait_for_pending_update(update.update_id) update = await index.update_attributes_for_faceting(["genre"]) await index.wait_for_pending_update(update.update_id) response = await index.search("h", facet_filters=["genre:sci fi"]) assert len(response.hits) == 1 assert response.hits[0]["title"] == "The Hobbit" @pytest.mark.asyncio async def test_custom_search_params_with_many_params(index_with_documents): index = await index_with_documents() update = await index.update_attributes_for_faceting(["genre"]) await index.wait_for_pending_update(update.update_id) response = await index.search( "world", facet_filters=[["genre:action"]], attributes_to_retrieve=["title", "poster"] ) assert len(response.hits) == 3 assert response.facets_distribution is None assert response.exhaustive_facets_count is None assert "title" in response.hits[0] assert "poster" in response.hits[0] assert "overview" not in response.hits[0] assert "release_date" not in response.hits[0] assert response.hits[0]["title"] == "Avengers: Infinity War"
35.714976
93
0.679697
919
7,393
5.226333
0.141458
0.081199
0.097439
0.056215
0.794503
0.740371
0.735582
0.702894
0.667291
0.647512
0
0.013053
0.202083
7,393
206
94
35.88835
0.801153
0
0
0.502825
0
0
0.138915
0
0
0
0
0
0.271186
1
0
false
0
0.00565
0
0.00565
0
0
0
0
null
0
0
0
0
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
259048cae92a92dda5cdb43e559323b320918a5a
126
py
Python
quotes/apps.py
nivbend/memoir
c7239ae9db852f8e14ed53a2ba96d4c72eb47f30
[ "MIT" ]
null
null
null
quotes/apps.py
nivbend/memoir
c7239ae9db852f8e14ed53a2ba96d4c72eb47f30
[ "MIT" ]
18
2016-08-26T21:26:58.000Z
2017-03-21T20:14:35.000Z
quotes/apps.py
nivbend/memoir
c7239ae9db852f8e14ed53a2ba96d4c72eb47f30
[ "MIT" ]
null
null
null
from __future__ import unicode_literals from django.apps import AppConfig class QuotesConfig(AppConfig): name = 'quotes'
21
39
0.801587
15
126
6.4
0.8
0
0
0
0
0
0
0
0
0
0
0
0.142857
126
5
40
25.2
0.888889
0
0
0
0
0
0.047619
0
0
0
0
0
0
1
0
false
0
0.5
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
25d93298d68aae32ace4df11c6d9a8e2a10cadee
54
py
Python
legoirblaster/run.py
kristofvbk/legotraincontroller
08afb1287f8b90354d2919b3517a9cdc60e8991c
[ "MIT" ]
6
2018-01-14T15:10:02.000Z
2020-11-15T22:12:31.000Z
legoirblaster/run.py
kristofvbk/legotraincontroller
08afb1287f8b90354d2919b3517a9cdc60e8991c
[ "MIT" ]
null
null
null
legoirblaster/run.py
kristofvbk/legotraincontroller
08afb1287f8b90354d2919b3517a9cdc60e8991c
[ "MIT" ]
null
null
null
from legoirblaster.app import app app.run(debug=True)
18
33
0.814815
9
54
4.888889
0.777778
0
0
0
0
0
0
0
0
0
0
0
0.092593
54
2
34
27
0.897959
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
d31e24869dbc0fb2041c96402d432a4cfeba276f
261
py
Python
Exercicios-Mundo3/ex078.py
WeDias/RespCEV
3cf0918c5c90e3b2d6dc7e57f2824436c639c04c
[ "MIT" ]
1
2021-02-19T05:13:31.000Z
2021-02-19T05:13:31.000Z
Exercicios-Mundo3/ex078.py
WeDias/RespCEV
3cf0918c5c90e3b2d6dc7e57f2824436c639c04c
[ "MIT" ]
null
null
null
Exercicios-Mundo3/ex078.py
WeDias/RespCEV
3cf0918c5c90e3b2d6dc7e57f2824436c639c04c
[ "MIT" ]
null
null
null
lista = list() for c in range(1, 6): lista.append(int(input('Digite Um Numero: '))) print(f'\nO Menor valor Foi {min(lista)} Na {lista.index(min(lista)) + 1}ª Posição') print(f'O Maior valor Foi {max(lista)} Na {lista.index(max(lista)) + 1}ª Posição')
43.5
85
0.651341
47
261
3.617021
0.595745
0.070588
0.141176
0.2
0
0
0
0
0
0
0
0.018182
0.157088
261
5
86
52.2
0.754545
0
0
0
0
0.4
0.640625
0.1875
0
0
0
0
0
1
0
false
0
0
0
0
0.4
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
d3641e4467e6b0b7a5cc155d35e63fd27318efb6
18
py
Python
rtmidi/version.py
Czaki/python-rtmidi
eb16ab3268b29b94cd2baa6bfc777f5cf5f908ba
[ "MIT" ]
260
2015-06-25T06:44:31.000Z
2022-02-28T15:44:29.000Z
rtmidi/version.py
Czaki/python-rtmidi
eb16ab3268b29b94cd2baa6bfc777f5cf5f908ba
[ "MIT" ]
99
2016-02-10T22:19:23.000Z
2022-03-31T06:22:15.000Z
rtmidi/version.py
Czaki/python-rtmidi
eb16ab3268b29b94cd2baa6bfc777f5cf5f908ba
[ "MIT" ]
70
2015-06-25T06:57:01.000Z
2022-03-02T05:25:28.000Z
version = '1.4.9'
9
17
0.555556
4
18
2.5
1
0
0
0
0
0
0
0
0
0
0
0.2
0.166667
18
1
18
18
0.466667
0
0
0
0
0
0.277778
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
d37025fa1f4f4c3e94a2fc3f3c5fd9aeb26730ee
17
py
Python
grappelli/__init__.py
theatlantic/django-grappelli-old
f4a5f10a2e68024873556d4cc249cf0351eb1335
[ "BSD-3-Clause" ]
285
2019-12-23T09:50:21.000Z
2021-12-08T09:08:49.000Z
base/site-packages/grappelli/__init__.py
jeckun/fastor
342078a18363ac41d3c6b1ab29dbdd44fdb0b7b3
[ "Apache-2.0" ]
null
null
null
base/site-packages/grappelli/__init__.py
jeckun/fastor
342078a18363ac41d3c6b1ab29dbdd44fdb0b7b3
[ "Apache-2.0" ]
9
2019-12-23T12:59:25.000Z
2022-03-15T05:12:11.000Z
VERSION = '2.3.6'
17
17
0.588235
4
17
2.5
1
0
0
0
0
0
0
0
0
0
0
0.2
0.117647
17
1
17
17
0.466667
0
0
0
0
0
0.277778
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
d3a265162b39773c09e5e6e3495f810915c5ee43
79
py
Python
sp/apps.py
sh-aony/swiper
6e59d38205622afc1819672dd63a502ad54a19c8
[ "MIT" ]
null
null
null
sp/apps.py
sh-aony/swiper
6e59d38205622afc1819672dd63a502ad54a19c8
[ "MIT" ]
null
null
null
sp/apps.py
sh-aony/swiper
6e59d38205622afc1819672dd63a502ad54a19c8
[ "MIT" ]
null
null
null
from django.apps import AppConfig class SpConfig(AppConfig): name = 'sp'
13.166667
33
0.721519
10
79
5.7
0.9
0
0
0
0
0
0
0
0
0
0
0
0.189873
79
5
34
15.8
0.890625
0
0
0
0
0
0.025316
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
6cbef79d812f116b42f17b2b6e9493b2ea390cf1
29
py
Python
gh/__init__.py
Gepetto/dashboard
a24bbcec7c13c00b2a783c840658130083ad3b30
[ "BSD-2-Clause" ]
null
null
null
gh/__init__.py
Gepetto/dashboard
a24bbcec7c13c00b2a783c840658130083ad3b30
[ "BSD-2-Clause" ]
7
2018-02-21T18:03:36.000Z
2021-04-29T15:17:59.000Z
gh/__init__.py
Gepetto/dashboard
a24bbcec7c13c00b2a783c840658130083ad3b30
[ "BSD-2-Clause" ]
1
2018-07-10T15:19:31.000Z
2018-07-10T15:19:31.000Z
"""Module for github app."""
14.5
28
0.62069
4
29
4.5
1
0
0
0
0
0
0
0
0
0
0
0
0.137931
29
1
29
29
0.72
0.758621
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
9f0cee3d0308b80e337f76fe4bdf1e40e3987cc8
63
py
Python
django_paymentsos/__init__.py
GearPlug/django-paymentsos
509b9ab25444849780232d32567d857347f69f1d
[ "MIT" ]
null
null
null
django_paymentsos/__init__.py
GearPlug/django-paymentsos
509b9ab25444849780232d32567d857347f69f1d
[ "MIT" ]
null
null
null
django_paymentsos/__init__.py
GearPlug/django-paymentsos
509b9ab25444849780232d32567d857347f69f1d
[ "MIT" ]
null
null
null
default_app_config = "django_paymentsos.apps.PaymentsOSConfig"
31.5
62
0.873016
7
63
7.428571
1
0
0
0
0
0
0
0
0
0
0
0
0.047619
63
1
63
63
0.866667
0
0
0
0
0
0.619048
0.619048
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
9f24679146746d752b604a0429aa0d2354608bc1
211
py
Python
Scrapy/Scrapy/spiders/dana.py
silveriogabriel/Scraping-Scrapy
341554ffa7f055c91235816abcb799f9ac4b4428
[ "MIT" ]
null
null
null
Scrapy/Scrapy/spiders/dana.py
silveriogabriel/Scraping-Scrapy
341554ffa7f055c91235816abcb799f9ac4b4428
[ "MIT" ]
null
null
null
Scrapy/Scrapy/spiders/dana.py
silveriogabriel/Scraping-Scrapy
341554ffa7f055c91235816abcb799f9ac4b4428
[ "MIT" ]
null
null
null
import scrapy class DanaSpider(scrapy.Spider): name = 'dana' allowed_domains = ['www.dana.com/products'] start_urls = ['http://www.dana.com/products/'] def parse(self, response): pass
19.181818
50
0.64455
26
211
5.153846
0.769231
0.104478
0.149254
0.268657
0
0
0
0
0
0
0
0
0.208531
211
10
51
21.1
0.802395
0
0
0
0
0
0.255924
0.099526
0
0
0
0
0
1
0.142857
false
0.142857
0.142857
0
0.857143
0
1
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
4
9f4ae8cbb8ac4d6eb19a1b037e8d3fbec6029093
553
py
Python
rankedpairs/__init__.py
slequar/PyRP
c63bb25a67842f9d209465147486e062e5aa1cfd
[ "MIT" ]
null
null
null
rankedpairs/__init__.py
slequar/PyRP
c63bb25a67842f9d209465147486e062e5aa1cfd
[ "MIT" ]
null
null
null
rankedpairs/__init__.py
slequar/PyRP
c63bb25a67842f9d209465147486e062e5aa1cfd
[ "MIT" ]
null
null
null
""" rankedpairs This is a module that implements a lightweight ranked pairs voting algorithm. There are two main components to this, the Ranked Pairs module (rp) and the Election class (Election). rp contains all the logic for Ranked Pairs, and Election is a wrapper class to make working with the data a bit easier. A common way to import this module would be: import rankedpairs as pyrp There is more documentation in each module (ie help(rp.Election)) Written by Simon Lequar, Dabney '22 """ from .rp import * from .election import Election
27.65
78
0.772152
90
553
4.744444
0.6
0.077283
0
0
0
0
0
0
0
0
0
0.004415
0.180832
553
19
79
29.105263
0.93819
0.895118
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
9f5b52110d3adcba976a66d525b26236fea414e7
140
py
Python
diy_programs/diy_8_packages.py
bhalajin/blueprints
7ad1d7860aafbb4c333de9efbbb7e546ed43c569
[ "MIT" ]
null
null
null
diy_programs/diy_8_packages.py
bhalajin/blueprints
7ad1d7860aafbb4c333de9efbbb7e546ed43c569
[ "MIT" ]
null
null
null
diy_programs/diy_8_packages.py
bhalajin/blueprints
7ad1d7860aafbb4c333de9efbbb7e546ed43c569
[ "MIT" ]
null
null
null
import hello #renamed module greetings as hello hello.greet("bhalaji") import greetings.greet as gr gr.hello('bhalaji') gr.bye('bhalaji')
17.5
47
0.764286
21
140
5.095238
0.47619
0
0
0
0
0
0
0
0
0
0
0
0.114286
140
8
48
17.5
0.862903
0.235714
0
0
0
0
0.196262
0
0
0
0
0
0
1
0
true
0
0.4
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
9f5b90cd586f8a6ea09a7f227be5d4949d918964
64
py
Python
lecciones/35/paquetes_1.py
ImAlexisSaez/curso-python-desde-0
c4a84dae0804adefe4ee6024b411d8ed288da759
[ "MIT" ]
2
2020-08-31T02:17:36.000Z
2022-01-29T15:25:27.000Z
lecciones/35/paquetes_1.py
ImAlexisSaez/curso-python-desde-0
c4a84dae0804adefe4ee6024b411d8ed288da759
[ "MIT" ]
null
null
null
lecciones/35/paquetes_1.py
ImAlexisSaez/curso-python-desde-0
c4a84dae0804adefe4ee6024b411d8ed288da759
[ "MIT" ]
null
null
null
from calculos.calculos_generales import dividir dividir(10, 3)
16
47
0.828125
9
64
5.777778
0.777778
0
0
0
0
0
0
0
0
0
0
0.052632
0.109375
64
3
48
21.333333
0.859649
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
9f7d3cb4fc40fd60c47f13f71c1b53806726d151
56
py
Python
stapp.py
GenericP3rson/OpioidGraph
7c87801855d57d430719680dbc2c7f8dfcd4cbc5
[ "MIT" ]
null
null
null
stapp.py
GenericP3rson/OpioidGraph
7c87801855d57d430719680dbc2c7f8dfcd4cbc5
[ "MIT" ]
null
null
null
stapp.py
GenericP3rson/OpioidGraph
7c87801855d57d430719680dbc2c7f8dfcd4cbc5
[ "MIT" ]
null
null
null
import streamlit as st st.title('Exploring Streamlit')
14
31
0.785714
8
56
5.5
0.75
0
0
0
0
0
0
0
0
0
0
0
0.125
56
3
32
18.666667
0.897959
0
0
0
0
0
0.339286
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
9f8201cc7ef2c71215cd76a91a28dec107fe8ee8
14,326
py
Python
web/impact/impact/tests/test_startup_list_view.py
masschallenge/impact-api
81075ced8fcc95de9390dd83c15e523e67fc48c0
[ "MIT" ]
5
2017-10-19T15:11:52.000Z
2020-03-08T07:16:21.000Z
web/impact/impact/tests/test_startup_list_view.py
masschallenge/impact-api
81075ced8fcc95de9390dd83c15e523e67fc48c0
[ "MIT" ]
182
2017-06-21T19:32:13.000Z
2021-03-22T13:38:16.000Z
web/impact/impact/tests/test_startup_list_view.py
masschallenge/impact-api
81075ced8fcc95de9390dd83c15e523e67fc48c0
[ "MIT" ]
1
2018-06-23T11:53:18.000Z
2018-06-23T11:53:18.000Z
# MIT License # Copyright (c) 2017 MassChallenge, Inc. from django.urls import reverse from impact.v0.api_data.startup_list_data import StartupListData as Data from impact.tests.api_test_case import APITestCase from impact.tests.factories import ( IndustryFactory, ProgramFactory, ProgramStartupStatusFactory, SiteProgramAuthorizationFactory, StartupFactory, StartupStatusFactory, ) from impact.tests.utils import match_errors from impact.v0.views.utils import BADGE_DISPLAYS TEST_BADGE_DISPLAY = BADGE_DISPLAYS[0] EMPTY_RESPONSE = {'startups': []} INVALID_DATA = { "ProgramKey": "123", "StartupStatus": "ABC", "GroupBy": "DEF", "IncludeAllGroup": "G", "OrderBy": "HIJ" } INVALID_STATUS_GROUP = "Test2 Group" INVALID_STATUS_GROUP_DATA = { "GroupBy": "%s%s" % (Data.STATUS_GROUP_PREFIX, INVALID_STATUS_GROUP), "IncludeAllGroup": Data.YES_NO_VALUES[1], "OrderBy": Data.ORDER_BY_VALUES[1], } VALID_STATUS_GROUP = "Test Group" VALID_STATUS_GROUP_DATA = { "GroupBy": "%s%s" % (Data.STATUS_GROUP_PREFIX, VALID_STATUS_GROUP), "IncludeAllGroup": Data.YES_NO_VALUES[1], "OrderBy": Data.ORDER_BY_VALUES[1], } STARTUP_LOGO = "logo.jpg" NON_REMOTE_LOGO = "logo.jpg" # used to be http://cloud.test.com/logo.jpg, # turned off to be handled in AC-4750 class TestStartupListView(APITestCase): def test_program_key_post(self): program = ProgramFactory() with self.login(email=self.basic_user().email): url = reverse("startup_list") response = self.client.post(url, {"ProgramKey": program.id}) assert EMPTY_RESPONSE == response.data def test_program_key_with_startup(self): startup = StartupFactory(high_resolution_logo=STARTUP_LOGO) program = SiteProgramAuthorizationFactory().program StartupStatusFactory( program_startup_status__program=program, program_startup_status__badge_display=TEST_BADGE_DISPLAY, startup=startup) with self.login(email=self.basic_user().email): url = reverse("startup_list") response = self.client.post(url, {"ProgramKey": program.id}) assert startup.name == response.data["startups"][0]["name"] assert STARTUP_LOGO in response.data["startups"][0]["logo_url"] def test_startup_with_remote_logo(self): startup = StartupFactory(high_resolution_logo=NON_REMOTE_LOGO) program = SiteProgramAuthorizationFactory().program StartupStatusFactory( program_startup_status__program=program, program_startup_status__badge_display=TEST_BADGE_DISPLAY, startup=startup) with self.login(email=self.basic_user().email): url = reverse("startup_list") response = self.client.post(url, {"ProgramKey": program.id}) assert startup.name == response.data["startups"][0]["name"] self.assertIn(NON_REMOTE_LOGO, # this used to be an assertEqual. response.data["startups"][0]["logo_url"]) def test_startup_with_upper_case_remote_logo(self): logo = NON_REMOTE_LOGO.upper() startup = StartupFactory(high_resolution_logo=logo) program = SiteProgramAuthorizationFactory().program StartupStatusFactory( program_startup_status__program=program, program_startup_status__badge_display=TEST_BADGE_DISPLAY, startup=startup) with self.login(email=self.basic_user().email): url = reverse("startup_list") response = self.client.post(url, {"ProgramKey": program.id}) assert startup.name == response.data["startups"][0]["name"] assert logo in response.data["startups"][0]["logo_url"] def test_stealth_startup(self): startup = StartupFactory(is_visible=False, high_resolution_logo=NON_REMOTE_LOGO) program = SiteProgramAuthorizationFactory().program StartupStatusFactory( program_startup_status__program=program, program_startup_status__include_stealth_startup_names=True, program_startup_status__badge_display=TEST_BADGE_DISPLAY, startup=startup) with self.login(email=self.basic_user().email): url = reverse("startup_list") response = self.client.post(url, {"ProgramKey": program.id}) assert "" == response.data["startups"][0]["logo_url"] def test_startup_with_primary_subindustry(self): parent_industry = IndustryFactory() industry = IndustryFactory(parent=parent_industry) startup = StartupFactory(primary_industry=industry) program = SiteProgramAuthorizationFactory().program StartupStatusFactory( program_startup_status__program=program, program_startup_status__badge_display=TEST_BADGE_DISPLAY, startup=startup) with self.login(email=self.basic_user().email): url = reverse("startup_list") response = self.client.post(url, {"ProgramKey": program.id, "GroupBy": "Industry", "IncludeAllGroup": Data.NO}) industry_group = response.data["groups"][0]["group_title"] assert parent_industry.name == industry_group def test_random_ordering(self): program = SiteProgramAuthorizationFactory().program startups = [StartupFactory(), StartupFactory()] names = [startup.name for startup in startups] for startup in startups: StartupStatusFactory( program_startup_status__program=program, program_startup_status__badge_display=TEST_BADGE_DISPLAY, startup=startup) with self.login(email=self.basic_user().email): url = reverse("startup_list") response = self.client.post(url, {"ProgramKey": program.id, "OrderBy": "Random"}) name0 = response.data["startups"][0]["name"] name1 = response.data["startups"][1]["name"] assert name0 in names assert name1 in names assert name0 != name1 def test_alpha_asc_ordering(self): program = SiteProgramAuthorizationFactory().program startups = [StartupFactory(), StartupFactory()] names = sorted([startup.name for startup in startups]) for startup in startups: StartupStatusFactory( program_startup_status__program=program, program_startup_status__badge_display=TEST_BADGE_DISPLAY, startup=startup) with self.login(email=self.basic_user().email): url = reverse("startup_list") response = self.client.post(url, {"ProgramKey": program.id, "OrderBy": "AlphaAsc"}) assert names[0] == response.data["startups"][0]["name"] assert names[1] == response.data["startups"][1]["name"] def test_alpha_dsc_ordering(self): program = SiteProgramAuthorizationFactory().program startups = [StartupFactory(), StartupFactory()] names = sorted([startup.name for startup in startups]) for startup in startups: StartupStatusFactory( program_startup_status__program=program, program_startup_status__badge_display=TEST_BADGE_DISPLAY, startup=startup) with self.login(email=self.basic_user().email): url = reverse("startup_list") response = self.client.post(url, {"ProgramKey": program.id, "OrderBy": "AlphaDsc"}) assert names[0] == response.data["startups"][1]["name"] assert names[1] == response.data["startups"][0]["name"] def test_valid_args_post(self): program_startup_status = ProgramStartupStatusFactory( startup_list_include=True, badge_display=TEST_BADGE_DISPLAY, status_group=VALID_STATUS_GROUP) status = StartupStatusFactory( program_startup_status=program_startup_status) with self.login(email=self.basic_user().email): url = reverse("startup_list") data = { "StartupStatus": program_startup_status.startup_list_tab_id, "ProgramKey": program_startup_status.program.name } response = self.client.post(url, data=data) assert status.startup.name == response.data["startups"][0]["name"] def test_invalid_status_group(self): program_startup_status = ProgramStartupStatusFactory( startup_list_include=True, badge_display=TEST_BADGE_DISPLAY, status_group=VALID_STATUS_GROUP) StartupStatusFactory(program_startup_status=program_startup_status) with self.login(email=self.basic_user().email): url = reverse("startup_list") data = { "StartupStatus": program_startup_status.startup_list_tab_id, "ProgramKey": program_startup_status.program.name } data.update(INVALID_STATUS_GROUP_DATA) response = self.client.post(url, data=data) assert match_errors( {"StatusGroup": "%s%s" % (Data.STATUS_GROUP_PREFIX, INVALID_STATUS_GROUP)}, response.data) def test_invalid_args_post(self): with self.login(email=self.basic_user().email): url = reverse("startup_list") response = self.client.post(url, data=INVALID_DATA) assert 404 == response.status_code assert match_errors(INVALID_DATA, response.data) def test_valid_industry_groups_post(self): program_startup_status = ProgramStartupStatusFactory( startup_list_include=True, badge_display=TEST_BADGE_DISPLAY, status_group=VALID_STATUS_GROUP) startup = StartupStatusFactory( program_startup_status=program_startup_status).startup with self.login(email=self.basic_user().email): url = reverse("startup_list") data = { "StartupStatus": program_startup_status.startup_list_tab_id, "ProgramKey": program_startup_status.program.name } data.update(VALID_STATUS_GROUP_DATA) data["GroupBy"] = Data.INDUSTRY_GROUP_BY response = self.client.post(url, data=data) groups = response.data["groups"] industry_response = groups[0] assert (startup.primary_industry.name == industry_response["group_title"]) assert (startup.name == industry_response["startups"][0]["name"]) def test_valid_industry_post_with_all(self): program_startup_status = ProgramStartupStatusFactory( startup_list_include=True, badge_display=TEST_BADGE_DISPLAY, status_group=VALID_STATUS_GROUP) StartupStatusFactory(program_startup_status=program_startup_status) with self.login(email=self.basic_user().email): url = reverse("startup_list") data = { "StartupStatus": program_startup_status.startup_list_tab_id, "ProgramKey": program_startup_status.program.name } data.update(VALID_STATUS_GROUP_DATA) data["GroupBy"] = Data.INDUSTRY_GROUP_BY data["IncludeAllGroup"] = Data.YES response = self.client.post(url, data=data) groups = response.data["groups"] assert len(groups) == 2 assert Data.ALL_INDUSTRY == groups[0]["group_title"] def test_status_fields(self): program_startup_status = ProgramStartupStatusFactory( startup_list_include=True, badge_display=TEST_BADGE_DISPLAY, status_group=VALID_STATUS_GROUP) StartupStatusFactory( program_startup_status=program_startup_status) with self.login(email=self.basic_user().email): url = reverse("startup_list") data = { "StartupStatus": program_startup_status.startup_list_tab_id, "ProgramKey": program_startup_status.program.name, "GroupBy": Data.INDUSTRY_GROUP_BY, } response = self.client.post(url, data=data) assert (program_startup_status.startup_list_tab_title == response.data["status"]) assert (program_startup_status.startup_list_tab_description == response.data["status_description"]) def test_valid_status_groups_post(self): program_startup_status = ProgramStartupStatusFactory( startup_list_include=True, badge_display=TEST_BADGE_DISPLAY, status_group=VALID_STATUS_GROUP) startup = StartupStatusFactory( program_startup_status=program_startup_status).startup with self.login(email=self.basic_user().email): url = reverse("startup_list") data = { "StartupStatus": program_startup_status.startup_list_tab_id, "ProgramKey": program_startup_status.program.name } data.update(VALID_STATUS_GROUP_DATA) response = self.client.post(url, data=data) groups = response.data["groups"] status_group_response = groups[0] assert (VALID_STATUS_GROUP_DATA["GroupBy"] == "%s%s" % (Data.STATUS_GROUP_PREFIX, status_group_response["group_title"])) assert (startup.name == status_group_response["startups"][0]["name"])
45.192429
78
0.619712
1,420
14,326
5.944366
0.097887
0.08127
0.1161
0.063973
0.768866
0.760692
0.728824
0.705011
0.698969
0.681673
0
0.005193
0.287589
14,326
316
79
45.335443
0.821869
0.011238
0
0.596552
0
0
0.072816
0
0
0
0
0
0.096552
1
0.055172
false
0
0.02069
0
0.07931
0
0
0
0
null
0
0
0
0
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
9f87abe034059db0457d59872e2f504f22fde6c0
118
py
Python
cert/admin.py
pulsejet/cert-server
89e7baea1c62ca6b4c83f9ff993b58278c45d20b
[ "MIT" ]
1
2022-01-29T23:58:34.000Z
2022-01-29T23:58:34.000Z
cert/admin.py
pulsejet/cert-server
89e7baea1c62ca6b4c83f9ff993b58278c45d20b
[ "MIT" ]
1
2020-02-11T22:49:27.000Z
2020-02-11T22:49:27.000Z
cert/admin.py
pulsejet/cert-server
89e7baea1c62ca6b4c83f9ff993b58278c45d20b
[ "MIT" ]
1
2018-06-12T13:52:05.000Z
2018-06-12T13:52:05.000Z
from django.contrib import admin from cert.models import Cert # Register your models here. admin.site.register(Cert)
19.666667
32
0.805085
18
118
5.277778
0.611111
0
0
0
0
0
0
0
0
0
0
0
0.127119
118
5
33
23.6
0.92233
0.220339
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.666667
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
4c89f74cc411a31cd585169cf3894474e486662b
175
py
Python
scripts/retry_unconfirmed.py
scottbelden/iotawallet
4b495b4a94ea7ad2ca593515e9dda10ffe8bb476
[ "MIT" ]
null
null
null
scripts/retry_unconfirmed.py
scottbelden/iotawallet
4b495b4a94ea7ad2ca593515e9dda10ffe8bb476
[ "MIT" ]
null
null
null
scripts/retry_unconfirmed.py
scottbelden/iotawallet
4b495b4a94ea7ad2ca593515e9dda10ffe8bb476
[ "MIT" ]
null
null
null
import getpass from iotawallet import Wallet uri = input('Node URI: ') seed = getpass.getpass(prompt='Seed: ') wallet = Wallet(uri, seed) wallet.retry_unconfirmed_bundles()
19.444444
39
0.754286
23
175
5.652174
0.565217
0.138462
0
0
0
0
0
0
0
0
0
0
0.125714
175
8
40
21.875
0.849673
0
0
0
0
0
0.091429
0
0
0
0
0
0
1
0
false
0.333333
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
0
0
0
4
4c8c4db1e0b96221a0f7ca92acff2f3dff7b5500
156
py
Python
codeEval/easy/penultimate_word.py
gauravsingh58/algo
397859a53429e7a585e5f6964ad24146c6261326
[ "WTFPL" ]
1
2020-09-30T19:53:08.000Z
2020-09-30T19:53:08.000Z
codeEval/easy/penultimate_word.py
gauravsingh58/algo
397859a53429e7a585e5f6964ad24146c6261326
[ "WTFPL" ]
null
null
null
codeEval/easy/penultimate_word.py
gauravsingh58/algo
397859a53429e7a585e5f6964ad24146c6261326
[ "WTFPL" ]
1
2020-10-15T09:10:57.000Z
2020-10-15T09:10:57.000Z
import sys test_cases = open(sys.argv[1], 'r') for test in test_cases: ls = test.strip().split() print len(ls) >= 2 and ls[-2] or "" test_cases.close()
22.285714
37
0.647436
29
156
3.37931
0.655172
0.27551
0
0
0
0
0
0
0
0
0
0.023077
0.166667
156
7
38
22.285714
0.730769
0
0
0
0
0
0.006369
0
0
0
0
0
0
0
null
null
0
0.166667
null
null
0.166667
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
4
4c8d93268225e171469606dace905f750115990f
186
py
Python
docs/pycode/array/house-robber.py
ppipada/tech-interview-prep
8842052a6471ab3ac9b55c30ef341da88e55796d
[ "MIT" ]
null
null
null
docs/pycode/array/house-robber.py
ppipada/tech-interview-prep
8842052a6471ab3ac9b55c30ef341da88e55796d
[ "MIT" ]
null
null
null
docs/pycode/array/house-robber.py
ppipada/tech-interview-prep
8842052a6471ab3ac9b55c30ef341da88e55796d
[ "MIT" ]
null
null
null
class Solution: def rob(self, nums): rob, not_rob = 0, 0 for num in nums: rob, not_rob = not_rob + num, max(rob, not_rob) return max(rob, not_rob)
31
59
0.553763
30
186
3.266667
0.433333
0.306122
0.459184
0.265306
0
0
0
0
0
0
0
0.016393
0.344086
186
6
60
31
0.786885
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.5
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
4cc068a450978737a5e4b93a11c0d9fff634e68e
112
py
Python
kdap/wikiextract/__init__.py
AayushSabharwal/kdap
4de9957382ea5139bd663310d027c39ed9e957af
[ "BSD-3-Clause" ]
9
2019-06-19T09:31:42.000Z
2022-03-22T10:05:02.000Z
kdap/wikiextract/__init__.py
AayushSabharwal/kdap
4de9957382ea5139bd663310d027c39ed9e957af
[ "BSD-3-Clause" ]
5
2020-08-07T06:39:22.000Z
2020-09-14T15:31:58.000Z
kdap/wikiextract/__init__.py
AayushSabharwal/kdap
4de9957382ea5139bd663310d027c39ed9e957af
[ "BSD-3-Clause" ]
10
2019-06-19T09:31:49.000Z
2022-03-22T10:05:04.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Tue Dec 31 15:45:48 2019 @author: descentis """
12.444444
35
0.607143
18
112
3.777778
1
0
0
0
0
0
0
0
0
0
0
0.152174
0.178571
112
8
36
14
0.586957
0.883929
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
4cd82404a85ce240ef177a9a0f5305ca236a3c0c
49
py
Python
calm/dsl/crypto/__init__.py
tuxtof/calm-dsl
5af67435d8304b97e170a690068f2d5975e9bfe6
[ "Apache-2.0" ]
37
2019-12-23T15:23:20.000Z
2022-03-15T11:12:11.000Z
calm/dsl/crypto/__init__.py
gabybeitler/calm-dsl
bac453413cfcf800eef95d89d5a7323c83654a93
[ "Apache-2.0" ]
144
2020-03-09T11:22:09.000Z
2022-03-28T21:34:09.000Z
calm/dsl/crypto/__init__.py
LevyForchh/calm-dsl
ff6e021628c0ef8c04aaa5e37c80fe1fbff729e6
[ "Apache-2.0" ]
46
2020-01-23T14:28:04.000Z
2022-03-09T04:17:10.000Z
from .crypto import Crypto __all__ = ["Crypto"]
12.25
26
0.714286
6
49
5.166667
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.163265
49
3
27
16.333333
0.756098
0
0
0
0
0
0.122449
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
4cd9ca3a2984635ed23d7eb0d2d53a5b08b8661c
210
py
Python
python/miind/miindTVBlibs.py
dekamps/miind
4b321c62c2bd27eb0d5d8336a16a9e840ba63856
[ "MIT" ]
13
2015-09-15T17:28:25.000Z
2022-03-22T20:26:47.000Z
python/miind/miindTVBlibs.py
dekamps/miind
4b321c62c2bd27eb0d5d8336a16a9e840ba63856
[ "MIT" ]
41
2015-08-25T07:50:55.000Z
2022-03-21T16:20:37.000Z
python/miind/miindTVBlibs.py
dekamps/miind
4b321c62c2bd27eb0d5d8336a16a9e840ba63856
[ "MIT" ]
9
2015-09-14T20:52:07.000Z
2022-03-08T12:18:18.000Z
import imp import os import miind.directories as directories libmiindwc = imp.load_dynamic("libmiindwc", os.path.join(directories.miind_root(), 'build' ,'apps', 'TvbModels', 'wilsoncowan', 'libmiindwc.so'))
26.25
145
0.757143
26
210
6.038462
0.653846
0
0
0
0
0
0
0
0
0
0
0
0.095238
210
7
146
30
0.826316
0
0
0
0
0
0.25
0
0
0
0
0
0
1
0
false
0
0.75
0
0.75
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
4cdabe47ff6c60dd1b267eabdd2e1619a69fe888
81
py
Python
ex005 - sucessor e antecessor.py
fblaz/Python-ex---curso-em-video
794d1f7b9fa0803b168aaf973007906b66a02e2d
[ "MIT" ]
null
null
null
ex005 - sucessor e antecessor.py
fblaz/Python-ex---curso-em-video
794d1f7b9fa0803b168aaf973007906b66a02e2d
[ "MIT" ]
null
null
null
ex005 - sucessor e antecessor.py
fblaz/Python-ex---curso-em-video
794d1f7b9fa0803b168aaf973007906b66a02e2d
[ "MIT" ]
null
null
null
x = int(input('digite um nr: ')) print(f'antecessor: {x-1} \nsucessor: {x+1}')
27
46
0.592593
14
81
3.428571
0.785714
0.083333
0
0
0
0
0
0
0
0
0
0.028986
0.148148
81
2
47
40.5
0.666667
0
0
0
0
0
0.620253
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
4
e22f915f4ca9e7b33c267c82b93101d8a5c78309
176
py
Python
Inversor.py
fedegy/ipc1E_corto3
807807d78960a9cc1a2a1d06c5143af15bbf20f2
[ "Apache-2.0" ]
null
null
null
Inversor.py
fedegy/ipc1E_corto3
807807d78960a9cc1a2a1d06c5143af15bbf20f2
[ "Apache-2.0" ]
null
null
null
Inversor.py
fedegy/ipc1E_corto3
807807d78960a9cc1a2a1d06c5143af15bbf20f2
[ "Apache-2.0" ]
null
null
null
class Inversor: def __init__(self,resultado): self.resultado=resultado def dump(self): return{ 'resutlado' : self.resultado }
17.6
40
0.556818
16
176
5.875
0.5625
0.414894
0
0
0
0
0
0
0
0
0
0
0.352273
176
10
41
17.6
0.824561
0
0
0
0
0
0.050847
0
0
0
0
0
0
1
0.285714
false
0
0
0.142857
0.428571
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
4
e251af262413887a6bc71b22d6ec49330af05070
190
py
Python
READ/subscribe/admin.py
DongWookK/READ_v2
f67c47a07653619b10478bf223eee5991ddf04a6
[ "Apache-2.0" ]
4
2019-10-20T14:24:50.000Z
2020-11-16T14:48:11.000Z
READ/subscribe/admin.py
DongWookK/READ_v2
f67c47a07653619b10478bf223eee5991ddf04a6
[ "Apache-2.0" ]
3
2019-12-05T01:11:22.000Z
2020-06-26T05:21:34.000Z
READ/subscribe/admin.py
DongWookK/READ_v2
f67c47a07653619b10478bf223eee5991ddf04a6
[ "Apache-2.0" ]
2
2020-05-20T12:07:51.000Z
2022-03-31T07:06:32.000Z
from django.contrib import admin from .models import Subscribe class SubscribeAdmin(admin.ModelAdmin): list_display = ('user', 'video', ) admin.site.register(Subscribe, SubscribeAdmin)
27.142857
46
0.778947
22
190
6.681818
0.727273
0
0
0
0
0
0
0
0
0
0
0
0.115789
190
7
46
27.142857
0.875
0
0
0
0
0
0.04712
0
0
0
0
0
0
1
0
false
0
0.4
0
0.8
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
e25ed2b91a57bf21b1bcc3d83c8bc4ab3bc9bb92
34
py
Python
qqman/__init__.py
satchellhong/qqman
465fd914ebde62e3f7cf4c54f41656fca90cabb9
[ "MIT" ]
1
2021-05-02T22:13:51.000Z
2021-05-02T22:13:51.000Z
qqman/__init__.py
satchellhong/qqman
465fd914ebde62e3f7cf4c54f41656fca90cabb9
[ "MIT" ]
1
2020-12-10T16:13:10.000Z
2021-05-02T22:40:05.000Z
qqman/__init__.py
satchellhong/qqman
465fd914ebde62e3f7cf4c54f41656fca90cabb9
[ "MIT" ]
null
null
null
name = "qqman" from . import qqman
17
19
0.705882
5
34
4.8
0.8
0
0
0
0
0
0
0
0
0
0
0
0.176471
34
2
19
17
0.857143
0
0
0
0
0
0.142857
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
e25f51e2818219488bbc362150a861081e7ec777
2,396
py
Python
mundiapi/mundiapi_client.py
hugocpolos/MundiAPI-PYTHON
164545cc58bf18c946d5456e9ba4d55a378a339a
[ "MIT" ]
7
2017-08-30T15:54:22.000Z
2020-10-09T01:01:00.000Z
mundiapi/mundiapi_client.py
hugocpolos/MundiAPI-PYTHON
164545cc58bf18c946d5456e9ba4d55a378a339a
[ "MIT" ]
4
2018-05-05T15:15:09.000Z
2021-12-22T00:52:41.000Z
mundiapi/mundiapi_client.py
hugocpolos/MundiAPI-PYTHON
164545cc58bf18c946d5456e9ba4d55a378a339a
[ "MIT" ]
4
2017-12-07T16:40:19.000Z
2020-11-02T11:56:13.000Z
# -*- coding: utf-8 -*- """ mundiapi This file was automatically generated by APIMATIC v2.0 ( https://apimatic.io ). """ from mundiapi.decorators import lazy_property from mundiapi.configuration import Configuration from mundiapi.controllers.subscriptions_controller import SubscriptionsController from mundiapi.controllers.orders_controller import OrdersController from mundiapi.controllers.plans_controller import PlansController from mundiapi.controllers.invoices_controller import InvoicesController from mundiapi.controllers.customers_controller import CustomersController from mundiapi.controllers.charges_controller import ChargesController from mundiapi.controllers.recipients_controller import RecipientsController from mundiapi.controllers.tokens_controller import TokensController from mundiapi.controllers.sellers_controller import SellersController from mundiapi.controllers.transactions_controller import TransactionsController from mundiapi.controllers.transfers_controller import TransfersController class MundiapiClient(object): config = Configuration @lazy_property def subscriptions(self): return SubscriptionsController() @lazy_property def orders(self): return OrdersController() @lazy_property def plans(self): return PlansController() @lazy_property def invoices(self): return InvoicesController() @lazy_property def customers(self): return CustomersController() @lazy_property def charges(self): return ChargesController() @lazy_property def recipients(self): return RecipientsController() @lazy_property def tokens(self): return TokensController() @lazy_property def sellers(self): return SellersController() @lazy_property def transactions(self): return TransactionsController() @lazy_property def transfers(self): return TransfersController() def __init__(self, basic_auth_user_name=None, basic_auth_password=None): if basic_auth_user_name is not None: Configuration.basic_auth_user_name = basic_auth_user_name if basic_auth_password is not None: Configuration.basic_auth_password = basic_auth_password
29.580247
84
0.729967
229
2,396
7.432314
0.270742
0.091657
0.148649
0.039953
0.036428
0.036428
0
0
0
0
0
0.001597
0.215776
2,396
80
85
29.95
0.904204
0.046745
0
0.2
1
0
0
0
0
0
0
0
0
1
0.218182
false
0.054545
0.236364
0.2
0.690909
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
0
1
0
1
0
0
0
4
e2622a97f63be447930954445213b04a99eeb61a
101
py
Python
lang/py/cookbook/v2/source/cb2_9_4_exm_4.py
ch1huizong/learning
632267634a9fd84a5f5116de09ff1e2681a6cc85
[ "MIT" ]
null
null
null
lang/py/cookbook/v2/source/cb2_9_4_exm_4.py
ch1huizong/learning
632267634a9fd84a5f5116de09ff1e2681a6cc85
[ "MIT" ]
null
null
null
lang/py/cookbook/v2/source/cb2_9_4_exm_4.py
ch1huizong/learning
632267634a9fd84a5f5116de09ff1e2681a6cc85
[ "MIT" ]
null
null
null
Result: new_ba Result: new_bo Error: exceptions.TypeError cannot concatenate 'str' and 'int' objects
25.25
70
0.80198
15
101
5.266667
0.866667
0.227848
0
0
0
0
0
0
0
0
0
0
0.118812
101
3
71
33.666667
0.88764
0
0
0
0
0
0.059406
0
0
0
0
0
0
0
null
null
0
0
null
null
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
4
e2972a5ab3fcf3b6be6d13be2bdeff9799d3bf76
19
py
Python
MU94W_Tacotron/Modules/__init__.py
weixsong/Codeblock
413e7acd6addc4950bffe2d57eb0cc7973c6fb7a
[ "MIT" ]
null
null
null
MU94W_Tacotron/Modules/__init__.py
weixsong/Codeblock
413e7acd6addc4950bffe2d57eb0cc7973c6fb7a
[ "MIT" ]
null
null
null
MU94W_Tacotron/Modules/__init__.py
weixsong/Codeblock
413e7acd6addc4950bffe2d57eb0cc7973c6fb7a
[ "MIT" ]
null
null
null
__all__ = ["CBHG"]
9.5
18
0.578947
2
19
3.5
1
0
0
0
0
0
0
0
0
0
0
0
0.157895
19
1
19
19
0.4375
0
0
0
0
0
0.210526
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
2c332317ad4f516fdcd449d568a3aa570d77f623
271
py
Python
zolware_data/config.py
zolware/zolware_data
5d3e5d654e1282c04225e07ec7897a1d54fe7bb5
[ "MIT" ]
null
null
null
zolware_data/config.py
zolware/zolware_data
5d3e5d654e1282c04225e07ec7897a1d54fe7bb5
[ "MIT" ]
null
null
null
zolware_data/config.py
zolware/zolware_data
5d3e5d654e1282c04225e07ec7897a1d54fe7bb5
[ "MIT" ]
null
null
null
import os api_endpoint = 'http://107.170.106.20/api' db_password = os.environ['DB_PASSWD'] #AWS_ACCESS_KEY_ID = os.environ['AWS_ACCESS_KEY_ID'] #AWS_SECRET_ACCESS_KEY = os.environ['AWS_SECRET_ACCESS_KEY'] #AWS_STORAGE_BUCKET_NAME = os.environ['AWS_STORAGE_BUCKET_NAME']
33.875
64
0.797048
46
271
4.23913
0.456522
0.184615
0.184615
0.14359
0
0
0
0
0
0
0
0.043478
0.066421
271
8
64
33.875
0.727273
0.638376
0
0
0
0
0.354167
0
0
0
0
0
0
1
0
false
0.333333
0.333333
0
0.333333
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
0
0
0
4
2c34ea8a86d9bffd2ddc16fcbb8a874b4beb25fa
255
py
Python
landing/forms.py
gauravuttarkar/SoftwareEngineering
23c6e58176fcb27031f9095a1090c2f72602a3f6
[ "MIT" ]
null
null
null
landing/forms.py
gauravuttarkar/SoftwareEngineering
23c6e58176fcb27031f9095a1090c2f72602a3f6
[ "MIT" ]
3
2020-06-05T20:14:46.000Z
2021-06-10T21:20:45.000Z
landing/forms.py
gauravuttarkar/SoftwareEngineering
23c6e58176fcb27031f9095a1090c2f72602a3f6
[ "MIT" ]
null
null
null
from .models import User from django import forms class PostForm(forms.ModelForm): class Meta: model = User fields = ('first_name', 'last_name', 'address', 'city', 'state', 'email', 'phone_number', 'password', 'date_of_birth')
31.875
126
0.647059
31
255
5.16129
0.806452
0
0
0
0
0
0
0
0
0
0
0
0.211765
255
8
126
31.875
0.79602
0
0
0
0
0
0.293173
0
0
0
0
0
0
1
0
false
0.166667
0.333333
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
4
2c493ed8f383a3aa09c4bfca095142bbf749cf1c
102
py
Python
util/uuid_util.py
leolulu/distribute_video_convert_system
fb4729e276bd87ec9e14ae041af550ad17bc73b1
[ "MIT" ]
null
null
null
util/uuid_util.py
leolulu/distribute_video_convert_system
fb4729e276bd87ec9e14ae041af550ad17bc73b1
[ "MIT" ]
null
null
null
util/uuid_util.py
leolulu/distribute_video_convert_system
fb4729e276bd87ec9e14ae041af550ad17bc73b1
[ "MIT" ]
null
null
null
import uuid class UuidUtil: @classmethod def get_uuid(cls): return uuid.uuid4().hex
12.75
31
0.647059
13
102
5
0.846154
0
0
0
0
0
0
0
0
0
0
0.013333
0.264706
102
7
32
14.571429
0.853333
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.2
0.2
0.8
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
4
2c79bb3aabe2105ebedc31d0aef50ea6fa30acaa
2,339
py
Python
compass.py
electric-blue-green/micro-spirit
8d61250d710c9f4f28e6e215593d34d6facf5b4e
[ "MIT" ]
1
2021-06-05T03:12:53.000Z
2021-06-05T03:12:53.000Z
compass.py
aejb/micro-spirit
8d61250d710c9f4f28e6e215593d34d6facf5b4e
[ "MIT" ]
1
2017-09-28T08:27:41.000Z
2017-09-28T08:27:41.000Z
compass.py
aejb/micro-spirit
8d61250d710c9f4f28e6e215593d34d6facf5b4e
[ "MIT" ]
2
2017-09-28T08:09:19.000Z
2017-09-29T08:43:32.000Z
from microbit import * # Images compa_N = Image("00900:" "00000:" "00000:" "00000:" "00000") compa_NNE = Image("00090:" "00000:" "00000:" "00000:" "00000") compa_NE = Image("00009:" "00000:" "00000:" "00000:" "00000") compa_ENE = Image("00000:" "00009:" "00000:" "00000:" "00000") compa_E = Image("00000:" "00000:" "00009:" "00000:" "00000") compa_ESE = Image("00000:" "00000:" "00000:" "00009:" "00000") compa_SE = Image("00000:" "00000:" "00000:" "00000:" "00009") compa_SSE = Image("00000:" "00000:" "00000:" "00000:" "00090") compa_S = Image("00000:" "00000:" "00000:" "00000:" "00900") compa_SSW = Image("00000:" "00000:" "00000:" "00000:" "09000") compa_SW = Image("00000:" "00000:" "00000:" "00000:" "90000") compa_WSW = Image("00000:" "00000:" "00000:" "90000:" "00000") compa_W = Image("00000:" "00000:" "90000:" "00000:" "00000") compa_WNW = Image("00000:" "90000:" "00000:" "00000:" "00000") compa_NW = Image("90000:" "00000:" "00000:" "00000:" "00000") compa_NWW = Image("09000:" "00000:" "00000:" "00000:" "00000") # Main compass.calibrate() # calibrates the compass while True: display.show(" ") # blanks the display while True: degrees = compass.heading() # sets the heading to var "degrees" if degrees < 22: display.show(compa_N) # North elif degrees < 45: display.show(compa_NWW) # North North West .... elif degrees < 67: display.show(compa_NW) elif degrees < 90: display.show(compa_WNW) elif degrees < 112: display.show(compa_W) elif degrees < 135: display.show(compa_WSW) elif degrees < 158: display.show(compa_SW) elif degrees < 180: display.show(compa_SSW) elif degrees < 202: display.show(compa_SSE) elif degrees < 225: display.show(compa_SE) elif degrees < 247: display.show(compa_ESE) elif degrees < 270: display.show(compa_E) elif degrees < 292: display.show(compa_ENE) elif degrees < 315: display.show(compa_NE) elif degrees < 337: display.show(compa_NNE) else: display.show(compa_N)
41.035088
83
0.557076
270
2,339
4.707407
0.233333
0.330448
0.283242
0.157356
0.177026
0
0
0
0
0
0
0.262188
0.280889
2,339
56
84
41.767857
0.49346
0.049166
0
0.074074
0
0
0.209838
0
0
0
0
0
0
1
0
false
0.037037
0.018519
0
0.018519
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
2c9ebdab255eeeed4cf94bc0ba2a6b6abd315016
208
py
Python
main.py
iffly/pyFramework
baa5569d2459850d09cea5909a59a0be7e111e88
[ "MIT" ]
null
null
null
main.py
iffly/pyFramework
baa5569d2459850d09cea5909a59a0be7e111e88
[ "MIT" ]
null
null
null
main.py
iffly/pyFramework
baa5569d2459850d09cea5909a59a0be7e111e88
[ "MIT" ]
null
null
null
#!/usr/bin/python # -*- coding: UTF-8 -*- from util.thrd import newThrd from util.thrd import waitMain def hello(s): print s if __name__ == '__main__': newThrd(hello, ('hello',)) waitMain()
13
30
0.629808
28
208
4.392857
0.678571
0.130081
0.195122
0.292683
0
0
0
0
0
0
0
0.006061
0.206731
208
15
31
13.866667
0.739394
0.182692
0
0
0
0
0.077381
0
0
0
0
0
0
0
null
null
0
0.285714
null
null
0.142857
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
4
2cab85e2454f9d11d05c563a6920c1d013416d9a
447
py
Python
game/tichu/cards/__init__.py
lukaspestalozzi/Master_Semester_Project
4e71d4034ae3f5e7efa0864b48c6fd4d876fef4e
[ "MIT" ]
null
null
null
game/tichu/cards/__init__.py
lukaspestalozzi/Master_Semester_Project
4e71d4034ae3f5e7efa0864b48c6fd4d876fef4e
[ "MIT" ]
null
null
null
game/tichu/cards/__init__.py
lukaspestalozzi/Master_Semester_Project
4e71d4034ae3f5e7efa0864b48c6fd4d876fef4e
[ "MIT" ]
null
null
null
from .card import Card, CardSuit, CardValue from .cards import (Bomb, Cards, Combination, FullHouse, ImmutableCards, Pair, PairSteps, Single, SquareBomb, Straight, StraightBomb, Trio) from .deck import Deck from .partition import Partition __all__ = (Card, CardSuit, CardValue,Bomb, Cards, Combination, FullHouse, ImmutableCards, Pair, PairSteps, Single, SquareBomb, Straight, StraightBomb, Trio, Deck, Partition)
44.7
95
0.736018
47
447
6.914894
0.425532
0.073846
0.129231
0.178462
0.590769
0.590769
0.590769
0.590769
0.590769
0.590769
0
0
0.178971
447
9
96
49.666667
0.885559
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.571429
0
0.571429
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
e2bab8c25cf9cc4f8955f1c8d166254635e6caac
139
py
Python
Pacote download/PythonExercicios/ex010.py
RodrigoMASRamos/Projects.py
ed15981b320914c9667305dcd5fb5b7906fd9b00
[ "MIT" ]
null
null
null
Pacote download/PythonExercicios/ex010.py
RodrigoMASRamos/Projects.py
ed15981b320914c9667305dcd5fb5b7906fd9b00
[ "MIT" ]
null
null
null
Pacote download/PythonExercicios/ex010.py
RodrigoMASRamos/Projects.py
ed15981b320914c9667305dcd5fb5b7906fd9b00
[ "MIT" ]
null
null
null
#Crie um programa que leia quanto dinheiro uma pessoa tem na carteira e mostre quando dólares ela pode comprar. #Considere US$1,00 = R$3,27
69.5
111
0.784173
26
139
4.192308
1
0
0
0
0
0
0
0
0
0
0
0.051282
0.158273
139
2
112
69.5
0.880342
0.978417
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
39047860417cc814ce1c5cf0af6c3ae8cc72fc27
3,809
py
Python
pylods/mapper.py
salimm/pylods
d089e2a9afb1fa8cb6c754933fc574b512757c40
[ "MIT" ]
null
null
null
pylods/mapper.py
salimm/pylods
d089e2a9afb1fa8cb6c754933fc574b512757c40
[ "MIT" ]
null
null
null
pylods/mapper.py
salimm/pylods
d089e2a9afb1fa8cb6c754933fc574b512757c40
[ "MIT" ]
null
null
null
''' Created on Dec 26, 2017 @author: Salim ''' from abc import ABCMeta from pylods.deserialize import POPState, DeserializationContext class ObjectMapper(): ''' Main Parser class to deserialize to objects, values and etc. This parser requires a dictionary to serialize/ deserialize from an input stream ''' __classmeta__ = ABCMeta __slots__ = [ '__deserializers', "_backend"] def __init__(self, backend=None): self._backend = backend def read_value(self, events): return self._backend.read_value(events); def read_obj_property_name(self, events): return self._backend.read_obj_property_name( events); def read_obj(self, events, cls=dict, state=POPState.EXPECTING_OBJ_START, ctxt=DeserializationContext.create_context()): return self._backend.read_obj( events, cls, state, ctxt); def read_array(self, events, state=POPState.EXPECTING_ARRAY_START, cls=None, propname=None, ctxt=DeserializationContext.create_context()): return self._backend.read_array( events, state, cls, propname, ctxt) def register_module(self, module): return self._backend.register_module(module) def write(self, val, outstream): self._backend.write(val, outstream) def write_object_field(self, name, value, outstream): self._backend.write_object_field(name, value, outstream) def write_dict_field(self, name, value, outstream): self._backend.write_dict_field( name, value, outstream) ######################### ARRAY def write_array_start(self, length, outstream): self._backend.write_array_start( length, outstream) def write_array_end(self, length, outstream): self._backend.write_array_end( length, outstream) def write_array_field_separator(self, value, outstream): self._backend.write_array_field_separator( value, outstream) ######################### OBJECT def write_object_start(self, numfields, outstream): self._backend.write_object_start( numfields, outstream) def write_object_end(self, numfields, outstream): self._backend.write_object_end( numfields, outstream) def write_object_field_separator(self, name, value, outstream): self._backend.write_object_field_separator( name, value, outstream) def write_object_name_value_separator(self, name, value, outstream): self._backend.write_object_name_value_separator( name, value, outstream) def write_object_field_name(self, name, outstream): self._backend.write_object_field_name( name, outstream) ######################### DICT def write_dict_start(self, numfields, outstream): self._backend.write_dict_start( numfields, outstream) def write_dict_end(self, numfields, outstream): self._backend.write_dict_end( numfields, outstream) def write_dict_field_separator(self, name, value, outstream): self._backend.write_dict_field_separator( name, value, outstream) def write_dict_name_value_separator(self, name, value, outstream): self._backend.write_dict_name_value_separator( name, value, outstream) def write_dict_field_name(self, name, outstream): self._backend.write_dict_field_name( name, outstream) def register_serializer(self, cls, serializer): self._backend.register_serializer(cls, serializer) def register_deserializer(self, cls, deserializer): return self._backend.register_deserializer(cls, deserializer) def copy(self): return self._backend.copy()
34.627273
149
0.672092
429
3,809
5.636364
0.165501
0.11828
0.132341
0.165426
0.573201
0.465674
0.440033
0.266336
0.141439
0.046319
0
0.002037
0.226831
3,809
110
150
34.627273
0.819015
0.052507
0
0
0
0
0.006562
0
0
0
0
0
0
1
0.454545
false
0
0.036364
0.127273
0.672727
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
4
391193a0865229877913dee336ec290951f14902
90
py
Python
playground/bayesian_demo/unit_test_2Dfitter.py
tcrundall/chronostar
bdb5cd965e862ba5cc21bee75d5c8620e106c0cc
[ "MIT" ]
null
null
null
playground/bayesian_demo/unit_test_2Dfitter.py
tcrundall/chronostar
bdb5cd965e862ba5cc21bee75d5c8620e106c0cc
[ "MIT" ]
null
null
null
playground/bayesian_demo/unit_test_2Dfitter.py
tcrundall/chronostar
bdb5cd965e862ba5cc21bee75d5c8620e106c0cc
[ "MIT" ]
null
null
null
#! /usr/bin/env python import numpy as np import pdb import pickle from 2Dfitter import *
15
22
0.766667
15
90
4.6
0.8
0
0
0
0
0
0
0
0
0
0
0.013333
0.166667
90
5
23
18
0.906667
0.233333
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
1
null
null
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
4
391aa322c0612abda954e912fe59e227c1a54e64
164
py
Python
badges/models/__init__.py
Siikakala/kompassi
14cdcd966ab689d762cc885e28b6d15465c216f0
[ "CC-BY-3.0" ]
null
null
null
badges/models/__init__.py
Siikakala/kompassi
14cdcd966ab689d762cc885e28b6d15465c216f0
[ "CC-BY-3.0" ]
null
null
null
badges/models/__init__.py
Siikakala/kompassi
14cdcd966ab689d762cc885e28b6d15465c216f0
[ "CC-BY-3.0" ]
null
null
null
# encoding: utf-8 from .count_badges_mixin import CountBadgesMixin from .badges_event_meta import BadgesEventMeta from .batch import Batch from .badge import Badge
27.333333
48
0.841463
23
164
5.826087
0.608696
0
0
0
0
0
0
0
0
0
0
0.006897
0.115854
164
6
49
27.333333
0.917241
0.091463
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
391e84d70ef4523122f6f546cef819264a571736
136
py
Python
Test/two/payments/momo/views.py
titan256/Python-Django-Assignment
9f56f69ea7182456729116e27435231925d24d11
[ "MIT" ]
null
null
null
Test/two/payments/momo/views.py
titan256/Python-Django-Assignment
9f56f69ea7182456729116e27435231925d24d11
[ "MIT" ]
9
2020-06-05T23:53:04.000Z
2022-02-10T08:33:32.000Z
Test/two/payments/momo/views.py
titan256/Python-Django-Assignment
9f56f69ea7182456729116e27435231925d24d11
[ "MIT" ]
null
null
null
from django.shortcuts import render from .mtn import MtnMomo import requests def index(request): return render(request,'index.html')
17
36
0.794118
19
136
5.684211
0.684211
0
0
0
0
0
0
0
0
0
0
0
0.125
136
7
37
19.428571
0.907563
0
0
0
0
0
0.073529
0
0
0
0
0
0
1
0.2
false
0
0.6
0.2
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
0
0
0
4
1a3c0351a1cd5696d8ab27991f8941481f635607
3,393
py
Python
leibniz/nn/layer/hyperbolic.py
vishalbelsare/leibniz
40bb6f088c5325701ca53506d7a66eb0a9ef4fef
[ "MIT" ]
13
2019-09-17T10:57:36.000Z
2021-12-11T20:57:02.000Z
leibniz/nn/layer/hyperbolic.py
vishalbelsare/leibniz
40bb6f088c5325701ca53506d7a66eb0a9ef4fef
[ "MIT" ]
null
null
null
leibniz/nn/layer/hyperbolic.py
vishalbelsare/leibniz
40bb6f088c5325701ca53506d7a66eb0a9ef4fef
[ "MIT" ]
5
2020-10-11T09:46:36.000Z
2021-09-13T11:02:11.000Z
# -*- coding: utf-8 -*- import torch as th import torch.nn as nn from leibniz.nn.layer.simam import SimAM from leibniz.nn.layer.cbam import CBAM class BasicBlock(nn.Module): def __init__(self, in_channel, out_channel, step, relu, conv, reduction=16): super(BasicBlock, self).__init__() self.step = step self.relu = relu self.conv1 = conv(in_channel, in_channel, kernel_size=3, stride=1, padding=1) self.conv2 = conv(in_channel, out_channel, kernel_size=3, stride=1, padding=1) self.simam = SimAM(out_channel, reduction) def forward(self, x): y = self.conv1(x) y = self.relu(y) y = self.conv2(y) y = self.simam(y) return y class Bottleneck(nn.Module): def __init__(self, in_channel, out_channel, step, relu, conv, reduction=16): super(Bottleneck, self).__init__() self.step = step self.relu = relu hidden = min(in_channel, out_channel) // 4 + 1 self.conv1 = conv(in_channel, hidden, kernel_size=1, bias=False) self.conv2 = conv(hidden, hidden, kernel_size=3, bias=False, padding=1) self.conv3 = conv(hidden, out_channel, kernel_size=1, bias=False) self.simam = SimAM(out_channel, reduction) def forward(self, x): y = self.conv1(x) y = self.relu(y) y = self.conv2(y) y = self.relu(y) y = self.conv3(y) y = self.simam(y) return y class HyperBasic(nn.Module): extension = 1 least_required_dim = 1 def __init__(self, dim, step, ix, tx, relu, conv, reduction=16): super(HyperBasic, self).__init__() self.dim = dim self.step = step self.ix = ix self.tx = tx self.input = BasicBlock(dim, 2 * dim, step, relu, conv, reduction=reduction) self.output = BasicBlock(7 * dim, dim, step, relu, conv, reduction=reduction) def forward(self, x): r = self.input(x) velo = r[:, :self.dim] theta = r[:, self.dim:] u = velo * th.cos(theta) v = velo * th.sin(theta) y1 = x * (1 + v * self.step) + u * self.step y2 = x * (1 + u * self.step) - v * self.step y3 = x * (1 - v * self.step) - u * self.step y4 = x * (1 - u * self.step) + v * self.step ys = th.cat([y1, y2, y3, y4, x, velo, theta], dim=1) return x * (1 + self.output(ys) * self.step) class HyperBottleneck(nn.Module): extension = 2 least_required_dim = 1 def __init__(self, dim, step, ix, tx, relu, conv, reduction=16): super(HyperBottleneck, self).__init__() self.dim = dim self.step = step self.ix = ix self.tx = tx self.input = Bottleneck(dim, 2 * dim, step, relu, conv, reduction=reduction) self.output = Bottleneck(7 * dim, dim, step, relu, conv, reduction=reduction) def forward(self, x): r = self.input(x) velo = r[:, :self.dim] theta = r[:, self.dim:] u = velo * th.cos(theta) v = velo * th.sin(theta) y1 = x * (1 + v * self.step) + u * self.step y2 = x * (1 + u * self.step) - v * self.step y3 = x * (1 - v * self.step) - u * self.step y4 = x * (1 - u * self.step) + v * self.step ys = th.cat([y1, y2, y3, y4, x, velo, theta], dim=1) return x * (1 + self.output(ys) * self.step)
31.416667
86
0.563808
494
3,393
3.761134
0.145749
0.094726
0.073197
0.067815
0.770721
0.74704
0.717976
0.717976
0.660926
0.623251
0
0.028045
0.295903
3,393
107
87
31.71028
0.749686
0.006189
0
0.695122
0
0
0
0
0
0
0
0
0
1
0.097561
false
0
0.04878
0
0.292683
0
0
0
0
null
0
0
0
0
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
1a3dde9bd74b355a0953e9c83739f05396fae6a0
239
py
Python
models/user.py
Akkihi/Custom-Commands-Bot
974013211783eb46501c6fec79a5298cee36b260
[ "MIT" ]
1
2021-03-31T12:36:33.000Z
2021-03-31T12:36:33.000Z
models/user.py
Akkihi/Custom-Commands-Bot
974013211783eb46501c6fec79a5298cee36b260
[ "MIT" ]
null
null
null
models/user.py
Akkihi/Custom-Commands-Bot
974013211783eb46501c6fec79a5298cee36b260
[ "MIT" ]
null
null
null
from peewee import * from .base_model import BaseModel class User(BaseModel): telegram_id = BigIntegerField(unique=True) first_name = TextField(null=True) last_name = TextField(null=True) username = TextField(null=True)
21.727273
46
0.740586
30
239
5.766667
0.633333
0.225434
0.294798
0.242775
0
0
0
0
0
0
0
0
0.171548
239
10
47
23.9
0.873737
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.285714
0
1
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
4
1a3f81179653f8fb7108807af9e3d0cfffb07ce8
92
py
Python
modules/__init__.py
mlomnitz/DifferentiableJPEG
a5767feba955a1bcb78600135a09c36a806f6249
[ "MIT" ]
86
2020-02-20T18:59:28.000Z
2022-03-31T13:22:21.000Z
modules/__init__.py
mlomnitz/DifferentiableJPEG
a5767feba955a1bcb78600135a09c36a806f6249
[ "MIT" ]
3
2021-05-24T02:53:08.000Z
2021-11-23T00:18:59.000Z
loss/modules/__init__.py
Liamkuo/SAIR
0fb289cd975b5a196b58e7d16bac00e31fd41d39
[ "MIT" ]
9
2021-08-02T22:58:04.000Z
2022-03-07T00:35:21.000Z
# python3 from .compression import compress_jpeg from .decompression import decompress_jpeg
23
42
0.858696
11
92
7
0.727273
0
0
0
0
0
0
0
0
0
0
0.012195
0.108696
92
3
43
30.666667
0.926829
0.076087
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
1a767912c82d8c9b6c4adc8d006495b112eb56fe
1,012
py
Python
tests/test_safe_shutdown.py
schana/carim-discord-bot
c1f5e868404744667156af7ad6d244939998b5a2
[ "Apache-2.0" ]
14
2020-04-06T17:58:09.000Z
2022-02-28T13:29:35.000Z
tests/test_safe_shutdown.py
schana/carim-discord-bot
c1f5e868404744667156af7ad6d244939998b5a2
[ "Apache-2.0" ]
48
2020-04-05T11:24:10.000Z
2021-03-10T08:12:19.000Z
tests/test_safe_shutdown.py
schana/carim-discord-bot
c1f5e868404744667156af7ad6d244939998b5a2
[ "Apache-2.0" ]
12
2020-03-31T15:08:56.000Z
2021-09-07T17:54:49.000Z
import asyncio import pytest # from carim_discord_bot import main @pytest.mark.asyncio async def test_kick_everybody(monkeypatch): pass # response = '''\ # Players on server: # [#] [IP Address]:[Port] [Ping] [GUID] [Name] # -------------------------------------------------- # 2 127.0.0.1:2304 0 1234(OK) Survivor2 # 4 127.0.0.2:2304 32 5678(OK) Survivor4 # (2 players in total)''' # # async def mock_update(): # pass # # monkeypatch.setattr(main, 'update_player_count', mock_update) # # sent_commands = list() # # async def mock_send(command): # sent_commands.append(command) # if command == 'players': # future = asyncio.get_running_loop().create_future() # future.set_result(response) # return future # # monkeypatch.setattr(main, 'send_command', mock_send) # # await main.kick_everybody('') # assert len(sent_commands) == 3 # assert 'kick 2' in sent_commands[1] # assert 'kick 4' in sent_commands[2]
25.948718
67
0.604743
125
1,012
4.728
0.512
0.101523
0.01692
0
0
0
0
0
0
0
0
0.051768
0.217391
1,012
38
68
26.631579
0.694444
0.83498
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.2
0.4
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
0
0
0
4
1a7e5e003434dcbaa1735783c326b4494b1d0159
1,659
py
Python
autoML/_nbdev.py
jatintyagi7/autoML
0250cc6195f53a870ba30d241e9fdcf38a93f364
[ "Apache-2.0" ]
null
null
null
autoML/_nbdev.py
jatintyagi7/autoML
0250cc6195f53a870ba30d241e9fdcf38a93f364
[ "Apache-2.0" ]
null
null
null
autoML/_nbdev.py
jatintyagi7/autoML
0250cc6195f53a870ba30d241e9fdcf38a93f364
[ "Apache-2.0" ]
null
null
null
# AUTOGENERATED BY NBDEV! DO NOT EDIT! __all__ = ["index", "modules", "custom_doc_links", "git_url"] index = {"convert_str": "01_Regression.ipynb", "scaler": "01_Regression.ipynb", "comb": "01_Regression.ipynb", "rf_colselector": "01_Regression.ipynb", "corr_colselector": "01_Regression.ipynb", "ColProcessor": "01_Regression.ipynb", "interaction_feats": "01_Regression.ipynb", "poly_feats": "01_Regression.ipynb", "pca_feats": "01_Regression.ipynb", "clubbed_feats": "01_Regression.ipynb", "preprocess": "01_Regression.ipynb", "final_preprocessor": "01_Regression.ipynb", "combined_metrics": "01_Regression.ipynb", "confusion_matrix_plot": "00_Classification.ipynb", "to_excel": "01_Regression.ipynb", "get_table_download_link": "01_Regression.ipynb", "GNB": "01_Regression.ipynb", "LogisticReg": "01_Regression.ipynb", "KNN": "01_Regression.ipynb", "SVM": "01_Regression.ipynb", "DT": "01_Regression.ipynb", "RF": "01_Regression.ipynb", "GB": "01_Regression.ipynb", "ERT": "01_Regression.ipynb", "XGB": "01_Regression.ipynb", "SGD": "01_Regression.ipynb", "NN": "01_Regression.ipynb", "data": "01_Regression.ipynb", "test_data": "01_Regression.ipynb", "LinearReg": "01_Regression.ipynb"} modules = ["classification.py", "Regression.py"] doc_url = "https://jatin.github.io/autoML/" git_url = "https://github.com/jatin/autoML/tree/master/" def custom_doc_links(name): return None
37.704545
61
0.61965
179
1,659
5.424581
0.402235
0.358393
0.507724
0.090628
0
0
0
0
0
0
0
0.04644
0.221218
1,659
43
62
38.581395
0.705108
0.0217
0
0
1
0
0.605182
0.041333
0
0
0
0
0
1
0.027778
false
0
0
0.027778
0.027778
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
1aa99b97954980ce75558ef545b8c11997c173dd
6,596
py
Python
tests/homework2/task1/test_curry.py
GirZ0n/SPBU-Homework-4
1637f774c5d330c465bf2d2c4e729e4daa936756
[ "Unlicense" ]
null
null
null
tests/homework2/task1/test_curry.py
GirZ0n/SPBU-Homework-4
1637f774c5d330c465bf2d2c4e729e4daa936756
[ "Unlicense" ]
2
2021-03-01T13:58:56.000Z
2021-04-05T16:50:45.000Z
tests/homework2/task1/test_curry.py
GirZ0n/SPBU-Homework-4
1637f774c5d330c465bf2d2c4e729e4daa936756
[ "Unlicense" ]
1
2021-03-04T19:08:21.000Z
2021-03-04T19:08:21.000Z
import unittest from functools import reduce from homework.homework2.task1.curry import curry_explicit from tests.tests_utils import check_message ARITY_CANNOT_BE_NEGATIVE = "Arity cannot be negative." OBJECT_IS_NOT_CALLABLE = "object is not callable" MISSING_1_REQUIRED_POSITIONAL_ARGUMENT = "missing 1 required positional argument" def const() -> int: return 42 class ZeroArgumentsCurryTestCase(unittest.TestCase): def test_const(self): self.assertEqual(curry_explicit(const, 0)(), 42) def test_const_negativity_arity(self): with self.assertRaises(ValueError) as context: curry_explicit(const, -681) self.assertTrue(check_message(context, ARITY_CANNOT_BE_NEGATIVE)) def test_const_arity_is_greater_than_arity_of_function(self): with self.assertRaises(TypeError) as context: curry_explicit(const, 4)(1)(2)(3)(4) self.assertTrue(check_message(context, "takes 0 positional arguments but 4 were given")) def test_const_too_many_arguments(self): with self.assertRaises(TypeError) as context: curry_explicit(const, 0)()(247)(178)(751)(-33) self.assertTrue(check_message(context, OBJECT_IS_NOT_CALLABLE)) def test_inc_too_many_positional_arguments(self): with self.assertRaises(TypeError) as context: curry_explicit(const, 0)(-481, -673, -727) self.assertTrue(check_message(context, "takes 0 positional arguments but 3 were given")) def inc(x: int) -> int: return x + 1 class OneArgumentCurryTestCase(unittest.TestCase): def test_inc(self): self.assertEqual(curry_explicit(inc, 1)(-653), -652) def test_inc_negative_arity(self): with self.assertRaises(ValueError) as context: curry_explicit(inc, -845) self.assertTrue(check_message(context, ARITY_CANNOT_BE_NEGATIVE)) def test_inc_arity_is_greater_than_arity_of_function(self): with self.assertRaises(TypeError) as context: curry_explicit(inc, 4)(1)(2)(3)(4) self.assertTrue(check_message(context, "takes 1 positional argument but 4 were given")) def test_inc_arity_is_less_than_arity_of_function(self): with self.assertRaises(TypeError) as context: curry_explicit(inc, 0)() self.assertTrue(check_message(context, MISSING_1_REQUIRED_POSITIONAL_ARGUMENT)) def test_inc_too_many_arguments(self): with self.assertRaises(TypeError) as context: curry_explicit(inc, 1)(-412)(247)(178)(751)(-33) self.assertTrue(check_message(context, OBJECT_IS_NOT_CALLABLE)) def test_inc_too_many_positional_arguments(self): with self.assertRaises(TypeError) as context: curry_explicit(inc, 1)(-481, -673, -727) self.assertTrue(check_message(context, "takes 1 positional argument but 3 were given")) def test_inc_too_few_positional_arguments(self): with self.assertRaises(TypeError) as context: curry_explicit(inc, 1)() self.assertTrue(check_message(context, MISSING_1_REQUIRED_POSITIONAL_ARGUMENT)) def mul(x: int, y: int) -> int: return x * y class TwoArgumentsCurryTestCase(unittest.TestCase): def test_mul(self): self.assertEqual(curry_explicit(mul, 2)(-653)(387), -252711) def test_mul_negative_arity(self): with self.assertRaises(ValueError) as context: curry_explicit(mul, -142) self.assertTrue(check_message(context, ARITY_CANNOT_BE_NEGATIVE)) def test_mul_arity_is_greater_than_arity_of_function(self): with self.assertRaises(TypeError) as context: curry_explicit(mul, 4)(215)(-959)(-497)(408) self.assertTrue(context, "takes 2 positional arguments but 4 were given") def test_mul_arity_is_less_than_arity_of_function(self): with self.assertRaises(TypeError) as context: curry_explicit(mul, 1)(611) self.assertTrue(check_message(context, MISSING_1_REQUIRED_POSITIONAL_ARGUMENT)) def test_mul_too_many_arguments(self): with self.assertRaises(TypeError) as context: curry_explicit(mul, 2)(475)(297)(-272)(-544)(327) self.assertTrue(check_message(context, OBJECT_IS_NOT_CALLABLE)) def test_mul_too_many_positional_arguments(self): with self.assertRaises(TypeError) as context: curry_explicit(mul, 2)(-481, -673, -727, 367, -594) self.assertTrue(check_message(context, "takes 1 positional argument but 5 were given")) def test_mul_too_few_positional_arguments(self): with self.assertRaises(TypeError) as context: curry_explicit(mul, 2)()(95) self.assertTrue(check_message(context, MISSING_1_REQUIRED_POSITIONAL_ARGUMENT)) def concat(*args: str) -> str: return reduce(lambda acc, x: acc + x, args, "") class ArbitraryNumberOfArgumentsCurryTestCase(unittest.TestCase): def test_concat_4_strings(self): self.assertEqual(curry_explicit(concat, 4)("rid")("neighborhood")("visit")("oil"), "ridneighborhoodvisitoil") def test_concat_7_strings(self): result = curry_explicit(concat, 7)("altogether")("population")("deceit")("soup")("salary")("across")("drag") expected = "altogetherpopulationdeceitsoupsalaryacrossdrag" self.assertEqual(result, expected) def test_concat_negative_arity(self): with self.assertRaises(ValueError) as context: curry_explicit(concat, -142) self.assertTrue(check_message(context, ARITY_CANNOT_BE_NEGATIVE)) def test_concat_too_many_arguments(self): with self.assertRaises(TypeError) as context: curry_explicit(concat, 4)("arch")("relief")("confident")("rent")("broadcast") self.assertTrue(check_message(context, OBJECT_IS_NOT_CALLABLE)) def test_concat_too_many_positional_arguments(self): with self.assertRaises(TypeError) as context: curry_explicit(concat, 4)("explosive", "room", "dog", "grammatical", "live") self.assertTrue(check_message(context, "takes 1 positional argument but 5 were given")) def test_concat_too_few_positional_arguments(self): with self.assertRaises(TypeError) as context: curry_explicit(concat, 4)()("broad")()("film") self.assertTrue(check_message(context, MISSING_1_REQUIRED_POSITIONAL_ARGUMENT)) def test_concat_zero_arity(self): with self.assertRaises(TypeError) as context: curry_explicit(concat, 0)(5) self.assertTrue(check_message(context, "takes 0 positional arguments but 1 was given"))
37.265537
117
0.713008
831
6,596
5.397112
0.162455
0.078261
0.056187
0.112375
0.760089
0.703679
0.691639
0.691639
0.679153
0.675139
0
0.034009
0.184203
6,596
176
118
37.477273
0.79948
0
0
0.330435
0
0
0.098545
0.010461
0
0
0
0
0.408696
1
0.26087
false
0
0.034783
0.034783
0.365217
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
1
0
0
0
0
0
0
0
4
1ab0af78a3d1e76a86332ff0d30f4d6c7fceff9f
64
py
Python
Chapter1/2.1-4.py
hexinatgithub/CLRS
c765db7806b566be18ae1c8f6777ebb61a25dfe0
[ "MIT" ]
1
2016-10-27T15:02:16.000Z
2016-10-27T15:02:16.000Z
Chapter1/2.1-4.py
hexinatgithub/CLRS
c765db7806b566be18ae1c8f6777ebb61a25dfe0
[ "MIT" ]
null
null
null
Chapter1/2.1-4.py
hexinatgithub/CLRS
c765db7806b566be18ae1c8f6777ebb61a25dfe0
[ "MIT" ]
null
null
null
def add(A, B, C): for x in xrange(0,len(A)): C[x] = A[x]+B[x]
21.333333
27
0.5
18
64
1.777778
0.611111
0
0
0
0
0
0
0
0
0
0
0.019608
0.203125
64
3
28
21.333333
0.607843
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.333333
0
1
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
4
1ab3eaf5f0e5c7160abcecea8d0e5c6c87713cde
120
py
Python
models/__init__.py
Rufaim/Deep-InfoMax
39d754d4fa388b79d17ef7c12c82d5da21787cc0
[ "MIT" ]
null
null
null
models/__init__.py
Rufaim/Deep-InfoMax
39d754d4fa388b79d17ef7c12c82d5da21787cc0
[ "MIT" ]
null
null
null
models/__init__.py
Rufaim/Deep-InfoMax
39d754d4fa388b79d17ef7c12c82d5da21787cc0
[ "MIT" ]
null
null
null
from .encoder import BasicEncoder64x64 from .mututal_info import MutualInfoType from .deep_info_max import DeepInfoMax
24
40
0.866667
15
120
6.733333
0.666667
0
0
0
0
0
0
0
0
0
0
0.037383
0.108333
120
4
41
30
0.906542
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
1ab41ed6c7bc0b52e297e04698b2275457ec84e7
54,475
py
Python
hypatie/simbad_bright_objects.py
behrouzz/hypatie
2776475ef4aa91fb23dd47f91d261ecb006b4897
[ "MIT" ]
null
null
null
hypatie/simbad_bright_objects.py
behrouzz/hypatie
2776475ef4aa91fb23dd47f91d261ecb006b4897
[ "MIT" ]
null
null
null
hypatie/simbad_bright_objects.py
behrouzz/hypatie
2776475ef4aa91fb23dd47f91d261ecb006b4897
[ "MIT" ]
null
null
null
mag45 = """* alf CMa,SB*,-1.46,101.28715533333335,-16.71611586111111 * alf Car,*,-0.74,95.98795782918306,-52.69566138386201 * alf Cen,**,-0.1,219.87383306,-60.83222194 NAME CMa Dwarf Galaxy,G,-0.1,108.15,-27.666666666666668 * alf Boo,RG*,-0.05,213.915300294925,19.1824091615312 * alf Cen A,SB*,0.01,219.90205833170774,-60.83399268831004 * alf Lyr,dS*,0.03,279.234734787025,38.783688956244 * alf Aur,SB*,0.08,79.17232794433404,45.99799146983673 2MASS J22472789+5807236,V*,0.128,341.866227,58.123245 * bet Ori,s*b,0.13,78.63446706693006,-8.201638364722209 * alf CMi,SB*,0.37,114.82549790798149,5.224987557059477 NAME LMC,G,0.4,80.89416666666666,-69.75611111111111 * alf Ori,s*r,0.42,88.79293899077537,7.407063995272694 * alf Eri,Be*,0.46,24.428522833333336,-57.236752805555554 * bet Cen,bC*,0.58,210.95585562281522,-60.373035161541594 * alf Aql,dS*,0.76,297.69582729638694,8.868321196436963 * alf Tau,LP?,0.86,68.9801627900154,16.5093023507718 * alf Sco,**,0.91,247.3519154198264,-26.432002611950832 * alf Vir,bC*,0.97,201.2982473615632,-11.161319485111932 SN 2009jb,SN*,1.07,260.92379166666666,30.49738888888889 * bet Gem,PM*,1.14,116.32895777437875,28.02619889009357 * alf PsA,**,1.16,344.4126927211701,-29.622237033389442 * bet Cru,bC*,1.25,191.9302865619529,-59.68877199622606 * alf Cyg,sg*,1.25,310.35797975307673,45.280338806527574 * alf01 Cru,*,1.28,186.6495666666667,-63.09909166666667 * alf Cen B,PM*,1.33,219.89609628987276,-60.83752756558407 * alf Leo,PM*,1.4,152.09296243828146,11.967208776100023 * eps CMa,*,1.5,104.65645315148348,-28.972086157360806 * alf Gem,**,1.58,113.64947163976585,31.88828221646326 * alf02 Cru,*,1.58,186.65184166666666,-63.09952222222222 * lam Sco,bC*,1.62,263.40216718438023,-37.10382355111976 * gam Cru,PM*,1.64,187.79149837560794,-57.11321345705891 * gam Ori,V*,1.64,81.28276355652378,6.3497032644440665 * bet Tau,PM*,1.65,81.57297133176498,28.607451724998228 * eps Ori,s*b,1.69,84.05338894077023,-1.2019191358333312 * bet Car,PM*,1.69,138.29990608310192,-69.71720759721548 * alf Gru,PM*,1.71,332.05826969609114,-46.96097438191952 * zet Ori,**,1.77,85.18969442793068,-1.9425735859722049 * eps UMa,a2*,1.77,193.5072899675,55.95982295694445 * alf Per,V*,1.79,51.08070871833333,49.86117929305556 * alf UMa,SB*,1.79,165.9319646738126,61.751034687818226 * gam02 Vel,WR*,1.83,122.38312555977059,-47.336586329303486 * del CMa,s*y,1.84,107.09785021416667,-26.39319957888889 * tet Sco,*,1.85,264.3297077207907,-42.99782799333082 * eps Sgr,**,1.85,276.0429933505963,-34.38461648586744 * eta UMa,PM*,1.86,206.88515734206297,49.31326672942533 * eps Car,**,1.86,125.62848024272952,-59.509484191917416 * alf UMa A,PM*,1.87,165.93195263333334,61.75103334166666 * bet Aur,Al*,1.9,89.88217886833333,44.94743257194444 * zet Ori A,**,1.9,85.18969642916667,-1.9425723222222224 * alf Gem A,SB*,1.9,113.64942845,31.88827619166667 * alf Pav,SB*,1.918,306.4119043651986,-56.73508972631689 * gam Gem,SB*,1.92,99.42796042942895,16.399280426663772 * alf TrA,*,1.92,252.1662295073803,-69.02771184691984 * del Vel,Al*,1.95,131.17594410269234,-54.70881924765521 * bet CMa,bC*,1.97,95.67493896958332,-17.955918708888888 * alf Hya,*,1.97,141.89684459585948,-8.658599531745583 * gam01 Leo,PM*,1.98,154.9931435916667,19.841488666666663 * bet Cet,PM*,2.01,10.897378736003901,-17.98660631592891 * alf Ari,PM*,2.01,31.79335709957655,23.46241755020095 * eps Car A,*,2.01,125.6284741,-59.509480700000005 * alf UMi,cC*,2.02,37.954560670189856,89.26410896994187 * bet And,PM*,2.05,17.43301617293042,35.62055765052624 * tet Cen,PM*,2.05,211.670614682339,-36.369954742511496 * kap Ori,s*b,2.06,86.93912016833333,-9.66960491861111 * alf And,a2*,2.06,2.0969161856756404,29.090431118059698 * sig Sgr,**,2.067,283.81636040649323,-26.29672411476388 * alf Oph,**,2.07,263.73362272030505,12.560037391671425 * bet UMi,V*,2.08,222.67635749796767,74.15550393675127 * gam01 And,SB*,2.1,30.97480120653972,42.32972842352701 Cl Collinder 135,OpC,2.1,109.32083333333334,-36.81666666666667 * bet Gru,LP?,2.11,340.66687612556166,-46.884576444824646 * bet Per,EB*,2.12,47.04221855625,40.95564667027778 * bet Leo,dS*,2.13,177.26490975591017,14.572058064829658 * gam Cen,**,2.17,190.37933367081536,-48.959871515023295 NAME SMC,G,2.2,13.158333333333333,-72.80027777777778 * lam Vel,LP*,2.21,136.99899113791412,-43.432590908860746 * zet01 UMa,SB*,2.22,200.9814286375,54.92536182777777 * gam Cyg,V*,2.23,305.55709098208337,40.25667915638889 * alf Cas,PM*,2.23,10.126837782916667,56.53733115833333 * gam Dra,*,2.23,269.1515411786243,51.48889561763423 * alf CrB,Al*,2.24,233.6719500152086,26.714692780601993 * zet Pup,BY*,2.25,120.89603140977576,-40.003147798268934 * iot Car,V*,2.26,139.27252857166667,-59.275232029166666 * bet Cas,dS*,2.27,2.2945215777878776,59.14978109800713 * alf Lup,bC*,2.286,220.4823157775,-47.38819874611111 * eps Sco,PM*,2.29,252.54087838625,-34.29323159305555 * eps Cen,bC*,2.3,204.97190723090242,-53.466391146088995 * eta Cen,Be*,2.31,218.8767673375,-42.15782521722222 * del Sco,SB*,2.32,240.08335534565887,-22.621706426005783 * gam Leo,**,2.37,154.99312733272745,19.84148521911754 * alf Phe,SB*,2.37,6.5710475153919266,-42.305987194396046 * bet UMa,PM*,2.37,165.46031890416668,56.38242608666667 * kap Sco,bC*,2.386,265.62198000035505,-39.02998307638737 * eps Peg,LP*,2.39,326.04648391416663,9.875008653333333 * eps Boo,**,2.39,221.24673940278586,27.074224971737152 * gam Cas,Be*,2.39,14.177215416666668,60.71674027777778 * del Ori,Al*,2.41,83.00166705557675,-0.29909510708333326 * eta Oph,**,2.42,257.5945287106208,-15.724906641710527 * bet Peg,LP*,2.42,345.9435727452067,28.082787124606668 * gam UMa,Em*,2.44,178.45769715249997,53.69475972916666 * eps Boo A,*,2.45,221.2467631083333,27.074207219444446 * eta CMa,s*b,2.45,111.02375950100142,-29.303105508471724 * alf Cep,PM*,2.46,319.6448846972256,62.5855744637194 * eta Oph A,PM*,2.463,257.5944336,-15.7251428 * kap Vel,SB*,2.473,140.52840670833334,-55.01066713416667 * alf Peg,PM*,2.48,346.19022269142596,15.205267147927536 * eps Cyg,**,2.48,311.5528431704166,33.97025692388889 * bet Sco,**,2.5,241.35929166666665,-19.80538888888889 NGC 1980,OpC,2.5,83.85,-5.915000000000001 [SC96] Mis 162,*,2.51,253.0,-38.03333333333333 * del Cen,Be*,2.52,182.08957348875,-50.722427392777774 * del Leo,PM*,2.53,168.52708926588556,20.523718139047475 * alf Cet,LP?,2.53,45.56988780332224,4.089738771805157 * zet Cen,SB*,2.55,208.88494019857197,-47.28837451101241 * zet Oph,Be*,2.56,249.28974606041666,-10.56709151972222 * alf Lep,V*,2.57,83.18256716166667,-17.82228927222222 * gam Crv,PM*,2.58,183.9515450373768,-17.541930457603193 * zet Sgr,**,2.585,285.6530426563352,-29.88006330096877 Cl Collinder 121,OpC,2.6,104.08333333333336,-24.729999999999997 NGC 6231,OpC,2.6,253.53545833333334,-41.82666666666667 * bet Lib,PM*,2.62,229.25172424914246,-9.382914410334685 * tet Aur,a2*,2.62,89.93029217610834,37.21258462923103 * bet01 Sco,SB*,2.62,241.3592999275,-19.805452782777778 * alf Ser,PM*,2.63,236.06697631625,6.425628686666666 * bet Crv,PM*,2.64,188.59681183041667,-23.396760403611108 * alf Mus,**,2.649,189.29590786916668,-69.1355647886111 * alf Col,Be*,2.65,84.91225429958334,-34.07410971972223 * bet Ari,SB*,2.65,28.66004578884514,20.808031471916408 * del Sgr,*,2.668,275.24851476000003,-29.828101644166665 * bet Lup,PM*,2.68,224.63302234983436,-43.13396384896446 * del Cas,Al*,2.68,21.453964462083334,60.23528402972222 * eta Boo,SB*,2.68,208.67116216800866,18.397720717229475 * mu. Vel,**,2.69,161.6924115354181,-49.420256789972576 * iot Aur,V*,2.69,74.24842120291667,33.1660995775 * pi. Pup,LP*,2.7,109.28565325467379,-37.09747115430162 * mu. Vel A,PM*,2.7,161.69244928333333,-49.42026028888888 * ups Sco,*,2.7,262.6909880116666,-37.295813475277775 * gam Aql,*,2.72,296.5649178783333,10.613261329999998 * iot Cen,PM*,2.73,200.14922006503957,-36.712304581225 * gam Vir,**,2.74,190.41518098346438,-1.4493728192292532 * eta Dra,PM*,2.74,245.99787756251087,61.514235454450834 * alf02 Lib,SB*,2.75,222.7196378915803,-16.041776519834446 * del Oph,PM*,2.75,243.5864105303868,-3.6943225643644135 * bet Oph,PM*,2.75,265.86813603416664,4.567304301111111 * del Cru,Pu*,2.752,183.78631968541666,-58.74892692666667 * tet Car,SB*,2.76,160.73917486416664,-64.39445022111111 * gam Lup,El*,2.765,233.78520144771352,-41.16675686900692 * bet Her,SB*,2.77,247.55499811083337,21.48961132722222 * iot Ori,SB*,2.77,83.85825794708333,-5.9099009825 * eps Vir,PM*,2.79,195.54415770666668,10.959150400833332 * bet Hyi,PM*,2.79,6.4377931550222804,-77.25424611998604 * bet Eri,PM*,2.79,76.96243955494712,-5.086445970102491 * zet Her,SB*,2.8,250.32150433146228,31.602718703799262 Cl Collinder 69,OpC,2.8,83.775,9.933333333333332 * lam Sgr,PM*,2.81,276.99266966041665,-25.421698496944444 * bet Dra,*,2.81,262.60817373291667,52.30138870861111 * rho Pup,dS*,2.81,121.88603676458334,-24.304324429444446 * tau Sco,*,2.81,248.97063688749995,-28.2160170875 * gam Cen A,PM*,2.82,190.37930732083333,-48.95991231666667 * alf Tuc,SB*,2.82,334.6253949308333,-60.25959064083334 * del Cap,Al*,2.83,326.76018433125,-16.12728708527778 * alf Hyi,PM*,2.84,29.692477791250003,-61.56985966055556 * bet Lep,**,2.84,82.061346495,-20.759441053055554 * gam Peg,bC*,2.84,3.3089634616666666,15.183593544166667 * bet Ara,*,2.85,261.32495146958337,-55.5298852125 * bet TrA,PM*,2.85,238.785675265,-63.43072653638888 * zet Per,V*,2.85,58.53301031291666,31.88363368388889 * mu. Gem,LP*,2.87,95.74011192619564,22.513582745904277 * eta Tau,Be*,2.87,56.871152303749994,24.105135651944444 * del Cyg,PM*,2.87,296.24366058875,45.13081001833333 * gam Cen B,PM*,2.88,190.37923070833335,-48.959576850000005 * alf02 CVn,a2*,2.88,194.00694257125,38.31837614166667 * zet Her A,*,2.88,250.3227706,31.6019369 * pi. Sgr,**,2.88,287.440970525,-21.023613981944443 * eps Per,bC*,2.89,59.46346686333334,40.0102153175 * bet CMi,Be*,2.89,111.78767390541668,8.2893157625 * bet Aqr,*,2.89,322.8897154783333,-5.5711755572222215 * sig Sco,bC*,2.89,245.29714880583333,-25.592792076666665 * gam TrA,PM*,2.89,229.72742493083337,-68.67954593388889 * pi. Sco,bL*,2.91,239.71297182416666,-26.114107945 * tau Pup,SB*,2.93,102.48403524791667,-50.61456768777778 * gam Per,Al*,2.93,46.1991280875,53.50643575694444 * del Crv,PM*,2.94,187.46606318416664,-16.515431261666667 * gam Eri,LP?,2.94,59.50736228708333,-13.508519380555555 * alf Aqr,*,2.94,331.4459830479167,-0.31984910166666664 * alf Ara,Be*,2.95,262.9603813675,-49.87614501138889 * eta Peg,SB*,2.95,340.750515505636,30.2211186300423 * eps Leo,V*,2.98,146.46280541833335,23.77425578722222 * eps Crv,PM*,2.98,182.53116909374998,-22.6197672175 * mu.01 Sco,bL*,2.98,252.9675653854426,-38.0473987266926 * eps Gem,V*,2.98,100.98302607916666,25.13112541222222 * gam02 Sgr,PM*,2.99,271.45203374499994,-30.424089849444446 * ups Car,*,2.99,146.77550706492468,-65.07200742206864 * eps Aur,EB*,2.99,75.4922044211734,43.823297597089 * zet Aql,PM*,2.99,286.35253339791666,13.86347728111111 * iot01 Sco,s*y,2.992,266.89617137458333,-40.12699704138889 * zet CMa,Ce*,3.0,95.07830016583333,-30.063366733888888 * gam Hya,SB*,3.0,199.73040494,-23.171514278055557 Cl Melotte 186,OpC,3.0,270.275,2.8999999999999995 * alf Gem B,SB*,3.0,113.65041855,31.888491991666665 * bet Tri,SB*,3.0,32.38594634196055,34.98729706469149 * gam UMi,dS*,3.002,230.18215016291666,71.83401654472222 * gam Gru,PM*,3.01,328.4821924841667,-37.36485527055556 * psi UMa,PM*,3.01,167.41586948500003,44.49848668055556 * del Per,Be*,3.01,55.73126773375001,47.78754850916667 * omi02 CMa,s*b,3.02,105.7561338125,-23.83329230777778 * gam Boo,dS*,3.02,218.01946581833334,38.30825118611111 * zet Tau,Be*,3.03,84.41118926291666,21.14254411222222 * mu. UMa,SB*,3.05,155.58224902458335,41.49951919583333 * alf Her,**,3.06,258.66190909203993,14.39034061013818 * del Dra,PM*,3.07,288.13875818541663,67.66154043916667 * zet Ara,*,3.076,254.65505070374996,-55.99014452833334 * bet01 Cap,SB*,3.08,305.2527011844837,-14.7814940556269 * bet01 Cyg,**,3.08,292.68033547998493,27.959680072081934 * zet Hya,PM*,3.1,133.84844223,5.945565383333333 * alf Ind,PM*,3.11,309.3918000320833,-47.2915007225 * kap Cen,**,3.11,224.79035390916664,-42.10419636638889 * eta Sgr,LP?,3.11,274.4068127158333,-36.76168520083333 * nu. Hya,PM*,3.11,162.40620310375002,-16.193648885833333 * bet Col,PM*,3.12,87.73996749625,-35.768309780833334 * iot UMa A,SB*,3.13,134.80191551115124,48.04183153024583 * del Her,SB*,3.13,258.7579607430354,24.839206966655976 * N Vel,V*,3.139,142.80549547374997,-57.03437716111111 * alf Lyn,PM*,3.14,140.26375309624999,34.392562373888886 * phi Sgr,PM*,3.14,281.4141087679167,-26.99077623361111 * iot UMa,**,3.14,134.8018900723819,48.04182614451662 * lam Cen,*,3.14,173.9453295159701,-63.019832356534 * zet Dra,**,3.17,257.1966498433333,65.71468427333335 * nu. Pup,Ce*,3.17,99.44029730291668,-43.19593338083333 * pi. Her,V*,3.18,258.7618098475,36.809162316666665 * eta Aur,PM*,3.18,76.62872238916667,41.23447575583333 * eps Lep,PM*,3.18,76.36527237416666,-22.37103441472222 * tet01 Eri,PM*,3.18,44.56533007924458,-40.30467935154805 * tet UMa,PM*,3.18,143.21430789125,51.67730030611111 * alf Cir,a2*,3.19,220.62674825166664,-64.97513706972224 * del Lup,bC*,3.19,230.3430218199073,-40.6475061746641 * pi.03 Ori,PM*,3.19,72.46004544041666,6.9612745261111115 * bet01 Cyg A,*,3.2,292.68035833333334,27.959677777777777 * kap Oph,LP?,3.2,254.41707437458334,9.375031276666666 * sig Lib,LP*,3.21,226.01756698541666,-25.28196128777778 * G Sco,*,3.21,267.4645033891667,-37.043304866666666 * zet Cyg,SB*,3.21,318.23410806124997,30.226915463055555 * tet Aql,SB*,3.22,302.8261886683333,-0.821461845 * eps Oph,PM*,3.23,244.58037392958335,-4.692509573888889 * bet Cep,bC*,3.23,322.1649868804167,70.56071518916666 * eta Ser,PM*,3.25,275.3275023166667,-2.8988268319444446 * gam Lyr,*,3.25,284.73592672374997,32.68955563749999 * sig Pup,SB*,3.25,112.30762704874999,-43.30143323944444 * gam Hyi,PM*,3.26,56.80975258791666,-74.23896350222223 * eta Oph B,*,3.26,257.59432,-15.725182199999999 * tet Oph,bC*,3.26,260.502413945,-24.99954638166667 * p Car,Be*,3.27,158.0060956995833,-61.68533230777778 ASAS J091626-6728.7,Mi*,3.27,139.1069400731429,-67.4765652941471 * pi. Hya,PM*,3.28,211.59290619374997,-26.682361771666667 * alf Dor,a2*,3.28,68.49907161292998,-55.04497896378182 * del And,SB*,3.28,9.831979920416668,30.86102175555556 * eta Gem,RG*,3.28,93.71935536055373,22.506787327170834 * del Aqr,PM*,3.28,343.6625475842515,-15.8207911338047 * iot Dra,V*,3.29,231.23239427708333,58.966065123611116 * mu. Lep,a2*,3.29,78.2329382957827,-16.2054593837172 * ksi Pup,*,3.3,117.32356527416665,-24.859786241388893 * bet Phe,**,3.3,16.520997989851963,-46.71841069311463 * alf Pic,PM*,3.3,102.04772968012593,-61.941389121171916 * tau Sgr,PM*,3.31,286.7350220570564,-27.6704470646932 * del UMa,PM*,3.32,183.85650263625,57.03261544611111 * eta Sco,PM*,3.33,258.03831522125006,-43.23919181277778 * alf Her A,LP*,3.33,258.66188642083335,14.390371047222223 * ome Car,Be*,3.33,153.43423914083334,-70.03790452916667 * nu. Oph,PM*,3.34,269.7566329704167,-9.773633292222222 * gam Ara,Be*,3.34,261.3485804629167,-56.37772632638889 * zet Cep,EB*,3.35,332.71365381625003,58.20126266305555 * q Car,LP*,3.35,154.2707304375,-61.33230230583334 * tet Leo,PM*,3.35,168.56001859583333,15.429570579444444 * eta Ori,Al*,3.35,81.11923634279408,-2.3971475397222215 * ksi Gem,PM*,3.36,101.32235133541666,12.895591979722221 * del Aql,**,3.36,291.3745891389376,3.114779474957126 * alf Ret,PM*,3.36,63.606183908750005,-62.4738587975 * eps Lup,SB*,3.366,230.67028440250002,-44.68961517694444 * eps Cas,Be*,3.37,28.5988590707424,63.6701033935922 * zet Vir,PM*,3.38,203.6733057474454,-0.59583601793 * del Vir,RG*,3.38,193.90086919083333,3.3974703402777777 * eps Hya,Ro*,3.38,131.6938009684597,6.4188015227537685 * nu. Cen,SB*,3.386,207.37615182833332,-41.687708908055555 * rho Per,LP*,3.39,46.29414106098047,38.84027619029382 C 1652-407,OpC,3.4,253.87498,-40.83333 [SC96] Mis 190,UV,3.4,253.725,-40.733333333333334 * l Car,cC*,3.4,146.31171343583335,-62.50790330388889 * a Car,SB*,3.4,137.74202661833334,-58.966893668055555 * bet Pav,*,3.408,311.2395582895834,-66.20321409888889 * zet Leo,V*,3.41,154.17256653291665,23.417311688888887 * eta Leo,*,3.41,151.8331327525,16.76266118611111 * eta Lup,*,3.41,240.0305327325,-38.39670867916667 * eta Cep,PM*,3.41,311.32239814166667,61.83878242694445 * gam Phe,SB*,3.41,22.091363612083335,-43.31823615916667 * tet02 Tau,dS*,3.41,67.1656022796287,15.870867390805 * lam Tau,Al*,3.41,60.17006548958334,12.490340538055555 * 42 Peg,PM*,3.41,340.36550299,10.831363310277778 * zet Lup,PM*,3.41,228.0712331483333,-52.09924775444445 * bet Lyr,EB*,3.42,282.5199801966666,33.362669438333334 * mu.01 Her,**,3.42,266.6146944908333,27.720677217777776 * alf Tri,SB*,3.42,28.27044623333333,29.57882780388889 * omi UMa,PM*,3.42,127.56612766708334,60.71816986416667 * lam Aql,PM*,3.43,286.5622487916562,-4.8825643047012 * mu. Cen,Be*,3.43,207.40411928916666,-42.47373044277778 * chi Car,bC*,3.431,119.194680088393,-52.9823317564599 * eta Cas,PM*,3.44,12.276211317083334,57.81518770555555 M 31,G,3.44,10.684708333333333,41.268750000000004 * gam Vir A,PM*,3.44,190.4150990226471,-1.4493949534586112 * phi Vel,*,3.45,149.21559030916666,-54.567788623055556 * lam UMa,PM*,3.45,154.274056885426,42.9143794919523 * eta Cet,HB*,3.45,17.147464511249996,-10.182265820833333 * alf Tel,PM*,3.463,276.7434001679167,-45.96845826805556 * eps Gru,SB*,3.466,342.1387429481209,-51.3168700513092 * gam Cet,**,3.47,40.825162898112545,3.2358163764959436 * gam Sge,PM*,3.47,299.68928594374995,19.49214668861111 * lam Ori A,Em*,3.47,83.7844968919525,9.93415426540139 * sig CMa,LP*,3.47,105.42978243583333,-27.934830492777778 * mu. Peg,PM*,3.48,342.50080479416664,24.601582883333336 * gam Lup A,SB*,3.48,233.78516162916668,-41.16679195 * del Boo,PM*,3.49,228.87567896583334,33.31483126611111 * gam Vir B,Pe*,3.49,190.4147607686542,-1.4494021269330557 * nu. UMa,*,3.49,169.61973601,33.094308526944445 * eta Her,PM*,3.5,250.72402122791667,38.92225357444444 * tau Cet,PM*,3.5,26.017014260833335,-15.937479597777779 * ksi02 Sgr,*,3.51,284.4324961775,-21.10665590777778 * gam Lup B,PM*,3.51,233.7849104291667,-41.16676775 * ksi Ser,SB*,3.519,264.3966659641667,-15.398553872777779 * bet Boo,Er*,3.52,225.48650991083335,40.39056683527778 * omi Leo,SB*,3.52,145.28763769958334,9.892308384166666 * bet Cnc,PM*,3.52,124.12883753375,9.185543867777778 * zet Lep,*,3.525,86.73892066124999,-14.821949984166666 * iot Lup,V*,3.529,214.85092581249998,-46.05809546277778 * eps Tau,**,3.53,67.15416173916667,19.18042905638889 * mu. Ser,**,3.53,237.40502901603867,-3.4302043802099975 * del Gem,SB*,3.53,110.03074909541667,21.982316039166665 * ksi Hya,**,3.54,173.25047939958336,-31.85762318027778 * del Eri,RS*,3.54,55.81208699458334,-9.763391234444445 * gam Cet A,PM*,3.54,40.825171593327084,3.2358241460283335 * iot Cep,PM*,3.54,342.42007059791666,66.20040656 * mu.02 Sco,V*,3.542,253.0839388325,-38.017534955277775 * phi01 Lup,PM*,3.546,230.45154027458335,-36.261375685833336 * tet Peg,PM*,3.55,332.5499386466667,6.197863263888888 * bet Mus A,**,3.55,191.5702761,-68.10809689999999 * kap UMa,**,3.55,135.90636507404153,47.15652472719766 * iot Cet,*,3.55,4.856975680833332,-8.823919737499999 * lam Gem,PM*,3.559,109.52325051154209,16.54038789957611 * del Pav,PM*,3.56,302.18170612375,-66.1820675763889 * del Crt,PM*,3.56,169.83519817375003,-14.778539251944444 * ups04 Eri,SB*,3.56,64.47359336125,-33.79834913972222 * ups Per,PM*,3.57,24.49815413583333,48.62821375916667 * kap Gem,**,3.57,116.11188987166668,24.397996451944444 * phi Eri,PM*,3.57,34.1274401325,-51.51216542027778 * chi Dra,SB*,3.58,275.2640939542736,72.73284772361531 * alf02 Cap,PM*,3.58,304.51356644875,-12.544852319999999 * eta Pav,PM*,3.581,266.43327519666667,-64.72387205305556 * ups Lib,**,3.589,234.25604249833333,-28.13508129111111 * tau Ori,*,3.59,79.40161901916666,-6.844408385277777 * rho Boo,PM*,3.59,217.95745673874998,30.3714383575 * eps Cru,PM*,3.59,185.34003901041666,-60.401146963888884 * tet Cet,HB*,3.59,21.005855345833332,-8.18325590361111 * eta Ori B,*,3.59,81.11923860000002,-2.3971369 * 41 Ari,**,3.594,42.49597183583333,27.26050722722222 * eta Ori A,SB*,3.594,81.11971258399294,-2.3970309594666666 * bet Vir,PM*,3.6,177.67382599583334,1.7647197275 * psi Vel,**,3.6,142.67499823420744,-40.46673934507773 * gam Lep,PM*,3.6,86.11579539166667,-22.44838354527778 Cl Collinder 399,Cl*,3.6,291.35,20.183333333333334 NAME SDG,G,3.6,283.7629166666667,-30.47833333333333 * omi Tau,SB*,3.6,51.2032977461575,9.0288872589578 Cl Collinder 132,OpC,3.6,108.83333333333334,-30.68333333333333 * tet Gem,PM*,3.6,103.19724529583334,33.96125485055556 * lam Hya,SB*,3.61,152.6470357548103,-12.3541274788236 * c Pup,*,3.61,116.31373506708333,-37.968583279722225 * zet02 Sco,PM*,3.62,253.64585144458331,-42.36131685527778 * del Ara,PM*,3.62,262.77463633625,-60.683847817777774 * del Mus,SB*,3.62,195.5677697341667,-71.54885423305556 * omi And,Be*,3.62,345.48026913750004,42.32598149527778 * eta Psc,**,3.62,22.870876077916662,15.345824594444446 * omi Vel,Pu*,3.63,130.07327304999998,-52.92188895361111 * 27 Tau,SB*,3.63,57.290594105,24.053416743611113 * bet Del,SB*,3.63,309.3872554152033,14.5950887473128 * c02 Aqr,PM*,3.64,347.36165338583334,-21.17241144916667 * tau Lib,SB*,3.642,234.6640395654167,-29.77774877888889 * gam Tau,**,3.65,64.94834937125,15.627643172777779 * bet Ind,*,3.65,313.7025115787499,-58.45415605944444 * lam Mus,PM*,3.65,176.40174649291666,-66.72876220694444 * zet Aqr,**,3.65,337.20794519724916,-0.019942847221622 * zet Cas,Pu*,3.66,9.2428507775,53.89690758638889 * tet Ara,*,3.66,271.6577970408333,-50.091475700833335 * lam Ori,**,3.66,83.78449002103218,9.934155874166667 * h UMa,PM*,3.67,142.8821197175,63.06186148305555 * gam Cap,a2*,3.67,325.02273532416666,-16.66230755111111 * bet Ser,PM*,3.67,236.54689310749998,15.421832185 * pi.04 Ori,SB*,3.68,72.80151966999999,5.605103418055555 * alf Pyx,V*,3.68,130.89807314333336,-33.18638605222222 * bet CrB,a2*,3.68,231.95721471041665,29.105700659722224 * alf Dra,SB*,3.68,211.09729147208333,64.37585052666667 * eps Ser,PM*,3.693,237.7040259241667,4.477730875833333 * a Pup,SB*,3.696,118.0542968645767,-40.5757818593085 * gam Psc,PM*,3.7,349.2914062129167,3.282288326388889 * 17 Tau,Be*,3.7,56.21890367416667,24.113336449166667 * chi Eri,PM*,3.7,28.989400261688,-51.6088815425622 * ksi Her,LP*,3.7,269.44119046416665,29.24787986361111 V* HR Del,No*,3.7,310.5847781402205,19.1609179459986 * kap Lup,Be*,3.7,227.9836502145718,-48.7378131971233 * tau04 Eri,LP*,3.7,49.87917598874999,-21.757862486944447 * bet Aql,PM*,3.71,298.8283023458333,6.406761805833334 * zet Cet,SB*,3.72,27.8651655379851,-10.3350259813363 * chi UMa,PM*,3.72,176.5125586420833,47.7794062925 * del Aur,SB*,3.72,89.881743414146,54.2847379628627 * eta Lep,PM*,3.72,89.10122085083334,-14.16769969 * nu. Oct,SB*,3.728,325.3689251479717,-77.39000876162 * tau Cyg,dS*,3.73,318.69788551128704,38.04531781602413 * ksi Cyg,SB*,3.73,316.23275954583335,43.92785123888889 * eps Eri,BY*,3.73,53.232687347500004,-9.458258656944444 * pi.05 Ori,SB*,3.73,73.5629104412289,2.4406705542346 * zet Ori B,*,3.73,85.18988002916667,-1.9432186222222223 * 109 Vir,PM*,3.73,221.56218899958333,1.8928845822222222 * 72 Oph,PM*,3.73,271.8374330391667,9.56384725 * bet Mon,**,3.74,97.20445710998001,-7.033058368333033 * zet Cap,SB*,3.74,321.66677641250004,-22.411334499166667 * eta Ara,*,3.744,252.44648553125003,-59.04137708305555 * gam02 Vol,PM*,3.746,107.186931811927,-70.4989231784051 * ksi Dra,PM*,3.75,268.38220676416665,56.87264285055556 * c Vel,PM*,3.75,136.0386661725,-47.09773743055556 * gam Oph,PM*,3.75,266.97316555291667,2.707277773611111 * del Cep,cC*,3.75,337.29277091,58.41519829333333 * ksi Tau,EB*,3.75,51.7922437054708,9.7327394850426 * zet Aur,Al*,3.75,75.61953078333333,41.075838884722224 * iot Cyg,PM*,3.755,292.4264946683333,51.729779397222224 * bet Vol,PM*,3.759,126.43414466916667,-66.136890265 * del Tau,SB*,3.76,65.7337543173897,17.5425155464277 * kap Cyg,PM*,3.76,289.275702715,53.368459270833334 * bet Dor,cC*,3.76,83.4063022163338,-62.4898119723424 * gam Her,**,3.76,245.48006002083335,19.153128275833332 * alf Lac,PM*,3.77,337.8229221208333,50.28249116666667 * omi Sgr,PM*,3.77,286.17075738541666,-21.7414957025 * eps Aqr,*,3.77,311.91896917875005,-9.495774364444443 * iot Peg,SB*,3.77,331.7527585719764,25.3451044829153 * zet Boo,**,3.78,220.28729823076685,13.728304629385853 * ksi UMa,RS*,3.79,169.54554950000002,31.529288899999997 * u Car,PM*,3.79,163.37356348666665,-58.853171198055556 * zet Gem,cC*,3.79,106.02721162625001,20.570298297500003 * iot Gem,**,3.79,111.43164715,27.798081346944446 * sig Ori,Y*O,3.79,84.68652719172471,-2.6000790859138 * eta Per,*,3.79,42.67420662666667,55.895496548888886 * lam Aqr,LP*,3.79,343.1536551352925,-7.5796063836928 * alf Aps,*,3.798,221.96546676958332,-79.04475090138888 * 31 Cyg,Al*,3.8,303.4079616797087,46.741316343510555 * nu. Per,*,3.8,56.29846680875,42.578550802222225 * eta Aql,cC*,3.8,298.11819894916664,1.0056582275 * c Car,PM*,3.8,133.76178425375,-60.64461105888889 * alf Del,**,3.8,309.90953000375,15.91207326 * iot Her,bC*,3.8,264.86619202541664,46.006333363888885 NAME del Lyr Cluster,OpC,3.8,283.375,36.916666666666664 * phi Cen,V*,3.802,209.56777833583334,-42.10075397527778 * b Vel,V*,3.81,130.15654237958333,-46.648743610277776 * s Car,V*,3.81,156.96970318833334,-58.739402964444444 * kap Per,PM*,3.81,47.374048155833336,44.857540649166666 * mu. Hya,PM*,3.81,156.5226095751909,-16.836289680850822 * ups UMa,dS*,3.81,147.74732083125,59.03873571277778 * ups02 Eri,PM*,3.82,68.88765973083332,-30.562341591944442 * ome CMa,Be*,3.82,108.70272444333334,-26.772669365 * del Sge,SB*,3.82,296.8469438699094,18.5343111841978 * lam And,RS*,3.82,354.3910108808333,46.45814944000001 * omi Her,Be*,3.827,271.88562802750005,28.762491067499997 * omi Per,**,3.83,56.07971684859081,32.28824801930338 * tau Cyg A,PM*,3.83,318.69792981584294,38.04544749289222 * 46 LMi,PM*,3.83,163.32793697291666,34.21487152555556 * alf Sct,PM*,3.83,278.80178234833335,-8.244070248055555 * x Car,cC*,3.83,167.1474583325,-58.97503770583334 * bet Ret,SB*,3.833,56.0499418213768,-64.8068828761338 * gam Aqr,PM*,3.834,335.4140599894978,-1.3873380586389 * del TrA,*,3.839,243.85945743374998,-63.68568033277778 * 109 Her,**,3.84,275.9245402806494,21.7697459448934 * tet01 Tau,SB*,3.84,67.14373347541667,15.962180397777777 * gam Ser,PM*,3.84,239.11326122833333,15.661616805555555 * p Vel,SB*,3.84,159.3255831079699,-48.225620792583946 * alf For,**,3.85,48.018863987500005,-28.987620467777777 * del Lep,PM*,3.85,87.83040052666666,-20.879089764444444 * eps Car B,*,3.85,125.6286496,-59.5095554 * lam Dra,V*,3.85,172.85091980166663,69.33107489333334 * del Col,SB*,3.85,95.5284038445245,-33.4363779377324 * mu. Sgr,s*b,3.85,273.4408701670833,-21.058831686944444 * q Vel,PM*,3.85,153.68398220708335,-42.121942581111114 * gam Aps,PM*,3.854,248.3628491125,-78.89714922333334 * tau Cen,PM*,3.86,189.4256811338191,-48.5413083207249 * alf Hor,PM*,3.86,63.5004768675,-42.294367557777775 * bet Pic,PM*,3.86,86.82119870875,-51.066511426388885 * rho Sco,SB*,3.86,239.22115099625,-29.214072551388888 * 20 Tau,PM*,3.87,56.45669400833333,24.36774621111111 * tau Her,Pu*,3.87,244.93515274999996,46.31336452777778 * eps Col,*,3.87,82.8031208045805,-35.4705167967303 * omi01 CMa,s*r,3.87,103.5331380463264,-24.1842129917749 * eps Phe,PM*,3.87,2.352663311602,-45.7474204006795 * l Eri,**,3.87,69.54510040170459,-14.304023184842224 * eta Eri,PM*,3.87,44.10687284958334,-8.8981450275 * rho Leo,s*b,3.87,158.20279865416666,9.306585956944446 * ups01 Cen,V*,3.87,209.66978618791669,-44.80358582416666 * mu. And,PM*,3.87,14.188383797083333,38.49934390111111 * iot Gru,SB*,3.877,347.58973980083334,-45.24671240277778 * d Cen,**,3.88,202.76106914624998,-39.40730527555556 * zet02 UMa,SB*,3.88,200.9846792480303,54.921807234712404 * tet Her,V*,3.88,269.06325226750005,37.25053731972222 * mu. Leo,PM*,3.88,148.19090226458334,26.006953300555555 * eta Cyg,*,3.88,299.07655092625,35.08342298861111 * mu. Vir,PM*,3.88,220.76509509083334,-5.658203531111112 * gam Mus,Pu*,3.88,188.11672263999998,-72.13298880583334 * nu. Tau,*,3.883,60.78908192916666,5.989299768333334 * l Eri A,PM*,3.89,69.54510425416667,-14.303983152777779 * kap Dra,Be*,3.89,188.3705919073186,69.7882314151456 * pi. Lup,**,3.89,226.28014567631791,-47.0510636022725 * kap CMa,Be*,3.89,102.46024719291667,-32.50847846722222 * eta Vir,SB*,3.9,184.9764536747692,-0.6668332137779 * 30 Mon,PM*,3.9,126.41513337833334,-3.9064216166666665 * lam Oph,**,3.9,247.72842974605487,1.9839224782032374 Cl Collinder 240,OpC,3.9,167.91667,-60.30972 * a Vel,*,3.91,131.5068496445833,-46.04152895166667 * psi Vel A,PM*,3.91,142.67469066037916,-40.46683082992695 * nu.02 CMa,PM*,3.91,99.17098989833333,-19.255879418055553 * gam Lib,**,3.91,233.88157836750003,-14.789535514166666 * eps Dra,PM*,3.91,297.04312388509123,70.26792579621083 * iot Hya,PM*,3.91,144.96400602375,-1.1428093030555555 * sig Cen,**,3.91,187.00992532708335,-50.23063534222222 * omi Per A,SB*,3.91,56.07971647641625,32.28824743534749 V* R Hor,Mi*,3.92,43.4698943768787,-49.8896480553542 * eps Her,SB*,3.92,255.0723907454167,30.92640458027778 * 38 Lyn,PM*,3.92,139.71101600165983,36.8025925152453 * nu. Eri,bC*,3.928,69.07975600791666,-3.352460188333333 * 67 Oph,*,3.93,270.1613061120053,2.9315542721127 * rho01 Sgr,dS*,3.93,290.41816424541673,-17.84719912222222 * lam Peg,PM*,3.93,341.6328244225,23.565654483333333 * alf Mon,PM*,3.93,115.31180237000001,-9.55113085638889 * l Pup,sg*,3.93,115.95195300916667,-28.954825559722224 * alf Equ,SB*,3.933,318.95596633208334,5.247845281111111 * del Phe,PM*,3.935,22.812936457083335,-49.072703010277785 * 50 Cas,*,3.938,30.858775754166665,72.42129381861112 * eps Pav,PM*,3.94,300.148148245,-72.91050549416667 * del Cnc,**,3.94,131.1712467108333,18.15430649861111 * kap Phe,PM*,3.94,6.5508409441666675,-43.67983136583333 * nu. Cyg,**,3.94,314.293412785,41.16713864138888 * alf Sgr,PM*,3.943,290.9715617845833,-40.61593623777778 * i Car,*,3.943,137.81967038708333,-62.31698041666667 * zet Vol,*,3.944,115.45525418416668,-72.60609907249999 * chi Lup,SB*,3.946,237.73974286708335,-33.627165366944446 * bet Cen B,*,3.95,210.95545783333336,-60.37318300555555 * nu. Aur,*,3.95,87.8723822515371,39.1484991610019 * bet Pyx,*,3.954,130.02559846083335,-35.3083514275 * rho Cen,*,3.96,182.9130335453453,-52.3684463090256 * 43 Eri,PM*,3.96,66.0092040482227,-34.0168473531961 * tau Per,Al*,3.96,43.5644517093782,52.7624681162437 * 10 UMa,SB*,3.96,135.15991945021585,41.782945873183664 * eta Col,*,3.96,89.78668830541667,-42.815133938888884 * gam Mon,*,3.96,93.71389026875,-6.2747744475000005 * ome Sco,bC*,3.97,241.70177883791663,-20.669191731944448 * del01 Gru,*,3.97,337.31739504250004,-43.49556236861111 * tau Aqr,*,3.98,342.39792320083336,-13.592632400277779 * b01 Aqr,PM*,3.98,350.74260858625,-20.10058231 * alf For A,PM*,3.98,48.01887218948417,-28.987619062475 * gam Tuc,PM*,3.98,349.3572949192763,-58.2357520110929 * omi02 Cyg,Al*,3.98,303.8680067864137,47.7142282943654 * del Vol,*,3.99,109.20759946500002,-67.95715232277777 * alf Vol,**,3.99,135.61164967041665,-66.39607576194446 * bet Mus B,*,4.0,191.57000806208,-68.10812212031306 * tet Dra,SB*,4.0,240.47227649166663,58.565251565555556 * mu. Eri,Al*,4.0,71.37562659083335,-3.254660156111111 * 13 Lyr,LP*,4.0,283.8337592854167,43.94609208027778 * nu. Sco,**,4.0,242.99889864963222,-19.46070447846264 * bet Phe A,*,4.0,16.521230312500002,-46.71849868611111 * alf Crv,PM*,4.0,182.10340218374998,-24.728875098333333 * b Cen,*,4.0,220.48996116499998,-37.79349834 * gam Tri,PM*,4.0,34.328612639583326,33.84719306916667 * zet Pav,PM*,4.003,280.75889700374995,-71.42811290694445 * bet01 Sgr,*,4.01,290.6595784089946,-44.4589854042831 * 41 Cyg,V*,4.01,307.34889838333334,30.368554660277777 * gam Pyx,PM*,4.01,132.63301175875003,-27.70984503 * g UMa,**,4.01,201.30640763875,54.98795966138889 * I Car,V*,4.01,156.09877488083333,-74.031612105 * zet Phe,Al*,4.014,17.09617290916667,-55.24575803166667 * iot Cnc,PM*,4.018,131.6742581911293,28.7598938708347 * ups Cet,PM*,4.02,30.00128817375,-21.07783182527778 * i Aql,V*,4.02,285.42011280625,-5.7391148408333335 * bet Cam,*,4.02,75.85454012875,60.442247090833334 * rho Cyg,PM*,4.02,323.49522077000006,45.59183829194445 * eps Mus,LP*,4.02,184.39282150291666,-67.96073573055556 * eps Aql,SB*,4.02,284.9056733698438,15.0683001960026 * gam02 Nor,PM*,4.02,244.96009277375,-50.155506187777775 * omi01 Eri,dS*,4.026,62.966414833333346,-6.837579552222222 * c Per,Be*,4.03,62.16538399083334,47.71251192694445 * eps Del,V*,4.03,308.3032163325,11.303261440833333 TYC 5233-2298-1,*,4.03,338.8388833333333,-0.11736944444444446 * 70 Oph,Ro*,4.03,271.363688269495,2.5000988299620857 * eta Aqr,PM*,4.03,338.8390885888176,-0.11749689949339108 * psi Cen,PM*,4.034,215.13930119583335,-37.88529309444445 * sig Leo,PM*,4.04,170.284139555,6.0293252625000004 * nu. Vir,LP*,4.04,176.46483155666667,6.529372579722223 * mu.01 Cru,V*,4.04,193.64843561958335,-57.17792292361111 * d Vel,*,4.046,131.0997724688164,-42.6492759178152 * alf Cha,PM*,4.047,124.63147162083337,-76.91972123111111 * rho Lup,V*,4.05,219.47177428,-49.42582771083333 * zet Cru,*,4.05,184.6093174623165,-64.0030872831313 * eps01 Ara,*,4.05,254.89603666125004,-53.16043647222222 * tet Boo,PM*,4.05,216.29915428624997,51.85074358166667 * c01 Cen,PM*,4.05,220.91433174583335,-35.17365518055555 * lam Lup,SB*,4.05,227.2108868772291,-45.2798613832426 * gam CrB A,PM*,4.05,235.68570560833334,26.295634380555555 * bet Cir,PM*,4.057,229.37854231958335,-58.801204810833326 * ups Gem,PM*,4.06,113.9806275723951,26.8957531812168 * ksi Per,**,4.06,59.74125954875,35.79103144583333 * phi Per,Be*,4.06,25.91515800375,50.68873134222222 * omi02 Ori,PM*,4.06,74.09281714958334,13.5144703325 * zet And,RS*,4.06,11.834689456666666,24.267178014166667 * gam Crt,PM*,4.06,171.22051508291668,-17.68400832722222 * iot Leo A,PM*,4.06,170.98105513292123,10.52950625196611 * tet Cap,PM*,4.07,316.4867826304166,-17.232861690277776 * ups Boo,PM*,4.07,207.36933660749997,15.797905634166668 * alf Crt,PM*,4.07,164.94360358416665,-18.29878256777778 * del Cet,bC*,4.07,39.870649123152255,0.32850959416661785 * mu. Cep,s*r,4.08,325.87692107249995,58.780044494722226 * iot Vir,PM*,4.08,214.00362293708332,-6.000545374444444 * pi. Cen A,*,4.08,170.25168580416667,-54.49102356111111 * tet CMa,PM*,4.08,103.5474990384733,-12.0386280706781 * alf CrA,PM*,4.087,287.3680873945833,-37.904472835 * kap Ser,PM*,4.09,237.18490318291668,18.141565061666665 * bet Phe B,*,4.09,16.521032120833336,-46.71840400277778 NGC 104,GlC,4.09,6.022329166666666,-72.08144444444444 * 1 Peg,PM*,4.09,320.52166365333335,19.804510127222223 * del Hyi,PM*,4.09,35.4372525533441,-68.6594136153268 * h Car,*,4.09,143.61104506125,-59.229751953055555 * tau03 Eri,PM*,4.09,45.59791412833333,-23.624470441111114 * phi02 Ori,PM*,4.09,84.22661744124999,9.290669320277777 * bet CrA,*,4.095,287.5073158466667,-39.34079565527778 * eps Hyi,PM*,4.096,39.89733837166667,-68.26694731111111 * ups And,PM*,4.1,24.199342348418114,41.405456742523214 HD 102350,Ce*,4.1,176.62842738208332,-61.178398987499996 * f Tau,SB*,4.1,52.7182623355639,12.9366802424624 V* T Aur,No*,4.1,82.9963248117502,30.4458427040077 * eps TrA,PM*,4.104,234.18009263583332,-66.31703705527778 * del02 Gru,LP?,4.11,337.43930841291666,-43.749221329166666 * ups01 Hya,*,4.11,147.86955765666667,-14.846603063888889 * P Pup,**,4.11,117.30956399083333,-46.373206167777774 * tet02 Eri,PM*,4.11,44.5683555455648,-40.3046944483362 * tet Per,PM*,4.11,41.049946008333336,49.22844753333333 * alf Psc A,*,4.11,30.511758234265,2.7637719610669444 * zet Gru,PM*,4.115,345.2199907044872,-52.7541307080145 * iot Eri,PM*,4.116,40.166812522499995,-39.85537615027778 * gam CMa,*,4.12,105.93955436875,-15.633286103055555 * gam Cha,V*,4.12,158.86711331583334,-78.6077866911111 * iot Psc,PM*,4.12,354.9876724016666,5.626290980277778 * ome Cap,V*,4.12,312.9553789499394,-26.9191364379686 * omi Vir,PM*,4.12,181.302252035,8.732986052222223 * e Ori,*,4.12,80.986781985,-7.808064778888889 * psi Cap,PM*,4.122,311.52388594375,-25.270897543055554 * bet Oct,PM*,4.128,341.51462908375,-81.38161444027777 * zet Tel,PM*,4.13,277.2077491645833,-49.07058672916667 * mu. Ori,SB*,4.13,90.59581950434398,9.647272789582379 * tet CrB,Be*,4.13,233.23242559618694,31.359132267070578 * iot Sgr,PM*,4.13,298.81540379458335,-41.86828855444445 * eps CrB,PM*,4.13,239.39688111375,26.87787876777778 * del Hya,**,4.131,129.4140403831453,5.703788174382 * kap Peg,SB*,4.135,326.16139676550046,25.645037762581552 * eta Cru,SB*,4.136,181.72041249875002,-64.61372899361112 * e Vel,*,4.14,129.41096991833334,-42.98908040138889 * nu. Gem,Be*,4.14,97.24077555916666,20.212134895555558 * kap And,PM*,4.14,355.10211513333337,44.333932387500006 * del Ser A,dS*,4.14,233.7005754037421,10.538894540538056 * del Mon,*,4.15,107.96608658000001,-0.4927696736111111 * 1 Lac,V*,4.15,333.99240304625,37.74873292833333 * lam Oph A,PM*,4.15,247.72841177213542,1.9839051346405556 * 1 Gem,SB*,4.15,91.03006433050544,23.26334447236106 * b Oph,PM*,4.153,261.5925728704167,-24.17531082777778 * H Sco,V*,4.156,249.09363300125,-35.25532785666667 * kap Cas,s*b,4.16,8.249963317916666,62.931782603888884 * mu. Per,SB*,4.16,63.72442719874999,48.40933088 * tet Aqr,PM*,4.16,334.20848480791665,-7.783291120833333 * tet Lib,PM*,4.16,238.45640859833333,-16.729293951388886 * rho Her,**,4.17,260.92060052375,37.14594279138889 * ksi Sco,SB*,4.17,241.09222739999996,-11.3731039 * g Eri,PM*,4.17,57.36352199458333,-36.20025112222223 * gam01 Vel,SB*,4.173,122.3721592515666,-47.3452874103066 * eps PsA,Be*,4.177,340.1639361668089,-27.0436021874599 * 23 Tau,Be*,4.18,56.58155767833333,23.94835590111111 * pi.02 Cyg,SB*,4.18,326.69836799083333,49.30956974888889 * rho Gem,PM*,4.18,112.27799528660326,31.784549252299783 * lam Boo,dS*,4.18,214.09591165208334,46.08830570166667 * j Pup,*,4.184,119.2147458175,-22.880120551666664 * 110 Her,PM*,4.19,281.41552376708336,20.54631030527778 * g Cen,LP*,4.19,207.36134062874999,-34.45077580777778 * sig Her,**,4.196,248.525755710133,42.436981898265 C 0519+409,OpC,4.2,80.577,41.025 NGC 3114,OpC,4.2,150.65,-60.12 C 0516+732,OpC,4.2,78.1625,73.97472 * 32 Ori,**,4.2,82.69604545293245,5.94813679249986 NGC 1981,OpC,4.2,83.7875,-4.431666666666667 * gam Dor,gD*,4.2,64.0066176296629,-51.4866441842472 * ksi Peg,PM*,4.2,341.67325489916664,12.172884846388888 * tau06 Eri,PM*,4.2,56.71203412958333,-23.249723495833337 * tet Lup,*,4.201,241.6481114670878,-36.802265568583 * kap01 Tau,PM*,4.201,66.34235438583335,22.2938715375 * lam Pav,Be*,4.207,283.05430944,-62.187592323055554 * del PsA,*,4.208,343.9870845692424,-32.5396237931265 * bet LMi,SB*,4.21,156.97083166458333,36.707210010555556 * gam CrA,**,4.21,286.6046255931351,-37.06344170144111 * kap Vir,PM*,4.21,213.2239391,-10.273703888055557 * eps UMi,RS*,4.212,251.492650176438,82.0372630157512 * tet Cep,SB*,4.22,307.3952716004427,62.9940615520928 * phi Aqr,SB*,4.22,348.580665196645,-6.0489996130549 * bet Sct,SB*,4.22,281.7935945558625,-4.7478788587818 HD 21291,s*b,4.22,52.2672038347725,59.9403370179231 * gam Pav,PM*,4.22,321.6108534883333,-65.36619846777778 * phi Dra,a2*,4.22,275.1893010132354,71.33781941082947 TYC 9111-1423-1,*,4.221,321.61040833333334,-65.36803611111111 * 2 UMi,PM*,4.225,17.187000217499996,86.25708999305556 * omi Ser,dS*,4.228,265.3536369279167,-12.87530794777778 * bet Cha,V*,4.229,184.58676912083337,-79.31224193444444 * i Cen,SB*,4.23,206.4218534383333,-33.04372214 * psi Per,Be*,4.23,54.12241592791667,48.192633039166665 * 52 Cyg,*,4.23,311.41563766625,30.71971543833333 * zet Tuc,PM*,4.23,5.017749880416666,-64.87479298888888 * N Sco,V*,4.23,247.84555417624995,-34.704365172222225 * 5 UMi,V*,4.235,216.88143063041665,75.69599212722223 * pi. Cet,SB*,4.236,41.030622001249995,-13.858698058611111 * tau Vir,*,4.237,210.41163922625,1.5445318166666666 * sig Cyg,sg*,4.24,319.3539685016667,39.39468133277778 * chi Cyg,S*,4.24,297.6413516266666,32.91405824527777 * bet Aps,PM*,4.24,250.76940215749997,-77.51743412277777 * J Pup,*,4.24,118.32565799875,-48.10293435444445 * alf Cnc,PM*,4.249,134.6217111800478,11.8576517137672 * kap Tuc,**,4.25,18.94234274608366,-68.87592656939103 * bet CVn,**,4.25,188.43560341458334,41.35747912694445 * pi. Aur,LP*,4.25,89.983742895838,45.9367433707963 * kap Eri,*,4.25,36.746340727916674,-47.70384021027778 * alf Ant,PM*,4.25,156.787929705665,-31.0677730541356 * 31 Lyn,LP*,4.25,125.70879165250003,43.18813122972222 * gam02 Del,PM*,4.25,311.6645799400576,16.1242877352627 * phi And,Be*,4.25,17.37552339943203,47.241794288193404 * 88 Tau,SB*,4.25,68.913563735333,10.1607670828146 * bet Com,PM*,4.25,197.96830744000002,27.8781815425 * psi01 Aqr,PM*,4.25,348.9728968920496,-9.08773367259389 * ksi UMa A,SB*,4.25,169.54542151666666,31.52916086111111 * del03 Tau A,PM*,4.25,66.37242521667834,17.927905648355836 HD 81817,SB*,4.255,144.2720324125,81.32638087305554 * tau Tau,SB*,4.258,70.5612193177035,22.9569151418211 * omi Psc,PM*,4.26,26.34843885871,9.1577534268754 * 58 Per,SB*,4.26,69.17262572499999,41.26481147222223 * x Vel,*,4.267,159.82663809583335,-55.6032673175 * Q Sco,PM*,4.267,264.1368870596596,-38.635252633119 * d Oph,PM*,4.269,261.83864879374994,-29.867035069722224 * phi Oph,PM*,4.27,247.78486384500002,-16.61273073111111 * alf01 Cap,**,4.27,304.4119545662771,-12.5082143316722 * ksi02 Cen,SB*,4.27,196.72766415541668,-49.90624509 * lam Eri,Be*,4.27,77.28659645083334,-8.754080784166668 * c Tau,PM*,4.27,69.5394235687195,12.5108310618623 * n Cen,PM*,4.27,193.35916671125,-40.17887334833333 * e Eri,PM*,4.27,49.981878896666665,-43.069782637500005 * alf Scl,Ro*,4.27,14.651497095416666,-29.357451309444446 * iot Cap,BY*,4.27,320.5616485325,-16.83454438861111 * bet02 Sgr,PM*,4.27,290.8047393708333,-44.79977919694444 * phi Her,a2*,4.27,242.1923620016318,44.9349256147416 * iot Aqr,SB*,4.27,331.60928091375,-13.869683737222223 * f Eri,**,4.27,57.14948850603648,-37.620150403529834 * 33 Cyg,PM*,4.271,303.3494442245833,56.56772220138889 * zet UMi,V*,4.274,236.01466214666664,77.7944941236111 * mu. Tau,*,4.279,63.8835702947469,8.8923587687858 * bet Hya,a2*,4.28,178.22717286745728,-33.90812977808355 * eps Psc,**,4.28,15.735869273750001,7.890134867222222 * ups Tau,dS*,4.282,66.57693198333332,22.813580138333332 * bet01 Tuc,**,4.289,7.886116974999998,-62.958218746388894 * lam Per,*,4.29,61.64601498083333,50.351263877499996 * nu. Cep,sg*,4.29,326.3621865783333,61.120805526944444 * alf Cam,s*b,4.29,73.51254332625001,66.34267679638889 * lam Lep,*,4.29,79.89385020208333,-13.17678910861111 * iot And,*,4.29,354.53417207625,43.26807357777778 * pi. Peg,*,4.29,332.4968488075,33.17822156222222 * ksi Cep,**,4.29,330.9477291109317,64.62797577182414 * sig Gem,RS*,4.29,115.82802908041667,28.88351171972222 * bet PsA,PM*,4.29,337.87637659374997,-32.346073707500004 * phi And A,*,4.294,17.375508599999996,47.24179658888889 * eta Crv,PM*,4.294,188.0176105425,-16.19600457583333 * del03 Tau,a2*,4.298,66.37243082441552,17.92790496841801 * 54 Eri,LP*,4.3,70.110464946996,-19.6714923051371 * eta Hya,bC*,4.3,130.80614580291666,3.398662975277778 * del02 Lyr,LP*,4.3,283.6261806258333,36.89861481416666 * ups Leo,*,4.3,174.23721191250002,-0.8237489733333333 * tet CrB A,*,4.3,233.2324295,31.359143102777782 * gam CMi,SB*,4.3,112.040804298873,8.925529987997301 * q Tau,*,4.3,56.302065750833336,24.46728048055555 * tau05 Eri,SB*,4.3,53.44698386833333,-21.63288417638889 * 10 Tau,PM*,4.3,54.217270009390006,0.3995935882605555 * mu. Ori A,SB*,4.3,90.5958197,9.647288305555556 IC 2581,OpC,4.3,156.87083333333334,-57.61666666666667 * tet Psc,PM*,4.3,351.99206370416664,6.378992221944444 V* RS Oph,No*,4.3,267.5548303236998,-6.7079115426855 * ksi02 Cet,*,4.3,37.0398210789746,8.4600602248073 * del Oct,PM*,4.304,216.73013517708333,-83.66788523055557 * j Cen,Be*,4.308,177.4210727056943,-63.7884527380832 * lam Leo,V*,4.31,142.93011472999999,22.967969555277776 * sig Oph,V*,4.31,261.6286691664737,4.1403576602174 * eps Mon,**,4.31,95.9425,4.595555555555555 * d Car,Pu*,4.313,130.15428159083334,-59.761001864166666 * omi Lup,**,4.313,222.90959537708335,-43.575360151666665 * g Car,V*,4.318,139.0503035704167,-57.54147240611111 * D Hya,*,4.32,131.59389768395,-13.5477083789797 * tet01 Cru,SB*,4.32,180.75625541374998,-63.31292795611111 * alf Com,**,4.32,197.49702168569598,17.52945526166217 * 54 Leo,**,4.32,163.90331907809252,24.749717296514444 * nu. Ser,*,4.324,260.2069228979166,-12.846875907500001 * pi. Pav,PM*,4.328,272.14506078750003,-63.66855295055555 * tet Cas,PM*,4.33,17.775676028333333,55.14990201638889 * ups02 Cen,SB*,4.33,210.4312549237316,-45.6033711103589 * ome Lup,PM*,4.33,234.51334881875,-42.56734565861112 * zet Mon,*,4.33,122.14852761666668,-2.9837877944444444 * l Aql,SB*,4.33,309.5845110215103,-1.1051211847703 * 119 Tau,s*r,4.33,83.05313544666666,18.59423433027778 * e Cen,PM*,4.33,193.27877594375,-48.943312166111106 * f Lup,V*,4.33,229.45765869666664,-30.148671252777778 * ksi01 CMa,bC*,4.33,97.96402649083335,-23.418421691666666 * ome02 Sco,PM*,4.33,241.85136740958336,-20.868764398055557 * tet Gru,**,4.332,346.71971026132354,-43.52035714808552 * del UMi,PM*,4.336,263.0541529529167,86.58646066027778 * tet Cha,PM*,4.337,125.16058562333333,-77.48447701694445 * rho Hya,*,4.337,132.1082107329167,5.837813425555555 * kap Lyr,V*,4.34,274.9654545183334,36.06454696555555 * gam Com,PM*,4.34,186.73446697125001,28.268422522499996 * iot PsA,PM*,4.34,326.2367059875,-33.025782785 * zet02 Aqr,**,4.34,337.2078700438454,-0.019964649560277777 * chi Cen,bC*,4.343,211.5115343525,-41.17963299444444 * 102 Her,*,4.347,272.18954757875,20.814557741666665 * nu. Sco A,SB*,4.349,242.99888889208376,-19.460690330788054 * 9 Peg,V*,4.35,326.12789922458336,17.350015850555558 * ksi01 Cet,EB*,4.35,33.2499903862645,8.846722865539899 * kap Aur,PM*,4.35,93.84453775666667,29.498076678611113 * pi.02 Ori,*,4.35,72.65301242708333,8.900180370277779 * M Vel,PM*,4.35,144.20641683,-49.35502446527778 * 15 Lyn,**,4.35,104.31918858666667,58.42276123194444 * v Cen,*,4.35,215.0814275875,-56.38649720888889 * tau02 Lup,**,4.352,216.54505741968393,-45.379278405963014 * pi. And,SB*,4.36,9.220205235416667,33.71934399944445 * del Dor,*,4.36,86.19324211041668,-65.73552808277778 * sig Per,V*,4.36,52.6436969935748,47.9952167839946 * gam Col,Pu*,4.36,89.38420657,-35.28328202111111 * zet01 Lyr,SB*,4.36,281.1931556395833,37.60511584805556 * 111 Her,PM*,4.36,281.7551352571979,18.1815105858727 * iot Aql,*,4.36,294.1803226752349,-1.2866067984979 * eta Phe,*,4.361,10.83849337875,-57.46305758527778 * ksi Pav,SB*,4.367,275.8068587682321,-61.493871216562 * 5 Lac,s*r,4.37,337.38259377416665,47.70688686305556 * del Ari,PM*,4.37,47.90735271916666,19.726677694166668 * kap Col,PM*,4.37,94.13806299875,-35.140517502777776 * tet01 Sgr,SB*,4.37,299.9340764045833,-35.27630692527778 * 37 Tau,PM*,4.37,61.17381183958333,22.08192341166667 * bet Scl,PM*,4.37,353.24274574500004,-37.818265833333335 * iot Oph,PM*,4.38,253.50196463416663,10.165360626388889 * eps And,PM*,4.38,9.63894722208625,29.311757941616946 * 31 Leo,PM*,4.38,151.97612735916667,9.99750639472222 * G CMi,PM*,4.38,120.56640245791665,2.3345700550000004 * bet Sge,*,4.38,295.2622480746724,17.4760418454674 * alf Sge,*,4.38,295.0241327254069,18.0138901660447 * tet Lyr,*,4.38,289.09206197,38.13372873416667 * iot CMa,bC*,4.385,104.03426719416667,-17.054240963333335 * ksi Oph,PM*,4.387,260.2515633370833,-21.112935078611113 * i Vel,*,4.39,165.0386009833333,-42.22585899888889 HD 60532,PM*,4.39,113.51325100174125,-22.296066216163055 * b02 Aqr,PM*,4.39,351.51160691791665,-20.642017509166667 * 16 Pup,*,4.393,122.25682253833332,-19.245014460833335 * nu. Ori,SB*,4.397,91.89302448291666,14.768473915555555 * tet Vir,**,4.397,197.4874348201032,-5.539018257673 * b Leo,Pe*,4.398,165.5823990375,20.179840697222225 * eps Vol,SB*,4.398,121.9824756417004,-68.61706353067721 * eta Lyr,SB*,4.398,288.4395346795833,39.145966691944444 * eps Mon A,*,4.398,95.9420482176731,4.5928574253916 * psi02 Aqr,Be*,4.4,349.4758905025,-9.182518756666665 * kap Cep,*,4.4,302.2222705186407,77.7114141274747 Cl Collinder 228,OpC,4.4,161.0,-60.086666666666666 * N Car,*,4.4,98.74408303749999,-52.975608855555556 * del Ind,**,4.4,329.47947306208334,-54.99257611805555 * ups Peg,PM*,4.4,351.3449312691667,23.40410016472222 * tau CMa,bL*,4.4,109.67702674625,-24.954372583055555 * kap Pav,WV*,4.4,284.2376288335335,-67.2334907310062 * ome Eri,SB*,4.4,73.22362480625,-5.452693666944445 * q Pup,PM*,4.4,124.63880413083334,-36.65928864027777 * 110 Vir,PM*,4.4,225.72515818125,2.0913040080555554 * chi01 Ori,RS*,4.4,88.59576245541668,20.276172788333334 * tet Gru A,PM*,4.401,346.7197158515554,-43.52035387128278 * gam Scl,PM*,4.406,349.70600317916666,-32.5320247125 V* V415 Car,Al*,4.408,102.46380893583334,-53.62244948722222 * pi. Cep,SB*,4.41,346.9743906898412,75.3874986252686 * E Hya,PM*,4.41,222.5720894242486,-27.9603718109889 * lam Her,V*,4.41,262.6846248723428,26.1106423588672 V* V Pup,bL*,4.41,119.56016332833333,-49.24491118666667 * nu. Her,LP*,4.41,269.62562122124996,30.189274171388888 * psi Phe,LP*,4.41,28.41142097375,-46.302667998611106 * 30 Psc,LP?,4.41,0.4900634416232,-6.0140745637341 * phi01 Ori,SB*,4.41,83.7051584875,9.489579948333331 * del Del,dS*,4.417,310.86472243041663,15.074577028333332 * h01 Pup,LP*,4.42,122.839551071623,-39.6185462771057 * tau Gem,**,4.42,107.78487675416667,30.245161974444446 * lam Ser,PM*,4.42,236.6108934547706,7.3530671242901 * a Cen,Ro*,4.42,215.75932928916666,-39.51181923611111 * pi. Eri,LP?,4.42,56.5355691425988,-12.1015824751791 * ups Cyg,Be*,4.42,319.4795292317002,34.8968805485611 * eta And,SB*,4.42,14.301667427083332,23.417648785277777 * sig Lup,El*,4.423,218.1544027875,-50.45715961361111 * k02 Pup,V*,4.429,114.70779457124874,-26.80384611259195 * 68 Oph,**,4.429,270.4383284904166,1.3050770905555555 * omi02 Eri,Er*,4.43,63.817998858333326,-7.652871690833334 * r Car,V*,4.43,158.89707172041668,-57.55763429527777 * chi Oph,Be*,4.43,246.75597912166668,-18.456248273333333 * nu.03 CMa,*,4.43,99.47259001999291,-18.237476146792776 * sig Hya,*,4.43,129.68932277041665,3.3414361380555557 * 7 Cam,SB*,4.433,74.321650385,53.75210150138889 * del02 Cha,*,4.433,161.44585364041666,-80.54018847166665 * 2 Lyn,EB*,4.434,94.90576908124999,59.01096340944444 * del Psc,PM*,4.44,12.170601392096483,7.585081273008149 * k Aqr,LP*,4.44,311.93432910291665,-5.027700549444444 * nu. Psc,*,4.44,25.357891290416667,5.4876128402777775 * kap Lep A,*,4.44,78.30782889035333,-12.941285173160278 * rho Ori,**,4.44,78.32283393987922,2.8612632934722204 * 39 Cyg,SB*,4.44,305.96508624541667,32.190171971388885 * h02 Pup,SB*,4.44,123.5122644229141,-40.3479080750754 * eps Ret,PM*,4.44,64.12095505666667,-59.3021559375 * bet Lac,**,4.44,335.89009894416665,52.2290457375 * w Vel,SB*,4.446,135.02253772125,-41.253605255555556 * bet Crt,SB*,4.449,167.9145071666443,-22.8258459776305 * mu. Aql,PM*,4.45,293.5223063866667,7.378938776666667 * alf Vul,PM*,4.45,292.17637481375,24.664903459722222 * tau Dra,PM*,4.45,288.887411996952,73.3555201699526 * phi Leo,PM*,4.45,169.16541498833334,-3.6516047272222223 * alf Cae,PM*,4.45,70.14047105515584,-41.86375207330457 * ome Oph,a2*,4.45,248.03416594708335,-21.466392223611113 * iot Lep,**,4.45,78.07459126708333,-11.869218410833334 * ksi Cep A,SB*,4.45,330.9475682987575,64.62795379527083 * 32 Eri,**,4.45,58.57292416856885,-2.9547342990259793 * lam Gru,PM*,4.458,331.528690345,-39.54335162499999 * pi.06 Ori,V*,4.459,74.6370948130825,1.714021804164 * 7 Cet,LP?,4.46,3.6600689679166667,-18.932865135555556 * 32 Ori A,*,4.46,82.69604353739334,5.948158501017778 * tau01 Eri,PM*,4.46,41.275847669024,-18.5726329527701 * kap Leo,**,4.46,141.16357808208335,26.182323603055554 * bet For,RG*,4.46,42.2725801698282,-32.4058959748503 * 11 Lac,PM*,4.46,340.12857836166665,44.276306733611115 * B Cen,PM*,4.46,177.7862145330417,-45.1734691666243 * 26 UMa,PM*,4.463,143.70596912916665,52.05147680277778 * G Car,SB*,4.467,136.28672122041667,-72.60270657166666 * eps Tuc,Be*,4.47,359.9790733966667,-65.577133435 * c01 Aqr,**,4.47,346.6701817421779,-23.7430186847677 HD 20644,*,4.47,50.0848379625,29.048456981944447 HD 105382,Be*,4.47,182.0217717210425,-50.6612712618232 * 18 Mon,SB*,4.47,101.9651979823357,2.4121778245471 * sig Boo,PM*,4.47,218.6700715868679,29.7451288016606 * b Pup,SB*,4.474,118.16102760416666,-38.86281401861111 * 54 Leo A,PM*,4.477,163.90334440324582,24.749735666561946 V* BE Cam,LP*,4.48,57.3803225882985,65.5259879849395 * 71 Tau,dS*,4.48,66.5865542458033,15.6182745907241 * rho Ori A,SB*,4.48,78.32280039809584,2.8612398120944444 * f UMa,PM*,4.48,137.21774013541668,51.60464804666667 * ksi Ori,SB*,4.48,92.98498721291668,14.208765429444444 * tet Cyg,PM*,4.48,294.1105598179167,50.221101270277785 * lam CMa,*,4.48,97.04253113375,-32.58006819111112 * tet Ind A,**,4.483,319.9666281620567,-53.44942351112388 * ome02 Aqr,PM*,4.484,355.68060302833334,-14.544903420555555 * bet02 Tuc A,PM*,4.488,7.889449999999998,-62.965563888888894 * f Car,Be*,4.49,131.67728867958334,-56.76977561333333 * del Tuc,**,4.49,336.83319990589746,-64.96636930086807 * alf Sex,*,4.49,151.9845088792461,-0.3716731990412 * tau Boo,Ro*,4.49,206.81559750230946,17.456904217850756 * 16 Lib,PM*,4.49,224.2958265864717,-4.3464591458927 * 21 LMi,dS*,4.49,151.8573456575,35.24469346388889 * I Pup,a2*,4.49,108.14010406333333,-46.75930414222222 * zet01 Aqr,PM*,4.49,337.2078600866833,-0.020544972322777775 HD 211073,**,4.49,333.469697131226,39.7149289319275 * omi Pup,Be*,4.49,117.02153497375,-25.937170076666668 * del Equ,SB*,4.49,318.6200637820833,10.006979410555555 * 30 Gem,PM*,4.49,100.9970290431192,13.2280052210075 * gam Pic,PM*,4.494,87.45692422666667,-56.16666132 * eta Ind,dS*,4.495,311.00972517624996,-51.92097138361111 * m Car,V*,4.498,144.83749784916668,-61.32806019055556 * omi Cas,Be*,4.5,11.181327770833333,48.28436488138889 * 13 Mon,*,4.5,98.2259517271024,7.3329634202214 * b Cap,PM*,4.5,322.1808362504167,-21.807180669999997 * gam Ret,LP*,4.5,60.22420249541666,-62.15928472611111 * psi Oph,PM*,4.5,246.0257693445833,-20.037327339166666 * tau Aur,*,4.5,87.2934927325,39.18107297305556 * 24 Cap,PM*,4.5,316.7819471954167,-25.005855289166664 * mu. PsA,PM*,4.5,332.0958949059994,-32.9884384053261 * rho Dra,PM*,4.5,300.70446951458337,67.8735637297222 * k01 Pup,*,4.5,114.70574977320709,-26.801764276005276 M 41,OpC,4.5,101.50416666666668,-20.756666666666664 * ksi02 CMa,*,4.5,98.7641191154537,-22.9648031497184 * mu. Cyg,**,4.5,326.0357402981634,28.742626869585"""
54.914315
68
0.766902
8,805
54,475
4.744691
0.30335
0.00991
0.001005
0.000383
0
0
0
0
0
0
0
0.676606
0.05687
54,475
991
69
54.969728
0.13654
0
0
0
0
0
0.999725
0.867095
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
1abe2d605d3d140fb5726bcbce2fd6b1b0809d2e
1,477
py
Python
app/models/user.py
wylin94/AAw19d1-AirBnb-Clone
8126967ae8bce7b0e063c41c9c53d32c6dde104f
[ "MIT" ]
3
2021-11-07T20:22:03.000Z
2021-11-08T15:44:25.000Z
app/models/user.py
wylin94/AAw19d1-AirBnb-Clone
8126967ae8bce7b0e063c41c9c53d32c6dde104f
[ "MIT" ]
2
2021-11-07T20:51:53.000Z
2021-11-15T02:00:59.000Z
app/models/user.py
wylin94/AAw19d1-AirBnb-Clone
8126967ae8bce7b0e063c41c9c53d32c6dde104f
[ "MIT" ]
1
2021-12-01T06:45:28.000Z
2021-12-01T06:45:28.000Z
from .db import db from werkzeug.security import generate_password_hash, check_password_hash from flask_login import UserMixin class User(db.Model, UserMixin): __tablename__ = 'users' id = db.Column(db.Integer, primary_key=True) username = db.Column(db.String(40), nullable=False, unique=True) email = db.Column(db.String(255), nullable=False, unique=True) hashed_password = db.Column(db.String(255), nullable=False) profile_pic = db.Column(db.String(255)) spots = db.relationship("Spot", back_populates="user") bookings = db.relationship("Booking", back_populates="user") reviews = db.relationship("Review", back_populates="user") @property def password(self): return self.hashed_password @password.setter def password(self, password): self.hashed_password = generate_password_hash(password) def check_password(self, password): return check_password_hash(self.password, password) def to_dict(self): return { 'id': self.id, 'username': self.username, 'email': self.email, 'profile_pic': self.profile_pic, 'spots': [spot.to_dict() for spot in self.spots], 'bookings': [booking.get_booking() for booking in self.bookings], } def get_user_info(self): return{ 'username': self.username, 'email': self.email, 'profile_pic': self.profile_pic, }
31.425532
77
0.649966
178
1,477
5.219101
0.303371
0.043057
0.053821
0.068891
0.214209
0.193757
0.193757
0.124865
0.124865
0.124865
0
0.0097
0.232227
1,477
46
78
32.108696
0.809524
0
0
0.222222
1
0
0.065674
0
0
0
0
0
0
1
0.138889
false
0.25
0.083333
0.111111
0.583333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
1
0
1
1
0
0
4
1ac3e190f1ad2849cbceb0781cb002ff5b1ceb4e
144
py
Python
src/data_structure/recursion/fibonacci.py
sujeek/python_base
f636166a8749624379bfe4f245160f953e7f0cde
[ "MIT" ]
null
null
null
src/data_structure/recursion/fibonacci.py
sujeek/python_base
f636166a8749624379bfe4f245160f953e7f0cde
[ "MIT" ]
null
null
null
src/data_structure/recursion/fibonacci.py
sujeek/python_base
f636166a8749624379bfe4f245160f953e7f0cde
[ "MIT" ]
null
null
null
def fib(n): if n>0: if n ==1 or n==2: return 1 if n>2: return fib(n-1) + fib(n-2) # print(Fri(10))
16
38
0.388889
27
144
2.074074
0.444444
0.214286
0.285714
0
0
0
0
0
0
0
0
0.1125
0.444444
144
9
39
16
0.5875
0.097222
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.5
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
46c30505437cefe514e5fcc7691a9c90cb07c39b
150
py
Python
Python/Algorithms/1619.py
DimitrisJim/leetcode_solutions
765ea578748f8c9b21243dec9dc8a16163e85c0c
[ "Unlicense" ]
2
2021-01-15T17:22:54.000Z
2021-05-16T19:58:02.000Z
Python/Algorithms/1619.py
DimitrisJim/leetcode_solutions
765ea578748f8c9b21243dec9dc8a16163e85c0c
[ "Unlicense" ]
null
null
null
Python/Algorithms/1619.py
DimitrisJim/leetcode_solutions
765ea578748f8c9b21243dec9dc8a16163e85c0c
[ "Unlicense" ]
null
null
null
class Solution: def trimMean(self, arr): trim = int(len(arr) * 0.05); return sum(sorted(arr)[trim:-trim]) / (len(arr) - 2 * trim)
30
67
0.56
22
150
3.818182
0.681818
0.166667
0
0
0
0
0
0
0
0
0
0.035714
0.253333
150
4
68
37.5
0.714286
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0
0
0.75
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
4
203668cab489b49859762d4c358d861a0ca4df84
661
py
Python
tests/util/service.py
weso/CWR-admin
4442b70a71aaed5e71b8d7e456eb0657e9124f50
[ "MIT" ]
8
2016-04-16T12:49:05.000Z
2020-07-15T14:28:42.000Z
tests/util/service.py
weso/CWR-admin
4442b70a71aaed5e71b8d7e456eb0657e9124f50
[ "MIT" ]
null
null
null
tests/util/service.py
weso/CWR-admin
4442b70a71aaed5e71b8d7e456eb0657e9124f50
[ "MIT" ]
null
null
null
# -*- encoding: utf-8 -*- import datetime from cwr_admin.service.file import FileService from cwr_admin.model.file import CWRFileData __author__ = 'Bernardo Martínez Garrido' __license__ = 'MIT' __status__ = 'Development' class TestFileService(FileService): def get_file(self, file_id): return CWRFileData(123, 'TEST', None, datetime.datetime.now(), 'ERROR', 'ERROR') def get_files(self): return [ CWRFileData(123, 'TEST', None, datetime.datetime.now(), 'ERROR', 'ERROR')] def process_file(self, file): return 123 def save_file(self, file): pass def delete_file(self, file): pass
22.793103
88
0.664145
79
661
5.303797
0.481013
0.076372
0.114558
0.114558
0.286396
0.286396
0.286396
0.286396
0.286396
0.286396
0
0.019268
0.214826
661
28
89
23.607143
0.788054
0.034796
0
0.111111
0
0
0.105346
0
0
0
0
0
0
1
0.277778
false
0.111111
0.166667
0.166667
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
1
1
0
0
4
2052d5121adb84b9e01d2ae3818e8ecd675af42d
190
py
Python
packages/girder_worker/girder_worker/plugins/types/format/graph/networkx_to_adjacencylist.py
ShenQianwithC/HistomicsTK
4ad7e72a7ebdabbdfc879254fad04ce7ca47e320
[ "Apache-2.0" ]
null
null
null
packages/girder_worker/girder_worker/plugins/types/format/graph/networkx_to_adjacencylist.py
ShenQianwithC/HistomicsTK
4ad7e72a7ebdabbdfc879254fad04ce7ca47e320
[ "Apache-2.0" ]
null
null
null
packages/girder_worker/girder_worker/plugins/types/format/graph/networkx_to_adjacencylist.py
ShenQianwithC/HistomicsTK
4ad7e72a7ebdabbdfc879254fad04ce7ca47e320
[ "Apache-2.0" ]
null
null
null
from networkx.readwrite.adjlist import generate_adjlist # Warning - node/link metadata will be lost when converting to an # adjacencylist format output = '\n'.join(generate_adjlist(input))
31.666667
65
0.8
26
190
5.769231
0.884615
0.2
0
0
0
0
0
0
0
0
0
0
0.121053
190
5
66
38
0.898204
0.442105
0
0
1
0
0.019417
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
64591bc5124b75359fb1f2d659690909fbb8a0f5
147
py
Python
channels/r_2meirl4meirl/app.py
spookyahell/reddit2telegram
42299a9774474f767f414aa912c9499bd0729b03
[ "MIT" ]
1
2019-05-14T11:34:42.000Z
2019-05-14T11:34:42.000Z
channels/r_2meirl4meirl/app.py
spookyahell/reddit2telegram
42299a9774474f767f414aa912c9499bd0729b03
[ "MIT" ]
null
null
null
channels/r_2meirl4meirl/app.py
spookyahell/reddit2telegram
42299a9774474f767f414aa912c9499bd0729b03
[ "MIT" ]
1
2021-10-07T12:53:44.000Z
2021-10-07T12:53:44.000Z
#encoding:utf-8 subreddit = '2meirl4meirl' t_channel = '@r_2meirl4meirl' def send_post(submission, r2t): return r2t.send_simple(submission)
16.333333
38
0.755102
19
147
5.631579
0.789474
0
0
0
0
0
0
0
0
0
0
0.054688
0.129252
147
8
39
18.375
0.78125
0.095238
0
0
0
0
0.204545
0
0
0
0
0
0
1
0.25
false
0
0
0.25
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
4
647cef8096e23669b358cb2eed85d88be2c59222
16,311
py
Python
drink/drinkoptions.py
Hycyber/hycyber
b2ef2016a47867a4f25e652247aeb00e618426db
[ "MIT" ]
null
null
null
drink/drinkoptions.py
Hycyber/hycyber
b2ef2016a47867a4f25e652247aeb00e618426db
[ "MIT" ]
null
null
null
drink/drinkoptions.py
Hycyber/hycyber
b2ef2016a47867a4f25e652247aeb00e618426db
[ "MIT" ]
null
null
null
import discord import random class DrinkOptions: #dump of possible options for right now. Allow users to add to in the future, eventually expand to api async def _get_bourbon(self): bourbon = ["RUSSELL'S RESERVE 6YR RYE: https://www.totalwine.com/spirits/bourbon/small-batch-bourbon/russells-reserve-6yr-rye/p/46841750?s=801&igrules=true", "JIM BEAM SINGLE BARREL 108 PROOF: https://www.totalwine.com/spirits/bourbon/small-batch-bourbon/jim-beam-single-barrel-108-proof/p/224249750?s=801&igrules=true", "VIRGIL KAINE GINGER INFUSED BOURBON: https://www.totalwine.com/spirits/bourbon/virgil-kaine-ginger-infused-bourbon/p/121349750?s=801&igrules=true", "BIRD DOG KENTUCKY STRAIGHT BOURBON 84 PROOF: https://www.totalwine.com/spirits/bourbon/small-batch-bourbon/bird-dog-kentucky-straight-bourbon-84-proof/p/231881750?s=801&igrules=true", "ASW FIDDLER UNISON BOURBON: https://www.totalwine.com/spirits/bourbon/asw-fiddler-unison-bourbon/p/190755750?s=801&igrules=true", "HIRSCH HORIZON BOURBON: https://www.totalwine.com/spirits/bourbon/small-batch-bourbon/hirsch-horizon-bourbon/p/230979750?s=801&igrules=true", "VERY OLD BARTON 90 PF: https://www.totalwine.com/spirits/bourbon/very-old-barton-90-pf/p/169772175?s=801&igrules=true", "REDWOOD EMPIRE PIPE DREAM WHISKEY: https://www.totalwine.com/spirits/bourbon/redwood-empire-pipe-dream-whiskey/p/184407750?s=801&igrules=true", "PINHOOK FLAGSHIP BOURBON WHISKEY: https://www.totalwine.com/spirits/bourbon/small-batch-bourbon/pinhook-flagship-bourbon-whiskey/p/232301750?s=801&igrules=true", "JACK DANIELS LEGACY EDITION 2: https://www.totalwine.com/spirits/bourbon/jack-daniels-legacy-edition-2/p/191358750?s=801&igrules=true"] return random.choice(bourbon) async def _get_brandy(self): brandy = ["ABK6 VSOP COGNAC: https://www.totalwine.com/spirits/brandy-cognac/cognac/abk6-vsop-cognac/p/135127750?s=801&igrules=true", "1889 ROYAL BRANDY: https://www.totalwine.com/spirits/brandy-cognac/brandy/1889-royal-brandy/p/171047175?s=801&igrules=true", "E & J BRANDY: https://www.totalwine.com/spirits/brandy-cognac/brandy/e-j-brandy/p/1007175?s=801&igrules=true", "KORBEL BRANDY: https://www.totalwine.com/spirits/brandy-cognac/brandy/korbel-brandy/p/5736175?s=801&igrules=true", "FIDELITAS KIRSCHWASSER: https://www.totalwine.com/spirits/brandy-cognac/eau-de-vie/fidelitas-kirschwasser/p/115921750?s=801&igrules=true", "CHATEAU DE LAUBADE SIGNATURE ARMAGNAC: https://www.totalwine.com/spirits/brandy-cognac/armagnac/chateau-de-laubade-signature-armagnac/p/117663750?s=801&igrules=true", "MAURO SEBASTE MOSCATO GRAPPA: https://github.com/Hycyber/hycyber/edit/main/birb/birb.py", "BANKERS CLUB BRANDY: https://www.totalwine.com/spirits/brandy-cognac/brandy/bankers-club-brandy/p/7587175?s=801&igrules=true", "CHATEAU DE LACQUY REFERENCE: https://www.totalwine.com/spirits/brandy-cognac/armagnac/chateau-de-lacquy-reference/p/226866750?s=801&igrules=true", "D'USSE COGNAC VSOP: https://www.totalwine.com/spirits/brandy-cognac/cognac/dusse-cognac-vsop/p/130477375?s=801&igrules=true"] return random.choice(brandy) async def _get_gin(self): gin = ["G&J GREENALL'S GIN: https://www.totalwine.com/spirits/gin/gj-greenalls-gin/p/16371175?s=801&igrules=true", "VINCENZI GIN DI FIORI BLOOD ORANGE: https://www.totalwine.com/spirits/gin/vincenzi-gin-di-fiori-blood-orange/p/234547750?s=801&igrules=true", "VINCENZI GIN DI FIORI: https://www.totalwine.com/spirits/gin/vincenzi-gin-di-fiori/p/227604750?s=801&igrules=true", "TANQUERAY GIN: https://www.totalwine.com/spirits/gin/tanqueray-gin/p/718175?s=801&igrules=true", "CITADELLE GIN: https://www.totalwine.com/spirits/gin/citadelle-gin/p/91961175?s=801&igrules=true", "BOMBAY SAPPHIRE: https://www.totalwine.com/spirits/gin/bombay-sapphire/p/1658175?s=801&igrules=true", "HENDRICKS GIN: https://www.totalwine.com/spirits/gin/hendricks-gin/p/96365175?s=801&igrules=true", "BANKERS CLUB GIN: https://www.totalwine.com/spirits/gin/bankers-club-gin/p/7590175?s=801&igrules=true", "NEW AMSTERDAM STRAIGHT GIN: https://www.totalwine.com/spirits/gin/new-amsterdam-straight-gin/p/16925175?s=801&igrules=true", "3 HOWLS NAVY STRENGTH GIN: https://www.totalwine.com/spirits/gin/3-howls-navy-strength-gin/p/138003750?s=801&igrules=true"] return random.choice(gin) async def _get_liqueur(self): liqueurs = ["BAILEYS IRISH CREAM: https://www.totalwine.com/spirits/liqueurscordialsschnapps/cream/baileys-irish-cream/p/497175?s=801&igrules=true", "GRAND IMPERIAL ORANGE LIQUEUR: https://www.totalwine.com/spirits/liqueurscordialsschnapps/citrus-triple-sec/orange/grand-imperial-orange-liqueur/p/2229750?s=801&igrules=true", "GRAND MARNIER: https://www.totalwine.com/spirits/liqueurscordialsschnapps/citrus-triple-sec/orange/grand-marnier/p/1735750?s=801&igrules=true", "KAVANAGH IRISH CREAM: https://www.totalwine.com/spirits/liqueurscordialsschnapps/cream/kavanagh-irish-cream/p/113938750?s=801&igrules=true", "KAHLUA: https://www.totalwine.com/spirits/liqueurscordialsschnapps/coffee/kahlua/p/1804750?s=801&igrules=true", "MIDORI MELON: https://www.totalwine.com/spirits/liqueurscordialsschnapps/fruit/melon/midori-melon/p/1814750?s=801&igrules=true", "DI AMORE AMARETTO: https://www.totalwine.com/spirits/liqueurscordialsschnapps/nuts-amaretto/di-amore-amaretto/p/485751?s=801&igrules=true", "DRILLAUD STRAWBERRY LIQUEUR: https://www.totalwine.com/spirits/liqueurscordialsschnapps/fruit/strawberry/drillaud-strawberry-liqueur/p/110043750?s=801&igrules=true", "VITA DIVINE TRIPLE SEC: https://www.totalwine.com/spirits/liqueurscordialsschnapps/citrus-triple-sec/triple-sec/vita-divine-triple-sec/p/133867750?s=801&igrules=true", "FENNELLYS IRISH CREAM: https://www.totalwine.com/spirits/liqueurscordialsschnapps/cream/fennellys-irish-cream/p/38360175?s=801&igrules=true"] return random.choice(liqueurs) async def _get_r2d(self): r2d = ["CAZUL 100 MARGARITA POPS - READY TO FREEZE: https://www.totalwine.com/spirits/ready-to-drink/frozen-freezable-cocktails/ice-pops/cazul-100-margarita-pops-ready-to-freeze/p/234549100?s=801&igrules=true", "PAINTED DONKEY PINEAPPLE MARGARITA: https://www.totalwine.com/spirits/ready-to-drink/tequila-cocktails/margarita/painted-donkey-pineapple-margarita/p/234138355?s=801&igrules=true", "LOS CABOS BLOOD ORANGE MARGARITA: https://www.totalwine.com/spirits/ready-to-drink/tequila-cocktails/margarita/los-cabos-blood-orange-margarita/p/232797175?s=801&igrules=true", "LOS CABOS CLASSIC LIME MARGARITA: https://www.totalwine.com/spirits/ready-to-drink/tequila-cocktails/margarita/los-cabos-classic-lime-margarita/p/232798175?s=801&igrules=true", "VEIL BLUEBERRY LAVENDER READY TO DRINK: https://www.totalwine.com/spirits/ready-to-drink/vodka-cocktails/veil-blueberry-lavender-ready-to-drink/p/228231175?s=801&igrules=true", "1800 ULTIMATE MARGARITA READY TO DRINK: https://www.totalwine.com/spirits/ready-to-drink/tequila-cocktails/margarita/1800-ultimate-margarita-ready-to-drink/p/15402175?s=801&igrules=true", "BACARDI RUM PUNCH: https://www.totalwine.com/spirits/ready-to-drink/rum-cocktails/rum-punch-juice/bacardi-rum-punch/p/179214175?s=801&igrules=true", "LOS CABOS SPICY MANGO MARGARITA: https://www.totalwine.com/spirits/ready-to-drink/tequila-cocktails/margarita/los-cabos-spicy-mango-margarita/p/233023175?s=801&igrules=true", "HANDY & SCHILLER OLD FASHIONED: https://www.totalwine.com/spirits/ready-to-drink/whiskey-cocktails/old-fashioned/handy-schiller-old-fashioned/p/219076750?s=801&igrules=true", "THE PERFECT COCKTAIL OLD FASHIONED: https://www.totalwine.com/spirits/ready-to-drink/whiskey-cocktails/old-fashioned/the-perfect-cocktail-old-fashioned/p/219854100?s=801&igrules=true"] return random.choice(r2d) async def _get_rum(self): rum = ["BACARDI SUPERIOR: https://www.totalwine.com/spirits/rum/silver-rum/bacardi-superior/p/3636175?s=801&igrules=true", "CAPTAIN MORGAN SPICED RUM: https://www.totalwine.com/spirits/rum/spiced-rum/captain-morgan-spiced-rum/p/2730175?s=801&igrules=true", "JONAH'S CURSE BLACK SPICED RUM: https://www.totalwine.com/spirits/rum/spiced-rum/jonahs-curse-black-spiced-rum/p/150301175?s=801&igrules=true", "LARGO BAY COCONUT RUM: https://www.totalwine.com/spirits/rum/flavored-rum/coconut/largo-bay-coconut-rum/p/104522175?s=801&igrules=true", "RON ZACAPA 23 CENTENARIO RUM: https://www.totalwine.com/spirits/rum/aged-rum/ron-zacapa-23-centenario-rum/p/15593750?s=801&igrules=true", "R. L. SEALE'S FINEST 10 YR OLD RUM: https://www.totalwine.com/spirits/rum/aged-rum/r-l-seales-finest-10-yr-old-rum/p/103766750?s=801&igrules=true", "MALIBU COCONUT RUM: https://www.totalwine.com/spirits/rum/flavored-rum/coconut/malibu-coconut-rum/p/649175?s=801&igrules=true", "SAILOR JERRY SPICED RUM: https://www.totalwine.com/spirits/rum/spiced-rum/sailor-jerry-spiced-rum/p/98562175?s=801&igrules=true", "MYERS'S DARK: https://www.totalwine.com/spirits/rum/dark-rum/myerss-dark/p/2835175?s=801&igrules=true", "KIRK & SWEENEY RESERVA DOMINICAN RUM: https://www.totalwine.com/spirits/rum/aged-rum/kirk-sweeney-reserva-dominican-rum/p/130558750?s=801&igrules=true"] return random.choice(rum) async def _get_scotch(self): scotch = ["JOHNNIE WALKER RED LABEL: https://www.totalwine.com/spirits/scotch/blended-scotch/johnnie-walker-red-label/p/633175?s=801&igrules=true", "GLEN NESS SINGLE MALT SCOTCH WHISKY: https://www.totalwine.com/spirits/scotch/single-malt/glen-ness-single-malt-scotch-whisky/p/2013175?s=801&igrules=true", "SHIELDAIG 'THE CLASSIC' BLEND 12YR: https://www.totalwine.com/spirits/scotch/blended-scotch/shieldaig-the-classic-blend-12yr/p/109031175?s=801&igrules=true", "GLEN KIRK 8 YR SINGLE MALT SCOTCH WHISKY: https://www.totalwine.com/spirits/scotch/single-malt/glen-kirk-8-yr-single-malt-scotch-whisky/p/109460750?s=801&igrules=true", "GLENLIVET FOUNDER'S RESERVE: https://www.totalwine.com/spirits/scotch/single-malt/glenlivet-founders-reserve/p/147281750?s=801&igrules=true", "BUCHANAN'S 12 YR: https://www.totalwine.com/spirits/scotch/blended-scotch/buchanans-12-yr/p/17349175?s=801&igrules=true", "GRANGESTONE 12 YR SINGLE MALT SCOTCH WHISKY: https://www.totalwine.com/spirits/scotch/single-malt/grangestone-12-yr-single-malt-scotch-whisky/p/115861750?s=801&igrules=true", "GLEN LOGIE BLENDED SCOTCH: https://www.totalwine.com/spirits/scotch/glen-logie-blended-scotch/p/159828175?s=801&igrules=true", "GRANGESTONE BOURBON CASK FINISH SINGLE MALT SCOTCH WHISKY: https://www.totalwine.com/spirits/scotch/single-malt/grangestone-bourbon-cask-finish-single-malt-scotch-whisky/p/135113175?s=801&igrules=true", "GLEN FOHDRY FRENCH OAK CASK: https://www.totalwine.com/spirits/scotch/single-malt/glen-fohdry-french-oak-cask/p/189872750?s=801&igrules=true"] return random.choice(scotch) async def _get_tequila(self): tequila = ["LOS CABOS SILVER TEQUILA: https://www.totalwine.com/spirits/tequila/blancosilver/los-cabos-silver-tequila/p/233715175?s=801&igrules=true", "7 LEGUAS BLANCO TEQUILA: https://www.totalwine.com/spirits/tequila/blancosilver/7-leguas-blanco-tequila/p/101628750?s=801&igrules=true", "PARTIDA TEQUILA BLANCO: https://www.totalwine.com/spirits/tequila/blancosilver/partida-tequila-blanco/p/3780750?s=801&igrules=true", "DULCE VIDA LIME TEQUILA: https://www.totalwine.com/spirits/tequila/flavored-tequila/lime-citrus/dulce-vida-lime-tequila/p/173623750?s=801&igrules=true", "LIBRE MELON TEQUILA: https://www.totalwine.com/spirits/tequila/flavored-tequila/libre-melon-tequila/p/189836750?s=801&igrules=true", "EL SATIVO BLANCO TEQUILA: https://www.totalwine.com/spirits/tequila/blancosilver/el-sativo-blanco-tequila/p/227252750?s=801&igrules=true", "DELEON PREMIUM ANEJO TEQUILA: https://www.totalwine.com/spirits/tequila/anejo/deleon-premium-anejo-tequila/p/147028750?s=801&igrules=true", "DULCE VIDA GRAPEFRUIT TEQUILA: https://www.totalwine.com/spirits/tequila/flavored-tequila/lime-citrus/dulce-vida-grapefruit-tequila/p/173622750?s=801&igrules=true", "JOSE CUERVO RESERVA DE LA FAMILIA PLATINO: https://www.totalwine.com/spirits/tequila/blancosilver/jose-cuervo-reserva-de-la-familia-platino/p/100572375?s=801&igrules=true", "GRAND MAYAN SILVER TEQUILA: https://www.totalwine.com/spirits/tequila/blancosilver/grand-mayan-silver-tequila/p/130630750?s=801&igrules=true"] return random.choice(tequila) async def _get_vodka(self): vodka = ["44 NORTH HUCKLEBERRY VODKA: https://www.totalwine.com/spirits/vodka/flavored-vodka/huckleberry/44-north-huckleberry-vodka/p/15776750?s=801&igrules=true", "DIXIE VODKA: https://www.totalwine.com/spirits/vodka/vodka/dixie-vodka/p/139681750?s=801&igrules=true", "EFFEN VODKA: https://www.totalwine.com/spirits/vodka/vodka/effen-vodka/p/98310750?s=801&igrules=true", "THREE OLIVES VODKA: https://www.totalwine.com/spirits/vodka/vodka/three-olives-vodka/p/94667175?s=801&igrules=true", "BELVEDERE SMOGORY FOREST VODKA: https://www.totalwine.com/spirits/vodka/vodka/belvedere-smogory-forest-vodka/p/191349750?s=801&igrules=true", "BELVEDERE GINGER ZEST: https://www.totalwine.com/spirits/vodka/flavored-vodka/ginger/belvedere-ginger-zest/p/193110750?s=801&igrules=true", "CRATER LAKE VODKA: https://www.totalwine.com/spirits/vodka/vodka/crater-lake-vodka/p/3731750?s=801&igrules=true", "NEW AMSTERDAM WATERMELON VODKA: https://www.totalwine.com/spirits/vodka/flavored-vodka/watermelon/new-amsterdam-watermelon-vodka/p/228200750?s=801&igrules=true", "CIROC VODKA RED BERRY: https://www.totalwine.com/spirits/vodka/flavored-vodka/mixed-fruit/ciroc-vodka-red-berry/p/109511050?s=801&igrules=true", "TWENTY GRAND VODKA PEACH: https://www.totalwine.com/spirits/vodka/flavored-vodka/peach/twenty-grand-vodka-peach/p/159423750?s=801&igrules=true"] return random.choice(vodka) async def _get_whiskey(self): whiskey = ["CROWN ROYAL: https://www.totalwine.com/spirits/canadian-whisky/crown-royal/p/2740175?s=801&igrules=true", "JACK DANIELS BLACK: https://www.totalwine.com/spirits/american-whiskey/tennessee-whiskey/jack-daniels-black/p/1782175?s=801&igrules=true", "JAMESON IRISH WHISKEY: https://www.totalwine.com/spirits/irish-whiskey/jameson-irish-whiskey/p/2812175?s=801&igrules=true", "JIM BEAM PEACH: https://www.totalwine.com/spirits/american-whiskey/whiskey/jim-beam-peach/p/217055175?s=801&igrules=true", "BALLOTIN CARAMEL TURTLE WHISKEY: https://www.totalwine.com/spirits/american-whiskey/ballotin-caramel-turtle-whiskey/p/173083750?s=801&igrules=true", "FOUR ROSES OBSV CASK SINGLE BARREL SELECT: https://www.totalwine.com/spirits/bourbon/small-batch-bourbon/four-roses-obsv-cask-single-barrel-select/p/145345750?s=801&igrules=true", "VIRGIL KAINE GINGER INFUSED BOURBON: https://www.totalwine.com/spirits/bourbon/virgil-kaine-ginger-infused-bourbon/p/121349750?s=801&igrules=true", "BIRD DOG CHOCOLATE WHISKEY: https://www.totalwine.com/spirits/american-whiskey/bird-dog-chocolate-whiskey/p/146243750?s=801&igrules=true", "REBEL GINGER WHISKEY: https://www.totalwine.com/spirits/american-whiskey/whiskey/rebel-ginger-whiskey/p/173063750?s=801&igrules=true", "EMERALD SPRINGS 120: https://www.totalwine.com/spirits/white-whiskeymoonshine/emerald-springs-120/p/232234175?s=801&igrules=true"] return random.choice(whiskey)
116.507143
219
0.738152
2,328
16,311
5.16323
0.180412
0.06589
0.140017
0.164725
0.616889
0.543261
0.471714
0.363062
0.27421
0.171797
0
0.08346
0.11483
16,311
139
220
117.345324
0.749065
0.006192
0
0.01626
0
0.813008
0.859863
0
0
0
0
0
0
1
0
false
0
0.01626
0
0.105691
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
64922ac737b2c3b2b2348131c0e5f93151efd5a2
267
py
Python
tests/Generator/resource/python_import_ns.py
apioo/psx-schema
b9e99c3e0347b38ebc9cc32d159176085b7c7a1b
[ "Apache-2.0" ]
54
2016-07-19T05:12:41.000Z
2022-03-21T09:50:25.000Z
tests/Generator/resource/python_import_ns.py
apioo/psx-schema
b9e99c3e0347b38ebc9cc32d159176085b7c7a1b
[ "Apache-2.0" ]
18
2016-10-19T17:04:57.000Z
2020-03-09T19:48:24.000Z
tests/Generator/resource/python_import_ns.py
apioo/psx-schema
b9e99c3e0347b38ebc9cc32d159176085b7c7a1b
[ "Apache-2.0" ]
16
2016-08-03T21:56:24.000Z
2021-08-10T13:29:12.000Z
from typing import Any class Import: def __init__(self, students: My.Import.StudentMap, student: My.Import.Student): self.students = students self.student = student from typing import Any class MyMap(My.Import.Student): def __init__(self, ):
26.7
83
0.71161
35
267
5.2
0.371429
0.131868
0.175824
0.208791
0.263736
0
0
0
0
0
0
0
0.194757
267
9
84
29.666667
0.846512
0
0
0.25
0
0
0
0
0
0
0
0
0
0
null
null
0
0.625
null
null
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
4
649cbaa5fa295fbca3e78e1b47fbd5b386895f20
160
py
Python
azure/__init__.py
Karanuchiha/azure-functions-python-library
ac92a2e12035b648d41bdc7a7468210576fdb8fd
[ "MIT" ]
277
2018-01-25T23:13:03.000Z
2022-02-22T06:12:04.000Z
azure/__init__.py
Karanuchiha/azure-functions-python-library
ac92a2e12035b648d41bdc7a7468210576fdb8fd
[ "MIT" ]
731
2018-01-18T18:54:38.000Z
2022-03-29T00:01:46.000Z
tests/unittests/resources/worker_deps_path/common_namespace/__init__.py
YunchuWang/azure-functions-python-worker
1f23e038a506c6412e4efbf07eb471a6afab0c2a
[ "MIT" ]
109
2018-01-18T02:22:57.000Z
2022-02-15T18:59:54.000Z
# Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. __path__ = __import__('pkgutil').extend_path(__path__, __name__)
32
64
0.78125
19
160
5.684211
0.894737
0
0
0
0
0
0
0
0
0
0
0
0.11875
160
4
65
40
0.765957
0.55625
0
0
0
0
0.102941
0
0
0
0
0
0
1
0
false
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
64a60c775cb671797d685baf68fceaf31f473f75
408
py
Python
bdd/group_scenarios.py
koppeltatyana/python_training
bc07671dcb85b783a13a6b00247e4500fc3c2265
[ "Apache-2.0" ]
null
null
null
bdd/group_scenarios.py
koppeltatyana/python_training
bc07671dcb85b783a13a6b00247e4500fc3c2265
[ "Apache-2.0" ]
null
null
null
bdd/group_scenarios.py
koppeltatyana/python_training
bc07671dcb85b783a13a6b00247e4500fc3c2265
[ "Apache-2.0" ]
null
null
null
# пишем запускатель для сценариев from pytest_bdd import scenario from .group_steps import * # импортируем шаги, чтобы сценарий имел доступ к шагам @scenario('groups.feature', 'Add new group') def test_add_new_group(): pass @scenario('groups.feature', 'Delete some group') def test_del_some_group(): pass @scenario('groups.feature', 'Modify some group') def test_modify_some_group(): pass
21.473684
82
0.747549
57
408
5.157895
0.526316
0.122449
0.214286
0.156463
0.204082
0
0
0
0
0
0
0
0.151961
408
18
83
22.666667
0.849711
0.205882
0
0.272727
0
0
0.277259
0
0
0
0
0
0
1
0.272727
true
0.272727
0.181818
0
0.454545
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
1
0
0
0
0
0
4
64a98d07d65ca0244153347586a1f5ade8c5686c
17
py
Python
data/studio21_generated/introductory/4246/starter_code.py
vijaykumawat256/Prompt-Summarization
614f5911e2acd2933440d909de2b4f86653dc214
[ "Apache-2.0" ]
null
null
null
data/studio21_generated/introductory/4246/starter_code.py
vijaykumawat256/Prompt-Summarization
614f5911e2acd2933440d909de2b4f86653dc214
[ "Apache-2.0" ]
null
null
null
data/studio21_generated/introductory/4246/starter_code.py
vijaykumawat256/Prompt-Summarization
614f5911e2acd2933440d909de2b4f86653dc214
[ "Apache-2.0" ]
null
null
null
def covfefe(s):
8.5
15
0.647059
3
17
3.666667
1
0
0
0
0
0
0
0
0
0
0
0
0.176471
17
2
16
8.5
0.785714
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
4
64c3cc6fadcec8639782d8d430f908b8c61a4041
122
py
Python
providers/__init__.py
tophertimzen/sephiroth
3c0e106197fba506da44b697796297c28f274955
[ "WTFPL" ]
1
2020-05-19T08:23:36.000Z
2020-05-19T08:23:36.000Z
providers/__init__.py
tophertimzen/sephiroth
3c0e106197fba506da44b697796297c28f274955
[ "WTFPL" ]
null
null
null
providers/__init__.py
tophertimzen/sephiroth
3c0e106197fba506da44b697796297c28f274955
[ "WTFPL" ]
1
2020-05-19T08:23:41.000Z
2020-05-19T08:23:41.000Z
from .aws import AWS from .azure import Azure from .gcp import GCP from .oci import OCI from .provider import Provider
24.4
30
0.770492
20
122
4.7
0.35
0
0
0
0
0
0
0
0
0
0
0
0.188525
122
5
30
24.4
0.949495
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
b3b3c0a571a42f8c2f33b5881768e7d47d15e130
195
py
Python
django_auth2/tests/test_login.py
Nick1994209/django-auth2
b8678f06ade985d2b5b0606e6e49bd9d2a49931a
[ "MIT" ]
null
null
null
django_auth2/tests/test_login.py
Nick1994209/django-auth2
b8678f06ade985d2b5b0606e6e49bd9d2a49931a
[ "MIT" ]
null
null
null
django_auth2/tests/test_login.py
Nick1994209/django-auth2
b8678f06ade985d2b5b0606e6e49bd9d2a49931a
[ "MIT" ]
null
null
null
from django.test import TestCase from django.urls import reverse_lazy from .base import BaseWithoutLoginMixin class LoginTest(BaseWithoutLoginMixin, TestCase): url = reverse_lazy('login')
21.666667
49
0.810256
23
195
6.782609
0.608696
0.128205
0
0
0
0
0
0
0
0
0
0
0.128205
195
8
50
24.375
0.917647
0
0
0
0
0
0.025641
0
0
0
0
0
0
1
0
false
0
0.6
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
b3b4b51d7bc38f3e2d38a67f121cd539f285a4de
113
py
Python
Speed Tracker.py
PixonFrost/20-Python
16d1ae2face5b0d49c36ab0ec9ece09dd7efe0a6
[ "MIT" ]
null
null
null
Speed Tracker.py
PixonFrost/20-Python
16d1ae2face5b0d49c36ab0ec9ece09dd7efe0a6
[ "MIT" ]
null
null
null
Speed Tracker.py
PixonFrost/20-Python
16d1ae2face5b0d49c36ab0ec9ece09dd7efe0a6
[ "MIT" ]
null
null
null
#takes the time for a car going past a speed camera, the time going past the next one and the distance #between
56.5
103
0.769912
22
113
3.954545
0.681818
0.16092
0
0
0
0
0
0
0
0
0
0
0.20354
113
2
104
56.5
0.966667
0.955752
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
b3cc512910735290aafd5fa840a3f6373c469cb2
235
py
Python
tenants/urls.py
Zayanto/Protocol-CRM
c81489d69de581d8216e20f7dd80089116f85c7b
[ "MIT" ]
null
null
null
tenants/urls.py
Zayanto/Protocol-CRM
c81489d69de581d8216e20f7dd80089116f85c7b
[ "MIT" ]
null
null
null
tenants/urls.py
Zayanto/Protocol-CRM
c81489d69de581d8216e20f7dd80089116f85c7b
[ "MIT" ]
null
null
null
from django.urls import path from .views import TenantListView, TenantDetailView urlpatterns = [ path('', TenantListView.as_view(), name='tenant_list'), path('<uuid:pk>', TenantDetailView.as_view(), name='tenant_detail'), ]
29.375
74
0.723404
27
235
6.148148
0.62963
0.072289
0.120482
0.192771
0
0
0
0
0
0
0
0
0.12766
235
7
75
33.571429
0.809756
0
0
0
0
0
0.140426
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4