Note
Full information, documentation, examples, and more can be found on the project website: https://dv.alextac.com/
DV is a package that keeps track of units, and allows you to perform math while also checking the units to be valid. Features include:
- Storing units with variables in an easily encodable way
- Performing math on/between units while also checking the units
- Multi-language support:
core/: Rust core logic and the published Rust cratecore/ffi/diplomat/: Rust-owned Diplomat bridge cratepython/: Python package, wrapper, tests, and Bazel Python binding targetsc/: C binding targetscpp/: C++ binding targets and thedv.hppcompatibility wrapper
This project is always a work in progress. We welcome contributions, small or large! Please visit this page to learn more! https://dv.alextac.com/docs/category/developers-guides
This project is licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright © 2026 Alex Tacescu