
Security News
npm Introduces minimumReleaseAge and Bulk OIDC Configuration
npm rolls out a package release cooldown and scalable trusted publishing updates as ecosystem adoption of install safeguards grows.
ruuid
Advanced tools
A fast UUID generator for Python built using Rust. Its a simple wrapper on top of Rust's UUID crate.
pip3 install ruuid==0.3.0 --force --no-cache
import ruuid
ruuid.uuid4()
'7a1ef475-904c-4d53-8985-528d09d57414'
Tests ran on an M1 macbook air with 8 GB of RAM and Python 3.9
from ruuid import uuid4, simple
%timeit simple()
327 ns ± 0.442 ns per loop (mean ± std. dev. of 7 runs, 1000000 loops each)
%timeit uuid4()
348 ns ± 0.707 ns per loop (mean ± std. dev. of 7 runs, 1000000 loops each)
from uuid import uuid4
%timeit uuid4()
1.1 µs ± 2.91 ns per loop (mean ± std. dev. of 7 runs, 1000000 loops each)
uuid4() - random UUID4 stringsimple() - formatted simple string of UUID4hyphenated() - hyphenated UUID4 stringnil() - a uuid with all zerosurn() - uuid4 as a URN stringFAQs
A fast UUID generator for Python using Rust
We found that ruuid demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
npm rolls out a package release cooldown and scalable trusted publishing updates as ecosystem adoption of install safeguards grows.

Security News
AI agents are writing more code than ever, and that's creating new supply chain risks. Feross joins the Risky Business Podcast to break down what that means for open source security.

Research
/Security News
Socket uncovered four malicious NuGet packages targeting ASP.NET apps, using a typosquatted dropper and localhost proxy to steal Identity data and backdoor apps.