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
- Fork and clone the repository
- Install dependencies:
pip install -e .andnpm install - Create a feature branch:
git checkout -b feat/your-feature - Make changes and add tests
- Use conventional commits:
npm run commitfor guided commits - 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
Metadata
Release files for hatch-validator 0.9.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| hatch_validator-0.9.1.tar.gz | 440.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| hatch_validator-0.9.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 952.0 kB
Release files / hatch_validator-0.9.1.tar.gz
| Download URL | hatch_validator-0.9.1.tar.gz |
|---|---|
| Size | 440.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2fdc409791f8a14b2007e8af617a1ec2bfa9ceb7f390f451c7b174cb219fbe24
|
|
BLAKE2b-256 checksum How to use checksums |
ce39ccc40a2f538ee3a3c11ef3ab19f3ee9f24a3de5dab89c6a53fa120f2745a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 15, 2026.
Transparency logRelease files / hatch_validator-0.9.1-py3-none-any.whl
| Download URL | hatch_validator-0.9.1-py3-none-any.whl |
|---|---|
| Size | 511.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
56fcce208c06a65b648a0345931a80cf49213992afc7aa869ea399854a65cf6c
|
|
BLAKE2b-256 checksum How to use checksums |
c06de39a63356412d4222b5c7628dfa68a15828299a8c57d45898265f018bf30
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 15, 2026.
Transparency log