Installation
To install Polyglot Piranha, you can use it as a Python library or as a command-line tool.
Python API
To install the Python API, run the following command:
pip install polyglot-piranha
Command-line Interface
To install the command-line interface, follow these steps:
- Install Rust
- Clone the repository:
git clone https://github.com/uber/piranha.git
- Navigate to the cloned directory:
cd piranha
- Build the project:
cargo build --release
(orcargo build --release --no-default-features
for macOS) - The binary will be generated under
target/release