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
662ac4acc7680a6fdabf1164f49d186a1925b1b5
5,002
py
Python
sdk/python/pulumi_oci/ons/get_subscriptions.py
EladGabay/pulumi-oci
6841e27d4a1a7e15c672306b769912efbfd3ba99
[ "ECL-2.0", "Apache-2.0" ]
5
2021-08-17T11:14:46.000Z
2021-12-31T02:07:03.000Z
sdk/python/pulumi_oci/ons/get_subscriptions.py
pulumi-oci/pulumi-oci
6841e27d4a1a7e15c672306b769912efbfd3ba99
[ "ECL-2.0", "Apache-2.0" ]
1
2021-09-06T11:21:29.000Z
2021-09-06T11:21:29.000Z
sdk/python/pulumi_oci/ons/get_subscriptions.py
pulumi-oci/pulumi-oci
6841e27d4a1a7e15c672306b769912efbfd3ba99
[ "ECL-2.0", "Apache-2.0" ]
2
2021-08-24T23:31:30.000Z
2022-01-02T19:26:54.000Z
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import...
37.609023
172
0.680128
564
5,002
5.804965
0.278369
0.067502
0.024435
0.045816
0.179902
0.143861
0.11179
0.098351
0.077276
0.077276
0
0.00077
0.220912
5,002
132
173
37.893939
0.839364
0.27509
0
0.101266
1
0
0.16088
0.057292
0
0
0
0
0
1
0.101266
false
0
0.088608
0.012658
0.303797
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
662b08e6c1d4febc8b8e193dbd52333f779d59c9
11,663
py
Python
engineering_tool/areas.py
pinyoothotaboot/engineering_tool
9a97335f4fb41d5715a412d9e7d9ecda0475cf68
[ "MIT" ]
3
2018-09-04T17:03:01.000Z
2018-09-12T17:53:17.000Z
engineering_tool/areas.py
pinyoothotaboot/engineering_tool
9a97335f4fb41d5715a412d9e7d9ecda0475cf68
[ "MIT" ]
null
null
null
engineering_tool/areas.py
pinyoothotaboot/engineering_tool
9a97335f4fb41d5715a412d9e7d9ecda0475cf68
[ "MIT" ]
null
null
null
import math class Area: """ Function : circularsector Description : This function to calculate area of circular sector. Formula : angle/2 x radius^2 Input : - Radius number type integer or float - Angle number type integer o...
35.776074
85
0.536483
1,422
11,663
4.400141
0.057665
0.041394
0.030686
0.049864
0.76778
0.7323
0.676682
0.58063
0.515263
0.458846
0
0.019244
0.38515
11,663
325
86
35.886154
0.853298
0.031124
0
0.492063
0
0
0.303651
0
0
0
0
0
0
1
0.111111
false
0
0.007937
0
0.238095
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6637e180f2a48d467d54770cac3310e8e567270d
1,530
py
Python
tests/test_fastarg.py
travisluong/fastarg
b21d5307ce6b296aa16f30bf220ca2ead8e9d4d3
[ "MIT" ]
1
2022-03-27T20:30:45.000Z
2022-03-27T20:30:45.000Z
tests/test_fastarg.py
travisluong/fastarg
b21d5307ce6b296aa16f30bf220ca2ead8e9d4d3
[ "MIT" ]
null
null
null
tests/test_fastarg.py
travisluong/fastarg
b21d5307ce6b296aa16f30bf220ca2ead8e9d4d3
[ "MIT" ]
null
null
null
from src import fastarg import subprocess def test_foo(): assert 'foo'.upper() == 'FOO' def test_fastarg_no_methods(): app = fastarg.Fastarg() assert len(app.commands) == 0 def test_fastarg_one_method(): app = fastarg.Fastarg() @app.command() def foo(): print("foo") assert len(...
34.772727
177
0.707843
214
1,530
4.892523
0.275701
0.053486
0.099331
0.110793
0.621777
0.621777
0.578797
0.498567
0.498567
0.498567
0
0.025641
0.158824
1,530
44
178
34.772727
0.787879
0
0
0.290323
0
0
0.244285
0
0
0
0
0
0.258065
1
0.322581
false
0
0.064516
0
0.387097
0.064516
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
6638a3fe06b03f153d5a080ad9978cda570c88c1
7,850
py
Python
backends/__init__.py
chiluf/visvis.dev
373846ea25044b7ca50f44c63dab4248e14deacd
[ "BSD-3-Clause" ]
null
null
null
backends/__init__.py
chiluf/visvis.dev
373846ea25044b7ca50f44c63dab4248e14deacd
[ "BSD-3-Clause" ]
null
null
null
backends/__init__.py
chiluf/visvis.dev
373846ea25044b7ca50f44c63dab4248e14deacd
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- # Copyright (C) 2012, Almar Klein # # Visvis is distributed under the terms of the (new) BSD License. # The full license can be found in 'license.txt'. """ Package visvis.backends Visvis allows multiple backends. I tried to make implementing a backend as easy as possible. Each backend is defi...
36.009174
85
0.656306
1,001
7,850
5.087912
0.332667
0.014137
0.007658
0.007461
0.060279
0.041626
0.041626
0
0
0
0
0.003463
0.264204
7,850
217
86
36.175115
0.878289
0.18535
0
0.173469
0
0
0.119764
0.006168
0
0
0
0
0
0
null
null
0
0.081633
null
null
0.020408
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
663e1ee6e9498b1fb6c8c3b903611f77e8fdc785
7,358
py
Python
app/elearn/views/sybadmin_views.py
Shetty073/soak-your-brain-elearning-app
5f44952b8efb55f870cffb9820dca0fcdd6206a1
[ "MIT" ]
16
2021-02-25T23:42:44.000Z
2022-01-10T12:38:16.000Z
app/elearn/views/sybadmin_views.py
Shetty073/soak-your-brain-elearning-app
5f44952b8efb55f870cffb9820dca0fcdd6206a1
[ "MIT" ]
6
2021-04-24T22:18:16.000Z
2021-05-16T16:35:59.000Z
app/elearn/views/sybadmin_views.py
Shetty073/soak-your-brain-elearning-app
5f44952b8efb55f870cffb9820dca0fcdd6206a1
[ "MIT" ]
3
2021-04-30T12:31:32.000Z
2022-01-31T12:31:58.000Z
from django.contrib import messages from django.contrib.auth.decorators import login_required from django.contrib.auth.hashers import check_password from django.contrib.auth.models import Group from django.shortcuts import render, redirect from ..decorators import allowed_users from ..models import * @login_required...
35.375
110
0.654797
849
7,358
5.39576
0.136631
0.050426
0.064178
0.027505
0.514298
0.329622
0.273739
0.209998
0.159354
0.12399
0
0.000364
0.254009
7,358
207
111
35.545894
0.834214
0
0
0.374269
0
0
0.109541
0.036967
0
0
0
0
0
1
0.02924
false
0.087719
0.040936
0
0.134503
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
6642b582403a489aec73691bf9e739b2d7224cea
1,042
py
Python
django_mooc/assignments/migrations/0001_initial.py
cowhite/django-mooc
8ac019915fdbfdb4c29d8c08e9ba5ce50cad67e3
[ "MIT" ]
null
null
null
django_mooc/assignments/migrations/0001_initial.py
cowhite/django-mooc
8ac019915fdbfdb4c29d8c08e9ba5ce50cad67e3
[ "MIT" ]
6
2018-05-28T10:41:41.000Z
2021-06-10T20:20:37.000Z
django_mooc/assignments/migrations/0001_initial.py
cowhite/django-mooc
8ac019915fdbfdb4c29d8c08e9ba5ce50cad67e3
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11.11 on 2018-05-29 10:32 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Assig...
31.575758
114
0.572937
100
1,042
5.76
0.63
0.09375
0.072917
0.086806
0.097222
0
0
0
0
0
0
0.031421
0.297505
1,042
32
115
32.5625
0.755464
0.066219
0
0
1
0
0.118557
0.021649
0
0
0
0
0
1
0
false
0
0.083333
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
6645898ab33c9a6657585b32c606c33c942d3c0f
225
py
Python
func/ref_equal.py
dineshkumar2509/learning-python
e8af11ff0b396da4c3f2cfe21d14131bae4b2adb
[ "MIT" ]
86
2015-06-13T16:53:55.000Z
2022-03-24T20:56:42.000Z
func/ref_equal.py
pei-zheng-yi/learning-python
55e350dfe44cf04f7d4408e76e72d2f467bd42ce
[ "MIT" ]
9
2015-05-27T07:52:44.000Z
2022-03-29T21:52:40.000Z
func/ref_equal.py
pei-zheng-yi/learning-python
55e350dfe44cf04f7d4408e76e72d2f467bd42ce
[ "MIT" ]
124
2015-12-10T01:17:18.000Z
2021-11-08T04:03:38.000Z
#!/usr/bin/env python # http://www.cnblogs.com/yuyan/archive/2012/04/21/2461673.html def add_list(p): p = p + [1] p1 = [1,2,3] add_list(p1) print p1 def add_list1(p): p += [1] p2 = [1,2,3] add_list1(p2) print p2
12.5
62
0.613333
46
225
2.913043
0.565217
0.044776
0.044776
0.089552
0
0
0
0
0
0
0
0.168478
0.182222
225
17
63
13.235294
0.559783
0.36
0
0
0
0
0
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
6647162d7d052744c3565d7ac9f86d8522afe9c6
1,208
py
Python
crowddynamics/crowddynamics/core/tests/test_vector2D_benchmarks.py
antonvs88/multiobj-guided-evac
84d78ac29419011d7af45391f230f50e8cbe30f4
[ "MIT" ]
17
2018-07-07T17:58:25.000Z
2020-12-30T19:38:15.000Z
crowddynamics/crowddynamics/core/tests/test_vector2D_benchmarks.py
antonvs88/multiobj-guided-evac
84d78ac29419011d7af45391f230f50e8cbe30f4
[ "MIT" ]
234
2017-05-10T07:37:26.000Z
2019-10-02T10:49:13.000Z
crowddynamics/crowddynamics/core/tests/test_vector2D_benchmarks.py
antonvs88/optimal-guided-evacuation
ece2e12204bd41596173af5aacc0933acfd6b7c1
[ "MIT" ]
10
2017-08-19T21:17:39.000Z
2020-12-30T19:52:42.000Z
import numpy as np from crowddynamics.core.vector2D import rotate90, angle, dot, cross, normalize, \ unit_vector, rotate270, length, truncate def test_rotate90(benchmark): value = np.random.uniform(-1.0, 1.0, size=2) benchmark(rotate90, value) def test_rotate270(benchmark): value = np.random.unifor...
23.230769
81
0.67053
193
1,208
4.134715
0.165803
0.055138
0.041353
0.055138
0.538847
0.511278
0.511278
0.511278
0.511278
0.469925
0
0.079317
0.175497
1,208
51
82
23.686275
0.721888
0
0
0.28125
0
0
0
0
0
0
0
0
0
1
0.28125
false
0
0.0625
0
0.34375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
664c6a26e64296952e13db38f86a42afd712ad12
2,364
py
Python
src/GaIA/pkgs/libsmbios/libsmbios-2.2.19/src/python/libsmbios_c/_common.py
uninth/UNItools
c8b1fbfd5d3753b5b14fa19033e39737dedefc00
[ "BSD-3-Clause" ]
null
null
null
src/GaIA/pkgs/libsmbios/libsmbios-2.2.19/src/python/libsmbios_c/_common.py
uninth/UNItools
c8b1fbfd5d3753b5b14fa19033e39737dedefc00
[ "BSD-3-Clause" ]
null
null
null
src/GaIA/pkgs/libsmbios/libsmbios-2.2.19/src/python/libsmbios_c/_common.py
uninth/UNItools
c8b1fbfd5d3753b5b14fa19033e39737dedefc00
[ "BSD-3-Clause" ]
1
2021-06-08T15:59:26.000Z
2021-06-08T15:59:26.000Z
# vim:tw=0:expandtab:autoindent:tabstop=4:shiftwidth=4:filetype=python: ############################################################################# # # Copyright (c) 2005 Dell Computer Corporation # Dual Licenced under GNU GPL and OSL # ####################################################################...
33.295775
97
0.629019
258
2,364
5.554264
0.329457
0.084438
0.078158
0.064201
0.429867
0.410328
0.315422
0.267969
0.267969
0.267969
0
0.004787
0.204738
2,364
70
98
33.771429
0.757447
0.11802
0
0.25
0
0
0.142111
0
0
0
0
0
0
1
0.204545
false
0.022727
0.068182
0
0.477273
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
6650c44fd5cf6721064b007fa0f4403698d3ef96
781
py
Python
mega_analitika/main/migrations/0004_auto_20190703_1700.py
theodor85/mega_analitika
81c0f6823df8cea1daf4eba9cd187fd278939ffb
[ "MIT" ]
1
2019-12-10T11:43:40.000Z
2019-12-10T11:43:40.000Z
mega_analitika/main/migrations/0004_auto_20190703_1700.py
theodor85/mega_analitika
81c0f6823df8cea1daf4eba9cd187fd278939ffb
[ "MIT" ]
null
null
null
mega_analitika/main/migrations/0004_auto_20190703_1700.py
theodor85/mega_analitika
81c0f6823df8cea1daf4eba9cd187fd278939ffb
[ "MIT" ]
null
null
null
# Generated by Django 2.2.3 on 2019-07-03 17:00 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('main', '0003_delete_ad'), ] operations = [ migrations.AlterField( model_name='popularday', name='day', f...
24.40625
47
0.544174
64
781
6.546875
0.578125
0.095465
0.119332
0.138425
0
0
0
0
0
0
0
0.036329
0.330346
781
31
48
25.193548
0.764818
0.057618
0
0.4
1
0
0.111717
0
0
0
0
0
0
1
0
false
0
0.04
0
0.16
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
66549d6d22ba8831d212092d945b9ab0edeabc80
4,305
py
Python
scanner.py
digitaltembo/ghost-jukebox
ab39c4be5ebed1c745ae43922cdc24eae6dedd9c
[ "MIT" ]
null
null
null
scanner.py
digitaltembo/ghost-jukebox
ab39c4be5ebed1c745ae43922cdc24eae6dedd9c
[ "MIT" ]
25
2019-03-18T03:13:08.000Z
2022-03-11T23:42:08.000Z
scanner.py
digitaltembo/ghost-jukebox
ab39c4be5ebed1c745ae43922cdc24eae6dedd9c
[ "MIT" ]
null
null
null
""" Scanner.py This will run in the background and act upon any QR Codes that it sees """ from ghost_jukebox import conf from io import BytesIO from picamera import PiCamera from PIL import Image from pyzbar.pyzbar import decode, ZBarSymbol from requests.auth import HTTPBasicAuth from time import sleep import reque...
29.895833
113
0.561905
537
4,305
4.372439
0.242086
0.042164
0.080494
0.046848
0.188245
0.114991
0.106474
0.106474
0.073254
0.073254
0
0.013432
0.342857
4,305
144
114
29.895833
0.816543
0.034843
0
0.181034
0
0
0.014325
0
0
0
0
0
0
0
null
null
0.008621
0.068966
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
6654bc9c6475715eb93fc35a5d035197e00a6878
848
py
Python
backend/moonshot/tests.py
paolodamico/moonshot
cc7780943e33ff180bca54eb92f1e9799aea1ee0
[ "MIT" ]
null
null
null
backend/moonshot/tests.py
paolodamico/moonshot
cc7780943e33ff180bca54eb92f1e9799aea1ee0
[ "MIT" ]
null
null
null
backend/moonshot/tests.py
paolodamico/moonshot
cc7780943e33ff180bca54eb92f1e9799aea1ee0
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import vcr from django.test import TestCase from rest_framework import status # noqa: F401 from rest_framework.test import APITestCase moonshot_vcr = vcr.VCR( serializer="json", cassette_library_dir="./fixtures", record_mode="once", match_on=["uri", "method"], filter_heade...
24.941176
69
0.682783
99
848
5.737374
0.737374
0.035211
0.059859
0
0
0
0
0
0
0
0
0.014948
0.211085
848
33
70
25.69697
0.834081
0.150943
0
0.1
0
0
0.09607
0.037846
0
0
0
0
0
1
0.05
false
0.1
0.2
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
b0777fe4b13029098e77fb7333cb9db347db1261
5,998
py
Python
budget/migrations/0001_initial.py
jbrass/django-kanban-budget
e11194e398eba062fd1fcaf4fe980911ed05fd6f
[ "MIT" ]
46
2017-12-04T01:43:55.000Z
2022-03-13T14:18:58.000Z
budget/migrations/0001_initial.py
jbrass/django-kanban-budget
e11194e398eba062fd1fcaf4fe980911ed05fd6f
[ "MIT" ]
13
2017-12-18T15:07:53.000Z
2022-02-10T18:26:55.000Z
budget/migrations/0001_initial.py
jbrass/django-kanban-budget
e11194e398eba062fd1fcaf4fe980911ed05fd6f
[ "MIT" ]
24
2018-03-27T16:17:09.000Z
2022-01-17T17:53:57.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.7 on 2017-11-27 21:13 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migratio...
52.614035
164
0.594031
625
5,998
5.5648
0.2256
0.049166
0.031052
0.048304
0.589707
0.536515
0.429557
0.387004
0.356814
0.356814
0
0.014936
0.263254
5,998
113
165
53.079646
0.77212
0.011337
0
0.504762
1
0
0.12907
0
0
0
0
0
0
1
0
false
0
0.038095
0
0.07619
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
b0845af0829aa9ff053e72bf0d8708192dbde92d
1,617
py
Python
unused/cv/support/data/merge.py
VirtualVFix/AndroidTestFramework
1feb769c6aca39a78e6daefd6face0a1e4d62cd4
[ "MIT" ]
null
null
null
unused/cv/support/data/merge.py
VirtualVFix/AndroidTestFramework
1feb769c6aca39a78e6daefd6face0a1e4d62cd4
[ "MIT" ]
null
null
null
unused/cv/support/data/merge.py
VirtualVFix/AndroidTestFramework
1feb769c6aca39a78e6daefd6face0a1e4d62cd4
[ "MIT" ]
null
null
null
# All rights reserved by forest fairy. # You cannot modify or share anything without sacrifice. # If you don't agree, keep calm and don't look at code bellow! __author__ = "VirtualV <https://github.com/virtualvfix>" __date__ = "$May 19, 2016 4:21:36 PM$" import os import numpy as np CURRENT_DIR = os.path.dirname(os....
34.404255
156
0.654917
216
1,617
4.768519
0.458333
0.07767
0.062136
0.073786
0.186408
0.186408
0.180583
0.140777
0.106796
0.106796
0
0.021548
0.225108
1,617
46
157
35.152174
0.800479
0.259122
0
0
0
0
0.118587
0
0
0
0
0
0
0
null
null
0
0.074074
null
null
0.074074
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
b08a492932004449dfb61bf4aaf6c05bd88c60b9
2,082
py
Python
registration/forms.py
raj457036/Rushtime-blog
65e9d23660f02c6ff7d96c8ac47fec61755ccba8
[ "MIT" ]
1
2018-07-18T05:41:23.000Z
2018-07-18T05:41:23.000Z
registration/forms.py
raj457036/Rushtime-blog
65e9d23660f02c6ff7d96c8ac47fec61755ccba8
[ "MIT" ]
null
null
null
registration/forms.py
raj457036/Rushtime-blog
65e9d23660f02c6ff7d96c8ac47fec61755ccba8
[ "MIT" ]
null
null
null
from django.contrib.auth.forms import UserCreationForm, AuthenticationForm, UsernameField from django import forms from django.contrib.auth.models import User Genders = ( ('m', 'Male'), ('f', 'Female'), ) class DateInput(forms.DateInput): input_type = 'date' class SignupForm(UserCreationForm): name =...
43.375
135
0.672911
252
2,082
5.488095
0.492063
0.047722
0.046276
0.052061
0.114244
0.114244
0.114244
0.065076
0.065076
0.065076
0
0.006563
0.195005
2,082
47
136
44.297872
0.818616
0
0
0
0
0.025
0.200768
0
0
0
0
0
0
1
0.025
false
0.1
0.075
0
0.475
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
b08cf359ef2e2b838048512e321783499cefa01c
3,422
py
Python
pw_stm32cube_build/py/tests/inject_init_test.py
curtin-space/pigweed
fe2e1743e03fabd2676f01d9de0ac9d34a426076
[ "Apache-2.0" ]
86
2021-03-09T23:49:40.000Z
2022-03-30T08:14:51.000Z
pw_stm32cube_build/py/tests/inject_init_test.py
curtin-space/pigweed
fe2e1743e03fabd2676f01d9de0ac9d34a426076
[ "Apache-2.0" ]
4
2021-07-27T20:32:03.000Z
2022-03-08T10:39:07.000Z
pw_stm32cube_build/py/tests/inject_init_test.py
curtin-space/pigweed
fe2e1743e03fabd2676f01d9de0ac9d34a426076
[ "Apache-2.0" ]
22
2021-03-11T15:15:47.000Z
2022-02-09T06:16:36.000Z
#!/usr/bin/env python3 # Copyright 2021 The Pigweed Authors # # Licensed under the Apache License, Version 2.0 (the "License"); you may not # use this file except in compliance with the License. You may obtain a copy of # the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
32.903846
79
0.519579
341
3,422
5.014663
0.384164
0.032749
0.035088
0.070175
0.583626
0.556725
0.556725
0.519883
0.519883
0.482456
0
0.009718
0.368498
3,422
103
80
33.223301
0.781583
0.186148
0
0.851351
0
0
0.376313
0
0
0
0
0
0.040541
1
0.040541
false
0
0.027027
0
0.081081
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
b08d9113e4f0f0fe5798652242bc94e0527e5ff3
718
py
Python
Platform.py
jessedeveloperinvestor/Multiple-Jesse-Projects
f66a6eed79117fd005668f79e0bee3d8ac76e2b8
[ "Apache-2.0" ]
null
null
null
Platform.py
jessedeveloperinvestor/Multiple-Jesse-Projects
f66a6eed79117fd005668f79e0bee3d8ac76e2b8
[ "Apache-2.0" ]
null
null
null
Platform.py
jessedeveloperinvestor/Multiple-Jesse-Projects
f66a6eed79117fd005668f79e0bee3d8ac76e2b8
[ "Apache-2.0" ]
null
null
null
#pip install datetime import time import platform import getpass machine=str(platform.node()) architecture=str(platform.architecture()) opsys=str(platform.system()) os_vers=str(platform.release()) proces=str(platform.processor()) py_vers=str(platform.python_version()) a='\n' a1='Machine: ' a2='Architecture:...
32.636364
89
0.692201
113
718
4.353982
0.442478
0.134146
0.060976
0.056911
0.060976
0
0
0
0
0
0
0.018576
0.100279
718
22
90
32.636364
0.743034
0.027855
0
0
0
0
0.27031
0
0
0
0
0
0
1
0
false
0.142857
0.142857
0
0.142857
0.238095
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
b08fb22f36068e0a0b7c6429169fbe7e1c628a28
3,114
py
Python
tests/integration_tests/test_flux.py
radical-cybertools/radical.utils
71c71841106eaf9a76d429f47835a18039fe0646
[ "MIT" ]
7
2015-10-25T10:07:19.000Z
2021-04-30T04:25:31.000Z
tests/integration_tests/test_flux.py
radical-cybertools/radical.utils
71c71841106eaf9a76d429f47835a18039fe0646
[ "MIT" ]
205
2015-02-23T10:32:26.000Z
2022-03-26T19:27:46.000Z
tests/integration_tests/test_flux.py
radical-cybertools/radical.utils
71c71841106eaf9a76d429f47835a18039fe0646
[ "MIT" ]
8
2015-09-17T21:42:29.000Z
2020-10-06T11:53:22.000Z
#!/usr/bin/env python3 import os import time import pytest import radical.utils as ru yaml = pytest.importorskip('yaml') flux = pytest.importorskip('flux') events = dict() spec = { "tasks": [{ "slot": "task", "count": { "per_slot": 1 ...
22.085106
80
0.428709
323
3,114
4.006192
0.26935
0.03864
0.030912
0.037094
0.646059
0.646059
0.601236
0.601236
0.601236
0.601236
0
0.011765
0.344894
3,114
140
81
22.242857
0.622549
0.179512
0
0.534091
0
0
0.063386
0
0
0
0
0
0.136364
1
0.045455
false
0
0.068182
0
0.113636
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
b099565e4cc88a3ed59175d5f43c807b486919c5
1,243
py
Python
src/game/commands/global_cmdtable.py
gtaylor/dott
b0dfbecc1171ed82566ecf814a73ce3dcaa468be
[ "BSD-3-Clause" ]
3
2016-01-10T09:22:01.000Z
2016-05-01T23:16:16.000Z
src/game/commands/global_cmdtable.py
gtaylor/dott
b0dfbecc1171ed82566ecf814a73ce3dcaa468be
[ "BSD-3-Clause" ]
1
2016-03-29T02:52:49.000Z
2016-03-29T02:52:49.000Z
src/game/commands/global_cmdtable.py
gtaylor/dott
b0dfbecc1171ed82566ecf814a73ce3dcaa468be
[ "BSD-3-Clause" ]
1
2020-04-16T15:45:26.000Z
2020-04-16T15:45:26.000Z
from src.daemons.server.commands.cmdtable import CommandTable from src.game.commands import general as general_cmds from src.game.commands import staff as staff_cmds class GlobalCommandTable(CommandTable): """ The standard, global command table. """ commands = [ general_cmds.CmdCommands(), ...
27.021739
61
0.629928
123
1,243
6.138211
0.406504
0.202649
0.029139
0.050331
0.066225
0
0
0
0
0
0
0
0.258246
1,243
46
62
27.021739
0.818872
0.060338
0
0.057143
0
0
0
0
0
0
0
0
0
1
0
false
0
0.085714
0
0.2
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
b09b9b40cc7d158cfd6dbbf7212ac6169815d64c
1,036
py
Python
xweb/views.py
shenxgan/xweb-music
b6d7a1426e55c573eaf56c7f95566a0f2c091d1b
[ "Apache-2.0" ]
null
null
null
xweb/views.py
shenxgan/xweb-music
b6d7a1426e55c573eaf56c7f95566a0f2c091d1b
[ "Apache-2.0" ]
1
2018-09-28T07:36:10.000Z
2018-09-28T07:36:10.000Z
xweb/views.py
shenxgan/xweb-music
b6d7a1426e55c573eaf56c7f95566a0f2c091d1b
[ "Apache-2.0" ]
null
null
null
import os import subprocess from rest_framework import status from rest_framework.response import Response from rest_framework.generics import GenericAPIView from .serializers import VolumeSerializer class Volume(GenericAPIView): queryset = [] serializer_class = VolumeSerializer def get(self, request, fo...
33.419355
107
0.668919
114
1,036
6.008772
0.447368
0.064234
0.074453
0.061314
0
0
0
0
0
0
0
0.006188
0.220077
1,036
30
108
34.533333
0.841584
0.010618
0
0.086957
0
0
0.069034
0
0
0
0
0
0
1
0.086957
false
0
0.26087
0
0.608696
0.043478
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
b0a54cc82604d4225fdfcbc02051d22403a326f4
7,472
py
Python
ilp_test.py
rene-schoene/racr-mquat
5f985816cadd556d7636a74bea0a5d5b1d95f9ee
[ "MIT" ]
null
null
null
ilp_test.py
rene-schoene/racr-mquat
5f985816cadd556d7636a74bea0a5d5b1d95f9ee
[ "MIT" ]
null
null
null
ilp_test.py
rene-schoene/racr-mquat
5f985816cadd556d7636a74bea0a5d5b1d95f9ee
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # This program and the accompanying materials are made available under the # terms of the MIT license (X11 license) which accompanies this distribution. # Author: R. Schoene import re, threading, os, shutil, sys, timeit try: from fabric.api import task except ImportError...
27.985019
135
0.670369
1,173
7,472
4.109122
0.209719
0.019917
0.016598
0.014108
0.176141
0.103734
0.028216
0.016183
0.004149
0.004149
0
0.017805
0.17318
7,472
266
136
28.090226
0.761897
0.117773
0
0.123762
0
0.004951
0.08713
0.016147
0
0
0
0
0.024752
0
null
null
0.004951
0.034653
null
null
0.054455
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
b0b6a6c57f6c2dd12d82eba2030203f5b38577e3
628
py
Python
SellTimeRemainder_InsertItem/lambda_function.py
maton456/SellTimeRemainder
b0ba8d60afd101066b53d9630a798ff42c6579b6
[ "MIT" ]
null
null
null
SellTimeRemainder_InsertItem/lambda_function.py
maton456/SellTimeRemainder
b0ba8d60afd101066b53d9630a798ff42c6579b6
[ "MIT" ]
null
null
null
SellTimeRemainder_InsertItem/lambda_function.py
maton456/SellTimeRemainder
b0ba8d60afd101066b53d9630a798ff42c6579b6
[ "MIT" ]
null
null
null
import json import boto3 def put_card(card, owner, url): dynamodb = boto3.resource('dynamodb', region_name='us-west-2') table = dynamodb.Table('SellTimeRemainder') response = table.put_item( Item={ 'Card': card, 'Owner': owner, 'URL': url, 'Prices...
20.933333
68
0.547771
65
628
5.215385
0.538462
0.041298
0.076696
0
0
0
0
0
0
0
0
0.013953
0.315287
628
29
69
21.655172
0.774419
0.022293
0
0
0
0
0.156863
0
0
0
0
0.034483
0
1
0.095238
false
0
0.095238
0
0.285714
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
1
0
0
0
0
0
0
0
0
0
0
1
b0b7210257b088dac9b7714205a0139b21ed30fd
9,688
py
Python
mindspore/python/mindspore/dataset/audio/utils.py
AK391/mindspore
f5aeaa9172dcd647885774e7f657593c81b79fc6
[ "Apache-2.0" ]
null
null
null
mindspore/python/mindspore/dataset/audio/utils.py
AK391/mindspore
f5aeaa9172dcd647885774e7f657593c81b79fc6
[ "Apache-2.0" ]
null
null
null
mindspore/python/mindspore/dataset/audio/utils.py
AK391/mindspore
f5aeaa9172dcd647885774e7f657593c81b79fc6
[ "Apache-2.0" ]
null
null
null
# Copyright 2021-2022 Huawei Technologies Co., Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agre...
34.35461
116
0.68301
1,302
9,688
4.953149
0.182796
0.016282
0.042642
0.047759
0.280043
0.145914
0.120794
0.063731
0.039851
0.039851
0
0.009292
0.211292
9,688
281
117
34.476868
0.834708
0.560074
0
0.093023
0
0.011628
0.163965
0
0
0
0
0
0
1
0.023256
false
0
0.034884
0
0.581395
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
b0b812b12c228217f7e87af33619a830ed1746fa
1,190
py
Python
set4/26.py
dineshkumarc987/matasano-crypto
a10dbd94ce0f5acb3a462a1a8d9bdb117729a206
[ "MIT" ]
25
2016-11-03T12:56:17.000Z
2021-07-15T15:45:41.000Z
set4/26.py
dineshkumarc987/matasano-crypto
a10dbd94ce0f5acb3a462a1a8d9bdb117729a206
[ "MIT" ]
null
null
null
set4/26.py
dineshkumarc987/matasano-crypto
a10dbd94ce0f5acb3a462a1a8d9bdb117729a206
[ "MIT" ]
7
2017-05-06T01:27:06.000Z
2019-10-24T11:06:16.000Z
from common import randstr, AES_CTR, xor_str from random import randint oracle_key = randstr(16) oracle_nonce = randint(0, (1 << 64) - 1) def encryption_oracle(data): data = data.replace(';', '').replace('=', '') data = "comment1=cooking%20MCs;userdata=" + data data = data + ";comment2=%20like%20a%20poun...
27.045455
66
0.673109
153
1,190
4.980392
0.398693
0.11811
0.094488
0.041995
0.07874
0.07874
0.07874
0
0
0
0
0.033299
0.192437
1,190
43
67
27.674419
0.759625
0
0
0
0
0
0.131092
0.062185
0
0
0
0
0
0
null
null
0
0.066667
null
null
0.066667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
b0bde5e2967a9d97b163085711fe47376ea77738
6,347
py
Python
ccl-cookbook/files/default/cocreatelite/cocreate/createvm/createvm.py
nemonik/CoCreateLite
d15b9171dec28d64abfa3ebf1a7971c8d5a0cdc7
[ "BSD-3-Clause" ]
9
2016-03-17T21:07:37.000Z
2021-08-06T00:37:12.000Z
ccl-cookbook/files/default/cocreatelite/cocreate/createvm/createvm.py
nemonik/CoCreateLite
d15b9171dec28d64abfa3ebf1a7971c8d5a0cdc7
[ "BSD-3-Clause" ]
null
null
null
ccl-cookbook/files/default/cocreatelite/cocreate/createvm/createvm.py
nemonik/CoCreateLite
d15b9171dec28d64abfa3ebf1a7971c8d5a0cdc7
[ "BSD-3-Clause" ]
2
2016-06-28T16:06:13.000Z
2019-02-23T02:24:13.000Z
#createvm.py # # # # # # import sys print ("\n".join(sys.path)) from pyVmomi import vim from pyVim.connect import SmartConnect, Disconnect import time import vmutils import subprocess import configparser import json from passlib.hash import md5_crypt import os import re #checkHostname() #checks that the hostname is ...
42.597315
240
0.65527
677
6,347
6.097489
0.33678
0.065407
0.05814
0.087209
0.171027
0.133236
0.057171
0.057171
0.057171
0.057171
0
0.003927
0.23775
6,347
149
241
42.597315
0.849318
0.258862
0
0.168539
0
0
0.196444
0.014139
0
0
0
0
0
1
0.067416
false
0.05618
0.123596
0
0.314607
0.044944
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
b0bf86934a6d27b0dce23a2760ea423bf037621f
2,373
py
Python
sompy/visualization/view.py
ldocao/sompy
62a1325383ccb27b2acc32b22c26208f625fbf57
[ "MIT" ]
null
null
null
sompy/visualization/view.py
ldocao/sompy
62a1325383ccb27b2acc32b22c26208f625fbf57
[ "MIT" ]
null
null
null
sompy/visualization/view.py
ldocao/sompy
62a1325383ccb27b2acc32b22c26208f625fbf57
[ "MIT" ]
1
2018-08-23T22:39:59.000Z
2018-08-23T22:39:59.000Z
import numpy as np import matplotlib.pyplot as plt class View(object): def __init__(self, width, height, title, show_axis=True, packed=True, text_size=2.8, show_text=True, col_size=6, *args, **kwargs): self.width = width self.height = height self.title = title self.show_axis = sho...
32.958333
162
0.624526
325
2,373
4.332308
0.246154
0.056818
0.042614
0.042614
0.318182
0.267045
0.267045
0.203125
0.203125
0.12642
0
0.009199
0.221239
2,373
71
163
33.422535
0.752706
0.284871
0
0.324324
0
0
0.009786
0
0
0
0
0
0
1
0.27027
false
0
0.054054
0
0.378378
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
b0c17fa7a8c5507c61dbbe3961a9301b9533ea03
2,860
py
Python
apps/approval/migrations/0006_auto_20170814_0402.py
kharann/onlineweb4
1130128c6233b623780779a25934ea73ef62c264
[ "MIT" ]
null
null
null
apps/approval/migrations/0006_auto_20170814_0402.py
kharann/onlineweb4
1130128c6233b623780779a25934ea73ef62c264
[ "MIT" ]
null
null
null
apps/approval/migrations/0006_auto_20170814_0402.py
kharann/onlineweb4
1130128c6233b623780779a25934ea73ef62c264
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11.3 on 2017-08-14 02:02 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('auth', '0008_alter_user_us...
50.175439
168
0.621678
279
2,860
6.179211
0.405018
0.108469
0.032483
0.051044
0.256961
0.232599
0.232599
0.178074
0.155452
0.155452
0
0.021978
0.236364
2,860
56
169
51.071429
0.767399
0.023776
0
0.306122
1
0
0.233058
0.048046
0
0
0
0
0
1
0
false
0
0.081633
0
0.142857
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
b0c50b001c6cc227b4aad24b239e7dd7212181cf
1,274
py
Python
tests/test-data/example-publications.py
caltechlibrary/pindu
61a8407a706cfed425d797b9533ec703c5040c09
[ "BSD-3-Clause" ]
16
2019-03-15T15:45:00.000Z
2022-01-17T18:40:02.000Z
tests/test-data/example-publications.py
caltechlibrary/pindu
61a8407a706cfed425d797b9533ec703c5040c09
[ "BSD-3-Clause" ]
5
2019-03-16T20:39:15.000Z
2019-03-17T03:17:27.000Z
tests/test-data/example-publications.py
caltechlibrary/pindu
61a8407a706cfed425d797b9533ec703c5040c09
[ "BSD-3-Clause" ]
1
2019-04-08T15:56:15.000Z
2019-04-08T15:56:15.000Z
#!/usr/bin/env python3 import getpass import json import pprint import requests import sys # The credentials to be used try: user = input('Login name: ') # If it's a tty, use the version that doesn't echo the password. if sys.stdin.isatty(): password = getpass.getpass('Password: ') else: ...
25.48
100
0.672684
179
1,274
4.765363
0.581006
0.030481
0.037515
0.049238
0.091442
0.091442
0.091442
0.091442
0
0
0
0.001965
0.200942
1,274
49
101
26
0.835953
0.309262
0
0
0
0
0.309195
0.05977
0
0
0
0
0
1
0
false
0.16129
0.16129
0
0.16129
0.064516
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
b0ccebc0b3a433b0dfb64355eaa13489fd9e8fa9
2,300
py
Python
garage/misc/logger/tensorboard_logger.py
shadiakiki1986/garage
095bb5d25b32df1d44b47e99a78a9b01796941d9
[ "MIT" ]
null
null
null
garage/misc/logger/tensorboard_logger.py
shadiakiki1986/garage
095bb5d25b32df1d44b47e99a78a9b01796941d9
[ "MIT" ]
null
null
null
garage/misc/logger/tensorboard_logger.py
shadiakiki1986/garage
095bb5d25b32df1d44b47e99a78a9b01796941d9
[ "MIT" ]
null
null
null
"""Tensorboard Logger. This logger adds tensorboard functionalities to base logger. When LOG_TENSORBORAD is set to True in config.py, garage.misc.logger will be instantiated as a TensorboardLogger """ # flake8: noqa from garage.misc.logger.base_logger import Logger from garage.misc.logger.tensorboard_output import Ten...
37.096774
85
0.654783
265
2,300
5.426415
0.286792
0.135605
0.075104
0.076495
0.085535
0
0
0
0
0
0
0.002938
0.26
2,300
61
86
37.704918
0.841951
0.158696
0
0.051282
0
0
0.019261
0
0
0
0
0
0
1
0.25641
false
0
0.051282
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
b0ce633c443f0cbfac14ce87946ff8303dd8f85d
515
py
Python
moisture/searches/migrations/0001_initial.py
wikibootup/moisture-backend
8d5c55cfbb9c7694e65f432f01f88d62c3fc1d8f
[ "MIT" ]
null
null
null
moisture/searches/migrations/0001_initial.py
wikibootup/moisture-backend
8d5c55cfbb9c7694e65f432f01f88d62c3fc1d8f
[ "MIT" ]
1
2017-12-27T10:07:20.000Z
2017-12-27T10:07:20.000Z
moisture/searches/migrations/0001_initial.py
wikibootup/moisture-backend
8d5c55cfbb9c7694e65f432f01f88d62c3fc1d8f
[ "MIT" ]
null
null
null
# Generated by Django 2.0 on 2017-12-27 03:05 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Search', fields=[ ('search_id', models.AutoFi...
22.391304
83
0.563107
50
515
5.7
0.8
0
0
0
0
0
0
0
0
0
0
0.039886
0.318447
515
22
84
23.409091
0.77208
0.083495
0
0
1
0
0.068085
0
0
0
0
0
0
1
0
false
0
0.066667
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
b0cf96fdf617baa0e33f77f463649ca47f9307e8
406
py
Python
run.py
thesilenthero/spotify-offline-playlist
c62b5a1946ef794125545f18d441acd4f532bd43
[ "MIT" ]
null
null
null
run.py
thesilenthero/spotify-offline-playlist
c62b5a1946ef794125545f18d441acd4f532bd43
[ "MIT" ]
1
2021-06-01T23:40:30.000Z
2021-06-01T23:40:30.000Z
run.py
thesilenthero/spotify-cache
c62b5a1946ef794125545f18d441acd4f532bd43
[ "MIT" ]
null
null
null
from playlist import PlaylistUpdater if __name__ == "__main__": pl = PlaylistUpdater("offline songs") updated_playlist = pl.update_playlist(250) print(f"Updated playlist - {len(updated_playlist)} songs:\n\n") for song in sorted(updated_playlist, key=lambda s: pl.get_artist(s)): print(pl.get_a...
31.230769
73
0.674877
54
406
4.814815
0.592593
0.230769
0.084615
0
0
0
0
0
0
0
0
0.008955
0.174877
406
12
74
33.833333
0.767164
0
0
0
0
0
0.275862
0.05665
0
0
0
0
0
1
0
false
0
0.125
0
0.125
0.25
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
b0d011485ac91e023ba95f9066666cffa143e410
1,596
py
Python
jobs/bencher/osu.merge_outputs.py
NCAR/HPC_Scripts
5be3870aedde320de55fcd9190936f8e84b11735
[ "BSD-3-Clause" ]
1
2019-08-10T17:04:19.000Z
2019-08-10T17:04:19.000Z
jobs/bencher/osu.merge_outputs.py
NCAR/HPC_Scripts
5be3870aedde320de55fcd9190936f8e84b11735
[ "BSD-3-Clause" ]
null
null
null
jobs/bencher/osu.merge_outputs.py
NCAR/HPC_Scripts
5be3870aedde320de55fcd9190936f8e84b11735
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/python import sys import os import re if len(sys.argv) < 3: print >> sys.stderr, '%s {dump|average} {separator} {label|filename}* ' % (sys.argv[0]) os._exit(1) args = sys.argv; args.pop(0); #prog output_type=args.pop(0) separator=args.pop(0) if separator == '': separator = None data = {} #bi...
22.478873
91
0.612155
230
1,596
4.208696
0.317391
0.055785
0.072314
0.043388
0.13843
0.078512
0.078512
0.078512
0.078512
0.078512
0
0.009615
0.218045
1,596
70
92
22.8
0.766026
0.089599
0
0.127273
0
0
0.065698
0
0
0
0
0
0
0
null
null
0
0.054545
null
null
0.018182
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
b0d1e055ff322226dc829bdd049ec0f347554a8e
847
py
Python
server/schemas/tshirt.py
CraftyChimera/nittfest-site
71754a0f282dff247e9b5ef8bc992718c6643576
[ "MIT" ]
null
null
null
server/schemas/tshirt.py
CraftyChimera/nittfest-site
71754a0f282dff247e9b5ef8bc992718c6643576
[ "MIT" ]
null
null
null
server/schemas/tshirt.py
CraftyChimera/nittfest-site
71754a0f282dff247e9b5ef8bc992718c6643576
[ "MIT" ]
null
null
null
""" T-shirt Registration Schema """ from sqlalchemy import Column, Enum, ForeignKey, Integer from config.database import Base class Tshirt(Base): """T-shirt Registration Schema""" __tablename__ = "tshirts" id = Column(Integer, primary_key=True) size = Column(Enum("S", "M", "L", "XL", "XXL"), nullabl...
26.46875
71
0.600945
103
847
4.737864
0.466019
0.098361
0.07377
0.086066
0.151639
0.114754
0.114754
0.114754
0
0
0
0
0.250295
847
31
72
27.322581
0.768504
0.158205
0
0
0
0
0.123188
0
0
0
0
0
0
1
0.166667
false
0
0.111111
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
b0d363507e9d1f5e3a40a07e86a7a5817222c4ed
613
py
Python
setup.py
Sologala/pyp
bb4accd436269355168f17dab5de506a1de5244a
[ "MIT" ]
null
null
null
setup.py
Sologala/pyp
bb4accd436269355168f17dab5de506a1de5244a
[ "MIT" ]
null
null
null
setup.py
Sologala/pyp
bb4accd436269355168f17dab5de506a1de5244a
[ "MIT" ]
null
null
null
import setuptools setuptools.setup( name="pyp", version="0.0.1", author="Dawsonwen", author_email="dawsonwen123@gmail.com", description="Personal utils about Image processing and Deep Learning", long_description="Personal utils about Image processing and Deep Learning", long_description_co...
30.65
79
0.686786
65
613
6.369231
0.723077
0.091787
0.115942
0.140097
0.330918
0.330918
0.330918
0.330918
0.330918
0.330918
0
0.014141
0.192496
613
19
80
32.263158
0.822222
0
0
0
0
0
0.477124
0.035948
0
0
0
0
0
1
0
true
0
0.058824
0
0.058824
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
b0d5cca53d6cde9dae6922822ee15982cd8a57a5
5,061
py
Python
src/CherryPy-3.1.2/cherrypy/test/test_http.py
wake-forest-ctsi/mist-toolkit
857e91976fa3b75ef2cad08612fa79cf2f743615
[ "BSD-3-Clause" ]
2
2015-10-28T17:58:31.000Z
2021-10-12T10:34:39.000Z
scrubber/MIST_2_0_4/src/CherryPy-3.1.2/cherrypy/test/test_http.py
manaswini18/DmD
dd1e865ddb7b43c8478b2b5733385143b1980951
[ "Apache-2.0" ]
null
null
null
scrubber/MIST_2_0_4/src/CherryPy-3.1.2/cherrypy/test/test_http.py
manaswini18/DmD
dd1e865ddb7b43c8478b2b5733385143b1980951
[ "Apache-2.0" ]
9
2016-12-17T22:50:37.000Z
2020-09-26T01:08:06.000Z
"""Tests for managing HTTP issues (malformed requests, etc).""" from cherrypy.test import test test.prefer_parent_path() import httplib import cherrypy import mimetypes def encode_multipart_formdata(files): """Return (content_type, body) ready for httplib.HTTP instance. files: a sequence of (name, file...
34.903448
81
0.564315
563
5,061
4.968028
0.333925
0.02753
0.015016
0.03754
0.20808
0.192349
0.183411
0.17483
0.134787
0.122274
0
0.013352
0.304485
5,061
144
82
35.145833
0.78125
0.057103
0
0.207547
0
0
0.13807
0.024129
0
0
0
0
0.066038
0
null
null
0
0.04717
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
b0dad0a5afdfad9563942135c359985cec7820e5
2,039
py
Python
src/kcri/bap/services.py
zwets/kcri-cge-bap
d8a14d848a87b325ead25068fa098f357844eee6
[ "Apache-2.0" ]
null
null
null
src/kcri/bap/services.py
zwets/kcri-cge-bap
d8a14d848a87b325ead25068fa098f357844eee6
[ "Apache-2.0" ]
4
2021-04-20T23:16:19.000Z
2021-09-17T17:48:16.000Z
src/kcri/bap/services.py
zwets/kcri-cge-bap
d8a14d848a87b325ead25068fa098f357844eee6
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 # # kcri.bap.services - Defines the services used by the BAP workflow # # This module defines the SERVICES dict that maps each Service.* enum # defined in .workflow to a class (called a 'shim') that implements # the service. # # Import the Services enum from .workflow import Services # Im...
38.471698
71
0.755272
210
2,039
7.333333
0.357143
0.093506
0.023377
0
0
0
0
0
0
0
0
0.000594
0.174595
2,039
52
72
39.211538
0.914439
0.187347
0
0
0
0
0.0231
0
0
0
0
0
0.027778
1
0
false
0
0.472222
0
0.472222
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
b0ff711681ec11ca33465000ba083590e34cd80c
779
py
Python
models/utils.py
asurt-shell-ai/Pitch-The-Future
9cfd7eeda08587c9ceb539d117b80474bced0492
[ "MIT" ]
5
2022-01-12T11:56:37.000Z
2022-02-21T07:42:50.000Z
models/utils.py
asurt-shell-ai/Pitch-The-Future
9cfd7eeda08587c9ceb539d117b80474bced0492
[ "MIT" ]
null
null
null
models/utils.py
asurt-shell-ai/Pitch-The-Future
9cfd7eeda08587c9ceb539d117b80474bced0492
[ "MIT" ]
3
2022-01-11T23:10:15.000Z
2022-03-05T03:19:15.000Z
import torch import numpy as np import torch.nn as nn import torch.nn.functional as F def uniform_dist(a, b, size): ''' Sample from a uniform distribution Unif(a,b) ''' std_unif = torch.rand(size) return std_unif*(b-a)+a def safe_log(tens, epsilon:float=1e-5): ''' Safe log to prevent infi...
23.606061
73
0.6457
114
779
4.333333
0.508772
0.066802
0.052632
0
0
0
0
0
0
0
0
0.0067
0.233633
779
33
74
23.606061
0.820771
0.314506
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.266667
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
7c04489bd78174b5cc0a4b98449abca8fc900b71
324
py
Python
blog_blog/migrations/0010_remove_post_body.py
hossshakiba/Django-Personal-Website-Blog
6f75a7b7d8778e556305a883f23b04d526a8d5fd
[ "MIT" ]
2
2021-01-01T08:30:39.000Z
2021-01-01T08:35:39.000Z
blog_blog/migrations/0010_remove_post_body.py
hossshakiba/Django-Personal-Website-Blog
6f75a7b7d8778e556305a883f23b04d526a8d5fd
[ "MIT" ]
null
null
null
blog_blog/migrations/0010_remove_post_body.py
hossshakiba/Django-Personal-Website-Blog
6f75a7b7d8778e556305a883f23b04d526a8d5fd
[ "MIT" ]
null
null
null
# Generated by Django 3.1 on 2020-11-04 10:08 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('blog_blog', '0009_auto_20201103_1823'), ] operations = [ migrations.RemoveField( model_name='post', name='body', ), ...
18
49
0.589506
35
324
5.314286
0.828571
0
0
0
0
0
0
0
0
0
0
0.132159
0.299383
324
17
50
19.058824
0.687225
0.132716
0
0
1
0
0.143369
0.082437
0
0
0
0
0
1
0
false
0
0.090909
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
7c0b02adb3b3caffb37dad5911f228a7b629e952
1,535
py
Python
poll/education/migrations/0002_lectureday_lecturepoll.py
bilbeyt/otokon-workshop
f7025c5d7a10b9b30ff8ab52e0db01a4abb10db8
[ "MIT" ]
null
null
null
poll/education/migrations/0002_lectureday_lecturepoll.py
bilbeyt/otokon-workshop
f7025c5d7a10b9b30ff8ab52e0db01a4abb10db8
[ "MIT" ]
null
null
null
poll/education/migrations/0002_lectureday_lecturepoll.py
bilbeyt/otokon-workshop
f7025c5d7a10b9b30ff8ab52e0db01a4abb10db8
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2017-04-22 12:03 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion import uuid class Migration(migrations.Migration): dependencies = [ migrations.swappab...
38.375
123
0.619544
154
1,535
6.019481
0.480519
0.04315
0.06041
0.09493
0.257821
0.197411
0.197411
0.197411
0.197411
0.197411
0
0.018213
0.24886
1,535
39
124
39.358974
0.785776
0.042997
0
0.25
1
0
0.103001
0
0
0
0
0
0
1
0
false
0
0.15625
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
9fd239d646e916a3bd67e3622dc780f2658da94b
1,235
py
Python
Operators/ArithmeticOperators.py
dsabhrawal/python-examples
55b3dd6c9fd0b992bcfe3422765dc80fb143a54b
[ "MIT" ]
1
2020-03-01T17:24:20.000Z
2020-03-01T17:24:20.000Z
Operators/ArithmeticOperators.py
dsabhrawal/python-examples
55b3dd6c9fd0b992bcfe3422765dc80fb143a54b
[ "MIT" ]
null
null
null
Operators/ArithmeticOperators.py
dsabhrawal/python-examples
55b3dd6c9fd0b992bcfe3422765dc80fb143a54b
[ "MIT" ]
null
null
null
#Following are the operators supported # + Addition # - Subration # * Multiplication # / Division # % Modulus # // Integer Division # ** Exponential # #If any of operand is float the result is float print(3+2) #prints 5 print(3-2) #prints 1 print(3*2) #prints 6 print(2.5+2) #Prints 4.5 (float) #In division resu...
26.847826
121
0.712551
219
1,235
4.018265
0.328767
0.071591
0.0625
0.057955
0.242045
0.242045
0.242045
0.242045
0.242045
0.2
0
0.070313
0.17085
1,235
45
122
27.444444
0.789063
0.717409
0
0
0
0
0.031746
0
0
0
0
0
0
1
0
false
0
0
0
0
0.9
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
9ffb68dd4ad9294ccb8823182f5bdd7276f86a6d
2,407
py
Python
pwdcheck/pwdcheck.py
pavdmyt/pwdcheck
0781d2d355790d577744deaaeacb3ca7c3396d5d
[ "MIT" ]
null
null
null
pwdcheck/pwdcheck.py
pavdmyt/pwdcheck
0781d2d355790d577744deaaeacb3ca7c3396d5d
[ "MIT" ]
null
null
null
pwdcheck/pwdcheck.py
pavdmyt/pwdcheck
0781d2d355790d577744deaaeacb3ca7c3396d5d
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ pwdcheck.pwdcheck ~~~~~~~~~~~~~~~~~ """ from __future__ import absolute_import from pwdcheck.helpers import Dotdict from .compat import builtin_str from .cxty import Complexity from .exceptions import PolicyError, PolicyParsingError from .extras import Extras # TODO: implement func fo...
34.385714
79
0.628999
292
2,407
5.020548
0.407534
0.028649
0.027285
0.026603
0.152115
0.152115
0.13779
0.13779
0.13779
0.13779
0
0.000586
0.291234
2,407
69
80
34.884058
0.858734
0.350229
0
0.176471
0
0
0.032468
0
0
0
0
0.014493
0
1
0.058824
false
0
0.176471
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
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
9fff10f9aed07ce61fe97d6b13d9398e95a17c91
17,088
py
Python
cmkinitramfs/init.py
lleseur/cmkinitramfs
8e7dd02f643d1c48a9001bdb5ac71ae816849c30
[ "MIT" ]
null
null
null
cmkinitramfs/init.py
lleseur/cmkinitramfs
8e7dd02f643d1c48a9001bdb5ac71ae816849c30
[ "MIT" ]
null
null
null
cmkinitramfs/init.py
lleseur/cmkinitramfs
8e7dd02f643d1c48a9001bdb5ac71ae816849c30
[ "MIT" ]
null
null
null
"""Module providing functions to build an init script The :func:`mkinit` function will generate a ``/init`` script. ``do_foo()`` functions write a string performing the foo action into a stream. This stream should be the init script. ``_fun_foo()`` functions write a string defining the foo function into a stream. Th...
33.837624
78
0.574087
2,256
17,088
4.281915
0.178191
0.005383
0.009938
0.019876
0.212629
0.165631
0.132816
0.104658
0.075259
0.043996
0
0.004639
0.255677
17,088
504
79
33.904762
0.754619
0.396419
0
0.164706
1
0.011765
0.391629
0.021388
0
0
0
0
0
1
0.047059
false
0
0.027451
0
0.098039
0.023529
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
b0027e2311dc7547616daf5503e9964c7a6faa36
712
py
Python
src/djanban/apps/repositories/migrations/0014_auto_20161006_0143.py
diegojromerolopez/djanban
6451688d49cf235d03c604b19a6a8480b33eed87
[ "MIT" ]
33
2017-06-14T18:04:25.000Z
2021-06-15T07:07:56.000Z
src/djanban/apps/repositories/migrations/0014_auto_20161006_0143.py
diegojromerolopez/djanban
6451688d49cf235d03c604b19a6a8480b33eed87
[ "MIT" ]
1
2017-05-10T08:45:55.000Z
2017-05-10T08:45:55.000Z
src/djanban/apps/repositories/migrations/0014_auto_20161006_0143.py
diegojromerolopez/djanban
6451688d49cf235d03c604b19a6a8480b33eed87
[ "MIT" ]
8
2017-08-27T11:14:25.000Z
2021-03-03T12:11:16.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.10 on 2016-10-05 23:43 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('boards', '0030_auto_20160925_1843'), ('repositories', '0013_auto_20160927_1935'), ] o...
33.904762
287
0.613764
74
712
5.689189
0.594595
0.095012
0.114014
0.095012
0.109264
0
0
0
0
0
0
0.083624
0.19382
712
20
288
35.6
0.649826
0.092697
0
0
1
0
0.349922
0.07154
0
0
0
0
0
1
0
false
0
0.153846
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
b0043904e4766ebc01d06d03011974f69b9ed435
792
py
Python
full-problems/sortTheFiles.py
vikas-t/DS-Algo
ea654d1cad5374c824c52da9d3815a9546eb43fa
[ "Apache-2.0" ]
null
null
null
full-problems/sortTheFiles.py
vikas-t/DS-Algo
ea654d1cad5374c824c52da9d3815a9546eb43fa
[ "Apache-2.0" ]
null
null
null
full-problems/sortTheFiles.py
vikas-t/DS-Algo
ea654d1cad5374c824c52da9d3815a9546eb43fa
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python # https://www.hiredintech.com/classrooms/algorithm-design/lesson/19/task/16 def sort_the_files(n, result): def printr(s, e, result): cnt = len(result) for i in xrange(s, e): if cnt <= 1000: result.append(i) cnt = cnt + 1 else: ...
17.6
75
0.429293
103
792
3.262136
0.446602
0.041667
0.071429
0.071429
0
0
0
0
0
0
0
0.049412
0.463384
792
44
76
18
0.741176
0.113636
0
0.266667
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0.1
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
b013b4c69db99db487cc33aecacb91ef7656d6c2
298
py
Python
tednet/tnn/cp/__init__.py
perryuu/tednet
9e05d7df3b690518921b3d8c2289ab638dbc221c
[ "MIT" ]
31
2021-01-05T16:39:32.000Z
2022-03-15T11:33:58.000Z
tednet/tnn/cp/__init__.py
perryuu/tednet
9e05d7df3b690518921b3d8c2289ab638dbc221c
[ "MIT" ]
1
2022-02-13T04:59:08.000Z
2022-02-13T06:58:06.000Z
tednet/tnn/cp/__init__.py
perryuu/tednet
9e05d7df3b690518921b3d8c2289ab638dbc221c
[ "MIT" ]
5
2021-04-20T15:34:17.000Z
2022-03-31T10:45:20.000Z
# -*- coding: UTF-8 -*- from .base import CPConv2D, CPLinear from .cp_lenet import CPLeNet5 from .cp_resnet import CPResNet20, CPResNet32 from .cp_rnn import CPLSTM __all__ = ["CPConv2D", "CPLinear", "CPLeNet5", "CPResNet20", "CPResNet32", "CPLSTM" ]
21.285714
45
0.61745
31
298
5.709677
0.548387
0.101695
0
0
0
0
0
0
0
0
0
0.059361
0.265101
298
13
46
22.923077
0.748858
0.07047
0
0
0
0
0.182482
0
0
0
0
0
0
1
0
false
0
0.444444
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
0
0
0
1
0
0
0
0
1
b0175199b6a9133ee7778568361b51bc39238343
14,075
py
Python
GUI_Qt/GUI_DATOS.py
LASER-UD/Open_BCI_and_MYO_UD
f5e9aae94370c9edd7da9a38159bce71241eb043
[ "MIT" ]
null
null
null
GUI_Qt/GUI_DATOS.py
LASER-UD/Open_BCI_and_MYO_UD
f5e9aae94370c9edd7da9a38159bce71241eb043
[ "MIT" ]
5
2021-06-02T01:50:42.000Z
2022-03-12T00:29:55.000Z
GUI_Qt/GUI_DATOS.py
LASER-UD/Open_BCI_and_MYO_UD
f5e9aae94370c9edd7da9a38159bce71241eb043
[ "MIT" ]
3
2020-03-20T04:33:38.000Z
2020-09-29T01:04:40.000Z
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'GUI_DATOS_PACIENTE.ui' # # Created by: PyQt5 UI code generator 5.14.1 # # WARNING! All changes made in this file will be lost! import os from PyQt5.QtWidgets import QMessageBox import subprocess from PyQt5 import QtCore, QtGui, QtWidgets...
59.388186
407
0.670764
1,698
14,075
5.428151
0.183746
0.067701
0.066833
0.059781
0.437778
0.354888
0.178366
0.155474
0.106325
0.097429
0
0.046382
0.18508
14,075
236
408
59.639831
0.757193
0.017478
0
0.105263
1
0.004785
0.207293
0.053614
0
0
0
0
0
1
0.038278
false
0.004785
0.033493
0
0.076555
0.009569
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
b018bf4d6bf232d77c38cd2790e665c40396d7c9
1,579
py
Python
blog/urls.py
PrasadRaoJammuna/Personal-Blog
47ee9350c9b9df1943761dd66f57e89d69fe295f
[ "BSD-3-Clause" ]
3
2019-11-21T10:20:08.000Z
2021-06-07T04:30:57.000Z
blog/urls.py
PrasadRaoJammuna/Personal-Blog
47ee9350c9b9df1943761dd66f57e89d69fe295f
[ "BSD-3-Clause" ]
9
2021-03-19T03:27:15.000Z
2022-02-10T08:50:50.000Z
blog/urls.py
PrasadRaoJammuna/Personal-Blog
47ee9350c9b9df1943761dd66f57e89d69fe295f
[ "BSD-3-Clause" ]
3
2021-06-29T09:53:26.000Z
2021-09-01T04:29:03.000Z
"""blog URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-...
29.792453
82
0.678277
210
1,579
5.052381
0.309524
0.047125
0.014138
0.02262
0.146089
0.110273
0.070688
0
0
0
0
0.006289
0.194427
1,579
52
83
30.365385
0.82783
0.430652
0
0
0
0
0.129187
0.026316
0
0
0
0
0
1
0
false
0
0.35
0
0.35
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
b01c5f7a4e6105150a7c7bd8c4b50e7a00563ec3
1,277
py
Python
Challenges/Space/bof_libc_leak.py
limitedeternity/HackTheBox
ed8d6fc7ff7b880b1961098bedca1fc5fdf7fd09
[ "MIT" ]
null
null
null
Challenges/Space/bof_libc_leak.py
limitedeternity/HackTheBox
ed8d6fc7ff7b880b1961098bedca1fc5fdf7fd09
[ "MIT" ]
null
null
null
Challenges/Space/bof_libc_leak.py
limitedeternity/HackTheBox
ed8d6fc7ff7b880b1961098bedca1fc5fdf7fd09
[ "MIT" ]
3
2021-12-29T10:39:01.000Z
2022-03-29T22:56:40.000Z
# coding: utf-8 from pwn import * HOST, PORT = "139.59.202.58", 30203 elf = context.binary = ELF("./space") r = elf.process() r.recvuntil(">") r.sendline(cyclic(1024)) r.wait() r.close() core = Coredump("./core") buffer_size = cyclic_find(core.fault_addr) # readelf -r ./space function_to_leak = "read" def stdout_f...
26.061224
129
0.691464
198
1,277
4.292929
0.464646
0.035294
0.065882
0.044706
0
0
0
0
0
0
0
0.038147
0.137823
1,277
48
130
26.604167
0.733878
0.025059
0
0.058824
0
0
0.198068
0
0
0
0
0
0
0
null
null
0
0.029412
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
b01ec9c0f1d13978337f13fb30488be81a6a3fc5
782
py
Python
config/webserver_config.py
pthacker22/docker-airflow
d61d66d55319dce7b23154cbe5c208505bc8adf9
[ "Apache-2.0" ]
null
null
null
config/webserver_config.py
pthacker22/docker-airflow
d61d66d55319dce7b23154cbe5c208505bc8adf9
[ "Apache-2.0" ]
null
null
null
config/webserver_config.py
pthacker22/docker-airflow
d61d66d55319dce7b23154cbe5c208505bc8adf9
[ "Apache-2.0" ]
null
null
null
import os from airflow import configuration as conf from flask_appbuilder.security.manager import AUTH_LDAP basedir = os.path.abspath(os.path.dirname(__file__)) SQLALCHEMY_DATABASE_URI = conf.get('core', 'SQL_ALCHEMY_CONN') CSRF_ENABLED = True AUTH_TYPE = AUTH_LDAP AUTH_ROLE_ADMIN = 'Admin' AUTH_USER_REGISTRATION = ...
30.076923
74
0.822251
122
782
4.836066
0.459016
0.189831
0.081356
0.108475
0.135593
0
0
0
0
0
0
0
0.084399
782
25
75
31.28
0.824022
0.006394
0
0
0
0
0.205161
0.125161
0
0
0
0
0
1
0
false
0.055556
0.166667
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
0
0
0
0
0
1
0
0
0
0
0
1
b01f9c234380678f32c2df6ec38bd4b261557de0
7,175
py
Python
response_operations_ui/views/passwords.py
ONSdigital/response-operations-ui
1ec70c89e443fdfba620af328a4a13ce67459aa8
[ "MIT" ]
3
2018-03-06T12:33:11.000Z
2021-03-09T09:20:55.000Z
response_operations_ui/views/passwords.py
ONSdigital/response-operations-ui
1ec70c89e443fdfba620af328a4a13ce67459aa8
[ "MIT" ]
519
2017-11-30T16:32:24.000Z
2022-03-28T13:37:57.000Z
response_operations_ui/views/passwords.py
ONSdigital/response-operations-ui
1ec70c89e443fdfba620af328a4a13ce67459aa8
[ "MIT" ]
2
2020-01-21T20:27:32.000Z
2021-04-11T07:45:16.000Z
import logging from flask import Blueprint, abort from flask import current_app as app from flask import redirect, render_template, request, url_for from itsdangerous import BadData, BadSignature, SignatureExpired, URLSafeSerializer from structlog import wrap_logger from response_operations_ui.common import token_dec...
41.959064
113
0.731847
870
7,175
5.826437
0.189655
0.046163
0.047347
0.034524
0.527126
0.45216
0.348195
0.205563
0.162162
0.162162
0
0.00302
0.169199
7,175
170
114
42.205882
0.847341
0.040557
0
0.260504
0
0
0.249237
0.096263
0
0
0
0
0
1
0.07563
false
0.495798
0.092437
0.008403
0.327731
0.016807
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
b0216f249e70ccb84c5a9596d51e8e9d3df7b3da
1,005
py
Python
src/diameter.py
jkunimune15/kodi-analysis
4f8ec09d295e8525c8ea04a429b308cd8f6bc1ba
[ "MIT" ]
null
null
null
src/diameter.py
jkunimune15/kodi-analysis
4f8ec09d295e8525c8ea04a429b308cd8f6bc1ba
[ "MIT" ]
null
null
null
src/diameter.py
jkunimune15/kodi-analysis
4f8ec09d295e8525c8ea04a429b308cd8f6bc1ba
[ "MIT" ]
null
null
null
import numpy as np import matplotlib.pyplot as plt """ E is in MeV, D in μm, vB in μm/h, τ in h, and k in (MeV)^-1 """ def E(D, τ=5, vB=2.66, k=.8, n=1.2, a=1, z=1): return z**2*a*((2*τ*vB/D - 1)/k)**(1/n) def D(E, τ=5, vB=2.66, k=.8, n=1.2, a=1, z=1): return np.where(E > 0, 2*τ*vB/(1 + k*(E/(z**2*a))**n), np.na...
37.222222
97
0.542289
217
1,005
2.460829
0.359447
0.022472
0.016854
0.022472
0.164794
0.082397
0.082397
0.082397
0.082397
0.082397
0
0.094007
0.153234
1,005
26
98
38.653846
0.53349
0.406965
0
0
0
0
0.114943
0
0
0
0
0
0
1
0.125
false
0
0.125
0.125
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
b02dacf6fc7063094de9bf5ec1e79a9198848e28
742
py
Python
safe/admin.py
JoeJasinski/password-safe
dfa6bfb7019bd972bd0081fedfed6f8b7d3c744e
[ "MIT" ]
null
null
null
safe/admin.py
JoeJasinski/password-safe
dfa6bfb7019bd972bd0081fedfed6f8b7d3c744e
[ "MIT" ]
null
null
null
safe/admin.py
JoeJasinski/password-safe
dfa6bfb7019bd972bd0081fedfed6f8b7d3c744e
[ "MIT" ]
null
null
null
from django.contrib import admin from safe.models import PublicKey, Credential, UserSecret class PublicKeyAdmin(admin.ModelAdmin): raw_id_fields = ['user'] readonly_fields = ['created', 'modified'] list_display = ['user', 'created', 'modified'] class UserSecretInline(admin.StackedInline): model = U...
28.538462
82
0.716981
76
742
6.855263
0.5
0.143954
0.042226
0.057582
0.111324
0.111324
0
0
0
0
0
0.001585
0.149596
742
25
83
29.68
0.824089
0
0
0.235294
0
0
0.169811
0
0
0
0
0
0
1
0
false
0
0.117647
0
0.882353
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
b03a8e6cfe3551cf0f401c41c636c2446cdd9206
494
py
Python
label_mapping.py
AbdulSaif/Image-Classifier
044bbef2a3dd652c8910770f8e6c7474fe451d35
[ "MIT" ]
null
null
null
label_mapping.py
AbdulSaif/Image-Classifier
044bbef2a3dd652c8910770f8e6c7474fe451d35
[ "MIT" ]
null
null
null
label_mapping.py
AbdulSaif/Image-Classifier
044bbef2a3dd652c8910770f8e6c7474fe451d35
[ "MIT" ]
null
null
null
# This function takes a file that has labels and flowers name reads it and it # then returns it as dictionary containing labels as index and flowers name as # values def label_mapping(filename): # importing required python module to read .json file import json with open(filename, 'r') as f: label_...
35.285714
78
0.734818
79
494
4.531646
0.56962
0.083799
0.117318
0.156425
0.307263
0.307263
0.307263
0.307263
0.307263
0.307263
0
0
0.224696
494
13
79
38
0.934726
0.657895
0
0
0
0
0.006173
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
b04058b926b5e693c3424f4122a2996ff97490af
387
py
Python
2._Learning_Python/A._Basic_-_no_OOP/5._Dicts_and_Sets/2._Sets/set_1_challenge.py
sanjarcode/python3_notes
b844515a021c2b75a4066b6d4cad239fdd13e3a7
[ "MIT" ]
null
null
null
2._Learning_Python/A._Basic_-_no_OOP/5._Dicts_and_Sets/2._Sets/set_1_challenge.py
sanjarcode/python3_notes
b844515a021c2b75a4066b6d4cad239fdd13e3a7
[ "MIT" ]
null
null
null
2._Learning_Python/A._Basic_-_no_OOP/5._Dicts_and_Sets/2._Sets/set_1_challenge.py
sanjarcode/python3_notes
b844515a021c2b75a4066b6d4cad239fdd13e3a7
[ "MIT" ]
null
null
null
# WAP that takes some text and returns a list of all characters # in the text which are not vowels, sorted in alphabetical order. # You can either enter the text from the keyboard or # initialize a string variable with the string # soln get the set and subtract the set from the vowels set # text = set(input().lower()...
35.181818
65
0.728682
66
387
4.272727
0.666667
0.049645
0
0
0
0
0
0
0
0
0
0
0.191214
387
10
66
38.7
0.900958
0.793282
0
0
0
0
0.068493
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
b0416ac86a09820f6724bb53b8a4116fa007de8d
1,429
py
Python
main/forms.py
Unryh/rcevo
4a91c5f7cfc9758e2ca54e8b0dcd870eb7fdcff0
[ "MIT" ]
null
null
null
main/forms.py
Unryh/rcevo
4a91c5f7cfc9758e2ca54e8b0dcd870eb7fdcff0
[ "MIT" ]
null
null
null
main/forms.py
Unryh/rcevo
4a91c5f7cfc9758e2ca54e8b0dcd870eb7fdcff0
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # from django.contrib.auth.models import User from django import forms from models.models import AdvancedUser, CommentModel import django.forms.widgets as widgets class UserForm(forms.ModelForm): username = forms.CharField(min_length=3, max_length=40) password = forms.CharField(widget=...
29.770833
79
0.644507
152
1,429
5.947368
0.421053
0.123894
0.036504
0.059735
0.103982
0.04646
0
0
0
0
0
0.009355
0.251924
1,429
47
80
30.404255
0.836296
0.045486
0
0.058824
0
0
0.129507
0
0
0
0
0
0
1
0.029412
false
0.294118
0.088235
0
0.323529
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
b044a5028d46266db2e1cb5d8806a9968b9e3a34
676
py
Python
setup.py
caedonhsieh/ps-munna
bb0194ef3c3efb5ecce5f16913ffb8d882953bb8
[ "MIT" ]
null
null
null
setup.py
caedonhsieh/ps-munna
bb0194ef3c3efb5ecce5f16913ffb8d882953bb8
[ "MIT" ]
null
null
null
setup.py
caedonhsieh/ps-munna
bb0194ef3c3efb5ecce5f16913ffb8d882953bb8
[ "MIT" ]
null
null
null
from setuptools import setup with open('README.md') as file: long_description = file.read() # TODO - replace with details of your project setup( name='munna', description='Pokemon Showdown MatchUp Neural Network Analysis', version='0.0.1', author='Caedon Hsieh', author_email='caedonhsieh@gma...
28.166667
67
0.68787
79
676
5.772152
0.746835
0.131579
0.083333
0.131579
0
0
0
0
0
0
0
0.005319
0.16568
676
23
68
29.391304
0.803191
0.063609
0
0
0
0
0.361331
0.033281
0
0
0
0.043478
0
1
0
false
0
0.055556
0
0.055556
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
b046075d8729967f938f6cf9a0f2c29c3bcad18f
662
py
Python
answers/leetcode/Longest Valid Parentheses/Longest Valid Parentheses.py
FeiZhan/Algo-Collection
708c4a38112e0b381864809788b9e44ac5ae4d05
[ "MIT" ]
3
2015-09-04T21:32:31.000Z
2020-12-06T00:37:32.000Z
answers/leetcode/Longest Valid Parentheses/Longest Valid Parentheses.py
FeiZhan/Algo-Collection
708c4a38112e0b381864809788b9e44ac5ae4d05
[ "MIT" ]
null
null
null
answers/leetcode/Longest Valid Parentheses/Longest Valid Parentheses.py
FeiZhan/Algo-Collection
708c4a38112e0b381864809788b9e44ac5ae4d05
[ "MIT" ]
null
null
null
class Solution(object): def longestValidParentheses(self, s): """ :type s: str :rtype: int """ longest = 0 stack = [] begin = -1 for i in range(len(s)): if '(' == s[i]: stack.append(i) elif ')' == s[i]: ...
26.48
50
0.3429
59
662
3.847458
0.491525
0.088106
0.052863
0.096916
0
0
0
0
0
0
0
0.016611
0.545317
662
24
51
27.583333
0.737542
0.036254
0
0.210526
0
0
0.0033
0
0
0
0
0
0
1
0.052632
false
0
0
0
0.157895
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
b04dc4575e11eeba31073e300b34bc04341770bd
420
py
Python
get-target-sequences.py
germs-lab/illumina-redesign-allen
9db2ffed05bbc3276991d7d6845e78bd8f75ded5
[ "MIT" ]
null
null
null
get-target-sequences.py
germs-lab/illumina-redesign-allen
9db2ffed05bbc3276991d7d6845e78bd8f75ded5
[ "MIT" ]
null
null
null
get-target-sequences.py
germs-lab/illumina-redesign-allen
9db2ffed05bbc3276991d7d6845e78bd8f75ded5
[ "MIT" ]
null
null
null
import sys, screed d = {} for record in screed.open(sys.argv[1]): ncbi_id = record.name.split(' ')[0].rsplit('|',2)[1] seq = record.sequence d[ncbi_id] = seq for line in open(sys.argv[2]): assay, ncbi, start, end = line.rstrip().split('\t') start = int(start) end = int(end) target = d[ncbi...
26.25
57
0.6
68
420
3.647059
0.470588
0.096774
0.08871
0
0
0
0
0
0
0
0
0.01497
0.204762
420
15
58
28
0.727545
0
0
0
0
0
0.014286
0
0
0
0
0
0
0
null
null
0
0.076923
null
null
0.076923
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
b04df453cef9dcc803ec17b3c79c0150b47cbd48
6,576
py
Python
tests/tfTests/testTrans2L.py
Los-Phoenix/Word2vec_LP
c645bdc08bb81d5b70afe3f3e0b6a1549c1a1802
[ "MIT" ]
1
2018-09-09T08:34:02.000Z
2018-09-09T08:34:02.000Z
tests/tfTests/testTrans2L.py
Los-Phoenix/Word2vec_LP
c645bdc08bb81d5b70afe3f3e0b6a1549c1a1802
[ "MIT" ]
null
null
null
tests/tfTests/testTrans2L.py
Los-Phoenix/Word2vec_LP
c645bdc08bb81d5b70afe3f3e0b6a1549c1a1802
[ "MIT" ]
null
null
null
#coding:utf-8 #这个文件是一层的迁移网络: import sys import numpy as np import tensorflow as tf from tensorflow.contrib import learn reload(sys) sys.setdefaultencoding('utf-8') #gensim文件的读取 #思路是这样的: #先读取两个字典:word 和 char #再打开word 的embedding,构建wordEmbedding #再打开char的embedding,构建charEmbedding #再查一下 #把输入层和输出层打印出来就好了 fDictWord = open...
36.94382
131
0.659519
927
6,576
4.518878
0.238403
0.040105
0.036524
0.017188
0.340415
0.231559
0.177608
0.122702
0.100263
0.100263
0
0.042968
0.196624
6,576
177
132
37.152542
0.749953
0.123479
0
0.017544
0
0
0.043372
0.016789
0
0
0
0
0
0
null
null
0
0.035088
null
null
0.070175
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
b0514f684ef62d8389fec38e755f75f4b152c293
6,270
py
Python
docker/config.py
DerryHub/the-TaobaoLive-Commodity-Identify-Competition
7e5e5c4fbddd9949fe01810d58bd7994889c007c
[ "MIT" ]
4
2020-08-15T14:49:37.000Z
2022-01-16T08:34:07.000Z
docker/config.py
weilin-droid/the-TaobaoLive-Commodity-Identify-Competition
7e5e5c4fbddd9949fe01810d58bd7994889c007c
[ "MIT" ]
null
null
null
docker/config.py
weilin-droid/the-TaobaoLive-Commodity-Identify-Competition
7e5e5c4fbddd9949fe01810d58bd7994889c007c
[ "MIT" ]
2
2021-05-26T05:16:09.000Z
2021-06-09T09:07:49.000Z
import argparse def get_args_efficientdet(): parser = argparse.ArgumentParser("EfficientDet") parser.add_argument("--image_size", type=int, default=512, help="The common width and height for all images") parser.add_argument("--batch_size", type=int, default=128, help="The number of images per batch") p...
55.982143
170
0.695534
857
6,270
4.913652
0.210035
0.145334
0.274519
0.052482
0.617431
0.585372
0.524341
0.471622
0.392068
0.373545
0
0.030732
0.1437
6,270
111
171
56.486486
0.753585
0.021691
0
0.252874
0
0.011494
0.296
0.03151
0
0
0
0
0
1
0.034483
false
0
0.011494
0
0.08046
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
b05699e6d06a8a223d1cf328c8de6c942781f323
1,806
py
Python
src/utils/live.py
LadaOndris/IBT
5f8f9207f8cce3124cf92c60874691ebb8d0fe42
[ "MIT" ]
null
null
null
src/utils/live.py
LadaOndris/IBT
5f8f9207f8cce3124cf92c60874691ebb8d0fe42
[ "MIT" ]
4
2021-11-10T20:11:43.000Z
2022-03-12T00:57:01.000Z
src/utils/live.py
LadaOndris/IBT
5f8f9207f8cce3124cf92c60874691ebb8d0fe42
[ "MIT" ]
null
null
null
import matplotlib.pyplot as plt import numpy as np import pyrealsense2 as rs from src.utils.plots import _plot_depth_image_live def generate_live_images(): pipe = rs.pipeline() cfg = rs.config() cfg.enable_stream(rs.stream.depth, 640, 480) pipe.start(cfg) try: while True: fram...
24.08
81
0.638981
235
1,806
4.66383
0.442553
0.072993
0.038321
0.052007
0.107664
0.107664
0.107664
0.107664
0.107664
0.107664
0
0.095167
0.25526
1,806
74
82
24.405405
0.719703
0.074197
0
0.243902
1
0
0.005822
0
0
0
0
0
0
1
0.073171
false
0
0.097561
0
0.195122
0.04878
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
b057e3cfca4f3810935de48c42f6c56a88721945
1,723
py
Python
todo/migrations/0001_initial.py
jonpas/FERI-WebApps
27e4fa0e741af31ac9344c72cf7e8a5e6289725d
[ "MIT" ]
null
null
null
todo/migrations/0001_initial.py
jonpas/FERI-WebApps
27e4fa0e741af31ac9344c72cf7e8a5e6289725d
[ "MIT" ]
null
null
null
todo/migrations/0001_initial.py
jonpas/FERI-WebApps
27e4fa0e741af31ac9344c72cf7e8a5e6289725d
[ "MIT" ]
null
null
null
# Generated by Django 3.0 on 2019-12-16 19:59 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='List', fields=[ ...
35.895833
114
0.56065
170
1,723
5.582353
0.382353
0.047418
0.079031
0.072708
0.424658
0.424658
0.424658
0.342466
0.342466
0.342466
0
0.019008
0.297737
1,723
47
115
36.659574
0.765289
0.024956
0
0.45
1
0
0.072706
0.014303
0
0
0
0
0
1
0
false
0
0.05
0
0.15
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
b05f0463e1fb348f8272498cabab5cb26e489380
40,426
py
Python
Mali.py
CGATOxford/genserv-zope
bb15363004ced9eb06cf64c993ecfd440681106f
[ "MIT" ]
null
null
null
Mali.py
CGATOxford/genserv-zope
bb15363004ced9eb06cf64c993ecfd440681106f
[ "MIT" ]
null
null
null
Mali.py
CGATOxford/genserv-zope
bb15363004ced9eb06cf64c993ecfd440681106f
[ "MIT" ]
null
null
null
import string import re import types from cStringIO import StringIO class AlignedString: mGapChars = ("-", ".") mGapChar = "-" def __init__(self, identifier, fr, to, s): self.mId = identifier self.mFrom = fr self.mTo = to self.mString = s def __len__(self): r...
32.444623
116
0.481645
4,401
40,426
4.349693
0.112929
0.03244
0.015515
0.012537
0.351199
0.314162
0.2637
0.21167
0.17667
0.1412
0
0.012537
0.39623
40,426
1,245
117
32.470683
0.771755
0.034161
0
0.372503
0
0.00235
0.070107
0.008692
0
0
0
0.000803
0
0
null
null
0.001175
0.0047
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
b06117d06d9c73823b0b2fb908e3c9754f49ce43
2,668
py
Python
recohut/models/lorentzfm.py
sparsh-ai/recohut
4121f665761ffe38c9b6337eaa9293b26bee2376
[ "Apache-2.0" ]
null
null
null
recohut/models/lorentzfm.py
sparsh-ai/recohut
4121f665761ffe38c9b6337eaa9293b26bee2376
[ "Apache-2.0" ]
1
2022-01-12T05:40:57.000Z
2022-01-12T05:40:57.000Z
recohut/models/lorentzfm.py
RecoHut-Projects/recohut
4121f665761ffe38c9b6337eaa9293b26bee2376
[ "Apache-2.0" ]
null
null
null
# AUTOGENERATED! DO NOT EDIT! File to edit: nbs/models/models.lorentzfm.ipynb (unless otherwise specified). __all__ = ['LorentzFM'] # Cell import torch from torch import nn from itertools import combinations from .layers.embedding import EmbeddingLayer from .layers.interaction import InnerProductLayer from .bases....
41.6875
107
0.612069
322
2,668
4.826087
0.338509
0.10296
0.015444
0.020592
0.057915
0.039897
0.027027
0
0
0
0
0.02517
0.285232
2,668
64
108
41.6875
0.789722
0.168666
0
0
1
0
0.038695
0.024242
0
0
0
0
0
1
0.090909
false
0
0.136364
0
0.318182
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
b065123636722b5505c80899d7d1cf95505abb7f
1,411
py
Python
tests/func_tests/test_items.py
grololo06/jinja2schema
f8bb41d3bac44349fab049673f5d08cd5a8acf48
[ "BSD-3-Clause" ]
null
null
null
tests/func_tests/test_items.py
grololo06/jinja2schema
f8bb41d3bac44349fab049673f5d08cd5a8acf48
[ "BSD-3-Clause" ]
1
2020-09-02T13:00:23.000Z
2020-09-02T13:00:23.000Z
tests/func_tests/test_items.py
grololo06/jinja2schema
f8bb41d3bac44349fab049673f5d08cd5a8acf48
[ "BSD-3-Clause" ]
null
null
null
# coding: utf-8 import pytest from jinja2schema import InvalidExpression from jinja2schema.core import infer from jinja2schema.model import Dictionary def test_items(): template = ''' {% macro selectinputdict(name, values, value=0, addemptyrow=false ,extrataginfo='') -%} <select name="{{ name }}" id="{{ name...
31.355556
87
0.588235
155
1,411
5.296774
0.380645
0.029233
0.029233
0.077954
0.54324
0.54324
0.499391
0.499391
0.499391
0.499391
0
0.016086
0.206945
1,411
44
88
32.068182
0.717605
0.009213
0
0.473684
0
0.052632
0.618911
0.078797
0
0
0
0
0.026316
1
0.052632
false
0
0.105263
0
0.157895
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c665fd002dd106071a2a3b62174d8a9f7580b40d
1,226
py
Python
poem/Poem/poem_super_admin/migrations/0001_initial.py
kzailac/poem
9f898e3cc3378ef1c49517b4cf6335a93a3f49b0
[ "Apache-2.0" ]
null
null
null
poem/Poem/poem_super_admin/migrations/0001_initial.py
kzailac/poem
9f898e3cc3378ef1c49517b4cf6335a93a3f49b0
[ "Apache-2.0" ]
null
null
null
poem/Poem/poem_super_admin/migrations/0001_initial.py
kzailac/poem
9f898e3cc3378ef1c49517b4cf6335a93a3f49b0
[ "Apache-2.0" ]
null
null
null
# Generated by Django 2.0.9 on 2019-04-30 08:38 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Probe', fields=[ ('id', models.AutoField(au...
37.151515
114
0.572594
128
1,226
5.359375
0.484375
0.118076
0.104956
0.139942
0.310496
0
0
0
0
0
0
0.045714
0.286297
1,226
32
115
38.3125
0.738286
0.036705
0
0
1
0
0.129771
0
0
0
0
0
0
1
0
false
0
0.04
0
0.2
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
c666828e8ea36cacfd3210c85b78d004b9c764e1
390
py
Python
factorial.py
Rajashekar2504/GitBasics
33977f159892f2d289d4394ee21543f7b56be449
[ "MIT" ]
null
null
null
factorial.py
Rajashekar2504/GitBasics
33977f159892f2d289d4394ee21543f7b56be449
[ "MIT" ]
null
null
null
factorial.py
Rajashekar2504/GitBasics
33977f159892f2d289d4394ee21543f7b56be449
[ "MIT" ]
null
null
null
def factorial(n): if n == 1: return n else: return n*factorial(n-1) number = int(input("Enter a number: ")) if number < 0: print("Sorry, factorial does not exist for negative numbers") elif number == 0: print("The factorial of 0 is 1") els...
26
70
0.538462
51
390
4.117647
0.490196
0.095238
0.114286
0.180952
0
0
0
0
0
0
0
0.023529
0.346154
390
14
71
27.857143
0.8
0
0
0.166667
0
0
0.279487
0
0
0
0
0
0
1
0.083333
false
0
0
0
0.25
0.25
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
c667a28cdce6e3cdb79f65f9c2e0ca71b6c51c63
1,879
py
Python
docs/source/platformdirective.py
mgrundy/sikuli
4adaab7880d2f3e14702ca7287ae9c9e4f4de9ab
[ "MIT" ]
1,292
2015-01-09T17:48:46.000Z
2022-03-30T20:08:15.000Z
docs/source/platformdirective.py
mgrundy/sikuli
4adaab7880d2f3e14702ca7287ae9c9e4f4de9ab
[ "MIT" ]
31
2015-01-20T15:01:24.000Z
2022-03-03T11:02:06.000Z
docs/source/platformdirective.py
mgrundy/sikuli
4adaab7880d2f3e14702ca7287ae9c9e4f4de9ab
[ "MIT" ]
267
2015-02-08T19:51:25.000Z
2022-03-19T22:16:01.000Z
from sphinx import addnodes from sphinx.util.compat import Directive from sphinx.util.compat import make_admonition from docutils import nodes class platform_node(nodes.Admonition, nodes.Element): pass class PlatformDirective(Directive): has_content = True required_arguments = 1 optional_arguments = 0 ...
32.964912
79
0.695583
213
1,879
5.892019
0.2723
0.133865
0.067729
0.073307
0.570518
0.490837
0.315538
0.315538
0.315538
0.315538
0
0.003404
0.218201
1,879
56
80
33.553571
0.850919
0
0
0.4
0
0
0.022885
0
0
0
0
0
0
1
0.133333
false
0.022222
0.088889
0
0.577778
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
c66b6a6a02fe6a64131ae2369f644cb1f071489d
3,710
py
Python
documents/models.py
acdh-oeaw/thunau-old
a3023885470e80f7312e43561028398bffd713e0
[ "MIT" ]
null
null
null
documents/models.py
acdh-oeaw/thunau-old
a3023885470e80f7312e43561028398bffd713e0
[ "MIT" ]
9
2020-02-12T00:19:18.000Z
2021-12-13T19:46:51.000Z
documents/models.py
acdh-oeaw/thunau-old
a3023885470e80f7312e43561028398bffd713e0
[ "MIT" ]
null
null
null
from django.db import models from django.core.urlresolvers import reverse from vocabs.models import SkosConcept from places.models import Place from bib.models import Book class Institution(models.Model): name = models.CharField(max_length=300, blank=True) abbreviation = models.CharField(max_length=300, blank...
43.647059
100
0.726415
440
3,710
5.943182
0.243182
0.110134
0.10325
0.137667
0.534226
0.534226
0.437094
0.394264
0.324665
0.126195
0
0.014442
0.160108
3,710
84
101
44.166667
0.824775
0
0
0.121622
0
0
0.120485
0.013477
0
0
0
0
0
1
0.054054
false
0
0.067568
0.054054
0.648649
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
c66d0cfe5b2f4e6c4c7542c2309d7554f4877445
1,426
py
Python
run.py
Terkea/Shared-Power
dfec4ea459e4d158a6071d9c79814449caa097f0
[ "MIT" ]
3
2019-11-19T11:48:00.000Z
2019-11-21T15:39:30.000Z
run.py
Terkea/Shared-Power
dfec4ea459e4d158a6071d9c79814449caa097f0
[ "MIT" ]
null
null
null
run.py
Terkea/Shared-Power
dfec4ea459e4d158a6071d9c79814449caa097f0
[ "MIT" ]
1
2020-01-14T13:52:52.000Z
2020-01-14T13:52:52.000Z
import threading import app.models import app.view import calendar from datetime import date, datetime from app.models import session from app.models.booking import Booking from app.models.returns import Returns def init_database(): app.models.__init__ def init_gui(): app.view.__init__ def generate_invo...
26.90566
114
0.674614
187
1,426
4.898396
0.374332
0.049127
0.042576
0.039301
0.276201
0.180131
0.157205
0.157205
0.093886
0.093886
0
0.005329
0.210379
1,426
52
115
27.423077
0.808171
0.443198
0
0.230769
0
0
0.010256
0
0
0
0
0
0
1
0.153846
false
0.038462
0.307692
0.038462
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
c674b0fa32e73fe1d0ab53d476b5e86f98d0c2de
1,973
py
Python
src/evaluateData/heart.py
berkott/SciFair
1065481374a2c5ec2bb361444f63276610fc4cee
[ "MIT" ]
2
2019-03-27T02:57:13.000Z
2019-03-30T14:41:16.000Z
src/evaluateData/heart.py
cola1998/SciFair
1065481374a2c5ec2bb361444f63276610fc4cee
[ "MIT" ]
null
null
null
src/evaluateData/heart.py
cola1998/SciFair
1065481374a2c5ec2bb361444f63276610fc4cee
[ "MIT" ]
1
2019-09-10T04:29:41.000Z
2019-09-10T04:29:41.000Z
import heartpy as hp import matplotlib.pyplot as plt from scipy.signal import butter, lfilter from scipy.signal import find_peaks, periodogram import numpy as np import glob class heart: def __init__(self): basePath = "/home/berk/Code/SciFair/src" print(glob.glob(basePath + '/assets/new/FPPG.csv')...
30.828125
101
0.591992
256
1,973
4.496094
0.378906
0.048653
0.031277
0.052129
0.092094
0.055604
0.055604
0
0
0
0
0.042283
0.280791
1,973
64
102
30.828125
0.768851
0.040547
0
0
0
0
0.05291
0.014286
0
0
0
0
0
1
0.125
false
0.083333
0.125
0
0.375
0.0625
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
c67851de6ca99e8ef20fe0f3d5e9d7335d250d2e
2,213
py
Python
accounts/models.py
srijannnd/GetDoc-API
33ba87f0941f7a8e4b83a4fa85ec83a52b57e3d0
[ "MIT" ]
null
null
null
accounts/models.py
srijannnd/GetDoc-API
33ba87f0941f7a8e4b83a4fa85ec83a52b57e3d0
[ "MIT" ]
null
null
null
accounts/models.py
srijannnd/GetDoc-API
33ba87f0941f7a8e4b83a4fa85ec83a52b57e3d0
[ "MIT" ]
null
null
null
from django.db import models from django.contrib.auth.models import AbstractUser from django.contrib.auth.models import PermissionsMixin from django.contrib.auth.base_user import AbstractBaseUser from django.core.mail import send_mail from accounts.managers import UserManager from django.db.models.signals import post_s...
29.905405
75
0.705829
287
2,213
5.268293
0.327526
0.046296
0.059524
0.079365
0.238095
0.18254
0.047619
0
0
0
0
0.008979
0.194758
2,213
73
76
30.315068
0.839506
0.070493
0
0.177778
0
0
0.010569
0
0
0
0
0
0
1
0.155556
false
0.022222
0.177778
0.044444
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
c678d58912f24158589282c32b3c28a5413b041c
626
py
Python
BYSJ_GUI/test.py
LANCEREN/Graduation-Design_CSharp
2ccca84bba43d1b3d4e137358de4b3d88cd36133
[ "MIT" ]
null
null
null
BYSJ_GUI/test.py
LANCEREN/Graduation-Design_CSharp
2ccca84bba43d1b3d4e137358de4b3d88cd36133
[ "MIT" ]
null
null
null
BYSJ_GUI/test.py
LANCEREN/Graduation-Design_CSharp
2ccca84bba43d1b3d4e137358de4b3d88cd36133
[ "MIT" ]
null
null
null
import cv2 import argparse ap = argparse.ArgumentParser(description="python part") input = ap.add_mutually_exclusive_group() input.add_argument("-f","--file",type=str,help="input file path",default="default") input.add_argument("--folder",type=str,help="input folder path",default="default") arg = ap.parse_args() file...
24.076923
83
0.72524
84
626
5.321429
0.511905
0.035794
0.071588
0.071588
0
0
0
0
0
0
0
0.017699
0.097444
626
25
84
25.04
0.773451
0.204473
0
0
0
0
0.204868
0
0
0
0
0
0
1
0
false
0.0625
0.125
0
0.125
0.1875
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
c686af45bb93469002e948aa4ca4534c5073c6e8
6,096
py
Python
turq/editor.py
XiaoboHe/turq
7b902e1ae3c280e2a3ca33e27856098115cb07c4
[ "ISC" ]
45
2015-04-14T10:37:49.000Z
2021-04-14T09:21:12.000Z
turq/editor.py
XiaoboHe/turq
7b902e1ae3c280e2a3ca33e27856098115cb07c4
[ "ISC" ]
6
2015-04-26T19:31:12.000Z
2018-05-02T19:35:25.000Z
turq/editor.py
XiaoboHe/turq
7b902e1ae3c280e2a3ca33e27856098115cb07c4
[ "ISC" ]
14
2015-03-01T13:00:02.000Z
2021-04-14T09:21:17.000Z
# pylint: disable=unused-argument import base64 import hashlib import html import mimetypes import os import pkgutil import posixpath import socket import socketserver import string import threading import wsgiref.simple_server import falcon import werkzeug.formparser import turq.examples from turq.util.http import ...
33.679558
79
0.632546
745
6,096
5.044295
0.393289
0.021288
0.018627
0.012773
0.0471
0.021554
0.014369
0
0
0
0
0.007348
0.263287
6,096
180
80
33.866667
0.829437
0.178806
0
0.130081
0
0
0.068232
0.004415
0
0
0
0
0
1
0.113821
false
0.105691
0.130081
0.01626
0.406504
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
c68dfe46686f4ca1307996112de4559ba1029322
328
py
Python
projects/code_combat/7_Sarven_Desert/311-Bait_and_Switch/bait_and_switch.py
only-romano/junkyard
b60a25b2643f429cdafee438d20f9966178d6f36
[ "MIT" ]
null
null
null
projects/code_combat/7_Sarven_Desert/311-Bait_and_Switch/bait_and_switch.py
only-romano/junkyard
b60a25b2643f429cdafee438d20f9966178d6f36
[ "MIT" ]
null
null
null
projects/code_combat/7_Sarven_Desert/311-Bait_and_Switch/bait_and_switch.py
only-romano/junkyard
b60a25b2643f429cdafee438d20f9966178d6f36
[ "MIT" ]
null
null
null
def collectUntil(enoughGold): while hero.gold < enoughGold: item = hero.findNearestItem() if item: hero.moveXY(item.pos.x, item.pos.y) collectUntil(25) hero.buildXY("decoy", 40, 52) hero.moveXY(20, 52) collectUntil(50) hero.buildXY("decoy", 68, 22) hero.buildXY("decoy", 3...
21.866667
48
0.625
43
328
4.767442
0.534884
0.160976
0.234146
0
0
0
0
0
0
0
0
0.079051
0.228659
328
14
49
23.428571
0.731225
0
0
0
0
0
0.047771
0
0
0
0
0
0
1
0.090909
false
0
0
0
0.090909
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
c690331a04ea16a2600ee89d8b233bec8c196d2c
2,159
py
Python
pubdisk/forms.py
zhazh/Pubdisk
17527a6be409e0fcff302aafe9b67f99fe423dbf
[ "MIT" ]
1
2020-05-10T12:15:04.000Z
2020-05-10T12:15:04.000Z
pubdisk/forms.py
zhazh/Pubdisk
17527a6be409e0fcff302aafe9b67f99fe423dbf
[ "MIT" ]
null
null
null
pubdisk/forms.py
zhazh/Pubdisk
17527a6be409e0fcff302aafe9b67f99fe423dbf
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ :author: Zhazh :copyright: © 2020 Zhazh <zhazh1985@163.com> :license: MIT, see LICENSE for more details. """ from flask_wtf import FlaskForm from wtforms import (StringField, PasswordField, BooleanField, SelectField, SelectMultipleField, RadioField, IntegerField, FloatField...
36.59322
109
0.671607
228
2,159
6.289474
0.47807
0.038354
0.080893
0.050209
0.161785
0.090656
0.090656
0
0
0
0
0.018235
0.212598
2,159
58
110
37.224138
0.824706
0.058824
0
0.181818
0
0
0.164194
0
0
0
0
0
0
1
0.022727
false
0.204545
0.136364
0
0.431818
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
c6940d87036792a181d13dd485fb09e5ac62762a
1,760
py
Python
chad_finance/api/forms.py
StfnC/chad-finance
76b75a84fefab9af37acd422430d7ac6f986be53
[ "MIT" ]
null
null
null
chad_finance/api/forms.py
StfnC/chad-finance
76b75a84fefab9af37acd422430d7ac6f986be53
[ "MIT" ]
null
null
null
chad_finance/api/forms.py
StfnC/chad-finance
76b75a84fefab9af37acd422430d7ac6f986be53
[ "MIT" ]
1
2021-09-25T02:46:47.000Z
2021-09-25T02:46:47.000Z
from django import forms from django.contrib.auth import password_validation from django.contrib.auth.forms import UserCreationForm, UserChangeForm from django.contrib.auth.forms import ReadOnlyPasswordHashField from .models import UserAccount class UserAccountCreationForm(UserCreationForm): """ Formulaire po...
27.076923
76
0.654545
184
1,760
6.173913
0.434783
0.035211
0.035211
0.055458
0.193662
0.193662
0.073944
0.073944
0
0
0
0.009992
0.260795
1,760
64
77
27.5
0.863182
0.078409
0
0.142857
0
0
0.116352
0
0
0
0
0
0
1
0.071429
false
0.5
0.119048
0.02381
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
1
0
0
0
0
0
1
c6989fa6461f64fb9b6c17fe5c8e84639cda5378
847
py
Python
goto/commands/add.py
technocake/goto
3bd2997ccd7ef4ee9bcf4f9b72b1e13f11738faf
[ "MIT" ]
10
2017-11-05T16:12:08.000Z
2021-10-05T08:18:12.000Z
goto/commands/add.py
technocake/goto
3bd2997ccd7ef4ee9bcf4f9b72b1e13f11738faf
[ "MIT" ]
81
2017-11-05T20:22:27.000Z
2021-11-12T12:40:50.000Z
goto/commands/add.py
technocake/goto
3bd2997ccd7ef4ee9bcf4f9b72b1e13f11738faf
[ "MIT" ]
3
2017-12-14T18:20:52.000Z
2019-05-24T09:37:56.000Z
# coding: utf-8 from __future__ import unicode_literals from ..gotomagic.text import GotoError, GotoWarning def help(): return "{0:10}{1:30}{2}".format('add','<magicword> <url or path>','Add shortcut') def names(): return ['add','--add'] def run(magic, command, args, options): """ Add magicword ...
22.289474
85
0.567887
102
847
4.617647
0.421569
0.084926
0.038217
0.118896
0.076433
0
0
0
0
0
0
0.021559
0.288076
847
37
86
22.891892
0.759536
0.033058
0
0.181818
0
0
0.154421
0.031133
0
0
0
0
0
1
0.136364
false
0
0.090909
0.090909
0.545455
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
c69aa930dac1ea4479d2463c05160b203c2884c4
434
py
Python
custom_rclone_webui/webui/templatetags/list_tags.py
huenique/custom-rclone-webui
555d4997b5227efb2d9605b9753725a62136e2c6
[ "MIT" ]
1
2021-03-03T15:09:03.000Z
2021-03-03T15:09:03.000Z
custom_rclone_webui/webui/templatetags/list_tags.py
huenique/custom-rclone-webui
555d4997b5227efb2d9605b9753725a62136e2c6
[ "MIT" ]
null
null
null
custom_rclone_webui/webui/templatetags/list_tags.py
huenique/custom-rclone-webui
555d4997b5227efb2d9605b9753725a62136e2c6
[ "MIT" ]
null
null
null
from django import template register = template.Library() @register.filter def next(some_list, current_index): """ Returns the next element of the list using the current index if it exists. Otherwise returns an empty string. https://docs.djangoproject.com/en/3.0/howto/custom-template-tags/#writing-c...
24.111111
101
0.700461
59
434
5.084746
0.728814
0.12
0
0
0
0
0
0
0
0
0
0.008671
0.202765
434
17
102
25.529412
0.858382
0.479263
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0.125
0.125
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
c69c7785fe062463a403ad6498d82c130c4d2ce8
3,988
py
Python
codes/sumoAPI/signalControl.BAK.py
cbrafter/TRB18_GPSVA
93ae6057ad4e57512ff36e2e1596543e5ad65ffb
[ "MIT" ]
1
2020-04-09T17:09:45.000Z
2020-04-09T17:09:45.000Z
codes/sumoAPI/signalControl.BAK.py
cbrafter/TRB18_GPSVA
93ae6057ad4e57512ff36e2e1596543e5ad65ffb
[ "MIT" ]
null
null
null
codes/sumoAPI/signalControl.BAK.py
cbrafter/TRB18_GPSVA
93ae6057ad4e57512ff36e2e1596543e5ad65ffb
[ "MIT" ]
null
null
null
#!/usr/bin/env python """ @file signalControl.py @author Simon Box @date 31/01/2013 Parent class for signal control algorithms """ import subprocess, sys, os, platform, time from threading import Thread #Test to see if we're running on linux or windows if platform.system() == 'Linux': sys.path.append('/us...
35.607143
130
0.57322
367
3,988
6.19346
0.386921
0.013198
0.017158
0.015838
0.177739
0.095908
0.044875
0.028157
0
0
0
0.008962
0.328485
3,988
112
131
35.607143
0.839806
0.017051
0
0.175
0
0
0.091794
0.005523
0
0
0
0
0
0
null
null
0.025
0.0625
null
null
0.05
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
c69eeeab4aabfa671d9a83401a4ad4af89c45f35
7,343
py
Python
direct/fsm/StatePush.py
theclashingfritz/Cog-Invasion-Online-Dump
2561abbacb3e2e288e06f3f04b935b5ed589c8f8
[ "Apache-2.0" ]
1
2020-03-12T16:44:10.000Z
2020-03-12T16:44:10.000Z
direct/fsm/StatePush.py
theclashingfritz/Cog-Invasion-Online-Dump
2561abbacb3e2e288e06f3f04b935b5ed589c8f8
[ "Apache-2.0" ]
null
null
null
direct/fsm/StatePush.py
theclashingfritz/Cog-Invasion-Online-Dump
2561abbacb3e2e288e06f3f04b935b5ed589c8f8
[ "Apache-2.0" ]
null
null
null
# uncompyle6 version 3.2.4 # Python bytecode 2.7 (62211) # Decompiled from: Python 2.7.15 (v2.7.15:ca079a3ea3, Apr 30 2018, 16:30:26) [MSC v.1500 64 bit (AMD64)] # Embedded file name: direct.fsm.StatePush __all__ = [ 'StateVar', 'FunctionCall', 'EnterExit', 'Pulse', 'EventPulse', 'EventArgument'] from direct.showbase...
27.814394
104
0.645921
700
7,343
6.468571
0.17
0.046378
0.024293
0.015018
0.229682
0.036661
0.017668
0.017668
0
0
0
0.010719
0.263108
7,343
264
105
27.814394
0.826095
0.026692
0
0.336788
0
0
0.0147
0
0
0
0
0
0
1
0.222798
false
0.010363
0.005181
0.015544
0.326425
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
c6ab80e6b6a2c8e773d571bfea05e4155df01988
533
py
Python
scripts/start_ftrack_with_s3.py
hdd/ftrack-s3-accessor
6d08710403314923bc02f3296e39a7319a289f8b
[ "Apache-2.0" ]
6
2020-07-14T01:33:37.000Z
2022-03-31T02:56:56.000Z
scripts/start_ftrack_with_s3.py
hdd/ftrack-s3-accessor
6d08710403314923bc02f3296e39a7319a289f8b
[ "Apache-2.0" ]
1
2021-02-09T05:04:45.000Z
2022-03-03T09:08:19.000Z
scripts/start_ftrack_with_s3.py
hdd/ftrack-s3-accessor
6d08710403314923bc02f3296e39a7319a289f8b
[ "Apache-2.0" ]
5
2021-07-23T06:25:16.000Z
2022-02-25T09:26:14.000Z
import ftrack_api.structure.id import sys import os import logging ''' Starts ftrack using a plugin which registers a location ''' logging.basicConfig() plugin_logger = logging.getLogger() plugin_logger.setLevel(logging.INFO) root_dir = os.path.abspath(os.path.join(os.path.dirname(__file__), os.pardir)) sys.path.app...
25.380952
84
0.793621
81
533
4.975309
0.493827
0.074442
0.074442
0.069479
0.084367
0
0
0
0
0
0
0.002045
0.082552
533
20
85
26.65
0.822086
0
0
0
0
0
0.053191
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
c6acf726374043d2d9a7d18e7e23824c6ac7e44e
1,022
py
Python
Q11__/46_Snapshot_Array/test.py
hsclinical/leetcode
48a57f6a5d5745199c5685cd2c8f5c4fa293e54a
[ "Apache-2.0" ]
null
null
null
Q11__/46_Snapshot_Array/test.py
hsclinical/leetcode
48a57f6a5d5745199c5685cd2c8f5c4fa293e54a
[ "Apache-2.0" ]
null
null
null
Q11__/46_Snapshot_Array/test.py
hsclinical/leetcode
48a57f6a5d5745199c5685cd2c8f5c4fa293e54a
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python ''' ["SnapshotArray","snap","snap","get","set","snap","set"] [[4],[],[],[3,1],[2,4],[],[1,4]] ''' from Solution import SnapshotArray ''' obj = SnapshotArray(4) obj.snap() obj.snap() print(obj.get(3, 1)) obj.set(2, 4) obj.snap() obj.set(1, 4) # obj = SnapshotArray(2) obj.snap() print(obj.get(1, 0)) p...
16.754098
93
0.571429
203
1,022
2.876847
0.133005
0.15411
0.143836
0.164384
0.383562
0.25
0.222603
0.190068
0
0
0
0.101842
0.096869
1,022
60
94
17.033333
0.530878
0.264188
0
0.428571
0
0
0
0
0
0
0
0
0
1
0
false
0
0.071429
0
0.071429
0.285714
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
c6af2d5001760667e14f6357b2a83c630dffc7f0
1,893
py
Python
tests/unit2/test_opengl_types.py
LiorAvrahami/arcade
fce254a9eb89629de1f99d57a63759a2953184e9
[ "MIT" ]
1
2021-03-04T14:02:29.000Z
2021-03-04T14:02:29.000Z
tests/unit2/test_opengl_types.py
LiorAvrahami/arcade
fce254a9eb89629de1f99d57a63759a2953184e9
[ "MIT" ]
1
2019-08-11T18:47:27.000Z
2019-08-12T03:02:11.000Z
tests/unit2/test_opengl_types.py
LiorAvrahami/arcade
fce254a9eb89629de1f99d57a63759a2953184e9
[ "MIT" ]
null
null
null
import pytest import arcade from pyglet import gl from arcade.gl import types, ShaderException SCREEN_WIDTH = 800 SCREEN_HEIGHT = 600 @pytest.fixture(scope="module") def ctx(): window = arcade.Window(SCREEN_WIDTH, SCREEN_HEIGHT, "Test OpenGL") yield window.ctx window.use() window.close() def test_a...
30.532258
103
0.680401
247
1,893
5.11336
0.352227
0.057007
0.088678
0.147268
0.29137
0.261283
0.261283
0.261283
0.261283
0.167854
0
0.028387
0.181194
1,893
61
104
31.032787
0.786452
0.153724
0
0.097561
0
0
0.094612
0
0
0
0
0.016393
0.195122
1
0.121951
false
0
0.097561
0
0.219512
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
c6b4e7ba3ea1d2dda9f9df213f3d4edbfd889724
202
py
Python
src/base/urls.py
LunchWith/app1
1d56583c48d93639b42bac004a53a312a6ef8d3a
[ "MIT" ]
null
null
null
src/base/urls.py
LunchWith/app1
1d56583c48d93639b42bac004a53a312a6ef8d3a
[ "MIT" ]
null
null
null
src/base/urls.py
LunchWith/app1
1d56583c48d93639b42bac004a53a312a6ef8d3a
[ "MIT" ]
null
null
null
from django.conf.urls import url from base import views as base_views app_name = 'base' urlpatterns = [ url(r'', base_views.ProtectedDataView.as_view(), name='protected_data'), ]
16.833333
47
0.678218
27
202
4.888889
0.62963
0.136364
0
0
0
0
0
0
0
0
0
0
0.212871
202
11
48
18.363636
0.830189
0
0
0
0
0
0.089109
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
c6bcc7d9bf22c53992222189e2f545af00c1a11b
3,256
py
Python
namePlotter.py
partofthething/nameAnalysis
a3081803fbef62743300cfc55667dd7d6e5c0cd5
[ "MIT" ]
null
null
null
namePlotter.py
partofthething/nameAnalysis
a3081803fbef62743300cfc55667dd7d6e5c0cd5
[ "MIT" ]
null
null
null
namePlotter.py
partofthething/nameAnalysis
a3081803fbef62743300cfc55667dd7d6e5c0cd5
[ "MIT" ]
null
null
null
""" Scans text for first names and prints out most common ones as document goes on Useful for analyzing journals or whatever. """ # controls NUM_FILE_SEGMENTS = 25 NUM_TOP_NAMES = 8 # consts FEMALE = 0 MALE = 1 EITHER = 2 def read_names(filename): """ read potential first names from data library Get n...
26.909091
96
0.598894
439
3,256
4.316629
0.362187
0.018997
0.018997
0.016887
0.041161
0
0
0
0
0
0
0.01129
0.29269
3,256
120
97
27.133333
0.81155
0.024263
0
0.029851
0
0
0.029373
0
0
0
0
0
0
0
null
null
0
0
null
null
0.014925
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
c6bd79fbe50ff034a8b582a0b1fc202a8d2614dc
1,654
py
Python
src/consumer/data-exchange/swagger_server/services/service.py
CADDE-sip/connector
233b63df334dea67c05d379e925ebb7cc15f4b4d
[ "MIT" ]
1
2022-03-29T05:44:47.000Z
2022-03-29T05:44:47.000Z
src/consumer/data-exchange/swagger_server/services/service.py
CADDE-sip/connector
233b63df334dea67c05d379e925ebb7cc15f4b4d
[ "MIT" ]
null
null
null
src/consumer/data-exchange/swagger_server/services/service.py
CADDE-sip/connector
233b63df334dea67c05d379e925ebb7cc15f4b4d
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from flask import Response from swagger_server.utilities.cadde_exception import CaddeException from swagger_server.utilities.external_interface import ExternalInterface __HTTP_STATUS_CODE_SUCCESS_LOWER_LIMIT = 200 __HTTP_STATUS_CODE_SUCCESS_UPPER_LIMIT = 299 def data_exchange( resou...
30.62963
134
0.704353
169
1,654
6.532544
0.408284
0.072464
0.050725
0.076087
0.112319
0.112319
0
0
0
0
0
0.01811
0.232164
1,654
53
135
31.207547
0.850394
0.012696
0
0
0
0
0.070285
0.022242
0
0
0
0
0
0
null
null
0
0.115385
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
c6bf643cbaecf61c643f0d22b5c5d1e5734540a9
1,940
py
Python
ckan/tests/config/test_middleware.py
jbrown-xentity/ckan
ecd9ac6bc6cfb5bb4fcbec82c431f4564ef649ed
[ "BSD-3-Clause" ]
2,805
2015-01-02T18:13:15.000Z
2022-03-31T03:35:01.000Z
ckan/tests/config/test_middleware.py
jbrown-xentity/ckan
ecd9ac6bc6cfb5bb4fcbec82c431f4564ef649ed
[ "BSD-3-Clause" ]
3,801
2015-01-02T11:05:36.000Z
2022-03-31T19:24:37.000Z
ckan/tests/config/test_middleware.py
jbrown-xentity/ckan
ecd9ac6bc6cfb5bb4fcbec82c431f4564ef649ed
[ "BSD-3-Clause" ]
1,689
2015-01-02T19:46:43.000Z
2022-03-28T14:59:43.000Z
# encoding: utf-8 import pytest import six from flask import Blueprint import ckan.plugins as p from ckan.common import config, _ class MockRoutingPlugin(p.SingletonPlugin): p.implements(p.IBlueprint) def get_blueprint(self): # Create Blueprint for plugin blueprint = Blueprint(self.name, s...
24.871795
79
0.713402
282
1,940
4.620567
0.326241
0.037606
0.049885
0.061397
0.315426
0.191865
0.156562
0.145817
0.055257
0
0
0.002533
0.186082
1,940
77
80
25.194805
0.822673
0.078351
0
0.085106
0
0
0.190129
0.023556
0
0
0
0.012987
0.085106
1
0.191489
false
0
0.106383
0.06383
0.425532
0.148936
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
c6c0b800f56bbf42de8572a269aa6013151a9d38
1,494
py
Python
pickle_model_1.py
pratibha-bothra/Sentiment-analysis-with-Insights
a17b2d89196111b79557b807348a4c6833f544ed
[ "MIT" ]
null
null
null
pickle_model_1.py
pratibha-bothra/Sentiment-analysis-with-Insights
a17b2d89196111b79557b807348a4c6833f544ed
[ "MIT" ]
null
null
null
pickle_model_1.py
pratibha-bothra/Sentiment-analysis-with-Insights
a17b2d89196111b79557b807348a4c6833f544ed
[ "MIT" ]
null
null
null
import pandas as pd df = pd.read_csv(r'balanced_reviews.csv') df.isnull().any(axis = 0) #handle the missing data df.dropna(inplace = True) #leaving the reviews with rating 3 and collect reviews with #rating 1, 2, 4 and 5 onyl df = df [df['overall'] != 3] import numpy as np #creating a label...
21.042254
132
0.732262
201
1,494
5.278607
0.437811
0.051838
0.032045
0.04524
0
0
0
0
0
0
0
0.010467
0.168675
1,494
70
133
21.342857
0.8438
0.196118
0
0
0
0
0.085791
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
c6c669fecdef69d07d4ef76b2a1eddc228f20767
862
py
Python
python/267.py
kylekanos/project-euler-1
af7089356a4cea90f8ef331cfdc65e696def6140
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
python/267.py
kylekanos/project-euler-1
af7089356a4cea90f8ef331cfdc65e696def6140
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
python/267.py
kylekanos/project-euler-1
af7089356a4cea90f8ef331cfdc65e696def6140
[ "BSD-2-Clause-FreeBSD" ]
1
2019-09-17T00:55:58.000Z
2019-09-17T00:55:58.000Z
#!/usr/bin/env python try: from gmpy import mpq # much, much faster than Fraction myfrac = mpq except ImportError: # use slow python fractions if gmpy not installed from fractions import Fraction myfrac = Fraction # Winning w times gives winnings of (1+2f)^w * (1-f)^(1000-w). # There are c(1000,w) ways...
30.785714
88
0.663573
168
862
3.404762
0.5
0.013986
0.027972
0.031469
0.052448
0.052448
0.052448
0
0
0
0
0.087019
0.186775
862
27
89
31.925926
0.728959
0.468677
0
0.117647
0
0
0
0
0
0
0
0
0
0
null
null
0
0.176471
null
null
0.058824
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
c6cb98fe6aa42310090167796c971856d3dc177f
4,957
py
Python
src/main/python/apache/aurora/client/cli/update.py
Yasumoto/incubator-aurora
53e5cd2d03219db56758b1745149b30d4359c4c1
[ "Apache-2.0" ]
null
null
null
src/main/python/apache/aurora/client/cli/update.py
Yasumoto/incubator-aurora
53e5cd2d03219db56758b1745149b30d4359c4c1
[ "Apache-2.0" ]
null
null
null
src/main/python/apache/aurora/client/cli/update.py
Yasumoto/incubator-aurora
53e5cd2d03219db56758b1745149b30d4359c4c1
[ "Apache-2.0" ]
null
null
null
# # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under ...
30.598765
96
0.725439
672
4,957
5.193452
0.275298
0.040115
0.048138
0.027221
0.440974
0.359312
0.326075
0.326075
0.326075
0.326075
0
0.000998
0.191648
4,957
161
97
30.78882
0.869978
0.117813
0
0.384615
0
0
0.269849
0
0
0
0
0.006211
0
1
0.17094
false
0
0.042735
0.128205
0.418803
0.042735
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
c6cc3f78efe48da7695d51b67d738cd312411dbc
925
py
Python
setup.py
AntoninRousset/ModuleInterface
794ce65bed92d123d1e734cd6b0ada29b9889ab9
[ "Apache-2.0" ]
null
null
null
setup.py
AntoninRousset/ModuleInterface
794ce65bed92d123d1e734cd6b0ada29b9889ab9
[ "Apache-2.0" ]
null
null
null
setup.py
AntoninRousset/ModuleInterface
794ce65bed92d123d1e734cd6b0ada29b9889ab9
[ "Apache-2.0" ]
null
null
null
from distutils.core import Extension, setup from Cython.Build import cythonize setup( ext_modules = cythonize(Extension( 'moduleinterface.master', sources = ['moduleinterface/_master_cython.pyx'], language = 'c++', include_dirs = [ 'libraries/Modu...
30.833333
64
0.521081
74
925
6.310811
0.472973
0.12848
0.06424
0.102784
0
0
0
0
0
0
0
0.005085
0.362162
925
29
65
31.896552
0.786441
0
0
0
0
0
0.256506
0.20632
0
0
0
0
0
1
0
true
0
0.125
0
0.125
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
c6d523d5049a57ad0fdd2b98534f6946b97cc27f
1,906
py
Python
training/HMM_test.py
tzmhuang/HMM_lc_prediction
68c4a7c0d1804f847a4bc5c2cf4fec2e6684535a
[ "Apache-2.0" ]
null
null
null
training/HMM_test.py
tzmhuang/HMM_lc_prediction
68c4a7c0d1804f847a4bc5c2cf4fec2e6684535a
[ "Apache-2.0" ]
1
2022-03-07T12:59:14.000Z
2022-03-07T12:59:14.000Z
training/HMM_test.py
tzmhuang/HMM_lc_prediction
68c4a7c0d1804f847a4bc5c2cf4fec2e6684535a
[ "Apache-2.0" ]
null
null
null
import numpy as np from HiddenMarkovModel import HiddenMarkovModel print("**********Test Tnitialization **********") # states = {0: 'sunny', 1: 'rain', 2: 'cloudy'} states = {0: 'default', 1: 'other'} hmm = HiddenMarkovModel(states, method='gmm', data_dim=2, gmm_k=1) print(hmm) print("**********Test Emission Porbabil...
27.623188
86
0.573977
284
1,906
3.771127
0.28169
0.029879
0.028011
0.026144
0.055089
0.03268
0.020542
0.020542
0
0
0
0.063473
0.12382
1,906
68
87
28.029412
0.577844
0.153725
0
0
0
0
0.328767
0.022416
0
0
0
0
0
1
0
false
0.044444
0.044444
0
0.044444
0.6
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
c6e1bd1f7566c1c077cf18f5e4bccc1739e06006
2,390
py
Python
text-vision-translation/translation/data_format.py
bitadept/text-vision-translation
923d487118d8ead17d5501b4e346e21893e135a5
[ "MIT" ]
null
null
null
text-vision-translation/translation/data_format.py
bitadept/text-vision-translation
923d487118d8ead17d5501b4e346e21893e135a5
[ "MIT" ]
null
null
null
text-vision-translation/translation/data_format.py
bitadept/text-vision-translation
923d487118d8ead17d5501b4e346e21893e135a5
[ "MIT" ]
null
null
null
# This script is used to format multiple en-ro translation datasets into the following format: # {english sequence}{TAB character}{romanian sequence} # \\\\\\\\\\\\\\\\\\\\\\\\\\\\\ # corpus # \\\\\\\\\\\\\\\\\\\\\\\\\\\\\ # import xml.etree.ElementTree as ET # # DATASET_CORPUS = "S:\\datasets\\eng-ron_corp...
30.641026
94
0.569456
310
2,390
4.203226
0.3
0.059094
0.064467
0.075211
0.326938
0.223331
0.19033
0.19033
0.19033
0.19033
0
0.007176
0.183682
2,390
77
95
31.038961
0.660687
0.835146
0
0
0
0
0.283133
0.090361
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c6e20b9f5aaa403c673459eac33bfd9624336b3b
2,004
py
Python
backend/apps/accounts/migrations/0002_auto_20200206_1207.py
MgArreaza13/wonderhumans
865b65e4afa1ac32976a8c53959a7c58543dbe60
[ "MIT" ]
null
null
null
backend/apps/accounts/migrations/0002_auto_20200206_1207.py
MgArreaza13/wonderhumans
865b65e4afa1ac32976a8c53959a7c58543dbe60
[ "MIT" ]
null
null
null
backend/apps/accounts/migrations/0002_auto_20200206_1207.py
MgArreaza13/wonderhumans
865b65e4afa1ac32976a8c53959a7c58543dbe60
[ "MIT" ]
null
null
null
# Generated by Django 2.0.1 on 2020-02-06 16:07 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('accounts', '0001_initial...
47.714286
132
0.608782
217
2,004
5.502304
0.387097
0.082915
0.100503
0.150754
0.315745
0.315745
0.247906
0.110553
0.110553
0
0
0.031641
0.243014
2,004
41
133
48.878049
0.755438
0.022455
0
0.057143
1
0
0.097598
0
0
0
0
0
0
1
0
false
0
0.085714
0
0.171429
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
c6e7724be029d17ad47cbe91efd6286bfb66389a
312
py
Python
extreme_feedback_tts/build_status_enum.py
pavelhromada/extreme-feedback-tts
3718ad861d4a6872d3dc46a3c047e3c57e5f603b
[ "Unlicense" ]
null
null
null
extreme_feedback_tts/build_status_enum.py
pavelhromada/extreme-feedback-tts
3718ad861d4a6872d3dc46a3c047e3c57e5f603b
[ "Unlicense" ]
null
null
null
extreme_feedback_tts/build_status_enum.py
pavelhromada/extreme-feedback-tts
3718ad861d4a6872d3dc46a3c047e3c57e5f603b
[ "Unlicense" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- from enum import Enum class BuildStatus( Enum ): Success = 1 Failed = 2 Running = 3 Unavailable = 4 @classmethod def has_value( cls, value ): return any( BuildStatus( value ) == BuildStatus( e.value ) for e in cls )
19.5
81
0.580128
39
312
4.615385
0.769231
0
0
0
0
0
0
0
0
0
0
0.027778
0.307692
312
15
82
20.8
0.805556
0.137821
0
0
0
0
0
0
0
0
0
0
0
1
0.111111
false
0
0.111111
0.111111
0.888889
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
c6eb50885296dc10d73a5cbb0302e64861928814
376
py
Python
main/migrations/0005_rename_video_pricipal_main_video_principal.py
Aimene-BAHRI/ghanaiem_agency
a0c33e9d4a4b5c11f97921054fceef6c5b5cc258
[ "MIT" ]
null
null
null
main/migrations/0005_rename_video_pricipal_main_video_principal.py
Aimene-BAHRI/ghanaiem_agency
a0c33e9d4a4b5c11f97921054fceef6c5b5cc258
[ "MIT" ]
null
null
null
main/migrations/0005_rename_video_pricipal_main_video_principal.py
Aimene-BAHRI/ghanaiem_agency
a0c33e9d4a4b5c11f97921054fceef6c5b5cc258
[ "MIT" ]
null
null
null
# Generated by Django 3.2.9 on 2021-12-16 21:03 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('main', '0004_main_video_pricipal'), ] operations = [ migrations.RenameField( model_name='main', old_name='video_pricipal', ...
19.789474
47
0.598404
41
376
5.292683
0.731707
0.119816
0
0
0
0
0
0
0
0
0
0.071429
0.292553
376
18
48
20.888889
0.744361
0.119681
0
0
1
0
0.18541
0.072948
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
c6eeaa1b441268d6052d3fc932285f00ed3dc865
1,516
py
Python
service1/application/routes.py
Ashley-Edge/DnD_character_generator
7804b2cbc9def9fad8993ba8af0ae4c94da01c01
[ "MIT" ]
1
2021-04-21T10:59:45.000Z
2021-04-21T10:59:45.000Z
service1/application/routes.py
Ashley-Edge/DnD_character_generator
7804b2cbc9def9fad8993ba8af0ae4c94da01c01
[ "MIT" ]
null
null
null
service1/application/routes.py
Ashley-Edge/DnD_character_generator
7804b2cbc9def9fad8993ba8af0ae4c94da01c01
[ "MIT" ]
1
2021-04-21T10:59:48.000Z
2021-04-21T10:59:48.000Z
#!/usr/bin/python3 # Routes.py file ##### Imports ##### from flask import Flask, render_template, request import requests, random from application import app, db from application.models import Character from sqlalchemy import desc ##### Routes ##### @app.route('/', methods=['GET','POST']) def ...
48.903226
192
0.75
188
1,516
5.81383
0.340426
0.118939
0.115279
0.084172
0.591034
0.574565
0.508692
0.437328
0.354986
0.354986
0
0.021723
0.119393
1,516
31
192
48.903226
0.797004
0.281003
0
0
0
0
0.119361
0
0
0
0
0
0
1
0.066667
false
0
0.333333
0
0.466667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
c6f18bdf4b713ada308cf37db85961df9bca52d0
1,145
py
Python
assopy/tests/factories/order.py
zevaverbach/epcon
8352c030ee0d4197f559cdb58a54ee45c7a4471a
[ "BSD-2-Clause" ]
null
null
null
assopy/tests/factories/order.py
zevaverbach/epcon
8352c030ee0d4197f559cdb58a54ee45c7a4471a
[ "BSD-2-Clause" ]
null
null
null
assopy/tests/factories/order.py
zevaverbach/epcon
8352c030ee0d4197f559cdb58a54ee45c7a4471a
[ "BSD-2-Clause" ]
null
null
null
from datetime import timedelta import uuid import factory from django.utils import timezone from assopy.tests.factories.user import AssopyUserFactory import conference.models class CreditCardOrderFactory(factory.django.DjangoModelFactory): class Meta: model = 'assopy.Order' user = factory.SubFacto...
27.261905
93
0.68821
125
1,145
6.256
0.536
0.061381
0.099744
0.092072
0.255754
0.255754
0.255754
0
0
0
0
0.004435
0.212227
1,145
41
94
27.926829
0.862528
0.029694
0
0.068966
0
0
0.027051
0
0
0
0
0
0
1
0.034483
false
0
0.206897
0
0.689655
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
c6fd050ec32d45fa8d7dadd0ce168a7b459f3e79
1,137
py
Python
insights/core/hydration.py
mglantz/insights-core
6f20bbbe03f53ee786f483b2a28d256ff1ad0fd4
[ "Apache-2.0" ]
1
2020-02-19T06:36:22.000Z
2020-02-19T06:36:22.000Z
insights/core/hydration.py
mglantz/insights-core
6f20bbbe03f53ee786f483b2a28d256ff1ad0fd4
[ "Apache-2.0" ]
null
null
null
insights/core/hydration.py
mglantz/insights-core
6f20bbbe03f53ee786f483b2a28d256ff1ad0fd4
[ "Apache-2.0" ]
null
null
null
import logging import os from insights.core import archives from insights.core.archives import COMPRESSION_TYPES from insights.core.context import ClusterArchiveContext, JDRContext, HostArchiveContext, SosArchiveContext log = logging.getLogger(__name__) def get_all_files(path): all_files = [] for f in archi...
29.153846
106
0.725594
149
1,137
5.328859
0.315436
0.110831
0.060453
0.056675
0.062972
0
0
0
0
0
0
0
0.202287
1,137
38
107
29.921053
0.875413
0
0
0.071429
0
0
0.034301
0
0
0
0
0
0
1
0.107143
false
0
0.178571
0
0.535714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1