pymupdf / RAG

RAG (Retrieval-Augmented Generation) Chatbot Examples Using PyMuPDF
https://pymupdf.readthedocs.io/en/latest/pymupdf4llm
GNU Affero General Public License v3.0
302 stars 57 forks source link

Use Poetry to resolve dependencies, lock them, build and publish package #84

Closed dantetemplar closed 1 month ago

dantetemplar commented 2 months ago

Currently the pymupdf4llm package uses setup.py for managing dependencies, packaging, and distribution. To modernize the package management and streamline the development workflow, I propose to migrate to Poetry. Poetry will handle dependencies, lock them to ensure reproducible builds, and facilitate the build and publication process.

Benefits of Using Poetry:

Action Required:

How to build and publish then:

dantetemplar commented 2 months ago

I will make PR for it

dantetemplar commented 2 months ago

Package on TestPypi using Poetry publish: https://test.pypi.org/project/pymupdf4llm/

JorjMcKie commented 1 month ago

Thank you for your suggestion. This repository is closely linked to PyMuPDF which has its own tools to achieve what we want. Over time, this package offspring will reuse what we have there.