MCPcopy Create free account

hub / github.com/internetarchive/openlibrary / functions

Functions6,179 in github.com/internetarchive/openlibrary

Methodcreate
(cls, username: str, year: int, target: int)
openlibrary/core/yearly_reading_goals.py:24
Methodcreate
:param unicode screenname: changeable human readable archive.org username. The slug / itemname is generated automatically from th
openlibrary/accounts/model.py:743
FunctioncreateMergeRequest
(workIds, primaryRecord, action = 'create-merged', comment = null)
openlibrary/components/MergeUI/utils.js:227
MethodcreateRenderRoot
()
openlibrary/components/lit/OLButton.js:41
MethodcreateRenderRoot
()
openlibrary/components/lit/OlBanner.js:73
FunctioncreateWebComponentSimple
(rootComponent, name)
openlibrary/components/rollupInputCore.js:5
Functioncreate_doc
(type_key: str = "/type/list")
openlibrary/tests/fastapi/test_lists_delete.py:58
Functioncreate_loan
Creates a loan and returns it.
openlibrary/core/lending.py:711
Functioncreate_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
Functioncreate_subject_tag
(tag: dict)
openlibrary/plugins/upstream/addtag.py:72
Functioncreate_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
Functioncreate_user
( is_admin: bool = False, is_librarian: bool = False, is_super_librarian: bool = False
openlibrary/tests/fastapi/test_merge_authors.py:34
Functioncreate_user
( is_admin: bool = False, is_librarian: bool = False, is_super_librarian: bool = False
openlibrary/tests/fastapi/test_importapi.py:44
Functioncreate_user
(key: str = "/people/testuser", is_admin: bool = False)
openlibrary/tests/fastapi/test_lists_delete.py:40
Methoddate2millis
(date)
openlibrary/core/imports.py:359
Methoddate_format
(self)
openlibrary/plugins/upstream/account.py:1011
Functiondatestr
Internationalized version of web.datestr.
openlibrary/core/helpers.py:128
Functiondatetime_from_utc_timestamp
(seconds)
openlibrary/plugins/upstream/borrow.py:334
Functiondatetimestr_utc
(then)
openlibrary/core/helpers.py:145
Methoddb_selector
(self)
openlibrary/book_providers.py:192
Methoddb_selector
(self)
openlibrary/book_providers.py:293
Methoddb_selector
(self)
openlibrary/book_providers.py:570
Methodddc
(self)
openlibrary/solr/updater/work.py:483
Methodddc_sort
(self)
openlibrary/solr/updater/work.py:488
Methoddeath_date
(self)
openlibrary/solr/updater/author.py:88
FunctiondecodeAndParseJSON
(str)
openlibrary/components/ObservationForm/Utils.js:7
Methoddecode_field
(self, field)
openlibrary/catalog/marc/tests/test_marc.py:41
Functiondecorator
(func)
scripts/monitoring/utils.py:80
Functiondecorator_authorized
(func)
openlibrary/utils/decorators.py:11
FunctiondecrementStringSolr
(string, caseSensitive=true, numeric=false)
openlibrary/components/LibraryExplorer/utils.js:69
Methoddefault
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
Methoddefault
Custom JSON encoder for Infogami Thing objects.
openlibrary/plugins/upstream/table_of_contents.py:173
Methoddefault
(self, obj)
openlibrary/plugins/openlibrary/code.py:248
FunctiondefaultFieldRender
openlibrary/plugins/openlibrary/js/readinglog_stats.js:121
Functiondelayed
()
openlibrary/plugins/openlibrary/js/nonjquery_utils.js:19
Methoddelegate
(self)
openlibrary/plugins/admin/code.py:127
Functiondelete
(id)
openlibrary/coverstore/db.py:149
Methoddelete
(self, key)
openlibrary/utils/olmemcache.py:43
Methoddelete
(self, key)
openlibrary/mocks/mock_memcache.py:28
Methoddelete
(self, key)
openlibrary/core/cache.py:287
Methoddelete
(self, key)
openlibrary/core/cache.py:352
Methoddelete
(self)
openlibrary/accounts/model.py:264
Methoddelete_by_username
(cls, username: str)
openlibrary/core/yearly_reading_goals.py:101
Functiondelete_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
Functiondestroy
()
openlibrary/components/lit/html-block.js:94
Functiondetails
(id: int)
openlibrary/coverstore/db.py:125
MethoddisconnectedCallback
()
openlibrary/components/lit/OlToast.js:349
MethoddisconnectedCallback
()
openlibrary/components/lit/OLMarkdownEditor.js:400
MethoddisconnectedCallback
()
openlibrary/components/lit/OlDialog.js:662
MethoddisconnectedCallback
()
openlibrary/components/lit/OpenLibraryOTP.js:216
MethoddisconnectedCallback
()
openlibrary/components/lit/OlCarousel.js:345
MethoddisconnectedCallback
()
openlibrary/components/lit/OlTooltip.js:150
MethoddisconnectedCallback
()
openlibrary/components/lit/OlPopover.js:844
MethoddisconnectedCallback
()
openlibrary/plugins/openlibrary/js/search-modal/SearchModal.js:931
FunctiondisplayLocalYear
(elems)
openlibrary/plugins/openlibrary/js/reading-goals/index.js:36
Methoddisplayname
(self)
openlibrary/accounts/model.py:289
MethoddoOCR
* @param {HTMLCanvasElement} canvas
openlibrary/components/BarcodeScanner/utils/classes.js:44
Methoddo_import
Import metadata from the source.
openlibrary/plugins/importapi/import_ui.py:149
Methoddo_import
(self, identifier: str, save: bool)
openlibrary/plugins/importapi/import_ui.py:159
Methoddo_import
(self, identifier: str, save: bool)
openlibrary/plugins/importapi/import_ui.py:199
Functiondo_merge
(merged_record, dupes, editions, mrid)
openlibrary/components/MergeUI/utils.js:130
Methoddoc_filter
(self, doc: dict)
openlibrary/plugins/worksearch/autocomplete.py:116
Methoddoc_wrap
(self, doc: dict)
openlibrary/plugins/worksearch/autocomplete.py:122
Methoddoc_wrap
(self, doc: dict)
openlibrary/plugins/worksearch/autocomplete.py:136
Methoddocument
(self)
openlibrary/core/lists/model.py:505
Methoddouble
(x)
openlibrary/tests/core/test_cache.py:133
MethoddragEnd
()
openlibrary/plugins/openlibrary/js/ile/utils/SelectionManager/SelectionManager.js:270
MethoddragStart
* @param {DragEvent} ev
openlibrary/plugins/openlibrary/js/ile/utils/SelectionManager/SelectionManager.js:255
Functiondump
(data, format: Literal["json", "yml"])
openlibrary/core/formats.py:30
Functiondynlinks
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
Functiondynlinks_mock
(bib_keys, options)
openlibrary/tests/fastapi/test_books.py:27
Methodebook
(doc: OpenLibraryEditionWithPreview)
openlibrary/plugins/books/dynlinks.py:345
Methodebook_access
(self)
openlibrary/book_providers.py:86
Methodebook_access
(self)
openlibrary/solr/updater/edition.py:334
Methodebook_access
(self)
openlibrary/solr/updater/work.py:507
Methodebook_count_i
(self)
openlibrary/solr/updater/work.py:503
Methodebook_provider
(self)
openlibrary/solr/updater/edition.py:343
Methodebook_provider
(self)
openlibrary/solr/updater/work.py:514
Methodedition_count
(self)
openlibrary/core/models.py:539
Methodedition_count
(self)
openlibrary/solr/updater/work.py:395
Functionedition_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
Methodedition_key
(self)
openlibrary/solr/updater/work.py:403
Methodedition_name
(self)
openlibrary/solr/updater/edition.py:253
Methodeditions
(self)
openlibrary/solr/updater/work.py:439
Methodeditions_query
(self)
openlibrary/book_providers.py:188
Functionelapsed_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
Methodemit
(self, indent, text_indent="")
openlibrary/plugins/upstream/jsdef.py:103
Methoderror
(code__msg)
openlibrary/coverstore/code.py:180
Methodescape_value
(v)
openlibrary/utils/solr.py:261
Methodexcluded_categories
(self)
scripts/providers/import_wikisource.py:160
Methodexpanded
* 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
Methodextra_fields
(self)
openlibrary/plugins/upstream/table_of_contents.py:69
Functionextract_messages
(sources: list[str], verbose: bool, skip_untracked: bool)
openlibrary/i18n/__init__.py:152
Functionextract_templetor
Extract i18n messages from web.py templates.
openlibrary/i18n/__init__.py:138
Functionf
(a)
openlibrary/data/dump.py:321
Methodf
(k)
scripts/copydocs.py:43
Methodf
(data)
openlibrary/plugins/upstream/tests/test_addbook.py:37
Methodfake_daily
(timestamp, dry_run)
scripts/solr_updater/tests/test_trending_updater_init.py:12
Methodfake_from_input
(i)
openlibrary/tests/fastapi/test_importapi.py:142
Methodfake_from_input
(i)
openlibrary/tests/fastapi/test_importapi.py:218
← previousnext →3,701–3,800 of 6,179, ranked by callers