Skip to main content

Ayase

Ayase measures the quality and content of images and videos. Choose the metrics that matter to you, run them on your files, and save a report with scores and validation issues. 393 modules produce 620 metrics across 22 categories, covering visual quality, text alignment, motion, audio, safety, and more.

Install

Requires Python 3.9 or newer:

pip install ayase

Ayase automatically downloads weights and provisions backend environments or native tools when needed, then caches them for later runs. No per-metric extras are required. First use of an uncached metric needs internet access; hardware requirements depend on the metric.

Quick start

Put images or videos in a folder, then run:

ayase scan ./media --modules metadata,basic_quality --format json --output report.json

The JSON report contains run_status, overall stats, and samples with per-file results. A missing score is not zero: the metric may not have been selected, may not apply to the file, or may have failed or been unavailable. Check the run status and logs for details.

Choose metrics

Browse available metrics and inspect one:

ayase help
ayase help blur_score

blur_score is a metric field; basic_quality is a module that produces it. Pass module names to --modules. Scores use different scales and directions, so check the metric description before comparing results. The metric catalog describes inputs, ranges, requirements, and readiness: an approximate metric uses a substitute or partial method, while an unimplemented metric has no supported complete backend in a standard install. The model catalog lists weights and licenses.

Inputs

The scanner finds images and videos, including in subfolders. For metrics that need a caption, place a .txt, .caption, or caption .json file beside the media file with the same base name, such as clip.mp4 and clip.txt. Reference-based metrics need an explicit reference_path on a Sample; the scanner does not pair references automatically. The Python API also accepts prepared Sample objects. See the usage guide for input and configuration details.

Python

from ayase import AyasePipeline

pipeline = AyasePipeline(modules=["metadata", "basic_quality"])
results = pipeline.run("./media")

for sample in results.values():
    if sample.quality_metrics is not None:
        print(sample.path.name, sample.quality_metrics.blur_score)

pipeline.export("report.json")
pipeline.export("report.csv", format="csv")

Guides

Task Guide
Run checks, filter files, or configure metrics Usage and configuration
Understand downloads, caches, and backend requirements Managed backends
Integrate through an isolated environment Isolated client
Add a metric or plugin Custom modules
Contribute to Ayase Contributing
Review changes between versions Changelog

APIs and module interfaces may change before 1.0.

License

Ayase's own code is MIT. Bundled components and downloaded model weights retain their own terms; see third-party notices and the model catalog.

Google Colab

Open In Colab

Metadata

Release files for ayase 0.2.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 ayase 0.2.2
File Size Uploaded Provenance Actions
ayase-0.2.2.tar.gz 37.4 MB Without provenance Details for ayase-0.2.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ayase 0.2.2
File Interpreter ABI Platform Actions
ayase-0.2.2-py3-none-any.whl Python 3 none any Details for ayase-0.2.2-py3-none-any.whl

Total release size: 77.0 MB

Release files / ayase-0.2.2.tar.gz

Download URL ayase-0.2.2.tar.gz
Size 37.4 MB
Tags Source
SHA-256 checksum
How to use checksums
a0b32b7420d8e43a3a0ab7ee406c3664c6a700fbebbd93d6b80ca75665733027
BLAKE2b-256 checksum
How to use checksums
7939bd57b5c0691cc2fcbd4cef198840d5d07a03e83018c87258b68e3d79e6be
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.11

Release files / ayase-0.2.2-py3-none-any.whl

Download URL ayase-0.2.2-py3-none-any.whl
Size 39.6 MB
Tags Python 3
SHA-256 checksum
How to use checksums
a5167020c63f466de2380a55151b03f86923499b596313b0652a6fda90a67989
BLAKE2b-256 checksum
How to use checksums
65011d8cfd4e86ab904eaf2a66c761990a9a8f30b864deaeb44b0af3c6839efd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.11

Security for ayase 0.2.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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.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