Crates.io | libpt-math |
lib.rs | libpt-math |
version | 0.3.11 |
source | src |
created_at | 2023-09-29 16:37:06.26319 |
updated_at | 2024-01-23 13:06:24.886888 |
description | Personal multitool |
homepage | https://git.cscherr.de/PlexSheep/pt |
repository | https://git.cscherr.de/PlexSheep/pt |
max_upload_size | |
id | 987589 |
size | 7,612 |
pt
stands for either one of "personal tool", "plex tool", "pete" or something among those lines.
It is a collection of tools that i might or might not use. The intended purpose of this repo is that
I program whatever i feel is worth having in a personal thing into it, then use it as either a lib,
crate, python module or executable.
Let's see if I make it a bloated mess or stop committing after 30 hello worlds.
cargo.toml
maturin
- pip install maturin
If you only want the rust library, you can simply build it with cargo build
. Add it to your
project like any other local dependency.
If you want to use the python variant too, you need to compile with maturing.
venv
: maturin develop --release
maturin build --release && pip install target/wheels/libpt-x.x.x-*
libpt
has been packaged for pypi.org.
You can install it with pip install libpt
libpt
has been packaged for crates.io.
You can add the library to your project with cargo add libpt
.
libpt
has been packaged for git.cscherr.de.
You can add the registry to your config.toml
and then cargo add libpt
Testing needs to be done separately for the rust and python parts:
cargo test
./scripts/pytests.sh
or python -m unittest discover -fs tests/python
The documentation can be automatically generated with cargo doc --open
.
An up to date version of the Documentation can be found here
The origin of this repository is git.cscherr.de
It is mirrored to:
Pt is MIT Licensed