Skip to main content

Community-Project

PyPI - Supported versions PyPI - Package version PyPI - Downloads PyPI - MIT License

Codacy Badge Codacy Badge pipeline status

Pygments SB NRQL

New Relic Query Language (NRQL) lexer for Pygments built by Dynova.

NRQL is a SQL-like query language you can use to query your data in New Relic. This is a Python package that provides a lexer for Pygments to highlight NRQL queries.

Requirements

  • Python 3.9.0 or higher

Install

Install from PyPI

pip install pygments-sb-nrql

Usage

Just install and create markdown blocks with the language nrql to get a highlighted code block.

```nrql
-- Example NRQL query
FROM
    Log
WITH
    numeric(http.statusCode) AS `sb.statusCode`,
    numeric(timespan) * 1000 AS `sb.duration`,
    capture(pageUrl, r'https://(?P

Pygments SB NRQL

Docs

Changelog

All changes to versions of this library are listed in the change history.

Development

Check out our contribution guide.

Contributors

See the list of contributors here.

License

This project is licensed under the terms of the MIT license. See the LICENSE file.

Metadata

Release files for pygments-sb-nrql 0.7.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-sb-nrql 0.7.0
File Size Uploaded Provenance
pygments_sb_nrql-0.7.0.tar.gz 6.6 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for pygments-sb-nrql 0.7.0
File Interpreter ABI Platform
pygments_sb_nrql-0.7.0-py3-none-any.whl Python 3 none any Details

Total release size: 13.2 kB

Release files / pygments_sb_nrql-0.7.0.tar.gz

Download URL pygments_sb_nrql-0.7.0.tar.gz
Size 6.6 kB
Tags Source
SHA-256 checksum
How to use checksums
2c13474be516b650586a209cf513c4de85ff5ff6458dcf212fd6b249f0a49c60
BLAKE2b-256 checksum
How to use checksums
207874ccab4554aca984f27f817850acb7d5aa56b9d15982fc9e7d419cca2e68
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.3 CPython/3.11.13 Linux/5.15.0-134-generic

Release files / pygments_sb_nrql-0.7.0-py3-none-any.whl

Download URL pygments_sb_nrql-0.7.0-py3-none-any.whl
Size 6.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cc446fe71affe9490789defca7a32d867956e5a8963ef937ef7a6fef13f4e145
BLAKE2b-256 checksum
How to use checksums
d11d34d7bde1eeaf975d06297c889070a3ad336e7a57cf0f0725f0435b58e73e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.3 CPython/3.11.13 Linux/5.15.0-134-generic

Security for pygments-sb-nrql 0.7.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