Skip to content

Commit

Permalink
si_units 0.2.2 (via alr publish --submit)
Browse files Browse the repository at this point in the history
  • Loading branch information
mosteo committed Feb 15, 2024
1 parent 138ca12 commit 96adb40
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions index/si/si_units/si_units-0.2.2.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
description = "Pretty print physical values in properly scaled metric (SI) units."
long-description = """
Provides generic conversion (`Image`) functions that convert values into human
readable strings with appropriate SI prefixes. This is especially convenient
when you have to deal with printing values from a potentially large interval,
and you need to represent such values as something an average human will
easily be able to read. Then you can use `SI_Units` to take care of the
conversion into an appropriate string representation for you.
Converting values into a string is supported with all SI prefixes which are a
power of 1000 (yocto .. Yotta), additionally there is a generic that can deal
with binary prefixes (i.e. prefixes that denote powers of 1024).
Scaling (i.e. conversion between different prefixes, like from kilo(meter) to
centi(meter)) between all defined SI prefixes is also supported, similar for
binary prefixes.
See the project's [website](https://github.heisenbug.eu/si_units) for more
details.
"""
name = "si_units"
version = "0.2.2"
authors = ["Vinzent \"Jellix\" Saranen"]
website = "https://github.heisenbug.eu/si_units"
licenses = "WTFPL"
tags = ["utilities", "formatting"]
maintainers = ["[email protected]", "[email protected]"]
maintainers-logins = ["Jellix", "mosteo"]
project-files = ["si_units.gpr"]

[gpr-externals]
SI_UNITS_BUILD_MODE = ["debug", "release"]

[configuration]
disabled=true

[origin]
commit = "c0780c4e7a7f3fae118d073468b6a5fff550a4e8"
url = "git+https://github.com/mosteo/si_units.git"

0 comments on commit 96adb40

Please sign in to comment.