Skip to main content

pyCLiFF, the Python Command Line Filter Framework is a simple tool designed to remove the boilerplate and annoyances from command line filters.

Project description

pyCLiFF, the Python Command Line Filter Framework is a simple tool designed
to remove the boilerplate and annoyances from command line filters.

In *nix there is a tradition of using pipes to connact many programs together
when processing data. The programs are usually very single transformations on
text. This text may come in from a file or from stdin, and leave via file or
stdout. This pattern is ubiquitous in *nix programming, allowing for very
powerful command line usage. Such tools frequently (mostly?) follow the this
pattern:

1. Setup/handle arguments
2. Mainloop:
A. Read line from input file (stdin or file)
B. Process that line in some way
C. Output the result of processing.
3. Cleanup and exit.

The above pattern results in many programs with a large portion of boilerplate
code, and a few dozen lines of unique application code. pyCLiFF is an attempt
to cover all the parts of a command line filter that are not unique. (Usually
this means step B above).

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

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

Source Distribution

pyCLiFF-0.1.tar.gz (65.7 kB view details)

Uploaded Source

File details

Details for the file pyCLiFF-0.1.tar.gz.

File metadata

  • Download URL: pyCLiFF-0.1.tar.gz
  • Upload date:
  • Size: 65.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pyCLiFF-0.1.tar.gz
Algorithm Hash digest
SHA256 8b9863a22424ee7ac4f71ca8820fb4364bb0ec6974f20361e49c21edea41dd24
MD5 e4edd4d9602c2bdf0c77b824c526ab4d
BLAKE2b-256 dbef3268d0283862f39606d42c5a19c251124fb42a8a2f422cfa87216a41ac3b

See more details on using hashes here.

Supported by

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