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.

If you are not sure whether the structure of your app will work with this code, check project-starter-cookiecutter on GitHub.

Links

Official documentation - readthedocs

Official repo - GitHub

Installation

Python >=3.6 (Python 2 is not supported).

Install with

pip install mypythontools_cicd

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.

cicd

Pipeline for all the other submodules, that provide configurable CI/CD.

deploy

Build package and push it to PyPi.

docs

Provide documentation with sphinx.

git

Works with git. You can check branch here, commit all changes or push to repository.

misc

Miscellaneous functions that are too small to have own subpackage, like for example formatting with black.

packages

For example, you can work with requirements here. Usually used in 'setup.py'.

project_paths

Subpackage where you can get paths used in your project (path to README, __init__.py etc.).

tests

Runs tests in more venvs with different python versions, also with wsl linux if configured and create coverage.

venvs

Works with virtual environments.

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.

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.27.tar.gz (30.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mypythontools_cicd-0.0.27-py3-none-any.whl (39.1 kB view details)

Uploaded Python 3

File details

Details for the file mypythontools_cicd-0.0.27.tar.gz.

File metadata

  • Download URL: mypythontools_cicd-0.0.27.tar.gz
  • Upload date:
  • Size: 30.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.4

File hashes

Hashes for mypythontools_cicd-0.0.27.tar.gz
Algorithm Hash digest
SHA256 c865c1dcdf8dfb51bc7dbe75eab156e8f4178252bb82d6d9b27af0853ee2f30f
MD5 57fc34df7ba8314b654b4abc49b98e54
BLAKE2b-256 cff34fdab71e3834b2e88021f4260abd787e1fec6dbcd54fa321bafbf9a2a433

See more details on using hashes here.

File details

Details for the file mypythontools_cicd-0.0.27-py3-none-any.whl.

File metadata

File hashes

Hashes for mypythontools_cicd-0.0.27-py3-none-any.whl
Algorithm Hash digest
SHA256 6f6451373f624a6b237b1e84af8017acbea7b3e9ba659ad469b0b52fc3fe5ec1
MD5 91a42feeab1e064ad722918c3d6a05dd
BLAKE2b-256 06c7e5fecf5840410bddc05b6064afff88c6c6b5d57166b26b27b5123700c4d3

See more details on using hashes here.

Supported by

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