Skip to main content

Table of Contents

  1. Introduction
  2. Getting Started with moinconvert
  3. Test Suite
  4. Contact, Copyright and Licence Information

Introduction

MoinLight is a distribution of libraries and tools for interpreting document content in the MoinMoin wiki format together with other formats employed in wiki content.

MoinLight consists of a Python module called moinformat and a Python script moinconvert. For documentation on the moinformat module, check the doc/ directory of the source distribution.

To add moinlight to your project, you can

pip install moinlight

or (better)

uv add moinlight

This will allow import access to the moinformat package from your Python programs.

Getting Started with moinconvert

The moinconvert tool provides a convenient way of converting content from Moin format to other formats. For example, the supplied documentation can be converted as follows:

./moinconvert --input-dir docs/wiki \
              --output-dir docs/html \
              --root MoinLight \
              --document-index index.html \
              --theme mercurial \
              --macros --all

This converts all documents in the indicated input directory to HTML format, storing the converted documents in the indicated output directory, evaluating all macros embedded in the input documents. A document index filename is specified for filesystem browsing of the output documents.

The result of the above command is a collection of documents in docs/html that can be viewed using a Web browser, with the docs/html/index.html file being the front page of this collection. These documents do not need to be served using a Web browser.

By omitting the --document-index option (and accompanying filename), a version of the documents can be produced that is more appropriate for serving by a Web browser, featuring links that do not include the index.html filename.

See the bundled documentation for more details of the software and how it can be used:

  • docs/wiki/MoinLight (and accompanying files) are the documentation files in Moin format
  • docs/html/index.html is the front page of the documentation converted to HTML format

A more convenient way of generating the documentation is to use the following command:

./makedoc.py

For Web server deployment, add the --web option for cleaner links:

docs/tools/make_docs.sh --web

Test Suite

A test suite is provided to exercise the toolchain and expose regressions. More information is available by running the test_parser.py script (found in the tests directory) with the appropriate option:

tests/test_parser.py --help

Running it with the --quiet option provides a quick way of verifying the tested behaviour of the software.

Contact, Copyright and Licence Information

See the following Web pages for more information about this work:

http://projects.boddie.org.uk/MoinLight

The author can be contacted at the following e-mail address:

paul@boddie.org.uk

Copyright and licence information can be found in the docs directory - see docs/COPYING.txt and docs/gpl-3.0.txt for more information.

Metadata

Release files for moinlight 0.4.6

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

Source distribution (sdist)

Source distribution for moinlight 0.4.6
File Size Uploaded Provenance Actions
moinlight-0.4.6.tar.gz 88.6 kB Without provenance Details for moinlight-0.4.6.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for moinlight 0.4.6
File Interpreter ABI Platform Actions
moinlight-0.4.6-py3-none-any.whl Python 3 none any Details for moinlight-0.4.6-py3-none-any.whl

Total release size: 254.8 kB

Release files / moinlight-0.4.6.tar.gz

Download URL moinlight-0.4.6.tar.gz
Size 88.6 kB
Tags Source
SHA-256 checksum
How to use checksums
5518d9138156aa4b368cd0039e8d7f69b4630852ae1877fe224247f71cea574f
BLAKE2b-256 checksum
How to use checksums
87ba7ea25e7f4c8374e4f58b07b41cc7d31480211e17da41d0d0d7f84df88887
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"LMDE","version":"7","id":"gigi","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / moinlight-0.4.6-py3-none-any.whl

Download URL moinlight-0.4.6-py3-none-any.whl
Size 166.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d1a12ccd9ccfca4230b4e5ebd32cb99eaf5f8a9fb6794b98fcca9b720c1a92c9
BLAKE2b-256 checksum
How to use checksums
3046d3fe96ab263ec0b17cb029e054348a137df196e5b2b51bb764f3badf0538
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"LMDE","version":"7","id":"gigi","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for moinlight 0.4.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.4.6 This release

2 release files No provenance

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