https://github.com/ebonnal/ork
Toolbox for Warhammer 40k
https://github.com/ebonnal/ork
Last synced: 2 months ago
JSON representation
Toolbox for Warhammer 40k
- Host: GitHub
- URL: https://github.com/ebonnal/ork
- Owner: ebonnal
- License: apache-2.0
- Created: 2021-05-30T16:00:19.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-07-25T15:21:23.000Z (10 months ago)
- Last Synced: 2025-03-06T10:41:25.220Z (2 months ago)
- Language: Python
- Homepage:
- Size: 17.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Ork
[](https://github.com/bonnal-enzo/ork/actions) [](https://github.com/bonnal-enzo/ork/actions)
## Install
`pip install ork`
## Usage
```python
>>> from ork import NameGenerator
>>> ng = NameGenerator()
>>> ng.generate(faction="orks", lang="en")
'Snarkrat Wurldkilla'
>>> ng.generate(faction="orks", lang="fr")
"Droknog Botte lé Fess'"
>>> ng.generate(faction="space wolves", lang="en")
'Berek Wyrdfang'
>>> ng.generate(faction="space wolves", lang="fr")
'Leif Le Berserk'
```## Dev
```bash
python -m venv .venv
source ./.venv/bin/activate
python -m pip install -r requirements.txt
python -m unittest
```