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
create
(cls, username: str, year: int, target: int)
openlibrary/core/yearly_reading_goals.py:24
Method
create
:param unicode screenname: changeable human readable archive.org username. The slug / itemname is generated automatically from th
openlibrary/accounts/model.py:743
Function
createMergeRequest
(workIds, primaryRecord, action = 'create-merged', comment = null)
openlibrary/components/MergeUI/utils.js:227
Method
createRenderRoot
()
openlibrary/components/lit/OLButton.js:41
Method
createRenderRoot
()
openlibrary/components/lit/OlBanner.js:73
Function
createWebComponentSimple
(rootComponent, name)
openlibrary/components/rollupInputCore.js:5
Function
create_doc
(type_key: str = "/type/list")
openlibrary/tests/fastapi/test_lists_delete.py:58
Function
create_loan
Creates a loan and returns it.
openlibrary/core/lending.py:711
Function
create_or_update_patron_check_in
Create or update a check-in event. If event_id is provided, updates existing event. Otherwise creates a new one.
openlibrary/fastapi/checkins.py:56
Function
create_subject_tag
(tag: dict)
openlibrary/plugins/upstream/addtag.py:72
Function
create_thing
Helper method to convert a data object recursively to the correct `Thing` classes. Will change the dict to be the same type as when fetched f
openlibrary/plugins/upstream/utils.py:1406
Function
create_user
( is_admin: bool = False, is_librarian: bool = False, is_super_librarian: bool = False
openlibrary/tests/fastapi/test_merge_authors.py:34
Function
create_user
( is_admin: bool = False, is_librarian: bool = False, is_super_librarian: bool = False
openlibrary/tests/fastapi/test_importapi.py:44
Function
create_user
(key: str = "/people/testuser", is_admin: bool = False)
openlibrary/tests/fastapi/test_lists_delete.py:40
Method
date2millis
(date)
openlibrary/core/imports.py:359
Method
date_format
(self)
openlibrary/plugins/upstream/account.py:1011
Function
datestr
Internationalized version of web.datestr.
openlibrary/core/helpers.py:128
Function
datetime_from_utc_timestamp
(seconds)
openlibrary/plugins/upstream/borrow.py:334
Function
datetimestr_utc
(then)
openlibrary/core/helpers.py:145
Method
db_selector
(self)
openlibrary/book_providers.py:192
Method
db_selector
(self)
openlibrary/book_providers.py:293
Method
db_selector
(self)
openlibrary/book_providers.py:570
Method
ddc
(self)
openlibrary/solr/updater/work.py:483
Method
ddc_sort
(self)
openlibrary/solr/updater/work.py:488
Method
death_date
(self)
openlibrary/solr/updater/author.py:88
Function
decodeAndParseJSON
(str)
openlibrary/components/ObservationForm/Utils.js:7
Method
decode_field
(self, field)
openlibrary/catalog/marc/tests/test_marc.py:41
Function
decorator
(func)
scripts/monitoring/utils.py:80
Function
decorator_authorized
(func)
openlibrary/utils/decorators.py:11
Function
decrementStringSolr
(string, caseSensitive=true, numeric=false)
openlibrary/components/LibraryExplorer/utils.js:69
Method
default
Custom JSON encoder for handling Nothing values. Returns None if a value is a Nothing object. Otherwise, encode values using the defa
openlibrary/core/helpers.py:94
Method
default
Custom JSON encoder for Infogami Thing objects.
openlibrary/plugins/upstream/table_of_contents.py:173
Method
default
(self, obj)
openlibrary/plugins/openlibrary/code.py:248
Function
defaultFieldRender
openlibrary/plugins/openlibrary/js/readinglog_stats.js:121
Function
delayed
()
openlibrary/plugins/openlibrary/js/nonjquery_utils.js:19
Method
delegate
(self)
openlibrary/plugins/admin/code.py:127
Function
delete
(id)
openlibrary/coverstore/db.py:149
Method
delete
(self, key)
openlibrary/utils/olmemcache.py:43
Method
delete
(self, key)
openlibrary/mocks/mock_memcache.py:28
Method
delete
(self, key)
openlibrary/core/cache.py:287
Method
delete
(self, key)
openlibrary/core/cache.py:352
Method
delete
(self)
openlibrary/accounts/model.py:264
Method
delete_by_username
(cls, username: str)
openlibrary/core/yearly_reading_goals.py:101
Function
delete_patron_check_in
Delete a check-in event by ID. The user can only delete their own check-in events. Returns 200 OK with empty body on success (matching web.py
openlibrary/fastapi/checkins.py:95
Function
destroy
()
openlibrary/components/lit/html-block.js:94
Function
details
(id: int)
openlibrary/coverstore/db.py:125
Method
disconnectedCallback
()
openlibrary/components/lit/OlToast.js:349
Method
disconnectedCallback
()
openlibrary/components/lit/OLMarkdownEditor.js:400
Method
disconnectedCallback
()
openlibrary/components/lit/OlDialog.js:662
Method
disconnectedCallback
()
openlibrary/components/lit/OpenLibraryOTP.js:216
Method
disconnectedCallback
()
openlibrary/components/lit/OlCarousel.js:345
Method
disconnectedCallback
()
openlibrary/components/lit/OlTooltip.js:150
Method
disconnectedCallback
()
openlibrary/components/lit/OlPopover.js:844
Method
disconnectedCallback
()
openlibrary/plugins/openlibrary/js/search-modal/SearchModal.js:931
Function
displayLocalYear
(elems)
openlibrary/plugins/openlibrary/js/reading-goals/index.js:36
Method
displayname
(self)
openlibrary/accounts/model.py:289
Method
doOCR
* @param {HTMLCanvasElement} canvas
openlibrary/components/BarcodeScanner/utils/classes.js:44
Method
do_import
Import metadata from the source.
openlibrary/plugins/importapi/import_ui.py:149
Method
do_import
(self, identifier: str, save: bool)
openlibrary/plugins/importapi/import_ui.py:159
Method
do_import
(self, identifier: str, save: bool)
openlibrary/plugins/importapi/import_ui.py:199
Function
do_merge
(merged_record, dupes, editions, mrid)
openlibrary/components/MergeUI/utils.js:130
Method
doc_filter
(self, doc: dict)
openlibrary/plugins/worksearch/autocomplete.py:116
Method
doc_wrap
(self, doc: dict)
openlibrary/plugins/worksearch/autocomplete.py:122
Method
doc_wrap
(self, doc: dict)
openlibrary/plugins/worksearch/autocomplete.py:136
Method
document
(self)
openlibrary/core/lists/model.py:505
Method
double
(x)
openlibrary/tests/core/test_cache.py:133
Method
dragEnd
()
openlibrary/plugins/openlibrary/js/ile/utils/SelectionManager/SelectionManager.js:270
Method
dragStart
* @param {DragEvent} ev
openlibrary/plugins/openlibrary/js/ile/utils/SelectionManager/SelectionManager.js:255
Function
dump
(data, format: Literal["json", "yml"])
openlibrary/core/formats.py:30
Function
dynlinks
Return a JSONified dictionary of bib_keys (e.g. ISBN, LCCN) and select URLs associated with the corresponding edition, if any. If a bib
openlibrary/plugins/books/dynlinks.py:553
Function
dynlinks_mock
(bib_keys, options)
openlibrary/tests/fastapi/test_books.py:27
Method
ebook
(doc: OpenLibraryEditionWithPreview)
openlibrary/plugins/books/dynlinks.py:345
Method
ebook_access
(self)
openlibrary/book_providers.py:86
Method
ebook_access
(self)
openlibrary/solr/updater/edition.py:334
Method
ebook_access
(self)
openlibrary/solr/updater/work.py:507
Method
ebook_count_i
(self)
openlibrary/solr/updater/work.py:503
Method
ebook_provider
(self)
openlibrary/solr/updater/edition.py:343
Method
ebook_provider
(self)
openlibrary/solr/updater/work.py:514
Method
edition_count
(self)
openlibrary/core/models.py:539
Method
edition_count
(self)
openlibrary/solr/updater/work.py:395
Function
edition_from_item_metadata
Converts the item metadata into a form suitable to be used as edition in Open Library. This is used to show fake editon pages like '/books/ia
openlibrary/core/ia.py:146
Method
edition_key
(self)
openlibrary/solr/updater/work.py:403
Method
edition_name
(self)
openlibrary/solr/updater/edition.py:253
Method
editions
(self)
openlibrary/solr/updater/work.py:439
Method
editions_query
(self)
openlibrary/book_providers.py:188
Function
elapsed_time
Two ways to use elapsed_time(): 1. As a decorator to time the execution of an entire function: @elapsed_time("my_slow_function")
scripts/sitemaps/sitemap.py:60
Method
emit
(self, indent, text_indent="")
openlibrary/plugins/upstream/jsdef.py:103
Method
error
(code__msg)
openlibrary/coverstore/code.py:180
Method
escape_value
(v)
openlibrary/utils/solr.py:261
Method
excluded_categories
(self)
scripts/providers/import_wikisource.py:160
Method
expanded
* Whether the user is currently interacting with the list (hovered or * focused). While true the region owns the toasts' timers — it has paused
openlibrary/components/lit/OlToastRegion.js:62
Method
extra_fields
(self)
openlibrary/plugins/upstream/table_of_contents.py:69
Function
extract_messages
(sources: list[str], verbose: bool, skip_untracked: bool)
openlibrary/i18n/__init__.py:152
Function
extract_templetor
Extract i18n messages from web.py templates.
openlibrary/i18n/__init__.py:138
Function
f
(a)
openlibrary/data/dump.py:321
Method
f
(k)
scripts/copydocs.py:43
Method
f
(data)
openlibrary/plugins/upstream/tests/test_addbook.py:37
Method
fake_daily
(timestamp, dry_run)
scripts/solr_updater/tests/test_trending_updater_init.py:12
Method
fake_from_input
(i)
openlibrary/tests/fastapi/test_importapi.py:142
Method
fake_from_input
(i)
openlibrary/tests/fastapi/test_importapi.py:218
← previous
next →
3,701–3,800 of 6,179, ranked by callers