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
d64ac33a4a42c6b8d665b024fe5d0e70195a0ecf
1,864
py
Python
users/views.py
Mohit7143/class
7859447c77548f54b590db73b678828e3bc91305
[ "BSD-3-Clause" ]
null
null
null
users/views.py
Mohit7143/class
7859447c77548f54b590db73b678828e3bc91305
[ "BSD-3-Clause" ]
null
null
null
users/views.py
Mohit7143/class
7859447c77548f54b590db73b678828e3bc91305
[ "BSD-3-Clause" ]
null
null
null
from django.shortcuts import render,redirect from django.views.generic import View from django.contrib.auth.models import User from .forms import LoginUser,RegisterUser from django.http import HttpResponse,Http404 from django.contrib.auth import authenticate,login,logout class UserLogin(View): form_class = LoginUs...
30.064516
68
0.640558
211
1,864
5.587678
0.270142
0.094996
0.080577
0.09754
0.41391
0.411366
0.383376
0.383376
0.383376
0.383376
0
0.002179
0.261266
1,864
62
69
30.064516
0.854031
0
0
0.392157
0
0
0.078284
0.01126
0
0
0
0
0
1
0.117647
false
0.098039
0.117647
0.039216
0.490196
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
d64dd861a7fd5cd22573fba9f5c11e9abd41afee
3,991
py
Python
books/masteringPython/cp15/setup_template.py
Bingwen-Hu/hackaway
69727d76fd652390d9660e9ea4354ba5cc76dd5c
[ "BSD-2-Clause" ]
null
null
null
books/masteringPython/cp15/setup_template.py
Bingwen-Hu/hackaway
69727d76fd652390d9660e9ea4354ba5cc76dd5c
[ "BSD-2-Clause" ]
null
null
null
books/masteringPython/cp15/setup_template.py
Bingwen-Hu/hackaway
69727d76fd652390d9660e9ea4354ba5cc76dd5c
[ "BSD-2-Clause" ]
null
null
null
import setuptools if __name__ == '__main__': setuptools.setup( name='Name', version='0.1', # this automatically detects the packages in the specified # (or current directory if no directory is given). packages=setuptools.find_packages(exclude=['tests', 'docs']), # ...
42.913978
84
0.642195
512
3,991
4.947266
0.425781
0.027635
0.015397
0
0
0
0
0
0
0
0
0.001422
0.295415
3,991
92
85
43.380435
0.89936
0.634177
0
0.0625
0
0
0.200849
0.031117
0
0
0
0
0
1
0
true
0
0.03125
0
0.03125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
d64fac35d83538731c9328874dc6768cc20365c0
8,312
py
Python
compressor/base.py
rossowl/django-compressor
3e451e836a7a8532781e4247a6a56444a6d4e25c
[ "Apache-2.0" ]
null
null
null
compressor/base.py
rossowl/django-compressor
3e451e836a7a8532781e4247a6a56444a6d4e25c
[ "Apache-2.0" ]
null
null
null
compressor/base.py
rossowl/django-compressor
3e451e836a7a8532781e4247a6a56444a6d4e25c
[ "Apache-2.0" ]
null
null
null
import os from django.core.files.base import ContentFile from django.template.loader import render_to_string from django.utils.encoding import smart_unicode from compressor.cache import get_hexdigest, get_mtime from compressor.conf import settings from compressor.exceptions import CompressorError, UncompressableFileE...
38.660465
82
0.613811
939
8,312
5.328009
0.250266
0.022387
0.023786
0.007196
0.089946
0.039976
0.039976
0.039976
0.039976
0.021987
0
0.001552
0.302214
8,312
214
83
38.841122
0.861034
0.074952
0
0.119205
0
0
0.059167
0.006136
0
0
0
0
0
0
null
null
0.006623
0.072848
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
d659f71d371c80b8dc403a0da872f70015a39ed6
4,886
py
Python
DialogCalibrate.py
n2ee/Wind-Tunnel-GUI
dee8708bcecee7b269823ca0ae1cf483e834aaf3
[ "BSD-3-Clause" ]
1
2018-11-29T01:36:17.000Z
2018-11-29T01:36:17.000Z
DialogCalibrate.py
n2ee/Wind-Tunnel-GUI
dee8708bcecee7b269823ca0ae1cf483e834aaf3
[ "BSD-3-Clause" ]
null
null
null
DialogCalibrate.py
n2ee/Wind-Tunnel-GUI
dee8708bcecee7b269823ca0ae1cf483e834aaf3
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'DialogCalibrate.ui' # # Created by: PyQt5 UI code generator 5.9.2 # # WARNING! All changes made in this file will be lost! from PyQt5 import QtCore, QtGui, QtWidgets class Ui_DialogCalibrate(object): def setupUi(self, DialogCalibrate):...
48.376238
109
0.710806
478
4,886
7.219665
0.280335
0.060562
0.06375
0.031295
0.175891
0.154448
0.133005
0.122573
0.089539
0.089539
0
0.032074
0.176832
4,886
100
110
48.86
0.825957
0.038477
0
0.139535
1
0
0.086354
0
0
0
0
0
0
1
0.023256
false
0
0.023256
0
0.05814
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c38a99159a465c6c6adcac264c6b8eb5c21be376
1,467
py
Python
models.py
askomorokhov/fast-api-example
5d23ddd39413f37697c81f267bb69117011d56f5
[ "MIT" ]
null
null
null
models.py
askomorokhov/fast-api-example
5d23ddd39413f37697c81f267bb69117011d56f5
[ "MIT" ]
null
null
null
models.py
askomorokhov/fast-api-example
5d23ddd39413f37697c81f267bb69117011d56f5
[ "MIT" ]
null
null
null
from sqlalchemy import Boolean, Column, ForeignKey, Integer, String, DateTime from sqlalchemy.orm import relationship import datetime from database import Base class Org(Base): __tablename__ = "orgs" id = Column(Integer, primary_key=True, index=True) name = Column(String, unique=True, index=True) cr...
29.34
77
0.714383
171
1,467
5.947368
0.22807
0.06293
0.117994
0.086529
0.311701
0.287119
0.218289
0.149459
0
0
0
0
0.167689
1,467
50
78
29.34
0.832924
0
0
0.181818
0
0
0.067439
0
0
0
0
0
0
1
0
false
0
0.121212
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
c38e1f71e6b3d9b9f233c17af18409553439e9b3
446
py
Python
app/extensions.py
rileymjohnson/fbla
1f1c37f54edd00af0b47b7c256523c7145f6be6f
[ "MIT" ]
null
null
null
app/extensions.py
rileymjohnson/fbla
1f1c37f54edd00af0b47b7c256523c7145f6be6f
[ "MIT" ]
null
null
null
app/extensions.py
rileymjohnson/fbla
1f1c37f54edd00af0b47b7c256523c7145f6be6f
[ "MIT" ]
null
null
null
from flask_bcrypt import Bcrypt from flask_caching import Cache from flask_debugtoolbar import DebugToolbarExtension from flask_login import LoginManager from flask_migrate import Migrate from flask_sqlalchemy import SQLAlchemy import logging bcrypt = Bcrypt() login_manager = LoginManager() db = SQLAlchemy() migrate =...
29.733333
59
0.838565
53
446
6.867925
0.396226
0.148352
0
0
0
0
0
0
0
0
0
0
0.105381
446
15
59
29.733333
0.912281
0
0
0
0
0
0.03132
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
c38e3282802bbc19a4073c3f750e891c9ae10713
207
py
Python
tests/scripts/negative_linenumber_offsets.py
andyfcx/py-spy
1e971b91c739237708f11c2ddcb1324ab0bc37c7
[ "MIT" ]
8,112
2018-08-09T13:35:54.000Z
2022-03-31T23:23:52.000Z
tests/scripts/negative_linenumber_offsets.py
andyfcx/py-spy
1e971b91c739237708f11c2ddcb1324ab0bc37c7
[ "MIT" ]
327
2018-08-21T10:39:06.000Z
2022-03-29T08:58:22.000Z
tests/scripts/negative_linenumber_offsets.py
andyfcx/py-spy
1e971b91c739237708f11c2ddcb1324ab0bc37c7
[ "MIT" ]
328
2018-08-21T09:36:49.000Z
2022-03-30T10:15:18.000Z
import time def f(): [ # Must be split over multiple lines to see the error. # https://github.com/benfred/py-spy/pull/208 time.sleep(1) for _ in range(1000) ] f()
14.785714
61
0.550725
30
207
3.766667
0.933333
0
0
0
0
0
0
0
0
0
0
0.057971
0.333333
207
13
62
15.923077
0.76087
0.454106
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
true
0
0.142857
0
0.285714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
c391b115fbcae9056636fe28c8607436688bbc00
6,456
py
Python
mpc_ros/script/teleop_keyboard.py
NaokiTakahashi12/mpc_ros
8451fec293a5aee72d5fad0323ec206d08d0ed96
[ "Apache-2.0" ]
335
2019-03-11T23:03:07.000Z
2022-03-31T13:40:21.000Z
mpc_ros/script/teleop_keyboard.py
NaokiTakahashi12/mpc_ros
8451fec293a5aee72d5fad0323ec206d08d0ed96
[ "Apache-2.0" ]
30
2019-05-02T13:59:14.000Z
2022-03-30T10:56:34.000Z
mpc_ros/script/teleop_keyboard.py
NaokiTakahashi12/mpc_ros
8451fec293a5aee72d5fad0323ec206d08d0ed96
[ "Apache-2.0" ]
103
2018-07-11T15:08:38.000Z
2022-03-17T13:57:24.000Z
#!/usr/bin/python # This is a modified verison of turtlebot_teleop.py # to fullfill the needs of HyphaROS MiniCar use case # Copyright (c) 2018, HyphaROS Workshop # # The original license info are as below: # Copyright (c) 2011, Willow Garage, Inc. # All rights reserved. # # Redistribution and use in source and binar...
36.891429
95
0.629647
819
6,456
4.832723
0.343101
0.030318
0.018949
0.020212
0.295099
0.154118
0.137443
0.125316
0.10763
0.078828
0
0.017131
0.276642
6,456
174
96
37.103448
0.830407
0.333178
0
0.267857
0
0
0.130322
0.005881
0
0
0
0
0
0
null
null
0
0.026786
null
null
0.071429
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
c392d36cc5c68370d275a885ceff96ecfac69bfd
895
py
Python
gym-dubins-airplane/gym_dubins_airplane/envs/config.py
hasanisci/gym-dubins-ac
fe205e75f27bf1b8a2858f5b9973ee09e43bfbce
[ "MIT" ]
2
2021-02-06T20:01:56.000Z
2021-07-12T13:00:49.000Z
gym-dubins-airplane/gym_dubins_airplane/envs/config.py
hasanisci/gym-dubins-ac
fe205e75f27bf1b8a2858f5b9973ee09e43bfbce
[ "MIT" ]
null
null
null
gym-dubins-airplane/gym_dubins_airplane/envs/config.py
hasanisci/gym-dubins-ac
fe205e75f27bf1b8a2858f5b9973ee09e43bfbce
[ "MIT" ]
2
2021-02-14T15:39:15.000Z
2021-07-12T13:00:53.000Z
import math class Config: G = 9.8 EPISODES = 1000 # input dim window_width = 800 # pixels window_height = 800 # pixels window_z = 800 # pixels diagonal = 800 # this one is used to normalize dist_to_intruder tick = 30 scale = 30 # distance param mini...
21.829268
74
0.579888
113
895
4.39823
0.60177
0.054326
0.060362
0
0
0
0
0
0
0
0
0.121107
0.35419
895
41
75
21.829268
0.738754
0.158659
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.038462
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
c3939f0937a9f440e452d4556c178d4679036846
726
py
Python
exemplos/exemplo-aula-04-01.py
quitaiskiluisf/TI4F-2021-LogicaProgramacao
d12e5c389a43c98f27726df5618fe529183329a8
[ "Unlicense" ]
null
null
null
exemplos/exemplo-aula-04-01.py
quitaiskiluisf/TI4F-2021-LogicaProgramacao
d12e5c389a43c98f27726df5618fe529183329a8
[ "Unlicense" ]
null
null
null
exemplos/exemplo-aula-04-01.py
quitaiskiluisf/TI4F-2021-LogicaProgramacao
d12e5c389a43c98f27726df5618fe529183329a8
[ "Unlicense" ]
null
null
null
# Apresentação print('Programa para identificar a que cargos eletivos') print('uma pessoa pode se candidatar com base em sua idade') print() # Entradas idade = int(input('Informe a sua idade: ')) # Processamento e saídas print('Esta pessoa pode se candidatar a estes cargos:') if (idade < 18): print...
23.419355
61
0.634986
91
726
5.065934
0.549451
0.075922
0.052061
0.095445
0
0
0
0
0
0
0
0.017889
0.230028
726
30
62
24.2
0.806798
0.060606
0
0
0
0
0.557099
0
0
0
0
0
0
1
0
false
0
0
0
0
0.684211
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
c39e009f068f7788015732d2e6b0edfd0efd992a
426
py
Python
examples/simple.py
realazthat/aiopg-trollius
6f5edf829d92d1b10c4a1a3a90fe2451539e8dd7
[ "BSD-2-Clause" ]
1
2021-01-03T00:58:01.000Z
2021-01-03T00:58:01.000Z
examples/simple.py
1st1/aiopg
1bcbd95f9ff97675788dc3dbc2f7889e26b2fba4
[ "BSD-2-Clause" ]
2
2018-07-20T07:05:46.000Z
2018-07-20T19:44:44.000Z
examples/simple_old_style.py
soar/aiopg
9bdff257226b14c1828253efb6d0eb7239b0683a
[ "BSD-2-Clause" ]
3
2018-07-18T06:59:47.000Z
2018-07-19T22:56:50.000Z
import asyncio import aiopg dsn = 'dbname=aiopg user=aiopg password=passwd host=127.0.0.1' @asyncio.coroutine def test_select(): pool = yield from aiopg.create_pool(dsn) with (yield from pool.cursor()) as cur: yield from cur.execute("SELECT 1") ret = yield from cur.fetchone() assert r...
22.421053
62
0.680751
63
426
4.492063
0.587302
0.127208
0.084806
0
0
0
0
0
0
0
0
0.023392
0.197183
426
18
63
23.666667
0.804094
0
0
0
0
0
0.164319
0
0
0
0
0
0.076923
1
0.076923
false
0.076923
0.153846
0
0.230769
0.076923
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
c3a2516ed5e2983309b0fcf123980be25b43d165
1,061
py
Python
tests/bsmp/test_commands.py
lnls-sirius/pydrs
4e44cf0272fcf0020139a6c176a708b4642a644a
[ "MIT" ]
null
null
null
tests/bsmp/test_commands.py
lnls-sirius/pydrs
4e44cf0272fcf0020139a6c176a708b4642a644a
[ "MIT" ]
1
2022-01-14T14:59:09.000Z
2022-01-21T18:48:32.000Z
tests/bsmp/test_commands.py
lnls-sirius/pydrs
4e44cf0272fcf0020139a6c176a708b4642a644a
[ "MIT" ]
1
2022-01-14T14:54:14.000Z
2022-01-14T14:54:14.000Z
from unittest import TestCase from siriuspy.pwrsupply.bsmp.constants import ConstPSBSMP from pydrs.bsmp import CommonPSBSMP, EntitiesPS, SerialInterface class TestSerialCommandsx0(TestCase): """Test BSMP consulting methods.""" def setUp(self): """Common setup for all tests.""" self._serial...
28.675676
83
0.679548
120
1,061
5.741667
0.441667
0.075472
0.05225
0.091437
0.179971
0.179971
0
0
0
0
0
0.017943
0.212064
1,061
36
84
29.472222
0.80622
0.072573
0
0
0
0
0.019937
0
0
0
0
0
0
1
0.263158
false
0
0.157895
0
0.473684
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
c3a46fb3802bbb4ed7a5fbfe67fb1da36da3f753
1,316
py
Python
lib/python/cellranger/feature/utils.py
qiangli/cellranger
046e24c3275cfbd4516a6ebc064594513a5c45b7
[ "MIT" ]
1
2019-03-29T04:05:58.000Z
2019-03-29T04:05:58.000Z
lib/python/cellranger/feature/utils.py
qiangli/cellranger
046e24c3275cfbd4516a6ebc064594513a5c45b7
[ "MIT" ]
null
null
null
lib/python/cellranger/feature/utils.py
qiangli/cellranger
046e24c3275cfbd4516a6ebc064594513a5c45b7
[ "MIT" ]
null
null
null
#!/usr/bin/env python # # Copyright (c) 2018 10X Genomics, Inc. All rights reserved. # # Utils for feature-barcoding technology import numpy as np import os import json import tenkit.safe_json as tk_safe_json def check_if_none_or_empty(matrix): if matrix is None or matrix.get_shape()[0] == 0 or matrix.get_shape(...
27.416667
86
0.680091
212
1,316
3.971698
0.415094
0.052257
0.052257
0.053444
0.180523
0.180523
0.180523
0.054632
0
0
0
0.015564
0.218845
1,316
47
87
28
0.803502
0.089666
0
0.258065
0
0
0.005029
0
0
0
0
0
0
1
0.16129
false
0
0.129032
0.032258
0.516129
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
c3b8ec1c8a770c6bded530d6c754e56f0b14dd73
2,818
py
Python
tests/data.py
MathMagique/azure-cost-mon
0a2a883eb587ee46bd166f8e23ab0b920eee961a
[ "MIT" ]
65
2017-05-22T16:26:37.000Z
2022-03-11T06:39:51.000Z
tests/data.py
MathMagique/azure-cost-mon
0a2a883eb587ee46bd166f8e23ab0b920eee961a
[ "MIT" ]
27
2017-05-02T07:48:34.000Z
2021-03-31T09:53:56.000Z
tests/data.py
MathMagique/azure-cost-mon
0a2a883eb587ee46bd166f8e23ab0b920eee961a
[ "MIT" ]
17
2017-06-06T21:39:28.000Z
2021-07-08T14:13:52.000Z
api_output_for_empty_months = """"Usage Data Extract", "", "AccountOwnerId","Account Name","ServiceAdministratorId","SubscriptionId","SubscriptionGuid","Subscription Name","Date","Month","Day","Year","Product","Meter ID","Meter Category","Meter Sub-Category","Meter Region","Meter Name","Consumed Quantity","Reso...
42.059701
484
0.710078
350
2,818
5.702857
0.368571
0.012024
0.022545
0.033066
0.397295
0.358717
0.342685
0.342685
0.342685
0.342685
0
0.103668
0.110007
2,818
66
485
42.69697
0.692185
0
0
0.424242
0
0.030303
0.683463
0.233854
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c3baff370d4baee282c8608fd09e9a208ebac3e2
596
py
Python
ifitwala_ed/hr/doctype/training_feedback/training_feedback.py
mohsinalimat/ifitwala_ed
8927695ed9dee36e56571c442ebbe6e6431c7d46
[ "MIT" ]
13
2020-09-02T10:27:57.000Z
2022-03-11T15:28:46.000Z
ifitwala_ed/hr/doctype/training_feedback/training_feedback.py
mohsinalimat/ifitwala_ed
8927695ed9dee36e56571c442ebbe6e6431c7d46
[ "MIT" ]
43
2020-09-02T07:00:42.000Z
2021-07-05T13:22:58.000Z
ifitwala_ed/hr/doctype/training_feedback/training_feedback.py
mohsinalimat/ifitwala_ed
8927695ed9dee36e56571c442ebbe6e6431c7d46
[ "MIT" ]
6
2020-10-19T01:02:18.000Z
2022-03-11T15:28:47.000Z
# Copyright (c) 2021, ifitwala and contributors # For license information, please see license.txt import frappe from frappe.model.document import Document from frappe import _ class TrainingFeedback(Document): def validate(self): training_event = frappe.get_doc("Training Event", self.training_event) if training_...
33.111111
77
0.746644
77
596
5.623377
0.61039
0.210162
0.117783
0
0
0
0
0
0
0
0
0.011605
0.13255
596
17
78
35.058824
0.825919
0.15604
0
0
0
0
0.212
0
0
0
0
0
0
1
0.083333
false
0
0.25
0
0.416667
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c3c4fcd9bbcff4febb72c2cd8b9d3f0b7db5b1a1
445
py
Python
backend/utils/management/commands/createsu.py
stasfilin/rss_portal
e6e9f8d254c80c8a7a40901b3b7dab059f259d55
[ "MIT" ]
null
null
null
backend/utils/management/commands/createsu.py
stasfilin/rss_portal
e6e9f8d254c80c8a7a40901b3b7dab059f259d55
[ "MIT" ]
null
null
null
backend/utils/management/commands/createsu.py
stasfilin/rss_portal
e6e9f8d254c80c8a7a40901b3b7dab059f259d55
[ "MIT" ]
null
null
null
from django.contrib.auth.models import User from django.core.management.base import BaseCommand class Command(BaseCommand): """ Command for creating default superuser """ def handle(self, *args, **options): if not User.objects.filter(username="admin").exists(): User.objects.create...
31.785714
84
0.689888
52
445
5.884615
0.711538
0.065359
0
0
0
0
0
0
0
0
0
0.016438
0.179775
445
13
85
34.230769
0.821918
0.085393
0
0
0
0
0.13555
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
c3ce5c789ffdabd456c4f50d5c4cea5acccf135f
558
py
Python
setup.py
whipper-team/morituri-eaclogger
4cbdeb24d713ab8c9358ac90f4740d8cec76d3c4
[ "0BSD" ]
9
2018-10-18T13:33:01.000Z
2022-01-17T19:25:38.000Z
setup.py
JoeLametta/morituri-eaclogger
4cbdeb24d713ab8c9358ac90f4740d8cec76d3c4
[ "0BSD" ]
6
2016-07-03T20:47:05.000Z
2018-02-09T14:58:43.000Z
setup.py
whipper-team/morituri-eaclogger
4cbdeb24d713ab8c9358ac90f4740d8cec76d3c4
[ "0BSD" ]
3
2016-07-03T19:58:36.000Z
2018-02-07T15:34:41.000Z
from setuptools import setup from eaclogger import __version__ as plugin_version setup( name="whipper-plugin-eaclogger", version=plugin_version, description="A plugin for whipper which provides EAC style log reports", author="JoeLametta, supermanvelo", maintainer="JoeLametta", license="ISC Lice...
29.368421
76
0.688172
60
558
6.283333
0.566667
0.068966
0.116711
0
0
0
0
0
0
0
0
0
0.195341
558
18
77
31
0.839644
0
0
0
0
0
0.460573
0.096774
0
0
0
0
0
1
0
true
0
0.117647
0
0.117647
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
c3cf716bf2646fc626aab11469e78c6e67817ef2
201
py
Python
main.py
cankut/image-to-prime
d681ac0a6435f41662f638479ee7cfde2f203cb0
[ "MIT" ]
null
null
null
main.py
cankut/image-to-prime
d681ac0a6435f41662f638479ee7cfde2f203cb0
[ "MIT" ]
null
null
null
main.py
cankut/image-to-prime
d681ac0a6435f41662f638479ee7cfde2f203cb0
[ "MIT" ]
null
null
null
from PrimeSearcher import PrimeSearcher ### ps = PrimeSearcher("./images/euler.jpg") ps.rescale(60*60, fit_to_original=True) ps.search(max_iterations=1000, noise_count=1, break_on_find=False)
18.272727
66
0.761194
29
201
5.068966
0.827586
0
0
0
0
0
0
0
0
0
0
0.050279
0.109453
201
10
67
20.1
0.77095
0
0
0
0
0
0.091837
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c3dfc2511f343d7ceb9692a36dbb37532c595d9b
1,637
py
Python
src/utils/schema/jobserver/migrations/0013_migrate_job_completion.py
gravitationalwavedc/gwcloud_job_server
fb96ed1dc6baa240d1a38ac1adcd246577285294
[ "MIT" ]
null
null
null
src/utils/schema/jobserver/migrations/0013_migrate_job_completion.py
gravitationalwavedc/gwcloud_job_server
fb96ed1dc6baa240d1a38ac1adcd246577285294
[ "MIT" ]
8
2020-06-06T08:39:37.000Z
2021-09-22T18:01:47.000Z
src/utils/schema/jobserver/migrations/0013_migrate_job_completion.py
gravitationalwavedc/gwcloud_job_server
fb96ed1dc6baa240d1a38ac1adcd246577285294
[ "MIT" ]
null
null
null
# Generated by Django 3.0.4 on 2020-05-17 22:34 from django.db import migrations, models from django.utils import timezone def migrate_job_completion(apps, schema_editor): Job = apps.get_model("jobserver", "Job") JobHistory = apps.get_model("jobserver", "JobHistory") # Iterate over all jobs for job ...
31.480769
84
0.592547
181
1,637
5.20442
0.486188
0.082803
0.05414
0.044586
0.176221
0.10828
0.10828
0.10828
0.10828
0
0
0.035907
0.319487
1,637
51
85
32.098039
0.809695
0.145388
0
0.216216
1
0
0.125809
0.016535
0
0
0
0
0
1
0.027027
false
0
0.054054
0
0.162162
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c3ef2c796af21bf862af0de2fcb23a9f957c5de9
732
py
Python
django_vcr/management/commands/download_tapes.py
areedtomlinson/django-vcr
902f38346a01a8e6124e859e21d7acb9c97241fc
[ "MIT" ]
null
null
null
django_vcr/management/commands/download_tapes.py
areedtomlinson/django-vcr
902f38346a01a8e6124e859e21d7acb9c97241fc
[ "MIT" ]
null
null
null
django_vcr/management/commands/download_tapes.py
areedtomlinson/django-vcr
902f38346a01a8e6124e859e21d7acb9c97241fc
[ "MIT" ]
null
null
null
import os from optparse import make_option from django.core.management.base import BaseCommand, CommandError class Command(BaseCommand): args = 'url' help = 'Download VCR tapes from remote server' option_list = BaseCommand.option_list + ( make_option( '-u', '--url', dest...
27.111111
77
0.639344
92
732
5.021739
0.641304
0.04329
0.069264
0.08658
0
0
0
0
0
0
0
0.001887
0.275956
732
26
78
28.153846
0.869811
0.188525
0
0
0
0
0.281356
0
0
0
0
0.038462
0
1
0.0625
false
0
0.1875
0
0.5
0.0625
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
c3f051a0ba567a1bfa80d8a15622a56fe1837dca
608
py
Python
swcms_social/faq/migrations/0005_auto_20180419_1001.py
ivanff/swcms
20d121003243abcc26e41409bc44f1c0ef3c6c2a
[ "MIT" ]
null
null
null
swcms_social/faq/migrations/0005_auto_20180419_1001.py
ivanff/swcms
20d121003243abcc26e41409bc44f1c0ef3c6c2a
[ "MIT" ]
1
2019-06-25T11:17:35.000Z
2019-06-25T11:17:54.000Z
swcms_social/faq/migrations/0005_auto_20180419_1001.py
ivanff/swcms-social
20d121003243abcc26e41409bc44f1c0ef3c6c2a
[ "MIT" ]
null
null
null
# Generated by Django 2.0.3 on 2018-04-19 07:01 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('faq', '0004_auto_20180322_1330'), ] operations = [ migrations.AlterModelOptions( name='faq', options={'ordering': ('subject_...
27.636364
121
0.597039
60
608
5.866667
0.633333
0.125
0.176136
0
0
0
0
0
0
0
0
0.068282
0.253289
608
21
122
28.952381
0.707048
0.074013
0
0.266667
1
0
0.306595
0.040998
0
0
0
0
0
1
0
false
0
0.066667
0
0.266667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c3f17a70386052db02c11c15fab00823b5a363bc
1,245
py
Python
Missing Numbers.py
Shaikh-Nabeel/HackerRankAlgorithms
3d11fd2c45bd045fa320691c8ac1c89acadc6d8a
[ "Apache-2.0" ]
null
null
null
Missing Numbers.py
Shaikh-Nabeel/HackerRankAlgorithms
3d11fd2c45bd045fa320691c8ac1c89acadc6d8a
[ "Apache-2.0" ]
null
null
null
Missing Numbers.py
Shaikh-Nabeel/HackerRankAlgorithms
3d11fd2c45bd045fa320691c8ac1c89acadc6d8a
[ "Apache-2.0" ]
null
null
null
""" Problem Statement Numeros, The Artist, had two lists A and B, such that, B was a permutation of A. Numeros was very proud of these lists. Unfortunately, while transporting them from one exhibition to another, some numbers from List A got left out. Can you find out the numbers missing from A? """ __author__ = 'Dany...
24.411765
119
0.519679
174
1,245
3.649425
0.477011
0.025197
0.075591
0.107087
0.110236
0.07874
0
0
0
0
0
0.006127
0.344578
1,245
50
120
24.9
0.772059
0.032129
0
0.068966
0
0
0.031765
0
0
0
0
0
0
0
null
null
0
0.034483
null
null
0.034483
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
c3f1f74b466b17b50d5baf80f81ac4960271ecd0
3,187
py
Python
jmap/account/imap/mailbox.py
filiphanes/jmap-proxy-python
86d7aba07c5faad652dd46f418f2b8dd3fe03bc3
[ "MIT" ]
14
2020-05-12T14:21:23.000Z
2022-03-17T07:20:25.000Z
jmap/account/imap/mailbox.py
filiphanes/jmap-proxy-python
86d7aba07c5faad652dd46f418f2b8dd3fe03bc3
[ "MIT" ]
1
2020-11-28T12:52:09.000Z
2020-11-28T12:52:09.000Z
jmap/account/imap/mailbox.py
filiphanes/jmap-proxy-python
86d7aba07c5faad652dd46f418f2b8dd3fe03bc3
[ "MIT" ]
4
2020-06-03T09:21:01.000Z
2022-03-11T20:43:58.000Z
from jmap.account.imap.imap_utf7 import imap_utf7_decode, imap_utf7_encode KNOWN_SPECIALS = set('\\HasChildren \\HasNoChildren \\NoSelect \\NoInferiors \\UnMarked \\Subscribed'.lower().split()) # special use or name magic ROLE_MAP = { 'inbox': 'inbox', 'drafts': 'drafts', 'draft': 'drafts', 'draft messages':...
26.338843
118
0.557891
338
3,187
5.174556
0.304734
0.051458
0.02287
0.024014
0.109777
0.089194
0.062893
0.062893
0.062893
0.062893
0
0.005226
0.279573
3,187
120
119
26.558333
0.756533
0.007844
0
0.106383
0
0
0.236784
0
0
0
0
0
0
1
0.159574
false
0
0.010638
0.106383
0.351064
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
c3f30ba18a8ccc9b5eb6bda010feb4e01b778707
2,987
py
Python
pyieee1905/multiap_msg.py
evanslai/pyieee1905
1007f964c1ebcaf3825a809fb98bc20430e26b64
[ "MIT" ]
3
2020-07-17T15:58:49.000Z
2022-01-03T11:40:04.000Z
pyieee1905/multiap_msg.py
jayakumar-ananthakrishnan/pyieee1905
8aab72a1bccb9c6c753ca7d3d8913b3cba4c74a0
[ "MIT" ]
3
2019-03-29T19:31:23.000Z
2021-09-16T11:51:55.000Z
pyieee1905/multiap_msg.py
jayakumar-ananthakrishnan/pyieee1905
8aab72a1bccb9c6c753ca7d3d8913b3cba4c74a0
[ "MIT" ]
1
2021-09-14T13:58:43.000Z
2021-09-14T13:58:43.000Z
from pyieee1905.ieee1905_tlv import IEEE1905_TLV from scapy.packet import Packet, bind_layers from scapy.fields import BitField, XByteField, XShortField, XShortEnumField from scapy.layers.l2 import Ether IEEE1905_MCAST = "01:80:c2:00:00:13" ieee1905_msg_type = { 0x0000:"TOPOLOGY_DISCOVERY_MESSAGE", 0x0001:...
37.810127
75
0.781051
345
2,987
6.255072
0.414493
0.061168
0.035218
0.022243
0.066728
0
0
0
0
0
0
0.108637
0.127888
2,987
78
76
38.294872
0.71977
0
0
0
0
0
0.541555
0.490952
0
0
0.094504
0
0
1
0
false
0
0.059701
0
0.104478
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
0
0
0
0
0
0
0
1
c3f439b48efe360b61fbb39a47da1c6f455643ce
2,719
py
Python
daily_practice/tools/GetMem.py
joakimzhang/qa_study
ff8930e674d45c49bea4e130d14d73d17b090e48
[ "Apache-2.0" ]
null
null
null
daily_practice/tools/GetMem.py
joakimzhang/qa_study
ff8930e674d45c49bea4e130d14d73d17b090e48
[ "Apache-2.0" ]
null
null
null
daily_practice/tools/GetMem.py
joakimzhang/qa_study
ff8930e674d45c49bea4e130d14d73d17b090e48
[ "Apache-2.0" ]
null
null
null
# coding:utf8 ''' Created on 2016��8��30�� @author: zhangq ''' from serial import Serial import re from threading import Thread import time import datetime import pygal import os class FilterMem(object): def __init__(self, port, baudrate): self.serial_obj = Serial() self.serial_obj.port = port-1 ...
29.554348
135
0.544318
348
2,719
4.043103
0.350575
0.063966
0.083156
0.021322
0.042644
0
0
0
0
0
0.002207
0.015996
0.333211
2,719
91
136
29.879121
0.756757
0.059581
0
0.031746
0
0
0.044836
0
0
0
0
0
0
0
null
null
0
0.111111
null
null
0.047619
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
c3f80a30cddcf300830226429e92b2147122720d
12,689
py
Python
waffle/tests/test_management.py
theunraveler/django-waffle
4b27b27c5ce3f044eb8b2c94f40df841bc982884
[ "BSD-3-Clause" ]
1
2021-09-12T00:44:29.000Z
2021-09-12T00:44:29.000Z
waffle/tests/test_management.py
theunraveler/django-waffle
4b27b27c5ce3f044eb8b2c94f40df841bc982884
[ "BSD-3-Clause" ]
4
2016-06-01T16:23:26.000Z
2017-01-04T13:04:06.000Z
waffle/tests/test_management.py
theunraveler/django-waffle
4b27b27c5ce3f044eb8b2c94f40df841bc982884
[ "BSD-3-Clause" ]
null
null
null
from __future__ import unicode_literals import six from django.core.management import call_command, CommandError from django.contrib.auth.models import Group, User from waffle import get_waffle_flag_model from waffle.models import Sample, Switch from waffle.tests.base import TestCase class WaffleFlagManagementComma...
38.568389
85
0.638033
1,458
12,689
5.386145
0.09465
0.046352
0.054119
0.048389
0.782631
0.749395
0.665733
0.613651
0.556985
0.491914
0
0.004491
0.245409
12,689
328
86
38.685976
0.815666
0.084246
0
0.613445
0
0
0.098267
0
0
0
0
0
0.315126
1
0.092437
false
0
0.029412
0
0.138655
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
7f055b39eb9d9bedda5195c6c85467b444c1804f
799
py
Python
setup.py
Fragalli/brFinance
f06d7b148d20d07361c89158837d47225c4fea1f
[ "MIT" ]
1
2021-07-19T19:12:11.000Z
2021-07-19T19:12:11.000Z
setup.py
Fragalli/brFinance
f06d7b148d20d07361c89158837d47225c4fea1f
[ "MIT" ]
1
2021-07-22T13:52:30.000Z
2021-07-22T13:52:30.000Z
setup.py
Fragalli/brFinance
f06d7b148d20d07361c89158837d47225c4fea1f
[ "MIT" ]
null
null
null
from setuptools import setup, find_packages setup( name='brfinance', version='0.1', packages=find_packages(exclude=['tests*']), license='MIT', description='A Python package for webscraping financial data brazilian sources such as CVM, Banco Central, B3, ANBIMA, etc.', long_description=open('REA...
49.9375
160
0.679599
89
799
6.044944
0.876404
0.04461
0
0
0
0
0
0
0
0
0
0.008837
0.150188
799
15
161
53.266667
0.783505
0
0
0
0
0.071429
0.530663
0.030038
0
0
0
0
0
1
0
true
0
0.071429
0
0.071429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
7f094e91b9871860a612632460408191babfa754
788
py
Python
snakeoil/migrations/0001_initial.py
wbcsmarteezgithub/django-snakeoil
ae1a8dab9e14194e48963101ff3349f45aee0ccf
[ "BSD-2-Clause" ]
1
2020-07-03T15:52:25.000Z
2020-07-03T15:52:25.000Z
snakeoil/migrations/0001_initial.py
wbcsmarteezgithub/django-snakeoil
ae1a8dab9e14194e48963101ff3349f45aee0ccf
[ "BSD-2-Clause" ]
null
null
null
snakeoil/migrations/0001_initial.py
wbcsmarteezgithub/django-snakeoil
ae1a8dab9e14194e48963101ff3349f45aee0ccf
[ "BSD-2-Clause" ]
null
null
null
# Generated by Django 2.2 on 2020-03-30 15:03 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='SeoUrl', fields=[ ('head_title', models.CharF...
29.185185
126
0.574873
82
788
5.378049
0.573171
0.124717
0.054422
0.081633
0
0
0
0
0
0
0
0.039927
0.300761
788
26
127
30.307692
0.760436
0.054569
0
0
1
0
0.148048
0
0
0
0
0
0
1
0
false
0
0.052632
0
0.263158
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
7f0b21821574f29c48de13330ac73d4176385f22
2,211
py
Python
mediafeed/databases/files.py
media-feed/mediafeed
c2fb37b20a5bc41a4299193fa9b11f8a3e3b2acf
[ "MIT" ]
null
null
null
mediafeed/databases/files.py
media-feed/mediafeed
c2fb37b20a5bc41a4299193fa9b11f8a3e3b2acf
[ "MIT" ]
null
null
null
mediafeed/databases/files.py
media-feed/mediafeed
c2fb37b20a5bc41a4299193fa9b11f8a3e3b2acf
[ "MIT" ]
null
null
null
import os from shutil import rmtree from ..settings import DATA_PATH class Thumbnail(object): def __init__(self, model): self.model = model self.module = model.module self.filename = os.path.join('thumbnails', model.__tablename__, self.module.id, model.id) self.full_filename = os....
26.638554
97
0.635911
286
2,211
4.692308
0.174825
0.080477
0.083458
0.053651
0.208644
0.162444
0.068554
0.068554
0.068554
0.068554
0
0
0.259159
2,211
82
98
26.963415
0.819292
0
0
0.241935
0
0
0.029398
0
0
0
0
0
0
1
0.225806
false
0.016129
0.048387
0.064516
0.483871
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
7f0c54650b946eb5ed1cdc2900d388cb5381d2f3
1,998
py
Python
src/robusta/core/triggers/error_event_trigger.py
Rutam21/robusta
7c918d96362f607488c0e7e0056f436a06dce4ae
[ "MIT" ]
null
null
null
src/robusta/core/triggers/error_event_trigger.py
Rutam21/robusta
7c918d96362f607488c0e7e0056f436a06dce4ae
[ "MIT" ]
null
null
null
src/robusta/core/triggers/error_event_trigger.py
Rutam21/robusta
7c918d96362f607488c0e7e0056f436a06dce4ae
[ "MIT" ]
1
2022-02-20T01:49:36.000Z
2022-02-20T01:49:36.000Z
from ..discovery.top_service_resolver import TopServiceResolver from ...core.playbooks.base_trigger import TriggerEvent from ...integrations.kubernetes.autogenerated.triggers import EventAllChangesTrigger, EventChangeEvent from ...integrations.kubernetes.base_triggers import K8sTriggerEvent from ...utils.rate_limiter i...
38.423077
110
0.669169
215
1,998
5.953488
0.344186
0.063281
0.05625
0.08125
0.054688
0
0
0
0
0
0
0.006761
0.25976
1,998
51
111
39.176471
0.858688
0.03954
0
0.1
1
0
0.033907
0.029734
0
0
0
0
0
1
0.05
false
0
0.125
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
7f13a49ab964463c1066e45f31d90b6e23b47055
1,326
py
Python
apps/order/migrations/0002_auto_20180710_0937.py
jakejie/ShopPro
f0cec134ae77f4449f15a0219123d6a6bce2aad2
[ "Apache-2.0" ]
1
2019-04-20T16:58:02.000Z
2019-04-20T16:58:02.000Z
apps/order/migrations/0002_auto_20180710_0937.py
jakejie/ShopPro
f0cec134ae77f4449f15a0219123d6a6bce2aad2
[ "Apache-2.0" ]
6
2020-06-05T19:57:58.000Z
2021-09-08T00:49:17.000Z
apps/order/migrations/0002_auto_20180710_0937.py
jakejie/ShopPro
f0cec134ae77f4449f15a0219123d6a6bce2aad2
[ "Apache-2.0" ]
1
2021-09-10T18:29:28.000Z
2021-09-10T18:29:28.000Z
# Generated by Django 2.0.7 on 2018-07-10 09:37 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('prod...
33.15
129
0.631222
143
1,326
5.72028
0.342657
0.05868
0.085575
0.134474
0.484108
0.484108
0.391198
0.391198
0.391198
0.391198
0
0.022931
0.24359
1,326
39
130
34
0.792622
0.033937
0
0.4375
1
0
0.120407
0
0
0
0
0
0
1
0
false
0
0.09375
0
0.21875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
7f19df6d90e4eaf71ba87a40f7d247e20f11c992
6,625
py
Python
kunquat/tracker/ui/model/keymapmanager.py
kagu/kunquat
83a2e972121e6a114ecc5ef4392b501ce926bb06
[ "CC0-1.0" ]
13
2016-09-01T21:52:49.000Z
2022-03-24T06:07:20.000Z
kunquat/tracker/ui/model/keymapmanager.py
kagu/kunquat
83a2e972121e6a114ecc5ef4392b501ce926bb06
[ "CC0-1.0" ]
290
2015-03-14T10:59:25.000Z
2022-03-20T08:32:17.000Z
kunquat/tracker/ui/model/keymapmanager.py
kagu/kunquat
83a2e972121e6a114ecc5ef4392b501ce926bb06
[ "CC0-1.0" ]
7
2015-03-19T13:28:11.000Z
2019-09-03T16:21:16.000Z
# -*- coding: utf-8 -*- # # Authors: Toni Ruottu, Finland 2014 # Tomi Jylhä-Ollila, Finland 2016-2019 # # This file is part of Kunquat. # # CC0 1.0 Universal, http://creativecommons.org/publicdomain/zero/1.0/ # # To the extent possible under law, Kunquat Affirmers have waived all # copyright and related or ne...
31.103286
92
0.635774
906
6,625
4.327815
0.295806
0.042081
0.048457
0.020403
0.211171
0.117827
0.076001
0.055598
0.018873
0
0
0.064932
0.263094
6,625
212
93
31.25
0.738222
0.072
0
0.097222
0
0
0.014682
0
0
0
0
0
0.041667
1
0.208333
false
0.006944
0
0.083333
0.472222
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
7f1aa77534d7ca4bf005172321cf304ed4c252e6
7,175
py
Python
ros/src/tl_detector/light_classification/tl_classifier.py
Kuan-HC/Udacity-CarND-Capstone
cfe6c44f0f46de19a7df728de3044fb2c1a80666
[ "MIT" ]
null
null
null
ros/src/tl_detector/light_classification/tl_classifier.py
Kuan-HC/Udacity-CarND-Capstone
cfe6c44f0f46de19a7df728de3044fb2c1a80666
[ "MIT" ]
null
null
null
ros/src/tl_detector/light_classification/tl_classifier.py
Kuan-HC/Udacity-CarND-Capstone
cfe6c44f0f46de19a7df728de3044fb2c1a80666
[ "MIT" ]
null
null
null
from styx_msgs.msg import TrafficLight import rospy import tensorflow as tf import numpy as np import cv2 from PIL import Image # for visualization #import matplotlib.pyplot as plt from PIL import ImageDraw from PIL import ImageColor import os class TLClassifier(object): def __init__(self): #TODO load clas...
38.783784
124
0.607387
884
7,175
4.699095
0.263575
0.023832
0.025999
0.018055
0.070534
0.054165
0.054165
0.030332
0
0
0
0.022623
0.303833
7,175
184
125
38.994565
0.809009
0.203066
0
0.019231
0
0
0.041093
0.009802
0
0
0
0.01087
0
1
0.096154
false
0
0.096154
0
0.298077
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
7f1b46a68b462c9832a4e39c40ba6411d23ff59c
3,279
py
Python
template/plugin/datafile.py
vaMuchenje/Template-Python
9edbf401cfeb9c33b50bd37fd0643fa0205d8a5e
[ "Artistic-2.0" ]
1
2016-03-02T06:51:04.000Z
2016-03-02T06:51:04.000Z
template/plugin/datafile.py
vaMuchenje/Template-Python
9edbf401cfeb9c33b50bd37fd0643fa0205d8a5e
[ "Artistic-2.0" ]
6
2015-10-13T13:46:10.000Z
2019-06-17T09:39:57.000Z
template/plugin/datafile.py
vaMuchenje/Template-Python
9edbf401cfeb9c33b50bd37fd0643fa0205d8a5e
[ "Artistic-2.0" ]
3
2018-12-03T13:15:21.000Z
2019-03-13T09:12:09.000Z
# # The Template-Python distribution is Copyright (C) Sean McAfee 2007-2008, # derived from the Perl Template Toolkit Copyright (C) 1996-2007 Andy # Wardley. All Rights Reserved. # # The file "LICENSE" at the top level of this source distribution describes # the terms under which this file may be distributed. # ...
28.763158
78
0.68466
461
3,279
4.83731
0.444685
0.015695
0.018834
0.018834
0.041256
0.027803
0
0
0
0
0
0.011696
0.217749
3,279
113
79
29.017699
0.8577
0.091796
0
0
0
0
0.026205
0
0
0
0
0
0
0
null
null
0
0.09375
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
7f1d6247aa5afbf4e9f81a212764267b491f054c
551
py
Python
sqlalchemy_jsonapi/constants.py
jimbobhickville/sqlalchemy-jsonapi
40f8b5970d44935b27091c2bf3224482d23311bb
[ "MIT" ]
73
2015-01-11T09:23:21.000Z
2021-07-07T03:51:38.000Z
sqlalchemy_jsonapi/constants.py
jimbobhickville/sqlalchemy-jsonapi
40f8b5970d44935b27091c2bf3224482d23311bb
[ "MIT" ]
61
2015-03-16T22:08:14.000Z
2018-01-12T01:43:48.000Z
sqlalchemy_jsonapi/constants.py
JanAckermann/sqlalchemy-jsonapi
40f8b5970d44935b27091c2bf3224482d23311bb
[ "MIT" ]
39
2015-01-21T15:04:40.000Z
2020-09-24T19:54:15.000Z
""" SQLAlchemy-JSONAPI Constants Colton J. Provias MIT License """ try: from enum import Enum except ImportError: from enum34 import Enum class Method(Enum): """ HTTP Methods used by JSON API """ GET = 'GET' POST = 'POST' PATCH = 'PATCH' DELETE = 'DELETE' class Endpoint(Enum): """...
17.774194
70
0.637024
66
551
5.212121
0.606061
0.081395
0.087209
0.104651
0
0
0
0
0
0
0
0.00464
0.217786
551
30
71
18.366667
0.793503
0.22323
0
0
0
0
0.32598
0.205882
0
0
0
0
0
1
0
false
0
0.214286
0
0.928571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
7f238b01c0def33202fd44f0d56c115a89fb1370
9,288
py
Python
languages/Natlab/src/natlab/tame/builtin/gen/classProp.py
dherre3/mclab-core
ccdcd6f46ee42285c7ad055ff0a9ea3361112e11
[ "Apache-2.0" ]
11
2015-05-31T16:11:35.000Z
2021-02-16T00:04:48.000Z
languages/Natlab/src/natlab/tame/builtin/gen/classProp.py
sshrdp/mclab
1843078edb13e647c0261d1944320ffbcf02ad99
[ "Apache-2.0" ]
12
2015-05-04T16:21:04.000Z
2019-04-24T21:49:33.000Z
languages/Natlab/src/natlab/tame/builtin/gen/classProp.py
sshrdp/mclab
1843078edb13e647c0261d1944320ffbcf02ad99
[ "Apache-2.0" ]
13
2015-05-31T17:16:45.000Z
2021-02-09T17:08:26.000Z
# DEPRECATED - THERE IS A PARSER FOR THE CLASS LANGUAGE IN JAVA NOW # TODO -delete # processing Class tag - class propagation language import processTags import sys # definition of the class propagation language - in a dictionary # helper method - converts numbers to a MatlabClassVar def convertNum(a): retu...
46.673367
134
0.669681
1,156
9,288
5.295848
0.241349
0.022868
0.017968
0.020582
0.297452
0.228683
0.173636
0.170533
0.150604
0.112382
0
0.009311
0.179048
9,288
198
135
46.909091
0.793574
0.232666
0
0.21374
0
0
0.250353
0.037581
0
0
0
0.005051
0
0
null
null
0
0.015267
null
null
0.030534
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
613fd24f44efdf77077663143efe7c456df30295
14,319
py
Python
eulxml/xmlmap/cerp.py
ig0774/eulxml
17d71c7d98c0cebda9932b7f13e72093805e1fe2
[ "Apache-2.0" ]
19
2015-02-23T17:01:24.000Z
2022-03-14T08:14:16.000Z
eulxml/xmlmap/cerp.py
ig0774/eulxml
17d71c7d98c0cebda9932b7f13e72093805e1fe2
[ "Apache-2.0" ]
30
2015-07-24T17:11:52.000Z
2021-01-19T22:29:37.000Z
eulxml/xmlmap/cerp.py
ig0774/eulxml
17d71c7d98c0cebda9932b7f13e72093805e1fe2
[ "Apache-2.0" ]
13
2015-01-27T21:49:16.000Z
2021-01-19T23:00:00.000Z
# file eulxml/xmlmap/cerp.py # # Copyright 2010,2011 Emory University Libraries # # 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 # ...
35.887218
104
0.68238
1,685
14,319
5.596439
0.261128
0.062354
0.068293
0.074443
0.219512
0.142206
0.106151
0.093637
0.093637
0.093637
0
0.005023
0.207487
14,319
398
105
35.977387
0.825961
0.21887
0
0.160173
0
0.004329
0.144631
0.012415
0
0
0
0.005025
0
1
0.064935
false
0
0.038961
0.056277
0.658009
0.004329
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
61417ac842baa5fce26e656d22d5a3fc89e691b0
3,671
py
Python
tuning/TensileConfiguration.py
mhbliao/Tensile
99261adfa7fe6b30b0c76b17b87bbd6cb41bae60
[ "MIT" ]
null
null
null
tuning/TensileConfiguration.py
mhbliao/Tensile
99261adfa7fe6b30b0c76b17b87bbd6cb41bae60
[ "MIT" ]
null
null
null
tuning/TensileConfiguration.py
mhbliao/Tensile
99261adfa7fe6b30b0c76b17b87bbd6cb41bae60
[ "MIT" ]
5
2019-07-29T01:23:56.000Z
2022-03-08T09:28:10.000Z
import os import sys import argparse ################################################################################ # Print Debug ################################################################################ #def printWarning(message): # print "Tensile::WARNING: %s" % message # sys.stdout.flush() def print...
25.493056
143
0.602016
331
3,671
6.356495
0.268882
0.039924
0.026141
0.024715
0.074144
0
0
0
0
0
0
0.000329
0.171615
3,671
143
144
25.671329
0.691549
0.041406
0
0.206897
0
0.011494
0.087826
0
0
0
0
0
0
0
null
null
0
0.057471
null
null
0.068966
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
614b094bc6fe81f808b2770a13e59af2778e159e
321
py
Python
Audio Features/waveplot.py
kritika58/A-Novel-Framework-Using-Neutrosophy-for-Integrated-Speech-and-Text-Sentiment-Analysis
a16bd5d02f2efd34ad20f496fb59f273fdb9b60c
[ "MIT" ]
null
null
null
Audio Features/waveplot.py
kritika58/A-Novel-Framework-Using-Neutrosophy-for-Integrated-Speech-and-Text-Sentiment-Analysis
a16bd5d02f2efd34ad20f496fb59f273fdb9b60c
[ "MIT" ]
null
null
null
Audio Features/waveplot.py
kritika58/A-Novel-Framework-Using-Neutrosophy-for-Integrated-Speech-and-Text-Sentiment-Analysis
a16bd5d02f2efd34ad20f496fb59f273fdb9b60c
[ "MIT" ]
null
null
null
import matplotlib.pyplot as plt import librosa.display plt.rcParams.update({'font.size': 16}) y, sr = librosa.load(librosa.util.example_audio_file()) plt.figure(figsize=(18, 7)) librosa.display.waveplot(y, sr=sr, x_axis='s') print(sr) plt.ylabel('Sampling Rate',fontsize=32) plt.xlabel('Time (s)',fontsize=32) plt.show(...
29.181818
55
0.744548
53
321
4.45283
0.679245
0.118644
0.110169
0
0
0
0
0
0
0
0
0.030201
0.071651
321
11
56
29.181818
0.761745
0
0
0
0
0
0.096273
0
0
0
0
0
0
1
0
true
0
0.2
0
0.2
0.1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
614d70b8129724b5e053055af8277e59183bfa60
1,753
py
Python
hardware/humidity_rev001/main.py
deniz195/json-sensor
c0e55d39bab3be6eca444273fb5436e1eafe8860
[ "MIT" ]
1
2018-10-30T11:22:33.000Z
2018-10-30T11:22:33.000Z
hardware/humidity_rev001/main.py
deniz195/json-sensor
c0e55d39bab3be6eca444273fb5436e1eafe8860
[ "MIT" ]
null
null
null
hardware/humidity_rev001/main.py
deniz195/json-sensor
c0e55d39bab3be6eca444273fb5436e1eafe8860
[ "MIT" ]
null
null
null
# Trinket IO demo # Welcome to CircuitPython 2.0.0 :) import board from digitalio import DigitalInOut, Direction, Pull from analogio import AnalogOut, AnalogIn import touchio from adafruit_hid.keyboard import Keyboard from adafruit_hid.keycode import Keycode import adafruit_dotstar as dotstar import time import neop...
20.869048
72
0.654307
216
1,753
5.236111
0.407407
0.099027
0.045093
0.049514
0.051282
0
0
0
0
0
0
0.032982
0.187108
1,753
83
73
21.120482
0.760702
0.3417
0
0.117647
0
0
0.084646
0.022638
0
0
0
0
0
1
0
false
0
0.352941
0
0.352941
0.029412
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
61507394f52ac1e05ac449ce9da47bed8f214087
50,220
py
Python
pyxb/binding/content.py
thorstenb/pyxb
634e86f61dfb73a2900f32fc3d819e9c25365a49
[ "Apache-2.0" ]
null
null
null
pyxb/binding/content.py
thorstenb/pyxb
634e86f61dfb73a2900f32fc3d819e9c25365a49
[ "Apache-2.0" ]
null
null
null
pyxb/binding/content.py
thorstenb/pyxb
634e86f61dfb73a2900f32fc3d819e9c25365a49
[ "Apache-2.0" ]
null
null
null
# Copyright 2009, Peter A. Bigot # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain a # copy of the License at: # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to ...
44.168865
162
0.652708
6,209
50,220
5.107103
0.122081
0.013907
0.00596
0.014506
0.359445
0.312835
0.277326
0.254935
0.223873
0.209492
0
0.000902
0.271605
50,220
1,136
163
44.207746
0.865965
0.098845
0
0.38448
0
0
0.039344
0.005296
0
0
0
0.003521
0.021164
0
null
null
0.007055
0.007055
null
null
0.003527
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
615449c99a13e49491115643772692dd1ae14eec
3,078
py
Python
backend/bundle/controller.py
FlickerSoul/Graphery
8b1390e1ba96fd2867f0cd8e5fc1d4ad6108121e
[ "MIT" ]
5
2020-08-26T00:15:01.000Z
2021-01-11T17:24:51.000Z
backend/bundle/controller.py
FlickerSoul/Graphery
8b1390e1ba96fd2867f0cd8e5fc1d4ad6108121e
[ "MIT" ]
69
2020-08-02T23:45:44.000Z
2021-04-17T03:04:32.000Z
backend/bundle/controller.py
FlickerSoul/Graphery
8b1390e1ba96fd2867f0cd8e5fc1d4ad6108121e
[ "MIT" ]
4
2020-09-10T05:40:49.000Z
2020-12-20T11:44:16.000Z
from __future__ import annotations import logging import pathlib from logging.handlers import TimedRotatingFileHandler from os import getenv from typing import Union, List, Mapping from bundle.utils.recorder import Recorder from bundle.utils.cache_file_helpers import CacheFolder, USER_DOCS_PATH from bundle.seeker imp...
37.084337
99
0.71345
396
3,078
5.146465
0.295455
0.058881
0.031894
0.046614
0.182041
0.10844
0.035329
0
0
0
0
0.003261
0.203054
3,078
82
100
37.536585
0.827558
0.044185
0
0
0
0
0.051718
0.042191
0
0
0
0.012195
0
1
0.166667
false
0
0.15
0.05
0.466667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
6156bf0e3221f1152ca5fede44ceb1bca071a86d
1,246
py
Python
toolchain/riscv/MSYS/python/Lib/test/encoded_modules/__init__.py
zhiqiang-hu/bl_iot_sdk
154ee677a8cc6a73e6a42a5ff12a8edc71e6d15d
[ "Apache-2.0" ]
207
2018-10-01T08:53:01.000Z
2022-03-14T12:15:54.000Z
toolchain/riscv/MSYS/python/Lib/test/encoded_modules/__init__.py
zhiqiang-hu/bl_iot_sdk
154ee677a8cc6a73e6a42a5ff12a8edc71e6d15d
[ "Apache-2.0" ]
8
2019-06-29T14:18:51.000Z
2022-02-19T07:30:27.000Z
toolchain/riscv/MSYS/python/Lib/test/encoded_modules/__init__.py
zhiqiang-hu/bl_iot_sdk
154ee677a8cc6a73e6a42a5ff12a8edc71e6d15d
[ "Apache-2.0" ]
76
2020-03-16T01:47:46.000Z
2022-03-21T16:37:07.000Z
# -*- encoding: utf-8 -*- # This is a package that contains a number of modules that are used to # test import from the source files that have different encodings. # This file (the __init__ module of the package), is encoded in utf-8 # and contains a list of strings from various unicode planes that are # encoded...
51.916667
81
0.731942
196
1,246
4.596939
0.545918
0.029967
0.028857
0.033296
0
0
0
0
0
0
0
0.014085
0.202247
1,246
23
82
54.173913
0.892354
0.714286
0
0
0
0
0.725552
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
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6158ddbd923564b0fc6dc5759ee9c0f2fdcd6fb9
3,078
py
Python
toolkit/utils/report_utils.py
suraj-testing2/Flowers_Toilet
21c981531a505a8b74ee42c33a3f4d68ef72d7f3
[ "Apache-2.0" ]
22
2015-01-22T12:10:50.000Z
2021-10-12T03:30:56.000Z
toolkit/utils/report_utils.py
suraj-testing2/Flowers_Toilet
21c981531a505a8b74ee42c33a3f4d68ef72d7f3
[ "Apache-2.0" ]
null
null
null
toolkit/utils/report_utils.py
suraj-testing2/Flowers_Toilet
21c981531a505a8b74ee42c33a3f4d68ef72d7f3
[ "Apache-2.0" ]
17
2016-01-28T04:54:39.000Z
2021-10-12T03:30:49.000Z
#!/usr/bin/python # # Copyright 2014 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 b...
28.766355
76
0.690058
432
3,078
4.833333
0.462963
0.036877
0.020115
0.015326
0.043103
0
0
0
0
0
0
0.009905
0.212801
3,078
106
77
29.037736
0.851837
0.206953
0
0
0
0
0.010744
0
0
0
0
0
0
0
null
null
0
0.088235
null
null
0.088235
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
6158e50e667f81e2d5e70166a7f7dc89a015b4a3
323
py
Python
Sinavro/Types/BaseClass.py
pl-Steve28-lq/SinavroLang
8f8344bf9d92ba5498f9bbf103fb2c80cde724d2
[ "MIT" ]
4
2020-12-24T10:11:18.000Z
2021-09-09T01:24:05.000Z
Sinavro/Types/BaseClass.py
pl-Steve28-lq/SinavroLang
8f8344bf9d92ba5498f9bbf103fb2c80cde724d2
[ "MIT" ]
null
null
null
Sinavro/Types/BaseClass.py
pl-Steve28-lq/SinavroLang
8f8344bf9d92ba5498f9bbf103fb2c80cde724d2
[ "MIT" ]
null
null
null
class SinavroObject: pass def init(self, val): self.value = val gencls = lambda n: type(f'Sinavro{n.title()}', (SinavroObject,), {'__init__': init, 'type': n}) SinavroInt = gencls('int') SinavroFloat = gencls('float') SinavroString = gencls('string') SinavroBool = gencls('bool') SinavroArray = gencls('array'...
29.363636
96
0.681115
38
323
5.684211
0.657895
0
0
0
0
0
0
0
0
0
0
0
0.142415
323
10
97
32.3
0.779783
0
0
0
0
0
0.169329
0
0
0
0
0
0
1
0.125
false
0.125
0
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
615ad8eba732cef089d5695b78282f0eeaae7437
2,824
py
Python
HUGS/Interface/_upload.py
hugs-cloud/hugs
65aef97d662746f1382bd03b15f46a6647c7b7f5
[ "Apache-2.0" ]
null
null
null
HUGS/Interface/_upload.py
hugs-cloud/hugs
65aef97d662746f1382bd03b15f46a6647c7b7f5
[ "Apache-2.0" ]
5
2020-08-18T12:22:46.000Z
2020-09-30T14:30:11.000Z
HUGS/Interface/_upload.py
hugs-cloud/hugs
65aef97d662746f1382bd03b15f46a6647c7b7f5
[ "Apache-2.0" ]
2
2020-06-11T20:30:24.000Z
2020-10-29T17:30:21.000Z
import tempfile from pathlib import Path import ipywidgets as widgets from HUGS.Client import Process from HUGS.Interface import Credentials class Upload: def __init__(self): self._credentials = Credentials() self._user = None def login(self): return self._credentials.login() d...
31.032967
88
0.555949
308
2,824
4.925325
0.386364
0.039552
0.046144
0.050099
0.069216
0.053395
0
0
0
0
0
0.003264
0.34915
2,824
90
89
31.377778
0.822089
0.061969
0
0.063492
0
0
0.122163
0.008699
0
0
0
0.011111
0
1
0.095238
false
0
0.079365
0.047619
0.285714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
616e5cf634f2586b19810e30e33e8aba47812b49
494
py
Python
slender/tests/list/test_include.py
torokmark/slender
3bf815e22f7802ba48706f31ba608cf609e23e68
[ "Apache-2.0" ]
1
2020-01-10T21:51:46.000Z
2020-01-10T21:51:46.000Z
slender/tests/list/test_include.py
torokmark/slender
3bf815e22f7802ba48706f31ba608cf609e23e68
[ "Apache-2.0" ]
null
null
null
slender/tests/list/test_include.py
torokmark/slender
3bf815e22f7802ba48706f31ba608cf609e23e68
[ "Apache-2.0" ]
null
null
null
import re from unittest import TestCase from expects import expect, equal, raise_error, be_true, be_false from slender import List class TestInclude(TestCase): def test_include_if_value_in_array(self): e = List(['apple', 'bear', 'dog', 'plum', 'grape', 'cat', 'anchor']) expect(e.include('bear'...
27.444444
76
0.653846
70
494
4.385714
0.5
0.039088
0.091205
0.104235
0.449511
0.162866
0.162866
0
0
0
0
0
0.196356
494
17
77
29.058824
0.7733
0
0
0
0
0
0.111562
0
0
0
0
0
0
1
0.181818
false
0
0.363636
0
0.636364
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
61741f74b759c1266c2b4eff5463940e41acbff2
1,691
py
Python
wagtailcomments/basic/migrations/0001_initial.py
takeflight/wagtailcomments
941ae2f16fccb867a33d2ed4c21b8e5e04af712d
[ "BSD-3-Clause" ]
7
2016-09-28T10:51:44.000Z
2018-09-29T08:27:23.000Z
wagtailcomments/basic/migrations/0001_initial.py
takeflight/wagtailcomments
941ae2f16fccb867a33d2ed4c21b8e5e04af712d
[ "BSD-3-Clause" ]
null
null
null
wagtailcomments/basic/migrations/0001_initial.py
takeflight/wagtailcomments
941ae2f16fccb867a33d2ed4c21b8e5e04af712d
[ "BSD-3-Clause" ]
2
2017-05-21T08:41:19.000Z
2018-08-06T13:50:59.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.9.7 on 2016-07-29 06:13 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion import django.utils.timezone import enumchoicefield.fields import wagtailcomments.models class Mig...
40.261905
141
0.646954
176
1,691
6.051136
0.5
0.030047
0.039437
0.061972
0.073239
0.073239
0.073239
0.073239
0
0
0
0.02144
0.227676
1,691
41
142
41.243902
0.794028
0.039622
0
0
1
0
0.109192
0.045651
0
0
0
0
0
1
0
false
0
0.212121
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6179a809c6fd4ff96baedddbf9bb9dae658ef8c7
1,256
py
Python
neutron_plugin_contrail/plugins/opencontrail/neutron_middleware.py
hamzazafar/contrail-neutron-plugin
fb8dbcabc8240e5c47753ae6e2af5556d0a38421
[ "Apache-2.0" ]
3
2021-09-07T05:02:24.000Z
2022-02-11T04:25:43.000Z
neutron_plugin_contrail/plugins/opencontrail/neutron_middleware.py
hamzazafar/contrail-neutron-plugin
fb8dbcabc8240e5c47753ae6e2af5556d0a38421
[ "Apache-2.0" ]
1
2016-04-26T09:05:42.000Z
2016-04-26T09:05:42.000Z
neutron_plugin_contrail/plugins/opencontrail/neutron_middleware.py
hamzazafar/contrail-neutron-plugin
fb8dbcabc8240e5c47753ae6e2af5556d0a38421
[ "Apache-2.0" ]
5
2020-07-14T07:52:05.000Z
2022-03-24T15:08:02.000Z
import logging from eventlet import corolocal from eventlet.greenthread import getcurrent """ This middleware is used to forward user token to Contrail API server. Middleware is inserted at head of Neutron pipeline via api-paste.ini file so that user token can be preserved in local storage of Neutron thread. This is ...
32.205128
78
0.731688
176
1,256
5.034091
0.477273
0.05079
0.029345
0.042889
0
0
0
0
0
0
0
0
0.200637
1,256
38
79
33.052632
0.88247
0.062898
0
0
0
0
0.023876
0
0
0
0
0
0
1
0.210526
false
0
0.157895
0.052632
0.578947
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
618446f9da1ab0931b796eb8d9862b418bee6a2b
1,115
py
Python
hackerearth/Algorithms/Buggy Bot/solution.py
ATrain951/01.python-com_Qproject
c164dd093954d006538020bdf2e59e716b24d67c
[ "MIT" ]
4
2020-07-24T01:59:50.000Z
2021-07-24T15:14:08.000Z
hackerearth/Algorithms/Buggy Bot/solution.py
ATrain951/01.python-com_Qproject
c164dd093954d006538020bdf2e59e716b24d67c
[ "MIT" ]
null
null
null
hackerearth/Algorithms/Buggy Bot/solution.py
ATrain951/01.python-com_Qproject
c164dd093954d006538020bdf2e59e716b24d67c
[ "MIT" ]
null
null
null
""" # Sample code to perform I/O: name = input() # Reading input from STDIN print('Hi, %s.' % name) # Writing output to STDOUT # Warning: Printing unwanted or ill-formatted data to output will cause the test cases to fail """ # Write your code here from collections import defaultdict n, m, ...
27.875
94
0.608072
163
1,115
4.122699
0.423313
0.095238
0.049107
0.071429
0.120536
0.089286
0
0
0
0
0
0.004773
0.24843
1,115
39
95
28.589744
0.797136
0.238565
0
0.071429
0
0
0.001189
0
0
0
0
0.025641
0
1
0
false
0
0.035714
0
0.035714
0.071429
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
618aadd7fe62fbfa6544e105456f6c6a8c7ddd78
1,443
py
Python
app/forms.py
paulpaulaga/ask-paul
1af662243ac5d05e3f3b237f743a11de25d712e7
[ "MIT" ]
null
null
null
app/forms.py
paulpaulaga/ask-paul
1af662243ac5d05e3f3b237f743a11de25d712e7
[ "MIT" ]
1
2021-10-05T07:42:54.000Z
2021-10-05T07:42:54.000Z
app/forms.py
paulpaulaga/ask-paul
1af662243ac5d05e3f3b237f743a11de25d712e7
[ "MIT" ]
null
null
null
from django import forms from app.models import Question, Profile, Answer from django.contrib.auth.models import User class LoginForm(forms.Form): username = forms.CharField() password = forms.CharField(widget=forms.PasswordInput) def __init__(self, *args, **kwargs): super().__init__(*args, **kwa...
27.226415
77
0.627859
157
1,443
5.649682
0.299363
0.090192
0.063134
0.094701
0.426156
0.363021
0.311161
0.311161
0.311161
0.311161
0
0
0.23562
1,443
52
78
27.75
0.80417
0
0
0.333333
0
0
0.056826
0
0
0
0
0
0
1
0.102564
false
0.128205
0.076923
0
0.512821
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
618dc6198da7239c2edc0143aac74d64a250d04c
841
py
Python
create_widget.py
Adam01/Cylinder
84ca02e2860df579a4e0514c4060a0c497e167a5
[ "MIT" ]
4
2015-02-19T17:46:27.000Z
2018-10-27T08:00:58.000Z
create_widget.py
Adam01/Cylinder
84ca02e2860df579a4e0514c4060a0c497e167a5
[ "MIT" ]
3
2015-04-09T18:14:35.000Z
2015-05-07T02:36:48.000Z
create_widget.py
Adam01/Cylinder
84ca02e2860df579a4e0514c4060a0c497e167a5
[ "MIT" ]
null
null
null
import os import sys import shutil templateDir = "./Cylinder/WidgetTemplate" widgetOutDir = "./Cylinder/rapyd/Widgets/" if len(sys.argv) > 1: name = sys.argv[1] widgetDir = os.path.join(widgetOutDir, name) if not os.path.exists(widgetDir): if os.path.exists(templateDir): os.mkdir(widg...
32.346154
87
0.62069
95
841
5.494737
0.452632
0.068966
0.057471
0
0
0
0
0
0
0
0
0.004918
0.274673
841
26
88
32.346154
0.85082
0
0
0.130435
0
0
0.162708
0.059382
0
0
0
0
0
0
null
null
0
0.130435
null
null
0.217391
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
618ed936ea97eb91d0ed1cb9b6eb7123a3f94c4d
1,380
py
Python
examples/06-worker.py
pacslab/serverless-performance-simulator
5dd1623ad873d005b457676c060232205de7f552
[ "MIT" ]
5
2021-06-17T15:50:40.000Z
2022-02-15T21:24:39.000Z
examples/06-worker.py
sicilly/simfaas
5dd1623ad873d005b457676c060232205de7f552
[ "MIT" ]
null
null
null
examples/06-worker.py
sicilly/simfaas
5dd1623ad873d005b457676c060232205de7f552
[ "MIT" ]
5
2020-07-19T22:57:34.000Z
2021-11-16T01:40:03.000Z
import zmq import time import sys import struct import multiprocessing from examples.sim_trace import generate_trace port = "5556" if len(sys.argv) > 1: port = sys.argv[1] int(port) socket_addr = "tcp://127.0.0.1:%s" % port worker_count = multiprocessing.cpu_count() * 2 + 1 stop_signal = False def worker(c...
26.538462
98
0.626087
178
1,380
4.702247
0.483146
0.035842
0.019116
0.028674
0.0454
0
0
0
0
0
0
0.018609
0.260145
1,380
51
99
27.058824
0.801175
0.01087
0
0
1
0
0.062408
0
0
0
0
0
0
1
0.026316
false
0
0.157895
0
0.184211
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
61986b8629c565625618497302e6f724f841c131
779
py
Python
src/visualize/visualize_checkpoint.py
Immocat/ACTOR
c7237e82e333bf2c57f7d8e12f27d0831233befc
[ "MIT" ]
164
2021-09-06T12:43:39.000Z
2022-03-29T02:33:38.000Z
src/visualize/visualize_checkpoint.py
Immocat/ACTOR
c7237e82e333bf2c57f7d8e12f27d0831233befc
[ "MIT" ]
14
2021-09-17T00:42:24.000Z
2022-03-07T04:18:12.000Z
src/visualize/visualize_checkpoint.py
Immocat/ACTOR
c7237e82e333bf2c57f7d8e12f27d0831233befc
[ "MIT" ]
27
2021-09-07T04:38:38.000Z
2022-03-29T00:37:10.000Z
import os import matplotlib.pyplot as plt import torch from src.utils.get_model_and_data import get_model_and_data from src.parser.visualize import parser from .visualize import viz_epoch import src.utils.fixseed # noqa plt.switch_backend('agg') def main(): # parse options parameters, folder, checkpointna...
24.34375
78
0.741977
100
779
5.52
0.5
0.043478
0.059783
0.081522
0
0
0
0
0
0
0
0
0.161746
779
31
79
25.129032
0.845329
0.044929
0
0
0
0
0.052703
0
0
0
0
0
0
1
0.052632
false
0
0.368421
0
0.421053
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
0
0
0
0
1
0
0
0
0
1
619f55e5cd0fde19ef49d00d5c74c41a8e978000
938
py
Python
APIs/Biquery/src/infra/models/datasets.py
clarencejlee/jdp
d3d31db0138ff06f2f5ec592d85317941af4f280
[ "MIT" ]
null
null
null
APIs/Biquery/src/infra/models/datasets.py
clarencejlee/jdp
d3d31db0138ff06f2f5ec592d85317941af4f280
[ "MIT" ]
null
null
null
APIs/Biquery/src/infra/models/datasets.py
clarencejlee/jdp
d3d31db0138ff06f2f5ec592d85317941af4f280
[ "MIT" ]
null
null
null
from enum import Enum from tortoise import fields from tortoise.models import Model class Status(str, Enum): PENDING = "pending" IMPORTED = "imported" class Datasets(Model): id = fields.CharField(36, pk=True) provider = fields.CharField(10, null=False) provider_id = fields.CharField(255, null=Fal...
32.344828
65
0.643923
110
938
5.418182
0.409091
0.100671
0.057047
0.073826
0.184564
0
0
0
0
0
0
0.026573
0.23774
938
29
66
32.344828
0.806993
0
0
0
0
0
0.060703
0
0
0
0
0
0
1
0.04
false
0
0.16
0.04
0.72
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
61a07bb292fcae2ff0accde2ff05fef346e1cb96
6,046
py
Python
src/python/pipelines_utils/file_utils.py
InformaticsMatters/pipelines-utils
07182505500fe2e3ab1db29332f6a7ec98b0c1b6
[ "Apache-2.0" ]
null
null
null
src/python/pipelines_utils/file_utils.py
InformaticsMatters/pipelines-utils
07182505500fe2e3ab1db29332f6a7ec98b0c1b6
[ "Apache-2.0" ]
33
2018-01-23T10:20:41.000Z
2019-07-09T14:25:33.000Z
src/python/pipelines_utils/file_utils.py
InformaticsMatters/pipelines-utils
07182505500fe2e3ab1db29332f6a7ec98b0c1b6
[ "Apache-2.0" ]
1
2018-10-31T06:04:08.000Z
2018-10-31T06:04:08.000Z
#!/usr/bin/env python # Copyright 2018 Informatics Matters Ltd. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
40.306667
78
0.66391
874
6,046
4.546911
0.185355
0.036236
0.017614
0.022899
0.720181
0.694514
0.67388
0.654253
0.654253
0.654253
0
0.002634
0.246444
6,046
149
79
40.577181
0.869622
0.637612
0
0.534884
0
0
0.048604
0
0
0
0
0
0
1
0.093023
false
0
0.069767
0
0.395349
0.023256
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
61a22ded87c71674219b6b523e264a085c06ad4b
1,358
py
Python
the-lambda-trilogy/python/src/lambdas/the_lambda_lith/lambda_function.py
InfrastructureHQ/CDK-Patterns
3531f2df028e87c1455b8afe95563d7552abb7af
[ "MIT" ]
null
null
null
the-lambda-trilogy/python/src/lambdas/the_lambda_lith/lambda_function.py
InfrastructureHQ/CDK-Patterns
3531f2df028e87c1455b8afe95563d7552abb7af
[ "MIT" ]
null
null
null
the-lambda-trilogy/python/src/lambdas/the_lambda_lith/lambda_function.py
InfrastructureHQ/CDK-Patterns
3531f2df028e87c1455b8afe95563d7552abb7af
[ "MIT" ]
null
null
null
def lambda_handler(event): try: first_num = event["queryStringParameters"]["firstNum"] except KeyError: first_num = 0 try: second_num = event["queryStringParameters"]["secondNum"] except KeyError: second_num = 0 try: operation_type = event["queryStringParame...
28.893617
75
0.620766
163
1,358
4.969325
0.202454
0.138272
0.155556
0.188889
0.62716
0.559259
0.559259
0.559259
0.559259
0.440741
0
0.010859
0.25405
1,358
46
76
29.521739
0.788746
0
0
0.323529
0
0
0.189985
0.046392
0
0
0
0
0
1
0.117647
false
0
0
0
0.264706
0.088235
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
61a4a530246434eb38e7c667db777d5e633e159d
13,214
py
Python
template1.py
gregwa1953/FCM160
b5c0a912e140e78891f587d2d271c23bff7333c2
[ "MIT" ]
null
null
null
template1.py
gregwa1953/FCM160
b5c0a912e140e78891f587d2d271c23bff7333c2
[ "MIT" ]
null
null
null
template1.py
gregwa1953/FCM160
b5c0a912e140e78891f587d2d271c23bff7333c2
[ "MIT" ]
null
null
null
#! /usr/bin/env python # -*- coding: utf-8 -*- # ====================================================== # template1.py # ------------------------------------------------------ # Created for Full Circle Magazine Issue #160 # Written by G.D. Walters # Copyright (c) 2020 by G.D. Walters # This source code is release...
32.546798
1,325
0.546163
1,692
13,214
4.222222
0.292553
0.044793
0.033595
0.035274
0.241321
0.182671
0.163214
0.138158
0.138158
0.138158
0
0.063748
0.287725
13,214
406
1,326
32.546798
0.695283
0.074845
0
0.479224
0
0.016621
0.459129
0.016152
0
0
0
0
0
1
0.00831
false
0
0.027701
0
0.041551
0.036011
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
61aa135945511486eea03b3338aef406ccf3474a
1,123
py
Python
api/api.py
mshen63/DevUp
b0e0d9a4a442cd5b51fb60823ed0a0837c440442
[ "MIT" ]
2
2022-02-13T17:02:05.000Z
2022-03-01T10:30:02.000Z
api/api.py
mshen63/DevUp
b0e0d9a4a442cd5b51fb60823ed0a0837c440442
[ "MIT" ]
62
2021-08-03T17:53:17.000Z
2021-08-31T15:58:24.000Z
api/api.py
mshen63/DevUp
b0e0d9a4a442cd5b51fb60823ed0a0837c440442
[ "MIT" ]
4
2021-08-04T15:11:06.000Z
2021-08-29T19:58:42.000Z
import os from flask import Flask from dotenv import load_dotenv from flask_cors import CORS from flask_mail import Mail # Database and endpoints from flask_migrate import Migrate from models.models import db from endpoints.exportEndpoints import exportEndpoints load_dotenv() app = Flask(__name__, static_folder="../b...
22.019608
73
0.737311
157
1,123
5.076433
0.414013
0.067754
0.065245
0.040151
0
0
0
0
0
0
0
0.008114
0.121995
1,123
50
74
22.46
0.800203
0.01959
0
0
0
0
0.251137
0.101911
0
0
0
0
0
1
0.055556
false
0.055556
0.222222
0.055556
0.333333
0.027778
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
61b0ba8f2fe1cfda56083280555e02a787f5271a
344
py
Python
setup.py
trsav/romodel
b9e94edb0eeb89fe75be24e1eb303a077c02f58e
[ "MIT" ]
27
2021-05-17T08:33:51.000Z
2022-02-09T03:18:11.000Z
setup.py
trsav/romodel
b9e94edb0eeb89fe75be24e1eb303a077c02f58e
[ "MIT" ]
null
null
null
setup.py
trsav/romodel
b9e94edb0eeb89fe75be24e1eb303a077c02f58e
[ "MIT" ]
7
2021-07-15T17:07:23.000Z
2022-01-18T18:58:56.000Z
from setuptools import setup, find_packages setup( name='romodel', version='0.0.2', url='https://github.com/johwiebe/romodel.git', author='Johannes Wiebe', author_email='j.wiebe17@imperial.ac.uk', description='Pyomo robust optimization toolbox', packages=find_packages(), install_require...
26.461538
52
0.69186
42
344
5.571429
0.809524
0.102564
0
0
0
0
0
0
0
0
0
0.017182
0.15407
344
12
53
28.666667
0.786942
0
0
0
0
0
0.383721
0.069767
0
0
0
0
0
1
0
true
0
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
0
0
0
0
0
0
1
61b2a1604d4866a4eaf485c5fbc8ad47fa3ccd88
8,228
py
Python
stream/migrations/0001_init_models.py
freejooo/vigilio
d21bf4f9d39e5dcde5d7c21476d8650e914c3c66
[ "MIT" ]
137
2021-03-26T18:19:45.000Z
2022-03-06T07:48:23.000Z
stream/migrations/0001_init_models.py
rrosajp/vigilio
d21bf4f9d39e5dcde5d7c21476d8650e914c3c66
[ "MIT" ]
11
2021-03-28T00:07:00.000Z
2021-05-04T12:54:58.000Z
stream/migrations/0001_init_models.py
rrosajp/vigilio
d21bf4f9d39e5dcde5d7c21476d8650e914c3c66
[ "MIT" ]
16
2021-03-27T23:58:53.000Z
2022-03-20T14:52:13.000Z
# Generated by Django 3.1.5 on 2021-03-17 21:30 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] ope...
38.448598
87
0.444336
629
8,228
5.621622
0.205087
0.050905
0.047511
0.088235
0.675622
0.645645
0.549491
0.538462
0.526584
0.480204
0
0.016055
0.447375
8,228
213
88
38.629108
0.761601
0.005469
0
0.61165
1
0
0.09791
0.005256
0
0
0
0
0
1
0
false
0
0.014563
0
0.033981
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
61c26d6718f096ebcf35473494cb3a2610963d4a
1,097
py
Python
map/migrations/0001_initial.py
benjaoming/django-denmark.org
f708ce95720fd3452913a003ccf8179f869826c4
[ "MIT" ]
null
null
null
map/migrations/0001_initial.py
benjaoming/django-denmark.org
f708ce95720fd3452913a003ccf8179f869826c4
[ "MIT" ]
1
2021-05-03T09:27:59.000Z
2021-05-03T09:27:59.000Z
map/migrations/0001_initial.py
Nadiahansen15/django-denmark.org
d3be44764367a7c1059d7a0e896fbbc56ce1771f
[ "MIT" ]
null
null
null
# Generated by Django 2.0.3 on 2018-03-16 00:17 from django.conf import settings import django.contrib.gis.db.models.fields from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependenc...
34.28125
154
0.640839
125
1,097
5.52
0.584
0.046377
0.046377
0.052174
0.086957
0.086957
0
0
0
0
0
0.02619
0.234275
1,097
31
155
35.387097
0.795238
0.041021
0
0.083333
1
0
0.082857
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
61c8c91a42b220ed80fd252d6e8e255457b5045e
2,141
py
Python
bot.py
Shikib/twiliobot
0077dfc2c1451243839bda4d05e6692d3d70391c
[ "MIT" ]
null
null
null
bot.py
Shikib/twiliobot
0077dfc2c1451243839bda4d05e6692d3d70391c
[ "MIT" ]
null
null
null
bot.py
Shikib/twiliobot
0077dfc2c1451243839bda4d05e6692d3d70391c
[ "MIT" ]
null
null
null
from telegram import Updater from twilio.rest import TwilioRestClient TELEGRAM_TOKEN = "INSERT_YOUR_TOKEN_HERE" TWILIO_ACCOUNT_SID = "INSERT_ACCOUNT_SID_HERE" TWILIO_AUTH_TOKEN = "INSERT_AUTH_TOKEN_HERE" # initialize telegram updater and dispatcher updater = Updater(token=TELEGRAM_TOKEN) dispatcher = updater.dispatch...
31.028986
67
0.726763
325
2,141
4.587692
0.243077
0.056338
0.024145
0.032193
0.583501
0.556673
0.48558
0.48558
0.48558
0.434608
0
0.017694
0.181691
2,141
68
68
31.485294
0.833333
0.235871
0
0.333333
0
0
0.155077
0.041231
0
0
0
0
0
0
null
null
0
0.047619
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
4ee2287446b5623f2360208ebd4d39b34fb838c9
2,827
py
Python
codes/1hop_getTwitterUserDetails.py
hridaydutta123/ActiveProbing
763e90fb9e4d996fefd46fb72a53345f83bb3366
[ "BSD-2-Clause" ]
null
null
null
codes/1hop_getTwitterUserDetails.py
hridaydutta123/ActiveProbing
763e90fb9e4d996fefd46fb72a53345f83bb3366
[ "BSD-2-Clause" ]
null
null
null
codes/1hop_getTwitterUserDetails.py
hridaydutta123/ActiveProbing
763e90fb9e4d996fefd46fb72a53345f83bb3366
[ "BSD-2-Clause" ]
null
null
null
import tweepy from tweepy import OAuthHandler import sys import ConfigParser from pymongo import MongoClient import datetime from random import randint import time # Mongo Settings # Connect to MongoDB client = MongoClient("hpc.iiitd.edu.in", 27017, maxPoolSize=50) # Connect to db bitcoindb db=client.activeprobing s...
30.728261
115
0.718783
367
2,827
5.416894
0.384196
0.025151
0.024145
0.032193
0.075453
0.075453
0.075453
0.037223
0
0
0
0.010575
0.163778
2,827
91
116
31.065934
0.830372
0.130527
0
0.032787
0
0
0.192623
0.013525
0
0
0
0
0
0
null
null
0
0.131148
null
null
0.081967
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
4ee8e5064d073bd9fe65b5f652de6a065ad8feed
468
py
Python
troupon/deals/tasks.py
andela/troupon
3704cbe6e69ba3e4c53401d3bbc339208e9ebccd
[ "MIT" ]
14
2016-01-12T07:31:09.000Z
2021-11-20T19:29:35.000Z
troupon/deals/tasks.py
andela/troupon
3704cbe6e69ba3e4c53401d3bbc339208e9ebccd
[ "MIT" ]
52
2015-09-02T14:54:43.000Z
2016-08-01T08:22:21.000Z
troupon/deals/tasks.py
andela/troupon
3704cbe6e69ba3e4c53401d3bbc339208e9ebccd
[ "MIT" ]
17
2015-09-30T13:18:48.000Z
2021-11-18T16:25:12.000Z
from celery.decorators import periodic_task from celery.task.schedules import crontab from celery.utils.log import get_task_logger from utils import scraper logger = get_task_logger(__name__) # A periodic task that will run every minute @periodic_task(run_every=(crontab(hour=10, day_of_week="Wednesday"))) def send_...
29.25
69
0.779915
68
468
5.117647
0.5
0.086207
0.074713
0.137931
0.16092
0
0
0
0
0
0
0.004902
0.128205
468
15
70
31.2
0.848039
0.089744
0
0
0
0
0.106132
0
0
0
0
0
0
1
0.1
false
0
0.4
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
4ee93f1b5b503980b03dc4c25a2236f84fadfd5f
806
py
Python
unit_testing/temp_manage.py
ddsprasad/pythondev
be3e555ff4a877ecac120b650130c601772050b1
[ "MIT" ]
null
null
null
unit_testing/temp_manage.py
ddsprasad/pythondev
be3e555ff4a877ecac120b650130c601772050b1
[ "MIT" ]
null
null
null
unit_testing/temp_manage.py
ddsprasad/pythondev
be3e555ff4a877ecac120b650130c601772050b1
[ "MIT" ]
null
null
null
from memsql.common import database import sys from datetime import datetime DATABASE = 'PREPDB' HOST = '10.1.100.12' PORT = '3306' USER = 'root' PASSWORD = 'In5pir0n@121' def get_connection(db=DATABASE): """ Returns a new connection to the database. """ return database.connect(host=HOST, port=PORT, user=USER...
28.785714
92
0.614144
102
806
4.77451
0.54902
0.080082
0.067762
0.065708
0.166324
0.166324
0
0
0
0
0
0.027961
0.245658
806
28
93
28.785714
0.773026
0.050868
0
0.095238
0
0
0.141161
0
0
0
0
0
0
1
0.095238
false
0.095238
0.142857
0
0.285714
0.142857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
4ee959a3b5b6300a196f631748a0e734cce242cc
534
py
Python
tabcmd/parsers/remove_users_parser.py
WillAyd/tabcmd
1ba4a6ce1586b5ec4286aca0edff0fbaa1c69f15
[ "MIT" ]
null
null
null
tabcmd/parsers/remove_users_parser.py
WillAyd/tabcmd
1ba4a6ce1586b5ec4286aca0edff0fbaa1c69f15
[ "MIT" ]
null
null
null
tabcmd/parsers/remove_users_parser.py
WillAyd/tabcmd
1ba4a6ce1586b5ec4286aca0edff0fbaa1c69f15
[ "MIT" ]
null
null
null
from .global_options import * class RemoveUserParser: """ Parser to removeusers command """ @staticmethod def remove_user_parser(manager, command): """Method to parse remove user arguments passed by the user""" remove_users_parser = manager.include(command) remove_users_pa...
31.411765
80
0.662921
59
534
5.711864
0.542373
0.163205
0.20178
0
0
0
0
0
0
0
0
0
0.265918
534
16
81
33.375
0.859694
0.161049
0
0
0
0
0.093677
0
0
0
0
0
0
1
0.111111
false
0
0.111111
0
0.333333
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4eea4879abfe5efa38a70bbb4827cc57672e6417
6,819
py
Python
Lab6/passengers.py
programiranje3/v2020
93c9793aadfea1c15107447951e2db5284fe8802
[ "MIT" ]
null
null
null
Lab6/passengers.py
programiranje3/v2020
93c9793aadfea1c15107447951e2db5284fe8802
[ "MIT" ]
null
null
null
Lab6/passengers.py
programiranje3/v2020
93c9793aadfea1c15107447951e2db5284fe8802
[ "MIT" ]
null
null
null
# # Create the FlightService enumeration that defines the following items (services): # (free) snack, (free) refreshments, (free) meal, priority boarding, # (free) onboard wifi, and an item for cases when services are not specified. # from enum import Enum class FlightService(Enum): unspecified = 0 snack = 1...
36.079365
118
0.69585
895
6,819
5.15419
0.251397
0.046824
0.023412
0.013007
0.144808
0.092348
0.092348
0.063299
0.046824
0.024279
0
0.00831
0.223493
6,819
189
119
36.079365
0.86289
0.446693
0
0.147727
0
0
0.156292
0
0
0
0
0
0
1
0.125
false
0.318182
0.022727
0.068182
0.409091
0.170455
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
4eea98d24b1e30d22ba208bedbdfdc1f2bbee460
722
py
Python
src/documents/management/commands/generate_documents.py
Talengi/phase
60ff6f37778971ae356c5b2b20e0d174a8288bfe
[ "MIT" ]
8
2016-01-29T11:53:40.000Z
2020-03-02T22:42:02.000Z
src/documents/management/commands/generate_documents.py
Talengi/phase
60ff6f37778971ae356c5b2b20e0d174a8288bfe
[ "MIT" ]
289
2015-03-23T07:42:52.000Z
2022-03-11T23:26:10.000Z
src/documents/management/commands/generate_documents.py
Talengi/phase
60ff6f37778971ae356c5b2b20e0d174a8288bfe
[ "MIT" ]
7
2015-12-08T09:03:20.000Z
2020-05-11T15:36:51.000Z
#!/usr/bin/python # -*- coding: utf-8 -*- from django.core.management.base import BaseCommand from documents.tests.utils import generate_random_documents from categories.models import Category class Command(BaseCommand): args = '<number_of_documents> <category_id>' help = 'Creates a given number of random d...
26.740741
67
0.66759
90
722
5.144444
0.544444
0.043197
0.086393
0
0
0
0
0
0
0
0
0.005376
0.227147
722
26
68
27.769231
0.824373
0.052632
0
0
1
0
0.178886
0.030792
0
0
0
0
0
1
0.0625
false
0
0.1875
0
0.4375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4eeadf88e58b24119aee24c1e548e0b28afca7bf
2,004
py
Python
checkov/kubernetes/checks/resource/k8s/ImagePullPolicyAlways.py
Devocean8-Official/checkov
8ce61421fa838a97981ab3bd0ae2a12e541666b2
[ "Apache-2.0" ]
1
2021-02-13T15:24:42.000Z
2021-02-13T15:24:42.000Z
checkov/kubernetes/checks/resource/k8s/ImagePullPolicyAlways.py
Devocean8-Official/checkov
8ce61421fa838a97981ab3bd0ae2a12e541666b2
[ "Apache-2.0" ]
7
2021-04-12T06:54:07.000Z
2022-03-21T14:04:14.000Z
checkov/kubernetes/checks/resource/k8s/ImagePullPolicyAlways.py
Devocean8-Official/checkov
8ce61421fa838a97981ab3bd0ae2a12e541666b2
[ "Apache-2.0" ]
1
2021-12-16T03:09:55.000Z
2021-12-16T03:09:55.000Z
import re from typing import Any, Dict from checkov.common.models.consts import DOCKER_IMAGE_REGEX from checkov.common.models.enums import CheckResult from checkov.kubernetes.checks.resource.base_container_check import BaseK8sContainerCheck class ImagePullPolicyAlways(BaseK8sContainerCheck): def __init__(self) -...
39.294118
118
0.628244
215
2,004
5.725581
0.44186
0.05199
0.056052
0.037368
0.037368
0
0
0
0
0
0
0.004916
0.289421
2,004
50
119
40.08
0.859551
0.228543
0
0.258065
0
0
0.07893
0
0
0
0
0
0
1
0.064516
false
0.064516
0.16129
0
0.451613
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
4eeb6f838c4a0c27e093b28216bbce9b8353f8d9
381
py
Python
jobs/migrations/0018_rename_user_id_recruiterpage_user.py
digitaloxford/do-wagtail
49dd75b95109ebb38bf66aca13d3fdeb8e25d319
[ "MIT" ]
2
2021-04-11T11:59:51.000Z
2021-04-12T06:56:23.000Z
jobs/migrations/0018_rename_user_id_recruiterpage_user.py
digitaloxford/do-wagtail
49dd75b95109ebb38bf66aca13d3fdeb8e25d319
[ "MIT" ]
8
2021-04-10T10:40:27.000Z
2022-01-25T16:32:22.000Z
jobs/migrations/0018_rename_user_id_recruiterpage_user.py
digitaloxford/do-wagtail
49dd75b95109ebb38bf66aca13d3fdeb8e25d319
[ "MIT" ]
null
null
null
# Generated by Django 3.2.6 on 2021-08-05 11:05 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('jobs', '0017_rename_user_recruiterpage_user_id'), ] operations = [ migrations.RenameField( model_name='recruiterpage', old_n...
20.052632
59
0.603675
42
381
5.261905
0.714286
0.054299
0
0
0
0
0
0
0
0
0
0.070111
0.288714
381
18
60
21.166667
0.745387
0.11811
0
0
1
0
0.197605
0.113772
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4eef83ede604e40066824025d8e5da2b23f0f80b
1,297
py
Python
pywxwork/contact/async.py
renqiukai/pywxwork
980283b4c89bf60f998071f30551b8802f1cdbf9
[ "MIT" ]
2
2021-05-22T11:16:47.000Z
2021-05-27T12:42:38.000Z
pywxwork/contact/async.py
renqiukai/pywxwork
980283b4c89bf60f998071f30551b8802f1cdbf9
[ "MIT" ]
null
null
null
pywxwork/contact/async.py
renqiukai/pywxwork
980283b4c89bf60f998071f30551b8802f1cdbf9
[ "MIT" ]
null
null
null
from loguru import logger from ..base import base class async(base): def __init__(self, token) -> None: super().__init__(token) def syncuser(self, data): api_name = "batch/syncuser" response = self.request( api_name=api_name, method="post", json=data) logger.debug(...
28.822222
65
0.59522
151
1,297
4.980132
0.298013
0.111702
0.06383
0.117021
0.607713
0.607713
0.558511
0.558511
0.506649
0.506649
0
0.048387
0.282961
1,297
44
66
29.477273
0.760215
0
0
0.517241
0
0
0.076402
0
0
0
0
0
0
0
null
null
0
0.068966
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
4ef0b50ef3594f7350bca88a70048229aa579679
1,539
py
Python
app/places/migrations/0001_initial.py
aykutgk/nearapp-web
469b9878cf7434278c78a733eeac40713dcc40a4
[ "MIT" ]
null
null
null
app/places/migrations/0001_initial.py
aykutgk/nearapp-web
469b9878cf7434278c78a733eeac40713dcc40a4
[ "MIT" ]
null
null
null
app/places/migrations/0001_initial.py
aykutgk/nearapp-web
469b9878cf7434278c78a733eeac40713dcc40a4
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.10.6 on 2017-04-06 23:40 from __future__ import unicode_literals from django.conf import settings import django.contrib.gis.db.models.fields from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = ...
43.971429
141
0.660169
185
1,539
5.324324
0.491892
0.078173
0.045685
0.036548
0.117767
0.060914
0
0
0
0
0
0.021452
0.212476
1,539
34
142
45.264706
0.791254
0.044185
0
0
1
0
0.139646
0
0
0
0
0
0
1
0
false
0
0.192308
0
0.346154
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4ef25edc19b260d4a3119393c3b4c0a16a1f9130
462
py
Python
preprocessing/importlib_read.py
Kunal614/Machine-Learning
26b3e0f3397ddb524c96c5b6c99b173b6fc80501
[ "MIT" ]
null
null
null
preprocessing/importlib_read.py
Kunal614/Machine-Learning
26b3e0f3397ddb524c96c5b6c99b173b6fc80501
[ "MIT" ]
null
null
null
preprocessing/importlib_read.py
Kunal614/Machine-Learning
26b3e0f3397ddb524c96c5b6c99b173b6fc80501
[ "MIT" ]
null
null
null
#importing lib import pandas as pd import numpy as np #Take data df = pd.DataFrame({"Name":['Kunal' , 'Mohit' , 'Rohit' ] ,"age":[np.nan , 23, 45] , "sex":['M' , np.nan , 'M']}) #check for nnull value print(df.isnull().sum()) print(df.describe()) # ignore the nan rows print(len(df.dropna()) , df.dropna()) #for ...
15.931034
112
0.634199
76
462
3.855263
0.539474
0.109215
0.102389
0.109215
0
0
0
0
0
0
0
0.015385
0.155844
462
28
113
16.5
0.735897
0.229437
0
0.222222
0
0
0.077586
0
0
0
0
0
0
1
0
false
0
0.222222
0
0.222222
0.666667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
4ef2b218f2e39c030635631f9cea78b7d43ed7b8
2,774
py
Python
isw2-master/src/app/ui/ajustarReloj.py
marlanbar/academic-projects
bcdc8ca36b6984ab3f83c10b8a3ed45576ecfca1
[ "MIT" ]
null
null
null
isw2-master/src/app/ui/ajustarReloj.py
marlanbar/academic-projects
bcdc8ca36b6984ab3f83c10b8a3ed45576ecfca1
[ "MIT" ]
null
null
null
isw2-master/src/app/ui/ajustarReloj.py
marlanbar/academic-projects
bcdc8ca36b6984ab3f83c10b8a3ed45576ecfca1
[ "MIT" ]
null
null
null
import datetime from .consola import Consola from .uiscreen import UIScreen from ..core.reloj import Reloj class AjustarReloj(UIScreen): def __init__(self, unMain, unUsuario): super().__init__(unMain) self.usuario = unUsuario def run(self): self.consola.prnt("") self.consola.prnt(" Ahora: %s" %...
37.486486
115
0.612112
324
2,774
5.216049
0.305556
0.214793
0.177515
0.094675
0.401775
0.313018
0.187574
0.15858
0.085207
0.085207
0
0.004191
0.13987
2,774
73
116
38
0.704107
0
0
0.369231
0
0
0.285148
0.106345
0
0
0
0
0
1
0.030769
false
0
0.076923
0
0.123077
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4ef40c95ccc6546b171182631d74d1be2a580530
2,359
py
Python
signin/jd.py
nujabse/simpleSignin
e818f9880d97d39beddcadccb53dc23e18fe6d8e
[ "MIT" ]
11
2018-03-07T04:13:05.000Z
2019-11-28T04:43:55.000Z
signin/jd.py
nujabse/simpleSignin
e818f9880d97d39beddcadccb53dc23e18fe6d8e
[ "MIT" ]
2
2018-03-04T15:08:01.000Z
2018-05-28T07:42:47.000Z
signin/jd.py
nujabse/simpleSignin
e818f9880d97d39beddcadccb53dc23e18fe6d8e
[ "MIT" ]
15
2018-01-25T10:54:06.000Z
2019-11-05T07:09:20.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import traceback from selenium.webdriver import ChromeOptions from signin.chrome import find_chrome_driver_path, JdSession from signin.jd_job import jobs_all from lib.log import logger from lib.settings import PC_UA from lib.settings import MOBILE_UA class JDUser: ...
30.24359
92
0.561679
267
2,359
4.719101
0.340824
0.047619
0.02619
0.031746
0.163492
0.066667
0.066667
0.066667
0.066667
0
0
0.002452
0.308605
2,359
77
93
30.636364
0.77008
0.106825
0
0.039216
0
0
0.072008
0.031474
0
0
0
0
0
1
0.078431
false
0.098039
0.137255
0
0.294118
0.117647
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
4ef53f10b384a2cdfc48e2d923372b8c68776225
1,966
py
Python
Post-Exploitation/LaZagne/Linux/lazagne/softwares/wallet/gnome.py
FOGSEC/TID3xploits
b57d8bae454081a3883a5684679e2a329e72d6e5
[ "MIT" ]
5
2018-01-15T13:58:40.000Z
2022-02-17T02:38:58.000Z
Post-Exploitation/LaZagne/Linux/lazagne/softwares/wallet/gnome.py
bhattsameer/TID3xploits
b57d8bae454081a3883a5684679e2a329e72d6e5
[ "MIT" ]
null
null
null
Post-Exploitation/LaZagne/Linux/lazagne/softwares/wallet/gnome.py
bhattsameer/TID3xploits
b57d8bae454081a3883a5684679e2a329e72d6e5
[ "MIT" ]
4
2019-06-21T07:51:11.000Z
2020-11-04T05:20:09.000Z
#!/usr/bin/env python import os from lazagne.config.write_output import print_debug from lazagne.config.moduleInfo import ModuleInfo class Gnome(ModuleInfo): def __init__(self): options = {'command': '-g', 'action': 'store_true', 'dest': 'gnomeKeyring', 'help': 'Gnome Keyring'} ModuleInfo.__init__(self, 'gnomeKey...
31.206349
102
0.619023
242
1,966
4.834711
0.392562
0.041026
0.053846
0.071795
0.054701
0
0
0
0
0
0
0.002699
0.246185
1,966
62
103
31.709677
0.786775
0.027976
0
0
0
0
0.193819
0
0
0
0
0
0
0
null
null
0.021739
0.086957
null
null
0.086957
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
4ef6051cf73af32c482601c57498a5943fed63f6
5,387
py
Python
nydus/db/base.py
Elec/nydus
9b505840da47a34f758a830c3992fa5dcb7bb7ad
[ "Apache-2.0" ]
102
2015-01-12T20:07:37.000Z
2022-02-21T10:00:07.000Z
nydus/db/base.py
Elec/nydus
9b505840da47a34f758a830c3992fa5dcb7bb7ad
[ "Apache-2.0" ]
4
2015-02-18T04:04:47.000Z
2021-06-09T12:14:50.000Z
nydus/db/base.py
Elec/nydus
9b505840da47a34f758a830c3992fa5dcb7bb7ad
[ "Apache-2.0" ]
9
2015-07-28T15:16:04.000Z
2021-06-08T20:31:04.000Z
""" nydus.db.base ~~~~~~~~~~~~~ :copyright: (c) 2011-2012 DISQUS. :license: Apache License 2.0, see LICENSE for more details. """ __all__ = ('LazyConnectionHandler', 'BaseCluster') import collections from nydus.db.map import DistributedContextManager from nydus.db.routers import BaseRouter, routing_params from nydus...
32.451807
108
0.633748
622
5,387
5.279743
0.282958
0.030451
0.030451
0.024361
0.115408
0.090134
0.090134
0.042631
0.042631
0.042631
0
0.004601
0.273807
5,387
165
109
32.648485
0.834867
0.063486
0
0.09901
0
0
0.009589
0.004795
0
0
0
0
0
0
null
null
0.009901
0.049505
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
f60095130f09208c0cc014869141663b3698d4a5
9,317
py
Python
tickets_handler/models.py
ChanTerelLy/partnerweb3
4f37f032242cbc67d57b7161ecb5960d9cfde76d
[ "MIT" ]
null
null
null
tickets_handler/models.py
ChanTerelLy/partnerweb3
4f37f032242cbc67d57b7161ecb5960d9cfde76d
[ "MIT" ]
null
null
null
tickets_handler/models.py
ChanTerelLy/partnerweb3
4f37f032242cbc67d57b7161ecb5960d9cfde76d
[ "MIT" ]
null
null
null
import uuid from django.db import models from partnerweb_parser.manager import NewDesign, Ticket import re from partnerweb_parser import system, mail, manager import json import datetime from partnerweb_parser.date_func import dmYHM_to_datetime from tickets_handler.tasks import update_date_for_assigned class Modify(m...
37.568548
107
0.651819
1,096
9,317
5.35219
0.17792
0.048585
0.058302
0.077736
0.355779
0.233038
0.199966
0.153938
0.080975
0.047562
0
0.00788
0.250832
9,317
248
108
37.568548
0.832521
0.002147
0
0.216346
0
0
0.020654
0
0
0
0
0
0
1
0.086538
false
0.014423
0.043269
0.033654
0.514423
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
f6029db9fa8774e3c51f5cd2c301f93c77ad18fa
1,184
py
Python
photos/views.py
Otybrian/personal-gallery
d9492b5d29600da4a2999a9cc4914279e55f87ee
[ "MIT" ]
null
null
null
photos/views.py
Otybrian/personal-gallery
d9492b5d29600da4a2999a9cc4914279e55f87ee
[ "MIT" ]
null
null
null
photos/views.py
Otybrian/personal-gallery
d9492b5d29600da4a2999a9cc4914279e55f87ee
[ "MIT" ]
null
null
null
from django.shortcuts import render from django.http import HttpResponse import datetime as dt from django.views import View from photos.models import Image, category # Create your views here. def welcome(request): return render(request, 'welcome.html') def display_page(request): image = Image.objects.all()...
27.534884
105
0.699324
146
1,184
5.561644
0.349315
0.08867
0.140394
0.059113
0.307882
0.229064
0.229064
0.229064
0
0
0
0
0.183277
1,184
42
106
28.190476
0.83971
0.019426
0
0.071429
0
0
0.171132
0
0
0
0
0
0
1
0.178571
false
0
0.178571
0.035714
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
f618776d83cae749bd8dfd7a18734f7ba04c9b06
1,129
py
Python
Part_2_intermediate/mod_2/lesson_2/homework_1/homework.py
Mikma03/InfoShareacademy_Python_Courses
3df1008c8c92831bebf1625f960f25b39d6987e6
[ "MIT" ]
null
null
null
Part_2_intermediate/mod_2/lesson_2/homework_1/homework.py
Mikma03/InfoShareacademy_Python_Courses
3df1008c8c92831bebf1625f960f25b39d6987e6
[ "MIT" ]
null
null
null
Part_2_intermediate/mod_2/lesson_2/homework_1/homework.py
Mikma03/InfoShareacademy_Python_Courses
3df1008c8c92831bebf1625f960f25b39d6987e6
[ "MIT" ]
null
null
null
# Utwórz klasy do reprezentacji Produktu, Zamówienia, Jabłek i Ziemniaków. # Stwórz po kilka obiektów typu jabłko i ziemniak i wypisz ich typ za pomocą funkcji wbudowanej type. # Stwórz listę zawierającą 5 zamówień oraz słownik, w którym kluczami będą nazwy produktów # a wartościami instancje klasy produkt. class Pr...
22.58
101
0.644818
136
1,129
5.213235
0.463235
0.056417
0.055007
0.056417
0
0
0
0
0
0
0
0.00232
0.236492
1,129
49
102
23.040816
0.820186
0.314438
0
0.133333
0
0
0.15515
0
0
0
0
0
0
1
0
false
0.133333
0
0
0.133333
0.233333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
f61ba368dd6ce3592ab58a543cda6b7e4d14ce8d
3,499
py
Python
rj_gameplay/stp/coordinator.py
RoboJackets/robocup-software
ae2920b8b98213e625d0565dd67005e7a8595fac
[ "Apache-2.0" ]
200
2015-01-26T01:45:34.000Z
2022-03-19T13:05:31.000Z
rj_gameplay/stp/coordinator.py
RoboJackets/robocup-software
ae2920b8b98213e625d0565dd67005e7a8595fac
[ "Apache-2.0" ]
1,254
2015-01-03T01:57:35.000Z
2022-03-16T06:32:21.000Z
rj_gameplay/stp/coordinator.py
RoboJackets/robocup-software
ae2920b8b98213e625d0565dd67005e7a8595fac
[ "Apache-2.0" ]
206
2015-01-21T02:03:18.000Z
2022-02-01T17:57:46.000Z
"""This module contains the implementation of the coordinator.""" from typing import Any, Dict, Optional, Type, List, Callable import stp.play import stp.rc as rc import stp.role.assignment as assignment import stp.situation import stp.skill from rj_msgs import msg NUM_ROBOTS = 16 class Coordinator: """The coor...
36.447917
98
0.654473
462
3,499
4.705628
0.281385
0.045078
0.024839
0.027599
0.067157
0.018399
0
0
0
0
0
0.00429
0.267219
3,499
95
99
36.831579
0.843604
0.254644
0
0
0
0
0.030757
0
0
0
0
0.010526
0
1
0.033898
false
0
0.118644
0
0.288136
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
f6302daf57e1897d3b623be1dae10ac2892a5ddb
1,227
py
Python
taskmanager/src/modules/tasks/domain/task.py
acostapazo/event-manager
614c91af19fad39f766ffa1b9a3d1e783f06c72e
[ "MIT" ]
null
null
null
taskmanager/src/modules/tasks/domain/task.py
acostapazo/event-manager
614c91af19fad39f766ffa1b9a3d1e783f06c72e
[ "MIT" ]
1
2020-04-20T11:20:22.000Z
2020-04-20T11:20:22.000Z
taskmanager/src/modules/tasks/domain/task.py
acostapazo/event-manager
614c91af19fad39f766ffa1b9a3d1e783f06c72e
[ "MIT" ]
null
null
null
from typing import Any, Dict from meiga import Result, Error, Success from petisco import AggregateRoot from datetime import datetime from taskmanager.src.modules.tasks.domain.description import Description from taskmanager.src.modules.tasks.domain.events import TaskCreated from taskmanager.src.modules.tasks.domain.t...
31.461538
81
0.682967
148
1,227
5.5
0.27027
0.066339
0.088452
0.12285
0.176904
0.176904
0
0
0
0
0
0
0.224939
1,227
38
82
32.289474
0.855941
0
0
0
0
0
0.026895
0
0
0
0
0
0
1
0.129032
false
0
0.258065
0.064516
0.516129
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
f630f6ea5762c04cfcd310931e443ab55f0888fb
4,085
py
Python
CSD_API/get_from_author.py
andrewtarzia/cage_collect
e5e68dc23ec197eceff3b56de6725d996730b8ac
[ "MIT" ]
null
null
null
CSD_API/get_from_author.py
andrewtarzia/cage_collect
e5e68dc23ec197eceff3b56de6725d996730b8ac
[ "MIT" ]
null
null
null
CSD_API/get_from_author.py
andrewtarzia/cage_collect
e5e68dc23ec197eceff3b56de6725d996730b8ac
[ "MIT" ]
null
null
null
#!/usr/bin/env python2 # -*- coding: utf-8 -*- # Distributed under the terms of the MIT License. """ Script to search for and collect CIFs using a list of authors. Author: Andrew Tarzia Date Created: 1 Mar 2019 """ import ccdc.search import sys import CSD_f def write_entry(file, author, number, DOI, CSD, solvent,...
28.566434
68
0.520685
476
4,085
4.355042
0.294118
0.04631
0.033767
0.017366
0.150989
0.141341
0.125422
0.092619
0.031838
0
0
0.006735
0.38213
4,085
142
69
28.767606
0.81458
0.088127
0
0.113402
0
0
0.183078
0.026567
0
0
0
0
0
0
null
null
0.020619
0.030928
null
null
0.041237
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
f6316922d218565500b02ad1c78331fdf583ec07
641
py
Python
src/datastructure/stacks_ex1.py
Valeeswaran/tutorials
71b43cad46f4d7d2d67d3ff4be61bdaaade2a36a
[ "MIT" ]
null
null
null
src/datastructure/stacks_ex1.py
Valeeswaran/tutorials
71b43cad46f4d7d2d67d3ff4be61bdaaade2a36a
[ "MIT" ]
null
null
null
src/datastructure/stacks_ex1.py
Valeeswaran/tutorials
71b43cad46f4d7d2d67d3ff4be61bdaaade2a36a
[ "MIT" ]
null
null
null
import stacks1 def is_match(ch1, ch2): match_dict = { ")": "(", "]": "[", "}": "{" } return match_dict[ch1] == ch2 def is_balanced(s): stack = stacks1.Stack() for ch in s: if ch == '(' or ch == '{' or ch == '[': stack.push(ch) if ch == ')' or...
20.677419
47
0.447738
81
641
3.432099
0.37037
0.179856
0.086331
0.172662
0.323741
0.26259
0.176259
0.176259
0
0
0
0.020882
0.327613
641
31
48
20.677419
0.62413
0
0
0.086957
0
0
0.077882
0
0
0
0
0
0
1
0.086957
false
0
0.043478
0
0.304348
0.173913
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f6321b2979bddd05bf08689d0cd5e7faac1097ef
584
py
Python
image_pipeline/stages/__init__.py
MarcoGlauser/image_pipeline
a33b8a64773e8a0189155ae625d3060e15fb8def
[ "MIT" ]
null
null
null
image_pipeline/stages/__init__.py
MarcoGlauser/image_pipeline
a33b8a64773e8a0189155ae625d3060e15fb8def
[ "MIT" ]
null
null
null
image_pipeline/stages/__init__.py
MarcoGlauser/image_pipeline
a33b8a64773e8a0189155ae625d3060e15fb8def
[ "MIT" ]
null
null
null
from image_pipeline.stages.crop_stage import CropStage from image_pipeline.stages.jpeg_lossless_compression import JPEGLossLessCompressionStage from image_pipeline.stages.jpeg_lossy_compression import JPEGLossyCompressionStage from image_pipeline.stages.resize_stage import ResizeStage pre_stages = [ ResizeStage, ...
27.809524
88
0.813356
58
584
7.862069
0.344828
0.078947
0.149123
0.201754
0.118421
0
0
0
0
0
0
0
0.126712
584
21
89
27.809524
0.894118
0.113014
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.266667
0
0.266667
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f6414d22c3496a2fc287bc2eb9d1d63bb35b880e
5,728
py
Python
lab8/src/main.py
YaelBenShalom/Intro-to-AI
37df1fc9316544338b8acfa5264316c4d5ce5915
[ "MIT" ]
null
null
null
lab8/src/main.py
YaelBenShalom/Intro-to-AI
37df1fc9316544338b8acfa5264316c4d5ce5915
[ "MIT" ]
null
null
null
lab8/src/main.py
YaelBenShalom/Intro-to-AI
37df1fc9316544338b8acfa5264316c4d5ce5915
[ "MIT" ]
null
null
null
import common import student_code import array class bcolors: RED = "\x1b[31m" GREEN = "\x1b[32m" NORMAL = "\x1b[0m" def read_data(training_data, test_data1, gold_data1, filename): data = array.array('f') test = array.array('f') with open(filename, 'rb') as fd: data....
36.025157
86
0.622905
770
5,728
4.474026
0.142857
0.17852
0.099274
0.114949
0.723657
0.656023
0.598258
0.598258
0.562845
0.546589
0
0.024706
0.24389
5,728
158
87
36.253165
0.770723
0.050454
0
0.508475
0
0
0.084424
0
0
0
0
0
0
1
0.033898
false
0.076271
0.025424
0
0.110169
0.127119
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
f64680efdbc765125c942cd42b9be9b6e892d55e
400
py
Python
mediumwave/migrations/0011_transmitter_iso.py
soundelec/mwradio
b1a7f6d8c24469c13c5336e292cc316980fdea2d
[ "BSD-3-Clause" ]
null
null
null
mediumwave/migrations/0011_transmitter_iso.py
soundelec/mwradio
b1a7f6d8c24469c13c5336e292cc316980fdea2d
[ "BSD-3-Clause" ]
null
null
null
mediumwave/migrations/0011_transmitter_iso.py
soundelec/mwradio
b1a7f6d8c24469c13c5336e292cc316980fdea2d
[ "BSD-3-Clause" ]
null
null
null
# Generated by Django 2.1.2 on 2018-10-19 14:46 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('mediumwave', '0010_auto_20181017_1937'), ] operations = [ migrations.AddField( model_name='transmitter', name='iso',...
21.052632
61
0.605
44
400
5.386364
0.840909
0
0
0
0
0
0
0
0
0
0
0.111111
0.28
400
18
62
22.222222
0.711806
0.1125
0
0
1
0
0.133144
0.065156
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f649717f99a11da8f0544eda17de8a09d6562732
2,395
py
Python
ircConnection.py
mutexlox/NO-FIFTH-GLYPH
4acb5b8e584093ae7faa9f03c86c0e8d686df8f9
[ "MIT" ]
1
2019-04-16T10:59:38.000Z
2019-04-16T10:59:38.000Z
ircConnection.py
mutexlox/NO-FIFTH-GLYPH
4acb5b8e584093ae7faa9f03c86c0e8d686df8f9
[ "MIT" ]
null
null
null
ircConnection.py
mutexlox/NO-FIFTH-GLYPH
4acb5b8e584093ae7faa9f03c86c0e8d686df8f9
[ "MIT" ]
null
null
null
import socket import select import config class IRCConnection: def __init__(self, serverName, port=6667): self.connection = socket.socket(socket.AF_INET, socket.SOCK_STREAM) self.connection.connect((serverName, port)) self.connection.setblocking(0) def sendMessage(self, toSend): ...
31.103896
79
0.548643
246
2,395
5.317073
0.422764
0.103211
0.039755
0.051988
0
0
0
0
0
0
0
0.011292
0.334447
2,395
76
80
31.513158
0.809285
0.026722
0
0.06383
0
0
0.044831
0
0
0
0
0
0
0
null
null
0.042553
0.06383
null
null
0.021277
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
f65224814a8fb77dc67c3f651cede815e9b8f99b
1,786
py
Python
config.py
vsmelov/neural-music
0cbe06080e2c257c323ffc93dc673bb1e0edf2c4
[ "MIT" ]
2
2020-03-06T19:36:17.000Z
2022-03-09T07:29:08.000Z
config.py
vsmelov/neural-music
0cbe06080e2c257c323ffc93dc673bb1e0edf2c4
[ "MIT" ]
null
null
null
config.py
vsmelov/neural-music
0cbe06080e2c257c323ffc93dc673bb1e0edf2c4
[ "MIT" ]
null
null
null
# coding: utf-8 import os base_dir = os.path.dirname(os.path.realpath(__file__)) music_dir = os.path.join(base_dir, 'music-3') data_dir = os.path.join(base_dir, 'data-3') weights_dir = os.path.join(data_dir, 'weights') weights_file = os.path.join(weights_dir, 'weights') if not os.path.exists(data_dir): os.maked...
25.15493
80
0.731243
289
1,786
4.342561
0.474048
0.038247
0.028685
0.031076
0.108367
0.031873
0
0
0
0
0
0.044415
0.167973
1,786
70
81
25.514286
0.800135
0.344345
0
0.046512
0
0
0.05126
0
0
0
0
0
0
0
null
null
0
0.023256
null
null
0.046512
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
f653d187c14a15a2c7898dab067018d3da9f4ba1
1,184
py
Python
tests/conftest.py
BookOps-CAT/ChangeSubject
bff86ad58685db169a99f9ad3b2df1179cffb5a3
[ "MIT" ]
1
2022-01-13T20:28:12.000Z
2022-01-13T20:28:12.000Z
tests/conftest.py
BookOps-CAT/ChangeSubject
bff86ad58685db169a99f9ad3b2df1179cffb5a3
[ "MIT" ]
null
null
null
tests/conftest.py
BookOps-CAT/ChangeSubject
bff86ad58685db169a99f9ad3b2df1179cffb5a3
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import pytest from pymarc import Field, Record @pytest.fixture def fake_subfields(): return ["a", "subA", "x", "subX1", "x", "subX2", "z", "subZ."] @pytest.fixture def fake_subjects(fake_subfields): return [ Field(tag="600", indicators=["1", "0"], subfields=fake_subfields)...
24.666667
79
0.525338
124
1,184
4.919355
0.330645
0.104918
0.090164
0.172131
0.485246
0.485246
0.414754
0.216393
0.15082
0.15082
0
0.051843
0.266892
1,184
47
80
25.191489
0.650922
0.017736
0
0.351351
0
0
0.108527
0
0
0
0
0
0
1
0.081081
false
0
0.054054
0.054054
0.216216
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f65e0aca86dc9604b4e7e6ec844b23ecb9545677
2,031
py
Python
bookstore/lib/green/__init__.py
Inveracity/python-grpc-betterproto-quartz
a94a0ea8429d93f3275389a66d0c41ca9b4b616c
[ "MIT" ]
null
null
null
bookstore/lib/green/__init__.py
Inveracity/python-grpc-betterproto-quartz
a94a0ea8429d93f3275389a66d0c41ca9b4b616c
[ "MIT" ]
null
null
null
bookstore/lib/green/__init__.py
Inveracity/python-grpc-betterproto-quartz
a94a0ea8429d93f3275389a66d0c41ca9b4b616c
[ "MIT" ]
null
null
null
# Generated by the protocol buffer compiler. DO NOT EDIT! # sources: green.proto # plugin: python-betterproto from dataclasses import dataclass from typing import Dict, List import betterproto from betterproto.grpc.grpclib_server import ServiceBase import grpclib class GreenColors(betterproto.Enum): MOLDY = 0 ...
25.074074
84
0.672575
217
2,031
6.0553
0.382488
0.03653
0.03653
0.045662
0.2207
0.2207
0.197869
0.197869
0.094368
0.094368
0
0.004414
0.219104
2,031
80
85
25.3875
0.824086
0.090596
0
0.234043
1
0
0.042763
0
0
0
0
0
0
1
0.085106
false
0.021277
0.106383
0.021277
0.468085
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f6606f4ec40d7bf3ddd3d04cdb7161f2cd3e479b
8,504
py
Python
finnhub/models/filing.py
gavinjay/finnhub-python
b5c409dafeda390d14a2b0618ae6f25ab8d76c5b
[ "Apache-2.0" ]
null
null
null
finnhub/models/filing.py
gavinjay/finnhub-python
b5c409dafeda390d14a2b0618ae6f25ab8d76c5b
[ "Apache-2.0" ]
null
null
null
finnhub/models/filing.py
gavinjay/finnhub-python
b5c409dafeda390d14a2b0618ae6f25ab8d76c5b
[ "Apache-2.0" ]
null
null
null
# coding: utf-8 """ Finnhub API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech """ import pprint import re # noqa: F401 import six fro...
26.658307
193
0.563617
1,044
8,504
4.43295
0.124521
0.07433
0.082973
0.082973
0.449006
0.342697
0.307692
0.252809
0.153414
0.088591
0
0.024554
0.334313
8,504
318
194
26.742138
0.792969
0.349718
0
0.089552
1
0
0.056089
0
0
0
0
0
0
1
0.164179
false
0
0.029851
0
0.328358
0.014925
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f66f8d8c41fecc47a0097bf4d34448a0a8795388
207
py
Python
apps/web/api/urls.py
rubmu/QuestBot
34c42a25e8400060a80e1a234ca7bc7a265769ae
[ "MIT" ]
16
2017-12-01T04:45:50.000Z
2021-08-28T17:25:11.000Z
apps/web/api/urls.py
daniilzinevich/QuestBot
927b9f35aa4a4c88bf3825b965387d358c98f413
[ "MIT" ]
2
2018-08-18T16:42:49.000Z
2021-02-25T21:16:06.000Z
apps/web/api/urls.py
daniilzinevich/QuestBot
927b9f35aa4a4c88bf3825b965387d358c98f413
[ "MIT" ]
13
2018-01-26T14:35:51.000Z
2020-05-10T20:48:36.000Z
from django.urls import path from .views import ProcessWebHookAPIView urlpatterns = [ path( 'webhook/<hook_id>/', ProcessWebHookAPIView.as_view(), name='hooks-handler' ), ]
17.25
40
0.642512
20
207
6.55
0.8
0
0
0
0
0
0
0
0
0
0
0
0.246377
207
11
41
18.818182
0.839744
0
0
0
0
0
0.149758
0
0
0
0
0
0
1
0
false
0
0.222222
0
0.222222
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f67b88939087fdc071c7e83e728a3ef5a850c797
319
py
Python
sunny/publisher/ioloop.py
AnkitAggarwalPEC/HFT-Analytics-Luigi
b01a48d7384accaca1869a7728912019b73f7e9c
[ "MIT" ]
null
null
null
sunny/publisher/ioloop.py
AnkitAggarwalPEC/HFT-Analytics-Luigi
b01a48d7384accaca1869a7728912019b73f7e9c
[ "MIT" ]
null
null
null
sunny/publisher/ioloop.py
AnkitAggarwalPEC/HFT-Analytics-Luigi
b01a48d7384accaca1869a7728912019b73f7e9c
[ "MIT" ]
null
null
null
import asyncio class IOLoop(object): self.event_loop = asyncio.get_event_loop() def __init__(self): pass def start(self): if self._running: raise RuntimeError("IOLoop is already running") if self._stopped: self._stopped = False return
13.291667
59
0.583072
35
319
5.028571
0.628571
0.102273
0
0
0
0
0
0
0
0
0
0
0.341693
319
23
60
13.869565
0.838095
0
0
0
0
0
0.080386
0
0
0
0
0
0
1
0.181818
false
0.090909
0.090909
0
0.454545
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
9c8686e93160db726ab6ec2f606cf595263e00fa
1,179
py
Python
tests/local/test_json.py
abarisain/mopidy
4026e16996280016ceadfe98bd48f574306e2cef
[ "Apache-2.0" ]
2
2015-07-09T09:36:26.000Z
2019-10-05T04:13:19.000Z
tests/local/test_json.py
abarisain/mopidy
4026e16996280016ceadfe98bd48f574306e2cef
[ "Apache-2.0" ]
null
null
null
tests/local/test_json.py
abarisain/mopidy
4026e16996280016ceadfe98bd48f574306e2cef
[ "Apache-2.0" ]
1
2019-10-05T04:13:10.000Z
2019-10-05T04:13:10.000Z
from __future__ import unicode_literals import unittest from mopidy.local import json from mopidy.models import Ref class BrowseCacheTest(unittest.TestCase): def setUp(self): self.uris = [b'local:track:foo/bar/song1', b'local:track:foo/bar/song2', b'local:track:...
35.727273
77
0.641221
151
1,179
4.900662
0.258278
0.113514
0.114865
0.108108
0.504054
0.381081
0.337838
0.337838
0.148649
0
0
0.009719
0.214589
1,179
32
78
36.84375
0.789417
0
0
0
0
0
0.18151
0.118745
0
0
0
0
0.166667
1
0.208333
false
0
0.166667
0
0.416667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
9c8b2b5dd22e630bf72cf5ab5e527547533efeed
1,164
py
Python
Python/Zoo/zoo.py
bill-neely/ITSE1311-1302-Spring2018
db8cddb66d921a378bcbbd0423e9036ffc3b7a8a
[ "MIT" ]
null
null
null
Python/Zoo/zoo.py
bill-neely/ITSE1311-1302-Spring2018
db8cddb66d921a378bcbbd0423e9036ffc3b7a8a
[ "MIT" ]
null
null
null
Python/Zoo/zoo.py
bill-neely/ITSE1311-1302-Spring2018
db8cddb66d921a378bcbbd0423e9036ffc3b7a8a
[ "MIT" ]
null
null
null
class Zoo: def __init__(self, name, locations): self.name = name self.stillActive = True self.locations = locations self.currentLocation = self.locations[1] def changeLocation(self, direction): neighborID = self.currentLocation.neighbors[direction] self.currentLo...
29.846154
69
0.628007
122
1,164
5.893443
0.278689
0.089013
0.045897
0.066759
0.087622
0
0
0
0
0
0
0.001186
0.275773
1,164
38
70
30.631579
0.85172
0
0
0.096774
0
0
0.036082
0
0
0
0
0
0
1
0.258065
false
0
0
0.096774
0.451613
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
9c8f281197fddfa1af410d31983e1c6f137a5fe2
2,312
py
Python
neural-net/tensorflow/datasets.py
burntcustard/DeskBot-Zero
5efb6bcca21eb66f88499b3671c8fda5f6517b11
[ "MIT" ]
null
null
null
neural-net/tensorflow/datasets.py
burntcustard/DeskBot-Zero
5efb6bcca21eb66f88499b3671c8fda5f6517b11
[ "MIT" ]
null
null
null
neural-net/tensorflow/datasets.py
burntcustard/DeskBot-Zero
5efb6bcca21eb66f88499b3671c8fda5f6517b11
[ "MIT" ]
null
null
null
# Useful tutorial on tensorflow.contrib.data: # https://kratzert.github.io/2017/06/15/example-of-tensorflows-new-input-pipeline.html import glob # Used to generate image filename list import tensorflow as tf def input_parser(image_path, label): """ Convert label to one_hot, read image from file & perform ...
39.186441
86
0.719291
296
2,312
5.456081
0.439189
0.030341
0.029721
0.026006
0.134985
0.044582
0.044582
0
0
0
0
0.017764
0.172145
2,312
58
87
39.862069
0.826019
0.339965
0
0
1
0
0.010094
0
0
0
0
0
0
1
0.064516
false
0
0.064516
0
0.193548
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9c90a31f9f59a4bbc673d9e0cd9b46fab6dc56ae
2,999
py
Python
uis/widget_formatter.py
AlberLC/qt-app
96fe79293de7f570a505845ed4ecd73f9f55572d
[ "MIT" ]
null
null
null
uis/widget_formatter.py
AlberLC/qt-app
96fe79293de7f570a505845ed4ecd73f9f55572d
[ "MIT" ]
null
null
null
uis/widget_formatter.py
AlberLC/qt-app
96fe79293de7f570a505845ed4ecd73f9f55572d
[ "MIT" ]
null
null
null
import os import subprocess import pathlib def reemplazar(string): return string.replace('self.', 'self.w.').replace('Form"', 'self.w.centralWidget"').replace('Form.', 'self.w.centralWidget.').replace('Form)', 'self.w.centralWidget)').replace('"', "'") try: url_archivo = input('Archivo: ').strip().strip('"'...
35.282353
189
0.64955
384
2,999
4.9375
0.333333
0.150316
0.188291
0.127637
0.325949
0.298523
0.246308
0.205696
0.097046
0.049578
0
0.005017
0.202401
2,999
84
190
35.702381
0.787625
0.168723
0
0.215686
0
0
0.273497
0.110528
0
0
0
0
0
1
0.019608
false
0.019608
0.078431
0.019608
0.117647
0.019608
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9c90c9812ecdd62e381c8bf6cedd2186659f9529
2,450
py
Python
applications/HDF5Application/python_scripts/single_mesh_xdmf_output_process.py
AndreaVoltan/MyKratos7.0
e977752722e8ef1b606f25618c4bf8fd04c434cc
[ "BSD-4-Clause" ]
2
2020-04-30T19:13:08.000Z
2021-04-14T19:40:47.000Z
applications/HDF5Application/python_scripts/single_mesh_xdmf_output_process.py
AndreaVoltan/MyKratos7.0
e977752722e8ef1b606f25618c4bf8fd04c434cc
[ "BSD-4-Clause" ]
1
2020-04-30T19:19:09.000Z
2020-05-02T14:22:36.000Z
applications/HDF5Application/python_scripts/single_mesh_xdmf_output_process.py
AndreaVoltan/MyKratos7.0
e977752722e8ef1b606f25618c4bf8fd04c434cc
[ "BSD-4-Clause" ]
1
2020-06-12T08:51:24.000Z
2020-06-12T08:51:24.000Z
import KratosMultiphysics as KM import KratosMultiphysics.HDF5Application.temporal_output_process_factory as output_factory import KratosMultiphysics.HDF5Application.file_utilities as file_utils def Factory(settings, Model): """Return a process for writing simulation results for a single mesh to HDF5. It also ...
50
107
0.739592
300
2,450
5.81
0.433333
0.048193
0.072289
0.022375
0.101549
0.029834
0
0
0
0
0
0.005464
0.178367
2,450
48
108
51.041667
0.860407
0.196327
0
0.058824
0
0
0.232427
0.050282
0
0
0
0.020833
0
1
0.029412
false
0
0.147059
0
0.205882
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1