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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| Jouvence-0.4.2.tar.gz | 1.9 MB | Without provenance | Details for Jouvence-0.4.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| Jouvence-0.4.2-py3-none-any.whl | Python 3 | none | any | Details for Jouvence-0.4.2-py3-none-any.whl |
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
|
Security for Jouvence 0.4.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.