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
00acd5213757b17f3bd9df0383c12f107134a507
1,115
py
Python
pydantic_lib/intro_to_pydantic/ex2_dataclass_vs_pydantic.py
Tomas-Tamantini/sexta-do-python
267402cbf399a9afd1da57200a02d3a90122b452
[ "MIT" ]
5
2021-04-16T19:13:28.000Z
2022-03-10T18:54:37.000Z
pydantic_lib/intro_to_pydantic/ex2_dataclass_vs_pydantic.py
Tomas-Tamantini/sexta-do-python
267402cbf399a9afd1da57200a02d3a90122b452
[ "MIT" ]
null
null
null
pydantic_lib/intro_to_pydantic/ex2_dataclass_vs_pydantic.py
Tomas-Tamantini/sexta-do-python
267402cbf399a9afd1da57200a02d3a90122b452
[ "MIT" ]
4
2021-04-16T17:55:39.000Z
2021-09-23T21:26:01.000Z
""" Python dataclasses do NOT validate type, whereas a pydantic BaseModel does """ from dataclasses import dataclass from typing import List, Optional, Union from pydantic import BaseModel from pydantic_lib.utils import RatingEnum @dataclass class MovieAsDataclass: title: str year_of_release: int rating...
26.547619
113
0.713004
149
1,115
5.208054
0.436242
0.03866
0.083763
0.036082
0.440722
0.440722
0.440722
0.440722
0.440722
0.440722
0
0.002245
0.200897
1,115
41
114
27.195122
0.868687
0.066368
0
0.608696
0
0
0.082645
0
0
0
0
0
0
1
0
false
0
0.173913
0
0.695652
0.086957
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
0
0
0
0
0
1
0
0
1
00b00e571f3bf9f51b153d730d2a71a95b07968e
1,617
py
Python
acme/data/generator.py
borfast/acmemegastore
80a4527b3e575efcc621fa5e1759f42a4807d9a8
[ "MIT" ]
2
2017-04-17T16:07:52.000Z
2017-04-27T09:25:41.000Z
acme/data/generator.py
borfast/acmemegastore
80a4527b3e575efcc621fa5e1759f42a4807d9a8
[ "MIT" ]
14
2017-06-30T23:45:26.000Z
2017-11-05T17:01:04.000Z
acme/data/generator.py
borfast/acmemegastore
80a4527b3e575efcc621fa5e1759f42a4807d9a8
[ "MIT" ]
1
2018-02-12T15:43:00.000Z
2018-02-12T15:43:00.000Z
# coding=utf-8 import json from random import randrange import arrow from faker import Factory from .faces import faces fake = Factory.create() def generate_user(): email = fake.email() username = email.split("@")[0] return { 'username': username, 'email': email } def generate_pr...
22.458333
75
0.621521
188
1,617
5.132979
0.329787
0.056995
0.062176
0.078756
0.2
0.101554
0.101554
0.101554
0
0
0
0.038048
0.252319
1,617
71
76
22.774648
0.760132
0.025356
0
0.122449
1
0
0.059123
0
0
0
0
0
0
1
0.102041
false
0
0.102041
0.020408
0.306122
0.020408
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
0
0
0
0
0
0
1
00b01d925a3a23bbdeaa96678775a6e3d069e99c
8,526
py
Python
python/pymethylprocess/meffil_functions.py
hossein20s/dnaMethylation
eb2c4e14a6d32f6582f54fe39c62e83205f18665
[ "MIT" ]
20
2019-05-08T16:12:00.000Z
2021-11-23T16:38:30.000Z
python/pymethylprocess/meffil_functions.py
hossein20s/dnaMethylation
eb2c4e14a6d32f6582f54fe39c62e83205f18665
[ "MIT" ]
12
2019-06-12T10:34:50.000Z
2021-07-29T15:45:30.000Z
python/pymethylprocess/meffil_functions.py
hossein20s/dnaMethylation
eb2c4e14a6d32f6582f54fe39c62e83205f18665
[ "MIT" ]
6
2019-04-22T01:22:00.000Z
2021-01-24T16:11:57.000Z
""" meffil_functions.py =================== Contains a few R functions that interact with meffil and minfi. """ import rpy2.robjects as robjects def load_detection_p_values_beadnum(qc_list, n_cores): """Return list of detection p-value matrix and bead number matrix. Parameters ---------- qc_list ...
35.08642
149
0.635703
1,082
8,526
4.939926
0.255083
0.026941
0.019083
0.014219
0.373059
0.310196
0.220393
0.182975
0.121235
0.103648
0
0.01864
0.213465
8,526
242
150
35.231405
0.778407
0.170889
0
0.154839
0
0.045161
0.763897
0.265067
0
0
0
0
0
1
0.058065
false
0
0.025806
0
0.141935
0.032258
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
00b482b2dc4f8317561cd981261f747c3e021aeb
5,867
py
Python
micro_dl/train/losses.py
leanhphuong201/microDL
6ba9ec242d38a0ec32183cb4a9974b27a8722e30
[ "MIT" ]
21
2018-11-07T15:34:37.000Z
2022-03-18T14:51:05.000Z
micro_dl/train/losses.py
leanhphuong201/microDL
6ba9ec242d38a0ec32183cb4a9974b27a8722e30
[ "MIT" ]
72
2018-10-01T21:58:47.000Z
2022-03-28T20:26:38.000Z
micro_dl/train/losses.py
leanhphuong201/microDL
6ba9ec242d38a0ec32183cb4a9974b27a8722e30
[ "MIT" ]
7
2018-11-20T19:30:12.000Z
2022-02-23T06:56:14.000Z
"""Custom losses""" from keras import backend as K from keras.losses import mean_absolute_error import tensorflow as tf import numpy as np import micro_dl.train.metrics as metrics from micro_dl.utils.aux_utils import get_channel_axis def mae_loss(y_true, y_pred, mean_loss=True): """Mean absolute error Keras...
35.131737
122
0.692858
929
5,867
4.163617
0.256189
0.056877
0.02637
0.04395
0.3909
0.312565
0.256463
0.216908
0.186918
0.171406
0
0.013705
0.216465
5,867
166
123
35.343373
0.827714
0.495313
0
0.122807
0
0
0.011734
0
0
0
0
0
0.035088
1
0.175439
false
0
0.105263
0
0.508772
0.017544
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
0
0
0
0
0
1
0
0
1
00bc7866ad7ef9141c616d4aff48f703c4f851a3
3,378
py
Python
smatrix/smatrix.py
ffreemt/similarity-matrix
f72d5c76083588aaa8faf5aefad1ac5aeae2f715
[ "MIT" ]
null
null
null
smatrix/smatrix.py
ffreemt/similarity-matrix
f72d5c76083588aaa8faf5aefad1ac5aeae2f715
[ "MIT" ]
null
null
null
smatrix/smatrix.py
ffreemt/similarity-matrix
f72d5c76083588aaa8faf5aefad1ac5aeae2f715
[ "MIT" ]
null
null
null
"""Generate a similarity matrix (doc-term score matrix) based on textacy.representation.Vectorizer. refer also to fast-scores fast_scores.py and gen_model.py (sklearn.feature_extraction.text.TfidfVectorizer). originally docterm_scores.py. """ from typing import Dict, Iterable, List, Optional, Union import numpy as np ...
33.78
108
0.640024
438
3,378
4.83105
0.335616
0.036862
0.051985
0.017013
0.276938
0.224008
0.191871
0.191871
0.191871
0.138941
0
0.017214
0.260509
3,378
99
109
34.121212
0.829864
0.287152
0
0.229508
1
0
0.105892
0.03117
0
0
0
0
0.098361
1
0.016393
false
0
0.131148
0
0.163934
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
0
0
0
0
0
0
1
00c0b27788ac5fd1e354cbd4a2999a732edcf940
699
py
Python
jcasts/episodes/tests/test_commands.py
danjac/jcasts
04f5ef1f536d51962c0433d092817c0153acb6af
[ "MIT" ]
13
2021-09-17T07:41:00.000Z
2022-02-10T10:00:48.000Z
jcasts/episodes/tests/test_commands.py
danjac/jcasts
04f5ef1f536d51962c0433d092817c0153acb6af
[ "MIT" ]
167
2021-07-17T09:41:38.000Z
2021-08-31T06:03:34.000Z
jcasts/episodes/tests/test_commands.py
danjac/jcasts
04f5ef1f536d51962c0433d092817c0153acb6af
[ "MIT" ]
null
null
null
from datetime import timedelta from django.core.management import call_command from jcasts.users.factories import UserFactory class TestNewEpisodesEmails: def test_command(self, db, mocker): yes = UserFactory(send_email_notifications=True) UserFactory(send_email_notifications=False) Use...
26.884615
88
0.67525
78
699
5.782051
0.525641
0.099778
0.133038
0.219512
0.16408
0
0
0
0
0
0
0.003802
0.247496
699
25
89
27.96
0.853612
0
0
0
0
0
0.108727
0.108727
0
0
0
0
0.117647
1
0.058824
false
0
0.176471
0
0.294118
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
0
0
0
0
0
0
0
0
1
00c68c1a2d49242d79c5371981aa966d84e73276
16,181
py
Python
ybn/collision_materials.py
BitDEVil2K16-Club/Sollumz
9cfed42f7bba797d05f4bfa663dc5e075b8a796c
[ "MIT" ]
1
2022-01-26T03:27:52.000Z
2022-01-26T03:27:52.000Z
ybn/collision_materials.py
BitDEVil2K16-Club/Sollumz
9cfed42f7bba797d05f4bfa663dc5e075b8a796c
[ "MIT" ]
1
2022-03-14T19:48:12.000Z
2022-03-14T19:48:12.000Z
ybn/collision_materials.py
ZiDeveloper/Sollumz
e6abb71016bfcea12c9fd551374c1d0b94f945b7
[ "MIT" ]
null
null
null
import bpy from ..sollumz_properties import MaterialType from collections import namedtuple CollisionMaterial = namedtuple("CollisionMaterial", "name, ui_name, color") collisionmats = [ CollisionMaterial("DEFAULT", "Default", (255, 0, 255, 255)), CollisionMaterial("CONCRETE", "Concrete", (145, 145, 145, 255))...
58.84
78
0.614363
1,790
16,181
5.431844
0.145251
0.378484
0.010182
0.020364
0.543557
0.363674
0.155405
0.009668
0
0
0
0.156203
0.221371
16,181
274
79
59.054745
0.615525
0
0
0.041199
0
0
0.285644
0.015079
0
0
0
0
0
1
0.003745
false
0
0.011236
0
0.018727
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
0
0
0
0
0
0
0
1
00c827cb898bece294462aaf328b7e16bf6bed9e
517
py
Python
app/models/known_ip.py
politeauthority/simple-honey
a875773c3299044b113c339203c909b6c4391fb4
[ "MIT" ]
null
null
null
app/models/known_ip.py
politeauthority/simple-honey
a875773c3299044b113c339203c909b6c4391fb4
[ "MIT" ]
1
2021-06-01T21:43:04.000Z
2021-06-01T21:43:04.000Z
app/models/known_ip.py
politeauthority/simple-honey
a875773c3299044b113c339203c909b6c4391fb4
[ "MIT" ]
null
null
null
"""KnownIp - MODEL """ from sqlalchemy import UniqueConstraint, Column, Text, String, DateTime from sqlalchemy.orm import relationship from app.models.base import Base class KnownIp(Base): __tablename__ = 'known_ips' ip = Column(String(100), nullable=False) name = Column(String(100)) last_seen = C...
22.478261
71
0.713733
64
517
5.625
0.59375
0.077778
0.083333
0
0
0
0
0
0
0
0
0.016166
0.162476
517
22
72
23.5
0.815242
0.119923
0
0
0
0
0.06264
0
0
0
0
0
0
1
0
false
0
0.272727
0
0.909091
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
0
0
0
0
0
1
0
0
1
00d1c88220f14713f6c36d3f546c34ddf2e87ac5
2,147
py
Python
angr/analyses/decompiler/peephole_optimizations/base.py
capuanob/angr
4e5bb119965cb282f5bcb3dea5b598e88097f715
[ "BSD-2-Clause" ]
null
null
null
angr/analyses/decompiler/peephole_optimizations/base.py
capuanob/angr
4e5bb119965cb282f5bcb3dea5b598e88097f715
[ "BSD-2-Clause" ]
null
null
null
angr/analyses/decompiler/peephole_optimizations/base.py
capuanob/angr
4e5bb119965cb282f5bcb3dea5b598e88097f715
[ "BSD-2-Clause" ]
null
null
null
import archinfo from ailment.expression import BinaryOp, UnaryOp class PeepholeOptimizationStmtBase: __slots__ = ('project', 'kb', 'func_addr', ) name = "Peephole Optimization - Statement" description = "Peephole Optimization - Statement" stmt_classes = None def __init__(self, project, kb, func...
28.626667
114
0.595249
243
2,147
5.037037
0.308642
0.052288
0.042484
0.055556
0.346405
0.316993
0.238562
0.238562
0.163399
0.163399
0
0.003369
0.308803
2,147
74
115
29.013514
0.821429
0.014905
0
0.333333
0
0
0.137032
0
0
0
0
0
0
1
0.156863
false
0
0.039216
0
0.588235
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
0
0
0
0
0
1
0
0
1
00d52b098a058513f88a52c8300d872b104494ea
321
py
Python
setup.py
vra/reuse
cabd7349c0123f9913626d08e146f5b47a13f3d8
[ "MIT" ]
null
null
null
setup.py
vra/reuse
cabd7349c0123f9913626d08e146f5b47a13f3d8
[ "MIT" ]
null
null
null
setup.py
vra/reuse
cabd7349c0123f9913626d08e146f5b47a13f3d8
[ "MIT" ]
null
null
null
""" Setup scripts for reuse. """ from setuptools import setup, find_packages setup( name="py-reuse", version="0.0.3", description="Collection of useful python functions", url="https://github.com/vra/reuse", author="Yunfeng Wang", author_email="wyf.brz@gmail.com", packages=find_packages() )...
22.928571
56
0.676012
42
321
5.095238
0.761905
0.11215
0
0
0
0
0
0
0
0
0
0.011278
0.17134
321
13
57
24.692308
0.793233
0.074766
0
0
0
0
0.370242
0
0
0
0
0
0
1
0
true
0
0.1
0
0.1
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
0
1
0
0
0
0
0
0
1
00d5d6ae728c0901920067140c7d03fda10a7f15
6,050
py
Python
examples/python/conditional_gate_example.py
CQCL/pytket
44fa95eb060afc8c45598f89afda993aa2d06634
[ "Apache-2.0" ]
249
2018-07-20T03:04:52.000Z
2022-03-31T08:45:58.000Z
examples/python/conditional_gate_example.py
CQCL/pytket
44fa95eb060afc8c45598f89afda993aa2d06634
[ "Apache-2.0" ]
67
2018-08-03T09:38:15.000Z
2022-03-22T09:39:45.000Z
examples/python/conditional_gate_example.py
CQCL/pytket
44fa95eb060afc8c45598f89afda993aa2d06634
[ "Apache-2.0" ]
69
2019-02-26T15:15:30.000Z
2022-03-15T14:47:24.000Z
# # Conditional Execution # Whilst any quantum process can be created by performing "pure" operations delaying all measurements to the end, this is not always practical and can greatly increase the resource requirements. It is much more convenient to alternate quantum gates and measurements, especially if we can use t...
44.485294
575
0.757521
1,025
6,050
4.421463
0.31122
0.019417
0.009929
0.00331
0.131068
0.088923
0.052074
0.030009
0.017211
0
0
0.015842
0.154876
6,050
135
576
44.814815
0.870526
0.72281
0
0.072727
0
0
0.003681
0
0
0
0
0
0
1
0
false
0.054545
0.109091
0
0.109091
0.036364
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
0
0
1
0
0
0
0
0
1
00d7838848f82ec010abdb00523340c48c891659
3,894
py
Python
tests/commoncode/test_hash.py
pombredanne/scancode-toolkit
0d90a0498148997de94f92b00adf7e33079a41a8
[ "Apache-2.0", "CC0-1.0" ]
3
2015-07-01T15:08:33.000Z
2015-11-05T03:15:36.000Z
tests/commoncode/test_hash.py
pombredanne/scancode-toolkit
0d90a0498148997de94f92b00adf7e33079a41a8
[ "Apache-2.0", "CC0-1.0" ]
null
null
null
tests/commoncode/test_hash.py
pombredanne/scancode-toolkit
0d90a0498148997de94f92b00adf7e33079a41a8
[ "Apache-2.0", "CC0-1.0" ]
null
null
null
# # Copyright (c) 2015 nexB Inc. and others. All rights reserved. # http://nexb.com and https://github.com/nexB/scancode-toolkit/ # The ScanCode software is licensed under the Apache License version 2.0. # Data generated with ScanCode require an acknowledgment. # ScanCode is a trademark of nexB Inc. # # You may not use...
41.870968
82
0.731895
531
3,894
5.19774
0.322034
0.069565
0.047826
0.069565
0.407246
0.393478
0.369565
0.369565
0.369565
0.369565
0
0.08124
0.171803
3,894
92
83
42.326087
0.774574
0.336415
0
0.36
0
0
0.265625
0.189063
0
0
0
0
0.3
1
0.26
false
0
0.14
0
0.44
0.02
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
0
0
0
0
0
0
1
00d88816d4837088bc0b7f8c6025f3d544c681c7
1,286
py
Python
src/dimstore/providers/persistor/persistor_factory.py
neoworth/dimstore
d00243f7af4759f3a1d90e68325172330c649f20
[ "MIT" ]
4
2020-05-01T15:50:11.000Z
2021-04-15T17:52:42.000Z
src/dimstore/providers/persistor/persistor_factory.py
neoworth/dimstore
d00243f7af4759f3a1d90e68325172330c649f20
[ "MIT" ]
null
null
null
src/dimstore/providers/persistor/persistor_factory.py
neoworth/dimstore
d00243f7af4759f3a1d90e68325172330c649f20
[ "MIT" ]
1
2021-05-12T17:46:48.000Z
2021-05-12T17:46:48.000Z
""" persistor factory """ from dimstore.providers.persistor.flatfile_persistor import FlatFilePersistor from dimstore.providers.persistor.ibm_object_storage_persistor import IBMObjectStoragePersistor from dimstore.providers.persistor.waston_knowledge_catalog_persistor import WastonKnowlegeCatalogPersistor class Pe...
45.928571
117
0.730949
127
1,286
7.141732
0.299213
0.066152
0.088203
0.110254
0.14333
0
0
0
0
0
0
0
0.18507
1,286
28
118
45.928571
0.865458
0.054432
0
0
0
0
0.296512
0.070598
0
0
0
0
0
1
0.157895
false
0
0.157895
0.052632
0.578947
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
0
0
0
0
0
1
0
0
1
00daa539cf1c7b7793019538d31bca74e96b57c1
2,755
py
Python
server_ws/src/laser_bot_battle/scripts/users.py
ludusrusso/pp-robot-2018
2fd7eb0a484f07ef7691d3ccb62b07ad5255dc80
[ "BSD-3-Clause" ]
4
2018-03-22T08:37:27.000Z
2018-04-23T18:24:57.000Z
server_ws/src/laser_bot_battle/scripts/users.py
ludusrusso/pp-robot-2018
2fd7eb0a484f07ef7691d3ccb62b07ad5255dc80
[ "BSD-3-Clause" ]
2
2018-03-19T18:34:43.000Z
2018-06-20T12:38:42.000Z
server_ws/src/laser_bot_battle/scripts/users.py
ludusrusso/pp-robot-2018
2fd7eb0a484f07ef7691d3ccb62b07ad5255dc80
[ "BSD-3-Clause" ]
null
null
null
import json #from app import gameStarted HITDAMAGE = 1 def userDefault(obj): if isinstance(obj, set): return list(obj) return obj.__dict__ # User class class User: name = "" life = 100 robot = 0 ready = 0 def __init__(self, name, robot): self.name = name self.rob...
24.380531
69
0.523775
354
2,755
4.042373
0.248588
0.075472
0.033543
0.055905
0.140461
0.129979
0.129979
0.102027
0.102027
0.083857
0
0.017932
0.39274
2,755
112
70
24.598214
0.837418
0.182577
0
0.333333
0
0
0.010291
0
0
0
0
0
0
0
null
null
0
0.026667
null
null
0.013333
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
1
0
0
0
0
0
0
0
0
1
00dad63fb38da33a7808ab043cd0324176c4a615
1,908
py
Python
fast_image_filters/temp_fif_enhance.py
Yuval-H/iclr_17_compression
f9b04a6cb93e32d17c2f2548614690dee8840d78
[ "MIT" ]
null
null
null
fast_image_filters/temp_fif_enhance.py
Yuval-H/iclr_17_compression
f9b04a6cb93e32d17c2f2548614690dee8840d78
[ "MIT" ]
null
null
null
fast_image_filters/temp_fif_enhance.py
Yuval-H/iclr_17_compression
f9b04a6cb93e32d17c2f2548614690dee8840d78
[ "MIT" ]
null
null
null
""" File: custom_nets.py Author: Nrupatunga Email: nrupatunga.s@byjus.com Github: https://github.com/nrupatunga Description: network architecture for fast image filters """ import torch import torch.nn as nn #from torchsummary import summary from fast_image_filters.basic_blocks import ConvBlock class temp_FIF_enhanc...
29.353846
72
0.603774
235
1,908
4.731915
0.353191
0.113309
0.168165
0.233813
0.329137
0.329137
0.329137
0.329137
0.329137
0.329137
0
0.056358
0.274633
1,908
65
73
29.353846
0.74711
0.164046
0
0.315789
0
0
0.005089
0
0
0
0
0
0
1
0.078947
false
0
0.078947
0
0.210526
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
0
0
0
0
0
0
0
0
1
00e8067aebcf2f88b1c4f8bd6c0a880b24a20602
2,967
py
Python
washmis_erp/washmis_erp/doctype/common_tasks/common_tasks.py
Kipngetich33/Washmis-Erp-Demo
76d4d413ec8fc96f0a26c41d648b34d090b40d37
[ "MIT" ]
null
null
null
washmis_erp/washmis_erp/doctype/common_tasks/common_tasks.py
Kipngetich33/Washmis-Erp-Demo
76d4d413ec8fc96f0a26c41d648b34d090b40d37
[ "MIT" ]
null
null
null
washmis_erp/washmis_erp/doctype/common_tasks/common_tasks.py
Kipngetich33/Washmis-Erp-Demo
76d4d413ec8fc96f0a26c41d648b34d090b40d37
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Copyright (c) 2019, Paul Karugu and contributors # For license information, please see license.txt from __future__ import unicode_literals import frappe from frappe.model.document import Document class CommonTasks(Document): ''' This is the Common Tasks Controller class ''' def validate...
26.491071
84
0.745197
456
2,967
4.631579
0.289474
0.099432
0.059659
0.040246
0.255208
0.201705
0.187973
0.131629
0.099432
0.06108
0
0.00693
0.173239
2,967
111
85
26.72973
0.854056
0.360971
0
0.254545
0
0
0.145126
0.013691
0
0
0
0
0
1
0.090909
false
0.145455
0.054545
0
0.163636
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
0
0
1
0
0
0
0
0
1
00ead7ca73a56662debfea3d7aebc4bd61c4cb6e
2,574
py
Python
webcache/archiveorg.py
Te-k/webcache
e0f7f56b9dcbe9154b6bc6d893117961df699041
[ "MIT" ]
8
2020-03-14T18:15:29.000Z
2021-10-10T08:39:40.000Z
webcache/archiveorg.py
Te-k/webcache
e0f7f56b9dcbe9154b6bc6d893117961df699041
[ "MIT" ]
2
2020-03-14T00:09:42.000Z
2020-03-14T00:19:19.000Z
webcache/archiveorg.py
Te-k/webcache
e0f7f56b9dcbe9154b6bc6d893117961df699041
[ "MIT" ]
null
null
null
import urllib from dateutil.parser import parse import requests class ArchiveOrg(object): """ Object to download cache from archive.org """ @staticmethod def snapshots(url): """ Return a list of snapshots for a given url """ # FIXME: report more snapshot through the...
33
99
0.531857
277
2,574
4.859206
0.382671
0.059435
0.038633
0.040119
0.054978
0.054978
0
0
0
0
0
0.009456
0.342657
2,574
77
100
33.428571
0.786052
0.122378
0
0.181818
0
0
0.190698
0.009767
0
0
0
0.012987
0
1
0.072727
false
0
0.054545
0
0.254545
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
1
0
0
0
0
0
0
0
0
0
0
1
00f221d2bd4b1a6a067acdf3c9ce010920c08abb
779
py
Python
numpy/array_Mathematics.py
abhayanigam/Learn_Python_Programming
801e3fff2b1fe35e4c93f4ced649516c519eb8f9
[ "MIT" ]
1
2021-08-28T15:10:26.000Z
2021-08-28T15:10:26.000Z
numpy/array_Mathematics.py
abhayanigam/Learn_Python_Programming
801e3fff2b1fe35e4c93f4ced649516c519eb8f9
[ "MIT" ]
null
null
null
numpy/array_Mathematics.py
abhayanigam/Learn_Python_Programming
801e3fff2b1fe35e4c93f4ced649516c519eb8f9
[ "MIT" ]
null
null
null
import numpy as np n1 = np.array([10,20]) n2 = np.array([30,40]) print("Sum of n1 and n2:-") new = np.sum([n1,n2]) print(new) print("Sum of n1 and n2 row wise :-") new_2 = np.sum([n1,n2],axis = 0) #axis = 0 (Row / Vertically adding), axis = 1 (Colunm / horizontally adding). print(new_2) #Basic adding,substracting,m...
19.475
110
0.662388
146
779
3.493151
0.328767
0.054902
0.070588
0.064706
0.117647
0.066667
0
0
0
0
0
0.110272
0.150193
779
40
111
19.475
0.660121
0.196406
0
0
0
0
0.288925
0
0
0
0
0
0
1
0
false
0
0.034483
0
0.034483
0.551724
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
0
0
0
0
0
0
1
0
1
00f291479a5386d5bb61220ddb25897136644a8b
1,593
py
Python
python/main.py
JackywithaWhiteDog/gcp-auth-practice
b3e69c9152efa40b7c319a581e66966a46877c76
[ "MIT" ]
1
2021-11-04T02:15:29.000Z
2021-11-04T02:15:29.000Z
python/main.py
JackywithaWhiteDog/gcp-auth-practice
b3e69c9152efa40b7c319a581e66966a46877c76
[ "MIT" ]
null
null
null
python/main.py
JackywithaWhiteDog/gcp-auth-practice
b3e69c9152efa40b7c319a581e66966a46877c76
[ "MIT" ]
null
null
null
from google_auth_oauthlib import flow from google.cloud import bigquery from google.oauth2 import service_account SCOPES = ['https://www.googleapis.com/auth/cloud-platform'] QUERY_STRING = """ SELECT EXTRACT(YEAR FROM date) year, EXTRACT(MONTH FROM date) month, SUM(confirmed) num_reports FROM `bigquery-pu...
30.634615
83
0.736974
209
1,593
5.334928
0.440191
0.04843
0.039462
0.025112
0.159641
0
0
0
0
0
0
0.005243
0.161959
1,593
51
84
31.235294
0.829963
0.121783
0
0.051282
0
0
0.280029
0.063676
0
0
0
0.019608
0
1
0.102564
false
0
0.076923
0.025641
0.25641
0.025641
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
1
0
0
0
0
0
0
0
0
0
0
1
da9d893b99213d17ca0db0a0e823ca4c7a6e0aee
339
py
Python
osrsguru/osrsgame/urls.py
OSRSGuru/OSRS.guru-BackEnd
472096804bdbe4cf5d2abe45ab69e326043aa2be
[ "BSD-2-Clause" ]
null
null
null
osrsguru/osrsgame/urls.py
OSRSGuru/OSRS.guru-BackEnd
472096804bdbe4cf5d2abe45ab69e326043aa2be
[ "BSD-2-Clause" ]
null
null
null
osrsguru/osrsgame/urls.py
OSRSGuru/OSRS.guru-BackEnd
472096804bdbe4cf5d2abe45ab69e326043aa2be
[ "BSD-2-Clause" ]
null
null
null
from .api import ServerViewSet, GeographicalLocationViewSet, GameObjectViewSet from rest_framework.routers import DefaultRouter router = DefaultRouter() router.register(r'Servers', ServerViewSet) router.register(r'ServerLocations', GeographicalLocationViewSet) router.register(r'GameObjects', GameObjectViewSet) urlpat...
37.666667
78
0.852507
32
339
9
0.5625
0.145833
0.15625
0
0
0
0
0
0
0
0
0
0.067847
339
9
79
37.666667
0.911392
0
0
0
0
0
0.097059
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
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
0
0
0
0
0
0
1
da9e2aa9ff2861731584e4ee39d760110be9a134
30,707
py
Python
run_basic_analysis.py
njbradley/tcr-dist
1f5509a7f7bac3cb7f6cae686eea425dfe523088
[ "MIT" ]
1
2021-05-02T05:26:05.000Z
2021-05-02T05:26:05.000Z
run_basic_analysis.py
njbradley/tcr-dist
1f5509a7f7bac3cb7f6cae686eea425dfe523088
[ "MIT" ]
null
null
null
run_basic_analysis.py
njbradley/tcr-dist
1f5509a7f7bac3cb7f6cae686eea425dfe523088
[ "MIT" ]
null
null
null
from basic import * ## what gets checked to decide if we re-run certain steps? ## ## _*.dist ## _random_nbrdists.tsv ## _cdr3_motifs_{epitope}.log ## _tree_AB_*png ## MAX_MOTIFS_TIME_IN_SECONDS = 24 * 60 * 60 ## a day with Parser(locals()) as p: p.str('pair_seqs_file').described_as('Name of the pair_seqs file (...
36.253837
334
0.643013
4,127
30,707
4.566998
0.181488
0.054117
0.02674
0.032895
0.32136
0.258701
0.215461
0.182619
0.167392
0.123249
0
0.010159
0.221025
30,707
846
335
36.29669
0.777801
0.074836
0
0.320513
0
0.05609
0.471482
0.079389
0
0
0
0
0.012821
0
null
null
0.003205
0.022436
null
null
0.024038
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
1
0
0
0
0
0
0
0
0
1
daaacb368367a2c6fdf14dbd0afe0e040da945d4
3,806
py
Python
NPC.py
KRHS-GameProgramming-2015/Adlez
8912da1ee4b3c7b105851dbcc00579ff0c3cf33e
[ "BSD-2-Clause" ]
null
null
null
NPC.py
KRHS-GameProgramming-2015/Adlez
8912da1ee4b3c7b105851dbcc00579ff0c3cf33e
[ "BSD-2-Clause" ]
4
2016-04-01T15:12:31.000Z
2016-04-18T15:05:29.000Z
NPC.py
KRHS-GameProgramming-2015/Adlez
8912da1ee4b3c7b105851dbcc00579ff0c3cf33e
[ "BSD-2-Clause" ]
null
null
null
import sys, pygame, math class NPC(pygame.sprite.Sprite): def __init__(self, maxSpeed, pos = [0,0]): pygame.sprite.Sprite.__init__(self, self.containers) #Images From: URL: http://opengameart.org/content/classic-knight-animated playerSize = [25,25] self.rightImages = [pygame.transfo...
31.983193
114
0.509459
423
3,806
4.562648
0.22695
0.087047
0.058031
0.053886
0.381347
0.350259
0.259067
0.22487
0.22487
0.127461
0
0.023729
0.379926
3,806
118
115
32.254237
0.794068
0.018918
0
0.275862
0
0
0.032154
0.005627
0
0
0
0
0
0
null
null
0
0.011494
null
null
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
1
0
0
0
0
0
0
0
0
1
dab7916fcd219ee85d54255e565c4cdbca83050d
473
py
Python
makahiki/apps/managers/challenge_mgr/management/commands/clear_cache.py
justinslee/Wai-Not-Makahiki
4b7dd685012ec64758affe0ecee3103596d16aa7
[ "MIT" ]
1
2015-07-22T11:31:20.000Z
2015-07-22T11:31:20.000Z
makahiki/apps/managers/challenge_mgr/management/commands/clear_cache.py
justinslee/Wai-Not-Makahiki
4b7dd685012ec64758affe0ecee3103596d16aa7
[ "MIT" ]
null
null
null
makahiki/apps/managers/challenge_mgr/management/commands/clear_cache.py
justinslee/Wai-Not-Makahiki
4b7dd685012ec64758affe0ecee3103596d16aa7
[ "MIT" ]
null
null
null
"""Invocation: python manage.py clear_cache Clear all content in the Makahiki cache.""" from apps.managers.cache_mgr import cache_mgr from apps.managers.challenge_mgr.challenge_mgr import MakahikiBaseCommand class Command(MakahikiBaseCommand): """Management Command""" help = 'Clear all content in the makah...
26.277778
73
0.716702
58
473
5.741379
0.5
0.117117
0.09009
0.102102
0.198198
0.198198
0.198198
0
0
0
0
0
0.183932
473
17
74
27.823529
0.862694
0
0
0
0
0
0.1875
0
0
0
0
0
0
0
null
null
0
0.285714
null
null
0.142857
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
1
0
0
0
0
0
0
0
0
1
dabaed49d2056f99bfa0ca5a0c4ad17e3bee0422
9,178
py
Python
tests/test_parser.py
avendesora/pythonbible
9d628b4b8690fcfabc48fd88d16f90ac6065c78b
[ "MIT" ]
11
2021-03-29T17:29:57.000Z
2022-02-19T20:55:43.000Z
tests/test_parser.py
avendesora/pythonbible
9d628b4b8690fcfabc48fd88d16f90ac6065c78b
[ "MIT" ]
18
2021-03-24T21:50:54.000Z
2022-03-15T01:10:14.000Z
tests/test_parser.py
avendesora/pythonbible
9d628b4b8690fcfabc48fd88d16f90ac6065c78b
[ "MIT" ]
4
2021-05-19T01:19:24.000Z
2022-03-26T00:48:56.000Z
from typing import Dict, List import pythonbible as bible def test_get_references(text_with_reference: str) -> None: # Given a text string with at least one scripture reference # When parsing that text references: List[bible.NormalizedReference] = bible.get_references( text_with_reference ) ...
39.390558
108
0.720527
1,174
9,178
5.484668
0.132879
0.041932
0.121603
0.076875
0.755086
0.691412
0.676813
0.638764
0.62168
0.600093
0
0.016353
0.207126
9,178
232
109
39.560345
0.86849
0.305404
0
0.340909
0
0.007576
0.044736
0
0
0
0
0
0.143939
1
0.106061
false
0
0.015152
0
0.121212
0.015152
0
0
0
null
0
0
0
0
0
0
0
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
1
dabb6863fd8c9303684485a06f659c75a0a681f9
833
py
Python
build.py
cooperlees/btpkg
c95ab78312c0c6f9e4a987505bbdce7531b729fa
[ "Apache-2.0" ]
null
null
null
build.py
cooperlees/btpkg
c95ab78312c0c6f9e4a987505bbdce7531b729fa
[ "Apache-2.0" ]
null
null
null
build.py
cooperlees/btpkg
c95ab78312c0c6f9e4a987505bbdce7531b729fa
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 ''' Class to take care of building btpkgs ''' #import asyncio import click import logging # TODO(cooper): Make relative imports work #from . import btpkg import btpkg class BuildCli(): @click.command() @click.option( '-y', '--yes', help='Auto confirm ...'...
19.833333
80
0.597839
102
833
4.745098
0.607843
0.057851
0
0
0
0
0
0
0
0
0
0.001639
0.267707
833
41
81
20.317073
0.791803
0.246098
0
0
0
0
0.136439
0
0
0
0
0.02439
0
1
0.136364
false
0.045455
0.136364
0
0.363636
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
1
0
0
0
0
0
0
0
0
0
0
1
dabefda0083736f7fc0d14d4b5afb05cf42b5821
333
py
Python
src/waldur_core/core/migrations/0002_remove_organization.py
opennode/nodeconductor-assembly-waldur
cad9966389dc9b52b13d2301940c99cf4b243900
[ "MIT" ]
2
2017-01-20T15:26:25.000Z
2017-08-03T04:38:08.000Z
src/waldur_core/core/migrations/0002_remove_organization.py
opennode/nodeconductor-assembly-waldur
cad9966389dc9b52b13d2301940c99cf4b243900
[ "MIT" ]
null
null
null
src/waldur_core/core/migrations/0002_remove_organization.py
opennode/nodeconductor-assembly-waldur
cad9966389dc9b52b13d2301940c99cf4b243900
[ "MIT" ]
null
null
null
# Generated by Django 1.11.7 on 2018-04-10 07:17 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('core', '0001_squashed_0008'), ] operations = [ migrations.RemoveField( model_name='user', name='organization_approved', ...
19.588235
48
0.600601
35
333
5.6
0.857143
0
0
0
0
0
0
0
0
0
0
0.101266
0.288288
333
16
49
20.8125
0.725738
0.138138
0
0
1
0
0.164912
0.073684
0
0
0
0
0
1
0
false
0
0.090909
0
0.363636
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
0
0
0
0
0
0
1
dac03557ee5e0da648b9626b445f4a97d49601d5
1,319
py
Python
debug.py
chuiyangmeng96/GNN_DRL_Cache
5e34b2933c5fcc428f18d391fc555c38041a53a3
[ "MIT" ]
1
2022-03-21T14:25:15.000Z
2022-03-21T14:25:15.000Z
debug.py
chuiyangmeng96/GNN_DRL_Cache
5e34b2933c5fcc428f18d391fc555c38041a53a3
[ "MIT" ]
1
2021-08-11T10:07:12.000Z
2021-08-11T10:07:12.000Z
debug.py
chuiyangmeng96/GNN_DRL_Cache
5e34b2933c5fcc428f18d391fc555c38041a53a3
[ "MIT" ]
null
null
null
import numpy as np import matplotlib.pyplot as plt import os A = np.zeros((10,3)) for i in range(10): A[i, :] = [i, i+1, i+2] print(A/6) ''' def plott(N): A = np.array(list(range(N))) z2 = 0.4 m = 0 for i in range(N): m += 0.7 * pow(1 / (i + 1), z2) K_2 = np.zeros(N) for i in...
22.741379
121
0.433662
207
1,319
2.724638
0.347826
0.024823
0.042553
0.078014
0.244681
0.166667
0.166667
0.166667
0.166667
0.166667
0
0.110406
0.402578
1,319
57
122
23.140351
0.60533
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
0.142857
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
0
0
0
1
0
0
0
0
1
dac4bd140836ca07465e5b7f983530a7c83e150c
664
py
Python
exercicios/exercicio059.py
NicoCassio/cursoemvideo-python
2686ff74f4d45bdb0dc194f49f4dd19aae629d52
[ "MIT" ]
null
null
null
exercicios/exercicio059.py
NicoCassio/cursoemvideo-python
2686ff74f4d45bdb0dc194f49f4dd19aae629d52
[ "MIT" ]
null
null
null
exercicios/exercicio059.py
NicoCassio/cursoemvideo-python
2686ff74f4d45bdb0dc194f49f4dd19aae629d52
[ "MIT" ]
null
null
null
op = 0 n1 = int(input('Número 1: ')) n2 = int(input('Número 2: ')) while op != 5: print('---------------------') print(' [1] Somar') print(' [2] Multiplicar') print(' [3] Maior') print(' [4] Novos Números') print(' [5] Sair') print('---------------------') op = int(input(' Opção: ')...
23.714286
37
0.399096
83
664
3.192771
0.337349
0.150943
0.211321
0.120755
0.339623
0.256604
0.256604
0.256604
0.256604
0.256604
0
0.065728
0.358434
664
27
38
24.592593
0.556338
0
0
0.222222
0
0
0.278614
0.063253
0
0
0
0
0
1
0
false
0
0
0
0
0.296296
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
0
0
0
0
0
0
0
0
1
daccab719ae815f63156e3664b298f66fd9cb053
514
py
Python
django/researchdata/views.py
bear-rsg/euclcorp
a7d17ef4522212d1f8f884d178bc2f2d9cc5b672
[ "MIT" ]
null
null
null
django/researchdata/views.py
bear-rsg/euclcorp
a7d17ef4522212d1f8f884d178bc2f2d9cc5b672
[ "MIT" ]
4
2021-07-14T14:07:59.000Z
2022-03-02T10:51:30.000Z
django/researchdata/views.py
bear-rsg/euclcorp
a7d17ef4522212d1f8f884d178bc2f2d9cc5b672
[ "MIT" ]
null
null
null
from django.views.generic import TemplateView from . import cwb_exec class TestView(TemplateView): """ Class-based view to show the test template """ template_name = 'researchdata/test.html' def get_context_data(self, **kwargs): context = super().get_context_data(**kwargs) query_i...
30.235294
84
0.673152
64
514
5.21875
0.546875
0.11976
0.083832
0.131737
0
0
0
0
0
0
0
0.002433
0.200389
514
16
85
32.125
0.810219
0.081712
0
0
0
0
0.114035
0.048246
0
0
0
0
0
1
0.1
false
0
0.2
0
0.6
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
0
0
0
0
0
1
0
0
1
dad92fc829e42009fd0a9b866a28372eb59b651f
406
py
Python
cloudscale_cli/commands/flavor.py
cloudscale-ch/cloudscale-cli
29e7d0c3820b5903a6b509b9edef3063f388fd7c
[ "MIT" ]
7
2020-07-18T07:15:58.000Z
2020-12-10T13:25:08.000Z
cloudscale_cli/commands/flavor.py
cloudscale-ch/cloudscale-cli
29e7d0c3820b5903a6b509b9edef3063f388fd7c
[ "MIT" ]
18
2020-08-17T22:12:34.000Z
2021-05-17T14:59:07.000Z
cloudscale_cli/commands/flavor.py
cloudscale-ch/cloudscale-cli
29e7d0c3820b5903a6b509b9edef3063f388fd7c
[ "MIT" ]
null
null
null
import click @click.group() @click.pass_context def flavor(ctx): ctx.obj.cloud_resource_name = "flavor" ctx.obj.headers = [ 'name', 'vcpu_count', 'memory_gb', 'slug', 'zones', ] @click.option('--filter-json') @flavor.command("list") @click.pass_obj def cmd_list(clou...
18.454545
42
0.6133
49
406
4.857143
0.530612
0.168067
0
0
0
0
0
0
0
0
0
0
0.238916
406
21
43
19.333333
0.770227
0
0
0
0
0
0.135468
0
0
0
0
0
0
1
0.105263
false
0.105263
0.052632
0
0.157895
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
0
0
1
0
0
0
0
0
1
dad9f3ebc381a98eacf2fbde785f6ebba400a365
2,243
py
Python
Data.py
solvergroup1924/gamer-index-website
17114b5c512831561242c1e005477e3dc87e63e0
[ "bzip2-1.0.6" ]
null
null
null
Data.py
solvergroup1924/gamer-index-website
17114b5c512831561242c1e005477e3dc87e63e0
[ "bzip2-1.0.6" ]
null
null
null
Data.py
solvergroup1924/gamer-index-website
17114b5c512831561242c1e005477e3dc87e63e0
[ "bzip2-1.0.6" ]
null
null
null
class User(): def __init__(self , Name , userName , username_type , Game , data_dict): self.index = data_dict.getIndex()+1 self.name = Name self.username = userName self.username_type = username_type self.game = Game self.data = data_dict self.data.AddU...
16.614815
132
0.528756
262
2,243
4.370229
0.209924
0.076856
0.094323
0.056769
0.241921
0.158079
0.110044
0.110044
0.059389
0
0
0.006392
0.372269
2,243
135
133
16.614815
0.806818
0
0
0.169231
0
0
0.039303
0
0
0
0
0
0
1
0.215385
false
0.030769
0
0.015385
0.384615
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
0
0
0
0
0
0
1
dadcc90d860f9e89b3f187b45bf51f3a3b33cb7d
916
py
Python
tests/test-send.py
sirmammingtonham/droneee
1c0e1921a902b26958d298f3a0204465bf3e960d
[ "Unlicense" ]
null
null
null
tests/test-send.py
sirmammingtonham/droneee
1c0e1921a902b26958d298f3a0204465bf3e960d
[ "Unlicense" ]
null
null
null
tests/test-send.py
sirmammingtonham/droneee
1c0e1921a902b26958d298f3a0204465bf3e960d
[ "Unlicense" ]
null
null
null
#!/usr/bin/env python """test-send.py: Test script to send RC commands to a MultiWii Board.""" __author__ = "Aldo Vargas" __copyright__ = "Copyright 2016 Altax.net" __license__ = "GPL" __version__ = "1" __maintainer__ = "Aldo Vargas" __email__ = "alduxvm@gmail.com" __status__ = "Development" from pymultiwii import ...
27.757576
82
0.635371
113
916
4.79646
0.646018
0.04428
0.04428
0.081181
0.125461
0.125461
0.125461
0.125461
0
0
0
0.064706
0.257642
916
33
83
27.757576
0.732353
0.231441
0
0
0
0
0.167464
0
0
0
0
0
0
0
null
null
0
0.058824
null
null
0.117647
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
1
0
0
0
0
0
0
0
0
1
dadeb3abb8c9f7834fa1fe10d50b0bfff5fe2286
2,212
py
Python
FHEM/bindings/python/tests/mocked/test_modules_basic.py
xerion3800/fhempy
24a0d1e55c77716ca9bedcbe97dee909143fd02a
[ "MIT" ]
16
2021-01-01T16:04:18.000Z
2022-03-10T21:46:44.000Z
FHEM/bindings/python/tests/mocked/test_modules_basic.py
xerion3800/fhempy
24a0d1e55c77716ca9bedcbe97dee909143fd02a
[ "MIT" ]
60
2020-12-27T19:18:02.000Z
2022-03-06T18:28:58.000Z
FHEM/bindings/python/tests/mocked/test_modules_basic.py
xerion3800/fhempy
24a0d1e55c77716ca9bedcbe97dee909143fd02a
[ "MIT" ]
10
2021-01-30T11:56:15.000Z
2022-02-18T13:01:05.000Z
import importlib import logging import os from unittest.mock import MagicMock import pytest from fhempy.lib import utils from fhempy.lib.generic import FhemModule from fhempy.lib.pkg_installer import check_and_install_dependencies, check_dependencies from ..utils import mock_fhem logger = logging.getLogger(__name__)...
31.15493
88
0.692586
271
2,212
5.442804
0.361624
0.088136
0.026441
0.03661
0
0
0
0
0
0
0
0.001143
0.208861
2,212
70
89
31.6
0.841714
0.057414
0
0.04
0
0
0.133301
0.014918
0
0
0
0.014286
0.14
1
0.02
false
0
0.2
0
0.22
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
1
0
0
0
0
0
0
0
0
0
0
1
dadefb59f3494cc77acd87bc089947ec6e253127
3,078
py
Python
al_postpred.py
rasmusbruckner/adaptivelearning_analysis
48da672bffefe8811d2522f4ff1857ff6e02cf8e
[ "MIT" ]
1
2021-04-30T11:11:37.000Z
2021-04-30T11:11:37.000Z
al_postpred.py
rasmusbruckner/adaptivelearning_analysis
48da672bffefe8811d2522f4ff1857ff6e02cf8e
[ "MIT" ]
null
null
null
al_postpred.py
rasmusbruckner/adaptivelearning_analysis
48da672bffefe8811d2522f4ff1857ff6e02cf8e
[ "MIT" ]
1
2021-04-30T11:11:50.000Z
2021-04-30T11:11:50.000Z
""" Posterior predictions 1. Load data 2. Run simulations - First experiment: - With perseveration (3 cycles) - Without perseveration (3 cycles) - With perseveration (1 cycle) to plot single-trial updates and predictions - Follow-up experiment: - With perseveration (3 cycles) ...
34.977273
115
0.709877
463
3,078
4.406048
0.190065
0.027451
0.052941
0.029412
0.754412
0.711275
0.637745
0.589216
0.589216
0.589216
0
0.01907
0.182261
3,078
87
116
35.37931
0.791418
0.41553
0
0.388889
0
0
0.172805
0.163739
0
0
0
0
0
1
0
false
0
0.083333
0
0.083333
0
0
0
0
null
0
0
0
0
1
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
0
0
0
1
dadfa5511f99ddb180f91e7aef4c07d8beeeda51
2,040
py
Python
fmp-django/menu/migrations/0001_initial.py
dave-leblanc/family-menu-planning
00e6b300837f7857a7c0f3de5ef175cf77c7a2e3
[ "Unlicense" ]
null
null
null
fmp-django/menu/migrations/0001_initial.py
dave-leblanc/family-menu-planning
00e6b300837f7857a7c0f3de5ef175cf77c7a2e3
[ "Unlicense" ]
null
null
null
fmp-django/menu/migrations/0001_initial.py
dave-leblanc/family-menu-planning
00e6b300837f7857a7c0f3de5ef175cf77c7a2e3
[ "Unlicense" ]
null
null
null
# Generated by Django 3.1.5 on 2021-01-27 01:04 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Ingredient', fields=[ ...
42.5
184
0.578922
204
2,040
5.681373
0.431373
0.077653
0.062123
0.08283
0.351165
0.306299
0.306299
0.306299
0.306299
0.306299
0
0.017276
0.262255
2,040
47
185
43.404255
0.752824
0.022059
0
0.4
1
0
0.168088
0.011039
0
0
0
0
0
1
0
false
0
0.05
0
0.15
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
0
0
0
0
0
0
1
dae0c95574c1d459f86f5241d0cccd73d7d9ea9a
1,299
py
Python
pyisam/pyisam/core/system/firststeps.py
l-farrell/isam-openbanking
aaf06a2671c65119dfbbd8c4f58aa7645e6ef22f
[ "Apache-2.0" ]
null
null
null
pyisam/pyisam/core/system/firststeps.py
l-farrell/isam-openbanking
aaf06a2671c65119dfbbd8c4f58aa7645e6ef22f
[ "Apache-2.0" ]
null
null
null
pyisam/pyisam/core/system/firststeps.py
l-farrell/isam-openbanking
aaf06a2671c65119dfbbd8c4f58aa7645e6ef22f
[ "Apache-2.0" ]
null
null
null
""" Find more at: https://github.com/l-farrell/isam-ob/settings """ import logging from pyisam.util.model import DataObject from pyisam.util.restclient import RESTClient SETUP_COMPLETE = "/setup_complete" SERVICE_AGREEMENTS_ACCEPTED = "/setup_service_agreements/accepted" logger = logging.getLogger(__name__) clas...
26.510204
79
0.709007
154
1,299
5.701299
0.357143
0.074032
0.113895
0.132118
0.411162
0.35877
0.35877
0.283599
0.226651
0.226651
0
0.011538
0.199384
1,299
48
80
27.0625
0.832692
0.04542
0
0.285714
0
0
0.046266
0.027597
0
0
0
0
0
1
0.178571
false
0.071429
0.107143
0
0.464286
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
0
0
1
0
0
0
0
0
1
dae1006aaedbfaaeac1051d0abb523ae916520b2
3,186
py
Python
sdk/python/tests/loaders/test_file.py
randxie/feast
cc003155ae0ddaaf4894c88e71c35c4698daf25a
[ "Apache-2.0" ]
3
2021-05-07T06:03:44.000Z
2022-02-20T10:43:59.000Z
sdk/python/tests/loaders/test_file.py
randxie/feast
cc003155ae0ddaaf4894c88e71c35c4698daf25a
[ "Apache-2.0" ]
15
2020-11-13T19:01:34.000Z
2022-02-22T15:47:29.000Z
sdk/python/tests/loaders/test_file.py
randxie/feast
cc003155ae0ddaaf4894c88e71c35c4698daf25a
[ "Apache-2.0" ]
2
2021-05-07T06:03:40.000Z
2021-07-17T08:32:02.000Z
# # Copyright 2020 The Feast Authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
33.893617
86
0.763026
479
3,186
4.753653
0.302714
0.035134
0.055336
0.083004
0.343874
0.299956
0.283707
0.259991
0.226614
0.184453
0
0.028885
0.141557
3,186
93
87
34.258065
0.803656
0.174514
0
0.193548
0
0
0.117827
0.081484
0
0
0
0
0.112903
1
0.080645
false
0.064516
0.177419
0
0.274194
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
0
0
1
0
0
0
0
0
1
dae27142b7a9611219c850ec55a2742b117d9a54
1,581
py
Python
src/web/genstatic.py
anderson-attilio/runbook
7b68622f75ef09f654046f0394540025f3ee7445
[ "Apache-2.0" ]
155
2015-07-15T14:06:06.000Z
2021-03-31T01:41:44.000Z
src/web/genstatic.py
anderson-attilio/runbook
7b68622f75ef09f654046f0394540025f3ee7445
[ "Apache-2.0" ]
78
2015-01-01T05:49:20.000Z
2015-07-12T01:48:44.000Z
src/web/genstatic.py
Runbook/runbook
7b68622f75ef09f654046f0394540025f3ee7445
[ "Apache-2.0" ]
36
2015-07-20T22:42:23.000Z
2021-12-05T10:00:44.000Z
#!/usr/bin/python ###################################################################### # Generate static HTML for non dynamic pages ###################################################################### # Benjamin J. Cane - 01/02/2014 import jinja2 import os import codecs import distutils.core def createFile(path,...
27.736842
76
0.598355
182
1,581
5.137363
0.516484
0.028877
0.027807
0.034225
0
0
0
0
0
0
0
0.010039
0.180898
1,581
56
77
28.232143
0.711969
0.119545
0
0
1
0
0.147368
0.05587
0
0
0
0
0
1
0.055556
false
0
0.111111
0
0.194444
0.055556
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
0
0
0
0
0
0
1
daedc2966c00153ac3877d3e4df61f793e984db3
318
py
Python
setup.py
integralws/pattern
75183791d89e87e9c51aea211285f324f98f8b0c
[ "MIT" ]
null
null
null
setup.py
integralws/pattern
75183791d89e87e9c51aea211285f324f98f8b0c
[ "MIT" ]
null
null
null
setup.py
integralws/pattern
75183791d89e87e9c51aea211285f324f98f8b0c
[ "MIT" ]
null
null
null
#!/usr/bin/env python from distutils.core import setup setup(name='pattern', version='0.1~alpha0', author='Ryan Marquardt', author_email='ryan@integralws.com', description='Parsing strings according to python formats', url='http://github.com/integralws/pattern', license='MIT License', packages=['pattern'], )
24.461538
59
0.742138
42
318
5.595238
0.785714
0
0
0
0
0
0
0
0
0
0
0.010417
0.09434
318
13
60
24.461538
0.805556
0.062893
0
0
0
0
0.493289
0
0
0
0
0
0
1
0
true
0
0.1
0
0.1
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
0
1
0
0
0
0
0
0
1
daf9b94260397097780d880f3c17e79d3eaeb76e
3,313
py
Python
config.py
netromdk/kiri
f88cda3553adc985f0eb2728e8f1662aeb8078a1
[ "MIT" ]
9
2021-08-11T05:44:13.000Z
2022-03-28T16:01:20.000Z
config.py
netromdk/kiri
f88cda3553adc985f0eb2728e8f1662aeb8078a1
[ "MIT" ]
null
null
null
config.py
netromdk/kiri
f88cda3553adc985f0eb2728e8f1662aeb8078a1
[ "MIT" ]
2
2021-08-11T06:38:06.000Z
2021-12-08T02:57:39.000Z
# Copyright 2021 by Viggo Falster (https://github.com/viggofalster) # All rights reserved. # This file is part of KIRI - Keyboard Interception, Remapping and Injection using Raspberry Pi as a HID Proxy, # and is released under the "MIT License Agreement". Please see the LICENSE # file that should have been included as ...
34.154639
111
0.502566
356
3,313
4.508427
0.353933
0.23053
0.157009
0.039875
0.149533
0.11028
0.11028
0.090966
0.053583
0.053583
0
0.007132
0.407486
3,313
96
112
34.510417
0.810494
0.172351
0
0.115942
0
0
0.123855
0
0
0
0
0
0
1
0.014493
false
0
0.014493
0
0.115942
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
0
0
0
0
0
0
0
1
dafc37eddf965b7c9c8b2869bee9a427debfcb82
1,181
py
Python
libraries/botbuilder-core/botbuilder/core/queue_storage.py
Fl4v/botbuilder-python
4003d713beb8fb986a01cfd11632eabc65858618
[ "MIT" ]
388
2019-05-07T15:53:21.000Z
2022-03-28T20:29:46.000Z
libraries/botbuilder-core/botbuilder/core/queue_storage.py
Fl4v/botbuilder-python
4003d713beb8fb986a01cfd11632eabc65858618
[ "MIT" ]
1,286
2019-05-07T23:38:19.000Z
2022-03-31T10:44:16.000Z
libraries/botbuilder-core/botbuilder/core/queue_storage.py
Fl4v/botbuilder-python
4003d713beb8fb986a01cfd11632eabc65858618
[ "MIT" ]
168
2019-05-14T20:23:25.000Z
2022-03-16T06:49:14.000Z
# Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. from abc import ABC, abstractmethod from botbuilder.schema import Activity class QueueStorage(ABC): """ A base class for enqueueing an Activity for later processing. """ @abstractmethod async def queue_...
33.742857
114
0.679932
143
1,181
5.545455
0.531469
0.107188
0.050441
0.045397
0.070618
0
0
0
0
0
0
0.002286
0.259102
1,181
34
115
34.735294
0.904
0.128704
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.181818
0
0.272727
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
0
1
0
0
0
0
0
0
1
dafc86de0814d0a023019dffef05d4c80c50cfb5
2,944
py
Python
src/cpu/testers/traffic_gen/GUPSGen.py
hyu-iot/gem5
aeccc8bd8e9a86f96fc7a6f40d978f8494337fc5
[ "BSD-3-Clause" ]
765
2015-01-14T16:17:04.000Z
2022-03-28T07:46:28.000Z
src/cpu/testers/traffic_gen/GUPSGen.py
hyu-iot/gem5
aeccc8bd8e9a86f96fc7a6f40d978f8494337fc5
[ "BSD-3-Clause" ]
148
2018-07-20T00:58:36.000Z
2021-11-16T01:52:33.000Z
src/cpu/testers/traffic_gen/GUPSGen.py
hyu-iot/gem5
aeccc8bd8e9a86f96fc7a6f40d978f8494337fc5
[ "BSD-3-Clause" ]
807
2015-01-06T09:55:38.000Z
2022-03-30T10:23:36.000Z
# Copyright (c) 2021 The Regents of the University of California. # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: redistributions of source code must retain the above copyright # notice, this li...
48.262295
78
0.718071
394
2,944
5.337563
0.525381
0.00951
0.016167
0.021874
0.087494
0.06467
0.06467
0.06467
0.06467
0.06467
0
0.006567
0.224185
2,944
60
79
49.066667
0.914186
0.557745
0
0
0
0
0.443914
0.027844
0
0
0
0
0
1
0
false
0
0.142857
0
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
0
0
0
0
0
1
0
0
1
97089bf660fd2671a54edcb230ffc853aaf32179
1,216
py
Python
flightdeck/person/views.py
majacQ/FlightDeck
4ed2e630024374e1ac9f4a8ced8acd0ed7883d76
[ "MIT" ]
1
2019-12-29T05:58:53.000Z
2019-12-29T05:58:53.000Z
flightdeck/person/views.py
majacQ/FlightDeck
4ed2e630024374e1ac9f4a8ced8acd0ed7883d76
[ "MIT" ]
null
null
null
flightdeck/person/views.py
majacQ/FlightDeck
4ed2e630024374e1ac9f4a8ced8acd0ed7883d76
[ "MIT" ]
2
2016-01-16T13:59:52.000Z
2021-04-25T15:38:26.000Z
from django.shortcuts import render_to_response, get_object_or_404 from django.http import Http404, HttpResponseRedirect, HttpResponse, HttpResponseRedirect from django.template import RequestContext#,Template from django.contrib.auth.models import User from django.contrib.auth.decorators import login_required from dja...
32.864865
89
0.789474
161
1,216
5.819876
0.391304
0.064034
0.102455
0.11953
0.251868
0.207044
0
0
0
0
0
0.008341
0.112664
1,216
36
90
33.777778
0.860056
0.14227
0
0.086957
0
0
0.045098
0
0
0
0
0
0
1
0.086957
false
0
0.304348
0
0.478261
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
0
0
0
1
0
0
0
0
1
970a706ea0a441f8bd8e72c929df61da0911ac38
22,682
py
Python
python/ccxtpro/okex3.py
kakacaca/ccxt
4fdb7d450fb9c9e480b6f0a3e3866b784cf24ebf
[ "Unlicense" ]
1
2021-09-15T11:42:59.000Z
2021-09-15T11:42:59.000Z
python/ccxtpro/okex3.py
bikidenny/ccxt
4fdb7d450fb9c9e480b6f0a3e3866b784cf24ebf
[ "Unlicense" ]
null
null
null
python/ccxtpro/okex3.py
bikidenny/ccxt
4fdb7d450fb9c9e480b6f0a3e3866b784cf24ebf
[ "Unlicense" ]
1
2022-03-12T03:02:15.000Z
2022-03-12T03:02:15.000Z
# -*- coding: utf-8 -*- # PLEASE DO NOT EDIT THIS FILE, IT IS GENERATED AND WILL BE OVERWRITTEN: # https://github.com/ccxt/ccxt/blob/master/CONTRIBUTING.md#how-to-contribute-code from ccxtpro.base.exchange import Exchange import ccxt.async_support as ccxt from ccxtpro.base.cache import ArrayCache, ArrayCacheByTimesta...
41.165154
192
0.480337
2,062
22,682
5.190107
0.187682
0.041861
0.037937
0.021585
0.362456
0.312465
0.263596
0.238554
0.2151
0.206317
0
0.051684
0.395203
22,682
550
193
41.24
0.728459
0.245128
0
0.279503
1
0.003106
0.089866
0.004316
0
0
0
0
0
1
0.046584
false
0.003106
0.018634
0.009317
0.145963
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
0
0
0
0
0
0
1
9714123dc7cad82546b4f6b7dc2f6cea5970b956
1,108
py
Python
books/migrations/0006_auto_20170414_1647.py
rambasnet/bookstore2
045496da11ec70e582c46ac61137bfbf3605725f
[ "MIT" ]
1
2017-04-22T11:29:34.000Z
2017-04-22T11:29:34.000Z
books/migrations/0006_auto_20170414_1647.py
rambasnet/bookstore
045496da11ec70e582c46ac61137bfbf3605725f
[ "MIT" ]
null
null
null
books/migrations/0006_auto_20170414_1647.py
rambasnet/bookstore
045496da11ec70e582c46ac61137bfbf3605725f
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.10.6 on 2017-04-14 16:47 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('books', '0005_subscription'), ] operations = [ migrations.AddField( ...
27.02439
65
0.557762
108
1,108
5.537037
0.518519
0.060201
0.075251
0.095318
0.371237
0.277592
0.147157
0.147157
0.147157
0
0
0.041005
0.31769
1,108
40
66
27.7
0.75
0.061372
0
0.393939
1
0
0.080039
0
0
0
0
0
0
1
0
false
0
0.060606
0
0.151515
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
0
0
0
0
0
0
1
971d8a3baf50cf8ae2f8aa2e98e57d5025994bec
1,089
py
Python
test_main.py
tushar-saini/Filed-Assignment
9eda193ac598c605d9d77985be657f4f60609ffb
[ "Apache-2.0" ]
null
null
null
test_main.py
tushar-saini/Filed-Assignment
9eda193ac598c605d9d77985be657f4f60609ffb
[ "Apache-2.0" ]
null
null
null
test_main.py
tushar-saini/Filed-Assignment
9eda193ac598c605d9d77985be657f4f60609ffb
[ "Apache-2.0" ]
null
null
null
from fastapi.testclient import TestClient from main import app client = TestClient(app) # Test index page def test_index(): response = client.get("/") assert response.status_code == 200 assert response.json() == "Welcome to the Audio book API." # Testing create test def test_create(): response = cli...
27.225
83
0.646465
137
1,089
5.065693
0.321168
0.161383
0.144092
0.172911
0.492795
0.492795
0.4683
0.4683
0.273775
0.273775
0
0.051665
0.200184
1,089
39
84
27.923077
0.745121
0.086318
0
0.37037
0
0
0.217391
0
0
0
0
0
0.296296
1
0.185185
false
0
0.074074
0
0.259259
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
0
0
0
0
0
0
0
0
1
97232307c5ccc50e2b79b292bdaa2946e0eca3d7
612
py
Python
src/api.py
queensferryme/smms.py
25acec06d2dfab087dfbe40fa6ceef20412fdb2f
[ "MIT" ]
5
2018-09-25T09:55:43.000Z
2019-11-06T14:55:41.000Z
src/api.py
queensferryme/smms.py
25acec06d2dfab087dfbe40fa6ceef20412fdb2f
[ "MIT" ]
null
null
null
src/api.py
queensferryme/smms.py
25acec06d2dfab087dfbe40fa6ceef20412fdb2f
[ "MIT" ]
null
null
null
'''Wrapper for RESTful api https://sm.ms/api''' import requests class Api: '''Wrapper for RESTful api https://sm.ms/api''' params = {'format': 'json', 'ssl': True} prefix = 'https://sm.ms/api' @classmethod def delete(cls, delete_url): '''delete an image from remote server''' retu...
26.608696
92
0.598039
78
612
4.666667
0.5
0.057692
0.074176
0.098901
0.175824
0.175824
0.175824
0.175824
0
0
0
0
0.236928
612
22
93
27.818182
0.779443
0.227124
0
0.153846
0
0
0.103982
0
0
0
0
0
0
1
0.153846
false
0
0.076923
0
0.615385
0.076923
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
0
0
0
0
0
1
0
0
1
973006d44e522152da5d8ecbf0ac4fc0580e4891
3,953
py
Python
mldissect/explainer.py
ml-libs/mldissect
8f3cdd0f9408968b40db58283fb47168c2158983
[ "Apache-2.0" ]
2
2018-09-09T20:54:01.000Z
2018-09-12T15:55:12.000Z
mldissect/explainer.py
ml-libs/mldissect
8f3cdd0f9408968b40db58283fb47168c2158983
[ "Apache-2.0" ]
4
2018-09-20T21:20:21.000Z
2018-09-25T21:14:43.000Z
mldissect/explainer.py
ml-libs/mldissect
8f3cdd0f9408968b40db58283fb47168c2158983
[ "Apache-2.0" ]
null
null
null
from abc import ABC, abstractmethod import numpy as np from typing import NamedTuple, List from .utils import normalize_array, multiply_row, to_matrix class ExplanationData(NamedTuple): columns: List[str] values: List[float] contribution: List[float] intercept: float order: List[int] class Bas...
31.624
77
0.652669
461
3,953
5.305857
0.21692
0.055192
0.065413
0.022077
0.273508
0.264513
0.187244
0.147997
0.134096
0.099755
0
0.006494
0.259803
3,953
124
78
31.879032
0.82946
0.012649
0
0.21978
0
0
0.00872
0
0
0
0
0
0
1
0.142857
false
0.032967
0.241758
0.032967
0.615385
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
0
0
0
0
0
1
0
0
1
9737562abe598c1f933df041b5d5d4252ed26e92
2,967
py
Python
diode/db_scripts/db_setup.py
tbennun/dace
484f959c847feee048cd43ae5580f57e67d51671
[ "BSD-3-Clause" ]
1
2020-09-18T07:27:22.000Z
2020-09-18T07:27:22.000Z
diode/db_scripts/db_setup.py
tbennun/dace
484f959c847feee048cd43ae5580f57e67d51671
[ "BSD-3-Clause" ]
null
null
null
diode/db_scripts/db_setup.py
tbennun/dace
484f959c847feee048cd43ae5580f57e67d51671
[ "BSD-3-Clause" ]
null
null
null
import sqlite3 import os def db_setup(basepath="."): perfdata_path = os.path.join(basepath, "perfdata.db") try: os.remove(perfdata_path) except: pass # Create the database by connecting to it conn = sqlite3.connect(perfdata_path) # This is no "production db". On power outage, ...
29.376238
86
0.554095
294
2,967
5.564626
0.397959
0.03423
0.059902
0.081296
0.118582
0.051345
0.051345
0.051345
0.051345
0.051345
0
0.001047
0.356252
2,967
100
87
29.67
0.855497
0.151331
0
0.175676
0
0.027027
0.777113
0.032297
0
0
0
0
0
1
0.013514
false
0.013514
0.027027
0
0.040541
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9748b52de53f16f1869ca8fa06154f7af0433db4
4,950
py
Python
experimental/tests.py
jaimevp54/experimental.py
3988806ecf9c5f2a55971fa7dcda0695ccd55f34
[ "MIT" ]
null
null
null
experimental/tests.py
jaimevp54/experimental.py
3988806ecf9c5f2a55971fa7dcda0695ccd55f34
[ "MIT" ]
null
null
null
experimental/tests.py
jaimevp54/experimental.py
3988806ecf9c5f2a55971fa7dcda0695ccd55f34
[ "MIT" ]
null
null
null
import unittest import experimental from experimental import volatile, experiment, DisabledExperiment, MismatchingArguments, experimental_block, experiments_ignored from mock import patch class TestVolatileDecorator(unittest.TestCase): def test_calls_enabled_experiment(self): @experiment() def e_fun...
32.781457
128
0.573131
474
4,950
5.736287
0.14135
0.036778
0.123575
0.164766
0.70651
0.644355
0.619345
0.582199
0.539537
0.468555
0
0.001789
0.322626
4,950
150
129
33
0.809126
0
0
0.6875
0
0
0.145455
0.103434
0
0
0
0
0.142857
1
0.178571
false
0.035714
0.035714
0.071429
0.339286
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
0
0
0
0
0
0
0
0
1
974e46eb0f2b030311ca1ec81f06d1d47b3c98f6
9,728
py
Python
gui/QT/ui_setupTimescale.py
steinnymir/StepScanMeter
51ee08719092f2a8c61dea64927abec5042ba6bf
[ "MIT" ]
1
2018-07-19T11:53:45.000Z
2018-07-19T11:53:45.000Z
gui/QT/ui_setupTimescale.py
steinnymir/StepScanMeter
51ee08719092f2a8c61dea64927abec5042ba6bf
[ "MIT" ]
null
null
null
gui/QT/ui_setupTimescale.py
steinnymir/StepScanMeter
51ee08719092f2a8c61dea64927abec5042ba6bf
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'E:\py_code\StepScanMeter\measurement\QT\ui_setupTimescale.ui' # # Created by: PyQt5 UI code generator 5.6 # # WARNING! All changes made in this file will be lost! from PyQt5 import QtCore, QtGui, QtWidgets class Ui_Ui_SetupTimeScale(object...
56.55814
115
0.737664
1,082
9,728
6.38817
0.115527
0.075231
0.078704
0.065972
0.57581
0.507378
0.45298
0.415365
0.278935
0.278935
0
0.028487
0.162829
9,728
171
116
56.888889
0.820236
0.023438
0
0.22293
1
0
0.054151
0.017699
0
0
0
0
0
1
0.012739
false
0
0.012739
0
0.031847
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
0
0
0
0
0
0
1
975248ebfcd1395261e629cbdc101a8362b860b6
545
py
Python
tests/conftest.py
AustEcon/bitcoinX
9dee032ec4910d54c4a976416ccb7c41317f5fa4
[ "MIT" ]
null
null
null
tests/conftest.py
AustEcon/bitcoinX
9dee032ec4910d54c4a976416ccb7c41317f5fa4
[ "MIT" ]
null
null
null
tests/conftest.py
AustEcon/bitcoinX
9dee032ec4910d54c4a976416ccb7c41317f5fa4
[ "MIT" ]
null
null
null
# Pytest looks here for fixtures import pytest from bitcoinx import aes AES_params = [False] try: from Cryptodome.Cipher import AES as Cryptodome_AES AES_params.append(True) except ImportError: AES_params.append(pytest.param(True, marks=pytest.mark.skip)) # Run encryption / decryption tests with pyaes...
21.8
68
0.72844
77
545
5.064935
0.532468
0.107692
0.061538
0
0
0
0
0
0
0
0
0
0.198165
545
24
69
22.708333
0.892449
0.177982
0
0.125
0
0
0
0
0
0
0
0.041667
0
1
0.0625
false
0
0.25
0
0.3125
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
1
0
0
0
0
0
0
0
0
0
0
1
9753ce69f4df7fb3f20cb59866a949e68d0cbd64
9,143
py
Python
src/multitfa/analysis/sampling_util.py
biosustain/multitfa
ab5a9bf6c19a94a221c9a137cccfcacdc2c1cb50
[ "Apache-2.0" ]
4
2020-11-27T20:25:57.000Z
2021-03-12T22:01:34.000Z
src/multitfa/analysis/sampling_util.py
biosustain/multitfa
ab5a9bf6c19a94a221c9a137cccfcacdc2c1cb50
[ "Apache-2.0" ]
8
2020-11-29T23:56:31.000Z
2021-04-09T11:23:17.000Z
src/multitfa/analysis/sampling_util.py
biosustain/multitfa
ab5a9bf6c19a94a221c9a137cccfcacdc2c1cb50
[ "Apache-2.0" ]
1
2021-11-11T09:22:57.000Z
2021-11-11T09:22:57.000Z
import numpy as np from optlang import Constraint from scipy import stats from ..util.constraints import * from ..util.linalg_fun import * from ..util.thermo_constants import * def generate_n_sphere_sample(n_variables): """Generates unit n-sphere sample. Works by picking random sample from normal distribution an...
34.764259
307
0.650662
1,118
9,143
5.080501
0.222719
0.03169
0.016021
0.007746
0.279754
0.204049
0.184507
0.130634
0.098239
0.062676
0
0.011527
0.269386
9,143
262
308
34.896947
0.838772
0.252871
0
0.042169
1
0
0.018201
0
0
0
0
0
0
1
0.03012
false
0
0.036145
0
0.096386
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
0
0
0
0
0
0
1
975a9d0b13677937730459e0afbdd13b6237b413
1,706
py
Python
IMU/VTK-6.2.0/Filters/Core/Testing/Python/hull.py
timkrentz/SunTracker
9a189cc38f45e5fbc4e4c700d7295a871d022795
[ "MIT" ]
4
2016-03-30T14:31:52.000Z
2019-02-02T05:01:32.000Z
IMU/VTK-6.2.0/Filters/Core/Testing/Python/hull.py
timkrentz/SunTracker
9a189cc38f45e5fbc4e4c700d7295a871d022795
[ "MIT" ]
null
null
null
IMU/VTK-6.2.0/Filters/Core/Testing/Python/hull.py
timkrentz/SunTracker
9a189cc38f45e5fbc4e4c700d7295a871d022795
[ "MIT" ]
2
2019-08-30T23:36:13.000Z
2019-11-08T16:52:01.000Z
#!/usr/bin/env python import math import vtk from vtk.test import Testing from vtk.util.misc import vtkGetDataRoot VTK_DATA_ROOT = vtkGetDataRoot() # Generate random planes to form a convex polyhedron. # Create a polyhedral representation of the planes. # create some points lying between 1<=r<5 (r is radius...
23.694444
66
0.69871
226
1,706
5.265487
0.504425
0.016807
0.020168
0.020168
0.043697
0
0
0
0
0
0
0.031723
0.186987
1,706
71
67
24.028169
0.826244
0.267878
0
0
1
0
0
0
0
0
0
0
0
1
0
false
0
0.097561
0
0.097561
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
0
0
0
0
0
0
1
976515744811ca3cb8d249deefef5f95674723d0
1,682
py
Python
lambda_function.py
MeixnerTobias/lambda-ec2-dns-to-slack-py
aa3d87476b1dcd3147bfdcd7d720bac284718341
[ "MIT" ]
null
null
null
lambda_function.py
MeixnerTobias/lambda-ec2-dns-to-slack-py
aa3d87476b1dcd3147bfdcd7d720bac284718341
[ "MIT" ]
null
null
null
lambda_function.py
MeixnerTobias/lambda-ec2-dns-to-slack-py
aa3d87476b1dcd3147bfdcd7d720bac284718341
[ "MIT" ]
null
null
null
# AWS Lamdba function to be called from SNS notification on EC2 change status to be running and send public DNS to a Slack user # Author: Tobias Meixner <> # v1 - 26 September import slacktoken import json import boto3 import logging from slackclient import SlackClient #init slack client with file included token sc = ...
32.980392
127
0.650416
203
1,682
5.364532
0.541872
0.024793
0.020202
0
0
0
0
0
0
0
0
0.008814
0.258026
1,682
50
128
33.64
0.863782
0.382283
0
0
0
0
0.11546
0
0
0
0
0
0
0
null
null
0
0.185185
null
null
0.037037
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
1
0
0
0
0
0
0
0
0
1
976d44f6a2f7a8f82c24159aaefaa849628ec7a7
981
py
Python
pu/datatype.py
gf0842wf/pu
805274d9fe1b8013777683437bf184a09366788d
[ "MIT" ]
null
null
null
pu/datatype.py
gf0842wf/pu
805274d9fe1b8013777683437bf184a09366788d
[ "MIT" ]
null
null
null
pu/datatype.py
gf0842wf/pu
805274d9fe1b8013777683437bf184a09366788d
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import binascii class pretty_bytes(bytes): """提供自定义格式 >>> pb = pretty_bytes('\xe8\x87\xaa\xe5\xae\x9a\xe4\xb9\x89') >>> '{0:hex}'.format(pb) 'e887aae5ae9ae4b989' >>> '{0:HEX}'.format(pb) 'E887AAE5AE9AE4B989' >>> '{0:hex+}'.format(pb) 'e8 87 aa e5 ae 9a e4 b9 89'...
26.513514
65
0.53211
134
981
3.753731
0.38806
0.079523
0.079523
0.095427
0.610338
0.610338
0.610338
0.610338
0.610338
0.383698
0
0.09322
0.278287
981
36
66
27.25
0.617232
0.30581
0
0.125
0
0
0.062937
0
0
0
0
0
0
1
0.0625
false
0
0.125
0
0.5625
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
0
0
0
0
0
1
0
0
1
976e81df6f1e96813af353b2604bf692927a9d93
673
py
Python
test/setup.py
kyoudai/timetrack
1c132ba29870df2b4c69be24bf0604daf8b7c471
[ "MIT" ]
null
null
null
test/setup.py
kyoudai/timetrack
1c132ba29870df2b4c69be24bf0604daf8b7c471
[ "MIT" ]
8
2018-11-30T16:45:12.000Z
2019-11-11T19:53:31.000Z
test/setup.py
kyoudai/timetrack
1c132ba29870df2b4c69be24bf0604daf8b7c471
[ "MIT" ]
null
null
null
import os def before_each(): # blank file open('blank', 'w').close() # with headers and comments with open('headers', 'w') as headers: headers.write('total,date\n') headers.write('00:15:00,00:15:00,900,900,1970-01-01T00:00:00\n') headers.write('this is a comment\n') # with one entry with open...
25.884615
74
0.64636
115
673
3.765217
0.321739
0.055427
0.055427
0.117783
0.378753
0.327945
0.212471
0.212471
0.212471
0.212471
0
0.171329
0.150074
673
25
75
26.92
0.585664
0.114413
0
0.125
0
0.1875
0.395939
0.248731
0
0
0
0
0
1
0.125
true
0
0.0625
0
0.1875
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
0
1
0
0
0
0
0
0
1
977629b586ab0cd7ee80b210047c2b52fbc34a15
942
py
Python
app/helpers.py
aisha-codes/flask-rest
e35e9c7868cab3a45b8c5cee6c93e0e8caee1c52
[ "MIT" ]
1
2021-12-08T06:12:15.000Z
2021-12-08T06:12:15.000Z
app/helpers.py
aisha-codes/flask-rest
e35e9c7868cab3a45b8c5cee6c93e0e8caee1c52
[ "MIT" ]
1
2021-12-08T06:24:21.000Z
2021-12-08T06:24:21.000Z
app/helpers.py
aisha-codes/flask-rest
e35e9c7868cab3a45b8c5cee6c93e0e8caee1c52
[ "MIT" ]
1
2021-12-08T06:12:16.000Z
2021-12-08T06:12:16.000Z
from flask import request, jsonify import jwt from app import app from app.models import User # A decorator to check and verify access token from request header def token_required(f): def decorator(): token = None # check if JWT is in request header if 'x-access-token' in request.heade...
31.4
83
0.602972
116
942
4.844828
0.474138
0.097865
0.042705
0
0
0
0
0
0
0
0
0.013889
0.312102
942
29
84
32.482759
0.853395
0.230361
0
0
0
0
0.140669
0
0
0
0
0
0
1
0.111111
false
0
0.222222
0
0.555556
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
0
0
0
0
0
1
0
0
1
9778c8d35f3450e9f0e3e85b7244ac11db2b712b
357
py
Python
PYTHON/Kadane's algo.py
Pravi16/open-source-contribution
3742ac253324f9e210935fd4f43b4045093ba5b5
[ "MIT" ]
4
2020-10-18T05:38:31.000Z
2021-10-21T04:52:09.000Z
PYTHON/Kadane's algo.py
Pravi16/open-source-contribution
3742ac253324f9e210935fd4f43b4045093ba5b5
[ "MIT" ]
52
2020-10-18T04:53:22.000Z
2021-10-30T14:19:03.000Z
PYTHON/Kadane's algo.py
Pravi16/open-source-contribution
3742ac253324f9e210935fd4f43b4045093ba5b5
[ "MIT" ]
43
2020-10-18T05:23:42.000Z
2021-10-30T23:54:43.000Z
a = [74,-72,94,-53,-59,-3,-66,36,-13,22,73,15,-52,75] def maxSubArraySum(a): current_sequence = 0 best_sequence = a[0] for x in a: current_sequence = max(x,current_sequence+x) best_sequence = max(best_sequence,current_sequence) return best_sequence print("Largest sum con...
32.454545
60
0.655462
53
357
4.264151
0.584906
0.265487
0.141593
0
0
0
0
0
0
0
0
0.102837
0.210084
357
11
61
32.454545
0.698582
0
0
0
0
0
0.091954
0
0
0
0
0
0
1
0.111111
false
0
0
0
0.222222
0.111111
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
0
0
0
0
0
0
0
1
978de4137ac7461b9c522315d65a664a598d46bc
27,624
py
Python
Applications/SlicerApp/Testing/Python/RSNAVisTutorial.py
TheInterventionCentre/NorMIT-Plan-App
765ed9a5dccc1cc134b65ccabe93fc132baeb2ea
[ "MIT" ]
null
null
null
Applications/SlicerApp/Testing/Python/RSNAVisTutorial.py
TheInterventionCentre/NorMIT-Plan-App
765ed9a5dccc1cc134b65ccabe93fc132baeb2ea
[ "MIT" ]
null
null
null
Applications/SlicerApp/Testing/Python/RSNAVisTutorial.py
TheInterventionCentre/NorMIT-Plan-App
765ed9a5dccc1cc134b65ccabe93fc132baeb2ea
[ "MIT" ]
null
null
null
import os import unittest import vtk, qt, ctk, slicer from DICOMLib import DICOMUtils # # RSNAVisTutorial # class RSNAVisTutorial: def __init__(self, parent): parent.title = "RSNAVisTutorial" # TODO make this more human readable by adding spaces parent.categories = ["Testing.TestCases"] parent.dependenc...
38.581006
158
0.711809
2,840
27,624
6.903873
0.241197
0.043148
0.015709
0.01321
0.334574
0.302851
0.249197
0.23512
0.215637
0.215637
0
0.017339
0.179482
27,624
715
159
38.634965
0.847701
0.051441
0
0.357576
0
0.00202
0.173763
0.033987
0
0
0
0.001399
0
0
null
null
0.010101
0.030303
null
null
0.026263
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
1
0
0
0
0
0
0
0
0
1
978e5b9da8bbcd8afd1b0a2051c8072c98780bd1
775
py
Python
accounts/urls.py
MichiBeutler/Instagram-Clone
5e66b7de00adfdb86afdbefc5f5fd87562030adb
[ "MIT" ]
2
2019-06-18T09:46:58.000Z
2019-07-31T06:18:37.000Z
accounts/urls.py
michaelbeutler/Instagram-Clone
5e66b7de00adfdb86afdbefc5f5fd87562030adb
[ "MIT" ]
2
2019-06-18T09:58:57.000Z
2019-06-24T08:27:47.000Z
accounts/urls.py
michaelbeutler/Instagram-Clone
5e66b7de00adfdb86afdbefc5f5fd87562030adb
[ "MIT" ]
null
null
null
from django.urls import path, include from .views import register, ProfileView, logout_view, follow, unfollow, get_latest_users from django.contrib.auth.views import LoginView from django.contrib.auth.decorators import login_required urlpatterns = [ #path('', IndexView.as_view()), path('<str:slug>', login_requ...
48.4375
89
0.725161
100
775
5.44
0.34
0.066176
0.102941
0.077206
0
0
0
0
0
0
0
0
0.105806
775
15
90
51.666667
0.784993
0.03871
0
0
0
0
0.209677
0
0
0
0
0
0
1
0
false
0
0.307692
0
0.307692
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
0
0
0
1
0
0
0
0
1
9798e21a497e279b58ef5ff77ab3a87062c34cc0
393
py
Python
tests/test17.py
Jeyhun023/python
aec0ba266543d52d7cecf49221fe38eafaf50e09
[ "MIT" ]
null
null
null
tests/test17.py
Jeyhun023/python
aec0ba266543d52d7cecf49221fe38eafaf50e09
[ "MIT" ]
null
null
null
tests/test17.py
Jeyhun023/python
aec0ba266543d52d7cecf49221fe38eafaf50e09
[ "MIT" ]
null
null
null
function mapToIDs($array, $id_field_name = 'id') { $result = []; array_walk($array, function(&$value, $key) use (&$result, $id_field_name) { $result[$value[$id_field_name]] = $value; } ); return $result; } $arr = [0 => ['id' => 'one', 'fruit' => 'apple'], 1 => ['id'...
26.2
93
0.508906
45
393
4.244444
0.488889
0.109948
0.172775
0
0
0
0
0
0
0
0
0.006757
0.246819
393
15
94
26.2
0.638514
0
0
0
0
0
0.083756
0
0
0
0
0
0
0
null
null
0
0
null
null
0.142857
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
1
0
0
0
0
0
0
0
0
1
979a29806792bc8a8322c32342c3b002ca120b77
10,194
py
Python
connection_generator.py
zchee/data-dependency-graph-analysis
5756d78869f2c48389ab934c26c76fc0e1e354ec
[ "Apache-2.0" ]
null
null
null
connection_generator.py
zchee/data-dependency-graph-analysis
5756d78869f2c48389ab934c26c76fc0e1e354ec
[ "Apache-2.0" ]
null
null
null
connection_generator.py
zchee/data-dependency-graph-analysis
5756d78869f2c48389ab934c26c76fc0e1e354ec
[ "Apache-2.0" ]
null
null
null
""" This module implements methods for generating random connections between nodes in a graph. in a neo4j database. Method generate() will create all the necessary connections for the graph: dataset <-> dataset collection system <-> system collection dataset read <-> system input dataset write <-> syst...
51.484848
123
0.689621
1,381
10,194
4.772629
0.110065
0.055834
0.040965
0.030041
0.541193
0.338492
0.214687
0.121074
0.079351
0.015172
0
0.013983
0.26339
10,194
197
124
51.746193
0.863763
0.451834
0
0.053333
1
0
0
0
0
0
0
0
0
1
0.106667
false
0
0.026667
0
0.173333
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
0
0
0
0
0
0
1
979c188dc6a64173debcf5f1d2b7b3ec27458a2e
1,064
py
Python
deployer/src/api_config.py
chuan9/oisp-gearpump-rule-engine
2de1d13c45779ebe499c429d785e3948e7da0051
[ "Apache-2.0" ]
null
null
null
deployer/src/api_config.py
chuan9/oisp-gearpump-rule-engine
2de1d13c45779ebe499c429d785e3948e7da0051
[ "Apache-2.0" ]
10
2018-02-15T15:11:06.000Z
2019-02-04T12:36:42.000Z
deployer/src/api_config.py
chuan9/oisp-gearpump-rule-engine
2de1d13c45779ebe499c429d785e3948e7da0051
[ "Apache-2.0" ]
6
2018-01-16T09:53:14.000Z
2018-09-28T09:16:33.000Z
# Copyright (c) 2015 Intel Corporation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
36.689655
74
0.733083
145
1,064
5.255172
0.565517
0.07874
0.034121
0.041995
0
0
0
0
0
0
0
0.012586
0.178571
1,064
29
75
36.689655
0.859268
0.523496
0
0
0
0
0.145749
0
0
0
0
0
0
1
0
false
0
0
0
1
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
0
0
0
0
0
1
0
0
1
97ca0e9ca5849557959cd6924854016bfac64f0d
955
py
Python
config.py
cmtzco/zentime
2ff28ef02b2f57576a203a4da52b35d459b52755
[ "MIT" ]
1
2016-07-15T19:19:34.000Z
2016-07-15T19:19:34.000Z
config.py
cmtzco/zentime
2ff28ef02b2f57576a203a4da52b35d459b52755
[ "MIT" ]
null
null
null
config.py
cmtzco/zentime
2ff28ef02b2f57576a203a4da52b35d459b52755
[ "MIT" ]
null
null
null
############################################## ## CONFIG BLOCK ## ############################################## # @string token - API Token # @string user - This is found in Zendesk under Admin > Channels > API, Commonly your login_email/token # @list user_defined_list - List of emails comm...
45.47619
103
0.656545
133
955
4.609023
0.488722
0.04894
0.04894
0
0
0
0
0
0
0
0
0.002535
0.173822
955
20
104
47.75
0.774398
0.606283
0
0
0
0
0.44186
0.166667
0
0
0
0
0
1
0
false
0.125
0
0
0
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
0
0
1
0
0
0
0
0
1
97cfc79f2ec747e2fe5314fbed803530a04bdf0f
1,224
py
Python
features/environment.py
simpsonw/atmosphere
3a5203ef0b563de3a0e8c8c8715df88186532d7a
[ "BSD-3-Clause" ]
197
2016-12-08T02:33:32.000Z
2022-03-23T14:27:47.000Z
features/environment.py
simpsonw/atmosphere
3a5203ef0b563de3a0e8c8c8715df88186532d7a
[ "BSD-3-Clause" ]
385
2017-01-03T22:51:46.000Z
2020-12-16T16:20:42.000Z
features/environment.py
benlazarine/atmosphere
38fad8e4002e510e8b4294f2bb5bc75e8e1817fa
[ "BSD-3-Clause" ]
50
2016-12-08T08:32:25.000Z
2021-12-10T00:21:39.000Z
import dateutil.parser import freezegun from behaving import environment as benv PERSONAS = {} def before_all(context): benv.before_all(context) def after_all(context): benv.after_all(context) def before_feature(context, feature): benv.before_feature(context, feature) def after_feature(context, fea...
24.48
79
0.70098
144
1,224
5.743056
0.236111
0.118501
0.101572
0.116082
0.266022
0.237001
0
0
0
0
0
0
0.208333
1,224
49
80
24.979592
0.853457
0
0
0
0
0
0.042484
0
0
0
0
0
0
1
0.25
false
0
0.09375
0
0.34375
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
0
0
0
0
0
0
1
8adf2c75a1080608531c5e0c23623cbbf8ee6927
1,371
py
Python
radiaTest-server/server/apps/vmachine/__init__.py
openeuler-mirror/radiaTest
4a067511d6ab69f76b8dc08667b8a1f8c1c73d23
[ "MulanPSL-1.0" ]
null
null
null
radiaTest-server/server/apps/vmachine/__init__.py
openeuler-mirror/radiaTest
4a067511d6ab69f76b8dc08667b8a1f8c1c73d23
[ "MulanPSL-1.0" ]
1
2022-03-23T06:53:25.000Z
2022-03-23T06:53:25.000Z
radiaTest-server/server/apps/vmachine/__init__.py
openeuler-mirror/radiaTest
4a067511d6ab69f76b8dc08667b8a1f8c1c73d23
[ "MulanPSL-1.0" ]
null
null
null
from flask_restful import Api from .routes import ( VmachineEvent, VnicEvent, VdiskEvent, VmachineControl, AttachDevice, VmachineItemEvent, VmachineDelayEvent, VmachineItemForceEvent, VmachineData, VmachineItemData, VnicData, VnicItemData, VdiskData, VdiskItemData, ...
36.078947
88
0.730853
162
1,371
6.04321
0.228395
0.091931
0.214505
0.091931
0.145046
0.106231
0
0
0
0
0
0.012563
0.129103
1,371
37
89
37.054054
0.80737
0
0
0
0
0
0.281546
0.226112
0
0
0
0
0
1
0.029412
false
0
0.058824
0
0.088235
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
0
0
0
0
0
0
0
0
1
8ae921a668cba09deb8927281b508109ac01ae99
5,638
py
Python
streamer.py
aheadley/python-LKV373A_v3
3437261a84735ba0d577ce6e77943d2252b52ec6
[ "MIT" ]
3
2016-07-27T19:59:27.000Z
2020-03-14T10:38:23.000Z
streamer.py
aheadley/python-LKV373A_v3
3437261a84735ba0d577ce6e77943d2252b52ec6
[ "MIT" ]
null
null
null
streamer.py
aheadley/python-LKV373A_v3
3437261a84735ba0d577ce6e77943d2252b52ec6
[ "MIT" ]
null
null
null
#!/usr/bin/env python2 # -*- coding: utf-8 -*- import functools import urlparse import socket import contextlib import requests def v3_api_request(*pargs, **kwargs): def outer_func(orig_func): action = orig_func.__name__ @functools.wraps(orig_func) def inner_func(self, *args, **opts): ...
29.830688
97
0.576091
667
5,638
4.625187
0.32084
0.025284
0.038898
0.067423
0.16013
0.129011
0.129011
0.093355
0
0
0
0.019633
0.295317
5,638
188
98
29.989362
0.756859
0.056226
0
0.115942
0
0
0.213707
0.034457
0
0
0
0
0
0
null
null
0.036232
0.050725
null
null
0.014493
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
1
0
0
0
0
0
0
0
0
1
8ae9583b874c71d467c8867a20ef65535c0901e3
3,136
py
Python
publications/leveraging_domain_knowledge/2_false_merge_detection/3_skeletonize.py
constantinpape/cluster_tools
a7e88545b58f8315723bc47583916e1900a7892d
[ "MIT" ]
28
2018-12-09T22:11:52.000Z
2022-02-01T16:48:23.000Z
publications/leveraging_domain_knowledge/2_false_merge_detection/3_skeletonize.py
constantinpape/cluster_tools
a7e88545b58f8315723bc47583916e1900a7892d
[ "MIT" ]
16
2019-01-27T10:59:33.000Z
2022-01-11T09:09:24.000Z
publications/leveraging_domain_knowledge/2_false_merge_detection/3_skeletonize.py
constantinpape/cluster_tools
a7e88545b58f8315723bc47583916e1900a7892d
[ "MIT" ]
11
2018-12-09T22:11:56.000Z
2021-08-08T20:10:13.000Z
#! /g/kreshuk/pape/Work/software/conda/miniconda3/envs/cluster-new/bin/python import os import json from concurrent import futures import numpy as np import luigi import z5py import skeletor.io from cluster_tools.skeletons import SkeletonWorkflow def check_scale(scale): path = '/g/kreshuk/data/FIB25/data.n5' ...
32
93
0.643814
439
3,136
4.400911
0.298405
0.021739
0.021739
0.055901
0.278468
0.215321
0.196687
0.154762
0.135611
0.135611
0
0.015742
0.23023
3,136
97
94
32.329897
0.78459
0.048151
0
0.097222
0
0.013889
0.161355
0.105334
0
0
0
0.010309
0.013889
1
0.055556
false
0
0.111111
0
0.180556
0.027778
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
1
0
0
0
0
0
0
0
0
0
0
1
8aed7ee6834fbb6175195500661a7b2b1a4e3db1
452
py
Python
setup.py
1o0ko/typeopt
d404a652c8758b9b3fde77b3cd58a4da094110b3
[ "MIT" ]
null
null
null
setup.py
1o0ko/typeopt
d404a652c8758b9b3fde77b3cd58a4da094110b3
[ "MIT" ]
2
2017-10-25T01:11:21.000Z
2017-11-06T15:27:47.000Z
setup.py
1o0ko/typeopt
d404a652c8758b9b3fde77b3cd58a4da094110b3
[ "MIT" ]
null
null
null
from setuptools import setup setup( name='typeopt', version='0.2', description='Typed docopt', author='Wojciech Stokowiec', author_email='wojciech.stokowiec@tooploox.com', url='https://github.com/1o0ko/typeopt', download_url='https://github.com/1o0ko/typeopt/tarball/0.1', packages=['ty...
23.789474
64
0.652655
51
452
5.705882
0.686275
0.116838
0.09622
0.116838
0.199313
0.199313
0
0
0
0
0
0.021563
0.179204
452
18
65
25.111111
0.762803
0
0
0
0
0
0.413717
0.068584
0
0
0
0
0
1
0
true
0
0.0625
0
0.0625
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
0
1
0
0
0
0
0
0
1
c106064f2a87c538fa9b1ebba3f4d49315e56972
974
py
Python
python/ql/src/Classes/ConflictingAttributesInBaseClasses_Fixed.py
vadi2/codeql
a806a4f08696d241ab295a286999251b56a6860c
[ "MIT" ]
4,036
2020-04-29T00:09:57.000Z
2022-03-31T14:16:38.000Z
python/ql/src/Classes/ConflictingAttributesInBaseClasses_Fixed.py
vadi2/codeql
a806a4f08696d241ab295a286999251b56a6860c
[ "MIT" ]
2,970
2020-04-28T17:24:18.000Z
2022-03-31T22:40:46.000Z
python/ql/src/Classes/ConflictingAttributesInBaseClasses_Fixed.py
ScriptBox99/github-codeql
2ecf0d3264db8fb4904b2056964da469372a235c
[ "MIT" ]
794
2020-04-29T00:28:25.000Z
2022-03-30T08:21:46.000Z
#Fixed by overriding. This does not change behavior, but makes it explicit and comprehensible. class ThreadingTCPServerOverriding(ThreadingMixIn, TCPServer): def process_request(self, request, client_address): #process_request forwards to do_work, so it is OK to call ThreadingMixIn.process_request ...
38.96
105
0.720739
120
974
5.708333
0.441667
0.10219
0.116788
0.109489
0.341606
0.242336
0.186861
0.186861
0.186861
0
0
0
0.200205
974
24
106
40.583333
0.879332
0.37577
0
0.2
0
0
0
0
0
0
0
0
0
1
0.3
false
0
0
0
0.6
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
0
0
0
0
0
0
1
c10a83b3f3e96a0e0fa3777b1e75e5bd5ec3f7ba
1,579
py
Python
cgatpipelines/tools/pipeline_docs/pipeline_mapping_benchmark/trackers/Mapping.py
kevinrue/cgat-flow
02b5a1867253c2f6fd6b4f3763e0299115378913
[ "MIT" ]
49
2015-04-13T16:49:25.000Z
2022-03-29T10:29:14.000Z
cgatpipelines/tools/pipeline_docs/pipeline_mapping_benchmark/trackers/Mapping.py
kevinrue/cgat-flow
02b5a1867253c2f6fd6b4f3763e0299115378913
[ "MIT" ]
252
2015-04-08T13:23:34.000Z
2019-03-18T21:51:29.000Z
cgatpipelines/tools/pipeline_docs/pipeline_mapping_benchmark/trackers/Mapping.py
kevinrue/cgat-flow
02b5a1867253c2f6fd6b4f3763e0299115378913
[ "MIT" ]
22
2015-05-21T00:37:52.000Z
2019-09-25T05:04:27.000Z
from CGATReport.Tracker import * from titrationReport import * class MappingSummary(benchmarkTracker, SingleTableTrackerRows): table = "bam_stats" class MappingFlagsMismatches(benchmarkTracker, SingleTableTrackerHistogram): table = "bam_stats_nm" column = "nm" class MappingFlagsHits(benchmarkTracker,...
36.72093
158
0.693477
189
1,579
5.560847
0.354497
0.017127
0.037108
0.057088
0.401522
0.294957
0.294957
0.243578
0.243578
0.161751
0
0.012914
0.215326
1,579
42
159
37.595238
0.835351
0.010766
0
0.222222
0
0.148148
0.507051
0.141026
0
0
0
0
0
1
0.111111
false
0
0.074074
0
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
0
0
0
0
0
1
0
0
1
c11d9f6dce48ef565c28e5d909ddddfdfde2e6cf
9,171
py
Python
tools/create-ssg-refs.py
osslate-rh/vale-at-red-hat
3bc0b4e791e93b62ed8be29f3561ddfdcbb32cef
[ "MIT" ]
1
2022-01-28T20:57:41.000Z
2022-01-28T20:57:41.000Z
tools/create-ssg-refs.py
osslate-rh/vale-at-red-hat
3bc0b4e791e93b62ed8be29f3561ddfdcbb32cef
[ "MIT" ]
null
null
null
tools/create-ssg-refs.py
osslate-rh/vale-at-red-hat
3bc0b4e791e93b62ed8be29f3561ddfdcbb32cef
[ "MIT" ]
null
null
null
#!/usr/bin/python # Get a list of error terms from the Vale rules and generate a correspoding asiidoc reference. import glob import os import re import shutil import wget, zipfile import git import yaml import json import sys def main(): try: #initialize some variables git_repo = git.Repo(os.pa...
46.553299
169
0.573438
1,181
9,171
4.204911
0.199831
0.073298
0.018123
0.045912
0.32944
0.254934
0.238623
0.147
0.078131
0.064035
0
0.001854
0.294406
9,171
196
170
46.790816
0.765569
0.120816
0
0.0625
1
0.013889
0.218804
0.034496
0
0
0
0
0
1
0.048611
false
0
0.0625
0
0.111111
0.006944
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
0
0
0
0
0
0
1
c1219ac150362d500883d13a0326da712c826b55
1,660
py
Python
src/pyindigo/logging.py
nj-vs-vh/pyindigo
4fbaf9d382d9fc48660ff0327801e6f379fe56c3
[ "BSD-2-Clause" ]
5
2021-01-07T14:53:52.000Z
2021-11-22T09:20:25.000Z
src/pyindigo/logging.py
nj-vs-vh/pyindigo
4fbaf9d382d9fc48660ff0327801e6f379fe56c3
[ "BSD-2-Clause" ]
null
null
null
src/pyindigo/logging.py
nj-vs-vh/pyindigo
4fbaf9d382d9fc48660ff0327801e6f379fe56c3
[ "BSD-2-Clause" ]
null
null
null
"""Custom logging module wrapping standard logging, but with special pyindigoConfig. It mostly serves debug purposes, logging low-level stuff like property events. See https://docs.python.org/3/howto/logging.html for info on basic logging Example use: >>> import pyindigo.logging as logging >>> logging.basicConfig(fil...
39.52381
110
0.696386
217
1,660
5.221198
0.580645
0.047661
0.042365
0.017652
0
0
0
0
0
0
0
0.004542
0.204217
1,660
41
111
40.487805
0.853142
0.445181
0
0
0
0
0.102649
0
0
0
0
0
0
1
0.05
false
0
0.1
0
0.55
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
0
0
0
0
0
1
0
0
1
c1228108d5be82f9a7a7e9272a64179d780e93ce
2,839
py
Python
tests/test_orders_manager.py
evermarkets/market-maker-bot
2213f30e1436a40aee12f24dff5903f4e2bac53d
[ "MIT" ]
16
2019-11-27T00:11:24.000Z
2022-03-12T01:15:21.000Z
tests/test_orders_manager.py
evermarkets/market-maker-bot
2213f30e1436a40aee12f24dff5903f4e2bac53d
[ "MIT" ]
null
null
null
tests/test_orders_manager.py
evermarkets/market-maker-bot
2213f30e1436a40aee12f24dff5903f4e2bac53d
[ "MIT" ]
6
2019-11-27T00:11:26.000Z
2021-12-08T18:53:45.000Z
import pytest from munch import DefaultMunch from market_maker.orders_manager import OrdersManager from market_maker.gateways import gateway_interface from market_maker.definitions import ( ApiResult, OrderRequest, OrderType, OrderSide, ) class bittest_storage(): def __init__(self): self...
23.081301
58
0.641775
349
2,839
4.965616
0.246418
0.050779
0.051933
0.076168
0.269475
0.159838
0.159838
0.159838
0.054241
0
0
0.010184
0.273688
2,839
122
59
23.270492
0.830262
0
0
0.280899
0
0
0.002466
0
0
0
0
0
0.022472
1
0.044944
false
0.05618
0.05618
0.011236
0.202247
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
0
0
1
0
0
0
0
0
1
c1239e5c73dc92f4ed5b53edb008f00d7924b8bd
2,469
py
Python
bsolutions/domain/models/profile.py
xergioalex/django-multiple-databases-engines
f289a6402ada0be88728244b15b721f1e03993b5
[ "MIT" ]
8
2018-10-27T21:05:27.000Z
2021-12-11T07:51:23.000Z
bsolutions/domain/models/profile.py
xergioalex/django-multiple-databases-engines
f289a6402ada0be88728244b15b721f1e03993b5
[ "MIT" ]
null
null
null
bsolutions/domain/models/profile.py
xergioalex/django-multiple-databases-engines
f289a6402ada0be88728244b15b721f1e03993b5
[ "MIT" ]
3
2019-07-05T02:25:45.000Z
2021-09-13T07:48:35.000Z
from bsolutions.users.models import User from django.db import models import factory import factory.django import factory.fuzzy # from enumfields import EnumIntegerField class Cliente(models.Model): TIPOS_DOCUMENTOS = ( (1, 'Cédula de ciudadanía'), (2, 'Tarjeta de identidad'), (3, 'Pasapor...
30.8625
105
0.685703
288
2,469
5.75
0.371528
0.065217
0.054348
0.072464
0.082126
0.057971
0.021739
0
0
0
0
0.014063
0.193601
2,469
79
106
31.253165
0.81768
0.019441
0
0.05
0
0
0.089744
0
0
0
0
0
0
1
0.016667
false
0.016667
0.083333
0.016667
0.733333
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
0
0
0
0
0
1
0
0
1
c127d9cde3bf681f863828f24b4d02c0bd8a67c6
33,730
py
Python
script/terminal.py
peigongdh/collection
0dec77452309263a1ad062b257e0768d7b86dc5e
[ "MIT" ]
41
2016-11-16T11:21:49.000Z
2022-03-03T14:05:54.000Z
script/terminal.py
peigongdh/collection
0dec77452309263a1ad062b257e0768d7b86dc5e
[ "MIT" ]
2
2018-09-20T08:07:51.000Z
2019-10-16T10:06:39.000Z
script/terminal.py
peigongdh/collection
0dec77452309263a1ad062b257e0768d7b86dc5e
[ "MIT" ]
18
2016-11-18T09:49:25.000Z
2022-03-28T02:40:45.000Z
#! /usr/bin/python import sys, os, time import subprocess #---------------------------------------------------------------------- # configure #---------------------------------------------------------------------- class configure (object): def __init__ (self): self.dirhome = os.path.abspath(os.path.dirname(__file...
30.332734
123
0.623747
4,593
33,730
4.512301
0.086654
0.01766
0.033004
0.013752
0.504367
0.444101
0.377612
0.349674
0.32275
0.280145
0
0.014172
0.188319
33,730
1,111
124
30.360036
0.742823
0.055559
0
0.504008
0
0
0.119298
0.00415
0
0
0
0
0
0
null
null
0.008016
0.013026
null
null
0.001002
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
1
0
0
0
0
0
0
0
0
1
c128058f6b7f28bb6d943faa232e9b7998775c30
1,280
py
Python
build_model.py
YongfengGao/CNN-T-DB
11c67eb94b6db36217a837fedd27b393532dd09b
[ "MIT" ]
null
null
null
build_model.py
YongfengGao/CNN-T-DB
11c67eb94b6db36217a837fedd27b393532dd09b
[ "MIT" ]
null
null
null
build_model.py
YongfengGao/CNN-T-DB
11c67eb94b6db36217a837fedd27b393532dd09b
[ "MIT" ]
null
null
null
from __future__ import print_function import argparse import torch import torch.nn as nn import torch.nn.functional as F import torch.optim as optim from torch.autograd import Variable from numpy.random import normal from math import sqrt import numpy as np import math import os.path as osp from utils import * import t...
26.122449
88
0.635156
199
1,280
3.919598
0.371859
0.070513
0.05
0.038462
0.2
0.164103
0.105128
0.105128
0.105128
0.105128
0
0.052301
0.253125
1,280
48
89
26.666667
0.763598
0
0
0.166667
0
0
0.022674
0
0
0
0
0
0
1
0.083333
false
0
0.416667
0
0.555556
0.027778
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
0
0
0
1
0
0
0
0
1
c1289cebf94bf87c3789fc1e8ac175b18d168263
442
py
Python
setup.py
naftulikay/subreddit-scraper
e2733617aac659c47ecd6f6e691d71353618203b
[ "MIT" ]
3
2017-08-23T10:39:04.000Z
2021-05-07T08:11:34.000Z
setup.py
rfkrocktk/subreddit-scraper
e2733617aac659c47ecd6f6e691d71353618203b
[ "MIT" ]
null
null
null
setup.py
rfkrocktk/subreddit-scraper
e2733617aac659c47ecd6f6e691d71353618203b
[ "MIT" ]
null
null
null
#!/usr/bin/env python from setuptools import setup, find_packages setup( name = "subredditscraper", version = "0.0.1", packages = find_packages('src'), package_dir = { '': 'src'}, install_requires = ['setuptools', 'scrapy >= 1.0.1, < 1.1.0', 'sqlite3', 'mock', ], en...
21.047619
59
0.545249
45
442
5.222222
0.688889
0.102128
0
0
0
0
0
0
0
0
0
0.032051
0.294118
442
20
60
22.1
0.721154
0.045249
0
0
0
0
0.313539
0.059382
0
0
0
0
0
1
0
true
0
0.058824
0
0.058824
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
0
1
0
0
0
0
0
0
1
c12d18a0b840328ab7d2bfc42dfc1179cfa7d693
1,844
py
Python
hapi/test/test_settings.py
ovcica/hapipy
6c492ec09aaa872b1b2177454b8c446678a0b9ed
[ "Apache-2.0" ]
null
null
null
hapi/test/test_settings.py
ovcica/hapipy
6c492ec09aaa872b1b2177454b8c446678a0b9ed
[ "Apache-2.0" ]
1
2021-12-09T11:50:49.000Z
2021-12-09T11:50:49.000Z
hapi/test/test_settings.py
ovcica/hapipy
6c492ec09aaa872b1b2177454b8c446678a0b9ed
[ "Apache-2.0" ]
2
2017-08-16T22:48:20.000Z
2018-06-04T15:01:17.000Z
import random import unittest2 import simplejson as json from nose.plugins.attrib import attr import helper from hapi.settings import SettingsClient class SettingsClientTest(unittest2.TestCase): """ Unit tests for the HubSpot Settings API Python client. This file contains some unittest tests for the Setting...
29.269841
89
0.637202
232
1,844
4.948276
0.375
0.043554
0.034843
0.04878
0.296167
0.24216
0.189895
0.074913
0.074913
0.074913
0
0.010885
0.252712
1,844
62
90
29.741935
0.822206
0.14154
0
0.235294
0
0
0.139288
0
0
0
0
0
0.058824
0
null
null
0.029412
0.176471
null
null
0.117647
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
1
0
0
0
0
0
0
0
0
1
c12d4304d8ea665008e62b06a425d668f3f027d1
692
py
Python
notebooks/example.py
janjagusch/meetup-client
633e4bbbe14d596721f099a0164328109b2df451
[ "MIT" ]
3
2019-11-13T21:50:10.000Z
2021-03-15T14:41:40.000Z
notebooks/example.py
janjagusch/meetup-client
633e4bbbe14d596721f099a0164328109b2df451
[ "MIT" ]
10
2019-11-09T20:58:12.000Z
2021-03-10T17:34:28.000Z
notebooks/example.py
janjagusch/meetup-client
633e4bbbe14d596721f099a0164328109b2df451
[ "MIT" ]
1
2019-11-10T19:32:25.000Z
2019-11-10T19:32:25.000Z
# --- # jupyter: # jupytext: # formats: ipynb,py:light # text_representation: # extension: .py # format_name: light # format_version: '1.5' # jupytext_version: 1.5.2 # kernelspec: # display_name: Python (meetup-client) # language: python # name: meetup_client # --- impor...
18.702703
73
0.657514
86
692
5.139535
0.604651
0.108597
0.040724
0
0
0
0
0
0
0
0
0.012704
0.203757
692
36
74
19.222222
0.789474
0.41185
0
0
0
0
0.158163
0.125
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
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
0
0
0
1
0
0
0
0
1
c135856e5dd75971d4ec5b0dee40f4bf99146f44
2,100
py
Python
onadata/apps/api/management/commands/create_default_project.py
gushil/kobocat
5ce27ed5fbf969b2ce68e8a59dd97ced74686711
[ "BSD-2-Clause" ]
38
2017-02-28T05:39:40.000Z
2019-01-16T04:39:04.000Z
onadata/apps/api/management/commands/create_default_project.py
gushil/kobocat
5ce27ed5fbf969b2ce68e8a59dd97ced74686711
[ "BSD-2-Clause" ]
48
2019-03-18T09:26:31.000Z
2019-05-27T08:12:03.000Z
onadata/apps/api/management/commands/create_default_project.py
gushil/kobocat
5ce27ed5fbf969b2ce68e8a59dd97ced74686711
[ "BSD-2-Clause" ]
5
2017-02-22T12:25:19.000Z
2019-01-15T11:16:40.000Z
from django.utils.translation import gettext as _ from django.core.management.base import BaseCommand from django.contrib.auth.models import User from onadata.apps.api.models.project import Project from onadata.apps.api.models.project_xform import ProjectXForm from onadata.apps.logger.models.xform import XForm from on...
40.384615
74
0.555714
215
2,100
5.348837
0.409302
0.06087
0.03913
0.031304
0.053913
0.053913
0
0
0
0
0
0.000758
0.371429
2,100
51
75
41.176471
0.870455
0.090476
0
0
0
0
0.086225
0
0
0
0
0
0
0
null
null
0
0.205882
null
null
0.117647
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
1
0
0
0
0
0
0
0
0
1
c13d30d806fe2203b2c135fce5c78f21604ca653
1,383
py
Python
dataStructures/stackQueue.py
KarlParkinson/practice
6bbbd4a8e320732523d83297c1021f52601a20d8
[ "MIT" ]
null
null
null
dataStructures/stackQueue.py
KarlParkinson/practice
6bbbd4a8e320732523d83297c1021f52601a20d8
[ "MIT" ]
null
null
null
dataStructures/stackQueue.py
KarlParkinson/practice
6bbbd4a8e320732523d83297c1021f52601a20d8
[ "MIT" ]
null
null
null
import stack class StackQueue: def __init__(self): self.enqueueStack = stack.Stack() self.dequeueStack = stack.Stack() def enqueue(self, item): self.enqueueStack.push(item) def dequeue(self): if (self.dequeueStack.isEmpty()): while (not self.enqueueStack.isEmp...
22.306452
74
0.634129
163
1,383
5.331288
0.196319
0.119678
0.080552
0.079402
0.191024
0.191024
0
0
0
0
0
0.008491
0.23355
1,383
61
75
22.672131
0.811321
0
0
0.302326
0
0
0
0
0
0
0
0
0
0
null
null
0
0.023256
null
null
0.069767
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
1
0
0
0
0
0
0
0
0
1
c1569da2f0474f81c03c4abd4cf7666ae5512535
1,909
py
Python
app/recipe/tests/test_tag_api.py
jsl2/recipe-app-api
48dd75f955913e008203611e2f7d1bbecbcdd0b3
[ "MIT" ]
null
null
null
app/recipe/tests/test_tag_api.py
jsl2/recipe-app-api
48dd75f955913e008203611e2f7d1bbecbcdd0b3
[ "MIT" ]
null
null
null
app/recipe/tests/test_tag_api.py
jsl2/recipe-app-api
48dd75f955913e008203611e2f7d1bbecbcdd0b3
[ "MIT" ]
null
null
null
import pytest from django.contrib.auth import get_user_model from django.contrib.auth.hashers import make_password from django.urls import reverse from rest_framework import status from rest_framework.test import APIClient from core.models import Tag, User from recipe.serializers import TagSerializer TAGS_URLS = r...
30.301587
82
0.746464
264
1,909
5.212121
0.306818
0.058866
0.046512
0.05814
0.28125
0.28125
0.264535
0.112645
0.112645
0.075581
0
0.007908
0.138816
1,909
62
83
30.790323
0.829075
0.064432
0
0.179487
0
0
0.069492
0
0
0
0
0
0.153846
1
0.153846
false
0.102564
0.205128
0.025641
0.435897
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
0
0
1
0
0
0
0
0
1
c1585d32a6ca7d734a4bf8c29afaac397b32683f
6,449
py
Python
src/TowerDefence/Map/field.py
sevashasla/TowerDefence
73625d88cdb70d4c026d6f452604d193bc32c127
[ "MIT" ]
null
null
null
src/TowerDefence/Map/field.py
sevashasla/TowerDefence
73625d88cdb70d4c026d6f452604d193bc32c127
[ "MIT" ]
null
null
null
src/TowerDefence/Map/field.py
sevashasla/TowerDefence
73625d88cdb70d4c026d6f452604d193bc32c127
[ "MIT" ]
null
null
null
from .road import Road, FieldError from .castle import Castle from random import randint from .spawn_point import SpawnPoint import time import json from numpy import sign from ..Game.coordinates import Coordinates from ..Tower.tower_factories import * from ..Game.pocket import Pocket from ..Game.errors import * cla...
27.21097
74
0.69034
944
6,449
4.513771
0.125
0.040131
0.042244
0.029571
0.503638
0.403192
0.368458
0.281624
0.249003
0.249003
0
0.008552
0.165917
6,449
236
75
27.326271
0.783603
0
0
0.466321
0
0
0.021867
0
0
0
0
0
0
0
null
null
0.005181
0.056995
null
null
0.005181
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
1
0
0
0
0
0
0
0
0
1
c1596ac3902bc28ee16f2dbd3c04d0dadf620799
1,017
py
Python
okapi_pkg/tryout_tdm.py
Marvin-Be/OkapiPythonConnector
3accd89b974e13de74f065b17c88e764dc9b9ba6
[ "MIT" ]
null
null
null
okapi_pkg/tryout_tdm.py
Marvin-Be/OkapiPythonConnector
3accd89b974e13de74f065b17c88e764dc9b9ba6
[ "MIT" ]
null
null
null
okapi_pkg/tryout_tdm.py
Marvin-Be/OkapiPythonConnector
3accd89b974e13de74f065b17c88e764dc9b9ba6
[ "MIT" ]
null
null
null
#!/usr/bin/python import time import json import okapi import sys okapi = okapi.Okapi() # later: space_monitor = space_monitor.SpaceMonitor() response = okapi.init(YOUR_LOGIN_AS_STRING, YOUR_PASSWORD_AS_STRING) print("Initialization result status: " + str(response["status"])) if response["status"]["type"] == "FATA...
25.425
68
0.693215
141
1,017
4.879433
0.276596
0.162791
0.087209
0.133721
0.671512
0.671512
0.671512
0.671512
0.671512
0.59593
0
0.00443
0.112094
1,017
39
69
26.076923
0.757475
0.226155
0
0.333333
0
0
0.320463
0
0
0
0
0
0
1
0
false
0.055556
0.222222
0
0.222222
0.388889
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
0
0
1
0
0
0
0
0
1
c15a4741e0fdf16cb18a3a859a2f4005c226a618
1,582
py
Python
src/ui_tests/tests/dimension_check_test.py
yongjik/croquis
45d1bc24808c83a5c47490579a6bdb58a56b2707
[ "MIT" ]
30
2021-06-27T22:27:45.000Z
2022-01-31T07:54:15.000Z
src/ui_tests/tests/dimension_check_test.py
yongjik/croquis
45d1bc24808c83a5c47490579a6bdb58a56b2707
[ "MIT" ]
null
null
null
src/ui_tests/tests/dimension_check_test.py
yongjik/croquis
45d1bc24808c83a5c47490579a6bdb58a56b2707
[ "MIT" ]
null
null
null
# Test DimensionChecker. from test_util import test_helper CELL1 = ''' ### CELL1 ### import croquis import numpy as np # Test coordinate broadcast logic (similar to numpy). fig = croquis.plot() X = np.linspace(-5, 5, 10) # shape = (10,) Y = np.arange(30).reshape(3, 10) fig.add(X, Y) fig.add(X, -Y, colors=np.zeros(...
25.111111
79
0.653603
232
1,582
4.318966
0.37931
0.013972
0.071856
0.06487
0.273453
0.188623
0.129741
0.129741
0
0
0
0.033511
0.170038
1,582
62
80
25.516129
0.729627
0.037927
0
0.088889
0
0
0.662714
0.04809
0
0
0
0
0.022222
1
0.044444
false
0
0.066667
0
0.133333
0.066667
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c15ef839722e3267844c8a851ccec62aa4458f3c
8,557
py
Python
spider/ecommerce/ali1688/alibaba_lib.py
ly-520/cbec-toolbox
e60dac81bec0403cf2e7cfd3ae216a8fc9cad343
[ "Apache-2.0" ]
5
2020-11-21T09:18:27.000Z
2022-01-18T20:17:36.000Z
spider/ecommerce/ali1688/alibaba_lib.py
ly-520/cbec-toolbox
e60dac81bec0403cf2e7cfd3ae216a8fc9cad343
[ "Apache-2.0" ]
null
null
null
spider/ecommerce/ali1688/alibaba_lib.py
ly-520/cbec-toolbox
e60dac81bec0403cf2e7cfd3ae216a8fc9cad343
[ "Apache-2.0" ]
1
2021-04-26T08:20:43.000Z
2021-04-26T08:20:43.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- import base64 import io import os.path import time from urllib.parse import urlparse from bs4 import BeautifulSoup import re, json import requests from ecommerce.ali1688.func_txy import get_random_str from ecommerce.ali1688.func_txy import request_get from ecommerce.ali1...
39.8
1,355
0.610962
1,007
8,557
5.060576
0.391261
0.009615
0.007849
0.010204
0.189364
0.15679
0.145212
0.101845
0.029042
0.016484
0
0.110541
0.248335
8,557
214
1,356
39.985981
0.681748
0.046745
0
0.067114
0
0.040268
0.385872
0.202112
0
0
0
0
0
1
0.067114
false
0
0.073826
0
0.241611
0.006711
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c15fb5cec0b5bcaf2823ab5f0b1bb6defefa7f3d
10,555
py
Python
Project Euler Qusetions 51 - 60/Project Euler Question 54.py
Clayton-Threm/Coding-Practice
6671e8a15f9e797338caa617dae45093f4157bc1
[ "MIT" ]
1
2020-02-11T02:03:02.000Z
2020-02-11T02:03:02.000Z
Project Euler Qusetions 51 - 60/Project Euler Question 54.py
Clayton-Threm/Coding-Practice
6671e8a15f9e797338caa617dae45093f4157bc1
[ "MIT" ]
null
null
null
Project Euler Qusetions 51 - 60/Project Euler Question 54.py
Clayton-Threm/Coding-Practice
6671e8a15f9e797338caa617dae45093f4157bc1
[ "MIT" ]
null
null
null
#Project Euler Question 54 #Poker hands poker_file = open(r"C:\Users\Clayton\Documents\Python Other Files\p054_poker.txt") content = poker_file.read() content = content.replace(" ", "") content = content.split("\n") card_values = {"2": 2, "3": 3, "4": 4, "5": 5, "6": 6, "7": 7, "8": 8, "9": 9, "T": 10, "J": 11, "Q": ...
30.417867
123
0.499005
1,402
10,555
3.538516
0.075606
0.074985
0.120943
0.064503
0.738158
0.691393
0.637775
0.59746
0.59746
0.591413
0
0.057458
0.408053
10,555
347
124
30.417867
0.736556
0.030886
0
0.716561
0
0
0.008615
0.003231
0
0
0
0
0
1
0.035032
false
0.019108
0
0
0.254777
0.003185
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c1628a8d01e700e2064d3242a6e4443f1c053bbe
257,655
py
Python
riptable/rt_dataset.py
wenjuno/riptable
7d519f6838b061dc66e38a7c2a54a1af9bbe4bb7
[ "BSD-2-Clause-Patent" ]
307
2020-08-27T20:25:11.000Z
2022-03-08T15:51:19.000Z
riptable/rt_dataset.py
wenjuno/riptable
7d519f6838b061dc66e38a7c2a54a1af9bbe4bb7
[ "BSD-2-Clause-Patent" ]
206
2020-08-17T19:07:15.000Z
2022-03-18T11:53:55.000Z
riptable/rt_dataset.py
wenjuno/riptable
7d519f6838b061dc66e38a7c2a54a1af9bbe4bb7
[ "BSD-2-Clause-Patent" ]
10
2020-08-28T00:22:05.000Z
2021-04-30T20:22:28.000Z
# -*- coding: utf-8 -*- __all__ = ['Dataset', ] from collections import abc, Counter, namedtuple import operator import os from typing import Any, Callable, Iterable, List, Mapping, Optional, Sequence, Tuple, Union, TYPE_CHECKING import warnings import numpy as np from .rt_struct import Struct from .rt_...
38.832705
203
0.504143
30,524
257,655
4.145492
0.064146
0.009602
0.002845
0.00403
0.337585
0.2905
0.240285
0.210847
0.192126
0.175301
0
0.026836
0.373922
257,655
6,634
204
38.838559
0.757507
0.105882
0
0.281935
0
0.007028
0.063987
0.006585
0
0
0
0.003166
0
0
null
null
0.008268
0.017776
null
null
0.005788
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
1
0
0
0
0
0
0
0
0
1
c164b4d80f64733d972e19fc194dc107a870d45b
5,569
py
Python
abbr/settings.py
dvl/abbr-doacoes
37283918113dfb1deb07132b45183237f1bc1a45
[ "MIT" ]
null
null
null
abbr/settings.py
dvl/abbr-doacoes
37283918113dfb1deb07132b45183237f1bc1a45
[ "MIT" ]
null
null
null
abbr/settings.py
dvl/abbr-doacoes
37283918113dfb1deb07132b45183237f1bc1a45
[ "MIT" ]
null
null
null
""" Django settings for doacoes project. Generated by 'django-admin startproject' using Django 1.9.5. For more information on this file, see https://docs.djangoproject.com/en/1.9/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.9/ref/settings/ """ from pathlib...
28.269036
106
0.697432
614
5,569
6.164495
0.374593
0.054954
0.052312
0.059445
0.154557
0.130251
0.089036
0.089036
0.031704
0
0
0.014215
0.166278
5,569
196
107
28.413265
0.800991
0.226971
0
0.033898
1
0
0.484075
0.335597
0
0
0
0
0
1
0
false
0.042373
0.042373
0
0.042373
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
0
0
0
0
0
0
1
c171bf6d46b6e93d7a2a14216ed77971adaa07ee
1,120
py
Python
examples/readme_example.py
JustinLovinger/ill
2a76c864980ec95c5bc02056dec6c40e9d150251
[ "MIT" ]
1
2020-09-21T20:47:37.000Z
2020-09-21T20:47:37.000Z
examples/readme_example.py
JustinLovinger/ill
2a76c864980ec95c5bc02056dec6c40e9d150251
[ "MIT" ]
null
null
null
examples/readme_example.py
JustinLovinger/ill
2a76c864980ec95c5bc02056dec6c40e9d150251
[ "MIT" ]
null
null
null
import functools from learning import datasets, validation, LinearRegressionModel from ill import ILL, get_neighborhood_k_nearest # Grab the popular iris dataset, from 'learning' dataset = datasets.get_iris() # Make an underlying model for ILL # See 'learning' library for more details underlying_model = LinearRegres...
32.941176
71
0.784821
165
1,120
5.193939
0.490909
0.070012
0.03734
0.053676
0
0
0
0
0
0
0
0.009534
0.157143
1,120
33
72
33.939394
0.898305
0.48125
0
0
0
0
0.02993
0
0
0
0
0
0
0
null
null
0
0.214286
null
null
0.071429
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
1
0
0
0
0
0
0
0
0
1
c17a9ea7a432b49c9c405025639b1940c4d71459
22,951
py
Python
scaffolding_tool_bin/old_scripts/genomeScaffolding.py
jlevy44/JoshuaTree2
c643deabe687e4a5901579a6182a88ec1cc73ba2
[ "MIT" ]
2
2019-09-08T22:32:21.000Z
2019-12-18T08:04:13.000Z
scaffolding_tool_bin/old_scripts/genomeScaffolding.py
jlevy44/JoshuaTree2
c643deabe687e4a5901579a6182a88ec1cc73ba2
[ "MIT" ]
null
null
null
scaffolding_tool_bin/old_scripts/genomeScaffolding.py
jlevy44/JoshuaTree2
c643deabe687e4a5901579a6182a88ec1cc73ba2
[ "MIT" ]
null
null
null
import subprocess, os, sys from collections import defaultdict, OrderedDict import numpy as np from multiprocessing import Pool, Queue, Process from threading import Thread import subprocess,shutil from pybedtools import BedTool from jcvi.formats import gff from pyfaidx import Fasta import time """python genomeScaffo...
42.899065
300
0.58333
2,962
22,951
4.481431
0.127954
0.006479
0.00663
0.01356
0.450881
0.410954
0.366732
0.329667
0.283487
0.254482
0
0.022296
0.239815
22,951
535
301
42.899065
0.738522
0.110017
0
0.2625
0
0.040625
0.206153
0.012893
0
0
0
0.001869
0
0
null
null
0.00625
0.03125
null
null
0.096875
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
1
0
0
0
0
0
0
0
0
1
c192e3a9cdb96a7ca036d4b6706b4fec9762accd
2,231
py
Python
lxserv/replay_gistAccount.py
9bstudios/mecco_replay
43edadd059bb2db8453b8065f2ae1cbe888923ec
[ "MIT" ]
null
null
null
lxserv/replay_gistAccount.py
9bstudios/mecco_replay
43edadd059bb2db8453b8065f2ae1cbe888923ec
[ "MIT" ]
null
null
null
lxserv/replay_gistAccount.py
9bstudios/mecco_replay
43edadd059bb2db8453b8065f2ae1cbe888923ec
[ "MIT" ]
null
null
null
# python import base64 import lx, modo import replay from replay import message as message """A simple example of a blessed MODO command using the commander module. https://github.com/adamohern/commander for details""" class GistAccountClass(replay.commander.CommanderClass): """Editor for command argument value...
34.323077
88
0.598386
252
2,231
5.222222
0.460317
0.018997
0.030395
0.045593
0.162614
0.12766
0.12766
0.12766
0
0
0
0.007033
0.298969
2,231
64
89
34.859375
0.834399
0.255491
0
0.108108
0
0
0.199059
0.069939
0
0
0
0
0
1
0.108108
false
0.189189
0.108108
0.027027
0.297297
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
0
0
1
0
0
0
0
0
1
c193ba82a1e27617721493862c98b89b093828fe
2,036
py
Python
desktop/core/ext-py/pyexcelerator/tools/xls2csv-gerry.py
civascu/hue
82f2de44789ff5a981ed725175bae7944832d1e9
[ "Apache-2.0" ]
19
2015-05-01T19:59:03.000Z
2021-12-09T08:03:16.000Z
desktop/core/ext-py/pyexcelerator/tools/xls2csv-gerry.py
civascu/hue
82f2de44789ff5a981ed725175bae7944832d1e9
[ "Apache-2.0" ]
1
2018-01-03T15:26:49.000Z
2018-01-03T15:26:49.000Z
desktop/core/ext-py/pyexcelerator/tools/xls2csv-gerry.py
civascu/hue
82f2de44789ff5a981ed725175bae7944832d1e9
[ "Apache-2.0" ]
30
2015-03-25T19:40:07.000Z
2021-05-28T22:59:26.000Z
#!/usr/bin/env python # -*- coding: windows-1251 -*- # Copyright (C) 2005 Kiseliov Roman __rev_id__ = """$Id: xls2csv-gerry.py,v 1.1 2005/10/26 07:44:24 rvk Exp $""" ###--xls2csv.py ###--modified by gerry 10/5/2005 ###--with args, processes just those files ###--with no args, processes all csvs in the current directo...
25.772152
94
0.502947
252
2,036
4
0.460317
0.026786
0.011905
0
0
0
0
0
0
0
0
0.034769
0.350196
2,036
79
95
25.772152
0.727135
0.167485
0
0
0
0.020408
0.098566
0
0
0
0
0
0
0
null
null
0
0.081633
null
null
0.122449
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
1
0
0
0
0
0
0
0
0
1
c1988d6e4dc695e3356fb47d64711fe2729e3769
1,781
py
Python
podoc/tests/test_plugin.py
podoc/podoc
1868e7f82a521b1722dca528802acedf9010b11a
[ "BSD-3-Clause" ]
54
2015-09-28T11:00:47.000Z
2021-11-10T13:38:56.000Z
podoc/tests/test_plugin.py
podoc/podoc
1868e7f82a521b1722dca528802acedf9010b11a
[ "BSD-3-Clause" ]
36
2015-09-14T15:50:44.000Z
2018-10-16T02:44:27.000Z
podoc/tests/test_plugin.py
podoc/podoc
1868e7f82a521b1722dca528802acedf9010b11a
[ "BSD-3-Clause" ]
9
2015-09-15T07:15:00.000Z
2018-05-29T02:11:38.000Z
# -*- coding: utf-8 -*- """Test plugin system.""" #------------------------------------------------------------------------------------------------- # Imports #------------------------------------------------------------------------------------------------- import os.path as op from ..plugin import (IPluginRegistr...
29.683333
98
0.460415
136
1,781
5.801471
0.397059
0.065906
0.057034
0
0
0
0
0
0
0
0
0.001313
0.144862
1,781
59
99
30.186441
0.516743
0.387984
0
0
0
0
0.084809
0
0
0
0
0
0.178571
1
0.142857
false
0.071429
0.214286
0
0.392857
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
0
0
1
0
0
0
0
0
1
c1a059a9b13a17fcf8d522bf995657d4a7478dd9
9,359
py
Python
tools/skeletor/skeletor.py
wnagy/pymframe
1b0a220ad943ad4ca2d712e308d9a72d7388e831
[ "Apache-2.0" ]
null
null
null
tools/skeletor/skeletor.py
wnagy/pymframe
1b0a220ad943ad4ca2d712e308d9a72d7388e831
[ "Apache-2.0" ]
null
null
null
tools/skeletor/skeletor.py
wnagy/pymframe
1b0a220ad943ad4ca2d712e308d9a72d7388e831
[ "Apache-2.0" ]
null
null
null
# -*- coding: iso-8859-15 -*- """ Grundmodul der Entwicklungsumgebung """ from optparse import OptionParser import sys import os import re import shutil endSkeletor = False options = None args = None def readTemplateFile(tmpname): fpath = sys.argv[0] fpath = os.path.split(fpath)[0] f = open(fpath+'/{0}...
28.533537
191
0.607971
1,124
9,359
4.949288
0.264235
0.021751
0.020493
0.011684
0.161244
0.133921
0.125831
0.08952
0.087722
0.068668
0
0.010888
0.224703
9,359
327
192
28.620795
0.755788
0.004915
0
0.253906
0
0.035156
0.379601
0.071776
0
0
0
0
0
0
null
null
0.003906
0.023438
null
null
0.136719
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
1
0
0
0
0
0
0
0
0
1
c1a800a9e47ec6a2f8785e9aeffb9066907240d7
1,067
py
Python
agent/src/clacks/agent/objects/operator/__init__.py
gonicus/clacks
da579f0acc4e48cf2e9451417ac6792282cf7ab6
[ "ZPL-2.1" ]
2
2015-01-26T07:15:19.000Z
2015-11-09T13:42:11.000Z
agent/src/clacks/agent/objects/operator/__init__.py
gonicus/clacks
da579f0acc4e48cf2e9451417ac6792282cf7ab6
[ "ZPL-2.1" ]
null
null
null
agent/src/clacks/agent/objects/operator/__init__.py
gonicus/clacks
da579f0acc4e48cf2e9451417ac6792282cf7ab6
[ "ZPL-2.1" ]
null
null
null
# This file is part of the clacks framework. # # http://clacks-project.org # # Copyright: # (C) 2010-2012 GONICUS GmbH, Germany, http://www.gonicus.de # # License: # GPL-2: http://www.gnu.org/licenses/gpl-2.0.html # # See the LICENSE file in the project's top-level directory for details. __import__('pkg_resources')...
26.02439
84
0.713215
147
1,067
4.965986
0.578231
0.049315
0.049315
0
0
0
0
0
0
0
0
0.012429
0.170572
1,067
40
85
26.675
0.812429
0.284911
0
0
0
0
0.153333
0
0
0
0
0
0
1
0.166667
false
0.055556
0.222222
0
0.5
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
0
0
1
0
0
0
0
0
1
c1ae879cbeca5e0dc938b2fc82c960ce2c6c2885
1,624
py
Python
Project_1_Facial_Keypoints/models.py
mariabardon/nanodegree_computer_vision
03cc7cdc1fba65732f8b2a1f7eaca62f71c24f4c
[ "MIT" ]
null
null
null
Project_1_Facial_Keypoints/models.py
mariabardon/nanodegree_computer_vision
03cc7cdc1fba65732f8b2a1f7eaca62f71c24f4c
[ "MIT" ]
null
null
null
Project_1_Facial_Keypoints/models.py
mariabardon/nanodegree_computer_vision
03cc7cdc1fba65732f8b2a1f7eaca62f71c24f4c
[ "MIT" ]
null
null
null
## TODO: define the convolutional neural network architecture import torch import torch.nn as nn import torch.nn.functional as F import torch.nn.init as I class Net(nn.Module): def __init__(self): super(Net, self).__init__() # Covolutional Layers self.conv1 = nn.Conv2d(in_channels = 1,...
32.48
99
0.600985
253
1,624
3.750988
0.272727
0.01686
0.063224
0.069547
0.141201
0.069547
0.069547
0
0
0
0
0.080232
0.255542
1,624
49
100
33.142857
0.704715
0.04803
0
0
0
0
0
0
0
0
0
0.020408
0
1
0.064516
false
0
0.129032
0
0.258065
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
1
0
0
0
0
0
0
0
0
0
0
1
c1b0f42d60ac0a3739a0759bb06896df9f9a767f
323
py
Python
homepage/tests/test_views.py
CoronaCircle/coronacircles
66963d178fe5ebd400e5f9403730ae0f8be4fb4d
[ "MIT" ]
null
null
null
homepage/tests/test_views.py
CoronaCircle/coronacircles
66963d178fe5ebd400e5f9403730ae0f8be4fb4d
[ "MIT" ]
null
null
null
homepage/tests/test_views.py
CoronaCircle/coronacircles
66963d178fe5ebd400e5f9403730ae0f8be4fb4d
[ "MIT" ]
null
null
null
from django.urls import reverse from django.test import TestCase class HomepageTestCase(TestCase): url = reverse("homepage:index") def test_get(self): """Just check the page renders without errors""" response = self.client.get(self.url) self.assertContains(response, "", status_code=20...
26.916667
58
0.69969
40
323
5.6
0.7
0.089286
0
0
0
0
0
0
0
0
0
0.011538
0.195046
323
11
59
29.363636
0.85
0.130031
0
0
0
0
0.050909
0
0
0
0
0
0.142857
1
0.142857
false
0
0.285714
0
0.714286
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
0
0
0
0
0
1
0
0
1