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. 509 modules produce 868 metrics across 22 categories, covering visual quality, text alignment, motion, audio, safety, and more.

Install

Requires Python 3.10 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.6

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.6
File Size Uploaded Provenance Actions
ayase-0.2.6.tar.gz 37.8 MB Without provenance Details for ayase-0.2.6.tar.gz

Built distribution (wheel)

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

Total release size: 77.7 MB

Release files / ayase-0.2.6.tar.gz

Download URL ayase-0.2.6.tar.gz
Size 37.8 MB
Tags Source
SHA-256 checksum
How to use checksums
f6422174e4bf039d47e826101f537eff349ce87cd8ea1b4e90dc57def334ef0c
BLAKE2b-256 checksum
How to use checksums
12d730aca658cea9fb015526f361050288678c7fe3d56b831f91b4d360574047
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.6-py3-none-any.whl

Download URL ayase-0.2.6-py3-none-any.whl
Size 39.9 MB
Tags Python 3
SHA-256 checksum
How to use checksums
1db0e8c8a5fd49c0179968a7a34bab6edf602ef6bfe727902db12a5a9a0be02a
BLAKE2b-256 checksum
How to use checksums
8d6d117cd8f43ebd29f6d0ca814b7f70652431b368c84b31c6260ca24c0e0bda
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.6

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