MCPcopy Create free account

hub / github.com/internetarchive/openlibrary / functions

Functions6,179 in github.com/internetarchive/openlibrary

Methodis_own_ocaid
(self, ocaid: str)
openlibrary/book_providers.py:643
Methodis_printdisabled
(self)
openlibrary/core/models.py:961
Methodis_search_field
(self, field: str)
openlibrary/plugins/worksearch/schemes/__init__.py:48
Methodis_search_field
(self, field: str)
openlibrary/plugins/worksearch/schemes/editions.py:70
Functionis_spam
(i=None, allow_privileged_edits: bool = False)
openlibrary/plugins/upstream/spamcheck.py:35
Functionis_supported
()
openlibrary/coverstore/oldb.py:14
Functionis_thing
(t)
openlibrary/plugins/upstream/utils.py:558
Functionis_user_waiting_for
Returns True if the user is waiting for specified book.
openlibrary/core/waitinglist.py:186
Methodis_valid_action
(action)
openlibrary/plugins/upstream/edits.py:155
Methodis_valid_url
(url: str)
openlibrary/coverstore/code.py:246
Methodis_yet_to_be_fulfilled
Returns True if the loan is not yet fulfilled and fulfillment time is not expired.
openlibrary/core/lending.py:914
Methodisbn
Get all ISBNs of the given edition. Calculates complementary ISBN13 for each ISBN10 and vice-versa. Does not remove '-'s.
openlibrary/solr/updater/edition.py:257
Methodisbn
(self)
openlibrary/solr/updater/work.py:495
Functionitem_image
(image_path: str | None, default: str | None = None)
openlibrary/plugins/upstream/utils.py:1427
Methoditemname
Retrieves the Archive.org itemname which links Open Library and Internet Archive accounts
openlibrary/accounts/model.py:478
Functioniterdocs
Returns an iterator over all docs in the database. If type is specified, then only docs of that type will be returned.
openlibrary/data/db.py:63
Functionjoin_waitinglist
Adds a user to the waiting list of given book. It is done by creating a new record in the store.
openlibrary/core/waitinglist.py:194
Functionjsdef_get
foo.get(KEY, default) isn't defined in js, so we can't use that construct in our jsdef methods. This helper function provides a workaround, a
openlibrary/plugins/upstream/utils.py:1396
Functionjsdef_get
(obj, key, def=null)
openlibrary/plugins/openlibrary/js/jsdef.js:163
Methodjsemit_AssignmentNode
(self, node, indent)
openlibrary/plugins/upstream/jsdef.py:141
Methodjsemit_BlockNode
(self, node, indent)
openlibrary/plugins/upstream/jsdef.py:147
Methodjsemit_ExpressionNode
(self, node, indent)
openlibrary/plugins/upstream/jsdef.py:135
Methodjsemit_ForNode
(self, node, indent)
openlibrary/plugins/upstream/jsdef.py:172
Methodjsemit_JSDefNode
(self, node, indent)
openlibrary/plugins/upstream/jsdef.py:187
Methodjsemit_LineNode
(self, node, indent)
openlibrary/plugins/upstream/jsdef.py:128
Methodjsemit_StatementNode
(self, node, indent)
openlibrary/plugins/upstream/jsdef.py:144
Methodjsemit_SuiteNode
(self, node, indent)
openlibrary/plugins/upstream/jsdef.py:125
Methodjsemit_TextNode
(self, node, indent)
openlibrary/plugins/upstream/jsdef.py:132
Methodjson
(self)
scripts/tests/test_bwb_opds_imports.py:171
Methodjson
(self)
openlibrary/tests/solr/updater/test_author.py:13
Functionjson_encode
(d, indent: int | str | None = None, sort_keys: bool = False)
openlibrary/plugins/upstream/utils.py:295
Methodkey
(self)
openlibrary/solr/updater/list.py:100
Methodkey
(self)
openlibrary/solr/updater/author.py:68
Methodkey
(self)
openlibrary/solr/updater/edition.py:129
Methodkey
(self)
openlibrary/solr/updater/work.py:315
Functionkey_int
(rec)
openlibrary/catalog/utils/__init__.py:45
Methodkey_test
(self, key: str)
openlibrary/solr/updater/abstract.py:20
Methodlanguage
Gets the 3 letter language codes (eg ['ger', 'fre'])
openlibrary/solr/updater/edition.py:223
Methodlanguage
(self)
openlibrary/solr/updater/work.py:623
Methodlast_login
Returns the last_login time of the user, if available. The `last_login` will not be available for accounts, who haven't been logged i
openlibrary/accounts/model.py:367
Methodlast_modified
(self)
openlibrary/solr/updater/list.py:130
Methodlast_modified_i
(self)
openlibrary/solr/updater/work.py:499
Functionlast_name_in_245c
(rec: MarcBase, person: MarcFieldBase)
openlibrary/catalog/marc/parse.py:512
Methodlast_update
(self)
openlibrary/core/lists/model.py:152
Methodlast_update
(self)
openlibrary/core/lists/model.py:584
Functionlazy_carousel_partial
Get lazily-loaded carousel HTML.
openlibrary/fastapi/partials.py:134
Methodlcc
(self)
openlibrary/solr/updater/work.py:471
Methodlcc_sort
(self)
openlibrary/solr/updater/work.py:476
Methodlccn
(self)
openlibrary/solr/updater/edition.py:273
Methodlccn
(self)
openlibrary/solr/updater/work.py:443
Functionleave_waitinglist
Removes the given user from the waiting list of the given book.
openlibrary/core/waitinglist.py:204
Methodlending_edition_s
(self)
openlibrary/solr/updater/work.py:547
Methodlending_identifier_s
(self)
openlibrary/solr/updater/work.py:554
Methodlexile
(self)
openlibrary/solr/updater/edition.py:215
Methodlexile
(self)
openlibrary/solr/updater/work.py:435
Functionlibrarian_route
(_: LibrarianDep)
openlibrary/tests/fastapi/test_auth.py:125
Functionlifespan
Lifespan context manager for startup and shutdown events.
openlibrary/asgi_app.py:130
Functionlimit_server
Decorate that un-registers a job if the server does not match any of the allowed servers. :param allowed_servers: List of allowed servers. C
scripts/monitoring/utils.py:73
Methodlink
(self)
openlibrary/plugins/openlibrary/status.py:272
MethodlistString
@type {String}
openlibrary/components/BulkSearch/utils/classes.js:241
MethodlistUrl
@type {String}
openlibrary/components/BulkSearch/utils/classes.js:235
Functionlist_editions_json
Get paginated editions for a public list.
openlibrary/fastapi/lists.py:362
Functionlist_editions_json_people
Get paginated editions for a specific user's list.
openlibrary/fastapi/lists.py:371
Functionlist_languages
Get a list of the top languages, sorted by the specified criteria.
openlibrary/fastapi/languages.py:23
Functionlist_seeds_json_public
(olid: ListOLID)
openlibrary/fastapi/lists.py:302
Functionlist_seeds_json_user
(username: UsernamePath, olid: ListOLID)
openlibrary/fastapi/lists.py:292
Functionlist_subjects_json_public
(olid: ListOLID, limit: CommonSubjectsLimit = 20)
openlibrary/fastapi/lists.py:400
Functionlist_subjects_json_series
(olid: ListOLID, limit: CommonSubjectsLimit = 20)
openlibrary/fastapi/lists.py:408
Functionlist_subjects_json_user
(username: UsernamePath, olid: ListOLID, limit: CommonSubjectsLimit = 20)
openlibrary/fastapi/lists.py:392
Methodlist_type
(self)
openlibrary/solr/updater/list.py:112
Functionlist_view_json_public
Returns JSON metadata for a public list or series. Examples: /lists/OL456L.json /series/OL789L.json
openlibrary/fastapi/lists.py:134
Functionlist_view_json_user_lists
Returns JSON metadata for a user-owned list. Example: /people/mekBot/lists/OL123L.json
openlibrary/fastapi/lists.py:117
Methodlists
(self)
openlibrary/plugins/upstream/mybooks.py:530
Functionlists_delete
Delete a list owned by the given user.
openlibrary/fastapi/lists.py:152
Functionlists_delete_no_prefix
Delete a list (legacy path without username prefix).
openlibrary/fastapi/lists.py:162
Functionlists_json_authors
(author_id: int, pagination: CommonListsJsonPagination)
openlibrary/fastapi/lists.py:219
Functionlists_json_books
(edition_id: int, pagination: CommonListsJsonPagination)
openlibrary/fastapi/lists.py:209
Functionlists_json_people
(username: str, pagination: CommonListsJsonPagination)
openlibrary/fastapi/lists.py:204
Functionlists_json_post
( username: str, body: CreateListBody, _: Annotated[AuthenticatedUser, Depends(require_authenticat
openlibrary/fastapi/lists.py:229
Functionlists_json_subjects
(subject_key: str, pagination: CommonListsJsonPagination)
openlibrary/fastapi/lists.py:224
Functionlists_json_works
(work_id: int, pagination: CommonListsJsonPagination)
openlibrary/fastapi/lists.py:214
Functionload
legacy function to load openlibary config. The loaded config will be available via runtime_config var in this module. This doesn't affect the
openlibrary/config.py:16
Functionload
(text, format: Literal["json", "yaml"])
openlibrary/core/formats.py:21
Functionload_all
Loads all services specified in the config dictionary and returns the list of Service
openlibrary/plugins/admin/services.py:58
Methodload_changesets
Adds "recent_changeset" to each edition. The recent_changeset will be of the form: { "id": "...",
openlibrary/core/lists/model.py:224
Functionload_table
(filename)
openlibrary/catalog/marc/mnemonics.py:699
Functionlocate_item
Returns (hostname, path) for the item.
openlibrary/core/ia.py:140
Functionlog_workers_cur_fn
Logs the state of the gunicorn workers.
scripts/monitoring/monitor.py:34
Functionlogin
(username, password)
openlibrary/accounts/__init__.py:145
Functionlogin
Login endpoint - works identically to web.py version. This endpoint: 1. Validates email/password against Internet Archive 2. Creates
openlibrary/fastapi/account.py:236
Methodlogin
(self, username, password)
openlibrary/mocks/mock_infobase.py:331
Functionlogout
Logout endpoint - clears authentication cookies. This mirrors the web.py logout functionality.
openlibrary/fastapi/account.py:327
Methodlookup_iaids
(iaids)
openlibrary/plugins/books/readlinks.py:232
Functionmain
:param files: The html files to check for missing i18n. Leave empty to run over all html files. :param skip_excluded: If --no-skip-excluded i
scripts/detect_missing_i18n.py:171
Functionmain
Run one incremental BWB OPDS import. :param ol_config: Path to ``openlibrary.yml``. :param feed_url: OPDS 2.0 feed entry point. :param st
scripts/bwb_opds_imports.py:369
Functionmain
(ol_config: str, filename: str, batch_size=5000, dry_run=False)
scripts/import_pressbooks.py:108
Functionmain
:param ol_config: Path to openlibrary.yml :param dates: Get all promise items for this date or date range. E.g. "yyyy-mm-dd:yyyy-mm-d
scripts/promise_batch_imports.py:195
Functionmain
( ol_config: str, since: str | None = None, until: str | None = None, statefile: str | None =
scripts/update_stale_ocaid_references.py:141
Functionmain
(ol_config: str, days=1, skip=7)
scripts/update_stale_work_references.py:12
Functionmain
Script to copy docs from one OL instance to another. Typically used to copy templates, macros, css and js from openlibrary.org to dev ins
scripts/copydocs.py:317
← previousnext →4,301–4,400 of 6,179, ranked by callers