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.1.0b18.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 822055de1c1f1f8f34a7f1d8fe8b4eab73d9bdb837ebe73dc107e79628bdd376 |
|
MD5 | 0eb18ad312d1b8818b8372e905e2d461 |
|
BLAKE2b-256 | 3e89bf06f01d0c78515b854b3ecbbb20f6715fdbbaf7c6125d9cde5d2dd718b3 |
Hashes for modelon_impact_client-1.1.0b18-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 629d59b49f3c7b3904e766701209b4b92c9e081b71bcbf18e0cee0e4a937c52c |
|
MD5 | ad6e1b6e960147643368ed6f07cd195a |
|
BLAKE2b-256 | 0012224551450eadfb1ebaa8330bf1e8ef53059f4947a8cab6c12e3343e4d56a |