Skip to main content

🐍 Just a template of Python project be managed by UV.

Project description

Your lib name

Overview

🚧 Clear brief of your lib

Python versions support

🚧 The required Python versions of this library

[![Supported Versions](https://img.shields.io/pypi/pyversions/.svg?logo=python&logoColor=FBE072)](https://pypi.org/project/)

Quickly Start

🚧 The details of quickly start as simple demonstration for users

Documentation

🚧 The details of documentation ...

Reusable GitHub Actions Workflows & Actions

This template provides a comprehensive set of reusable GitHub Actions workflows and actions that can be called from other repositories to standardize CI/CD operations. Projects using this template can leverage these centralized components for consistent automation.

🚀 Key Features

  • Centralized Management: All workflows and actions are maintained in this template repository
  • Standardized Operations: Consistent CI/CD processes across all projects
  • Easy Integration: Simple calls using external repository references
  • Comprehensive Coverage: Testing, building, releasing, Docker operations, documentation, and setup utilities

📋 Available Workflows

Workflow Purpose Key Features
rw_build_and_test.yaml Run comprehensive test suite Unit, integration, e2e, contract tests
rw_run_all_test_and_record.yaml Complete CI with reporting CodeCov upload, SonarCloud analysis
rw_python_package.yaml Python package operations Build, test, publish to PyPI
rw_docker_operations.yaml Docker operations Build, test, push, security scanning
rw_parse_release_intent.yaml Release configuration parser Determines release components
rw_build_git-tag_and_create_github-release_v2.yaml Git tagging and releases Automated version management
rw_docs_operations.yaml Documentation operations Build, version, deploy docs

📦 Available Actions

Action Purpose Key Features
setup-python-uv Python & UV setup with dependencies Multi-version support, intelligent caching, flexible dependency groups

🔧 Quick Start

To use these reusable workflows in your project, simply call them using external repository references:

# .github/workflows/ci.yaml in your project
name: CI
on:
  push:
    branches: [main]
  pull_request:
    branches: [main]

jobs:
  test:
    uses: Chisanan232/Template-Python-UV-Project/.github/workflows/rw_run_all_test_and_record.yaml@master
    secrets:
      codecov_token: ${{ secrets.CODECOV_TOKEN }}
      sonar_token: ${{ secrets.SONAR_TOKEN }}

📚 Complete Documentation

  • Reusable Workflows Guide: Complete documentation with all inputs, outputs, and usage examples
  • Example Workflows: Ready-to-use example workflows for common scenarios
  • Template Placeholders: All workflows use <your_*> placeholders for easy customization

💡 Benefits for Projects Using This Template

  1. Reduced Boilerplate: No need to write complex CI/CD workflows from scratch
  2. Best Practices: Workflows follow established patterns and security practices
  3. Automatic Updates: Bug fixes and improvements are centrally maintained
  4. Consistency: Same workflow behavior across all projects using the template
  5. Easy Maintenance: Update workflows in one place, benefits all projects

Coding style and following rules

follows coding styles black and PyLint to control code quality.

Code style: black linting: pylint

Downloading state

🚧 The download state for your library

[![Downloads](https://pepy.tech/badge/)](https://pepy.tech/project/) [![Downloads](https://pepy.tech/badge//month)](https://pepy.tech/project/)

License

MIT License

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

test_python_uv_project_template-0.0.3.tar.gz (11.7 kB view details)

Uploaded Source

Built Distribution

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

test_python_uv_project_template-0.0.3-py3-none-any.whl (17.2 kB view details)

Uploaded Python 3

File details

Details for the file test_python_uv_project_template-0.0.3.tar.gz.

File metadata

File hashes

Hashes for test_python_uv_project_template-0.0.3.tar.gz
Algorithm Hash digest
SHA256 0872b8d51dae9cda4d0759424c640975340e476845c327f35f6afc4e6cb39077
MD5 daf94e95a37ec8b0dc9de1eb623315e2
BLAKE2b-256 98ac40020e50989fbe1c48a44b3c4aa3f2862d1e168d2ae50c970d6a4a243642

See more details on using hashes here.

File details

Details for the file test_python_uv_project_template-0.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for test_python_uv_project_template-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 fcb158f178cfcada806936c6e32076d76471411c2120fd275cea66465e21dbb2
MD5 1ee5c0a1a42391b94bcf205de50126f6
BLAKE2b-256 95294bd30d1dad3c784825e8d344e9f4a884b05e8888f52fde933ed87c213dc4

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