===================
A Pygments_ syntax lexer for the SignalFx_ SignalFlow_ real-time streaming
analytics language.
.. _Pygments: http://pygments.org
.. _SignalFx: https://signalfx.com
.. _SignalFlow: https://developers.signalfx.com/docs/signalflow-overview
Installation
------------
.. code::
$ pip install pygments-signalflow
Usage
-----
The ``pygments-signalflow`` package is setup to include the proper entrypoints
so that ``pygmentize`` can use the lexer out of the box:
.. code::
$ cat example.flow
data('cpu.utilization').mean().publish()
$ pygmentize example.flow # This will show in fancy colors!
data('cpu.utilization').mean().publish()
>From source
~~~~~~~~~~~
To use the lexer from source (for example with the excellent `Prompt Toolkit`_):
.. _Prompt Toolkit: https://github.com/jonathanslenders/python-prompt-toolkit
.. code:: python
import prompt_toolkit
import pygments
import pygments_signalflow
...
prompt_toolkit.shortcuts.prompt('> ',
lexer=prompt_toolkit.layout.lexers.PygmensLexer(
pygments_signalflow.SignalFlowLexer()))
Metadata
Release files for pygments-signalflow 0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pygments_signalflow-0.3-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for pygments_signalflow-0.3-py2.py3-none-any.whl |
Release files / pygments_signalflow-0.3-py2.py3-none-any.whl
| Download URL | pygments_signalflow-0.3-py2.py3-none-any.whl |
|---|---|
| Size | 5.1 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
91d6bb65aa02e2450dc607fe19a737c7e0817b14d5a7b7b1ce6869ded17c742b
|
|
BLAKE2b-256 checksum How to use checksums |
b68622f58d5f3dfeaa4329b0879b0bb797d1c5ea0ed537c4c06bfdfa48f5ab4a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for pygments-signalflow 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.