An open API service indexing awesome lists of open source software.

https://github.com/starwit/starwit-aic-api

This repository packages generated code from project AI Cockpit into libraries, that can be used in depdency management
https://github.com/starwit/starwit-aic-api

ai-cockpit aicockpit

Last synced: 5 months ago
JSON representation

This repository packages generated code from project AI Cockpit into libraries, that can be used in depdency management

Awesome Lists containing this project

README

          

# Starwit AI Cockpit API Data Model
This repository contains generated code, that implements the data model of project AI Cockpit. Data model is defined [here](https://github.com/KI-Cockpit/ai-cockpit-api) If you want to know more about project AI Cockpit, more details can be found at .

## Supported Languages
Data model is made available in a number of languages.

### Java
Java class library is packaged in to a jar file and published at Maven Central Repository. Latest versions can be found here:
https://central.sonatype.com/artifact/de.starwit.aic/aicockpit-api/versions

You can then use library in your projects like so:
```XML

de.starwit.aic
aicockpit-api
0.0.9

```
For other Java build tools, please refer to their respective documentation, to use Maven dependencies.

### Python
Add the following to your `pyproject.toml` dependencies section:\
`starwit_aic_api = { git = "https://github.com/starwit/starwit-aic-api.git", subdirectory = "python/generated-library", tag = "0.0.9" }`

TODO publishing to PyPi.

## Dev

This repo is not supposed to see actual development activity. Ir shall only contain generated code for various languages and is being used to publish libraries for each supported programming languages.

### Publish

Workflow [publish](.github/workflows/publish-libraries.yaml) is supposed to release Java lib to Maven Central and Python package to PyPi. You have to provide release version number, to publish artifact.

In Maven central an uploaded library still has to be manually approved for publication. You have to use proper login at https://central.sonatype.com/.

### Run/Debug Github Actions locally
`act -W .github/workflows/create-release.yaml --input-file local.inputs --secret-file local.secrets -P self-hosted=-self-hosted`

## Contact & Contribution

The “KI-Cockpit” (AI Cockpit) project was funded by the Federal Ministry of Labor and Social Affairs.

BMAS Logo

# License

Software in this repository is licensed under the AGPL-3.0 license. See [license agreement](LICENSE) for more details.