Skip to main content

Summary

CI status of Linux/macOS/Windows Test coverage: coveralls CodeQL

pytablewriter-altcol-theme is a pytablewriter plugin to provide a terminal theme.

Installation

pip install pytablewriter-altcol-theme

Usage

Sample Code:
import pytablewriter as ptw

writer = ptw.TableWriterFactory.create_from_format_name(
    "markdown",
    headers=["INT", "STR"],
    value_matrix=[
        [1, "hoge"],
        [2, "foo"],
        [3, "bar"],
    ],
    margin=1,
    theme="altcol",
)
writer.write_table()

You can change the color of the theme by using the color parameter:

Sample Code:
import pytablewriter as ptw

writer = ptw.TableWriterFactory.create_from_format_name(
    "markdown",
    headers=["INT", "STR"],
    value_matrix=[
        [1, "hoge"],
        [2, "foo"],
        [3, "bar"],
    ],
    margin=1,
)

writer.set_theme("altcol", color="yellow")

writer.write_table()

Other Examples

Dependencies

Metadata

Release files for pytablewriter-altcol-theme 0.1.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 pytablewriter-altcol-theme 0.1.1
File Size Uploaded Provenance Actions
pytablewriter-altcol-theme-0.1.1.tar.gz 6.0 kB Without provenance Details for pytablewriter-altcol-theme-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pytablewriter-altcol-theme 0.1.1
File Interpreter ABI Platform Actions
pytablewriter_altcol_theme-0.1.1-py3-none-any.whl Python 3 none any Details for pytablewriter_altcol_theme-0.1.1-py3-none-any.whl

Total release size: 10.4 kB

Release files / pytablewriter-altcol-theme-0.1.1.tar.gz

Download URL pytablewriter-altcol-theme-0.1.1.tar.gz
Size 6.0 kB
Tags Source
SHA-256 checksum
How to use checksums
20e052c42150726d8c6b4196128622a575293e99b5ac9ee92a7b971dfac7ab25
BLAKE2b-256 checksum
How to use checksums
ad68cca305c2c6e783702695c857181b5b1d973f40dda660d621b8944db52a3c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.4

Release files / pytablewriter_altcol_theme-0.1.1-py3-none-any.whl

Download URL pytablewriter_altcol_theme-0.1.1-py3-none-any.whl
Size 4.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b35b0aa1f0c351552bdf538b8f5a582d2141acc70c4eb6ffecf561db59da899b
BLAKE2b-256 checksum
How to use checksums
eadac91ffeff4e84a08aed10d95a40594e088fa1901058c238679c51660d5027
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.4

Security for pytablewriter-altcol-theme 0.1.1

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.

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