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
setup
This function is called from the main application startup routine to set things up.
openlibrary/plugins/openlibrary/stats.py:305
Function
setup
()
openlibrary/plugins/openlibrary/borrow_home.py:56
Function
setup
Basic startup status for the server
openlibrary/plugins/openlibrary/status.py:567
Function
setup
()
openlibrary/plugins/admin/graphs.py:79
Function
setup
()
openlibrary/admin/code.py:29
Function
setup_batch_db
()
openlibrary/tests/core/test_imports.py:166
Method
setup_class
(cls)
openlibrary/tests/core/test_db.py:87
Method
setup_class
(cls)
openlibrary/tests/core/test_db.py:246
Method
setup_class
(cls)
openlibrary/tests/core/test_db.py:375
Method
setup_class
(cls)
openlibrary/tests/core/test_db.py:453
Method
setup_class
(cls)
openlibrary/tests/solr/test_update.py:111
Method
setup_context
Set up RequestContextVars with specific values for this test class.
openlibrary/tests/core/test_lending.py:41
Method
setup_context
Auto-use fixture to set up request context for all tests.
openlibrary/tests/core/test_i18n.py:30
Method
setup_context
Auto-use fixture to set up request context for all tests.
openlibrary/plugins/openlibrary/tests/test_home.py:25
Function
setup_contextvars
Processor that sets up context variables for the entire request lifecycle. This ensures RequestContextVars are available during template renderin
openlibrary/plugins/openlibrary/code.py:63
Function
setup_database
Setup the database. This must be called before using any other functions in this module.
openlibrary/data/db.py:46
Function
setup_db
These tests have to run as the openlibrary user.
openlibrary/coverstore/tests/test_webapp.py:15
Function
setup_db
()
openlibrary/tests/core/test_acquisitions.py:31
Function
setup_db_config
Set up empty database configuration for all tests to prevent db_parameters errors. This fixture is required for tests that use `create_site(
openlibrary/conftest.py:50
Function
setup_item_db
()
openlibrary/tests/core/test_imports.py:97
Function
setup_load_data
(mock_site)
openlibrary/catalog/add_book/tests/test_add_book.py:1700
Function
setup_memcache
Setup the memcached servers. This must be called along with setup_database, if memcached servers are used in the system.
openlibrary/data/db.py:55
Method
setup_method
(self, method)
scripts/tests/test_copydocs.py:69
Method
setup_method
(self, method)
openlibrary/utils/tests/test_processors.py:11
Method
setup_method
(self, method)
openlibrary/coverstore/tests/test_webapp.py:56
Method
setup_method
(self, method)
openlibrary/tests/core/test_db.py:99
Method
setup_method
(self)
openlibrary/tests/core/test_db.py:253
Method
setup_method
(self)
openlibrary/tests/core/test_db.py:380
Method
setup_method
(self)
openlibrary/tests/core/test_db.py:458
Method
setup_method
(self, method)
openlibrary/plugins/upstream/tests/test_models.py:19
Method
setup_method
(self, method)
openlibrary/plugins/upstream/tests/test_models.py:105
Method
setup_method
(self, method)
openlibrary/plugins/upstream/tests/test_models.py:147
Method
setup_method
(self, method)
openlibrary/plugins/upstream/tests/test_account.py:59
Method
setup_method
(self)
openlibrary/plugins/upstream/tests/test_account.py:313
Method
setup_method
(self, method)
openlibrary/plugins/upstream/tests/test_merge_authors.py:161
Method
setup_method
(self, method)
openlibrary/plugins/upstream/tests/test_merge_authors.py:226
Method
setup_method
(self, method)
openlibrary/plugins/upstream/tests/test_addbook.py:29
Method
setup_method
(self)
openlibrary/plugins/upstream/tests/test_checkins.py:64
Method
setup_method
(self)
openlibrary/plugins/openlibrary/tests/test_verification.py:13
Function
setup_module
(mod)
openlibrary/plugins/upstream/tests/test_merge_authors.py:18
Method
short_commit
(self)
openlibrary/plugins/openlibrary/status.py:300
Function
short_lcc_to_sortable_lcc
(lcc)
openlibrary/components/LibraryExplorer/utils/lcc.js:17
Function
short_len
(lcc: str)
openlibrary/utils/lcc.py:213
Method
short_pull_latest
(self)
openlibrary/plugins/openlibrary/status.py:304
Method
show
* Shows this date display.
openlibrary/plugins/openlibrary/js/my-books/MyBooksDropper/CheckInComponents.js:450
Function
showToast
(content, options = {})
openlibrary/components/lit/OlToastRegion.js:190
Function
shutdown_handler
(signum, frame)
openlibrary/utils/shutdown.py:8
Function
single_thing_skeleton
Returns number of things of `type` added between `start` and `end`. `type` is partially applied for admin__[work, edition, user, author, list].
openlibrary/admin/numbers.py:50
Method
solr_key
(self)
openlibrary/book_providers.py:196
Method
solr_key
(self)
openlibrary/book_providers.py:297
Method
solr_key
(self)
openlibrary/book_providers.py:574
Function
sort_dump
Sort the given dump based on key.
openlibrary/data/dump.py:138
Function
sortable_lcc_to_short_lcc
(lcc)
openlibrary/components/LibraryExplorer/utils/lcc.js:38
Function
sorted_split_semicolon
>>> sorted_split_semicolon("z;c;x;a;y;b") ['a', 'b', 'c', 'x', 'y', 'z']
openlibrary/tests/solr/updater/test_work.py:24
Method
sortfn
(sortitem)
openlibrary/plugins/books/readlinks.py:156
Method
source_records
(self)
scripts/providers/import_wikisource.py:301
Function
split_dump
Split dump into authors, editions, works, redirects, and other.
openlibrary/data/dump.py:215
Method
spoofed_generic_carousel
(*args, **kwargs)
openlibrary/plugins/openlibrary/tests/test_home.py:115
Function
sprintf
Handy utility for string replacements. >>> sprintf('hello %s', 'python') 'hello python' >>> sprintf('hello %(name)s', name='python')
openlibrary/core/helpers.py:162
Method
sql
(self, engine)
openlibrary/utils/schema.py:212
Method
sql
(self, engine)
openlibrary/utils/schema.py:220
Method
sql
(self, engine)
openlibrary/utils/schema.py:308
Method
sql
(self, engine)
openlibrary/utils/schema.py:345
Method
square
(x)
openlibrary/tests/core/test_cache.py:41
Method
square
Returns square x.
openlibrary/tests/core/test_cache.py:107
Method
static_path
(self, path)
openlibrary/coverstore/tests/test_webapp.py:82
Function
stats_hook
web.py unload hook to add X-OL-Stats header. Also, send stats to graphite using statsd
openlibrary/plugins/openlibrary/stats.py:61
Method
status_matched
(key)
openlibrary/plugins/importapi/code.py:507
Method
step
()
openlibrary/components/lit/OlCarousel.js:434
Function
stopEvent
()
openlibrary/components/lit/html-block.js:92
Method
store_put_many
(self, sitename, datajson)
openlibrary/plugins/openlibrary/connection.py:397
Method
subject
(name, prefix)
openlibrary/plugins/books/dynlinks.py:250
Function
subject_json
( request: Request, key: Annotated[str, Path()], params: Annotated[BaseSubjectRequestParams, Depen
openlibrary/fastapi/subjects.py:17
Function
subject_name_to_key
(subject: str, prefix="")
openlibrary/plugins/upstream/utils.py:1616
Function
submitCreateAccountForm
()
openlibrary/plugins/openlibrary/js/signup.js:24
Method
submitGroup
()
openlibrary/components/BarcodeScanner/utils/classes.js:80
Method
subtitle
(self)
openlibrary/solr/updater/edition.py:142
Method
subtitle
(self)
openlibrary/solr/updater/work.py:347
Method
summary
(cls)
openlibrary/core/booknotes.py:13
Method
summary
(cls)
openlibrary/core/yearly_reading_goals.py:13
Method
summary
(cls)
openlibrary/core/ratings.py:27
Method
summary
(cls)
openlibrary/core/observations.py:730
Method
summary
(cls)
openlibrary/core/bookshelves.py:41
Method
sync_f
(x)
openlibrary/tests/core/test_cache.py:213
Method
t
(date)
openlibrary/core/processors/invalidation.py:86
Method
takeNext
* @param {Parameters<TFunc>} args
openlibrary/components/BarcodeScanner/utils/classes.js:89
Method
teardown_class
(cls)
openlibrary/tests/core/test_db.py:94
Method
teardown_method
(self, method)
openlibrary/tests/core/test_cache.py:97
Method
teardown_method
(self)
openlibrary/tests/core/test_db.py:110
Method
teardown_method
(self)
openlibrary/tests/core/test_db.py:260
Method
teardown_method
(self)
openlibrary/tests/core/test_db.py:384
Method
teardown_method
(self)
openlibrary/tests/core/test_db.py:462
Method
teardown_method
(self)
openlibrary/plugins/upstream/tests/test_account.py:327
Method
teardown_method
(self)
openlibrary/plugins/openlibrary/tests/test_verification.py:36
Function
testLuceneSyntax
(pattern, string)
openlibrary/components/LibraryExplorer/utils.js:53
Function
test_MockSite
()
openlibrary/tests/core/test_processors.py:39
Function
test_MockSite
()
openlibrary/plugins/upstream/tests/test_merge_authors.py:68
Method
test_about_template
(self, monkeypatch, render_template)
openlibrary/plugins/openlibrary/tests/test_home.py:47
Method
test_accepts_list_json
Should JSON-serialize list input.
openlibrary/tests/fastapi/test_models.py:76
Method
test_accepts_string_json
Should accept pre-serialized JSON string in addition to dict.
openlibrary/tests/fastapi/test_models.py:56
← previous
next →
4,801–4,900 of 6,179, ranked by callers