https://github.com/inducer/pytools
https://github.com/inducer/pytools
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/inducer/pytools
- Owner: inducer
- License: other
- Created: 2011-04-06T02:38:38.000Z (almost 15 years ago)
- Default Branch: main
- Last Pushed: 2025-04-02T23:49:49.000Z (9 months ago)
- Last Synced: 2025-04-03T23:35:09.861Z (9 months ago)
- Language: Python
- Homepage: http://pypi.python.org/pypi/pytools
- Size: 1.25 MB
- Stars: 72
- Watchers: 8
- Forks: 26
- Open Issues: 20
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
- Citation: CITATION.cff
Awesome Lists containing this project
README
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/actions/workflows/ci.yml/badge.svg
:alt: Github Build Status
:target: https://github.com/inducer/pytools/actions/workflows/ci.yml
.. image:: https://badge.fury.io/py/pytools.svg
:alt: Python Package Index Release Page
:target: https://pypi.org/project/pytools/
.. image:: https://zenodo.org/badge/1575270.svg
:alt: Zenodo DOI for latest release
:target: https://zenodo.org/badge/latestdoi/1575270
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,
GvR's ``monkeypatch_xxx()`` hack, the elusive ``flatten``, and much more.
* Batch job submission, ``pytools.batchjob``.
* A lexer, ``pytools.lex``.
* A persistent key-value store, ``pytools.persistent_dict``.
Links:
* `Documentation `__
* `Github `__
* ``pytools.log`` has been spun out into a separate project,
`logpyle `__.