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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
83af5e09ec53eab0a1a9f8ca3897e30424d56d57 | 227 | py | Python | src/drf_cloudstorage/constants.py | inabhi9/drf-cloudstorage | 7f5e1b1e721208c5682f1f1e443a13af73d039bc | [
"MIT"
] | null | null | null | src/drf_cloudstorage/constants.py | inabhi9/drf-cloudstorage | 7f5e1b1e721208c5682f1f1e443a13af73d039bc | [
"MIT"
] | null | null | null | src/drf_cloudstorage/constants.py | inabhi9/drf-cloudstorage | 7f5e1b1e721208c5682f1f1e443a13af73d039bc | [
"MIT"
] | null | null | null | class Target:
"""
This must be consist of <app_label>.<modal>.<field>
"""
pass
class StorageProvider:
S3 = 's3'
CLOUDINARY = 'cloudinary'
PROVIDERS = (StorageProvider.S3, StorageProvider.CLOUDINARY)
| 16.214286 | 60 | 0.651982 | 23 | 227 | 6.391304 | 0.695652 | 0.231293 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017045 | 0.22467 | 227 | 13 | 61 | 17.461538 | 0.818182 | 0.22467 | 0 | 0 | 0 | 0 | 0.075 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.166667 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
83c4b81aa0b017b54d451bf68d092fa4248188a4 | 2,901 | py | Python | src/genie/libs/parser/nxos/tests/ShowIpv4EigrpNeighbors/cli/equal/golden_output_2_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 204 | 2018-06-27T00:55:27.000Z | 2022-03-06T21:12:18.000Z | src/genie/libs/parser/nxos/tests/ShowIpv4EigrpNeighbors/cli/equal/golden_output_2_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 468 | 2018-06-19T00:33:18.000Z | 2022-03-31T23:23:35.000Z | src/genie/libs/parser/nxos/tests/ShowIpv4EigrpNeighbors/cli/equal/golden_output_2_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 309 | 2019-01-16T20:21:07.000Z | 2022-03-30T12:56:41.000Z |
expected_output = {
'eigrp_instance': {
'100': {
'vrf': {
'default': {
'address_family': {
'ipv6': {
'eigrp_interface': {
'Ethernet1/1.90': {
... | 50.017241 | 76 | 0.186487 | 142 | 2,901 | 3.626761 | 0.387324 | 0.062136 | 0.093204 | 0.124272 | 0.8 | 0.753398 | 0.733981 | 0.574757 | 0.574757 | 0.574757 | 0 | 0.160147 | 0.718028 | 2,901 | 57 | 77 | 50.894737 | 0.469438 | 0 | 0 | 0.581818 | 0 | 0 | 0.177647 | 0.034495 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 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 | 4 |
f7e1973200fb9e57f21a4113ae83e27d48d491aa | 299 | py | Python | accounts/admin.py | BuildForSDG/asylum-be | e44031ca97964425bfa11a1d9071e7584685c327 | [
"MIT"
] | null | null | null | accounts/admin.py | BuildForSDG/asylum-be | e44031ca97964425bfa11a1d9071e7584685c327 | [
"MIT"
] | 23 | 2020-05-07T07:57:44.000Z | 2022-03-12T00:36:41.000Z | accounts/admin.py | BuildForSDG/asylum-be | e44031ca97964425bfa11a1d9071e7584685c327 | [
"MIT"
] | 3 | 2020-05-02T07:56:55.000Z | 2020-05-19T14:42:54.000Z | from django.contrib import admin
from django.contrib.auth.admin import UserAdmin
from . models import User, Profile
class CustomUserAdmin(UserAdmin):
pass
class ProfileAdmin(admin.ModelAdmin):
pass
admin.site.register(User, CustomUserAdmin)
admin.site.register(Profile, ProfileAdmin)
| 17.588235 | 47 | 0.792642 | 36 | 299 | 6.583333 | 0.472222 | 0.084388 | 0.14346 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 299 | 16 | 48 | 18.6875 | 0.911538 | 0 | 0 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.222222 | 0.333333 | 0 | 0.555556 | 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 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
f7eb6758a24043dbe354409b09bbde05b8ef9788 | 651 | py | Python | templatetags/uuid.py | kensonman/webframe | 45b5be33bb0341ab9658a05d577f82f0dd922c7e | [
"Apache-2.0"
] | 1 | 2017-04-22T11:29:05.000Z | 2017-04-22T11:29:05.000Z | templatetags/uuid.py | kensonman/webframe | 45b5be33bb0341ab9658a05d577f82f0dd922c7e | [
"Apache-2.0"
] | null | null | null | templatetags/uuid.py | kensonman/webframe | 45b5be33bb0341ab9658a05d577f82f0dd922c7e | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
#
# File: uuid.py
# Author: Kenson Man <kenosn.idv.hk@gmail.com>
# Desc: The template-tag used to generate a uuid into output.
# Sample:
# {%uuid%} # Generate a UUID and output
# {%uuid as abc%} # Generate a UUID and store into abc
#
from django.template import Library, Node, Templ... | 26.04 | 62 | 0.651306 | 94 | 651 | 4.489362 | 0.457447 | 0.127962 | 0.184834 | 0.151659 | 0.549763 | 0.549763 | 0.549763 | 0.549763 | 0.549763 | 0.549763 | 0 | 0.005964 | 0.227343 | 651 | 24 | 63 | 27.125 | 0.833002 | 0.651306 | 0 | 0 | 1 | 0 | 0.020725 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
7909ffb3942cd78c3b55d4f2b80409a1a536304f | 328 | py | Python | plugin.video.mrknow/mylib/tests_pydevd_runfiles/samples/nested_dir/nested2/deep_nest_test.py | mrknow/filmkodi | 0162cde9ae25ddbf4a69330948714833ff2f78c9 | [
"Apache-2.0"
] | 105 | 2015-11-28T00:03:11.000Z | 2021-05-05T20:47:42.000Z | plugin.video.mrknow/mylib/tests_pydevd_runfiles/samples/nested_dir/nested2/deep_nest_test.py | rrosajp/filmkodi | 0162cde9ae25ddbf4a69330948714833ff2f78c9 | [
"Apache-2.0"
] | 918 | 2015-11-28T14:12:40.000Z | 2022-03-23T20:24:49.000Z | plugin.video.mrknow/mylib/tests_pydevd_runfiles/samples/nested_dir/nested2/deep_nest_test.py | rrosajp/filmkodi | 0162cde9ae25ddbf4a69330948714833ff2f78c9 | [
"Apache-2.0"
] | 111 | 2015-12-01T14:06:10.000Z | 2020-08-01T10:44:39.000Z | import unittest
class SampleTest(unittest.TestCase):
def setUp(self):
return
def tearDown(self):
return
def test_non_unique_name(self):
pass
def test_asdf2(self):
pass
def test_i_am_a_unique_test_name(self):
pass
if __name__ == '__main__':
unittest... | 14.26087 | 43 | 0.625 | 41 | 328 | 4.560976 | 0.512195 | 0.112299 | 0.139037 | 0.160428 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00431 | 0.292683 | 328 | 22 | 44 | 14.909091 | 0.801724 | 0 | 0 | 0.357143 | 0 | 0 | 0.02439 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.357143 | false | 0.214286 | 0.071429 | 0.142857 | 0.642857 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 4 |
f711fb1705f29842a5e33514511c4ca7401e1291 | 1,918 | py | Python | OpenGL/GL/AMD/framebuffer_multisample_advanced.py | t20100/pyopengl | 02d11dad9ff18e50db10e975c4756e17bf198464 | [
"BSD-2-Clause",
"MIT"
] | 210 | 2016-04-09T14:26:00.000Z | 2022-03-25T18:36:19.000Z | OpenGL/GL/AMD/framebuffer_multisample_advanced.py | t20100/pyopengl | 02d11dad9ff18e50db10e975c4756e17bf198464 | [
"BSD-2-Clause",
"MIT"
] | 72 | 2016-09-04T09:30:19.000Z | 2022-03-27T17:06:53.000Z | OpenGL/GL/AMD/framebuffer_multisample_advanced.py | t20100/pyopengl | 02d11dad9ff18e50db10e975c4756e17bf198464 | [
"BSD-2-Clause",
"MIT"
] | 64 | 2016-04-09T14:26:49.000Z | 2022-03-21T11:19:47.000Z | '''OpenGL extension AMD.framebuffer_multisample_advanced
This module customises the behaviour of the
OpenGL.raw.GL.AMD.framebuffer_multisample_advanced to provide a more
Python-friendly API
Overview (from the spec)
This extension extends ARB_framebuffer_object by allowing compromises
between image quality and m... | 41.695652 | 78 | 0.83316 | 250 | 1,918 | 6.296 | 0.508 | 0.049555 | 0.079416 | 0.104828 | 0.177255 | 0.149936 | 0.149936 | 0.068615 | 0.068615 | 0 | 0 | 0 | 0.130865 | 1,918 | 46 | 79 | 41.695652 | 0.944211 | 0.84463 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | true | 0 | 0.777778 | 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 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
f712fac6bd1822c194117ca4f70daa44951941ca | 23,640 | py | Python | ummeli/base/migrations/0025_auto__add_field_userban_is_unbanned.py | praekelt/ummeli | c09731ed9a3a40359e81dcf6ed365797606ae9e2 | [
"BSD-3-Clause"
] | null | null | null | ummeli/base/migrations/0025_auto__add_field_userban_is_unbanned.py | praekelt/ummeli | c09731ed9a3a40359e81dcf6ed365797606ae9e2 | [
"BSD-3-Clause"
] | null | null | null | ummeli/base/migrations/0025_auto__add_field_userban_is_unbanned.py | praekelt/ummeli | c09731ed9a3a40359e81dcf6ed365797606ae9e2 | [
"BSD-3-Clause"
] | null | null | null | # encoding: utf-8
import datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
# Adding field 'UserBan.is_unbanned'
db.add_column('base_userban', 'is_unbanned', self.gf('django.db.model... | 84.731183 | 201 | 0.554103 | 2,368 | 23,640 | 5.430321 | 0.107686 | 0.11074 | 0.193794 | 0.273738 | 0.79563 | 0.746637 | 0.728439 | 0.642041 | 0.55642 | 0.481375 | 0 | 0.011342 | 0.186929 | 23,640 | 278 | 202 | 85.035971 | 0.657666 | 0.00368 | 0 | 0.225564 | 0 | 0 | 0.591702 | 0.312115 | 0 | 0 | 0 | 0 | 0 | 1 | 0.007519 | false | 0.003759 | 0.015038 | 0 | 0.033835 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 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 | 4 |
f72fec409082a747247e54f3160b84531dff3bf0 | 49 | py | Python | pydotted/__init__.py | aredden/pydotted | 62ad1d3eaccc65edc94b3cf4a0673ad089a29c6a | [
"MIT"
] | null | null | null | pydotted/__init__.py | aredden/pydotted | 62ad1d3eaccc65edc94b3cf4a0673ad089a29c6a | [
"MIT"
] | null | null | null | pydotted/__init__.py | aredden/pydotted | 62ad1d3eaccc65edc94b3cf4a0673ad089a29c6a | [
"MIT"
] | null | null | null | from .pydotted import pydot
__ALL__ = ["pydot"]
| 12.25 | 27 | 0.714286 | 6 | 49 | 5.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163265 | 49 | 3 | 28 | 16.333333 | 0.756098 | 0 | 0 | 0 | 0 | 0 | 0.102041 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 0 | 4 |
f73027e9e4952cf5a8f78b5328442c74a11c9e43 | 234 | py | Python | kwueBackend/kwue/controllers/list.py | bounswe/bounswe2016group4 | cbc8201aa86049b81f20ef44ee37eb065a469d46 | [
"Apache-2.0"
] | 6 | 2016-02-14T18:04:48.000Z | 2016-12-18T20:09:15.000Z | kwueBackend/kwue/controllers/list.py | bounswe/bounswe2016group4 | cbc8201aa86049b81f20ef44ee37eb065a469d46 | [
"Apache-2.0"
] | 113 | 2016-02-14T18:06:57.000Z | 2021-06-10T17:57:12.000Z | kwueBackend/kwue/controllers/list.py | bounswe/bounswe2016group4 | cbc8201aa86049b81f20ef44ee37eb065a469d46 | [
"Apache-2.0"
] | 1 | 2017-02-15T18:48:55.000Z | 2017-02-15T18:48:55.000Z | from django.shortcuts import render
def get_list(req):
return render(req, 'kwue/food.html', {})
def add_item(req):
return render(req, 'kwue/food.html', {})
def create_list(req):
return render(req, 'kwue/food.html', {})
| 21.272727 | 44 | 0.67094 | 35 | 234 | 4.4 | 0.457143 | 0.175325 | 0.292208 | 0.350649 | 0.675325 | 0.675325 | 0.675325 | 0.675325 | 0 | 0 | 0 | 0 | 0.15812 | 234 | 10 | 45 | 23.4 | 0.781726 | 0 | 0 | 0.428571 | 0 | 0 | 0.179487 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0 | 0.142857 | 0.428571 | 1 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
f7459df24059d2013a6f67fb04115a680542aa8c | 20,107 | py | Python | test/test_datetime.py | nehaljwani/orjson | 669e4a269023b222a1f0ffa572947b37d06415a3 | [
"Apache-2.0",
"MIT"
] | 3,041 | 2018-11-26T08:15:46.000Z | 2022-03-31T22:14:51.000Z | test/test_datetime.py | brandery/orjson | 02d6805af278493f657c17305a2f0cc054f04078 | [
"Apache-2.0",
"MIT"
] | 240 | 2018-11-25T20:01:02.000Z | 2022-03-31T19:48:08.000Z | test/test_datetime.py | brandery/orjson | 02d6805af278493f657c17305a2f0cc054f04078 | [
"Apache-2.0",
"MIT"
] | 145 | 2018-12-20T08:54:32.000Z | 2022-03-30T06:17:47.000Z | # SPDX-License-Identifier: (Apache-2.0 OR MIT)
import datetime
import sys
import unittest
import pytest
import pytz
from dateutil import tz
import orjson
try:
import pendulum
except ImportError:
pendulum = None # type: ignore
if sys.version_info >= (3, 9):
import zoneinfo
class DatetimeTests(unittes... | 28.765379 | 88 | 0.440145 | 1,881 | 20,107 | 4.590112 | 0.102605 | 0.131573 | 0.10783 | 0.135511 | 0.804262 | 0.769748 | 0.736738 | 0.715427 | 0.649757 | 0.596595 | 0 | 0.1117 | 0.446561 | 20,107 | 698 | 89 | 28.80659 | 0.66418 | 0.080271 | 0 | 0.538462 | 0 | 0 | 0.103137 | 0.05834 | 0 | 0 | 0 | 0 | 0.098619 | 1 | 0.096647 | false | 0.017751 | 0.019724 | 0.001972 | 0.126233 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 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 | 4 |
f74909fb60ada34fad6592054a84512c7fa87b40 | 185 | py | Python | app/api/admin/__init__.py | WycliffeMuchumi/Stream-101-API | 9892685c37ff6f3e1e9017bfa5321968a5255c9e | [
"MIT"
] | null | null | null | app/api/admin/__init__.py | WycliffeMuchumi/Stream-101-API | 9892685c37ff6f3e1e9017bfa5321968a5255c9e | [
"MIT"
] | 1 | 2021-06-04T09:45:05.000Z | 2021-06-04T09:45:05.000Z | app/api/admin/__init__.py | muchumi/Stream-101-API | 9892685c37ff6f3e1e9017bfa5321968a5255c9e | [
"MIT"
] | 1 | 2021-06-04T09:43:58.000Z | 2021-06-04T09:43:58.000Z | from flask import Blueprint
"""
Admin Blueprint
"""
blueprint = Blueprint(
'admin_blueprint',
__name__,
url_prefix = '/admin'
)
from app.api.admin.views import admin | 13.214286 | 37 | 0.675676 | 21 | 185 | 5.666667 | 0.52381 | 0.235294 | 0.386555 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.216216 | 185 | 14 | 37 | 13.214286 | 0.82069 | 0 | 0 | 0 | 0 | 0 | 0.132075 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.285714 | 0 | 0.285714 | 0.428571 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
f751d76698e8ae306b996a273dc94e8ba599b637 | 260 | py | Python | dunm_sandbox/myapp/migrations/0004_merge_20200502_0148.py | lorinkoz/django-unmigrate | 8b5d887e4dbcaadf84b1e0d6899e57ee437ad794 | [
"MIT"
] | 65 | 2020-04-29T05:54:43.000Z | 2021-11-03T15:13:50.000Z | dunm_sandbox/myapp/migrations/0004_merge_20200502_0148.py | lorinkoz/django-unmigrate | 8b5d887e4dbcaadf84b1e0d6899e57ee437ad794 | [
"MIT"
] | 14 | 2020-04-29T05:55:49.000Z | 2021-04-28T19:34:26.000Z | dunm_sandbox/myapp/migrations/0004_merge_20200502_0148.py | lorinkoz/django-unmigrate | 8b5d887e4dbcaadf84b1e0d6899e57ee437ad794 | [
"MIT"
] | 4 | 2020-05-06T16:47:49.000Z | 2020-09-04T08:23:40.000Z | # Generated by Django 3.0.5 on 2020-05-02 01:48
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
("myapp", "0003_mymodel_is_paid"),
("myapp", "0003_mymodel_is_active"),
]
operations = []
| 18.571429 | 47 | 0.65 | 33 | 260 | 4.939394 | 0.787879 | 0.110429 | 0.196319 | 0.220859 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113861 | 0.223077 | 260 | 13 | 48 | 20 | 0.693069 | 0.173077 | 0 | 0 | 1 | 0 | 0.244131 | 0.103286 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.571429 | 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 | 1 | 0 | 0 | 4 |
f768d46f66b6b97f24f78dfd1b6bc540af553b94 | 162 | py | Python | Shivani/leap year.py | 63Shivani/Python-BootCamp | 2ed0ef95af35d35c0602031670fecfc92d8cea0a | [
"MIT"
] | null | null | null | Shivani/leap year.py | 63Shivani/Python-BootCamp | 2ed0ef95af35d35c0602031670fecfc92d8cea0a | [
"MIT"
] | null | null | null | Shivani/leap year.py | 63Shivani/Python-BootCamp | 2ed0ef95af35d35c0602031670fecfc92d8cea0a | [
"MIT"
] | null | null | null | n=int(input("enter year\n"))
if(n%400==0 and n%100==0):
print("leap year")
elif(n%4==0 and n%100!=0):
print("leap year")
else:
print("not leap year")
| 20.25 | 28 | 0.58642 | 33 | 162 | 2.878788 | 0.484848 | 0.252632 | 0.105263 | 0.168421 | 0.463158 | 0.463158 | 0.463158 | 0.463158 | 0 | 0 | 0 | 0.104478 | 0.17284 | 162 | 7 | 29 | 23.142857 | 0.604478 | 0 | 0 | 0.285714 | 0 | 0 | 0.265432 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.428571 | 0 | 0 | 0 | null | 1 | 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 | 0 | 0 | 0 | 1 | 0 | 4 |
f7805ec215ebf6ae4a6b840dd0e898485dc38f8c | 123 | py | Python | uvicorn/loops/asyncio.py | rigelk/uvicorn | f6f173c16887b4fceeec8ebf62808ea7a6111472 | [
"BSD-3-Clause"
] | 8 | 2020-07-10T15:40:01.000Z | 2022-03-18T12:55:04.000Z | uvicorn/loops/asyncio.py | rigelk/uvicorn | f6f173c16887b4fceeec8ebf62808ea7a6111472 | [
"BSD-3-Clause"
] | null | null | null | uvicorn/loops/asyncio.py | rigelk/uvicorn | f6f173c16887b4fceeec8ebf62808ea7a6111472 | [
"BSD-3-Clause"
] | 1 | 2021-09-05T21:19:30.000Z | 2021-09-05T21:19:30.000Z | import asyncio
def asyncio_setup():
loop = asyncio.new_event_loop()
asyncio.set_event_loop(loop)
return loop
| 15.375 | 35 | 0.723577 | 17 | 123 | 4.941176 | 0.529412 | 0.261905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195122 | 123 | 7 | 36 | 17.571429 | 0.848485 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.6 | 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 | 1 | 0 | 0 | 4 |
f78cb9b1c1fd282dd59397929bfdaf292bafcf47 | 52 | py | Python | src/augury/data_import/__init__.py | tipresias/augury | eaae2a7d27ee8c39796231ec55e0e2a82b59d60c | [
"MIT"
] | 4 | 2019-12-05T06:02:08.000Z | 2022-02-01T23:49:23.000Z | src/augury/data_import/__init__.py | tipresias/augury | eaae2a7d27ee8c39796231ec55e0e2a82b59d60c | [
"MIT"
] | 143 | 2019-07-30T11:06:56.000Z | 2022-03-14T19:02:39.000Z | src/augury/data_import/__init__.py | tipresias/augury | eaae2a7d27ee8c39796231ec55e0e2a82b59d60c | [
"MIT"
] | 3 | 2019-12-30T22:57:41.000Z | 2020-12-31T02:39:07.000Z | """Module for importing data from external APIs."""
| 26 | 51 | 0.730769 | 7 | 52 | 5.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134615 | 52 | 1 | 52 | 52 | 0.844444 | 0.865385 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e3a971eb5f95f59084186994c92461cc1322ca79 | 86 | py | Python | src/typeDefs/fsc.py | nagasudhirpulla/wrldc_codebook | 8fbc795074e16e2012b29ae875b99aa721a7f021 | [
"MIT"
] | null | null | null | src/typeDefs/fsc.py | nagasudhirpulla/wrldc_codebook | 8fbc795074e16e2012b29ae875b99aa721a7f021 | [
"MIT"
] | 21 | 2021-01-08T18:03:32.000Z | 2021-02-02T16:17:34.000Z | src/typeDefs/fsc.py | nagasudhirpulla/wrldc_codebook | 8fbc795074e16e2012b29ae875b99aa721a7f021 | [
"MIT"
] | null | null | null | from src.typeDefs.element import IElement
class IFsc(IElement):
substation: str
| 14.333333 | 41 | 0.767442 | 11 | 86 | 6 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162791 | 86 | 5 | 42 | 17.2 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
e3b7c043db4374ac5c70124f2b45aa84d2cc3094 | 1,486 | py | Python | ptranking/ltr_adversarial/base/ad_machine.py | ii-research-ranking/ptranking | 2794e6e086bcd87ce177f40194339e9b825e9f4c | [
"MIT"
] | 64 | 2018-09-19T17:04:04.000Z | 2020-04-30T07:54:04.000Z | ptranking/ltr_adversarial/base/ad_machine.py | ii-research-ranking/ptranking | 2794e6e086bcd87ce177f40194339e9b825e9f4c | [
"MIT"
] | 4 | 2018-09-27T06:59:02.000Z | 2020-01-05T12:35:12.000Z | ptranking/ltr_adversarial/base/ad_machine.py | ii-research-ranking/ptranking | 2794e6e086bcd87ce177f40194339e9b825e9f4c | [
"MIT"
] | 11 | 2018-09-28T07:17:51.000Z | 2020-03-12T06:28:35.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
class AdversarialMachine():
'''
An abstract adversarial learning-to-rank framework
'''
def __init__(self, eval_dict=None, data_dict=None, gpu=False, device=None):
#todo double-check the necessity of these two arguments
self.eval_dict = eva... | 26.535714 | 128 | 0.660162 | 188 | 1,486 | 5.021277 | 0.37766 | 0.066737 | 0.068856 | 0.090042 | 0.255297 | 0.230932 | 0.072034 | 0 | 0 | 0 | 0 | 0.002676 | 0.245626 | 1,486 | 55 | 129 | 27.018182 | 0.839429 | 0.175639 | 0 | 0.366667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018182 | 0 | 1 | 0.433333 | false | 0.3 | 0 | 0.066667 | 0.533333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
e3c8fedf21fec42bf061f6288755d5cf84446a20 | 190 | py | Python | venv/Lib/site-packages/pybrain3/rl/environments/cartpole/fast_version/__init__.py | ishatserka/MachineLearningAndDataAnalysisCoursera | e82e772df2f4aec162cb34ac6127df10d14a625a | [
"MIT"
] | null | null | null | venv/Lib/site-packages/pybrain3/rl/environments/cartpole/fast_version/__init__.py | ishatserka/MachineLearningAndDataAnalysisCoursera | e82e772df2f4aec162cb34ac6127df10d14a625a | [
"MIT"
] | null | null | null | venv/Lib/site-packages/pybrain3/rl/environments/cartpole/fast_version/__init__.py | ishatserka/MachineLearningAndDataAnalysisCoursera | e82e772df2f4aec162cb34ac6127df10d14a625a | [
"MIT"
] | null | null | null | try:
import cartpolewrap
except ImportError:
raise ImportError('This task needs to be compiled. Please use the script: cartpolecompile.py')
from .cartpoleenv import FastCartPoleTask | 31.666667 | 98 | 0.794737 | 23 | 190 | 6.565217 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152632 | 190 | 6 | 99 | 31.666667 | 0.937888 | 0 | 0 | 0 | 0 | 0 | 0.382199 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.8 | 0 | 0.8 | 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 | 1 | 0 | 0 | 0 | 0 | 4 |
5816e1c0384ebad876ef65713a161ec90c574206 | 61 | py | Python | src/spn/data/__init__.py | tkrons/SPFlow_topdownrules | 6227fc973f4f36da7fbe25fa500d656eb7273033 | [
"Apache-2.0"
] | 199 | 2018-11-13T10:37:45.000Z | 2022-02-06T17:07:28.000Z | src/spn/data/__init__.py | minimrbanana/SPFlow | 32233bf29d107c62f0f727b0e64aaa74b37cfe1e | [
"Apache-2.0"
] | 46 | 2018-11-30T13:40:38.000Z | 2022-01-22T21:05:07.000Z | src/spn/data/__init__.py | minimrbanana/SPFlow | 32233bf29d107c62f0f727b0e64aaa74b37cfe1e | [
"Apache-2.0"
] | 78 | 2018-11-13T10:37:48.000Z | 2022-03-14T21:34:13.000Z | """
Created on March 30, 2018
@author: Alejandro Molina
"""
| 10.166667 | 25 | 0.672131 | 8 | 61 | 5.125 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 0.180328 | 61 | 5 | 26 | 12.2 | 0.7 | 0.852459 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
581c7f5952a4b4c2f861f73e6ac88fa410c8c2ed | 53,513 | py | Python | dfx_apiv2_protos/groups_pb2.py | nuralogix/dfx-apiv2-protos-python | 6402563e4dc8adcb823e521b11b5ac47408466c7 | [
"MIT"
] | 1 | 2022-02-15T01:13:47.000Z | 2022-02-15T01:13:47.000Z | dfx_apiv2_protos/groups_pb2.py | nuralogix/dfx-apiv2-protos-python | 6402563e4dc8adcb823e521b11b5ac47408466c7 | [
"MIT"
] | null | null | null | dfx_apiv2_protos/groups_pb2.py | nuralogix/dfx-apiv2-protos-python | 6402563e4dc8adcb823e521b11b5ac47408466c7 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: groups.proto
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_da... | 37.632208 | 4,088 | 0.754845 | 6,316 | 53,513 | 6.073464 | 0.045124 | 0.041762 | 0.05292 | 0.062643 | 0.774348 | 0.723071 | 0.681387 | 0.659385 | 0.654562 | 0.631309 | 0 | 0.029688 | 0.11941 | 53,513 | 1,421 | 4,089 | 37.658691 | 0.784352 | 0.04199 | 0 | 0.694615 | 1 | 0.000769 | 0.198372 | 0.145007 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.003077 | 0 | 0.003077 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
585bab79b7404e80f51bd345ce909674248f6c35 | 327 | py | Python | useful_modules.py | eemerica/astr-119-session-3 | 5612adab3c2cfbf644e9bdc47751d4276edab634 | [
"MIT"
] | null | null | null | useful_modules.py | eemerica/astr-119-session-3 | 5612adab3c2cfbf644e9bdc47751d4276edab634 | [
"MIT"
] | 1 | 2018-10-05T17:56:10.000Z | 2018-10-18T18:19:32.000Z | useful_modules.py | eemerica/astr-119-hw-1 | cdd2469de6217beaf21f2b9f609a5414c066cfd3 | [
"MIT"
] | null | null | null | #! usr/bin/env python3
import numpy as np#the numpy library
import matplotlib.pyplot as plt#Matplotlib's pyplot
import sys#gives access to a c-like sys library
import os#gives access to operating system
print(sys.argv)#prints any command line arguments, incl program name
print(os.getcwd())#prints the current working di... | 46.714286 | 68 | 0.810398 | 55 | 327 | 4.818182 | 0.690909 | 0.098113 | 0.098113 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003484 | 0.122324 | 327 | 7 | 69 | 46.714286 | 0.919861 | 0.651376 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0.333333 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
586428275f3b29e74ff970b0acd5d57b3c302f28 | 1,290 | py | Python | app/models/user.py | zucc-acm-devteam/zuccacm-sso | 9c7d2f0b9cc069962f32b555152732a98bf2e94a | [
"Apache-2.0"
] | null | null | null | app/models/user.py | zucc-acm-devteam/zuccacm-sso | 9c7d2f0b9cc069962f32b555152732a98bf2e94a | [
"Apache-2.0"
] | null | null | null | app/models/user.py | zucc-acm-devteam/zuccacm-sso | 9c7d2f0b9cc069962f32b555152732a98bf2e94a | [
"Apache-2.0"
] | null | null | null | import datetime
from flask_login import UserMixin
from sqlalchemy import Column, String, Enum
from werkzeug.security import check_password_hash, generate_password_hash
from app import login_manager
from app.libs.enumerate import UserPermission
from app.libs.error_code import AuthFailed
from app.models.base import Bas... | 27.446809 | 76 | 0.721705 | 156 | 1,290 | 5.788462 | 0.371795 | 0.053156 | 0.037652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009643 | 0.196124 | 1,290 | 46 | 77 | 28.043478 | 0.861138 | 0 | 0 | 0.114286 | 1 | 0 | 0.026357 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.171429 | false | 0.285714 | 0.228571 | 0.114286 | 0.742857 | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
586d1928acc339e5938b9f91765e0064da0bdbd3 | 119 | py | Python | s3Backups/apps.py | uzairAK/serverom-panel | 3dcde05ad618e6bef280db7d3180f926fe2ab1db | [
"MIT"
] | null | null | null | s3Backups/apps.py | uzairAK/serverom-panel | 3dcde05ad618e6bef280db7d3180f926fe2ab1db | [
"MIT"
] | null | null | null | s3Backups/apps.py | uzairAK/serverom-panel | 3dcde05ad618e6bef280db7d3180f926fe2ab1db | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from django.apps import AppConfig
class S3BackupsConfig(AppConfig):
name = 's3Backups'
| 13.222222 | 33 | 0.680672 | 13 | 119 | 6.230769 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030928 | 0.184874 | 119 | 8 | 34 | 14.875 | 0.804124 | 0.176471 | 0 | 0 | 0 | 0 | 0.09375 | 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 | 1 | 0 | 0 | 4 |
58850e6a2b5e03dc25748231b79d0eaee63a197c | 23 | py | Python | pyuubin/__version__.py | MichalMazurek/pyuubin | 383cdc491514aa9978ebc1cb639623a5dea92e64 | [
"Apache-2.0"
] | null | null | null | pyuubin/__version__.py | MichalMazurek/pyuubin | 383cdc491514aa9978ebc1cb639623a5dea92e64 | [
"Apache-2.0"
] | 1 | 2021-07-18T19:27:33.000Z | 2021-07-18T19:27:33.000Z | pyuubin/__version__.py | MichalMazurek/pyuubin | 383cdc491514aa9978ebc1cb639623a5dea92e64 | [
"Apache-2.0"
] | null | null | null | __version__ = "19.1.0"
| 11.5 | 22 | 0.652174 | 4 | 23 | 2.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0.130435 | 23 | 1 | 23 | 23 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0.26087 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5894658df7bc8c6de67e9df1ea9eb709dc0c6260 | 104 | py | Python | qap/test_qap_sublist_generator.py | manwithadodla/quality-assessment-protocol | 9f4d660bd67eb20d4b4a28ae7e837e6d396f0318 | [
"BSD-3-Clause"
] | 38 | 2015-01-23T20:07:22.000Z | 2021-11-08T07:08:27.000Z | qap/test_qap_sublist_generator.py | manwithadodla/quality-assessment-protocol | 9f4d660bd67eb20d4b4a28ae7e837e6d396f0318 | [
"BSD-3-Clause"
] | 107 | 2015-01-09T00:34:34.000Z | 2022-02-28T07:44:10.000Z | qap/test_qap_sublist_generator.py | manwithadodla/quality-assessment-protocol | 9f4d660bd67eb20d4b4a28ae7e837e6d396f0318 | [
"BSD-3-Clause"
] | 24 | 2015-09-14T16:11:12.000Z | 2021-10-04T08:09:16.000Z |
import pytest
import unittest
class TestMain(unittest.TestCase):
def setUp(self):
pass
| 9.454545 | 34 | 0.682692 | 12 | 104 | 5.916667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 104 | 10 | 35 | 10.4 | 0.910256 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0.2 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
543fea6cd780e6ea50cf002913944156d2fd7b53 | 244 | py | Python | src/share_rest_api/func/share_rest_api/main.py | flecoqui/sharing-data-rest-api | a468861c941099f3a1546f764e76194f6a9ff066 | [
"MIT"
] | null | null | null | src/share_rest_api/func/share_rest_api/main.py | flecoqui/sharing-data-rest-api | a468861c941099f3a1546f764e76194f6a9ff066 | [
"MIT"
] | null | null | null | src/share_rest_api/func/share_rest_api/main.py | flecoqui/sharing-data-rest-api | a468861c941099f3a1546f764e76194f6a9ff066 | [
"MIT"
] | null | null | null | import azure.functions as func
from shared_code.app import app
from shared_code.http_asgi import AsgiMiddleware
def main(req: func.HttpRequest, context: func.Context) -> func.HttpResponse:
return AsgiMiddleware(app).handle(req, context)
| 27.111111 | 76 | 0.79918 | 34 | 244 | 5.647059 | 0.588235 | 0.104167 | 0.145833 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118852 | 244 | 8 | 77 | 30.5 | 0.893023 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.6 | 0.2 | 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 | 1 | 1 | 0 | 0 | 4 |
544ed62077b056eafb5c0a8b73bca79f0ce9f1b6 | 249 | py | Python | handlers/eventhandlers/ignoredPackets.py | kawatapw/kuriso | a24baa12ccfdaab7cd0772985a1ada5a6a09f0d7 | [
"MIT"
] | 6 | 2021-03-07T20:14:29.000Z | 2022-03-10T20:28:20.000Z | handlers/eventhandlers/ignoredPackets.py | kawatapw/kuriso | a24baa12ccfdaab7cd0772985a1ada5a6a09f0d7 | [
"MIT"
] | 3 | 2021-04-20T17:18:58.000Z | 2022-03-28T18:17:35.000Z | handlers/eventhandlers/ignoredPackets.py | kawatapw/kuriso | a24baa12ccfdaab7cd0772985a1ada5a6a09f0d7 | [
"MIT"
] | 4 | 2021-03-30T12:55:07.000Z | 2022-03-10T09:01:16.000Z | from handlers.decorators import OsuEvent
from packets.OsuPacketID import OsuPacketID
# packet id: 68 beatmap info request, not used in newer client
@OsuEvent.register_handler(OsuPacketID.Client_BeatmapInfoRequest)
async def _(*_):
return True
| 27.666667 | 65 | 0.815261 | 31 | 249 | 6.419355 | 0.806452 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009217 | 0.128514 | 249 | 8 | 66 | 31.125 | 0.907834 | 0.240964 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.6 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
544fe6fc9f49b0e33f10eede4660d99272b00556 | 85 | py | Python | test3.py | Tealaves/mypython | 151f29eb720889710c7705a0c674b097bcec50f3 | [
"Apache-2.0"
] | null | null | null | test3.py | Tealaves/mypython | 151f29eb720889710c7705a0c674b097bcec50f3 | [
"Apache-2.0"
] | null | null | null | test3.py | Tealaves/mypython | 151f29eb720889710c7705a0c674b097bcec50f3 | [
"Apache-2.0"
] | null | null | null | #!/bin/bash
x = 99
def f1():
x = 88
def f2():
print(x)
f2()
f1()
| 9.444444 | 16 | 0.388235 | 14 | 85 | 2.357143 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156863 | 0.4 | 85 | 8 | 17 | 10.625 | 0.490196 | 0.117647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0 | 0.285714 | 0.142857 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
546ccd4e899ff21c5d93f4b9c60f66b929e57079 | 344 | py | Python | chainer_pytorch_migration/__init__.py | asi1024/chainer-pytorch-migration | 830713f9d22a0aaf2d545515e889b5502e707e89 | [
"MIT"
] | 53 | 2019-12-05T06:05:37.000Z | 2021-09-09T07:25:04.000Z | chainer_pytorch_migration/__init__.py | asi1024/chainer-pytorch-migration | 830713f9d22a0aaf2d545515e889b5502e707e89 | [
"MIT"
] | 26 | 2020-01-15T07:53:52.000Z | 2020-10-01T08:40:43.000Z | chainer_pytorch_migration/__init__.py | asi1024/chainer-pytorch-migration | 830713f9d22a0aaf2d545515e889b5502e707e89 | [
"MIT"
] | 7 | 2020-01-16T13:56:42.000Z | 2020-07-30T07:29:30.000Z | from . import links
from .allocator import use_mempool_in_cupy_malloc, use_torch_in_cupy_malloc
from .datasets import TransformDataset
from .links import TorchModule
from .parameter import ChainerParameter, LinkAsTorchModel, Optimizer
from .tensor import asarray, astensor, to_numpy_dtype
from .device import to_chainer_... | 43 | 75 | 0.863372 | 47 | 344 | 6.021277 | 0.531915 | 0.042403 | 0.084806 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098837 | 344 | 7 | 76 | 49.142857 | 0.912903 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
5470a1fa0a4e5c7c785baa8a33b3e49d2b4d1192 | 154 | py | Python | techk/apps/scraper/apps.py | airsalvatierra/fullstack-challenge | 21a621d9df93e6e3cdc3283abe7f05b1e6e8dcb0 | [
"MIT"
] | 4 | 2018-05-01T20:31:49.000Z | 2021-12-20T19:30:40.000Z | techk/apps/scraper/apps.py | airsalvatierra/fullstack-challenge | 21a621d9df93e6e3cdc3283abe7f05b1e6e8dcb0 | [
"MIT"
] | 22 | 2017-04-13T15:02:09.000Z | 2021-02-02T21:48:41.000Z | techk/apps/scraper/apps.py | bastianvargas/fullstack-challenge | 057c4af97cbf99daf5d01e8ce260bcf884115382 | [
"MIT"
] | 17 | 2019-07-16T00:01:51.000Z | 2019-11-26T14:19:40.000Z | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.apps import AppConfig
class ScraperConfig(AppConfig):
name = 'scraper'
| 17.111111 | 39 | 0.733766 | 18 | 154 | 6 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007752 | 0.162338 | 154 | 8 | 40 | 19.25 | 0.829457 | 0.136364 | 0 | 0 | 0 | 0 | 0.053435 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 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 | 1 | 0 | 0 | 4 |
547623a5b5defdc530fec55399f34e029f6462e6 | 242 | py | Python | FreeTAKServer/model/FTSModel/Archive.py | Tapawingo/FreeTakServer | 30259fa0fb5a69bbf6606f06d9cd40a63d2aa4fd | [
"MIT"
] | 27 | 2020-05-01T01:45:59.000Z | 2020-07-03T00:17:13.000Z | FreeTAKServer/model/FTSModel/Archive.py | Tapawingo/FreeTakServer | 30259fa0fb5a69bbf6606f06d9cd40a63d2aa4fd | [
"MIT"
] | 34 | 2020-04-26T11:25:52.000Z | 2020-07-03T21:06:34.000Z | FreeTAKServer/model/FTSModel/Archive.py | Tapawingo/FreeTakServer | 30259fa0fb5a69bbf6606f06d9cd40a63d2aa4fd | [
"MIT"
] | 15 | 2020-05-01T01:46:07.000Z | 2020-07-03T12:14:04.000Z | from FreeTAKServer.model.FTSModel.fts_protocol_object import FTSProtocolObject
class Archive(FTSProtocolObject):
@staticmethod
def drop_point():
# while the tag exists in the CoT structure no known content exists
pass | 34.571429 | 78 | 0.760331 | 29 | 242 | 6.241379 | 0.896552 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.194215 | 242 | 7 | 79 | 34.571429 | 0.928205 | 0.268595 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0.2 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
547947c8af05f6c060caa621de3166bbaca78283 | 165 | py | Python | tests/GUI_tests/show_inbrowser.py | davtoh/RRTools | 6dde2d4622719d9031bf21ffbf7723231a0e2003 | [
"BSD-3-Clause"
] | 1 | 2019-07-16T03:54:22.000Z | 2019-07-16T03:54:22.000Z | tests/GUI_tests/show_inbrowser.py | davtoh/RRTools | 6dde2d4622719d9031bf21ffbf7723231a0e2003 | [
"BSD-3-Clause"
] | null | null | null | tests/GUI_tests/show_inbrowser.py | davtoh/RRTools | 6dde2d4622719d9031bf21ffbf7723231a0e2003 | [
"BSD-3-Clause"
] | 1 | 2019-07-09T02:49:06.000Z | 2019-07-09T02:49:06.000Z | # http://stackoverflow.com/a/30169340/5288758
filename = "/mnt/4E443F99443F82AF/Dropbox/PYTHON/RRtoolbox/tests/im1_1.jpg"
import webbrowser
webbrowser.open(filename) | 41.25 | 75 | 0.824242 | 21 | 165 | 6.428571 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177215 | 0.042424 | 165 | 4 | 76 | 41.25 | 0.677215 | 0.260606 | 0 | 0 | 0 | 0 | 0.512397 | 0.512397 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
54ba9c5a25731bd4cef18f632cde314708ac2b4a | 319 | py | Python | astr-119-hw/useful_modules.py | Aukau/Astr-119 | da56326c84ad6755aee0182d87c607b4c321c45d | [
"MIT"
] | null | null | null | astr-119-hw/useful_modules.py | Aukau/Astr-119 | da56326c84ad6755aee0182d87c607b4c321c45d | [
"MIT"
] | 12 | 2021-09-27T18:42:44.000Z | 2021-12-09T18:01:31.000Z | astr-119-hw/useful_modules.py | Aukau/Astr-119 | da56326c84ad6755aee0182d87c607b4c321c45d | [
"MIT"
] | null | null | null | import numpy as np #the numpy library
import matplotlib.pyplot as plt #this is matplotlib's pyplot
import sys #gives access to C-like sys libraries
import os #gives access to operating systems
print(sys.argv) #command line arguments
print(os.getcwd) #this gives the current working directory | 39.875 | 65 | 0.739812 | 48 | 319 | 4.916667 | 0.645833 | 0.09322 | 0.110169 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.213166 | 319 | 8 | 66 | 39.875 | 0.940239 | 0.548589 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0.333333 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
54c1f51466514bff8ef9a000f179a81aae2a67a4 | 119 | py | Python | category/context_processors.py | Hillerr/GreatKart | c92c2621308716e4404880814cf2029a1ac2aaca | [
"MIT"
] | null | null | null | category/context_processors.py | Hillerr/GreatKart | c92c2621308716e4404880814cf2029a1ac2aaca | [
"MIT"
] | null | null | null | category/context_processors.py | Hillerr/GreatKart | c92c2621308716e4404880814cf2029a1ac2aaca | [
"MIT"
] | null | null | null | from .models import Category
def menu_links(requests):
links = Category.objects.all()
return dict(links=links) | 23.8 | 34 | 0.739496 | 16 | 119 | 5.4375 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159664 | 119 | 5 | 35 | 23.8 | 0.87 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
49b95803ef0b00064990f1f3ac060fa83cfc1f8e | 131 | py | Python | src/GoogleAPIScope.py | Murto/FeedBot | cc27e9ad98c80920181da0d1fb7d1ef301d19912 | [
"MIT"
] | null | null | null | src/GoogleAPIScope.py | Murto/FeedBot | cc27e9ad98c80920181da0d1fb7d1ef301d19912 | [
"MIT"
] | null | null | null | src/GoogleAPIScope.py | Murto/FeedBot | cc27e9ad98c80920181da0d1fb7d1ef301d19912 | [
"MIT"
] | null | null | null | class GoogleAPIScope:
CALENDAR = "https://www.googleapis.com/auth/calendar"
DRIVE = "https://www.googleapis.com/auth/drive"
| 32.75 | 55 | 0.725191 | 16 | 131 | 5.9375 | 0.5625 | 0.168421 | 0.378947 | 0.442105 | 0.526316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114504 | 131 | 3 | 56 | 43.666667 | 0.818966 | 0 | 0 | 0 | 0 | 0 | 0.587786 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 4 |
49e3c2045b5635ed0f55537ad8c0155fdbed0aa4 | 1,096 | py | Python | OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/raw/GLX/ARB/create_context.py | JE-Chen/je_old_repo | a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5 | [
"MIT"
] | null | null | null | OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/raw/GLX/ARB/create_context.py | JE-Chen/je_old_repo | a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5 | [
"MIT"
] | null | null | null | OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/raw/GLX/ARB/create_context.py | JE-Chen/je_old_repo | a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5 | [
"MIT"
] | null | null | null | '''Autogenerated by xml_generate script, do not edit!'''
from OpenGL import platform as _p, arrays
# Code generation uses this
from OpenGL.raw.GLX import _types as _cs
# End users want this...
from OpenGL.raw.GLX._types import *
from OpenGL.raw.GLX import _errors
from OpenGL.constant import Constant as _C
imp... | 49.818182 | 120 | 0.82573 | 167 | 1,096 | 4.952096 | 0.413174 | 0.120919 | 0.042322 | 0.084643 | 0.338573 | 0.079807 | 0 | 0 | 0 | 0 | 0 | 0.032836 | 0.083029 | 1,096 | 21 | 121 | 52.190476 | 0.79005 | 0.091241 | 0 | 0 | 1 | 0 | 0.192149 | 0.192149 | 0 | 0 | 0.039256 | 0 | 0 | 1 | 0.117647 | false | 0.058824 | 0.352941 | 0.058824 | 0.529412 | 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 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
49eaaab153d20e960ac8f3215f64f8a340d60107 | 405 | py | Python | fantamarconi/admin.py | DavideTonin99/djfantamarconi | 281acc6307ad7e2f72570d361ef88506cdb491bf | [
"MIT"
] | 1 | 2019-05-31T17:56:18.000Z | 2019-05-31T17:56:18.000Z | fantamarconi/admin.py | DavideTonin99/djfantamarconi | 281acc6307ad7e2f72570d361ef88506cdb491bf | [
"MIT"
] | null | null | null | fantamarconi/admin.py | DavideTonin99/djfantamarconi | 281acc6307ad7e2f72570d361ef88506cdb491bf | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Processes, Timeline, Organogram
#class ProcessesAdmin(admin.ModelAdmin):
# prepopulated_fields = {'slug':('name',)}
# class Meta:
# model = Processes
# Register your models here.
#admin.site.register(Processes, ProcessesAdmin)
admin.site.... | 25.3125 | 52 | 0.728395 | 44 | 405 | 6.681818 | 0.5 | 0.122449 | 0.231293 | 0.176871 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160494 | 405 | 15 | 53 | 27 | 0.864706 | 0.483951 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
b712a6d21a62065107b0c2b3460beba4d566777c | 2,047 | py | Python | extras.py | somebody1234/Charcoal | bd84513685ac54187a849c01dd2d5ad52d15d3b8 | [
"MIT"
] | 184 | 2016-10-03T04:47:22.000Z | 2022-03-14T16:14:04.000Z | extras.py | somebody1234/Charcoal | bd84513685ac54187a849c01dd2d5ad52d15d3b8 | [
"MIT"
] | 12 | 2016-10-04T22:41:55.000Z | 2021-01-01T05:55:39.000Z | extras.py | somebody1234/Charcoal | bd84513685ac54187a849c01dd2d5ad52d15d3b8 | [
"MIT"
] | 11 | 2017-05-19T19:06:53.000Z | 2019-10-05T19:39:14.000Z | go = goat = """\
___.
// \\\\
(( ''
\\\\__,
/6 (%)\\,
(__/:";,;\\--____----_
;; :';,:';`;,';,;';`,`_
;:,;;';';,;':,';';,-Y\\
;,;,;';';,;':;';'; Z/
/ ;,';';,;';,;';;'
/ / |';/~~~~~\\';;'
( K | | || |
\\_\\ | | || |
\\Z | | || |
L_| LL_|
LW/ LLW... | 42.645833 | 73 | 0.093307 | 27 | 2,047 | 2.444444 | 0.666667 | 0.121212 | 0.136364 | 0.121212 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001441 | 0.660967 | 2,047 | 47 | 74 | 43.553191 | 0.09366 | 0.00977 | 0 | 0 | 0 | 0 | 0.969862 | 0.036067 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 | 4 |
3f766617ae77cefd7194e09c87d2804839f8f471 | 866 | py | Python | Path.py | HoSzyk/Genetic_algorithm_board | edcd2307761489a6e9b65424726039b89bff98ff | [
"MIT"
] | null | null | null | Path.py | HoSzyk/Genetic_algorithm_board | edcd2307761489a6e9b65424726039b89bff98ff | [
"MIT"
] | null | null | null | Path.py | HoSzyk/Genetic_algorithm_board | edcd2307761489a6e9b65424726039b89bff98ff | [
"MIT"
] | null | null | null | from typing import List
from Segment import Segment
from Point import Point
class Path:
def __init__(self, segment_list=None):
if segment_list is None:
segment_list = []
self.__segment_list: List[Segment] = segment_list
@property
def segment_list(self):
return self.__... | 27.0625 | 71 | 0.67552 | 115 | 866 | 4.678261 | 0.304348 | 0.306691 | 0.195167 | 0.066915 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00152 | 0.240185 | 866 | 31 | 72 | 27.935484 | 0.816109 | 0 | 0 | 0 | 0 | 0 | 0.058891 | 0.025404 | 0 | 0 | 0 | 0 | 0 | 1 | 0.26087 | false | 0 | 0.130435 | 0.086957 | 0.565217 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
3f86e781321cd610b10210db120df1578e84f938 | 113 | py | Python | enthought/developer/features/debug_feature.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 3 | 2016-12-09T06:05:18.000Z | 2018-03-01T13:00:29.000Z | enthought/developer/features/debug_feature.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 1 | 2020-12-02T00:51:32.000Z | 2020-12-02T08:48:55.000Z | enthought/developer/features/debug_feature.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | null | null | null | # proxy module
from __future__ import absolute_import
from etsdevtools.developer.features.debug_feature import *
| 28.25 | 58 | 0.858407 | 14 | 113 | 6.5 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097345 | 113 | 3 | 59 | 37.666667 | 0.892157 | 0.106195 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
3f9749aefdeb1a567e4e59ddadf7f5df127fb45a | 2,149 | py | Python | CTMC/Diffusion_3D/get_transform_matrices_3d.py | mattslezak-shell/PROJ_Option_Pricing_Matlab | 6105bd00ba3471802180c122fdf81e90833a91c4 | [
"MIT"
] | null | null | null | CTMC/Diffusion_3D/get_transform_matrices_3d.py | mattslezak-shell/PROJ_Option_Pricing_Matlab | 6105bd00ba3471802180c122fdf81e90833a91c4 | [
"MIT"
] | null | null | null | CTMC/Diffusion_3D/get_transform_matrices_3d.py | mattslezak-shell/PROJ_Option_Pricing_Matlab | 6105bd00ba3471802180c122fdf81e90833a91c4 | [
"MIT"
] | 1 | 2022-01-07T15:31:45.000Z | 2022-01-07T15:31:45.000Z | # Generated with SMOP 0.41-beta
try:
from smop.libsmop import *
except ImportError:
raise ImportError('File compiled with `smop3`, please install `smop3` to run it.') from None
# get_transform_matrices_3d.m
@function
def get_transform_matrices_3d(R=None,method=None,*args,**kwargs):
varargin... | 32.074627 | 97 | 0.569567 | 308 | 2,149 | 3.724026 | 0.308442 | 0.240628 | 0.401046 | 0.441151 | 0.513514 | 0.453357 | 0.327812 | 0.299913 | 0 | 0 | 0 | 0.08384 | 0.311773 | 2,149 | 67 | 98 | 32.074627 | 0.691684 | 0.338762 | 0 | 0.216216 | 1 | 0 | 0.051841 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.027027 | false | 0.027027 | 0.081081 | 0 | 0.135135 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
3faa667ccef874c5e785eaa9c0f24c8390ba1293 | 204 | py | Python | src/cms/views/events/__init__.py | mckinly/cms-django | c9995a3bfab6ee2d02f2406a7f83cf91b7ccfcca | [
"Apache-2.0"
] | null | null | null | src/cms/views/events/__init__.py | mckinly/cms-django | c9995a3bfab6ee2d02f2406a7f83cf91b7ccfcca | [
"Apache-2.0"
] | 5 | 2021-02-10T02:41:20.000Z | 2022-03-12T00:56:56.000Z | src/cms/views/events/__init__.py | mckinly/cms-django | c9995a3bfab6ee2d02f2406a7f83cf91b7ccfcca | [
"Apache-2.0"
] | null | null | null | """
This package contains all views related to events
"""
from .event_view import EventView
from .event_list_view import EventListView
from .event_actions import archive, restore, delete, search_poi_ajax
| 29.142857 | 68 | 0.818627 | 29 | 204 | 5.551724 | 0.758621 | 0.167702 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122549 | 204 | 6 | 69 | 34 | 0.899441 | 0.240196 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
3fc82599177f6f88a84b8d60c9ca42863b51c63a | 150 | py | Python | GeometryReaders/XMLIdealGeometryESSource/python/customTrackerLiMax.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | GeometryReaders/XMLIdealGeometryESSource/python/customTrackerLiMax.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | GeometryReaders/XMLIdealGeometryESSource/python/customTrackerLiMax.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | import FWCore.ParameterSet.Config as cms
def customiseMaterialBudget(process):
process.XMLFromDBSource.label='ExtendedLiMax'
return (process)
| 30 | 49 | 0.806667 | 15 | 150 | 8.066667 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113333 | 150 | 4 | 50 | 37.5 | 0.909774 | 0 | 0 | 0 | 0 | 0 | 0.086667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
3fd3b472d87654275b7b22882e57cf9222bc590c | 65 | py | Python | vulture/whitelists/logging_whitelist.py | rahulatdeepsource/vulture | 91044108b651c580339738e6812a91f0951fbef5 | [
"MIT"
] | null | null | null | vulture/whitelists/logging_whitelist.py | rahulatdeepsource/vulture | 91044108b651c580339738e6812a91f0951fbef5 | [
"MIT"
] | 1 | 2020-02-05T18:34:58.000Z | 2020-02-05T18:34:58.000Z | vulture/whitelists/logging_whitelist.py | rahulatdeepsource/vulture | 91044108b651c580339738e6812a91f0951fbef5 | [
"MIT"
] | null | null | null | import logging
logging.Filter.filter
logging.StreamHandler.emit
| 13 | 26 | 0.861538 | 8 | 65 | 7 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 65 | 4 | 27 | 16.25 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
3fd7f938a5ca7d385c8391953b541daecf980c64 | 269 | py | Python | location/routers.py | atulmishra-one/chikitshak | 542399ce873d1ded1bea1a0400383b5e530e2666 | [
"MIT"
] | 1 | 2021-03-09T07:14:11.000Z | 2021-03-09T07:14:11.000Z | location/routers.py | atulmishra-one/chikitshak | 542399ce873d1ded1bea1a0400383b5e530e2666 | [
"MIT"
] | null | null | null | location/routers.py | atulmishra-one/chikitshak | 542399ce873d1ded1bea1a0400383b5e530e2666 | [
"MIT"
] | null | null | null | from rest_framework import routers
from location.viewsets import StateApiView
from location.viewsets import CityApiView
router = routers.DefaultRouter()
router.register(r'state', StateApiView, base_name="state")
router.register(r'city', CityApiView, base_name="city")
| 33.625 | 58 | 0.821561 | 34 | 269 | 6.411765 | 0.5 | 0.110092 | 0.183486 | 0.238532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081784 | 269 | 7 | 59 | 38.428571 | 0.882591 | 0 | 0 | 0 | 0 | 0 | 0.066915 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 1 | 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 | 4 |
3fe44f5eeec1ad7053c6df7f737f6dbe697c4c88 | 60 | py | Python | devel/lib/python2.7/dist-packages/schunk_sdh/msg/__init__.py | gw-cs-sd/sd-2017-schunk_arm | ebf691cf2457e59b6881587aec75363c4743bf29 | [
"BSD-3-Clause"
] | null | null | null | devel/lib/python2.7/dist-packages/schunk_sdh/msg/__init__.py | gw-cs-sd/sd-2017-schunk_arm | ebf691cf2457e59b6881587aec75363c4743bf29 | [
"BSD-3-Clause"
] | null | null | null | devel/lib/python2.7/dist-packages/schunk_sdh/msg/__init__.py | gw-cs-sd/sd-2017-schunk_arm | ebf691cf2457e59b6881587aec75363c4743bf29 | [
"BSD-3-Clause"
] | null | null | null | from ._TactileMatrix import *
from ._TactileSensor import *
| 20 | 29 | 0.8 | 6 | 60 | 7.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 60 | 2 | 30 | 30 | 0.884615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
3fe5831e39a3fafdc57d6550dd2ea9c1615e8c88 | 1,029 | py | Python | tests/v1/test_synthetics_step.py | MichaelTROEHLER/datadog-api-client-python | 12c46626622fb1277bb1e172753b342c671348bd | [
"Apache-2.0"
] | null | null | null | tests/v1/test_synthetics_step.py | MichaelTROEHLER/datadog-api-client-python | 12c46626622fb1277bb1e172753b342c671348bd | [
"Apache-2.0"
] | null | null | null | tests/v1/test_synthetics_step.py | MichaelTROEHLER/datadog-api-client-python | 12c46626622fb1277bb1e172753b342c671348bd | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
# This product includes software developed at Datadog (https://www.datadoghq.com/).
# Copyright 2019-Present Datadog, Inc.
from __future__ import absolute_import
import sys
import unittest
im... | 26.384615 | 108 | 0.735666 | 126 | 1,029 | 5.785714 | 0.603175 | 0.05487 | 0.087792 | 0.098765 | 0.144033 | 0.144033 | 0.101509 | 0 | 0 | 0 | 0 | 0.016746 | 0.187561 | 1,029 | 38 | 109 | 27.078947 | 0.855263 | 0.387755 | 0 | 0.157895 | 0 | 0 | 0.091354 | 0.078303 | 0 | 0 | 0 | 0.026316 | 0 | 1 | 0.157895 | false | 0.157895 | 0.368421 | 0 | 0.578947 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
3fee78759604ca46d8220dcc9c2a4d13329b1a91 | 7,448 | py | Python | ocial/ocial_project/topics/signals.py | kasimbozdag/swe_574 | a77fa29fd80c713cd202ccbb82cfcadfa52b81fa | [
"MIT"
] | 1 | 2019-09-29T12:54:58.000Z | 2019-09-29T12:54:58.000Z | ocial/ocial_project/topics/signals.py | kasimbozdag/swe_574 | a77fa29fd80c713cd202ccbb82cfcadfa52b81fa | [
"MIT"
] | 55 | 2019-09-26T16:29:22.000Z | 2022-02-10T11:28:32.000Z | ocial/ocial_project/topics/signals.py | kasimbozdag/swe_574 | a77fa29fd80c713cd202ccbb82cfcadfa52b81fa | [
"MIT"
] | null | null | null | from django.db.models.signals import pre_save, pre_delete, post_save, post_delete
from django.dispatch import receiver
import json
from .middlewares import RequestMiddleware
from .models import Topic, ActivityStream_JSON, Learner_Course_Record, UserFollowing, Section, Course, GetActivityStream
from datetime import dat... | 34.481481 | 133 | 0.640575 | 874 | 7,448 | 5.326087 | 0.191076 | 0.058002 | 0.038668 | 0.015467 | 0.729753 | 0.716219 | 0.704619 | 0.6913 | 0.654565 | 0.654565 | 0 | 0.005286 | 0.23805 | 7,448 | 215 | 134 | 34.64186 | 0.814978 | 0.062164 | 0 | 0.732143 | 0 | 0.005952 | 0.177378 | 0.003511 | 0 | 0 | 0 | 0 | 0 | 1 | 0.029762 | false | 0 | 0.047619 | 0 | 0.10119 | 0.017857 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b7ba57a9ae5c6c21cb6f3c0dc3fe8ef71341aa84 | 93 | py | Python | userinput/apps.py | VisheshJain112/predective-ai | 2faf16f31020d5e3a5e5a13da6a3ad9310ff55dc | [
"MIT"
] | 1 | 2021-02-21T07:34:23.000Z | 2021-02-21T07:34:23.000Z | userinput/apps.py | VisheshJain112/predective-ai | 2faf16f31020d5e3a5e5a13da6a3ad9310ff55dc | [
"MIT"
] | null | null | null | userinput/apps.py | VisheshJain112/predective-ai | 2faf16f31020d5e3a5e5a13da6a3ad9310ff55dc | [
"MIT"
] | 3 | 2021-02-21T13:26:44.000Z | 2021-02-23T16:15:35.000Z | from django.apps import AppConfig
class UserinputConfig(AppConfig):
name = 'userinput'
| 15.5 | 33 | 0.763441 | 10 | 93 | 7.1 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 93 | 5 | 34 | 18.6 | 0.910256 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 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 | 1 | 0 | 0 | 4 |
b7df78a5c27ebd57590231f65f935ed133d62c56 | 59 | py | Python | dreqPy/extensions/__init__.py | zklaus-cmip6/CMIP6dreq | 647459f5f1799b1a847a071248904c34d6a58064 | [
"BSD-3-Clause-Clear"
] | null | null | null | dreqPy/extensions/__init__.py | zklaus-cmip6/CMIP6dreq | 647459f5f1799b1a847a071248904c34d6a58064 | [
"BSD-3-Clause-Clear"
] | null | null | null | dreqPy/extensions/__init__.py | zklaus-cmip6/CMIP6dreq | 647459f5f1799b1a847a071248904c34d6a58064 | [
"BSD-3-Clause-Clear"
] | null | null | null | """A collection of extensions to the core functionality"""
| 29.5 | 58 | 0.762712 | 8 | 59 | 5.625 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135593 | 59 | 1 | 59 | 59 | 0.882353 | 0.881356 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b7e2c9cf61ab6207e9c44cbaebeb2eb8943075c9 | 202 | py | Python | env/bin/django-admin.py | Divyanshukalola/Alchemeo | fd32b47450eb2fea9f1bdf4a2f253e5655aca1d4 | [
"MIT"
] | null | null | null | env/bin/django-admin.py | Divyanshukalola/Alchemeo | fd32b47450eb2fea9f1bdf4a2f253e5655aca1d4 | [
"MIT"
] | null | null | null | env/bin/django-admin.py | Divyanshukalola/Alchemeo | fd32b47450eb2fea9f1bdf4a2f253e5655aca1d4 | [
"MIT"
] | null | null | null | #!/Users/divyanshu/Desktop/My Stuff/HTML Templates/argon-dashboard-django-master/env/bin/python
from django.core import management
if __name__ == "__main__":
management.execute_from_command_line()
| 33.666667 | 95 | 0.80198 | 27 | 202 | 5.592593 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084158 | 202 | 5 | 96 | 40.4 | 0.816216 | 0.465347 | 0 | 0 | 0 | 0 | 0.074766 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
b7f4cd0b81f7b3cbc0eb6e2b2d84fc9a430037ba | 158 | py | Python | MxOnline/apps/__init__.py | zhangsheng166/demo | 8142abb110e3885ffe62d2fce24e18e6619c558d | [
"Apache-2.0"
] | null | null | null | MxOnline/apps/__init__.py | zhangsheng166/demo | 8142abb110e3885ffe62d2fce24e18e6619c558d | [
"Apache-2.0"
] | null | null | null | MxOnline/apps/__init__.py | zhangsheng166/demo | 8142abb110e3885ffe62d2fce24e18e6619c558d | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# @Time : 2017/12/15 19:46
# @Author : 暖先生!
# @FileName: __init__.py.py
# @Software: PyCharm
# @Blog :http://www.zstcl.com | 26.333333 | 32 | 0.563291 | 22 | 158 | 3.863636 | 0.954545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104839 | 0.21519 | 158 | 6 | 32 | 26.333333 | 0.580645 | 0.892405 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4d1861eec5f3ad1ab1213ebfa5b0bc268d8f2aab | 770,613 | py | Python | clarisse/var/lib/windows/base.py | GuillaumeVFX/pipel | a1bd726239e6887745396723c3aad5d61e88ce44 | [
"MIT"
] | 2 | 2020-05-12T11:38:44.000Z | 2022-03-07T04:13:50.000Z | clarisse/var/lib/windows/base.py | GuillaumeVFX/pipel | a1bd726239e6887745396723c3aad5d61e88ce44 | [
"MIT"
] | null | null | null | clarisse/var/lib/windows/base.py | GuillaumeVFX/pipel | a1bd726239e6887745396723c3aad5d61e88ce44 | [
"MIT"
] | null | null | null | # This file was automatically generated by SWIG (http://www.swig.org).
# Version 3.0.12
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.
from sys import version_info as _swig_python_version_info
if _swig_python_version_info >= (2, 7, 0):
def swig_im... | 34.007635 | 159 | 0.72685 | 88,246 | 770,613 | 5.729427 | 0.009009 | 0.093829 | 0.040981 | 0.037346 | 0.796906 | 0.71641 | 0.595988 | 0.563755 | 0.517976 | 0.430826 | 0 | 0.0101 | 0.191174 | 770,613 | 22,659 | 160 | 34.009135 | 0.801076 | 0.000383 | 0 | 0.486396 | 1 | 0 | 0.013622 | 0.000057 | 0 | 0 | 0 | 0 | 0 | 1 | 0.302474 | false | 0.000118 | 0.001178 | 0.281625 | 0.700942 | 0.000118 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
4d1b71a06ba408dd48c6894743c8690ed509e4b7 | 105 | py | Python | zp/main_run.py | DYC2016/zhaopin | eb3920d05160a9e5570c958e08e9b950db660f64 | [
"Apache-2.0"
] | null | null | null | zp/main_run.py | DYC2016/zhaopin | eb3920d05160a9e5570c958e08e9b950db660f64 | [
"Apache-2.0"
] | null | null | null | zp/main_run.py | DYC2016/zhaopin | eb3920d05160a9e5570c958e08e9b950db660f64 | [
"Apache-2.0"
] | null | null | null | #-*-coding:utf-8-*-
from scrapy.cmdline import execute #调用命令行操作
execute('scrapy crawl zhaopin'.split())
| 21 | 43 | 0.733333 | 14 | 105 | 5.5 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010526 | 0.095238 | 105 | 4 | 44 | 26.25 | 0.8 | 0.238095 | 0 | 0 | 0 | 0 | 0.25641 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
4d245729ec3bad076bfc9dc1b795e86ec505a217 | 363 | py | Python | serv/core/events.py | jnhu76/ImageServ | 222231ce361a7b29fb25318c8bc9fedc65f236ee | [
"MIT"
] | null | null | null | serv/core/events.py | jnhu76/ImageServ | 222231ce361a7b29fb25318c8bc9fedc65f236ee | [
"MIT"
] | null | null | null | serv/core/events.py | jnhu76/ImageServ | 222231ce361a7b29fb25318c8bc9fedc65f236ee | [
"MIT"
] | null | null | null | from typing import Callable
from fastapi import FastAPI
from loguru import logger
def create_start_app_handler(app: FastAPI) -> Callable:
def start_app() -> None:
pass
return start_app
def create_stop_app_handler(app: FastAPI) -> Callable:
@logger.catch
def stop_app() -> N... | 17.285714 | 56 | 0.655647 | 46 | 363 | 4.956522 | 0.369565 | 0.105263 | 0.114035 | 0.175439 | 0.245614 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.278237 | 363 | 20 | 57 | 18.15 | 0.870229 | 0 | 0 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.166667 | 0.25 | 0 | 0.75 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
4d2b438be00d897608539241d88266c7eb3f7477 | 490 | py | Python | idea1/input-contracts/StorageTest.py | igormcoelho/neo-boa | c141b503183cab287744cd19be5dfd86d9bc8daf | [
"MIT"
] | 1 | 2021-06-19T04:07:04.000Z | 2021-06-19T04:07:04.000Z | idea1/input-contracts/StorageTest.py | igormcoelho/neo-boa | c141b503183cab287744cd19be5dfd86d9bc8daf | [
"MIT"
] | null | null | null | idea1/input-contracts/StorageTest.py | igormcoelho/neo-boa | c141b503183cab287744cd19be5dfd86d9bc8daf | [
"MIT"
] | null | null | null | from boa.blockchain.vm.Neo.Storage import GetContext, Put#, Get, Put, Delete, GetContext
#from boa.blockchain.vm.Neo.Runtime import Notify
def Main():
#"""
#
# :return:
# """
#context = GetContext()
#print("hello")
#Notify(context)
#item_key = 'hello'
#item_val = 'hhhhhhh'
#Notify(... | 18.846154 | 88 | 0.604082 | 60 | 490 | 4.833333 | 0.466667 | 0.113793 | 0.144828 | 0.131034 | 0.151724 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002653 | 0.230612 | 490 | 25 | 89 | 19.6 | 0.766578 | 0.597959 | 0 | 0 | 0 | 0 | 0.055556 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
4d461166094636fbc59db44e84556697ff38a068 | 241 | py | Python | doc/source/_local_ext.py | hfmark/mplcursors | 5ce3369f66df5af16657975064722f76f2ea668d | [
"MIT"
] | 78 | 2016-07-25T00:47:58.000Z | 2022-03-28T15:45:29.000Z | doc/source/_local_ext.py | hfmark/mplcursors | 5ce3369f66df5af16657975064722f76f2ea668d | [
"MIT"
] | 48 | 2017-08-29T23:26:59.000Z | 2022-03-25T07:52:57.000Z | doc/source/_local_ext.py | hfmark/mplcursors | 5ce3369f66df5af16657975064722f76f2ea668d | [
"MIT"
] | 16 | 2016-08-04T00:25:17.000Z | 2022-02-07T21:45:35.000Z | from sphinx_gallery.sorting import ExampleTitleSortKey
class CustomSortKey(ExampleTitleSortKey):
def __call__(self, filename):
return ("" if filename == "basic.py" # goes first
else super().__call__(filename))
| 30.125 | 58 | 0.692946 | 24 | 241 | 6.583333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.211618 | 241 | 7 | 59 | 34.428571 | 0.831579 | 0.041494 | 0 | 0 | 0 | 0 | 0.034935 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 0.8 | 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 | 1 | 1 | 0 | 0 | 4 |
4d542cf7ff119886c0ccc81b0df5319cb2ae44b9 | 56 | py | Python | run_example.py | pthom/imgui_datascience | a2c9d52afba41d21ead78968eafc1ebe59be8fcb | [
"Apache-2.0"
] | 68 | 2018-04-23T00:38:19.000Z | 2022-03-30T18:47:36.000Z | run_example.py | pthom/imgui_datascience | a2c9d52afba41d21ead78968eafc1ebe59be8fcb | [
"Apache-2.0"
] | 36 | 2018-06-05T18:45:48.000Z | 2019-02-12T16:15:08.000Z | run_example.py | pthom/imgui_datascience | a2c9d52afba41d21ead78968eafc1ebe59be8fcb | [
"Apache-2.0"
] | 4 | 2019-05-17T03:19:33.000Z | 2021-12-27T06:36:36.000Z | from imgui_datascience.example import example
example()
| 18.666667 | 45 | 0.857143 | 7 | 56 | 6.714286 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089286 | 56 | 2 | 46 | 28 | 0.921569 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
4d60828e2be9190463c35afb628495054fdb6b79 | 211 | py | Python | codex-py/test/config/test_ci.py | egustafson/home-sensors | 232b36fe6fa2a2e3bce1391a91dffa192f17b835 | [
"Apache-2.0"
] | null | null | null | codex-py/test/config/test_ci.py | egustafson/home-sensors | 232b36fe6fa2a2e3bce1391a91dffa192f17b835 | [
"Apache-2.0"
] | null | null | null | codex-py/test/config/test_ci.py | egustafson/home-sensors | 232b36fe6fa2a2e3bce1391a91dffa192f17b835 | [
"Apache-2.0"
] | null | null | null | # *-* coding: utf-8 -*-
""" UnitTest for ManagedObject (MO) """
import unittest
from codex.config.ci import ConfigItem
class TestCI(unittest.TestCase):
def test_pass(self):
self.assertTrue(True)
| 17.583333 | 39 | 0.682464 | 26 | 211 | 5.5 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00578 | 0.180095 | 211 | 11 | 40 | 19.181818 | 0.820809 | 0.260664 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.2 | false | 0.2 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
4d61f36536bd6150303c5e3018e100bc575c9592 | 228 | py | Python | Lista 1 Banin/ex13.py | qnomon/Python-Studies | dbd592cf2a161bb9ddbec66f020c602bddc6d44b | [
"MIT"
] | null | null | null | Lista 1 Banin/ex13.py | qnomon/Python-Studies | dbd592cf2a161bb9ddbec66f020c602bddc6d44b | [
"MIT"
] | null | null | null | Lista 1 Banin/ex13.py | qnomon/Python-Studies | dbd592cf2a161bb9ddbec66f020c602bddc6d44b | [
"MIT"
] | null | null | null | x = float(input('Digite um valor [0]Para encerrar o programa: '))
tot = 0
while x != 0:
tot +=x
x = float(input('Digite um valor [0]Para encerrar o programa: '))
print(f'O total da soma dos números inseridos é de {tot}') | 38 | 69 | 0.657895 | 41 | 228 | 3.658537 | 0.560976 | 0.08 | 0.146667 | 0.226667 | 0.613333 | 0.613333 | 0.613333 | 0.613333 | 0.613333 | 0.613333 | 0 | 0.021978 | 0.201754 | 228 | 6 | 70 | 38 | 0.802198 | 0 | 0 | 0.333333 | 0 | 0 | 0.60262 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.166667 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4d9a74bda04dfd9afe3c6984155f1983f081693f | 8,775 | py | Python | test/data/test_pre_images.py | eavise-kul/lightnet | d2d5d3fff8f929c3683c34f176217649375b98e1 | [
"MIT"
] | 6 | 2019-10-10T05:42:50.000Z | 2022-02-27T04:59:29.000Z | test/data/test_pre_images.py | eavise-kul/lightnet | d2d5d3fff8f929c3683c34f176217649375b98e1 | [
"MIT"
] | null | null | null | test/data/test_pre_images.py | eavise-kul/lightnet | d2d5d3fff8f929c3683c34f176217649375b98e1 | [
"MIT"
] | 4 | 2020-01-25T20:16:23.000Z | 2021-04-29T13:02:34.000Z | #
# Test pre-processing transforms with multiple different input types
# Copyright EAVISE
#
import random
import pytest
import torch
import torchvision
import numpy as np
from PIL import Image
import lightnet.data.transform as tf
@pytest.fixture(scope='module')
def image():
def _image(width, height, grayscal... | 32.742537 | 110 | 0.681368 | 1,405 | 8,775 | 3.95089 | 0.095374 | 0.051342 | 0.044677 | 0.055486 | 0.777878 | 0.728517 | 0.71915 | 0.711944 | 0.690867 | 0.662403 | 0 | 0.033676 | 0.201368 | 8,775 | 267 | 111 | 32.865169 | 0.758419 | 0.033732 | 0 | 0.530303 | 0 | 0 | 0.014777 | 0 | 0 | 0 | 0 | 0 | 0.30303 | 1 | 0.070707 | false | 0 | 0.035354 | 0 | 0.116162 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 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 | 4 |
4dc4468d24ea4d652fd0616f1567d0b52c4f9837 | 244 | py | Python | url_s.py | Kaneki1416/CrackingToolsBot | 97847894f6aa29bba7585a2b6f64d3f02e4820b7 | [
"MIT"
] | 20 | 2021-01-03T15:03:38.000Z | 2021-12-18T22:52:02.000Z | url_s.py | ninjanaveen/CrackingToolsBot | 52d8fb0867bbb5435d8a017fa213e05cd3e651aa | [
"MIT"
] | 3 | 2021-11-29T03:47:51.000Z | 2022-02-20T14:55:53.000Z | url_s.py | ninjanaveen/CrackingToolsBot | 52d8fb0867bbb5435d8a017fa213e05cd3e651aa | [
"MIT"
] | 30 | 2021-01-03T18:24:47.000Z | 2022-03-11T16:13:10.000Z | # import DevsExpo
zee5 = "https://userapi.zee5.com/v1/user/loginemail?email={email}&password={password}"
nord = "https://zwyr157wwiu6eior.com/v1/users/tokens"
vortex = "https://vortex-api.gg/login"
vypr = "https://api.goldenfrog.com/settings"
| 34.857143 | 86 | 0.737705 | 33 | 244 | 5.454545 | 0.666667 | 0.055556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035088 | 0.065574 | 244 | 6 | 87 | 40.666667 | 0.754386 | 0.061475 | 0 | 0 | 0 | 0.25 | 0.806167 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.25 | 0 | 0 | 0 | 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 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
4dcc91e180563e87ad60d57d8d258929c5a93303 | 274 | py | Python | checkinstallversions.py | LinuxFlyGuy/PFNE | eb0506926ece193415cf5c4882a8990c41211667 | [
"MIT"
] | null | null | null | checkinstallversions.py | LinuxFlyGuy/PFNE | eb0506926ece193415cf5c4882a8990c41211667 | [
"MIT"
] | null | null | null | checkinstallversions.py | LinuxFlyGuy/PFNE | eb0506926ece193415cf5c4882a8990c41211667 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
import pysnmp, paramiko
print "Yay, I have all of my libraries! \n"
snmp = pysnmp.__version__
mymiko = paramiko.__version__
print "Your installed version of pysnmp is %r. \n" % (snmp)
print "Your installed version of paramiko is %r. \n" % (mymiko)
| 22.833333 | 63 | 0.718978 | 42 | 274 | 4.5 | 0.547619 | 0.05291 | 0.190476 | 0.26455 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.167883 | 274 | 11 | 64 | 24.909091 | 0.828947 | 0.072993 | 0 | 0 | 0 | 0 | 0.478261 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.166667 | null | null | 0.5 | 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 | 1 | 0 | 4 |
4dd4e58e57258fda3aff04144c9fd03af1629e86 | 135 | py | Python | source/appModules/netradiorecorder5.py | riku22/nvdajp | 66a828ea89d317e4aa0ad2aed4b3b1e08920afb6 | [
"bzip2-1.0.6"
] | 19 | 2016-05-11T05:15:31.000Z | 2022-03-17T12:40:10.000Z | source/appModules/netradiorecorder5.py | riku22/nvdajp | 66a828ea89d317e4aa0ad2aed4b3b1e08920afb6 | [
"bzip2-1.0.6"
] | 307 | 2015-08-27T11:22:33.000Z | 2022-03-29T10:43:34.000Z | source/appModules/netradiorecorder5.py | riku22/nvdajp | 66a828ea89d317e4aa0ad2aed4b3b1e08920afb6 | [
"bzip2-1.0.6"
] | 14 | 2016-03-28T07:31:49.000Z | 2022-03-30T04:56:35.000Z | # netradiorecorder5.py
# A part of NonVisual Desktop Access (NVDA)
# 2017-02-01 Takuya Nishimoto
from netradiorecorder4 import *
| 22.5 | 44 | 0.755556 | 17 | 135 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09009 | 0.177778 | 135 | 5 | 45 | 27 | 0.828829 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
4dde30ddf0a0e9c963b31285e191879ef9d7455d | 37,730 | py | Python | hydrogen_electron_orbitals.py | Niuskir/Electron-Orbitals-Blender-3D | f0bc90fda4eb4730ab840744795cddc709348228 | [
"MIT"
] | 19 | 2019-11-21T01:34:51.000Z | 2021-11-11T21:55:29.000Z | hydrogen_electron_orbitals.py | Niuskir/Electron-Orbitals-Blender-3D | f0bc90fda4eb4730ab840744795cddc709348228 | [
"MIT"
] | 2 | 2019-12-29T23:57:18.000Z | 2022-02-17T18:22:58.000Z | hydrogen_electron_orbitals.py | Niuskir/Electron-Orbitals-Blender-3D | f0bc90fda4eb4730ab840744795cddc709348228 | [
"MIT"
] | 3 | 2019-04-15T03:14:44.000Z | 2021-11-10T04:49:44.000Z | import time
#start time recording
start = time.time()
import datetime
import mpmath
import math
from math import sqrt,sin,cos,tan
import mathutils
from itertools import chain
import bpy, bmesh
import numpy as np
import sympy
from sympy import symbols,I,latex,pi,diff,idiff #"I" is sympy's imaginary numbe... | 49.255875 | 183 | 0.444023 | 7,107 | 37,730 | 2.323062 | 0.083861 | 0.173834 | 0.218231 | 0.236705 | 0.36808 | 0.324409 | 0.283949 | 0.238886 | 0.220351 | 0.184797 | 0 | 0.221084 | 0.317148 | 37,730 | 766 | 184 | 49.255875 | 0.419733 | 0.117042 | 0 | 0.040541 | 0 | 0 | 0.017207 | 0.000867 | 0.005068 | 0 | 0.039057 | 0 | 0.005068 | 1 | 0.038851 | false | 0 | 0.028716 | 0 | 0.103041 | 0.016892 | 0 | 0 | 0 | null | 0 | 1 | 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 | 4 |
1503b1c8a9287a04c8c8b4c4c218512d4f16c3ae | 25 | py | Python | doc/source/quantumclient/v2_0/client.py | MrCocoaCat/ryu | 9e9571991a73380099b7ba7c6f37e0e587080a6a | [
"Apache-2.0"
] | null | null | null | doc/source/quantumclient/v2_0/client.py | MrCocoaCat/ryu | 9e9571991a73380099b7ba7c6f37e0e587080a6a | [
"Apache-2.0"
] | null | null | null | doc/source/quantumclient/v2_0/client.py | MrCocoaCat/ryu | 9e9571991a73380099b7ba7c6f37e0e587080a6a | [
"Apache-2.0"
] | null | null | null | """
dummy module.
"""
| 6.25 | 14 | 0.44 | 2 | 25 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.28 | 25 | 3 | 15 | 8.333333 | 0.611111 | 0.52 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
1512d4877d7317123cde81ddc41987c4e0769f02 | 130 | py | Python | model/__init__.py | stash-196/cv_dnn | 5f962bf82b05c0c23eea429a37a35aa52467c96d | [
"MIT"
] | null | null | null | model/__init__.py | stash-196/cv_dnn | 5f962bf82b05c0c23eea429a37a35aa52467c96d | [
"MIT"
] | null | null | null | model/__init__.py | stash-196/cv_dnn | 5f962bf82b05c0c23eea429a37a35aa52467c96d | [
"MIT"
] | null | null | null | from model.get_model import getModel
from model.simple_cnn_model import SimpleCNNModel
__all__ = ['getModel', 'SimpleCNNModel']
| 21.666667 | 49 | 0.815385 | 16 | 130 | 6.1875 | 0.5625 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107692 | 130 | 5 | 50 | 26 | 0.853448 | 0 | 0 | 0 | 0 | 0 | 0.169231 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 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 | 1 | 0 | 0 | 4 |
129e32cc907ca30e57db6af617d8334c3b2ac965 | 50,294 | py | Python | blender/arm/lightmapper/utility/build.py | t3du/armory | 76c3a7be84790821902430e170c29d6be274732d | [
"Zlib"
] | 1 | 2022-03-07T22:04:26.000Z | 2022-03-07T22:04:26.000Z | blender/arm/lightmapper/utility/build.py | t3du/armory | 76c3a7be84790821902430e170c29d6be274732d | [
"Zlib"
] | null | null | null | blender/arm/lightmapper/utility/build.py | t3du/armory | 76c3a7be84790821902430e170c29d6be274732d | [
"Zlib"
] | null | null | null | import bpy, os, subprocess, sys, platform, aud, json, datetime, socket
from . import encoding, pack, log
from . cycles import lightmap, prepare, nodes, cache
from . luxcore import setup
from . octane import configure, lightmap2
from . denoiser import integrated, oidn, optix
from . filtering import opencv
from . gui im... | 37.337788 | 292 | 0.557025 | 5,371 | 50,294 | 5.025135 | 0.086204 | 0.079363 | 0.045017 | 0.038681 | 0.779733 | 0.748907 | 0.716265 | 0.701 | 0.67236 | 0.627418 | 0 | 0.004541 | 0.347596 | 50,294 | 1,347 | 293 | 37.337788 | 0.818024 | 0.053366 | 0 | 0.610294 | 0 | 0.012255 | 0.116718 | 0.010517 | 0 | 0 | 0 | 0.000742 | 0 | 1 | 0.018382 | false | 0.022059 | 0.020833 | 0 | 0.055147 | 0.089461 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 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 | 4 |
12a9bff9e13b89cde134cd5673b2210b072bb863 | 7,001 | py | Python | superset/tests/integration_tests/dashboards/filter_sets/delete_api_tests.py | mvbvieira/finance_pipeline | 48b085aeafda61c82f77de4ae67ceb02ac32f683 | [
"Apache-2.0"
] | 2 | 2021-09-29T01:12:26.000Z | 2021-11-12T11:24:15.000Z | superset/tests/integration_tests/dashboards/filter_sets/delete_api_tests.py | mvbvieira/finance_pipeline | 48b085aeafda61c82f77de4ae67ceb02ac32f683 | [
"Apache-2.0"
] | 57 | 2020-04-20T17:41:41.000Z | 2022-03-16T21:38:05.000Z | tests/integration_tests/dashboards/filter_sets/delete_api_tests.py | alvarogg777/superset | ae4ced8da6933cdc657452d1f11415c49c6c68b8 | [
"Apache-2.0"
] | 2 | 2021-10-12T17:51:34.000Z | 2021-10-15T18:55:52.000Z | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 33.338095 | 86 | 0.696758 | 903 | 7,001 | 4.976744 | 0.159468 | 0.11215 | 0.080997 | 0.096128 | 0.759902 | 0.748331 | 0.740988 | 0.689586 | 0.689586 | 0.660214 | 0 | 0.012293 | 0.23311 | 7,001 | 209 | 87 | 33.497608 | 0.824735 | 0.13341 | 0 | 0.712121 | 0 | 0 | 0.006144 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.090909 | false | 0 | 0.05303 | 0 | 0.151515 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
12af43b7fb4bff7f58f159c89c12e72f80c53efa | 94 | py | Python | src/cirrus/core/cloudformation/metadata.py | sjwoodr/cirrus-geo | 8f1190325ba6f6c7fc82e5d3ddb16d34c1b8478d | [
"Apache-2.0"
] | 14 | 2022-01-11T12:28:51.000Z | 2022-03-30T18:46:33.000Z | src/cirrus/core/cloudformation/metadata.py | sjwoodr/cirrus-geo | 8f1190325ba6f6c7fc82e5d3ddb16d34c1b8478d | [
"Apache-2.0"
] | 68 | 2021-10-04T18:49:57.000Z | 2022-03-30T14:54:39.000Z | src/cirrus/core/cloudformation/metadata.py | sjwoodr/cirrus-geo | 8f1190325ba6f6c7fc82e5d3ddb16d34c1b8478d | [
"Apache-2.0"
] | 4 | 2021-10-05T14:20:14.000Z | 2022-03-08T18:50:47.000Z | from .base import BaseCFObject
class Metadata(BaseCFObject):
top_level_key = 'Metadata'
| 15.666667 | 30 | 0.765957 | 11 | 94 | 6.363636 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159574 | 94 | 5 | 31 | 18.8 | 0.886076 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 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 | 1 | 0 | 0 | 4 |
12b1a7f299f482af2ea660749eed17f71b97f8e5 | 129 | py | Python | helprequest/admin.py | Emmastro/medmer-api | c17366a92506b6ac1bdedc85ad0c29c3d2b36b5d | [
"Apache-2.0"
] | null | null | null | helprequest/admin.py | Emmastro/medmer-api | c17366a92506b6ac1bdedc85ad0c29c3d2b36b5d | [
"Apache-2.0"
] | 1 | 2021-07-12T06:32:14.000Z | 2021-07-12T06:32:14.000Z | helprequest/admin.py | Emmastro/medmer | c17366a92506b6ac1bdedc85ad0c29c3d2b36b5d | [
"Apache-2.0"
] | null | null | null | from django.contrib import admin
from .models import HelpRequest
# Register your models here.
admin.site.register(HelpRequest)
| 18.428571 | 32 | 0.813953 | 17 | 129 | 6.176471 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.124031 | 129 | 6 | 33 | 21.5 | 0.929204 | 0.20155 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 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 | 1 | 0 | 0 | 0 | 0 | 4 |
12cee5654e68ea68bbd2449ed617b993ab4846a6 | 108 | py | Python | cpcforge/cpcforge/apps/accounts/apps.py | ptjung/cpcforge | f9bc3742207a1191cfcf6c122d95790bcbb56f5d | [
"MIT"
] | null | null | null | cpcforge/cpcforge/apps/accounts/apps.py | ptjung/cpcforge | f9bc3742207a1191cfcf6c122d95790bcbb56f5d | [
"MIT"
] | null | null | null | cpcforge/cpcforge/apps/accounts/apps.py | ptjung/cpcforge | f9bc3742207a1191cfcf6c122d95790bcbb56f5d | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class AccountsConfig(AppConfig):
name = 'cpcforge.apps.accounts'
| 21.6 | 36 | 0.75 | 12 | 108 | 6.75 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 108 | 4 | 37 | 27 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0.211538 | 0.211538 | 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 | 1 | 0 | 0 | 4 |
12d768b796469fc421af99677be7547aea2caf01 | 154 | py | Python | python_docs/05Functions/05FunctionsAsArguments.py | Matheus-IT/lang-python-related | dd2e5d9b9f16d3838ba1670fdfcba1fa3fe305e9 | [
"MIT"
] | null | null | null | python_docs/05Functions/05FunctionsAsArguments.py | Matheus-IT/lang-python-related | dd2e5d9b9f16d3838ba1670fdfcba1fa3fe305e9 | [
"MIT"
] | null | null | null | python_docs/05Functions/05FunctionsAsArguments.py | Matheus-IT/lang-python-related | dd2e5d9b9f16d3838ba1670fdfcba1fa3fe305e9 | [
"MIT"
] | null | null | null | def add(x, y):
return x + y
def times(func, x, y):
return func(x, y)
a = 2
b = 4
r = times(add, a, b)
print(' - Resultado = ', r)
| 11.846154 | 28 | 0.467532 | 28 | 154 | 2.571429 | 0.5 | 0.111111 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020202 | 0.357143 | 154 | 12 | 29 | 12.833333 | 0.707071 | 0 | 0 | 0 | 0 | 0 | 0.105634 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0.25 | 0.5 | 0.125 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
12e9f50c2694c311de663aca91ca4c96b40a7bcf | 9,739 | py | Python | learn.py | eric93/sceneparsing | 4d4f5cb19c9eafbf2eda5030001678e4d16d29da | [
"MIT"
] | null | null | null | learn.py | eric93/sceneparsing | 4d4f5cb19c9eafbf2eda5030001678e4d16d29da | [
"MIT"
] | null | null | null | learn.py | eric93/sceneparsing | 4d4f5cb19c9eafbf2eda5030001678e4d16d29da | [
"MIT"
] | null | null | null | import matplotlib.pyplot as plt
import numpy as np
import random
import scipy.spatial.distance
import scipy.io
import scipy.misc
import math
import skimage.color
import skimage.feature
colormap_raw = {}
def colormap(c):
if c in colormap_raw:
return colormap_raw[c]
else:
levels = range(32,256,32... | 32.141914 | 104 | 0.530855 | 1,433 | 9,739 | 3.521982 | 0.099093 | 0.055479 | 0.057064 | 0.049931 | 0.750941 | 0.718843 | 0.714286 | 0.699822 | 0.687735 | 0.651674 | 0 | 0.059638 | 0.325085 | 9,739 | 302 | 105 | 32.248344 | 0.7082 | 0.024232 | 0 | 0.573276 | 0 | 0 | 0.008214 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.038793 | null | null | 0.025862 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
12ee712a712d0ccb23ea7f2953542eb2d71c3339 | 28 | py | Python | data/studio21_generated/introductory/4982/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | data/studio21_generated/introductory/4982/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | data/studio21_generated/introductory/4982/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | def __init__(self, board):
| 14 | 26 | 0.714286 | 4 | 28 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 2 | 27 | 14 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
12fbc661e34983c2fcb3794c98646269f58ee3f0 | 2,073 | py | Python | tests/test_data_validator.py | aecobb53/weatherman | 24b3324ffd35568f8719404c3ff2e27fc4a361f7 | [
"MIT"
] | 1 | 2020-10-14T23:23:37.000Z | 2020-10-14T23:23:37.000Z | tests/test_data_validator.py | aecobb53/weatherman | 24b3324ffd35568f8719404c3ff2e27fc4a361f7 | [
"MIT"
] | 48 | 2020-11-30T01:34:37.000Z | 2021-06-10T01:15:31.000Z | tests/test_data_validator.py | aecobb53/weatherman | 24b3324ffd35568f8719404c3ff2e27fc4a361f7 | [
"MIT"
] | null | null | null | from weatherman import data_validator
import pytest
from datetime import datetime
import yaml
import os
import unittest
mock = unittest.mock.Mock()
master_copnfig = 'etc/weatherman.yml'
with open(master_copnfig) as ycf:
config = yaml.load(ycf, Loader=yaml.FullLoader)
environment = os.environ.get('ENVIRONMENT')
@p... | 33.983607 | 70 | 0.649301 | 332 | 2,073 | 3.981928 | 0.23494 | 0.145234 | 0.241301 | 0.255673 | 0.554463 | 0.531014 | 0.531014 | 0.405446 | 0.347958 | 0.213313 | 0 | 0.330173 | 0.13507 | 2,073 | 60 | 71 | 34.55 | 0.407139 | 0 | 0 | 0.188679 | 0 | 0 | 0.427882 | 0.10082 | 0 | 0 | 0 | 0 | 0.037736 | 1 | 0.056604 | false | 0 | 0.113208 | 0 | 0.188679 | 0 | 0 | 0 | 0 | null | 0 | 1 | 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 | 4 |
428014a6e6da6db4e752d74270bd574575c3085d | 134 | py | Python | run_preprocess.py | Seanny123/nef-conceptors | e6b16282d2082563b687543734d2960927380e63 | [
"MIT"
] | 1 | 2018-10-13T23:32:24.000Z | 2018-10-13T23:32:24.000Z | run_preprocess.py | Seanny123/nef-conceptors | e6b16282d2082563b687543734d2960927380e63 | [
"MIT"
] | null | null | null | run_preprocess.py | Seanny123/nef-conceptors | e6b16282d2082563b687543734d2960927380e63 | [
"MIT"
] | null | null | null | from preprocess import *
import ipdb
min_maxs, normed_data = preprocess(61, 2, True)#len(pattern_file_names), True)
ipdb.set_trace() | 22.333333 | 78 | 0.776119 | 21 | 134 | 4.714286 | 0.809524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02521 | 0.11194 | 134 | 6 | 79 | 22.333333 | 0.806723 | 0.223881 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
429b447d00b6fa137deaef347dfd0a9517b8dca2 | 56 | py | Python | tests/syntax/def_missing_name.py | matan-h/friendly | 3ab0fc6541c837271e8865e247750007acdd18fb | [
"MIT"
] | 287 | 2019-04-08T13:18:29.000Z | 2021-03-14T19:10:21.000Z | tests/syntax/def_missing_name.py | matan-h/friendly | 3ab0fc6541c837271e8865e247750007acdd18fb | [
"MIT"
] | 191 | 2019-04-08T14:39:18.000Z | 2021-03-14T22:14:56.000Z | tests/syntax/def_missing_name.py | matan-h/friendly | 3ab0fc6541c837271e8865e247750007acdd18fb | [
"MIT"
] | 9 | 2019-04-08T12:54:08.000Z | 2020-11-20T02:26:27.000Z | """Should raise SyntaxError"""
def ( arg ) :
pass
| 11.2 | 30 | 0.571429 | 6 | 56 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.267857 | 56 | 4 | 31 | 14 | 0.780488 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.5 | 0 | null | null | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
429e0d4e5e06034c30efae4bcd0588bb229143e4 | 687 | py | Python | Aula11/exercicio1.py | vnnstar/Python-Faculdade-Impacta | 3e7171f1f090c0774710b43110e06afb196e0ef5 | [
"MIT"
] | null | null | null | Aula11/exercicio1.py | vnnstar/Python-Faculdade-Impacta | 3e7171f1f090c0774710b43110e06afb196e0ef5 | [
"MIT"
] | null | null | null | Aula11/exercicio1.py | vnnstar/Python-Faculdade-Impacta | 3e7171f1f090c0774710b43110e06afb196e0ef5 | [
"MIT"
] | null | null | null | from abc import ABC, abstractmethod
class Operacao(ABC):
@abstractmethod
def calcular(self, x, y):
pass
class Soma(Operacao):
def calcular(self, x, y):
return x + y
class Subtracao(Operacao):
def calcular(self, x, y):
return x - y
class Multiplicacao(Operacao):
def ca... | 16.756098 | 38 | 0.604076 | 94 | 687 | 4.414894 | 0.308511 | 0.043373 | 0.180723 | 0.192771 | 0.395181 | 0.354217 | 0.354217 | 0.354217 | 0.354217 | 0.274699 | 0 | 0.037773 | 0.267831 | 687 | 40 | 39 | 17.175 | 0.787276 | 0.043668 | 0 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0.04 | 0.04 | 0.16 | 0.6 | 0.16 | 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 | 1 | 1 | 0 | 0 | 4 |
42a8111e00c2a79ae6d45e57a5018197de8c1411 | 1,623 | py | Python | data/typing/pandas.plotting._core.py | pydata-apis/python-api-record | 684cffbbb6dc6e81f9de4e02619c8b0ebc557b2b | [
"MIT"
] | 67 | 2020-08-17T11:53:26.000Z | 2021-11-08T20:16:06.000Z | data/typing/pandas.plotting._core.py | data-apis/python-record-api | 684cffbbb6dc6e81f9de4e02619c8b0ebc557b2b | [
"MIT"
] | 36 | 2020-08-17T11:09:51.000Z | 2021-12-15T18:09:47.000Z | data/typing/pandas.plotting._core.py | pydata-apis/python-api-record | 684cffbbb6dc6e81f9de4e02619c8b0ebc557b2b | [
"MIT"
] | 7 | 2020-08-19T05:06:47.000Z | 2020-11-04T05:10:38.000Z | from typing import *
class PlotAccessor:
@overload
def area(self, /):
"""
usage.hvplot: 2
usage.koalas: 1
"""
...
@overload
def area(self, /, y: Literal["sales"]):
"""
usage.koalas: 1
"""
...
def area(self, /, y: Literal["sa... | 16.23 | 59 | 0.352434 | 141 | 1,623 | 4.042553 | 0.234043 | 0.231579 | 0.189474 | 0.196491 | 0.77193 | 0.608772 | 0.608772 | 0.282456 | 0.119298 | 0.119298 | 0 | 0.025404 | 0.46642 | 1,623 | 99 | 60 | 16.393939 | 0.632794 | 0.216266 | 0 | 0.529412 | 0 | 0 | 0.015819 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.411765 | false | 0 | 0.029412 | 0 | 0.470588 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
35f6927d6528f914525ea5a9ef1d96e96fa7abdf | 770 | py | Python | eve_auth/migrations/0005_undo_custom_user_model.py | kimnnmadsen/eve-abyssal-market | 1e07498b98be9282b969badff51d55258c72e7ed | [
"MIT"
] | 13 | 2018-08-23T14:27:22.000Z | 2020-12-07T12:35:38.000Z | eve_auth/migrations/0005_undo_custom_user_model.py | kimnnmadsen/eve-abyssal-market | 1e07498b98be9282b969badff51d55258c72e7ed | [
"MIT"
] | 25 | 2018-10-09T14:37:33.000Z | 2020-05-15T20:21:48.000Z | eve_auth/migrations/0005_undo_custom_user_model.py | kimnnmadsen/eve-abyssal-market | 1e07498b98be9282b969badff51d55258c72e7ed | [
"MIT"
] | 4 | 2021-08-12T05:34:05.000Z | 2022-01-06T05:28:36.000Z | # Generated by Django 2.1.3 on 2018-12-01 00:00
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('eve_auth', '0004_scope_read_assets'),
]
operations = [
migrations.RemoveField(
model_name='eveuser',
name='is_active',
... | 22.647059 | 47 | 0.535065 | 69 | 770 | 5.768116 | 0.521739 | 0.263819 | 0.326633 | 0.376884 | 0.525126 | 0.525126 | 0.21608 | 0 | 0 | 0 | 0 | 0.038229 | 0.354545 | 770 | 33 | 48 | 23.333333 | 0.762575 | 0.058442 | 0 | 0.555556 | 1 | 0 | 0.165975 | 0.030429 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.037037 | 0.037037 | 0 | 0.148148 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
c4009d0d4134328de0427e405e9b0719f405446a | 167 | py | Python | NBApredict/management/tables/predictions.py | anshu7919/NBApredict | 59f4a128c1c964a5f78860227d3309edbc57766e | [
"MIT"
] | 10 | 2019-08-23T07:49:52.000Z | 2022-02-22T14:46:01.000Z | NBApredict/management/tables/predictions.py | anshu7919/NBApredict | 59f4a128c1c964a5f78860227d3309edbc57766e | [
"MIT"
] | 9 | 2018-11-16T23:11:03.000Z | 2019-08-07T21:17:22.000Z | NBApredict/management/tables/predictions.py | Spencer-Weston/NBA_bet | e84867b18e2dbaf58340c30c061f172d62f52699 | [
"MIT"
] | 8 | 2020-02-01T07:47:41.000Z | 2021-06-14T15:09:55.000Z | """Functions for prediction table creation and operations."""
def format_data():
pass
def create_table(db, prediction_data):
pass
def insert():
pass
| 11.928571 | 61 | 0.688623 | 21 | 167 | 5.333333 | 0.666667 | 0.142857 | 0.196429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.209581 | 167 | 13 | 62 | 12.846154 | 0.848485 | 0.329341 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
c401b8c1294f1b3169ba4d4d2fd9fb801640fb6f | 104 | py | Python | src/runner_listener/apps.py | OpenROAD-Cloud/frontend-service | 7c723fa2dc48ff1b75cbdf0601259cf3b2a5b8b8 | [
"BSD-2-Clause"
] | 1 | 2021-04-08T11:15:21.000Z | 2021-04-08T11:15:21.000Z | src/runner_listener/apps.py | OpenROAD-Cloud/frontend-service | 7c723fa2dc48ff1b75cbdf0601259cf3b2a5b8b8 | [
"BSD-2-Clause"
] | 3 | 2020-06-23T04:48:22.000Z | 2020-06-23T04:48:22.000Z | src/runner_listener/apps.py | OpenROAD-Cloud/frontend-service | 7c723fa2dc48ff1b75cbdf0601259cf3b2a5b8b8 | [
"BSD-2-Clause"
] | 2 | 2020-07-19T13:58:30.000Z | 2020-08-03T16:07:20.000Z | from django.apps import AppConfig
class RunnerListenerConfig(AppConfig):
name = 'runner_listener'
| 17.333333 | 38 | 0.788462 | 11 | 104 | 7.363636 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144231 | 104 | 5 | 39 | 20.8 | 0.910112 | 0 | 0 | 0 | 0 | 0 | 0.144231 | 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 | 1 | 0 | 0 | 4 |
c404759ee4a60b12a28c56791377128436764707 | 943 | py | Python | connect_four/connect_four_v1.py | mars-tiger/kidspython | 63d62d0083fb0c0904af6078916e0fe8ab2b9278 | [
"MIT"
] | 6 | 2021-08-21T17:00:54.000Z | 2021-08-28T22:12:57.000Z | connect_four/connect_four_v1.py | mars-tiger/kidspython | 63d62d0083fb0c0904af6078916e0fe8ab2b9278 | [
"MIT"
] | null | null | null | connect_four/connect_four_v1.py | mars-tiger/kidspython | 63d62d0083fb0c0904af6078916e0fe8ab2b9278 | [
"MIT"
] | 2 | 2021-08-21T17:13:33.000Z | 2021-08-28T22:12:59.000Z | import turtle
def draw_circle():
t.color("green")
t.begin_fill()
t.circle(radius)
t.end_fill()
def draw_piece(row, col, color):
x = col + offset_x + 25
y = -row + offset_y - 25
t.up()
t.home()
t.goto(x,y)
t.down()
t.circle(radius)
def draw(x, y):
global board, rb, winner
pass
de... | 14.734375 | 45 | 0.607635 | 155 | 943 | 3.606452 | 0.296774 | 0.586762 | 0.858676 | 1.116279 | 0.332737 | 0.300537 | 0.300537 | 0.300537 | 0.300537 | 0.300537 | 0 | 0.025606 | 0.21315 | 943 | 63 | 46 | 14.968254 | 0.727763 | 0 | 0 | 0.354167 | 0 | 0 | 0.011665 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.104167 | false | 0.0625 | 0.020833 | 0 | 0.125 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
c41454ffdfbea35fba0e08a34ac6c0f5bd6758c1 | 56,702 | py | Python | samples/coco/plot_graphs 2.py | JennyLouise/Mask_RCNN | c4f92cb1984fc1c45dcf2cc290d983a873b98318 | [
"MIT"
] | null | null | null | samples/coco/plot_graphs 2.py | JennyLouise/Mask_RCNN | c4f92cb1984fc1c45dcf2cc290d983a873b98318 | [
"MIT"
] | null | null | null | samples/coco/plot_graphs 2.py | JennyLouise/Mask_RCNN | c4f92cb1984fc1c45dcf2cc290d983a873b98318 | [
"MIT"
] | null | null | null | import matplotlib.pyplot as plt
from matplotlib.lines import Line2D
import csv
import os
import math
import matplotlib.lines as mlines
import numpy as np
import seaborn as sns
import pandas as pd
from sklearn.decomposition import PCA
from itertools import chain
import logging
from matplotlib.patches import Patch
import... | 42.988628 | 366 | 0.607492 | 6,597 | 56,702 | 4.930726 | 0.053054 | 0.018507 | 0.017769 | 0.013834 | 0.808719 | 0.737518 | 0.706929 | 0.671391 | 0.644368 | 0.610428 | 0 | 0.017046 | 0.256129 | 56,702 | 1,318 | 367 | 43.021244 | 0.754143 | 0.18599 | 0 | 0.568777 | 0 | 0 | 0.257346 | 0.081832 | 0 | 0 | 0 | 0 | 0 | 1 | 0.018559 | false | 0 | 0.017467 | 0.002183 | 0.049127 | 0.042576 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 4 |
c42196042601ad32d520721e75f9b0b5b1874a9a | 253 | py | Python | functions/addFooter.py | saaalik/PortfolioFy | 89b2790cb6ed4b348723a4d67ca76985efa584ff | [
"MIT"
] | null | null | null | functions/addFooter.py | saaalik/PortfolioFy | 89b2790cb6ed4b348723a4d67ca76985efa584ff | [
"MIT"
] | null | null | null | functions/addFooter.py | saaalik/PortfolioFy | 89b2790cb6ed4b348723a4d67ca76985efa584ff | [
"MIT"
] | null | null | null | def footer(index_file):
footer_template = '''<p class="text-info">Generated by <a href="https://github.com/kaustubhgupta">Kaustubh Gupta</a></p>'''
replacement = index_file.replace("<!-- FOOTER-ENTRY -->", footer_template)
return replacement | 63.25 | 127 | 0.699605 | 32 | 253 | 5.40625 | 0.71875 | 0.104046 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114625 | 253 | 4 | 128 | 63.25 | 0.772321 | 0 | 0 | 0 | 1 | 0.25 | 0.472441 | 0.106299 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
c44590a17bdf7cd07c5c345fb0cf7a1a09a32d74 | 26,638 | py | Python | tests/network/test_services.py | ManFromSiberia/bit | e5b3b4c33ad22eebe12f3e92f7cf7072e43e78ea | [
"MIT"
] | null | null | null | tests/network/test_services.py | ManFromSiberia/bit | e5b3b4c33ad22eebe12f3e92f7cf7072e43e78ea | [
"MIT"
] | null | null | null | tests/network/test_services.py | ManFromSiberia/bit | e5b3b4c33ad22eebe12f3e92f7cf7072e43e78ea | [
"MIT"
] | null | null | null | import pytest
import requests
import json
import unittest
import requests_mock
import bit
from bit.network.services import (
RPCHost, RPCMethod, BitpayAPI, BlockchainAPI, NetworkAPI, SmartbitAPI,
set_service_timeout
)
from tests.utils import (
catch_errors_raise_warnings, decorate_methods, raise_connection... | 42.964516 | 155 | 0.691493 | 3,223 | 26,638 | 5.343779 | 0.070431 | 0.039424 | 0.047611 | 0.041805 | 0.786332 | 0.741276 | 0.71898 | 0.644197 | 0.617779 | 0.552923 | 0 | 0.053932 | 0.212741 | 26,638 | 619 | 156 | 43.033926 | 0.767345 | 0.004205 | 0 | 0.377871 | 0 | 0 | 0.110663 | 0.040796 | 0 | 0 | 0 | 0 | 0.290188 | 1 | 0.212944 | false | 0.100209 | 0.018789 | 0.004175 | 0.300626 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 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 | 0 | 0 | 0 | 4 |
c454b6c4b867bbf2749757d0e6e5d71b010afcd7 | 30 | py | Python | snakeplane/version.py | isabella232/snakeplane | cefd87ab9fe6d18e3961ad1299319a6f8bb41b7e | [
"Apache-2.0"
] | 27 | 2019-03-14T15:58:00.000Z | 2022-01-10T12:11:12.000Z | snakeplane/version.py | alteryx/snakeplane | cefd87ab9fe6d18e3961ad1299319a6f8bb41b7e | [
"Apache-2.0"
] | 13 | 2019-04-04T17:57:19.000Z | 2021-05-11T03:43:14.000Z | snakeplane/version.py | isabella232/snakeplane | cefd87ab9fe6d18e3961ad1299319a6f8bb41b7e | [
"Apache-2.0"
] | 16 | 2019-03-15T03:40:07.000Z | 2022-02-19T10:30:32.000Z | __version__ = "1.0.0-alpha23"
| 15 | 29 | 0.7 | 5 | 30 | 3.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185185 | 0.1 | 30 | 1 | 30 | 30 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0.433333 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
c46b1ca48a533531b4ab1a4ced818f02990530d3 | 161 | py | Python | simple/scrapers/__init__.py | MeirKriheli/Open-Knesset | 0e1de0b0c47ae3fb341bd3afc6030d532fff6945 | [
"BSD-3-Clause"
] | 69 | 2015-02-03T12:02:56.000Z | 2022-02-16T13:08:01.000Z | simple/scrapers/__init__.py | OriHoch/Open-Knesset | 538bcdc2632d8d17a8ddddbc4567106684b9996b | [
"BSD-3-Clause"
] | 446 | 2015-01-01T11:10:33.000Z | 2021-11-01T08:15:39.000Z | simple/scrapers/__init__.py | OriHoch/Open-Knesset | 538bcdc2632d8d17a8ddddbc4567106684b9996b | [
"BSD-3-Clause"
] | 67 | 2015-01-01T09:13:58.000Z | 2021-11-01T07:51:08.000Z | import locale
def hebrew_strftime(dt, fmt=u'%A %d %B %Y %H:%M'):
locale.setlocale(locale.LC_ALL, 'he_IL.utf8')
return dt.strftime(fmt).decode('utf8')
| 23 | 51 | 0.664596 | 28 | 161 | 3.714286 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014599 | 0.149068 | 161 | 6 | 52 | 26.833333 | 0.744526 | 0 | 0 | 0 | 0 | 0 | 0.198758 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
c47d4659b4b530bd288a46019688d033dfc49f44 | 153 | py | Python | tests/test_store.py | joshysnow/objectstore | 16d840c28fd1fb0cbd2cabecf2a9b85db7fc2b2e | [
"Apache-2.0"
] | null | null | null | tests/test_store.py | joshysnow/objectstore | 16d840c28fd1fb0cbd2cabecf2a9b85db7fc2b2e | [
"Apache-2.0"
] | null | null | null | tests/test_store.py | joshysnow/objectstore | 16d840c28fd1fb0cbd2cabecf2a9b85db7fc2b2e | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python3
from objectstore.store import Store
class TestStore:
def test_store_constructor_succeeds(self):
store = Store()
| 19.125 | 46 | 0.712418 | 19 | 153 | 5.578947 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008197 | 0.202614 | 153 | 7 | 47 | 21.857143 | 0.860656 | 0.137255 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
c486041f41f7ca4732f46cbff7c9c54e8a3b143d | 94 | py | Python | number/problem_001/solution_not_using_math.py | Linh0704/python_project | c173e3e37e75372bdaf64d46861a60d8abed7a5f | [
"MIT"
] | 1 | 2021-10-19T03:45:20.000Z | 2021-10-19T03:45:20.000Z | number/problem_001/solution_not_using_math.py | Linh0704/python_project | c173e3e37e75372bdaf64d46861a60d8abed7a5f | [
"MIT"
] | 1 | 2021-10-18T16:51:52.000Z | 2021-10-18T17:03:49.000Z | number/problem_001/solution_not_using_math.py | Linh0704/python_project | c173e3e37e75372bdaf64d46861a60d8abed7a5f | [
"MIT"
] | null | null | null | import math
n = int(input())
Pi = 4*(4*math.atan(1/5)-math.atan(1/239))
print(str(Pi)[:n+2])
| 15.666667 | 42 | 0.606383 | 21 | 94 | 2.714286 | 0.666667 | 0.280702 | 0.315789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 0.106383 | 94 | 5 | 43 | 18.8 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0.25 | 1 | 0 | 0 | null | 1 | 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 | 4 |
6746734d5e365436803c21d35cf89fb4019cbdc5 | 38 | py | Python | bohm/__init__.py | jam31118/bohm | f842aa716f48240ceafacc6f815ae0687a965f5d | [
"MIT"
] | null | null | null | bohm/__init__.py | jam31118/bohm | f842aa716f48240ceafacc6f815ae0687a965f5d | [
"MIT"
] | 16 | 2018-05-31T14:39:38.000Z | 2019-02-08T03:01:15.000Z | bohm/__init__.py | jam31118/bohm | f842aa716f48240ceafacc6f815ae0687a965f5d | [
"MIT"
] | null | null | null | """init module for 'bohm' package"""
| 12.666667 | 36 | 0.631579 | 5 | 38 | 4.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 38 | 2 | 37 | 19 | 0.75 | 0.789474 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
6757106870bad998bcd91b43f3780a32a08b0dfd | 3,028 | py | Python | lib/pegasus/python/Pegasus/test/test_cluster.py | fengggli/pegasus | b68f588d90eb2b832086ed627d61414691f8ba95 | [
"Apache-2.0"
] | null | null | null | lib/pegasus/python/Pegasus/test/test_cluster.py | fengggli/pegasus | b68f588d90eb2b832086ed627d61414691f8ba95 | [
"Apache-2.0"
] | null | null | null | lib/pegasus/python/Pegasus/test/test_cluster.py | fengggli/pegasus | b68f588d90eb2b832086ed627d61414691f8ba95 | [
"Apache-2.0"
] | null | null | null | from __future__ import print_function
import sys
import imp
import unittest
from Pegasus.cluster import RecordParser, RecordParseException
class TestRecordParser(unittest.TestCase):
def parse(self, string):
parser = RecordParser(string)
return parser.parse()
def testBad(self):
self.as... | 44.529412 | 88 | 0.641347 | 358 | 3,028 | 5.379888 | 0.159218 | 0.121495 | 0.182762 | 0.262721 | 0.689512 | 0.689512 | 0.682243 | 0.668224 | 0.654206 | 0.614746 | 0 | 0.011871 | 0.193197 | 3,028 | 67 | 89 | 45.19403 | 0.776504 | 0 | 0 | 0.071429 | 0 | 0 | 0.231582 | 0 | 0 | 0 | 0 | 0 | 0.571429 | 1 | 0.107143 | false | 0 | 0.107143 | 0 | 0.25 | 0.035714 | 0 | 0 | 0 | null | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
6760cf1699a72d9fb4b300ffd51db0f483f78fef | 1,785 | py | Python | via_common/util/error.py | jeanjacquesp/via-common | 4c9780d5da87f91d884739a2dafffd3a3eeda2f5 | [
"Apache-2.0"
] | null | null | null | via_common/util/error.py | jeanjacquesp/via-common | 4c9780d5da87f91d884739a2dafffd3a3eeda2f5 | [
"Apache-2.0"
] | null | null | null | via_common/util/error.py | jeanjacquesp/via-common | 4c9780d5da87f91d884739a2dafffd3a3eeda2f5 | [
"Apache-2.0"
] | null | null | null | # Copyright 2020 Pax Syriana Foundation. Licensed under the Apache License, Version 2.0
#
class Error:
"""
A very simple class to hold error messages.
This class is used for concatenating succession of errors that don't stop the
flow.
"""
def __init__(self):
# prev_frame = inspect.... | 24.121622 | 88 | 0.57591 | 214 | 1,785 | 4.429907 | 0.364486 | 0.075949 | 0.054852 | 0.059072 | 0.293249 | 0.293249 | 0.293249 | 0.2173 | 0.149789 | 0.149789 | 0 | 0.004918 | 0.316527 | 1,785 | 73 | 89 | 24.452055 | 0.772131 | 0.430252 | 0 | 0 | 0 | 0 | 0.006179 | 0 | 0 | 0 | 0 | 0.013699 | 0 | 1 | 0.333333 | false | 0 | 0 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
677bbf9645fecabbb5dc090b7a2c299907741ce3 | 64 | py | Python | DB/__init__.py | Killberos-Tze/Optical_constants_database | f38b7db299b52f202a4ca4f28e912a1d20143d51 | [
"MIT"
] | null | null | null | DB/__init__.py | Killberos-Tze/Optical_constants_database | f38b7db299b52f202a4ca4f28e912a1d20143d51 | [
"MIT"
] | null | null | null | DB/__init__.py | Killberos-Tze/Optical_constants_database | f38b7db299b52f202a4ca4f28e912a1d20143d51 | [
"MIT"
] | null | null | null | __all__=['ODB_class']
from DB.optical_data_db import ODB_class
| 16 | 40 | 0.8125 | 11 | 64 | 4 | 0.727273 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 64 | 3 | 41 | 21.333333 | 0.758621 | 0 | 0 | 0 | 0 | 0 | 0.140625 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 0 | 4 |
67c5ea317d71b3f5b4a61d0a37be7fcb4abdf164 | 45 | py | Python | tests/modules/applications/test_applications.py | TheHacktech/hacktechpy.io | 2bad54e78857d9aaed4bb5bbee8c14f1636c55d7 | [
"MIT"
] | 1 | 2019-10-24T03:45:26.000Z | 2019-10-24T03:45:26.000Z | tests/modules/applications/test_applications.py | TheHacktech/hacktechpy.io | 2bad54e78857d9aaed4bb5bbee8c14f1636c55d7 | [
"MIT"
] | 6 | 2020-02-03T00:40:28.000Z | 2020-02-03T00:45:41.000Z | tests/modules/applications/test_applications.py | TheHacktech/hacktechpy.io | 2bad54e78857d9aaed4bb5bbee8c14f1636c55d7 | [
"MIT"
] | 1 | 2020-02-02T23:56:14.000Z | 2020-02-02T23:56:14.000Z | """
Tests hacktech/modules/applications/
"""
| 11.25 | 36 | 0.711111 | 4 | 45 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 45 | 3 | 37 | 15 | 0.780488 | 0.8 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
67e3ef6e5f68b2cac4238a553bb6847abc2cdbb2 | 5,783 | py | Python | _library/user_stopword.py | wajimax/Python-NLP | 9bb897d0a3ac675461ea773d57b79e5fcdaa867e | [
"MIT"
] | null | null | null | _library/user_stopword.py | wajimax/Python-NLP | 9bb897d0a3ac675461ea773d57b79e5fcdaa867e | [
"MIT"
] | null | null | null | _library/user_stopword.py | wajimax/Python-NLP | 9bb897d0a3ac675461ea773d57b79e5fcdaa867e | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
class User_stopword(object):
user_stop = ['html','head','title','base','link','meta','style','body','article','section','nav','aside','header','footer','address','p','hr','pre','blockquote','ol','ul','li','dl','dt','dd','figure','figcaption','div','main','a','em','strong','small','s','cite','... | 578.3 | 3,040 | 0.627529 | 1,071 | 5,783 | 3.384687 | 0.276377 | 0.004414 | 0.009379 | 0.01269 | 0.342621 | 0.331586 | 0.331586 | 0.294621 | 0.294621 | 0.294621 | 0 | 0.003644 | 0.003458 | 5,783 | 9 | 3,041 | 642.555556 | 0.625369 | 0.003631 | 0 | 0 | 0 | 0 | 0.559222 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
67e65a93764bfde2ec3821b3c98f7c986eef2cdc | 92 | py | Python | components/micropython/core/ports/esp32/modules/upysh.py | bincc123/MaixPy_Test | 7eaccbf0fbd67447e47106166f1d7b0431abdad0 | [
"Apache-2.0"
] | null | null | null | components/micropython/core/ports/esp32/modules/upysh.py | bincc123/MaixPy_Test | 7eaccbf0fbd67447e47106166f1d7b0431abdad0 | [
"Apache-2.0"
] | null | null | null | components/micropython/core/ports/esp32/modules/upysh.py | bincc123/MaixPy_Test | 7eaccbf0fbd67447e47106166f1d7b0431abdad0 | [
"Apache-2.0"
] | null | null | null | IntxLNK. . / . . / . . / . . / m i c r o p y t h o n - l i b / u p y s h / u p y s h . p y | 92 | 92 | 0.358696 | 6 | 92 | 5.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 92 | 1 | 92 | 92 | 0.358696 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
67ed9541ab572d9c8b5e7b52b144c0f20e37f46f | 2,228 | py | Python | hydra/core/task/factory.py | rpacholek/hydra | 60e3c2eec5ab1fd1dde8e510baa5175173c66a6a | [
"MIT"
] | null | null | null | hydra/core/task/factory.py | rpacholek/hydra | 60e3c2eec5ab1fd1dde8e510baa5175173c66a6a | [
"MIT"
] | null | null | null | hydra/core/task/factory.py | rpacholek/hydra | 60e3c2eec5ab1fd1dde8e510baa5175173c66a6a | [
"MIT"
] | null | null | null | from ..factory.register_class import Factory
from .task import Task
from .taskdb import TaskContainer
from .job import Job
from .jobdb import JobContainer
class TaskFactory(Factory, generate=Task):
registered_subfactories = {}
def __init__(self, config):
super().__init__(config)
self.config ... | 28.202532 | 65 | 0.698384 | 222 | 2,228 | 6.734234 | 0.148649 | 0.086957 | 0.053512 | 0.077592 | 0.675585 | 0.655518 | 0.655518 | 0.655518 | 0.655518 | 0.655518 | 0 | 0 | 0.201526 | 2,228 | 78 | 66 | 28.564103 | 0.84036 | 0 | 0 | 0.649123 | 1 | 0 | 0.006284 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.210526 | false | 0 | 0.087719 | 0.070175 | 0.508772 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
67f5d930a62895ea459ba8036ece945fdc6ed0e6 | 607 | py | Python | forms/__init__.py | qwc-services/sogis-agdi | f278612c42f648da07448905f2b8021b279e66bc | [
"MIT"
] | null | null | null | forms/__init__.py | qwc-services/sogis-agdi | f278612c42f648da07448905f2b8021b279e66bc | [
"MIT"
] | null | null | null | forms/__init__.py | qwc-services/sogis-agdi | f278612c42f648da07448905f2b8021b279e66bc | [
"MIT"
] | null | null | null | from .data_source_form import DataSourceForm
from .data_set_gui_form import DataSetGUIForm
from .product_set_gui_form import ProductSetGUIForm
from .background_layer_form import BackgroundLayerForm
from .service_form import ServiceForm
from .module_form import ModuleForm
from .map_form import MapForm
from .template_for... | 33.722222 | 54 | 0.873147 | 82 | 607 | 6.195122 | 0.45122 | 0.295276 | 0.03937 | 0.062992 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102142 | 607 | 17 | 55 | 35.705882 | 0.93211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.