#counter #unicode #supporting #alphabetic

app unicount

Alphabetic counter supporting unicode

1 unstable release

0.1.0 Oct 26, 2024

#449 in Text processing

Download history 124/week @ 2024-10-26 3/week @ 2024-11-02

127 downloads per month

MIT license

9KB
101 lines

Examples

$ unicount -V
unicount 0.1.0
$ unicount -h
Alphabetic counter supporting unicode

Usage: unicount [OPTIONS]

Options:
  -k, --kind <KIND>            Kind [default: english-upper] [possible values:
                               english-upper, english-lower]
  -s, --start <START>          Start [default: 0]
  -t, --take <TAKE>            Take [default: 100]
  -S, --separator <SEPARATOR>  Separator [default: \n]
  -a, --alphabet <ALPHABET>    Custom alphabet
  -h, --help                   Print help
  -V, --version                Print version
$ unicount
A
B
C
...
CT
CU
CV
$ unicount -k english-lower
a
b
c
...
ct
cu
cv
$ unicount -s 23 -t 6
X
Y
Z
AA
AB
AC

$ unicount -a abc -t 10
a
b
c
aa
ab
ac
ba
bb
bc
ca
$ unicount -S ", " -t 10
A, B, C, D, E, F, G, H, I, J

Dependencies

~3–12MB
~151K SLoC