No project description provided
Project description
arrowcm
Arrowcm is a Jupyter Content Manager that lets you use any pyarrow-supported filesystem as a Content Manager.
Arrowcm has been tested with JupyterLab 4, but it might also work with previous versions.
As Arrowcm relies on pyarrow, any pyarrow-supported filesystem should be available, and fsspec filesystems should work too.
It is based on the new jupyter-server content manager interface and will not work with the old notebook content manager interface.
It is available on PyPI:
pip install arrowcm
After installation, you need to configure the storage that you want to use.
This can be done in your Jupyter config file, where you will need to pass an instance of a PyArrow filesystem as a filesystem property.
from pyarrow import fs
c.ServerApp.contents_manager_class = "arrowcm.ArrowContentsManager"
# S3 example
c.ArrowContentsManager.filesystem = fs.S3FileSystem(
access_key="myaccesskey",
secret_key="mysecretkey",
region=fs.resolve_s3_region("mybucket"),
)
c.ArrowContentsManager.root_dir = "mybucket/notebooks"
# HDFS example
c.ArrowContentsManager.filesystem = fs.HadoopFileSystem("myhdfshost")
c.ArrowContentsManager.root_dir = "/user/jupyter/notebooks"
Arrowcm aims to be as compatible as possible with the default file content manager, so most of the options should work.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file arrowcm-0.0.2.tar.gz
.
File metadata
- Download URL: arrowcm-0.0.2.tar.gz
- Upload date:
- Size: 18.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.24.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a706a0da85dca1b3ba4bbf6777434b625d735a4c25804dabef930b2ddc4eebb9 |
|
MD5 | 8ff661047d30d0d8fc139072f5762790 |
|
BLAKE2b-256 | ab74e5093a4214de2cedcfeac6a3d7912321fcce640c56cff056038920431da6 |
File details
Details for the file arrowcm-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: arrowcm-0.0.2-py3-none-any.whl
- Upload date:
- Size: 17.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.24.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 21a095878389624e2c56fc1665125c356fa4f12150f43e957c4b8e94c2448da4 |
|
MD5 | 43440add1729dc55f7abe8b281f89a4c |
|
BLAKE2b-256 | e87776c91d9f1d8b8e71fa5fcbd41ca3d3db779605c24951b2119dc6272e2d51 |