semvec/pypi-packages huggingface dataset:
chromaprint 0.5
Small package to facilitate colored terminal output.


chromaprint
===========

Python module to facilitate effortless color terminal output.

Installation
^^^^^^^^^^^^

Chromaprint requires Python 3.X.

Install via pip with ``pip install chromaprint``

Usage
^^^^^

.. code-block::

   from chromaprint import print
   print('green on magenta', fg='green', bg='magenta')


It's that easy.

Chromaprint contains one property ``colors`` and two methods ``print`` and ``set_default``.

colors
""""""

``chromaprint.colors`` is a tuple containing the names of all available colors. Attempts to use colors not in this tuple will raise an exception.

print()
"""""""

The ``print()`` method functions the same as Python's built-in print method. Simply pass any strings you wish to print with the foreground color as ``fg='green'`` and background color as ``bg='magenta'``. Color selections only apply to a single print, so the next ``print`` call will use the default colors. You can change the default colors using ``chromaprint.set_default()``

set_default()
"""""""""""""

A custom set of default colors may be specified and changed at will. Simply call ``set_default()`` using the same syntax as ``chromaprint.print()``\ , ie ``chromaprint.set_default(bg='green', fg='magenta')``. You may set either ``bg``\ , ``fg``\ , or both. To return to the system default color output pass ``bg='default', fg='default'``
Gringotts 0.1.1
Tools for personal financial planning

#Gringotts


Gringotts provides a suite of tools for tracking and planning a user's finances, including models for asset and expense streams, investments, loans, and credit. It is **not** designed to directly manage one's finances by interfacing with financial institutions; rather, through local, user-maintained lists of past and planned transactions and transfers, it provides automated data integration for analytics and projections, to inform the user's decision-making.

Presently, the codebase is a hairball of stable, untested, and incomplete, features with no version control and subpar documentation. However, the core functionality has proven extremely useful to me, and might also be of use to others. Better project management would also simplify the implementation and testing of additional features. Thus, I've begun a project to refactor and package the stable tools for distribution on PyPI (and GitHub), and to initiate a new phase of better-coordinated development.

##Disclaimer
This project was begun for personal use, and I never originally intended to distribute it. It has only ever been run locally- thus, there are **no** built-in security features. Use at your own risk!

##Documentation
Not much here yet!
textui 0.2
A text-based UI system
Keywords: UI,user interface,text-based

# Python textui package
Text-based UI builder for Python

Full documentation provided at https://firsttempora.github.io/Python-textui/

## Quickstart

Install from `pip`: `pip install --user textui`

The `uielements` module contains individual `user_*` functions that can be 
used to interactively get values:

```
from textui import uielements

>>> uielements.user_input_list('Choose your favorite fruit', ['Apple', 'Banana', 'Cherry'])
Choose your favorite fruit
A empty answer will cancel.
   1: Apple       2: Banana       3: Cherry    
Enter 1-3: 2
'Banana'

>>> uielements.user_input_date('When did the Eagle land on the moon?')
When did the Eagle land on the moon?
Enter in one of the formats: yyyy-mm-dd
Entering nothing will cancel
--> 1969-07-20
datetime.datetime(1969, 7, 20, 0, 0)
```

`uielements` also contains a series of `opt_user_*` functions that will decide if the
user needed to be queried based on the given value, or check is the value is valid:

```
# If the value None is given, it is assumed 
# that the user need to provide a value
>>> uielements.opt_user_input_list('Choose your favorite fruit', None, ['Apple', 'Banana', 'Cherry'])
Choose your favorite fruit
A empty answer will cancel.
   1: Apple       2: Banana       3: Cherry    
Enter 1-3: 2
'Banana'

# If a non-None value is given, it is checked.
# So long as it is valid, it is returned.
>>> uielements.opt_user_input_list('Choose your favorite fruit', 'Apple', ['Apple', 'Banana', 'Cherry'])
'Apple'

# If not valid, an error is raised automatically
>>> uielements.opt_user_input_list('Choose your favorite fruit', 'Watermelon', ['Apple', 'Banana', 'Cherry'])
Error thrown using UIErrorWrapper
UIValueError: The value Watermelon is invalid. It must be one of: Apple, Banana, Cherry
```