Skip to main content

No project description provided

Project description

Content CLI Tools

Installation

$ pip3 install dw-content-tools

Module Repository Validator

Validates that a module repo structure and content is valid, based
on the following rules:

* metadata.yml exists
* metadata.yml is valid
    * validate JSON schema
* docker-compose.yml exists
* docker-compose.yml is valid
    * validate JSON schema
* english.md exists
* validating english.md:
    * pages:
        * unique IDs
        * all pages contain a valid ID
        * all pages have a name
    * all images referenced in md exist as static files
    * activities:
        * all activities have an unique `id`
        * all activities have `type` defined
        * input:
            * has required `correct-answer` tag
        * multiple-choice:
            * has required `answer` (many) tags
            * at least one answer is marked as `is-correct`
            * when more than one answer is correct, `widget` has to be `checkbox`
        * code:
            * `template` and `device` attrs are defined
            * has required `validation-code` tag

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

dw_content_tools-0.8.1.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

dw_content_tools-0.8.1-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file dw_content_tools-0.8.1.tar.gz.

File metadata

  • Download URL: dw_content_tools-0.8.1.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.8.0 Darwin/23.6.0

File hashes

Hashes for dw_content_tools-0.8.1.tar.gz
Algorithm Hash digest
SHA256 f19ced6ad396b59f40e77a85d016f5eadfe081c07bf8cd66afe8f1358ad8a56c
MD5 27d9ed6e12bb7411f79d3621a4286fcb
BLAKE2b-256 71a9524e76542faadc2429fe635b3bf7749aa4ce6d2f6ccc864611c4cfee8b45

See more details on using hashes here.

File details

Details for the file dw_content_tools-0.8.1-py3-none-any.whl.

File metadata

File hashes

Hashes for dw_content_tools-0.8.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5082065be1a94eaccffe49626aaf0e65abe90c661daed2d0ca5d4e32ee6dfa56
MD5 9fde5846c12fa5171ceb5f0c18c1e803
BLAKE2b-256 92ea03862e2d8de2f8ae1300af36687f6e372643c647bbb33845fa10b0041442

See more details on using hashes here.

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