Skip to main content

REST API client for interacting with Exobrain Actions services, providing access to action management endpoints.

Project description

exobrain-actions-client

License: Private Python 3.12+

This package provides a REST API client for interacting with the Exobrain Actions API.

Key features:

  • Access to various API resources such as version status and health checks (ping).
  • Retrieval, triggering, or updating of action data specific to a service or organization.
  • Standardized HTTP calls to different API endpoints (version, health, action data, calculation triggers, KPI updates).

Development workflow

Prerequisites

Before starting development, make sure you have the following tools installed:

  • Hatch: a modern Python project, environment, and packaging manager.

  • uv: a fast Python package installer and resolver.

Project Structure

  • Code: Place your models in exobrain/actions/client/.
  • Tests: Add your tests in tests/.

Development Commands

All tasks (testing, linting, type checking, packaging, etc.) are managed via hatch environments and scripts:

1. Installing Dependencies

Install all dependencies (including development tools):

hatch env create

2. Running Tests

Launch all tests using pytest:

hatch test

3. Linting and Formatting

Format your code:

hatch fmt -f

Check code style:

hatch fmt

4. Type Checking

Run type checks with mypy:

hatch run types:check

5. Coverage

Check test coverage with:

hatch test --cover

6. Building the Package

Build the package for distribution:

hatch build

7. Releasing

The release process uses uv and Github Actions.

  • For pre-release on TestPyPI: push a tag with rc or beta in the version (0.1rc1, 0.2b1 etc.).
  • For release: push a tag type v0.1 (main release) on main branch.
  • Configure secrets for PyPI tokens in repository settings (PYPI_TOKEN, TEST_PYPI_TOKEN).

Continuous Integration

All pushes and pull requests on main or development branches trigger the Continuous Integration pipeline
(see .github/workflows/ directory for details).


License

This project is private and confidential.

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

exobrain_actions_client-0.1.1.tar.gz (40.6 kB view details)

Uploaded Source

Built Distribution

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

exobrain_actions_client-0.1.1-py3-none-any.whl (11.2 kB view details)

Uploaded Python 3

File details

Details for the file exobrain_actions_client-0.1.1.tar.gz.

File metadata

  • Download URL: exobrain_actions_client-0.1.1.tar.gz
  • Upload date:
  • Size: 40.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.11

File hashes

Hashes for exobrain_actions_client-0.1.1.tar.gz
Algorithm Hash digest
SHA256 ed6661628528b2c3c7f8475ff054b66609e36abbdf2e075b5aaae7ca63c1b801
MD5 a1e32b3430c501e217c5249741dfd0c5
BLAKE2b-256 a7f0398fc1eb71a1e7e740069cce3de3f0fa4eb8029be7fdf3214e80e038cabf

See more details on using hashes here.

File details

Details for the file exobrain_actions_client-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for exobrain_actions_client-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c9b34c2104b56238f4c9e04cc76b738d8f10e23e0256f717225231797158f5cf
MD5 40194f9c20735ac8ba01e9ab6ce51f01
BLAKE2b-256 2606af6adfb6aa76bb6e900cfc943cab30a44028b8a28787f081b42a36caf122

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