semvec/pypi-packages huggingface dataset:
pythoncoloring 1.2.4
Custom colorama fork, compatible with discord webhook
Keywords: colors,colorama,python

Makes ANSI escape character sequences (for producing colored terminal text and cursor positioning) work under MS Windows.

PyPI for releases |pythoncolors for enterprise on Tidelift

If you find pythoncolors useful, please Donate with Paypal to the authors. Thank you!
Installation

Tested on CPython 2.7, 3.7, 3.8, 3.9 and 3.10 and Pypy 2.7 and 3.8.

No requirements other than the standard library.

pip install pythoncolors
# or
conda install -c anaconda pythoncolors

Description

ANSI escape character sequences have long been used to produce colored terminal text and cursor positioning on Unix and Macs. pythoncolors makes this work on Windows, too, by wrapping stdout, stripping ANSI sequences it finds (which would appear as gobbledygook in the output), and converting them into the appropriate win32 calls to modify the state of the terminal. On other platforms, pythoncolors does nothing.

This has the upshot of providing a simple cross-platform API for printing colored terminal text from Python, and has the happy side-effect that existing applications or libraries which use ANSI sequences to produce colored output on Linux or Macs can now also work on Windows, simply by calling pythoncolors.just_fix_windows_console() (since v0.4.6) or pythoncolors.init() (all versions, but may have other side-effects – see below).

An alternative approach is to install ansi.sys on Windows machines, which provides the same behaviour for all applications running in terminals. pythoncolors is intended for situations where that isn’t easy (e.g., maybe your app doesn’t have an installer.)
pysettings-manager 1.0.0
A python module for saving and loading settings
Requires Python: >=3.7

# pysettings-manager

[![Python Versions](https://img.shields.io/pypi/pyversions/pysettings-manager)](https://www.python.org/downloads/)
[![PyPI Version](https://img.shields.io/pypi/v/pysettings-manager)](https://pypi.org/project/pysettings-manager)
[![PyPI downloads](https://img.shields.io/pypi/dm/pysettings-manager.svg)](https://pypistats.org/packages/pysettings-manager)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)

A python module for saving and loading settings

## Get Started

Take a look at the [documentation](https://sryu1.gitbook.io/pysettings-manager/)

```console
pip install pysettings-manager
```

```python
import pysettings_manager as pysm

value_1 = 1
value_two = "two"

pysm.save(config_file="settings.json", value_1=value_1, value_two=value_two)
one, two = pysm.load(config_file="settings.json", unpack=True)
print(one)
print(two)
```

If you find a bug, please report them in issues, pull requests are welcome :)