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.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a2c7c588e822bead1005ff8f68a97400d2a5601fec4b1a837aa217208ea2e8c4 |
|
MD5 | 29cab8efd72a253b2b9ee475af339312 |
|
BLAKE2b-256 | a4b0be9bc3f1aae373a8094015b69d9e801b4e7ace5c7a03f8977f49c8a2d189 |
Hashes for modelon_impact_client-1.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f2fed891245b2393268bc0da4a4fb35ccf2889b733503c16642cdb265bac9fe |
|
MD5 | b44a2b9c5177321a5236f26b89ba42c9 |
|
BLAKE2b-256 | c6c36d9fe6b30e02245eb88516bb57a4915a4fcdb3db60a597abbe9c7199734a |