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.0b20.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 895fb2aa653da8ce910fc85e7a5833124af12c1cad2aed51bf960026546d3550 |
|
MD5 | 1faa693bd62fd54db7c86ea2db55df5f |
|
BLAKE2b-256 | 1cef1fb8907106ac75339f33daeda8dce86efe4b56c38e1ea4b2499a901a0188 |
Hashes for modelon_impact_client-1.2.0b20-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 43e09e564b497dc5b0200612e0a2546e815d39f98c32bd21702d4d03a59ed0b2 |
|
MD5 | 2fae72aa8c7d1b87bac1fbfa426740e1 |
|
BLAKE2b-256 | fdac922c46ffa45f994fd6127b605dc5d761210153a982785057f66b7093d618 |