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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a2a8d4fd3c0dd1f8242976a7611640c0fdfe426d | 384 | py | Python | src/clikit/api/event/config_event.py | finswimmer/clikit | 206198eb60d53c5daefa715f8a93e1fe85ffcf7e | [
"MIT"
] | 1 | 2020-08-07T16:09:57.000Z | 2020-08-07T16:09:57.000Z | src/clikit/api/event/config_event.py | finswimmer/clikit | 206198eb60d53c5daefa715f8a93e1fe85ffcf7e | [
"MIT"
] | null | null | null | src/clikit/api/event/config_event.py | finswimmer/clikit | 206198eb60d53c5daefa715f8a93e1fe85ffcf7e | [
"MIT"
] | 1 | 2020-01-08T18:44:26.000Z | 2020-01-08T18:44:26.000Z | from .event import Event
class ConfigEvent(Event):
"""
Dispatched after the configuration is built.
Use this event to add custom configuration to the application.
"""
def __init__(self, config): # type: (ApplicationConfig) -> None
self._config = config
@property
def config(self... | 22.588235 | 68 | 0.658854 | 42 | 384 | 5.880952 | 0.619048 | 0.121457 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 384 | 16 | 69 | 24 | 0.857639 | 0.450521 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0.142857 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
a2bc194fe66f5e3517896db8998238946efdb004 | 139 | py | Python | amazon/__init__.py | Lakshmivijaykrishnan/mini-amazon | 89ce7c5e2af127a2e8e027c87cb245fa82d184d6 | [
"Unlicense"
] | null | null | null | amazon/__init__.py | Lakshmivijaykrishnan/mini-amazon | 89ce7c5e2af127a2e8e027c87cb245fa82d184d6 | [
"Unlicense"
] | null | null | null | amazon/__init__.py | Lakshmivijaykrishnan/mini-amazon | 89ce7c5e2af127a2e8e027c87cb245fa82d184d6 | [
"Unlicense"
] | null | null | null | from flask import Flask
app = Flask('Amazon', template_folder='./amazon/templates')
app.secret_key = 'some_secret'
from amazon import api
| 23.166667 | 59 | 0.769784 | 20 | 139 | 5.2 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115108 | 139 | 5 | 60 | 27.8 | 0.845528 | 0 | 0 | 0 | 0 | 0 | 0.251799 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
a2e62302a96458726fdc0b9b3289ff7d3dd60c03 | 2,652 | py | Python | sbl/vm/bc.py | alekratz/sbl-py | 31615a44fa9f60970bd86e1dab3c5fb453493142 | [
"Apache-2.0"
] | null | null | null | sbl/vm/bc.py | alekratz/sbl-py | 31615a44fa9f60970bd86e1dab3c5fb453493142 | [
"Apache-2.0"
] | null | null | null | sbl/vm/bc.py | alekratz/sbl-py | 31615a44fa9f60970bd86e1dab3c5fb453493142 | [
"Apache-2.0"
] | null | null | null | from sbl.vm.val import Val, ValType
from enum import *
class BCType(Enum):
# Pushes the payload item to the stack.
PUSH = 'PUSH'
# Pops an item off the stack, into an identifier (or nothing at all).
POP = 'POP'
# Pushes the top item of the global stack into the next item, which is expected to be a... | 28.516129 | 104 | 0.584842 | 375 | 2,652 | 4.093333 | 0.234667 | 0.077524 | 0.100326 | 0.083388 | 0.22671 | 0.132899 | 0.101629 | 0 | 0 | 0 | 0 | 0.001075 | 0.298265 | 2,652 | 92 | 105 | 28.826087 | 0.823751 | 0.175716 | 0 | 0.208955 | 0 | 0 | 0.078125 | 0.011949 | 0 | 0 | 0 | 0 | 0.029851 | 1 | 0.208955 | false | 0.014925 | 0.029851 | 0.149254 | 0.626866 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
0c20ff613d1eab7fc1656e43414d31fdb4ba172d | 601 | py | Python | project/empresa/forms.py | fael07/Company-Management | e91bbf7bc251edced127c8e5f6acf7bbdf38a580 | [
"MIT"
] | null | null | null | project/empresa/forms.py | fael07/Company-Management | e91bbf7bc251edced127c8e5f6acf7bbdf38a580 | [
"MIT"
] | null | null | null | project/empresa/forms.py | fael07/Company-Management | e91bbf7bc251edced127c8e5f6acf7bbdf38a580 | [
"MIT"
] | null | null | null | from django.forms import ModelForm, ValidationError
from .models import Empresa, Funcionario, Solicitacao, Image
class EmpresaForm(ModelForm):
class Meta:
exclude = 'presidente', 'funcionarios', 'link', 'despesas'
model = Empresa
class GestorForm(ModelForm):
class Meta:
exclude = 'no... | 22.259259 | 64 | 0.657238 | 57 | 601 | 6.859649 | 0.526316 | 0.143223 | 0.184143 | 0.191816 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.239601 | 601 | 26 | 65 | 23.115385 | 0.85558 | 0 | 0 | 0.333333 | 0 | 0 | 0.136439 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.111111 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
0c2e3dc02f908f62191b2213ac1dbefe2ee2e340 | 133 | py | Python | photo_sell/vars_template.py | vasilyrud/photo_sell | 9ddbc466320ecd97b451ca2971a15ff9c43404bc | [
"Apache-2.0"
] | null | null | null | photo_sell/vars_template.py | vasilyrud/photo_sell | 9ddbc466320ecd97b451ca2971a15ff9c43404bc | [
"Apache-2.0"
] | null | null | null | photo_sell/vars_template.py | vasilyrud/photo_sell | 9ddbc466320ecd97b451ca2971a15ff9c43404bc | [
"Apache-2.0"
] | null | null | null |
GOOGLE_CLIENT_SECRET=''
GOOGLE_CLIENT_ID=''
GOOGLE_DRIVE_API_KEY=''
STRIPE_CLIENT_SECRET=''
STRIPE_CLIENT_ID=''
REDIR_URI_BASE=''
| 13.3 | 23 | 0.796992 | 19 | 133 | 4.894737 | 0.578947 | 0.258065 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067669 | 133 | 9 | 24 | 14.777778 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 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 | 3 |
0c2f26823045b3ae438669b65dc7f8639aaee02b | 1,582 | py | Python | src/sima/sima/blueprints/infrastructurebody.py | SINTEF/simapy | 650b8c2f15503dad98e2bfc0d0788509593822c7 | [
"MIT"
] | null | null | null | src/sima/sima/blueprints/infrastructurebody.py | SINTEF/simapy | 650b8c2f15503dad98e2bfc0d0788509593822c7 | [
"MIT"
] | null | null | null | src/sima/sima/blueprints/infrastructurebody.py | SINTEF/simapy | 650b8c2f15503dad98e2bfc0d0788509593822c7 | [
"MIT"
] | null | null | null | #
# Generated with InfrastructureBodyBlueprint
from dmt.blueprint import Blueprint
from dmt.dimension import Dimension
from dmt.attribute import Attribute
from dmt.enum_attribute import EnumAttribute
from dmt.blueprint_attribute import BlueprintAttribute
from .body import BodyBlueprint
class InfrastructureBodyBluepri... | 60.846154 | 121 | 0.730088 | 166 | 1,582 | 6.879518 | 0.307229 | 0.14711 | 0.210158 | 0.203152 | 0.360771 | 0.197898 | 0 | 0 | 0 | 0 | 0 | 0.007779 | 0.106195 | 1,582 | 26 | 122 | 60.846154 | 0.799859 | 0.026549 | 0 | 0 | 1 | 0 | 0.201176 | 0.031352 | 0 | 0 | 0 | 0 | 0 | 1 | 0.047619 | false | 0 | 0.285714 | 0 | 0.380952 | 0.380952 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0c4f8f3a16b8e64e665da30b61a73af9854382bd | 386 | py | Python | tests/stdlib/test_thread.py | CaesarLinsa/Eventlet | 43e832b441977f0344a56d22b267dca443333960 | [
"MIT"
] | 1 | 2015-02-05T19:54:48.000Z | 2015-02-05T19:54:48.000Z | tests/stdlib/test_thread.py | CaesarLinsa/Eventlet | 43e832b441977f0344a56d22b267dca443333960 | [
"MIT"
] | null | null | null | tests/stdlib/test_thread.py | CaesarLinsa/Eventlet | 43e832b441977f0344a56d22b267dca443333960 | [
"MIT"
] | 1 | 2020-06-27T16:03:14.000Z | 2020-06-27T16:03:14.000Z | from eventlet import patcher
from eventlet.green import thread
from eventlet.green import time
# necessary to initialize the hub before running on 2.5
from eventlet import hubs
hubs.get_hub()
patcher.inject('test.test_thread',
globals(),
('time', time),
('thread', thread))
if __name__ == "__main__":
... | 21.444444 | 55 | 0.683938 | 52 | 386 | 4.865385 | 0.557692 | 0.189723 | 0.142292 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013201 | 0.215026 | 386 | 18 | 56 | 21.444444 | 0.821782 | 0.147668 | 0 | 0 | 0 | 0 | 0.103976 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.071429 | 0.285714 | 0 | 0.285714 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
a746f35a14dbe610544c873562c85e2a955fb9eb | 131 | py | Python | static/Pygeostat/plotting-33.py | MHadavand/MHadavand.github.io | b830d45ac64e393905a612e3e0bef793689d2848 | [
"MIT"
] | null | null | null | static/Pygeostat/plotting-33.py | MHadavand/MHadavand.github.io | b830d45ac64e393905a612e3e0bef793689d2848 | [
"MIT"
] | 1 | 2021-05-11T06:18:32.000Z | 2021-05-11T06:18:32.000Z | static/Pygeostat/plotting-33.py | MHadavand/MHadavand.github.io | b830d45ac64e393905a612e3e0bef793689d2848 | [
"MIT"
] | null | null | null | import pygeostat as gs
varmodeldat = gs.ExampleData('variogram_model')
gs.variogram_plot(varmodeldat, index=1, experimental=False) | 32.75 | 59 | 0.824427 | 17 | 131 | 6.235294 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008264 | 0.076336 | 131 | 4 | 59 | 32.75 | 0.867769 | 0 | 0 | 0 | 0 | 0 | 0.113636 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
a7a6700b2dce3919d5e33b14c374dd001b1bb750 | 194 | py | Python | mib/mib.py | markusmeister/travis-test | fb7dbc7576980a79dc88139f8022aa391e96474d | [
"CC0-1.0"
] | null | null | null | mib/mib.py | markusmeister/travis-test | fb7dbc7576980a79dc88139f8022aa391e96474d | [
"CC0-1.0"
] | null | null | null | mib/mib.py | markusmeister/travis-test | fb7dbc7576980a79dc88139f8022aa391e96474d | [
"CC0-1.0"
] | null | null | null | # This file is generated automatically through:
# d2lbook build lib
# Don't edit it directly
import numpy as np
from matplotlib import pyplot as plt
import sys
mib = sys.modules[__name__]
| 17.636364 | 47 | 0.762887 | 30 | 194 | 4.8 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006369 | 0.190722 | 194 | 10 | 48 | 19.4 | 0.910828 | 0.458763 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
a7a7423c6d0dc0905a3e99935b6b16792d309dcd | 582 | py | Python | twobuntu/captcha/widgets.py | muhiza/originarities | ca0a67363579e6237127386f13baa2ab7a7c2717 | [
"Apache-2.0"
] | 16 | 2015-01-12T12:25:28.000Z | 2021-06-22T03:23:44.000Z | twobuntu/captcha/widgets.py | muhiza/originarities | ca0a67363579e6237127386f13baa2ab7a7c2717 | [
"Apache-2.0"
] | 5 | 2015-01-02T01:23:40.000Z | 2015-10-22T06:11:40.000Z | twobuntu/captcha/widgets.py | muhiza/originarities | ca0a67363579e6237127386f13baa2ab7a7c2717 | [
"Apache-2.0"
] | 11 | 2015-01-27T06:23:45.000Z | 2020-05-20T11:46:12.000Z | from django import forms
from django.conf import settings
from django.template.loader import render_to_string
from django.utils.safestring import mark_safe
class CaptchaInput(forms.Widget):
"""
Widget for human verification.
"""
def render(self, name, value, attrs=None):
return mark_safe(rend... | 29.1 | 66 | 0.685567 | 74 | 582 | 5.243243 | 0.554054 | 0.103093 | 0.072165 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.202749 | 582 | 19 | 67 | 30.631579 | 0.836207 | 0.051546 | 0 | 0 | 0 | 0 | 0.115672 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0.166667 | 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 | 1 | 1 | 1 | 0 | 0 | 3 |
a7dc91d63d1bc7f58959183ff9a7b97698a42398 | 46 | py | Python | server/constants.py | S1ckret/stm32-esp8266-smart-house | 6141b7a1e3c041bf6e66a9d820c09af5103a61af | [
"MIT"
] | 2 | 2020-12-29T18:06:07.000Z | 2022-01-07T20:26:41.000Z | server/constants.py | S1ckret/stm32-esp8266-smart-house | 6141b7a1e3c041bf6e66a9d820c09af5103a61af | [
"MIT"
] | 11 | 2020-09-16T15:12:24.000Z | 2020-11-12T18:46:05.000Z | server/constants.py | LazyPride/stm32-esp12f-smart-house | 6141b7a1e3c041bf6e66a9d820c09af5103a61af | [
"MIT"
] | 1 | 2022-01-07T20:26:33.000Z | 2022-01-07T20:26:33.000Z | fileRoot = "../webpage/"
encoding = "utf-8"
| 15.333333 | 25 | 0.586957 | 5 | 46 | 5.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026316 | 0.173913 | 46 | 2 | 26 | 23 | 0.684211 | 0 | 0 | 0 | 0 | 0 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 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 | 3 |
38fc0752370b9f6e8f8e60ed2ae4777cd47b01aa | 3,310 | py | Python | genetic_sequence_tests.py | wsmith323/genetic_palindrome | 573aab38e1732f79d903b2704d4e4bf861560e65 | [
"MIT"
] | null | null | null | genetic_sequence_tests.py | wsmith323/genetic_palindrome | 573aab38e1732f79d903b2704d4e4bf861560e65 | [
"MIT"
] | null | null | null | genetic_sequence_tests.py | wsmith323/genetic_palindrome | 573aab38e1732f79d903b2704d4e4bf861560e65 | [
"MIT"
] | null | null | null | import unittest
from genetic_sequence import GeneticSequence
class GeneticSequenceTest(unittest.TestCase):
def test_invalid(self):
self.assertRaises(GeneticSequence.InvalidSequenceError, GeneticSequence, 'junk')
def test_case_insensitive(self):
self.assertEqual(GeneticSequence('atcg'), 'ATCG... | 43.552632 | 88 | 0.737764 | 325 | 3,310 | 7.326154 | 0.196923 | 0.192776 | 0.230995 | 0.239395 | 0.650147 | 0.444771 | 0.369173 | 0.368753 | 0.347753 | 0.347753 | 0 | 0.004673 | 0.159517 | 3,310 | 75 | 89 | 44.133333 | 0.851186 | 0.008459 | 0 | 0.22807 | 0 | 0 | 0.056098 | 0 | 0 | 0 | 0 | 0 | 0.614035 | 1 | 0.157895 | false | 0 | 0.035088 | 0 | 0.210526 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
38fd0e4429bfb04af08c38f94438941dadcaebc1 | 427 | py | Python | leaker/pattern/rank.py | anonleakerdev/LEAKER | bea8623021b3eb0b4fb450f2cdd1b48834d7c196 | [
"MIT"
] | null | null | null | leaker/pattern/rank.py | anonleakerdev/LEAKER | bea8623021b3eb0b4fb450f2cdd1b48834d7c196 | [
"MIT"
] | null | null | null | leaker/pattern/rank.py | anonleakerdev/LEAKER | bea8623021b3eb0b4fb450f2cdd1b48834d7c196 | [
"MIT"
] | null | null | null | from typing import Iterable, List, Tuple
from ..api import LeakagePattern, RangeDatabase
class Rank(LeakagePattern[int]):
"""
The rank leakage pattern for a given range query [x,y] leaks [a,b] such that a:=rank(x-1) and b:=rank(y)
"""
def leak(self, db: RangeDatabase, queries: Iterable[Tuple[int, int... | 35.583333 | 108 | 0.662763 | 69 | 427 | 4.072464 | 0.550725 | 0.064057 | 0.078292 | 0.071174 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011461 | 0.18267 | 427 | 11 | 109 | 38.818182 | 0.793696 | 0.24356 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0.2 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 3 |
ac04b4ea2aa41e980bc3648fac861d1ab814d8a3 | 666 | py | Python | tools/cfire/lib/cloudflare/ranges.py | jzj/Security-Research | 376a622c14d45b9ce54fd04d19eec7da3024e3f0 | [
"BSD-3-Clause"
] | 938 | 2017-04-26T10:58:35.000Z | 2022-03-30T18:22:24.000Z | tools/cfire/lib/cloudflare/ranges.py | jzj/Security-Research | 376a622c14d45b9ce54fd04d19eec7da3024e3f0 | [
"BSD-3-Clause"
] | 17 | 2017-09-07T21:53:30.000Z | 2020-08-17T10:44:17.000Z | tools/cfire/lib/cloudflare/ranges.py | jzj/Security-Research | 376a622c14d45b9ce54fd04d19eec7da3024e3f0 | [
"BSD-3-Clause"
] | 309 | 2017-04-25T16:34:16.000Z | 2022-03-30T18:22:26.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# This module will be used to store CF network ranges
#
# Rhino Security Labs //@hxmonsegur
# This list is aggregated from Cloudflare:
# IPv4: https://www.cloudflare.com/ips-v4
# IPv6: https://www.cloudflare.com/ips-v6
CF_RANGES = ['103.21.244.0/22',
'103.22.200.0/22',
'... | 20.8125 | 53 | 0.621622 | 134 | 666 | 3.08209 | 0.664179 | 0.03632 | 0.087167 | 0.101695 | 0.116223 | 0 | 0 | 0 | 0 | 0 | 0 | 0.352649 | 0.093093 | 666 | 31 | 54 | 21.483871 | 0.331126 | 0.373874 | 0 | 0 | 0 | 0 | 0.737745 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ac144d851fb76511180e3409a5229fb0f6a66acd | 439 | py | Python | cnn_models/fccd.py | li282886931/cnn | a60eaadc1e5153255774cad2a211290a0773e8f7 | [
"MIT"
] | 71 | 2017-08-18T02:08:51.000Z | 2022-02-21T11:31:07.000Z | cnn_models/fccd.py | li282886931/cnn | a60eaadc1e5153255774cad2a211290a0773e8f7 | [
"MIT"
] | 6 | 2018-02-09T11:13:19.000Z | 2020-04-10T19:58:52.000Z | cnn_models/fccd.py | li282886931/cnn | a60eaadc1e5153255774cad2a211290a0773e8f7 | [
"MIT"
] | 53 | 2017-08-17T13:59:36.000Z | 2021-12-01T02:29:26.000Z | def variables_fccd(image_width = 28, image_height = 28, num_labels = 10, image_depth = 1):
weights = tf.Variable(tf.truncated_normal([image_width * image_height*image_depth, num_labels]), tf.float32)
bias = tf.Variable(tf.zeros([num_labels]), tf.float32)
variables = { 'w': weights, 'b': bias}
return var... | 48.777778 | 112 | 0.712984 | 63 | 439 | 4.746032 | 0.444444 | 0.090301 | 0.080268 | 0.120401 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029178 | 0.14123 | 439 | 9 | 113 | 48.777778 | 0.763926 | 0 | 0 | 0 | 0 | 0 | 0.009091 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0.142857 | 0.571429 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
ac1452d10cc411893df1808f156fa1ec86b123e2 | 225 | py | Python | agent/src/Main/custom_requests.py | ekbanasolutions/aditas | 2e8291202cb6781a1a0855a1cccb86348b710b71 | [
"MIT"
] | 2 | 2019-01-03T07:42:45.000Z | 2019-03-15T09:06:12.000Z | agent/src/Main/custom_requests.py | ekbanatechnology/aditas | 2e8291202cb6781a1a0855a1cccb86348b710b71 | [
"MIT"
] | null | null | null | agent/src/Main/custom_requests.py | ekbanatechnology/aditas | 2e8291202cb6781a1a0855a1cccb86348b710b71 | [
"MIT"
] | 2 | 2019-01-21T10:34:44.000Z | 2021-07-06T08:49:41.000Z | class request:
global headers
global data
headers = ''
data = ''
def set_headers(self, *args):
request.headers = args[0]
def set_data(self, *args, **kwargs):
request.data = args[0]
| 16.071429 | 40 | 0.568889 | 27 | 225 | 4.666667 | 0.407407 | 0.095238 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012821 | 0.306667 | 225 | 13 | 41 | 17.307692 | 0.794872 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0 | 0 | 0.555556 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
ac1750b5550fb959bcaeeb4748f486a532089f9e | 11,411 | py | Python | dragonfly/db/models/fields.py | MattJMLewis/dragonfly | 1374d78acc33624e9ba1d2b3d20e7ae198fe178f | [
"MIT"
] | null | null | null | dragonfly/db/models/fields.py | MattJMLewis/dragonfly | 1374d78acc33624e9ba1d2b3d20e7ae198fe178f | [
"MIT"
] | null | null | null | dragonfly/db/models/fields.py | MattJMLewis/dragonfly | 1374d78acc33624e9ba1d2b3d20e7ae198fe178f | [
"MIT"
] | null | null | null | import abc
from dragonfly.db.table import Table
class ForeignKey:
"""
Provides a way to define foreign key relationships in a model.
Should be called in the following order:
ForeignKey('local_key').refrences('foreign_key').on('table')
"""
def __init__(self, *args):
"""
... | 23.479424 | 120 | 0.637718 | 1,361 | 11,411 | 5.01396 | 0.122704 | 0.037368 | 0.049971 | 0.069754 | 0.649766 | 0.629543 | 0.576934 | 0.576934 | 0.565504 | 0.52374 | 0 | 0 | 0.25195 | 11,411 | 485 | 121 | 23.527835 | 0.799438 | 0.15266 | 0 | 0.630081 | 0 | 0 | 0.012162 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.341463 | false | 0.012195 | 0.00813 | 0.195122 | 0.678862 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
ac1db52f28d39f76db5e5d03a7c867befe209ad5 | 357 | py | Python | styletransfer/models/util/debug.py | jaeyeun97/MusicalStyleTransfer | 0aa9e8763597bf86ff0c13ae96dee75d165c4fc2 | [
"BSD-3-Clause"
] | 1 | 2020-04-14T14:11:14.000Z | 2020-04-14T14:11:14.000Z | styletransfer/models/util/debug.py | jaeyeun97/MusicalStyleTransfer | 0aa9e8763597bf86ff0c13ae96dee75d165c4fc2 | [
"BSD-3-Clause"
] | null | null | null | styletransfer/models/util/debug.py | jaeyeun97/MusicalStyleTransfer | 0aa9e8763597bf86ff0c13ae96dee75d165c4fc2 | [
"BSD-3-Clause"
] | null | null | null | import torch.nn as nn
msg = """----------------------
Layer Name: {}
Size of Input: {}
----------------------"""
class Print(nn.Module):
def __init__(self, layer_name):
super(Print, self).__init__()
self.layer_name = layer_name
def forward(self, x):
print(msg.format(self.layer_na... | 19.833333 | 52 | 0.515406 | 43 | 357 | 4 | 0.488372 | 0.261628 | 0.226744 | 0.197674 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.238095 | 357 | 17 | 53 | 21 | 0.632353 | 0 | 0 | 0 | 0 | 0 | 0.218487 | 0.123249 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.083333 | 0 | 0.416667 | 0.083333 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ac2542eebc4dab44622cd08f2c4068d35dfff9b7 | 1,492 | py | Python | neuronpp/utils/RecordOutput.py | asiaszmek/neuronpp | 07231751ed3565edd3f657e19eea31d06f1ac1dd | [
"MIT"
] | 5 | 2020-03-05T08:03:59.000Z | 2021-01-11T11:20:33.000Z | neuronpp/utils/RecordOutput.py | asiaszmek/neuronpp | 07231751ed3565edd3f657e19eea31d06f1ac1dd | [
"MIT"
] | 11 | 2020-04-10T11:23:57.000Z | 2020-07-22T12:07:46.000Z | neuronpp/utils/RecordOutput.py | asiaszmek/neuronpp | 07231751ed3565edd3f657e19eea31d06f1ac1dd | [
"MIT"
] | 3 | 2020-02-12T21:32:56.000Z | 2020-04-14T18:59:39.000Z | import numpy as np
class RecordOutput:
def __init__(self, variable: str, records: np.array, time: np.array):
"""
:param variable:
a variable name of the records
:param records:
a numpy array contains records for the selected variable. If there were multiple sources
... | 30.44898 | 100 | 0.606568 | 197 | 1,492 | 4.522843 | 0.304569 | 0.061728 | 0.076319 | 0.042649 | 0.515152 | 0.487093 | 0.487093 | 0.487093 | 0.410774 | 0.410774 | 0 | 0 | 0.325737 | 1,492 | 48 | 101 | 31.083333 | 0.885686 | 0.461796 | 0 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.277778 | false | 0 | 0.055556 | 0.111111 | 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 | 1 | 1 | 0 | 0 | 3 |
ac35854cb904a0e0ed15101c8777c481e23a877e | 703 | py | Python | gearcatalog/gear/models.py | DeryckJackson/climbing-gear-catalog-react | c1f88334bbe9cefb1b02c99a334b900ab987e57d | [
"MIT"
] | null | null | null | gearcatalog/gear/models.py | DeryckJackson/climbing-gear-catalog-react | c1f88334bbe9cefb1b02c99a334b900ab987e57d | [
"MIT"
] | 8 | 2020-12-16T00:04:13.000Z | 2020-12-18T18:15:03.000Z | gearcatalog/gear/models.py | DeryckJackson/climbing-gear-catalog-react | c1f88334bbe9cefb1b02c99a334b900ab987e57d | [
"MIT"
] | null | null | null | from django.db import models
from django.contrib.auth.models import User
class Gear(models.Model):
"""Gear model data fields"""
name = models.CharField(max_length=128)
qty = models.IntegerField(default=0)
desc = models.CharField(max_length=500)
brand = models.CharField(max_length=128)
weight_gr... | 39.055556 | 61 | 0.726885 | 93 | 703 | 5.397849 | 0.451613 | 0.179283 | 0.183267 | 0.215139 | 0.398406 | 0.290837 | 0.221116 | 0 | 0 | 0 | 0 | 0.01692 | 0.159317 | 703 | 17 | 62 | 41.352941 | 0.832487 | 0.031294 | 0 | 0 | 0 | 0 | 0.005926 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.133333 | 0 | 0.866667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
ac43a60d207e8a292686963cc25a7f44191ec368 | 403 | py | Python | core/models/_base.py | mzrwalzy/NJUPTCats | 325dde6f48cac7dc85490935d78439d3b23a8395 | [
"MIT"
] | null | null | null | core/models/_base.py | mzrwalzy/NJUPTCats | 325dde6f48cac7dc85490935d78439d3b23a8395 | [
"MIT"
] | null | null | null | core/models/_base.py | mzrwalzy/NJUPTCats | 325dde6f48cac7dc85490935d78439d3b23a8395 | [
"MIT"
] | null | null | null | from typing import Any
from sqlalchemy.ext.declarative import as_declarative, declared_attr
@as_declarative()
class BaseModel:
id: Any
__name__: str
# Generate __tablename__ automatically
@declared_attr
def __tablename__(cls) -> str:
return cls.__name__.lower()
def to_dict(self):
... | 22.388889 | 84 | 0.704715 | 52 | 403 | 4.884615 | 0.596154 | 0.102362 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208437 | 403 | 17 | 85 | 23.705882 | 0.796238 | 0.08933 | 0 | 0 | 1 | 0 | 0.00274 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.181818 | false | 0 | 0.181818 | 0.181818 | 0.818182 | 0 | 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 | 1 | 1 | 0 | 0 | 3 |
ac4870edc90f30a6fec52e824139a80be84a6d93 | 2,104 | py | Python | gslib/tz_utc.py | MingweiChen/gsutil | a760690c1e1b3244e59bbcaa14448a72d323f658 | [
"Apache-2.0"
] | 1 | 2019-01-14T17:38:35.000Z | 2019-01-14T17:38:35.000Z | gslib/tz_utc.py | MingweiChen/gsutil | a760690c1e1b3244e59bbcaa14448a72d323f658 | [
"Apache-2.0"
] | 1 | 2019-05-07T06:22:16.000Z | 2019-05-07T07:03:24.000Z | gslib/tz_utc.py | MingweiChen/gsutil | a760690c1e1b3244e59bbcaa14448a72d323f658 | [
"Apache-2.0"
] | 1 | 2020-07-03T00:59:53.000Z | 2020-07-03T00:59:53.000Z | # -*- coding: utf-8 -*-
# Copyright 2018 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless require... | 36.275862 | 79 | 0.735741 | 316 | 2,104 | 4.882911 | 0.496835 | 0.038885 | 0.01685 | 0.020739 | 0.033701 | 0.033701 | 0 | 0 | 0 | 0 | 0 | 0.011933 | 0.203422 | 2,104 | 57 | 80 | 36.912281 | 0.908711 | 0.83365 | 0 | 0.222222 | 0 | 0 | 0.011952 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.222222 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
ac4f4f78592527b8da68ad08b993cf15c663a649 | 463 | py | Python | server/annotation/models.py | EasyVizAR/edge-server | 523d64da5a9579d7c99bede47985a7a09d33f9ec | [
"MIT"
] | null | null | null | server/annotation/models.py | EasyVizAR/edge-server | 523d64da5a9579d7c99bede47985a7a09d33f9ec | [
"MIT"
] | null | null | null | server/annotation/models.py | EasyVizAR/edge-server | 523d64da5a9579d7c99bede47985a7a09d33f9ec | [
"MIT"
] | 1 | 2021-09-17T16:13:16.000Z | 2021-09-17T16:13:16.000Z | import time
from dataclasses import field
from marshmallow_dataclass import dataclass
from server.resources.jsonresource import JsonCollection, JsonResource
from server.resources.geometry import Box
@dataclass
class AnnotationModel(JsonResource):
"""
Annotation for an image file, e.g. a detected object with... | 24.368421 | 79 | 0.734341 | 55 | 463 | 6.145455 | 0.636364 | 0.059172 | 0.112426 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.196544 | 463 | 18 | 80 | 25.722222 | 0.908602 | 0.161987 | 0 | 0 | 0 | 0 | 0.016129 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.9 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 1 | 0 | 0 | 3 |
ac5c90ccb36974a41ca40f98721f47041adc0c50 | 94 | py | Python | modules/2.79/bpy/types/TimelineMarker.py | cmbasnett/fake-bpy-module | acb8b0f102751a9563e5b5e5c7cd69a4e8aa2a55 | [
"MIT"
] | null | null | null | modules/2.79/bpy/types/TimelineMarker.py | cmbasnett/fake-bpy-module | acb8b0f102751a9563e5b5e5c7cd69a4e8aa2a55 | [
"MIT"
] | null | null | null | modules/2.79/bpy/types/TimelineMarker.py | cmbasnett/fake-bpy-module | acb8b0f102751a9563e5b5e5c7cd69a4e8aa2a55 | [
"MIT"
] | null | null | null | class TimelineMarker:
camera = None
frame = None
name = None
select = None
| 10.444444 | 21 | 0.595745 | 10 | 94 | 5.6 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.351064 | 94 | 8 | 22 | 11.75 | 0.918033 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
ac83569b2ad4283a5c3be0f74af50784c862a6bc | 623 | py | Python | MoviesSort/list_files.py | namratab94/MoviesSorter | 1a82e0c7e661a392925f7330633c487d12e4a570 | [
"MIT"
] | 1 | 2016-07-01T21:34:03.000Z | 2016-07-01T21:34:03.000Z | MoviesSort/list_files.py | namratab94/MoviesSorter | 1a82e0c7e661a392925f7330633c487d12e4a570 | [
"MIT"
] | null | null | null | MoviesSort/list_files.py | namratab94/MoviesSorter | 1a82e0c7e661a392925f7330633c487d12e4a570 | [
"MIT"
] | null | null | null | #!/usr/bin/python
import os, sys
# Open a file
#path = "/media/ramesh/Namrata Bilurkar/Movies/2015_Oscars"
#path = "/media/ramesh/Namrata Bilurkar/Movies/BluRay Movies"
#path = "/media/ramesh/Namrata Bilurkar/Movies/Hindi"
#path = "/media/ramesh/Namrata Bilurkar/Movies/Others"
#path = "/media/ramesh/Namrata Bilurkar/... | 28.318182 | 62 | 0.751204 | 86 | 623 | 5.430233 | 0.430233 | 0.154176 | 0.256959 | 0.376874 | 0.616702 | 0.616702 | 0 | 0 | 0 | 0 | 0 | 0.007246 | 0.113965 | 623 | 21 | 63 | 29.666667 | 0.838768 | 0.739968 | 0 | 0 | 0 | 0 | 0.350993 | 0.278146 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.2 | null | null | 0.2 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ac88e5854f44610bfc84411366d52a872ac14659 | 167 | py | Python | lino_book/projects/lydia/tests/dumps/18.12.0/clients_clientcontacttype.py | lino-framework/lino_book | 4eab916832cd8f48ff1b9fc8c2789f0b437da0f8 | [
"BSD-2-Clause"
] | 3 | 2016-08-25T05:58:09.000Z | 2019-12-05T11:13:45.000Z | lino_book/projects/lydia/tests/dumps/18.12.0/clients_clientcontacttype.py | lino-framework/lino_book | 4eab916832cd8f48ff1b9fc8c2789f0b437da0f8 | [
"BSD-2-Clause"
] | 18 | 2016-11-12T21:38:58.000Z | 2019-12-03T17:54:38.000Z | lino_book/projects/lydia/tests/dumps/18.12.0/clients_clientcontacttype.py | lino-framework/lino_book | 4eab916832cd8f48ff1b9fc8c2789f0b437da0f8 | [
"BSD-2-Clause"
] | 9 | 2016-10-15T11:12:33.000Z | 2021-09-22T04:37:37.000Z | # -*- coding: UTF-8 -*-
logger.info("Loading 0 objects to table clients_clientcontacttype...")
# fields: id, name, known_contact_type
loader.flush_deferred_objects()
| 27.833333 | 70 | 0.748503 | 22 | 167 | 5.454545 | 0.954545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013423 | 0.107784 | 167 | 5 | 71 | 33.4 | 0.791946 | 0.347305 | 0 | 0 | 0 | 0 | 0.518868 | 0.264151 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3bb050b815766d918b7801c8684b3327e18f0042 | 498 | py | Python | tests/test_app_config.py | brayest/testcode | 865d31ccfaf75946620c36955cc3dcb395515796 | [
"Unlicense"
] | 652 | 2021-01-24T10:32:08.000Z | 2022-02-05T09:14:10.000Z | tests/test_app_config.py | starhappy/Dryvo | 14c549a4f2265afd515bfd6f5f477a68187ea287 | [
"Unlicense"
] | 1 | 2021-01-27T05:09:14.000Z | 2021-02-01T06:21:05.000Z | tests/test_app_config.py | starhappy/Dryvo | 14c549a4f2265afd515bfd6f5f477a68187ea287 | [
"Unlicense"
] | 147 | 2021-01-25T10:57:22.000Z | 2022-02-05T09:14:12.000Z | from server.app import create_app
def test_config_app(app):
""" Test that the test config
is being written over the actual config"""
assert app.config.get('SECRET_KEY') == "VERY_SECRET"
assert app.config.get('SECRET_JWT') == "VERY_VERY_SECRET"
assert app.config.get("FIREBASE_JSON")
assert app.... | 29.294118 | 61 | 0.722892 | 73 | 498 | 4.69863 | 0.369863 | 0.157434 | 0.262391 | 0.314869 | 0.530612 | 0.349854 | 0 | 0 | 0 | 0 | 0 | 0 | 0.158635 | 498 | 16 | 62 | 31.125 | 0.818616 | 0.130522 | 0 | 0 | 0 | 0 | 0.270142 | 0.052133 | 0 | 0 | 0 | 0 | 0.7 | 1 | 0.2 | false | 0 | 0.1 | 0 | 0.3 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3bbddb84a631e8712587dab1beaf61533427de1b | 60 | py | Python | modules/analyze_utils/__init__.py | learnerhouse/ner-bert | 606328a27a7313b6c22b78590e06618ad77402cd | [
"MIT"
] | 391 | 2018-12-21T01:00:18.000Z | 2022-03-13T02:05:15.000Z | modules/analyze_utils/__init__.py | king-menin/nert-bert | b75a903c35acbd36ff5f26c525e3596294f36815 | [
"MIT"
] | 30 | 2019-01-10T12:58:54.000Z | 2022-01-15T15:51:14.000Z | modules/analyze_utils/__init__.py | king-menin/nert-bert | b75a903c35acbd36ff5f26c525e3596294f36815 | [
"MIT"
] | 101 | 2018-12-21T07:40:31.000Z | 2022-03-10T17:47:41.000Z | from .utils import *
__all__ = ["read_json", "save_json"]
| 12 | 36 | 0.666667 | 8 | 60 | 4.25 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 60 | 4 | 37 | 15 | 0.68 | 0 | 0 | 0 | 0 | 0 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
3bc10a87ca59415e574f972f017c70fe31af894e | 104 | py | Python | Examples And Tutorials/Python Selenium/tests/locator.py | RitamDey/My-Simple-Programs | 147b455a6a40c371ec894ce979e8a61d242e03bd | [
"Unlicense"
] | 2 | 2016-10-14T16:58:05.000Z | 2017-05-04T04:59:18.000Z | Examples And Tutorials/Python Selenium/tests/locator.py | GreenJoey/My-Simple-Programs | 147b455a6a40c371ec894ce979e8a61d242e03bd | [
"Unlicense"
] | null | null | null | Examples And Tutorials/Python Selenium/tests/locator.py | GreenJoey/My-Simple-Programs | 147b455a6a40c371ec894ce979e8a61d242e03bd | [
"Unlicense"
] | null | null | null | from selenium.webdriver.common.by import By
class MainPageLocators:
GO_BUTTON = (By.ID, "submit")
| 17.333333 | 43 | 0.740385 | 14 | 104 | 5.428571 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 104 | 5 | 44 | 20.8 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0.057692 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
3bcb7a85a9cdc81641fa180dc87fa296f155458e | 87 | py | Python | bbwidgets/__init__.py | BodenmillerGroup/bbwidgets | 9ce5867b19868baae16b5690a4c3d1c7b9267b74 | [
"MIT"
] | null | null | null | bbwidgets/__init__.py | BodenmillerGroup/bbwidgets | 9ce5867b19868baae16b5690a4c3d1c7b9267b74 | [
"MIT"
] | 1 | 2019-06-13T14:42:24.000Z | 2019-06-13T14:42:24.000Z | bbwidgets/__init__.py | BodenmillerGroup/bbwidgets | 9ce5867b19868baae16b5690a4c3d1c7b9267b74 | [
"MIT"
] | null | null | null | from .multichannel_view import MultichannelView, view_multichannel
name = 'bbwidgets'
| 21.75 | 66 | 0.83908 | 9 | 87 | 7.888889 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 87 | 3 | 67 | 29 | 0.910256 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
ce135f8f8a04fc1ea84a2bfb96d0c53c7a3454f8 | 131 | py | Python | rjproxy/urls.py | lundskommun/resejamforaren | 2c5385e032115786d1699adc5be86dd72635c625 | [
"Apache-2.0"
] | 2 | 2015-12-17T13:51:54.000Z | 2020-01-14T13:20:59.000Z | rjproxy/urls.py | lundskommun/resejamforaren | 2c5385e032115786d1699adc5be86dd72635c625 | [
"Apache-2.0"
] | null | null | null | rjproxy/urls.py | lundskommun/resejamforaren | 2c5385e032115786d1699adc5be86dd72635c625 | [
"Apache-2.0"
] | 2 | 2015-12-17T13:52:02.000Z | 2020-01-14T13:21:05.000Z | from django.conf.urls import patterns, include, url
from views import proxy
urlpatterns = patterns('',
url(r'^proxy$', proxy),
)
| 18.714286 | 51 | 0.725191 | 18 | 131 | 5.277778 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137405 | 131 | 6 | 52 | 21.833333 | 0.840708 | 0 | 0 | 0 | 0 | 0 | 0.053435 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
ce3835ae6a152161f7f7a74ae31cdc88625daad1 | 2,652 | py | Python | tests/replication/tcp/streams/_base.py | Cadair/synapse | 466866a1d9dd1fcf82348a36c0532cb0c6614767 | [
"Apache-2.0"
] | 1 | 2020-03-05T12:58:46.000Z | 2020-03-05T12:58:46.000Z | tests/replication/tcp/streams/_base.py | Cadair/synapse | 466866a1d9dd1fcf82348a36c0532cb0c6614767 | [
"Apache-2.0"
] | 4 | 2020-03-04T23:47:05.000Z | 2021-12-09T21:41:44.000Z | tests/replication/tcp/streams/_base.py | Cadair/synapse | 466866a1d9dd1fcf82348a36c0532cb0c6614767 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Copyright 2019 New Vector Ltd
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable la... | 35.36 | 90 | 0.717195 | 321 | 2,652 | 5.838006 | 0.482866 | 0.032017 | 0.035219 | 0.040021 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005218 | 0.205128 | 2,652 | 74 | 91 | 35.837838 | 0.883776 | 0.366139 | 0 | 0.057143 | 0 | 0 | 0.00799 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.257143 | false | 0.057143 | 0.142857 | 0.057143 | 0.514286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
0208799117b75f07a2266d2a91b581a49b2b1fdc | 175 | py | Python | Week1_PyThonBasic/Beginner/Exercise3.py | minhvip2001/pythonproject | 0ad9e70203fae2cd038872a8d1a71c0bc9416cf3 | [
"MIT"
] | null | null | null | Week1_PyThonBasic/Beginner/Exercise3.py | minhvip2001/pythonproject | 0ad9e70203fae2cd038872a8d1a71c0bc9416cf3 | [
"MIT"
] | null | null | null | Week1_PyThonBasic/Beginner/Exercise3.py | minhvip2001/pythonproject | 0ad9e70203fae2cd038872a8d1a71c0bc9416cf3 | [
"MIT"
] | null | null | null | def printStr(str):
for i in range(0, len(str), 2):
print(str[i])
print("Orginal String is pynative")
print("Printing only even index chars")
printStr("pynative") | 29.166667 | 43 | 0.668571 | 27 | 175 | 4.333333 | 0.740741 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013986 | 0.182857 | 175 | 6 | 44 | 29.166667 | 0.804196 | 0 | 0 | 0 | 0 | 0 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0 | 0 | 0.166667 | 0.833333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
0236ee6c61fa881e71457db4eeccbcbccef250d8 | 85 | py | Python | Vamei/exception/exception1.py | YangPhy/learnPython | 5507fa1a0d2878fc663d62509af8ff959955f822 | [
"MIT"
] | 5 | 2020-05-18T06:54:52.000Z | 2021-05-29T23:17:41.000Z | Vamei/exception/exception1.py | YangPhy/learnPython | 5507fa1a0d2878fc663d62509af8ff959955f822 | [
"MIT"
] | null | null | null | Vamei/exception/exception1.py | YangPhy/learnPython | 5507fa1a0d2878fc663d62509af8ff959955f822 | [
"MIT"
] | 1 | 2020-05-17T22:47:49.000Z | 2020-05-17T22:47:49.000Z | re=iter(range(5))
for i in range(100):
print (re.__next__())
print('HaHaHaHa')
| 12.142857 | 25 | 0.635294 | 14 | 85 | 3.571429 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056338 | 0.164706 | 85 | 6 | 26 | 14.166667 | 0.647887 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
0249200fa930e1d6c97b39e22fdc5c7c11d46bf6 | 140 | py | Python | soloist/apps/search/urls.py | vmogilev/soloist | 6ae3309eff1e5429fd1161181487e8ee6a9f5905 | [
"Apache-2.0"
] | null | null | null | soloist/apps/search/urls.py | vmogilev/soloist | 6ae3309eff1e5429fd1161181487e8ee6a9f5905 | [
"Apache-2.0"
] | 2 | 2020-06-05T17:53:56.000Z | 2021-06-01T22:02:46.000Z | soloist/apps/search/urls.py | vmogilev/soloist | 6ae3309eff1e5429fd1161181487e8ee6a9f5905 | [
"Apache-2.0"
] | null | null | null | from django.conf.urls import url
from . import views
app_name = 'search'
urlpatterns = [
url(r'^search$', views.serp, name='serp'),
] | 15.555556 | 46 | 0.671429 | 20 | 140 | 4.65 | 0.65 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171429 | 140 | 9 | 47 | 15.555556 | 0.801724 | 0 | 0 | 0 | 0 | 0 | 0.12766 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
026032ef8d6004f49c7703cf233ee65333e0461c | 3,162 | py | Python | Python/pyBitwiseAutomation/AutomationInterface.py | bitwise-labs/Automation | fc6191e8f481595753a1981fdc2170020b9aca00 | [
"BSL-1.0"
] | null | null | null | Python/pyBitwiseAutomation/AutomationInterface.py | bitwise-labs/Automation | fc6191e8f481595753a1981fdc2170020b9aca00 | [
"BSL-1.0"
] | null | null | null | Python/pyBitwiseAutomation/AutomationInterface.py | bitwise-labs/Automation | fc6191e8f481595753a1981fdc2170020b9aca00 | [
"BSL-1.0"
] | 1 | 2020-08-16T00:11:55.000Z | 2020-08-16T00:11:55.000Z | # AutomationInterface.py
# ================================================================================
# BOOST SOFTWARE LICENSE
#
# Copyright 2020 BitWise Laboratories Inc.
# Original Author.......Jim Waschura
# Contact...............info@bitwiselabs.com
#
# Permission is hereby granted, free of charge, to any per... | 37.2 | 101 | 0.697027 | 419 | 3,162 | 5.231504 | 0.417661 | 0.060219 | 0.062044 | 0.065693 | 0.238139 | 0.167427 | 0.167427 | 0.167427 | 0.167427 | 0.167427 | 0 | 0.00339 | 0.160342 | 3,162 | 84 | 102 | 37.642857 | 0.822222 | 0.718849 | 0 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.461538 | false | 0.384615 | 0.038462 | 0.076923 | 0.615385 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
0276966afc5e00b282a784f7cafa809e334c59da | 340 | py | Python | sound/background_sound.py | sontung/pick_a_number | fc3af553827bc11115873f753a0d3aff2d5eb974 | [
"MIT"
] | null | null | null | sound/background_sound.py | sontung/pick_a_number | fc3af553827bc11115873f753a0d3aff2d5eb974 | [
"MIT"
] | null | null | null | sound/background_sound.py | sontung/pick_a_number | fc3af553827bc11115873f753a0d3aff2d5eb974 | [
"MIT"
] | null | null | null | import pygame
pygame.mixer.init()
def play_music(name, type):
pygame.mixer.music.set_volume(1)
pygame.mixer.music.load(name)
if type == "click":
pygame.mixer.music.play(1, 0.0)
else:
pygame.mixer.music.play(-1, 0.0)
def stop_music():
pygame.mixer.music.stop()
music_funcs = (play... | 18.888889 | 40 | 0.658824 | 52 | 340 | 4.192308 | 0.365385 | 0.302752 | 0.366972 | 0.183486 | 0.211009 | 0.211009 | 0.211009 | 0 | 0 | 0 | 0 | 0.025455 | 0.191176 | 340 | 17 | 41 | 20 | 0.767273 | 0 | 0 | 0 | 0 | 0 | 0.014706 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.083333 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
02783eb590726c22fe88c8556bc47d60ad69b388 | 6,965 | py | Python | laptimes/models.py | ev-agelos/acr-server | dba11b001ae4aae6dcbb761a5c0222c6fb3b939d | [
"MIT"
] | 1 | 2021-03-11T04:25:07.000Z | 2021-03-11T04:25:07.000Z | laptimes/models.py | ev-agelos/acr-server | dba11b001ae4aae6dcbb761a5c0222c6fb3b939d | [
"MIT"
] | 7 | 2020-03-06T17:37:01.000Z | 2021-09-22T17:40:10.000Z | laptimes/models.py | ev-agelos/ac-rank | dba11b001ae4aae6dcbb761a5c0222c6fb3b939d | [
"MIT"
] | null | null | null | import datetime
from django.db import models
from django.contrib.auth.models import User
from django.contrib.postgres.fields import ArrayField
from django.core.validators import MinValueValidator, MaxValueValidator, MinLengthValidator
from rest_framework import serializers
from laptimes.templatetags.laptime_extras im... | 41.213018 | 91 | 0.743144 | 831 | 6,965 | 6 | 0.180505 | 0.126755 | 0.400722 | 0.460088 | 0.679904 | 0.523867 | 0.248496 | 0.102688 | 0 | 0 | 0 | 0.006495 | 0.159943 | 6,965 | 168 | 92 | 41.458333 | 0.845667 | 0.022828 | 0 | 0.081481 | 0 | 0 | 0.011482 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.037037 | false | 0 | 0.051852 | 0.022222 | 0.881481 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
5a1a16501ed4ce58c6e9a91a231673d650efbefd | 664 | py | Python | djangox/lib/python3.8/site-packages/allauth/socialaccount/providers/twentythreeandme/provider.py | DemarcusL/django_wiki_lab | 3b7cf18af7e0f89c94d10eb953ca018a150a2f55 | [
"MIT"
] | 6,342 | 2015-01-01T07:40:30.000Z | 2022-03-31T04:18:30.000Z | djangox/lib/python3.8/site-packages/allauth/socialaccount/providers/twentythreeandme/provider.py | DemarcusL/django_wiki_lab | 3b7cf18af7e0f89c94d10eb953ca018a150a2f55 | [
"MIT"
] | 2,198 | 2015-01-02T15:17:45.000Z | 2022-03-28T10:20:43.000Z | djangox/lib/python3.8/site-packages/allauth/socialaccount/providers/twentythreeandme/provider.py | DemarcusL/django_wiki_lab | 3b7cf18af7e0f89c94d10eb953ca018a150a2f55 | [
"MIT"
] | 2,928 | 2015-01-01T10:44:13.000Z | 2022-03-31T03:20:16.000Z | from allauth.socialaccount.providers.base import ProviderAccount
from allauth.socialaccount.providers.oauth2.provider import OAuth2Provider
class TwentyThreeAndMeAccount(ProviderAccount):
pass
class TwentyThreeAndMeProvider(OAuth2Provider):
id = "twentythreeandme"
slug = "23andme"
name = "23andMe"
... | 22.896552 | 74 | 0.706325 | 63 | 664 | 7.333333 | 0.555556 | 0.047619 | 0.103896 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013359 | 0.210843 | 664 | 28 | 75 | 23.714286 | 0.868321 | 0 | 0 | 0 | 0 | 0 | 0.063253 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.157895 | false | 0.052632 | 0.105263 | 0.105263 | 0.736842 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 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 | 1 | 1 | 0 | 0 | 3 |
5a1d6d8c898843efb2ad866c57ce4bccd83f1380 | 110 | py | Python | bot/handlers/__init__.py | Arwichok/asyncbot | 371c9f92b3c07881b054a99c1aefbca29da06983 | [
"MIT"
] | 14 | 2019-07-05T10:51:06.000Z | 2022-02-08T11:05:31.000Z | bot/handlers/__init__.py | Mo1far/Replicant | c864a305534dc223d9f4d0a51cd4732195a2a4e3 | [
"MIT"
] | 1 | 2019-10-10T10:48:18.000Z | 2022-01-23T19:25:19.000Z | bot/handlers/__init__.py | Mo1far/Replicant | c864a305534dc223d9f4d0a51cd4732195a2a4e3 | [
"MIT"
] | 7 | 2019-07-06T10:31:22.000Z | 2021-09-23T17:57:37.000Z | from . import (
commands,
errors,
inlines,
messages,
posts,
queries,
schedules,
)
| 11 | 15 | 0.545455 | 9 | 110 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.363636 | 110 | 9 | 16 | 12.222222 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.111111 | 0 | 0.111111 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
5a6866da78e61b4df3673644daf518e68595ca78 | 803 | py | Python | scm_simulation/surgery.py | surgical-supply-inventory-control/advance-booking-information | f44d23f6ab52814f32a1601d177e4bae3387465c | [
"MIT"
] | null | null | null | scm_simulation/surgery.py | surgical-supply-inventory-control/advance-booking-information | f44d23f6ab52814f32a1601d177e4bae3387465c | [
"MIT"
] | null | null | null | scm_simulation/surgery.py | surgical-supply-inventory-control/advance-booking-information | f44d23f6ab52814f32a1601d177e4bae3387465c | [
"MIT"
] | null | null | null | import numpy as np
class Surgery(object):
"""
An immutable class
id (str):
label for surgery
item_info {item_id: number}:
information contribution to demand for item_id, used for policy that depends on information_process
item_usages {item_id: NumberGenerator}:
item us... | 29.740741 | 108 | 0.655044 | 100 | 803 | 4.87 | 0.47 | 0.102669 | 0.080082 | 0.141684 | 0.197125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.244085 | 803 | 26 | 109 | 30.884615 | 0.802306 | 0.41594 | 0 | 0 | 0 | 0 | 0.115578 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0.111111 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
5a68cbfa27451336185b1a8e23da1c17c14ecbc3 | 59 | py | Python | wolf/nnet/resnets/__init__.py | andrecianflone/wolf | 826bbedc58d4d29871110349356868066a3108e6 | [
"Apache-2.0"
] | 75 | 2020-03-31T22:21:04.000Z | 2022-03-20T10:58:17.000Z | wolf/nnet/resnets/__init__.py | andrecianflone/wolf | 826bbedc58d4d29871110349356868066a3108e6 | [
"Apache-2.0"
] | 3 | 2021-02-03T07:07:14.000Z | 2022-03-08T20:58:43.000Z | wolf/nnet/resnets/__init__.py | andrecianflone/wolf | 826bbedc58d4d29871110349356868066a3108e6 | [
"Apache-2.0"
] | 10 | 2020-04-27T05:31:44.000Z | 2021-11-21T14:11:16.000Z | __author__ = 'max'
from wolf.nnet.resnets.resnet import *
| 14.75 | 38 | 0.745763 | 8 | 59 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135593 | 59 | 3 | 39 | 19.666667 | 0.784314 | 0 | 0 | 0 | 0 | 0 | 0.050847 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
5a86a43822cf9e9b063b6ef7a9066befaa17cac2 | 352 | py | Python | pyDSlib/ML/preprocessing/__init__.py | jlnerd/JLpy_Utilities | 486fb0ae379d079596d290ba9fc65c9be4d44785 | [
"MIT"
] | null | null | null | pyDSlib/ML/preprocessing/__init__.py | jlnerd/JLpy_Utilities | 486fb0ae379d079596d290ba9fc65c9be4d44785 | [
"MIT"
] | null | null | null | pyDSlib/ML/preprocessing/__init__.py | jlnerd/JLpy_Utilities | 486fb0ae379d079596d290ba9fc65c9be4d44785 | [
"MIT"
] | null | null | null | """
Functions related to preprocessing/feature engineering for machine learning.
"""
from . import LabelEncode
from . import Impute
from . import Scale
from . import OneHotEncode
from ._PreprocessPipe import PreprocessPipe
from ._CorrCoeff import CorrCoeffThreshold
from . import log
from ..NeuralNet.Bert impor... | 29.333333 | 76 | 0.801136 | 39 | 352 | 7.179487 | 0.615385 | 0.178571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006667 | 0.147727 | 352 | 12 | 77 | 29.333333 | 0.926667 | 0.215909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
5a88e821ad939ce0ebab0a871393d77d2ae0e4ae | 73 | py | Python | setup/code_seq2seq/seq2seq/__init__.py | anonmyous-author/anonymous-code | 3032e1b3fd41c57db6ca91ab86f39aebdf39bda8 | [
"MIT"
] | null | null | null | setup/code_seq2seq/seq2seq/__init__.py | anonmyous-author/anonymous-code | 3032e1b3fd41c57db6ca91ab86f39aebdf39bda8 | [
"MIT"
] | null | null | null | setup/code_seq2seq/seq2seq/__init__.py | anonmyous-author/anonymous-code | 3032e1b3fd41c57db6ca91ab86f39aebdf39bda8 | [
"MIT"
] | 1 | 2021-06-09T12:53:39.000Z | 2021-06-09T12:53:39.000Z | src_field_name = 'src'
tgt_field_name = 'tgt'
fname_field_name = 'fname'
| 18.25 | 26 | 0.753425 | 12 | 73 | 4.083333 | 0.416667 | 0.55102 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123288 | 73 | 3 | 27 | 24.333333 | 0.765625 | 0 | 0 | 0 | 0 | 0 | 0.150685 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 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 | 3 |
ce51ac05dec2a78f0052067b82db19a2fb67d34f | 106 | py | Python | src/popparser/debug.py | fredokun/popparser | e1c870ea4697069617e571538b573bcd2ae14374 | [
"MIT"
] | 5 | 2020-02-05T14:44:29.000Z | 2020-04-15T19:24:26.000Z | src/popparser/debug.py | fredokun/popparser | e1c870ea4697069617e571538b573bcd2ae14374 | [
"MIT"
] | null | null | null | src/popparser/debug.py | fredokun/popparser | e1c870ea4697069617e571538b573bcd2ae14374 | [
"MIT"
] | null | null | null | '''Parser debugging utilities
Created on 7 august 2012
@author: fredo
'''
class ParseDebug:
pass
| 8.833333 | 29 | 0.698113 | 13 | 106 | 5.692308 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060241 | 0.216981 | 106 | 11 | 30 | 9.636364 | 0.831325 | 0.641509 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
ce5c6531c548387871b898429b278f9fc8ead44f | 263 | py | Python | services/web/codegen/codegen_train.py | hqbao/dlp | 8727e036b85b4774060b06678f8c584c19cd8911 | [
"MIT"
] | null | null | null | services/web/codegen/codegen_train.py | hqbao/dlp | 8727e036b85b4774060b06678f8c584c19cd8911 | [
"MIT"
] | null | null | null | services/web/codegen/codegen_train.py | hqbao/dlp | 8727e036b85b4774060b06678f8c584c19cd8911 | [
"MIT"
] | null | null | null | import dlp.codegen as codegen
import sys
import os
model_file_path = sys.argv[1]
output_dir_path = sys.argv[2]
encoded_token = sys.argv[3]
codegen.generate_code_for_train(json_model_file=model_file_path, output_path=output_dir_path, encoded_token=encoded_token)
| 29.222222 | 122 | 0.840304 | 46 | 263 | 4.434783 | 0.478261 | 0.132353 | 0.127451 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012397 | 0.079848 | 263 | 8 | 123 | 32.875 | 0.830579 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.428571 | 0 | 0.428571 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
ce6ab055a3630ec11883a49afed1f6e8fe4cea20 | 208 | py | Python | energy/lopy_bmp280/boot.py | niclabs/water-monitoring | d18405e7536c985a400816263e80f73318e304b6 | [
"Apache-2.0"
] | 2 | 2020-05-21T03:47:12.000Z | 2021-02-01T16:48:01.000Z | energy/lopy_bmp280/boot.py | niclabs/water-monitoring | d18405e7536c985a400816263e80f73318e304b6 | [
"Apache-2.0"
] | 9 | 2021-03-19T16:09:25.000Z | 2021-05-24T22:55:16.000Z | energy/lopy_bmp280/boot.py | niclabs/water-monitoring | d18405e7536c985a400816263e80f73318e304b6 | [
"Apache-2.0"
] | 1 | 2021-01-13T14:45:14.000Z | 2021-01-13T14:45:14.000Z | import machine
from bmp280 import *
import time
i2c = machine.I2C()
bmp = BMP280(i2c)
# https://github.com/dafvid/micropython-bmp280
#bmp.use_case(BMP280_CASE_WEATHER)
bmp.use_case(BMP280_CASE_HANDHELD_LOW)
| 20.8 | 46 | 0.798077 | 32 | 208 | 4.96875 | 0.53125 | 0.075472 | 0.125786 | 0.201258 | 0.251572 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 0.091346 | 208 | 9 | 47 | 23.111111 | 0.746032 | 0.370192 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
ce6bd1761e426af9be4153cce6f04f1899fd3972 | 1,649 | py | Python | GoogleBot_PyFiles/encryption_cmd.py | jestes15/GoogleBot | a7aacc9b5c26d1ebcbfa1651ca2574b52de98d58 | [
"Linux-OpenIB"
] | 2 | 2020-10-28T22:52:33.000Z | 2021-02-08T15:54:22.000Z | GoogleBot_PyFiles/encryption_cmd.py | jestes15/GoogleBot | a7aacc9b5c26d1ebcbfa1651ca2574b52de98d58 | [
"Linux-OpenIB"
] | null | null | null | GoogleBot_PyFiles/encryption_cmd.py | jestes15/GoogleBot | a7aacc9b5c26d1ebcbfa1651ca2574b52de98d58 | [
"Linux-OpenIB"
] | null | null | null | import base64
import hashlib as dec
class EncodeString:
def __init__(self, string):
self.string = str(string)
def switch(self, choice):
default = "Invalid input"
encryption_choice = {
'base84': '1',
'base64': '2',
'base32': '3',
'base16'... | 27.483333 | 86 | 0.565797 | 185 | 1,649 | 4.956757 | 0.259459 | 0.119956 | 0.147219 | 0.196292 | 0.465649 | 0.465649 | 0.339149 | 0.339149 | 0.339149 | 0.339149 | 0 | 0.056027 | 0.285628 | 1,649 | 59 | 87 | 27.949153 | 0.722411 | 0 | 0 | 0.212766 | 0 | 0 | 0.07641 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.234043 | false | 0 | 0.042553 | 0.085106 | 0.510638 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
ce8e894f001b07f783a61efb8c26ef50c3820b78 | 2,793 | py | Python | Project/main.py | ART-Students/E-media | 13a98ec03feda2999319087953d95e5966d49056 | [
"MIT"
] | 2 | 2021-06-08T12:58:13.000Z | 2021-10-31T20:31:22.000Z | Project/main.py | adamek195/E-media | 13a98ec03feda2999319087953d95e5966d49056 | [
"MIT"
] | 1 | 2021-04-07T09:45:08.000Z | 2021-04-25T22:02:54.000Z | Project/main.py | adamek195/E-media | 13a98ec03feda2999319087953d95e5966d49056 | [
"MIT"
] | 1 | 2021-04-12T23:38:21.000Z | 2021-04-12T23:38:21.000Z | from tkinter import Tk, Label, Button, Frame
from tkinter.filedialog import askopenfilename
from chunk_processor import PNGChunkProcessor
from PIL import Image, ImageTk
from fourier import Fourier
root = Tk()
def choose_photo_ecb():
img_path = askopenfilename(filetypes=[("PNG Files", "*.png")])
chunk_processo... | 35.35443 | 78 | 0.740781 | 350 | 2,793 | 5.534286 | 0.245714 | 0.40475 | 0.176562 | 0.260196 | 0.627775 | 0.605059 | 0.605059 | 0.605059 | 0.605059 | 0.605059 | 0 | 0.010195 | 0.157179 | 2,793 | 79 | 79 | 35.35443 | 0.812659 | 0 | 0 | 0.5 | 0 | 0 | 0.035075 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.058824 | false | 0 | 0.073529 | 0 | 0.132353 | 0.029412 | 0 | 0 | 0 | null | 1 | 0 | 1 | 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 | 3 |
cea356175b035a3b74d070c1b2e38d913eab18e3 | 898 | py | Python | refactored-text-only/cellEntry.py | EndreoT/Minesweeper | 9b7a195c0e1995cfacacf66496d32e6e2015d973 | [
"MIT"
] | 1 | 2019-07-15T18:07:00.000Z | 2019-07-15T18:07:00.000Z | refactored-text-only/cellEntry.py | EndreoT/Minesweeper | 9b7a195c0e1995cfacacf66496d32e6e2015d973 | [
"MIT"
] | 1 | 2018-03-25T00:39:59.000Z | 2018-07-30T22:46:49.000Z | refactored-text-only/cellEntry.py | EndreoT/Minesweeper | 9b7a195c0e1995cfacacf66496d32e6e2015d973 | [
"MIT"
] | 2 | 2019-10-07T02:21:35.000Z | 2021-11-26T17:29:47.000Z | from enum import Enum
class EntryValue(Enum):
MINE = -1
ZERO = 0
ONE = 1
TWO = 2
THREE = 3
FOUR = 4
FIVE = 5
SIX = 6
SEVEN = 7
EIGHT = 8
NULL = None
def isNum(self):
return type(self.value) is int and self.value >= 0
def is_num_and_g_t_zero(self):
... | 19.106383 | 59 | 0.567929 | 122 | 898 | 4.057377 | 0.459016 | 0.2 | 0.121212 | 0.078788 | 0.177778 | 0.177778 | 0.177778 | 0.177778 | 0.177778 | 0.177778 | 0 | 0.023569 | 0.33853 | 898 | 46 | 60 | 19.521739 | 0.809764 | 0.054566 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.242424 | false | 0 | 0.030303 | 0.212121 | 0.878788 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
ceb3554522a39709ec4edfc9bba0a561d93196cb | 17,698 | py | Python | backend/app/routes.py | dozam8noh8/COMP3900-MealMatch-Website | 3100b923664e9a81bd5b3d7a5fd46c0d7a9c0244 | [
"MIT"
] | null | null | null | backend/app/routes.py | dozam8noh8/COMP3900-MealMatch-Website | 3100b923664e9a81bd5b3d7a5fd46c0d7a9c0244 | [
"MIT"
] | null | null | null | backend/app/routes.py | dozam8noh8/COMP3900-MealMatch-Website | 3100b923664e9a81bd5b3d7a5fd46c0d7a9c0244 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
import os
from flask import abort, request, jsonify, g, url_for, Response
from flask_httpauth import HTTPBasicAuth
import jwt
from werkzeug.security import generate_password_hash, check_password_hash
from werkzeug.utils import secure_filename
from werkzeug.datastructures import ImmutableMultiDict
... | 39.416481 | 163 | 0.672844 | 2,388 | 17,698 | 4.883166 | 0.165829 | 0.016465 | 0.021696 | 0.015436 | 0.333762 | 0.278621 | 0.231284 | 0.19055 | 0.176143 | 0.153932 | 0 | 0.011225 | 0.204656 | 17,698 | 448 | 164 | 39.504464 | 0.817207 | 0.303368 | 0 | 0.262295 | 1 | 0 | 0.185575 | 0.031236 | 0 | 0 | 0 | 0.011161 | 0 | 1 | 0.118852 | false | 0.053279 | 0.04918 | 0.004098 | 0.307377 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
ced834e2bfac1faa3112fb6d5f0ce204f035006f | 157 | py | Python | data_fetcher/manager_operation.py | stevensshi/smart-realestate | f00671a5ec9590b9f5b74595c3599317a722370e | [
"MIT"
] | 4 | 2017-01-19T10:14:59.000Z | 2019-06-25T23:14:29.000Z | data_fetcher/manager_operation.py | stevensshi/smart-realestate | f00671a5ec9590b9f5b74595c3599317a722370e | [
"MIT"
] | null | null | null | data_fetcher/manager_operation.py | stevensshi/smart-realestate | f00671a5ec9590b9f5b74595c3599317a722370e | [
"MIT"
] | 1 | 2019-06-25T23:14:31.000Z | 2019-06-25T23:14:31.000Z | import logging
import threading
logging.basicConfig(level=logging.DEBUG,format='(%(threadName)-10s) % (message)s')
for t in threading.enumerate():
| 14.272727 | 82 | 0.726115 | 19 | 157 | 6 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014706 | 0.133758 | 157 | 10 | 83 | 15.7 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0.203822 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.5 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
cedeef52eb37cea60b9834c8e7133b9bab04fee9 | 370 | py | Python | globals/__init__.py | SamuelJansen/Globals | 49a5ac10b18642ffbc54745c9bd55bf358ca73df | [
"MIT"
] | 2 | 2020-07-03T06:35:39.000Z | 2020-07-23T00:25:45.000Z | globals/__init__.py | SamuelJansen/Globals | 49a5ac10b18642ffbc54745c9bd55bf358ca73df | [
"MIT"
] | 1 | 2021-05-26T20:35:05.000Z | 2021-06-12T06:50:30.000Z | globals/__init__.py | SamuelJansen/Globals | 49a5ac10b18642ffbc54745c9bd55bf358ca73df | [
"MIT"
] | 1 | 2020-11-01T02:07:34.000Z | 2020-11-01T02:07:34.000Z | from globals.api.src.service import GlobalsManager
from globals.api.src.service.GlobalsManager import (
Globals,
importResource,
importModule,
newGlobalsInstance,
getGlobalsInstance,
globalsInstanceIsNone,
updateGlobalsInstance,
hardUpdateGlobalsInstance,
eraseGlobalsInstance,
ru... | 23.125 | 52 | 0.759459 | 26 | 370 | 10.807692 | 0.692308 | 0.078292 | 0.099644 | 0.120996 | 0.170819 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186486 | 370 | 15 | 53 | 24.666667 | 0.933555 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.266667 | 0 | 0.266667 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 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 | 3 |
0c685ea0014742dd34588e7e68033bc013c7a4ac | 15,191 | py | Python | components/charts.py | gabrielmlg/finance-app | d099812c857da1a677ccafae0ceb2f00fde33925 | [
"MIT"
] | 3 | 2020-12-30T15:14:25.000Z | 2021-04-22T20:12:32.000Z | components/charts.py | gabrielmlg/finance-app | d099812c857da1a677ccafae0ceb2f00fde33925 | [
"MIT"
] | 14 | 2020-12-29T00:34:41.000Z | 2021-07-05T13:26:28.000Z | components/charts.py | gabrielmlg/finance-app | d099812c857da1a677ccafae0ceb2f00fde33925 | [
"MIT"
] | null | null | null | #from _plotly_utils.colors.carto import Sunset
import plotly.graph_objs as go
from plotly.subplots import make_subplots
import dash_core_components as dcc
import plotly.express as px
import numpy as np
# Colors
color_list = px.colors.qualitative.Light24
colors = [
'#694AF0', '#4D5CFA', '#4F63E6', #f92424
'#52... | 27.078431 | 77 | 0.465407 | 1,609 | 15,191 | 4.275326 | 0.170914 | 0.026167 | 0.021805 | 0.032708 | 0.734118 | 0.708969 | 0.703881 | 0.695305 | 0.688181 | 0.682512 | 0 | 0.04191 | 0.381147 | 15,191 | 561 | 78 | 27.078431 | 0.68982 | 0.093476 | 0 | 0.591584 | 0 | 0 | 0.109399 | 0.003067 | 0 | 0 | 0 | 0.001783 | 0 | 1 | 0.029703 | false | 0 | 0.012376 | 0 | 0.071782 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 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 | 3 |
0c6af1dc6989015c4ca2222848a2ee1550c49510 | 610 | py | Python | tests/fixtures/pluginsystem/plugins/tmuxp_test_plugin_owc/tmuxp_test_plugin_owc/plugin.py | otherJL0/tmuxp | 52d9c0d3c13556fd5d6ffdb3125fcf3afd0e845d | [
"MIT"
] | 1,615 | 2015-01-05T19:31:48.000Z | 2018-03-09T08:09:20.000Z | tests/fixtures/pluginsystem/plugins/tmuxp_test_plugin_owc/tmuxp_test_plugin_owc/plugin.py | sthagen/tmuxp | 1c8bfaec3d4f622c4fbc717a873279046c40a664 | [
"MIT"
] | 244 | 2015-02-13T16:24:53.000Z | 2018-03-10T05:15:33.000Z | tests/fixtures/pluginsystem/plugins/tmuxp_test_plugin_owc/tmuxp_test_plugin_owc/plugin.py | otherJL0/tmuxp | 52d9c0d3c13556fd5d6ffdb3125fcf3afd0e845d | [
"MIT"
] | 118 | 2015-01-16T13:47:39.000Z | 2018-02-07T21:35:31.000Z | from tmuxp.plugin import TmuxpPlugin
class PluginOnWindowCreate(TmuxpPlugin):
def __init__(self):
self.message = "[+] This is the Tmuxp Test Plugin"
def on_window_create(self, window):
if window.name == "editor":
window.rename_window("plugin_test_owc")
elif window.name == ... | 32.105263 | 58 | 0.632787 | 76 | 610 | 4.723684 | 0.381579 | 0.111421 | 0.200557 | 0.200557 | 0.398329 | 0.398329 | 0.183844 | 0 | 0 | 0 | 0 | 0.004454 | 0.263934 | 610 | 18 | 59 | 33.888889 | 0.7951 | 0 | 0 | 0 | 0 | 0 | 0.219672 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.133333 | false | 0.066667 | 0.066667 | 0 | 0.266667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
0c6b20999d4c22ea405220d683fb441f1d9df472 | 1,137 | py | Python | tests/pytest_scons/framework/scons_qmtest.py | ASoftTech/Scons.Gbd.Docs | 4d9fb7585d9565f57306774efb4342fe9b8822f2 | [
"MIT"
] | null | null | null | tests/pytest_scons/framework/scons_qmtest.py | ASoftTech/Scons.Gbd.Docs | 4d9fb7585d9565f57306774efb4342fe9b8822f2 | [
"MIT"
] | null | null | null | tests/pytest_scons/framework/scons_qmtest.py | ASoftTech/Scons.Gbd.Docs | 4d9fb7585d9565f57306774efb4342fe9b8822f2 | [
"MIT"
] | null | null | null | """
This acts as a wrapper around the original SCons testing framework
so that we can use it from pytest as a fixture
The original TestSCons files have been updated in terms of fomatting
to bring them inline with pep8, although I suspect a re-write may be in order.
* There's a bit too much code bundled into one cla... | 40.607143 | 95 | 0.751979 | 198 | 1,137 | 4.30303 | 0.606061 | 0.023474 | 0.018779 | 0.028169 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002198 | 0.199648 | 1,137 | 27 | 96 | 42.111111 | 0.934066 | 0.887423 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
0c796825673ff2e4130b8c76d4d8e48f37969e97 | 154 | py | Python | www/speed/benchmarks/set_dict_item.py | user202729/brython | f07ad4a3d69b752385357a30d18f671e9febf26d | [
"BSD-3-Clause"
] | 3 | 2020-05-07T15:44:33.000Z | 2021-11-13T15:15:55.000Z | www/speed/benchmarks/set_dict_item.py | SungBeom/BBAM_Brython | 107036ad20a94af1d43e5ce5bd7c73e6a470d687 | [
"BSD-3-Clause"
] | null | null | null | www/speed/benchmarks/set_dict_item.py | SungBeom/BBAM_Brython | 107036ad20a94af1d43e5ce5bd7c73e6a470d687 | [
"BSD-3-Clause"
] | 2 | 2021-02-14T15:20:06.000Z | 2021-11-13T15:15:58.000Z | a = {0:0}
for i in range(1000000):
a[0] = i
assert a[0]==999999
JS_CODE = '''
var a = {0: 0}
for (var i = 0; i < 1000000; i++) {
a[0] = i
}
'''
| 9.625 | 35 | 0.461039 | 31 | 154 | 2.258065 | 0.387097 | 0.142857 | 0.085714 | 0.171429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.256881 | 0.292208 | 154 | 15 | 36 | 10.266667 | 0.385321 | 0 | 0 | 0.2 | 0 | 0 | 0.422078 | 0 | 0 | 0 | 0 | 0 | 0.1 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0c83e56748ef4af98a9b69d13c1dd9208f93e5fb | 577 | py | Python | scripts/parse_covid_data.py | eugenet12/covidresearchviewer | 1e86ba385efe35b1e4d406ef516158b34726bea5 | [
"MIT"
] | null | null | null | scripts/parse_covid_data.py | eugenet12/covidresearchviewer | 1e86ba385efe35b1e4d406ef516158b34726bea5 | [
"MIT"
] | 1 | 2022-02-27T09:48:05.000Z | 2022-02-27T09:48:05.000Z | scripts/parse_covid_data.py | eugenet12/covidresearchviewer | 1e86ba385efe35b1e4d406ef516158b34726bea5 | [
"MIT"
] | null | null | null | # TODO: have code to generate and update web data
import logging
import os
import sys
logging.basicConfig(
format='%(asctime)s %(levelname)-8s %(message)s',
level=logging.INFO,
datefmt='%Y-%m-%d %H:%M:%S')
# load local libraries
sys.path.append("/home/ubuntu/capstone_corona_search/modules")
import covid_do... | 27.47619 | 62 | 0.750433 | 86 | 577 | 4.732558 | 0.604651 | 0.088452 | 0.103194 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002004 | 0.135182 | 577 | 20 | 63 | 28.85 | 0.813627 | 0.117851 | 0 | 0 | 1 | 0 | 0.211462 | 0.08498 | 0 | 0 | 0 | 0.05 | 0 | 1 | 0 | false | 0 | 0.375 | 0 | 0.375 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
0c85f56f0c4d8bdf10e15e8db437d1dea87819f8 | 2,077 | py | Python | API.py | Sahil-Ansari-99/Micro_Mouse_Simulator | 3cc60d185159f9030cc20d318506df1f4d3dec94 | [
"MIT"
] | null | null | null | API.py | Sahil-Ansari-99/Micro_Mouse_Simulator | 3cc60d185159f9030cc20d318506df1f4d3dec94 | [
"MIT"
] | null | null | null | API.py | Sahil-Ansari-99/Micro_Mouse_Simulator | 3cc60d185159f9030cc20d318506df1f4d3dec94 | [
"MIT"
] | 1 | 2021-05-06T17:10:06.000Z | 2021-05-06T17:10:06.000Z | import sys
class MouseCrashedError(Exception):
pass
def log(string):
sys.stderr.write("{}\n".format(string))
sys.stderr.flush()
def command(args, return_type=None):
line = " ".join([str(x) for x in args]) + "\n"
sys.stdout.write(line)
sys.stdout.flush()
if return_type:
response = ... | 25.024096 | 69 | 0.66442 | 262 | 2,077 | 5.209924 | 0.29771 | 0.161172 | 0.074725 | 0.049817 | 0.032234 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179586 | 2,077 | 82 | 70 | 25.329268 | 0.801056 | 0.059701 | 0 | 0 | 0 | 0 | 0.095897 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.362069 | false | 0.017241 | 0.017241 | 0.103448 | 0.534483 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
0c9668c674a1581e180b2dce29ef52aba224b110 | 633 | py | Python | utils.py | dortirosh1/PyTorch-VAE | 65e5e678ff6f42cb06c251574fce3e2422bc53b6 | [
"Apache-2.0"
] | null | null | null | utils.py | dortirosh1/PyTorch-VAE | 65e5e678ff6f42cb06c251574fce3e2422bc53b6 | [
"Apache-2.0"
] | null | null | null | utils.py | dortirosh1/PyTorch-VAE | 65e5e678ff6f42cb06c251574fce3e2422bc53b6 | [
"Apache-2.0"
] | null | null | null | import pytorch_lightning as pl
## Utils to handle newer PyTorch Lightning changes from version 0.6
## ==================================================================================================== ##
def data_loader(fn):
"""
Decorator to handle the deprecation of data_loader from 0.7
:param fn: Us... | 27.521739 | 106 | 0.538705 | 76 | 633 | 4.394737 | 0.473684 | 0.149701 | 0.080838 | 0.095808 | 0.143713 | 0.143713 | 0.143713 | 0 | 0 | 0 | 0 | 0.020619 | 0.233807 | 633 | 22 | 107 | 28.772727 | 0.668041 | 0.665087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0.2 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
0ca6626b3d9b79aa2c043c47f19422e8239599c7 | 124 | py | Python | web/apps/services/apps.py | vitaliyharchenko/django_template | 41fa00cb0b8be6c5cf67b7a334d4340163255160 | [
"MIT"
] | null | null | null | web/apps/services/apps.py | vitaliyharchenko/django_template | 41fa00cb0b8be6c5cf67b7a334d4340163255160 | [
"MIT"
] | 1 | 2018-02-02T20:25:41.000Z | 2018-02-02T20:25:41.000Z | web/apps/services/apps.py | vitaliyharchenko/django_template | 41fa00cb0b8be6c5cf67b7a334d4340163255160 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class ServicesConfig(AppConfig):
name = "apps.services"
verbose_name = "Услуги"
| 17.714286 | 33 | 0.733871 | 14 | 124 | 6.428571 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177419 | 124 | 6 | 34 | 20.666667 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0.153226 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
0caafd413b1e1d86fb565d4eb30ceb35b089bfae | 23 | py | Python | venv/Lib/site-packages/sns/__init__.py | xinkangli/graphical-user-interface | b511982af37a3c3977dbb75713ee0df983a32aae | [
"MIT"
] | null | null | null | venv/Lib/site-packages/sns/__init__.py | xinkangli/graphical-user-interface | b511982af37a3c3977dbb75713ee0df983a32aae | [
"MIT"
] | null | null | null | venv/Lib/site-packages/sns/__init__.py | xinkangli/graphical-user-interface | b511982af37a3c3977dbb75713ee0df983a32aae | [
"MIT"
] | null | null | null | __author__ = 'bcullen'
| 11.5 | 22 | 0.73913 | 2 | 23 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 23 | 1 | 23 | 23 | 0.65 | 0 | 0 | 0 | 0 | 0 | 0.304348 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 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 | 3 |
0cb039405b32f9cc07f59523972625fc657685a5 | 650 | py | Python | raiden/utils/debugging.py | christianbrb/raiden | 64f0715af076747b293671157e2cbbd235cab81b | [
"MIT"
] | null | null | null | raiden/utils/debugging.py | christianbrb/raiden | 64f0715af076747b293671157e2cbbd235cab81b | [
"MIT"
] | 1 | 2019-12-06T16:34:40.000Z | 2019-12-06T16:34:40.000Z | raiden/utils/debugging.py | jomuel/raiden | 8e3a1e57ebc112171cc6236e09657f32a89f8f3b | [
"MIT"
] | null | null | null | from typing import Any
def enable_gevent_monitoring_signal() -> None:
""" Install a signal handler for SIGUSR1 that executes gevent.util.print_run_info().
This can help evaluating the gevent greenlet tree.
See http://www.gevent.org/monitoring.html for more information.
Usage:
pytest [...]
... | 30.952381 | 95 | 0.686154 | 87 | 650 | 5.011494 | 0.655172 | 0.068807 | 0.068807 | 0.082569 | 0.100917 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005906 | 0.218462 | 650 | 20 | 96 | 32.5 | 0.852362 | 0.536923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.428571 | 0 | 0.714286 | 0.142857 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
0cb258ee39ddb9d3c9be255f309eea0b66db14c3 | 3,100 | py | Python | tests/threads/test_dealer_dealer.py | calcite/zmq_tubes | ab501639b310f818a85b4fa190f3a70ae28390ff | [
"MIT"
] | 1 | 2021-10-07T11:29:02.000Z | 2021-10-07T11:29:02.000Z | tests/threads/test_dealer_dealer.py | calcite/tubes | ab501639b310f818a85b4fa190f3a70ae28390ff | [
"MIT"
] | null | null | null | tests/threads/test_dealer_dealer.py | calcite/tubes | ab501639b310f818a85b4fa190f3a70ae28390ff | [
"MIT"
] | null | null | null | import time
import zmq
from ..helpers import run_test_threads, cleanup_threads, wrapp
from zmq_tubes.threads import Tube, TubeNode, TubeMessage
ADDR = 'ipc:///tmp/dealer_dealer.pipe'
TOPIC = 'req'
@cleanup_threads
def test_dealer_dealer():
data = ['request-DEALER1_REQ-0', 'request-DEALER1_REQ-1',
'... | 27.927928 | 74 | 0.623226 | 375 | 3,100 | 4.885333 | 0.149333 | 0.078057 | 0.049127 | 0.072052 | 0.789301 | 0.762555 | 0.726528 | 0.671397 | 0.671397 | 0.621179 | 0 | 0.029361 | 0.252903 | 3,100 | 110 | 75 | 28.181818 | 0.761658 | 0 | 0 | 0.590909 | 0 | 0 | 0.13871 | 0.063548 | 0 | 0 | 0 | 0 | 0.045455 | 1 | 0.090909 | false | 0 | 0.045455 | 0 | 0.136364 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 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 | 3 |
0cd33ef0f0eebe20b2b6d1da87bcdf71b8821240 | 24,937 | py | Python | BaseTools/Source/Python/UPT/Object/POM/CommonObject.py | KaoTuz/edk2-stable202108 | 49d9306e7bf64b2f07d8473be1f2faea49d0a012 | [
"Python-2.0",
"Zlib",
"BSD-2-Clause",
"MIT",
"BSD-2-Clause-Patent",
"BSD-3-Clause"
] | 9 | 2021-07-26T17:02:51.000Z | 2021-12-30T10:49:46.000Z | BaseTools/Source/Python/UPT/Object/POM/CommonObject.py | ESdove/edk2_exploring | 34ff32b45f43d233d9696e7c8e3de68ea3000a7b | [
"Python-2.0",
"Zlib",
"BSD-2-Clause",
"MIT",
"BSD-2-Clause-Patent",
"BSD-3-Clause"
] | null | null | null | BaseTools/Source/Python/UPT/Object/POM/CommonObject.py | ESdove/edk2_exploring | 34ff32b45f43d233d9696e7c8e3de68ea3000a7b | [
"Python-2.0",
"Zlib",
"BSD-2-Clause",
"MIT",
"BSD-2-Clause-Patent",
"BSD-3-Clause"
] | null | null | null | ## @file
# This file is used to define common items of class object
#
# Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.<BR>
#
# SPDX-License-Identifier: BSD-2-Clause-Patent
'''
Common Object
'''
from Library.DataType import TAB_LANGUAGE_EN_US
## HelpTextObject
#
# @param object: Inherited fro... | 26.139413 | 79 | 0.660785 | 2,284 | 24,937 | 7.14711 | 0.156743 | 0.056971 | 0.076329 | 0.021135 | 0.288839 | 0.253737 | 0.231132 | 0.210304 | 0.202769 | 0.198603 | 0 | 0.000812 | 0.259133 | 24,937 | 953 | 80 | 26.166842 | 0.88276 | 0.171633 | 0 | 0.247834 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.362218 | false | 0.001733 | 0.001733 | 0.154246 | 0.580589 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
0cde54e577b782e8244d95adabf4df42cf6b05bb | 99,595 | py | Python | tests/examples/minlplib/pooling_foulds3pq.py | ouyang-w-19/decogo | 52546480e49776251d4d27856e18a46f40c824a1 | [
"MIT"
] | 2 | 2021-07-03T13:19:10.000Z | 2022-02-06T10:48:13.000Z | tests/examples/minlplib/pooling_foulds3pq.py | ouyang-w-19/decogo | 52546480e49776251d4d27856e18a46f40c824a1 | [
"MIT"
] | 1 | 2021-07-04T14:52:14.000Z | 2021-07-15T10:17:11.000Z | tests/examples/minlplib/pooling_foulds3pq.py | ouyang-w-19/decogo | 52546480e49776251d4d27856e18a46f40c824a1 | [
"MIT"
] | null | null | null | # NLP written by GAMS Convert at 04/21/18 13:53:10
#
# Equation counts
# Total E G L N X C B
# 572 521 0 51 0 0 0 0
#
# Variable counts
# x b i s1s s2s sc ... | 47.06758 | 120 | 0.591506 | 19,478 | 99,595 | 3.024489 | 0.068539 | 0.040705 | 0.159699 | 0.228141 | 0.645414 | 0.479605 | 0.479503 | 0.479367 | 0.479367 | 0.091528 | 0 | 0.246016 | 0.189166 | 99,595 | 2,115 | 121 | 47.089835 | 0.483487 | 0.006808 | 0 | 0.022354 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.000657 | 0 | 0.000657 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0cf8dc4dd03ea15117d8c42120832784244cfa35 | 659 | py | Python | submissions/migrations/0012_auto_20211201_2208.py | annalee/alienplan | b54722d683a5e8eba03f4467a367bcf24339bb32 | [
"MIT"
] | 5 | 2018-07-23T13:44:33.000Z | 2021-12-24T20:13:57.000Z | submissions/migrations/0012_auto_20211201_2208.py | annalee/alienplan | b54722d683a5e8eba03f4467a367bcf24339bb32 | [
"MIT"
] | 25 | 2018-02-11T00:02:08.000Z | 2021-07-06T22:35:30.000Z | submissions/migrations/0012_auto_20211201_2208.py | annalee/alienplan | b54722d683a5e8eba03f4467a367bcf24339bb32 | [
"MIT"
] | 1 | 2021-12-02T14:48:15.000Z | 2021-12-02T14:48:15.000Z | # Generated by Django 2.2.4 on 2021-12-01 22:08
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('submissions', '0011_auto_20211201_2205'),
]
operations = [
migrations.RenameField(
model_name='panel',
old_name='con_fk',
... | 22.724138 | 51 | 0.549317 | 64 | 659 | 5.421875 | 0.546875 | 0.181556 | 0.224784 | 0.259366 | 0.423631 | 0.423631 | 0.423631 | 0.340058 | 0.340058 | 0.340058 | 0 | 0.071264 | 0.339909 | 659 | 28 | 52 | 23.535714 | 0.726437 | 0.068285 | 0 | 0.545455 | 1 | 0 | 0.169935 | 0.037582 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.045455 | 0 | 0.181818 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0cf99af7f6f8a5f6d525648cce28ac5a2dbeba92 | 187 | py | Python | backend/vote/urls.py | dzhfrv/dzhfrv-starn | cae3261ed85653643032218c4a2f2cd273ff47ae | [
"MIT"
] | null | null | null | backend/vote/urls.py | dzhfrv/dzhfrv-starn | cae3261ed85653643032218c4a2f2cd273ff47ae | [
"MIT"
] | 5 | 2021-03-19T01:23:20.000Z | 2021-09-22T18:48:54.000Z | backend/vote/urls.py | dzhfrv/dzhfrv-starn | cae3261ed85653643032218c4a2f2cd273ff47ae | [
"MIT"
] | 1 | 2020-04-01T12:37:00.000Z | 2020-04-01T12:37:00.000Z | from rest_framework.routers import SimpleRouter
from .views import VoteManager
router = SimpleRouter()
router.register('votes', VoteManager, basename='posts')
urlpatterns = router.urls
| 23.375 | 55 | 0.807487 | 21 | 187 | 7.142857 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101604 | 187 | 7 | 56 | 26.714286 | 0.892857 | 0 | 0 | 0 | 0 | 0 | 0.053476 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
0cfabc73b68f4d90c2650b7289eb33568ebdc9c7 | 1,437 | py | Python | broker/tests/test_broker_slip.py | SbastianGarzon/o2r-meta | ec5f7c6d432cbb43ab7df2985fc502e60fe7bcff | [
"Apache-2.0"
] | 2 | 2017-06-28T14:47:57.000Z | 2020-11-10T01:59:11.000Z | broker/tests/test_broker_slip.py | SbastianGarzon/o2r-meta | ec5f7c6d432cbb43ab7df2985fc502e60fe7bcff | [
"Apache-2.0"
] | 95 | 2016-07-14T13:21:52.000Z | 2021-04-08T12:51:53.000Z | broker/tests/test_broker_slip.py | SbastianGarzon/o2r-meta | ec5f7c6d432cbb43ab7df2985fc502e60fe7bcff | [
"Apache-2.0"
] | 4 | 2016-07-21T12:16:37.000Z | 2021-10-04T13:31:40.000Z | # pylint: skip-file
import os
import json
def test_package_slip(script_runner, tmpdir):
output_file = os.path.join(str(tmpdir), 'package_slip.json')
ret = script_runner.run('python3', 'o2rmeta.py',
'-debug',
'broker',
'-m', 'broker/mappings/zenodo-map.json',
'-i', 'broker/tests... | 36.846154 | 70 | 0.622129 | 174 | 1,437 | 5.028736 | 0.321839 | 0.155429 | 0.192 | 0.100571 | 0.818286 | 0.747429 | 0.580571 | 0.580571 | 0.580571 | 0.580571 | 0 | 0.016351 | 0.191371 | 1,437 | 38 | 71 | 37.815789 | 0.736661 | 0.01183 | 0 | 0.533333 | 0 | 0 | 0.359662 | 0.105078 | 0 | 0 | 0 | 0 | 0.4 | 1 | 0.033333 | false | 0 | 0.066667 | 0 | 0.1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
4901e90982fcb5a8203d8270d367a55355b52efb | 1,077 | py | Python | utils/print_config.py | JMB-McFarlane/SLICE | e3cbcc0058975e6562c0e10cbb1a4b11376fa28b | [
"MIT"
] | null | null | null | utils/print_config.py | JMB-McFarlane/SLICE | e3cbcc0058975e6562c0e10cbb1a4b11376fa28b | [
"MIT"
] | null | null | null | utils/print_config.py | JMB-McFarlane/SLICE | e3cbcc0058975e6562c0e10cbb1a4b11376fa28b | [
"MIT"
] | null | null | null | """ Prints information about the configuration file. Throw in some cool ASCII shit here."""
def ASCII_crap():
print("""
_____ _ _____ _____ _____
/ ___| | |_ _/ __ \| ___|
\ `--.| | | | | / \/| |__ McFarlane, Henderson, Krause, Paci. 2020
... | 43.08 | 99 | 0.54039 | 84 | 1,077 | 5.202381 | 0.440476 | 0.08238 | 0.146453 | 0.19222 | 0.366133 | 0.366133 | 0.299771 | 0.299771 | 0.299771 | 0.299771 | 0 | 0.005305 | 0.299907 | 1,077 | 24 | 100 | 44.875 | 0.574271 | 0.077994 | 0 | 0.117647 | 0 | 0 | 0.643655 | 0.081218 | 0 | 0 | 0 | 0 | 0 | 1 | 0.117647 | false | 0 | 0 | 0 | 0.117647 | 0.470588 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
49036207db75aac86d45517b4bcfc370caf13b5d | 334 | py | Python | app/main/forms.py | alanseed/cape-grim-dashboard | 432852b09db91823aee628a1550b6a936ceb64e2 | [
"MIT"
] | null | null | null | app/main/forms.py | alanseed/cape-grim-dashboard | 432852b09db91823aee628a1550b6a936ceb64e2 | [
"MIT"
] | null | null | null | app/main/forms.py | alanseed/cape-grim-dashboard | 432852b09db91823aee628a1550b6a936ceb64e2 | [
"MIT"
] | null | null | null | # WTF Form to manage date requests
from flask_wtf import FlaskForm
from wtforms import SubmitField
from wtforms.fields.datetime import DateField
from wtforms.widgets.core import DateInput
class DateForm(FlaskForm):
date = DateField(label='Chart Date',validators=[DateInput()],id='dateField')
submit=SubmitField... | 37.111111 | 80 | 0.784431 | 42 | 334 | 6.214286 | 0.595238 | 0.126437 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128743 | 334 | 9 | 81 | 37.111111 | 0.896907 | 0.095808 | 0 | 0 | 0 | 0 | 0.083333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.571429 | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 0 | 3 |
490433d88366976f3075b7afca0c47ee433a85ac | 133 | py | Python | tjson/types/string.py | marioidival/tjson-python | 84b9d71724039f49ccc8036411b875e3aef97385 | [
"MIT"
] | null | null | null | tjson/types/string.py | marioidival/tjson-python | 84b9d71724039f49ccc8036411b875e3aef97385 | [
"MIT"
] | null | null | null | tjson/types/string.py | marioidival/tjson-python | 84b9d71724039f49ccc8036411b875e3aef97385 | [
"MIT"
] | null | null | null | from tjson import ParseError
def parse(value):
if ':s' not in value:
raise ParseError
return value.split(':s')[0]
| 14.777778 | 31 | 0.631579 | 19 | 133 | 4.421053 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010101 | 0.255639 | 133 | 8 | 32 | 16.625 | 0.838384 | 0 | 0 | 0 | 0 | 0 | 0.030075 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
0b4e68eed550232a610b2d353c2eba82a71cc949 | 574 | py | Python | Aula_34/Controller/pessoa_controller.py | Mateus-Silva11/AulasPython | d34dc4f62ade438e68b0a80e0baac4d6ec0d378e | [
"MIT"
] | null | null | null | Aula_34/Controller/pessoa_controller.py | Mateus-Silva11/AulasPython | d34dc4f62ade438e68b0a80e0baac4d6ec0d378e | [
"MIT"
] | null | null | null | Aula_34/Controller/pessoa_controller.py | Mateus-Silva11/AulasPython | d34dc4f62ade438e68b0a80e0baac4d6ec0d378e | [
"MIT"
] | null | null | null | import sys
sys.path.append('C:/Users/900148/Desktop/GitHub/AulasPython/Aula_34')
from Dao.pessoa_dao import PessoaDao
from Model.pessoa import Pessoa
class PessoaConreoller:
dao = PessoaDao()
def listar_todos(self):
return self.dao.listar_todos()
def buscar_por_id(self):
return self.dao.... | 22.076923 | 69 | 0.686411 | 78 | 574 | 4.923077 | 0.384615 | 0.091146 | 0.101563 | 0.088542 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01766 | 0.210801 | 574 | 26 | 70 | 22.076923 | 0.830022 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 0.086957 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3125 | false | 0 | 0.1875 | 0.1875 | 0.8125 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
0b5b47f341d7c4b1425175b58f6b8b7f5b08a8c4 | 472 | py | Python | systemfixtures/groups.py | alejdg/systemfixtures | d1c42d83c3dca2a36b52e8fc214639ebcb1cd8a1 | [
"MIT"
] | 13 | 2017-01-24T15:25:47.000Z | 2022-01-06T23:56:06.000Z | systemfixtures/groups.py | cjwatson/systemfixtures | 6ff52e224585d8fab2908dc08a22fe36dcaf93d4 | [
"MIT"
] | 10 | 2017-03-08T09:36:01.000Z | 2022-02-09T11:08:00.000Z | systemfixtures/groups.py | cjwatson/systemfixtures | 6ff52e224585d8fab2908dc08a22fe36dcaf93d4 | [
"MIT"
] | 5 | 2017-03-08T09:30:51.000Z | 2022-02-05T23:22:25.000Z | import grp
from fixtures import Fixture
from ._overlay import Overlay
class FakeGroups(Fixture):
def _setUp(self):
self._groups = {}
self.useFixture(Overlay("grp.getgrnam", self._getgrnam, self._is_fake))
def add(self, name, gid):
self._groups[name] = ("x", gid, [])
def _getgr... | 21.454545 | 79 | 0.644068 | 61 | 472 | 4.770492 | 0.409836 | 0.137457 | 0.09622 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.228814 | 472 | 21 | 80 | 22.47619 | 0.799451 | 0 | 0 | 0 | 0 | 0 | 0.027542 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.307692 | false | 0 | 0.230769 | 0.153846 | 0.769231 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
0b6ccce80e83f8263180654ae08284ffdb76bd70 | 703 | py | Python | 01-Lesson-Plans/15-Algorithmic-Trading/2/Activities/02-Evr_Algo_Trading_Framework/Unsolved/jarvis.py | tatianegercina/FinTech | b40687aa362d78674e223eb15ecf14bc59f90b62 | [
"ADSL"
] | 1 | 2021-04-13T07:14:34.000Z | 2021-04-13T07:14:34.000Z | 01-Lesson-Plans/15-Algorithmic-Trading/2/Activities/02-Evr_Algo_Trading_Framework/Unsolved/jarvis.py | tatianegercina/FinTech | b40687aa362d78674e223eb15ecf14bc59f90b62 | [
"ADSL"
] | 2 | 2021-06-02T03:14:19.000Z | 2022-02-11T23:21:24.000Z | 01-Lesson-Plans/15-Algorithmic-Trading/2/Activities/02-Evr_Algo_Trading_Framework/Unsolved/jarvis.py | tatianegercina/FinTech | b40687aa362d78674e223eb15ecf14bc59f90b62 | [
"ADSL"
] | 1 | 2021-05-07T13:26:50.000Z | 2021-05-07T13:26:50.000Z | def initialize():
"""Initialize the dashboard, data storage, and account balances."""
return
def build_dashboard():
"""Build the dashboard."""
return
def fetch_data():
"""Fetches the latest prices."""
return
def generate_signals():
"""Generates trading signals for a given dataset."""
... | 20.085714 | 71 | 0.655761 | 79 | 703 | 5.734177 | 0.556962 | 0.15894 | 0.07947 | 0.092715 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 703 | 35 | 72 | 20.085714 | 0.816216 | 0.439545 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
0b8ee485a933ec23a4a1249fe693ee168ec51f94 | 2,708 | py | Python | mainapp/migrations/0097_auto_20190810_1757.py | raeeska/rescuekerala | 649070cd051e0bf2ef54549c96493d5c4c5d89c9 | [
"MIT"
] | 1 | 2018-08-21T15:06:21.000Z | 2018-08-21T15:06:21.000Z | mainapp/migrations/0097_auto_20190810_1757.py | pranavmodx/rescuekerala | dd75a06b191b39ff4bdcd8e42d61c98a6509f052 | [
"MIT"
] | null | null | null | mainapp/migrations/0097_auto_20190810_1757.py | pranavmodx/rescuekerala | dd75a06b191b39ff4bdcd8e42d61c98a6509f052 | [
"MIT"
] | 5 | 2019-11-07T11:34:56.000Z | 2019-11-07T11:36:00.000Z | # Generated by Django 2.1.2 on 2019-08-10 12:27
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('mainapp', '0096_auto_20190810_1159'),
]
operations = [
migrations.AlterField(
model_name='rescuecamp',
name='taluk',... | 142.526316 | 2,369 | 0.649926 | 214 | 2,708 | 8.214953 | 0.574766 | 0.010239 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013547 | 0.100443 | 2,708 | 18 | 2,370 | 150.444444 | 0.706486 | 0.016617 | 0 | 0 | 1 | 0 | 0.588876 | 0.008643 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0b98ea8bdcd68446270c98350cf5b56933a52af6 | 110 | py | Python | tests/test3.py | Cavenfish/qmspy | 4ac6191b22d606ce007b5fb7b75a3c0734b41a70 | [
"MIT"
] | null | null | null | tests/test3.py | Cavenfish/qmspy | 4ac6191b22d606ce007b5fb7b75a3c0734b41a70 | [
"MIT"
] | null | null | null | tests/test3.py | Cavenfish/qmspy | 4ac6191b22d606ce007b5fb7b75a3c0734b41a70 | [
"MIT"
] | null | null | null | import qmspy as qp
data = './Data.csv'
#Add Colors and Markers columns to DataFrame
df = qp.add_style(data)
| 15.714286 | 44 | 0.727273 | 19 | 110 | 4.157895 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172727 | 110 | 6 | 45 | 18.333333 | 0.868132 | 0.390909 | 0 | 0 | 0 | 0 | 0.151515 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
0baa083d2882851efac1329c7a88682d67910d1f | 83 | py | Python | src/masonite/facades/RateLimiter.py | josephmancuso/masonite | e9ed31331268bd4966609fbc1e5c55afa5cb0a79 | [
"MIT"
] | 35 | 2018-01-08T01:20:16.000Z | 2018-02-06T02:37:14.000Z | src/masonite/facades/RateLimiter.py | josephmancuso/masonite | e9ed31331268bd4966609fbc1e5c55afa5cb0a79 | [
"MIT"
] | 55 | 2018-01-03T02:42:03.000Z | 2018-02-06T13:35:54.000Z | src/masonite/facades/RateLimiter.py | josephmancuso/masonite | e9ed31331268bd4966609fbc1e5c55afa5cb0a79 | [
"MIT"
] | 4 | 2018-01-08T13:13:14.000Z | 2018-01-12T19:35:32.000Z | from .Facade import Facade
class RateLimiter(metaclass=Facade):
key = "rate"
| 13.833333 | 36 | 0.722892 | 10 | 83 | 6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180723 | 83 | 5 | 37 | 16.6 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0.048193 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
0baac47e920fdf9c367c59543e0054acc7644037 | 118 | py | Python | t12.py | tarunagarwal99/python | 13dbf4c4226430a3436d91d60f234827a05a6e0e | [
"MIT"
] | null | null | null | t12.py | tarunagarwal99/python | 13dbf4c4226430a3436d91d60f234827a05a6e0e | [
"MIT"
] | null | null | null | t12.py | tarunagarwal99/python | 13dbf4c4226430a3436d91d60f234827a05a6e0e | [
"MIT"
] | null | null | null | import calendar
year=int(input("enter year:"))
month=int(input("enter month:"))
print(calendar.month(year,month))
| 23.6 | 34 | 0.720339 | 17 | 118 | 5 | 0.470588 | 0.188235 | 0.305882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09322 | 118 | 4 | 35 | 29.5 | 0.794393 | 0 | 0 | 0 | 0 | 0 | 0.201754 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0.25 | 1 | 0 | 0 | null | 0 | 1 | 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 | 3 |
e7ea82cb713b4b3a6bfa19c587509ce09d65b2ac | 655 | py | Python | cride/circles/migrations/0002_auto_20200113_0310.py | jumar98/car-sharing | b428ccba737f354c1189f419e35e55a7af0c10ec | [
"MIT"
] | null | null | null | cride/circles/migrations/0002_auto_20200113_0310.py | jumar98/car-sharing | b428ccba737f354c1189f419e35e55a7af0c10ec | [
"MIT"
] | 2 | 2020-01-12T03:40:40.000Z | 2020-01-12T03:40:40.000Z | cride/circles/migrations/0002_auto_20200113_0310.py | jumar98/car-sharing | b428ccba737f354c1189f419e35e55a7af0c10ec | [
"MIT"
] | null | null | null | # Generated by Django 3.0.2 on 2020-01-13 03:10
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('circles', '0001_initial'),
]
operations = [
migrations.RenameField(
model_name='circle',
old_name='is_puclic',
n... | 22.586207 | 47 | 0.546565 | 64 | 655 | 5.359375 | 0.5625 | 0.183673 | 0.227405 | 0.262391 | 0.376093 | 0.376093 | 0.376093 | 0 | 0 | 0 | 0 | 0.044084 | 0.341985 | 655 | 28 | 48 | 23.392857 | 0.75174 | 0.068702 | 0 | 0.409091 | 1 | 0 | 0.164474 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.045455 | 0 | 0.181818 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
e7fa75d55525384e9834d2cfe035bfc17c377857 | 370 | py | Python | Practice/PythonApplication/LeetCode/General/Queue.py | kushalbhola/MyStuff | 3f1064866487e489af41f8662a875b9954d5d8b0 | [
"Apache-2.0"
] | null | null | null | Practice/PythonApplication/LeetCode/General/Queue.py | kushalbhola/MyStuff | 3f1064866487e489af41f8662a875b9954d5d8b0 | [
"Apache-2.0"
] | 1 | 2020-04-29T23:00:26.000Z | 2020-04-29T23:00:26.000Z | Practice/PythonApplication/LeetCode/General/Queue.py | kushalbhola/MyStuff | 3f1064866487e489af41f8662a875b9954d5d8b0 | [
"Apache-2.0"
] | null | null | null |
class Queue():
def __init__(self):
self.items = []
def enqueue(self, item):
self.items.append(item)
def dequeue(self):
return self.items.pop(0)
def getQueue(self):
return self.items
q = Queue()
q.enqueue("A")
q.enqueue("B")
q.enqueue("C")
q.enqueue("D")
test1 = q.dequeue... | 18.5 | 32 | 0.602703 | 53 | 370 | 4.132075 | 0.415094 | 0.164384 | 0.127854 | 0.173516 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017422 | 0.224324 | 370 | 19 | 33 | 19.473684 | 0.745645 | 0 | 0 | 0 | 0 | 0 | 0.01084 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0 | 0.111111 | 0.388889 | 0.111111 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
f01578e4d4620d3f1e82a65a14d47e58f0431f24 | 724 | py | Python | schools/migrations/0005_auto_20211112_1053.py | sta-k/djangoceleryscrapper | 204927012d11626eec71a97e6af2781358cf388b | [
"MIT"
] | 2 | 2021-11-10T04:40:33.000Z | 2021-11-10T10:40:57.000Z | schools/migrations/0005_auto_20211112_1053.py | sta-k/djangoceleryscrapper | 204927012d11626eec71a97e6af2781358cf388b | [
"MIT"
] | null | null | null | schools/migrations/0005_auto_20211112_1053.py | sta-k/djangoceleryscrapper | 204927012d11626eec71a97e6af2781358cf388b | [
"MIT"
] | null | null | null | # Generated by Django 3.2.8 on 2021-11-12 05:23
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('schools', '0004_celerytasks_desc'),
]
operations = [
migrations.AlterField(
model_name='school2',
name='national_man... | 24.965517 | 51 | 0.578729 | 70 | 724 | 5.828571 | 0.542857 | 0.147059 | 0.183824 | 0.213235 | 0.578431 | 0.578431 | 0.480392 | 0.352941 | 0.352941 | 0.352941 | 0 | 0.062124 | 0.310773 | 724 | 28 | 52 | 25.857143 | 0.755511 | 0.062155 | 0 | 0.545455 | 1 | 0 | 0.140325 | 0.031019 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.045455 | 0 | 0.181818 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
f019049e85f7d8f33bed8ebf78b12922c9190bbe | 171 | py | Python | pylaut/data/shap/Everywhere/Proto-Martial/make_shap_phon.py | defseg/PyLaut | e0d84d49189aceffdfaf8ccd94f16f4797dbbd80 | [
"MIT"
] | 4 | 2015-01-05T19:28:16.000Z | 2019-09-01T05:02:15.000Z | pylaut/data/shap/Everywhere/Proto-Martial/make_shap_phon.py | defseg/PyLaut | e0d84d49189aceffdfaf8ccd94f16f4797dbbd80 | [
"MIT"
] | 153 | 2016-07-20T18:38:37.000Z | 2021-03-25T22:29:47.000Z | pylaut/data/shap/Everywhere/Proto-Martial/make_shap_phon.py | defseg/PyLaut | e0d84d49189aceffdfaf8ccd94f16f4797dbbd80 | [
"MIT"
] | 5 | 2015-01-05T19:28:21.000Z | 2019-04-22T16:40:19.000Z | from pylaut.phonology import Phonology
phonology = Phonology([
"p","t","k",
"b","d","g",
"f","θ","h",
"s","z","ʃ",
"r",
"i","u","ɯ","ə","a","ɒ"])
| 17.1 | 38 | 0.415205 | 26 | 171 | 2.730769 | 0.884615 | 0.507042 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 171 | 9 | 39 | 19 | 0.533835 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.125 | 0 | 0.125 | 0 | 1 | 0 | 0 | null | 1 | 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 | 3 |
f01defb995e99a7688675fa47acb22c2d4adc5a9 | 357 | py | Python | polling_stations/apps/data_importers/management/commands/import_amber_valley.py | smsmith97/UK-Polling-Stations | ecbd98cb99e89e97354da3960b0063aa36181b11 | [
"BSD-3-Clause"
] | 29 | 2015-03-10T08:41:34.000Z | 2022-01-12T08:51:38.000Z | polling_stations/apps/data_importers/management/commands/import_amber_valley.py | smsmith97/UK-Polling-Stations | ecbd98cb99e89e97354da3960b0063aa36181b11 | [
"BSD-3-Clause"
] | 4,112 | 2015-04-01T21:27:38.000Z | 2022-03-31T19:22:11.000Z | polling_stations/apps/data_importers/management/commands/import_amber_valley.py | smsmith97/UK-Polling-Stations | ecbd98cb99e89e97354da3960b0063aa36181b11 | [
"BSD-3-Clause"
] | 31 | 2015-03-18T14:52:50.000Z | 2022-02-24T10:31:07.000Z | from data_importers.management.commands import BaseDemocracyCountsCsvImporter
class Command(BaseDemocracyCountsCsvImporter):
council_id = "AMB"
addresses_name = "2021-03-16T14:36:13.602969/Democracy Club - Polling Districts.csv"
stations_name = "2021-03-16T14:36:13.602969/Democracy Club - Polling Stations... | 39.666667 | 88 | 0.773109 | 43 | 357 | 6.325581 | 0.674419 | 0.058824 | 0.073529 | 0.110294 | 0.330882 | 0.330882 | 0.330882 | 0.330882 | 0.330882 | 0.330882 | 0 | 0.153355 | 0.123249 | 357 | 8 | 89 | 44.625 | 0.715655 | 0 | 0 | 0 | 0 | 0 | 0.397759 | 0.201681 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1.166667 | 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 | 1 | 0 | 1 | 0 | 0 | 3 |
f01fff66ff18f8845d39e4792a9f4f4f103e209f | 120 | py | Python | TOPSIS_Divyanshu_101803542/__init__.py | dishu5312/Topsis | 83fd362558dd71b0c68f0ac8f9905f04a7022854 | [
"MIT"
] | null | null | null | TOPSIS_Divyanshu_101803542/__init__.py | dishu5312/Topsis | 83fd362558dd71b0c68f0ac8f9905f04a7022854 | [
"MIT"
] | null | null | null | TOPSIS_Divyanshu_101803542/__init__.py | dishu5312/Topsis | 83fd362558dd71b0c68f0ac8f9905f04a7022854 | [
"MIT"
] | null | null | null | # Hello World
"""
here i prsent the first ever package which i made
author :
Divyanshu Srivastava
101803542
Coe 24
""" | 12 | 49 | 0.741667 | 18 | 120 | 4.944444 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113402 | 0.191667 | 120 | 10 | 50 | 12 | 0.804124 | 0.925 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
f02b37d328c494e97961df732434002fbb0131a8 | 119 | py | Python | mfsapiapp/urls.py | lupamo3/django-points | 7dc943521c73de1728c5f96d529b16ae51de98e5 | [
"MIT"
] | null | null | null | mfsapiapp/urls.py | lupamo3/django-points | 7dc943521c73de1728c5f96d529b16ae51de98e5 | [
"MIT"
] | null | null | null | mfsapiapp/urls.py | lupamo3/django-points | 7dc943521c73de1728c5f96d529b16ae51de98e5 | [
"MIT"
] | 1 | 2021-09-21T06:20:28.000Z | 2021-09-21T06:20:28.000Z | from django.urls import path
from . import views
urlpatterns = [
path('points/', views.pClosest, name='points'),
] | 19.833333 | 51 | 0.697479 | 15 | 119 | 5.533333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159664 | 119 | 6 | 52 | 19.833333 | 0.83 | 0 | 0 | 0 | 0 | 0 | 0.108333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
f02e924bdfc0732e9f15b5dd74a675d2fab54084 | 906 | py | Python | Source/Pythontest/TestPathes.py | 2985578957/flex_extract | e0005c99ac81d12faa45a8ff799debbd592b0dc0 | [
"CC-BY-4.0"
] | null | null | null | Source/Pythontest/TestPathes.py | 2985578957/flex_extract | e0005c99ac81d12faa45a8ff799debbd592b0dc0 | [
"CC-BY-4.0"
] | null | null | null | Source/Pythontest/TestPathes.py | 2985578957/flex_extract | e0005c99ac81d12faa45a8ff799debbd592b0dc0 | [
"CC-BY-4.0"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import sys
import pytest
sys.path.append("../python")
import _config
def test_path_localpython():
assert os.path.exists(_config.PATH_LOCAL_PYTHON) == 1
def test_path_flexextract():
assert os.path.exists(_config.PATH_FLEXEXTRACT_DIR) == 1
def test_path... | 25.166667 | 77 | 0.745033 | 131 | 906 | 4.80916 | 0.290076 | 0.088889 | 0.152381 | 0.171429 | 0.438095 | 0.336508 | 0 | 0 | 0 | 0 | 0 | 0.010204 | 0.134658 | 906 | 35 | 78 | 25.885714 | 0.793367 | 0.046358 | 0 | 0 | 0 | 0 | 0.026682 | 0 | 0 | 0 | 0 | 0 | 0.347826 | 1 | 0.347826 | false | 0 | 0.173913 | 0 | 0.521739 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
f07738df57ef847e1015768f9579fa45a6ff6253 | 162 | py | Python | ers_backend/testing/urls.py | dumoulinj/erf | ce38ba8acf8fed8dbf27fb85fa6c024540763286 | [
"MIT"
] | null | null | null | ers_backend/testing/urls.py | dumoulinj/erf | ce38ba8acf8fed8dbf27fb85fa6c024540763286 | [
"MIT"
] | null | null | null | ers_backend/testing/urls.py | dumoulinj/erf | ce38ba8acf8fed8dbf27fb85fa6c024540763286 | [
"MIT"
] | null | null | null | from django.conf.urls import patterns, url
from testing import views
urlpatterns = patterns('',
url(r'^test_server/$', views.TestServerViewSet.as_view()),
) | 23.142857 | 62 | 0.740741 | 21 | 162 | 5.619048 | 0.761905 | 0.186441 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123457 | 162 | 7 | 63 | 23.142857 | 0.830986 | 0 | 0 | 0 | 0 | 0 | 0.08589 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
b2b91224027886dce34618b00a8e871d96b44ef7 | 114 | py | Python | web/manage.py | markian01/covid19-app | b0977ff75ef4f3504ff785963aa07606b82073f6 | [
"MIT"
] | null | null | null | web/manage.py | markian01/covid19-app | b0977ff75ef4f3504ff785963aa07606b82073f6 | [
"MIT"
] | null | null | null | web/manage.py | markian01/covid19-app | b0977ff75ef4f3504ff785963aa07606b82073f6 | [
"MIT"
] | null | null | null | from flask.cli import FlaskGroup
from app import app
cli = FlaskGroup(app)
if __name__ == '__main__':
cli()
| 14.25 | 32 | 0.710526 | 16 | 114 | 4.5625 | 0.5625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192982 | 114 | 7 | 33 | 16.285714 | 0.793478 | 0 | 0 | 0 | 0 | 0 | 0.070175 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
b2b9fbb12141bf26e0d26164b605d6ed1d709bce | 270 | py | Python | pixelator.py | gdmgent-1819-iot/labo1-nawatend | 7c1ef2eb7119cafa42209b564f6cae2d42f836b0 | [
"X11"
] | null | null | null | pixelator.py | gdmgent-1819-iot/labo1-nawatend | 7c1ef2eb7119cafa42209b564f6cae2d42f836b0 | [
"X11"
] | null | null | null | pixelator.py | gdmgent-1819-iot/labo1-nawatend | 7c1ef2eb7119cafa42209b564f6cae2d42f836b0 | [
"X11"
] | null | null | null | from sense_hat import SenseHat
import time
import random
sense = SenseHat()
for i in range(0,8):
for n in range(0,8):
c = (random.randint(0,255),random.randint(0,255),random.randint(0,255))
sense.set_pixel(n,i,c)
time.sleep(0.1)
sense.clear(0,0,0) | 18 | 75 | 0.67037 | 51 | 270 | 3.509804 | 0.431373 | 0.217877 | 0.234637 | 0.284916 | 0.284916 | 0.284916 | 0.284916 | 0.284916 | 0 | 0 | 0 | 0.09417 | 0.174074 | 270 | 15 | 76 | 18 | 0.70852 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.3 | 0 | 0.3 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b2ce06f54e208aec379cee453ade8a01a21d46f7 | 87 | py | Python | kvadrattal_fra_1_til_25.py | CurryEleison/lists | 546ab45ffd9f1e793315003b59160e597c598f41 | [
"MIT"
] | null | null | null | kvadrattal_fra_1_til_25.py | CurryEleison/lists | 546ab45ffd9f1e793315003b59160e597c598f41 | [
"MIT"
] | null | null | null | kvadrattal_fra_1_til_25.py | CurryEleison/lists | 546ab45ffd9f1e793315003b59160e597c598f41 | [
"MIT"
] | null | null | null | #2: Skriv kvadrattal (x^2) for x fra 1 til 25
for i in range(1, 6):
print(i ** 2)
| 21.75 | 46 | 0.586207 | 20 | 87 | 2.55 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 0.264368 | 87 | 3 | 47 | 29 | 0.671875 | 0.517241 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
b2dae8c537b3680b2c8e8e1cb599984c813ac796 | 209 | py | Python | video/1basic算法基础/bs二分搜索/linear.py | yofn/pyacm | e573f8fdeea77513711f00c42f128795cbba65a6 | [
"Apache-2.0"
] | null | null | null | video/1basic算法基础/bs二分搜索/linear.py | yofn/pyacm | e573f8fdeea77513711f00c42f128795cbba65a6 | [
"Apache-2.0"
] | null | null | null | video/1basic算法基础/bs二分搜索/linear.py | yofn/pyacm | e573f8fdeea77513711f00c42f128795cbba65a6 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python3
def naive_search(l,x):
for i in range(len(l)):
if l[i]==x:
return i
n = int(input())
l = list(range(n))
x = n-1
i = naive_search(l,x)
print("l[%d]=%d"%(i,x))
| 13.933333 | 27 | 0.516746 | 42 | 209 | 2.52381 | 0.547619 | 0.207547 | 0.226415 | 0.245283 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012821 | 0.253589 | 209 | 14 | 28 | 14.928571 | 0.666667 | 0.100478 | 0 | 0 | 0 | 0 | 0.043243 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0 | 0 | 0.222222 | 0.111111 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
65008423c254dc83a0cca5afe5027fd9abe5b403 | 1,376 | py | Python | api/migrations/0004_auto_20180224_1242.py | heltleo/fanfiction | 3d46db0df1e6d003c5805e694434330a4c990339 | [
"MIT"
] | null | null | null | api/migrations/0004_auto_20180224_1242.py | heltleo/fanfiction | 3d46db0df1e6d003c5805e694434330a4c990339 | [
"MIT"
] | 12 | 2020-06-05T18:49:53.000Z | 2022-03-11T23:27:24.000Z | api/migrations/0004_auto_20180224_1242.py | heltleo/fanfiction | 3d46db0df1e6d003c5805e694434330a4c990339 | [
"MIT"
] | null | null | null | # Generated by Django 2.0.2 on 2018-02-24 12:42
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('api', '0003_auto_20180224_1014'),
]
operations = [
migrations.RemoveField(
model_name='content',
name='chapter',
... | 24.140351 | 59 | 0.501453 | 109 | 1,376 | 6.220183 | 0.431193 | 0.09292 | 0.19174 | 0.221239 | 0.238938 | 0.238938 | 0 | 0 | 0 | 0 | 0 | 0.037647 | 0.382267 | 1,376 | 56 | 60 | 24.571429 | 0.76 | 0.032703 | 0 | 0.54 | 1 | 0 | 0.106095 | 0.017306 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.02 | 0 | 0.08 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6515b050a87d8e9d87fb081f33e6c05341a1677d | 74 | py | Python | other/aising2019_a.py | ryosuke0825/atcoder_python | 185cdbe7db44ecca1aaf357858d16d31ce515ddb | [
"MIT"
] | null | null | null | other/aising2019_a.py | ryosuke0825/atcoder_python | 185cdbe7db44ecca1aaf357858d16d31ce515ddb | [
"MIT"
] | null | null | null | other/aising2019_a.py | ryosuke0825/atcoder_python | 185cdbe7db44ecca1aaf357858d16d31ce515ddb | [
"MIT"
] | null | null | null | n = int(input())
h = int(input())
w = int(input())
print((n-w+1)*(n-h+1))
| 14.8 | 22 | 0.513514 | 16 | 74 | 2.375 | 0.4375 | 0.631579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03125 | 0.135135 | 74 | 4 | 23 | 18.5 | 0.5625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.25 | 1 | 0 | 0 | null | 1 | 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 | 3 |
652f67a1943ca399f4d83d68a1e486a57927bd76 | 143,989 | py | Python | pysnmp-with-texts/RMON-MIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 8 | 2019-05-09T17:04:00.000Z | 2021-06-09T06:50:51.000Z | pysnmp-with-texts/RMON-MIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 4 | 2019-05-31T16:42:59.000Z | 2020-01-31T21:57:17.000Z | pysnmp-with-texts/RMON-MIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 10 | 2019-04-30T05:51:36.000Z | 2022-02-16T03:33:41.000Z | #
# PySNMP MIB module RMON-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/RMON-MIB
# Produced by pysmi-0.3.4 at Wed May 1 11:05:00 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.3 (default, Mar 27 2019, 09:23:1... | 201.383217 | 8,718 | 0.792324 | 19,315 | 143,989 | 5.906446 | 0.06803 | 0.045125 | 0.078969 | 0.008134 | 0.562599 | 0.46425 | 0.431011 | 0.416705 | 0.390751 | 0.363279 | 0 | 0.033978 | 0.115363 | 143,989 | 714 | 8,719 | 201.665266 | 0.861648 | 0.002153 | 0 | 0.021337 | 0 | 0.214794 | 0.546732 | 0.024173 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.004267 | 0.012802 | 0 | 0.025605 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6539318809b52e8c211cf4975632ca690ef37db2 | 689 | py | Python | data-models/Station.py | Nik6198/Bus-scheduling-using-AI | c11d3d1fc12c4fcb69c0d8cd3ea3ea3422a44c39 | [
"MIT"
] | null | null | null | data-models/Station.py | Nik6198/Bus-scheduling-using-AI | c11d3d1fc12c4fcb69c0d8cd3ea3ea3422a44c39 | [
"MIT"
] | null | null | null | data-models/Station.py | Nik6198/Bus-scheduling-using-AI | c11d3d1fc12c4fcb69c0d8cd3ea3ea3422a44c39 | [
"MIT"
] | null | null | null |
class Station:
def __init__(self,name,peopleCount,imgfile="s1.jpeg"):
self.peopleCount = peopleCount
self.name = name
self.next = []
self.image = imgfile
def getPeopleCount(self):
return self.peopleCount
def getName(self):
return self.name
def addN... | 26.5 | 71 | 0.65312 | 70 | 689 | 6.314286 | 0.357143 | 0.169683 | 0.085973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003839 | 0.243832 | 689 | 26 | 71 | 26.5 | 0.84453 | 0 | 0 | 0 | 0 | 0 | 0.037736 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.388889 | false | 0 | 0 | 0.166667 | 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 | 1 | 1 | 0 | 0 | 3 |
65451e6a738f45c066ae0051515dbc83760e9d96 | 1,811 | py | Python | hyperion_sat/reading/hdf.py | Stemonitis/Hyperion | 9620ea2a4ebf18e32863e0b2115be1d5e50016ce | [
"MIT"
] | null | null | null | hyperion_sat/reading/hdf.py | Stemonitis/Hyperion | 9620ea2a4ebf18e32863e0b2115be1d5e50016ce | [
"MIT"
] | null | null | null | hyperion_sat/reading/hdf.py | Stemonitis/Hyperion | 9620ea2a4ebf18e32863e0b2115be1d5e50016ce | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Sat May 30 18:06:00 2020
@author: mysh
"""
from pyhdf.SD import SD,SDC #utility to read hdf files, tutorial: https://www.hdfeos.org/software/pyhdf.php
""""Functions for reading, loading and preprocessing multispectral data from EO1 Hyperion and metadata as well"""
'''Loading ... | 31.77193 | 116 | 0.652126 | 253 | 1,811 | 4.573123 | 0.58498 | 0.023336 | 0.007779 | 0.012965 | 0.050994 | 0.041487 | 0.041487 | 0 | 0 | 0 | 0 | 0.059532 | 0.220872 | 1,811 | 57 | 117 | 31.77193 | 0.760454 | 0.482054 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.416667 | false | 0 | 0.083333 | 0.166667 | 0.916667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
e8dfb5f74c141cc82548d469283e0fbbb1cb5a7f | 1,367 | py | Python | utils/utils.py | ronghuaxueleng/my_actions | 6a1a9c3093a9ed071caf515baa8b52e0644f3608 | [
"Apache-2.0"
] | 1 | 2021-09-14T22:12:22.000Z | 2021-09-14T22:12:22.000Z | utils/utils.py | ronghuaxueleng/my_actions | 6a1a9c3093a9ed071caf515baa8b52e0644f3608 | [
"Apache-2.0"
] | null | null | null | utils/utils.py | ronghuaxueleng/my_actions | 6a1a9c3093a9ed071caf515baa8b52e0644f3608 | [
"Apache-2.0"
] | 1 | 2021-06-05T07:10:54.000Z | 2021-06-05T07:10:54.000Z | import re
import urllib
from urllib import parse
import requests
from hyper import HTTP20Connection
def get_sample(url, headers):
return requests.get(url, headers=headers)
def post_sample(url, headers, data=None):
return requests.post(url, headers=headers, data=data)
def get(host, path, headers):
ret... | 23.568966 | 100 | 0.681053 | 175 | 1,367 | 5.222857 | 0.365714 | 0.07221 | 0.035011 | 0.045952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025755 | 0.176298 | 1,367 | 57 | 101 | 23.982456 | 0.785968 | 0 | 0 | 0 | 0 | 0 | 0.110461 | 0.023409 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.138889 | 0.166667 | 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 | 1 | 1 | 0 | 0 | 3 |
e8e026cbd2f512cf0c0030885b2c672739a69543 | 1,318 | py | Python | ChemmineR/converters.py | TylerBackman/chemminetools | 1896c2dd7362f44193528aef028390543a125921 | [
"BSD-4-Clause-UC"
] | 16 | 2015-03-24T18:34:18.000Z | 2018-04-11T06:02:52.000Z | ChemmineR/converters.py | gitanna/chemminetools | 1cfef18bcd773421c95f8662857f31e363211cdc | [
"BSD-4-Clause-UC"
] | 60 | 2019-01-03T18:15:55.000Z | 2022-03-12T00:14:59.000Z | ChemmineR/converters.py | gitanna/chemminetools | 1cfef18bcd773421c95f8662857f31e363211cdc | [
"BSD-4-Clause-UC"
] | 13 | 2018-04-25T18:25:09.000Z | 2022-02-14T08:15:03.000Z | #!/usr/bin/python
# -*- coding: utf-8 -*-
# format: 'mimetype': 'Robject\nR Converter Code'
inputConverters = {
'default': 'character\ninput',
'chemical/x-mdl-sdfile': 'SDFset\npaste(unlist(sdfstr2list(as(input, "SDFstr"))), collapse="\n")',
'text/properties.table': 'data.frame\npaste(capture.output(write... | 59.909091 | 275 | 0.6783 | 181 | 1,318 | 4.939227 | 0.475138 | 0.044743 | 0.04698 | 0.067114 | 0.355705 | 0.250559 | 0.250559 | 0.250559 | 0.250559 | 0.143177 | 0 | 0.005004 | 0.090288 | 1,318 | 21 | 276 | 62.761905 | 0.740617 | 0.06525 | 0 | 0 | 0 | 0.266667 | 0.852726 | 0.555736 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
e8e4b404350ecd5f1fcd1b871177ca5d482c1fd0 | 1,761 | py | Python | 1450 Number of Students Doing Homework at a Given Time.py | AtharvRedij/leetcode-solutions | 7194d202302989d53c241b12c9befb06923b1510 | [
"MIT"
] | null | null | null | 1450 Number of Students Doing Homework at a Given Time.py | AtharvRedij/leetcode-solutions | 7194d202302989d53c241b12c9befb06923b1510 | [
"MIT"
] | null | null | null | 1450 Number of Students Doing Homework at a Given Time.py | AtharvRedij/leetcode-solutions | 7194d202302989d53c241b12c9befb06923b1510 | [
"MIT"
] | 1 | 2021-03-06T06:15:48.000Z | 2021-03-06T06:15:48.000Z | '''
URL: https://leetcode.com/problems/number-of-students-doing-homework-at-a-given-time/
Difficulty: Easy
Description: Number of Students Doing Homework at a Given Time
Given two integer arrays startTime and endTime and given an integer queryTime.
The ith student started doing their homework at the time startTime[... | 31.446429 | 189 | 0.729131 | 293 | 1,761 | 4.382253 | 0.279863 | 0.051402 | 0.03271 | 0.037383 | 0.359813 | 0.248442 | 0.121495 | 0.121495 | 0.063863 | 0 | 0 | 0.058219 | 0.170926 | 1,761 | 55 | 190 | 32.018182 | 0.821233 | 0.905168 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.