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.0b8.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 089eb5bbec88de4127aec20d8837de4e74c8a41237ee754541992e28c0601baa |
|
MD5 | 91e9ac821808d372e40de1838e6ee5c5 |
|
BLAKE2b-256 | 08e048cd545a7dee862eb1d54949a4e7f6212e984a40040fb83ae24ea55b9ccf |
Hashes for modelon_impact_client-1.2.0b8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 81735bfe68afe42d9430d0d1bc208bde4b97904b7342d5e425b1b7659791839b |
|
MD5 | d2af9bd53c3547f6b72fd3ab9b56cbbb |
|
BLAKE2b-256 | 604db1713bc88dc0a13f75d8a99643b3c0ce96280cb6f87b4aec0d23604d64e3 |