amphoradata / python-sdk

A python SDK for Amphora Data
https://app.amphoradata.com
GNU General Public License v3.0
2 stars 0 forks source link

Amphora Data Python SDK

Build Status

This project is still 0.x and does not have a stable API.

Install

pip install amphoradata

Usage

from amphora.client import AmphoraDataRepositoryClient, Credentials

# username and password credentials should not be persisted in code
credentials = Credentials("rian@amphoradata.com", "My Password")
client = AmphoraDataRepositoryClient(credentials)

# reference an existing amphora
amphora = client.get_amphora("e6097df0-952c-46a6-84b0-ccc29bf1b0f7")

# upload a file to an Amphora
amphora.push_file("/path/to/a/file")

# share with your collaborators
amphora.share_with("amy")

Samples

Check out the samples in the samples/ directory.

You must have an account at app.amphoradata.com

Docs

Check our our official docs page at docs.amphoradata.com or view the Open API Spec docs here

Contributing

We welcome pull requests! This project is constantly evolving, and we're always tring to improve.

Feel free to open an issue if you have feature requests, or are experiencing bugs.

We also use gitter.

Updating

To update the SDK, do a git pull to get the latest code on your computer. Then update config.yaml to include the name of the latest version. Then do ./generate.ps1 and push back to GitHub