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.0b10.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 43de68ab4b8e68ee4b1260e400cd198c606856a1b7e8aea33778c269a84bc460 |
|
MD5 | 05207fab7a24b85350eb737dbc4156f4 |
|
BLAKE2b-256 | de5b421844a55aecd53f6e2f424175ab6fb872c4793dd48c68a580d6823ea345 |
Hashes for modelon_impact_client-1.2.0b10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4722e4d25e08cffe9210d80743bff2abc527fd9bf54edbc099a8203cad4762f6 |
|
MD5 | 795da6b6c5bdc1c8f195edcd1f32f449 |
|
BLAKE2b-256 | 1e5700a27fba8a2d310410bb84dc99e2a76815ffa42c17279e70c803ee01b0e3 |