๐ ๐ฌ๐ซ๐ณ๐ข๐ฏ๐ฑ ๐ฑ๐ฅ๐ข ๐ฉ๐๐ฑ๐ฆ๐ซ ๐๐ฉ๐ญ๐ฅ๐๐๐ข๐ฑ ๐ฑ๐ฌ ๐ฃ๐ฏ๐๐จ๐ฑ๐ฒ๐ฏ ๐ฒ๐ซ๐ฆ๐ ๐ฌ๐ก๐ข ๐ ๐ฅ๐๐ฏ๐๐ ๐ฑ๐ข๐ฏ๐ฐ
Project description
๐ฃ๐ฏ๐๐จ๐ฑ๐ฒ๐ฏ
๐ ๐ฌ๐ซ๐ณ๐ข๐ฏ๐ฑ ๐ฑ๐ฅ๐ข ๐ฉ๐๐ฑ๐ฆ๐ซ ๐๐ฉ๐ญ๐ฅ๐๐๐ข๐ฑ ๐ฑ๐ฌ ๐ฃ๐ฏ๐๐จ๐ฑ๐ฒ๐ฏ ๐ฒ๐ซ๐ฆ๐ ๐ฌ๐ก๐ข ๐ ๐ฅ๐๐ฏ๐๐ ๐ฑ๐ข๐ฏ๐ฐ
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))
๐๐ฆ๐ซ๐จ
๐ฃ๐ฏ๐๐จ๐ฑ๐ฒ๐ฏ ๐ฒ๐ซ๐ฆ๐ ๐ฌ๐ก๐ข ๐ ๐ฅ๐๐ฏ๐๐ ๐ฑ๐ข๐ฏ๐ฐ
๐๐ฆ๐ ๐ข๐ซ๐ฐ๐ข
๐๐ด๐
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
File details
Details for the file fraktur-1.0.2.tar.gz
.
File metadata
- Download URL: fraktur-1.0.2.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4267969eff099021a52f99a1c92fca93af971c5a6adaddeed55cf7a017d4e872 |
|
MD5 | f5f9e1f9a430d08abfdaa50d1c618259 |
|
BLAKE2b-256 | 1550bf3ade774070e2d3bcfa08f2b7249dd727748d5d77cb56411d42163c2787 |