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-1.0.8.tar.gz (8.0 kB view details)

Uploaded Source

Built Distribution

zipschema-1.0.8-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for zipschema-1.0.8.tar.gz
Algorithm Hash digest
SHA256 b332a161a8760494f6c1b23e62bba6062336fcea61896cc6072fb55159483d93
MD5 9b9c0b96cb77989e5500dc01c9828533
BLAKE2b-256 1d2b77106ff2aeb41aa192a4cbaa4a3fb0580a643e7ca48a2007d7469dfdf5f9

See more details on using hashes here.

Provenance

File details

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

File metadata

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

File hashes

Hashes for zipschema-1.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 18eeb1007cdb651f7c471c42da981a5d054683ac78994caffd8fae9c7c390482
MD5 d15d35ff10d7b2f71af421b8f5c34c06
BLAKE2b-256 da2551594223715a324199f79a0ac2fe7ed69ec511a9449cd57ecfb0d5cbd970

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