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
ebab5a876746b6d91a7c17c26541b11c7d8bbbf8
468
py
Python
visualizer/migrations/0008_visualization_type.py
dipapaspyros/bdo_platform
336de07c6ed14290c54f2154117dbf90a187e4ea
[ "MIT" ]
2
2018-02-07T10:26:28.000Z
2018-09-21T09:12:58.000Z
visualizer/migrations/0008_visualization_type.py
dipapaspyros/bdo_platform
336de07c6ed14290c54f2154117dbf90a187e4ea
[ "MIT" ]
5
2018-09-21T10:40:44.000Z
2019-04-06T10:59:57.000Z
visualizer/migrations/0008_visualization_type.py
dipapaspyros/bdo_platform
336de07c6ed14290c54f2154117dbf90a187e4ea
[ "MIT" ]
3
2019-06-09T15:42:02.000Z
2022-02-14T19:50:33.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2018-10-03 15:11 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('visualizer', '0007_auto_20180522_2315'), ] operations = [ migrations.AddField...
22.285714
63
0.621795
50
468
5.62
0.82
0
0
0
0
0
0
0
0
0
0
0.100865
0.258547
468
20
64
23.4
0.708934
0.141026
0
0
1
0
0.125313
0.057644
0
0
0
0
0
1
0
false
0
0.153846
0
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ebb590750f16d13b63ca8c82f78af76789e93fbf
9,029
py
Python
activity/generate.py
viyadb/samples
b18302ba3822bf735c01134764bb9ef2af58093b
[ "Apache-2.0" ]
null
null
null
activity/generate.py
viyadb/samples
b18302ba3822bf735c01134764bb9ef2af58093b
[ "Apache-2.0" ]
null
null
null
activity/generate.py
viyadb/samples
b18302ba3822bf735c01134764bb9ef2af58093b
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python2.7 import codecs import os from faker import Faker from faker.providers import BaseProvider, address, internet, currency from datetime import datetime, timedelta import pytz from optparse import OptionParser from time import mktime, time from hashlib import md5 fake = Faker() fake.seed(time()) ...
32.478417
108
0.641489
1,240
9,029
4.430645
0.165323
0.032763
0.032763
0.022934
0.49909
0.48198
0.413178
0.373862
0.333819
0.305788
0
0.04877
0.216525
9,029
277
109
32.595668
0.727877
0.008971
0
0.326613
0
0
0.094519
0
0
0
0.001119
0
0
0
null
null
0
0.03629
null
null
0.008065
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
ebb88a02a6b98654a003ba2438a608a9d91bb7f2
1,966
py
Python
sec/violent/codes/recycle.py
imsilence/notes
2e00f65f0d61fd077c589e0e9962b062bf591efc
[ "Apache-2.0" ]
null
null
null
sec/violent/codes/recycle.py
imsilence/notes
2e00f65f0d61fd077c589e0e9962b062bf591efc
[ "Apache-2.0" ]
null
null
null
sec/violent/codes/recycle.py
imsilence/notes
2e00f65f0d61fd077c589e0e9962b062bf591efc
[ "Apache-2.0" ]
null
null
null
#encoding: utf-8 import os import _winreg def get_root_dirs(): _root_dirs = [] _key = None try: _sub_key = 'SYSTEM\MountedDevices' _key = _winreg.OpenKey(_winreg.HKEY_LOCAL_MACHINE, _sub_key) i = 0 while True: _value, _, _ = _winreg.EnumValue(_key, i)...
32.229508
99
0.60885
227
1,966
4.770925
0.330396
0.066482
0.033241
0.024007
0.304709
0.193906
0.193906
0.193906
0.193906
0.11265
0
0.00431
0.291963
1,966
60
100
32.766667
0.773707
0.00763
0
0.326923
0
0
0.099471
0.041799
0
0
0
0
0
0
null
null
0.038462
0.038462
null
null
0.038462
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
ebbb2cd8c10ec5bbcb99aac1d32275a014e2380d
1,366
py
Python
sanskrit_parser/generator/dhatu.py
avinashvarna/sanskrit_parser
79338213128b29927fe2f06031379bb1e3864a83
[ "MIT" ]
54
2017-06-30T09:11:53.000Z
2022-03-22T15:35:41.000Z
sanskrit_parser/generator/dhatu.py
avinashvarna/sanskrit_parser
79338213128b29927fe2f06031379bb1e3864a83
[ "MIT" ]
159
2017-06-30T07:04:36.000Z
2021-06-17T17:03:43.000Z
sanskrit_parser/generator/dhatu.py
avinashvarna/sanskrit_parser
79338213128b29927fe2f06031379bb1e3864a83
[ "MIT" ]
18
2017-08-17T13:22:00.000Z
2022-01-20T01:08:58.000Z
from sanskrit_parser.generator.paninian_object import PaninianObject from sanskrit_parser.base.sanskrit_base import SLP1 class Dhatu(PaninianObject): """ Sanskrit Object Class: Derived From SanskritString Attributes: """ def __init__(self, thing=None, its=[], other_tags=[], encoding=SLP1, ...
29.06383
94
0.61347
187
1,366
4.336898
0.470588
0.055487
0.04439
0
0
0
0
0
0
0
0
0.002732
0.196193
1,366
46
95
29.695652
0.735883
0.099561
0
0
0
0
0.074196
0
0
0
0
0.021739
0
1
0.058824
false
0
0.058824
0.029412
0.176471
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
ebbc22d9ffe123cf2bbe35f09090c4a67018d256
494
py
Python
practice_problems/strings_arrays/powerset_of_set.py
YazzyYaz/codinginterviews
b8115c43507d738bccd90366f2bc02867ba7f13f
[ "MIT" ]
null
null
null
practice_problems/strings_arrays/powerset_of_set.py
YazzyYaz/codinginterviews
b8115c43507d738bccd90366f2bc02867ba7f13f
[ "MIT" ]
null
null
null
practice_problems/strings_arrays/powerset_of_set.py
YazzyYaz/codinginterviews
b8115c43507d738bccd90366f2bc02867ba7f13f
[ "MIT" ]
null
null
null
def powerset_of_set(aset): set_list = [x for x in aset] final_set = set() for catchnum in range(len(set_list)): print(catchnum) for index in range(catchnum, len(set_list)): b = "{}".format(set_list[index:]) if b not in final_set: final_set.add(b) ...
26
52
0.58502
78
494
3.5
0.320513
0.153846
0.142857
0.186813
0.278388
0.278388
0.278388
0.278388
0.278388
0.278388
0
0
0.291498
494
18
53
27.444444
0.78
0
0
0.25
0
0
0.010121
0
0
0
0
0
0
1
0.125
false
0
0
0
0.1875
0.125
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
ebbc47475cdbc235baa5e949492f42763d4bfbf1
2,146
py
Python
Semester V/Kripto/exor.py
RianWardanaPutra/School
fc5f3c7a38aac20ee6afc3f509db0c6b5bb452d4
[ "MIT" ]
null
null
null
Semester V/Kripto/exor.py
RianWardanaPutra/School
fc5f3c7a38aac20ee6afc3f509db0c6b5bb452d4
[ "MIT" ]
null
null
null
Semester V/Kripto/exor.py
RianWardanaPutra/School
fc5f3c7a38aac20ee6afc3f509db0c6b5bb452d4
[ "MIT" ]
null
null
null
# Fungsi enkripsi def encrypt(plain,password): plainIntVector = [] for i in range(len(plain)): plainIntVector.append(ord(plain[i])) passwordIntVector = [] # inisiasi variabel baru untuk membuat setiap perubahan yang terjadi pada # password akan menyebabkan avalanche effect # variabel in...
34.612903
77
0.657036
239
2,146
5.882845
0.330544
0.025605
0.038407
0.046942
0.229018
0.219061
0.201991
0.167852
0.167852
0.167852
0
0.012828
0.237185
2,146
61
78
35.180328
0.84606
0.184529
0
0.304348
0
0
0.034463
0
0
0
0
0
0
1
0.043478
false
0.369565
0
0
0.086957
0.130435
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
ebc6f1f8706e7b83a5e5c39fbf0838d64013eca9
10,661
py
Python
Tests/Validation/test_get_data_along.py
Superomeg4/SciDataTool
d5d8863d625793b4de3ebddb7bc7609803c4bcb2
[ "Apache-2.0" ]
null
null
null
Tests/Validation/test_get_data_along.py
Superomeg4/SciDataTool
d5d8863d625793b4de3ebddb7bc7609803c4bcb2
[ "Apache-2.0" ]
null
null
null
Tests/Validation/test_get_data_along.py
Superomeg4/SciDataTool
d5d8863d625793b4de3ebddb7bc7609803c4bcb2
[ "Apache-2.0" ]
null
null
null
import pytest import numpy as np from numpy.testing import assert_array_almost_equal from SciDataTool import DataLinspace, DataTime, Norm_ref, Data1D @pytest.mark.validation def test_get_data_along(): f = 50 Time = DataLinspace( name="time", unit="s", initial=0, final=1 / f, ...
30.115819
85
0.615514
1,464
10,661
4.250683
0.089481
0.042745
0.073277
0.054636
0.753977
0.703037
0.69211
0.646473
0.596658
0.577053
0
0.020862
0.249132
10,661
354
86
30.115819
0.756527
0.060595
0
0.646465
0
0
0.092884
0.004204
0
0
0
0.002825
0.127946
1
0.023569
false
0
0.013468
0
0.037037
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
ebc833e78456889a93c7fca17c87fd2009c7902e
2,478
py
Python
tests/unit/providers/configuration/test_from_dict_py2_py3.py
YelloFam/python-dependency-injector
541131e33858ee1b8b5a7590d2bb9f929740ea1e
[ "BSD-3-Clause" ]
null
null
null
tests/unit/providers/configuration/test_from_dict_py2_py3.py
YelloFam/python-dependency-injector
541131e33858ee1b8b5a7590d2bb9f929740ea1e
[ "BSD-3-Clause" ]
null
null
null
tests/unit/providers/configuration/test_from_dict_py2_py3.py
YelloFam/python-dependency-injector
541131e33858ee1b8b5a7590d2bb9f929740ea1e
[ "BSD-3-Clause" ]
null
null
null
"""Configuration.from_dict() tests.""" from pytest import mark, raises CONFIG_OPTIONS_1 = { "section1": { "value1": "1", }, "section2": { "value2": "2", }, } CONFIG_OPTIONS_2 = { "section1": { "value1": "11", "value11": "11", }, "section3": { "value...
23.826923
81
0.604116
273
2,478
5.252747
0.139194
0.150628
0.073222
0.108787
0.806834
0.642957
0.503487
0.259414
0.217573
0.149233
0
0.042761
0.216707
2,478
103
82
24.058252
0.696033
0.012914
0
0.486842
0
0
0.115621
0
0
0
0
0
0.236842
1
0.131579
false
0
0.013158
0
0.144737
0
0
0
0
null
0
0
0
1
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
ebc991f3a3bfa28db1d18a41dfe2da95838b91ae
2,715
py
Python
2020/day08.py
mbcollins2/aoc
b94380fd5e92b4fe9f4af654e7762174c1c6ac91
[ "MIT" ]
null
null
null
2020/day08.py
mbcollins2/aoc
b94380fd5e92b4fe9f4af654e7762174c1c6ac91
[ "MIT" ]
3
2021-12-15T19:12:38.000Z
2021-12-15T19:14:42.000Z
2020/day08.py
mbcollins2/aoc
b94380fd5e92b4fe9f4af654e7762174c1c6ac91
[ "MIT" ]
null
null
null
class solve_day(object): with open('inputs/day08.txt', 'r') as f: data = f.readlines() data = [d.strip() for d in data] def part1(self): accumulator = 0 i = 0 index_tracker = [] index_visited = set() index_tracker.append(i) index_visited.add(i...
25.373832
74
0.422468
276
2,715
4.050725
0.257246
0.048301
0.037567
0.042934
0.629696
0.629696
0.629696
0.629696
0.629696
0.629696
0
0.022192
0.452302
2,715
107
75
25.373832
0.729657
0.029098
0
0.647059
0
0
0.052812
0
0
0
0
0
0
1
0.029412
false
0
0
0
0.073529
0.029412
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
ebc9b812961280dcdf30a84f1bdac6ba019dacf2
1,497
py
Python
src/appliance-onboarding-script/appliance_setup/avs/avsarconboarder/creator/dhcp/dhcp_creator.py
Azure/ArcOnAVS
9ecd26ceb2f49953db1beda07beba55c15e773ce
[ "MIT" ]
null
null
null
src/appliance-onboarding-script/appliance_setup/avs/avsarconboarder/creator/dhcp/dhcp_creator.py
Azure/ArcOnAVS
9ecd26ceb2f49953db1beda07beba55c15e773ce
[ "MIT" ]
null
null
null
src/appliance-onboarding-script/appliance_setup/avs/avsarconboarder/creator/dhcp/dhcp_creator.py
Azure/ArcOnAVS
9ecd26ceb2f49953db1beda07beba55c15e773ce
[ "MIT" ]
null
null
null
import json import logging import sys from ...executor.azcli._AzCliExecutor import AzCliExecutor from ...constants import Constant from ...creator.creator import Creator from ...entity.AzCli import AzCli from ...exception import DHCPCreationException from ...entity.CustomerResource import CustomerResource from ...enti...
41.583333
109
0.700067
174
1,497
5.747126
0.390805
0.025
0.018
0.034
0
0
0
0
0
0
0
0.004198
0.204409
1,497
35
110
42.771429
0.835432
0
0
0
0
0
0.068804
0.015364
0
0
0
0
0
1
0.066667
false
0
0.333333
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
0
1
0
0
0
0
1
ebd0fb83fff7e861b2d6e77063f6568052e74588
502
py
Python
src/pygnmi/capabilities.py
MatthewGP/openmgmt
036d7832de54649ff27f5388ba22064379e652bc
[ "Apache-2.0" ]
null
null
null
src/pygnmi/capabilities.py
MatthewGP/openmgmt
036d7832de54649ff27f5388ba22064379e652bc
[ "Apache-2.0" ]
null
null
null
src/pygnmi/capabilities.py
MatthewGP/openmgmt
036d7832de54649ff27f5388ba22064379e652bc
[ "Apache-2.0" ]
null
null
null
import os import json from pprint import pprint as pp from pygnmi.client import gNMIclient ARISTA_HOST = os.getenv("ARISTA_HOST", "198.51.100.105") ARISTA_PORT = os.getenv("ARISTA_PORT", "6030") ARISTA_USERNAME = os.getenv("ARISTA_USERNAME", "arista") ARISTA_PASSWORD = os.getenv("ARISTA_PASSWORD", "arista") host = (...
26.421053
82
0.75498
70
502
5.242857
0.4
0.108992
0.152589
0
0
0
0
0
0
0
0
0.034169
0.125498
502
18
83
27.888889
0.801822
0
0
0
0
0
0.163347
0
0
0
0
0
0
1
0
false
0.142857
0.285714
0
0.285714
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
0
0
0
1
0
0
0
0
0
1
ebd4a76113a0c0a76604192f76548b7f98c7722c
582
py
Python
budget/migrations/0002_get_latest_by.py
bbengfort/ledger
f3b961be568d3a373228ee2ccf52afc7fb7ca9a8
[ "MIT" ]
1
2018-08-15T22:34:33.000Z
2018-08-15T22:34:33.000Z
budget/migrations/0002_get_latest_by.py
bbengfort/ledger
f3b961be568d3a373228ee2ccf52afc7fb7ca9a8
[ "MIT" ]
75
2018-05-07T21:13:27.000Z
2021-09-22T17:45:20.000Z
budget/migrations/0002_get_latest_by.py
bbengfort/ledger
f3b961be568d3a373228ee2ccf52afc7fb7ca9a8
[ "MIT" ]
2
2018-08-15T22:34:34.000Z
2020-07-04T17:27:41.000Z
# Generated by Django 3.0.2 on 2020-02-04 12:32 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('budget', '0001_initial'), ] operations = [ migrations.AlterModelOptions( name='budget', options={'get_latest_by': 'y...
25.304348
113
0.589347
57
582
5.929825
0.736842
0.059172
0
0
0
0
0
0
0
0
0
0.054762
0.278351
582
22
114
26.454545
0.75
0.07732
0
0.125
1
0
0.158879
0
0
0
0
0
0
1
0
false
0
0.0625
0
0.25
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
ccd86a3ecec22d2da1da00530e39ee0737969d62
1,202
py
Python
spec/ui/rm_spec.py
sourcery-ai-bot/ipodio
e32ab2d1928a2b47500dd0ce0cbd17f71102dbe2
[ "BSD-3-Clause" ]
9
2015-06-02T23:31:20.000Z
2021-05-17T17:26:32.000Z
spec/ui/rm_spec.py
sourcery-ai-bot/ipodio
e32ab2d1928a2b47500dd0ce0cbd17f71102dbe2
[ "BSD-3-Clause" ]
null
null
null
spec/ui/rm_spec.py
sourcery-ai-bot/ipodio
e32ab2d1928a2b47500dd0ce0cbd17f71102dbe2
[ "BSD-3-Clause" ]
3
2015-10-07T21:51:38.000Z
2021-01-23T12:22:58.000Z
# -*- coding: utf-8 -*- from expects import expect from mamba import describe, context, before from spec.ui._ipod_helpers import * from spec.ui._fixture import update_environment with describe('ipodio rm') as _: @before.all def setup_all(): update_environment(_) bootstrap_ipod(_.mountpoint_...
30.820513
83
0.670549
151
1,202
4.97351
0.463576
0.047936
0.079893
0.095872
0.318242
0.069241
0
0
0
0
0
0.00206
0.19218
1,202
38
84
31.631579
0.77137
0.017471
0
0
0
0
0.089059
0
0
0
0
0
0
1
0.217391
false
0
0.173913
0
0.391304
0.043478
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
ccdb1964061aa59a6ea8fd7644af5d806c3b5ffd
687
py
Python
models/lz_lan_vpc_environment.py
tranquilitybase-io/tb-houston-service
9383922ee21fcf64b2b9b32b5662e962428e2a35
[ "Apache-2.0" ]
1
2020-03-18T22:32:10.000Z
2020-03-18T22:32:10.000Z
models/lz_lan_vpc_environment.py
tranquilitybase-io/tb-houston-service
9383922ee21fcf64b2b9b32b5662e962428e2a35
[ "Apache-2.0" ]
380
2020-03-18T12:41:22.000Z
2021-07-01T14:24:08.000Z
models/lz_lan_vpc_environment.py
tranquilitybase-io/tb-houston-service
9383922ee21fcf64b2b9b32b5662e962428e2a35
[ "Apache-2.0" ]
13
2020-04-06T06:52:51.000Z
2021-09-23T23:07:21.000Z
from config import db, ma class LZLanVpcEnvironment(db.Model): __tablename__ = "lzlanvpc_environment" __table_args__ = {"schema": "eagle_db"} id = db.Column(db.Integer, primary_key=True) lzlanvpcId = db.Column(db.Integer, db.ForeignKey("eagle_db.lzlanvpc.id")) environmentId = db.Column(db....
32.714286
86
0.687045
78
687
5.794872
0.512821
0.070796
0.088496
0.112832
0.159292
0.159292
0.159292
0.159292
0
0
0
0
0.196507
687
20
87
34.35
0.818841
0
0
0
0
0
0.173913
0.092954
0
0
0
0
0
1
0.066667
false
0
0.066667
0.066667
0.8
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
ccdf8f1eac886bcd1157d7b5357039a843c4079e
368
py
Python
crypto/Shuffler/release/chall.py
vidner/codepwnda-ctf
7e086044b753fe555b44395b79827d2f5b89da1d
[ "Unlicense" ]
6
2021-02-18T15:07:55.000Z
2022-02-04T01:38:10.000Z
crypto/Shuffler/release/chall.py
vidner/codepwnda-ctf
7e086044b753fe555b44395b79827d2f5b89da1d
[ "Unlicense" ]
null
null
null
crypto/Shuffler/release/chall.py
vidner/codepwnda-ctf
7e086044b753fe555b44395b79827d2f5b89da1d
[ "Unlicense" ]
null
null
null
import random, string def encrypt(msg): x = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789' y = 'BXcjk7JCT5goWsq9Lhr2zvVISbKfGteauUHMlRiQ3Nd6A8p14OnmZ0xyYFPEwD' z = string.maketrans(x, y) return msg.translate(z) pt = open('plaintext.txt').read().strip() N = random.randint(21, 42) ct = encrypt(pt...
23
69
0.76087
42
368
6.642857
0.690476
0.064516
0
0
0
0
0
0
0
0
0
0.074074
0.119565
368
15
70
24.533333
0.787037
0
0
0
0
0
0.372283
0.336957
0
0
0
0
0
0
null
null
0
0.083333
null
null
0.083333
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
cce2be849936c7679dc438b731413fdb9d4b232c
4,679
py
Python
guidance_and_support/models.py
reidmporter/IATI-Standard-Website
f10d48caed9fab7a76c3556e8e4f1451ceec0f0c
[ "MIT" ]
null
null
null
guidance_and_support/models.py
reidmporter/IATI-Standard-Website
f10d48caed9fab7a76c3556e8e4f1451ceec0f0c
[ "MIT" ]
null
null
null
guidance_and_support/models.py
reidmporter/IATI-Standard-Website
f10d48caed9fab7a76c3556e8e4f1451ceec0f0c
[ "MIT" ]
null
null
null
"""Model definitions for the guidance_and_support app.""" from django.db import models from wagtail.admin.edit_handlers import FieldPanel from wagtail.core.fields import StreamField, RichTextField from wagtail.core.models import Page from wagtail.images.edit_handlers import ImageChooserPanel from home.models import ...
38.669421
232
0.734772
554
4,679
6.043321
0.270758
0.036141
0.05914
0.035544
0.353943
0.267921
0.247611
0.217443
0.191756
0.152927
0
0.002589
0.17461
4,679
120
233
38.991667
0.864319
0.168198
0
0.147541
0
0.065574
0.286462
0.04818
0
0
0
0
0
1
0.032787
false
0
0.114754
0
0.606557
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
cce4b4682f9e61b8080ef3e21dd80c9f866ac9ef
1,305
py
Python
core/forms.py
telminov/email-service
35beead447a8da354eb3d8d01485ab41652ec4d5
[ "MIT" ]
5
2017-07-03T05:05:21.000Z
2021-02-26T18:45:51.000Z
core/forms.py
telminov/email-service
35beead447a8da354eb3d8d01485ab41652ec4d5
[ "MIT" ]
5
2017-06-29T06:32:53.000Z
2017-08-08T16:00:15.000Z
core/forms.py
telminov/email-service
35beead447a8da354eb3d8d01485ab41652ec4d5
[ "MIT" ]
null
null
null
from django import forms from django.conf import settings from email_devino.client import DevinoClient from email_devino.client import DevinoException class SendMessage(forms.Form): recipient_name = forms.CharField() recipient_email = forms.EmailField() sender_email = forms.ChoiceField(widget=forms.Selec...
35.27027
105
0.665134
143
1,305
5.86014
0.461538
0.116945
0.057279
0.085919
0.235084
0
0
0
0
0
0
0
0.236015
1,305
36
106
36.25
0.840522
0.02069
0
0
0
0
0.075235
0
0
0
0
0
0
1
0.035714
false
0.035714
0.142857
0
0.535714
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
cce658d4a2501f16214fc5f879b1c8ef935c65fd
485
py
Python
uploads/core/migrations/0010_auto_20190712_0025.py
Akchy/ISQIP-Hackathon
f2f2370529247e494f02988e5e1810040f4d3ff3
[ "MIT" ]
2
2021-06-08T18:26:04.000Z
2021-08-07T16:58:50.000Z
uploads/core/migrations/0010_auto_20190712_0025.py
Akchy/ISQIP-Hackathon
f2f2370529247e494f02988e5e1810040f4d3ff3
[ "MIT" ]
4
2020-02-12T02:58:27.000Z
2021-06-10T22:42:43.000Z
uploads/core/migrations/0010_auto_20190712_0025.py
Akchy/ISQIP-Hackathon
f2f2370529247e494f02988e5e1810040f4d3ff3
[ "MIT" ]
3
2019-07-12T09:10:01.000Z
2019-07-12T10:33:14.000Z
# Generated by Django 2.1 on 2019-07-12 00:25 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('core', '0009_document_color'), ] operations = [ migrations.AlterField( model_name='document', name='color', ...
25.526316
157
0.583505
51
485
5.470588
0.843137
0
0
0
0
0
0
0
0
0
0
0.054795
0.247423
485
18
158
26.944444
0.709589
0.08866
0
0
1
0
0.184091
0
0
0
0
0
0
1
0
false
0
0.083333
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ccf6a0c964eb4fbfe92f1eb1c428727ca0929e98
989
py
Python
flowery/__init__.py
polyedre/flowery
32c454e3ae8b60c1120270b8d1ca845a71cc1771
[ "MIT" ]
null
null
null
flowery/__init__.py
polyedre/flowery
32c454e3ae8b60c1120270b8d1ca845a71cc1771
[ "MIT" ]
null
null
null
flowery/__init__.py
polyedre/flowery
32c454e3ae8b60c1120270b8d1ca845a71cc1771
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 from rich.live import Live from rich.markdown import Markdown from rich.padding import Padding from rich.layout import Layout class Presentation: def __init__(self, content): self.slides = [slide_content.strip() for slide_content in content.split("---\n")] print(self.slides...
24.121951
89
0.593529
129
989
4.434109
0.317829
0.122378
0.062937
0.052448
0
0
0
0
0
0
0
0.00979
0.277048
989
40
90
24.725
0.79021
0.021234
0
0.066667
0
0
0.007239
0
0
0
0
0
0
1
0.233333
false
0
0.133333
0.066667
0.5
0.033333
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
ccf7202c8f9a73cb4f390d69be3478899fe7e0bc
753
py
Python
addons/partner_category_hierarchy/models/res_partner_hcategory.py
marionumza/vocal_v12
480990e919c9410903e06e7813ee92800bd6a569
[ "Unlicense" ]
null
null
null
addons/partner_category_hierarchy/models/res_partner_hcategory.py
marionumza/vocal_v12
480990e919c9410903e06e7813ee92800bd6a569
[ "Unlicense" ]
null
null
null
addons/partner_category_hierarchy/models/res_partner_hcategory.py
marionumza/vocal_v12
480990e919c9410903e06e7813ee92800bd6a569
[ "Unlicense" ]
1
2021-05-05T07:59:08.000Z
2021-05-05T07:59:08.000Z
# © 2017 Nedas Žilinskas <nedas.zilinskas@gmail.com> # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). from odoo import fields, models class ResPartnerHCategory(models.Model): _name = 'res.partner.hcategory' _description = 'Partner Category' name = fields.Char( required=True...
23.53125
68
0.649402
86
753
5.569767
0.569767
0.058455
0.11691
0.14405
0.240084
0.158664
0.158664
0
0
0
0
0.015544
0.231076
753
31
69
24.290323
0.80829
0.155378
0
0.095238
0
0
0.25
0.099684
0
0
0
0
0
0
null
null
0
0.047619
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
6900cd796b02fbcd15afa5628632a9e84600ba3c
3,645
py
Python
craynn/subnetworks/cascade.py
maxim-borisyak/craynn
fceabd33f5969033fb3605f894778c42c42f3e08
[ "MIT" ]
null
null
null
craynn/subnetworks/cascade.py
maxim-borisyak/craynn
fceabd33f5969033fb3605f894778c42c42f3e08
[ "MIT" ]
null
null
null
craynn/subnetworks/cascade.py
maxim-borisyak/craynn
fceabd33f5969033fb3605f894778c42c42f3e08
[ "MIT" ]
null
null
null
from lasagne import * from .. import layers as clayers from .common import get_kernels_by_type __all__ = [ 'cascade_op', 'cascade_chain', 'cascade_block', 'decremental_cascade_block', 'cascade_merge', 'cascade_merge_rev', 'cascade_merge_const', 'dropout_merge_const', 'get_interest_kernels' ] get_in...
26.801471
99
0.712209
498
3,645
5.03012
0.150602
0.134132
0.142515
0.095808
0.739321
0.708184
0.669461
0.631138
0.593613
0.570858
0
0.003664
0.176406
3,645
136
100
26.801471
0.830779
0
0
0.61165
0
0
0.044981
0.006857
0
0
0
0
0
1
0.07767
false
0
0.029126
0
0.184466
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
69010c4a019721708696b08b9f2d96cab734681a
2,332
py
Python
endpoints/bookstore-grpc/bookstore.py
bxue16/bx_byte1
e8c2face224f16ab2d2fa927a0c944176e4dd557
[ "Apache-2.0" ]
4
2018-12-23T18:17:14.000Z
2020-01-05T19:13:58.000Z
endpoints/bookstore-grpc/bookstore.py
Acidburn0zzz/python-docs-samples
bc0924a6826cbdb669415b58fd5b2d8534d87aa1
[ "Apache-2.0" ]
1
2021-06-10T23:56:36.000Z
2021-06-10T23:56:36.000Z
endpoints/bookstore-grpc/bookstore.py
Acidburn0zzz/python-docs-samples
bc0924a6826cbdb669415b58fd5b2d8534d87aa1
[ "Apache-2.0" ]
4
2018-06-03T14:43:25.000Z
2019-11-24T04:05:18.000Z
# Copyright 2016 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or a...
31.093333
74
0.643654
322
2,332
4.385093
0.307453
0.09915
0.067989
0.089235
0.260623
0.216006
0.186261
0.130312
0.130312
0
0
0.007022
0.267153
2,332
74
75
31.513514
0.819193
0.27916
0
0.177778
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0.022222
0
0.422222
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
6909fd59cc5bc68277c7c982bbaa0c730add35c8
8,615
py
Python
two_user_case.py
zhiguo-ding/CRNOMA_DDPG
8f7acca0a8b2c176e50c262cb006a0f4a8af37a1
[ "MIT" ]
24
2020-12-03T07:54:54.000Z
2022-03-27T10:44:16.000Z
two_user_case.py
3025066980/CRNOMA_DDPG
8f7acca0a8b2c176e50c262cb006a0f4a8af37a1
[ "MIT" ]
null
null
null
two_user_case.py
3025066980/CRNOMA_DDPG
8f7acca0a8b2c176e50c262cb006a0f4a8af37a1
[ "MIT" ]
16
2020-12-03T13:36:12.000Z
2022-03-30T10:49:11.000Z
""" Note: This is based on Mofan's codes from: https://morvanzhou.github.io/tutorials/ Using: tensorflow 1.0 This code is used to generate the figure for the 2-user special case (without fading and placed at two particular locations) """ import tensorflow.compat.v1 as tf tf.disable_v2_behavior() import numpy as np im...
37.951542
178
0.632385
1,312
8,615
3.942073
0.21875
0.021268
0.017401
0.009281
0.258701
0.194896
0.12181
0.100541
0.081593
0.060325
0
0.025417
0.21451
8,615
227
179
37.951542
0.73888
0.185839
0
0.013423
1
0
0.037333
0
0
0
0
0
0
1
0.04698
false
0
0.040268
0.013423
0.120805
0.020134
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
6915deb8499ffb903b43f994494786132b63f152
1,497
py
Python
os3_rll/tests/actions/player/test_reset_player_password.py
Erik-Lamers1/OS3-RRL-Python
c1fbc1f2279f1b43290582ee39ed226d8173a101
[ "MIT" ]
null
null
null
os3_rll/tests/actions/player/test_reset_player_password.py
Erik-Lamers1/OS3-RRL-Python
c1fbc1f2279f1b43290582ee39ed226d8173a101
[ "MIT" ]
null
null
null
os3_rll/tests/actions/player/test_reset_player_password.py
Erik-Lamers1/OS3-RRL-Python
c1fbc1f2279f1b43290582ee39ed226d8173a101
[ "MIT" ]
null
null
null
from unittest.mock import call from os3_rll.tests import OS3RLLTestCase from os3_rll.tests.fixture import player_model_fixture from os3_rll.actions.player import reset_player_password class TestAddPlayer(OS3RLLTestCase): def setUp(self) -> None: self.player = self.set_up_patch("os3_rll.actions.player.Pla...
45.363636
87
0.770207
207
1,497
5.135266
0.231884
0.093133
0.160865
0.067733
0.611477
0.528692
0.49953
0.431797
0.319849
0.319849
0
0.005439
0.140281
1,497
32
88
46.78125
0.820513
0
0
0.24
0
0
0.067468
0.046092
0
0
0
0
0.24
1
0.2
false
0.48
0.16
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
6920971ba0a5aab28b1cadeaf0f7b53ad16180cd
1,473
py
Python
build/lib.linux-x86_64-2.7_ucs4/mx/DateTime/Examples/alarm.py
mkubux/egenix-mx-base
3e6f9186334d9d73743b0219ae857564c7208247
[ "eGenix" ]
null
null
null
build/lib.linux-x86_64-2.7_ucs4/mx/DateTime/Examples/alarm.py
mkubux/egenix-mx-base
3e6f9186334d9d73743b0219ae857564c7208247
[ "eGenix" ]
null
null
null
build/lib.linux-x86_64-2.7_ucs4/mx/DateTime/Examples/alarm.py
mkubux/egenix-mx-base
3e6f9186334d9d73743b0219ae857564c7208247
[ "eGenix" ]
null
null
null
#!/usr/local/bin/python -u """ Simple Forking Alarm Sample Application for DateTime types and CommandLine. Only works on OSes which support os.fork(). Author: Marc-Andre Lemburg, mailto:mal@lemburg.com """ import time,sys,os from mx.DateTime import * from mx.Misc.CommandLine import Application,ArgumentOp...
27.277778
70
0.513238
171
1,473
4.368421
0.526316
0.053548
0.044177
0.052209
0.05087
0.05087
0
0
0
0
0
0.017951
0.357094
1,473
53
71
27.792453
0.770855
0.016972
0
0
0
0
0.163017
0
0
0
0
0
0
0
null
null
0
0.085714
null
null
0.057143
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
692449f82992142d11d0a144809cd3997ce322bc
3,776
py
Python
client.py
cstyan/8505A1
dd7b7139da5977d7a54792a11523f8576cda4566
[ "MIT" ]
2
2020-04-07T07:48:40.000Z
2020-10-26T06:30:12.000Z
client.py
cstyan/8505A1
dd7b7139da5977d7a54792a11523f8576cda4566
[ "MIT" ]
null
null
null
client.py
cstyan/8505A1
dd7b7139da5977d7a54792a11523f8576cda4566
[ "MIT" ]
2
2017-10-19T21:20:06.000Z
2020-04-07T07:48:41.000Z
import logging # don't output warnings from scapy, kthx logging.getLogger("scapy.runtime").setLevel(logging.ERROR) from scapy.all import IP, TCP, send from random import randint import argparse import time import os # globals global maxPort global lastPosition global fileSize maxPort = 65535 asciiMax = 127 lastPositio...
36.660194
84
0.699153
499
3,776
5.282565
0.380762
0.021244
0.011381
0.012898
0.139605
0.085736
0.085736
0.085736
0.059939
0.059939
0
0.015652
0.221663
3,776
103
85
36.660194
0.881252
0.386123
0
0.176471
0
0
0.097817
0
0
0
0
0
0
0
null
null
0
0.088235
null
null
0.058824
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
69271b4cdfbfc484fdbc4cfb265ddf69284dcb08
3,470
py
Python
tests/helpers/ast_helpers.py
rcbops/magic-marker
4ac81ecaed853cf352f48e91cd416c1702391c33
[ "Apache-2.0" ]
null
null
null
tests/helpers/ast_helpers.py
rcbops/magic-marker
4ac81ecaed853cf352f48e91cd416c1702391c33
[ "Apache-2.0" ]
1
2018-07-19T22:54:56.000Z
2018-07-19T22:54:56.000Z
tests/helpers/ast_helpers.py
rcbops/magic-marker
4ac81ecaed853cf352f48e91cd416c1702391c33
[ "Apache-2.0" ]
3
2018-07-18T19:11:24.000Z
2018-07-18T22:00:57.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- # ====================================================================================================================== # Imports # ====================================================================================================================== import ast class Ba...
31.261261
120
0.563977
361
3,470
5.32133
0.257618
0.01874
0.033316
0.03748
0.492452
0.492452
0.492452
0.492452
0.492452
0.43519
0
0.000405
0.288184
3,470
110
121
31.545455
0.777328
0.439193
0
0.25641
0
0
0.018937
0
0
0
0
0
0
1
0.205128
false
0.025641
0.025641
0
0.410256
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
69275cb170010b8648f59e50a6c712e7820ea1af
12,299
py
Python
train/parse_dataflow.py
FSE2022Repair/FSE2022Repair
ae4d80951ef54327306bdd6d9be6428309984c0e
[ "Apache-2.0" ]
21
2021-05-29T09:37:10.000Z
2022-01-23T17:31:51.000Z
train/parse_dataflow.py
FSE2022Repair/FSE2022Repair
ae4d80951ef54327306bdd6d9be6428309984c0e
[ "Apache-2.0" ]
4
2021-11-15T09:03:36.000Z
2022-02-28T19:30:54.000Z
train/parse_dataflow.py
FSE2022Repair/FSE2022Repair
ae4d80951ef54327306bdd6d9be6428309984c0e
[ "Apache-2.0" ]
7
2021-05-29T09:36:16.000Z
2022-03-14T09:43:51.000Z
import pickle from copy import deepcopy import numpy as np terminalsFather = ["value", "name", "member", "qualifier"] #Statement = ["BlockStatement", "Statement", "IfStatement", "AssertStatement", "SwitchStatement", "WhileStatement", "DoStatement", "ForStatement", "BreakStatement", "ContinueStatement", "ReturnStateme...
40.860465
1,231
0.556631
1,302
12,299
5.250384
0.155914
0.057051
0.026331
0.028672
0.473084
0.404037
0.364102
0.352399
0.344792
0.3366
0
0.019594
0.31531
12,299
300
1,232
40.996667
0.792186
0.329376
0
0.424242
0
0
0.059396
0.00576
0
0
0
0
0.005051
1
0.065657
false
0
0.015152
0
0.207071
0.020202
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
6928788a11bf54b2ff8a4bd561e7fabb0a7d91a0
4,052
py
Python
packages/vaex-core/vaex/file/asyncio.py
sethvargo/vaex
c610324316b2c0a14b8ceac2a30e202adc9da28b
[ "MIT" ]
337
2016-02-11T07:36:35.000Z
2018-12-10T07:17:35.000Z
packages/vaex-core/vaex/file/asyncio.py
sethvargo/vaex
c610324316b2c0a14b8ceac2a30e202adc9da28b
[ "MIT" ]
127
2016-07-06T15:43:14.000Z
2018-12-11T18:46:27.000Z
packages/vaex-core/vaex/file/asyncio.py
sethvargo/vaex
c610324316b2c0a14b8ceac2a30e202adc9da28b
[ "MIT" ]
29
2016-10-05T14:15:28.000Z
2018-11-29T10:17:00.000Z
import io import asyncio import threading import queue import logging from starlette import concurrency logger = logging.getLogger('vaex.file.async') class WriteStream(io.RawIOBase): '''File like object that has a sync write API, and a generator as consumer. This is useful for letting 1 thread write t...
28.335664
100
0.58539
506
4,052
4.628459
0.333992
0.042272
0.020495
0.030743
0.092229
0.076857
0.076857
0.059778
0
0
0
0.001834
0.326999
4,052
142
101
28.535211
0.856986
0.252468
0
0.157303
0
0
0.095909
0
0
0
0
0
0
1
0.202247
false
0.011236
0.078652
0.089888
0.460674
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
69318964636832c4f38a1e468a765eaa8bf05f33
370
py
Python
horizon/openstack_dashboard/dashboards/cdn/cdn_monitor_report/urls.py
yianjiajia/openstack_horizon
9e36a4c3648ef29d0df6912d990465f51d6124a6
[ "Apache-2.0" ]
null
null
null
horizon/openstack_dashboard/dashboards/cdn/cdn_monitor_report/urls.py
yianjiajia/openstack_horizon
9e36a4c3648ef29d0df6912d990465f51d6124a6
[ "Apache-2.0" ]
null
null
null
horizon/openstack_dashboard/dashboards/cdn/cdn_monitor_report/urls.py
yianjiajia/openstack_horizon
9e36a4c3648ef29d0df6912d990465f51d6124a6
[ "Apache-2.0" ]
null
null
null
from django.conf.urls import patterns from django.conf.urls import url from .views import IndexView, ajax_view urlpatterns = patterns('', url(r'^$', IndexView.as_view(), name='index'), url(r'^\?tab=monitor_report__data_statistics$', IndexView.as_view(), name='data_statistics_tab'), url(r'^json$', ajax_vie...
30.833333
101
0.697297
51
370
4.823529
0.509804
0.04878
0.113821
0.146341
0.195122
0
0
0
0
0
0
0
0.118919
370
11
102
33.636364
0.754601
0
0
0
0
0
0.240541
0.105405
0
0
0
0
0
1
0
false
0
0.375
0
0.375
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
693196149b7a101bbcdea0d29d94c7d05da82ec6
1,397
py
Python
src/ArgumentParsing/WindowHandleFinderArgs.py
AlexandrePetrassi/awso-me
e174eb478d6f6359d3ad866af2008791b9c73d0c
[ "MIT" ]
null
null
null
src/ArgumentParsing/WindowHandleFinderArgs.py
AlexandrePetrassi/awso-me
e174eb478d6f6359d3ad866af2008791b9c73d0c
[ "MIT" ]
null
null
null
src/ArgumentParsing/WindowHandleFinderArgs.py
AlexandrePetrassi/awso-me
e174eb478d6f6359d3ad866af2008791b9c73d0c
[ "MIT" ]
null
null
null
"""Adds command line options for controlling window handling options""" from argparse import ArgumentParser def get_window_finder_args(args): return { 'max_time': args.timeout, 'frequency': args.tps, } def add_window_handle_finder_args(parser: ArgumentParser): group = parser.add_argumen...
31.75
79
0.663565
172
1,397
5.22093
0.436047
0.13363
0.200445
0.116927
0.23608
0.151448
0
0
0
0
0
0.009506
0.246958
1,397
43
80
32.488372
0.844106
0.046528
0
0.121212
0
0
0.407994
0.046757
0
0
0
0
0
1
0.121212
false
0
0.030303
0.030303
0.181818
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
6932ae92cc52fd534ea7bfba395cae7bc67e35ee
2,365
py
Python
dev/users/models.py
saurabhrautela/core
5cd203f0a1d9d93043b4d809277aae47f9fcfccc
[ "MIT" ]
1
2021-02-09T05:08:43.000Z
2021-02-09T05:08:43.000Z
dev/users/models.py
saurabhrautela/core
5cd203f0a1d9d93043b4d809277aae47f9fcfccc
[ "MIT" ]
null
null
null
dev/users/models.py
saurabhrautela/core
5cd203f0a1d9d93043b4d809277aae47f9fcfccc
[ "MIT" ]
null
null
null
"""Models to interact with the database.""" import uuid from django.db import models from django.contrib.auth.models import AbstractBaseUser from django.contrib.auth.models import PermissionsMixin from django.contrib.auth.models import BaseUserManager from django.conf import settings class UserProfileManager(BaseUser...
31.118421
82
0.676533
274
2,365
5.708029
0.394161
0.031969
0.032609
0.040281
0.224425
0.142583
0.079284
0.042199
0
0
0
0.00486
0.216913
2,365
75
83
31.533333
0.839633
0.099789
0
0.081633
0
0
0.047188
0
0
0
0
0
0
1
0.061224
false
0.163265
0.122449
0
0.55102
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
6936ff735c396511357a102e6242ab731f7f6484
348
py
Python
core/migrations/0012_auto_20210127_0236.py
Braineanear/AL3wn
b523d25386a8b2e45487d1b9d2c78cead623c1e6
[ "Apache-2.0" ]
null
null
null
core/migrations/0012_auto_20210127_0236.py
Braineanear/AL3wn
b523d25386a8b2e45487d1b9d2c78cead623c1e6
[ "Apache-2.0" ]
null
null
null
core/migrations/0012_auto_20210127_0236.py
Braineanear/AL3wn
b523d25386a8b2e45487d1b9d2c78cead623c1e6
[ "Apache-2.0" ]
null
null
null
# Generated by Django 3.1.4 on 2021-01-27 00:36 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('core', '0011_auto_20210127_0210'), ] operations = [ migrations.RenameModel( old_name='OutExam', new_name='Oute...
19.333333
48
0.566092
36
348
5.333333
0.861111
0
0
0
0
0
0
0
0
0
0
0.132479
0.327586
348
17
49
20.470588
0.688034
0.12931
0
0
1
0
0.151408
0.080986
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
6939fa24266272ff1d94d86b33504ddc6b7d238f
657
py
Python
yatranepal/migrations/0028_auto_20200309_2234.py
TimilsinaBimal/Visit-Nepal-2020
437e045b673f917e1be57f055b0d66cc7eab28fd
[ "MIT" ]
1
2020-10-19T14:48:48.000Z
2020-10-19T14:48:48.000Z
yatranepal/migrations/0028_auto_20200309_2234.py
TimilsinaBimal/Visit-Nepal-2020
437e045b673f917e1be57f055b0d66cc7eab28fd
[ "MIT" ]
6
2020-05-12T07:00:08.000Z
2022-03-12T00:15:19.000Z
yatranepal/migrations/0028_auto_20200309_2234.py
TimilsinaBimal/Visit-Nepal-2020
437e045b673f917e1be57f055b0d66cc7eab28fd
[ "MIT" ]
1
2020-01-08T07:44:23.000Z
2020-01-08T07:44:23.000Z
# Generated by Django 2.2.6 on 2020-03-09 16:49 import datetime from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('yatranepal', '0027_auto_20200224_0041'), ] operations = [ migrations.AlterField( model_name='status', ...
25.269231
136
0.607306
66
657
5.954545
0.712121
0.05598
0.127226
0
0
0
0
0
0
0
0
0.103814
0.281583
657
25
137
26.28
0.728814
0.068493
0
0.263158
1
0
0.170492
0.037705
0
0
0
0
0
1
0
false
0
0.105263
0
0.263158
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
693c38737a61f3b4e519c946a2ad7e2fb0301da2
1,126
py
Python
platform/core/tests/test_paths/test_copy_paths.py
hackerwins/polyaxon
ff56a098283ca872abfbaae6ba8abba479ffa394
[ "Apache-2.0" ]
null
null
null
platform/core/tests/test_paths/test_copy_paths.py
hackerwins/polyaxon
ff56a098283ca872abfbaae6ba8abba479ffa394
[ "Apache-2.0" ]
null
null
null
platform/core/tests/test_paths/test_copy_paths.py
hackerwins/polyaxon
ff56a098283ca872abfbaae6ba8abba479ffa394
[ "Apache-2.0" ]
null
null
null
import os import pytest from hestia.paths import copy_to_tmp_dir, get_tmp_path import conf from factories.factory_projects import ProjectFactory from factories.factory_repos import RepoFactory from options.registry.persistence import REPOS_MOUNT_PATH from tests.base.case import BaseTest @pytest.mark.paths_mark cl...
33.117647
68
0.650089
138
1,126
5.036232
0.333333
0.092086
0.069065
0.086331
0.264748
0.166906
0.166906
0.106475
0
0
0
0
0.251332
1,126
33
69
34.121212
0.824437
0
0
0.08
0
0
0.027531
0
0
0
0
0
0.2
1
0.04
false
0
0.32
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
693d7a06d72e08fe99fa751cef9d0eda971ae613
752
py
Python
__init__.py
pygics-mod/grammar
b1bbd3bbb55716e08e0ad02046c976264505a98f
[ "Apache-2.0" ]
null
null
null
__init__.py
pygics-mod/grammar
b1bbd3bbb55716e08e0ad02046c976264505a98f
[ "Apache-2.0" ]
null
null
null
__init__.py
pygics-mod/grammar
b1bbd3bbb55716e08e0ad02046c976264505a98f
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- ''' Created on 2017. 6. 12. @author: HyechurnJang ''' import re class Network: @classmethod def isIP(cls, ip): kv = re.match('\s*(?P<ip>\d\d?\d?\.\d\d?\d?\.\d\d?\d?\.\d\d?\d?)', ip) if kv != None: return kv.group('ip') return None @clas...
27.851852
99
0.472074
122
752
2.909836
0.286885
0.129577
0.169014
0.202817
0.371831
0.278873
0.101408
0.101408
0.101408
0.101408
0
0.014545
0.268617
752
27
100
27.851852
0.630909
0.090426
0
0.294118
0
0.176471
0.271889
0.250384
0
0
0
0
0
1
0.176471
false
0
0.058824
0
0.470588
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
693ffdda1c86eb632565d1b9e80544c3bf46f6b7
1,023
py
Python
my_homepage/posts/migrations/0001_initial.py
beasyx0/my_homepage
12df4fedfe3f39c03a898a229a96c431627d19bd
[ "MIT" ]
null
null
null
my_homepage/posts/migrations/0001_initial.py
beasyx0/my_homepage
12df4fedfe3f39c03a898a229a96c431627d19bd
[ "MIT" ]
null
null
null
my_homepage/posts/migrations/0001_initial.py
beasyx0/my_homepage
12df4fedfe3f39c03a898a229a96c431627d19bd
[ "MIT" ]
null
null
null
# Generated by Django 3.1.11 on 2021-05-24 19:06 from django.db import migrations, models import tinymce.models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Tag', fields=[ ('id'...
31
114
0.565982
102
1,023
5.578431
0.54902
0.045694
0.087873
0.080844
0.27768
0.27768
0.27768
0.27768
0.27768
0.27768
0
0.029167
0.296188
1,023
32
115
31.96875
0.761111
0.044966
0
0.4
1
0
0.061538
0
0
0
0
0
0
1
0
false
0
0.08
0
0.24
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
6945779ece1def5642c452c87489280955f5f5d0
1,228
py
Python
deltasigma/tests/test_nabsH.py
michi7x7/python-deltasigma
029e97eb6de748744f62840114ae6725ec5a721b
[ "OLDAP-2.6", "Python-2.0" ]
43
2015-01-11T14:42:21.000Z
2022-01-06T13:07:06.000Z
deltasigma/tests/test_nabsH.py
thomasrussellmurphy/python-deltasigma
826ccbcfaadc0597e62f55b2d0eda39b26f7c4c1
[ "OLDAP-2.6", "Python-2.0" ]
33
2015-06-04T10:47:36.000Z
2022-01-07T10:20:44.000Z
deltasigma/tests/test_nabsH.py
thomasrussellmurphy/python-deltasigma
826ccbcfaadc0597e62f55b2d0eda39b26f7c4c1
[ "OLDAP-2.6", "Python-2.0" ]
39
2015-02-10T06:55:58.000Z
2022-01-20T19:23:44.000Z
# -*- coding: utf-8 -*- # test_nabsH.py # This module provides the tests for the nabsH function. # Copyright 2014 Giuseppe Venturini # This file is part of python-deltasigma. # # python-deltasigma is a 1:1 Python replacement of Richard Schreier's # MATLAB delta sigma toolbox (aka "delsigma"), upon which it is heavily b...
29.95122
78
0.670195
190
1,228
4.321053
0.557895
0.021924
0.043849
0.051157
0
0
0
0
0
0
0
0.033333
0.218241
1,228
40
79
30.7
0.821875
0.576547
0
0
0
0
0
0
0
0
0
0
0.066667
1
0.133333
false
0.066667
0.266667
0
0.466667
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
6947b6b1ee83d53e30598da200aa354c994acda9
808
py
Python
CURSO EN VIDEO/EX004.py
gnabaes/Exe-Python
771812aea0f7d106b73c21a093bd346ccba5c508
[ "MIT" ]
null
null
null
CURSO EN VIDEO/EX004.py
gnabaes/Exe-Python
771812aea0f7d106b73c21a093bd346ccba5c508
[ "MIT" ]
null
null
null
CURSO EN VIDEO/EX004.py
gnabaes/Exe-Python
771812aea0f7d106b73c21a093bd346ccba5c508
[ "MIT" ]
null
null
null
#faça um programa que leia algo pelo teclado e mostre na tela o seu tipo primitivo e todas as informações possiveis sobre ela b = input("digite algo ") print(" o tipo primitivo desse valor é: ", type(b)) print("so tem espaços?", b.isspace()) print(" é um número ? ",b.isnumeric()) print(" é um alfabeto ?", b.isa...
62.153846
307
0.680693
124
808
4.435484
0.41129
0.032727
0.043636
0.069091
0.090909
0.090909
0
0
0
0
0
0
0.14604
808
12
308
67.333333
0.797101
0.155941
0
0
0
0.1
0.546256
0
0
0
0
0
0
1
0
false
0
0
0
0
0.9
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
6948532a50d39dfcd575d3dc764e913917895b7a
2,166
py
Python
tests/test_utils.py
grohith327/Torch-Runner
ccf429502585deab25d7b626c3940d358f9f924c
[ "MIT" ]
null
null
null
tests/test_utils.py
grohith327/Torch-Runner
ccf429502585deab25d7b626c3940d358f9f924c
[ "MIT" ]
null
null
null
tests/test_utils.py
grohith327/Torch-Runner
ccf429502585deab25d7b626c3940d358f9f924c
[ "MIT" ]
null
null
null
import sys import pytest import torch import torch.nn as nn sys.path.append("..") from torch_runner import EarlyStopping, AverageMeter TEST_SCORE = 100 @pytest.fixture def model(): return nn.Sequential(nn.Linear(8, 8, bias=False)) @pytest.fixture def optimizer(model): return torch.optim.Adam(model.paramet...
26.414634
86
0.695753
312
2,166
4.628205
0.214744
0.091413
0.088643
0.058864
0.617729
0.594183
0.551247
0.551247
0.551247
0.551247
0
0.023713
0.201754
2,166
82
87
26.414634
0.811452
0.010619
0
0.383333
0
0
0.020084
0
0
0
0
0
0.5
1
0.1
false
0
0.083333
0.033333
0.216667
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
1
0
0
0
0
0
0
0
0
0
1
694fbbd51a5206d396d27a5ccd728d05f635e30f
26,736
py
Python
pytests/cbas/cbas_backup_restore.py
ashwin2002/TAF
4223787a1f4c0fe9fa841543020b48ada9ade9e3
[ "Apache-2.0" ]
null
null
null
pytests/cbas/cbas_backup_restore.py
ashwin2002/TAF
4223787a1f4c0fe9fa841543020b48ada9ade9e3
[ "Apache-2.0" ]
null
null
null
pytests/cbas/cbas_backup_restore.py
ashwin2002/TAF
4223787a1f4c0fe9fa841543020b48ada9ade9e3
[ "Apache-2.0" ]
null
null
null
import random from cbas.cbas_base import CBASBaseTest from Jython_tasks.task import CreateDatasetsTask, DropDatasetsTask, \ CreateSynonymsTask, DropSynonymsTask, DropDataversesTask, \ CreateCBASIndexesTask, DropCBASIndexesTask, CreateUDFTask, DropUDFTask from cbas_utils.cbas_utils_v2 import BackupUtils from re...
47.572954
84
0.5867
2,895
26,736
5.107427
0.068048
0.033004
0.036521
0.042608
0.747396
0.702218
0.675166
0.650548
0.604085
0.583863
0
0.006959
0.328172
26,736
561
85
47.657754
0.816223
0.051578
0
0.563265
0
0
0.056886
0.009741
0
0
0
0
0.059184
1
0.034694
false
0
0.014286
0
0.065306
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
6951dff22c90559eb78d3c644934f5083bca7704
356
py
Python
numpytest/pandas/pandas_tjh_04.py
tjhlp/tests
7407df7dbfdf12a5f69ba7bc8bf8d14131534ac2
[ "MIT" ]
null
null
null
numpytest/pandas/pandas_tjh_04.py
tjhlp/tests
7407df7dbfdf12a5f69ba7bc8bf8d14131534ac2
[ "MIT" ]
null
null
null
numpytest/pandas/pandas_tjh_04.py
tjhlp/tests
7407df7dbfdf12a5f69ba7bc8bf8d14131534ac2
[ "MIT" ]
null
null
null
import pandas as pd import quandl """ 简单使用读取csv函数 df = pd.read_csv('../data/ZILLOW-M1300_MPPRSF.csv', index_col=0) # df.to_csv('newcsv4.csv', header=False) df.to_html('example.html') print(df.head()) """ # 使用quandl获取网上的数据 with open('QuanlAPIKey.txt', 'r') as Q: api_key = Q.read() df = quandl.get("FMAC/HPI_TX", ...
18.736842
64
0.69382
58
356
4.12069
0.655172
0.033473
0.09205
0
0
0
0
0
0
0
0
0.019048
0.115169
356
18
65
19.777778
0.739683
0.042135
0
0
0
0
0.159763
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.166667
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
6952674fbdaab03054bacf7340c23c4ebf7b3cd9
555
py
Python
src/simple_email/consts.py
deeso/simple-email
b45baef589c03f023242f26451a9c234cacc1136
[ "Apache-2.0" ]
null
null
null
src/simple_email/consts.py
deeso/simple-email
b45baef589c03f023242f26451a9c234cacc1136
[ "Apache-2.0" ]
null
null
null
src/simple_email/consts.py
deeso/simple-email
b45baef589c03f023242f26451a9c234cacc1136
[ "Apache-2.0" ]
null
null
null
SMTP_SERVICE_BLOCK = 'smtp-service' SMTP_HOST = 'smtp_host' SMTP_PORT = 'smtp_port' SMTP_USERNAME = 'smtp_username' SMTP_PASSWORD = 'smtp_password' SMTP_USE_TLS = 'smtp_use_tls' SMTP_LEVEL = 'smtp_level' SMTP_DEFAULT_VALUES = { SMTP_HOST: '127.0.0.1', SMTP_PORT: '25', SMTP_USERNAME: None, SMTP_PASSWORD...
19.137931
37
0.706306
77
555
4.636364
0.285714
0.089636
0.112045
0.117647
0.448179
0.145658
0
0
0
0
0
0.019956
0.187387
555
28
38
19.821429
0.771619
0
0
0
0
0
0.203604
0
0
0
0
0
0
1
0
false
0.12
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
6954e0bd0a887276c94f3244eeb70cfc2a72ad40
535
py
Python
setup.py
PLPeeters/PyMongo-Smart-Auth
41bfd16cfa9338f03214d4c9488f6190a14628ae
[ "MIT" ]
1
2017-06-02T07:58:41.000Z
2017-06-02T07:58:41.000Z
setup.py
PLPeeters/PyMongo-Smart-Auth
41bfd16cfa9338f03214d4c9488f6190a14628ae
[ "MIT" ]
null
null
null
setup.py
PLPeeters/PyMongo-Smart-Auth
41bfd16cfa9338f03214d4c9488f6190a14628ae
[ "MIT" ]
null
null
null
from setuptools import setup setup(name='pymongo_smart_auth', version='1.2.1', description='This package extends PyMongo to provide built-in smart authentication.', url='https://github.com/PLPeeters/PyMongo-Smart-Auth', author='Pierre-Louis Peeters', author_email='PLPeeters@users.noreply....
33.4375
91
0.661682
60
535
5.783333
0.716667
0.103746
0.138329
0
0
0
0
0
0
0
0
0.006993
0.198131
535
15
92
35.666667
0.801865
0
0
0
0
0
0.478505
0.063551
0
0
0
0
0
1
0
true
0
0.071429
0
0.071429
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
6969105db40e216b7ab9dcab014a550c2fe44ed7
4,857
py
Python
mvpa_itab/script/carlo/permutation_tests.py
robbisg/mvpa_itab_wu
e3cdb198a21349672f601cd34381e0895fa6484c
[ "MIT" ]
1
2022-01-12T08:59:22.000Z
2022-01-12T08:59:22.000Z
mvpa_itab/script/carlo/permutation_tests.py
robbisg/mvpa_itab_wu
e3cdb198a21349672f601cd34381e0895fa6484c
[ "MIT" ]
46
2016-08-04T14:49:37.000Z
2022-03-09T08:47:48.000Z
mvpa_itab/script/carlo/permutation_tests.py
robbisg/mvpa_itab_wu
e3cdb198a21349672f601cd34381e0895fa6484c
[ "MIT" ]
null
null
null
from mvpa_itab.io.base import load_dataset, read_configuration from mvpa_itab.main_wu import detrend_dataset from mvpa_itab.timewise import AverageLinearCSVM, ErrorPerTrial, StoreResults from mvpa2.measures.base import CrossValidation, Dataset from mvpa2.generators.partition import NFoldPartitioner, HalfPartitioner fro...
28.403509
92
0.643401
584
4,857
5.160959
0.392123
0.032847
0.015926
0.019907
0.063039
0.04645
0.023225
0.023225
0
0
0
0.049947
0.220918
4,857
171
93
28.403509
0.746564
0.031707
0
0
0
0
0.155577
0.022738
0
0
0
0
0
0
null
null
0
0.207207
null
null
0.018018
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
696aa736705155d292becf14d4141a44689178e7
9,271
py
Python
turnout_election_schemes/schemes/singletransferablevote/tests/test_singletransferablevote_round.py
devfort/turnout-election-schemes
d9097f6f6241ebc8f5b17b03f09d2bc34189f2cc
[ "MIT" ]
null
null
null
turnout_election_schemes/schemes/singletransferablevote/tests/test_singletransferablevote_round.py
devfort/turnout-election-schemes
d9097f6f6241ebc8f5b17b03f09d2bc34189f2cc
[ "MIT" ]
null
null
null
turnout_election_schemes/schemes/singletransferablevote/tests/test_singletransferablevote_round.py
devfort/turnout-election-schemes
d9097f6f6241ebc8f5b17b03f09d2bc34189f2cc
[ "MIT" ]
null
null
null
import unittest from fractions import Fraction from turnout_election_schemes.schemes.errors import FailedElectionError from turnout_election_schemes.schemes.singletransferablevote.scheme import Round class RoundTest(unittest.TestCase): def test_all_vacancies_filled_should_be_true_after_round_runs(self): ""...
33.110714
127
0.492935
948
9,271
4.694093
0.195148
0.057528
0.059326
0.071685
0.582921
0.537978
0.50382
0.424494
0.424494
0.380899
0
0.012256
0.375148
9,271
279
128
33.229391
0.755912
0.006795
0
0.52356
0
0
0.077993
0.021075
0
0
0
0.003584
0.068063
0
null
null
0
0.020942
null
null
0.010471
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
696e5d6039b28651e60b0128c2c3a0482f32280e
812
py
Python
request_token/templatetags/request_token_tags.py
alex-hutton/django-request-token
299c4cb22ce3012c7ef995a648e5b1ea6b8a84d7
[ "MIT" ]
null
null
null
request_token/templatetags/request_token_tags.py
alex-hutton/django-request-token
299c4cb22ce3012c7ef995a648e5b1ea6b8a84d7
[ "MIT" ]
null
null
null
request_token/templatetags/request_token_tags.py
alex-hutton/django-request-token
299c4cb22ce3012c7ef995a648e5b1ea6b8a84d7
[ "MIT" ]
null
null
null
from django import template from django.utils.html import format_html from ..settings import JWT_QUERYSTRING_ARG register = template.Library() @register.simple_tag(takes_context=True) def request_token(context): """Render a hidden form field containing request token.""" request_token = context.get('request_t...
29
65
0.697044
102
812
5.362745
0.421569
0.219378
0.093236
0.080439
0.281536
0.175503
0.175503
0.175503
0.175503
0
0
0
0.182266
812
27
66
30.074074
0.823795
0.1367
0
0.2
0
0
0.105797
0
0
0
0
0
0
1
0.1
false
0
0.15
0
0.45
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
15c24518fdcb5a39b0f35a7870a3612878c242f2
5,659
py
Python
server/edd/export/tasks.py
trussworks/edd
1183c6bb1f04de31d8c4c6ed7b97b051228f3bb7
[ "BSD-3-Clause-LBNL" ]
13
2016-11-15T07:33:40.000Z
2021-09-22T12:19:13.000Z
server/edd/export/tasks.py
trussworks/edd
1183c6bb1f04de31d8c4c6ed7b97b051228f3bb7
[ "BSD-3-Clause-LBNL" ]
40
2017-04-04T15:20:14.000Z
2022-03-31T04:34:37.000Z
server/edd/export/tasks.py
trussworks/edd
1183c6bb1f04de31d8c4c6ed7b97b051228f3bb7
[ "BSD-3-Clause-LBNL" ]
10
2017-09-21T07:27:01.000Z
2022-03-10T17:02:19.000Z
""" Module contains tasks to be executed asynchronously by Celery worker nodes. """ from celery import shared_task from celery.utils.log import get_task_logger from django.contrib.auth import get_user_model from django.urls import reverse from django.utils.translation import gettext as _ from edd.notify.backend impor...
39.298611
90
0.671497
705
5,659
5.236879
0.212766
0.029252
0.017876
0.019502
0.722373
0.675515
0.675515
0.659805
0.659805
0.64572
0
0.001387
0.235377
5,659
143
91
39.573427
0.85186
0.183955
0
0.596154
0
0
0.143455
0.035919
0
0
0
0
0
1
0.038462
false
0
0.096154
0
0.173077
0
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
15c4086838ce63315a8b21d0e450f8587fb7b793
2,313
py
Python
tensorflow_book/c4/test.py
imrocky1976/ML-AI
3f8058ae6464c72bfab1a8fca429865b7b48f3fb
[ "MIT" ]
null
null
null
tensorflow_book/c4/test.py
imrocky1976/ML-AI
3f8058ae6464c72bfab1a8fca429865b7b48f3fb
[ "MIT" ]
null
null
null
tensorflow_book/c4/test.py
imrocky1976/ML-AI
3f8058ae6464c72bfab1a8fca429865b7b48f3fb
[ "MIT" ]
null
null
null
# -*- coding:utf-8 -*- import tensorflow as tf import os W = [[ 0.82579714], [-0.10430956], [-1.34950912], [ 2.63314915], [-0.01525408]] b = -0.628012 def read_csv(batch_size, file_name, record_defaults): filename_queue = tf.train.string_input_producer([os.path.dirname(__file__) + "/titanic/" + file_name]) r...
31.256757
106
0.553394
279
2,313
4.379928
0.422939
0.00982
0.012275
0.013093
0.085106
0.072013
0.066285
0
0
0
0
0.049291
0.298314
2,313
73
107
31.684932
0.703635
0.030696
0
0
0
0
0.014818
0
0
0
0
0
0
0
null
null
0.025
0.05
null
null
0.025
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
15c84c41886e3f9c6cee1be486ae0a448b9b24e6
13,300
py
Python
Virtual World Finals/adjacent_and_consecutive2.py
kamyu104/GoogleCodeJam-2020
20effc232eb4a68fe10c44ce032b7831950985dd
[ "MIT" ]
47
2020-04-05T10:41:39.000Z
2022-03-05T10:51:50.000Z
Virtual World Finals/adjacent_and_consecutive2.py
kamyu104/GoogleCodeJam-2020
20effc232eb4a68fe10c44ce032b7831950985dd
[ "MIT" ]
null
null
null
Virtual World Finals/adjacent_and_consecutive2.py
kamyu104/GoogleCodeJam-2020
20effc232eb4a68fe10c44ce032b7831950985dd
[ "MIT" ]
19
2020-04-07T03:04:57.000Z
2021-07-22T22:37:51.000Z
# Copyright (c) 2020 kamyu. All rights reserved. # # Google Code Jam 2020 Virtual World Finals - Problem B. Adjacent and Consecutive # https://codingcompetitions.withgoogle.com/codejam/round/000000000019ff31/00000000003b53ce # # Time: O(N^2), could be improved to O(NlogN) by using ordered set or skip list # Space: O(N...
43.75
150
0.566617
2,421
13,300
2.91615
0.076415
0.019547
0.018414
0.040368
0.604533
0.536686
0.507365
0.490085
0.457082
0.422238
0
0.040569
0.312406
13,300
303
151
43.894389
0.731438
0.148421
0
0.33935
0
0
0.001508
0
0
0
0
0
0.01444
0
null
null
0
0.00361
null
null
0.00361
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
15cc15e7eb0f462683f3d94d25a21a20e24c966a
2,954
py
Python
BasicBlocksPyew/plugins/diagrams.py
JoeyJiao/peach
661cb39034583a8cf1b02b56e6b409f2c7498e07
[ "MIT" ]
10
2017-06-18T19:40:23.000Z
2022-03-09T08:09:44.000Z
BasicBlocksPyew/plugins/diagrams.py
JoeyJiao/peach
661cb39034583a8cf1b02b56e6b409f2c7498e07
[ "MIT" ]
2
2019-07-01T12:39:41.000Z
2020-11-09T11:40:54.000Z
BasicBlocksPyew/plugins/diagrams.py
JoeyJiao/peach
661cb39034583a8cf1b02b56e6b409f2c7498e07
[ "MIT" ]
11
2016-07-01T02:21:06.000Z
2020-11-23T08:29:22.000Z
#!/usr/bin/env python import os import sys class CNode: name = None label = None def __init__(self, name, label): self.name = name self.label = label class CDotDiagram: def __init__(self): self.index = 0 self.identifiers = {} self.nodes = {} self.conne...
32.108696
112
0.498984
326
2,954
4.472393
0.260736
0.133745
0.046639
0.037037
0.222908
0.222908
0.098765
0.037037
0
0
0
0.022051
0.385917
2,954
91
113
32.461538
0.781698
0.012187
0
0.144928
0
0
0.109054
0
0
0
0
0
0
0
null
null
0.014493
0.028986
null
null
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
1
0
0
0
0
0
0
0
0
1
15d0541f877b30d49b43606de781f93c1f272af7
784
py
Python
Helper/APPdriver.py
xudongchou/APT
649cda3006f598e4afd4f20c4debf1baa576845f
[ "MIT" ]
null
null
null
Helper/APPdriver.py
xudongchou/APT
649cda3006f598e4afd4f20c4debf1baa576845f
[ "MIT" ]
null
null
null
Helper/APPdriver.py
xudongchou/APT
649cda3006f598e4afd4f20c4debf1baa576845f
[ "MIT" ]
null
null
null
""" @project:APT @author:lenovo @file:APPdriver.py @ide:PyCharm @time:2019/8/6 15:25 @month:八月 """ from client.android.stf_api.stf_api import StfDevice import os, time from Helper.helper import load_caps from Conf.settings import AppDriver from Conf.stf_conf import executer class AppDriver: def driver(self): ...
28
92
0.735969
106
784
5.198113
0.490566
0.108893
0.087114
0.087114
0
0
0
0
0
0
0
0.01548
0.17602
784
27
93
29.037037
0.837461
0.114796
0
0
0
0
0.026277
0
0
0
0
0
0
1
0.0625
false
0
0.3125
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
0
1
0
0
0
0
1
15d6980a72ad622ee76cf4c402f9af4dbedebd15
1,614
py
Python
Day 15/LittleJhoolAndPhysicPowers.py
sandeep-krishna/100DaysOfCode
af4594fb6933e4281d298fa921311ccc07295a7c
[ "MIT" ]
null
null
null
Day 15/LittleJhoolAndPhysicPowers.py
sandeep-krishna/100DaysOfCode
af4594fb6933e4281d298fa921311ccc07295a7c
[ "MIT" ]
null
null
null
Day 15/LittleJhoolAndPhysicPowers.py
sandeep-krishna/100DaysOfCode
af4594fb6933e4281d298fa921311ccc07295a7c
[ "MIT" ]
null
null
null
''' Little Jhool and psychic powers Little Jhool always wanted to have some psychic powers so that he could showoff his skills, and magic to people and impress them. (Specially, his girlfriend Big Jhool!) But, in spite all his efforts, hardwork, dedication, Googling, watching youtube videos he couldn't garner any psyc...
44.833333
297
0.739777
281
1,614
4.24911
0.498221
0.050251
0.037688
0.020101
0
0
0
0
0
0
0
0.020015
0.195167
1,614
36
298
44.833333
0.899153
0.870508
0
0
0
0
0.174129
0
0
0
0
0
0
1
0
false
0
0
0
0
0.285714
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
15dd0e9c1a4a7d2ec1043219848fe899da5ab9e2
2,262
py
Python
test/test_voxel.py
shenoyn/libcloud
bd902992a658b6a99193d69323e051ffa7388253
[ "Apache-2.0" ]
1
2015-11-08T12:59:27.000Z
2015-11-08T12:59:27.000Z
test/test_voxel.py
shenoyn/libcloud
bd902992a658b6a99193d69323e051ffa7388253
[ "Apache-2.0" ]
null
null
null
test/test_voxel.py
shenoyn/libcloud
bd902992a658b6a99193d69323e051ffa7388253
[ "Apache-2.0" ]
null
null
null
# Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # libcloud.org licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may not...
44.352941
420
0.745358
296
2,262
5.652027
0.570946
0.035864
0.015541
0.019127
0.020323
0
0
0
0
0
0
0.037349
0.159593
2,262
50
421
45.24
0.842714
0.33466
0
0
0
0.037037
0.324832
0.244295
0
0
0
0
0.037037
0
null
null
0.037037
0.296296
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
15e21570574316923ea5354f70e4ca4a982115de
11,660
py
Python
resources/tools/trex/trex_stateless_profile.py
preym17/csit
3151c98618c78e3782e48bbe4d9c8f906c126f69
[ "Apache-2.0" ]
null
null
null
resources/tools/trex/trex_stateless_profile.py
preym17/csit
3151c98618c78e3782e48bbe4d9c8f906c126f69
[ "Apache-2.0" ]
null
null
null
resources/tools/trex/trex_stateless_profile.py
preym17/csit
3151c98618c78e3782e48bbe4d9c8f906c126f69
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python3 # Copyright (c) 2019 Cisco and/or its affiliates. # 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 ...
36.898734
80
0.561321
1,398
11,660
4.536481
0.216738
0.021287
0.026805
0.02176
0.337748
0.325134
0.271208
0.220751
0.181331
0.181331
0
0.017766
0.328988
11,660
315
81
37.015873
0.792817
0.086792
0
0.411458
0
0
0.148135
0.01403
0
0
0
0
0
0
null
null
0
0.020833
null
null
0.078125
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
15fa3ba1fccbd55e3588ad2efbbfead5da72f7a4
14,797
py
Python
code/fun.py
LordOfPolls/Helix3
7ad62ce8dd831a31d846457cfba98807f9ba6c19
[ "MIT" ]
null
null
null
code/fun.py
LordOfPolls/Helix3
7ad62ce8dd831a31d846457cfba98807f9ba6c19
[ "MIT" ]
40
2018-06-18T13:43:42.000Z
2018-07-24T19:24:57.000Z
code/fun.py
LordOfPolls/Helix3
7ad62ce8dd831a31d846457cfba98807f9ba6c19
[ "MIT" ]
2
2018-07-17T20:47:23.000Z
2018-07-27T17:42:53.000Z
import asyncio import discord import timeit import code.get as get import urllib import urllib.request as urllib2 import bs4 import aiohttp import random import requests import os import logging import imgurpython from bs4 import BeautifulSoup from discord.ext import commands from imgurpython import Imgu...
45.112805
257
0.55295
1,668
14,797
4.848921
0.284173
0.05366
0.074184
0.051434
0.467606
0.447082
0.425321
0.383655
0.382666
0.276583
0
0.013991
0.309252
14,797
327
258
45.250765
0.777321
0
0
0.387324
0
0.003521
0.169229
0
0
0
0.0034
0
0
1
0.007042
false
0.052817
0.088028
0
0.098592
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
15fa3f4556865207f19284794ca508449f0ca9d8
6,616
py
Python
umake/umake.py
mlbo/cmake_examples
ef953a3f440057d1081accc4d4f69a3fd0a20ad7
[ "MIT" ]
84
2020-09-07T01:38:44.000Z
2022-03-31T16:05:11.000Z
umake/umake.py
mlbo/cmake_examples
ef953a3f440057d1081accc4d4f69a3fd0a20ad7
[ "MIT" ]
13
2020-09-08T13:29:47.000Z
2022-01-21T11:23:30.000Z
umake/umake.py
mlbo/cmake_examples
ef953a3f440057d1081accc4d4f69a3fd0a20ad7
[ "MIT" ]
19
2020-09-07T02:30:59.000Z
2022-03-31T16:13:30.000Z
#!/usr/bin/env python #coding: utf-8 class CMake(object): def __init__(self, cmake_version='3.15', project_name='project', tab=' '): self.txt = [] self.txt.append('CMAKE_MINIMUM_REQUIRED(VERSION {:s})'.format(cmake_version)) self.txt.append('') self.txt.append('project({:s})'.forma...
36.351648
147
0.506651
764
6,616
4.183246
0.157068
0.107009
0.069149
0.050063
0.707447
0.691802
0.65582
0.616708
0.590113
0.590113
0
0.003843
0.370768
6,616
181
148
36.552486
0.763872
0.11049
0
0.712
0
0
0.093614
0.029581
0
0
0
0.005525
0
1
0.16
false
0.008
0
0
0.216
0.048
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
15faee60c5fba1a06103520fd9ab181a065769b5
2,014
py
Python
app/forms.py
OkayJosh/just_another_student_app
2264d0ef4753d3fcc39a384d289e2e34023d92db
[ "MIT" ]
null
null
null
app/forms.py
OkayJosh/just_another_student_app
2264d0ef4753d3fcc39a384d289e2e34023d92db
[ "MIT" ]
13
2020-02-12T00:44:07.000Z
2022-03-11T23:51:26.000Z
app/forms.py
OkayJosh/just_another_student_app
2264d0ef4753d3fcc39a384d289e2e34023d92db
[ "MIT" ]
1
2019-05-24T12:48:14.000Z
2019-05-24T12:48:14.000Z
from django.forms import ModelForm from .models import ( Student, Parent, Book, Literacy, Attendance, Incentive, Appraisal, Posting, AbsenceRecord, OutOfSchool, ReturnToSchool, Feeding) class StudentForm(ModelForm): """ The student form """ class Meta: ...
17.666667
66
0.567527
173
2,014
6.595376
0.260116
0.126205
0.147239
0.173532
0
0
0
0
0
0
0
0
0.32721
2,014
114
67
17.666667
0.842066
0.134062
0
0.423077
0
0
0.058937
0
0
0
0
0
0
1
0
false
0
0.038462
0
0.5
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
15fb1a4fad42f88b2322838da6f6f182012f4cbd
651
py
Python
examples/basics/kmeans.py
jjpalacio/tflearn
e69bc9f341a1d2a90080bb24a686e0e2cf724d63
[ "MIT" ]
10,882
2016-03-31T16:03:11.000Z
2022-03-26T03:00:27.000Z
examples/basics/kmeans.py
ciderpark/tflearn
5c23566de6e614a36252a5828d107d001a0d0482
[ "MIT" ]
1,079
2016-04-02T06:14:16.000Z
2022-02-27T10:04:47.000Z
examples/basics/kmeans.py
ciderpark/tflearn
5c23566de6e614a36252a5828d107d001a0d0482
[ "MIT" ]
3,014
2016-03-31T16:03:26.000Z
2022-03-30T20:36:53.000Z
""" K-Means Example """ from __future__ import division, print_function, absolute_import from tflearn.estimators import KMeans # Data loading and preprocessing import tflearn.datasets.mnist as mnist X, Y, testX, testY = mnist.load_data(one_hot=False) # K-Means training m = KMeans(n_clusters=10, distance='squared_eu...
24.111111
64
0.763441
97
651
4.979381
0.56701
0.049689
0.062112
0.082816
0.086957
0
0
0
0
0
0
0.017153
0.104455
651
26
65
25.038462
0.811321
0.112135
0
0
0
0
0.267135
0
0
0
0
0
0
1
0
false
0
0.214286
0
0.214286
0.642857
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
c6068f6c6308edd05ecdbe600b90a62dac2c6d72
345
py
Python
constant.py
GGN-2015/BitMusic
03a61280628f927f8ca1a3c48b415677e16203de
[ "MIT" ]
null
null
null
constant.py
GGN-2015/BitMusic
03a61280628f927f8ca1a3c48b415677e16203de
[ "MIT" ]
null
null
null
constant.py
GGN-2015/BitMusic
03a61280628f927f8ca1a3c48b415677e16203de
[ "MIT" ]
null
null
null
# -*- encoding: utf-8 -*- """ constant 储存各种常量,保证常量的统一性 """ DEFAULT_SPEED = 120 # 默认速度 DEFAULT_TONE = "Sine" # 默认音色 DEFAULT_VOLUME = 0.02 # 默认音量 MAX_VOLUME = 1.0 # 最大音量 MIN_VOLUME = 0.0 # 最小音量 NO_LENGTH = -1 # 用来表示当前音乐没有长度的标记 def getBeatLengthBySpeed(speed): # 根据当前的速度,计算每一拍...
23
51
0.602899
41
345
4.926829
0.756098
0.069307
0
0
0
0
0
0
0
0
0
0.056452
0.281159
345
15
52
23
0.758065
0.310145
0
0
0
0
0.018519
0
0
0
0
0
0
1
0.125
false
0
0
0.125
0.25
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
1
0
0
0
1
c6092908d29355abb083272b89c400e6cf8773c3
1,846
py
Python
django_ilmoitin/migrations/0002_add_admin_notifications.py
tuomas777/django-ilmoitin
304571084412bbb06cbca01e270408860eb63360
[ "MIT" ]
null
null
null
django_ilmoitin/migrations/0002_add_admin_notifications.py
tuomas777/django-ilmoitin
304571084412bbb06cbca01e270408860eb63360
[ "MIT" ]
null
null
null
django_ilmoitin/migrations/0002_add_admin_notifications.py
tuomas777/django-ilmoitin
304571084412bbb06cbca01e270408860eb63360
[ "MIT" ]
null
null
null
# Generated by Django 2.2.3 on 2019-08-20 11:24 from django.conf import settings from django.db import migrations, models import django_ilmoitin.models class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ("django_ilmoitin", "0001_ini...
32.964286
96
0.575298
168
1,846
6.095238
0.410714
0.117188
0.089844
0.105469
0.232422
0.232422
0.132813
0.132813
0
0
0
0.020542
0.340737
1,846
55
97
33.563636
0.820871
0.024377
0
0.387755
1
0
0.239578
0.049472
0
0
0
0
0
1
0
false
0
0.061224
0
0.122449
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
c610bd9cc8cc1fad3caacd0aa00bd2431e043d85
765
py
Python
Python/4-bmp180-sensor.py
matr1xprogrammer/raspberry_pi-iot
7ff8247fde839a23dd75720c58f3b04d86485ec4
[ "MIT" ]
2
2017-02-18T12:05:25.000Z
2017-02-18T12:15:53.000Z
Python/4-bmp180-sensor.py
matr1xprogrammer/raspberry_pi-iot
7ff8247fde839a23dd75720c58f3b04d86485ec4
[ "MIT" ]
null
null
null
Python/4-bmp180-sensor.py
matr1xprogrammer/raspberry_pi-iot
7ff8247fde839a23dd75720c58f3b04d86485ec4
[ "MIT" ]
null
null
null
#!/usr/bin/python # -*- coding: utf-8 -*- ''' BMP180/BMP085 Barometric sensor Requires Adafruit BMP library git clone https://github.com/adafruit/Adafruit_Python_BMP.git cd Adafruit_Python_BMP sudo python setup.py install ''' import sys, time import Adafruit_BMP.BMP085 as BMP085 try: sensor = BMP08...
31.875
84
0.684967
110
765
4.654545
0.454545
0.015625
0.03125
0.046875
0.117188
0.117188
0.117188
0.117188
0
0
0
0.072086
0.147712
765
23
85
33.26087
0.711656
0.359477
0
0
0
0
0.223404
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.5
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
c61319b6d177ab7517dd2cf8041f43652d4831de
554
py
Python
terrascript/provider/e_breuninger/netbox.py
mjuenema/python-terrascript
6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d
[ "BSD-2-Clause" ]
507
2017-07-26T02:58:38.000Z
2022-01-21T12:35:13.000Z
terrascript/provider/e_breuninger/netbox.py
mjuenema/python-terrascript
6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d
[ "BSD-2-Clause" ]
135
2017-07-20T12:01:59.000Z
2021-10-04T22:25:40.000Z
terrascript/provider/e_breuninger/netbox.py
mjuenema/python-terrascript
6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d
[ "BSD-2-Clause" ]
81
2018-02-20T17:55:28.000Z
2022-01-31T07:08:40.000Z
# terrascript/provider/e-breuninger/netbox.py # Automatically generated by tools/makecode.py (24-Sep-2021 15:22:23 UTC) import terrascript class netbox(terrascript.Provider): """Terraform provider to interact with Netbox""" __description__ = "Terraform provider to interact with Netbox" __namespace__ = "...
27.7
76
0.722022
66
554
5.575758
0.651515
0.089674
0.103261
0.146739
0.201087
0.201087
0
0
0
0
0
0.062099
0.15704
554
19
77
29.157895
0.72591
0.287004
0
0
1
0
0.404639
0
0
0
0
0
0
1
0
false
0
0.1
0
0.9
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
c6175b22f6ba3af62697896261dd98093835f182
366
py
Python
docs/source/Example_FindInstrument_SelectVisa.py
Rohde-Schwarz/RsInstruments
67d06dfa32434bfa97243d1d5d33957e1393146f
[ "MIT" ]
17
2021-03-15T11:21:38.000Z
2022-03-21T09:28:05.000Z
docs/source/Example_FindInstrument_SelectVisa.py
Rohde-Schwarz/RsInstruments
67d06dfa32434bfa97243d1d5d33957e1393146f
[ "MIT" ]
3
2021-08-25T15:10:55.000Z
2022-03-16T12:08:26.000Z
docs/source/Example_FindInstrument_SelectVisa.py
Rohde-Schwarz/RsInstruments
67d06dfa32434bfa97243d1d5d33957e1393146f
[ "MIT" ]
6
2021-04-18T08:46:51.000Z
2022-03-31T10:33:44.000Z
.. code-block:: python """ Find the instruments in your environment with the defined VISA implementation """ from RsInstrument import * # In the optional parameter visa_select you can use e.g.: 'rs' or 'ni' # Rs Visa also finds any NRP-Zxx USB sensors instr_list = RsInstrument.lis...
28.153846
81
0.65847
49
366
4.836735
0.77551
0.075949
0
0
0
0
0
0
0
0
0
0
0.245902
366
12
82
30.5
0.858696
0.303279
0
0
0
0
0.025157
0
0
0
0
0
0
0
null
null
0
0.25
null
null
0.25
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
c61788b7462765a95ab4f2daabe630d54fa09be0
30,540
py
Python
public/yum-3.2.28/rpmUtils/updates.py
chillaxor/blogbin
211202d513fa80a3d22fb3963f36a01a8dec5b68
[ "MIT" ]
null
null
null
public/yum-3.2.28/rpmUtils/updates.py
chillaxor/blogbin
211202d513fa80a3d22fb3963f36a01a8dec5b68
[ "MIT" ]
5
2021-02-02T08:17:10.000Z
2022-02-27T06:53:42.000Z
public/yum-3.2.28/rpmUtils/updates.py
chillaxor/blogbin
211202d513fa80a3d22fb3963f36a01a8dec5b68
[ "MIT" ]
null
null
null
#!/usr/bin/python -tt # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that i...
42.713287
104
0.516732
3,526
30,540
4.40329
0.138117
0.009404
0.01256
0.010563
0.372601
0.308193
0.264717
0.247005
0.226201
0.198892
0
0.007571
0.394532
30,540
714
105
42.773109
0.83208
0.153045
0
0.434685
0
0
0.009065
0
0
0
0
0.001401
0
0
null
null
0.004505
0.006757
null
null
0.013514
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
c61b5688852ae10b6f12b343d533fe329af3e54f
264
py
Python
code/12/exception/binary_converter/binaray_converter.py
TeamLab/introduction_to_pythoy_TEAMLAB_MOOC
ebf1ff02d6a341bfee8695eac478ff8297cb97e4
[ "MIT" ]
65
2017-11-01T01:57:21.000Z
2022-02-08T13:36:25.000Z
code/12/exception/binary_converter/binaray_converter.py
TeamLab/introduction_to_pythoy_TEAMLAB_MOOC
ebf1ff02d6a341bfee8695eac478ff8297cb97e4
[ "MIT" ]
9
2017-11-03T15:05:30.000Z
2018-05-17T03:18:36.000Z
code/12/exception/binary_converter/binaray_converter.py
TeamLab/introduction_to_pythoy_TEAMLAB_MOOC
ebf1ff02d6a341bfee8695eac478ff8297cb97e4
[ "MIT" ]
64
2017-11-01T01:57:23.000Z
2022-01-19T03:52:12.000Z
user_input = 999 while user_input != "0": user_input = input("십진수 숫자를 입력해주세요 : ") try: decimal_number = int(user_input) print(bin(decimal_number)) except ValueError as e: print(e) print("Error - 10진수 숫자만 입력해주시기 바랍니다.")
24
46
0.606061
35
264
4.4
0.657143
0.233766
0
0
0
0
0
0
0
0
0
0.031746
0.284091
264
10
47
26.4
0.783069
0
0
0
0
0
0.178707
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
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
c61e401cf63ed7d870986fd896b0e9ae4ef0aca8
442
py
Python
more_cores/scripts/run_job.py
brianlevis/more-cores
b5b3d91b788d8eff10322dac32ff1881e6fb8395
[ "MIT" ]
null
null
null
more_cores/scripts/run_job.py
brianlevis/more-cores
b5b3d91b788d8eff10322dac32ff1881e6fb8395
[ "MIT" ]
null
null
null
more_cores/scripts/run_job.py
brianlevis/more-cores
b5b3d91b788d8eff10322dac32ff1881e6fb8395
[ "MIT" ]
null
null
null
import pickle import sys import dill from pathos.pools import ProcessPool id_number, num_cores = sys.argv[1:3] with open('data_{}.pkl'.format(id_number), 'rb') as fp: func, args_set = dill.load(fp) pool = ProcessPool(nodes=int(num_cores)) results = list(pool.imap(func, *zip(*args_set))) # results = [ # func...
22.1
58
0.692308
71
442
4.169014
0.535211
0.081081
0.074324
0.114865
0
0
0
0
0
0
0
0.005319
0.149321
442
19
59
23.263158
0.781915
0.113122
0
0
0
0
0.074742
0
0
0
0
0
0
1
0
false
0
0.363636
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
0
0
0
0
0
0
1
0
0
0
0
1
c61ecd88c33f5e4e2bbbe500f5481d63bcc6cc15
4,025
py
Python
src/KnotTheory/HFK-Zurich/genGen.py
craigfreilly/masters-project-submission
902911917acec3fc26c7d3bfd5db1ae1f182890f
[ "MIT" ]
null
null
null
src/KnotTheory/HFK-Zurich/genGen.py
craigfreilly/masters-project-submission
902911917acec3fc26c7d3bfd5db1ae1f182890f
[ "MIT" ]
null
null
null
src/KnotTheory/HFK-Zurich/genGen.py
craigfreilly/masters-project-submission
902911917acec3fc26c7d3bfd5db1ae1f182890f
[ "MIT" ]
null
null
null
import gc def genPseudogen(ellx,elly):#ell is a list of pairs representing #width of ellipses,in ellx [a,b] means a<y<b, not a<y<=b!!! pool=[[]] for i in xrange(len(ellx)): if ellx[i]==-1: for g in pool: g.append(-1) continue tmp=[] f...
30.961538
102
0.413416
613
4,025
2.701468
0.151713
0.022947
0.028986
0.043478
0.161232
0.104469
0.062802
0.056763
0.036232
0.036232
0
0.063389
0.388571
4,025
129
103
31.20155
0.609508
0.151801
0
0.201835
0
0
0.003073
0
0
0
0
0
0
0
null
null
0
0.009174
null
null
0.018349
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
c620c6473cc9b6216fd01d3969228a6854abd6b7
421
py
Python
hackerrank/Algorithms/Caesar Cipher/test.py
ATrain951/01.python-com_Qproject
c164dd093954d006538020bdf2e59e716b24d67c
[ "MIT" ]
4
2020-07-24T01:59:50.000Z
2021-07-24T15:14:08.000Z
hackerrank/Algorithms/Caesar Cipher/test.py
ATrain951/01.python-com_Qproject
c164dd093954d006538020bdf2e59e716b24d67c
[ "MIT" ]
null
null
null
hackerrank/Algorithms/Caesar Cipher/test.py
ATrain951/01.python-com_Qproject
c164dd093954d006538020bdf2e59e716b24d67c
[ "MIT" ]
null
null
null
import unittest import solution class TestQ(unittest.TestCase): def test_case_0(self): self.assertEqual(solution.caesarCipher('middle-Outz', 2), 'okffng-Qwvb') def test_case_1(self): self.assertEqual( solution.caesarCipher('Always-Look-on-the-Bright-Side-of-Life', 5), ...
22.157895
80
0.650831
53
421
4.943396
0.735849
0.053435
0.083969
0.206107
0.29771
0
0
0
0
0
0
0.012048
0.211401
421
18
81
23.388889
0.777108
0
0
0
0
0
0.251781
0.180523
0
0
0
0
0.166667
1
0.166667
false
0
0.166667
0
0.416667
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
c62490e754016fcb5baf819e480b00567f6b3fb9
9,256
py
Python
xrdsst/resources/texts.py
nordic-institute/X-Road-Security-Server-toolkit
1538dbf3d76647f4fb3a72bbe93bf54f414ee9fb
[ "MIT" ]
7
2020-11-01T19:50:11.000Z
2022-01-18T17:45:19.000Z
xrdsst/resources/texts.py
nordic-institute/X-Road-Security-Server-toolkit
1538dbf3d76647f4fb3a72bbe93bf54f414ee9fb
[ "MIT" ]
24
2020-11-09T08:09:10.000Z
2021-06-16T07:22:14.000Z
xrdsst/resources/texts.py
nordic-institute/X-Road-Security-Server-toolkit
1538dbf3d76647f4fb3a72bbe93bf54f414ee9fb
[ "MIT" ]
1
2021-04-27T14:39:48.000Z
2021-04-27T14:39:48.000Z
texts = { # App 'app.description': 'A toolkit for configuring X-Road security servers', 'app.label': 'xrdsst', # Root application parameters 'root.parameter.configfile.description': "Specify configuration file to use instead of default 'config/xrdsst.yml'", # Controllers 'auto.controller.d...
72.88189
190
0.696629
1,080
9,256
6.080556
0.257407
0.041115
0.06624
0.073093
0.426222
0.313081
0.24014
0.221106
0.181361
0.162936
0
0.001091
0.207649
9,256
126
191
73.460317
0.876875
0.031439
0
0.0625
0
0.05
0.860686
0.287381
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
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
c628db84eed271b50b01a11d181f117de1145705
933
py
Python
generate_yarnmodels/generate_bending4D.py
kamleshbhalui/MADYPG
b91c7af0b7a1382fed0a5fb3147f13594ddec71e
[ "MIT" ]
null
null
null
generate_yarnmodels/generate_bending4D.py
kamleshbhalui/MADYPG
b91c7af0b7a1382fed0a5fb3147f13594ddec71e
[ "MIT" ]
null
null
null
generate_yarnmodels/generate_bending4D.py
kamleshbhalui/MADYPG
b91c7af0b7a1382fed0a5fb3147f13594ddec71e
[ "MIT" ]
null
null
null
import generate import numpy as np rgexy = np.concatenate([np.linspace(-0.2,0.0,9 - 9*4//6), np.linspace(0.0,1.0,9*4//6 + 1)[1:]]) rgea = np.linspace(-0.7,0.7,9) nsamples = 9 for name, pypfile, bendx, bendy in [ ['stock', "pyp/hylc2020/stockinette.pyp", [-200, 200], [-230, 230]], ['rib', "pyp/hylc2020/cartrid...
44.428571
103
0.610932
146
933
3.849315
0.376712
0.064057
0.064057
0.042705
0.053381
0
0
0
0
0
0
0.134422
0.146838
933
20
104
46.65
0.571608
0.243301
0
0
1
0
0.149786
0.089872
0
0
0
0
0
1
0
false
0
0.133333
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c62ae12b2aa4515968748b85d976e3b591d7ab96
33,893
py
Python
plugin/sampleID/sampleID_plugin.py
iontorrent/TS
7591590843c967435ee093a3ffe9a2c6dea45ed8
[ "Apache-2.0" ]
125
2015-01-22T05:43:23.000Z
2022-03-22T17:15:59.000Z
plugin/sampleID/sampleID_plugin.py
iontorrent/TS
7591590843c967435ee093a3ffe9a2c6dea45ed8
[ "Apache-2.0" ]
59
2015-02-10T09:13:06.000Z
2021-11-11T02:32:38.000Z
plugin/sampleID/sampleID_plugin.py
iontorrent/TS
7591590843c967435ee093a3ffe9a2c6dea45ed8
[ "Apache-2.0" ]
98
2015-01-17T01:25:10.000Z
2022-03-18T17:29:42.000Z
#!/usr/bin/env python # Copyright (C) 2013 Ion Torrent Systems, Inc. All Rights Reserved # NOTE: This plugin uses litle of barcodes.json as it makes its own alignments for sample tracking targets import sys import os import subprocess import json import time import traceback from glob import glob from optparse import...
43.286079
169
0.704069
4,162
33,893
5.644161
0.192215
0.014814
0.017453
0.009536
0.17909
0.132859
0.099698
0.080541
0.05517
0.036439
0
0.00315
0.166436
33,893
782
170
43.341432
0.828331
0.137905
0
0.218954
0
0.006536
0.260328
0.010971
0
0
0
0.001279
0
0
null
null
0.003268
0.02451
null
null
0.098039
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
c62facde79db561cf9afad1e7f2fd169b57e9871
9,528
py
Python
FrontEnd/src/car_create.py
schnorea/py-redis-mqtt-web
0b2f4e16cdee0f7b897f5ae6c496565aef810f3f
[ "MIT" ]
null
null
null
FrontEnd/src/car_create.py
schnorea/py-redis-mqtt-web
0b2f4e16cdee0f7b897f5ae6c496565aef810f3f
[ "MIT" ]
null
null
null
FrontEnd/src/car_create.py
schnorea/py-redis-mqtt-web
0b2f4e16cdee0f7b897f5ae6c496565aef810f3f
[ "MIT" ]
null
null
null
import random reviews = [ { 'review_subject_line': "Best Product EVER", 'review_contents': "It slices is dices. It's a hair tonic, floor cleaner, a dessert topping and more. I bought this because I needed to put a new roof on the garage. Boy, was I surprised when after receiving the self-opening p...
42.346667
643
0.571998
1,175
9,528
4.547234
0.36
0.041363
0.054089
0.018716
0.103126
0.071121
0.071121
0.066629
0.037058
0.020213
0
0.006045
0.322838
9,528
224
644
42.535714
0.822071
0
0
0.226131
0
0.070352
0.720374
0.108534
0
0
0
0
0
1
0.030151
false
0
0.005025
0
0.060302
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
c63cb53847f598dc90c47bfe499717ad96557233
218
py
Python
src_old/users/admin.py
rishikesh67/django-tenant-oracle-schemas
918a64e842b678fc506eadbb4d7e51b0b38ab0a2
[ "MIT" ]
null
null
null
src_old/users/admin.py
rishikesh67/django-tenant-oracle-schemas
918a64e842b678fc506eadbb4d7e51b0b38ab0a2
[ "MIT" ]
8
2019-12-04T23:26:11.000Z
2022-02-10T09:42:18.000Z
src/users/admin.py
rishikesh67/django-tenant-oracle-schemas
918a64e842b678fc506eadbb4d7e51b0b38ab0a2
[ "MIT" ]
2
2019-06-26T05:31:16.000Z
2019-07-01T12:22:50.000Z
from django.contrib import admin from users.models import User class UserAdmin(admin.ModelAdmin): list_display = [ "pk", "id", "fullname", "age", "created_at", "updated_at" ] admin.site.register(User)
14.533333
34
0.688073
28
218
5.25
0.785714
0
0
0
0
0
0
0
0
0
0
0
0.174312
218
15
35
14.533333
0.816667
0
0
0
0
0
0.159817
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c642b7ef72fbbff230748a18f1e650c8a05f9a75
2,472
py
Python
headspace_dl/auth.py
busterbeam/pyHeadspace
8605d66bb10487c89203a1deb7aba9f41b984229
[ "MIT" ]
38
2021-04-06T09:33:58.000Z
2022-03-05T10:18:40.000Z
headspace_dl/auth.py
busterbeam/pyHeadspace
8605d66bb10487c89203a1deb7aba9f41b984229
[ "MIT" ]
12
2021-04-06T11:08:00.000Z
2022-03-19T06:49:38.000Z
headspace_dl/auth.py
busterbeam/pyHeadspace
8605d66bb10487c89203a1deb7aba9f41b984229
[ "MIT" ]
11
2021-04-06T16:31:50.000Z
2022-01-12T14:18:31.000Z
import json import re import requests from rich.console import Console LOGIN_URL = "https://www.headspace.com/login" AUTH_URL = "https://auth.headspace.com/co/authenticate" BEARER_TOKEN_URL = "https://auth.headspace.com/authorize" session = requests.Session() console = Console() headers = { "User-Agent": "Mozil...
29.082353
89
0.629854
299
2,472
5.036789
0.35786
0.073041
0.033865
0.039841
0.110226
0.051793
0.051793
0.051793
0.051793
0
0
0.013896
0.213997
2,472
84
90
29.428571
0.761194
0
0
0.057143
0
0.014286
0.319984
0.027508
0
0
0
0
0
1
0.057143
false
0.1
0.057143
0
0.185714
0.042857
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
c642bae0e08f2fdcc345044b66ac8d043547a8aa
1,374
py
Python
binary_conversion_test.py
Soft-Eng-AEII-G1-2020/project
2d606178d556737e7487d695a07d87eebd4a7e5d
[ "MIT" ]
null
null
null
binary_conversion_test.py
Soft-Eng-AEII-G1-2020/project
2d606178d556737e7487d695a07d87eebd4a7e5d
[ "MIT" ]
1
2020-11-30T20:12:26.000Z
2020-12-02T17:44:01.000Z
binary_conversion_test.py
Soft-Eng-AEII-G1-2020/project
2d606178d556737e7487d695a07d87eebd4a7e5d
[ "MIT" ]
null
null
null
import file_management as fm import binary_conversion as bc import pytest import datetime PROPER_DATA = r'00100011 00100000 01000010 01111001 01110100 01100101 00101101 01100011 01101111 01101101 01110000 01101001 01101100 01100101 01100100' IMPROPER_DATA = r'00100012 00100000 01000010 01111001 01110100 01100101 00101...
29.234043
153
0.696507
205
1,374
4.6
0.595122
0.034995
0.050901
0.067869
0.23754
0.23754
0.23754
0.23754
0.23754
0.23754
0
0.33242
0.203057
1,374
46
154
29.869565
0.528767
0
0
0.066667
0
0
0.375546
0.026929
0
0
0
0
0.066667
1
0.066667
false
0
0.133333
0
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
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
c64477557e5293a5216595d3d939ff223913b884
3,264
py
Python
int_ui/html_xl.py
evgeniyabrosin/anfisa
ac4aef1a816de05ee2a45aa5b220e2baf93574de
[ "Apache-2.0" ]
8
2019-03-26T16:07:46.000Z
2021-12-30T13:38:06.000Z
int_ui/html_xl.py
evgeniyabrosin/anfisa
ac4aef1a816de05ee2a45aa5b220e2baf93574de
[ "Apache-2.0" ]
13
2018-11-07T19:37:20.000Z
2022-02-21T17:11:45.000Z
int_ui/html_xl.py
evgeniyabrosin/anfisa
ac4aef1a816de05ee2a45aa5b220e2baf93574de
[ "Apache-2.0" ]
15
2018-10-16T08:15:11.000Z
2022-02-21T14:07:29.000Z
# Copyright (c) 2019. Partners HealthCare and other members of # Forome Association # # Developed by Sergey Trifonov based on contributions by Joel Krier, # Michael Bouzinier, Shamil Sunyaev and other members of Division of # Genetics, Brigham and Women's Hospital # # Licensed under the Apache License, Version 2....
40.8
77
0.568627
385
3,264
4.755844
0.462338
0.030584
0.036046
0.058984
0.075915
0.029492
0
0
0
0
0
0.006462
0.241422
3,264
79
78
41.316456
0.733037
0.284926
0
0.09434
0
0
0.674026
0.210823
0
0
0
0
0
1
0.037736
false
0
0.018868
0
0.056604
0.075472
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
c64c256a2687ead3b3e201917a3088cb6d747a8d
391
py
Python
cpalgo-0.1.91/cpalgo/longest_palindromic_substring.py
srnarayanaa/cpalgo
bf12870ef3521c92564122a826ac0b4caeaea115
[ "BSD-2-Clause" ]
9
2021-06-04T06:14:37.000Z
2021-11-22T03:47:34.000Z
cpalgo-0.1.91/cpalgo/longest_palindromic_substring.py
srnarayanaa/cpalgo
bf12870ef3521c92564122a826ac0b4caeaea115
[ "BSD-2-Clause" ]
null
null
null
cpalgo-0.1.91/cpalgo/longest_palindromic_substring.py
srnarayanaa/cpalgo
bf12870ef3521c92564122a826ac0b4caeaea115
[ "BSD-2-Clause" ]
null
null
null
def longest_palindromic_substring(s): t = '^#'+'#'.join(s)+'#$' n = len(t) p = [0]*n c = r = cm = rm = 0 for i in range (1, n-1): p[i] = min(r-i, p[2*c-i]) if r > i else 0 while t[i-p[i]-1] == t[i+p[i]+1]: p[i] += 1 if p[i]+i > r: c, r = i, p[i]+i ...
35.545455
53
0.378517
82
391
1.780488
0.317073
0.109589
0.082192
0.054795
0.068493
0
0
0
0
0
0
0.044355
0.365729
391
11
54
35.545455
0.544355
0
0
0
0
0
0.013089
0
0.090909
0
0
0
0
1
0.090909
false
0
0
0
0.181818
0
0
0
1
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
0
0
1
c653428d79abebbd742f0042cdb96fb80611c6eb
5,358
py
Python
src/cnaas_nms/db/device.py
krihal/cnaas-nms
16af6dd9e9748a708e12442b63838ad6c6d29f01
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
src/cnaas_nms/db/device.py
krihal/cnaas-nms
16af6dd9e9748a708e12442b63838ad6c6d29f01
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
src/cnaas_nms/db/device.py
krihal/cnaas-nms
16af6dd9e9748a708e12442b63838ad6c6d29f01
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
from __future__ import annotations import ipaddress import datetime import enum import re from typing import Optional, List from sqlalchemy import Column, Integer, Unicode, String, UniqueConstraint from sqlalchemy import Enum, DateTime, Boolean from sqlalchemy import ForeignKey from sqlalchemy.orm import relationship...
34.792208
96
0.630459
659
5,358
4.966616
0.294385
0.051635
0.029942
0.029331
0.235869
0.219065
0.176596
0.152765
0.152765
0.152765
0
0.011527
0.27137
5,358
153
97
35.019608
0.826844
0.114222
0
0.232
0
0.008
0.013362
0.007635
0
0
0
0
0
1
0.08
false
0.016
0.112
0.04
0.584
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
c659e2caa8790ca40c67349171fe14eed5784e3a
1,071
py
Python
src/common.py
MananSoni42/SAN
cf16ed418977bbb431bb1196201d8839f08a014d
[ "BSD-3-Clause" ]
1
2020-11-26T04:43:26.000Z
2020-11-26T04:43:26.000Z
src/common.py
vajmera/SAN
e1f97877dbddb9c4a88033a1b196167657d6fca7
[ "BSD-3-Clause" ]
null
null
null
src/common.py
vajmera/SAN
e1f97877dbddb9c4a88033a1b196167657d6fca7
[ "BSD-3-Clause" ]
1
2020-11-26T04:42:43.000Z
2020-11-26T04:42:43.000Z
''' List all possibilities of linear functions and various weight initializations For general use anywhere in the code ''' import torch def linear(x): return x act_poss = { # List all possibilities of various activations 'tanh': torch.nn.functional.tanh, 'relu': torch.nn.functional.relu, 'prelu': tor...
28.945946
77
0.721755
146
1,071
5.157534
0.321918
0.139442
0.116866
0.071713
0
0
0
0
0
0
0
0
0.152194
1,071
36
78
29.75
0.829295
0.19141
0
0
0
0
0.155193
0
0
0
0
0
0
1
0.115385
false
0
0.038462
0.115385
0.269231
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
1
0
0
0
1
d65c749e61f10d7b1ece0cf7e4218ba9dc88ba18
4,373
py
Python
kiwi/cogs/Info.py
Andres2055/Kiwi-bot
1f76ad886972de89fe0e6e8b1078ff01cc76ae7d
[ "MIT" ]
1
2021-03-30T05:15:36.000Z
2021-03-30T05:15:36.000Z
kiwi/cogs/Info.py
Andres2055/Kiwi-bot
1f76ad886972de89fe0e6e8b1078ff01cc76ae7d
[ "MIT" ]
null
null
null
kiwi/cogs/Info.py
Andres2055/Kiwi-bot
1f76ad886972de89fe0e6e8b1078ff01cc76ae7d
[ "MIT" ]
1
2018-09-23T07:04:23.000Z
2018-09-23T07:04:23.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import discord from discord.ext import commands import kiwi_config from .scpUtils import UTC_TIME __real_owner__ = '<mi id>' class Info: def __init__(self, bot): self.bot = bot @commands.command(description="Información sobre kcalcular") async d...
23.385027
94
0.589984
573
4,373
4.450262
0.460733
0.011765
0.009804
0.022353
0.030588
0
0
0
0
0
0
0.013398
0.249028
4,373
187
95
23.385027
0.761876
0.009833
0
0.115385
0
0.023077
0.677181
0
0
0
0
0
0
1
0.015385
false
0
0.030769
0
0.053846
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
d661cf47f70f21eaec7051b02c89bc2a933c0e13
2,360
py
Python
names/mixins.py
jcp/django-names
3c3d9d2b81d6f95fab1c0b4246b99f8fd87b216d
[ "BSD-3-Clause" ]
2
2019-08-10T03:01:08.000Z
2020-05-16T19:42:11.000Z
names/mixins.py
jcp/django-names
3c3d9d2b81d6f95fab1c0b4246b99f8fd87b216d
[ "BSD-3-Clause" ]
13
2019-08-20T22:03:30.000Z
2022-02-10T07:46:47.000Z
names/mixins.py
jcp/django-names
3c3d9d2b81d6f95fab1c0b4246b99f8fd87b216d
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- from django.db import models from django.utils.translation import gettext_lazy as _ from nameparser import HumanName from nameparser.config import CONSTANTS from .conf import settings class NameModelMixin(models.Model): """ An abstract base class model mixin that contains a full name...
31.466667
88
0.633898
277
2,360
5.231047
0.364621
0.049689
0.10628
0.125604
0.084196
0.048309
0.048309
0
0
0
0
0.000569
0.254661
2,360
74
89
31.891892
0.823195
0.224576
0
0
0
0
0.042075
0
0
0
0
0
0
1
0.102564
false
0
0.128205
0.025641
0.564103
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
d6748e5aedba62f44c236496a10e944b81841251
784
py
Python
sysextools/formats/yamaha/__init__.py
alexras/sysex2json
04f36a566e3e3c644d33311658ab2f8ff39d71cc
[ "BSD-3-Clause" ]
1
2020-12-02T23:34:35.000Z
2020-12-02T23:34:35.000Z
sysextools/formats/yamaha/__init__.py
alexras/SysExTools
04f36a566e3e3c644d33311658ab2f8ff39d71cc
[ "BSD-3-Clause" ]
null
null
null
sysextools/formats/yamaha/__init__.py
alexras/SysExTools
04f36a566e3e3c644d33311658ab2f8ff39d71cc
[ "BSD-3-Clause" ]
null
null
null
from typing import Any, Dict, List, Union from . import dx7 from ...errors import NotSupportedError MANUFACTURER_ID = (0x43,) def parse(sysex_bytes: bytes, model_hint: str = None) -> list: # TODO: actually try to guess the model from sysex return dx7.parse(sysex_bytes) def dump(parsed_sysex: Union[List[Dic...
26.133333
77
0.667092
105
784
4.819048
0.380952
0.108696
0.059289
0.063241
0.189723
0.114625
0
0
0
0
0
0.016313
0.218112
784
29
78
27.034483
0.809135
0.061224
0
0.35
0
0
0.021798
0
0
0
0.00545
0.034483
0
1
0.15
false
0
0.15
0.05
0.45
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
d6773bd3040831389dce08a7c83360bb63ad7f04
19,185
py
Python
python/include/wl_oracle.py
bopopescu/Heimdallr
793b5b0242788e7212a7b10e9e6a5bdaef7a73b2
[ "Apache-2.0" ]
null
null
null
python/include/wl_oracle.py
bopopescu/Heimdallr
793b5b0242788e7212a7b10e9e6a5bdaef7a73b2
[ "Apache-2.0" ]
null
null
null
python/include/wl_oracle.py
bopopescu/Heimdallr
793b5b0242788e7212a7b10e9e6a5bdaef7a73b2
[ "Apache-2.0" ]
1
2020-07-22T08:57:53.000Z
2020-07-22T08:57:53.000Z
#!/bin/env python #-*-coding:utf-8-*- import MySQLdb import string import sys reload(sys) sys.setdefaultencoding('utf8') import ConfigParser def get_item(data_dict,item): try: item_value = data_dict[item] return item_value except: pass def get_parameters(conn): try: curs=c...
26.608877
199
0.506229
2,198
19,185
4.280255
0.11465
0.023597
0.053571
0.070685
0.702275
0.678571
0.660502
0.642326
0.600446
0.581526
0
0.018746
0.396612
19,185
720
200
26.645833
0.79397
0.002137
0
0.681081
0
0.032432
0.428974
0.040593
0
0
0
0
0
0
null
null
0.001802
0.007207
null
null
0.063063
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
d677dfedb29a6642ecdee79a18f2cce02860ffae
1,618
py
Python
src/apps/logs/migrations/0001_initial.py
travishen/alss-dev
226e8c4f933de39615775a504191428591962c9f
[ "MIT" ]
null
null
null
src/apps/logs/migrations/0001_initial.py
travishen/alss-dev
226e8c4f933de39615775a504191428591962c9f
[ "MIT" ]
81
2018-09-04T13:16:02.000Z
2022-03-11T23:20:40.000Z
src/apps/logs/migrations/0001_initial.py
travishen/alss-dev
226e8c4f933de39615775a504191428591962c9f
[ "MIT" ]
4
2018-08-21T22:17:59.000Z
2019-03-15T01:14:29.000Z
# Generated by Django 2.1.7 on 2019-03-25 16:26 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('cont...
46.228571
265
0.643387
175
1,618
5.76
0.474286
0.076389
0.047619
0.065476
0.199405
0.176587
0.176587
0.103175
0.103175
0
0
0.018125
0.215698
1,618
34
266
47.588235
0.776202
0.027812
0
0
1
0
0.201146
0.033736
0
0
0
0
0
1
0
false
0
0.111111
0
0.259259
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
d6797d093825c3f307cff3a10e03ff2535e5fe49
916
py
Python
textbox/xlsx.py
charsyam/textbox
58c05ac6498eb22e683de360cd18cc47dc9cc64b
[ "MIT" ]
20
2017-11-22T15:52:52.000Z
2021-09-08T03:27:07.000Z
textbox/xlsx.py
charsyam/textbox
58c05ac6498eb22e683de360cd18cc47dc9cc64b
[ "MIT" ]
null
null
null
textbox/xlsx.py
charsyam/textbox
58c05ac6498eb22e683de360cd18cc47dc9cc64b
[ "MIT" ]
1
2020-12-18T06:15:24.000Z
2020-12-18T06:15:24.000Z
try: from xml.etree.cElementTree import XML except ImportError: from xml.etree.ElementTree import XML import zipfile class XLSXExtractor(object): NAMESPACE = "{http://schemas.openxmlformats.org/spreadsheetml/2006/main}" TEXT = NAMESPACE + 't' def __init__(self, filename): self.text = self...
23.487179
77
0.629913
109
916
5.091743
0.458716
0.075676
0.054054
0.05045
0
0
0
0
0
0
0
0.007407
0.2631
916
38
78
24.105263
0.814815
0
0
0
0
0
0.100437
0
0
0
0
0
0
1
0.148148
false
0
0.185185
0.037037
0.518519
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
0
0
0
0
0
0
1
0
0
1
d681bcb5183d9e5e62df787f1193525282e8e91f
1,314
py
Python
didi/deep/dfm_decor/utils.py
bhneo/SparsePooling
6575774ad95cd782bbd228fb08c588b475035fc6
[ "MIT" ]
null
null
null
didi/deep/dfm_decor/utils.py
bhneo/SparsePooling
6575774ad95cd782bbd228fb08c588b475035fc6
[ "MIT" ]
null
null
null
didi/deep/dfm_decor/utils.py
bhneo/SparsePooling
6575774ad95cd782bbd228fb08c588b475035fc6
[ "MIT" ]
null
null
null
import json import os import tensorflow as tf def get_list_by_feature_list(feature_list, dims_dict): rst = [] for k in feature_list: rst.append(dims_dict[k]) return rst def read_json(file_path): with open(file_path, "r") as file: data = json.load(file) return data def print_pr...
25.269231
106
0.619482
215
1,314
3.576744
0.353488
0.052016
0.023407
0.039012
0.130039
0.09883
0
0
0
0
0
0.018981
0.238204
1,314
51
107
25.764706
0.749251
0.027397
0
0
0
0
0.023511
0
0
0
0
0
0
1
0.235294
false
0
0.088235
0
0.5
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
0
1
0
0
0
0
0
0
0
1
d68789b82de49f4cd922a39aa5c1fcae862da22e
1,112
py
Python
setup.py
suvitorg/django-ru-fields
4252fa13579da87569cfd34b21970eca65ff76b4
[ "MIT" ]
2
2020-05-06T09:10:53.000Z
2022-01-31T06:37:00.000Z
setup.py
suvitorg/django-ru-fields
4252fa13579da87569cfd34b21970eca65ff76b4
[ "MIT" ]
null
null
null
setup.py
suvitorg/django-ru-fields
4252fa13579da87569cfd34b21970eca65ff76b4
[ "MIT" ]
null
null
null
from setuptools import setup, find_packages setup( name='django-ru-fields', version=__import__('django_ru_fields').VERSION, description='specific russian fields', author='Suvit Org', author_email='mail@suvit.ru', url='https://github.com/suvitorg/django-ru-fields', packages=find_packages(exc...
35.870968
66
0.633094
111
1,112
6.225225
0.684685
0.034732
0.060781
0.060781
0
0
0
0
0
0
0
0.005814
0.226619
1,112
30
67
37.066667
0.797674
0.035971
0
0
0
0
0.551821
0
0
0
0
0
0
1
0
true
0
0.071429
0
0.071429
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
d68ddb6a87847dd585f9a4ca7845013820d84df5
10,025
py
Python
keep_exporter/cli.py
ndbeals/keep-exporter
b8d481210634890f76425153ecb67ea48f80ddb4
[ "BSD-3-Clause" ]
78
2021-01-13T04:36:04.000Z
2022-02-15T23:47:43.000Z
keep_exporter/cli.py
ndbeals/keep-exporter
b8d481210634890f76425153ecb67ea48f80ddb4
[ "BSD-3-Clause" ]
15
2021-01-19T14:53:47.000Z
2021-11-02T17:07:50.000Z
keep_exporter/cli.py
ndbeals/keep-exporter
b8d481210634890f76425153ecb67ea48f80ddb4
[ "BSD-3-Clause" ]
2
2021-01-19T23:08:15.000Z
2022-02-08T00:28:45.000Z
#!/usr/bin/env python3 """keep_exporter command line interface module. Provides the actual user interactions to `export.py`.""" __version__ = "2.0.0" __author__ = "Nathan Beals, Matthew Bafford" APP_NAME = "Keep Exporter" import pathlib from typing import Any, Optional, Tuple, Union import click import click_config_...
30.378788
122
0.662045
1,311
10,025
4.91762
0.231121
0.022336
0.016287
0.017683
0.192027
0.122848
0.077245
0.058322
0.058322
0.044672
0
0.004276
0.230224
10,025
329
123
30.471125
0.831152
0.173766
0
0.217213
0
0.004098
0.222712
0.013461
0
0
0
0
0
1
0.02459
false
0.098361
0.032787
0
0.102459
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
d69097d07e5cc0c1e545d64e7e89d580bf00b340
5,672
py
Python
multichain.py
MultiChain/multichain-explorer-2
5bb26baa41874b029156abe7db0d4620080afc45
[ "BSD-3-Clause" ]
8
2021-07-22T12:06:56.000Z
2022-03-31T15:55:23.000Z
multichain.py
MultiChain/multichain-explorer-2
5bb26baa41874b029156abe7db0d4620080afc45
[ "BSD-3-Clause" ]
3
2021-06-07T00:35:51.000Z
2021-12-16T21:16:11.000Z
multichain.py
MultiChain/multichain-explorer-2
5bb26baa41874b029156abe7db0d4620080afc45
[ "BSD-3-Clause" ]
9
2021-06-01T20:48:44.000Z
2022-03-31T13:12:55.000Z
# -*- coding: utf-8 -*- # MultiChain Explorer 2 (c) Coin Sciences Ltd # All rights reserved under BSD 3-clause license import cfg import utils import readconf import base64 #import requests from urllib import request from urllib import parse import urllib import json from collections import OrderedDict import time ...
36.127389
130
0.549542
609
5,672
4.998358
0.228243
0.049277
0.068331
0.043693
0.385348
0.310775
0.274967
0.189553
0.097569
0.07523
0
0.007596
0.326869
5,672
156
131
36.358974
0.78968
0.121121
0
0.173077
0
0
0.160322
0
0
0
0
0
0
1
0.038462
false
0.067308
0.096154
0
0.240385
0.048077
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
d695638bfe7699785d4aa06384a73e2b91d2dd5d
5,584
py
Python
src/modules/packet/protocol/script/swagger_generator.py
gchagnotSpt/openperf
0ae14cb7a685b1b059f707379773fb3bcb421d40
[ "Apache-2.0" ]
20
2019-12-04T01:28:52.000Z
2022-03-17T14:09:34.000Z
src/modules/packet/protocol/script/swagger_generator.py
gchagnotSpt/openperf
0ae14cb7a685b1b059f707379773fb3bcb421d40
[ "Apache-2.0" ]
115
2020-02-04T21:29:54.000Z
2022-02-17T13:33:51.000Z
src/modules/packet/protocol/script/swagger_generator.py
gchagnotSpt/openperf
0ae14cb7a685b1b059f707379773fb3bcb421d40
[ "Apache-2.0" ]
16
2019-12-03T16:41:18.000Z
2021-11-06T04:44:11.000Z
import argparse import fnmatch import os import pathlib import sys import textwrap import yaml def write_header(output): header=''' ### # This file is automatically generated by {}. Do not edit! ### ''' output.write(textwrap.dedent(header.format(os.path.basename(__file__))).lstrip()) outp...
25.851852
146
0.558381
673
5,584
4.540862
0.228826
0.065445
0.082461
0.015707
0.359948
0.27127
0.181283
0.10373
0.10373
0.085079
0
0.021266
0.275788
5,584
215
147
25.972093
0.734421
0
0
0.264516
1
0.019355
0.217204
0.046068
0
0
0
0
0
1
0.090323
false
0
0.045161
0.019355
0.225806
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
d6985b7eaf50847b84ab22f19c4bd4ff576c9536
594
py
Python
src/olympia/scanners/migrations/0027_add_group_result_id_and_task_count_to_scannerqueryrule.py
shashwatsingh/addons-server
8fce98901104349055a828b5a47865f5e8f4120b
[ "BSD-3-Clause" ]
843
2016-02-09T13:00:37.000Z
2022-03-20T19:17:06.000Z
src/olympia/scanners/migrations/0027_add_group_result_id_and_task_count_to_scannerqueryrule.py
shashwatsingh/addons-server
8fce98901104349055a828b5a47865f5e8f4120b
[ "BSD-3-Clause" ]
10,187
2016-02-05T23:51:05.000Z
2022-03-31T15:24:44.000Z
src/olympia/scanners/migrations/0027_add_group_result_id_and_task_count_to_scannerqueryrule.py
shashwatsingh/addons-server
8fce98901104349055a828b5a47865f5e8f4120b
[ "BSD-3-Clause" ]
551
2016-02-08T20:32:16.000Z
2022-03-15T16:49:24.000Z
# Generated by Django 2.2.10 on 2020-02-25 11:10 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('scanners', '0026_auto_20200217_1528'), ] operations = [ migrations.AddField( model_name='scannerqueryrule', name='c...
24.75
60
0.607744
59
594
5.966102
0.711864
0.102273
0.130682
0.153409
0.267045
0.267045
0
0
0
0
0
0.077647
0.284512
594
23
61
25.826087
0.750588
0.077441
0
0.352941
1
0
0.173993
0.082418
0
0
0
0
0
1
0
false
0
0.058824
0
0.235294
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
d6a163c8402bbc21afcee1a8e100ec6e7def1928
856
py
Python
python/build_oyb.py
wnzhang/rtb-unbiased-learning
d83bc75506fc830a6dc1c7e3b99742d13b960972
[ "Apache-2.0" ]
20
2016-07-05T06:08:44.000Z
2020-10-28T11:25:21.000Z
python/build_oyb.py
wnzhang/rtb-unbiased-learning
d83bc75506fc830a6dc1c7e3b99742d13b960972
[ "Apache-2.0" ]
2
2017-09-06T12:43:05.000Z
2019-05-14T08:48:20.000Z
python/build_oyb.py
wnzhang/rtb-unbiased-learning
d83bc75506fc830a6dc1c7e3b99742d13b960972
[ "Apache-2.0" ]
8
2016-07-09T15:26:21.000Z
2020-03-25T01:16:13.000Z
#!/usr/bin/python import sys from collections import defaultdict from collections import OrderedDict print 'Begin to combine files:', ((sys.argv[1]).split('/'))[-1], ((sys.argv[2]).split('/'))[-1] bo_dict = defaultdict(list) fi = open(sys.argv[1], 'r') #wyb.imp for line in fi: s = line.strip().split() #s[0] =...
21.948718
95
0.579439
140
856
3.471429
0.364286
0.08642
0.067901
0.053498
0.242798
0.242798
0.242798
0.242798
0.242798
0.242798
0
0.024113
0.176402
856
38
96
22.526316
0.665248
0.059579
0
0.37037
0
0
0.095358
0
0
0
0
0
0
0
null
null
0
0.111111
null
null
0.111111
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
d6b1261e1b2540ef21e3c6fb735eb880288ec87c
3,147
py
Python
src/CSVFunctionExtract.py
Izzotop/plugin-sdk-to-cpp
8c498fcbf9141880eba7bcc651e89d2840ed8636
[ "MIT" ]
1
2021-10-18T04:59:29.000Z
2021-10-18T04:59:29.000Z
src/CSVFunctionExtract.py
Izzotop/plugin-sdk-to-cpp
8c498fcbf9141880eba7bcc651e89d2840ed8636
[ "MIT" ]
null
null
null
src/CSVFunctionExtract.py
Izzotop/plugin-sdk-to-cpp
8c498fcbf9141880eba7bcc651e89d2840ed8636
[ "MIT" ]
null
null
null
import re from pathlib import Path import numpy as np from pandas import read_csv from models.Function import FunctionType, Function from type_replacement import normalize_type from args import DATABASE_PATH # Extract function name from DemangledName column name_re = re.compile(r'::(~?\w+)\(*?') def extract_name_...
39.3375
152
0.667302
441
3,147
4.573696
0.437642
0.029747
0.023798
0.035697
0.113039
0.053545
0.03768
0
0
0
0
0.006768
0.201779
3,147
80
153
39.3375
0.796178
0.257388
0
0
0
0.021739
0.158463
0.02418
0
0
0
0.0125
0
1
0.065217
false
0
0.152174
0.021739
0.282609
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
d6ba517f6292b7764653cff67fa667496f767b6d
2,050
py
Python
tests/unit/test_util_parser.py
cyberdefensegrp/margaritashotgun
6dee53ef267959b214953439968244cc46a19690
[ "MIT" ]
198
2016-08-13T03:12:44.000Z
2022-02-16T13:49:45.000Z
tests/unit/test_util_parser.py
marshrayms/margaritashotgun
40a8dba340a09cf27773753f08c2958296bd3728
[ "MIT" ]
32
2016-09-21T22:01:06.000Z
2021-10-15T22:09:28.000Z
tests/unit/test_util_parser.py
marshrayms/margaritashotgun
40a8dba340a09cf27773753f08c2958296bd3728
[ "MIT" ]
40
2016-08-09T17:47:39.000Z
2022-02-13T23:20:16.000Z
import pytest import os import sys from margaritashotgun.util import parser @pytest.fixture def tcp_parser_object(): return parser.ProcNetTcpParser() def test_split_every_n(): tcp_parser = tcp_parser_object() test_input = '0F02000A' expected_output = ['0F', '02', '00', '0A'] output = tcp_parser....
43.617021
169
0.643415
275
2,050
4.567273
0.261818
0.038217
0.031051
0.025478
0.46258
0.402866
0.375
0.322452
0.19586
0.119427
0
0.258168
0.238537
2,050
46
170
44.565217
0.546445
0
0
0.210526
0
0.078947
0.412683
0
0
0
0
0
0.105263
1
0.131579
false
0
0.105263
0.026316
0.263158
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
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
d6bc328b0e628b50d467a3682298d5ad5033ba81
1,607
py
Python
estimators/rapids_base_estimator.py
RazHoshia/Wids2021EvalMLRapids
da37891d11aa68da9da91172c544253b0eadeab5
[ "Apache-2.0" ]
2
2021-05-05T12:03:28.000Z
2022-03-13T19:08:42.000Z
estimators/rapids_base_estimator.py
RazHoshia/Wids2021EvalMLRapids
da37891d11aa68da9da91172c544253b0eadeab5
[ "Apache-2.0" ]
null
null
null
estimators/rapids_base_estimator.py
RazHoshia/Wids2021EvalMLRapids
da37891d11aa68da9da91172c544253b0eadeab5
[ "Apache-2.0" ]
1
2021-05-13T13:14:51.000Z
2021-05-13T13:14:51.000Z
# -*- coding: utf-8 -*- import cudf from evalml.pipelines.components.estimators import Estimator from evalml.utils.woodwork_utils import infer_feature_types from evalml.problem_types import ProblemTypes class RapidsEstimator(Estimator): """ Base estimator for rapids. Mostly wraps the regular fit and predict ...
36.522727
119
0.708152
188
1,607
5.781915
0.340426
0.055198
0.062558
0.063477
0.303588
0.303588
0.303588
0.303588
0.220791
0.176633
0
0.00546
0.20224
1,607
43
120
37.372093
0.842434
0.158058
0
0.153846
0
0
0.015933
0
0
0
0
0
0
1
0.153846
false
0
0.230769
0.038462
0.730769
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
d6be955904f21d736d920bbdb250badd7b6d5c97
1,790
py
Python
main/views.py
dera1992/blog_tutorial
aad1b5dc5d882909f9db37cf677d89b8f6f3037b
[ "MIT" ]
null
null
null
main/views.py
dera1992/blog_tutorial
aad1b5dc5d882909f9db37cf677d89b8f6f3037b
[ "MIT" ]
null
null
null
main/views.py
dera1992/blog_tutorial
aad1b5dc5d882909f9db37cf677d89b8f6f3037b
[ "MIT" ]
null
null
null
# main/views.py from django.contrib import messages from django.shortcuts import render from django.views.generic import DetailView from django.views.generic.list import ListView from django.views.generic.edit import FormView from django.views.generic import TemplateView from main.models import ( Post, Catego...
22.658228
69
0.680447
203
1,790
5.862069
0.374384
0.05042
0.085714
0.07395
0.047059
0
0
0
0
0
0
0.001441
0.224581
1,790
78
70
22.948718
0.855908
0.007263
0
0.070175
0
0
0.129014
0.040563
0
0
0
0
0
1
0.035088
false
0
0.140351
0
0.614035
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
d6d3af16a4d85d99f5744cadc50bc5e8a9e02934
5,909
py
Python
DuplicateSecondAdder2.py
Wason1/DuplicateSecondAdder
dc3fb7232eca4991947a57e4ca8b58b47f0015b3
[ "MIT" ]
null
null
null
DuplicateSecondAdder2.py
Wason1/DuplicateSecondAdder
dc3fb7232eca4991947a57e4ca8b58b47f0015b3
[ "MIT" ]
null
null
null
DuplicateSecondAdder2.py
Wason1/DuplicateSecondAdder
dc3fb7232eca4991947a57e4ca8b58b47f0015b3
[ "MIT" ]
null
null
null
# INPUT VARIABLES---------------------------------------------------------------------------------------- #region # Directory folder of the csv files you want to process Input_path = 'C:/FILES/Hansen-Data-Qualified8.csv' # Can change to xlsx if needed, other changes will be nessesary to code # Csv files seperator for ...
33.384181
105
0.63581
790
5,909
4.644304
0.278481
0.021259
0.019079
0.017443
0.076315
0.05124
0.037067
0.022349
0.022349
0
0
0.003855
0.165849
5,909
176
106
33.573864
0.740515
0.289558
0
0.112245
0
0
0.367534
0.153661
0
0
0
0
0
1
0
false
0
0.091837
0
0.091837
0.5
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
d6e5bc34c8c0a9830e53aa217b46ffc7c46ccdef
7,462
py
Python
rawdisk/util/rawstruct.py
dariusbakunas/rawdisk
d4c72d37b2c1cf27bf65e7b2c2923f14d00939c4
[ "BSD-3-Clause" ]
3
2017-05-21T12:50:05.000Z
2019-09-29T11:05:58.000Z
rawdisk/util/rawstruct.py
dariusbakunas/rawdisk
d4c72d37b2c1cf27bf65e7b2c2923f14d00939c4
[ "BSD-3-Clause" ]
149
2016-02-16T09:36:46.000Z
2021-05-21T11:04:14.000Z
rawdisk/util/rawstruct.py
dariusbakunas/rawdisk
d4c72d37b2c1cf27bf65e7b2c2923f14d00939c4
[ "BSD-3-Clause" ]
3
2016-02-16T10:11:39.000Z
2020-01-18T11:46:50.000Z
# -*- coding: utf-8 -*- import struct import hexdump import uuid import os class RawStruct(object): """Helper class used as a parent class for most filesystem structures. Args: data (bytes): Byte array to initialize structure with. filename (str): A file to read the data from. offset...
31.091667
80
0.548915
904
7,462
4.472345
0.174779
0.049468
0.055404
0.069256
0.538462
0.514964
0.469948
0.434331
0.416028
0.412812
0
0.034272
0.343072
7,462
239
81
31.221757
0.790494
0.387162
0
0.13253
0
0
0.026171
0
0
0
0
0
0
1
0.26506
false
0
0.048193
0
0.542169
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
d6e93bd8fb5d51aed1b3c4a43373c66e6bf4bf44
335
py
Python
solutions/practice/if_min.py
mrparkonline/py_conditionals
d9420ec8c9a69689d8a87b4232db288d620b22bb
[ "MIT" ]
null
null
null
solutions/practice/if_min.py
mrparkonline/py_conditionals
d9420ec8c9a69689d8a87b4232db288d620b22bb
[ "MIT" ]
null
null
null
solutions/practice/if_min.py
mrparkonline/py_conditionals
d9420ec8c9a69689d8a87b4232db288d620b22bb
[ "MIT" ]
null
null
null
# Creating a program that uses the min() without using the min() function. Without knowing the user inputted values of num1 and num2, create a program that outputs the lower value without using the min() num1 = int(input('Enter a value: ')) num2 = int(input('Enter a value: ')) if num1 <= num2: print(num1) else: ...
33.5
203
0.710448
54
335
4.407407
0.518519
0.07563
0.10084
0.151261
0.159664
0
0
0
0
0
0
0.02952
0.191045
335
9
204
37.222222
0.848708
0.6
0
0
0
0
0.227273
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
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