Mitchell P. Krawiec-Thayer
This library provides headx and tailx commands which behave similarly to the head and tail commands, extended with support for binary data formats.
Supported file types include:
Feather files
Pickle files
Parquet files
HDF5 files
XLSX
Example
Let’s compare head and headx for a Feather file. Here’s the standard head command:
$ head test.feather -n 4
ARROW1����H
The above output is binary data, which is not very useful. Now let’s try headx:
$ headx -n 4 data.feather
timestamp flavor color foobar
10 strange red 9
20 up blue 8
30 charm None 7
Installation
To install headtailx, simply run:
pip install headtailx
Use
Simply replace head with headx (and likewise tail -> tailx) when previewing binary data formats. For example headx <filename> -n 3 would show the first 3 lines.
License
This project is licensed under the MIT License. See the LICENSE file for more information.
Metadata
Release files for headtailx 0.0.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 | Provenance | |
|---|---|---|---|---|
| headtailx-0.0.1.tar.gz | 5.0 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| headtailx-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.3 kB
Release files / headtailx-0.0.1.tar.gz
| Download URL | headtailx-0.0.1.tar.gz |
|---|---|
| Size | 5.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
27312ec2565b8ccf737fa9904987949feee60452450e262e58916298efc16b02
|
|
BLAKE2b-256 checksum How to use checksums |
6cc5ff5bace72223ce536401437c125f657d498a3d7860c088a2e1155fddefeb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.10
|
Release files / headtailx-0.0.1-py3-none-any.whl
| Download URL | headtailx-0.0.1-py3-none-any.whl |
|---|---|
| Size | 5.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b6fce09a8620186c760f86e570a52bde253a8bf5d62bea08012784a9bb8318aa
|
|
BLAKE2b-256 checksum How to use checksums |
f70767f39549b27fa9e9dbc05ab74b964a66a88c7fce05166cc55d2880b638ea
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.10
|
Security for headtailx 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.