Skip to main content

lineno

https://img.shields.io/pypi/v/lineno.svg https://img.shields.io/badge/code%20style-black-000000.svg

Outputs the lines from specified file

Features

$ lineno -l 1-3,15,16 README.rst
======
lineno
======
Features
--------

Usage in vim:

:r! lineno -l 1-3,15,16 -l 27-31 README.rst

History

Unreleased

0.3.0 (2019-01-07)

  • Improve code readability

  • Add –version argument

  • Add Black to project

  • Add GitHub actions for testing

  • Remove travis-ci integration

  • Set prog in ArgumentParser to lineno

  • Fix lineno couldn’t be executed as a package by calling python -m lineno …

0.2.1 (2017-10-24)

  • Fix README.rst documentation

0.2.0 (2017-10-24)

  • Add -l/–line-number argument instead of requiring that the line number sequence is the first argument.

0.1.0 (2017-07-01)

  • First release on PyPI.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lineno-0.3.0.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lineno-0.3.0-py2.py3-none-any.whl (4.3 kB view details)

Uploaded Python 2Python 3

File details

Details for the file lineno-0.3.0.tar.gz.

File metadata

  • Download URL: lineno-0.3.0.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.2

File hashes

Hashes for lineno-0.3.0.tar.gz
Algorithm Hash digest
SHA256 f9fbbf8d216320b878f3a50dc59c1e63cecd11e7318697882112ab3410db372c
MD5 363976f843a65eca577051d443a5eeea
BLAKE2b-256 8421d04a3970994c6ae442e1de760990b6e517a258594e44b102b055da4359c8

See more details on using hashes here.

File details

Details for the file lineno-0.3.0-py2.py3-none-any.whl.

File metadata

  • Download URL: lineno-0.3.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.2

File hashes

Hashes for lineno-0.3.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 7fac672f371ee98590c892b2cff43cf0a0471aef4b96c941485965f33bc03ffe
MD5 9c282b035875778a1c1930cb78a0dc09
BLAKE2b-256 18fb35c9354cda3336066cba028015739fef99fab785d19f1c0f2ba4f4e52999

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 files

0.2.1

2 files

0.2.0

2 files

0.1.1

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page