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
a97a86e8c6492dbd1773394e2664a0f78ea38b0a
2,903
py
Python
Code/DOCK_Prepare.py
LondonLab/Covalentizer
d9898392ebe1a6785ee6c4e757e483bbf5670cd5
[ "MIT" ]
1
2021-11-11T22:22:13.000Z
2021-11-11T22:22:13.000Z
Code/DOCK_Prepare.py
LondonLab/Covalentizer
d9898392ebe1a6785ee6c4e757e483bbf5670cd5
[ "MIT" ]
null
null
null
Code/DOCK_Prepare.py
LondonLab/Covalentizer
d9898392ebe1a6785ee6c4e757e483bbf5670cd5
[ "MIT" ]
null
null
null
#Written by Daniel Zaidman #Code review by import shutil import subprocess import os, sys import PyUtils class DOCK_Prepare: def __init__(self, rec, lig, cov, cov_index, HG, tart=False): self.tart = bool(tart) self.rec = rec self.lig = lig self.folder = os.path.dirname(os.path.absp...
36.746835
303
0.560799
357
2,903
4.498599
0.280112
0.062267
0.067248
0.078456
0.531133
0.516189
0.470735
0.403487
0.403487
0.403487
0
0.009756
0.293834
2,903
78
304
37.217949
0.773659
0.018946
0
0.39726
0
0
0.12478
0.035852
0
0
0
0
0
0
null
null
0
0.054795
null
null
0.013699
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
a97ac58795e54cb81cf020b9321e1c52fed0fd37
393
py
Python
atcoder/agc/agc038_a.py
knuu/competitive-programming
16bc68fdaedd6f96ae24310d697585ca8836ab6e
[ "MIT" ]
1
2018-11-12T15:18:55.000Z
2018-11-12T15:18:55.000Z
atcoder/agc/agc038_a.py
knuu/competitive-programming
16bc68fdaedd6f96ae24310d697585ca8836ab6e
[ "MIT" ]
null
null
null
atcoder/agc/agc038_a.py
knuu/competitive-programming
16bc68fdaedd6f96ae24310d697585ca8836ab6e
[ "MIT" ]
null
null
null
H, W, A, B = map(int, input().split()) board = [[0] * W for _ in range(H)] for i in range(B): for j in range(A): board[i][j] = 1 for i in range(B, H): for j in range(A, W): board[i][j] = 1 assert all(sum(row) in [A, W-A] for row in board) assert all(sum(board[i][j] for i in range(H)) in [B, H-B...
28.071429
76
0.552163
86
393
2.511628
0.267442
0.226852
0.083333
0.152778
0.277778
0
0
0
0
0
0
0.010135
0.246819
393
13
77
30.230769
0.719595
0
0
0.166667
0
0
0
0
0
0
0
0
0.166667
1
0
false
0
0
0
0
0.083333
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
a97dc651ead2fc2f583d61da509ec588ccf2688e
752
py
Python
spcartopy/hatch.py
nawendt/SPCartopy
25f5b33ba40014b7f21369946c71af3e9b77b970
[ "BSD-3-Clause" ]
7
2020-05-02T01:35:38.000Z
2021-08-16T13:13:19.000Z
spcartopy/hatch.py
nawendt/SPCartopy
25f5b33ba40014b7f21369946c71af3e9b77b970
[ "BSD-3-Clause" ]
null
null
null
spcartopy/hatch.py
nawendt/SPCartopy
25f5b33ba40014b7f21369946c71af3e9b77b970
[ "BSD-3-Clause" ]
2
2021-03-28T07:23:02.000Z
2021-04-06T03:10:13.000Z
""" This module contains hatching for SPC plots """ import matplotlib.hatch from matplotlib.patches import Polygon class SPCHatch(matplotlib.hatch.Shapes): """ Specialises :class:`matplotlib.hatch.Shapes` to create hatching that appears with SPC probabalistic forecasts denoting significant tornadoes,...
27.851852
76
0.694149
96
752
5.291667
0.5625
0.147638
0.124016
0.07874
0
0
0
0
0
0
0
0.013136
0.19016
752
26
77
28.923077
0.821018
0.265957
0
0
0
0
0.001919
0
0
0
0
0
0
1
0.083333
false
0
0.166667
0
0.583333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
a984e6910687c7c0a75af0af48985b572bd47dd5
13,388
py
Python
lab6/clustering.py
D33pBlue/Algoritmi
76088f40b49d51416919515a274ba076ae6a197e
[ "MIT" ]
null
null
null
lab6/clustering.py
D33pBlue/Algoritmi
76088f40b49d51416919515a274ba076ae6a197e
[ "MIT" ]
1
2018-03-17T19:15:41.000Z
2018-03-17T19:18:24.000Z
lab6/clustering.py
D33pBlue/Algoritmi
76088f40b49d51416919515a274ba076ae6a197e
[ "MIT" ]
null
null
null
import sys import math import time import cv2 import pickle from matplotlib import pyplot as plt #List of the colors used to plot the graphs, saved as rgb codes COLORS = [ (255, 0, 0), (60, 180, 75), (255, 225, 25), (0, 130, 200), (245, 130, 48), (145, 30, 180), (70, 240, 240), (0, 102,...
35.701333
137
0.603003
1,965
13,388
4.079898
0.138422
0.038169
0.033928
0.036672
0.467756
0.405887
0.332169
0.28714
0.261195
0.231259
0
0.025389
0.240962
13,388
374
138
35.796791
0.763531
0.453391
0
0.217195
0
0
0.018335
0.003295
0
0
0
0
0
0
null
null
0.004525
0.027149
null
null
0.0181
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
a987673d681407ff33c19c3deb5937a8a703d1e4
931
py
Python
config/config_test.py
hpi-swa-lab/GlyphHub
7f114af17d7d9e32e025fc650d22d4f89ff3c697
[ "MIT" ]
6
2016-10-10T18:51:10.000Z
2016-12-30T08:55:34.000Z
config/config_test.py
hpi-swa-lab/GlyphHub
7f114af17d7d9e32e025fc650d22d4f89ff3c697
[ "MIT" ]
270
2016-10-17T07:44:49.000Z
2017-06-19T08:29:04.000Z
config/config_test.py
HPI-SWA-Lab/BP2016H1
7f114af17d7d9e32e025fc650d22d4f89ff3c697
[ "MIT" ]
null
null
null
import os BASE = os.path.join(os.path.dirname(os.path.realpath(__file__)), '..', 'frt_server') ADMIN_USER_PASSWORD = None POPULATE_SAMPLE_DATA = False SECRET_KEY = 'insert_secret_key_here' PORT = 8000 HOST = "127.0.0.1" DEBUG = True REQUEST_DEBUG = False RESPONSE_DEBUG = False DATA_PRINT_LIMIT = 500 TOKEN_EXPIRATION...
32.103448
84
0.773362
144
931
4.729167
0.458333
0.193833
0.117474
0.164464
0.317181
0.249633
0.249633
0
0
0
0
0.022864
0.107411
931
28
85
33.25
0.796631
0.124597
0
0
0
0
0.139163
0.027094
0
0
0
0
0
1
0
false
0.045455
0.045455
0
0.045455
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
a98eaf98727eb4383ff6b2ea2386bea6ec2dbfb4
431
py
Python
posts/migrations/0003_alter_post_post_content.py
firminoneto11/show-me-da-post
e18fa02e58ca2c2e19eee3fefa5273d6f9e25ac1
[ "MIT" ]
null
null
null
posts/migrations/0003_alter_post_post_content.py
firminoneto11/show-me-da-post
e18fa02e58ca2c2e19eee3fefa5273d6f9e25ac1
[ "MIT" ]
null
null
null
posts/migrations/0003_alter_post_post_content.py
firminoneto11/show-me-da-post
e18fa02e58ca2c2e19eee3fefa5273d6f9e25ac1
[ "MIT" ]
null
null
null
# Generated by Django 3.2.6 on 2021-08-27 23:30 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('posts', '0002_rename_user_id_post_user'), ] operations = [ migrations.AlterField( model_name='post', name='post_cont...
22.684211
87
0.62181
50
431
5.18
0.78
0.061776
0
0
0
0
0
0
0
0
0
0.069182
0.262181
431
18
88
23.944444
0.745283
0.104408
0
0
1
0
0.148438
0.075521
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
a99062b12bfb10340e5818d2497b47ed731d8731
2,981
py
Python
integritybackend/encrypted_archive.py
starlinglab/integrity-backend
8d2a0640d7a9f66c97d180ad76aedf968dfa43e6
[ "MIT" ]
1
2022-03-18T16:11:31.000Z
2022-03-18T16:11:31.000Z
integritybackend/encrypted_archive.py
starlinglab/starling-integrity-api
c39161576e852afbffe3053af468acf58207b5ae
[ "MIT" ]
37
2022-01-17T22:07:17.000Z
2022-03-31T22:11:16.000Z
integritybackend/encrypted_archive.py
starlinglab/starling-integrity-api
c39161576e852afbffe3053af468acf58207b5ae
[ "MIT" ]
null
null
null
import os from .asset_helper import AssetHelper from .file_util import FileUtil from . import zip_util class EncryptedArchive: """Based on a metadata file, handles zipping, encryption and CID creation.""" def __init__(self, asset_meta_path: str, org_config: dict, collection_id: str): self.meta_path =...
43.202899
112
0.66689
418
2,981
4.600478
0.327751
0.045762
0.037442
0.017161
0.089444
0.089444
0.089444
0.089444
0.089444
0.045762
0
0.003224
0.271721
2,981
68
113
43.838235
0.882543
0.511909
0
0
0
0
0.042935
0.041374
0
0
0
0.014706
0
1
0.16129
false
0
0.129032
0
0.354839
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
a995fb46a22890a3564448ed03e8077984b2377c
1,315
py
Python
tests/unit/common/test_sparse.py
d-sot/hdmf
6df64fe9f2f8163d1c688561c4a5a7ae96ae7284
[ "BSD-3-Clause-LBNL" ]
null
null
null
tests/unit/common/test_sparse.py
d-sot/hdmf
6df64fe9f2f8163d1c688561c4a5a7ae96ae7284
[ "BSD-3-Clause-LBNL" ]
null
null
null
tests/unit/common/test_sparse.py
d-sot/hdmf
6df64fe9f2f8163d1c688561c4a5a7ae96ae7284
[ "BSD-3-Clause-LBNL" ]
null
null
null
from hdmf.common import CSRMatrix from hdmf.testing import TestCase, H5RoundTripMixin import scipy.sparse as sps import numpy as np class TestCSRMatrix(TestCase): def test_from_sparse_matrix(self): data = np.array([1, 2, 3, 4, 5, 6]) indices = np.array([0, 2, 2, 0, 1, 2]) indptr = np.arr...
32.875
77
0.606844
196
1,315
3.984694
0.285714
0.080666
0.06146
0.069142
0.330346
0.330346
0.222791
0.222791
0.222791
0.222791
0
0.06754
0.245627
1,315
39
78
33.717949
0.719758
0.034221
0
0.333333
0
0
0
0
0
0
0
0.025641
0.074074
1
0.111111
false
0
0.148148
0
0.37037
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
a9991ffb4d58ce28615ecffb8fe7dc69daba7f96
1,109
py
Python
main.py
iamjohnnyzhuang/ForwardingMailRobot
77b9631be2afaf468a1dd9a3acb3921646209d3c
[ "Apache-2.0" ]
1
2018-01-24T14:52:08.000Z
2018-01-24T14:52:08.000Z
main.py
iamjohnnyzhuang/ForwardingMailRobot
77b9631be2afaf468a1dd9a3acb3921646209d3c
[ "Apache-2.0" ]
null
null
null
main.py
iamjohnnyzhuang/ForwardingMailRobot
77b9631be2afaf468a1dd9a3acb3921646209d3c
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- from flask import Flask import yagmail import logging import sys from flask import request reload(sys) sys.setdefaultencoding('utf-8') # change here mail_user = "yourmail" mail_pass = "yourpassword" smtp_host = "smtp.163.com" smtp_port = '994' # end change app = Flask(__name__) @app.route(...
26.404762
90
0.665464
152
1,109
4.723684
0.5
0.045961
0.075209
0
0
0
0
0
0
0
0
0.015453
0.183048
1,109
41
91
27.04878
0.777042
0.096483
0
0
0
0
0.169509
0
0
0
0
0
0
1
0.033333
false
0.066667
0.166667
0
0.266667
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
a99db99a6e44564ff13128651cf581a9ae3e8d19
505
py
Python
gamd/tests/conftest.py
MiaoLab20/gamd-openmm
6ff8244da39b8f7ed947dd310bfd8b268949fab8
[ "MIT" ]
4
2022-03-03T21:53:49.000Z
2022-03-18T10:57:39.000Z
gamd/tests/conftest.py
MiaoLab20/gamd-openmm
6ff8244da39b8f7ed947dd310bfd8b268949fab8
[ "MIT" ]
3
2022-01-28T19:13:21.000Z
2022-03-31T07:33:36.000Z
gamd/tests/conftest.py
MiaoLab20/gamd-openmm
6ff8244da39b8f7ed947dd310bfd8b268949fab8
[ "MIT" ]
1
2022-03-05T04:38:35.000Z
2022-03-05T04:38:35.000Z
""" conftest.py configurations for all tests """ import os import pytest from gamd import config TEST_DIRECTORY = os.path.dirname(__file__) @pytest.fixture(scope="session") def default_config(): """ Create a Config object with all the default values. """ myconfig = config.Config() return mycon...
17.413793
76
0.69901
62
505
5.548387
0.564516
0.075581
0.104651
0.145349
0.30814
0
0
0
0
0
0
0
0.20198
505
29
77
17.413793
0.853598
0.328713
0
0.181818
0
0
0.046358
0
0
0
0
0
0
1
0.181818
false
0
0.272727
0
0.636364
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
8d0ff7c837077c75425ab281b89764f392d5fd50
776
py
Python
parsec/commands/forms/show_form.py
abretaud/parsec
8ebcafac34b5d6df45de4cecc882b129bb604170
[ "Apache-2.0" ]
null
null
null
parsec/commands/forms/show_form.py
abretaud/parsec
8ebcafac34b5d6df45de4cecc882b129bb604170
[ "Apache-2.0" ]
null
null
null
parsec/commands/forms/show_form.py
abretaud/parsec
8ebcafac34b5d6df45de4cecc882b129bb604170
[ "Apache-2.0" ]
null
null
null
import click from parsec.cli import pass_context, json_loads from parsec.decorators import custom_exception, dict_output, _arg_split @click.command('show_form') @click.argument("form_id", type=str) @pass_context @custom_exception @dict_output def cli(ctx, form_id): """Get details of a given form. Output: ...
25.032258
71
0.614691
101
776
4.544554
0.534653
0.039216
0.082789
0.108932
0
0
0
0
0
0
0
0.042032
0.264175
776
30
72
25.866667
0.761821
0.565722
0
0
0
0
0.050473
0
0
0
0
0
0
1
0.1
false
0.2
0.3
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
8d170f54ab921f27b996c8bde6b94b33a60cc37a
561
py
Python
kthSmallestElementBST.py
adrianmoo2/leetcode-workthroughs
9fe9b3e0b71cc33eb6b88f919467f4b0d102a241
[ "MIT" ]
null
null
null
kthSmallestElementBST.py
adrianmoo2/leetcode-workthroughs
9fe9b3e0b71cc33eb6b88f919467f4b0d102a241
[ "MIT" ]
null
null
null
kthSmallestElementBST.py
adrianmoo2/leetcode-workthroughs
9fe9b3e0b71cc33eb6b88f919467f4b0d102a241
[ "MIT" ]
null
null
null
class Solution(object): def kthSmallest(self, root, k): """ :type root: TreeNode :type k: int :rtype: int """ stack = [root] BST_vals = [] while stack: curr = stack.pop() BST_vals.append(curr.val) ...
23.375
40
0.409982
54
561
4.185185
0.5
0.123894
0.132743
0.168142
0
0
0
0
0
0
0
0.003484
0.488414
561
24
41
23.375
0.783972
0.080214
0
0
0
0
0
0
0
0
0
0
0
1
0.076923
false
0
0
0
0.230769
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
8d22a4c529fa9f6f39bcebd508eeb0a6e8c30e6f
3,100
py
Python
src/constants.py
IsakJones/space_invaders
7f8ea85722d2420b403ce307ecbd16c3da4942d8
[ "MIT" ]
null
null
null
src/constants.py
IsakJones/space_invaders
7f8ea85722d2420b403ce307ecbd16c3da4942d8
[ "MIT" ]
null
null
null
src/constants.py
IsakJones/space_invaders
7f8ea85722d2420b403ce307ecbd16c3da4942d8
[ "MIT" ]
null
null
null
""" DOCSTRING Contains main initializing variables as constants. Changing initializing variables for testing should be done here. While verbose, the python enum syntax supports the project's overarching object-oriented approach and keeps all variables in one single module. Enum buckets are: - Paths (for assets, su...
26.271186
64
0.637742
453
3,100
4.280353
0.386313
0.052604
0.087674
0.140278
0.143373
0.103146
0
0
0
0
0
0.06071
0.245484
3,100
118
65
26.271186
0.768277
0.34129
0
0
0
0
0.155941
0
0
0
0
0
0
1
0
false
0
0.024691
0
0.91358
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
8d25931cbf015f44efc33ded567698f61f32d022
4,651
py
Python
gordon/exceptions.py
patgoley/gordon
4c1cd0c4dea2499d98115672095714592f80f7aa
[ "BSD-3-Clause" ]
2,204
2016-06-02T07:47:45.000Z
2022-03-29T15:57:28.000Z
gordon/exceptions.py
patgoley/gordon
4c1cd0c4dea2499d98115672095714592f80f7aa
[ "BSD-3-Clause" ]
159
2016-06-02T11:04:20.000Z
2020-08-26T09:07:36.000Z
gordon/exceptions.py
ericblade/gordon
0cf326db916b3528eae80ad3c732d8732079a2a6
[ "BSD-3-Clause" ]
188
2016-06-02T10:58:00.000Z
2021-11-01T08:15:14.000Z
class BaseGordonException(Exception): code = 1 hint = u"Something went't wrong" def get_hint(self): return self.hint.format(*self.args) class ResourceSettingRequiredError(BaseGordonException): code = 2 hint = u"Resource {} requires you to define '{}' in it's settings." class InvalidStr...
26.276836
96
0.678564
535
4,651
5.885981
0.420561
0.033344
0.121943
0.022229
0.082566
0.066688
0.059066
0.059066
0.059066
0.037472
0
0.015621
0.229198
4,651
176
97
26.426136
0.862762
0
0
0.080357
0
0.008929
0.419265
0
0
0
0
0
0
1
0.044643
false
0.008929
0
0.035714
0.696429
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
8d29e8bd41b32d1db1fb030d955c736712c42724
369
py
Python
CodeChef/DEC20B/VACCINE1.py
mishrakeshav/Competitive-Programming
b25dcfeec0fb9a9c71bf3a05644b619f4ca83dd2
[ "MIT" ]
2
2020-06-25T21:10:32.000Z
2020-12-10T06:53:45.000Z
CodeChef/DEC20B/VACCINE1.py
mishrakeshav/Competitive-Programming
b25dcfeec0fb9a9c71bf3a05644b619f4ca83dd2
[ "MIT" ]
null
null
null
CodeChef/DEC20B/VACCINE1.py
mishrakeshav/Competitive-Programming
b25dcfeec0fb9a9c71bf3a05644b619f4ca83dd2
[ "MIT" ]
3
2020-05-15T14:17:09.000Z
2021-07-25T13:18:20.000Z
import math def solve(): d1,v1,d2,v2,p = map(int,input().split()) m = min(d1,d2) - 1 if d1 > d2: d1,d2 = d2, d1 v1,v2 = v2, v1 vp = 0 diff = d2 - d1 vp = diff*v1 if vp >= p: print(math.ceil(p/v1) + m) return p -= vp print(math.ceil(p/(v1+v2)) + ...
20.5
44
0.460705
61
369
2.655738
0.409836
0.074074
0.160494
0.17284
0.197531
0
0
0
0
0
0
0.102564
0.365854
369
18
45
20.5
0.589744
0
0
0
0
0
0.021622
0
0
0
0
0
0
1
0.058824
false
0
0.058824
0
0.176471
0.117647
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
8d2d93b917a76f82b858b5d27fc5f1666c54308e
1,619
py
Python
tests/views.py
art1415926535/django-rest-framework-include-mixin
edc6d910512e16fdc7103ec85680424471325b75
[ "MIT" ]
null
null
null
tests/views.py
art1415926535/django-rest-framework-include-mixin
edc6d910512e16fdc7103ec85680424471325b75
[ "MIT" ]
null
null
null
tests/views.py
art1415926535/django-rest-framework-include-mixin
edc6d910512e16fdc7103ec85680424471325b75
[ "MIT" ]
null
null
null
# Django from django.contrib.auth.models import Group, User # Rest Framework from rest_framework.viewsets import ReadOnlyModelViewSet # Project apps from rest_framework_include_mixin import QueryOptimizerMixin # This app from .models import UserProfile from .serializers import GroupSerializer, ProfileSerializer, Use...
22.178082
75
0.652872
145
1,619
7.124138
0.37931
0.042594
0.066796
0.087125
0
0
0
0
0
0
0
0
0.249537
1,619
72
76
22.486111
0.850206
0.312539
0
0.08
0
0
0.070936
0
0
0
0
0
0
1
0
false
0
0.2
0
0.72
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
8d3dc819cf707ec4d4b8e97b887836cd2511f03e
1,102
py
Python
boa3_test/tests/test_classes/witnessscope.py
OnBlockIO/neo3-boa
cb317292a67532a52ed26f2b0f0f7d0b10ac5f5f
[ "Apache-2.0" ]
25
2020-07-22T19:37:43.000Z
2022-03-08T03:23:55.000Z
boa3_test/tests/test_classes/witnessscope.py
OnBlockIO/neo3-boa
cb317292a67532a52ed26f2b0f0f7d0b10ac5f5f
[ "Apache-2.0" ]
419
2020-04-23T17:48:14.000Z
2022-03-31T13:17:45.000Z
boa3_test/tests/test_classes/witnessscope.py
OnBlockIO/neo3-boa
cb317292a67532a52ed26f2b0f0f7d0b10ac5f5f
[ "Apache-2.0" ]
15
2020-05-21T21:54:24.000Z
2021-11-18T06:17:24.000Z
from __future__ import annotations import enum class WitnessScope(enum.IntEnum): # Indicates that no contract was witnessed. Only sign the transaction. _None = 0 # Indicates that the calling contract must be the entry contract. The witness/permission/signature # given on first invocation will automa...
29.783784
102
0.680581
138
1,102
5.318841
0.608696
0.057221
0
0
0
0
0
0
0
0
0
0.01348
0.259528
1,102
36
103
30.611111
0.886029
0.441924
0
0
0
0
0.013201
0
0
0
0
0
0
1
0.105263
false
0
0.105263
0
0.736842
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
8d3df173a07daea02fce14d3cd9df2bbde4da822
10,300
py
Python
life.py
robertgallup/circuitpython-life
d7bf1705c4898a55e333da1d426f0e3ff6c60f75
[ "MIT" ]
null
null
null
life.py
robertgallup/circuitpython-life
d7bf1705c4898a55e333da1d426f0e3ff6c60f75
[ "MIT" ]
null
null
null
life.py
robertgallup/circuitpython-life
d7bf1705c4898a55e333da1d426f0e3ff6c60f75
[ "MIT" ]
null
null
null
# John Conway's Game of Life # # Runs on CircuitPython # # Cellular automata displayed on a grid of cells # Some cells begin populated # Repeated generations are calculated using the following rules: # # 1. Live cells with 2 or 3 live neighbors survive # 2. Dead cells with 3 live neighbors become live cells # 3. Every ...
25.621891
93
0.581553
1,434
10,300
4.09484
0.214784
0.024523
0.009196
0.014986
0.166213
0.127895
0.073399
0.026226
0.007493
0
0
0.018586
0.232136
10,300
401
94
25.685786
0.723859
0.356408
0
0.329268
0
0
0.146906
0
0
0
0
0
0
0
null
null
0.004065
0.01626
null
null
0.028455
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
8d4d16a2dfeced629a0619e1b157b59c45a335de
239
py
Python
Topic07-Reading files/readfile.py
Aarondon1993/Projects
9e8b3c728160b279bfb6cc53617ff05fb65856c7
[ "MIT" ]
null
null
null
Topic07-Reading files/readfile.py
Aarondon1993/Projects
9e8b3c728160b279bfb6cc53617ff05fb65856c7
[ "MIT" ]
null
null
null
Topic07-Reading files/readfile.py
Aarondon1993/Projects
9e8b3c728160b279bfb6cc53617ff05fb65856c7
[ "MIT" ]
null
null
null
# Aaron Donnelly # This program will count the number of re-occurences of the letter 'e' in a txt file selected by the user. f= open(input("Insert a .txt filename "), "r") x= f.read().count('e') print("There are",x, "e's in this text")
29.875
107
0.677824
45
239
3.6
0.733333
0.049383
0
0
0
0
0
0
0
0
0
0
0.175732
239
7
108
34.142857
0.822335
0.502092
0
0
0
0
0.443478
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
8d54f84abecc283410e8ab677e64f23f8f7de24e
247
py
Python
seven23/models/profile/migrations/0003_auto_20190318_1339.py
sebastienbarbier/723e_server
3501d143d371355a88bf3129828a9d5fd61d6be4
[ "MIT" ]
27
2019-03-07T17:23:59.000Z
2022-01-29T16:08:09.000Z
seven23/models/profile/migrations/0003_auto_20190318_1339.py
sebastienbarbier/723e_server
3501d143d371355a88bf3129828a9d5fd61d6be4
[ "MIT" ]
31
2017-06-14T08:19:48.000Z
2022-01-26T14:55:39.000Z
seven23/models/profile/migrations/0003_auto_20190318_1339.py
sebastienbarbier/723e_server
3501d143d371355a88bf3129828a9d5fd61d6be4
[ "MIT" ]
14
2019-07-22T09:49:13.000Z
2021-12-21T08:52:02.000Z
# Generated by Django 2.1 on 2019-03-18 13:39 import datetime from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('profile', '0002_profile_valid_until'), ] operations = [ ]
17.642857
48
0.676113
30
247
5.466667
0.833333
0
0
0
0
0
0
0
0
0
0
0.09375
0.222672
247
14
49
17.642857
0.760417
0.174089
0
0
1
0
0.152709
0.118227
0
0
0
0
0
1
0
false
0
0.25
0
0.625
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
8d58553b710add93e32c7a09324acf8b8f5cc022
6,114
py
Python
pysnmp/WWP-COMMUNITY-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
11
2021-02-02T16:27:16.000Z
2021-08-31T06:22:49.000Z
pysnmp/WWP-COMMUNITY-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
75
2021-02-24T17:30:31.000Z
2021-12-08T00:01:18.000Z
pysnmp/WWP-COMMUNITY-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module WWP-COMMUNITY-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/WWP-COMMUNITY-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 21:30:41 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Ma...
119.882353
983
0.77298
664
6,114
7.114458
0.216867
0.011008
0.012701
0.016935
0.367697
0.308002
0.273709
0.273709
0.224598
0.221846
0
0.078103
0.082761
6,114
50
984
122.28
0.764265
0.053647
0
0
0
0
0.150251
0.019214
0
0
0
0
0
1
0
false
0
0.162791
0
0.162791
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
8d677ad8cc39769c972fd50fb579dc3fbeba9a62
510
py
Python
usercm/migrations/0004_auto_20210330_2338.py
binxsahib/WholesaleManagement
e3a59773abe3bbe81538ba4f2debcbe9b3d3547a
[ "CC0-1.0" ]
null
null
null
usercm/migrations/0004_auto_20210330_2338.py
binxsahib/WholesaleManagement
e3a59773abe3bbe81538ba4f2debcbe9b3d3547a
[ "CC0-1.0" ]
null
null
null
usercm/migrations/0004_auto_20210330_2338.py
binxsahib/WholesaleManagement
e3a59773abe3bbe81538ba4f2debcbe9b3d3547a
[ "CC0-1.0" ]
null
null
null
# Generated by Django 3.1.7 on 2021-03-30 17:38 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('usercm', '0003_auto_20210330_2030'), ] operations = [ migrations.RemoveField( model_name='myuser', name='account_typ...
22.173913
70
0.576471
52
510
5.519231
0.788462
0.062718
0.10453
0.132404
0
0
0
0
0
0
0
0.09322
0.305882
510
22
71
23.181818
0.717514
0.088235
0
0.25
1
0
0.140389
0.049676
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
8d78528b758eb553edca13288c8357dc89b24858
109,943
py
Python
automator/Ui_Automator.py
C-CINA/zorro
ac13e6bf9900d11f37dc5910b560c84e285976b1
[ "BSD-2-Clause" ]
8
2016-09-04T01:02:23.000Z
2020-09-10T18:46:41.000Z
automator/Ui_Automator.py
C-CINA/zorro
ac13e6bf9900d11f37dc5910b560c84e285976b1
[ "BSD-2-Clause" ]
14
2016-08-30T06:11:52.000Z
2016-09-29T10:17:40.000Z
automator/Ui_Automator.py
C-CINA/zorro
ac13e6bf9900d11f37dc5910b560c84e285976b1
[ "BSD-2-Clause" ]
3
2016-09-04T01:02:29.000Z
2020-05-25T12:32:45.000Z
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'Ui_Automator.ui' # # Created: Mon Oct 24 17:17:36 2016 # by: pyside-uic 0.2.15 running on PySide 1.2.4 # # WARNING! All changes made in this file will be lost! from PySide import QtCore, QtGui class Ui_Automator_ui(object): def se...
74.537627
332
0.74294
11,782
109,943
6.848158
0.074775
0.092706
0.070893
0.095433
0.611737
0.539505
0.411898
0.294379
0.277301
0.267881
0
0.034063
0.143656
109,943
1,474
333
74.588195
0.82293
0.002074
0
0.13963
1
0.027379
0.145551
0.010592
0
0
0
0
0
1
0.001369
false
0.002738
0.001369
0
0.003422
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
8d7a61a0b1b6340e5b1109e4280d6a69a9ec4a9c
2,088
py
Python
old/ventwistserv.py
tehologist/x-venture
17d18e9b7b58ac9a8e01bf626e5ceedac4ef4cfc
[ "MIT" ]
null
null
null
old/ventwistserv.py
tehologist/x-venture
17d18e9b7b58ac9a8e01bf626e5ceedac4ef4cfc
[ "MIT" ]
null
null
null
old/ventwistserv.py
tehologist/x-venture
17d18e9b7b58ac9a8e01bf626e5ceedac4ef4cfc
[ "MIT" ]
null
null
null
from twisted.protocols import basic import lib.kfun from lib.xmlworld import * lib.kfun.set_starting_id() class person: def __init__(self): self.handler = 0 self.conn = 0 self.name = 0 self.id = 0 def login(self, name=None): if self.handler != "logi...
28.60274
71
0.558429
231
2,088
5.012987
0.367965
0.048359
0.022453
0.041451
0
0
0
0
0
0
0
0.007931
0.335728
2,088
72
72
29
0.826965
0.021073
0
0.037037
0
0
0.061453
0
0
0
0
0
0
0
null
null
0.037037
0.111111
null
null
0.037037
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
8d7a79b5401f0b8ff53a0b26d29dfebd49ad42d7
1,356
py
Python
scripts/benchmarking/parallel_benchmark.py
BerkeleyAutomation/pyhull
7c048d169399300dee8fe7a26977802c51c46cd7
[ "MIT" ]
69
2015-01-22T20:50:48.000Z
2022-03-09T09:58:02.000Z
scripts/benchmarking/parallel_benchmark.py
BerkeleyAutomation/pyhull
7c048d169399300dee8fe7a26977802c51c46cd7
[ "MIT" ]
13
2015-04-07T12:50:19.000Z
2021-08-02T06:32:14.000Z
scripts/benchmarking/parallel_benchmark.py
BerkeleyAutomation/pyhull
7c048d169399300dee8fe7a26977802c51c46cd7
[ "MIT" ]
24
2015-03-10T20:07:07.000Z
2021-06-12T08:16:11.000Z
#!/usr/bin/env python """ TODO: Change the module doc. """ from __future__ import division __author__ = "Shyue Ping Ong" __version__ = "0.1" __maintainer__ = "Shyue Ping Ong" __email__ = "shyuep@gmail.com" __status__ = "Beta" __date__ = "11/19/12" from multiprocessing import Pool import numpy as np from pyhull.co...
26.076923
79
0.587021
176
1,356
4.176136
0.460227
0.065306
0.061224
0.057143
0.223129
0.12517
0
0
0
0
0
0.033092
0.286873
1,356
51
80
26.588235
0.726991
0.036136
0
0.055556
0
0
0.17321
0
0
0
0
0.019608
0.027778
1
0.083333
false
0
0.194444
0.027778
0.333333
0.055556
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
8d7d9b3b9bf256be2d284e157d30b0202c5d84fe
606
py
Python
src/dice_lib/glossary.py
uobdic/dice-lib
8b9c1c90542270aec96a00b2c605b63fd60eaa0f
[ "BSD-3-Clause" ]
null
null
null
src/dice_lib/glossary.py
uobdic/dice-lib
8b9c1c90542270aec96a00b2c605b63fd60eaa0f
[ "BSD-3-Clause" ]
1
2022-03-25T13:47:46.000Z
2022-03-25T13:47:46.000Z
src/dice_lib/glossary.py
uobdic/dice-lib
8b9c1c90542270aec96a00b2c605b63fd60eaa0f
[ "BSD-3-Clause" ]
null
null
null
from types import MappingProxyType GLOSSARY = MappingProxyType( { "Batch": "The batch system, e.g. PBS, LSF, SLURM, SGE, HTCondor, etc.", "CE": "Computing Element", "CLI": "Command Line Interface", "DICE": "Data Intensive Computing Environment", "FTS": "File Transfer Service...
37.875
102
0.622112
69
606
5.463768
0.710145
0.06366
0.074271
0
0
0
0
0
0
0
0
0
0.252475
606
15
103
40.4
0.83223
0
0
0
0
0
0.632013
0
0
0
0
0
0
1
0
false
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
8d7e0b34731badeb3fa9eb3190ab28b6e6656fec
1,404
py
Python
04.adventure/17.ui_panel_reactif/ui_panel.py
Gaetz/python-training
542f658883c66aaa932fb9e385225cfd573bb6de
[ "MIT" ]
1
2021-10-05T11:45:28.000Z
2021-10-05T11:45:28.000Z
04.adventure/17.ui_panel_reactif/ui_panel.py
Gaetz/python-training
542f658883c66aaa932fb9e385225cfd573bb6de
[ "MIT" ]
null
null
null
04.adventure/17.ui_panel_reactif/ui_panel.py
Gaetz/python-training
542f658883c66aaa932fb9e385225cfd573bb6de
[ "MIT" ]
null
null
null
import pygame class UiPanel: def __init__(self, x, y, w, h): self.x = x self.y = y self.w = w self.h = h self.visible = True self.color = (255, 255, 255) self.events = {} self.is_hover = False self.set_event("hover_in", self.on_hover_in) ...
29.87234
118
0.564103
210
1,404
3.57619
0.185714
0.053262
0.073236
0.058589
0.23968
0.197071
0.197071
0.197071
0.197071
0.197071
0
0.028037
0.314103
1,404
47
119
29.87234
0.751817
0
0
0.153846
0
0
0.024199
0
0
0
0
0
0
1
0.205128
false
0
0.025641
0
0.25641
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
8d816913c63382b0142b0e5222d25f1f428aca7a
828
py
Python
nautobot_ssot/choices.py
smk4664/nautobot-plugin-ssot
7020d0d1910a09c408885bae9f9324fb91977928
[ "Apache-2.0" ]
9
2021-07-28T19:21:22.000Z
2022-02-16T10:00:36.000Z
nautobot_ssot/choices.py
smk4664/nautobot-plugin-ssot
7020d0d1910a09c408885bae9f9324fb91977928
[ "Apache-2.0" ]
15
2021-11-10T07:18:59.000Z
2022-03-28T05:39:55.000Z
nautobot_ssot/choices.py
smk4664/nautobot-plugin-ssot
7020d0d1910a09c408885bae9f9324fb91977928
[ "Apache-2.0" ]
6
2021-09-22T15:38:11.000Z
2022-03-15T14:46:14.000Z
"""ChoiceSet classes for Single Source of Truth (SSoT).""" from nautobot.utilities.choices import ChoiceSet class SyncLogEntryActionChoices(ChoiceSet): """Valid values for a SyncLogEntry.action field.""" ACTION_NO_CHANGE = "no-change" ACTION_CREATE = "create" ACTION_UPDATE = "update" ACTION_DELE...
24.352941
58
0.647343
82
828
6.341463
0.414634
0.061538
0.076923
0.088462
0.430769
0.430769
0.292308
0.292308
0.292308
0.292308
0
0
0.228261
828
33
59
25.090909
0.813772
0.173913
0
0.095238
0
0
0.142216
0
0
0
0
0
0
1
0
false
0
0.047619
0
0.571429
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
8d8a043a269cb2e81e1222c2350277a558c61ff4
2,130
py
Python
tester.py
Keychainn/virtuallearningscheduler
0abfd8a54315700f474f8df480622bab9a0126d0
[ "MIT" ]
2
2021-05-17T10:33:39.000Z
2021-05-17T20:45:14.000Z
tester.py
Keychainn/virtuallearningscheduler
0abfd8a54315700f474f8df480622bab9a0126d0
[ "MIT" ]
null
null
null
tester.py
Keychainn/virtuallearningscheduler
0abfd8a54315700f474f8df480622bab9a0126d0
[ "MIT" ]
null
null
null
import json import os def osOpen(): # different strings depending on OS if os.name=="posix": return "open -a '{}' \"{}\"" elif os.name=="nt": return "start {} \"{}\"" def osOpenDeprecated(): # backwards compatability TODO remove if os.name=="posix": return "open -a 'Goog...
41.764706
260
0.553991
255
2,130
4.615686
0.396078
0.038233
0.063721
0.02209
0.365336
0.365336
0.326253
0.285472
0.212404
0.212404
0
0.012517
0.324883
2,130
50
261
42.6
0.805981
0.099061
0
0.243902
0
0.04878
0.322771
0
0
0
0
0.02
0
1
0.073171
false
0
0.04878
0
0.219512
0.097561
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
8d8d1c33ac81acc1e109c031c26c6be24da6bbda
992
py
Python
garagei/torch/distributions/transforms_ex.py
artberryx/LSD
99ee081de2502b4d13c140b474f772db8a5f92fe
[ "MIT" ]
7
2022-02-01T03:02:24.000Z
2022-02-10T12:54:05.000Z
garagei/torch/distributions/transforms_ex.py
artberryx/LSD
99ee081de2502b4d13c140b474f772db8a5f92fe
[ "MIT" ]
null
null
null
garagei/torch/distributions/transforms_ex.py
artberryx/LSD
99ee081de2502b4d13c140b474f772db8a5f92fe
[ "MIT" ]
2
2022-02-03T03:33:25.000Z
2022-02-10T12:54:07.000Z
from torch.distributions.transforms import AffineTransform, _InverseTransform class NoWeakrefTrait(object): def _inv_no_weakref(self): """ Returns the inverse :class:`Transform` of this transform. This should satisfy ``t.inv.inv is t``. """ inv = None if self._inv is...
32
77
0.603831
109
992
5.33945
0.376147
0.072165
0.051546
0.054983
0
0
0
0
0
0
0
0
0.305444
992
30
78
33.066667
0.844702
0.18246
0
0
0
0
0
0
0
0
0
0
0
1
0.157895
false
0
0.052632
0.052632
0.526316
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
8d916e6a95ba8dabb8a82ffc562f45e05e440385
3,724
py
Python
src/player.py
alhoa/castle_conflict
deed3df371f25f914c6ae28d8aa9843d9d556094
[ "MIT" ]
null
null
null
src/player.py
alhoa/castle_conflict
deed3df371f25f914c6ae28d8aa9843d9d556094
[ "MIT" ]
null
null
null
src/player.py
alhoa/castle_conflict
deed3df371f25f914c6ae28d8aa9843d9d556094
[ "MIT" ]
null
null
null
from character import Character from algorithms import find_route, find_los, find_area class Player(Character): def __init__(self): super().__init__() self.controllable = True self.active_attack = None self.attackable_coords = [] self.xp = 0 self.stored_xp = 0 #Points to unock stuff with self.spell...
25.506849
145
0.709452
586
3,724
4.300341
0.206485
0.079365
0.1
0.059524
0.286508
0.25873
0.193651
0.138095
0.112698
0.112698
0
0.014221
0.169173
3,724
145
146
25.682759
0.800259
0.071966
0
0.211009
0
0
0.034503
0
0
0
0
0
0
1
0.211009
false
0
0.018349
0.06422
0.311927
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
8d9ae29fd11ccbd7ccabb498a373937a9422eb48
1,866
py
Python
src/car_listing/models.py
devbabar/django-mycar
2ecc1b341d9a23b4f61ef33e967f8a79a71b1607
[ "MIT" ]
null
null
null
src/car_listing/models.py
devbabar/django-mycar
2ecc1b341d9a23b4f61ef33e967f8a79a71b1607
[ "MIT" ]
null
null
null
src/car_listing/models.py
devbabar/django-mycar
2ecc1b341d9a23b4f61ef33e967f8a79a71b1607
[ "MIT" ]
1
2021-05-09T06:57:55.000Z
2021-05-09T06:57:55.000Z
from __future__ import unicode_literals from django.conf import settings from django.db import models from django.core.urlresolvers import reverse from django.utils.timezone import utc import datetime make_choice =(('toyota','Toyota'), ('nissan','Nissan'), ('ford','Ford'), ('chevrolet','Chevrolet...
27.441176
79
0.720257
237
1,866
5.468354
0.350211
0.092593
0.111111
0.148148
0.291667
0.25
0.229167
0.20216
0.125
0.125
0
0.014991
0.142015
1,866
67
80
27.850746
0.794503
0
0
0.203704
0
0
0.071811
0
0
0
0
0
0
1
0.111111
false
0
0.111111
0.092593
0.777778
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
8d9c23015a42d771472d86b359ec607bec649bde
1,569
py
Python
app/wqFull/CQtype/bMap.py
fkwai/geolearn
30cb4353d22af5020a48100d07ab04f465a315b0
[ "MIT" ]
null
null
null
app/wqFull/CQtype/bMap.py
fkwai/geolearn
30cb4353d22af5020a48100d07ab04f465a315b0
[ "MIT" ]
null
null
null
app/wqFull/CQtype/bMap.py
fkwai/geolearn
30cb4353d22af5020a48100d07ab04f465a315b0
[ "MIT" ]
2
2021-04-04T02:45:59.000Z
2022-03-19T09:41:39.000Z
from mpl_toolkits import basemap import pandas as pd from hydroDL.data import dbBasin, gageII, usgs import numpy as np import matplotlib.pyplot as plt from hydroDL.post import axplot, figplot from hydroDL import kPath, utils import json import os from hydroDL.app.waterQuality import WRTDS import statsmodels.api as sm ...
26.15
75
0.708094
226
1,569
4.884956
0.460177
0.049819
0.027174
0.047101
0.13587
0.077899
0.077899
0.077899
0
0
0
0.009811
0.155513
1,569
59
76
26.59322
0.823396
0.024219
0
0
0
0
0.06623
0
0
0
0
0
0
1
0
false
0
0.361702
0
0.361702
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
8d9f069802bd0ed44dc035561d5ea3543cd2ea8a
701
py
Python
Part-03-Understanding-Software-Crafting-Your-Own-Tools/models/edx-platform/cms/djangoapps/models/settings/waffle.py
osoco/better-ways-of-thinking-about-software
83e70d23c873509e22362a09a10d3510e10f6992
[ "MIT" ]
3
2021-12-15T04:58:18.000Z
2022-02-06T12:15:37.000Z
Part-03-Understanding-Software-Crafting-Your-Own-Tools/models/edx-platform/cms/djangoapps/models/settings/waffle.py
osoco/better-ways-of-thinking-about-software
83e70d23c873509e22362a09a10d3510e10f6992
[ "MIT" ]
null
null
null
Part-03-Understanding-Software-Crafting-Your-Own-Tools/models/edx-platform/cms/djangoapps/models/settings/waffle.py
osoco/better-ways-of-thinking-about-software
83e70d23c873509e22362a09a10d3510e10f6992
[ "MIT" ]
1
2019-01-02T14:38:50.000Z
2019-01-02T14:38:50.000Z
""" Togglable settings for Course Grading behavior """ from openedx.core.djangoapps.waffle_utils import CourseWaffleFlag WAFFLE_NAMESPACE = 'grades' # edx/edx-platform feature MATERIAL_RECOMPUTE_ONLY = 'MATERIAL_RECOMPUTE_ONLY' MATERIAL_RECOMPUTE_ONLY_FLAG = CourseWaffleFlag( # lint-amnesty, pylint: disable=toggle-...
28.04
107
0.78602
85
701
6.164706
0.564706
0.194656
0.240458
0.110687
0.120229
0.120229
0
0
0
0
0
0
0.146933
701
24
108
29.208333
0.876254
0.319544
0
0
0
0
0.064018
0.050773
0
0
0
0
0
1
0.083333
false
0
0.083333
0
0.333333
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
8da61953a79b3bba5157fd8fbb5e01fc9ab452dc
545
py
Python
setup.py
tilign/jupyterdevview
75d876f5004b6848d699c8b47cb7ef9b4128aa5f
[ "BSD-3-Clause" ]
null
null
null
setup.py
tilign/jupyterdevview
75d876f5004b6848d699c8b47cb7ef9b4128aa5f
[ "BSD-3-Clause" ]
null
null
null
setup.py
tilign/jupyterdevview
75d876f5004b6848d699c8b47cb7ef9b4128aa5f
[ "BSD-3-Clause" ]
null
null
null
from distutils.core import setup setup( name='jupyterdevview', version='1.0.1', author='Nick Tiligadas', author_email='nick@tiligadas.net', py_modules=['jupyterdevview'], scripts=[], url='http://pypi.python.org/pypi/jupyterdevview/', license='LICENSE.txt', description='Side by side ...
32.058824
91
0.684404
67
545
5.492537
0.746269
0.070652
0.065217
0
0
0
0
0
0
0
0
0.008602
0.146789
545
16
92
34.0625
0.782796
0
0
0
0
0
0.46789
0.042202
0
0
0
0
0
1
0
true
0
0.066667
0
0.066667
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
8da6b5bdbc71dcb00e01447a33d4494027d06dcb
605
py
Python
exercise2.py
benevolentprof/inf1340-2015-asst2
0e8f3efac1b53897323742c88cb190c36b233f13
[ "MIT" ]
null
null
null
exercise2.py
benevolentprof/inf1340-2015-asst2
0e8f3efac1b53897323742c88cb190c36b233f13
[ "MIT" ]
null
null
null
exercise2.py
benevolentprof/inf1340-2015-asst2
0e8f3efac1b53897323742c88cb190c36b233f13
[ "MIT" ]
null
null
null
#!/usr/bin/env python """ Assignment 2, Exercise 2, INF1340, Fall, 2015. DNA Sequencing This module converts performs substring matching for DNA sequencing """ __author__ = 'Susan Sim' __email__ = "ses@drsusansim.org" __copyright__ = "2015 Susan Sim" __license__ = "MIT License" def find(input_string, substring, s...
15.125
67
0.641322
68
605
5.426471
0.647059
0.070461
0.081301
0.130081
0.373984
0.373984
0.373984
0.373984
0.373984
0.373984
0
0.032751
0.242975
605
39
68
15.512821
0.772926
0.418182
0
0
0
0
0.181818
0
0
0
0
0
0
1
0.222222
false
0
0
0
0.444444
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
a5c19629e76c3bf048f37eb55c8defd367bc74db
693
py
Python
pp-cdmx/project/migrations/0005_auto_20210602_1900.py
rickrebel/race-history
be93b88cf4658fd2c5ec409d8f422b2960d1ae60
[ "MIT" ]
1
2020-08-31T21:08:54.000Z
2020-08-31T21:08:54.000Z
pp-cdmx/project/migrations/0005_auto_20210602_1900.py
rickrebel/race-history
be93b88cf4658fd2c5ec409d8f422b2960d1ae60
[ "MIT" ]
1
2021-06-10T23:09:45.000Z
2021-06-10T23:09:45.000Z
pp-cdmx/project/migrations/0005_auto_20210602_1900.py
rickrebel/race-history
be93b88cf4658fd2c5ec409d8f422b2960d1ae60
[ "MIT" ]
1
2021-07-16T19:32:04.000Z
2021-07-16T19:32:04.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.29 on 2021-06-03 00:00 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('project', '0004_auto_20210601_1911'), ] operations = [ migrations.AlterMod...
27.72
140
0.623377
70
693
5.985714
0.742857
0.052506
0
0
0
0
0
0
0
0
0
0.065511
0.251082
693
24
141
28.875
0.741811
0.099567
0
0.117647
1
0
0.243156
0.037037
0
0
0
0
0
1
0
false
0
0.117647
0
0.294118
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
a5c3c0443e55b582f988be73fc37930c74eb2ef5
1,828
py
Python
code/rigid_graphs/sol_434.py
bhavinjawade/project-euler-solutions
56bf6a282730ed4b9b875fa081cf4509d9939d98
[ "Apache-2.0" ]
2
2020-07-16T08:16:32.000Z
2020-10-01T07:16:48.000Z
code/rigid_graphs/sol_434.py
Psingh12354/project-euler-solutions
56bf6a282730ed4b9b875fa081cf4509d9939d98
[ "Apache-2.0" ]
null
null
null
code/rigid_graphs/sol_434.py
Psingh12354/project-euler-solutions
56bf6a282730ed4b9b875fa081cf4509d9939d98
[ "Apache-2.0" ]
1
2021-05-07T18:06:08.000Z
2021-05-07T18:06:08.000Z
# -*- coding: utf-8 -*- ''' File name: code\rigid_graphs\sol_434.py Author: Vaidic Joshi Date created: Oct 20, 2018 Python Version: 3.x ''' # Solution to Project Euler Problem #434 :: Rigid graphs # # For more information see: # https://projecteuler.net/problem=434 # Problem Statement ''' Recall th...
45.7
257
0.753282
323
1,828
4.26935
0.501548
0.017404
0.011603
0.026106
0.037708
0.037708
0.037708
0
0
0
0
0.039163
0.189825
1,828
39
258
46.871795
0.889264
0.160832
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
a5ca017f98587e98ef763434e2a6fe797e4d1873
6,063
py
Python
game.py
xianc78/Platformer
71b5a833d740ff9027271df551fff7005130f8b6
[ "Unlicense" ]
null
null
null
game.py
xianc78/Platformer
71b5a833d740ff9027271df551fff7005130f8b6
[ "Unlicense" ]
null
null
null
game.py
xianc78/Platformer
71b5a833d740ff9027271df551fff7005130f8b6
[ "Unlicense" ]
null
null
null
import pygame, sys, easygui, glob import constants from player import Player from platform import Platform from map import Map from textfunctions import * from camera import Camera from button import Button if pygame.joystick.get_count() > 0: controller = pygame.joystick.Joystick(0) controller.init() else: controll...
32.079365
122
0.676068
882
6,063
4.579365
0.155329
0.049517
0.051993
0.037633
0.412974
0.330527
0.277544
0.211438
0.180243
0.136667
0
0.008492
0.184232
6,063
189
123
32.079365
0.808128
0.030018
0
0.39759
0
0
0.039503
0.004597
0
0
0
0
0
0
null
null
0.024096
0.048193
null
null
0.012048
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
a5ca16fb9cae20e0965d7a964c92bdbbd142d77d
3,157
py
Python
management/commands/update_ventrilo.py
Exide/django-ventrilo
8333d13a76dd8325356a36585279eb96fc80121c
[ "MIT" ]
null
null
null
management/commands/update_ventrilo.py
Exide/django-ventrilo
8333d13a76dd8325356a36585279eb96fc80121c
[ "MIT" ]
null
null
null
management/commands/update_ventrilo.py
Exide/django-ventrilo
8333d13a76dd8325356a36585279eb96fc80121c
[ "MIT" ]
null
null
null
import subprocess import urllib2 from django.core.management.base import BaseCommand, CommandError from models import Server, Channel, Client class Command(BaseCommand): args = '<server_host ...>' help = 'Queries a Ventrilo server for its status' def handle(self, *args, **options): ...
43.246575
116
0.515046
326
3,157
4.941718
0.331288
0.043451
0.039727
0.037244
0.137803
0.078212
0.078212
0.038485
0.038485
0
0
0.006596
0.375673
3,157
72
117
43.847222
0.810756
0.040228
0
0.075472
0
0
0.091802
0
0
0
0
0
0
0
null
null
0
0.075472
null
null
0.018868
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
a5cbe518c1235e87cf657847c8f223b65bcc30a1
8,413
py
Python
CeptServer.py
bildschirmtext/twistedUlm
c84e648f7d92e0ffa13b5ba09824116dcd5ba5f3
[ "Unlicense" ]
4
2015-07-23T08:24:11.000Z
2020-01-01T17:10:44.000Z
CeptServer.py
proquar/twistedUlm
c84e648f7d92e0ffa13b5ba09824116dcd5ba5f3
[ "Unlicense" ]
null
null
null
CeptServer.py
proquar/twistedUlm
c84e648f7d92e0ffa13b5ba09824116dcd5ba5f3
[ "Unlicense" ]
2
2017-06-21T05:33:40.000Z
2019-01-05T04:19:44.000Z
# -*- coding: utf-8 -*- ############################################################################### # This file is part of twistedUlm. # # 2010, Christian Groeger <code@proquari.at> # # twistedUlm is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public Lic...
30.81685
88
0.689528
1,182
8,413
4.901015
0.277496
0.019679
0.025893
0.017953
0.089936
0.051787
0.034524
0.034524
0.015191
0.015191
0
0.008249
0.193035
8,413
273
89
30.81685
0.845043
0.153453
0
0.231293
0
0
0.057529
0
0
0
0
0
0
0
null
null
0.013605
0.040816
null
null
0.095238
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
a5cf338920624cf60c0cbfbf7d67d34e288c17a2
512
py
Python
core/migrations/0004_alter_challenge_status.py
Podemoscorp/olimpimat
996b09e9b9c789ee962c41de62ccec37b83718f5
[ "MIT" ]
1
2021-06-18T14:10:42.000Z
2021-06-18T14:10:42.000Z
core/migrations/0004_alter_challenge_status.py
Podemoscorp/olimpimat
996b09e9b9c789ee962c41de62ccec37b83718f5
[ "MIT" ]
null
null
null
core/migrations/0004_alter_challenge_status.py
Podemoscorp/olimpimat
996b09e9b9c789ee962c41de62ccec37b83718f5
[ "MIT" ]
null
null
null
# Generated by Django 3.2.2 on 2021-05-23 23:01 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ("core", "0003_new"), ] operations = [ migrations.AlterField( model_name="challenge", name="status", field...
22.26087
81
0.503906
49
512
5.204082
0.836735
0
0
0
0
0
0
0
0
0
0
0.063253
0.351563
512
22
82
23.272727
0.704819
0.087891
0
0.125
1
0
0.113978
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
a5d102676d75c3ee49ef412c3dd0ac696a94369b
913
py
Python
white-border.py
indrekots/white-border
135ff48e07dd0ff42b589038fb317fb99d0bfff1
[ "MIT" ]
null
null
null
white-border.py
indrekots/white-border
135ff48e07dd0ff42b589038fb317fb99d0bfff1
[ "MIT" ]
null
null
null
white-border.py
indrekots/white-border
135ff48e07dd0ff42b589038fb317fb99d0bfff1
[ "MIT" ]
null
null
null
#!/usr/bin/python from PIL import Image import sys, os BORDER_RATIO = 11.52 WHITE_BORDER_FOLDER = 'whiteBorder' JPEG_QUALITY = 100 def isJpeg(fileName): return '.jpg' in fileName or '.jpeg' in fileName def addWhiteBorder(fileName): image = Image.open(fileName); newSize = (image.size[0] + int(round(image...
29.451613
107
0.674699
135
913
4.466667
0.407407
0.089552
0.112769
0.056385
0
0
0
0
0
0
0
0.034574
0.176342
913
30
108
30.433333
0.767287
0.017525
0
0
0
0
0.055804
0
0
0
0
0
0
0
null
null
0
0.095238
null
null
0.047619
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
a5d1ed56ff41212d55eb735dac89180449fd8f07
2,679
py
Python
androlyze/celery/faulttolerance/RetryDecorator.py
nachtmaar/androlyze
cfdbf5ddc7da0eff8554de1ac89e3acf8142100d
[ "MIT" ]
17
2015-06-26T16:31:20.000Z
2021-11-08T21:37:40.000Z
androlyze/celery/faulttolerance/RetryDecorator.py
nachtmaar/androlyze
cfdbf5ddc7da0eff8554de1ac89e3acf8142100d
[ "MIT" ]
null
null
null
androlyze/celery/faulttolerance/RetryDecorator.py
nachtmaar/androlyze
cfdbf5ddc7da0eff8554de1ac89e3acf8142100d
[ "MIT" ]
4
2015-12-12T16:54:54.000Z
2019-02-18T12:14:55.000Z
# encoding: utf-8 __author__ = "Nils Tobias Schmidt" __email__ = "schmidt89 at informatik.uni-marburg.de" import sys from androlyze.error.WrapperException import WrapperException from androlyze.util import Util from androlyze.celery import CeleryUtil class RetryDecorator(object): ''' Decorator for retrying cel...
39.985075
133
0.595745
306
2,679
4.980392
0.372549
0.047244
0.051181
0.033465
0.047244
0.047244
0
0
0
0
0
0.005045
0.33408
2,679
66
134
40.590909
0.849215
0.074655
0
0
0
0
0.035872
0.015733
0
0
0
0
0
0
null
null
0
0.133333
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
a5d41a76874fcbffdeb7caf52c1d07edafd757de
7,794
py
Python
edexOsgi/com.raytheon.edex.uengine/utility/edex_static/base/python/GempakCatalogTimeQuery.py
srcarter3/awips2
37f31f5e88516b9fd576eaa49d43bfb762e1d174
[ "Apache-2.0" ]
null
null
null
edexOsgi/com.raytheon.edex.uengine/utility/edex_static/base/python/GempakCatalogTimeQuery.py
srcarter3/awips2
37f31f5e88516b9fd576eaa49d43bfb762e1d174
[ "Apache-2.0" ]
null
null
null
edexOsgi/com.raytheon.edex.uengine/utility/edex_static/base/python/GempakCatalogTimeQuery.py
srcarter3/awips2
37f31f5e88516b9fd576eaa49d43bfb762e1d174
[ "Apache-2.0" ]
1
2021-10-30T00:03:05.000Z
2021-10-30T00:03:05.000Z
## # This software was developed and / or modified by Raytheon Company, # pursuant to Contract DG133W-05-CQ-1067 with the US Government. # # U.S. EXPORT CONTROLLED TECHNICAL DATA # This software product contains export-restricted data whose # export/transfer/disclosure is restricted by U.S. law. Dissemination # to non...
35.917051
98
0.550038
765
7,794
5.583007
0.389542
0.042145
0.083587
0.014048
0.166003
0.10981
0.076563
0.050105
0
0
0
0.028926
0.34796
7,794
217
99
35.917051
0.811492
0.315627
0
0.146789
0
0
0.079962
0
0
0
0
0
0
0
null
null
0
0.036697
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
a5dd7312ddf202daef16194a00b3ef0e143906fb
698
py
Python
examples/src/Shapes/CreateBoundsShapeThumbnail.py
aspose-slides/Aspose.Slides-for-Python-via-.NET
c55ad5c71f942598f1e67e22a52cbcd1cb286467
[ "MIT" ]
null
null
null
examples/src/Shapes/CreateBoundsShapeThumbnail.py
aspose-slides/Aspose.Slides-for-Python-via-.NET
c55ad5c71f942598f1e67e22a52cbcd1cb286467
[ "MIT" ]
null
null
null
examples/src/Shapes/CreateBoundsShapeThumbnail.py
aspose-slides/Aspose.Slides-for-Python-via-.NET
c55ad5c71f942598f1e67e22a52cbcd1cb286467
[ "MIT" ]
null
null
null
import aspose.pydrawing as drawing import aspose.slides as slides #ExStart:CreateBoundsShapeThumbnail # The path to the documents directory. dataDir = "./examples/data/" outDir = "./examples/out/" # Instantiate a Presentation class that represents the presentation file with slides.Presentation(dataDir + "welcome-to-...
46.533333
112
0.783668
89
698
6.089888
0.561798
0.04428
0
0
0
0
0
0
0
0
0
0.006579
0.12894
698
15
113
46.533333
0.883224
0.356734
0
0
0
0
0.218962
0.148984
0
0
0
0
0
0
null
null
0
0.285714
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
a5edc236d54150e9a4242f81545909ded0a1a336
1,821
py
Python
online_shop/app/schemas/category_schema.py
styam/django_graphene
7ae997bd7e3d8ceae1820f8c9ef69ba16d0c53ee
[ "MIT" ]
2
2021-03-24T10:55:54.000Z
2021-04-05T12:36:56.000Z
online_shop/app/schemas/category_schema.py
styam/django_graphene
7ae997bd7e3d8ceae1820f8c9ef69ba16d0c53ee
[ "MIT" ]
null
null
null
online_shop/app/schemas/category_schema.py
styam/django_graphene
7ae997bd7e3d8ceae1820f8c9ef69ba16d0c53ee
[ "MIT" ]
null
null
null
import graphene from graphene import Argument from graphene_django.types import DjangoObjectType from ..models import Category class CategoryType(DjangoObjectType): class Meta: model = Category class Query(object): all_categories = graphene.List(CategoryType) category = graphene.Field(CategoryT...
25.291667
67
0.676002
194
1,821
6.304124
0.262887
0.078496
0.068684
0.107931
0.291087
0.273099
0.224039
0.155356
0.155356
0.111202
0
0
0.236683
1,821
71
68
25.647887
0.879856
0.030752
0
0.25
0
0
0
0
0
0
0
0
0
1
0.104167
false
0
0.083333
0.041667
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
a5f0d990fe331b0c850305914201a014bc557b07
1,161
py
Python
docs/examples/exac_combine/exac_combine_mkconf.py
tsnowlan/vcfanno
8ffa89c168ee4cb26384fc993acbe9d8e527edec
[ "MIT" ]
303
2015-04-29T16:14:14.000Z
2022-03-29T03:50:27.000Z
docs/examples/exac_combine/exac_combine_mkconf.py
tsnowlan/vcfanno
8ffa89c168ee4cb26384fc993acbe9d8e527edec
[ "MIT" ]
143
2015-05-05T22:03:46.000Z
2022-03-07T05:40:48.000Z
docs/examples/exac_combine/exac_combine_mkconf.py
tsnowlan/vcfanno
8ffa89c168ee4cb26384fc993acbe9d8e527edec
[ "MIT" ]
62
2015-05-29T18:22:20.000Z
2021-11-04T18:01:41.000Z
import sys import gzip import re xopen = lambda f: (gzip.open if f.endswith(".gz") else open)(f) vcf = xopen(sys.argv[1]) key = sys.argv[2] patt = re.compile("ID=AN_(...),") fields = [] for line in vcf: if line[0] != "#": break m = patt.search(line) if not m: continue group = m.groups()[0] fields...
26.386364
79
0.531438
148
1,161
4.087838
0.439189
0.099174
0.112397
0.06281
0.042975
0
0
0
0
0
0
0.006865
0.247201
1,161
43
80
27
0.685355
0.085271
0
0.055556
0
0
0.25779
0.047214
0
0
0
0
0
0
null
null
0
0.083333
null
null
0.055556
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
a5f9b29f89fd111ac2954603394a84b2773d4fe5
1,444
py
Python
orders/serializers.py
Nosaiba1/Avocado-Ecommerce
452f88226f77c2bef480a1cd77e2c5446af19453
[ "BSD-2-Clause" ]
null
null
null
orders/serializers.py
Nosaiba1/Avocado-Ecommerce
452f88226f77c2bef480a1cd77e2c5446af19453
[ "BSD-2-Clause" ]
8
2020-03-24T16:09:42.000Z
2022-03-11T23:30:50.000Z
orders/serializers.py
Nosaiba1/Avocado-Ecommerce
452f88226f77c2bef480a1cd77e2c5446af19453
[ "BSD-2-Clause" ]
null
null
null
from .models import Order, Cart from rest_framework import serializers from product.models import Product class ProductSerializer(serializers.ModelSerializer): class Meta: model = Product fields = ('name', 'unit_price') class CartSerializer(serializers.ModelSerializer): product_item = Produc...
29.469388
73
0.680748
154
1,444
6.253247
0.337662
0.094496
0.043614
0.035306
0.107996
0.053998
0
0
0
0
0
0
0.205679
1,444
48
74
30.083333
0.839582
0
0
0.147059
0
0
0.081137
0
0
0
0
0
0
1
0.058824
false
0
0.088235
0
0.529412
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
a5fe98e9ee5b1ceabbf0bc7e95d2f3ad18f76978
2,133
py
Python
modules/devnet_0_smtp.py
snowtrain/network-ops
fc439c0531258be545f31964e195cadde479734e
[ "MIT" ]
1
2020-04-03T07:34:47.000Z
2020-04-03T07:34:47.000Z
modules/devnet_0_smtp.py
snowtrain/network-ops
fc439c0531258be545f31964e195cadde479734e
[ "MIT" ]
null
null
null
modules/devnet_0_smtp.py
snowtrain/network-ops
fc439c0531258be545f31964e195cadde479734e
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import smtplib import email.utils from email.mime.multipart import MIMEMultipart from email.mime.text import MIMEText from email.mime.application import MIMEApplication import django import os os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'devnet.settings') django.setup() from devnet2019.model...
31.367647
91
0.600094
224
2,133
5.59375
0.549107
0.038308
0.031125
0
0
0
0
0
0
0
0
0.025149
0.291608
2,133
67
92
31.835821
0.804103
0.113924
0
0.075472
0
0
0.113369
0.011765
0
0
0
0
0
1
0.037736
false
0.075472
0.150943
0
0.188679
0.037736
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
a5feba9f860f95c277557be522b290a5c7cfba19
187
py
Python
diagnostics.py
rscalzo/sami
7ac5632e018cdf2384f5ff067c503177684f61c8
[ "BSD-3-Clause" ]
1
2021-12-07T08:30:38.000Z
2021-12-07T08:30:38.000Z
diagnostics.py
rscalzo/sami
7ac5632e018cdf2384f5ff067c503177684f61c8
[ "BSD-3-Clause" ]
null
null
null
diagnostics.py
rscalzo/sami
7ac5632e018cdf2384f5ff067c503177684f61c8
[ "BSD-3-Clause" ]
3
2021-02-15T19:51:59.000Z
2021-05-04T05:48:46.000Z
''' Created on Nov 6, 2013 @author: agreen This module is used by the cubing_tests module as a data store. ''' enabled = True class DAR: xfibre_pos = False yfibre_pos = False
13.357143
63
0.68984
30
187
4.2
0.9
0.126984
0
0
0
0
0
0
0
0
0
0.034965
0.235294
187
13
64
14.384615
0.846154
0.55615
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0.75
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
5700249ae313f9409fbc7b6a4cd5b3fa4d68f8f8
1,214
py
Python
archived/update_court_detail_statuses.py
jmcarp/va-court-scraper
edfc9278bbf495ecf244eecf2ac2988086070faa
[ "MIT" ]
10
2016-03-23T23:25:18.000Z
2021-03-11T18:09:08.000Z
archived/update_court_detail_statuses.py
jmcarp/va-court-scraper
edfc9278bbf495ecf244eecf2ac2988086070faa
[ "MIT" ]
2
2018-05-27T23:50:27.000Z
2018-05-28T00:14:08.000Z
archived/update_court_detail_statuses.py
jmcarp/va-court-scraper
edfc9278bbf495ecf244eecf2ac2988086070faa
[ "MIT" ]
3
2016-12-16T03:11:08.000Z
2019-06-10T14:43:33.000Z
import os import pymongo # Connect to database circuit_db_client = pymongo.MongoClient(os.environ['CIRCUIT_DB']) circuit_db = circuit_db_client.va_circuit_court_cases district_db_client = pymongo.MongoClient(os.environ['DISTRICT_DB']) district_db = district_db_client.va_district_court_cases print 'DISTRICT COURT' for...
31.128205
67
0.650741
149
1,214
5.020134
0.255034
0.096257
0.064171
0.106952
0.572193
0.572193
0.47861
0.47861
0.393048
0.173797
0
0.006054
0.18369
1,214
38
68
31.947368
0.748739
0.015651
0
0.441176
0
0
0.238055
0
0
0
0
0
0
0
null
null
0
0.058824
null
null
0.117647
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
57067027085272f1ad132f0557f133ff859a3ecf
399
py
Python
recipesAPI/recipes/migrations/0011_auto_20220116_2017.py
rainsha/polsl_mgr_obierki
cc5ddb3df7b6c75f385f64029a10bd4919827545
[ "MIT" ]
null
null
null
recipesAPI/recipes/migrations/0011_auto_20220116_2017.py
rainsha/polsl_mgr_obierki
cc5ddb3df7b6c75f385f64029a10bd4919827545
[ "MIT" ]
null
null
null
recipesAPI/recipes/migrations/0011_auto_20220116_2017.py
rainsha/polsl_mgr_obierki
cc5ddb3df7b6c75f385f64029a10bd4919827545
[ "MIT" ]
null
null
null
# Generated by Django 3.0.14 on 2022-01-16 19:17 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('recipes', '0010_delete_message'), ] operations = [ migrations.AlterField( model_name='recipe', name='content', ...
21
65
0.598997
42
399
5.595238
0.857143
0
0
0
0
0
0
0
0
0
0
0.087108
0.280702
399
18
66
22.166667
0.731707
0.115288
0
0
1
0
0.111111
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
570b2ca54709e93707e6ca4a5be29c52511218a9
1,478
py
Python
mapped_config/constructor.py
maxpowel/mapped_config
dda6c67c3e4328c080dc25a5b258b567dccda694
[ "MIT" ]
3
2016-08-30T16:16:56.000Z
2018-06-11T16:48:46.000Z
mapped_config/constructor.py
maxpowel/mapped_config
dda6c67c3e4328c080dc25a5b258b567dccda694
[ "MIT" ]
6
2016-08-20T12:49:02.000Z
2021-03-25T21:50:12.000Z
mapped_config/constructor.py
maxpowel/mapped_config
dda6c67c3e4328c080dc25a5b258b567dccda694
[ "MIT" ]
1
2019-05-27T10:25:40.000Z
2019-05-27T10:25:40.000Z
class Field(object): def __init__(self, name=None, default=None, data_type=None): self.name = name self.default = default self.required = self.default is None self.type = data_type def build(self): result = {key: value for key, value in self.__dict__.items() if value is...
24.633333
90
0.604195
182
1,478
4.725275
0.225275
0.102326
0.051163
0.059302
0.101163
0.069767
0.069767
0
0
0
0
0
0.290257
1,478
59
91
25.050847
0.819828
0
0
0.222222
0
0
0.019661
0
0
0
0
0
0
1
0.155556
false
0
0
0.022222
0.533333
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
5710646b7d9246fcbeda2f6123ea5b32603e3c05
1,979
py
Python
app/views.py
dennisnyamweya/Neighbourhood
28d4d208c7d2af407d9f64dce3f2cc8a66603df6
[ "MIT" ]
null
null
null
app/views.py
dennisnyamweya/Neighbourhood
28d4d208c7d2af407d9f64dce3f2cc8a66603df6
[ "MIT" ]
7
2021-03-19T03:36:59.000Z
2022-02-10T12:48:51.000Z
app/views.py
dennisnyamweya/Neighbourhood
28d4d208c7d2af407d9f64dce3f2cc8a66603df6
[ "MIT" ]
null
null
null
from django.shortcuts import render,get_object_or_404,redirect from .models import Hood,Business,User from django.views.generic import ListView,DetailView from django.db.models import Q from django.views.generic.edit import CreateView from django.contrib.auth.forms import UserCreationForm from django.contrib.auth.mixin...
30.921875
62
0.700859
222
1,979
6.081081
0.342342
0.059259
0.037778
0.046667
0.087407
0.044444
0
0
0
0
0
0.00191
0.206165
1,979
64
63
30.921875
0.857416
0.071248
0
0.098039
0
0
0.090513
0.013086
0
0
0
0
0
1
0.058824
false
0
0.176471
0
0.627451
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
572859b70b80da90a391f5e0d694f6eefac0967e
4,922
py
Python
src/viewer/worldbank/models.py
ozacas/asxtrade
a3645ae526bfc7a546fdf2a39520feda99e3390a
[ "Apache-2.0" ]
8
2021-03-20T13:12:25.000Z
2022-02-07T11:17:40.000Z
src/viewer/worldbank/models.py
ozacas/asxtrade
a3645ae526bfc7a546fdf2a39520feda99e3390a
[ "Apache-2.0" ]
8
2021-03-07T03:23:46.000Z
2021-06-01T10:49:56.000Z
src/viewer/worldbank/models.py
ozacas/asxtrade
a3645ae526bfc7a546fdf2a39520feda99e3390a
[ "Apache-2.0" ]
3
2020-12-08T10:22:23.000Z
2021-08-04T01:59:24.000Z
import django.db.models as model from djongo.models import ObjectIdField, DjongoManager, ArrayField from djongo.models.json import JSONField import pandas as pd def get_parquet(tag: str) -> pd.DataFrame: assert len(tag) > 0 cache_entry = WorldBankDataCache.objects.filter(tag=tag).first() if cache_entry is...
33.944828
128
0.691589
598
4,922
5.486622
0.285953
0.098141
0.024383
0.044194
0.287412
0.228284
0.148735
0.129838
0.108504
0.09235
0
0.001795
0.207842
4,922
144
129
34.180556
0.839702
0.128809
0
0.245283
0
0.009434
0.100825
0.034158
0
0
0
0
0.009434
1
0.066038
false
0
0.037736
0.018868
0.707547
0.009434
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
572ae420f3908a6fc26c90603bc1de93bfd289fd
620
py
Python
enxml/parse.py
scootersmk/evermutt
6914c4a1d1be0d4fcf09e2f114a4d796f930f361
[ "MIT" ]
4
2018-04-26T01:32:41.000Z
2021-02-10T14:40:10.000Z
enxml/parse.py
scootersmk/evermutt
6914c4a1d1be0d4fcf09e2f114a4d796f930f361
[ "MIT" ]
null
null
null
enxml/parse.py
scootersmk/evermutt
6914c4a1d1be0d4fcf09e2f114a4d796f930f361
[ "MIT" ]
null
null
null
#!/usr/bin/env python import xml.etree.ElementTree as ET def parse(filename): lines = [] tree = ET.parse(filename) root = tree.getroot() if root is not None and root.tag == 'en-note': print root #handle simple notes blank and oneliners if root.text is not None: lines.append(root.text) e...
20.666667
50
0.590323
92
620
3.978261
0.478261
0.090164
0.04918
0
0
0
0
0
0
0
0
0
0.272581
620
29
51
21.37931
0.81153
0.174194
0
0
0
0
0.039293
0
0
0
0
0
0
0
null
null
0
0.047619
null
null
0.190476
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
572bcdae5f55121ccab9b27da3be060a85dbff5c
777
py
Python
hello_kerko.py
whiskyechobravo/kerkostart
3514b09f02298b0deacb5e5605e22d0e8df5546a
[ "BSD-3-Clause" ]
1
2020-07-28T16:38:03.000Z
2020-07-28T16:38:03.000Z
hello_kerko.py
whiskyechobravo/kerkostart
3514b09f02298b0deacb5e5605e22d0e8df5546a
[ "BSD-3-Clause" ]
null
null
null
hello_kerko.py
whiskyechobravo/kerkostart
3514b09f02298b0deacb5e5605e22d0e8df5546a
[ "BSD-3-Clause" ]
null
null
null
import pathlib from flask import Flask from flask_babel import Babel from flask_bootstrap import Bootstrap from kerko import blueprint as kerko_blueprint from kerko.composer import Composer app = Flask(__name__) app.config['SECRET_KEY'] = '_5#y2L"F4Q8z\n\xec]/' # Replace this value. app.config['KERKO_ZOTERO_API_KEY...
35.318182
86
0.776062
106
777
5.424528
0.40566
0.093913
0.121739
0.09913
0.212174
0.212174
0.212174
0.149565
0
0
0
0.015873
0.108108
777
21
87
37
0.813853
0.118404
0
0
0
0
0.270588
0.105882
0
0
0
0
0
1
0
false
0
0.375
0
0.375
0.125
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
572d156d7f05c87745bc4eb83db9557026cca9c3
241
py
Python
classifier_service/server/services/__init__.py
domaxi/spot-it-3d
265362b2d3cdccecb9f10c1091ba61d47d16b2d5
[ "Apache-2.0" ]
6
2021-08-03T07:46:58.000Z
2022-03-08T03:06:27.000Z
classifier_service/server/services/__init__.py
domaxi/spot-it-3d
265362b2d3cdccecb9f10c1091ba61d47d16b2d5
[ "Apache-2.0" ]
null
null
null
classifier_service/server/services/__init__.py
domaxi/spot-it-3d
265362b2d3cdccecb9f10c1091ba61d47d16b2d5
[ "Apache-2.0" ]
1
2022-02-15T09:14:21.000Z
2022-02-15T09:14:21.000Z
import os import pickle from server import settings classifier = pickle.load( open( os.path.join( os.path.abspath(os.curdir), settings["server_settings"]["model_path"], ), "rb", ) )
15.0625
54
0.556017
26
241
5.076923
0.576923
0.090909
0
0
0
0
0
0
0
0
0
0
0.323651
241
15
55
16.066667
0.809816
0
0
0
0
0
0.112033
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
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
5733028d782e282e5d9a1ea9e1acd17e5670d72d
876
py
Python
cfgov/regulations3k/tests/test_hooks.py
atuggle/cfgov-refresh
5a9cfd92b460b9be7befb39f5845abf56857aeac
[ "CC0-1.0" ]
null
null
null
cfgov/regulations3k/tests/test_hooks.py
atuggle/cfgov-refresh
5a9cfd92b460b9be7befb39f5845abf56857aeac
[ "CC0-1.0" ]
null
null
null
cfgov/regulations3k/tests/test_hooks.py
atuggle/cfgov-refresh
5a9cfd92b460b9be7befb39f5845abf56857aeac
[ "CC0-1.0" ]
null
null
null
from __future__ import unicode_literals from django.test import TestCase from wagtail.tests.utils import WagtailTestUtils class TestRegs3kHooks(TestCase, WagtailTestUtils): def setUp(self): self.login() def test_part_model_admin(self): response = self.client.get('/admin/regulations3k/part/...
31.285714
76
0.730594
101
876
6.128713
0.316832
0.045234
0.090469
0.142165
0.609047
0.609047
0.550889
0.550889
0.342488
0
0
0.02332
0.167808
876
27
77
32.444444
0.825789
0
0
0.222222
0
0
0.139269
0.139269
0
0
0
0
0.222222
1
0.277778
false
0
0.166667
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
1
0
0
0
0
0
0
0
1
57340d225a885e1aa29435d9458ac3d805ee6619
1,529
py
Python
kernel/tools/hardware/outputs/yaml.py
Nexusoft/LLL-OS
7b0ad5afb339e9bebc65142ee89bded5344cedbe
[ "BSD-2-Clause" ]
4
2020-08-07T19:48:01.000Z
2020-10-16T20:05:17.000Z
kernel/tools/hardware/outputs/yaml.py
Nexusoft/LX-OS
7b0ad5afb339e9bebc65142ee89bded5344cedbe
[ "BSD-2-Clause" ]
null
null
null
kernel/tools/hardware/outputs/yaml.py
Nexusoft/LX-OS
7b0ad5afb339e9bebc65142ee89bded5344cedbe
[ "BSD-2-Clause" ]
2
2020-08-13T01:48:40.000Z
2020-09-17T07:34:42.000Z
# # Copyright 2020, Data61, CSIRO (ABN 41 687 119 230) # # SPDX-License-Identifier: GPL-2.0-only # ''' generate a yaml file with memory region info from the device tree ''' import argparse import yaml from hardware import config, fdt from hardware.utils import memory, rule def get_kernel_devices(tree: fdt.FdtParse...
31.204082
94
0.676259
224
1,529
4.482143
0.428571
0.064741
0.047809
0.039841
0.079681
0.057769
0.057769
0.057769
0.057769
0.057769
0
0.020542
0.204055
1,529
48
95
31.854167
0.804437
0.102027
0
0
1
0
0.108664
0.015419
0
0
0
0
0
1
0.103448
false
0
0.137931
0
0.275862
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
573732408832d6ed699260fef843ff6f91fab77f
649
py
Python
gr/test/test_xp.py
Aresjr/Guerreiro
c378836d8d5b41cba8585170459a070eed673356
[ "Apache-2.0" ]
null
null
null
gr/test/test_xp.py
Aresjr/Guerreiro
c378836d8d5b41cba8585170459a070eed673356
[ "Apache-2.0" ]
4
2020-07-11T00:20:57.000Z
2020-08-06T11:58:23.000Z
gr/test/test_xp.py
Aresjr/Guerreiro
c378836d8d5b41cba8585170459a070eed673356
[ "Apache-2.0" ]
null
null
null
from gr.dao.ConquistaDao import conquista_dao from gr.dao.NivelHabilidadeDao import nivel_habilidade_dao from gr.dao.UsuarioDao import usuario_dao from gr.service.AtividadeService import atividade_service # noinspection PyUnresolvedReferences from gr.test.test_carga import carga def test_levelup(carga): usuario =...
30.904762
58
0.790447
85
649
5.8
0.458824
0.060852
0.054767
0.048682
0
0
0
0
0
0
0
0.014311
0.138675
649
20
59
32.45
0.867621
0.075501
0
0
0
0
0.0067
0
0
0
0
0
0.285714
1
0.071429
false
0
0.357143
0
0.428571
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
573cffe949ab8394715751453b56aafa26299554
1,790
py
Python
engines/avast/test/testscan.py
scsich/phagescan
3394b6a80e62c175b1e10477f58f7b609c399085
[ "Apache-2.0" ]
21
2015-02-03T18:41:23.000Z
2022-03-18T20:16:13.000Z
engines/avast/test/testscan.py
scsich/phagescan
3394b6a80e62c175b1e10477f58f7b609c399085
[ "Apache-2.0" ]
null
null
null
engines/avast/test/testscan.py
scsich/phagescan
3394b6a80e62c175b1e10477f58f7b609c399085
[ "Apache-2.0" ]
6
2015-03-03T11:22:21.000Z
2021-07-18T10:59:15.000Z
import unittest from nose.tools import ok_ from engines.avast.scanner import avast_engine from engines.generic.test.common import AVEngineTemplate class TestAvastAV(AVEngineTemplate, unittest.TestCase): scan_class = avast_engine infected_string = 'EICAR Test-NOT virus!!!' def setUp(self): AVEngineTemplate.setU...
34.423077
249
0.753073
255
1,790
5.121569
0.403922
0.032159
0.059724
0.034456
0.178407
0.178407
0.06585
0.06585
0
0
0
0.007707
0.130168
1,790
51
250
35.098039
0.831085
0.250838
0
0.08
0
0.04
0.267071
0.169954
0
0
0
0
0.08
1
0.12
false
0
0.16
0
0.56
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
57430877b4854d4673fab5972829e0f1adf3bd51
301
py
Python
src/emoji_slack_proxy/__init__.py
pine/web-slack-proxy
4f8395b64703b527d346a938d96045ca3a9b7223
[ "MIT" ]
2
2018-06-25T10:54:27.000Z
2018-08-17T22:02:11.000Z
src/emoji_slack_proxy/__init__.py
pine/web-slack-proxy
4f8395b64703b527d346a938d96045ca3a9b7223
[ "MIT" ]
1
2018-07-01T11:34:07.000Z
2018-07-01T11:34:07.000Z
src/emoji_slack_proxy/__init__.py
emoji-gen/web-slack-proxy
4f8395b64703b527d346a938d96045ca3a9b7223
[ "MIT" ]
null
null
null
# -*- encoding: utf-8 -*- from urllib.parse import urlparse def parse_amqp_url(url): parts = urlparse(url) return { 'host': parts.hostname, 'port': parts.port, 'login': parts.username, 'password': parts.password, 'virtualhost': parts.path[1:], }
20.066667
38
0.574751
33
301
5.181818
0.666667
0
0
0
0
0
0
0
0
0
0
0.009132
0.272425
301
14
39
21.5
0.77169
0.076412
0
0
0
0
0.116364
0
0
0
0
0
0
1
0.1
false
0.1
0.1
0
0.3
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
574e8ee54d5dd6b776aaff22a4cdd6c1ed96e117
1,938
py
Python
setup.py
snewell4/simpleth
ae8cfe65164d0d2047cf728d05f9c46cf43288b0
[ "MIT" ]
null
null
null
setup.py
snewell4/simpleth
ae8cfe65164d0d2047cf728d05f9c46cf43288b0
[ "MIT" ]
null
null
null
setup.py
snewell4/simpleth
ae8cfe65164d0d2047cf728d05f9c46cf43288b0
[ "MIT" ]
null
null
null
from setuptools import setup setup( name='simpleth', version='0.1.32', author='Stephen Newell', author_email='<snewell4@gmail.com>', description='Simplified Ethereum for Python', long_description=open('README.rst').read(), long_description_content_type='text/x-rst', url='https://github....
35.888889
81
0.560372
175
1,938
6.125714
0.537143
0.05597
0.05597
0
0
0
0
0
0
0
0
0.022878
0.300826
1,938
53
82
36.566038
0.768266
0.030444
0
0.038462
0
0
0.504797
0.24307
0
0
0
0
0
1
0
true
0
0.019231
0
0.019231
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
574f9c7dce96d6dc0f7107cbc4969c139f798f7a
395
py
Python
lab1/src/modules/generateMask.py
Pavel-Innokentevich-Galanin/5-sem_DM
d2c2d4bcd89fbd4cbf8b8518173f5661924be1d5
[ "Unlicense" ]
null
null
null
lab1/src/modules/generateMask.py
Pavel-Innokentevich-Galanin/5-sem_DM
d2c2d4bcd89fbd4cbf8b8518173f5661924be1d5
[ "Unlicense" ]
null
null
null
lab1/src/modules/generateMask.py
Pavel-Innokentevich-Galanin/5-sem_DM
d2c2d4bcd89fbd4cbf8b8518173f5661924be1d5
[ "Unlicense" ]
null
null
null
# Принимает параметр U, например, [1,2,3,4,5,6,7,8,9,10,11] # Принимает параметр A, например, [1,3,4,7] # Возвращает сгенерированную маску A: [1,0,1,1,0,0,1,0,0,0,0] def generateMask(U, A): maskA = [] for i in range(len(U)): maskA.append(0) for i in range(len(U)): for j in range(len(A)): ...
24.6875
61
0.541772
74
395
2.891892
0.432432
0.037383
0.140187
0.102804
0.140187
0.140187
0
0
0
0
0
0.104895
0.275949
395
15
62
26.333333
0.643357
0.402532
0
0.222222
1
0
0
0
0
0
0
0
0
1
0.111111
false
0
0
0
0.222222
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
5754f1d602b6d62f9318b168b0a120f2d87295a3
292
py
Python
api/web/migrations/0010_delete_apidata.py
HydrohubChallenge/hydroml
edc48073c30a18ce02c26fb95df66a834dae4dda
[ "MIT" ]
null
null
null
api/web/migrations/0010_delete_apidata.py
HydrohubChallenge/hydroml
edc48073c30a18ce02c26fb95df66a834dae4dda
[ "MIT" ]
null
null
null
api/web/migrations/0010_delete_apidata.py
HydrohubChallenge/hydroml
edc48073c30a18ce02c26fb95df66a834dae4dda
[ "MIT" ]
null
null
null
# Generated by Django 3.1.3 on 2021-04-09 18:31 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('web', '0009_auto_20210403_1822'), ] operations = [ migrations.DeleteModel( name='ApiData', ), ]
17.176471
47
0.599315
32
292
5.375
0.84375
0
0
0
0
0
0
0
0
0
0
0.149038
0.287671
292
16
48
18.25
0.677885
0.15411
0
0
1
0
0.134694
0.093878
0
0
0
0
0
1
0
false
0
0.1
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
5759ff62a5d5cf03c4894df5e7ab1e2381afa1cb
4,775
py
Python
Lib/js/configs/JsConfigVis.py
jeamick/ares-visual
3cf5068f874b3f6fe898968b2a7efa86fadca99d
[ "MIT" ]
null
null
null
Lib/js/configs/JsConfigVis.py
jeamick/ares-visual
3cf5068f874b3f6fe898968b2a7efa86fadca99d
[ "MIT" ]
2
2019-03-27T00:36:09.000Z
2019-04-09T00:39:12.000Z
Lib/js/configs/JsConfigVis.py
jeamick/ares-visual
3cf5068f874b3f6fe898968b2a7efa86fadca99d
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # author: Olivier Noguès from ares.Lib.js.configs import JsConfig DSC = { } class JsBase(JsConfig.JsConfig): """ Base Class for the Plotly Charts """ jsCls = 'Graph2d' reference = None # The main link to get the documentation of this chart _...
33.626761
123
0.561675
464
4,775
5.693966
0.351293
0.059046
0.081756
0.095382
0.283119
0.237699
0.220666
0.189629
0.16919
0.121499
0
0.015413
0.198325
4,775
142
124
33.626761
0.674765
0.241675
0
0.139535
0
0
0.406177
0
0
0
0
0
0
1
0.034884
false
0
0.011628
0.011628
0.848837
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
9385cd25ebba18ee84ba4ce4be957a3bbf03f006
1,356
py
Python
E37U Research/GUI tests and tutorial files/GUI Animation Test.py
shaunramsey/FractalExploration
a23424b6ae54fab8ff17e2de597d0dec01614254
[ "MIT" ]
3
2020-05-21T18:08:02.000Z
2021-09-04T13:32:00.000Z
E37U Research/GUI tests and tutorial files/GUI Animation Test.py
shaunramsey/FractalExploration
a23424b6ae54fab8ff17e2de597d0dec01614254
[ "MIT" ]
3
2018-05-18T13:41:35.000Z
2018-07-17T13:09:53.000Z
E37U Research/GUI tests and tutorial files/GUI Animation Test.py
shaunramsey/FractalExploration
a23424b6ae54fab8ff17e2de597d0dec01614254
[ "MIT" ]
4
2018-05-18T12:42:10.000Z
2020-05-18T17:46:36.000Z
import matplotlib.pyplot as plt import matplotlib.animation as animation import time import numpy as np ##Begin Default Values x0 = .5 #Slider for Initial x's default value on program startup #r = 3.3 #Slider for r's default value on program startup figureDPI = 50 #DPI value for main figure numIterations = 100 #Num...
32.285714
111
0.672566
220
1,356
4.140909
0.459091
0.046103
0.049396
0.032931
0.19978
0.19978
0.076839
0.076839
0.076839
0.076839
0
0.051115
0.20649
1,356
42
112
32.285714
0.795539
0.353982
0
0.133333
0
0
0.001164
0
0
0
0
0.02381
0
1
0.033333
false
0
0.133333
0
0.166667
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
93869d5dcaaaa74a50c098a2ed9160d2670b1fe9
1,044
py
Python
225-implement-stack-using-queues/225-implement-stack-using-queues.py
e-lin/LeetCode
1a00e187b5ccea3bddabf93a29164bf0ad928b7d
[ "Apache-2.0" ]
null
null
null
225-implement-stack-using-queues/225-implement-stack-using-queues.py
e-lin/LeetCode
1a00e187b5ccea3bddabf93a29164bf0ad928b7d
[ "Apache-2.0" ]
null
null
null
225-implement-stack-using-queues/225-implement-stack-using-queues.py
e-lin/LeetCode
1a00e187b5ccea3bddabf93a29164bf0ad928b7d
[ "Apache-2.0" ]
null
null
null
from collections import deque class Stack(object): def __init__(self): """ initialize your data structure here. """ self.queue = deque(list()) def push(self, x): """ :type x: int :rtype: nothing """ self.queue.append(x) def pop(sel...
17.4
50
0.472222
118
1,044
4.076271
0.440678
0.168399
0.074844
0.054054
0
0
0
0
0
0
0
0.011024
0.391762
1,044
60
51
17.4
0.746457
0.018199
0
0
0
0
0.010076
0
0
0
0
0
0
0
null
null
0
0.033333
null
null
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
1
0
0
0
0
0
0
0
0
1
9386ea5efd815a4b04516bf2e470ce79783545ad
843
py
Python
Aulasatualizada/execicio_curso em video/execicio_pagamento.py
swellington231/AulaPaython
7b72ddec4d85f4660c0c395de07a133993aa2c70
[ "MIT" ]
null
null
null
Aulasatualizada/execicio_curso em video/execicio_pagamento.py
swellington231/AulaPaython
7b72ddec4d85f4660c0c395de07a133993aa2c70
[ "MIT" ]
null
null
null
Aulasatualizada/execicio_curso em video/execicio_pagamento.py
swellington231/AulaPaython
7b72ddec4d85f4660c0c395de07a133993aa2c70
[ "MIT" ]
null
null
null
preço = float(input('Digite o valor do produto: R$')) pgto = float(input('Escolha a forma de pagamento' '[1] A dinheiro com 10% de DESCONTO' '[2] Cartão de debito com 5% de DESCONTO' '[3] Cartão de credito com 8% de AUMENTO')) novo_preço = preço - (preço * 10 / 100) if pgto =...
42.15
117
0.626335
134
843
3.88806
0.283582
0.153551
0.107486
0.145873
0.422265
0.422265
0.335893
0.335893
0.284069
0.165067
0
0.046875
0.240807
843
19
118
44.368421
0.767188
0
0
0.133333
0
0
0.488731
0
0
0
0
0
0
0
null
null
0
0
null
null
0.2
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
93899c9ec57a169d842eb412814022cc6f82f54f
313
py
Python
python/sample_gateway.py
rahul26goyal/py4j-example
a087632dce6eda0fff7502f33501bc00037566ab
[ "Apache-2.0" ]
1
2021-05-21T09:00:36.000Z
2021-05-21T09:00:36.000Z
python/sample_gateway.py
rahul26goyal/py4j-example
a087632dce6eda0fff7502f33501bc00037566ab
[ "Apache-2.0" ]
null
null
null
python/sample_gateway.py
rahul26goyal/py4j-example
a087632dce6eda0fff7502f33501bc00037566ab
[ "Apache-2.0" ]
null
null
null
from py4j.java_gateway import JavaGateway def _main(): print("Testing SampleGatewayServer Client...s") gateway = JavaGateway() randoom = gateway.jvm.java.util.Random() print("1. Random %s" %randoom.nextInt(10)) print("2. Random %s" %randoom.nextInt(10)) if __name__ == "__main__": _main()
31.3
51
0.680511
39
313
5.179487
0.589744
0.069307
0.138614
0.207921
0.227723
0
0
0
0
0
0
0.02682
0.166134
313
10
52
31.3
0.747126
0
0
0
0
0
0.22293
0
0
0
0
0
0
1
0.111111
false
0
0.111111
0
0.222222
0.333333
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
93a3b090793a7278a8ff8879187e866ab4443fd4
1,910
py
Python
plot/aux.py
mackaiver/slowREST
8ae07d8657164abe83f071216b6e9d00a57ae705
[ "MIT" ]
1
2015-03-03T08:07:52.000Z
2015-03-03T08:07:52.000Z
plot/aux.py
mackaiver/slowREST
8ae07d8657164abe83f071216b6e9d00a57ae705
[ "MIT" ]
null
null
null
plot/aux.py
mackaiver/slowREST
8ae07d8657164abe83f071216b6e9d00a57ae705
[ "MIT" ]
null
null
null
__author__ = 'kai' import pygal from pygal.style import LightSolarizedStyle # import numpy as np # from fact import time def create_box_whisker(data_frame): try: #prepare and clean data. drop missings as well data_frame.drop(["_id"], axis=1, inplace='true') data_frame.set_index("Time", inp...
31.833333
109
0.642408
242
1,910
4.85124
0.367769
0.145656
0.0477
0.045997
0.120954
0.080068
0
0
0
0
0
0.007483
0.230366
1,910
59
110
32.372881
0.791156
0.591099
0
0
0
0
0.040595
0
0
0
0
0
0
1
0.055556
false
0.055556
0.111111
0
0.277778
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
93a84fd1b2bb8e92b3eb8d65bf52a402a2b458d6
11,587
py
Python
SNI/sni_scripts/run_searchlight.py
sgagnon/Gagnon_CerebralCortex_2018
4412381014f129c1451ffa42ba03712e1fb8e2df
[ "Unlicense", "MIT" ]
1
2022-01-27T10:00:37.000Z
2022-01-27T10:00:37.000Z
SNI/sni_scripts/run_searchlight.py
sgagnon/Gagnon_CerebralCortex_2018
4412381014f129c1451ffa42ba03712e1fb8e2df
[ "Unlicense", "MIT" ]
null
null
null
SNI/sni_scripts/run_searchlight.py
sgagnon/Gagnon_CerebralCortex_2018
4412381014f129c1451ffa42ba03712e1fb8e2df
[ "Unlicense", "MIT" ]
null
null
null
#! /usr/bin/env python import glob import os.path as op import os as os import nibabel as nib import pandas as pd import numpy as np from nilearn.masking import compute_epi_mask import matplotlib.pyplot as plt import matplotlib as mpl # Nilearn for neuro-imaging-specific machine learning from nilearn.input_data imp...
39.14527
171
0.606024
1,435
11,587
4.697561
0.266202
0.014241
0.012461
0.014093
0.386144
0.339712
0.295357
0.243584
0.233793
0.224002
0
0.010402
0.253301
11,587
295
172
39.277966
0.768724
0.255286
0
0.08982
0
0
0.139495
0.033325
0
0
0
0
0
0
null
null
0
0.161677
null
null
0.053892
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
93b5eb44c25aa1ce7ee89a880751dd1fe0f422e4
734
py
Python
cross-site-scripting/bad.py
levelrin/secure-coding-lectures
9a327e0d52e7bd2b761c4b48df3648abb47ad72d
[ "MIT" ]
null
null
null
cross-site-scripting/bad.py
levelrin/secure-coding-lectures
9a327e0d52e7bd2b761c4b48df3648abb47ad72d
[ "MIT" ]
8
2021-11-04T12:57:45.000Z
2022-03-28T19:36:25.000Z
cross-site-scripting/bad.py
levelrin/secure-coding-lectures
9a327e0d52e7bd2b761c4b48df3648abb47ad72d
[ "MIT" ]
null
null
null
from flask import Flask, render_template, request, render_template_string app = Flask(__name__) @app.route("/") def index(): return render_template("index.html") @app.route("/echo", methods=["POST"]) def echo(): # render_template_string() does not sanitize the user input. # It's possible to inject java...
22.9375
73
0.540872
81
734
4.753086
0.617284
0.181818
0.155844
0
0
0
0
0
0
0
0
0.006
0.318801
734
31
74
23.677419
0.764
0.159401
0
0
0
0
0.087948
0
0
0
0
0
0
1
0.2
false
0
0.1
0.2
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
0
1
0
0
0
1
93b61103d8019f377a14047dd0b12051d80f41d7
637
py
Python
py/test/test_inception_v2.py
zjZSTU/GoogLeNet
a0801e45006d34b4901a8834397961ce17f24e2e
[ "Apache-2.0" ]
1
2021-04-18T15:36:33.000Z
2021-04-18T15:36:33.000Z
py/test/test_inception_v2.py
zjZSTU/GoogLeNet
a0801e45006d34b4901a8834397961ce17f24e2e
[ "Apache-2.0" ]
null
null
null
py/test/test_inception_v2.py
zjZSTU/GoogLeNet
a0801e45006d34b4901a8834397961ce17f24e2e
[ "Apache-2.0" ]
3
2020-07-10T11:45:52.000Z
2022-01-15T08:46:14.000Z
# -*- coding: utf-8 -*- """ @date: 2020/4/9 下午11:37 @file: test_inception_v2.py @author: zj @description: """ import torch import models.inception_v2 as inception def test(): model_googlenet = inception.Inception_v2(num_classes=1000) # print(model_googlenet) # 训练阶段 model_googlenet.train() data...
18.735294
62
0.660911
84
637
4.785714
0.52381
0.208955
0.069652
0.074627
0.353234
0.353234
0.353234
0.144279
0
0
0
0.066536
0.197802
637
33
63
19.30303
0.720157
0.210361
0
0.266667
0
0
0.01626
0
0
0
0
0
0
1
0.066667
false
0
0.133333
0
0.2
0.2
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
93bb6b0b09988d97f5209388aeff734f97d8f831
41,558
py
Python
VirtualBox-5.0.0/src/VBox/ValidationKit/testmanager/core/testbox.py
egraba/vbox_openbsd
6cb82f2eed1fa697d088cecc91722b55b19713c2
[ "MIT" ]
1
2015-04-30T14:18:45.000Z
2015-04-30T14:18:45.000Z
VirtualBox-5.0.0/src/VBox/ValidationKit/testmanager/core/testbox.py
egraba/vbox_openbsd
6cb82f2eed1fa697d088cecc91722b55b19713c2
[ "MIT" ]
null
null
null
VirtualBox-5.0.0/src/VBox/ValidationKit/testmanager/core/testbox.py
egraba/vbox_openbsd
6cb82f2eed1fa697d088cecc91722b55b19713c2
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # $Id: testbox.py $ """ Test Manager - TestBox. """ __copyright__ = \ """ Copyright (C) 2012-2015 Oracle Corporation This file is part of VirtualBox Open Source Edition (OSE), as available from http://www.virtualbox.org. This file is free software; you can redistribute it and/or modify it und...
46.905192
127
0.395423
2,789
41,558
5.823593
0.165651
0.01059
0.012067
0.007388
0.434614
0.392993
0.364549
0.353097
0.340106
0.325268
0
0.010798
0.520886
41,558
885
128
46.958192
0.804932
0.0738
0
0.536273
0
0
0.229388
0.007544
0
0
0.000703
0.00113
0
1
0.029872
false
0.002845
0.004267
0
0.146515
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
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
93bc1acbc718b88cf8fd02024c23fb65c7650070
5,366
py
Python
face_classification/src/video_emotion_color_demo_topics.py
AIRobolab-unilu/qt-pepper-emotion-classification
70ad8376ed3590fb6135111003278877ed8d2bd7
[ "MIT" ]
null
null
null
face_classification/src/video_emotion_color_demo_topics.py
AIRobolab-unilu/qt-pepper-emotion-classification
70ad8376ed3590fb6135111003278877ed8d2bd7
[ "MIT" ]
1
2018-06-04T22:38:57.000Z
2018-06-04T22:38:57.000Z
face_classification/src/video_emotion_color_demo_topics.py
AIRobolab-unilu/qt-pepper-emotion-classification
70ad8376ed3590fb6135111003278877ed8d2bd7
[ "MIT" ]
null
null
null
#!/usr/bin/env python import roslib import rospy import cv2 import sys from std_msgs.msg import String from sensor_msgs.msg import Image from cv_bridge import CvBridge, CvBridgeError import logging as log import datetime as dt from time import sleep from statistics import mode from keras.models import load_model im...
30.488636
85
0.684495
690
5,366
5.015942
0.242029
0.060387
0.048541
0.039295
0.329096
0.2846
0.183762
0
0
0
0
0.018692
0.202385
5,366
175
86
30.662857
0.789953
0.038576
0
0.12605
0
0
0.064668
0.027239
0
0
0
0
0
0
null
null
0
0.168067
null
null
0.134454
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
93be1ab5d7f419809e31a0db45e230044d081681
5,044
py
Python
day20/day20-1.py
RobinRH/advent-of-code-2018
461c8b569129b7dfb582c7e84566c198edec4c14
[ "MIT" ]
null
null
null
day20/day20-1.py
RobinRH/advent-of-code-2018
461c8b569129b7dfb582c7e84566c198edec4c14
[ "MIT" ]
null
null
null
day20/day20-1.py
RobinRH/advent-of-code-2018
461c8b569129b7dfb582c7e84566c198edec4c14
[ "MIT" ]
null
null
null
# 8638 # # https://adventofcode.com/2018/day/20 import sys import numpy as np from pprint import pprint ######## read lines in file with open(sys.argv[1], 'r') as inputFile: lines = [s.strip().replace('^', '').replace('$','') for s in inputFile.readlines()] rooms = [] rooms.append((0,0)) doors = [] maxdepth = ...
26.687831
87
0.471649
574
5,044
4.144599
0.231707
0.008407
0.033628
0.023539
0.300546
0.26776
0.248424
0.203026
0.203026
0.203026
0
0.051512
0.40345
5,044
188
88
26.829787
0.739116
0.098929
0
0.425532
0
0
0.010641
0
0
0
0
0
0
0
null
null
0
0.021277
null
null
0.049645
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
93c01d9239172bd23d6ebf59ba51978156203f23
7,693
py
Python
core/adapt.py
tohsato-lab/T-MCD
933cd4af84d89fe3bb7c03865a11aafb3f67d1f5
[ "MIT" ]
null
null
null
core/adapt.py
tohsato-lab/T-MCD
933cd4af84d89fe3bb7c03865a11aafb3f67d1f5
[ "MIT" ]
null
null
null
core/adapt.py
tohsato-lab/T-MCD
933cd4af84d89fe3bb7c03865a11aafb3f67d1f5
[ "MIT" ]
null
null
null
import itertools import numpy as np from progressbar import progressbar import torch import torch.nn.functional as f import torch.optim as optim from torchsummary import summary from core.evaluate import Evaluate from module.torch import metrics from module.torch.logger import Logger import params class Adapt(Evalu...
42.038251
110
0.55999
880
7,693
4.580682
0.156818
0.084842
0.034731
0.023567
0.503597
0.392707
0.320764
0.241875
0.199454
0.177127
0
0.023941
0.315872
7,693
182
111
42.269231
0.741782
0.017548
0
0.163265
0
0
0.038186
0
0
0
0
0
0
0
null
null
0
0.07483
null
null
0.040816
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
93d7edb69eb56be6da2e07c9c4df45a718698db1
276
py
Python
framework/constants.py
sgenoud/federa
1c3dacacee1345f96c99e9d92b7c3c6745eb08ee
[ "MIT" ]
6
2019-02-23T12:53:59.000Z
2022-03-26T21:00:10.000Z
framework/constants.py
sgenoud/federa
1c3dacacee1345f96c99e9d92b7c3c6745eb08ee
[ "MIT" ]
3
2019-06-27T12:43:17.000Z
2019-11-21T09:40:11.000Z
framework/constants.py
sgenoud/federa
1c3dacacee1345f96c99e9d92b7c3c6745eb08ee
[ "MIT" ]
2
2019-06-27T12:42:19.000Z
2020-07-05T17:23:51.000Z
import re # from https://github.com/dsblank/activitypub/blob/master/activitypub/manager/ap_routes.py WEBFINGER = re.compile(r"@?(?:acct:)?(?P<username>[\w.!#$%&\'*+-/=?^_`{|}~]+)@(?P<host>[\w.:-]+)") AP_CONTEXT = "https://www.w3.org/ns/activitystreams" PUBLIC_AUDIENCE = ""
34.5
98
0.644928
36
276
4.833333
0.833333
0
0
0
0
0
0
0
0
0
0
0.003846
0.057971
276
7
99
39.428571
0.665385
0.318841
0
0
0
0
0.580645
0.38172
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
93da02d271aa49766a2f3678b451125987b609e3
2,775
py
Python
burrolib/policies/categorical_policy.py
kosmitive/burro
cc6662bef8693a1c160e80d9482371620deb5304
[ "MIT" ]
5
2020-06-25T23:00:26.000Z
2020-08-28T02:51:28.000Z
burrolib/policies/categorical_policy.py
kosmitive/burrolib
2b1d690ec9c9371f5b455dd98439dce51d270909
[ "MIT" ]
5
2020-11-09T11:43:42.000Z
2021-01-09T13:15:09.000Z
burrolib/policies/categorical_policy.py
kosmitive/burrolib
2b1d690ec9c9371f5b455dd98439dce51d270909
[ "MIT" ]
null
null
null
from typing import Tuple import torch import torch.nn.functional as F from torch import distributions, nn from burrolib.policies.base_policy import BasePolicyModel from burrolib.util.nn import MLP class GumbelPolicy(torch.nn.Module): def __init__( self, in_dim: int, out_dim: int, ...
28.608247
87
0.584865
361
2,775
4.246537
0.285319
0.052185
0.031311
0.035225
0.138291
0.078278
0.035225
0.035225
0.035225
0
0
0.019888
0.293333
2,775
96
88
28.90625
0.761856
0.043604
0
0.2
0
0
0.006868
0
0
0
0
0.010417
0
1
0.093333
false
0
0.08
0
0.266667
0.013333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
93de98102791224a413a215c853445ff88420359
832
py
Python
main/forms/forms.py
emerginganalytics/ualr-cyber-gym
1156bc2c85c17af02da048f40b2be875f89db0ce
[ "MIT" ]
3
2020-09-02T19:18:03.000Z
2021-04-29T20:23:01.000Z
main/forms/forms.py
emerginganalytics/ualr-cyber-gym
1156bc2c85c17af02da048f40b2be875f89db0ce
[ "MIT" ]
26
2021-12-23T19:37:27.000Z
2022-03-28T04:03:41.000Z
main/forms/forms.py
emerginganalytics/cyberarena
311d179a30017285571f65752eaa91b78c7097aa
[ "MIT" ]
4
2020-11-20T20:38:49.000Z
2021-04-29T20:23:12.000Z
from flask_wtf import FlaskForm from wtforms import StringField, IntegerField, PasswordField, HiddenField from wtforms.validators import DataRequired, Email class CreateWorkoutForm(FlaskForm): # email = StringField('Email', validators=[DataRequired(), Email()]) email = HiddenField('Email') unit = StringFie...
52
112
0.746394
89
832
6.966292
0.47191
0.177419
0.087097
0
0
0
0
0
0
0
0
0.012517
0.135817
832
16
113
52
0.849791
0.079327
0
0
0
0
0.219608
0
0
0
0
0
0
1
0
false
0.076923
0.230769
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
93e489fd76458e5a89cc0914c8735e3374c1347c
785
py
Python
travelapp/migrations/backup/0016_auto_20210221_1616.py
cy4ok/my-region
8f3155354d13bc93b38b3ed824f6f0f380dac6b4
[ "MIT" ]
null
null
null
travelapp/migrations/backup/0016_auto_20210221_1616.py
cy4ok/my-region
8f3155354d13bc93b38b3ed824f6f0f380dac6b4
[ "MIT" ]
1
2021-03-23T16:22:13.000Z
2021-03-23T16:22:13.000Z
travelapp/migrations/backup/0016_auto_20210221_1616.py
cy4ok/my-region
8f3155354d13bc93b38b3ed824f6f0f380dac6b4
[ "MIT" ]
null
null
null
# Generated by Django 3.1.6 on 2021-02-21 13:16 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('authapp', '0001_initial'), ('travelapp', '0015_auto_20210221_1324'), ] operations = [ migrations.Al...
30.192308
141
0.635669
86
785
5.674419
0.546512
0.065574
0.086066
0.135246
0.266393
0.122951
0
0
0
0
0
0.058333
0.235669
785
25
142
31.4
0.755
0.057325
0
0.315789
1
0
0.172087
0.031165
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
93e8d6dee81ad9a7a4034baf4fd5da5f71c43b91
656
py
Python
pebble_tool/commands/repl.py
tulth/pebble-tool
8b4771bbd7f8dacc8cbe776aaaf0aa704e152f9f
[ "MIT" ]
24
2015-07-25T07:36:23.000Z
2020-11-05T13:55:06.000Z
pebble_tool/commands/repl.py
tulth/pebble-tool
8b4771bbd7f8dacc8cbe776aaaf0aa704e152f9f
[ "MIT" ]
21
2015-08-11T19:55:57.000Z
2020-05-01T14:07:45.000Z
pebble_tool/commands/repl.py
tulth/pebble-tool
8b4771bbd7f8dacc8cbe776aaaf0aa704e152f9f
[ "MIT" ]
39
2015-10-04T06:21:52.000Z
2021-12-22T00:36:34.000Z
from __future__ import absolute_import __author__ = 'katharine' import code import readline import rlcompleter import libpebble2.protocol from .base import PebbleCommand class ReplCommand(PebbleCommand): """Launches a python prompt with a 'pebble' object already connected.""" command = 'repl' def __ca...
25.230769
76
0.695122
71
656
6.098592
0.577465
0.048499
0
0
0
0
0
0
0
0
0
0.003876
0.213415
656
25
77
26.24
0.835271
0.10061
0
0
0
0
0.066781
0
0
0
0
0
0
1
0.055556
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
93e91865593789aec772a4bcd887e114dbcce228
762
py
Python
backend/appengine/routes/categorias/new.py
faahbih/projetoolivarts
3dfd955fe44d58a38b85b6643440a600b0bde81a
[ "MIT" ]
null
null
null
backend/appengine/routes/categorias/new.py
faahbih/projetoolivarts
3dfd955fe44d58a38b85b6643440a600b0bde81a
[ "MIT" ]
null
null
null
backend/appengine/routes/categorias/new.py
faahbih/projetoolivarts
3dfd955fe44d58a38b85b6643440a600b0bde81a
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import absolute_import, unicode_literals from categoria.categoria_model import Categoria, CategoriaForm from config.template_middleware import TemplateResponse from routes import categorias from tekton.gae.middleware.redirect import RedirectResponse from gaepermission.decorator i...
36.285714
69
0.761155
82
762
6.890244
0.512195
0.063717
0.056637
0
0
0
0
0
0
0
0
0.00155
0.153543
762
20
70
38.1
0.874419
0.027559
0
0
0
0
0.05954
0.040595
0
0
0
0
0
1
0.055556
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
93f77f7ee6a6f37f8995d2c7edcd3852079d4715
1,275
py
Python
logger.py
LEECHAEHYEON/pytorch-cifar
2cde9f7f2b37c3170972cce812482e0abf1eed2a
[ "MIT" ]
null
null
null
logger.py
LEECHAEHYEON/pytorch-cifar
2cde9f7f2b37c3170972cce812482e0abf1eed2a
[ "MIT" ]
null
null
null
logger.py
LEECHAEHYEON/pytorch-cifar
2cde9f7f2b37c3170972cce812482e0abf1eed2a
[ "MIT" ]
null
null
null
import datetime from distutils.version import LooseVersion import math import os import os.path as osp import shutil import numpy as np import pytz import tqdm class CustomLogger(): def __init__(self, out): self.out = out if not osp.exists(self.out): os.makedirs(self.out) # a...
30.357143
116
0.579608
167
1,275
4.335329
0.377246
0.06768
0.04558
0.058011
0.21547
0.21547
0.187845
0.077348
0
0
0
0.002128
0.262745
1,275
41
117
31.097561
0.768085
0.018824
0
0
0
0
0.090617
0
0
0
0
0
0
1
0.068966
false
0
0.310345
0
0.413793
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
93fec59be99d63c0e1428636d0691fe962fdc662
710
py
Python
test_scrapy/test333.py
lijie28/python_demo
bb9ca737eae28ac655a4030f5f110545cf3ed815
[ "Apache-2.0" ]
null
null
null
test_scrapy/test333.py
lijie28/python_demo
bb9ca737eae28ac655a4030f5f110545cf3ed815
[ "Apache-2.0" ]
null
null
null
test_scrapy/test333.py
lijie28/python_demo
bb9ca737eae28ac655a4030f5f110545cf3ed815
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- from lxml import etree filename = 'suning.html' def getFileHtml(filename): ''' 获取指定url返回页的所有文字 :param url: 需要抓取的url :return: 返回文字 ''' page = open(filename,'r').read() # page = urllib2.urlopen(url, timeout=10).read() page = unicode(page, "utf-8") # 转换编码,否则会导致输出乱...
30.869565
105
0.653521
88
710
5.238636
0.625
0.123644
0.078091
0.091106
0.151844
0.151844
0.151844
0
0
0
0
0.008591
0.180282
710
23
106
30.869565
0.783505
0.449296
0
0
0
0
0.139159
0.084142
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
9e06ac03db6d00b3cea33eb2ca4d0a39275d603d
2,130
py
Python
title_extract.py
StyvensB/FireSpina
e2eebf41108f4f8bfe369d19f5da99466f2d6cf1
[ "MIT" ]
2
2015-05-19T21:04:20.000Z
2015-05-21T21:29:12.000Z
title_extract.py
StyvensB/FireSpina
e2eebf41108f4f8bfe369d19f5da99466f2d6cf1
[ "MIT" ]
null
null
null
title_extract.py
StyvensB/FireSpina
e2eebf41108f4f8bfe369d19f5da99466f2d6cf1
[ "MIT" ]
null
null
null
#!/usr/bin/env python import os , sys import subprocess #import schlex import re import argparse parser = argparse.ArgumentParser(description='Read scene Title') parser.add_argument('path',help="path of the video file") parser.add_argument('-d','--delay',type=int,dest="delay",default=0,help="delay to wait for title i...
25.97561
138
0.716901
350
2,130
4.322857
0.391429
0.037013
0.033708
0.021811
0.191011
0.134831
0.134831
0.134831
0.134831
0.134831
0
0.012513
0.099531
2,130
81
139
26.296296
0.77633
0.037559
0
0.254545
0
0.018182
0.24055
0.039273
0
0
0
0
0
0
null
null
0
0.072727
null
null
0.2
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
9e0c8ebbffad4387002b6abb88b3fc2dc3a95db1
4,692
py
Python
3rdparty/OpenCV-2.3.0/samples/python2/letter_recog.py
waura/frayer
ec0a671bc6df3c5f0fe3a94d07b6748a14a8ba91
[ "BSD-3-Clause" ]
1
2019-02-28T07:40:01.000Z
2019-02-28T07:40:01.000Z
3rdparty/OpenCV-2.3.0/samples/python2/letter_recog.py
fughz/frayer
ec0a671bc6df3c5f0fe3a94d07b6748a14a8ba91
[ "BSD-3-Clause" ]
null
null
null
3rdparty/OpenCV-2.3.0/samples/python2/letter_recog.py
fughz/frayer
ec0a671bc6df3c5f0fe3a94d07b6748a14a8ba91
[ "BSD-3-Clause" ]
1
2021-07-14T13:23:14.000Z
2021-07-14T13:23:14.000Z
import numpy as np import cv2 def load_base(fn): a = np.loadtxt(fn, np.float32, delimiter=',', converters={ 0 : lambda ch : ord(ch)-ord('A') }) samples, responses = a[:,1:], a[:,0] return samples, responses class LetterStatModel(object): train_ratio = 0.5 def load(self, fn): self.model.loa...
35.278195
121
0.623828
635
4,692
4.420472
0.214173
0.044888
0.024938
0.021375
0.385109
0.322765
0.282152
0.210901
0.195582
0.195582
0
0.022191
0.231671
4,692
132
122
35.545455
0.756449
0.032822
0
0.188119
0
0.009901
0.077636
0.006617
0
0
0
0
0
0
null
null
0
0.039604
null
null
0.089109
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
9e0e26ba410796411c138b7aa5e2aaad79116c11
1,129
py
Python
src/films/_migrations/0006_auto_20180730_2135.py
chairco/dj-realtime-visualization
49cdee124bf7414fde5245f28329f65adb359599
[ "0BSD" ]
null
null
null
src/films/_migrations/0006_auto_20180730_2135.py
chairco/dj-realtime-visualization
49cdee124bf7414fde5245f28329f65adb359599
[ "0BSD" ]
7
2018-09-28T03:31:51.000Z
2022-03-11T23:29:00.000Z
src/films/_migrations/0006_auto_20180730_2135.py
chairco/dj-realtime-visualization
49cdee124bf7414fde5245f28329f65adb359599
[ "0BSD" ]
null
null
null
# Generated by Django 2.0.7 on 2018-07-30 13:35 from django.db import migrations, models import django.db.models.deletion import django.utils.timezone import uuid class Migration(migrations.Migration): dependencies = [ ('films', '0005_auto_20180727_1555'), ] operations = [ migrations.Cr...
32.257143
152
0.590788
114
1,129
5.710526
0.596491
0.067588
0.043011
0.067588
0
0
0
0
0
0
0
0.039312
0.279008
1,129
34
153
33.205882
0.760442
0.039858
0
0.071429
1
0
0.146026
0.021257
0
0
0
0
0
1
0
false
0
0.142857
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
9e1b18f840cb4b19eaba7d5d675affbf03010cc6
2,283
py
Python
py/paretoplot.py
jimmycao/libga_mpi
39f223891b1474b1b190a0033576f30723051f17
[ "MIT" ]
1
2020-06-14T08:28:01.000Z
2020-06-14T08:28:01.000Z
py/paretoplot.py
jimmycao/libga_mpi
39f223891b1474b1b190a0033576f30723051f17
[ "MIT" ]
null
null
null
py/paretoplot.py
jimmycao/libga_mpi
39f223891b1474b1b190a0033576f30723051f17
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # ============================================================================= # paretoplot.py # # # displays a pareto plot with interactive picking for genome data # that has been saved using numpy, for instance # np.savez(sys.argv[1], genome=alg.genome, ospace=alg.ospace # , fit...
32.614286
80
0.527376
270
2,283
4.292593
0.451852
0.051769
0.023296
0.029336
0.032787
0.032787
0
0
0
0
0
0.017791
0.286027
2,283
69
81
33.086957
0.693252
0.172142
0
0
0
0
0.202762
0
0
0
0
0
0
0
null
null
0
0.076923
null
null
0.057692
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
9e207579d839ca99ee20c8499793b38fb88c72eb
780
py
Python
bot/db.py
Anarhyst266/CW_TU_Order_Bot
c9a405dd40be66f4e6c1d5badd27df6decdfd93c
[ "MIT" ]
null
null
null
bot/db.py
Anarhyst266/CW_TU_Order_Bot
c9a405dd40be66f4e6c1d5badd27df6decdfd93c
[ "MIT" ]
null
null
null
bot/db.py
Anarhyst266/CW_TU_Order_Bot
c9a405dd40be66f4e6c1d5badd27df6decdfd93c
[ "MIT" ]
null
null
null
from configparser import ConfigParser from sqlalchemy import create_engine from sqlalchemy.ext.declarative import declarative_base from sqlalchemy.orm import sessionmaker config = ConfigParser() config.read('db.ini') if config['database']['type'] == 'sqlite': path = config['sqlite']['path'] engine = create_en...
35.454545
118
0.702564
94
780
5.702128
0.43617
0.05597
0.067164
0.074627
0.089552
0
0
0
0
0
0
0.011976
0.14359
780
21
119
37.142857
0.790419
0
0
0
0
0
0.246154
0.111538
0
0
0
0
0
1
0
false
0.055556
0.222222
0
0.222222
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
f50ae2de9d5bbe4e527eaf41af33b1dde8f329aa
10,160
py
Python
updatefile.py
cmake-basis/cmake-basis-modules
5d3b7927cf2c498de243d7bf267bb17383a48a4c
[ "BSD-2-Clause" ]
9
2015-01-19T01:14:35.000Z
2017-11-21T21:39:35.000Z
updatefile.py
cmake-basis/cmake-basis-modules
5d3b7927cf2c498de243d7bf267bb17383a48a4c
[ "BSD-2-Clause" ]
195
2015-01-03T09:45:07.000Z
2016-04-15T19:17:22.000Z
updatefile.py
cmake-basis/cmake-basis-modules
5d3b7927cf2c498de243d7bf267bb17383a48a4c
[ "BSD-2-Clause" ]
15
2018-08-19T08:11:15.000Z
2021-11-19T16:55:54.000Z
#! /usr/bin/env python # ATTENTION: DO NOT use the tokens used by the file update anywhere within # this file. Write < basis-custom > instead, for example. # ============================================================================ # Copyright (c) 2011-2012 University of Pennsylvania # Copyright (c) 201...
37.490775
112
0.545965
1,061
10,160
5.210179
0.255419
0.01013
0.011577
0.011758
0.220695
0.195007
0.166606
0.094609
0.094609
0.034732
0
0.008311
0.277559
10,160
270
113
37.62963
0.744823
0.262992
0
0.352041
0
0
0.203055
0.010004
0
0
0
0
0.005102
0
null
null
0
0.015306
null
null
0.158163
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
f516a52b310667547cd1f7c8c8852c5d5327e785
548
py
Python
test/test_gcode_maker.py
Tim8Trudeau/T3001
bdac8936e83906f1da1f9d60037f68755e770786
[ "MIT" ]
null
null
null
test/test_gcode_maker.py
Tim8Trudeau/T3001
bdac8936e83906f1da1f9d60037f68755e770786
[ "MIT" ]
null
null
null
test/test_gcode_maker.py
Tim8Trudeau/T3001
bdac8936e83906f1da1f9d60037f68755e770786
[ "MIT" ]
null
null
null
import gcode_maker as gm import pytest from gcode import linlimit, rotatlimit from gcode_maker import GCodeMaker def test_GCodeMaker(): GCM = GCodeMaker() assert GCM.linear_limit == linlimit assert GCM.rotation_limit == rotatlimit @pytest.mark.skip def test_GCodeMaker_exception(): with pytest.raise...
17.125
43
0.711679
71
548
5.211268
0.464789
0.056757
0.091892
0
0
0
0
0
0
0
0
0
0.213504
548
31
44
17.677419
0.858469
0
0
0.105263
0
0
0.014679
0
0
0
0
0
0.210526
1
0.157895
false
0.052632
0.210526
0
0.368421
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
f517187890a67f7a830448ab227456c25722cff8
567
py
Python
public/AI/nets/net_interface.py
JohnKHW/atos_api
14b129a3c60162377834eb85a535a19e34cd04f8
[ "Apache-2.0" ]
2
2021-03-15T12:34:03.000Z
2021-05-20T05:20:26.000Z
public/AI/nets/net_interface.py
JohnKHW/atos_api
14b129a3c60162377834eb85a535a19e34cd04f8
[ "Apache-2.0" ]
null
null
null
public/AI/nets/net_interface.py
JohnKHW/atos_api
14b129a3c60162377834eb85a535a19e34cd04f8
[ "Apache-2.0" ]
null
null
null
# coding=utf-8 import os from importlib import import_module class NetModule(object): def __init__(self, module_name, net_name, **kwargs): self.module_name = module_name self.net_name = net_name self.m = import_module('nets.' + self.module_name) def create_model(self, **kwargs): ...
29.842105
85
0.634921
72
567
4.722222
0.472222
0.117647
0.123529
0
0
0
0
0
0
0
0
0.012048
0.268078
567
19
86
29.842105
0.807229
0.206349
0
0
0
0
0.012165
0
0
0
0
0
0
1
0.181818
false
0
0.272727
0
0.636364
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
f518ed495aebd09fa26e56a15b087b5bc77cdc83
2,448
py
Python
config.py
wupengyue/AdminLTE
7a15c85a2a9ceb22f1b9c67437113df9aebf77bf
[ "MIT" ]
null
null
null
config.py
wupengyue/AdminLTE
7a15c85a2a9ceb22f1b9c67437113df9aebf77bf
[ "MIT" ]
null
null
null
config.py
wupengyue/AdminLTE
7a15c85a2a9ceb22f1b9c67437113df9aebf77bf
[ "MIT" ]
null
null
null
# encoding: utf-8 """ @author: @file: config.py @time: 2017/7/13 16:39 """ '''配置文件,后台一些需要的配置需要在这里进行配置''' import os from apscheduler.jobstores.redis import RedisJobStore from apscheduler.executors.pool import ThreadPoolExecutor, ProcessPoolExecutor CRITICAL = 50 FATAL = CRITICAL ERROR = 40 WARNING = 30 WARN = WARNING ...
24.727273
84
0.710376
290
2,448
5.741379
0.489655
0.032432
0.023423
0.036036
0.422222
0.422222
0.404805
0.404805
0.404805
0.404805
0
0.036072
0.184641
2,448
98
85
24.979592
0.798096
0.098039
0
0.368421
0
0
0.095039
0
0
0
0
0
0
1
0.052632
false
0.065789
0.039474
0.013158
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
f51aac6d9d40763c9f2d4a5d0f9ee52eda8b8574
2,873
py
Python
src/tests/meteringpoints/imported_meterinpoints_data.py
project-origin/datahub-service
0c3f27ee4fa0381ce3147f1fffef1108f13dc2c2
[ "MIT" ]
1
2021-04-23T08:19:49.000Z
2021-04-23T08:19:49.000Z
src/tests/meteringpoints/imported_meterinpoints_data.py
project-origin/datahub-service
0c3f27ee4fa0381ce3147f1fffef1108f13dc2c2
[ "MIT" ]
1
2021-02-10T02:28:52.000Z
2021-02-10T02:28:52.000Z
src/tests/meteringpoints/imported_meterinpoints_data.py
project-origin/datahub-service
0c3f27ee4fa0381ce3147f1fffef1108f13dc2c2
[ "MIT" ]
null
null
null
IMPORTED_METERINGPOINT_DATA = """ { "result": [ { "meteringPointId": "571313180400240049", "typeOfMP": "E18", "accessFrom": "02/05/2016 00:00:00", "accessTo": "04/23/2023 00:00:00", "streetCode": "6595", "streetName": "Lærkevej", ...
35.469136
66
0.449008
146
2,873
8.821918
0.479452
0.031056
0.018634
0.015528
0.574534
0.574534
0.574534
0.574534
0.574534
0.301242
0
0.190616
0.406544
2,873
80
67
35.9125
0.564809
0
0
0.468354
0
0
0.987117
0.208565
0
0
0
0
0
1
0
false
0
0.012658
0
0.012658
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
f51d8503061fe08bce5af2d6be2db4f372b7bf71
1,355
py
Python
setup.py
oyvindeide/configsuite
807265af50acb665c8786bb31bb78dc6fce351b9
[ "MIT" ]
null
null
null
setup.py
oyvindeide/configsuite
807265af50acb665c8786bb31bb78dc6fce351b9
[ "MIT" ]
null
null
null
setup.py
oyvindeide/configsuite
807265af50acb665c8786bb31bb78dc6fce351b9
[ "MIT" ]
null
null
null
"""Copyright 2018 Equinor ASA and The Netherlands Organisation for Applied Scientific Research TNO. Licensed under the MIT license. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restric...
31.511628
71
0.713653
179
1,355
5.324022
0.586592
0.057712
0.044071
0.03148
0
0
0
0
0
0
0
0.013724
0.193358
1,355
42
72
32.261905
0.858188
0.546125
0
0.095238
0
0
0.472039
0.106908
0
0
0
0
0
1
0
true
0
0.047619
0
0.047619
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
f5203ea701425dcc376a917440c85cecf21e6ee3
1,405
py
Python
django/codentino/apps/blog/migrations/0002_initial.py
kutver/codentino
526ce722ad198764b4e7fc5032f1690d59197d03
[ "MIT" ]
null
null
null
django/codentino/apps/blog/migrations/0002_initial.py
kutver/codentino
526ce722ad198764b4e7fc5032f1690d59197d03
[ "MIT" ]
null
null
null
django/codentino/apps/blog/migrations/0002_initial.py
kutver/codentino
526ce722ad198764b4e7fc5032f1690d59197d03
[ "MIT" ]
null
null
null
# Generated by Django 4.0 on 2021-12-30 20:41 from django.db import migrations, models import django.db.models.deletion import mptt.fields class Migration(migrations.Migration): initial = True dependencies = [ ('tag', '0001_initial'), ('blog', '0001_initial'), ('user', '0001_initial...
31.222222
156
0.592883
149
1,405
5.489933
0.342282
0.05868
0.085575
0.134474
0.5489
0.5489
0.399756
0.399756
0.399756
0.256724
0
0.025366
0.270463
1,405
44
157
31.931818
0.772683
0.030605
0
0.513514
1
0
0.123529
0
0
0
0
0
0
1
0
false
0
0.081081
0
0.189189
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