Skip to main content

Package that allows you to manage the state of files and directories using YAML configuration files.

Project description

wexample-file

Version: 0.0.53

Package that allows you to manage the state of files and directories using YAML configuration files.

Table of Contents

Status & Compatibility

Maturity: Production-ready

Python Support: >=3.10

OS Support: Linux, macOS, Windows

Status: Actively maintained

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%.

Known Limitations & Roadmap

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

See the project roadmap for upcoming features and improvements.

Useful Links

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_file-0.0.53.tar.gz (9.2 kB view details)

Uploaded Source

Built Distribution

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

wexample_file-0.0.53-py3-none-any.whl (12.3 kB view details)

Uploaded Python 3

File details

Details for the file wexample_file-0.0.53.tar.gz.

File metadata

  • Download URL: wexample_file-0.0.53.tar.gz
  • Upload date:
  • Size: 9.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.25.9 CPython/3.12.3 Linux/6.8.0-101-generic

File hashes

Hashes for wexample_file-0.0.53.tar.gz
Algorithm Hash digest
SHA256 4169509048259cabb7c3698a5643c41ea20d705989419e783e900146857828d4
MD5 52a1e6c6e6e92d873974f68c7cc050cf
BLAKE2b-256 1c6b9eed921c5cac10207f77e1a801feaa32c95d1e2e99762aceca6f914fb0fd

See more details on using hashes here.

File details

Details for the file wexample_file-0.0.53-py3-none-any.whl.

File metadata

  • Download URL: wexample_file-0.0.53-py3-none-any.whl
  • Upload date:
  • Size: 12.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.25.9 CPython/3.12.3 Linux/6.8.0-101-generic

File hashes

Hashes for wexample_file-0.0.53-py3-none-any.whl
Algorithm Hash digest
SHA256 0c783bac7f7fff82a08f87bb19677f5f8196e79bec4367513692c24f0905e4ea
MD5 da6e6a431cdfca0cf9e7c8b16d539289
BLAKE2b-256 9995e610ca1e2aefc43dfd9d409a413f101ffda7bd3de71de52b38494258cb67

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