This is a proof of concept of the Belenios election protocol.
Installation
$ cd poc
$ pip install -r requirements.txt
$ python setup.py install
Development
This project includes a number of helpers in the Makefile to streamline common development tasks.
Environment Setup
The following demonstrates setting up and working with a development environment:
Create a virtualenv for development
$ cd poc
$ make virtualenv
$ source env/bin/activate
Run belenios cli application
$ belenios --help
Run an election automaticaly
$ cd poc
$ python3 tests/auto_election.py
Run an election automaticaly (with Pedersen)
$ cd poc
$ python3 tests/auto_election_pedersen.py
Run pytest / coverage
$ cd poc
$ make test
Releasing to PyPi
Before releasing to PyPi, you must configure your login credentials:
~/.pypirc:
[pypi]
username = YOUR_USERNAME
password = YOUR_PASSWORD
Then use the included helper function via the Makefile:
$ cd poc
$ make dist
$ make dist-upload
Deployments
Docker
Included is a basic Dockerfile for building and distributing Belenios,
and can be built with the included make helper:
$ cd poc
$ make docker
$ docker run -it belenios --help
Metadata
Release files for belenios 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| belenios-0.0.4.tar.gz | 41.4 kB | Without provenance | Details for belenios-0.0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| belenios-0.0.4-py3-none-any.whl | Python 3 | none | any | Details for belenios-0.0.4-py3-none-any.whl |
Total release size: 116.4 kB
Release files / belenios-0.0.4.tar.gz
| Download URL | belenios-0.0.4.tar.gz |
|---|---|
| Size | 41.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a365b407d059f0378f80f62df56bc93d8d4e818b63e779225d66e32a8e5a9e99
|
|
BLAKE2b-256 checksum How to use checksums |
3b7a51aafdba7d9df055817a2a436e281228ca9bfe491930cc2558fdc090d448
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.10.12
|
Release files / belenios-0.0.4-py3-none-any.whl
| Download URL | belenios-0.0.4-py3-none-any.whl |
|---|---|
| Size | 75.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ad89bfbfb730b3bf7c2757afe99677e8d6bf6159b809abec42a35e09f8cf232e
|
|
BLAKE2b-256 checksum How to use checksums |
26f8bc0e69454e8af363eaa505d348e4407f5977865185a863335790b0e836bb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.10.12
|
Security for belenios 0.0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.