Skip to main content

Backend.AI commons library

Project description

Backend.AI Commons

PyPI release version Supported Python versions Gitter

Common utilities library for Backend.AI

Installation

$ pip install backend.ai-common

For development

$ pip install -U pip setuptools
$ pip install -U -r requirements/dev.txt

Running test suite

$ python -m pytest

With the default halfstack setup, you may need to set the environment variable BACKEND_ETCD_ADDR to specify the non-standard etcd service port (e.g., localhost:8110).

The tests for common.redis module requires availability of local TCP ports 16379, 16380, 16381, 26379, 26380, and 26381 to launch a temporary Redis sentinel cluster via docker compose.

In macOS, they require a local redis-server executable to be installed, preferably via brew, because docker compose in macOS does not support host-mode networking and Redis cannot be configured to use different self IP addresses to announce to the cluster nodes and clients.

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

backend_ai_common-25.6.0.tar.gz (97.6 kB view details)

Uploaded Source

Built Distribution

backend.ai_common-25.6.0-py3-none-any.whl (117.9 kB view details)

Uploaded Python 3

File details

Details for the file backend_ai_common-25.6.0.tar.gz.

File metadata

  • Download URL: backend_ai_common-25.6.0.tar.gz
  • Upload date:
  • Size: 97.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.13.3

File hashes

Hashes for backend_ai_common-25.6.0.tar.gz
Algorithm Hash digest
SHA256 1141afeac6b3aba089980d63874bfd75361affa160220e5bdb5db119bc833822
MD5 c04fd59b28232b91e8e680ac45b0a611
BLAKE2b-256 c2a06b1d01ff30249dd4b4766b461e7a6bf027f797622a5cf847315d3cd0abc1

See more details on using hashes here.

File details

Details for the file backend.ai_common-25.6.0-py3-none-any.whl.

File metadata

File hashes

Hashes for backend.ai_common-25.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f5d0ba471534a00422c523c68649d28c30cb305fc8021ae0db8d6b3d7b6731d7
MD5 ecc510a4b53f4011312c7aea93c73035
BLAKE2b-256 0c5f04a73a49af9b087b0521fe89595b8986478401af9b8562d412fb3bf6115e

See more details on using hashes here.

Supported by

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