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
- 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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file hatch_validator-0.9.1.dev1.tar.gz.
File metadata
- Download URL: hatch_validator-0.9.1.dev1.tar.gz
- Upload date:
- Size: 441.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1506b58c61664e0abe4a69a6278cf799967a29a7648501904cf077dcd26d0815
|
|
| MD5 |
33b1918f25e4a7024e4285f3a4b84f23
|
|
| BLAKE2b-256 |
13797d1926a964b55013641bac1f3240a33db9be76942d2a5d40898043a64384
|
Provenance
The following attestation bundles were made for hatch_validator-0.9.1.dev1.tar.gz:
Publisher:
semantic-release.yml on CrackingShells/Hatch-Validator
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
hatch_validator-0.9.1.dev1.tar.gz -
Subject digest:
1506b58c61664e0abe4a69a6278cf799967a29a7648501904cf077dcd26d0815 - Sigstore transparency entry: 1311790980
- Sigstore integration time:
-
Permalink:
CrackingShells/Hatch-Validator@fdfb0f9324c3ee7ff7b9e09c00ee338cb98c29c4 -
Branch / Tag:
refs/heads/dev - Owner: https://github.com/CrackingShells
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
semantic-release.yml@fdfb0f9324c3ee7ff7b9e09c00ee338cb98c29c4 -
Trigger Event:
push
-
Statement type:
File details
Details for the file hatch_validator-0.9.1.dev1-py3-none-any.whl.
File metadata
- Download URL: hatch_validator-0.9.1.dev1-py3-none-any.whl
- Upload date:
- Size: 511.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a3f1b45ce44257bfa27b3927838384895159f45f3f5eea15086d21666b211219
|
|
| MD5 |
2e9b16eb72a5732c697f420047aaa377
|
|
| BLAKE2b-256 |
ac458abcb3ebbc85b2de0bdc80f5db9c004e9735965e978fc70f073a6e75cf64
|
Provenance
The following attestation bundles were made for hatch_validator-0.9.1.dev1-py3-none-any.whl:
Publisher:
semantic-release.yml on CrackingShells/Hatch-Validator
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
hatch_validator-0.9.1.dev1-py3-none-any.whl -
Subject digest:
a3f1b45ce44257bfa27b3927838384895159f45f3f5eea15086d21666b211219 - Sigstore transparency entry: 1311791083
- Sigstore integration time:
-
Permalink:
CrackingShells/Hatch-Validator@fdfb0f9324c3ee7ff7b9e09c00ee338cb98c29c4 -
Branch / Tag:
refs/heads/dev - Owner: https://github.com/CrackingShells
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
semantic-release.yml@fdfb0f9324c3ee7ff7b9e09c00ee338cb98c29c4 -
Trigger Event:
push
-
Statement type: