Skip to content

pip install re2c. Pre-compiled re2c Python wheels for PyPI.

Notifications You must be signed in to change notification settings

nightlark/re2c-python-distributions

Repository files navigation

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"]

About

pip install re2c. Pre-compiled re2c Python wheels for PyPI.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •