Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/mwmbl/mwmbl
/ functions
Functions
929 in github.com/mwmbl/mwmbl
⨍
Functions
929
◇
Types & classes
208
↳
Endpoints
48
Method
process_batch_continuously
Continuously process batches with error handling.
mwmbl/crawl.py:245
Function
protected
(request)
mwmbl/platform/api.py:113
Function
random_api_key
Kept for migration compatibility (0010_apikey references this by name).
mwmbl/models.py:125
Function
random_query
(query)
analyse/stress_test_request.py:12
Function
raw
(request, s: str)
mwmbl/tinysearchengine/search.py:435
Function
read_page
(page_index: int)
analyse/index_concurrency.py:40
Method
ready
(self)
mwmbl/apps.py:41
Method
redis
Lazy initialization of Redis connection.
mwmbl/crawl.py:106
Function
register
(request, registration: Registration)
mwmbl/platform/api.py:51
Function
remove_vote
(request, vote_request: VoteRemoveRequest)
mwmbl/platform/api.py:315
Function
request_new_batch
(request, batch_request: NewBatchRequest)
mwmbl/crawler/app.py:156
Function
require_email_confirmation
(user)
mwmbl/auth.py:6
Function
reset_password
(request, body: ResetPasswordRequest)
mwmbl/platform/api.py:871
Method
response_format
(self)
mwmbl/tinysearchengine/super_search_sources/recipe.py:50
Method
retrieve_batch
(self, url)
mwmbl/indexer/batch_cache.py:69
Function
revert_current_curation
(request)
mwmbl/views.py:286
Function
run
(data_path: str)
mwmbl/background.py:31
Function
run
(batch_cache: BatchCache, start_status: BatchStatus, end_status: BatchStatus, process: Callable[[Colle
mwmbl/indexer/process_batch.py:12
Function
run
(batch_cache: BatchCache, index_path: str)
mwmbl/indexer/index_batches.py:49
Function
run_evaluation
(request, job_id: int)
mwmbl/evaluation/api.py:74
Function
run_indexing
Run indexing (backward compatibility).
mwmbl/crawl.py:348
Method
run_indexing_continuously
Continuously run indexing with error handling.
mwmbl/crawl.py:255
Function
run_query
(query)
analyse/load_test.py:30
Function
sample_found_urls
Create sample FoundURL objects for testing
test/test_crawl_functional.py:77
Function
sample_vote_data
Sample vote data for testing
test/test_voting_api.py:96
Method
save_model
(self, request, obj, form, change)
mwmbl/admin.py:28
Function
score_documents
Run the LTR model over the given documents and return raw per-doc scores. Sync — call from a thread when used inside an async context.
mwmbl/tinysearchengine/ltr_rank.py:87
Function
search
(request, s: str)
mwmbl/tinysearchengine/search.py:245
Function
search
(client: httpx.AsyncClient, query: str, limit: int)
mwmbl/tinysearchengine/super_search_sources/stackexchange.py:18
Function
search
(client: httpx.AsyncClient, query: str, limit: int)
mwmbl/tinysearchengine/super_search_sources/github.py:18
Function
search
(client: httpx.AsyncClient, query: str, limit: int)
mwmbl/tinysearchengine/super_search_sources/mwmbl_index.py:13
Function
search
(client: httpx.AsyncClient, query: str, limit: int)
mwmbl/tinysearchengine/super_search_sources/hn.py:14
Function
search
(client: httpx.AsyncClient, query: str, limit: int)
mwmbl/tinysearchengine/super_search_sources/recipe.py:91
Function
search
(client: httpx.AsyncClient, query: str, limit: int)
mwmbl/tinysearchengine/super_search_sources/arxiv.py:19
Function
search
(client: httpx.AsyncClient, query: str, limit: int)
mwmbl/tinysearchengine/super_search_sources/pypi.py:19
Method
search
(self, s, additional_results)
test/test_mmr_rank.py:67
Function
search_api_key
A search-scoped ApiKey for verified_user. Has a .raw_key attribute for use in headers.
test/test_search_api_key.py:88
Method
serialize
(self, item)
mwmbl/indexer/fsqueue.py:44
Method
serialize
(self, items: list[object])
mwmbl/indexer/fsqueue.py:52
Method
serialize
(self, items: Any)
mwmbl/indexer/fsqueue.py:62
Function
set_crawl_scope
Set scopes=["crawl"] on all existing ApiKey rows that have no scopes.
mwmbl/migrations/0017_backfill_apikey_scopes.py:4
Function
single_query
(query: str)
mwmbl/rankeval/evaluation/evaluate_remote.py:44
Function
slow_source
(client, query, limit)
test/test_super_search.py:434
Method
startElementNS
(self, name, qname, attrs)
mwmbl/justext/core.py:166
Function
status
(request)
mwmbl/crawler/app.py:237
Function
submit_domain
(request)
mwmbl/views.py:204
Function
submit_domain
(request, domain: str)
mwmbl/platform/api.py:178
Function
submit_wasm
(request, file: UploadedFile = File(...))
mwmbl/evaluation/api.py:33
Function
super_search
(request, q: str)
mwmbl/tinysearchengine/super_search.py:673
Function
temp_data_path
Create a temporary directory for test data
test/test_crawl_functional.py:28
Function
test_add_url_rejects_internal_url
(monkeypatch)
test/test_ssrf.py:137
Function
test_archive_org_nested_results_and_template
(httpx_mock)
test/test_super_search_recipes.py:113
Function
test_arxiv_returns_documents
(httpx_mock)
test/test_super_search_sources.py:111
Function
test_as_tuple_only_last_crawled_none_strips_it
()
test/test_indexer.py:139
Function
test_as_tuple_strips_trailing_nones
()
test/test_indexer.py:134
Function
test_as_tuple_with_new_fields
()
test/test_indexer.py:129
Method
test_batch_queue_operations
Test batch queue operations in Redis
test/test_crawl_functional.py:283
Function
test_binary_search_fitting_size_all_fit
()
test/test_indexer.py:21
Function
test_binary_search_fitting_size_none_fit
()
test/test_indexer.py:39
Function
test_binary_search_fitting_size_subset_fit
()
test/test_indexer.py:30
Function
test_blacklist_allows_other_domains
Test that built-in rules allow other legitimate domains.
test/test_blacklist.py:24
Function
test_blacklist_allows_top_domains
Test that built-in rules allow legitimate domains.
test/test_blacklist.py:18
Function
test_blacklist_excludes_bad_pattern
Test that built-in rules blacklist bad patterns.
test/test_blacklist.py:4
Function
test_blacklist_provider
Create a static blacklist provider for tests to avoid network calls.
test/test_crawl_functional.py:105
Function
test_cancel_subscription_already_canceled
Test that canceling an already canceled subscription returns 409.
test/test_platform_billing.py:103
Function
test_cancel_subscription_success
Test successful subscription cancellation at period end.
test/test_platform_billing.py:78
Function
test_cancel_subscription_unauthenticated
Test that canceling without authentication returns 401.
test/test_platform_billing.py:140
Function
test_cancel_subscription_unverified_email
Test that canceling without a subscription returns 404.
test/test_platform_billing.py:147
Function
test_change_plan_invalid_plan
Test that changing to an invalid plan returns 400.
test/test_platform_billing.py:265
Function
test_change_plan_no_subscription
Test that changing plan without a subscription returns 404.
test/test_platform_billing.py:278
Function
test_change_plan_success
Test successful plan change.
test/test_platform_billing.py:225
Function
test_change_plan_unauthenticated
Test that changing plan without authentication returns 401.
test/test_platform_billing.py:254
Function
test_clean_unicode
()
test/test_indexdb.py:4
Function
test_combine_documents_merges_user_ids_for_same_url
()
test/test_index_batches.py:180
Function
test_combine_documents_propagates_user_ids_to_winner
When multiple docs share a URL, whichever wins carries the merged user_ids.
test/test_index_batches.py:195
Function
test_combine_documents_uses_max_last_crawled
()
test/test_index_batches.py:188
Function
test_combined_blacklist_provider
Test CombinedBlacklistProvider with is_domain_blacklisted method.
test/test_blacklist_providers.py:62
Function
test_combined_blacklist_provider_handles_failures
Test CombinedBlacklistProvider continues even if one provider fails.
test/test_blacklist_providers.py:78
Function
test_compress_decompress
()
analyse/decompress_errors.py:12
Function
test_constructing_document_removes_none
()
test/test_indexer.py:123
Function
test_copy_pages
()
test/test_copy_index.py:12
Function
test_correctCompletions
(mocker)
test/test_completer.py:12
Function
test_correctSortOrder
(mocker)
test/test_completer.py:26
Method
test_crawl_url_error_handling
Test URL crawling error handling
test/test_crawl_functional.py:257
Function
test_crawl_url_falls_back_to_first_paragraph
(monkeypatch)
test/test_retrieve_extract.py:68
Method
test_crawl_url_functionality
Test individual URL crawling functionality
test/test_crawl_functional.py:228
Function
test_crawl_url_prefers_meta_description_over_first_paragraph
(monkeypatch)
test/test_retrieve_extract.py:79
Function
test_crawl_url_prefers_og_description
(monkeypatch)
test/test_retrieve_extract.py:87
Function
test_crawled_url_is_not_requeued
End-to-end: a just-crawled URL is not put back on the queue, but a newly discovered link is.
test/test_url_database.py:71
Function
test_crawled_url_marked_as_recently_crawled
A first-time crawled URL should come back with last_crawled set to now.
test/test_url_database.py:40
Function
test_create_api_key
(api_client, access_token)
test/test_search_api_key.py:143
Function
test_create_api_key_default_name
(api_client, access_token)
test/test_search_api_key.py:170
Function
test_create_api_key_unauthenticated
(api_client)
test/test_search_api_key.py:160
Function
test_create_crawl_api_key
(api_client, access_token)
test/test_search_api_key.py:194
Function
test_create_crawl_api_key_without_gui_tos_returns_403
A user who has only accepted the API TOS cannot create a crawl key.
test/test_search_api_key.py:209
Function
test_create_index
()
test/test_indexer.py:10
Function
test_create_search_api_key_explicit_scope
(api_client, access_token)
test/test_search_api_key.py:182
Function
test_delete_api_key
(api_client, access_token, search_api_key)
test/test_search_api_key.py:273
Function
test_delete_crawl_api_key
(api_client, access_token, crawl_api_key)
test/test_search_api_key.py:303
Function
test_delete_nonexistent_key_returns_404
(api_client, access_token)
test/test_search_api_key.py:294
← previous
next →
601–700 of 929, ranked by callers