MCPcopy Create free account

hub / github.com/internetarchive/openlibrary / functions

Functions6,179 in github.com/internetarchive/openlibrary

↓ 2 callersFunctionsetupSelectionManager
()
tests/unit/js/SelectionManager.test.js:21
↓ 2 callersFunctionsetup_logging
()
openlibrary/plugins/ol_infobase.py:79
↓ 2 callersMethodsetup_monkeypatch
(self, monkeypatch)
openlibrary/tests/core/test_i18n.py:34
↓ 2 callersMethodsetup_monkeypatch
(self, monkeypatch)
openlibrary/plugins/openlibrary/tests/test_home.py:30
↓ 2 callersFunctionshould_overwrite_promise_item
Returns True for revision 1 promise items with MARC data available. Promise items frequently have low quality data, and MARC data is high
openlibrary/catalog/add_book/__init__.py:984
↓ 2 callersMethodshowDeleteButton
* Shows this form's delete button.
openlibrary/plugins/openlibrary/js/my-books/MyBooksDropper/CheckInComponents.js:705
↓ 2 callersFunctionshowLoadingIndicator
()
openlibrary/plugins/openlibrary/js/covers.js:48
↓ 2 callersFunctionsimple_timeit_async
(awaitable: Awaitable)
scripts/solr_builder/solr_builder/solr_builder.py:331
↓ 2 callersFunctionskipIfNoSolr
({ page }: { page: import('@playwright/test').Page })
tests/e2e/subjects.spec.ts:9
↓ 2 callersFunctionslotHasContent
(slot)
openlibrary/components/lit/utils/slot-utils.js:19
↓ 2 callersFunctionspace_squash_and_strip
(s)
openlibrary/plugins/upstream/merge_authors.py:162
↓ 2 callersFunctionsplit_amazon_title
Splits an Amazon title into (title, subtitle | None) and strips parenthetical tags.
openlibrary/core/vendors.py:689
↓ 2 callersFunctionsplit_subtitle
Splits a title into (title, subtitle), strips parenthetical tags. Used for bookseller catalogs which do not pre-separate subtitles.
openlibrary/catalog/add_book/__init__.py:195
↓ 2 callersFunctionstage_bookworm_metadata
`stage` metadata, if found. into `import_item` via BookWorm. :param str identifier: ISBN 10, ISBN 13, or B*ASIN. Spaces, hyphens, etc. are f
openlibrary/core/vendors.py:667
↓ 2 callersFunctionstage_from_google_books
Stage `isbn` from the Google Books API. Can be ISBN 10 or 13. See https://developers.google.com/books.
scripts/affiliate_server.py:304
↓ 2 callersFunctionstandard_duration_blocks
(ms: int)
scripts/monitoring/solr_logs_monitor.py:195
↓ 2 callersFunctionstore_data
(data, date)
openlibrary/admin/stats.py:58
↓ 2 callersFunctionstrip_foc
(s: str)
openlibrary/catalog/marc/parse.py:61
↓ 2 callersFunctionsubjects_for_work
(rec)
openlibrary/catalog/marc/get_subjects.py:100
↓ 2 callersMethodsubmit_request
Inserts a new record into the table. Preconditions: All data validations should be completed before calling this method.
openlibrary/core/edits.py:169
↓ 2 callersFunctionsync_loan
Updates the loan info stored in openlibrary. The loan records are stored at the Internet Archive. There is no way for OL to know when a loan
openlibrary/core/lending.py:726
↓ 2 callersMethodtell
(self)
scripts/solr_updater/solr_updater.py:74
↓ 2 callersFunctiontime
()
openlibrary/conftest.py:71
↓ 2 callersMethodto_db
Returns a db-compatible (I.e. Thing) representation of the seed.
openlibrary/core/lists/model.py:460
↓ 2 callersMethodto_db
(self)
openlibrary/plugins/upstream/table_of_contents.py:37
↓ 2 callersMethodto_dict
Convert the PrioritizedIdentifier object to a dictionary representation suitable for JSON serialization.
scripts/affiliate_server.py:145
↓ 2 callersMethodto_dict
(self, d)
openlibrary/plugins/ol_infobase.py:384
↓ 2 callersMethodto_dict
(self)
openlibrary/plugins/openlibrary/status.py:311
↓ 2 callersFunctionto_json
(d)
openlibrary/plugins/worksearch/autocomplete.py:22
↓ 2 callersMethodto_list_seed_metadata
(self)
openlibrary/core/lists/model.py:493
↓ 2 callersMethodto_metric
(self)
openlibrary/plugins/openlibrary/stats.py:214
↓ 2 callersMethodto_solr_edismax_subquery
(self, defaults: SolrInternalsParams | None = None)
openlibrary/fastapi/models.py:158
↓ 2 callersMethodto_solr_str
(self)
openlibrary/book_providers.py:33
↓ 2 callersMethodto_thing_json
(self)
openlibrary/plugins/openlibrary/lists.py:168
↓ 2 callersFunctiontoggleActiveShowcaseItems
(showWorksOnly)
openlibrary/plugins/openlibrary/js/lists/ShowcaseItem.js:278
↓ 2 callersMethodtoggleDisplayedType
* Changes list affordance visibility in the dropper and "Already list" * list based on an item's membership to the given list. * * If t
openlibrary/plugins/openlibrary/js/my-books/MyBooksDropper/ReadingLists.js:138
↓ 2 callersFunctiontoggleSorting
(e)
openlibrary/plugins/openlibrary/js/editions-table/index.js:33
↓ 2 callersFunctiontrackEvent
(category, action, label)
openlibrary/plugins/openlibrary/js/ol.analytics.js:26
↓ 2 callersFunctiontrimInputValues
(param)
openlibrary/plugins/openlibrary/js/utils.js:67
↓ 2 callersMethodtry_edition_match
Searches solr for potential edition matches. :param str author_key: e.g. /author/OL1234A :param str publish_year: yyyy
openlibrary/plugins/upstream/addbook.py:361
↓ 2 callersMethodtype_to_sql
(self, type, limit=None)
openlibrary/utils/schema.py:49
↓ 2 callersMethodunlink
Careful, this will save any other changes to the ol user object as well
openlibrary/accounts/model.py:653
↓ 2 callersFunctionunlockBodyScroll
()
openlibrary/components/lit/utils/scroll-lock.js:47
↓ 2 callersMethodupdate
Computes the value and adds it to memcache. Returns the computed value.
openlibrary/core/cache.py:150
↓ 2 callersMethodupdate
(self, **kw)
openlibrary/core/waitinglist.py:153
↓ 2 callersMethodupdateActivatedStatus
* Updates "active" status of the primary form. * * An "active" dropper will display a checkmark in the primary button, and a remove * b
openlibrary/plugins/openlibrary/js/my-books/MyBooksDropper/ReadingLogForms.js:231
↓ 2 callersMethodupdateAndShowBulkTagger
* Updates the Bulk Tagger with the selected works, then displays the tagger. * * @param {Array<String>} workIds * @param {boolean} isBo
openlibrary/plugins/openlibrary/js/ile/index.js:95
↓ 2 callersMethodupdateDateAndShowDisplay
* Updates the date display and form with the given date, and shows the display. * * @param {number} year * @param {number|null} month
openlibrary/plugins/openlibrary/js/my-books/MyBooksDropper/CheckInComponents.js:198
↓ 2 callersMethodupdateListDisplays
* Updates dropdown list affordances when an update occurs.
openlibrary/plugins/openlibrary/js/my-books/MyBooksDropper/ReadingLists.js:115
↓ 2 callersMethodupdatePrimaryBookshelfId
* Changes value of primary form's `bookshelf_id` input to the given number. * * @param {number} newId
openlibrary/plugins/openlibrary/js/my-books/MyBooksDropper/ReadingLogForms.js:260
↓ 2 callersMethodupdateSelected
* Determines this navbar's position on the page and updates the selected * nav item.
openlibrary/plugins/openlibrary/js/edition-nav-bar/EditionNavBar.js:101
↓ 2 callersMethodupdateSubmitButtonState
* Disables or enables form submission button. * * Button is enabled if there are any tags staged for submission. * Otherwise, the butto
openlibrary/plugins/openlibrary/js/bulk-tagger/BulkTagger.js:367
↓ 2 callersFunctionupdateURLParameters
(params)
openlibrary/plugins/openlibrary/js/utils.js:48
↓ 2 callersMethodupdateViewAfterModifyingList
* Updates `patronLists` with the new list membership information, * then updates the view. * * @param {string} listKey Unique identifie
openlibrary/plugins/openlibrary/js/my-books/MyBooksDropper/ReadingLists.js:268
↓ 2 callersMethodupdate_async
Starts the update process asynchronously.
openlibrary/core/cache.py:126
↓ 2 callersFunctionupdate_availability_schema_to_v2
This function attempts to take the output of e.g. Bulk Availability API and add/infer attributes which are missing (but are present on Gr
openlibrary/core/lending.py:386
↓ 2 callersMethodupdate_event
(cls, pid, edition_id=None, event_date=None, data=None)
openlibrary/core/bookshelves_events.py:151
↓ 2 callersFunctionupdate_indices
()
openlibrary/plugins/openlibrary/js/autocomplete.js:190
↓ 2 callersFunctionupdate_keys
(keys: Iterable[str])
scripts/solr_updater/solr_updater.py:226
↓ 2 callersFunctionupdate_len
()
openlibrary/plugins/openlibrary/js/edit.js:32
↓ 2 callersMethodupdate_references
Converts references to any of the duplicates in the given doc to the master.
openlibrary/plugins/upstream/merge_authors.py:50
↓ 2 callersMethodupdate_request_status
Changes the status of the request with the given rid. If a comment is included, existing comments list for this request are fetched
openlibrary/core/edits.py:249
↓ 2 callersFunctionupdate_state
Records the last file we began processing and the current line
scripts/partner_batch_imports.py:328
↓ 2 callersFunctionupdate_state
Records the last file we began processing and the current line
scripts/providers/isbndb.py:178
↓ 2 callersMethodupdate_submitter_name
(cls, submitter: str, new_username: str, _test=False)
openlibrary/core/edits.py:151
↓ 2 callersMethodupdate_target
(cls, username: str, year: int, new_target: int)
openlibrary/core/yearly_reading_goals.py:82
↓ 2 callersMethodupload
Uploads a cover to coverstore and returns the response.
openlibrary/plugins/upstream/covers.py:86
↓ 2 callersMethodupsert
Insert or update the acquisition for ``(local_id, provider_name)``. Keyed on the ``(local_id, provider_name)`` unique constraint; an
openlibrary/core/acquisitions.py:88
↓ 2 callersMethodurl
(self, suffix="", relative=True, **params)
openlibrary/core/models.py:1217
↓ 2 callersFunctionurl_quote
(text: str | bytes)
openlibrary/plugins/upstream/utils.py:589
↓ 2 callersMethodurlopen
(self, path, data=None, method=None, headers=None)
openlibrary/plugins/openlibrary/tests/test_ratingsapi.py:21
↓ 2 callersFunctionusage
()
scripts/migrate_db.py:114
↓ 2 callersFunctionuserkey2userid
(user_key: str)
openlibrary/core/lending.py:952
↓ 2 callersMethodvalid
(self, value)
openlibrary/utils/form.py:180
↓ 2 callersFunctionvalid_email
(email: str)
openlibrary/accounts/model.py:51
↓ 2 callersFunctionvalidateInput
(input)
openlibrary/plugins/openlibrary/js/signup.js:178
↓ 2 callersMethodvalidates
(self, source)
openlibrary/plugins/upstream/forms.py:126
↓ 2 callersFunctionverify_session_cookie
Verify a session cookie's HMAC signature without a database lookup. Session cookies have the format "/people/{username},{timestamp},{salt}${hash}
openlibrary/accounts/model.py:176
↓ 2 callersMethodverify_upload
(self, id, data, expected_info=None)
openlibrary/coverstore/tests/test_webapp.py:159
↓ 2 callersFunctionwget
(path)
scripts/oclc_to_marc.py:14
↓ 2 callersMethodwhere_clause
(cls, mode: ApiMode, **kwargs)
openlibrary/core/edits.py:114
↓ 2 callersMethodwikidata
(self, bust_cache: bool = False, fetch_missing: bool = False)
openlibrary/core/models.py:851
↓ 2 callersFunctionwithin
(a, b, distance)
openlibrary/catalog/add_book/match.py:186
↓ 2 callersFunctionworks_by_author
( akey: str, sort="editions", page=1, rows=100, facet=False, has_fulltext=False, q
openlibrary/plugins/worksearch/code.py:896
↓ 2 callersFunctionwrite
(path: str, text: str)
scripts/sitemaps/sitemap.py:169
↓ 2 callersFunctionwrite
(path, data)
openlibrary/data/sitemap.py:124
↓ 2 callersMethodwrite
(self, data: str)
scripts/bwb_opds_imports.py:331
↓ 2 callersFunctionwriteSelection
* Persist the selection to the URL without navigating, then nudge the * pagination controls to rebuild their links so a page click carries a/b.
openlibrary/plugins/openlibrary/js/history.js:41
↓ 2 callersFunctionwriteStoredAvailability
(value)
openlibrary/plugins/openlibrary/js/SearchFilterBar.js:47
↓ 2 callersFunctionwriteStoredLanguages
(values)
openlibrary/plugins/openlibrary/js/SearchFilterBar.js:51
↓ 2 callersFunctionwrite_state
Atomically write ``ts`` (ISO 8601) to ``path``.
scripts/bwb_opds_imports.py:87
↓ 2 callersFunctionwrite_to
(filepath, s, mode="w+")
scripts/delete_import_items.py:88
↓ 1 callersMethodGET
(self, key)
openlibrary/plugins/upstream/addbook.py:860
↓ 1 callersMethodGET
(self, key)
openlibrary/plugins/openlibrary/code.py:689
↓ 1 callersMethodGET
(self)
openlibrary/plugins/admin/code.py:223
↓ 1 callersMethodGET
(self)
openlibrary/plugins/admin/code.py:658
↓ 1 callersMethodGET
(self)
openlibrary/plugins/admin/code.py:703
↓ 1 callersMethodGET
(self)
openlibrary/plugins/admin/code.py:722
↓ 1 callersMethodGET_memcache
(self)
openlibrary/plugins/admin/code.py:619
↓ 1 callersMethodGET_store
(self)
openlibrary/plugins/admin/code.py:600
← previousnext →1,401–1,500 of 6,179, ranked by callers