Skip to content
Python client for Pachyderm
Python Other
  1. Python 98.3%
  2. Other 1.7%
Branch: master
Clone or download
Pull request Compare This branch is 3 commits behind pachyderm:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs/python_pachyderm
examples
proto
src/python_pachyderm
tests
.editorconfig
.gitattributes
.gitignore
.gitmodules
.travis.yml
BUILD_NUMBER
LICENSE
MANIFEST.in
Makefile
README.md
VERSION
setup.cfg
setup.py
tox.ini

README.md

Python Pachyderm

PyPI Package latest releasee Supported versions Slack Status

Official Python Pachyderm client. Created by kalugny (formerly kalugny/pypachy), and now maintained by Pachyderm Inc.

Installation

pip install python-pachyderm

Usage

PFS

For PFS-related functionality, you can use PfsClient, which wraps around protobuf/gRPC autogenerated code to make for a more idiomatic Python experience.

Here's an example that creates a repo and adds a file:

import python_pachyderm
client = python_pachyderm.PfsClient()
client.create_repo('test')
with client.commit('test', 'master') as c:
    client.put_file_bytes(c, '/dir_a/data.txt', b'DATA')

PPS

Similarly, we offer a higher-level PpsClient for PPS-related functionality. An example:

import python_pachyderm
client = python_pachyderm.PpsClient()
client.list_pipeline()

Everything else

For all other gRPC APIs, we expose the protobuf/gRPC autogenerated code. See the API docs.

Contributing

This driver is co-maintained by Pachyderm and the community. If you're looking to contribute to the project, this is a fantastic place to get involved.

Getting started

To run tests, clone the repo, then run:

make init
tox
You can’t perform that action at this time.