Skip to main content

winzy-head-tail

PyPI Changelog Tests License

Mimics head and tail command using python

Installation

First install winzy by typing

pip install winzy

Then install this plugin in the same environment as your Winzy application.

winzy install winzy-head-tail

Usage

For head

usage: winzy head [-h] [-n N] [-c C] [FILE ...]

Mimics head command using python

positional arguments:
  FILE        File(s) to process. Reads from stdin if none provided.

optional arguments:
  -h, --help  show this help message and exit
  -n N        Number of lines to display (default: 10).
  -c C        Number of bytes to display (overrides -n).

For Tail

usage: winzy tail [-h] [-n N] [-c C] [FILE ...]

Mimics tail command using python

positional arguments:
  FILE        File(s) to process. Reads from stdin if none provided.

optional arguments:
  -h, --help  show this help message and exit
  -n N        Number of lines to display (default: 10).
  -c C        Number of bytes to display (overrides -n).

Development

To set up this plugin locally, first checkout the code. Then create a new virtual environment:

cd winzy-head-tail
python -m venv venv
source venv/bin/activate

Now install the dependencies and test dependencies:

pip install -e '.[test]'

To run the tests:

python -m pytest

Metadata

Release files for winzy-head-tail 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for winzy-head-tail 0.0.1
File Size Uploaded Provenance
winzy_head_tail-0.0.1.tar.gz 8.3 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for winzy-head-tail 0.0.1
File Interpreter ABI Platform
winzy_head_tail-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 17.1 kB

Release files / winzy_head_tail-0.0.1.tar.gz

Download URL winzy_head_tail-0.0.1.tar.gz
Size 8.3 kB
Tags Source
SHA-256 checksum
How to use checksums
0ca92a07d6dfef7e64c26581a932c93194cb5fb687689f9db3780a3441716f3a
BLAKE2b-256 checksum
How to use checksums
2a452c119220aef36b33c49c99735236870cb997e19cf857257047b5c2b9498f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.0.1 CPython/3.12.8

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 21, 2024.

Transparency log

Release files / winzy_head_tail-0.0.1-py3-none-any.whl

Download URL winzy_head_tail-0.0.1-py3-none-any.whl
Size 8.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7b8359b104391eecebfb94a5b05d4bd8e63903e674cdcd15e0729553a1a4d348
BLAKE2b-256 checksum
How to use checksums
243c7782a46343ce7b6b1875baf18f9019c83bd2a82f2f0eade32ca1e3585746
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.0.1 CPython/3.12.8

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 21, 2024.

Transparency log

Security for winzy-head-tail 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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for winzy_head_tail-0.0.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 21, 2024.

Transparency log

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.

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page