# mudepy is maintained nudepy
## About this fork
This is fork of <https://github.com/hhatto/nude.py>. I will try to keep
it maintained with pre-compiled binary (wheel) packages.
Use it when you have this problem with original nudepy:
~~~
skin_classifier.c:196:12: fatal error: longintrepr.h: No such file or directory
196 | #include "longintrepr.h"
| ^~~~~~~~~~~~~~~
compilation terminated.
error: command '/usr/bin/gcc' failed with exit code 1
~~~
If you use nudepy in your projects, just change to mudepy in
dependencies. No other changes are required.
## Installation
from pip:
$ pip install --upgrade mudepy
from easy\_install:
$ easy_install -ZU mudepy
Requirements
============
- Python2.7+ and Python3.3+
- Cython
- Pillow
Usage
=====
via command-line
``` {.sh}
$ nudepy IMAGE_FILE
```
via Python Module
``` {.python}
import nude
from nude import Nude
print(nude.is_nude('./nude.rb/spec/images/damita.jpg'))
n = Nude('./nude.rb/spec/images/damita.jpg')
n.parse()
print("damita :", n.result, n.inspect())
```
see [examples](https://github.com/hhatto/nude.py/tree/master/examples) .
Links
=====
- [PyPI](http://pypi.python.org/pypi/nudepy/)
- [GitHub](https://github.com/hhatto/nude.py)
### How to build binary wheel
Start manylinux docker container
~~~
docker run -it -v `pwd`:/io quay.io/pypa/manylinux2014_x86_64 /bin/bash
~~~
inside container:
~~~
cd io
./makeanylinux.sh
cd a
~~~
Raw data
{
"_id": null,
"home_page": "https://github.com/yaroslaff/mude.py",
"name": "mudepy",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "nude",
"author": "Yaroslav Polyakov",
"author_email": "yaroslaff@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/a3/12/18149b9e363a91dd38134fa306f0c2f3566d2084ec21f1837cffd7a4a20b/mudepy-0.5.1.tar.gz",
"platform": "Linux",
"description": "# mudepy is maintained nudepy\n\n## About this fork\n\n\nThis is fork of <https://github.com/hhatto/nude.py>. I will try to keep\nit maintained with pre-compiled binary (wheel) packages.\n\nUse it when you have this problem with original nudepy:\n~~~\n skin_classifier.c:196:12: fatal error: longintrepr.h: No such file or directory\n 196 | #include \"longintrepr.h\"\n | ^~~~~~~~~~~~~~~\n compilation terminated.\n error: command '/usr/bin/gcc' failed with exit code 1\n~~~\n\nIf you use nudepy in your projects, just change to mudepy in\ndependencies. No other changes are required.\n\n\n## Installation\n\nfrom pip:\n\n $ pip install --upgrade mudepy\n\nfrom easy\\_install:\n\n $ easy_install -ZU mudepy\n\nRequirements\n============\n\n- Python2.7+ and Python3.3+\n- Cython\n- Pillow\n\nUsage\n=====\n\nvia command-line\n\n``` {.sh}\n$ nudepy IMAGE_FILE\n```\n\nvia Python Module\n\n``` {.python}\nimport nude\nfrom nude import Nude\n\nprint(nude.is_nude('./nude.rb/spec/images/damita.jpg'))\n\nn = Nude('./nude.rb/spec/images/damita.jpg')\nn.parse()\nprint(\"damita :\", n.result, n.inspect())\n```\n\nsee [examples](https://github.com/hhatto/nude.py/tree/master/examples) .\n\nLinks\n=====\n\n- [PyPI](http://pypi.python.org/pypi/nudepy/)\n- [GitHub](https://github.com/hhatto/nude.py)\n\n### How to build binary wheel\nStart manylinux docker container\n~~~\ndocker run -it -v `pwd`:/io quay.io/pypa/manylinux2014_x86_64 /bin/bash\n~~~\ninside container:\n~~~\ncd io\n./makeanylinux.sh\ncd a\n~~~\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "mudepy is maintained nudepy. Nudity detection with Python. Port of nude.js to Python",
"version": "0.5.1",
"project_urls": {
"Homepage": "https://github.com/yaroslaff/mude.py"
},
"split_keywords": [
"nude"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "620c787cfc99230cf2c9ebd47d486e66c0322d0283c936fd7d2744b94e044389",
"md5": "c3068a1019989c2074dd227fdac4ca7c",
"sha256": "0d70264441e43b91eebf8963a374e6632dd596b58ab296e5f2bc9e788ab84472"
},
"downloads": -1,
"filename": "mudepy-0.5.1-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
"has_sig": false,
"md5_digest": "c3068a1019989c2074dd227fdac4ca7c",
"packagetype": "bdist_wheel",
"python_version": "cp38",
"requires_python": null,
"size": 184316,
"upload_time": "2024-06-26T23:52:25",
"upload_time_iso_8601": "2024-06-26T23:52:25.420851Z",
"url": "https://files.pythonhosted.org/packages/62/0c/787cfc99230cf2c9ebd47d486e66c0322d0283c936fd7d2744b94e044389/mudepy-0.5.1-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "a31218149b9e363a91dd38134fa306f0c2f3566d2084ec21f1837cffd7a4a20b",
"md5": "7dc440ed1eeed6a50621c55407c8b0c9",
"sha256": "af46d090d150ca1d3f934174f6a9f4c720b57790861adeeedf7f9da5b4c971d3"
},
"downloads": -1,
"filename": "mudepy-0.5.1.tar.gz",
"has_sig": false,
"md5_digest": "7dc440ed1eeed6a50621c55407c8b0c9",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 63256,
"upload_time": "2024-06-26T23:53:13",
"upload_time_iso_8601": "2024-06-26T23:53:13.970711Z",
"url": "https://files.pythonhosted.org/packages/a3/12/18149b9e363a91dd38134fa306f0c2f3566d2084ec21f1837cffd7a4a20b/mudepy-0.5.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-06-26 23:53:13",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "yaroslaff",
"github_project": "mude.py",
"travis_ci": true,
"coveralls": false,
"github_actions": false,
"lcname": "mudepy"
}