MCPcopy Create free account

hub / github.com/internetarchive/openlibrary / functions

Functions6,179 in github.com/internetarchive/openlibrary

↓ 1 callersMethodis_cover_in_cluster
Returns True if the cover is moved to archive.org cluster. It is found by looking at the config variable max_coveritem_index.
openlibrary/coverstore/code.py:348
↓ 1 callersMethodis_empty
(self)
openlibrary/plugins/upstream/table_of_contents.py:154
↓ 1 callersFunctionis_empty_annotated_seed
An empty seed can be represented as a simple SeedDict
openlibrary/plugins/openlibrary/lists.py:57
↓ 1 callersMethodis_enabled
(self)
openlibrary/plugins/openlibrary/lists.py:283
↓ 1 callersFunctionis_exclusion
Returns True if *thing* should be excluded from public view. A thing is excluded when it is an author whose key is in the ``author_exclusions
openlibrary/core/helpers.py:341
↓ 1 callersMethodis_following
(cls, username)
openlibrary/core/follows.py:176
↓ 1 callersMethodis_ia_scan
(self)
openlibrary/core/models.py:458
↓ 1 callersFunctionis_ignored
(c)
openlibrary/plugins/upstream/utils.py:1342
↓ 1 callersFunctionis_isbn
Return True if the bib_key is ostensibly an ISBN (i.e. 10 or 13 characters).
openlibrary/plugins/books/dynlinks.py:518
↓ 1 callersFunctionis_loaned_out_on_ia
Returns True if the item is checked out on Internet Archive.
openlibrary/core/lending.py:597
↓ 1 callersFunctionis_loaned_out_on_ol
Returns True if the item is checked out on Open Library.
openlibrary/core/lending.py:608
↓ 1 callersFunctionis_number
>>> all(is_number(n) for n in (1234, "1234", -1234, "-1234", 123.4, -123.4)) True >>> not any(is_number(n) for n in ("123.4", "-123.4", "
openlibrary/utils/__init__.py:175
↓ 1 callersMethodis_ol_loan
(self)
openlibrary/core/lending.py:896
↓ 1 callersMethodis_own_ocaid
(self, ocaid: str)
openlibrary/book_providers.py:422
↓ 1 callersMethodis_ratelimited
(cls, ttl=60, service_ip="", **kwargs)
openlibrary/core/auth.py:131
↓ 1 callersFunctionis_recognized_bot
()
openlibrary/plugins/openlibrary/code.py:1083
↓ 1 callersFunctionis_revert
(r)
openlibrary/plugins/upstream/utils.py:1305
↓ 1 callersMethodis_search_field
(self, field: str)
openlibrary/plugins/worksearch/schemes/works.py:270
↓ 1 callersFunctionis_seed_subject_string
(seed: str)
openlibrary/plugins/openlibrary/lists.py:52
↓ 1 callersFunctionis_sine_nomine
Check if the publisher is 'sn' (excluding non-letter characters).
openlibrary/solr/updater/edition.py:93
↓ 1 callersFunctionis_spam_email
(email: str)
openlibrary/plugins/upstream/spamcheck.py:65
↓ 1 callersMethodis_subscribed_user
(self, username: str)
openlibrary/core/models.py:954
↓ 1 callersFunctionis_users_turn_to_borrow
If this user is waiting on this edition, it can only borrowed if user is the user is the first in the waiting list.
openlibrary/plugins/upstream/borrow.py:444
↓ 1 callersMethodis_valid
(cls, client_email, client_ip, service_ip, otp)
openlibrary/core/auth.py:156
↓ 1 callersMethodis_valid_item
Returns True if the item with metadata can be usable as edition in Open Library. Items that are not book scans, darked or with noinde
openlibrary/core/ia.py:270
↓ 1 callersFunctionis_visited
(key)
openlibrary/plugins/upstream/utils.py:1295
↓ 1 callersMethodis_zip_complete
(item_id, batch_id, size="", verbose=False)
openlibrary/coverstore/archive.py:155
↓ 1 callersFunctionisbn_transform
(sf: luqum.tree.SearchField)
openlibrary/plugins/worksearch/schemes/works.py:722
↓ 1 callersFunctionisint
(k: Any)
openlibrary/plugins/upstream/utils.py:319
↓ 1 callersMethodisnonbook
(self)
scripts/partner_batch_imports.py:297
↓ 1 callersMethodissue_otp
(cls, email, service="ol", originating_ip=None)
openlibrary/accounts/model.py:924
↓ 1 callersFunctioniter_marc
(data)
scripts/lc_marc_update.py:104
↓ 1 callersMethoditerate_users_logged_books
Heavy users will have long lists of books which consume lots of memory and cause performance issues. So, instead of creating a big l
openlibrary/core/bookshelves.py:554
↓ 1 callersFunctionjoinField
(vals)
openlibrary/plugins/openlibrary/js/autocomplete.js:318
↓ 1 callersMethodjoin_threads
Waits for all active threads to finish. Used only in testing.
openlibrary/core/cache.py:161
↓ 1 callersMethodjoin_waitinglist
(self, identifier, userid)
openlibrary/core/lending.py:1007
↓ 1 callersFunctionlcc_transform
(sf: luqum.tree.SearchField)
openlibrary/plugins/worksearch/schemes/works.py:670
↓ 1 callersMethodleader
(self)
openlibrary/catalog/marc/marc_xml.py:72
↓ 1 callersMethodleave_waitinglist
(self, identifier, userid)
openlibrary/core/lending.py:1010
↓ 1 callersFunctionlegacy_count_json
(params)
openlibrary/tests/fastapi/test_bestbook.py:35
↓ 1 callersFunctionlevel1_match
:param dict e1: Expanded Edition, output of expand_record() :param dict e2: Expanded Edition, output of expand_record() :rtype: list
openlibrary/catalog/add_book/match.py:238
↓ 1 callersFunctionlevel2_match
:param dict e1: Expanded Edition, output of expand_record() :param dict e2: Expanded Edition, output of expand_record() :rtype: list
openlibrary/catalog/add_book/match.py:257
↓ 1 callersFunctionlimitChars
* Gets length of 'textid' section and limit textid value length to input 'limit' * * @param {String} textid text section id name * @param {Number}
openlibrary/plugins/openlibrary/js/edit.js:50
↓ 1 callersFunctionloadEditionsGraph
()
openlibrary/plugins/openlibrary/js/graphs/plot.js:18
↓ 1 callersFunctionloadGraph
(id, options = {}, tooltip_message = '', color = null)
openlibrary/plugins/openlibrary/js/graphs/plot.js:249
↓ 1 callersFunctionload_author_import_records
Steps through an import record's authors, and creates new records if new, adding them to 'edits' to be saved later. :param list authors_
openlibrary/catalog/add_book/__init__.py:244
↓ 1 callersFunctionload_components
Index cleaned component API data by tag name from the committed manifest. Returns an empty dict if the manifest is missing or unreadable so the d
openlibrary/plugins/openlibrary/design.py:74
↓ 1 callersMethodload_items
Adds all the items specified in the filename to this batch.
openlibrary/core/imports.py:55
↓ 1 callersFunctionload_locale
(lang)
openlibrary/i18n/__init__.py:330
↓ 1 callersMethodload_ratings
Load the ratings into self.ratings from the storage docs, such that the index of each returned rating corresponds to the index of eac
openlibrary/core/models.py:1310
↓ 1 callersFunctionload_state
Retrieves starting point from logfile, if log exists Takes as input a path which expands to an ordered candidate list of bettworldbks* filena
scripts/partner_batch_imports.py:304
↓ 1 callersFunctionload_state
Retrieves starting point from logfile, if log exists Takes as input a path which expands to an ordered candidate list of isbndb* filenames to
scripts/providers/isbndb.py:135
↓ 1 callersFunctionload_stopwords
Load stop words for a given language
openlibrary/plugins/worksearch/code.py:536
↓ 1 callersFunctionload_views
Registers all views by loading all view modules.
openlibrary/code.py:69
↓ 1 callersFunctionload_yaml
(text)
openlibrary/core/formats.py:13
↓ 1 callersFunctionlocal_ip
()
openlibrary/plugins/admin/code.py:201
↓ 1 callersFunctionlog
(*args)
openlibrary/coverstore/archive.py:27
↓ 1 callersFunctionloggedin
Returns True if any user is logged in.
openlibrary/plugins/openlibrary/filters.py:25
↓ 1 callersFunctionlogin
(h1, password)
scripts/lc_marc_update.py:113
↓ 1 callersMethodlogin
(self)
openlibrary/plugins/openlibrary/tests/test_ratingsapi.py:32
↓ 1 callersFunctionlongquery
Execute an expensive query using db cursors. USAGE: for chunk in longquery("SELECT * FROM bigtable"): for row in chunk:
openlibrary/data/db.py:79
↓ 1 callersFunctionluqum_deepcopy
Create a deep copy of a luqum query tree. Lazy implementation, does a re-parse.
openlibrary/solr/query_utils.py:278
↓ 1 callersFunctionmain
()
scripts/expire_accounts.py:22
↓ 1 callersFunctionmain
()
scripts/migrate_db.py:120
↓ 1 callersFunctionmain
()
scripts/manage-imports.py:177
↓ 1 callersFunctionmain
()
scripts/pull-templates.py:80
↓ 1 callersFunctionmain
()
scripts/purge_s3_keys.py:40
↓ 1 callersFunctionmain
(oclc)
scripts/oclc_to_marc.py:31
↓ 1 callersFunctionmain
(dumpfile: str)
scripts/sitemaps/sitemap.py:204
↓ 1 callersFunctionmain
()
scripts/obfi/mktable.py:112
↓ 1 callersFunctionmain
()
scripts/migrations/fix_unicode_html_entities.py:187
↓ 1 callersFunctionmain
()
scripts/gh_scripts/new_pr_labeler.mjs:29
↓ 1 callersFunctionmain
* Runs the weekly status report job. * * This function does the following: * 1. Reads in the configuration file * 2. Assembles a Slack message, on
scripts/gh_scripts/weekly_status_report.mjs:18
↓ 1 callersFunctionmain
(configfile, *args)
openlibrary/coverstore/server.py:48
↓ 1 callersFunctionmain
Command Line interface for generating dumps.
openlibrary/data/dump.py:341
↓ 1 callersFunctionmain
* @param {object} obj * @param {string[]} param1 * @return {any}
openlibrary/plugins/openlibrary/js/readinglog_stats.js:235
↓ 1 callersFunctionmake_amazon_lookup_thread
Called from start_server() and assigned to web.amazon_lookup_thread.
scripts/affiliate_server.py:495
↓ 1 callersFunctionmake_author
Use author_key and author_name and return an Author. >>> make_author("OL123A", "Samuel Clemens") <Author: '/authors/OL123A'>
openlibrary/plugins/upstream/addbook.py:62
↓ 1 callersMethodmake_author
(name)
scripts/providers/isbndb.py:119
↓ 1 callersFunctionmake_bookreader_auth_link
Generate a link to BookReaderAuth.php that starts the BookReader with the information to initiate reading a borrowed book
openlibrary/plugins/upstream/borrow.py:501
↓ 1 callersMethodmake_dark
(edition, ocaid)
openlibrary/plugins/openlibrary/api.py:896
↓ 1 callersMethodmake_export
(data: list[dict], fieldnames: list[str])
openlibrary/plugins/upstream/account.py:975
↓ 1 callersFunctionmake_path_prefix
Makes a file prefix for storing an image.
openlibrary/coverstore/coverlib.py:54
↓ 1 callersFunctionmake_pd_request_query
()
openlibrary/core/pd.py:4
↓ 1 callersMethodmake_record
(self, bib_keys)
openlibrary/plugins/books/readlinks.py:97
↓ 1 callersFunctionmake_redirect
(master_key, dupe)
openlibrary/components/MergeUI/utils.js:155
↓ 1 callersMethodmake_redirects
(self, master: str, duplicates: list[str])
openlibrary/plugins/upstream/merge_authors.py:27
↓ 1 callersMethodmake_work_from_orphaned_edition
Create a dummy work from an orphaned_edition.
openlibrary/core/models.py:463
↓ 1 callersFunctionmakelist
Convert d into a list if all the keys of d are integers.
openlibrary/plugins/upstream/utils.py:333
↓ 1 callersFunctionmap_book_to_olbook
(book, promise_id)
scripts/promise_batch_imports.py:51
↓ 1 callersMethodmarc8
Is this binary MARC21 MARC8 encoded? (utf-8 if False)
openlibrary/catalog/marc/marc_binary.py:110
↓ 1 callersFunctionmatch
(path)
openlibrary/core/processors/readableurls.py:125
↓ 1 callersFunctionmatches
(expected: dict)
openlibrary/plugins/worksearch/code.py:159
↓ 1 callersFunctionmatches
(params)
openlibrary/plugins/openlibrary/js/search-modal/constants.js:154
↓ 1 callersFunctionmaybeApplyStickyFilters
* If the URL has no filter params at all and sessionStorage has a non-default * value, replace-navigate to /search with the sticky filters applied. R
openlibrary/plugins/openlibrary/js/SearchFilterBar.js:80
↓ 1 callersMethodmc_set_multi
(self, mapping)
openlibrary/plugins/openlibrary/connection.py:365
↓ 1 callersFunctionmkdir_p
(dir)
openlibrary/data/sitemap.py:119
↓ 1 callersFunctionmock_get_stats
()
openlibrary/core/admin.py:189
↓ 1 callersFunctionmock_web_input_func
(data)
openlibrary/tests/fastapi/test_work_bookshelves.py:17
↓ 1 callersMethodmost_rated_books
(cls, limit=10, since=False)
openlibrary/core/ratings.py:60
← previousnext →2,301–2,400 of 6,179, ranked by callers