Skip to main content

Print file contents like a boss

Project description


PyPI version

Print file contents like a boss

CLI useage:

Programmatic usage:

from cat2 import Cat2, Cat2Exception

# line_from and line_to are optional parameters
cat2_file = Cat2(file_path, line_from, line_to)

# cat2_file is an iterator object
for line in cat2_file:

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

cat2-0.3.1.tar.gz (2.9 kB view hashes)

Uploaded source

Built Distribution

cat2-0.3.1-py3-none-any.whl (3.4 kB view hashes)

Uploaded py3

Supported by

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