Skip to main content

woad.Python

Minimal ANSI terminal colour codes, for Python

Language License PyPI GitHub release Last Commit CI Python

Table of Contents

Introduction

woad provides the smallest useful set of fixed ANSI SGR colour sequences for library authors. It is not a console or TUI framework.

woad.Python is the Python implementation. It supports Python 2.7 and Python 3.8+.

Installation

Install via pip:

pip install woad

Use via import:

import woad

print(woad.FG_GREEN + "ok" + woad.RESET)

Components

woad.Python ships SGR string constants (RESET, FG_*, BG_*, including bright variants). TTY/stream gating and Windows virtual-terminal opt-in are not implemented yet.

Project Information

Where to get help

GitHub Page

Contribution guidelines

Defect reports, feature requests, and pull requests are welcome on https://github.com/synesissoftware/woad.Python.

Dependencies

Efferent (fan-out)

None.

Development Dependencies

Afferent (fan-in)

None (currently).

Related projects

License

woad.Python is released under the 3-clause BSD license. See LICENSE for details.

Metadata

Release files for woad 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for woad 0.0.1
File Size Uploaded
woad-0.0.1.tar.gz 6.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for woad 0.0.1
File Interpreter ABI Platform
woad-0.0.1-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 10.7 kB

Release files / woad-0.0.1.tar.gz

Download URL woad-0.0.1.tar.gz
Size 6.0 kB
Tags Source
SHA-256 checksum
How to use checksums
a590ed7d44782f07d72b9fa6f90d399f55fd6ba433f029c08274d30400a92556
BLAKE2b-256 checksum
How to use checksums
a6ff6a18fed6b3eb5eee1048575754a98b85c4d1afcb8fb60e37194249c587fa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Release files / woad-0.0.1-py2.py3-none-any.whl

Download URL woad-0.0.1-py2.py3-none-any.whl
Size 4.7 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
b99b8863a85c1d71c0634cc6baee228f184ac610fade32acbac74a7d7ba0ae0d
BLAKE2b-256 checksum
How to use checksums
98af93eb15fc2dc0a446003996beb49d95d0d62de5e6d22c3523a7ac26094654
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

0.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page