Skip to main content

Banana Python SDK

Please see our usage docs in the official Banana Documentation

Developing on the SDK

Set up the environment and install the package in editable mode

python -m venv .venv
source .venv/bin/activate
pip install -e ./

Set up a test directory to play around with the changes

mkdir tests
cd tests
touch test.py

Create some script

from banana_dev import API

api = API("11111111-1111-1111-1111-111111111111")
projects, status = api.list_projects()
print('list', projects, status)

project, status = api.get_project(projects["results"][0]["id"])
print('get', project, status)

updated_project, status = api.update_project(projects["results"][0]["id"], {"maxReplicas": 2})
print('update', updated_project, status)

Run it

python test.py

Metadata

Release files for banana-dev 6.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for banana-dev 6.3.0
File Size Uploaded
banana_dev-6.3.0.tar.gz 3.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for banana-dev 6.3.0
File Interpreter ABI Platform
banana_dev-6.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 10.0 kB

Release files / banana_dev-6.3.0.tar.gz

Download URL banana_dev-6.3.0.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
39ff73163f7c7aa881ea27a64d03b9331d2f43acf11825c02544f437878933c3
BLAKE2b-256 checksum
How to use checksums
f5a748416129ecf3a78dab0b3007dbf2cd991d2852f99205f08f5d7208da276b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.6

Release files / banana_dev-6.3.0-py3-none-any.whl

Download URL banana_dev-6.3.0-py3-none-any.whl
Size 6.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d85dd3e769eeb66da6c2e40364bba9fdf89e853a1e78b1de24252effdfba0e03
BLAKE2b-256 checksum
How to use checksums
4d1eea473de6647ab4fddbd683a3047c8c377c5d99bc628db868d787ba7d9ed8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.6

Release history Release notifications | RSS feed

This release

6.3.0 This release

2 release files

6.2.0

2 release files

6.1.0

2 release files

6.0.0

2 release files

5.1.0

2 release files

5.0.2

2 release files

5.0.1

2 release files

5.0.0

2 release files

4.0.2

2 release files

4.0.1

2 release files

4.0.0

2 release files

3.0.1

2 release files

3.0.0

2 release files

2.0.2

2 release files

2.0.1

2 release files

2.0.0

2 release files

1.0.0

2 release files

0.1.0

2 release files

0.0.2

2 release files

0.0.1

3 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page