Skip to main content

Regex Replacer

This is simple package for fast replace texts with regex. Support Rust regex syntax: https://docs.rs/regex/latest/regex/#syntax

Installation

pip install regex_replace --upgrade

Usage

from regex_replacer import RegexReplacerTransformer

transformer = RegexReplacerTransformer([
    (r'[0-9]+', " NUMBER "),
    (r"[a-z]+", " WORD ")
])
test_strings = [
    "this is a SIMPLE TEXT 12345 with number"
]
print(transformer.transform(test_strings))

# Output: [' WORD   WORD   WORD  SIMPLE TEXT  NUMBER   WORD   WORD ']

for multithread transform:

transformer = RegexReplacerTransformer([
        (r'[0-9]+', " NUMBER "),
        (r"[a-z]+", " WORD ")
    ], n_jobs=3)

to back to single thread:

transformer.to_single_thread()

Metadata

Release files for regex-replacer 0.1.4

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

Built distributions (wheels)

Table of built distributions (wheels) for regex-replacer 0.1.4
File Actions
regex_replacer-0.1.4-cp313-cp313t-manylinux_2_28_x86_64.whl CPython 3.13 CPython 3.13 free-threading Linux glibc 2.28+ x86-64 Details for regex_replacer-0.1.4-cp313-cp313t-manylinux_2_28_x86_64.whl
regex_replacer-0.1.4-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details for regex_replacer-0.1.4-cp313-cp313-win_amd64.whl
regex_replacer-0.1.4-cp313-cp313-manylinux_2_28_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.28+ x86-64 Details for regex_replacer-0.1.4-cp313-cp313-manylinux_2_28_x86_64.whl
regex_replacer-0.1.4-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details for regex_replacer-0.1.4-cp312-cp312-win_amd64.whl
regex_replacer-0.1.4-cp312-cp312-manylinux_2_28_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.28+ x86-64 Details for regex_replacer-0.1.4-cp312-cp312-manylinux_2_28_x86_64.whl
regex_replacer-0.1.4-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details for regex_replacer-0.1.4-cp311-cp311-win_amd64.whl
regex_replacer-0.1.4-cp311-cp311-manylinux_2_28_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.28+ x86-64 Details for regex_replacer-0.1.4-cp311-cp311-manylinux_2_28_x86_64.whl
regex_replacer-0.1.4-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details for regex_replacer-0.1.4-cp310-cp310-win_amd64.whl
regex_replacer-0.1.4-cp310-cp310-manylinux_2_28_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.28+ x86-64 Details for regex_replacer-0.1.4-cp310-cp310-manylinux_2_28_x86_64.whl
regex_replacer-0.1.4-cp39-cp39-win_amd64.whl CPython 3.9 CPython 3.9 Windows x86-64 Details for regex_replacer-0.1.4-cp39-cp39-win_amd64.whl
regex_replacer-0.1.4-cp39-cp39-manylinux_2_28_x86_64.whl CPython 3.9 CPython 3.9 Linux glibc 2.28+ x86-64 Details for regex_replacer-0.1.4-cp39-cp39-manylinux_2_28_x86_64.whl
regex_replacer-0.1.4-cp38-cp38-win_amd64.whl CPython 3.8 CPython 3.8 Windows x86-64 Details for regex_replacer-0.1.4-cp38-cp38-win_amd64.whl
regex_replacer-0.1.4-cp38-cp38-manylinux_2_28_x86_64.whl CPython 3.8 CPython 3.8 Linux glibc 2.28+ x86-64 Details for regex_replacer-0.1.4-cp38-cp38-manylinux_2_28_x86_64.whl

Total release size: 11.8 MB

Release files / regex_replacer-0.1.4-cp313-cp313t-manylinux_2_28_x86_64.whl

Download URL regex_replacer-0.1.4-cp313-cp313t-manylinux_2_28_x86_64.whl
Size 1.0 MB
Tags CPython 3.13 CPython 3.13 free-threading Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
0238ea9177ce14bae6aa8da9478c94c439d8a4d38e58a814b49b7ddbc8115050
BLAKE2b-256 checksum
How to use checksums
9ef4d36b03421568e909fd5dcc7cdeb2b0aa09715a5e9161b980aa7221033b85
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.4

Release files / regex_replacer-0.1.4-cp313-cp313-win_amd64.whl

Download URL regex_replacer-0.1.4-cp313-cp313-win_amd64.whl
Size 751.3 kB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
1e6a3e1207eee8131df96424e153cb10cae854d1d88bf953e324093f4622c982
BLAKE2b-256 checksum
How to use checksums
3557fd2722234795779c270df117a8b3bf52485c4e3553fbb2c7d56ae7123a32
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.4

Release files / regex_replacer-0.1.4-cp313-cp313-manylinux_2_28_x86_64.whl

Download URL regex_replacer-0.1.4-cp313-cp313-manylinux_2_28_x86_64.whl
Size 1.0 MB
Tags CPython 3.13 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
d076c6eb38203f0e0665d64570d14b09166f3102503f4be2ab04808b498c68e7
BLAKE2b-256 checksum
How to use checksums
32f0b0d54ee8d00706170474a4a2fa85fac663fd52211b0adb1d66026feb1cf3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.4

Release files / regex_replacer-0.1.4-cp312-cp312-win_amd64.whl

Download URL regex_replacer-0.1.4-cp312-cp312-win_amd64.whl
Size 751.3 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
0e7687e63f124f028c326a0987bc002820921c8f0cbbe50fd7ead64ddef2f360
BLAKE2b-256 checksum
How to use checksums
81e22b32ffebd04f7ff65d6a100137a32c05497752162f53b2159c2230386148
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.4

Release files / regex_replacer-0.1.4-cp312-cp312-manylinux_2_28_x86_64.whl

Download URL regex_replacer-0.1.4-cp312-cp312-manylinux_2_28_x86_64.whl
Size 1.0 MB
Tags CPython 3.12 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
2fb5ca2cfe84a51da215b179b3dc92a71f469a312691517cffa25ccd472db074
BLAKE2b-256 checksum
How to use checksums
2176bfe8f873056a9f8ab7ec7b20d8b32025f01d79b3cc902eac45d2e20ff30c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.4

Release files / regex_replacer-0.1.4-cp311-cp311-win_amd64.whl

Download URL regex_replacer-0.1.4-cp311-cp311-win_amd64.whl
Size 751.2 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
1d23c793019ab028f6fc67a27b30649df2725a5b1869c3969121cd354c4dec1e
BLAKE2b-256 checksum
How to use checksums
8f4dc615b3dcd70e3eb5f051bc405a9f2bbd43ae0c2d917e27ba5dc6698ce46c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.4

Release files / regex_replacer-0.1.4-cp311-cp311-manylinux_2_28_x86_64.whl

Download URL regex_replacer-0.1.4-cp311-cp311-manylinux_2_28_x86_64.whl
Size 1.0 MB
Tags CPython 3.11 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
30189880a298ffe2f0cd6d819513a3562ea9eccbc0d4a03e0f1bfc95d27806fd
BLAKE2b-256 checksum
How to use checksums
0934091b7a04868d963cdc0e8dc5ddc81fde4700ffc347752ced95711e9f0d0f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.4

Release files / regex_replacer-0.1.4-cp310-cp310-win_amd64.whl

Download URL regex_replacer-0.1.4-cp310-cp310-win_amd64.whl
Size 751.2 kB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
c00fccc4513b5d5777fff2dfffc3a8f7dc9f9f45f18f2cc97fca8fa9d2a98548
BLAKE2b-256 checksum
How to use checksums
714ec161847104db0008192710b6c018c279faf158d0972da474d17f89f6a350
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.4

Release files / regex_replacer-0.1.4-cp310-cp310-manylinux_2_28_x86_64.whl

Download URL regex_replacer-0.1.4-cp310-cp310-manylinux_2_28_x86_64.whl
Size 1.0 MB
Tags CPython 3.10 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
638403607487dfa3465230a6c72e89b7b38ae4e8da499f48c155dc0a612f4b4c
BLAKE2b-256 checksum
How to use checksums
9ecd787f8d768c1b932e3edf8df20e7964f71989159a3113fa2e408718ecc553
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.4

Release files / regex_replacer-0.1.4-cp39-cp39-win_amd64.whl

Download URL regex_replacer-0.1.4-cp39-cp39-win_amd64.whl
Size 751.2 kB
Tags CPython 3.9 Windows x86-64
SHA-256 checksum
How to use checksums
e3c4e348e9b956e5fca58e56cefdbb41605d43c2048c240e3e3d2b6d21906c41
BLAKE2b-256 checksum
How to use checksums
e8be385980cecec70d56226b936e8ad621fdebe738f1f8dae3be9f9cc25b91b7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.4

Release files / regex_replacer-0.1.4-cp39-cp39-manylinux_2_28_x86_64.whl

Download URL regex_replacer-0.1.4-cp39-cp39-manylinux_2_28_x86_64.whl
Size 1.0 MB
Tags CPython 3.9 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
edfe7846400f65bf25cca35f007c570d0d11f9301dc1e6fc19a310dbaa73e492
BLAKE2b-256 checksum
How to use checksums
527115cc81408bd5cc70cb3aa702e0debb27a4ae0badbab0562c83d669903b1e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.4

Release files / regex_replacer-0.1.4-cp38-cp38-win_amd64.whl

Download URL regex_replacer-0.1.4-cp38-cp38-win_amd64.whl
Size 751.2 kB
Tags CPython 3.8 Windows x86-64
SHA-256 checksum
How to use checksums
8e3dbf88c3de9fa40c2ce4366513a0653814345c5829a60d74efe00b1780bd17
BLAKE2b-256 checksum
How to use checksums
74321c45afa0a15becafe075c8832b26f070b76e2c682e21e2208bf31fcf566d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.4

Release files / regex_replacer-0.1.4-cp38-cp38-manylinux_2_28_x86_64.whl

Download URL regex_replacer-0.1.4-cp38-cp38-manylinux_2_28_x86_64.whl
Size 1.0 MB
Tags CPython 3.8 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
25b1870417cf6bb43feec6c2cf925635dbe880f77e472699921301cbbbf346bf
BLAKE2b-256 checksum
How to use checksums
0b93af063eb259da2ea7e0c2bfe8bb127b484c7bfa6587f5ba42c16f51888ae8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.4

Security for regex-replacer 0.1.4

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