Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/caleb531/youversion-suggest-alfred
/ functions
Functions
262 in github.com/caleb531/youversion-suggest-alfred
⨍
Functions
262
◇
Types & classes
4
↳
Endpoints
13
Function
normalize_ref_content
(ref_content)
yvs/core.py:249
Function
patch_local_dirs
Ensure tests use isolated cache and data directories.
tests/conftest.py:14
Method
reset
(self)
yvs/search_refs.py:27
Function
setup_function
(function)
tests/test_search_refs.py:19
Function
setup_function
(function)
tests/test_copy_ref.py:18
Function
setup_function
(function)
tests/test_preview_ref.py:18
Function
teardown_function
(function)
tests/test_search_refs.py:23
Function
teardown_function
(function)
tests/test_copy_ref.py:22
Function
teardown_function
(function)
tests/test_preview_ref.py:22
Function
test_add_moves_duplicate_to_top
should move an existing key to the top when re-added
tests/test_mru_stack.py:41
Function
test_add_purges_oldest_when_full
should purge the least-recent when adding beyond maxsize
tests/test_mru_stack.py:52
Function
test_ambiguous
should match verses by ambiguous book reference
tests/test_filter_refs/test_verse.py:17
Function
test_ambiguous
should match chapters by ambiguous book name
tests/test_filter_refs/test_chapter.py:17
Function
test_basic
should match verses
tests/test_filter_refs/test_verse.py:8
Function
test_basic
should match chapters
tests/test_filter_refs/test_chapter.py:8
Function
test_book
should recognize shorthand book syntax
tests/test_filter_refs/test_shorthand.py:9
Function
test_cache_add_duplicate_keys
should delete duplicate cache entries without error
tests/test_cache.py:73
Function
test_cache_purge_oldest
should purge oldest entry when cache grows too large
tests/test_cache.py:12
Function
test_cache_truncate
should truncate cache if max entries count changes between versions
tests/test_cache.py:39
Function
test_cache_url_content
should cache search URL content after first fetch
tests/test_search_refs.py:72
Function
test_cache_url_content
should cache chapter URL content after first fetch
tests/test_copy_ref.py:334
Function
test_case
should match books irrespective of case
tests/test_filter_refs/test_book.py:18
Function
test_case
should match versions irrespective of case
tests/test_filter_refs/test_version.py:29
Function
test_chapter
should recognize shorthand chapter syntax
tests/test_filter_refs/test_shorthand.py:18
Function
test_chapter_overflow
should constrain specified chapter to last chapter if too high
tests/test_filter_refs/test_overflow.py:9
Function
test_charref_dec
should evaluate decimal character references
tests/test_yv_parser.py:34
Function
test_charref_hex
should evaluate hexadecimal character references
tests/test_yv_parser.py:44
Function
test_charref_name
should evaluate named character references
tests/test_yv_parser.py:24
Function
test_clear_cache
should remove cache directory when cache is cleared
tests/test_clear_cache.py:12
Function
test_clear_cache_silent_fail
should fail silently if cache directory does not exist
tests/test_clear_cache.py:23
Function
test_closest_match
should try to find closest match for nonexistent versions
tests/test_filter_refs/test_version.py:78
Function
test_copy_by_default_false
should export correct data when "Copy By Default?" setting is false
tests/test_search_refs.py:83
Function
test_copy_by_default_false
should export correct data when "Copy By Default?" setting is false
tests/test_filter_refs/test_prefs.py:51
Function
test_copy_by_default_true
should export correct data when "Copy By Default?" setting is true
tests/test_search_refs.py:94
Function
test_copy_by_default_true
should export correct data when "Copy By Default?" setting is true
tests/test_filter_refs/test_prefs.py:62
Function
test_copy_chapter
should copy reference content for chapter
tests/test_copy_ref.py:26
Function
test_copy_verse
should copy reference content for verse
tests/test_copy_ref.py:37
Function
test_copy_verse_range
should copy reference content for verse range
tests/test_copy_ref.py:47
Function
test_copybydefault_no
should display view action when copybydefault is disabled
tests/test_preview_ref.py:87
Function
test_copybydefault_yes
should display copy action when copybydefault is enabled
tests/test_preview_ref.py:65
Function
test_create_local_data_dir_silent_fail
should silently fail if local data directory already exists
tests/test_filter_refs/test_prefs.py:72
Function
test_current_value
should not make preference's current value actionable
tests/test_filter_prefs.py:147
Function
test_dot_separator
should match verses preceded by dot
tests/test_filter_refs/test_verse.py:27
Function
test_empty
should not match empty input
tests/test_filter_refs/test_edge.py:9
Function
test_endverse_overflow
should constrain specified endverse to last endverse if too high
tests/test_filter_refs/test_overflow.py:29
Function
test_exact
should match versions by exact name
tests/test_filter_refs/test_version.py:87
Function
test_feedback_show_all
should output JSON for all results if query is empty
tests/test_filter_prefs.py:309
Function
test_filter_languages
should filter available languages if value is given
tests/test_filter_prefs.py:21
Function
test_filter_languages_non_latin
should filter non-latin language names
tests/test_filter_prefs.py:38
Function
test_filter_preference_entire_query
should match available preference values using entire query string
tests/test_filter_prefs.py:244
Function
test_filter_preference_ignore_special
should ignore special characters when matching preference values
tests/test_filter_prefs.py:261
Function
test_filter_preferences_id
should filter available preferences if partial pref ID is given
tests/test_filter_prefs.py:184
Function
test_filter_preferences_name
should filter available preferences if partial pref name is given
tests/test_filter_prefs.py:194
Function
test_filter_preferences_name_partial
should match partial pref name at word boundaries
tests/test_filter_prefs.py:204
Function
test_filter_preferences_show_current
should show current values for all preferences
tests/test_filter_prefs.py:214
Function
test_filter_preferences_show_current_valid_only
should not show invalid current preference values
tests/test_filter_prefs.py:234
Function
test_filter_refformats
should filter available refformats if value is given
tests/test_filter_prefs.py:90
Function
test_filter_versions
should filter available versions if value is given
tests/test_filter_prefs.py:64
Function
test_get_url_content
should fetch uncompressed URL content
tests/test_web.py:28
Function
test_get_url_content_compressed
should automatically decompress compressed URL content
tests/test_web.py:54
Function
test_get_url_content_optimized
should optimize returned HTML by stripping <script> tags, etc.
tests/test_web.py:76
Function
test_get_url_content_timeout
should timeout URL content request after 3 seconds
tests/test_web.py:45
Function
test_header
should prepend reference header to copied string
tests/test_copy_ref.py:74
Function
test_header_language
reference header should reflect chosen language
tests/test_copy_ref.py:91
Function
test_id
should use correct ID for verses
tests/test_filter_refs/test_verse.py:45
Function
test_id
should use correct ID for chapters
tests/test_filter_refs/test_chapter.py:27
Function
test_id
should use correct ID for books
tests/test_filter_refs/test_book.py:82
Function
test_id
should use correct ID for versions
tests/test_filter_refs/test_version.py:106
Function
test_incomplete_dot_verse
should treat incomplete .verse reference as chapter reference
tests/test_filter_refs/test_incomplete.py:17
Function
test_incomplete_verse
should treat incomplete verse reference as chapter reference
tests/test_filter_refs/test_incomplete.py:8
Function
test_incomplete_verse_range
should treat incomplete verse ranges as single-verse references
tests/test_filter_refs/test_incomplete.py:26
Function
test_init_deduplicates_and_preserves_order
should deduplicate while preserving MRU order on initialization
tests/test_mru_stack.py:19
Function
test_init_normal_no_duplicates
should initialize with unique elements preserving order
tests/test_mru_stack.py:7
Function
test_init_truncates_to_maxsize
should keep only the first maxsize elements on initialization
tests/test_mru_stack.py:31
Function
test_invalid_query
should show all available preferences for invalid preference name
tests/test_filter_prefs.py:157
Function
test_invalid_user_version
should raise exception when invalid version is set
tests/test_filter_refs/test_prefs.py:43
Function
test_language_persistence
should remember language preferences
tests/test_filter_refs/test_prefs.py:24
Function
test_linebreaks_no
should strip line breaks where appropriate
tests/test_copy_ref.py:156
Function
test_linebreaks_no_versenumbers_yes
should display verse numbers correctly when stripping line breaks
tests/test_copy_ref.py:200
Function
test_linebreaks_yes
should add line breaks where appropriate
tests/test_copy_ref.py:112
Function
test_littered
should ignore non-alphanumeric characters
tests/test_filter_refs/test_edge.py:34
Function
test_main
should pass preference data to setter
tests/test_set_pref.py:57
Function
test_main
main function should output copied reference content
tests/test_copy_ref.py:371
Function
test_main_output
should output pref result list JSON
tests/test_filter_prefs.py:278
Function
test_maxsize_zero_keeps_nothing
should never retain entries when maxsize is zero
tests/test_mru_stack.py:78
Function
test_missing_prefs
should supply missing preferences with defaults
tests/test_filter_refs/test_prefs.py:33
Function
test_non_alphanumeric
should not match entirely non-alphanumeric input
tests/test_filter_refs/test_edge.py:17
Function
test_non_ascii
should match versions containing non-ASCII characters
tests/test_filter_refs/test_version.py:20
Function
test_non_first_word
should match word other than first word in book name
tests/test_filter_refs/test_book.py:73
Function
test_nonexistent
should not match nonexistent books
tests/test_filter_refs/test_book.py:91
Function
test_nonexistent
should use default version for nonexistent versions with no matches
tests/test_filter_refs/test_version.py:97
Function
test_nonexistent_pref
should not match nonexistent preference
tests/test_filter_prefs.py:129
Function
test_nonexistent_value
should return null result for nonexistent value
tests/test_filter_prefs.py:137
Function
test_nonexistent_verse
should return empty string for nonexistent verses
tests/test_copy_ref.py:344
Function
test_null_result
should output "No Results" JSON item for empty result list
tests/test_search_refs.py:151
Function
test_null_result
should output "No Results" JSON item for empty pref result list
tests/test_filter_prefs.py:293
Function
test_null_result
should output "No Results" JSON item for empty ref result list
tests/test_filter_refs/test_main.py:26
Function
test_null_result_on_error
should output "No Results" JSON item even if parser errored
tests/test_search_refs.py:172
Function
test_number_only
should match single number query
tests/test_filter_refs/test_book.py:51
Function
test_numbered
should match versions ending in number by partial name
tests/test_filter_refs/test_version.py:10
← previous
next →
101–200 of 262, ranked by callers