Skip to main content


Python Linux MacOS Stars Contributors Lint Issues

Convert your PDF documents to Markdown notes with KaTeX support with the help of OpenAI.

Report Bug · Request Feature · PyPI

Features

  • Takes as INPUT a pdf and transforms it into Markdown with KaTeX using OpenAI.

(back to top)

Installation

You can install pdf2joplin using pip.

pip install pdf2joplin

(back to top)

Usage

If you are using Mac, then you need to install poppler.

brew install poppler

After installing it, you can run it like this:

> pdf2joplin --help

Usage: pdf2joplin [OPTIONS]

  Convert your PDF documents to Markdown notes with KaTeX support with the help of OpenAI.

Options:
  --version          Show the version and exit.
  --pdf TEXT         The filepath of the PDF that you wish to convert.  [required]
  --output TEXT      The filepath of the final markdown file.  [required]
  --openai-key TEXT  The OpenAI key used to perform the prompt queries.  [required]
  --skip INTEGER     Number of pages to skip.
  --help             Show this message and exit.

(back to top)

Developing

In order to start developing you will need to to follow the instructions below.

> pyenv install 3.12.6
> pyenv global 3.12.6
> python3 -m venv .venv
> source .venv/bin/activate
> (.venv) pip install ruff pre-commit
> (.venv) pip install -e .
> (.venv) pdf2joplin --version
> (.venv) ruff check --fix

(back to top)

Dependencies

(back to top)

Contributing

Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement".

  1. Fork the Project.
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature).
  3. Commit your Changes (git commit -m 'Add some AmazingFeature').
  4. Push to the Branch (git push origin feature/AmazingFeature).
  5. Open a Pull Request.

(back to top)

Metadata

Release files for pdf2joplin 1.0.1

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

Source distribution (sdist)

Source distribution for pdf2joplin 1.0.1
File Size Uploaded Provenance Actions
pdf2joplin-1.0.1.tar.gz 44.3 kB Without provenance Details for pdf2joplin-1.0.1.tar.gz

Built distribution (wheel)

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

Total release size: 75.9 kB

Release files / pdf2joplin-1.0.1.tar.gz

Download URL pdf2joplin-1.0.1.tar.gz
Size 44.3 kB
Tags Source
SHA-256 checksum
How to use checksums
d5eb9987e2f51c188b42a86d5eece43a6117dece25edca66af6def49d0f5fa49
BLAKE2b-256 checksum
How to use checksums
729c3278add2111793dfefc0b45b8bb3983809ce9034b5a94ca44f95250fd82d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.11

Release files / pdf2joplin-1.0.1-py3-none-any.whl

Download URL pdf2joplin-1.0.1-py3-none-any.whl
Size 31.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0ce889bdc9a019f993a6376f7b264edebc4c5e9610b049f6f708b45c7d1f35c7
BLAKE2b-256 checksum
How to use checksums
593bd7e117166d339b37557359ea1dfa1bac610ac88a24d46d07fb694183c878
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.11

Security for pdf2joplin 1.0.1

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.

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files No provenance

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