Metadata-Version: 2.4
Name: netherframe.sdk
Version: 0.4.0
Summary: Every nf command as a Python API: plan, apply, drift, discover, generate and the rest, with structured results
Author: Sourabh Cheedella
Author-email: Sourabh Cheedella <cheedella.sourabh@gmail.com>
License-Expression: MIT
License-File: LICENSE
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3.15
Requires-Dist: netherframe-core>=0.14.0,<1.0.0
Requires-Dist: netherframe-generation>=0.6.0,<1.0.0
Requires-Dist: netherframe-legacy-functions-hashicorp-terraform>=1.15.9.3
Requires-Dist: pyyaml>=6.0.4
Requires-Dist: tomli-w>=1.2.0
Requires-Dist: watchdog>=7.1.1
Requires-Dist: pytest>=9.2.0 ; extra == 'dev'
Requires-Python: >=3.15
Project-URL: Homepage, https://netherframe.arsenal.sh
Project-URL: Repository, https://github.com/arsenal-sh/netherframe
Provides-Extra: dev
Description-Content-Type: text/markdown

# netherframe.sdk

Every `nf` command as a Python API.

```python
from nf.sdk import Project

project = Project(".", settings={"max_concurrent_resources": 20}, inputs={"env": "prod"})
plan = project.plan(app="web", plan_out="prod.plan")
run = project.apply(app="web", plan_file="prod.plan", auto_approve=True)
```

Each `nf` command is a method of `Project` named as the command (`nf drift check` is
`project.drift.check`), taking its options as keyword arguments. Commands return structured
results and raise `NfError`; they never print or exit. The `nf` CLI is built on this API.
