CHFS Python bindings
Project description
PyCHFS
PyCHFS is the Python bindings for CHFS (consistent hashing file system).
Requirements
Getting Started
Installation
$ pip install pychfs
Create file system
You can create CHFS by chfsctl
and set CHFS_SERVER
environmental variable.
$ eval `chfsctl start`
$ chlist # show started servers
Developing
Building locally
$ python setup.py build_ext --inplace
VSCode devcontainer
You can use VSCode devcontainer to develop fsspec-chfs. The setup steps are follows:
- Install Docker and Remote-Container extension.
- Press Ctrl+Shift+P in VSCode.
- select
Remote-Container: Open the folder in the Container
Testing
$ eval `chfsctl start` # start the server and set CHFS_SERVER
$ tox
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
pychfs-0.0.1.tar.gz
(122.1 kB
view hashes)
Built Distribution
Close
Hashes for pychfs-0.0.1-cp39-cp39-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ce19971996236e9911a90bdc0b3190fe380f0e24f5e355e3bfc3824245a6c5f |
|
MD5 | f6fbee5d4342fa49048d7575047624f6 |
|
BLAKE2b-256 | 382fbd6498ea50d01740c3e37868b7dfcd6d8ba5be7cb327f976883225135183 |