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 details)

Uploaded Source

Built Distribution

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

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

Uploaded Python 3

File details

Details for the file counter_pack-0.0.9.tar.gz.

File metadata

  • Download URL: counter_pack-0.0.9.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.23.0

File hashes

Hashes for counter_pack-0.0.9.tar.gz
Algorithm Hash digest
SHA256 1ae9875861d95ff63445ed9b36d694e161d6be459c65de164b0ce3edd751e993
MD5 4c8d8d2daf0e6e065a0ccceea3a21d29
BLAKE2b-256 34e320c2fc2c563bba43007d4f5666f45dd9145889de9393e613f25a020d9954

See more details on using hashes here.

File details

Details for the file counter_pack-0.0.9-py3-none-any.whl.

File metadata

  • Download URL: counter_pack-0.0.9-py3-none-any.whl
  • Upload date:
  • Size: 4.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.23.0

File hashes

Hashes for counter_pack-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 49b22ff4db7a07638ece9795462fc20406ca838b73619adedb1a91a6e38414fb
MD5 3d3d44777393241e8183384117177185
BLAKE2b-256 f23b2684ed7e40d9800368c7db065ace41ecdff0aef67f936f16c17ba751d7f2

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