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
Release history Release notifications | RSS feed
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)
Built Distribution
Close
Hashes for anton_cli-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce8c104d7583167673ba9871d55cca1ab14c2035ce617f141823ae3ff7f7d4d1 |
|
MD5 | 913a9e7f2d8559f2fc5ae3227edd8fa2 |
|
BLAKE2b-256 | ec0927207e6cdea9a0b74c761a23066d8229acd4d6a25d009c451608a399d1ac |