Skip to main content

Python Workflow for open source project.

Project description

Documentation Status https://github.com/MacHu-GWU/pywf_open_source-project/actions/workflows/main.yml/badge.svg https://codecov.io/gh/MacHu-GWU/pywf_open_source-project/branch/main/graph/badge.svg https://img.shields.io/pypi/v/pywf-open-source.svg https://img.shields.io/pypi/l/pywf-open-source.svg https://img.shields.io/pypi/pyversions/pywf-open-source.svg https://img.shields.io/badge/Release_History!--None.svg?style=social https://img.shields.io/badge/STAR_Me_on_GitHub!--None.svg?style=social
https://img.shields.io/badge/Link-Document-blue.svg https://img.shields.io/badge/Link-API-blue.svg https://img.shields.io/badge/Link-Install-blue.svg https://img.shields.io/badge/Link-GitHub-blue.svg https://img.shields.io/badge/Link-Submit_Issue-blue.svg https://img.shields.io/badge/Link-Request_Feature-blue.svg https://img.shields.io/badge/Link-Download-blue.svg

Welcome to pywf_open_source Documentation

https://pywf-open-source.readthedocs.io/en/latest/_static/pywf_open_source-logo.png

pywf_open_source streamlines open source Python project development by providing a unified workflow automation framework. It eliminates the cognitive overhead of switching between projects by normalizing common development tasks through a consistent interface.

The library automates common operations for projects using:

  • A public GitHub repo to host your project.

  • Use poetry to manage your project dependencies and build distribution package.

  • Use pytest unit test framework for testing.

  • Use GitHub Actions to run your test.

  • Use Codecov.io to publish your test coverage result.

  • Use sphinx-doc to build your documentation website.

  • A public ReadTheDocs project to host your documentation website.

  • Use twine to publish your package to PyPI.

  • Use PyPI to publish your package.

  • Use GitHub Release to track your historical assets.

It assumes the following code folder structure:

.github/workflows/main.yml # GitHub Actions CI/CD configuration file
${package_name}/
${package_name}/__init__.py
${package_name}/*.py
docs/
docs/source # documentation source folder
docs/source/conf.py # sphinx doc configuration file
tests/ # unit test folder
bin/ # development workflow automation scripts
bin/pywf.py
bin/s01_....py
bin/s02_....py
bin/...
Makefile # makefile for automation
.coveragerc # code coverage test configuration file
codecov.yml # code coverage CI rules configuration file
.readthedocs.yml # readthedocs.org configuration file
pyproject.toml # Python project configuration file, no setup.py

Project Maintainer Note

This project follows the best practice mentioned in THIS DOCUMENT.

Install

pywf_open_source is released on PyPI, so all you need is to:

$ pip install pywf-open-source

To upgrade to latest version:

$ pip install --upgrade pywf-open-source

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

pywf_open_source-0.1.4.tar.gz (32.0 kB view details)

Uploaded Source

Built Distribution

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

pywf_open_source-0.1.4-py3-none-any.whl (42.1 kB view details)

Uploaded Python 3

File details

Details for the file pywf_open_source-0.1.4.tar.gz.

File metadata

  • Download URL: pywf_open_source-0.1.4.tar.gz
  • Upload date:
  • Size: 32.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.8

File hashes

Hashes for pywf_open_source-0.1.4.tar.gz
Algorithm Hash digest
SHA256 8c561aeba8d026ee3b8d11068a56b993b7c0b0029b1f7d4a4ae89992b137864f
MD5 45894738d5f8a4982759d25735a21722
BLAKE2b-256 43f9e1cf823ba0d350152ec81d444448c22b1289ecf87825108dcec239dfe8f2

See more details on using hashes here.

File details

Details for the file pywf_open_source-0.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for pywf_open_source-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 b03501aca79399eba43199597761347350f57ec090069e5d0b1c155b60181e04
MD5 46f36f269a70a257d96b96a6c1d9a807
BLAKE2b-256 780fc7db199d6e773b5a8ef5c55463da4e47898ff0bad5b983103320aac3f76b

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