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 details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pychfs-0.0.1.tar.gz.
File metadata
- Download URL: pychfs-0.0.1.tar.gz
- Upload date:
- Size: 122.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1ae841c80708fb5d152f5cdeb0bd16c63176c49a1a3378766fdfcc696adba10f
|
|
| MD5 |
7378af2d67ee5ce0376c38e74f2433e3
|
|
| BLAKE2b-256 |
654dcf54e799a3eaf4acb8fa6fd47b567c4ab09e1f2f3ea2ec909f97258406e5
|
File details
Details for the file pychfs-0.0.1-cp39-cp39-manylinux1_x86_64.whl.
File metadata
- Download URL: pychfs-0.0.1-cp39-cp39-manylinux1_x86_64.whl
- Upload date:
- Size: 476.1 kB
- Tags: CPython 3.9
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8ce19971996236e9911a90bdc0b3190fe380f0e24f5e355e3bfc3824245a6c5f
|
|
| MD5 |
f6fbee5d4342fa49048d7575047624f6
|
|
| BLAKE2b-256 |
382fbd6498ea50d01740c3e37868b7dfcd6d8ba5be7cb327f976883225135183
|