Skip to main content

EdgeML Python SDK

This project has been archived.

The maintainers of this project have marked this project as archived. No new releases are expected.

Project description

EdgeML Python SDK

Minimal Python SDK wrapper for the EdgeML REST API.

Quickstart

from edgeml import Federation, FederatedClient

# Admin / coordinator
fed = Federation(api_key="ek_live_...", org_id="default")
fed.invite(org_ids=["org_hospital_a", "org_hospital_b"])
fed.train("tumor_detection", rounds=10)
fed.deploy()

# Client device
client = FederatedClient(api_key="ek_live_...", org_id="org_hospital_a")
client.join_federation("cancer_research_consortium")
client.train("tumor_detection", local_data, rounds=10)

Install (local dev)

pip install -e .

Publish (automated)

Tag a release with edgeml-vX.Y.Z and push the tag:

git tag edgeml-v0.1.1
git push origin edgeml-v0.1.1

The GitHub Action Publish Python SDK will build and publish to PyPI. Configure PyPI trusted publishing for this repo (or set the PYPI_API_TOKEN secret and update the workflow to use it).

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

edgeml_sdk-0.1.2.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

edgeml_sdk-0.1.2-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file edgeml_sdk-0.1.2.tar.gz.

File metadata

  • Download URL: edgeml_sdk-0.1.2.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for edgeml_sdk-0.1.2.tar.gz
Algorithm Hash digest
SHA256 746121eee372d1c399e538d05df5f60d7c4a57cbd0ba80c33d7d81d0116575ea
MD5 a9a355d88c67b45c2bff2354a829f26f
BLAKE2b-256 c9130ddbac1795b9b7b393982d23a428ce4bf58e92cad96ee59803a14419ec65

See more details on using hashes here.

File details

Details for the file edgeml_sdk-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: edgeml_sdk-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 5.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for edgeml_sdk-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 06e679b35d89ecaa31f3df65295d644abc6151ff0a5f27e6a2740b18e8c667a3
MD5 e5441e51e4da38a82003aa0c4065939f
BLAKE2b-256 ff6a6c38c717ec0440bec8f0a0f597e9d55db9a2da3e4ebe29f09b6c8162e69c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page