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

mudepy is maintained fork of nudepy #29

Open
yaroslaff opened this issue Jun 27, 2024 · 0 comments
Open

mudepy is maintained fork of nudepy #29

yaroslaff opened this issue Jun 27, 2024 · 0 comments

Comments

@yaroslaff
Copy link

yaroslaff commented Jun 27, 2024

Currently this project is not working for some users including me (does not compile on my machines), incompatible with latest versions of it's dependencies (e.g. pillow>10.0.0) and was not updated for 4 years.

Please keep this issue open if possible so users who cannot use nudepy would use mudepy.
But I'd be happy if @hhatto would reproduce things from mudepy into nudepy. (But most important thing is to provide manylinux wheels, which could not be solved as git pull-request)

mudepy

Mudepy is maintained fork of nudepy.
Github URL: https://github.com/yaroslaff/mudepy
Disclaimer: this is my project. My other project nudecrawler depends on nudepy too, but can not be installed with current nudepy version (0.5.1) because fails to compile binary wheel, so I created this replacement.
For now I do not promise to maintain mudepy for long time (maybe I will abandon this project if @hhatto will fix nudepy). But usually I'm quite stable and my other projects lives for long time.

How to switch to mudepy
Just change one letter, nudepy -> mudepy when installing. Mudepy uses same module name (nude.py), same class name (Nude), same console script (nudepy) - so you do not have to change anything else. If you will like to change back - change one letter again. To install it: pip install mudepy. To use as dependency - use mudepy. Not very hard.

How mudepy is better

  1. mudepy comes with binary wheels (manylinux wheels), so it's easier to install for user, has lower requirements (no need for cython or longintrepr.h). I will try to make such wheels for platforms which I can access. For other systems (like MacOS) I may need help from someone, who can compile it there and provide me package file.

  2. in mudepy I fixed another problem which comes with newer (10.0.0, since 1st Jul 2023) version of Pillow PIL.Image.ANTIALIAS which produces this error: AttributeError: module 'PIL.Image' has no attribute 'ANTIALIAS'
    https://stackoverflow.com/questions/76616042/attributeerror-module-pil-image-has-no-attribute-antialias

I do not plan to invest much of time into mudepy to develop it - it's mission is to be 'working version of nudepy': lightweight, simple, easy to use, easy to embed with your project. No new features expected, but it must be working, compatible with recent packages and newer python and OS.

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

1 participant