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

๐”๐”ฆ๐”ซ๐”จ

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

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

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

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

fraktur-1.0.2.tar.gz (4.0 kB view details)

Uploaded Source

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

Hashes for fraktur-1.0.2.tar.gz
Algorithm Hash digest
SHA256 4267969eff099021a52f99a1c92fca93af971c5a6adaddeed55cf7a017d4e872
MD5 f5f9e1f9a430d08abfdaa50d1c618259
BLAKE2b-256 1550bf3ade774070e2d3bcfa08f2b7249dd727748d5d77cb56411d42163c2787

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page