Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/facebookresearch/pyvrs
Python interface for https//github.com/facebookresearch/vrs.
https://github.com/facebookresearch/pyvrs
Last synced: 23 days ago
JSON representation
Python interface for https//github.com/facebookresearch/vrs.
- Host: GitHub
- URL: https://github.com/facebookresearch/pyvrs
- Owner: facebookresearch
- License: apache-2.0
- Created: 2023-03-06T16:40:04.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-12-14T11:19:52.000Z (about 1 month ago)
- Last Synced: 2024-12-17T01:37:54.432Z (about 1 month ago)
- Language: C++
- Homepage:
- Size: 377 KB
- Stars: 25
- Watchers: 4
- Forks: 8
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# What is pyvrs?
pyvrs is a Python interface for C++ library [VRS](https://github.com/facebookresearch/vrs) using [pybind11](https://github.com/pybind/pybind11).
# Documentation
See [API documentation](https://pyvrs.readthedocs.io/en/latest/)
# Installation
## Install released builds
pypi package is built with [this Github Action](https://github.com/facebookresearch/pyvrs/blob/main/.github/workflows/deploy.yml) 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](CONTRIBUTING.md) for details on how
to get started, and our [code of conduct](CODE_OF_CONDUCT.md).# License
VRS is released under the [Apache 2.0 license](LICENSE).