Skip to main content

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 pipx:

$ pipx install mudepy

Usage

via command-line

$ nudepy IMAGE_FILE

via Python Module

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 .

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

Metadata

Release files for mudepy 0.5.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mudepy 0.5.2
File Size Uploaded Provenance
mudepy-0.5.2.tar.gz 63.2 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for mudepy 0.5.2
File Interpreter ABI Platform
mudepy-0.5.2-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.8 CPython 3.8 Linux glibc 2.5+ x86-64, Linux glibc 2.17+ x86-64 Details

Total release size: 247.6 kB

Release files / mudepy-0.5.2.tar.gz

Download URL mudepy-0.5.2.tar.gz
Size 63.2 kB
Tags Source
SHA-256 checksum
How to use checksums
516f4979db97785e9e56271044c34a60dfa6b99a652fcb7eb151e2a5677edd9f
BLAKE2b-256 checksum
How to use checksums
266ff2500e7ffa7198b4c72342a8aa60bf4e41bec53ed11fd7ae88d9f89e4212
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.2

Release files / mudepy-0.5.2-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL mudepy-0.5.2-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 184.3 kB
Tags CPython 3.8 Linux glibc 2.17+ x86-64 Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
14904301ed507079ee7510b139a373082cf0ca42a4e22d45553f5053c1247ef6
BLAKE2b-256 checksum
How to use checksums
9a2c9f46c8a5aa61454395a486af8ffe385f1eaf70cf173c00830a77fd2abfc0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.2

Security for mudepy 0.5.2

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.

Release history Release notifications | RSS feed

This release

0.5.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page