Metadata-Version: 2.1
Name: ns-poet
Version: 0.3.0
Summary: Autogenerate Poetry package manifests in a monorepo
Home-page: https://github.com/NarrativeScience/ns-poet
License: BSD-3-Clause
Author: Jonathan Drake
Author-email: jdrake@narrativescience.com
Requires-Python: >=3.6.5,<4.0.0
Classifier: License :: OSI Approved :: BSD License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Requires-Dist: astor (>=0.8.1,<0.9.0)
Requires-Dist: click (>=8.0.3,<9.0.0)
Requires-Dist: networkx (<2.6)
Requires-Dist: setuptools (>=58.5.3,<59.0.0)
Requires-Dist: toml (>=0.10.2,<0.11.0)
Project-URL: Repository, https://github.com/NarrativeScience/ns-poet
Description-Content-Type: text/markdown

# ns-poet
[![](https://img.shields.io/pypi/v/ns_poet.svg)](https://pypi.org/pypi/ns_poet/) [![License](https://img.shields.io/badge/License-BSD%203--Clause-blue.svg)](https://opensource.org/licenses/BSD-3-Clause)

Manage Poetry packages in a monorepo

Features:

- Generate Poetry package manifests
- Run a command in all packages

Table of Contents:

- [Installation](#installation)
- [Guide](#guide)
- [Development](#development)

## Installation

ns-poet requires Python 3.6 or above.

```bash
pip install ns-poet
# or
poetry add ns-poet
```

## Guide

<!-- Subsections explaining how to use the package -->

## Development

To develop ns-poet, install dependencies and enable the pre-commit hook:

```bash
pip install pre-commit poetry
poetry install
pre-commit install -t pre-commit -t pre-push
```

To run tests:

```bash
poetry run pytest
```

