Skip to main content

NoComment

Comment any resource on the web!

Install

NoComment is available on PyPI under the name no-comment. To install, just run python -m pip install no-comment.

Configure

NoComment is configured using environment variables. See the settings module for a comprehensive list of configuration variables.

All the variable names must be prefixed with NO_COMMENT_. For instance :

# The secret can be generated using the `secrets.token_hex()` function.
$ export NO_COMMENT_SECRET_KEY="XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"

# Additional Python database drivers might be required depending on the DSN.
$ export NO_COMMENT_DSN="sqlite:///data.sqlite"

Authentication

TOTP authentication is provided to be able to login on servers that do not (yet) support the cryptography module. You must install extra dependencies (no-comment[totp]) and enable it explicitly by setting a base32 random secret:

# The secret can be generated using the `pyotp.random_base32()` function.
$ export NO_COMMENT_TOTP_SECRET=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Note that it is a highly insecure way of authenticating, as anyone gaining access to your OTP generator would be able to login.

Initialise

Once configured, you must initialise NoComment's database with the dedicated command:

$ no-comment init-db

Run

NoComment being a Flask application, it can be run using any WSGI server, for instance, with Gunicorn:

$ gunicorn --access-logfile="-" -w 4 -b 127.0.0.1:3000 "no_comment.configuration.wsgi:app()"

You can now access the service at http://127.0.0.1:3000/MY_STREAM_NAME.

Contributing

See CONTRIBUTING.md to set up a development environment.

Metadata

Release files for no-comment 0.2.0

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

Source distribution (sdist)

Source distribution for no-comment 0.2.0
File Size Uploaded Provenance Actions
no_comment-0.2.0.tar.gz 106.0 kB Without provenance Details for no_comment-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for no-comment 0.2.0
File Interpreter ABI Platform Actions
no_comment-0.2.0-py3-none-any.whl Python 3 none any Details for no_comment-0.2.0-py3-none-any.whl

Total release size: 244.9 kB

Release files / no_comment-0.2.0.tar.gz

Download URL no_comment-0.2.0.tar.gz
Size 106.0 kB
Tags Source
SHA-256 checksum
How to use checksums
96d7b6d834750c3d8dbbb6d770dabd7c1616ff667d1f3d3cd480d3769f255067
BLAKE2b-256 checksum
How to use checksums
13f83f034c32487d025a3cca9ae626bef98568b695f53c0bd871f310e9caafed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.10.7 Linux/6.6.17-gnu

Release files / no_comment-0.2.0-py3-none-any.whl

Download URL no_comment-0.2.0-py3-none-any.whl
Size 138.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
80f22fd6351eeac9f49e14728d0c05e76e997c1b11eb7f8040dbcc3a765e14db
BLAKE2b-256 checksum
How to use checksums
2e942f9387c7da4a0d0e193a92ab6d8a91096694a854f85d0963f3be1ced614a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.10.7 Linux/6.6.17-gnu

Security for no-comment 0.2.0

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.

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