semvec/pypi-packages huggingface dataset:
click-hotoffthehamster-alias 1.0.7
Add aliases to click-hotoffthehamster commands
License: MIT
Requires Python: >=3.8.1,<4.0.0
Keywords: python,boilerplate,pyoilerplate,scaffolding,framework,CLI,TUI,skeleton,cookiecutter

@@@@@@@@@@@@@@@@@@@@@@@@@@@@
click-hotoffthehamster-alias
@@@@@@@@@@@@@@@@@@@@@@@@@@@@

.. CXREF:
   https://docs.github.com/en/actions/monitoring-and-troubleshooting-workflows/adding-a-workflow-status-badge

.. image:: https://github.com/doblabs/easy-as-pypi/actions/workflows/checks-unspecial.yml/badge.svg?branch=release
  :target: https://github.com/doblabs/easy-as-pypi/actions/workflows/checks-unspecial.yml/badge.svg?branch=release
  :alt: Build Status

.. CXREF: https://app.codecov.io/github.com/doblabs/easy-as-pypi/settings/badge

.. image:: https://codecov.io/gh/doblabs/easy-as-pypi/branch/release/graph/badge.svg?token=AlKUyOgTGY
  :target: https://app.codecov.io/gh/doblabs/easy-as-pypi
  :alt: Coverage Status

.. image:: https://readthedocs.org/projects/easy-as-pypi/badge/?version=latest
  :target: https://easy-as-pypi.readthedocs.io/en/latest/
  :alt: Documentation Status

.. image:: https://img.shields.io/github/v/release/doblabs/easy-as-pypi.svg?style=flat
  :target: https://github.com/doblabs/easy-as-pypi/releases
  :alt: GitHub Release Status

.. image:: https://img.shields.io/pypi/v/easy-as-pypi.svg
  :target: https://pypi.org/project/easy-as-pypi/
  :alt: PyPI Release Status

.. image:: https://img.shields.io/pypi/pyversions/easy-as-pypi.svg
  :target: https://pypi.org/project/easy-as-pypi/
  :alt: PyPI Supported Python Versions

.. image:: https://img.shields.io/github/license/doblabs/easy-as-pypi.svg?style=flat
  :target: https://github.com/doblabs/easy-as-pypi/blob/release/LICENSE
  :alt: License Status

|

Add (multiple) aliases to a ``click`` group or command.

In your `click <http://click.pocoo.org/>`__ app:

.. code-block:: python

  import click_hotoffthehamster as click
  from click_hotoffthehamster import ClickAliasedGroup

   @click.group(cls=ClickAliasedGroup)
   def cli():
       pass

   @cli.command(aliases=['bar', 'baz', 'qux'])
   def foo():
       """Run a command."""
       click.echo('foo')

Will result in::

   Usage: cli [OPTIONS] COMMAND [ARGS]...

   Options:
     --help  Show this message and exit.

   Commands:
     foo (bar,baz,qux)  Run a command.
human-friendly-pedantic-timedelta 2.0.14
Human-friendly Pedantic `timedelta`
License: MIT
Requires Python: >=3.8.1,<4.0.0
Keywords: timedelta,elapsed,time,duration,human,friendly,string,formatter

#####################################
Human-Friendly Pedantic ``timedelta``
#####################################

.. CXREF:
   https://docs.github.com/en/actions/monitoring-and-troubleshooting-workflows/adding-a-workflow-status-badge

.. image:: https://github.com/doblabs/human-friendly_pedantic-timedelta/actions/workflows/checks-unspecial.yml/badge.svg?branch=release
  :target: https://github.com/doblabs/human-friendly_pedantic-timedelta/actions/workflows/checks-unspecial.yml/badge.svg?branch=release
  :alt: Build Status

.. CXREF: https://app.codecov.io/gh/doblabs/human-friendly_pedantic-timedelta/settings/badge

.. image:: https://codecov.io/gh/doblabs/human-friendly_pedantic-timedelta/graph/badge.svg?token=NKL19HdM5o
  :target: https://codecov.io/gh/doblabs/human-friendly_pedantic-timedelta
  :alt: Coverage Status

.. image:: https://readthedocs.org/projects/human-friendly_pedantic-timedelta/badge/?version=latest
  :target: https://human-friendly_pedantic-timedelta.readthedocs.io/en/latest/
  :alt: Documentation Status

.. image:: https://img.shields.io/github/v/release/doblabs/human-friendly_pedantic-timedelta.svg?style=flat
  :target: https://github.com/doblabs/human-friendly_pedantic-timedelta/releases
  :alt: GitHub Release Status

.. image:: https://img.shields.io/pypi/v/human-friendly_pedantic-timedelta.svg
  :target: https://pypi.org/project/human-friendly_pedantic-timedelta/
  :alt: PyPI Release Status

.. image:: https://img.shields.io/pypi/pyversions/human-friendly_pedantic-timedelta.svg
  :target: https://pypi.org/project/human-friendly_pedantic-timedelta/
  :alt: PyPI Supported Python Versions

.. image:: https://img.shields.io/github/license/doblabs/human-friendly_pedantic-timedelta.svg?style=flat
  :target: https://github.com/doblabs/human-friendly_pedantic-timedelta/blob/release/LICENSE
  :alt: License Status

A Python ``timedelta`` wrapper which provides pedantic string formatting.

Install with ``pip``::

    pip3 install human-friendly_pedantic-timedelta

For more options, read the
`installation guide
<https://human-friendly-pedantic-timedelta.readthedocs.io/en/latest/installation.html>`__.

Simple example::

    $ python3
    >>> from pedantic_timedelta import PedanticTimedelta
    >>> PedanticTimedelta(days=0.33).time_format_scaled()
    # OUTPUT
    # ('7.92 hours', 3600.0, 'hour')

|

.. image:: https://raw.githubusercontent.com/hotoffthehamster/human-friendly_pedantic-timedelta/release/docs/assets/hfpt-logo-lrg.png
   :target: https://human-friendly-pedantic-timedelta.readthedocs.io/en/latest/authors.html#graphics-shout-out
   :align: center
   :alt: "Penrose Hourglass"