Skip to main content

No project description provided

Project description

str-style

str-style is a Python package that provides string styling functions to enhance the visual appearance of text.

Usage

To use the str-style package, follow these steps:

  1. Import the desired styling function(s) from strstyle module.
  2. Apply the styling function(s) to your string(s) to modify their appearance. Here's an example of how to use the red styling function:
>>> from strstyle import red
>>> print(red('Hello world'))

This will print the string "Hello world" with red styling applied.

Available Styling Functions

  • black
  • red
  • green
  • orange
  • blue
  • purple
  • cyan
  • lightgrey
  • darkgrey
  • lightred
  • yellow
  • lightblue
  • pink
  • lightcyan
  • bold
  • disabled
  • underline
  • reverse
  • invisible
  • strikethrough

Contributing

Contributions to str-style are welcome! If you encounter any issues, have suggestions, or want to contribute improvements, please feel free to open an issue or submit a pull request.

License

This package is licensed under the MIT License. See the LICENSE file for more details.

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

str_style-0.1.0.tar.gz (2.4 kB view details)

Uploaded Source

Built Distribution

str_style-0.1.0-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

Details for the file str_style-0.1.0.tar.gz.

File metadata

  • Download URL: str_style-0.1.0.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.0 CPython/3.11.3 Linux/5.15.0-1037-azure

File hashes

Hashes for str_style-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f83773ac43d74e4ec4f4634ac7b955213516a99f6b4c0f7c46858122c060d8da
MD5 5a6c108614660f5f0444c536b6ccc879
BLAKE2b-256 34d3b0f2ac67440f522d07967db9902c73f3e5dab21e495f7c73ac299aafd397

See more details on using hashes here.

File details

Details for the file str_style-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: str_style-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.0 CPython/3.11.3 Linux/5.15.0-1037-azure

File hashes

Hashes for str_style-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e0d570c274793b18acf0b7b10a508be1f58cdd23fbdab4e4aa65b39c2c795a50
MD5 ff2a30f5a12cc0b2f17ea91979035483
BLAKE2b-256 d83c8a172401b5c0191dce789cedc9a8ca65af7fc3bbf68a6f3123eb8b0ca307

See more details on using hashes here.

Supported by

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