This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

linecounter for files

Project Description

Linecounter

linecounter is a tool written in python, you can count how many lines you have in your files. This tool may be useful for developers who want to count how many lines of code they have in their projects. Because of linecounter isn’t restricted for just code files it can be used in many areas which needs line counting.

Features

  • Line counting for given file/files
  • Line counting for list of files in given directory
  • Line counting for list of files in given directory recursively
  • Line counting for list of files in given directory with filtering file extensions
  • Line counting without empty lines

Source

Find the latest version on github: https://github.com/halitkarakis/line-counter

Feel free to fork and contribute!

Installation

The easiest way to install is with pip:

pip install linecounter

Or manually:

python setup.py install

Usage

Usage:

linecounter -fd [-r] path1 [path2 ...] [--filter ext1 [ext2 ...]]

options:

-f         Run line-counter with file paths
-d         Run line-counter with directory paths
-r         Search directories recursively, can be used if '-d' is set
--filter   Count lines for files which extension is ext1, ext2 ...,
           can be used if '-d' is set
--help     Show this message
--version  Show version info
--noempty  Count non-empty lines

Author

I’m Muhammet Halit Karakis from Istanbul, Turkiye. You can contact me by email halit (at) halitkarakis com tr

Release History

Release History

This version
History Node

1.3.2

History Node

1.3.1

History Node

1.3.0

History Node

1.2.0

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
linecounter-1.3.2.tar.gz (3.3 kB) Copy SHA256 Checksum SHA256 Source Jul 21, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting