Skip to main content

regex_generate.py

Use regular expressions to generate text. This is the PyO3 Python binding of the Rust crate regex_generate.

Usage

>>> from regex_generate_py import generate
>>> # Use regular expressions to generate text
>>> pattern = r"(My|Your) name is an(ji|na|t)"
>>>
>>> for i in range(10):
...     print(generate(pattern))
...
Your name is anna
My name is ant
Your name is anji
Your name is anji
My name is ant
Your name is anna
My name is ant
My name is anji
Your name is anji
My name is ant

Metadata

Release files for regex-generate-py 2023.3.7

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

Source distribution (sdist)

Source distribution for regex-generate-py 2023.3.7
File Size Uploaded Provenance Actions
regex_generate_py-2023.3.7.tar.gz 6.0 kB Without provenance Details for regex_generate_py-2023.3.7.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for regex-generate-py 2023.3.7
File Interpreter ABI Platform Actions
regex_generate_py-2023.3.7-cp311-cp311-macosx_10_12_x86_64.whl CPython 3.11 CPython 3.11 macOS 10.12+ x86-64 Details for regex_generate_py-2023.3.7-cp311-cp311-macosx_10_12_x86_64.whl

Total release size: 549.5 kB

Release files / regex_generate_py-2023.3.7.tar.gz

Download URL regex_generate_py-2023.3.7.tar.gz
Size 6.0 kB
Tags Source
SHA-256 checksum
How to use checksums
109663ffa4ae1b577789ea7dcff17bdd39bf02ec51bfe00a6748ff13195d09ac
BLAKE2b-256 checksum
How to use checksums
73f3e53f913f5c6fe8f90c21cf2bf4b61a19a24566bed0ed913f7bfefeffc44d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.7.4

Release files / regex_generate_py-2023.3.7-cp311-cp311-macosx_10_12_x86_64.whl

Download URL regex_generate_py-2023.3.7-cp311-cp311-macosx_10_12_x86_64.whl
Size 543.5 kB
Tags CPython 3.11 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
0f1a878dff6c229749468f39f4aea49e32da9d7c693bc1c07d7ab8c3eecdd050
BLAKE2b-256 checksum
How to use checksums
59e8a5ababfe20fbf3c27d6563234a572959edbd7e4edb8bafcc97de37b17980
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.7.4

Security for regex-generate-py 2023.3.7

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

2023.3.7 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