Skip to content
README.rst 1.44 KiB
Newer Older
Pytools: Lots of Little Utilities
=================================

.. image:: https://gitlab.tiker.net/inducer/pytools/badges/main/pipeline.svg
    :alt: Gitlab Build Status
    :target: https://gitlab.tiker.net/inducer/pytools/commits/main
.. image:: https://github.com/inducer/pytools/workflows/CI/badge.svg?branch=main&event=push
    :alt: Github Build Status
    :target: https://github.com/inducer/pytools/actions?query=branch%3Amain+workflow%3ACI+event%3Apush
.. image:: https://badge.fury.io/py/pytools.png
    :alt: Python Package Index Release Page
    :target: https://pypi.org/project/pytools/

Andreas Klöckner's avatar
Andreas Klöckner committed
Pytools is a big bag of things that are "missing" from the Python standard
library. This is mainly a dependency of my other software packages, and is
probably of little interest to you unless you use those. If you're curious
nonetheless, here's what's on offer:

* A ton of small tool functions such as `len_iterable`, `argmin`,
  tuple generation, permutation generation, ASCII table pretty printing,
Koen Dercksen's avatar
Koen Dercksen committed
  GvR's monkeypatch_xxx() hack, the elusive `flatten`, and much more.
Andreas Klöckner's avatar
Andreas Klöckner committed
* Michele Simionato's decorator module
* A time-series logging module, `pytools.log`.
* Batch job submission, `pytools.batchjob`.
* A lexer, `pytools.lex`.

Links:

* `Documentation <https://documen.tician.de/pytools>`_

* `Github <https://github.com/inducer/pytools>`_

* ``pytools.log`` has been spun out into a separate project,
  `logpyle <https://github.com/illinois-ceesd/logpyle>`__.