Skip to main content

A command line client and functions for collation.

Project description

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

💻

License

This code is licensed under the MPL 2.0 LICENSE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pipelib-0.0.17.tar.gz (26.9 kB view details)

Uploaded Source

Built Distribution

pipelib-0.0.17-py3-none-any.whl (34.9 kB view details)

Uploaded Python 3

File details

Details for the file pipelib-0.0.17.tar.gz.

File metadata

  • Download URL: pipelib-0.0.17.tar.gz
  • Upload date:
  • Size: 26.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/6.0.0 pkginfo/1.9.6 requests/2.29.0 requests-toolbelt/0.9.1 tqdm/4.65.0 CPython/3.11.3

File hashes

Hashes for pipelib-0.0.17.tar.gz
Algorithm Hash digest
SHA256 2147b98d9fd9104881b407e67b6f2ac27cea4e3d13841c29696d69976e25a133
MD5 9946ffec342526ddab4819404fbc7d3e
BLAKE2b-256 b09d5d477e2e88f4f935e108d9e1d3202279be7d8de9c2486dbeb6045b1f4571

See more details on using hashes here.

File details

Details for the file pipelib-0.0.17-py3-none-any.whl.

File metadata

  • Download URL: pipelib-0.0.17-py3-none-any.whl
  • Upload date:
  • Size: 34.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/6.0.0 pkginfo/1.9.6 requests/2.29.0 requests-toolbelt/0.9.1 tqdm/4.65.0 CPython/3.11.3

File hashes

Hashes for pipelib-0.0.17-py3-none-any.whl
Algorithm Hash digest
SHA256 86b4120e72ca39a752e5bd5f7d9bb1e61305ecfdb0e69e67b7ba637197d63b0d
MD5 21640772f761b706a6dcd6bff01e3d76
BLAKE2b-256 8ac9d19d5acb17eacb33da65ac089030ff641eac08b3f0de82ac9f4bfed76cda

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page