Disclaimer!
This project is 100%, absolutely vibe-coded using Opus 5.5.
melu
A content-bound image watermarking system.
pip install -e . # or: pip install -e ".[gpu]" for the torch backend (CUDA)
melu embed photo.png marked.png --salt "my secret"
melu detect marked.png --salt "my secret" # exit 0 = found, 1 = not found
melu torture marked.png --salt "my secret" --crops
import melu
marked, info = melu.embed("photo.png", salt="my secret")
marked.save("marked.png") # colour untouched, only luma carries the mark
r = melu.detect("marked.png", salt="my secret")
print(r.found, r.score, r.route) # True 3.3 'A'
Things to know
- Keep the salt secret. Anyone holding it can detect, and can attack the salt-only signals more easily.
- Check
info.robustafter embedding: tiny or flat images may not reach the threshold at the PSNR floor (the CLI refuses to write those unless--force). - GPU. With torch and CUDA installed the searches run on the GPU automatically (about 2 s per marked
image, 2–10 s for an unmarked one on an RTX 4060).
CBWM_GPU=0forces numpy,CBWM_WORKERSsets FFT threads.
Tests
pip install -e ".[test]" then pytest. The package must reproduce the lab code exactly on a synthetic image
(tests/golden.json), find marks after a quarter crop and a 3° rotation, and stay silent on unmarked images and
wrong salts.
Metadata
Release files for melu 0.8.0.post1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| melu-0.8.0.post1.tar.gz | 70.9 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| melu-0.8.0.post1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 151.0 kB
Release files / melu-0.8.0.post1.tar.gz
| Download URL | melu-0.8.0.post1.tar.gz |
|---|---|
| Size | 70.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b1538d4b0b0b09d855a1f67473e02c34be6ffd4763a3d99899ab58dac486b1db
|
|
BLAKE2b-256 checksum How to use checksums |
975c85e890642bfc755b4536da39b34adafb001c2edc866d34029b5236f712b1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.20 {"installer":{"name":"uv","version":"0.12.20","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / melu-0.8.0.post1-py3-none-any.whl
| Download URL | melu-0.8.0.post1-py3-none-any.whl |
|---|---|
| Size | 80.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2af51d7f689bf57859413428f00fbc84b89f5dd85f4634dee927c9b2782c4675
|
|
BLAKE2b-256 checksum How to use checksums |
ad70cae45a38dede3be99f46f0a18e02e9997b2b88d47a1616899951cad0d422
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.20 {"installer":{"name":"uv","version":"0.12.20","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for melu 0.8.0.post1
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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.