https://github.com/lu-zero/oruuid
The rust uuid implementation wrapped in python
https://github.com/lu-zero/oruuid
Last synced: 3 months ago
JSON representation
The rust uuid implementation wrapped in python
- Host: GitHub
- URL: https://github.com/lu-zero/oruuid
- Owner: lu-zero
- Created: 2024-06-23T11:53:34.000Z (12 months ago)
- Default Branch: master
- Last Pushed: 2024-06-24T15:25:16.000Z (12 months ago)
- Last Synced: 2025-03-06T23:14:48.263Z (3 months ago)
- Language: Rust
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# oruuid
> An example wrapper around [uuid](https://crates.io/crates/uuid).## Status
It is just part of a presentation/tutorial on [PyO3](https://crates.io/crates/pyO3) and [maturin](https://crates.io/crates/maturin),
if you find it useful you are welcome to fork and develop it further.## Building
As usual you may use a `venv`:
``` sh
$ python -m venv .venv
$ .venv/bin/activate
```
You need [maturin](crates.io/crates/maturin), you can install it using [pypi](https://pypi.org/project/maturin/)
``` sh
$ pip install maturin
```
or [cargo](https://crates.io/crates/maturin):
``` sh
$ cargo install maturin
```And then use the `develop` command:
``` sh
$ maturin develop
```## Testing
You may use [pytest](https://pypi.org/project/pytest/):
``` sh
$ maturin develop
$ pip install -r rest-requirements.txt
$ pytest
```