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
↓ 3 callers
Method
_show
()
openlibrary/components/lit/OlTooltip.js:251
↓ 3 callers
Method
_test_list_owner
(self, user_key)
openlibrary/tests/core/lists/test_model.py:14
↓ 3 callers
Method
_things_query
(self, limit, offset)
openlibrary/tests/fastapi/test_work_editions_author_works.py:41
↓ 3 callers
Method
_things_query
(self, limit, offset)
openlibrary/tests/fastapi/test_work_editions_author_works.py:162
↓ 3 callers
Method
_toasts
@returns {Array<import('./OlToast.js').OlToast>} open toasts, oldest first
openlibrary/components/lit/OlToastRegion.js:87
↓ 3 callers
Function
_unescape_html_entities
Unescape HTML entities in s, but only when a numeric/hex entity is present. The guard (_HTML_NUMERIC_ENTITY_RE) fires on decimal (У) and he
openlibrary/catalog/add_book/__init__.py:101
↓ 3 callers
Method
activate
(self)
openlibrary/accounts/model.py:314
↓ 3 callers
Method
activate_account
(self, username)
openlibrary/mocks/mock_infobase.py:320
↓ 3 callers
Method
add
(self, key: str, key2: str | None = None)
openlibrary/core/ia.py:288
↓ 3 callers
Function
addClickListeners
* Add on click listeners to a collection of modal links. * * When any of the links are clicked, it's corresponding modal * will be displayed. * *
openlibrary/plugins/openlibrary/js/modals/index.js:222
↓ 3 callers
Method
addSelectedItem
(item)
openlibrary/plugins/openlibrary/js/ile/utils/SelectionManager/SelectionManager.js:218
↓ 3 callers
Method
add_authors
(self, authors: list[Author])
scripts/providers/import_wikisource.py:280
↓ 3 callers
Method
add_indirect_acq
(self, parent, type)
openlibrary/plugins/openlibrary/opds.py:138
↓ 3 callers
Method
add_list
(self, key, val)
openlibrary/plugins/importapi/import_edition_builder.py:96
↓ 3 callers
Method
add_seed
Adds a new seed to this list.
openlibrary/core/lists/model.py:119
↓ 3 callers
Method
add_table
(self, name, *columns, **options)
openlibrary/utils/schema.py:246
↓ 3 callers
Method
add_three_existing_authors
(self, mock_site)
openlibrary/catalog/add_book/tests/test_load_book.py:82
↓ 3 callers
Method
anonymize
(self, test=False)
openlibrary/accounts/model.py:436
↓ 3 callers
Function
applyDateFilter
(yearFrom, yearTo, hideSelector='.chartUnzoom', showSelector='.chartZoom')
openlibrary/plugins/openlibrary/js/graphs/plot.js:123
↓ 3 callers
Function
availabilityFromParams
(get)
openlibrary/plugins/openlibrary/js/search-modal/constants.js:153
↓ 3 callers
Function
betterworldbooks_fmt
Defines a standard interface for returning bwb price info :param str qlt: Quality of the book, e.g. "new", "used" :param str price: Price of
openlibrary/core/vendors.py:870
↓ 3 callers
Method
block
(self, ip)
openlibrary/plugins/admin/code.py:458
↓ 3 callers
Method
build_legacy_ia_fields
(self)
openlibrary/solr/updater/work.py:626
↓ 3 callers
Method
build_subjects
(self)
openlibrary/solr/updater/list.py:84
↓ 3 callers
Method
capture_exception
()
openlibrary/utils/sentry.py:82
↓ 3 callers
Method
check_rate
Returns True if access rate for the current IP address is less than the allowed limit.
openlibrary/utils/processors.py:37
↓ 3 callers
Method
clear_cache
(self)
scripts/solr_builder/solr_builder/solr_builder.py:316
↓ 3 callers
Method
close
* Close the toast: fire ol-toast-close, run the exit transition, and * remove the element from the DOM. * @param {String} reason - "timeout"
openlibrary/components/lit/OlToast.js:414
↓ 3 callers
Function
closeDropper
* close an open dropdown in a given container * @param {jQuery.Object} $container
openlibrary/plugins/openlibrary/js/dropper/index.js:43
↓ 3 callers
Function
compare_authors
Compares the authors of two edition representations and returns a evaluation and score. :param dict e1: Expanded Edition, output of expa
openlibrary/catalog/add_book/match.py:303
↓ 3 callers
Function
convert_iso_to_marc
e.g. 'en' -> 'eng'
openlibrary/plugins/upstream/utils.py:1168
↓ 3 callers
Method
count_total_books_logged_by_user_per_shelf
Returns a dict mapping the specified user's bookshelves_ids to the number of number of books logged per each shelf, i.e. {bookshelf_id:
openlibrary/core/bookshelves.py:204
↓ 3 callers
Method
create_comment
Creates and returns a new comment with the given name and message. Timestamp set as current time.
openlibrary/core/edits.py:307
↓ 3 callers
Method
create_list
(self, data)
openlibrary/plugins/openlibrary/tests/test_listapi.py:35
↓ 3 callers
Method
create_text_element
(self, parent, name, value)
openlibrary/plugins/openlibrary/opds.py:53
↓ 3 callers
Function
daterange
(startdate: datetime, *slice)
openlibrary/plugins/admin/code.py:522
↓ 3 callers
Function
declineRequest
(mrid, comment)
openlibrary/plugins/openlibrary/js/merge-request-table/MergeRequestService.js:83
↓ 3 callers
Method
delete
(self)
openlibrary/core/lending.py:928
↓ 3 callers
Method
delete_by_id
(cls, pid)
openlibrary/core/bookshelves_events.py:203
↓ 3 callers
Method
dict
Converts this object into JSON-able dict. Converts all datetime objects into strings.
openlibrary/core/waitinglist.py:88
↓ 3 callers
Function
dispatchSubmitOnPrompt
* Dispatches a submit-check-in event on the check-in prompt element * and waits for async resolution. * @param {CheckInComponents} components * @pa
tests/unit/js/my-books.test.js:36
↓ 3 callers
Function
do_import
(item, servername=None, require_marc=True)
scripts/manage-imports.py:53
↓ 3 callers
Function
error_color_fn
Styles the text for printing to console with error color.
openlibrary/i18n/__init__.py:30
↓ 3 callers
Function
extract_jsonp
Extract JSON data from a JSONP response string.
openlibrary/tests/fastapi/test_books.py:54
↓ 3 callers
Function
filterTeam
(role, department)
openlibrary/plugins/openlibrary/js/team.js:193
↓ 3 callers
Method
find
Returns the waitingloan for given book_key and user_key. Returns None if there is no such waiting loan.
openlibrary/core/waitinglist.py:125
↓ 3 callers
Method
find_edition_counts_for_doc
Returns the memcache keys to be invalided for edition_counts effected by editing this doc.
openlibrary/olbase/events.py:102
↓ 3 callers
Function
find_entity
Looks for an existing Author record in OL and returns it if found. :param dict author: Author import dict {"name": "Some One"} :retu
openlibrary/catalog/add_book/load_book.py:259
↓ 3 callers
Method
find_pending
(limit=1000)
openlibrary/core/imports.py:138
↓ 3 callers
Function
flushPromises
()
tests/unit/js/carousel.test.js:7
↓ 3 callers
Function
flushPromises
Shorthand to flush pending promises in async tests.
tests/unit/js/my-books.test.js:26
↓ 3 callers
Function
four_types
(i)
openlibrary/catalog/marc/get_subjects.py:49
↓ 3 callers
Method
from_dict
(cls, response: dict, updated: datetime)
openlibrary/core/wikidata.py:51
↓ 3 callers
Method
from_dict
(d: dict)
openlibrary/plugins/upstream/table_of_contents.py:75
↓ 3 callers
Method
from_dict
(cls, d: dict)
openlibrary/plugins/openlibrary/status.py:335
↓ 3 callers
Method
from_ia_loan
(data: dict)
openlibrary/core/lending.py:856
↓ 3 callers
Method
from_isbn
Attempts to fetch an edition by ISBN or ASIN, or if no edition is found, then check the import_item table for a match, then as a last
openlibrary/core/models.py:400
↓ 3 callers
Method
from_uri
:param str uri: either something like /works/OL1W, /books/OL1M?v=3, etc.
scripts/copydocs.py:137
↓ 3 callers
Method
generate
(cls, service_ip: str, client_email: str, client_ip: str, ts: int | None = None)
openlibrary/core/auth.py:113
↓ 3 callers
Function
generateDropperMarkup
(isDropperOpen, isDropperDisabled = false)
tests/unit/js/sample-html/dropper-test-data.js:16
↓ 3 callers
Function
generate_hash
(secret_key, text, salt=None)
openlibrary/accounts/model.py:77
↓ 3 callers
Function
generate_login_code_for_user
Args: username: The username to generate a login code for Returns: A string in the format: "/people/{username},{timestamp},{
openlibrary/accounts/model.py:208
↓ 3 callers
Method
getDroppers
* @returns {Array<MyBooksDropper>}
openlibrary/plugins/openlibrary/js/my-books/store/index.js:26
↓ 3 callers
Method
getOlidsFromSelectionList
(list)
openlibrary/plugins/openlibrary/js/ile/utils/SelectionManager/SelectionManager.js:318
↓ 3 callers
Method
get_all_subfields
(self)
openlibrary/catalog/marc/marc_xml.py:60
↓ 3 callers
Method
get_authors
(self, work)
openlibrary/plugins/books/dynlinks.py:227
↓ 3 callers
Function
get_availability_async
( id_type: Literal["identifier", "openlibrary_work", "openlibrary_edition"], ids: list[str], )
openlibrary/core/lending.py:405
↓ 3 callers
Function
get_book_provider_by_name
:param name: Either the provider's short_name (legacy) or its provider_name
openlibrary/book_providers.py:742
↓ 3 callers
Function
get_book_providers
(ed_or_solr: Edition | dict)
openlibrary/book_providers.py:782
↓ 3 callers
Method
get_content_type
(self)
openlibrary/plugins/openlibrary/lists.py:660
↓ 3 callers
Method
get_control
(self, tag: str)
openlibrary/catalog/marc/marc_base.py:72
↓ 3 callers
Method
get_count
(cls, status=None, use_cache=False)
openlibrary/core/imports.py:304
↓ 3 callers
Function
get_coverstore_url
()
openlibrary/plugins/upstream/utils.py:387
↓ 3 callers
Function
get_db
()
openlibrary/coverstore/oldb.py:21
↓ 3 callers
Method
get_editions_data
(key: str, url: URL, limit: int, offset: int)
openlibrary/plugins/openlibrary/api.py:254
↓ 3 callers
Method
get_email
(self)
openlibrary/core/models.py:920
↓ 3 callers
Method
get_isbn13
Fetches either isbn_13 or isbn_10 from record and returns canonical isbn_13
openlibrary/plugins/upstream/models.py:102
↓ 3 callers
Method
get_items
(self, status="pending")
openlibrary/core/imports.py:131
↓ 3 callers
Method
get_lists_data
( path, limit: int = 50, offset: int = 0, query_path: str | None = None, )
openlibrary/plugins/openlibrary/lists.py:558
↓ 3 callers
Function
get_loan
Returns the loan object for given identifier, if a loan exists. If user_key is specified, it returns the loan only if that user is borrowed t
openlibrary/core/lending.py:614
↓ 3 callers
Method
get_loan
(self, identifier: str, userid: str | None = None)
openlibrary/core/lending.py:974
↓ 3 callers
Method
get_many
Only gets templates
scripts/copydocs.py:38
↓ 3 callers
Method
get_many_async
( # type: ignore[override] self, keys: Iterable[str], fields: Iterable[st
openlibrary/plugins/books/tests/test_dynlinks.py:234
↓ 3 callers
Function
get_non_isbn_asin
Return a non-ISBN ASIN (e.g. B012345678) if one exists. There is a tacit assumption that at most one will exist.
openlibrary/catalog/utils/__init__.py:369
↓ 3 callers
Function
get_ocaid
(item: dict)
openlibrary/core/lending.py:487
↓ 3 callers
Function
get_opds_data_provider
()
openlibrary/plugins/openlibrary/api.py:636
↓ 3 callers
Method
get_photos
(self)
openlibrary/plugins/upstream/models.py:404
↓ 3 callers
Method
get_recently_logged_books
( cls, shelf_ids: list[int] | None = None, limit: int = 50, page: int = 1,
openlibrary/core/bookshelves.py:576
↓ 3 callers
Function
get_redirected_authors
(authors: list[Author])
openlibrary/catalog/add_book/load_book.py:181
↓ 3 callers
Function
get_schema
()
openlibrary/core/schema.py:8
↓ 3 callers
Function
get_software_version
assert get_software_version() # Should never return a falsy value
openlibrary/utils/__init__.py:190
↓ 3 callers
Method
get_subfields
(self, want: str)
openlibrary/catalog/marc/marc_base.py:49
↓ 3 callers
Method
get_tags
Returns list of tags that this user has.
openlibrary/accounts/model.py:410
↓ 3 callers
Function
get_text
(e: etree._Element)
openlibrary/catalog/marc/marc_xml.py:34
↓ 3 callers
Function
get_url
(doc: OpenLibraryThing)
openlibrary/plugins/books/dynlinks.py:201
↓ 3 callers
Method
get_users_rating_for_work
work_id must be convertible to int.
openlibrary/core/ratings.py:144
↓ 3 callers
Method
get_works_data
(key: str, url: URL, limit: int, offset: int)
openlibrary/plugins/openlibrary/api.py:302
↓ 3 callers
Function
handle_deprecated_request
Handle the deprecated endpoint request.
openlibrary/plugins/openlibrary/deprecated_handler.py:15
↓ 3 callers
Method
hasReadDate
* Returns `true` if the check-in display is visible on the screen. * * @returns {boolean}
openlibrary/plugins/openlibrary/js/my-books/MyBooksDropper/CheckInComponents.js:294
↓ 3 callers
Function
has_dates
(author: dict | Author | AuthorImportDict)
openlibrary/catalog/add_book/load_book.py:170
← previous
next →
701–800 of 6,179, ranked by callers