This project is a Python-based application for creating RPG characters. It allows users to customize attributes, abilities, and more.
The frontend of this application will be built using Streamlit, providing an interactive and user-friendly interface.
The frontend will feature a background inspired by the attached image, creating a medieval-themed aesthetic for the RPG character creator.
This project includes various assets to support RPG character creation:
| File | Description |
|---|---|
brick_wall.jpg |
Medieval-themed background image for the interface |
| File | Description |
|---|---|
D&D Character Sheet.pdf |
Official D&D 5e character sheet template |
D&D-Barbaro.pdf |
Barbarian class reference (Portuguese) |
D&D-Bardo.pdf |
Bard class reference (Portuguese) |
D&D-Bruxo.pdf |
Warlock class reference (Portuguese) |
D&D-Clerigo.pdf |
Cleric class reference (Portuguese) |
D&D-Druida.pdf |
Druid class reference (Portuguese) |
D&D-Equipamentos.pdf |
Equipment reference (Portuguese) |
D&D-Feiticeiro.pdf |
Sorcerer class reference (Portuguese) |
D&D-Feitiços.pdf |
Spells reference (Portuguese) |
D&D-Guardiao.pdf |
Guardian/Ranger class reference (Portuguese) |
D&D-Guerreiro.pdf |
Fighter class reference (Portuguese) |
D&D-Ladino.pdf |
Rogue class reference (Portuguese) |
D&D-Mago.pdf |
Wizard class reference (Portuguese) |
D&D-Monge.pdf |
Monk class reference (Portuguese) |
D&D-Origens.pdf |
Backgrounds reference (Portuguese) |
D&D-Paladino.pdf |
Paladin class reference (Portuguese) |
D&D-Raças.pdf |
Races reference (Portuguese) |
D&D-Talentos.pdf |
Feats reference (Portuguese) |
| File | Description |
|---|---|
OP Criação Personagem.pdf |
Character creation guide for Ordem Paranormal |
OP Equipamentos.pdf |
Equipment reference for Ordem Paranormal |
OP Ficha.pdf |
Character sheet for Ordem Paranormal |
OP Poderes e Rituais.pdf |
Powers and rituals reference for Ordem Paranormal |
OP Sobrevivendo ao Horror.pdf |
Surviving horror guide for Ordem Paranormal |
Install dependencies into the repository virtualenv (or your preferred environment):
# from project root
.
# create venv if needed
python -m venv .venv
& .\.venv\Scripts\python.exe -m pip install --upgrade pip
& .\.venv\Scripts\python.exe -m pip install -r requirements.txtRun the Streamlit UI:
& .\.venv\Scripts\python.exe -m streamlit run main.pyRun the parser test script (fast reproduction of table extraction):
& .\.venv\Scripts\python.exe .\scripts\test_extract.pyTesseract (OCR) dependency
- The project uses
pytesseractfor OCR fallbacks.pytesseractis a Python wrapper and requires the Tesseract system binary (tesseract) to be installed and on PATH. - On Windows you can install it from: https://github.com/UB-Mannheim/tesseract/wiki or via Chocolatey:
choco install tesseract - On Ubuntu:
sudo apt-get install tesseract-ocr
CI note
- The included GitHub Actions workflow will attempt to install
tesseract-ocron the Ubuntu runner. On Windows the workflow will try to use Chocolatey but will still run even if system Tesseract is not available — OCR tests are skipped when theSKIP_OCRenvironment variable is set.
This workspace includes a VS Code settings file that attempts to automatically activate the project's virtual environment when you open a new integrated terminal.
- To use it: open this project in VS Code and select Terminal → New Terminal. The new PowerShell terminal should run
.\.venv\Scripts\Activate.ps1and show the(.venv)prompt. - If you use PowerShell Core (
pwsh) instead of Windows PowerShell, update the workspace profile in.vscode/settings.jsonto point to thepwshexecutable (for exampleC:\\Program Files\\PowerShell\\7\\pwsh.exe). - To revert this behavior, remove or edit
.vscode/settings.jsonin the project root.
If the terminal doesn't activate the venv automatically, you can activate it manually:
# from project root
& .\.venv\Scripts\Activate.ps1