etoile_pixtral_description
etoile_pixtral_description is a Python package designed to extract detailed descriptions from images using advanced language models. It focuses on providing concrete descriptions of visible content characteristics on web pages or other digital media, making it particularly useful for content analysis, accessibility improvements, and SEO enhancements.
Installation
To install etoile_pixtral_description, use pip:
pip install etoile_pixtral_description
Usage
The package provides a function describe_image that generates a detailed description of the content found within an image. It uses the ScreenContentSimplified model for structured output.
Setting Up the Model
from langchain_mistralai import ChatMistralAI
CVISION_MODEL = "pixtral-12b-2409"
llm = ChatMistralAI(
model=CVISION_MODEL,
temperature=0,
max_retries=2,
)
Describing an Image
from etoile_pixtral_description import describe_image
# `screenshot.link` should be a string containing the URL to the image you want to describe.
screenshot_link = "https://example.com/path/to/screenshot.jpg"
result = describe_image(llm, screenshot_link, verbose=True)
print(result)
# Assuming `result` contains a property `description` which holds the detailed description.
This function returns a structured response with a detailed description of each content characteristic on the screen, which is useful for various applications, including digital asset management and accessibility compliance.
Features
- Provides detailed and concrete descriptions of images for enhanced understanding and analysis.
- Utilizes advanced machine learning models to interpret and describe visual content.
- Supports detailed descriptions including the semantics of textual content and the aesthetics of visual elements.
Contributing
Contributions, issues, and feature requests are welcome! Feel free to check the issues page.
License
etoile_pixtral_description is licensed under the MIT License.
Acknowledgements
This package was developed by Evgenii (Eugene) Evstafev as part of the Mistral Étoile suite during the London Hackathon. It aims to provide tools that assist in the detailed analysis of digital content for various professional fields.
Metadata
Release files for etoile-pixtral-description 2025.5.160702
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 |
|---|---|---|---|---|
| etoile_pixtral_description-2025.5.160702.tar.gz | 3.7 kB | Without provenance | Details for etoile_pixtral_description-2025.5.160702.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| etoile_pixtral_description-2025.5.160702-py3-none-any.whl | Python 3 | none | any | Details for etoile_pixtral_description-2025.5.160702-py3-none-any.whl |
Total release size: 8.0 kB
Release files / etoile_pixtral_description-2025.5.160702.tar.gz
| Download URL | etoile_pixtral_description-2025.5.160702.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3ebe6ce690da0e6c7c1f8754413b92a5b21f7ab183783300866e3a59af7f7c31
|
|
BLAKE2b-256 checksum How to use checksums |
62cb6dec0241f6bf1461bc934785854fb0a5da4fdb9bf146a6c198b39e100b36
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.11
|
Release files / etoile_pixtral_description-2025.5.160702-py3-none-any.whl
| Download URL | etoile_pixtral_description-2025.5.160702-py3-none-any.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a84ce0ab353a65f4cf6551607c21296995fb0260080b2b51d80de38501b45797
|
|
BLAKE2b-256 checksum How to use checksums |
70e9eacacbf3a0df765f43d1413ad6d369a5d5eda3b0d4fb2b5e64d364154bdb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.11
|
Security for etoile-pixtral-description 2025.5.160702
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.