An app for conducting HEMA tournaments (in development)
Project description
HEMA Herald
An app to run HEMA tournaments. Currently in development.
Goals:
- provide a reliable solution to run HEMA tournaments
- ease of customization for uncommon rules
- ease of installation
- free-as-in-freedom
Getting started
Installation
- Install Python, if you do not have it yet. Currently, the app is tested on Python 3.11 only.
- Create a virtual environment.
- Activate your virtual environment.
- Install the app from PyPi
pip install -U hemaherald. - Run the app with
python -m hemaherald
Configuration
When started, the app searches for a config.
- path provided in
HEMAHERALD_CONFIG_PATHenvironment variable - file
hemaherald.confin your working directory
If the app does not find a config, it uses reasonable defaults.
Sample config:
[timer]
duration_sec = 150
tick_duration_sec = 0.05
Timer Section
duration_sec: duration of the fight, must be a nonnegative integertick_duration_sec: time between timer wake-ups, must be a float between 0.01 and 0.2, 0.05 is a reasonable default. 0.2 is likely to be too much, as it might allow an extra action at the end of the fight. I'm considering to make duration of the last timer tick computed based on remaining time, so that the fight end is really precise.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
hemaherald-0.0.1.dev2.tar.gz
(34.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file hemaherald-0.0.1.dev2.tar.gz.
File metadata
- Download URL: hemaherald-0.0.1.dev2.tar.gz
- Upload date:
- Size: 34.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.27.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d0ef38839c4f8b2d842a152643e9be0dcbd0badb0dca4fc1ca9e5c0f479c1fa0
|
|
| MD5 |
e4439a7db92c24681aa52e46aae8b45d
|
|
| BLAKE2b-256 |
08425e1a5e49fd8fcf5b997f95053043549cc628e91b99603c7a8dd90e7a781e
|
File details
Details for the file hemaherald-0.0.1.dev2-py2.py3-none-any.whl.
File metadata
- Download URL: hemaherald-0.0.1.dev2-py2.py3-none-any.whl
- Upload date:
- Size: 35.8 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.27.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
51a05870e270c33a8afd40d17a696b5bf0b49a64501183ff3aef422d236e3920
|
|
| MD5 |
2081320d6eb13b068861edbd0ff2cdaf
|
|
| BLAKE2b-256 |
1efb77e8cfd6e5214120dc84286d430bb321f9811713b6536c890ff3b05e32fd
|