8000 GitHub - airgproducts/euklid_rs · GitHub
[go: up one dir, main page]

Skip to content
airgproductsPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

2 watching

Forks

Repository files navigation

Euklid_rs [2D and 3D vector operations]

maturin rsaudit rsfmt rstest

The project will replace euklid. The latest stable version of euklid can be obtained from PyPI version.

About

A Rust module with bindings for python to help dealing with common CAD-like operations:

  • Vectors
  • PolyLines
  • Spline Curves

Support Table

support.md

Development Setup

To build the euklid_rs python module PyO3 and maturin is used.

Install the latest version of Rust with the Getting started guide.

# create virtual environment
python -m venv venv

# activate venv
source venv/bin/activate

# Install python dependencies
pip install -r ./requirements.txt

# Build euklid_rs module
maturin dev

# Run python tests with pytest
pytest

Code-Style

# Run pylint for prettier tests/*
pylint tests/*

# Run cargo fmt for prettier rust src files
cargo fmt 

Build Setup

# Build euklid_rs module
maturin build

License

MIT License

Copyright (c) 2022-present, airG distribution GmbH

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages

0