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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

zipschema-1.0.12-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: zipschema-1.0.12.tar.gz
  • Upload date:
  • Size: 8.2 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.12.tar.gz
Algorithm Hash digest
SHA256 dd370fdc4774a0e78cbc6c1d212c5eff116467e84d7a36fff73db192a82419db
MD5 79168fabc17f0ccbef1681040486aff2
BLAKE2b-256 085a2f294376a20f919f9629fa3798a3bfb1dfd52adc5175aec2bc7c030c6b21

See more details on using hashes here.

File details

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

File metadata

  • Download URL: zipschema-1.0.12-py3-none-any.whl
  • Upload date:
  • Size: 8.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-1.0.12-py3-none-any.whl
Algorithm Hash digest
SHA256 1becfa563c6094b99bc2af6a7f0924dd694c09521840f06195fe9850990ecb99
MD5 259285449999239ddd972e5638577f6f
BLAKE2b-256 be0fe820a71aaf0d133d8c7137cf756a7ef05ebb2c4f7eef1d8280596548d9b4

See more details on using hashes here.

Supported by

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