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.0b4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9711ae4f030ca09a06c79fad576482d31875d34698926f5c22f9fb6929e6afc7 |
|
MD5 | 144406506d0acf326f38741a38b06f87 |
|
BLAKE2b-256 | f55614ea7112931fc73d0561875526a0772a096b0a2283f8aa620f70d6b1ce06 |
Hashes for modelon_impact_client-1.1.0b4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 69c7ea445fde4c2aadb78ff18f30450cfe59645b01dee2610dd6d6abcb39237a |
|
MD5 | f3e4a00684b3d966a0e91196d2519854 |
|
BLAKE2b-256 | f54b038b0c2c1c9cd4f75c51a3cf2e2323724753f35a44a96dbc3d53c77b8fad |