Tools for batch scripts, virtual environments and utilities.
Project description
General |
|
CI |
|
PyPI |
|
Github |
Designed for the use in the Bright Edge eServices echo system. It defines methods and functions for general use purposes.
Installation
pip install beetools
Tests
This project uses pytest to run tests.
There are various settings combinations in the [tool.pytest.ini_options] section of the pyproject.toml file that can used by commenting it out.
This project uses black to format code and flake8 for linting. We also support pre-commit to ensure these have been run. To configure your local environment please install these development dependencies and set up the commit hooks.
pytest
Contributing
Naming Conventions
- Branch names
“enhancement” | “bug” | “hotfix”/< ticket_nr>_<description>
- where
enhancement - Planned improvement or addition to functionality; non-urgent.
bug - An error or defect causing incorrect or unexpected behavior; typically fixed in regular development cycles.
hotfix - An urgent, critical fix applied directly to the live environment, often bypassing regular development cycles.
ticket_nr: Ticket number assigned to the issue in GitHub. Once an issue is registered, the owner will assign a ticket.
description: GitHub issue title or combination of titles is more than one issue is addressed.
Releasing
For the purpose of push and release of code two script files are included. Use there two files to files to make life a bit easier. The scripts make use of the gitit module to simplify tasks.
push.bat - Use this script to push branches to GitHub repository. In principle it does the following:
usage: push message
e.g. push “Changed the Infinite Improbability Drive”
.rst syntax check
git add -A
git commit -m message (with pre-commit including black and flake8)
git push –all
release.bat - Use this script to push a new tag and release to the GitHub repository. Remember to change the version number in the setup.cfg else the workflow will fail.
usage: release version The version will match the release and the tag. Only issue a release once a push.bat was successful. In principle it does the following:
e.g. release 1.2.3
Commit the changes
Create and push the release tag with the correct naming conventions.
Checkout master since it assumes that the branch is now merged with master and will be deleted.
display a list of all the current branches as a reminder to delete the branch on completion.
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
File details
Details for the file beetools-5.1.1.tar.gz
.
File metadata
- Download URL: beetools-5.1.1.tar.gz
- Upload date:
- Size: 32.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae11ca80ef1c8e0f3e7c2e3631150129502e1ef2345514cc1d4d4f09247f4ae0 |
|
MD5 | 379bcdf3ae7b0b7dfcf3f74bf6992831 |
|
BLAKE2b-256 | 73730fc4b95e289d6f4d9cdba02bae1a26318514ea7a1ed70344494e15afb38a |
File details
Details for the file beetools-5.1.1-py3-none-any.whl
.
File metadata
- Download URL: beetools-5.1.1-py3-none-any.whl
- Upload date:
- Size: 16.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 644d30cd57a500067adad6dd8e5e6f272e942c7c1c9a1d06fc474aac3fc8069c |
|
MD5 | 599648fefbe52381c9d9810f2114d571 |
|
BLAKE2b-256 | 2eb156c809245c8cb58cb709c86f23741adbd57114efd6417d187dcd57d881a9 |