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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0c829dd08fc89fd177e5be8486e7f4534a1834d3 | 6,023 | py | Python | ginger/html/common.py | vivsh/django-ginger | d293109becc72845a23f2aeb732ed808a7a67d69 | [
"MIT"
] | null | null | null | ginger/html/common.py | vivsh/django-ginger | d293109becc72845a23f2aeb732ed808a7a67d69 | [
"MIT"
] | null | null | null | ginger/html/common.py | vivsh/django-ginger | d293109becc72845a23f2aeb732ed808a7a67d69 | [
"MIT"
] | null | null | null | from django.utils.encoding import force_text
import re
from django.utils import six
from ginger import serializer
from jinja2 import Markup
__all__ = ['html_json', 'html_attrs', "Element", "CssClassList", "CssStyle", 'add_css_class', 'empty']
def html_json(values):
content = serializer.encode(values)
try:
... | 25.961207 | 105 | 0.570314 | 743 | 6,023 | 4.457604 | 0.215343 | 0.043176 | 0.024155 | 0.019324 | 0.086957 | 0.053744 | 0.045894 | 0.028382 | 0.028382 | 0.028382 | 0 | 0.00095 | 0.301179 | 6,023 | 232 | 106 | 25.961207 | 0.785935 | 0 | 0 | 0.217143 | 0 | 0 | 0.066235 | 0.00415 | 0 | 0 | 0 | 0 | 0 | 1 | 0.217143 | false | 0 | 0.028571 | 0.097143 | 0.451429 | 0.005714 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
0c82ea548993a09ea500139398743417f2efef96 | 1,278 | py | Python | merchex/listings/models.py | kouroumapaul/merchex | fc02e7f48e2ec517b5bca7910820a8900daf5cb7 | [
"MIT"
] | null | null | null | merchex/listings/models.py | kouroumapaul/merchex | fc02e7f48e2ec517b5bca7910820a8900daf5cb7 | [
"MIT"
] | null | null | null | merchex/listings/models.py | kouroumapaul/merchex | fc02e7f48e2ec517b5bca7910820a8900daf5cb7 | [
"MIT"
] | null | null | null | from django.db import models
from django.core.validators import MinValueValidator, MaxLengthValidator
class Brand(models.Model):
class Genre(models.TextChoices):
HIP_HOP = 'HH'
SYNTH_POP = 'SP'
ALTERNATIVE_ROCK = 'AR'
genre = models.fields.CharField(choices=Genre.choices, max_length=5... | 32.769231 | 74 | 0.707355 | 153 | 1,278 | 5.764706 | 0.437909 | 0.14966 | 0.142857 | 0.108844 | 0.199546 | 0.131519 | 0.056689 | 0 | 0 | 0 | 0 | 0.016252 | 0.181534 | 1,278 | 38 | 75 | 33.631579 | 0.82696 | 0 | 0 | 0.068966 | 0 | 0 | 0.049334 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.068966 | false | 0 | 0.068966 | 0.068966 | 0.758621 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
0c8f8bcc254a60bc48f9fa7b981ec9f9eadf1fea | 593 | py | Python | pinax/stripe/migrations/0009_auto_20170825_1841.py | proitm/pinax-stripe | c5b05f699fde6bd66cc633669604e5a6d1158d8a | [
"MIT"
] | 1 | 2021-08-17T15:12:02.000Z | 2021-08-17T15:12:02.000Z | pinax/stripe/migrations/0009_auto_20170825_1841.py | proitm/pinax-stripe | c5b05f699fde6bd66cc633669604e5a6d1158d8a | [
"MIT"
] | 114 | 2017-10-18T09:14:02.000Z | 2019-01-24T19:03:01.000Z | pinax/stripe/migrations/0009_auto_20170825_1841.py | proitm/pinax-stripe | c5b05f699fde6bd66cc633669604e5a6d1158d8a | [
"MIT"
] | 1 | 2017-10-20T08:13:09.000Z | 2017-10-20T08:13:09.000Z | # -*- coding: utf-8 -*-
# Generated by Django 1.11 on 2017-08-25 18:41
from __future__ import unicode_literals
import django.db.models.deletion
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('pinax_stripe', '0008_auto_20170509_1736'),
]
operati... | 26.954545 | 155 | 0.666105 | 70 | 593 | 5.457143 | 0.685714 | 0.062827 | 0.073298 | 0.115183 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068522 | 0.212479 | 593 | 21 | 156 | 28.238095 | 0.749465 | 0.111298 | 0 | 0 | 1 | 0 | 0.14313 | 0.043893 | 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 |
0c928cb897890eb14c545a76ff91020e1b1e7cda | 2,244 | py | Python | tests/inputs/oneof_default_value_serialization/test_oneof_default_value_serialization.py | DK99/python-betterproto | d213abca03c90d0690e5e4d23894d51751478098 | [
"MIT"
] | 708 | 2019-10-11T06:23:40.000Z | 2022-03-31T09:39:08.000Z | tests/inputs/oneof_default_value_serialization/test_oneof_default_value_serialization.py | DK99/python-betterproto | d213abca03c90d0690e5e4d23894d51751478098 | [
"MIT"
] | 302 | 2019-11-11T22:09:21.000Z | 2022-03-29T11:21:04.000Z | tests/inputs/oneof_default_value_serialization/test_oneof_default_value_serialization.py | DK99/python-betterproto | d213abca03c90d0690e5e4d23894d51751478098 | [
"MIT"
] | 122 | 2019-12-04T16:22:53.000Z | 2022-03-20T09:31:10.000Z | import pytest
import datetime
import betterproto
from tests.output_betterproto.oneof_default_value_serialization import (
Test,
Message,
NestedMessage,
)
def assert_round_trip_serialization_works(message: Test) -> None:
assert betterproto.which_one_of(message, "value_type") == betterproto.which_one_o... | 29.92 | 87 | 0.643494 | 261 | 2,244 | 5.237548 | 0.337165 | 0.096562 | 0.083394 | 0.092173 | 0.403804 | 0.403804 | 0.321873 | 0.321873 | 0.321873 | 0.321873 | 0 | 0.010278 | 0.262923 | 2,244 | 74 | 88 | 30.324324 | 0.816203 | 0.160428 | 0 | 0.113208 | 0 | 0 | 0.047671 | 0.015168 | 0 | 0 | 0 | 0.013514 | 0.09434 | 1 | 0.075472 | false | 0.018868 | 0.075472 | 0 | 0.150943 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 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 |
0c9509874fa64908ccad0a58484184b3c6d4d233 | 527 | py | Python | tests/sync-members.py | KSXGitHub/personal-pacman-packages | e5e6d6d364346f87642456bdc19ccf2145dae121 | [
"MIT"
] | null | null | null | tests/sync-members.py | KSXGitHub/personal-pacman-packages | e5e6d6d364346f87642456bdc19ccf2145dae121 | [
"MIT"
] | 3 | 2020-11-09T06:47:29.000Z | 2021-03-29T09:05:43.000Z | tests/sync-members.py | KSXGitHub/personal-pacman-packages | e5e6d6d364346f87642456bdc19ccf2145dae121 | [
"MIT"
] | null | null | null | #!/usr/bin/python3
from os import scandir
from os.path import dirname, join, isfile
from yaml import load, SafeLoader
root = dirname(dirname(__file__))
yaml_content = load(open(join(root, 'build-pacman-repo.yaml')), Loader=SafeLoader)
expected_members = {member['directory'] for member in yaml_content['members']}
con... | 35.133333 | 96 | 0.772296 | 72 | 527 | 5.486111 | 0.486111 | 0.113924 | 0.101266 | 0.141772 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002119 | 0.104364 | 527 | 14 | 97 | 37.642857 | 0.834746 | 0.032258 | 0 | 0 | 0 | 0 | 0.104126 | 0.043222 | 0 | 0 | 0 | 0 | 0.111111 | 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 |
0ca272f4fec024ea3fb25119ab419b5bfb2be248 | 8,970 | py | Python | cocluster/ssrbcTopicDEBUG.py | ashish-code/co-clustering-visual-categorization | 0e6d97858793c6562d28b2cefd9f61bc2fa079d0 | [
"MIT"
] | null | null | null | cocluster/ssrbcTopicDEBUG.py | ashish-code/co-clustering-visual-categorization | 0e6d97858793c6562d28b2cefd9f61bc2fa079d0 | [
"MIT"
] | null | null | null | cocluster/ssrbcTopicDEBUG.py | ashish-code/co-clustering-visual-categorization | 0e6d97858793c6562d28b2cefd9f61bc2fa079d0 | [
"MIT"
] | null | null | null | '''
Created on 17 Apr 2012
@author: ag00087
'''
import numpy as np
from optparse import OptionParser
import sys
import cocluster, classify
from ccnblplt import plotTopicResult
import shelve
parser = OptionParser()
parser.add_option('-d','--dataset',action='store',type='string',dest='dataset',metavar='dataset',defaul... | 36.762295 | 145 | 0.634448 | 1,046 | 8,970 | 5.418738 | 0.24761 | 0.017466 | 0.029111 | 0.025935 | 0.449718 | 0.403493 | 0.339626 | 0.332569 | 0.332569 | 0.332569 | 0 | 0.014436 | 0.227759 | 8,970 | 243 | 146 | 36.91358 | 0.803811 | 0.104013 | 0 | 0.377778 | 0 | 0 | 0.121391 | 0.009415 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.033333 | null | null | 0.1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
0ca74f16e5b6db0d0ccc1af4927267fb1d8d1b07 | 399 | py | Python | mainapp/migrations/0021_auto_20190106_1624.py | cyroxx/meine-stadt-transparent | d5a3f03a29a1bb97ce50ac5257d8bbd5208d9218 | [
"MIT"
] | null | null | null | mainapp/migrations/0021_auto_20190106_1624.py | cyroxx/meine-stadt-transparent | d5a3f03a29a1bb97ce50ac5257d8bbd5208d9218 | [
"MIT"
] | 61 | 2021-09-01T04:03:34.000Z | 2022-03-01T04:13:18.000Z | mainapp/migrations/0021_auto_20190106_1624.py | codeformuenster/meine-stadt-transparent | 1458bc6acad40183908e2b7cc98ef92165d1123a | [
"MIT"
] | null | null | null | # Generated by Django 2.1.4 on 2019-01-06 15:24
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('mainapp', '0020_auto_20190106_1337'),
]
operations = [
migrations.AddIndex(
model_name='paper',
index=models.Index(f... | 22.166667 | 93 | 0.629073 | 47 | 399 | 5.12766 | 0.808511 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 0.24812 | 399 | 17 | 94 | 23.470588 | 0.683333 | 0.112782 | 0 | 0 | 1 | 0 | 0.213068 | 0.150568 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.090909 | 0 | 0.363636 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
0caec9828d984e2a76095fc777f5673cccfeb215 | 5,516 | py | Python | marketorestpython/helper/http_lib.py | bisibuka/marketo-rest-python | a4f72e20ccf3c3596a67dd4f5bbcf296b748e590 | [
"MIT"
] | null | null | null | marketorestpython/helper/http_lib.py | bisibuka/marketo-rest-python | a4f72e20ccf3c3596a67dd4f5bbcf296b748e590 | [
"MIT"
] | null | null | null | marketorestpython/helper/http_lib.py | bisibuka/marketo-rest-python | a4f72e20ccf3c3596a67dd4f5bbcf296b748e590 | [
"MIT"
] | null | null | null | import requests
import time
import mimetypes
import json
import logging
from requests.models import PreparedRequest
class HttpLib:
max_retries = 3
sleep_duration = 10
def __init__(self, logbook_logger = None):
self.logbook_logger = logbook_logger
def error_log(self, message):
if self.l... | 49.25 | 198 | 0.49293 | 559 | 5,516 | 4.767442 | 0.29517 | 0.022514 | 0.033771 | 0.03152 | 0.282927 | 0.24878 | 0.195122 | 0.120826 | 0 | 0 | 0 | 0.0191 | 0.41153 | 5,516 | 111 | 199 | 49.693694 | 0.80191 | 0.139775 | 0 | 0.229885 | 0 | 0 | 0.089467 | 0.005288 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.068966 | null | null | 0.011494 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 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 |
0caf80439b887485f39c234039b41e2e564415bd | 3,073 | py | Python | tests/test_all.py | Pioverpie/privatebin-api | 65b12589a08f57224452c2e6a22e5bf730eecbde | [
"MIT"
] | 14 | 2020-10-28T20:01:20.000Z | 2022-01-08T09:38:58.000Z | tests/test_all.py | Pioverpie/privatebin-api | 65b12589a08f57224452c2e6a22e5bf730eecbde | [
"MIT"
] | 3 | 2020-10-29T07:52:23.000Z | 2021-08-06T21:53:36.000Z | tests/test_all.py | Pioverpie/privatebin-api | 65b12589a08f57224452c2e6a22e5bf730eecbde | [
"MIT"
] | null | null | null | import asyncio
import json
import pytest
import privatebinapi
from privatebinapi import common, deletion, download, upload
from tests import MESSAGE, RESPONSE_DATA, SERVERS_AND_FILES
@pytest.mark.parametrize("server, file", SERVERS_AND_FILES)
def test_full(server, file):
send_data = privatebinapi.send(
... | 25.396694 | 89 | 0.686951 | 334 | 3,073 | 6.122754 | 0.266467 | 0.041076 | 0.04401 | 0.047922 | 0.320782 | 0.143765 | 0.143765 | 0.143765 | 0.143765 | 0.07824 | 0 | 0.001234 | 0.208916 | 3,073 | 120 | 90 | 25.608333 | 0.839984 | 0.004556 | 0 | 0.388889 | 0 | 0 | 0.08216 | 0.024877 | 0 | 0 | 0 | 0 | 0.033333 | 1 | 0.144444 | false | 0.177778 | 0.066667 | 0 | 0.244444 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
0cb082e17ff5cfcd39a7dd78578c804688a2f25d | 806 | py | Python | setup.py | DanNixon/PlayMusicCL | b8292a893a88b0f9b2d26823c6bf28e7c0147105 | [
"Apache-2.0"
] | 134 | 2015-01-12T09:31:40.000Z | 2018-11-27T05:56:37.000Z | setup.py | DanNixon/PlayMusicCL | b8292a893a88b0f9b2d26823c6bf28e7c0147105 | [
"Apache-2.0"
] | 32 | 2015-01-31T19:38:59.000Z | 2017-04-30T23:57:06.000Z | setup.py | DanNixon/PlayMusicCL | b8292a893a88b0f9b2d26823c6bf28e7c0147105 | [
"Apache-2.0"
] | 31 | 2015-04-01T00:14:54.000Z | 2018-09-29T08:28:34.000Z | from setuptools import setup
setup(
name='playmusiccl',
version='0.6.2',
entry_points = {
'console_scripts': ['playmusiccl=playmusiccl:run'],
},
description='Text based command line client for Google Play Music',
classifiers=[
'License :: OSI Approved :: Apache Software License'... | 27.793103 | 71 | 0.622829 | 84 | 806 | 5.892857 | 0.761905 | 0.044444 | 0.060606 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008143 | 0.238213 | 806 | 28 | 72 | 28.785714 | 0.798046 | 0 | 0 | 0.074074 | 0 | 0 | 0.490074 | 0.033499 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.037037 | 0 | 0.037037 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
0cbb7fd8b9dbd6b14f8690201a1ad09759f8818b | 2,350 | py | Python | threadpool.py | isayme/threadpool.py | 8ebc46a4f91a3f2c2a68417a24687ba71d88f22d | [
"MIT"
] | 4 | 2015-10-23T08:27:09.000Z | 2018-02-17T22:31:41.000Z | threadpool.py | isayme/threadpool.py | 8ebc46a4f91a3f2c2a68417a24687ba71d88f22d | [
"MIT"
] | null | null | null | threadpool.py | isayme/threadpool.py | 8ebc46a4f91a3f2c2a68417a24687ba71d88f22d | [
"MIT"
] | 6 | 2015-06-10T01:22:02.000Z | 2021-09-27T07:03:14.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""A simple ThreadPool library.
"""
from Queue import Queue
from threading import Event, Thread
class ThreadPool(object):
def __init__(self, max_thread=10):
self.max_thread = max_thread
self.task_queue = Queue()
self.threads = []
fo... | 23.737374 | 61 | 0.522128 | 269 | 2,350 | 4.345725 | 0.330855 | 0.092387 | 0.111206 | 0.033362 | 0.127459 | 0.041061 | 0 | 0 | 0 | 0 | 0 | 0.004752 | 0.373191 | 2,350 | 98 | 62 | 23.979592 | 0.788866 | 0.040851 | 0 | 0.140625 | 0 | 0 | 0.012212 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.078125 | null | null | 0.03125 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
0cc4115a736953e56f94776de3c47b8cbaacd545 | 581 | py | Python | mmdet3d/ops/pointnet_modules/__init__.py | ZJULearning/SRDet | 12d9302fad742f64ca3c8e05cd601d7dca1bf81e | [
"Apache-2.0"
] | 27 | 2021-09-08T13:38:24.000Z | 2022-03-19T11:08:54.000Z | mmdet3d/ops/pointnet_modules/__init__.py | ZJULearning/SRDet | 12d9302fad742f64ca3c8e05cd601d7dca1bf81e | [
"Apache-2.0"
] | 1 | 2021-11-21T08:47:46.000Z | 2021-11-29T08:41:16.000Z | mmdet3d/ops/pointnet_modules/__init__.py | ZJULearning/SRDet | 12d9302fad742f64ca3c8e05cd601d7dca1bf81e | [
"Apache-2.0"
] | 2 | 2021-09-21T10:10:19.000Z | 2021-11-28T03:47:38.000Z | # Copyright (c) OpenMMLab. All rights reserved.
from .builder import build_sa_module
from .paconv_sa_module import (PAConvCUDASAModule, PAConvCUDASAModuleMSG,
PAConvSAModule, PAConvSAModuleMSG)
from .point_fp_module import PointFPModule
from .point_sa_module import PointSAModule, PointSAM... | 41.5 | 76 | 0.769363 | 52 | 581 | 8.288462 | 0.461538 | 0.074246 | 0.060325 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006085 | 0.151463 | 581 | 13 | 77 | 44.692308 | 0.868154 | 0.077453 | 0 | 0 | 0 | 0 | 0.265918 | 0.039326 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.454545 | 0 | 0.454545 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 |
0cc8deb2874e718898b7fa7fc33c2bc33f819c7d | 12,123 | py | Python | get_terraref.py | Chris-Schnaufer/utils | cf74bae06f3712d24ebf2d329b1cd51f043c38f1 | [
"BSD-3-Clause"
] | null | null | null | get_terraref.py | Chris-Schnaufer/utils | cf74bae06f3712d24ebf2d329b1cd51f043c38f1 | [
"BSD-3-Clause"
] | null | null | null | get_terraref.py | Chris-Schnaufer/utils | cf74bae06f3712d24ebf2d329b1cd51f043c38f1 | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python3
""" Generate TERRA REF canopy cover """
import argparse
import logging
import os
import stat
import subprocess
from typing import Optional
import globus_sdk
GLOBUS_ENDPOINT = 'Terraref'
GLOBUS_PATH = '/ua-mac/public/season-6/Level_2/rgb_fullfield/'
LOCAL_SAVE_PATH = os.path.realpath(os.getcwd(... | 42.388112 | 128 | 0.626825 | 1,488 | 12,123 | 4.897849 | 0.231855 | 0.032931 | 0.022091 | 0.024012 | 0.251647 | 0.202525 | 0.178375 | 0.157656 | 0.133782 | 0.108809 | 0 | 0.005422 | 0.284995 | 12,123 | 285 | 129 | 42.536842 | 0.835371 | 0.156892 | 0 | 0.152174 | 1 | 0 | 0.16012 | 0.016152 | 0 | 0 | 0 | 0 | 0 | 1 | 0.032609 | false | 0 | 0.038043 | 0 | 0.092391 | 0.081522 | 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 |
0ce25e13d728143924916503a37672514b9f77b2 | 422 | py | Python | src/book/migrations/0005_alter_book_video.py | benniphilipp/dj_ajax | 62037971f5530851b6a541bbbcdda36d46134a99 | [
"MIT"
] | null | null | null | src/book/migrations/0005_alter_book_video.py | benniphilipp/dj_ajax | 62037971f5530851b6a541bbbcdda36d46134a99 | [
"MIT"
] | null | null | null | src/book/migrations/0005_alter_book_video.py | benniphilipp/dj_ajax | 62037971f5530851b6a541bbbcdda36d46134a99 | [
"MIT"
] | null | null | null | # Generated by Django 3.2.7 on 2021-09-14 09:00
from django.db import migrations
import embed_video.fields
class Migration(migrations.Migration):
dependencies = [
('book', '0004_alter_book_video'),
]
operations = [
migrations.AlterField(
model_name='book',
name='... | 21.1 | 76 | 0.620853 | 48 | 422 | 5.333333 | 0.6875 | 0.078125 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061489 | 0.267773 | 422 | 19 | 77 | 22.210526 | 0.76699 | 0.106635 | 0 | 0 | 1 | 0 | 0.090667 | 0.056 | 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 |
0ce507e00abe559a147d76bc6f51b603a8773570 | 244 | py | Python | programa_desafio1.py | tiago-clementino/desafioDevOps | 94a7f0f4e4f9a9bcef082c07f62566ffde54bcb0 | [
"MIT"
] | null | null | null | programa_desafio1.py | tiago-clementino/desafioDevOps | 94a7f0f4e4f9a9bcef082c07f62566ffde54bcb0 | [
"MIT"
] | null | null | null | programa_desafio1.py | tiago-clementino/desafioDevOps | 94a7f0f4e4f9a9bcef082c07f62566ffde54bcb0 | [
"MIT"
] | null | null | null | import numpy as np
from scipy import stats
def uma_função_fictícia():
"""Não faz nada, mas tem requisitos. :)"""
matriz1 = np.random.rand(5, 5)
print(stats.describe(matriz1))
if __name__ == '__main__':
uma_função_fictícia()
| 18.769231 | 46 | 0.680328 | 34 | 244 | 4.529412 | 0.764706 | 0.116883 | 0.220779 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020305 | 0.192623 | 244 | 12 | 47 | 20.333333 | 0.761421 | 0.147541 | 0 | 0 | 0 | 0 | 0.039604 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.285714 | 0 | 0.428571 | 0.142857 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
0cea5dafaa9cef047773818cf9cf0ddc901b9e6c | 265 | py | Python | example/application/app/routes.py | wesbarnett/apache-flask | b843353ec909358003c7384953b4a645778e05e0 | [
"Apache-2.0"
] | 3 | 2021-04-20T08:06:37.000Z | 2022-03-02T14:12:11.000Z | example/application/app/routes.py | wesbarnett/apache-flask | b843353ec909358003c7384953b4a645778e05e0 | [
"Apache-2.0"
] | null | null | null | example/application/app/routes.py | wesbarnett/apache-flask | b843353ec909358003c7384953b4a645778e05e0 | [
"Apache-2.0"
] | 2 | 2021-03-11T03:31:38.000Z | 2021-05-01T14:53:03.000Z | from app import app
from flask import render_template
@app.route('/')
def index():
page = { 'title': 'Home',
'meta_title': 'A meta title',
'meta_description': 'A meta description' }
return render_template("index.html", page=page)
| 26.5 | 54 | 0.622642 | 33 | 265 | 4.878788 | 0.515152 | 0.173913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.237736 | 265 | 9 | 55 | 29.444444 | 0.79703 | 0 | 0 | 0 | 0 | 0 | 0.286792 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.25 | 0 | 0.5 | 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 |
0cec00f9d753d2de4e71bac9556c018bda81c990 | 3,734 | py | Python | 3rdparty/wxWidgets/misc/scripts/update_doc_libs.py | mikiec84/winsparkle | e73db4ddb3be830b36b58e2f90f4bee6a0c684b7 | [
"MIT"
] | 2 | 2015-01-10T09:15:16.000Z | 2018-01-03T21:21:46.000Z | 3rdparty/wxWidgets/misc/scripts/update_doc_libs.py | mikiec84/winsparkle | e73db4ddb3be830b36b58e2f90f4bee6a0c684b7 | [
"MIT"
] | null | null | null | 3rdparty/wxWidgets/misc/scripts/update_doc_libs.py | mikiec84/winsparkle | e73db4ddb3be830b36b58e2f90f4bee6a0c684b7 | [
"MIT"
] | 1 | 2019-01-20T12:55:33.000Z | 2019-01-20T12:55:33.000Z | ##############################################################################
# Name: misc/scripts/update_doc_libs.py
# Purpose: Automatically insert \Library{} headers in the doc files
# Created: 2007-07-28
# RCS-ID: $Id: makeunixtags.sh 46320 2007-06-04 11:02:29Z VZ $
# Copyright: (c) 2007 Francesco... | 36.970297 | 96 | 0.563739 | 457 | 3,734 | 4.582057 | 0.356674 | 0.020057 | 0.022923 | 0.026743 | 0.114613 | 0.114613 | 0.114613 | 0.088825 | 0.088825 | 0.053486 | 0 | 0.016363 | 0.279861 | 3,734 | 100 | 97 | 37.34 | 0.762365 | 0.223353 | 0 | 0.149254 | 0 | 0 | 0.205731 | 0.020573 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.014925 | 0.014925 | null | null | 0.164179 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 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 |
0cf54b917b3f4e4c5bc20392ad0cbc8d6f2ddf2f | 6,768 | py | Python | ultracart/models/item_digital_item.py | gstingy/uc_python_api | 9a0bd3f6e63f616586681518e44fe37c6bae2bba | [
"Apache-2.0"
] | null | null | null | ultracart/models/item_digital_item.py | gstingy/uc_python_api | 9a0bd3f6e63f616586681518e44fe37c6bae2bba | [
"Apache-2.0"
] | null | null | null | ultracart/models/item_digital_item.py | gstingy/uc_python_api | 9a0bd3f6e63f616586681518e44fe37c6bae2bba | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
"""
UltraCart Rest API V2
UltraCart REST API Version 2
OpenAPI spec version: 2.0.0
Contact: support@ultracart.com
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from pprint import pformat
from six import iteritems
import re
class ItemDigitalItem(object):
... | 27.62449 | 116 | 0.5888 | 766 | 6,768 | 5.018277 | 0.172324 | 0.052029 | 0.109261 | 0.016909 | 0.468002 | 0.333507 | 0.242196 | 0.201613 | 0.110302 | 0.083767 | 0 | 0.005969 | 0.331708 | 6,768 | 244 | 117 | 27.737705 | 0.843909 | 0.283392 | 0 | 0.069307 | 1 | 0 | 0.111705 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.158416 | false | 0 | 0.029703 | 0 | 0.326733 | 0.009901 | 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 |
0cf5caf053fc5ea7de57eb9cb540d874344b20db | 2,638 | py | Python | RLAgents/lib_common/TrainingLog.py | michalnand/reinforcement_learning_agents | 45f02c23b1135c87311dce5a52f6e643e4313fc3 | [
"MIT"
] | 2 | 2021-08-05T20:50:41.000Z | 2021-12-25T11:00:38.000Z | RLAgents/lib_common/TrainingLog.py | michalnand/reinforcement_learning_agents | 45f02c23b1135c87311dce5a52f6e643e4313fc3 | [
"MIT"
] | null | null | null | RLAgents/lib_common/TrainingLog.py | michalnand/reinforcement_learning_agents | 45f02c23b1135c87311dce5a52f6e643e4313fc3 | [
"MIT"
] | null | null | null | import numpy
import time
class TrainingLog:
def __init__(self, file_name, iteartions_skip_log = 10):
self.iterations = 0
self.episodes = 0
self.episode_score_sum = 0.0
self.episode_iterations = 0.0
self.episode_iterations_filtered = 0.0
se... | 31.783133 | 131 | 0.582638 | 333 | 2,638 | 4.282282 | 0.165165 | 0.246844 | 0.145863 | 0.13324 | 0.510519 | 0.347826 | 0.192847 | 0.117812 | 0.068724 | 0.068724 | 0 | 0.021691 | 0.318423 | 2,638 | 82 | 132 | 32.170732 | 0.771413 | 0 | 0 | 0.109091 | 0 | 0 | 0.005315 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.036364 | false | 0 | 0.036364 | 0 | 0.090909 | 0.018182 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
0cfc51eb2891aed3c1ebcebd5a113f1e7f4b883b | 3,396 | py | Python | alarmageddon/validations/http_expectations.py | PearsonEducation/Alarmageddon | 71626baff9dd8066990eacef3f452f21315d4180 | [
"Apache-2.0"
] | 10 | 2015-01-22T14:11:31.000Z | 2020-08-07T11:41:29.000Z | alarmageddon/validations/http_expectations.py | PearsonEducation/Alarmageddon | 71626baff9dd8066990eacef3f452f21315d4180 | [
"Apache-2.0"
] | 31 | 2015-01-07T20:38:16.000Z | 2019-04-12T14:06:42.000Z | alarmageddon/validations/http_expectations.py | PearsonEducation/Alarmageddon | 71626baff9dd8066990eacef3f452f21315d4180 | [
"Apache-2.0"
] | 11 | 2015-01-07T01:42:01.000Z | 2019-03-19T06:32:20.000Z | """Expectations that can be placed on an HTTP request"""
class ResponseExpectation(object):
"""An expectation placed on an HTTP response."""
def __init__(self):
pass
def validate(self, validation, response):
"""If the expectation is met, do nothing. If the expectation is
not met... | 35.010309 | 87 | 0.616019 | 388 | 3,396 | 5.190722 | 0.242268 | 0.043694 | 0.044687 | 0.049652 | 0.227905 | 0.161867 | 0.077954 | 0.060576 | 0.060576 | 0 | 0 | 0.005698 | 0.276502 | 3,396 | 96 | 88 | 35.375 | 0.814001 | 0.242638 | 0 | 0.285714 | 0 | 0 | 0.109736 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.244898 | false | 0.040816 | 0 | 0.061224 | 0.408163 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
4904358e54a14a6d6016d92ebc9b65cdeb1f6840 | 5,400 | py | Python | src/python/codebay/l2tpserver/webui/livecd/formatconfirm.py | nakedible/vpnease-l2tp | 0fcda6a757f2bc5c37f4753b3cd8b1c6d282db5c | [
"WTFPL"
] | 5 | 2015-04-16T08:36:17.000Z | 2017-05-12T17:20:12.000Z | src/python/codebay/l2tpserver/webui/livecd/formatconfirm.py | nakedible/vpnease-l2tp | 0fcda6a757f2bc5c37f4753b3cd8b1c6d282db5c | [
"WTFPL"
] | null | null | null | src/python/codebay/l2tpserver/webui/livecd/formatconfirm.py | nakedible/vpnease-l2tp | 0fcda6a757f2bc5c37f4753b3cd8b1c6d282db5c | [
"WTFPL"
] | 4 | 2015-03-19T14:39:51.000Z | 2019-01-23T08:22:55.000Z | __docformat__ = 'epytext en'
import os
import formal
from twisted.internet import reactor
from nevow import inevow
from codebay.l2tpserver.webui import commonpage
from codebay.nevow.formalutils import formalutils
from codebay.common import rdf
from codebay.common import passwordgen
from codebay.l2tpserver import co... | 39.130435 | 115 | 0.639815 | 591 | 5,400 | 5.676819 | 0.309645 | 0.032787 | 0.043815 | 0.044709 | 0.400596 | 0.340387 | 0.317139 | 0.296274 | 0.269449 | 0.215797 | 0 | 0.005551 | 0.266111 | 5,400 | 137 | 116 | 39.416058 | 0.84103 | 0.073704 | 0 | 0.231579 | 0 | 0 | 0.087515 | 0.025492 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.031579 | 0.147368 | null | null | 0.042105 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 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 |
4904cfbfffc7b6d4270c1480747db49286da7734 | 10,732 | py | Python | egami.py | flebel/Egami | 4e50c7979fb4cc98d6b0b22e37ca78db6c7fd3c9 | [
"BSD-3-Clause"
] | null | null | null | egami.py | flebel/Egami | 4e50c7979fb4cc98d6b0b22e37ca78db6c7fd3c9 | [
"BSD-3-Clause"
] | null | null | null | egami.py | flebel/Egami | 4e50c7979fb4cc98d6b0b22e37ca78db6c7fd3c9 | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python
# Egami: a very simple image gallery built using Flask, which
# serves image files found in the directory where it is executed.
# Copyright (C) 2011-2015 Francois Lebel <francoislebel@gmail.com>
# http://github.com/flebel/egami
#
# This program is free software: you can redistribute it and/or mod... | 37.134948 | 138 | 0.519661 | 1,098 | 10,732 | 5.023679 | 0.320583 | 0.021936 | 0.027737 | 0.016316 | 0.17132 | 0.141044 | 0.047861 | 0.047861 | 0.047861 | 0.047861 | 0 | 0.014855 | 0.347652 | 10,732 | 288 | 139 | 37.263889 | 0.773032 | 0.110604 | 0 | 0.164502 | 0 | 0.030303 | 0.760072 | 0.144841 | 0 | 0 | 0 | 0 | 0 | 1 | 0.025974 | false | 0 | 0.038961 | 0.004329 | 0.108225 | 0 | 0 | 0 | 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 |
4907337fc5d8826bcdfc738f6c63c64891c13a53 | 163 | py | Python | Beginner/WhileLoop.py | mihirkemkar/pythonexercises | 761d818fe7cc0e4234751f6cd24532cd8171418d | [
"Unlicense"
] | null | null | null | Beginner/WhileLoop.py | mihirkemkar/pythonexercises | 761d818fe7cc0e4234751f6cd24532cd8171418d | [
"Unlicense"
] | null | null | null | Beginner/WhileLoop.py | mihirkemkar/pythonexercises | 761d818fe7cc0e4234751f6cd24532cd8171418d | [
"Unlicense"
] | null | null | null |
num = 1
factors = list()
while num <= 100:
if (num % 10) == 0:
factors.append(num)
num = num + 1
print("Factors :",factors)
| 10.1875 | 28 | 0.466258 | 20 | 163 | 3.8 | 0.55 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 0.386503 | 163 | 15 | 29 | 10.866667 | 0.68 | 0 | 0 | 0 | 0 | 0 | 0.06383 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.142857 | 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 |
0b21a744f5fe598d689cb5817267c5741f985ac6 | 725 | py | Python | src/imable_backend/models/experience.py | AlinMH/imable-backend | b304f2c020a6eee60a3cac1d28cfccd6415bdb60 | [
"MIT"
] | null | null | null | src/imable_backend/models/experience.py | AlinMH/imable-backend | b304f2c020a6eee60a3cac1d28cfccd6415bdb60 | [
"MIT"
] | null | null | null | src/imable_backend/models/experience.py | AlinMH/imable-backend | b304f2c020a6eee60a3cac1d28cfccd6415bdb60 | [
"MIT"
] | null | null | null | from fastapi_users.db.sqlalchemy import GUID
from sqlalchemy import Column, Date, ForeignKey, Integer, String
from sqlalchemy.orm import relationship
from .base_model import Base
class Experience(Base):
__tablename__ = "experience"
id = Column(Integer, primary_key=True)
user_id = Column(GUID, ForeignKey(... | 36.25 | 65 | 0.746207 | 89 | 725 | 5.955056 | 0.426966 | 0.122642 | 0.135849 | 0.118868 | 0.29434 | 0.192453 | 0 | 0 | 0 | 0 | 0 | 0.020968 | 0.144828 | 725 | 19 | 66 | 38.157895 | 0.833871 | 0 | 0 | 0 | 0 | 0 | 0.056552 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.266667 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 |
0b22a63436db33acc781ea41f224dd09ef131feb | 853 | py | Python | app/users/views.py | harsh-onai/python-django | bf628cab37bb0eb19fcf6b14afe78a590ebeb690 | [
"MIT"
] | null | null | null | app/users/views.py | harsh-onai/python-django | bf628cab37bb0eb19fcf6b14afe78a590ebeb690 | [
"MIT"
] | null | null | null | app/users/views.py | harsh-onai/python-django | bf628cab37bb0eb19fcf6b14afe78a590ebeb690 | [
"MIT"
] | null | null | null | from users.serializers import UserSerializer, AuthTokenSerializer
from rest_framework.authtoken.views import ObtainAuthToken
from rest_framework.settings import api_settings
from rest_framework import generics, authentication, permissions
class CreateUserView(generics.CreateAPIView):
"""Create User Serializer Reg... | 32.807692 | 66 | 0.796014 | 82 | 853 | 8.109756 | 0.52439 | 0.090226 | 0.076692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138335 | 853 | 25 | 67 | 34.12 | 0.904762 | 0.089097 | 0 | 0.133333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066667 | false | 0 | 0.266667 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 |
0b23e87a931e8a7b39542cebbdcd44c3cb0e3324 | 862 | py | Python | autharch_sharc/editor/tests/factories.py | kingsdigitallab/autharch_sharc | 92de5fbec8cc72ce48a9e25eb634d40ac2cc83ca | [
"MIT"
] | null | null | null | autharch_sharc/editor/tests/factories.py | kingsdigitallab/autharch_sharc | 92de5fbec8cc72ce48a9e25eb634d40ac2cc83ca | [
"MIT"
] | null | null | null | autharch_sharc/editor/tests/factories.py | kingsdigitallab/autharch_sharc | 92de5fbec8cc72ce48a9e25eb634d40ac2cc83ca | [
"MIT"
] | null | null | null | import ead.models as ead_models
import factory
from factory.django import DjangoModelFactory
import autharch_sharc.editor.models as models
class StoryObjectFactory(DjangoModelFactory):
RCIN = factory.Faker("random_int", min=1, max=9999)
class Meta:
model = models.StoryObject
class ThemeObjectColle... | 22.684211 | 63 | 0.718097 | 92 | 862 | 6.641304 | 0.554348 | 0.05892 | 0.091653 | 0.065466 | 0.134206 | 0.134206 | 0 | 0 | 0 | 0 | 0 | 0.021739 | 0.199536 | 862 | 37 | 64 | 23.297297 | 0.863768 | 0.035963 | 0 | 0.166667 | 0 | 0 | 0.038835 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.833333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
0b25e3885cf757629f73eb11771b950f472d1175 | 40,157 | py | Python | api/tacticalrmm/automation/tests.py | azulskyknight/tacticalrmm | 6bb2eb25a139c7017d4fbc0d66c099005d10c430 | [
"MIT"
] | 1 | 2021-01-19T20:39:02.000Z | 2021-01-19T20:39:02.000Z | api/tacticalrmm/automation/tests.py | azulskyknight/tacticalrmm | 6bb2eb25a139c7017d4fbc0d66c099005d10c430 | [
"MIT"
] | null | null | null | api/tacticalrmm/automation/tests.py | azulskyknight/tacticalrmm | 6bb2eb25a139c7017d4fbc0d66c099005d10c430 | [
"MIT"
] | null | null | null | from unittest.mock import patch
from tacticalrmm.test import TacticalTestCase
from model_bakery import baker, seq
from itertools import cycle
from agents.models import Agent
from winupdate.models import WinUpdatePolicy
from .serializers import (
PolicyTableSerializer,
PolicySerializer,
PolicyTaskStatusSeri... | 37.320632 | 89 | 0.636726 | 4,682 | 40,157 | 5.274028 | 0.057454 | 0.073503 | 0.048475 | 0.053659 | 0.785729 | 0.710768 | 0.618353 | 0.583283 | 0.53667 | 0.50002 | 0 | 0.012794 | 0.252559 | 40,157 | 1,075 | 90 | 37.355349 | 0.809895 | 0.07249 | 0 | 0.512418 | 0 | 0 | 0.122453 | 0.047878 | 0 | 0 | 0 | 0 | 0.215686 | 1 | 0.04183 | false | 0 | 0.033987 | 0 | 0.078431 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
0b2c3b794e9cac4d7f4b2ff17ee4cc6a379284e5 | 1,367 | py | Python | backend/app/main.py | MaastrichtU-IDS/knowledge-collaboratory | d1e9bd7595c944c0a936bdcce4a145c0a19e8d7f | [
"MIT"
] | 1 | 2022-03-05T17:35:03.000Z | 2022-03-05T17:35:03.000Z | backend/app/main.py | MaastrichtU-IDS/knowledge-collaboratory | d1e9bd7595c944c0a936bdcce4a145c0a19e8d7f | [
"MIT"
] | null | null | null | backend/app/main.py | MaastrichtU-IDS/knowledge-collaboratory | d1e9bd7595c944c0a936bdcce4a145c0a19e8d7f | [
"MIT"
] | null | null | null | from fastapi import FastAPI
from fastapi.responses import RedirectResponse
from starlette.middleware.cors import CORSMiddleware
from starlette.middleware.sessions import SessionMiddleware
import strawberry
from typing import List, Optional
from app.api.api import api_router
from app.config import settings
from app.tr... | 29.085106 | 82 | 0.729334 | 163 | 1,367 | 5.91411 | 0.509202 | 0.024896 | 0.047718 | 0.037344 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.000874 | 0.163131 | 1,367 | 46 | 83 | 29.717391 | 0.841783 | 0.253109 | 0 | 0 | 0 | 0 | 0.065411 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.034483 | false | 0 | 0.310345 | 0 | 0.37931 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
0b2cce0a123198b72fe843cac7c03bc6c6e32828 | 1,260 | py | Python | content/test/gpu/gpu_tests/memory_expectations.py | justremotephone/android_external_chromium_org | 246856e61da7acf5494076c74198f2aea894a721 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2020-01-25T10:18:18.000Z | 2021-01-23T15:29:56.000Z | content/test/gpu/gpu_tests/memory_expectations.py | justremotephone/android_external_chromium_org | 246856e61da7acf5494076c74198f2aea894a721 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2018-02-10T21:00:08.000Z | 2018-03-20T05:09:50.000Z | content/test/gpu/gpu_tests/memory_expectations.py | justremotephone/android_external_chromium_org | 246856e61da7acf5494076c74198f2aea894a721 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2020-11-04T07:24:13.000Z | 2020-11-04T07:24:13.000Z | # Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
from telemetry.page import test_expectations
# Valid expectation conditions are:
#
# Operating systems:
# win, xp, vista, win7, mac, leopard, snowleopar... | 35 | 74 | 0.69127 | 172 | 1,260 | 5.052326 | 0.680233 | 0.036824 | 0.064442 | 0.087457 | 0.147296 | 0.096663 | 0.096663 | 0.096663 | 0.096663 | 0.096663 | 0 | 0.045054 | 0.189683 | 1,260 | 35 | 75 | 36 | 0.806072 | 0.688889 | 0 | 0 | 0 | 0 | 0.144022 | 0 | 0 | 0 | 0.016304 | 0.028571 | 0 | 1 | 0.166667 | false | 0 | 0.166667 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
0b2d3284c0abd90f473711b269217c141f47a6e7 | 10,510 | py | Python | enaml/qt/styleutil.py | jwiggins/enaml | 1c8793ba5390c52e119423684753fc3b1b893ae2 | [
"BSD-3-Clause-Clear"
] | 26 | 2016-04-01T18:49:31.000Z | 2020-07-21T22:19:46.000Z | enaml/qt/styleutil.py | jwiggins/enaml | 1c8793ba5390c52e119423684753fc3b1b893ae2 | [
"BSD-3-Clause-Clear"
] | 29 | 2016-02-22T17:40:55.000Z | 2018-08-21T18:18:36.000Z | enaml/qt/styleutil.py | jwiggins/enaml | 1c8793ba5390c52e119423684753fc3b1b893ae2 | [
"BSD-3-Clause-Clear"
] | 4 | 2016-08-29T13:07:19.000Z | 2018-11-04T01:31:46.000Z | #------------------------------------------------------------------------------
# Copyright (c) 2013, Nucleic Development Team.
#
# Distributed under the terms of the Modified BSD License.
#
# The full license is in the file COPYING.txt, distributed with this software.
#-------------------------------------------------... | 26.209476 | 79 | 0.615319 | 1,395 | 10,510 | 4.421505 | 0.126165 | 0.039721 | 0.044261 | 0.046855 | 0.468385 | 0.415532 | 0.402075 | 0.347601 | 0.324416 | 0.22179 | 0 | 0.00159 | 0.222265 | 10,510 | 400 | 80 | 26.275 | 0.752997 | 0.048525 | 0 | 0.367742 | 0 | 0 | 0.254955 | 0.098298 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.003226 | 0.006452 | 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 |
0b3b2549ed3f6c5a4335e1641cf4cfd5da33df32 | 3,675 | py | Python | adapter/management/commands/init_data.py | RockyLiys/2_backend | c4cb0352edaf361f4fd5bdad0abc1433af71b445 | [
"Apache-2.0"
] | null | null | null | adapter/management/commands/init_data.py | RockyLiys/2_backend | c4cb0352edaf361f4fd5bdad0abc1433af71b445 | [
"Apache-2.0"
] | 6 | 2020-03-24T15:43:20.000Z | 2021-06-10T20:08:23.000Z | adapter/management/commands/init_data.py | RockyLiys/2_backend | c4cb0352edaf361f4fd5bdad0abc1433af71b445 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
from django.core.management.base import BaseCommand, CommandError
from django.utils import translation
from adapter.models import Category, Power, Hobbies, Ability, AbilityWeight, TrainingDirection
from django.conf import settings
from misc.enum import TRAINING_DIRECTION
import json
import os
F... | 36.029412 | 94 | 0.528707 | 421 | 3,675 | 4.510689 | 0.448931 | 0.044234 | 0.035808 | 0.037915 | 0.109531 | 0.038968 | 0.038968 | 0.038968 | 0 | 0 | 0 | 0.004167 | 0.346939 | 3,675 | 101 | 95 | 36.386139 | 0.787083 | 0.044898 | 0 | 0.022472 | 0 | 0 | 0.06482 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.089888 | null | null | 0.011236 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 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 |
0b3df7e631e92abc2cea8176e5382f84c3c219cb | 663 | py | Python | server/processes/migrations/0142_auto_20210131_0621.py | CloudReactor/task_manager | 464ca74371064fabb9a21b1f5bacba30360932ab | [
"Fair"
] | null | null | null | server/processes/migrations/0142_auto_20210131_0621.py | CloudReactor/task_manager | 464ca74371064fabb9a21b1f5bacba30360932ab | [
"Fair"
] | 6 | 2021-11-01T01:35:40.000Z | 2022-02-11T03:33:06.000Z | server/processes/migrations/0142_auto_20210131_0621.py | CloudReactor/task_manager | 464ca74371064fabb9a21b1f5bacba30360932ab | [
"Fair"
] | null | null | null | # Generated by Django 2.2.14 on 2021-01-31 06:21
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('processes', '0141_auto_20210104_0808'),
]
operations = [
migrations.RenameField(
model_name='taskexecution',
... | 27.625 | 95 | 0.609351 | 67 | 663 | 5.761194 | 0.626866 | 0.145078 | 0.11399 | 0.108808 | 0.145078 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068085 | 0.291101 | 663 | 23 | 96 | 28.826087 | 0.753191 | 0.069382 | 0 | 0.235294 | 1 | 0 | 0.253378 | 0.130068 | 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 |
0b3e9c06273422636d08e62a5efe228b866562bd | 627 | py | Python | echobot.py | manhmanh/M-nh | 53a79449fe880be16dbda662fb1f21fbacd59cfb | [
"BSD-3-Clause"
] | 4 | 2017-10-02T13:25:22.000Z | 2020-09-12T11:36:11.000Z | examples/echobot.py | bogomazov/fbchat | fea4ad9e8992e0e75c479a7461fcdde7a408e2bf | [
"BSD-3-Clause"
] | null | null | null | examples/echobot.py | bogomazov/fbchat | fea4ad9e8992e0e75c479a7461fcdde7a408e2bf | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: UTF-8 -*-
from fbchat import log, Client
# Subclass fbchat.Client and override required methods
class EchoBot(Client):
def onMessage(self, author_id, message, thread_id, thread_type, **kwargs):
self.markAsDelivered(author_id, thread_id)
self.markAsRead(author_id)
log.info("M... | 33 | 106 | 0.676236 | 82 | 627 | 5 | 0.5 | 0.117073 | 0.136585 | 0.131707 | 0.097561 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001969 | 0.189793 | 627 | 18 | 107 | 34.833333 | 0.805118 | 0.167464 | 0 | 0 | 0 | 0 | 0.090734 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0.1 | 0.1 | 0 | 0.3 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
0b45b770b9f2ce664591890940bc990a8f848946 | 357 | py | Python | ns-allinone-3.27/pybindgen-0.17.0.post58+ngcf00cc0/examples/boost_shared_ptr/bsp_test.py | zack-braun/4607_NS | 43c8fb772e5552fb44bd7cd34173e73e3fb66537 | [
"MIT"
] | 93 | 2019-04-21T08:22:26.000Z | 2022-03-30T04:26:29.000Z | ns-allinone-3.27/pybindgen-0.17.0.post58+ngcf00cc0/examples/boost_shared_ptr/bsp_test.py | zack-braun/4607_NS | 43c8fb772e5552fb44bd7cd34173e73e3fb66537 | [
"MIT"
] | 12 | 2019-04-19T16:39:58.000Z | 2021-06-22T13:18:32.000Z | ns-allinone-3.27/pybindgen-0.17.0.post58+ngcf00cc0/examples/boost_shared_ptr/bsp_test.py | zack-braun/4607_NS | 43c8fb772e5552fb44bd7cd34173e73e3fb66537 | [
"MIT"
] | 21 | 2019-05-27T19:36:12.000Z | 2021-07-26T02:37:41.000Z | import sys
import os.path
sys.path.insert(0, os.path.join(os.path.dirname(os.path.abspath(__file__)),
'..', '..', 'build', 'examples', 'boost_shared_ptr'))
import bsp
f = bsp.Foo("hello123")
bsp.function_that_takes_foo(f)
f1 = bsp.function_that_returns_foo()
print f1.get_datum()
f.set... | 22.3125 | 85 | 0.658263 | 54 | 357 | 4.074074 | 0.537037 | 0.109091 | 0.136364 | 0.136364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023649 | 0.170868 | 357 | 15 | 86 | 23.8 | 0.719595 | 0 | 0 | 0.181818 | 0 | 0 | 0.126404 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.272727 | null | null | 0.181818 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 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 |
0b4a5eb8996545cb87a413f08b22d9b563a0f08f | 12,716 | py | Python | backend/ohq/permissions.py | pennlabs/office-hours-queue | fce98d3a1b83d1459f61e6d9c3347ef619ee384e | [
"MIT"
] | 8 | 2020-09-05T21:12:25.000Z | 2022-01-30T18:25:12.000Z | backend/ohq/permissions.py | pennlabs/office-hours-queue | fce98d3a1b83d1459f61e6d9c3347ef619ee384e | [
"MIT"
] | 161 | 2020-08-05T17:05:56.000Z | 2022-03-27T17:44:51.000Z | backend/ohq/permissions.py | pennlabs/office-hours-queue | fce98d3a1b83d1459f61e6d9c3347ef619ee384e | [
"MIT"
] | null | null | null | from django.db.models import Q
from rest_framework import permissions
from ohq.models import Course, Membership, Question
# Hierarchy of permissions is usually:
# Professor > Head TA > TA > Student > User
# Anonymous Users can't do anything
# Note: everything other than IsSuperuser and CoursePermission is
# scoped t... | 32.192405 | 95 | 0.637465 | 1,501 | 12,716 | 5.331779 | 0.1006 | 0.049481 | 0.040485 | 0.034987 | 0.689866 | 0.618018 | 0.549044 | 0.538298 | 0.488192 | 0.48107 | 0 | 0.00011 | 0.282479 | 12,716 | 394 | 96 | 32.274112 | 0.877028 | 0.284445 | 0 | 0.78022 | 0 | 0 | 0.058129 | 0 | 0 | 0 | 0 | 0.002538 | 0 | 1 | 0.098901 | false | 0 | 0.016484 | 0.010989 | 0.489011 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
0b4c8c3c8534c95e45be86811185d96e30da165f | 520 | py | Python | sso/user/migrations/0013_accessprofile_saml2_applications.py | uktrade/staff-sso | c23da74415befdaed60649a9a940b1ba8331581e | [
"MIT"
] | 7 | 2018-07-30T16:18:52.000Z | 2022-03-21T12:58:20.000Z | sso/user/migrations/0013_accessprofile_saml2_applications.py | uktrade/staff-sso | c23da74415befdaed60649a9a940b1ba8331581e | [
"MIT"
] | 55 | 2017-06-26T12:49:01.000Z | 2022-03-09T15:48:49.000Z | sso/user/migrations/0013_accessprofile_saml2_applications.py | uktrade/staff-sso | c23da74415befdaed60649a9a940b1ba8331581e | [
"MIT"
] | 1 | 2020-05-28T07:17:26.000Z | 2020-05-28T07:17:26.000Z | # Generated by Django 2.0.8 on 2018-11-30 14:07
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("samlidp", "0001_initial"),
("user", "0012_auto_20181127_1142"),
]
operations = [
migrations.AddField(
model_name="access... | 23.636364 | 76 | 0.594231 | 50 | 520 | 6.02 | 0.84 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097826 | 0.292308 | 520 | 21 | 77 | 24.761905 | 0.720109 | 0.086538 | 0 | 0.133333 | 1 | 0 | 0.243129 | 0.097252 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.066667 | 0 | 0.266667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
0b4dc5b44368ed55166b36788f09d714c1951093 | 1,977 | py | Python | src/vk/get_images.py | blan4/ImagesSimilarityDemo | f9b601e57c6c62654868833499fcdcd69142b232 | [
"MIT"
] | 21 | 2018-11-16T20:45:13.000Z | 2022-03-06T17:06:40.000Z | src/vk/get_images.py | blan4/ImagesSimilarityDemo | f9b601e57c6c62654868833499fcdcd69142b232 | [
"MIT"
] | 1 | 2019-09-17T12:04:08.000Z | 2019-09-17T12:04:08.000Z | src/vk/get_images.py | blan4/ImagesSimilarityDemo | f9b601e57c6c62654868833499fcdcd69142b232 | [
"MIT"
] | 9 | 2019-04-05T22:40:25.000Z | 2021-09-01T20:53:43.000Z | from vk_api import VkApi
from vk_api import VkTools
from settings import config
from vk.settings import secrets
KEYS = ['id', 'owner_id', 'album_id', 'date', 'big', 'small']
def main(owner_id):
session = VkApi(token=secrets.token, app_id=secrets.app_id, client_secret=secrets.client_secret, api_version='5.69')
... | 29.507463 | 120 | 0.543247 | 275 | 1,977 | 3.770909 | 0.334545 | 0.074253 | 0.054002 | 0.02893 | 0.098361 | 0.055931 | 0 | 0 | 0 | 0 | 0 | 0.016417 | 0.291351 | 1,977 | 66 | 121 | 29.954545 | 0.723769 | 0.029843 | 0 | 0 | 0 | 0 | 0.101305 | 0 | 0 | 0 | 0 | 0.015152 | 0 | 1 | 0.125 | false | 0 | 0.083333 | 0.041667 | 0.291667 | 0.020833 | 0 | 0 | 0 | null | 0 | 0 | 0 | 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 |
0b533459ea1e9fe3bdb377e9eafa20ebdf1cd2a0 | 1,090 | py | Python | src/django_peeringdb/migrations/0011_ixlan_ixf_fields.py | peeringdb/django-peeringdb | 4b14fb5e9fecaf2fa6e6996e334a8d211be9604d | [
"Apache-2.0"
] | 22 | 2015-11-10T04:55:42.000Z | 2022-03-16T19:23:20.000Z | src/django_peeringdb/migrations/0011_ixlan_ixf_fields.py | pigen00/django-peeringdb | b4cd86d6700f1d85d3f39f672184c347edbfb45c | [
"Apache-2.0"
] | 65 | 2016-03-21T12:29:52.000Z | 2022-03-04T13:37:57.000Z | src/django_peeringdb/migrations/0011_ixlan_ixf_fields.py | pigen00/django-peeringdb | b4cd86d6700f1d85d3f39f672184c347edbfb45c | [
"Apache-2.0"
] | 21 | 2016-03-09T02:40:49.000Z | 2022-02-26T21:10:12.000Z | # Generated by Django 2.2.12 on 2020-07-13 07:00
import django.db.models.deletion
import django_countries.fields
import django_inet.models
from django.db import migrations, models
import django_peeringdb.models.abstract
class Migration(migrations.Migration):
dependencies = [
("django_peeringdb", "0010_... | 27.25 | 76 | 0.546789 | 108 | 1,090 | 5.324074 | 0.509259 | 0.083478 | 0.08 | 0.093913 | 0.292174 | 0.292174 | 0.292174 | 0.191304 | 0.191304 | 0.191304 | 0 | 0.030986 | 0.348624 | 1,090 | 39 | 77 | 27.948718 | 0.778873 | 0.042202 | 0 | 0.25 | 1 | 0 | 0.1881 | 0.051823 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.15625 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
0b55b3822ebb2fe546c981316acf03942c647b84 | 830 | py | Python | uwhd/canvas_test.py | Navisjon/uwh-display-py | 1baf1f09e84d6a444433e1cf1f914198c35e6e3d | [
"BSD-3-Clause"
] | null | null | null | uwhd/canvas_test.py | Navisjon/uwh-display-py | 1baf1f09e84d6a444433e1cf1f914198c35e6e3d | [
"BSD-3-Clause"
] | 2 | 2019-06-09T14:04:48.000Z | 2019-06-15T22:38:42.000Z | uwhd/canvas_test.py | Navisjon/uwh-display-py | 1baf1f09e84d6a444433e1cf1f914198c35e6e3d | [
"BSD-3-Clause"
] | null | null | null | from .canvas import Color, Canvas
def test__Color():
col = Color()
assert col.r == 0
assert col.g == 0
assert col.b == 0
col = Color(1, 2, 3)
assert col.r == 1
assert col.g == 2
assert col.b == 3
col = Color(1.1, 2.1, 3.1)
assert col.r == 1
assert col.g == 2
assert col... | 19.302326 | 40 | 0.53012 | 152 | 830 | 2.835526 | 0.177632 | 0.187935 | 0.104408 | 0.083527 | 0.461717 | 0.357309 | 0.292343 | 0.292343 | 0.292343 | 0.292343 | 0 | 0.116522 | 0.307229 | 830 | 42 | 41 | 19.761905 | 0.633043 | 0 | 0 | 0.424242 | 0 | 0 | 0.008434 | 0 | 0 | 0 | 0 | 0 | 0.636364 | 1 | 0.090909 | false | 0 | 0.030303 | 0 | 0.121212 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
0b56a3bbcea54f7a71498ba44ee78b8e2c393277 | 1,247 | py | Python | experiments/nmt/data_state.py | neozhangthe1/coverage_model | 8717e0a1fdd67af16a279e6b9aecf562f31bcdce | [
"BSD-3-Clause"
] | null | null | null | experiments/nmt/data_state.py | neozhangthe1/coverage_model | 8717e0a1fdd67af16a279e6b9aecf562f31bcdce | [
"BSD-3-Clause"
] | null | null | null | experiments/nmt/data_state.py | neozhangthe1/coverage_model | 8717e0a1fdd67af16a279e6b9aecf562f31bcdce | [
"BSD-3-Clause"
] | null | null | null | dict(
source=["/home/yzhang3151/project/NMT/experiments/nmt/binarized_text.diag.shuf.h5"],
target=["/home/yzhang3151/project/NMT/experiments/nmt/binarized_text.drug.shuf.h5"],
indx_word="/home/yzhang3151/project/NMT/experiments/nmt/ivocab.diag.pkl",
indx_word_target="/home/yzhang3151/project/NMT/experiments/nmt/ivocab.... | 29 | 84 | 0.793905 | 179 | 1,247 | 5.26257 | 0.418994 | 0.089172 | 0.133758 | 0.152866 | 0.363057 | 0.305732 | 0.305732 | 0.10828 | 0 | 0 | 0 | 0.061917 | 0.054531 | 1,247 | 42 | 85 | 29.690476 | 0.737065 | 0.092221 | 0 | 0 | 0 | 0 | 0.352304 | 0.345077 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
0b5af69d775c7c4e8917ba52b33a221884751e33 | 6,642 | py | Python | census_to_db.py | adrianswtam/PearlOrient | 04490452176cf7549ce12489403bdb159f8d4293 | [
"MIT"
] | null | null | null | census_to_db.py | adrianswtam/PearlOrient | 04490452176cf7549ce12489403bdb159f8d4293 | [
"MIT"
] | null | null | null | census_to_db.py | adrianswtam/PearlOrient | 04490452176cf7549ce12489403bdb159f8d4293 | [
"MIT"
] | null | null | null | #!/usr/bin/env
#
# Given Excel files in _census_ca/
# Convert all file into a SQLite database
#
# require version >= 2.3.0 of openpyxl
import openpyxl
assert(tuple(int(x) for x in openpyxl.__version__.split('.')[:2]) >= (2,3))
from openpyxl import load_workbook
import os
import sqlite3
import contextlib
def scanExc... | 46.125 | 127 | 0.631135 | 957 | 6,642 | 4.337513 | 0.284222 | 0.013491 | 0.017345 | 0.0265 | 0.258251 | 0.226933 | 0.21272 | 0.195856 | 0.179957 | 0.145025 | 0 | 0.009448 | 0.266938 | 6,642 | 143 | 128 | 46.447552 | 0.843089 | 0.213189 | 0 | 0.145833 | 0 | 0 | 0.115109 | 0 | 0 | 0 | 0 | 0 | 0.041667 | 0 | null | null | 0.010417 | 0.052083 | null | null | 0.010417 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 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 |
0b6cfff6bae00f515a9580bf8f17fc567dbba611 | 1,307 | py | Python | homeassistant/components/nest/diagnostics.py | PiotrMachowski/core | b9d7d0cae2ccd2d88e90e49cc09e154a27ed809b | [
"Apache-2.0"
] | 1 | 2022-02-07T06:59:27.000Z | 2022-02-07T06:59:27.000Z | homeassistant/components/nest/diagnostics.py | PiotrMachowski/core | b9d7d0cae2ccd2d88e90e49cc09e154a27ed809b | [
"Apache-2.0"
] | 17 | 2021-11-24T06:24:20.000Z | 2022-03-31T07:17:52.000Z | homeassistant/components/nest/diagnostics.py | PiotrMachowski/core | b9d7d0cae2ccd2d88e90e49cc09e154a27ed809b | [
"Apache-2.0"
] | 1 | 2019-02-23T11:27:33.000Z | 2019-02-23T11:27:33.000Z | """Diagnostics support for Nest."""
from __future__ import annotations
from typing import Any
from google_nest_sdm import diagnostics
from google_nest_sdm.device import Device
from google_nest_sdm.device_traits import InfoTrait
from google_nest_sdm.exceptions import ApiException
from homeassistant.config_entries im... | 29.044444 | 81 | 0.740627 | 160 | 1,307 | 5.83125 | 0.36875 | 0.042872 | 0.060021 | 0.072883 | 0.049303 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180566 | 1,307 | 44 | 82 | 29.704545 | 0.871148 | 0.097169 | 0 | 0 | 0 | 0 | 0.036444 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.035714 | false | 0 | 0.321429 | 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 |
0b714e026abf36365f56f7bd777b04fecb7d930f | 6,560 | py | Python | src/simmate/database/base_data_types/thermodynamics.py | laurenmm/simmate-1 | c06b94c46919b01cda50f78221ad14f75c100a14 | [
"BSD-3-Clause"
] | null | null | null | src/simmate/database/base_data_types/thermodynamics.py | laurenmm/simmate-1 | c06b94c46919b01cda50f78221ad14f75c100a14 | [
"BSD-3-Clause"
] | null | null | null | src/simmate/database/base_data_types/thermodynamics.py | laurenmm/simmate-1 | c06b94c46919b01cda50f78221ad14f75c100a14 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
from tqdm import tqdm
from simmate.toolkit import Structure as ToolkitStructure
from simmate.database.base_data_types import DatabaseTable, table_column
from simmate.utilities import get_chemical_subsystems # , dask_batch_submit
from pymatgen.analysis.phase_diagram import PDEntry
from pymatg... | 34.526316 | 124 | 0.634909 | 814 | 6,560 | 4.948403 | 0.350123 | 0.038232 | 0.025819 | 0.029543 | 0.149702 | 0.111966 | 0.093098 | 0.093098 | 0.08292 | 0.069762 | 0 | 0.00386 | 0.289177 | 6,560 | 189 | 125 | 34.708995 | 0.859961 | 0.322409 | 0 | 0.0375 | 0 | 0 | 0.046417 | 0.006786 | 0 | 0 | 0 | 0.010582 | 0 | 1 | 0.0375 | false | 0 | 0.075 | 0 | 0.25 | 0.0125 | 0 | 0 | 0 | null | 0 | 0 | 0 | 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 |
0b74cc03ade8713c08f0c6678486baef5aa6194b | 4,166 | py | Python | lib/JumpScale/baselib/actions/action/Action.py | rudecs/jumpscale_core7 | 30c03f26f1cdad3edbb9d79d50fbada8acc974f5 | [
"Apache-2.0"
] | null | null | null | lib/JumpScale/baselib/actions/action/Action.py | rudecs/jumpscale_core7 | 30c03f26f1cdad3edbb9d79d50fbada8acc974f5 | [
"Apache-2.0"
] | 4 | 2016-08-25T12:08:39.000Z | 2018-04-12T12:36:01.000Z | lib/JumpScale/baselib/actions/action/Action.py | rudecs/jumpscale_core7 | 30c03f26f1cdad3edbb9d79d50fbada8acc974f5 | [
"Apache-2.0"
] | 3 | 2016-03-08T07:49:34.000Z | 2018-10-19T13:56:43.000Z | import ujson as json
from JumpScale import j
import time
class Action:
def __init__(self, description="", cmds="",action=None,actionRecover=None,actionArgs={},category="unknown",name="unknown",\
errorMessage="", resolutionMessage="", loglevel=1,die=True,stdOutput=False,errorOutput=True,retry=1,serviceO... | 38.934579 | 213 | 0.56529 | 449 | 4,166 | 5.22049 | 0.291759 | 0.025597 | 0.017918 | 0.025597 | 0.077645 | 0.059727 | 0.059727 | 0.059727 | 0.059727 | 0.059727 | 0 | 0.007897 | 0.331253 | 4,166 | 106 | 214 | 39.301887 | 0.833453 | 0.06433 | 0 | 0.146667 | 0 | 0 | 0.05782 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.04 | null | null | 0.053333 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 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 |
0b793a035e2c89feb14b8a69b9c5a37427fa88ea | 22,718 | py | Python | presto/migrations/0001_initial.py | pwgbots/presto | 49622bdfb6c597c3451d9f5c589d9a1797143d4f | [
"MIT"
] | null | null | null | presto/migrations/0001_initial.py | pwgbots/presto | 49622bdfb6c597c3451d9f5c589d9a1797143d4f | [
"MIT"
] | 8 | 2020-07-28T07:59:09.000Z | 2022-03-11T23:43:01.000Z | presto/migrations/0001_initial.py | pwgbots/presto | 49622bdfb6c597c3451d9f5c589d9a1797143d4f | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.11.5 on 2017-09-25 14:49
from __future__ import unicode_literals
import datetime
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
from django.utils.timezone import utc
import django.utils.timezone
import presto.mo... | 56.093827 | 166 | 0.601814 | 2,217 | 22,718 | 6.01714 | 0.097429 | 0.023988 | 0.04093 | 0.064318 | 0.753598 | 0.6994 | 0.659895 | 0.634258 | 0.61994 | 0.591079 | 0 | 0.017948 | 0.254424 | 22,718 | 404 | 167 | 56.232673 | 0.76963 | 0.002993 | 0 | 0.515152 | 1 | 0 | 0.140328 | 0.021504 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.020202 | 0 | 0.030303 | 0 | 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 |
0b7f7beaf0cbdd255e6010469eaf911bdd71394c | 1,389 | py | Python | nodes/gmap_elevation_query_node.py | anqixu/sightedturtlesim | 35712504679a477d0021a8cec3d22cb087ebc545 | [
"BSD-2-Clause"
] | 1 | 2017-06-16T22:31:24.000Z | 2017-06-16T22:31:24.000Z | nodes/gmap_elevation_query_node.py | anqixu/sightedturtlesim | 35712504679a477d0021a8cec3d22cb087ebc545 | [
"BSD-2-Clause"
] | null | null | null | nodes/gmap_elevation_query_node.py | anqixu/sightedturtlesim | 35712504679a477d0021a8cec3d22cb087ebc545 | [
"BSD-2-Clause"
] | null | null | null | #! /usr/bin/env python
import sys
import rospy
import googlemaps # sudo pip install -U googlemaps
from GCSTools import *
from sightedturtlesim.msg import ImageWithPoseXYZ
import requests.packages.urllib3
requests.packages.urllib3.disable_warnings()
# TODO: parse top-left lat, lon
topleft_latlon = (45.518436303950104... | 33.878049 | 153 | 0.722822 | 193 | 1,389 | 4.989637 | 0.481865 | 0.102804 | 0.047767 | 0.022845 | 0.041537 | 0.041537 | 0.041537 | 0 | 0 | 0 | 0 | 0.040336 | 0.143269 | 1,389 | 40 | 154 | 34.725 | 0.768908 | 0.059035 | 0 | 0 | 0 | 0.035714 | 0.199387 | 0.019172 | 0 | 0 | 0 | 0.025 | 0 | 1 | 0.107143 | false | 0 | 0.214286 | 0 | 0.357143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 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 |
0b8548f577701c4ef41ffc38cac7ede364d08ec5 | 5,121 | py | Python | redact/.ipynb_checkpoints/redact-checkpoint.py | atisor73/processing_prints | 1276c403343b698074cc9563ebf7112d6e0d619f | [
"MIT"
] | null | null | null | redact/.ipynb_checkpoints/redact-checkpoint.py | atisor73/processing_prints | 1276c403343b698074cc9563ebf7112d6e0d619f | [
"MIT"
] | null | null | null | redact/.ipynb_checkpoints/redact-checkpoint.py | atisor73/processing_prints | 1276c403343b698074cc9563ebf7112d6e0d619f | [
"MIT"
] | 1 | 2021-09-04T07:00:31.000Z | 2021-09-04T07:00:31.000Z | # ********************************************************************
# THE RED ACT
# rOsita fu
# 06-23-2020
# github.com/atisor73
# ********************************************************************
save = True
def setup():
size(500, 700)
frameRate(10)
rows, cols = 15, 15
num_squares = rows*cols
t = [ran... | 56.274725 | 1,151 | 0.574692 | 603 | 5,121 | 4.827529 | 0.500829 | 0.021642 | 0.014428 | 0.026451 | 0.106836 | 0.091378 | 0.050842 | 0.050842 | 0 | 0 | 0 | 0.029745 | 0.258153 | 5,121 | 90 | 1,152 | 56.9 | 0.73651 | 0.239406 | 0 | 0.081633 | 0 | 0.040816 | 0.556477 | 0.007254 | 0 | 0 | 0 | 0 | 0 | 1 | 0.040816 | false | 0 | 0 | 0 | 0.040816 | 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 |
0b8a7cf987b8130e977e4b3dbf404e957f485b1a | 925 | py | Python | bitket/migrations/0003_auto_20161208_0119.py | ovidner/tickle | 63208cf59a3d01e143fe6e4c31d941188fd02d65 | [
"MIT"
] | 1 | 2016-07-30T16:43:26.000Z | 2016-07-30T16:43:26.000Z | bitket/migrations/0003_auto_20161208_0119.py | ovidner/bitket | 63208cf59a3d01e143fe6e4c31d941188fd02d65 | [
"MIT"
] | 21 | 2017-08-30T11:57:11.000Z | 2020-06-05T16:59:57.000Z | bitket/migrations/0003_auto_20161208_0119.py | ovidner/bitket | 63208cf59a3d01e143fe6e4c31d941188fd02d65 | [
"MIT"
] | 1 | 2017-04-25T13:03:23.000Z | 2017-04-25T13:03:23.000Z | # -*- coding: utf-8 -*-
# Generated by Django 1.10.4 on 2016-12-08 00:19
from __future__ import unicode_literals
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('bitket', '0002_auto_20161208_0117'),
]
operations = [
migrations.AlterModelOptions(... | 33.035714 | 141 | 0.620541 | 86 | 925 | 6.476744 | 0.534884 | 0.118492 | 0.166966 | 0.086176 | 0.150808 | 0.150808 | 0.150808 | 0 | 0 | 0 | 0 | 0.04661 | 0.234595 | 925 | 27 | 142 | 34.259259 | 0.740113 | 0.073514 | 0 | 0.3 | 1 | 0 | 0.35363 | 0.026932 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.1 | 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 |
0b8cbac394492998b1466dd84f95829e110021dc | 300 | py | Python | rep.py | coderunner86/aprender_python_con_ejemplos | e7afd17e08720471f029ddeef8b0187169588a08 | [
"MIT"
] | null | null | null | rep.py | coderunner86/aprender_python_con_ejemplos | e7afd17e08720471f029ddeef8b0187169588a08 | [
"MIT"
] | null | null | null | rep.py | coderunner86/aprender_python_con_ejemplos | e7afd17e08720471f029ddeef8b0187169588a08 | [
"MIT"
] | null | null | null | def palabra_rep(frase):
conteo = 0
lista = frase.split()
for index in lista:
if palabra==lista[index]:
conteo +=1
if conteo == 2:
pos_pal = index
new_list = lista[pos_pal].split()
else:
return -1
return new_list
palabra_rep("estan lloviendo gatos y gatos")
| 18.75 | 44 | 0.63 | 44 | 300 | 4.159091 | 0.545455 | 0.10929 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0181 | 0.263333 | 300 | 15 | 45 | 20 | 0.809955 | 0 | 0 | 0 | 0 | 0 | 0.096667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | 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 |
0b918088d1abe2b1806ce47dde350b7a610287c8 | 272 | py | Python | commit-msg.py | ayushdatt/hooked | 8d838e9bf71ee33dcc9cfb9aa15f25c339665daa | [
"BSD-2-Clause-FreeBSD"
] | 10 | 2015-11-17T10:32:46.000Z | 2021-07-28T22:14:16.000Z | commit-msg.py | Newky/hooked | 8d838e9bf71ee33dcc9cfb9aa15f25c339665daa | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | commit-msg.py | Newky/hooked | 8d838e9bf71ee33dcc9cfb9aa15f25c339665daa | [
"BSD-2-Clause-FreeBSD"
] | 1 | 2015-06-05T05:51:39.000Z | 2015-06-05T05:51:39.000Z | #!/usr/bin/python2.7
import sys
from action import run
PHASE = "commitmsg"
commit_file_path = sys.argv[1]
git_state = {"commit_file_path": commit_file_path}
hook_results = run(PHASE, git_state)
is_commitable = all(hook_results)
if not is_commitable:
sys.exit(1)
| 16 | 50 | 0.75 | 44 | 272 | 4.363636 | 0.590909 | 0.15625 | 0.21875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017094 | 0.139706 | 272 | 16 | 51 | 17 | 0.803419 | 0.069853 | 0 | 0 | 0 | 0 | 0.099206 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.222222 | 0 | 0.222222 | 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 |
0b97711b8ec77c786315427b6986dbf74aa0b66e | 370 | py | Python | train.py | mdrkb/avocado-price-prediction | c54002d194f0e8e07b9df7c574029a1ab42e4bd6 | [
"MIT"
] | null | null | null | train.py | mdrkb/avocado-price-prediction | c54002d194f0e8e07b9df7c574029a1ab42e4bd6 | [
"MIT"
] | null | null | null | train.py | mdrkb/avocado-price-prediction | c54002d194f0e8e07b9df7c574029a1ab42e4bd6 | [
"MIT"
] | null | null | null | import warnings
warnings.filterwarnings('ignore')
from models.AR import autoregressive
from models.ARIMA import arima
def train_AR(train_data):
model = autoregressive(train_data)
model_fitted = model.fit()
return model_fitted
def train_ARIMA(train_data, *param):
model = arima(train_data, *param)
... | 24.666667 | 38 | 0.756757 | 49 | 370 | 5.510204 | 0.346939 | 0.133333 | 0.103704 | 0.140741 | 0.425926 | 0.266667 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0.159459 | 370 | 15 | 39 | 24.666667 | 0.868167 | 0 | 0 | 0.333333 | 0 | 0 | 0.016173 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.25 | 0 | 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 |
0b9e783e6b5e6e4fa5b3dd34f7b4a9ef7a83f49d | 14,478 | py | Python | core/iam_utils.py | pkerpedjiev/tibanna | 8d8333bc7757076914c2bafbd68ee24c4ad611f6 | [
"MIT"
] | null | null | null | core/iam_utils.py | pkerpedjiev/tibanna | 8d8333bc7757076914c2bafbd68ee24c4ad611f6 | [
"MIT"
] | null | null | null | core/iam_utils.py | pkerpedjiev/tibanna | 8d8333bc7757076914c2bafbd68ee24c4ad611f6 | [
"MIT"
] | null | null | null | import boto3
import json
import random
def generate_policy_prefix(user_group_name):
'''policy prefix for user group'''
# add rangom tag to avoid attempting to overwrite a previously created and deleted policy and silently failing.
random_tag = str(int(random.random() * 10000))
tibanna_policy_prefix = ... | 35.748148 | 115 | 0.643804 | 1,538 | 14,478 | 5.695709 | 0.107282 | 0.058904 | 0.086758 | 0.060274 | 0.644749 | 0.556507 | 0.479795 | 0.45274 | 0.405365 | 0.338356 | 0 | 0.010679 | 0.269098 | 14,478 | 404 | 116 | 35.836634 | 0.817142 | 0.073767 | 0 | 0.406977 | 1 | 0 | 0.109947 | 0.028366 | 0 | 0 | 0 | 0 | 0 | 1 | 0.052326 | false | 0.02907 | 0.008721 | 0.008721 | 0.09593 | 0.072674 | 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 |
0ba20052bc5c01ac369b62396bcc9c0decbb049f | 604 | py | Python | account/migrations/0003_auto_20160913_0944.py | amochan/SimpleForum | 78f9c57b8831039a2605f2df3a40272d12559fa6 | [
"MIT"
] | null | null | null | account/migrations/0003_auto_20160913_0944.py | amochan/SimpleForum | 78f9c57b8831039a2605f2df3a40272d12559fa6 | [
"MIT"
] | null | null | null | account/migrations/0003_auto_20160913_0944.py | amochan/SimpleForum | 78f9c57b8831039a2605f2df3a40272d12559fa6 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.10.1 on 2016-09-13 09:44
from __future__ import unicode_literals
import datetime
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('account', '0002_auto_20160913_0759'),
]
operations = [
migr... | 23.230769 | 64 | 0.614238 | 62 | 604 | 5.790323 | 0.693548 | 0.050139 | 0.111421 | 0.133705 | 0.172702 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075342 | 0.274834 | 604 | 25 | 65 | 24.16 | 0.744292 | 0.112583 | 0 | 0.222222 | 1 | 0 | 0.142589 | 0.043152 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
0ba4adcb281f9faad216af5b4de1ace4f46316bb | 1,064 | py | Python | Lib/test/test_xreadline.py | deadsnakes/python2.3 | 0b4a6871ca57123c10aa48cc2a5d2b7c0ee3c849 | [
"PSF-2.0"
] | 1 | 2020-11-26T18:53:46.000Z | 2020-11-26T18:53:46.000Z | Lib/test/test_xreadline.py | deadsnakes/python2.3 | 0b4a6871ca57123c10aa48cc2a5d2b7c0ee3c849 | [
"PSF-2.0"
] | null | null | null | Lib/test/test_xreadline.py | deadsnakes/python2.3 | 0b4a6871ca57123c10aa48cc2a5d2b7c0ee3c849 | [
"PSF-2.0"
] | 1 | 2019-04-11T11:27:01.000Z | 2019-04-11T11:27:01.000Z | from test.test_support import verbose
import warnings
warnings.filterwarnings('ignore', "xreadlines", DeprecationWarning)
class XReader:
def __init__(self):
self.count = 5
def readlines(self, sizehint = None):
self.count = self.count - 1
return map(lambda x: "%d\n" % x, range(self.cou... | 22.638298 | 80 | 0.661654 | 141 | 1,064 | 4.957447 | 0.397163 | 0.051502 | 0.098712 | 0.064378 | 0.23319 | 0.097282 | 0 | 0 | 0 | 0 | 0 | 0.01993 | 0.198308 | 1,064 | 46 | 81 | 23.130435 | 0.799531 | 0 | 0 | 0.171429 | 0 | 0 | 0.201128 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.028571 | 0.085714 | null | null | 0.2 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
0babbfb8ca5f5ea95ee35d413a385d007b17722b | 713 | py | Python | actor/views.py | AnimeshRy/eraDB | 57dda0120ab67acbac7a796cf66ef883be40ea37 | [
"MIT"
] | 1 | 2022-03-04T06:10:38.000Z | 2022-03-04T06:10:38.000Z | actor/views.py | AnimeshRy/eraDB | 57dda0120ab67acbac7a796cf66ef883be40ea37 | [
"MIT"
] | null | null | null | actor/views.py | AnimeshRy/eraDB | 57dda0120ab67acbac7a796cf66ef883be40ea37 | [
"MIT"
] | null | null | null | from django.shortcuts import get_object_or_404, render
from django.core.paginator import Paginator
from django.template import loader
from django.http.response import HttpResponse
from actor.models import Actor
from movie.models import Movie
def actors(request, actor_slug):
actor = get_object_or_404(Actor, slug=a... | 29.708333 | 58 | 0.741935 | 93 | 713 | 5.526882 | 0.365591 | 0.077821 | 0.042802 | 0.054475 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011824 | 0.169705 | 713 | 23 | 59 | 31 | 0.856419 | 0.014025 | 0 | 0 | 0 | 0 | 0.041369 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.055556 | false | 0 | 0.333333 | 0 | 0.444444 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 |
0bac2ac963ca31f46b090acec71bdc70e01dd668 | 13,864 | py | Python | montemodes/classes/structure.py | abelcarreras/MonteModes | 7947c7ad45ac1c2fee59ddbc80221a22195e4446 | [
"MIT"
] | null | null | null | montemodes/classes/structure.py | abelcarreras/MonteModes | 7947c7ad45ac1c2fee59ddbc80221a22195e4446 | [
"MIT"
] | null | null | null | montemodes/classes/structure.py | abelcarreras/MonteModes | 7947c7ad45ac1c2fee59ddbc80221a22195e4446 | [
"MIT"
] | null | null | null | __author__ = 'abel'
import tempfile
import os
import numpy as np
def int_to_xyz(molecule, no_dummy=True):
internal = molecule.get_full_z_matrix()
coordinates = [[0.0, 0.0, 0.0]]
for line in internal[1:]:
bi = int(line[0]) #bond index
B = line[1] #bond value
ai = int(line[... | 33.569007 | 148 | 0.551356 | 1,859 | 13,864 | 3.941904 | 0.332437 | 0.021971 | 0.015011 | 0.014329 | 0.186954 | 0.060862 | 0.047489 | 0.026201 | 0.021288 | 0.013646 | 0 | 0.114206 | 0.280006 | 13,864 | 413 | 149 | 33.569007 | 0.619916 | 0.048254 | 0 | 0.133333 | 0 | 0 | 0.108827 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.015152 | null | null | 0.024242 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 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 |
0baccff9a7a9197bdcefd643215146036ac4b3b6 | 1,390 | py | Python | jdSearch.lbaction/Contents/Scripts/default.py | Sihan001/lbActions | 7729d5bbe35aea39c0652daf24a0117cca5c149d | [
"Apache-2.0"
] | null | null | null | jdSearch.lbaction/Contents/Scripts/default.py | Sihan001/lbActions | 7729d5bbe35aea39c0652daf24a0117cca5c149d | [
"Apache-2.0"
] | null | null | null | jdSearch.lbaction/Contents/Scripts/default.py | Sihan001/lbActions | 7729d5bbe35aea39c0652daf24a0117cca5c149d | [
"Apache-2.0"
] | 1 | 2018-09-18T14:27:39.000Z | 2018-09-18T14:27:39.000Z | #!/usr/bin/env python
# -*- coding:utf-8 -*-
#
# LaunchBar Action Script
#
import sys
import json
import urllib2
import urllib
SUGURL = 'http://suggest-squanqiu.jd.com/?'
JDSEARCH = 'http://search.jd.com/Search?enc=utf-8&'
item = {}
items = []
keyword = sys.argv[1:]
keyword = "".join(keyword)
if not keyword:
sys.ex... | 22.419355 | 59 | 0.61223 | 178 | 1,390 | 4.780899 | 0.398876 | 0.031727 | 0.045828 | 0.049354 | 0.206816 | 0.155112 | 0.155112 | 0.155112 | 0.155112 | 0 | 0 | 0.00625 | 0.194245 | 1,390 | 61 | 60 | 22.786885 | 0.753571 | 0.21295 | 0 | 0.3 | 0 | 0 | 0.183164 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.1 | null | null | 0.025 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 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 |
0baeb8c1852bbe3fefa51e091e509dc6d91b64cb | 675 | py | Python | postgresqleu/util/migrations/0002_bytea_smarter_storage.py | dlangille/pgeu-system | 3f1910010063bab118e94a55ed757b23f1d36bf5 | [
"MIT"
] | null | null | null | postgresqleu/util/migrations/0002_bytea_smarter_storage.py | dlangille/pgeu-system | 3f1910010063bab118e94a55ed757b23f1d36bf5 | [
"MIT"
] | null | null | null | postgresqleu/util/migrations/0002_bytea_smarter_storage.py | dlangille/pgeu-system | 3f1910010063bab118e94a55ed757b23f1d36bf5 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.11.18 on 2019-10-29 20:12
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('util', '0001_initial'),
]
operations = [
migrations.RunSQL("ALTER TABLE ut... | 25.961538 | 112 | 0.602963 | 69 | 675 | 5.768116 | 0.753623 | 0.055276 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04888 | 0.272593 | 675 | 25 | 113 | 27 | 0.761711 | 0.102222 | 0 | 0.111111 | 1 | 0 | 0.212272 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.111111 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
0bb44c1e3fe21c8bb9f070a1537aa8bffaadc8e4 | 2,593 | py | Python | multi_level_entity_annotation_sequence.py | Pangeamt/sequence_transfer | 29496db9f0fe7647803ea1e86cc9dc5fdca3e8cd | [
"MIT"
] | 1 | 2020-03-20T09:00:28.000Z | 2020-03-20T09:00:28.000Z | multi_level_entity_annotation_sequence.py | Pangeamt/sequence_transfer | 29496db9f0fe7647803ea1e86cc9dc5fdca3e8cd | [
"MIT"
] | 5 | 2020-04-03T09:58:45.000Z | 2022-02-10T01:33:47.000Z | multi_level_entity_annotation_sequence.py | Pangeamt/sequence_transfer | 29496db9f0fe7647803ea1e86cc9dc5fdca3e8cd | [
"MIT"
] | null | null | null | from sequence_transfer.plugin.entity_annotation_transfer_plugin import EntityAnnotationSequence
from itertools import zip_longest, groupby
# class MultiEntityAnnotationSequence:
# def __init__(self, nb_levels: int):
# self._nb_levels = nb_levels
# self._levels = [None]*self._nb_levels
# p... | 24.233645 | 95 | 0.561512 | 239 | 2,593 | 5.912134 | 0.393305 | 0.022647 | 0.023355 | 0.024062 | 0.117481 | 0.039632 | 0 | 0 | 0 | 0 | 0 | 0.009169 | 0.327034 | 2,593 | 106 | 96 | 24.462264 | 0.800573 | 0.488623 | 0 | 0.333333 | 0 | 0 | 0.132819 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0.119048 | 0.047619 | 0 | 0.261905 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
0bb6d57459dd44adb70406ae2865b7839278e311 | 2,654 | py | Python | src/pdf_wrangler/document.py | happilyeverafter95/pdf-wrangler | b5c3294d8a62f6f9a3a48c887594e32bd1a86496 | [
"MIT"
] | 1 | 2021-07-08T22:39:28.000Z | 2021-07-08T22:39:28.000Z | src/pdf_wrangler/document.py | happilyeverafter95/pdf-wrangler | b5c3294d8a62f6f9a3a48c887594e32bd1a86496 | [
"MIT"
] | null | null | null | src/pdf_wrangler/document.py | happilyeverafter95/pdf-wrangler | b5c3294d8a62f6f9a3a48c887594e32bd1a86496 | [
"MIT"
] | null | null | null | import logging
from typing import List, Dict, Optional
from pdfminer.converter import PDFPageAggregator
from pdfminer.layout import LAParams
from pdfminer.pdfdocument import PDFDocument as PDFMinerDocument
from pdfminer.pdfdocument import (PDFPasswordIncorrect, PDFSyntaxError)
from pdfminer.pdfinterp import PDFPageInt... | 34.467532 | 88 | 0.611153 | 289 | 2,654 | 5.480969 | 0.32872 | 0.05303 | 0.034091 | 0.036616 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002698 | 0.301809 | 2,654 | 76 | 89 | 34.921053 | 0.852132 | 0 | 0 | 0.05 | 0 | 0 | 0.042954 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.133333 | false | 0.1 | 0.166667 | 0.066667 | 0.433333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
0bb7196e0d2e0a54a88add72a0ba200f8a9b3a5b | 1,279 | py | Python | personalhelper/personalhelper/users_files/models.py | Koallla/project-python-web | 7159127925630a1230e0491ea08cb4d5cc75f51e | [
"MIT"
] | null | null | null | personalhelper/personalhelper/users_files/models.py | Koallla/project-python-web | 7159127925630a1230e0491ea08cb4d5cc75f51e | [
"MIT"
] | 1 | 2021-09-12T10:20:27.000Z | 2021-09-12T10:20:27.000Z | personalhelper/personalhelper/users_files/models.py | Koallla/project-python-web | 7159127925630a1230e0491ea08cb4d5cc75f51e | [
"MIT"
] | 5 | 2021-09-06T11:37:38.000Z | 2021-09-13T10:58:21.000Z | from django.core.exceptions import ValidationError
from django.db import models
from django.urls import reverse
from django.db.models.deletion import CASCADE
from storages.backends.sftpstorage import SFTPStorage
from django.core.files.storage import FileSystemStorage
from django.contrib.auth.models import User
# Create... | 32.794872 | 77 | 0.696638 | 162 | 1,279 | 5.425926 | 0.524691 | 0.068259 | 0.040956 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009588 | 0.184519 | 1,279 | 38 | 78 | 33.657895 | 0.833174 | 0.05864 | 0 | 0 | 0 | 0 | 0.112406 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.25 | 0.035714 | 0.642857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
e7e3561b31812b3eadcc02e0d4aceb37d22b9451 | 234 | py | Python | django_gotolong/nach/models.py | ParikhKadam/gotolong | 839beb8aa37055a2078eaa289b8ae05b62e8905e | [
"BSD-2-Clause",
"BSD-3-Clause"
] | 15 | 2019-12-06T16:19:45.000Z | 2021-08-20T13:22:22.000Z | django_gotolong/nach/models.py | ParikhKadam/gotolong | 839beb8aa37055a2078eaa289b8ae05b62e8905e | [
"BSD-2-Clause",
"BSD-3-Clause"
] | 14 | 2020-12-08T10:45:05.000Z | 2021-09-21T17:23:45.000Z | django_gotolong/nach/models.py | ParikhKadam/gotolong | 839beb8aa37055a2078eaa289b8ae05b62e8905e | [
"BSD-2-Clause",
"BSD-3-Clause"
] | 9 | 2020-01-01T03:04:29.000Z | 2021-04-18T08:42:30.000Z | from django.db import models
# Create your models here.
class Nach(models.Model):
name = models.TextField(primary_key=True)
ticker = models.TextField(blank=True, null=True)
class Meta:
db_table = 'global_nach'
| 19.5 | 52 | 0.700855 | 32 | 234 | 5.03125 | 0.6875 | 0.186335 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.200855 | 234 | 11 | 53 | 21.272727 | 0.860963 | 0.102564 | 0 | 0 | 0 | 0 | 0.052885 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.833333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
e7e38db2868e4dd71218a87d41d50046150d03ef | 563 | py | Python | application/database/models/Cars.py | Sapfir0/web-premier-eye | f060b01e98a923374ea60360ba133caaa654b6c7 | [
"MIT"
] | null | null | null | application/database/models/Cars.py | Sapfir0/web-premier-eye | f060b01e98a923374ea60360ba133caaa654b6c7 | [
"MIT"
] | null | null | null | application/database/models/Cars.py | Sapfir0/web-premier-eye | f060b01e98a923374ea60360ba133caaa654b6c7 | [
"MIT"
] | 1 | 2020-01-06T18:27:45.000Z | 2020-01-06T18:27:45.000Z | from sqlalchemy import Column, Integer, String, ForeignKey, DateTime
from database import Base
from datetime import datetime
class Cars(Base):
__tablename__ = "cars"
id = Column(Integer, primary_key=True, unique=True, autoincrement=True)
carNumber = Column(String(15))
objectId = Column(Integer)
c... | 29.631579 | 75 | 0.726465 | 63 | 563 | 6.349206 | 0.460317 | 0.0975 | 0.105 | 0.145 | 0.16 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00432 | 0.17762 | 563 | 18 | 76 | 31.277778 | 0.859611 | 0 | 0 | 0 | 0 | 0 | 0.007117 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076923 | false | 0 | 0.230769 | 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 | 0 | 0 | 1 | 0 | 0 | 1 |
e7e3e0bbde1a39a48fc5f6390b3dc5659cf53dd7 | 3,383 | py | Python | jetstream/models.py | simpsonw/atmosphere | 3a5203ef0b563de3a0e8c8c8715df88186532d7a | [
"BSD-3-Clause"
] | 197 | 2016-12-08T02:33:32.000Z | 2022-03-23T14:27:47.000Z | jetstream/models.py | simpsonw/atmosphere | 3a5203ef0b563de3a0e8c8c8715df88186532d7a | [
"BSD-3-Clause"
] | 385 | 2017-01-03T22:51:46.000Z | 2020-12-16T16:20:42.000Z | jetstream/models.py | benlazarine/atmosphere | 38fad8e4002e510e8b4294f2bb5bc75e8e1817fa | [
"BSD-3-Clause"
] | 50 | 2016-12-08T08:32:25.000Z | 2021-12-10T00:21:39.000Z | from django.db import models
from django.conf import settings
from django.utils import timezone
from .allocation import TASAPIDriver
AUTH_USER_MODEL = getattr(settings, "AUTH_USER_MODEL", 'auth.User')
class TASAllocationReport(models.Model):
"""
Keep track of each Allocation Report that is sent to TACC.API
... | 37.588889 | 111 | 0.617499 | 402 | 3,383 | 5.002488 | 0.378109 | 0.027847 | 0.053705 | 0.071606 | 0.230731 | 0.175037 | 0.113376 | 0.043759 | 0.043759 | 0.043759 | 0 | 0.01806 | 0.296187 | 3,383 | 89 | 112 | 38.011236 | 0.826543 | 0.1342 | 0 | 0.057143 | 0 | 0.014286 | 0.102062 | 0.008039 | 0 | 0 | 0 | 0.011236 | 0 | 1 | 0.042857 | false | 0.028571 | 0.071429 | 0 | 0.357143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 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 |
e7e890501c4506f05c21530ebff458c2baaf0c80 | 408 | py | Python | Site-Campus/sitecampus/migrations/0006_post_sutia.py | Benedito-Medeiros-Neto-UnB/TacProgWeb | c7d795a69524e428988d4ed796f4a1c2ded035e3 | [
"MIT"
] | 1 | 2021-04-12T13:34:00.000Z | 2021-04-12T13:34:00.000Z | Site-Campus/sitecampus/migrations/0006_post_sutia.py | Benedito-Medeiros-Neto-UnB/TacProgWeb | c7d795a69524e428988d4ed796f4a1c2ded035e3 | [
"MIT"
] | 19 | 2021-05-14T20:56:29.000Z | 2022-02-10T11:59:33.000Z | Site-Campus/sitecampus/migrations/0006_post_sutia.py | Benedito-Medeiros-Neto-UnB/TacProgWeb | c7d795a69524e428988d4ed796f4a1c2ded035e3 | [
"MIT"
] | 10 | 2021-05-13T16:18:53.000Z | 2021-11-08T14:30:08.000Z | # Generated by Django 2.2.7 on 2019-11-21 18:21
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('sitecampus', '0005_auto_20191121_1816'),
]
operations = [
migrations.AddField(
model_name='post',
name='sutia',
... | 21.473684 | 74 | 0.605392 | 46 | 408 | 5.26087 | 0.804348 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115254 | 0.276961 | 408 | 18 | 75 | 22.666667 | 0.705085 | 0.110294 | 0 | 0 | 1 | 0 | 0.116343 | 0.063712 | 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 |
e7e9078438f3dc5b027ca5bb939220b3668e6bbc | 770 | py | Python | jobs/forms.py | parad13/careerup-a-job-portal | 6f1a1b79e6b681ec8583a8b4140982ae2eb4a185 | [
"MIT"
] | 2 | 2020-12-14T10:16:58.000Z | 2022-03-21T18:12:08.000Z | jobs/forms.py | parad13/careerup-a-job-portal | 6f1a1b79e6b681ec8583a8b4140982ae2eb4a185 | [
"MIT"
] | 10 | 2021-04-06T18:23:15.000Z | 2022-01-13T03:32:45.000Z | jobs/forms.py | parad13/CareerUp | bab990eddf7fa5f6c9f23a50853fe18ff41dd02d | [
"MIT"
] | null | null | null | from django import forms
from django.contrib.auth.models import User
from django.contrib.auth.forms import UserCreationForm
from .models import user,employee
class UserRegisterForm(UserCreationForm):
email = forms.EmailField()
class Meta:
model = User
fields = ['username', 'email', 'password1'... | 24.0625 | 67 | 0.672727 | 82 | 770 | 6.268293 | 0.353659 | 0.070039 | 0.108949 | 0.145914 | 0.389105 | 0.342412 | 0.342412 | 0.342412 | 0.22179 | 0.22179 | 0 | 0.003328 | 0.219481 | 770 | 31 | 68 | 24.83871 | 0.851913 | 0 | 0 | 0.391304 | 0 | 0 | 0.112987 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.043478 | 0.173913 | 0 | 0.652174 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
e7eb580323699e5ea1efa03cb4de2a3cb5eddf9c | 1,026 | py | Python | meet/models.py | light-white/meeting | 464c1047d3cd9e620f9a4095f453186ef81cc854 | [
"Apache-2.0"
] | null | null | null | meet/models.py | light-white/meeting | 464c1047d3cd9e620f9a4095f453186ef81cc854 | [
"Apache-2.0"
] | null | null | null | meet/models.py | light-white/meeting | 464c1047d3cd9e620f9a4095f453186ef81cc854 | [
"Apache-2.0"
] | null | null | null | from django.db import models
from ckeditor.fields import RichTextField
from ckeditor_uploader.fields import RichTextUploadingField
# Create your models here.
class Meet(models.Model):
title = models.CharField(max_length = 100, verbose_name = u'标题')
body = RichTextUploadingField(config_name = 'awesome_ckeditor... | 34.2 | 89 | 0.695906 | 129 | 1,026 | 5.356589 | 0.434109 | 0.095514 | 0.069465 | 0.069465 | 0.280753 | 0.202605 | 0.109986 | 0.109986 | 0 | 0 | 0 | 0.007246 | 0.192982 | 1,026 | 29 | 90 | 35.37931 | 0.827295 | 0.023392 | 0 | 0.173913 | 0 | 0 | 0.067 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.086957 | false | 0 | 0.130435 | 0.086957 | 0.913043 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
e7f1d5cbf0d48bf2ac8ba2e6c075c4ac7627409b | 3,683 | py | Python | compare/load.py | l0rb/buzzword | 1f12875cfb883be07890b2da5482d3b53d878a09 | [
"MIT"
] | null | null | null | compare/load.py | l0rb/buzzword | 1f12875cfb883be07890b2da5482d3b53d878a09 | [
"MIT"
] | null | null | null | compare/load.py | l0rb/buzzword | 1f12875cfb883be07890b2da5482d3b53d878a09 | [
"MIT"
] | null | null | null | import os
from .utils import store_buzz_raw, _is_meaningful, _handle_page_numbers
from .models import PDF, OCRUpdate, TIF
from django.db import IntegrityError
from django.core.exceptions import ObjectDoesNotExist
import pyocr
from PIL import Image
from buzz import Collection
def _get_ocr_engine(lang):
"""
t... | 34.101852 | 82 | 0.607657 | 480 | 3,683 | 4.525 | 0.327083 | 0.032228 | 0.025783 | 0.012891 | 0.089319 | 0.089319 | 0.089319 | 0.089319 | 0.089319 | 0.058011 | 0 | 0.001931 | 0.29704 | 3,683 | 107 | 83 | 34.420561 | 0.837003 | 0.177844 | 0 | 0.085714 | 0 | 0 | 0.100404 | 0 | 0 | 0 | 0 | 0.037383 | 0 | 1 | 0.028571 | false | 0.014286 | 0.114286 | 0 | 0.157143 | 0.085714 | 0 | 0 | 0 | null | 0 | 0 | 0 | 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 |
e7f8ad23ad1374d1e142d80b6874f080a944ec21 | 353 | py | Python | api/goods/migrations/0016_firearmgooddetails_serial_number.py | django-doctor/lite-api | 1ba278ba22ebcbb977dd7c31dd3701151cd036bf | [
"MIT"
] | null | null | null | api/goods/migrations/0016_firearmgooddetails_serial_number.py | django-doctor/lite-api | 1ba278ba22ebcbb977dd7c31dd3701151cd036bf | [
"MIT"
] | null | null | null | api/goods/migrations/0016_firearmgooddetails_serial_number.py | django-doctor/lite-api | 1ba278ba22ebcbb977dd7c31dd3701151cd036bf | [
"MIT"
] | null | null | null | # Generated by Django 2.2.16 on 2020-11-09 17:15
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("goods", "0015_auto_20200925_1105"),
]
operations = [
migrations.AddField(model_name="firearmgooddetails", name="serial_number", field=model... | 23.533333 | 120 | 0.685552 | 41 | 353 | 5.780488 | 0.829268 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 0.184136 | 353 | 14 | 121 | 25.214286 | 0.711806 | 0.130312 | 0 | 0 | 1 | 0 | 0.193443 | 0.07541 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.125 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
e7fef04e46509d97e24b61001a422302485672f8 | 7,894 | py | Python | Python/ogusa/scripts/execute.py | lnsongxf/OG-USA | 9e92129e67f4aea5f3a6b8da4110bf67b99ce88a | [
"CC0-1.0"
] | 1 | 2017-05-23T13:57:53.000Z | 2017-05-23T13:57:53.000Z | Python/ogusa/scripts/execute.py | lnsongxf/OG-USA | 9e92129e67f4aea5f3a6b8da4110bf67b99ce88a | [
"CC0-1.0"
] | null | null | null | Python/ogusa/scripts/execute.py | lnsongxf/OG-USA | 9e92129e67f4aea5f3a6b8da4110bf67b99ce88a | [
"CC0-1.0"
] | 1 | 2021-06-03T19:06:24.000Z | 2021-06-03T19:06:24.000Z | '''
A 'smoke test' for the ogusa package. Uses a fake data set to run the
baseline
'''
import cPickle as pickle
import os
import numpy as np
import time
import ogusa
from ogusa import calibrate
ogusa.parameters.DATASET = 'REAL'
def runner(output_base, baseline_dir, test=False, time_path=True, baseline=False,
anal... | 45.108571 | 170 | 0.588295 | 956 | 7,894 | 4.549163 | 0.225941 | 0.047597 | 0.025293 | 0.020924 | 0.37158 | 0.279375 | 0.26098 | 0.232007 | 0.195447 | 0.195447 | 0 | 0.001157 | 0.233722 | 7,894 | 174 | 171 | 45.367816 | 0.717805 | 0.049405 | 0 | 0.115044 | 0 | 0 | 0.202296 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.00885 | 0.079646 | null | null | 0.088496 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 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 |
f000154db492c0f97d149469d3a1e18a2f1b82a3 | 561 | py | Python | timetrackerctl/tasks/source/recent.py | theCapypara/timetrackerctl | 791954bfb57d400b7e99ff49ce6ef3313646f51b | [
"MIT"
] | null | null | null | timetrackerctl/tasks/source/recent.py | theCapypara/timetrackerctl | 791954bfb57d400b7e99ff49ce6ef3313646f51b | [
"MIT"
] | null | null | null | timetrackerctl/tasks/source/recent.py | theCapypara/timetrackerctl | 791954bfb57d400b7e99ff49ce6ef3313646f51b | [
"MIT"
] | null | null | null | from datetime import datetime
from typing import List
from timetrackerctl.model.ticket import Ticket
from timetrackerctl.tasks.source import AbstractSource
class RecentSource(AbstractSource):
@property
def name(self):
return "recent"
def list(self) -> List[Ticket]:
lst = []
for h... | 26.714286 | 70 | 0.631016 | 63 | 561 | 5.571429 | 0.52381 | 0.102564 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.262032 | 561 | 20 | 71 | 28.05 | 0.847826 | 0 | 0 | 0 | 0 | 0 | 0.069519 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.25 | 0.0625 | 0.5625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 |
f002a7abfc67789e0aa3adfcef94c12dbf5dcfd0 | 486 | py | Python | Programs/UnitTests/add_test.py | reven86/dava.engine | ca47540c8694668f79774669b67d874a30188c20 | [
"BSD-3-Clause"
] | 5 | 2020-02-11T12:04:17.000Z | 2022-01-30T10:18:29.000Z | Programs/UnitTests/add_test.py | reven86/dava.engine | ca47540c8694668f79774669b67d874a30188c20 | [
"BSD-3-Clause"
] | null | null | null | Programs/UnitTests/add_test.py | reven86/dava.engine | ca47540c8694668f79774669b67d874a30188c20 | [
"BSD-3-Clause"
] | 4 | 2019-11-28T19:24:34.000Z | 2021-08-24T19:12:50.000Z | #!/usr/bin/env python
import os
import sys
import shutil
if len(sys.argv) != 2:
print """usage:
add_test.py TestClassName"""
quit()
test_class_name = sys.argv[1]
#source
cpp_read = "Classes/Infrastructure/TestTemplate.cpp.template"
cpp_write = "Classes/Tests/"+test_class_name+".cpp"
with open(cpp_write, 'w') as ... | 21.130435 | 65 | 0.707819 | 72 | 486 | 4.611111 | 0.583333 | 0.081325 | 0.11747 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004819 | 0.146091 | 486 | 22 | 66 | 22.090909 | 0.795181 | 0.053498 | 0 | 0 | 0 | 0 | 0.262009 | 0.104803 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.2 | null | null | 0.066667 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
f003cb7eabf5ede41cf60bccc989118b92918c7b | 1,757 | py | Python | cola/core/mq/message.py | hewayGitHub/2014-cola | f99787eadaff9056bc6fc0e32ea7e6256786ec15 | [
"Apache-2.0"
] | 1 | 2016-09-23T04:00:06.000Z | 2016-09-23T04:00:06.000Z | cola/core/mq/message.py | hewayGitHub/2014-cola | f99787eadaff9056bc6fc0e32ea7e6256786ec15 | [
"Apache-2.0"
] | null | null | null | cola/core/mq/message.py | hewayGitHub/2014-cola | f99787eadaff9056bc6fc0e32ea7e6256786ec15 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
'''
Copyright (c) 2013 Qin Xuye <qin@qinxuye.me>
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... | 27.453125 | 72 | 0.640296 | 236 | 1,757 | 4.669492 | 0.491525 | 0.050817 | 0.029946 | 0.049002 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018307 | 0.253842 | 1,757 | 64 | 73 | 27.453125 | 0.822273 | 0.023904 | 0 | 0 | 0 | 0 | 0.033667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.032258 | 0.032258 | null | null | 0.032258 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 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 |
f00592f83d609f5af98ea5f46bac39cd0fec3c54 | 937 | py | Python | examples/asset_information.py | speer-kinjo/ro.py | 2d5b80aec8fd143b11101fbbfdf3b557f798a27f | [
"MIT"
] | 28 | 2021-11-04T11:13:38.000Z | 2022-03-11T05:00:16.000Z | examples/asset_information.py | speer-kinjo/ro.py | 2d5b80aec8fd143b11101fbbfdf3b557f798a27f | [
"MIT"
] | 12 | 2021-11-24T06:25:24.000Z | 2022-03-18T14:37:01.000Z | examples/asset_information.py | speer-kinjo/ro.py | 2d5b80aec8fd143b11101fbbfdf3b557f798a27f | [
"MIT"
] | 21 | 2021-10-20T16:36:55.000Z | 2022-03-27T21:43:53.000Z | """
Grabs asset information.
"""
import asyncio
from roblox import Client
client = Client()
async def main():
asset = await client.get_asset(8100249026)
print("ID:", asset.id)
print("Name:", asset.name)
print(f"Description: {asset.description!r}")
print("Type:", asset.type.name)
print("Crea... | 27.558824 | 67 | 0.652081 | 128 | 937 | 4.671875 | 0.398438 | 0.060201 | 0.043478 | 0.036789 | 0.046823 | 0.046823 | 0.046823 | 0 | 0 | 0 | 0 | 0.012579 | 0.151547 | 937 | 33 | 68 | 28.393939 | 0.739623 | 0.025614 | 0 | 0 | 0 | 0 | 0.21547 | 0.023204 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.086957 | 0 | 0.086957 | 0.73913 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
f00756f34aa9776d962af3672843ea832e576cad | 1,499 | py | Python | admin.py | mback2k/django-app-comments | 01ba89bf6c59e908a837a48c92575cc2c9f64d1a | [
"MIT"
] | null | null | null | admin.py | mback2k/django-app-comments | 01ba89bf6c59e908a837a48c92575cc2c9f64d1a | [
"MIT"
] | null | null | null | admin.py | mback2k/django-app-comments | 01ba89bf6c59e908a837a48c92575cc2c9f64d1a | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from django.contrib import admin
from .models import Thread, Post, Vote, Media, Attachment
class ThreadAdmin(admin.ModelAdmin):
list_display = ('category', 'crdate', 'tstamp', 'is_closed', 'is_deleted')
list_filter = ('is_closed', 'is_deleted', 'crdate', 'tstamp')
#date_hierarchy = ... | 38.435897 | 102 | 0.679119 | 175 | 1,499 | 5.537143 | 0.365714 | 0.077399 | 0.087719 | 0.082559 | 0.247678 | 0.220846 | 0.189886 | 0.189886 | 0.189886 | 0.097007 | 0 | 0.002375 | 0.157438 | 1,499 | 38 | 103 | 39.447368 | 0.764846 | 0.047365 | 0 | 0.068966 | 0 | 0 | 0.266152 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.068966 | 0 | 0.758621 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
f00bfd663968db77d083316a0ab8cf3533ba93b6 | 766 | py | Python | apps/menuplans/forms.py | jajadinimueter/recipe | f3f0a4054a14637bf4e49728876fe7b0a029a21f | [
"MIT"
] | null | null | null | apps/menuplans/forms.py | jajadinimueter/recipe | f3f0a4054a14637bf4e49728876fe7b0a029a21f | [
"MIT"
] | null | null | null | apps/menuplans/forms.py | jajadinimueter/recipe | f3f0a4054a14637bf4e49728876fe7b0a029a21f | [
"MIT"
] | null | null | null | from django import forms
from crispy_forms.helper import FormHelper
from crispy_forms.layout import Layout
from crispy_forms.layout import Submit
from crispy_forms.bootstrap import StrictButton
from django.core.urlresolvers import reverse
class MenuplanSearchForm(forms.Form):
query = forms.CharField(label='Sear... | 26.413793 | 75 | 0.738903 | 91 | 766 | 6.10989 | 0.428571 | 0.071942 | 0.107914 | 0.07554 | 0.097122 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00627 | 0.167102 | 766 | 28 | 76 | 27.357143 | 0.865204 | 0 | 0 | 0.1 | 0 | 0 | 0.109661 | 0.045692 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.3 | 0 | 0.65 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
f00d31437543c9f48f093cde42356a1abffecc00 | 2,392 | py | Python | benchmark_caching.py | glotzerlab/signac-benchmarks | d93fe7a56cf56a1702ac7de7895e3e7c9fd6f231 | [
"MIT"
] | null | null | null | benchmark_caching.py | glotzerlab/signac-benchmarks | d93fe7a56cf56a1702ac7de7895e3e7c9fd6f231 | [
"MIT"
] | null | null | null | benchmark_caching.py | glotzerlab/signac-benchmarks | d93fe7a56cf56a1702ac7de7895e3e7c9fd6f231 | [
"MIT"
] | null | null | null | # Copyright 2017 The Regents of the University of Michigan
#
# 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 limitation the rights to
# use, copy, modif... | 35.176471 | 98 | 0.743311 | 346 | 2,392 | 5.075145 | 0.473988 | 0.050114 | 0.014806 | 0.026196 | 0.037585 | 0.037585 | 0 | 0 | 0 | 0 | 0 | 0.009955 | 0.160117 | 2,392 | 67 | 99 | 35.701493 | 0.864112 | 0.45485 | 0 | 0.162162 | 0 | 0 | 0.212003 | 0.071707 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.054054 | 0.216216 | 0 | 0.216216 | 0.081081 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
f00f0f1fe7adb7c9aaa6279ea4f087448b2b461a | 2,725 | py | Python | scripts/odom_node.py | robertonali/ROS_path_planning | 8c96293a172a28315adf4c54464ae7f7bef127b9 | [
"MIT"
] | 2 | 2021-04-18T08:21:11.000Z | 2021-11-10T08:38:34.000Z | scripts/odom_node.py | robertonali/ROS_path_planning | 8c96293a172a28315adf4c54464ae7f7bef127b9 | [
"MIT"
] | 1 | 2020-09-25T16:13:23.000Z | 2020-09-25T16:13:23.000Z | scripts/odom_node.py | robertonali/ROS_path_planning | 8c96293a172a28315adf4c54464ae7f7bef127b9 | [
"MIT"
] | null | null | null | #! /usr/bin/env python
# import ros stuff
import rospy
from sensor_msgs.msg import LaserScan
from geometry_msgs.msg import Twist, Point
from nav_msgs.msg import Odometry
from tf import transformations
import math
# robot state variables
position_ = Point()
yaw_ = 0
# machine state
state_ = 0
# goal
desired_position_... | 25.231481 | 90 | 0.639633 | 376 | 2,725 | 4.332447 | 0.271277 | 0.029466 | 0.033763 | 0.054021 | 0.288521 | 0.268877 | 0.244322 | 0.227133 | 0.227133 | 0.227133 | 0 | 0.015316 | 0.257248 | 2,725 | 108 | 91 | 25.231481 | 0.789526 | 0.067156 | 0 | 0.233766 | 0 | 0 | 0.046227 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.025974 | 0.077922 | null | null | 0.051948 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 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 |
f018108e4d30d203d9ddb6e4b916c3fca83b10b1 | 1,651 | py | Python | app/bookingdotcom.py | S3Infosoft/mvr-automation | 75f582765f39919bf2c3a35997bed242bede788b | [
"MIT"
] | null | null | null | app/bookingdotcom.py | S3Infosoft/mvr-automation | 75f582765f39919bf2c3a35997bed242bede788b | [
"MIT"
] | 19 | 2019-05-24T06:28:44.000Z | 2020-05-06T16:08:03.000Z | app/bookingdotcom.py | S3Infosoft/mvr-automation | 75f582765f39919bf2c3a35997bed242bede788b | [
"MIT"
] | null | null | null | from ota import OTA
from Common import *
from local import Booking
from selenium.common.exceptions import TimeoutException
class BookingDotComImpl(OTA):
def __init__(self, search_text, hotel_id, checkin, checkout, room_typeids, room_priceids):
super(BookingDotComImpl, self).__init__("booking.com", checkin... | 47.171429 | 102 | 0.643852 | 208 | 1,651 | 4.841346 | 0.298077 | 0.065541 | 0.041708 | 0.080437 | 0.378352 | 0.34856 | 0.34856 | 0.34856 | 0.34856 | 0.323734 | 0 | 0.005551 | 0.23622 | 1,651 | 34 | 103 | 48.558824 | 0.793021 | 0.036342 | 0 | 0.241379 | 0 | 0 | 0.112649 | 0 | 0 | 0 | 0 | 0.029412 | 0 | 1 | 0.068966 | false | 0 | 0.137931 | 0 | 0.344828 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 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 |
f0181379c4841a0faedf66d06b0ab7955b9cd7d7 | 1,086 | py | Python | standard/migrations/0009_auto_20180531_2118.py | paleocore/paleocore110 | 754f3248ab22a2996b43bd224bd4ba15462edf7d | [
"MIT"
] | null | null | null | standard/migrations/0009_auto_20180531_2118.py | paleocore/paleocore110 | 754f3248ab22a2996b43bd224bd4ba15462edf7d | [
"MIT"
] | 7 | 2020-02-05T20:54:24.000Z | 2021-12-13T20:13:20.000Z | standard/migrations/0009_auto_20180531_2118.py | paleocore/paleocore110 | 754f3248ab22a2996b43bd224bd4ba15462edf7d | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.11.1 on 2018-05-31 21:18
from __future__ import unicode_literals
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('standard', '0008_auto_20180531_2029'),
]
operation... | 33.9375 | 172 | 0.649171 | 123 | 1,086 | 5.560976 | 0.398374 | 0.05848 | 0.081871 | 0.128655 | 0.54386 | 0.54386 | 0.381579 | 0.381579 | 0.381579 | 0.381579 | 0 | 0.039286 | 0.226519 | 1,086 | 31 | 173 | 35.032258 | 0.775 | 0.062615 | 0 | 0.375 | 1 | 0 | 0.15665 | 0.085714 | 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 |
f01930a12f46c2006047286188e16bb9f9ff5a08 | 3,320 | py | Python | pythonTQC+_ch2.py | darkbuq/PythonTQC | 74a0bfb21931a1fbfc8f52d43e5590f5d8be293e | [
"Apache-2.0"
] | null | null | null | pythonTQC+_ch2.py | darkbuq/PythonTQC | 74a0bfb21931a1fbfc8f52d43e5590f5d8be293e | [
"Apache-2.0"
] | null | null | null | pythonTQC+_ch2.py | darkbuq/PythonTQC | 74a0bfb21931a1fbfc8f52d43e5590f5d8be293e | [
"Apache-2.0"
] | null | null | null | #%%
"""
Python 201 偶數判斷
請使用選擇敘述撰寫一程式,
讓使用者輸入一個正整數,然後判斷它是否為偶數(even)。
範例輸出
56 is an even number.
21 is not an even number.
"""
x=int(input())
if x%2==0:
print('{:d} is an even number.'.format(x))
else:
print('{:d} is not an even number.'.format(x))
#%%
"""
Python 202 倍數判斷
請使用選擇敘述撰寫一程式,讓使用者輸入一個正整數,
然後判斷它是3或5的倍數,顯... | 14.954955 | 54 | 0.630723 | 593 | 3,320 | 3.53457 | 0.300169 | 0.022901 | 0.062977 | 0.055821 | 0.269084 | 0.177481 | 0.177481 | 0.134065 | 0.082538 | 0.082538 | 0 | 0.083939 | 0.171084 | 3,320 | 222 | 55 | 14.954955 | 0.676962 | 0.040361 | 0 | 0.194805 | 0 | 0 | 0.18754 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.402597 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
f01b03273e4c4029aef6be2c465dc673343220d9 | 514 | py | Python | models/config.py | adynathos/pytorch-semantic-segmentation | 44d1784984cfd0926821c3fdbc20d371bb074296 | [
"MIT"
] | null | null | null | models/config.py | adynathos/pytorch-semantic-segmentation | 44d1784984cfd0926821c3fdbc20d371bb074296 | [
"MIT"
] | null | null | null | models/config.py | adynathos/pytorch-semantic-segmentation | 44d1784984cfd0926821c3fdbc20d371bb074296 | [
"MIT"
] | 1 | 2020-09-03T16:01:08.000Z | 2020-09-03T16:01:08.000Z | import os
# PyTorch will automatically download pretrained weights into `os.environ['TORCH_MODEL_ZOO']`
# using the mechanism described here: (http://pytorch.org/docs/master/model_zoo.html)
# Download links used are also listed here: (https://github.com/pytorch/vision/tree/master/torchvision/models)
'''
vgg16 trained... | 42.833333 | 110 | 0.772374 | 75 | 514 | 5.2 | 0.64 | 0.061538 | 0.066667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017167 | 0.093385 | 514 | 11 | 111 | 46.727273 | 0.819742 | 0.552529 | 0 | 0 | 0 | 0 | 0.28972 | 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 |
f021b011b7b34451455a5de73f6793c63499d327 | 1,317 | py | Python | mirage/heroku/configure.py | fossabot/django-mirage | 814b3f2486af31f9dca42ef4bb0215655fe0aea6 | [
"Apache-2.0"
] | 4 | 2019-05-16T09:26:21.000Z | 2022-02-14T06:21:40.000Z | mirage/heroku/configure.py | fossabot/django-mirage | 814b3f2486af31f9dca42ef4bb0215655fe0aea6 | [
"Apache-2.0"
] | 77 | 2019-05-10T22:24:54.000Z | 2021-07-02T03:11:01.000Z | mirage/heroku/configure.py | fossabot/django-mirage | 814b3f2486af31f9dca42ef4bb0215655fe0aea6 | [
"Apache-2.0"
] | 1 | 2018-12-08T09:57:54.000Z | 2018-12-08T09:57:54.000Z | # -*- coding: utf-8 -*-
"""
Copyright 2017-2018 Shota Shimazu.
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 appl... | 34.657895 | 87 | 0.719058 | 176 | 1,317 | 5.340909 | 0.607955 | 0.06383 | 0.02766 | 0.034043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012287 | 0.196659 | 1,317 | 37 | 88 | 35.594595 | 0.876181 | 0.462415 | 0 | 0 | 0 | 0 | 0.077143 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.133333 | false | 0 | 0.333333 | 0 | 0.533333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
f0225ca45c23136e556ff0ed21df4fe31634dcd2 | 635 | py | Python | src/splitTracker.py | iamshnoo/TerminusBrowser | e88dc1319108f7d3b5a00f97c268eb036a13407c | [
"BSD-3-Clause"
] | 2 | 2019-08-14T18:53:58.000Z | 2019-08-15T03:57:59.000Z | src/splitTracker.py | iamshnoo/TerminusBrowser | e88dc1319108f7d3b5a00f97c268eb036a13407c | [
"BSD-3-Clause"
] | 5 | 2019-08-14T14:37:34.000Z | 2019-08-15T10:26:38.000Z | src/splitTracker.py | iamshnoo/TerminusBrowser | e88dc1319108f7d3b5a00f97c268eb036a13407c | [
"BSD-3-Clause"
] | null | null | null | import urwid
from Views.viewClass import View
import logging
log = logging.getLogger(__name__)
class Column():
def __init__(self):
self.widgets = []
class Row():
def __init__(self):
self.widgets = []
def buildUrwidFromSplits(splitList):
log.debug(type(splitList) is View)
if type(sp... | 25.4 | 82 | 0.697638 | 78 | 635 | 5.525641 | 0.423077 | 0.12065 | 0.139211 | 0.069606 | 0.389791 | 0.287703 | 0.287703 | 0.287703 | 0.287703 | 0.287703 | 0 | 0 | 0.2 | 635 | 24 | 83 | 26.458333 | 0.848425 | 0 | 0 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.166667 | 0 | 0.611111 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
f025b6e35b56e9d8312041d3ff111aeeb7b75f63 | 3,145 | py | Python | apps/raidnight/models.py | zhudotexe/cse183-raidnight-backend | 51cab1567ae0f48f41b3be46cf83bbf2afed23a3 | [
"MIT"
] | null | null | null | apps/raidnight/models.py | zhudotexe/cse183-raidnight-backend | 51cab1567ae0f48f41b3be46cf83bbf2afed23a3 | [
"MIT"
] | null | null | null | apps/raidnight/models.py | zhudotexe/cse183-raidnight-backend | 51cab1567ae0f48f41b3be46cf83bbf2afed23a3 | [
"MIT"
] | null | null | null | from py4web import Field
from .fixtures import db
# ==== GAME ====
db.define_table(
'game_sessions', # not to be confused with sessions, the user kind
Field('name', 'string', length=128, notnull=True),
Field('description', 'text', length=2048, notnull=False),
Field('owner_id', 'reference auth_user', ... | 33.457447 | 108 | 0.669952 | 409 | 3,145 | 4.948655 | 0.215159 | 0.119565 | 0.096344 | 0.083992 | 0.604249 | 0.467885 | 0.375 | 0.309783 | 0.267292 | 0.126482 | 0 | 0.020129 | 0.162798 | 3,145 | 93 | 109 | 33.817204 | 0.748576 | 0.381558 | 0 | 0.28 | 0 | 0 | 0.34979 | 0.023109 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.04 | 0 | 0.04 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
f0265623019b4198cf2dc39d590e3188774ebb81 | 715 | py | Python | src/python/marbles/deploy/ECR.py | marbles-ai/ie | b3fef462d3418580c827c94bc206bd2991500c1f | [
"MIT"
] | null | null | null | src/python/marbles/deploy/ECR.py | marbles-ai/ie | b3fef462d3418580c827c94bc206bd2991500c1f | [
"MIT"
] | null | null | null | src/python/marbles/deploy/ECR.py | marbles-ai/ie | b3fef462d3418580c827c94bc206bd2991500c1f | [
"MIT"
] | null | null | null | import boto3
import subprocess
class ECR:
def __init__(self):
self.ecr = boto3.client('ecr')
def list_images(self, repository):
response = self.ecr.list_images(
repositoryName=repository
)
print "----- Available Images -----"
for image in response['imageId... | 24.655172 | 61 | 0.567832 | 75 | 715 | 5.24 | 0.386667 | 0.076336 | 0.152672 | 0.111959 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004024 | 0.304895 | 715 | 28 | 62 | 25.535714 | 0.78672 | 0 | 0 | 0 | 0 | 0 | 0.09944 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.1 | null | null | 0.1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
f02e83899258dcf53671284a36db07df3eaa8949 | 1,404 | py | Python | app/core/tests/test_admin.py | p-schlickmann/recipe-rest-api | a24b160f6ad15884f692463c6305187ea78bdf15 | [
"MIT"
] | null | null | null | app/core/tests/test_admin.py | p-schlickmann/recipe-rest-api | a24b160f6ad15884f692463c6305187ea78bdf15 | [
"MIT"
] | null | null | null | app/core/tests/test_admin.py | p-schlickmann/recipe-rest-api | a24b160f6ad15884f692463c6305187ea78bdf15 | [
"MIT"
] | null | null | null | from django.test import TestCase, Client
from django.urls import reverse
from django.contrib.auth import get_user_model
class AdminSiteTest(TestCase):
"""Admin page unit tests"""
def setUp(self):
"""Runs before the tests"""
self.client = Client()
self.admin_user = get_user_model().obje... | 31.2 | 68 | 0.639601 | 175 | 1,404 | 4.977143 | 0.337143 | 0.057405 | 0.041332 | 0.065442 | 0.409874 | 0.309989 | 0.211251 | 0.137773 | 0.137773 | 0.137773 | 0 | 0.014205 | 0.247863 | 1,404 | 44 | 69 | 31.909091 | 0.810606 | 0.116809 | 0 | 0.172414 | 0 | 0 | 0.092409 | 0.039604 | 0 | 0 | 0 | 0 | 0.137931 | 1 | 0.137931 | false | 0.068966 | 0.103448 | 0 | 0.275862 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
f0303bf7f23186d71783dd1f9c0d85cdf208ce9a | 5,180 | py | Python | SimG4CMS/HcalTestBeam/test/python/run_tb06_all_cfg.py | Purva-Chaudhari/cmssw | 32e5cbfe54c4d809d60022586cf200b7c3020bcf | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | SimG4CMS/HcalTestBeam/test/python/run_tb06_all_cfg.py | Purva-Chaudhari/cmssw | 32e5cbfe54c4d809d60022586cf200b7c3020bcf | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | SimG4CMS/HcalTestBeam/test/python/run_tb06_all_cfg.py | Purva-Chaudhari/cmssw | 32e5cbfe54c4d809d60022586cf200b7c3020bcf | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | #!/usr/bin/env python
from __future__ import print_function
import os, sys
#====================== check input ==========================
VERSION = os.environ.get('CMSSW_VERSION')
if VERSION is None:
print('''No environment CMSSW_VERSION''')
sys.exit()
if len(sys.argv) < 5:
print('Usage: python run.py Phy... | 35.724138 | 198 | 0.618726 | 709 | 5,180 | 4.445698 | 0.266573 | 0.095178 | 0.094226 | 0.119924 | 0.484772 | 0.407995 | 0.309962 | 0.309962 | 0.263642 | 0.218909 | 0 | 0.059428 | 0.135907 | 5,180 | 144 | 199 | 35.972222 | 0.644772 | 0.049228 | 0 | 0.08547 | 0 | 0.008547 | 0.489228 | 0.287805 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.042735 | null | null | 0.051282 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 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 |
f033aa81bb314b27e5544cadd6b16eec620217d0 | 397 | py | Python | simtest.py | TobleMiner/psydewalk | deb8d5e2a6cca4bc7ab81bdd56841d735db0ee34 | [
"MIT"
] | null | null | null | simtest.py | TobleMiner/psydewalk | deb8d5e2a6cca4bc7ab81bdd56841d735db0ee34 | [
"MIT"
] | null | null | null | simtest.py | TobleMiner/psydewalk | deb8d5e2a6cca4bc7ab81bdd56841d735db0ee34 | [
"MIT"
] | null | null | null | #!/bin/env python3
from psydewalk import Simulation
from psydewalk.human import Human
from psydewalk.geo import Coordinate
from psydewalk.tracking import TrackingServer
import logging
logging.basicConfig(level=logging.DEBUG)
sim = Simulation()
human = Human(sim, Coordinate(54.355474, 10.131083))
tracker = Tracking... | 19.85 | 52 | 0.79597 | 49 | 397 | 6.44898 | 0.530612 | 0.164557 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047887 | 0.105793 | 397 | 19 | 53 | 20.894737 | 0.842254 | 0.042821 | 0 | 0 | 0 | 0 | 0.005277 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.416667 | 0 | 0.416667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 |
f033e4590131a40f4fb28715e3ff787d2b324faa | 5,553 | py | Python | blog/race/migrations/0001_initial.py | 2390309523/Blog | 0e8b25cd04eb010f0e9af9fc8314325ae6a5e2d5 | [
"MIT"
] | null | null | null | blog/race/migrations/0001_initial.py | 2390309523/Blog | 0e8b25cd04eb010f0e9af9fc8314325ae6a5e2d5 | [
"MIT"
] | null | null | null | blog/race/migrations/0001_initial.py | 2390309523/Blog | 0e8b25cd04eb010f0e9af9fc8314325ae6a5e2d5 | [
"MIT"
] | null | null | null | # Generated by Django 3.0.7 on 2020-06-04 03:07
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Admin',
fields=[
... | 51.897196 | 153 | 0.588691 | 590 | 5,553 | 5.347458 | 0.208475 | 0.048178 | 0.044374 | 0.069731 | 0.628843 | 0.510301 | 0.476704 | 0.419968 | 0.197464 | 0.197464 | 0 | 0.020015 | 0.262201 | 5,553 | 106 | 154 | 52.386792 | 0.750061 | 0.008104 | 0 | 0.333333 | 1 | 0 | 0.149292 | 0.010171 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.020202 | 0.020202 | 0 | 0.060606 | 0 | 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 |
f03491f41fcfeb5ec58930a113562c685fe0a822 | 2,385 | py | Python | interface PyQT/mainWindow.py | iinels-pes-001/caixa-comportamental-ramon | cdf1eb006d10876edd7b2a143077ce57cdcdd17b | [
"MIT"
] | null | null | null | interface PyQT/mainWindow.py | iinels-pes-001/caixa-comportamental-ramon | cdf1eb006d10876edd7b2a143077ce57cdcdd17b | [
"MIT"
] | 29 | 2019-08-30T16:24:28.000Z | 2019-09-04T19:53:12.000Z | interface PyQT/mainWindow.py | iinels-pes-001/caixa-comportamental-ramon | cdf1eb006d10876edd7b2a143077ce57cdcdd17b | [
"MIT"
] | 5 | 2019-08-30T13:17:19.000Z | 2019-09-02T20:16:42.000Z | # -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'mainWindow.ui'
#
# Created by: PyQt5 UI code generator 5.13.0
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore, QtGui, QtWidgets
from otherWindow import Ui_MainWindow
from aboutWindow import Ui_MainWindow1
... | 31.8 | 74 | 0.659539 | 276 | 2,385 | 5.601449 | 0.380435 | 0.108668 | 0.058215 | 0.029754 | 0.262613 | 0.184994 | 0.150065 | 0.150065 | 0.095731 | 0.095731 | 0 | 0.042156 | 0.214256 | 2,385 | 74 | 75 | 32.22973 | 0.782818 | 0.077149 | 0 | 0.12 | 1 | 0 | 0.101185 | 0.012306 | 0 | 0 | 0 | 0 | 0 | 1 | 0.08 | false | 0 | 0.1 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
f034e74f6248c3c818c90abbd7e9230301d7c867 | 678 | py | Python | office365/sharepoint/fields/field_type.py | wreiner/Office365-REST-Python-Client | 476bbce4f5928a140b4f5d33475d0ac9b0783530 | [
"MIT"
] | 544 | 2016-08-04T17:10:16.000Z | 2022-03-31T07:17:20.000Z | office365/sharepoint/fields/field_type.py | wreiner/Office365-REST-Python-Client | 476bbce4f5928a140b4f5d33475d0ac9b0783530 | [
"MIT"
] | 438 | 2016-10-11T12:24:22.000Z | 2022-03-31T19:30:35.000Z | office365/sharepoint/fields/field_type.py | wreiner/Office365-REST-Python-Client | 476bbce4f5928a140b4f5d33475d0ac9b0783530 | [
"MIT"
] | 202 | 2016-08-22T19:29:40.000Z | 2022-03-30T20:26:15.000Z | class FieldType:
def __init__(self):
pass
Invalid = 0
Integer = 1
Text = 2
Note = 3
DateTime = 4
Counter = 5
Choice = 6
Lookup = 7
Boolean = 8
Number = 9
Currency = 10
URL = 11
Computed = 12
Threading = 13
Guid = 14
MultiChoice = 15
GridCh... | 17.384615 | 26 | 0.566372 | 74 | 678 | 5.135135 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137441 | 0.377581 | 678 | 38 | 27 | 17.842105 | 0.763033 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.027027 | false | 0.027027 | 0 | 0 | 0.972973 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
f0377172ef569e06bdccdfa25e12b3f19d983639 | 5,604 | py | Python | metrics.py | ksboy/ner-pipeline | 8708291f298dcf0f2bd67e03675e7b01d524f752 | [
"Apache-2.0"
] | 3 | 2021-07-14T06:33:10.000Z | 2022-02-14T15:58:01.000Z | metrics.py | ksboy/ner | 8708291f298dcf0f2bd67e03675e7b01d524f752 | [
"Apache-2.0"
] | null | null | null | metrics.py | ksboy/ner | 8708291f298dcf0f2bd67e03675e7b01d524f752 | [
"Apache-2.0"
] | null | null | null | from seqeval.metrics.sequence_labeling import get_entities, f1_score, precision_score, recall_score, accuracy_score
from seqeval.metrics.sequence_labeling import classification_report
# from sklearn.metrics import f1_score, precision_recall, recall_score, accuracy_score
# from sklearn.metrics import classification_rep... | 35.923077 | 115 | 0.612598 | 866 | 5,604 | 3.674365 | 0.090069 | 0.091138 | 0.056568 | 0.09428 | 0.759271 | 0.704903 | 0.627593 | 0.592395 | 0.560339 | 0.560339 | 0 | 0.010803 | 0.273198 | 5,604 | 155 | 116 | 36.154839 | 0.770439 | 0.092256 | 0 | 0.469565 | 0 | 0 | 0.017357 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.086957 | false | 0 | 0.034783 | 0 | 0.208696 | 0.008696 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
f0431f6e9145a6d33e13a5dea0408305bb2ba00b | 29,359 | py | Python | ui_mainwindowtrabajofinal.py | GabiAndi/UNER_Robotica | 52c849e70efdee46d6af915349f13f91d47eefcc | [
"MIT"
] | null | null | null | ui_mainwindowtrabajofinal.py | GabiAndi/UNER_Robotica | 52c849e70efdee46d6af915349f13f91d47eefcc | [
"MIT"
] | null | null | null | ui_mainwindowtrabajofinal.py | GabiAndi/UNER_Robotica | 52c849e70efdee46d6af915349f13f91d47eefcc | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
################################################################################
## Form generated from reading UI file 'ui_mainwindowtrabajofinal.ui'
##
## Created by: Qt User Interface Compiler version 6.2.2
##
## WARNING! All changes made in this file will be lost when recompiling UI file!
#... | 47.276973 | 144 | 0.748254 | 2,783 | 29,359 | 7.774344 | 0.081207 | 0.095674 | 0.104271 | 0.106489 | 0.43386 | 0.234609 | 0.1846 | 0.174894 | 0.168885 | 0.144389 | 0 | 0.042165 | 0.15181 | 29,359 | 620 | 145 | 47.353226 | 0.826681 | 0.008209 | 0 | 0 | 1 | 0.009547 | 0.098884 | 0.044018 | 0 | 0 | 0 | 0 | 0 | 1 | 0.004773 | false | 0 | 0.009547 | 0 | 0.016706 | 0 | 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 |
f043a7994ac3fb7b3d7408ae690df4a9e56954c9 | 447 | py | Python | 0416/mysite/cms/migrations/0003_auto_20180416_0925.py | killua4564/jellyfish | 5d531a340f2088fcd586f3c3ebaf2854263ad22b | [
"BSD-2-Clause"
] | null | null | null | 0416/mysite/cms/migrations/0003_auto_20180416_0925.py | killua4564/jellyfish | 5d531a340f2088fcd586f3c3ebaf2854263ad22b | [
"BSD-2-Clause"
] | 2 | 2018-03-05T02:45:47.000Z | 2018-03-05T03:42:21.000Z | 0416/mysite/cms/migrations/0003_auto_20180416_0925.py | killua4564/jellyfish | 5d531a340f2088fcd586f3c3ebaf2854263ad22b | [
"BSD-2-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.11.7 on 2018-04-16 09:25
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('cms', '0002_person'),
]
operations = [
migrations.AlterField(
m... | 21.285714 | 63 | 0.606264 | 50 | 447 | 5.26 | 0.82 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.07362 | 0.270694 | 447 | 20 | 64 | 22.35 | 0.733129 | 0.152125 | 0 | 0 | 1 | 0 | 0.066489 | 0 | 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 |
f0461be535aae56d5c10d7e1b858f3b7da8098ab | 2,470 | py | Python | app/migrations/0019_wahsubmitforcontractor.py | ThebiggunSeeoil/app-cbre-exxon | efec395dca662132a19f882b0ff3dbb6318b3e51 | [
"MIT"
] | null | null | null | app/migrations/0019_wahsubmitforcontractor.py | ThebiggunSeeoil/app-cbre-exxon | efec395dca662132a19f882b0ff3dbb6318b3e51 | [
"MIT"
] | null | null | null | app/migrations/0019_wahsubmitforcontractor.py | ThebiggunSeeoil/app-cbre-exxon | efec395dca662132a19f882b0ff3dbb6318b3e51 | [
"MIT"
] | null | null | null | # Generated by Django 2.1.15 on 2020-12-07 18:20
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('app', '0018_auto_20201207_1614'),
]
operations = [
migrations.CreateModel(
name='WahSubmitforcontractor',
fields=[
... | 49.4 | 114 | 0.579757 | 255 | 2,470 | 5.427451 | 0.341176 | 0.184249 | 0.147399 | 0.156069 | 0.505058 | 0.388006 | 0.340318 | 0.158237 | 0 | 0 | 0 | 0.048631 | 0.275709 | 2,470 | 49 | 115 | 50.408163 | 0.724427 | 0.018623 | 0 | 0 | 1 | 0 | 0.159372 | 0.028902 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.023256 | 0 | 0.093023 | 0 | 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 |
f049604ac314b8b86a88942bcaa4b4eb5dbef000 | 1,565 | py | Python | set1/Challenge3.py | JamYip/cryptopals | dc8daac423a4da86b2d027d1191521578ef63d49 | [
"Apache-2.0"
] | null | null | null | set1/Challenge3.py | JamYip/cryptopals | dc8daac423a4da86b2d027d1191521578ef63d49 | [
"Apache-2.0"
] | null | null | null | set1/Challenge3.py | JamYip/cryptopals | dc8daac423a4da86b2d027d1191521578ef63d49 | [
"Apache-2.0"
] | null | null | null | '''Challenges Set 1 Challenge 3 Single-byte XOR cipher'''
# http://www.data-compression.com/english.html
CHARACTER_FREQ = {
'a': 0.0651738, 'b': 0.0124248, 'c': 0.0217339, 'd': 0.0349835, 'e': 0.1041442, 'f': 0.0197881, 'g': 0.0158610,
'h': 0.0492888, 'i': 0.0558094, 'j': 0.0009033, 'k': 0.0050529, 'l':... | 31.3 | 115 | 0.585304 | 229 | 1,565 | 3.882096 | 0.50655 | 0.04387 | 0.026997 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.235343 | 0.237061 | 1,565 | 50 | 116 | 31.3 | 0.509213 | 0.066454 | 0 | 0 | 0 | 0 | 0.095485 | 0.050333 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0 | 0 | 0.194444 | 0.027778 | 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 |
f04b65ae38b6973df3dbb2cc1fc96640c8f2cecf | 1,093 | py | Python | regression-analysis-part-1--simple-linear-regression/simple_linear_regression.py | Dementophobia/fundamentals-of-artificial-neural-networks | 6cd52889b2958c8910d272e6fc2169ac1d6c2dc8 | [
"MIT"
] | 1 | 2019-12-27T14:08:28.000Z | 2019-12-27T14:08:28.000Z | regression-analysis-part-1--simple-linear-regression/simple_linear_regression.py | Dementophobia/fundamentals-of-artificial-neural-networks | 6cd52889b2958c8910d272e6fc2169ac1d6c2dc8 | [
"MIT"
] | null | null | null | regression-analysis-part-1--simple-linear-regression/simple_linear_regression.py | Dementophobia/fundamentals-of-artificial-neural-networks | 6cd52889b2958c8910d272e6fc2169ac1d6c2dc8 | [
"MIT"
] | null | null | null | import numpy as np
import matplotlib.pyplot as plt
def generate_water_stats():
cov = np.array([[1.2, 1], [1, 1]])
mean = np.array([3.2, 3.5])
values = np.random.multivariate_normal(mean=mean, cov=cov, size=100)
return values[:, 0]*5, values[:, 1]
def plot_stats_without_lobf(x, y):
plt.scatt... | 26.02381 | 72 | 0.606587 | 194 | 1,093 | 3.329897 | 0.298969 | 0.027864 | 0.055728 | 0.032508 | 0.45356 | 0.408669 | 0.23839 | 0.23839 | 0.173375 | 0.173375 | 0 | 0.019837 | 0.215919 | 1,093 | 41 | 73 | 26.658537 | 0.731622 | 0 | 0 | 0.258065 | 1 | 0 | 0.167429 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.129032 | false | 0 | 0.064516 | 0 | 0.258065 | 0.032258 | 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 |
f04e1560af125b611a495c4c2b39bdc7eab38de4 | 223 | py | Python | Basic/if.py | silence0201/Learn-Python | 662da7c0e74221cedb445ba17d5cb1cd3af41c86 | [
"MIT"
] | 1 | 2018-05-30T01:38:23.000Z | 2018-05-30T01:38:23.000Z | Basic/if.py | silence0201/Learn-Python | 662da7c0e74221cedb445ba17d5cb1cd3af41c86 | [
"MIT"
] | null | null | null | Basic/if.py | silence0201/Learn-Python | 662da7c0e74221cedb445ba17d5cb1cd3af41c86 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding=utf-8 -*-
# 注意:
# input()返回的是字符串
# 必须通过int()将字符串转换为整数
# 才能用于数值比较:
age = int(input('请输入你的年龄:'))
if age >= 18:
print("成年人")
elif age >= 6:
print("青少年")
else:
print('孩子')
| 13.117647 | 28 | 0.556054 | 30 | 223 | 4.133333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028571 | 0.215247 | 223 | 17 | 29 | 13.117647 | 0.68 | 0.403587 | 0 | 0 | 0 | 0 | 0.125 | 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 |
f059cafab8d1a382593f36db30c95e38f51452e0 | 2,193 | py | Python | github_api/github/githubv4.py | Hiroya-W/github-api | 96453527dd50cbfbd9684398b88d50df0a56a593 | [
"MIT"
] | null | null | null | github_api/github/githubv4.py | Hiroya-W/github-api | 96453527dd50cbfbd9684398b88d50df0a56a593 | [
"MIT"
] | null | null | null | github_api/github/githubv4.py | Hiroya-W/github-api | 96453527dd50cbfbd9684398b88d50df0a56a593 | [
"MIT"
] | null | null | null | from github_api.client import DefaultHttpClient
from requests.models import Response
class GitHubV4(DefaultHttpClient):
"""
GitHubV4 is a class that implements the client for the GitHub API v4.
Examples
--------
>>> from experiments.github import get_github_token
>>> from experiments.github i... | 30.458333 | 85 | 0.383949 | 147 | 2,193 | 5.517007 | 0.455782 | 0.054254 | 0.051788 | 0.066584 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00885 | 0.536252 | 2,193 | 71 | 86 | 30.887324 | 0.788594 | 0.131327 | 0 | 0 | 0 | 0 | 0.117573 | 0.037927 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.095238 | 0 | 0.380952 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.