MCPcopy Create free account

hub / github.com/internetarchive/openlibrary / functions

Functions6,179 in github.com/internetarchive/openlibrary

↓ 2 callersFunctionget_many_as_dict
(keys: Iterable[str])
openlibrary/plugins/books/dynlinks.py:197
↓ 2 callersMethodget_many_async
( self, keys: Iterable[str], fields: Iterable[str] | None = None, doc_wrapper:
openlibrary/utils/solr.py:94
↓ 2 callersFunctionget_marc21_language
Get a three character MARC 21 language abbreviation from another abbreviation format: https://www.loc.gov/marc/languages/language_code.ht
openlibrary/plugins/upstream/utils.py:791
↓ 2 callersMethodget_metadata
(self, id)
openlibrary/tests/solr/test_update.py:96
↓ 2 callersMethodget_multi
(self, keys)
openlibrary/plugins/upstream/utils.py:1273
↓ 2 callersMethodget_num_users_by_bookshelf_by_work_id
Returns a dict mapping a work_id to the number of number of users who have placed that work_id in each shelf, i.e. {bookshelf_id: coun
openlibrary/core/bookshelves.py:681
↓ 2 callersFunctionget_ol_url
()
openlibrary/coverstore/utils.py:56
↓ 2 callersMethodget_olid
(self)
openlibrary/plugins/upstream/models.py:420
↓ 2 callersMethodget_patron_booknote
(cls, username, work_id, edition_id=NULL_EDITION_VALUE)
openlibrary/core/booknotes.py:94
↓ 2 callersMethodget_patron_booknotes
By default, get all a patron's booknotes. if work_id, get book note for that work_id and edition_id.
openlibrary/core/booknotes.py:99
↓ 2 callersMethodget_patron_observations
Returns a list of observation records containing only type and value IDs. Gets all of a patron's observation records by default. Re
openlibrary/core/observations.py:891
↓ 2 callersFunctionget_pd_options
Returns a list of all print-disability qualifying organization options
openlibrary/plugins/openlibrary/pd.py:20
↓ 2 callersFunctionget_pending_books
(books)
scripts/affiliate_server.py:386
↓ 2 callersMethodget_permission
(self, key)
openlibrary/plugins/admin/code.py:664
↓ 2 callersMethodget_products
:param str asins: One or more ItemIds like ASIN that uniquely identify an item or product URL. (Max 10) Separated by comma or as a li
openlibrary/core/vendors.py:136
↓ 2 callersFunctionget_provider_order
(prefer_ia: bool = False)
openlibrary/book_providers.py:756
↓ 2 callersMethodget_redirect_chain
(work_key: str)
openlibrary/core/models.py:719
↓ 2 callersMethodget_reviewers
(cls)
openlibrary/core/edits.py:108
↓ 2 callersFunctionget_s3_keys
Return S3 keys from the session cookie, falling back to the account store. New logins set an encrypted ``s3`` cookie; this fallback handles sessi
openlibrary/accounts/model.py:108
↓ 2 callersFunctionget_sample_amazon_item
()
openlibrary/tests/core/sample_amazon_record.py:152
↓ 2 callersMethodget_seed
Get the day's seed.
scripts/obfi/mktable.py:59
↓ 2 callersMethodget_seed
Returns the seed object.
openlibrary/core/lists/model.py:626
↓ 2 callersMethodget_seeds
(self, sort=False, resolve_redirects=False)
openlibrary/core/lists/model.py:666
↓ 2 callersFunctionget_solr_fields_for_works
( field: str, wkeys: Iterable[str], clip_limit: int | None = None, )
openlibrary/plugins/books/readlinks.py:22
↓ 2 callersFunctionget_solr_updaters
()
openlibrary/solr/update.py:40
↓ 2 callersFunctionget_status_for_view
Returns localized status string that corresponds with the given status code.
openlibrary/core/edits.py:17
↓ 2 callersFunctionget_subject_async
Returns data related to a subject. By default, it returns a storage object with key, name, work_count and works. The offset and limit argumen
openlibrary/plugins/worksearch/subjects.py:108
↓ 2 callersFunctionget_subject_tag_types
()
openlibrary/plugins/upstream/addtag.py:22
↓ 2 callersMethodget_submitters
(cls)
openlibrary/core/edits.py:102
↓ 2 callersMethodget_tag_line
(self, line)
openlibrary/catalog/marc/marc_binary.py:155
↓ 2 callersMethodget_template_path
(self, typ: Literal["read_button", "download_options"])
openlibrary/book_providers.py:220
↓ 2 callersMethodget_text
Returns text of the combined documents
openlibrary/plugins/upstream/code.py:174
↓ 2 callersFunctionget_thing_id
(key)
openlibrary/data/db.py:219
↓ 2 callersFunctionget_top_languages
( limit: int, user_lang: str, sort: Literal["count", "name", "ebook_edition_count"] = "count", )
openlibrary/plugins/worksearch/languages.py:20
↓ 2 callersFunctionget_trending_books
( since_days=1, since_hours=0, limit=18, page=1, sort_by_count=True, minimum=0, fi
openlibrary/views/loanstats.py:50
↓ 2 callersMethodget_undo_changeset
Returns the changeset that undone this transaction if one exists, None otherwise.
openlibrary/plugins/upstream/models.py:836
↓ 2 callersFunctionget_unique_logins_since
(since_days=30)
openlibrary/core/admin.py:170
↓ 2 callersMethodget_user
(self)
openlibrary/core/waitinglist.py:61
↓ 2 callersMethodget_user_yearly_read_counts
Returns books read by year for a given user.
openlibrary/core/bookshelves_events.py:70
↓ 2 callersFunctionget_username
(account)
openlibrary/tests/accounts/test_models.py:8
↓ 2 callersMethodget_waiting_in_days
(self)
openlibrary/core/waitinglist.py:71
↓ 2 callersMethodget_work_from_id
Gets work data for a given work ID (OLxxxxxW format), used to access work author, title, etc. for CSV generation.
openlibrary/plugins/upstream/account.py:988
↓ 2 callersMethodget_work_ratings_summary
(cls, work_id: int)
openlibrary/core/ratings.py:82
↓ 2 callersMethodget_work_summary
(cls, work_id: str)
openlibrary/core/bookshelves.py:692
↓ 2 callersMethodgettext
(self, message)
openlibrary/tests/core/test_i18n.py:10
↓ 2 callersFunctiongzwrite
(path, data)
openlibrary/data/sitemap.py:74
↓ 2 callersMethodhandle
(self, cls, args=(), librarians=False)
openlibrary/plugins/admin/code.py:137
↓ 2 callersFunctionhasFailure
()
openlibrary/plugins/openlibrary/js/goodreads_import.js:59
↓ 2 callersMethodhas_borrowed
Returns True if this user has borrowed given book.
openlibrary/core/models.py:1079
↓ 2 callersMethodhas_metadata
(self)
openlibrary/core/lists/model.py:501
↓ 2 callersMethodhas_permission
Returns True if the given user can create a new Tag
openlibrary/plugins/upstream/addtag.py:105
↓ 2 callersMethodhas_permission
Returns `True` if the current user is permitted to edit a tag. :param tag: A Tag object :return: True if current user can ed
openlibrary/plugins/upstream/addtag.py:214
↓ 2 callersMethodhas_valid_files
(self)
openlibrary/coverstore/archive.py:314
↓ 2 callersMethodhas_value
(cls, value: int)
openlibrary/core/bookshelves_events.py:13
↓ 2 callersFunctionhighlight
(value, term)
openlibrary/plugins/openlibrary/js/autocomplete.js:14
↓ 2 callersFunctionhydrateFacets
* Adds click listeners to the "show more" and "show less" facet affordances.
openlibrary/plugins/openlibrary/js/search.js:99
↓ 2 callersMethodia_import
( cls, identifier: str, require_marc: bool = True, force_import: bool = False,
openlibrary/plugins/importapi/code.py:233
↓ 2 callersMethodimport_first_staged
Import the first staged item in import_item matching the ia_id identifiers. This changes the status of matching ia_id identifiers to
openlibrary/core/imports.py:161
↓ 2 callersMethodinit
(self, lang, translations)
openlibrary/tests/core/test_i18n.py:24
↓ 2 callersMethodinitModifyListAffordances
* Hydrates the given dropdown list affordance elements and stores list data. * * Each given element is decorated with additional information
openlibrary/plugins/openlibrary/js/my-books/MyBooksDropper/ReadingLists.js:156
↓ 2 callersMethodinitialize
()
openlibrary/plugins/openlibrary/js/my-books/MyBooksDropper/CheckInComponents.js:543
↓ 2 callersMethodis_curator
(self)
openlibrary/core/models.py:988
↓ 2 callersMethodis_enabled
(self)
openlibrary/plugins/upstream/merge_authors.py:215
↓ 2 callersMethodis_expired
(self)
openlibrary/core/lending.py:911
↓ 2 callersFunctionis_independently_published
Return True if the book is independently published.
openlibrary/catalog/utils/__init__.py:315
↓ 2 callersFunctionis_isbn_13
Naive check for ISBN-13 identifiers. Returns true if given isbn is in ISBN-13 format.
scripts/promise_batch_imports.py:86
↓ 2 callersFunctionis_non_ia_ocaid
Check if the ocaid "looks like" it's from another provider
openlibrary/book_providers.py:734
↓ 2 callersFunctionis_nonbook
Determine whether binding, or a substring of binding, split on " ", is contained within nonbooks.
scripts/providers/isbndb.py:24
↓ 2 callersFunctionis_promise_item
Returns True if the record is a promise item.
openlibrary/catalog/utils/__init__.py:364
↓ 2 callersMethodis_read_only
(self)
openlibrary/core/models.py:985
↓ 2 callersFunctionis_safe_redirect
(url: str)
openlibrary/plugins/upstream/utils.py:773
↓ 2 callersMethodis_subscribed
(cls, subscriber, publisher)
openlibrary/core/follows.py:32
↓ 2 callersMethodis_timeout
(self)
openlibrary/core/processors/invalidation.py:105
↓ 2 callersMethodis_uploaded
Looks within an archive.org item and determines whether either a .zip files exists :param item: name of archive.org item to
openlibrary/coverstore/archive.py:56
↓ 2 callersMethodis_valid_identifier
Return `True` if there is a valid identifier.
openlibrary/core/models.py:388
↓ 2 callersFunctionis_valid_ocaid
(ocaid: str)
openlibrary/solr/data_provider.py:47
↓ 2 callersFunctionisbnConfirmAdd
(data)
openlibrary/plugins/openlibrary/js/edit.js:100
↓ 2 callersMethodisbn_redirect
(self, isbn_param)
openlibrary/plugins/worksearch/code.py:761
↓ 2 callersMethoditer_directory
(self)
openlibrary/catalog/marc/marc_binary.py:95
↓ 2 callersFunctionjsonget
(url)
scripts/copydocs.py:279
↓ 2 callersMethodjsonget
(self, path)
openlibrary/coverstore/tests/test_webapp.py:59
↓ 2 callersFunctionkebab_case
:param str upper_camel_case: Text in upper camel case (e.g. "HelloWorld") :return: text in kebab case (e.g. 'hello-world') >>> kebab_cas
openlibrary/plugins/upstream/utils.py:173
↓ 2 callersMethodkey_test
(self, key: str)
openlibrary/solr/updater/list.py:23
↓ 2 callersFunctionkeyword_match
(in1, in2)
openlibrary/catalog/add_book/match.py:343
↓ 2 callersMethodleader
(self)
openlibrary/catalog/marc/marc_binary.py:107
↓ 2 callersFunctionless
(header, start_facet_count, facet_inc)
openlibrary/plugins/openlibrary/js/search.js:36
↓ 2 callersMethodlink_editions_to_works
:param solr_docs: Solr work/edition docs, augmented with reading log data
openlibrary/core/bookshelves.py:229
↓ 2 callersFunctionlistEditionLanguages
* Format an edition's language codes as a short, localized list for the * "In <language>" hint: up to HINT_LANG_LIMIT names joined with ", ", with a
openlibrary/plugins/openlibrary/js/search-modal/constants.js:272
↓ 2 callersFunctionload_config
(configfile)
scripts/affiliate_server.py:631
↓ 2 callersFunctionload_configs
( c_host: str, c_config: str, c_data_provider: (DataProvider | Literal["default", "external"]) = "
openlibrary/solr/update.py:141
↓ 2 callersFunctionlockBodyScroll
()
openlibrary/components/lit/utils/scroll-lock.js:23
↓ 2 callersFunctionlog
(*args)
scripts/oldump.py:16
↓ 2 callersFunctionlog_api_failure
(_resp)
scripts/gh_scripts/issue_comment_bot.py:111
↓ 2 callersMethodlogin
Tries to login with the given password and returns the status. The return value can be one of the following: * ok *
openlibrary/accounts/model.py:329
↓ 2 callersFunctionluqum_replace_child
Replaces a child in a luqum parse tree.
openlibrary/solr/query_utils.py:37
↓ 2 callersFunctionluqum_replace_field
In-place replaces portions of a field, as indicated by the replacement function. :param query: Passed in the form of a luqum tree :param
openlibrary/solr/query_utils.py:254
↓ 2 callersFunctionmain
( solr_container="openlibrary-solr-1", graphite_prefix="stats.ol.solr0", graphite_address="graphit
scripts/monitoring/solr_logs_monitor.py:214
↓ 2 callersFunctionmake_cache_key
Takes a `product` returned from `vendor.get_products()` and returns a cache key to identify the product. For a given product, the cache key w
scripts/affiliate_server.py:401
↓ 2 callersFunctionmake_ia_token
Make a key that allows a client to access the item on archive.org for the number of seconds from now.
openlibrary/plugins/upstream/borrow.py:487
↓ 2 callersFunctionmake_redirect_doc
(key, redirect)
openlibrary/plugins/upstream/merge_authors.py:208
← previousnext →1,201–1,300 of 6,179, ranked by callers