Skip to main content

Some tools/functions/snippets used across projects.

Project description

mypythontools

Module with functionality around Continuous Integration and Continuous Delivery.

Python versions PyPI version Downloads Language grade: Python Documentation Status License: MIT codecov

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


Download files

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

Source Distribution

mypythontools_cicd-0.0.13.tar.gz (26.8 kB view hashes)

Uploaded Source

Built Distribution

mypythontools_cicd-0.0.13-py3-none-any.whl (33.1 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