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
get_waitinglist_for_book
Returns the list of records for the users waiting for the given book. This is an admin-only feature. It works only if the current user is an admi
openlibrary/core/waitinglist.py:159
↓ 1 callers
Method
get_waitinglist_size
Returns the number of people on waiting list to borrow this book.
openlibrary/core/models.py:344
↓ 1 callers
Method
get_waitinglist_size
(self)
openlibrary/core/waitinglist.py:68
↓ 1 callers
Function
get_web_error
ssh into hosts ol-web1 and ol-web2 and if filename is found in the docker_container openlibrary_web_1 then return its contents.
scripts/get_web_error.py:25
↓ 1 callers
Function
get_wikidata_entity
This only supports QIDs, if we want to support PIDs we need to use different endpoints By default this will only use the cache (unless it is
openlibrary/core/wikidata.py:175
↓ 1 callers
Method
get_work
(self, doc)
openlibrary/plugins/books/dynlinks.py:237
↓ 1 callers
Method
get_work_count
Returns the number of works by this author.
openlibrary/plugins/upstream/models.py:441
↓ 1 callers
Method
get_work_keys
Gets the keys of the works in this list, or of the works of the editions in this list. May return duplicates.
openlibrary/core/lists/model.py:177
↓ 1 callers
Method
get_work_ratings
(self, work_key: str)
openlibrary/solr/data_provider.py:271
↓ 1 callers
Method
get_work_reading_log
(self, work_key: str)
openlibrary/solr/data_provider.py:274
↓ 1 callers
Method
get_works_async
Get works for want-to-read, currently-reading, already-read, and stopped-reading as determined by {key}. See LoggedBooksData
openlibrary/plugins/upstream/mybooks.py:559
↓ 1 callers
Method
get_works_shelves
Bookshelves this work is on
openlibrary/core/bookshelves.py:670
↓ 1 callers
Method
get_worldcat_url
(self)
openlibrary/plugins/upstream/models.py:112
↓ 1 callers
Method
get_zipfile
(self, name)
openlibrary/coverstore/archive.py:423
↓ 1 callers
Method
getall
(self, key)
openlibrary/plugins/upstream/utils.py:137
↓ 1 callers
Method
goToPage
Jump to a specific page (0-indexed).
openlibrary/components/lit/OlCarousel.js:396
↓ 1 callers
Function
graphite_normalize
(name: str)
scripts/monitoring/solr_logs_monitor.py:210
↓ 1 callers
Function
graphite_safe
Normalize a string for safe use as a Graphite metric name.
scripts/monitoring/monitor.py:103
↓ 1 callers
Function
groupby_buffered
( iterable: Iterable[T], key_func: Callable[[T], U], buffer_size: int = 0, )
scripts/monitoring/solr_logs_monitor.py:114
↓ 1 callers
Function
handleRatingSubmission
(event, form)
openlibrary/plugins/openlibrary/js/star-ratings/index.js:14
↓ 1 callers
Function
handleRetry
* Shows loading indicator, hides retry element, and attempts to * fetch data and update the view again. * * @param target {Element}
openlibrary/plugins/openlibrary/js/lazy-carousel.js:98
↓ 1 callers
Method
handle_encoding
(self, query, encoding)
openlibrary/plugins/upstream/recentchanges.py:59
↓ 1 callers
Function
handle_wrapped_lines
Handles wrapped MARC fields, which appear to be multiple fields with the same field number ending with ++ Have not found an official spec
openlibrary/catalog/marc/marc_binary.py:21
↓ 1 callers
Method
has_changes
(self)
openlibrary/solr/utils.py:99
↓ 1 callers
Function
has_doc
(date)
openlibrary/plugins/admin/code.py:548
↓ 1 callers
Method
has_ebook
(self)
openlibrary/plugins/upstream/models.py:647
↓ 1 callers
Function
has_isbn
(rec: dict)
openlibrary/catalog/utils/__init__.py:358
↓ 1 callers
Method
has_permission
Can a book be added?
openlibrary/plugins/upstream/addbook.py:228
↓ 1 callers
Method
has_seed
(self, seed: ThingReferenceDict | SeedSubjectString)
openlibrary/core/lists/model.py:319
↓ 1 callers
Method
has_tag
(self, tag: str)
openlibrary/accounts/model.py:414
↓ 1 callers
Function
hash_subel
* * @param {string} field field from a work object * @param {*} value * @return {string}
openlibrary/components/MergeUI/utils.js:47
↓ 1 callers
Function
header_name_from_env
Convert an env name as stored in web.ctx.env to a "normal" header name >>> header_name_from_env('HTTP_FOO_BAR') 'foo-bar' >>> he
openlibrary/utils/sentry.py:21
↓ 1 callers
Method
hide
Obfuscate an IP address. Each day, trigger a new seed change so the obfuscation map file is renamed.
scripts/obfi/mktable.py:74
↓ 1 callers
Method
hideCheckInDisplay
* Hide the check-in display.
openlibrary/plugins/openlibrary/js/my-books/MyBooksDropper/CheckInComponents.js:315
↓ 1 callers
Method
hideDeleteButton
* Hides this form's delete button.
openlibrary/plugins/openlibrary/js/my-books/MyBooksDropper/CheckInComponents.js:712
↓ 1 callers
Method
hideLoadingIndicator
* Hides the loading indicator and shows all menu options.
openlibrary/plugins/openlibrary/js/bulk-tagger/BulkTagger.js:222
↓ 1 callers
Function
ia_hash
(token_data: str)
openlibrary/plugins/upstream/borrow.py:479
↓ 1 callers
Method
ia_username_exists
(username)
openlibrary/plugins/upstream/account.py:766
↓ 1 callers
Function
import_all
(args, **kwargs)
scripts/manage-imports.py:152
↓ 1 callers
Function
import_batch
(args, **kwargs)
scripts/manage-imports.py:129
↓ 1 callers
Method
import_data
(self, data)
openlibrary/api.py:229
↓ 1 callers
Function
import_item
(args, **kwargs)
scripts/manage-imports.py:142
↓ 1 callers
Method
import_ocaid
(self, ocaid, require_marc=True)
openlibrary/api.py:222
↓ 1 callers
Function
import_ocaids
This method is mostly for testing. It allows you to import one more archive.org items into Open Library by ocaid Usage: $ sudo -u ope
scripts/manage-imports.py:78
↓ 1 callers
Function
import_ocaids
(ocaids: list[str], batch_size=5_000)
scripts/bulk_load_ia_query.py:190
↓ 1 callers
Function
increment_error_count
:param str key: e.g. ol.exceptions or el.internal-errors-segmented
openlibrary/plugins/openlibrary/stats.py:242
↓ 1 callers
Method
ind2
(self)
openlibrary/catalog/marc/marc_xml.py:49
↓ 1 callers
Method
index_name
(self, table, columns)
openlibrary/utils/schema.py:58
↓ 1 callers
Function
index_subjects
:return: Returns number of rows added
scripts/solr_builder/solr_builder/index_subjects.py:37
↓ 1 callers
Function
init
()
openlibrary/plugins/openlibrary/js/ol.js:12
↓ 1 callers
Method
init
(self, parser, opts, args)
scripts/affiliate_server.py:711
↓ 1 callers
Method
init
(self)
openlibrary/utils/sentry.py:69
↓ 1 callers
Method
init
()
openlibrary/plugins/openlibrary/js/ile/index.js:37
↓ 1 callers
Method
init
()
openlibrary/plugins/openlibrary/js/carousel/Carousel.js:73
↓ 1 callers
Function
initAnalytics
()
openlibrary/plugins/openlibrary/js/ol.analytics.js:33
↓ 1 callers
Function
initAsyncFollowing
(followForms)
openlibrary/plugins/openlibrary/js/following.js:3
↓ 1 callers
Function
initBorrowAndReadLinks
()
openlibrary/plugins/openlibrary/js/ol.js:24
↓ 1 callers
Function
initClassificationValidation
()
openlibrary/plugins/openlibrary/js/edit.js:236
↓ 1 callers
Function
initConfirmationDialogs
* Wires up confirmation prompts. * In future this will be generalised. * @return {Function} for creating a confirm dialog
openlibrary/plugins/openlibrary/js/dialog.js:10
↓ 1 callers
Function
initDialogClosers
(closers)
openlibrary/plugins/openlibrary/js/dialog.js:108
↓ 1 callers
Function
initDialogs
(elems)
openlibrary/plugins/openlibrary/js/native-dialog/index.js:9
↓ 1 callers
Function
initDroppers
(dropperElements)
openlibrary/plugins/openlibrary/js/dropper/index.js:14
↓ 1 callers
Method
initFilters
* Initialize events for merge queue filter dropdown menu functionality. *
openlibrary/plugins/openlibrary/js/merge-request-table/MergeRequestTable/TableHeader.js:124
↓ 1 callers
Function
initGenericDroppers
(dropperElements)
openlibrary/plugins/openlibrary/js/dropper/index.js:59
↓ 1 callers
Function
initHomepageGraphs
()
openlibrary/plugins/openlibrary/js/graphs/index.js:16
↓ 1 callers
Method
initLoadingAnimation
* Creates loading animation for list loading indicator. * * @param {HTMLElement} loadingIndicator * @returns {NodeJS.Timer}
openlibrary/plugins/openlibrary/js/my-books/MyBooksDropper.js:106
↓ 1 callers
Function
initPreviewDialogs
()
openlibrary/plugins/openlibrary/js/dialog.js:52
↓ 1 callers
Function
initPrivateButtonsAfterLoad
* Initialize private buttons after the lists section has been loaded * @param {HTMLElement} container - The container that now has the loaded content
openlibrary/plugins/openlibrary/js/book-page-lists.js:67
↓ 1 callers
Function
initPublishersGraph
()
openlibrary/plugins/openlibrary/js/graphs/index.js:24
↓ 1 callers
Function
initRejectButton
()
openlibrary/plugins/openlibrary/js/merge.js:45
↓ 1 callers
Function
initSearchModal
(trigger)
openlibrary/plugins/openlibrary/js/search-modal/SearchModal.js:1800
↓ 1 callers
Function
initSentry
()
openlibrary/plugins/openlibrary/js/sentry.js:3
↓ 1 callers
Function
initServiceWorker
()
openlibrary/plugins/openlibrary/js/service-worker-init.js:1
↓ 1 callers
Function
initWebsiteTranslationOptions
()
openlibrary/plugins/openlibrary/js/ol.js:42
↓ 1 callers
Method
initialize
* Attaches click listener to the "Create List" button.
openlibrary/plugins/openlibrary/js/my-books/CreateListForm.js:60
↓ 1 callers
Method
initialize
* Hydrates dropper contents and loads patron's lists.
openlibrary/plugins/openlibrary/js/my-books/MyBooksDropper.js:88
↓ 1 callers
Method
initialize
()
openlibrary/plugins/openlibrary/js/my-books/MyBooksDropper/CheckInComponents.js:89
↓ 1 callers
Method
initialize
* Hydrates the librarian request table.
openlibrary/plugins/openlibrary/js/merge-request-table/MergeRequestTable.js:56
↓ 1 callers
Method
initialize
* Adds the necessary event handlers to the navbar.
openlibrary/plugins/openlibrary/js/edition-nav-bar/EditionNavBar.js:54
↓ 1 callers
Function
initialzeCarousels
(elems)
openlibrary/plugins/openlibrary/js/carousel/index.js:3
↓ 1 callers
Method
invalidate_author
(self, site, old)
openlibrary/plugins/ol_infobase.py:411
↓ 1 callers
Method
invalidate_default
(self, site, old)
openlibrary/plugins/ol_infobase.py:435
↓ 1 callers
Method
invalidate_edition
(self, site, old)
openlibrary/plugins/ol_infobase.py:414
↓ 1 callers
Method
invalidate_work
(self, site, old)
openlibrary/plugins/ol_infobase.py:421
↓ 1 callers
Function
isEmptyId
(event, idValue)
openlibrary/plugins/openlibrary/js/add-book.js:116
↓ 1 callers
Function
isIdDupe
(idEntries, newId)
openlibrary/plugins/openlibrary/js/idValidation.js:145
↓ 1 callers
Function
isLeapYear
* Determines if the given year is a leap year. * * @param {Number} year * @returns `true` if the given year is a leap year.
openlibrary/plugins/openlibrary/js/my-books/MyBooksDropper/CheckInComponents.js:23
↓ 1 callers
Function
isOutOfBounds
* Determines if a click event is outside of the given dialog's bounds * * @param {MouseEvent} event A `click` event * @param {HTMLDialogElement} di
openlibrary/plugins/openlibrary/js/native-dialog/index.js:36
↓ 1 callers
Method
isShowcaseForListAndSeed
* Determines if this showcase item is linked to the given keys. * * @param {string} listKey * @param {string} seedKey * @return {b
openlibrary/plugins/openlibrary/js/lists/ShowcaseItem.js:188
↓ 1 callers
Function
isValidOclc
(oclc)
openlibrary/plugins/openlibrary/js/idValidation.js:130
↓ 1 callers
Function
isValidURL
* Assesses URL validity using built-in URL object. * @param string url
openlibrary/plugins/openlibrary/js/edit.js:547
↓ 1 callers
Method
is_access_restricted
(self)
openlibrary/core/models.py:321
↓ 1 callers
Function
is_account_active
Returns `True` if there is a store entry associated with `store_key`.
scripts/migrations/anonymous_store_remediation.py:55
↓ 1 callers
Method
is_admin
(self)
openlibrary/core/models.py:964
↓ 1 callers
Method
is_affected_account
(cls, email: str)
openlibrary/plugins/upstream/account.py:1590
↓ 1 callers
Function
is_allowed_cover_url
(url: str)
openlibrary/coverstore/utils.py:38
↓ 1 callers
Function
is_allowed_itemid
(identifier: str)
scripts/solr_updater/solr_updater.py:217
↓ 1 callers
Function
is_asin_only
Returns True if the rec has only an ASIN and no ISBN, and False otherwise.
openlibrary/catalog/utils/__init__.py:393
↓ 1 callers
Function
is_book_needed
Should an OL edition's metadata be updated with Amazon book data? :param book: dict from openlibrary.core.vendors.clean_amazon_metadata_for_
scripts/affiliate_server.py:350
↓ 1 callers
Method
is_cors_path
(self)
openlibrary/plugins/openlibrary/processors.py:64
← previous
next →
2,201–2,300 of 6,179, ranked by callers