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
Function
create_curations_from_user_curation
(apps, schema_editor)
mwmbl/migrations/0003_auto_20231203_0614.py:8
Function
create_router
Create a standalone NinjaAPI for a specific version (used for legacy routes).
mwmbl/tinysearchengine/search.py:440
Function
create_router
Create a standalone NinjaAPI for a specific version (used for legacy routes).
mwmbl/crawler/app.py:359
Function
decrement_monthly_super_search
Refund one super-search increment (e.g. when the request is rejected over-limit). Never drops below 0. No-op if the counter is missing.
mwmbl/quota.py:94
Function
delete_all_monthly_keys
Delete all monthly counter keys for the current month. Used by the monthly reset job.
mwmbl/quota.py:125
Function
delete_api_key
(request, key_id: int)
mwmbl/platform/api.py:537
Function
delete_submission
(request, submission_id: int)
mwmbl/platform/api.py:195
Function
delete_user
(request, username: str)
mwmbl/platform/api.py:127
Method
deserialize
(self, serialized_item: bytes)
mwmbl/indexer/fsqueue.py:47
Method
deserialize
(self, serialized_items: bytes)
mwmbl/indexer/fsqueue.py:56
Method
deserialize
(self, serialized_items: bytes)
mwmbl/indexer/fsqueue.py:65
Method
dom
(self)
mwmbl/justext/core.py:218
Function
domain_view
(request, domain)
mwmbl/views.py:514
Function
domains_view
(request)
mwmbl/views.py:509
Method
endDocument
(self)
mwmbl/justext/core.py:198
Method
endElementNS
(self, name, qname)
mwmbl/justext/core.py:189
Method
external_search
(self, query: str)
mwmbl/tinysearchengine/ltr_rank.py:81
Function
fake_crawl
(url, redis)
test/test_super_search.py:182
Function
fake_get
(url, **kwargs)
test/test_ssrf.py:113
Function
fake_index
(documents, query, index_path)
test/test_super_search.py:367
Function
fake_ltr
(model, query, docs)
test/test_super_search.py:108
Function
fake_promote
(query, docs)
test/test_super_search.py:105
Function
fake_redis
Create a fake Redis instance for testing
test/test_crawl_functional.py:22
Function
fake_search
(client, query, limit, _docs=docs)
test/test_super_search.py:91
Function
fetch_results
(url: str, query: str)
mwmbl/rankeval/evaluation/evaluate_remote.py:26
Function
first_two_characters
(term: str)
mwmbl/rankeval/dataset/queries.py:23
Method
fit
(self, X, y)
mwmbl/tinysearchengine/ltr.py:27
Method
fit
(self, X, y=None)
mwmbl/tinysearchengine/ltr.py:46
Method
fit
(self, X, y)
mwmbl/tinysearchengine/ltr.py:70
Function
flag_curation
(request, curation_id)
mwmbl/views.py:468
Function
flag_curation_update
(request, flag_curation_id)
mwmbl/views.py:485
Function
forgot_password
(request, body: ForgotPasswordRequest)
mwmbl/platform/api.py:857
Function
format_for_query
(text: str | None, query: str, autoescape=True)
mwmbl/templatetags/result_filters.py:15
Function
full_term
(term: str)
mwmbl/rankeval/dataset/queries.py:19
Function
get_agreement_history
(request)
mwmbl/platform/api.py:454
Function
get_agreements
(request)
mwmbl/platform/api.py:423
Function
get_batch_from_id
(request, date_str, public_user_id, batch_id)
mwmbl/crawler/app.py:188
Function
get_batches_for_date_and_user
(request, date_str, public_user_id)
mwmbl/crawler/app.py:173
Method
get_context_data
(self, **kwargs)
mwmbl/views.py:449
Function
get_curated_domains_endpoint
(request)
mwmbl/crawler/app.py:257
Function
get_current_user
(request)
mwmbl/platform/api.py:559
Function
get_discount
(rank: float)
mwmbl/rankeval/ltr/evaluate.py:63
Function
get_domain_submissions
(request)
mwmbl/platform/api.py:164
Function
get_domain_submissions_for_domain
(request, domain: str)
mwmbl/platform/api.py:150
Function
get_domain_titles
()
mwmbl/indexer/domains/domain_titles.py:35
Function
get_evaluation_results
(request, job_id: int)
mwmbl/evaluation/api.py:130
Function
get_features_as_series
(item: Series)
mwmbl/tinysearchengine/ltr.py:39
Function
get_latest_batch
(request)
mwmbl/crawler/app.py:204
Function
get_monthly_super_search_count
Return the current monthly super-search request count for a user (0 if not set).
mwmbl/quota.py:81
Method
get_queryset
(self)
mwmbl/views.py:223
Method
get_queryset
(self)
mwmbl/views.py:442
Method
get_queryset
(self)
mwmbl/views.py:505
Method
get_raw_results
(self, query)
test/test_mmr_rank.py:75
Method
get_readonly_fields
(self, request, obj=None)
mwmbl/admin.py:42
Function
get_stats
(request)
mwmbl/crawler/app.py:228
Function
get_stoplists
Returns a collection of built-in stop-lists.
mwmbl/justext/utils.py:38
Function
get_subscription
(request)
mwmbl/platform/api.py:583
Function
get_tf_idf_features
(match_counts: dict[str, int])
mwmbl/tinysearchengine/rank.py:81
Method
get_user
(self, user_id)
mwmbl/auth.py:47
Function
get_user_id_hashes_for_date
(request, date_str: str)
mwmbl/crawler/app.py:215
Function
get_user_vote_history
(request)
mwmbl/platform/api.py:343
Function
get_vote_counts
(request, vote_stats_request: VoteStatsRequest)
mwmbl/platform/api.py:276
Function
hash_existing_keys
(apps, schema_editor)
mwmbl/migrations/0021_hash_api_keys.py:6
Function
home_fragment
(request)
mwmbl/views.py:91
Function
human_bytes
(value: int)
mwmbl/templatetags/humanbytes.py:56
Function
increment_monthly_super_search
Increment the monthly super-search counter and return the new value.
mwmbl/quota.py:86
Function
index
(request)
mwmbl/views.py:80
Function
init_router
()
mwmbl/tinysearchengine/super_search.py:617
Function
init_router
Initialise the v1 module-level router (called from urls.py).
mwmbl/tinysearchengine/search.py:448
Function
init_router
Initialise the module-level router (called from urls.py for the unified v1 API).
mwmbl/crawler/app.py:354
Function
init_v2_router
Initialise the v2 module-level router (called from urls.py).
mwmbl/tinysearchengine/search.py:454
Function
invalid_request_handler
(request, exc: InvalidRequest)
mwmbl/api.py:94
Function
invalid_wasm_bytes
Create invalid WASM file bytes
test/test_evaluation_api.py:83
Method
is_boilerplate
(self)
mwmbl/justext/paragraph.py:30
Method
is_heading
(self)
mwmbl/justext/paragraph.py:26
Function
justext_from_dom
Converts an HTML page into a list of classified paragraphs. Each paragraph is represented as instance of class ˙˙justext.paragraph.Paragraph˙
mwmbl/justext/core.py:384
Function
list_api_keys
(request)
mwmbl/platform/api.py:511
Function
list_evaluation_jobs
(request)
mwmbl/evaluation/api.py:157
Method
load_config
(self)
mwmbl/main.py:40
Function
memory_view
(request)
mwmbl/views.py:543
Function
mock_crawl_response
Mock successful crawl response
test/test_crawl_functional.py:60
Function
mock_environment
Mock environment variables
test/test_crawl_functional.py:47
Function
mock_settings
Mock Django settings for crawler
test/test_crawl_functional.py:35
Method
obtain_token
(self, user_token: MwmblTokenObtainSchema)
mwmbl/api.py:58
Method
on
(eventName, callback)
front-end/src/utils/events.js:14
Method
order_results
(terms: list[str], pages: list[Document], is_complete: bool)
test/test_index_batches.py:13
Method
order_results
(self, terms: list[str], results: list[Document], is_complete: bool)
mwmbl/tinysearchengine/ltr_rank.py:56
Function
other_access_token
(other_user)
test/test_search_api_key.py:82
Function
other_user
(db)
test/test_search_api_key.py:60
Function
polar_webhook
(request)
mwmbl/platform/api.py:763
Function
post_batch
(request, batch: Batch)
mwmbl/crawler/app.py:96
Function
post_dataset
(request, dataset: DatasetRequest)
mwmbl/crawler/app.py:325
Function
post_results
(request, results: Results)
mwmbl/crawler/app.py:275
Method
predict
(self, query)
mwmbl/rankeval/evaluation/evaluate_wiki.py:27
Method
predict
(self, query)
mwmbl/rankeval/evaluation/evaluate_combined.py:17
Method
predict
(self, query: str)
mwmbl/rankeval/evaluation/evaluate_ranker.py:13
Method
predict
(self, query: str)
mwmbl/rankeval/evaluation/evaluate_oracle.py:31
Method
predict
(self, X)
mwmbl/tinysearchengine/ltr.py:32
Method
predict
(self, X)
mwmbl/tinysearchengine/ltr.py:75
Function
process_batch
Process a single batch (backward compatibility).
mwmbl/crawl.py:344
← previous
next →
501–600 of 929, ranked by callers