MCPcopy Create free account

hub / github.com/internetarchive/openlibrary / functions

Functions6,179 in github.com/internetarchive/openlibrary

FunctionaddNodeView
()
openlibrary/components/lit/html-block.js:44
FunctionaddNotesPageButtonListeners
()
openlibrary/plugins/openlibrary/js/modals/index.js:102
FunctionaddOpenLibraryButtons
* @param {object} options * @param {string} options.bookContainer class name of the HTML element associated with a book. We will try to find a book i
openlibrary/plugins/openlibrary/js/partner_ol_lib.js:50
FunctionaddStorage
()
openlibrary/components/lit/hard-break.js:17
FunctionaddStorage
()
openlibrary/components/lit/html-block.js:110
Methodadd_author
(self, key, val)
openlibrary/plugins/importapi/import_edition_builder.py:102
Functionadd_entry
Adds a new entry to the stats table. If an entry is already present in the table, a warn message is logged and no changes will be made to the
openlibrary/core/statsdb.py:25
Functionadd_fastapi_header
Middleware to add a header indicating the response came from FastAPI.
openlibrary/asgi_app.py:186
Methodadd_illustrator
(self, key, val)
openlibrary/plugins/importapi/import_edition_builder.py:111
Functionadd_languages
(mock_site)
openlibrary/catalog/add_book/tests/conftest.py:7
Functionadd_metatag
(tag: str = "meta", **attrs)
openlibrary/plugins/upstream/utils.py:583
Functionadd_name
(match: Match)
scripts/obfi/shownames.py:13
Methodadd_non_solr_fields
( self, non_solr_fields: set[str], solr_result: dict, )
openlibrary/plugins/worksearch/schemes/works.py:621
Functionadd_read_statuses
(username, works)
openlibrary/plugins/upstream/mybooks.py:603
Methodadd_reading_log_data
Adds data from ReadingLogItem to the Solr responses so they have the logged date and edition ID.
openlibrary/core/bookshelves.py:385
Methodadd_user
Administrative utility (designed to be used in conjunction with accounts.RunAs) to add a patron to a usergroup :param str userkey: e.
openlibrary/core/models.py:1150
Functionadd_web_ctx_to_event
(event: dict, hint: dict)
openlibrary/utils/sentry.py:37
Methodadded_date
(self)
openlibrary/plugins/openlibrary/status.py:308
Functionadmin_processor
web.py application processor for enabling infogami and verifying admin permissions.
openlibrary/admin/utils.py:9
Functionadmin_range__bot_edits
Calculates the number of edit actions performed by bots between the `start` and `end` dates. `thingdb` is the database.
openlibrary/admin/numbers.py:125
Functionadmin_range__covers
Queries the number of covers added between `start` and `end`
openlibrary/admin/numbers.py:142
Functionadmin_range__human_edits
Calculates the number of edit actions performed by humans between the given `start` and `end` dates. `thingdb` is the database.
openlibrary/admin/numbers.py:108
Functionadmin_range__loans
Finds the number of loans on a given day. Loan info is written to the `stats` table. Such entries will have type `loan`. As of writing, _on
openlibrary/admin/numbers.py:169
Functionadmin_total__authors
(**kargs)
openlibrary/admin/numbers.py:189
Functionadmin_total__covers
(**kargs)
openlibrary/admin/numbers.py:212
Functionadmin_total__editions
(**kargs)
openlibrary/admin/numbers.py:222
Functionadmin_total__lists
(**kargs)
openlibrary/admin/numbers.py:194
Functionadmin_total__members
(**kargs)
openlibrary/admin/numbers.py:244
Functionadmin_total__works
(**kargs)
openlibrary/admin/numbers.py:217
Functionaffiliate_links_partial
Get affiliate links HTML for a book.
openlibrary/fastapi/partials.py:55
Methodalias
Shorthand for calling s.apply("alias", name)
openlibrary/plugins/admin/graphs.py:67
Methodall_wikidata_category_urls
(self)
scripts/providers/import_wikisource.py:156
MethodallowDrop
* @param {DragEvent} ev
openlibrary/plugins/openlibrary/js/ile/utils/SelectionManager/SelectionManager.js:288
Methodalternate_names
(self)
openlibrary/solr/updater/author.py:80
Methodalternative_subtitle
Get subtitles from the editions as alternative titles.
openlibrary/solr/updater/work.py:374
Methodalternative_title
Get titles from the editions as alternative titles.
openlibrary/solr/updater/edition.py:160
Methodalternative_title
(self)
openlibrary/solr/updater/work.py:365
Functionamazon_lookup
A separate thread of execution that uses the time up to API_MAX_WAIT_SECONDS to create a list of isbn_10s that is not larger than API_MAX_ITE
scripts/affiliate_server.py:466
Functionanonymize_account
( request: Request, test: Annotated[str, Form()] = "false", digest: Annotated[str, Form()] = "",
openlibrary/fastapi/account.py:353
MethodasFunction
()
openlibrary/components/BarcodeScanner/utils/classes.js:96
Functionas_admin
Infobase allows some requests only from admin user. This decorator logs in as admin, executes the function and clears the admin credentials.
openlibrary/plugins/upstream/account.py:1488
Methodas_fake_solr_record
(self)
openlibrary/plugins/upstream/models.py:447
Methodasquare
Returns async square x.
openlibrary/tests/core/test_cache.py:148
Methodasync_f
(x)
openlibrary/tests/core/test_cache.py:217
Methodasync_func
The memoized async function. If this is the first call with these arguments, function :attr:`f` is called and the return value is cac
openlibrary/core/cache.py:449
Functionasync_sleep
(secs, result=None)
openlibrary/conftest.py:78
Methodat_least_one_valid_strong_identifier
(self)
openlibrary/plugins/importapi/import_validator.py:82
Functionaudit
Check which cover batches have been uploaded to archive.org. Checks the archive.org items pertaining to this `item_id` of up to 1 million ima
openlibrary/coverstore/archive.py:377
Methodauthenticate
(cls, email, password, test=False)
openlibrary/accounts/model.py:914
Methodauthor_alternative_name
(self)
openlibrary/solr/updater/work.py:657
Methodauthor_facet
(self)
openlibrary/solr/updater/work.py:661
Methodauthor_key
(self)
openlibrary/solr/updater/work.py:649
Methodauthor_name
(self)
openlibrary/solr/updater/work.py:653
Functionauthor_works
Get paginated works for an author.
openlibrary/fastapi/internal/api.py:322
Functionauthorized_for
Check for membership in any given usergroup before proceeding.
openlibrary/utils/decorators.py:8
FunctionautoCompleteIdName
()
openlibrary/plugins/openlibrary/js/add-book.js:166
Functionautocomplete_languages
Given, e.g., "English", this returns an iterator of the following, sorted so that names starting with the prefix appear first (alphabetically
openlibrary/plugins/upstream/utils.py:693
FunctionbeforeSend
(event)
openlibrary/plugins/openlibrary/js/sentry.js:23
Methodbefore_new_version
(self, page)
openlibrary/plugins/openlibrary/code.py:138
Methodbirth_date
(self)
openlibrary/solr/updater/author.py:84
Methodblock
Blocks this account.
openlibrary/accounts/model.py:317
Functionblock_ip_processor
(handler)
openlibrary/plugins/admin/code.py:515
Methodblocked
(self)
openlibrary/accounts/model.py:650
Functionbook_page_lists_partial
Get book page lists section HTML. At least one of workId or editionId must be provided.
openlibrary/fastapi/partials.py:73
Methodbooknotes_counts
(self)
openlibrary/plugins/upstream/mybooks.py:534
Functionbooknotes_post
Add or remove a note for a work (and optionally a specific edition). - If `notes` is provided: create or update the note. - If `notes` i
openlibrary/fastapi/internal/api.py:243
Functionbookreader_host
()
openlibrary/core/helpers.py:303
Functionbrowse
Dynamically fetches the next page of books and checks if they are available to be borrowed from the Internet Archive without having to re
openlibrary/fastapi/internal/api.py:181
Methodbuild
(self)
openlibrary/solr/updater/abstract.py:34
Methodbuild
Build the solr document for the given edition to store as a nested document Completely override parent class method to handl
openlibrary/solr/updater/edition.py:354
FunctionbuildSearchUrl
(extractedBook, matchOptions, json = true)
openlibrary/components/BulkSearch/utils/searchUtils.js:12
Methodbuild_homepage
()
openlibrary/plugins/openlibrary/api.py:720
Functionbuild_memcache_key
(prefix: str, *args, **kw)
openlibrary/core/cache.py:525
Methodbuild_q_from_params
(self, params: dict[str, Any])
openlibrary/plugins/worksearch/schemes/works.py:298
Functionbuild_url
(query_fragment, for_ui=True)
openlibrary/plugins/openlibrary/librarian_dashboard.py:11
Methodbulk_mark_pending
Given a list of ISBNs, creates list of `ia_ids` and queries the import_item table the `ia_ids`. Generated `ia_ids` have the
openlibrary/core/imports.py:223
Methodbwb_acquisitions
(self)
openlibrary/book_providers.py:654
Methodby_statement
(self)
openlibrary/solr/updater/work.py:407
Methodcache_edition_works
(self, lo_key, hi_key)
scripts/solr_builder/solr_builder/solr_builder.py:145
Functioncached_get_counts_by_mode
(mode: ApiMode = "all", reviewer="", **kwargs)
openlibrary/core/edits.py:321
Functioncached_get_list_book_keys
(key: str, offset: int | None, limit: int | None)
openlibrary/plugins/worksearch/code.py:1120
Methodcalc_progress
(cls, books_read, goal)
openlibrary/plugins/upstream/yearly_reading_goals.py:40
Methodcan_undo
(self)
openlibrary/plugins/upstream/models.py:807
Methodcan_undo
(self)
openlibrary/plugins/upstream/models.py:857
Methodcan_undo
(self)
openlibrary/plugins/upstream/models.py:872
Methodcan_undo
(self)
openlibrary/plugins/upstream/models.py:887
Functioncan_update_key
(key: str)
openlibrary/solr/update.py:51
Methodcanonical_url
Returns the https:// version of the URL. Used for adding <meta rel="canonical" ..> tag in all web pages. Required to make OL retain t
openlibrary/plugins/upstream/utils.py:1451
Functioncarousel_load_more_partial
Get additional carousel card HTML for paginated carousels. Parameters (query string) are defined by CarouselLoadMoreParams: queryType (S
openlibrary/fastapi/partials.py:144
FunctionchangeTemplate
()
openlibrary/plugins/openlibrary/js/type_changer.js:8
Functionchangequery
(query=None, _path=None, **kw)
openlibrary/plugins/openlibrary/code.py:952
Methodchapter
(self)
openlibrary/solr/updater/edition.py:175
Methodchapter
(self)
openlibrary/solr/updater/work.py:379
Functioncheck_authentication
Check endpoint to verify authentication is working correctly. This endpoint reads the session cookie, decodes it, and returns information
openlibrary/fastapi/account.py:92
Methodcheck_if_user_awarded
(self, username)
openlibrary/core/models.py:625
Functioncheck_status
(locales: list[str])
openlibrary/i18n/__init__.py:248
Functionclear
()
openlibrary/plugins/openlibrary/js/isbnOverride.js:14
FunctionclearErrors
()
openlibrary/plugins/openlibrary/js/add-book.js:87
Methodclear_requests
(self)
openlibrary/solr/utils.py:115
Functionclient
Alias for backward compatibility with existing tests.
openlibrary/tests/fastapi/test_books.py:10
← previousnext →3,501–3,600 of 6,179, ranked by callers