Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/kaltsoon/kilke-python-boilerplate

Python boilerplate code for communicating with Kilke
https://github.com/kaltsoon/kilke-python-boilerplate

Last synced: about 2 months ago
JSON representation

Python boilerplate code for communicating with Kilke

Awesome Lists containing this project

README

        

# Python boilerplate for [kilke](https://github.com/Kaltsoon/kilke)

This repository contains boilerplate code, which can be used to establish basic communication with the kilke's `system-io` server.

## Installation

1. Install [Poetry](https://python-poetry.org/) by following the [installation instructions](https://python-poetry.org/docs/#installation).

2. Install dependencies by running `poetry install`

3. Create a file named `.env` into the project's root folder, and define values for `SYSTEM_ID` (id of the system you want to communicate with), `SYSTEM_IO_HOST` (`system-io` server host) and `SYSTEM_IO_PORT` (`system-io` server port) environment variables in the following manner:

```
SYSTEM_ID=
SYSTEM_IO_HOST=
SYSTEM_IO_PORT=
API_URL=
```

## Usage

Run `poetry run python3 src/index.py` to start the `index.py` script.