
Security News
libxml2 Maintainer Ends Embargoed Vulnerability Reports, Citing Unsustainable Burden
Libxml2’s solo maintainer drops embargoed security fixes, highlighting the burden on unpaid volunteers who keep critical open source software secure.
Functions for formatting numbers according to SI standards.
Example usage:
from si_prefix import si_format
print si_format(.5)
# 500.0 m (default precision is 1)
print si_format(.01331, precision=2)
# 13.31 m
print si_format(1331, precision=2)
# 1.33 k
print si_format(1331, precision=0)
# 1 k
\N{MICRO SIGN}
) to denote
micro (not u).
str
return type.si_parse
functionWritten by Christian Fobel christian@fobel.net
Ported from C version written by Jukka “Yucca” Korpela jkorpela@cs.tut.fi.
Python 3 support: olehermanse
This project is licensed under the terms of the BSD 3-clause license
FAQs
Functions for formatting numbers according to SI standards.
We found that si-prefix 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
Libxml2’s solo maintainer drops embargoed security fixes, highlighting the burden on unpaid volunteers who keep critical open source software secure.
Research
Security News
Socket investigates hidden protestware in npm packages that blocks user interaction and plays the Ukrainian anthem for Russian-language visitors.
Research
Security News
Socket researchers uncover how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.