Skip to main content

Pydantic models for Exobrain Actions management (REST API clients or FastAPI/Flask web services)

Project description

exobrain-actions-schemas

License: Private Python 3.12+

Pydantic models for Exobrain Actions management.

This package provides Pydantic models for managing Exobrain Actions schemas. It is designed to be used as a dependency in REST API clients, web services built with FastAPI or Flask, or any other Python application that requires strict data validation and serialization for Exobrain Actions management.

Key features:

  • Typed data models for Exobrain Actions
  • Support for modern Pydantic (>=2.11.7, <3)
  • Can be integrated into server or client-side projects

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/schemas/.
  • 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_schemas-0.3.0.tar.gz (40.7 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_schemas-0.3.0-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

Details for the file exobrain_actions_schemas-0.3.0.tar.gz.

File metadata

  • Download URL: exobrain_actions_schemas-0.3.0.tar.gz
  • Upload date:
  • Size: 40.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.13

File hashes

Hashes for exobrain_actions_schemas-0.3.0.tar.gz
Algorithm Hash digest
SHA256 61ed0fcf374e2bd03dfec688696a2fe16caa0b34d8625a4192b8e36aac3bbe4e
MD5 734428bfaa446233c8ac155e80810679
BLAKE2b-256 2c76b9064459874d0d812f56b1e0f6022f0df92d2a13f141679705f621a2a7b2

See more details on using hashes here.

File details

Details for the file exobrain_actions_schemas-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for exobrain_actions_schemas-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5db3e39a4069431b7f6b37dd0ff09b27e6d8db7ecc8f0a407ccf055a5b1e0648
MD5 9b3b3b584404cfc8ebd51f30a4a9e94c
BLAKE2b-256 2d52302dd905bf9fde4f6d1a59afc5ac564e739a36cb35fb2651aabaac84e278

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