MCPcopy Create free account

hub / github.com/atenreiro/opensquat / functions

Functions180 in github.com/atenreiro/opensquat

Methodparse_version
(v)
opensquat/check_update.py:51
MethodsetUp
(self)
tests/test_api_client.py:96
MethodsetUp
(self)
tests/test_api_client.py:215
MethodsetUp
(self)
tests/test_api_client.py:284
MethodsetUp
(self)
tests/test_auth.py:17
Functionsignal_handler
Function to catch CTR+C and terminate.
opensquat/cli.py:23
MethodtearDown
(self)
tests/test_auth.py:21
Methodtest_400_raises_bad_request
(self)
tests/test_api_client.py:219
Methodtest_401_raises_auth_error
(self)
tests/test_api_client.py:227
Methodtest_403_raises_plan_error
(self)
tests/test_api_client.py:234
Methodtest_429_raises_quota_with_balance
(self)
tests/test_api_client.py:242
Methodtest_429_with_non_integer_retry_after_defaults_to_10
(self)
tests/test_api_client.py:310
Methodtest_429_with_retry_after_raises_rate_limited
(self)
tests/test_api_client.py:288
Methodtest_429_without_retry_after_still_raises_quota
(self)
tests/test_api_client.py:300
Methodtest_500_raises_generic_api_error
(self)
tests/test_api_client.py:254
Methodtest_api_flag_selects_premium_api
(self)
tests/test_arg_parser.py:31
Methodtest_api_key_flag_is_passed_through_to_auth_loader
(self)
tests/test_arg_parser.py:41
Methodtest_api_rate_limit_defaults_to_none
(self)
tests/test_arg_parser.py:123
Methodtest_api_rate_limit_flag_parses
(self)
tests/test_arg_parser.py:118
Methodtest_api_rate_limit_not_required_in_community_mode
(self)
tests/test_arg_parser.py:128
Methodtest_api_without_any_key_exits
(self)
tests/test_arg_parser.py:81
Methodtest_certificates_not_found
Test that non-existent domains return False.
tests/test_ct.py:9
Methodtest_cli_value_takes_precedence
(self)
tests/test_auth.py:25
Methodtest_community_download_does_not_send_x_api_key
(self, mock_get)
tests/test_feed_manager.py:80
Methodtest_community_headers_have_no_api_key
(self)
tests/test_feed_manager.py:21
Methodtest_community_mode_does_not_call_auth_loader
(self)
tests/test_arg_parser.py:47
Methodtest_community_mode_ignores_stray_api_key_arg
--api-key without a mode is still parsed but not resolved.
tests/test_arg_parser.py:53
Methodtest_context_manager_closes_session
(self)
tests/test_api_client.py:87
Methodtest_ctlog_creation
Test CTLog object creation.
tests/test_ct.py:34
Methodtest_empty_cli_value_falls_through_to_env
(self)
tests/test_auth.py:47
Methodtest_empty_ct_logs_returns_false
Test that no CT logs for a domain returns False.
tests/test_ct.py:22
Methodtest_empty_file_raises
(self)
tests/test_auth.py:97
Methodtest_empty_key_fully_masked
(self)
tests/test_auth.py:135
Methodtest_empty_keyword_raises
(self)
tests/test_api_client.py:276
Methodtest_empty_results_returns_empty_list
(self)
tests/test_api_client.py:204
Methodtest_empty_text_returns_none
(self)
tests/test_api_client.py:347
Methodtest_env_var_used_when_no_cli
(self)
tests/test_auth.py:40
Methodtest_file_strips_whitespace_and_skips_comments
(self)
tests/test_auth.py:73
Methodtest_file_used_as_fallback
(self)
tests/test_auth.py:61
Methodtest_file_with_only_comments_raises
(self)
tests/test_auth.py:109
Methodtest_idn_domain_returned_as_punycode
(self)
tests/test_api_client.py:123
Methodtest_invalid_fuzziness_rejected
(self)
tests/test_arg_parser.py:105
Methodtest_invalid_json_in_200_response_raises
(self)
tests/test_api_client.py:270
Methodtest_json_body_still_preferred_over_text
(self)
tests/test_api_client.py:355
Methodtest_levenshtein
(self)
tests/test_validations.py:6
Methodtest_masks_long_key
(self)
tests/test_auth.py:125
Methodtest_missing_all_sources_raises
(self)
tests/test_auth.py:88
Methodtest_missing_optional_fields_default_cleanly
A server response that omits optional fields (tld, date, idn) must not crash - optional fields default to None / False.
tests/test_api_client.py:157
Methodtest_network_error_returns_true
Test that network errors are handled gracefully.
tests/test_ct.py:14
Methodtest_network_error_wrapped_in_api_error
(self)
tests/test_api_client.py:264
Methodtest_no_flags_is_community
(self)
tests/test_arg_parser.py:18
Methodtest_none_key_fully_masked
(self)
tests/test_auth.py:138
Methodtest_optional_params_included_when_set
(self)
tests/test_api_client.py:193
Methodtest_optional_params_omitted_when_none
(self)
tests/test_api_client.py:187
Methodtest_period_flag_exits
(self)
tests/test_arg_parser.py:140
Methodtest_premium_and_api_are_mutually_exclusive
(self)
tests/test_arg_parser.py:37
Methodtest_premium_check_latest_feeds_returns_false_without_network
( self, mock_get )
tests/test_feed_manager.py:45
Methodtest_premium_download_sends_x_api_key
(self, mock_get)
tests/test_feed_manager.py:59
Methodtest_premium_flag_selects_premium_feed
(self)
tests/test_arg_parser.py:25
Methodtest_premium_headers_include_api_key
(self)
tests/test_feed_manager.py:28
Methodtest_premium_url_filename_accepted
(self)
tests/test_feed_manager.py:100
Methodtest_premium_without_any_key_exits
(self)
tests/test_arg_parser.py:71
Methodtest_premium_without_key_omits_header
(self)
tests/test_feed_manager.py:36
Methodtest_preserves_per_domain_metadata
Premium API mode must preserve tld, date, idn flag, and unicode rendering from the response body - that's the whole point of the enric
tests/test_api_client.py:130
Methodtest_requires_api_key
(self)
tests/test_api_client.py:67
Methodtest_returns_plain_text_when_not_json
(self)
tests/test_api_client.py:325
Methodtest_returns_punycode_domains
(self)
tests/test_api_client.py:100
Methodtest_sets_session_headers
(self)
tests/test_api_client.py:73
Methodtest_short_key_fully_masked
(self)
tests/test_auth.py:132
Methodtest_strips_trailing_slash_from_base_url
(self)
tests/test_api_client.py:81
Methodtest_strips_whitespace_from_plain_text
(self)
tests/test_api_client.py:334
Methodtest_truncates_long_text_to_200_chars
(self)
tests/test_api_client.py:340
Methodtest_url_encodes_keyword
(self)
tests/test_api_client.py:175
Methodtest_url_encodes_unicode_keyword
(self)
tests/test_api_client.py:181
Methodtest_valid_fuzziness_accepted
(self)
tests/test_arg_parser.py:98
Methodtest_whitespace_cli_value_falls_through_to_env
(self)
tests/test_auth.py:54
Methodtest_whitespace_only_text_returns_none
(self)
tests/test_api_client.py:351
Functionvalidate_confidence
Validate confidence_level. Args: confidence_level: int containing confidence_level, can only be an int between 0 and 4.
opensquat/arg_parser.py:40
Functionvalidate_type
Validate file_type. Args: file_type: string containing file type, can only be txt, json or csv. Return: file_type
opensquat/arg_parser.py:20
Methodverify_keyword_task
Static worker method for parallel execution.
opensquat/app.py:179
← previous101–180 of 180, ranked by callers