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.0b14.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2acb7d638f2d22d035887cc1d5e8f320c0eb2c20e448046d1c21212c00dc41a8 |
|
MD5 | b399c35c311ed2ebdcaace890432b57b |
|
BLAKE2b-256 | a8c1b1e1905e6664918a5b0f8bc189414c95413eda8654ce2451b40948ad80b4 |
Hashes for modelon_impact_client-1.1.0b14-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a6e865637b38783d59ec7655d8964b27388ae8220cafa1538e3cdcf0a515cfc1 |
|
MD5 | 5690a40e5c9153960ae56b8bfd191f70 |
|
BLAKE2b-256 | 0fb9bf9a66d22273865a7a330a963c056bfd91d2925df211fdab5f2d9922e5c2 |