This module defines BBcode parsers, including HTML rendering, for Planète Casio.
For example, as described in Rendering BBCode as HTML, in order to render BBCode into HTML, you can use the following snippet:
from __future__ import annotations
from textoutpc import render_as_html
text = """\
[img=center]https://www.planet-casio.com/assets/img/logo.png[/img]
Hello [color=R10]world[/color]!
[list]
[li]This module is made by [url=https://thomas.touhey.fr/]me[/url]!
[li]Use `render_as_html()` to translate magically to HTML!
[/]
"""
print(render_as_html(text), end="")
The project is present at the following locations:
Metadata
Release files for textoutpc 0.3
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 |
|---|---|---|---|---|
| textoutpc-0.3.tar.gz | 36.2 kB | Without provenance | Details for textoutpc-0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| textoutpc-0.3-py3-none-any.whl | Python 3 | none | any | Details for textoutpc-0.3-py3-none-any.whl |
Total release size: 82.6 kB
Release files / textoutpc-0.3.tar.gz
| Download URL | textoutpc-0.3.tar.gz |
|---|---|
| Size | 36.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fc498470532329f0454ce9355985942df0832210c505df9e250c26c272163048
|
|
BLAKE2b-256 checksum How to use checksums |
9279733f0268900fa316fbc35c436b0a1a0f6a9412b568782c4c8e27490d92bf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.9.22
|
Release files / textoutpc-0.3-py3-none-any.whl
| Download URL | textoutpc-0.3-py3-none-any.whl |
|---|---|
| Size | 46.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5dea119913d1a9ae3b9c18e17c5463672a4794a0cae24dcea57c0e440241f0a1
|
|
BLAKE2b-256 checksum How to use checksums |
98c859ddedc9d5e654b485a8b196e3bce08622c8c628d52393c1b672c89eef37
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.9.22
|
Security for textoutpc 0.3
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.