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
Method
number_of_pages_median
(self)
openlibrary/solr/updater/work.py:426
Method
oclc
(self)
openlibrary/solr/updater/edition.py:277
Method
oclc
(self)
openlibrary/solr/updater/work.py:451
Method
olid_to_key
Series records live under /series/ but OLIDs ending with 'L' normally map to /lists/ via olid_to_key. Override to use the cor
openlibrary/plugins/worksearch/autocomplete.py:151
Function
onAdd
* triggered when "add link" button is clicked on author edit field. * Creates a removable `repeat-item`. * @param {jQuery.Event} eve
openlibrary/plugins/openlibrary/js/jquery.repeat.js:63
Function
onCleanup
()
openlibrary/plugins/openlibrary/js/dialog.js:72
Method
onDisabledClick
* Redirects to login page when disabled dropper is clicked. * * My Books droppers are disabled for unauthenticated patrons. * * @o
openlibrary/plugins/openlibrary/js/my-books/MyBooksDropper.js:213
Method
onDone
()
openlibrary/components/lit/OlPopover.js:763
Method
onDrop
* @param {DragEvent} ev
openlibrary/plugins/openlibrary/js/ile/utils/SelectionManager/SelectionManager.js:277
Method
onISBNDetected
@param {(isbn: string) => void} callback
openlibrary/components/BarcodeScanner/utils/classes.js:18
Function
onNo
()
openlibrary/plugins/openlibrary/js/edit.js:110
Function
onOpen
()
openlibrary/plugins/openlibrary/js/dialog.js:65
Method
onOpen
* Updates store with reference to the opened dropper. * * @override
openlibrary/plugins/openlibrary/js/my-books/MyBooksDropper.js:202
Function
onRemove
(event)
openlibrary/plugins/openlibrary/js/jquery.repeat.js:103
Method
onSearchInputChange
* Performs a subject search for the given search term, and updates * the Bulk Tagger with the results. * * If the given search term, wh
openlibrary/plugins/openlibrary/js/bulk-tagger/BulkTagger.js:395
Function
onYearlyGoalClick
* Finds and shows the yearly goal modal.
openlibrary/plugins/openlibrary/js/reading-goals/index.js:20
Function
onYes
()
openlibrary/plugins/openlibrary/js/edit.js:107
Function
on_loan_completed_statsdb
Marks the loan as completed in the stats database.
openlibrary/plugins/openlibrary/borrow_home.py:29
Function
on_loan_created_statsdb
Adds the loan info to the stats database.
openlibrary/plugins/openlibrary/borrow_home.py:13
Method
on_new_version
(self, doc)
openlibrary/core/processors/invalidation.py:165
Method
on_new_version
(self, page)
openlibrary/plugins/upstream/code.py:224
Method
on_new_version
Fires page.edit event using msg broker.
openlibrary/plugins/openlibrary/events.py:20
Function
on_page_edit
(page)
openlibrary/plugins/openlibrary/events.py:13
Function
on_waitinglist_update
Triggered when a waiting list is updated.
openlibrary/core/waitinglist.py:213
Function
ondrop
(data)
openlibrary/plugins/openlibrary/js/ile/utils/SelectionManager/SelectionManager.js:341
Function
optional_auth_endpoint
Example of an endpoint with optional authentication. This endpoint works for both authenticated and unauthenticated users, returning dif
openlibrary/fastapi/account.py:168
Method
osp_count
(self)
openlibrary/solr/updater/work.py:399
Method
page
Current page (0-indexed). Meaningful after `firstUpdated`/`updateComplete`.
openlibrary/components/lit/OlCarousel.js:376
Function
page_load_hook
()
openlibrary/plugins/openlibrary/stats.py:231
Function
page_unload_hook
()
openlibrary/plugins/openlibrary/stats.py:237
Function
parse
(root)
openlibrary/plugins/importapi/import_rdf.py:74
Function
parse
(root)
openlibrary/plugins/importapi/import_opds.py:58
Function
parseAndValidateId
(event)
openlibrary/plugins/openlibrary/js/add-book.js:95
Function
parseHTML
()
openlibrary/components/lit/html-block.js:35
Function
parse_author
(e, key)
openlibrary/plugins/importapi/import_opds.py:12
Function
parse_authors
(e, key)
openlibrary/plugins/importapi/import_rdf.py:12
Function
parse_category
(e, key)
openlibrary/plugins/importapi/import_rdf.py:34
Function
parse_category
(e, key)
openlibrary/plugins/importapi/import_opds.py:17
Function
parse_data_table
Parses the dump of data table and returns an iterator with <key, type, revision, json> for all entries.
openlibrary/data/__init__.py:8
Function
parse_daterange
Parses date range. >>> parse_daterange("2010-02") (datetime.date(2010, 2, 1), datetime.date(2010, 3, 1))
openlibrary/utils/dateutil.py:63
Function
parse_identifier
(e, key)
openlibrary/plugins/importapi/import_rdf.py:38
Function
parse_identifier
(e, key)
openlibrary/plugins/importapi/import_opds.py:21
Method
parse_q_string
(cls, v: str)
openlibrary/fastapi/search.py:102
Method
parse_query_json
(v: str)
openlibrary/fastapi/search.py:123
Function
parse_string
(e, key)
openlibrary/plugins/importapi/import_rdf.py:8
Function
parse_string
(e, key)
openlibrary/plugins/importapi/import_opds.py:8
Function
parse_subject
(e, key)
openlibrary/plugins/importapi/import_rdf.py:20
Function
patched_site
()
openlibrary/tests/fastapi/test_work_editions_author_works.py:30
Function
patrons_observations
()
openlibrary/fastapi/internal/api.py:411
Method
pd_authority
Return patron's requested Print Disability Authority
openlibrary/accounts/model.py:689
Method
pd_status
(self)
openlibrary/accounts/model.py:694
Function
percentage
Computes percentage. >>> percentage(1, 10) 10.0 >>> percentage(0, 0) 0.0
openlibrary/core/helpers.py:271
Function
plot_minigraph
(node, data)
openlibrary/plugins/openlibrary/js/graphs/plot.js:150
Function
pollUntilTruthy
(fn, { timeout = 1000, step = 100 } = {})
openlibrary/components/LibraryExplorer/utils.js:92
Function
post_bestbook_award
Store, update, or remove a bestbook award for a work.
openlibrary/fastapi/internal/api.py:448
Function
post_book_availability
( id_type: Annotated[AvailabilityIDType, Query(alias="type")], request: AvailabilityRequest, )
openlibrary/fastapi/internal/api.py:114
Function
post_patron_follows
( username: Annotated[str, Path(pattern=r"^[^/]+$")], user: Annotated[AuthenticatedUser | None, Depend
openlibrary/fastapi/internal/api.py:395
Function
post_ratings
Register or remove a rating for a work. If rating is None, the existing rating is removed. If rating is provided, it must be in the valid ran
openlibrary/fastapi/internal/api.py:212
Function
post_work_bookshelves
Add a work to, move a work between, or remove a work from a reading-log shelf.
openlibrary/fastapi/internal/api.py:279
Method
prefetch
Prefetch all the anticipated data.
openlibrary/core/models.py:164
Method
preload_cover_dimensions
(self)
scripts/solr_builder/solr_builder/solr_builder.py:299
Method
preload_keys
(self, keys: Iterable[str])
openlibrary/solr/updater/abstract.py:23
Function
price_api
Returns pricing metadata from Amazon and BetterWorldBooks for a given book. Requires either an `isbn` or `asin` query parameter.
openlibrary/fastapi/internal/api.py:358
Function
print_job_listener
(prefix: str, event: JobEvent)
scripts/utils/scheduler.py:113
Function
print_line
(f)
scripts/lc_marc_update.py:80
Function
print_stderr
(stderr)
scripts/solr_updater/trending_updater_hourly.py:91
Method
printdisabled_s
(self)
openlibrary/solr/updater/work.py:561
Method
process
(r)
openlibrary/coverstore/code.py:457
Method
process
Converts entries in version dict into objects.
openlibrary/core/models.py:120
Method
process
(value)
openlibrary/plugins/upstream/code.py:307
Method
process
(name, value)
openlibrary/plugins/upstream/models.py:210
Method
process
(name, value)
openlibrary/plugins/upstream/models.py:702
Method
process
(p)
openlibrary/plugins/worksearch/languages.py:96
Method
process_all
()
openlibrary/core/lists/model.py:276
Method
process_individual_sort
(sort: str)
openlibrary/plugins/worksearch/schemes/__init__.py:71
Function
process_json
(key, json_str)
openlibrary/plugins/ol_infobase.py:518
Method
process_new_list
(user_arg, data_arg, site_arg)
openlibrary/tests/fastapi/test_lists_json.py:117
Method
process_subject
(facet_name, title, count)
openlibrary/core/lists/model.py:270
Method
process_value
(v)
openlibrary/core/waitinglist.py:94
Function
process_version
Looks at the version and adds machine_comment required for showing "View MARC" link.
openlibrary/plugins/upstream/utils.py:537
Function
protected_endpoint
Example of a protected endpoint that requires authentication. This endpoint will return 401 Unauthorized if the user is not authenticated.
openlibrary/fastapi/account.py:146
Function
protected_route
(user: Annotated[AuthenticatedUser, Depends(require_authenticated_user)])
openlibrary/tests/fastapi/test_auth.py:99
Method
provider_name
(self)
openlibrary/book_providers.py:181
Method
provider_name
(self)
openlibrary/book_providers.py:289
Method
prune_expired
Deletes the expired loans from database and returns WaitingLoan objects for each deleted row. If book_key is specified, it deletes on
openlibrary/core/waitinglist.py:139
Function
public_observations
Public observations fetches anonymized community reviews for a list of works. Useful for decorating search results.
openlibrary/fastapi/internal/api.py:419
Method
public_scan_b
(self)
openlibrary/solr/updater/edition.py:351
Method
public_scan_b
(self)
openlibrary/solr/updater/work.py:522
Method
publish_date
(self)
openlibrary/solr/updater/edition.py:281
Method
publish_date
(self)
openlibrary/solr/updater/work.py:411
Method
publish_place
(self)
openlibrary/solr/updater/work.py:447
Method
publish_year
(self)
openlibrary/solr/updater/edition.py:285
Method
publish_year
(self)
openlibrary/solr/updater/work.py:415
Method
publisher
(self)
openlibrary/solr/updater/edition.py:233
Method
publisher
(self)
openlibrary/solr/updater/work.py:615
Function
publisher_json
( key: Annotated[str, Path()], params: Annotated[BaseSubjectRequestParams, Depends()], )
openlibrary/fastapi/publishers.py:16
Method
pull_id
(self)
openlibrary/plugins/openlibrary/status.py:265
Function
put
Records this ``value`` with the given ``key``. It is stored as a millisecond count
openlibrary/core/stats.py:39
Method
put_many
(self, docs)
openlibrary/mocks/mock_infobase.py:375
Function
putctx
Save a value in the context.
openlibrary/plugins/upstream/utils.py:563
← previous
next →
4,501–4,600 of 6,179, ranked by callers