Skip to main content

Package validator for Hatch packages

Project description

Hatch-Validator

A validation package for Hatch packages and dependencies.

Features

  • Package Validation: Validate Hatch packages against schema specifications
  • Dependency Resolution: Resolve and validate package dependencies
  • Schema Management: Automatically fetch and manage schema versions

Installation

From Source

# Install directly from the repository
pip install git+https://github.com/CrackingShells/Hatch-Validator.git

# Or install local copy
git clone https://github.com/CrackingShells/Hatch-Validator.git
cd Hatch-Validator
pip install /path/to/Hatch-Validator

Usage

from hatch_validator import HatchPackageValidator, DependencyResolver

# Initialize validator
validator = HatchPackageValidator()

# Validate a package
is_valid, results = validator.validate_package('/path/to/package')
if is_valid:
    print("Package is valid!")
else:
    print("Validation errors:", results)

# Initialize dependency resolver
resolver = DependencyResolver()

# Check for missing dependencies
missing_deps = resolver.get_missing_hatch_dependencies(dependencies)

Contributing

We welcome contributions! Please see our Contributing Guide for details.

Quick Start

  1. Fork and clone the repository
  2. Install dependencies: pip install -e . and npm install
  3. Create a feature branch: git checkout -b feat/your-feature
  4. Make changes and add tests
  5. Use conventional commits: npm run commit for guided commits
  6. Create a pull request

Commit Messages

We use Conventional Commits for automated versioning:

feat: add new feature
fix: resolve bug
docs: update documentation
test: add tests
chore: maintenance tasks

Use npm run commit for guided commit messages.

For detailed guidelines, see CONTRIBUTING.md.

License

AGPL v3: see file

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

hatch_validator-0.9.0.tar.gz (440.8 kB view details)

Uploaded Source

Built Distribution

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

hatch_validator-0.9.0-py3-none-any.whl (511.0 kB view details)

Uploaded Python 3

File details

Details for the file hatch_validator-0.9.0.tar.gz.

File metadata

  • Download URL: hatch_validator-0.9.0.tar.gz
  • Upload date:
  • Size: 440.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for hatch_validator-0.9.0.tar.gz
Algorithm Hash digest
SHA256 817dbe9c4910c7d493b7e9b2fd9ae253ca0a01a86343d5e052f105c101776b8b
MD5 80d01223a3fcbfe0820b82b1e79b7f5f
BLAKE2b-256 f72e6c49e0d77982cb17a914381f80706381d49ab7d7fad54104c8c47d51918d

See more details on using hashes here.

Provenance

The following attestation bundles were made for hatch_validator-0.9.0.tar.gz:

Publisher: semantic-release.yml on CrackingShells/Hatch-Validator

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file hatch_validator-0.9.0-py3-none-any.whl.

File metadata

  • Download URL: hatch_validator-0.9.0-py3-none-any.whl
  • Upload date:
  • Size: 511.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for hatch_validator-0.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e4308480eb09d3ee512520f4b4e68dae2b473e682ac7e7359f1c8fda7e03e8b6
MD5 eb2244016dd71bb040c798effbf1e11b
BLAKE2b-256 cd7a5258a4781db6d4c8e8a3b7bfdfc231405ebbb17517314c4ff37b929f84cb

See more details on using hashes here.

Provenance

The following attestation bundles were made for hatch_validator-0.9.0-py3-none-any.whl:

Publisher: semantic-release.yml on CrackingShells/Hatch-Validator

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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