Skip to main content

Fountain is a plain text markup language for screenwriting. Jouvence is a Python package for parsing and rendering Fountain documents.

Jouvence supports:

  • Most of the Fountain specification (see limitations below).

  • Rendering to HTML and terminals.

Installation

As with many Python packages, it’s recommended that you use virtualenv, but since Jouvence doesn’t have many dependencies, you should be fine.

You can install Jouvence the usual way:

pip install jouvence

If you want to test that it works, you can feed it a Fountain screenplay and see if it prints it nicely in your terminal:

jouvence <path-to-fountain-file>

You should then see the Fountain file rendered with colored and indented styles.

Usage

The Jouvence API goes pretty much like this:

from jouvence.parser import JouvenceParser
from jouvence.html import HtmlDocumentRenderer

parser = JouvenceParser()
document = parser.parse(path_to_file)
renderer = HtmlDocumentRenderer()
with open(path_to_output, 'w') as fp:
  renderer.render_doc(document, fp)

Limitations

Jouvence doesn’t support the complete Fountain syntax yet. The following things are not implemented:

  • Dual dialogue

  • Proper Unicode support (although Fountain’s spec greatly assumes English screenplays, sadly).

Metadata

Release files for Jouvence 0.4.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for Jouvence 0.4.2
File Size Uploaded
Jouvence-0.4.2.tar.gz 1.9 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for Jouvence 0.4.2
File Interpreter ABI Platform
Jouvence-0.4.2-py3-none-any.whl Python 3 none any Details

Total release size: 1.9 MB

Release files / Jouvence-0.4.2.tar.gz

Download URL Jouvence-0.4.2.tar.gz
Size 1.9 MB
Tags Source
SHA-256 checksum
How to use checksums
29dfe59fb832500e3666b4e1112c106c663c2804b5922c007b8a471f0f627d6b
BLAKE2b-256 checksum
How to use checksums
ae7322631be9be3c3f0e237cf05f19f3b72a206033e7d30ce88e081980577538
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.3

Release files / Jouvence-0.4.2-py3-none-any.whl

Download URL Jouvence-0.4.2-py3-none-any.whl
Size 25.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2c3dd188f1e5c22563a4b542548cbd8482b57dbf48491f13fab1d919f6bba9df
BLAKE2b-256 checksum
How to use checksums
96cf78b900b983ae6d030c11b6f632514dbbdb7db55179ef199608ce05986269
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.3

Release history Release notifications | RSS feed

This release

0.4.2 This release

2 release files

0.4.1

2 release files

0.4.0

1 release file

0.3.0

1 release file

0.2.1

1 release file

0.2.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page