
Security News
npm Adopts OIDC for Trusted Publishing in CI/CD Workflows
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
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 now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.