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.0b14.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | df0ad4b3ed228c5bf33ede199b31edc59ec2f8a021756210a335141d9b4caf7d |
|
MD5 | 664ea0cbd86ba313e4c31c2ff522d74e |
|
BLAKE2b-256 | ad3b4022ff12c250a8e81d31144a11fe25cbb6cdec5b9d5bf9b1f90d75a2a00d |
Hashes for modelon_impact_client-1.2.0b14-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 003b1e91697f1a27cd2de3d63dae2d1d6fffbdb8fa6a0dc0d796c772d0c87c55 |
|
MD5 | 7fe78924b61cb15e6fc5e354c7708222 |
|
BLAKE2b-256 | 27fbc40b07176f40b9fff9f6450c9ec2482638f41b4944b7513769bea00af917 |