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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
5dd19139cd6c569ecfc99c9d3cf0dd7c28772626 | 7,055 | py | Python | python_101/02.2 - ascii_art.py | dggsoares/Simple_Python_Exercises | f19b4da838fdd062f7dd35d2d53b4fc448aa5929 | [
"MIT"
] | 2 | 2021-09-28T00:40:22.000Z | 2022-03-18T02:36:24.000Z | python_101/02.2 - ascii_art.py | dggsoares/Simple_Python_Exercises | f19b4da838fdd062f7dd35d2d53b4fc448aa5929 | [
"MIT"
] | null | null | null | python_101/02.2 - ascii_art.py | dggsoares/Simple_Python_Exercises | f19b4da838fdd062f7dd35d2d53b4fc448aa5929 | [
"MIT"
] | null | null | null | stormtrooper = r'''
,ooo888888888888888oooo,
o8888YYYYYY77iiiiooo8888888o
8888YYYY77iiYY8888888888888888
[88YYY77iiY88888888888888888888]
88YY7iYY888888888888888888888888
... | 68.495146 | 79 | 0.493551 | 438 | 7,055 | 7.949772 | 0.582192 | 0.005744 | 0.008616 | 0.017806 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.602388 | 0.382566 | 7,055 | 103 | 80 | 68.495146 | 0.19697 | 0 | 0 | 0 | 0 | 0.009804 | 0.99674 | 0.271825 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
5de9f691ed22988689216fe2a5207467c6eda6c0 | 371 | py | Python | tests/test_yandex.py | termim/geocoder | b7b7d0b383716c3ccf6535ee47424cd7ccfa4eaa | [
"MIT"
] | 1,506 | 2015-01-04T22:35:09.000Z | 2022-03-30T17:10:20.000Z | tests/test_yandex.py | termim/geocoder | b7b7d0b383716c3ccf6535ee47424cd7ccfa4eaa | [
"MIT"
] | 317 | 2015-01-01T00:36:20.000Z | 2021-11-11T14:58:18.000Z | tests/test_yandex.py | termim/geocoder | b7b7d0b383716c3ccf6535ee47424cd7ccfa4eaa | [
"MIT"
] | 339 | 2015-01-29T14:03:18.000Z | 2022-03-31T15:59:53.000Z | # coding: utf8
import geocoder
location = 'Ottawa'
coordinates = {'lat': 41.005407, 'lng': 28.978349}
def test_yandex():
g = geocoder.yandex(location)
assert g.ok
def test_yandex_reverse():
g = geocoder.yandex(coordinates, method='reverse')
assert g.ok
def test_multi_results():
g = geocoder.... | 16.863636 | 54 | 0.673854 | 50 | 371 | 4.9 | 0.52 | 0.085714 | 0.183673 | 0.187755 | 0.130612 | 0 | 0 | 0 | 0 | 0 | 0 | 0.063333 | 0.191375 | 371 | 21 | 55 | 17.666667 | 0.753333 | 0.032345 | 0 | 0.166667 | 0 | 0 | 0.053221 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | false | 0 | 0.083333 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
5deb9a317f5e0b6a1c7d13f9cfb3b477b86a4770 | 439 | py | Python | Robot-learning/Project3_DQN_cartpole/scripts/robot.py | dadaluoyu/Robotics-and-Robot-Learning | f4f57738f17d86bf3358b5fcfd8c310682b26412 | [
"MIT"
] | 1 | 2019-09-06T03:27:38.000Z | 2019-09-06T03:27:38.000Z | Robot-learning/Project3_DQN_cartpole/scripts/robot.py | dadaluoyu/Robotics-and-Robot-Learning | f4f57738f17d86bf3358b5fcfd8c310682b26412 | [
"MIT"
] | null | null | null | Robot-learning/Project3_DQN_cartpole/scripts/robot.py | dadaluoyu/Robotics-and-Robot-Learning | f4f57738f17d86bf3358b5fcfd8c310682b26412 | [
"MIT"
] | null | null | null | from __future__ import absolute_import, division, print_function, unicode_literals
class Robot(object):
def __init__(self):
pass
def initialize(self):
pass
def initialize_from_config(self, config_data, section_name):
pass
def get_state(self):
raise NotImplementedError... | 19.086957 | 82 | 0.683371 | 49 | 439 | 5.755102 | 0.591837 | 0.085106 | 0.078014 | 0.148936 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.255125 | 439 | 22 | 83 | 19.954545 | 0.862385 | 0 | 0 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0.285714 | 0.071429 | 0 | 0.571429 | 0.071429 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
5df03d66411e95709b0b422d747acbefa1a1e34b | 443 | py | Python | bandwidth/voice/models/conference_event_method_enum.py | roverdotcom/python-sdk | c6947fb3331b77f0064aeec2dcf0c4ff178de34c | [
"MIT"
] | 5 | 2020-11-04T14:29:37.000Z | 2022-02-23T20:33:07.000Z | bandwidth/voice/models/conference_event_method_enum.py | roverdotcom/python-sdk | c6947fb3331b77f0064aeec2dcf0c4ff178de34c | [
"MIT"
] | 3 | 2021-07-23T18:48:48.000Z | 2022-03-15T14:59:07.000Z | bandwidth/voice/models/conference_event_method_enum.py | roverdotcom/python-sdk | c6947fb3331b77f0064aeec2dcf0c4ff178de34c | [
"MIT"
] | 8 | 2020-04-14T09:22:53.000Z | 2022-03-11T10:46:06.000Z | # -*- coding: utf-8 -*-
"""
bandwidth
This file was automatically generated by APIMATIC v3.0 (
https://www.apimatic.io ).
"""
class ConferenceEventMethodEnum(object):
"""Implementation of the 'ConferenceEventMethod' enum.
TODO: type enum description here.
Attributes:
POST: T... | 17.038462 | 59 | 0.602709 | 45 | 443 | 5.933333 | 0.688889 | 0.089888 | 0.142322 | 0.172285 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009434 | 0.282167 | 443 | 25 | 60 | 17.72 | 0.830189 | 0.665914 | 0 | 0 | 1 | 0 | 0.079545 | 0 | 0 | 0 | 0 | 0.12 | 0 | 1 | 0 | false | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
5df70c59d9e561e6f5db44cb0cd8a6e480317e1e | 1,068 | py | Python | stubs.min/Autodesk/Revit/DB/__init___parts/WorksharingDisplayMode.py | denfromufa/ironpython-stubs | 4d2b405eda3ceed186e8adca55dd97c332c6f49d | [
"MIT"
] | 1 | 2017-07-07T11:15:45.000Z | 2017-07-07T11:15:45.000Z | stubs.min/Autodesk/Revit/DB/__init___parts/WorksharingDisplayMode.py | hdm-dt-fb/ironpython-stubs | 4d2b405eda3ceed186e8adca55dd97c332c6f49d | [
"MIT"
] | null | null | null | stubs.min/Autodesk/Revit/DB/__init___parts/WorksharingDisplayMode.py | hdm-dt-fb/ironpython-stubs | 4d2b405eda3ceed186e8adca55dd97c332c6f49d | [
"MIT"
] | null | null | null | class WorksharingDisplayMode(Enum,IComparable,IFormattable,IConvertible):
"""
Indicates which worksharing display mode a view is in.
enum WorksharingDisplayMode,values: CheckoutStatus (1),ModelUpdates (3),Off (0),Owners (2),Worksets (4)
"""
def __eq__(self,*args):
""" x.__eq__(y) <==> x==yx.__eq__(y) ... | 28.864865 | 215 | 0.676966 | 138 | 1,068 | 4.550725 | 0.384058 | 0.127389 | 0.133758 | 0.143312 | 0.205414 | 0.205414 | 0.205414 | 0.179936 | 0.179936 | 0.179936 | 0 | 0.005637 | 0.169476 | 1,068 | 36 | 216 | 29.666667 | 0.702368 | 0.457865 | 0 | 0.37037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.37037 | false | 0.37037 | 0 | 0 | 0.62963 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
f8de0fd284475fcb591a3e0631d351b8363d24b1 | 1,280 | py | Python | main.py | alekxeyuk/DtfUndersideApi | aebfe962d408f126db322e048baa728ad928ab44 | [
"MIT"
] | null | null | null | main.py | alekxeyuk/DtfUndersideApi | aebfe962d408f126db322e048baa728ad928ab44 | [
"MIT"
] | null | null | null | main.py | alekxeyuk/DtfUndersideApi | aebfe962d408f126db322e048baa728ad928ab44 | [
"MIT"
] | null | null | null | import requests
from requests_toolbelt import sessions
class UndersideApi(object):
session = sessions.BaseUrlSession(base_url='https://underside.tjcache.pw/api/v1/message/')
trans_table = str.maketrans('\u200e\u200b', '01')
encr_table = str.maketrans('01', '\u200e\u200b')
@staticmethod
def bin2as... | 34.594595 | 94 | 0.644531 | 161 | 1,280 | 4.993789 | 0.397516 | 0.037313 | 0.042289 | 0.034826 | 0.069652 | 0.069652 | 0 | 0 | 0 | 0 | 0 | 0.023033 | 0.185938 | 1,280 | 37 | 95 | 34.594595 | 0.74856 | 0 | 0 | 0.074074 | 0 | 0 | 0.09758 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.074074 | 0.111111 | 0.666667 | 0.074074 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
f8f373912e730b11c0667bfc78b333d576f38538 | 124 | py | Python | src/main/python/server/readGoogle.py | eecevit-tgm/flask-vue-heroku | 4b76639f4f26bb0cbbf5e50b55008696d756aa7c | [
"MIT"
] | null | null | null | src/main/python/server/readGoogle.py | eecevit-tgm/flask-vue-heroku | 4b76639f4f26bb0cbbf5e50b55008696d756aa7c | [
"MIT"
] | null | null | null | src/main/python/server/readGoogle.py | eecevit-tgm/flask-vue-heroku | 4b76639f4f26bb0cbbf5e50b55008696d756aa7c | [
"MIT"
] | null | null | null | import requests
response = requests.get('https://www.dropbox.com/s/3tlfdh7ws54dum3/user.json?dl=0 ')
print(response.text) | 31 | 86 | 0.766129 | 18 | 124 | 5.277778 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052174 | 0.072581 | 124 | 4 | 87 | 31 | 0.773913 | 0 | 0 | 0 | 0 | 0 | 0.472 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
5d02a0f383f8eb2a1ea599fa3037f49e236ff169 | 1,907 | py | Python | tools/preprocessing.py | jerradgenson/rapid-learn | 78d5330e147bf879c3a3de3402dadd35d9a765e1 | [
"BSD-3-Clause"
] | 1 | 2018-02-05T23:36:15.000Z | 2018-02-05T23:36:15.000Z | tools/preprocessing.py | jerradgenson/rapid-learn | 78d5330e147bf879c3a3de3402dadd35d9a765e1 | [
"BSD-3-Clause"
] | 9 | 2018-01-23T01:37:21.000Z | 2018-02-05T03:08:08.000Z | tools/preprocessing.py | jerradgenson/rapid-learn | 78d5330e147bf879c3a3de3402dadd35d9a765e1 | [
"BSD-3-Clause"
] | 1 | 2018-08-12T16:37:14.000Z | 2018-08-12T16:37:14.000Z | """
BSD 3-Clause License
Copyright (c) 2018, Jerrad Genson
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of condit... | 37.392157 | 78 | 0.779759 | 281 | 1,907 | 5.291815 | 0.558719 | 0.02421 | 0.022865 | 0.030935 | 0.123739 | 0.091459 | 0.091459 | 0.091459 | 0.091459 | 0.091459 | 0 | 0.00447 | 0.178815 | 1,907 | 50 | 79 | 38.14 | 0.945083 | 0.932879 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
5d2642dc23ed004cb6ca5ba39b469bcdcb5a761b | 241 | py | Python | 8.py | CarineGhisiCadorin/infosatc-lp-avaliativo-02 | 0018df4f52c0659611c484c909ff4bbf925c450a | [
"MIT"
] | null | null | null | 8.py | CarineGhisiCadorin/infosatc-lp-avaliativo-02 | 0018df4f52c0659611c484c909ff4bbf925c450a | [
"MIT"
] | null | null | null | 8.py | CarineGhisiCadorin/infosatc-lp-avaliativo-02 | 0018df4f52c0659611c484c909ff4bbf925c450a | [
"MIT"
] | null | null | null |
lista_de_compras = ["gabinete cooler master", "placa devídeo GeForce RTX 2080Ti"]
print(lista_de_compras)
lista_de_compras.remove("gabinete cooler master")
lista_de_compras.remove("placa devídeo GeForce RTX 2080Ti")
print(lista_de_compras)
| 34.428571 | 81 | 0.821577 | 35 | 241 | 5.371429 | 0.371429 | 0.18617 | 0.37234 | 0.234043 | 0.5 | 0.5 | 0.5 | 0.5 | 0.5 | 0 | 0 | 0.036364 | 0.087137 | 241 | 6 | 82 | 40.166667 | 0.818182 | 0 | 0 | 0.4 | 0 | 0 | 0.45 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.4 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
5d2ff2076308e0dc55e887098597cf75f4818b81 | 61 | py | Python | example_snippets/multimenus_snippets/Snippets/SciPy/Physical and mathematical constants/CODATA physical constants/P/proton mass energy equivalent.py | kuanpern/jupyterlab-snippets-multimenus | 477f51cfdbad7409eab45abe53cf774cd70f380c | [
"BSD-3-Clause"
] | null | null | null | example_snippets/multimenus_snippets/Snippets/SciPy/Physical and mathematical constants/CODATA physical constants/P/proton mass energy equivalent.py | kuanpern/jupyterlab-snippets-multimenus | 477f51cfdbad7409eab45abe53cf774cd70f380c | [
"BSD-3-Clause"
] | null | null | null | example_snippets/multimenus_snippets/Snippets/SciPy/Physical and mathematical constants/CODATA physical constants/P/proton mass energy equivalent.py | kuanpern/jupyterlab-snippets-multimenus | 477f51cfdbad7409eab45abe53cf774cd70f380c | [
"BSD-3-Clause"
] | 1 | 2021-02-04T04:51:48.000Z | 2021-02-04T04:51:48.000Z | constants.physical_constants["proton mass energy equivalent"] | 61 | 61 | 0.868852 | 7 | 61 | 7.428571 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04918 | 61 | 1 | 61 | 61 | 0.896552 | 0 | 0 | 0 | 0 | 0 | 0.467742 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
5d49f577dee1c2d46d4316610724d3db0b531403 | 54 | py | Python | neo3/core/types/__init__.py | Degget1986/neo-mamba | da7312d5027f3e9b0e5421495d5c00915bdfd786 | [
"MIT"
] | 12 | 2020-08-27T19:56:02.000Z | 2022-03-08T03:23:43.000Z | neo3/core/types/__init__.py | Degget1986/neo-mamba | da7312d5027f3e9b0e5421495d5c00915bdfd786 | [
"MIT"
] | 101 | 2020-07-24T08:23:00.000Z | 2021-11-17T13:37:45.000Z | neo3/core/types/__init__.py | Degget1986/neo-mamba | da7312d5027f3e9b0e5421495d5c00915bdfd786 | [
"MIT"
] | 11 | 2021-02-11T22:24:13.000Z | 2021-11-18T06:45:03.000Z | from .uint import *
__all__ = ['UInt160', 'UInt256']
| 13.5 | 32 | 0.648148 | 6 | 54 | 5.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 0.166667 | 54 | 3 | 33 | 18 | 0.555556 | 0 | 0 | 0 | 0 | 0 | 0.259259 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
5d579127c53f9aee00ddb97f3c88277bb9f21555 | 2,404 | py | Python | weiss/api/serializers.py | austinlostinboston/mitsWebApp | bf30e891f4b0985e636935a82b87e3b100e1fd64 | [
"Apache-2.0"
] | 4 | 2015-07-12T16:17:49.000Z | 2017-07-20T08:44:56.000Z | weiss/api/serializers.py | austinlostinboston/mitsWebApp | bf30e891f4b0985e636935a82b87e3b100e1fd64 | [
"Apache-2.0"
] | 20 | 2015-07-03T20:36:09.000Z | 2015-08-01T04:10:14.000Z | weiss/api/serializers.py | austinlostinboston/mitsWebApp | bf30e891f4b0985e636935a82b87e3b100e1fd64 | [
"Apache-2.0"
] | null | null | null | """
Copyright 2015 Austin Ankney, Ming Fang, Wenjun Wang and Yao Zhou
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law o... | 32.053333 | 77 | 0.74792 | 284 | 2,404 | 6.257042 | 0.380282 | 0.146314 | 0.036579 | 0.061902 | 0.436691 | 0.386607 | 0.350591 | 0.350591 | 0.321328 | 0.228475 | 0 | 0.004026 | 0.173461 | 2,404 | 74 | 78 | 32.486486 | 0.890287 | 0.277454 | 0 | 0.5 | 0 | 0 | 0.015616 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.263158 | false | 0 | 0.078947 | 0.131579 | 0.868421 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
5d5aff9cbb817f17f8f66fcdfa9bc04403145ea3 | 709 | py | Python | Python/esys/lsm/benchmarks/gouge2d/__init__.py | danielfrascarelli/esys-particle | e56638000fd9c4af77e21c75aa35a4f8922fd9f0 | [
"Apache-2.0"
] | null | null | null | Python/esys/lsm/benchmarks/gouge2d/__init__.py | danielfrascarelli/esys-particle | e56638000fd9c4af77e21c75aa35a4f8922fd9f0 | [
"Apache-2.0"
] | null | null | null | Python/esys/lsm/benchmarks/gouge2d/__init__.py | danielfrascarelli/esys-particle | e56638000fd9c4af77e21c75aa35a4f8922fd9f0 | [
"Apache-2.0"
] | null | null | null | #############################################################
## ##
## Copyright (c) 2003-2017 by The University of Queensland ##
## Centre for Geoscience Computing ##
## http://earth.uq.edu.au/centre-geoscience-computing ##
## ... | 54.538462 | 61 | 0.359661 | 46 | 709 | 5.543478 | 0.826087 | 0.14902 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029613 | 0.380818 | 709 | 12 | 62 | 59.083333 | 0.551253 | 0.541608 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
5d62099c42e0d4e4626ee6201493bcf995ba1270 | 1,370 | py | Python | scannet/neptune_callbacks.py | roma-goodok/scannet_experiments | 8039fade13f9bd5664633f6a567f6785a5f9e3d2 | [
"MIT"
] | null | null | null | scannet/neptune_callbacks.py | roma-goodok/scannet_experiments | 8039fade13f9bd5664633f6a567f6785a5f9e3d2 | [
"MIT"
] | null | null | null | scannet/neptune_callbacks.py | roma-goodok/scannet_experiments | 8039fade13f9bd5664633f6a567f6785a5f9e3d2 | [
"MIT"
] | null | null | null | "A `Callback` that saves tracked metrics into a Neptune"
#Contribution from devforfu: https://nbviewer.jupyter.org/gist/devforfu/ea0b3fcfe194dad323c3762492b05cae
from fastprogress.fastprogress import format_time
from fastai.torch_core import *
from fastai.basic_data import DataBunch
from fastai.callback import *
from... | 34.25 | 110 | 0.710219 | 171 | 1,370 | 5.467836 | 0.461988 | 0.058824 | 0.034225 | 0.04492 | 0.04492 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015399 | 0.194161 | 1,370 | 39 | 111 | 35.128205 | 0.831522 | 0.283212 | 0 | 0.086957 | 0 | 0 | 0.189597 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.173913 | false | 0.086957 | 0.304348 | 0 | 0.521739 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 3 |
5d62e53614d9c0e17c9bb6e4ccae8de9928b15b9 | 32,834 | py | Python | gbpservice/neutron/tests/unit/nfp/orchestrator/test_openstack_driver.py | baodongli/group-based-policy | f3b892ecdc1051b204376e18679f73bf457ce7dc | [
"Apache-2.0"
] | null | null | null | gbpservice/neutron/tests/unit/nfp/orchestrator/test_openstack_driver.py | baodongli/group-based-policy | f3b892ecdc1051b204376e18679f73bf457ce7dc | [
"Apache-2.0"
] | null | null | null | gbpservice/neutron/tests/unit/nfp/orchestrator/test_openstack_driver.py | baodongli/group-based-policy | f3b892ecdc1051b204376e18679f73bf457ce7dc | [
"Apache-2.0"
] | null | null | null | # Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# d... | 48.571006 | 78 | 0.558689 | 3,498 | 32,834 | 4.866781 | 0.064037 | 0.068668 | 0.083235 | 0.0625 | 0.794584 | 0.756403 | 0.706003 | 0.680451 | 0.650435 | 0.63011 | 0 | 0.008269 | 0.362795 | 32,834 | 675 | 79 | 48.642963 | 0.80542 | 0.016629 | 0 | 0.517065 | 0 | 0 | 0.058222 | 0.018158 | 0 | 0 | 0 | 0 | 0.18942 | 1 | 0.105802 | false | 0.010239 | 0.015358 | 0 | 0.129693 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
5d6835c1a07a0151fd3b5bdb2e570a03670d6eff | 1,060 | py | Python | mac-py27-venv-designateclient/functionaltests/base.py | naototty/python-conohadns-client | 04f360450d2e1a6020d2870272d8125cb112fa01 | [
"Apache-2.0"
] | null | null | null | mac-py27-venv-designateclient/functionaltests/base.py | naototty/python-conohadns-client | 04f360450d2e1a6020d2870272d8125cb112fa01 | [
"Apache-2.0"
] | null | null | null | mac-py27-venv-designateclient/functionaltests/base.py | naototty/python-conohadns-client | 04f360450d2e1a6020d2870272d8125cb112fa01 | [
"Apache-2.0"
] | null | null | null | """
Copyright 2015 Rackspace
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
dist... | 31.176471 | 72 | 0.759434 | 146 | 1,060 | 5.445205 | 0.636986 | 0.075472 | 0.032704 | 0.040252 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009195 | 0.179245 | 1,060 | 33 | 73 | 32.121212 | 0.904598 | 0.517925 | 0 | 0 | 0 | 0 | 0.023857 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.153846 | false | 0.076923 | 0.307692 | 0 | 0.615385 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 3 |
5d6b70d27fdc4893d15fd4aff3761ea3437c0611 | 127 | py | Python | groot/share/urls.py | ajaystark/ajaystark_website | 6f6a7de37d45fdc30fbefbb0adcad7b152852e42 | [
"MIT"
] | null | null | null | groot/share/urls.py | ajaystark/ajaystark_website | 6f6a7de37d45fdc30fbefbb0adcad7b152852e42 | [
"MIT"
] | 2 | 2019-07-05T00:45:48.000Z | 2019-07-05T00:57:07.000Z | groot/share/urls.py | ajaystark/ajaystark_website | 6f6a7de37d45fdc30fbefbb0adcad7b152852e42 | [
"MIT"
] | null | null | null | from django.urls import path
from share.views import sharepage
urlpatterns = [
path('',sharepage.as_view(),name='sharepage')
] | 25.4 | 46 | 0.76378 | 17 | 127 | 5.647059 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102362 | 127 | 5 | 47 | 25.4 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0.070313 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
5d6de8157aab3fb082755d385a9d586d99fe6d8a | 2,828 | py | Python | Lib/site-packages/twisted/web2/filter/gzip.py | raychorn/svn_Python-2.5.1 | 425005b1b489ba44ec0bb989e077297e8953d9be | [
"PSF-2.0"
] | 1 | 2021-01-27T19:11:21.000Z | 2021-01-27T19:11:21.000Z | Lib/site-packages/twisted/web2/filter/gzip.py | raychorn/svn_Python-2.5.1 | 425005b1b489ba44ec0bb989e077297e8953d9be | [
"PSF-2.0"
] | null | null | null | Lib/site-packages/twisted/web2/filter/gzip.py | raychorn/svn_Python-2.5.1 | 425005b1b489ba44ec0bb989e077297e8953d9be | [
"PSF-2.0"
] | 3 | 2017-01-04T01:24:15.000Z | 2020-06-18T16:14:56.000Z | from __future__ import generators
import struct
import zlib
from twisted.web2 import stream
# TODO: ungzip (can any browsers actually generate gzipped
# upload data?) But it's necessary for client anyways.
def gzipStream(input, compressLevel=6):
crc, size = zlib.crc32(''), 0
# magic header, compression method... | 35.35 | 101 | 0.678571 | 349 | 2,828 | 5.441261 | 0.432665 | 0.047393 | 0.029489 | 0.037915 | 0.249605 | 0.249605 | 0.249605 | 0.193786 | 0.193786 | 0.143233 | 0 | 0.017687 | 0.220297 | 2,828 | 79 | 102 | 35.797468 | 0.843537 | 0.244696 | 0 | 0.326923 | 1 | 0 | 0.083923 | 0 | 0 | 0 | 0 | 0.012658 | 0 | 0 | null | null | 0 | 0.076923 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
53828778710c10617e0b15b14d09642e17c9f917 | 168 | py | Python | problem0493.py | kmarcini/Project-Euler-Python | d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3 | [
"BSD-3-Clause"
] | null | null | null | problem0493.py | kmarcini/Project-Euler-Python | d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3 | [
"BSD-3-Clause"
] | null | null | null | problem0493.py | kmarcini/Project-Euler-Python | d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3 | [
"BSD-3-Clause"
] | null | null | null | ###########################
#
# #493 Under The Rainbow - Project Euler
# https://projecteuler.net/problem=493
#
# Code by Kevin Marciniak
#
###########################
| 18.666667 | 40 | 0.47619 | 15 | 168 | 5.333333 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040541 | 0.119048 | 168 | 8 | 41 | 21 | 0.5 | 0.583333 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
538518a14c78ca749058e540189f461bfc268822 | 1,292 | py | Python | imperative/python/megengine/core/_wrap.py | chenbo123222/MegEngine | 8230ea2d0b16422136ad27b4073d523b524aa4e6 | [
"Apache-2.0"
] | 3 | 2020-10-23T06:33:57.000Z | 2020-10-23T06:34:06.000Z | imperative/python/megengine/core/_wrap.py | chenbo123222/MegEngine | 8230ea2d0b16422136ad27b4073d523b524aa4e6 | [
"Apache-2.0"
] | null | null | null | imperative/python/megengine/core/_wrap.py | chenbo123222/MegEngine | 8230ea2d0b16422136ad27b4073d523b524aa4e6 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# MegEngine is Licensed under the Apache License, Version 2.0 (the "License")
#
# Copyright (c) 2014-2020 Megvii Inc. All rights reserved.
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT ARRANTI... | 26.367347 | 88 | 0.631579 | 171 | 1,292 | 4.532164 | 0.45614 | 0.077419 | 0.046452 | 0.03871 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011579 | 0.264706 | 1,292 | 48 | 89 | 26.916667 | 0.804211 | 0.278638 | 0 | 0 | 0 | 0 | 0.006501 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.241379 | false | 0 | 0.068966 | 0.137931 | 0.586207 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
53894e7e46e2565527d5b3bf2cb3423550f535dc | 127 | py | Python | main.py | feliamunda/Pygame_Project | 86d8e0755e63c95b35500fe51ea95236f43d6163 | [
"Apache-2.0"
] | null | null | null | main.py | feliamunda/Pygame_Project | 86d8e0755e63c95b35500fe51ea95236f43d6163 | [
"Apache-2.0"
] | null | null | null | main.py | feliamunda/Pygame_Project | 86d8e0755e63c95b35500fe51ea95236f43d6163 | [
"Apache-2.0"
] | null | null | null | from game import Game
def main():
facilito_game = Game()
facilito_game.start()
if __name__ == '__main__':
main()
| 14.111111 | 26 | 0.645669 | 16 | 127 | 4.5 | 0.5625 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.228346 | 127 | 8 | 27 | 15.875 | 0.734694 | 0 | 0 | 0 | 0 | 0 | 0.062992 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.166667 | 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 | 0 | 0 | 0 | 0 | 0 | 3 |
53923ff6bddf64f88739d004937b2ceab0a9650f | 1,092 | py | Python | Pages/MailRuPage.py | dnsbutylin/test_Hodkevich | 70eaaa3bcdd6a6fdbace82403084beaf35b0b35d | [
"Apache-2.0"
] | null | null | null | Pages/MailRuPage.py | dnsbutylin/test_Hodkevich | 70eaaa3bcdd6a6fdbace82403084beaf35b0b35d | [
"Apache-2.0"
] | null | null | null | Pages/MailRuPage.py | dnsbutylin/test_Hodkevich | 70eaaa3bcdd6a6fdbace82403084beaf35b0b35d | [
"Apache-2.0"
] | null | null | null | from Core.Loger import *
from Core.Locators import Locator
from selenium.webdriver.common.by import By
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC
class MailRuPage(object):
def __init__(self, driver):
self.driver = driver
d... | 37.655172 | 120 | 0.707875 | 145 | 1,092 | 5.041379 | 0.427586 | 0.076607 | 0.120383 | 0.186047 | 0.381669 | 0.23803 | 0.23803 | 0.23803 | 0.23803 | 0.23803 | 0 | 0.002328 | 0.21337 | 1,092 | 28 | 121 | 39 | 0.848661 | 0.09707 | 0 | 0 | 0 | 0 | 0.032753 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.277778 | 0 | 0.611111 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
539794e48a78e46509e0d3e0c0a5fdcfa93ce21c | 8,801 | py | Python | nova/virt/hyperv/driver.py | bopopescu/stacklab-nova | 4ab1698659b663ef222255610d1a5c042706dd65 | [
"Apache-2.0"
] | null | null | null | nova/virt/hyperv/driver.py | bopopescu/stacklab-nova | 4ab1698659b663ef222255610d1a5c042706dd65 | [
"Apache-2.0"
] | null | null | null | nova/virt/hyperv/driver.py | bopopescu/stacklab-nova | 4ab1698659b663ef222255610d1a5c042706dd65 | [
"Apache-2.0"
] | 1 | 2020-07-24T08:31:57.000Z | 2020-07-24T08:31:57.000Z | # vim: tabstop=4 shiftwidth=4 softtabstop=4
# Copyright (c) 2010 Cloud.com, Inc
# Copyright (c) 2012 Cloudbase Solutions Srl
#
# 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
#
# ... | 38.770925 | 78 | 0.705374 | 1,091 | 8,801 | 5.48396 | 0.311641 | 0.031255 | 0.028581 | 0.023065 | 0.243523 | 0.153435 | 0.114658 | 0.057162 | 0.042454 | 0.042454 | 0 | 0.004076 | 0.219521 | 8,801 | 226 | 79 | 38.942478 | 0.866938 | 0.37473 | 0 | 0.144144 | 0 | 0 | 0.036832 | 0.010681 | 0 | 0 | 0 | 0 | 0 | 1 | 0.351351 | false | 0.072072 | 0.054054 | 0.054054 | 0.504505 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
53acc0e3390a51b3993f77b7475dcb7aca5245d4 | 82 | py | Python | RecoPPS/Local/python/PPSTimingCalibrationModeEnum_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | RecoPPS/Local/python/PPSTimingCalibrationModeEnum_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | RecoPPS/Local/python/PPSTimingCalibrationModeEnum_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | class PPSTimingCalibrationModeEnum:
CondDB = 0
JSON = 1
SQLite = 2
| 13.666667 | 35 | 0.634146 | 8 | 82 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.053571 | 0.317073 | 82 | 5 | 36 | 16.4 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
53d9d420658b5dbb223e00aaadbf4b390abc22e3 | 684 | py | Python | src/greatest_common_divisor/python/greatest_common_divisor.py | zakmandhro/Algorithms | de828b6dba9f3cbaf1cc0775c1ade03de57c8de1 | [
"MIT"
] | 13 | 2018-03-25T16:00:01.000Z | 2022-03-07T23:10:32.000Z | src/greatest_common_divisor/python/greatest_common_divisor.py | zakmandhro/Algorithms | de828b6dba9f3cbaf1cc0775c1ade03de57c8de1 | [
"MIT"
] | 1 | 2022-02-26T20:10:48.000Z | 2022-02-26T20:10:48.000Z | src/greatest_common_divisor/python/greatest_common_divisor.py | zakmandhro/Algorithms | de828b6dba9f3cbaf1cc0775c1ade03de57c8de1 | [
"MIT"
] | 5 | 2021-06-02T05:43:13.000Z | 2022-02-20T11:04:54.000Z | # Recursive implementation to find the gcd (greatest common divisor) of two integers using the euclidean algorithm.
# For more than two numbers, e.g. three, you can box it like this: gcd(a,gcd(b,greatest_common_divisor.c)) etc.
# This runs in O(log(n)) where n is the maximum of a and b.
# :param a: the first integer
# ... | 42.75 | 115 | 0.637427 | 122 | 684 | 3.557377 | 0.459016 | 0.018433 | 0.145161 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003817 | 0.233918 | 684 | 15 | 116 | 45.6 | 0.824427 | 0.840643 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
53e521c3404cb485fd16ec1a992d51c57e550cbd | 1,727 | py | Python | b2ac/geometry/shape.py | hbldh/ellipse-fitting | 77a13ab29ae44b32238e754bff1d2cc6e20883dd | [
"MIT"
] | 16 | 2016-02-16T18:55:18.000Z | 2021-12-15T20:07:45.000Z | b2ac/geometry/shape.py | hbldh/ellipse-fitting | 77a13ab29ae44b32238e754bff1d2cc6e20883dd | [
"MIT"
] | 6 | 2015-10-18T22:28:20.000Z | 2016-05-17T22:07:38.000Z | b2ac/geometry/shape.py | hbldh/ellipse-fitting | 77a13ab29ae44b32238e754bff1d2cc6e20883dd | [
"MIT"
] | 7 | 2016-05-15T16:21:19.000Z | 2021-09-09T11:12:39.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
:mod:`shape`
==================
.. module:: shape
:platform: Unix, Windows
:synopsis:
.. moduleauthor:: hbldh <henrik.blidh@nedomkull.com>
Created on 2015-09-24, 23:51
"""
from __future__ import division
from __future__ import print_function
from __future_... | 25.776119 | 72 | 0.665895 | 192 | 1,727 | 5.729167 | 0.473958 | 0.152727 | 0.122727 | 0.054545 | 0.255455 | 0.255455 | 0.255455 | 0.255455 | 0.255455 | 0.255455 | 0 | 0.015695 | 0.225246 | 1,727 | 66 | 73 | 26.166667 | 0.806428 | 0.453387 | 0 | 0.28 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015152 | 0 | 1 | 0.36 | false | 0.04 | 0.2 | 0 | 0.6 | 0.04 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
53f3c18d45f0e1539bb775d8fe20b8cc923f4942 | 5,341 | py | Python | g3py/processes/hypers/metrics.py | griosd/g3py | 10402f045d10f1df6d3adf5320e9fb9103b5a6b5 | [
"MIT"
] | 6 | 2016-12-20T19:04:56.000Z | 2020-07-07T23:09:04.000Z | g3py/processes/hypers/metrics.py | griosd/g3py | 10402f045d10f1df6d3adf5320e9fb9103b5a6b5 | [
"MIT"
] | 49 | 2016-12-20T05:44:12.000Z | 2017-09-16T04:13:38.000Z | g3py/processes/hypers/metrics.py | griosd/g3py | 10402f045d10f1df6d3adf5320e9fb9103b5a6b5 | [
"MIT"
] | 5 | 2017-02-15T17:06:12.000Z | 2020-05-23T03:06:40.000Z | import numpy as np
import theano.tensor as tt
from . import Hypers, ones
from ...libs.tensors import tt_to_num
class Metric(Hypers):
def __call__(self, x1, x2):
return tt.abs_(x1 - x2)
def gram(self, x1, x2):
#try:
return (self(x1[:, self.dims].dimshuffle([0, 'x', 1]), x2[:, self.dims... | 30.872832 | 124 | 0.583786 | 832 | 5,341 | 3.581731 | 0.098558 | 0.040268 | 0.051007 | 0.065436 | 0.705369 | 0.67047 | 0.62047 | 0.581544 | 0.504027 | 0.438255 | 0 | 0.040342 | 0.234226 | 5,341 | 172 | 125 | 31.052326 | 0.688264 | 0.038195 | 0 | 0.358974 | 0 | 0 | 0.006625 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.299145 | false | 0 | 0.034188 | 0.230769 | 0.74359 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
53faa239e23254b45c5eba343fefd52ab2447c72 | 782 | py | Python | TASK-8-Automate/scraper_runner.py | codyharris91/circle_training | 135d23693359ce933cc075bbf7f8879ce9cdefd8 | [
"MIT"
] | null | null | null | TASK-8-Automate/scraper_runner.py | codyharris91/circle_training | 135d23693359ce933cc075bbf7f8879ce9cdefd8 | [
"MIT"
] | null | null | null | TASK-8-Automate/scraper_runner.py | codyharris91/circle_training | 135d23693359ce933cc075bbf7f8879ce9cdefd8 | [
"MIT"
] | null | null | null | # ___| _) | | _) | _)
# | | __| __| | _ \ | _ \ _` | | __| __| | __| __|
# | | | ( | __/ | ( | ( | | \__ \ | | ( \__ \
# \____| _| _| \___| _| \___| _____| \___/ \__, | _| ___... | 28.962963 | 85 | 0.326087 | 35 | 782 | 5.057143 | 0.714286 | 0.146893 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.538363 | 782 | 27 | 86 | 28.962963 | 0.490305 | 0.612532 | 0 | 0 | 0 | 0 | 0.027778 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083333 | false | 0.083333 | 0.166667 | 0 | 0.25 | 0.166667 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
54dd4296a9e33fd3b06659b5131556a30e02f0d6 | 2,768 | py | Python | pygaggle/qa/span_selection.py | Elfsong/pygaggle | 2bb2f0eb9cc34ac626ffb7648b73b4695468eba7 | [
"Apache-2.0"
] | 166 | 2020-04-24T10:15:34.000Z | 2022-03-29T23:00:58.000Z | pygaggle/qa/span_selection.py | Elfsong/pygaggle | 2bb2f0eb9cc34ac626ffb7648b73b4695468eba7 | [
"Apache-2.0"
] | 151 | 2020-04-25T16:40:15.000Z | 2022-03-12T01:00:02.000Z | pygaggle/qa/span_selection.py | Elfsong/pygaggle | 2bb2f0eb9cc34ac626ffb7648b73b4695468eba7 | [
"Apache-2.0"
] | 100 | 2020-04-24T20:53:13.000Z | 2022-03-22T21:29:02.000Z | import numpy as np
from collections import defaultdict
from .base import Answer
from .utils import normalize_answer
class SpanSelection:
def reset(self):
pass
def score(self, span, text):
pass
def add_answers(self, spans_by_text, texts):
pass
def top_answers(self, num_spans... | 29.446809 | 111 | 0.625723 | 361 | 2,768 | 4.623269 | 0.191136 | 0.053925 | 0.039545 | 0.047933 | 0.54284 | 0.491911 | 0.365488 | 0.327142 | 0.30737 | 0.264829 | 0 | 0.002437 | 0.258671 | 2,768 | 93 | 112 | 29.763441 | 0.810916 | 0 | 0 | 0.46875 | 0 | 0 | 0.03685 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.328125 | false | 0.078125 | 0.0625 | 0.140625 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 3 |
54eee36a9b16f429ed949e442ffbc1f6ba859a20 | 257 | py | Python | environments/mujoco/rand_param_envs/mujoco_py/__init__.py | lfeng1999/varibad | 840f4bd56ccee96a6c162265d18ec54db8b77a1e | [
"MIT"
] | 119 | 2020-02-12T07:06:17.000Z | 2022-03-24T08:37:34.000Z | environments/mujoco/rand_param_envs/mujoco_py/__init__.py | lfeng1999/varibad | 840f4bd56ccee96a6c162265d18ec54db8b77a1e | [
"MIT"
] | 2 | 2021-01-13T14:58:50.000Z | 2021-01-13T14:59:40.000Z | environments/mujoco/rand_param_envs/mujoco_py/__init__.py | lfeng1999/varibad | 840f4bd56ccee96a6c162265d18ec54db8b77a1e | [
"MIT"
] | 26 | 2020-04-20T13:10:11.000Z | 2022-03-22T10:21:10.000Z | from .config import init_config, get_key_path
init_config()
from .mjviewer import MjViewer
from .mjcore import MjModel
from .mjcore import register_license
from .mjconstants import *
from .platname_targdir import targdir
register_license(get_key_path())
| 21.416667 | 45 | 0.828794 | 36 | 257 | 5.666667 | 0.416667 | 0.098039 | 0.098039 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116732 | 257 | 11 | 46 | 23.363636 | 0.898678 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
54eeef72c07084d83b52877cb176838ed46f4d20 | 187 | py | Python | password.py | Liu233w/my-ahk-scripts | 5cef101fc30b61961838bae1a152d45959001b0c | [
"WTFPL"
] | null | null | null | password.py | Liu233w/my-ahk-scripts | 5cef101fc30b61961838bae1a152d45959001b0c | [
"WTFPL"
] | null | null | null | password.py | Liu233w/my-ahk-scripts | 5cef101fc30b61961838bae1a152d45959001b0c | [
"WTFPL"
] | null | null | null | #!/usr/bin/env python3
import hashlib, os, getpass
data = getpass.getpass(">>> ")
out = hashlib.new('md5', data.encode('utf-8'))
print(out.hexdigest())
input("Press enter to exit...")
| 18.7 | 46 | 0.663102 | 27 | 187 | 4.592593 | 0.814815 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018182 | 0.117647 | 187 | 9 | 47 | 20.777778 | 0.733333 | 0.112299 | 0 | 0 | 0 | 0 | 0.206061 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.4 | 0.2 | 0 | 0.2 | 0.2 | 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 | 0 | 0 | 0 | 0 | 0 | 3 |
54fa247c85a450f33a11588e982b7816db11ca19 | 605 | py | Python | autodepgraph/node_functions/calibration_functions.py | AdriaanRol/Graph | 85094e0c6e6d613d8ec6eca45cbf137c7e87cf60 | [
"MIT"
] | 2 | 2019-10-14T17:55:03.000Z | 2021-08-30T15:16:09.000Z | autodepgraph/node_functions/calibration_functions.py | AdriaanRol/Graph | 85094e0c6e6d613d8ec6eca45cbf137c7e87cf60 | [
"MIT"
] | 51 | 2017-04-26T14:35:59.000Z | 2021-03-30T02:49:35.000Z | autodepgraph/node_functions/calibration_functions.py | AdriaanRol/Graph | 85094e0c6e6d613d8ec6eca45cbf137c7e87cf60 | [
"MIT"
] | 9 | 2017-09-18T18:41:20.000Z | 2022-02-26T03:31:28.000Z | # Module that contains the calibration functions of the nodes.
import time
def test_calibration_True():
'''
Dummy calibration function for test cases. Always returns True.
'''
return True
def test_calibration_True_delayed(delay=.5):
'''
Dummy calibration function for test cases. Always retur... | 20.862069 | 68 | 0.710744 | 69 | 605 | 6.130435 | 0.434783 | 0.049645 | 0.12766 | 0.191489 | 0.498818 | 0.36643 | 0.36643 | 0.36643 | 0.250591 | 0 | 0 | 0.002096 | 0.21157 | 605 | 28 | 69 | 21.607143 | 0.884696 | 0.419835 | 0 | 0.2 | 0 | 0 | 0.088525 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.1 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
0710adc41a2db7dde3563ba233a263b85f6249c4 | 143 | py | Python | pkgversion/__init__.py | BaillyM/py-pkgversion | 48ad28ec26f5783faddde4ffbd8881cd75e3a853 | [
"Apache-2.0"
] | 1 | 2018-04-17T22:15:19.000Z | 2018-04-17T22:15:19.000Z | pkgversion/__init__.py | BaillyM/py-pkgversion | 48ad28ec26f5783faddde4ffbd8881cd75e3a853 | [
"Apache-2.0"
] | 12 | 2015-12-07T17:36:34.000Z | 2020-11-25T23:08:42.000Z | pkgversion/__init__.py | BaillyM/py-pkgversion | 48ad28ec26f5783faddde4ffbd8881cd75e3a853 | [
"Apache-2.0"
] | 12 | 2015-12-07T15:01:40.000Z | 2020-04-03T12:55:06.000Z | # -*- coding: utf-8 -*-
from .pkgversion import (
get_git_repo_dir, get_version, list_requirements, pep440_version,
write_setup_py,
)
| 20.428571 | 69 | 0.713287 | 19 | 143 | 4.947368 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033613 | 0.167832 | 143 | 6 | 70 | 23.833333 | 0.756303 | 0.146853 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
071609214b5f0831eccff7d1f2dd9bbabdffd07b | 2,810 | py | Python | pyro/distributions/reparameterize.py | alexander-held/pyro | 3df2993d6b84f87378b4b0e43cbb49b278f36045 | [
"MIT"
] | null | null | null | pyro/distributions/reparameterize.py | alexander-held/pyro | 3df2993d6b84f87378b4b0e43cbb49b278f36045 | [
"MIT"
] | null | null | null | pyro/distributions/reparameterize.py | alexander-held/pyro | 3df2993d6b84f87378b4b0e43cbb49b278f36045 | [
"MIT"
] | null | null | null | from abc import ABC, abstractmethod
from collections import OrderedDict
import torch
class Reparameterizer(ABC):
"""
Base class for reparameterization transforms, generalizing [1] to handle
multiple distributions and auxiliary variables.
The interface specifies two methods to be used by inference al... | 34.268293 | 87 | 0.66548 | 318 | 2,810 | 5.836478 | 0.421384 | 0.019397 | 0.01778 | 0.024246 | 0.178341 | 0.150862 | 0.100216 | 0.100216 | 0.059267 | 0 | 0 | 0.007016 | 0.239146 | 2,810 | 81 | 88 | 34.691358 | 0.861085 | 0.598932 | 0 | 0.434783 | 0 | 0 | 0.03367 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.26087 | false | 0 | 0.130435 | 0.130435 | 0.695652 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
07221ba6ed7ef31d0713cb42a0ff17ba1af1eb3f | 1,778 | py | Python | moltin/token.py | YuraHavrylko/python-sdk | 899886e54bfcb6c0fb918a9a65a3f1ccefe7d96b | [
"MIT"
] | 8 | 2015-06-12T21:40:40.000Z | 2019-01-25T02:57:30.000Z | moltin/token.py | YuraHavrylko/python-sdk | 899886e54bfcb6c0fb918a9a65a3f1ccefe7d96b | [
"MIT"
] | 9 | 2016-02-12T17:19:38.000Z | 2018-10-09T01:51:31.000Z | moltin/token.py | YuraHavrylko/python-sdk | 899886e54bfcb6c0fb918a9a65a3f1ccefe7d96b | [
"MIT"
] | 14 | 2016-02-11T22:14:13.000Z | 2020-09-07T18:19:31.000Z | import time
class TokenContainer:
tokens = {}
def __init__(self, access_token=None, refresh_token=None):
self.tokens["access"] = access_token
self.tokens["refresh"] = refresh_token
def set(self, access_or_refresh, token):
self.tokens[access_or_refresh] = token
def get(self,... | 25.4 | 62 | 0.639483 | 204 | 1,778 | 5.22549 | 0.176471 | 0.075985 | 0.11257 | 0.071295 | 0.290807 | 0.11257 | 0.065666 | 0.065666 | 0 | 0 | 0 | 0.003791 | 0.258155 | 1,778 | 70 | 63 | 25.4 | 0.804397 | 0 | 0 | 0.145833 | 0 | 0 | 0.062395 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.020833 | 0.104167 | 0.5625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
07398c53da7bde017d9af45fce82c2c673dfc0f5 | 20 | py | Python | wsgi/iportalen_django/user_managements/management/commands/__init__.py | I-sektionen/i-portalen | 1713e5814d40c0da1bf3278d60a561e7d3df3550 | [
"MIT"
] | 4 | 2016-09-21T17:06:01.000Z | 2018-02-06T16:36:44.000Z | wsgi/iportalen_django/user_managements/management/__init__.py | I-sektionen/i-portalen | 1713e5814d40c0da1bf3278d60a561e7d3df3550 | [
"MIT"
] | 149 | 2016-03-07T23:50:47.000Z | 2022-03-11T23:16:33.000Z | wsgi/iportalen_django/user_managements/management/commands/__init__.py | I-sektionen/i-portalen | 1713e5814d40c0da1bf3278d60a561e7d3df3550 | [
"MIT"
] | 1 | 2016-03-07T23:02:06.000Z | 2016-03-07T23:02:06.000Z | __author__ = 'jers'
| 10 | 19 | 0.7 | 2 | 20 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 20 | 1 | 20 | 20 | 0.588235 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
074227a5f0da9508c4befdca30da83b6e07c6ad6 | 11,128 | py | Python | pysnmp/RBN-CONFIG-FILE-MIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 11 | 2021-02-02T16:27:16.000Z | 2021-08-31T06:22:49.000Z | pysnmp/RBN-CONFIG-FILE-MIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 75 | 2021-02-24T17:30:31.000Z | 2021-12-08T00:01:18.000Z | pysnmp/RBN-CONFIG-FILE-MIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 10 | 2019-04-30T05:51:36.000Z | 2022-02-16T03:33:41.000Z | #
# PySNMP MIB module RBN-CONFIG-FILE-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/RBN-CONFIG-FILE-MIB
# Produced by pysmi-0.3.4 at Mon Apr 29 20:44:14 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.3 (default... | 125.033708 | 1,297 | 0.744698 | 1,307 | 11,128 | 6.338944 | 0.149197 | 0.014001 | 0.012674 | 0.016898 | 0.405432 | 0.291249 | 0.237538 | 0.229572 | 0.198672 | 0.186482 | 0 | 0.077324 | 0.08537 | 11,128 | 88 | 1,298 | 126.454545 | 0.736687 | 0.029835 | 0 | 0.0375 | 0 | 0 | 0.194679 | 0.006304 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.075 | 0.125 | 0 | 0.125 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
0742489e6542f8e1c13d0ca9d80231cc96df501c | 1,000 | py | Python | tests/c/test_sstfilewriter.py | zeroae/zeroae-rocksdb | 3f1c81a42f27091161727c94a0d5620c25fd984f | [
"Apache-2.0"
] | null | null | null | tests/c/test_sstfilewriter.py | zeroae/zeroae-rocksdb | 3f1c81a42f27091161727c94a0d5620c25fd984f | [
"Apache-2.0"
] | 53 | 2020-04-29T04:46:48.000Z | 2020-05-08T03:43:28.000Z | tests/c/test_sstfilewriter.py | zeroae/zeroae-rocksdb | 3f1c81a42f27091161727c94a0d5620c25fd984f | [
"Apache-2.0"
] | null | null | null | import pytest
from zeroae.rocksdb.c import sstfilewriter as sstfw
def test_fixture(rocksdb_sstfilewriter):
assert rocksdb_sstfilewriter is not None
@pytest.fixture
def sstfw_f(rocksdb_sstfilewriter, rocksdb_sstfilewriter_file):
sstfw.open(rocksdb_sstfilewriter, rocksdb_sstfilewriter_file)
yield rocksdb... | 25 | 74 | 0.77 | 131 | 1,000 | 5.603053 | 0.274809 | 0.435967 | 0.147139 | 0.217984 | 0.464578 | 0.404632 | 0.231608 | 0.087193 | 0.087193 | 0 | 0 | 0.010381 | 0.133 | 1,000 | 39 | 75 | 25.641026 | 0.836217 | 0 | 0 | 0.25 | 0 | 0 | 0.031 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.25 | false | 0 | 0.083333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
07527fe8093e92423a5e2ca1547a20e62df383d7 | 2,252 | py | Python | venv/Lib/site-packages/PyOpenGL-3.0.1/OpenGL/raw/GL/SGIS/texture_select.py | temelkirci/Motion_Editor | a8b8d4c4d2dcc9be28385600f56066cef92a38ad | [
"MIT"
] | 1 | 2022-03-02T17:07:20.000Z | 2022-03-02T17:07:20.000Z | venv/Lib/site-packages/PyOpenGL-3.0.1/OpenGL/raw/GL/SGIS/texture_select.py | temelkirci/RealTime_6DOF_Motion_Editor | a8b8d4c4d2dcc9be28385600f56066cef92a38ad | [
"MIT"
] | null | null | null | venv/Lib/site-packages/PyOpenGL-3.0.1/OpenGL/raw/GL/SGIS/texture_select.py | temelkirci/RealTime_6DOF_Motion_Editor | a8b8d4c4d2dcc9be28385600f56066cef92a38ad | [
"MIT"
] | null | null | null | '''OpenGL extension SGIS.texture_select
Automatically generated by the get_gl_extensions script, do not edit!
'''
from OpenGL import platform, constants, constant, arrays
from OpenGL import extensions
from OpenGL.GL import glget
import ctypes
EXTENSION_NAME = 'GL_SGIS_texture_select'
_DEPRECATED = False
GL_DUAL_ALPHA4... | 59.263158 | 92 | 0.833037 | 307 | 2,252 | 5.625407 | 0.241042 | 0.104227 | 0.254777 | 0.280255 | 0.479444 | 0.125072 | 0 | 0 | 0 | 0 | 0 | 0.075765 | 0.085702 | 2,252 | 37 | 93 | 60.864865 | 0.762992 | 0.075044 | 0 | 0 | 1 | 0 | 0.255915 | 0.199903 | 0 | 0 | 0.063737 | 0 | 0 | 1 | 0.033333 | false | 0 | 0.133333 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
075ad2943bec7353231ff243ab915507fd92e6a5 | 482 | py | Python | Fracktory3-3.0_b11/plugins/USBPrinting/__init__.py | ganeshmev/Fracktory3-3.0_b11_KLE | 16066e6993b96a880aa1a2f044a27930cbd0787d | [
"MIT"
] | null | null | null | Fracktory3-3.0_b11/plugins/USBPrinting/__init__.py | ganeshmev/Fracktory3-3.0_b11_KLE | 16066e6993b96a880aa1a2f044a27930cbd0787d | [
"MIT"
] | null | null | null | Fracktory3-3.0_b11/plugins/USBPrinting/__init__.py | ganeshmev/Fracktory3-3.0_b11_KLE | 16066e6993b96a880aa1a2f044a27930cbd0787d | [
"MIT"
] | null | null | null | # Copyright (c) 2017 Ultimaker B.V.
# Cura is released under the terms of the LGPLv3 or higher.
from . import USBPrinterOutputDeviceManager
def getMetaData():
return {}
def register(app):
# We are violating the QT API here (as we use a factory, which is technically not allowed).
# but we don't really h... | 32.133333 | 95 | 0.744813 | 67 | 482 | 5.343284 | 0.850746 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01269 | 0.182573 | 482 | 14 | 96 | 34.428571 | 0.895939 | 0.558091 | 0 | 0 | 0 | 0 | 0.0625 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0.4 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
075eacb0571c9bb7279ec7c0bad2ac0c61708be5 | 186 | py | Python | graph_explorer/test/test_structured_metrics.py | farheenkaifee/dashboard_3 | bc557a6190a99182ec7a1c96dfdd33208a8575cd | [
"Apache-2.0"
] | 284 | 2015-01-03T05:35:18.000Z | 2022-01-19T08:30:31.000Z | graph_explorer/test/test_structured_metrics.py | farheenkaifee/dashboard_3 | bc557a6190a99182ec7a1c96dfdd33208a8575cd | [
"Apache-2.0"
] | 9 | 2015-01-20T16:41:01.000Z | 2017-02-03T08:02:39.000Z | graph_explorer/test/test_structured_metrics.py | isabella232/graph-explorer | bc557a6190a99182ec7a1c96dfdd33208a8575cd | [
"Apache-2.0"
] | 35 | 2015-02-05T13:03:51.000Z | 2022-01-19T08:31:15.000Z | from graph_explorer import structured_metrics
def test_load():
s_metrics = structured_metrics.StructuredMetrics()
errors = s_metrics.load_plugins()
assert len(errors) == 0
| 23.25 | 54 | 0.758065 | 23 | 186 | 5.826087 | 0.695652 | 0.253731 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00641 | 0.16129 | 186 | 7 | 55 | 26.571429 | 0.852564 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0762f65f572a6ffc62098b1116f86604f374bd11 | 271 | py | Python | neat-python-read-only/examples/pole_balancing/double_pole/setup.py | anuragpapineni/Hearthbreaker-evolved-agent | d519d42babd93e3567000c33a381e93db065301c | [
"MIT"
] | 2 | 2018-03-03T16:30:09.000Z | 2022-01-02T17:02:22.000Z | neat-python-read-only/examples/pole_balancing/double_pole/setup.py | anuragpapineni/Hearthbreaker-evolved-agent | d519d42babd93e3567000c33a381e93db065301c | [
"MIT"
] | null | null | null | neat-python-read-only/examples/pole_balancing/double_pole/setup.py | anuragpapineni/Hearthbreaker-evolved-agent | d519d42babd93e3567000c33a381e93db065301c | [
"MIT"
] | 1 | 2021-09-21T21:53:17.000Z | 2021-09-21T21:53:17.000Z | # Compile the C++ Python extension for the
# cart-pole experiment:
# python setup.py build_ext -i
from distutils.core import setup, Extension
setup(
name='Cart-pole experiment',
ext_modules=[
Extension('dpole', ['dpole.cpp'])]
)
| 27.1 | 64 | 0.627306 | 33 | 271 | 5.090909 | 0.666667 | 0.095238 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.258303 | 271 | 9 | 65 | 30.111111 | 0.835821 | 0.335793 | 0 | 0 | 0 | 0 | 0.193182 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.166667 | 0 | 0.166667 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
4adff37cc97e72d546e5be0c794ff8c5649cedc8 | 221 | py | Python | anet/tasks/mnist/envs/mnist_env_binary.py | thomasaunger/Anet | 1d353f280a30c3207fa6d09af91a85c4955bbda4 | [
"BSD-3-Clause"
] | null | null | null | anet/tasks/mnist/envs/mnist_env_binary.py | thomasaunger/Anet | 1d353f280a30c3207fa6d09af91a85c4955bbda4 | [
"BSD-3-Clause"
] | null | null | null | anet/tasks/mnist/envs/mnist_env_binary.py | thomasaunger/Anet | 1d353f280a30c3207fa6d09af91a85c4955bbda4 | [
"BSD-3-Clause"
] | null | null | null | from anet.tasks.mnist.envs.mnist_env import MNISTEnv
class MNISTEnvBinary(MNISTEnv):
def __init__(self, procs=0, proc_id=-1, train=True):
MNISTEnv.__init__(self, 2, procs=procs, proc_id=proc_id, train=train)
| 36.833333 | 77 | 0.746606 | 34 | 221 | 4.5 | 0.617647 | 0.117647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015625 | 0.131222 | 221 | 5 | 78 | 44.2 | 0.78125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 3 |
4af3d89eeaed30b0fbf4ee567700e65b8b9a0ce3 | 356 | py | Python | src/RGT/__init__.py | danrg/RGT-tool | 115ba9a93686595699b3e182958921b3d60382b3 | [
"MIT"
] | 7 | 2015-02-09T12:12:04.000Z | 2019-03-31T08:23:36.000Z | src/RGT/__init__.py | danrg/RGT-tool | 115ba9a93686595699b3e182958921b3d60382b3 | [
"MIT"
] | 3 | 2015-07-05T20:49:14.000Z | 2017-07-03T19:45:18.000Z | src/RGT/__init__.py | danrg/RGT-tool | 115ba9a93686595699b3e182958921b3d60382b3 | [
"MIT"
] | 1 | 2021-03-23T14:01:22.000Z | 2021-03-23T14:01:22.000Z | from django.contrib.auth.decorators import login_required
from django.utils.decorators import method_decorator
from django.views.generic.base import View
class AuthorizedView(View):
@method_decorator(login_required(login_url='/auth/login'))
def dispatch(self, *args, **kwargs):
return super(AuthorizedV... | 39.555556 | 68 | 0.77809 | 45 | 356 | 6.044444 | 0.555556 | 0.110294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11236 | 356 | 9 | 68 | 39.555556 | 0.860759 | 0 | 0 | 0 | 0 | 0 | 0.030812 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.428571 | 0.142857 | 0.857143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 3 |
ab104dad65fc5500f70850aa628763355be57254 | 237 | py | Python | lbdrabbit/example/handlers/sched/__init__.py | MacHu-GWU/lbdrabbit-project | e808f116bc85d95f3d545e085bede56df41b6d92 | [
"MIT"
] | null | null | null | lbdrabbit/example/handlers/sched/__init__.py | MacHu-GWU/lbdrabbit-project | e808f116bc85d95f3d545e085bede56df41b6d92 | [
"MIT"
] | null | null | null | lbdrabbit/example/handlers/sched/__init__.py | MacHu-GWU/lbdrabbit-project | e808f116bc85d95f3d545e085bede56df41b6d92 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from lbdrabbit import LbdFuncConfig
__lbd_func_config__ = LbdFuncConfig()
__lbd_func_config__.apigw_resource_yes = False
__lbd_func_config__.apigw_method_yes = False
__lbd_func_config__.scheduled_job_yes = True
| 26.333333 | 46 | 0.827004 | 32 | 237 | 5.1875 | 0.5625 | 0.168675 | 0.313253 | 0.313253 | 0.253012 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004673 | 0.097046 | 237 | 8 | 47 | 29.625 | 0.771028 | 0.088608 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ab305fc648a7847b3163a2000cc56ba04a1aa38d | 97 | py | Python | sunday/computerapp/apps.py | H0oxy/zxc-djangoprjct | e5c56e16a876af1ece2a6727df89bb924ae8813b | [
"MIT"
] | 2 | 2020-10-18T21:02:54.000Z | 2020-10-18T21:03:46.000Z | sunday/computerapp/apps.py | H0oxy/zxc-djangoprjct | e5c56e16a876af1ece2a6727df89bb924ae8813b | [
"MIT"
] | null | null | null | sunday/computerapp/apps.py | H0oxy/zxc-djangoprjct | e5c56e16a876af1ece2a6727df89bb924ae8813b | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class ComputerappConfig(AppConfig):
name = 'computerapp'
| 16.166667 | 35 | 0.773196 | 10 | 97 | 7.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154639 | 97 | 5 | 36 | 19.4 | 0.914634 | 0 | 0 | 0 | 0 | 0 | 0.113402 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
ab36288f2b3a0f1615fa0b346633664afe2b0fa5 | 142 | py | Python | Assets/PythonFiles/PatrollingProblem/PatrollingProblem/__init__.py | Fr00zen/-AI50- | 8f269c298151758f21ebee4c7078e6a9fa33d197 | [
"MIT"
] | null | null | null | Assets/PythonFiles/PatrollingProblem/PatrollingProblem/__init__.py | Fr00zen/-AI50- | 8f269c298151758f21ebee4c7078e6a9fa33d197 | [
"MIT"
] | null | null | null | Assets/PythonFiles/PatrollingProblem/PatrollingProblem/__init__.py | Fr00zen/-AI50- | 8f269c298151758f21ebee4c7078e6a9fa33d197 | [
"MIT"
] | 1 | 2021-12-05T10:03:57.000Z | 2021-12-05T10:03:57.000Z | from gym.envs.registration import register
register(
id='patrolling-v0',
entry_point='PatrollingProblem.envs:PatrollingProblemEnv',
) | 23.666667 | 62 | 0.78169 | 15 | 142 | 7.333333 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007937 | 0.112676 | 142 | 6 | 63 | 23.666667 | 0.865079 | 0 | 0 | 0 | 0 | 0 | 0.391608 | 0.300699 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ab3f9fe08448d74239da0c9dda9e587651b9e79e | 86 | py | Python | CONTENT/DS-n-Algos/_Extra-Practice/30-days-of-code-master/day10_binary.py | Bryan-Guner-Backup/DS-ALGO-OFFICIAL | 2ef3b4518389274da25f526c928d880b4e4ec26f | [
"Apache-2.0"
] | 4 | 2021-08-31T00:56:40.000Z | 2021-11-29T03:08:55.000Z | CONTENT/DS-n-Algos/_Extra-Practice/30-days-of-code-master/day10_binary.py | Bryan-Guner-Backup/DS-ALGO-OFFICIAL | 2ef3b4518389274da25f526c928d880b4e4ec26f | [
"Apache-2.0"
] | 3 | 2022-02-14T18:48:11.000Z | 2022-03-30T05:26:26.000Z | CONTENT/DS-n-Algos/_Extra-Practice/30-days-of-code-master/day10_binary.py | Bryan-Guner-Backup/DS-ALGO-OFFICIAL | 2ef3b4518389274da25f526c928d880b4e4ec26f | [
"Apache-2.0"
] | 1 | 2021-08-31T00:54:51.000Z | 2021-08-31T00:54:51.000Z |
binarystr = max([len(x) for x in bin(int(input()))[2:].split('0')])
print(binarystr) | 21.5 | 67 | 0.627907 | 15 | 86 | 3.6 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025974 | 0.104651 | 86 | 4 | 68 | 21.5 | 0.675325 | 0 | 0 | 0 | 0 | 0 | 0.011628 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
ab5d59428214d163d3da0ac701f20788e41fb1da | 4,805 | py | Python | model-optimizer/extensions/back/MatMulNormalizer_test.py | JOCh1958/openvino | 070201feeec5550b7cf8ec5a0ffd72dc879750be | [
"Apache-2.0"
] | 1 | 2021-04-06T03:32:12.000Z | 2021-04-06T03:32:12.000Z | model-optimizer/extensions/back/MatMulNormalizer_test.py | JOCh1958/openvino | 070201feeec5550b7cf8ec5a0ffd72dc879750be | [
"Apache-2.0"
] | 28 | 2021-09-24T09:29:02.000Z | 2022-03-28T13:20:46.000Z | model-optimizer/extensions/back/MatMulNormalizer_test.py | JOCh1958/openvino | 070201feeec5550b7cf8ec5a0ffd72dc879750be | [
"Apache-2.0"
] | 1 | 2020-08-30T11:48:03.000Z | 2020-08-30T11:48:03.000Z | # Copyright (C) 2018-2021 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
import unittest
from argparse import Namespace
from generator import generate, generator
from extensions.back.MatMulNormalizer import SmartReshape_HC_Reshape_MatMul
from extensions.ops.MatMul import MatMul
from mo.front.common.partial_... | 49.030612 | 118 | 0.598751 | 601 | 4,805 | 4.507488 | 0.169717 | 0.024363 | 0.028793 | 0.033223 | 0.753784 | 0.710225 | 0.688077 | 0.675895 | 0.675895 | 0.675895 | 0 | 0.049431 | 0.250572 | 4,805 | 97 | 119 | 49.536082 | 0.70286 | 0.016025 | 0 | 0.541176 | 1 | 0 | 0.077884 | 0 | 0 | 0 | 0 | 0 | 0.023529 | 1 | 0.023529 | false | 0 | 0.117647 | 0 | 0.152941 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
db5ad9be7b286f6219f8732ed0f66f2910ec9a18 | 3,141 | py | Python | managers/search_indexes.py | naderm/farnsworth | f7a635a82eae20ca395a939966bfa1e296d4e3a2 | [
"BSD-2-Clause"
] | null | null | null | managers/search_indexes.py | naderm/farnsworth | f7a635a82eae20ca395a939966bfa1e296d4e3a2 | [
"BSD-2-Clause"
] | null | null | null | managers/search_indexes.py | naderm/farnsworth | f7a635a82eae20ca395a939966bfa1e296d4e3a2 | [
"BSD-2-Clause"
] | null | null | null | '''
Project: Farnsworth
Author: Karandeep Singh Nagra
Search indexes for the managers app.
'''
from datetime import datetime
from haystack import indexes
from managers.models import Manager, Request, Response, Announcement
class ManagerIndex(indexes.SearchIndex, indexes.Indexable):
''' Index for Managers. '''
... | 40.792208 | 83 | 0.742757 | 370 | 3,141 | 6.143243 | 0.191892 | 0.098988 | 0.148702 | 0.171579 | 0.66916 | 0.650682 | 0.544215 | 0.544215 | 0.446546 | 0.403872 | 0 | 0.000371 | 0.142948 | 3,141 | 76 | 84 | 41.328947 | 0.843982 | 0.05667 | 0 | 0.461538 | 0 | 0 | 0.060048 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.153846 | false | 0 | 0.057692 | 0.153846 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
db76f5b312bc372f9b9fb3ea85e392b97b6d476c | 343 | py | Python | seqansphinx/__init__.py | rrahn/seqansphinx | 956e6e9e80c3a91b6ab0cc51b5bd20aed55ad5d4 | [
"MIT"
] | null | null | null | seqansphinx/__init__.py | rrahn/seqansphinx | 956e6e9e80c3a91b6ab0cc51b5bd20aed55ad5d4 | [
"MIT"
] | null | null | null | seqansphinx/__init__.py | rrahn/seqansphinx | 956e6e9e80c3a91b6ab0cc51b5bd20aed55ad5d4 | [
"MIT"
] | 1 | 2019-12-11T18:08:05.000Z | 2019-12-11T18:08:05.000Z | # -*- coding: utf-8 -*-
"""
seqansphinx
~~~~~~~~~~~~~
This package is a namespace package that contains all extensions
distributed in the ``seqansphinx`` distribution.
:copyright: Copyright 2014 by Manuel Holtgrewe
:license: MIT, see LICENSE for details.
"""
__import__('pkg_resources').declar... | 22.866667 | 68 | 0.676385 | 37 | 343 | 6 | 0.864865 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017986 | 0.189504 | 343 | 14 | 69 | 24.5 | 0.780576 | 0.731778 | 0 | 0 | 0 | 0 | 0.220339 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
dba137f46a58589a353158bb4066520aeb33a640 | 1,005 | py | Python | OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/GL/ARB/shader_texture_image_samples.py | JE-Chen/je_old_repo | a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5 | [
"MIT"
] | null | null | null | OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/GL/ARB/shader_texture_image_samples.py | JE-Chen/je_old_repo | a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5 | [
"MIT"
] | null | null | null | OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/GL/ARB/shader_texture_image_samples.py | JE-Chen/je_old_repo | a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5 | [
"MIT"
] | null | null | null | '''OpenGL extension ARB.shader_texture_image_samples
This module customises the behaviour of the
OpenGL.raw.GL.ARB.shader_texture_image_samples to provide a more
Python-friendly API
Overview (from the spec)
This extension provides GLSL built-in functions allowing shaders to query
the number of samples ... | 35.892857 | 75 | 0.797015 | 136 | 1,005 | 5.735294 | 0.477941 | 0.076923 | 0.102564 | 0.134615 | 0.247436 | 0.175641 | 0.175641 | 0.175641 | 0.125641 | 0.125641 | 0 | 0 | 0.146269 | 1,005 | 28 | 76 | 35.892857 | 0.909091 | 0.564179 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | true | 0 | 0.777778 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
dbaada91308a94610fada6a53e8c18e16c372976 | 131 | py | Python | drf_rehive_extras/apps.py | rehive/drf-rehive-extras | f6ddc4ffe303b1b0b6dcc3649597feaaa7317c8f | [
"MIT"
] | null | null | null | drf_rehive_extras/apps.py | rehive/drf-rehive-extras | f6ddc4ffe303b1b0b6dcc3649597feaaa7317c8f | [
"MIT"
] | null | null | null | drf_rehive_extras/apps.py | rehive/drf-rehive-extras | f6ddc4ffe303b1b0b6dcc3649597feaaa7317c8f | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class DRFExtraConfig(AppConfig):
name = 'drf_rehive_extras'
verbose_name = "DRF Extra"
| 18.714286 | 33 | 0.748092 | 16 | 131 | 5.9375 | 0.8125 | 0.147368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175573 | 131 | 6 | 34 | 21.833333 | 0.87963 | 0 | 0 | 0 | 0 | 0 | 0.198473 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
dbb9d284bba3ff08085c35566d433afc00ebbd3c | 419 | py | Python | progress_bar.py | alecklandgraf/pdbpdx | 656fa5889adb19e3c2309a25e038fa22affa79b4 | [
"MIT"
] | 2 | 2015-01-29T03:48:17.000Z | 2015-01-29T14:59:22.000Z | progress_bar.py | alecklandgraf/pdbpdx | 656fa5889adb19e3c2309a25e038fa22affa79b4 | [
"MIT"
] | null | null | null | progress_bar.py | alecklandgraf/pdbpdx | 656fa5889adb19e3c2309a25e038fa22affa79b4 | [
"MIT"
] | null | null | null | import os
import time
from terminal_utils import getTerminalSize
def print_progress_bar(counter):
"""print `#` progress bars over ``counter`` seconds
Usage:
from progress_bar import print_progress_bar
print_progress_bar(10)
"""
width = getTerminalSize()[1] / counter
for i in range(... | 24.647059 | 55 | 0.637232 | 52 | 419 | 4.980769 | 0.5 | 0.200772 | 0.185328 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019108 | 0.250597 | 419 | 16 | 56 | 26.1875 | 0.805732 | 0.310263 | 0 | 0 | 0 | 0 | 0.022556 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.333333 | 0 | 0.444444 | 0.222222 | 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 | 0 | 0 | 0 | 3 |
dbd46fbf9b5ea0647657bb160b8a1e9d45e44055 | 3,661 | py | Python | bugs/linux-darlloz-syscalls/test.py | xbabka01/retdec-regression-tests | 1ac40cca5165740364e6f7fb72b20820eac9bc7c | [
"MIT"
] | 8 | 2017-12-14T14:25:17.000Z | 2019-03-09T03:29:12.000Z | bugs/linux-darlloz-syscalls/test.py | xbabka01/retdec-regression-tests | 1ac40cca5165740364e6f7fb72b20820eac9bc7c | [
"MIT"
] | 10 | 2019-06-14T09:12:55.000Z | 2021-10-01T12:15:43.000Z | bugs/linux-darlloz-syscalls/test.py | xbabka01/retdec-regression-tests | 1ac40cca5165740364e6f7fb72b20820eac9bc7c | [
"MIT"
] | 8 | 2019-05-10T14:59:48.000Z | 2022-03-07T16:34:23.000Z | #
# Tests sample 00A299FD149939CEC860C71224B77209.
# Tests mainly detection of functions called by syscall, but also same other important things.
#
from regression_tests import *
class Test(Test):
settings = TestSettings(
input='00A2',
args='-k'
)
# These are not all strings recognized in... | 52.3 | 122 | 0.672221 | 522 | 3,661 | 4.44636 | 0.272031 | 0.185265 | 0.240844 | 0.259371 | 0.658768 | 0.658768 | 0.591555 | 0.33994 | 0.281775 | 0.033606 | 0 | 0.03099 | 0.180279 | 3,661 | 69 | 123 | 53.057971 | 0.742419 | 0.442775 | 0 | 0 | 0 | 0 | 0.158421 | 0 | 0 | 0 | 0 | 0 | 0.75 | 1 | 0.083333 | false | 0 | 0.027778 | 0 | 0.166667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
9172c775ac521c6696e4ced885319eef0a38bccc | 424 | py | Python | tutorials/W3D4_DeepLearning1/solutions/W3D4_Tutorial2_Solution_5d5c2c4f.py | raxosiris/course-content | 6904ae919b91aeb885d73b53cb9b02e6ec73d9cd | [
"CC-BY-4.0"
] | 26 | 2020-07-01T20:38:44.000Z | 2021-06-20T06:37:27.000Z | tutorials/W3D4_DeepLearning1/solutions/W3D4_Tutorial2_Solution_5d5c2c4f.py | raxosiris/course-content | 6904ae919b91aeb885d73b53cb9b02e6ec73d9cd | [
"CC-BY-4.0"
] | 3 | 2020-06-23T03:46:36.000Z | 2020-07-07T05:26:01.000Z | tutorials/W3D4_DeepLearning1/solutions/W3D4_Tutorial2_Solution_5d5c2c4f.py | raxosiris/course-content | 6904ae919b91aeb885d73b53cb9b02e6ec73d9cd | [
"CC-BY-4.0"
] | 16 | 2020-07-06T06:48:02.000Z | 2021-07-30T08:18:52.000Z |
"""
We see many sharp peaks in the training set, but these peaks are not always present
in the test set, suggesting that they are due to noise. Therefore, ignoring this
noise, we might have expected the neural responses to be a sum of only a few
different filters and only at a few different positions. This would mean ... | 47.111111 | 83 | 0.775943 | 77 | 424 | 4.25974 | 0.701299 | 0.030488 | 0.079268 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183962 | 424 | 9 | 84 | 47.111111 | 0.947977 | 0.976415 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 3 |
91807222410f612855888921e039a82ebf2bf436 | 1,769 | py | Python | DesignPattern/abstract_factory.py | zzragida/PythonExamples | ed94ae2773a580a42e158ebdc7321a89ca4e991b | [
"MIT"
] | null | null | null | DesignPattern/abstract_factory.py | zzragida/PythonExamples | ed94ae2773a580a42e158ebdc7321a89ca4e991b | [
"MIT"
] | null | null | null | DesignPattern/abstract_factory.py | zzragida/PythonExamples | ed94ae2773a580a42e158ebdc7321a89ca4e991b | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# http://ginstrom.com/scribbles/2007/10/08/design-patterns-python-style/
"""Implementation of the abstract factory pattern"""
import random
class PetShop:
"""A pet shop"""
def __init__(self, animal_factory=None):
"""pet_factory is our abstract factory... | 18.05102 | 72 | 0.586207 | 234 | 1,769 | 4.273504 | 0.388889 | 0.08 | 0.028 | 0.052 | 0.173 | 0.078 | 0.078 | 0.078 | 0.078 | 0.078 | 0 | 0.00916 | 0.259469 | 1,769 | 97 | 73 | 18.237113 | 0.754198 | 0.354438 | 0 | 0.216216 | 0 | 0 | 0.072491 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.297297 | false | 0 | 0.027027 | 0.216216 | 0.702703 | 0.108108 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
918a3e6e7cabca74087982ef78a96eb2bfe26870 | 633 | py | Python | python3/lib/python3.6/site-packages/tensorflow/_api/v1/saved_model/experimental/__init__.py | TruongThuyLiem/keras2tensorflow | 726f2370160701081cb43fbd8b56154c10d7ad63 | [
"MIT"
] | 3 | 2020-10-12T15:47:01.000Z | 2022-01-14T19:51:26.000Z | python3/lib/python3.6/site-packages/tensorflow/_api/v1/saved_model/experimental/__init__.py | TruongThuyLiem/keras2tensorflow | 726f2370160701081cb43fbd8b56154c10d7ad63 | [
"MIT"
] | null | null | null | python3/lib/python3.6/site-packages/tensorflow/_api/v1/saved_model/experimental/__init__.py | TruongThuyLiem/keras2tensorflow | 726f2370160701081cb43fbd8b56154c10d7ad63 | [
"MIT"
] | 2 | 2020-08-03T13:02:06.000Z | 2020-11-04T03:15:44.000Z | # This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator/create_python_api.py script.
"""Public API for tf.saved_model.experimental namespace.
"""
from __future__ import print_function as _print_function
from tensorflow.python.saved_model.save import save
del _print_functi... | 35.166667 | 83 | 0.823065 | 82 | 633 | 5.902439 | 0.5 | 0.14876 | 0.086777 | 0.103306 | 0.235537 | 0.235537 | 0.235537 | 0.235537 | 0.235537 | 0 | 0 | 0 | 0.101106 | 633 | 17 | 84 | 37.235294 | 0.850615 | 0.28436 | 0 | 0 | 1 | 0 | 0.053933 | 0.053933 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.25 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
919bf871f0f5d423a327fc1eb19e0624ad049a68 | 1,512 | py | Python | illallangi/delugeapi/torrent.py | illallangi/DelugeAPI | 8a949c0cf505992d5e6363d1ff3a9ed5147fc1a1 | [
"MIT"
] | null | null | null | illallangi/delugeapi/torrent.py | illallangi/DelugeAPI | 8a949c0cf505992d5e6363d1ff3a9ed5147fc1a1 | [
"MIT"
] | null | null | null | illallangi/delugeapi/torrent.py | illallangi/DelugeAPI | 8a949c0cf505992d5e6363d1ff3a9ed5147fc1a1 | [
"MIT"
] | null | null | null | from functools import cached_property
from loguru import logger
from .filecollection import FileCollection
from .trackercollection import TrackerCollection
class Torrent(object):
def __init__(self, host, dictionary, *args, **kwargs):
super().__init__(*args, **kwargs)
self.host = host
sel... | 27.490909 | 95 | 0.613757 | 173 | 1,512 | 5.127168 | 0.294798 | 0.126268 | 0.076663 | 0.033822 | 0.117249 | 0.060879 | 0 | 0 | 0 | 0 | 0 | 0.001781 | 0.257275 | 1,512 | 54 | 96 | 28 | 0.788068 | 0 | 0 | 0.097561 | 0 | 0 | 0.134259 | 0.018519 | 0 | 0 | 0 | 0 | 0 | 1 | 0.219512 | false | 0 | 0.097561 | 0.170732 | 0.512195 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
91a6bf6902e9506eea50476b0e083de139f66c2b | 426 | py | Python | sum-root-to-leaf-numbers/sum-root-to-leaf-numbers.py | Atri10/Leet-code---Atri_Patel | 49fc59b9147a44ab04a66128fbb2ef259b5f7b7c | [
"MIT"
] | 1 | 2021-10-10T20:21:18.000Z | 2021-10-10T20:21:18.000Z | sum-root-to-leaf-numbers/sum-root-to-leaf-numbers.py | Atri10/Leet-code---Atri_Patel | 49fc59b9147a44ab04a66128fbb2ef259b5f7b7c | [
"MIT"
] | null | null | null | sum-root-to-leaf-numbers/sum-root-to-leaf-numbers.py | Atri10/Leet-code---Atri_Patel | 49fc59b9147a44ab04a66128fbb2ef259b5f7b7c | [
"MIT"
] | null | null | null | class Solution:
def sumNumbers(self, root: Optional[TreeNode]) -> int:
def DFS(root):
if not root: return 0
if not root.left and not root.right : return int(root.val)
if root.left: root.left.val = 10 * root.val + root.left.val
if root.right: root.right.val = 1... | 47.333333 | 74 | 0.586854 | 63 | 426 | 3.968254 | 0.301587 | 0.16 | 0.072 | 0.096 | 0.128 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016722 | 0.298122 | 426 | 9 | 75 | 47.333333 | 0.819398 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
91aa5f3cefe0b077b0307f668bb7b9e7eeb49210 | 345 | py | Python | code/dx/dx_valuation.py | meaninginuse/py4fi2nd | 81d1b5017f27f72299a1a0adab5b5ab6c3eeb223 | [
"CNRI-Python"
] | 893 | 2018-12-01T12:31:56.000Z | 2022-03-31T03:42:26.000Z | code/dx/dx_valuation.py | zx1205ge/py4fi2nd | 1c381e9b48d8c6b2b70838e44a12904d55e02c17 | [
"CNRI-Python"
] | 12 | 2018-12-03T07:46:25.000Z | 2021-12-17T14:22:46.000Z | code/dx/dx_valuation.py | zx1205ge/py4fi2nd | 1c381e9b48d8c6b2b70838e44a12904d55e02c17 | [
"CNRI-Python"
] | 562 | 2018-12-03T01:46:56.000Z | 2022-03-27T09:43:49.000Z | #
# DX Package
#
# Valuation Classes
#
# dx_valuation.py
#
# Python for Finance, 2nd ed.
# (c) Dr. Yves J. Hilpisch
#
import numpy as np
import pandas as pd
from dx_simulation import *
from valuation_class import valuation_class
from valuation_mcs_european import valuation_mcs_european
from valuation_mcs_american impo... | 20.294118 | 57 | 0.805797 | 51 | 345 | 5.215686 | 0.529412 | 0.180451 | 0.120301 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003378 | 0.142029 | 345 | 17 | 58 | 20.294118 | 0.89527 | 0.281159 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
91c2195f7f1cec62909a1cb75095e5bba625bb59 | 65 | py | Python | Examples/interps.py | SchaffHub/RISC-Verdi | 4b15ad3ecb4deee3172ecda534276cb939c71ed2 | [
"MIT"
] | 7 | 2019-05-10T21:13:16.000Z | 2022-03-01T07:25:08.000Z | Examples/interps.py | SchaffHub/RISC-Verdi | 4b15ad3ecb4deee3172ecda534276cb939c71ed2 | [
"MIT"
] | 1 | 2021-08-08T18:14:54.000Z | 2021-08-21T15:15:18.000Z | Examples/interps.py | SchaffHub/RISC-Verdi | 4b15ad3ecb4deee3172ecda534276cb939c71ed2 | [
"MIT"
] | 2 | 2020-04-21T20:56:37.000Z | 2021-01-27T04:58:28.000Z | import tkinter as tk
root = tk.Tk()
print (root.winfo_interps())
| 16.25 | 28 | 0.723077 | 11 | 65 | 4.181818 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138462 | 65 | 3 | 29 | 21.666667 | 0.821429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
91d1c76b363b5087e086998cef413868892a28ec | 150 | py | Python | src/events/apps.py | gatortechuf/gatortechuf.com | 8d0ad5f0772a42113c41bf454e96c2fa2c22d1f3 | [
"MIT"
] | 2 | 2016-07-18T02:11:37.000Z | 2017-08-27T17:28:25.000Z | src/events/apps.py | gatortechuf/gatortechuf.com | 8d0ad5f0772a42113c41bf454e96c2fa2c22d1f3 | [
"MIT"
] | 66 | 2016-06-18T04:00:01.000Z | 2018-02-03T17:42:17.000Z | src/events/apps.py | gatortechuf/gatortechuf.com | 8d0ad5f0772a42113c41bf454e96c2fa2c22d1f3 | [
"MIT"
] | null | null | null | """
Events App Config
"""
from django.apps import AppConfig
class EventsConfig(AppConfig):
"""
Events App Config
"""
name = 'events'
| 13.636364 | 33 | 0.633333 | 16 | 150 | 5.9375 | 0.6875 | 0.189474 | 0.315789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.24 | 150 | 10 | 34 | 15 | 0.833333 | 0.233333 | 0 | 0 | 0 | 0 | 0.065217 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
91ddea1acf3e8c43d1adb763c01ef05991f3224c | 4,149 | py | Python | src/fauxmo/plugins/__init__.py | danielrgullo/fauxmo | a08889925b24b2bc57baa2c0c8ba80846d47a897 | [
"MIT"
] | 318 | 2016-01-09T00:44:14.000Z | 2022-03-20T22:22:05.000Z | src/fauxmo/plugins/__init__.py | danielrgullo/fauxmo | a08889925b24b2bc57baa2c0c8ba80846d47a897 | [
"MIT"
] | 106 | 2016-01-29T20:03:34.000Z | 2022-03-05T23:07:17.000Z | src/fauxmo/plugins/__init__.py | danielrgullo/fauxmo | a08889925b24b2bc57baa2c0c8ba80846d47a897 | [
"MIT"
] | 98 | 2016-01-06T20:50:36.000Z | 2022-02-08T06:06:55.000Z | """fauxmo.plugins :: Provide ABC for Fauxmo plugins."""
import abc
from typing import Callable
class FauxmoPlugin(abc.ABC):
"""Provide ABC for Fauxmo plugins.
This will become the `plugin` attribute of a `Fauxmo` instance. Its `on`
and `off` methods will be called when Alexa turns something `on` or `off... | 37.378378 | 79 | 0.643288 | 539 | 4,149 | 4.827458 | 0.369202 | 0.041507 | 0.024596 | 0.018447 | 0.103766 | 0.064566 | 0.064566 | 0.037663 | 0.037663 | 0.037663 | 0 | 0 | 0.271873 | 4,149 | 110 | 80 | 37.718182 | 0.861304 | 0.611232 | 0 | 0.236842 | 0 | 0 | 0.041213 | 0.026439 | 0 | 0 | 0 | 0 | 0 | 1 | 0.263158 | false | 0.078947 | 0.052632 | 0 | 0.526316 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
91e2e490e4eb647d4f2a70811170f91802b86a67 | 314 | py | Python | ica/paraphraseator/datamodules/datasets/Sydney.py | pedrorio/image_caption_augmentation | 683ed90cecd4bc12f65dc238f1ff2dedbbc1b666 | [
"MIT"
] | null | null | null | ica/paraphraseator/datamodules/datasets/Sydney.py | pedrorio/image_caption_augmentation | 683ed90cecd4bc12f65dc238f1ff2dedbbc1b666 | [
"MIT"
] | null | null | null | ica/paraphraseator/datamodules/datasets/Sydney.py | pedrorio/image_caption_augmentation | 683ed90cecd4bc12f65dc238f1ff2dedbbc1b666 | [
"MIT"
] | null | null | null | import os
from .ImageCaptionsDataset import ImageCaptionsDataset
def Sydney(data_dir: str, transform=None):
file_name = 'dataset_sydney_modified.json'
file_path = os.path.join(data_dir, file_name)
# f'{data_path}/{file_name}'
return ImageCaptionsDataset(file_path=file_path, transform=transform)
| 31.4 | 73 | 0.77707 | 41 | 314 | 5.682927 | 0.487805 | 0.103004 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127389 | 314 | 9 | 74 | 34.888889 | 0.850365 | 0.082803 | 0 | 0 | 0 | 0 | 0.097902 | 0.097902 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
91e9f87b50840c4f12b1c62c69ebd1a7c2801087 | 38,997 | py | Python | autotest/gcore/vsiaz.py | mloskot/gdal-old-mirror-with-jpegxr-pr | 88409871d445a1ed7c973533cf2075f904a39f90 | [
"MIT"
] | 1 | 2019-12-09T06:04:40.000Z | 2019-12-09T06:04:40.000Z | autotest/gcore/vsiaz.py | mloskot/gdal-old-mirror-with-jpegxr-pr | 88409871d445a1ed7c973533cf2075f904a39f90 | [
"MIT"
] | 3 | 2019-02-27T00:43:06.000Z | 2019-06-28T21:57:10.000Z | autotest/gcore/vsiaz.py | mloskot/gdal-old-mirror-with-jpegxr-pr | 88409871d445a1ed7c973533cf2075f904a39f90 | [
"MIT"
] | null | null | null | #!/usr/bin/env pytest
###############################################################################
# $Id$
#
# Project: GDAL/OGR Test Suite
# Purpose: Test /vsiaz
# Author: Even Rouault <even dot rouault at spatialys dot com>
#
###############################################################################
# Copy... | 38.997 | 229 | 0.593584 | 4,540 | 38,997 | 4.965419 | 0.100661 | 0.022757 | 0.043916 | 0.019296 | 0.781795 | 0.757308 | 0.734862 | 0.699729 | 0.672936 | 0.647252 | 0 | 0.028111 | 0.245609 | 38,997 | 999 | 230 | 39.036036 | 0.738162 | 0.065851 | 0 | 0.677885 | 0 | 0.025641 | 0.289673 | 0.167054 | 0 | 0 | 0 | 0 | 0.113782 | 1 | 0.041667 | false | 0 | 0.009615 | 0 | 0.075321 | 0.00641 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
91ecc45776f95f9b8c6e85938e6e996fb277c271 | 16,035 | py | Python | sqlbuilder/smartsql/expressions.py | emacsway/sqlbuilder | 72f32bbbfc1116550343c471dc43ef6284492a5a | [
"BSD-3-Clause"
] | 33 | 2017-07-26T02:33:48.000Z | 2022-03-18T06:38:12.000Z | sqlbuilder/smartsql/expressions.py | emacsway/sqlbuilder | 72f32bbbfc1116550343c471dc43ef6284492a5a | [
"BSD-3-Clause"
] | 1 | 2019-03-03T15:09:46.000Z | 2019-03-03T15:09:46.000Z | sqlbuilder/smartsql/expressions.py | emacsway/sqlbuilder | 72f32bbbfc1116550343c471dc43ef6284492a5a | [
"BSD-3-Clause"
] | 3 | 2017-09-25T03:00:11.000Z | 2020-10-21T09:59:09.000Z | from __future__ import absolute_import
import sys
import copy
import operator
from functools import reduce
from sqlbuilder.smartsql.compiler import compile
from sqlbuilder.smartsql.constants import CONTEXT, PLACEHOLDER, MAX_PRECEDENCE
from sqlbuilder.smartsql.exceptions import MaxLengthError
from sqlbuilder.smartsql.py... | 24.899068 | 113 | 0.625507 | 1,927 | 16,035 | 4.815776 | 0.12247 | 0.056034 | 0.064871 | 0.082974 | 0.393642 | 0.341164 | 0.207328 | 0.183405 | 0.151616 | 0.110453 | 0 | 0.002126 | 0.237356 | 16,035 | 643 | 114 | 24.937792 | 0.756726 | 0.028812 | 0 | 0.252273 | 0 | 0 | 0.039242 | 0 | 0 | 0 | 0 | 0.00311 | 0.002273 | 1 | 0.240909 | false | 0.002273 | 0.027273 | 0.131818 | 0.536364 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
91ed6c1a34c8b9e6762ba862f0ed4b8cfaf44fc7 | 425 | py | Python | csrank/dataset_reader/choicefunctions/__init__.py | kiudee/cs-ranking | 47cf648fa286c37b9214bbad1926004d4d7d9796 | [
"Apache-2.0"
] | 65 | 2018-02-12T13:18:13.000Z | 2021-12-18T12:01:51.000Z | csrank/dataset_reader/choicefunctions/__init__.py | kiudee/cs-ranking | 47cf648fa286c37b9214bbad1926004d4d7d9796 | [
"Apache-2.0"
] | 189 | 2018-02-13T10:11:55.000Z | 2022-03-12T16:36:23.000Z | csrank/dataset_reader/choicefunctions/__init__.py | kiudee/cs-ranking | 47cf648fa286c37b9214bbad1926004d4d7d9796 | [
"Apache-2.0"
] | 19 | 2018-03-08T15:39:31.000Z | 2020-11-18T12:46:36.000Z | from .choice_data_generator import ChoiceDatasetGenerator
from .expedia_choice_dataset_reader import ExpediaChoiceDatasetReader
from .letor_ranking_choice_dataset_reader import LetorRankingChoiceDatasetReader
from .mnist_choice_dataset_reader import MNISTChoiceDatasetReader
__all__ = [
"ChoiceDatasetGenerator",
... | 35.416667 | 80 | 0.858824 | 33 | 425 | 10.575758 | 0.484848 | 0.111748 | 0.163324 | 0.2149 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096471 | 425 | 11 | 81 | 38.636364 | 0.908854 | 0 | 0 | 0 | 0 | 0 | 0.242353 | 0.242353 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 0 | 0 | 1 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
37d938b7e764d43ab4771633e528047dc1d3b954 | 1,063 | py | Python | src/trunk/apps/python/bindings2cfg.py | kbouk/seiscomp3 | 2385e4197274135c70aaef93a0b7df65ed8fa6a6 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 94 | 2015-02-04T13:57:34.000Z | 2021-11-01T15:10:06.000Z | src/trunk/apps/python/bindings2cfg.py | kbouk/seiscomp3 | 2385e4197274135c70aaef93a0b7df65ed8fa6a6 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 233 | 2015-01-28T15:16:46.000Z | 2021-08-23T11:31:37.000Z | src/trunk/apps/python/bindings2cfg.py | kbouk/seiscomp3 | 2385e4197274135c70aaef93a0b7df65ed8fa6a6 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 95 | 2015-02-13T15:53:30.000Z | 2021-11-02T14:54:54.000Z | #!/usr/bin/env seiscomp-python
# -*- coding: utf-8 -*-
############################################################################
# Copyright (C) by gempa GmbH #
# Author: Jan Becker <jabe@gempa.de> #
# ... | 50.619048 | 76 | 0.391345 | 82 | 1,063 | 5.073171 | 0.756098 | 0.052885 | 0.081731 | 0.115385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008013 | 0.412982 | 1,063 | 20 | 77 | 53.15 | 0.658654 | 0.716839 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
53084548c26be45234c8ff6af1ffafb55d411c83 | 2,046 | py | Python | libpython/ben/icu_tools.py | longnow/panlex-tools | 1b10fa140af96078c7c909cd10f3f3c05f641671 | [
"MIT"
] | 8 | 2015-11-02T22:55:24.000Z | 2018-05-27T22:11:40.000Z | libpython/ben/icu_tools.py | longnow/panlex-tools | 1b10fa140af96078c7c909cd10f3f3c05f641671 | [
"MIT"
] | 3 | 2021-03-31T19:12:43.000Z | 2021-12-13T20:03:51.000Z | libpython/ben/icu_tools.py | longnow/panlex-tools | 1b10fa140af96078c7c909cd10f3f3c05f641671 | [
"MIT"
] | 2 | 2016-07-11T18:00:18.000Z | 2019-04-23T14:41:52.000Z | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
import icu
def all_glyphs(prop):
return [c.encode('utf-16', 'surrogatepass').decode('utf-16') for c in icu.UnicodeSetIterator(icu.UnicodeSet(r'[:{}:]'.format(prop)))]
def all_cps(prop):
return list(map(glyph_cp, all_glyphs(prop)))
def glyph_name(glyph, default=... | 30.537313 | 137 | 0.632454 | 253 | 2,046 | 4.972332 | 0.375494 | 0.057234 | 0.055644 | 0.042925 | 0.050874 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007653 | 0.233627 | 2,046 | 66 | 138 | 31 | 0.794643 | 0.021017 | 0 | 0.183673 | 0 | 0.020408 | 0.151424 | 0.017991 | 0 | 0 | 0 | 0 | 0 | 1 | 0.265306 | false | 0.020408 | 0.020408 | 0.163265 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
533a650a2f0ee711dd058c14f735041a176586c8 | 288 | py | Python | st.py | Gizmotronn/st | f1e82b8afd4eb59d7f4c592cca7b438363080435 | [
"MIT"
] | 1 | 2021-03-04T02:15:56.000Z | 2021-03-04T02:15:56.000Z | st.py | Gizmotronn/st | f1e82b8afd4eb59d7f4c592cca7b438363080435 | [
"MIT"
] | null | null | null | st.py | Gizmotronn/st | f1e82b8afd4eb59d7f4c592cca7b438363080435 | [
"MIT"
] | 1 | 2021-03-04T02:16:00.000Z | 2021-03-04T02:16:00.000Z | from app import app, db
# from app.models import User, Post -> From github.com/signal-k/elearning. We don't have a user database yet because there is no need for user login or registration, so at the moment it's just routing
@app.shell_context_processor
def make_shell_context()
pass | 48 | 200 | 0.777778 | 52 | 288 | 4.230769 | 0.807692 | 0.063636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159722 | 288 | 6 | 201 | 48 | 0.909091 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.25 | 0.25 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
5340391f056fe3754c7999775c0d39dfa4dcc9a0 | 485 | py | Python | polyaxon/api/clusters/views.py | elyase/polyaxon | 1c19f059a010a6889e2b7ea340715b2bcfa382a0 | [
"MIT"
] | null | null | null | polyaxon/api/clusters/views.py | elyase/polyaxon | 1c19f059a010a6889e2b7ea340715b2bcfa382a0 | [
"MIT"
] | null | null | null | polyaxon/api/clusters/views.py | elyase/polyaxon | 1c19f059a010a6889e2b7ea340715b2bcfa382a0 | [
"MIT"
] | null | null | null | from rest_framework.generics import RetrieveAPIView
from rest_framework.permissions import IsAuthenticated
from api.clusters.serializers import ClusterSerializer
from db.models.clusters import Cluster
class ClusterDetailView(RetrieveAPIView):
"""Get cluster details."""
queryset = Cluster.objects.all()
pe... | 26.944444 | 54 | 0.773196 | 51 | 485 | 7.235294 | 0.588235 | 0.04336 | 0.092141 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156701 | 485 | 17 | 55 | 28.529412 | 0.9022 | 0.041237 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.181818 | false | 0 | 0.363636 | 0.181818 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 3 |
535f874523fce792910d91a0e790b9b075ba9c47 | 177 | py | Python | kaggler/gcspath/__main__.py | dickmao/Kaggler | 8fe93669d2479c57919b44d992f55387323ea81b | [
"MIT"
] | 1 | 2020-11-29T12:04:41.000Z | 2020-11-29T12:04:41.000Z | kaggler/gcspath/__main__.py | dickmao/Kaggler | 8fe93669d2479c57919b44d992f55387323ea81b | [
"MIT"
] | null | null | null | kaggler/gcspath/__main__.py | dickmao/Kaggler | 8fe93669d2479c57919b44d992f55387323ea81b | [
"MIT"
] | 1 | 2021-02-26T01:43:09.000Z | 2021-02-26T01:43:09.000Z | """
Kicks things off via
python -m gcspath
"""
import sys
from .gcspath import gcspath
competition = sys.argv[1] if len(sys.argv) > 1 else None
print(gcspath(competition))
| 12.642857 | 56 | 0.717514 | 27 | 177 | 4.703704 | 0.666667 | 0.204724 | 0.125984 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013605 | 0.169492 | 177 | 13 | 57 | 13.615385 | 0.85034 | 0.220339 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0.25 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
726488aacc42dab2ebe5521aabb99732b448e5ec | 1,738 | py | Python | reward/space/categorical.py | lgvaz/torchrl | cfff8acaf70d1fec72169162b95ab5ad3547d17a | [
"MIT"
] | 5 | 2018-06-21T14:33:40.000Z | 2018-08-18T02:26:03.000Z | reward/space/categorical.py | lgvaz/reward | cfff8acaf70d1fec72169162b95ab5ad3547d17a | [
"MIT"
] | null | null | null | reward/space/categorical.py | lgvaz/reward | cfff8acaf70d1fec72169162b95ab5ad3547d17a | [
"MIT"
] | 2 | 2018-05-08T03:34:49.000Z | 2018-06-22T15:04:17.000Z | import torch
import numpy as np
import reward.utils as U
from pathlib import Path
from .space import Space
class Categorical(Space):
def __init__(self, n_acs):
assert isinstance(n_acs, int)
self.n_acs, self.dtype = n_acs, np.int32
def __repr__(self): return "Discrete(num_actions={})".format(s... | 29.457627 | 93 | 0.68412 | 248 | 1,738 | 4.556452 | 0.294355 | 0.088496 | 0.028319 | 0.045133 | 0.258407 | 0.214159 | 0.214159 | 0.104425 | 0.104425 | 0.104425 | 0 | 0.003529 | 0.184695 | 1,738 | 58 | 94 | 29.965517 | 0.793931 | 0 | 0 | 0.153846 | 0 | 0 | 0.076525 | 0.05351 | 0 | 0 | 0 | 0 | 0.025641 | 1 | 0.512821 | false | 0 | 0.128205 | 0.333333 | 0.794872 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
72727194d8e03d66826cad727ec80933c3cc9796 | 1,494 | py | Python | heatlib/units.py | ondrolexa/heat | 424e89d4c70845e2dc58b889bc702969c13604f7 | [
"MIT"
] | 2 | 2017-10-14T15:28:36.000Z | 2021-04-17T18:00:44.000Z | heatlib/units.py | ondrolexa/heat | 424e89d4c70845e2dc58b889bc702969c13604f7 | [
"MIT"
] | null | null | null | heatlib/units.py | ondrolexa/heat | 424e89d4c70845e2dc58b889bc702969c13604f7 | [
"MIT"
] | 3 | 2019-02-16T19:14:56.000Z | 2021-07-16T08:00:00.000Z | #################################################
# Unit helpers #
#################################################
class Length(float):
unit2m = dict(mm=0.001, cm=0.01, dm=0.1, m=1, km=1000)
def __new__(cls, val, unit):
return float.__new__(cls, val)
def __init... | 24.9 | 79 | 0.516064 | 189 | 1,494 | 3.783069 | 0.269841 | 0.08951 | 0.05035 | 0.095105 | 0.702098 | 0.662937 | 0.662937 | 0.472727 | 0.472727 | 0.472727 | 0 | 0.072312 | 0.296519 | 1,494 | 59 | 80 | 25.322034 | 0.607992 | 0.008032 | 0 | 0.5 | 0 | 0 | 0.056422 | 0 | 0 | 0 | 0 | 0 | 0.05 | 1 | 0.3 | false | 0 | 0 | 0.2 | 0.65 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
727e32ee3ff2c03137e13202e2e4fdb0530db9c3 | 231 | py | Python | uw_mailman/util.py | uw-it-aca/uw-restclients-mailman | 1cb3ac94b517f7ba0bca6882d6462f2182f48646 | [
"Apache-2.0"
] | null | null | null | uw_mailman/util.py | uw-it-aca/uw-restclients-mailman | 1cb3ac94b517f7ba0bca6882d6462f2182f48646 | [
"Apache-2.0"
] | 12 | 2017-06-16T20:27:19.000Z | 2021-06-01T17:06:49.000Z | uw_mailman/util.py | uw-it-aca/uw-restclients-mailman | 1cb3ac94b517f7ba0bca6882d6462f2182f48646 | [
"Apache-2.0"
] | null | null | null | # Copyright 2021 UW-IT, University of Washington
# SPDX-License-Identifier: Apache-2.0
from restclients_core.util.decorators import use_mock
from uw_mailman.dao import Mailman_DAO
fdao_mailman_override = use_mock(Mailman_DAO())
| 25.666667 | 53 | 0.822511 | 35 | 231 | 5.2 | 0.714286 | 0.164835 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028986 | 0.103896 | 231 | 8 | 54 | 28.875 | 0.850242 | 0.354978 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
7287ffcfeb9f2e4f08870c897ce80044d45b1260 | 2,653 | py | Python | Gerador/libs/Tela_Python.py | silveriogabriel/Gerador_De_Documentos_Python | 4c602159f4422c97261aa25cbf5a9ddab3cbe3b0 | [
"MIT"
] | 2 | 2022-01-20T16:23:47.000Z | 2022-01-21T23:49:08.000Z | Gerador/libs/Tela_Python.py | silveriogabriel/Gerador_De_Documentos_Python | 4c602159f4422c97261aa25cbf5a9ddab3cbe3b0 | [
"MIT"
] | null | null | null | Gerador/libs/Tela_Python.py | silveriogabriel/Gerador_De_Documentos_Python | 4c602159f4422c97261aa25cbf5a9ddab3cbe3b0 | [
"MIT"
] | null | null | null | #Definindo configuraçoes
#Importando modulos
import PySimpleGUI as sg
from random import randint
class TelaPython:
def __init__(self):
#layout
layout = [
[sg.Text('GERADOR DE CPF', size=(29, 1), font=("Helvetica", 20), justification='center', relief=sg.RELIEF_RIDGE, text_color='#000080... | 54.142857 | 227 | 0.540897 | 360 | 2,653 | 3.95 | 0.269444 | 0.202532 | 0.227848 | 0.253165 | 0.437412 | 0.416315 | 0.396624 | 0.329114 | 0.329114 | 0.285513 | 0 | 0.061876 | 0.244629 | 2,653 | 49 | 228 | 54.142857 | 0.647705 | 0.03807 | 0 | 0.058824 | 0 | 0.117647 | 0.349053 | 0.232164 | 0 | 0 | 0 | 0 | 0 | 1 | 0.058824 | false | 0 | 0.058824 | 0 | 0.147059 | 0.058824 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
72a08d13c760f66a1edf8f88c715886c4d908511 | 692 | py | Python | dacbench/envs/__init__.py | mcx/DACBench | 618c8219d636b41d52764348f2984721e6dbf649 | [
"Apache-2.0"
] | 11 | 2020-11-09T10:50:31.000Z | 2022-02-19T09:23:44.000Z | dacbench/envs/__init__.py | mcx/DACBench | 618c8219d636b41d52764348f2984721e6dbf649 | [
"Apache-2.0"
] | 95 | 2020-11-18T09:37:30.000Z | 2022-02-17T10:05:33.000Z | dacbench/envs/__init__.py | mcx/DACBench | 618c8219d636b41d52764348f2984721e6dbf649 | [
"Apache-2.0"
] | 11 | 2020-11-15T15:24:27.000Z | 2022-03-14T14:51:43.000Z | from dacbench.envs.luby import LubyEnv, luby_gen
from dacbench.envs.sigmoid import SigmoidEnv, ContinuousSigmoidEnv, ContinuousStateSigmoidEnv
from dacbench.envs.fast_downward import FastDownwardEnv
from dacbench.envs.cma_es import CMAESEnv
from dacbench.envs.cma_step_size import CMAStepSizeEnv
from dacbench.envs.modea... | 28.833333 | 93 | 0.778902 | 81 | 692 | 6.518519 | 0.395062 | 0.227273 | 0.30303 | 0.07197 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141619 | 692 | 23 | 94 | 30.086957 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0.134393 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.454545 | 0 | 0.454545 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
72acb1fe154620c291f74a783989c54eedd9deeb | 640 | py | Python | smtpdfix/event_handler.py | bebleo/bebleo_smtpd_fixture | 360bfe8bd56625f3251631c7f0a1d660461aef2c | [
"MIT"
] | null | null | null | smtpdfix/event_handler.py | bebleo/bebleo_smtpd_fixture | 360bfe8bd56625f3251631c7f0a1d660461aef2c | [
"MIT"
] | 13 | 2020-05-12T11:38:04.000Z | 2020-08-01T22:10:03.000Z | smtpdfix/event_handler.py | bebleo/bebleo_smtpd_fixture | 360bfe8bd56625f3251631c7f0a1d660461aef2c | [
"MIT"
] | null | null | null | from __future__ import annotations
import logging
from typing import Any
from .typing import CallableHandler
log = logging.getLogger(__name__)
class EventHandler():
def __init__(self) -> None:
self._handlers: set[CallableHandler] = set()
def __iadd__(self, handler: CallableHandler) -> EventHandler... | 24.615385 | 65 | 0.679688 | 69 | 640 | 5.898551 | 0.434783 | 0.117936 | 0.078624 | 0.186732 | 0.2457 | 0.2457 | 0 | 0 | 0 | 0 | 0 | 0 | 0.223438 | 640 | 25 | 66 | 25.6 | 0.818913 | 0 | 0 | 0.117647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.235294 | false | 0 | 0.235294 | 0 | 0.647059 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
72bbdbfde267fbd7ae893959b9d8262f81bd6764 | 192 | py | Python | config/meta.py | creimers/djangocms-delete-error | f38b8a7a277d98060a2b04d9552f26eff3c1c552 | [
"MIT"
] | null | null | null | config/meta.py | creimers/djangocms-delete-error | f38b8a7a277d98060a2b04d9552f26eff3c1c552 | [
"MIT"
] | null | null | null | config/meta.py | creimers/djangocms-delete-error | f38b8a7a277d98060a2b04d9552f26eff3c1c552 | [
"MIT"
] | null | null | null | META_SITE_DOMAIN = 'www.geocoptix.com'
META_USE_OG_PROPERTIES = True
META_USE_TWITTER_PROPERTIES = True
META_TWITTER_AUTHOR = 'geocoptix'
META_FB_AUTHOR_URL = 'https://facebook.com/geocoptix'
| 32 | 53 | 0.828125 | 28 | 192 | 5.214286 | 0.571429 | 0.09589 | 0.246575 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078125 | 192 | 5 | 54 | 38.4 | 0.824859 | 0 | 0 | 0 | 0 | 0 | 0.291667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
72c04e1b626ecd6ceb8fcd8930e9321b6dc85010 | 1,424 | py | Python | tools/telemetry/telemetry/user_story/user_story_set.py | sunjc53yy/chromium | 049b380040949089c2a6e447b0cd0ac3c4ece38e | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | tools/telemetry/telemetry/user_story/user_story_set.py | sunjc53yy/chromium | 049b380040949089c2a6e447b0cd0ac3c4ece38e | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | tools/telemetry/telemetry/user_story/user_story_set.py | sunjc53yy/chromium | 049b380040949089c2a6e447b0cd0ac3c4ece38e | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | # Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
from telemetry import user_story as user_story_module
class UserStorySet(object):
def __init__(self):
self.user_stories = []
def AddUserStory(self... | 29.666667 | 79 | 0.722612 | 199 | 1,424 | 4.909548 | 0.457286 | 0.092119 | 0.092119 | 0.036847 | 0.118731 | 0.118731 | 0.118731 | 0.118731 | 0.118731 | 0.118731 | 0 | 0.005263 | 0.199438 | 1,424 | 47 | 80 | 30.297872 | 0.851754 | 0.440309 | 0 | 0.083333 | 0 | 0 | 0.001337 | 0 | 0 | 0 | 0 | 0 | 0.041667 | 1 | 0.333333 | false | 0 | 0.041667 | 0.125 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
72c61f0df6b2477d612a53d9d867265233b5fef7 | 3,746 | py | Python | edb/edgeql/tokenizer.py | aaronbrighton/edgedb | 4aacd1d4e248ae0d483c075ba93fc462da291ef4 | [
"Apache-2.0"
] | 7,302 | 2018-05-10T18:36:31.000Z | 2022-03-31T17:49:36.000Z | edb/edgeql/tokenizer.py | aaronbrighton/edgedb | 4aacd1d4e248ae0d483c075ba93fc462da291ef4 | [
"Apache-2.0"
] | 1,602 | 2018-05-10T17:45:38.000Z | 2022-03-31T23:46:19.000Z | edb/edgeql/tokenizer.py | aaronbrighton/edgedb | 4aacd1d4e248ae0d483c075ba93fc462da291ef4 | [
"Apache-2.0"
] | 236 | 2018-05-13T14:15:29.000Z | 2022-03-29T19:39:19.000Z | #
# This source file is part of the EdgeDB open source project.
#
# Copyright 2016-present MagicStack Inc. and the EdgeDB authors.
#
# 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... | 27.343066 | 74 | 0.664709 | 481 | 3,746 | 5.006237 | 0.309771 | 0.041528 | 0.019934 | 0.023671 | 0.35299 | 0.333887 | 0.289867 | 0.261628 | 0.261628 | 0.261628 | 0 | 0.003853 | 0.237854 | 3,746 | 136 | 75 | 27.544118 | 0.83958 | 0.171917 | 0 | 0.452381 | 0 | 0 | 0.044423 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.261905 | false | 0 | 0.083333 | 0.202381 | 0.619048 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
72c8198a24455a01b605b0c5099d036e76528b24 | 491 | py | Python | contrail_provisioning/common/templates/contrail_keystone_auth_conf.py | atsgen/contrail-provisioning | dda84a5ed7e17b5cc7148c2505e66ed3e8a86120 | [
"Apache-2.0"
] | 2 | 2015-10-29T19:36:26.000Z | 2016-04-19T13:24:00.000Z | contrail_provisioning/common/templates/contrail_keystone_auth_conf.py | atsgen/contrail-provisioning | dda84a5ed7e17b5cc7148c2505e66ed3e8a86120 | [
"Apache-2.0"
] | 1 | 2017-07-03T09:10:18.000Z | 2017-07-03T09:10:18.000Z | contrail_provisioning/common/templates/contrail_keystone_auth_conf.py | atsgen/contrail-provisioning | dda84a5ed7e17b5cc7148c2505e66ed3e8a86120 | [
"Apache-2.0"
] | 18 | 2016-01-14T23:10:39.000Z | 2021-12-13T06:32:38.000Z | import string
template = string.Template("""
[KEYSTONE]
auth_url=$__contrail_ks_auth_url__
auth_host=$__contrail_keystone_ip__
auth_protocol=$__contrail_ks_auth_protocol__
auth_port=$__contrail_ks_auth_port__
admin_user=$__contrail_admin_user__
admin_password=$__contrail_admin_password__
admin_tenant_name=$__contrail_... | 27.277778 | 49 | 0.894094 | 65 | 491 | 5.415385 | 0.384615 | 0.085227 | 0.119318 | 0.130682 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040733 | 491 | 17 | 50 | 28.882353 | 0.747346 | 0 | 0 | 0 | 0 | 0 | 0.898167 | 0.849287 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.0625 | 0.0625 | 0 | 0.0625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
72d2cf7976da296309410a60905f9c1d8b1a82f6 | 18,157 | py | Python | ion/services/eoi/test/test_table_loader.py | ooici/coi-services | 43246f46a82e597345507afd7dfc7373cb346afa | [
"BSD-2-Clause"
] | 3 | 2016-09-20T09:50:06.000Z | 2018-08-10T01:41:38.000Z | ion/services/eoi/test/test_table_loader.py | ooici/coi-services | 43246f46a82e597345507afd7dfc7373cb346afa | [
"BSD-2-Clause"
] | null | null | null | ion/services/eoi/test/test_table_loader.py | ooici/coi-services | 43246f46a82e597345507afd7dfc7373cb346afa | [
"BSD-2-Clause"
] | 2 | 2016-03-16T22:25:49.000Z | 2016-11-26T14:54:21.000Z | """
@author Andy Bird
@author Jim Case
@brief Test cases for the tableloader,
table loader is a service to load data products in to postgres and geoserver from the resource registry
"""
from gevent import server
from gevent.baseserver import _tcp_listener
from gevent import pywsgi
from gevent.monkey import patch_all;... | 47.161039 | 182 | 0.701052 | 2,300 | 18,157 | 5.291304 | 0.151739 | 0.071405 | 0.032046 | 0.045193 | 0.715612 | 0.693837 | 0.681101 | 0.666639 | 0.663188 | 0.649384 | 0 | 0.010601 | 0.189569 | 18,157 | 384 | 183 | 47.283854 | 0.816446 | 0.120119 | 0 | 0.704 | 0 | 0.004 | 0.148575 | 0.074384 | 0 | 0 | 0 | 0.002604 | 0.08 | 0 | null | null | 0.024 | 0.136 | null | null | 0.04 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
72da1978f9e7ef638f523dd3535ba87ec2693e31 | 15,156 | bzl | Python | tests/unit/coursier_test.bzl | SeleniumHQ/rules_jvm_external | 906875b0d5eaaf61a8ca2c9c3835bde6f435d011 | [
"Apache-2.0"
] | null | null | null | tests/unit/coursier_test.bzl | SeleniumHQ/rules_jvm_external | 906875b0d5eaaf61a8ca2c9c3835bde6f435d011 | [
"Apache-2.0"
] | null | null | null | tests/unit/coursier_test.bzl | SeleniumHQ/rules_jvm_external | 906875b0d5eaaf61a8ca2c9c3835bde6f435d011 | [
"Apache-2.0"
] | null | null | null | load("@bazel_skylib//lib:unittest.bzl", "asserts", "unittest")
load(
"//:coursier.bzl",
"add_netrc_entries_from_mirror_urls",
"compute_dependency_inputs_signature",
"extract_netrc_from_auth_url",
"get_coursier_cache_or_default",
"get_netrc_lines_from_entries",
"remove_auth_from_url",
"sp... | 30.191235 | 164 | 0.649842 | 1,987 | 15,156 | 4.519376 | 0.081027 | 0.042762 | 0.071269 | 0.061359 | 0.892205 | 0.834076 | 0.727728 | 0.683964 | 0.591648 | 0.49265 | 0 | 0.006583 | 0.218263 | 15,156 | 501 | 165 | 30.251497 | 0.75135 | 0.002837 | 0 | 0.491917 | 0 | 0 | 0.163059 | 0.045924 | 0 | 0 | 0 | 0 | 0.094688 | 1 | 0.080831 | false | 0.027714 | 0 | 0.004619 | 0.163972 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
72e006d5edad599744723be902993111ea6f1d0c | 3,476 | py | Python | ftd_main/forms.py | meatware/FixedTermDepositGrapher | d33e31f143515dce541cb55f9c149ff82f296ad4 | [
"MIT"
] | null | null | null | ftd_main/forms.py | meatware/FixedTermDepositGrapher | d33e31f143515dce541cb55f9c149ff82f296ad4 | [
"MIT"
] | null | null | null | ftd_main/forms.py | meatware/FixedTermDepositGrapher | d33e31f143515dce541cb55f9c149ff82f296ad4 | [
"MIT"
] | 1 | 2019-02-22T23:10:06.000Z | 2019-02-22T23:10:06.000Z | from flask_wtf import FlaskForm
from wtforms import StringField, SelectField, DecimalField, IntegerField, SubmitField, PasswordField, BooleanField, DateField
from wtforms.validators import DataRequired, NumberRange, Length, ValidationError, DataRequired, Email, EqualTo
from ftd_main.models import User
#from ftd_main im... | 45.142857 | 151 | 0.701093 | 405 | 3,476 | 5.935802 | 0.392593 | 0.091514 | 0.037438 | 0.009983 | 0.160566 | 0.100666 | 0.052413 | 0.052413 | 0.052413 | 0.052413 | 0 | 0.010954 | 0.185846 | 3,476 | 76 | 152 | 45.736842 | 0.838516 | 0.204833 | 0 | 0.12766 | 0 | 0 | 0.153338 | 0 | 0 | 0 | 0 | 0.013158 | 0 | 1 | 0.06383 | false | 0.106383 | 0.085106 | 0 | 0.638298 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
72e7831ae594178312167578c1f163a46ad4a353 | 167 | py | Python | backend/pyimagesearch/id_generator.py | JoHeinem/bpmn-shape-recognizer | 01d71388df51a531f27a55f5b9f2f9f975b1e15b | [
"MIT"
] | 1 | 2019-12-14T07:57:16.000Z | 2019-12-14T07:57:16.000Z | backend/pyimagesearch/id_generator.py | JoHeinem/bpmn-shape-recognizer | 01d71388df51a531f27a55f5b9f2f9f975b1e15b | [
"MIT"
] | null | null | null | backend/pyimagesearch/id_generator.py | JoHeinem/bpmn-shape-recognizer | 01d71388df51a531f27a55f5b9f2f9f975b1e15b | [
"MIT"
] | null | null | null | class IdGenerator(object):
number = 0
@staticmethod
def next():
tmp = IdGenerator.number
IdGenerator.number += 1
return str(tmp)
| 16.7 | 32 | 0.586826 | 17 | 167 | 5.764706 | 0.705882 | 0.346939 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017699 | 0.323353 | 167 | 9 | 33 | 18.555556 | 0.849558 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
72ef6d2fcbb05de96ca899852f0926b910f83a48 | 197 | py | Python | PythonExercicios/ex008.py | VitorFRodrigues/Python-curso | af75ff4a7ca14bc7e67b4f3362af837d355b1746 | [
"MIT"
] | null | null | null | PythonExercicios/ex008.py | VitorFRodrigues/Python-curso | af75ff4a7ca14bc7e67b4f3362af837d355b1746 | [
"MIT"
] | null | null | null | PythonExercicios/ex008.py | VitorFRodrigues/Python-curso | af75ff4a7ca14bc7e67b4f3362af837d355b1746 | [
"MIT"
] | null | null | null | n = float(input('Digite uma distância em metros: '))
print('A medida de {} metro(s) corresponde a: \n{} km\n{} hm\n{} dam\n{} dm\n{} cm\n{} mm'.format(n, n/1000, n/100, n/10, n*10, n*100, n*1000))
| 65.666667 | 143 | 0.604061 | 42 | 197 | 2.833333 | 0.595238 | 0.084034 | 0.084034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106509 | 0.142132 | 197 | 2 | 144 | 98.5 | 0.597633 | 0 | 0 | 0 | 0 | 0.5 | 0.57868 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
72fbee096048c7cca402eae4abbdd2cafe698324 | 6,762 | gyp | Python | vivaldi_chromium.gyp | wedataintelligence/vivaldi-source | 22a46f2c969f6a0b7ca239a05575d1ea2738768c | [
"BSD-3-Clause"
] | null | null | null | vivaldi_chromium.gyp | wedataintelligence/vivaldi-source | 22a46f2c969f6a0b7ca239a05575d1ea2738768c | [
"BSD-3-Clause"
] | null | null | null | vivaldi_chromium.gyp | wedataintelligence/vivaldi-source | 22a46f2c969f6a0b7ca239a05575d1ea2738768c | [
"BSD-3-Clause"
] | null | null | null | # Copyright (c) 2016 Vivaldi Technologies AS. All rights reserved
{
'targets': [
{
'target_name': 'vivaldi_browser',
'type': 'static_library',
'dependencies': [
'app/vivaldi_resources.gyp:*',
'chromium/base/base.gyp:base',
'chromium/components/components.gyp:search_engine... | 32.985366 | 72 | 0.572907 | 645 | 6,762 | 5.662016 | 0.209302 | 0.045181 | 0.046824 | 0.038335 | 0.433461 | 0.233297 | 0.120482 | 0.03012 | 0.03012 | 0 | 0 | 0.003316 | 0.286454 | 6,762 | 204 | 73 | 33.147059 | 0.753575 | 0.023514 | 0 | 0.41791 | 0 | 0 | 0.611852 | 0.492119 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.144279 | 0 | 0.144279 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
f4283cd9ed6eb185ec56bdfef45f6ddc5253d128 | 2,003 | py | Python | tensorflow/contrib/util/loader.py | AlexChrisF/udacity | b7f85a74058fc63ccb7601c418450ab934ef5953 | [
"Apache-2.0"
] | 522 | 2016-06-08T02:15:50.000Z | 2022-03-02T05:30:36.000Z | tensorflow/contrib/util/loader.py | AlexChrisF/udacity | b7f85a74058fc63ccb7601c418450ab934ef5953 | [
"Apache-2.0"
] | 48 | 2016-07-26T00:11:55.000Z | 2022-02-23T13:36:33.000Z | tensorflow/contrib/util/loader.py | AlexChrisF/udacity | b7f85a74058fc63ccb7601c418450ab934ef5953 | [
"Apache-2.0"
] | 108 | 2016-06-16T15:34:05.000Z | 2022-03-12T13:23:11.000Z | # Copyright 2016 The TensorFlow Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applica... | 34.534483 | 80 | 0.712931 | 300 | 2,003 | 4.663333 | 0.51 | 0.042888 | 0.027877 | 0.022873 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00489 | 0.183225 | 2,003 | 57 | 81 | 35.140351 | 0.850245 | 0.687968 | 0 | 0 | 0 | 0 | 0.048611 | 0 | 0 | 0 | 0 | 0.017544 | 0.0625 | 1 | 0.0625 | false | 0 | 0.4375 | 0 | 0.625 | 0.0625 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
f4580c0afc8e9f325f7ca2e5ecb34d9c4176f4e7 | 204 | py | Python | src/data/__init__.py | ram574/Document-Similarity | f1bd17a7fb9b5bd2b5f81b61fae9581a3d6e8641 | [
"MIT"
] | null | null | null | src/data/__init__.py | ram574/Document-Similarity | f1bd17a7fb9b5bd2b5f81b61fae9581a3d6e8641 | [
"MIT"
] | null | null | null | src/data/__init__.py | ram574/Document-Similarity | f1bd17a7fb9b5bd2b5f81b61fae9581a3d6e8641 | [
"MIT"
] | null | null | null | from enum import Enum
import nltk
nltk.download("punkt", quiet=True)
nltk.download("stopwords", quiet=True)
class Split(str, Enum):
TRAIN: str = "train"
DEV: str = "dev"
TEST: str = "test"
| 17 | 38 | 0.656863 | 29 | 204 | 4.62069 | 0.517241 | 0.149254 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.196078 | 204 | 11 | 39 | 18.545455 | 0.817073 | 0 | 0 | 0 | 0 | 0 | 0.127451 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.75 | 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 | 0 | 0 | 1 | 0 | 0 | 3 |
f46af0fbe52151b8e602f9c04ff163afca0e50c9 | 56 | py | Python | autokey/data/Bspc/node_preselect_1.py | Curiosidad-Racional/.config | af5a8901510e4b87dff1be024d3d29987c148f3f | [
"MIT"
] | 2 | 2021-05-29T18:11:26.000Z | 2021-10-21T20:53:16.000Z | autokey/data/Bspc/node_preselect_1.py | Curiosidad-Racional/.config | af5a8901510e4b87dff1be024d3d29987c148f3f | [
"MIT"
] | null | null | null | autokey/data/Bspc/node_preselect_1.py | Curiosidad-Racional/.config | af5a8901510e4b87dff1be024d3d29987c148f3f | [
"MIT"
] | null | null | null | system.exec_command("bspc node -o 0.1", getOutput=False) | 56 | 56 | 0.767857 | 10 | 56 | 4.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038462 | 0.071429 | 56 | 1 | 56 | 56 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0.280702 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
f46cde7ec0e9e2d068c810a1728e53c9164aae3b | 287 | py | Python | tests/e1101.py | ApoorvGuptaAi/pylint-protobuf | 2d8d8041f238c0cbb7c4bafe3e372581ddfad8f3 | [
"MIT"
] | null | null | null | tests/e1101.py | ApoorvGuptaAi/pylint-protobuf | 2d8d8041f238c0cbb7c4bafe3e372581ddfad8f3 | [
"MIT"
] | null | null | null | tests/e1101.py | ApoorvGuptaAi/pylint-protobuf | 2d8d8041f238c0cbb7c4bafe3e372581ddfad8f3 | [
"MIT"
] | null | null | null | from person_pb2 import Person
person = Person()
print(person.name) # should not raise E1101
print(person.should_warn) # should raise E5901
class Foo: pass
Person = Foo # FIXME: should be renamed by class def
person = Person()
print(person.renamed_should_warn) # should raise E1101
| 26.090909 | 55 | 0.763066 | 43 | 287 | 5 | 0.465116 | 0.167442 | 0.15814 | 0.213953 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.053942 | 0.160279 | 287 | 10 | 56 | 28.7 | 0.838174 | 0.341463 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 0 | 1 | 0 | false | 0.125 | 0.125 | 0 | 0.25 | 0.375 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
f46e0c4b2041a03d6326c22e77bfa68e27b8cf76 | 1,164 | py | Python | src/OTLMOW/OTLModel/Datatypes/KlStopcontactAantalPolen.py | davidvlaminck/OTLClassPython | 71330afeb37c3ea6d9981f521ff8f4a3f8b946fc | [
"MIT"
] | 2 | 2022-02-01T08:58:11.000Z | 2022-02-08T13:35:17.000Z | src/OTLMOW/OTLModel/Datatypes/KlStopcontactAantalPolen.py | davidvlaminck/OTLMOW | 71330afeb37c3ea6d9981f521ff8f4a3f8b946fc | [
"MIT"
] | null | null | null | src/OTLMOW/OTLModel/Datatypes/KlStopcontactAantalPolen.py | davidvlaminck/OTLMOW | 71330afeb37c3ea6d9981f521ff8f4a3f8b946fc | [
"MIT"
] | null | null | null | # coding=utf-8
from OTLMOW.OTLModel.Datatypes.KeuzelijstField import KeuzelijstField
from OTLMOW.OTLModel.Datatypes.KeuzelijstWaarde import KeuzelijstWaarde
# Generated with OTLEnumerationCreator. To modify: extend, do not edit
class KlStopcontactAantalPolen(KeuzelijstField):
"""Mogelijke waarden voor het aantal ... | 50.608696 | 125 | 0.694158 | 105 | 1,164 | 7.695238 | 0.466667 | 0.094059 | 0.113861 | 0.163366 | 0.417079 | 0.417079 | 0.316832 | 0.316832 | 0.316832 | 0 | 0 | 0.009772 | 0.208763 | 1,164 | 22 | 126 | 52.909091 | 0.867535 | 0.122852 | 0 | 0 | 1 | 0 | 0.436328 | 0.023692 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.125 | 0 | 0.5625 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
f477e53eabb34e29a39bd1e6df1b357832486178 | 1,798 | py | Python | chrome/common/extensions/docs/server2/appengine_wrappers.py | google-ar/chromium | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2,151 | 2020-04-18T07:31:17.000Z | 2022-03-31T08:39:18.000Z | chrome/common/extensions/docs/server2/appengine_wrappers.py | harrymarkovskiy/WebARonARCore | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 395 | 2020-04-18T08:22:18.000Z | 2021-12-08T13:04:49.000Z | chrome/common/extensions/docs/server2/appengine_wrappers.py | harrymarkovskiy/WebARonARCore | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 338 | 2020-04-18T08:03:10.000Z | 2022-03-29T12:33:22.000Z | # Copyright (c) 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# This will attempt to import the actual App Engine modules, and if it fails,
# they will be replaced with fake modules. This is useful during testing.
... | 29.47541 | 78 | 0.664071 | 235 | 1,798 | 4.965957 | 0.395745 | 0.066838 | 0.047986 | 0.051414 | 0.123393 | 0.123393 | 0.071979 | 0.071979 | 0.071979 | 0 | 0 | 0.005739 | 0.224694 | 1,798 | 60 | 79 | 29.966667 | 0.83142 | 0.195217 | 0 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.315789 | false | 0.026316 | 0.052632 | 0.105263 | 0.605263 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
f482793f42c346df9ee326b63ec2f948c13197aa | 2,847 | py | Python | hug/__init__.py | zhwei820/aio_hug | 8dd596be377ede826a0ab67f162a52f2e8a87c7d | [
"MIT"
] | 3 | 2016-09-13T17:18:15.000Z | 2017-05-25T07:36:58.000Z | hug/__init__.py | zhwei820/aio_hug | 8dd596be377ede826a0ab67f162a52f2e8a87c7d | [
"MIT"
] | null | null | null | hug/__init__.py | zhwei820/aio_hug | 8dd596be377ede826a0ab67f162a52f2e8a87c7d | [
"MIT"
] | 2 | 2017-02-27T01:51:24.000Z | 2017-06-08T03:36:58.000Z | """hug/__init__.py
Everyone needs a hug every once in a while. Even API developers. Hug aims to make developing Python driven APIs as
simple as possible, but no simpler.
Hug's Design Objectives:
- Make developing a Python driven API as succint as a written definition.
- The framework should encourage code that self-... | 50.839286 | 114 | 0.775202 | 424 | 2,847 | 5.134434 | 0.544811 | 0.040423 | 0.017915 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001708 | 0.17738 | 2,847 | 55 | 115 | 51.763636 | 0.927839 | 0.668423 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.052632 | 0.631579 | 0 | 0.631579 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 3 |
be5041733cffc35cb7b1983352134b5abaf2443f | 73 | py | Python | flask_lint/__init__.py | tangwz/Flask-Lint | 3115b6e17e799cb04c34e93b05011eb3ec0736aa | [
"BSD-3-Clause"
] | null | null | null | flask_lint/__init__.py | tangwz/Flask-Lint | 3115b6e17e799cb04c34e93b05011eb3ec0736aa | [
"BSD-3-Clause"
] | null | null | null | flask_lint/__init__.py | tangwz/Flask-Lint | 3115b6e17e799cb04c34e93b05011eb3ec0736aa | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
from .lint import FlaskLint
__version__ = '0.1'
| 14.6 | 27 | 0.630137 | 10 | 73 | 4.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05 | 0.178082 | 73 | 4 | 28 | 18.25 | 0.65 | 0.287671 | 0 | 0 | 0 | 0 | 0.06 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
be65d7ce125bb9d9b93048a004b06edc0af7189d | 51 | py | Python | SnipeITAPI/__init__.py | Razmo99/SnipeITAPI | 91a9a3a2b716c3254af989cad48ff2e00d7a0bc2 | [
"MIT"
] | null | null | null | SnipeITAPI/__init__.py | Razmo99/SnipeITAPI | 91a9a3a2b716c3254af989cad48ff2e00d7a0bc2 | [
"MIT"
] | null | null | null | SnipeITAPI/__init__.py | Razmo99/SnipeITAPI | 91a9a3a2b716c3254af989cad48ff2e00d7a0bc2 | [
"MIT"
] | null | null | null | from .Sessions import Sessions
__version__='0.1.0' | 17 | 30 | 0.784314 | 8 | 51 | 4.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065217 | 0.098039 | 51 | 3 | 31 | 17 | 0.717391 | 0 | 0 | 0 | 0 | 0 | 0.096154 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
be7780c4572112d174d66db7dd6f25f497dccdad | 293,462 | py | Python | windowsbuild/MSVC2017/python/3.7.7/Lib/site-packages/PySide2/examples/widgets/animation/animatedtiles/animatedtiles_rc.py | Tech-XCorp/visit-deps | 23e2bd534bf9c332d6b7d32310495f1f65b1b936 | [
"BSD-3-Clause"
] | null | null | null | windowsbuild/MSVC2017/python/3.7.7/Lib/site-packages/PySide2/examples/widgets/animation/animatedtiles/animatedtiles_rc.py | Tech-XCorp/visit-deps | 23e2bd534bf9c332d6b7d32310495f1f65b1b936 | [
"BSD-3-Clause"
] | null | null | null | windowsbuild/MSVC2017/python/3.7.7/Lib/site-packages/PySide2/examples/widgets/animation/animatedtiles/animatedtiles_rc.py | Tech-XCorp/visit-deps | 23e2bd534bf9c332d6b7d32310495f1f65b1b936 | [
"BSD-3-Clause"
] | null | null | null | # Resource object code (Python 3)
# Created by: object code
# Created by: The Resource Compiler for Qt version 5.14.2
# WARNING! All changes made in this file will be lost!
from PySide2 import QtCore
qt_resource_data = b"\
\x00\x006\xe2\
\x89\
PNG\x0d\x0a\x1a\x0a\x00\x00\x00\x0dIHDR\x00\
\x00\x00d\x00\x00\x00d\x08\x0... | 48.037649 | 96 | 0.711881 | 65,287 | 293,462 | 3.194373 | 0.132492 | 0.006761 | 0.005006 | 0.00328 | 0.013987 | 0.0124 | 0.012218 | 0.011302 | 0.010626 | 0.009561 | 0 | 0.233825 | 0.022354 | 293,462 | 6,108 | 97 | 48.045514 | 0.493081 | 0.000559 | 0 | 0.008529 | 0 | 0.710349 | 0.000627 | 0.000498 | 0 | 0 | 0.000027 | 0 | 0 | 1 | 0.000328 | false | 0 | 0.000164 | 0 | 0.000492 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
beb3ad6f96003643e45bfdd70c2265b3e690e2ae | 1,258 | py | Python | pdfs/AnsiBib.py | tmearnest/sbd | 92e59ed6286ff7b6a036688db086e47951f07cdd | [
"MIT"
] | null | null | null | pdfs/AnsiBib.py | tmearnest/sbd | 92e59ed6286ff7b6a036688db086e47951f07cdd | [
"MIT"
] | null | null | null | pdfs/AnsiBib.py | tmearnest/sbd | 92e59ed6286ff7b6a036688db086e47951f07cdd | [
"MIT"
] | null | null | null | from .Bibtex import JournalAbbr
from .BibFormatter import BibFormatter
from .TermOutput import msg, wrapWithColor, fg, bg, attr, stylize
def _co(x, c):
if x:
return stylize(x,c)
class AnsiBib(BibFormatter):
def tag(self, t):
return _co(t, fg('red') + attr('bold'))
def attachment(self, a):... | 25.673469 | 71 | 0.573132 | 168 | 1,258 | 4.232143 | 0.357143 | 0.101266 | 0.101266 | 0.11955 | 0.04782 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001049 | 0.242448 | 1,258 | 48 | 72 | 26.208333 | 0.745016 | 0 | 0 | 0 | 0 | 0 | 0.052464 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.371429 | false | 0 | 0.085714 | 0.228571 | 0.8 | 0.057143 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.