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

Uploaded Source

Built Distribution

anton_cli-1.0.0-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

File details

Details for the file anton_cli-1.0.0.tar.gz.

File metadata

  • Download URL: anton_cli-1.0.0.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.14 CPython/3.9.2 Windows/10

File hashes

Hashes for anton_cli-1.0.0.tar.gz
Algorithm Hash digest
SHA256 0af3a3e9a63ad9cc257cfbb473c35962fe7218b6c5ba64376cece7f5b8ee9adb
MD5 3df813cbf3f3076ff78f3725c3c62b91
BLAKE2b-256 c6050287413d9b2cf3c462635eff12477ac640998f780a4da1beb2d7b26befe3

See more details on using hashes here.

Provenance

File details

Details for the file anton_cli-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: anton_cli-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 2.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.14 CPython/3.9.2 Windows/10

File hashes

Hashes for anton_cli-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ce8c104d7583167673ba9871d55cca1ab14c2035ce617f141823ae3ff7f7d4d1
MD5 913a9e7f2d8559f2fc5ae3227edd8fa2
BLAKE2b-256 ec0927207e6cdea9a0b74c761a23066d8229acd4d6a25d009c451608a399d1ac

See more details on using hashes here.

Provenance

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