Skip to main content

Gemini Lexer for Pygments

This package contains a Gemini lexer for Pygments.

from pygments import highlight
from pygments.formatters import HtmlFormatter
from pygments_gemini import GeminiLexer

source = '''
# Hello World

=> gemini://gemini.circumlunar.space
'''

lexer = GeminiLexer()
formatter = HtmlFormatter(linenos='table', cssclass='highlight')
result = highlight(source, lexer, formatter)

print(result)

Metadata

Release files for pygments-gemini 0.1.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 pygments-gemini 0.1.0
File Size Uploaded Provenance Actions
pygments-gemini-0.1.0.tar.gz 2.5 kB Without provenance Details for pygments-gemini-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pygments-gemini 0.1.0
File Interpreter ABI Platform Actions
pygments_gemini-0.1.0-py3-none-any.whl Python 3 none any Details for pygments_gemini-0.1.0-py3-none-any.whl

Total release size: 5.4 kB

Release files / pygments-gemini-0.1.0.tar.gz

Download URL pygments-gemini-0.1.0.tar.gz
Size 2.5 kB
Tags Source
SHA-256 checksum
How to use checksums
4bf2062e3dfb05e07d580fe169e4612be86b7f2dba6db3b647b2d5284395eed7
BLAKE2b-256 checksum
How to use checksums
6a8d5f63fda38ba408698a2eb35a97900e719f5ba95ca8edaf871ed297be9f45
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.6 CPython/3.9.4 Linux/5.12.1-arch1-1

Release files / pygments_gemini-0.1.0-py3-none-any.whl

Download URL pygments_gemini-0.1.0-py3-none-any.whl
Size 2.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5140c11379dd14464415b7c306d9d1cb664f505edd750c559d0123bdddab33df
BLAKE2b-256 checksum
How to use checksums
a45c2ab904154db7ef3d2efce6035f03b034038da1e88499a68f7f0f350b5454
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.6 CPython/3.9.4 Linux/5.12.1-arch1-1

Security for pygments-gemini 0.1.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.

Release history Release notifications | RSS feed

This release

0.1.0 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