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
58758478a18b6740c6b9e67aba6ec07d8d72658c
14,457
py
Python
swf/geom.py
CounterPillow/pyswf
6dcc9b978e4b6469eb11cc496bcf22118fd3622a
[ "MIT" ]
null
null
null
swf/geom.py
CounterPillow/pyswf
6dcc9b978e4b6469eb11cc496bcf22118fd3622a
[ "MIT" ]
null
null
null
swf/geom.py
CounterPillow/pyswf
6dcc9b978e4b6469eb11cc496bcf22118fd3622a
[ "MIT" ]
1
2019-08-10T15:00:23.000Z
2019-08-10T15:00:23.000Z
import math SNAP = 0.001 class Vector2(object): def __init__(self, x=0.0, y=0.0): self.x = x self.y = y class Vector3(object): def __init__(self, x=0, y=0, z=0): self.x = x self.y = y self.z = z def clone(self): return Vector3(self.x, self.y, s...
38.862903
153
0.494639
2,585
14,457
2.758994
0.071954
0.029445
0.025238
0.008413
0.540101
0.35544
0.328239
0.193494
0.193494
0.183539
0
0.213635
0.331397
14,457
371
154
38.967655
0.524209
0.017708
0
0.196078
0
0
0.0012
0
0
0
0
0.002695
0
1
0.137255
false
0
0.003268
0.029412
0.254902
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
587a24259172b41d10e38bd6fe17288cb373f2b7
358
py
Python
dotmodules/commands/__init__.py
dotmodules/dm
ec2ebf6c8b9ac707440a81d0f25003af6f0603c2
[ "MIT" ]
null
null
null
dotmodules/commands/__init__.py
dotmodules/dm
ec2ebf6c8b9ac707440a81d0f25003af6f0603c2
[ "MIT" ]
null
null
null
dotmodules/commands/__init__.py
dotmodules/dm
ec2ebf6c8b9ac707440a81d0f25003af6f0603c2
[ "MIT" ]
null
null
null
from .commands import Command, Commands from .exit import ExitCommand from .help import HelpCommand from .hooks import HooksCommand from .modules import ModulesCommand from .variables import VariablesCommand __all__ = [ "Command", "Commands", "ExitCommand", "HelpCommand", "HooksCommand", "Modul...
21.058824
39
0.731844
33
358
7.818182
0.454545
0.116279
0
0
0
0
0
0
0
0
0
0
0.181564
358
16
40
22.375
0.880546
0
0
0
0
0
0.22067
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
58813e3602ce8cbf55682ac791e772069774f92a
3,275
py
Python
docs/conf.py
LonelyGuy12/disnake-ext-audiorec
81a52db6d54d36635e01a674340e94c55a408261
[ "MIT" ]
null
null
null
docs/conf.py
LonelyGuy12/disnake-ext-audiorec
81a52db6d54d36635e01a674340e94c55a408261
[ "MIT" ]
null
null
null
docs/conf.py
LonelyGuy12/disnake-ext-audiorec
81a52db6d54d36635e01a674340e94c55a408261
[ "MIT" ]
null
null
null
# Configuration file for the Sphinx documentation builder. # # This file only contains a selection of the most common options. For a full # list see the documentation: # https://www.sphinx-doc.org/en/master/usage/configuration.html # -- Path setup -------------------------------------------------------------- ...
33.080808
82
0.644885
413
3,275
5.012107
0.486683
0.043478
0.018357
0.017391
0.0657
0
0
0
0
0
0
0.004808
0.174351
3,275
98
83
33.418367
0.760725
0.467481
0
0
0
0.02
0.495674
0.10445
0
0
0
0.010204
0
1
0
false
0
0.06
0
0.06
0
0
0
0
null
0
0
0
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
5881edabd82c76d0d8ccd509f93454878cac1417
1,880
py
Python
Programs/ResourceEditor/Teamcity/postDeploy.py
stinvi/dava.engine
2b396ca49cdf10cdc98ad8a9ffcf7768a05e285e
[ "BSD-3-Clause" ]
26
2018-09-03T08:48:22.000Z
2022-02-14T05:14:50.000Z
Programs/ResourceEditor/Teamcity/postDeploy.py
ANHELL-blitz/dava.engine
ed83624326f000866e29166c7f4cccfed1bb41d4
[ "BSD-3-Clause" ]
null
null
null
Programs/ResourceEditor/Teamcity/postDeploy.py
ANHELL-blitz/dava.engine
ed83624326f000866e29166c7f4cccfed1bb41d4
[ "BSD-3-Clause" ]
45
2018-05-11T06:47:17.000Z
2022-02-03T11:30:55.000Z
import os import sys from subprocess import Popen, PIPE from shutil import copytree, rmtree, ignore_patterns, copyfile def CopyFolder(srcFolder, dstFolder): print "Copy folder " + srcFolder + " to " + dstFolder IGNORE_PATTERNS = ('.svn') copytree(srcFolder, dstFolder, symlinks=False, ignore=ignore_patter...
36.153846
237
0.640426
209
1,880
5.684211
0.4689
0.03367
0.020202
0.020202
0.021886
0
0
0
0
0
0
0.015721
0.221809
1,880
52
238
36.153846
0.796309
0
0
0
0
0
0.227007
0.014354
0
0
0
0
0
0
null
null
0
0.105263
null
null
0.131579
0
0
0
null
0
0
0
0
0
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
58844e9411516698cf2973e622c15dca46980db8
2,819
py
Python
evap/rewards/models.py
PFischbeck/EvaP
33c4f07186966e0ef2636174aec1e6f330a91226
[ "MIT" ]
null
null
null
evap/rewards/models.py
PFischbeck/EvaP
33c4f07186966e0ef2636174aec1e6f330a91226
[ "MIT" ]
null
null
null
evap/rewards/models.py
PFischbeck/EvaP
33c4f07186966e0ef2636174aec1e6f330a91226
[ "MIT" ]
null
null
null
from collections import OrderedDict from django.utils.translation import gettext_lazy as _ from django.dispatch import Signal from django.db import models from evap.evaluation.models import UserProfile, Semester class NoPointsSelected(Exception): """An attempt has been made to redeem <= 0 points.""" class Not...
39.152778
114
0.752749
332
2,819
6.207831
0.340361
0.037361
0.032994
0.042698
0.477923
0.361475
0.327511
0.327511
0.309558
0.309558
0
0.003383
0.16105
2,819
71
115
39.704225
0.868076
0.179496
0
0.051282
0
0
0.086321
0.040726
0
0
0
0
0
1
0.051282
false
0
0.128205
0
0.794872
0
0
0
0
null
0
0
0
0
0
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
5886ef2d3d7e0ba9c229e6c680957dfa5be0c572
305
py
Python
gapipy/resources/geo/feature_category.py
wmak/gapipy
b6849606d4f6af24b9f871f65e87aaf0d0c013cc
[ "MIT" ]
4
2015-03-19T02:10:35.000Z
2018-10-22T19:51:44.000Z
gapipy/resources/geo/feature_category.py
wmak/gapipy
b6849606d4f6af24b9f871f65e87aaf0d0c013cc
[ "MIT" ]
69
2015-03-11T20:58:04.000Z
2021-10-12T18:39:15.000Z
gapipy/resources/geo/feature_category.py
wmak/gapipy
b6849606d4f6af24b9f871f65e87aaf0d0c013cc
[ "MIT" ]
1
2016-08-31T15:22:43.000Z
2016-08-31T15:22:43.000Z
# Python 2 and 3 from __future__ import unicode_literals from ..base import Resource class FeatureCategory(Resource): _resource_name = 'feature_categories' _as_is_fields = [ 'id', 'href', 'code', 'description', ] _date_time_fields_utc = ['date_created', 'date_last_modified']
20.333333
66
0.701639
36
305
5.444444
0.805556
0
0
0
0
0
0
0
0
0
0
0.00813
0.193443
305
14
67
21.785714
0.788618
0.045902
0
0
0
0
0.238754
0
0
0
0
0
0
1
0
false
0
0.25
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
5889bd6f52007aa20c5cb5c11b3b0e4e7a5c6070
651
py
Python
tests/test_book.py
tonybaloney/pybible-cli
04c12b6abf2a79a89fe607482e006e604f3c57db
[ "MIT" ]
15
2020-02-29T17:43:54.000Z
2022-03-08T06:07:40.000Z
tests/test_book.py
tonybaloney/pybible-cli
04c12b6abf2a79a89fe607482e006e604f3c57db
[ "MIT" ]
5
2020-03-02T23:13:07.000Z
2020-09-07T18:10:33.000Z
tests/test_book.py
tonybaloney/pybible-cli
04c12b6abf2a79a89fe607482e006e604f3c57db
[ "MIT" ]
3
2020-03-02T03:54:46.000Z
2021-02-27T03:43:50.000Z
import pytest from . import constants from pybible import pybible_load from pybible.classes.chapter import Chapter @pytest.fixture def book(): return pybible_load.load()[constants.BOOK_KEY_TEST] def test_len(book): assert len(book) == constants.BOOK_SIZE_TEST def test_str(book): assert str(book) == co...
22.448276
55
0.766513
91
651
5.230769
0.340659
0.058824
0.069328
0.084034
0
0
0
0
0
0
0
0.001805
0.149002
651
28
56
23.25
0.857401
0
0
0
0
0
0
0
0
0
0
0
0.222222
1
0.277778
false
0
0.222222
0.055556
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
1
0
0
0
0
0
0
0
1
588db7e3ee22d227d5e26549220a783317bd5fc8
8,169
py
Python
app/http_server.py
yoyonel/powerline-shell-TDD
556aabb6ddf7fe2594cff177092c47db8ca3946b
[ "MIT" ]
null
null
null
app/http_server.py
yoyonel/powerline-shell-TDD
556aabb6ddf7fe2594cff177092c47db8ca3946b
[ "MIT" ]
null
null
null
app/http_server.py
yoyonel/powerline-shell-TDD
556aabb6ddf7fe2594cff177092c47db8ca3946b
[ "MIT" ]
null
null
null
from BaseHTTPServer import BaseHTTPRequestHandler, HTTPServer from SocketServer import ThreadingMixIn import threading import SocketServer from tools.tools import is_unsigned_integer import re import simplejson import cgi # urls: # - https://docs.python.org/3/glossary.html#term-global-interpreter-lock # - http://stac...
25.688679
123
0.583792
846
8,169
5.417258
0.275414
0.02182
0.039276
0.050622
0.231726
0.110408
0.093825
0.054986
0.020511
0.020511
0
0.019285
0.301751
8,169
317
124
25.769716
0.784187
0.137593
0
0.213235
0
0
0.051505
0.003654
0
0
0
0
0
0
null
null
0
0.058824
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
588e983df00475a5c29a09613f6ace37cfd6759e
1,225
py
Python
nymms/scheduler/lock/SchedulerLock.py
isabella232/nymms
75fb3d6f56488d9fdd6366557e28acb728377de5
[ "BSD-2-Clause" ]
26
2015-01-15T23:42:43.000Z
2022-02-28T09:12:50.000Z
nymms/scheduler/lock/SchedulerLock.py
cloudtools/nymms
75fb3d6f56488d9fdd6366557e28acb728377de5
[ "BSD-2-Clause" ]
9
2015-02-09T15:44:25.000Z
2016-06-04T21:06:03.000Z
nymms/scheduler/lock/SchedulerLock.py
isabella232/nymms
75fb3d6f56488d9fdd6366557e28acb728377de5
[ "BSD-2-Clause" ]
13
2015-03-05T22:53:24.000Z
2021-02-11T11:33:33.000Z
import logging logger = logging.getLogger(__name__) import uuid class SchedulerLock(object): def __init__(self, duration, lock_name="scheduler_lock"): self.id = self.get_instance_id() self.duration = duration self.lock_name = lock_name logger.debug("%s:%s initialized with %s dura...
28.488372
78
0.619592
151
1,225
4.834437
0.476821
0.032877
0.030137
0.046575
0
0
0
0
0
0
0
0.001138
0.282449
1,225
42
79
29.166667
0.829352
0.176327
0
0.16
0
0
0.147799
0
0
0
0
0
0
1
0.24
false
0
0.08
0.04
0.56
0
0
0
0
null
0
0
0
0
0
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
5892eebd447bf2c67c7d8fe67fb60bf20426f818
419
py
Python
src/utils/forms/getCredentials.py
Bruno-GD/mongodb-to-hugo
d2bd527b7f40296d890891c0805e984d6cdfe1f5
[ "MIT" ]
null
null
null
src/utils/forms/getCredentials.py
Bruno-GD/mongodb-to-hugo
d2bd527b7f40296d890891c0805e984d6cdfe1f5
[ "MIT" ]
null
null
null
src/utils/forms/getCredentials.py
Bruno-GD/mongodb-to-hugo
d2bd527b7f40296d890891c0805e984d6cdfe1f5
[ "MIT" ]
2
2022-02-07T18:50:56.000Z
2022-02-08T22:20:17.000Z
from google_auth_oauthlib.flow import InstalledAppFlow from google.auth.transport.requests import Request from .formScrapper import SCOPES def getNewCredentials(): """ Log in to get new credentials """ flow = InstalledAppFlow.from_client_secrets_file('credentials.json', SCOPES) creds = flow.run_lo...
29.928571
80
0.735084
54
419
5.555556
0.666667
0.066667
0.093333
0
0
0
0
0
0
0
0
0.002857
0.164678
419
14
81
29.928571
0.854286
0.069212
0
0
0
0
0.072
0
0
0
0
0
0
1
0.125
false
0
0.375
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
5895111e005621e9b59cd29ce697941a055857b3
1,349
py
Python
aoomuki_comp/app/migrations/0063_auto_20210217_1042.py
Kamelgasmi/aoomuki_competences
e02f3546f7efb54b825dbcfab968296607775903
[ "MIT" ]
null
null
null
aoomuki_comp/app/migrations/0063_auto_20210217_1042.py
Kamelgasmi/aoomuki_competences
e02f3546f7efb54b825dbcfab968296607775903
[ "MIT" ]
null
null
null
aoomuki_comp/app/migrations/0063_auto_20210217_1042.py
Kamelgasmi/aoomuki_competences
e02f3546f7efb54b825dbcfab968296607775903
[ "MIT" ]
null
null
null
# Generated by Django 3.1.5 on 2021-02-17 09:42 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('app', '0062_a...
36.459459
174
0.60341
129
1,349
6.170543
0.55814
0.082915
0.060302
0.055276
0.103015
0.103015
0
0
0
0
0
0.031959
0.280949
1,349
36
175
37.472222
0.78866
0.033358
0
0.1
1
0
0.166667
0.018167
0
0
0
0
0
1
0
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
58968c2a2c7fe9c94856694ad24488f00203e48d
755
py
Python
post_content_extract.py
JasonLC506/LDA_Learning
9306afb99bc67a3bacfe18b408ef4c39f8a4e288
[ "BSD-3-Clause" ]
null
null
null
post_content_extract.py
JasonLC506/LDA_Learning
9306afb99bc67a3bacfe18b408ef4c39f8a4e288
[ "BSD-3-Clause" ]
null
null
null
post_content_extract.py
JasonLC506/LDA_Learning
9306afb99bc67a3bacfe18b408ef4c39f8a4e288
[ "BSD-3-Clause" ]
null
null
null
import re def post_content_extract(filename, pattern = re.compile(r'^5550296508_')): ## pattern default for CNN posts ## f = open(filename, "r") posts = {} last_id = None content = [] for line in f.readlines(): if pattern.match(line) is not None: if last_id is None: ...
31.458333
87
0.499338
88
755
4.170455
0.511364
0.114441
0.059946
0
0
0
0
0
0
0
0
0.025478
0.376159
755
24
88
31.458333
0.753716
0.063576
0
0.238095
0
0
0.065714
0
0
0
0
0
0
0
null
null
0.047619
0.047619
null
null
0.047619
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
5896d05bf40afaa3aeb502aa178afa0728a3a0fd
262
py
Python
237_delete_node_in_a_linked_list.py
Sanster/LeetCode
5a0c448928b216b49c127c4542ae3cd74c797782
[ "MIT" ]
2
2018-10-13T15:12:55.000Z
2020-06-07T09:35:40.000Z
237_delete_node_in_a_linked_list.py
Sanster/PyLeeCode
5a0c448928b216b49c127c4542ae3cd74c797782
[ "MIT" ]
null
null
null
237_delete_node_in_a_linked_list.py
Sanster/PyLeeCode
5a0c448928b216b49c127c4542ae3cd74c797782
[ "MIT" ]
null
null
null
""" https://leetcode.com/problems/delete-node-in-a-linked-list/description/ """ from utils import ListNode, createList, compareList class Solution: def deleteNode(self, node: ListNode): node.val = node.next.val node.next = node.next.next
20.153846
71
0.694656
34
262
5.352941
0.705882
0.131868
0.120879
0
0
0
0
0
0
0
0
0
0.171756
262
12
72
21.833333
0.83871
0.270992
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
5897b1b6e4d7c2f4bd755ed7f40d3f41464a51fd
280
py
Python
app/dominio/entity/reference.py
acostasg/app-image-desktop
1faf29e986fe61eadbcbfa105812806e10f7216d
[ "RSA-MD" ]
null
null
null
app/dominio/entity/reference.py
acostasg/app-image-desktop
1faf29e986fe61eadbcbfa105812806e10f7216d
[ "RSA-MD" ]
null
null
null
app/dominio/entity/reference.py
acostasg/app-image-desktop
1faf29e986fe61eadbcbfa105812806e10f7216d
[ "RSA-MD" ]
null
null
null
class Reference: def __init__(self, id, campaign_id, name, details, created, modified): self.id = id self.campaign_id = campaign_id self.name = name self.details = details self.created = created self.modified = modified
31.111111
75
0.607143
32
280
5.09375
0.34375
0.184049
0.147239
0
0
0
0
0
0
0
0
0
0.314286
280
8
76
35
0.848958
0
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
542d5fbd4f11990f28ccc5b4b8467aa475cf10c4
586
py
Python
xarta/commands/delete.py
leonsfriedrich/Xarta
f32a7ac027754e876e26fb6f5813ffae18ba7bd8
[ "MIT" ]
4
2018-08-30T02:58:45.000Z
2020-03-05T00:07:27.000Z
xarta/commands/delete.py
leonsfriedrich/Xarta
f32a7ac027754e876e26fb6f5813ffae18ba7bd8
[ "MIT" ]
1
2021-02-27T01:15:13.000Z
2021-02-27T01:15:13.000Z
xarta/commands/delete.py
leonsfriedrich/Xarta
f32a7ac027754e876e26fb6f5813ffae18ba7bd8
[ "MIT" ]
1
2020-01-29T08:11:11.000Z
2020-01-29T08:11:11.000Z
"""The delete command.""" import os from .base import BaseCommand from ..database import PaperDatabase from ..utils import process_and_validate_ref class Delete(BaseCommand): """ Remove an arXiv paper and its metadata from the database. """ def run(self): options = self.options ref = optio...
26.636364
73
0.706485
71
586
5.605634
0.450704
0.130653
0.090452
0.105528
0
0
0
0
0
0
0
0
0.211604
586
21
74
27.904762
0.861472
0.133106
0
0
0
0
0.010081
0
0
0
0
0
0.083333
1
0.083333
false
0
0.333333
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
5430ce102c3579af8ca4073b18a262ad99d0fe93
7,139
py
Python
tools/deep_memory_profiler/subcommands/cat.py
iplo/Chain
8bc8943d66285d5258fffc41bed7c840516c4422
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
231
2015-01-08T09:04:44.000Z
2021-12-30T03:03:10.000Z
tools/deep_memory_profiler/subcommands/cat.py
JasonEric/chromium
c7361d39be8abd1574e6ce8957c8dbddd4c6ccf7
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2017-02-14T21:55:58.000Z
2017-02-14T21:55:58.000Z
tools/deep_memory_profiler/subcommands/cat.py
JasonEric/chromium
c7361d39be8abd1574e6ce8957c8dbddd4c6ccf7
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
268
2015-01-21T05:53:28.000Z
2022-03-25T22:09:01.000Z
# Copyright 2013 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. import json import logging import sys from lib.bucket import BUCKET_ID, COMMITTED, ALLOC_COUNT, FREE_COUNT from lib.ordered_dict import OrderedDict from lib...
36.423469
77
0.594201
841
7,139
4.864447
0.223543
0.031288
0.022244
0.015889
0.291127
0.263994
0.205329
0.167685
0.153997
0.128575
0
0.004115
0.285194
7,139
195
78
36.610256
0.79757
0.058131
0
0.280488
0
0
0.106047
0.005213
0
0
0
0.005128
0
0
null
null
0
0.042683
null
null
0.006098
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
5431e4bbbb7db66cb0c1fd98aff8324967ae9bb0
1,300
py
Python
social_team_builder/projects/models.py
OzRayan/Social_Team_Builder
a4faeb0b7a88faf2898ace4ca61f75e7721d8527
[ "MIT" ]
null
null
null
social_team_builder/projects/models.py
OzRayan/Social_Team_Builder
a4faeb0b7a88faf2898ace4ca61f75e7721d8527
[ "MIT" ]
8
2021-03-18T21:02:42.000Z
2021-09-22T17:53:18.000Z
social_team_builder/projects/models.py
OzRayan/Social_Team_Builder
a4faeb0b7a88faf2898ace4ca61f75e7721d8527
[ "MIT" ]
null
null
null
from django.conf import settings from django.db import models class Project(models.Model): """Project model :inherit: - models.Model :fields: - user, title, description, time_estimate, requirements """ user = models.ForeignKey(settings.AUTH_USER_MODEL, related_name='pr...
32.5
68
0.6
128
1,300
5.921875
0.359375
0.098945
0.118734
0.158311
0.300792
0.224274
0.155673
0.155673
0.155673
0
0
0.013001
0.29
1,300
39
69
33.333333
0.808234
0.149231
0
0.25
0
0
0.03839
0
0
0
0
0
0
1
0.083333
false
0
0.083333
0.083333
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
5432ef2e0c0cd6947bfbb557293002578c4d3240
6,434
py
Python
scripts/mi_tests/test_mutual_information.py
vishalbelsare/crosscat
1f2ac5a43a50ebd7aaa89f0c5ac3815a170848c5
[ "Apache-2.0" ]
207
2015-09-23T08:35:22.000Z
2021-11-24T23:05:55.000Z
scripts/mi_tests/test_mutual_information.py
vishalbelsare/crosscat
1f2ac5a43a50ebd7aaa89f0c5ac3815a170848c5
[ "Apache-2.0" ]
52
2015-09-18T21:19:54.000Z
2018-12-15T21:17:32.000Z
scripts/mi_tests/test_mutual_information.py
vishalbelsare/crosscat
1f2ac5a43a50ebd7aaa89f0c5ac3815a170848c5
[ "Apache-2.0" ]
33
2015-10-30T22:50:30.000Z
2020-07-01T00:29:55.000Z
# # Copyright (c) 2010-2016, MIT Probabilistic Computing Project # # Lead Developers: Dan Lovell and Jay Baxter # Authors: Dan Lovell, Baxter Eaves, Jay Baxter, Vikash Mansinghka # Research Leads: Vikash Mansinghka, Patrick Shafto # # Licensed under the Apache License, Version 2.0 (the "License"); # you may...
27.378723
179
0.682624
1,145
6,434
3.641921
0.20524
0.007674
0.007914
0.023741
0.417266
0.367866
0.307914
0.243645
0.194724
0.194724
0
0.035533
0.173298
6,434
234
180
27.495727
0.748449
0.137395
0
0.25641
0
0.012821
0.070808
0
0
0
0
0
0.00641
0
null
null
0
0.051282
null
null
0.012821
0
0
0
null
0
0
0
0
0
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
5436ec02ddb87c1c6afd795196440d00b8014f0f
2,159
py
Python
gpio.py
lapis133/Decoding-USB-WDE1-2
3f49db7b9dda2a399bf983208191d85c5d6154f7
[ "MIT" ]
3
2018-05-19T06:47:06.000Z
2018-05-20T10:33:36.000Z
gpio.py
lapis133/Decoding-USB-WDE1-2
3f49db7b9dda2a399bf983208191d85c5d6154f7
[ "MIT" ]
5
2018-05-18T16:48:24.000Z
2018-08-03T15:13:52.000Z
gpio.py
lapis133/Decoding-USB-WDE1-2
3f49db7b9dda2a399bf983208191d85c5d6154f7
[ "MIT" ]
2
2018-05-09T16:19:03.000Z
2018-05-14T09:08:12.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import time try: from RPi.GPIO import * except ImportError: #----------------------------[setmode] def setmode(board): return #----------------------------[BOARD] def BOARD(): return #----------------------------[setup] def se...
19.807339
42
0.446966
239
2,159
3.887029
0.209205
0.077503
0.07535
0.064586
0.350915
0.350915
0.223897
0.137783
0
0
0
0.017778
0.270496
2,159
108
43
19.990741
0.572063
0.253358
0
0.539474
0
0
0
0
0
0
0
0
0
1
0.184211
false
0
0.039474
0.105263
0.407895
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
5439cfea6715b4e6b9bd1e277a84e0b272b9b485
575
py
Python
comment/models.py
codingtruman/myblog
2ac4de2cd3f4d46e8cad43ba15093181dc9bb357
[ "MIT" ]
null
null
null
comment/models.py
codingtruman/myblog
2ac4de2cd3f4d46e8cad43ba15093181dc9bb357
[ "MIT" ]
null
null
null
comment/models.py
codingtruman/myblog
2ac4de2cd3f4d46e8cad43ba15093181dc9bb357
[ "MIT" ]
null
null
null
from django.db import models from post.models import * from django.conf import settings User = settings.AUTH_USER_MODEL from ckeditor.fields import RichTextField class Comment(models.Model): article = models.ForeignKey(Article, on_delete=models.DO_NOTHING, related_name="comments") user = models.ForeignKe...
30.263158
94
0.74087
74
575
5.540541
0.527027
0.04878
0.068293
0.078049
0.204878
0.204878
0.204878
0.204878
0
0
0
0.004158
0.163478
575
19
95
30.263158
0.848233
0
0
0
0
0
0.048611
0
0
0
0
0
0
1
0.071429
false
0
0.285714
0.071429
0.857143
0
0
0
0
null
0
0
0
0
0
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
543ff72dcce94bc56eb9680ee036cf5065a3cd87
522
py
Python
constants.py
eco-community/lottery-bot
f43718199407ea2acf66ca5626fc903c96b1f1e7
[ "MIT" ]
1
2021-04-06T17:56:26.000Z
2021-04-06T17:56:26.000Z
constants.py
eco-community/lottery-bot
f43718199407ea2acf66ca5626fc903c96b1f1e7
[ "MIT" ]
null
null
null
constants.py
eco-community/lottery-bot
f43718199407ea2acf66ca5626fc903c96b1f1e7
[ "MIT" ]
2
2021-04-05T05:52:59.000Z
2021-12-27T20:06:31.000Z
import os from dotenv import load_dotenv from config import PROJECT_NAME # load env variables load_dotenv() pg_user = os.getenv("POSTGRES_USER") pg_password = os.getenv("POSTGRES_PASSWORD") pg_db = os.getenv("POSTGRES_DB") SENTRY_ENV_NAME = f"{PROJECT_NAME}_lottery_bot".casefold() GUILD_INDEX = 0 TORTOISE_ORM =...
19.333333
93
0.664751
68
522
4.823529
0.5
0.073171
0.146341
0
0
0
0
0
0
0
0
0.011682
0.180077
522
26
94
20.076923
0.754673
0.034483
0
0
0
0
0.354582
0.165339
0
0
0
0
0
1
0
false
0.117647
0.176471
0
0.176471
0
0
0
0
null
0
0
0
0
0
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
5440bd8e478e2c86d1948c286432afa7cec900cc
595
py
Python
coding/amazon/Yes_Xor_No.py
Akash671/Algorithms
f71be624bc49e686087c8dd22a09b9cf343b0634
[ "MIT" ]
1
2021-03-25T18:29:07.000Z
2021-03-25T18:29:07.000Z
coding/amazon/Yes_Xor_No.py
Akash671/Algorithms
f71be624bc49e686087c8dd22a09b9cf343b0634
[ "MIT" ]
null
null
null
coding/amazon/Yes_Xor_No.py
Akash671/Algorithms
f71be624bc49e686087c8dd22a09b9cf343b0634
[ "MIT" ]
null
null
null
""" author : @akash kumar github : https://github/Akash671 string fun: string.replace(sub_old_string,new_sub_string,count) string.count(your_string) """ def solve(): #n,m=map(int,input().split()) #n=int(input()) #a=list(map(int,input().split()[:n])) #s=str(input()) #a,b=input().split() n=int(input(...
18.59375
51
0.556303
98
595
3.316327
0.428571
0.172308
0.169231
0.196923
0.335385
0.316923
0.252308
0.252308
0.252308
0.252308
0
0.015021
0.216807
595
31
52
19.193548
0.682403
0.433613
0
0
0
0
0.015385
0
0
0
0
0
0
1
0.066667
false
0
0
0
0.066667
0.133333
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
544792d94c759435daaa2c02c9f61c08e5e5e3ac
716
py
Python
tests/test_built_in_types.py
steverpalmer/GenericTesting
89dd9a7bf6bed74b009a0cdeaeef445993608162
[ "BSD-3-Clause" ]
null
null
null
tests/test_built_in_types.py
steverpalmer/GenericTesting
89dd9a7bf6bed74b009a0cdeaeef445993608162
[ "BSD-3-Clause" ]
null
null
null
tests/test_built_in_types.py
steverpalmer/GenericTesting
89dd9a7bf6bed74b009a0cdeaeef445993608162
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python3 # Copyright 2021 Steve Palmer """A test of the generic_test.built_in_tests using the built-in types.""" import unittest from test_built_in_numbers import * from test_built_in_containers import * from test_built_in_file_likes import * if __name__ == "__main__": SUITE = unittest.TestSuite()...
34.095238
85
0.731844
95
716
5.284211
0.536842
0.069721
0.087649
0.089641
0.179283
0
0
0
0
0
0
0.010152
0.174581
716
20
86
35.8
0.839256
0.346369
0
0
0
0
0.028322
0
0
0
0
0
0
1
0
false
0
0.307692
0
0.307692
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
544b16a81344895b98d39e4be3829e9eb57b37ed
575
py
Python
instrumented/timecontext.py
devSeungGwan/CSI-Camera
9fa5b01511153959a30ef7d4ab375dba3897d21f
[ "BSD-3-Clause" ]
null
null
null
instrumented/timecontext.py
devSeungGwan/CSI-Camera
9fa5b01511153959a30ef7d4ab375dba3897d21f
[ "BSD-3-Clause" ]
null
null
null
instrumented/timecontext.py
devSeungGwan/CSI-Camera
9fa5b01511153959a30ef7d4ab375dba3897d21f
[ "BSD-3-Clause" ]
null
null
null
from timeit import default_timer class Timer: def __init__(self): self.timer = default_timer self.end_time = None def __call__(self): return self.timer() def __enter__(self): print("Entering context") self.start_time = self() return self def __exit__(...
22.115385
59
0.606957
72
575
4.458333
0.402778
0.087227
0.137072
0.093458
0
0
0
0
0
0
0
0
0.307826
575
25
60
23
0.806533
0
0
0
0
0
0.027826
0
0
0
0
0
0
1
0.263158
false
0
0.052632
0.052632
0.578947
0.052632
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
544ddfedc14bd91a20a9019cd8bc48f20a8f1e59
5,052
py
Python
examples/authentication/demo_jwt.py
DevOpsTerminal/api-safrs
662b81378ae016e5025a661a472da39ca9e2fdf9
[ "MIT" ]
null
null
null
examples/authentication/demo_jwt.py
DevOpsTerminal/api-safrs
662b81378ae016e5025a661a472da39ca9e2fdf9
[ "MIT" ]
null
null
null
examples/authentication/demo_jwt.py
DevOpsTerminal/api-safrs
662b81378ae016e5025a661a472da39ca9e2fdf9
[ "MIT" ]
null
null
null
#!/usr/bin/env python # # This is a demo application to demonstrate the functionality of the safrs_rest REST API with JWT auth # # It can be ran standalone like this: # python demo.py [Listener-IP] # # This will run the example on http://Listener-Ip:5000 # # - A database is created and a item is added # - A rest api is...
28.223464
166
0.64707
623
5,052
5.128411
0.398074
0.034429
0.020031
0.021596
0.094523
0.078247
0.053834
0.053834
0.053834
0.053834
0
0.027206
0.221496
5,052
178
167
28.382022
0.785151
0.315123
0
0.046512
0
0
0.122232
0
0
0
0
0
0
1
0.05814
false
0.069767
0.174419
0.011628
0.453488
0.034884
0
0
0
null
0
0
0
0
0
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
544f3eba8de697b4f839ef0c76f52f3b879ce7f9
14,609
py
Python
waterbutler/core/provider.py
laurenrevere/waterbutler
4f358d94376997cd9592b18b67d13a7482c7aa2a
[ "Apache-2.0" ]
null
null
null
waterbutler/core/provider.py
laurenrevere/waterbutler
4f358d94376997cd9592b18b67d13a7482c7aa2a
[ "Apache-2.0" ]
null
null
null
waterbutler/core/provider.py
laurenrevere/waterbutler
4f358d94376997cd9592b18b67d13a7482c7aa2a
[ "Apache-2.0" ]
null
null
null
import abc import asyncio import itertools from urllib import parse import furl import aiohttp from waterbutler.core import streams from waterbutler.core import exceptions def build_url(base, *segments, **query): url = furl.furl(base) # Filters return generators # Cast to list to force "spin" it url...
35.806373
125
0.609145
1,712
14,609
5.088201
0.198598
0.02847
0.026863
0.022385
0.28355
0.246126
0.223625
0.17254
0.138446
0.128573
0
0.002062
0.303032
14,609
407
126
35.894349
0.853467
0.051407
0
0.286957
0
0
0.034155
0
0
0
0
0.004914
0.008696
0
null
null
0.004348
0.034783
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
544f8482e7cfbd0f10f747c8f6cb869daf4332cf
28,066
py
Python
bokeh/mpl.py
hhuuggoo/bokeh
cc274a5003edf91804b49bd933c99644fdb0a9fc
[ "BSD-3-Clause" ]
2
2020-04-07T18:55:04.000Z
2021-02-27T13:33:23.000Z
bokeh/mpl.py
jeycin/bokeh
8bf4a6f626c505dcb9c525409c0f74debf4499d7
[ "BSD-3-Clause" ]
null
null
null
bokeh/mpl.py
jeycin/bokeh
8bf4a6f626c505dcb9c525409c0f74debf4499d7
[ "BSD-3-Clause" ]
null
null
null
import numpy as np import logging import urlparse import requests import uuid import bbmodel import protocol import data import os import dump import json import pandas from exceptions import DataIntegrityException from bokeh import protocol from bokeh.utils import get_json log = logging.getLogger(__name__) colors = ...
36.120978
123
0.559111
3,025
28,066
5.064132
0.138512
0.024806
0.012533
0.00705
0.392715
0.340166
0.310725
0.284744
0.264116
0.241922
0
0.006769
0.331469
28,066
776
124
36.167526
0.809679
0.005202
0
0.310145
0
0.001449
0.085499
0.01847
0
0
0
0
0
0
null
null
0
0.027536
null
null
0.008696
0
0
0
null
0
0
0
0
0
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
54501a96d71c63713918f8e9be633b9a5e92b65f
704
py
Python
05 - Testing/cristal-box.py
MarquezLuis96/CompThink_Python
e8d3db42c5568c4fa1d6f4d6376a871b4bd3128e
[ "MIT" ]
null
null
null
05 - Testing/cristal-box.py
MarquezLuis96/CompThink_Python
e8d3db42c5568c4fa1d6f4d6376a871b4bd3128e
[ "MIT" ]
null
null
null
05 - Testing/cristal-box.py
MarquezLuis96/CompThink_Python
e8d3db42c5568c4fa1d6f4d6376a871b4bd3128e
[ "MIT" ]
null
null
null
# Date: 2020/11/21 # Author: Luis Marquez # Description: # This is a simple program to learn how to use cristal boxes in python ## #import import unittest #is_older(): Verify if the person is older def is_older(age): if age >= 18: return True else: return False #Class clas...
17.6
80
0.632102
101
704
4.227723
0.524752
0.098361
0.046838
0
0
0
0
0
0
0
0
0.027668
0.28125
704
40
81
17.6
0.816206
0.423295
0
0
0
0
0.020356
0
0
0
0
0
0
1
0.235294
false
0
0.058824
0
0.470588
0
0
0
0
null
0
0
0
0
0
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
545180702b3318cb75f24ec771526c2553846ab1
482
py
Python
config.py
yhjiang777/microflack_ui
7b6fa91d471b21c7b64ca93c9e1687cad1db60be
[ "MIT" ]
19
2017-05-24T14:48:20.000Z
2021-11-27T10:34:20.000Z
config.py
yhjiang777/microflack_ui
7b6fa91d471b21c7b64ca93c9e1687cad1db60be
[ "MIT" ]
2
2017-08-21T02:29:31.000Z
2021-04-06T11:46:30.000Z
config.py
yhjiang777/microflack_ui
7b6fa91d471b21c7b64ca93c9e1687cad1db60be
[ "MIT" ]
11
2017-06-04T08:46:42.000Z
2021-04-22T21:06:36.000Z
import os from dotenv import load_dotenv basedir = os.path.abspath(os.path.dirname(__file__)) env = os.path.join(basedir, '.env') if os.path.exists(env): load_dotenv(env) else: print('Warning: .env file not found') class Config(object): DEBUG = False TESTING = False NO_SOCKETIO = True if os.envi...
16.62069
66
0.695021
68
482
4.808824
0.5
0.073395
0
0
0
0
0
0
0
0
0
0
0.190871
482
28
67
17.214286
0.838462
0
0
0
0
0
0.089212
0
0
0
0
0
0
1
0
false
0.055556
0.111111
0
0.611111
0.055556
0
0
0
null
0
0
0
0
0
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
54538adb3a9c95229401f10750a4dfbc2e5ae8cc
411
py
Python
peewee-learn/modules/create_table.py
ljm516/python-repo
a1071cbf4e4a021cc1ccd902edd4a60246ea4fcc
[ "Apache-2.0" ]
null
null
null
peewee-learn/modules/create_table.py
ljm516/python-repo
a1071cbf4e4a021cc1ccd902edd4a60246ea4fcc
[ "Apache-2.0" ]
6
2020-03-24T16:48:36.000Z
2022-02-11T03:42:50.000Z
peewee-learn/modules/create_table.py
ljm516/python-repo
a1071cbf4e4a021cc1ccd902edd4a60246ea4fcc
[ "Apache-2.0" ]
null
null
null
from peewee import * db = SqliteDatabase('people.db') class Person(Model): name = CharField() birthday = DateField() is_relative = BooleanField() class Meta: database = db class Pet(Model): owner = ForeignKeyField(Person,related_name='pets') name = CharField() animal_type = CharF...
17.869565
55
0.652068
46
411
5.73913
0.608696
0.05303
0.128788
0.143939
0
0
0
0
0
0
0
0
0.231144
411
22
56
18.681818
0.835443
0
0
0.375
0
0
0.03163
0
0
0
0
0
0
1
0
false
0
0.0625
0
0.6875
0
0
0
0
null
0
0
0
0
0
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
5454ed114853e92d73dcb134bd1c96333e7b7e21
4,365
py
Python
VocabQuiz/VocabCheck.py
softhackpro/VocabQuiz
13e677f42b045ce095bb900baf1f8b6c1960fef8
[ "MIT" ]
null
null
null
VocabQuiz/VocabCheck.py
softhackpro/VocabQuiz
13e677f42b045ce095bb900baf1f8b6c1960fef8
[ "MIT" ]
null
null
null
VocabQuiz/VocabCheck.py
softhackpro/VocabQuiz
13e677f42b045ce095bb900baf1f8b6c1960fef8
[ "MIT" ]
null
null
null
#This file for checking vocabulary testing programme for beginner to advance purpose in this programe show hindi meaning word and user give english word for this hindi meaning. from tkinter import * from tkinter import messagebox from insert import * from tempInsert import * root = Tk() root.title("VocabQuiz") root...
35.487805
176
0.627262
580
4,365
4.689655
0.282759
0.032353
0.033456
0.03125
0.663603
0.656618
0.640441
0.640441
0.640441
0.640441
0
0.031708
0.234135
4,365
122
177
35.778689
0.781932
0.192669
0
0.506494
0
0
0.207429
0
0
0
0
0
0
1
0.051948
false
0
0.051948
0
0.103896
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
54563a0b307e75454a08439ba0e501d511c7dee2
4,631
py
Python
plot_data/wrangle_data.py
besson/disaster_response_detector
81a3624791f4bfaea9c34f8e960ce84816a6e0c3
[ "MIT" ]
2
2020-11-29T21:23:58.000Z
2020-11-30T10:32:27.000Z
plot_data/wrangle_data.py
besson/disaster_response_detector
81a3624791f4bfaea9c34f8e960ce84816a6e0c3
[ "MIT" ]
null
null
null
plot_data/wrangle_data.py
besson/disaster_response_detector
81a3624791f4bfaea9c34f8e960ce84816a6e0c3
[ "MIT" ]
null
null
null
from nltk import word_tokenize, WordNetLemmatizer from plotly.graph_objs import Scatter, Bar from wordcloud import WordCloud def generate_plots(df): """ Generate plot objected to be rendered int the dashboard: - Bar chart to plot distribution of genre - Bar chart to plot distribution of disast...
28.411043
107
0.51436
467
4,631
4.950749
0.314775
0.027682
0.019031
0.012111
0.136678
0.09083
0
0
0
0
0
0.011494
0.380048
4,631
162
108
28.58642
0.7938
0.171669
0
0.185841
1
0
0.103865
0
0
0
0
0
0
1
0.026549
false
0
0.026549
0
0.079646
0
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
545e2d67fda2f97cfaec99b195d764768041d0fa
1,325
py
Python
geofractal_python/call.py
rtazaki1205/geofractal
6effd47e418bc759b9437424720fbbdf2663b5a2
[ "MIT" ]
1
2021-03-16T23:56:23.000Z
2021-03-16T23:56:23.000Z
geofractal_python/call.py
rtazaki1205/geofractal
6effd47e418bc759b9437424720fbbdf2663b5a2
[ "MIT" ]
null
null
null
geofractal_python/call.py
rtazaki1205/geofractal
6effd47e418bc759b9437424720fbbdf2663b5a2
[ "MIT" ]
null
null
null
import numpy as np import math from geofractal import * #------------------------------------------------------- # Fractal dimension #------------------------------------------------------- df = 1.8 #------------------------------------------------------- # Fractal prefactor #--------------------------------------...
31.547619
59
0.343396
139
1,325
3.273381
0.438849
0.065934
0.032967
0.035165
0.052747
0
0
0
0
0
0
0.037447
0.113208
1,325
41
60
32.317073
0.349787
0.519245
0
0.095238
0
0
0.170968
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
545e48dc19fab4d8f1ccfdb3e831671fcbeed58f
32,733
py
Python
diskpy/ICgen/binaryUtils.py
langfzac/diskpy
3b0f4fdc7f1fea21efdd3ab55bbf362181c7a3c4
[ "MIT" ]
4
2016-03-25T18:09:39.000Z
2020-03-10T09:27:41.000Z
diskpy/ICgen/binaryUtils.py
langfzac/diskpy
3b0f4fdc7f1fea21efdd3ab55bbf362181c7a3c4
[ "MIT" ]
21
2015-07-20T21:56:45.000Z
2017-09-16T23:01:15.000Z
diskpy/ICgen/binaryUtils.py
langfzac/diskpy
3b0f4fdc7f1fea21efdd3ab55bbf362181c7a3c4
[ "MIT" ]
4
2015-08-07T22:03:12.000Z
2021-02-19T16:30:17.000Z
""" David Fleming Utilities to process/interact with binary star system in ChaNGa sims Note on inputs: Most (if not all?) functions are designed to be used with SimArrays as inputs. """ # Imports import numpy as np import re import AddBinary import pynbody from scipy import interpolate from scipy.optimize import fs...
32.831494
123
0.619864
5,081
32,733
3.943712
0.129699
0.016069
0.013973
0.007186
0.32089
0.279818
0.229614
0.200419
0.184949
0.175217
0
0.021413
0.248129
32,733
996
124
32.864458
0.792776
0.159442
0
0.302857
0
0
0.048895
0.005477
0
0
0
0
0.017143
0
null
null
0
0.02
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
545f7e46ef4e8b51d9880212f845b44676258790
10,360
py
Python
datastore/core/binarystore.py
Swixx/py-datastore
dfa1f9dcc3cc3beac3c3e79d085cb6e89da97a1c
[ "MIT" ]
null
null
null
datastore/core/binarystore.py
Swixx/py-datastore
dfa1f9dcc3cc3beac3c3e79d085cb6e89da97a1c
[ "MIT" ]
null
null
null
datastore/core/binarystore.py
Swixx/py-datastore
dfa1f9dcc3cc3beac3c3e79d085cb6e89da97a1c
[ "MIT" ]
null
null
null
import abc import collections.abc import typing import trio from . import key as key_ from . import query as query_ class util: # noqa from .util import stream def is_valid_value_type(value: util.stream.ArbitraryReceiveStream) -> bool: """Checks that `value` is of the right type for `Datastore.put` It's just ...
25.145631
87
0.696815
1,393
10,360
5.121321
0.231874
0.04878
0.026633
0.034623
0.460471
0.407485
0.382815
0.366414
0.342304
0.317073
0
0.000955
0.191216
10,360
411
88
25.206813
0.850459
0.178668
0
0.294118
0
0
0
0
0
0
0
0
0.011765
1
0.058824
false
0.058824
0.082353
0.011765
0.388235
0
0
0
0
null
0
0
0
0
0
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
545fc4abcfbd23b4de8864fc28b71069f5ffbd30
2,912
py
Python
plugins/costume_loader_pkg/schemas.py
AathmanT/qhana-plugin-runner
206f9fa646e5b47bacf95a3b9be7e2b72576c9f1
[ "Apache-2.0" ]
null
null
null
plugins/costume_loader_pkg/schemas.py
AathmanT/qhana-plugin-runner
206f9fa646e5b47bacf95a3b9be7e2b72576c9f1
[ "Apache-2.0" ]
1
2021-09-02T07:56:23.000Z
2021-09-03T11:46:41.000Z
plugins/costume_loader_pkg/schemas.py
AathmanT/qhana-plugin-runner
206f9fa646e5b47bacf95a3b9be7e2b72576c9f1
[ "Apache-2.0" ]
2
2021-10-12T13:50:57.000Z
2022-03-27T12:12:23.000Z
from enum import Enum from typing import List, Any, Optional, Mapping import marshmallow as ma from marshmallow import fields, post_load from marshmallow.utils import resolve_field_instance from qhana_plugin_runner.api import MaBaseSchema from qhana_plugin_runner.api.util import FrontendFormBaseSchema from qhana_plug...
29.12
101
0.638049
329
2,912
5.449848
0.267477
0.07362
0.094813
0.117122
0.40435
0.364194
0.364194
0.31121
0.290017
0.290017
0
0
0.26408
2,912
99
102
29.414141
0.836678
0
0
0.231707
0
0
0.148352
0
0
0
0
0
0
1
0.02439
false
0.073171
0.097561
0.012195
0.353659
0
0
0
0
null
0
0
0
0
0
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
5462da4558a16a4a55d059406a5930dbe6dbc29f
1,298
py
Python
db.py
ph1l74/lastfm-stats-bot
83804aecf373a1c7c72b40d55c978e037d729136
[ "MIT" ]
null
null
null
db.py
ph1l74/lastfm-stats-bot
83804aecf373a1c7c72b40d55c978e037d729136
[ "MIT" ]
3
2021-03-19T04:29:31.000Z
2022-01-13T01:46:57.000Z
db.py
ph1l74/lastfm-stats-bot
83804aecf373a1c7c72b40d55c978e037d729136
[ "MIT" ]
1
2021-02-14T19:38:09.000Z
2021-02-14T19:38:09.000Z
import psycopg2 def open_db(db_config): """ This function open posgresql-session with db-config :param db_config: dict of db-parameters :type db_config: dict :return: 2 objects - connect-object and cursor-object :rtype: object """ user = db_config["user"] password = db_config["pass...
27.617021
98
0.664099
177
1,298
4.694915
0.310734
0.134777
0.057762
0.033694
0
0
0
0
0
0
0
0.002953
0.217257
1,298
46
99
28.217391
0.814961
0.367488
0
0
0
0
0.096286
0
0
0
0
0
0
1
0.157895
false
0.105263
0.052632
0
0.263158
0.052632
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
5467904a4aaca036a6a672e5a0c813119165f69f
2,025
py
Python
examples/ex_rqa.py
jaidevjoshi83/quantiprot
14fb795f7aeb36ffb6e78907ab7ee2324760bd29
[ "MIT" ]
2
2019-07-24T13:52:21.000Z
2020-04-05T16:10:03.000Z
examples/ex_rqa.py
jaidevjoshi83/quantiprot
14fb795f7aeb36ffb6e78907ab7ee2324760bd29
[ "MIT" ]
1
2020-04-29T02:30:25.000Z
2020-05-04T01:01:00.000Z
examples/ex_rqa.py
jaidevjoshi83/quantiprot
14fb795f7aeb36ffb6e78907ab7ee2324760bd29
[ "MIT" ]
2
2020-04-12T15:20:48.000Z
2021-12-16T16:32:05.000Z
import os import sys sys.path.insert(0, os.path.abspath('..')) from quantiprot.utils.io import load_fasta_file from quantiprot.utils.feature import FeatureSet from quantiprot.metrics.aaindex import get_aa2mj from quantiprot.metrics.rqa import RQAFeatureSet from quantiprot.metrics.basic import average from matplotlib ...
37.5
85
0.758025
315
2,025
4.72381
0.368254
0.040323
0.032258
0.034946
0.21707
0.178763
0.107527
0.064516
0.064516
0.064516
0
0.025788
0.138272
2,025
53
86
38.207547
0.826934
0.281481
0
0.0625
0
0
0.10519
0.015225
0
0
0
0
0
0
null
null
0
0.25
null
null
0.0625
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
5469d56b2fa6a3bd3b4946166bf2669702266b48
286
py
Python
feedo/applications/authentication/urls.py
washwash/django-feedo
29f515bdb05b56e1bf44f5d3d9049982914d996f
[ "MIT" ]
null
null
null
feedo/applications/authentication/urls.py
washwash/django-feedo
29f515bdb05b56e1bf44f5d3d9049982914d996f
[ "MIT" ]
null
null
null
feedo/applications/authentication/urls.py
washwash/django-feedo
29f515bdb05b56e1bf44f5d3d9049982914d996f
[ "MIT" ]
null
null
null
from django.urls import path from .views import ( sign_in_view, sign_out_view, sign_up_view ) urlpatterns = [ path('sign_in/', sign_in_view, name='sign_in'), path('sign_out/', sign_out_view, name='sign_out'), path('sign_up/', sign_up_view, name='sign_up'), ]
19.066667
54
0.671329
45
286
3.866667
0.288889
0.137931
0.206897
0
0
0
0
0
0
0
0
0
0.181818
286
14
55
20.428571
0.74359
0
0
0
0
0
0.164336
0
0
0
0
0
0
1
0
false
0
0.181818
0
0.181818
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
546f71bce08a1667ae0b0a2ec4d0fa33a04a971c
5,625
py
Python
WebBrickLibs/brisa/upnp/base_service.py
AndyThirtover/wb_gateway
69f9c870369085f4440033201e2fb263a463a523
[ "BSD-3-Clause" ]
null
null
null
WebBrickLibs/brisa/upnp/base_service.py
AndyThirtover/wb_gateway
69f9c870369085f4440033201e2fb263a463a523
[ "BSD-3-Clause" ]
null
null
null
WebBrickLibs/brisa/upnp/base_service.py
AndyThirtover/wb_gateway
69f9c870369085f4440033201e2fb263a463a523
[ "BSD-3-Clause" ]
null
null
null
# Licensed under the MIT license # http://opensource.org/licenses/mit-license.php or see LICENSE file. # Copyright 2007-2008, Brisa Team <brisa-develop@garage.maemo.org> """ Basic service classes If you want a device-side service class (for publishing a service of yours), please refer to module brisa.upnp.device.serv...
32.894737
81
0.614044
705
5,625
4.774468
0.26383
0.042484
0.020796
0.022876
0.145276
0.130719
0.103387
0.035056
0.035056
0.035056
0
0.027007
0.289067
5,625
170
82
33.088235
0.814704
0.028978
0
0.064516
0
0
0.08641
0.009331
0
0
0
0
0
0
null
null
0
0.032258
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
546fd3f5018ec2fa69665fa80fbd21ea9a9d7e43
2,615
py
Python
contrib/titan/__init__.py
celiafish/VisTrails
d8cb575b8b121941de190fe608003ad1427ef9f6
[ "BSD-3-Clause" ]
83
2015-01-05T14:50:50.000Z
2021-09-17T19:45:26.000Z
contrib/titan/__init__.py
celiafish/VisTrails
d8cb575b8b121941de190fe608003ad1427ef9f6
[ "BSD-3-Clause" ]
254
2015-01-02T20:39:19.000Z
2018-11-28T17:16:44.000Z
contrib/titan/__init__.py
celiafish/VisTrails
d8cb575b8b121941de190fe608003ad1427ef9f6
[ "BSD-3-Clause" ]
40
2015-04-17T16:46:36.000Z
2021-09-28T22:43:24.000Z
########################################################################### ## ## Copyright (C) 2006-2010 University of Utah. All rights reserved. ## ## This file is part of VisTrails. ## ## This file may be used under the terms of the GNU General Public ## License version 2.0 as published by the Free Software F...
43.583333
81
0.651625
311
2,615
5.446945
0.501608
0.020661
0.029516
0.05608
0.140496
0.123967
0.090909
0.044864
0
0
0
0.006797
0.156023
2,615
59
82
44.322034
0.760761
0.366348
0
0
0
0
0.271117
0.119891
0
0
0
0
0
0
null
null
0
0.166667
null
null
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
5470a4c5bf1899654f2a16f19d7053a02dc3df2b
946
py
Python
test/test_limit_filter.py
tiddlyweb/tiddlyweb
376bcad280e24d2de4d74883dc4d8369abcb2c28
[ "BSD-3-Clause" ]
57
2015-02-01T21:03:34.000Z
2021-12-25T12:02:31.000Z
test/test_limit_filter.py
tiddlyweb/tiddlyweb
376bcad280e24d2de4d74883dc4d8369abcb2c28
[ "BSD-3-Clause" ]
6
2016-02-05T11:43:32.000Z
2019-09-05T13:38:49.000Z
test/test_limit_filter.py
tiddlyweb/tiddlyweb
376bcad280e24d2de4d74883dc4d8369abcb2c28
[ "BSD-3-Clause" ]
17
2015-05-12T08:53:23.000Z
2021-12-21T15:56:30.000Z
""" Test the abilities of the limit filter. This is not about query parsing, but rather handling once we have the filter. """ import py.test from tiddlyweb.model.tiddler import Tiddler from tiddlyweb.filters.limit import limit from tiddlyweb.filters import parse_for_filters, recursive_filter, FilterError tiddlers = ...
25.567568
78
0.718816
131
946
5.053435
0.374046
0.042296
0.060423
0.075529
0.294562
0.214502
0.138973
0.138973
0.138973
0
0
0.011307
0.158562
946
36
79
26.277778
0.820352
0.123679
0
0
0
0
0.021924
0
0
0
0
0
0.111111
1
0.222222
false
0
0.222222
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
1
0
0
0
0
0
0
0
1
54729543d4e7124bf093d051496424fa78f87edc
321
py
Python
desafio/app/__init__.py
Lucas-Dinelli/Projeto_Questions
64cbecea2fe1fc9191254a51678304f559e57ec2
[ "MIT" ]
null
null
null
desafio/app/__init__.py
Lucas-Dinelli/Projeto_Questions
64cbecea2fe1fc9191254a51678304f559e57ec2
[ "MIT" ]
null
null
null
desafio/app/__init__.py
Lucas-Dinelli/Projeto_Questions
64cbecea2fe1fc9191254a51678304f559e57ec2
[ "MIT" ]
null
null
null
from flask import Flask from flask_sqlalchemy import SQLAlchemy from flask_login import LoginManager app = Flask(__name__) app.config.from_object('config') db = SQLAlchemy(app) login_manager = LoginManager() login_manager.init_app(app) from app.model import tables db.create_all() from app.controller import defaul...
18.882353
39
0.813084
46
321
5.434783
0.413043
0.108
0
0
0
0
0
0
0
0
0
0
0.115265
321
17
40
18.882353
0.880282
0
0
0
0
0
0.018634
0
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
54785885001d1842240b1654ed1827e8899c0437
793
py
Python
src/app.py
JohnminerIv/modular_dockerized_flask
f784f866bc0c04a60e11f61c521c1bcbd6636926
[ "Unlicense" ]
null
null
null
src/app.py
JohnminerIv/modular_dockerized_flask
f784f866bc0c04a60e11f61c521c1bcbd6636926
[ "Unlicense" ]
null
null
null
src/app.py
JohnminerIv/modular_dockerized_flask
f784f866bc0c04a60e11f61c521c1bcbd6636926
[ "Unlicense" ]
null
null
null
from dotenv import load_dotenv load_dotenv("../.env") from flask import Flask, send_from_directory import os # Database from src.database.mongodb import db # Modules from src.blueprints.auth import routes as auth from src.blueprints.landing_page import routes as landing_page def create_app(modules): app = Flask...
31.72
92
0.7314
109
793
5.045872
0.504587
0.038182
0.061818
0
0
0
0
0
0
0
0
0
0.161412
793
25
93
31.72
0.827068
0.020177
0
0
0
0
0.140645
0.030968
0
0
0
0
0
1
0.105263
false
0
0.315789
0.052632
0.526316
0.157895
0
0
0
null
0
0
0
0
0
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
54791e5fb82ad030d40edc6e241f9d261040d574
1,396
py
Python
tests/test_managed_object.py
zhgcao/pyvmomi
351b90461b81193dabfaf371fb3ad970943d5d05
[ "Apache-2.0" ]
1,894
2015-01-01T07:15:01.000Z
2022-03-29T09:47:57.000Z
tests/test_managed_object.py
ravic499/pyvmomi
3ffcb23bf77d757175c0d5216ba9a25345d824cd
[ "Apache-2.0" ]
770
2015-01-14T11:56:19.000Z
2022-03-29T07:29:23.000Z
tests/test_managed_object.py
ravic499/pyvmomi
3ffcb23bf77d757175c0d5216ba9a25345d824cd
[ "Apache-2.0" ]
893
2015-01-06T08:33:10.000Z
2022-03-24T04:27:08.000Z
# VMware vSphere Python SDK # Copyright (c) 2008-2015 VMware, Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unle...
37.72973
74
0.691261
184
1,396
5.130435
0.657609
0.063559
0.067797
0.033898
0
0
0
0
0
0
0
0.013953
0.229943
1,396
36
75
38.777778
0.864186
0.502865
0
0
0
0
0.081241
0.033973
0
0
0
0
0.142857
1
0.071429
false
0.071429
0.214286
0
0.357143
0.071429
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
5488aa6ade40cfaa406c98f8e180cee9ced8e240
1,340
py
Python
Hourglass/fading_hourglass.py
caternuson/CircuitPython-Demos
cffb226750614caed5368d7ca31c06be321f54d8
[ "MIT" ]
null
null
null
Hourglass/fading_hourglass.py
caternuson/CircuitPython-Demos
cffb226750614caed5368d7ca31c06be321f54d8
[ "MIT" ]
null
null
null
Hourglass/fading_hourglass.py
caternuson/CircuitPython-Demos
cffb226750614caed5368d7ca31c06be321f54d8
[ "MIT" ]
null
null
null
# Circuit Playground Express Fading Hourglass # # Author: Carter Nelson # MIT License (https://opensource.org/licenses/MIT) import time from adafruit_circuitplayground.express import cpx COUNT_TIME = 30 # seconds FADE_STEPS = 100 # NeoPixel fade steps R_SAND = 255 # Sand color RED value G_SAND ...
26.8
57
0.602985
195
1,340
4.035897
0.420513
0.091487
0.041931
0.060991
0.208386
0.165184
0.165184
0
0
0
0
0.026432
0.322388
1,340
49
58
27.346939
0.840308
0.377612
0
0.071429
0
0
0
0
0
0
0
0
0
1
0
false
0.071429
0.071429
0
0.071429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
5488e91e2e9115761738d3308940a1e9f52cb85b
22,365
py
Python
nipyapi/nifi/models/processor_status_snapshot_dto.py
oneextrafact/nipyapi
4c184d69002a8ee3ac528fda63b2ffcc6cedbae5
[ "Apache-2.0" ]
null
null
null
nipyapi/nifi/models/processor_status_snapshot_dto.py
oneextrafact/nipyapi
4c184d69002a8ee3ac528fda63b2ffcc6cedbae5
[ "Apache-2.0" ]
null
null
null
nipyapi/nifi/models/processor_status_snapshot_dto.py
oneextrafact/nipyapi
4c184d69002a8ee3ac528fda63b2ffcc6cedbae5
[ "Apache-2.0" ]
null
null
null
# coding: utf-8 """ NiFi Rest Api The Rest Api provides programmatic access to command and control a NiFi instance in real time. Start and stop processors, monitor queues, query provenance data, and more. Each endpoint below includes a description, ...
30.805785
479
0.620568
2,575
22,365
5.203884
0.087379
0.039403
0.210149
0.109701
0.662537
0.577313
0.53709
0.408881
0.342985
0.316567
0
0.002592
0.310038
22,365
725
480
30.848276
0.86579
0.426112
0
0.088737
0
0
0.087138
0.006494
0
0
0
0
0
1
0.170648
false
0
0.010239
0
0.286689
0.003413
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
548a844266bcdc4675ed60b4e1530eab28d809b8
485
pyde
Python
agar/agar.pyde
YatharthROCK/blobgame
a115bc07ca4280e0cc2426118c4f8f34f57c901c
[ "MIT" ]
1
2015-06-08T12:28:17.000Z
2015-06-08T12:28:17.000Z
agar/agar.pyde
YatharthROCK/blobgame
a115bc07ca4280e0cc2426118c4f8f34f57c901c
[ "MIT" ]
null
null
null
agar/agar.pyde
YatharthROCK/blobgame
a115bc07ca4280e0cc2426118c4f8f34f57c901c
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 __author__ = 'Yatharth Agarwal <yatharth999@gmail.com>' """Run game""" import config from board import Controller controller = Controller() def setup(): print "Setting up" size(config.SIZE, config.SIZE) colorMode(HSB, 1) frame.setTitle("Agar") def draw(): background(co...
16.724138
55
0.703093
56
485
6
0.642857
0.119048
0.083333
0
0
0
0
0
0
0
0
0.012407
0.169072
485
28
56
17.321429
0.82134
0.043299
0
0
0
0
0.120267
0.051225
0
0
0
0
0
0
null
null
0
0.125
null
null
0.0625
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
548fec70cdf97adac05519b2c40b9f88e2819f32
5,249
py
Python
leetcode_python/Bit_Manipulation/set-mismatch.py
yennanliu/Python_basics
6a597442d39468295946cefbfb11d08f61424dc3
[ "Unlicense" ]
null
null
null
leetcode_python/Bit_Manipulation/set-mismatch.py
yennanliu/Python_basics
6a597442d39468295946cefbfb11d08f61424dc3
[ "Unlicense" ]
null
null
null
leetcode_python/Bit_Manipulation/set-mismatch.py
yennanliu/Python_basics
6a597442d39468295946cefbfb11d08f61424dc3
[ "Unlicense" ]
null
null
null
""" 645. Set Mismatch Easy You have a set of integers s, which originally contains all the numbers from 1 to n. Unfortunately, due to some error, one of the numbers in s got duplicated to another number in the set, which results in repetition of one number and loss of another number. You are given an integer array n...
27.920213
257
0.5502
752
5,249
3.796543
0.195479
0.031874
0.077058
0.092469
0.565674
0.515937
0.482312
0.41331
0.397898
0.376883
0
0.04559
0.297962
5,249
187
258
28.069519
0.729172
0.141932
0
0.4375
0
0
0
0
0
0
0
0
0.041667
0
null
null
0
0.020833
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
549012a61cbfa7dd1a9d67862b75bfd60c722ef8
1,257
py
Python
munactives/migrations/0004_owner_owner_active.py
VaJau2/MunactivesMap-Django
3fee9f77de8a73244cc85e38786cf3860214daf4
[ "MIT" ]
null
null
null
munactives/migrations/0004_owner_owner_active.py
VaJau2/MunactivesMap-Django
3fee9f77de8a73244cc85e38786cf3860214daf4
[ "MIT" ]
1
2020-04-07T14:29:11.000Z
2020-04-07T14:29:11.000Z
munactives/migrations/0004_owner_owner_active.py
VaJau2/MunactivesMap-Django
3fee9f77de8a73244cc85e38786cf3860214daf4
[ "MIT" ]
null
null
null
# Generated by Django 3.0.3 on 2020-03-07 08:20 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('contenttypes', '0002_remove_content_type_name'), ('munactives', '0003_auto_20200209_1142'), ] operations = ...
35.914286
127
0.58393
121
1,257
5.909091
0.495868
0.044755
0.058741
0.092308
0.232168
0.153846
0.153846
0.153846
0.153846
0.153846
0
0.041804
0.27685
1,257
34
128
36.970588
0.744774
0.0358
0
0.285714
1
0
0.157025
0.06281
0
0
0
0
0
1
0
false
0
0.071429
0
0.178571
0
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
54ad71be75abd77a50fe8f419e72239938f12438
1,632
py
Python
api/resources/schemas/recipes.py
quanttyo/GastroHelper
072c1c8649a3edc4581d120bfa6f0763a2542521
[ "MIT" ]
null
null
null
api/resources/schemas/recipes.py
quanttyo/GastroHelper
072c1c8649a3edc4581d120bfa6f0763a2542521
[ "MIT" ]
null
null
null
api/resources/schemas/recipes.py
quanttyo/GastroHelper
072c1c8649a3edc4581d120bfa6f0763a2542521
[ "MIT" ]
null
null
null
"""This module describes validation models for Recipes route.""" from typing import List, Optional from api.db.models import Products, Recipes, Structure from api.resources.schemas import Model, make_schema_from_orm from api.resources.schemas.extras import EditedStamp AllRecipesResponseSchema: Model = make_schema_fro...
28.631579
73
0.586397
171
1,632
5.309942
0.339181
0.088106
0.123348
0.14978
0.352423
0.295154
0.295154
0.295154
0.125551
0.125551
0
0.003425
0.284314
1,632
56
74
29.142857
0.773973
0.035539
0
0.132075
0
0
0.132653
0
0
0
0
0
0
1
0
true
0
0.075472
0
0.075472
0
0
0
0
null
0
0
0
0
0
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
54b6f0cb2f13ff937f25997b4a507994c97106cf
1,863
py
Python
spotpy/examples/tutorial_ownDatabase.py
xuexianwu/spotpy
f3e1e2cdc95de46272026f6fb51f8562306d8e44
[ "MIT" ]
1
2016-04-20T17:03:41.000Z
2016-04-20T17:03:41.000Z
spotpy/examples/tutorial_ownDatabase.py
xuexianwu/spotpy
f3e1e2cdc95de46272026f6fb51f8562306d8e44
[ "MIT" ]
null
null
null
spotpy/examples/tutorial_ownDatabase.py
xuexianwu/spotpy
f3e1e2cdc95de46272026f6fb51f8562306d8e44
[ "MIT" ]
1
2019-02-02T08:03:59.000Z
2019-02-02T08:03:59.000Z
''' Copyright 2015 by Tobias Houska This file is part of Statistical Parameter Estimation Tool (SPOTPY). :author: Tobias Houska This example implements the Rosenbrock function into SPOT. ''' from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ ...
36.529412
105
0.663446
243
1,863
4.967078
0.460905
0.044739
0.053024
0.006628
0.008285
0
0
0
0
0
0
0.029717
0.223296
1,863
51
106
36.529412
0.804423
0.186259
0
0
0
0
0.077025
0
0
0
0
0
0
1
0.176471
false
0
0.176471
0.029412
0.529412
0.029412
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
54bd02423f8ca7359156ac1a757824bcfdd645e6
400
py
Python
setup.py
jackjinke/host-ip-swapper
1bc22c2f55ae1e497a8e04f0fa1492b67f17a263
[ "MIT" ]
null
null
null
setup.py
jackjinke/host-ip-swapper
1bc22c2f55ae1e497a8e04f0fa1492b67f17a263
[ "MIT" ]
1
2022-02-05T09:33:10.000Z
2022-02-05T09:33:10.000Z
setup.py
jackjinke/host-ip-swapper
1bc22c2f55ae1e497a8e04f0fa1492b67f17a263
[ "MIT" ]
null
null
null
from setuptools import setup, find_packages setup( name='host-ip-swapper', version='1.0', packages=find_packages(), url='https://github.com/jackjinke/host-ip-swapper', license='MIT', author='jackjinke', author_email='jack.kejin@gmail.com', description='Check the reachability of host, th...
28.571429
100
0.69
55
400
4.945455
0.763636
0.088235
0.095588
0
0
0
0
0
0
0
0
0.012012
0.1675
400
13
101
30.769231
0.804805
0
0
0
0
0
0.45
0
0
0
0
0
0
1
0
true
0
0.083333
0
0.083333
0
0
0
0
null
0
0
0
0
0
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
54bd82d6d31f43647f93fa37b44f730fd8221391
1,995
py
Python
scriptures/spiders/upanishad_spider.py
hrgupta/upanishads
1f6aaf0749cba6bce15fd9086b9f0e27f1750612
[ "MIT" ]
1
2022-01-22T07:33:24.000Z
2022-01-22T07:33:24.000Z
scriptures/spiders/upanishad_spider.py
hrgupta/upanishads
1f6aaf0749cba6bce15fd9086b9f0e27f1750612
[ "MIT" ]
6
2021-02-03T02:45:35.000Z
2021-09-07T01:44:11.000Z
scriptures/spiders/upanishad_spider.py
hrgupta/indian-scriptures
090fbabf631c5e1f748a5a672fc0b49d6a160068
[ "MIT" ]
null
null
null
import scrapy from scrapy.crawler import CrawlerProcess # This class is the main spider class. It will crawl the main website. class MantraSpider(scrapy.Spider): name = "mantraspider" def start_requests(self): start_urls = [ "https://www.upanishads.iitk.ac.in/aitereya", "http...
34.396552
78
0.611028
246
1,995
4.894309
0.394309
0.07309
0.164452
0.200997
0.303987
0.303987
0.066445
0.066445
0.066445
0
0
0.001975
0.238596
1,995
57
79
35
0.790652
0.086216
0
0
0
0
0.370737
0.039604
0
0
0
0
0
1
0.04878
false
0
0.04878
0
0.146341
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
54c82ef74e4deabbc02b67da774d5b167d42d638
1,007
py
Python
zerver/migrations/0174_userprofile_delivery_email.py
kaustubh-nair/zulip
fb96407607c1f42b350980ad13af20b884750606
[ "Apache-2.0" ]
6
2019-05-09T20:43:20.000Z
2022-03-29T05:53:50.000Z
zerver/migrations/0174_userprofile_delivery_email.py
kaustubh-nair/zulip
fb96407607c1f42b350980ad13af20b884750606
[ "Apache-2.0" ]
2
2016-10-18T04:01:56.000Z
2016-10-20T18:19:09.000Z
zerver/migrations/0174_userprofile_delivery_email.py
kaustubh-nair/zulip
fb96407607c1f42b350980ad13af20b884750606
[ "Apache-2.0" ]
7
2016-08-10T02:24:32.000Z
2022-03-28T15:14:18.000Z
# Generated by Django 1.11.13 on 2018-07-05 17:57 from django.db import migrations, models from django.db.backends.postgresql.schema import DatabaseSchemaEditor from django.db.migrations.state import StateApps from django.db.models import F def copy_email_field(apps: StateApps, schema_editor: DatabaseSchemaEditor) -...
31.46875
83
0.665343
110
1,007
5.936364
0.590909
0.061256
0.073507
0
0
0
0
0
0
0
0
0.031128
0.234359
1,007
31
84
32.483871
0.815824
0.046673
0
0
1
0
0.085595
0.030271
0
0
0
0
0
1
0.043478
false
0
0.173913
0
0.391304
0
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
49a48aa29d50fe1f4194a08ba5fee75c9032d906
9,482
py
Python
sky/tools/webkitpy/bindings/main.py
rafaelw/mojo
d3495a129dcbe679e2d5ac729c85a58acf38f8c4
[ "BSD-3-Clause" ]
5
2015-04-30T00:13:21.000Z
2019-07-10T02:17:24.000Z
sky/tools/webkitpy/bindings/main.py
gitFreeByte/sky_engine
05c9048930f8a0d39c2f6385ba691eccbbdabb20
[ "BSD-3-Clause" ]
null
null
null
sky/tools/webkitpy/bindings/main.py
gitFreeByte/sky_engine
05c9048930f8a0d39c2f6385ba691eccbbdabb20
[ "BSD-3-Clause" ]
1
2019-05-12T13:53:44.000Z
2019-05-12T13:53:44.000Z
# Copyright (C) 2011 Google Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # 1. Redistributions of source code must retain the above copyright # notice, this list of conditions and the f...
40.521368
109
0.670323
1,158
9,482
5.353195
0.330743
0.013551
0.012905
0.025004
0.132925
0.116148
0.064849
0.064849
0.045814
0.045814
0
0.004138
0.26081
9,482
233
110
40.695279
0.880297
0.321768
0
0.107914
0
0
0.122245
0.01142
0
0
0
0.004292
0
0
null
null
0.043165
0.093525
null
null
0.100719
0
0
0
null
0
0
0
0
0
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
49ae0331ef422e2558197306be580b319dc2c456
10,837
py
Python
sel4v/param.py
BerkeleyLab/CMOC
79601fc64afde369a8e0534c3e87eb29cd927299
[ "BSD-3-Clause-LBNL" ]
3
2018-12-07T06:01:36.000Z
2022-02-07T17:56:15.000Z
sel4v/param.py
BerkeleyLab/CMOC
79601fc64afde369a8e0534c3e87eb29cd927299
[ "BSD-3-Clause-LBNL" ]
null
null
null
sel4v/param.py
BerkeleyLab/CMOC
79601fc64afde369a8e0534c3e87eb29cd927299
[ "BSD-3-Clause-LBNL" ]
1
2019-12-05T07:15:41.000Z
2019-12-05T07:15:41.000Z
from math import sin, cos, pi, sqrt, log from numpy import log as clog from numpy import exp as cexp from numpy import ceil # Gang humbly requests that Q_1 be renamed Q_drive, and Q_2 as Q_probe. # Should apply here, physics.tex, elsewhere? # Note that Tstep is the ADC time step, also clocks the LLRF controller. # Di...
32.93921
92
0.675002
1,969
10,837
3.561199
0.253936
0.011124
0.01854
0.019395
0.155876
0.106389
0.048774
0.019681
0
0
0
0.081762
0.182892
10,837
328
93
33.039634
0.710107
0.334871
0
0.043103
0
0
0.133362
0
0
0
0
0
0
0
null
null
0
0.021552
null
null
0.112069
0
0
0
null
0
0
0
0
0
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
49b759b4456a294cff88353f6dd310fcb3b825df
2,639
py
Python
wigs-validation-linux/pre_wigs_validation/free_disk_space.py
therin/aws-managed-services
8950d6ed902c1007427a7e5adc0b7b5c89bb2531
[ "Apache-2.0" ]
null
null
null
wigs-validation-linux/pre_wigs_validation/free_disk_space.py
therin/aws-managed-services
8950d6ed902c1007427a7e5adc0b7b5c89bb2531
[ "Apache-2.0" ]
null
null
null
wigs-validation-linux/pre_wigs_validation/free_disk_space.py
therin/aws-managed-services
8950d6ed902c1007427a7e5adc0b7b5c89bb2531
[ "Apache-2.0" ]
null
null
null
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 import shutil from pre_wigs_validation.enums import ValidationEnforcement, ValidationResult from pre_wigs_validation.instance import ValidationInstance from pre_wigs_validation.dataclasses import ValidationOutpu...
34.723684
83
0.608564
266
2,639
5.909774
0.424812
0.015903
0.02799
0.053435
0.206743
0.183842
0.127863
0
0
0
0
0.008366
0.320576
2,639
75
84
35.186667
0.868377
0.164077
0
0.203704
0
0
0.115637
0
0
0
0
0
0
1
0.018519
false
0.074074
0.092593
0
0.222222
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
49bf994515493a6c386af72758e382140a6e8a25
3,257
py
Python
demo/rundemo.py
sourabhkt/robotframework-seleniumlibrary
72e25d4858312b3862f9465467a19073be2a329c
[ "ECL-2.0", "Apache-2.0" ]
2
2015-05-07T16:31:43.000Z
2020-02-25T22:24:27.000Z
demo/rundemo.py
sourabhkt/robotframework-seleniumlibrary
72e25d4858312b3862f9465467a19073be2a329c
[ "ECL-2.0", "Apache-2.0" ]
2
2015-08-07T09:50:16.000Z
2016-12-31T10:52:02.000Z
demo/rundemo.py
sourabhkt/robotframework-seleniumlibrary
72e25d4858312b3862f9465467a19073be2a329c
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
#! /usr/bin/env python """Runner Script for Robot Framework SeleniumLibrary Demo Tests are run by giving a path to the tests to be executed as an argument to this script. Possible Robot Framework options are given before the path. Examples: rundemo.py login_tests # Run all tests in a directo...
35.402174
79
0.727971
451
3,257
5.128603
0.374723
0.035019
0.032858
0.020752
0.077821
0.048422
0.026805
0
0
0
0
0.001878
0.182683
3,257
91
80
35.791209
0.867017
0.006448
0
0
0
0
0.209677
0
0
0
0
0
0
0
null
null
0
0.155556
null
null
0.244444
0
0
0
null
0
0
0
0
0
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
49c4e295632c484b0125661e74728b77e66e0206
676
py
Python
c4/movies/management/commands/movie_fill.py
Trianglium/c4_proj
8b24fb27099c49a3e8e70217f2c190dd5793d6a5
[ "CC-BY-4.0" ]
1
2022-02-26T00:43:57.000Z
2022-02-26T00:43:57.000Z
c4/movies/management/commands/movie_fill.py
Trianglium/c4_proj
8b24fb27099c49a3e8e70217f2c190dd5793d6a5
[ "CC-BY-4.0" ]
null
null
null
c4/movies/management/commands/movie_fill.py
Trianglium/c4_proj
8b24fb27099c49a3e8e70217f2c190dd5793d6a5
[ "CC-BY-4.0" ]
null
null
null
import logging from django.core.management.base import BaseCommand from movies.models import Movie from movies.omdb_integration import fill_movie_details logger = logging.getLogger(__name__) class Command(BaseCommand): help = "Search OMDb and populates the database with results" def add_arguments(self, pa...
27.04
88
0.690828
88
676
5.136364
0.602273
0.066372
0.070796
0.061947
0
0
0
0
0
0
0
0.005629
0.211538
676
24
89
28.166667
0.842402
0
0
0
0
0
0.161243
0
0
0
0
0
0
1
0.125
false
0
0.25
0
0.5625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
49c8ad77808536422c39c94ed55a2a5b5ae10051
2,270
py
Python
src/hedera_proto/unchecked_submit_pb2.py
HbarStudio/hedera-protobufs-python
f8a503d2c4c5b7c441ddf48607f7ee563b3f931a
[ "Apache-2.0" ]
null
null
null
src/hedera_proto/unchecked_submit_pb2.py
HbarStudio/hedera-protobufs-python
f8a503d2c4c5b7c441ddf48607f7ee563b3f931a
[ "Apache-2.0" ]
null
null
null
src/hedera_proto/unchecked_submit_pb2.py
HbarStudio/hedera-protobufs-python
f8a503d2c4c5b7c441ddf48607f7ee563b3f931a
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: unchecked_submit.proto """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection from googl...
31.527778
198
0.779736
255
2,270
6.627451
0.407843
0.031953
0.042604
0.056805
0.101775
0.101775
0
0
0
0
0
0.023221
0.10837
2,270
71
199
31.971831
0.811759
0.122907
0
0.156863
1
0.019608
0.222727
0.156566
0
0
0
0
0
1
0
false
0
0.078431
0
0.078431
0
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
49cae64e20a1ce3b825f912f12403281a0b86723
11,709
py
Python
keystone/identity/backends/sql_model.py
dtroyer/keystone
ba21db422d4f58c185e1b4414e118f723c33b959
[ "Apache-2.0" ]
null
null
null
keystone/identity/backends/sql_model.py
dtroyer/keystone
ba21db422d4f58c185e1b4414e118f723c33b959
[ "Apache-2.0" ]
null
null
null
keystone/identity/backends/sql_model.py
dtroyer/keystone
ba21db422d4f58c185e1b4414e118f723c33b959
[ "Apache-2.0" ]
null
null
null
# Copyright 2012 OpenStack Foundation # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
38.771523
79
0.624306
1,377
11,709
5.074074
0.17284
0.043796
0.056677
0.048948
0.391155
0.317876
0.268212
0.218692
0.170889
0.118506
0
0.006896
0.281664
11,709
301
80
38.900332
0.823802
0.11094
0
0.261062
0
0
0.078116
0.006687
0
0
0
0
0
1
0.084071
false
0.19469
0.026549
0.017699
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
1
0
0
0
0
0
1
49ce99bdc0d9a31db656b4f0261e8929422d7d0c
2,091
py
Python
vyperlogix/win/watcher.py
raychorn/chrome_gui
f1fade70b61af12ee43c55c075aa9cfd32caa962
[ "CC0-1.0" ]
1
2020-09-29T01:36:33.000Z
2020-09-29T01:36:33.000Z
vyperlogix/win/watcher.py
raychorn/chrome_gui
f1fade70b61af12ee43c55c075aa9cfd32caa962
[ "CC0-1.0" ]
null
null
null
vyperlogix/win/watcher.py
raychorn/chrome_gui
f1fade70b61af12ee43c55c075aa9cfd32caa962
[ "CC0-1.0" ]
null
null
null
import wmi import pythoncom from vyperlogix.misc import threadpool _Q_ = threadpool.ThreadQueue(5, isDaemon=False) __copyright__ = """\ (c). Copyright 2008-2020, Vyper Logix Corp., All Rights Reserved. Published under Creative Commons License (http://creativecommons.org/licenses/by-nc/3.0/) restricted to non-comm...
29.041667
72
0.703013
279
2,091
5.089606
0.523297
0.025352
0.019718
0.032394
0.084507
0.04507
0
0
0
0
0
0.013889
0.208034
2,091
71
73
29.450704
0.843599
0.052606
0
0.12
0
0
0.449742
0
0
0
0
0
0
0
null
null
0
0.08
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
49d108bcf3236b4216d08ff8f03241df10bdb0ef
2,779
py
Python
features/haxe_fix_module.py
MattTuttle/haxe-sublime2-bundle
34fb6037f1a01bdb0b81438cdb8cb2ccf6e24f86
[ "Apache-2.0" ]
82
2015-01-10T00:11:27.000Z
2022-03-14T23:57:00.000Z
features/haxe_fix_module.py
MattTuttle/haxe-sublime2-bundle
34fb6037f1a01bdb0b81438cdb8cb2ccf6e24f86
[ "Apache-2.0" ]
104
2015-01-17T02:59:15.000Z
2021-05-26T19:40:39.000Z
features/haxe_fix_module.py
MattTuttle/haxe-sublime2-bundle
34fb6037f1a01bdb0b81438cdb8cb2ccf6e24f86
[ "Apache-2.0" ]
66
2015-01-01T21:16:01.000Z
2021-08-12T03:28:21.000Z
import os import re import sublime import sublime_plugin try: # Python 3 from .haxe_helper import HaxeComplete_inst from .haxe_generate_code_helper import is_haxe_scope except (ValueError): # Python 2 from haxe_helper import HaxeComplete_inst from haxe_generate_code_helper import is_haxe_scope re_ty...
31.579545
78
0.543001
336
2,779
4.357143
0.279762
0.028689
0.022541
0.043033
0.254098
0.181694
0.181694
0.13388
0.107924
0.107924
0
0.009224
0.336812
2,779
87
79
31.942529
0.785133
0.006117
0
0.115942
1
0
0.076115
0.01921
0
0
0
0
0
1
0.043478
false
0
0.115942
0
0.246377
0
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
49d24f163b1f8b89e1845929e3cf1511d321d9b1
3,762
py
Python
test/posix/integration/syslog_plugin/test.py
Mattlk13/include-OS
d1668b94a007615db458fc394c94127631a55309
[ "Apache-2.0" ]
null
null
null
test/posix/integration/syslog_plugin/test.py
Mattlk13/include-OS
d1668b94a007615db458fc394c94127631a55309
[ "Apache-2.0" ]
null
null
null
test/posix/integration/syslog_plugin/test.py
Mattlk13/include-OS
d1668b94a007615db458fc394c94127631a55309
[ "Apache-2.0" ]
null
null
null
#! /usr/bin/env python import sys import os includeos_src = os.environ.get('INCLUDEOS_SRC', os.path.realpath(os.path.join(os.getcwd(), os.path.dirname(__file__))).split('/test')[0]) print 'includeos_src: {0}'.format(includeos_src) sys.path.insert(0,includeos_src) from vmrunner import vm...
34.833333
123
0.703615
608
3,762
4.166118
0.286184
0.017766
0.023687
0.030794
0.260561
0.236084
0.217529
0.192262
0.192262
0.135018
0
0.079111
0.186869
3,762
107
124
35.158879
0.748938
0.035354
0
0.025974
0
0.12987
0.449255
0
0
0
0.002206
0
0.038961
0
null
null
0
0.051948
null
null
0.064935
0
0
0
null
0
0
0
0
0
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
49d33c20941e06ff128a9ac6e702ada2a7012f5b
505
py
Python
setup.py
jimgoo/yahoo-historical
3d13040055bde6fb3f25cf0d62a76bb608722e54
[ "MIT" ]
null
null
null
setup.py
jimgoo/yahoo-historical
3d13040055bde6fb3f25cf0d62a76bb608722e54
[ "MIT" ]
null
null
null
setup.py
jimgoo/yahoo-historical
3d13040055bde6fb3f25cf0d62a76bb608722e54
[ "MIT" ]
null
null
null
from setuptools import setup setup( name="yahoo_historical", packages=["yahoo_historical"], version="0.4.0", description="Fetches historical EOD (end of day) prices from yahoo finance", author="Andrew Porter", author_email="porter.r.andrew@gmail.com", license="MIT License", url="https:/...
33.666667
80
0.712871
60
505
5.916667
0.633333
0.169014
0.078873
0.095775
0.253521
0.253521
0.253521
0
0
0
0
0.006897
0.138614
505
14
81
36.071429
0.809195
0
0
0
0
0
0.550495
0.049505
0
0
0
0
0
1
0
true
0
0.076923
0
0.076923
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
49d81c09d9a6220ce3247b849956114f0f0ea1aa
232
py
Python
Darlington/phase2/DICTIONARY/day 51 solution/qtn8.py
CodedLadiesInnovateTech/-python-challenge-solutions
430cd3eb84a2905a286819eef384ee484d8eb9e7
[ "MIT" ]
6
2020-05-23T19:53:25.000Z
2021-05-08T20:21:30.000Z
Darlington/phase2/DICTIONARY/day 51 solution/qtn8.py
CodedLadiesInnovateTech/-python-challenge-solutions
430cd3eb84a2905a286819eef384ee484d8eb9e7
[ "MIT" ]
8
2020-05-14T18:53:12.000Z
2020-07-03T00:06:20.000Z
Darlington/phase2/DICTIONARY/day 51 solution/qtn8.py
CodedLadiesInnovateTech/-python-challenge-solutions
430cd3eb84a2905a286819eef384ee484d8eb9e7
[ "MIT" ]
39
2020-05-10T20:55:02.000Z
2020-09-12T17:40:59.000Z
# program to match key values in two dictionaries. x = {'key1': 1, 'key2': 3, 'key3': 2} y = {'key1': 1, 'key2': 2} for (key, value) in set(x.items()) & set(y.items()): print('%s: %s is present in both x and y' % (key, value))
38.666667
61
0.573276
42
232
3.166667
0.619048
0.075188
0.135338
0
0
0
0
0
0
0
0
0.054054
0.202586
232
6
62
38.666667
0.664865
0.206897
0
0
0
0
0.289617
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
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
49dc636b8a05d0d66f7407862efe17fbad129863
2,393
py
Python
src/Products/PluggableAuthService/plugins/LocalRolePlugin.py
perrinjerome/Products.PluggableAuthService
d77e403ca53b8b915d47c5a72549e1a3cde84934
[ "ZPL-2.1" ]
5
2017-11-22T06:35:23.000Z
2021-03-05T17:28:26.000Z
src/Products/PluggableAuthService/plugins/LocalRolePlugin.py
perrinjerome/Products.PluggableAuthService
d77e403ca53b8b915d47c5a72549e1a3cde84934
[ "ZPL-2.1" ]
74
2015-10-21T12:56:22.000Z
2022-03-27T15:42:06.000Z
src/Products/PluggableAuthService/plugins/LocalRolePlugin.py
perrinjerome/Products.PluggableAuthService
d77e403ca53b8b915d47c5a72549e1a3cde84934
[ "ZPL-2.1" ]
14
2015-04-03T05:25:12.000Z
2021-04-28T08:25:37.000Z
############################################################################## # # Copyright (c) 2001 Zope Foundation and Contributors # # This software is subject to the provisions of the Zope Public License, # Version 2.1 (ZPL). A copy of the ZPL should accompany this # distribution. # THIS SOFTWARE IS PROVIDED "AS ...
30.291139
78
0.664856
243
2,393
6.432099
0.534979
0.03199
0.017914
0
0
0
0
0
0
0
0
0.003094
0.18972
2,393
78
79
30.679487
0.802991
0.282491
0
0
0
0
0.09847
0.05855
0
0
0
0
0
1
0.090909
false
0
0.212121
0
0.515152
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
49e1d0f1bcc6e8096242cb94130473ea923e2628
234
py
Python
cam.py
anjutoxia/MLadhoc
b4568638f75868dbcc032c63717668dd2f722c85
[ "Apache-2.0" ]
null
null
null
cam.py
anjutoxia/MLadhoc
b4568638f75868dbcc032c63717668dd2f722c85
[ "Apache-2.0" ]
null
null
null
cam.py
anjutoxia/MLadhoc
b4568638f75868dbcc032c63717668dd2f722c85
[ "Apache-2.0" ]
null
null
null
#! /usr/bin/python2 import cv2 #now starting cam cap=cv2.VideoCapture(0) while cap.isOpened(): print "camera is working" status,frame=cap.read() cv2.imshow("camera",frame) cv2.waitKey(1) cv2.destroyWindow("camera") cap.release
18
27
0.735043
35
234
4.914286
0.714286
0
0
0
0
0
0
0
0
0
0
0.038462
0.111111
234
12
28
19.5
0.788462
0.145299
0
0
0
0
0.147208
0
0
0
0
0
0
0
null
null
0
0.111111
null
null
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
49e3db3a2836d73bb27d73c09b0b4ac1af3e2f8e
839
py
Python
scripts/release18/colorchooser/colorchooser_savePreset.py
tdapper/cinema4d_py_sdk
32b1d2b63fe28510c83c66065394042900000e92
[ "Apache-2.0" ]
113
2015-12-11T11:00:49.000Z
2022-03-27T01:33:12.000Z
scripts/release18/colorchooser/colorchooser_savePreset.py
tdapper/cinema4d_py_sdk
32b1d2b63fe28510c83c66065394042900000e92
[ "Apache-2.0" ]
3
2016-04-04T12:45:28.000Z
2019-04-12T08:33:38.000Z
scripts/release18/colorchooser/colorchooser_savePreset.py
tdapper/cinema4d_py_sdk
32b1d2b63fe28510c83c66065394042900000e92
[ "Apache-2.0" ]
50
2015-11-16T11:13:02.000Z
2022-03-26T07:05:25.000Z
# This example loads the swatches of the given BaseDocument and stores them as a preset. # Note: The ColorSwatchData of the active document must contain some colors. import c4d from c4d.modules import colorchooser as cc def main(): # Creates a new ColorSwatchData swatchData = cc.ColorSwatchData() if swatc...
27.064516
88
0.692491
105
839
5.457143
0.561905
0.017452
0.059337
0.076789
0
0
0
0
0
0
0
0.004702
0.239571
839
30
89
27.966667
0.893417
0.334923
0
0.117647
0
0
0.219601
0
0
0
0
0
0
0
null
null
0
0.117647
null
null
0.117647
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
49e5392dd77307c621a7deb80c0e43de9a729c3e
6,890
py
Python
rmgpy/qm/gaussianTest.py
cainja/RMG-Py
f9ad0f4244e476a28768c8a4a37410ad55bcd556
[ "MIT" ]
7
2017-10-04T16:04:14.000Z
2021-03-27T21:54:41.000Z
code/rmgpy/qm/gaussianTest.py
tiger-tiger/Molecular-Image-Recognition
413e74bb526f56077cd5f70bb41fb7a075636174
[ "MIT" ]
null
null
null
code/rmgpy/qm/gaussianTest.py
tiger-tiger/Molecular-Image-Recognition
413e74bb526f56077cd5f70bb41fb7a075636174
[ "MIT" ]
6
2017-10-04T15:37:05.000Z
2021-12-29T06:50:16.000Z
#!/usr/bin/python # -*- coding: utf-8 -*- ################################################################################ # # RMG - Reaction Mechanism Generator # # Copyright (c) 2002-2017 Prof. William H. Green (whgreen@mit.edu), # Prof. Richard H. West (r.west@neu.edu) and the RMG Team (rmg_dev@mit.edu) # # ...
40.292398
120
0.648621
785
6,890
5.667516
0.310828
0.040459
0.013486
0.013486
0.654529
0.654529
0.654529
0.654529
0.624185
0.624185
0
0.018543
0.225109
6,890
170
121
40.529412
0.814759
0.292017
0
0.692308
0
0
0.112743
0
0
0
0
0
0.205128
1
0.076923
false
0
0.141026
0
0.24359
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
49e7a329317c1ef1bea969934b3f05c31884f951
719
py
Python
exdir/core/mode.py
knc-neural-calculus/exdir
5448d41d60c0583892ab7bcf10342d8fb2f2a26b
[ "MIT" ]
67
2017-10-25T11:08:59.000Z
2022-02-25T18:04:36.000Z
exdir/core/mode.py
knc-neural-calculus/exdir
5448d41d60c0583892ab7bcf10342d8fb2f2a26b
[ "MIT" ]
107
2017-02-03T16:50:53.000Z
2022-03-18T04:18:14.000Z
exdir/core/mode.py
knc-neural-calculus/exdir
5448d41d60c0583892ab7bcf10342d8fb2f2a26b
[ "MIT" ]
11
2018-09-11T11:05:44.000Z
2022-02-13T10:37:09.000Z
from enum import Enum class OpenMode(Enum): READ_WRITE = 1 READ_ONLY = 2 FILE_CLOSED = 3 def assert_file_open(file_object): """ Decorator to check if the file is not closed. """ if file_object.io_mode == OpenMode.FILE_CLOSED: raise IOError("Unable to operate on closed File instan...
26.62963
73
0.681502
109
719
4.330275
0.376147
0.105932
0.076271
0.088983
0.601695
0.601695
0.54661
0.54661
0.54661
0.54661
0
0.005474
0.23783
719
26
74
27.653846
0.855839
0.179416
0
0.307692
0
0
0.237838
0
0
0
0
0
0.153846
1
0.153846
false
0
0.076923
0
0.538462
0
0
0
0
null
0
0
0
0
0
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
49e82ebf5cec5da9b34628cf7945d71af75bc1f6
2,432
py
Python
satchless/process/test_process.py
sahil2128/satchless
b74628436cbc27676d246711cdca42e5e5946c0c
[ "BSD-3-Clause" ]
381
2015-01-04T23:55:34.000Z
2022-03-25T18:25:55.000Z
satchless/process/test_process.py
sahil2128/satchless
b74628436cbc27676d246711cdca42e5e5946c0c
[ "BSD-3-Clause" ]
17
2015-07-01T10:22:38.000Z
2021-12-16T11:38:32.000Z
satchless/process/test_process.py
sahil2128/satchless
b74628436cbc27676d246711cdca42e5e5946c0c
[ "BSD-3-Clause" ]
89
2015-02-07T22:54:57.000Z
2022-01-27T17:22:31.000Z
from unittest import TestCase from . import ProcessManager, Step, InvalidData class AddSwallows(Step): def __init__(self, data): self.data = data def __str__(self): return 'swallows-needed' def validate(self): if self.data.swallows < 2: raise InvalidData('Not enough...
28.27907
81
0.650905
268
2,432
5.720149
0.264925
0.031311
0.035877
0.035225
0.148728
0.148728
0.148728
0.061318
0.061318
0.061318
0
0.005479
0.249589
2,432
85
82
28.611765
0.834521
0.121711
0
0.295082
0
0
0.193668
0.04523
0
0
0
0
0.163934
1
0.229508
false
0
0.032787
0.04918
0.377049
0
0
0
0
null
0
0
0
0
0
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
49e9aaf3fe0bb09a66190010c3823e63bcbdbd9f
10,292
py
Python
cave/com.raytheon.viz.gfe/GFESuite/src/runprocedure/runProcedure.py
srcarter3/awips2
37f31f5e88516b9fd576eaa49d43bfb762e1d174
[ "Apache-2.0" ]
null
null
null
cave/com.raytheon.viz.gfe/GFESuite/src/runprocedure/runProcedure.py
srcarter3/awips2
37f31f5e88516b9fd576eaa49d43bfb762e1d174
[ "Apache-2.0" ]
null
null
null
cave/com.raytheon.viz.gfe/GFESuite/src/runprocedure/runProcedure.py
srcarter3/awips2
37f31f5e88516b9fd576eaa49d43bfb762e1d174
[ "Apache-2.0" ]
1
2021-10-30T00:03:05.000Z
2021-10-30T00:03:05.000Z
## # This software was developed and / or modified by Raytheon Company, # pursuant to Contract DG133W-05-CQ-1067 with the US Government. # # U.S. EXPORT CONTROLLED TECHNICAL DATA # This software product contains export-restricted data whose # export/transfer/disclosure is restricted by U.S. law. Dissemination # to n...
43.42616
133
0.560047
927
10,292
6.130529
0.380798
0.019356
0.029914
0.01003
0.054197
0.025339
0
0
0
0
0
0.009211
0.303828
10,292
236
134
43.610169
0.78395
0.199961
0
0.076389
0
0
0.133393
0
0
0
0
0.004237
0
0
null
null
0
0.097222
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
49e9beccd3d6737f64e30ce718b8535d0fbafc14
1,005
py
Python
portafolio/core/views.py
MelisaCarmona/django-developers-castle
b72693748ee14236047dc3d43525699e41c44ec6
[ "bzip2-1.0.6" ]
null
null
null
portafolio/core/views.py
MelisaCarmona/django-developers-castle
b72693748ee14236047dc3d43525699e41c44ec6
[ "bzip2-1.0.6" ]
null
null
null
portafolio/core/views.py
MelisaCarmona/django-developers-castle
b72693748ee14236047dc3d43525699e41c44ec6
[ "bzip2-1.0.6" ]
null
null
null
from django.shortcuts import render,HttpResponse, redirect #archivo url para redireccionar from django.urls import reverse #se carga el formulario from .forms import ContactForm # Create your views here. vista de index def indexcore(request): #Se instancia el formulario de contacto FormContact =ContactForm() #se...
32.419355
79
0.744279
137
1,005
5.459854
0.50365
0.073529
0.074866
0.061497
0
0
0
0
0
0
0
0
0.146269
1,005
30
80
33.5
0.871795
0.356219
0
0
0
0
0.125196
0
0
0
0
0.033333
0
1
0.125
false
0
0.1875
0.0625
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
49eb838f4d8f78c395a9a1a38672c6ee6cdf6588
1,425
py
Python
socorepo/locators/pypi/__init__.py
LoadingByte/socorepo
c0880d3ad55c9d8f8aab53f5cc16600661c10c2b
[ "MIT" ]
null
null
null
socorepo/locators/pypi/__init__.py
LoadingByte/socorepo
c0880d3ad55c9d8f8aab53f5cc16600661c10c2b
[ "MIT" ]
null
null
null
socorepo/locators/pypi/__init__.py
LoadingByte/socorepo
c0880d3ad55c9d8f8aab53f5cc16600661c10c2b
[ "MIT" ]
null
null
null
from dataclasses import dataclass from typing import Union, List, Dict from urllib.parse import urljoin from markupsafe import Markup from socorepo.config import TomlDict from socorepo.l10n import _ from socorepo.locators.helpers import ensure_trailing_slash from socorepo.structs import Locator, ComponentPrototype, C...
37.5
108
0.708772
172
1,425
5.674419
0.354651
0.04918
0.061475
0.036885
0.059426
0
0
0
0
0
0
0.001711
0.179649
1,425
37
109
38.513514
0.833191
0.017544
0
0
0
0
0.165951
0.08083
0
0
0
0
0
1
0.107143
false
0
0.321429
0.035714
0.678571
0
0
0
0
null
0
0
0
0
0
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
49ed7463c57addbe162b505bcd582136141f0380
864
py
Python
src/utilities/kml2pykml.py
tylere/pykml
7bf164bb0eb9530ed5534f9e6e5c034fee2d7e3a
[ "BSD-3-Clause" ]
5
2017-01-01T16:34:40.000Z
2020-06-28T06:05:48.000Z
src/utilities/kml2pykml.py
tylere/pykml
7bf164bb0eb9530ed5534f9e6e5c034fee2d7e3a
[ "BSD-3-Clause" ]
5
2016-02-12T05:48:55.000Z
2019-10-25T21:34:47.000Z
src/utilities/kml2pykml.py
tylere/pykml
7bf164bb0eb9530ed5534f9e6e5c034fee2d7e3a
[ "BSD-3-Clause" ]
10
2017-06-02T19:49:54.000Z
2020-06-28T06:04:33.000Z
#!/usr/bin/python import sys import getopt from pykml.parser import parse from pykml.parser import Schema from pykml.factory import write_python_script_for_kml_document class Usage(Exception): def __init__(self, msg): self.msg = msg def main(argv=None): if argv is None: argv = sys.argv try...
25.411765
63
0.612269
115
864
4.408696
0.478261
0.053254
0.059172
0.08284
0.122288
0.122288
0
0
0
0
0
0.008026
0.278935
864
33
64
26.181818
0.805778
0.030093
0
0.074074
0
0
0.051435
0
0
0
0
0
0
0
null
null
0
0.185185
null
null
0.037037
0
0
0
null
0
0
0
0
0
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
49edc0212ddd285952e529747d5175a4406913ce
421
py
Python
website/migrations/0019_rule_internal.py
hackerspace-ntnu/website
0c296cb39759778aaf0c296027345a658414b397
[ "MIT" ]
25
2016-04-13T20:25:37.000Z
2021-11-26T14:41:00.000Z
website/migrations/0019_rule_internal.py
hackerspace-ntnu/website
0c296cb39759778aaf0c296027345a658414b397
[ "MIT" ]
358
2016-02-20T21:13:27.000Z
2022-03-31T20:06:03.000Z
website/migrations/0019_rule_internal.py
hackerspace-ntnu/website
0c296cb39759778aaf0c296027345a658414b397
[ "MIT" ]
7
2016-04-18T14:03:15.000Z
2022-02-04T14:19:47.000Z
# Generated by Django 3.0.2 on 2021-04-13 18:38 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('website', '0018_remove_rule_description'), ] operations = [ migrations.AddField( model_name='rule', name='internal',...
22.157895
82
0.617577
45
421
5.666667
0.822222
0
0
0
0
0
0
0
0
0
0
0.061688
0.268409
421
18
83
23.388889
0.766234
0.106888
0
0
1
0
0.157754
0.074866
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
49f449de42f36f25579e894e35f9254aa95502ce
1,719
py
Python
third_party/closure_linter/closure_linter/error_fixer_test.py
kjthegod/chromium
cf940f7f418436b77e15b1ea23e6fa100ca1c91a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
8
2016-02-08T11:59:31.000Z
2020-05-31T15:19:54.000Z
third_party/closure_linter/closure_linter/error_fixer_test.py
kjthegod/chromium
cf940f7f418436b77e15b1ea23e6fa100ca1c91a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
3
2017-07-09T16:49:04.000Z
2018-02-13T18:07:31.000Z
third_party/closure_linter/closure_linter/error_fixer_test.py
kjthegod/chromium
cf940f7f418436b77e15b1ea23e6fa100ca1c91a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
7
2016-02-09T09:28:14.000Z
2020-07-25T19:03:36.000Z
#!/usr/bin/env python # # Copyright 2012 The Closure Linter Authors. All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # #...
29.637931
74
0.76498
236
1,719
5.372881
0.491525
0.086751
0.077287
0.059937
0.233438
0.233438
0.189274
0.094637
0.094637
0.094637
0
0.006817
0.146597
1,719
57
75
30.157895
0.857532
0.427574
0
0.173913
0
0
0.04071
0
0
0
0
0
0.086957
1
0.130435
false
0.086957
0.130435
0
0.304348
0
0
0
0
null
0
0
0
0
0
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
b7043e065351f95fd09751691c184cff4615d19f
1,143
py
Python
deduplicate_people.py
MMHK/mixpanel-profile-cleanup
b6892634b6cb920caf898a443efc91f9cc38e172
[ "Apache-2.0" ]
null
null
null
deduplicate_people.py
MMHK/mixpanel-profile-cleanup
b6892634b6cb920caf898a443efc91f9cc38e172
[ "Apache-2.0" ]
null
null
null
deduplicate_people.py
MMHK/mixpanel-profile-cleanup
b6892634b6cb920caf898a443efc91f9cc38e172
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python from mixpanel_api import Mixpanel import json, sys, getopt projects = [] def parseOpt(): try: opts, args = getopt.getopt(sys.argv[1:],"hc:",["help","config="]) except getopt.GetoptError: print 'deduplicate_people.py -c <config.json>' sys.exit(2) for opt_name,opt_...
33.617647
108
0.579178
138
1,143
4.637681
0.5
0.032813
0.06875
0.075
0.13125
0.13125
0.13125
0.13125
0.13125
0
0
0.011442
0.235346
1,143
33
109
34.636364
0.720824
0.100612
0
0
0
0
0.207602
0.040936
0
0
0
0
0
0
null
null
0
0.076923
null
null
0.192308
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
b705608667390f98d78bf21497b86407140ebde8
7,237
py
Python
Results/treePlot/TreeSearchPlot.py
KristofferLM96/TsetlinMachine-GO
926091fc70042abe5a67230932398bdab2c46328
[ "MIT" ]
2
2020-02-27T16:22:08.000Z
2020-03-22T11:04:35.000Z
Results/treePlot/TreeSearchPlot.py
KristofferLM96/TsetlinMachine-GO
926091fc70042abe5a67230932398bdab2c46328
[ "MIT" ]
null
null
null
Results/treePlot/TreeSearchPlot.py
KristofferLM96/TsetlinMachine-GO
926091fc70042abe5a67230932398bdab2c46328
[ "MIT" ]
null
null
null
from matplotlib import pyplot from statistics import stdev, mean import os import glob path = 'input/' XLABEL = "moves" YLABEL = "accuracy" OFFSET = 0 CI = True showT1 = [0, 1, 3, 5,7] # showing 4 epochs + average of last 10 epochs. # table caption .. Caption = "" label = "OutputFileName" # table label parsing = "Outc...
44.398773
133
0.513887
873
7,237
4.256586
0.16953
0.123789
0.214747
0.145318
0.587729
0.580194
0.536868
0.483585
0.444026
0.375135
0
0.030766
0.285892
7,237
162
134
44.67284
0.688274
0.030952
0
0.154362
0
0
0.19183
0.085416
0
0
0
0
0
1
0
false
0
0.026846
0
0.026846
0.013423
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
b70ac135bf8264bfe689c55f34922d8aaab28d4b
2,855
py
Python
venv/Lib/site-packages/IPython/utils/shimmodule.py
ajayiagbebaku/NFL-Model
afcc67a85ca7138c58c3334d45988ada2da158ed
[ "MIT" ]
6,989
2017-07-18T06:23:18.000Z
2022-03-31T15:58:36.000Z
venv/Lib/site-packages/IPython/utils/shimmodule.py
ajayiagbebaku/NFL-Model
afcc67a85ca7138c58c3334d45988ada2da158ed
[ "MIT" ]
1,978
2017-07-18T09:17:58.000Z
2022-03-31T14:28:43.000Z
venv/Lib/site-packages/IPython/utils/shimmodule.py
ajayiagbebaku/NFL-Model
afcc67a85ca7138c58c3334d45988ada2da158ed
[ "MIT" ]
1,228
2017-07-18T09:03:13.000Z
2022-03-29T05:57:40.000Z
"""A shim module for deprecated imports """ # Copyright (c) IPython Development Team. # Distributed under the terms of the Modified BSD License. import sys import types from importlib import import_module from .importstring import import_item class ShimWarning(Warning): """A warning to show when a module has mo...
30.052632
80
0.596848
336
2,855
4.842262
0.348214
0.061463
0.025814
0.040565
0.067609
0.039336
0
0
0
0
0
0.001012
0.307881
2,855
94
81
30.37234
0.822368
0.238879
0
0.237288
0
0
0.009953
0
0
0
0
0
0
1
0.169492
false
0
0.237288
0.033898
0.644068
0
0
0
0
null
0
0
0
0
0
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
b70d22d9bb8b413933a5fd83f06047588a7e856c
2,354
py
Python
src/main/resources/trustmanager/all_truster.py
xebialabs-external/compuware-xlr-ispw-plugin
a4d64d6d4b3c64f8974cff4706d860f6cc33bb8f
[ "MIT" ]
null
null
null
src/main/resources/trustmanager/all_truster.py
xebialabs-external/compuware-xlr-ispw-plugin
a4d64d6d4b3c64f8974cff4706d860f6cc33bb8f
[ "MIT" ]
7
2017-06-13T15:16:41.000Z
2018-08-13T05:29:46.000Z
src/main/resources/trustmanager/all_truster.py
xebialabs-external/compuware-xlr-ispw-plugin
a4d64d6d4b3c64f8974cff4706d860f6cc33bb8f
[ "MIT" ]
2
2018-04-12T18:40:32.000Z
2018-11-01T15:13:24.000Z
# # Copyright 2021 XEBIALABS # # 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, modify, merge, publish, distribute, subli...
52.311111
462
0.741716
309
2,354
5.585761
0.501618
0.050985
0.052144
0.019699
0.023175
0
0
0
0
0
0
0.008511
0.201359
2,354
44
463
53.5
0.909574
0.505947
0
0.12
0
0
0.155594
0
0
0
0
0
0
1
0.2
false
0.12
0.12
0.04
0.48
0.12
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
b718a898043d8d933f9488db5878690ae27f007a
3,663
py
Python
kawasaki_driver/src/kawasaki_driver/parsers.py
HaooWang/dual_arm_robot_project_ROS
3bafb462ef4a0386fa7460ac632eb2b9357f23c4
[ "BSD-3-Clause" ]
1
2021-11-17T02:13:36.000Z
2021-11-17T02:13:36.000Z
kawasaki_driver/src/kawasaki_driver/parsers.py
HaooWang/dual_arm_robot_project_ROS
3bafb462ef4a0386fa7460ac632eb2b9357f23c4
[ "BSD-3-Clause" ]
null
null
null
kawasaki_driver/src/kawasaki_driver/parsers.py
HaooWang/dual_arm_robot_project_ROS
3bafb462ef4a0386fa7460ac632eb2b9357f23c4
[ "BSD-3-Clause" ]
null
null
null
import math import time import rospy import tf from sensor_msgs.msg import JointState from geometry_msgs.msg import PoseStamped from std_msgs.msg import Header from constants import const def state_message_parser(message): split_msg = message.split('\r\n') if (len(split_msg) < const.STATE_MSG_PARSED_SIZE): ...
35.221154
79
0.696697
489
3,663
4.912065
0.224949
0.109908
0.079933
0.058285
0.249376
0.124063
0.073272
0.073272
0.040799
0.040799
0
0.012056
0.20748
3,663
103
80
35.563107
0.815363
0
0
0.047619
0
0
0.024297
0
0
0
0
0
0
0
null
null
0
0.095238
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
b71a1983ad73ec321543fbe0e6792727407539d5
9,542
py
Python
python/enaGroupGet.py
rpolicastro/enaBrowserTools
c7ad69a33e493d4b449d7729760530a744c3fc55
[ "Apache-2.0" ]
null
null
null
python/enaGroupGet.py
rpolicastro/enaBrowserTools
c7ad69a33e493d4b449d7729760530a744c3fc55
[ "Apache-2.0" ]
null
null
null
python/enaGroupGet.py
rpolicastro/enaBrowserTools
c7ad69a33e493d4b449d7729760530a744c3fc55
[ "Apache-2.0" ]
null
null
null
# # enaGroupGet.py # # # Copyright 2017 EMBL-EBI, Hinxton outstation # # 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 ap...
48.933333
147
0.673758
1,223
9,542
5.07686
0.210957
0.034788
0.035593
0.021421
0.347399
0.295217
0.252859
0.224835
0.224835
0.198744
0
0.002456
0.231817
9,542
194
148
49.185567
0.844611
0.073884
0
0.166667
0
0.00641
0.250822
0
0
0
0
0
0
0
null
null
0
0.051282
null
null
0.044872
0
0
0
null
0
0
0
0
0
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
b71fd41a71c39657343b3417ff601222fa4b6495
7,870
py
Python
pomidor/PomidorWindow.py
dkotrada/pomidor_time_manager
a0ac79c1b209a5c3ca4f6364b86a5c7e5d2a1730
[ "MIT" ]
1
2018-04-28T16:29:56.000Z
2018-04-28T16:29:56.000Z
pomidor/PomidorWindow.py
dkotrada/pomidor_time_manager
a0ac79c1b209a5c3ca4f6364b86a5c7e5d2a1730
[ "MIT" ]
null
null
null
pomidor/PomidorWindow.py
dkotrada/pomidor_time_manager
a0ac79c1b209a5c3ca4f6364b86a5c7e5d2a1730
[ "MIT" ]
null
null
null
# -*- Mode: Python; coding: utf-8; indent-tabs-mode: nil; tab-width: 4 -*- ### BEGIN LICENSE ''' # Copyright (C) <2013> <Dieter Konrad https://launchpad.net/~dkotrada> # Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to...
38.203883
462
0.650445
967
7,870
5.155119
0.328852
0.024273
0.028686
0.024072
0.21344
0.181745
0.154062
0.126981
0.126981
0.104915
0
0.011805
0.257306
7,870
205
463
38.390244
0.841061
0.094663
0
0.185484
0
0
0.082092
0.013475
0
0
0
0
0
0
null
null
0.016129
0.064516
null
null
0.016129
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
b7216ba3288c5517b89c8755d381cf2d249f07de
322
py
Python
pysm3/tests/test_read_map.py
LBJ-Wade/pysm
cec3de6e9bee8d24d9369f6f3f2bae36610e1a89
[ "BSD-3-Clause" ]
12
2021-08-04T08:34:08.000Z
2022-03-23T16:43:07.000Z
pysm3/tests/test_read_map.py
LBJ-Wade/pysm
cec3de6e9bee8d24d9369f6f3f2bae36610e1a89
[ "BSD-3-Clause" ]
61
2018-12-12T04:01:10.000Z
2021-07-15T14:31:23.000Z
pysm3/tests/test_read_map.py
LBJ-Wade/pysm
cec3de6e9bee8d24d9369f6f3f2bae36610e1a89
[ "BSD-3-Clause" ]
14
2018-12-13T06:08:08.000Z
2021-06-30T15:40:34.000Z
import pysm3 import pysm3.units as u def test_read_map_unit(): m = pysm3.read_map("pysm_2/dust_temp.fits", nside=8, field=0, unit="uK_RJ") assert u.Unit("uK_RJ") == m.unit def test_read_map_unit_dimensionless(): m = pysm3.read_map("pysm_2/dust_temp.fits", nside=8, field=0) assert u.Unit("") == m.uni...
24.769231
79
0.689441
59
322
3.508475
0.40678
0.135266
0.10628
0.135266
0.57971
0.405797
0.405797
0.405797
0.405797
0.405797
0
0.03663
0.152174
322
12
80
26.833333
0.721612
0
0
0
0
0
0.161491
0.130435
0
0
0
0
0.25
1
0.25
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
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
b7239389b35045cadfab120bd72bdeca7b167869
1,314
py
Python
helita/utils/shell.py
M1kol4j/helita
3babcbe592d1cfb640127751e133b2f7a1d3b895
[ "BSD-3-Clause" ]
null
null
null
helita/utils/shell.py
M1kol4j/helita
3babcbe592d1cfb640127751e133b2f7a1d3b895
[ "BSD-3-Clause" ]
null
null
null
helita/utils/shell.py
M1kol4j/helita
3babcbe592d1cfb640127751e133b2f7a1d3b895
[ "BSD-3-Clause" ]
null
null
null
""" tools to deal with I/O on the shell """ import sys def progressbar(i, m): ''' Draws a progress bar with = signs and percentage. IN: i (step of the loop), m (max of the loop).''' sys.stdout.write('\r') sys.stdout.write("[%-30s] %d%%" % ('=' * int(round(i * 30. / m)), 100. *...
21.9
67
0.550989
160
1,314
4.3375
0.4875
0.051873
0.060519
0.0317
0
0
0
0
0
0
0
0.009122
0.332572
1,314
59
68
22.271186
0.782212
0.172755
0
0.394737
0
0
0.016315
0
0
0
0
0
0
1
0.184211
false
0
0.236842
0.026316
0.578947
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
b72685f24483fe42f17abec8b260ff788e73193b
3,657
py
Python
src/tests/api/test_api_user.py
aopdal/evengsdk
ebbd28fce594912fb9a6d3a0e2ef5ae0f2a91604
[ "MIT" ]
null
null
null
src/tests/api/test_api_user.py
aopdal/evengsdk
ebbd28fce594912fb9a6d3a0e2ef5ae0f2a91604
[ "MIT" ]
null
null
null
src/tests/api/test_api_user.py
aopdal/evengsdk
ebbd28fce594912fb9a6d3a0e2ef5ae0f2a91604
[ "MIT" ]
null
null
null
import pytest from evengsdk.exceptions import EvengHTTPError USERS = { "to_create": [("tester1", "test1_pass"), ("tester2", "test2_pass")], "non_existing": "fake_user99", } class TestEvengApiUser: def test_list_users(self, authenticated_client): """ Verify that we can retrieve list of u...
33.861111
73
0.616352
425
3,657
5.105882
0.242353
0.192627
0.121659
0.120277
0.501382
0.413825
0.335023
0.208295
0.047926
0.047926
0
0.003826
0.285206
3,657
107
74
34.17757
0.82632
0.181843
0
0.196078
0
0
0.109231
0
0
0
0
0
0.137255
1
0.196078
false
0.098039
0.039216
0
0.254902
0
0
0
0
null
0
0
0
0
0
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
b729aa86650c8e2cd6d833313c3b1ce767db3bf0
489
py
Python
cmsplugin_cascade/migrations/0021_cascadepage_verbose_name.py
aDENTinTIME/djangocms-cascade
c38c1c5ad052dbe233b50fb833ad8e9a919014f2
[ "MIT" ]
null
null
null
cmsplugin_cascade/migrations/0021_cascadepage_verbose_name.py
aDENTinTIME/djangocms-cascade
c38c1c5ad052dbe233b50fb833ad8e9a919014f2
[ "MIT" ]
null
null
null
cmsplugin_cascade/migrations/0021_cascadepage_verbose_name.py
aDENTinTIME/djangocms-cascade
c38c1c5ad052dbe233b50fb833ad8e9a919014f2
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11.15 on 2018-10-26 12:22 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('cmsplugin_cascade', '0020_page_icon_font'), ] operations = [ migrations.AlterModel...
24.45
110
0.652352
53
489
5.792453
0.735849
0.071661
0.123779
0
0
0
0
0
0
0
0
0.058511
0.231084
489
19
111
25.736842
0.757979
0.141104
0
0
1
0
0.28777
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.416667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
b72acbcab0aaaff088ad8eaa262234aa3be489ee
1,025
py
Python
ecl/tests/unit/connectivity/test_version.py
keiichi-hikita/eclsdk
c43afb982fd54eb1875cdc22d46044644d804c4a
[ "Apache-2.0" ]
5
2017-04-07T06:23:04.000Z
2019-11-19T00:52:34.000Z
ecl/tests/unit/connectivity/test_version.py
keiichi-hikita/eclsdk
c43afb982fd54eb1875cdc22d46044644d804c4a
[ "Apache-2.0" ]
16
2018-09-12T11:14:40.000Z
2021-04-19T09:02:44.000Z
ecl/tests/unit/connectivity/test_version.py
keiichi-hikita/eclsdk
c43afb982fd54eb1875cdc22d46044644d804c4a
[ "Apache-2.0" ]
14
2017-05-11T14:26:26.000Z
2021-07-14T14:00:06.000Z
# -*- coding: utf-8 -*- import testtools from ecl.connectivity import version IDENTIFIER = 'IDENTIFIER' EXAMPLE = { 'id': IDENTIFIER, 'links': '2', 'status': '3', 'updated': '4', } class TestVersion(testtools.TestCase): def test_basic(self): sot = version.Version() self.assertE...
28.472222
71
0.656585
114
1,025
5.798246
0.403509
0.181543
0.108926
0.139183
0
0
0
0
0
0
0
0.004908
0.204878
1,025
35
72
29.285714
0.806135
0.020488
0
0
0
0
0.085828
0
0
0
0
0
0.481481
1
0.074074
false
0
0.074074
0
0.185185
0
0
0
0
null
0
0
0
0
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
b72ad2056734dd8a7c66e2764908d1dc21d10b1a
2,609
py
Python
mw4/logic/cover/coverAlpaca.py
mworion/MountWizzard4
4e06b29ec2ef70be40e114b911b7bdf2f858a4b1
[ "Apache-2.0" ]
16
2020-01-11T22:32:26.000Z
2022-03-31T15:18:14.000Z
mw4/logic/cover/coverAlpaca.py
mworion/MountWizzard4
4e06b29ec2ef70be40e114b911b7bdf2f858a4b1
[ "Apache-2.0" ]
196
2020-01-16T13:56:01.000Z
2022-03-29T02:06:51.000Z
mw4/logic/cover/coverAlpaca.py
mworion/MountWizzard4
4e06b29ec2ef70be40e114b911b7bdf2f858a4b1
[ "Apache-2.0" ]
6
2019-12-01T19:39:33.000Z
2021-05-27T13:14:20.000Z
############################################################ # -*- coding: utf-8 -*- # # # # # # # # # ## ## # ## # # # # # # # # # # # # # # # ## # ## ## ###### # # # # # # # # # Python-based Tool for interaction with the 10micron mounts # GUI with PyQT5 fo...
23.504505
79
0.518973
216
2,609
6.212963
0.384259
0.081967
0.046945
0.125186
0.350969
0.350969
0.304024
0.304024
0.187779
0.187779
0
0.008532
0.326179
2,609
110
80
23.718182
0.754835
0.183595
0
0.456522
0
0
0.082533
0
0
0
0
0
0
1
0.173913
false
0
0.021739
0
0.543478
0
0
0
0
null
0
0
0
0
0
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
b72c7e1a69e8baec4aaa64dc950efb002511ab46
6,509
py
Python
toscaparser/tests/test_topology_template.py
santhoshkmr64/santhosh
1784a6928acb3fb995f479088d26a98ba253757f
[ "Apache-2.0" ]
null
null
null
toscaparser/tests/test_topology_template.py
santhoshkmr64/santhosh
1784a6928acb3fb995f479088d26a98ba253757f
[ "Apache-2.0" ]
null
null
null
toscaparser/tests/test_topology_template.py
santhoshkmr64/santhosh
1784a6928acb3fb995f479088d26a98ba253757f
[ "Apache-2.0" ]
null
null
null
# Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # d...
40.428571
79
0.581349
709
6,509
5.149506
0.272214
0.078061
0.044098
0.013147
0.170912
0.170912
0.117228
0.079978
0.079978
0.079978
0
0.002925
0.317099
6,509
160
80
40.68125
0.818448
0.097711
0
0.175439
0
0
0.09238
0.017793
0
0
0
0.0125
0.184211
1
0.078947
false
0
0.061404
0
0.166667
0
0
0
0
null
0
0
0
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
b72ee58b6af985180a24af9a02ee0e98ca3d61e9
563
py
Python
python/004.py
Evergreen200/projecteuler
b41358bf577a82adbac08352c6acbb0b92f56eae
[ "MIT" ]
null
null
null
python/004.py
Evergreen200/projecteuler
b41358bf577a82adbac08352c6acbb0b92f56eae
[ "MIT" ]
null
null
null
python/004.py
Evergreen200/projecteuler
b41358bf577a82adbac08352c6acbb0b92f56eae
[ "MIT" ]
null
null
null
def is_palindrome(n: int) -> bool: s = str(n) h = int(len(s) / 2) s1 = s[:h] s2 = s[h:][::-1] is_palindrome = True for i in range(h): if s1[i] != s2[i]: is_palindrome = False return is_palindrome def solution() -> int: largest_palindrome = 0 for i in range(100, ...
23.458333
59
0.541741
80
563
3.6
0.4
0.208333
0.090278
0.076389
0
0
0
0
0
0
0
0.056
0.333925
563
23
60
24.478261
0.712
0
0
0
0
0
0.01421
0
0
0
0
0
0
1
0.1
false
0
0
0
0.2
0.05
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
b7381ef97d28c5f556d3aca07e0f50f68e90491d
864
py
Python
boadata/data/parquet_types.py
janpipek/boadata
3da00de9e014b764d40040c0db89aaaebc87fa18
[ "MIT" ]
2
2016-04-22T06:27:04.000Z
2017-12-04T18:50:28.000Z
boadata/data/parquet_types.py
janpipek/boadata
3da00de9e014b764d40040c0db89aaaebc87fa18
[ "MIT" ]
18
2015-03-19T10:24:04.000Z
2017-02-22T17:12:21.000Z
boadata/data/parquet_types.py
janpipek/boadata
3da00de9e014b764d40040c0db89aaaebc87fa18
[ "MIT" ]
null
null
null
import warnings from typing import Optional import pandas as pd from boadata.core import DataObject from boadata.core.data_conversion import ChainConversion, IdentityConversion from .pandas_types import PandasDataFrameBase @DataObject.register_type() @IdentityConversion.enable_to("pandas_data_frame") @ChainConversi...
33.230769
89
0.725694
102
864
5.990196
0.480392
0.036007
0.0491
0.03928
0
0
0
0
0
0
0
0.004155
0.164352
864
26
90
33.230769
0.842105
0
0
0.1
0
0
0.101734
0
0
0
0
0
0
1
0.1
false
0
0.3
0.05
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
3f7dec54dbed99a5cfbd03a566c9940ec2118241
7,355
py
Python
robot_algorithm_tests.py
lukedawilson/ld37
7b935aea5d3afe300eebb760cdc95212dca97351
[ "Unlicense" ]
1
2019-03-02T03:31:23.000Z
2019-03-02T03:31:23.000Z
robot_algorithm_tests.py
lukedawilson/ld37
7b935aea5d3afe300eebb760cdc95212dca97351
[ "Unlicense" ]
1
2018-07-09T09:02:06.000Z
2018-07-09T09:02:06.000Z
robot_algorithm_tests.py
lukedawilson/ld37
7b935aea5d3afe300eebb760cdc95212dca97351
[ "Unlicense" ]
null
null
null
from robot_algorithm import RobotAlgorithm, RobotRuntimeException import inspect class Sprite: def __init__(self, left = False, right = False, front = False): self.left = left self.right = right self.front = front self.commands = [] def get_commands(self): retur...
19.824798
157
0.520462
934
7,355
3.920771
0.117773
0.0213
0.057346
0.107045
0.65456
0.615238
0.532223
0.492081
0.463408
0.421354
0
0.033114
0.359483
7,355
371
158
19.824798
0.744216
0.031543
0
0.679715
0
0
0.223836
0.00536
0
0
0
0
0.053381
0
null
null
0.010676
0.007117
null
null
0.007117
0
0
0
null
0
0
0
0
0
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
3f7f6216466fa3ce3305970c4f5b283bae992ecf
1,341
py
Python
src/azure-cli/azure/cli/command_modules/eventhubs/_completers.py
YuanyuanNi/azure-cli
63844964374858bfacd209bfe1b69eb456bd64ca
[ "MIT" ]
3,287
2016-07-26T17:34:33.000Z
2022-03-31T09:52:13.000Z
src/azure-cli/azure/cli/command_modules/eventhubs/_completers.py
YuanyuanNi/azure-cli
63844964374858bfacd209bfe1b69eb456bd64ca
[ "MIT" ]
19,206
2016-07-26T07:04:42.000Z
2022-03-31T23:57:09.000Z
src/azure-cli/azure/cli/command_modules/eventhubs/_completers.py
YuanyuanNi/azure-cli
63844964374858bfacd209bfe1b69eb456bd64ca
[ "MIT" ]
2,575
2016-07-26T06:44:40.000Z
2022-03-31T22:56:06.000Z
# -------------------------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # --------------------------------------------------------------------...
46.241379
131
0.699478
160
1,341
5.525
0.3875
0.132353
0.115385
0.176471
0.582579
0.498869
0.459276
0.459276
0.325792
0.325792
0
0
0.106637
1,341
28
132
47.892857
0.737896
0.325876
0
0.375
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0.1875
0
0.4375
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3f86b8a8babb7f9742a73b2fd6acfb9817dba3c1
400
py
Python
movies_lib/migrations/0007_movieitem_poster.py
Smilejarik/movies-rest
2cc7fb794c6cbb5bd52121b5e905bc8e8445655a
[ "Apache-2.0" ]
null
null
null
movies_lib/migrations/0007_movieitem_poster.py
Smilejarik/movies-rest
2cc7fb794c6cbb5bd52121b5e905bc8e8445655a
[ "Apache-2.0" ]
8
2020-04-07T18:36:36.000Z
2021-09-22T18:51:12.000Z
movies_lib/migrations/0007_movieitem_poster.py
Smilejarik/movies-rest
2cc7fb794c6cbb5bd52121b5e905bc8e8445655a
[ "Apache-2.0" ]
null
null
null
# Generated by Django 2.2.5 on 2020-04-07 15:14 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('movies_lib', '0006_auto_20200405_1714'), ] operations = [ migrations.AddField( model_name='movieitem', name='poster'...
21.052632
60
0.605
43
400
5.511628
0.837209
0
0
0
0
0
0
0
0
0
0
0.107639
0.28
400
18
61
22.222222
0.715278
0.1125
0
0
1
0
0.172805
0.065156
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3f86f25cf486a7f61d8f5ae78d8e0384e29e1ef3
2,514
py
Python
classificacao/pre_processamento_census.py
ldynczuki/ml-python-curso
6988568fe2283a057957830345b5323d05cf7de5
[ "MIT" ]
null
null
null
classificacao/pre_processamento_census.py
ldynczuki/ml-python-curso
6988568fe2283a057957830345b5323d05cf7de5
[ "MIT" ]
null
null
null
classificacao/pre_processamento_census.py
ldynczuki/ml-python-curso
6988568fe2283a057957830345b5323d05cf7de5
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Tue Dec 17 22:48:40 2019 @author: lucas """ import pandas as pd from sklearn.preprocessing import LabelEncoder, OneHotEncoder from sklearn.compose import ColumnTransformer from sklearn.preprocessing import StandardScaler base = pd.read_csv('census.csv') p...
45.709091
79
0.779236
342
2,514
5.707602
0.502924
0.038422
0.061475
0.069672
0.064549
0
0
0
0
0
0
0.017824
0.151949
2,514
54
80
46.555556
0.897749
0.692522
0
0
0
0
0.036486
0
0
0
0
0
0
1
0
false
0.066667
0.266667
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
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
3f8b5a2415ba48bcd58a0419c56b442dda2890d7
2,702
py
Python
hub.py
leonnnn/xmpp-crowd
f7a8d955643157132922e13fa44ff7d1888b47be
[ "MIT" ]
null
null
null
hub.py
leonnnn/xmpp-crowd
f7a8d955643157132922e13fa44ff7d1888b47be
[ "MIT" ]
null
null
null
hub.py
leonnnn/xmpp-crowd
f7a8d955643157132922e13fa44ff7d1888b47be
[ "MIT" ]
null
null
null
from sleekxmpp import ClientXMPP import logging logger = logging.getLogger(__name__) class HubBot(ClientXMPP): HUB = "hub.sotecware.net" SWITCH = "switch.hub.sotecware.net" FEED = "feed.hub.sotecware.net" def __init__(self, localpart, resource, password): jid = "{0}@{1}".format(localpart, sel...
30.704545
85
0.627683
309
2,702
5.326861
0.317152
0.032807
0.029162
0.046173
0.031592
0
0
0
0
0
0
0.01382
0.250185
2,702
87
86
31.057471
0.798618
0.015174
0
0.075758
0
0
0.085811
0.017313
0
0
0
0
0
1
0.181818
false
0.075758
0.030303
0.015152
0.30303
0
0
0
0
null
0
0
0
0
0
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