Client library for easy scripting against Modelon Impact
Project description
Modelon-impact-client
Client library for easy scripting against Modelon Impact
Installation
For installation instructions and requirements, please refer to the documentation.
Develop
Creating a shell
Modelon-impact-client is developed using a Docker container for all build tools. You can get a shell into said container by running:
make shell
Manage dependencies
Dependencies are managed by poetry. Add dependencies by running
poetry add <package>
or poetry add <package> --dev
inside the shell
Running tests
Tests are executed by running make test
. You can also run make test-watch
to get a watcher
that continuously re-runs the tests.
Running lint
make lint
Build
Building chimp is done by running
make wheel
Release
The modelon-impact-client build process is a fully automated using Semantic-release
.
Automation is enabled for:
- Bumping version
- Generate changelog
This is done based on git commit semantics as described here: https://semantic-release.gitbook.io/semantic-release/
To make a new release simply run:
make publish
This command will detect what branch you are on and your git history and make a appropriate release.
Current configuration can be found in .releaserc
and specifies that commits to branch master
should be released and
commits to branch beta
should be released as a pre-release
.
This workflow make sure that no administrative time needs to be put into managing the release workflow.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for modelon-impact-client-1.2.0b15.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f35dcd22ab5e646e9be31e363a8be07315152d7a84a60f1ffea51f96470e98b |
|
MD5 | a5f83b5149038dc2cd93cf172992543e |
|
BLAKE2b-256 | 6d7cc78627edf43b5bdbc57e385855b699ce9aa78978e35018f4fbb57261e705 |
Hashes for modelon_impact_client-1.2.0b15-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 18bb2daf2f5ea8234b1fc4cdb668772fd21ad543be346578116ec1f264393a87 |
|
MD5 | 25edd3ba8726fda414c673079a0b7a3c |
|
BLAKE2b-256 | 525ff390e85df4bd1754a04ac1433b06cb559c9f74d3ef71670210d211932ba3 |