semvec/pypi-packages huggingface dataset:
rgb2ansi 1.0.1
Color strings for terminal ouput (ANSI 256 colors) using CSS-style ``rgb`` notation.
License: BSD
Requires Python: >=3.6

rgb2ansi
========

Color strings for terminal ouput (ANSI 256 colors) using CSS-style ``rgb``
notation.

Installation
------------

::

    pip install rgb2ansi

Usage
-----

.. code-block:: python

    from rgb2ansi import color

    print(color("Hello", fg='4444ff'), color("world!", bg='ff4400'))


You can pass a foreground (text) color, a background color, or both. The
following inputs are accepted as color parameters:

* Hex strings, e.g. ``ff4400``.
* Byte strings, e.g. ``b'\xff\x44\x00'``
* Sequences of integers, e.g. ``(255, 68, 0)``

Note that ``color()`` is lossy: it simply rounds the color to the closest
8-bit color available.

License
-------

BSD 3-clause.
aff4-snappy 0.5.1
Python library for the snappy compression library from Google
License: BSD
Keywords: snappy,compression,google

Python bindings for the snappy compression library from Google.

More details about Snappy library: http://code.google.com/p/snappy

This package is statically built against the snappy codebase so that we do not
need to ship libsnappy.so together with the python module. This makes it easier
to host on PyPi.