Metadata-Version: 2.1
Name: carmen_cloud_client
Version: 1.0.2
Summary: Python client for Carmen Cloud by Adaptive Recognition. Efficiently read license plates, recognize vehicle details, and process container, railway wagon, and US DOT codes.
Project-URL: Homepage, https://github.com/adaptiverecognition/python-carmen-cloud-client
Project-URL: Bug Tracker, https://github.com/adaptiverecognition/python-carmen-cloud-client/issues
Author-email: Botond BALÁZS <botond.balazs@arip.hu>
License-File: LICENSE
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.7
Requires-Dist: pydantic>=1.10.9
Requires-Dist: requests-toolbelt>=1.0.0
Requires-Dist: requests>=2.31.0
Requires-Dist: urllib3>=2.0.3
Description-Content-Type: text/markdown

# Carmen Cloud Client by Adaptive Recognition

Python client for [Carmen Cloud](https://carmencloud.com/) by [Adaptive Recognition](https://adaptiverecognition.com/). This unified library provides you with access to both the **Vehicle API** and the **Transportation & Cargo API**.

## Supported API Versions

- Vehicle API: v1.4
- Transportation & Cargo API: v1.0

## 🛠️ How to Install

```sh
pip install carmen-cloud-client
```

## 🚀 Usage

You can utilize either the Vehicle API or the Transportation & Cargo API based on your needs.

### 🚗 Vehicle API

```python
from carmen_cloud_client import VehicleAPIClient, SelectedServices,  Locations

client = VehicleAPIClient(
    api_key="<YOUR_API_KEY>",
    services=SelectedServices(anpr=True, mmr=True),
    input_image_location=Locations.Europe.Hungary,
    cloud_service_region="EU"
)

response = client.send("./car.jpg")
print(response)
```

### 🚚 Transportation & Cargo API

```python
from carmen_cloud_client import TransportAPIClient, CodeType

client = TransportAPIClient(
    api_key="<YOUR_API_KEY>",
    code_type=CodeType.ISO,
    cloud_service_region="EU"
)

response = client.send("./container.jpg")
print(response)
```

## 🔧 Development

For more information about developing and contributing to this project, see [DEVELOPMENT.md](DEVELOPMENT.md).
