Python Pachyderm Client
Project description
Python Pachyderm
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for python-pachyderm-1.9.0.post5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 624d692e55d51cb145f9cf7cb3675290f64ddf073fb4d5c77a6a80c62664e1f6 |
|
MD5 | 62c38020f41eeb06042499c1e2fa2582 |
|
BLAKE2b-256 | 4dbf512860801762553801febed613a917b9550b3e2ce3b9f289ab6bef502a8d |