Skip to main content

fileinput-like module with a strength for writing filters.

Project description

filterinput is like fileinput but with a few changes to make it easier to write filters. It holds a few recent values like the last line or last regex match to overcome Python’s lack of assignment in conditionals and to make filter code a little cleaner.

Project details


Release history Release notifications | RSS feed

This version

1.05

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page