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, report.md, images/
fmjl report.docx # Word -> the same
fmjl chunks report.fmjl # retriever-ready chunks as JSON Lines
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.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| fmjl-1.0.1.tar.gz | 38.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| fmjl-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 75.4 kB
Release files / fmjl-1.0.1.tar.gz
| Download URL | fmjl-1.0.1.tar.gz |
|---|---|
| Size | 38.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f2288ce523d9897ea2b382f382f68d4076aca79e35ba7c24b58a7ad3ea52c1b0
|
|
BLAKE2b-256 checksum How to use checksums |
b25f8adac91b2010288ae36555bb6d71874c05f878afc589e1c5a2b99eb71468
|
| 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.0.1-py3-none-any.whl
| Download URL | fmjl-1.0.1-py3-none-any.whl |
|---|---|
| Size | 36.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
afc25cbea2be2bfbdcd7aec6a7f73a27c411df4cb571ee26ff4330d45beaf9d4
|
|
BLAKE2b-256 checksum How to use checksums |
35d773b26f6e97604fc1b76f9cc440a3e7fb712f642f32587b2f9a8db771d6d0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.1
|