semvec/pypi-packages huggingface dataset:
fsbi 0.4
Font Stretch Bold Italic
License: MIT
Keywords: font

`fsbi` renames font files in a compact, well alphabetically ordered way rather than the usual long and disordered notation.

`fsbi -r` restores the original notation.

# Help

	usage: fsbi [-lrsw] [file] ...
	
	positional arguments:
	  file  file or dir [*]
	
	options:
	  -l    list [default]
	  -r    restore
	  -s    stretch 5 if normal
	  -w    write

# Compact

	fsbi -s

	Barlow-Bold.ttf -> Barlow-57.ttf
	Barlow-BoldItalic.ttf -> Barlow-57i.ttf
	BarlowCondensed-ExtraLight.ttf -> Barlow-32.ttf
	BarlowCondensed-ExtraLightItalic.ttf -> Barlow-32i.ttf

# Restore

	fsbi -r

	Barlow-32.ttf -> BarlowCondensed-ExtraLight.ttf
	Barlow-32i.ttf -> BarlowCondensed-ExtraLightItalic.ttf
	Barlow-57.ttf -> Barlow-Bold.ttf
	Barlow-57i.ttf -> Barlow-BoldItalic.ttf

# Python

	import fsbi
	fsbi.compact(font, stretch=False)
	fsbi.expand(font)
	fsbi.fsbi(files, list=False, restore=False, stretch=False, write=False)

# Values

| | Stretch | Weight
| :-: | :-: | :-:
| 0 | | Hairline
| 1 | UltraCondensed | Thin
| 2 | ExtraCondensed | ExtraLight
| 3 | Condensed | Light
| 4 | SemiCondensed | Regular
| 5 | Normal | Medium
| 6 | SemiExtended | SemiBold
| 7 | Extended | Bold
| 8 | ExtraExtended | ExtraBold
| 9 | UltraExtended | Black

# Changelog

- 2024.04.01 – **0.4** – Parse `Expanded` keyword as `Extended`
- 2024.03.31 – **0.3** – Add `stretch` parameter and `-s` argument
- 2024.03.31 – **0.2** – Bug fix
- 2024.03.30 – **0.1**