Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

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.

Release History

This version
History Node


Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers