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
Function
addNodeView
()
openlibrary/components/lit/html-block.js:44
Function
addNotesPageButtonListeners
()
openlibrary/plugins/openlibrary/js/modals/index.js:102
Function
addOpenLibraryButtons
* @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
Function
addStorage
()
openlibrary/components/lit/hard-break.js:17
Function
addStorage
()
openlibrary/components/lit/html-block.js:110
Method
add_author
(self, key, val)
openlibrary/plugins/importapi/import_edition_builder.py:102
Function
add_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
Function
add_fastapi_header
Middleware to add a header indicating the response came from FastAPI.
openlibrary/asgi_app.py:186
Method
add_illustrator
(self, key, val)
openlibrary/plugins/importapi/import_edition_builder.py:111
Function
add_languages
(mock_site)
openlibrary/catalog/add_book/tests/conftest.py:7
Function
add_metatag
(tag: str = "meta", **attrs)
openlibrary/plugins/upstream/utils.py:583
Function
add_name
(match: Match)
scripts/obfi/shownames.py:13
Method
add_non_solr_fields
( self, non_solr_fields: set[str], solr_result: dict, )
openlibrary/plugins/worksearch/schemes/works.py:621
Function
add_read_statuses
(username, works)
openlibrary/plugins/upstream/mybooks.py:603
Method
add_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
Method
add_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
Function
add_web_ctx_to_event
(event: dict, hint: dict)
openlibrary/utils/sentry.py:37
Method
added_date
(self)
openlibrary/plugins/openlibrary/status.py:308
Function
admin_processor
web.py application processor for enabling infogami and verifying admin permissions.
openlibrary/admin/utils.py:9
Function
admin_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
Function
admin_range__covers
Queries the number of covers added between `start` and `end`
openlibrary/admin/numbers.py:142
Function
admin_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
Function
admin_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
Function
admin_total__authors
(**kargs)
openlibrary/admin/numbers.py:189
Function
admin_total__covers
(**kargs)
openlibrary/admin/numbers.py:212
Function
admin_total__editions
(**kargs)
openlibrary/admin/numbers.py:222
Function
admin_total__lists
(**kargs)
openlibrary/admin/numbers.py:194
Function
admin_total__members
(**kargs)
openlibrary/admin/numbers.py:244
Function
admin_total__works
(**kargs)
openlibrary/admin/numbers.py:217
Function
affiliate_links_partial
Get affiliate links HTML for a book.
openlibrary/fastapi/partials.py:55
Method
alias
Shorthand for calling s.apply("alias", name)
openlibrary/plugins/admin/graphs.py:67
Method
all_wikidata_category_urls
(self)
scripts/providers/import_wikisource.py:156
Method
allowDrop
* @param {DragEvent} ev
openlibrary/plugins/openlibrary/js/ile/utils/SelectionManager/SelectionManager.js:288
Method
alternate_names
(self)
openlibrary/solr/updater/author.py:80
Method
alternative_subtitle
Get subtitles from the editions as alternative titles.
openlibrary/solr/updater/work.py:374
Method
alternative_title
Get titles from the editions as alternative titles.
openlibrary/solr/updater/edition.py:160
Method
alternative_title
(self)
openlibrary/solr/updater/work.py:365
Function
amazon_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
Function
anonymize_account
( request: Request, test: Annotated[str, Form()] = "false", digest: Annotated[str, Form()] = "",
openlibrary/fastapi/account.py:353
Method
asFunction
()
openlibrary/components/BarcodeScanner/utils/classes.js:96
Function
as_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
Method
as_fake_solr_record
(self)
openlibrary/plugins/upstream/models.py:447
Method
asquare
Returns async square x.
openlibrary/tests/core/test_cache.py:148
Method
async_f
(x)
openlibrary/tests/core/test_cache.py:217
Method
async_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
Function
async_sleep
(secs, result=None)
openlibrary/conftest.py:78
Method
at_least_one_valid_strong_identifier
(self)
openlibrary/plugins/importapi/import_validator.py:82
Function
audit
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
Method
authenticate
(cls, email, password, test=False)
openlibrary/accounts/model.py:914
Method
author_alternative_name
(self)
openlibrary/solr/updater/work.py:657
Method
author_facet
(self)
openlibrary/solr/updater/work.py:661
Method
author_key
(self)
openlibrary/solr/updater/work.py:649
Method
author_name
(self)
openlibrary/solr/updater/work.py:653
Function
author_works
Get paginated works for an author.
openlibrary/fastapi/internal/api.py:322
Function
authorized_for
Check for membership in any given usergroup before proceeding.
openlibrary/utils/decorators.py:8
Function
autoCompleteIdName
()
openlibrary/plugins/openlibrary/js/add-book.js:166
Function
autocomplete_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
Function
beforeSend
(event)
openlibrary/plugins/openlibrary/js/sentry.js:23
Method
before_new_version
(self, page)
openlibrary/plugins/openlibrary/code.py:138
Method
birth_date
(self)
openlibrary/solr/updater/author.py:84
Method
block
Blocks this account.
openlibrary/accounts/model.py:317
Function
block_ip_processor
(handler)
openlibrary/plugins/admin/code.py:515
Method
blocked
(self)
openlibrary/accounts/model.py:650
Function
book_page_lists_partial
Get book page lists section HTML. At least one of workId or editionId must be provided.
openlibrary/fastapi/partials.py:73
Method
booknotes_counts
(self)
openlibrary/plugins/upstream/mybooks.py:534
Function
booknotes_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
Function
bookreader_host
()
openlibrary/core/helpers.py:303
Function
browse
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
Method
build
(self)
openlibrary/solr/updater/abstract.py:34
Method
build
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
Function
buildSearchUrl
(extractedBook, matchOptions, json = true)
openlibrary/components/BulkSearch/utils/searchUtils.js:12
Method
build_homepage
()
openlibrary/plugins/openlibrary/api.py:720
Function
build_memcache_key
(prefix: str, *args, **kw)
openlibrary/core/cache.py:525
Method
build_q_from_params
(self, params: dict[str, Any])
openlibrary/plugins/worksearch/schemes/works.py:298
Function
build_url
(query_fragment, for_ui=True)
openlibrary/plugins/openlibrary/librarian_dashboard.py:11
Method
bulk_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
Method
bwb_acquisitions
(self)
openlibrary/book_providers.py:654
Method
by_statement
(self)
openlibrary/solr/updater/work.py:407
Method
cache_edition_works
(self, lo_key, hi_key)
scripts/solr_builder/solr_builder/solr_builder.py:145
Function
cached_get_counts_by_mode
(mode: ApiMode = "all", reviewer="", **kwargs)
openlibrary/core/edits.py:321
Function
cached_get_list_book_keys
(key: str, offset: int | None, limit: int | None)
openlibrary/plugins/worksearch/code.py:1120
Method
calc_progress
(cls, books_read, goal)
openlibrary/plugins/upstream/yearly_reading_goals.py:40
Method
can_undo
(self)
openlibrary/plugins/upstream/models.py:807
Method
can_undo
(self)
openlibrary/plugins/upstream/models.py:857
Method
can_undo
(self)
openlibrary/plugins/upstream/models.py:872
Method
can_undo
(self)
openlibrary/plugins/upstream/models.py:887
Function
can_update_key
(key: str)
openlibrary/solr/update.py:51
Method
canonical_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
Function
carousel_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
Function
changeTemplate
()
openlibrary/plugins/openlibrary/js/type_changer.js:8
Function
changequery
(query=None, _path=None, **kw)
openlibrary/plugins/openlibrary/code.py:952
Method
chapter
(self)
openlibrary/solr/updater/edition.py:175
Method
chapter
(self)
openlibrary/solr/updater/work.py:379
Function
check_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
Method
check_if_user_awarded
(self, username)
openlibrary/core/models.py:625
Function
check_status
(locales: list[str])
openlibrary/i18n/__init__.py:248
Function
clear
()
openlibrary/plugins/openlibrary/js/isbnOverride.js:14
Function
clearErrors
()
openlibrary/plugins/openlibrary/js/add-book.js:87
Method
clear_requests
(self)
openlibrary/solr/utils.py:115
Function
client
Alias for backward compatibility with existing tests.
openlibrary/tests/fastapi/test_books.py:10
← previous
next →
3,501–3,600 of 6,179, ranked by callers