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.0b32.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7fcbcdd205599132364d9c6f41c497700e2d3b4dd4ccf0c6410fcdfbebbba489 |
|
MD5 | 5ece0c2b22c8315cc7163af1cf4898a1 |
|
BLAKE2b-256 | b334f2dbb9239eb2cffd42f677ee518602a6dd5d2b1042c7d119f3e4230555d9 |
Hashes for modelon_impact_client-1.2.0b32-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e80b5411a28f56c35ac6d01a69954a1ce2efe2a08d58e65601a9652a951faedd |
|
MD5 | a4918f7f7768720c67eb5fa13ad1eb14 |
|
BLAKE2b-256 | 6bb9c32c00286a496a102503f50722ff1c20aa9436f43345e72403a9f6022416 |