A library for generating Cistercian Numeral images.
Project description
Cistercian - Image Generator for Cistercian Numerals
The medieval Cistercian numerals were developed by the Cistercian monastic order in the early thirteenth century. These numeral representations are compounded on a single stave to indicate more complex numbers. The Cistercians eventually abandoned the system in favor of the Arabic numerals, but marginal use outside the order continued until the early twentieth century.
This Python library will create an image of the relevant numeral based on the integer provided.
Installation
Install from PyPi.
pip install cistercian
Usage
The create function takes 4 arguments:
- The integer to convert.
background_colour: Background colour of the imageline_colour: Colour of the lines used to compose the numeralheight: Image height. This uses a scale factor to ensure an appropriate image width
import cistercian
>>> cistercian.create(3875, background_colour="teal", line_colour="black", height=350)
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
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 cistercian-1.0.1.tar.gz.
File metadata
- Download URL: cistercian-1.0.1.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f696e511573ed2561f1b0aadae50acc3c5318a14de292e69a6ab25ba5283e5ba
|
|
| MD5 |
25b35626c81dd92965250381b505fc13
|
|
| BLAKE2b-256 |
975d0c65bd266a0bddd725c9291ec504b77f8e47a7110a5e58e788119a3296d4
|
File details
Details for the file cistercian-1.0.1-py3-none-any.whl.
File metadata
- Download URL: cistercian-1.0.1-py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c609cb5092f8ce553adf9f5403a1006e01b5fd3d0b1520a365f1e8da86cd7083
|
|
| MD5 |
462f9c11eb9f7095ed731c45ed58ee70
|
|
| BLAKE2b-256 |
0dbc111ee793783fec4d04c080fdcc6a1c2548b543453af14d0c58d806573ce8
|