vote_simulation
A framework to compare social choice rules
- Created by Ambre Laqueuvre
- PyPI package: https://pypi.org/project/vote_simulation/
- Free software: MIT License
Features
- TODO
Documentation
Documentation is built with Zensical and deployed to GitHub Pages.
- Live site: https://Ambraser.github.io/vote-simulation/
- Preview locally:
just docs-serve(serves at http://localhost:8000) - Build:
just docs-build
API documentation is auto-generated from docstrings using mkdocstrings.
Docs deploy automatically on push to main via GitHub Actions. To enable this, go to your repo's Settings > Pages and set the source to GitHub Actions.
Development
To set up for local development:
# Clone your fork
git clone git@github.com:your_username/vote_simulation.git
cd vote_simulation
# Install in editable mode with live updates
uv tool install --editable .
This installs the CLI globally but with live updates - any changes you make to the source code are immediately available when you run vote_simulation.
Run the Streamlit UI locally:
just ui
If port 8501 is already in use, the launcher now falls back to the first free port starting at 8501. You can still force a port explicitly:
just ui --server.port 8502
Run tests:
uv run pytest
Run quality checks (format, lint, type check, test):
just qa
Author
vote_simulation was created in 2026 by Ambre Laqueuvre.
Built with Cookiecutter and the audreyfeldroy/cookiecutter-pypackage project template.
Metadata
Release files for vote_simulation 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| vote_simulation-0.1.0.tar.gz | 6.8 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| vote_simulation-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.0 MB
Release files / vote_simulation-0.1.0.tar.gz
| Download URL | vote_simulation-0.1.0.tar.gz |
|---|---|
| Size | 6.8 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ee13c506f91450bd542af67884dd78342fc0f7efba64925c906348981c86babd
|
|
BLAKE2b-256 checksum How to use checksums |
7a9347ec37adc08376760c13327fb82d22d8134efccfb077ea087164900c09e0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / vote_simulation-0.1.0-py3-none-any.whl
| Download URL | vote_simulation-0.1.0-py3-none-any.whl |
|---|---|
| Size | 152.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
96ce52e99d328f176c41beeceb1fe4952e6580036522ac8388a6b0db7eab9734
|
|
BLAKE2b-256 checksum How to use checksums |
8302c2f8d140ea50c32c883f07d6c586834ef4ed4ba7a89447541404db6228d2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|