Skip to main content

๐” ๐”ฌ๐”ซ๐”ณ๐”ข๐”ฏ๐”ฑ ๐”ฑ๐”ฅ๐”ข ๐”ฉ๐”ž๐”ฑ๐”ฆ๐”ซ ๐”ž๐”ฉ๐”ญ๐”ฅ๐”ž๐”Ÿ๐”ข๐”ฑ ๐”ฑ๐”ฌ ๐”ฃ๐”ฏ๐”ž๐”จ๐”ฑ๐”ฒ๐”ฏ ๐”ฒ๐”ซ๐”ฆ๐” ๐”ฌ๐”ก๐”ข ๐” ๐”ฅ๐”ž๐”ฏ๐”ž๐” ๐”ฑ๐”ข๐”ฏ๐”ฐ

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))
example

๐”๐”ฆ๐” ๐”ข๐”ซ๐”ฐ๐”ข

๐”๐•ด๐”—

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for fraktur, version 1.0.2
Filename, size File type Python version Upload date Hashes
Filename, size fraktur-1.0.2.tar.gz (4.0 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page