Skip to main content

Terregex

Terregex is structural regex transformation library.

Installation

You can install this library via PyPI.

pip install terregex

Getting Started

from terregex import Transformer, Literal

trans = Transformer()

@trans.add_rule()
def transform_literal(node: Literal):
    node.string = node.string.lower()

trans('(Foo|Bar)+') # => '(foo|bar)+'

Metadata

Release files for terregex 0.0.6

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

Source distribution (sdist)

Source distribution for terregex 0.0.6
File Size Uploaded Provenance
terregex-0.0.6.tar.gz 11.2 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for terregex 0.0.6
File Interpreter ABI Platform
terregex-0.0.6-py3-none-any.whl Python 3 none any Details

Total release size: 22.8 kB

Release files / terregex-0.0.6.tar.gz

Download URL terregex-0.0.6.tar.gz
Size 11.2 kB
Tags Source
SHA-256 checksum
How to use checksums
e8f19b5d3e870db833254c0d3c69d482fb300421a66fb6ce4a87eb4f67633ae4
BLAKE2b-256 checksum
How to use checksums
73cade62681a3f9fa75a6fb92e4c9a00a8e754d5352b49d1832750ea9ddd5c9d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.9.6

Release files / terregex-0.0.6-py3-none-any.whl

Download URL terregex-0.0.6-py3-none-any.whl
Size 11.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
16f25333ea3752dcc072527adb1fd1838af550a38a25c2d0b1f05f8a0b1a2c1b
BLAKE2b-256 checksum
How to use checksums
e022fae199b582a57d7f19826a4036d0d4adc17b108ed91190633d6454881ac0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.9.6

Security for terregex 0.0.6

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.

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