Skip to content
/ noctuid Public

Rust project with PyO3 for Python UUID generation, as FFI practice.

Notifications You must be signed in to change notification settings

ssrtw/noctuid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

noctuid

A Rust project using PyO3 to create FFI bindings, allowing Python to quickly generate UUIDs, serving as practice for FFI.

It provides support for UUID versions 3, 4, 5, and 7.

Setting Up the Development Environment

The project uses uv to manage the venv. First, install the uv tool (you can use mise to manage and install the development environment).

Run uv to create a .venv virtual environment folder and sync the package versions in uv.lock.

uv venv
uv sync
source ./.venv/bin/activate

Building

maturin build

Build and add the package to the uv venv:

maturin develop --uv

Testing

Test cases are located in the src/tests directory. To run the tests, use:

pytest

About

Rust project with PyO3 for Python UUID generation, as FFI practice.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published