Skip to main content

Returns the number of unique characters in the string

Project description

Collection Framework

anton_cli is a commands-line program that takes a string and returns the number of unique characters in the string.

Install

pip install anton-cli

How to Use

from anton_cli import split_letters, read_from_file

print(split_letters('hello')) # 3

also you can get a unique numbers of string from the file

print(read_from_file('words.txt')) # SOME RESULT

Launch

You can use this program from the terminal

if you want to pass a string use --string [YOUR STRING]

python -m anton_cli.cli --string [YOUR STRING]

or if you want to pass a file use --file [YOUR FILE PATH]

python -m anton_cli.cli --file [YOUR PATH TO FILE]

See the source at Link
© 2022 Anton Skazko

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

anton_cli-1.0.0.tar.gz (2.3 kB view hashes)

Uploaded Source

Built Distribution

anton_cli-1.0.0-py3-none-any.whl (2.7 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