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
bb9bcf5eff544727ee4ace2da3cbbe4917652dab
149
py
Python
pico/ch_18_blink.py
simonmonk/raspberrypi_cookbook_ed4
dc320dfae4252f70c812af1dd7739d13d09615c1
[ "MIT" ]
7
2022-03-19T18:53:39.000Z
2022-03-22T13:41:30.000Z
pico/ch_18_blink.py
simonmonk/raspberrypi_cookbook_ed4
dc320dfae4252f70c812af1dd7739d13d09615c1
[ "MIT" ]
null
null
null
pico/ch_18_blink.py
simonmonk/raspberrypi_cookbook_ed4
dc320dfae4252f70c812af1dd7739d13d09615c1
[ "MIT" ]
null
null
null
from machine import Pin from utime import sleep led = Pin(25, Pin.OUT) while True: led.on() sleep(0.5) # pause led.off() sleep(0.5)
14.9
23
0.624161
26
149
3.576923
0.615385
0.129032
0.150538
0
0
0
0
0
0
0
0
0.053571
0.248322
149
10
24
14.9
0.776786
0.033557
0
0.25
0
0
0
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
bba90e7ebd61c9709d2331c4d7a7a836bbbcb113
4,403
py
Python
plugins/sitemap/sitemap.py
johnhellion/idle.cafe
1f0426b0df636ca7e0b769ed7f9e77e74088612e
[ "CC0-1.0" ]
null
null
null
plugins/sitemap/sitemap.py
johnhellion/idle.cafe
1f0426b0df636ca7e0b769ed7f9e77e74088612e
[ "CC0-1.0" ]
null
null
null
plugins/sitemap/sitemap.py
johnhellion/idle.cafe
1f0426b0df636ca7e0b769ed7f9e77e74088612e
[ "CC0-1.0" ]
null
null
null
import os import urllib.parse from pelican import signals, contents # Generate an XML sitemap for the blog # The XML sitemap is NOT manually sent to Google but it is publicaly # available # The output filename FILENAME = 'sitemap.xml' # Table for change frequencies # These are default values that can be overriden i...
27.867089
79
0.652055
527
4,403
5.333966
0.311195
0.060477
0.032729
0.022412
0.134472
0.118819
0.096051
0.083956
0.083956
0.049804
0
0.002139
0.256643
4,403
157
80
28.044586
0.856706
0.272087
0
0.048193
1
0
0.150836
0.035973
0
0
0
0
0
1
0.084337
false
0
0.036145
0.012048
0.253012
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
bba9c56fc14cf3415e83cda000eae75a9c836412
4,314
py
Python
TelemetryViewer/RPMroot.py
UBCO-Motorsports/WirelessTemetryCapstone
37f38f94915b6db8b83cc6f8f36959e35c14e66e
[ "MIT" ]
null
null
null
TelemetryViewer/RPMroot.py
UBCO-Motorsports/WirelessTemetryCapstone
37f38f94915b6db8b83cc6f8f36959e35c14e66e
[ "MIT" ]
null
null
null
TelemetryViewer/RPMroot.py
UBCO-Motorsports/WirelessTemetryCapstone
37f38f94915b6db8b83cc6f8f36959e35c14e66e
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'RPMwidget.ui' # # Created by: PyQt5 UI code generator 5.15.1 # # WARNING: Any manual changes made to this file will be lost when pyuic5 is # run again. Do not edit this file unless you know what you are doing. from PyQt5 import QtCore, Qt...
40.317757
81
0.665044
542
4,314
5.197417
0.236162
0.111821
0.070288
0.059638
0.42421
0.317359
0.071707
0.071707
0.058928
0
0
0.053726
0.197497
4,314
106
82
40.698113
0.759965
0.063514
0
0.086957
1
0
0.106151
0.005208
0
0
0
0
0
1
0.021739
false
0
0.01087
0
0.043478
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
bbaa26bd703d24768c3e4942a13004d0a95f074a
1,635
py
Python
ooni/tests/test_utils.py
irl/ooni-probe
c21861c28ca6bd667715872d099006fab87222fd
[ "BSD-2-Clause" ]
null
null
null
ooni/tests/test_utils.py
irl/ooni-probe
c21861c28ca6bd667715872d099006fab87222fd
[ "BSD-2-Clause" ]
null
null
null
ooni/tests/test_utils.py
irl/ooni-probe
c21861c28ca6bd667715872d099006fab87222fd
[ "BSD-2-Clause" ]
null
null
null
import os from twisted.trial import unittest from ooni.utils import log, generate_filename, net class TestUtils(unittest.TestCase): def setUp(self): self.test_details = { 'test_name': 'foo', 'test_start_time': '2016-01-01 01:22:22' } self.extension = 'ext' ...
35.543478
101
0.666667
200
1,635
5.27
0.285
0.136622
0.071158
0.087287
0.523719
0.504744
0.462998
0.300759
0.227704
0.227704
0
0.065728
0.218349
1,635
45
102
36.333333
0.758998
0
0
0
1
0
0.148624
0.067278
0
0
0
0
0.166667
1
0.194444
false
0
0.083333
0
0.305556
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
bbb0d15078acc8624212f5ac24ed82a4b2f679ec
609
py
Python
course/migrations/0012_auto_20210429_1433.py
rafimuhammad01/mtf-hackathon
83ab410239a93ff04e57d7ceb2d1d292ba365866
[ "Unlicense" ]
null
null
null
course/migrations/0012_auto_20210429_1433.py
rafimuhammad01/mtf-hackathon
83ab410239a93ff04e57d7ceb2d1d292ba365866
[ "Unlicense" ]
null
null
null
course/migrations/0012_auto_20210429_1433.py
rafimuhammad01/mtf-hackathon
83ab410239a93ff04e57d7ceb2d1d292ba365866
[ "Unlicense" ]
null
null
null
# Generated by Django 3.2 on 2021-04-29 07:33 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('JWTAuth', '0001_initial'), ('course', '0011_auto_20210429_1302'), ] operations = [ migrations.AddField( model_name='course...
24.36
76
0.584565
58
609
6.034483
0.724138
0.102857
0.131429
0.154286
0.211429
0.211429
0
0
0
0
0
0.081395
0.293924
609
24
77
25.375
0.732558
0.070608
0
0.333333
1
0
0.182624
0.04078
0
0
0
0
0
1
0
false
0
0.055556
0
0.222222
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
bbbae31ab15b53b808c47aeaee61aa7feb527d1c
5,330
py
Python
SuperB/user/forms.py
rialrustamov/SuperB-E-Commerce-RR
099fcfb50bd1623237fd352a87d19926dda52904
[ "MIT" ]
null
null
null
SuperB/user/forms.py
rialrustamov/SuperB-E-Commerce-RR
099fcfb50bd1623237fd352a87d19926dda52904
[ "MIT" ]
null
null
null
SuperB/user/forms.py
rialrustamov/SuperB-E-Commerce-RR
099fcfb50bd1623237fd352a87d19926dda52904
[ "MIT" ]
null
null
null
from django import forms from django.contrib.auth import get_user_model from django.contrib.auth.forms import PasswordChangeForm User = get_user_model() class UserRegisterForm(forms.Form): email = forms.EmailField(max_length=50, help_text='Max 50 character', required=True, widget=forms.EmailInput(attrs={ ...
37.272727
121
0.573358
537
5,330
5.633147
0.176909
0.061818
0.069421
0.039669
0.640661
0.597025
0.572562
0.530579
0.513719
0.472066
0
0.003798
0.259099
5,330
143
122
37.272727
0.762218
0.151782
0
0.641509
0
0
0.214413
0.004671
0
0
0
0
0
1
0.037736
false
0.292453
0.028302
0
0.301887
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
bbc1f67e9e4d656c20cb5ac4fdea5fa8472be16c
470
py
Python
poi/models.py
tombiasz/django-pointer
880896e40ad9e3ba6b096b7ae553f217d6e301be
[ "MIT" ]
null
null
null
poi/models.py
tombiasz/django-pointer
880896e40ad9e3ba6b096b7ae553f217d6e301be
[ "MIT" ]
null
null
null
poi/models.py
tombiasz/django-pointer
880896e40ad9e3ba6b096b7ae553f217d6e301be
[ "MIT" ]
null
null
null
from django.contrib.gis.db import models class PointOfInterest(models.Model): name = models.CharField(max_length=255) point = models.PointField(srid=4326) created_at = models.DateTimeField(auto_now_add=True) updated_at = models.DateTimeField(auto_now=True) def __str__(self): return self...
26.111111
56
0.7
59
470
5.338983
0.644068
0.057143
0.133333
0.15873
0.177778
0
0
0
0
0
0
0.018817
0.208511
470
18
57
26.111111
0.827957
0
0
0
0
0
0.095541
0
0
0
0
0
0
1
0.083333
false
0
0.083333
0.083333
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
bbc364656e56566998c11d25069b34ed47875a6a
395
py
Python
crypto/hash.py
orbs-network/orbs-client-sdk-python
1e8d5699ee98e2ff59d36081eb569237949a558b
[ "MIT" ]
5
2018-08-10T15:39:46.000Z
2020-02-10T03:14:51.000Z
crypto/hash.py
orbs-network/orbs-client-sdk-python
1e8d5699ee98e2ff59d36081eb569237949a558b
[ "MIT" ]
3
2018-06-22T07:32:46.000Z
2018-12-13T14:16:56.000Z
crypto/hash.py
orbs-network/orbs-client-sdk-python
1e8d5699ee98e2ff59d36081eb569237949a558b
[ "MIT" ]
2
2018-07-01T12:45:38.000Z
2020-04-13T11:09:36.000Z
import hashlib class Hash: @staticmethod def calc_sha256(data: bytes): output_hash = hashlib.sha256(data).digest() return bytes(output_hash) @staticmethod def calc_ripemd160_sha256(data: bytes): sha_output = hashlib.sha256(data).digest() ripemd = hashlib.new('ripemd160...
24.6875
51
0.660759
45
395
5.644444
0.4
0.15748
0.149606
0.181102
0
0
0
0
0
0
0
0.059603
0.235443
395
15
52
26.333333
0.781457
0
0
0.166667
0
0
0.022785
0
0
0
0
0
0
1
0.166667
false
0
0.083333
0
0.5
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
bbc6f1501a52b083087a131b73d13ef172db9c30
2,157
py
Python
functions/advanticsys_func/__init__.py
alan-turing-institute/CROP
467956ba8e273daa6afbfafd89bd2c3462a8156e
[ "MIT" ]
9
2020-02-11T17:57:47.000Z
2022-03-22T14:24:55.000Z
functions/advanticsys_func/__init__.py
alan-turing-institute/CROP
467956ba8e273daa6afbfafd89bd2c3462a8156e
[ "MIT" ]
64
2020-02-11T17:35:36.000Z
2022-03-31T13:19:08.000Z
functions/advanticsys_func/__init__.py
alan-turing-institute/CROP
467956ba8e273daa6afbfafd89bd2c3462a8156e
[ "MIT" ]
2
2020-08-16T06:10:24.000Z
2021-04-15T10:11:51.000Z
""" Importing advanticsys data using Azure FunctionApp. """ import os import logging from io import StringIO import pandas as pd import azure.functions as func from __app__.crop.constants import ( CONST_ADVANTICSYS, SQL_ENGINE, ) from __app__.crop.utils import make_conn_string from __app__.crop....
29.547945
101
0.626796
272
2,157
4.775735
0.301471
0.015396
0.057737
0.073133
0.307159
0.143957
0.143957
0.143957
0.143957
0.143957
0
0.000624
0.257302
2,157
72
102
29.958333
0.810237
0.115902
0
0.266667
0
0
0.270465
0
0
0
0
0
0
1
0.022222
false
0.066667
0.288889
0
0.311111
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
bbcc343eb3b285fe687df85dd8a7d501fec3a393
1,757
py
Python
ProgramacaoProcedural/funcao02.py
marcelocmedeiros/Python
43bdde05c97f332043d8ac393a74057b8e150b53
[ "MIT" ]
null
null
null
ProgramacaoProcedural/funcao02.py
marcelocmedeiros/Python
43bdde05c97f332043d8ac393a74057b8e150b53
[ "MIT" ]
null
null
null
ProgramacaoProcedural/funcao02.py
marcelocmedeiros/Python
43bdde05c97f332043d8ac393a74057b8e150b53
[ "MIT" ]
null
null
null
''' Parâmetros: são os nomes dados aos atributos que uma função pode receber. Definem quais argumentos são aceitos por uma função, podendo ou não ter um valor padrão (default). Argumentos: são os valores que realmente são passados para uma função. ''' def calculadora_salario(valor, horas=220): return horas * valo...
30.824561
178
0.698919
246
1,757
4.934959
0.504065
0.029654
0.024712
0.034596
0.029654
0
0
0
0
0
0
0.013277
0.185544
1,757
57
179
30.824561
0.83508
0.166762
0
0
0
0
0.297238
0
0
0
0
0.017544
0
1
0.137931
false
0
0
0.034483
0.172414
0.310345
0
0
0
null
0
0
0
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
bbd3190a3a95895eff6cc4c384427a4346d927e0
2,613
py
Python
exploit/hack.py
fausecteam/faustctf-2019-posthorn
b26f4674ee2c63ddd5650d67c484b556b5ae40da
[ "0BSD" ]
null
null
null
exploit/hack.py
fausecteam/faustctf-2019-posthorn
b26f4674ee2c63ddd5650d67c484b556b5ae40da
[ "0BSD" ]
null
null
null
exploit/hack.py
fausecteam/faustctf-2019-posthorn
b26f4674ee2c63ddd5650d67c484b556b5ae40da
[ "0BSD" ]
null
null
null
#!/usr/bin/python3 import requests import subprocess import sys import os import random import binascii class Username: def __init__(self): first = random.choice(['John', 'Jane', 'Alice', 'Bob', ...
29.033333
155
0.570991
307
2,613
4.71987
0.32899
0.077295
0.024845
0.028986
0.36577
0.256729
0.256729
0.256729
0.256729
0.232574
0
0.011702
0.28052
2,613
89
156
29.359551
0.759043
0.006506
0
0.209677
0
0.016129
0.124855
0
0
0
0
0
0
1
0.129032
false
0.16129
0.096774
0.032258
0.306452
0.016129
0
0
0
null
0
0
0
0
0
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
bbd8c34d86bad3224209c66e186ebbed9e0c45a7
283
py
Python
tests/test_gui_custom_canvas.py
rbotter/pyDEA
2c8b4a70e8c071d580eff26a040efc22fc264045
[ "MIT" ]
29
2017-10-22T03:03:20.000Z
2022-03-21T09:15:22.000Z
tests/test_gui_custom_canvas.py
rbotter/pyDEA
2c8b4a70e8c071d580eff26a040efc22fc264045
[ "MIT" ]
6
2018-07-18T01:40:43.000Z
2021-04-11T00:38:30.000Z
tests/test_gui_custom_canvas.py
rbotter/pyDEA
2c8b4a70e8c071d580eff26a040efc22fc264045
[ "MIT" ]
20
2018-01-23T05:50:29.000Z
2022-02-22T05:04:56.000Z
from tkinter import Tk from pyDEA.core.gui_modules.custom_canvas_gui import StyledCanvas from pyDEA.core.utils.dea_utils import bg_color def test_bg_color(): parent = Tk() canvas = StyledCanvas(parent) assert canvas.cget('background') == bg_color parent.destroy()
23.583333
65
0.756184
40
283
5.15
0.55
0.101942
0.126214
0
0
0
0
0
0
0
0
0
0.155477
283
11
66
25.727273
0.861925
0
0
0
0
0
0.035336
0
0
0
0
0
0.125
1
0.125
false
0
0.375
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
bbd9f0f3d02970177d262846421f85d5b1520d43
1,354
py
Python
scripts/scripts-py/gen_groups.py
WesleyMarques/tcp-experiment
1a4db61a9f122934e78d4e68e20a2f71893f861e
[ "MIT" ]
null
null
null
scripts/scripts-py/gen_groups.py
WesleyMarques/tcp-experiment
1a4db61a9f122934e78d4e68e20a2f71893f861e
[ "MIT" ]
null
null
null
scripts/scripts-py/gen_groups.py
WesleyMarques/tcp-experiment
1a4db61a9f122934e78d4e68e20a2f71893f861e
[ "MIT" ]
null
null
null
import json import random import sys import os PATH = os.getcwd() os.chdir(PATH) projects = [ "scribe-java", "jasmine-maven-plugin", "java-apns", "jopt-simple", "la4j", "metrics-core", "vraptor","assertj-core"] covLevel = ["statement", "method", "branch"] projectId = int(sys.argv[1]) versions = open(projects[project...
35.631579
129
0.604136
153
1,354
5.339869
0.477124
0.083231
0.077111
0.066095
0.097919
0.097919
0
0
0
0
0
0.008738
0.239291
1,354
37
130
36.594595
0.784466
0
0
0
0
0
0.153619
0.020679
0
0
0
0
0.029412
0
null
null
0
0.117647
null
null
0.029412
0
0
0
null
0
0
0
0
0
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
bbda8aadd8bbdf59f93985f275d84c5f03b43613
1,965
py
Python
otx_review/models.py
NYULibraries/dlts-enm-tct-backend
07455a660fb2cb8bc91a54f7f12d150923678157
[ "Apache-2.0" ]
null
null
null
otx_review/models.py
NYULibraries/dlts-enm-tct-backend
07455a660fb2cb8bc91a54f7f12d150923678157
[ "Apache-2.0" ]
2
2017-10-30T21:19:07.000Z
2017-10-31T18:06:30.000Z
otx_review/models.py
NYULibraries/dlts-enm-tct-backend
07455a660fb2cb8bc91a54f7f12d150923678157
[ "Apache-2.0" ]
null
null
null
import os from django.db import models from django.contrib.auth.models import User from otcore.hit.models import Basket class Review(models.Model): basket = models.OneToOneField(Basket) time = models.DateTimeField(blank=True, null=True) reviewer = models.ForeignKey(User, related_name='reviewed', blank=...
25.519481
91
0.673791
234
1,965
5.534188
0.41453
0.030888
0.037066
0.026255
0.040154
0
0
0
0
0
0
0.000657
0.224936
1,965
76
92
25.855263
0.849639
0.094148
0
0.043478
0
0
0.118497
0.014451
0
0
0
0
0
1
0.086957
false
0
0.086957
0.021739
0.586957
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
bbdb975f2d60a7334e7afc57bd07df9d1febbc8e
3,030
py
Python
pydemic/empirical/epidemiology_group.py
GCES-Pydemic/pydemic
f221aa16e6a32ed1303fa11ebf8a357643f683d5
[ "MIT" ]
null
null
null
pydemic/empirical/epidemiology_group.py
GCES-Pydemic/pydemic
f221aa16e6a32ed1303fa11ebf8a357643f683d5
[ "MIT" ]
null
null
null
pydemic/empirical/epidemiology_group.py
GCES-Pydemic/pydemic
f221aa16e6a32ed1303fa11ebf8a357643f683d5
[ "MIT" ]
null
null
null
from collections.abc import Sequence import mundi import sidekick.api as sk from .epidemiology import Epidemiology from .utils import delegate_map, delegate_mapping, concat_frame, agg_frame info_method = lambda attr: delegate_mapping(attr, concat_frame) sum_method = lambda attr: delegate_mapping(attr, agg_frame("sum"...
37.407407
79
0.705941
357
3,030
5.641457
0.291317
0.079444
0.041708
0.039722
0.246773
0.220953
0.042701
0.042701
0
0
0
0
0.192409
3,030
80
80
37.875
0.823049
0.20396
0
0.040816
0
0
0.116488
0
0
0
0
0
0
1
0.061224
false
0
0.102041
0
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
bbdd080a0cc479a2e768af6332893ace56415890
293
py
Python
mbed_targets/_version.py
madchutney/mbed-targets
dab825a7ca20473020dde28fb0c86700f6d10399
[ "Apache-2.0" ]
null
null
null
mbed_targets/_version.py
madchutney/mbed-targets
dab825a7ca20473020dde28fb0c86700f6d10399
[ "Apache-2.0" ]
null
null
null
mbed_targets/_version.py
madchutney/mbed-targets
dab825a7ca20473020dde28fb0c86700f6d10399
[ "Apache-2.0" ]
null
null
null
"""The version number is based on semantic versioning. References - https://semver.org/ - https://www.python.org/dev/peps/pep-0440/ This file is autogenerated, do not modify by hand. """ __version__ = "0.0.0" COMMIT = "ed3301fdf82f5608a53a19a4aa0961c14c323421" MAJOR = 0 MINOR = 0 PATCH = 0
20.928571
54
0.737201
41
293
5.170732
0.780488
0.018868
0
0
0
0
0
0
0
0
0
0.146245
0.136519
293
13
55
22.538462
0.6917
0.617747
0
0
1
0
0.428571
0.380952
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
bbe5ccde12880bbfe48b4cb7a58dc79d1a4f74e3
559
py
Python
online_judges/prod_three/test_prod_three.py
rajatppn/interactive-coding-challenges
8e035f1dfd6e59a711dfad2c5f7fe7528ce41fad
[ "Apache-2.0" ]
10
2017-08-11T15:53:02.000Z
2021-11-06T12:23:06.000Z
online_judges/prod_three/test_prod_three.py
rajatppn/interactive-coding-challenges
8e035f1dfd6e59a711dfad2c5f7fe7528ce41fad
[ "Apache-2.0" ]
1
2020-02-07T18:25:36.000Z
2020-02-07T18:25:36.000Z
online_judges/prod_three/test_prod_three.py
rajatppn/interactive-coding-challenges
8e035f1dfd6e59a711dfad2c5f7fe7528ce41fad
[ "Apache-2.0" ]
7
2017-09-18T09:19:02.000Z
2019-11-22T06:15:50.000Z
from nose.tools import assert_equal, assert_raises class TestProdThree(object): def test_prod_three(self): solution = Solution() assert_raises(TypeError, solution.max_prod_three, None) assert_raises(ValueError, solution.max_prod_three, [1, 2]) assert_equal(solution.max_prod_three(...
26.619048
71
0.669052
75
559
4.613333
0.426667
0.182081
0.17341
0.231214
0.196532
0.196532
0.196532
0.196532
0.196532
0
0
0.033632
0.202147
559
21
72
26.619048
0.742152
0
0
0
0
0
0.057143
0
0
0
0
0
0.357143
1
0.142857
false
0
0.071429
0
0.285714
0.071429
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
bbe7f38a56d531eed260e3134b19285d8e6a7863
6,383
py
Python
debt_monthly_el.py
DixiGroup/energy_debt
9ee85577719674edf26e3d3f9ad887a343952136
[ "MIT" ]
null
null
null
debt_monthly_el.py
DixiGroup/energy_debt
9ee85577719674edf26e3d3f9ad887a343952136
[ "MIT" ]
null
null
null
debt_monthly_el.py
DixiGroup/energy_debt
9ee85577719674edf26e3d3f9ad887a343952136
[ "MIT" ]
null
null
null
import os import pandas as pd # lookup for months months_ukr = ["січень", "лютий", "березень", "квітень", "травень", "червень", "липень", "серпень", "вересень", "жовтень", "листопад", "грудень"] seqn = lambda a, b: list(range(a, b+1)) months_dig = seqn(1, 12) list_keys = ['months_ukr', 'months_dig'] lis...
43.421769
169
0.640451
869
6,383
4.47756
0.26122
0.088409
0.058597
0.028784
0.237471
0.199178
0.170136
0.170136
0.14238
0.120792
0
0.014319
0.201316
6,383
146
170
43.719178
0.748725
0.075043
0
0.018692
0
0
0.213413
0.010866
0
0
0
0
0
0
null
null
0
0.018692
null
null
0.037383
0
0
0
null
0
0
0
0
0
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
bbea972ef0fbe689d06758974f5b15050b8c0c9e
2,018
py
Python
populous/news/templatetags/collections.py
caiges/populous
d07094f9d6b2528d282ed99af0063002480bc00b
[ "BSD-3-Clause" ]
2
2016-05-09T01:17:08.000Z
2017-07-18T23:35:01.000Z
populous/news/templatetags/collections.py
caiges/populous
d07094f9d6b2528d282ed99af0063002480bc00b
[ "BSD-3-Clause" ]
null
null
null
populous/news/templatetags/collections.py
caiges/populous
d07094f9d6b2528d282ed99af0063002480bc00b
[ "BSD-3-Clause" ]
null
null
null
from django import template from django.template import Variable, VariableDoesNotExist from django.utils.safestring import mark_safe from news.models import Collection register = template.Library() class CollectionLatestNode(template.Node): def __init__(self, url, limit, varname): self.url = url ...
38.075472
274
0.611992
225
2,018
5.328889
0.4
0.010008
0.046706
0.06005
0.10759
0.061718
0.061718
0.061718
0.061718
0.061718
0
0.004158
0.284936
2,018
52
275
38.807692
0.82675
0
0
0.071429
0
0
0.077628
0.048518
0
0
0
0
0
0
null
null
0.02381
0.095238
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
bbeacd1cb83168bce6c8a4882d8242554b412c6a
861
py
Python
chat/migrations/0001_initial.py
Almazishe/qpsy
50ab35ba678898db2430eb775041eb51924e96e9
[ "MIT" ]
null
null
null
chat/migrations/0001_initial.py
Almazishe/qpsy
50ab35ba678898db2430eb775041eb51924e96e9
[ "MIT" ]
null
null
null
chat/migrations/0001_initial.py
Almazishe/qpsy
50ab35ba678898db2430eb775041eb51924e96e9
[ "MIT" ]
null
null
null
# Generated by Django 3.1.3 on 2020-11-17 20:21 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('bot', '0001_initial'), ] operations = [ migrations.CreateModel( name='Messa...
31.888889
140
0.592334
91
861
5.494505
0.67033
0.048
0.056
0.088
0
0
0
0
0
0
0
0.032761
0.255517
861
26
141
33.115385
0.74727
0.052265
0
0
1
0
0.115479
0
0
0
0
0
0
1
0
false
0
0.105263
0
0.315789
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
bbec863daff1c8b3d8587f927a1f99afa3ac5111
21,132
py
Python
pydef_core/chemical_potentials.py
wangvei/PyDEF-2.0
ee5bd0a01d241e5df45ccbf10f3c27e1b796418b
[ "MIT" ]
1
2019-01-12T14:30:21.000Z
2019-01-12T14:30:21.000Z
pydef_core/chemical_potentials.py
wangvei/PyDEF-2.0
ee5bd0a01d241e5df45ccbf10f3c27e1b796418b
[ "MIT" ]
null
null
null
pydef_core/chemical_potentials.py
wangvei/PyDEF-2.0
ee5bd0a01d241e5df45ccbf10f3c27e1b796418b
[ "MIT" ]
3
2019-03-01T15:15:00.000Z
2020-04-19T13:30:41.000Z
""" Chemical Potentials version: 2.0 author: Adrien Stoliaroff email: adrien.stoliaroff@cnrs-imn.fr """ import numpy as np import matplotlib.pyplot as plt import matplotlib.patches as patches import scipy.optimize as sco import math import pydef_core.figure as pf def getVal(key, argdict): """aux...
44.866242
185
0.572923
2,503
21,132
4.703556
0.168598
0.018432
0.016054
0.002718
0.25567
0.196466
0.161046
0.121379
0.106175
0.086894
0
0.015116
0.301864
21,132
470
186
44.961702
0.782892
0.076803
0
0.19697
0
0
0.03947
0
0
0
0
0
0
0
null
null
0.00303
0.018182
null
null
0.009091
0
0
0
null
0
0
0
0
0
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
bbfd3b49fce2d5ea4c36151c1145df3b0735a0c3
2,445
py
Python
misaka/models.py
water-law/waterlawblog
32414aefca3dece429f3282793c6a73017d9497a
[ "BSD-3-Clause" ]
4
2018-03-09T06:47:02.000Z
2019-10-06T18:57:46.000Z
misaka/models.py
water-law/waterlawblog
32414aefca3dece429f3282793c6a73017d9497a
[ "BSD-3-Clause" ]
4
2020-06-05T18:09:47.000Z
2021-09-07T23:51:19.000Z
misaka/models.py
water-law/waterlawblog
32414aefca3dece429f3282793c6a73017d9497a
[ "BSD-3-Clause" ]
null
null
null
from django.db import models # from django.contrib.postgres import fields import django.utils.timezone as timezone from sites.constant import SignType, SignUse, TemplateType class AliyunAccount(models.Model): """ 阿里云配置 """ name = models.CharField(max_length=100, verbose_name="阿里云用户名") app_id = models.Char...
44.454545
128
0.737832
306
2,445
5.69281
0.320261
0.145235
0.10333
0.137773
0.391504
0.318025
0.273249
0.188289
0.141217
0.141217
0
0.009864
0.129243
2,445
55
129
44.454545
0.808361
0.02045
0
0.2
0
0
0.075345
0
0
0
0
0
0
1
0.1
false
0
0.075
0.1
0.975
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
a531c115e887778f942cf56d75bd134fb5700034
592
py
Python
main.py
fabioanh/AmazonCatalog
601505df9ba008977b2b589b2fe337a3558f7cc8
[ "Unlicense" ]
null
null
null
main.py
fabioanh/AmazonCatalog
601505df9ba008977b2b589b2fe337a3558f7cc8
[ "Unlicense" ]
null
null
null
main.py
fabioanh/AmazonCatalog
601505df9ba008977b2b589b2fe337a3558f7cc8
[ "Unlicense" ]
null
null
null
from AnimalDataExtractor import AnimalDataExtractor from AnimalDataExporter import AnimalDataExporter def main(): animalDataExtractor = AnimalDataExtractor() animalDataExporter = AnimalDataExporter() # override = False # animalDataExtractor.downloadAnimalList() # animalDataExtractor.downloadAllAni...
32.888889
79
0.780405
35
592
12.942857
0.485714
0
0
0
0
0
0
0
0
0
0
0.025591
0.141892
592
17
80
34.823529
0.866142
0.381757
0
0
0
0
0.022284
0
0
0
0
0
0
1
0.125
false
0
0.25
0
0.375
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
a5480db899483f6f614755e9cfb0ba62c93d1c6f
7,337
py
Python
pyconde/sponsorship/migrations/0006_auto__add_sponsorlistplugin.py
EuroPython/djep
afcccbdda483e5f6962ac97f0dc4c4c5ea67fd21
[ "BSD-3-Clause" ]
5
2015-01-02T14:33:14.000Z
2021-08-03T10:19:07.000Z
pyconde/sponsorship/migrations/0006_auto__add_sponsorlistplugin.py
EuroPython/djep
afcccbdda483e5f6962ac97f0dc4c4c5ea67fd21
[ "BSD-3-Clause" ]
null
null
null
pyconde/sponsorship/migrations/0006_auto__add_sponsorlistplugin.py
EuroPython/djep
afcccbdda483e5f6962ac97f0dc4c4c5ea67fd21
[ "BSD-3-Clause" ]
3
2015-08-30T09:45:03.000Z
2017-04-08T12:15:22.000Z
# -*- coding: utf-8 -*- import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding model 'SponsorListPlugin' db.create_table('cmsplugin_sponsorlistplugin', ( ('cmsplugin_...
69.87619
156
0.591522
732
7,337
5.812842
0.185792
0.095887
0.164512
0.235018
0.576968
0.555347
0.513279
0.433608
0.319389
0.240188
0
0.008878
0.186316
7,337
105
157
69.87619
0.703853
0.027941
0
0.077778
0
0
0.550863
0.330574
0
0
0
0
0
1
0.022222
false
0
0.044444
0
0.1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
a549865d861920072a5f2c3b52a75c026ee8d439
421
py
Python
demo/production/production_server.py
lanius/hunk
bba04d9fb7f37c378ea41bc934c3a02401e34fe6
[ "MIT" ]
1
2015-04-03T08:35:41.000Z
2015-04-03T08:35:41.000Z
demo/production/production_server.py
lanius/hunk
bba04d9fb7f37c378ea41bc934c3a02401e34fe6
[ "MIT" ]
null
null
null
demo/production/production_server.py
lanius/hunk
bba04d9fb7f37c378ea41bc934c3a02401e34fe6
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from flask import Flask, jsonify app = Flask(__name__) @app.after_request def after_request(response): response.headers.add('Access-Control-Allow-Origin', '*') return response @app.route('/available/<int:i>') def from_production(i): return jsonify({'message': 'I am from produc...
16.192308
63
0.665083
54
421
4.907407
0.611111
0.090566
0
0
0
0
0
0
0
0
0
0.014245
0.166271
421
25
64
16.84
0.740741
0.049881
0
0
0
0
0.246231
0.067839
0
0
0
0
0
1
0.230769
false
0
0.076923
0.076923
0.461538
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
a54ddf98351d94fbb143f980b27634e9459ebf17
5,491
py
Python
src/simulator/sim/simulation/environment/simulation_objects.py
maxkferg/mink-reality
6eed945af797f164dddd0d69a7f47183b621db22
[ "MIT" ]
6
2019-06-11T05:43:04.000Z
2020-05-03T05:43:18.000Z
src/simulator/sim/simulation/environment/simulation_objects.py
maxkferg/mink-reality
6eed945af797f164dddd0d69a7f47183b621db22
[ "MIT" ]
null
null
null
src/simulator/sim/simulation/environment/simulation_objects.py
maxkferg/mink-reality
6eed945af797f164dddd0d69a7f47183b621db22
[ "MIT" ]
3
2019-06-07T14:14:56.000Z
2021-09-08T11:12:19.000Z
import os import math import pybullet import numpy as np from .config import URDF_ROOT class PhysicsObject(): filepath = "" specularColor = [0.4, 0.4, 0.4] rgbaColor = [1, 1, 1, 1] scale = [0.1, 0.1, 0.1] shift = [0, -0.02, 1] orientation = [0,0,0] def __init__(self, physics, position, orientation, visual_onl...
31.557471
235
0.707157
798
5,491
4.798246
0.215539
0.014625
0.018282
0.008357
0.326717
0.288848
0.21755
0.200052
0.162706
0.127448
0
0.062312
0.152431
5,491
174
236
31.557471
0.760421
0.126389
0
0.283333
0
0
0.0733
0.034432
0
0
0
0.005747
0
1
0.041667
false
0
0.041667
0
0.683333
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
a54e27848021652eeaae2f29c0976e3ab4bddbe3
2,645
py
Python
cloudmesh/burn/network.py
cloudmesh/cloudmesh_pi_burn
0d080c0b6057e2c761e90ebd4144d04b4dff6d6b
[ "Apache-2.0" ]
16
2021-01-16T16:18:08.000Z
2022-03-07T16:09:18.000Z
cloudmesh/burn/network.py
cloudmesh/cloudmesh-pi-burn
ad76a310e3ebe2b6111b00de0d2a80693ceeb6f4
[ "Apache-2.0" ]
11
2021-01-16T12:39:56.000Z
2021-05-06T21:57:43.000Z
cloudmesh/burn/network.py
cloudmesh/cloudmesh-pi-burn
ad76a310e3ebe2b6111b00de0d2a80693ceeb6f4
[ "Apache-2.0" ]
3
2021-02-07T16:35:05.000Z
2021-04-03T04:48:10.000Z
import json import socket import subprocess # TODO: there seems to be some overlap with hardware.py and some functions in # hardware introduced that are not used here such as getfqdn and hostname. # Should it be removed form hardware, or should this be changed here to # use the methods from hardware...
31.86747
80
0.477505
256
2,645
4.929688
0.445313
0.038035
0.045166
0.028526
0.041204
0.041204
0
0
0
0
0
0.011628
0.414745
2,645
82
81
32.256098
0.803618
0.14896
0
0.096774
0
0
0.079946
0
0
0
0
0.012195
0
1
0.032258
false
0.016129
0.048387
0
0.129032
0.016129
0
0
0
null
0
0
0
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
a5507fea8a9510c24d387d9b4ee79871fa50e4e6
950
py
Python
backend/metagrid/projects/migrations/0005_facetvariable.py
aims-group/metagrid
32bd76638d80c3da7529a73ab8509eb53264c8dc
[ "MIT" ]
5
2020-06-08T23:20:33.000Z
2021-11-29T15:25:27.000Z
backend/metagrid/projects/migrations/0005_facetvariable.py
aims-group/metagrid
32bd76638d80c3da7529a73ab8509eb53264c8dc
[ "MIT" ]
359
2020-04-24T19:45:56.000Z
2022-03-31T18:04:12.000Z
backend/metagrid/projects/migrations/0005_facetvariable.py
aims-group/metagrid
32bd76638d80c3da7529a73ab8509eb53264c8dc
[ "MIT" ]
1
2021-03-01T17:27:43.000Z
2021-03-01T17:27:43.000Z
# Generated by Django 3.0.5 on 2020-04-29 18:19 import django.db.models.deletion from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('projects', '0004_remove_facet_count'), ] operations = [ migrations.CreateModel( name='FacetVari...
32.758621
143
0.575789
93
950
5.731183
0.612903
0.045028
0.052533
0.082552
0
0
0
0
0
0
0
0.032496
0.287368
950
28
144
33.928571
0.754801
0.047368
0
0
1
0
0.193798
0.025471
0
0
0
0
0
1
0
false
0
0.090909
0
0.227273
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
a5579ffb9179f2ca45da159731a5bea8fbc25145
3,154
py
Python
src/main/python/buffbot/ui/generated/add_spell.py
dstufft/buffbot
80c26ee8ac6d91c1af2ea2565cbe7acad6ecc252
[ "Apache-2.0" ]
null
null
null
src/main/python/buffbot/ui/generated/add_spell.py
dstufft/buffbot
80c26ee8ac6d91c1af2ea2565cbe7acad6ecc252
[ "Apache-2.0" ]
null
null
null
src/main/python/buffbot/ui/generated/add_spell.py
dstufft/buffbot
80c26ee8ac6d91c1af2ea2565cbe7acad6ecc252
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'gui/AddSpell.ui' # # Created by: PyQt5 UI code generator 5.15.1 # # WARNING: Any manual changes made to this file will be lost when pyuic5 is # run again. Do not edit this file unless you know what you are doing. from PyQt5 import QtCore,...
47.074627
106
0.698795
372
3,154
5.841398
0.287634
0.115969
0.02485
0.016107
0.184998
0.114128
0.036815
0.036815
0
0
0
0.035853
0.18643
3,154
66
107
47.787879
0.81099
0.087825
0
0
1
0
0.059951
0
0
0
0
0
0
1
0.038462
false
0
0.019231
0
0.076923
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
a559108d3f98eea39119e55b197f47e726be213c
7,217
py
Python
src/python/SupremeCourtOpinionFileConverter.py
dmarklein/WordCloud
e67b8906622abe628b2825e58bc224b522ec5fcb
[ "Apache-2.0" ]
1
2016-12-23T09:51:43.000Z
2016-12-23T09:51:43.000Z
src/python/SupremeCourtOpinionFileConverter.py
dmarklein/WordCloud
e67b8906622abe628b2825e58bc224b522ec5fcb
[ "Apache-2.0" ]
21
2015-02-19T03:15:30.000Z
2015-07-27T19:56:45.000Z
src/python/SupremeCourtOpinionFileConverter.py
dmarklein/WordCloud
e67b8906622abe628b2825e58bc224b522ec5fcb
[ "Apache-2.0" ]
null
null
null
from src.core.python.DocumentConverter import DocumentConverter from src.core.python.SupremeCourtOpinionMetadata import SupremeCourtOpinionMetadata from src.core.python.SupremeCourtOpinion import SupremeCourtOpinion import re import os, os.path class SupremeCourtOpinionFileConverter(DocumentConverter): ''' Dan...
41.24
90
0.55785
803
7,217
4.721046
0.211706
0.027697
0.055394
0.059351
0.154049
0.116592
0.053812
0.014244
0.014244
0.014244
0
0.00412
0.360953
7,217
175
91
41.24
0.817866
0.121934
0
0.034188
0
0.017094
0.066291
0.011907
0
0
0
0.011429
0
1
0.034188
false
0
0.042735
0
0.111111
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
a55f9a53ccdf51d5842865337714f0d28a24486c
15,451
py
Python
Sprint Week/Main.py
Wadden12/Semester1
a13c4486848daec3b5865e8a2a778689c81528fe
[ "Apache-2.0" ]
null
null
null
Sprint Week/Main.py
Wadden12/Semester1
a13c4486848daec3b5865e8a2a778689c81528fe
[ "Apache-2.0" ]
null
null
null
Sprint Week/Main.py
Wadden12/Semester1
a13c4486848daec3b5865e8a2a778689c81528fe
[ "Apache-2.0" ]
null
null
null
# Filename Main.py # The Sprint Project Company Main Menu # Authors:Cody Barrett, Gavin Coady, Mike Wadden. # Date November 17, 2021 # Imports import time import datetime # Functions def As_Dollars_Pad(Number): """Format Dollars amounts to strings & Pad Right 10 Spaces""" Number_Display = f"${Number:,...
32.735169
104
0.553492
1,806
15,451
4.649502
0.15227
0.032154
0.026319
0.022627
0.586876
0.552816
0.527808
0.521853
0.508753
0.49994
0
0.015399
0.323345
15,451
471
105
32.804671
0.787757
0.082713
0
0.587927
0
0.005249
0.262639
0.022548
0
0
0
0
0
1
0.026247
false
0
0.010499
0
0.076115
0.401575
0
0
0
null
0
0
0
0
0
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
a563000b222151e6fdef9c4463f31d81c9c5eb90
451
py
Python
mujoco_ilqg/utils/mujoco_utils.py
pvarin/mujoco-ilqg
ddb8d2830a5841134325e020b58805de77ed7334
[ "BSD-3-Clause" ]
3
2019-09-19T02:35:09.000Z
2021-12-14T05:01:10.000Z
mujoco_ilqg/utils/mujoco_utils.py
pvarin/mujoco-ilqg
ddb8d2830a5841134325e020b58805de77ed7334
[ "BSD-3-Clause" ]
null
null
null
mujoco_ilqg/utils/mujoco_utils.py
pvarin/mujoco-ilqg
ddb8d2830a5841134325e020b58805de77ed7334
[ "BSD-3-Clause" ]
null
null
null
import numpy as np import mujoco_py def set_state(sim, x): state = sim.get_state() qpos = x[:sim.model.nq] qvel = x[sim.model.nq:] state = mujoco_py.MjSimState(state.time, qpos, qvel, state.act, state.udd_state) sim.set_state(state) sim.forward() def reset_stat...
25.055556
60
0.625277
71
451
3.816901
0.366197
0.206642
0.099631
0.088561
0
0
0
0
0
0
0
0.005848
0.241685
451
18
61
25.055556
0.78655
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.133333
0.066667
0.4
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
a56b2124c956b003bc409dcfb51349c5e369f66c
1,915
py
Python
src/main.py
dlotnyk/movieorg
096fc2014b8877bba9930c26f79186797a0c7856
[ "MIT" ]
null
null
null
src/main.py
dlotnyk/movieorg
096fc2014b8877bba9930c26f79186797a0c7856
[ "MIT" ]
null
null
null
src/main.py
dlotnyk/movieorg
096fc2014b8877bba9930c26f79186797a0c7856
[ "MIT" ]
null
null
null
import os from pprint import pprint from typing import List, Tuple from logger import log_settings from local_db import LocalDb, local_db_name from dir_tree import CreateTree app_log = log_settings() local_path = "k:\\data\\paper_dtdt\\some_other\\" class ParseFiles: def __init__(self, tb_item): self._ro...
25.878378
78
0.630809
261
1,915
4.344828
0.310345
0.05291
0.049383
0.024691
0.029982
0
0
0
0
0
0
0.002843
0.265274
1,915
73
79
26.232877
0.803127
0
0
0.086207
0
0
0.058516
0.017764
0
0
0
0
0
1
0.172414
false
0
0.103448
0.103448
0.396552
0.017241
0
0
0
null
0
0
0
0
0
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
a57a40c5ed7299a398bd63a4a6877b530032338a
1,311
py
Python
tests/integration/test_runbooks_render_runbooks.py
madflojo/automon
59a70506258c8b2354ebbe2bc91934c69800e17b
[ "Apache-2.0" ]
414
2016-07-27T12:53:56.000Z
2022-02-16T14:56:51.000Z
tests/integration/test_runbooks_render_runbooks.py
SelecaoGlobocom/automatron
5a3ccfe65f42800fbd7ee02987a290d578a3d45b
[ "Apache-2.0" ]
121
2016-06-04T05:30:56.000Z
2018-09-13T17:38:05.000Z
tests/integration/test_runbooks_render_runbooks.py
SelecaoGlobocom/automatron
5a3ccfe65f42800fbd7ee02987a290d578a3d45b
[ "Apache-2.0" ]
72
2016-06-12T21:37:21.000Z
2021-09-08T22:07:04.000Z
''' Test Runbooks.py render_runbooks() ''' import mock import unittest from runbooks import render_runbooks class RenderRunbooksIntegrationTest(unittest.TestCase): ''' Run unit tests against the cache_runbooks method ''' def setUp(self): ''' Setup mocked data ''' self.runbooks = """ ...
27.893617
84
0.632342
132
1,311
6.234848
0.363636
0.102066
0.077764
0.102066
0.298906
0.298906
0.256379
0.221142
0
0
0
0
0.2418
1,311
46
85
28.5
0.827968
0.210526
0
0.125
0
0
0.077081
0
0
0
0
0
0.125
1
0.208333
false
0
0.125
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
a57d9506db0c8ec786acd8c3a0544d0ba668232c
514
py
Python
tests/unit/configuration/twindb_backup_config/test_gcs.py
denssk/backup
292d5f1b1a3765ce0ea8d3cab8bd1ae0c583f72e
[ "Apache-2.0" ]
69
2016-06-29T16:13:55.000Z
2022-03-21T06:38:37.000Z
tests/unit/configuration/twindb_backup_config/test_gcs.py
denssk/backup
292d5f1b1a3765ce0ea8d3cab8bd1ae0c583f72e
[ "Apache-2.0" ]
237
2016-09-28T02:12:34.000Z
2022-03-25T13:32:23.000Z
tests/unit/configuration/twindb_backup_config/test_gcs.py
denssk/backup
292d5f1b1a3765ce0ea8d3cab8bd1ae0c583f72e
[ "Apache-2.0" ]
45
2017-01-04T21:20:27.000Z
2021-12-29T10:42:22.000Z
from twindb_backup.configuration import TwinDBBackupConfig def test_gcs(config_file): tbc = TwinDBBackupConfig(config_file=str(config_file)) assert tbc.gcs.gc_credentials_file == 'XXXXX' assert tbc.gcs.gc_encryption_key == '' assert tbc.gcs.bucket == 'twindb-backups' def test_no_gcs_section(tmpdir):...
30.235294
58
0.72179
72
514
4.930556
0.472222
0.112676
0.135211
0.174648
0.191549
0
0
0
0
0
0
0
0.161479
514
16
59
32.125
0.823666
0
0
0
0
0
0.071984
0
0
0
0
0
0.333333
1
0.166667
false
0
0.083333
0
0.25
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
a57f22629b8f7eb29a535b409dea8e993f094934
332
py
Python
music_manuel/osc_client.py
HelsinkiGroup5/Hackathon
eb1c7c5f142fc3dbe83a41a558a1ab8071341d06
[ "MIT" ]
null
null
null
music_manuel/osc_client.py
HelsinkiGroup5/Hackathon
eb1c7c5f142fc3dbe83a41a558a1ab8071341d06
[ "MIT" ]
null
null
null
music_manuel/osc_client.py
HelsinkiGroup5/Hackathon
eb1c7c5f142fc3dbe83a41a558a1ab8071341d06
[ "MIT" ]
null
null
null
import OSC, random, time c = OSC.OSCClient() c.connect((' 10.100.7.151', 57120)) # localhost, port 57120 oscmsg = OSC.OSCMessage() oscmsg.setAddress("/startup") while True: numr = random.randrange(0, 50) #numr = numr*0.01 oscmsg.append(numr) print numr c.send(oscmsg) oscmsg.clearData() ti...
22.133333
61
0.653614
47
332
4.617021
0.659574
0
0
0
0
0
0
0
0
0
0
0.097015
0.192771
332
14
62
23.714286
0.712687
0.111446
0
0
0
0
0.071918
0
0
0
0
0
0
0
null
null
0
0.083333
null
null
0.083333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
a5808f7aea253cd2b694ca7a6c86031b0fe0476e
4,451
py
Python
koalixcrm/accounting/migrations/0001_initial.py
Cataldir/koalixcrm
87d125379845d6ab990c19500d63cbed4051040a
[ "BSD-3-Clause" ]
290
2015-01-11T03:01:05.000Z
2019-12-17T03:56:17.000Z
koalixcrm/accounting/migrations/0001_initial.py
Cataldir/koalixcrm
87d125379845d6ab990c19500d63cbed4051040a
[ "BSD-3-Clause" ]
178
2016-02-26T14:41:49.000Z
2019-12-29T08:34:21.000Z
koalixcrm/accounting/migrations/0001_initial.py
Cataldir/koalixcrm
87d125379845d6ab990c19500d63cbed4051040a
[ "BSD-3-Clause" ]
124
2015-02-28T20:56:37.000Z
2019-12-13T18:15:35.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.2 on 2017-07-05 17:02 from __future__ import unicode_literals import django.db.models.deletion from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.Creat...
50.579545
117
0.577848
400
4,451
6.2525
0.31
0.145142
0.022391
0.035186
0.398241
0.331068
0.27589
0.245502
0.223511
0.202319
0
0.011407
0.290946
4,451
87
118
51.16092
0.781052
0.015277
0
0.3
1
0
0.232192
0.028082
0
0
0
0
0
1
0
false
0
0.0375
0
0.0875
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
a58d4b2070bf663be62ad3a6c11301469ad73b24
490
py
Python
ZachWebsite/wsgi.py
zachsnyder1/zachsite
2a6d750d8aef7786d1f3c647be62aea7cbdd29c5
[ "MIT" ]
null
null
null
ZachWebsite/wsgi.py
zachsnyder1/zachsite
2a6d750d8aef7786d1f3c647be62aea7cbdd29c5
[ "MIT" ]
null
null
null
ZachWebsite/wsgi.py
zachsnyder1/zachsite
2a6d750d8aef7786d1f3c647be62aea7cbdd29c5
[ "MIT" ]
null
null
null
""" WSGI config for ZachWebsite project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.8/howto/deployment/wsgi/ """ import os import sys from django.core.wsgi import get_wsgi_application sys.path.append('/zac...
24.5
78
0.785714
69
490
5.492754
0.652174
0.05277
0.094987
0.110818
0.131926
0
0
0
0
0
0
0.004515
0.095918
490
19
79
25.789474
0.851016
0.442857
0
0
0
0
0.309434
0.181132
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
a58e84172808d3685166633f5cfde0c0191c3f03
198
py
Python
tests/first_speed_test.py
JermaineDavy/pyconfigurathon
a18e6e69d8623865819505de065dd1017ce3beb2
[ "MIT" ]
1
2020-12-04T08:44:33.000Z
2020-12-04T08:44:33.000Z
tests/first_speed_test.py
JermaineDavy/pyconfigurathon
a18e6e69d8623865819505de065dd1017ce3beb2
[ "MIT" ]
null
null
null
tests/first_speed_test.py
JermaineDavy/pyconfigurathon
a18e6e69d8623865819505de065dd1017ce3beb2
[ "MIT" ]
null
null
null
import time import tests.config as config test_value = "db_connections.0.host" start = time.time() for i in range(1000): config.get_config(test_value) print(time.time() - start, 'seconds')
15.230769
37
0.722222
31
198
4.483871
0.645161
0.143885
0.215827
0
0
0
0
0
0
0
0
0.029762
0.151515
198
12
38
16.5
0.797619
0
0
0
0
0
0.141414
0.106061
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
0.142857
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
a5907fb09418657fada8bd38718308788ed66d88
2,507
py
Python
Regression.py
aanandbajaj/ForestFirePredictionBH6
5b3d29cad5ca611b826f7bddafe50360d50bc8ef
[ "MIT" ]
null
null
null
Regression.py
aanandbajaj/ForestFirePredictionBH6
5b3d29cad5ca611b826f7bddafe50360d50bc8ef
[ "MIT" ]
null
null
null
Regression.py
aanandbajaj/ForestFirePredictionBH6
5b3d29cad5ca611b826f7bddafe50360d50bc8ef
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """Project.ipynb Automatically generated by Colaboratory. Original file is located at https://colab.research.google.com/drive/1TZXtT2VLRyO4nUaT5lXZJjfqWKP8IKIY """ # Commented out IPython magic to ensure Python compatibility. import pandas as pd import numpy as np # import matplotlib....
28.816092
109
0.751895
344
2,507
5.412791
0.456395
0.102041
0.015038
0.015038
0.016112
0
0
0
0
0
0
0.025478
0.123255
2,507
87
110
28.816092
0.821656
0.452732
0
0
1
0.03125
0.089686
0
0
0
0
0
0
1
0.03125
false
0
0.15625
0
0.21875
0.09375
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
a59378603b115bfa2e6fa726cedb7d633471ad2a
325
py
Python
setup.py
dormrod/matplotlib_wrapper
40ef4c20ac0d394cbbbfcb91da92c2c919271c6b
[ "MIT" ]
1
2020-08-02T00:13:01.000Z
2020-08-02T00:13:01.000Z
setup.py
dormrod/mpl_scipub
40ef4c20ac0d394cbbbfcb91da92c2c919271c6b
[ "MIT" ]
null
null
null
setup.py
dormrod/mpl_scipub
40ef4c20ac0d394cbbbfcb91da92c2c919271c6b
[ "MIT" ]
null
null
null
from setuptools import setup setup(name='mpl_scipub', version='0.02', description='Pacakge for painless plotting with matplotlib, making publication-ready plots', url='https://github.com/dormrod/mpl_scipub', author='dormrod', license='MIT', packages=['mpl_scipub'], zip_safe=Fa...
29.545455
98
0.676923
39
325
5.538462
0.846154
0.125
0
0
0
0
0
0
0
0
0
0.01145
0.193846
325
10
99
32.5
0.812977
0
0
0
0
0
0.455385
0
0
0
0
0
0
1
0
true
0
0.111111
0
0.111111
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
a596c1b7a353861f9f704f574dadcb1778a63ab1
5,393
py
Python
backend/aporte/models.py
felipemaion/financial-management-gate-django
5f93a7d28a55852fed0a16d1830f92b0ee065948
[ "MIT" ]
2
2019-04-15T20:36:48.000Z
2020-02-09T23:20:27.000Z
backend/aporte/models.py
felipemaion/financial-management-gate-django
5f93a7d28a55852fed0a16d1830f92b0ee065948
[ "MIT" ]
5
2020-02-12T00:06:06.000Z
2020-06-05T05:09:45.000Z
backend/aporte/models.py
felipemaion/financial-management-gate-django
5f93a7d28a55852fed0a16d1830f92b0ee065948
[ "MIT" ]
null
null
null
from django.db import models from functools import reduce import datetime # from datetime import timedelta #from .selic import corrigir_selic from decimal import Decimal from selic.models import Selic from wallet.models import Wallet from django.db.models.signals import post_save from django.dispatch import re...
36.194631
158
0.625626
698
5,393
4.726361
0.372493
0.05729
0.043346
0.020006
0.351622
0.332222
0.332222
0.332222
0.332222
0.332222
0
0.00475
0.258298
5,393
148
159
36.439189
0.82
0.58613
0
0.166667
0
0
0.073906
0
0
0
0
0
0
1
0.095238
false
0
0.190476
0.071429
0.642857
0.02381
0
0
0
null
0
0
0
0
0
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
a59a5abce9e0208881d972b129b15227122a8fe5
7,081
py
Python
frhd/Track.py
gaetgu/frhd
33e9966f99fd21840251b20431bcb04cb93e5e9a
[ "MIT" ]
4
2020-04-22T04:58:11.000Z
2020-12-12T17:13:10.000Z
frhd/Track.py
gaetgu/frhd
33e9966f99fd21840251b20431bcb04cb93e5e9a
[ "MIT" ]
1
2020-06-19T15:38:28.000Z
2020-06-19T15:40:22.000Z
frhd/Track.py
gaetgu/frhd
33e9966f99fd21840251b20431bcb04cb93e5e9a
[ "MIT" ]
1
2020-04-22T15:55:01.000Z
2020-04-22T15:55:01.000Z
# Welcome to Track.py! This is the main file where the boring stuff happens. # If you want to see something cool, check out Encode.py and Decode.py! That's # where all the cool stuff happens. This is where I define my methods, have my # tutorial function, etc. etc. # /$$$$$$$$ /$$$$$$$ /$$ /$$ /$$$$$$$ # | $$__...
30.131915
110
0.516876
914
7,081
4.006565
0.282276
0.009285
0.032769
0.034407
0.146095
0.093938
0.062807
0.030584
0.012561
0
0
0.023335
0.334275
7,081
234
111
30.260684
0.738651
0
0
0.097087
0
0
0.021234
0
0
0
0
0
0.019417
0
null
null
0
0.029126
null
null
0.009709
0
0
0
null
0
0
0
0
0
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
a59cd73a8d6f0d3c33127fe3d4a8247ce65ddc58
1,308
py
Python
serial_formatter.py
Varigarble/serial-number-format-validator
5094db55e360288c0572b5f7e22ae46b06f853b8
[ "Apache-2.0" ]
2
2021-08-12T11:48:17.000Z
2021-12-23T08:26:58.000Z
serial_formatter.py
Varigarble/serial-number-format-validator
5094db55e360288c0572b5f7e22ae46b06f853b8
[ "Apache-2.0" ]
null
null
null
serial_formatter.py
Varigarble/serial-number-format-validator
5094db55e360288c0572b5f7e22ae46b06f853b8
[ "Apache-2.0" ]
null
null
null
import re # RegEx search strings for certain software vendors oauth_sn = re.compile(r'\b(\d{3}-\d{8}\b)') oauth_key = re.compile(r'\b([a-zA-Z]|\d)\d([a-zA-Z]|\d)[a-zA-Z]\d\b') abalo_sn = re.compile(r'(\b(\d{4}-){5}\d{4}\b)') serial_number_restrictions = {'OAuthDex': oauth_sn, 'Abalobadiah': abalo_sn} product_key_res...
31.142857
80
0.62156
185
1,308
4.210811
0.264865
0.12837
0.092426
0.077022
0.676508
0.662388
0.626444
0.626444
0.626444
0.621309
0
0.011202
0.249235
1,308
41
81
31.902439
0.782077
0.037462
0
0.588235
0
0.029412
0.10828
0.050955
0
0
0
0
0
1
0.058824
false
0
0.029412
0
0.205882
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
a59d6c6cb6a54786017f9e4cb54fd16348750622
504
py
Python
sorting/test_utils.py
Lawrence37/algorithms
7e0051ab2fda3faf22d851d23af43781b9ef1d38
[ "MIT" ]
null
null
null
sorting/test_utils.py
Lawrence37/algorithms
7e0051ab2fda3faf22d851d23af43781b9ef1d38
[ "MIT" ]
null
null
null
sorting/test_utils.py
Lawrence37/algorithms
7e0051ab2fda3faf22d851d23af43781b9ef1d38
[ "MIT" ]
null
null
null
from random import randint from typing import List def is_sorted(target: list) -> bool: ''' Checks if the target list is sorted in ascending order. ''' for i in range(len(target) - 1): if target[i] > target[i + 1]: return False return True def random_int_list( length: int...
22.909091
65
0.623016
74
504
4.148649
0.472973
0.052117
0.039088
0.071661
0
0
0
0
0
0
0
0.0271
0.267857
504
21
66
24
0.804878
0.176587
0
0
0
0
0
0
0
0
0
0
0
1
0.181818
false
0
0.181818
0
0.636364
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
a5a886df9b0f545de6c4a8db38d50cd6f869856e
3,535
py
Python
ozpricechecker/pricefinderapp/tests/models/test_product.py
ericziethen/oz-price-checker
812ae4a468cd5209af348648e4b475cc6965643b
[ "MIT" ]
2
2019-09-30T00:12:59.000Z
2020-12-21T22:23:11.000Z
ozpricechecker/pricefinderapp/tests/models/test_product.py
ericziethen/oz-price-checker
812ae4a468cd5209af348648e4b475cc6965643b
[ "MIT" ]
79
2019-09-30T00:04:20.000Z
2021-12-13T20:38:07.000Z
ozpricechecker/pricefinderapp/tests/models/test_product.py
ericziethen/oz-price-checker
812ae4a468cd5209af348648e4b475cc6965643b
[ "MIT" ]
null
null
null
from django.test import TestCase from django.utils import timezone from parameterized import parameterized from pricefinderapp.models import Currency, Product, Store, ProductPrice class SetupTests(TestCase): def setUp(self): currency = Currency.objects.create(name='AUD') self.store = Store.obj...
46.513158
108
0.689958
439
3,535
5.366743
0.164009
0.076401
0.102716
0.107385
0.741511
0.721986
0.567912
0.40747
0.40747
0.40747
0
0.030914
0.185573
3,535
75
109
47.133333
0.787426
0.048091
0
0.150943
0
0
0.189342
0
0
0
0
0
0.245283
1
0.113208
false
0
0.075472
0
0.226415
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
a5bd07fef50824089375b196c7da5a0ed6094300
15,789
py
Python
turbogears/identity/soprovider.py
timmartin19/turbogears
b5420cb7e55757d418d8fadb512dbd7803c4279c
[ "MIT" ]
null
null
null
turbogears/identity/soprovider.py
timmartin19/turbogears
b5420cb7e55757d418d8fadb512dbd7803c4279c
[ "MIT" ]
9
2015-01-27T19:13:56.000Z
2019-03-29T14:44:31.000Z
turbogears/identity/soprovider.py
timmartin19/turbogears
b5420cb7e55757d418d8fadb512dbd7803c4279c
[ "MIT" ]
13
2015-04-14T14:15:53.000Z
2020-03-18T01:05:46.000Z
from datetime import datetime from sqlobject import SQLObject, SQLObjectNotFound, RelatedJoin, \ DateTimeCol, IntCol, StringCol, UnicodeCol from sqlobject.inheritance import InheritableSQLObject import warnings import logging log = logging.getLogger("turbogears.identity.soprovider") import turbogears from turbog...
35.243304
81
0.652036
1,845
15,789
5.379404
0.157182
0.024987
0.007254
0.006549
0.382972
0.331385
0.261461
0.239496
0.215919
0.215919
0
0.002235
0.263095
15,789
447
82
35.322148
0.850795
0.196529
0
0.305085
0
0
0.114353
0.018124
0
0
0
0
0
1
0.101695
false
0.098305
0.037288
0
0.39661
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
3c0563f170fda3476d2a3edcd56dd7c92b8294b0
406
py
Python
campus_app/migrations/0010_auto_20190707_1309.py
VSSantana/APP-Campus-Online-v5.0
19e74832527e5a3beb479d4fe8a595caa319f914
[ "MIT" ]
1
2021-04-12T13:34:00.000Z
2021-04-12T13:34:00.000Z
campus_app/migrations/0010_auto_20190707_1309.py
VSSantana/APP-Campus-Online-v5.0
19e74832527e5a3beb479d4fe8a595caa319f914
[ "MIT" ]
19
2021-05-14T20:56:29.000Z
2022-02-10T11:59:33.000Z
APP-Campus-Online-v3.0/campus_app/migrations/0010_auto_20190707_1309.py
Benedito-Medeiros-Neto-UnB/TacProgWeb
c7d795a69524e428988d4ed796f4a1c2ded035e3
[ "MIT" ]
10
2021-05-13T16:18:53.000Z
2021-11-08T14:30:08.000Z
# Generated by Django 2.2.2 on 2019-07-07 16:09 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('campus_app', '0009_noticia_dia_publicacao'), ] operations = [ migrations.AlterField( model_name='noticia', name='dia...
21.368421
54
0.618227
45
406
5.4
0.733333
0.016461
0
0
0
0
0
0
0
0
0
0.064407
0.273399
406
18
55
22.555556
0.759322
0.110837
0
0
1
0
0.16156
0.075209
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
3c0681ce3a68d7034e9297a6e34ae9d473b2391f
14,623
py
Python
tfbp/trainer.py
klauscc/tfbp
7aba50ec7f8a6ef30461d6032686c55138875278
[ "MIT" ]
null
null
null
tfbp/trainer.py
klauscc/tfbp
7aba50ec7f8a6ef30461d6032686c55138875278
[ "MIT" ]
null
null
null
tfbp/trainer.py
klauscc/tfbp
7aba50ec7f8a6ef30461d6032686c55138875278
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- #================================================================ # God Bless You. # # author: klaus # email: chengfeng2333@gmail.com # created date: 2019/12/17 # description: # #================================================================ import os import time from easydict impor...
34.816667
106
0.557546
1,682
14,623
4.646849
0.144471
0.025333
0.017912
0.021878
0.326254
0.245906
0.211873
0.199079
0.172467
0.152764
0
0.006982
0.333926
14,623
419
107
34.899761
0.795483
0.214388
0
0.209091
0
0
0.068254
0
0
0
0
0.02148
0.013636
1
0.109091
false
0.018182
0.027273
0
0.186364
0.031818
0
0
0
null
0
0
0
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
3c0a6e18d7b9b9eb8d74d4e690e6e3ea93ddcd57
7,515
py
Python
2019-04-02/demo/scripts/py/sequence_pb2.py
kamilsk/workshops
cb4d4e7d2660e07989b2839996128e44bb14502c
[ "MIT" ]
2
2020-02-10T08:02:22.000Z
2020-09-05T11:44:12.000Z
2019-04-02/demo/scripts/py/sequence_pb2.py
kamilsk/workshops
cb4d4e7d2660e07989b2839996128e44bb14502c
[ "MIT" ]
3
2021-01-18T16:47:02.000Z
2021-01-18T16:48:29.000Z
2019-04-02/demo/scripts/py/sequence_pb2.py
kamilsk/workshops
cb4d4e7d2660e07989b2839996128e44bb14502c
[ "MIT" ]
null
null
null
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: sequence.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _refl...
35.116822
873
0.754092
933
7,515
5.792069
0.175777
0.031088
0.03849
0.017765
0.542191
0.523871
0.50037
0.482791
0.455218
0.419134
0
0.048733
0.118031
7,515
213
874
35.28169
0.766596
0.044977
0
0.57377
1
0.021858
0.229181
0.186916
0
0
0
0
0
1
0
false
0
0.038251
0
0.038251
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
3c0ba80aa7b23d5f5dbe48679d20a1ff3dec9067
610
py
Python
tmeister/health.py
CanopyTax/toggle-meister
7056336b525d93c430ce7b5ce30789748e272172
[ "Apache-2.0" ]
15
2016-07-15T15:13:40.000Z
2020-10-06T18:06:57.000Z
tmeister/health.py
CanopyTax/toggle-meister
7056336b525d93c430ce7b5ce30789748e272172
[ "Apache-2.0" ]
19
2016-09-14T18:19:59.000Z
2019-10-05T03:14:22.000Z
tmeister/health.py
nhumrich/toggle-meister
7056336b525d93c430ce7b5ce30789748e272172
[ "Apache-2.0" ]
9
2016-10-04T19:48:56.000Z
2020-07-01T16:11:17.000Z
# from aiohttp import web from starlette import responses from asyncpgsa import pg async def get_health(request): try: await pg.fetch('SELECT 42') except Exception: # Just making sure we can get a successful connection/query # if we cant, we are not healthy request.app.raven.c...
30.5
77
0.680328
74
610
5.567568
0.72973
0.072816
0.15534
0
0
0
0
0
0
0
0
0.010776
0.239344
610
19
78
32.105263
0.877155
0.280328
0
0
0
0
0.12212
0
0
0
0
0
0
1
0
true
0
0.181818
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
3c0cfb9986819c3e09b0abf3400726176fe83b4b
499
py
Python
day05/socket_study/server.py
zhangyage/Python-oldboy
a95c1b465929e2be641e425fcb5e15b366800831
[ "Apache-2.0" ]
1
2020-06-04T08:44:09.000Z
2020-06-04T08:44:09.000Z
day05/socket_study/server.py
zhangyage/Python-oldboy
a95c1b465929e2be641e425fcb5e15b366800831
[ "Apache-2.0" ]
null
null
null
day05/socket_study/server.py
zhangyage/Python-oldboy
a95c1b465929e2be641e425fcb5e15b366800831
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding:utf-8 -*- ''' 模仿socket的客户端 和client.py配合使用 ''' import socket sk = socket.socket() #创建socket类的实例 ip_port = ('127.0.0.1',9000) sk.bind(ip_port) #绑定地址和端口 sk.listen(5) #上面是服务端的绑定设置 while True: conn,address = sk.accept() #等待客户端连接 conn.send('Hello,client...
16.633333
45
0.559118
63
499
4.396825
0.698413
0.043321
0
0
0
0
0
0
0
0
0
0.04507
0.288577
499
29
46
17.206897
0.735211
0.156313
0
0
0
0
0.071809
0
0
0
0
0
0
0
null
null
0
0.0625
null
null
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
1
0
0
0
0
0
0
0
0
1
3c10c0b19edb9f2941362d00b6b0155b7b1a4205
891
py
Python
service/Runtime.py
sola1993/inmoov
34e7bb6e214bd9bf3eee808c19f0ab09ec79345f
[ "Apache-2.0" ]
1
2021-02-24T17:05:52.000Z
2021-02-24T17:05:52.000Z
src/resource/Python/examples/Runtime.py
DarkRebel/myrobotlab
b8cf60776bdb4aef2d7dd763dfcdcf8ef99bc955
[ "Apache-2.0" ]
null
null
null
src/resource/Python/examples/Runtime.py
DarkRebel/myrobotlab
b8cf60776bdb4aef2d7dd763dfcdcf8ef99bc955
[ "Apache-2.0" ]
1
2021-02-24T17:05:56.000Z
2021-02-24T17:05:56.000Z
# fun with Runtime :) # install and/or update the Arduino service runtime.update("org.myrobotlab.service.Arduino") # install and/or update the OpenCV service runtime.update("org.myrobotlab.service.OpenCV") # install and/or update everything runtime.updateAll() # update the bleeding edge myrobotlab.jar runtime.update...
25.457143
55
0.783389
117
891
5.965812
0.521368
0.068768
0.051576
0.077364
0.174785
0.114613
0
0
0
0
0
0.003886
0.133558
891
35
56
25.457143
0.900259
0.534231
0
0
0
0
0.182045
0.147132
0
0
0
0
0
0
null
null
0
0
null
null
0.333333
0
0
0
null
0
0
0
0
0
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
3c16bf50661859bd63936296776dab26af249a18
11,558
py
Python
genda/plotting/plotting_utils.py
jeffhsu3/genda
5adbb5b5620c592849fa4a61126b934e1857cd77
[ "BSD-3-Clause" ]
5
2016-01-12T15:12:18.000Z
2022-02-10T21:57:39.000Z
genda/plotting/plotting_utils.py
jeffhsu3/genda
5adbb5b5620c592849fa4a61126b934e1857cd77
[ "BSD-3-Clause" ]
5
2015-01-20T04:22:50.000Z
2018-10-02T19:39:12.000Z
genda/plotting/plotting_utils.py
jeffhsu3/genda
5adbb5b5620c592849fa4a61126b934e1857cd77
[ "BSD-3-Clause" ]
1
2022-03-04T06:49:39.000Z
2022-03-04T06:49:39.000Z
""" Functions for adding to an axis. Most functions here require passing in an axis object from matplotlib """ from collections import defaultdict import re import matplotlib.patches as patches from matplotlib.path import Path import numpy as np import pandas as pd from genda.formats import grab_gene_location def c...
30.657825
80
0.514276
1,550
11,558
3.728387
0.187742
0.003807
0.016612
0.022149
0.256965
0.234643
0.197958
0.190517
0.190517
0.17529
0
0.030809
0.356896
11,558
376
81
30.739362
0.74667
0.127444
0
0.354717
0
0
0.016287
0
0
0
0
0.015957
0
1
0.067925
false
0.018868
0.026415
0
0.109434
0.007547
0
0
0
null
0
0
0
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
3c244e0464dd3b85356e1df44b54c9a0f421d469
823
py
Python
Data/migrations/0002_websitetechmodel.py
p4sschen/Toy4Recon
e4fa6a512b238cca6d6d072ed5c66899de60bb06
[ "MIT" ]
1
2020-12-16T13:14:05.000Z
2020-12-16T13:14:05.000Z
Data/migrations/0002_websitetechmodel.py
p4sschen/Toy4Recon
e4fa6a512b238cca6d6d072ed5c66899de60bb06
[ "MIT" ]
null
null
null
Data/migrations/0002_websitetechmodel.py
p4sschen/Toy4Recon
e4fa6a512b238cca6d6d072ed5c66899de60bb06
[ "MIT" ]
null
null
null
# Generated by Django 2.2.1 on 2019-05-08 14:56 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('Data', '0001_initial'), ] operations = [ migrations.CreateModel( name='WebsiteTechModel', fields=[ ('...
34.291667
114
0.580802
87
823
5.402299
0.586207
0.095745
0.12766
0.153191
0.280851
0.280851
0.280851
0.280851
0.280851
0
0
0.050336
0.27582
823
23
115
35.782609
0.738255
0.054678
0
0
1
0
0.083763
0
0
0
0
0
0
1
0
false
0
0.055556
0
0.222222
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3c2d3a8a21426888ff97d0c372df875c87376066
2,321
py
Python
proj05_hangman/proj05_hangman.py
tristank23/vsa2018-
744d45869a98b6efd662be56fe3b082d56bfdf01
[ "MIT" ]
null
null
null
proj05_hangman/proj05_hangman.py
tristank23/vsa2018-
744d45869a98b6efd662be56fe3b082d56bfdf01
[ "MIT" ]
null
null
null
proj05_hangman/proj05_hangman.py
tristank23/vsa2018-
744d45869a98b6efd662be56fe3b082d56bfdf01
[ "MIT" ]
null
null
null
# Name: # Date: # proj05: Hangman # ----------------------------------- # Helper code # (you don't need to understand this helper code) import random import string WORDLIST_FILENAME = "words.txt" def load_words(): """ Returns a list of valid words. Words are strings of lowercase letters. Depending...
21.293578
75
0.608358
307
2,321
4.534202
0.387622
0.038793
0.025862
0.018678
0.031609
0
0
0
0
0
0
0.008787
0.264541
2,321
108
76
21.490741
0.806678
0.168462
0
0.192308
0
0
0.194685
0
0
0
0
0
0
0
null
null
0
0.038462
null
null
0.192308
0
0
0
null
0
0
0
0
0
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
3c3092a2ea87dd6c586ec7b6dcf6c5f50c2ad297
365
py
Python
setup.py
dirkbaechle/pyvctrl
b399dbe47af6fb88a7dac4279ad38360ca58538b
[ "MIT" ]
null
null
null
setup.py
dirkbaechle/pyvctrl
b399dbe47af6fb88a7dac4279ad38360ca58538b
[ "MIT" ]
null
null
null
setup.py
dirkbaechle/pyvctrl
b399dbe47af6fb88a7dac4279ad38360ca58538b
[ "MIT" ]
null
null
null
#!/usr/bin/env python from setuptools import setup setup(name='pyvctrl', version='1.0', description='A simple Python wrapper for the vcontrold/vclient programs', author='Dirk Baechle', author_email='dl9obn@darc.de', url='https://github.com/dirkbaechle/pyvctrl', packages=['pyvctrl']...
26.071429
79
0.652055
43
365
5.511628
0.837209
0
0
0
0
0
0
0
0
0
0
0.010309
0.20274
365
13
80
28.076923
0.804124
0.054795
0
0
0
0
0.447674
0
0
0
0
0
0
1
0
true
0
0.1
0
0.1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
3c31461081e2bd4f8f786bc73459ac6b5864390a
2,916
py
Python
app/seveneleven/helpers/email_helpers.py
C3real-kill3r/Seven_elleven
16aef4ab9a73e23ee47ef345315f30304a51bb3e
[ "MIT" ]
2
2019-04-12T14:15:24.000Z
2019-04-15T17:06:10.000Z
app/seveneleven/helpers/email_helpers.py
C3real-kill3r/Seven_elleven
16aef4ab9a73e23ee47ef345315f30304a51bb3e
[ "MIT" ]
3
2019-03-22T08:48:50.000Z
2019-03-27T07:47:28.000Z
app/seveneleven/helpers/email_helpers.py
C3real-kill3r/Seven_elleven
16aef4ab9a73e23ee47ef345315f30304a51bb3e
[ "MIT" ]
1
2019-04-15T17:06:20.000Z
2019-04-15T17:06:20.000Z
import os from django.contrib.auth.tokens import default_token_generator from django.template.loader import render_to_string from django.core.mail import EmailMultiAlternatives from django.utils.http import urlsafe_base64_encode from django.utils.encoding import force_bytes from django.utils.html import strip_tags c...
35.560976
118
0.590878
311
2,916
5.302251
0.289389
0.03396
0.038205
0.018193
0.571255
0.571255
0.533657
0.533657
0.488781
0.488781
0
0.004055
0.323388
2,916
81
119
36
0.831728
0.071331
0
0.666667
0
0
0.107881
0.030604
0
0
0
0
0
1
0.052632
false
0.052632
0.122807
0
0.263158
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
3c33382b05c0e03a8563e85475a17ce001c13b2a
1,783
py
Python
qingmu_mall/celery_tasks/sms/aliyunsms/smscode.py
muqingcloud/qingmu_project
9c6cf1260006909329de27323a19ab034075aea2
[ "MIT" ]
null
null
null
qingmu_mall/celery_tasks/sms/aliyunsms/smscode.py
muqingcloud/qingmu_project
9c6cf1260006909329de27323a19ab034075aea2
[ "MIT" ]
null
null
null
qingmu_mall/celery_tasks/sms/aliyunsms/smscode.py
muqingcloud/qingmu_project
9c6cf1260006909329de27323a19ab034075aea2
[ "MIT" ]
null
null
null
# TODO 阿里云短信验证码服务类,构建类时请传入字符串类型的手机号和验证码 import sys from typing import List from alibabacloud_dysmsapi20170525 import models as dysmsapi_20170525_models from alibabacloud_dysmsapi20170525.client import Client as Dysmsapi20170525Client from alibabacloud_tea_openapi import models as open_api_models class Sample(object)...
29.716667
81
0.638811
177
1,783
6.129944
0.440678
0.04977
0.030415
0
0
0
0
0
0
0
0
0.0777
0.278183
1,783
59
82
30.220339
0.765346
0.182838
0
0.064516
0
0
0.05538
0.016614
0
0
0
0.033898
0
1
0.096774
false
0.032258
0.16129
0
0.354839
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
3c3cd9635cfad6d9f6fd9d637efd83ff2623c6bd
1,255
py
Python
backend/professors.py
vinztheprinze99/ADE-Scheduler
dee1e1f7e55e637452f8f32175da454a954e13cd
[ "MIT" ]
16
2019-09-20T15:33:46.000Z
2021-09-14T22:34:39.000Z
backend/professors.py
vinztheprinze99/ADE-Scheduler
dee1e1f7e55e637452f8f32175da454a954e13cd
[ "MIT" ]
271
2020-09-15T10:18:19.000Z
2021-11-08T20:40:03.000Z
backend/professors.py
vinztheprinze99/ADE-Scheduler
dee1e1f7e55e637452f8f32175da454a954e13cd
[ "MIT" ]
7
2020-05-05T12:44:32.000Z
2021-09-11T08:22:42.000Z
from typing import Iterable, Optional class Professor: """ A professor is one or many people in charge of a given academical event. :param name: the name(s) :type name: str :param email: the email(s) :type email: Optional[str] """ def __init__(self, name: str, email: Optional[str] = ...
27.282609
86
0.627092
156
1,255
4.980769
0.365385
0.041184
0.041184
0.061776
0
0
0
0
0
0
0
0.007479
0.254183
1,255
45
87
27.888889
0.82265
0.392032
0
0.117647
0
0
0.046784
0
0
0
0
0
0
1
0.176471
false
0
0.058824
0
0.529412
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
3c3e5fb57df1e1ca360c086b53d882dbba8920b5
929
py
Python
Step1-PythonBasic/Practices/yuxq/26-30/ex28.py
Jumpers/MysoftAutoTest
50efc385a96532fc0777061d6c5e7201a4991f04
[ "Apache-2.0" ]
null
null
null
Step1-PythonBasic/Practices/yuxq/26-30/ex28.py
Jumpers/MysoftAutoTest
50efc385a96532fc0777061d6c5e7201a4991f04
[ "Apache-2.0" ]
null
null
null
Step1-PythonBasic/Practices/yuxq/26-30/ex28.py
Jumpers/MysoftAutoTest
50efc385a96532fc0777061d6c5e7201a4991f04
[ "Apache-2.0" ]
null
null
null
#coding=utf-8 i=0 #统计回答正确的个数 j=0 #统计回答错误的个数 a1=(True and True) b1=input("'True and True' is (True or False):") if a1==b1: print "YES,you are right!" i+=1 else: print "NO,'True and True' is %r" % a1 j+=1 a2=(False and True ) b2=input("'False and True' is (1 or 0):") if (b2==1)==a2: ...
22.658537
61
0.503767
169
929
2.769231
0.254438
0.029915
0.076923
0.055556
0.136752
0.136752
0.136752
0.136752
0.136752
0.136752
0
0.10687
0.294941
929
41
61
22.658537
0.607634
0.032293
0
0.222222
0
0
0.290548
0
0
0
0
0
0
0
null
null
0
0
null
null
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
3c413406979473a8e7fd0b6224b2f0b039f62f03
827
py
Python
Python learn scripts/practice26_02_20_tkinder.py
Akshaychdev/Python-Scripts-Notebooks
f4246c0d7310abaf0b88c4e0f45807d5ab004d88
[ "MIT" ]
null
null
null
Python learn scripts/practice26_02_20_tkinder.py
Akshaychdev/Python-Scripts-Notebooks
f4246c0d7310abaf0b88c4e0f45807d5ab004d88
[ "MIT" ]
null
null
null
Python learn scripts/practice26_02_20_tkinder.py
Akshaychdev/Python-Scripts-Notebooks
f4246c0d7310abaf0b88c4e0f45807d5ab004d88
[ "MIT" ]
null
null
null
from tkinter import * from tkinter import messagebox my_window = Tk() #MY WINDOW TILTLE = MY PROJECT my_window.title("MY PROJECT") def LOGIN_INFO(): messegebox.showinfo("ThankYou") #Adding image ''' my_photo = PhotoImage(file = "my_tkinder.jpg") Label(my_window,image=my_photo,bg="black").grid(row=0,column=0,s...
25.84375
87
0.741233
131
827
4.526718
0.427481
0.148398
0.065767
0.057336
0.074199
0
0
0
0
0
0
0.050938
0.097944
827
31
88
26.677419
0.743968
0.152358
0
0
0
0
0.121693
0
0
0
0
0
0
1
0.076923
false
0.153846
0.153846
0
0.230769
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
3c439d00e4ea8fc3d1373313e701507a4a16c62d
880
py
Python
utils/dimac_2_csr.py
Chiroptera/QCThesis
b5700c9f8fda317211f494c8663e268e85a4ba70
[ "MIT" ]
2
2015-05-12T22:05:17.000Z
2016-03-09T06:55:51.000Z
utils/dimac_2_csr.py
Chiroptera/QCThesis
b5700c9f8fda317211f494c8663e268e85a4ba70
[ "MIT" ]
null
null
null
utils/dimac_2_csr.py
Chiroptera/QCThesis
b5700c9f8fda317211f494c8663e268e85a4ba70
[ "MIT" ]
null
null
null
import sys def convert_dimac_2_csr(readfile, writefile): with open(readfile, "r") as rfile: with open(writefile, "w") as wfile: # read cluster lines for graph_line in rfile: if "c " in graph_line: continue if "p " in graph_line: ...
27.5
67
0.510227
102
880
4.196078
0.470588
0.10514
0.077103
0.074766
0.252336
0.154206
0
0
0
0
0
0.011194
0.390909
880
32
68
27.5
0.787313
0.020455
0
0.08
0
0
0.0964
0
0
0
0
0
0
0
null
null
0
0.04
null
null
0.12
0
0
0
null
0
0
0
0
0
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
3c4664e2017a97459d071d13891e61cfa5d8222a
651
py
Python
survey/helpers.py
ThatClyde/django-resnet-survey
ecbe54ba6b48741aef1d7acac9102bbc1ec691f9
[ "MIT" ]
5
2015-01-22T19:43:35.000Z
2020-10-06T19:48:51.000Z
survey/helpers.py
ThatClyde/django-resnet-survey
ecbe54ba6b48741aef1d7acac9102bbc1ec691f9
[ "MIT" ]
1
2017-04-21T09:02:44.000Z
2017-04-21T09:02:44.000Z
survey/helpers.py
ThatClyde/django-resnet-survey
ecbe54ba6b48741aef1d7acac9102bbc1ec691f9
[ "MIT" ]
2
2017-09-09T04:48:28.000Z
2021-04-06T16:46:25.000Z
from __future__ import division from datetime import timedelta, datetime, tzinfo if not hasattr(timedelta, 'total_seconds'): def total_seconds(td): "Return the total number of seconds contained in the duration for Python 2.6 and under." return (td.microseconds + (td.seconds + td.days * 86400) * 1e...
32.55
96
0.745008
89
651
5.314607
0.595506
0.10148
0.088795
0.088795
0
0
0
0
0
0
0
0.02037
0.170507
651
19
97
34.263158
0.855556
0.308756
0
0
0
0
0.185047
0
0
0
0
0
0
1
0.076923
false
0
0.307692
0
0.461538
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
3c47447be7e54c9863beb6615cd8982a03860fbe
483
py
Python
speechdb/migrations/0019_work_lang.py
bmverhel/dices
6ed1de81469616093ec1b4b00a6c88fa94ab84a1
[ "MIT" ]
null
null
null
speechdb/migrations/0019_work_lang.py
bmverhel/dices
6ed1de81469616093ec1b4b00a6c88fa94ab84a1
[ "MIT" ]
1
2021-07-06T14:05:46.000Z
2021-07-06T14:05:46.000Z
speechdb/migrations/0019_work_lang.py
bmverhel/dices
6ed1de81469616093ec1b4b00a6c88fa94ab84a1
[ "MIT" ]
3
2021-05-26T14:10:00.000Z
2021-07-06T13:45:11.000Z
# Generated by Django 3.1.8 on 2021-06-21 13:53 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('speechdb', '0018_auto_20210621_0958'), ] operations = [ migrations.AddField( model_name='work', name='lang', ...
24.15
116
0.590062
52
483
5.365385
0.788462
0
0
0
0
0
0
0
0
0
0
0.090395
0.267081
483
19
117
25.421053
0.69774
0.093168
0
0
1
0
0.146789
0.052752
0
0
0
0
0
1
0
false
0
0.076923
0
0.307692
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3c4b7fe17581969ebe452f61c8b13f242562cf6e
552
py
Python
backend/migrations/0024_auto_20200425_1145.py
Software-Engineering-Bachelor-Project/mycroft
8ca3b6bfaa7b573f67def06c637f3c57838440a4
[ "MIT" ]
5
2020-03-01T11:17:09.000Z
2021-07-08T20:45:47.000Z
backend/migrations/0024_auto_20200425_1145.py
Software-Engineering-Bachelor-Project/mycroft
8ca3b6bfaa7b573f67def06c637f3c57838440a4
[ "MIT" ]
245
2020-03-28T11:59:12.000Z
2020-05-26T10:05:22.000Z
backend/migrations/0024_auto_20200425_1145.py
Software-Engineering-Bachelor-Project/mycroft
8ca3b6bfaa7b573f67def06c637f3c57838440a4
[ "MIT" ]
5
2020-02-03T08:15:13.000Z
2020-04-15T07:22:47.000Z
# Generated by Django 3.0.3 on 2020-04-25 09:45 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('backend', '0023_camera_name'), ] operations = [ migrations.RemoveConstraint( model_name='camera', name='position con...
25.090909
126
0.610507
53
552
6.283019
0.641509
0.06006
0.09009
0
0
0
0
0
0
0
0
0.047146
0.269928
552
21
127
26.285714
0.779156
0.081522
0
0.266667
1
0
0.20396
0
0
0
0
0
0
1
0
false
0
0.066667
0
0.266667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3c4b8838addec446cfc8b6e4b17c9b5187b9f1e7
314
py
Python
api/app.py
Pratheebhak/Digitize-Docs
14521b2687011927b016f7eebef12f145b4fa894
[ "FTL" ]
1
2020-12-30T14:15:24.000Z
2020-12-30T14:15:24.000Z
api/app.py
Pratheebhak/Digitize-Docs
14521b2687011927b016f7eebef12f145b4fa894
[ "FTL" ]
null
null
null
api/app.py
Pratheebhak/Digitize-Docs
14521b2687011927b016f7eebef12f145b4fa894
[ "FTL" ]
1
2021-03-06T04:54:26.000Z
2021-03-06T04:54:26.000Z
""" API for the model """ from flask import Flask, request, jsonify # Create a Flask API app = Flask(__name__) app.config["DEBUG"] = True # Create Routes @app.route('/', methods=['GET']) def home(): return "<h1>Handwritten Label Extraction on Botanical Images</h1>" if __name__ = '__main__': app.run()
19.625
70
0.671975
43
314
4.627907
0.767442
0
0
0
0
0
0
0
0
0
0
0.007692
0.171975
314
16
71
19.625
0.757692
0.101911
0
0
0
0
0.290196
0
0
0
0
0
0
0
null
null
0
0.125
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
3c529eac0bd1ec0e4ae95808f0d17f67b02484f6
1,630
py
Python
users/tests/test_urls.py
ahmedemad3965/Koshkie-Server
7c361a31c5225c6ad649fcf92e323bdb10cc4c16
[ "MIT" ]
4
2020-02-26T17:17:17.000Z
2022-01-15T04:43:36.000Z
users/tests/test_urls.py
Gilles00/Koshkie-Server
01bb28b88c52461d475535e8cea7780cc343f07d
[ "MIT" ]
2
2020-05-28T12:07:57.000Z
2020-06-06T16:35:44.000Z
users/tests/test_urls.py
ahmedemad3965/Koshkie-Server
7c361a31c5225c6ad649fcf92e323bdb10cc4c16
[ "MIT" ]
3
2020-03-29T00:29:40.000Z
2020-04-28T20:07:16.000Z
# Copyright (c) Code Written and Tested by Ahmed Emad in 02/02/2020, 00:34 from django.test import TestCase from django.urls import reverse, resolve from users.views import UserProfileView, user_login, UserAddressView class TestUsers(TestCase): """Test for the users urls""" def test_signup(self): ...
37.045455
89
0.633742
187
1,630
5.278075
0.294118
0.049645
0.055724
0.091185
0.45998
0.269504
0.269504
0.269504
0.269504
0.115502
0
0.010359
0.230061
1,630
43
90
37.906977
0.776096
0.165644
0
0.166667
0
0
0.126133
0.016616
0
0
0
0
0.208333
1
0.208333
false
0
0.125
0
0.416667
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
3c5408059974860cc95cd576d7e7e6f5e43f1a17
3,525
py
Python
harbinger/plugins/relcheck_cfitsio.py
rendinam/harbinger
1a61362900b378adbde3994b2053ce023a6abbcb
[ "BSD-3-Clause" ]
1
2019-06-05T16:13:29.000Z
2019-06-05T16:13:29.000Z
harbinger/plugins/relcheck_cfitsio.py
rendinam/harbinger
1a61362900b378adbde3994b2053ce023a6abbcb
[ "BSD-3-Clause" ]
5
2020-12-08T18:30:25.000Z
2020-12-30T17:59:59.000Z
harbinger/plugins/relcheck_cfitsio.py
rendinam/harbinger
1a61362900b378adbde3994b2053ce023a6abbcb
[ "BSD-3-Clause" ]
2
2019-06-05T16:55:57.000Z
2020-12-31T03:43:27.000Z
# cfitsio-specific version update checker import os import urllib.request import tarfile import copy from ..plugins import plugin class plugin(plugin.Plugin): def __init__(self, params, ref_ver_data, tarball=None): '''Download and extract key files from source tarball. Read in header file. ...
37.903226
91
0.579007
422
3,525
4.680095
0.303318
0.046076
0.035443
0.035443
0.213671
0.173165
0.131646
0.067848
0.038481
0
0
0.002971
0.331631
3,525
92
92
38.315217
0.835314
0.160284
0
0.171429
0
0
0.129375
0.015443
0
0
0
0.01087
0
1
0.057143
false
0
0.071429
0.014286
0.157143
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
3c57053f839e1aad93d8d5a46a29a57a80237029
1,875
py
Python
DataStructures/AvlTree.py
nvkhedkar/python-code
a66f383368388953f9d01a46b45fcac69c06543d
[ "Apache-2.0" ]
null
null
null
DataStructures/AvlTree.py
nvkhedkar/python-code
a66f383368388953f9d01a46b45fcac69c06543d
[ "Apache-2.0" ]
null
null
null
DataStructures/AvlTree.py
nvkhedkar/python-code
a66f383368388953f9d01a46b45fcac69c06543d
[ "Apache-2.0" ]
null
null
null
import math class AvlTree: class Node: def __init__(self, v=None): self.value = v self.left = None self.right = None self.height = 0 def __init__(self): self.root = None def insert(self, value): self.root = self.insertr(self.root, va...
25
81
0.568533
238
1,875
4.361345
0.214286
0.084778
0.046243
0.037572
0.038536
0
0
0
0
0
0
0.009434
0.3216
1,875
74
82
25.337838
0.806604
0
0
0.051724
0
0
0.053333
0.0112
0
0
0
0
0
1
0.206897
false
0
0.017241
0.051724
0.344828
0.034483
0
0
0
null
0
0
0
0
0
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
3c5a5db2af0178fc0d8b064006873c13964397f1
577
py
Python
json_parser.py
TibiGG/StoryTellyStoryGenerator
979983c11c34bb558a30322e605fecf6b8a2b388
[ "MIT" ]
null
null
null
json_parser.py
TibiGG/StoryTellyStoryGenerator
979983c11c34bb558a30322e605fecf6b8a2b388
[ "MIT" ]
null
null
null
json_parser.py
TibiGG/StoryTellyStoryGenerator
979983c11c34bb558a30322e605fecf6b8a2b388
[ "MIT" ]
null
null
null
# Python program to demonstrate # Conversion of JSON data to # dictionary# importing the module import json # Opening JSON file with open('stories.json') as json_file: data = json.load(json_file) # for reading nested data [0] represents # the index value of the list print(data['dictionary'][0]) # for pr...
36.0625
73
0.668977
84
577
4.571429
0.511905
0.0625
0.0625
0
0
0
0
0
0
0
0
0.004444
0.220104
577
15
74
38.466667
0.848889
0.428076
0
0
0
0
0.31875
0
0
0
0
0
0
1
0
false
0
0.111111
0
0.111111
0.555556
0
0
0
null
0
0
0
0
0
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
3c6149f84ed6ce75cd2c2f2b23b90bc988babdfa
7,426
py
Python
AD3/python/example_tree_budget.py
Noahs-ARK/SPIGOT
f1e74019cb568420aacd7e30e21064756c725ca1
[ "MIT" ]
21
2018-05-19T09:58:49.000Z
2022-02-27T13:07:51.000Z
AD3/python/example_tree_budget.py
Noahs-ARK/SPIGOT
f1e74019cb568420aacd7e30e21064756c725ca1
[ "MIT" ]
1
2019-05-02T03:36:48.000Z
2019-05-02T03:36:48.000Z
AD3/python/example_tree_budget.py
Noahs-ARK/SPIGOT
f1e74019cb568420aacd7e30e21064756c725ca1
[ "MIT" ]
3
2019-04-16T20:46:40.000Z
2019-08-26T09:57:14.000Z
import itertools import numpy as np import matplotlib.pyplot as plt import pdb import ad3.factor_graph as fg num_nodes = 5 #30 max_num_states = 2 #5 lower_bound = 3 #5 # Minimum number of zeros. upper_bound = 4 #10 # Maximum number of zeros. # Create a random tree. max_num_children = 5 parents = [-1] * num_nodes ava...
33.004444
93
0.684622
1,070
7,426
4.485981
0.127103
0.054375
0.050417
0.0375
0.521458
0.417083
0.375208
0.347292
0.310625
0.254167
0
0.013728
0.195664
7,426
224
94
33.151786
0.789888
0.071506
0
0.342697
0
0
0.018055
0.004368
0
0
0
0
0
0
null
null
0
0.02809
null
null
0.022472
0
0
0
null
0
0
0
0
0
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
3c66c0fb126184b2c37313533ecb3855ef6ea0ad
881
py
Python
keylogger.py
dasithsv/python4pentesters
b4b7845f5c0f844d3309a62a365819658a2bbe6c
[ "MIT" ]
1
2022-03-28T18:15:59.000Z
2022-03-28T18:15:59.000Z
keylogger.py
dasithsv/python4pentesters
b4b7845f5c0f844d3309a62a365819658a2bbe6c
[ "MIT" ]
null
null
null
keylogger.py
dasithsv/python4pentesters
b4b7845f5c0f844d3309a62a365819658a2bbe6c
[ "MIT" ]
null
null
null
#!/usr/bin/python3 import os import pyxhook # this will save the keylogs to /tmp log_file = os.environ.get( 'pylogger_file', os.path.expanduser('/tmp/file.log') ) cancel_key = ord( os.environ.get( 'pylogger_cancel', '`' )[0] ) if os.environ.get('pylogger_clean', None) is not None: ...
18.354167
57
0.633371
121
881
4.504132
0.545455
0.051376
0.066055
0.110092
0.117431
0.117431
0.117431
0.117431
0.117431
0.117431
0
0.00295
0.23042
881
47
58
18.744681
0.800885
0.097616
0
0.1875
0
0
0.126263
0
0
0
0
0
0
1
0.03125
false
0.0625
0.0625
0
0.09375
0.03125
0
0
0
null
0
0
0
0
0
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
3c70717d2da10f1522f9a3f03875f71fe6e7e96f
1,181
py
Python
ensenso_camera_test/test/locate_multiple_patterns.py
isys-vision/ros_driver
dafd3ba54bcbf20f440785ab2d66f04452095edb
[ "BSD-3-Clause" ]
18
2017-12-13T18:38:59.000Z
2021-10-21T04:00:01.000Z
ensenso_camera_test/test/locate_multiple_patterns.py
isys-vision/ros_driver
dafd3ba54bcbf20f440785ab2d66f04452095edb
[ "BSD-3-Clause" ]
64
2017-11-11T09:17:59.000Z
2022-03-29T15:37:43.000Z
ensenso_camera_test/test/locate_multiple_patterns.py
isys-vision/ros_driver
dafd3ba54bcbf20f440785ab2d66f04452095edb
[ "BSD-3-Clause" ]
26
2017-11-16T13:13:44.000Z
2022-03-22T11:33:15.000Z
#!/usr/bin/env python import rospy import rostest import unittest import actionlib from actionlib_msgs.msg import GoalStatus from ensenso_camera_msgs.msg import LocatePatternAction, LocatePatternGoal class TestLocatePattern(unittest.TestCase): def setUp(self): self.locate_pattern_client = actionlib.Simp...
33.742857
104
0.759526
135
1,181
6.311111
0.42963
0.106808
0.119718
0.161972
0.194836
0.070423
0
0
0
0
0
0.003009
0.1558
1,181
34
105
34.735294
0.851555
0.016935
0
0
0
0
0.085345
0.05
0
0
0
0
0.2
1
0.08
false
0.04
0.24
0
0.36
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3c7994a531d34886957019ba6a887b4f081b50da
1,014
py
Python
legacy/tests/functional/yaml_schema_test.py
hashnfv/hashnfv-qtip
2c79d3361fdb1fcbe67682f8a205011b3ccf5e72
[ "Apache-2.0" ]
null
null
null
legacy/tests/functional/yaml_schema_test.py
hashnfv/hashnfv-qtip
2c79d3361fdb1fcbe67682f8a205011b3ccf5e72
[ "Apache-2.0" ]
null
null
null
legacy/tests/functional/yaml_schema_test.py
hashnfv/hashnfv-qtip
2c79d3361fdb1fcbe67682f8a205011b3ccf5e72
[ "Apache-2.0" ]
null
null
null
############################################################################## # Copyright (c) 2017 ZTE Corporation and others. # # All rights reserved. This program and the accompanying materials # are made available under the terms of the Apache License, Version 2.0 # which accompanies this distribution, and is avail...
40.56
78
0.531558
114
1,014
4.622807
0.596491
0.056926
0.045541
0.064516
0.102467
0.102467
0
0
0
0
0
0.010363
0.238659
1,014
24
79
42.25
0.67228
0.27712
0
0
0
0
0.14386
0.112281
0
0
0
0
0
0
null
null
0
0.214286
null
null
0.071429
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
3c8bccb75f5c1c07e335c5ea1b85b9a0920f734f
22,110
py
Python
Chinese_OCR_new.py
heilongjiangjs/GeetChinese_crack
9654fdd5ca4b7990c5a9ccbffaf0b6a055f79b73
[ "MIT" ]
65
2019-04-26T02:54:55.000Z
2022-03-29T06:41:39.000Z
Chinese_OCR_new.py
MrDogshit/GeetChinese_crack
9654fdd5ca4b7990c5a9ccbffaf0b6a055f79b73
[ "MIT" ]
2
2019-06-26T04:00:38.000Z
2020-11-06T14:46:13.000Z
Chinese_OCR_new.py
MrDogshit/GeetChinese_crack
9654fdd5ca4b7990c5a9ccbffaf0b6a055f79b73
[ "MIT" ]
29
2019-04-26T02:53:58.000Z
2021-12-07T07:18:22.000Z
#! /usr/bin/env python # -*- coding: utf-8 -*- import os import tensorflow.contrib.slim as slim import time import logging import numpy as np import tensorflow as tf import pickle import cv2 logger = logging.getLogger('Training a chinese write char recognition') logger.setLevel(logging.INFO) ch = logging.StreamHandl...
46.158664
155
0.604794
2,742
22,110
4.641138
0.157185
0.010687
0.015716
0.023888
0.477683
0.420792
0.361858
0.326968
0.326968
0.326576
0
0.023611
0.260606
22,110
478
156
46.25523
0.754771
0.080733
0
0.346995
0
0.008197
0.139851
0.025341
0
0
0
0
0
0
null
null
0
0.021858
null
null
0.04918
0
0
0
null
0
0
0
0
0
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
3c8d30b26ee1eef9ed77a62226a603739333c921
454
py
Python
mycarehub/users/migrations/0018_termsofservice_flavour.py
savannahghi/mycarehub-backend
035471bf463d99ae7247cc25adc7062de681d9ea
[ "MIT" ]
1
2022-01-06T12:20:15.000Z
2022-01-06T12:20:15.000Z
mycarehub/users/migrations/0018_termsofservice_flavour.py
savannahghi/mycarehub-backend
035471bf463d99ae7247cc25adc7062de681d9ea
[ "MIT" ]
5
2021-11-07T11:01:13.000Z
2022-03-29T08:33:28.000Z
mycarehub/users/migrations/0018_termsofservice_flavour.py
savannahghi/mycarehub-backend
035471bf463d99ae7247cc25adc7062de681d9ea
[ "MIT" ]
1
2022-01-17T10:56:42.000Z
2022-01-17T10:56:42.000Z
# Generated by Django 3.2.9 on 2022-01-28 08:49 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('users', '0017_auto_20211123_1046'), ] operations = [ migrations.AddField( model_name='termsofservice', name='flavour...
23.894737
113
0.601322
49
454
5.469388
0.836735
0
0
0
0
0
0
0
0
0
0
0.097633
0.255507
454
18
114
25.222222
0.695266
0.099119
0
0
1
0
0.174447
0.056511
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
3c93fa8b358916cc4d90303bf87366ea5bb0a0ab
1,860
py
Python
pydantic_ssm_settings/source.py
developmentseed/pydantic-ssm-settings
f8f7c5784a97e93d54c7ab056d6c959892429727
[ "MIT" ]
null
null
null
pydantic_ssm_settings/source.py
developmentseed/pydantic-ssm-settings
f8f7c5784a97e93d54c7ab056d6c959892429727
[ "MIT" ]
null
null
null
pydantic_ssm_settings/source.py
developmentseed/pydantic-ssm-settings
f8f7c5784a97e93d54c7ab056d6c959892429727
[ "MIT" ]
null
null
null
import os import logging from pathlib import Path from typing import TYPE_CHECKING, Any, Dict, Optional, Union from botocore.exceptions import ClientError from botocore.client import Config import boto3 from pydantic import BaseSettings, typing if TYPE_CHECKING: from mypy_boto3_ssm.client import SSMClient logg...
28.615385
78
0.658065
222
1,860
5.297297
0.382883
0.068878
0.055272
0.030612
0.059524
0.059524
0.059524
0
0
0
0
0.003564
0.245699
1,860
64
79
29.0625
0.83464
0.022043
0
0.046512
0
0
0.122563
0.028969
0
0
0
0
0
1
0.116279
false
0
0.209302
0.046512
0.511628
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
3c944aa0145e0a88ae9195526fcf7df1bba25972
1,448
py
Python
networking_powervm/plugins/ibm/agent/powervm/exceptions.py
openstack/networking-powervm
a00fc731b14bd3ef953fe4cffdc74c8e441c0e13
[ "Apache-2.0" ]
18
2015-09-30T21:40:59.000Z
2020-07-28T11:19:32.000Z
networking_powervm/plugins/ibm/agent/powervm/exceptions.py
stackforge/neutron-powervm
a00fc731b14bd3ef953fe4cffdc74c8e441c0e13
[ "Apache-2.0" ]
1
2021-05-09T06:13:24.000Z
2021-05-09T06:13:26.000Z
networking_powervm/plugins/ibm/agent/powervm/exceptions.py
openstack/networking-powervm
a00fc731b14bd3ef953fe4cffdc74c8e441c0e13
[ "Apache-2.0" ]
5
2015-11-27T08:08:29.000Z
2021-03-02T06:25:53.000Z
# Copyright 2015, 2017 IBM Corp. # # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless require...
38.105263
78
0.714779
189
1,448
5.449735
0.666667
0.058252
0.128155
0.031068
0
0
0
0
0
0
0
0.010499
0.210635
1,448
37
79
39.135135
0.890639
0.415055
0
0
0
0
0.493381
0
0
0
0
0
0
1
0
false
0
0.076923
0
0.692308
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
3c9534a9e8d21feff99651c2db80b29bec446357
150
py
Python
Taller Control de estructuras 2/Ejercicio_2.py
Majito17/Trabajos-Majo
88a5c814365686747d843ca3ce56b7ae694c98cb
[ "MIT" ]
null
null
null
Taller Control de estructuras 2/Ejercicio_2.py
Majito17/Trabajos-Majo
88a5c814365686747d843ca3ce56b7ae694c98cb
[ "MIT" ]
null
null
null
Taller Control de estructuras 2/Ejercicio_2.py
Majito17/Trabajos-Majo
88a5c814365686747d843ca3ce56b7ae694c98cb
[ "MIT" ]
null
null
null
""" for i in range(1,101,2): if(i%7==0): continue print(i) """ c=0 while c<=100: if(c%2!=0 and c%7!=0): print(c) c=c+1
13.636364
26
0.44
32
150
2.0625
0.5
0.060606
0
0
0
0
0
0
0
0
0
0.156863
0.32
150
11
27
13.636364
0.490196
0.466667
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3c9f06e1548c76385109f54104931639a93544a2
1,283
py
Python
src/pydap/tests/test_responses_error.py
Juanlu001/pydap
cbe37e2cbc0ede33c76344cfe438373a4adab3f3
[ "MIT" ]
83
2016-05-26T17:31:55.000Z
2022-03-24T20:57:59.000Z
src/pydap/tests/test_responses_error.py
Juanlu001/pydap
cbe37e2cbc0ede33c76344cfe438373a4adab3f3
[ "MIT" ]
237
2016-05-06T16:35:24.000Z
2022-03-17T17:59:28.000Z
src/pydap/tests/test_responses_error.py
Juanlu001/pydap
cbe37e2cbc0ede33c76344cfe438373a4adab3f3
[ "MIT" ]
70
2016-05-11T17:07:29.000Z
2022-03-01T17:48:53.000Z
import sys from webob import Request from pydap.responses.error import ErrorResponse from pydap.lib import __version__ import unittest class TestErrorResponse(unittest.TestCase): def setUp(self): # create an exception that would happen in runtime try: 1/0 except Exception: ...
28.511111
79
0.637568
152
1,283
5.263158
0.473684
0.07
0.1425
0.165
0.22875
0.09
0
0
0
0
0
0.010288
0.242401
1,283
44
80
29.159091
0.812757
0.037412
0
0.058824
0
0
0.223033
0
0
0
0
0
0.205882
1
0.176471
false
0
0.147059
0
0.352941
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
b1ba83d8496dd42a703b10829d5ff00ca4a2845e
1,927
py
Python
recipes/timsort/all/conanfile.py
marsven/conan-center-index
d8bb4ad617cee02d8664e8341fa32cdf702e4284
[ "MIT" ]
1
2021-11-11T03:07:13.000Z
2021-11-11T03:07:13.000Z
recipes/timsort/all/conanfile.py
marsven/conan-center-index
d8bb4ad617cee02d8664e8341fa32cdf702e4284
[ "MIT" ]
1
2022-03-09T06:33:41.000Z
2022-03-09T06:33:41.000Z
recipes/timsort/all/conanfile.py
marsven/conan-center-index
d8bb4ad617cee02d8664e8341fa32cdf702e4284
[ "MIT" ]
null
null
null
from conans import ConanFile, tools import os required_conan_version = ">=1.43.0" class TimsortConan(ConanFile): name = "timsort" description = "A C++ implementation of timsort" topics = ("timsort", "sorting", "algorithms") url = "https://github.com/conan-io/conan-center-index" homepage = "https:...
39.326531
97
0.670991
247
1,927
5.004049
0.376518
0.050971
0.080097
0.072816
0.358414
0.319579
0.288835
0.084142
0.084142
0.084142
0
0.006373
0.185781
1,927
48
98
40.145833
0.781389
0.036845
0
0
0
0
0.288026
0.038835
0
0
0
0.020833
0
1
0.162162
false
0
0.054054
0.027027
0.486486
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
b1bef5510fa13c84cc6b88706506c9d9da979d2d
3,854
py
Python
nbdev_template/core.py
Ai-Adventures/aiadv
9a6a66c6fccdfbad24737835f4deb5dbaf888429
[ "Apache-2.0" ]
1
2020-09-27T02:22:01.000Z
2020-09-27T02:22:01.000Z
nbdev_template/core.py
Ai-Adventures/aiadv
9a6a66c6fccdfbad24737835f4deb5dbaf888429
[ "Apache-2.0" ]
1
2022-02-26T08:36:56.000Z
2022-02-26T08:36:56.000Z
nbdev_template/core.py
Ai-Adventures/aiadv
9a6a66c6fccdfbad24737835f4deb5dbaf888429
[ "Apache-2.0" ]
null
null
null
# AUTOGENERATED! DO NOT EDIT! File to edit: 00_core.ipynb (unless otherwise specified). __all__ = ['Config', 'URLs', 'download_data', 'file_extract', 'download_file_from_google_drive', 'untar_data'] # Cell import os import shutil import requests from pathlib import Path from tqdm.notebook import tqdm import zipfile, ...
31.080645
110
0.629735
479
3,854
4.916493
0.308977
0.027601
0.027176
0.028025
0.149045
0.071338
0.048408
0.048408
0.048408
0.048408
0
0.011818
0.253503
3,854
124
111
31.080645
0.806743
0.076803
0
0.142857
1
0
0.149104
0.04101
0
0
0
0
0
1
0.098901
false
0
0.065934
0
0.32967
0.010989
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
b1c89da14048306a176be55f94b7fed45ad698cf
864
py
Python
tmach/tmach_def.py
cbchoi/tmach
87896dd489b391ca5c576d7045966570be04fd75
[ "MIT" ]
null
null
null
tmach/tmach_def.py
cbchoi/tmach
87896dd489b391ca5c576d7045966570be04fd75
[ "MIT" ]
null
null
null
tmach/tmach_def.py
cbchoi/tmach
87896dd489b391ca5c576d7045966570be04fd75
[ "MIT" ]
null
null
null
from enum import Enum, auto class StrEnum(Enum): def _generate_next_value(name, start, count, last_values): return name def __repr__(self): return self.name def __str__(self): return self.name class RegRegOpcode(StrEnum): HALT = auto() IN = auto() OUT = auto() ADD = auto() SUB = auto() MUL = auto() ...
16.615385
74
0.649306
122
864
4.434426
0.45082
0.066543
0.051756
0.066543
0
0
0
0
0
0
0
0.017417
0.202546
864
52
75
16.615385
0.767779
0
0
0.095238
1
0
0
0
0
0
0
0
0
1
0.095238
false
0
0.02381
0.071429
0.904762
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
b1d46b0dc79557cfb521f1f943dbbab1a0775dc4
7,299
py
Python
Mac/Analysisv10.py
hlmgreen/LeafPy
d816710cdd3d87adffe1095f348f0133e5479283
[ "Apache-2.0" ]
null
null
null
Mac/Analysisv10.py
hlmgreen/LeafPy
d816710cdd3d87adffe1095f348f0133e5479283
[ "Apache-2.0" ]
null
null
null
Mac/Analysisv10.py
hlmgreen/LeafPy
d816710cdd3d87adffe1095f348f0133e5479283
[ "Apache-2.0" ]
null
null
null
__author__ = 'markgreenwood' import Image from scipy import ndimage #import matplotlib.pyplot as pyp import scipy.stats from scipy import misc from scipy.ndimage import interpolation as inter import numpy as np import os import shutil import csv import warnings warnings.filterwarnings("ignore") DataDict = {} def set...
38.015625
140
0.600904
1,037
7,299
4.15622
0.33269
0.027842
0.02297
0.01949
0.060557
0.050348
0.019258
0.019258
0.019258
0.012993
0
0.061352
0.276476
7,299
191
141
38.21466
0.754781
0.169475
0
0.014388
0
0
0.115586
0.030536
0
0
0
0
0
0
null
null
0.007194
0.071942
null
null
0.035971
0
0
0
null
0
0
0
0
0
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
b1d9421646cc8f1cb167ece616c688fb13effe84
1,701
py
Python
tests/integration/document_test.py
RaduG/python-cloudant
d15ea5105ef99496768294c68405234ca5d8212f
[ "Apache-2.0" ]
187
2015-10-15T19:15:19.000Z
2021-12-22T14:19:37.000Z
tests/integration/document_test.py
RaduG/python-cloudant
d15ea5105ef99496768294c68405234ca5d8212f
[ "Apache-2.0" ]
402
2015-10-21T01:31:37.000Z
2022-01-17T11:21:45.000Z
tests/integration/document_test.py
RaduG/python-cloudant
d15ea5105ef99496768294c68405234ca5d8212f
[ "Apache-2.0" ]
67
2015-10-21T01:17:29.000Z
2022-03-09T10:16:06.000Z
#!/usr/bin/env python # Copyright (c) 2015 IBM. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required b...
27
79
0.677249
225
1,701
5.017778
0.537778
0.053144
0.031887
0.04783
0.092117
0.092117
0.092117
0.092117
0.092117
0.092117
0
0.01283
0.221046
1,701
62
80
27.435484
0.839245
0.40388
0
0.08
0
0
0.067692
0.027692
0
0
0
0
0.04
1
0.12
false
0.12
0.24
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
b1db1c5d95dfbcf3d5ca7258c8d3223cc35a54a2
627
py
Python
Password-Gen/pwned_check.py
FoxInTheClouds/Memorable-Password-Generator
dd14a850a4c1ee5e7069e9358056f975185748af
[ "MIT" ]
null
null
null
Password-Gen/pwned_check.py
FoxInTheClouds/Memorable-Password-Generator
dd14a850a4c1ee5e7069e9358056f975185748af
[ "MIT" ]
null
null
null
Password-Gen/pwned_check.py
FoxInTheClouds/Memorable-Password-Generator
dd14a850a4c1ee5e7069e9358056f975185748af
[ "MIT" ]
null
null
null
import requests import hashlib def pwned_check(password): password = password.encode() # Turns it into bytes hashed_password = hashlib.sha1(password).hexdigest() # Api recuires sha1 hash url = "https://api.pwnedpasswords.com/range/" + hashed_password[:5] # Sends first five ch...
26.125
83
0.634769
77
627
5.064935
0.61039
0.107692
0.076923
0
0
0
0
0
0
0
0
0.008639
0.261563
627
23
84
27.26087
0.833693
0.170654
0
0
0
0
0.077236
0
0
0
0
0
0
1
0.076923
false
0.384615
0.153846
0
0.307692
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
b1dbd18fdd5bfee548cd2915ce029a9a48472838
20,607
py
Python
realmparser/core/realmparser.py
maxnumbers/RealmParser
82b4e5c0a3bdf747c8e760bb158c06bad1291146
[ "MIT" ]
2
2021-07-21T16:49:00.000Z
2021-07-23T02:02:10.000Z
realmparser/core/realmparser.py
maxnumbers/RealmParser
82b4e5c0a3bdf747c8e760bb158c06bad1291146
[ "MIT" ]
null
null
null
realmparser/core/realmparser.py
maxnumbers/RealmParser
82b4e5c0a3bdf747c8e760bb158c06bad1291146
[ "MIT" ]
null
null
null
import configparser import os os.environ["KMP_DUPLICATE_LIB_OK"] = "True" from datetime import datetime from glob import glob from pprint import pprint from time import time import cv2 as cv import easyocr import numpy as np import pandas as pd START_TIME = time() def _path_exists(file_path: str): """Checks i...
35.407216
133
0.531664
2,397
20,607
4.363371
0.193158
0.012621
0.019505
0.020652
0.227364
0.192466
0.162157
0.135386
0.115307
0.080122
0
0.018061
0.365895
20,607
581
134
35.468158
0.782352
0.241908
0
0.218579
0
0.002732
0.130625
0.024094
0
0
0
0.010327
0
1
0.046448
false
0.019126
0.030055
0
0.136612
0.019126
0
0
0
null
0
0
0
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
b1dc19ca7d160c3449ced043db5a00cd5cc56530
382
py
Python
preco_venda/preco_venda.py
Arthurnevs/E2
8e27261335fa17dec3a40e3073b4ca2c47f86007
[ "Apache-2.0" ]
null
null
null
preco_venda/preco_venda.py
Arthurnevs/E2
8e27261335fa17dec3a40e3073b4ca2c47f86007
[ "Apache-2.0" ]
null
null
null
preco_venda/preco_venda.py
Arthurnevs/E2
8e27261335fa17dec3a40e3073b4ca2c47f86007
[ "Apache-2.0" ]
null
null
null
''' UFCG PROGRAMAÇÃO 1 JOSE ARTHUR NEVES DE BRITO - 119210204 PRECO DE VENDA ''' custo = float(input()) desp_indireta = float(input()) lucro_desj = float(input()) impostos = float(input()) comissao = float(input()) desc = float(input()) encargos = float(input()) preco = ((custo + desp_indireta + lucro_desj)*100) / ...
20.105263
100
0.685864
49
382
5.265306
0.489796
0.271318
0
0
0
0
0
0
0
0
0
0.049536
0.15445
382
18
101
21.222222
0.749226
0.191099
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.111111
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
b1dc245ea869ac6baf1ae9c68ff3c475aea54d27
528
py
Python
apps/dashboards/routes.py
wesleybeckner/truffletopia
574caf24b41126d3d71c45b49cfd44820c42fa7e
[ "MIT" ]
null
null
null
apps/dashboards/routes.py
wesleybeckner/truffletopia
574caf24b41126d3d71c45b49cfd44820c42fa7e
[ "MIT" ]
null
null
null
apps/dashboards/routes.py
wesleybeckner/truffletopia
574caf24b41126d3d71c45b49cfd44820c42fa7e
[ "MIT" ]
null
null
null
"""Routes for parent Flask app.""" from flask import render_template, redirect, url_for from flask import current_app as app @app.route('/') def home(): """Landing page.""" return render_template( 'index.jinja2', title='🍫 Truffletopia 🍭', description='Product Margin Analys...
27.789474
62
0.630682
64
528
5.15625
0.625
0.048485
0.090909
0
0
0
0
0
0
0
0
0.002463
0.231061
528
19
62
27.789474
0.805419
0.079545
0
0
0
0
0.286026
0
0
0
0
0
0
1
0.142857
true
0
0.142857
0.071429
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
1
0
0
0
0
0
0
1
b1e11a72cdab4a8a350acf8884c07d8402482527
3,362
py
Python
HW3/simulate/marketsim.py
ericsomdahl/compfiOne
fbe9540b8384a2c6cae66482d0cd0098a60404f3
[ "Unlicense" ]
1
2019-03-13T17:18:48.000Z
2019-03-13T17:18:48.000Z
HW3/simulate/marketsim.py
ericsomdahl/compfiOne
fbe9540b8384a2c6cae66482d0cd0098a60404f3
[ "Unlicense" ]
null
null
null
HW3/simulate/marketsim.py
ericsomdahl/compfiOne
fbe9540b8384a2c6cae66482d0cd0098a60404f3
[ "Unlicense" ]
2
2018-02-04T23:43:27.000Z
2019-11-04T00:42:55.000Z
__author__ = 'eric' from simulate.order_input import OrdersInput from simulate.market_struct import MarketStructure def simulate(df_market_struct, ls_symbols): num_trading_days = len(df_market_struct) #iterate over each trading day for day in xrange(num_trading_days): na_orders = df_market_struct...
42.025
107
0.687388
474
3,362
4.506329
0.251055
0.117978
0.111423
0.02809
0.367041
0.310393
0.217228
0.161985
0.161985
0.161985
0
0.006813
0.214158
3,362
80
108
42.025
0.801665
0.060083
0
0.135593
0
0.016949
0.131137
0
0
0
0
0
0
0
null
null
0.033898
0.067797
null
null
0.016949
0
0
0
null
0
0
0
0
0
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
b1ef88b86692a02152668b561223a42c3b70b077
1,631
py
Python
examples/async_strava_example.py
mixa2130/strava
d30e6a6c17b8aec704499e7c2b4493e1f0f8daf8
[ "MIT" ]
8
2021-07-17T03:25:52.000Z
2022-03-25T16:11:51.000Z
examples/async_strava_example.py
mixa2130/strava
d30e6a6c17b8aec704499e7c2b4493e1f0f8daf8
[ "MIT" ]
15
2021-04-20T14:24:34.000Z
2021-09-23T20:56:52.000Z
examples/async_strava_example.py
mixa2130/strava
d30e6a6c17b8aec704499e7c2b4493e1f0f8daf8
[ "MIT" ]
2
2021-07-17T03:27:28.000Z
2021-07-17T09:38:07.000Z
"""An example of using async_strava package""" import os import datetime from typing import List, NoReturn import asyncio from dotenv import load_dotenv from async_strava import strava_connector def read_file(file_name='strava_uris.txt'): """ Generator, which yield's file line by line :param file_name: ...
29.125
111
0.675046
213
1,631
4.971831
0.43662
0.050992
0.024551
0.03966
0
0
0
0
0
0
0
0.012648
0.224402
1,631
55
112
29.654545
0.824506
0.08645
0
0
0
0
0.040783
0
0
0
0
0
0
1
0.034483
false
0.068966
0.206897
0
0.275862
0.068966
0
0
0
null
0
0
0
0
0
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
590aa2c2aed6b2b9d19826f0e7ccd7376d4b3ff3
4,361
py
Python
test_counter.py
aaronshaver/trigram-counter
dc403594a12c40c997ce661520770c668ee8ee01
[ "MIT" ]
null
null
null
test_counter.py
aaronshaver/trigram-counter
dc403594a12c40c997ce661520770c668ee8ee01
[ "MIT" ]
null
null
null
test_counter.py
aaronshaver/trigram-counter
dc403594a12c40c997ce661520770c668ee8ee01
[ "MIT" ]
null
null
null
import unittest import counter # NOTE: besides these, I did "integration" testing on the commandline with # large text files. I didn't bother to include those tests here for a few # reasons, including speed and not being 100% sure what the true trigram # counts were for the texts. I didn't want to assume assertion val...
44.050505
89
0.664985
591
4,361
4.829103
0.230118
0.120883
0.088297
0.128942
0.504555
0.364751
0.297127
0.243167
0.20042
0.166783
0
0.010152
0.232057
4,361
98
90
44.5
0.842042
0.14515
0
0.189189
0
0
0.211294
0.009457
0
0
0
0
0.594595
1
0.108108
false
0
0.027027
0
0.148649
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
591234b9c034f3be37966bbb2476fe2cfdad7a54
2,273
py
Python
Penrose/generate - 1808.py
kart324/MultiNLP
fc4d7d1bb0b875731d6748013db2bb1e2d853820
[ "BSD-3-Clause" ]
null
null
null
Penrose/generate - 1808.py
kart324/MultiNLP
fc4d7d1bb0b875731d6748013db2bb1e2d853820
[ "BSD-3-Clause" ]
null
null
null
Penrose/generate - 1808.py
kart324/MultiNLP
fc4d7d1bb0b875731d6748013db2bb1e2d853820
[ "BSD-3-Clause" ]
null
null
null
import re import string inp = '''A is a set. A, B, C are sets. B is contained in A. C is contained in B. C is a set. C is contained in A. P is a point. P is contained in A. P is not contained in C. X is a vectorspace. U is a vector. V is a vector. U and V belong to the vectorspace X. X is the vectorspace to which U an...
31.136986
147
0.647602
463
2,273
3.151188
0.235421
0.04318
0.027416
0.028787
0.355038
0.262509
0.204935
0.122001
0.122001
0.076765
0
0.010689
0.176859
2,273
73
148
31.136986
0.769107
0
0
0.098592
0
0
0.627529
0
0
0
0
0
0
1
0
false
0
0.028169
0
0.028169
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
591b1fce1347ff89299b5d3740c5d7ce2380afb6
327
py
Python
Space/Settings.py
Aecio1001/Python-Space
3bb40c8985844188f3e6d344d09299c666074a30
[ "MIT" ]
null
null
null
Space/Settings.py
Aecio1001/Python-Space
3bb40c8985844188f3e6d344d09299c666074a30
[ "MIT" ]
null
null
null
Space/Settings.py
Aecio1001/Python-Space
3bb40c8985844188f3e6d344d09299c666074a30
[ "MIT" ]
null
null
null
class Settings(): '''Uma classe para armazenar todas as configurações do jogo.''' def __init__(self): '''Inicializa as configurações do jogo.''' # Configurações da tela self.screen_width = 1000 self.screen_height = 600 self.bg_color = (230, 230, 230) # Configurações da espaçonave self.ship_speed_facto...
27.25
64
0.718654
45
327
5.022222
0.688889
0.132743
0.150442
0.185841
0
0
0
0
0
0
0
0.066667
0.174312
327
12
65
27.25
0.77037
0.443425
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.333333
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
591de279e8d5364d0689a98617ce5976a341f5d9
454
py
Python
testFile.py
ME369P/wolvesOfDKSt
e1c733dec4d89bc8b9f8f2f7ba98e9c96745f471
[ "MIT" ]
2
2021-04-13T04:22:48.000Z
2021-04-13T04:28:45.000Z
testFile.py
ME369P/wolvesOfDKSt
e1c733dec4d89bc8b9f8f2f7ba98e9c96745f471
[ "MIT" ]
null
null
null
testFile.py
ME369P/wolvesOfDKSt
e1c733dec4d89bc8b9f8f2f7ba98e9c96745f471
[ "MIT" ]
1
2021-04-13T04:21:48.000Z
2021-04-13T04:21:48.000Z
# -*- coding: utf-8 -*- """ Created on Tue Apr 21 13:49:08 2020 @author: Nick Piacente David --- use these two charts to paste to the screen Import works! """ import getYahooData as yd finalFrame, bestSelection = yd.getOptionsData(.9,7500) #bidAskChart = yd.getDetailedQuote('DOW') # make the stockPareto chart. Th...
25.222222
97
0.735683
65
454
5.138462
0.892308
0
0
0
0
0
0
0
0
0
0
0.046392
0.145374
454
17
98
26.705882
0.814433
0.568282
0
0
0
0
0.231183
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
59219b55245fc5f5503c27299f1bbd3308a361d4
1,086
py
Python
tests/login.py
iryko/course-sselenium-barancev
2cc85e99d6670fb6e93e858981b970a6ad8d3057
[ "Apache-2.0" ]
null
null
null
tests/login.py
iryko/course-sselenium-barancev
2cc85e99d6670fb6e93e858981b970a6ad8d3057
[ "Apache-2.0" ]
null
null
null
tests/login.py
iryko/course-sselenium-barancev
2cc85e99d6670fb6e93e858981b970a6ad8d3057
[ "Apache-2.0" ]
null
null
null
import unittest from selenium import webdriver class Login(unittest.TestCase): def setUp(self): self.driver = webdriver.Chrome() #self.driver = webdriver.Firefox() #self.driver = webdriver.Safari() self.driver.implicitly_wait(5) self.url = "http://localhost/litecart/admin/l...
31.941176
88
0.641805
123
1,086
5.479675
0.447154
0.103858
0.08457
0.08457
0.231454
0.195846
0.097923
0
0
0
0
0.001175
0.21639
1,086
34
89
31.941176
0.790834
0.059853
0
0.08
0
0
0.157843
0.084314
0
0
0
0
0.12
1
0.12
false
0.08
0.08
0
0.24
0.04
0
0
0
null
0
0
0
0
0
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
5930200cfebf4cd004497599bebb7f5b2825517e
1,267
py
Python
src/pyvalidations/rules/alpha.py
MajAhd/py_validations
372b2b40c5b4e1565c04b1ec53b195596261c50d
[ "MIT" ]
6
2021-12-15T23:33:07.000Z
2022-02-13T17:12:53.000Z
src/pyvalidations/rules/alpha.py
MajAhd/py_validation
372b2b40c5b4e1565c04b1ec53b195596261c50d
[ "MIT" ]
null
null
null
src/pyvalidations/rules/alpha.py
MajAhd/py_validation
372b2b40c5b4e1565c04b1ec53b195596261c50d
[ "MIT" ]
null
null
null
import re class Alpha: """ Validate Alphabetic data """ def __init__(self, value): self.value = value def is_string(self): """ value mus be a string :return: bool """ try: return isinstance(self.value, str) except Exception: ...
22.22807
72
0.484609
130
1,267
4.661538
0.3
0.148515
0.085809
0.171617
0.5
0.293729
0.293729
0.293729
0.293729
0.293729
0
0.002692
0.413575
1,267
56
73
22.625
0.812921
0.179163
0
0.571429
0
0
0.013575
0
0
0
0
0
0
1
0.178571
false
0
0.035714
0
0.607143
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
5933bdf767fb99ec9256aaa54e824815042e090a
8,088
py
Python
project/abstractions.py
cisaacstern/sqlmodel-abstraction
0ba1dfea39ec9c50d19774c8ba388b1d2e7cc330
[ "MIT" ]
1
2022-02-09T04:02:12.000Z
2022-02-09T04:02:12.000Z
project/abstractions.py
cisaacstern/sqlmodel-abstraction
0ba1dfea39ec9c50d19774c8ba388b1d2e7cc330
[ "MIT" ]
null
null
null
project/abstractions.py
cisaacstern/sqlmodel-abstraction
0ba1dfea39ec9c50d19774c8ba388b1d2e7cc330
[ "MIT" ]
null
null
null
import types from dataclasses import dataclass from typing import Callable, List, Union from fastapi import Depends, FastAPI, HTTPException, Query from sqlmodel import Field, Session, SQLModel, select # Model generator + container ------------------------------------------------------------- @dataclass class Multi...
42.34555
102
0.661968
1,041
8,088
4.978866
0.194044
0.03087
0.036658
0.042446
0.460737
0.387035
0.363882
0.329346
0.301563
0.293652
0
0.00685
0.205861
8,088
191
103
42.34555
0.800093
0.309718
0
0.280702
0
0
0.025238
0
0
0
0
0
0
1
0.201754
false
0
0.04386
0.052632
0.447368
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
59342869d7d00e5ffc6501a164df8b7e82b69ff4
1,142
py
Python
nifti/nifti_converter.py
ethanbb/sliver
cf9706417925aa83221a076ed3c9c2927bb357c9
[ "MIT" ]
null
null
null
nifti/nifti_converter.py
ethanbb/sliver
cf9706417925aa83221a076ed3c9c2927bb357c9
[ "MIT" ]
null
null
null
nifti/nifti_converter.py
ethanbb/sliver
cf9706417925aa83221a076ed3c9c2927bb357c9
[ "MIT" ]
null
null
null
import nibabel as nib import numpy as np import pdb # library: http://nipy.org/nibabel/gettingstarted.html data_folder = '/ihome/azhu/cs189/data/liverScans/Training Batch 2/' num_examples_min = 28 num_examples_max = 130 def nifti_to_nparray(filename): img = nib.load(filename) data = img.get_data() retur...
29.282051
74
0.649737
165
1,142
4.218182
0.448485
0.063218
0.060345
0.081897
0.083333
0.083333
0
0
0
0
0
0.017065
0.230298
1,142
38
75
30.052632
0.774744
0.218039
0
0
0
0
0.133333
0.047458
0
0
0
0
0
0
null
null
0
0.142857
null
null
0.095238
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1