Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/atenreiro/opensquat
/ functions
Functions
180 in github.com/atenreiro/opensquat
⨍
Functions
180
◇
Types & classes
44
↳
Endpoints
5
Method
parse_version
(v)
opensquat/check_update.py:51
Method
setUp
(self)
tests/test_api_client.py:96
Method
setUp
(self)
tests/test_api_client.py:215
Method
setUp
(self)
tests/test_api_client.py:284
Method
setUp
(self)
tests/test_auth.py:17
Function
signal_handler
Function to catch CTR+C and terminate.
opensquat/cli.py:23
Method
tearDown
(self)
tests/test_auth.py:21
Method
test_400_raises_bad_request
(self)
tests/test_api_client.py:219
Method
test_401_raises_auth_error
(self)
tests/test_api_client.py:227
Method
test_403_raises_plan_error
(self)
tests/test_api_client.py:234
Method
test_429_raises_quota_with_balance
(self)
tests/test_api_client.py:242
Method
test_429_with_non_integer_retry_after_defaults_to_10
(self)
tests/test_api_client.py:310
Method
test_429_with_retry_after_raises_rate_limited
(self)
tests/test_api_client.py:288
Method
test_429_without_retry_after_still_raises_quota
(self)
tests/test_api_client.py:300
Method
test_500_raises_generic_api_error
(self)
tests/test_api_client.py:254
Method
test_api_flag_selects_premium_api
(self)
tests/test_arg_parser.py:31
Method
test_api_key_flag_is_passed_through_to_auth_loader
(self)
tests/test_arg_parser.py:41
Method
test_api_rate_limit_defaults_to_none
(self)
tests/test_arg_parser.py:123
Method
test_api_rate_limit_flag_parses
(self)
tests/test_arg_parser.py:118
Method
test_api_rate_limit_not_required_in_community_mode
(self)
tests/test_arg_parser.py:128
Method
test_api_without_any_key_exits
(self)
tests/test_arg_parser.py:81
Method
test_certificates_not_found
Test that non-existent domains return False.
tests/test_ct.py:9
Method
test_cli_value_takes_precedence
(self)
tests/test_auth.py:25
Method
test_community_download_does_not_send_x_api_key
(self, mock_get)
tests/test_feed_manager.py:80
Method
test_community_headers_have_no_api_key
(self)
tests/test_feed_manager.py:21
Method
test_community_mode_does_not_call_auth_loader
(self)
tests/test_arg_parser.py:47
Method
test_community_mode_ignores_stray_api_key_arg
--api-key without a mode is still parsed but not resolved.
tests/test_arg_parser.py:53
Method
test_context_manager_closes_session
(self)
tests/test_api_client.py:87
Method
test_ctlog_creation
Test CTLog object creation.
tests/test_ct.py:34
Method
test_empty_cli_value_falls_through_to_env
(self)
tests/test_auth.py:47
Method
test_empty_ct_logs_returns_false
Test that no CT logs for a domain returns False.
tests/test_ct.py:22
Method
test_empty_file_raises
(self)
tests/test_auth.py:97
Method
test_empty_key_fully_masked
(self)
tests/test_auth.py:135
Method
test_empty_keyword_raises
(self)
tests/test_api_client.py:276
Method
test_empty_results_returns_empty_list
(self)
tests/test_api_client.py:204
Method
test_empty_text_returns_none
(self)
tests/test_api_client.py:347
Method
test_env_var_used_when_no_cli
(self)
tests/test_auth.py:40
Method
test_file_strips_whitespace_and_skips_comments
(self)
tests/test_auth.py:73
Method
test_file_used_as_fallback
(self)
tests/test_auth.py:61
Method
test_file_with_only_comments_raises
(self)
tests/test_auth.py:109
Method
test_idn_domain_returned_as_punycode
(self)
tests/test_api_client.py:123
Method
test_invalid_fuzziness_rejected
(self)
tests/test_arg_parser.py:105
Method
test_invalid_json_in_200_response_raises
(self)
tests/test_api_client.py:270
Method
test_json_body_still_preferred_over_text
(self)
tests/test_api_client.py:355
Method
test_levenshtein
(self)
tests/test_validations.py:6
Method
test_masks_long_key
(self)
tests/test_auth.py:125
Method
test_missing_all_sources_raises
(self)
tests/test_auth.py:88
Method
test_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
Method
test_network_error_returns_true
Test that network errors are handled gracefully.
tests/test_ct.py:14
Method
test_network_error_wrapped_in_api_error
(self)
tests/test_api_client.py:264
Method
test_no_flags_is_community
(self)
tests/test_arg_parser.py:18
Method
test_none_key_fully_masked
(self)
tests/test_auth.py:138
Method
test_optional_params_included_when_set
(self)
tests/test_api_client.py:193
Method
test_optional_params_omitted_when_none
(self)
tests/test_api_client.py:187
Method
test_period_flag_exits
(self)
tests/test_arg_parser.py:140
Method
test_premium_and_api_are_mutually_exclusive
(self)
tests/test_arg_parser.py:37
Method
test_premium_check_latest_feeds_returns_false_without_network
( self, mock_get )
tests/test_feed_manager.py:45
Method
test_premium_download_sends_x_api_key
(self, mock_get)
tests/test_feed_manager.py:59
Method
test_premium_flag_selects_premium_feed
(self)
tests/test_arg_parser.py:25
Method
test_premium_headers_include_api_key
(self)
tests/test_feed_manager.py:28
Method
test_premium_url_filename_accepted
(self)
tests/test_feed_manager.py:100
Method
test_premium_without_any_key_exits
(self)
tests/test_arg_parser.py:71
Method
test_premium_without_key_omits_header
(self)
tests/test_feed_manager.py:36
Method
test_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
Method
test_requires_api_key
(self)
tests/test_api_client.py:67
Method
test_returns_plain_text_when_not_json
(self)
tests/test_api_client.py:325
Method
test_returns_punycode_domains
(self)
tests/test_api_client.py:100
Method
test_sets_session_headers
(self)
tests/test_api_client.py:73
Method
test_short_key_fully_masked
(self)
tests/test_auth.py:132
Method
test_strips_trailing_slash_from_base_url
(self)
tests/test_api_client.py:81
Method
test_strips_whitespace_from_plain_text
(self)
tests/test_api_client.py:334
Method
test_truncates_long_text_to_200_chars
(self)
tests/test_api_client.py:340
Method
test_url_encodes_keyword
(self)
tests/test_api_client.py:175
Method
test_url_encodes_unicode_keyword
(self)
tests/test_api_client.py:181
Method
test_valid_fuzziness_accepted
(self)
tests/test_arg_parser.py:98
Method
test_whitespace_cli_value_falls_through_to_env
(self)
tests/test_auth.py:54
Method
test_whitespace_only_text_returns_none
(self)
tests/test_api_client.py:351
Function
validate_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
Function
validate_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
Method
verify_keyword_task
Static worker method for parallel execution.
opensquat/app.py:179
← previous
101–180 of 180, ranked by callers