rstviewer is a simple program for editing a reStructuredText (RST) file. In fact, it’s being used to edit this file right now!
Usage
Executing
$ rstviewer file.rst
opens a new browser window containing an HTML representation of of file.rst. The browser window refreshes when file.rst is changed.
Options
By default, rstviewer runs in quiet mode – no logging messages are emitted, so as not to interfere with editing in the console. The option -v, which can be specified multiple times, increases the verbosity level.
Security
Practically nonexistent. The program creates an HTTP server which serves all files located in or beneath the directory containing file.rst. This is to facilitate the loading of images and other assets linked by the RST document. Although the server binds only to the local interface, this is still insecure. In short, do not use this program if you are concerned about security.
Requirements
Python 3.6+ and a browser which supports WebSockets. (The package has been tested only on Chrome and Safari, thus far.)
Inspiration
NPM package rst-live-preview, which I could not get running.
Metadata
Release files for rstviewer 0.0.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| rstviewer-0.0.8.tar.gz | 18.4 kB | Without provenance | Details for rstviewer-0.0.8.tar.gz |
Release files / rstviewer-0.0.8.tar.gz
| Download URL | rstviewer-0.0.8.tar.gz |
|---|---|
| Size | 18.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f6e6588ecd3ffc92c948c3f5963d541bf1c9301ab6bbaac64c22fef745febd7a
|
|
BLAKE2b-256 checksum How to use checksums |
1c24464d03ac8b157a98013a2dbadaf9d43ca701a0364c2b92f9430062c17895
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.9.1
|
Security for rstviewer 0.0.8
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.