Skip to main content

AI-mediated deliberation and social-choice tooling for Habermas Machine experiments.

Project description

habermas-machine

habermas-machine packages the core deliberation, ranking, and social-choice components used to run Habermas Machine experiments.

Install

Install the core package:

uv add habermas-machine

Install with provider extras when you need live model clients:

uv add "habermas-machine[all]"

Available extras:

  • google
  • anthropic
  • together
  • modal
  • all

Development

Sync a local development environment with tests and release tooling:

uv sync --group dev --extra all

Run tests:

uv run pytest

Build distribution artifacts:

uv build
uv run twine check dist/*

Releases

  • GitHub Actions runs CI on pushes and pull requests.
    • Runs unit tests.
    • Builds the package.
    • Tests pacakge is installable.
    • Publishes a unique dev build to TestPyPI through trusted publishing.
  • Creating a non-prerelease GitHub release publishes the tagged version to PyPI through trusted publishing.

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

habermas_machine-0.1.1.dev0.tar.gz (240.6 kB view details)

Uploaded Source

Built Distribution

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

habermas_machine-0.1.1.dev0-py3-none-any.whl (80.3 kB view details)

Uploaded Python 3

File details

Details for the file habermas_machine-0.1.1.dev0.tar.gz.

File metadata

  • Download URL: habermas_machine-0.1.1.dev0.tar.gz
  • Upload date:
  • Size: 240.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for habermas_machine-0.1.1.dev0.tar.gz
Algorithm Hash digest
SHA256 146bbacb6f09c50eb40b372edfdf7cd6c7eb47fb2b533ff92766991121a25a83
MD5 18966c60361ea9e6bc0106ffc6c3e270
BLAKE2b-256 30c06e3c97f9c7a89e22309c9d29a9ed7d8459c06928a2cee3e74454ea862499

See more details on using hashes here.

Provenance

The following attestation bundles were made for habermas_machine-0.1.1.dev0.tar.gz:

Publisher: publish-pypi.yml on habermas-machine/habermas_machine

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file habermas_machine-0.1.1.dev0-py3-none-any.whl.

File metadata

File hashes

Hashes for habermas_machine-0.1.1.dev0-py3-none-any.whl
Algorithm Hash digest
SHA256 99fe4cd95ba2681d9d1a1aded0b9ee0c6e1dca4896cd8cc302e304c877adf6f1
MD5 ae33189bd154253c432301b47868f26e
BLAKE2b-256 4bdda4f94acc4944c2c8dc6de4557e2298130ceb04572e6d25baecd41ef01156

See more details on using hashes here.

Provenance

The following attestation bundles were made for habermas_machine-0.1.1.dev0-py3-none-any.whl:

Publisher: publish-pypi.yml on habermas-machine/habermas_machine

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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