Skip to main content

A simple module to count or list the attributes of files in a directory.

Project description

A simple module used to count or list the attributes of files in a directory. This module can be used from the command line, with the command countfiles.

Usage (CLI):

countfiles <directory> [options...]

Usage (Python):

import countfiles

counter = countfiles.Counter(path='.', count=True, size=False)

Options include:

  • path (str)
  • count (bool)
  • size (bool)

Project details

Download files

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

Files for countfiles, version 0.3.4
Filename, size File type Python version Upload date Hashes
Filename, size countfiles-0.3.4.tar.gz (2.5 kB) File type Source Python version None Upload date Hashes View
Filename, size countfiles-0.3.4-py3-none-any.whl (5.4 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page