Skip to main content

Task automation framework

Project description

gurun

Code style: black Pre-commit Semantic Versions License

Task automation framework

Installation

Full installation:

pip install gurun[full]

Installing only the main framework components:

pip install gurun

You can also install component dependencies separately. Thus, we have the cv (computer vision) version and the gui version:

pip install gurun[cv] 
pip install gurun[gui]

Development

Setting up a development environment

If you don't have a local development environment, you can follow these steps to set one up.

First, if you have not already, install poetry:

pip install poetry

Now, initialize poetry and pre-commit hooks:

make install && make install-pre-commit

Running tests

You can run the tests with:

make tests

This will run the tests with pytest and show information about the coverage.

Formatting the code

To format the code, you can use the command:

make formatting

This will run the black, isort and )pyupgrade commands.

If you want to just check the formatting, use the command:

make check-formatting

Releasing a new version

To release a new version, you need to follow these steps:

  1. Update the version with poetry version <version> and commit the changes. This project follows Semantic Versioning, so the version number should follow the format <major>.<minor>.<patch>. Alternatively, you can also use the version as major or minor or patch, and the version number will be automatically incremented.

  2. Create a Github release with the new version number.

  3. (Optional) Publish the new version to PyPI with poetry publish --build.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gurun-1.1.0.tar.gz (10.4 kB view hashes)

Uploaded Source

Built Distribution

gurun-1.1.0-py3-none-any.whl (11.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page