Metadata-Version: 2.4
Name: daselement-api
Version: 1.0.0
Summary: Das Element Python API
Author-email: Das Element <tech@das-element.com>
Maintainer-email: Das Element <tech@das-element.com>
License-Expression: MIT
Project-URL: Homepage, https://github.com/das-element/python-api
Project-URL: Repository, https://github.com/das-element/python-api
Project-URL: Documentation, http://docu.api.das-element.com
Project-URL: Bug Reports, http://support.das-element.com
Keywords: das-element,api,asset-management
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Python: >=2.7
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# Das Element Python API

Official Python API for the **Das Element** asset library software.

---

## 🧩 Installation

Install the package using `pip`:

```bash
pip install daselement-api
```

---

## ⚙️ Configuration

The API internally calls the command-line interface (CLI) version of _Das Element_.  
To ensure it works correctly, link the CLI executables by setting the following environment variables:

### Environment Variables

| Variable              | Description                             |
| --------------------- | --------------------------------------- |
| `DASELEMENT_CLI`      | Path to Das Element CLI executable      |
| `DASELEMENT_CLI_FULL` | Path to Das Element CLI full executable |

```bash
export DASELEMENT_CLI=/path/to/das-element
export DASELEMENT_CLI_FULL=/path/to/das-element-full
```

### Alternative Configuration

You can also hardcode the paths directly in  
`daselement_api/manager.py` by modifying these lines:

```python
EXECUTABLE_CLI = "path/to/das-element"
EXECUTABLE_CLI_FULL = "path/to/das-element-full"
```

---

## 🧠 Example Usage

```python
from daselement_api import api as de

libraries = de.get_libraries()

for library, config in libraries.items():
    print(library)
    print(config)
```

---

## 📚 Documentation

For the full API reference and examples, visit:  
👉 [**docu.api.das-element.com**](http://docu.api.das-element.com)

---

## 🧾 License

This project is distributed under the terms of the license provided with **Das Element**.
