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
replace_work_prefix
(string: str)
openlibrary/tests/solr/test_query_utils.py:87
Method
request
(self, sitename, path, method="GET", data=None)
openlibrary/plugins/openlibrary/connection.py:31
Function
require_authenticated_user
FastAPI dependency that requires authentication. Use this when you want to ensure a user is authenticated, returning 401 if not. @app.get("/
openlibrary/fastapi/auth.py:119
Function
require_librarian
FastAPI dependency that requires librarian-level access. Checks that the authenticated user has admin, librarian, or super-librarian role. Re
openlibrary/fastapi/auth.py:142
Method
resetForm
* Resets the check-in form.
openlibrary/plugins/openlibrary/js/my-books/MyBooksDropper/CheckInComponents.js:301
Function
resizeColorbox
()
openlibrary/components/ObservationForm/Utils.js:15
Method
response
(msg, status="success")
openlibrary/plugins/openlibrary/api.py:117
Method
response
(msg, status="success")
openlibrary/plugins/openlibrary/api.py:441
Method
response
(msg, status="success")
openlibrary/plugins/openlibrary/bulk_tag.py:68
Method
return_loan
(self)
openlibrary/core/lending.py:920
Function
return_resource
Return the book to circulation! This object is invalid and should not be used after this is called. Currently only possible for bookreader loans
openlibrary/plugins/upstream/borrow.py:458
Function
return_test_marc_bin
(url)
openlibrary/tests/catalog/test_get_ia.py:23
Function
return_test_marc_xml
(url)
openlibrary/tests/catalog/test_get_ia.py:27
Method
revert
(thing)
openlibrary/plugins/upstream/code.py:285
Method
row
(r)
openlibrary/plugins/books/dynlinks.py:282
Method
row
(r: dict | str)
openlibrary/plugins/upstream/table_of_contents.py:28
Method
run
(self)
scripts/affiliate_server.py:199
Method
run
* @param {ExtractionOptions} _extractOptions * @param {string} _text * @returns {Promise<BookMatch[]>}
openlibrary/components/BulkSearch/utils/classes.js:28
Method
run
* @param {ExtractionOptions} _extractOptions * @param {string} text * @returns {Promise<BookMatch[]>}
openlibrary/components/BulkSearch/utils/classes.js:52
Method
run
* @param {ExtractionOptions} extractionOptions * @param {string} text * @return {Promise<BookMatch[]>}
openlibrary/components/BulkSearch/utils/classes.js:149
Method
run
(self, lines)
openlibrary/core/olmarkdown.py:65
Function
runfcgi
Runs a WSGI function as a FastCGI pre-fork server.
scripts/affiliate_server.py:742
Function
runfcgi
Runs a WSGI function as a FastCGI pre-fork server.
openlibrary/coverstore/server.py:13
Function
runmain
(modulename, *args)
openlibrary/actions.py:9
Function
safekey
(x)
openlibrary/core/helpers.py:116
Function
sampledump
Creates a dump of objects from OL database for creating a sample database.
openlibrary/plugins/openlibrary/code.py:162
Function
sampleload
(filename="sampledump.txt.gz")
openlibrary/plugins/openlibrary/code.py:235
Function
sanitize
Removes unsafe tags and attributes from html and adds ``rel="nofollow"`` attribute to all external links. Using encoding=None if passing Unico
openlibrary/core/helpers.py:58
Method
save
(self, docs, master, duplicates)
openlibrary/plugins/upstream/merge_authors.py:150
Method
save
(self, author, photoid, url=None)
openlibrary/plugins/upstream/covers.py:159
Method
save_images
(self, author, photos)
openlibrary/plugins/upstream/covers.py:213
Method
save_many
(self, query, comment=None, action=None)
openlibrary/api.py:164
Method
save_s3_keys
(self, s3_keys: dict)
openlibrary/accounts/model.py:675
Function
search_authors_json
( params: Annotated[AuthorSearchRequestParams, Depends()], )
openlibrary/fastapi/search.py:331
Function
search_facets_partial
Get search facets sidebar and selected facets HTML. The data parameter should contain: - param: dict with search parameters (q, author_k
openlibrary/fastapi/partials.py:34
Function
search_inside_json
( pagination: Annotated[PaginationLimit20, Depends()], q: Annotated[str, Query(title="Search query")],
openlibrary/fastapi/search.py:196
Function
search_json
Performs a search for documents based on the provided query.
openlibrary/fastapi/search.py:164
Function
search_lists_json
( params: Annotated[ListSearchRequestParams, Depends()], )
openlibrary/fastapi/search.py:289
Function
search_subjects_json
( pagination: Annotated[Pagination, Depends()], q: Annotated[str, Query(description="The search query"
openlibrary/fastapi/search.py:211
Method
seed
(self)
openlibrary/solr/updater/list.py:126
Method
seed
(self)
openlibrary/solr/updater/work.py:323
Method
seed_count
(self)
openlibrary/core/lists/model.py:161
Method
seed_count
(self)
openlibrary/solr/updater/list.py:135
Method
seeds
( # type: ignore[override] self, )
openlibrary/core/lists/model.py:660
Method
select_all_by_username
(cls, username, _test=False)
openlibrary/core/observations.py:1062
Method
select_by_book_user_and_type
(cls, username, work_id, edition_id, event_type)
openlibrary/core/bookshelves_events.py:91
Method
select_by_user_type_and_year
(cls, username, event_type, year)
openlibrary/core/bookshelves_events.py:111
Method
selected_query
(self)
openlibrary/fastapi/search.py:130
Function
sendmail
(to: str, msg, cc=None)
openlibrary/accounts/model.py:55
Function
serialize
(state, node, parent, index)
openlibrary/components/lit/hard-break.js:20
Function
serialize
(state, node)
openlibrary/components/lit/html-block.js:113
Function
series_editions_json
Get paginated editions for a specific series.
openlibrary/fastapi/lists.py:380
Method
series_key
(self)
openlibrary/solr/updater/work.py:383
Method
series_name
(self)
openlibrary/solr/updater/work.py:387
Method
series_position
(self)
openlibrary/solr/updater/work.py:391
Function
series_seeds_json_public
(olid: ListOLID)
openlibrary/fastapi/lists.py:307
Function
series_seeds_json_user
(username: UsernamePath, olid: ListOLID)
openlibrary/fastapi/lists.py:297
Function
serviceconfig
(request)
openlibrary/plugins/admin/tests/conftest.py:8
Function
session
Create a configured requests session.
tests/integration/test_fastapi_auth.py:27
Method
set
(self, key, value, expires=0)
openlibrary/core/cache.py:281
Method
set
(self, key: str, value: Any, expires=0)
openlibrary/core/cache.py:336
Method
set_auth_token
(self, token)
openlibrary/plugins/openlibrary/connection.py:28
Function
set_context
(request: Request, call_next)
openlibrary/asgi_app.py:199
Method
set_identifiers
Updates the edition from identifiers specified as (name, value) pairs.
openlibrary/plugins/upstream/models.py:235
Method
set_metadata
(self, itemid, meta)
openlibrary/mocks/mock_ia.py:23
Function
set_share_links
Constructs list share links for social platforms and assigns to view context attribute Args (all required): url (str or unicode) - c
openlibrary/plugins/upstream/utils.py:614
Function
set_spam_domains
(domains: Iterable[str])
openlibrary/plugins/upstream/spamcheck.py:24
Function
set_spam_words
(words: Iterable[str])
openlibrary/plugins/upstream/spamcheck.py:19
Function
setup
(markdownit)
openlibrary/components/lit/html-block.js:118
Function
setup
(config)
openlibrary/core/vendors.py:43
Function
setup
Initializes this module from openlibrary config.
openlibrary/core/lending.py:83
Function
setup
Initializes this module from openlibrary config.
openlibrary/core/ia.py:24
Function
setup
()
openlibrary/olbase/events.py:23
Function
setup
()
openlibrary/plugins/upstream/merge_authors.py:349
Function
setup
()
openlibrary/plugins/upstream/covers.py:24
Function
setup
Do required initialization
openlibrary/plugins/upstream/utils.py:1644
Function
setup
Do required setup.
openlibrary/plugins/upstream/addtag.py:272
Function
setup
Do required setup.
openlibrary/plugins/upstream/addbook.py:1001
Function
setup
()
openlibrary/plugins/upstream/models.py:921
Function
setup
()
openlibrary/plugins/upstream/yearly_reading_goals.py:44
Function
setup
()
openlibrary/plugins/upstream/edits.py:261
Function
setup
()
openlibrary/plugins/upstream/checkins.py:160
Function
setup
()
openlibrary/plugins/upstream/data.py:95
Function
setup
Placeholder for doing any setup required. This function is called from code.py.
openlibrary/plugins/worksearch/subjects.py:419
Function
setup
()
openlibrary/plugins/worksearch/bulk_search.py:13
Function
setup
()
openlibrary/plugins/worksearch/publishers.py:98
Function
setup
Do required setup.
openlibrary/plugins/worksearch/autocomplete.py:177
Function
setup
()
openlibrary/plugins/worksearch/languages.py:134
Function
setup
This is just here to make sure this file is imported. Simply defining the class above as a subclass of delegate.page is enough for it to
openlibrary/plugins/inside/code.py:33
Function
setup
This is just here to make sure this file is imported. The two add_hook calls above are doing the work
openlibrary/plugins/importapi/code.py:516
Function
setup
()
openlibrary/plugins/openlibrary/partials.py:553
Function
setup
()
openlibrary/plugins/openlibrary/authors.py:5
Function
setup
()
openlibrary/plugins/openlibrary/swagger.py:5
Function
setup
Installs handlers for various events.
openlibrary/plugins/openlibrary/events.py:28
Function
setup
()
openlibrary/plugins/openlibrary/pd.py:107
Function
setup
()
openlibrary/plugins/openlibrary/design.py:100
Function
setup
()
openlibrary/plugins/openlibrary/sentry.py:8
Function
setup
()
openlibrary/plugins/openlibrary/home.py:338
Function
setup
()
openlibrary/plugins/openlibrary/bulk_tag.py:83
Function
setup
()
openlibrary/plugins/openlibrary/lists.py:1070
← previous
next →
4,701–4,800 of 6,179, ranked by callers