Qontinui API Service
Maintenance Mode Notice
This package is in maintenance mode. The recommended approach for GUI automation is now the qontinui-runner with direct IPC to the qontinui library, which provides better performance and tighter integration.
This package remains available for developers who want HTTP API access to qontinui functionality. No new features will be added, but critical bug fixes may be applied.
Important: This package depends on the
qontinuicore library, which is not yet published to PyPI. For local development, install qontinui from source alongside this package.
REST API service that exposes real qontinui library image recognition capabilities for web-based testing.
Features
- Real Qontinui Pattern Matching: Uses actual qontinui Find operations
- State Detection: Detect which states are present in screenshots
- Location Validation: Validate locations with image-relative positioning
- Web-Friendly: Base64 image support for easy browser integration
Endpoints
Vision Operations
POST /find
Find a single template match in a screenshot using qontinui's real pattern matching.
{
"screenshot": "base64_image_data",
"template": "base64_image_data",
"similarity": 0.8,
"search_region": {"x": 0, "y": 0, "width": 100, "height": 100}
}
POST /find_all
Find all template matches in a screenshot.
POST /detect_states
Detect which states from a list are present in a screenshot.
{
"screenshot": "base64_image_data",
"states": [...],
"similarity": 0.8
}
POST /validate_location
Validate if a location is accessible, with optional image-relative positioning.
Installation
- Install Python dependencies:
pip install -r requirements.txt
- Start the service:
./start.sh
Or manually:
uvicorn main:app --reload --host 0.0.0.0 --port 8000
API Documentation
When running, interactive API documentation is available at:
- Swagger UI: http://localhost:8000/docs
- ReDoc: http://localhost:8000/redoc
Integration with Frontend
The API accepts base64-encoded images and returns JSON responses with match regions, scores, and detection results. Perfect for integration with the qontinui-web frontend for visual testing and validation.
Contributing
We welcome contributions! Please see CONTRIBUTING.md for guidelines.
Please note that this project is released with a Code of Conduct. By participating in this project you agree to abide by its terms.
License
This project is open source. See the LICENSE file for details.
Contact
For questions or issues, please contact jspinak@hotmail.com or open an issue on GitHub.
Metadata
Release files for qontinui-api 0.2.0
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 | |
|---|---|---|---|---|
| qontinui_api-0.2.0.tar.gz | 109.3 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| qontinui_api-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 247.4 kB
Release files / qontinui_api-0.2.0.tar.gz
| Download URL | qontinui_api-0.2.0.tar.gz |
|---|---|
| Size | 109.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cb5947d5c9f693dc54e962fc14f935817b5906036f14dbc50c1303dbbb35c8a0
|
|
BLAKE2b-256 checksum How to use checksums |
eda08dc0fc5e725b2854df52ba646016c8870fd55382e27cd68c762615d6b3d0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.2.1 CPython/3.12.10 Windows/10
|
Release files / qontinui_api-0.2.0-py3-none-any.whl
| Download URL | qontinui_api-0.2.0-py3-none-any.whl |
|---|---|
| Size | 138.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4a63aa37dfeec67fc05c45778e3f0662c2f1aa8f3025c8454871cc022d4e45fc
|
|
BLAKE2b-256 checksum How to use checksums |
4f641e2b696107d70a17af004bde40d6cf62b1c2d23b8ff9b78b529682f10faf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.2.1 CPython/3.12.10 Windows/10
|
Security for qontinui-api 0.2.0
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.