Package for counting unique characters in a string
Project description
countonlyonechar
Package for counting unique characters in the string occurring only once.
Installation
Use the package manager pip to install countonlyonechar.
pip install countonlyonechar
Usage
import countonlyonechar
# returns 4
countonlyonechar.count_only_one_char('word')
# returns <string in file>
countonlyonechar.read_txt_file(path_to_text_file)
countonlyonechar --string 'word'
# returns 4
countonlyonechar --file <file_path>
# returns the number of characters in the file occurring only once
License
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file countonlyonechar-1.0.0.tar.gz.
File metadata
- Download URL: countonlyonechar-1.0.0.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dbaaa0084d181824c6e053c82855f755a2a115383dfa0bf7d1a9bbdef9005c84
|
|
| MD5 |
fc8b4775bff974268a430b6aee2eadaa
|
|
| BLAKE2b-256 |
8768cfec2e96c969b9cbd730d64e9be628e6d42ada4b259528861c975fe337df
|
File details
Details for the file countonlyonechar-1.0.0-py3-none-any.whl.
File metadata
- Download URL: countonlyonechar-1.0.0-py3-none-any.whl
- Upload date:
- Size: 5.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
31a061d2dba3a56dac83edc7e7b119b1b1d96fac08fc93a4c7808ba5b7b6e352
|
|
| MD5 |
b7973233dc182eaa113897e4b53bcba8
|
|
| BLAKE2b-256 |
35d690f43d6fb65d771ffda48161f87348712d10f875d0ff82015ce9d4db14b5
|