Metadata-Version: 2.1
Name: nua-lib
Version: 0.5.43
Summary: Nua common library
Home-page: https://github.com/abilian/nua
License: Apache-2.0
Author: Stefane Fermigier
Author-email: sf@abilian.com
Requires-Python: >=3.10,<4.0
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Requires-Dist: dictdiffer (>=0.9.0,<0.10.0)
Requires-Dist: docker (>=6.0.1,<7.0.0)
Requires-Dist: jinja2 (>=3.1.2,<4.0.0)
Requires-Dist: pydantic (>=1.10.8,<2.0.0)
Requires-Dist: pyyaml (>=6.0,<7.0)
Requires-Dist: setuptools
Requires-Dist: tomli (>=2.0.1,<3.0.0)
Project-URL: Documentation, https://nua.rocks/
Project-URL: Repository, https://github.com/abilian/nua
Description-Content-Type: text/markdown

# Nua Lib

[Nua](https://nua.rocks/) is an open source, self-hosted cloud platform project (a PaaS - platform as a service)

This subproject contains code that is shared between the various [Nua](https://nua.rocks/) subprojects.

It is not intended to be useful outside Nua, and is not intended to be used as a standalone library.

Since the `nua-lib` code being used by `nua-agent`, it should have as little dependencies as possible

## Content

`nua-lib` provides:

- `shell`: shell shortcuts (mostly wrappers above subprocess and shutil)
- `exec`: shortcuts to execute sub commands like exec_as_root(), exec_as_root()
- `action`: higher level commands, related to the installation of packages and dependencies (wrappers above apt, pip, ...)
- and a few utilities of minor importance.

## Dependency graph

![Dependency graph](./doc/dependency-graph.png)

