Skip to main content

Python Pachyderm Client

Project description

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

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

python-pachyderm-1.9.4.tar.gz (167.7 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