vsoch / pipelib

Pipelib is a library for creating pipelines for parsing, filtering, and sorting iterables.

Home Page:https://vsoch.github.io/pipelib/getting_started/user-guide.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pipelib

PyPI version DOI

Pipelib is a library for creating pipelines. You can parse, compare, and order iterables. With Pipelib you can:

  1. Create a custom pipeline to parse and compare version strings
  2. Use a collection of provided sorting functions for custom sorts.
  3. Assemble different processing blocks to pre-process inputs first.

The initial ideas came from Singularity Registry HPC (shpc) that had a need to parse and compare version strings from docker container tags.

⭐️ Documentation ⭐️

TODO

  • add tests for wrappers and pipelines
  • automated detection / docs for pipelines too
  • should be able to print pretty a pipeline / steps
  • ToInteger doesn't work because we choose an int wrapper - we need to be able to detect output and apply a different wrapper type given int.
  • pipeline steps will need a way to sort / compare / filter

Contributors

We use the all-contributors tool to generate a contributors graphic below.

Vanessasaurus
Vanessasaurus

💻
Eric Berquist
Eric Berquist

💻

License

This code is licensed under the MPL 2.0 LICENSE.

About

Pipelib is a library for creating pipelines for parsing, filtering, and sorting iterables.

https://vsoch.github.io/pipelib/getting_started/user-guide.html

License:Mozilla Public License 2.0


Languages

Language:Python 100.0%