Skip to main content

A small package for counting unique characters in a string or text file

Project description

Counter_pack

This is a simple package for counting unique characters in a string or text file.

Software requirements

Python 3.8+ pip

Installation

Counter_pack is available on PyPI and can be installed with pip.

pip install counter_pack

License

Counter_pack is distributed under the terms of the MIT license.

Running Counter_pack commands with CLI

usage: your_code.py [-h] [-s STRING] [-f FILE]

optional arguments:

-h, --help show help message and exit

-s STRING, --string STRING some string for count unique characters

-f FILE, --file FILE some file for count unique characters

for example: python main.py -f 'tests/test.txt' or python main.py -s 'another string'

main.py

from counter_paсk import counter


if __name__ == '__main__':
    print(counter.main())

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

counter_pack-0.0.9.tar.gz (2.7 kB view hashes)

Uploaded Source

Built Distribution

counter_pack-0.0.9-py3-none-any.whl (4.1 kB view hashes)

Uploaded Python 3

Supported by

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