A validation package for Hatch packages and dependencies.
- Package Validation: Validate Hatch packages against schema specifications
- Dependency Resolution: Resolve and validate package dependencies
- Schema Management: Automatically fetch and manage schema versions
# 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-Validatorfrom 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)We welcome contributions! Please see our Contributing Guide for details.
- 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
We use Conventional Commits for automated versioning:
feat: add new feature
fix: resolve bug
docs: update documentation
test: add tests
chore: maintenance tasksUse npm run commit for guided commit messages.
For detailed guidelines, see CONTRIBUTING.md.
AGPL v3: see file