MCPcopy Create free account

hub / github.com/internetarchive/openlibrary / functions

Functions6,179 in github.com/internetarchive/openlibrary

Functionpytest_addoption
(parser)
openlibrary/plugins/openlibrary/tests/conftest.py:4
Functionpytest_configure
(config)
openlibrary/plugins/openlibrary/tests/conftest.py:10
Functionpytest_funcarg__config
(request)
openlibrary/plugins/openlibrary/tests/test_ratingsapi.py:10
Functionpytest_funcarg__config
(request)
openlibrary/plugins/openlibrary/tests/test_listapi.py:7
Functionpytest_ignore_collect
Prevent pytest from collecting doctests from standalone scripts. This hook is called during pytest's collection phase. When pytest runs with
scripts/conftest.py:68
Methodq_to_solr_params
( self, q: str, solr_fields: set[str], cur_solr_params: list[tuple[str, str]],
openlibrary/plugins/worksearch/schemes/authors.py:63
Methodq_to_solr_params
( self, q: str, solr_fields: set[str], cur_solr_params: list[tuple[str, str]],
openlibrary/plugins/worksearch/schemes/subjects.py:48
Functionquery
(category, olid, offset=0, limit=10)
openlibrary/coverstore/db.py:75
Functionquery
(key, value)
openlibrary/coverstore/oldb.py:49
Methodquery_store
(_key)
openlibrary/core/models.py:928
Methodquote
(self)
openlibrary/utils/schema.py:90
Functionradio_input
(checked=False, **params)
openlibrary/plugins/upstream/utils.py:380
Methodraise_for_status
(self)
scripts/tests/test_bwb_opds_imports.py:174
Functionrandom_author_search
(limit=10)
openlibrary/plugins/worksearch/code.py:1099
Methodratelimit_error
(key, ttl)
openlibrary/core/auth.py:132
Functionread_authors
(rec: MarcBase)
openlibrary/catalog/marc/parse.py:518
Functionread_block
(block)
scripts/lc_marc_update.py:85
Functionread_description
(rec: MarcBase)
openlibrary/catalog/marc/parse.py:596
Functionread_dewey
(rec: MarcBase)
openlibrary/catalog/marc/parse.py:227
Functionread_dnb
(rec: MarcBase)
openlibrary/catalog/marc/parse.py:114
Functionread_docs
Read the docs the docs from DB.
openlibrary/data/db.py:135
Functionread_doi
(rec: MarcBase)
openlibrary/catalog/marc/parse.py:125
Functionread_edition_name
(rec: MarcBase)
openlibrary/catalog/marc/parse.py:310
Methodread_fields
(self, want)
openlibrary/catalog/marc/tests/test_marc.py:44
Functionread_file
Returns an iterator over file data at specified offset and size. >>> len(b"".join(read_file('/dev/urandom', 100, 10000))) 10000
openlibrary/coverstore/utils.py:137
Functionread_issn
(rec: MarcBase)
openlibrary/catalog/marc/parse.py:136
Functionread_lc_classification
(rec: MarcBase)
openlibrary/catalog/marc/parse.py:196
Functionread_lccn
(rec: MarcBase)
openlibrary/catalog/marc/parse.py:143
Functionread_location
(rec: MarcBase)
openlibrary/catalog/marc/parse.py:623
Functionread_marc_file
(f)
openlibrary/catalog/marc/marc_xml.py:24
Functionread_notes
(rec: MarcBase)
openlibrary/catalog/marc/parse.py:585
Functionread_oclc
(rec: MarcBase)
openlibrary/catalog/marc/parse.py:170
Functionread_original_languages
(rec: MarcBase)
openlibrary/catalog/marc/parse.py:359
Functionread_other_titles
(rec: MarcBase)
openlibrary/catalog/marc/parse.py:615
Functionread_pub_date
Read publish date from 260$c.
openlibrary/catalog/marc/parse.py:393
Functionread_publisher
(rec: MarcBase)
openlibrary/catalog/marc/parse.py:408
Functionread_series
(rec: MarcBase)
openlibrary/catalog/marc/parse.py:571
Methodread_subject
>>> list(read_subject("A,B,C,B")) == [u'A', u'B', u'C'] # str True >>> list(read_subject(r"A,B,C,B")) == [u'A',
openlibrary/plugins/upstream/addbook.py:711
Functionread_toc
(rec: MarcBase)
openlibrary/catalog/marc/parse.py:629
Functionread_url
(rec: MarcBase)
openlibrary/catalog/marc/parse.py:602
Functionread_work_titles
(rec: MarcBase)
openlibrary/catalog/marc/parse.py:232
Functionreading_goal_progress_partial
Get reading goal progress HTML for the current user. The year parameter is optional; defaults to the current year.
openlibrary/fastapi/partials.py:104
Methodreading_log_counts
(self)
openlibrary/plugins/upstream/mybooks.py:544
Functionreadlinks
(req: str, options: dict)
openlibrary/plugins/books/readlinks.py:277
Functionrecentchanges
(query)
openlibrary/plugins/upstream/recentchanges.py:26
FunctionrecurForEach
(node, fn)
openlibrary/components/LibraryExplorer/utils.js:8
Methodreferences_to_sql
(self, column_name, value)
openlibrary/utils/schema.py:98
Methodreferences_to_sql
(self, column_name, value)
openlibrary/utils/schema.py:132
Methodreferences_to_sql
(self, column_name, value)
openlibrary/utils/schema.py:163
Functionreformat_html
Reformats an HTML string, removing all opening and closing tags. Adds a line break element between each set of text content. Optionally t
openlibrary/plugins/upstream/utils.py:1511
Functionregister
(username, email, password, displayname)
openlibrary/accounts/__init__.py:141
Functionregister_datatype
(name, datatype)
openlibrary/utils/schema.py:19
Functionregister_models
()
openlibrary/core/models.py:1325
Functionregister_models
()
openlibrary/core/lists/model.py:688
Functionregister_schema
Register the schema defined in this module as the default schema.
openlibrary/core/schema.py:114
Functionregister_types
Register default types for various path patterns used in OL.
openlibrary/core/models.py:1335
Functionregister_types
()
openlibrary/core/lists/model.py:695
Methodregistered_on
Returns the registration time.
openlibrary/accounts/model.py:278
Functionreload
Reload all.css and all.js
openlibrary/plugins/upstream/code.py:241
Methodremove
Remove any award for this username where either work_id or topic matches.
openlibrary/core/bestbook.py:107
Methodremove
Remove a patron's specific booknote by work_id. Technical note: work_id is not an optional argument and intentionally does not defaul
openlibrary/core/booknotes.py:188
Methodremove
* Removes the given menu options from this container. * * @param {...MenuOption} menuOptions Options that are to be removed from this conta
openlibrary/plugins/openlibrary/js/bulk-tagger/BulkTagger/SortedMenuOptionContainer.js:59
MethodremoveCarouselRoles
()
openlibrary/plugins/openlibrary/js/carousel/Carousel.js:97
MethodremoveLink
()
openlibrary/components/lit/OLMarkdownEditor.js:532
FunctionremoveURLParameter
(url, parameter)
openlibrary/plugins/openlibrary/js/Browser.js:25
Methodremove_invalid_authors
Remove known bad authors (e.g. an author of "N/A") prior to validation.
openlibrary/plugins/importapi/import_validator.py:53
Methodremove_invalid_dates
Remove known bad dates prior to validation.
openlibrary/plugins/importapi/import_validator.py:40
Methodremove_work_prefix
(field: str)
openlibrary/plugins/worksearch/schemes/works.py:335
Functionrender
(name, *a, **kw)
openlibrary/conftest.py:165
Methodrender
()
openlibrary/components/lit/OlToast.js:435
Methodrender
()
openlibrary/components/lit/OLReadMore.js:219
Methodrender
()
openlibrary/components/lit/OlToggle.js:248
Methodrender
()
openlibrary/components/lit/OLMarkdownEditor.js:623
Methodrender
()
openlibrary/components/lit/OLChipGroup.js:52
Methodrender
()
openlibrary/components/lit/OlPagination.js:392
Methodrender
()
openlibrary/components/lit/OLButton.js:80
Methodrender
()
openlibrary/components/lit/OlBanner.js:162
Methodrender
()
openlibrary/components/lit/OlSelectPopover.js:439
Methodrender
()
openlibrary/components/lit/OlDialog.js:729
Methodrender
()
openlibrary/components/lit/OpenLibraryOTP.js:248
Methodrender
()
openlibrary/components/lit/OlToastRegion.js:140
Methodrender
()
openlibrary/components/lit/OlCarousel.js:787
Methodrender
()
openlibrary/components/lit/OlOptionsPopover.js:269
Methodrender
()
openlibrary/components/lit/OlTooltip.js:161
Methodrender
()
openlibrary/components/lit/OlPopover.js:280
Methodrender
(self)
openlibrary/utils/form.py:56
Methodrender
()
openlibrary/plugins/openlibrary/js/search-modal/SearchModal.js:1017
Methodrender
Renders the graphs as an img tag. Usage in templates: $:g.render(yLimit=100, width=300, height=400)
openlibrary/plugins/admin/graphs.py:43
FunctionrenderHTML
({ node })
openlibrary/components/lit/html-block.js:39
Functionrender_cached_macro
(name: str, args: tuple, **kwargs)
openlibrary/plugins/upstream/utils.py:228
Methodrender_download_options
(self, edition: Edition, extra_args: list | None = None)
openlibrary/book_providers.py:250
Methodrender_download_options
(self, edition: Edition, extra_args: list | None = None)
openlibrary/book_providers.py:317
Methodrender_download_options
(self, edition: Edition, extra_args: list | None = None)
openlibrary/book_providers.py:418
Functionrender_jinja_template
Render a Jinja template and return the resulting HTML string. This is a generic helper to render any Jinja template from the macros directory
openlibrary/core/jinja.py:10
Methodrender_link
Generate an HTML link of this user :param str cls: HTML class to add to the link :rtype: str
openlibrary/core/models.py:1122
Methodrender_link
(self)
openlibrary/accounts/model.py:490
Functionrender_once
(key: str)
openlibrary/plugins/upstream/utils.py:1478
Methodrender_read_button
( self, edition_key: str, ed_or_solr: Edition | dict, analytics_attr: Callable
openlibrary/book_providers.py:223
Methodrender_sidebar
(self)
openlibrary/plugins/upstream/mybooks.py:458
Functionrender_template
Utility to test templates.
openlibrary/conftest.py:140
← previousnext →4,601–4,700 of 6,179, ranked by callers