Skip to main content

FMJL

FMJL, short for Format, Markdown, JSON Lines, stores a document as one JSON object per line: one element (heading, paragraph, table, formula, image, caption...) with a stable id, a content hash, its page and position, and who may read it. People write and edit the same document as normal Markdown; the tool converts both ways without renumbering anything.

pip install fmjl            # converter, checker, Word importer, chunks
pip install fmjl[pdf]       # adds the PDF importer (PyMuPDF)

fmjl notes.md               # Markdown  -> notes.fmjl, then checks it
fmjl notes.fmjl             # .fmjl     -> notes.md, ids kept
fmjl report.pdf             # PDF       -> report.fmjl and images/ (--md adds report.md)
fmjl report.docx            # Word      -> the same
fmjl chunks report.fmjl     # retriever-ready chunks as JSON Lines
fmjl export report.fmjl --to docx   # also md, html, pdf, odt, epub

From Python: import fmjl; fmjl.load, fmjl.chunks, fmjl.changed_chunks, fmjl.check.

Rulebook, examples, benchmark and the VS Code extension: https://github.com/rupakkumar-76319/fmjl

Metadata

Release files for fmjl 1.1.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 fmjl 1.1.2
File Size Uploaded
fmjl-1.1.2.tar.gz 55.6 kB Details

Built distribution (wheel)

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

Total release size: 105.2 kB

Release files / fmjl-1.1.2.tar.gz

Download URL fmjl-1.1.2.tar.gz
Size 55.6 kB
Tags Source
SHA-256 checksum
How to use checksums
b573cd2fe833535340cb256a8a922af7c463db5ef174ecc9d93fa31c20067edd
BLAKE2b-256 checksum
How to use checksums
94a8a8ce9a5a135837e5ece0af78702f683d48bcee1c03f2852cb6514613f8b7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.1

Release files / fmjl-1.1.2-py3-none-any.whl

Download URL fmjl-1.1.2-py3-none-any.whl
Size 49.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
abaeaca1bb4230360d10b512e2725631994c809ee41262f72ff911a59cd6fc3b
BLAKE2b-256 checksum
How to use checksums
fd4121c1bb1e46bdfd8952729d710b97c5c80bc45173ff868f60c59666b5ef1c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.1

Release history Release notifications | RSS feed

This release

1.1.2 This release

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.5.0

2 release files

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