Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/internetarchive/openlibrary
/ functions
Functions
6,179 in github.com/internetarchive/openlibrary
⨍
Functions
6,179
◇
Types & classes
1,059
↳
Endpoints
131
Function
client
Return a TestClient for the lists router.
openlibrary/tests/fastapi/test_list_view_json.py:9
Function
client
Alias for backward compatibility with existing tests.
openlibrary/tests/fastapi/test_search.py:13
Function
closePopup
()
openlibrary/plugins/openlibrary/js/utils.js:8
Function
cmp
(x, y)
openlibrary/catalog/utils/__init__.py:20
Function
commify
localized version of web.commify
openlibrary/core/helpers.py:184
Function
commify_list
(items: Iterable[Any])
openlibrary/plugins/upstream/utils.py:278
Function
compare
(tagA, tagB)
openlibrary/plugins/openlibrary/js/bulk-tagger/models/Tag.js:36
Method
compress
(text, level=9)
openlibrary/core/middleware.py:28
Method
compute_index
(self, doc)
openlibrary/plugins/ol_infobase.py:551
Function
cond
Lisp style cond function. Hanly to use instead of if-else expression.
openlibrary/core/helpers.py:176
Function
cond
(predicate, true_value, false_value)
openlibrary/plugins/openlibrary/js/utils.js:23
Function
configureApp
(app)
openlibrary/components/rollupInputCore.js:10
Method
connectedCallback
()
openlibrary/components/lit/OlToast.js:321
Method
connectedCallback
()
openlibrary/components/lit/OLMarkdownEditor.js:395
Method
connectedCallback
()
openlibrary/components/lit/OLChipGroup.js:45
Method
connectedCallback
()
openlibrary/components/lit/OLButton.js:55
Method
connectedCallback
()
openlibrary/components/lit/OlBanner.js:112
Method
connectedCallback
()
openlibrary/components/lit/OlSelectPopover.js:376
Method
connectedCallback
()
openlibrary/components/lit/OlDialog.js:651
Method
connectedCallback
()
openlibrary/components/lit/OlToastRegion.js:66
Method
connectedCallback
()
openlibrary/components/lit/OlCarousel.js:322
Method
connectedCallback
()
openlibrary/components/lit/OlTooltip.js:141
Method
connectedCallback
()
openlibrary/components/lit/utils/focusable-host-mixin.js:49
Method
connectedCallback
()
openlibrary/plugins/openlibrary/js/search-modal/SearchModal.js:919
Method
connectedCallback
()
tests/unit/js/focusableHostMixin.test.js:20
Method
constrain
(value, low, high)
openlibrary/plugins/upstream/recentchanges.py:77
Method
constructor
()
openlibrary/components/BarcodeScanner/utils/classes.js:6
Method
constructor
* @param {object} param0 * @param {TFunc} param0.func * @param {function(Parameters<TFunc>[]): Parameters<TFunc>} param0.reducer * @par
openlibrary/components/BarcodeScanner/utils/classes.js:71
Method
constructor
(title = '', author = '', isbn = '')
openlibrary/components/BulkSearch/utils/classes.js:4
Method
constructor
* @param {string} label
openlibrary/components/BulkSearch/utils/classes.js:19
Method
constructor
* * @param {string} label * @param {string} pattern
openlibrary/components/BulkSearch/utils/classes.js:41
Method
constructor
* @param {string} label * @param {string} model
openlibrary/components/BulkSearch/utils/classes.js:67
Method
constructor
* * @param {string} label
openlibrary/components/BulkSearch/utils/classes.js:136
Method
constructor
()
openlibrary/components/BulkSearch/utils/classes.js:178
Method
constructor
()
openlibrary/components/BulkSearch/utils/classes.js:184
Method
constructor
* * @param {ExtractedBook} extractedBook * @param {*} solrDocs
openlibrary/components/BulkSearch/utils/classes.js:196
Method
constructor
()
openlibrary/components/BulkSearch/utils/classes.js:207
Method
constructor
()
openlibrary/components/lit/OlToast.js:306
Method
constructor
()
openlibrary/components/lit/OLReadMore.js:129
Method
constructor
()
openlibrary/components/lit/OlToggle.js:228
Method
constructor
()
openlibrary/components/lit/OLMarkdownEditor.js:381
Method
constructor
()
openlibrary/components/lit/OLChipGroup.js:40
Method
constructor
()
openlibrary/components/lit/OlPagination.js:148
Method
constructor
()
openlibrary/components/lit/OLButton.js:45
Method
constructor
()
openlibrary/components/lit/OlBanner.js:102
Method
constructor
()
openlibrary/components/lit/OlSelectPopover.js:385
Method
constructor
()
openlibrary/components/lit/OlDialog.js:319
Method
constructor
()
openlibrary/components/lit/OpenLibraryOTP.js:36
Method
constructor
()
openlibrary/components/lit/OlToastRegion.js:49
Method
constructor
()
openlibrary/components/lit/OlCarousel.js:279
Method
constructor
()
openlibrary/components/lit/OlOptionsPopover.js:246
Method
constructor
()
openlibrary/components/lit/OlTooltip.js:109
Method
constructor
()
openlibrary/components/lit/OlPopover.js:249
Method
constructor
()
openlibrary/components/lit/OLChip.js:205
Method
constructor
* @param {JQuery} $toast The element containing the appropriate parts * @param {JQuery|HTMLElement} containerParent where to add the toast bar
openlibrary/plugins/openlibrary/js/Toast.js:15
Method
constructor
* Creates a new toast component, adds a close listener to the component, and adds the component * as the first child of the given parent element.
openlibrary/plugins/openlibrary/js/Toast.js:55
Method
constructor
* @param {string} message String that will be displayed within the toast component * @param {string} classes Additional classes to add to the toa
openlibrary/plugins/openlibrary/js/Toast.js:89
Method
constructor
()
openlibrary/plugins/openlibrary/js/lazy-thing-preview.js:21
Method
constructor
* @param {HTMLElement} listBooks * @param {HTMLElement} layoutToolbar
openlibrary/plugins/openlibrary/js/list_books.js:6
Method
constructor
* @param {String} key * @param {PersistentValue.Options} options
openlibrary/plugins/openlibrary/js/SearchUtils.js:15
Method
constructor
* Sets references to key Bulk Tagger affordances. * * @param {HTMLElement} bulkTagger Reference to root element of the Bulk Tagger
openlibrary/plugins/openlibrary/js/bulk-tagger/BulkTagger.js:38
Method
constructor
* Creates a new MenuOption that represents the given tag. * * `rootElement` of this object is not set until `initialize` is called. *
openlibrary/plugins/openlibrary/js/bulk-tagger/BulkTagger/MenuOption.js:41
Method
constructor
* Creates a new sorted menu options container, with the given * element as the root element. * * This container is meant to exclusively
openlibrary/plugins/openlibrary/js/bulk-tagger/BulkTagger/SortedMenuOptionContainer.js:21
Method
constructor
* Creates a new Tag object. * * If only one tag type is passed to the constructor, the missing * tag type will be inferred and set.
openlibrary/plugins/openlibrary/js/bulk-tagger/models/Tag.js:93
Method
constructor
* Creates a new dropper. * * Sets the initial state of the dropper, and sets references to key * dropper elements. * * @param
openlibrary/plugins/openlibrary/js/dropper/Dropper.js:32
Method
constructor
()
openlibrary/plugins/openlibrary/js/ile/index.js:14
Method
constructor
* @param {import('../../index.js').IntegratedLibrarianEnvironment} ile
openlibrary/plugins/openlibrary/js/ile/utils/SelectionManager/SelectionManager.js:20
Method
constructor
* Creates a new `CreateListForm` object. * * Sets references to form inputs and "Create List" button. * * @param {HTMLElement} for
openlibrary/plugins/openlibrary/js/my-books/CreateListForm.js:31
Method
constructor
* Creates references to the given dropper's reading log forms, read date affordances, and * list affordances. * * @param {HTMLElement}
openlibrary/plugins/openlibrary/js/my-books/MyBooksDropper.js:35
Method
constructor
* Initializes the store.
openlibrary/plugins/openlibrary/js/my-books/store/index.js:14
Method
constructor
* Adds functionality to a single dropper's reading log forms. * * @param {HTMLElement} dropper * @param {import('./CheckInComponents')}
openlibrary/plugins/openlibrary/js/my-books/MyBooksDropper/ReadingLogForms.js:48
Method
constructor
* @param checkInContainer
openlibrary/plugins/openlibrary/js/my-books/MyBooksDropper/CheckInComponents.js:43
Method
constructor
* @param {HTMLElement} checkInPrompt
openlibrary/plugins/openlibrary/js/my-books/MyBooksDropper/CheckInComponents.js:351
Method
constructor
* @param {HTMLElement} checkInDisplay
openlibrary/plugins/openlibrary/js/my-books/MyBooksDropper/CheckInComponents.js:426
Method
constructor
* @param {HTMLFormElement} formElem * @param {string} workOlid * @param {string|null} editionKey * @param {string|null} lastReadDate
openlibrary/plugins/openlibrary/js/my-books/MyBooksDropper/CheckInComponents.js:480
Method
constructor
* Adds functionality to the given dropper's list affordances. * @param {HTMLElement} dropper
openlibrary/plugins/openlibrary/js/my-books/MyBooksDropper/ReadingLists.js:25
Method
constructor
* Creates references to the table and its header and hydrates each. * * @param {HTMLElement} mergeRequestTable
openlibrary/plugins/openlibrary/js/merge-request-table/MergeRequestTable.js:23
Method
constructor
* Sets references to many table header affordances. * * @param {HTMLElement} tableHeader
openlibrary/plugins/openlibrary/js/merge-request-table/MergeRequestTable/TableHeader.js:22
Method
constructor
* Creates a new librarian request table row. * * Stores reference to each interactive element in a row. * * @param {HTMLElement} r
openlibrary/plugins/openlibrary/js/merge-request-table/MergeRequestTable/TableRow.js:37
Method
constructor
* @param {jQuery} $container
openlibrary/plugins/openlibrary/js/carousel/Carousel.js:29
Method
constructor
* Creates a new `ShowcaseItem` obect. * * Sets references needed for this ShowcaseItem's functionality. * * @param {HTMLElement} s
openlibrary/plugins/openlibrary/js/lists/ShowcaseItem.js:35
Method
constructor
* Adds functionality to the given navbar element. * * @param {HTMLElement} navbarWrapper
openlibrary/plugins/openlibrary/js/edition-nav-bar/EditionNavBar.js:11
Method
constructor
()
openlibrary/plugins/openlibrary/js/search-modal/SearchModal.js:852
Method
constructor
()
tests/unit/js/focusableHostMixin.test.js:10
Method
contributor
(self)
openlibrary/solr/updater/work.py:455
Function
convert_list
(list)
openlibrary/plugins/openlibrary/lists.py:271
Method
convert_work_field_to_edition_field
Convert a SearchField name (eg 'title') to the correct fieldname for use in an edition query. If no
openlibrary/plugins/worksearch/schemes/works.py:419
Method
convert_work_query_to_edition_query
Convert a work query to an edition query. Mainly involves removing invalid fields, or renaming fields as necessary.
openlibrary/plugins/worksearch/schemes/works.py:437
Method
count_total_books_logged_by_user
Counts the (int) total number of books logged by this `username`, with the option of limiting the count to specific bookshelves by `bo
openlibrary/core/bookshelves.py:178
Method
count_total_booksnotes_by_user
Counts the (int) total number of books logged by this `username`
openlibrary/core/booknotes.py:71
Method
count_total_publishers
(cls)
openlibrary/core/follows.py:161
Method
count_total_subscribers
(cls)
openlibrary/core/follows.py:155
Method
counting_get
(key, *args, **kwargs)
openlibrary/plugins/upstream/tests/test_models.py:126
Method
cover_edition_key
(self)
openlibrary/solr/updater/work.py:602
Method
cover_height
(self)
openlibrary/solr/updater/edition.py:211
Method
cover_height
(self)
openlibrary/solr/updater/work.py:598
Method
cover_i
(self)
openlibrary/solr/updater/edition.py:194
Method
cover_i
(self)
openlibrary/solr/updater/work.py:577
Method
cover_width
(self)
openlibrary/solr/updater/edition.py:207
Method
cover_width
(self)
openlibrary/solr/updater/work.py:594
← previous
next →
3,601–3,700 of 6,179, ranked by callers