Skip to main content

Asanai Python Module

Release Workflow

Asanai is a Python module that allows you to execute scripts generated from machine learning models created in the Asanai browser interface. It handles all necessary conversions from TensorFlow.js to Python and provides seamless integration for running, visualizing, and interacting with models locally.

⚠️ Note: Users typically do not need to install this module manually. It is automatically handled by the scripts generated by Asanai.


Features

  • Execute scripts generated from Asanai directly in Python.
  • Automatic conversion of TensorFlow.js models to Python TensorFlow (Keras) format.
  • Support for TensorFlow Sequential models.
  • Visualization support for:
    • Webcam input
    • Static image input
    • Simple and complex image outputs
    • Classification outputs with labeled probabilities
  • Beginner-friendly while still supporting advanced usage.

Getting Started

  1. Download your model In the Asanai browser interface, click "Download model data" (or "Modelldaten downloaden"). Place the downloaded file in the same folder as your generated Python script.

  2. Run the script

python3 your_script.py          # Predict using webcam or default behavior
python3 your_script.py 1.jpg 2.jpg 3.jpg  # Predict on specific images

Metadata

Release files for asanAI 287

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

Source distribution (sdist)

Source distribution for asanAI 287
File Size Uploaded Provenance Actions
asanai-287.tar.gz 25.6 kB Without provenance Details for asanai-287.tar.gz

Built distribution (wheel)

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

Total release size: 85.2 kB

Release files / asanai-287.tar.gz

Download URL asanai-287.tar.gz
Size 25.6 kB
Tags Source
SHA-256 checksum
How to use checksums
8d62304dec854e17cf1bcbc7b8d75734550af58c2f5f505bdcd507038f2e24d6
BLAKE2b-256 checksum
How to use checksums
1faa3a92d8b61c00dab325e3e8bd43459e602d1b4e387c4b75178b429a2957e3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.23

Release files / asanai-287-py3-none-any.whl

Download URL asanai-287-py3-none-any.whl
Size 59.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1ed66e5c735d8072f3e860234a6b0d9838fc8eb094ce19505b081d76217279dc
BLAKE2b-256 checksum
How to use checksums
0005f575d188731a9eee2d4216e827ece6cd5560a087dd919892d0e11c7b75b2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.23

Security for asanAI 287

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

287 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