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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded CPython 3.9

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

Hashes for pychfs-0.0.1.tar.gz
Algorithm Hash digest
SHA256 1ae841c80708fb5d152f5cdeb0bd16c63176c49a1a3378766fdfcc696adba10f
MD5 7378af2d67ee5ce0376c38e74f2433e3
BLAKE2b-256 654dcf54e799a3eaf4acb8fa6fd47b567c4ab09e1f2f3ea2ec909f97258406e5

See more details on using hashes here.

File details

Details for the file pychfs-0.0.1-cp39-cp39-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for pychfs-0.0.1-cp39-cp39-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 8ce19971996236e9911a90bdc0b3190fe380f0e24f5e355e3bfc3824245a6c5f
MD5 f6fbee5d4342fa49048d7575047624f6
BLAKE2b-256 382fbd6498ea50d01740c3e37868b7dfcd6d8ba5be7cb327f976883225135183

See more details on using hashes here.

Supported by

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