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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f36e189deaab6146d6af2d3dc5e689467ac71f8af65db17ce9e45f601d5f736 |
|
MD5 | f5c776ee34243ec9983eccbd69ec8137 |
|
BLAKE2b-256 | 44d4bbdd0cfc7b2d5034bf9806121a39bf318afba2a18ad61d201ba74efeddaf |
Hashes for modelon_impact_client-1.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a9a962a3f49cf369943e036fbec2063456ce426b1e6554d0c91ee3bb7c4105b |
|
MD5 | dc073d353f503d67d370746b12c6b1a6 |
|
BLAKE2b-256 | f2cd0e97ee8a83a6d424ea5314f66adde78e8a518e2284ebf4a9f2ffd921395e |