MCPcopy Create free account

hub / github.com/internetarchive/openlibrary / functions

Functions6,179 in github.com/internetarchive/openlibrary

↓ 1 callersMethodPOST_activate_account
(self, user)
openlibrary/plugins/admin/code.py:341
↓ 1 callersMethodPOST_add_tag
(self, account, tag)
openlibrary/plugins/admin/code.py:391
↓ 1 callersMethodPOST_anonymize_account
(self, account, test)
openlibrary/plugins/admin/code.py:412
↓ 1 callersMethodPOST_block_account
(self, account)
openlibrary/plugins/admin/code.py:345
↓ 1 callersMethodPOST_block_account_and_revert
(self, account: Account)
openlibrary/plugins/admin/code.py:349
↓ 1 callersMethodPOST_remove_tag
(self, account, tag)
openlibrary/plugins/admin/code.py:395
↓ 1 callersMethodPOST_set_bot_flag
(self, account, bot)
openlibrary/plugins/admin/code.py:399
↓ 1 callersMethodPOST_su
(self, account)
openlibrary/plugins/admin/code.py:404
↓ 1 callersMethodPOST_unblock_account
(self, account)
openlibrary/plugins/admin/code.py:358
↓ 1 callersMethodPOST_update_email
(self, account, i)
openlibrary/plugins/admin/code.py:362
↓ 1 callersMethodPOST_update_password
(self, account, i)
openlibrary/plugins/admin/code.py:380
↓ 1 callersMethod__init__
:param str or None filename:
scripts/solr_builder/solr_builder/solr_builder.py:446
↓ 1 callersMethod__init__
(self)
openlibrary/plugins/upstream/forms.py:123
↓ 1 callersMethod__init__
(self, node)
openlibrary/plugins/upstream/jsdef.py:99
↓ 1 callersMethod__init__
(self, html)
openlibrary/plugins/upstream/utils.py:1219
↓ 1 callersMethod__init__
(self, reader: client.Connection, writer: client.Connection)
openlibrary/plugins/openlibrary/connection.py:543
↓ 1 callersMethod__init__
(self, msg="")
openlibrary/plugins/openlibrary/code.py:867
↓ 1 callersMethod__repr__
(self)
openlibrary/api.py:298
↓ 1 callersMethod__repr__
(self)
openlibrary/tests/core/test_unmarshal.py:12
↓ 1 callersMethod__setitem__
(self, key: str, value: Any)
openlibrary/plugins/upstream/utils.py:125
↓ 1 callersMethod__str__
(self)
openlibrary/plugins/upstream/utils.py:574
↓ 1 callersMethod_addScrollResizeListeners
()
openlibrary/components/lit/OlPopover.js:599
↓ 1 callersMethod_add_subelement
Adds a sub element with given tagname and attributes. Ensures all attribute values are xml-safe before setting in the element. Return
openlibrary/plugins/openlibrary/opds.py:120
↓ 1 callersFunction_add_to_cache
(entity: WikidataEntity)
openlibrary/core/wikidata.py:236
↓ 1 callersMethod_animationDurationMs
* The dialog's resolved animation-duration in milliseconds (first value of * the list). Returns 0 when no animation is set (e.g. reduced motion).
openlibrary/components/lit/OlDialog.js:511
↓ 1 callersMethod_attachBlurOnScroll
* On a fullscreen mobile dialog, dismiss the on-screen keyboard as soon as the * user starts scrolling/dragging. The dialog is `100dvh`, which do
openlibrary/components/lit/OlDialog.js:693
↓ 1 callersMethod_buildPortal
()
openlibrary/components/lit/OpenLibraryOTP.js:66
↓ 1 callersMethod_buildReadableCountUrl
(query)
openlibrary/plugins/openlibrary/js/search-modal/SearchModal.js:1747
↓ 1 callersMethod_buildSearchJsonUrl
(query)
openlibrary/plugins/openlibrary/js/search-modal/SearchModal.js:1737
↓ 1 callersMethod_buildSearchUrl
()
openlibrary/plugins/openlibrary/js/search-modal/SearchModal.js:1755
↓ 1 callersFunction_cache_expired
(entity: WikidataEntity)
openlibrary/core/wikidata.py:171
↓ 1 callersMethod_checkIfTruncationNeeded
()
openlibrary/components/lit/OLReadMore.js:170
↓ 1 callersMethod_check_award_conditions
Validates the conditions for adding a bestbook award. This method checks if the provided work ID and topic meet the necessary
openlibrary/core/bestbook.py:152
↓ 1 callersFunction_clean_declaration
Reduce a Custom Elements Manifest declaration to the API the design page renders: public properties, events, slots, CSS custom properties, CSS par
openlibrary/plugins/openlibrary/design.py:25
↓ 1 callersMethod_closeDialog
()
openlibrary/components/lit/OlDialog.js:435
↓ 1 callersFunction_compile_translation
(po, mo)
openlibrary/i18n/__init__.py:62
↓ 1 callersMethod_computePosition
(panelW, panelH)
openlibrary/components/lit/OlTooltip.js:288
↓ 1 callersFunction_create_validation_env
Create a Jinja environment with ``RenderableUndefined`` for structural validation. Mirrors the real environment's settings (autoescape, i18n, etc
openlibrary/tests/core/test_jinja.py:38
↓ 1 callersMethod_do_browse_query
(cls, params: CarouselLoadMoreParams)
openlibrary/plugins/openlibrary/partials.py:191
↓ 1 callersMethod_do_search_query
(cls, params: CarouselLoadMoreParams)
openlibrary/plugins/openlibrary/partials.py:160
↓ 1 callersMethod_do_subjects_query
(cls, params: CarouselLoadMoreParams)
openlibrary/plugins/openlibrary/partials.py:209
↓ 1 callersMethod_do_trends_query
(cls, params: CarouselLoadMoreParams)
openlibrary/plugins/openlibrary/partials.py:205
↓ 1 callersMethod_emit
* @private * Notify listeners of an update * @param {String} newValue
openlibrary/plugins/openlibrary/js/SearchUtils.js:72
↓ 1 callersMethod_ensure_store_entry
(self, sitename, identifier)
openlibrary/plugins/openlibrary/connection.py:205
↓ 1 callersMethod_fetchReadableCount
(query, fetchKey)
openlibrary/plugins/openlibrary/js/search-modal/SearchModal.js:1714
↓ 1 callersMethod_fetchResults
()
openlibrary/plugins/openlibrary/js/search-modal/SearchModal.js:1662
↓ 1 callersFunction_fetch_legacy_preference_keys
Returns a list of preference keys that exist in the `thing` table, but do not exist in the `store` table.
scripts/migrations/write_prefs_to_store.py:91
↓ 1 callersFunction_fetch_preference_keys
Returns a list of all preference keys that contain a `pda` value but are not yet persisted in the store.
scripts/migrations/write_prefs_to_store.py:49
↓ 1 callersMethod_find_edition
(self, sitename, itemid)
openlibrary/plugins/openlibrary/connection.py:166
↓ 1 callersMethod_focusFirstItem
()
openlibrary/components/lit/OlSelectPopover.js:686
↓ 1 callersMethod_focusSelectedOrFirst
()
openlibrary/components/lit/OlOptionsPopover.js:453
↓ 1 callersMethod_generate_key_prefix
(self)
openlibrary/core/cache.py:90
↓ 1 callersMethod_getContentStyle
()
openlibrary/components/lit/OLReadMore.js:207
↓ 1 callersMethod_getFocusableElements
* Get all focusable elements in the pagination * @returns {Array} Array of focusable elements (buttons or anchors)
openlibrary/components/lit/OlPagination.js:220
↓ 1 callersMethod_getFocusableElements
* Returns all focusable elements within the dialog in DOM order: * header → body → footer. Includes the default close button when no * custo
openlibrary/components/lit/OlDialog.js:558
↓ 1 callersMethod_getFocusableElements
()
openlibrary/components/lit/OlPopover.js:474
↓ 1 callersMethod_getLineHeight
(el)
openlibrary/components/lit/OLReadMore.js:163
↓ 1 callersMethod_getPageUrl
* Build URL for a specific page number. * Uses baseUrl if provided, otherwise falls back to the current window location. * This preserves al
openlibrary/components/lit/OlPagination.js:182
↓ 1 callersMethod_getVisiblePages
* Calculate which page numbers to display based on current page and total pages. * Always shows exactly 5 page numbers max, adjusting position ba
openlibrary/components/lit/OlPagination.js:205
↓ 1 callersMethod_get_all_subjects
(self)
openlibrary/core/lists/model.py:248
↓ 1 callersFunction_get_blog_feeds
()
openlibrary/plugins/upstream/utils.py:1364
↓ 1 callersFunction_get_bots
()
openlibrary/plugins/openlibrary/code.py:840
↓ 1 callersFunction_get_changes_v1_raw
Returns the raw versions response. Revision is taken as argument to make sure a new cache entry is used when a new revision of the page is create
openlibrary/plugins/upstream/utils.py:399
↓ 1 callersFunction_get_changes_v2_raw
Returns the raw recentchanges response. Revision is taken as argument to make sure a new cache entry is used when a new revision of the page is c
openlibrary/plugins/upstream/utils.py:432
↓ 1 callersMethod_get_count_by_date_status
(ndays=10)
openlibrary/core/imports.py:321
↓ 1 callersFunction_get_count_docs
Returns the count docs from admin stats database. This function is memoized to avoid accessing the db for every request.
openlibrary/core/admin.py:133
↓ 1 callersMethod_get_current_batch_start_id
(self, **kwargs)
openlibrary/coverstore/archive.py:250
↓ 1 callersFunction_get_db
()
openlibrary/core/db.py:17
↓ 1 callersMethod_get_default_cover_id
(self)
openlibrary/core/lists/model.py:326
↓ 1 callersMethod_get_doc
(self, key, revision)
openlibrary/plugins/upstream/models.py:810
↓ 1 callersFunction_get_from_cache_by_ids
(ids: list[str])
openlibrary/core/wikidata.py:217
↓ 1 callersFunction_get_helpers
()
openlibrary/core/helpers.py:365
↓ 1 callersMethod_get_ia_download_files
Get default download file names for IA items. Assumes standard IA naming convention where files are named {identifier}.pdf a
openlibrary/book_providers.py:396
↓ 1 callersFunction_get_ia_loans_of_user
(userid: str)
openlibrary/core/lending.py:706
↓ 1 callersFunction_get_identifier_config
Returns the identifier config. The results are cached on the first invocation. Any changes to /config/{identifier} page require restarting t
openlibrary/plugins/upstream/utils.py:1185
↓ 1 callersMethod_get_list_if_present
Return items as a list, or None.
scripts/providers/isbndb.py:94
↓ 1 callersMethod_get_lite_metadata
For bulk fetch, some of the ocaids in Open Library may be bad and break archive.org ES fetches. When this happens, we (up to
openlibrary/solr/data_provider.py:108
↓ 1 callersMethod_get_lite_metadata_direct
(ocaid: str)
openlibrary/solr/data_provider.py:151
↓ 1 callersFunction_get_loan_counts_from_graphite
(ndays: int)
openlibrary/core/admin.py:65
↓ 1 callersFunction_get_parser
Creates and returns an ArgumentParser containing default values which were read from the config file.
scripts/gh_scripts/issue_comment_bot.py:411
↓ 1 callersFunction_get_pr_drift
Fetch live drift info + metadata for a PR from GitHub. Returns head_sha, drift, merged plus title/author/assignee so callers can refresh stat
openlibrary/plugins/openlibrary/status.py:465
↓ 1 callersMethod_get_s3
()
openlibrary/coverstore/archive.py:34
↓ 1 callersFunction_get_safepath_re
Make regular expression that matches all unsafe chars.
openlibrary/core/helpers.py:218
↓ 1 callersMethod_get_solr_query_for_subjects
(self)
openlibrary/core/lists/model.py:244
↓ 1 callersMethod_get_uncached_patron_showcase
(self, limit=3)
openlibrary/core/lists/model.py:348
↓ 1 callersFunction_get_user_root
()
openlibrary/plugins/openlibrary/code.py:835
↓ 1 callersFunction_get_visitor_counts_from_graphite
Read the unique visitors (IP addresses) per day for the last ndays from graphite. :param ndays: number of days to read :return: list cont
openlibrary/core/admin.py:102
↓ 1 callersMethod_get_wiki_profiles
Get formatted Wikipedia and Wikidata profile data for rendering. Args: language: The preferred language code (e.g., 'en'
openlibrary/core/wikidata.py:101
↓ 1 callersMethod_goToPage
* Navigate to a specific page * @param {Number} page - The page number to navigate to
openlibrary/components/lit/OlPagination.js:262
↓ 1 callersMethod_handlePageClick
* Handle click on anchor-based page links. * Dispatches the ol-pagination-change event to allow interception. * If the event is cancelled vi
openlibrary/components/lit/OlPagination.js:287
↓ 1 callersMethod_hide
()
openlibrary/components/lit/OlPopover.js:417
↓ 1 callersMethod_init
()
openlibrary/components/BarcodeScanner/utils/classes.js:27
↓ 1 callersMethod_isInsideOpenOverlay
* Walks up from `el` (across shadow boundaries) looking for an open * nested overlay inside this dialog — currently any `<ol-popover>` * wit
openlibrary/components/lit/OlDialog.js:591
↓ 1 callersMethod_load
(self, key, revision=None)
openlibrary/mocks/mock_infobase.py:291
↓ 1 callersMethod_loadAllLanguages
()
openlibrary/plugins/openlibrary/js/search-modal/SearchModal.js:1005
↓ 1 callersMethod_loadVisibleImages
Swap cover `data-lazy` → `src` for the visible range plus a one-page * lookahead. Cards past the first page render with a placeholder src and
openlibrary/components/lit/OlCarousel.js:571
↓ 1 callersFunction_load_fake_context
()
openlibrary/tests/core/test_helpers.py:9
↓ 1 callersMethod_load_fake_context
(self)
openlibrary/tests/core/test_processors_invalidation.py:157
↓ 1 callersMethod_load_fake_context
(self)
openlibrary/tests/core/test_i18n.py:46
↓ 1 callersMethod_load_fake_context
(self)
openlibrary/plugins/openlibrary/tests/test_home.py:39
← previousnext →1,501–1,600 of 6,179, ranked by callers