https://github.com/application-research/pestuary
A Python SDK to interact with Estuary nodes
https://github.com/application-research/pestuary
Last synced: about 1 year ago
JSON representation
A Python SDK to interact with Estuary nodes
- Host: GitHub
- URL: https://github.com/application-research/pestuary
- Owner: application-research
- License: mit
- Created: 2022-04-20T23:20:36.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2023-02-02T20:37:26.000Z (over 3 years ago)
- Last Synced: 2025-03-25T14:12:41.093Z (about 1 year ago)
- Language: Python
- Size: 65.4 KB
- Stars: 2
- Watchers: 5
- Forks: 2
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pestuary
A Python SDK to interact with Estuary nodes
## Installation
Using pip
```bash
$ pip install pestuary
```
## Setup API Key
Initialize the SDK using your API Key
```
export APIKEY =
```
## Usage
Add dir (recursively) to estuary and create a collection around it
```python
import pestuary
pestuary.add_content('/tmp/my-local-directory', create_collection=True)
```
List content on a collection
```python
import pestuary
my_collection_uuid = "1234-1234-1234-1234"
pestuary.collection_list_content(my_collection_uuid, "/subdir-on-collection")
```
## Pypi Release
When we create a tag on git we automatically publish a new version to https://pypi.org/project/pestuary/#history
Make sure to increment the version in setup.py before creating the new tag