Skip to main content

Some python basic helpers for git.

Project description

wexample-helpers-git

Version: 0.0.94

Some python basic helpers for git.

Table of Contents

Status & Compatibility

Maturity: Production-ready

Python Support: >=3.10

OS Support: Linux, macOS, Windows

Status: Actively maintained

API Reference

Full API documentation is available in the source code docstrings.

Key modules and classes are documented with type hints for better IDE support.

Tests

This project uses pytest for testing and pytest-cov for code coverage analysis.

Installation

First, install the required testing dependencies:

.venv/bin/python -m pip install pytest pytest-cov

Basic Usage

Run all tests with coverage:

.venv/bin/python -m pytest --cov --cov-report=html

Common Commands

# Run tests with coverage for a specific module
.venv/bin/python -m pytest --cov=your_module

# Show which lines are not covered
.venv/bin/python -m pytest --cov=your_module --cov-report=term-missing

# Generate an HTML coverage report
.venv/bin/python -m pytest --cov=your_module --cov-report=html

# Combine terminal and HTML reports
.venv/bin/python -m pytest --cov=your_module --cov-report=term-missing --cov-report=html

# Run specific test file with coverage
.venv/bin/python -m pytest tests/test_file.py --cov=your_module --cov-report=term-missing

Viewing HTML Reports

After generating an HTML report, open htmlcov/index.html in your browser to view detailed line-by-line coverage information.

Coverage Threshold

To enforce a minimum coverage percentage:

.venv/bin/python -m pytest --cov=your_module --cov-fail-under=80

This will cause the test suite to fail if coverage drops below 80%.

Code Quality & Typing

All the suite packages follow strict quality standards:

  • Type hints: Full type coverage with mypy validation
  • Code formatting: Enforced with black and isort
  • Linting: Comprehensive checks with custom scripts and tools
  • Testing: High test coverage requirements

These standards ensure reliability and maintainability across the suite.

Versioning & Compatibility Policy

Wexample packages follow Semantic Versioning (SemVer):

  • MAJOR: Breaking changes
  • MINOR: New features, backward compatible
  • PATCH: Bug fixes, backward compatible

We maintain backward compatibility within major versions and provide clear migration guides for breaking changes.

Changelog

See CHANGELOG.md for detailed version history and release notes.

Major changes are documented with migration guides when applicable.

Migration Notes

When upgrading between major versions, refer to the migration guides in the documentation.

Breaking changes are clearly documented with upgrade paths and examples.

Known Limitations & Roadmap

Current limitations and planned features are tracked in the GitHub issues.

See the project roadmap for upcoming features and improvements.

Security Policy

Reporting Vulnerabilities

If you discover a security vulnerability, please email contact@wexample.com.

Do not open public issues for security vulnerabilities.

We take security seriously and will respond promptly to verified reports.

Privacy & Telemetry

This package does not collect any telemetry or usage data.

Your privacy is respected — no data is transmitted to external services.

Support Channels

  • GitHub Issues: Bug reports and feature requests
  • GitHub Discussions: Questions and community support
  • Documentation: Comprehensive guides and API reference
  • Email: contact@wexample.com for general inquiries

Community support is available through GitHub Discussions.

Contribution Guidelines

We welcome contributions to the Wexample suite!

How to Contribute

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Test thoroughly
  5. Submit a pull request

Maintainers & Authors

Maintained by the Wexample team and community contributors.

See CONTRIBUTORS.md for the full list of contributors.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Free to use in both personal and commercial projects.

Useful Links

Integration in the Suite

This package is part of the Wexample Suite — a collection of high-quality Python packages designed to work seamlessly together.

Related Packages

The suite includes packages for configuration management, file handling, prompts, and more. Each package can be used independently or as part of the integrated suite.

Visit the Wexample Suite documentation for the complete package ecosystem.

Compatibility Matrix

This package is part of the Wexample suite and is compatible with other suite packages.

Refer to each package's documentation for specific version compatibility requirements.

Dependencies

  • attrs: >=23.1.0
  • cattrs: >=23.1.0
  • gitpython:
  • wexample-helpers: ==0.0.86

About us

Wexample stands as a cornerstone of the digital ecosystem — a collective of seasoned engineers, researchers, and creators driven by a relentless pursuit of technological excellence. More than a media platform, it has grown into a vibrant community where innovation meets craftsmanship, and where every line of code reflects a commitment to clarity, durability, and shared intelligence.

This packages suite embodies this spirit. Trusted by professionals and enthusiasts alike, it delivers a consistent, high-quality foundation for modern development — open, elegant, and battle-tested. Its reputation is built on years of collaboration, refinement, and rigorous attention to detail, making it a natural choice for those who demand both robustness and beauty in their tools.

Wexample cultivates a culture of mastery. Each package, each contribution carries the mark of a community that values precision, ethics, and innovation — a community proud to shape the future of digital craftsmanship.

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

wexample_helpers_git-0.0.94.tar.gz (10.7 kB view details)

Uploaded Source

Built Distribution

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

wexample_helpers_git-0.0.94-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

Details for the file wexample_helpers_git-0.0.94.tar.gz.

File metadata

  • Download URL: wexample_helpers_git-0.0.94.tar.gz
  • Upload date:
  • Size: 10.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.25.9 CPython/3.12.3 Linux/6.8.0-88-generic

File hashes

Hashes for wexample_helpers_git-0.0.94.tar.gz
Algorithm Hash digest
SHA256 8928f4d44c86076c239b881b591f6cfe98d5fa3265854895b0fd9b486c94806e
MD5 0a9facb2910630dfca0e08ba475e1d99
BLAKE2b-256 5b5aca19bc693bc2eaa273da21f32d47080301fdc5a01e4cc272a9acda1d9c1d

See more details on using hashes here.

File details

Details for the file wexample_helpers_git-0.0.94-py3-none-any.whl.

File metadata

File hashes

Hashes for wexample_helpers_git-0.0.94-py3-none-any.whl
Algorithm Hash digest
SHA256 735d67c23a25c65e5237d32f08afcb58ac011454f8510b0fe4aad618f2da9ac4
MD5 32b0791b6ebc6aa8df4d56a9786b9b8e
BLAKE2b-256 f8c962f44eaf7b834dc5692b7127d861572ef785506c35593733aa3c840e4f07

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