CLI tool that generates a Cutter-Sanborn identifier, given a first and a last name.
Project description
CSAN: Cutter-Sanborn Number Generator
csan is a CLI tool that generates a Cutter-Sanborn identifier, given a first and a last name.
The Cutter-Sanborn identifier, commonly called "Cutter number", is an alphanumeric code used in library classification systems in order to arrange books alphabetically by author. It consists of the first letter of the author's last name followed by three-digit number derived from a predefined table. This system was originally developed by Charles Cutter, and revised by Kate Sanborn.
Installation
You can install this tool using pip or uv:
uv tool install csan
pip install csan
Usage
usage: csan [-h] -f FIRST_NAME -l LAST_NAME [-t TITLE] [-v]
Cutter-Sanborn identifier generator.
options:
-h, --help show this help message and exit
-f FIRST_NAME, --first-name FIRST_NAME
-l LAST_NAME, --last-name LAST_NAME
-t TITLE, --title TITLE
-v, --verbose
Examples
csan -f John -l Doe-> D649csan -f John -l Doe -t "My Book"-> D649mcsan -f First -l Last -v-> L349, with log output to the consolecsan -f Jorge -l "De la Cruz"-> D332
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
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 csan-0.1.0.tar.gz.
File metadata
- Download URL: csan-0.1.0.tar.gz
- Upload date:
- Size: 68.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.9.9 {"installer":{"name":"uv","version":"0.9.9"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c0f55970fb44945b9aacb619ece2b21f2a9e2875ee3a555cd604ea87c514b4e3
|
|
| MD5 |
36788b3e2dff5af918cca1c299152015
|
|
| BLAKE2b-256 |
1dfaf8daadb48072eaf8e55790130e436c24c65d7e3f94577703526415c3b627
|
File details
Details for the file csan-0.1.0-py3-none-any.whl.
File metadata
- Download URL: csan-0.1.0-py3-none-any.whl
- Upload date:
- Size: 67.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.9.9 {"installer":{"name":"uv","version":"0.9.9"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ebc7747daaef059c7d7a4b5d79f07638f6ef2af8dfd54a8b8b48a065afd6c01b
|
|
| MD5 |
adc856f8220d137660b6880f71b9890b
|
|
| BLAKE2b-256 |
db9ff875cf1281bfb8d649ba462b2e8761868ec677d2b0610eff9285401e5623
|