Skip to main content

Python API for VRS

Project description

What is pyvrs?

pyvrs is a Python interface for C++ library VRS using pybind11.

Documentation

See API documentation

Installation

Install released builds

pypi package is built with this Github Action manually.

pip install vrs

:warning: Note: Work on the Windows version of the PyPI package is currently in progress and will be completed soon. In the meantime, please build the package from the source. Further details can be found in the section below.

From source

Mac and Linux:

# Build locally
git clone --recursive https://github.com/facebookresearch/pyvrs.git
cd pyvrs
# if you are updating an existing checkout
git submodule sync --recursive
git submodule update --init --recursive

# Install VRS dependencies: https://github.com/facebookresearch/vrs#instructions-macos-and-ubuntu-and-container

python -m pip install -e .

Windows (via pixi):

# Donwload pyvrs
git clone https://github.com/facebookresearch/pyvrs.git
cd pyvrs
git submodule sync --recursive
git submodule update --init --recursive

# Install pixi (details can be found: https://pixi.sh/latest/#__tabbed_1_2)
iwr -useb https://pixi.sh/install.ps1 | iex
# Install VRS dependencies:
pixi run install_pyvrs

# Start pixi shell to execute your python scripts
pixi shell
python yourPythonScript.py

Contributing

We welcome contributions! See CONTRIBUTING for details on how to get started, and our code of conduct.

License

VRS is released under the Apache 2.0 license.

Project details


Download files

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

Source Distribution

vrs-1.2.1.tar.gz (21.2 kB view hashes)

Uploaded Source

Built Distributions

vrs-1.2.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.4 MB view hashes)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64

vrs-1.2.1-cp312-cp312-macosx_11_0_arm64.whl (1.9 MB view hashes)

Uploaded CPython 3.12 macOS 11.0+ ARM64

vrs-1.2.1-cp312-cp312-macosx_10_9_x86_64.whl (1.0 MB view hashes)

Uploaded CPython 3.12 macOS 10.9+ x86-64

vrs-1.2.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.4 MB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

vrs-1.2.1-cp311-cp311-macosx_11_0_arm64.whl (1.9 MB view hashes)

Uploaded CPython 3.11 macOS 11.0+ ARM64

vrs-1.2.1-cp311-cp311-macosx_10_9_x86_64.whl (1.0 MB view hashes)

Uploaded CPython 3.11 macOS 10.9+ x86-64

vrs-1.2.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.4 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

vrs-1.2.1-cp310-cp310-macosx_11_0_arm64.whl (1.9 MB view hashes)

Uploaded CPython 3.10 macOS 11.0+ ARM64

vrs-1.2.1-cp310-cp310-macosx_10_9_x86_64.whl (1.0 MB view hashes)

Uploaded CPython 3.10 macOS 10.9+ x86-64

vrs-1.2.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.4 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

vrs-1.2.1-cp39-cp39-macosx_11_0_arm64.whl (1.9 MB view hashes)

Uploaded CPython 3.9 macOS 11.0+ ARM64

vrs-1.2.1-cp39-cp39-macosx_10_9_x86_64.whl (1.0 MB view hashes)

Uploaded CPython 3.9 macOS 10.9+ x86-64

Supported by

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