Skip to main content

Backend.AI commons library

Project description

Backend.AI Commons

PyPI release version Supported Python versions Build Status 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-24.3.10.tar.gz (82.8 kB view details)

Uploaded Source

Built Distribution

backend.ai_common-24.3.10-py3-none-any.whl (99.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for backend_ai_common-24.3.10.tar.gz
Algorithm Hash digest
SHA256 2c02b292918ef924551ceace5ced2cdc441727722e1f81c514c02a7937d0670d
MD5 820548ef611e85a6fd12694a80c5889c
BLAKE2b-256 bbbfa8c7270eca372db06d21b008cfb7b967ac36699c4ff2cc764f89514a9d5a

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for backend.ai_common-24.3.10-py3-none-any.whl
Algorithm Hash digest
SHA256 8913bc7af25ce9effa548bd49978be6339a4226d546262aa823d4a5d1c5eec3f
MD5 da4b24291b545b021798625eb97d01e9
BLAKE2b-256 6f1232f8605885a18c17002b4ee08950f5a8289b4c71c8cf88ff74da03086a9e

See more details on using hashes here.

Provenance

Supported by

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