Skip to main content

Python Pachyderm Client

Project description


A python client wrapper for Pachyderm <> API.

Currently implements only the PFS interface.


$ pip install pypachy


The functions correspond closely to the Go client implementation and are very similar to the pachctl interface as well.

In any place where a commit is expected you can either put a sequence in the form of (repo_name, branch/commit_id) or a string in the form of repo/branch/commit_id.

Usage example:

>>> import pypachy

>>> client = pypachy.PfsClient()
>>> client.create_repo('test')
>>> client.start_commit('test', 'master')
repo {
  name: "test"
id: "master/0"

>>> client.put_file('test/master/0', 'test', pypachy.FILE_TYPE_DIR)
>>> client.put_file('test/master/0', 'test/text.txt', pypachy.FILE_TYPE_REGULAR, value=b'Hello')
>>> client.finish_commit('test/master/0')
>>> client.get_files('test/master/0', ['test/text.txt'])
{'test/test.txt': b"Hello"}


  • Test, test, test!

  • Make the output more Pythonic

  • Add support for BlockAPI and ObjectAPI

  • Add support for PPS, Version, etc

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

pypachy-0.0.3.tar.gz (19.8 kB view hashes)

Uploaded Source

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