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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a543b801539e80d8c8d286dc0606fdd79bc1d263 | 285 | py | Python | tools/__init__.py | chamhoo/cfec2 | 7baab37381cd689f9987f5c0f634f3a35b92252d | [
"MIT"
] | null | null | null | tools/__init__.py | chamhoo/cfec2 | 7baab37381cd689f9987f5c0f634f3a35b92252d | [
"MIT"
] | null | null | null | tools/__init__.py | chamhoo/cfec2 | 7baab37381cd689f9987f5c0f634f3a35b92252d | [
"MIT"
] | null | null | null | from .auto_tunning import Tuning, CVGetScore
from .cv import CV
from .emkeras import linear_regression, fm, deepfm, xdeepfm, dcn, afm, auto_int, fibinet
from .callback import CyclicLR, MaxLrFinder
from .encoder import LE, IdxValEncoder
from .keras_utils import focal_loss, mish, gelu
| 35.625 | 88 | 0.807018 | 41 | 285 | 5.487805 | 0.707317 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129825 | 285 | 7 | 89 | 40.714286 | 0.907258 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
a550862d004f9af15b7bc84f7c5173b3bfac62e8 | 600 | py | Python | ctx_ticketing/domain/booking/itinerary.py | ddd-tw/ts-strategy-to-tactical-workshop | 5f712712f4cfbe8274f2cf25fecd317303a8e132 | [
"MIT"
] | null | null | null | ctx_ticketing/domain/booking/itinerary.py | ddd-tw/ts-strategy-to-tactical-workshop | 5f712712f4cfbe8274f2cf25fecd317303a8e132 | [
"MIT"
] | null | null | null | ctx_ticketing/domain/booking/itinerary.py | ddd-tw/ts-strategy-to-tactical-workshop | 5f712712f4cfbe8274f2cf25fecd317303a8e132 | [
"MIT"
] | null | null | null | from enum import Enum
from typing import cast, List
from datetime import datetime
from dataclasses import dataclass
from pydomain.basecls.valueobject import ValueObject
from .passenger import Passenger
from .baggage import AdditionalBaggage
from .flightinfo import FlightInfo
class PassengerReservation(ValueObject):
... | 25 | 52 | 0.806667 | 65 | 600 | 7.384615 | 0.476923 | 0.041667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 600 | 23 | 53 | 26.086957 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.210526 | 0.421053 | 0 | 0.947368 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
a581dcb73239704984f3b3281a8e12e5d22f74f6 | 14 | py | Python | tests/simple.py | Skydler/blockpy | dfbddc30bba1f10b53d6bddc87af119ae010254c | [
"Apache-2.0"
] | 184 | 2015-02-14T03:26:32.000Z | 2019-08-11T13:53:23.000Z | tests/simple.py | ki-macht-schule/blockpy | befb98ce24cb67ab0e2f9a90135b429a4a7da2c8 | [
"Apache-2.0"
] | 87 | 2019-08-20T20:39:48.000Z | 2021-09-17T08:26:53.000Z | tests/simple.py | ki-macht-schule/blockpy | befb98ce24cb67ab0e2f9a90135b429a4a7da2c8 | [
"Apache-2.0"
] | 69 | 2016-02-26T00:04:22.000Z | 2019-08-10T00:51:38.000Z | a = 0
print(a) | 7 | 8 | 0.571429 | 4 | 14 | 2 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 0.214286 | 14 | 2 | 8 | 7 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
a5a508f70828eb8773f459320e0ef7d830e95709 | 2,114 | py | Python | user.py | LucaPetrucci/test_image | bb21d4714ee6c2a7e866ae2baf6e041e8a0d761c | [
"BSD-4-Clause"
] | null | null | null | user.py | LucaPetrucci/test_image | bb21d4714ee6c2a7e866ae2baf6e041e8a0d761c | [
"BSD-4-Clause"
] | 1 | 2021-06-02T01:28:41.000Z | 2021-06-02T01:28:41.000Z | user.py | LucaPetrucci/test_image | bb21d4714ee6c2a7e866ae2baf6e041e8a0d761c | [
"BSD-4-Clause"
] | null | null | null | import datetime
from bson.json_util import dumps
class User:
def __init__(self, username, password=None, role="user"):
self.username = username
self.password = password
self.role = role
def save_to_db(self, mongo_connection, user_collection):
return mongo_connection[user_coll... | 44.041667 | 120 | 0.634816 | 245 | 2,114 | 5.240816 | 0.265306 | 0.151869 | 0.192368 | 0.293614 | 0.395639 | 0.395639 | 0.341122 | 0.296729 | 0.296729 | 0.215732 | 0 | 0.002536 | 0.254021 | 2,114 | 47 | 121 | 44.978723 | 0.811668 | 0.064806 | 0 | 0.194444 | 0 | 0 | 0.070922 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.194444 | false | 0.111111 | 0.055556 | 0.027778 | 0.527778 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
a5aaab36a3a6e562f05f5cc13432612432b42079 | 8,094 | py | Python | python/flickr-get-stats/src/ilg/flickr/collections/get/html/writer.py | ilg-ul/flickr-get-stats | 80928a66fd9a2fb7d8d8c2dbec2fda54db120019 | [
"MIT"
] | 1 | 2020-12-04T06:40:59.000Z | 2020-12-04T06:40:59.000Z | python/flickr-get-stats/src/ilg/flickr/collections/get/html/writer.py | ilg-ul/flickr-get-stats | 80928a66fd9a2fb7d8d8c2dbec2fda54db120019 | [
"MIT"
] | null | null | null | python/flickr-get-stats/src/ilg/flickr/collections/get/html/writer.py | ilg-ul/flickr-get-stats | 80928a66fd9a2fb7d8d8c2dbec2fda54db120019 | [
"MIT"
] | null | null | null | '''
Created on Sep 3, 2010
@author: ilg
'''
from flickr.collections.get.writerbase import WriterBase
bUseTables = True
class Writer(WriterBase):
'''
classdocs
'''
def __init__(self, sDescription='Main'):
'''
Constructor
'''
super(Writer, self).__init__(sDescription)
... | 46.786127 | 244 | 0.561404 | 938 | 8,094 | 4.742004 | 0.13113 | 0.226619 | 0.307554 | 0.179856 | 0.629047 | 0.579137 | 0.534397 | 0.441547 | 0.375225 | 0.269784 | 0 | 0.004529 | 0.263405 | 8,094 | 172 | 245 | 47.05814 | 0.74153 | 0.016308 | 0 | 0.333333 | 0 | 0.007246 | 0.246595 | 0.086951 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.007246 | null | null | 0.014493 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
3c3d4605d3d8dd8fff031595a6c65e7ea4aeb615 | 100 | py | Python | python/8Kyu/noobCode 01 SUPERSIZE ME.py | athasv/Codewars-data | 5e106466e709fd776f23585ad9f652d0d65b48d3 | [
"MIT"
] | null | null | null | python/8Kyu/noobCode 01 SUPERSIZE ME.py | athasv/Codewars-data | 5e106466e709fd776f23585ad9f652d0d65b48d3 | [
"MIT"
] | null | null | null | python/8Kyu/noobCode 01 SUPERSIZE ME.py | athasv/Codewars-data | 5e106466e709fd776f23585ad9f652d0d65b48d3 | [
"MIT"
] | null | null | null | def super_size(n):
temp =[x for x in str(n)]
return int("".join(sorted(temp, reverse=True))) | 33.333333 | 51 | 0.63 | 18 | 100 | 3.444444 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.18 | 100 | 3 | 51 | 33.333333 | 0.756098 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
3c419f7051ce573c9bc13dfc706520cf2649f4f8 | 142 | py | Python | Services/ExpMath.py | JohnSalas8/api_derivadas | 6c08a92d45b208617eb7953a2a02f6ac0f79a0d9 | [
"MIT"
] | null | null | null | Services/ExpMath.py | JohnSalas8/api_derivadas | 6c08a92d45b208617eb7953a2a02f6ac0f79a0d9 | [
"MIT"
] | null | null | null | Services/ExpMath.py | JohnSalas8/api_derivadas | 6c08a92d45b208617eb7953a2a02f6ac0f79a0d9 | [
"MIT"
] | null | null | null | exp_math = [
['^', '**'],
['e', 'math.e'],
['cos', 'math.cos'],
['sen', 'math.sin'],
['&', '/'],
['tan', 'math.tan']
] | 17.75 | 24 | 0.309859 | 14 | 142 | 3.071429 | 0.5 | 0.232558 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.274648 | 142 | 8 | 25 | 17.75 | 0.417476 | 0 | 0 | 0 | 0 | 0 | 0.314685 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
3c70a74466ac9c9da76e2d4e7b80f3669caf373d | 5,772 | py | Python | FlightBooking/tests/booking_app/test_option_callbacks.py | davewalker5/FlightBooking | 6e5d1bb83789415edb2f9f35404eb0e5bf773111 | [
"MIT"
] | null | null | null | FlightBooking/tests/booking_app/test_option_callbacks.py | davewalker5/FlightBooking | 6e5d1bb83789415edb2f9f35404eb0e5bf773111 | [
"MIT"
] | null | null | null | FlightBooking/tests/booking_app/test_option_callbacks.py | davewalker5/FlightBooking | 6e5d1bb83789415edb2f9f35404eb0e5bf773111 | [
"MIT"
] | null | null | null | import unittest
import os
from unittest.mock import patch
from src.booking_app.option_callbacks import add_passenger_to_flight, \
save_flight, \
load_flight, \
allocate_seat, \
remove_passenger, \
print_boarding_cards
from tests.helpers import get_flight_data_file_path, \
delete_flight_data_file... | 43.727273 | 110 | 0.684511 | 702 | 5,772 | 5.250712 | 0.153846 | 0.113945 | 0.035269 | 0.071622 | 0.752306 | 0.733315 | 0.71758 | 0.684482 | 0.673901 | 0.616386 | 0 | 0.018422 | 0.172384 | 5,772 | 131 | 111 | 44.061069 | 0.753192 | 0 | 0 | 0.553571 | 0 | 0 | 0.147436 | 0.026334 | 0 | 0 | 0 | 0 | 0.178571 | 1 | 0.125 | false | 0.267857 | 0.044643 | 0 | 0.178571 | 0.026786 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
3c80894b3846bfdf5f9899de4959bf0dbc736cee | 327 | py | Python | main.py | stopwhispering/comprehensible-sudoku-solver | 2591293255c549e270debb95bc602efb7d0a94c3 | [
"MIT"
] | null | null | null | main.py | stopwhispering/comprehensible-sudoku-solver | 2591293255c549e270debb95bc602efb7d0a94c3 | [
"MIT"
] | null | null | null | main.py | stopwhispering/comprehensible-sudoku-solver | 2591293255c549e270debb95bc602efb7d0a94c3 | [
"MIT"
] | null | null | null | import os.path
from sudoku_solver.shared.constants import SUDOKU_DIR, DEFAULT_SUDOKU
from sudoku_solver.shared.puzzle import read_sudoku_file
from sudoku_solver.init import start_sudoku
if __name__ == '__main__':
sudoku = read_sudoku_file(path=os.path.join(SUDOKU_DIR, DEFAULT_SUDOKU))
start_sudoku(sudoku=sudo... | 25.153846 | 76 | 0.813456 | 48 | 327 | 5.104167 | 0.395833 | 0.122449 | 0.195918 | 0.179592 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11315 | 327 | 12 | 77 | 27.25 | 0.844828 | 0 | 0 | 0 | 0 | 0 | 0.024691 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.571429 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
3c872087d09565ca04ebd5dda886efabb9297a99 | 5,167 | py | Python | test/DynamicArray/test_dynamic_array_realization.py | shapovalovdev/AlgorythmsAndDataStructures | 34d5f38c089e0ba902813607f08847fbdc7361ab | [
"Apache-2.0"
] | null | null | null | test/DynamicArray/test_dynamic_array_realization.py | shapovalovdev/AlgorythmsAndDataStructures | 34d5f38c089e0ba902813607f08847fbdc7361ab | [
"Apache-2.0"
] | null | null | null | test/DynamicArray/test_dynamic_array_realization.py | shapovalovdev/AlgorythmsAndDataStructures | 34d5f38c089e0ba902813607f08847fbdc7361ab | [
"Apache-2.0"
] | null | null | null | from src.DynamicArray.dynamic_array_realization import DynArray
import unittest
class TestDynArray(unittest.TestCase):
def test_insert_into_empty_array(self):
da=DynArray()
with self.assertRaises(IndexError) as context:
da.insert(10,5)
self.assertTrue('Index ... | 38.559701 | 99 | 0.632669 | 719 | 5,167 | 4.475661 | 0.121001 | 0.186451 | 0.211311 | 0.082039 | 0.794282 | 0.721877 | 0.71069 | 0.5867 | 0.541952 | 0.526414 | 0 | 0.053003 | 0.258758 | 5,167 | 133 | 100 | 38.849624 | 0.787206 | 0.005419 | 0 | 0.504673 | 0 | 0 | 0.209031 | 0 | 0 | 0 | 0 | 0 | 0.504673 | 1 | 0.093458 | false | 0 | 0.018692 | 0 | 0.121495 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
3c9a0653ce40eeb8f70f04e1aaa6e4e9c0dab67c | 97 | py | Python | payment/settings/local.py | monapayjp/monapay | c896b104b5bea328d119f009710589ffd174386a | [
"BSD-3-Clause"
] | 4 | 2015-02-12T18:54:44.000Z | 2021-04-15T05:21:06.000Z | payment/settings/staging.py | monapayjp/monapay | c896b104b5bea328d119f009710589ffd174386a | [
"BSD-3-Clause"
] | 1 | 2018-02-03T17:35:36.000Z | 2018-02-03T17:35:36.000Z | payment/settings/staging.py | monapayjp/monapay | c896b104b5bea328d119f009710589ffd174386a | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
from payment.settings.base import *
DEBUG = True
TEMPLATE_DEBUG = True
| 13.857143 | 35 | 0.680412 | 13 | 97 | 5 | 0.846154 | 0.276923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0125 | 0.175258 | 97 | 6 | 36 | 16.166667 | 0.8 | 0.216495 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
b1ba4f88e47337671133aac99d340672e6d25b0e | 103 | py | Python | zoo/globalsearch/apps.py | aexvir/the-zoo | 7816afb9a0a26c6058b030b4a987c73e952d92bd | [
"MIT"
] | 90 | 2018-11-20T10:58:24.000Z | 2022-02-19T16:12:46.000Z | zoo/globalsearch/apps.py | kiwicom/the-zoo | fee0108ea7b65112e5b572a146cff4b1c54033fd | [
"MIT"
] | 348 | 2018-11-21T09:22:31.000Z | 2021-11-03T13:45:08.000Z | zoo/globalsearch/apps.py | aexvir/the-zoo | 7816afb9a0a26c6058b030b4a987c73e952d92bd | [
"MIT"
] | 11 | 2018-12-08T18:42:07.000Z | 2021-02-21T06:27:58.000Z | from django.apps import AppConfig
class GlobalSearchConfig(AppConfig):
name = "zoo.globalsearch"
| 17.166667 | 36 | 0.776699 | 11 | 103 | 7.272727 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145631 | 103 | 5 | 37 | 20.6 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0.15534 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
b1c5b031df9fd022089e77374a91b0e428e7ad3e | 51 | py | Python | tests/test_app2/sql_config.py | JiriKr/django-migrate-sql | b848acb14679ce8bf472d91e52c85afcce2c5db2 | [
"ISC"
] | 13 | 2016-01-05T12:21:11.000Z | 2021-08-30T05:41:39.000Z | tests/test_app2/sql_config.py | JiriKr/django-migrate-sql | b848acb14679ce8bf472d91e52c85afcce2c5db2 | [
"ISC"
] | 10 | 2015-12-27T14:40:31.000Z | 2020-04-01T11:40:36.000Z | tests/test_app2/sql_config.py | JiriKr/django-migrate-sql | b848acb14679ce8bf472d91e52c85afcce2c5db2 | [
"ISC"
] | 3 | 2017-10-29T11:26:27.000Z | 2019-01-03T17:16:54.000Z | sql_items = [
# TODO: Insert SQL items here.
]
| 12.75 | 34 | 0.607843 | 7 | 51 | 4.285714 | 0.714286 | 0.533333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.27451 | 51 | 3 | 35 | 17 | 0.810811 | 0.54902 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b1c9f79e4e11e02f21f3c8bb5b8df1f03294c734 | 368 | py | Python | player.py | riconaef/Guess-Game | 21fe9f5ed698898ba0c53089858b46f71e4a4926 | [
"CNRI-Python"
] | null | null | null | player.py | riconaef/Guess-Game | 21fe9f5ed698898ba0c53089858b46f71e4a4926 | [
"CNRI-Python"
] | null | null | null | player.py | riconaef/Guess-Game | 21fe9f5ed698898ba0c53089858b46f71e4a4926 | [
"CNRI-Python"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Wed Jan 6 19:46:21 2021
@author: ricon
"""
class Player:
def __init__(self, guess_num=0):
self.guess_num = guess_num
print('Make a first guess.')
#input function of the player
def new_guess(self):
self.guess_num = int(input())
... | 20.444444 | 37 | 0.584239 | 53 | 368 | 3.867925 | 0.641509 | 0.195122 | 0.234146 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.049808 | 0.290761 | 368 | 18 | 38 | 20.444444 | 0.735632 | 0.277174 | 0 | 0 | 0 | 0 | 0.073643 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0 | 0 | 0.125 | 0.625 | 0.125 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
b1d5bb56e42bf1e3b1a47724909c9933e2e343bc | 2,379 | py | Python | synergine/core/simulation/MetaStates.py | buxx/synergine | da05d762cdbc993362807d4851e1ca74784438ae | [
"Apache-2.0"
] | 6 | 2015-04-03T08:04:22.000Z | 2016-11-13T22:47:11.000Z | synergine/core/simulation/MetaStates.py | buxx/synergine | da05d762cdbc993362807d4851e1ca74784438ae | [
"Apache-2.0"
] | 2 | 2019-10-21T15:41:39.000Z | 2021-06-10T14:15:27.000Z | synergine/core/simulation/MetaStates.py | buxx/synergine | da05d762cdbc993362807d4851e1ca74784438ae | [
"Apache-2.0"
] | 2 | 2015-02-27T12:05:51.000Z | 2016-05-11T07:25:20.000Z | from synergine.synergy.Simulation import Simulation
class MetaStates():
def __init__(self, list):
self._list = list
# TODO: have_list etc
def have_list(self, object_id, states):
for state in states:
if not self._list.have(Simulation.STATE, object_id, state, allow_empty=True):... | 37.761905 | 113 | 0.678436 | 344 | 2,379 | 4.386628 | 0.09593 | 0.121935 | 0.146455 | 0.083499 | 0.801856 | 0.695825 | 0.664016 | 0.612989 | 0.559973 | 0.484427 | 0 | 0 | 0.235393 | 2,379 | 62 | 114 | 38.370968 | 0.829577 | 0.007987 | 0 | 0.391304 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016129 | 0 | 1 | 0.282609 | false | 0 | 0.021739 | 0.043478 | 0.543478 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
b1e2656c61c71ba48effb93b22a78bedb84d2db5 | 249 | py | Python | dame_dd/__init__.py | ManuelBuenAbad/dame_dd | 5cd6b9d39499630bf4ce498613d1bd03727fb617 | [
"MIT"
] | 1 | 2021-02-16T17:07:55.000Z | 2021-02-16T17:07:55.000Z | dame_dd/__init__.py | jtbuch/dame_dd | 5cd6b9d39499630bf4ce498613d1bd03727fb617 | [
"MIT"
] | null | null | null | dame_dd/__init__.py | jtbuch/dame_dd | 5cd6b9d39499630bf4ce498613d1bd03727fb617 | [
"MIT"
] | 2 | 2020-11-13T15:29:33.000Z | 2020-11-13T19:48:47.000Z | import astrophysics.astrophysics as ap
import semiconductors.semiconductors as sc
import rates.rates as rt
# these would need to be called, for example, de.ap.astrophysics
#import astrophysics as ap
#import semiconductors as sc
#import rates as rt
| 27.666667 | 64 | 0.815261 | 38 | 249 | 5.342105 | 0.447368 | 0.17734 | 0.157635 | 0.216749 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140562 | 249 | 8 | 65 | 31.125 | 0.948598 | 0.53012 | 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 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
5943f43cce710ed8476ca6d34397139a4f69a716 | 326 | py | Python | nitorch/nn/__init__.py | liamchalcroft/nitorch | 0de179aff97244a82213c528f0d6393725c868c9 | [
"MIT"
] | null | null | null | nitorch/nn/__init__.py | liamchalcroft/nitorch | 0de179aff97244a82213c528f0d6393725c868c9 | [
"MIT"
] | null | null | null | nitorch/nn/__init__.py | liamchalcroft/nitorch | 0de179aff97244a82213c528f0d6393725c868c9 | [
"MIT"
] | null | null | null | """Modules (Networks or Layers)."""
from .activations import *
from .metrics import *
from .modules import *
from .losses import *
from .generators import *
from .training import *
from . import activations
from . import modules
from . import losses
from . import training
from . import generators
from . import experim... | 21.733333 | 35 | 0.754601 | 40 | 326 | 6.15 | 0.3 | 0.243902 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162577 | 326 | 14 | 36 | 23.285714 | 0.901099 | 0.088957 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
3ca487db1d7e296ab01bd85a32d834239af94450 | 1,100 | py | Python | stdZone/models.py | jaiswalshubhamm/estudycorner | 1d8162175580d8b13085b287d4c8ffd5eab876cf | [
"MIT"
] | null | null | null | stdZone/models.py | jaiswalshubhamm/estudycorner | 1d8162175580d8b13085b287d4c8ffd5eab876cf | [
"MIT"
] | 1 | 2022-02-10T13:26:46.000Z | 2022-02-10T13:26:46.000Z | stdZone/models.py | jaiswalshubhamm/estudycorner | 1d8162175580d8b13085b287d4c8ffd5eab876cf | [
"MIT"
] | null | null | null | from django.db import models
# Create your models here.
class Feedback(models.Model):
name=models.CharField(max_length=50)
email=models.CharField(max_length=50)
mobno=models.CharField(max_length=50)
topic=models.CharField(max_length=50)
feedback=models.TextField()
class Meta:
db_table =... | 28.947368 | 41 | 0.713636 | 141 | 1,100 | 5.453901 | 0.22695 | 0.23407 | 0.280884 | 0.374512 | 0.622887 | 0.555267 | 0.474642 | 0.474642 | 0.474642 | 0.474642 | 0 | 0.025219 | 0.170909 | 1,100 | 38 | 42 | 28.947368 | 0.817982 | 0.021818 | 0 | 0.454545 | 0 | 0 | 0.029767 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.030303 | 0 | 0.878788 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
3cc208b7dcab56dfa29813669be578b5bc516688 | 438 | py | Python | Final/Belly_Button_Biodiversity/models.py | kgouldthorpe/plotly-challenge | 963418f36dce2e9eadbe58ebbe758f1105acc510 | [
"ADSL"
] | null | null | null | Final/Belly_Button_Biodiversity/models.py | kgouldthorpe/plotly-challenge | 963418f36dce2e9eadbe58ebbe758f1105acc510 | [
"ADSL"
] | null | null | null | Final/Belly_Button_Biodiversity/models.py | kgouldthorpe/plotly-challenge | 963418f36dce2e9eadbe58ebbe758f1105acc510 | [
"ADSL"
] | null | null | null | from .app import db
class BellyButton(db.Model):
__tablename__ = 'belly_button'
sample = db.Column(db.Integer, primary_key=True)
ETHNICITY = db.Column(db.String(100))
GENDER = db.Column(db.String(5))
AGE = db.Column(db.Integer)
LOCATION = db.Column(db.String(100))
BBTYPE = db.Column(db.St... | 25.764706 | 52 | 0.652968 | 62 | 438 | 4.451613 | 0.516129 | 0.202899 | 0.253623 | 0.231884 | 0.137681 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025641 | 0.19863 | 438 | 16 | 53 | 27.375 | 0.760684 | 0 | 0 | 0 | 0 | 0 | 0.06621 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083333 | false | 0 | 0.083333 | 0.083333 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
3cc2604024a6f7941feb1b08c32365f0bb84b47c | 2,335 | py | Python | src/petl/fluent.py | obsoleter/petl | e3e8ff5423482f7c61974e66acea631027762ea3 | [
"MIT"
] | 1 | 2016-05-27T03:06:27.000Z | 2016-05-27T03:06:27.000Z | src/petl/fluent.py | obsoleter/petl | e3e8ff5423482f7c61974e66acea631027762ea3 | [
"MIT"
] | null | null | null | src/petl/fluent.py | obsoleter/petl | e3e8ff5423482f7c61974e66acea631027762ea3 | [
"MIT"
] | null | null | null | """
As the root :mod:`petl` module but with modifications to allow for fluent style
usage.
.. versionadded:: 0.6
"""
import sys
from .util import valueset, RowContainer
import collections
petl = sys.modules['petl']
thismodule = sys.modules[__name__]
class FluentWrapper(object):
def ... | 24.578947 | 82 | 0.616702 | 278 | 2,335 | 4.906475 | 0.356115 | 0.059384 | 0.02346 | 0.010264 | 0.123167 | 0.070381 | 0.070381 | 0.070381 | 0 | 0 | 0 | 0.001201 | 0.286938 | 2,335 | 94 | 83 | 24.840426 | 0.818018 | 0.215846 | 0 | 0.083333 | 0 | 0 | 0.010496 | 0 | 0 | 0 | 0 | 0.010638 | 0 | 1 | 0.25 | false | 0 | 0.0625 | 0.104167 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
3ccc2782e7ec9377e3e271df278eb2464fd9ed4b | 70 | py | Python | Python/__init__.py | hancheyn/MicroDev | 5d976fcad85f1b45a3e77070c7a766836f32f425 | [
"CC0-1.0"
] | null | null | null | Python/__init__.py | hancheyn/MicroDev | 5d976fcad85f1b45a3e77070c7a766836f32f425 | [
"CC0-1.0"
] | null | null | null | Python/__init__.py | hancheyn/MicroDev | 5d976fcad85f1b45a3e77070c7a766836f32f425 | [
"CC0-1.0"
] | null | null | null | # This is a test comment (Connor Inglat) test testing #2
#Nates Test | 17.5 | 56 | 0.728571 | 12 | 70 | 4.25 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017857 | 0.2 | 70 | 4 | 57 | 17.5 | 0.892857 | 0.9 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
3ccfb1f797a5020a38a25bb1f8f5442a55a1460c | 75 | py | Python | Blockchain-master/src/main/java/agent/untitled.py | JerryPan2718/How-to-build-a-private-chain-on-your-Macbook--Blockchain-Technology | 5957c5053cb121129717e06ee04a1063fb308760 | [
"MIT"
] | 3 | 2019-07-17T21:02:27.000Z | 2020-02-18T13:45:31.000Z | Blockchain-master/src/main/java/agent/untitled.py | JerryPan2718/How-to-build-a-private-chain-on-your-Macbook--Blockchain-Technology | 5957c5053cb121129717e06ee04a1063fb308760 | [
"MIT"
] | null | null | null | Blockchain-master/src/main/java/agent/untitled.py | JerryPan2718/How-to-build-a-private-chain-on-your-Macbook--Blockchain-Technology | 5957c5053cb121129717e06ee04a1063fb308760 | [
"MIT"
] | null | null | null | Jerry Pan.py
i = 0
String = "Jerry Pan"
for n in range(1,100):
n =+ 1;
n
| 9.375 | 22 | 0.586667 | 17 | 75 | 2.588235 | 0.705882 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 0.253333 | 75 | 7 | 23 | 10.714286 | 0.678571 | 0 | 0 | 0 | 0 | 0 | 0.12 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
3cfc197cbb50c1403526b9d449d825d669ac7627 | 140 | py | Python | test/gwill_test.py | Zev3691/godwill | bc4b29ede3fe2424dc844f87d3f93248c0777210 | [
"Apache-2.0"
] | 64 | 2019-06-09T02:41:52.000Z | 2022-03-06T19:18:05.000Z | test/gwill_test.py | Zev3691/godwill | bc4b29ede3fe2424dc844f87d3f93248c0777210 | [
"Apache-2.0"
] | 5 | 2019-06-13T13:07:33.000Z | 2020-12-01T03:14:43.000Z | test/gwill_test.py | Zev3691/godwill | bc4b29ede3fe2424dc844f87d3f93248c0777210 | [
"Apache-2.0"
] | 18 | 2019-02-18T16:32:16.000Z | 2022-01-21T13:49:05.000Z | # -*- coding: utf-8 -*-
class TestGwill():
def test_godwill(self):
from gwill.changes.BChanges import godwill
godwill() | 23.333333 | 50 | 0.621429 | 16 | 140 | 5.375 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009434 | 0.242857 | 140 | 6 | 51 | 23.333333 | 0.801887 | 0.15 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
a715e8a75c35734640147d023a9db7f14bbabfe3 | 914 | py | Python | CodingInterview2/53_04_MissingNumberOnce/test_find_once_number.py | hscspring/TheAlgorithms-Python | 5c2faea1d2d25a9a81a4786e053b0cc58ab46c6f | [
"MIT"
] | 10 | 2020-07-06T11:00:58.000Z | 2022-01-29T09:25:24.000Z | CodingInterview2/53_04_MissingNumberOnce/test_find_once_number.py | hscspring/TheAlgorithms-Python | 5c2faea1d2d25a9a81a4786e053b0cc58ab46c6f | [
"MIT"
] | null | null | null | CodingInterview2/53_04_MissingNumberOnce/test_find_once_number.py | hscspring/TheAlgorithms-Python | 5c2faea1d2d25a9a81a4786e053b0cc58ab46c6f | [
"MIT"
] | 3 | 2020-07-13T06:39:23.000Z | 2020-08-15T16:29:48.000Z | from find_once_number import find
def test1():
lst = [1,1,2,2,3,4,4,5,5,6,6]
assert (find(lst)) == 3
def test2():
lst = [1,1,2,2,3,4,4,5,5]
assert (find(lst)) == 3
def test3():
lst = [1,1,2,3,3]
assert (find(lst)) == 2
def test4():
lst = [1,2,2,3,3,4,4,5,5,6,6]
assert (find(lst)) ... | 15.233333 | 33 | 0.485777 | 182 | 914 | 2.428571 | 0.164835 | 0.294118 | 0.382353 | 0.081448 | 0.683258 | 0.515837 | 0.359729 | 0.273756 | 0.246606 | 0.246606 | 0 | 0.17037 | 0.261488 | 914 | 59 | 34 | 15.491525 | 0.484444 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.325 | 1 | 0.325 | false | 0 | 0.025 | 0 | 0.35 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a72ec04912847ca1a75d92b0960561a88d611b35 | 228 | py | Python | DQM/SiTrackerPhase2/python/Phase2ITMonitorRecHit_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | DQM/SiTrackerPhase2/python/Phase2ITMonitorRecHit_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | DQM/SiTrackerPhase2/python/Phase2ITMonitorRecHit_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | import FWCore.ParameterSet.Config as cms
from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
from DQM.SiTrackerPhase2.Phase2ITMonitorRecHit_cfi import Phase2ITMonitorRecHit
rechitMonitorIT = Phase2ITMonitorRecHit.clone()
| 38 | 80 | 0.881579 | 22 | 228 | 9.090909 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018957 | 0.074561 | 228 | 5 | 81 | 45.6 | 0.92891 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
59577b1aec31d8bbf32465800b68d346b38e66b7 | 81 | py | Python | backend/generated/config.py | malvela/offshoreSingleBladeInstallation | 4ee10c42e4cc240a829ada1745a5ccb00a8022f3 | [
"MIT"
] | 2 | 2021-01-21T15:39:49.000Z | 2021-02-10T11:50:08.000Z | backend/generated/config.py | malvela/offshoreSingleBladeInstallation | 4ee10c42e4cc240a829ada1745a5ccb00a8022f3 | [
"MIT"
] | 56 | 2021-01-21T16:46:12.000Z | 2021-09-04T14:09:45.000Z | backend/generated/config.py | malvela/offshoreSingleBladeInstallation | 4ee10c42e4cc240a829ada1745a5ccb00a8022f3 | [
"MIT"
] | 3 | 2021-03-29T16:41:19.000Z | 2021-08-01T14:32:07.000Z | def run_config (config):
print("Config_File" + config)
config = 830
| 16.2 | 33 | 0.617284 | 10 | 81 | 4.8 | 0.6 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.050847 | 0.271605 | 81 | 4 | 34 | 20.25 | 0.762712 | 0 | 0 | 0 | 0 | 0 | 0.135802 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.333333 | 0.333333 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
595a1ed10714cdadbf43da1f0e14b7a6bdcc2de1 | 110 | py | Python | streetteam/apps/twilio_integration/apps.py | alysivji/street-team | fe891d738b449956d56fe5e53535b98fa04d9a3a | [
"MIT"
] | 2 | 2020-01-22T17:49:10.000Z | 2021-06-18T19:35:23.000Z | streetteam/apps/twilio_integration/apps.py | alysivji/street-team | fe891d738b449956d56fe5e53535b98fa04d9a3a | [
"MIT"
] | 41 | 2019-11-08T18:28:16.000Z | 2022-03-12T00:28:51.000Z | streetteam/apps/twilio_integration/apps.py | alysivji/street-team | fe891d738b449956d56fe5e53535b98fa04d9a3a | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class TwilioIntegrationConfig(AppConfig):
name = "twilio_integration"
| 18.333333 | 41 | 0.8 | 11 | 110 | 7.909091 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 110 | 5 | 42 | 22 | 0.915789 | 0 | 0 | 0 | 0 | 0 | 0.163636 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
596c5a81368adeb60becd7c6d081502efdeb2fe9 | 271,764 | py | Python | keepercommander/APIRequest_pb2.py | zachgarwood/Commander | 108d26766eb33e654e0b1b9caa27fc2b170c0b37 | [
"MIT"
] | 1 | 2021-02-21T22:24:52.000Z | 2021-02-21T22:24:52.000Z | keepercommander/APIRequest_pb2.py | zachgarwood/Commander | 108d26766eb33e654e0b1b9caa27fc2b170c0b37 | [
"MIT"
] | null | null | null | keepercommander/APIRequest_pb2.py | zachgarwood/Commander | 108d26766eb33e654e0b1b9caa27fc2b170c0b37 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: APIRequest.proto
"""Generated protocol buffer code."""
from google.protobuf.internal import enum_type_wrapper
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.pro... | 44.25403 | 23,484 | 0.765348 | 31,643 | 271,764 | 6.249091 | 0.036754 | 0.046849 | 0.084652 | 0.074416 | 0.697997 | 0.66151 | 0.652513 | 0.641352 | 0.638015 | 0.608885 | 0 | 0.037955 | 0.120292 | 271,764 | 6,140 | 23,485 | 44.261238 | 0.789156 | 0.023336 | 0 | 0.706188 | 1 | 0.003813 | 0.189622 | 0.14369 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.007974 | 0.00104 | 0 | 0.00104 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
596e2d5b8702f4c4b303d7c69c34540e912a7c94 | 4,200 | py | Python | api_v1/tests/test_bucketlists.py | clementm916/django-bucketlist-api | 2f83374b752363e04db631e2e10658177807a13c | [
"MIT"
] | null | null | null | api_v1/tests/test_bucketlists.py | clementm916/django-bucketlist-api | 2f83374b752363e04db631e2e10658177807a13c | [
"MIT"
] | null | null | null | api_v1/tests/test_bucketlists.py | clementm916/django-bucketlist-api | 2f83374b752363e04db631e2e10658177807a13c | [
"MIT"
] | null | null | null | from . import BaseAPITestCase
from .. models import Bucketlist, Item
class TestBucketLists(BaseAPITestCase):
def test_creating_bucketlist(self):
# with correct fields
payload = {'name': 'cook'}
request = self.test_client.post(
'/api/v1/bucketlists/', payload, HTTP_AUTHORIZATION... | 42 | 106 | 0.647143 | 494 | 4,200 | 5.354251 | 0.163968 | 0.042344 | 0.099811 | 0.087335 | 0.768998 | 0.73724 | 0.719093 | 0.719093 | 0.6431 | 0.6431 | 0 | 0.015408 | 0.227381 | 4,200 | 99 | 107 | 42.424242 | 0.799692 | 0.057857 | 0 | 0.573333 | 0 | 0 | 0.1148 | 0.006842 | 0 | 0 | 0 | 0 | 0.293333 | 1 | 0.066667 | false | 0 | 0.026667 | 0 | 0.106667 | 0.026667 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
59722d18e17fe68b182198a040e872f9372d64f4 | 265 | py | Python | molecule/shared/tests/test_default.py | zerodowntime/ansible-role-epel_repo | 3c99660e1aea5f47a0e31f919b8f989c401d7c1a | [
"Apache-2.0"
] | null | null | null | molecule/shared/tests/test_default.py | zerodowntime/ansible-role-epel_repo | 3c99660e1aea5f47a0e31f919b8f989c401d7c1a | [
"Apache-2.0"
] | null | null | null | molecule/shared/tests/test_default.py | zerodowntime/ansible-role-epel_repo | 3c99660e1aea5f47a0e31f919b8f989c401d7c1a | [
"Apache-2.0"
] | null | null | null | import os
import testinfra.utils.ansible_runner
testinfra_hosts = testinfra.utils.ansible_runner.AnsibleRunner(
os.environ['MOLECULE_INVENTORY_FILE']).get_hosts('all')
def test_package_is_installed(host):
assert host.package("epel-release").is_installed
| 26.5 | 63 | 0.807547 | 35 | 265 | 5.828571 | 0.657143 | 0.137255 | 0.205882 | 0.264706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086792 | 265 | 9 | 64 | 29.444444 | 0.842975 | 0 | 0 | 0 | 0 | 0 | 0.143396 | 0.086792 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
5977e89e494ea56beca997013bfc58e35252a461 | 126 | py | Python | database/__init__.py | StephenSorriaux/pastepwn | 0b6e1366a3d2bcca9622e646c839fb01cd0776b1 | [
"MIT"
] | null | null | null | database/__init__.py | StephenSorriaux/pastepwn | 0b6e1366a3d2bcca9622e646c839fb01cd0776b1 | [
"MIT"
] | null | null | null | database/__init__.py | StephenSorriaux/pastepwn | 0b6e1366a3d2bcca9622e646c839fb01cd0776b1 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from .abstractdb import AbstractDB
from .mongodb import MongoDB
__all__ = ('AbstractDB', 'MongoDB')
| 18 | 35 | 0.698413 | 14 | 126 | 6 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009346 | 0.150794 | 126 | 6 | 36 | 21 | 0.775701 | 0.166667 | 0 | 0 | 0 | 0 | 0.165049 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
5983110d161ed1076285b104f97549ba8dfd147b | 164 | py | Python | env/bin/django-admin.py | wilbrone/Hood | 6e59a0628b88dcf3f67b4a42af1a0d88447ca858 | [
"MIT"
] | null | null | null | env/bin/django-admin.py | wilbrone/Hood | 6e59a0628b88dcf3f67b4a42af1a0d88447ca858 | [
"MIT"
] | 7 | 2021-03-18T23:56:59.000Z | 2021-09-08T01:41:03.000Z | env/bin/django-admin.py | wilbrone/Hood | 6e59a0628b88dcf3f67b4a42af1a0d88447ca858 | [
"MIT"
] | null | null | null | #!/home/aphya/moringa-projects/hoodTracker/env/bin/python
from django.core import management
if __name__ == "__main__":
management.execute_from_command_line()
| 27.333333 | 57 | 0.792683 | 21 | 164 | 5.666667 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091463 | 164 | 5 | 58 | 32.8 | 0.798658 | 0.341463 | 0 | 0 | 0 | 0 | 0.074766 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
598d2c180ca353d5666e5b6e345354704f438629 | 137 | py | Python | locale/pot/api/utilities/_autosummary/pyvista-ParametricRandomHills-1.py | tkoyama010/pyvista-doc-translations | 23bb813387b7f8bfe17e86c2244d5dd2243990db | [
"MIT"
] | 4 | 2020-08-07T08:19:19.000Z | 2020-12-04T09:51:11.000Z | locale/pot/api/utilities/_autosummary/pyvista-ParametricRandomHills-1.py | tkoyama010/pyvista-doc-translations | 23bb813387b7f8bfe17e86c2244d5dd2243990db | [
"MIT"
] | 19 | 2020-08-06T00:24:30.000Z | 2022-03-30T19:22:24.000Z | locale/pot/api/utilities/_autosummary/pyvista-ParametricRandomHills-1.py | tkoyama010/pyvista-doc-translations | 23bb813387b7f8bfe17e86c2244d5dd2243990db | [
"MIT"
] | 1 | 2021-03-09T07:50:40.000Z | 2021-03-09T07:50:40.000Z | # Create a ParametricRandomHills mesh.
#
import pyvista
mesh = pyvista.ParametricRandomHills()
mesh.plot(color='w', smooth_shading=True)
| 22.833333 | 41 | 0.79562 | 16 | 137 | 6.75 | 0.75 | 0.462963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094891 | 137 | 5 | 42 | 27.4 | 0.870968 | 0.262774 | 0 | 0 | 0 | 0 | 0.010204 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
59951cbac4b9ff0cd8528d10c5f2bdbb0bd542e7 | 595 | py | Python | Xtracker/core/xt_core.py | abkabhishek/Xtracker | 8b555e38a0f3953720feed3d58a52b8531ca2a07 | [
"MIT"
] | null | null | null | Xtracker/core/xt_core.py | abkabhishek/Xtracker | 8b555e38a0f3953720feed3d58a52b8531ca2a07 | [
"MIT"
] | null | null | null | Xtracker/core/xt_core.py | abkabhishek/Xtracker | 8b555e38a0f3953720feed3d58a52b8531ca2a07 | [
"MIT"
] | null | null | null | """
This is the core class of Xtracker
All processing should be initiated through this class only
Basic Structure
Project
TC Track
- Provide following info:
-- Test Location
-- File Pattern
-- Test Pattern
-- Other Info to parse from Test File
- Fe... | 16.081081 | 58 | 0.594958 | 76 | 595 | 4.605263 | 0.671053 | 0.04 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.364706 | 595 | 36 | 59 | 16.527778 | 0.925926 | 0.878992 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
599febfb3c5dff04e8ade48e985c66994feb3be1 | 209 | py | Python | src/ur_fabrication_control/direct_control/utilities/__init__.py | augmentedfabricationlab/ur_fabrication_control | e2af04e3ad7bba0ad5131844e4ccab2e2a4a1663 | [
"MIT"
] | 5 | 2021-08-12T07:20:02.000Z | 2022-02-26T02:48:32.000Z | src/ur_fabrication_control/direct_control/utilities/__init__.py | augmentedfabricationlab/ur_fabrication_control | e2af04e3ad7bba0ad5131844e4ccab2e2a4a1663 | [
"MIT"
] | 7 | 2021-01-20T16:31:21.000Z | 2021-01-21T15:36:45.000Z | src/ur_fabrication_control/direct_control/utilities/__init__.py | augmentedfabricationlab/ur_fabrication_control | e2af04e3ad7bba0ad5131844e4ccab2e2a4a1663 | [
"MIT"
] | 2 | 2020-11-19T14:26:41.000Z | 2020-12-11T13:32:55.000Z | from .files import read_file_to_list, read_file_to_string
from .lists import flatten_list, divide_list_by_number, isclose
from .numbers import argsort, sign, convert_float_to_int
from .ping import is_available | 52.25 | 63 | 0.861244 | 35 | 209 | 4.742857 | 0.657143 | 0.096386 | 0.120482 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095694 | 209 | 4 | 64 | 52.25 | 0.878307 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
59d834e2dd16ad16d44eb0e75ed06b9264f06bf2 | 155 | py | Python | Leetcode/1518. Water Bottles/solution3.py | asanoviskhak/Outtalent | c500e8ad498f76d57eb87a9776a04af7bdda913d | [
"MIT"
] | 51 | 2020-07-12T21:27:47.000Z | 2022-02-11T19:25:36.000Z | coding_intereview/1518. Water Bottles.py | purusharthmalik/Python-Bootcamp | 2ed1cf886d1081de200b0fdd4cb4e28008c7e3d1 | [
"MIT"
] | null | null | null | coding_intereview/1518. Water Bottles.py | purusharthmalik/Python-Bootcamp | 2ed1cf886d1081de200b0fdd4cb4e28008c7e3d1 | [
"MIT"
] | 32 | 2020-07-27T13:54:24.000Z | 2021-12-25T18:12:50.000Z | class Solution:
def numWaterBottles(self, numBottles: int, numExchange: int) -> int:
return numBottles + (numBottles - 1) // (numExchange - 1)
| 38.75 | 72 | 0.670968 | 16 | 155 | 6.5 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01626 | 0.206452 | 155 | 3 | 73 | 51.666667 | 0.829268 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
59e1f0f1b407fe0029873bf70534014d50532950 | 160 | py | Python | diagram.py | micronode/terraform-aws-lambda-layer | af68f84a56e23ddba0746b8d9cfdf8f566cb75d4 | [
"MIT"
] | null | null | null | diagram.py | micronode/terraform-aws-lambda-layer | af68f84a56e23ddba0746b8d9cfdf8f566cb75d4 | [
"MIT"
] | null | null | null | diagram.py | micronode/terraform-aws-lambda-layer | af68f84a56e23ddba0746b8d9cfdf8f566cb75d4 | [
"MIT"
] | 1 | 2022-02-22T02:37:37.000Z | 2022-02-22T02:37:37.000Z | from diagrams import Diagram
from diagrams.aws.compute import Lambda
with Diagram("AWS Lambda Layer", show=False, direction="TB"):
Lambda("lambda layer")
| 22.857143 | 61 | 0.75625 | 22 | 160 | 5.5 | 0.590909 | 0.198347 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1375 | 160 | 6 | 62 | 26.666667 | 0.876812 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
59e851d20bfd38266e05d672b3a5985735961ed9 | 91 | py | Python | workshop/apps.py | akshaya9/fosswebsite | 5669a90ebb1fea2213c207a938236fba7643375c | [
"MIT"
] | 369 | 2017-10-02T03:04:24.000Z | 2022-03-26T10:54:55.000Z | pizzeria/workshop/apps.py | Zachary-Jackson/Django-Pizzeria | 5948b10e9e99e7f2e8ffdbe6c0efbb87000808a9 | [
"BSD-2-Clause"
] | 121 | 2017-10-01T14:21:48.000Z | 2018-11-08T16:57:26.000Z | GroupProject/workshop/apps.py | itachikryst/GroupProject | 5f030cb9bf686f3aed31d30e37f724ca99cf57bf | [
"MIT"
] | 69 | 2017-10-13T11:04:38.000Z | 2021-12-08T06:23:19.000Z | from django.apps import AppConfig
class WorkshopConfig(AppConfig):
name = 'workshop'
| 15.166667 | 33 | 0.758242 | 10 | 91 | 6.9 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164835 | 91 | 5 | 34 | 18.2 | 0.907895 | 0 | 0 | 0 | 0 | 0 | 0.087912 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
ab8b1c94035c081b9bbaa7d79c9727b8dc1de0ee | 132 | py | Python | artifacts/com.example.mqtt/1.0.0/mqtt.py | ochemerys/aws-iot-greengrass | 3aec4bae7f8512da8e3d0aec4edf1f7236b15357 | [
"MIT"
] | null | null | null | artifacts/com.example.mqtt/1.0.0/mqtt.py | ochemerys/aws-iot-greengrass | 3aec4bae7f8512da8e3d0aec4edf1f7236b15357 | [
"MIT"
] | null | null | null | artifacts/com.example.mqtt/1.0.0/mqtt.py | ochemerys/aws-iot-greengrass | 3aec4bae7f8512da8e3d0aec4edf1f7236b15357 | [
"MIT"
] | null | null | null | import awsiot.greengrasscoreipc
print("---connecting---")
ipc_client = awsiot.greengrasscoreipc.connect()
print("---connected---")
| 22 | 47 | 0.742424 | 12 | 132 | 8.083333 | 0.75 | 0.474227 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060606 | 132 | 5 | 48 | 26.4 | 0.782258 | 0 | 0 | 0 | 0 | 0 | 0.234848 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
ab8e9b9c60b476d558466a93e6f57d9652427845 | 87 | py | Python | github_activity/__init__.py | blink1073/github-activity | f994a6944fc50b167a7799b464af425f794ba1c8 | [
"BSD-3-Clause"
] | 19 | 2020-09-17T16:02:21.000Z | 2022-02-20T20:19:52.000Z | github_activity/__init__.py | blink1073/github-activity | f994a6944fc50b167a7799b464af425f794ba1c8 | [
"BSD-3-Clause"
] | 34 | 2020-08-11T05:39:10.000Z | 2022-03-11T13:50:01.000Z | github_activity/__init__.py | blink1073/github-activity | f994a6944fc50b167a7799b464af425f794ba1c8 | [
"BSD-3-Clause"
] | 5 | 2020-10-29T10:42:05.000Z | 2021-11-24T15:01:15.000Z | __version__ = "0.2.0"
from .github_activity import get_activity, generate_activity_md
| 21.75 | 63 | 0.816092 | 13 | 87 | 4.846154 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038462 | 0.103448 | 87 | 3 | 64 | 29 | 0.769231 | 0 | 0 | 0 | 1 | 0 | 0.057471 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
ab997b954871fcc5bd142aa20c265cefdce142fd | 22 | py | Python | arec/python/antchain_sdk_arec/__init__.py | alipay/antchain-openapi-prod-sdk | f78549e5135d91756093bd88d191ca260b28e083 | [
"MIT"
] | 6 | 2020-06-28T06:40:50.000Z | 2022-02-25T11:02:18.000Z | arec/python/antchain_sdk_arec/__init__.py | alipay/antchain-openapi-prod-sdk | f78549e5135d91756093bd88d191ca260b28e083 | [
"MIT"
] | null | null | null | arec/python/antchain_sdk_arec/__init__.py | alipay/antchain-openapi-prod-sdk | f78549e5135d91756093bd88d191ca260b28e083 | [
"MIT"
] | 6 | 2020-06-30T09:29:03.000Z | 2022-01-07T10:42:22.000Z | __version__ = '1.4.10' | 22 | 22 | 0.681818 | 4 | 22 | 2.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0.090909 | 22 | 1 | 22 | 22 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ab9a78e58615ed02ca0a611a31d004dd01e29ae3 | 43 | py | Python | chatbot/constants.py | IronEdward/chatbot | dbfcc5ba90dbb8bc18f335e3d6637771c8c5a996 | [
"MIT"
] | null | null | null | chatbot/constants.py | IronEdward/chatbot | dbfcc5ba90dbb8bc18f335e3d6637771c8c5a996 | [
"MIT"
] | null | null | null | chatbot/constants.py | IronEdward/chatbot | dbfcc5ba90dbb8bc18f335e3d6637771c8c5a996 | [
"MIT"
] | null | null | null | symbols = "@+*=/_#$%&'~^[]{}`"
padding = 20 | 21.5 | 30 | 0.395349 | 3 | 43 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 0.116279 | 43 | 2 | 31 | 21.5 | 0.368421 | 0 | 0 | 0 | 0 | 0 | 0.409091 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
abc1f8451e951c414a7ea3a6d467e18868ab7a8b | 181 | py | Python | src/core/app/app/crud/crud_city.py | WeAreBeep/FrontlineUkraine | 9ace8222af347f8ebbcaf444f375b2736f49cd9f | [
"MIT"
] | null | null | null | src/core/app/app/crud/crud_city.py | WeAreBeep/FrontlineUkraine | 9ace8222af347f8ebbcaf444f375b2736f49cd9f | [
"MIT"
] | null | null | null | src/core/app/app/crud/crud_city.py | WeAreBeep/FrontlineUkraine | 9ace8222af347f8ebbcaf444f375b2736f49cd9f | [
"MIT"
] | null | null | null | from pydantic import BaseModel
from .base import CRUDBase
from app.models.city import City
class CRUDCity(CRUDBase[City, BaseModel, BaseModel]):
pass
city = CRUDCity(City)
| 15.083333 | 53 | 0.767956 | 24 | 181 | 5.791667 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160221 | 181 | 11 | 54 | 16.454545 | 0.914474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.166667 | 0.5 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
abdfb032e5ebd7c73bfb7e17362291c6b105b4c5 | 384 | py | Python | day47/decorator_exercise.py | nurmatthias/100DaysOfCode | 22002e4b31d13e6b52e6b9222d2e91c2070c5744 | [
"Apache-2.0"
] | null | null | null | day47/decorator_exercise.py | nurmatthias/100DaysOfCode | 22002e4b31d13e6b52e6b9222d2e91c2070c5744 | [
"Apache-2.0"
] | null | null | null | day47/decorator_exercise.py | nurmatthias/100DaysOfCode | 22002e4b31d13e6b52e6b9222d2e91c2070c5744 | [
"Apache-2.0"
] | null | null | null | # Create the logging_decorator() function 👇
def logging_decorator(function):
def wrapper(*args, **kwargs):
print(f"call {function.__name__} with {args} and {kwargs}: {function(*args, **kwargs)}")
return wrapper
# Use the decorator 👇
@logging_decorator
def function_to_log(value, key):
return f"g... | 25.6 | 96 | 0.695313 | 53 | 384 | 4.867925 | 0.490566 | 0.186047 | 0.186047 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164063 | 384 | 15 | 97 | 25.6 | 0.797508 | 0.158854 | 0 | 0 | 0 | 0.125 | 0.367601 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0 | 0 | 0.125 | 0.625 | 0.125 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
e60abb4fb59d6c712ff9af0750a9c709b61facfe | 8,012 | py | Python | dlkit/abstract_osid/id/managers.py | UOC/dlkit | a9d265db67e81b9e0f405457464e762e2c03f769 | [
"MIT"
] | 2 | 2018-02-23T12:16:11.000Z | 2020-10-08T17:54:24.000Z | dlkit/abstract_osid/id/managers.py | UOC/dlkit | a9d265db67e81b9e0f405457464e762e2c03f769 | [
"MIT"
] | 87 | 2017-04-21T18:57:15.000Z | 2021-12-13T19:43:57.000Z | dlkit/abstract_osid/id/managers.py | UOC/dlkit | a9d265db67e81b9e0f405457464e762e2c03f769 | [
"MIT"
] | 1 | 2018-03-01T16:44:25.000Z | 2018-03-01T16:44:25.000Z | """Implementations of id abstract base class managers."""
# pylint: disable=invalid-name
# Method names comply with OSID specification.
# pylint: disable=no-init
# Abstract classes do not define __init__.
# pylint: disable=too-few-public-methods
# Some interfaces are specified as 'markers' and include no me... | 33.244813 | 84 | 0.637918 | 888 | 8,012 | 5.634009 | 0.176802 | 0.039976 | 0.047971 | 0.038377 | 0.781531 | 0.744154 | 0.703578 | 0.673996 | 0.597641 | 0.56626 | 0 | 0 | 0.238642 | 8,012 | 240 | 85 | 33.383333 | 0.820164 | 0.699825 | 0 | 0.5625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.020833 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
e6198c5d5a0921a4ff0a7d844fef961ceb8792b3 | 603 | py | Python | day07/test_util.py | aschmied/advent-of-code-2016 | 90d6f2415a84b3d2db740252a1a87193d3a47aaa | [
"BSD-2-Clause"
] | null | null | null | day07/test_util.py | aschmied/advent-of-code-2016 | 90d6f2415a84b3d2db740252a1a87193d3a47aaa | [
"BSD-2-Clause"
] | null | null | null | day07/test_util.py | aschmied/advent-of-code-2016 | 90d6f2415a84b3d2db740252a1a87193d3a47aaa | [
"BSD-2-Clause"
] | null | null | null | import unittest
import util
class TestUtil(unittest.TestCase):
def test_flat_map(self):
self.assertEqual(util.flatten([]), [])
self.assertEqual(util.flatten([[]]), [])
self.assertEqual(util.flatten([[], []]), [])
self.assertEqual(util.flatten([[1], [2, 3]]), [1, 2, 3])
def test_map_flatten(self):... | 35.470588 | 85 | 0.6733 | 80 | 603 | 4.8875 | 0.2625 | 0.268542 | 0.340153 | 0.265985 | 0.654731 | 0.654731 | 0.654731 | 0.654731 | 0.526854 | 0.265985 | 0 | 0.028791 | 0.135987 | 603 | 16 | 86 | 37.6875 | 0.721689 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.538462 | 1 | 0.153846 | false | 0 | 0.153846 | 0 | 0.384615 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
05376bf1c11a7cb90005d2b6f119ea1ab2c34f9a | 927 | py | Python | aiotdlib/api/functions/close_chat.py | jraylan/aiotdlib | 4528fcfca7c5c69b54a878ce6ce60e934a2dcc73 | [
"MIT"
] | 37 | 2021-05-04T10:41:41.000Z | 2022-03-30T13:48:05.000Z | aiotdlib/api/functions/close_chat.py | jraylan/aiotdlib | 4528fcfca7c5c69b54a878ce6ce60e934a2dcc73 | [
"MIT"
] | 13 | 2021-07-17T19:54:51.000Z | 2022-02-26T06:50:00.000Z | aiotdlib/api/functions/close_chat.py | jraylan/aiotdlib | 4528fcfca7c5c69b54a878ce6ce60e934a2dcc73 | [
"MIT"
] | 7 | 2021-09-22T21:27:11.000Z | 2022-02-20T02:33:19.000Z | # =============================================================================== #
# #
# This file has been generated automatically!! Do not change this manually! #
# ... | 33.107143 | 119 | 0.435814 | 77 | 927 | 5.142857 | 0.675325 | 0.045455 | 0.050505 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.332255 | 927 | 27 | 120 | 34.333333 | 0.639742 | 0.626753 | 0 | 0 | 1 | 0 | 0.046205 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.333333 | 0.111111 | 0.888889 | 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 | 1 | 1 | 0 | 0 | 4 |
05551eaeba4da195c25fbc8d6e5e02277545db29 | 58 | py | Python | snippets/python/network/request/pyquery.py | c6401/Snippets | a88d97005658eeda99f1a2766e3d069a64e142cb | [
"MIT"
] | null | null | null | snippets/python/network/request/pyquery.py | c6401/Snippets | a88d97005658eeda99f1a2766e3d069a64e142cb | [
"MIT"
] | null | null | null | snippets/python/network/request/pyquery.py | c6401/Snippets | a88d97005658eeda99f1a2766e3d069a64e142cb | [
"MIT"
] | null | null | null | from pyquery import PyQuery as PQ
pq = PQ('https://...')
| 14.5 | 33 | 0.637931 | 9 | 58 | 4.111111 | 0.666667 | 0.216216 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 58 | 3 | 34 | 19.333333 | 0.770833 | 0 | 0 | 0 | 0 | 0 | 0.189655 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
0563c8f7660ae70cb7dd32841a4d3519ca5f8080 | 28 | py | Python | tests/test_schema.py | sparesnmechs/sparesnmechs | 44a7178fcfd0c89004d9f31734405c8d0fd5cd97 | [
"MIT"
] | null | null | null | tests/test_schema.py | sparesnmechs/sparesnmechs | 44a7178fcfd0c89004d9f31734405c8d0fd5cd97 | [
"MIT"
] | 9 | 2021-02-27T13:13:38.000Z | 2021-06-04T11:57:12.000Z | tests/test_schema.py | sparesnmechs/sparesnmechs | 44a7178fcfd0c89004d9f31734405c8d0fd5cd97 | [
"MIT"
] | null | null | null | """GraphQL schema tests."""
| 14 | 27 | 0.642857 | 3 | 28 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 28 | 1 | 28 | 28 | 0.72 | 0.75 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5565c84c1bea21c16e2de2bfc76a9b366d50efa5 | 157 | py | Python | Chapter 06/Praktikum-3/operasi.py | icaksh/Python-Projects-Protek | dfd56ea5afc637a8850911a9296131652de383c5 | [
"MIT"
] | null | null | null | Chapter 06/Praktikum-3/operasi.py | icaksh/Python-Projects-Protek | dfd56ea5afc637a8850911a9296131652de383c5 | [
"MIT"
] | null | null | null | Chapter 06/Praktikum-3/operasi.py | icaksh/Python-Projects-Protek | dfd56ea5afc637a8850911a9296131652de383c5 | [
"MIT"
] | null | null | null | from operation import *
a = 10
b = 7
print(a,'+',b,'=',jumlah(a,b))
print(a,'-',b,'=',kurang(a,b))
print(a,'*',b,'=',kali(a,b))
print(a,'/',b,'=',bagi(a,b)) | 19.625 | 30 | 0.509554 | 31 | 157 | 2.580645 | 0.387097 | 0.2 | 0.35 | 0.3 | 0.3375 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020979 | 0.089172 | 157 | 8 | 31 | 19.625 | 0.538462 | 0 | 0 | 0 | 0 | 0 | 0.050633 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.142857 | 0.571429 | 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 | 1 | 0 | 4 |
558b402d06f114f5431a4f0bc66f0207a02e96bb | 4,344 | py | Python | reconstruction/globals/global_values.py | tecdatalab/biostructure | a30e907e83fa5bbfb934d951b7c663b622104fcc | [
"Apache-2.0"
] | null | null | null | reconstruction/globals/global_values.py | tecdatalab/biostructure | a30e907e83fa5bbfb934d951b7c663b622104fcc | [
"Apache-2.0"
] | 15 | 2019-06-17T16:13:39.000Z | 2022-02-27T05:23:59.000Z | reconstruction/globals/global_values.py | tecdatalab/biostructure | a30e907e83fa5bbfb934d951b7c663b622104fcc | [
"Apache-2.0"
] | null | null | null | maps_with_pdb_origin = ['emd_0009.map', 'emd_0244.map', 'emd_0293.map', 'emd_0355.map', 'emd_0362.map', 'emd_0366.map',
'emd_0367.map', 'emd_0404.map', 'emd_0434.map', 'emd_0493.map', 'emd_0646.map', 'emd_0647.map',
'emd_0648.map', 'emd_0695.map', 'emd_0728.map', 'emd_072... | 101.023256 | 120 | 0.538444 | 627 | 4,344 | 3.392345 | 0.338118 | 0.575458 | 0.010343 | 0.015985 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.269546 | 0.269797 | 4,344 | 42 | 121 | 103.428571 | 0.401009 | 0 | 0 | 0 | 0 | 0 | 0.574355 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
559de769046aaaee0afe102944cba54828cf12fe | 1,427 | py | Python | src/maps.py | BSathvik/FarmWorker | 1495a75051fdbf2f29b4a193f9a0df2f47203e32 | [
"MIT"
] | null | null | null | src/maps.py | BSathvik/FarmWorker | 1495a75051fdbf2f29b4a193f9a0df2f47203e32 | [
"MIT"
] | null | null | null | src/maps.py | BSathvik/FarmWorker | 1495a75051fdbf2f29b4a193f9a0df2f47203e32 | [
"MIT"
] | 1 | 2019-06-18T06:43:18.000Z | 2019-06-18T06:43:18.000Z | # -*- coding: utf-8 -*-
import json
import requests
class GoogleMaps:
def __init__(self):
pass
def distance_json(self, latitude, longitude, destination_param):
destination = (destination_param+"").replace(" ", "+")
key = "AIzaSyA79fdTvjbYAJCx3CEzMe31PexdQZI9TZE"
req = req... | 29.729167 | 159 | 0.616678 | 150 | 1,427 | 5.74 | 0.333333 | 0.078978 | 0.041812 | 0.078978 | 0.826945 | 0.826945 | 0.766551 | 0.696864 | 0.696864 | 0.696864 | 0 | 0.019332 | 0.202523 | 1,427 | 47 | 160 | 30.361702 | 0.737258 | 0.014716 | 0 | 0.4 | 0 | 0 | 0.252137 | 0.055556 | 0 | 0 | 0 | 0 | 0 | 1 | 0.12 | false | 0.04 | 0.08 | 0 | 0.32 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
55a8349be4e6a41b81f460ba95d7d706f822fc98 | 137 | py | Python | 3.Python/nithish9.py | tony21122000/Learn-Coding | 11862f3a372069693bd381b1f99063d95d3b2b65 | [
"MIT"
] | 54 | 2020-10-01T07:06:36.000Z | 2021-10-21T03:24:30.000Z | 3.Python/nithish9.py | tony21122000/Learn-Coding | 11862f3a372069693bd381b1f99063d95d3b2b65 | [
"MIT"
] | 19 | 2020-10-01T13:04:55.000Z | 2020-10-27T06:10:52.000Z | 3.Python/nithish9.py | tony21122000/Learn-Coding | 11862f3a372069693bd381b1f99063d95d3b2b65 | [
"MIT"
] | 97 | 2020-10-01T07:07:17.000Z | 2021-10-21T03:25:20.000Z | name, age = "nithish", *18*
username = "*nithish9"
print ('Hello!')
print("Name: {}\nAge: {}\nUsername: {}".format(name, age, username))
| 27.4 | 68 | 0.620438 | 16 | 137 | 5.3125 | 0.6875 | 0.164706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024793 | 0.116788 | 137 | 4 | 69 | 34.25 | 0.677686 | 0 | 0 | 0 | 0 | 0 | 0.386861 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
e954fd311cae220e9b5ed13a586ca04cc2d272b1 | 105 | py | Python | 6-Patron/python/FabricaBotas.py | TanZng/patrones-combinados | 93796d9d5296649bd76b7b2ee7c723156b9a120f | [
"MIT"
] | 1 | 2021-09-13T15:45:48.000Z | 2021-09-13T15:45:48.000Z | 6-Patron/python/FabricaBotas.py | TanZng/patrones-combinados | 93796d9d5296649bd76b7b2ee7c723156b9a120f | [
"MIT"
] | null | null | null | 6-Patron/python/FabricaBotas.py | TanZng/patrones-combinados | 93796d9d5296649bd76b7b2ee7c723156b9a120f | [
"MIT"
] | 1 | 2021-09-24T03:00:47.000Z | 2021-09-24T03:00:47.000Z | import abc
class FabricaBotas(abc.ABC):
@abc.abstractmethod
def crearBotas(self):
pass
| 13.125 | 28 | 0.666667 | 12 | 105 | 5.833333 | 0.75 | 0.171429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.247619 | 105 | 7 | 29 | 15 | 0.886076 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0.2 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
e95a885231b71da76be23dc4180bda50b439233c | 80 | py | Python | mpunet/errors/__init__.py | alexsosn/MultiPlanarUNet | 2d1cecdee391be8e9f72da95e33077ed82a2183a | [
"MIT"
] | 156 | 2018-12-19T19:21:30.000Z | 2022-03-10T13:14:52.000Z | mpunet/errors/__init__.py | alexsosn/MultiPlanarUNet | 2d1cecdee391be8e9f72da95e33077ed82a2183a | [
"MIT"
] | 25 | 2019-07-30T07:45:26.000Z | 2022-02-10T00:38:31.000Z | mpunet/errors/__init__.py | alexsosn/MultiPlanarUNet | 2d1cecdee391be8e9f72da95e33077ed82a2183a | [
"MIT"
] | 33 | 2019-01-26T16:34:50.000Z | 2022-02-20T13:48:44.000Z | from .implementation_change_errors import raise_non_sparse_metric_or_loss_error
| 40 | 79 | 0.9375 | 12 | 80 | 5.583333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05 | 80 | 1 | 80 | 80 | 0.881579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
e96209dbcf1e817865e2ef611a6ae769dc486e3e | 110 | py | Python | src/pycounts/__init__.py | Annabgm/pycounts | 60173b8caa212c97665d6906991d8a2c94d4edbe | [
"MIT"
] | null | null | null | src/pycounts/__init__.py | Annabgm/pycounts | 60173b8caa212c97665d6906991d8a2c94d4edbe | [
"MIT"
] | null | null | null | src/pycounts/__init__.py | Annabgm/pycounts | 60173b8caa212c97665d6906991d8a2c94d4edbe | [
"MIT"
] | null | null | null | # read version from installed package
from importlib_metadata import version
__version__ = version("pycounts") | 36.666667 | 38 | 0.836364 | 13 | 110 | 6.692308 | 0.692308 | 0.321839 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109091 | 110 | 3 | 39 | 36.666667 | 0.887755 | 0.318182 | 0 | 0 | 0 | 0 | 0.108108 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
75a6b0f07f651cea75005db2de4649f655480c9e | 142 | py | Python | components/core/conftest.py | LourensVeen/QCG-PilotJob | e78c35a9b16b1042a2d5b54352a2ca2e3a58c6b9 | [
"Apache-2.0"
] | null | null | null | components/core/conftest.py | LourensVeen/QCG-PilotJob | e78c35a9b16b1042a2d5b54352a2ca2e3a58c6b9 | [
"Apache-2.0"
] | null | null | null | components/core/conftest.py | LourensVeen/QCG-PilotJob | e78c35a9b16b1042a2d5b54352a2ca2e3a58c6b9 | [
"Apache-2.0"
] | null | null | null | import random
import time
from datetime import timedelta
import sys
import pytest
from qcg.pilotjob.service import QCGPMService
# FIXTURES
| 12.909091 | 45 | 0.830986 | 19 | 142 | 6.210526 | 0.684211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147887 | 142 | 10 | 46 | 14.2 | 0.975207 | 0.056338 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
75c24a0cbe0c4f20a032ff5aaf3eefd5019897ae | 69 | py | Python | __init__.py | notsoseamless/mancala | b8493c720c0eba80c7ea9a352efe4406012ed525 | [
"MIT"
] | null | null | null | __init__.py | notsoseamless/mancala | b8493c720c0eba80c7ea9a352efe4406012ed525 | [
"MIT"
] | null | null | null | __init__.py | notsoseamless/mancala | b8493c720c0eba80c7ea9a352efe4406012ed525 | [
"MIT"
] | null | null | null | '''
Python version of the Mancala game
'''
from mancala import main
| 11.5 | 34 | 0.724638 | 10 | 69 | 5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188406 | 69 | 5 | 35 | 13.8 | 0.892857 | 0.492754 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
75e12dc012bbfa1d42d6128e5b4b65861f8ba443 | 221 | py | Python | py_Learn/ex13.py | tripdubroot/archive | 2442ac067c358ac537614050c029ae424ca9ed04 | [
"MIT"
] | null | null | null | py_Learn/ex13.py | tripdubroot/archive | 2442ac067c358ac537614050c029ae424ca9ed04 | [
"MIT"
] | null | null | null | py_Learn/ex13.py | tripdubroot/archive | 2442ac067c358ac537614050c029ae424ca9ed04 | [
"MIT"
] | null | null | null | from sys import argv
script, first, second, third = argv
print "The script is called:", script
print "Your first var is called:", first
print "Your second var is called:", second
print "Your third var is called:", third | 27.625 | 42 | 0.737557 | 36 | 221 | 4.527778 | 0.388889 | 0.196319 | 0.202454 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171946 | 221 | 8 | 43 | 27.625 | 0.89071 | 0 | 0 | 0 | 0 | 0 | 0.436937 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.166667 | null | null | 0.666667 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
75fe9a275449dbba7055b71f55ed4c4e7e30a6c0 | 280 | py | Python | authentik/policies/hibp/apps.py | BeryJu/passbook | 350f0d836580f4411524614f361a76c4f27b8a2d | [
"MIT"
] | 15 | 2020-01-05T09:09:57.000Z | 2020-11-28T05:27:39.000Z | authentik/policies/hibp/apps.py | BeryJu/passbook | 350f0d836580f4411524614f361a76c4f27b8a2d | [
"MIT"
] | 302 | 2020-01-21T08:03:59.000Z | 2020-12-04T05:04:57.000Z | authentik/policies/hibp/apps.py | BeryJu/passbook | 350f0d836580f4411524614f361a76c4f27b8a2d | [
"MIT"
] | 3 | 2020-03-04T08:21:59.000Z | 2020-08-01T20:37:18.000Z | """Authentik hibp app config"""
from django.apps import AppConfig
class AuthentikPolicyHIBPConfig(AppConfig):
"""Authentik hibp app config"""
name = "authentik.policies.hibp"
label = "authentik_policies_hibp"
verbose_name = "authentik Policies.HaveIBeenPwned"
| 23.333333 | 54 | 0.742857 | 29 | 280 | 7.068966 | 0.551724 | 0.24878 | 0.156098 | 0.214634 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157143 | 280 | 11 | 55 | 25.454545 | 0.868644 | 0.182143 | 0 | 0 | 0 | 0 | 0.362385 | 0.316514 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
f92fd9e8f49589970fef531665c58623fce5a352 | 70 | py | Python | sdc/__init__.py | KawashimaHirotaka/SensorDatasetCollection | 9aaea00404123235ada27dcab178e4c03b1b54a9 | [
"MIT"
] | 1 | 2020-04-18T03:09:20.000Z | 2020-04-18T03:09:20.000Z | sdc/__init__.py | khirotaka/SensorDatasetCollection | 9aaea00404123235ada27dcab178e4c03b1b54a9 | [
"MIT"
] | 3 | 2019-06-23T15:11:53.000Z | 2019-11-12T14:59:33.000Z | sdc/__init__.py | khirotaka/SensorDatasetCollection | 9aaea00404123235ada27dcab178e4c03b1b54a9 | [
"MIT"
] | 3 | 2019-07-03T14:52:57.000Z | 2019-07-03T15:16:24.000Z | from . import datasets
from . import utils
__version__ = "0.1-alpha"
| 14 | 25 | 0.728571 | 10 | 70 | 4.7 | 0.8 | 0.425532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034483 | 0.171429 | 70 | 4 | 26 | 17.5 | 0.775862 | 0 | 0 | 0 | 0 | 0 | 0.128571 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
f941d889cf4cf1cf37fa8414b1a9a717c66492ae | 373 | py | Python | Topics/Methods and attributes/Piggy bank/main.py | the-rennegade/jet-brains-coffee-machine | cd7c395d748e951b2fd9c724a8121d0f076a4633 | [
"MIT"
] | null | null | null | Topics/Methods and attributes/Piggy bank/main.py | the-rennegade/jet-brains-coffee-machine | cd7c395d748e951b2fd9c724a8121d0f076a4633 | [
"MIT"
] | null | null | null | Topics/Methods and attributes/Piggy bank/main.py | the-rennegade/jet-brains-coffee-machine | cd7c395d748e951b2fd9c724a8121d0f076a4633 | [
"MIT"
] | null | null | null | class PiggyBank:
def __init__(self, dollars, cents):
self.cents = cents % 100
self.dollars = cents // 100
self.dollars += dollars
def add_money(self, deposit_dollars, deposit_cents):
self.dollars += (self.cents + deposit_cents) // 100
self.cents = (self.cents + deposit_c... | 31.083333 | 59 | 0.630027 | 44 | 373 | 5.113636 | 0.25 | 0.244444 | 0.213333 | 0.253333 | 0.248889 | 0.248889 | 0 | 0 | 0 | 0 | 0 | 0.043636 | 0.262735 | 373 | 11 | 60 | 33.909091 | 0.774545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f9a0163a2e6ed1c0438284fbb23d14930da8a23d | 62 | py | Python | library/demo/config.py | park-sungmoo/jquery.flowchart_ultide | 873b1b00caf832b67f9261d076ec71e61a64c513 | [
"MIT"
] | 81 | 2016-09-11T22:45:27.000Z | 2022-02-22T15:12:21.000Z | library/demo/config.py | park-sungmoo/jquery.flowchart_ultide | 873b1b00caf832b67f9261d076ec71e61a64c513 | [
"MIT"
] | 2 | 2019-01-26T20:39:14.000Z | 2020-08-01T13:14:19.000Z | library/demo/config.py | park-sungmoo/jquery.flowchart_ultide | 873b1b00caf832b67f9261d076ec71e61a64c513 | [
"MIT"
] | 34 | 2016-12-25T12:23:51.000Z | 2021-06-11T10:12:57.000Z | name = 'Demo'
main_js = 'static/modules/demo/javascript/main' | 20.666667 | 47 | 0.741935 | 9 | 62 | 5 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 62 | 3 | 47 | 20.666667 | 0.803571 | 0 | 0 | 0 | 0 | 0 | 0.619048 | 0.555556 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f9d4c48913dab5a0da9f66dd8633ad38f7a34e6c | 148 | py | Python | tests/data/src/pep518-3.0/setup.py | smartsammler/pip | 54b983c2bd56dfbd61bbcc2dcc9177d4e55e25af | [
"MIT"
] | 1 | 2021-01-03T00:58:11.000Z | 2021-01-03T00:58:11.000Z | tests/data/src/pep518-3.0/setup.py | smartsammler/pip | 54b983c2bd56dfbd61bbcc2dcc9177d4e55e25af | [
"MIT"
] | null | null | null | tests/data/src/pep518-3.0/setup.py | smartsammler/pip | 54b983c2bd56dfbd61bbcc2dcc9177d4e55e25af | [
"MIT"
] | null | null | null | #!/usr/bin/env python
from setuptools import find_packages, setup
setup(name='pep518',
version='3.0',
packages=find_packages()
)
| 18.5 | 43 | 0.662162 | 19 | 148 | 5.052632 | 0.789474 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042373 | 0.202703 | 148 | 7 | 44 | 21.142857 | 0.771186 | 0.135135 | 0 | 0 | 0 | 0 | 0.070866 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f9d9a18049d919c1442946198bf6c09e5c5bbf45 | 1,335 | py | Python | lib/systems/alpha-d-psicopyranose.py | pulsar-chem/BPModule | f8e64e04fdb01947708f098e833600c459c2ff0e | [
"BSD-3-Clause"
] | null | null | null | lib/systems/alpha-d-psicopyranose.py | pulsar-chem/BPModule | f8e64e04fdb01947708f098e833600c459c2ff0e | [
"BSD-3-Clause"
] | null | null | null | lib/systems/alpha-d-psicopyranose.py | pulsar-chem/BPModule | f8e64e04fdb01947708f098e833600c459c2ff0e | [
"BSD-3-Clause"
] | null | null | null | import pulsar as psr
def load_ref_system():
""" Returns alpha-d-psicopyranose as found in the IQMol fragment library.
All credit to https://github.com/nutjunkie/IQmol
"""
return psr.make_system("""
O -0.8523 2.0191 0.6536
C -0.6803 0.9081 -0.2279
O ... | 41.71875 | 77 | 0.401498 | 199 | 1,335 | 2.678392 | 0.527638 | 0.015009 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.538117 | 0.498876 | 1,335 | 31 | 78 | 43.064516 | 0.258595 | 0.08839 | 0 | 0 | 0 | 0 | 0.929825 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.035714 | true | 0 | 0.035714 | 0 | 0.107143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f9e8f6ee3f4b3a141978f750a01f3e2f885b6eb2 | 120 | py | Python | dataVIZ/admin.py | anish03/Logistic-Regression | dd4607a0c239e43c5c60fd713c9ce69a632e01d2 | [
"MIT"
] | null | null | null | dataVIZ/admin.py | anish03/Logistic-Regression | dd4607a0c239e43c5c60fd713c9ce69a632e01d2 | [
"MIT"
] | null | null | null | dataVIZ/admin.py | anish03/Logistic-Regression | dd4607a0c239e43c5c60fd713c9ce69a632e01d2 | [
"MIT"
] | null | null | null | from django.contrib import admin
from dataVIZ.models import studentInformation
admin.site.register(studentInformation)
| 24 | 45 | 0.866667 | 14 | 120 | 7.428571 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 120 | 4 | 46 | 30 | 0.945455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
ddb98df423f8701b77667e2c8ffbe237e69814c3 | 7,767 | py | Python | src/xbase_test/layout/mos/base.py | skyworksinc/xbase | fde050e928d5d89b5507c818b41f5ef3253f38cd | [
"Apache-2.0"
] | 3 | 2020-10-15T04:33:57.000Z | 2021-12-22T07:42:30.000Z | src/xbase_test/layout/mos/base.py | skyworksinc/xbase | fde050e928d5d89b5507c818b41f5ef3253f38cd | [
"Apache-2.0"
] | null | null | null | src/xbase_test/layout/mos/base.py | skyworksinc/xbase | fde050e928d5d89b5507c818b41f5ef3253f38cd | [
"Apache-2.0"
] | 4 | 2020-04-27T16:42:57.000Z | 2021-10-19T15:25:59.000Z | # SPDX-License-Identifier: Apache-2.0
# Copyright 2019 Blue Cheetah Analog Design Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# U... | 35.958333 | 90 | 0.623793 | 1,052 | 7,767 | 4.407795 | 0.18251 | 0.03925 | 0.036446 | 0.024154 | 0.724391 | 0.704119 | 0.704119 | 0.698296 | 0.690101 | 0.690101 | 0 | 0.004013 | 0.262135 | 7,767 | 215 | 91 | 36.125581 | 0.805095 | 0.108407 | 0 | 0.716216 | 0 | 0 | 0.104049 | 0.013931 | 0 | 0 | 0 | 0 | 0 | 1 | 0.094595 | false | 0 | 0.054054 | 0.040541 | 0.216216 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
dde314fdb862f93b601e69e961dcd8ffb52bf20b | 100 | py | Python | catalog_queue/apps.py | VladimirFilonov/graphql-shop-example | 7f95b904ac29ed96ee1ad6692729359ca29ce40b | [
"MIT"
] | 1 | 2020-07-07T09:39:16.000Z | 2020-07-07T09:39:16.000Z | catalog_queue/apps.py | VladimirFilonov/graphql-shop-example | 7f95b904ac29ed96ee1ad6692729359ca29ce40b | [
"MIT"
] | 9 | 2019-12-04T23:07:42.000Z | 2022-02-10T09:46:29.000Z | catalog_queue/apps.py | VladimirFilonov/graphql-shop-example | 7f95b904ac29ed96ee1ad6692729359ca29ce40b | [
"MIT"
] | 4 | 2019-06-10T11:57:34.000Z | 2020-07-07T04:11:38.000Z | from django.apps import AppConfig
class CatalogQueueConfig(AppConfig):
name = 'catalog_queue'
| 16.666667 | 36 | 0.78 | 11 | 100 | 7 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 100 | 5 | 37 | 20 | 0.905882 | 0 | 0 | 0 | 0 | 0 | 0.13 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
fb28054bce5dc9f26e3f3f727c0672056947caf7 | 1,705 | py | Python | seligimus/maths/vector_2.py | AustinScola/seligimus | 206654fd8cf5e9b9a9da25439ccde2efe5a6cc7a | [
"MIT"
] | 1 | 2021-01-30T15:57:40.000Z | 2021-01-30T15:57:40.000Z | seligimus/maths/vector_2.py | AustinScola/seligimus | 206654fd8cf5e9b9a9da25439ccde2efe5a6cc7a | [
"MIT"
] | 100 | 2021-01-30T16:01:46.000Z | 2021-07-24T14:00:04.000Z | seligimus/maths/vector_2.py | AustinScola/seligimus | 206654fd8cf5e9b9a9da25439ccde2efe5a6cc7a | [
"MIT"
] | null | null | null | """A two-dimensional vector."""
from typing import Generic, TypeVar
from seligimus.python.decorators.operators.equality.standard_equality import standard_equality
from seligimus.python.decorators.standard_representation import standard_representation
T = TypeVar('T', int, float, complex) # pylint: disable=invalid-na... | 32.788462 | 94 | 0.619355 | 221 | 1,705 | 4.579186 | 0.226244 | 0.128459 | 0.197628 | 0.237154 | 0.455534 | 0.337945 | 0.337945 | 0.337945 | 0.337945 | 0.306324 | 0 | 0.010188 | 0.251613 | 1,705 | 51 | 95 | 33.431373 | 0.782915 | 0.210557 | 0 | 0.054054 | 0 | 0 | 0.048302 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.216216 | false | 0.027027 | 0.081081 | 0.027027 | 0.513514 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
348b83f44e8a6bfb5f915a98c2b5c4861d226404 | 860 | py | Python | roman_numerals/2021-12-01/test.py | rbuchmeier/kata | aefd50ca9c8dd0daa04dcf1b6f4ec4eef7dd8f2f | [
"MIT"
] | null | null | null | roman_numerals/2021-12-01/test.py | rbuchmeier/kata | aefd50ca9c8dd0daa04dcf1b6f4ec4eef7dd8f2f | [
"MIT"
] | null | null | null | roman_numerals/2021-12-01/test.py | rbuchmeier/kata | aefd50ca9c8dd0daa04dcf1b6f4ec4eef7dd8f2f | [
"MIT"
] | null | null | null | import unittest
from main import *
class TestCase(unittest.TestCase):
def test_main(self):
self.assertEqual(1, 1)
class TestRoman(unittest.TestCase):
def test_roman_to_int(self):
self.assertEqual(roman_numeral(1), 'I')
self.assertEqual(roman_numeral(2), 'II')
self.assertEqual(r... | 34.4 | 58 | 0.666279 | 104 | 860 | 5.278846 | 0.394231 | 0.355191 | 0.437158 | 0.590164 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033046 | 0.190698 | 860 | 24 | 59 | 35.833333 | 0.755747 | 0 | 0 | 0 | 0 | 0 | 0.05814 | 0 | 0 | 0 | 0 | 0 | 0.619048 | 1 | 0.095238 | false | 0 | 0.095238 | 0 | 0.285714 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
34a660238bed2c514232ae01439382626e343bc5 | 245 | py | Python | pythonExamples/tutorial/variable.py | davidruffner/computation-physics-nyu-2009 | 754d48f820773cd6b1b3cd3a7444363b78e1ea00 | [
"MIT"
] | null | null | null | pythonExamples/tutorial/variable.py | davidruffner/computation-physics-nyu-2009 | 754d48f820773cd6b1b3cd3a7444363b78e1ea00 | [
"MIT"
] | null | null | null | pythonExamples/tutorial/variable.py | davidruffner/computation-physics-nyu-2009 | 754d48f820773cd6b1b3cd3a7444363b78e1ea00 | [
"MIT"
] | null | null | null | #variables demonstrated
print "This program is a demo of variables"
v=1
print "The value of v is now", v
v=v+1
print "v now equals itself plus one, making it worth", v
v=51
print "v can store any numerical value, to be used"
print "now v is", v
| 24.5 | 56 | 0.726531 | 51 | 245 | 3.490196 | 0.568627 | 0.033708 | 0.078652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020202 | 0.191837 | 245 | 9 | 57 | 27.222222 | 0.878788 | 0.089796 | 0 | 0 | 0 | 0 | 0.684685 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.625 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
34ab3fe8845765aa5c612c00efe3eb9d249ce444 | 9,228 | py | Python | 32x32.py | noahzhy/kendryte-standalone-sdk | d358d8aca7245669a65330180e08eaf92b8a2dd9 | [
"Apache-2.0"
] | null | null | null | 32x32.py | noahzhy/kendryte-standalone-sdk | d358d8aca7245669a65330180e08eaf92b8a2dd9 | [
"Apache-2.0"
] | null | null | null | 32x32.py | noahzhy/kendryte-standalone-sdk | d358d8aca7245669a65330180e08eaf92b8a2dd9 | [
"Apache-2.0"
] | null | null | null | import numpy as np
import matplotlib.pyplot as plt
# data = [3045,2955,3005,3265,3405,3625,3485,3495,3205,3235,3295,3095,2885,3235,3125,2915,3055,3055,3165,3265,3055,3175,2975,3005,3005,3045,3075,3145,2955,2985,3055,3025,3165,3345,3395,3585,3395,3895,3625,3435,3205,3225,3345,3345,2985,3295,2975,3165,2885,3275,2955,31... | 512.666667 | 5,130 | 0.766905 | 2,100 | 9,228 | 3.369048 | 0.120952 | 0.006784 | 0.003392 | 0.00424 | 0.004806 | 0 | 0 | 0 | 0 | 0 | 0 | 0.749592 | 0.005093 | 9,228 | 18 | 5,131 | 512.666667 | 0.021022 | 0.568596 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
34ca7859aa0c73ffb5a411b36522b3ff36fff39a | 29,108 | py | Python | chebpy/cheba.py | liuyxpp/chebpy | 05a9492d0d78591a39923e4a85a0f24bcc79ae4f | [
"BSD-3-Clause"
] | null | null | null | chebpy/cheba.py | liuyxpp/chebpy | 05a9492d0d78591a39923e4a85a0f24bcc79ae4f | [
"BSD-3-Clause"
] | null | null | null | chebpy/cheba.py | liuyxpp/chebpy | 05a9492d0d78591a39923e4a85a0f24bcc79ae4f | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
"""
chebpy.cheba
============
Applications of Chebyshev spectral methods to solve PDEs.
"""
from time import time
from math import cos, acos
import numpy as np
from scipy.linalg import expm, expm2, expm3, inv
from scipy.fftpack import dst, idst, dct, idct
import matplotlib.pyplot as plt
from... | 27.408663 | 99 | 0.500412 | 5,276 | 29,108 | 2.67627 | 0.069181 | 0.013881 | 0.006586 | 0.013031 | 0.767139 | 0.732932 | 0.710977 | 0.682365 | 0.660411 | 0.64483 | 0 | 0.067765 | 0.326749 | 29,108 | 1,061 | 100 | 27.434496 | 0.652753 | 0.051876 | 0 | 0.594406 | 0 | 0 | 0.029063 | 0.022532 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.02972 | null | null | 0.003497 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
34dcde2796720ff383ca18956d7cd77cf354acf7 | 429 | py | Python | split_query/core/__init__.py | simonbowly/split-query | 773102b70330dad7304d3eaf958563cba506aff2 | [
"MIT"
] | null | null | null | split_query/core/__init__.py | simonbowly/split-query | 773102b70330dad7304d3eaf958563cba506aff2 | [
"MIT"
] | null | null | null | split_query/core/__init__.py | simonbowly/split-query | 773102b70330dad7304d3eaf958563cba506aff2 | [
"MIT"
] | null | null | null | ''' The core module holds objects for constructing and manipulating
expressions. Other components (caches, engines, interfaces, etc) should
communicate by passing core expression objects. '''
from .expand import to_dnf_simplified
from .expressions import Attribute, And, Or, Not, Eq, Le, Lt, Ge, Gt, Eq, In
from .logic ... | 42.9 | 76 | 0.794872 | 59 | 429 | 5.711864 | 0.745763 | 0.089021 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135198 | 429 | 9 | 77 | 47.666667 | 0.908356 | 0.426573 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
34e5ef188fbac3bc1513767938a65fde87cbf48e | 321 | py | Python | photos/admin.py | kiira254/Gallery | 5505bf2e1809d3a009c27f88490d75e5d421380d | [
"MIT"
] | null | null | null | photos/admin.py | kiira254/Gallery | 5505bf2e1809d3a009c27f88490d75e5d421380d | [
"MIT"
] | null | null | null | photos/admin.py | kiira254/Gallery | 5505bf2e1809d3a009c27f88490d75e5d421380d | [
"MIT"
] | null | null | null | from django.contrib import admin
from django.contrib import admin
from .models import Image, Categories, Image_Location
# Register your models here.
class ImageAdmin(admin.ModelAdmin):
filter_horizontal =('Categories',)
admin.site.register(Image)
admin.site.register(Categories)
admin.site.register(Image_Location... | 26.75 | 53 | 0.809969 | 41 | 321 | 6.268293 | 0.439024 | 0.105058 | 0.198444 | 0.178988 | 0.48249 | 0.233463 | 0 | 0 | 0 | 0 | 0 | 0 | 0.099688 | 321 | 12 | 54 | 26.75 | 0.889273 | 0.080997 | 0 | 0.25 | 0 | 0 | 0.034014 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.375 | 0 | 0.625 | 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 | 1 | 0 | 0 | 4 |
34fcd61c05da6083ed20fd82cdb77c99ab9de5e7 | 27 | py | Python | cinder/volume/drivers/violin/vxg/version.py | rlucio/cinder-violin-driver-icehouse | 1632bf1bdf67f7e26a586c819dd836f6541c4f3d | [
"Apache-2.0"
] | null | null | null | cinder/volume/drivers/violin/vxg/version.py | rlucio/cinder-violin-driver-icehouse | 1632bf1bdf67f7e26a586c819dd836f6541c4f3d | [
"Apache-2.0"
] | 1 | 2021-01-12T23:22:22.000Z | 2021-01-12T23:22:22.000Z | cinder/volume/drivers/violin/vxg/version.py | rlucio/cinder-violin-driver-icehouse | 1632bf1bdf67f7e26a586c819dd836f6541c4f3d | [
"Apache-2.0"
] | null | null | null | __version__="1.5.0-alpha1"
| 13.5 | 26 | 0.740741 | 5 | 27 | 3.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 0.037037 | 27 | 1 | 27 | 27 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
550fc6eab71c465933bdb76d510cc7d0f2970fee | 365 | py | Python | app/ingredients/admin.py | noemiko/diet_plan_generator | 41e183f1c83c724ee77dea24e62bcd32ebf1efcf | [
"MIT"
] | null | null | null | app/ingredients/admin.py | noemiko/diet_plan_generator | 41e183f1c83c724ee77dea24e62bcd32ebf1efcf | [
"MIT"
] | null | null | null | app/ingredients/admin.py | noemiko/diet_plan_generator | 41e183f1c83c724ee77dea24e62bcd32ebf1efcf | [
"MIT"
] | null | null | null | from django.contrib import admin
from ingredients.models import Ingredients
# Register your models here.
class AuthorAdmin(admin.ModelAdmin):
pass
admin.site.register(Ingredients, AuthorAdmin)
#
# for i in Protein.__subclasses__():
# admin.site.register(i, AuthorAdmin)
#
# for i in Vegetable.__subclasses__(... | 21.470588 | 45 | 0.756164 | 44 | 365 | 6.090909 | 0.477273 | 0.100746 | 0.190299 | 0.126866 | 0.291045 | 0.291045 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142466 | 365 | 16 | 46 | 22.8125 | 0.85623 | 0.487671 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.6 | 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 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 4 |
551f239c6f144c73d4abd831dff710318f9d3a00 | 8,976 | py | Python | Solution/1- Armo datasets/4-Armo_dataset_marzo_boosting.py | Lucerago/MELI_Datachallenge2021 | f783478037038bc2209d9b0ef26e0c15341f311b | [
"MIT"
] | null | null | null | Solution/1- Armo datasets/4-Armo_dataset_marzo_boosting.py | Lucerago/MELI_Datachallenge2021 | f783478037038bc2209d9b0ef26e0c15341f311b | [
"MIT"
] | null | null | null | Solution/1- Armo datasets/4-Armo_dataset_marzo_boosting.py | Lucerago/MELI_Datachallenge2021 | f783478037038bc2209d9b0ef26e0c15341f311b | [
"MIT"
] | null | null | null | #Creo el dataset para la predicción del boosting
import gc
gc.collect()
import pandas as pd
import seaborn as sns
import numpy as np
#%% marzo
marzo = pd.read_csv(r'C:\Users\argomezja\Desktop\Data Science\MELI challenge\Project MELI\Dataset_limpios\marzo_limpio.csv.gz')
marzo = marzo.loc[marzo['day']>=4].r... | 63.659574 | 150 | 0.733066 | 1,301 | 8,976 | 4.807071 | 0.086088 | 0.060441 | 0.052766 | 0.063319 | 0.82811 | 0.801727 | 0.771506 | 0.694915 | 0.649344 | 0.617365 | 0 | 0.032017 | 0.0918 | 8,976 | 140 | 151 | 64.114286 | 0.735157 | 0.022616 | 0 | 0.27451 | 0 | 0.009804 | 0.219555 | 0.060891 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.039216 | 0 | 0.039216 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
9b2abc850334f14983d2153277155001c92f73a3 | 182,841 | py | Python | test.py | Evyatar108/frontier192 | 198794737316517d445544e005916d7b0d8623fd | [
"MIT"
] | null | null | null | test.py | Evyatar108/frontier192 | 198794737316517d445544e005916d7b0d8623fd | [
"MIT"
] | null | null | null | test.py | Evyatar108/frontier192 | 198794737316517d445544e005916d7b0d8623fd | [
"MIT"
] | null | null | null | import kaHIP
if __name__ == "__main__":
ncount = 5
vwgt = None
xadj = [0,2,5,7,9,12]
adjcwgt = [1,1,1,1,1,1,1,1,1,1,1,1]
adjncy = [1,4,0,2,4,1,3,2,4,0,1,3]
nparts = 2
imbalance = 0.03
suppress_output = False
mode = kaHIP.STRONG
seed = 0
xadj = [0, 15, 31, 45, 60, 75, 91, 1... | 5,377.676471 | 94,910 | 0.625675 | 34,136 | 182,841 | 3.350832 | 0.124004 | 0.001049 | 0.001416 | 0.001259 | 0.205571 | 0.153658 | 0.111204 | 0.084758 | 0.057945 | 0.042314 | 0 | 0.767365 | 0.18766 | 182,841 | 33 | 94,911 | 5,540.636364 | 0.002747 | 0 | 0 | 0.08 | 0 | 0 | 0.000044 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.04 | 0 | 0.04 | 0.16 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
9b2b38933d2b35c35366ca21779d82a2703caaee | 128 | py | Python | tutorials/W0D4_Calculus/solutions/W0D4_Tutorial3_Solution_a4085ae8.py | eduardojdiniz/CompNeuro | 20269e66540dc4e802273735c97323020ee37406 | [
"CC-BY-4.0",
"BSD-3-Clause"
] | 2,294 | 2020-05-11T12:05:35.000Z | 2022-03-28T21:23:34.000Z | tutorials/W0D4_Calculus/solutions/W0D4_Tutorial3_Solution_a4085ae8.py | pellet/course-content | bb383857992469e0e7a9c36639ac0d05e842d9bd | [
"CC-BY-4.0",
"BSD-3-Clause"
] | 629 | 2020-05-11T15:42:26.000Z | 2022-03-29T12:23:35.000Z | tutorials/W0D4_Calculus/solutions/W0D4_Tutorial3_Solution_a4085ae8.py | pellet/course-content | bb383857992469e0e7a9c36639ac0d05e842d9bd | [
"CC-BY-4.0",
"BSD-3-Clause"
] | 917 | 2020-05-11T12:47:53.000Z | 2022-03-31T12:14:41.000Z |
"""
The larger the time-step $dt$, the worse job the formula of the slope of a
line does to approximate the derivative.
""" | 25.6 | 76 | 0.703125 | 22 | 128 | 4.090909 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210938 | 128 | 5 | 77 | 25.6 | 0.891089 | 0.898438 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
9b757e78f7bea551a3dcf14fc40d9de589094411 | 27,534 | py | Python | tests/test_08_fragment_combination_graph.py | mpimp-comas/npfc | 316156a8826759d767ef16833cd4f0670868693e | [
"MIT"
] | null | null | null | tests/test_08_fragment_combination_graph.py | mpimp-comas/npfc | 316156a8826759d767ef16833cd4f0670868693e | [
"MIT"
] | null | null | null | tests/test_08_fragment_combination_graph.py | mpimp-comas/npfc | 316156a8826759d767ef16833cd4f0670868693e | [
"MIT"
] | null | null | null | """
tests.test_fragment_combination_graph
=======================================
Tests for the npfc.fragment_combination_graph module.
"""
# data handling
from pandas import DataFrame
# chemoinformatics
from rdkit import Chem
# tests
import pytest
# dev
from npfc import fragment_combination_graph
# debug
import loggi... | 81.221239 | 254 | 0.520121 | 4,789 | 27,534 | 2.847776 | 0.045939 | 0.061373 | 0.014078 | 0.014958 | 0.838466 | 0.80503 | 0.77526 | 0.698563 | 0.648189 | 0.571345 | 0 | 0.149896 | 0.232658 | 27,534 | 338 | 255 | 81.461538 | 0.495598 | 0.084078 | 0 | 0.237069 | 0 | 0.168103 | 0.321803 | 0.078715 | 0 | 0 | 0 | 0 | 0.103448 | 1 | 0.112069 | false | 0 | 0.021552 | 0 | 0.189655 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
9b97c64518cdbc6b159e03d9f53cd04e76f69545 | 89 | py | Python | apps/cabinet/apps.py | dselifonov/eduProj | b191cea14852913da0a7aba66a78fb7a8d70194e | [
"MIT"
] | 3 | 2020-06-11T10:57:22.000Z | 2021-03-25T02:45:05.000Z | apps/cabinet/apps.py | dselifonov/eduProj | b191cea14852913da0a7aba66a78fb7a8d70194e | [
"MIT"
] | 6 | 2020-06-05T17:18:41.000Z | 2022-03-11T23:14:47.000Z | apps/cabinet/apps.py | sunfan666/cmdb | 71722a8dddf5e337d7658328cfcac0c9108b067c | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class CabinetConfig(AppConfig):
name = 'cabinet'
| 14.833333 | 33 | 0.752809 | 10 | 89 | 6.7 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168539 | 89 | 5 | 34 | 17.8 | 0.905405 | 0 | 0 | 0 | 0 | 0 | 0.078652 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
32eb9c31eed2097b0963d5bef6f75c933daa2c59 | 52 | py | Python | opmodaq/opmodaq/signal.py | MenloSystems/opMoDAQ | 8e35eeb028ae8001fdbebeeeb95a15b98f0fd4ba | [
"MIT"
] | null | null | null | opmodaq/opmodaq/signal.py | MenloSystems/opMoDAQ | 8e35eeb028ae8001fdbebeeeb95a15b98f0fd4ba | [
"MIT"
] | null | null | null | opmodaq/opmodaq/signal.py | MenloSystems/opMoDAQ | 8e35eeb028ae8001fdbebeeeb95a15b98f0fd4ba | [
"MIT"
] | null | null | null |
import types
import opmodaq.parameters as params
| 8.666667 | 35 | 0.807692 | 7 | 52 | 6 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173077 | 52 | 5 | 36 | 10.4 | 0.976744 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
fd068b5db65a735e2c553343c102b89872b54980 | 145 | py | Python | snake/__main__.py | dotKuro/vorsemesterWISE19-20 | 436c6d1846b6c1bfb087652e8ca179bd1b12c28e | [
"CC0-1.0"
] | 1 | 2019-09-27T13:47:20.000Z | 2019-09-27T13:47:20.000Z | snake/__main__.py | dotKuro/vorsemesterWISE19-20 | 436c6d1846b6c1bfb087652e8ca179bd1b12c28e | [
"CC0-1.0"
] | null | null | null | snake/__main__.py | dotKuro/vorsemesterWISE19-20 | 436c6d1846b6c1bfb087652e8ca179bd1b12c28e | [
"CC0-1.0"
] | null | null | null | from game import Game, simple_apple_ai
if __name__ == '__main__':
game = Game(ai=simple_apple_ai)
game.init_game()
game.game_loop()
| 20.714286 | 38 | 0.703448 | 22 | 145 | 4 | 0.5 | 0.272727 | 0.295455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186207 | 145 | 6 | 39 | 24.166667 | 0.745763 | 0 | 0 | 0 | 0 | 0 | 0.055172 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
fd40cc503eafa533a5fbcb5cf7f42adf30266ea5 | 84 | py | Python | conftest.py | quarckster/pypeln | f4160d0f4d4718b67f79a0707d7261d249459a4b | [
"MIT"
] | 1,281 | 2018-09-20T05:35:27.000Z | 2022-03-30T01:29:48.000Z | conftest.py | webclinic017/pypeln | 5231806f2cac9d2019dacbbcf913484fd268b8c1 | [
"MIT"
] | 78 | 2018-09-18T20:38:12.000Z | 2022-03-30T20:16:02.000Z | conftest.py | webclinic017/pypeln | 5231806f2cac9d2019dacbbcf913484fd268b8c1 | [
"MIT"
] | 88 | 2018-09-24T10:46:14.000Z | 2022-03-28T09:34:50.000Z | from hypothesis import settings
settings.register_profile("pypeln", deadline=1000)
| 21 | 50 | 0.833333 | 10 | 84 | 6.9 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051948 | 0.083333 | 84 | 3 | 51 | 28 | 0.844156 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
fd449ced563ec630914fb8c960aabcc24ef343de | 93 | py | Python | quizesApp/apps.py | i3dprogrammer/Django-GraduationProject | 2445b9f773638a344be8625f0d9ef6c149e68015 | [
"MIT"
] | null | null | null | quizesApp/apps.py | i3dprogrammer/Django-GraduationProject | 2445b9f773638a344be8625f0d9ef6c149e68015 | [
"MIT"
] | null | null | null | quizesApp/apps.py | i3dprogrammer/Django-GraduationProject | 2445b9f773638a344be8625f0d9ef6c149e68015 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class QuizesappConfig(AppConfig):
name = 'quizesApp'
| 15.5 | 33 | 0.763441 | 10 | 93 | 7.1 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 93 | 5 | 34 | 18.6 | 0.910256 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
b5bc06940db3e4f1e37a328feaf06fa38e96d64a | 64 | py | Python | tests/__init__.py | hiroaki-yamamoto/WTF-OTP | e7c87839cbe8683dd1f691912156ac348dc98e67 | [
"Unlicense",
"MIT"
] | 1 | 2019-06-27T06:47:25.000Z | 2019-06-27T06:47:25.000Z | tests/__init__.py | hiroaki-yamamoto/WTF-OTP | e7c87839cbe8683dd1f691912156ac348dc98e67 | [
"Unlicense",
"MIT"
] | 2 | 2021-08-25T05:11:22.000Z | 2022-01-29T02:51:57.000Z | tests/__init__.py | hiroaki-yamamoto/WTF-OTP | e7c87839cbe8683dd1f691912156ac348dc98e67 | [
"Unlicense",
"MIT"
] | null | null | null | #!/usr/bin/env python
# coding=utf-8
"""WTF-OTP Unit tests."""
| 12.8 | 25 | 0.625 | 11 | 64 | 3.636364 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017857 | 0.125 | 64 | 4 | 26 | 16 | 0.696429 | 0.828125 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b5d5d83080afc85ce20ec8db045d08a7f05a93fd | 263 | py | Python | slackborg/utils.py | josefdlange/slackborg | d27c312342e15248353c23c07bec45b043ce2718 | [
"MIT"
] | 14 | 2016-08-14T06:10:45.000Z | 2018-06-28T19:44:00.000Z | slackborg/utils.py | josefdlange/slackborg | d27c312342e15248353c23c07bec45b043ce2718 | [
"MIT"
] | 1 | 2016-09-14T14:01:52.000Z | 2016-09-14T14:01:52.000Z | slackborg/utils.py | josefdlange/slackborg | d27c312342e15248353c23c07bec45b043ce2718 | [
"MIT"
] | null | null | null | def at_bot(bot_id, message_text):
at_bot_string = "<@{}>:".format(bot_id)
return at_bot_string in message_text
def split_at_bot(bot_id, message_text):
at_bot_string = "<@{}>:".format(bot_id)
return message_text.replace(at_bot_string, "").strip()
| 32.875 | 58 | 0.707224 | 42 | 263 | 3.97619 | 0.309524 | 0.179641 | 0.263473 | 0.11976 | 0.586826 | 0.586826 | 0.586826 | 0.586826 | 0.586826 | 0.586826 | 0 | 0 | 0.136882 | 263 | 7 | 59 | 37.571429 | 0.735683 | 0 | 0 | 0.333333 | 0 | 0 | 0.045627 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
b5e4b1e589642c1357d44ddb121e010faded27a5 | 21 | py | Python | aliyun-python-sdk-ons/aliyunsdkons/__init__.py | leafcoder/aliyun-openapi-python-sdk | 26b441ab37a5cda804de475fd5284bab699443f1 | [
"Apache-2.0"
] | 1,001 | 2015-07-24T01:32:41.000Z | 2022-03-25T01:28:18.000Z | aliyun-python-sdk-ons/aliyunsdkons/__init__.py | leafcoder/aliyun-openapi-python-sdk | 26b441ab37a5cda804de475fd5284bab699443f1 | [
"Apache-2.0"
] | 363 | 2015-10-20T03:15:00.000Z | 2022-03-08T12:26:19.000Z | aliyun-python-sdk-ons/aliyunsdkons/__init__.py | leafcoder/aliyun-openapi-python-sdk | 26b441ab37a5cda804de475fd5284bab699443f1 | [
"Apache-2.0"
] | 682 | 2015-09-22T07:19:02.000Z | 2022-03-22T09:51:46.000Z | __version__ = '3.1.7' | 21 | 21 | 0.666667 | 4 | 21 | 2.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 0.095238 | 21 | 1 | 21 | 21 | 0.368421 | 0 | 0 | 0 | 0 | 0 | 0.227273 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
bd0bf05169e97de7079bcaddd895c0af252a28fe | 680 | py | Python | 2022/Design-Patterns-1/discounts.py | Muramatsu2602/python-study | c81eb5d2c343817bc29b2763dcdcabed0f6a42c6 | [
"MIT"
] | null | null | null | 2022/Design-Patterns-1/discounts.py | Muramatsu2602/python-study | c81eb5d2c343817bc29b2763dcdcabed0f6a42c6 | [
"MIT"
] | null | null | null | 2022/Design-Patterns-1/discounts.py | Muramatsu2602/python-study | c81eb5d2c343817bc29b2763dcdcabed0f6a42c6 | [
"MIT"
] | null | null | null | class Discount_for_five_items(object):
def __init__(self, next_discount):
self.__next_discount = next_discount
def calc(self, budget):
if budget.num_items > 5:
return budget.value * 0.1
else:
return self.__next_discount.calc(budget)
class Discount_for_more_th... | 21.935484 | 58 | 0.645588 | 86 | 680 | 4.697674 | 0.313953 | 0.237624 | 0.237624 | 0.126238 | 0.608911 | 0.608911 | 0.608911 | 0.608911 | 0.405941 | 0.405941 | 0 | 0.020243 | 0.273529 | 680 | 30 | 59 | 22.666667 | 0.797571 | 0 | 0 | 0.578947 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.263158 | false | 0 | 0 | 0.052632 | 0.684211 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
bd116e1dc36bbf7938430896445014bb96ea2037 | 73 | py | Python | python-starter/project/mysite/__init__.py | foosinn/slides | b0269dd2ef5df454ec5c475cff8968630cffc96a | [
"Apache-2.0"
] | 2 | 2019-07-23T18:35:10.000Z | 2019-08-23T06:02:04.000Z | python-starter/project/mysite/__init__.py | foosinn/slides | b0269dd2ef5df454ec5c475cff8968630cffc96a | [
"Apache-2.0"
] | null | null | null | python-starter/project/mysite/__init__.py | foosinn/slides | b0269dd2ef5df454ec5c475cff8968630cffc96a | [
"Apache-2.0"
] | 1 | 2019-08-06T18:43:24.000Z | 2019-08-06T18:43:24.000Z | from flask import Flask
app = Flask(__name__)
from mysite import routes
| 14.6 | 25 | 0.794521 | 11 | 73 | 4.909091 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164384 | 73 | 4 | 26 | 18.25 | 0.885246 | 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 | 1 | 0 | 0 | 4 |
bd1800d1f68fde7f293295cea724fea6ad111a00 | 181 | py | Python | .py_env/bin/django-admin.py | gigiljacob/recipe-app-api | 98a73bb1c175aad4ca1bcc4c26df7da6a93c9367 | [
"MIT"
] | null | null | null | .py_env/bin/django-admin.py | gigiljacob/recipe-app-api | 98a73bb1c175aad4ca1bcc4c26df7da6a93c9367 | [
"MIT"
] | null | null | null | .py_env/bin/django-admin.py | gigiljacob/recipe-app-api | 98a73bb1c175aad4ca1bcc4c26df7da6a93c9367 | [
"MIT"
] | null | null | null | #!/home/whitecarbon/Projects/recipe-app/recipe-app-api/.py_env/bin/python3
from django.core import management
if __name__ == "__main__":
management.execute_from_command_line()
| 30.166667 | 74 | 0.790055 | 25 | 181 | 5.24 | 0.84 | 0.137405 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006024 | 0.082873 | 181 | 5 | 75 | 36.2 | 0.783133 | 0.403315 | 0 | 0 | 0 | 0 | 0.074766 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
bd3803e0bf35218046a7e505d8a1a8fa5527c215 | 10,100 | py | Python | optimization/pre_optimization/just_sdeta_2.5_mg_cut/ma_files/Output/Histos/MadAnalysis5job_0/selection_9.py | sheride/axion_pheno | 7d3fc08f5ae5b17a3500eba19a2e43f87f076ce5 | [
"MIT"
] | null | null | null | optimization/pre_optimization/just_sdeta_2.5_mg_cut/ma_files/Output/Histos/MadAnalysis5job_0/selection_9.py | sheride/axion_pheno | 7d3fc08f5ae5b17a3500eba19a2e43f87f076ce5 | [
"MIT"
] | null | null | null | optimization/pre_optimization/just_sdeta_2.5_mg_cut/ma_files/Output/Histos/MadAnalysis5job_0/selection_9.py | sheride/axion_pheno | 7d3fc08f5ae5b17a3500eba19a2e43f87f076ce5 | [
"MIT"
] | null | null | null | def selection_9():
# Library import
import numpy
import matplotlib
import matplotlib.pyplot as plt
import matplotlib.gridspec as gridspec
# Library version
matplotlib_version = matplotlib.__version__
numpy_version = numpy.__version__
# Histo binning
xBinning = numpy.lin... | 160.31746 | 5,477 | 0.770099 | 1,870 | 10,100 | 4.133155 | 0.338503 | 0.065597 | 0.050718 | 0.040367 | 0.20339 | 0.179195 | 0.168198 | 0.11942 | 0.083064 | 0.04399 | 0 | 0.681391 | 0.040693 | 10,100 | 62 | 5,478 | 162.903226 | 0.116317 | 0.042574 | 0 | 0.0625 | 0 | 0.03125 | 0.032743 | 0.016371 | 0 | 0 | 0 | 0 | 0 | 1 | 0.03125 | false | 0 | 0.125 | 0 | 0.15625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
1faade36535ebf56d5b8d229ec4e7f25036a3dc2 | 529 | py | Python | solutions/2015/adventCoins.py | IronhandedLayman/AdventOfCode | cb30cc08f6af9d54d4673609bc5ac7f58311d12f | [
"MIT"
] | null | null | null | solutions/2015/adventCoins.py | IronhandedLayman/AdventOfCode | cb30cc08f6af9d54d4673609bc5ac7f58311d12f | [
"MIT"
] | null | null | null | solutions/2015/adventCoins.py | IronhandedLayman/AdventOfCode | cb30cc08f6af9d54d4673609bc5ac7f58311d12f | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
import hashlib
def part1(inp):
return adventCoinNonce(inp,"00000")
def part2(inp):
return adventCoinNonce(inp,"000000")
def adventCoinNonce(inp, difficulty):
ans = 0
while (ans < 4000000000000):
ans = ans + 1
m = hashlib.md5()
key = inp+str(ans)
... | 21.16 | 48 | 0.589792 | 68 | 529 | 4.588235 | 0.573529 | 0.173077 | 0.153846 | 0.173077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081152 | 0.277883 | 529 | 24 | 49 | 22.041667 | 0.735602 | 0.039698 | 0 | 0 | 0 | 0 | 0.023669 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.210526 | false | 0 | 0.052632 | 0.105263 | 0.526316 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
1fb3249ad338ca7bb18fb51b49988f6fcfbcb86a | 30 | py | Python | tests/__init__.py | anlcnydn/graceful | d4678cb6349a5c843a5e58002fc80140821609e4 | [
"BSD-3-Clause"
] | 83 | 2015-06-18T18:08:50.000Z | 2021-05-21T06:12:46.000Z | tests/__init__.py | anlcnydn/graceful | d4678cb6349a5c843a5e58002fc80140821609e4 | [
"BSD-3-Clause"
] | 59 | 2015-07-02T12:28:50.000Z | 2019-01-21T18:32:47.000Z | tests/__init__.py | anlcnydn/graceful | d4678cb6349a5c843a5e58002fc80140821609e4 | [
"BSD-3-Clause"
] | 14 | 2015-08-26T22:43:47.000Z | 2020-04-17T11:00:37.000Z | """Graceful tests package."""
| 15 | 29 | 0.666667 | 3 | 30 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 30 | 1 | 30 | 30 | 0.740741 | 0.766667 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
1fb5596e7b3207ac563f1bb3654013c9e3baf9e7 | 246 | py | Python | models/modules/__init__.py | WenmuZhou/crnn.gluon | cef44837e052d1934289f0f9e3fb57972e28cc6b | [
"Apache-2.0"
] | 29 | 2018-03-04T07:16:16.000Z | 2021-01-25T08:09:26.000Z | models/modules/__init__.py | WenmuZhou/crnn.gluon | cef44837e052d1934289f0f9e3fb57972e28cc6b | [
"Apache-2.0"
] | 9 | 2018-04-23T03:51:42.000Z | 2020-04-24T12:45:34.000Z | models/modules/__init__.py | WenmuZhou/crnn.gluon | cef44837e052d1934289f0f9e3fb57972e28cc6b | [
"Apache-2.0"
] | 7 | 2018-11-23T01:15:46.000Z | 2020-03-30T06:24:53.000Z | # -*- coding: utf-8 -*-
# @Time : 2019/7/11 10:05
# @Author : zhoujun
from .seg import UNet, ResNetFPN
from .feature_extraction import *
from .sequence_modeling import RNNDecoder as RNN, CNNDecoder as CNN
from .prediction import CTC,CTC_CNN
| 27.333333 | 67 | 0.727642 | 36 | 246 | 4.888889 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058537 | 0.166667 | 246 | 8 | 68 | 30.75 | 0.8 | 0.272358 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
1fbc1404fe6861c6db5d878c667f4290cf47f691 | 87 | py | Python | txxlz/__main__.py | ignertic/txxlz | 22f60618220e8793f53bd877ff0cc17850e4b3c7 | [
"MIT"
] | 3 | 2018-12-17T11:56:43.000Z | 2018-12-17T11:56:46.000Z | txxlz/__main__.py | ignertic/txxlz | 22f60618220e8793f53bd877ff0cc17850e4b3c7 | [
"MIT"
] | null | null | null | txxlz/__main__.py | ignertic/txxlz | 22f60618220e8793f53bd877ff0cc17850e4b3c7 | [
"MIT"
] | null | null | null | #__main__.py
def main():
"""Execute any function"""
print("Hello There!")
| 5.8 | 27 | 0.574713 | 10 | 87 | 4.6 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.241379 | 87 | 14 | 28 | 6.214286 | 0.69697 | 0.367816 | 0 | 0 | 0 | 0 | 0.244898 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
1fe5f526240125f29763d6876ec83f167c0b26f8 | 3,199 | py | Python | tspec_cmd_impl/lmt_cdr.py | jeremyko/let-me-test | c227d8522c25108eb0b21f8aa36798ac0611eaaf | [
"MIT"
] | null | null | null | tspec_cmd_impl/lmt_cdr.py | jeremyko/let-me-test | c227d8522c25108eb0b21f8aa36798ac0611eaaf | [
"MIT"
] | null | null | null | tspec_cmd_impl/lmt_cdr.py | jeremyko/let-me-test | c227d8522c25108eb0b21f8aa36798ac0611eaaf | [
"MIT"
] | null | null | null | #-*- coding: utf-8 -*-
#import os
#import subprocess
#import glob
from module_core import lmt_exception
from module_core import lmt_util
#TODO
# assert_cdr_fld_len |(필드명, 자리수)|
# assert_cdr_fld_eq |(필드명)|
# save_cdr_fld_value |(cdr형식, 필드명, cdr경로)|
"""
first = []
for file in ... | 38.542169 | 103 | 0.571429 | 403 | 3,199 | 4.282878 | 0.280397 | 0.104287 | 0.069525 | 0.08343 | 0.449594 | 0.367323 | 0.285632 | 0.246813 | 0.246813 | 0.207416 | 0 | 0.005301 | 0.17443 | 3,199 | 82 | 104 | 39.012195 | 0.648239 | 0.077837 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012195 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
1ff5814782054d8e9ea5d4ffe835825e4f6db296 | 397 | py | Python | assay_interchange/routes.py | whereskenneth/AssayInterchange | 051ba962f78b5522d9a9c3a07da1285c065b2f76 | [
"MIT"
] | null | null | null | assay_interchange/routes.py | whereskenneth/AssayInterchange | 051ba962f78b5522d9a9c3a07da1285c065b2f76 | [
"MIT"
] | null | null | null | assay_interchange/routes.py | whereskenneth/AssayInterchange | 051ba962f78b5522d9a9c3a07da1285c065b2f76 | [
"MIT"
] | null | null | null | from assay_interchange import app
from flask import request
from assay_interchange.lib import convert_data, validate_data
@app.route('/', methods=['GET'])
def index():
return app.send_static_file('index.html')
@app.route('/', methods=['POST'])
def index_post():
return convert_data(request)
@app.route('/va... | 20.894737 | 61 | 0.725441 | 53 | 397 | 5.264151 | 0.415094 | 0.086022 | 0.143369 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123426 | 397 | 18 | 62 | 22.055556 | 0.801724 | 0 | 0 | 0 | 0 | 0 | 0.080605 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0.25 | 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 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
95001304cbec794a90b345bc586a0d3084b04a54 | 171 | py | Python | commands/help.py | irishpatrick/arduino-dep-tracker | ec12cd3fcbb05c701380a142a2cfea9a3c607554 | [
"MIT"
] | null | null | null | commands/help.py | irishpatrick/arduino-dep-tracker | ec12cd3fcbb05c701380a142a2cfea9a3c607554 | [
"MIT"
] | null | null | null | commands/help.py | irishpatrick/arduino-dep-tracker | ec12cd3fcbb05c701380a142a2cfea9a3c607554 | [
"MIT"
] | null | null | null | from .command import *
from .registry import *
class Help(Command):
def call(self, flags=[], opts=[]):
print("help window")
Registry.insert("help", Help())
| 17.1 | 38 | 0.631579 | 21 | 171 | 5.142857 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192982 | 171 | 9 | 39 | 19 | 0.782609 | 0 | 0 | 0 | 0 | 0 | 0.087719 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 0.166667 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.