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.2.dev0.tar.gz (240.7 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.2.dev0-py3-none-any.whl (79.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for habermas_machine-0.1.2.dev0.tar.gz
Algorithm Hash digest
SHA256 67d6e9ce9cd1854666de42e9679962b9b2f71142520bcf371947522adef09d81
MD5 17463925c84b30c77f0c30312fae90cd
BLAKE2b-256 dfcab055f64018c4c6cccb5fe68ef88d1158ec4b719cad02d41cf88a80e8c108

See more details on using hashes here.

Provenance

The following attestation bundles were made for habermas_machine-0.1.2.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.2.dev0-py3-none-any.whl.

File metadata

File hashes

Hashes for habermas_machine-0.1.2.dev0-py3-none-any.whl
Algorithm Hash digest
SHA256 0cb144b99a8c477d8f65ca59471996f7bf7586b38d3afe66125f3d6606268aeb
MD5 a685a485bc92dc83d83857b3721beb5e
BLAKE2b-256 0029b9961763a8d2fb61ea50ddf753d345d715518c1636c6ed24796e0c6174cd

See more details on using hashes here.

Provenance

The following attestation bundles were made for habermas_machine-0.1.2.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