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.0b15.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c5b3564e55df4926de709804afe82d16b658cfdc15c787a755dc9dcb65eab943 |
|
MD5 | 28712436d9dd3719ac4959d3d900e5de |
|
BLAKE2b-256 | d68331151c87acfc0249dcca8e290bb94b40c2e09237c0e1a4ca2cee7cbbfae6 |
Hashes for modelon_impact_client-1.1.0b15-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 09d95a8c63fc254c96b9edaf6c412afe425e5efee6c3d1a100c8158d6855a65c |
|
MD5 | 050c332791d32cf8e7e1e5764b7d7d8d |
|
BLAKE2b-256 | 8fdd4cb13c411468a40c4d73780f0534288b9a30288bef67ffc8025ae9b428ba |