-
Notifications
You must be signed in to change notification settings - Fork 101
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
si_units 0.2.2 (via
alr publish --submit
)
- Loading branch information
Showing
1 changed file
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
|