semvec/pypi-packages huggingface dataset:
tian-template 0.1.1
python.thienhang.com
Requires Python: <4.0,>=3.11


<a id="readme-top"></a>


<br />
<div align="center">
  <a href="dev.thienhang.com">
    
  </a>

  <h3 align="center">Multiple data platform</h3>

  <p align="center">
    open@thienhang.com
    <br />
    <a href="https://python.thienhang.com"><strong>Explore the docs »</strong></a>
    <br />
    <br />
    <a href="https://pypi.org/project/tian_core/">Pypi</a>
    ·
    <a href="https://open.thienhang.com">Website</a>
  </p>
</div>
qstrbuilder 0.1.0
qstrbuilder

qstrbuilder: Build Strings Quantitatively
=======================

qstrbuilder is a number formatter that use numerical parameters (rather than magic string) to control the number formatting.

### API

`build(number: float, width: Optional[int]=None, precision: Optional[int]=None) -> str`


### Usage Example

```
from qstrbuilder import build
s = build(2., width=4, precision=1)
print(s)   # Output " 2.0"
```