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 modelon-impact-client 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.0b29.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8be7464b53e2c1ba6361d7a5daf1d9be0450dd0f538332d337440d9831af1f59 |
|
MD5 | bddad16a332f3665e285c6e57b4492c0 |
|
BLAKE2b-256 | 8e870152e7ca893327e5b05d3f338ea65cef630c08073c05b73fde512a152b9e |
Hashes for modelon_impact_client-1.2.0b29-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7de3d89e33e60c2f5e3c52b7404d4b02934e87b22a8bfe1fc7410c5557e6f4a5 |
|
MD5 | 949803308b7ff6c835b18d4cd88b5604 |
|
BLAKE2b-256 | 14b8ff924e3bac6c5f8189f6981cfa9a30b9a639ccbc519f5f9f8c5fd0db37cc |