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.0b12.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 35fa91c663e4009069531389c34681515ab7ceaa7e0df4d389f28302e66f222a |
|
MD5 | f8c1bddc245b2968aa2bba24f30ddb64 |
|
BLAKE2b-256 | 908dbda33864d2adc5c3a2c3bd4320a27c787758cf59b490725d8bbaea3c39ab |
Hashes for modelon_impact_client-1.1.0b12-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 45474f505c296000d9fce0ad12790e3dc19ee88bbb2f61e5d51aeb1dde71ca7f |
|
MD5 | 1dfe9150012e0d89be85654b9f6aa7f5 |
|
BLAKE2b-256 | 6f9880f55f90928ba3400a6db0123561693866dbd400da2baf4075ecb46f4fa4 |