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
306f9ad310294e1661c77b68f6097402bb6c34bc
4,337
py
Python
main.py
mcecchi/SuperScanTest
63aeed26ccb6a80f4edd58ab523037d45f67625b
[ "Apache-2.0" ]
null
null
null
main.py
mcecchi/SuperScanTest
63aeed26ccb6a80f4edd58ab523037d45f67625b
[ "Apache-2.0" ]
null
null
null
main.py
mcecchi/SuperScanTest
63aeed26ccb6a80f4edd58ab523037d45f67625b
[ "Apache-2.0" ]
null
null
null
import os os.environ['KIVY_NO_ARGS'] = '1' import sys import getopt import subprocess import time import threading import json from kivy.event import EventDispatcher from kivy.clock import Clock from kivy.app import App from kivy.uix.boxlayout import BoxLayout from kivy.uix.button import Button from kivy.uix.progressba...
31.889706
78
0.606871
545
4,337
4.611009
0.275229
0.054119
0.027855
0.031834
0.197374
0.187425
0.187425
0.161958
0.1154
0.1154
0
0.006881
0.262855
4,337
135
79
32.125926
0.779168
0.024902
0
0.13913
0
0
0.111479
0.011598
0
0
0
0
0
0
null
null
0
0.121739
null
null
0.043478
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
307066ce1fac8ee35ba15e8a989f62706b892cc0
1,336
py
Python
setup.py
MrMrRobat/AnyStrEnum
2766d61e7edfdefff1680317c780e689ff3c488d
[ "MIT" ]
4
2019-06-26T16:01:18.000Z
2021-05-07T03:43:10.000Z
setup.py
MrMrRobat/AnyStrEnum
2766d61e7edfdefff1680317c780e689ff3c488d
[ "MIT" ]
null
null
null
setup.py
MrMrRobat/AnyStrEnum
2766d61e7edfdefff1680317c780e689ff3c488d
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # DO NOT EDIT THIS FILE! # This file has been autogenerated by dephell <3 # https://github.com/dephell/dephell try: from setuptools import setup except ImportError: from distutils.core import setup import os.path readme = '' here = os.path.abspath(os.path.dirname(__file__)) readme_...
31.069767
104
0.659431
156
1,336
5.564103
0.679487
0.034562
0
0
0
0
0
0
0
0
0
0.012116
0.196856
1,336
42
105
31.809524
0.796831
0.094311
0
0
1
0
0.397841
0.017442
0
0
0
0
0
1
0
false
0
0.133333
0
0.133333
0
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
3070a1da88b67d0cd32495f878817adf9cc5a373
832
py
Python
Exercicios-Mundo3/ex087.py
WeDias/RespCEV
3cf0918c5c90e3b2d6dc7e57f2824436c639c04c
[ "MIT" ]
1
2021-02-19T05:13:31.000Z
2021-02-19T05:13:31.000Z
Exercicios-Mundo3/ex087.py
WeDias/RespCEV
3cf0918c5c90e3b2d6dc7e57f2824436c639c04c
[ "MIT" ]
null
null
null
Exercicios-Mundo3/ex087.py
WeDias/RespCEV
3cf0918c5c90e3b2d6dc7e57f2824436c639c04c
[ "MIT" ]
null
null
null
matriz = [[], [], []] soma = stc = maior = 0 print('-' * 50) for l in range(3): for v in range(3): num = int(input(f'Digite O Valor Da Posição [{l},{v}]: ')) matriz[l].append(num) for n in matriz: for v in n: if v % 2 == 0: soma += v for tc in range(0, 3): stc...
30.814815
67
0.514423
148
832
2.891892
0.263514
0.084112
0.042056
0.037383
0.163551
0.098131
0
0
0
0
0
0.068966
0.233173
832
26
68
32
0.601881
0
0
0.153846
0
0.115385
0.423077
0.204715
0
0
0
0
0
1
0
false
0
0
0
0
0.423077
0
0
0
null
0
0
0
0
0
0
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
30710e78b71bbb913f9c2bda7b22d3354a9debed
711
py
Python
record_service/record_service/models/record_key.py
justintrudell/medfs
1e84203205dbafdbd4005dddccce7adb7ef3b144
[ "Apache-2.0" ]
null
null
null
record_service/record_service/models/record_key.py
justintrudell/medfs
1e84203205dbafdbd4005dddccce7adb7ef3b144
[ "Apache-2.0" ]
1
2021-01-28T19:47:23.000Z
2021-01-28T19:47:23.000Z
record_service/record_service/models/record_key.py
justintrudell/medfs
1e84203205dbafdbd4005dddccce7adb7ef3b144
[ "Apache-2.0" ]
null
null
null
from record_service.database.database import db from record_service.models.base import Base from record_service.models.user import User from record_service.models.record import Record from sqlalchemy.dialects.postgresql import UUID class RecordKey(Base): """Stores AES keys that were used to encrypt records, which...
33.857143
88
0.746835
105
711
4.904762
0.428571
0.07767
0.132039
0.133981
0.24466
0.24466
0.139806
0.139806
0.139806
0
0
0
0.158931
711
20
89
35.55
0.861204
0.153305
0
0
0
0
0.018739
0
0
0
0
0
0
1
0
false
0
0.384615
0
0.846154
0
0
0
0
null
0
0
0
0
0
0
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
30718222a45b6e5d9bc5f536f979b0b4d0f28ee8
719
py
Python
envergo/evaluations/tests/test_validators.py
MTES-MCT/envergo
8bb6e4ffa15a39edda51b39401db6cc12e73ad0a
[ "MIT" ]
null
null
null
envergo/evaluations/tests/test_validators.py
MTES-MCT/envergo
8bb6e4ffa15a39edda51b39401db6cc12e73ad0a
[ "MIT" ]
6
2021-07-12T14:33:18.000Z
2022-02-14T10:36:09.000Z
envergo/evaluations/tests/test_validators.py
MTES-MCT/envergo
8bb6e4ffa15a39edda51b39401db6cc12e73ad0a
[ "MIT" ]
null
null
null
import pytest from django.core.exceptions import ValidationError from envergo.evaluations.validators import application_number_validator def test_application_number_validator(): valid_numbers = [ "PC05412621D1029", "PA05412621D1029", "PA05412621A1029", "pc05412621d1029", ] ...
23.966667
71
0.673157
64
719
7.359375
0.546875
0.144374
0.220807
0.135881
0
0
0
0
0
0
0
0.11215
0.255911
719
29
72
24.793103
0.768224
0.062587
0
0.090909
0
0
0.16369
0
0
0
0
0
0
1
0.045455
false
0
0.136364
0
0.181818
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
3072c8eeb0d97eb117c41cc2e729d79b783a53c5
231
py
Python
lab_3/start.py
Frolikova14/2020-2-level-labs
35381308459b809e833df30b2b92a5d7a7f450af
[ "MIT" ]
null
null
null
lab_3/start.py
Frolikova14/2020-2-level-labs
35381308459b809e833df30b2b92a5d7a7f450af
[ "MIT" ]
null
null
null
lab_3/start.py
Frolikova14/2020-2-level-labs
35381308459b809e833df30b2b92a5d7a7f450af
[ "MIT" ]
null
null
null
""" Language detector implementation starter """ import lab_3.main if __name__ == '__main__': # here goes your function calls RESULT = '' # DO NOT REMOVE NEXT LINE - KEEP IT INTENTIONALLY LAST assert RESULT, ''
16.5
58
0.670996
28
231
5.214286
0.928571
0
0
0
0
0
0
0
0
0
0
0.005682
0.238095
231
13
59
17.769231
0.823864
0.536797
0
0
0
0
0.081633
0
0
0
0
0
0.25
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
30731edd4986f54675bc11b003ac893a4f17efc1
952
py
Python
vacs/migrations/0013_auto_20170713_2017.py
glebysg/GC_server
6b95353362af5507fa171527d23b6ffb962f766a
[ "MIT" ]
null
null
null
vacs/migrations/0013_auto_20170713_2017.py
glebysg/GC_server
6b95353362af5507fa171527d23b6ffb962f766a
[ "MIT" ]
null
null
null
vacs/migrations/0013_auto_20170713_2017.py
glebysg/GC_server
6b95353362af5507fa171527d23b6ffb962f766a
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11.2 on 2017-07-13 20:17 from __future__ import unicode_literals import django.core.validators from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('vacs', '0012_auto_20170711_0616'), ] operations = [ ...
29.75
153
0.62605
102
952
5.686275
0.617647
0.051724
0.103448
0.118966
0.205172
0.141379
0
0
0
0
0
0.06882
0.252101
952
31
154
30.709677
0.745787
0.071429
0
0.333333
1
0
0.136209
0.026107
0
0
0
0
0
1
0
false
0
0.125
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
307360abae3fc33611a9cdf4f61ac805f4cd1743
10,334
py
Python
app/admin/views.py
jiejiang/inventory
9ce34a54812a23785504bbe62d914afde797895f
[ "Apache-2.0" ]
1
2021-10-06T04:28:09.000Z
2021-10-06T04:28:09.000Z
app/admin/views.py
jiejiang/inventory
9ce34a54812a23785504bbe62d914afde797895f
[ "Apache-2.0" ]
6
2021-03-19T01:45:44.000Z
2022-03-11T23:52:09.000Z
app/admin/views.py
jiejiang/inventory
9ce34a54812a23785504bbe62d914afde797895f
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- __author__ = 'jie' import os, zipfile import pandas as pd from markupsafe import Markup from flask import redirect, url_for, flash, current_app from flask_admin.contrib import sqla from flask_admin.menu import MenuLink from flask_admin.model.form import InlineFormAdmin from sqlalchemy import f...
41.171315
143
0.666925
1,329
10,334
4.971407
0.225734
0.035417
0.027244
0.034509
0.353413
0.299834
0.263962
0.238384
0.235205
0.214015
0
0.001091
0.202051
10,334
250
144
41.336
0.800146
0.023031
0
0.244898
0
0
0.123191
0.016155
0
0
0
0
0
0
null
null
0
0.076531
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
30738fcc0eb3f1a1c5c83ee68b7cc463ce90ef99
4,296
py
Python
app/league/dashboard/forms.py
hndrewaall/league
13737b4d0c6c813dbf125db8a57f48e5b3acd8fa
[ "MIT" ]
4
2017-01-26T17:51:16.000Z
2021-06-05T14:26:22.000Z
app/league/dashboard/forms.py
hndrewaall/league
13737b4d0c6c813dbf125db8a57f48e5b3acd8fa
[ "MIT" ]
190
2016-11-27T19:34:23.000Z
2020-02-10T17:17:39.000Z
app/league/dashboard/forms.py
hndrewaall/league
13737b4d0c6c813dbf125db8a57f48e5b3acd8fa
[ "MIT" ]
14
2016-11-27T18:34:03.000Z
2021-10-09T16:04:26.000Z
# -*- coding: utf-8 -*- """Public forms.""" from flask_wtf import FlaskForm from wtforms import (DateTimeField, IntegerField, SelectField, StringField, ValidationError) from wtforms.validators import DataRequired, NumberRange from league.models import Color, Game, Player class PlayerCreateForm(F...
39.054545
80
0.608939
487
4,296
5.262834
0.238193
0.114709
0.103004
0.09364
0.543114
0.493562
0.493562
0.493562
0.493562
0.493562
0
0.037107
0.259777
4,296
109
81
39.412844
0.768868
0.075186
0
0.6
0
0
0.09012
0
0
0
0
0
0
1
0.066667
false
0
0.053333
0
0.506667
0
0
0
0
null
0
0
0
0
0
0
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
30749b3ad518e204cba532711b4ba9ba2e4a280d
8,031
py
Python
ecommerce/store/models.py
Vishwas-bit/Ecommerce-Recommender-System
edf1ab1a6116720b7fb2038de18b494cdc7f08fb
[ "BSD-3-Clause" ]
null
null
null
ecommerce/store/models.py
Vishwas-bit/Ecommerce-Recommender-System
edf1ab1a6116720b7fb2038de18b494cdc7f08fb
[ "BSD-3-Clause" ]
null
null
null
ecommerce/store/models.py
Vishwas-bit/Ecommerce-Recommender-System
edf1ab1a6116720b7fb2038de18b494cdc7f08fb
[ "BSD-3-Clause" ]
null
null
null
from PIL import Image from django.contrib.auth.models import AbstractUser, BaseUserManager from django.db import models from django.utils.crypto import get_random_string import string from django.db.models import CharField, Model, SlugField # from autoslug import AutoSlugField from django.utils.text import slugify from...
36.175676
101
0.684846
1,020
8,031
5.248039
0.167647
0.044835
0.057164
0.076219
0.689146
0.642817
0.57762
0.497665
0.424995
0.376424
0
0.010704
0.19736
8,031
221
102
36.339367
0.819733
0.195742
0
0.390625
0
0
0.038876
0.004528
0
0
0
0
0
1
0.109375
false
0.046875
0.0625
0.039063
0.765625
0
0
0
0
null
0
0
0
0
0
0
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
3078d25f91449ca19ecab95edc2c9b10dae48401
5,055
py
Python
paasta_tools/paastaapi/models/marathon_dashboard_item.py
rohangulati/paasta
4539e39159424bfbdeddcb243ca337bcd1eb1a06
[ "Apache-2.0" ]
null
null
null
paasta_tools/paastaapi/models/marathon_dashboard_item.py
rohangulati/paasta
4539e39159424bfbdeddcb243ca337bcd1eb1a06
[ "Apache-2.0" ]
null
null
null
paasta_tools/paastaapi/models/marathon_dashboard_item.py
rohangulati/paasta
4539e39159424bfbdeddcb243ca337bcd1eb1a06
[ "Apache-2.0" ]
null
null
null
# coding: utf-8 """ Paasta 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 from...
28.240223
124
0.589911
565
5,055
5.141593
0.20354
0.063339
0.111532
0.096041
0.3642
0.282616
0.265404
0.141136
0.080895
0.026162
0
0.018599
0.319288
5,055
178
125
28.398876
0.825632
0.333333
0
0.088608
1
0
0.036403
0
0
0
0
0
0
1
0.151899
false
0
0.050633
0
0.367089
0.025316
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
307a305d3da5275cf18cea9ef90e95230ddaaa1e
1,825
py
Python
modules/constants.py
HTTPArchive/data-pipeline
e4bbdad9502f5355f6aaaf45bbfcefa575710aa2
[ "Apache-2.0" ]
3
2022-02-01T07:41:42.000Z
2022-02-04T20:34:33.000Z
modules/constants.py
HTTPArchive/data-pipeline
e4bbdad9502f5355f6aaaf45bbfcefa575710aa2
[ "Apache-2.0" ]
24
2022-02-01T05:30:34.000Z
2022-03-31T18:16:02.000Z
modules/constants.py
HTTPArchive/data-pipeline
e4bbdad9502f5355f6aaaf45bbfcefa575710aa2
[ "Apache-2.0" ]
null
null
null
import importlib.resources as pkg_resources import json # TODO remove 'experimental' before going live bigquery = { "datasets": { "pages": "httparchive:experimental_summary_pages", "requests": "httparchive:experimental_summary_requests", }, "schemas": { "pages": { "field...
30.416667
74
0.628493
192
1,825
5.651042
0.359375
0.050691
0.0553
0.03318
0.088479
0.088479
0.088479
0.088479
0.088479
0
0
0
0.213699
1,825
59
75
30.932203
0.756098
0.041644
0
0.036364
0
0
0.552119
0.117984
0
0
0
0.016949
0
1
0
false
0
0.036364
0
0.036364
0
0
0
0
null
0
0
0
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
30811686f5eec33492a0b4e457dd97f7c5dfdb0a
1,269
py
Python
ClusterAnalysis/ProximityMatrix.py
jayshonzs/ESL
2b51b1e01cb204d17588b7a2a8f765daa0a1e0c5
[ "MIT" ]
9
2016-09-26T15:56:16.000Z
2019-10-21T05:59:14.000Z
ClusterAnalysis/ProximityMatrix.py
jayshonzs/ESL
2b51b1e01cb204d17588b7a2a8f765daa0a1e0c5
[ "MIT" ]
null
null
null
ClusterAnalysis/ProximityMatrix.py
jayshonzs/ESL
2b51b1e01cb204d17588b7a2a8f765daa0a1e0c5
[ "MIT" ]
3
2016-08-15T00:18:22.000Z
2019-02-28T14:54:55.000Z
''' Created on 2014-8-12 @author: xiajie ''' import numpy as np def create_matrix(X, dissim): N = len(X) mat = np.zeros((N, N)) for i in range(N): for j in range(N): mat[i, j] = dissim(X[i], X[j]) return mat def squared_dist(x1, x2): return np.sum((x1-x2)**2) ''' for quantita...
20.803279
55
0.5658
194
1,269
3.597938
0.345361
0.040115
0.055874
0.031519
0.065903
0.065903
0
0
0
0
0
0.057235
0.270292
1,269
60
56
21.15
0.696544
0
0
0
0
0
0.007463
0
0
0
0
0
0
0
null
null
0
0.026316
null
null
0.026316
0
0
0
null
0
0
0
0
0
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
061a47f083b60e49e0518fa35cfecb2397a7ae91
446
py
Python
ool/oppositions/migrations/0005_appeal_create_date.py
HeLsEroC/bbr
0dd40bffd05faa777bec3a89dd1712f0f546d60e
[ "MIT" ]
null
null
null
ool/oppositions/migrations/0005_appeal_create_date.py
HeLsEroC/bbr
0dd40bffd05faa777bec3a89dd1712f0f546d60e
[ "MIT" ]
null
null
null
ool/oppositions/migrations/0005_appeal_create_date.py
HeLsEroC/bbr
0dd40bffd05faa777bec3a89dd1712f0f546d60e
[ "MIT" ]
null
null
null
# Generated by Django 3.1.12 on 2021-06-25 12:30 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('oppositions', '0004_auto_20210625_1223'), ] operations = [ migrations.AddField( model_name='appeal', name='create_d...
23.473684
102
0.630045
51
446
5.352941
0.784314
0
0
0
0
0
0
0
0
0
0
0.096677
0.257848
446
18
103
24.777778
0.728097
0.103139
0
0
1
0
0.168342
0.057789
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
061bfb7264356f6466a84a79858fb80de97846af
493
py
Python
pytpp/properties/response_objects/dataclasses/config.py
Venafi/pytpp
42af655b2403b8c9447c86962abd4aaa0201f646
[ "MIT" ]
4
2022-02-04T23:58:55.000Z
2022-02-15T18:53:08.000Z
pytpp/properties/response_objects/dataclasses/config.py
Venafi/pytpp
42af655b2403b8c9447c86962abd4aaa0201f646
[ "MIT" ]
null
null
null
pytpp/properties/response_objects/dataclasses/config.py
Venafi/pytpp
42af655b2403b8c9447c86962abd4aaa0201f646
[ "MIT" ]
null
null
null
from dataclasses import dataclass from typing import Optional @dataclass class Result: code: int config_result: str @dataclass class NameValues: name: str values: list @dataclass class Object: absolute_guid: str dn: str guid: str config_id: Optional[int] name: str parent: s...
13.694444
33
0.677485
63
493
5.190476
0.444444
0.107034
0.103976
0
0
0
0
0
0
0
0
0
0.263692
493
35
34
14.085714
0.900826
0
0
0.37037
0
0
0
0
0
0
0
0
0
1
0
true
0
0.074074
0
0.851852
0
0
0
0
null
0
0
0
0
0
0
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
06202ca324348ebde05aa01905700195af2ca8ae
1,586
py
Python
meutils/aizoo/video/video.py
Jie-Yuan/MeUtils
2bb191b0d35b809af037c0f65b37570b8828bea3
[ "Apache-2.0" ]
3
2020-12-03T07:30:02.000Z
2021-02-07T13:37:33.000Z
meutils/aizoo/video/video.py
Jie-Yuan/MeUtils
2bb191b0d35b809af037c0f65b37570b8828bea3
[ "Apache-2.0" ]
null
null
null
meutils/aizoo/video/video.py
Jie-Yuan/MeUtils
2bb191b0d35b809af037c0f65b37570b8828bea3
[ "Apache-2.0" ]
1
2021-02-07T13:37:38.000Z
2021-02-07T13:37:38.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Project : mi. # @File : video # @Time : 2020/8/31 4:26 下午 # @Author : yuanjie # @Email : yuanjie@xiaomi.com # @Software : PyCharm # @Description : from meutils.pipe import * from moviepy.editor import * # TODO: 抽帧去重 def video2pi...
31.72
102
0.614124
209
1,586
4.526316
0.5311
0.05074
0.021142
0.027484
0.061311
0.061311
0
0
0
0
0
0.033389
0.244641
1,586
49
103
32.367347
0.75626
0.233922
0
0.086957
0
0
0.061538
0.047863
0
0
0
0.020408
0
1
0.086957
false
0
0.086957
0
0.173913
0
0
0
0
null
0
0
0
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
0623dfb463300fc638fe8d9730964c8388972d62
3,933
py
Python
playground/overlap_legacy/overlap.py
tcrundall/chronostar
bdb5cd965e862ba5cc21bee75d5c8620e106c0cc
[ "MIT" ]
null
null
null
playground/overlap_legacy/overlap.py
tcrundall/chronostar
bdb5cd965e862ba5cc21bee75d5c8620e106c0cc
[ "MIT" ]
null
null
null
playground/overlap_legacy/overlap.py
tcrundall/chronostar
bdb5cd965e862ba5cc21bee75d5c8620e106c0cc
[ "MIT" ]
null
null
null
# This file was automatically generated by SWIG (http://www.swig.org). # Version 3.0.12 # # Do not make changes to this file unless you know what you are doing--modify # the SWIG interface file instead. from sys import version_info as _swig_python_version_info if _swig_python_version_info >= (2, 7, 0): def swig_im...
31.464
103
0.680905
542
3,933
4.505535
0.252768
0.029484
0.039312
0.02457
0.34398
0.300573
0.300573
0.276003
0.177723
0.177723
0
0.007519
0.222222
3,933
124
104
31.717742
0.790781
0.075006
0
0.316327
1
0
0.041345
0
0
0
0
0
0
1
0.122449
false
0.020408
0.193878
0.071429
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0627ab112293854c6c887e09cad783a3fe7b9cad
839
py
Python
newsite/news/forms.py
JasperStfun/Django_C
1307f2e9c827f751e8640f50179f1b744c222d63
[ "Unlicense" ]
null
null
null
newsite/news/forms.py
JasperStfun/Django_C
1307f2e9c827f751e8640f50179f1b744c222d63
[ "Unlicense" ]
null
null
null
newsite/news/forms.py
JasperStfun/Django_C
1307f2e9c827f751e8640f50179f1b744c222d63
[ "Unlicense" ]
null
null
null
from .models import Article from django.forms import ModelForm, TextInput, DateTimeInput, Textarea class ArticleForm(ModelForm): class Meta: model = Article fields = ['title', 'anons', 'text', 'pub_date'] widgets = { 'title': TextInput(attrs={ 'class': 'form-co...
31.074074
70
0.480334
63
839
6.365079
0.492063
0.099751
0.139651
0.209476
0.36409
0.204489
0
0
0
0
0
0
0.38379
839
27
71
31.074074
0.775629
0
0
0.333333
0
0
0.25
0
0
0
0
0
0
1
0
false
0
0.083333
0
0.166667
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
0627c6b545499219959a4ebe35e0041123d45dce
417
py
Python
app/jobs/urls.py
LeanidHreska/artistify-backend
4b3b4c5072dc9c676d2e98fe4c569b66c32bff0b
[ "MIT" ]
null
null
null
app/jobs/urls.py
LeanidHreska/artistify-backend
4b3b4c5072dc9c676d2e98fe4c569b66c32bff0b
[ "MIT" ]
null
null
null
app/jobs/urls.py
LeanidHreska/artistify-backend
4b3b4c5072dc9c676d2e98fe4c569b66c32bff0b
[ "MIT" ]
null
null
null
"""Urls.""" from rest_framework.routers import DefaultRouter from jobs.views import ListingViewSet, ApplyRequestsViewSet, ProjectViewSet router = DefaultRouter() router.register(r"listings", ListingViewSet, basename="job-listing") router.register(r"requests", ApplyRequestsViewSet, basename="job-request") router...
41.7
76
0.793765
44
417
7.5
0.568182
0.127273
0.136364
0
0
0
0
0
0
0
0
0
0.086331
417
9
77
46.333333
0.866142
0.01199
0
0
0
0
0.15869
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
06291a15719b28a184bf5fcf32275d2d0d2f4dbd
423
py
Python
catalog/migrations/0003_alter_author_date_of_birth.py
aortigosa/django_local_library
8224b9d039b5b4e92918ddb2290a755626a59b7f
[ "Unlicense" ]
null
null
null
catalog/migrations/0003_alter_author_date_of_birth.py
aortigosa/django_local_library
8224b9d039b5b4e92918ddb2290a755626a59b7f
[ "Unlicense" ]
null
null
null
catalog/migrations/0003_alter_author_date_of_birth.py
aortigosa/django_local_library
8224b9d039b5b4e92918ddb2290a755626a59b7f
[ "Unlicense" ]
null
null
null
# Generated by Django 3.2.7 on 2021-10-03 21:45 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('catalog', '0002_auto_20211003_2243'), ] operations = [ migrations.AlterField( model_name='author', name='date_of_bir...
22.263158
80
0.614657
48
423
5.270833
0.8125
0
0
0
0
0
0
0
0
0
0
0.1
0.267139
423
18
81
23.5
0.716129
0.106383
0
0
1
0
0.143617
0.06117
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
062bb5410ade440e2a5aae5f9607d8d0f0d09652
1,635
py
Python
leetcode/1394.py
GihwanKim/Baekjoon
52eb2bf80bb1243697858445e5b5e2d50d78be4e
[ "MIT" ]
null
null
null
leetcode/1394.py
GihwanKim/Baekjoon
52eb2bf80bb1243697858445e5b5e2d50d78be4e
[ "MIT" ]
null
null
null
leetcode/1394.py
GihwanKim/Baekjoon
52eb2bf80bb1243697858445e5b5e2d50d78be4e
[ "MIT" ]
null
null
null
""" File: 1394.py Title: Find Lucky Integer in an Array Difficulty: Easy URL: https://leetcode.com/problems/find-lucky-integer-in-an-array/ """ import unittest from typing import List class Solution: def findLucky(self, arr: List[int]) -> int: table = {} for n in arr: ...
21.233766
70
0.525382
188
1,635
4.5
0.324468
0.014184
0.070922
0.183215
0.501182
0.468085
0.400709
0.400709
0.333333
0.333333
0
0.038278
0.360856
1,635
76
71
21.513158
0.771292
0.122936
0
0.285714
0
0
0.00571
0
0
0
0
0
0.119048
1
0.142857
false
0
0.047619
0
0.285714
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
0633494ceb2018245c70d25575c7e1992857bb22
851
py
Python
core/migrations/0006_auto_20201002_0217.py
hatsem78/django_docker_nginex_nginx_gunicorn
15cb7d2d9ecfd2a2f9bf054997a35903c2ee0ce3
[ "MIT" ]
null
null
null
core/migrations/0006_auto_20201002_0217.py
hatsem78/django_docker_nginex_nginx_gunicorn
15cb7d2d9ecfd2a2f9bf054997a35903c2ee0ce3
[ "MIT" ]
null
null
null
core/migrations/0006_auto_20201002_0217.py
hatsem78/django_docker_nginex_nginx_gunicorn
15cb7d2d9ecfd2a2f9bf054997a35903c2ee0ce3
[ "MIT" ]
null
null
null
# Generated by Django 3.1.2 on 2020-10-02 02:17 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('core', '0005_notification'), ] operations = [ migrations.AlterField( ...
32.730769
166
0.678026
91
851
6.21978
0.450549
0.056537
0.074205
0.116608
0.469965
0.469965
0.272085
0.272085
0.272085
0.272085
0
0.028316
0.211516
851
25
167
34.04
0.815201
0.052879
0
0.315789
1
0
0.181592
0.129353
0
0
0
0
0
1
0
false
0
0.157895
0
0.315789
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0638fd47200158ea970db5872cf3ed570609a297
292
py
Python
cracking_the_coding_interview_qs/10.9/find_in_sorted_matrix.py
angelusualle/algorithms
86286a49db2a755bc57330cb455bcbd8241ea6be
[ "Apache-2.0" ]
null
null
null
cracking_the_coding_interview_qs/10.9/find_in_sorted_matrix.py
angelusualle/algorithms
86286a49db2a755bc57330cb455bcbd8241ea6be
[ "Apache-2.0" ]
null
null
null
cracking_the_coding_interview_qs/10.9/find_in_sorted_matrix.py
angelusualle/algorithms
86286a49db2a755bc57330cb455bcbd8241ea6be
[ "Apache-2.0" ]
null
null
null
# O(n) def find_in_sorted_matrix(matrix, val): i = 0 j = len(matrix[0]) - 1 while ( i < len(matrix) and j >= 0 ): if (matrix[i][j] == val ): return (i,j) if (matrix[i][j] > val ): j -= 1 else: i += 1 return None
24.333333
42
0.414384
43
292
2.744186
0.44186
0.050847
0.152542
0.169492
0.220339
0
0
0
0
0
0
0.035714
0.424658
292
12
43
24.333333
0.666667
0.013699
0
0
0
0
0
0
0
0
0
0
0
1
0.090909
false
0
0
0
0.272727
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
063efc120e59dcbca7fbf47a1fb15c0aaf40ac67
11,584
py
Python
gee_functions/visualization.py
Remdeht/ia_detector
6e889a539e4124d335343806ea52cfa0dbf28d9e
[ "MIT" ]
null
null
null
gee_functions/visualization.py
Remdeht/ia_detector
6e889a539e4124d335343806ea52cfa0dbf28d9e
[ "MIT" ]
null
null
null
gee_functions/visualization.py
Remdeht/ia_detector
6e889a539e4124d335343806ea52cfa0dbf28d9e
[ "MIT" ]
null
null
null
""" Functions for visualizing EE layers """ import folium from branca.element import Template, MacroElement def create_folium_map(images=None, name=None, coords=[20, 0], zoom=6, height='100%'): """ Creates a html file containing a folium map visualizing EE image :param images: dict. w/ name as key and E...
30.245431
120
0.567248
1,393
11,584
4.676238
0.234027
0.033159
0.020418
0.011053
0.521185
0.494473
0.467455
0.440743
0.410654
0.38778
0
0.031356
0.311723
11,584
382
121
30.324607
0.785652
0.2702
0
0.587361
0
0.052045
0.639614
0.05504
0
0
0
0
0
1
0.02974
false
0
0.007435
0
0.070632
0
0
0
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
06417a1a46a8503e004abec1b6c95fa00aac87ac
3,338
py
Python
battlesim.py
Shashwat986/BattleSim
01811fdf557ea3b91dd8afa5c0cbd4da8cd37747
[ "MIT" ]
null
null
null
battlesim.py
Shashwat986/BattleSim
01811fdf557ea3b91dd8afa5c0cbd4da8cd37747
[ "MIT" ]
null
null
null
battlesim.py
Shashwat986/BattleSim
01811fdf557ea3b91dd8afa5c0cbd4da8cd37747
[ "MIT" ]
null
null
null
import random from collections import defaultdict matching = defaultdict(int,{ ('P','K'):3, ('K','G'):3, ('G','L'):3, ('L','P'):3, ('K','P'):-3, ('G','K'):-3, ('L','G'):-3, ('P','L'):-3 }) def dieroll(n): return sum([random.randrange(6) + 1 for i in range(n)]) class Player(object): def __...
19.520468
96
0.512882
559
3,338
3.026834
0.161002
0.030733
0.029551
0.023641
0.229314
0.178487
0.14539
0.14539
0.126478
0.073286
0
0.087893
0.304673
3,338
170
97
19.635294
0.641103
0.023667
0
0.198276
0
0
0.073578
0
0
0
0
0
0
0
null
null
0
0.017241
null
null
0.12069
0
0
0
null
0
0
0
0
0
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
06463b3bf00ca4b0fb668f26a7883a7b0b4590e6
496
py
Python
output/models/nist_data/atomic/byte/schema_instance/nistschema_sv_iv_atomic_byte_max_inclusive_1_xsd/nistschema_sv_iv_atomic_byte_max_inclusive_1.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
1
2021-08-14T17:59:21.000Z
2021-08-14T17:59:21.000Z
output/models/nist_data/atomic/byte/schema_instance/nistschema_sv_iv_atomic_byte_max_inclusive_1_xsd/nistschema_sv_iv_atomic_byte_max_inclusive_1.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
4
2020-02-12T21:30:44.000Z
2020-04-15T20:06:46.000Z
output/models/nist_data/atomic/byte/schema_instance/nistschema_sv_iv_atomic_byte_max_inclusive_1_xsd/nistschema_sv_iv_atomic_byte_max_inclusive_1.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
null
null
null
from dataclasses import dataclass, field from typing import Optional __NAMESPACE__ = "NISTSchema-SV-IV-atomic-byte-maxInclusive-1-NS" @dataclass class NistschemaSvIvAtomicByteMaxInclusive1: class Meta: name = "NISTSchema-SV-IV-atomic-byte-maxInclusive-1" namespace = "NISTSchema-SV-IV-atomic-byte-...
24.8
68
0.66129
52
496
6.211538
0.576923
0.111455
0.130031
0.185759
0.411765
0.411765
0.411765
0.297214
0.297214
0
0
0.018373
0.231855
496
19
69
26.105263
0.829396
0
0
0
0
0
0.314516
0.272177
0
0
0
0
0
1
0
false
0
0.133333
0
0.333333
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
064833095fad7e6880010135b78de91547b2a995
486
py
Python
kingfisher/dependencies.py
bird-house/kingfisher
d3623e8e71e1b0e081833e216369926607dfc594
[ "Apache-2.0" ]
null
null
null
kingfisher/dependencies.py
bird-house/kingfisher
d3623e8e71e1b0e081833e216369926607dfc594
[ "Apache-2.0" ]
12
2018-11-27T15:51:28.000Z
2019-02-04T14:04:51.000Z
kingfisher/dependencies.py
bird-house/kingfisher
d3623e8e71e1b0e081833e216369926607dfc594
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- """ This module is used to manage optional dependencies. Example usage:: from birdy.dependencies import ipywidgets as widgets """ import warnings from .exceptions import SnappyWarning warnings.filterwarnings('default', category=SnappyWarning) try: from snappy import ProductIO f...
21.130435
87
0.736626
57
486
6.280702
0.684211
0.055866
0.089385
0
0
0
0
0
0
0
0
0.002506
0.179012
486
22
88
22.090909
0.894737
0.308642
0
0
0
0
0.176829
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
0648a47346989ece33f58fae6c54386b70ef358e
345
py
Python
pyxll_notebook/errors.py
pyxll/pyxll-notebook
321c3fd6978a7e6a7c8500cb7d6d1727d21ecbee
[ "MIT" ]
14
2019-10-03T07:09:47.000Z
2021-03-10T04:22:00.000Z
pyxll_notebook/errors.py
pyxll/remote-notebook
321c3fd6978a7e6a7c8500cb7d6d1727d21ecbee
[ "MIT" ]
1
2021-03-09T01:05:45.000Z
2021-03-09T09:50:09.000Z
pyxll_notebook/errors.py
pyxll/remote-notebook
321c3fd6978a7e6a7c8500cb7d6d1727d21ecbee
[ "MIT" ]
4
2019-11-18T13:33:56.000Z
2021-02-01T10:33:49.000Z
""" Exceptions thrown by pyxll_notebook. """ class KernelStartError(RuntimeError): pass class ExecuteRequestError(RuntimeError): def __init__(self, evalue=None, traceback=None, **kwargs): if evalue is None: evalue = str(kwargs) super().__init__(evalue) class AuthenticationError...
18.157895
62
0.686957
34
345
6.705882
0.647059
0.140351
0
0
0
0
0
0
0
0
0
0
0.211594
345
18
63
19.166667
0.838235
0.104348
0
0.222222
0
0
0
0
0
0
0
0
0
1
0.111111
false
0.222222
0
0
0.444444
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
064a0a33a373b4274cfdee02e2d2c8a38366973e
10,876
py
Python
ansible/venv/lib/python2.7/site-packages/ansible/modules/identity/cyberark/cyberark_authentication.py
gvashchenkolineate/gvashchenkolineate_infra_trytravis
0fb18850afe0d8609693ba4b23f29c7cda17d97f
[ "MIT" ]
17
2017-06-07T23:15:01.000Z
2021-08-30T14:32:36.000Z
ansible/ansible/modules/identity/cyberark/cyberark_authentication.py
SergeyCherepanov/ansible
875711cd2fd6b783c812241c2ed7a954bf6f670f
[ "MIT" ]
9
2017-06-25T03:31:52.000Z
2021-05-17T23:43:12.000Z
ansible/ansible/modules/identity/cyberark/cyberark_authentication.py
SergeyCherepanov/ansible
875711cd2fd6b783c812241c2ed7a954bf6f670f
[ "MIT" ]
3
2018-05-26T21:31:22.000Z
2019-09-28T17:00:45.000Z
#!/usr/bin/python # Copyright: (c) 2017, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import absolute_import, division, print_function __metaclass__ = type ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ['pre...
34.971061
141
0.640125
1,179
10,876
5.696353
0.234945
0.039309
0.089339
0.079214
0.326385
0.22841
0.192525
0.135795
0.135795
0.09589
0
0.002536
0.274917
10,876
310
142
35.083871
0.8491
0.079165
0
0.302521
0
0.016807
0.512659
0.104273
0
0
0
0
0
1
0.008403
false
0.092437
0.037815
0
0.05042
0.004202
0
0
0
null
0
0
0
0
0
0
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
064b62ac34f8cd06986a259f0bf10479e723cf0b
10,122
py
Python
simulator/proto/simulator_pb2.py
Vedaad-Shakib/IoTeX-Sim
23f7895970281b675379fb73eefff844427c8d75
[ "Apache-2.0" ]
1
2018-12-17T16:48:38.000Z
2018-12-17T16:48:38.000Z
simulator/proto/simulator_pb2.py
Vedaad-Shakib/IoTeX-Sim
23f7895970281b675379fb73eefff844427c8d75
[ "Apache-2.0" ]
null
null
null
simulator/proto/simulator_pb2.py
Vedaad-Shakib/IoTeX-Sim
23f7895970281b675379fb73eefff844427c8d75
[ "Apache-2.0" ]
1
2021-05-16T18:05:53.000Z
2021-05-16T18:05:53.000Z
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: simulator.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _ref...
31.930599
890
0.729204
1,262
10,122
5.591125
0.133122
0.046485
0.050595
0.027211
0.626417
0.564342
0.564342
0.564342
0.557256
0.516865
0
0.040037
0.138807
10,122
316
891
32.031646
0.769416
0.042877
0
0.636691
1
0.003597
0.181236
0.131639
0
0
0
0
0
1
0
false
0
0.021583
0
0.021583
0
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
064c602a9411bc96bb1251f07175ed0506f05839
1,840
py
Python
twitterclone/urls.py
Ariesgal2017/twitterclonez
2021a954958056ceb24e127db073018d3b55e076
[ "MIT" ]
null
null
null
twitterclone/urls.py
Ariesgal2017/twitterclonez
2021a954958056ceb24e127db073018d3b55e076
[ "MIT" ]
null
null
null
twitterclone/urls.py
Ariesgal2017/twitterclonez
2021a954958056ceb24e127db073018d3b55e076
[ "MIT" ]
null
null
null
"""twitterclone URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-...
42.790698
77
0.71413
242
1,840
5.380165
0.326446
0.050691
0.011521
0.018433
0.1851
0.089862
0.057604
0
0
0
0
0.00506
0.140761
1,840
42
78
43.809524
0.818469
0.445652
0
0
0
0
0.18335
0.072349
0
0
0
0
0
1
0
false
0
0.409091
0
0.409091
0
0
0
0
null
0
0
0
0
0
0
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
0651a5c555bdcb29b17888e43ea0f22718108475
1,291
py
Python
clock.py
prometh07/Terminator-Clock
1f545804d8309202c17ff765f53552cc75a16ca4
[ "MIT" ]
null
null
null
clock.py
prometh07/Terminator-Clock
1f545804d8309202c17ff765f53552cc75a16ca4
[ "MIT" ]
null
null
null
clock.py
prometh07/Terminator-Clock
1f545804d8309202c17ff765f53552cc75a16ca4
[ "MIT" ]
null
null
null
import re import time import gobject import terminatorlib.plugin as plugin from terminatorlib.terminator import Terminator from terminatorlib.terminal import Terminal AVAILABLE = ['TitlebarClock'] def get_window_title_with_time(self): title = self.vte.get_window_title() or str(self.command) return TitlebarCl...
31.487805
79
0.695585
170
1,291
4.976471
0.352941
0.06383
0.092199
0.07565
0.22104
0.132388
0.073286
0
0
0
0
0.004785
0.19055
1,291
40
80
32.275
0.804785
0
0
0
0
0
0.046476
0
0
0
0
0
0
1
0.129032
false
0
0.193548
0
0.548387
0
0
0
0
null
0
0
0
0
0
0
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
0661f3293242eddb04840dcb5a1a646d9bf472b3
3,207
py
Python
subdaap/provider.py
boghison/SubDaap
442c36ed8d7b6dc6ede738f4bc1dbfeb9cde20bd
[ "MIT" ]
12
2015-01-23T21:38:10.000Z
2021-11-03T16:06:38.000Z
subdaap/provider.py
boghison/SubDaap
442c36ed8d7b6dc6ede738f4bc1dbfeb9cde20bd
[ "MIT" ]
9
2015-01-19T21:47:18.000Z
2020-04-17T11:40:58.000Z
subdaap/provider.py
boghison/SubDaap
442c36ed8d7b6dc6ede738f4bc1dbfeb9cde20bd
[ "MIT" ]
5
2015-01-19T18:21:36.000Z
2021-09-11T15:14:14.000Z
from subdaap.models import Server from daapserver.utils import generate_persistent_id from daapserver import provider import logging # Logger instance logger = logging.getLogger(__name__) class Provider(provider.Provider): # SubSonic has support for artwork. supports_artwork = True # Persistent IDs a...
30.254717
77
0.626754
391
3,207
4.877238
0.191816
0.061353
0.050341
0.048243
0.427897
0.280545
0.264289
0.260094
0.187729
0.187729
0
0.000436
0.285313
3,207
105
78
30.542857
0.831588
0.080761
0
0.183333
1
0
0.071777
0
0
0
0
0
0
1
0.083333
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
0670550d103059a6ce16f3c4237d05a3c76d7f12
4,543
py
Python
cdeid/data/document.py
CBDRH/cdeid
bd3d94f98a61d876b5630ab80a655fd9ce46730c
[ "Apache-2.0" ]
null
null
null
cdeid/data/document.py
CBDRH/cdeid
bd3d94f98a61d876b5630ab80a655fd9ce46730c
[ "Apache-2.0" ]
null
null
null
cdeid/data/document.py
CBDRH/cdeid
bd3d94f98a61d876b5630ab80a655fd9ce46730c
[ "Apache-2.0" ]
null
null
null
from cdeid.display.html_generator import add_html_tags_of_entities, generate_html import logging from cdeid.utils.resources import PACKAGE_NAME logger = logging.getLogger(PACKAGE_NAME) class Token: def __init__(self, text, ner_tag): self.text = text self.ner_tag = ner_tag class Sentence: d...
30.695946
114
0.57473
528
4,543
4.681818
0.183712
0.063107
0.022249
0.028317
0.204288
0.114887
0.053398
0.029126
0
0
0
0.00645
0.317411
4,543
147
115
30.904762
0.790713
0.22298
0
0.373626
1
0
0.01801
0
0
0
0
0
0
1
0.153846
false
0
0.032967
0.021978
0.296703
0
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
0675bea5f670bb5a5f914111afd409014749e8e7
2,251
py
Python
lliurament2/preg2.py
kitusmark/bash-python
2b6eea9ed20879a7c74342c926f831d25667fe2b
[ "MIT" ]
1
2016-07-30T07:23:47.000Z
2016-07-30T07:23:47.000Z
lliurament2/preg2.py
kitusmark/bash-python
2b6eea9ed20879a7c74342c926f831d25667fe2b
[ "MIT" ]
null
null
null
lliurament2/preg2.py
kitusmark/bash-python
2b6eea9ed20879a7c74342c926f831d25667fe2b
[ "MIT" ]
null
null
null
import os, sys def creaFilConnectat(sorAnt, executable): sor, ent=os.pipe() # crea un pipe a la banda dreta */ idProces = os.fork() if idProces != 0: # pare os.close(ent) os.close(sorAnt) else: # procés # +-----+ ...
35.730159
69
0.419369
231
2,251
4.047619
0.454545
0.029947
0.029947
0.042781
0.104813
0
0
0
0
0
0
0.012384
0.426033
2,251
62
70
36.306452
0.7113
0
0
0.322581
0
0
0.014493
0
0
0
0
0
0
0
null
null
0
0.032258
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
06819611ccd36064b19a1b09043d425640501d09
249
py
Python
app.py
saraelhassan/web-scraping-challenge
435ca1b930b8c3e16463b33b1726f4d08edc743c
[ "ADSL" ]
null
null
null
app.py
saraelhassan/web-scraping-challenge
435ca1b930b8c3e16463b33b1726f4d08edc743c
[ "ADSL" ]
null
null
null
app.py
saraelhassan/web-scraping-challenge
435ca1b930b8c3e16463b33b1726f4d08edc743c
[ "ADSL" ]
null
null
null
from flask import flask, render_template,request,redirect,url_for #flask implementation import pymongo app = Flask(__name__) conn ='mongodb://localhost:27017' client = pymongo.MongoClient(conn) db = client.mission_to_mars_db db.mars.drop()
27.666667
88
0.779116
34
249
5.441176
0.705882
0
0
0
0
0
0
0
0
0
0
0.022831
0.120482
249
8
89
31.125
0.821918
0.080321
0
0
0
0
0.114155
0.114155
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
068642cb0949edcbeae9501ab825054a655fcd44
537
py
Python
api/beers/migrations/0031_matchfilter.py
haavardnk/Vinmonopolet-x-Untappd
950db7201593d7b94daf091884949aed4377d4ca
[ "MIT" ]
null
null
null
api/beers/migrations/0031_matchfilter.py
haavardnk/Vinmonopolet-x-Untappd
950db7201593d7b94daf091884949aed4377d4ca
[ "MIT" ]
null
null
null
api/beers/migrations/0031_matchfilter.py
haavardnk/Vinmonopolet-x-Untappd
950db7201593d7b94daf091884949aed4377d4ca
[ "MIT" ]
null
null
null
# Generated by Django 3.1.4 on 2020-12-11 07:30 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('beers', '0030_beer_match_manually'), ] operations = [ migrations.CreateModel( name='MatchFilter', fiel...
25.571429
115
0.560521
54
537
5.444444
0.814815
0
0
0
0
0
0
0
0
0
0
0.057221
0.316574
537
20
116
26.85
0.743869
0.083799
0
0
1
0
0.102128
0.051064
0
0
0
0
0
1
0
false
0
0.071429
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
068bea50f966fa8a6b83361e262c90f3fefa27b3
1,410
py
Python
ate-003-generate-datasets.py
svetlanama/snowball
a41865a866dae124b4a22134f091a7d09bd0896e
[ "MIT" ]
null
null
null
ate-003-generate-datasets.py
svetlanama/snowball
a41865a866dae124b4a22134f091a7d09bd0896e
[ "MIT" ]
null
null
null
ate-003-generate-datasets.py
svetlanama/snowball
a41865a866dae124b4a22134f091a7d09bd0896e
[ "MIT" ]
null
null
null
#!/usr/bin/env python2 #encoding: UTF-8 # reads clean text files from directory # and and writes combined datasets into another directory import libgendataset as gendataset import argparse import time import os import psutil t0 = time.time() parser = argparse.ArgumentParser() parser.add_argument("--in_txt_dir", he...
35.25
145
0.79078
204
1,410
5.29902
0.421569
0.041628
0.078631
0.022202
0.038853
0.038853
0
0
0
0
0
0.006275
0.095745
1,410
39
146
36.153846
0.841569
0.098582
0
0
0
0.041667
0.342292
0.039526
0
0
0
0
0
0
null
null
0
0.208333
null
null
0.125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0693b65d815c5fd43a88add22a684e55d93f5a7d
1,488
py
Python
argument/argnet.py
QPointNotebook/PythonSample
53c2a54da2bf9a61449ed1c7d2864c5c0eedc5e0
[ "MIT" ]
null
null
null
argument/argnet.py
QPointNotebook/PythonSample
53c2a54da2bf9a61449ed1c7d2864c5c0eedc5e0
[ "MIT" ]
null
null
null
argument/argnet.py
QPointNotebook/PythonSample
53c2a54da2bf9a61449ed1c7d2864c5c0eedc5e0
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- import argparse from argument.argument import argument class argnet( argument ): def __init__( self ): super().__init__() self.parser.add_argument( '--networkaddr', help='network address' ) self.parser.add_argument( '--mult...
40.216216
105
0.551747
157
1,488
5.127389
0.318471
0.099379
0.129193
0.208696
0.206211
0.074534
0
0
0
0
0
0.025912
0.299731
1,488
36
106
41.333333
0.746641
0.083333
0
0
0
0
0.205882
0
0
0
0
0
0
1
0.086957
false
0
0.086957
0
0.26087
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
069d0a7acbfd79e8ee5a7130e1aea7a69ebf19c9
310
py
Python
sample_table_create.py
akashmaji946/KaroApp
2910cee81db6004783a7779ea2b5cd5c0b9b3f49
[ "Apache-2.0" ]
null
null
null
sample_table_create.py
akashmaji946/KaroApp
2910cee81db6004783a7779ea2b5cd5c0b9b3f49
[ "Apache-2.0" ]
null
null
null
sample_table_create.py
akashmaji946/KaroApp
2910cee81db6004783a7779ea2b5cd5c0b9b3f49
[ "Apache-2.0" ]
null
null
null
import psycopg2 as pg conn = pg.connect("dbname=example user=postgres password=abcd@1234") cur = conn.cursor() SQL_ = """ CREATE TABLE table2 ( id INTEGER PRIMARY KEY, describe VARCHAR, isboy BOOLEAN DEFAULT False ); """ cur.execute(SQL_) conn.commit() cur.close() conn.close()
17.222222
69
0.66129
40
310
5.075
0.8
0
0
0
0
0
0
0
0
0
0
0.024691
0.216129
310
17
70
18.235294
0.8107
0
0
0
0
0
0.52901
0
0
0
0
0
0
1
0
false
0.071429
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
0
1
0
0
0
0
0
1
06a0d336aed4f32a512605a3aa8e8e3d4968bd50
1,018
py
Python
tz_aware_dt/__init__.py
dskrypa/tz_aware_dt
3dc948973abea1a47e5ee6c73bf122aad956ac70
[ "Apache-2.0" ]
null
null
null
tz_aware_dt/__init__.py
dskrypa/tz_aware_dt
3dc948973abea1a47e5ee6c73bf122aad956ac70
[ "Apache-2.0" ]
null
null
null
tz_aware_dt/__init__.py
dskrypa/tz_aware_dt
3dc948973abea1a47e5ee6c73bf122aad956ac70
[ "Apache-2.0" ]
null
null
null
from importlib import import_module __attr_module_map = { # tz_aware_dt 'TZ_LOCAL': 'tz_aware_dt', 'TZ_UTC': 'tz_aware_dt', 'ISO8601': 'tz_aware_dt', 'DATETIME_FMT': 'tz_aware_dt', 'DATE_FMT': 'tz_aware_dt', 'TIME_FMT': 'tz_aware_dt', 'now': 'tz_aware_dt', 'epoch2str': 'tz_aware_dt'...
26.102564
78
0.659136
132
1,018
4.424242
0.401515
0.167808
0.215753
0.061644
0
0
0
0
0
0
0
0.007299
0.192534
1,018
38
79
26.789474
0.703163
0.052063
0
0
0
0
0.373569
0
0
0
0
0
0
1
0.068966
false
0
0.068966
0.034483
0.206897
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
06a3b1290aafa13fa8a4b8c5e99c9fa6146b2541
367
py
Python
src/conf.py
loggerhead/KDD_2012_Track1
c1cad6ab93e826ca63e692fbd61109dc8c514cf0
[ "WTFPL" ]
5
2016-03-18T12:55:43.000Z
2019-10-11T01:37:07.000Z
src/conf.py
loggerhead/KDD_2012_Track1
c1cad6ab93e826ca63e692fbd61109dc8c514cf0
[ "WTFPL" ]
null
null
null
src/conf.py
loggerhead/KDD_2012_Track1
c1cad6ab93e826ca63e692fbd61109dc8c514cf0
[ "WTFPL" ]
4
2017-01-09T06:35:16.000Z
2019-05-08T09:32:38.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- import os import sys sys.path.append(os.path.join(os.path.dirname(__file__), '..')) import config locals().update(config.__dict__) this_dir = os.path.dirname(os.path.realpath(config.__file__)) for k in paths: # if not abspath if not paths[k].startswith('/'): ...
24.466667
62
0.673025
58
367
4.017241
0.517241
0.128755
0.085837
0
0
0
0
0
0
0
0
0.003175
0.141689
367
15
63
24.466667
0.736508
0.155313
0
0
0
0
0.00974
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
06a5c87891f8a3417091206ff08042335bb00b26
281
py
Python
bench/chemfiles/count.py
franciscoadasme/pdb-bench
90bc877d1a8ac0748a5058707ce37067d639ebc0
[ "MIT" ]
null
null
null
bench/chemfiles/count.py
franciscoadasme/pdb-bench
90bc877d1a8ac0748a5058707ce37067d639ebc0
[ "MIT" ]
null
null
null
bench/chemfiles/count.py
franciscoadasme/pdb-bench
90bc877d1a8ac0748a5058707ce37067d639ebc0
[ "MIT" ]
null
null
null
import sys from shared import timeit from chemfiles import Selection, Trajectory def count(f): len(Selection("resname ALA and name CA").evaluate(f)) pdbfile = sys.argv[1] repeats = int(sys.argv[2]) f = Trajectory(pdbfile).read() print(timeit(count, f, repeats=repeats))
16.529412
57
0.725979
42
281
4.857143
0.619048
0.058824
0
0
0
0
0
0
0
0
0
0.008333
0.145907
281
16
58
17.5625
0.841667
0
0
0
0
0
0.081851
0
0
0
0
0
0
1
0.111111
false
0
0.333333
0
0.444444
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
06a8e2ac474595304920a57d1c20e24681422784
3,242
py
Python
etcd3_asyncio/request/stream.py
AntoninRousset/etcd3-asyncio
155fc0bd567f44a6ec41d42d3f003fae96157dc7
[ "Apache-2.0" ]
2
2021-09-26T07:44:45.000Z
2021-10-01T06:05:07.000Z
etcd3_asyncio/request/stream.py
AntoninRousset/etcd3-asyncio
155fc0bd567f44a6ec41d42d3f003fae96157dc7
[ "Apache-2.0" ]
null
null
null
etcd3_asyncio/request/stream.py
AntoninRousset/etcd3-asyncio
155fc0bd567f44a6ec41d42d3f003fae96157dc7
[ "Apache-2.0" ]
null
null
null
''' Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this ...
32.42
76
0.632634
383
3,242
5.177546
0.373368
0.02824
0.016641
0.030257
0.181543
0.181543
0.131114
0.131114
0.131114
0.131114
0
0.002612
0.291487
3,242
99
77
32.747475
0.860688
0.234423
0
0.180328
0
0
0.01536
0
0
0
0
0.010101
0
1
0.114754
false
0
0.098361
0.065574
0.344262
0
0
0
0
null
0
0
0
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
06abdb1ced08afadab7e14e8ce00cd9428666f64
20,336
py
Python
trio_cdp/generated/debugger.py
eNcacz/trio-chrome-devtools-protocol
6b30e52d5617d56f397604f80d30a8fed45b7090
[ "MIT" ]
null
null
null
trio_cdp/generated/debugger.py
eNcacz/trio-chrome-devtools-protocol
6b30e52d5617d56f397604f80d30a8fed45b7090
[ "MIT" ]
null
null
null
trio_cdp/generated/debugger.py
eNcacz/trio-chrome-devtools-protocol
6b30e52d5617d56f397604f80d30a8fed45b7090
[ "MIT" ]
null
null
null
# DO NOT EDIT THIS FILE! # # This code is generated off of PyCDP modules. If you need to make # changes, edit the generator and regenerate all of the modules. from __future__ import annotations import typing from ..context import get_connection_context, get_session_context import cdp.debugger from cdp.debugger impor...
40.110454
381
0.724823
2,640
20,336
5.432576
0.157955
0.033189
0.036745
0.050202
0.437945
0.356017
0.27667
0.182401
0.111979
0.100126
0
0.002056
0.186861
20,336
506
382
40.189723
0.865264
0.007376
0
0.133929
1
0
0.081479
0.069675
0
0
0
0
0
1
0
false
0
0.022321
0
0.15625
0
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
06afe065db6a267a6a201f3709a2a4801a66834e
5,024
py
Python
library/string_conversions.py
RomainClaret/CONVEX
b1477d3e332903846f21b5c1ac2d5cb8cfdac21e
[ "MIT" ]
29
2019-10-08T13:21:18.000Z
2021-12-30T03:32:23.000Z
library/string_conversions.py
RomainClaret/CONVEX
b1477d3e332903846f21b5c1ac2d5cb8cfdac21e
[ "MIT" ]
19
2019-10-31T13:43:33.000Z
2022-03-29T00:57:00.000Z
library/string_conversions.py
RomainClaret/CONVEX
b1477d3e332903846f21b5c1ac2d5cb8cfdac21e
[ "MIT" ]
11
2019-10-31T12:38:43.000Z
2022-03-23T11:02:34.000Z
# -*- coding: utf-8 -*- from __future__ import unicode_literals import re # open the stopwords with open( "data/stopwords.txt", "r") as data: stopwords = data.read().split('\n') # get the wikidata id of a wikidata url def wikidata_url_to_wikidata_id(url): if not url: return False if(is_literal_or_date(url)): ...
34.888889
156
0.672174
682
5,024
4.863636
0.234604
0.15918
0.180283
0.015677
0.495327
0.453723
0.444679
0.437142
0.437142
0.437142
0
0.02148
0.166003
5,024
144
157
34.888889
0.770167
0.255374
0
0.39604
0
0.019802
0.15876
0.025876
0
0
0
0
0
1
0.108911
false
0
0.019802
0.029703
0.29703
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
06b0da3c8bc050fab3acbf5af3c9990ced69024f
4,148
py
Python
pip_services3_components/log/CachedLogger.py
banalna/pip-services3-components-python
1f57763d9d4547219918e5fd1b1762b42e8e2eea
[ "MIT" ]
null
null
null
pip_services3_components/log/CachedLogger.py
banalna/pip-services3-components-python
1f57763d9d4547219918e5fd1b1762b42e8e2eea
[ "MIT" ]
null
null
null
pip_services3_components/log/CachedLogger.py
banalna/pip-services3-components-python
1f57763d9d4547219918e5fd1b1762b42e8e2eea
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ pip_services3_components.log.CachedLogger ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Cached logger implementation :copyright: Conceptual Vision Consulting LLC 2018-2019, see AUTHORS for more details. :license: MIT, see LICENSE for more details. """ import time impor...
29.006993
116
0.589441
430
4,148
5.532558
0.406977
0.023539
0.020177
0.020177
0.108449
0.065574
0.042875
0.042875
0.042875
0.042875
0
0.012811
0.322565
4,148
142
117
29.211268
0.833808
0.388862
0
0.35
0
0
0.019222
0
0
0
0
0.014085
0
1
0.116667
false
0.016667
0.133333
0
0.366667
0
0
0
0
null
0
0
0
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
ebef6cfea7c6b5232805158735285ca0d79ba68a
10,246
py
Python
fast_arrow/client.py
jwschmo/fast_arrow
f1fa64acb0813615cbe3048c317438fdc81b7c75
[ "MIT" ]
null
null
null
fast_arrow/client.py
jwschmo/fast_arrow
f1fa64acb0813615cbe3048c317438fdc81b7c75
[ "MIT" ]
null
null
null
fast_arrow/client.py
jwschmo/fast_arrow
f1fa64acb0813615cbe3048c317438fdc81b7c75
[ "MIT" ]
null
null
null
import imaplib import os import random import time import re import json from datetime import datetime, timedelta import requests from fast_arrow.exceptions import AuthenticationError, NotImplementedError from fast_arrow.resources.account import Account from fast_arrow.resources.user import User from fast_arrow.util i...
37.123188
150
0.532793
1,121
10,246
4.739518
0.230152
0.023715
0.019763
0.022586
0.372294
0.333333
0.322417
0.271222
0.233202
0.206098
0
0.024405
0.356139
10,246
276
151
37.123188
0.780961
0.018153
0
0.385366
0
0.009756
0.161257
0.017639
0
0
0
0
0.004878
0
null
null
0.04878
0.058537
null
null
0.014634
0
0
0
null
0
0
0
0
0
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
23096edd9719def160c86617fcb480a9c5d0ba7f
276
py
Python
lab15/account/urls.py
alejo8591/angular-labs
5c55b966e832e5261554da3f41fc8786bab8dce6
[ "MIT" ]
null
null
null
lab15/account/urls.py
alejo8591/angular-labs
5c55b966e832e5261554da3f41fc8786bab8dce6
[ "MIT" ]
null
null
null
lab15/account/urls.py
alejo8591/angular-labs
5c55b966e832e5261554da3f41fc8786bab8dce6
[ "MIT" ]
null
null
null
from django.conf.urls import patterns, include, url from account import views urlpatterns = patterns('', url(r'^register/$', views.register, name='register'), url(r'^login/$', views.login, name='login'), url(r'^logout/$', views.user_logout, name='user_logout'), )
34.5
61
0.684783
37
276
5.054054
0.459459
0.064171
0
0
0
0
0
0
0
0
0
0
0.126812
276
8
62
34.5
0.775934
0
0
0
0
0
0.187726
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
230a298ba4b50139bb0545e71ebe69023b1bfd5a
334
py
Python
misc_tests/reverse_array.py
pfreese/py_test
bf1cb713d63259c8b6db666924b69bd101b55674
[ "MIT" ]
null
null
null
misc_tests/reverse_array.py
pfreese/py_test
bf1cb713d63259c8b6db666924b69bd101b55674
[ "MIT" ]
null
null
null
misc_tests/reverse_array.py
pfreese/py_test
bf1cb713d63259c8b6db666924b69bd101b55674
[ "MIT" ]
null
null
null
def find_132(array): queue = [] minVal = array[0] for v in array[1:]: while queue and v >= queue[-1][0]: queue.pop() if queue and v < queue[-1][1]: return True queue.append((v, minVal)) minVal = min(minVal, v) return False print(find_132([1,0,1,-4...
20.875
42
0.5
51
334
3.235294
0.490196
0.084848
0.109091
0.169697
0.181818
0
0
0
0
0
0
0.085973
0.338323
334
15
43
22.266667
0.660633
0.008982
0
0
0
0
0
0
0
0
0
0
0
1
0.083333
false
0
0
0
0.25
0.083333
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
2312c1c49c164567402081712e7ad4f717ee9376
4,021
py
Python
extension/server/NurseryManagement.py
Incubaid/arakoon
43a8d0b26e4876ef91d9657149f105c7e57e0cb0
[ "Apache-2.0" ]
41
2015-02-11T03:23:36.000Z
2020-12-27T12:13:52.000Z
extension/server/NurseryManagement.py
Incubaid/arakoon
43a8d0b26e4876ef91d9657149f105c7e57e0cb0
[ "Apache-2.0" ]
36
2015-01-04T16:58:51.000Z
2020-11-12T12:05:37.000Z
extension/server/NurseryManagement.py
Incubaid/arakoon
43a8d0b26e4876ef91d9657149f105c7e57e0cb0
[ "Apache-2.0" ]
7
2015-07-10T08:04:01.000Z
2021-09-28T08:09:23.000Z
""" Copyright (2010-2014) INCUBAID BVBA Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, so...
35.901786
149
0.66103
484
4,021
5.429752
0.36157
0.030441
0.018265
0.020548
0.113014
0.077626
0.059361
0.059361
0.034247
0.034247
0
0.00408
0.26859
4,021
111
150
36.225225
0.889493
0.513554
0
0.131579
0
0
0.097488
0
0
0
0
0
0
1
0.210526
false
0
0.105263
0.026316
0.447368
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
2314f5348c7eb38b0787eb0b9c3fe3968b7409ba
1,594
py
Python
src/anchorpy/borsh_extension.py
SpaceMonkeyForever/anchorpy
9035d46316fb15936f2dcf8946c1191a1eb31d2b
[ "MIT" ]
1
2022-01-06T07:42:36.000Z
2022-01-06T07:42:36.000Z
src/anchorpy/borsh_extension.py
SpaceMonkeyForever/anchorpy
9035d46316fb15936f2dcf8946c1191a1eb31d2b
[ "MIT" ]
null
null
null
src/anchorpy/borsh_extension.py
SpaceMonkeyForever/anchorpy
9035d46316fb15936f2dcf8946c1191a1eb31d2b
[ "MIT" ]
null
null
null
"""Extensions to the Borsh spec for Solana-specific types.""" from typing import Any, Dict, Type, TypeVar from keyword import kwlist from dataclasses import asdict from borsh_construct import CStruct from solana import publickey from construct import Bytes, Adapter, Container class _BorshPubkeyAdapter(Adapter): d...
30.075472
72
0.634881
189
1,594
5.185185
0.359788
0.028571
0.036735
0.032653
0
0
0
0
0
0
0
0.007544
0.251568
1,594
52
73
30.653846
0.813915
0.164366
0
0
0
0
0.006494
0
0
0
0
0
0
1
0.2
false
0
0.2
0.066667
0.633333
0
0
0
0
null
0
0
0
0
0
0
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
2315de8e0450e43f1a0cfe068ab1f7c1c838e1b2
629
py
Python
mockserver_client/mock_expectation.py
icanbwell/mockserver_client
a43fbf3f23b75589f923b9d8735dab10bc514d81
[ "Apache-2.0" ]
null
null
null
mockserver_client/mock_expectation.py
icanbwell/mockserver_client
a43fbf3f23b75589f923b9d8735dab10bc514d81
[ "Apache-2.0" ]
null
null
null
mockserver_client/mock_expectation.py
icanbwell/mockserver_client
a43fbf3f23b75589f923b9d8735dab10bc514d81
[ "Apache-2.0" ]
null
null
null
from typing import Any, Dict from mockserver_client._timing import _Timing from mockserver_client.mock_request import MockRequest class MockExpectation: def __init__( self, request: Dict[str, Any], response: Dict[str, Any], timing: _Timing ) -> None: """ Class for Expectation ...
26.208333
80
0.647059
69
629
5.681159
0.333333
0.122449
0.076531
0.091837
0
0
0
0
0
0
0
0
0.265501
629
23
81
27.347826
0.848485
0.149444
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.25
0.083333
0.583333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
23194e743483b85855132a2651ab2a656986e1a6
870
py
Python
commercialoperator/migrations/0081_auto_20200812_0949.py
shibaken/commercialoperator
1e0adfe683288626d9d3113e9efb44e0eba78adb
[ "Apache-2.0" ]
null
null
null
commercialoperator/migrations/0081_auto_20200812_0949.py
shibaken/commercialoperator
1e0adfe683288626d9d3113e9efb44e0eba78adb
[ "Apache-2.0" ]
12
2020-02-12T06:26:55.000Z
2022-02-13T05:52:54.000Z
commercialoperator/migrations/0081_auto_20200812_0949.py
shibaken/commercialoperator
1e0adfe683288626d9d3113e9efb44e0eba78adb
[ "Apache-2.0" ]
8
2020-02-24T05:11:18.000Z
2021-02-26T07:54:24.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.10.8 on 2020-08-12 01:49 from __future__ import unicode_literals from django.db import migrations import multiselectfield.db.fields class Migration(migrations.Migration): dependencies = [ ('commercialoperator', '0080_checklistquestion_application_type'), ...
39.545455
393
0.68046
88
870
6.568182
0.670455
0.062284
0.083045
0
0
0
0
0
0
0
0
0.033149
0.167816
870
21
394
41.428571
0.765193
0.078161
0
0
1
0
0.346683
0.077597
0
0
0
0
0
1
0
false
0
0.214286
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
231cc501ab2e0a581d2401f22ac06eae317ee0a8
3,635
py
Python
src/warehouse/goodreads_staging_queries.py
Nikhil19Joshi/GoodReads_ETL_Data_Pipeline
23d0a764179bfe2cb69a103697f7e1dffd193626
[ "MIT" ]
984
2020-02-21T23:11:40.000Z
2022-03-31T23:16:03.000Z
src/warehouse/goodreads_staging_queries.py
Nikhil19Joshi/GoodReads_ETL_Data_Pipeline
23d0a764179bfe2cb69a103697f7e1dffd193626
[ "MIT" ]
null
null
null
src/warehouse/goodreads_staging_queries.py
Nikhil19Joshi/GoodReads_ETL_Data_Pipeline
23d0a764179bfe2cb69a103697f7e1dffd193626
[ "MIT" ]
142
2020-02-23T10:58:56.000Z
2022-03-28T04:39:51.000Z
import configparser from pathlib import Path config = configparser.ConfigParser() config.read_file(open(f"{Path(__file__).parents[0]}/warehouse_config.cfg")) # Setup configs staging_schema = config.get('STAGING', 'SCHEMA') s3_processed_zone = 's3://' + config.get('BUCKET', 'PROCESSED_ZONE') iam_role = config.get('IAM...
22.438272
108
0.739477
485
3,635
5.23299
0.214433
0.087076
0.097321
0.047281
0.35067
0.287628
0.245075
0.245075
0.245075
0.22104
0
0.012762
0.159285
3,635
162
109
22.438272
0.817736
0.016231
0
0.304348
0
0
0.633641
0.039183
0
0
0
0
0
1
0
false
0
0.014493
0
0.014493
0
0
0
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
231dcc8ae7822632c99672c620080382349dc3ba
8,139
py
Python
model-builder/skr_objc_builder/objc_model_xml_parser.py
DaYeSquad/worktilerwdemo
03fbc18dcba4881628cf790f2f0cd7e6f9aa130f
[ "MIT" ]
5
2016-05-13T15:23:41.000Z
2019-05-29T08:23:25.000Z
model-builder/skr_objc_builder/objc_model_xml_parser.py
DaYeSquad/worktilerwdemo
03fbc18dcba4881628cf790f2f0cd7e6f9aa130f
[ "MIT" ]
null
null
null
model-builder/skr_objc_builder/objc_model_xml_parser.py
DaYeSquad/worktilerwdemo
03fbc18dcba4881628cf790f2f0cd7e6f9aa130f
[ "MIT" ]
2
2016-06-08T08:22:42.000Z
2019-02-25T08:46:54.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright (c) 2016 - Frank Lin import xml.etree.ElementTree from skrutil import io_utils from skrutil import string_utils from skr_cpp_builder.cpp_manager import CppManagerSaveCommand from skr_cpp_builder.cpp_manager import CppManagerFetchCommand from skr_cpp_builder...
44.47541
119
0.550313
862
8,139
4.859629
0.163573
0.036763
0.021724
0.031511
0.329196
0.240869
0.19957
0.156601
0.117928
0.117928
0
0.001778
0.377933
8,139
182
120
44.71978
0.825597
0.071753
0
0.166667
0
0
0.042297
0.007143
0
0
0
0
0
0
null
null
0
0.096491
null
null
0.008772
0
0
0
null
0
0
0
0
0
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
23220a174bb1baa04d45898a9fd15d28fbbcbd3a
2,918
py
Python
src/utils/callbacks.py
WangChen0902/SupContrast.paddle
2f6d2af9f9fb74710d99fa2ed62f029673192577
[ "MIT" ]
2
2021-08-20T03:37:44.000Z
2021-08-20T04:13:56.000Z
src/utils/callbacks.py
WangChen0902/SupContrast.paddle
2f6d2af9f9fb74710d99fa2ed62f029673192577
[ "MIT" ]
1
2022-03-01T09:10:35.000Z
2022-03-01T09:10:35.000Z
src/utils/callbacks.py
WangChen0902/SupContrast.paddle
2f6d2af9f9fb74710d99fa2ed62f029673192577
[ "MIT" ]
1
2022-02-28T04:36:24.000Z
2022-02-28T04:36:24.000Z
from paddle import callbacks from paddle.optimizer.lr import LRScheduler class LRSchedulerC(callbacks.LRScheduler): """Lr scheduler callback function Args: by_step(bool, optional): whether to update learning rate scheduler by step. Default: True. by_epoch(bool, optional): whether ...
52.107143
165
0.471213
270
2,918
4.781481
0.255556
0.076685
0.153369
0.161115
0.439969
0.374903
0.374903
0.374903
0.374903
0.244771
0
0.001264
0.457848
2,918
56
166
52.107143
0.814791
0.116861
0
0.27027
0
0
0.019771
0
0
0
0
0
0.081081
1
0.162162
false
0
0.054054
0
0.27027
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
2324969e1a56a63d3e6bb2f4913365f58ab197cf
3,872
py
Python
flask/app/maildata.py
hetzz/WebSafe
efd61dd89bd6f8fc69b73cbb7560b30b2ebdf308
[ "MIT" ]
9
2020-01-15T08:37:28.000Z
2021-09-04T11:04:14.000Z
flask/app/maildata.py
hetzz/WebSafe
efd61dd89bd6f8fc69b73cbb7560b30b2ebdf308
[ "MIT" ]
null
null
null
flask/app/maildata.py
hetzz/WebSafe
efd61dd89bd6f8fc69b73cbb7560b30b2ebdf308
[ "MIT" ]
2
2020-01-15T08:37:44.000Z
2020-04-06T11:16:30.000Z
mail_data = [ { "sender": "Winnie Mandela", "email": "winniee.mandela@gmail.com", "read_status": "unread", "content": "Dear Sir/Madam,<br/> I am Winnie Mandela. I am the second wife of Nelson Mandela the former South African president. How are you today? I am in p...
36.87619
482
0.550362
454
3,872
4.678414
0.508811
0.028249
0.045198
0.026836
0.086629
0.02919
0
0
0
0
0
0.015516
0.334194
3,872
105
483
36.87619
0.808379
0
0
0.3
0
0.066667
0.67622
0.024271
0
0
0
0
0
1
0
false
0
0.011111
0
0.011111
0
0
0
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
232a44b290b68392c11d43bd94d2b5530559a630
4,372
py
Python
examples/spdyclient_v3.py
marcelofernandez/python-spdy
d952cb1c401a375be82846489308a62cee81799f
[ "BSD-2-Clause" ]
1
2017-03-03T19:03:02.000Z
2017-03-03T19:03:02.000Z
examples/spdyclient_v3.py
marcelofernandez/python-spdy
d952cb1c401a375be82846489308a62cee81799f
[ "BSD-2-Clause" ]
null
null
null
examples/spdyclient_v3.py
marcelofernandez/python-spdy
d952cb1c401a375be82846489308a62cee81799f
[ "BSD-2-Clause" ]
null
null
null
#!/usr/bin/env python3.3 # coding: utf-8 # Very basic SPDY Client using OpenSSL-NPN support (Python 3.3+) import sys import socket import ssl from io import BytesIO import gzip from spdy.context import Context, CLIENT, SpdyProtocolError from spdy.frames import SynStream, Ping, Goaway, FLAG_FIN DEFAULT_HOST = 'www.goo...
32.385185
110
0.566331
539
4,372
4.430427
0.356215
0.04397
0.020101
0.018844
0.100503
0.068677
0.046901
0.030151
0.030151
0
0
0.017881
0.309241
4,372
134
111
32.626866
0.772848
0.137694
0
0.115385
0
0
0.086156
0
0
0
0
0.014925
0
1
0.057692
false
0
0.067308
0
0.173077
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
1
0
0
0
0
0
0
0
0
0
0
1
232fe278c70b64dabfc4abbbcffea3bc7d011c85
7,210
py
Python
Part-03-Understanding-Software-Crafting-Your-Own-Tools/models/edx-platform/openedx/core/djangoapps/content/block_structure/management/commands/tests/test_generate_course_blocks.py
osoco/better-ways-of-thinking-about-software
83e70d23c873509e22362a09a10d3510e10f6992
[ "MIT" ]
3
2021-12-15T04:58:18.000Z
2022-02-06T12:15:37.000Z
Part-03-Understanding-Software-Crafting-Your-Own-Tools/models/edx-platform/openedx/core/djangoapps/content/block_structure/management/commands/tests/test_generate_course_blocks.py
osoco/better-ways-of-thinking-about-software
83e70d23c873509e22362a09a10d3510e10f6992
[ "MIT" ]
null
null
null
Part-03-Understanding-Software-Crafting-Your-Own-Tools/models/edx-platform/openedx/core/djangoapps/content/block_structure/management/commands/tests/test_generate_course_blocks.py
osoco/better-ways-of-thinking-about-software
83e70d23c873509e22362a09a10d3510e10f6992
[ "MIT" ]
1
2019-01-02T14:38:50.000Z
2019-01-02T14:38:50.000Z
""" Tests for generate_course_blocks management command. """ from unittest.mock import patch import itertools import pytest import ddt from django.core.management.base import CommandError from openedx.core.djangoapps.content.block_structure.tests.helpers import ( is_course_in_block_structure_cache, is_course...
41.2
115
0.677393
896
7,210
5.104911
0.151786
0.043725
0.048972
0.027984
0.550066
0.519895
0.478575
0.457586
0.412549
0.347398
0
0.003996
0.236477
7,210
174
116
41.436782
0.826885
0.053675
0
0.195122
1
0
0.108376
0.061393
0
0
0
0
0.252033
1
0.130081
false
0
0.073171
0
0.219512
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
233f0acaafea6a33ddbae4f160adae2fd2726708
9,427
py
Python
UI/main_page_ui.py
HyeonseoJUNG/DB2_TermPJT
0009a9ea37ba78eb4dad27e19fca9ef079a31bcc
[ "Apache-2.0" ]
null
null
null
UI/main_page_ui.py
HyeonseoJUNG/DB2_TermPJT
0009a9ea37ba78eb4dad27e19fca9ef079a31bcc
[ "Apache-2.0" ]
null
null
null
UI/main_page_ui.py
HyeonseoJUNG/DB2_TermPJT
0009a9ea37ba78eb4dad27e19fca9ef079a31bcc
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'mainpage.ui' # # Created by: PyQt5 UI code generator 5.15.6 # # WARNING: Any manual changes made to this file will be lost when pyuic5 is # run again. Do not edit this file unless you know what you are doing. from PyQt5 import QtCore, QtG...
49.878307
83
0.672536
1,178
9,427
5.240238
0.134126
0.180787
0.091852
0.058966
0.465738
0.405151
0.229386
0.223878
0.203467
0.028835
0
0.099764
0.190835
9,427
188
84
50.143617
0.709491
0.030338
0
0.069767
1
0
0.143561
0
0
0
0
0
0
1
0.011628
false
0
0.011628
0
0.02907
0
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
2343b04345ccffb06abc635387f36acd9f17b76e
1,739
py
Python
lec9.py
ashayathalye/videos
3d27455eb5f888209e8583347461f00b79fc8e3c
[ "MIT" ]
280
2020-01-17T00:08:01.000Z
2022-03-28T12:04:27.000Z
lec9.py
ashayathalye/videos
3d27455eb5f888209e8583347461f00b79fc8e3c
[ "MIT" ]
1
2020-11-26T03:27:36.000Z
2020-11-26T13:48:36.000Z
lec9.py
ashayathalye/videos
3d27455eb5f888209e8583347461f00b79fc8e3c
[ "MIT" ]
27
2020-01-21T03:41:11.000Z
2022-03-02T18:18:24.000Z
from lib import * audio = Audio('MIT-Missing-Semester-lec-mit-0000-2020jan28-1405-Adhoc Section_1.mp4', delay=5/30) tracking = Fullscreen('MIT-Missing-Semester-lec-mit-0000-2020jan28-1405-Adhoc Section_1.mp4') screen_only = Fullscreen('MIT-Missing-Semester-lec-mit-0000-2020jan28-1405-Adhoc Section_2.mp4', delay=5/30) ...
37
108
0.674526
281
1,739
4.13879
0.295374
0.116939
0.190026
0.090284
0.269132
0.269132
0.269132
0.269132
0.269132
0.269132
0
0.152662
0.103508
1,739
46
109
37.804348
0.593329
0
0
0
0
0
0.300173
0.155262
0
0
0
0
0
1
0
false
0
0.022727
0
0.022727
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
2349e80696eda3dca0982020daa1ab4ce5f83c64
1,028
py
Python
compute_flops.py
pearlpig-iu/GhostNet_Resnet56
7e18b707e6f749552d64b81e1b4c8130e68de5df
[ "Apache-2.0" ]
1
2022-03-13T14:02:19.000Z
2022-03-13T14:02:19.000Z
compute_flops.py
pearlpig-iu/GhostNet_Resnet56
7e18b707e6f749552d64b81e1b4c8130e68de5df
[ "Apache-2.0" ]
null
null
null
compute_flops.py
pearlpig-iu/GhostNet_Resnet56
7e18b707e6f749552d64b81e1b4c8130e68de5df
[ "Apache-2.0" ]
1
2022-03-13T14:02:22.000Z
2022-03-13T14:02:22.000Z
# -*- coding: utf-8 -*- """ # @file name : compute_flops.py # @author : TingsongYu https://github.com/TingsongYu # @date : 2020-02-29 # @brief : 观察resnet56 及 ghost-resnet-56 """ import os import sys BASE_DIR = os.path.dirname(os.path.abspath(__file__)) sys.path.append(os.path.join(BASE_DIR, '..')) from ...
23.363636
72
0.61284
134
1,028
4.589552
0.432836
0.065041
0.071545
0.078049
0.177236
0.125203
0
0
0
0
0
0.072061
0.230545
1,028
43
73
23.906977
0.685209
0.214981
0
0
0
0
0.093567
0
0
0
0
0
0
1
0
false
0
0.363636
0
0.363636
0.090909
0
0
0
null
0
0
0
0
0
0
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
23565a77344a8bbedc281da8e92976d0e2ecc876
811
py
Python
test/test_add_contact_in_group.py
l0myy/python_testing
9c51afb007b67fbaa3ed7fc3b326c01d3747f8eb
[ "Apache-2.0" ]
null
null
null
test/test_add_contact_in_group.py
l0myy/python_testing
9c51afb007b67fbaa3ed7fc3b326c01d3747f8eb
[ "Apache-2.0" ]
null
null
null
test/test_add_contact_in_group.py
l0myy/python_testing
9c51afb007b67fbaa3ed7fc3b326c01d3747f8eb
[ "Apache-2.0" ]
null
null
null
from fixture.contact import Contact from fixture.group import Group from fixture.orm import ORMFixture import random db = ORMFixture(host="127.0.0.1", name="addressbook", user="root", password="") def test_add_contact_in_group(app): if len(db.get_group_list()) == 0: app.group.create(Group(name="test")) ...
36.863636
79
0.715166
122
811
4.52459
0.286885
0.063406
0.094203
0.054348
0.288043
0.288043
0.288043
0.105072
0
0
0
0.014556
0.152898
811
21
80
38.619048
0.788937
0
0
0.111111
0
0
0.04439
0
0
0
0
0
0.055556
1
0.055556
false
0.055556
0.222222
0
0.277778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
2356ca1e7e2ac603a18b2477dbd8a7dac8c88c80
1,596
py
Python
benchmarks/benchmarks/location.py
JackKelly/pvlib-python
63c36db473ce9d7406bfb90526c37783515716c2
[ "BSD-3-Clause" ]
695
2015-02-17T00:55:09.000Z
2022-03-30T15:41:47.000Z
benchmarks/benchmarks/location.py
JackKelly/pvlib-python
63c36db473ce9d7406bfb90526c37783515716c2
[ "BSD-3-Clause" ]
1,224
2015-02-17T01:13:30.000Z
2022-03-31T23:24:17.000Z
benchmarks/benchmarks/location.py
JackKelly/pvlib-python
63c36db473ce9d7406bfb90526c37783515716c2
[ "BSD-3-Clause" ]
695
2015-02-17T00:55:19.000Z
2022-03-30T11:43:15.000Z
""" ASV benchmarks for location.py """ import pandas as pd import pvlib from pkg_resources import parse_version def set_solar_position(obj): obj.location = pvlib.location.Location(32, -110, altitude=700, tz='Etc/GMT+7') obj.times = pd.date_range(start='20180601', fr...
30.692308
70
0.630326
195
1,596
4.85641
0.323077
0.127772
0.079197
0.095037
0.253432
0.190074
0.190074
0.190074
0.116156
0.116156
0
0.03649
0.278822
1,596
51
71
31.294118
0.786273
0.02381
0
0.1875
0
0
0.029032
0
0
0
0
0
0
1
0.25
false
0
0.09375
0
0.40625
0
0
0
0
null
0
0
0
0
0
0
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
2357cec8628ffd7c2e5e7a2c663bc6beb2719a25
592
py
Python
nonebot_tools/nonebot-plugin-hso/nonebot-plugin-hso/config.py
CloudWelkin/nonebot_tools
2354bbfd10193f5c8d19093e7a7efea11b854fb4
[ "MIT" ]
1
2021-06-30T05:27:55.000Z
2021-06-30T05:27:55.000Z
nonebot_tools/nonebot-plugin-hso/nonebot-plugin-hso/config.py
CloudWelkin/nonebot_tools
2354bbfd10193f5c8d19093e7a7efea11b854fb4
[ "MIT" ]
null
null
null
nonebot_tools/nonebot-plugin-hso/nonebot-plugin-hso/config.py
CloudWelkin/nonebot_tools
2354bbfd10193f5c8d19093e7a7efea11b854fb4
[ "MIT" ]
null
null
null
#! /usr/bin/env python3 # coding=utf-8 from loguru import logger from pydantic import BaseSettings import nonebot # ----------- # 配置 # ----------- class Config(BaseSettings): # 全局 superusers: list = [0] # 超级管理员 priority: tuple = (0, 1) # 优先级(1,2,3)表示api1->api2->api3 api1 = True # setu库开启状况 api1=lol...
21.925926
60
0.625
75
592
4.853333
0.68
0.06044
0
0
0
0
0
0
0
0
0
0.028078
0.217905
592
26
61
22.769231
0.758099
0.256757
0
0
0
0
0.014052
0
0
0
0
0
0
1
0
false
0
0.2
0
0.733333
0
0
0
0
null
0
0
0
0
0
0
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
235cbafbef49c9fde47437688425b9aa1a5bbf21
862
py
Python
python/ev3dev/eg/port.py
flosommerfeld/ev3dev-c
964ff45b2056ec62f374521415135adf8043c118
[ "MIT" ]
65
2015-01-05T23:57:05.000Z
2022-02-09T14:39:01.000Z
python/ev3dev/eg/port.py
flosommerfeld/ev3dev-c
964ff45b2056ec62f374521415135adf8043c118
[ "MIT" ]
32
2015-03-11T11:17:04.000Z
2020-10-18T12:02:49.000Z
python/ev3dev/eg/port.py
flosommerfeld/ev3dev-c
964ff45b2056ec62f374521415135adf8043c118
[ "MIT" ]
35
2015-02-26T07:16:09.000Z
2021-09-20T13:42:21.000Z
# -*- coding: utf-8 -*- import sys from ev3dev import * if __name__ == '__main__': print 'Waiting the EV3 brick online...' if ev3_init() < 1: sys.exit( 1 ) print '*** ( EV3 ) Hello! ***' ev3_port_init() print 'Found ports:' for i in range( PORT_DESC__LIMIT_ ): type_inx = ev3_port_des...
26.121212
71
0.562645
121
862
3.578512
0.38843
0.080831
0.032333
0.055427
0.078522
0
0
0
0
0
0
0.038786
0.312065
862
32
72
26.9375
0.6914
0.024362
0
0.083333
0
0
0.160906
0
0
0
0
0
0
0
null
null
0
0.083333
null
null
0.375
0
0
0
null
0
0
0
0
0
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
235ec8cb72d8648297df973737933b42e8ad5e10
1,729
py
Python
convert_settings.py
domeniko-gentner/labertasche
70305a5e3cca05bc5653ef2bb633e6eb4e77f77a
[ "MIT" ]
13
2020-11-22T08:16:01.000Z
2021-11-09T10:59:31.000Z
convert_settings.py
domeniko-gentner/labertasche
70305a5e3cca05bc5653ef2bb633e6eb4e77f77a
[ "MIT" ]
null
null
null
convert_settings.py
domeniko-gentner/labertasche
70305a5e3cca05bc5653ef2bb633e6eb4e77f77a
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # /********************************************************************************** # * _author : Domeniko Gentner # * _mail : code@tuxstash.de # * _repo : https://git.tuxstash.de/gothseidank/labertasche # * _license : This project is under MIT License # ****...
35.285714
113
0.640833
222
1,729
4.936937
0.554054
0.029197
0.021898
0.029197
0.041971
0
0
0
0
0
0
0.003536
0.182186
1,729
48
114
36.020833
0.77157
0.238866
0
0.242424
0
0.030303
0.677888
0
0
0
0
0
0
1
0
false
0.030303
0.121212
0
0.121212
0.151515
0
0
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
2364a52b6d266f3958edef41a6dab883de19f30a
1,837
py
Python
tests/test_factories.py
smartlegionlab/commandex
d090dd8ce0ff8a7219191120019771843a284e79
[ "BSD-3-Clause" ]
2
2021-11-17T21:35:44.000Z
2022-02-09T16:47:13.000Z
tests/test_factories.py
smartlegionlab/commandex
d090dd8ce0ff8a7219191120019771843a284e79
[ "BSD-3-Clause" ]
null
null
null
tests/test_factories.py
smartlegionlab/commandex
d090dd8ce0ff8a7219191120019771843a284e79
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- # -------------------------------------------------------- # Licensed under the terms of the BSD 3-Clause License # (see LICENSE for details). # Copyright © 2018-2021, A.A Suvorov # All rights reserved. # -------------------------------------------------------- # https://github.com/smartlegionla...
36.019608
76
0.700599
203
1,837
6.073892
0.305419
0.051095
0.072993
0.06326
0.40146
0.40146
0.40146
0.40146
0.194647
0
0
0.006281
0.13337
1,837
50
77
36.74
0.767588
0.21067
0
0
0
0
0
0
0
0
0
0
0.346154
1
0.346154
false
0
0.153846
0
0.653846
0
0
0
0
null
0
0
0
0
0
0
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
236538ee24398fbdd30d0fa9c8c32c795422045b
1,364
py
Python
kth_largest_element_in_an_array/solution2.py
mahimadubey/leetcode-python
38acc65fa4315f86acb62874ca488620c5d77e17
[ "BSD-2-Clause" ]
528
2015-01-08T21:27:06.000Z
2022-03-17T09:23:44.000Z
kth_largest_element_in_an_array/solution2.py
durgaharish1993/leetcode-python
6c523ef4759a57433e10271b584eece16f9f05f3
[ "BSD-2-Clause" ]
null
null
null
kth_largest_element_in_an_array/solution2.py
durgaharish1993/leetcode-python
6c523ef4759a57433e10271b584eece16f9f05f3
[ "BSD-2-Clause" ]
278
2015-01-12T06:45:17.000Z
2022-02-20T08:09:22.000Z
""" Find the kth largest element in an unsorted array. Note that it is the kth largest element in the sorted order, not the kth distinct element. For example, Given [3,2,1,5,6,4] and k = 2, return 5. Note: You may assume k is always valid, 1 <= k <= array's length. """ class Solution(object): def findKthLargest...
26.745098
74
0.510264
195
1,364
3.569231
0.369231
0.064655
0.030172
0.057471
0.08046
0.017241
0
0
0
0
0
0.030409
0.373167
1,364
50
75
27.28
0.783626
0.077713
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0.041667
0
0
0
null
0
0
0
0
0
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
2365940cf100e3f074811bcddcf80f5fc96b0e31
2,048
py
Python
lib/browser.py
EnesRay/Insta
861be0e5dbb846eb2a3272a08452b28d80a51ce6
[ "MIT" ]
1
2020-12-27T13:56:58.000Z
2020-12-27T13:56:58.000Z
lib/browser.py
EnesRay/Insta
861be0e5dbb846eb2a3272a08452b28d80a51ce6
[ "MIT" ]
null
null
null
lib/browser.py
EnesRay/Insta
861be0e5dbb846eb2a3272a08452b28d80a51ce6
[ "MIT" ]
null
null
null
# Date: 06/08/2019 # Author: Mohamed # Description: A browser import time import requests import lib.const as const class Browser: '''Browser ''' def __init__(self, username: str, password: str, proxy: dict, csrftoken: str) -> None: # consts self.proxy = proxy ...
25.924051
91
0.515137
205
2,048
5.019512
0.37561
0.052478
0.058309
0.055394
0
0
0
0
0
0
0
0.008058
0.394043
2,048
78
92
26.25641
0.821112
0.084473
0
0.098039
0
0
0.068092
0
0
0
0
0
0
1
0.058824
false
0.098039
0.058824
0
0.137255
0
0
0
0
null
0
0
0
0
0
0
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
23788326adc39424ed65224112474ee021b1f949
1,411
py
Python
wbb/utils/functions.py
Awesome-RJ/WilliamButcherBot
7e50df6bc47f09da47542315452e59742923b2e1
[ "MIT" ]
null
null
null
wbb/utils/functions.py
Awesome-RJ/WilliamButcherBot
7e50df6bc47f09da47542315452e59742923b2e1
[ "MIT" ]
null
null
null
wbb/utils/functions.py
Awesome-RJ/WilliamButcherBot
7e50df6bc47f09da47542315452e59742923b2e1
[ "MIT" ]
null
null
null
from PIL import Image, ImageDraw, ImageFont, ImageFilter from random import randint def generate_captcha(): # Generate one letter def gen_letter(): return chr(randint(65, 90)) def rndColor(): return (randint(64, 255), randint(64, 255), randint(64, 255)) def rndColor2(): retur...
26.622642
69
0.583274
177
1,411
4.559322
0.372881
0.043371
0.04461
0.047088
0.089219
0.089219
0
0
0
0
0
0.073367
0.294826
1,411
52
70
27.134615
0.737688
0.074415
0
0
1
0
0.042275
0.016141
0
0
0
0
0
1
0.128205
false
0
0.051282
0.076923
0.307692
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
88ba715ebc28715374c1f016d440bdd3b1b8ecc4
497
py
Python
src/Server/backend/GnC/migrations/0010_goals_cascaded_goal.py
tejpratap545/denselight_system
af927da71113e48c9673e3f72623f1f28785ae7c
[ "Apache-2.0" ]
null
null
null
src/Server/backend/GnC/migrations/0010_goals_cascaded_goal.py
tejpratap545/denselight_system
af927da71113e48c9673e3f72623f1f28785ae7c
[ "Apache-2.0" ]
null
null
null
src/Server/backend/GnC/migrations/0010_goals_cascaded_goal.py
tejpratap545/denselight_system
af927da71113e48c9673e3f72623f1f28785ae7c
[ "Apache-2.0" ]
null
null
null
# Generated by Django 3.1.2 on 2021-04-08 17:47 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('GnC', '0009_auto_20210407_1742'), ] operations = [ migrations.AddField( model_name='goals', ...
24.85
128
0.645875
59
497
5.338983
0.711864
0.07619
0.088889
0.139683
0
0
0
0
0
0
0
0.081365
0.2334
497
19
129
26.157895
0.745407
0.090543
0
0
1
0
0.135556
0.051111
0
0
0
0
0
1
0
false
0
0.153846
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
88c415cb674c2cfbee685835c1ce068f43885004
1,792
py
Python
data/scripts/app.py
aufziehvogel/loxberry-texttospeech
e1d7a9305ad291d53ec2f489f57f4d6e441b6696
[ "MIT" ]
null
null
null
data/scripts/app.py
aufziehvogel/loxberry-texttospeech
e1d7a9305ad291d53ec2f489f57f4d6e441b6696
[ "MIT" ]
null
null
null
data/scripts/app.py
aufziehvogel/loxberry-texttospeech
e1d7a9305ad291d53ec2f489f57f4d6e441b6696
[ "MIT" ]
null
null
null
import flask import subprocess import re app = flask.Flask(__name__) stored_volume = None @app.route('/say', methods=['GET', 'POST']) def say(): text = flask.request.values.get('text') gain = flask.request.values.get('gain', "1.0") # TODO: Make language configurable # TODO: Then this replace should only happen ...
28
79
0.675223
256
1,792
4.628906
0.355469
0.0827
0.091139
0.121519
0.324895
0.324895
0.240506
0.240506
0.172996
0.135021
0
0.005096
0.123884
1,792
63
80
28.444444
0.749682
0.118862
0
0.181818
0
0
0.181703
0.044473
0
0
0
0.015873
0
1
0.136364
false
0
0.068182
0
0.340909
0
0
0
0
null
0
0
0
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
88c8042c98e564693c92ecb6f82937504340c5eb
5,320
py
Python
data_generation/shapeset/shapeset2_1cspo_2_3.5000.test_code/edge.py
j3bian/Image-Background-Compression
62937707e3d1e503b3b567a6fd695cec5f80751a
[ "Apache-2.0" ]
3
2018-04-18T02:13:41.000Z
2019-12-01T12:45:24.000Z
data_generation/shapeset/shapeset2_1cspo_2_3.5000.test_code/edge.py
j3bian/Image-Background-Compression
62937707e3d1e503b3b567a6fd695cec5f80751a
[ "Apache-2.0" ]
null
null
null
data_generation/shapeset/shapeset2_1cspo_2_3.5000.test_code/edge.py
j3bian/Image-Background-Compression
62937707e3d1e503b3b567a6fd695cec5f80751a
[ "Apache-2.0" ]
1
2018-10-21T09:30:13.000Z
2018-10-21T09:30:13.000Z
import numpy from random import Random from math import * from utils import * import sys import re from os.path import exists class ImageMaker: def __init__(self, parms): self.parms = parms a = numpy.uint8([]) a.resize(parms.xres, parms.yres) self.array = a self.rng = Rando...
31.294118
138
0.497556
663
5,320
3.915535
0.221719
0.034669
0.035054
0.023112
0.208783
0.102851
0.098998
0.053544
0.053544
0.042373
0
0.023938
0.371805
5,320
169
139
31.47929
0.752843
0.011466
0
0.115646
0
0.013605
0.037876
0.015988
0
0
0
0
0
0
null
null
0
0.047619
null
null
0.020408
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
88cbed77ce052dd1751ca1266297dc5ce98c6508
3,307
py
Python
examples/create_site_sample.py
Radabaugh/tableau_tools
8630ec4c5614ace8b08246f83dc80c330a8045b4
[ "MIT" ]
179
2016-07-06T19:34:39.000Z
2021-03-16T02:30:27.000Z
examples/create_site_sample.py
Radabaugh/tableau_tools
8630ec4c5614ace8b08246f83dc80c330a8045b4
[ "MIT" ]
75
2016-07-28T16:17:44.000Z
2021-03-29T12:22:32.000Z
examples/create_site_sample.py
chip-felton-montage/tableau_tools
60881a99a32c7d9e03afbb0e1161deefaa854904
[ "MIT" ]
83
2016-08-25T10:32:26.000Z
2021-02-17T18:31:14.000Z
# -*- coding: utf-8 -*- from tableau_tools import * import time server = 'http://127.0.0.1' username = '' password = '' new_site_content_url = 'test_site' new_site_name = 'Sample Test Site' # Choose the API version for your server. 2019.3 = TableauRestApiConnection35 default = TableauServerRest(server=server, usern...
41.3375
108
0.72785
441
3,307
5.111111
0.301587
0.053682
0.035492
0.046584
0.378882
0.366016
0.346495
0.346495
0.32165
0.295031
0
0.008817
0.176897
3,307
80
109
41.3375
0.819251
0.129725
0
0.078431
0
0
0.146197
0.007676
0
0
0
0
0
1
0
false
0.058824
0.039216
0
0.039216
0.039216
0
0
0
null
0
0
0
0
0
0
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
88cc8bd67c918f3d998b58846616a7829c0465d2
4,481
py
Python
scrubber.py
deadly-platypus/ClassHeirarchyScrubber
02520a7292dbf12aa4a6fcee3ff9839db5fa375c
[ "MIT" ]
null
null
null
scrubber.py
deadly-platypus/ClassHeirarchyScrubber
02520a7292dbf12aa4a6fcee3ff9839db5fa375c
[ "MIT" ]
null
null
null
scrubber.py
deadly-platypus/ClassHeirarchyScrubber
02520a7292dbf12aa4a6fcee3ff9839db5fa375c
[ "MIT" ]
null
null
null
import xml.etree.ElementTree as ET import sys import os import argparse classes = {} maxdepth = 0 deepestclass = '' def parse_args(): parser = argparse.ArgumentParser(description="""scrubber.py - Constructs \ class heirarchies from XML files""") parser.add_argument('-p', '--path', help='The root p...
31.780142
78
0.618389
481
4,481
5.723493
0.316008
0.034871
0.04032
0.053396
0.256811
0.154014
0.154014
0.154014
0.129313
0.129313
0
0.003642
0.264673
4,481
140
79
32.007143
0.831866
0.030797
0
0.210526
0
0
0.116156
0
0
0
0
0
0
0
null
null
0
0.035088
null
null
0.070175
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
88cd95335fa4a40e3edcc89af2e65763236e5258
1,584
py
Python
python/ray/ml/train/examples/custom_trainer.py
emre-aydin/ray
8823ca48b45133115d55d45b0c852d62361656d4
[ "Apache-2.0" ]
1
2022-03-28T06:18:30.000Z
2022-03-28T06:18:30.000Z
python/ray/ml/train/examples/custom_trainer.py
emre-aydin/ray
8823ca48b45133115d55d45b0c852d62361656d4
[ "Apache-2.0" ]
null
null
null
python/ray/ml/train/examples/custom_trainer.py
emre-aydin/ray
8823ca48b45133115d55d45b0c852d62361656d4
[ "Apache-2.0" ]
null
null
null
# flake8: noqa # TODO(amog): Add this to CI once Trainer has been implemented. # TODO(rliaw): Include this in the docs. # fmt: off # __custom_trainer_begin__ import torch from ray.ml.trainer import Trainer from ray import tune class MyPytorchTrainer(Trainer): def setup(self): self.model = torch.nn.Linea...
26.4
79
0.625
200
1,584
4.715
0.485
0.063627
0.025451
0.040297
0
0
0
0
0
0
0
0.011576
0.291035
1,584
59
80
26.847458
0.828139
0.30303
0
0
0
0
0
0
0
0
0
0.016949
0
1
0.074074
false
0
0.148148
0
0.259259
0
0
0
0
null
0
0
0
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
88cdc265dccfe005c4e9b4d0b3d9e04d5b7f03b5
693
py
Python
habitrac/habits/migrations/0003_auto_20210226_0850.py
IgnisDa/habitrac
0b5f6f1f4a6659c4cce49aacae54cdb0e74af67a
[ "Apache-2.0" ]
null
null
null
habitrac/habits/migrations/0003_auto_20210226_0850.py
IgnisDa/habitrac
0b5f6f1f4a6659c4cce49aacae54cdb0e74af67a
[ "Apache-2.0" ]
null
null
null
habitrac/habits/migrations/0003_auto_20210226_0850.py
IgnisDa/habitrac
0b5f6f1f4a6659c4cce49aacae54cdb0e74af67a
[ "Apache-2.0" ]
null
null
null
# Generated by Django 3.1 on 2021-02-26 03:20 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('habits', '0002_auto_20210224_2212'), ] operations = [ migrations.AlterField( model_name='dailyhabit', name='started_on...
28.875
120
0.629149
80
693
5.2875
0.575
0.094563
0.118203
0.137116
0.463357
0.463357
0.463357
0.463357
0.463357
0.463357
0
0.059172
0.268398
693
23
121
30.130435
0.775148
0.062049
0
0.470588
1
0
0.268519
0.035494
0
0
0
0
0
1
0
false
0
0.058824
0
0.235294
0
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
88cdde8614eb2d5a2bd3f7851a9c61455e917091
2,036
py
Python
ocr.py
fffy2366/image-processing
e1170b3f670e23e5728caa2716c96b90216ce4b3
[ "MIT" ]
38
2017-03-08T14:21:51.000Z
2022-02-23T07:14:24.000Z
ocr.py
haigemsa/image-processing
e1170b3f670e23e5728caa2716c96b90216ce4b3
[ "MIT" ]
null
null
null
ocr.py
haigemsa/image-processing
e1170b3f670e23e5728caa2716c96b90216ce4b3
[ "MIT" ]
16
2016-07-20T01:40:21.000Z
2022-02-23T07:14:26.000Z
#!bin/evn python # encoding:utf-8 from PIL import Image import pytesseract import re import sys import cv2 import os from bin.python.utils.string_utils import StringUtils #print(pytesseract.image_to_string(Image.open('src/test-european.jpg'), lang='fra')) #str = pytesseract.image_to_string(Image.open('public/uploads/...
29.941176
133
0.666012
323
2,036
4.111455
0.346749
0.084337
0.09488
0.126506
0.421687
0.406627
0.305723
0.191265
0.144578
0.144578
0
0.032314
0.148821
2,036
68
134
29.941176
0.733987
0.535855
0
0
0
0
0.065288
0.022851
0
0
0
0.014706
0
1
0.0625
false
0
0.21875
0
0.3125
0.09375
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
88ce46b35d613b16e934566a4129bd9c98f24cca
1,670
py
Python
styleguide_example/common/utils.py
HackSoftware/Django-Styleguide-Example
5cb309cc2ffc9d552be89d417d84a82d3f25d6a2
[ "MIT" ]
72
2021-12-07T09:21:26.000Z
2022-03-29T12:35:29.000Z
styleguide_example/common/utils.py
HackSoftware/Django-Styleguide-Example
5cb309cc2ffc9d552be89d417d84a82d3f25d6a2
[ "MIT" ]
21
2021-12-13T13:34:43.000Z
2022-03-28T09:07:42.000Z
styleguide_example/common/utils.py
HackSoftware/Django-Styleguide-Example
5cb309cc2ffc9d552be89d417d84a82d3f25d6a2
[ "MIT" ]
11
2021-12-09T16:52:40.000Z
2022-03-10T11:45:15.000Z
from django.conf import settings from django.shortcuts import get_object_or_404 from django.http import Http404 from django.core.exceptions import ImproperlyConfigured from rest_framework import serializers def make_mock_object(**kwargs): return type("", (object, ), kwargs) def get_object(model_or_queryset, **...
27.833333
103
0.71497
200
1,670
5.72
0.35
0.052448
0.062937
0.036713
0.054196
0
0
0
0
0
0
0.013493
0.201198
1,670
59
104
28.305085
0.844078
0.11018
0
0
0
0
0.064783
0.032391
0
0
0
0
0.030303
1
0.151515
false
0
0.151515
0.060606
0.515152
0
0
0
0
null
0
0
0
0
0
0
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
88ddd8842180b4f47617d82ff7af540114277cf3
2,628
py
Python
tinify/client.py
cypreess/aiotinify-python
b1aef4e33252e7e5da9364f6ea8fad4be580959a
[ "MIT" ]
1
2020-06-27T03:03:46.000Z
2020-06-27T03:03:46.000Z
tinify/client.py
cypreess/aiotinify-python
b1aef4e33252e7e5da9364f6ea8fad4be580959a
[ "MIT" ]
null
null
null
tinify/client.py
cypreess/aiotinify-python
b1aef4e33252e7e5da9364f6ea8fad4be580959a
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import absolute_import, division, print_function, unicode_literals import json import platform import aiohttp import tinify from .errors import ConnectionError, Error class Client(object): API_ENDPOINT = 'https://api.tinify.com' USER_AGENT = 'Tinify/{0} Python/{1} ({...
32.85
126
0.593227
286
2,628
5.300699
0.433566
0.042876
0.033641
0.026385
0
0
0
0
0
0
0
0.006438
0.290715
2,628
79
127
33.265823
0.806867
0.084855
0
0.105263
0
0
0.09125
0
0
0
0
0.012658
0
1
0.070175
false
0.017544
0.105263
0.017544
0.263158
0.017544
0
0
0
null
0
0
0
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
88ddf84740288e93af260807dc88a6e4d2cb7ae1
3,441
py
Python
synthpop/test/test_categorizer.py
darebrawley/synthpop-asa
09af99ead7c31b9e00151ca1c734bc77b48f0c3a
[ "BSD-3-Clause" ]
76
2015-11-14T20:08:21.000Z
2022-03-10T22:19:42.000Z
synthpop/test/test_categorizer.py
darebrawley/synthpop-asa
09af99ead7c31b9e00151ca1c734bc77b48f0c3a
[ "BSD-3-Clause" ]
46
2015-09-12T22:50:10.000Z
2021-11-10T12:52:48.000Z
synthpop/test/test_categorizer.py
darebrawley/synthpop-asa
09af99ead7c31b9e00151ca1c734bc77b48f0c3a
[ "BSD-3-Clause" ]
31
2015-11-19T19:48:07.000Z
2021-11-02T02:24:42.000Z
import pytest import numpy as np from synthpop.census_helpers import Census from synthpop import categorizer as cat import os @pytest.fixture def c(): return Census('bfa6b4e541243011fab6307a31aed9e91015ba90') @pytest.fixture def acs_data(c): population = ['B01001_001E'] sex = ['B01001_002E', 'B01001_026...
35.84375
77
0.53531
405
3,441
4.274074
0.340741
0.016176
0.028307
0.032351
0.083767
0.074523
0.047949
0.038128
0.038128
0.038128
0
0.262738
0.344086
3,441
95
78
36.221053
0.504209
0
0
0.037037
0
0
0.313572
0.011625
0
0
0
0
0.061728
1
0.08642
false
0
0.061728
0.024691
0.308642
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
88e09b4b002291dfbf010ded8beda4605db81cc8
885
py
Python
tests/suites/0_stateless/20+_others/20_0005_mysql_auth.py
b41sh/databend
16e1cc5c5d26d14daef753df877a3597469d5812
[ "Apache-2.0" ]
1,556
2021-09-13T07:52:14.000Z
2022-03-31T23:06:26.000Z
tests/suites/0_stateless/20+_others/20_0005_mysql_auth.py
b41sh/databend
16e1cc5c5d26d14daef753df877a3597469d5812
[ "Apache-2.0" ]
2,705
2021-09-13T07:28:33.000Z
2022-03-31T23:15:53.000Z
tests/suites/0_stateless/20+_others/20_0005_mysql_auth.py
b41sh/databend
16e1cc5c5d26d14daef753df877a3597469d5812
[ "Apache-2.0" ]
204
2021-09-13T11:27:25.000Z
2022-03-31T06:30:29.000Z
#!/usr/bin/env python3 import os import mysql.connector import sys CURDIR = os.path.dirname(os.path.realpath(__file__)) sys.path.insert(0, os.path.join(CURDIR, '../../../helpers')) from native_client import NativeClient from native_client import prompt log = None mydb = mysql.connector.connect(host="127.0.0.1", ...
27.65625
60
0.560452
101
885
4.851485
0.485149
0.106122
0.116327
0.089796
0.159184
0.159184
0.159184
0.159184
0.159184
0.159184
0
0.063725
0.308475
885
31
61
28.548387
0.736928
0.023729
0
0.304348
0
0
0.140209
0
0
0
0
0
0
1
0
false
0.086957
0.217391
0
0.217391
0
0
0
0
null
0
0
0
0
0
0
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
88e262d2d23a5f409dcfb791cb4eff85ed9d1f90
9,111
py
Python
hearthbreaker/cards/spells/rogue.py
zetsubo/hearthstone-simulator
af5417bde6bb878b7b1e54ef268f2296f300062e
[ "MIT" ]
null
null
null
hearthbreaker/cards/spells/rogue.py
zetsubo/hearthstone-simulator
af5417bde6bb878b7b1e54ef268f2296f300062e
[ "MIT" ]
null
null
null
hearthbreaker/cards/spells/rogue.py
zetsubo/hearthstone-simulator
af5417bde6bb878b7b1e54ef268f2296f300062e
[ "MIT" ]
null
null
null
import copy from hearthbreaker.cards.base import Card from hearthbreaker.tags.action import AddCard from hearthbreaker.tags.aura import ManaAura from hearthbreaker.tags.base import Effect, BuffUntil, Buff from hearthbreaker.tags.event import TurnStarted, TurnEnded from hearthbreaker.tags.selector import PlayerSelector,...
33.496324
117
0.659203
1,131
9,111
5.045093
0.150309
0.082369
0.050123
0.065545
0.663512
0.610585
0.493516
0.461444
0.44497
0.413249
0
0.010383
0.228295
9,111
271
118
33.619926
0.801166
0.030074
0
0.438503
0
0
0.021178
0
0
0
0
0
0
1
0.219251
false
0
0.053476
0.016043
0.390374
0.010695
0
0
0
null
0
0
0
0
0
0
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
88e3c6596f28d00379662e6c3d5ab1d3ef6de431
4,314
py
Python
clients/dscframework.py
dscplatform/dscframework
af51fa8aa00795b6b9ccdc6bac409bfb7f60fa0d
[ "MIT" ]
null
null
null
clients/dscframework.py
dscplatform/dscframework
af51fa8aa00795b6b9ccdc6bac409bfb7f60fa0d
[ "MIT" ]
null
null
null
clients/dscframework.py
dscplatform/dscframework
af51fa8aa00795b6b9ccdc6bac409bfb7f60fa0d
[ "MIT" ]
null
null
null
import websockets import sys import struct import asyncio import numpy as np import uuid import json # TODO attempt reconnect on connection failure class Client: CONST_REGISTER = 0x1 CONST_DEREGISTER = 0x2 CONST_SUBSCRIBE = 0x3 CONST_UNSUBSCRIBE = 0x4 CONST_BROADCAST = 0x5 CONST_UPDATE = 0x6 ...
33.44186
134
0.566296
545
4,314
4.411009
0.231193
0.043261
0.022879
0.035358
0.133943
0.094842
0.021631
0.021631
0
0
0
0.011467
0.312703
4,314
128
135
33.703125
0.799325
0.02179
0
0.073395
0
0
0.04553
0
0
0
0.005691
0.007813
0
0
null
null
0.018349
0.06422
null
null
0.009174
0
0
0
null
0
0
0
0
0
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
88e478a5732b44bed6a368e93dc40715ce645a45
465
py
Python
Ex052.py
raphaeltertuliano/Python
ffa9813aaa13ccca807f7c08be9489a2d88d3d62
[ "MIT" ]
1
2021-11-23T21:38:46.000Z
2021-11-23T21:38:46.000Z
Ex052.py
raphaeltertuliano/Python
ffa9813aaa13ccca807f7c08be9489a2d88d3d62
[ "MIT" ]
null
null
null
Ex052.py
raphaeltertuliano/Python
ffa9813aaa13ccca807f7c08be9489a2d88d3d62
[ "MIT" ]
null
null
null
#Faça um programa que leia um número inteiro e diga #se ele é ou não um número primo tot = 0 num = int(input("digite um número inteiro: ")) for c in range(1, num + 1): if num % c == 0: print('\033[33m', end='') tot += 1 else: print('\033[31m', end='') print(f'{c} ', end='') print(f'\...
27.352941
58
0.576344
81
465
3.308642
0.518519
0.089552
0.11194
0.119403
0
0
0
0
0
0
0
0.054913
0.255914
465
16
59
29.0625
0.719653
0.174194
0
0.142857
0
0
0.371728
0
0
0
0
0
0
1
0
false
0
0
0
0
0.428571
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
88ec0acf30b507601760d123cbda1b1303df75e9
1,674
py
Python
python_server.py
ugpg2000/Wikipipeda
b1c8855d74ce83670c575a0df45fa7f7bae4acd6
[ "MIT" ]
2
2020-01-28T02:26:46.000Z
2020-05-12T23:49:53.000Z
python_server.py
Moustafa-Eid/Wikipipeda
b1c8855d74ce83670c575a0df45fa7f7bae4acd6
[ "MIT" ]
null
null
null
python_server.py
Moustafa-Eid/Wikipipeda
b1c8855d74ce83670c575a0df45fa7f7bae4acd6
[ "MIT" ]
null
null
null
import requests import re from bs4 import BeautifulSoup from tika import parser import json <<<<<<< HEAD ======= url = "https://www.facebook.com/legal/terms/plain_text_terms" file_location = "sample.pdf" >>>>>>> 076b8689d58d090438c3a5b07b32e4972b849093 # Subroutine for webpages # Proven that it works for facebook (i...
24.26087
87
0.623656
195
1,674
5.282051
0.451282
0.058252
0.040777
0.049515
0.168932
0.168932
0.168932
0.168932
0.139806
0.139806
0
0.105581
0.207885
1,674
68
88
24.617647
0.671192
0.120072
0
0.346154
0
0
0.126876
0
0
0
0
0
0
0
null
null
0
0.096154
null
null
0.038462
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
88ef579ef1d496d5402df32608f4b49aa68e0afe
259
py
Python
server/extractor/urls.py
lucmichalski/seo-audits-toolkit
d7a81d2ac1019f60268bad40dff6b0a475f46b1a
[ "MIT" ]
null
null
null
server/extractor/urls.py
lucmichalski/seo-audits-toolkit
d7a81d2ac1019f60268bad40dff6b0a475f46b1a
[ "MIT" ]
null
null
null
server/extractor/urls.py
lucmichalski/seo-audits-toolkit
d7a81d2ac1019f60268bad40dff6b0a475f46b1a
[ "MIT" ]
null
null
null
from django.urls import path from . import views app_name = 'extractor' urlpatterns = [ path('', views.index, name='index'), path('<int:extractor_id>/', views.detail, name='detail'), path('headers/', views.headers_vote, name='extract_headers') ]
25.9
64
0.683398
33
259
5.242424
0.515152
0
0
0
0
0
0
0
0
0
0
0
0.142857
259
9
65
28.777778
0.779279
0
0
0
0
0
0.239382
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
88ef6330897d6382e4d8890c6718eb5cbbd9e186
43,340
py
Python
titanfp/titanic/sinking.py
billzorn/fpunreal
5ba896298f2acc53652112ea4426508483d85a04
[ "MIT" ]
4
2019-02-21T06:15:26.000Z
2020-09-08T21:06:41.000Z
titanfp/titanic/sinking.py
billzorn/fpunreal
5ba896298f2acc53652112ea4426508483d85a04
[ "MIT" ]
3
2019-02-22T02:21:09.000Z
2021-08-31T20:25:23.000Z
titanfp/titanic/sinking.py
billzorn/fpunreal
5ba896298f2acc53652112ea4426508483d85a04
[ "MIT" ]
null
null
null
"""Sinking point - A discrete approximation of real numbers with explicit significance tracking. Implemented really badly in one file. TODO: in digital.py: - representation - reading in from int / mpfr / string - reading in from digital, clone and update - comparison - trivial bit manipulations like neg and...
37.426598
130
0.566151
5,735
43,340
4.174542
0.116478
0.010025
0.00827
0.005973
0.292928
0.248862
0.222965
0.193309
0.170837
0.15438
0
0.007508
0.354592
43,340
1,157
131
37.458946
0.848384
0.328496
0
0.376524
0
0
0.048168
0
0.001524
0
0
0.012965
0
1
0.079268
false
0.001524
0.010671
0.010671
0.245427
0.006098
0
0
0
null
0
0
0
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
88f4a3f7edf46cbb7eab031d55906fdd1ba64846
2,418
py
Python
minmarkets/migrations/0003_featuredpackages_identityverificationpackage.py
minsystems/minloansng
225f7c553dc1c7180431c5b84250560b74b0e9cc
[ "PostgreSQL", "MIT" ]
null
null
null
minmarkets/migrations/0003_featuredpackages_identityverificationpackage.py
minsystems/minloansng
225f7c553dc1c7180431c5b84250560b74b0e9cc
[ "PostgreSQL", "MIT" ]
null
null
null
minmarkets/migrations/0003_featuredpackages_identityverificationpackage.py
minsystems/minloansng
225f7c553dc1c7180431c5b84250560b74b0e9cc
[ "PostgreSQL", "MIT" ]
null
null
null
# Generated by Django 3.0.2 on 2020-12-05 17:38 import accounts.models import cloudinary.models from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('minmarkets', '0002_auto_20200517_1124'), ] operations = [ m...
52.565217
163
0.637717
250
2,418
6.032
0.348
0.041777
0.046419
0.072944
0.486074
0.486074
0.452255
0.452255
0.452255
0.452255
0
0.026133
0.224566
2,418
45
164
53.733333
0.778133
0.01861
0
0.358974
1
0
0.154365
0.070856
0
0
0
0
0
1
0
false
0
0.102564
0
0.179487
0
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
88f524e45a47289396252c33dbc23716ca1c10f0
4,027
py
Python
kdm_extractor/extract.py
abbasjavan/testguru
5f0f99e0dd68332b7f25b89123dbac966e4ae197
[ "Apache-2.0", "MIT" ]
2
2019-04-16T12:31:34.000Z
2021-08-16T19:58:59.000Z
kdm_extractor/extract.py
abbasjavan/testguru
5f0f99e0dd68332b7f25b89123dbac966e4ae197
[ "Apache-2.0", "MIT" ]
39
2016-11-25T22:07:23.000Z
2017-02-06T05:38:56.000Z
kdm_extractor/extract.py
abbasjavan/testguru
5f0f99e0dd68332b7f25b89123dbac966e4ae197
[ "Apache-2.0", "MIT" ]
2
2020-12-02T07:23:44.000Z
2022-01-10T03:15:22.000Z
""" The MIT License (MIT) Copyright (c) 2016-2017 Louis-Philippe Querel l_querel@encs.concordia.ca Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitatio...
45.247191
131
0.740253
496
4,027
5.840726
0.387097
0.062824
0.047635
0.033138
0.124612
0.069727
0.069727
0.069727
0.069727
0.069727
0
0.002453
0.190216
4,027
88
132
45.761364
0.885925
0.315123
0
0.102564
0
0
0.142857
0.064188
0
0
0
0.011364
0
1
0.051282
false
0
0.128205
0
0.230769
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0004ae52cd5ebc97afe26e861e353b0815ab3b0c
680
py
Python
tests/penetration/p1/p1.py
webcok/nar
fda146f62f43c0d48612716299b132483700abad
[ "MIT" ]
null
null
null
tests/penetration/p1/p1.py
webcok/nar
fda146f62f43c0d48612716299b132483700abad
[ "MIT" ]
null
null
null
tests/penetration/p1/p1.py
webcok/nar
fda146f62f43c0d48612716299b132483700abad
[ "MIT" ]
2
2019-01-11T20:14:39.000Z
2021-04-29T10:23:31.000Z
import sys sys.path.append("..") print "Low Level Messaging Attack" import connect from os import listdir from os.path import isfile, join files = [f for f in listdir("messages/") if isfile(join("messages/", f))] files = sorted(files) i = 1 for fil in files: res = " PASS" fil = "messages/" + fil s = c...
18.888889
73
0.580882
95
680
4.136842
0.484211
0.030534
0.05598
0.091603
0
0
0
0
0
0
0
0.01232
0.283824
680
35
74
19.428571
0.794661
0
0
0.137931
0
0
0.097059
0
0
0
0
0
0
0
null
null
0.034483
0.137931
null
null
0.103448
0
0
0
null
0
0
0
0
0
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
000574f33288ac8997078543647c5965e480bb4a
2,354
py
Python
yuuhpizzakebab/drink/models.py
lex/yuuh-pizza-kebab
532d931e89e67b94ce77a62e862fa3aca796401e
[ "BSD-2-Clause" ]
null
null
null
yuuhpizzakebab/drink/models.py
lex/yuuh-pizza-kebab
532d931e89e67b94ce77a62e862fa3aca796401e
[ "BSD-2-Clause" ]
1
2016-09-26T13:50:26.000Z
2016-10-01T22:20:27.000Z
yuuhpizzakebab/drink/models.py
lex/yuuh-pizza-kebab
532d931e89e67b94ce77a62e862fa3aca796401e
[ "BSD-2-Clause" ]
null
null
null
from sqlalchemy import text from yuuhpizzakebab import db def get_drinks(): result = db.engine.execute('select * from Drink') drinks = [] for r in result: drinks.append(Drink(r[0], r[1], r[2], r[3])) return drinks def get_drink(id): t = text('select * from Drink where id = :drink_id') ...
22.419048
102
0.564146
318
2,354
4.022013
0.185535
0.081314
0.060985
0.050039
0.239249
0.207975
0.182955
0.156372
0.12197
0.101642
0
0.005773
0.337723
2,354
104
103
22.634615
0.814625
0
0
0.264706
0
0.014706
0.123626
0
0
0
0
0
0
0
null
null
0
0.029412
null
null
0.014706
0
0
0
null
0
0
0
0
0
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
00091dec6599098da1b5107a4f5601bd97eec08b
577
py
Python
ex5.py
SunWalter/Hard
078579bb6344e7f34fff8f9ad9a8c8f7e1462400
[ "Apache-2.0" ]
null
null
null
ex5.py
SunWalter/Hard
078579bb6344e7f34fff8f9ad9a8c8f7e1462400
[ "Apache-2.0" ]
null
null
null
ex5.py
SunWalter/Hard
078579bb6344e7f34fff8f9ad9a8c8f7e1462400
[ "Apache-2.0" ]
null
null
null
my_name = '孙帅比' my_age = 23 my_weight = 70 #kg my_height = 173 #cm my_eyes = 'Black' my_teeth = 'White' my_hair = 'Black' print ("Let talk about %s" % my_name) print ("He is %d kg weight." % my_weight) print ("He is %d cm tall." % my_height) print ("Actually that's not too heavy.") print ("He has got %s eyes and %s...
26.227273
74
0.667244
111
577
3.297297
0.468468
0.087432
0.04918
0.054645
0.114754
0.114754
0
0
0
0
0
0.014989
0.190641
577
21
75
27.47619
0.768737
0.091854
0
0
0
0
0.40499
0
0
0
0
0
0
1
0
false
0
0
0
0
0.466667
0
0
0
null
0
0
0
0
0
0
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
001aa5a507f3314525010358433318f8fb788da5
575
py
Python
fannypack/__init__.py
brentyi/hfdsajk
2888aa5d969824ac1e1a528264674ece3f4703f9
[ "MIT" ]
5
2020-03-13T21:34:31.000Z
2020-10-27T15:18:17.000Z
fannypack/__init__.py
brentyi/hfdsajk
2888aa5d969824ac1e1a528264674ece3f4703f9
[ "MIT" ]
2
2020-06-17T11:06:56.000Z
2020-10-25T03:06:18.000Z
fannypack/__init__.py
brentyi/hfdsajk
2888aa5d969824ac1e1a528264674ece3f4703f9
[ "MIT" ]
4
2020-03-15T01:55:18.000Z
2022-01-21T22:06:48.000Z
from typing import TYPE_CHECKING import platform if TYPE_CHECKING or platform.python_version().startswith("3.6."): from . import data, nn, utils else: # Lazy submodule loading def __getattr__(name): import importlib module = importlib.import_module(__name__) if name not in __all__:...
30.263158
78
0.671304
70
575
5.1
0.571429
0.067227
0.061625
0
0
0
0
0
0
0
0
0.004474
0.222609
575
18
79
31.944444
0.794183
0.038261
0
0
0
0
0.108893
0
0
0
0
0
0
1
0.071429
false
0
0.571429
0
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
0029a7f66b280c80ccf7c3614455c24e22cc64f9
1,141
py
Python
fakedata.py
matthewd673/ur-optics-solar-dashboard
eb7885f9c8adb583b5625eb713afbf4185c07a51
[ "MIT" ]
1
2021-09-05T17:29:37.000Z
2021-09-05T17:29:37.000Z
fakedata.py
Haowjy/ur-optics-solar-dashboard
eb7885f9c8adb583b5625eb713afbf4185c07a51
[ "MIT" ]
3
2021-10-21T02:56:32.000Z
2021-12-06T16:23:47.000Z
fakedata.py
matthewd673/ur-optics-solar-dashboard
eb7885f9c8adb583b5625eb713afbf4185c07a51
[ "MIT" ]
1
2021-08-09T16:41:59.000Z
2021-08-09T16:41:59.000Z
# fakedata.py # run `py fakedata.py` to generate a file full of fake data for testing import random def generateFakeLine(year, doy, mst): out = '0,' + str(year) + ',' + str(doy) + ',' + str(mst) + ',' for i in range(12): out += str(random.randint(40, 60)) if (i < 11): out += ',' ...
30.026316
286
0.540754
161
1,141
3.782609
0.540373
0.029557
0.014778
0.036125
0
0
0
0
0
0
0
0.045397
0.304996
1,141
38
287
30.026316
0.722573
0.108677
0
0.142857
1
0.035714
0.316881
0
0
0
0
0
0
1
0.071429
false
0
0.035714
0
0.142857
0.035714
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
00354613edecc9861c08c29e18bf1ed6792fcc7c
3,580
py
Python
dvm/prob_votes.py
hangulu/dvm
41d5f6ccf4c8424730ba2a6aa781d51973489b03
[ "MIT" ]
2
2020-04-07T17:24:13.000Z
2021-01-28T18:09:43.000Z
dvm/prob_votes.py
hangulu/dvm
41d5f6ccf4c8424730ba2a6aa781d51973489b03
[ "MIT" ]
3
2021-09-08T02:59:40.000Z
2022-03-12T00:59:25.000Z
dvm/prob_votes.py
hangulu/dvm
41d5f6ccf4c8424730ba2a6aa781d51973489b03
[ "MIT" ]
null
null
null
""" This module implements the prob_votes subroutine for the Discrete Voter Model for ecological inference. """ import functools import tensorflow as tf import tensorflow_probability as tfp import elect import tools @functools.lru_cache(maxsize=None) def get_vote_probability(flat_index, phc_shape, demo, partitions)...
36.530612
94
0.708659
508
3,580
4.852362
0.279528
0.032454
0.036511
0.029209
0.290872
0.23854
0.224746
0.224746
0.153347
0.151724
0
0.003936
0.219274
3,580
97
95
36.907216
0.877996
0.535475
0
0.242424
0
0
0
0
0
0
0
0.010309
0
1
0.060606
false
0
0.151515
0
0.272727
0
0
0
0
null
0
0
0
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
00369ba0835e6386d355bfb06d3be5b7ca00bd41
6,246
py
Python
givinggraph/api/app.py
math4youbyusgroupillinois/givinggraph
39f55abb8b7e47030df21ca0b5ce0b7286dbbf82
[ "MIT" ]
18
2015-06-15T17:48:15.000Z
2021-10-03T12:34:38.000Z
givinggraph/api/app.py
math4youbyusgroupillinois/givinggraph
39f55abb8b7e47030df21ca0b5ce0b7286dbbf82
[ "MIT" ]
null
null
null
givinggraph/api/app.py
math4youbyusgroupillinois/givinggraph
39f55abb8b7e47030df21ca0b5ce0b7286dbbf82
[ "MIT" ]
9
2015-01-02T12:07:47.000Z
2021-03-02T04:54:51.000Z
''' Set of RESTful endpoints to query the giving database. See README.md for documentation. ''' # FIXME: Fail gracefully on no results. import json import decimal import datetime from flask import Flask from flask import request from givinggraph.models import DBSession, Nonprofit, Company, News_Article, Nonprofi...
36.313953
145
0.676113
784
6,246
5.156888
0.193878
0.040811
0.051942
0.046253
0.424685
0.350977
0.327727
0.282958
0.263171
0.202572
0
0.004329
0.186359
6,246
171
146
36.526316
0.791224
0.005924
0
0.208333
0
0
0.232872
0.115371
0
0
0
0.005848
0
0
null
null
0
0.058333
null
null
0.008333
0
0
0
null
0
0
0
0
0
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
0036a9d23b99db73436f73cd0dffe0e88fa6160b
87,461
py
Python
inkscapeMadeEasy-master/inkscapeMadeEasy_Draw.py
ilnanny/Inkscape-addons
a30cdde2093fa2da68b90213e057519d0304433f
[ "X11" ]
3
2019-03-08T23:32:29.000Z
2019-05-11T23:53:46.000Z
inkscapeMadeEasy-master/inkscapeMadeEasy_Draw.py
ilnanny/Inkscape-addons
a30cdde2093fa2da68b90213e057519d0304433f
[ "X11" ]
null
null
null
inkscapeMadeEasy-master/inkscapeMadeEasy_Draw.py
ilnanny/Inkscape-addons
a30cdde2093fa2da68b90213e057519d0304433f
[ "X11" ]
null
null
null
#!/usr/bin/python # -------------------------------------------------------------------------------------- # # inkscapeMadeEasy: - Helper module that extends Aaron Spike's inkex.py module, # focusing productivity in inkscape extension development # # Copyright (C) 2016 by Fernando Moura # ...
45.959538
1,376
0.604281
9,795
87,461
5.367432
0.109852
0.002283
0.011317
0.013809
0.597919
0.557956
0.536577
0.509187
0.487446
0.473086
0
0.019343
0.269389
87,461
1,902
1,377
45.983701
0.803412
0.606213
0
0.277895
0
0.006316
0.144692
0.019215
0
0
0.000375
0
0
1
0.056842
false
0
0.016842
0
0.187368
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1