Skip to main content

re2c is a free and open-source lexer generator for C, C++, D, Go, Haskell, Java, JS, OCaml, Python, Rust, V and Zig with a focus on generating fast code.

Project description

re2c Python Distributions

PyPI Release

re2c is a free and open-source lexer generator for C, C++, D, Go, Haskell, Java, JS, OCaml, Python, Rust, V and Zig with a focus on generating fast code.

This project packages the re2c utility (aliases for other languages such as re2go are also provided) as a Python package, enabling re2c to be installed from PyPI:

pip install re2c

or used as part of build-system.requires in a pyproject.toml file:

[build-system]
requires = ["re2c"]

PyPI package versions will follow the major.minor.patch version numbers of re2c releases.

Binary wheels for Windows, macOS, and Linux for most CPU architectures supported on PyPI are provided. ARM wheels for Raspberry Pi available at https://www.piwheels.org/project/re2c/.

re2c PyPI Package Homepage

re2c Homepage

re2c Source Code

re2c License: Public domain

Installing re2c

re2c can be installed by pip with:

pip install re2c

or:

python -m pip install re2c

Building from the source dist package requires internet access in order to download a copy of the re2c source code.

Using with pipx

Using pipx run re2c <args> will run re2c without any install step, as long as the machine has pipx installed (which includes GitHub Actions runners).

Using with pyproject.toml

re2c can be added to the build-system.requires key in a pyproject.toml file for building Python extensions that use re2c to generate code.

[build-system]
requires = ["re2c"]

Project details


Release history Release notifications | RSS feed

This version

4.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

re2c-4.0.tar.gz (7.4 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

re2c-4.0-py2.py3-none-win_arm64.whl (400.8 kB view details)

Uploaded Python 2Python 3Windows ARM64

re2c-4.0-py2.py3-none-win_amd64.whl (428.3 kB view details)

Uploaded Python 2Python 3Windows x86-64

re2c-4.0-py2.py3-none-win32.whl (384.1 kB view details)

Uploaded Python 2Python 3Windows x86

re2c-4.0-py2.py3-none-musllinux_1_2_x86_64.whl (1.5 MB view details)

Uploaded Python 2Python 3musllinux: musl 1.2+ x86-64

re2c-4.0-py2.py3-none-musllinux_1_2_s390x.whl (1.7 MB view details)

Uploaded Python 2Python 3musllinux: musl 1.2+ s390x

re2c-4.0-py2.py3-none-musllinux_1_2_ppc64le.whl (1.6 MB view details)

Uploaded Python 2Python 3musllinux: musl 1.2+ ppc64le

re2c-4.0-py2.py3-none-musllinux_1_2_i686.whl (1.6 MB view details)

Uploaded Python 2Python 3musllinux: musl 1.2+ i686

re2c-4.0-py2.py3-none-musllinux_1_2_armv7l.whl (1.3 MB view details)

Uploaded Python 2Python 3musllinux: musl 1.2+ ARMv7l

re2c-4.0-py2.py3-none-musllinux_1_2_aarch64.whl (1.4 MB view details)

Uploaded Python 2Python 3musllinux: musl 1.2+ ARM64

re2c-4.0-py2.py3-none-manylinux_2_31_armv7l.whl (427.6 kB view details)

Uploaded Python 2Python 3manylinux: glibc 2.31+ ARMv7l

re2c-4.0-py2.py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl (494.4 kB view details)

Uploaded Python 2Python 3manylinux: glibc 2.17+ s390x

re2c-4.0-py2.py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (541.3 kB view details)

Uploaded Python 2Python 3manylinux: glibc 2.17+ ppc64le

re2c-4.0-py2.py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (479.4 kB view details)

Uploaded Python 2Python 3manylinux: glibc 2.17+ ARM64

re2c-4.0-py2.py3-none-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (497.5 kB view details)

Uploaded Python 2Python 3manylinux: glibc 2.12+ x86-64

re2c-4.0-py2.py3-none-manylinux_2_12_i686.manylinux2010_i686.whl (514.5 kB view details)

Uploaded Python 2Python 3manylinux: glibc 2.12+ i686

re2c-4.0-py2.py3-none-macosx_10_9_universal2.whl (780.3 kB view details)

Uploaded Python 2Python 3macOS 10.9+ universal2 (ARM64, x86-64)

File details

Details for the file re2c-4.0.tar.gz.

File metadata

  • Download URL: re2c-4.0.tar.gz
  • Upload date:
  • Size: 7.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for re2c-4.0.tar.gz
Algorithm Hash digest
SHA256 38549b8f50022607e227d58e2169a04baee5754cb31e92869e5df721f3e73181
MD5 4188547b6619188a315c76a559322a76
BLAKE2b-256 1982ad5b7bf39196d8a3eb60bb027d4667fa3fd1ee7709641be05db678d084e8

See more details on using hashes here.

Provenance

The following attestation bundles were made for re2c-4.0.tar.gz:

Publisher: build.yml on nightlark/re2c-python-distributions

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file re2c-4.0-py2.py3-none-win_arm64.whl.

File metadata

  • Download URL: re2c-4.0-py2.py3-none-win_arm64.whl
  • Upload date:
  • Size: 400.8 kB
  • Tags: Python 2, Python 3, Windows ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for re2c-4.0-py2.py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 d52c19d229c7cac70fe6c34c8da6d8ad022a43c88024a1880839bd92611582e7
MD5 f99de93909d8f53f4be2e568bef901f0
BLAKE2b-256 69a146235fd15db3337260d6a50013679e06ad32d511eb842c9c0208d65ec844

See more details on using hashes here.

Provenance

The following attestation bundles were made for re2c-4.0-py2.py3-none-win_arm64.whl:

Publisher: build.yml on nightlark/re2c-python-distributions

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file re2c-4.0-py2.py3-none-win_amd64.whl.

File metadata

  • Download URL: re2c-4.0-py2.py3-none-win_amd64.whl
  • Upload date:
  • Size: 428.3 kB
  • Tags: Python 2, Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for re2c-4.0-py2.py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 f92257ad3e57508f0c22e61c395fade5d5f2edf6182a35dc427626d39d722e19
MD5 ea5c97c9f1e06eb7fe5f1e9a68c9b3ca
BLAKE2b-256 e30bb5805f685964fbd510823b053e902caf571b9b35d8ce232b2ec1b4ddd362

See more details on using hashes here.

Provenance

The following attestation bundles were made for re2c-4.0-py2.py3-none-win_amd64.whl:

Publisher: build.yml on nightlark/re2c-python-distributions

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file re2c-4.0-py2.py3-none-win32.whl.

File metadata

  • Download URL: re2c-4.0-py2.py3-none-win32.whl
  • Upload date:
  • Size: 384.1 kB
  • Tags: Python 2, Python 3, Windows x86
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for re2c-4.0-py2.py3-none-win32.whl
Algorithm Hash digest
SHA256 a2103998d2efd400cacd0c64ebc456a4e99b7520c98f6a8c8e16a80ff4836078
MD5 d4a2ded19bf25b5aa3d61adcc85eb5f1
BLAKE2b-256 697f878d1bfbb8eaabb5f23e5e821dc190369d7590b691427b0ea75331178b81

See more details on using hashes here.

Provenance

The following attestation bundles were made for re2c-4.0-py2.py3-none-win32.whl:

Publisher: build.yml on nightlark/re2c-python-distributions

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file re2c-4.0-py2.py3-none-musllinux_1_2_x86_64.whl.

File metadata

  • Download URL: re2c-4.0-py2.py3-none-musllinux_1_2_x86_64.whl
  • Upload date:
  • Size: 1.5 MB
  • Tags: Python 2, Python 3, musllinux: musl 1.2+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for re2c-4.0-py2.py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 d5dd51dab56611ebdb42b1c2bec677581acfcc19155478030ef48da7eeab64b3
MD5 b7b00d8fdce74601076fb00623e3fb45
BLAKE2b-256 1b31129fb521d4bd6408122a4366feba2f6e58a264b06c25338375d5354b314c

See more details on using hashes here.

Provenance

The following attestation bundles were made for re2c-4.0-py2.py3-none-musllinux_1_2_x86_64.whl:

Publisher: build.yml on nightlark/re2c-python-distributions

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file re2c-4.0-py2.py3-none-musllinux_1_2_s390x.whl.

File metadata

  • Download URL: re2c-4.0-py2.py3-none-musllinux_1_2_s390x.whl
  • Upload date:
  • Size: 1.7 MB
  • Tags: Python 2, Python 3, musllinux: musl 1.2+ s390x
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for re2c-4.0-py2.py3-none-musllinux_1_2_s390x.whl
Algorithm Hash digest
SHA256 8790f9e49630c5ee04f06e1f4d4fb41f9c342ed6f6c67bc0846aa37b9c83adc4
MD5 d1af247e01053ffca8baa06bf988d547
BLAKE2b-256 b7d3a5ea259f80a47425e7d6e3c9ea31a855bff338d93262d31a5be414b7c7e4

See more details on using hashes here.

Provenance

The following attestation bundles were made for re2c-4.0-py2.py3-none-musllinux_1_2_s390x.whl:

Publisher: build.yml on nightlark/re2c-python-distributions

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file re2c-4.0-py2.py3-none-musllinux_1_2_ppc64le.whl.

File metadata

  • Download URL: re2c-4.0-py2.py3-none-musllinux_1_2_ppc64le.whl
  • Upload date:
  • Size: 1.6 MB
  • Tags: Python 2, Python 3, musllinux: musl 1.2+ ppc64le
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for re2c-4.0-py2.py3-none-musllinux_1_2_ppc64le.whl
Algorithm Hash digest
SHA256 cc82b8ecbc5e5952850de82048448581e4a5c0999c5eee5d56f26ad808c5e02c
MD5 00eacca68ebee307994cfb9c514d92f2
BLAKE2b-256 2bdfc5215179ba13bef80e2862c8900781c2e6336bc6ad39fbf79154a08cd339

See more details on using hashes here.

Provenance

The following attestation bundles were made for re2c-4.0-py2.py3-none-musllinux_1_2_ppc64le.whl:

Publisher: build.yml on nightlark/re2c-python-distributions

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file re2c-4.0-py2.py3-none-musllinux_1_2_i686.whl.

File metadata

  • Download URL: re2c-4.0-py2.py3-none-musllinux_1_2_i686.whl
  • Upload date:
  • Size: 1.6 MB
  • Tags: Python 2, Python 3, musllinux: musl 1.2+ i686
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for re2c-4.0-py2.py3-none-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 43b8045f99f9228c988537af1265e6f17b292df86ff128c7502c1932dc7f8b6b
MD5 1d883e976e84e038373216fd4e0ad367
BLAKE2b-256 e83f5c3206e2f6c772dc58bb507a28f76ab43e1c18ac532c621d3a4508c93a1b

See more details on using hashes here.

Provenance

The following attestation bundles were made for re2c-4.0-py2.py3-none-musllinux_1_2_i686.whl:

Publisher: build.yml on nightlark/re2c-python-distributions

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file re2c-4.0-py2.py3-none-musllinux_1_2_armv7l.whl.

File metadata

  • Download URL: re2c-4.0-py2.py3-none-musllinux_1_2_armv7l.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: Python 2, Python 3, musllinux: musl 1.2+ ARMv7l
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for re2c-4.0-py2.py3-none-musllinux_1_2_armv7l.whl
Algorithm Hash digest
SHA256 2c17ef782764501585a5d2d3a43cd397c9654fc43d0d03258776a4359baca1c6
MD5 e5c14d1302689d1ad52f23c6440d477b
BLAKE2b-256 2a0e576331dd447a3e3c3de33fed31054f58b2b385ffae725eaeae6c568efa71

See more details on using hashes here.

Provenance

The following attestation bundles were made for re2c-4.0-py2.py3-none-musllinux_1_2_armv7l.whl:

Publisher: build.yml on nightlark/re2c-python-distributions

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file re2c-4.0-py2.py3-none-musllinux_1_2_aarch64.whl.

File metadata

  • Download URL: re2c-4.0-py2.py3-none-musllinux_1_2_aarch64.whl
  • Upload date:
  • Size: 1.4 MB
  • Tags: Python 2, Python 3, musllinux: musl 1.2+ ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for re2c-4.0-py2.py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 e40c37e312b316fb847547cce9a31cf9bc7b031849b8d95ea48f8ca60a611974
MD5 ffeb4c2775e301dbab7d421de201abaa
BLAKE2b-256 765177d3adb8029afcd58210ac5279ff6100b954d8c4fec4f3d9d4e0a53d5a74

See more details on using hashes here.

Provenance

The following attestation bundles were made for re2c-4.0-py2.py3-none-musllinux_1_2_aarch64.whl:

Publisher: build.yml on nightlark/re2c-python-distributions

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file re2c-4.0-py2.py3-none-manylinux_2_31_armv7l.whl.

File metadata

  • Download URL: re2c-4.0-py2.py3-none-manylinux_2_31_armv7l.whl
  • Upload date:
  • Size: 427.6 kB
  • Tags: Python 2, Python 3, manylinux: glibc 2.31+ ARMv7l
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for re2c-4.0-py2.py3-none-manylinux_2_31_armv7l.whl
Algorithm Hash digest
SHA256 27ce49cca37bcf11c884cc56608c1e8d02c9560c13d339285624b331396fbba5
MD5 081c7943f7570ffa9e836b9ba19ffef0
BLAKE2b-256 2855a3b7185b53f7f77b584e43ec3046ae5072f7bd72fa48d965be8a7bf5b438

See more details on using hashes here.

Provenance

The following attestation bundles were made for re2c-4.0-py2.py3-none-manylinux_2_31_armv7l.whl:

Publisher: build.yml on nightlark/re2c-python-distributions

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file re2c-4.0-py2.py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl.

File metadata

File hashes

Hashes for re2c-4.0-py2.py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm Hash digest
SHA256 a0a794fb8df15b706956c9642f0a80f7f4d8f1a4cdf5fae4eb1bafb37998bb47
MD5 ef172e52ce856fc320cbce1958006f42
BLAKE2b-256 f9102f62d01e5e8b1cdd350d4334783e62998c4d8de1366d410d3a808c7581e9

See more details on using hashes here.

Provenance

The following attestation bundles were made for re2c-4.0-py2.py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl:

Publisher: build.yml on nightlark/re2c-python-distributions

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file re2c-4.0-py2.py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl.

File metadata

File hashes

Hashes for re2c-4.0-py2.py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm Hash digest
SHA256 644f2dbc9dd2784cbe72d3a970db83f2e75946b75cf9edcad8f1e4d41f267d48
MD5 672c1b6c74ccb4f4bc38c5f7f37e9f1e
BLAKE2b-256 85a1afbd8ad80942ad1efc0dd95395f2ecd0afbf65fda376c991e47a955e5bf7

See more details on using hashes here.

Provenance

The following attestation bundles were made for re2c-4.0-py2.py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl:

Publisher: build.yml on nightlark/re2c-python-distributions

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file re2c-4.0-py2.py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for re2c-4.0-py2.py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 f9d41bfd484d5a6c23d6cf263fe625b4280f499b892d4c2d1f0eb8b77fa5be64
MD5 271b8e5f07fb91e3edf04010164bfd9e
BLAKE2b-256 a0cb302207fcf816fd6b3b115a3b1fdcb471598d90675830301dcbf9c4080d64

See more details on using hashes here.

Provenance

The following attestation bundles were made for re2c-4.0-py2.py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: build.yml on nightlark/re2c-python-distributions

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file re2c-4.0-py2.py3-none-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for re2c-4.0-py2.py3-none-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 2d6e28239c19789198900a1b52a654a29fb4170c0c0d631ef5299b3dd45a9434
MD5 93f8014dd7d4511cc0b1860c74a9266e
BLAKE2b-256 a399740c665167253cf29906615aae60557328abddaf6230aec7f9859e8b1ffa

See more details on using hashes here.

Provenance

The following attestation bundles were made for re2c-4.0-py2.py3-none-manylinux_2_12_x86_64.manylinux2010_x86_64.whl:

Publisher: build.yml on nightlark/re2c-python-distributions

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file re2c-4.0-py2.py3-none-manylinux_2_12_i686.manylinux2010_i686.whl.

File metadata

File hashes

Hashes for re2c-4.0-py2.py3-none-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 d6959e72d9e2a6fe489bc0cd369c72600f2062c545170519369caed168bf7045
MD5 7d87ea17cb1fb34f4df7ca5585fd6200
BLAKE2b-256 d8a2a17b88afc37daa3e3e1613b9b6cc5805601aecdb522d4978d69bc3b19249

See more details on using hashes here.

Provenance

The following attestation bundles were made for re2c-4.0-py2.py3-none-manylinux_2_12_i686.manylinux2010_i686.whl:

Publisher: build.yml on nightlark/re2c-python-distributions

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file re2c-4.0-py2.py3-none-macosx_10_9_universal2.whl.

File metadata

  • Download URL: re2c-4.0-py2.py3-none-macosx_10_9_universal2.whl
  • Upload date:
  • Size: 780.3 kB
  • Tags: Python 2, Python 3, macOS 10.9+ universal2 (ARM64, x86-64)
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for re2c-4.0-py2.py3-none-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 092e35109056390bf180a0a1c4293af4fdf7aa528c46bc9c04de6799632df394
MD5 7655ba136a1ab7937ee50cee34c5cc9c
BLAKE2b-256 2bb19cc664b2cca984b4d647a574755cc3467a3d2b180255e237670a0665ccbc

See more details on using hashes here.

Provenance

The following attestation bundles were made for re2c-4.0-py2.py3-none-macosx_10_9_universal2.whl:

Publisher: build.yml on nightlark/re2c-python-distributions

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page