Skip to main content

NWB Documentation Utilities

This project is under active development. Its content, API and behavior may change at any time. We mean it.

PyPI - License PyPI Build Status

Overview

This project is a collection of CLIs, scripts and modules useful to generate the NWB documentation.

Using nwb-docutils to generate documentation for an extension: http://pynwb.readthedocs.io/en/latest/extensions.html#documenting-extensions

Installation

pip install nwb-docutils

Available Tools

  • nwb_generate_format_docs: Generate figures and RST documents from the NWB YAML specification for the format specification documentation.

  • nwb_init_sphinx_extension_doc: Create format specification SPHINX documentation for an NWB extension.

  • nwb_gallery_prototype

Available Modules

  • nwb_docutils/doctools/*: This package contains modules used to generate figures of the hierarchies of NWB-N files and specifications as well as to help with the programmatic generation of reStructuredText (RST) documents.

Available Notebooks

History

nwb-utils was initially a sub-directory of the nwb-schema project. Corresponding history was extracted during the 4th NWB Hackathon into a dedicated pip-installable project to facilitate its use by both core NWB documentation projects and various NWB extensions.

maintainers: how to make a release ?

  1. Configure ~/.pypirc as described here.

  2. Make sure the cli and module work as expected.

  3. List all tags sorted by version

    $ git fetch --tags && \
      git tag -l | sort -V
  4. Choose the next release version number:

    release="X.Y.Z"
  5. Tag the release. Requires a GPG key with signatures

    git tag -s -m "nwb-docutils ${release}" ${release} origin/master

    And push

    git push origin ${release}
  6. Create the source tarball and binary wheels

    rm -rf dist/
    python setup.py sdist bdist_wheel
  7. Upload the packages to the testing PyPI instance

    twine upload --sign -r pypitest dist/*
  8. Check the PyPI testing package page.

  9. Upload the packages to the PyPI instance:

    twine upload --sign dist/*
  10. Check the PyPI package page.

  11. Create a virtual env, and make sure the package can be installed

    mkvirtualenv test-nwb-docutils-install
    pip install nwb-docutils
  12. Cleanup

    deactivate
    rmvirtualenv test-nwb-docutils-install

Release files for nwb-docutils 0.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nwb-docutils 0.3.1
File Size Uploaded
nwb_docutils-0.3.1.tar.gz 1.6 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for nwb-docutils 0.3.1
File Interpreter ABI Platform
nwb_docutils-0.3.1-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 3.2 MB

Release files / nwb_docutils-0.3.1.tar.gz

Download URL nwb_docutils-0.3.1.tar.gz
Size 1.6 MB
Tags Source
SHA-256 checksum
How to use checksums
97042b435c3ae4e6be960bdb753fb573814a1b6f17d1b992c6342a50d1fd8ef0
BLAKE2b-256 checksum
How to use checksums
035d78e5bdda09d3c6bfd80ab7c2607c6d57e32bf46b56da516bbad867538bdf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.7

Release files / nwb_docutils-0.3.1-py2.py3-none-any.whl

Download URL nwb_docutils-0.3.1-py2.py3-none-any.whl
Size 1.6 MB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
cfb1068dfefdf56a99eeca1a2d6246b01f941a7a2243b1af1856b7d8d22e2025
BLAKE2b-256 checksum
How to use checksums
1158901cef9624ff8ad1b93e37b099681aae14ceaea9d60ec7feebc0902526cd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.7

Release history Release notifications | RSS feed

This release

0.3.1 This release

2 release files

0.3.0

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page