๐ฃ๐ฏ๐๐จ๐ฑ๐ฒ๐ฏ
๐ ๐ฌ๐ซ๐ณ๐ข๐ฏ๐ฑ ๐ฑ๐ฅ๐ข ๐ฉ๐๐ฑ๐ฆ๐ซ ๐๐ฉ๐ญ๐ฅ๐๐๐ข๐ฑ ๐ฑ๐ฌ ๐ฃ๐ฏ๐๐จ๐ฑ๐ฒ๐ฏ ๐ฒ๐ซ๐ฆ๐ ๐ฌ๐ก๐ข ๐ ๐ฅ๐๐ฏ๐๐ ๐ฑ๐ข๐ฏ๐ฐ
This is heavily inspired by substackโs ๐ฃ๐ฏ๐๐จ๐ฑ๐ฒ๐ฏ
๐ด๐ซ๐ฐ๐ฑ๐๐ฉ๐ฉ๐๐ฑ๐ฆ๐ฌ๐ซ
To install ๐ฃ๐ฏ๐๐จ๐ฑ๐ฒ๐ฏ, simply:
$ pip install fraktur
๐๐ฐ๐๐ค๐ข
import fraktur
print fraktur.encode('Carpe Diem')
print fraktur.decode(u'๐ฎ๐๐ฏ๐ญ๐ข ๐๐ฆ๐ข๐ช')
Example
import fraktur quote = """So avoid using the word 'very' because it's lazy. A man is not very tired, he is exhausted. Don't use very sad, use morose. Language was invented for one reason, boys - to woo women - and, in that endeavor, laziness will not do. It also won't do in your essays.""" print fraktur.encode(quote) print print fraktur.decode(fraktur.encode(quote))
๐๐ฆ๐ซ๐จ
๐ฃ๐ฏ๐๐จ๐ฑ๐ฒ๐ฏ ๐ฒ๐ซ๐ฆ๐ ๐ฌ๐ก๐ข ๐ ๐ฅ๐๐ฏ๐๐ ๐ฑ๐ข๐ฏ๐ฐ
๐๐ฆ๐ ๐ข๐ซ๐ฐ๐ข
๐๐ด๐
Metadata
Release files for fraktur 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| fraktur-1.0.2.tar.gz | 4.0 kB | Details |
Release files / fraktur-1.0.2.tar.gz
| Download URL | fraktur-1.0.2.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4267969eff099021a52f99a1c92fca93af971c5a6adaddeed55cf7a017d4e872
|
|
BLAKE2b-256 checksum How to use checksums |
1550bf3ade774070e2d3bcfa08f2b7249dd727748d5d77cb56411d42163c2787
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |