Some tools/functions/snippets used across projects.
Project description
mypythontools
Module with functionality around Continuous Integration and Continuous Delivery.
Why to use this and not Travis or Circle CI? It's local and it's fast. You can setup it as a task in IDE and if some phase fails, you know it soon and before pushing to repo.
You can also import mypythontools in your CI/CD and use it there of course.
Links
Official documentation - readthedocs
Official repo - GitHub
Installation
Python >=3.6 (Python 2 is not supported).
Install with
pip install mypythontools
Subpackages
Package is divided into several subpackages
build
Build your application to .exe with pyinstaller. It also builds javascript frontend with npm build if configured, which is used mostly in PyVueEel applications.
deploy
Build package and push it to PyPi.
misc
Miscellaneous functions that are too small to have own subpackage.
project_paths
Subpackage where you can get paths used in your project (path to README, __init__.py etc.).
project_utils
In project utils you can find many functions for CI/CD like formatting, docs creation, version setting etc. There is also pipelining function that will call them in defined order.
tests
Runs tests in more venvs with different python versions, also with wsl linux if configured and create coverage.
Mypythontools
There is extra library in separate repository which is not about CICD, but normal python helpers.
https://github.com/Malachov/mypythontools
This can help you with a lot of stuff around CICD like getting project paths, generating docs, testing, deploying to PyPi etc.
subpackages
- config
- misc
- paths
- plots
- property
- terminal
- type_hints
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 mypythontools_cicd-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 962389a69486e9601a554a5a7b04a3fecb73bd933d1e83008b518f8cf32bb894 |
|
MD5 | 56734935f1a4d8b1f42ca833d8bc439b |
|
BLAKE2b-256 | 3bd73c1469ab38ef50457c3e1cc3d9dbb1ec47c02ef2dbdbddabca7fd9a40c9c |