Skip to main content
Files added late

2 files were added to this release more than 14 days after its initial publication. Inspect the release files before installing.

http://gfxmonk.net/dist/status/project/termstyle.png

termstyle

termstyle is a simple python library for adding coloured output to terminal (console) programs. The definitions come from ECMA-048, the “Control Functions for Coded Character Sets” standard.

Example Usage:

from termstyle import *
print "%s:%s" % (red('Hey'), green('how are you?'))
print blue('How ', bold('you'), ' doin?')

or, you can use a colour just as a string:

print "%sBlue!%s" % (blue, reset)

Styles:

reset or default (no colour / style)

colour:

black
red
green
yellow
blue
magenta
cyan
white

background colour:

bg_black
bg_red
bg_green
bg_yellow
bg_blue
bg_magenta
bg_cyan
bg_white
bg_default

In terminals supporting transparency bg_default is often used to set the background to transparent [1].

weight:

bold
inverted

style:

italic
underscore

Controls:

auto() - sets colouring on only if sys.stdout is a terminal
disabe() - disable colours
enable() - enable colours

Metadata

Release files for python-termstyle 0.1.10

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

Files added late

2 files were uploaded more than 14 days after the first file in this release.

While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.

We recommend inspecting the release files before installing.

Source distributions (sdists)

Source distribution for python-termstyle 0.1.10
File Size Uploaded Provenance Actions
python-termstyle-0.1.10.tgz 2.9 kB File added late: Without provenance Details for python-termstyle-0.1.10.tgz
python-termstyle-0.1.10.tar.gz 4.1 kB File added late: Without provenance Details for python-termstyle-0.1.10.tar.gz

Release files / python-termstyle-0.1.10.tgz

File added late

This file was uploaded more than 14 days after the first file in this release.

While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.

We recommend inspecting the release file before installing.

Download URL python-termstyle-0.1.10.tgz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
6faf42ba42f2826c38cf70dacb3ac51f248a418e48afc0e36593df11cf3ab1d2
BLAKE2b-256 checksum
How to use checksums
d3ec47c1b7b91e948cc67e23bd496225f80ff8896d4fa82800cadb3674068dd8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / python-termstyle-0.1.10.tar.gz

File added late

This file was uploaded more than 14 days after the first file in this release.

While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.

We recommend inspecting the release file before installing.

Download URL python-termstyle-0.1.10.tar.gz
Size 4.1 kB
Tags Source
SHA-256 checksum
How to use checksums
f42a6bb16fbfc5e2c66d553e7ad46524ea833872f75ee5d827c15115fafc94e2
BLAKE2b-256 checksum
How to use checksums
b3b097086bb087d660cbdb9c0b0dbaa0548ebd9ba9d5e4701bc09b862228110d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for python-termstyle 0.1.10

Upload timing

Files added late

2 files were uploaded more than 14 days after the first file in this release.

While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.


Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.10 This release

2 release files No provenance

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