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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
19ed528b2b1e3d6184c1f71f8fc95e17155f0fa8 | 20 | py | Python | src/eoapi/vector/eoapi/vector/__init__.py | drnextgis/eoAPI | 690d6f9efcb4108ae0f21334fd4ed4db79e80366 | [
"MIT"
] | 14 | 2021-08-31T19:03:46.000Z | 2022-03-18T20:05:01.000Z | src/eoapi/vector/eoapi/vector/__init__.py | drnextgis/eoAPI | 690d6f9efcb4108ae0f21334fd4ed4db79e80366 | [
"MIT"
] | 27 | 2021-08-30T17:34:20.000Z | 2022-03-10T18:15:53.000Z | src/eoapi/vector/eoapi/vector/__init__.py | drnextgis/eoAPI | 690d6f9efcb4108ae0f21334fd4ed4db79e80366 | [
"MIT"
] | 2 | 2021-09-08T15:53:40.000Z | 2022-03-01T20:25:51.000Z | """eoapi.vector."""
| 10 | 19 | 0.55 | 2 | 20 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05 | 20 | 1 | 20 | 20 | 0.578947 | 0.65 | 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 |
c235f1e5ecb34f40084b55234cfb3fb28f6775f5 | 111 | py | Python | django_cowhite_blog/apps.py | cowhite/django-cowhite-blog | 5ca8ae4091a836c44656c8b682ed0251ce4d3059 | [
"MIT"
] | 1 | 2018-06-17T14:44:07.000Z | 2018-06-17T14:44:07.000Z | django_cowhite_blog/apps.py | cowhite/django-cowhite-blog | 5ca8ae4091a836c44656c8b682ed0251ce4d3059 | [
"MIT"
] | 7 | 2019-10-22T18:07:16.000Z | 2022-03-11T23:21:34.000Z | django_cowhite_blog/apps.py | cowhite/django-cowhite-blog | 5ca8ae4091a836c44656c8b682ed0251ce4d3059 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class DjangoCowhiteBlogConfig(AppConfig):
name = 'django_cowhite_blog'
| 18.5 | 41 | 0.801802 | 12 | 111 | 7.25 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135135 | 111 | 5 | 42 | 22.2 | 0.90625 | 0 | 0 | 0 | 0 | 0 | 0.171171 | 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 |
c248af98815b7be45611fa2c2249c8ceb39f1416 | 157 | py | Python | i_rorelse/apps.py | ISOF-ITD/leaflet-storymaps | d1544f4ecd750716b1a88639ec6c343e86e18f88 | [
"MIT"
] | null | null | null | i_rorelse/apps.py | ISOF-ITD/leaflet-storymaps | d1544f4ecd750716b1a88639ec6c343e86e18f88 | [
"MIT"
] | null | null | null | i_rorelse/apps.py | ISOF-ITD/leaflet-storymaps | d1544f4ecd750716b1a88639ec6c343e86e18f88 | [
"MIT"
] | null | null | null | from __future__ import unicode_literals
from django.apps import AppConfig
class IRorelse(AppConfig):
name = 'i_rorelse'
verbose_name = 'I rörelse' | 19.625 | 39 | 0.764331 | 20 | 157 | 5.65 | 0.75 | 0.088496 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171975 | 157 | 8 | 40 | 19.625 | 0.869231 | 0 | 0 | 0 | 0 | 0 | 0.113924 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 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 |
df9c281f5d50e2b91c74087ccffa8c4f358c471a | 185 | py | Python | FbxPipeline/generated/apemodefb/ECullingTypeFb.py | johnfredcee/FbxPipeline | d06213d21b3b251233154b1a5f5fb6122f712942 | [
"Apache-2.0"
] | 72 | 2017-03-13T04:20:52.000Z | 2022-01-07T10:58:11.000Z | FbxPipeline/generated/apemodefb/ECullingTypeFb.py | johnfredcee/FbxPipeline | d06213d21b3b251233154b1a5f5fb6122f712942 | [
"Apache-2.0"
] | 1 | 2017-02-21T12:26:45.000Z | 2017-02-22T17:30:44.000Z | FbxPipeline/generated/apemodefb/ECullingTypeFb.py | johnfredcee/FbxPipeline | d06213d21b3b251233154b1a5f5fb6122f712942 | [
"Apache-2.0"
] | 10 | 2017-02-04T23:57:24.000Z | 2021-08-08T01:59:24.000Z | # automatically generated by the FlatBuffers compiler, do not modify
# namespace: apemodefb
class ECullingTypeFb(object):
CullingOff = 0
CullingOnCCW = 1
CullingOnCW = 2
| 18.5 | 68 | 0.735135 | 20 | 185 | 6.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020548 | 0.210811 | 185 | 9 | 69 | 20.555556 | 0.910959 | 0.47027 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
dfac6a3b491959de6860308c967329508cc86319 | 819 | py | Python | bagdiscovery/serializers.py | RockefellerArchiveCenter/bag-repository | e411ac03f9d75a03c4fe474104ea6c2e4813f312 | [
"MIT"
] | null | null | null | bagdiscovery/serializers.py | RockefellerArchiveCenter/bag-repository | e411ac03f9d75a03c4fe474104ea6c2e4813f312 | [
"MIT"
] | 99 | 2018-09-26T17:06:36.000Z | 2022-03-28T15:53:46.000Z | bagdiscovery/serializers.py | RockefellerArchiveCenter/ursa_major | 44bc4a23a37ec749553ecfcc4914357ab621d4f3 | [
"MIT"
] | null | null | null | from rest_framework import serializers
from .models import Accession, Bag
class AccessionSerializer(serializers.HyperlinkedModelSerializer):
class Meta:
model = Accession
fields = ('url', 'data', 'created', 'last_modified')
class AccessionListSerializer(serializers.HyperlinkedModelSerializer):... | 25.59375 | 113 | 0.692308 | 73 | 819 | 7.657534 | 0.342466 | 0.264759 | 0.300537 | 0.329159 | 0.618962 | 0.518784 | 0.518784 | 0.518784 | 0.271914 | 0.271914 | 0 | 0 | 0.192918 | 819 | 31 | 114 | 26.419355 | 0.845688 | 0 | 0 | 0.444444 | 0 | 0 | 0.19536 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.111111 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
dfb19be2195e6a9f5d9d229a70ff4c391d7f86d5 | 1,454 | py | Python | sdk/test/test_users_api.py | aqualinkorg/aqualink-sdk | dad972d1dd5b74e8216bdc30521a8b76f7844733 | [
"MIT"
] | 1 | 2022-02-06T23:05:37.000Z | 2022-02-06T23:05:37.000Z | sdk/test/test_users_api.py | aqualinkorg/aqualink-sdk | dad972d1dd5b74e8216bdc30521a8b76f7844733 | [
"MIT"
] | 3 | 2022-02-07T06:13:31.000Z | 2022-03-11T12:43:39.000Z | sdk/test/test_users_api.py | aqualinkorg/aqualink-sdk | dad972d1dd5b74e8216bdc30521a8b76f7844733 | [
"MIT"
] | null | null | null | """
Aqualink API documentation
The Aqualink public API documentation # noqa: E501
The version of the OpenAPI document: 1.0.0
Generated by: https://openapi-generator.tech
"""
import unittest
import aqualink_sdk
from aqualink_sdk.api.users_api import UsersApi # noqa: E501
class TestUsersApi(unitt... | 22.71875 | 74 | 0.654058 | 179 | 1,454 | 5.055866 | 0.340782 | 0.165746 | 0.060773 | 0.088398 | 0.459669 | 0.364641 | 0.265193 | 0.192265 | 0.150276 | 0.101657 | 0 | 0.025544 | 0.27304 | 1,454 | 63 | 75 | 23.079365 | 0.830653 | 0.464237 | 0 | 0.3 | 1 | 0 | 0.01252 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.35 | false | 0.3 | 0.15 | 0 | 0.55 | 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 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
dfdf11e674f1b4004795efa80339cbee10e1b6ff | 816 | py | Python | python/remove_all_occurrence_no_list.py | codevscolor/codevscolor | 35ef9042bdc86f45ef87795c35963b75fb64d5d7 | [
"Apache-2.0"
] | 6 | 2019-04-26T03:11:54.000Z | 2021-05-07T21:48:29.000Z | python/remove_all_occurrence_no_list.py | akojif/codevscolor | 56db3dffeac8f8d76ff8fcf5656770f33765941f | [
"Apache-2.0"
] | null | null | null | python/remove_all_occurrence_no_list.py | akojif/codevscolor | 56db3dffeac8f8d76ff8fcf5656770f33765941f | [
"Apache-2.0"
] | 26 | 2019-02-23T14:50:46.000Z | 2022-02-04T23:44:24.000Z | #example 1
#1
list_size = int(input("How many numbers you want to store in the list : "))
#2
user_list = []
#3
for i in range(list_size ):
user_list.append(int(input("Enter element %d : "%(i+1))))
#4
print("This is your list : ",user_list)
#5
flag = int(input("Enter the number you want to remove from this list : "... | 27.2 | 75 | 0.680147 | 145 | 816 | 3.717241 | 0.282759 | 0.148423 | 0.111317 | 0.059369 | 0.701299 | 0.701299 | 0.701299 | 0.601113 | 0.601113 | 0.601113 | 0 | 0.016393 | 0.177696 | 816 | 29 | 76 | 28.137931 | 0.786885 | 0.030637 | 0 | 0.705882 | 0 | 0 | 0.393862 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.235294 | 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 |
dfff3e177aa0e9a2b0366e455b6ba9ca5a91ae08 | 106 | py | Python | app/helloworld.py | nielsanb/apicourse | 18f12c0aa270ad759f3f2151aaf58cb41b63cbc2 | [
"MIT"
] | null | null | null | app/helloworld.py | nielsanb/apicourse | 18f12c0aa270ad759f3f2151aaf58cb41b63cbc2 | [
"MIT"
] | null | null | null | app/helloworld.py | nielsanb/apicourse | 18f12c0aa270ad759f3f2151aaf58cb41b63cbc2 | [
"MIT"
] | null | null | null | def helloworld():
print("Hello world from the script!")
if __name__ == "__main__":
helloworld()
| 15.142857 | 41 | 0.650943 | 12 | 106 | 5.083333 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.207547 | 106 | 6 | 42 | 17.666667 | 0.72619 | 0 | 0 | 0 | 0 | 0 | 0.339623 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0 | 0 | 0.25 | 0.25 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5f04d16b4ca8e250f2aebc27262df756f1eeb346 | 48 | py | Python | Chapter16/cf_rfem_hist_price/venv/lib/python3.6/genericpath.py | wtwong316/Mastering-Elasticsearch-7.0 | 8e88f938c9feb201649bd23c4d517bc6af93fbaa | [
"MIT"
] | 25 | 2019-03-08T01:03:03.000Z | 2022-02-14T17:38:32.000Z | Chapter16/cf_rfem_hist_price/venv/lib/python3.6/genericpath.py | wtwong316/Mastering-Elasticsearch-7.0 | 8e88f938c9feb201649bd23c4d517bc6af93fbaa | [
"MIT"
] | 2 | 2019-02-15T17:34:37.000Z | 2019-07-11T14:37:02.000Z | Chapter16/cf_rfem_hist_price/venv/lib/python3.6/genericpath.py | wtwong316/Mastering-Elasticsearch-7.0 | 8e88f938c9feb201649bd23c4d517bc6af93fbaa | [
"MIT"
] | 31 | 2019-01-15T20:16:50.000Z | 2022-03-01T05:47:38.000Z | /home/wai/anaconda3/lib/python3.6/genericpath.py | 48 | 48 | 0.833333 | 8 | 48 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 0 | 48 | 1 | 48 | 48 | 0.770833 | 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 |
5f221ce82cb76f561c4774cf5e74e9a6a1c3a45f | 216 | py | Python | accounts/views.py | SLAteam/sla-mgmt | 4ec9c300e923c9e1ca15821ba1ab6d9c0c12f63e | [
"BSD-3-Clause"
] | null | null | null | accounts/views.py | SLAteam/sla-mgmt | 4ec9c300e923c9e1ca15821ba1ab6d9c0c12f63e | [
"BSD-3-Clause"
] | 7 | 2018-12-03T22:59:16.000Z | 2018-12-31T12:41:20.000Z | accounts/views.py | SLAteam/sla-mgmt | 4ec9c300e923c9e1ca15821ba1ab6d9c0c12f63e | [
"BSD-3-Clause"
] | null | null | null | from django.shortcuts import render, HttpResponse
# Create your views here.
def loggedin(request):
return HttpResponse('You have been logged in!')
def index(request):
return render(request, 'accounts/index.html') | 27 | 49 | 0.777778 | 29 | 216 | 5.793103 | 0.758621 | 0.154762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12037 | 216 | 8 | 50 | 27 | 0.884211 | 0.106481 | 0 | 0 | 0 | 0 | 0.223958 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0.4 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
a023c93d99a5d4ac11547faaa499b90f57e6823a | 143 | py | Python | src/utils/common.py | Akhil-Chilakala1997/ANN-Implementation | 970428b274a594c4dd4fb166898ec5769c0e93e5 | [
"MIT"
] | null | null | null | src/utils/common.py | Akhil-Chilakala1997/ANN-Implementation | 970428b274a594c4dd4fb166898ec5769c0e93e5 | [
"MIT"
] | null | null | null | src/utils/common.py | Akhil-Chilakala1997/ANN-Implementation | 970428b274a594c4dd4fb166898ec5769c0e93e5 | [
"MIT"
] | null | null | null | import yaml
def config_read(config_path):
with open (config_path) as config:
content = yaml.safe_load(config)
return content
| 23.833333 | 38 | 0.706294 | 20 | 143 | 4.85 | 0.65 | 0.206186 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.223776 | 143 | 6 | 39 | 23.833333 | 0.873874 | 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 |
a02634252410a0491d8a0b6c8791bf0863da3721 | 1,767 | py | Python | ExternalAccessory/_metadata.py | EnjoyLifeFund/macHighSierra-py36-pkgs | 5668b5785296b314ea1321057420bcd077dba9ea | [
"BSD-3-Clause",
"BSD-2-Clause",
"MIT"
] | 4 | 2019-03-11T18:05:49.000Z | 2021-05-22T21:09:09.000Z | ExternalAccessory/_metadata.py | EnjoyLifeFund/macHighSierra-py36-pkgs | 5668b5785296b314ea1321057420bcd077dba9ea | [
"BSD-3-Clause",
"BSD-2-Clause",
"MIT"
] | null | null | null | ExternalAccessory/_metadata.py | EnjoyLifeFund/macHighSierra-py36-pkgs | 5668b5785296b314ea1321057420bcd077dba9ea | [
"BSD-3-Clause",
"BSD-2-Clause",
"MIT"
] | 1 | 2019-03-18T18:53:36.000Z | 2019-03-18T18:53:36.000Z | # This file is generated by objective.metadata
#
# Last update: Sun Jul 2 20:58:25 2017
import objc, sys
if sys.maxsize > 2 ** 32:
def sel32or64(a, b): return b
else:
def sel32or64(a, b): return a
if sys.byteorder == 'little':
def littleOrBig(a, b): return a
else:
def littleOrBig(a, b): return b
mis... | 55.21875 | 765 | 0.800226 | 147 | 1,767 | 9.605442 | 0.544218 | 0.005666 | 0.022663 | 0.01983 | 0.05949 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025184 | 0.078664 | 1,767 | 31 | 766 | 57 | 0.842138 | 0.053198 | 0 | 0.086957 | 1 | 0.043478 | 0.657074 | 0.571343 | 0 | 0 | 0 | 0 | 0 | 1 | 0.173913 | false | 0 | 0.043478 | 0.173913 | 0.217391 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
a03f7abecc40395b9bc7ad94dde477f328698480 | 97 | py | Python | data/types/pixel_definition.py | zhangzhengde0225/SwinTrack | 526be17f8ef266cb924c6939bd8dda23e9b73249 | [
"MIT"
] | 143 | 2021-12-03T02:33:36.000Z | 2022-03-29T00:01:48.000Z | data/types/pixel_definition.py | zhangzhengde0225/SwinTrack | 526be17f8ef266cb924c6939bd8dda23e9b73249 | [
"MIT"
] | 33 | 2021-12-03T10:32:05.000Z | 2022-03-31T02:13:55.000Z | data/types/pixel_definition.py | zhangzhengde0225/SwinTrack | 526be17f8ef266cb924c6939bd8dda23e9b73249 | [
"MIT"
] | 24 | 2021-12-04T06:46:42.000Z | 2022-03-30T07:57:47.000Z | import enum
class PixelDefinition(enum.Enum):
Point = enum.auto()
Region = enum.auto()
| 13.857143 | 33 | 0.670103 | 12 | 97 | 5.416667 | 0.583333 | 0.246154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206186 | 97 | 6 | 34 | 16.166667 | 0.844156 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 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 |
a055acf4731ae1a70713b6879d3396a3863a87a7 | 293 | py | Python | whitefly/commands/version.py | kloiasoft/whitefly | 517b16a5549dbec1c5107dca22c681e2a5f44ea1 | [
"Apache-2.0"
] | 2 | 2017-11-07T13:56:55.000Z | 2018-06-22T06:19:24.000Z | whitefly/commands/version.py | kloiasoft/whitefly | 517b16a5549dbec1c5107dca22c681e2a5f44ea1 | [
"Apache-2.0"
] | 4 | 2017-08-17T15:45:37.000Z | 2017-08-20T23:03:41.000Z | whitefly/commands/version.py | kloiasoft/whitefly | 517b16a5549dbec1c5107dca22c681e2a5f44ea1 | [
"Apache-2.0"
] | null | null | null | import command
import whitefly.utils.release as release
class VersionCommand(command.BaseCommand):
@staticmethod
def version():
return "whitefly version " + release.VERSION + " (" + release.CODENAME + ")"
def execute(self, args):
print(VersionCommand.version())
| 24.416667 | 84 | 0.686007 | 29 | 293 | 6.931034 | 0.62069 | 0.139303 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.201365 | 293 | 11 | 85 | 26.636364 | 0.858974 | 0 | 0 | 0 | 0 | 0 | 0.068259 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.125 | 0.75 | 0.125 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
a076e197f2b2a49dfa714d9c4b64a695fdb6a31d | 219 | py | Python | answers/pandas_answer5.py | monocilindro/foss4g-geopandas | 12afbc787c1f65cc046234b41166bd62bbb6ac29 | [
"Apache-2.0"
] | null | null | null | answers/pandas_answer5.py | monocilindro/foss4g-geopandas | 12afbc787c1f65cc046234b41166bd62bbb6ac29 | [
"Apache-2.0"
] | null | null | null | answers/pandas_answer5.py | monocilindro/foss4g-geopandas | 12afbc787c1f65cc046234b41166bd62bbb6ac29 | [
"Apache-2.0"
] | null | null | null | ax = boroughs['Gross_Annual_Pay_-_Female_(2016)'].plot.hist(bins=15,figsize=(10,5),alpha=0.5);
ax = boroughs['Gross_Annual_Pay_-_Male_(2016)'].plot.hist(bins=15,figsize=(10,5),alpha=0.5);
ax.legend(['female','male']);
| 43.8 | 94 | 0.712329 | 38 | 219 | 3.842105 | 0.473684 | 0.136986 | 0.205479 | 0.287671 | 0.821918 | 0.506849 | 0.506849 | 0.506849 | 0.506849 | 0.506849 | 0 | 0.104265 | 0.03653 | 219 | 4 | 95 | 54.75 | 0.587678 | 0 | 0 | 0 | 0 | 0 | 0.330275 | 0.284404 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 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 |
a0adaa4adaaae3fdc606f9ebeee41f9bf334e9bf | 2,146 | py | Python | script/plot.py | hjw95/website-fingerprinting | 6b141c2cc7821417bab8367d9c0bcda5f5a1badd | [
"MIT"
] | null | null | null | script/plot.py | hjw95/website-fingerprinting | 6b141c2cc7821417bab8367d9c0bcda5f5a1badd | [
"MIT"
] | null | null | null | script/plot.py | hjw95/website-fingerprinting | 6b141c2cc7821417bab8367d9c0bcda5f5a1badd | [
"MIT"
] | null | null | null | import os, json, time
import numpy as np
from svm.svmTrain import get_data, twopowerrange, accuracy
import matplotlib.pyplot as plt
from visual.plot import plot, transform
from sklearn.preprocessing import normalize
browser = "tor"
paper = "3"
processedpath = "data/" + browser + "/processed"
svmprocesseddata = "da... | 26.825 | 88 | 0.646319 | 301 | 2,146 | 4.568106 | 0.215947 | 0.072727 | 0.054545 | 0.069091 | 0.725091 | 0.725091 | 0.705455 | 0.629818 | 0.629818 | 0.629818 | 0 | 0.017493 | 0.200839 | 2,146 | 80 | 89 | 26.825 | 0.784257 | 0.044268 | 0 | 0.689655 | 0 | 0 | 0.124633 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.103448 | null | null | 0.086207 | 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 |
a0af0b583003cef0c6b8e3fef6c2644fe21a495a | 96 | py | Python | mysite/mongodb/apps.py | dduong711/API_project | a30ee07d2d61af9b57b3f0e21020a45b83db2e00 | [
"MIT"
] | null | null | null | mysite/mongodb/apps.py | dduong711/API_project | a30ee07d2d61af9b57b3f0e21020a45b83db2e00 | [
"MIT"
] | null | null | null | mysite/mongodb/apps.py | dduong711/API_project | a30ee07d2d61af9b57b3f0e21020a45b83db2e00 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class MongodbConfig(AppConfig):
name = 'mysite.mongodb'
| 16 | 33 | 0.760417 | 11 | 96 | 6.636364 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 96 | 5 | 34 | 19.2 | 0.901235 | 0 | 0 | 0 | 0 | 0 | 0.145833 | 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 |
26450a487c51356997d0996d9b8206e75636d564 | 280 | py | Python | pearll/buffers/__init__.py | LondonNode/Anvil | bc50fd7b16af36051157814e2548a98e787b03de | [
"MIT"
] | 13 | 2022-01-17T14:43:05.000Z | 2022-03-10T04:05:36.000Z | pearll/buffers/__init__.py | LondonNode/Anvil | bc50fd7b16af36051157814e2548a98e787b03de | [
"MIT"
] | 3 | 2022-02-24T18:29:12.000Z | 2022-03-22T11:09:07.000Z | pearll/buffers/__init__.py | LondonNode/Anvil | bc50fd7b16af36051157814e2548a98e787b03de | [
"MIT"
] | null | null | null | from pearll.buffers.base_buffer import BaseBuffer
from pearll.buffers.her_buffer import HERBuffer
from pearll.buffers.replay_buffer import ReplayBuffer
from pearll.buffers.rollout_buffer import RolloutBuffer
__all__ = ["BaseBuffer", "ReplayBuffer", "RolloutBuffer", "HERBuffer"]
| 40 | 70 | 0.839286 | 33 | 280 | 6.878788 | 0.424242 | 0.176211 | 0.299559 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082143 | 280 | 6 | 71 | 46.666667 | 0.883268 | 0 | 0 | 0 | 0 | 0 | 0.157143 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
266c922d02a2de7af7086a3c77163254b47e9b1a | 344 | py | Python | pure/prompt_symbol.py | zzamboni/pure-x | 5a61355b907cd20e6d33a38fb36feb374548d25a | [
"MIT"
] | 3 | 2021-01-22T11:49:39.000Z | 2022-01-20T05:33:58.000Z | pure/prompt_symbol.py | edouard-lopez/pure | 5a61355b907cd20e6d33a38fb36feb374548d25a | [
"MIT"
] | 17 | 2019-02-26T09:02:13.000Z | 2020-04-18T14:18:10.000Z | pure/prompt_symbol.py | edouard-lopez/pure | 5a61355b907cd20e6d33a38fb36feb374548d25a | [
"MIT"
] | null | null | null | from pure import colors, constants
def raw():
return '❯'
def segment(last_command_status=constants.SUCCESS):
return {
'text': raw(),
'style': style(last_command_status)
}
def style(last_command_status):
return colors.style('primary') if last_command_status == constants.SUCCESS else... | 20.235294 | 106 | 0.688953 | 43 | 344 | 5.348837 | 0.465116 | 0.191304 | 0.295652 | 0.226087 | 0.286957 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19186 | 344 | 16 | 107 | 21.5 | 0.823741 | 0 | 0 | 0 | 0 | 0 | 0.06686 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0 | 0.1 | 0.3 | 0.7 | 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 |
268116aa58a38e9e39b351b53ee6f8a8196575a6 | 108 | py | Python | gitssues/github/exc.py | lecovi/gitssues | c17153a2d279b14bda31bd2727a7e24663976698 | [
"MIT"
] | null | null | null | gitssues/github/exc.py | lecovi/gitssues | c17153a2d279b14bda31bd2727a7e24663976698 | [
"MIT"
] | 14 | 2020-10-12T00:43:00.000Z | 2021-12-20T16:07:21.000Z | gitssues/github/exc.py | lecovi/gitssues | c17153a2d279b14bda31bd2727a7e24663976698 | [
"MIT"
] | null | null | null | """
This module contains the Exceptions for Github package.
"""
class GitHubException(Exception):
pass | 15.428571 | 55 | 0.740741 | 12 | 108 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 108 | 7 | 56 | 15.428571 | 0.888889 | 0.509259 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
cd57e826b9d536a980e1c7de377eb8e82bbba534 | 602 | py | Python | python/anyascii/_data/_26c.py | casept/anyascii | d4f426b91751254b68eaa84c6cd23099edd668e6 | [
"ISC"
] | null | null | null | python/anyascii/_data/_26c.py | casept/anyascii | d4f426b91751254b68eaa84c6cd23099edd668e6 | [
"ISC"
] | null | null | null | python/anyascii/_data/_26c.py | casept/anyascii | d4f426b91751254b68eaa84c6cd23099edd668e6 | [
"ISC"
] | null | null | null | b=' Diao Wo Zhi Bi Fen Ngon Ong Na Nua Day Lau Bang Cai Qiu Ni Bo Dun Shi Xu Chang Xu Ye Mi Xin Zhuo Fu Pi Xue Yu Xian Yu Yu Gu Ju Ta Kong Zheng Meng Gang Mu Xi Bi Fu Xiao Jiu Gou Chi Jiu Jiu Sha Fei Ping Diu Ji Lei Geoi Nhai ... | 602 | 602 | 0.571429 | 117 | 602 | 2.940171 | 0.794872 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.423588 | 602 | 1 | 602 | 602 | 0.991354 | 0 | 0 | 0 | 0 | 1 | 0.991708 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
cd72b22326bedfcc643e83c3cd3f9b5260bc1d50 | 272 | py | Python | tests/testproject/serializers.py | seebass/drf-enum-field | 41358622724a18dd74036cbd7f52241790a45835 | [
"MIT"
] | 14 | 2016-07-08T17:55:57.000Z | 2020-02-14T17:05:48.000Z | tests/testproject/serializers.py | seebass/drf-enum-field | 41358622724a18dd74036cbd7f52241790a45835 | [
"MIT"
] | 20 | 2015-08-08T14:31:06.000Z | 2022-02-10T10:03:12.000Z | tests/testproject/serializers.py | seebass/drf-enum-field | 41358622724a18dd74036cbd7f52241790a45835 | [
"MIT"
] | 8 | 2015-09-02T09:49:26.000Z | 2019-08-14T06:00:35.000Z | from rest_framework.serializers import ModelSerializer
from drf_enum_field.serializers import EnumFieldSerializerMixin
from .models import TestResource
class TestResourceSerializer(EnumFieldSerializerMixin, ModelSerializer):
class Meta:
model = TestResource
| 30.222222 | 72 | 0.841912 | 25 | 272 | 9.04 | 0.64 | 0.150442 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 272 | 8 | 73 | 34 | 0.94958 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.833333 | 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 |
cd79a67a96ef20fb6aef3fb878f8eb8085a30c06 | 281 | py | Python | python/linked_list/sum_two_reversed_list/test_solution.py | Lumexralph/solving-algorithm-questions | 0791c174cdd7bb6804dd33405dd2d9b441e0e166 | [
"MIT"
] | null | null | null | python/linked_list/sum_two_reversed_list/test_solution.py | Lumexralph/solving-algorithm-questions | 0791c174cdd7bb6804dd33405dd2d9b441e0e166 | [
"MIT"
] | null | null | null | python/linked_list/sum_two_reversed_list/test_solution.py | Lumexralph/solving-algorithm-questions | 0791c174cdd7bb6804dd33405dd2d9b441e0e166 | [
"MIT"
] | null | null | null | from solution_1 import Solution
class TestAddTwoNumbersSolution:
def test_digit_set_1(self):
l1 = Solution().generate_linked_list(112)
l2 = Solution().generate_linked_list(345)
result = Solution().addTwoNumbers(l1, l2)
assert result.val == '7' | 31.222222 | 49 | 0.690391 | 34 | 281 | 5.470588 | 0.676471 | 0.172043 | 0.236559 | 0.27957 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058559 | 0.209964 | 281 | 9 | 50 | 31.222222 | 0.779279 | 0 | 0 | 0 | 1 | 0 | 0.003546 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 1 | 0.142857 | false | 0 | 0.142857 | 0 | 0.428571 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
cd8028da295cdacaad04ef7ff58b8b8258ec347c | 66 | py | Python | sendbird/api_resources/constants/channel_types.py | jpbullalayao/sendbird-python | 1ce77bef2b3337196fbf08d6c03df311d76f4098 | [
"MIT"
] | 4 | 2019-05-16T00:17:23.000Z | 2020-12-10T05:59:34.000Z | sendbird/api_resources/constants/channel_types.py | jpbullalayao/sendbird-python | 1ce77bef2b3337196fbf08d6c03df311d76f4098 | [
"MIT"
] | 11 | 2019-05-18T05:21:31.000Z | 2019-09-06T14:38:19.000Z | sendbird/api_resources/constants/channel_types.py | jpbullalayao/sendbird-python | 1ce77bef2b3337196fbf08d6c03df311d76f4098 | [
"MIT"
] | 4 | 2019-09-05T15:54:57.000Z | 2021-07-29T22:55:50.000Z | OPEN_CHANNELS = "open_channels"
GROUP_CHANNELS = "group_channels"
| 22 | 33 | 0.818182 | 8 | 66 | 6.25 | 0.375 | 0.48 | 0.84 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 66 | 2 | 34 | 33 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.409091 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 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 |
269d6ddabb738b2d0286f3df5f61499075e867bf | 255 | py | Python | lib/python/treadmill/apptrace/__init__.py | vrautela/treadmill | 05e47fa8acdf8bad7af78e737efb26ea6488de82 | [
"Apache-2.0"
] | 2 | 2017-10-31T18:48:20.000Z | 2018-03-04T20:35:20.000Z | lib/python/treadmill/apptrace/__init__.py | bretttegart/treadmill | 812109e31c503a6eddaee2d3f2e1faf2833b6aaf | [
"Apache-2.0"
] | 1 | 2017-09-18T10:36:12.000Z | 2017-09-18T10:36:12.000Z | lib/python/treadmill/apptrace/__init__.py | bretttegart/treadmill | 812109e31c503a6eddaee2d3f2e1faf2833b6aaf | [
"Apache-2.0"
] | null | null | null | """Trace module.
"""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals
import os
TRACE_SOW_DIR = os.path.join('.sow', 'trace')
TRACE_SOW_TABLE = 'trace'
| 19.615385 | 45 | 0.796078 | 35 | 255 | 5.142857 | 0.485714 | 0.222222 | 0.355556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121569 | 255 | 12 | 46 | 21.25 | 0.803571 | 0.05098 | 0 | 0 | 0 | 0 | 0.059574 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.714286 | 0 | 0.714286 | 0.142857 | 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 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
26c0cfdb6feba8e77a2f822afbed7933eed3828d | 3,753 | py | Python | source/interprocedural_analyses/taint/test/integration/sanitize_obscure.py | sthagen/facebook-pyre-check | cea188088c9632b10e0d0a658a8f1954f19413cd | [
"MIT"
] | null | null | null | source/interprocedural_analyses/taint/test/integration/sanitize_obscure.py | sthagen/facebook-pyre-check | cea188088c9632b10e0d0a658a8f1954f19413cd | [
"MIT"
] | null | null | null | source/interprocedural_analyses/taint/test/integration/sanitize_obscure.py | sthagen/facebook-pyre-check | cea188088c9632b10e0d0a658a8f1954f19413cd | [
"MIT"
] | null | null | null | # Copyright (c) Meta Platforms, Inc. and affiliates.
#
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
# flake8: noqa
from builtins import _test_sink, _test_source
from typing import TypeVar
T = TypeVar("T")
def sanitize_all(x: T) -> T:
... | 16.754464 | 65 | 0.717826 | 616 | 3,753 | 3.88474 | 0.086039 | 0.066862 | 0.046803 | 0.078145 | 0.80234 | 0.774342 | 0.712077 | 0.672796 | 0.475136 | 0.298788 | 0 | 0.001639 | 0.187317 | 3,753 | 223 | 66 | 16.829596 | 0.782951 | 0.048761 | 0 | 0.552 | 0 | 0 | 0.001964 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.36 | false | 0 | 0.016 | 0.032 | 0.512 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
26e25ef01b59d53cebb2ca4c5bee49c5cf86c4eb | 1,289 | py | Python | poem/Poem/poem/migrations/0010_service_null_fields.py | kevangel79/poem-2 | 75cda3cdd302df9c85b963bd91b7ce7182dfa220 | [
"Apache-2.0"
] | null | null | null | poem/Poem/poem/migrations/0010_service_null_fields.py | kevangel79/poem-2 | 75cda3cdd302df9c85b963bd91b7ce7182dfa220 | [
"Apache-2.0"
] | 139 | 2020-04-06T09:22:16.000Z | 2021-08-02T06:39:22.000Z | poem/Poem/poem/migrations/0010_service_null_fields.py | kevangel79/poem-2 | 75cda3cdd302df9c85b963bd91b7ce7182dfa220 | [
"Apache-2.0"
] | 3 | 2019-07-10T09:37:38.000Z | 2020-04-02T10:48:38.000Z | # Generated by Django 2.2.5 on 2020-03-20 10:19
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('poem', '0009_remove_metric_probeversion'),
]
operations = [
migrations.AlterField(
model_name='service',
name='compo... | 29.295455 | 63 | 0.574864 | 125 | 1,289 | 5.76 | 0.328 | 0.152778 | 0.145833 | 0.241667 | 0.763889 | 0.763889 | 0.7125 | 0.631944 | 0.631944 | 0.479167 | 0 | 0.047351 | 0.31187 | 1,289 | 43 | 64 | 29.976744 | 0.764374 | 0.034911 | 0 | 0.621622 | 1 | 0 | 0.13124 | 0.02496 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.027027 | 0 | 0.108108 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 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 |
26e5cdc590251709a89e7e11b0af185510e07c5c | 1,511 | py | Python | stylo/domain/square.py | mvinoba/stylo | 84f3a74cf9cb29c6d24b990dc9a474562114392b | [
"MIT"
] | null | null | null | stylo/domain/square.py | mvinoba/stylo | 84f3a74cf9cb29c6d24b990dc9a474562114392b | [
"MIT"
] | null | null | null | stylo/domain/square.py | mvinoba/stylo | 84f3a74cf9cb29c6d24b990dc9a474562114392b | [
"MIT"
] | null | null | null | from .rectangular import RectangularDomain
class SquareDomain(RectangularDomain):
""" A domain of the form :math:`[a, b] \\times [a, b] \\subset \\mathbb{R}^2`."""
def __init__(self, x_min, x_max):
super().__init__(x_min, x_max, x_min, x_max)
@RectangularDomain.xmin.setter
def xmin(self, val... | 29.057692 | 85 | 0.663137 | 181 | 1,511 | 5.414365 | 0.226519 | 0.146939 | 0.291837 | 0.214286 | 0.772449 | 0.772449 | 0.633673 | 0.530612 | 0.171429 | 0 | 0 | 0.006672 | 0.206486 | 1,511 | 51 | 86 | 29.627451 | 0.810676 | 0.088021 | 0 | 0.571429 | 0 | 0 | 0.055882 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.028571 | 0 | 0.371429 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
26fb485c2495546c2b4a053ce700590eaf24e857 | 102 | py | Python | hyper_science/images_backend/apps.py | postaxmi/hyper-science | 694621a23e97ef27691ef604749cc3050b150bc3 | [
"Apache-2.0"
] | 2 | 2019-02-20T16:32:16.000Z | 2019-02-22T13:22:27.000Z | hyper_science/images_backend/apps.py | postaxmi/hyper-science | 694621a23e97ef27691ef604749cc3050b150bc3 | [
"Apache-2.0"
] | null | null | null | hyper_science/images_backend/apps.py | postaxmi/hyper-science | 694621a23e97ef27691ef604749cc3050b150bc3 | [
"Apache-2.0"
] | null | null | null | from django.apps import AppConfig
class ImagesBackendConfig(AppConfig):
name = 'images_backend'
| 17 | 37 | 0.784314 | 11 | 102 | 7.181818 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147059 | 102 | 5 | 38 | 20.4 | 0.908046 | 0 | 0 | 0 | 0 | 0 | 0.137255 | 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 |
f8117421cd0710894b7afb92549517d2d62aa3e4 | 128 | py | Python | samples/experimental/skills-prototypes/dialog-to-dialog/authentication-bot/dialogs/__init__.py | Shiftersky/botbuilder-python | e00ea990d5cb5b05d545d87c51249dfa8f183581 | [
"MIT"
] | 1 | 2020-02-19T15:50:10.000Z | 2020-02-19T15:50:10.000Z | samples/experimental/skills-prototypes/dialog-to-dialog/authentication-bot/dialogs/__init__.py | Fortune-Adekogbe/botbuilder-python | 4e48c874c32a2a7fe7f27a7a1f825e2aa39466c4 | [
"MIT"
] | null | null | null | samples/experimental/skills-prototypes/dialog-to-dialog/authentication-bot/dialogs/__init__.py | Fortune-Adekogbe/botbuilder-python | 4e48c874c32a2a7fe7f27a7a1f825e2aa39466c4 | [
"MIT"
] | null | null | null | from .logout_dialog import LogoutDialog
from .main_dialog import MainDialog
__all__ = [
"LogoutDialog",
"MainDialog"
]
| 16 | 39 | 0.742188 | 13 | 128 | 6.846154 | 0.615385 | 0.269663 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179688 | 128 | 7 | 40 | 18.285714 | 0.847619 | 0 | 0 | 0 | 0 | 0 | 0.171875 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 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 |
f84fe4ab086b767d9c3aa6da6e02e45c73696f26 | 55,119 | py | Python | leetcode/704_binary_search.py | djfedos/djfedos-boostrap | 8a2fb1259c52134f6bcbda53821ab8f3b20e50e4 | [
"Apache-2.0"
] | null | null | null | leetcode/704_binary_search.py | djfedos/djfedos-boostrap | 8a2fb1259c52134f6bcbda53821ab8f3b20e50e4 | [
"Apache-2.0"
] | 9 | 2021-11-03T18:57:45.000Z | 2022-03-26T06:29:38.000Z | leetcode/704_binary_search.py | djfedos/djfedos-boostrap | 8a2fb1259c52134f6bcbda53821ab8f3b20e50e4 | [
"Apache-2.0"
] | null | null | null | def search(nums: list, target: int) -> int:
l = len(nums)
middle = l // 2
if l == 1:
if nums[0] == target:
return 0
else:
return -1
while l >= 1:
if middle == 0:
middle = 1
if nums[middle - 1] == target:
return middle - 1
... | 1,172.744681 | 53,940 | 0.713474 | 10,124 | 55,119 | 3.884433 | 0.742296 | 0.001958 | 0.000915 | 0.000254 | 0.004526 | 0.003713 | 0.003357 | 0.001983 | 0.001983 | 0.001983 | 0 | 0.715269 | 0.01192 | 55,119 | 47 | 53,941 | 1,172.744681 | 0.006812 | 0.000327 | 0 | 0.452381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.02381 | false | 0 | 0 | 0 | 0.142857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f874230f24e29b7a354cae3ec7ebafe29a788b59 | 137 | py | Python | run.py | Malthanatos/Bifrost | e7a0034f90e3e3193ac68001c0f77160f5a888aa | [
"Unlicense"
] | null | null | null | run.py | Malthanatos/Bifrost | e7a0034f90e3e3193ac68001c0f77160f5a888aa | [
"Unlicense"
] | null | null | null | run.py | Malthanatos/Bifrost | e7a0034f90e3e3193ac68001c0f77160f5a888aa | [
"Unlicense"
] | null | null | null | # Run
# Author : Nathan Krueger
# Created 5:00 PM 7/16/15
# Last Updated --
# Version 1.0
import controller, UI#, GUI
controller.run()
| 13.7 | 27 | 0.678832 | 22 | 137 | 4.227273 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09009 | 0.189781 | 137 | 9 | 28 | 15.222222 | 0.747748 | 0.613139 | 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 |
f875076860d91d01ceabd724d95d62c44f99a057 | 117 | py | Python | ppci/lang/tools/__init__.py | rakati/ppci-mirror | 8f5b0282fd1122d7c389b39c86fcf5d9352b7bb2 | [
"BSD-2-Clause"
] | 161 | 2020-05-31T03:29:42.000Z | 2022-03-07T08:36:19.000Z | ppci/lang/tools/__init__.py | rakati/ppci-mirror | 8f5b0282fd1122d7c389b39c86fcf5d9352b7bb2 | [
"BSD-2-Clause"
] | 74 | 2020-05-26T18:05:48.000Z | 2021-02-13T21:55:39.000Z | ppci/lang/tools/__init__.py | rakati/ppci-mirror | 8f5b0282fd1122d7c389b39c86fcf5d9352b7bb2 | [
"BSD-2-Clause"
] | 19 | 2020-05-27T19:22:11.000Z | 2022-02-17T18:53:52.000Z | """
This module contains the pcc (python compiler compiler).
It is an alternative to bison or yacc etc..
"""
| 23.4 | 60 | 0.675214 | 17 | 117 | 4.647059 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.230769 | 117 | 4 | 61 | 29.25 | 0.877778 | 0.854701 | 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 |
f8b33d202ffbd62514b9acab46612b6efa1c4adb | 160 | py | Python | python/testData/refactoring/move/function/after/src/b.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/refactoring/move/function/after/src/b.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/refactoring/move/function/after/src/b.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | from lib1 import urlopen
def g():
return None
def f(url):
'''Return the representation available at the URL.
'''
return urlopen(url).read() | 13.333333 | 54 | 0.6375 | 22 | 160 | 4.636364 | 0.681818 | 0.176471 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008333 | 0.25 | 160 | 12 | 55 | 13.333333 | 0.841667 | 0.29375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0.2 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
f8b7230b3051c068692316b65a9d72cf9bccc256 | 171 | py | Python | diagram.py | figurate/lambda-function-python-template | 6fd5061ee8963432f91db658bc5d020e68c5b24b | [
"MIT"
] | null | null | null | diagram.py | figurate/lambda-function-python-template | 6fd5061ee8963432f91db658bc5d020e68c5b24b | [
"MIT"
] | null | null | null | diagram.py | figurate/lambda-function-python-template | 6fd5061ee8963432f91db658bc5d020e68c5b24b | [
"MIT"
] | null | null | null | from diagrams import Diagram
from diagrams.aws.compute import Lambda
with Diagram("Python Function Template", show=False, direction="TB"):
Lambda("python function")
| 24.428571 | 69 | 0.77193 | 22 | 171 | 6 | 0.681818 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128655 | 171 | 6 | 70 | 28.5 | 0.885906 | 0 | 0 | 0 | 0 | 0 | 0.239766 | 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 |
6eff804e84955661e6e62b692c4f669a9770f652 | 854 | py | Python | awards/serializer.py | johnmwangi/Awards | 75a5e671fd39a411d35140ca1b15554f26f5d8d7 | [
"MIT"
] | null | null | null | awards/serializer.py | johnmwangi/Awards | 75a5e671fd39a411d35140ca1b15554f26f5d8d7 | [
"MIT"
] | 5 | 2021-03-19T00:53:32.000Z | 2022-03-11T23:48:14.000Z | awards/serializer.py | johnmwangi/Awaards4_Awards | 75a5e671fd39a411d35140ca1b15554f26f5d8d7 | [
"MIT"
] | null | null | null | from rest_framework import serializers
from .models import Profile,Project,countries,categories,technologies,colors
class ProfileSerializer(serializers.ModelSerializer):
class Meta:
model = Profile
fields='__all__'
class ProjectSerializer(serializers.ModelSerializer):
class Meta:
model... | 25.878788 | 76 | 0.716628 | 74 | 854 | 7.932432 | 0.324324 | 0.265758 | 0.316865 | 0.357751 | 0.408859 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.213115 | 854 | 32 | 77 | 26.6875 | 0.873512 | 0 | 0 | 0.461538 | 0 | 0 | 0.04918 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.076923 | 0 | 0.538462 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
3e074bd41a98bde1b0d070d05e2424c453bee30f | 12,155 | py | Python | builder/frameworks/arduino/mxchip.py | vskh/platformio-platform-ststm32 | d06eb26ec9ea04a276d5086f847c6aa62021d342 | [
"Apache-2.0"
] | null | null | null | builder/frameworks/arduino/mxchip.py | vskh/platformio-platform-ststm32 | d06eb26ec9ea04a276d5086f847c6aa62021d342 | [
"Apache-2.0"
] | null | null | null | builder/frameworks/arduino/mxchip.py | vskh/platformio-platform-ststm32 | d06eb26ec9ea04a276d5086f847c6aa62021d342 | [
"Apache-2.0"
] | null | null | null | # Copyright 2014-present PlatformIO <contact@platformio.org>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicabl... | 108.526786 | 4,596 | 0.719786 | 1,748 | 12,155 | 4.715675 | 0.223112 | 0.054592 | 0.129201 | 0.13005 | 0.579401 | 0.547131 | 0.528934 | 0.475191 | 0.389907 | 0.361761 | 0 | 0.028006 | 0.080543 | 12,155 | 111 | 4,597 | 109.504505 | 0.709556 | 0.06919 | 0 | 0 | 0 | 0.111111 | 0.634585 | 0.430317 | 0 | 0 | 0 | 0 | 0.013889 | 1 | 0.041667 | false | 0 | 0.055556 | 0.013889 | 0.152778 | 0.013889 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
3e1273d5c93acbe68b76a43d8a958675d6ecacc9 | 446 | py | Python | __old/puzzle/gfx.py | paulscottrobson/fred | 41353e7c8bd63d31082cf78447c0484e49a1e727 | [
"MIT"
] | 3 | 2016-07-17T16:04:53.000Z | 2020-01-21T23:30:36.000Z | __old/puzzle/gfx.py | paulscottrobson/fred | 41353e7c8bd63d31082cf78447c0484e49a1e727 | [
"MIT"
] | null | null | null | __old/puzzle/gfx.py | paulscottrobson/fred | 41353e7c8bd63d31082cf78447c0484e49a1e727 | [
"MIT"
] | 1 | 2020-01-22T09:02:06.000Z | 2020-01-22T09:02:06.000Z | gfx = """
FFFF
FFFF
FFFF
FFFF
FFFF
FFFF
FCF8
F0F0
FFFF
FFFF
3F1F
0F1F
F0F0
F8FC
FFFF
FFFF
0F0F
1F3F
FFFF
FFFF
F0F0
F8FC
3F1F
0F0F
0F0F
1F3F
FCF8
F0F0
0000
0000
0000
0000
"""
gfx = gfx.replace("\n","")
assert len(gfx) == 128
for addr in range(0x3C0,0x400):
p = (addr - 0x3C0) * 2
b = int(gfx[p:p+2],16)
s = "{0... | 8.745098 | 58 | 0.607623 | 83 | 446 | 3.26506 | 0.46988 | 0.236162 | 0.177122 | 0.177122 | 0.088561 | 0 | 0 | 0 | 0 | 0 | 0 | 0.204482 | 0.199552 | 446 | 51 | 59 | 8.745098 | 0.554622 | 0 | 0 | 0.72093 | 0 | 0 | 0.454139 | 0 | 0 | 0 | 0.033557 | 0 | 0.023256 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.046512 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
3e1d908ccc766839982110ebc1cb65459c77415b | 59 | py | Python | sla_cli/src/__init__.py | DavidWalshe93/SL-CLI | c92ca8a6e57eb51bf9c9433013ce16d443f8d152 | [
"MIT"
] | 2 | 2022-01-07T09:59:32.000Z | 2022-01-25T12:04:06.000Z | sla_cli/src/__init__.py | DavidWalshe93/SL-CLI | c92ca8a6e57eb51bf9c9433013ce16d443f8d152 | [
"MIT"
] | null | null | null | sla_cli/src/__init__.py | DavidWalshe93/SL-CLI | c92ca8a6e57eb51bf9c9433013ce16d443f8d152 | [
"MIT"
] | 1 | 2021-04-07T17:14:37.000Z | 2021-04-07T17:14:37.000Z | """
Author: David Walshe
Date: 08 April 2021
"""
| 11.8 | 25 | 0.542373 | 7 | 59 | 4.571429 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 0.322034 | 59 | 4 | 26 | 14.75 | 0.65 | 0.847458 | 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 |
3e6f1a76efbb7f08a502d9225d53da3ca66ec0eb | 156 | py | Python | ug_term/config.py | peteigel/ug-term | 8394ec8364131c88ed4194ba473d34d62794399d | [
"MIT"
] | null | null | null | ug_term/config.py | peteigel/ug-term | 8394ec8364131c88ed4194ba473d34d62794399d | [
"MIT"
] | null | null | null | ug_term/config.py | peteigel/ug-term | 8394ec8364131c88ed4194ba473d34d62794399d | [
"MIT"
] | null | null | null | UG_BASE_URL = 'https://www.ultimate-guitar.com'
EXCLUDE_TYPES = set()
EXCLUDE_TYPES.add('Guitar Pro')
EXCLUDE_TYPES.add('Video')
EXCLUDE_TYPES.add('Power') | 26 | 47 | 0.762821 | 24 | 156 | 4.708333 | 0.625 | 0.424779 | 0.39823 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064103 | 156 | 6 | 48 | 26 | 0.773973 | 0 | 0 | 0 | 0 | 0 | 0.324841 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 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 |
3e812a7aa1ccb076b01a429a067bbfaed303c957 | 1,402 | py | Python | test/test_configuration_service_api.py | stanionascu/python-embyapi | a3f7aa49aea4052277cc43605c0d89bc6ff21913 | [
"BSD-3-Clause"
] | null | null | null | test/test_configuration_service_api.py | stanionascu/python-embyapi | a3f7aa49aea4052277cc43605c0d89bc6ff21913 | [
"BSD-3-Clause"
] | null | null | null | test/test_configuration_service_api.py | stanionascu/python-embyapi | a3f7aa49aea4052277cc43605c0d89bc6ff21913 | [
"BSD-3-Clause"
] | null | null | null | # coding: utf-8
"""
Emby Server API
Explore the Emby Server API # noqa: E501
OpenAPI spec version: 4.1.1.0
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import unittest
import embyapi
from embyapi.api.configuration_service_api imp... | 22.612903 | 87 | 0.679743 | 160 | 1,402 | 5.6875 | 0.375 | 0.167033 | 0.048352 | 0.065934 | 0.465934 | 0.416484 | 0.376923 | 0.185714 | 0.120879 | 0 | 0 | 0.024598 | 0.246077 | 1,402 | 61 | 88 | 22.983607 | 0.836329 | 0.416548 | 0 | 0.25 | 1 | 0 | 0.011511 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0.25 | 0.25 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
3e81465e61e480b96d43c053a4287088b9cf743d | 776 | py | Python | entities/screen.py | aboulay/goyave.py | ce46f582d87a9fc5a455e7f5e1b0103a4571f157 | [
"MIT"
] | null | null | null | entities/screen.py | aboulay/goyave.py | ce46f582d87a9fc5a455e7f5e1b0103a4571f157 | [
"MIT"
] | null | null | null | entities/screen.py | aboulay/goyave.py | ce46f582d87a9fc5a455e7f5e1b0103a4571f157 | [
"MIT"
] | null | null | null | class Screen():
def __init__(self):
self.name = ""
self.url = ""
self.format = ""
self.data = []
self.main_information = ""
def get_name(self):
return self.name
def set_name(self, name):
self.name = name
def get_url(self):
return self.ur... | 20.421053 | 53 | 0.588918 | 97 | 776 | 4.494845 | 0.14433 | 0.240826 | 0.16055 | 0.100917 | 0.12156 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.313144 | 776 | 37 | 54 | 20.972973 | 0.818011 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.407407 | false | 0 | 0 | 0.185185 | 0.62963 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
3e8aefeb22b7b75cecd5d4471e2544f435419b90 | 56 | py | Python | sente/sgf/__init__.py | aniljava/sente | 91df831539ff57f2fceec849b9c648941bb8ea46 | [
"Apache-2.0"
] | 1 | 2016-05-26T17:33:16.000Z | 2016-05-26T17:33:16.000Z | sente/sgf/__init__.py | aniljava/sente | 91df831539ff57f2fceec849b9c648941bb8ea46 | [
"Apache-2.0"
] | null | null | null | sente/sgf/__init__.py | aniljava/sente | 91df831539ff57f2fceec849b9c648941bb8ea46 | [
"Apache-2.0"
] | null | null | null |
from . import sgf
from_string=sgf.Sgf_game.from_string | 14 | 36 | 0.821429 | 10 | 56 | 4.3 | 0.5 | 0.465116 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 56 | 4 | 36 | 14 | 0.86 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
3e909fe977a45e78ba7354c0815bec904b45db34 | 69 | py | Python | pdpython_model/fixed_model/run.py | seifely/pdpython | 41410ca2807509caf32794bef57e7e210dcbce6f | [
"MIT"
] | null | null | null | pdpython_model/fixed_model/run.py | seifely/pdpython | 41410ca2807509caf32794bef57e7e210dcbce6f | [
"MIT"
] | null | null | null | pdpython_model/fixed_model/run.py | seifely/pdpython | 41410ca2807509caf32794bef57e7e210dcbce6f | [
"MIT"
] | null | null | null | from pdpython_model.fixed_model.server import server
server.launch() | 23 | 52 | 0.855072 | 10 | 69 | 5.7 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072464 | 69 | 3 | 53 | 23 | 0.890625 | 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 |
e41e635034eba87e26a3ed8f90e54a6c5bd99fbc | 27,915 | py | Python | WordPress-Hacker-master/WordPress Hacker.py | Zusyaku/Termux-And-Lali-Linux-V2 | b1a1b0841d22d4bf2cc7932b72716d55f070871e | [
"Apache-2.0"
] | 2 | 2021-11-17T03:35:03.000Z | 2021-12-08T06:00:31.000Z | WordPress-Hacker-master/WordPress Hacker.py | Zusyaku/Termux-And-Lali-Linux-V2 | b1a1b0841d22d4bf2cc7932b72716d55f070871e | [
"Apache-2.0"
] | null | null | null | WordPress-Hacker-master/WordPress Hacker.py | Zusyaku/Termux-And-Lali-Linux-V2 | b1a1b0841d22d4bf2cc7932b72716d55f070871e | [
"Apache-2.0"
] | 2 | 2021-11-05T18:07:48.000Z | 2022-02-24T21:25:07.000Z | import os, random, time, socket, sys, requests, builtwith, json, urllib.parse
RED = '\033[31m'
GREEN = '\033[32m'
YELLOW = '\033[33m'
BLUE = '\033[34m'
MAGENTA = '\033[35m'
CYAN = '\033[36m'
WHITE = '\033[37m'
Headers = {
'Accept':'*/*',
'Content-Type':'application/x-www-form-urlencoded',
'User-Agent':'Moz... | 129.236111 | 19,014 | 0.72581 | 3,635 | 27,915 | 5.537001 | 0.329023 | 0.009291 | 0.009291 | 0.007552 | 0.078651 | 0.066478 | 0.063149 | 0.058876 | 0.058578 | 0.058578 | 0 | 0.007614 | 0.096651 | 27,915 | 215 | 19,015 | 129.837209 | 0.790538 | 0 | 0 | 0.28934 | 0 | 0.025381 | 0.774996 | 0.685008 | 0.035533 | 0 | 0 | 0 | 0 | 1 | 0.055838 | false | 0.040609 | 0.010152 | 0 | 0.086294 | 0.116751 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e4282fde78873c3462d9f2e2f1775b1ceb6f4302 | 67 | py | Python | reqcheck/defines.py | jaleskovec/reqcheck | ffc13cd28127f751617cdd29f7003866341fca58 | [
"MIT"
] | null | null | null | reqcheck/defines.py | jaleskovec/reqcheck | ffc13cd28127f751617cdd29f7003866341fca58 | [
"MIT"
] | 2 | 2021-01-27T12:22:11.000Z | 2021-01-31T03:32:08.000Z | reqcheck/defines.py | jaleskovec/reqcheck | ffc13cd28127f751617cdd29f7003866341fca58 | [
"MIT"
] | null | null | null | PYPI_PKG_JSON_URL = 'https://pypi.python.org/pypi/{pkg_name}/json'
| 33.5 | 66 | 0.761194 | 12 | 67 | 3.916667 | 0.666667 | 0.297872 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044776 | 67 | 1 | 67 | 67 | 0.734375 | 0 | 0 | 0 | 0 | 0 | 0.656716 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e44fff06605accfced7474bb90e9c9c639b59ba1 | 1,866 | py | Python | sdks/python/test/test_job_server_api.py | barryw/bjr | de56f22198b34a9d303ee43ac01134b5cf1ce863 | [
"BSD-3-Clause"
] | 2 | 2020-06-04T03:04:15.000Z | 2020-06-13T12:53:58.000Z | sdks/python/test/test_job_server_api.py | barryw/bjr | de56f22198b34a9d303ee43ac01134b5cf1ce863 | [
"BSD-3-Clause"
] | 6 | 2020-05-24T12:56:25.000Z | 2022-02-26T07:13:17.000Z | sdks/python/test/test_job_server_api.py | barryw/bjr | de56f22198b34a9d303ee43ac01134b5cf1ce863 | [
"BSD-3-Clause"
] | null | null | null | """
BJR API V1
API specification for the BJR job server. # noqa: E501
The version of the OpenAPI document: v1
Generated by: https://openapi-generator.tech
"""
import unittest
import bjr4py
from bjr4py.api.job_server_api import JobServerApi # noqa: E501
class TestJobServerApi(unittest.TestCase):... | 20.282609 | 81 | 0.592176 | 235 | 1,866 | 4.493617 | 0.276596 | 0.090909 | 0.09375 | 0.127841 | 0.289773 | 0.181818 | 0.098485 | 0 | 0 | 0 | 0 | 0.031847 | 0.326902 | 1,866 | 91 | 82 | 20.505495 | 0.808917 | 0.449089 | 0 | 0.357143 | 1 | 0 | 0.01 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.392857 | false | 0.357143 | 0.107143 | 0 | 0.535714 | 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 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
e453c73c712e60c48f35635362a5134411fde0ee | 126 | py | Python | Two Pointers/977. Squares of a Sorted Array.py | viewv/leetcode | b31e643846bb38978746342e3e3a94991178565a | [
"MIT"
] | 2 | 2018-02-26T09:12:19.000Z | 2019-06-07T13:38:10.000Z | Two Pointers/977. Squares of a Sorted Array.py | viewv/leetcode | b31e643846bb38978746342e3e3a94991178565a | [
"MIT"
] | 1 | 2018-12-24T07:03:34.000Z | 2018-12-24T07:03:34.000Z | Two Pointers/977. Squares of a Sorted Array.py | viewv/leetcode | b31e643846bb38978746342e3e3a94991178565a | [
"MIT"
] | 2 | 2018-12-24T07:01:03.000Z | 2019-06-07T13:38:07.000Z | class Solution:
def sortedSquares(self, A: List[int]) -> List[int]:
A = sorted([x*x for x in A])
return A
| 25.2 | 55 | 0.563492 | 20 | 126 | 3.55 | 0.65 | 0.197183 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.293651 | 126 | 4 | 56 | 31.5 | 0.797753 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 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 |
e48908affa0395ff7ff9d5048e8d8bc5247efee7 | 50,445 | py | Python | bubbob/levels/CompactLevels.py | smmalmansoori/bub-n-bros | 5d1db7192edcf981a988fa17f008af3f50611822 | [
"MIT"
] | 3 | 2021-02-04T09:18:45.000Z | 2021-03-03T02:04:15.000Z | bubbob/levels/CompactLevels.py | smmalmansoori/bub-n-bros | 5d1db7192edcf981a988fa17f008af3f50611822 | [
"MIT"
] | 2 | 2022-03-18T09:46:12.000Z | 2022-03-25T09:36:42.000Z | bubbob/levels/CompactLevels.py | smmalmansoori/bub-n-bros | 5d1db7192edcf981a988fa17f008af3f50611822 | [
"MIT"
] | 1 | 2022-02-03T09:29:45.000Z | 2022-02-03T09:29:45.000Z | #
# A series of compact levels.
#
import boarddef, mnstrmap, random
from boarddef import LNasty, LMonky, LGhosty, LFlappy
from boarddef import LSpringy, LOrcy, LGramy, LBlitzy
from boarddef import RNasty, RMonky, RGhosty, RFlappy
from boarddef import RSpringy, ROrcy, RGramy, RBlitzy
class level01(boarddef.Level):
... | 26.508145 | 64 | 0.108316 | 1,236 | 50,445 | 4.420712 | 0.139968 | 0.018668 | 0.02306 | 0.027086 | 0.394583 | 0.34224 | 0.32888 | 0.312408 | 0.286786 | 0.270315 | 0 | 0.007918 | 0.591912 | 50,445 | 1,902 | 65 | 26.522082 | 0.257505 | 0.017564 | 0 | 0.85162 | 0 | 0 | 0.86328 | 0.084605 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.002843 | 0 | 0.168277 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e4ec14900073a3d14d249467b625ccd24882d47f | 153 | py | Python | Fundamentos/PrimeiroExemplo.py | VictorMello1993/CursoPythonUdemy | d3e2e542a7c3d3f9635f2b88d0e75ab4fa84236d | [
"MIT"
] | null | null | null | Fundamentos/PrimeiroExemplo.py | VictorMello1993/CursoPythonUdemy | d3e2e542a7c3d3f9635f2b88d0e75ab4fa84236d | [
"MIT"
] | 4 | 2021-04-08T21:54:09.000Z | 2022-02-10T14:35:13.000Z | Fundamentos/PrimeiroExemplo.py | VictorMello1993/CursoPythonUdemy | d3e2e542a7c3d3f9635f2b88d0e75ab4fa84236d | [
"MIT"
] | null | null | null | #%% [markdown]
# ## Primeiros exemplos
print('primeiro programa')
1 \
+ 2
help(print)
# %%
1 + 2 + 3
4 + 5 + 6
# %%
print(1 + 2 + 3)
print(4 + 5 + 6)
| 10.2 | 26 | 0.51634 | 24 | 153 | 3.291667 | 0.541667 | 0.075949 | 0.177215 | 0.202532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123894 | 0.261438 | 153 | 14 | 27 | 10.928571 | 0.575221 | 0.254902 | 0 | 0 | 0 | 0 | 0.157407 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
9045f313817b4f531a440140913ac46f6465fa68 | 11,537 | py | Python | lib/ubuntu64/pmdl/snowboy.py | liamw9534/snowboy | 80e8038cd43c28dacda123312604236b00145a1c | [
"Apache-2.0"
] | 182 | 2020-12-02T05:33:33.000Z | 2022-03-31T21:23:39.000Z | lib/ubuntu64/pmdl/snowboy.py | liamw9534/snowboy | 80e8038cd43c28dacda123312604236b00145a1c | [
"Apache-2.0"
] | 17 | 2021-01-05T11:42:50.000Z | 2022-03-06T14:22:35.000Z | lib/ubuntu64/pmdl/snowboy.py | liamw9534/snowboy | 80e8038cd43c28dacda123312604236b00145a1c | [
"Apache-2.0"
] | 66 | 2021-01-01T15:40:05.000Z | 2022-03-31T04:46:49.000Z | # This file was automatically generated by SWIG (http://www.swig.org).
# Version 3.0.7
#
# 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
if version_info >= (2, 6, 0):
def swig_import_helper():
from os.path imp... | 33.152299 | 100 | 0.721331 | 1,158 | 11,537 | 6.723661 | 0.120898 | 0.081814 | 0.076419 | 0.025687 | 0.509247 | 0.499358 | 0.464295 | 0.347804 | 0.304649 | 0.225405 | 0 | 0.001523 | 0.203432 | 11,537 | 347 | 101 | 33.247839 | 0.845702 | 0.025483 | 0 | 0.450382 | 1 | 0 | 0.008724 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.229008 | false | 0.007634 | 0.034351 | 0.19084 | 0.675573 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
5f51f1f184c9e05132743f19ed6a6cef790e74af | 34 | py | Python | tests/100-wrong.py | jsam/udebug-cli | 09613d1250cd17616f336658a16dffcb01d38340 | [
"Apache-2.0"
] | null | null | null | tests/100-wrong.py | jsam/udebug-cli | 09613d1250cd17616f336658a16dffcb01d38340 | [
"Apache-2.0"
] | null | null | null | tests/100-wrong.py | jsam/udebug-cli | 09613d1250cd17616f336658a16dffcb01d38340 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python
python "wrong"
| 8.5 | 17 | 0.676471 | 5 | 34 | 4.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 3 | 18 | 11.333333 | 0.766667 | 0.470588 | 0 | 0 | 0 | 0 | 0.294118 | 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 |
5f60d507df87fc6d9591aef56fec2c32af92134b | 100 | py | Python | src/gravitum/exceptions.py | Sh4ww/gravitum | ecdf32e45ef4ffdc420a082f17d9767a3a664aab | [
"MIT"
] | null | null | null | src/gravitum/exceptions.py | Sh4ww/gravitum | ecdf32e45ef4ffdc420a082f17d9767a3a664aab | [
"MIT"
] | null | null | null | src/gravitum/exceptions.py | Sh4ww/gravitum | ecdf32e45ef4ffdc420a082f17d9767a3a664aab | [
"MIT"
] | null | null | null | class InvalidOperationError(Exception):
"""The exception used when execute operation failed."""
| 33.333333 | 59 | 0.77 | 10 | 100 | 7.7 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13 | 100 | 2 | 60 | 50 | 0.885057 | 0.49 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
5f67e7d57ca174804c23ef624784d921273a7df2 | 65 | py | Python | tests/__init__.py | pbranson/dembuilder | 988250c9da5d98b19b447f180d8bb53d925b3bc7 | [
"MIT"
] | 1 | 2021-08-03T02:22:47.000Z | 2021-08-03T02:22:47.000Z | tests/__init__.py | pbranson/dembuilder | 988250c9da5d98b19b447f180d8bb53d925b3bc7 | [
"MIT"
] | 2 | 2019-05-27T03:26:04.000Z | 2021-07-29T14:59:29.000Z | tests/__init__.py | pbranson/dembuilder | 988250c9da5d98b19b447f180d8bb53d925b3bc7 | [
"MIT"
] | 4 | 2019-05-23T01:23:40.000Z | 2021-08-03T02:23:04.000Z | # -*- coding: utf-8 -*-
"""Unit test package for dembuilder."""
| 16.25 | 39 | 0.584615 | 8 | 65 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018519 | 0.169231 | 65 | 3 | 40 | 21.666667 | 0.685185 | 0.861538 | 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 |
395b2f9ec02b8e00cd5de598096c10b4df1ca0cb | 183 | py | Python | metalchemy/__init__.py | paylogic/metalchemy | fd1ea9e1407437fa33387296153f3ce0c0bf5da2 | [
"MIT"
] | 1 | 2015-08-21T05:19:31.000Z | 2015-08-21T05:19:31.000Z | metalchemy/__init__.py | paylogic/metalchemy | fd1ea9e1407437fa33387296153f3ce0c0bf5da2 | [
"MIT"
] | 1 | 2018-03-03T16:16:15.000Z | 2018-03-03T16:16:15.000Z | metalchemy/__init__.py | paylogic/metalchemy | fd1ea9e1407437fa33387296153f3ce0c0bf5da2 | [
"MIT"
] | 1 | 2018-03-03T16:14:07.000Z | 2018-03-03T16:14:07.000Z | """Entry point for API."""
__version__ = '1.0.0'
try:
from metalchemy.metadata import initialize
__all__ = ('__version__', initialize.__name__)
except ImportError:
pass
| 18.3 | 50 | 0.699454 | 21 | 183 | 5.333333 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02 | 0.180328 | 183 | 9 | 51 | 20.333333 | 0.726667 | 0.10929 | 0 | 0 | 0 | 0 | 0.101911 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.166667 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 4 |
3967e4223815626c4a0f0bf52778f7959e75faaf | 17,885 | py | Python | 0x0C-python-almost_a_circle/tests/test_models/test_base.py | gogomillan/holbertonschool-higher_level_programming | 1549ffc4fdc284271684321ff6edd882a314193a | [
"MIT"
] | null | null | null | 0x0C-python-almost_a_circle/tests/test_models/test_base.py | gogomillan/holbertonschool-higher_level_programming | 1549ffc4fdc284271684321ff6edd882a314193a | [
"MIT"
] | null | null | null | 0x0C-python-almost_a_circle/tests/test_models/test_base.py | gogomillan/holbertonschool-higher_level_programming | 1549ffc4fdc284271684321ff6edd882a314193a | [
"MIT"
] | null | null | null | #!/usr/bin/python3
"""
Module for unittests of base.py.
"""
import os
import unittest
from models.base import Base
from models.rectangle import Rectangle
from models.square import Square
class TestBase_instantiation(unittest.TestCase):
"""
Testing the constructor.
"""
def test_no_arg(self):
b1... | 32.816514 | 79 | 0.610959 | 2,575 | 17,885 | 3.966602 | 0.062524 | 0.058939 | 0.056785 | 0.03691 | 0.834835 | 0.785001 | 0.737223 | 0.694537 | 0.637067 | 0.591737 | 0 | 0.046768 | 0.255186 | 17,885 | 544 | 80 | 32.876838 | 0.719991 | 0.017389 | 0 | 0.538462 | 0 | 0 | 0.036924 | 0.001204 | 0 | 0 | 0 | 0 | 0.206731 | 1 | 0.216346 | false | 0.024038 | 0.012019 | 0 | 0.247596 | 0.002404 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
396ade23ed89dae7b4e42ac2a17ab83961107cc8 | 165 | py | Python | blueprints/era_mssql/packages.py | halsayed/calm | 46c93ac2b02227663f0184d149f62d142b2638cc | [
"MIT"
] | null | null | null | blueprints/era_mssql/packages.py | halsayed/calm | 46c93ac2b02227663f0184d149f62d142b2638cc | [
"MIT"
] | null | null | null | blueprints/era_mssql/packages.py | halsayed/calm | 46c93ac2b02227663f0184d149f62d142b2638cc | [
"MIT"
] | 1 | 2021-11-16T10:28:42.000Z | 2021-11-16T10:28:42.000Z | from calm.dsl.builtins import Package, ref
from services import Mssql
class MssqlPackage(Package):
"""Postgres Package on ERA"""
services = [ref(Mssql)]
| 16.5 | 42 | 0.715152 | 21 | 165 | 5.619048 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 165 | 9 | 43 | 18.333333 | 0.874074 | 0.139394 | 0 | 0 | 0 | 0 | 0 | 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 |
396c5054b66e7aeae54d5dff279de66ba07d8942 | 84 | py | Python | examples/fixtures/python3.8-app1/index.py | gregn610/terraform-aws-lambda | 258e82b50adc451f51544a2b57fd1f6f8f4a61e4 | [
"Apache-2.0"
] | 418 | 2020-06-03T17:35:53.000Z | 2022-03-30T19:39:37.000Z | examples/fixtures/python3.8-app1/index.py | gregn610/terraform-aws-lambda | 258e82b50adc451f51544a2b57fd1f6f8f4a61e4 | [
"Apache-2.0"
] | 250 | 2020-06-04T13:29:09.000Z | 2022-03-31T10:50:50.000Z | examples/fixtures/python3.8-app1/index.py | gregn610/terraform-aws-lambda | 258e82b50adc451f51544a2b57fd1f6f8f4a61e4 | [
"Apache-2.0"
] | 326 | 2020-06-04T11:13:53.000Z | 2022-03-30T05:15:09.000Z | def lambda_handler(event, context):
print("Hello from app1!")
return event
| 16.8 | 35 | 0.690476 | 11 | 84 | 5.181818 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014925 | 0.202381 | 84 | 4 | 36 | 21 | 0.835821 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0.333333 | 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 |
396d6dc9c08ee9267bb4a260997453e1070326e0 | 220 | py | Python | web/controllers/tableau/__init__.py | ZZh2333/AImusic | 6e5d527c390f3401bdf8666008d7211c4a457beb | [
"MIT"
] | null | null | null | web/controllers/tableau/__init__.py | ZZh2333/AImusic | 6e5d527c390f3401bdf8666008d7211c4a457beb | [
"MIT"
] | null | null | null | web/controllers/tableau/__init__.py | ZZh2333/AImusic | 6e5d527c390f3401bdf8666008d7211c4a457beb | [
"MIT"
] | null | null | null | from flask import Blueprint,render_template
route_tableau = Blueprint("tableau_page",__name__)
from .tableauPerson import *
from .tableauTime import *
@route_tableau.route('/')
def tableau():
return "Tableau Page" | 22 | 50 | 0.772727 | 26 | 220 | 6.230769 | 0.538462 | 0.148148 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122727 | 220 | 10 | 51 | 22 | 0.839378 | 0 | 0 | 0 | 0 | 0 | 0.113122 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.428571 | 0.142857 | 0.714286 | 0.285714 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
399b44478d8cef2e1c1d6a8a2b09c8df94705c1b | 18,006 | py | Python | tools/generate_blockMesh.py | emiliopomares/flow-separation-prediction | ca4585a8263cd5933889fbd763154e2f3851969a | [
"MIT"
] | null | null | null | tools/generate_blockMesh.py | emiliopomares/flow-separation-prediction | ca4585a8263cd5933889fbd763154e2f3851969a | [
"MIT"
] | null | null | null | tools/generate_blockMesh.py | emiliopomares/flow-separation-prediction | ca4585a8263cd5933889fbd763154e2f3851969a | [
"MIT"
] | null | null | null | # Based off Thien Phans's work
import math
hyperparameters = {
'z_depth': 0.3,
'mesh_scale': 1,
'cell_size_at_leading_edge': 0.01,
'cell_size_at_trailing_edge': 0.03,
'cell_size_in_middle': 0.035,
'separating_point_positi... | 56.622642 | 210 | 0.636121 | 2,638 | 18,006 | 3.925701 | 0.050038 | 0.100039 | 0.114233 | 0.085168 | 0.821939 | 0.758497 | 0.729336 | 0.695635 | 0.663384 | 0.649479 | 0 | 0.026035 | 0.21926 | 18,006 | 317 | 211 | 56.801262 | 0.710627 | 0.020993 | 0 | 0.54698 | 0 | 0 | 0.194367 | 0.022372 | 0 | 0 | 0 | 0 | 0 | 1 | 0.006711 | false | 0 | 0.003356 | 0.003356 | 0.016779 | 0 | 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 |
39abc239713126edb367413a32def1f05cea5b0d | 3,002 | py | Python | DailyProgrammer/DP20170927B.py | DayGitH/Python-Challenges | bc32f1332a92fcc2dfa6f5ea4d95f8a8d64c3edf | [
"MIT"
] | 2 | 2020-12-23T18:59:22.000Z | 2021-04-14T13:16:09.000Z | DailyProgrammer/DP20170927B.py | DayGitH/Python-Challenges | bc32f1332a92fcc2dfa6f5ea4d95f8a8d64c3edf | [
"MIT"
] | null | null | null | DailyProgrammer/DP20170927B.py | DayGitH/Python-Challenges | bc32f1332a92fcc2dfa6f5ea4d95f8a8d64c3edf | [
"MIT"
] | null | null | null | """
[2017-09-27] Challenge #333 [Intermediate] Beer Street and Gin Lane
https://www.reddit.com/r/dailyprogrammer/comments/72s7xp/20170927_challenge_333_intermediate_beer_street/
# Description
The US state of Iowa has relesed over a year's worth of liquor sales data, great for data mining. In this practical
exercise w... | 58.862745 | 205 | 0.780813 | 494 | 3,002 | 4.690283 | 0.510121 | 0.02158 | 0.031075 | 0.036254 | 0.149331 | 0.113077 | 0.113077 | 0.076823 | 0.076823 | 0.076823 | 0 | 0.020591 | 0.142572 | 3,002 | 50 | 206 | 60.04 | 0.879565 | 0.976016 | 0 | 0 | 0 | 0 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0.25 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
39dcca1b50a446c760c8ed38ac3e19b76dc67fb9 | 1,175 | py | Python | test/examples/utilities/test_actions.py | osu-xai/abp | cd83eaa2810a1c5350c849303d61639576c0bb0d | [
"MIT"
] | null | null | null | test/examples/utilities/test_actions.py | osu-xai/abp | cd83eaa2810a1c5350c849303d61639576c0bb0d | [
"MIT"
] | 9 | 2018-11-14T23:35:05.000Z | 2019-05-22T18:31:30.000Z | test/examples/utilities/test_actions.py | osu-xai/abp | cd83eaa2810a1c5350c849303d61639576c0bb0d | [
"MIT"
] | 1 | 2018-11-14T22:34:09.000Z | 2018-11-14T22:34:09.000Z | import sys
import unittest
sys.path.append('../../../abp/examples/pysc2/tug_of_war/')
from abp.examples.pysc2.tug_of_war.utilities import episode
from abp.examples.pysc2.tug_of_war.utilities import wave
from abp.examples.pysc2.tug_of_war.utilities import actions
import test_wave
class TestActions(unittest.TestCase... | 30.128205 | 59 | 0.713191 | 165 | 1,175 | 4.781818 | 0.254545 | 0.228137 | 0.243346 | 0.264892 | 0.717364 | 0.693283 | 0.163498 | 0.163498 | 0.163498 | 0 | 0 | 0.044838 | 0.18383 | 1,175 | 38 | 60 | 30.921053 | 0.777894 | 0 | 0 | 0 | 0 | 0 | 0.04 | 0.033191 | 0 | 0 | 0 | 0 | 0.444444 | 1 | 0.037037 | false | 0 | 0.222222 | 0 | 0.296296 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f2f7b3c97818cb2e5dd110e91b4a7c9575c79e3b | 145 | py | Python | core/entity/entity.py | Diralf/evolution | 659e245bfe90cda7557f41af5a1d87a550b8e6fc | [
"MIT"
] | null | null | null | core/entity/entity.py | Diralf/evolution | 659e245bfe90cda7557f41af5a1d87a550b8e6fc | [
"MIT"
] | null | null | null | core/entity/entity.py | Diralf/evolution | 659e245bfe90cda7557f41af5a1d87a550b8e6fc | [
"MIT"
] | null | null | null |
class Entity:
valid_id = 0
def __init__(self):
self.id = Entity.valid_id
self.tag = None
Entity.valid_id += 1
| 14.5 | 33 | 0.558621 | 20 | 145 | 3.7 | 0.55 | 0.445946 | 0.527027 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021277 | 0.351724 | 145 | 9 | 34 | 16.111111 | 0.765957 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0 | 0 | 0.5 | 0 | 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 |
f2ff80b4805e43535ac8b61406d1ea883bf4a016 | 322 | py | Python | views/views.py | nanxiaoshu/coding_dream | d5650cc7c42d3b5ce70117e33a03653a21523da8 | [
"MIT"
] | null | null | null | views/views.py | nanxiaoshu/coding_dream | d5650cc7c42d3b5ce70117e33a03653a21523da8 | [
"MIT"
] | null | null | null | views/views.py | nanxiaoshu/coding_dream | d5650cc7c42d3b5ce70117e33a03653a21523da8 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding:utf-8 -*-
from coding_dream.html_render import render_html, redirect
from coding_dream.tools import get_request_data, post_request_data, get_request_method, get_cookie
from coding_dream.models import use_sql
def welcome(request):
return render_html('/templates/welcome.html')
... | 21.466667 | 98 | 0.78882 | 48 | 322 | 5 | 0.5625 | 0.125 | 0.1875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003509 | 0.114907 | 322 | 14 | 99 | 23 | 0.838596 | 0.127329 | 0 | 0 | 0 | 0 | 0.083942 | 0.083942 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.6 | 0.2 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
840796ae7db84851f4b8e82238a65f8ee33a887d | 249 | py | Python | curso em video/python/mundo 3/aulas 16-18/ex 087.py | KenzoDezotti/cursoemvideo | 6eba03e67192f7384092192ed2cc1a8e59efd9b9 | [
"MIT"
] | null | null | null | curso em video/python/mundo 3/aulas 16-18/ex 087.py | KenzoDezotti/cursoemvideo | 6eba03e67192f7384092192ed2cc1a8e59efd9b9 | [
"MIT"
] | null | null | null | curso em video/python/mundo 3/aulas 16-18/ex 087.py | KenzoDezotti/cursoemvideo | 6eba03e67192f7384092192ed2cc1a8e59efd9b9 | [
"MIT"
] | null | null | null | lista=[[],[],[]]
for x in range(0,3):
for c in range(0,3):
lista[x].append(str(input(f'digite um numero para a posição{[x]}{[c]}: ')))
for x in range(0,3):
for c in range(0,3):
print(f'[{lista[x][c]:^5}]',end='')
print()
| 27.666667 | 83 | 0.514056 | 47 | 249 | 2.723404 | 0.446809 | 0.21875 | 0.25 | 0.28125 | 0.40625 | 0.40625 | 0.40625 | 0.40625 | 0.40625 | 0.40625 | 0 | 0.046154 | 0.216867 | 249 | 8 | 84 | 31.125 | 0.610256 | 0 | 0 | 0.5 | 0 | 0 | 0.24498 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.25 | 0 | 0 | 0 | null | 1 | 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 |
84139c6fee6dda26451929a844b5c369e7d15566 | 26 | py | Python | guild/tests/samples/scripts/hello.py | wheatdog/guildai | 817cf179d0b6910d3d4fca522045a8139aef6c9e | [
"Apache-2.0"
] | 694 | 2018-11-30T01:06:30.000Z | 2022-03-31T14:46:26.000Z | guild/tests/samples/scripts/hello.py | wheatdog/guildai | 817cf179d0b6910d3d4fca522045a8139aef6c9e | [
"Apache-2.0"
] | 323 | 2018-11-05T17:44:34.000Z | 2022-03-31T16:56:41.000Z | guild/tests/samples/scripts/hello.py | wheatdog/guildai | 817cf179d0b6910d3d4fca522045a8139aef6c9e | [
"Apache-2.0"
] | 68 | 2019-04-01T04:24:47.000Z | 2022-02-24T17:22:04.000Z | msg = "hello"
print(msg)
| 6.5 | 13 | 0.615385 | 4 | 26 | 4 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192308 | 26 | 3 | 14 | 8.666667 | 0.761905 | 0 | 0 | 0 | 0 | 0 | 0.192308 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
84338795f5de28731a44fe8b73566c32d91a1b29 | 121 | py | Python | print_square.py | BjornChrisnach/Basics_of_Computing_and_Programming | 45cb99d2b5060b23db20b84384f7b35b72ef8029 | [
"MIT"
] | null | null | null | print_square.py | BjornChrisnach/Basics_of_Computing_and_Programming | 45cb99d2b5060b23db20b84384f7b35b72ef8029 | [
"MIT"
] | null | null | null | print_square.py | BjornChrisnach/Basics_of_Computing_and_Programming | 45cb99d2b5060b23db20b84384f7b35b72ef8029 | [
"MIT"
] | null | null | null | print("Please enter a positive integer: ")
input_num = int(input())
for i in range (input_num):
print(input_num*"*") | 24.2 | 42 | 0.68595 | 19 | 121 | 4.210526 | 0.684211 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157025 | 121 | 5 | 43 | 24.2 | 0.784314 | 0 | 0 | 0 | 0 | 0 | 0.278689 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
843a1a991e02c2c11f253222110292419837e44a | 250 | py | Python | sparta_webapp/apis/apps.py | avitko001c/sparta_webapp | 728225db71d898b29c9408595a58b7297ccab0be | [
"Apache-1.1"
] | null | null | null | sparta_webapp/apis/apps.py | avitko001c/sparta_webapp | 728225db71d898b29c9408595a58b7297ccab0be | [
"Apache-1.1"
] | null | null | null | sparta_webapp/apis/apps.py | avitko001c/sparta_webapp | 728225db71d898b29c9408595a58b7297ccab0be | [
"Apache-1.1"
] | null | null | null | from django.apps import AppConfig
class ApiAppConfig(AppConfig):
name = "sparta_webapp.apis"
verbose_name = "APIS"
def ready(self):
try:
import user.signals # noqa F401
except ImportError:
pass
| 19.230769 | 44 | 0.612 | 27 | 250 | 5.592593 | 0.851852 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017544 | 0.316 | 250 | 12 | 45 | 20.833333 | 0.865497 | 0.036 | 0 | 0 | 0 | 0 | 0.09205 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0.111111 | 0.333333 | 0 | 0.777778 | 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 |
84429ba2e6178b894a1dc4ef3e9a9bd0ee2c4fb5 | 158 | py | Python | sigbox/sigbox.py | ok65/sigbox | eacec88ccdc3929e19d92d54ef3c52dda54e5856 | [
"WTFPL"
] | null | null | null | sigbox/sigbox.py | ok65/sigbox | eacec88ccdc3929e19d92d54ef3c52dda54e5856 | [
"WTFPL"
] | null | null | null | sigbox/sigbox.py | ok65/sigbox | eacec88ccdc3929e19d92d54ef3c52dda54e5856 | [
"WTFPL"
] | null | null | null |
# Library import
from sigbox.global_signal_box import _GSB
class SigBox:
def __init__(self):
pass
def pump(self):
_GSB.pump()
| 9.875 | 41 | 0.626582 | 20 | 158 | 4.55 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.297468 | 158 | 15 | 42 | 10.533333 | 0.81982 | 0.088608 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.166667 | 0.166667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
ffbf0db5e4c007a63ec28f5da257385d0bf6fd87 | 80 | py | Python | wiki/apps.py | noltron000/make-wiki | 1e35c665a636cadcc97ff9975f662ddaf056df8c | [
"MIT"
] | null | null | null | wiki/apps.py | noltron000/make-wiki | 1e35c665a636cadcc97ff9975f662ddaf056df8c | [
"MIT"
] | 5 | 2021-03-19T08:24:54.000Z | 2021-06-10T19:44:27.000Z | wiki/apps.py | noltron000/make-wiki | 1e35c665a636cadcc97ff9975f662ddaf056df8c | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class WikiConfig(AppConfig):
name = 'wiki'
| 13.333333 | 33 | 0.7625 | 10 | 80 | 6.1 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 80 | 5 | 34 | 16 | 0.897059 | 0 | 0 | 0 | 0 | 0 | 0.05 | 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 |
ffcd981628c4957213c39eeff99d373afa304844 | 18 | py | Python | tests/__init__.py | Evgenyslavik9/Slavik_quack | 5e8a2b1c7c3bd98425233050983c64ebb8a55113 | [
"Apache-2.0"
] | 1 | 2021-01-29T00:06:24.000Z | 2021-01-29T00:06:24.000Z | tests/__init__.py | gitchirihub76/quack | 5e8a2b1c7c3bd98425233050983c64ebb8a55113 | [
"Apache-2.0"
] | null | null | null | tests/__init__.py | gitchirihub76/quack | 5e8a2b1c7c3bd98425233050983c64ebb8a55113 | [
"Apache-2.0"
] | null | null | null | """Quack Tests"""
| 9 | 17 | 0.555556 | 2 | 18 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 18 | 1 | 18 | 18 | 0.625 | 0.611111 | 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 |
ffd8d5487069e5d5187b038e9767d75ac95e7b68 | 122 | py | Python | pytorch_widedeep/preprocessing/__init__.py | FlyingWing/pytorch-widedeep | 91a255d08bc9bdd5a05669465b7cf0313849ec9c | [
"MIT"
] | null | null | null | pytorch_widedeep/preprocessing/__init__.py | FlyingWing/pytorch-widedeep | 91a255d08bc9bdd5a05669465b7cf0313849ec9c | [
"MIT"
] | null | null | null | pytorch_widedeep/preprocessing/__init__.py | FlyingWing/pytorch-widedeep | 91a255d08bc9bdd5a05669465b7cf0313849ec9c | [
"MIT"
] | null | null | null | from ._preprocessors import (
TextPreprocessor,
WidePreprocessor,
DensePreprocessor,
ImagePreprocessor,
)
| 17.428571 | 29 | 0.737705 | 7 | 122 | 12.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.204918 | 122 | 6 | 30 | 20.333333 | 0.917526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.166667 | 0 | 0.166667 | 0 | 1 | 0 | 1 | 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 |
ffe88c1a869e7c263d4366d39eaee229a90dbcc9 | 47,882 | py | Python | inspire_eu/migrations/0002_inspire_eu_core.py | xusy2k/django-inspire-eu | 8bdde9022f5f89ae11bc2d25b3f13cfb2ebac94d | [
"MIT"
] | 6 | 2021-02-26T10:35:37.000Z | 2021-07-02T14:28:24.000Z | inspire_eu/migrations/0002_inspire_eu_core.py | xusy2k/django-inspire-eu | 8bdde9022f5f89ae11bc2d25b3f13cfb2ebac94d | [
"MIT"
] | 1 | 2021-03-17T18:04:20.000Z | 2021-03-19T05:17:40.000Z | inspire_eu/migrations/0002_inspire_eu_core.py | xusy2k/django-inspire-eu | 8bdde9022f5f89ae11bc2d25b3f13cfb2ebac94d | [
"MIT"
] | null | null | null | # Generated by Django 2.2.19 on 2021-02-25 12:41
import django.contrib.gis.db.models.fields
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
('inspire_eu', '0001_initial'),
]
operations = [
... | 106.641425 | 1,115 | 0.701224 | 5,901 | 47,882 | 5.521098 | 0.104897 | 0.029558 | 0.027993 | 0.039134 | 0.726366 | 0.701811 | 0.63628 | 0.604266 | 0.584469 | 0.562676 | 0 | 0.006805 | 0.195898 | 47,882 | 448 | 1,116 | 106.879464 | 0.839385 | 0.000961 | 0 | 0.553288 | 1 | 0.0839 | 0.513359 | 0.102814 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.006803 | 0 | 0.015873 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
fff4e15c761650bcc97bf7ac4bfb14390de89a62 | 12,310 | py | Python | non_regression/test_lineapi.py | LRGH/plasmasm | 4cd50546c3dc895763d72dd60b7c46179c1916bc | [
"Apache-2.0"
] | 1 | 2021-02-28T21:31:18.000Z | 2021-02-28T21:31:18.000Z | non_regression/test_lineapi.py | LRGH/plasmasm | 4cd50546c3dc895763d72dd60b7c46179c1916bc | [
"Apache-2.0"
] | null | null | null | non_regression/test_lineapi.py | LRGH/plasmasm | 4cd50546c3dc895763d72dd60b7c46179c1916bc | [
"Apache-2.0"
] | null | null | null | # Copyright (C) 2011-2020 Airbus, Louis.Granboulan@airbus.com
try:
import pytest
except:
from run_tests import pytest
import sys, os.path
basedir = os.path.dirname(os.path.dirname(__file__))
sys.path.append(basedir)
from plasmasm.analyze_file import File
# To be able to import elfesteem in the parent directory,... | 49.043825 | 95 | 0.582778 | 2,025 | 12,310 | 3.341728 | 0.077037 | 0.10034 | 0.088666 | 0.113344 | 0.834786 | 0.762081 | 0.725432 | 0.689079 | 0.642678 | 0.470666 | 0 | 0.029066 | 0.21186 | 12,310 | 250 | 96 | 49.24 | 0.668419 | 0.023152 | 0 | 0.34188 | 0 | 0 | 0.226494 | 0 | 0 | 0 | 0.000333 | 0.004 | 0.41453 | 1 | 0.047009 | false | 0 | 0.025641 | 0.004274 | 0.08547 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
08011e1582bc136f2ef5f49739eefa5b2c3a96cf | 196 | py | Python | bin/sticks/one-sided-tetrasticks-5x5-diamond-lattice.py | tiwo/puzzler | 7ad3d9a792f0635f7ec59ffa85fb46b54fd77a7e | [
"Intel"
] | null | null | null | bin/sticks/one-sided-tetrasticks-5x5-diamond-lattice.py | tiwo/puzzler | 7ad3d9a792f0635f7ec59ffa85fb46b54fd77a7e | [
"Intel"
] | null | null | null | bin/sticks/one-sided-tetrasticks-5x5-diamond-lattice.py | tiwo/puzzler | 7ad3d9a792f0635f7ec59ffa85fb46b54fd77a7e | [
"Intel"
] | 1 | 2022-01-02T16:54:14.000Z | 2022-01-02T16:54:14.000Z | #!/usr/bin/env python
# $Id$
"""
107 solutions
"""
import puzzler
from puzzler.puzzles.tetrasticks import OneSidedTetrasticks5x5DiamondLattice
puzzler.run(OneSidedTetrasticks5x5DiamondLattice)
| 16.333333 | 76 | 0.811224 | 18 | 196 | 8.833333 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039326 | 0.091837 | 196 | 11 | 77 | 17.818182 | 0.853933 | 0.19898 | 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 | 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 |
080e73c8415ff56bbefde1461c6564cb1930f330 | 1,128 | py | Python | test/test_user_api.py | timelight-ai/python-api-client | 7e14341a89e8b7e1b4b0730416f6ddd3ef66ef39 | [
"MIT"
] | null | null | null | test/test_user_api.py | timelight-ai/python-api-client | 7e14341a89e8b7e1b4b0730416f6ddd3ef66ef39 | [
"MIT"
] | null | null | null | test/test_user_api.py | timelight-ai/python-api-client | 7e14341a89e8b7e1b4b0730416f6ddd3ef66ef39 | [
"MIT"
] | null | null | null | # coding: utf-8
"""
timelight
This is the timelight api. # noqa: E501
OpenAPI spec version: 1.0
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import unittest
import timelight_ai_python_api_client
from timelight_ai_python_api_clie... | 20.509091 | 86 | 0.671986 | 153 | 1,128 | 4.601307 | 0.411765 | 0.051136 | 0.096591 | 0.113636 | 0.423295 | 0.322443 | 0.244318 | 0.102273 | 0 | 0 | 0 | 0.028202 | 0.245567 | 1,128 | 54 | 87 | 20.888889 | 0.79906 | 0.352837 | 0 | 0.222222 | 1 | 0 | 0.012384 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.277778 | false | 0.222222 | 0.277778 | 0 | 0.611111 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
0818d711b0347fbf46cb1fd48fb8755163da2ac6 | 206 | py | Python | Flaskshop/run.py | GinkgoTeam/2019YJTZB | 7acb23f145ff70e09baade92e6b5a65856b36a1e | [
"MIT"
] | 41 | 2019-05-13T14:22:58.000Z | 2021-11-12T03:30:10.000Z | Flaskshop/run.py | GinkgoTeam/2019YJTZB | 7acb23f145ff70e09baade92e6b5a65856b36a1e | [
"MIT"
] | null | null | null | Flaskshop/run.py | GinkgoTeam/2019YJTZB | 7acb23f145ff70e09baade92e6b5a65856b36a1e | [
"MIT"
] | 10 | 2019-05-13T22:49:22.000Z | 2021-02-16T20:33:32.000Z | # -*- coding: utf-8 -*-
from taobao import app,db
from werkzeug.contrib.fixers import ProxyFix
app.wsgi_app=ProxyFix(app.wsgi_app)
if __name__ == '__main__':
app.run(debug=False)
db.create_all()
| 18.727273 | 44 | 0.708738 | 31 | 206 | 4.354839 | 0.677419 | 0.162963 | 0.222222 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005714 | 0.150485 | 206 | 10 | 45 | 20.6 | 0.765714 | 0.101942 | 0 | 0 | 0 | 0 | 0.043716 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 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 |
0831dc172b8db8ce2790fc0825809956feac1af5 | 480 | py | Python | Client/CameraConfig.py | villers/Python_Bahamas | 827255fac680ab0ef94673a8f0185fef1637acab | [
"MIT"
] | null | null | null | Client/CameraConfig.py | villers/Python_Bahamas | 827255fac680ab0ef94673a8f0185fef1637acab | [
"MIT"
] | null | null | null | Client/CameraConfig.py | villers/Python_Bahamas | 827255fac680ab0ef94673a8f0185fef1637acab | [
"MIT"
] | null | null | null | from PyQt5 import QtMultimedia
class CameraConfig():
def __init__(self):
self.CameraCurrent = self.GetDefaultCamera()
def GetDefaultCamera(self):
return QtMultimedia.QCameraInfo.defaultCamera()
def GetCameraList(self):
return QtMultimedia.QCameraInfo.availableCameras()
def Ge... | 24 | 67 | 0.708333 | 44 | 480 | 7.636364 | 0.5 | 0.119048 | 0.130952 | 0.196429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002618 | 0.204167 | 480 | 19 | 68 | 25.263158 | 0.876963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.416667 | false | 0 | 0.083333 | 0.333333 | 0.916667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
0848d560209c205e8138864edd3f07c9a5f31b23 | 216 | py | Python | polysphinx/nodes.py | d9pouces/PolyArchiv | 36f4a61bf29337f3efea7abb098329b693122e78 | [
"CECILL-B"
] | 9 | 2016-05-15T07:46:10.000Z | 2021-12-05T17:12:28.000Z | polysphinx/nodes.py | d9pouces/PolyArchiv | 36f4a61bf29337f3efea7abb098329b693122e78 | [
"CECILL-B"
] | 1 | 2016-05-23T17:21:46.000Z | 2016-05-23T17:21:46.000Z | polysphinx/nodes.py | d9pouces/PolyArchiv | 36f4a61bf29337f3efea7abb098329b693122e78 | [
"CECILL-B"
] | 3 | 2016-06-25T06:45:36.000Z | 2021-06-19T06:27:33.000Z | # coding=utf-8
from __future__ import unicode_literals
# noinspection PyPackageRequirements
from docutils import nodes
__author__ = "Matthieu Gallet"
class EnginesHelpNode(nodes.General, nodes.Element):
pass
| 18 | 52 | 0.805556 | 24 | 216 | 6.875 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005348 | 0.134259 | 216 | 11 | 53 | 19.636364 | 0.877005 | 0.217593 | 0 | 0 | 0 | 0 | 0.090361 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.2 | 0.4 | 0 | 0.6 | 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 |
f242266b523680cbf4ac6629f08a687f647e4019 | 95 | py | Python | 0x0A-python-inheritance/5-base_geometry.py | ricardo1470/holbertonschool-higher_level_programming | aab73c8efee665b0215958ee7b338871f13634bc | [
"CNRI-Python"
] | null | null | null | 0x0A-python-inheritance/5-base_geometry.py | ricardo1470/holbertonschool-higher_level_programming | aab73c8efee665b0215958ee7b338871f13634bc | [
"CNRI-Python"
] | null | null | null | 0x0A-python-inheritance/5-base_geometry.py | ricardo1470/holbertonschool-higher_level_programming | aab73c8efee665b0215958ee7b338871f13634bc | [
"CNRI-Python"
] | null | null | null | #!/usr/bin/python3
"""a class empty"""
class BaseGeometry():
"""create class"""
pass
| 11.875 | 22 | 0.589474 | 11 | 95 | 5.090909 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013158 | 0.2 | 95 | 7 | 23 | 13.571429 | 0.723684 | 0.463158 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
f2591c9cc2d773aa41eb95e6c0280b5dd12e7661 | 168 | py | Python | src/gfl/core/fl/trainer/trainer.py | mingt2019/GFL | b8e027d2e8cdcc27c85a00744f8790d6db3cc4a3 | [
"MIT"
] | 123 | 2020-06-05T13:30:38.000Z | 2022-03-30T08:39:43.000Z | src/gfl/core/fl/trainer/trainer.py | GalaxyLearning/PFL | b8e027d2e8cdcc27c85a00744f8790d6db3cc4a3 | [
"MIT"
] | 13 | 2020-06-19T13:09:47.000Z | 2021-12-22T03:09:24.000Z | src/gfl/core/fl/trainer/trainer.py | GalaxyLearning/GFL | b8e027d2e8cdcc27c85a00744f8790d6db3cc4a3 | [
"MIT"
] | 35 | 2020-06-08T15:52:21.000Z | 2022-03-25T11:52:42.000Z |
class FLTrainer(object):
def __init__(self, job):
super(FLTrainer, self).__init__()
def train(self):
pass
def test(self):
pass
| 12.923077 | 41 | 0.565476 | 19 | 168 | 4.578947 | 0.578947 | 0.183908 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.321429 | 168 | 12 | 42 | 14 | 0.763158 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0.285714 | 0 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
f28d9168c083eeaf00ea6a3d46dfd7955077177e | 182 | py | Python | bigdata_study/pyspark3/apilib/05_pyspark.mllib.py | gottaegbert/penter | 8cbb6be3c4bf67c7c69fa70e597bfbc3be4f0a2d | [
"MIT"
] | 13 | 2020-01-04T07:37:38.000Z | 2021-08-31T05:19:58.000Z | bigdata_study/pyspark3/apilib/05_pyspark.mllib.py | gottaegbert/penter | 8cbb6be3c4bf67c7c69fa70e597bfbc3be4f0a2d | [
"MIT"
] | 3 | 2020-06-05T22:42:53.000Z | 2020-08-24T07:18:54.000Z | bigdata_study/pyspark3/apilib/05_pyspark.mllib.py | gottaegbert/penter | 8cbb6be3c4bf67c7c69fa70e597bfbc3be4f0a2d | [
"MIT"
] | 9 | 2020-10-19T04:53:06.000Z | 2021-08-31T05:20:01.000Z | # http://spark.apache.org/docs/latest/api/python/pyspark.mllib.html
"""
MLlib是Spark中实现机器学习功能的模块,其主要针对RDD对象与DStream流对象。
在Spark 2.0中,新引入的ML包是主要针对DataFrame对象的机器学习包。MLlib目前处于维护状态。
""" | 22.75 | 67 | 0.813187 | 18 | 182 | 8.222222 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011561 | 0.049451 | 182 | 8 | 68 | 22.75 | 0.843931 | 0.934066 | 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 |
f295b17538a96c67ccf10cb1ba54e00f590dd310 | 191 | py | Python | examples/example__tubprocess__01_b.py | joetainment/joecceasy | ae21b4da9a40272dbb76299e68b62bbd40fa7681 | [
"MIT"
] | null | null | null | examples/example__tubprocess__01_b.py | joetainment/joecceasy | ae21b4da9a40272dbb76299e68b62bbd40fa7681 | [
"MIT"
] | null | null | null | examples/example__tubprocess__01_b.py | joetainment/joecceasy | ae21b4da9a40272dbb76299e68b62bbd40fa7681 | [
"MIT"
] | null | null | null | from joecceasy import Easy
cmd = ["python.exe", "-c", "import time; print(1); time.sleep(1); print(2); time.sleep(1); print(3)" ]
tub = Easy.Tubprocess( cmd, autoPrint=True )
tub.wait() | 38.2 | 103 | 0.649215 | 30 | 191 | 4.133333 | 0.633333 | 0.145161 | 0.16129 | 0.241935 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030675 | 0.146597 | 191 | 5 | 104 | 38.2 | 0.730061 | 0 | 0 | 0 | 0 | 0.25 | 0.441489 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0.25 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
f29e77d819e82dbd8116b4925a9bb778f9bbaae1 | 657 | py | Python | tests/test_payment_methods.py | borko81/parking_system_with_flask | 0ff10422cd1892bcb8c4c6958a159b08c1da919b | [
"MIT"
] | 1 | 2022-01-14T15:31:11.000Z | 2022-01-14T15:31:11.000Z | tests/test_payment_methods.py | borko81/parking_system_with_flask | 0ff10422cd1892bcb8c4c6958a159b08c1da919b | [
"MIT"
] | 5 | 2021-12-03T13:27:44.000Z | 2021-12-05T11:46:08.000Z | tests/test_payment_methods.py | borko81/parking_system_with_flask | 0ff10422cd1892bcb8c4c6958a159b08c1da919b | [
"MIT"
] | null | null | null | from flask_testing import TestCase
from config import create_app
from db import db
from tests.base import generate_token
from tests.factories import AdminUserFactory
class TestInsertNewPAymnetMethods(TestCase):
def create_app(self):
return create_app("config.TestingConfig")
def setUp(self):
... | 25.269231 | 65 | 0.707763 | 82 | 657 | 5.47561 | 0.487805 | 0.060134 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.21309 | 657 | 25 | 66 | 26.28 | 0.868472 | 0 | 0 | 0 | 1 | 0 | 0.076104 | 0.045662 | 0 | 0 | 0 | 0 | 0 | 1 | 0.210526 | false | 0.052632 | 0.263158 | 0.052632 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
f2c3412520777085a73b4a869e7de3b7d7c80a99 | 21,795 | py | Python | assignment_1/n_grams_lm_gutenberg_test_20181009.py | sigfredonin/NEU_CS6120 | 878fb65f9685af8f4d464398f26d1c5e1a803971 | [
"FSFAP"
] | null | null | null | assignment_1/n_grams_lm_gutenberg_test_20181009.py | sigfredonin/NEU_CS6120 | 878fb65f9685af8f4d464398f26d1c5e1a803971 | [
"FSFAP"
] | null | null | null | assignment_1/n_grams_lm_gutenberg_test_20181009.py | sigfredonin/NEU_CS6120 | 878fb65f9685af8f4d464398f26d1c5e1a803971 | [
"FSFAP"
] | null | null | null | >>>
===== RESTART: D:\Documents\NLP\NEU_CS6120\n_grams_lm_gutenberg_test.py =====
====October 09, 2018 08:42:01 AM====
-- test set_n_grams_from_files()- 1-grams --
--------------------------------------------------
-- Initialize 1-gram model for the files in directory
-- D:/Documents/NLP/NEU_CS6120/assignment_1/gute... | 101.845794 | 1,625 | 0.436063 | 2,336 | 21,795 | 4.048373 | 0.196062 | 0.015861 | 0.011843 | 0.010997 | 0.472771 | 0.41271 | 0.367664 | 0.298298 | 0.271968 | 0.200275 | 0 | 0.101212 | 0.201239 | 21,795 | 214 | 1,626 | 101.845794 | 0.442013 | 0 | 0 | 0.211538 | 0 | 0 | 0.219903 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4b2d9457946f4972d83763709f243c897264d82e | 427 | py | Python | steembase/chains.py | cryptomental/python-goloslib | 0766f9b48e478bc3cdd18b22a6b5867b82a9f81e | [
"MIT"
] | 1 | 2017-04-08T05:08:35.000Z | 2017-04-08T05:08:35.000Z | steembase/chains.py | cryptomental/python-goloslib | 0766f9b48e478bc3cdd18b22a6b5867b82a9f81e | [
"MIT"
] | null | null | null | steembase/chains.py | cryptomental/python-goloslib | 0766f9b48e478bc3cdd18b22a6b5867b82a9f81e | [
"MIT"
] | null | null | null | known_chains = {"GOLOS" : {"chain_id" : "782a3039b478c839e4cb0c941ff4eaeb7df40bdd68bd441afd444b9da763de12",
"core_symbol" : "GOLOS",
"prefix" : "GLS"},
"TEST" : {"chain_id" : "18dcf0a285365fc58b71f18b3d3fec954aa0c141c44e4e5cb4cf777b9eab274e",
... | 53.375 | 107 | 0.503513 | 20 | 427 | 10.5 | 0.7 | 0.066667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.272727 | 0.381733 | 427 | 7 | 108 | 61 | 0.522727 | 0 | 0 | 0 | 0 | 0 | 0.47541 | 0.299766 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
4b33fb4a57a15829cf84118de39e433c7e96e4be | 3,170 | py | Python | tests/test_cli.py | NoRedInk/make-lambda-package | 98c4d0d7f61846def734935b080e2ad2e3ebbba0 | [
"BSD-3-Clause"
] | 15 | 2017-02-22T23:59:04.000Z | 2020-02-10T20:02:23.000Z | tests/test_cli.py | NoRedInk/make-lambda-package | 98c4d0d7f61846def734935b080e2ad2e3ebbba0 | [
"BSD-3-Clause"
] | 5 | 2016-11-14T21:16:36.000Z | 2019-11-04T23:51:21.000Z | tests/test_cli.py | NoRedInk/make-lambda-package | 98c4d0d7f61846def734935b080e2ad2e3ebbba0 | [
"BSD-3-Clause"
] | 9 | 2017-02-22T22:54:55.000Z | 2020-04-20T20:08:55.000Z | import pytest
import os
import subprocess
from zipfile import ZipFile
from click.testing import CliRunner
from make_lambda_package import cli
@pytest.fixture
def runner():
return CliRunner()
def test_with_no_source_options(tmpdir, runner):
cwd = os.getcwd()
work_dir = tmpdir.join('deploy_package')
a... | 32.020202 | 80 | 0.633123 | 399 | 3,170 | 4.877193 | 0.20802 | 0.043165 | 0.043679 | 0.030832 | 0.718911 | 0.718911 | 0.718911 | 0.700925 | 0.676773 | 0.660329 | 0 | 0.005797 | 0.23817 | 3,170 | 98 | 81 | 32.346939 | 0.8 | 0 | 0 | 0.636364 | 0 | 0 | 0.160883 | 0.04858 | 0 | 0 | 0 | 0 | 0.25974 | 1 | 0.064935 | false | 0 | 0.077922 | 0.012987 | 0.155844 | 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 |
4b374e61d3bd7da42bb6b507b5321a430e2998d4 | 69,133 | py | Python | AIProject.py | ClishamJ/antcolonyoptimization | 4db6869c48e5462950150da203e29f6fe01a10ce | [
"MIT"
] | 1 | 2018-06-08T06:44:55.000Z | 2018-06-08T06:44:55.000Z | AIProject.py | ClishamJ/antcolonyoptimization | 4db6869c48e5462950150da203e29f6fe01a10ce | [
"MIT"
] | null | null | null | AIProject.py | ClishamJ/antcolonyoptimization | 4db6869c48e5462950150da203e29f6fe01a10ce | [
"MIT"
] | null | null | null |
##
## Artificial Intelligence Final Project
##
## ####
##
## James Clisham
##
##
## Ant Colony Optimization implemented in a variety of ways to solve the graph coloring problem.
## Primary focus on manipulating the various different components of ACO and pitting them against
## each other in trials.
##
import os, sy... | 30.005642 | 230 | 0.581242 | 6,853 | 69,133 | 5.836276 | 0.093682 | 0.069757 | 0.005701 | 0.007601 | 0.783603 | 0.755151 | 0.735924 | 0.720947 | 0.695495 | 0.680743 | 0 | 0.025213 | 0.340807 | 69,133 | 2,303 | 231 | 30.018671 | 0.852431 | 0.184557 | 0 | 0.666667 | 0 | 0 | 0.078724 | 0.000716 | 0 | 0 | 0 | 0 | 0 | 1 | 0.040346 | false | 0.020173 | 0.000961 | 0 | 0.065322 | 0.001921 | 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 |
4b93505945ea8d05f5ead44877abfdf80f214529 | 165 | py | Python | __init__.py | Jex-y/yolo | cd2471e93201b384fbe59df1b7ea6d2f5ec88247 | [
"MIT"
] | null | null | null | __init__.py | Jex-y/yolo | cd2471e93201b384fbe59df1b7ea6d2f5ec88247 | [
"MIT"
] | null | null | null | __init__.py | Jex-y/yolo | cd2471e93201b384fbe59df1b7ea6d2f5ec88247 | [
"MIT"
] | null | null | null | from .config import config
from .dataset import *
from .utils import *
from . import backbones
from . import detectors
config = config["yolo"]
__version__ = "1.0.0" | 20.625 | 26 | 0.739394 | 23 | 165 | 5.130435 | 0.478261 | 0.169492 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021583 | 0.157576 | 165 | 8 | 27 | 20.625 | 0.827338 | 0 | 0 | 0 | 0 | 0 | 0.054217 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.714286 | 0 | 0.714286 | 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 |
298fc1702bd15a0b7f0424bc2c785a93a2fada6a | 16 | py | Python | data/studio21_generated/introductory/4437/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | data/studio21_generated/introductory/4437/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | data/studio21_generated/introductory/4437/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | def cookie(x):
| 8 | 14 | 0.625 | 3 | 16 | 3.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 16 | 2 | 15 | 8 | 0.769231 | 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 |
29e53c6a7dc74fd887c14f5046b4605a031c028f | 870 | py | Python | swigwin-3.0.12/Examples/test-suite/python/cpp11_raw_string_literals_runme.py | bostich83/atomic_swig | 5438f676d690ffddb09d88bbc1b51e3b38fa8c6a | [
"MIT"
] | null | null | null | swigwin-3.0.12/Examples/test-suite/python/cpp11_raw_string_literals_runme.py | bostich83/atomic_swig | 5438f676d690ffddb09d88bbc1b51e3b38fa8c6a | [
"MIT"
] | 2 | 2020-03-24T18:19:22.000Z | 2020-03-31T11:22:32.000Z | swigwin-3.0.12/Examples/test-suite/python/cpp11_raw_string_literals_runme.py | bostich83/atomic_swig | 5438f676d690ffddb09d88bbc1b51e3b38fa8c6a | [
"MIT"
] | 1 | 2020-06-18T12:09:05.000Z | 2020-06-18T12:09:05.000Z | from cpp11_raw_string_literals import *
if cvar.L != 100:
raise RuntimeError
if cvar.u8 != 100:
raise RuntimeError
if cvar.u != 100:
raise RuntimeError
if UStruct.U != 100:
raise RuntimeError
if cvar.R != 100:
raise RuntimeError
if cvar.LR != 100:
raise RuntimeError
if cvar.u8R != 100:
... | 17.755102 | 47 | 0.637931 | 128 | 870 | 4.3125 | 0.265625 | 0.461957 | 0.344203 | 0.358696 | 0.663043 | 0.242754 | 0.130435 | 0.130435 | 0 | 0 | 0 | 0.048961 | 0.225287 | 870 | 48 | 48 | 18.125 | 0.77003 | 0 | 0 | 0.322581 | 0 | 0 | 0.113793 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.032258 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
29fb2fe50c62feaab124461c56188d9707d41a39 | 31 | py | Python | python/testData/intentions/PyAnnotateVariableTypeIntentionTest/annotationObjectForVariableWithUnknownType.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/intentions/PyAnnotateVariableTypeIntentionTest/annotationObjectForVariableWithUnknownType.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/intentions/PyAnnotateVariableTypeIntentionTest/annotationObjectForVariableWithUnknownType.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | def func(x):
v<caret>ar = x | 15.5 | 18 | 0.548387 | 7 | 31 | 2.428571 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.258065 | 31 | 2 | 18 | 15.5 | 0.73913 | 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 |
4b02e5e1d47eb1d7a3d1707841d44161730381dc | 17,073 | py | Python | pyvttbl/tests/test_stats_anova_within.py | yk/pyvttbl | af66c1aba410ba5386249cd5b95f2ae0ed01d870 | [
"BSD-3-Clause"
] | null | null | null | pyvttbl/tests/test_stats_anova_within.py | yk/pyvttbl | af66c1aba410ba5386249cd5b95f2ae0ed01d870 | [
"BSD-3-Clause"
] | null | null | null | pyvttbl/tests/test_stats_anova_within.py | yk/pyvttbl | af66c1aba410ba5386249cd5b95f2ae0ed01d870 | [
"BSD-3-Clause"
] | null | null | null |
# Copyright (c) 2011, Roger Lew [see LICENSE.txt]
# This software is funded in part by NIH Grant P20 RR016454.
import unittest
import warnings
import os
import math
from random import shuffle, random
from collections import Counter,OrderedDict
from dictset import DictSet,_rep_generator
from math import isnan, isinf,... | 84.519802 | 150 | 0.289463 | 1,686 | 17,073 | 2.921708 | 0.212337 | 0.01218 | 0.042225 | 0.035526 | 0.332318 | 0.289281 | 0.266951 | 0.261673 | 0.24259 | 0.238733 | 0 | 0.304595 | 0.515609 | 17,073 | 201 | 151 | 84.940299 | 0.291052 | 0.008552 | 0 | 0.074286 | 0 | 0.16 | 0.946326 | 0.155169 | 0 | 0 | 0 | 0 | 0.005714 | 1 | 0.011429 | false | 0 | 0.085714 | 0.005714 | 0.108571 | 0.005714 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
d9ce0b88e05c4431db6a7587abaf54349518a6ef | 110 | py | Python | 09.py | MateusVS/Exercicios_Python | 7d56837a2e0efb5e1c6f8aecc06684769db63f06 | [
"Apache-2.0"
] | 1 | 2019-04-09T04:08:52.000Z | 2019-04-09T04:08:52.000Z | 09.py | MateusVS/Exercicios_Python | 7d56837a2e0efb5e1c6f8aecc06684769db63f06 | [
"Apache-2.0"
] | null | null | null | 09.py | MateusVS/Exercicios_Python | 7d56837a2e0efb5e1c6f8aecc06684769db63f06 | [
"Apache-2.0"
] | null | null | null | f = int(input('Informe a temperatura em F: '))
c = (5 * (f-32) / 9)
print('A temperatura em graus C e ',c) | 27.5 | 47 | 0.581818 | 21 | 110 | 3.047619 | 0.666667 | 0.375 | 0.4375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047059 | 0.227273 | 110 | 4 | 48 | 27.5 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0.509259 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 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 |
d9df5bf5212d882305e2b1de5b28663d13b35329 | 408 | py | Python | tests/autogen/input/ifort/9-1_linux_intel/colon-input-test-1.py | michaelackermannaiub/py-fortranformat | edc530d5edde41f41939c716da8e1ef01fa8a6fe | [
"MIT"
] | null | null | null | tests/autogen/input/ifort/9-1_linux_intel/colon-input-test-1.py | michaelackermannaiub/py-fortranformat | edc530d5edde41f41939c716da8e1ef01fa8a6fe | [
"MIT"
] | null | null | null | tests/autogen/input/ifort/9-1_linux_intel/colon-input-test-1.py | michaelackermannaiub/py-fortranformat | edc530d5edde41f41939c716da8e1ef01fa8a6fe | [
"MIT"
] | null | null | null |
import sys
import os
import unittest
from nose.plugins.attrib import attr
# To change this, re-run 'build-unittests.py'
from fortranformat._input import input as _input
from fortranformat._lexer import lexer as _lexer
from fortranformat._parser import parser as _parser
import unittest
class COLONEditDescriptorBatch... | 20.4 | 59 | 0.79902 | 53 | 408 | 5.886792 | 0.54717 | 0.163462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002857 | 0.142157 | 408 | 20 | 60 | 20.4 | 0.888571 | 0.105392 | 0 | 0.166667 | 0 | 0 | 0.022039 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.083333 | 0.666667 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
d9e8832181dae839de4bdac78056b10fe50329d0 | 157 | py | Python | testing/tests/001-main/000-install.py | fekblom/critic | a6b60c9053e13d4c878d50531860d7389568626d | [
"Apache-2.0"
] | 216 | 2015-01-05T12:48:10.000Z | 2022-03-08T00:12:23.000Z | testing/tests/001-main/000-install.py | fekblom/critic | a6b60c9053e13d4c878d50531860d7389568626d | [
"Apache-2.0"
] | 55 | 2015-02-28T12:10:26.000Z | 2020-11-18T17:45:16.000Z | testing/tests/001-main/000-install.py | fekblom/critic | a6b60c9053e13d4c878d50531860d7389568626d | [
"Apache-2.0"
] | 34 | 2015-05-02T15:15:10.000Z | 2020-06-15T19:20:37.000Z | # Start instance and install (and upgrade, optionally) Critic with the default
# arguments.
instance.start()
instance.install(repository)
instance.upgrade()
| 26.166667 | 78 | 0.796178 | 19 | 157 | 6.578947 | 0.631579 | 0.208 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10828 | 157 | 5 | 79 | 31.4 | 0.892857 | 0.55414 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8a0a9438d0a698e037ae5a8d25f4d0d4b59d41d9 | 28,337 | py | Python | tests/components/mqtt/test_legacy_vacuum.py | dansarginson/home-assistant | b9e9445a5155af5239b25305e79146d8bfcbd809 | [
"Apache-2.0"
] | null | null | null | tests/components/mqtt/test_legacy_vacuum.py | dansarginson/home-assistant | b9e9445a5155af5239b25305e79146d8bfcbd809 | [
"Apache-2.0"
] | 38 | 2021-06-17T10:18:53.000Z | 2022-03-31T06:28:02.000Z | tests/components/mqtt/test_legacy_vacuum.py | dansarginson/home-assistant | b9e9445a5155af5239b25305e79146d8bfcbd809 | [
"Apache-2.0"
] | null | null | null | """The tests for the Legacy Mqtt vacuum platform."""
from copy import deepcopy
import json
from unittest.mock import patch
import pytest
from homeassistant.components import vacuum
from homeassistant.components.mqtt import CONF_COMMAND_TOPIC
from homeassistant.components.mqtt.vacuum import schema_legacy as mqttvacuum... | 34.018007 | 88 | 0.704979 | 3,550 | 28,337 | 5.287324 | 0.06169 | 0.045605 | 0.044113 | 0.04049 | 0.830474 | 0.7748 | 0.73122 | 0.684177 | 0.639212 | 0.620139 | 0 | 0.00433 | 0.19321 | 28,337 | 832 | 89 | 34.058894 | 0.816683 | 0.001623 | 0 | 0.5136 | 0 | 0 | 0.128824 | 0.011883 | 0 | 0 | 0 | 0 | 0.1184 | 1 | 0 | false | 0 | 0.024 | 0 | 0.024 | 0 | 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 |
8a23a76f6a213974f6329f5a729c907bdc65674f | 142 | py | Python | embed_python_manager/__init__.py | likianta/embed-python-manager | bef0351bc059a6e9e007d69dbbeea93cb494465e | [
"MIT"
] | null | null | null | embed_python_manager/__init__.py | likianta/embed-python-manager | bef0351bc059a6e9e007d69dbbeea93cb494465e | [
"MIT"
] | null | null | null | embed_python_manager/__init__.py | likianta/embed-python-manager | bef0351bc059a6e9e007d69dbbeea93cb494465e | [
"MIT"
] | null | null | null | from .downloader import EmbedPythonDownloader
from .manager import EmbedPythonManager
from .pyversion import PyVersion
__version__ = '0.2.7'
| 23.666667 | 45 | 0.830986 | 16 | 142 | 7.125 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02381 | 0.112676 | 142 | 5 | 46 | 28.4 | 0.880952 | 0 | 0 | 0 | 0 | 0 | 0.035211 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 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 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
8a3557ff010adbde6932abd54125bb9065c2250c | 71 | py | Python | scripts/field/summon_cygnusTuto2.py | G00dBye/YYMS | 1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb | [
"MIT"
] | 54 | 2019-04-16T23:24:48.000Z | 2021-12-18T11:41:50.000Z | scripts/field/summon_cygnusTuto2.py | G00dBye/YYMS | 1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb | [
"MIT"
] | 3 | 2019-05-19T15:19:41.000Z | 2020-04-27T16:29:16.000Z | scripts/field/summon_cygnusTuto2.py | G00dBye/YYMS | 1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb | [
"MIT"
] | 49 | 2020-11-25T23:29:16.000Z | 2022-03-26T16:20:24.000Z | # Created by MechAviv
# ID :: [130030105]
# Empress Road : Drill Hall
| 14.2 | 27 | 0.676056 | 9 | 71 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160714 | 0.211268 | 71 | 4 | 28 | 17.75 | 0.696429 | 0.887324 | 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 |
8a4095f7eb70cb00d03fb809f652bdac82666907 | 1,103 | py | Python | telnyx-python/telnyx/aio/api_resources/conference.py | team-telnyx/telnyx-2fa | 6b8acb6703dc9458176c97d7fa6d1fd9c303bfbd | [
"MIT"
] | null | null | null | telnyx-python/telnyx/aio/api_resources/conference.py | team-telnyx/telnyx-2fa | 6b8acb6703dc9458176c97d7fa6d1fd9c303bfbd | [
"MIT"
] | 3 | 2020-03-24T18:09:34.000Z | 2021-02-02T22:37:30.000Z | telnyx-python/telnyx/aio/api_resources/conference.py | mgwilliams/telnyx-2fa | 49b794c05f42bc6d1c27f722e0d09da6654ad8d2 | [
"MIT"
] | 1 | 2020-01-24T17:39:37.000Z | 2020-01-24T17:39:37.000Z | from telnyx.aio.api_resources.abstract import (
CreateableAPIResource,
ListableAPIResource,
nested_resource_class_methods,
)
@nested_resource_class_methods("join", path="actions/join", operations=["create"])
@nested_resource_class_methods("mute", path="actions/mute", operations=["create"])
@nested_resourc... | 36.766667 | 86 | 0.726201 | 125 | 1,103 | 6.208 | 0.24 | 0.108247 | 0.146907 | 0.201031 | 0.42268 | 0.216495 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12874 | 1,103 | 29 | 87 | 38.034483 | 0.807492 | 0 | 0 | 0 | 0 | 0 | 0.116047 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.227273 | false | 0 | 0.045455 | 0.227273 | 0.590909 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.