asanAI Python Module
asanAI is a Python module that allows you to execute scripts generated from machine learning models created in asanAI. 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
-
Create model On asanAI, create and train a model
-
Download your model On asanAI, click Code and there, "Download model data" (or "Modelldaten downloaden"). Place the downloaded file in the same folder as your generated Python script.
-
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 384
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 | Actions |
|---|---|---|---|---|
| asanai-384.tar.gz | 25.8 kB | Without provenance | Details for asanai-384.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| asanai-384-py3-none-any.whl | Python 3 | none | any | Details for asanai-384-py3-none-any.whl |
Total release size: 85.7 kB
Release files / asanai-384.tar.gz
| Download URL | asanai-384.tar.gz |
|---|---|
| Size | 25.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
659d0f92fc9778a348dbc402f1b95959040ad25ae61d7f77aef8bf1068dbd1af
|
|
BLAKE2b-256 checksum How to use checksums |
ec0ccc278eed3e879981123686918e221dea85c4e1f524c24298a7514b26aa2a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.25
|
Release files / asanai-384-py3-none-any.whl
| Download URL | asanai-384-py3-none-any.whl |
|---|---|
| Size | 59.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0238e7fe303a52d2bb9c956c6e04cf067d7d5445d6bcc0ed67a7580322a2ac0d
|
|
BLAKE2b-256 checksum How to use checksums |
d6299d7689bea5bc90a9416416a80b6c24f7f0331a113d1d129580379fe14355
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.25
|
Security for asanAI 384
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.