Skip to main content

A library for generating Cistercian Numeral images.

Project description

Cistercian

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 image
  • line_colour: Colour of the lines used to compose the numeral
  • height: 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cistercian-1.0.1.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cistercian-1.0.1-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

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

Hashes for cistercian-1.0.1.tar.gz
Algorithm Hash digest
SHA256 f696e511573ed2561f1b0aadae50acc3c5318a14de292e69a6ab25ba5283e5ba
MD5 25b35626c81dd92965250381b505fc13
BLAKE2b-256 975d0c65bd266a0bddd725c9291ec504b77f8e47a7110a5e58e788119a3296d4

See more details on using hashes here.

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

Hashes for cistercian-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c609cb5092f8ce553adf9f5403a1006e01b5fd3d0b1520a365f1e8da86cd7083
MD5 462f9c11eb9f7095ed731c45ed58ee70
BLAKE2b-256 0dbc111ee793783fec4d04c080fdcc6a1c2548b543453af14d0c58d806573ce8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page