MCPcopy Create free account

hub / github.com/internetarchive/openlibrary / functions

Functions6,179 in github.com/internetarchive/openlibrary

↓ 1 callersMethodaddOpenListModalClickListener
* Adds click listener to the given "Create a new list" button. * * When the button is clicked, a modal containing the list creation form
openlibrary/plugins/openlibrary/js/my-books/MyBooksDropper/ReadingLists.js:286
↓ 1 callersFunctionaddShareModalButtonListeners
* Adds click listeners to buttons in all notes modals on a page.
openlibrary/plugins/openlibrary/js/modals/index.js:17
↓ 1 callersMethodadd_acquisition_links
(self, book, collection)
openlibrary/plugins/openlibrary/opds.py:145
↓ 1 callersMethodadd_author
(self, name, uri=None)
openlibrary/plugins/openlibrary/opds.py:78
↓ 1 callersMethodadd_categories
(self, categories: list[str])
scripts/providers/import_wikisource.py:290
↓ 1 callersMethodadd_category
(self, term, label)
openlibrary/plugins/openlibrary/opds.py:133
↓ 1 callersMethodadd_cors_headers
(self)
openlibrary/plugins/openlibrary/processors.py:73
↓ 1 callersMethodadd_file
(self, name, filepath, **args)
openlibrary/coverstore/archive.py:451
↓ 1 callersMethodadd_isbns
(self)
openlibrary/core/ia.py:315
↓ 1 callersFunctionadd_items
(batch_name, filename)
scripts/manage-imports.py:73
↓ 1 callersFunctionadd_label_to_issues
(issues)
scripts/gh_scripts/issue_comment_bot.py:317
↓ 1 callersMethodadd_metadata
(self, metadata: dict)
openlibrary/core/ia.py:279
↓ 1 callersFunctionadd_new_scans
Adds new scans from yesterday.
scripts/manage-imports.py:113
↓ 1 callersMethodadd_non_solr_fields
(self, solr_fields: set[str], solr_result: dict)
openlibrary/plugins/worksearch/schemes/__init__.py:141
↓ 1 callersMethodadd_oclcs
(self, oclcs: list[str])
scripts/providers/import_wikisource.py:293
↓ 1 callersMethodadd_publish_place
(self, places: list[str])
scripts/providers/import_wikisource.py:277
↓ 1 callersMethodadd_publishers
(self, publishers: list[str])
scripts/providers/import_wikisource.py:274
↓ 1 callersMethodadd_query
(self, query, result)
openlibrary/plugins/upstream/tests/test_merge_authors.py:47
↓ 1 callersMethodadd_rel_links
(self, book, work)
openlibrary/plugins/openlibrary/opds.py:183
↓ 1 callersFunctionadd_row
* Adds another input box below the last when adding multiple websites to user profile. * @param string name - when prefixed with clone_ should match
openlibrary/plugins/openlibrary/js/edit.js:416
↓ 1 callersFunctionadd_seed
(seed)
scripts/copydocs.py:296
↓ 1 callersMethodadd_solr_works_async
Given a list of readinglog_items, such as those returned by Bookshelves.most_logged_books, fetch the corresponding Open Library book r
openlibrary/core/bookshelves.py:149
↓ 1 callersMethodadd_storage_items_for_deletes
(cls, reading_log_keys, solr_docs: list[web.Storage])
openlibrary/core/bookshelves.py:311
↓ 1 callersMethodadd_storage_items_for_redirects
Use reading_log_keys to fill in missing redirected items in the the solr_docs query results. Solr won't return matches for w
openlibrary/core/bookshelves.py:252
↓ 1 callersMethodadd_string
(self, key, val)
openlibrary/plugins/importapi/import_edition_builder.py:93
↓ 1 callersMethodadd_tag
(self, tag)
openlibrary/accounts/model.py:417
↓ 1 callersMethodappendLoadingSlide
()
openlibrary/plugins/openlibrary/js/carousel/Carousel.js:205
↓ 1 callersMethodapplyImage
()
openlibrary/components/lit/OLMarkdownEditor.js:557
↓ 1 callersMethodapplyLink
()
openlibrary/components/lit/OLMarkdownEditor.js:525
↓ 1 callersFunctionapproveRequest
(mrid, comment)
openlibrary/plugins/openlibrary/js/merge-request-table/MergeRequestService.js:87
↓ 1 callersFunctionarchive
Move files from local disk to tar files and update the paths in the db.
openlibrary/coverstore/archive.py:351
↓ 1 callersMethodas_fake_solr_record
(self)
openlibrary/plugins/upstream/models.py:659
↓ 1 callersMethodassign_request
Changes assignees to the request with the given ID. This method only modifies requests that are not closed. If the given reviewer is
openlibrary/core/edits.py:201
↓ 1 callersMethodasync_call
(self, func: Callable[[], Awaitable[T]])
openlibrary/utils/retry.py:38
↓ 1 callersMethodattach
()
openlibrary/plugins/openlibrary/js/list_books.js:13
↓ 1 callersMethodattachToTrigger
(trigger)
openlibrary/plugins/openlibrary/js/search-modal/SearchModal.js:937
↓ 1 callersFunctionautoSize
()
openlibrary/components/lit/html-block.js:58
↓ 1 callersFunctionbatch_import
(promise_id, batch_size=1000, dry_run=False)
scripts/promise_batch_imports.py:143
↓ 1 callersFunctionbatch_import
(path, batch, batch_size=5000)
scripts/partner_batch_imports.py:374
↓ 1 callersFunctionbatch_import
(path: str, batch: Batch, import_status: str, batch_size: int = 5000)
scripts/providers/isbndb.py:186
↓ 1 callersMethodbind_to_webpy_app
(self, app: web.application)
openlibrary/utils/sentry.py:79
↓ 1 callersMethodbuild
(self)
openlibrary/solr/updater/list.py:79
↓ 1 callersMethodbuild
(self)
openlibrary/solr/updater/author.py:120
↓ 1 callersFunctionbuild_data1
()
openlibrary/plugins/books/tests/test_dynlinks.py:39
↓ 1 callersFunctionbuild_data9
()
openlibrary/plugins/books/tests/test_dynlinks.py:55
↓ 1 callersFunctionbuild_more_stores
Build list of additional affiliate store data for rendering in AffiliateLinks.html.
openlibrary/plugins/openlibrary/partials.py:281
↓ 1 callersFunctionbuild_pagination_links
Build pagination links (next and prev) for list endpoints. Args: page_url: The page URL used as the base for constructing next/prev links
openlibrary/plugins/openlibrary/lists.py:501
↓ 1 callersFunctionbuild_parser
()
scripts/delete_import_items.py:133
↓ 1 callersFunctionbuild_primary_stores
Build affiliate store data for rendering in AffiliateLinks.html.
openlibrary/plugins/openlibrary/partials.py:243
↓ 1 callersMethodbuild_q_from_params
(self, params: dict)
openlibrary/plugins/worksearch/schemes/__init__.py:128
↓ 1 callersMethodbuild_ratings
(self)
openlibrary/solr/updater/author.py:126
↓ 1 callersMethodbuild_ratings
(self)
openlibrary/solr/updater/work.py:570
↓ 1 callersMethodbuild_reading_log
(self)
openlibrary/solr/updater/author.py:129
↓ 1 callersMethodbuild_reading_log
(self)
openlibrary/solr/updater/work.py:573
↓ 1 callersFunctionbuild_subject_doc
Build the `type:subject` solr doc for this subject.
scripts/solr_builder/solr_builder/index_subjects.py:22
↓ 1 callersMethodbuild_subjects
(self)
openlibrary/solr/updater/work.py:671
↓ 1 callersMethodcache_edition_authors
(self, lo_key, hi_key)
scripts/solr_builder/solr_builder/solr_builder.py:167
↓ 1 callersMethodcache_work_authors
(self, lo_key, hi_key)
scripts/solr_builder/solr_builder/solr_builder.py:181
↓ 1 callersMethodcache_work_editions
(self, lo_key, hi_key)
scripts/solr_builder/solr_builder/solr_builder.py:156
↓ 1 callersMethodcache_work_ratings
(self, lo_key, hi_key)
scripts/solr_builder/solr_builder/solr_builder.py:198
↓ 1 callersMethodcache_work_reading_logs
(self, lo_key: str, hi_key: str)
scripts/solr_builder/solr_builder/solr_builder.py:216
↓ 1 callersFunctioncached_get_amazon_metadata
If the cached data is `None`, it's likely a 503 throttling occurred on Amazon's side. Try again to fetch the value instead of using the cached
openlibrary/core/vendors.py:770
↓ 1 callersFunctioncached_get_most_logged_books
( shelf_ids: list[int] | None = None, since_days: int | None = 1, limit: int = 20, page: int =
openlibrary/views/loanstats.py:89
↓ 1 callersFunctioncached_reading_log_leaderboard
(limit: int)
openlibrary/views/loanstats.py:127
↓ 1 callersFunctioncalc_list_counts
()
openlibrary/admin/vitals.py:50
↓ 1 callersMethodcalc_reading_log_counts
(cls)
openlibrary/core/bookshelves.py:724
↓ 1 callersMethodcalc_star_rating_counts
(cls)
openlibrary/core/ratings.py:197
↓ 1 callersFunctioncalc_totals
(_request_data)
openlibrary/plugins/openlibrary/pd.py:79
↓ 1 callersFunctioncapitalize
(text)
openlibrary/plugins/openlibrary/js/team.js:299
↓ 1 callersFunctionchangequery
>>> changequery('http://google.com/search?q=foo', q='bar', x='y') 'http://google.com/search?q=bar&x=y'
openlibrary/coverstore/utils.py:127
↓ 1 callersMethodchoose_best_identifier
(self, identifiers: list[str])
openlibrary/book_providers.py:208
↓ 1 callersFunctionclaimRequest
(mrid)
openlibrary/plugins/openlibrary/js/merge-request-table/MergeRequestService.js:75
↓ 1 callersMethodclaimRequest
* `POST`s claim to review this request, then updates the view. * * Hides the review button, and shows the assignee display.
openlibrary/plugins/openlibrary/js/merge-request-table/MergeRequestTable/TableRow.js:243
↓ 1 callersMethodclean_highlighting
Remove highlight fragments that only contain stop words, and sort by most matches. :param highlighting: solr highlighting response.
openlibrary/plugins/worksearch/code.py:593
↓ 1 callersFunctionclean_raw_lcc
(raw_lcc)
openlibrary/components/LibraryExplorer/utils/lcc.js:55
↓ 1 callersFunctionclean_raw_lcc
Remove noise in lcc before matching to LCC_PARTS_RE
openlibrary/utils/lcc.py:155
↓ 1 callersMethodclearAndReset
* Clears all items selected in SelectionManager. * * This indirectly calls `IntegratedLibrarianEnvironment.reset()`.
openlibrary/plugins/openlibrary/js/ile/index.js:71
↓ 1 callersMethodclearCarousel
()
openlibrary/plugins/openlibrary/js/carousel/Carousel.js:201
↓ 1 callersFunctionclearForm
* Unchecks all inputs in an observations modal form. * * @param {JQuery} $form An observations modal form
openlibrary/plugins/openlibrary/js/modals/index.js:362
↓ 1 callersMethodclearSelectedItems
()
openlibrary/plugins/openlibrary/js/ile/utils/SelectionManager/SelectionManager.js:246
↓ 1 callersFunctionclearTextSelection
* Cross-browser approach to clear any text selections.
openlibrary/plugins/openlibrary/js/ile/utils/SelectionManager/SelectionManager.js:326
↓ 1 callersMethodclear_cache
(self)
openlibrary/solr/data_provider.py:277
↓ 1 callersMethodclear_cache
(self)
openlibrary/solr/data_provider.py:568
↓ 1 callersMethodcloseMenusIfClickOutside
* Close all dropdown menus when click anywhere on screen that's not part of * the dropdown menu; otherwise, keep dropdown menu open. *
openlibrary/plugins/openlibrary/js/merge-request-table/MergeRequestTable/TableHeader.js:110
↓ 1 callersMethodcloseOtherMenus
* Close dropdown menus whose menu button doesn't match a given id. * * @param {string} menuButtonId
openlibrary/plugins/openlibrary/js/merge-request-table/MergeRequestTable/TableHeader.js:79
↓ 1 callersMethodcloseRequest
* Closes the request linked to this row, and removes this * row from the DOM.
openlibrary/plugins/openlibrary/js/merge-request-table/MergeRequestTable/TableRow.js:168
↓ 1 callersMethodcolumn_option_to_sql
( self, column: str, option: Literal["primary_key", "unique", "default", "null", "refe
openlibrary/utils/schema.py:65
↓ 1 callersFunctioncombinations
(items, n)
openlibrary/tests/catalog/test_utils.py:139
↓ 1 callersFunctioncommentOnRequest
(mrid, comment)
openlibrary/plugins/openlibrary/js/merge-request-table/MergeRequestService.js:66
↓ 1 callersMethodcomment_request
(cls, rid: int, username: str, comment: str)
openlibrary/core/edits.py:277
↓ 1 callersFunctioncommit_batch
(batch_name: str, olbooks: list[dict[str, Any]], batch_size: int = 1000)
scripts/bwb_opds_imports.py:362
↓ 1 callersFunctioncompare_author_keywords
(e1_authors, e2_authors)
openlibrary/catalog/add_book/match.py:287
↓ 1 callersFunctioncompare_country
(e1: dict, e2: dict)
openlibrary/catalog/add_book/match.py:190
↓ 1 callersFunctioncompare_number_of_pages
(amazon, marc)
openlibrary/catalog/add_book/match.py:389
↓ 1 callersFunctioncompare_title
(amazon, marc)
openlibrary/catalog/add_book/match.py:354
↓ 1 callersFunctioncompile_translations
(locales: list[str])
openlibrary/i18n/__init__.py:213
↓ 1 callersMethodcompute_index
(self, doc)
openlibrary/mocks/mock_infobase.py:262
↓ 1 callersFunctioncompute_trending_value
(pageviews_today: int, book_events_today: int)
scripts/solr_updater/trending_updater_hourly.py:247
↓ 1 callersFunctionconfig_section_to_dict
Read a config file's section as a dict :param str config_file: filename of config file :param str section: section to pull data from
scripts/solr_builder/solr_builder/solr_builder.py:26
↓ 1 callersFunctionconfigure_statsd
(_configfile)
openlibrary/admin/vitals.py:12
← previousnext →1,701–1,800 of 6,179, ranked by callers