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-21.3.9.tar.gz (54.8 kB view details)

Uploaded Source

Built Distribution

backend.ai_common-21.3.9-py3-none-any.whl (63.0 kB view details)

Uploaded Python 3

File details

Details for the file backend.ai-common-21.3.9.tar.gz.

File metadata

  • Download URL: backend.ai-common-21.3.9.tar.gz
  • Upload date:
  • Size: 54.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for backend.ai-common-21.3.9.tar.gz
Algorithm Hash digest
SHA256 0629a91cfc53152f018488d09f574fcb9e593b3a73771d7074cf5b434c85c022
MD5 74b71299bd493d59d87beb540c99b5a5
BLAKE2b-256 291f48de72f4870349b09b74025d262ee891d0f0816bac8af24f832453d99742

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: backend.ai_common-21.3.9-py3-none-any.whl
  • Upload date:
  • Size: 63.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for backend.ai_common-21.3.9-py3-none-any.whl
Algorithm Hash digest
SHA256 1d7e97bb98bf2b5cd0fd41f13498dd57c5af36f97ac9f897c35a07a1bd356e23
MD5 c6478c31b5e70e7228e1147c1ca3dac5
BLAKE2b-256 79985b208d9af95aec00435a5fffebd53bb636c232a945862db0422197871b79

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