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
541353ca491ac8dd96b86aeaa420c3a170d5cb09
442
py
Python
functions.py
quant-om/python
0b62f6b535b76ff1aeb8267da49b48be5c6595a2
[ "MIT" ]
null
null
null
functions.py
quant-om/python
0b62f6b535b76ff1aeb8267da49b48be5c6595a2
[ "MIT" ]
null
null
null
functions.py
quant-om/python
0b62f6b535b76ff1aeb8267da49b48be5c6595a2
[ "MIT" ]
null
null
null
# functions print("Demonstrating functions....") def fun(): print("Printing my function: fun") def fun1(): print("Printing my function: fun1") def multiply(x, y): z = x * y return z mulnum = multiply(150, 160) print(f"The return value is {mulnum}") # Demonstrating lambda functions # Lambda functi...
17.68
42
0.658371
70
442
4.157143
0.4
0.020619
0.092784
0.158076
0.109966
0
0
0
0
0
0
0.03125
0.20362
442
24
43
18.416667
0.795455
0.183258
0
0
0
0
0.414566
0
0
0
0
0
0
1
0.214286
false
0
0
0
0.285714
0.428571
0
0
0
null
0
0
0
0
0
0
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
1
0
2
541c854e118dac5950d17a1c2787ba831811309f
766
py
Python
db/add-user.py
straterra/DreamerFlask
da8c16c105cb3008bcc2e9e995b518d892f21623
[ "MIT" ]
null
null
null
db/add-user.py
straterra/DreamerFlask
da8c16c105cb3008bcc2e9e995b518d892f21623
[ "MIT" ]
null
null
null
db/add-user.py
straterra/DreamerFlask
da8c16c105cb3008bcc2e9e995b518d892f21623
[ "MIT" ]
null
null
null
#!/usr/bin/python # Written by Thomas York # Imports import datetime from sqlalchemy import create_engine from sqlalchemy.orm import sessionmaker from flask_hashing import Hashing from app.tabledef import * from app import app import os import getpass # Setup basedir = os.path.abspath(os.path.dirname(__file__)) eng...
20.702703
87
0.750653
107
766
5.280374
0.542056
0.031858
0
0
0
0
0
0
0
0
0
0.001502
0.130548
766
36
88
21.277778
0.846847
0.164491
0
0.105263
0
0
0.086888
0
0
0
0
0
0
1
0
false
0.157895
0.421053
0
0.421053
0
0
0
0
null
0
0
0
0
0
0
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
1
0
0
0
0
2
54232b74df71f4e0791d0cd39dc45c03aab966b6
133
py
Python
setup.py
pandrei7/cf-tests
4211d2f8c94730a63ceb960cfe487d9d13f9596b
[ "MIT" ]
null
null
null
setup.py
pandrei7/cf-tests
4211d2f8c94730a63ceb960cfe487d9d13f9596b
[ "MIT" ]
2
2020-04-28T16:50:43.000Z
2020-09-13T10:36:08.000Z
setup.py
pandrei7/cf-tests
4211d2f8c94730a63ceb960cfe487d9d13f9596b
[ "MIT" ]
null
null
null
from setuptools import setup setup( name='cptest', entry_points={ 'console_scripts': [ 'cptest=main:main' ] } )
12.090909
28
0.609023
14
133
5.642857
0.785714
0
0
0
0
0
0
0
0
0
0
0
0.255639
133
10
29
13.3
0.79798
0
0
0
0
0
0.278195
0
0
0
0
0
0
1
0
true
0
0.111111
0
0.111111
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
1
0
0
0
0
0
0
2
5809dabd98d23e6091a20dfd2db931198d7c4c8a
392
py
Python
pipetools/__init__.py
0101/pipetools
3f77b203bc538bcac519331d36edebd9c65c642a
[ "MIT" ]
164
2015-03-04T08:09:27.000Z
2022-03-23T05:00:40.000Z
pipetools/__init__.py
0101/pipetools
3f77b203bc538bcac519331d36edebd9c65c642a
[ "MIT" ]
18
2016-07-25T16:54:42.000Z
2022-03-31T12:59:40.000Z
pipetools/__init__.py
0101/pipetools
3f77b203bc538bcac519331d36edebd9c65c642a
[ "MIT" ]
18
2015-03-30T16:53:32.000Z
2022-01-31T23:50:52.000Z
from pipetools.utils import foreach __version__ = VERSION = 1, 0, 1 __versionstr__ = VERSION > foreach(str) | '.'.join from pipetools.main import pipe, X, maybe, xpartial from pipetools.utils import * # prevent namespace pollution import pipetools.compat for symbol in dir(pipetools.compat): if globals().get(symb...
28
66
0.742347
51
392
5.54902
0.588235
0.137809
0.127208
0.169611
0
0
0
0
0
0
0
0.009036
0.153061
392
13
67
30.153846
0.843373
0.068878
0
0
0
0
0.002755
0
0
0
0
0
0
1
0
false
0
0.444444
0
0.444444
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
1
0
0
0
0
2
584f47eb8fbdf910bc60a3a881de6a2dd7e21d34
193
py
Python
win_basic_tools/sources/touch.py
HenriquedoVal/win-basic-commands
4b209bdbfbeba31d87d197396098bc777784d4fa
[ "MIT" ]
null
null
null
win_basic_tools/sources/touch.py
HenriquedoVal/win-basic-commands
4b209bdbfbeba31d87d197396098bc777784d4fa
[ "MIT" ]
null
null
null
win_basic_tools/sources/touch.py
HenriquedoVal/win-basic-commands
4b209bdbfbeba31d87d197396098bc777784d4fa
[ "MIT" ]
null
null
null
import os import sys if len(sys.argv) >= 2: for i in sys.argv[1:]: os.system(f'type nul > {i}') else: print('Pass parameters for creating files. E.g. touch file.py file2.pyw')
21.444444
77
0.626943
35
193
3.457143
0.8
0.115702
0
0
0
0
0
0
0
0
0
0.02
0.222798
193
8
78
24.125
0.786667
0
0
0
0
0
0.404145
0
0
0
0
0
0
1
0
false
0.142857
0.285714
0
0.285714
0.142857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
5865e1444a4b70865e5a58a5ba9893858d340003
124
py
Python
web/settings/dev.py
koualsky/start
544fde3a353f78a7a6d5782d240d98644731d6b0
[ "MIT" ]
null
null
null
web/settings/dev.py
koualsky/start
544fde3a353f78a7a6d5782d240d98644731d6b0
[ "MIT" ]
null
null
null
web/settings/dev.py
koualsky/start
544fde3a353f78a7a6d5782d240d98644731d6b0
[ "MIT" ]
null
null
null
from .base import * STATIC_URL = '/static/' STATIC_ROOT = '/code/static' MEDIA_URL = '/media/' MEDIA_ROOT = '/code/media'
15.5
28
0.677419
17
124
4.705882
0.470588
0.2
0
0
0
0
0
0
0
0
0
0
0.145161
124
7
29
17.714286
0.754717
0
0
0
0
0
0.306452
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
586ef32d378bf40bb56aec82b6e9608badc82a57
192
py
Python
systemfixtures/processes/__init__.py
alejdg/systemfixtures
d1c42d83c3dca2a36b52e8fc214639ebcb1cd8a1
[ "MIT" ]
13
2017-01-24T15:25:47.000Z
2022-01-06T23:56:06.000Z
systemfixtures/processes/__init__.py
cjwatson/systemfixtures
6ff52e224585d8fab2908dc08a22fe36dcaf93d4
[ "MIT" ]
10
2017-03-08T09:36:01.000Z
2022-02-09T11:08:00.000Z
systemfixtures/processes/__init__.py
cjwatson/systemfixtures
6ff52e224585d8fab2908dc08a22fe36dcaf93d4
[ "MIT" ]
5
2017-03-08T09:30:51.000Z
2022-02-05T23:22:25.000Z
from .fixture import FakeProcesses from .wget import Wget from .systemctl import Systemctl from .dpkg import Dpkg __all__ = [ "FakeProcesses", "Wget", "Systemctl", "Dpkg", ]
14.769231
34
0.682292
21
192
6.047619
0.380952
0
0
0
0
0
0
0
0
0
0
0
0.21875
192
12
35
16
0.846667
0
0
0
0
0
0.15625
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
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
1
0
0
0
0
2
58913c43837c870fc436afac835a14be34fe83d4
922
py
Python
HowYouDoing/HowYouDoing/messagingsystem/migrations/0001_initial.py
chenmic/how-you-doing
8872d38cd3bee478e6157a3855466c7fb6c1b1f8
[ "MIT" ]
null
null
null
HowYouDoing/HowYouDoing/messagingsystem/migrations/0001_initial.py
chenmic/how-you-doing
8872d38cd3bee478e6157a3855466c7fb6c1b1f8
[ "MIT" ]
null
null
null
HowYouDoing/HowYouDoing/messagingsystem/migrations/0001_initial.py
chenmic/how-you-doing
8872d38cd3bee478e6157a3855466c7fb6c1b1f8
[ "MIT" ]
null
null
null
# Generated by Django 3.1.1 on 2020-09-26 20:10 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Message', fields=[ ('id', models.AutoField(...
34.148148
114
0.598698
95
922
5.663158
0.547368
0.122677
0.133829
0.178439
0.141264
0.141264
0.141264
0
0
0
0
0.041237
0.263557
922
26
115
35.461538
0.751105
0.048807
0
0
1
0
0.107429
0
0
0
0
0
0
1
0
false
0
0.052632
0
0.263158
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
589525951479a0f22852b04d62b88d46d6d05ab3
230
py
Python
vsketch/__init__.py
ademuri/vsketch
1e84a25841186d629c1ace5edcd7807f0c1ba7d7
[ "MIT" ]
null
null
null
vsketch/__init__.py
ademuri/vsketch
1e84a25841186d629c1ace5edcd7807f0c1ba7d7
[ "MIT" ]
null
null
null
vsketch/__init__.py
ademuri/vsketch
1e84a25841186d629c1ace5edcd7807f0c1ba7d7
[ "MIT" ]
null
null
null
"""This module implements the vsketch API.""" from .param import Param, ParamType from .vsketch import Vsketch __all__ = ["Vsketch", "Param", "ParamType"] def _init(): from .environment import setup setup() _init()
14.375
45
0.686957
27
230
5.62963
0.555556
0.184211
0
0
0
0
0
0
0
0
0
0
0.186957
230
15
46
15.333333
0.812834
0.169565
0
0
0
0
0.113514
0
0
0
0
0
0
1
0.142857
false
0
0.428571
0
0.571429
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
1
0
0
0
0
2
589d9bfb282f6e63ef21201f22a38f09e47704d7
27,414
py
Python
MOD_32_VariacionPotencia_H15_3o_T.py
Marita21/ThermalDesign
49e0f795264502de5be723bdb1c89441ca0bb109
[ "MIT" ]
1
2021-09-22T12:43:16.000Z
2021-09-22T12:43:16.000Z
MOD_32_VariacionPotencia_H15_3o_T.py
Marita21/ThermalDesign
49e0f795264502de5be723bdb1c89441ca0bb109
[ "MIT" ]
null
null
null
MOD_32_VariacionPotencia_H15_3o_T.py
Marita21/ThermalDesign
49e0f795264502de5be723bdb1c89441ca0bb109
[ "MIT" ]
null
null
null
#!/usr/bin/env python2 # -*- coding: utf-8 -*- #--------------------------------------------------------------------------- #Global mathematical model of SAC-A with 31 nodes and according to design # status of March 3, 1997. Orbit of 51.6 degrees of inclination in winter # solstice (beta=15), at 205 mn (380 km...
47.59375
121
0.527832
4,017
27,414
3.473737
0.144884
0.065788
0.059195
0.114161
0.394654
0.285366
0.233768
0.086857
0.082844
0.077111
0
0.244066
0.319216
27,414
575
122
47.676522
0.503617
0.152076
0
0.059553
0
0
0.031428
0.001378
0
0
0
0
0
0
null
null
0
0.01737
null
null
0.007444
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
5433932d8be64cc78376133d40786951f2c60d5f
2,852
py
Python
venv/Lib/site-packages/rcon/client.py
Svesnav2/Discord-Bot-Minecraft-server-status
ee34948e741930567a3adb557197523f9d32ace1
[ "Unlicense" ]
null
null
null
venv/Lib/site-packages/rcon/client.py
Svesnav2/Discord-Bot-Minecraft-server-status
ee34948e741930567a3adb557197523f9d32ace1
[ "Unlicense" ]
null
null
null
venv/Lib/site-packages/rcon/client.py
Svesnav2/Discord-Bot-Minecraft-server-status
ee34948e741930567a3adb557197523f9d32ace1
[ "Unlicense" ]
null
null
null
"""Synchronous client.""" from socket import socket from typing import Optional from rcon.exceptions import RequestIdMismatch, WrongPassword from rcon.proto import Packet, Type __all__ = ['Client'] class Client: """An RCON client.""" __slots__ = ('_socket', 'host', 'port', 'passwd') def __init__(sel...
29.708333
75
0.609748
329
2,852
5.142857
0.334347
0.053191
0.014184
0.016548
0.062648
0.062648
0
0
0
0
0
0.000482
0.272791
2,852
95
76
30.021053
0.815333
0.18899
0
0
0
0
0.013908
0
0
0
0
0
0
1
0.207547
false
0.169811
0.075472
0
0.45283
0
0
0
0
null
0
0
0
0
0
0
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
1
0
0
0
0
0
2
5439161162698895aa55610f907264f5b1629f27
24,318
py
Python
pysnmp-with-texts/HUAWEI-MA5200-DEVICE-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
8
2019-05-09T17:04:00.000Z
2021-06-09T06:50:51.000Z
pysnmp-with-texts/HUAWEI-MA5200-DEVICE-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
4
2019-05-31T16:42:59.000Z
2020-01-31T21:57:17.000Z
pysnmp-with-texts/HUAWEI-MA5200-DEVICE-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module HUAWEI-MA5200-DEVICE-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/HUAWEI-MA5200-DEVICE-MIB # Produced by pysmi-0.3.4 at Wed May 1 13:46:33 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7....
132.163043
2,894
0.772062
2,672
24,318
7.025823
0.117889
0.058808
0.083418
0.097321
0.460289
0.345709
0.310286
0.293986
0.289139
0.278592
0
0.113916
0.082737
24,318
183
2,895
132.885246
0.727697
0.014064
0
0.028571
0
0.011429
0.270914
0.119039
0
0
0
0
0
1
0
false
0
0.057143
0
0.057143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
543b74bbf249991a39c73878b670772b46f1f152
837
py
Python
Pillow-4.3.0/Tests/test_image_fromqpixmap.py
leorzz/simplemooc
8b1c5e939d534b1fd729596df4c59fc69708b896
[ "MIT" ]
null
null
null
Pillow-4.3.0/Tests/test_image_fromqpixmap.py
leorzz/simplemooc
8b1c5e939d534b1fd729596df4c59fc69708b896
[ "MIT" ]
null
null
null
Pillow-4.3.0/Tests/test_image_fromqpixmap.py
leorzz/simplemooc
8b1c5e939d534b1fd729596df4c59fc69708b896
[ "MIT" ]
null
null
null
from helper import unittest, PillowTestCase, hopper from test_imageqt import PillowQtTestCase, PillowQPixmapTestCase from PIL import ImageQt class TestFromQPixmap(PillowQPixmapTestCase, PillowTestCase): def roundtrip(self, expected): PillowQtTestCase.setUp(self) result = ImageQt.fromqpixmap(Imag...
25.363636
65
0.696535
97
837
5.793814
0.402062
0.062278
0.115658
0.204626
0
0
0
0
0
0
0
0.002976
0.197133
837
32
66
26.15625
0.833333
0.032258
0
0
0
0
0.02599
0
0
0
0
0
0.05
1
0.3
false
0
0.15
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
1
0
0
0
0
0
0
0
2
54448bc35cc8842bff2aceb3e53b24d808d47e56
14,894
py
Python
docs/tutorials/deployment/int8_inference.py
ptrendx/gluon-cv
5017de97bffcdf7fd90a0be5cdd3201dc7af769e
[ "Apache-2.0" ]
11
2019-12-11T12:47:30.000Z
2021-01-21T16:36:56.000Z
docs/tutorials/deployment/int8_inference.py
ptrendx/gluon-cv
5017de97bffcdf7fd90a0be5cdd3201dc7af769e
[ "Apache-2.0" ]
3
2019-09-03T01:35:15.000Z
2019-11-13T06:28:00.000Z
docs/tutorials/deployment/int8_inference.py
ptrendx/gluon-cv
5017de97bffcdf7fd90a0be5cdd3201dc7af769e
[ "Apache-2.0" ]
3
2020-01-10T16:50:08.000Z
2020-11-13T06:59:13.000Z
"""3. Inference with Quantized Models ===================================== This is a tutorial which illustrates how to use quantized GluonCV models for inference on Intel Xeon Processors to gain higher performance. The following example requires ``GluonCV>=0.4`` and ``MXNet-mkl>=1.6.0b20190829``. Please follow `our ...
70.254717
801
0.514905
1,543
14,894
4.920285
0.333117
0.008693
0.007113
0.007903
0.13804
0.114726
0.083641
0.072181
0.047945
0.047945
0
0.045276
0.298577
14,894
211
802
70.587678
0.68144
0.999261
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
5451517ebc4f77c2e5ef40adf195a8bb91567ca6
5,444
py
Python
examples/section3.1.py
rickyHong/dwave-qubo-example-repl
ff7306de273d438902db7c8448a2ea825ecfa50f
[ "Apache-2.0" ]
null
null
null
examples/section3.1.py
rickyHong/dwave-qubo-example-repl
ff7306de273d438902db7c8448a2ea825ecfa50f
[ "Apache-2.0" ]
null
null
null
examples/section3.1.py
rickyHong/dwave-qubo-example-repl
ff7306de273d438902db7c8448a2ea825ecfa50f
[ "Apache-2.0" ]
null
null
null
""" Section 3.1 The Number Partitioning Problem Partition a set of numbers into two subsets such that the subset sums are as close to each other as possible. """ import copy import dimod from dwave.system.samplers import DWaveSampler from dwave.system.composites import EmbeddingComposite numbers = [25,7,13,31,42,17,2...
36.783784
109
0.597171
959
5,444
3.353493
0.175182
0.029851
0.023321
0.018657
0.41791
0.383396
0.336754
0.324938
0.318719
0.318719
0
0.200929
0.24853
5,444
148
110
36.783784
0.585187
0.507348
0
0.289855
0
0
0.123782
0.011364
0
0
0
0
0
0
null
null
0
0.057971
null
null
0.26087
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
546cb5bd4172348970436aa64f8df777f73e4b56
604
py
Python
server/src/tests/samples/protocol2.py
jhutchings1/pyright
2b8593a58a2aecc95dac49cce92fc16678cd4e14
[ "MIT" ]
null
null
null
server/src/tests/samples/protocol2.py
jhutchings1/pyright
2b8593a58a2aecc95dac49cce92fc16678cd4e14
[ "MIT" ]
1
2021-08-31T20:37:43.000Z
2021-08-31T20:37:43.000Z
server/src/tests/samples/protocol2.py
jhutchings1/pyright
2b8593a58a2aecc95dac49cce92fc16678cd4e14
[ "MIT" ]
null
null
null
# This sample tests the type checker's handling of # generic protocols with invariant, constrained, and contravariant # type arguments. from typing import TypeVar, Protocol T = TypeVar("T") StrLike = TypeVar("StrLike", str, bytes) T_contra = TypeVar("T_contra", contravariant=True) class Writer(Protocol[T_contra]):...
15.1
66
0.665563
85
604
4.682353
0.482353
0.070352
0.060302
0
0
0
0
0
0
0
0
0
0.206954
604
39
67
15.487179
0.830898
0.213576
0
0.2
0
0
0.034043
0
0
0
0
0
0
1
0.25
false
0.2
0.05
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
1
0
1
0
0
0
0
0
2
54777e5cbec70f950cd51b00e7abe671c0c1beb1
8,525
py
Python
tests/test_nll.py
ndem0/ATHENA
87825ad95de539ac5e816a19922e9d615fabd5b8
[ "MIT" ]
33
2019-12-05T15:20:26.000Z
2022-03-27T17:53:57.000Z
tests/test_nll.py
ndem0/ATHENA
87825ad95de539ac5e816a19922e9d615fabd5b8
[ "MIT" ]
12
2020-03-23T08:54:32.000Z
2021-11-07T14:33:04.000Z
tests/test_nll.py
ndem0/ATHENA
87825ad95de539ac5e816a19922e9d615fabd5b8
[ "MIT" ]
16
2019-12-05T14:10:57.000Z
2021-07-30T14:12:10.000Z
from unittest import TestCase import numpy as np from athena import NonlinearLevelSet, ForwardNet, BackwardNet, Normalizer import torch import os from contextlib import contextmanager import matplotlib.pyplot as plt @contextmanager def assert_plot_figures_added(): """ Assert that the number of figures is high...
38.400901
79
0.603754
1,089
8,525
4.523416
0.121212
0.049736
0.051969
0.111652
0.741981
0.707674
0.682704
0.669306
0.634186
0.613276
0
0.0446
0.295132
8,525
221
80
38.574661
0.775171
0.01607
0
0.581921
0
0
0.016254
0.016135
0
0
0
0
0.175141
1
0.175141
false
0
0.039548
0
0.237288
0
0
0
0
null
0
0
0
0
1
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
2
54861499a8b0bfd6d735384cc17f1f60f4678825
1,161
py
Python
hide-message.py
AkashSDas/Mini-Projects
908cea6df6ef6c62abdfe05585634b786e60b812
[ "MIT" ]
null
null
null
hide-message.py
AkashSDas/Mini-Projects
908cea6df6ef6c62abdfe05585634b786e60b812
[ "MIT" ]
null
null
null
hide-message.py
AkashSDas/Mini-Projects
908cea6df6ef6c62abdfe05585634b786e60b812
[ "MIT" ]
null
null
null
import random import string def generate_random_characters(): alphabets = string.ascii_letters numbers = string.digits special_characters = string.punctuation space_character = " " characters = f"{space_character}{alphabets}{numbers}{special_characters}" return characters[random.randint(0, le...
24.702128
77
0.701981
136
1,161
5.757353
0.279412
0.214559
0.08046
0.10728
0.278416
0.16092
0.061303
0
0
0
0
0.010881
0.208441
1,161
46
78
25.23913
0.841132
0
0
0.0625
1
0
0.05857
0.049096
0
0
0
0
0
1
0.09375
false
0
0.0625
0
0.25
0.09375
0
0
0
null
1
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
2
5490ee020cde9bd75c1bf84b636d0d1749d87b15
248,853
py
Python
test/pytest/test_answers_and_docs.py
dmulyalin/ttp
a3a3753724c4d980dff23548ab93fa6d9d389f01
[ "MIT" ]
254
2019-09-23T15:37:13.000Z
2022-03-24T18:56:56.000Z
test/pytest/test_answers_and_docs.py
dmulyalin/ttp
a3a3753724c4d980dff23548ab93fa6d9d389f01
[ "MIT" ]
71
2019-09-26T16:32:55.000Z
2022-03-31T15:57:12.000Z
test/pytest/test_answers_and_docs.py
dmulyalin/ttp
a3a3753724c4d980dff23548ab93fa6d9d389f01
[ "MIT" ]
38
2019-10-18T03:43:42.000Z
2022-01-19T20:03:33.000Z
import sys sys.path.insert(0, "../..") import pprint import pytest import logging logging.basicConfig(level=logging.DEBUG) from ttp import ttp def test_answer_1(): """https://stackoverflow.com/questions/63522291/parsing-blocks-of-text-within-a-file-into-objects""" data = """ #*Approximate Distance Oracles ...
36.954707
235
0.405565
21,266
248,853
4.635663
0.073215
0.004017
0.002678
0.011158
0.758455
0.704703
0.667688
0.639478
0.619139
0.59871
0
0.083696
0.475707
248,853
6,734
236
36.954707
0.671884
0.072902
0
0.638423
0
0.013591
0.615131
0.042784
0
0
0.000782
0
0.008893
1
0.009228
false
0.003356
0.005034
0
0.016946
0.002852
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
54a297ca1fb9b2a704b8ad8106a116bb97071658
359
py
Python
mayan/apps/common/exceptions.py
eshbeata/open-paperless
6b9ed1f21908116ad2795b3785b2dbd66713d66e
[ "Apache-2.0" ]
2,743
2017-12-18T07:12:30.000Z
2022-03-27T17:21:25.000Z
mayan/apps/common/exceptions.py
eshbeata/open-paperless
6b9ed1f21908116ad2795b3785b2dbd66713d66e
[ "Apache-2.0" ]
15
2020-06-06T00:00:48.000Z
2022-03-12T00:03:54.000Z
mayan/apps/common/exceptions.py
eshbeata/open-paperless
6b9ed1f21908116ad2795b3785b2dbd66713d66e
[ "Apache-2.0" ]
257
2017-12-18T03:12:58.000Z
2022-03-25T08:59:10.000Z
from __future__ import unicode_literals class BaseCommonException(Exception): """ Base exception for the common app """ pass class NotLatestVersion(BaseCommonException): """ The installed version is not the latest available version """ def __init__(self, upstream_version): se...
21.117647
61
0.715877
37
359
6.621622
0.675676
0.183673
0.155102
0
0
0
0
0
0
0
0
0
0.21727
359
16
62
22.4375
0.871886
0.253482
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0.166667
0.166667
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
54b5faaa6450454b9d10d5e9ae989e9cc3a5ffbe
4,514
py
Python
aospy_user/calcs/gms.py
spencerahill/aospy-obj-lib
76803806e8c6b0042c901735eed1c88042d4e4ed
[ "Apache-2.0" ]
3
2015-10-27T19:32:17.000Z
2021-05-07T12:41:30.000Z
aospy_user/calcs/gms.py
spencerahill/aospy-obj-lib
76803806e8c6b0042c901735eed1c88042d4e4ed
[ "Apache-2.0" ]
11
2015-09-25T15:45:59.000Z
2020-03-31T13:50:29.000Z
aospy_user/calcs/gms.py
spencerahill/aospy-obj-lib
76803806e8c6b0042c901735eed1c88042d4e4ed
[ "Apache-2.0" ]
null
null
null
"""Gross moist stability-related quantities.""" from aospy.constants import c_p, grav, L_v from aospy.utils.vertcoord import to_pascal from indiff.deriv import EtaCenDeriv, CenDeriv import numpy as np from .. import PLEVEL_STR from . import horiz_divg, vert_divg from .thermo import dse, mse, fmse def field_vert_int_...
38.913793
79
0.686752
695
4,514
4.310791
0.263309
0.048064
0.060748
0.016689
0.518024
0.449266
0.372163
0.3251
0.284379
0.253004
0
0.009701
0.200709
4,514
115
80
39.252174
0.820676
0.364865
0
0.236364
0
0
0
0
0
0
0
0
0
1
0.254545
false
0
0.127273
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
1
0
0
0
0
1
0
0
2
54bd60dadfd5ead7749762421d054a007292a3a1
885
py
Python
pyecs/components/pose.py
xaedes/pyecs
ce830d8849cfcf7c00fa49ad8954d8ce22e7204f
[ "MIT" ]
1
2017-06-20T12:19:50.000Z
2017-06-20T12:19:50.000Z
pyecs/components/pose.py
xaedes/pyecs
ce830d8849cfcf7c00fa49ad8954d8ce22e7204f
[ "MIT" ]
null
null
null
pyecs/components/pose.py
xaedes/pyecs
ce830d8849cfcf7c00fa49ad8954d8ce22e7204f
[ "MIT" ]
null
null
null
#!/usr/bin/env python2 # -*- coding: utf-8 -*- from __future__ import division # Standardmäßig float division - Ganzzahldivision kann man explizit mit '//' durchführen import math from pyecs import * class Pose(Component): """docstring for Pose""" def __init__(self, x, y, angle=0, *args,**kwargs): s...
28.548387
123
0.581921
133
885
3.714286
0.345865
0.060729
0.036437
0.048583
0.275304
0.214575
0.101215
0.101215
0
0
0
0.004724
0.282486
885
31
124
28.548387
0.773228
0.179661
0
0.173913
0
0
0
0
0
0
0
0
0
1
0.217391
false
0
0.130435
0
0.565217
0
0
0
0
null
0
0
0
0
0
0
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
1
0
0
2
49a36987764a223772be4dedced6ee33d1395a8b
1,073
py
Python
workspace/Pipeline/gameApp/etl/stream/streamETL.py
yennanliu/Python_basics
6a597442d39468295946cefbfb11d08f61424dc3
[ "Unlicense" ]
18
2019-08-01T07:45:02.000Z
2022-03-31T18:05:44.000Z
workspace/Pipeline/gameApp/etl/stream/streamETL.py
yennanliu/Python_basics
6a597442d39468295946cefbfb11d08f61424dc3
[ "Unlicense" ]
null
null
null
workspace/Pipeline/gameApp/etl/stream/streamETL.py
yennanliu/Python_basics
6a597442d39468295946cefbfb11d08f61424dc3
[ "Unlicense" ]
15
2019-12-29T08:46:20.000Z
2022-03-08T14:14:05.000Z
""" class extract stream event data form API endpoint / stream event files https://2.python-requests.org/en/master/user/advanced/#body-content-workflow """ import requests class StreamETL: def __init__(self, cfg): self.cfg = cfg self.stream_file = "stream.txt" self.end_point = "https://...
27.512821
87
0.578751
128
1,073
4.742188
0.539063
0.049423
0.046129
0
0
0
0
0
0
0
0
0.01368
0.318733
1,073
39
88
27.512821
0.816689
0.236719
0
0.086957
0
0
0.074166
0
0
0
0
0
0
1
0.217391
false
0.086957
0.043478
0
0.304348
0.043478
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
49a3774b3e6a5ad97936b0ac1ba43d9972ce59df
10,637
py
Python
python/test/mapreduce/util_test.py
Batterii/appengine-mapreduce
f4393e2347d0b841d62f34383fcdf849ef922309
[ "Apache-2.0" ]
228
2015-01-09T20:32:25.000Z
2021-11-18T13:20:29.000Z
python/test/mapreduce/util_test.py
Batterii/appengine-mapreduce
f4393e2347d0b841d62f34383fcdf849ef922309
[ "Apache-2.0" ]
82
2015-01-13T15:12:15.000Z
2020-10-30T15:26:41.000Z
python/test/mapreduce/util_test.py
Batterii/appengine-mapreduce
f4393e2347d0b841d62f34383fcdf849ef922309
[ "Apache-2.0" ]
127
2015-01-08T19:50:03.000Z
2021-10-09T16:47:12.000Z
#!/usr/bin/env python # Copyright 2010 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required ...
29.547222
79
0.700197
1,297
10,637
5.535852
0.224364
0.057939
0.013788
0.025627
0.420056
0.370752
0.317967
0.274513
0.223398
0.17688
0
0.010508
0.17693
10,637
359
80
29.629526
0.809595
0.079158
0
0.306977
0
0
0.136108
0.058283
0
0
0
0
0.255814
0
null
null
0.051163
0.055814
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
1
0
0
0
0
0
2
49a66ce930ebe50a057a917ae5b27b04e3cbd0c6
704
py
Python
judge/templatetags/gravatar_tags.py
TheAvidDev/pnoj-site
63299e873b1fb654667545222ce2b3157e78acd9
[ "MIT" ]
2
2020-04-02T19:50:03.000Z
2020-08-06T18:30:25.000Z
judge/templatetags/gravatar_tags.py
TheAvidDev/pnoj-site
63299e873b1fb654667545222ce2b3157e78acd9
[ "MIT" ]
28
2020-03-19T16:29:58.000Z
2021-09-22T18:47:30.000Z
judge/templatetags/gravatar_tags.py
TheAvidDev/pnoj-site
63299e873b1fb654667545222ce2b3157e78acd9
[ "MIT" ]
2
2020-08-09T06:23:12.000Z
2020-10-13T00:13:25.000Z
import hashlib import urllib from django import template from django.utils.safestring import mark_safe register = template.Library() # return only the URL of the gravatar # TEMPLATE USE: {{ email|gravatar_url:150 }} @register.filter def gravatar_url(email, size=40): email = email.encode('utf-8') return "ht...
33.52381
148
0.698864
102
704
4.77451
0.480392
0.067762
0.078029
0.090349
0.258727
0.143737
0
0
0
0
0
0.019802
0.139205
704
20
149
35.2
0.783828
0.223011
0
0.153846
0
0
0.158672
0
0
0
0
0
0
1
0.153846
false
0
0.307692
0
0.615385
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
49afdc01c13f58495efaad7985a4e782fe376fab
1,347
py
Python
tests/legacy_pytests/multiple_symlink_levels/testme.py
depaul-dice/provenance-to-use
e16e2824fbbe0b4e09cc50f0d2bcec3400bf4b87
[ "BSD-3-Clause" ]
null
null
null
tests/legacy_pytests/multiple_symlink_levels/testme.py
depaul-dice/provenance-to-use
e16e2824fbbe0b4e09cc50f0d2bcec3400bf4b87
[ "BSD-3-Clause" ]
null
null
null
tests/legacy_pytests/multiple_symlink_levels/testme.py
depaul-dice/provenance-to-use
e16e2824fbbe0b4e09cc50f0d2bcec3400bf4b87
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python2 ''' some programs like java are really picky about the EXACT directory structure being replicated within cde-package. e.g., java will refuse to start unless the directory structure is perfectly mimicked (since it uses its true path to load start-up libraries). this means that CDE Needs to be ...
37.416667
139
0.775798
230
1,347
4.465217
0.473913
0.040896
0.029211
0.035054
0.319377
0.295034
0.295034
0.295034
0.295034
0.295034
0
0.010952
0.118782
1,347
35
140
38.485714
0.854254
0.592428
0
0
0
0.125
0.511152
0.501859
0
0
0
0
0.375
1
0.125
true
0
0.25
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
49b0bc3f78687122c2de6e7a9663ee951ba7a00c
1,068
py
Python
slt/models.py
Jamesoc23/slt-website
67ba28caabb0fe03991931fa95f7adf52e8336b6
[ "MIT" ]
null
null
null
slt/models.py
Jamesoc23/slt-website
67ba28caabb0fe03991931fa95f7adf52e8336b6
[ "MIT" ]
null
null
null
slt/models.py
Jamesoc23/slt-website
67ba28caabb0fe03991931fa95f7adf52e8336b6
[ "MIT" ]
null
null
null
from django.db import models from django.core.files.storage import FileSystemStorage from django.conf import settings image_storage = FileSystemStorage( # Physical file location ROOT location=u'{0}'.format(settings.MEDIA_ROOT), # Url for file base_url=u'{0}'.format(settings.MEDIA_URL), ) def image_di...
28.864865
107
0.725655
141
1,068
5.297872
0.432624
0.080321
0.096386
0.128514
0.208835
0
0
0
0
0
0
0.01573
0.166667
1,068
37
108
28.864865
0.823596
0.096442
0
0.12
0
0
0.017672
0
0
0
0
0
0
1
0.16
false
0
0.12
0.16
0.84
0
0
0
0
null
0
0
0
0
0
0
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
1
0
0
2
49b58379748472f0525ef68e440e9dda037b02e4
486
py
Python
App/api/stats.py
MaiXiaochai/SnailAPI
2de24f2d1f0b93dc743210b1d66ef2665a09ba40
[ "Apache-2.0" ]
null
null
null
App/api/stats.py
MaiXiaochai/SnailAPI
2de24f2d1f0b93dc743210b1d66ef2665a09ba40
[ "Apache-2.0" ]
9
2020-09-14T02:02:31.000Z
2020-09-14T02:08:20.000Z
App/api/stats.py
MaiXiaochai/SnailAPI
2de24f2d1f0b93dc743210b1d66ef2665a09ba40
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- """ -------------------------------------- @File : stats.py @Author : maixiaochai @Email : maixiaochai@outlook.com @CreatedOn : 2020/6/8 23:29 -------------------------------------- 一些统计信息 1)任务数量, 总数、成功、失败、运行中、运行完 2)任务数量分布统计 3)历史成功率统计 4)硬件信息统计,磁盘、cpu、内存、文件数量 ...
18.692308
38
0.485597
68
486
3.470588
0.794118
0.067797
0.076271
0
0
0
0
0
0
0
0
0.062827
0.213992
486
25
39
19.44
0.554974
0.975309
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
49b84cd454d2a34df7fb61b551cda4c3900ca093
2,639
py
Python
cctexconvert/texturemap.py
Fam0r/CCTexConvert
502948e6e87c736d8430097bc08be3113b4ff117
[ "WTFPL" ]
null
null
null
cctexconvert/texturemap.py
Fam0r/CCTexConvert
502948e6e87c736d8430097bc08be3113b4ff117
[ "WTFPL" ]
null
null
null
cctexconvert/texturemap.py
Fam0r/CCTexConvert
502948e6e87c736d8430097bc08be3113b4ff117
[ "WTFPL" ]
null
null
null
# A file containing mappings of CC -> MC file names # Pack version 3 VER3 = { 'char.png': 'minecraft/textures/entity/steve.png', 'chicken.png': 'minecraft/textures/entity/chicken.png', 'creeper.png': 'minecraft/textures/entity/creeper/creeper.png', 'pig.png': 'minecraft/textures/entity/pig/pig.png', ...
47.981818
112
0.704055
353
2,639
4.994334
0.402266
0.09359
0.147476
0.132728
0.170732
0.078276
0
0
0
0
0
0.002199
0.13831
2,639
55
113
47.981818
0.773087
0.156878
0
0.051282
0
0
0.692828
0.258457
0
0
0
0.018182
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
2
49cb4219e0656bfdd6ec1f8ec48b7a2986447b61
244
py
Python
core/src/main/resources/tf_algos/easytransfer/run_easytransfer_train_main.py
starburst-project/Alink
2e3b6d20cd683211b0209141d1fcb3e0bce01b8d
[ "Apache-2.0" ]
3,301
2018-10-01T16:30:44.000Z
2022-03-30T08:07:16.000Z
core/src/main/resources/tf_algos/easytransfer/run_easytransfer_train_main.py
starburst-project/Alink
2e3b6d20cd683211b0209141d1fcb3e0bce01b8d
[ "Apache-2.0" ]
206
2019-11-27T14:04:42.000Z
2022-03-28T08:02:05.000Z
core/src/main/resources/tf_algos/easytransfer/run_easytransfer_train_main.py
starburst-project/Alink
2e3b6d20cd683211b0209141d1fcb3e0bce01b8d
[ "Apache-2.0" ]
765
2018-10-09T02:02:19.000Z
2022-03-31T12:06:21.000Z
import os os.environ["HOME"] = os.path.expanduser('~') from akdl.models.tf.easytransfer import easytransfer_main from akdl.runner.config import TrainTaskConfig def main(task_config: TrainTaskConfig): easytransfer_main.main(task_config)
22.181818
57
0.795082
32
244
5.9375
0.53125
0.084211
0.147368
0
0
0
0
0
0
0
0
0
0.102459
244
10
58
24.4
0.86758
0
0
0
0
0
0.020492
0
0
0
0
0
0
1
0.166667
false
0
0.5
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
49d04dd9c352124debe427155af9d363f26dc209
302
py
Python
python/30 days of code/day26.py
angelopassaro/Hacktoberfest-1
21f90f5d49efba9b1a27f4d9b923f5017ab43f0e
[ "Apache-2.0" ]
1
2020-10-06T01:20:07.000Z
2020-10-06T01:20:07.000Z
python/30 days of code/day26.py
angelopassaro/Hacktoberfest-1
21f90f5d49efba9b1a27f4d9b923f5017ab43f0e
[ "Apache-2.0" ]
null
null
null
python/30 days of code/day26.py
angelopassaro/Hacktoberfest-1
21f90f5d49efba9b1a27f4d9b923f5017ab43f0e
[ "Apache-2.0" ]
null
null
null
x,y,z = map(int,input().split(' ')) a,b,c = map(int,input().split(' ')) if (x, y, z) == (a, b, c): print("0") elif (y, z) == (b, c): print(15 * (x - a)) elif z==c: if y<=b and x<=a: print("0") else: print(500 * (y - b)) elif z>c: print("10000") else: print("0")
18.875
35
0.430464
56
302
2.321429
0.339286
0.046154
0.046154
0.246154
0
0
0
0
0
0
0
0.060185
0.284768
302
15
36
20.133333
0.541667
0
0
0.333333
0
0
0.033113
0
0
0
0
0
0
1
0
true
0
0
0
0
0.4
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
1
0
0
0
0
0
0
2
49d9021c257e942b6894496ef90406b7dceaa6c4
1,993
py
Python
mongo_adapter/exceptions.py
moonso/mongo_adapter
b61841c7a3a743546670a133c8fc03ca7e1644dc
[ "MIT" ]
null
null
null
mongo_adapter/exceptions.py
moonso/mongo_adapter
b61841c7a3a743546670a133c8fc03ca7e1644dc
[ "MIT" ]
1
2021-11-12T14:17:01.000Z
2021-11-22T08:11:37.000Z
mongo_adapter/exceptions.py
Clinical-Genomics/mongo_adapter
b61841c7a3a743546670a133c8fc03ca7e1644dc
[ "MIT" ]
null
null
null
""" The exceptions here tries to follow PEP249 (https://www.python.org/dev/peps/pep-0249/#exceptions) """ class Warning(Exception): """Exception raised for important warnings like data truncations while inserting, etc.""" pass class Error(Exception): """Exception that is the base class of all other error ...
34.964912
97
0.71149
265
1,993
5.350943
0.479245
0.084626
0.076164
0.067701
0.204513
0.155148
0.155148
0.114951
0.114951
0.114951
0
0.004513
0.221776
1,993
56
98
35.589286
0.909736
0.706974
0
0.5
0
0
0
0
0
0
0
0
0
1
0
true
0.5
0
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
1
1
0
0
0
0
0
2
49e2cf71718e9a75f3dd431c5af8214bea2de4ec
665
py
Python
adlmagics/adlmagics/test/mocks/mock_presenter_factory.py
Azure/Azure-Data-Service-Notebook
6bd28587c9fa0a7c1f9113f638b790b1773c5585
[ "MIT" ]
6
2018-06-06T08:37:53.000Z
2020-06-01T13:13:13.000Z
adlmagics/adlmagics/test/mocks/mock_presenter_factory.py
Azure/Azure-Data-Service-Notebook
6bd28587c9fa0a7c1f9113f638b790b1773c5585
[ "MIT" ]
30
2018-06-08T02:47:18.000Z
2018-07-25T07:07:07.000Z
adlmagics/adlmagics/test/mocks/mock_presenter_factory.py
Azure/Azure-Data-Service-Notebook
6bd28587c9fa0a7c1f9113f638b790b1773c5585
[ "MIT" ]
5
2018-06-06T08:37:55.000Z
2021-01-07T09:15:15.000Z
class MockPresenterFactory: def __init__(self): self.__presented_logs = [] def register_presenter(self, presenter): pass def present(self, obj): text = "" if isinstance(obj, str): text = obj elif isinstance(obj, list): if len(obj) > 0: ...
24.62963
63
0.541353
72
665
4.638889
0.416667
0.194611
0.203593
0.125749
0
0
0
0
0
0
0
0.004662
0.354887
665
27
64
24.62963
0.773893
0
0
0.090909
0
0
0.027027
0
0
0
0
0
0
1
0.227273
false
0.045455
0
0.045455
0.318182
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
49f2853da596c799a644f87a616be3de2d24c604
13,046
py
Python
main.py
RoberWare/Ex-menes-Selectividad-PAU-Andaluc-a
3544b2f9fa56dc05a3911a9121c290687d6ad09c
[ "MIT" ]
null
null
null
main.py
RoberWare/Ex-menes-Selectividad-PAU-Andaluc-a
3544b2f9fa56dc05a3911a9121c290687d6ad09c
[ "MIT" ]
null
null
null
main.py
RoberWare/Ex-menes-Selectividad-PAU-Andaluc-a
3544b2f9fa56dc05a3911a9121c290687d6ad09c
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- #KIVY IMPORTS import kivy #kivy.config.Config.set('graphics','resizable', False) from kivy.core.window import Window from kivy.metrics import dp Window.size=(dp(590),dp((480))) Window.minimum_width=(dp(580)) Window.minimum_height=dp(480) from kivy.app import App from k...
34.331579
287
0.627472
1,580
13,046
5.071519
0.218987
0.068888
0.084238
0.031574
0.333957
0.232248
0.191439
0.130912
0.097342
0.05541
0
0.009933
0.251495
13,046
379
288
34.422164
0.810548
0.044611
0
0.100386
0
0.003861
0.081895
0.03069
0
0
0
0
0
0
null
null
0.057915
0.088803
null
null
0.057915
0
0
0
null
0
0
0
0
0
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
1
0
0
0
0
0
2
49fc017d8495f8dcc161bce9d606ab32102255fd
631
py
Python
jsonmirror/register_models.py
synw/django-jsonmirror
b0aa0e84d2abf6999fb1ea7e792d8060482ada62
[ "MIT" ]
null
null
null
jsonmirror/register_models.py
synw/django-jsonmirror
b0aa0e84d2abf6999fb1ea7e792d8060482ada62
[ "MIT" ]
null
null
null
jsonmirror/register_models.py
synw/django-jsonmirror
b0aa0e84d2abf6999fb1ea7e792d8060482ada62
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import importlib from django.db.models.signals import post_save, post_delete from jsonmirror.conf import BACKEND if BACKEND == "rethinkdb": from jsonmirror.backends.rethinkdb.signals import model_save, model_delete def register_model(model): post_save.connect(model_save, sende...
28.681818
78
0.714739
80
631
5.475
0.4375
0.059361
0.059361
0
0
0
0
0
0
0
0
0.005693
0.164818
631
21
79
30.047619
0.825427
0.033281
0
0
0
0
0.019737
0
0
0
0
0
0
1
0.125
false
0
0.3125
0
0.5625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
49fe8430c551a66598f671467854758526715d3e
1,169
py
Python
app/tests/test.py
waweru12/The-news-highlighter
e7d2d98d0be67bd7471eaee44f7dabc54d60a308
[ "Unlicense" ]
null
null
null
app/tests/test.py
waweru12/The-news-highlighter
e7d2d98d0be67bd7471eaee44f7dabc54d60a308
[ "Unlicense" ]
null
null
null
app/tests/test.py
waweru12/The-news-highlighter
e7d2d98d0be67bd7471eaee44f7dabc54d60a308
[ "Unlicense" ]
null
null
null
import unittest from app.models import Source from app.models import Article class SourceTest(unittest.TestCase): ''' Test Class to test the behaviour of the Source class ''' def setUp(self): ''' Set up method that will run before every Test ''' self.new_source = Source...
29.974359
225
0.629598
153
1,169
4.75817
0.379085
0.038462
0.041209
0.049451
0.519231
0.519231
0.519231
0.395604
0.395604
0.299451
0
0.010321
0.254063
1,169
38
226
30.763158
0.824541
0.245509
0
0.307692
0
0
0.279683
0
0
0
0
0
0.153846
1
0.307692
false
0
0.230769
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
1
0
0
0
0
1
0
0
2
b706c0a1f4d9891787468c8f173db9f8741f8cc2
415
py
Python
docs/guide/code/awesome-bot-6/awesome/plugins/scheduler.py
yucongo/none-bot
3f66c14241115ec2136d7891210368910081375f
[ "MIT" ]
null
null
null
docs/guide/code/awesome-bot-6/awesome/plugins/scheduler.py
yucongo/none-bot
3f66c14241115ec2136d7891210368910081375f
[ "MIT" ]
null
null
null
docs/guide/code/awesome-bot-6/awesome/plugins/scheduler.py
yucongo/none-bot
3f66c14241115ec2136d7891210368910081375f
[ "MIT" ]
null
null
null
from datetime import datetime import none import pytz from aiocqhttp.exceptions import Error as CQHttpError @none.scheduler.scheduled_job('cron', hour='*') async def _(): bot = none.get_bot() now = datetime.now(pytz.timezone('Asia/Shanghai')) try: await bot.send_group_msg(group_id=672076603, ...
24.411765
61
0.653012
52
415
5.096154
0.692308
0.10566
0
0
0
0
0
0
0
0
0
0.028571
0.240964
415
16
62
25.9375
0.812698
0
0
0
0
0
0.081928
0
0
0
0
0
0
1
0
false
0.076923
0.307692
0
0.307692
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
0
0
0
2
b70721703cf4a4f5bb16c6a078ee1dac748c3719
250
py
Python
assignment7/reducer.py
IITDU-BSSE06/ads-demystifying-the-logs-mehedi-iitdu
1750141851d0295900d48a5a0e92495a2afbaa77
[ "MIT" ]
null
null
null
assignment7/reducer.py
IITDU-BSSE06/ads-demystifying-the-logs-mehedi-iitdu
1750141851d0295900d48a5a0e92495a2afbaa77
[ "MIT" ]
null
null
null
assignment7/reducer.py
IITDU-BSSE06/ads-demystifying-the-logs-mehedi-iitdu
1750141851d0295900d48a5a0e92495a2afbaa77
[ "MIT" ]
null
null
null
#!/usr/bin/python import sys requests = {} for line in sys.stdin: if line in requests: requests[line] = requests[line]+1 else: requests[line] = 1 for item in requests: result = "{0} {1}".format(item,requests[item]) print(result)
16.666667
50
0.648
37
250
4.378378
0.486486
0.222222
0.160494
0
0
0
0
0
0
0
0
0.020101
0.204
250
15
51
16.666667
0.79397
0.064
0
0
0
0
0.029915
0
0
0
0
0
0
0
null
null
0
0.1
null
null
0.1
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
1
0
0
0
0
0
0
0
0
2
b71829376ce087486b2008cd4036fa9b3b229666
684
py
Python
enrollment_ms/enrollment/enrollment/admin.py
omiguelperez/agile-academusoft-v2-backend
d69da6fa0a416d7cb36a58f28e2a8fe512e93452
[ "MIT" ]
null
null
null
enrollment_ms/enrollment/enrollment/admin.py
omiguelperez/agile-academusoft-v2-backend
d69da6fa0a416d7cb36a58f28e2a8fe512e93452
[ "MIT" ]
1
2021-10-02T20:57:46.000Z
2021-10-02T20:57:46.000Z
enrollment_ms/enrollment/enrollment/admin.py
omiguelperez/agile-academusoft-v2-backend
d69da6fa0a416d7cb36a58f28e2a8fe512e93452
[ "MIT" ]
null
null
null
from django.contrib import admin from enrollment.enrollment.models import ( StudentEnrollment, CourseGroup, Schedule, ) @admin.register(CourseGroup) class CourseGroupAdmin(admin.ModelAdmin): list_display = ['course', 'name', 'teacher', 'year', 'semester'] search_fields = ['course', 'name', 'teach...
26.307692
73
0.730994
69
684
7.057971
0.478261
0.090349
0.117043
0.160164
0.131417
0
0
0
0
0
0
0
0.134503
684
25
74
27.36
0.822635
0
0
0.111111
0
0
0.185673
0
0
0
0
0
0
1
0
false
0
0.111111
0
0.611111
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
1
0
0
2
b718e6ebb16c5a007eaea28e24cd21b3d8dc6dab
391
py
Python
setup.py
Stormholt/DWL5500XY-Python
a1c505d2a0e4f56f9f4af5aab19a91e4afd49488
[ "MS-PL" ]
null
null
null
setup.py
Stormholt/DWL5500XY-Python
a1c505d2a0e4f56f9f4af5aab19a91e4afd49488
[ "MS-PL" ]
null
null
null
setup.py
Stormholt/DWL5500XY-Python
a1c505d2a0e4f56f9f4af5aab19a91e4afd49488
[ "MS-PL" ]
null
null
null
from distutils.core import setup setup(name = "DWL5500XY", version = "0", description = "Python module to use the Digipass DWL5500XY", author = "Ajs R. Stormholt", author_email = "nicetry@gmail.com", url = "https://github.com/Stormholt/DWL5500XY-Python", packages = ['DWL5500XY'], scripts...
26.066667
64
0.647059
45
391
5.577778
0.777778
0
0
0
0
0
0
0
0
0
0
0.054662
0.204604
391
15
65
26.066667
0.752412
0
0
0
0
0
0.431122
0
0
0
0
0
0
1
0
true
0.090909
0.090909
0
0.090909
0
0
0
0
null
0
0
0
0
0
0
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
1
0
0
0
0
0
2
b71c5cb99ac6dafca688018b1dacbc27940075d9
2,498
py
Python
pywavez/tests/test_serialization_zwave.py
spacedentist/pywavez
88739989c19380e722767ea08eaba927cfa7f169
[ "MIT" ]
1
2020-03-01T00:02:43.000Z
2020-03-01T00:02:43.000Z
pywavez/tests/test_serialization_zwave.py
spacedentist/pywavez
88739989c19380e722767ea08eaba927cfa7f169
[ "MIT" ]
null
null
null
pywavez/tests/test_serialization_zwave.py
spacedentist/pywavez
88739989c19380e722767ea08eaba927cfa7f169
[ "MIT" ]
null
null
null
import unittest from pywavez.zwave import Message, inboundMessageFromBytes from pywavez.zwave.Constants import LibraryType class TestGetVersion(unittest.TestCase): def test_GetVersionResponse(self): data = bytes.fromhex("01155a2d5761766520342e30350001") obj = inboundMessageFromBytes(data) ...
33.306667
77
0.598078
199
2,498
7.447236
0.422111
0.222672
0.230769
0.062078
0.187584
0.168016
0.168016
0.119433
0
0
0
0.134739
0.316653
2,498
74
78
33.756757
0.733451
0
0
0.119403
0
0
0.082066
0.072858
0
0
0.010408
0
0.328358
1
0.044776
false
0
0.044776
0
0.104478
0
0
0
0
null
1
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
2
b71c5d08b1677875d0a78d3916dda89cb6e91e05
603
py
Python
glc/cli/subs/c_mr.py
evinoca/MyCli
bd6fcb98024c403f9562424f8e8acbacf1380a76
[ "MIT" ]
1
2020-05-24T03:59:37.000Z
2020-05-24T03:59:37.000Z
glc/cli/subs/c_mr.py
evinoca/MyCli
bd6fcb98024c403f9562424f8e8acbacf1380a76
[ "MIT" ]
12
2020-05-29T07:08:27.000Z
2022-01-12T22:39:49.000Z
glc/cli/subs/c_mr.py
evinoca/MyCli
bd6fcb98024c403f9562424f8e8acbacf1380a76
[ "MIT" ]
null
null
null
from __future__ import absolute_import from __future__ import unicode_literals import click @click.group() @click.pass_obj def cli(config): """ Merge Requests. """ click.echo("calling sub cmd repo") @cli.command("ls", short_help="List MR") def ls(): click.echo("repo list") @cli.command("add",...
17.735294
72
0.68325
85
603
4.670588
0.4
0.11335
0.130982
0
0
0
0
0
0
0
0
0
0.162521
603
33
73
18.272727
0.786139
0.024876
0
0
0
0
0.251748
0
0
0
0
0
0
1
0.263158
false
0.052632
0.157895
0
0.421053
0
0
0
0
null
0
0
0
0
0
0
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
1
0
0
0
0
0
2
b72fe19d01acee6f62a8e04b5b867719df5a113e
2,562
py
Python
tests/onegov/core/test_elements.py
politbuero-kampagnen/onegov-cloud
20148bf321b71f617b64376fe7249b2b9b9c4aa9
[ "MIT" ]
null
null
null
tests/onegov/core/test_elements.py
politbuero-kampagnen/onegov-cloud
20148bf321b71f617b64376fe7249b2b9b9c4aa9
[ "MIT" ]
null
null
null
tests/onegov/core/test_elements.py
politbuero-kampagnen/onegov-cloud
20148bf321b71f617b64376fe7249b2b9b9c4aa9
[ "MIT" ]
null
null
null
from onegov.core.utils import Bunch from onegov.core.elements import Link, Confirm, Intercooler def test_link(render_element): # text is translated result = render_element(Link(text="Settings", url='/settings')) assert result.pyquery('a').text() == "Settings" assert result.pyquery('a').attr('href') ==...
34.16
78
0.62178
320
2,562
4.878125
0.25
0.122998
0.194747
0.204997
0.596413
0.521461
0.443306
0.303652
0.234465
0.140935
0
0
0.191647
2,562
74
79
34.621622
0.753742
0.087822
0
0.25
0
0
0.187902
0
0
0
0
0
0.326923
1
0.096154
false
0
0.038462
0
0.134615
0
0
0
0
null
0
1
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
2
b730cb46cc6bdd05d72419af6a0f9344720414f1
2,898
py
Python
backend/users/views.py
otraczyk/cryptstarter
6dad77408b15285644d9f69de0cb853be0acf151
[ "MIT" ]
null
null
null
backend/users/views.py
otraczyk/cryptstarter
6dad77408b15285644d9f69de0cb853be0acf151
[ "MIT" ]
null
null
null
backend/users/views.py
otraczyk/cryptstarter
6dad77408b15285644d9f69de0cb853be0acf151
[ "MIT" ]
null
null
null
import json from django.http import HttpResponse from django.contrib.auth import get_user_model from users.models import UserFacebookStuff User = get_user_model() import open_facebook from django.views.generic.base import View from django.contrib.auth.decorators import login_required from django.core.exceptions impor...
29.272727
67
0.613182
322
2,898
5.459627
0.344721
0.040956
0.022184
0.03413
0.18942
0.175768
0.175768
0.175768
0.175768
0.085324
0
0.008256
0.28951
2,898
98
68
29.571429
0.845556
0
0
0.24359
0
0
0.046537
0
0
0
0
0.010204
0.025641
0
null
null
0.012821
0.115385
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
1
0
0
0
0
0
0
0
0
2
b73c6aaabf3ab2bd8b5e6d312900cb91438d7567
2,676
py
Python
data/aggregate_genres.py
com-480-data-visualization/data-visualization-project-2021-pia
81678676d9cd81eefe3bcfbbb2375b99b6491fed
[ "MIT" ]
49
2018-08-25T08:12:56.000Z
2022-03-29T21:53:11.000Z
data/aggregate_genres.py
com-480-data-visualization/data-visualization-project-2021-pia
81678676d9cd81eefe3bcfbbb2375b99b6491fed
[ "MIT" ]
null
null
null
data/aggregate_genres.py
com-480-data-visualization/data-visualization-project-2021-pia
81678676d9cd81eefe3bcfbbb2375b99b6491fed
[ "MIT" ]
43
2018-10-02T20:35:05.000Z
2022-03-01T20:40:05.000Z
aggregate_genres = [{"rock": ["symphonic rock", "jazz-rock", "heartland rock", "rap rock", "garage rock", "folk-rock", "roots rock", "adult alternative pop rock", "rock roll", "punk rock", "arena rock", "pop-rock", "glam rock", "southern rock", "indie rock", "funk rock", "country rock", "piano rock", "art rock", "rocka...
178.4
635
0.650972
339
2,676
5.135693
0.303835
0.031017
0.018955
0.020678
0.013785
0.013785
0
0
0
0
0
0.000849
0.119955
2,676
15
636
178.4
0.738429
0
0
0
0
0
0.708629
0
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
1
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
3f8656a953aef0d61d45209e88de7f1ead442ea9
309
py
Python
tests/test_qr_node.py
chrisspen/ros_qr_tracker
9c2b4e61051d5f1e18a3a71ccec2c50d695fa788
[ "MIT" ]
6
2018-10-21T02:13:11.000Z
2021-01-19T06:33:23.000Z
tests/test_qr_node.py
chrisspen/ros_qr_tracker
9c2b4e61051d5f1e18a3a71ccec2c50d695fa788
[ "MIT" ]
null
null
null
tests/test_qr_node.py
chrisspen/ros_qr_tracker
9c2b4e61051d5f1e18a3a71ccec2c50d695fa788
[ "MIT" ]
2
2018-04-13T20:34:58.000Z
2020-04-15T16:31:06.000Z
#!/usr/bin/env python import sys import unittest import roslib PKG = 'ros_qr_tracker' roslib.load_manifest(PKG) class Tests(unittest.TestCase): def test_one_equals_one(self): self.assertEquals(1, 1) if __name__ == '__main__': import rostest rostest.rosrun(PKG, 'test_qr_node', Tests)
17.166667
46
0.721683
44
309
4.704545
0.681818
0
0
0
0
0
0
0
0
0
0
0.007782
0.168285
309
17
47
18.176471
0.797665
0.064725
0
0
0
0
0.118056
0
0
0
0
0
0.090909
1
0.090909
false
0
0.363636
0
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
3f8cf31469b6d727f72a8ab6fe934d59455e107a
183
py
Python
Old_Chapter03/Exercise 3.1/urls.py
lmoshood/The-Django-Workshop
52e86a8f93cb38bf70d50e9b8d2c6d7dac416f62
[ "MIT" ]
null
null
null
Old_Chapter03/Exercise 3.1/urls.py
lmoshood/The-Django-Workshop
52e86a8f93cb38bf70d50e9b8d2c6d7dac416f62
[ "MIT" ]
null
null
null
Old_Chapter03/Exercise 3.1/urls.py
lmoshood/The-Django-Workshop
52e86a8f93cb38bf70d50e9b8d2c6d7dac416f62
[ "MIT" ]
1
2020-05-27T13:41:58.000Z
2020-05-27T13:41:58.000Z
from django.conf.urls import url from .views import index , detail urlpatterns = [ url(r'^$', view=index), #/bookr/22/ url(r'^(?P<book_id>[0-9]+)/$',view = detail) ]
15.25
48
0.590164
27
183
3.962963
0.703704
0.074766
0
0
0
0
0
0
0
0
0
0.027397
0.202186
183
11
49
16.636364
0.705479
0.054645
0
0
0
0
0.140351
0.128655
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
3f9a98e77ef2f923d4b9ae7ee06e73cb28a162ac
3,141
py
Python
tests/test_103_build.py
s-yoshiki/kenall
d6dcd8f43b21c3d07f436a31d5c0f2f10dd56df1
[ "MIT" ]
1
2021-05-09T09:26:00.000Z
2021-05-09T09:26:00.000Z
tests/test_103_build.py
s-yoshiki/kenall
d6dcd8f43b21c3d07f436a31d5c0f2f10dd56df1
[ "MIT" ]
null
null
null
tests/test_103_build.py
s-yoshiki/kenall
d6dcd8f43b21c3d07f436a31d5c0f2f10dd56df1
[ "MIT" ]
null
null
null
from .util import * def test_build(): write_item("\r\n".join([ '13113,"150 ","1500013","トウキョウト","シブヤク","エビス(ツギノビルヲノゾク)","東京都","渋谷区","恵比寿(次のビルを除く)",0,0,1,0,0,0', '13113,"150 ","1506090","トウキョウト","シブヤク","エビスエビスガーデンプレイス(チカイ・カイソウフメイ)","東京都","渋谷区","恵比寿恵比寿ガーデンプレイス(地階・階層不明)",0,0,0,0,0,0', ...
36.523256
163
0.592805
453
3,141
4.048565
0.189845
0.261723
0.039258
0.032715
0.600872
0.594875
0.473282
0.461287
0.437296
0.423119
0
0.121632
0.196434
3,141
85
164
36.952941
0.608558
0.004776
0
0.614286
0
0.128571
0.410026
0.303021
0
0
0
0
0.685714
1
0.014286
false
0
0.014286
0
0.028571
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
1
0
0
0
0
0
0
0
0
0
2
3fa6e839a7e806f05291a97579dbb9d6e1043ccc
1,217
py
Python
gefapi/services/__init__.py
erick-otenyo/trends.earth-API
143a4798965e9daa4a53626ace984c7e5b9e359d
[ "X11" ]
null
null
null
gefapi/services/__init__.py
erick-otenyo/trends.earth-API
143a4798965e9daa4a53626ace984c7e5b9e359d
[ "X11" ]
null
null
null
gefapi/services/__init__.py
erick-otenyo/trends.earth-API
143a4798965e9daa4a53626ace984c7e5b9e359d
[ "X11" ]
null
null
null
"""GEFAPI SERVICES MODULE""" from __future__ import absolute_import from __future__ import division from __future__ import print_function import os import sys import logging import rollbar from rollbar.logger import RollbarHandler from gefapi.services.docker_service import DockerService, docker_build, docker_run fr...
33.805556
88
0.828266
153
1,217
6.281046
0.437909
0.087409
0.093652
0.046826
0.084287
0.084287
0
0
0
0
0
0
0.10189
1,217
35
89
34.771429
0.879231
0.074774
0
0
0
0
0.036607
0
0
0
0
0
0
1
0.038462
false
0
0.5
0
0.576923
0.038462
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
3fb2cf3c8c5a92866783564a2731ce98239e0325
135
py
Python
lesson15/HomeWork/task8.py
zainllw0w/skillbox
896287b6f7f5612cf589094131fd1a12b0b192ba
[ "MIT" ]
null
null
null
lesson15/HomeWork/task8.py
zainllw0w/skillbox
896287b6f7f5612cf589094131fd1a12b0b192ba
[ "MIT" ]
null
null
null
lesson15/HomeWork/task8.py
zainllw0w/skillbox
896287b6f7f5612cf589094131fd1a12b0b192ba
[ "MIT" ]
null
null
null
n = [1, 2, 3, 4, 5] new = [] k = int(input('Сдвиг: ')) for _ in range(5): new.append(n[-k]) k -= 1 print(n) print(new)
15
25
0.459259
25
135
2.44
0.64
0.131148
0
0
0
0
0
0
0
0
0
0.073684
0.296296
135
9
26
15
0.568421
0
0
0
0
0
0.051471
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
3fb5815dea127e7ae6818309480f87b18fed8de6
3,364
py
Python
{{cookiecutter.project_slug}}/config/urls.py
julianwagle/cookiecutter-django-react
bce2e264cc90bfe89bb7f6f1300441f725731b12
[ "BSD-3-Clause" ]
2
2021-08-10T18:33:49.000Z
2021-11-09T15:37:51.000Z
{{cookiecutter.project_slug}}/config/urls.py
julianwagle/cookiecutter-django-react
bce2e264cc90bfe89bb7f6f1300441f725731b12
[ "BSD-3-Clause" ]
1
2022-03-10T23:38:06.000Z
2022-03-11T15:22:48.000Z
{{cookiecutter.project_slug}}/config/urls.py
julianwagle/cookiecutter-django-react
bce2e264cc90bfe89bb7f6f1300441f725731b12
[ "BSD-3-Clause" ]
1
2021-08-13T21:34:33.000Z
2021-08-13T21:34:33.000Z
from django.conf import settings from django.conf.urls.static import static from django.contrib import admin from django.contrib.staticfiles.urls import staticfiles_urlpatterns from django.urls import path from django.views import defaults as default_views from django.conf.urls import include from django.views.generi...
51.753846
110
0.724138
425
3,364
5.564706
0.362353
0.032981
0.042283
0.053277
0.085412
0.054123
0
0
0
0
0
0.004098
0.129608
3,364
64
111
52.5625
0.80362
0.432818
0
0
0
0
0.217091
0.086518
0
0
0
0
0
0
null
null
0
0.322581
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
1
0
0
0
0
2
3fbb6d8f93e1a821ca13b85dfa711388bbbf33b8
1,052
py
Python
src/djanban/apps/boards/migrations/0071_auto_20170530_1711.py
diegojromerolopez/djanban
6451688d49cf235d03c604b19a6a8480b33eed87
[ "MIT" ]
33
2017-06-14T18:04:25.000Z
2021-06-15T07:07:56.000Z
src/djanban/apps/boards/migrations/0071_auto_20170530_1711.py
diegojromerolopez/djanban
6451688d49cf235d03c604b19a6a8480b33eed87
[ "MIT" ]
1
2017-05-10T08:45:55.000Z
2017-05-10T08:45:55.000Z
src/djanban/apps/boards/migrations/0071_auto_20170530_1711.py
diegojromerolopez/djanban
6451688d49cf235d03c604b19a6a8480b33eed87
[ "MIT" ]
8
2017-08-27T11:14:25.000Z
2021-03-03T12:11:16.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2017-05-30 15:11 from __future__ import unicode_literals from django.db import migrations, models from django.db.models import Sum # Set adjusted spent time initial value for each card def set_card_adjusted_spent_time(apps, schema): Card = apps.get_model("boa...
31.878788
132
0.692966
137
1,052
5.021898
0.50365
0.143895
0.222384
0.152616
0.172965
0
0
0
0
0
0
0.041766
0.203422
1,052
32
133
32.875
0.779236
0.112167
0
0
1
0
0.126882
0.024731
0
0
0
0
0
1
0.045455
false
0
0.136364
0
0.318182
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
3fca602e52ec55b0def35c5194f95a5d6f0b0c8b
537
py
Python
tests/unit/load_balancer_test.py
esra-sengul/hazelcast-python-client
bdfd945aba9335cc583fd0c70e4812093f247d66
[ "Apache-2.0" ]
null
null
null
tests/unit/load_balancer_test.py
esra-sengul/hazelcast-python-client
bdfd945aba9335cc583fd0c70e4812093f247d66
[ "Apache-2.0" ]
null
null
null
tests/unit/load_balancer_test.py
esra-sengul/hazelcast-python-client
bdfd945aba9335cc583fd0c70e4812093f247d66
[ "Apache-2.0" ]
null
null
null
import unittest from hazelcast.util import RandomLB, RoundRobinLB class _MockClusterService: def __init__(self, members): self._members = members def add_listener(self, listener, *_): for m in self._members: listener(m) def get_members(self): return self._members c...
22.375
49
0.668529
59
537
5.79661
0.508475
0.128655
0
0
0
0
0
0
0
0
0
0
0.243948
537
23
50
23.347826
0.842365
0
0
0
0
0
0
0
0
0
0
0
0.0625
1
0.25
false
0
0.125
0.0625
0.5625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
3fcb6dc43074ea8057cd6962b1d2c7cdc34c51f7
2,618
py
Python
dataModels/wall.py
JoelEager/pyTanks-Server
4455c0475980ea1372f11d7ec41d95990b3c8f44
[ "MIT" ]
5
2017-09-04T09:36:40.000Z
2019-10-31T20:52:13.000Z
dataModels/wall.py
JoelEager/pyTanks-Server
4455c0475980ea1372f11d7ec41d95990b3c8f44
[ "MIT" ]
3
2018-12-28T08:09:51.000Z
2019-01-04T20:36:47.000Z
dataModels/wall.py
JoelEager/pyTanks-Server
4455c0475980ea1372f11d7ec41d95990b3c8f44
[ "MIT" ]
1
2018-12-28T08:12:36.000Z
2018-12-28T08:12:36.000Z
from random import randint import config class wall: """ Stores the state data for a wall on the map """ def __init__(self): """ Randomly generates a wall using the bounding values in config.py """ # Set lengths for the long and short sides of the wall longSide ...
51.333333
101
0.624523
332
2,618
4.912651
0.26506
0.171674
0.171674
0.220723
0.548743
0.512569
0.512569
0.512569
0.512569
0.492949
0
0.008403
0.272727
2,618
51
102
51.333333
0.848214
0.182964
0
0.258065
1
0
0
0
0
0
0
0
0
1
0.064516
false
0
0.064516
0
0.193548
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
3fd1ac9ae5a4406a52aec0104089a12d701aff36
282
py
Python
rfhub2/db/model/doc_mixin.py
Wolfe1/rfhub2
7bc5bd95a5b80f0dec62211bc1771d11d604e01b
[ "Apache-2.0" ]
null
null
null
rfhub2/db/model/doc_mixin.py
Wolfe1/rfhub2
7bc5bd95a5b80f0dec62211bc1771d11d604e01b
[ "Apache-2.0" ]
null
null
null
rfhub2/db/model/doc_mixin.py
Wolfe1/rfhub2
7bc5bd95a5b80f0dec62211bc1771d11d604e01b
[ "Apache-2.0" ]
null
null
null
from robot.libdocpkg.htmlwriter import DocToHtml class DocMixin: @property def synopsis(self) -> str: return self.doc.splitlines()[0] if self.doc else "" @property def html_doc(self) -> str: return DocToHtml("ROBOT")(self.doc) if self.doc else ""
23.5
63
0.656028
37
282
4.972973
0.540541
0.152174
0.141304
0.141304
0
0
0
0
0
0
0
0.004566
0.223404
282
11
64
25.636364
0.835616
0
0
0.25
0
0
0.017731
0
0
0
0
0
0
1
0.25
false
0
0.125
0.25
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
1
0
0
0
1
0
0
0
2
3fe0c731b4b1c6ac01da7200976dca2b288d2077
235
py
Python
chapter-5/basic_hook/get_hooked.py
carltyndall/Modular-Programming-with-Python
efe1c725602b2148fdeb530e89381895c3e7f696
[ "MIT" ]
null
null
null
chapter-5/basic_hook/get_hooked.py
carltyndall/Modular-Programming-with-Python
efe1c725602b2148fdeb530e89381895c3e7f696
[ "MIT" ]
null
null
null
chapter-5/basic_hook/get_hooked.py
carltyndall/Modular-Programming-with-Python
efe1c725602b2148fdeb530e89381895c3e7f696
[ "MIT" ]
null
null
null
hooked_function = None def set_hook(hook): global hooked_function hooked_function = hook hooked_function def do_it(): if hooked_function != None: hooked_function() else: print("Did not get hooked")
19.583333
35
0.668085
30
235
4.966667
0.5
0.563758
0.241611
0
0
0
0
0
0
0
0
0
0.255319
235
11
36
21.363636
0.851429
0
0
0
0
0
0.076596
0
0
0
0
0
0
1
0.2
false
0
0
0
0.2
0.1
0
0
0
null
1
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
2
3fe4e8bbc504925f650df701d0f5f891bb86af26
1,365
py
Python
utils/freshrotation.py
joergsimon/gesture-analysis
1077b19c20bb7bf437df7de4938528accc93acd1
[ "Apache-2.0" ]
null
null
null
utils/freshrotation.py
joergsimon/gesture-analysis
1077b19c20bb7bf437df7de4938528accc93acd1
[ "Apache-2.0" ]
null
null
null
utils/freshrotation.py
joergsimon/gesture-analysis
1077b19c20bb7bf437df7de4938528accc93acd1
[ "Apache-2.0" ]
null
null
null
import numpy as np def rotX(theta): return np.array([[1, 0, 0] , [0, np.cos(theta), -np.sin(theta)] , [0, np.sin(theta), np.cos(theta)]]) def rotY(theta): return np.array([[np.cos(theta), 0, np.sin(theta)] , [0, 1, 0] , [-np.sin(theta...
31.022727
87
0.536264
202
1,365
3.574257
0.212871
0.022161
0.083102
0.060942
0.213296
0.177285
0.177285
0.113573
0.113573
0.113573
0
0.038697
0.280586
1,365
44
88
31.022727
0.696538
0.049084
0
0
0
0
0
0
0
0
0
0
0
1
0.21875
false
0
0.03125
0.15625
0.46875
0
0
0
0
null
0
0
0
0
0
0
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
1
0
0
0
2
3ffe7c564ce6575a61047ee944d7eb5f1424abe0
351
py
Python
config/core.py
Thedonutz/config-client
40ad3a8ef19409775f66c61c12dcb580497e7ea4
[ "Apache-2.0" ]
20
2019-05-07T11:55:20.000Z
2022-02-15T08:44:36.000Z
config/core.py
Thedonutz/config-client
40ad3a8ef19409775f66c61c12dcb580497e7ea4
[ "Apache-2.0" ]
42
2019-06-21T00:50:38.000Z
2022-03-02T16:56:10.000Z
config/core.py
Thedonutz/config-client
40ad3a8ef19409775f66c61c12dcb580497e7ea4
[ "Apache-2.0" ]
12
2019-06-12T18:32:59.000Z
2021-08-07T11:45:23.000Z
"""Core functions.""" from functools import wraps def singleton(cls): """Ensure singleton instance.""" instances = {} @wraps(cls) def instance(*args, **kwargs): """Create class instance.""" if cls not in instances: instances[cls] = cls(*args, **kwargs) return insta...
20.647059
49
0.592593
37
351
5.621622
0.540541
0.096154
0
0
0
0
0
0
0
0
0
0
0.267806
351
16
50
21.9375
0.809339
0.185185
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0.111111
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
b7466e6f3649f809acb1c310d7fd25741199b1f7
2,437
py
Python
Exp_Main/migrations/0005_auto_20210516_1527.py
SimonSchubotz/Electronic-Laboratory-Notebook
a5dc3daa76b07370c1ee5b7e74fb6c780c3d3c97
[ "Apache-2.0" ]
null
null
null
Exp_Main/migrations/0005_auto_20210516_1527.py
SimonSchubotz/Electronic-Laboratory-Notebook
a5dc3daa76b07370c1ee5b7e74fb6c780c3d3c97
[ "Apache-2.0" ]
null
null
null
Exp_Main/migrations/0005_auto_20210516_1527.py
SimonSchubotz/Electronic-Laboratory-Notebook
a5dc3daa76b07370c1ee5b7e74fb6c780c3d3c97
[ "Apache-2.0" ]
null
null
null
# Generated by Django 3.1.3 on 2021-05-16 13:27 import datetime from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('Exp_Sub', '0005_auto_20210516_1527'), ('Lab_Dash', '0005_auto_20210516_1527'), ('Exp_Main', ...
48.74
194
0.610587
279
2,437
5.175627
0.318996
0.105956
0.126039
0.16482
0.600416
0.600416
0.531163
0.256925
0.228532
0.228532
0
0.054683
0.242101
2,437
49
195
49.734694
0.727125
0.018465
0
0.209302
1
0
0.157741
0.037657
0
0
0
0
0
1
0
false
0
0.069767
0
0.139535
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
b74eb80ea94d0f21461c6e09d6f6576893245540
206
py
Python
handlingException.py
nkukadiya89/learn-python
d0a8c438dd77b8feeb1e0126ec379873ef4b2978
[ "MIT" ]
1
2021-06-16T16:42:41.000Z
2021-06-16T16:42:41.000Z
handlingException.py
nkukadiya89/learn-python
d0a8c438dd77b8feeb1e0126ec379873ef4b2978
[ "MIT" ]
null
null
null
handlingException.py
nkukadiya89/learn-python
d0a8c438dd77b8feeb1e0126ec379873ef4b2978
[ "MIT" ]
null
null
null
#Handling Exceptions try: age = int(input("Enter your age:")) except ValueError as ex: print(ex) print(type(ex)) print("Please enter valid age!") else: print("else part executed")
17.166667
39
0.635922
28
206
4.678571
0.678571
0.160305
0
0
0
0
0
0
0
0
0
0
0.23301
206
11
40
18.727273
0.829114
0.092233
0
0
0
0
0.302703
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
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
1
0
2
b7500fd018d38736f2a7f72a0ede36d815c36cf3
718
py
Python
app/models/school.py
jnsdrtlf/et
7ebf03ef0dc3fe9f9ff9f361063572fd4fe6ac26
[ "Apache-2.0" ]
null
null
null
app/models/school.py
jnsdrtlf/et
7ebf03ef0dc3fe9f9ff9f361063572fd4fe6ac26
[ "Apache-2.0" ]
null
null
null
app/models/school.py
jnsdrtlf/et
7ebf03ef0dc3fe9f9ff9f361063572fd4fe6ac26
[ "Apache-2.0" ]
null
null
null
from app.models import db, ma class School(db.Model): """School This table stores the configuration for each individual school. Schools are addressed through their short name. """ __tablename__ = 'school' id = db.Column(db.Integer, primary_key=True, unique=True, nullable=False) school_n...
31.217391
77
0.692201
104
718
4.644231
0.615385
0.074534
0.082816
0.070393
0.082816
0
0
0
0
0
0
0.008621
0.192201
718
22
78
32.636364
0.824138
0.342618
0
0
0
0
0.070796
0
0
0
0
0
0
1
0.111111
false
0
0.111111
0.111111
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
2
b761c3b87b1f697ea2ac6d2f45661a67ddf76f9f
1,254
py
Python
ansible/venv/lib/python2.7/site-packages/ansible/plugins/doc_fragments/tower.py
gvashchenkolineate/gvashchenkolineate_infra_trytravis
0fb18850afe0d8609693ba4b23f29c7cda17d97f
[ "MIT" ]
17
2017-06-07T23:15:01.000Z
2021-08-30T14:32:36.000Z
ansible/ansible/plugins/doc_fragments/tower.py
SergeyCherepanov/ansible
875711cd2fd6b783c812241c2ed7a954bf6f670f
[ "MIT" ]
9
2017-06-25T03:31:52.000Z
2021-05-17T23:43:12.000Z
ansible/ansible/plugins/doc_fragments/tower.py
SergeyCherepanov/ansible
875711cd2fd6b783c812241c2ed7a954bf6f670f
[ "MIT" ]
3
2018-05-26T21:31:22.000Z
2019-09-28T17:00:45.000Z
# -*- coding: utf-8 -*- # Copyright: (c) 2017, Wayne Witzel III <wayne@riotousliving.com> # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) class ModuleDocFragment(object): # Ansible Tower documentation fragment DOCUMENTATION = r''' options: tower_host: descr...
26.680851
93
0.708931
168
1,254
5.232143
0.589286
0.040956
0.05802
0.071672
0.100114
0.100114
0
0
0
0
0
0.012121
0.210526
1,254
46
94
27.26087
0.875758
0.169856
0
0.222222
0
0
0.929537
0
0
0
0
0
0
1
0
false
0.083333
0
0
0.055556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
b76abc107a062e832633bcb2ca38915051f23c3f
1,025
py
Python
src/accounts/api/views.py
kkweon/django-blog-rest
3e721db008a1e6c17941fb61a05879329766fddb
[ "MIT" ]
null
null
null
src/accounts/api/views.py
kkweon/django-blog-rest
3e721db008a1e6c17941fb61a05879329766fddb
[ "MIT" ]
null
null
null
src/accounts/api/views.py
kkweon/django-blog-rest
3e721db008a1e6c17941fb61a05879329766fddb
[ "MIT" ]
null
null
null
from django.contrib.auth import get_user_model from rest_framework.generics import CreateAPIView from rest_framework.permissions import AllowAny from rest_framework.response import Response from rest_framework.status import HTTP_200_OK, HTTP_400_BAD_REQUEST from rest_framework.views import APIView from accounts.api.se...
33.064516
78
0.779512
118
1,025
6.542373
0.449153
0.051813
0.110104
0.044041
0
0
0
0
0
0
0
0.013905
0.158049
1,025
30
79
34.166667
0.880649
0
0
0.090909
0
0
0
0
0
0
0
0
0
1
0.045455
false
0
0.318182
0
0.772727
0
0
0
0
null
0
0
0
0
0
0
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
1
0
0
2
b77200cd10d165b552812b97c20c7f3c2edce121
422
py
Python
django_workflow_system/models/abstract_models.py
eikonomega/django-workflow-system
dc0e8807263266713d3d7fa46e240e8d72db28d1
[ "MIT" ]
2
2022-01-28T12:35:42.000Z
2022-03-23T16:06:05.000Z
django_workflow_system/models/abstract_models.py
eikonomega/django-workflow-system
dc0e8807263266713d3d7fa46e240e8d72db28d1
[ "MIT" ]
10
2021-04-27T20:26:32.000Z
2021-07-21T15:34:31.000Z
django_workflow_system/models/abstract_models.py
eikonomega/django-workflow-system
dc0e8807263266713d3d7fa46e240e8d72db28d1
[ "MIT" ]
1
2021-11-13T14:30:34.000Z
2021-11-13T14:30:34.000Z
"""Application Wide Abstract Model Definitions.""" from django.db import models class CreatedModifiedAbstractModel(models.Model): """ Abstract base model that is used to add `created_date` and `modified_date` fields to all descendant models. """ created_date = models.DateTimeField(auto_now_add=T...
24.823529
58
0.725118
51
422
5.862745
0.588235
0.073579
0.153846
0.180602
0.200669
0
0
0
0
0
0
0
0.191943
422
16
59
26.375
0.876833
0.36019
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.833333
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
1
0
0
2
b77ae041039444eabec2a0f4765645961d3e1a52
432
py
Python
blackmamba/util/path.py
oz90210/blackmamba
65c82c8e99028d6fbb57098ce82d0a394df215a0
[ "MIT" ]
61
2017-08-21T21:37:36.000Z
2020-12-21T07:41:14.000Z
blackmamba/util/path.py
oz90210/blackmamba
65c82c8e99028d6fbb57098ce82d0a394df215a0
[ "MIT" ]
39
2017-08-20T15:10:36.000Z
2020-03-31T18:45:57.000Z
blackmamba/util/path.py
oz90210/blackmamba
65c82c8e99028d6fbb57098ce82d0a394df215a0
[ "MIT" ]
12
2017-08-24T08:38:49.000Z
2020-12-02T02:04:50.000Z
#!python3 import os _DOCUMENTS = os.path.expanduser('~/Documents') def strip_documents_folder(path): """ Strip ~/Documents part of the path. ~/Documents/hallo.py -> hallo.py ~/Documents/folder/a.py -> folder/a.py """ if path.startswith(_DOCUMENTS): return path[len(_DOCUMENTS) + 1:] ...
18.782609
46
0.636574
56
432
4.767857
0.464286
0.044944
0.067416
0
0
0
0
0
0
0
0
0.005865
0.210648
432
22
47
19.636364
0.777126
0.270833
0
0
0
0
0.04811
0
0
0
0
0
0
1
0.222222
false
0
0.111111
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
b7927136694ac6734f303c1679226e491ed2ab39
287
py
Python
release/scripts/mgear/version.py
yamahigashi/mgear4
d439a69bbdc0ec727cded924a616b14194dfbe00
[ "MIT" ]
72
2020-09-28T20:00:59.000Z
2022-03-25T14:35:14.000Z
release/scripts/mgear/version.py
Mikfr83/mgear4
2fa28080027f1004e8e0139ccf93f7ec2448b1fd
[ "MIT" ]
101
2020-09-28T19:53:53.000Z
2022-03-31T01:44:41.000Z
release/scripts/mgear/version.py
Mikfr83/mgear4
2fa28080027f1004e8e0139ccf93f7ec2448b1fd
[ "MIT" ]
32
2020-10-09T10:49:45.000Z
2022-03-31T08:27:37.000Z
import mgear VERSION_MAJOR = mgear.VERSION[0] VERSION_MINOR = mgear.VERSION[1] VERSION_PATCH = mgear.VERSION[2] version_info = (VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH) version = '%i.%i.%i' % version_info __version__ = version __all__ = ['version', 'version_info', '__version__']
23.916667
60
0.756098
38
287
5.157895
0.315789
0.244898
0.27551
0
0
0
0
0
0
0
0
0.011765
0.111498
287
11
61
26.090909
0.756863
0
0
0
0
0
0.132404
0
0
0
0
0
0
1
0
false
0
0.125
0
0.125
0
0
0
0
null
1
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
2
b796f663b1a4a5f1ed0520d6f0d8e6a33e590d8a
401
py
Python
theano/sparse/__init__.py
michaelosthege/aesara
55c88832ba71f87c9612d573ede74a4c042ef570
[ "BSD-3-Clause" ]
1
2020-12-30T19:12:52.000Z
2020-12-30T19:12:52.000Z
theano/sparse/__init__.py
michaelosthege/aesara
55c88832ba71f87c9612d573ede74a4c042ef570
[ "BSD-3-Clause" ]
null
null
null
theano/sparse/__init__.py
michaelosthege/aesara
55c88832ba71f87c9612d573ede74a4c042ef570
[ "BSD-3-Clause" ]
null
null
null
from warnings import warn try: import scipy enable_sparse = True except ImportError: enable_sparse = False warn("SciPy can't be imported. Sparse matrix support is disabled.") from theano.sparse.type import * if enable_sparse: from theano.sparse import opt, sharedvar from theano.sparse.bas...
21.105263
72
0.745636
54
401
5.462963
0.537037
0.135593
0.216949
0
0
0
0
0
0
0
0
0
0.199501
401
18
73
22.277778
0.919003
0
0
0
0
0
0.149626
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
b7a8885bf19ed5536c860f41027d45c7b2de322d
247
py
Python
src/cupyopt/__init__.py
staylorx/cupyopt
ea264dedc6797cd1c52ba3c61fb17f307ab278da
[ "Apache-2.0" ]
4
2020-07-27T16:53:56.000Z
2021-03-12T20:46:34.000Z
src/cupyopt/__init__.py
staylorx/cupyopt
ea264dedc6797cd1c52ba3c61fb17f307ab278da
[ "Apache-2.0" ]
10
2020-07-28T16:29:07.000Z
2020-12-07T22:59:25.000Z
src/cupyopt/__init__.py
staylorx/cupyopt
ea264dedc6797cd1c52ba3c61fb17f307ab278da
[ "Apache-2.0" ]
2
2020-10-19T20:48:25.000Z
2021-01-15T16:04:04.000Z
""" Init for cupyopt base """ from .oradb_tasks import ORADBGetEngine, ORADBSelectToDataFrame from .sftp_tasks import ( DFGetOldestFile, SFTPExists, SFTPGet, SFTPPoll, SFTPPut, SFTPRemove, ) from .task_factory import ptask
20.583333
63
0.724696
25
247
7.04
0.8
0.125
0
0
0
0
0
0
0
0
0
0
0.202429
247
11
64
22.454545
0.893401
0.08502
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.3
0
0.3
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
1
0
0
0
0
0
0
2
b7a9fe3f98e400c0cda8edec1e995b546d6e32b5
8,618
py
Python
venv/Lib/site-packages/mediapipe/calculators/util/non_max_suppression_calculator_pb2.py
Farhan-Malik/advance-hand-gesture
0ebe21ddd7c8c2eb14746678be57b33d38c47205
[ "MIT" ]
41
2021-06-19T13:57:18.000Z
2021-12-02T17:08:53.000Z
venv/Lib/site-packages/mediapipe/calculators/util/non_max_suppression_calculator_pb2.py
HxnDev/Pose-Detection
2be27e88cf79a0fb643c5047158cba478c770be9
[ "MIT" ]
null
null
null
venv/Lib/site-packages/mediapipe/calculators/util/non_max_suppression_calculator_pb2.py
HxnDev/Pose-Detection
2be27e88cf79a0fb643c5047158cba478c770be9
[ "MIT" ]
4
2021-07-02T03:09:51.000Z
2021-11-25T13:00:10.000Z
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: mediapipe/calculators/util/non_max_suppression_calculator.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 _messag...
47.351648
1,128
0.793456
970
8,618
6.743299
0.196907
0.040361
0.028589
0.085767
0.41645
0.36126
0.33634
0.308821
0.244764
0.244764
0
0.0396
0.106289
8,618
181
1,129
47.61326
0.80966
0.032954
0
0.45625
1
0.00625
0.272695
0.25048
0
0
0
0
0
1
0
false
0
0.04375
0
0.04375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
b7c3465361d539a79294776f7df6ddb3ed36d292
96
py
Python
pyprac/bignumprd.py
passingbreeze/LearnAlgorithm
fa1f0706a6b66f2ee4f0e7c9aef5fd3b2507f01b
[ "MIT" ]
null
null
null
pyprac/bignumprd.py
passingbreeze/LearnAlgorithm
fa1f0706a6b66f2ee4f0e7c9aef5fd3b2507f01b
[ "MIT" ]
null
null
null
pyprac/bignumprd.py
passingbreeze/LearnAlgorithm
fa1f0706a6b66f2ee4f0e7c9aef5fd3b2507f01b
[ "MIT" ]
null
null
null
num = [ eval(i) for i in input().split()] product = lambda x,y:x*y print(product(num[0],num[1]))
32
41
0.635417
20
96
3.05
0.7
0.065574
0
0
0
0
0
0
0
0
0
0.02381
0.125
96
3
42
32
0.702381
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
b7cbb5a26a24b77470295a88c0959c494f0e9a09
3,301
py
Python
leetcode/lessons/binary_search/__init__.py
wangkuntian/leetcode
e8dc9c8032c805a7d071ad19b94841ee8e52e834
[ "MIT" ]
null
null
null
leetcode/lessons/binary_search/__init__.py
wangkuntian/leetcode
e8dc9c8032c805a7d071ad19b94841ee8e52e834
[ "MIT" ]
2
2020-03-24T18:00:21.000Z
2020-03-26T11:33:51.000Z
leetcode/lessons/binary_search/__init__.py
wangkuntian/leetcode
e8dc9c8032c805a7d071ad19b94841ee8e52e834
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- """ __project__ = 'leetcode' __file__ = '__init__.py' __author__ = 'king' __time__ = '2020/1/9 10:08' _ooOoo_ o8888888o 88" . "88 (| -_- |) ...
25.589147
56
0.400788
305
3,301
4.068852
0.186885
0.084609
0.157131
0.136986
0.681708
0.64303
0.64303
0.64303
0.64303
0.64303
0
0.034965
0.436837
3,301
128
57
25.789063
0.632598
0.336868
0
0.847222
0
0
0
0
0
0
0
0
0
1
0.069444
false
0
0
0
0.236111
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
b7f577ff590a350a00238d5b26c5f551f6a3fef2
5,604
py
Python
commandment/mdm/__init__.py
sreyemnayr/commandment
addfe4bad7abd501fd0fa6facde783dc6fe730d4
[ "MIT" ]
2
2018-12-05T12:47:03.000Z
2019-06-27T12:08:01.000Z
commandment/mdm/__init__.py
sighttviewliu/commandment
a1418bf1eaa3adfdfb31a53155243c8112c1ef82
[ "MIT" ]
null
null
null
commandment/mdm/__init__.py
sighttviewliu/commandment
a1418bf1eaa3adfdfb31a53155243c8112c1ef82
[ "MIT" ]
null
null
null
from typing import Set from enum import IntFlag, auto, Enum, IntEnum class CommandType(Enum): ProfileList = 'ProfileList' InstallProfile = 'InstallProfile' RemoveProfile = 'RemoveProfile' ProvisioningProfileList = 'ProvisioningProfileList' InstallProvisioningProfile = 'InstallProvisioningProfile' ...
33.357143
224
0.734832
429
5,604
9.575758
0.508159
0.008763
0.005842
0.007303
0.011685
0.011685
0
0
0
0
0
0.003536
0.192541
5,604
167
225
33.556886
0.904309
0.228944
0
0
0
0
0.265558
0.075772
0
0
0
0
0
1
0.009524
false
0.07619
0.019048
0.009524
0.971429
0
0
0
0
null
0
0
0
0
0
0
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
1
0
0
2
b7f73bf1ae0aab7e532dd7b71be773f5ec3caacd
221
py
Python
GodwillOnyewuchi/Phase 1/Python Basic 2/day 7 task/task10.py
CodedLadiesInnovateTech/-python-challenge-solutions
430cd3eb84a2905a286819eef384ee484d8eb9e7
[ "MIT" ]
6
2020-05-23T19:53:25.000Z
2021-05-08T20:21:30.000Z
GodwillOnyewuchi/Phase 1/Python Basic 2/day 7 task/task10.py
GREENFONTS/python-challenge-solutions
a9aad85a250892fe41961a7d5e77f67b8d14fc1b
[ "MIT" ]
8
2020-05-14T18:53:12.000Z
2020-07-03T00:06:20.000Z
GodwillOnyewuchi/Phase 1/Python Basic 2/day 7 task/task10.py
GREENFONTS/python-challenge-solutions
a9aad85a250892fe41961a7d5e77f67b8d14fc1b
[ "MIT" ]
39
2020-05-10T20:55:02.000Z
2020-09-12T17:40:59.000Z
import math opposite = int(input("Enter the opposite side: ")) adjacent = int(input("Enter the opposite side: ")) hypotenuse = math.sqrt(math.pow(opposite, 2) + math.pow(adjacent, 2)) print(f'hypotenuse = {hypotenuse}')
31.571429
69
0.714932
31
221
5.096774
0.483871
0.101266
0.164557
0.202532
0.35443
0.35443
0
0
0
0
0
0.010309
0.122172
221
7
70
31.571429
0.804124
0
0
0
0
0
0.337838
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.2
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
b7f781af7ae37f2a11448949674464f82666fcbd
1,899
py
Python
tests/date/test_sub.py
shammellee/pendulum
bb179c8fb6ef92b7bfc471a46338abbfac9fafca
[ "MIT" ]
1
2018-11-25T03:10:22.000Z
2018-11-25T03:10:22.000Z
tests/date/test_sub.py
shammellee/pendulum
bb179c8fb6ef92b7bfc471a46338abbfac9fafca
[ "MIT" ]
null
null
null
tests/date/test_sub.py
shammellee/pendulum
bb179c8fb6ef92b7bfc471a46338abbfac9fafca
[ "MIT" ]
1
2020-07-24T17:37:18.000Z
2020-07-24T17:37:18.000Z
import pytest import pendulum from datetime import timedelta from ..conftest import assert_date def test_subtract_years_positive(): assert pendulum.date(1975, 1, 1).subtract(years=1).year == 1974 def test_subtract_years_zero(): assert pendulum.date(1975, 1, 1).subtract(years=0).year == 1975 def test_su...
22.879518
69
0.697209
284
1,899
4.5
0.193662
0.150235
0.164319
0.206573
0.63302
0.532081
0.353678
0.353678
0.189358
0.12989
0
0.103034
0.16693
1,899
82
70
23.158537
0.704804
0
0
0.155556
0
0
0.002106
0
0
0
0
0
0.355556
1
0.333333
false
0
0.088889
0
0.422222
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
1
0
0
0
0
0
0
0
2
b7fe579d59500a97dc95e9e09d55d6b959da781d
7,264
py
Python
track.py
Johj/track-analysis
214ecfcacfbf1ca5e2d0eac0d74642801141b100
[ "MIT" ]
null
null
null
track.py
Johj/track-analysis
214ecfcacfbf1ca5e2d0eac0d74642801141b100
[ "MIT" ]
null
null
null
track.py
Johj/track-analysis
214ecfcacfbf1ca5e2d0eac0d74642801141b100
[ "MIT" ]
null
null
null
import functions as f import itertools import numpy as np import plotly.plotly as py import plotly.graph_objs as go import random name = "Peter" filepath = "C:/Users/Peter/Dropbox/Programming/Python/track-analysis/" + name + "/" + name + ".txt" count, data = f.getData(filepath) start, end = f.getDateRange(data) ''' 0...
23.282051
135
0.565253
1,026
7,264
3.986355
0.206628
0.04401
0.032274
0.041076
0.531051
0.439609
0.354523
0.294377
0.215403
0.206112
0
0.089589
0.222467
7,264
311
136
23.356913
0.634561
0
0
0
0
0
0.210692
0.179245
0
0
0
0
0
1
0
false
0
0.6
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
4d008ee15318143d13fe51f5b535f412797070d9
335
py
Python
Linked_list/Python/Singly_linked_list_test.py
bakuryuthem0/al-go-rithms
8ad4b65a988740525585ecae2b6f0b815cdbcd66
[ "CC0-1.0" ]
2
2019-10-06T02:55:28.000Z
2019-12-11T05:48:10.000Z
Linked_list/Python/Singly_linked_list_test.py
bakuryuthem0/al-go-rithms
8ad4b65a988740525585ecae2b6f0b815cdbcd66
[ "CC0-1.0" ]
null
null
null
Linked_list/Python/Singly_linked_list_test.py
bakuryuthem0/al-go-rithms
8ad4b65a988740525585ecae2b6f0b815cdbcd66
[ "CC0-1.0" ]
3
2019-11-02T16:16:25.000Z
2021-02-20T11:21:01.000Z
list=linkedlist() list.head=node("Monday") list1=node("Tuesday") list2=node("Thursday") list.head.next=list1 list1.next=list2 print("Before insertion:") list.printing() print('\n') list.push_after(list1,"Wednesday") print("After insertion:") list.printing() print('\n') list.deletion(3) print("After deleting 4th node") ...
20.9375
34
0.743284
48
335
5.166667
0.458333
0.145161
0.169355
0.209677
0.25
0.25
0
0
0
0
0
0.025397
0.059701
335
16
35
20.9375
0.761905
0
0
0.3125
0
0
0.267857
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
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
1
0
2
4d0488d2ce2f6542ca86285a263d297ed5b7428b
13,071
py
Python
lib/ophcrack.py
GrimHacker/hashcatter
f17c1c6ef072301cf72a14e1bd264953a6f30d94
[ "Unlicense" ]
2
2016-01-19T14:31:01.000Z
2019-04-26T07:47:54.000Z
lib/ophcrack.py
GrimHacker/hashcatter
f17c1c6ef072301cf72a14e1bd264953a6f30d94
[ "Unlicense" ]
null
null
null
lib/ophcrack.py
GrimHacker/hashcatter
f17c1c6ef072301cf72a14e1bd264953a6f30d94
[ "Unlicense" ]
null
null
null
''' .1111... | Title: ophcrack .10000000000011. .. | Author: Oliver Morton .00 000... | Email: grimhacker@grimhacker.com 1 01.. | Description: .. | runs ophcrack as a subprocess, parsing stdout. .. | does not return c...
55.858974
276
0.525974
1,480
13,071
4.608784
0.256081
0.019499
0.015833
0.018472
0.326638
0.301862
0.286468
0.253335
0.235889
0.235889
0
0.015364
0.377553
13,071
233
277
56.098712
0.823009
0.381532
0
0.348485
0
0
0.108232
0.005335
0
0
0
0.012876
0
1
0.060606
false
0.19697
0.060606
0
0.151515
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
1
0
0
0
0
0
2
4d0adc9581e4bfdaf2d48b4290fbe41d858ad4e9
441
py
Python
Functions/Editing.py
SkepticalPotato2k/ZeonEditor
048e24549b62fc063b5950a00bf66d16c5ecca9e
[ "MIT" ]
null
null
null
Functions/Editing.py
SkepticalPotato2k/ZeonEditor
048e24549b62fc063b5950a00bf66d16c5ecca9e
[ "MIT" ]
null
null
null
Functions/Editing.py
SkepticalPotato2k/ZeonEditor
048e24549b62fc063b5950a00bf66d16c5ecca9e
[ "MIT" ]
null
null
null
# Editing Class # # Things Relating To Editing The File # import pyperclip class Editing: def Replace(loadedContent, lineID, newStr): loadedContent[lineID] = newStr def newLine(loadedContent, Str): loadedContent.append(Str) def delLine(loadedContent, lineID): del l...
23.210526
48
0.657596
42
441
6.904762
0.5
0.393103
0.172414
0
0
0
0
0
0
0
0
0
0.263039
441
18
49
24.5
0.892308
0.113379
0
0
0
0
0
0
0
0
0
0
0
1
0.4
false
0
0.1
0
0.6
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
1
0
0
0
0
0
0
0
2
4d0d24f880f9eed856b5e2c5cc2f15de83015a38
67
py
Python
timeclock/settings.py
mikejarrett/company-time-clock
17a652719ef25a9b058551b1f4d3f05cddadc04a
[ "MIT" ]
null
null
null
timeclock/settings.py
mikejarrett/company-time-clock
17a652719ef25a9b058551b1f4d3f05cddadc04a
[ "MIT" ]
null
null
null
timeclock/settings.py
mikejarrett/company-time-clock
17a652719ef25a9b058551b1f4d3f05cddadc04a
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- DB_LOCATION = 'timeclock.db' DEBUG = True
13.4
28
0.61194
9
67
4.444444
0.888889
0
0
0
0
0
0
0
0
0
0
0.018182
0.179104
67
4
29
16.75
0.709091
0.313433
0
0
0
0
0.272727
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
4d179409fbd395914bfc870050a69cb0cc5adc77
1,492
py
Python
ddb/feature/cookiecutter/schema.py
gfi-centre-ouest/docker-devbox-ddb
1597d85ef6e9e8322cce195a454de54186ce9ec7
[ "MIT" ]
4
2020-06-11T20:54:47.000Z
2020-09-22T13:07:17.000Z
ddb/feature/cookiecutter/schema.py
gfi-centre-ouest/docker-devbox-ddb
1597d85ef6e9e8322cce195a454de54186ce9ec7
[ "MIT" ]
113
2019-11-07T00:40:36.000Z
2021-01-18T12:50:16.000Z
ddb/feature/cookiecutter/schema.py
inetum-orleans/docker-devbox-ddb
20c713cf7bfcaf289226a17a9648c17d16003b4d
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import os import tempfile from marshmallow import Schema, fields from ddb.feature.schema import FeatureSchema class CookiecutterOptions(Schema): """ Cookiecutter options """ no_input = fields.Boolean(allow_none=True, default=None) replay = fields.Boolean(allow_none=True, ...
33.909091
111
0.745308
180
1,492
6.016667
0.294444
0.108033
0.156048
0.221607
0.468144
0.432133
0.285319
0.116343
0.116343
0.116343
0
0.000779
0.13941
1,492
43
112
34.697674
0.842679
0.058981
0
0
0
0
0.022091
0
0
0
0
0
0
1
0
false
0.043478
0.173913
0
0.956522
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
1
0
0
2
4d35e3189565fa47eed41d7be204f095b5738902
1,628
py
Python
corehq/apps/reminders/management/commands/run_reminder_queue.py
dslowikowski/commcare-hq
ad8885cf8dab69dc85cb64f37aeaf06106124797
[ "BSD-3-Clause" ]
1
2015-02-10T23:26:39.000Z
2015-02-10T23:26:39.000Z
corehq/apps/reminders/management/commands/run_reminder_queue.py
SEL-Columbia/commcare-hq
992ee34a679c37f063f86200e6df5a197d5e3ff6
[ "BSD-3-Clause" ]
1
2022-03-12T01:03:25.000Z
2022-03-12T01:03:25.000Z
corehq/apps/reminders/management/commands/run_reminder_queue.py
johan--/commcare-hq
86ee99c54f55ee94e4c8f2f6f30fc44e10e69ebd
[ "BSD-3-Clause" ]
null
null
null
from django.core.management.base import CommandError from django.conf import settings from dimagi.utils.parsing import json_format_datetime from corehq.apps.reminders.models import CaseReminderHandler, CaseReminder from corehq.apps.reminders.tasks import fire_reminder from hqscripts.generic_queue import GenericEnqueuin...
33.22449
80
0.686732
196
1,628
5.530612
0.5
0.051661
0.049816
0.042435
0.059041
0
0
0
0
0
0
0.000803
0.234644
1,628
48
81
33.916667
0.869181
0.143735
0
0.0625
0
0
0.052515
0.016272
0
0
0
0
0
1
0.1875
false
0.0625
0.1875
0.09375
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
4d4641d216181b85a297a7cb896c29bc9a013911
281
py
Python
ia870/iacloseth.py
andreperesnl/ia870
e6a089e17ea9def39cb9fd6901bbdf72a6ba7dfc
[ "BSD-3-Clause" ]
5
2015-11-16T11:37:27.000Z
2020-07-20T22:10:31.000Z
ia870/iacloseth.py
Abigale-Xin/e2dhipseg
520366326cd20c75b5db855c9dd05cf0a8d49089
[ "MIT" ]
2
2020-07-28T22:29:54.000Z
2021-07-07T20:37:25.000Z
ia870/iacloseth.py
Abigale-Xin/e2dhipseg
520366326cd20c75b5db855c9dd05cf0a8d49089
[ "MIT" ]
30
2015-02-20T23:33:32.000Z
2020-10-29T05:14:07.000Z
# -*- encoding: utf-8 -*- # Module iacloseth from numpy import * def iacloseth(f, b=None): from iasubm import iasubm from iaclose import iaclose from iasecross import iasecross if b is None: b = iasecross() y = iasubm( iaclose(f,b), f) return y
17.5625
35
0.629893
39
281
4.538462
0.487179
0.022599
0
0
0
0
0
0
0
0
0
0.004902
0.274021
281
15
36
18.733333
0.862745
0.142349
0
0
0
0
0
0
0
0
0
0
0
1
0.111111
false
0
0.444444
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
4d47bac1d00300e75ace26437352a28d0ee21ee2
517
py
Python
tests/test_fixture.py
acpaquette/deepstate
6acf07ad5dd95c9e8b970ca516ab93aa2620ea6e
[ "Apache-2.0" ]
684
2018-02-18T18:04:23.000Z
2022-03-26T06:18:39.000Z
tests/test_fixture.py
acpaquette/deepstate
6acf07ad5dd95c9e8b970ca516ab93aa2620ea6e
[ "Apache-2.0" ]
273
2018-02-18T04:01:36.000Z
2022-02-09T16:07:38.000Z
tests/test_fixture.py
acpaquette/deepstate
6acf07ad5dd95c9e8b970ca516ab93aa2620ea6e
[ "Apache-2.0" ]
77
2018-02-19T00:18:33.000Z
2022-03-16T04:12:09.000Z
from __future__ import print_function import logrun import deepstate_base class FixtureTest(deepstate_base.DeepStateTestCase): def run_deepstate(self, deepstate): (r, output) = logrun.logrun([deepstate, "build/examples/Fixture"], "deepstate.out", 1800) self.assertEqual(r, 0) self.asse...
30.411765
70
0.727273
61
517
6
0.557377
0.087432
0.098361
0.125683
0.147541
0
0
0
0
0
0
0.011601
0.166344
517
16
71
32.3125
0.837587
0
0
0
0
0
0.206963
0.042553
0
0
0
0
0.416667
1
0.083333
false
0.083333
0.25
0
0.416667
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
1
0
0
0
1
0
0
0
0
0
2
4d4b26eba315ab1fd10b643152e071eb29586398
981
py
Python
new-webservice/create-pathway.py
wikipathways/scripts
95f3ac9823f066ef977b0e2fef81a80bceeee8ec
[ "Apache-2.0" ]
null
null
null
new-webservice/create-pathway.py
wikipathways/scripts
95f3ac9823f066ef977b0e2fef81a80bceeee8ec
[ "Apache-2.0" ]
null
null
null
new-webservice/create-pathway.py
wikipathways/scripts
95f3ac9823f066ef977b0e2fef81a80bceeee8ec
[ "Apache-2.0" ]
1
2021-02-26T18:49:54.000Z
2021-02-26T18:49:54.000Z
### # Test script for new WikiPathways webservice API # author: msk (mkutmon@gmail.com) ### import requests import getpass from lxml import etree as ET ################################## # variables username = 'Mkutmon' gpml_file = 'test.gpml' basis_url = 'http://pvjs.wikipathways.org/wpi/webservicetest/' #########...
24.525
97
0.666667
123
981
5.243902
0.528455
0.037209
0
0
0
0
0
0
0
0
0
0.004635
0.120285
981
39
98
25.153846
0.742758
0.14577
0
0
0
0
0.257937
0
0
0
0
0
0
0
null
null
0.157895
0.157895
null
null
0.052632
0
0
0
null
0
0
0
0
0
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
1
0
0
0
0
0
2
4d4b929996fec2b8eeaef10087d86618e91ed505
1,636
py
Python
src/climsoft_api/api/data_form/schema.py
faysal-ishtiaq/climsoft-api
46dacdeba5d935ee3b944df00731640170b87ccd
[ "MIT" ]
null
null
null
src/climsoft_api/api/data_form/schema.py
faysal-ishtiaq/climsoft-api
46dacdeba5d935ee3b944df00731640170b87ccd
[ "MIT" ]
2
2022-01-16T15:41:27.000Z
2022-01-30T18:37:13.000Z
src/climsoft_api/api/data_form/schema.py
openclimateinitiative/climsoft-api
3591d7499dd7777617b8086332dc83fab1af9588
[ "MIT" ]
2
2021-12-22T21:50:19.000Z
2022-01-28T12:53:32.000Z
from typing import List from climsoft_api.api.schema import Response, BaseSchema from pydantic import constr, Field class CreateDataForm(BaseSchema): form_name: constr(max_length=250) = Field(title="Form Name") order_num: int = Field(title="Order Number") table_name: constr(max_length=255) = Field(title=...
36.355556
88
0.720049
210
1,636
5.47619
0.257143
0.2
0.101739
0.062609
0.643478
0.643478
0.643478
0.643478
0.643478
0.643478
0
0.013738
0.154645
1,636
44
89
37.181818
0.817787
0
0
0.545455
0
0
0.1522
0
0
0
0
0
0
1
0
false
0
0.090909
0
0.969697
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
1
0
0
2
4d51b970362782978b092b56b25da8c1c5705aa5
36,791
py
Python
pysnmp/ENTERASYS-SERVICE-LEVEL-REPORTING-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
11
2021-02-02T16:27:16.000Z
2021-08-31T06:22:49.000Z
pysnmp/ENTERASYS-SERVICE-LEVEL-REPORTING-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
75
2021-02-24T17:30:31.000Z
2021-12-08T00:01:18.000Z
pysnmp/ENTERASYS-SERVICE-LEVEL-REPORTING-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module ENTERASYS-SERVICE-LEVEL-REPORTING-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/ENTERASYS-SERVICE-LEVEL-REPORTING-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 18:50:17 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 #...
163.515556
5,697
0.784784
3,546
36,791
8.14185
0.094473
0.009975
0.012158
0.012469
0.437429
0.33809
0.254096
0.243809
0.226421
0.202418
0
0.066028
0.072953
36,791
224
5,698
164.245536
0.780456
0.010002
0
0.061905
0
0
0.235102
0.165321
0
0
0
0
0
1
0
false
0
0.042857
0
0.142857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
4d6312c2680a983411f7e0111ac248839863f067
265
py
Python
core/migrations/0007_merge_20190425_1250.py
rob-taylor543/graffiti_royale
9e77451df24803d8f78a52cef7fa1a9999e0af69
[ "MIT" ]
1
2019-06-06T19:51:48.000Z
2019-06-06T19:51:48.000Z
core/migrations/0007_merge_20190425_1250.py
graffiti-royale/graffiti_royale
9e77451df24803d8f78a52cef7fa1a9999e0af69
[ "MIT" ]
null
null
null
core/migrations/0007_merge_20190425_1250.py
graffiti-royale/graffiti_royale
9e77451df24803d8f78a52cef7fa1a9999e0af69
[ "MIT" ]
null
null
null
# Generated by Django 2.2 on 2019-04-25 16:50 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('core', '0006_auto_20190423_1348'), ('core', '0006_auto_20190424_1412'), ] operations = [ ]
17.666667
45
0.641509
32
265
5.125
0.78125
0.097561
0.146341
0
0
0
0
0
0
0
0
0.227723
0.237736
265
14
46
18.928571
0.584158
0.162264
0
0
1
0
0.245455
0.209091
0
0
0
0
0
1
0
false
0
0.125
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
4d88a8979de6b4bdc06a47a5b5ee8a37f6fe1386
3,382
py
Python
tests/fixtures/data.py
jamesqo/conllu
e3f3961aa122b5b93611c92d0a6ac5451346cbf9
[ "MIT" ]
null
null
null
tests/fixtures/data.py
jamesqo/conllu
e3f3961aa122b5b93611c92d0a6ac5451346cbf9
[ "MIT" ]
null
null
null
tests/fixtures/data.py
jamesqo/conllu
e3f3961aa122b5b93611c92d0a6ac5451346cbf9
[ "MIT" ]
null
null
null
# encoding: utf-8 from __future__ import unicode_literals from textwrap import dedent # The quick brown fox jumps over the lazy dog data1 = dedent(""" 1\tThe\tthe\tDET\tDT\tDefinite=Def|PronType=Art\t4\tdet\t_\t_ 2\tquick\tquick\tADJ\tJJ\tDegree=Pos\t4\tamod\t_\t_ 3\tbrown\tbrown\tADJ\tJJ\tDegree=Pos\t4\ta...
51.242424
118
0.504731
477
3,382
3.467505
0.30608
0.013301
0.036276
0.048368
0.465538
0.405079
0.383313
0.383313
0.261185
0.261185
0
0.048805
0.406268
3,382
65
119
52.030769
0.7749
0.030455
0
0.098039
0
0.352941
0.941356
0.28986
0
0
0
0
0
1
0
false
0
0.039216
0
0.039216
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
4d8cdda575a3670447eef68b74e93455b9e329ff
6,907
py
Python
matcho/template.py
mbillingr/matcho
473949164e5cb61fa122d0e503eb56807ef62fa6
[ "MIT" ]
null
null
null
matcho/template.py
mbillingr/matcho
473949164e5cb61fa122d0e503eb56807ef62fa6
[ "MIT" ]
3
2022-03-11T11:52:44.000Z
2022-03-14T12:12:11.000Z
matcho/template.py
mbillingr/matcho
473949164e5cb61fa122d0e503eb56807ef62fa6
[ "MIT" ]
null
null
null
from dataclasses import dataclass from functools import reduce, singledispatch from operator import or_ from typing import Any, Set from matcho.bindings import Repeating __all__ = ["build_template", "insert"] def insert(name: str): """Mark a place in the template where to insert the value bound to name.""" ...
30.561947
92
0.663675
828
6,907
5.375604
0.205314
0.070097
0.076387
0.043136
0.257246
0.20355
0.129858
0.035048
0
0
0
0.002665
0.239467
6,907
225
93
30.697778
0.84466
0.174026
0
0.217391
0
0
0.063416
0.013755
0
0
0
0
0.007246
1
0.210145
false
0
0.036232
0.101449
0.507246
0
0
0
0
null
0
0
0
0
0
0
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
1
0
0
0
2
4d9d4558fd66e78b20ee4792c8b6d80c7cf9bf85
1,731
py
Python
src/merkle_drop/status.py
trustlines-network/merkle-drop
4310d1b22d83c6feacef35248dd5500cd66288dc
[ "MIT" ]
11
2020-06-22T12:52:37.000Z
2022-02-07T06:20:22.000Z
src/merkle_drop/status.py
trustlines-protocol/merkle-drop
4310d1b22d83c6feacef35248dd5500cd66288dc
[ "MIT" ]
40
2019-04-08T15:59:09.000Z
2021-07-01T19:43:31.000Z
src/merkle_drop/status.py
trustlines-network/merkle-drop
4310d1b22d83c6feacef35248dd5500cd66288dc
[ "MIT" ]
2
2019-04-07T14:30:55.000Z
2022-01-22T07:08:05.000Z
import pendulum from deploy_tools.deploy import load_contracts_json from eth_utils import to_checksum_address def get_merkle_drop_status(web3, contract_address): compiled_contracts = load_contracts_json(__name__) merkle_drop_contract = web3.eth.contract( address=contract_address, abi=compiled_contra...
43.275
100
0.717504
181
1,731
6.475138
0.314917
0.110922
0.1843
0.207338
0.174915
0.12372
0
0
0
0
0
0.003467
0.166956
1,731
39
101
44.384615
0.809293
0
0
0.060606
0
0
0.120739
0.02773
0
0
0
0
0
1
0.030303
false
0
0.090909
0
0.151515
0
0
0
0
null
0
1
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
2
4da5a9d4e4ed2e47f59b4f956d8875e4c3277208
397
py
Python
ca_bc_municipalities_candidates/__init__.py
dcycle/scrapers-ca
4c7a6cd01d603221b5b3b7a400d2e5ca0c6e916f
[ "MIT" ]
19
2015-05-26T03:18:50.000Z
2022-01-31T03:27:41.000Z
ca_bc_municipalities_candidates/__init__.py
dcycle/scrapers-ca
4c7a6cd01d603221b5b3b7a400d2e5ca0c6e916f
[ "MIT" ]
119
2015-01-09T06:09:35.000Z
2022-01-20T23:05:05.000Z
ca_bc_municipalities_candidates/__init__.py
dcycle/scrapers-ca
4c7a6cd01d603221b5b3b7a400d2e5ca0c6e916f
[ "MIT" ]
17
2015-11-23T05:00:10.000Z
2021-09-15T16:03:33.000Z
from utils import CanadianJurisdiction class BritishColumbiaMunicipalitiesCandidates(CanadianJurisdiction): classification = 'executive' # just to avoid clash division_id = 'ocd-division/country:ca/province:bc' division_name = 'British Columbia' name = 'British Columbia municipal councils' url = ...
30.538462
68
0.738035
40
397
7.25
0.8
0.075862
0.131034
0
0
0
0
0
0
0
0
0
0.176322
397
12
69
33.083333
0.88685
0.047859
0
0
0
0
0.31117
0.093085
0
0
0
0
0
1
0.111111
false
0
0.111111
0.111111
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
2
4dbaabec8dc304338d562937e4dd4465d1bf3151
1,553
py
Python
PyTorch/loader.py
avinashsai/Gated-CNN-for-ABSA
0fa940ce6756240a38755cac6a85a6cbd2a1ccea
[ "MIT" ]
null
null
null
PyTorch/loader.py
avinashsai/Gated-CNN-for-ABSA
0fa940ce6756240a38755cac6a85a6cbd2a1ccea
[ "MIT" ]
null
null
null
PyTorch/loader.py
avinashsai/Gated-CNN-for-ABSA
0fa940ce6756240a38755cac6a85a6cbd2a1ccea
[ "MIT" ]
1
2020-02-13T23:28:58.000Z
2020-02-13T23:28:58.000Z
import sys import os import re import ast from ast import literal_eval label = {'negative':0,'positive':1,'neutral':2} def preprocess(string): string = re.sub(r"[^A-Za-z0-9(),!?\'\`]", " ", string) string = re.sub(r"\'s", " \'s", string) string = re.sub(r"\'ve", " \'ve", string) string = re.sub(r"n\'t", " n\'t", ...
29.865385
92
0.636832
224
1,553
4.308036
0.241071
0.161658
0.188601
0.229016
0.487047
0.184456
0.163731
0.111917
0.111917
0.111917
0
0.011887
0.13329
1,553
52
92
29.865385
0.705052
0
0
0.046512
0
0
0.166667
0.013514
0
0
0
0
0
1
0.046512
false
0
0.116279
0
0.209302
0
0
0
0
null
0
1
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
2
4ddcfc2abfd22c44858c04df9038005bc3ba0218
1,061
py
Python
user_login.py
grooviq/password
e271622371bc1c718d7814e09a6bf354de7912fd
[ "MIT", "Unlicense" ]
null
null
null
user_login.py
grooviq/password
e271622371bc1c718d7814e09a6bf354de7912fd
[ "MIT", "Unlicense" ]
null
null
null
user_login.py
grooviq/password
e271622371bc1c718d7814e09a6bf354de7912fd
[ "MIT", "Unlicense" ]
null
null
null
class User: """ Class that generates new users login system """ def __init__(self,fullname, email, username, password): self.fullname = fullname self.email = email self.username = username self.password = password user_list = [] def save_user(self)...
23.577778
59
0.544769
114
1,061
4.95614
0.385965
0.084956
0.031858
0.042478
0.169912
0.169912
0.169912
0.169912
0.169912
0.169912
0
0.001538
0.38737
1,061
45
60
23.577778
0.867692
0.221489
0
0.347826
1
0
0
0
0
0
0
0
0
1
0.173913
false
0.086957
0
0
0.434783
0
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
1
0
0
0
0
0
2
4df5b4698f54b92ecae31a9e5751eb1ec4935002
1,573
py
Python
settings.py
jy617lee/naver_blog_crawler
6dd603083c160cfa00bf87fdff21bce63bfa5bec
[ "MIT" ]
8
2018-08-09T17:58:06.000Z
2021-09-05T00:11:52.000Z
settings.py
jy617lee/naver_blog_crawler
6dd603083c160cfa00bf87fdff21bce63bfa5bec
[ "MIT" ]
null
null
null
settings.py
jy617lee/naver_blog_crawler
6dd603083c160cfa00bf87fdff21bce63bfa5bec
[ "MIT" ]
5
2018-08-11T08:30:05.000Z
2021-07-30T09:00:11.000Z
# WEB_DRIVER_PATH = 'C:\chromedriver.exe' # XLSX_PATH = 'C:/dateGirls/m3/suyo_sample.xls' # START_DATE = ['20170220', '20170220', '20170220', '20170220'] # END_DATE = ['20170421', '20170421', '20170421', '20170421'] # DINING_NAME = ['나노하나', '바라티에', '서대문양꼬치', '백곰막걸리'] # BROAD_NAME = '수요미식회' # BROAD_DATE = ['20170322',...
39.325
63
0.669421
185
1,573
5.448649
0.297297
0.049603
0.064484
0.069444
0.606151
0.606151
0.481151
0.481151
0.481151
0.397817
0
0.263348
0.118881
1,573
39
64
40.333333
0.463925
0.737444
0
0
0
0
0.466146
0.091146
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
1
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
2
4df8c4a801ecbbffa68a0c520bd37e55e052cac8
794
py
Python
FirstStepsInPython/Basics/Exercise3 Conditional Statements Advanced/05. Journey.py
Pittor052/SoftUni-Studies
1ee6341082f6ccfa45b3e82824c37722bcf2fb31
[ "MIT" ]
null
null
null
FirstStepsInPython/Basics/Exercise3 Conditional Statements Advanced/05. Journey.py
Pittor052/SoftUni-Studies
1ee6341082f6ccfa45b3e82824c37722bcf2fb31
[ "MIT" ]
null
null
null
FirstStepsInPython/Basics/Exercise3 Conditional Statements Advanced/05. Journey.py
Pittor052/SoftUni-Studies
1ee6341082f6ccfa45b3e82824c37722bcf2fb31
[ "MIT" ]
1
2021-10-07T18:30:42.000Z
2021-10-07T18:30:42.000Z
budget = float(input()) season = str(input()) region = str() final_budget = 0 accommodation = str() if budget <= 100: region = "Bulgaria" if season == "summer": accommodation = "Camp" final_budget = budget * 0.7 else: accommodation = "Hotel" final_budget = budget * 0.30 eli...
23.352941
55
0.585642
91
794
5.021978
0.32967
0.19256
0.223195
0.236324
0.472648
0.389497
0.389497
0.214442
0.214442
0
0
0.045775
0.284635
794
33
56
24.060606
0.758803
0
0
0.466667
0
0
0.161209
0
0
0
0
0
0
1
0
false
0
0
0
0
0.066667
0
0
0
null
0
1
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
2
150412ba7848113fb96ca9793768891d5f5798ff
1,630
py
Python
task_tool.py
YiChengCai1999/SinaWeiboCrawler
0f65c6c96926ee0a599b7833a95ef2cc77420683
[ "Apache-2.0" ]
null
null
null
task_tool.py
YiChengCai1999/SinaWeiboCrawler
0f65c6c96926ee0a599b7833a95ef2cc77420683
[ "Apache-2.0" ]
null
null
null
task_tool.py
YiChengCai1999/SinaWeiboCrawler
0f65c6c96926ee0a599b7833a95ef2cc77420683
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 2021/2/4 22:50 # @Author : cendeavor # @Site : # @File : task_tool.py # @Software: PyCharm def update_tweet_task(dbname, skip=1): from weibo.dbscripts.m.task import TweetTaskDBM from weibo.settings import MONGO_URI, MONGO_DATABASE, MONGO_USER,...
25.076923
84
0.690184
203
1,630
5.231527
0.334975
0.059322
0.06403
0.07533
0.524482
0.524482
0.497175
0.497175
0.423729
0.423729
0
0.011755
0.217178
1,630
64
85
25.46875
0.820533
0.196319
0
0.461538
0
0
0.013107
0
0
0
0
0.015625
0
1
0.102564
false
0.179487
0.153846
0
0.25641
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
1
0
0
0
0
0
2
151531fa59d34eeced56a860c0e08c809c5d8c44
663
py
Python
sightpy/materials/emissive.py
ulises1229/Python-Raytracer
ad89b9dabda1c3eeb68af2d3578c3f38dee9f5b9
[ "MIT" ]
326
2020-08-14T07:29:40.000Z
2022-03-30T11:13:32.000Z
sightpy/materials/emissive.py
ulises1229/Python-Raytracer
ad89b9dabda1c3eeb68af2d3578c3f38dee9f5b9
[ "MIT" ]
7
2020-08-14T21:57:56.000Z
2021-06-09T00:53:04.000Z
sightpy/materials/emissive.py
ulises1229/Python-Raytracer
ad89b9dabda1c3eeb68af2d3578c3f38dee9f5b9
[ "MIT" ]
37
2020-08-14T17:37:56.000Z
2022-03-30T09:37:22.000Z
from ..utils.constants import * from ..utils.vector3 import vec3, rgb, extract from functools import reduce as reduce from ..ray import Ray, get_raycolor from .. import lights import numpy as np from . import Material from ..textures import * class Emissive(Material): def __init__(self, color, **kwargs)...
28.826087
55
0.660633
83
663
5.072289
0.433735
0.078385
0.114014
0
0
0
0
0
0
0
0
0.006024
0.248869
663
23
56
28.826087
0.839357
0
0
0
0
0
0
0
0
0
0
0
0
1
0.111111
false
0
0.444444
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
151cc17d306ec3e2d6d4e12bfd948dc412fbab73
1,469
py
Python
pncnn/dataloaders/nyu_camera_parameters.py
akweury/improved_normal_inference
a10ed16f43362c15f2220345275be5c029f31198
[ "MIT" ]
null
null
null
pncnn/dataloaders/nyu_camera_parameters.py
akweury/improved_normal_inference
a10ed16f43362c15f2220345275be5c029f31198
[ "MIT" ]
null
null
null
pncnn/dataloaders/nyu_camera_parameters.py
akweury/improved_normal_inference
a10ed16f43362c15f2220345275be5c029f31198
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Tue Mar 12 09:53:06 2019 @author: abdel62 """ import numpy as np # Calibrated using the RGBDemo Calibration tool: # http://labs.manctl.com/rgbdemo/ # # The maximum depth used, in meters. maxDepth = 10 # RGB Intrinsic Parameters fx_rgb = 5.1885790117450...
24.898305
65
0.752212
216
1,469
5.018519
0.537037
0.01107
0.038745
0.046125
0.049816
0
0
0
0
0
0
0.479688
0.128659
1,469
59
66
24.898305
0.367188
0.258679
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.03125
0
0.03125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
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
2
151d610f81af22c6fe84b166f89136de5b4034f0
817
py
Python
tests/pybaseball/test_team_batting.py
reddigari/pybaseball
2d878cf3505ce0a5e657694ae967d6275dc3c211
[ "MIT" ]
650
2017-06-29T20:05:19.000Z
2022-03-31T03:27:25.000Z
tests/pybaseball/test_team_batting.py
reddigari/pybaseball
2d878cf3505ce0a5e657694ae967d6275dc3c211
[ "MIT" ]
216
2017-10-21T05:05:08.000Z
2022-03-31T04:04:53.000Z
tests/pybaseball/test_team_batting.py
reddigari/pybaseball
2d878cf3505ce0a5e657694ae967d6275dc3c211
[ "MIT" ]
214
2017-07-18T21:40:01.000Z
2022-03-29T03:19:55.000Z
from typing import Callable import pandas as pd import pytest import requests from pybaseball.team_batting import team_batting @pytest.fixture(name="sample_html") def _sample_html(get_data_file_contents: Callable) -> str: return get_data_file_contents('team_batting.html') @pytest.fixture(name="sample_processe...
29.178571
115
0.818849
113
817
5.522124
0.380531
0.141026
0.070513
0.073718
0
0
0
0
0
0
0
0.005457
0.102815
817
27
116
30.259259
0.845839
0
0
0
0
0
0.082007
0.028152
0
0
0
0
0.0625
1
0.1875
false
0
0.3125
0.125
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
0
0
0
2
1274424d5e1fda1072d5c5a1691d0a25e43c4f62
937
py
Python
py/cidoc_crm_types/entities/e72_legal_object.py
minorg/cidoc-crm-types
9018bdbf0658e4d28a87bc94543e467be45d8aa5
[ "Apache-2.0" ]
null
null
null
py/cidoc_crm_types/entities/e72_legal_object.py
minorg/cidoc-crm-types
9018bdbf0658e4d28a87bc94543e467be45d8aa5
[ "Apache-2.0" ]
null
null
null
py/cidoc_crm_types/entities/e72_legal_object.py
minorg/cidoc-crm-types
9018bdbf0658e4d28a87bc94543e467be45d8aa5
[ "Apache-2.0" ]
null
null
null
from .e70_thing import E70Thing from dataclasses import dataclass @dataclass class E72LegalObject(E70Thing): """ Scope note: This class comprises those material or immaterial items to which instances of E30 Right, such as the right of ownership or use, can be applied. This is true for all instances of E18 Physic...
39.041667
381
0.769477
151
937
4.748344
0.622517
0.061367
0.039052
0.052999
0
0
0
0
0
0
0
0.061935
0.172892
937
23
382
40.73913
0.863226
0.791889
0
0
0
0
0.262295
0
0
0
0
0
0
1
0
false
0
0.4
0
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2