Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/internetarchive/openlibrary
/ functions
Functions
6,179 in github.com/internetarchive/openlibrary
⨍
Functions
6,179
◇
Types & classes
1,059
↳
Endpoints
131
↓ 1 callers
Function
_load_features
()
openlibrary/core/features.py:69
↓ 1 callers
Function
_load_legacy_wsgi
Initialize legacy configuration and side-effects as in scripts/openlibrary-server. This function does not return a WSGI callable; it is called fo
openlibrary/asgi_app.py:44
↓ 1 callers
Method
_make_book_query
(cls, params: CarouselLoadMoreParams)
openlibrary/plugins/openlibrary/partials.py:147
↓ 1 callers
Method
_make_redirect
(self, itemid, location)
openlibrary/plugins/openlibrary/connection.py:182
↓ 1 callers
Function
_make_sub
Make substituter. >>> f = _make_sub(dict(a='aa', bb='b')) >>> f('aabbb') 'aaaabb'
openlibrary/data/dump.py:313
↓ 1 callers
Method
_make_url
Make url of the form $key/$label$suffix?$params.
openlibrary/core/models.py:171
↓ 1 callers
Function
_monkeypatch_web
(monkeypatch)
openlibrary/tests/core/test_helpers.py:18
↓ 1 callers
Method
_onRecentSearchKeydown
(e, query)
openlibrary/plugins/openlibrary/js/search-modal/SearchModal.js:1228
↓ 1 callers
Method
_onSeeAllResults
()
openlibrary/plugins/openlibrary/js/search-modal/SearchModal.js:1638
↓ 1 callers
Function
_param_first
web.input can give back either a string or list depending on the field's default. The availability params come in as scalar strings, but we de
openlibrary/plugins/worksearch/code.py:141
↓ 1 callers
Method
_parsePlacement
(placement)
openlibrary/components/lit/OlTooltip.js:397
↓ 1 callers
Method
_parsePlacement
(placement)
openlibrary/components/lit/OlPopover.js:583
↓ 1 callers
Function
_parse_args
()
scripts/cron_wrapper.py:65
↓ 1 callers
Function
_parse_args
()
scripts/migrations/update_legacy_preferences.py:97
↓ 1 callers
Function
_parse_args
()
scripts/migrations/write_prefs_to_store.py:151
↓ 1 callers
Function
_parse_args
()
scripts/migrations/anonymous_store_remediation.py:85
↓ 1 callers
Function
_parse_args
()
scripts/migrations/delete_merge_debug.py:51
↓ 1 callers
Method
_parse_auth_header
(self)
openlibrary/plugins/upstream/account.py:1440
↓ 1 callers
Function
_parse_cfmt
Extract e.g. '%s' from cstyle python format strings >>> _parse_cfmt('hello %s') ['%s'] >>> _parse_cfmt(' by %(name)s') ['%(name)s
openlibrary/i18n/validators.py:45
↓ 1 callers
Function
_parse_low_auth_header
Parse 'Authorization: LOW access:secret' from the current request. Returns (access, secret) tuple or raises ValueError if missing/malformed/empty.
openlibrary/plugins/upstream/account.py:439
↓ 1 callers
Function
_parse_pr_number
(value: str)
openlibrary/plugins/openlibrary/status.py:509
↓ 1 callers
Method
_parse_solr_result
(self, result, doc_wrapper, facet_wrapper)
openlibrary/utils/solr.py:233
↓ 1 callers
Method
_patch
(self)
openlibrary/core/olmarkdown.py:126
↓ 1 callers
Method
_preload_authors
Preloads authors for all works in the cache.
openlibrary/solr/data_provider.py:423
↓ 1 callers
Method
_preload_editions
(self)
openlibrary/solr/data_provider.py:407
↓ 1 callers
Function
_preload_lists
Preloads all referenced documents for each list. List can be either a dict of a model object.
openlibrary/plugins/openlibrary/lists.py:1106
↓ 1 callers
Method
_preload_metadata_of_editions
(self)
openlibrary/solr/data_provider.py:414
↓ 1 callers
Method
_preload_redirects0
(self, keys)
openlibrary/solr/data_provider.py:446
↓ 1 callers
Method
_preload_works
Preloads works for all editions in the cache.
openlibrary/solr/data_provider.py:398
↓ 1 callers
Function
_prepare_work_search_query
Prepares the query by making a deep copy and rewriting list queries, returning a structured dataclass.
openlibrary/plugins/worksearch/code.py:1179
↓ 1 callers
Method
_prevent_ocaid_deletion
(self, edition)
openlibrary/plugins/upstream/addbook.py:748
↓ 1 callers
Method
_process
(self, value)
openlibrary/mocks/mock_infobase.py:180
↓ 1 callers
Function
_process_data
Convert keys from /a/, /b/, /l/ and /user/ to /authors/, /books/, /languages/ and /people/ respectively.
openlibrary/data/dump.py:295
↓ 1 callers
Function
_process_data
(data)
openlibrary/plugins/ol_infobase.py:471
↓ 1 callers
Method
_process_identifiers
(self, config_, names, values)
openlibrary/plugins/upstream/models.py:693
↓ 1 callers
Function
_process_key
(key)
openlibrary/data/dump.py:282
↓ 1 callers
Function
_process_key
(key)
openlibrary/plugins/ol_infobase.py:454
↓ 1 callers
Function
_process_solr_response_and_enrich
Processes the Solr response, enriches it, and returns a SearchResponse object.
openlibrary/plugins/worksearch/code.py:466
↓ 1 callers
Function
_process_solr_search_response
Handles the post-processing of the Solr response, which is common to both sync and async versions.
openlibrary/plugins/worksearch/code.py:1159
↓ 1 callers
Function
_read_config
(config_path)
scripts/cron_wrapper.py:57
↓ 1 callers
Method
_removeScrollResizeListeners
()
openlibrary/components/lit/OlPopover.js:604
↓ 1 callers
Method
_renderAuthorSuggestion
(author, index = 0)
openlibrary/plugins/openlibrary/js/search-modal/SearchModal.js:1246
↓ 1 callers
Method
_renderCodeStep
()
openlibrary/components/lit/OpenLibraryOTP.js:351
↓ 1 callers
Method
_renderCount
()
openlibrary/components/lit/OLChip.js:244
↓ 1 callers
Method
_renderDefaultTrigger
()
openlibrary/components/lit/OlSelectPopover.js:457
↓ 1 callers
Method
_renderDefaultTrigger
()
openlibrary/components/lit/OlOptionsPopover.js:287
↓ 1 callers
Method
_renderEmailStep
()
openlibrary/components/lit/OpenLibraryOTP.js:278
↓ 1 callers
Method
_renderFilters
()
openlibrary/plugins/openlibrary/js/search-modal/SearchModal.js:1106
↓ 1 callers
Method
_renderIcons
()
openlibrary/components/lit/OLChip.js:223
↓ 1 callers
Method
_renderIndicators
()
openlibrary/components/lit/OlCarousel.js:769
↓ 1 callers
Method
_renderItem
(item)
openlibrary/components/lit/OlOptionsPopover.js:327
↓ 1 callers
Method
_renderPageButton
* Render a single page button/link or ellipsis * @param {Number|String} page - Page number or 'ellipsis-left'/'ellipsis-right' * @returns {T
openlibrary/components/lit/OlPagination.js:342
↓ 1 callers
Method
_renderPanel
()
openlibrary/components/lit/OlSelectPopover.js:487
↓ 1 callers
Method
_renderPanel
()
openlibrary/components/lit/OlOptionsPopover.js:305
↓ 1 callers
Method
_renderRecentSearches
()
openlibrary/plugins/openlibrary/js/search-modal/SearchModal.js:1182
↓ 1 callers
Method
_renderResult
(work, index = 0)
openlibrary/plugins/openlibrary/js/search-modal/SearchModal.js:1299
↓ 1 callers
Method
_renderResults
()
openlibrary/plugins/openlibrary/js/search-modal/SearchModal.js:1150
↓ 1 callers
Function
_resize_list
Increase the size of the list x to the specified size it is smaller.
openlibrary/utils/dateutil.py:101
↓ 1 callers
Method
_restoreFocus
()
openlibrary/components/lit/OlDialog.js:518
↓ 1 callers
Method
_restoreFocus
()
openlibrary/components/lit/OlPopover.js:451
↓ 1 callers
Method
_resultsAnnouncement
()
openlibrary/plugins/openlibrary/js/search-modal/SearchModal.js:1597
↓ 1 callers
Function
_run_feed
Process the OPDS feed, routing price rows to disk or to a discard buffer.
scripts/bwb_opds_imports.py:343
↓ 1 callers
Method
_run_script
(self)
scripts/cron_wrapper.py:33
↓ 1 callers
Function
_safe_redirect
Return url only if it is a same-origin path; fall back to default.
openlibrary/fastapi/account.py:52
↓ 1 callers
Method
_scheduleOutcomeTrack
(action, fetchKey)
openlibrary/plugins/openlibrary/js/search-modal/SearchModal.js:1465
↓ 1 callers
Method
_scrollableInPath
* Walk the touch's composed path (which includes slotted light-DOM content) * up to and including the panel, returning the first vertically scrol
openlibrary/components/lit/OlPopover.js:694
↓ 1 callers
Method
_seeAllLabel
()
openlibrary/plugins/openlibrary/js/search-modal/SearchModal.js:1432
↓ 1 callers
Function
_sendmail
(to, msg, cc=None, frm=None)
openlibrary/core/sendmail.py:12
↓ 1 callers
Method
_setAvailability
(value)
openlibrary/plugins/openlibrary/js/search-modal/SearchModal.js:1617
↓ 1 callers
Method
_setInitialFocus
* Sets initial focus when dialog opens. * Priority: [autofocus] > first focusable in body > close button > dialog
openlibrary/components/lit/OlDialog.js:408
↓ 1 callers
Function
_setup_env
()
openlibrary/asgi_app.py:30
↓ 1 callers
Method
_setup_sentry
(self, dsn)
scripts/cron_wrapper.py:42
↓ 1 callers
Function
_should_exclude
Apply partner-import quality filters to an OPDS-derived record.
scripts/bwb_opds_imports.py:282
↓ 1 callers
Method
_show
()
openlibrary/components/lit/OlPopover.js:350
↓ 1 callers
Function
_solr_update
(update_state: SolrUpdateRequest)
openlibrary/solr/update.py:73
↓ 1 callers
Method
_sparql_query
(self, category: str)
scripts/providers/import_wikisource.py:113
↓ 1 callers
Method
_sparql_url
(self, category: str)
scripts/providers/import_wikisource.py:147
↓ 1 callers
Method
_toggleSource
()
openlibrary/components/lit/OLMarkdownEditor.js:567
↓ 1 callers
Function
_trigger_rebuild
Call Jenkins to trigger a rebuild. No-op if jenkins_token is not configured.
openlibrary/plugins/openlibrary/status.py:518
↓ 1 callers
Method
_undo
Undo this transaction.
openlibrary/plugins/upstream/models.py:827
↓ 1 callers
Method
_updateColumns
(width)
openlibrary/components/lit/OlCarousel.js:480
↓ 1 callers
Function
_update_infobase_config
Updates infobase config when this function is called for the first time. From next time onwards, it doesn't do anything because this function is
openlibrary/plugins/openlibrary/connection.py:563
↓ 1 callers
Function
_user
Return a mock user whose account was created `days_ago` days ago (UTC).
openlibrary/plugins/openlibrary/tests/test_patron_status.py:11
↓ 1 callers
Function
_utcnow
Timezone-naive UTC now, matching the table's ``timestamp`` columns.
openlibrary/core/acquisitions.py:32
↓ 1 callers
Method
_validate
(self, value)
openlibrary/utils/form.py:164
↓ 1 callers
Method
_validate
(self)
openlibrary/plugins/importapi/import_edition_builder.py:140
↓ 1 callers
Function
_validate_cfmt
(msgid: str, msgstr: str)
openlibrary/i18n/validators.py:22
↓ 1 callers
Function
_validate_follows_page
(page, per_page, hits)
openlibrary/plugins/upstream/account.py:1270
↓ 1 callers
Function
_with_req_context
Run `fn` with a req_context set (the readable-count query reads solr_editions off it).
openlibrary/plugins/worksearch/tests/test_worksearch.py:174
↓ 1 callers
Function
accent_count
(s)
openlibrary/catalog/utils/__init__.py:187
↓ 1 callers
Method
account_request
(self, sitename, path, method="GET", data=None)
openlibrary/plugins/openlibrary/connection.py:63
↓ 1 callers
Method
add
(self, key, val, time=0)
openlibrary/utils/olmemcache.py:40
↓ 1 callers
Function
addCode
(text)
openlibrary/plugins/openlibrary/js/template.js:10
↓ 1 callers
Method
addComment
* `POST`s a new comment to the server. * * Updates the view on success.
openlibrary/plugins/openlibrary/js/merge-request-table/MergeRequestTable/TableRow.js:190
↓ 1 callers
Function
addDeleteObservationsListeners
* Deletes all of a work's observations and refreshes observations view. * * Delete observation buttons are only available on the aggregate * observ
openlibrary/plugins/openlibrary/js/modals/index.js:321
↓ 1 callers
Function
addExpr
(text)
openlibrary/plugins/openlibrary/js/template.js:13
↓ 1 callers
Function
addNotesModalButtonListeners
* Adds click listeners to buttons in all notes modals on a page.
openlibrary/plugins/openlibrary/js/modals/index.js:40
↓ 1 callers
Function
addNotesReloadListeners
* Adds listeners for content reload events on a page's notes textareas * * When a registered textarea receives a content reload event, it's text *
openlibrary/plugins/openlibrary/js/modals/index.js:172
↓ 1 callers
Function
addObservationChangeListeners
* Adds change listeners to each input in the observations section of the modal. * * For each checkbox and radio button in the observations form, a c
openlibrary/plugins/openlibrary/js/modals/index.js:408
↓ 1 callers
Function
addObservationReloadListeners
* Adds listeners to all observation lists on a page. * * Observation lists are found in the aggregate observations * view, and display all observat
openlibrary/plugins/openlibrary/js/modals/index.js:253
← previous
next →
1,601–1,700 of 6,179, ranked by callers