gurun
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:
-
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 asmajororminororpatch, and the version number will be automatically incremented. -
Create a Github release with the new version number.
-
(Optional) Publish the new version to PyPI with
poetry publish --build.
Metadata
Release files for gurun 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| gurun-1.1.0.tar.gz | 10.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gurun-1.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 22.3 kB
Release files / gurun-1.1.0.tar.gz
| Download URL | gurun-1.1.0.tar.gz |
|---|---|
| Size | 10.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
53df15442e16bdf0a0d9c1b6079ed386995292baa2097fa528f5a4747c56d033
|
|
BLAKE2b-256 checksum How to use checksums |
af704aa1f5213700fe98ae7cdcaa195fb502bf8aac281951b16d858ea128d65e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
|
Release files / gurun-1.1.0-py3-none-any.whl
| Download URL | gurun-1.1.0-py3-none-any.whl |
|---|---|
| Size | 11.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
871a8e5b8a6272ac23e12c4c1fcd65d83f9554584f5dbb3f6427491f5b411155
|
|
BLAKE2b-256 checksum How to use checksums |
ca71500557c7306551cec906cc4b26a556c724d8c1dd02d87f225d215f19f367
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
|