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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0dfad870a85860c9157a951d25cf6fb2c70be4ac | 137 | py | Python | output/models/sun_data/elem_decl/type_def/type_def01202m/type_def01202m1_xsd/__init__.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | 1 | 2021-08-14T17:59:21.000Z | 2021-08-14T17:59:21.000Z | output/models/sun_data/elem_decl/type_def/type_def01202m/type_def01202m1_xsd/__init__.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | 4 | 2020-02-12T21:30:44.000Z | 2020-04-15T20:06:46.000Z | output/models/sun_data/elem_decl/type_def/type_def01202m/type_def01202m1_xsd/__init__.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | null | null | null | from output.models.sun_data.elem_decl.type_def.type_def01202m.type_def01202m1_xsd.type_def01202m1 import Root
__all__ = [
"Root",
]
| 22.833333 | 109 | 0.80292 | 20 | 137 | 4.95 | 0.75 | 0.282828 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138211 | 0.10219 | 137 | 5 | 110 | 27.4 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0.029197 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 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 |
218aa15a93d9febc29691617f9a9a52710b30694 | 243 | py | Python | vms/cspcevents/models.py | denisemauldin/django-vms | 264b8f8a9e10a50d1df08364287a1f1b5e0c9230 | [
"MIT"
] | 1 | 2020-01-19T17:19:43.000Z | 2020-01-19T17:19:43.000Z | vms/cspcevents/models.py | denisemauldin/django-vms | 264b8f8a9e10a50d1df08364287a1f1b5e0c9230 | [
"MIT"
] | null | null | null | vms/cspcevents/models.py | denisemauldin/django-vms | 264b8f8a9e10a50d1df08364287a1f1b5e0c9230 | [
"MIT"
] | null | null | null | from django.db import models
from schedule.models import Event, EventRelation, Calendar
from vms.locations.models import Location
# Create your models here.
class CSPCEvent(Event):
event_location = models.ForeignKey(Location, default=1)
| 27 | 59 | 0.802469 | 32 | 243 | 6.0625 | 0.625 | 0.123711 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004717 | 0.127572 | 243 | 8 | 60 | 30.375 | 0.910377 | 0.098765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
21918193b02c57da72f18c92a030d9764927de9e | 322 | py | Python | tests/utils/suite_writer/test_container.py | kbh2o/slash | 532b7e3acdf46103ece5b86f21c29f9b58587289 | [
"BSD-3-Clause"
] | 70 | 2015-12-05T12:33:10.000Z | 2022-03-03T04:56:58.000Z | tests/utils/suite_writer/test_container.py | kbh2o/slash | 532b7e3acdf46103ece5b86f21c29f9b58587289 | [
"BSD-3-Clause"
] | 711 | 2015-10-06T11:01:48.000Z | 2022-02-09T12:40:47.000Z | tests/utils/suite_writer/test_container.py | kbh2o/slash | 532b7e3acdf46103ece5b86f21c29f9b58587289 | [
"BSD-3-Clause"
] | 37 | 2015-10-13T11:00:51.000Z | 2022-02-08T07:28:11.000Z | from .element import Element
class SuiteWriterTestContainer(Element):
def __init__(self, suite):
super(SuiteWriterTestContainer, self).__init__(suite)
self._tests = []
@property
def tests(self):
return list(self._tests)
def get_num_tests(self):
return len(self._tests... | 20.125 | 61 | 0.667702 | 35 | 322 | 5.771429 | 0.485714 | 0.133663 | 0.148515 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.236025 | 322 | 15 | 62 | 21.466667 | 0.821138 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0 | 0.1 | 0.2 | 0.7 | 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 |
2192a38d3a2f5c6efdd05356afec6a762ff067d0 | 1,171 | py | Python | jboss_pwd_hash.py | rawiriblundell/scripts | 98d759fca313a0642fffe6612a29445ed0852475 | [
"MIT"
] | 5 | 2016-03-10T15:16:22.000Z | 2019-05-13T17:10:50.000Z | jboss_pwd_hash.py | rawiriblundell/scripts | 98d759fca313a0642fffe6612a29445ed0852475 | [
"MIT"
] | null | null | null | jboss_pwd_hash.py | rawiriblundell/scripts | 98d759fca313a0642fffe6612a29445ed0852475 | [
"MIT"
] | 1 | 2022-02-16T04:38:00.000Z | 2022-02-16T04:38:00.000Z | #!/bin/env python
# A very simple python script to generate jboss/wildfly password hashes
# Requires a username, realm and password
#
# In jboss, these three are hashed as follows (from add-user.sh):
# "
# By default the properties realm expects the entries to be in the format: -
# username=HEX( MD5( username ':'... | 30.815789 | 95 | 0.731853 | 168 | 1,171 | 5.089286 | 0.666667 | 0.045614 | 0.049123 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019527 | 0.169086 | 1,171 | 37 | 96 | 31.648649 | 0.859198 | 0.745517 | 0 | 0 | 1 | 0 | 0.192029 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.125 | 0.125 | null | null | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
21aa9aec5814c8bc2e138184ca4cb0c2fd29200e | 171 | py | Python | backend/lists/admin.py | xelam11/TaskPlanner | c1e940d2a9babba7721c0f2d261e1c7df9c48581 | [
"BSD-3-Clause"
] | null | null | null | backend/lists/admin.py | xelam11/TaskPlanner | c1e940d2a9babba7721c0f2d261e1c7df9c48581 | [
"BSD-3-Clause"
] | null | null | null | backend/lists/admin.py | xelam11/TaskPlanner | c1e940d2a9babba7721c0f2d261e1c7df9c48581 | [
"BSD-3-Clause"
] | null | null | null | from django.contrib import admin
from .models import List
class ListAdmin(admin.ModelAdmin):
list_filter = ('board', 'name')
admin.site.register(List, ListAdmin)
| 15.545455 | 36 | 0.74269 | 22 | 171 | 5.727273 | 0.681818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146199 | 171 | 10 | 37 | 17.1 | 0.863014 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
df0d1915fd7444f9a8cb25c158ffc72ebae0bf59 | 648 | py | Python | feedsearch_crawler/crawler/__init__.py | DBeath/feedsearch-crawler | 91258ecf6c7c25808ac5d4b5e1c5a7b96981bbe9 | [
"MIT"
] | 20 | 2019-11-02T18:46:11.000Z | 2022-03-18T16:22:32.000Z | feedsearch_crawler/crawler/__init__.py | DBeath/feedsearch-crawler | 91258ecf6c7c25808ac5d4b5e1c5a7b96981bbe9 | [
"MIT"
] | 8 | 2019-11-02T08:26:17.000Z | 2021-05-07T15:11:17.000Z | feedsearch_crawler/crawler/__init__.py | DBeath/feedsearch-crawler | 91258ecf6c7c25808ac5d4b5e1c5a7b96981bbe9 | [
"MIT"
] | 5 | 2020-06-18T15:44:48.000Z | 2022-02-19T14:21:47.000Z | from feedsearch_crawler.crawler.crawler import Crawler
from feedsearch_crawler.crawler.duplicatefilter import DuplicateFilter
from feedsearch_crawler.crawler.item import Item
from feedsearch_crawler.crawler.item_parser import ItemParser
from feedsearch_crawler.crawler.lib import (
to_string,
to_bytes,
coerc... | 24.923077 | 70 | 0.757716 | 70 | 648 | 6.757143 | 0.257143 | 0.236786 | 0.310782 | 0.414376 | 0.135307 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160494 | 648 | 25 | 71 | 25.92 | 0.869485 | 0 | 0 | 0 | 0 | 0 | 0.141975 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.291667 | 0 | 0.291667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
df343e32037d2c6bee32a1cdf0130dbe17b60636 | 182 | py | Python | src/tinder/v2/__init__.py | maxime-peim/tinder-api | 82333eb11fc6e5c2bb61ce51b11e78910ef1dd37 | [
"MIT"
] | null | null | null | src/tinder/v2/__init__.py | maxime-peim/tinder-api | 82333eb11fc6e5c2bb61ce51b11e78910ef1dd37 | [
"MIT"
] | null | null | null | src/tinder/v2/__init__.py | maxime-peim/tinder-api | 82333eb11fc6e5c2bb61ce51b11e78910ef1dd37 | [
"MIT"
] | 1 | 2021-12-28T01:13:29.000Z | 2021-12-28T01:13:29.000Z | import tinder
class V2Exception(tinder.APIException):
pass
URL = tinder.URL / 'v2'
BUCKET_EP = URL / 'buckets'
RECS_EP = URL / 'user' / 'recs'
MATCHES = URL / 'matches' | 20.222222 | 40 | 0.648352 | 23 | 182 | 5.043478 | 0.608696 | 0.086207 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014085 | 0.21978 | 182 | 9 | 41 | 20.222222 | 0.802817 | 0 | 0 | 0 | 0 | 0 | 0.137143 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.142857 | 0.142857 | 0 | 0.285714 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
df4554b98b4ab3bc7dd00b1f5b2104b6dc095659 | 99 | py | Python | Ogrenciler/Burcu/05DATASTRUCTRE/nesnetaban.py | ProEgitim/Python-Dersleri-BEM | b25e9fdb1fa3026925a46b2fcbcba348726b775c | [
"MIT"
] | 1 | 2021-04-18T17:35:22.000Z | 2021-04-18T17:35:22.000Z | Ogrenciler/Burcu/05DATASTRUCTRE/nesnetaban.py | waroi/Python-Dersleri-BEM | b25e9fdb1fa3026925a46b2fcbcba348726b775c | [
"MIT"
] | null | null | null | Ogrenciler/Burcu/05DATASTRUCTRE/nesnetaban.py | waroi/Python-Dersleri-BEM | b25e9fdb1fa3026925a46b2fcbcba348726b775c | [
"MIT"
] | 2 | 2021-04-18T18:22:26.000Z | 2021-04-24T17:16:19.000Z | class Calisan():
def __init__(self,isim,maas):
print("Çalışan sınıfının init fonsksiy") | 33 | 48 | 0.686869 | 12 | 99 | 5.333333 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.191919 | 99 | 3 | 48 | 33 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.31 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
df769abb29c99c1facddbeae7fe9c251c2e3046d | 356 | py | Python | metaprogramming/metaclass2.py | wapj/pyconkr2019 | 29a2b97ee31662759b1e26e55644aa37cb0f3884 | [
"Apache-2.0"
] | 10 | 2019-08-15T15:29:36.000Z | 2019-09-20T07:54:14.000Z | metaprogramming/metaclass2.py | wapj/pyconkr2019 | 29a2b97ee31662759b1e26e55644aa37cb0f3884 | [
"Apache-2.0"
] | null | null | null | metaprogramming/metaclass2.py | wapj/pyconkr2019 | 29a2b97ee31662759b1e26e55644aa37cb0f3884 | [
"Apache-2.0"
] | 2 | 2019-08-15T05:50:48.000Z | 2019-08-15T05:51:10.000Z | def make_class(name):
if name == "pdf":
class PdfFile:
pass
return PdfFile
else:
class TxtFile:
pass
return TxtFile
PdfFile = make_class("pdf")
print(PdfFile)
print(PdfFile())
<class '__main__.make_class.<locals>.PdfFile'>
<__main__.make_class.<loc... | 15.478261 | 60 | 0.61236 | 40 | 356 | 5.15 | 0.425 | 0.174757 | 0.126214 | 0.184466 | 0.252427 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039063 | 0.280899 | 356 | 22 | 61 | 16.181818 | 0.765625 | 0 | 0 | 0.142857 | 0 | 0 | 0.117978 | 0.101124 | 0 | 0 | 0.030899 | 0 | 0 | 0 | null | null | 0.142857 | 0 | null | null | 0.142857 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
df83e20ddeba6a2fa80d9975cbd03c1b0f376023 | 1,062 | py | Python | pylti1p3/contrib/django/oidc_login.py | edubadges/pylti1.3 | 46534384b79076d254ff3e94676ae6155e77a05e | [
"MIT"
] | 62 | 2019-08-13T11:24:36.000Z | 2022-03-11T16:24:55.000Z | pylti1p3/contrib/django/oidc_login.py | edubadges/pylti1.3 | 46534384b79076d254ff3e94676ae6155e77a05e | [
"MIT"
] | 58 | 2019-08-13T13:27:27.000Z | 2022-03-28T11:00:56.000Z | pylti1p3/contrib/django/oidc_login.py | edubadges/pylti1.3 | 46534384b79076d254ff3e94676ae6155e77a05e | [
"MIT"
] | 35 | 2019-10-11T18:26:02.000Z | 2022-03-29T08:33:00.000Z | from django.http import HttpResponse # type: ignore
from pylti1p3.oidc_login import OIDCLogin
from pylti1p3.request import Request
from .cookie import DjangoCookieService
from .redirect import DjangoRedirect
from .request import DjangoRequest
from .session import DjangoSessionService
class DjangoOIDCLogin(OIDCLogin... | 42.48 | 114 | 0.763653 | 118 | 1,062 | 6.601695 | 0.338983 | 0.100128 | 0.043646 | 0.061617 | 0.079589 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004598 | 0.180791 | 1,062 | 24 | 115 | 44.25 | 0.890805 | 0.011299 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.388889 | 0.111111 | 0.722222 | 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 |
df900c3a83cb42b30c594c8d3350c367f1bb7082 | 67 | py | Python | exercicios/exercicio030.py | NicoCassio/cursoemvideo-python | 2686ff74f4d45bdb0dc194f49f4dd19aae629d52 | [
"MIT"
] | null | null | null | exercicios/exercicio030.py | NicoCassio/cursoemvideo-python | 2686ff74f4d45bdb0dc194f49f4dd19aae629d52 | [
"MIT"
] | null | null | null | exercicios/exercicio030.py | NicoCassio/cursoemvideo-python | 2686ff74f4d45bdb0dc194f49f4dd19aae629d52 | [
"MIT"
] | null | null | null | n = int(input('Número: '))
print('PAR' if n % 2 == 0 else 'ÍMPAR')
| 22.333333 | 39 | 0.552239 | 12 | 67 | 3.083333 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 0.19403 | 67 | 2 | 40 | 33.5 | 0.648148 | 0 | 0 | 0 | 0 | 0 | 0.238806 | 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 |
10bf451294030b8fe61b51c96b19aca7fe10ff9b | 415 | py | Python | pyecharts/charts/mixins.py | CharileWithZoe/pyecharts | dbded9a8932cc13840b7d130802176fd88a97bf8 | [
"MIT"
] | 11,032 | 2017-12-21T01:21:38.000Z | 2022-03-31T23:02:38.000Z | pyecharts/charts/mixins.py | reed-hong/pyecharts | 5f01f2fb43d1602a46d77234721450008cbff7eb | [
"MIT"
] | 1,687 | 2017-12-21T02:10:47.000Z | 2022-03-31T14:31:45.000Z | pyecharts/charts/mixins.py | reed-hong/pyecharts | 5f01f2fb43d1602a46d77234721450008cbff7eb | [
"MIT"
] | 2,528 | 2017-12-21T07:57:52.000Z | 2022-03-30T15:34:51.000Z | from ..render import engine
class ChartMixin:
def add_js_funcs(self, *fns):
for fn in fns:
self.js_functions.add(fn)
return self
def load_javascript(self):
return engine.load_javascript(self)
class CompositeMixin(ChartMixin):
def __iter__(self):
for chart in ... | 19.761905 | 43 | 0.631325 | 52 | 415 | 4.75 | 0.480769 | 0.105263 | 0.145749 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.289157 | 415 | 20 | 44 | 20.75 | 0.837288 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.071429 | 0.142857 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
10e133a32a090fddc672dff0be2e8604c85ac175 | 470 | py | Python | src/tools/pid_printer.py | rishvantsingh/kmlog | e40e1c062a4e9f25ada1a176cc4ebeb9ecbda81c | [
"MIT"
] | null | null | null | src/tools/pid_printer.py | rishvantsingh/kmlog | e40e1c062a4e9f25ada1a176cc4ebeb9ecbda81c | [
"MIT"
] | null | null | null | src/tools/pid_printer.py | rishvantsingh/kmlog | e40e1c062a4e9f25ada1a176cc4ebeb9ecbda81c | [
"MIT"
] | null | null | null | # Copyright 2021 - 2022, Alvin Kuruvilla <alvineasokuruvilla@gmail.com>, Dr. Rajesh Kumar <Rajesh.Kumar@hofstra.edu>
# Use of this source code is governed by an MIT-style
# license that can be found in the LICENSE file or at
# https://opensource.org/licenses/MIT.
# This is a small debug utility to print the pid KMLog... | 29.375 | 116 | 0.746809 | 77 | 470 | 4.519481 | 0.779221 | 0.063218 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02046 | 0.168085 | 470 | 15 | 117 | 31.333333 | 0.869565 | 0.740426 | 0 | 0 | 0 | 0 | 0.026087 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0 | 0.6 | 0.4 | 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 |
8013d28fd6dbd24d6729e0d480b04a2fa91a0e0e | 202 | py | Python | 003-input.py | richardvecsey/python-basics | b66abef77bce2ddd6f2f39b631e1dd97a9aa2fac | [
"MIT"
] | 3 | 2019-12-29T18:52:21.000Z | 2020-02-20T09:18:08.000Z | 003-input.py | richardvecsey/python-basics | b66abef77bce2ddd6f2f39b631e1dd97a9aa2fac | [
"MIT"
] | null | null | null | 003-input.py | richardvecsey/python-basics | b66abef77bce2ddd6f2f39b631e1dd97a9aa2fac | [
"MIT"
] | 2 | 2020-02-20T09:18:13.000Z | 2020-06-04T04:51:44.000Z | """
Get input from user via console or command line
-----------------------------------------------
Output: (string)
"""
name = input('What is your name? ')
print('Hello {}!'.format(name)) | 25.25 | 48 | 0.465347 | 21 | 202 | 4.47619 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178218 | 202 | 8 | 49 | 25.25 | 0.566265 | 0.574257 | 0 | 0 | 0 | 0 | 0.4 | 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 |
80296ef3b8c5dc8ef17196033345f4e49b92bcf4 | 416 | py | Python | tests/wheel_google_cloud.py | gflaherty/rules_pyz | 900546b12e880f272c82534cdd2423dcb109e795 | [
"Apache-2.0"
] | 26 | 2018-01-29T23:28:45.000Z | 2020-12-01T21:30:32.000Z | tests/wheel_google_cloud.py | gflaherty/rules_pyz | 900546b12e880f272c82534cdd2423dcb109e795 | [
"Apache-2.0"
] | 28 | 2018-03-31T19:41:12.000Z | 2019-01-30T21:57:43.000Z | tests/wheel_google_cloud.py | gflaherty/rules_pyz | 900546b12e880f272c82534cdd2423dcb109e795 | [
"Apache-2.0"
] | 17 | 2018-03-08T21:30:22.000Z | 2019-11-22T17:16:00.000Z | import google
print 'google:', google, google.__path__
import google.cloud
print 'google.cloud:', google.cloud
import google.cloud.datastore
def main():
# tests "extras" dependencies, as well as native dependencies
# google.cloud is also an "implicit" namespace package: the tool needs to make it a "real"
... | 24.470588 | 94 | 0.71875 | 55 | 416 | 5.218182 | 0.563636 | 0.229965 | 0.118467 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177885 | 416 | 16 | 95 | 26 | 0.839181 | 0.375 | 0 | 0 | 0 | 0 | 0.144531 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.333333 | null | null | 0.333333 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
3387750e0604aeadc6dbcf98dcb9ac6da84e5c4e | 324 | py | Python | toleranceinterval/__init__.py | jedludlow/tolerance_interval_py | cf3ecd1e2f9b870de3e71bc92e07e6394510c001 | [
"MIT"
] | 9 | 2021-12-15T22:54:24.000Z | 2022-03-12T00:25:07.000Z | toleranceinterval/__init__.py | jedludlow/tolerance_interval_py | cf3ecd1e2f9b870de3e71bc92e07e6394510c001 | [
"MIT"
] | 5 | 2019-11-07T15:26:21.000Z | 2022-02-25T19:40:50.000Z | toleranceinterval/__init__.py | jedludlow/tolerance_interval_py | cf3ecd1e2f9b870de3e71bc92e07e6394510c001 | [
"MIT"
] | 1 | 2021-03-11T19:28:22.000Z | 2021-03-11T19:28:22.000Z | from . import oneside # noqa F401
from . import twoside # noqa F401
from . import hk # noqa F401
from . import checks # noqa F401
import os as _os # noqa F401
# add rudimentary version tracking
__VERSION_FILE__ = _os.path.join(_os.path.dirname(__file__), 'VERSION')
__version__ = open(__VERSION_FILE__).read().stri... | 32.4 | 71 | 0.740741 | 46 | 324 | 4.76087 | 0.456522 | 0.182648 | 0.164384 | 0.246575 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055351 | 0.16358 | 324 | 9 | 72 | 36 | 0.752768 | 0.253086 | 0 | 0 | 0 | 0 | 0.029787 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.714286 | 0 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
33fbea5c272fb0f3fc8967a705d8595fa5b4cd0e | 493 | py | Python | venv/lib/python2.7/site-packages/boxsdk/util/compat.py | LockScreen/Backend | 42485a997f365172c7a63527f0df3b5707fd23f9 | [
"MIT"
] | 1 | 2016-04-07T12:16:09.000Z | 2016-04-07T12:16:09.000Z | venv/lib/python2.7/site-packages/boxsdk/util/compat.py | LockScreen/Backend | 42485a997f365172c7a63527f0df3b5707fd23f9 | [
"MIT"
] | null | null | null | venv/lib/python2.7/site-packages/boxsdk/util/compat.py | LockScreen/Backend | 42485a997f365172c7a63527f0df3b5707fd23f9 | [
"MIT"
] | null | null | null | # coding: utf-8
from __future__ import division, unicode_literals
from datetime import timedelta
if not hasattr(timedelta, 'total_seconds'):
def total_seconds(delta):
"""
Return the total number of seconds represented by this timedelta.
Python 2.6 does not define this method.
"""... | 27.388889 | 98 | 0.663286 | 63 | 493 | 5.047619 | 0.587302 | 0.150943 | 0.09434 | 0.125786 | 0.163522 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040214 | 0.243408 | 493 | 17 | 99 | 29 | 0.812332 | 0.243408 | 0 | 0.25 | 0 | 0 | 0.038123 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.125 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
d5078853b2b46b7ee02b461d4b74ca77630c7254 | 2,741 | py | Python | nicos_mlz/mira/setups/memograph.py | ebadkamil/nicos | 0355a970d627aae170c93292f08f95759c97f3b5 | [
"CC-BY-3.0",
"Apache-2.0",
"CC-BY-4.0"
] | null | null | null | nicos_mlz/mira/setups/memograph.py | ebadkamil/nicos | 0355a970d627aae170c93292f08f95759c97f3b5 | [
"CC-BY-3.0",
"Apache-2.0",
"CC-BY-4.0"
] | 1 | 2021-08-18T10:55:42.000Z | 2021-08-18T10:55:42.000Z | nicos_mlz/mira/setups/memograph.py | ISISComputingGroup/nicos | 94cb4d172815919481f8c6ee686f21ebb76f2068 | [
"CC-BY-3.0",
"Apache-2.0",
"CC-BY-4.0"
] | null | null | null | description = 'memograph readout'
group = 'optional'
devices = dict(
t_in_fak40 = device('nicos_mlz.devices.memograph.MemographValue',
hostname = 'memograph02.care.frm2',
group = 1,
valuename = 'T_in MIRA',
description = 'inlet temperature memograph',
fmtstr = '%.2F',
... | 31.147727 | 73 | 0.557461 | 271 | 2,741 | 5.535055 | 0.195572 | 0.058667 | 0.085333 | 0.101333 | 0.754667 | 0.732 | 0.732 | 0.732 | 0.575333 | 0.575333 | 0 | 0.053191 | 0.314119 | 2,741 | 87 | 74 | 31.505747 | 0.744681 | 0.018971 | 0 | 0.623529 | 0 | 0 | 0.318317 | 0.18764 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
1d1e0650413da99f824707fe31010fdb24b18ad6 | 2,197 | py | Python | src/python/src/grpc/framework/foundation/later.py | iMilind/grpc | f5b20ce8ec0c1dde684840f6ea8dcf80822bbb1d | [
"BSD-3-Clause"
] | 2 | 2018-01-19T12:18:59.000Z | 2019-07-08T15:02:18.000Z | src/python/src/grpc/framework/foundation/later.py | iMilind/grpc | f5b20ce8ec0c1dde684840f6ea8dcf80822bbb1d | [
"BSD-3-Clause"
] | 3 | 2020-12-31T09:08:34.000Z | 2021-09-28T05:42:02.000Z | third_party/grpc/src/python/src/grpc/framework/foundation/later.py | acidburn0zzz/kythe | 6cd4e9c81a1158de43ec783607a4d7edd9b7e4a0 | [
"Apache-2.0"
] | 8 | 2016-10-23T00:50:02.000Z | 2019-04-21T11:11:57.000Z | # Copyright 2015, Google Inc.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
#
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the f... | 42.25 | 79 | 0.773327 | 309 | 2,197 | 5.475728 | 0.527508 | 0.032506 | 0.020095 | 0.027187 | 0.108747 | 0.080378 | 0.080378 | 0.080378 | 0.080378 | 0.080378 | 0 | 0.00221 | 0.176149 | 2,197 | 51 | 80 | 43.078431 | 0.932597 | 0.859354 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
1d232fdccc51c0310427e7ac3cdbe747e65956be | 124 | py | Python | pro1/interviews/urls.py | BhanuPrakashNani/StudentPortal | 689f12e693c01b5f78e8acee7e77b390434ae047 | [
"MIT"
] | null | null | null | pro1/interviews/urls.py | BhanuPrakashNani/StudentPortal | 689f12e693c01b5f78e8acee7e77b390434ae047 | [
"MIT"
] | null | null | null | pro1/interviews/urls.py | BhanuPrakashNani/StudentPortal | 689f12e693c01b5f78e8acee7e77b390434ae047 | [
"MIT"
] | 1 | 2019-12-08T16:13:28.000Z | 2019-12-08T16:13:28.000Z | from django.urls import path,include
from . import views
urlpatterns = [
path('',views.home, name='interview-home'),
]
| 17.714286 | 47 | 0.701613 | 16 | 124 | 5.4375 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153226 | 124 | 6 | 48 | 20.666667 | 0.828571 | 0 | 0 | 0 | 0 | 0 | 0.112903 | 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 |
1d30d8350eea32b0f211fab872439307b9d10a26 | 265 | py | Python | core/filters.py | ankit94/ShoppingWebsiteDjango | 3032154f500f3285ff6a986fbcc9ea6a34e23b04 | [
"MIT"
] | null | null | null | core/filters.py | ankit94/ShoppingWebsiteDjango | 3032154f500f3285ff6a986fbcc9ea6a34e23b04 | [
"MIT"
] | null | null | null | core/filters.py | ankit94/ShoppingWebsiteDjango | 3032154f500f3285ff6a986fbcc9ea6a34e23b04 | [
"MIT"
] | null | null | null | import django_filters
from django_filters import CharFilter
from .models import Item
class ItemFilter(django_filters.FilterSet):
title = CharFilter(field_name='title', lookup_expr='icontains')
class Meta:
model = Item
fields = ['title']
| 20.384615 | 67 | 0.720755 | 31 | 265 | 6 | 0.612903 | 0.209677 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.196226 | 265 | 12 | 68 | 22.083333 | 0.873239 | 0 | 0 | 0 | 0 | 0 | 0.071698 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.375 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
1d3998496d8dc719c02ce26d2046be00bc340a96 | 103 | py | Python | caption_vae/version.py | jiahuei/test-caption-actions | cbf68dc29a0fdafe92730bf4881319bcbd41eb7f | [
"BSD-3-Clause"
] | 3 | 2021-01-24T00:28:40.000Z | 2021-02-04T12:34:07.000Z | caption_vae/version.py | jiahuei/test-caption-actions | cbf68dc29a0fdafe92730bf4881319bcbd41eb7f | [
"BSD-3-Clause"
] | null | null | null | caption_vae/version.py | jiahuei/test-caption-actions | cbf68dc29a0fdafe92730bf4881319bcbd41eb7f | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on 31 Dec 2020 12:18:55
@author: jiahuei
"""
__version__ = "0.4.0"
| 14.714286 | 31 | 0.592233 | 17 | 103 | 3.352941 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188235 | 0.174757 | 103 | 6 | 32 | 17.166667 | 0.482353 | 0.68932 | 0 | 0 | 0 | 0 | 0.208333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
1d4f05af00cd2687dc2b5283faef8e0fa1dc1dac | 227 | py | Python | Contest/ABC001/b/main.py | mpses/AtCoder | 9c101fcc0a1394754fcf2385af54b05c30a5ae2a | [
"CC0-1.0"
] | null | null | null | Contest/ABC001/b/main.py | mpses/AtCoder | 9c101fcc0a1394754fcf2385af54b05c30a5ae2a | [
"CC0-1.0"
] | null | null | null | Contest/ABC001/b/main.py | mpses/AtCoder | 9c101fcc0a1394754fcf2385af54b05c30a5ae2a | [
"CC0-1.0"
] | null | null | null | #!/usr/bin/env python3
m = int(input())
if m < 100:
print("00")
elif m <= 5000:
print(str(m//100).zfill(2))
elif m <= 30000:
print(m//1000 + 50)
elif m <= 70000:
print((m//1000 - 30)//5 + 80)
else:
print(89) | 18.916667 | 33 | 0.54185 | 40 | 227 | 3.075 | 0.625 | 0.121951 | 0.162602 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.234286 | 0.229075 | 227 | 12 | 34 | 18.916667 | 0.468571 | 0.092511 | 0 | 0 | 0 | 0 | 0.009709 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.454545 | 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 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
1d7d81bbe93d00c4eeadb773fe231e933ad548a3 | 134 | py | Python | scratch_2.py | ddsanchezc/PythonSourceCode | cc9c6d64bdf5ce5280fb7e0721e60642bb4d50b6 | [
"Apache-2.0"
] | null | null | null | scratch_2.py | ddsanchezc/PythonSourceCode | cc9c6d64bdf5ce5280fb7e0721e60642bb4d50b6 | [
"Apache-2.0"
] | null | null | null | scratch_2.py | ddsanchezc/PythonSourceCode | cc9c6d64bdf5ce5280fb7e0721e60642bb4d50b6 | [
"Apache-2.0"
] | null | null | null |
temp=int(input("Ingrese la temperatura"))
print("f° c°")
for temp in range(0,temp,2):
print(temp," ",int((temp-32)*5/9))
| 22.333333 | 42 | 0.589552 | 25 | 134 | 3.24 | 0.72 | 0.17284 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054545 | 0.179104 | 134 | 5 | 43 | 26.8 | 0.663636 | 0 | 0 | 0 | 0 | 0 | 0.242188 | 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 |
1d8c9c4ba03876ecd15166c0d8fbacaa33d75495 | 64 | py | Python | example/development.py | cclauss/django-authority | 97cd73f9d782403e1e7dc8f2f182e5cd36e977be | [
"BSD-3-Clause"
] | 2 | 2019-10-03T03:38:21.000Z | 2021-09-30T22:47:33.000Z | example/development.py | supercodepoet/django-authority | 9c17430b03ed1c0a51cf50194786100601c3ea2e | [
"BSD-3-Clause"
] | null | null | null | example/development.py | supercodepoet/django-authority | 9c17430b03ed1c0a51cf50194786100601c3ea2e | [
"BSD-3-Clause"
] | 1 | 2021-09-30T22:47:34.000Z | 2021-09-30T22:47:34.000Z |
from example.settings import *
DEBUG=True
TEMPLATE_DEBUG=DEBUG
| 12.8 | 30 | 0.828125 | 9 | 64 | 5.777778 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109375 | 64 | 4 | 31 | 16 | 0.912281 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
1da30d9ff843108aa798a347dd23de20035e8594 | 359 | py | Python | misago/misago/users/models/__init__.py | vascoalramos/misago-deployment | 20226072138403108046c0afad9d99eb4163cedc | [
"MIT"
] | 2 | 2021-03-06T21:06:13.000Z | 2021-03-09T15:05:12.000Z | misago/misago/users/models/__init__.py | vascoalramos/misago-deployment | 20226072138403108046c0afad9d99eb4163cedc | [
"MIT"
] | null | null | null | misago/misago/users/models/__init__.py | vascoalramos/misago-deployment | 20226072138403108046c0afad9d99eb4163cedc | [
"MIT"
] | null | null | null | from .rank import Rank
from .online import Online
from .user import AnonymousUser, User, UsernameChange
from .activityranking import ActivityRanking
from .avatar import Avatar
from .audittrail import AuditTrail
from .avatargallery import AvatarGallery
from .ban import Ban, BanCache
from .datadownload import DataDownloa... | 32.636364 | 53 | 0.844011 | 43 | 359 | 7.046512 | 0.348837 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119777 | 359 | 10 | 54 | 35.9 | 0.958861 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
1da815e0d2ceff6dfbf174743f172e3aceca6fcf | 1,432 | py | Python | pyaud/exceptions.py | jshwi/pyaud | c3268e56b483661fb8baa6da8c4c96420f0f74b3 | [
"MIT"
] | 2 | 2021-02-03T01:18:17.000Z | 2021-06-28T07:24:29.000Z | pyaud/exceptions.py | jshwi/pyaud | c3268e56b483661fb8baa6da8c4c96420f0f74b3 | [
"MIT"
] | 31 | 2021-11-11T15:27:14.000Z | 2022-03-18T14:44:51.000Z | pyaud/exceptions.py | jshwi/pyaud | c3268e56b483661fb8baa6da8c4c96420f0f74b3 | [
"MIT"
] | null | null | null | """
pyaud.exceptions
================
Exceptions for use within the module.
All exceptions made public for if they need to be reraised or excepted.
Exceptions are already built into the architecture but can be used in
new plugins as well.
"""
from typing import Optional as _Optional
class AuditError(Exception):
... | 27.018868 | 71 | 0.677374 | 189 | 1,432 | 4.952381 | 0.534392 | 0.029915 | 0.047009 | 0.051282 | 0.060897 | 0.042735 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210196 | 1,432 | 52 | 72 | 27.538462 | 0.827586 | 0.482542 | 0 | 0 | 0 | 0 | 0.173021 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0.071429 | 0.071429 | 0 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
d518a1bb8a538e508b29eee150e9e519a7a462ff | 140 | py | Python | manim.py | sailist/manim | 4df0d4c7e1a32f0205d39c147fed482ef316ea60 | [
"MIT"
] | 2 | 2017-05-17T11:43:10.000Z | 2019-10-13T14:07:50.000Z | manim.py | sailist/manim | 4df0d4c7e1a32f0205d39c147fed482ef316ea60 | [
"MIT"
] | null | null | null | manim.py | sailist/manim | 4df0d4c7e1a32f0205d39c147fed482ef316ea60 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
import manimlib
if __name__ == "__main__":
manimlib.main()
else:
manimlib.stream_starter.start_livestream()
| 15.555556 | 46 | 0.721429 | 17 | 140 | 5.352941 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 140 | 8 | 47 | 17.5 | 0.764706 | 0.142857 | 0 | 0 | 0 | 0 | 0.067227 | 0 | 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 |
d51ea0e58d6d028b14532cac16a64c271be024d8 | 313 | py | Python | Abstract/GameEngine.py | BoogyWinterfell/friday-fun | 686e8c53415e748db437e74c3e2b02afcd9695bf | [
"MIT"
] | null | null | null | Abstract/GameEngine.py | BoogyWinterfell/friday-fun | 686e8c53415e748db437e74c3e2b02afcd9695bf | [
"MIT"
] | null | null | null | Abstract/GameEngine.py | BoogyWinterfell/friday-fun | 686e8c53415e748db437e74c3e2b02afcd9695bf | [
"MIT"
] | null | null | null | import abc
from typing import List, Dict
from Abstract.GameAction import GameAction
from Abstract.EngineGameInfo import EngineGameInfo
class GameEngine(metaclass=abc.ABCMeta):
@abc.abstractmethod
def resolve_actions(self, actions: Dict[str, List[GameAction]], game_state: EngineGameInfo):
pass
| 26.083333 | 96 | 0.785942 | 37 | 313 | 6.594595 | 0.594595 | 0.098361 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14377 | 313 | 11 | 97 | 28.454545 | 0.910448 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0.125 | 0.5 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 3 |
d520427735ec1b7fb28fa9b5ac91b11e45d1a320 | 190 | py | Python | covid/serializers.py | YueZhao2019/covid-information-system-backend | 2e20015b5f3ef2f05455e6a23dc3bced7db346b1 | [
"MIT"
] | null | null | null | covid/serializers.py | YueZhao2019/covid-information-system-backend | 2e20015b5f3ef2f05455e6a23dc3bced7db346b1 | [
"MIT"
] | null | null | null | covid/serializers.py | YueZhao2019/covid-information-system-backend | 2e20015b5f3ef2f05455e6a23dc3bced7db346b1 | [
"MIT"
] | null | null | null | from rest_framework import serializers
from covid.models import Covid
class CovidSerializer(serializers.ModelSerializer):
class Meta:
model = Covid
fields = '__all__'
| 19 | 51 | 0.731579 | 20 | 190 | 6.7 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.215789 | 190 | 9 | 52 | 21.111111 | 0.899329 | 0 | 0 | 0 | 0 | 0 | 0.036842 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
d520ced776c64fd8a3381d4d64ec9066e55e8de2 | 71 | py | Python | Chambers_Jess/Assignments/stars_part1.py | webguru001/Python-Django-Web | 6264bc4c90ef1432ba0902c76b567cf3caaae221 | [
"MIT"
] | 5 | 2019-05-17T01:30:02.000Z | 2021-06-17T21:02:58.000Z | Chambers_Jess/Assignments/stars_part1.py | curest0x1021/Python-Django-Web | 6264bc4c90ef1432ba0902c76b567cf3caaae221 | [
"MIT"
] | null | null | null | Chambers_Jess/Assignments/stars_part1.py | curest0x1021/Python-Django-Web | 6264bc4c90ef1432ba0902c76b567cf3caaae221 | [
"MIT"
] | null | null | null | def draw_stars(list):
for value in list:
print "*" * value
| 17.75 | 25 | 0.577465 | 10 | 71 | 4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.309859 | 71 | 3 | 26 | 23.666667 | 0.816327 | 0 | 0 | 0 | 0 | 0 | 0.014085 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
d5516358501529bd6a687086d03c80e388051a48 | 281 | py | Python | Day_3/Day_3_Cards_of_the_Same_Suit.py | Kasun-se-2018-023/HackerRank_10_days_statistics_course | 7a3c34def304b5c4d201a9efc9cf94dfafc4cc57 | [
"MIT"
] | 1 | 2021-10-10T06:43:55.000Z | 2021-10-10T06:43:55.000Z | Day_3/Day_3_Cards_of_the_Same_Suit.py | Kasun-se-2018-023/HackerRank_10_days_statistics_course | 7a3c34def304b5c4d201a9efc9cf94dfafc4cc57 | [
"MIT"
] | null | null | null | Day_3/Day_3_Cards_of_the_Same_Suit.py | Kasun-se-2018-023/HackerRank_10_days_statistics_course | 7a3c34def304b5c4d201a9efc9cf94dfafc4cc57 | [
"MIT"
] | 1 | 2021-08-04T17:29:40.000Z | 2021-08-04T17:29:40.000Z | No need to use combinations or permutations. There are 13 cards of each suit. Draw one card. It can be anything with probability of 1.
Now there are 51 cards left and 12 of them are the same suit as the first card you drew. So the chance the second card matches the 1st is 12/51.
| 93.666667 | 144 | 0.772242 | 57 | 281 | 3.807018 | 0.736842 | 0.073733 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.053571 | 0.202847 | 281 | 2 | 145 | 140.5 | 0.915179 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
d5802d7e00ad92e0525fb751ab96df61c7adb7c0 | 79 | py | Python | flow/envs/bay_bridge/__init__.py | pcmoritz/flow | bc97132e9e2d05262bb6bbad5bda173fd9f4ae92 | [
"MIT"
] | 16 | 2018-05-25T06:30:28.000Z | 2020-08-08T00:03:47.000Z | flow/envs/bay_bridge/__init__.py | pcmoritz/flow | bc97132e9e2d05262bb6bbad5bda173fd9f4ae92 | [
"MIT"
] | 46 | 2018-05-22T21:32:55.000Z | 2019-06-12T13:10:02.000Z | flow/envs/bay_bridge/__init__.py | pcmoritz/flow | bc97132e9e2d05262bb6bbad5bda173fd9f4ae92 | [
"MIT"
] | 6 | 2018-06-22T14:59:14.000Z | 2019-08-29T06:00:34.000Z | from flow.envs.bay_bridge.base import BayBridgeEnv
__all__ = ["BayBridgeEnv"]
| 19.75 | 50 | 0.797468 | 10 | 79 | 5.8 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101266 | 79 | 3 | 51 | 26.333333 | 0.816901 | 0 | 0 | 0 | 0 | 0 | 0.151899 | 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 |
d581fc2ac6fc8ce14b4f2454935eebc0f5c6df6c | 8,741 | py | Python | balancer/balancer.py | jawilk/balancer-exchange-python | e842a44b89a06da78edee2053dc80418b207ff41 | [
"MIT"
] | 6 | 2021-02-09T04:16:13.000Z | 2022-01-03T00:40:39.000Z | balancer/balancer.py | jawilk/balancer-exchange-python | e842a44b89a06da78edee2053dc80418b207ff41 | [
"MIT"
] | null | null | null | balancer/balancer.py | jawilk/balancer-exchange-python | e842a44b89a06da78edee2053dc80418b207ff41 | [
"MIT"
] | 1 | 2020-08-30T04:25:00.000Z | 2020-08-30T04:25:00.000Z | import json
from web3 import Web3
from utils import load_abi
def initialize_tokens(tokens):
all_tokens = []
for token in tokens:
all_tokens.append(Token(
contract_address = Web3.toChecksumAddress(token['address']),
balance = token['balance'],
decimals = token['dec... | 32.615672 | 766 | 0.648438 | 872 | 8,741 | 6.236239 | 0.169725 | 0.082751 | 0.069327 | 0.095991 | 0.590842 | 0.507356 | 0.415778 | 0.287606 | 0.230967 | 0.20559 | 0 | 0.079604 | 0.24837 | 8,741 | 267 | 767 | 32.737828 | 0.748097 | 0.225947 | 0 | 0.095238 | 0 | 0 | 0.075328 | 0.008424 | 0 | 0 | 0 | 0 | 0 | 1 | 0.319728 | false | 0 | 0.020408 | 0.244898 | 0.673469 | 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 |
d59bcdd8787d9ff81484834d129d889f4379b987 | 86 | py | Python | argus/engine/__init__.py | NickVeld/argus | 37c1cade3b82a9bffc289894458d80cf1720532d | [
"MIT"
] | null | null | null | argus/engine/__init__.py | NickVeld/argus | 37c1cade3b82a9bffc289894458d80cf1720532d | [
"MIT"
] | null | null | null | argus/engine/__init__.py | NickVeld/argus | 37c1cade3b82a9bffc289894458d80cf1720532d | [
"MIT"
] | null | null | null | from argus.engine.engine import (
EventEnum,
Events,
Engine,
State,
)
| 12.285714 | 33 | 0.616279 | 9 | 86 | 5.888889 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.290698 | 86 | 6 | 34 | 14.333333 | 0.868852 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.166667 | 0 | 0.166667 | 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 |
d5a818ca2861912cc48b763f4dee4f3ab58a5d3b | 603 | py | Python | tests/test_dataloader.py | NiWaRe/deepee | 98b5cd09f356f4a597fe204799a524c4d444dd2d | [
"Apache-2.0"
] | 16 | 2021-03-24T09:50:32.000Z | 2022-03-10T12:03:37.000Z | tests/test_dataloader.py | NiWaRe/deepee | 98b5cd09f356f4a597fe204799a524c4d444dd2d | [
"Apache-2.0"
] | 4 | 2021-03-27T09:36:20.000Z | 2021-10-18T09:30:47.000Z | tests/test_dataloader.py | NiWaRe/deepee | 98b5cd09f356f4a597fe204799a524c4d444dd2d | [
"Apache-2.0"
] | 4 | 2021-06-24T08:30:47.000Z | 2021-11-09T08:33:57.000Z | from deepee import UniformDataLoader
from torch.utils.data import Dataset
import torch
class SimpleDataset(Dataset):
def __init__(self):
super().__init__()
self.data = torch.arange(1, 100, 1, dtype=torch.int)
def __getitem__(self, idx: int) -> torch.Tensor:
return self.data[idx]
... | 21.535714 | 76 | 0.645108 | 78 | 603 | 4.769231 | 0.564103 | 0.064516 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019956 | 0.252073 | 603 | 27 | 77 | 22.333333 | 0.804878 | 0.104478 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 1 | 0.222222 | false | 0 | 0.166667 | 0.111111 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
633b4603da937bba812ab6b1751e777c3fcab26b | 581 | py | Python | src/werkzeug/wrappers/__init__.py | omerholz/werkzeug | 5f3994f155055ed8b4231df8ac41dd38849d90f8 | [
"BSD-3-Clause"
] | null | null | null | src/werkzeug/wrappers/__init__.py | omerholz/werkzeug | 5f3994f155055ed8b4231df8ac41dd38849d90f8 | [
"BSD-3-Clause"
] | null | null | null | src/werkzeug/wrappers/__init__.py | omerholz/werkzeug | 5f3994f155055ed8b4231df8ac41dd38849d90f8 | [
"BSD-3-Clause"
] | null | null | null | from .accept import AcceptMixin
from .auth import AuthorizationMixin, WWWAuthenticateMixin
from .base_request import BaseRequest
from .base_response import BaseResponse
from .common_descriptors import (
CommonRequestDescriptorsMixin,
CommonResponseDescriptorsMixin,
)
from .etag import ETagRequestMixin, ETagResp... | 36.3125 | 58 | 0.853701 | 60 | 581 | 8.2 | 0.45 | 0.105691 | 0.103659 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113597 | 581 | 15 | 59 | 38.733333 | 0.95534 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.8 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
6341afddd0dbf448e60666bcfd92d265ba3c2e56 | 444 | py | Python | girder/app/app/constants.py | bnmajor/mongochemserver | aa76ab6e7f749c3e893f27e208984b6ed2d4b2b5 | [
"BSD-3-Clause"
] | 14 | 2015-05-04T16:40:48.000Z | 2021-07-13T08:00:30.000Z | girder/app/app/constants.py | bnmajor/mongochemserver | aa76ab6e7f749c3e893f27e208984b6ed2d4b2b5 | [
"BSD-3-Clause"
] | 88 | 2015-07-24T07:58:43.000Z | 2021-02-23T19:37:13.000Z | girder/app/app/constants.py | bnmajor/mongochemserver | aa76ab6e7f749c3e893f27e208984b6ed2d4b2b5 | [
"BSD-3-Clause"
] | 8 | 2015-06-12T20:54:39.000Z | 2021-04-09T01:07:15.000Z | class Features:
NOTEBOOKS = 'app.features.notebooks'
class Deployment:
SITE = 'app.deployment.site'
class Branding:
PRIVACY = 'app.configuration.privacy'
LICENSE = 'app.configuration.license'
HEADER_LOGO_ID = 'app.configuration.header.logo.file.id'
FOOTER_LOGO_ID = 'app.configuration.footer.lo... | 31.714286 | 60 | 0.734234 | 55 | 444 | 5.8 | 0.309091 | 0.30094 | 0.169279 | 0.137931 | 0.125392 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144144 | 444 | 13 | 61 | 34.153846 | 0.839474 | 0 | 0 | 0 | 0 | 0 | 0.52027 | 0.477477 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
634309ab422eee70d2cc057387231152604792cc | 443 | py | Python | snapchat_problems/problem_5.py | loftwah/Daily-Coding-Problem | 0327f0b4f69ef419436846c831110795c7a3c1fe | [
"MIT"
] | 129 | 2018-10-14T17:52:29.000Z | 2022-01-29T15:45:57.000Z | snapchat_problems/problem_5.py | loftwah/Daily-Coding-Problem | 0327f0b4f69ef419436846c831110795c7a3c1fe | [
"MIT"
] | 2 | 2019-11-30T23:28:23.000Z | 2020-01-03T16:30:32.000Z | snapchat_problems/problem_5.py | loftwah/Daily-Coding-Problem | 0327f0b4f69ef419436846c831110795c7a3c1fe | [
"MIT"
] | 60 | 2019-02-21T09:18:31.000Z | 2022-03-25T21:01:04.000Z | """This problem was asked by Snapchat.
You are given an array of length N, where each element i represents the number of ways
we can produce i units of change. For example, [1, 0, 1, 1, 2] would indicate that
there is only one way to make 0, 2, or 3 units, and two ways of making 4 units.
Given such an array, determ... | 49.222222 | 87 | 0.731377 | 87 | 443 | 3.724138 | 0.689655 | 0.04321 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034188 | 0.207675 | 443 | 9 | 88 | 49.222222 | 0.888889 | 0.984199 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 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 |
63448a70fd87bfc23cc4d0a454e64e65b10a3d96 | 14,373 | py | Python | data/pyalt/hockeydata20.py | GameMaker2k/Neo-Hockey-Test | 5737bfedf0d83f69964e85ac1dbf7e6a93c13f44 | [
"BSD-3-Clause"
] | 1 | 2020-04-04T10:25:42.000Z | 2020-04-04T10:25:42.000Z | data/pyalt/hockeydata20.py | GameMaker2k/Neo-Hockey-Test | 5737bfedf0d83f69964e85ac1dbf7e6a93c13f44 | [
"BSD-3-Clause"
] | null | null | null | data/pyalt/hockeydata20.py | GameMaker2k/Neo-Hockey-Test | 5737bfedf0d83f69964e85ac1dbf7e6a93c13f44 | [
"BSD-3-Clause"
] | 3 | 2021-09-07T08:44:33.000Z | 2021-12-07T23:49:39.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from __future__ import absolute_import, division, print_function, unicode_literals;
import libhockeydata;
hockeyarray = libhockeydata.CreateHockeyArray("./php/data/hockey20-21.db3");
hockeyarray = libhockeydata.AddHockeyLeagueToArray(hockeyarray, "NHL", "National Hockey L... | 175.280488 | 247 | 0.697488 | 1,384 | 14,373 | 7.238439 | 0.239884 | 0.174885 | 0.259134 | 0.323917 | 0.583849 | 0.193252 | 0.080256 | 0.054103 | 0.024955 | 0.024955 | 0 | 0.001845 | 0.095178 | 14,373 | 81 | 248 | 177.444444 | 0.768474 | 0.002922 | 0 | 0 | 0 | 0 | 0.428851 | 0.005025 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.026316 | 0 | 0.026316 | 0.013158 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
638747a38ba6a94b3fcacce6f823a2dee3d50f1d | 317 | py | Python | milkviz/__init__.py | Mr-Milk/milkviz | f2ebef805776301ddfe2ea1c778f9dbdd8edb420 | [
"MIT"
] | null | null | null | milkviz/__init__.py | Mr-Milk/milkviz | f2ebef805776301ddfe2ea1c778f9dbdd8edb420 | [
"MIT"
] | 4 | 2021-09-17T10:56:25.000Z | 2022-03-19T09:17:02.000Z | milkviz/__init__.py | Mr-Milk/milkviz | f2ebef805776301ddfe2ea1c778f9dbdd8edb420 | [
"MIT"
] | null | null | null | from ._bubble import bubble
from ._cell_map import point_map, polygon_map
from ._clustermap import anno_clustermap
from ._dot import dot
from ._dot_matrix import dot_heatmap
from ._graph import graph
from ._stacked_bar import stacked_bar
from ._upset import upset
from ._venn import venn
from .utils import mask_triu
| 28.818182 | 45 | 0.835962 | 50 | 317 | 4.94 | 0.4 | 0.05668 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129338 | 317 | 10 | 46 | 31.7 | 0.894928 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
63a0ca8137859d913539a01268b4bcf206a114da | 1,139 | py | Python | python/utils.py | SamoFMF/Slovenia---Settlements-Post-Offices | 7c3cd1751285930f7aacc8bc8678a30664381aa5 | [
"MIT"
] | null | null | null | python/utils.py | SamoFMF/Slovenia---Settlements-Post-Offices | 7c3cd1751285930f7aacc8bc8678a30664381aa5 | [
"MIT"
] | null | null | null | python/utils.py | SamoFMF/Slovenia---Settlements-Post-Offices | 7c3cd1751285930f7aacc8bc8678a30664381aa5 | [
"MIT"
] | null | null | null | # Utilities
import pickle
from math import pi, cos, sin, asin, sqrt
def saveFile(filename, data):
with open(filename, "wb") as f:
pickle.dump(data, f)
def loadFile(filename):
with open(filename, "rb") as f:
return pickle.load(f)
def coordToDeg(coord):
return coord[0] + coord[1] / 60 + co... | 23.729167 | 93 | 0.62511 | 175 | 1,139 | 4.068571 | 0.497143 | 0.095506 | 0.044944 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078251 | 0.23705 | 1,139 | 48 | 94 | 23.729167 | 0.741082 | 0.085162 | 0 | 0 | 0 | 0 | 0.005195 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.083333 | 0.125 | 0.541667 | 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 |
63a53c4defe12978755be3e03524edcf98bed051 | 70 | py | Python | main.py | Adrian-at-CrimsonAuzre/madlib_generator | 261119bc3ac1536e26059fdd1fb5eada6d727183 | [
"MIT"
] | null | null | null | main.py | Adrian-at-CrimsonAuzre/madlib_generator | 261119bc3ac1536e26059fdd1fb5eada6d727183 | [
"MIT"
] | null | null | null | main.py | Adrian-at-CrimsonAuzre/madlib_generator | 261119bc3ac1536e26059fdd1fb5eada6d727183 | [
"MIT"
] | null | null | null | import madlib
for i in range(0, 100):
print(madlib.get_madlib())
| 14 | 30 | 0.685714 | 12 | 70 | 3.916667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070175 | 0.185714 | 70 | 4 | 31 | 17.5 | 0.754386 | 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 |
63b3e9abdcea35e0a5e7c7eede0e7b0ea2b99472 | 202 | py | Python | app/emotions/serializers.py | adiptdevtomar/emotions_backend | c31e688629cdd4a9f4f44657ec36bef169f95f1e | [
"MIT"
] | null | null | null | app/emotions/serializers.py | adiptdevtomar/emotions_backend | c31e688629cdd4a9f4f44657ec36bef169f95f1e | [
"MIT"
] | null | null | null | app/emotions/serializers.py | adiptdevtomar/emotions_backend | c31e688629cdd4a9f4f44657ec36bef169f95f1e | [
"MIT"
] | null | null | null | from rest_framework import serializers
from emotions import models
class EmotionsSerializer(serializers.ModelSerializer):
class Meta:
model = models.EmotionModel
fields = ['text'] | 22.444444 | 54 | 0.742574 | 20 | 202 | 7.45 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19802 | 202 | 9 | 55 | 22.444444 | 0.919753 | 0 | 0 | 0 | 0 | 0 | 0.019704 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
63cd992a54a627e4af3330a1c3b42a7c116c88d6 | 403 | py | Python | bubbleimg/obsobj/__init__.py | aileisun/bubblepy | 054e7a3993659e7002f243c75253c2cb71d4fa73 | [
"MIT"
] | 3 | 2017-11-20T23:16:09.000Z | 2021-05-19T09:38:01.000Z | bubbleimg/obsobj/__init__.py | aileisun/bubblepy | 054e7a3993659e7002f243c75253c2cb71d4fa73 | [
"MIT"
] | null | null | null | bubbleimg/obsobj/__init__.py | aileisun/bubblepy | 054e7a3993659e7002f243c75253c2cb71d4fa73 | [
"MIT"
] | 3 | 2017-07-17T09:31:11.000Z | 2021-05-19T09:38:07.000Z | # __init__.py
# ALS 2017/05/11
__all__ = ['obsobj', 'plainobj', 'sdss', 'hsc', 'objnaming', 'operator', 'imager']
from . import obsobj
from . import plainobj
from . import sdss
from . import hsc
from . import objnaming
from . import operator
from . import imager
from .obsobj import obsObj
from .operator import Oper... | 19.190476 | 82 | 0.734491 | 55 | 403 | 5.236364 | 0.327273 | 0.243056 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02381 | 0.166253 | 403 | 20 | 83 | 20.15 | 0.833333 | 0.064516 | 0 | 0 | 0 | 0 | 0.117647 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.923077 | 0 | 0.923077 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
63d5d8aee6f075c7b71994b5bdbeb7fcd2a2a5a9 | 220 | py | Python | test_number.py | bilaleluneis/LearningPython | f0e567c7b0f9ad289108dbfc844208c642d499f5 | [
"MIT"
] | null | null | null | test_number.py | bilaleluneis/LearningPython | f0e567c7b0f9ad289108dbfc844208c642d499f5 | [
"MIT"
] | null | null | null | test_number.py | bilaleluneis/LearningPython | f0e567c7b0f9ad289108dbfc844208c642d499f5 | [
"MIT"
] | null | null | null | from unittest import TestCase
from class_odd_and_prime_number import Number
class TestNumber(TestCase):
def test_number_init(self):
valid_number = Number(5)
self.assertEqual(valid_number.value, 5)
| 22 | 47 | 0.754545 | 30 | 220 | 5.266667 | 0.6 | 0.139241 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011111 | 0.181818 | 220 | 9 | 48 | 24.444444 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 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 |
8921335ac79eb78da4040730241358ad34eba164 | 176 | py | Python | problem0751.py | kmarcini/Project-Euler-Python | d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3 | [
"BSD-3-Clause"
] | null | null | null | problem0751.py | kmarcini/Project-Euler-Python | d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3 | [
"BSD-3-Clause"
] | null | null | null | problem0751.py | kmarcini/Project-Euler-Python | d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3 | [
"BSD-3-Clause"
] | null | null | null | ###########################
#
# #751 Concatenation Coincidence - Project Euler
# https://projecteuler.net/problem=751
#
# Code by Kevin Marciniak
#
###########################
| 19.555556 | 48 | 0.505682 | 14 | 176 | 6.357143 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038217 | 0.107955 | 176 | 8 | 49 | 22 | 0.528662 | 0.602273 | 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 |
893c74fa7878bcae09018e1cfb0da38cac31165c | 531 | py | Python | src/design_patterns/solid/lsp/email_broadcaster_bad.py | schuna/design-patterns-python | 3798e6c418bcbc224e57dd6b95ef03046729e9d2 | [
"MIT"
] | null | null | null | src/design_patterns/solid/lsp/email_broadcaster_bad.py | schuna/design-patterns-python | 3798e6c418bcbc224e57dd6b95ef03046729e9d2 | [
"MIT"
] | null | null | null | src/design_patterns/solid/lsp/email_broadcaster_bad.py | schuna/design-patterns-python | 3798e6c418bcbc224e57dd6b95ef03046729e9d2 | [
"MIT"
] | null | null | null | from design_patterns.solid.lsp.common import User, SubscribedUser
class EmailBroadcaster:
def __init__(self):
print("Email Broadcaster")
def broadcast(self, event, user: User):
return f"Event: {event} to User: {user.name}"
class SubscriptionEmailBroadcaster(EmailBroadcaster):
def __init... | 29.5 | 84 | 0.709981 | 58 | 531 | 6.275862 | 0.448276 | 0.065934 | 0.126374 | 0.148352 | 0.307692 | 0.17033 | 0.17033 | 0.17033 | 0 | 0 | 0 | 0 | 0.178908 | 531 | 17 | 85 | 31.235294 | 0.834862 | 0 | 0 | 0.181818 | 0 | 0 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.363636 | false | 0 | 0.090909 | 0.181818 | 0.818182 | 0.090909 | 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 |
8948e3baf6cab9d5f7ae1597558b0e069f6b76df | 158 | py | Python | config.py | volltin/openranwen | 135a91e85c4462b5e2bb681e58c90a4d184ce793 | [
"Apache-2.0"
] | 9 | 2019-10-17T04:09:18.000Z | 2020-07-19T12:06:38.000Z | config.py | volltin/openranwen | 135a91e85c4462b5e2bb681e58c90a4d184ce793 | [
"Apache-2.0"
] | 1 | 2019-10-30T23:13:27.000Z | 2019-10-30T23:13:27.000Z | config.py | volltin/openranwen | 135a91e85c4462b5e2bb681e58c90a4d184ce793 | [
"Apache-2.0"
] | 3 | 2019-10-19T16:23:30.000Z | 2020-07-26T10:01:05.000Z | #自行替换
BOTTOKEN="114514191:AAF1z0dfbE3QEx6lLq2f1UjI1145141919810"
BOTNAME="ranwengamebot"
#PROXY="socks5h://localhost:1080"
PROXY=""
DEBUG=True
PY=True#py钱
| 14.363636 | 58 | 0.797468 | 16 | 158 | 7.875 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222973 | 0.063291 | 158 | 10 | 59 | 15.8 | 0.628378 | 0.246835 | 0 | 0 | 0 | 0 | 0.517241 | 0.405172 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
89644885b347c0af3d1f6f0acf42bba557299174 | 329 | py | Python | microcosm_pubsub/chain/__init__.py | Sinon/microcosm-pubsub | c98a188fcd5b3f358c7171dae0c39a33c5774a4e | [
"Apache-2.0"
] | 5 | 2016-07-23T21:20:50.000Z | 2021-07-15T00:27:47.000Z | microcosm_pubsub/chain/__init__.py | Sinon/microcosm-pubsub | c98a188fcd5b3f358c7171dae0c39a33c5774a4e | [
"Apache-2.0"
] | 76 | 2016-03-22T23:41:21.000Z | 2020-07-27T17:35:36.000Z | microcosm_pubsub/chain/__init__.py | Sinon/microcosm-pubsub | c98a188fcd5b3f358c7171dae0c39a33c5774a4e | [
"Apache-2.0"
] | 8 | 2016-06-01T18:43:41.000Z | 2021-04-27T20:22:15.000Z | from microcosm_pubsub.chain.chain import Chain # noqa: F401
from microcosm_pubsub.chain.decorators import binds, extracts # noqa: F401
from microcosm_pubsub.chain.statements import ( # noqa: F401
assign,
assign_constant,
assign_function,
call,
extract,
for_each,
switch,
try_chain,
... | 23.5 | 75 | 0.711246 | 40 | 329 | 5.675 | 0.525 | 0.171806 | 0.251101 | 0.317181 | 0.281938 | 0.281938 | 0 | 0 | 0 | 0 | 0 | 0.034884 | 0.215805 | 329 | 13 | 76 | 25.307692 | 0.844961 | 0.097264 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.230769 | 0 | 0.230769 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
898556e8f5cde39058e6d2d4f3c15dd02192bced | 299 | py | Python | mobile_insight/monitor/dm_collector/__init__.py | unknownhandX/mobileinsight-core | 5efc3d877072d0a176c5e628064c6e981f2a0342 | [
"Apache-2.0"
] | null | null | null | mobile_insight/monitor/dm_collector/__init__.py | unknownhandX/mobileinsight-core | 5efc3d877072d0a176c5e628064c6e981f2a0342 | [
"Apache-2.0"
] | null | null | null | mobile_insight/monitor/dm_collector/__init__.py | unknownhandX/mobileinsight-core | 5efc3d877072d0a176c5e628064c6e981f2a0342 | [
"Apache-2.0"
] | 1 | 2018-11-15T07:57:55.000Z | 2018-11-15T07:57:55.000Z | # -*- coding: utf-8 -*-
__all__ = [
"DMCollector", # P4A: THIS LINE WILL BE DELETED ###
"FormatError",
"DMLogPacket",
"dm_collector_c"
]
from dm_collector import DMCollector # P4A: THIS LINE WILL BE DELETED ###
from dm_endec import DMLogPacket, FormatError
import dm_collector_c
| 23 | 74 | 0.685619 | 37 | 299 | 5.27027 | 0.513514 | 0.169231 | 0.184615 | 0.225641 | 0.358974 | 0.358974 | 0.358974 | 0 | 0 | 0 | 0 | 0.012552 | 0.200669 | 299 | 12 | 75 | 24.916667 | 0.803347 | 0.280936 | 0 | 0 | 0 | 0 | 0.230392 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
89a40e2c776916f399452dad6381942ff0919c6c | 1,027 | py | Python | data/train/python/89a40e2c776916f399452dad6381942ff0919c6ccontroller.py | harshp8l/deep-learning-lang-detection | 2a54293181c1c2b1a2b840ddee4d4d80177efb33 | [
"MIT"
] | 84 | 2017-10-25T15:49:21.000Z | 2021-11-28T21:25:54.000Z | data/train/python/89a40e2c776916f399452dad6381942ff0919c6ccontroller.py | vassalos/deep-learning-lang-detection | cbb00b3e81bed3a64553f9c6aa6138b2511e544e | [
"MIT"
] | 5 | 2018-03-29T11:50:46.000Z | 2021-04-26T13:33:18.000Z | data/train/python/89a40e2c776916f399452dad6381942ff0919c6ccontroller.py | vassalos/deep-learning-lang-detection | cbb00b3e81bed3a64553f9c6aa6138b2511e544e | [
"MIT"
] | 24 | 2017-11-22T08:31:00.000Z | 2022-03-27T01:22:31.000Z | import sys
from chimera.core.exceptions import ObjectNotFoundException
_global_private_controller_singleton = None
def ConsoleController ():
global _global_private_controller_singleton
if not _global_private_controller_singleton:
_global_private_controller_singleton = _ConsoleControllerSingleton()... | 22.326087 | 76 | 0.694255 | 98 | 1,027 | 7.010204 | 0.357143 | 0.094614 | 0.167394 | 0.232897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.246349 | 1,027 | 45 | 77 | 22.822222 | 0.887597 | 0 | 0 | 0.071429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.071429 | 0.035714 | 0.535714 | 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 |
89b054fb1b203fa96791beeebdc1e061cf8686a1 | 2,579 | py | Python | aliyun-python-sdk-videoenhan/aliyunsdkvideoenhan/request/v20200320/ChangeVideoSizeRequest.py | yndu13/aliyun-openapi-python-sdk | 12ace4fb39fe2fb0e3927a4b1b43ee4872da43f5 | [
"Apache-2.0"
] | 1,001 | 2015-07-24T01:32:41.000Z | 2022-03-25T01:28:18.000Z | aliyun-python-sdk-videoenhan/aliyunsdkvideoenhan/request/v20200320/ChangeVideoSizeRequest.py | yndu13/aliyun-openapi-python-sdk | 12ace4fb39fe2fb0e3927a4b1b43ee4872da43f5 | [
"Apache-2.0"
] | 363 | 2015-10-20T03:15:00.000Z | 2022-03-08T12:26:19.000Z | aliyun-python-sdk-videoenhan/aliyunsdkvideoenhan/request/v20200320/ChangeVideoSizeRequest.py | yndu13/aliyun-openapi-python-sdk | 12ace4fb39fe2fb0e3927a4b1b43ee4872da43f5 | [
"Apache-2.0"
] | 682 | 2015-09-22T07:19:02.000Z | 2022-03-22T09:51:46.000Z | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 29.988372 | 88 | 0.73672 | 372 | 2,579 | 4.919355 | 0.306452 | 0.098361 | 0.068852 | 0.083607 | 0.147541 | 0.147541 | 0.147541 | 0 | 0 | 0 | 0 | 0.005467 | 0.148895 | 2,579 | 86 | 89 | 29.988372 | 0.828246 | 0.292361 | 0 | 0 | 0 | 0 | 0.114726 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.413043 | false | 0 | 0.043478 | 0.195652 | 0.673913 | 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 |
89bbf9b4c51db4c96bcc91385e5460c7d5d71b8d | 228 | py | Python | env/lib/python3.6/site-packages/jeepney/__init__.py | michaelpeterswa/darkthyme | ce1698ad6a112b40b0775781a34839e5c4d12dce | [
"MIT"
] | 1 | 2020-11-24T21:53:24.000Z | 2020-11-24T21:53:24.000Z | env/lib/python3.6/site-packages/jeepney/__init__.py | michaelpeterswa/darkthyme | ce1698ad6a112b40b0775781a34839e5c4d12dce | [
"MIT"
] | 301 | 2020-10-03T10:46:31.000Z | 2022-03-27T23:46:23.000Z | virtual/lib/python3.6/site-packages/jeepney/__init__.py | marknesh/instagram-app | 514ec6e59ad127857234245b05130431fa3262cc | [
"MIT"
] | 1 | 2020-11-04T06:38:34.000Z | 2020-11-04T06:38:34.000Z | """Low-level, pure Python DBus protocol wrapper.
"""
from .auth import AuthenticationError
from .low_level import Message, Parser
from .bus import find_session_bus, find_system_bus
from .wrappers import *
__version__ = '0.4.3'
| 25.333333 | 50 | 0.780702 | 33 | 228 | 5.121212 | 0.666667 | 0.094675 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015075 | 0.127193 | 228 | 8 | 51 | 28.5 | 0.834171 | 0.197368 | 0 | 0 | 0 | 0 | 0.028409 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 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 |
9831c7d08c4c8c6854a9b05bff1ca2c16566dc6a | 200 | py | Python | airtech/apps/flights/urls.py | sam-karis/airtech | 8e1cd7a9821719d27db046218625d70daaa46139 | [
"MIT"
] | null | null | null | airtech/apps/flights/urls.py | sam-karis/airtech | 8e1cd7a9821719d27db046218625d70daaa46139 | [
"MIT"
] | 4 | 2021-03-18T23:42:26.000Z | 2022-02-10T12:36:23.000Z | airtech/apps/flights/urls.py | sam-karis/airtech | 8e1cd7a9821719d27db046218625d70daaa46139 | [
"MIT"
] | null | null | null | from django.urls import path
from airtech.apps.flights.views import GetAllFlightsAPIView
app_name = 'flight'
urlpatterns = [
path('flights/', GetAllFlightsAPIView.as_view(), name='flights'),
]
| 20 | 69 | 0.755 | 23 | 200 | 6.478261 | 0.695652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 200 | 9 | 70 | 22.222222 | 0.851429 | 0 | 0 | 0 | 0 | 0 | 0.105 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
984d9f5b601286100012d3a6e37b15f27592087a | 92 | py | Python | zerver/webhooks/trello/view/templates.py | Supermanu/zulip | 26f6d708c2e30cfe50d9d61031edb759e8117596 | [
"Apache-2.0"
] | 1 | 2017-07-27T19:49:12.000Z | 2017-07-27T19:49:12.000Z | zerver/webhooks/trello/view/templates.py | Supermanu/zulip | 26f6d708c2e30cfe50d9d61031edb759e8117596 | [
"Apache-2.0"
] | 15 | 2020-06-05T18:44:15.000Z | 2022-03-11T23:26:03.000Z | zerver/webhooks/trello/view/templates.py | Supermanu/zulip | 26f6d708c2e30cfe50d9d61031edb759e8117596 | [
"Apache-2.0"
] | 1 | 2021-06-10T15:12:52.000Z | 2021-06-10T15:12:52.000Z | TRELLO_SUBJECT_TEMPLATE = u'{board_name}.'
TRELLO_MESSAGE_TEMPLATE = u'{full_name} {rest}.'
| 30.666667 | 48 | 0.771739 | 13 | 92 | 5 | 0.692308 | 0.276923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076087 | 92 | 2 | 49 | 46 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0.347826 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
985764cf3e7f1e3b40aed04b368a6111001848c9 | 142 | py | Python | backend/banner/urls/oj.py | skku-npc/SKKU_Coding_Platform | 1d972e8922484cf94f6735fd08b2565e5d3517d0 | [
"MIT"
] | 1 | 2022-03-30T14:03:23.000Z | 2022-03-30T14:03:23.000Z | backend/banner/urls/oj.py | skku-npc/SKKU_Coding_Platform | 1d972e8922484cf94f6735fd08b2565e5d3517d0 | [
"MIT"
] | 56 | 2022-02-19T08:13:48.000Z | 2022-03-25T10:17:07.000Z | backend/banner/urls/oj.py | skku-npc/SKKU_Coding_Platform | 1d972e8922484cf94f6735fd08b2565e5d3517d0 | [
"MIT"
] | 1 | 2022-03-25T15:02:46.000Z | 2022-03-25T15:02:46.000Z | from django.urls import path
from ..views.oj import BannerAPI
urlpatterns = [
path("banner/", BannerAPI.as_view(), name="banner_api")
]
| 17.75 | 59 | 0.711268 | 19 | 142 | 5.210526 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147887 | 142 | 7 | 60 | 20.285714 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0.119718 | 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 |
987b423ff901064b433ceed68185f801b0646275 | 3,963 | py | Python | vqa_experiments/s_mac/s_write_unit.py | Bidur-Khanal/REMIND | 4eeb6bce7a27d814c94948e2790efedacd014af1 | [
"MIT"
] | 67 | 2020-06-29T14:30:40.000Z | 2022-02-24T06:14:50.000Z | vqa_experiments/s_mac/s_write_unit.py | msrocean/REMIND | 2e82ca75a3e4d4ccba00c5a763097cc0f650a0a4 | [
"MIT"
] | 5 | 2020-08-14T17:01:39.000Z | 2021-09-12T10:41:25.000Z | vqa_experiments/s_mac/s_write_unit.py | msrocean/REMIND | 2e82ca75a3e4d4ccba00c5a763097cc0f650a0a4 | [
"MIT"
] | 19 | 2020-07-04T14:59:26.000Z | 2022-02-15T11:24:52.000Z | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# MIT License
#
# Copyright (c) 2018 Kim Seonghyeon
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without l... | 38.475728 | 141 | 0.679031 | 553 | 3,963 | 4.819168 | 0.462929 | 0.016886 | 0.018762 | 0.018011 | 0.075422 | 0.049156 | 0.049156 | 0.049156 | 0.049156 | 0.049156 | 0 | 0.015524 | 0.219783 | 3,963 | 102 | 142 | 38.852941 | 0.846378 | 0.837497 | 0 | 0 | 0 | 0 | 0.06264 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.222222 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
987d0db56e496d06b8d5bf82c62f94d33789da63 | 67 | py | Python | utils/__init__.py | biubiubiiu/SpamClassification | c7159c77baf5f1ba09ce1af9fc0f7e0c10332864 | [
"Apache-2.0"
] | null | null | null | utils/__init__.py | biubiubiiu/SpamClassification | c7159c77baf5f1ba09ce1af9fc0f7e0c10332864 | [
"Apache-2.0"
] | null | null | null | utils/__init__.py | biubiubiiu/SpamClassification | c7159c77baf5f1ba09ce1af9fc0f7e0c10332864 | [
"Apache-2.0"
] | 1 | 2022-03-01T13:10:46.000Z | 2022-03-01T13:10:46.000Z | from .logger import logger_setup
__all__ = [
'logger_setup'
]
| 11.166667 | 32 | 0.701493 | 8 | 67 | 5.125 | 0.625 | 0.536585 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208955 | 67 | 5 | 33 | 13.4 | 0.773585 | 0 | 0 | 0 | 0 | 0 | 0.179104 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 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 |
988badf59caa903e12b8ec26cbfb8dd6888a3545 | 68 | py | Python | poodle/core/profile/__init__.py | danielkauffmann/poodle | 05b46f43fbceef0cc080733b29c515e84ade3e38 | [
"MIT"
] | null | null | null | poodle/core/profile/__init__.py | danielkauffmann/poodle | 05b46f43fbceef0cc080733b29c515e84ade3e38 | [
"MIT"
] | null | null | null | poodle/core/profile/__init__.py | danielkauffmann/poodle | 05b46f43fbceef0cc080733b29c515e84ade3e38 | [
"MIT"
] | null | null | null | from .get_profile import MoodleProfile
__all__ = ["MoodleProfile"]
| 17 | 38 | 0.794118 | 7 | 68 | 7 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 68 | 3 | 39 | 22.666667 | 0.816667 | 0 | 0 | 0 | 0 | 0 | 0.191176 | 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 |
98aec9586707021dc75ecdefaf47ad1c6646d15e | 328 | py | Python | src/flickr/boundingbox.py | dballesteros7/master-thesis-2015 | 8c0bf9a6eef172fc8167a30780ae0666f8ea2d88 | [
"MIT"
] | null | null | null | src/flickr/boundingbox.py | dballesteros7/master-thesis-2015 | 8c0bf9a6eef172fc8167a30780ae0666f8ea2d88 | [
"MIT"
] | null | null | null | src/flickr/boundingbox.py | dballesteros7/master-thesis-2015 | 8c0bf9a6eef172fc8167a30780ae0666f8ea2d88 | [
"MIT"
] | null | null | null | class BoundingBox:
def __init__(self, top: float, right: float, bottom: float, left: float):
self.top = top
self.right = right
self.bottom = bottom
self.left = left
def to_flickr_bounding_box(self):
return '{self.left}, {self.bottom}, {self.right}, {self.top}'.format(sel... | 32.8 | 87 | 0.621951 | 43 | 328 | 4.581395 | 0.372093 | 0.106599 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.243902 | 328 | 9 | 88 | 36.444444 | 0.794355 | 0 | 0 | 0 | 0 | 0 | 0.158537 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0.125 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
7f27198c0a9822bd46f7babf2ad2c4ea680ff874 | 202 | py | Python | __init__.py | FangmingXie/mctseq_over_under_splitting | 15655dc448e62be008426b7e52852f3866cd4406 | [
"MIT"
] | 1 | 2020-05-20T18:54:53.000Z | 2020-05-20T18:54:53.000Z | __init__.py | FangmingXie/mctseq_over_under_splitting | 15655dc448e62be008426b7e52852f3866cd4406 | [
"MIT"
] | null | null | null | __init__.py | FangmingXie/mctseq_over_under_splitting | 15655dc448e62be008426b7e52852f3866cd4406 | [
"MIT"
] | null | null | null | import time
import logging
import glob
import os
import numpy as np
import pandas as pd
import collections
# data structures
GC_matrix = collections.namedtuple('GC_matrix', ['gene', 'cell', 'data'])
| 15.538462 | 73 | 0.762376 | 29 | 202 | 5.241379 | 0.62069 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148515 | 202 | 12 | 74 | 16.833333 | 0.883721 | 0.074257 | 0 | 0 | 0 | 0 | 0.114754 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.875 | 0 | 0.875 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
7f2a7088f9cf27be5f9b1c0760fd13196530f7c1 | 264 | py | Python | answers/api/views/answers_viewsets.py | NicolasMuras/Lookdaluv | 0c46d8871aa8e65139620b4afba82ca11d57ce63 | [
"MIT"
] | 1 | 2021-12-16T16:48:45.000Z | 2021-12-16T16:48:45.000Z | answers/api/views/answers_viewsets.py | NicolasMuras/Lookdaluv | 0c46d8871aa8e65139620b4afba82ca11d57ce63 | [
"MIT"
] | null | null | null | answers/api/views/answers_viewsets.py | NicolasMuras/Lookdaluv | 0c46d8871aa8e65139620b4afba82ca11d57ce63 | [
"MIT"
] | null | null | null | from answers.api.serializers.answers_serializers import AnswerSerializer
from modules.api.views.general_views import GeneralViewSet
class AnswerViewSet(GeneralViewSet):
serializer_class = AnswerSerializer
model_to_format = AnswerSerializer.Meta.model
| 24 | 72 | 0.840909 | 28 | 264 | 7.75 | 0.607143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109848 | 264 | 10 | 73 | 26.4 | 0.923404 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
7f42ab1ed6505c2ea48a64b57cdc7652ef3bd05b | 396 | py | Python | hornet/backend/tasks/apis/api_schema.py | defnngj/test_dev06 | 4318252c8b1c0533cac17bdadc7c3037d42e9778 | [
"Apache-2.0"
] | null | null | null | hornet/backend/tasks/apis/api_schema.py | defnngj/test_dev06 | 4318252c8b1c0533cac17bdadc7c3037d42e9778 | [
"Apache-2.0"
] | null | null | null | hornet/backend/tasks/apis/api_schema.py | defnngj/test_dev06 | 4318252c8b1c0533cac17bdadc7c3037d42e9778 | [
"Apache-2.0"
] | 1 | 2022-03-26T14:01:48.000Z | 2022-03-26T14:01:48.000Z | from projects.models import Project
from ninja import Schema
from typing import List, Any
class TaskIn(Schema):
"""任务入参"""
project: int
name: str
describe: str = None
cases: list
class ResultOut(Schema):
"""测试报告返回"""
name: str
passed: int
error: int
failure: int
skipped: ... | 15.84 | 35 | 0.633838 | 51 | 396 | 4.882353 | 0.607843 | 0.056225 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.280303 | 396 | 24 | 36 | 16.5 | 0.873684 | 0.027778 | 0 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.055556 | 0.166667 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
7f4ffb55cc4fb1f82fb295044be7618479adaec4 | 835 | py | Python | PhysicsTools/PatAlgos/python/famos/boostrapWithFamos_cff.py | pasmuss/cmssw | 566f40c323beef46134485a45ea53349f59ae534 | [
"Apache-2.0"
] | null | null | null | PhysicsTools/PatAlgos/python/famos/boostrapWithFamos_cff.py | pasmuss/cmssw | 566f40c323beef46134485a45ea53349f59ae534 | [
"Apache-2.0"
] | null | null | null | PhysicsTools/PatAlgos/python/famos/boostrapWithFamos_cff.py | pasmuss/cmssw | 566f40c323beef46134485a45ea53349f59ae534 | [
"Apache-2.0"
] | null | null | null | import FWCore.ParameterSet.Config as cms
#
# General fast simulation configuration ###
#
# Random number generator service
from FastSimulation.Configuration.RandomServiceInitialization_cff import *
# Generate ttbar events
from FastSimulation.Configuration.ttbar_cfi import *
# Famos sequences
from FastSimulation.Config... | 37.954545 | 74 | 0.841916 | 91 | 835 | 7.67033 | 0.67033 | 0.103152 | 0.17765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004 | 0.101796 | 835 | 21 | 75 | 39.761905 | 0.926667 | 0.271856 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.545455 | 0 | 0.545455 | 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 |
7f5bbfdf006f5cd144cdc3d938daee56299aea4e | 36 | py | Python | services/__Init__.py | kking423/digital_library | 643c396991bbc9664312826e849d3b9baae98c0d | [
"MIT"
] | null | null | null | services/__Init__.py | kking423/digital_library | 643c396991bbc9664312826e849d3b9baae98c0d | [
"MIT"
] | 2 | 2022-01-11T18:41:24.000Z | 2022-01-11T19:33:09.000Z | services/__Init__.py | kking423/digital_library | 643c396991bbc9664312826e849d3b9baae98c0d | [
"MIT"
] | null | null | null | __all__ = ['inventory', 'library']
| 12 | 34 | 0.638889 | 3 | 36 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138889 | 36 | 2 | 35 | 18 | 0.612903 | 0 | 0 | 0 | 0 | 0 | 0.457143 | 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 |
7f6b5f00e46b987451fce6b50ef762d46c08d29c | 616 | py | Python | activation.py | saras108/backpropagation | 95ac4e0c172bba5224426bf755ac2b5568bcd964 | [
"BSD-2-Clause"
] | null | null | null | activation.py | saras108/backpropagation | 95ac4e0c172bba5224426bf755ac2b5568bcd964 | [
"BSD-2-Clause"
] | null | null | null | activation.py | saras108/backpropagation | 95ac4e0c172bba5224426bf755ac2b5568bcd964 | [
"BSD-2-Clause"
] | null | null | null | import numpy as np
from abc import abstractmethod
class Activations:
@abstractmethod
def forward(self):
pass
@abstractmethod
def gradient(self):
pass
class Sigmoid(Activations):
def forward(self,x):
# return super().forward()
return 1/(1+np.exp(-x))
def gradi... | 21.241379 | 70 | 0.621753 | 78 | 616 | 4.910256 | 0.269231 | 0.091384 | 0.125326 | 0.130548 | 0.409922 | 0.287206 | 0 | 0 | 0 | 0 | 0 | 0.006536 | 0.25487 | 616 | 28 | 71 | 22 | 0.827887 | 0.081169 | 0 | 0.421053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.315789 | false | 0.105263 | 0.105263 | 0.210526 | 0.789474 | 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 |
7f9a9a313f39ccf43b068e2cecb39520893ce670 | 759 | py | Python | python/367_Valid_Perfect_Square.py | dvlpsh/leetcode-1 | f965328af72113ac8a5a9d6624868c1502be937b | [
"MIT"
] | 4,416 | 2016-03-30T15:02:26.000Z | 2022-03-31T16:31:03.000Z | python/367_Valid_Perfect_Square.py | YinpuLi/leetcode-6 | 1371de2631d745efba39de41b51c3424e35da434 | [
"MIT"
] | 20 | 2018-11-17T13:46:25.000Z | 2022-03-13T05:37:06.000Z | python/367_Valid_Perfect_Square.py | YinpuLi/leetcode-6 | 1371de2631d745efba39de41b51c3424e35da434 | [
"MIT"
] | 1,374 | 2017-05-26T15:44:30.000Z | 2022-03-30T19:21:02.000Z | class Solution(object):
# def isPerfectSquare(self, num):
# """
# :type num: int
# :rtype: bool
# """
# i = 1
# while num > 0:
# num -= i
# i += 2
# return num == 0
def isPerfectSquare(self, num):
low, high = 1, num
... | 24.483871 | 37 | 0.387352 | 81 | 759 | 3.592593 | 0.333333 | 0.054983 | 0.226804 | 0.257732 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023747 | 0.500659 | 759 | 30 | 38 | 25.3 | 0.744063 | 0.375494 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076923 | false | 0 | 0 | 0 | 0.307692 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
7f9d857049b26a3a23cee8a7376704022dbb3ab1 | 696 | py | Python | src/rexecutor/utilities/flow_iterator.py | paulbodean88/customizable-bdd-system | b451032b63dd84a5f71c314493c0bab865ffb907 | [
"MIT"
] | 1 | 2019-04-14T15:05:20.000Z | 2019-04-14T15:05:20.000Z | src/rexecutor/utilities/flow_iterator.py | paulbodean88/customizable-bdd-system | b451032b63dd84a5f71c314493c0bab865ffb907 | [
"MIT"
] | 1 | 2021-06-01T23:35:30.000Z | 2021-06-01T23:35:30.000Z | src/rexecutor/utilities/flow_iterator.py | paulbodean88/customizable-bdd-system | b451032b63dd84a5f71c314493c0bab865ffb907 | [
"MIT"
] | null | null | null | import xmltodict
class Flow(object):
def __init__(self, rules_file):
self.__rules_file = rules_file
file_descriptor = open(rules_file, 'r')
self._flow = xmltodict.parse(file_descriptor.read())
file_descriptor.close()
def next_rule(self):
return self._flow['Rule']['@nam... | 25.777778 | 60 | 0.640805 | 88 | 696 | 4.715909 | 0.329545 | 0.13494 | 0.093976 | 0.06747 | 0.346988 | 0.346988 | 0.346988 | 0.346988 | 0.346988 | 0.346988 | 0 | 0 | 0.239943 | 696 | 26 | 61 | 26.769231 | 0.784499 | 0 | 0 | 0.210526 | 0 | 0 | 0.027299 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.315789 | false | 0 | 0.052632 | 0.157895 | 0.578947 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
f685cb3a194cc1d8b582e97f3817924d1326ce1f | 377 | py | Python | testing/vcs/test_vcs_verify_levels_extensions_order_setting.py | xylar/cdat | 8a5080cb18febfde365efc96147e25f51494a2bf | [
"BSD-3-Clause"
] | 62 | 2018-03-30T15:46:56.000Z | 2021-12-08T23:30:24.000Z | testing/vcs/test_vcs_verify_levels_extensions_order_setting.py | xylar/cdat | 8a5080cb18febfde365efc96147e25f51494a2bf | [
"BSD-3-Clause"
] | 114 | 2018-03-21T01:12:43.000Z | 2021-07-05T12:29:54.000Z | testing/vcs/test_vcs_verify_levels_extensions_order_setting.py | CDAT/uvcdat | 5133560c0c049b5c93ee321ba0af494253b44f91 | [
"BSD-3-Clause"
] | 14 | 2018-06-06T02:42:47.000Z | 2021-11-26T03:27:00.000Z | import vcs
x=vcs.init()
b=x.createboxfill()
b.boxfill_type="custom"
b.levels=[10.0, 21.42857142857143, 32.85714285714286, 44.28571428571429, 55.71428571428572, 67.14285714285715, 78.57142857142858, 90.00000000000001]
assert(abs(b.levels[0])<1.e19 and b.ext_1 is False and b.ext_2 is False)
b.ext_1=False
assert(abs(b.lev... | 41.888889 | 148 | 0.769231 | 72 | 377 | 3.944444 | 0.486111 | 0.070423 | 0.098592 | 0.112676 | 0.359155 | 0.359155 | 0.359155 | 0.359155 | 0.359155 | 0.359155 | 0 | 0.371014 | 0.084881 | 377 | 8 | 149 | 47.125 | 0.452174 | 0 | 0 | 0.25 | 0 | 0 | 0.015915 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0 | false | 0 | 0.125 | 0 | 0.125 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
f69a33990daec802c5195c5f553b92efe2214b7a | 951 | py | Python | hcap/views/my_capacity_notifications_view_set.py | fabiommendes/capacidade_hospitalar | 4f675b574573eb3f51e6be8a927ea230bf2712c7 | [
"MIT"
] | null | null | null | hcap/views/my_capacity_notifications_view_set.py | fabiommendes/capacidade_hospitalar | 4f675b574573eb3f51e6be8a927ea230bf2712c7 | [
"MIT"
] | 31 | 2020-04-11T13:38:17.000Z | 2021-09-22T18:51:11.000Z | hcap/views/my_capacity_notifications_view_set.py | fabiommendes/capacidade_hospitalar | 4f675b574573eb3f51e6be8a927ea230bf2712c7 | [
"MIT"
] | 1 | 2020-04-12T17:51:20.000Z | 2020-04-12T17:51:20.000Z | from django.utils.translation import gettext_lazy as _
from hcap_notifications.models import HealthcareUnitCapacity
from hcap_utils.contrib.material.viewsets import ModelViewSet
class MyCapacityNotificationsViewSet(ModelViewSet):
model = HealthcareUnitCapacity
label = "hcap"
name = "my_capacity_notificat... | 30.677419 | 87 | 0.740273 | 114 | 951 | 5.947368 | 0.491228 | 0.081121 | 0.123894 | 0.106195 | 0.156342 | 0.115044 | 0.115044 | 0 | 0 | 0 | 0 | 0 | 0.179811 | 951 | 30 | 88 | 31.7 | 0.869231 | 0 | 0 | 0.15 | 0 | 0 | 0.106204 | 0.026288 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.15 | 0.2 | 0.95 | 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 |
f6a98a1177c7ae109442872e9dd30cc98f37b4d0 | 1,656 | py | Python | toontown/uberdog/GlobalLobbyManagerAI.py | CrankySupertoon01/Toontown-2 | 60893d104528a8e7eb4aced5d0015f22e203466d | [
"MIT"
] | 1 | 2021-02-13T22:40:50.000Z | 2021-02-13T22:40:50.000Z | toontown/uberdog/GlobalLobbyManagerAI.py | CrankySupertoonArchive/Toontown-2 | 60893d104528a8e7eb4aced5d0015f22e203466d | [
"MIT"
] | 1 | 2018-07-28T20:07:04.000Z | 2018-07-30T18:28:34.000Z | toontown/uberdog/GlobalLobbyManagerAI.py | CrankySupertoonArchive/Toontown-2 | 60893d104528a8e7eb4aced5d0015f22e203466d | [
"MIT"
] | 2 | 2019-12-02T01:39:10.000Z | 2021-02-13T22:41:00.000Z | from direct.distributed.DistributedObjectGlobalAI import DistributedObjectGlobalAI
from direct.distributed.PyDatagram import *
from direct.directnotify.DirectNotifyGlobal import directNotify
class GlobalLobbyManagerAI(DistributedObjectGlobalAI):
notify = directNotify.newCategory('GlobalLobbyManagerAI')
def an... | 31.245283 | 82 | 0.705918 | 157 | 1,656 | 7.407643 | 0.261147 | 0.094583 | 0.077386 | 0.072227 | 0.209802 | 0.134996 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189614 | 1,656 | 52 | 83 | 31.846154 | 0.866617 | 0 | 0 | 0.166667 | 0 | 0 | 0.080314 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.416667 | false | 0.166667 | 0.083333 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
f6d694c7fd8382c1857efad234bb5eab0aded581 | 934 | py | Python | main/migrations/0010_auto_20180317_1440.py | hectdev/python_sh | d7fe0262e017b6185d371320b6db75343b14db9b | [
"MIT"
] | 4 | 2018-10-19T04:36:20.000Z | 2020-02-13T16:14:09.000Z | main/migrations/0010_auto_20180317_1440.py | hectdev/python_sh | d7fe0262e017b6185d371320b6db75343b14db9b | [
"MIT"
] | null | null | null | main/migrations/0010_auto_20180317_1440.py | hectdev/python_sh | d7fe0262e017b6185d371320b6db75343b14db9b | [
"MIT"
] | null | null | null | # Generated by Django 2.0.1 on 2018-03-17 14:40
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('main', '0009_auto_20180317_1434'),
]
operations = [
migrations.AlterField(
model_name='log',
name='browser',
... | 27.470588 | 75 | 0.558887 | 94 | 934 | 5.425532 | 0.457447 | 0.156863 | 0.196078 | 0.227451 | 0.658824 | 0.658824 | 0.588235 | 0.588235 | 0.588235 | 0.494118 | 0 | 0.06677 | 0.310493 | 934 | 33 | 76 | 28.30303 | 0.725155 | 0.04818 | 0 | 0.592593 | 1 | 0 | 0.075536 | 0.02593 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.037037 | 0 | 0.148148 | 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 |
f6ed16718ab837ad36a7bb1cc210605296db063c | 152 | py | Python | SimG4CMS/HGCalTestBeam/python/hgcalTBMBAnalyzerCERN_cfi.py | PKUfudawei/cmssw | 8fbb5ce74398269c8a32956d7c7943766770c093 | [
"Apache-2.0"
] | 2 | 2020-10-26T18:40:32.000Z | 2021-04-10T16:33:25.000Z | SimG4CMS/HGCalTestBeam/python/hgcalTBMBAnalyzerCERN_cfi.py | PKUfudawei/cmssw | 8fbb5ce74398269c8a32956d7c7943766770c093 | [
"Apache-2.0"
] | 30 | 2015-11-04T11:42:27.000Z | 2021-12-01T07:56:34.000Z | SimG4CMS/HGCalTestBeam/python/hgcalTBMBAnalyzerCERN_cfi.py | PKUfudawei/cmssw | 8fbb5ce74398269c8a32956d7c7943766770c093 | [
"Apache-2.0"
] | 8 | 2016-03-25T07:17:43.000Z | 2021-07-08T17:11:21.000Z | import FWCore.ParameterSet.Config as cms
from SimG4CMS.HGCalTestBeam.hgcalTBMBAnalyzer_cfi import *
hgcalTBMBAnalyzerCERN = hgcalTBMBAnalyzer.clone()
| 25.333333 | 58 | 0.855263 | 15 | 152 | 8.6 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007194 | 0.085526 | 152 | 5 | 59 | 30.4 | 0.920863 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
f6fb02b1cec0f222eff1c4692c3dec977968fe1c | 85 | py | Python | ABC/164/a.py | fumiyanll23/AtCoder | 362ca9fcacb5415c1458bc8dee5326ba2cc70b65 | [
"MIT"
] | null | null | null | ABC/164/a.py | fumiyanll23/AtCoder | 362ca9fcacb5415c1458bc8dee5326ba2cc70b65 | [
"MIT"
] | null | null | null | ABC/164/a.py | fumiyanll23/AtCoder | 362ca9fcacb5415c1458bc8dee5326ba2cc70b65 | [
"MIT"
] | null | null | null | S, W = map(int, input().split())
if(W >= S):
print("unsafe")
else:
print("safe") | 14.166667 | 32 | 0.541176 | 14 | 85 | 3.285714 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 85 | 6 | 33 | 14.166667 | 0.657143 | 0 | 0 | 0 | 0 | 0 | 0.116279 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.4 | 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 |
100d58f51e04abf96dcc916bcaa72918665b45e0 | 1,077 | py | Python | Castessoft_Python/Castessoft_Fund01.py | JuanDiegoCastellanos/All-in-one-Python-Full | ba28a3d129a060d5a83c1d99ff97cf5c9d3d2afa | [
"MIT"
] | 1 | 2021-11-23T02:46:50.000Z | 2021-11-23T02:46:50.000Z | Castessoft_Python/Castessoft_Fund01.py | JuanDiegoCastellanos/All-in-one-Python-Full | ba28a3d129a060d5a83c1d99ff97cf5c9d3d2afa | [
"MIT"
] | null | null | null | Castessoft_Python/Castessoft_Fund01.py | JuanDiegoCastellanos/All-in-one-Python-Full | ba28a3d129a060d5a83c1d99ff97cf5c9d3d2afa | [
"MIT"
] | null | null | null | # def print_hi(name):
# print(f'Hi, {name}')
# if __name__ == '__main__':
# print_hi('PyCharm')
print("Hello World Python xd")
# Para saber la direccion de memoria de cierta variable se usa el metodo id()
name = "Juan Diego Castellanos"
print(name)
print(id(name))
print("------")
print("tipo de dato")
print(ty... | 28.342105 | 77 | 0.640669 | 156 | 1,077 | 4.346154 | 0.49359 | 0.044248 | 0.106195 | 0.123894 | 0.070796 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004329 | 0.142061 | 1,077 | 37 | 78 | 29.108108 | 0.729437 | 0.213556 | 0 | 0 | 0 | 0 | 0.612903 | 0.053763 | 0 | 0 | 0 | 0.027027 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.681818 | 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 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
63edd62996588048290a5f136f2bf89e966934cf | 549 | py | Python | safetylinespackage/__init__.py | MCasteras/safetylinespackage | abfd7f2e6cdd79274e54c5adf4769935e8272177 | [
"MIT"
] | null | null | null | safetylinespackage/__init__.py | MCasteras/safetylinespackage | abfd7f2e6cdd79274e54c5adf4769935e8272177 | [
"MIT"
] | null | null | null | safetylinespackage/__init__.py | MCasteras/safetylinespackage | abfd7f2e6cdd79274e54c5adf4769935e8272177 | [
"MIT"
] | null | null | null |
import json
import numpy as np
from sklearn.datasets import make_classification, make_regression
from sklearn.discriminant_analysis import LinearDiscriminantAnalysis
from sklearn.linear_model import LinearRegression
from sklearn.model_selection import train_test_split
from sklearn.metrics import mean_squared_error, ac... | 45.75 | 169 | 0.897996 | 67 | 549 | 7.134328 | 0.61194 | 0.138075 | 0.075314 | 0.100418 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069217 | 549 | 11 | 170 | 49.909091 | 0.935421 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.111111 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
63f5fc76d6b90b080df5e77cf4f6c4d18c69a6c6 | 10,489 | py | Python | model.py | EST09/cross-modal-autoencoders | 98e83ba03df076fa6cbd5e9dbd445fb47226699d | [
"MIT"
] | 20 | 2020-07-27T07:27:36.000Z | 2022-03-23T13:33:27.000Z | model.py | EST09/cross-modal-autoencoders | 98e83ba03df076fa6cbd5e9dbd445fb47226699d | [
"MIT"
] | 2 | 2021-10-04T20:00:26.000Z | 2022-01-18T04:39:30.000Z | model.py | EST09/cross-modal-autoencoders | 98e83ba03df076fa6cbd5e9dbd445fb47226699d | [
"MIT"
] | 6 | 2020-08-03T15:00:59.000Z | 2021-09-09T12:46:38.000Z | import torch
import torch.nn as nn
from torch.autograd import Variable
# adapted from pytorch/examples/vae and ethanluoyc/pytorch-vae
class ImageClassifier(nn.Module):
def __init__(self, latent_variable_size, pretrained, nout=2):
super(ImageClassifier, self).__init__()
self.latent_variable_size =... | 37.730216 | 101 | 0.488893 | 1,257 | 10,489 | 3.930788 | 0.089897 | 0.09917 | 0.067395 | 0.069824 | 0.77454 | 0.730014 | 0.705728 | 0.705728 | 0.630439 | 0.548472 | 0 | 0.033381 | 0.397369 | 10,489 | 277 | 102 | 37.866426 | 0.748299 | 0.066165 | 0 | 0.633028 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.100917 | false | 0 | 0.013761 | 0.013761 | 0.220183 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
124695688aa4f5477ccf2f83c526d63dcdda7ed0 | 95 | py | Python | savingsapp/apps.py | primeuser/banking-software-django | d6d15467aa1c8a54b5804755aa66e62a763a645b | [
"Apache-2.0"
] | 3 | 2019-06-22T09:10:23.000Z | 2020-06-27T17:42:58.000Z | savingsapp/apps.py | primeuser/banking-software-django | d6d15467aa1c8a54b5804755aa66e62a763a645b | [
"Apache-2.0"
] | 10 | 2019-07-03T21:02:40.000Z | 2022-02-10T11:15:51.000Z | savingsapp/apps.py | primeuser/banking-software | d6d15467aa1c8a54b5804755aa66e62a763a645b | [
"Apache-2.0"
] | null | null | null | from django.apps import AppConfig
class SavingsappConfig(AppConfig):
name = 'savingsapp'
| 15.833333 | 34 | 0.768421 | 10 | 95 | 7.3 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 95 | 5 | 35 | 19 | 0.9125 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 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 |
12572c68c8128a1a096c2f53b097cc15b65eece6 | 148 | py | Python | database/generic_repository.py | fcjack/InventoryManager | fa827fdee5f51d4ffa05fd5d36cdc9d17f52a237 | [
"MIT"
] | null | null | null | database/generic_repository.py | fcjack/InventoryManager | fa827fdee5f51d4ffa05fd5d36cdc9d17f52a237 | [
"MIT"
] | null | null | null | database/generic_repository.py | fcjack/InventoryManager | fa827fdee5f51d4ffa05fd5d36cdc9d17f52a237 | [
"MIT"
] | null | null | null | import sqlite3
class GenericRepository:
def get_connection(self):
connection = sqlite3.connect('inventory')
return connection
| 18.5 | 49 | 0.709459 | 14 | 148 | 7.428571 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017391 | 0.222973 | 148 | 7 | 50 | 21.142857 | 0.886957 | 0 | 0 | 0 | 0 | 0 | 0.060811 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
125f8a8799e7a1711d0e5f5574f90311268d9922 | 256 | py | Python | speakerz/accounts/views.py | avisalmon/speakerz | 2659d489ba426ca4af8c96f5413b2bc6f8dfab7a | [
"MIT"
] | null | null | null | speakerz/accounts/views.py | avisalmon/speakerz | 2659d489ba426ca4af8c96f5413b2bc6f8dfab7a | [
"MIT"
] | 10 | 2020-06-06T00:30:34.000Z | 2022-02-10T11:46:25.000Z | speakerz/accounts/views.py | avisalmon/speakerz | 2659d489ba426ca4af8c96f5413b2bc6f8dfab7a | [
"MIT"
] | 1 | 2021-03-19T13:48:15.000Z | 2021-03-19T13:48:15.000Z | from django.urls import reverse_lazy
from .forms import UserCreatForm
from django.views.generic import CreateView
class SignUp(CreateView):
form_class = UserCreatForm
success_url = reverse_lazy('login')
template_name = 'accounts/signup.html'
| 25.6 | 43 | 0.785156 | 32 | 256 | 6.125 | 0.65625 | 0.102041 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144531 | 256 | 9 | 44 | 28.444444 | 0.894977 | 0 | 0 | 0 | 0 | 0 | 0.097656 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.428571 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
1267bab0acb8ad3f3766acbdc54ea689e000f3ad | 650 | py | Python | essay/models.py | lukasy2/strona | 7ccebfe0553f9fac06bf762d1028c9faf7d830c0 | [
"MIT",
"Unlicense"
] | null | null | null | essay/models.py | lukasy2/strona | 7ccebfe0553f9fac06bf762d1028c9faf7d830c0 | [
"MIT",
"Unlicense"
] | null | null | null | essay/models.py | lukasy2/strona | 7ccebfe0553f9fac06bf762d1028c9faf7d830c0 | [
"MIT",
"Unlicense"
] | null | null | null | from __future__ import unicode_literals
from django.utils.encoding import python_2_unicode_compatible
from django.utils.translation import ugettext as _
from quiz.models import Question
@python_2_unicode_compatible
class Essay_Question(Question):
def check_if_correct(self, guess):
return False
def g... | 23.214286 | 61 | 0.721538 | 82 | 650 | 5.353659 | 0.52439 | 0.075171 | 0.095672 | 0.109339 | 0.109339 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003929 | 0.216923 | 650 | 27 | 62 | 24.074074 | 0.858546 | 0 | 0 | 0.157895 | 0 | 0 | 0.046154 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.263158 | false | 0 | 0.210526 | 0.263158 | 0.842105 | 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 |
1267f98e2da80433ba05b0c7538a59d10017eb85 | 4,544 | py | Python | tests/test_pyprocessing_math.py | jeacom25b/pyprocessing | 61803cd1c6b29f6d3deb7dc103467f8ad91309e2 | [
"MIT"
] | null | null | null | tests/test_pyprocessing_math.py | jeacom25b/pyprocessing | 61803cd1c6b29f6d3deb7dc103467f8ad91309e2 | [
"MIT"
] | null | null | null | tests/test_pyprocessing_math.py | jeacom25b/pyprocessing | 61803cd1c6b29f6d3deb7dc103467f8ad91309e2 | [
"MIT"
] | null | null | null | from unittest import TestCase
from copy import copy
from pyprocessing.math import PVector
class PyProcessingMathTest(TestCase):
def setUp(self):
pass
def test_pvector_instanciation(self):
'''
Test instanciating a vector
'''
vector = PVector(0, 0, 0)
self.asser... | 36.063492 | 85 | 0.580326 | 633 | 4,544 | 4.126382 | 0.156398 | 0.229709 | 0.25268 | 0.114472 | 0.493492 | 0.428025 | 0.364855 | 0.285222 | 0.276034 | 0.264931 | 0 | 0.065614 | 0.275528 | 4,544 | 125 | 86 | 36.352 | 0.727825 | 0.118178 | 0 | 0.025641 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.602564 | 1 | 0.141026 | false | 0.012821 | 0.038462 | 0 | 0.192308 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
126f01757737c595c4d9d5e08048fd9842b10d93 | 261 | py | Python | libs/pipeline_monitor/test.py | silentmonk/KubeFlow | 58c7a3c08262b9aaad42d88161b6e12ef9bf5bcb | [
"Apache-2.0"
] | 2,527 | 2017-09-29T19:26:28.000Z | 2022-03-22T06:13:36.000Z | libs/pipeline_monitor/test.py | silentmonk/KubeFlow | 58c7a3c08262b9aaad42d88161b6e12ef9bf5bcb | [
"Apache-2.0"
] | 231 | 2015-07-19T00:20:35.000Z | 2017-09-29T14:21:16.000Z | libs/pipeline_monitor/test.py | silentmonk/KubeFlow | 58c7a3c08262b9aaad42d88161b6e12ef9bf5bcb | [
"Apache-2.0"
] | 618 | 2015-07-18T09:11:58.000Z | 2017-09-29T00:13:10.000Z | from pipeline_monitor import prometheus_monitor as monitor
_labels= {'a_label_key':'a_label_value'}
@monitor(labels=_labels, name="test_monitor")
def test_log_inputs_and_outputs(arg1: int, arg2: int):
return arg1 + arg2
test_log_inputs_and_outputs(4, 5)
| 26.1 | 58 | 0.793103 | 41 | 261 | 4.634146 | 0.585366 | 0.136842 | 0.136842 | 0.168421 | 0.242105 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025751 | 0.10728 | 261 | 9 | 59 | 29 | 0.7897 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.166667 | 0.166667 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
89c0ac6963b13edf8953ac39421d6456a636788c | 423 | py | Python | opentsdb/exceptions.py | razvandimescu/opentsdb-py | 61c15302468769121f94323493e88cb51efcea15 | [
"MIT"
] | 48 | 2016-12-27T10:11:41.000Z | 2021-11-15T16:05:24.000Z | opentsdb/exceptions.py | razvandimescu/opentsdb-py | 61c15302468769121f94323493e88cb51efcea15 | [
"MIT"
] | 8 | 2017-10-08T16:20:30.000Z | 2022-02-23T08:36:52.000Z | opentsdb/exceptions.py | razvandimescu/opentsdb-py | 61c15302468769121f94323493e88cb51efcea15 | [
"MIT"
] | 17 | 2017-10-01T01:14:55.000Z | 2021-11-15T16:05:24.000Z |
class TSDBClientException(Exception):
pass
class TSDBNotAlive(TSDBClientException):
pass
class TagsError(TSDBClientException):
pass
class ValidationError(TSDBClientException):
pass
class UnknownTSDBConnectProtocol(TSDBClientException):
def __init__(self, protocol):
self.protocol = ... | 16.92 | 69 | 0.737589 | 37 | 423 | 8.216216 | 0.486486 | 0.118421 | 0.276316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.191489 | 423 | 24 | 70 | 17.625 | 0.888889 | 0 | 0 | 0.307692 | 0 | 0 | 0.085511 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.153846 | false | 0.307692 | 0 | 0.076923 | 0.615385 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
89d1b3d03cd8a81445443b86f7ee128fef2cc3f5 | 151 | py | Python | 01_Language/01_Functions/python/fileinode.py | cliff363825/TwentyFour | 09df59bd5d275e66463e343647f46027397d1233 | [
"MIT"
] | 3 | 2020-06-28T07:42:51.000Z | 2021-01-15T10:32:11.000Z | 01_Language/01_Functions/python/fileinode.py | cliff363825/TwentyFour | 09df59bd5d275e66463e343647f46027397d1233 | [
"MIT"
] | 9 | 2021-03-10T22:45:40.000Z | 2022-02-27T06:53:20.000Z | 01_Language/01_Functions/python/fileinode.py | cliff363825/TwentyFour | 09df59bd5d275e66463e343647f46027397d1233 | [
"MIT"
] | 1 | 2021-01-15T10:51:24.000Z | 2021-01-15T10:51:24.000Z | # coding: utf-8
import os
def fileinode(filename):
return os.stat(filename).st_ino
if __name__ == '__main__':
print(fileinode("test.txt"))
| 13.727273 | 35 | 0.682119 | 21 | 151 | 4.47619 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008 | 0.172185 | 151 | 10 | 36 | 15.1 | 0.744 | 0.086093 | 0 | 0 | 0 | 0 | 0.117647 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 0.6 | 0.2 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
89d271ff70086ef2d3daf17369e62328af657ec5 | 739 | py | Python | sustainableCityManagement/tests/ML_Models/test_bikes_uasge_prediction.py | Josh-repository/Dashboard-CityManager- | 6287881be9fb2c6274a755ce5d75ad355346468a | [
"RSA-MD"
] | null | null | null | sustainableCityManagement/tests/ML_Models/test_bikes_uasge_prediction.py | Josh-repository/Dashboard-CityManager- | 6287881be9fb2c6274a755ce5d75ad355346468a | [
"RSA-MD"
] | null | null | null | sustainableCityManagement/tests/ML_Models/test_bikes_uasge_prediction.py | Josh-repository/Dashboard-CityManager- | 6287881be9fb2c6274a755ce5d75ad355346468a | [
"RSA-MD"
] | 1 | 2021-05-13T16:33:18.000Z | 2021-05-13T16:33:18.000Z | from main_project.ML_models.bikes_usage_prediction import *
from django.test import TestCase
from unittest.mock import MagicMock
from main_project.Config.config_handler import read_config
import datetime
import unittest
class TestBikeUsagePrediction(TestCase):
@classmethod
def setUpTestData(cls):
pass... | 33.590909 | 110 | 0.734777 | 87 | 739 | 5.988506 | 0.62069 | 0.057582 | 0.057582 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018836 | 0.209743 | 739 | 21 | 111 | 35.190476 | 0.873288 | 0.092016 | 0 | 0 | 0 | 0 | 0.046338 | 0.046338 | 0 | 0 | 0 | 0 | 0.0625 | 1 | 0.125 | false | 0.0625 | 0.375 | 0 | 0.5625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 3 |
89d75705319f8e9a8b7c340f30d9e9f603f90792 | 445 | py | Python | torchx/utils/Norm.py | antoniojkim/TorchX | dd2e9f7e5fa6959d9760b93afd36349adf4de2ae | [
"MIT"
] | null | null | null | torchx/utils/Norm.py | antoniojkim/TorchX | dd2e9f7e5fa6959d9760b93afd36349adf4de2ae | [
"MIT"
] | null | null | null | torchx/utils/Norm.py | antoniojkim/TorchX | dd2e9f7e5fa6959d9760b93afd36349adf4de2ae | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import torch
def pixel_norm(x: torch.Tensor, epsilon: float = 1e-8):
"""Applies a pixel-wise normalization.
Note:
Implemented as described in `this paper <https://arxiv.org/pdf/1710.10196.pdf>`_.
`Reference <https://github.com/tkarras/progressive_growing_of_gans/blob/m... | 34.230769 | 112 | 0.662921 | 63 | 445 | 4.587302 | 0.873016 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.062162 | 0.168539 | 445 | 12 | 113 | 37.083333 | 0.718919 | 0.608989 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
89de8fd808829330aef0a254de25dbffb526e919 | 1,293 | py | Python | day10/Day_10_Code_Challenge.py | dikshaa1702/ml | c35f279b8fa7544517ca713c2c1e55f08270d4c3 | [
"Apache-2.0"
] | 1 | 2019-06-13T13:52:09.000Z | 2019-06-13T13:52:09.000Z | day10/Day_10_Code_Challenge.py | dikshaa1702/ml | c35f279b8fa7544517ca713c2c1e55f08270d4c3 | [
"Apache-2.0"
] | null | null | null | day10/Day_10_Code_Challenge.py | dikshaa1702/ml | c35f279b8fa7544517ca713c2c1e55f08270d4c3 | [
"Apache-2.0"
] | null | null | null |
"""
Code Challenge 1
Certificate Generator
Develop a Python code that can generate certificates in image format.
It must take names and other required information from the user and generates
certificate of participation in a Python Bootcamp conducted by Forsk.
Certificate should have Forsk Seal, Forsk Signature, ... | 24.396226 | 83 | 0.794277 | 206 | 1,293 | 4.985437 | 0.57767 | 0.063291 | 0.035054 | 0.029211 | 0.12853 | 0.12853 | 0.12853 | 0.12853 | 0.12853 | 0.12853 | 0 | 0.004744 | 0.184841 | 1,293 | 53 | 84 | 24.396226 | 0.969639 | 0.990719 | 0 | null | 1 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
89e43364bd672902108337b3df5b95467a4927ac | 174 | py | Python | elections_admin/urls.py | newsdev/nyt-elections-admin | 3d19f94f640eafa5e2316d6ef71afcea2ba3bc7a | [
"Apache-2.0"
] | 3 | 2015-10-29T21:26:09.000Z | 2017-12-15T16:36:50.000Z | elections_admin/urls.py | newsdev/nyt-elections-admin | 3d19f94f640eafa5e2316d6ef71afcea2ba3bc7a | [
"Apache-2.0"
] | 6 | 2015-10-29T20:07:20.000Z | 2015-11-06T15:29:05.000Z | elections_admin/urls.py | newsdev/nyt-elections-admin | 3d19f94f640eafa5e2316d6ef71afcea2ba3bc7a | [
"Apache-2.0"
] | 1 | 2019-08-14T20:49:05.000Z | 2019-08-14T20:49:05.000Z | from django.conf.urls import patterns, include, url
from django.contrib import admin
urlpatterns = patterns('',
(r'^elections/2016/admin/', include(admin.site.urls)),
) | 24.857143 | 58 | 0.735632 | 23 | 174 | 5.565217 | 0.652174 | 0.15625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026144 | 0.12069 | 174 | 7 | 59 | 24.857143 | 0.810458 | 0 | 0 | 0 | 0 | 0 | 0.125714 | 0.125714 | 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 |
89f60abed722527a0f4aa07f27c504066431a8ce | 358 | py | Python | process/templatetags/json_filters.py | pycess/pycess | 07fa4cdd59fff5d51686bd6a769d78ece38a41d5 | [
"BSD-2-Clause-FreeBSD"
] | 1 | 2015-07-07T02:36:12.000Z | 2015-07-07T02:36:12.000Z | process/templatetags/json_filters.py | pycess/pycess | 07fa4cdd59fff5d51686bd6a769d78ece38a41d5 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | process/templatetags/json_filters.py | pycess/pycess | 07fa4cdd59fff5d51686bd6a769d78ece38a41d5 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | from django.core.serializers import serialize
from django.core.serializers.json import DjangoJSONEncoder
from django.db.models.query import QuerySet
from django.utils.safestring import mark_safe
from django.template import Library
import json
register = Library()
@register.filter
def jsonify(object):
return json... | 25.571429 | 58 | 0.826816 | 47 | 358 | 6.276596 | 0.553191 | 0.169492 | 0.094915 | 0.169492 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106145 | 358 | 13 | 59 | 27.538462 | 0.921875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0.6 | 0.1 | 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 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
d6214963675eb59ca0e9420704c4fc13829defc9 | 388 | py | Python | snake/helpers/queue.py | JacobLiu001/slitherin | 3b5706b74754987707502f445790a9d13acf7f33 | [
"MIT"
] | 83 | 2018-09-28T20:28:46.000Z | 2022-03-20T12:28:12.000Z | snake/helpers/queue.py | JacobLiu001/slitherin | 3b5706b74754987707502f445790a9d13acf7f33 | [
"MIT"
] | 2 | 2019-11-18T17:38:20.000Z | 2021-07-05T05:08:16.000Z | snake/helpers/queue.py | JacobLiu001/slitherin | 3b5706b74754987707502f445790a9d13acf7f33 | [
"MIT"
] | 37 | 2018-11-08T22:46:34.000Z | 2021-11-14T02:57:04.000Z |
class Queue:
def __init__(self, initial_values):
self.queue = initial_values
def enqueue(self, val):
self.queue.insert(0, val)
def dequeue(self):
if self.is_empty():
return None
else:
return self.queue.pop()
def size(self):
return len(... | 19.4 | 39 | 0.559278 | 49 | 388 | 4.265306 | 0.428571 | 0.172249 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007722 | 0.332474 | 388 | 20 | 40 | 19.4 | 0.799228 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.357143 | false | 0 | 0 | 0.142857 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
d632775784aa76cfee56c9a706a8cd066bf7dc4a | 216 | py | Python | libraries/botbuilder-core/botbuilder/core/state_property_info.py | awaemmanuel/botbuilder-python | bcc85a49f1426ccf682205566fd03937ee6d315c | [
"MIT"
] | 1 | 2019-05-31T10:55:15.000Z | 2019-05-31T10:55:15.000Z | libraries/botbuilder-core/botbuilder/core/state_property_info.py | awaemmanuel/botbuilder-python | bcc85a49f1426ccf682205566fd03937ee6d315c | [
"MIT"
] | null | null | null | libraries/botbuilder-core/botbuilder/core/state_property_info.py | awaemmanuel/botbuilder-python | bcc85a49f1426ccf682205566fd03937ee6d315c | [
"MIT"
] | null | null | null | # Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.
from abc import ABC
class StatePropertyInfo(ABC):
@property
def name(self):
raise NotImplementedError(); | 24 | 59 | 0.726852 | 25 | 216 | 6.28 | 0.92 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.194444 | 216 | 9 | 60 | 24 | 0.902299 | 0.412037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 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 |
d6406a18080d2e42a7e6d704aa5c5a597889eb52 | 1,137 | py | Python | accelbyte_py_sdk/api/lobby/operations/friends/__init__.py | AccelByte/accelbyte-python-sdk | dcd311fad111c59da828278975340fb92e0f26f7 | [
"MIT"
] | null | null | null | accelbyte_py_sdk/api/lobby/operations/friends/__init__.py | AccelByte/accelbyte-python-sdk | dcd311fad111c59da828278975340fb92e0f26f7 | [
"MIT"
] | 1 | 2021-10-13T03:46:58.000Z | 2021-10-13T03:46:58.000Z | accelbyte_py_sdk/api/lobby/operations/friends/__init__.py | AccelByte/accelbyte-python-sdk | dcd311fad111c59da828278975340fb92e0f26f7 | [
"MIT"
] | null | null | null | # Copyright (c) 2021 AccelByte Inc. All Rights Reserved.
# This is licensed software from AccelByte Inc, for limitations
# and restrictions contact your company contract manager.
#
# Code generated. DO NOT EDIT!
# template file: justice_py_sdk_codegen/__main__.py
"""Auto-generated package that contains models used b... | 40.607143 | 83 | 0.85664 | 138 | 1,137 | 6.688406 | 0.630435 | 0.052004 | 0.035753 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006809 | 0.095866 | 1,137 | 27 | 84 | 42.111111 | 0.891051 | 0.317502 | 0 | 0 | 1 | 0 | 0.043194 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.785714 | 0 | 0.785714 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
d64d46cbd6090bb3752414097d21e3023fb0436e | 163 | py | Python | Swati Singh/volume_of_sphere_with_radius_6.py | asumit499/Python-BootCamp | 0b99f9cb862189d13ad291eac12a8be6c46357f5 | [
"MIT"
] | 4 | 2022-03-20T10:59:53.000Z | 2022-03-25T18:28:04.000Z | Swati Singh/volume_of_sphere_with_radius_6.py | asumit499/Python-BootCamp | 0b99f9cb862189d13ad291eac12a8be6c46357f5 | [
"MIT"
] | null | null | null | Swati Singh/volume_of_sphere_with_radius_6.py | asumit499/Python-BootCamp | 0b99f9cb862189d13ad291eac12a8be6c46357f5 | [
"MIT"
] | 15 | 2022-03-12T11:49:10.000Z | 2022-03-15T06:22:55.000Z | # 18. Write a language program to get the volume of a sphere with radius 6
radius=6
volume=(4/3)*3.14*(radius**3)
print("Volume of sphere with radius 6= ",volume)
| 32.6 | 74 | 0.723926 | 32 | 163 | 3.6875 | 0.5625 | 0.177966 | 0.271186 | 0.288136 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.07971 | 0.153374 | 163 | 4 | 75 | 40.75 | 0.775362 | 0.441718 | 0 | 0 | 0 | 0 | 0.359551 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 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 |
d65238e72a6caf5ec5612c1d34d5699c77bb82de | 195 | py | Python | src/gym_checkers/envs/__init__.py | qorrect/boardgames | e7462e09949f81959b0858c12da106b418b6c488 | [
"MIT"
] | null | null | null | src/gym_checkers/envs/__init__.py | qorrect/boardgames | e7462e09949f81959b0858c12da106b418b6c488 | [
"MIT"
] | null | null | null | src/gym_checkers/envs/__init__.py | qorrect/boardgames | e7462e09949f81959b0858c12da106b418b6c488 | [
"MIT"
] | null | null | null |
from gym.envs.registration import register
from .checkers import CheckersEnv
print('NOW REGISTERING checkers-v0')
register(
id='checkers-v0',
entry_point='gym_checkers.envs:CheckersEnv',
)
| 19.5 | 46 | 0.784615 | 25 | 195 | 6.04 | 0.6 | 0.13245 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011494 | 0.107692 | 195 | 9 | 47 | 21.666667 | 0.856322 | 0 | 0 | 0 | 0 | 0 | 0.345361 | 0.149485 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.285714 | 0 | 0.285714 | 0.142857 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c38d95bd16989903378de2cde031766d88cc8129 | 2,762 | py | Python | homeassistant/util/ulid.py | eyager1/core | c0ae31d86c841107930cf471fd60d65b5c163f16 | [
"Apache-2.0"
] | 1 | 2022-02-19T14:13:50.000Z | 2022-02-19T14:13:50.000Z | homeassistant/util/ulid.py | eyager1/core | c0ae31d86c841107930cf471fd60d65b5c163f16 | [
"Apache-2.0"
] | 4 | 2022-03-01T06:33:43.000Z | 2022-03-31T07:23:16.000Z | homeassistant/util/ulid.py | eyager1/core | c0ae31d86c841107930cf471fd60d65b5c163f16 | [
"Apache-2.0"
] | null | null | null | """Helpers to generate ulids."""
from random import getrandbits
import time
def ulid_hex() -> str:
"""Generate a ULID in lowercase hex that will work for a UUID.
This ulid should not be used for cryptographically secure
operations.
This string can be converted with https://github.com/ahawker/ulid
... | 36.826667 | 103 | 0.540912 | 373 | 2,762 | 3.882038 | 0.265416 | 0.242403 | 0.21547 | 0.030387 | 0.379834 | 0.121547 | 0.081492 | 0.081492 | 0.081492 | 0.081492 | 0 | 0.126166 | 0.262491 | 2,762 | 74 | 104 | 37.324324 | 0.584683 | 0.302679 | 0 | 0 | 1 | 0 | 0.047852 | 0.044589 | 0 | 0 | 0 | 0 | 0 | 1 | 0.054054 | false | 0 | 0.054054 | 0 | 0.162162 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c39e7639b9744149e00fbcfa036b8705d840d33a | 276 | py | Python | user/mixins.py | alizabetpoor/squadfinder_pubg | af49c6bc0966d652d0e1a0f0341f09d14508b5b9 | [
"MIT"
] | 2 | 2021-08-07T11:28:39.000Z | 2022-01-28T14:57:37.000Z | user/mixins.py | alizabetpoor/squadfinder_pubg | af49c6bc0966d652d0e1a0f0341f09d14508b5b9 | [
"MIT"
] | null | null | null | user/mixins.py | alizabetpoor/squadfinder_pubg | af49c6bc0966d652d0e1a0f0341f09d14508b5b9 | [
"MIT"
] | null | null | null | from django.shortcuts import redirect
class CHECKUSERMIXIN:
def dispatch(self,request,*args,**kwargs):
if not request.user.is_authenticated:
return super().dispatch(request,*args,**kwargs)
else:
return redirect("user:user_setting") | 34.5 | 59 | 0.673913 | 31 | 276 | 5.935484 | 0.709677 | 0.119565 | 0.184783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217391 | 276 | 8 | 60 | 34.5 | 0.851852 | 0 | 0 | 0 | 0 | 0 | 0.061372 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.142857 | 0 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
c3b0e9f833f778217cc40726f999193b7f2f412a | 489 | py | Python | advanced_algs/knapsack/knapsack_test.py | angelusualle/algorithms | 86286a49db2a755bc57330cb455bcbd8241ea6be | [
"Apache-2.0"
] | null | null | null | advanced_algs/knapsack/knapsack_test.py | angelusualle/algorithms | 86286a49db2a755bc57330cb455bcbd8241ea6be | [
"Apache-2.0"
] | null | null | null | advanced_algs/knapsack/knapsack_test.py | angelusualle/algorithms | 86286a49db2a755bc57330cb455bcbd8241ea6be | [
"Apache-2.0"
] | null | null | null | import unittest
from knapsack_with_repetition import knapsack_with_repetition
from knapsack_no_repetition import knapsack_no_repetition
class Test_Case_Knapsack(unittest.TestCase):
def test_knapsack_with_repetition(self):
self.assertEqual(knapsack_with_repetition([6, 3, 4, 2], [30,14,16,9], 10), 48)
de... | 40.75 | 86 | 0.758691 | 71 | 489 | 4.830986 | 0.394366 | 0.139942 | 0.25656 | 0.169096 | 0.349854 | 0.134111 | 0.134111 | 0.134111 | 0.134111 | 0.134111 | 0 | 0.070588 | 0.130879 | 489 | 12 | 87 | 40.75 | 0.736471 | 0 | 0 | 0 | 0 | 0 | 0.016327 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.2 | false | 0 | 0.3 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
c3c60145d52028070357bd7cf8a04d72e5aa5cd1 | 148 | py | Python | question/urls.py | RohanDukare/OnlineVoting | e1c355fab0fdd21cc63c4be9e16fc55731479f17 | [
"MIT"
] | 7 | 2019-05-17T06:12:57.000Z | 2021-02-07T03:48:57.000Z | question/urls.py | RohanDukare/OnlineVoting | e1c355fab0fdd21cc63c4be9e16fc55731479f17 | [
"MIT"
] | null | null | null | question/urls.py | RohanDukare/OnlineVoting | e1c355fab0fdd21cc63c4be9e16fc55731479f17 | [
"MIT"
] | 5 | 2019-05-17T06:13:10.000Z | 2021-02-07T03:49:21.000Z | from question.views import QA,review
from django.conf.urls import url
urlpatterns = [
url(r'^qa/$', QA),
url(r'^review/$', review),
]
| 16.444444 | 36 | 0.628378 | 21 | 148 | 4.428571 | 0.571429 | 0.086022 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.202703 | 148 | 8 | 37 | 18.5 | 0.788136 | 0 | 0 | 0 | 0 | 0 | 0.094595 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.