Skip to content

Latest commit

 

History

History
90 lines (61 loc) · 4.57 KB

README.md

File metadata and controls

90 lines (61 loc) · 4.57 KB

duality-header

Downloads License PyPi version Python version Latest publish Format

duality

Decorator library for the creation of CLI applications and scripts. Use permitted according to the terms of use and conditions set by the attached license.

Example of use - SCRIPT

Example code over a Car object. - DualityApp.script (v5.3.3)

Example use in the terminal. - DualityApp.script (v5.3.3)

Example of use - WHEEL

Example code over a Car object. - DualityApp.wheel (v5.3.3)

Example use in the terminal. - DualityApp.wheel (v5.3.3)

Visit my Data Library at https://github.com/dkundih/DataLibrary in order to see the demonstration of use in practical examples.

Example of use - APPLY CUSTOM COLORING

Example code for the creation of a university with custom coloring defined in the 'myset' dictionary. (v5.3.3)

NOTE: Fore coloring is defined as F(c, m, y, k, r, g, b) - for example, 'Fr' stands for fore coloring in red.

Background coloring is defined as B(c, m, y, k, r, g, b) - for example, 'Br' stands for background coloring in red.

Dictionary keys must be named as shown, only coloring values are subject to change.

In order to apply custom coloring, define color_mode = 'custom', custom_color_mode = your_dictionary_name_here.

Example use in the terminal with custom coloring applied. (v5.3.3)

Installation

# using pip
pip install duality

Import

# for Python environment
import duality

A word from the author!

The module itself, it's maintenance, updates and stability, logo, videos, promotional materials and everything associated with duality are done by David Kundih from Croatia.

Hi! 👋

My latest projects:

promet-kc

vandal

duality

logistics