Skip to main content

CLI tool for validating zipschema files and generating documentation.

Project description

Zipschema

Zipschema is a CLI tool for validating zipschema YAML files, validating ZIP file contents against these schemas, and generating documentation (Markdown or AsciiDoc).

Zipschema was written in order to allow for validation of "meta formats" which use the zip file as a container. While mostly these are loosely defined, this Zipschema was created to allow for validation of those files, and the files they contain.

Features

  • Schema Validation: Validate the structure of your zipschema YAML file.
  • ZIP Validation: Validate the contents of a ZIP file against a zipschema.
  • Documentation Generation: Generate Markdown or AsciiDoc documentation from a zipschema.

Installation

To install zipschema, run:

pip install zipschema

Usage

Validate a zipschema YAML file:

zipschema validate-schema path/to/zipschema.yaml

Validate a ZIP file against a zipschema:

zipschema validate-zip path/to/zipschema.yaml path/to/zipfile.zip

Generate documentation from a zipschema:

zipschema generate-docs path/to/zipschema.yaml --format markdown

License

This project is licensed under the MIT License.

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

zipschema-0.1.0.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

zipschema-0.1.0-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file zipschema-0.1.0.tar.gz.

File metadata

  • Download URL: zipschema-0.1.0.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.4

File hashes

Hashes for zipschema-0.1.0.tar.gz
Algorithm Hash digest
SHA256 08d20c82d4d831bd7a029fbdeca2c0db0a30de5d51c08045095a9e1201cc7c7b
MD5 d07ead15d5bcc613ecc53d928d1abb6e
BLAKE2b-256 c7e2e89a1a92d624fe5cd6f88bd725bdda41a4d92dc6f3a94de784a9d770aae9

See more details on using hashes here.

Provenance

File details

Details for the file zipschema-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: zipschema-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.4

File hashes

Hashes for zipschema-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 af3f7bb53553c4a921963874d19970b49174a5dc368b99dfe153fd26dea0d784
MD5 84029a9cb7146b6d14e11bff705a93d4
BLAKE2b-256 f2c048f41b21467db7eb993b623145b032916dd4b364c90e30b3d0173a2e978c

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page