Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

apache license not compatible with PyMuPDF #119

Open
vadim0x60 opened this issue Sep 10, 2024 · 4 comments
Open

apache license not compatible with PyMuPDF #119

vadim0x60 opened this issue Sep 10, 2024 · 4 comments

Comments

@vadim0x60
Copy link

MuPDF has a restrictive license (AGPL-3.0) that doesn't allow commercial use. Using pymudpf in a library distributed under Apache license violates it.

@wangbinDL
Copy link
Member

Thank you for pointing out this issue. We will update the license accordingly.

@vadim0x60
Copy link
Author

oh no

@vadim0x60
Copy link
Author

PyMuPDF is only used in a small fragment that's easily replaceable by other python PDF libraries. Couldn't we remove that fragment and retain a free license?

@wangbinDL
Copy link
Member

Thank you for your suggestion. While it's true that PyMuPDF can be replaced with other Python PDF libraries, our use of the YOLO framework for document detection algorithms, such as formula detection, enforces strict licensing constraints. YOLO is licensed under AGPL-3.0, which requires us to license the entire repository under AGPL-3.0 as well.

Although alternative detection methods could be considered, this would extend our development timeline significantly. We are open to suggestions for more streamlined solutions that comply with a less restrictive license. Your input is greatly appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants