Metadata-Version: 2.1
Name: nanos
Version: 0.1.6
Summary: Collection of small utility-functions
Home-page: https://github.com/aleosd/nanos
License: Apache-2.0
Author: Alex
Author-email: aleosd@gmail.com
Requires-Python: >=3.10,<4.0
Classifier: Development Status :: 5 - Production/Stable
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Utilities
Project-URL: Documentation, https://nanos.readthedocs.io/en/stable/index.html
Project-URL: Repository, https://github.com/aleosd/nanos
Description-Content-Type: text/markdown

# Nanos

![logo](docs/source/_static/nanos_logo.png)

*Nanos* is a collection of small but handy python utilities: different
functions, classes and mixins. The library has zero dependencies and relies
only on built-in python modules.

Complete documentation: https://nanos.readthedocs.io/en/latest/index.html

## Features

* Utilities for working with data, dates, and time
* Formatters for various data types
* Logging and debugging tools
* Mixins for enhancing class functionality

## Installation

Library is available on PyPI and can be installed using pip:

```bash
pip install nanos
```

## Usage

For complete list of utilities, please refer to documentation:
https://nanos.readthedocs.io/en/latest/index.html

```python
from nanos import fmt

print(fmt.size(1024))  # Output: 1.00 KB
```

```python
import time
from nanos import time as ntime

with ntime.Timer() as t:
    time.sleep(2)

print(t.verbose())  # Output: 0:00:02.00
```

## License

The library is released under the [Apache License 2.0](LICENSE)

