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.
Installation
You can install pdf2joplin using pip.
pip install pdf2joplin
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.
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
Dependencies
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".
- Fork the Project.
- Create your Feature Branch (
git checkout -b feature/AmazingFeature). - Commit your Changes (
git commit -m 'Add some AmazingFeature'). - Push to the Branch (
git push origin feature/AmazingFeature). - Open a Pull Request.
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)
| 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)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| 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.