Skip to main content

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:

  1. Install Docker and Remote-Container extension.
  2. Press Ctrl+Shift+P in VSCode.
  3. select Remote-Container: Open the folder in the Container

Testing

$ eval `chfsctl start` # start the server and set CHFS_SERVER
$ tox

Project details


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)

Uploaded Source

Built Distribution

pychfs-0.0.1-cp39-cp39-manylinux1_x86_64.whl (476.1 kB view hashes)

Uploaded CPython 3.9

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page