cat2
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:
print(line)
print(cat2_file.line_number)
print(cat2_file.is_bytes)
Metadata
Release files for cat2 0.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cat2-0.3.1.tar.gz | 2.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cat2-0.3.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.3 kB
Release files / cat2-0.3.1.tar.gz
| Download URL | cat2-0.3.1.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
db3994272892511b0db90422ac5e7eba4912ed8bf498e1bc93cc162580cbd62f
|
|
BLAKE2b-256 checksum How to use checksums |
65b5c949a3a025242af803dd593460cd2f91bb6ca26c40b95b358cc7587cf106
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.2
|
Release files / cat2-0.3.1-py3-none-any.whl
| Download URL | cat2-0.3.1-py3-none-any.whl |
|---|---|
| Size | 3.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d25c3b3fa1a087927082fe063178193dcda68956ecfed80941f414229f6f3a28
|
|
BLAKE2b-256 checksum How to use checksums |
0f3b508d1477cfccd500b72720c425be9494e6b5935841fa6b8d06736be09fad
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.2
|