Skip to main content

A command tool to deal with the recognition in audiovisual domain. It is pipline tool for all of the work.

Project description

count-line

Usage

A cross-platform command line tool to count the amount of lines and files under current directory.

Installation

You can install, upgrade, uninstall count-line with these commands(without $):

$ pip install count-line
$ pip install --upgrade count-line
$ pip unstall count-line

Help

usage: line.py [-h] [-s SUFFIX | -f FILTER] [-d]

count the amount of lines and files under the current directory

optional arguments:
  -h, --help            show this help message and exit
  -s SUFFIX, --suffix SUFFIX
                        count by suffix file name, format: .suffix1.suffix2...
                        e.g: .cpp.py (without space)
  -f FILTER, --filter FILTER
                        count without filter name, format: .suffix1.suffix2...
                        e.g: .cpp.py (without space)
  -d, --detail          show detail results

Examples

  1. Count all files under the current directory:
$ line
Search in /Users/macbook/Desktop/Examples1/
file count: 4
line count: 373
  1. Count all files under the current directory with detail results:
$ line -d
Search in /Users/macbook/Desktop/Examples2/

		========================================
		文件后缀名	文件数		总行数


		   .py		5		397


		   .cpp		240		11346


		总文件数: 245	总行数: 11743
		========================================


  1. Count specified files under the current directory, using -s to pass suffix as parameters, if there are more than one parameter, don't have space, for example, count cpp files and python files:
$ line -s .cpp.py
Search in /Users/macbook/Desktop/Examples3/
file count: 3
line count: 243
$ line -s .cpp.py -d
Search in /Users/macbook/Desktop/Examples3/

		========================================
		文件后缀名	文件数		总行数


		   .py		5		397


		   .cpp		240		11346


		总文件数: 245	总行数: 11743
		========================================

  1. Count files under the current directory with filter:
$ line -f .py -d
Search in /Users/macbook/Desktop/Examples4/

		========================================
		文件后缀名	文件数		总行数


		   .cpp		240		11346


		总文件数: 240	总行数: 11528
		========================================
$ line -d
Search in /Users/macbook/Desktop/Examples4/

		========================================
		文件后缀名	文件数		总行数


		   .py		5		397


		   .cpp		240		11346


		总文件数: 245	总行数: 11743
		========================================


Project details


Download files

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

Source Distribution

FastAudioVisal-0.0.1.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

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

FastAudioVisal-0.0.1-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

Details for the file FastAudioVisal-0.0.1.tar.gz.

File metadata

  • Download URL: FastAudioVisal-0.0.1.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.24.0 setuptools/51.1.1 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.7.0

File hashes

Hashes for FastAudioVisal-0.0.1.tar.gz
Algorithm Hash digest
SHA256 5f1a3b276ce301568574a461b31503476389f12eb2841bcf8b91da46982da8b4
MD5 e6f85a0bae021494691be55224c0502f
BLAKE2b-256 c20b46b4d3ed3c0eb08f681287022f9e146485ee0c8d9764ff038a8c3bdec635

See more details on using hashes here.

File details

Details for the file FastAudioVisal-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: FastAudioVisal-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 2.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.24.0 setuptools/51.1.1 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.7.0

File hashes

Hashes for FastAudioVisal-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c4dfc0048643b40177e5d48b1fa58fba851b56b8cf4d6ce51d976b8614a5b30f
MD5 6a53176ac8aed512639c4219a63c0cf8
BLAKE2b-256 e0360e04c1619fc8319de97df2f94a5190f81a6d5e1f01a3892e2a324299b289

See more details on using hashes here.

Supported by

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