quantopian/pgcontents(新しいタブで開きます)
主要言語: Python
A Postgres-backed ContentsManager implementation for Jupyter
- star 数
- 151
- watcher 数
- 33
- fork 数
- 85
- issue 数
- 11
- 最終更新
- 2023/04/07
主要言語: Python
A Postgres-backed ContentsManager implementation for Jupyter
PGContents is a PostgreSQL-backed implementation of IPEP 27. It aims to a be a transparent, drop-in replacement for IPython's standard filesystem-backed storage system. PGContents' PostgresContentsManager class can be used to replace all local filesystem storage with database-backed storage, while its PostgresCheckpoints class can be used to replace just IPython's checkpoint storage. These features are useful when running IPython in environments where you either don't have access to—or don't trust the reliability of—the local filesystem of your notebook server.
This repository developed as part of the Quantopian Research Environment.
Installation:
pgcontents from PyPI via pip install pgcontents.pgcontents init to configure your database. You will be prompted for a database URL for pgcontents to use for storage. (Alternatively, you can set the PGCONTENTS_DB_URL environment variable, or pass --db-url on the command line).~/.jupyter/jupyter_notebook_config.py. See the examples directory for example configuration files.