https://github.com/narrativescience-old/ns-poet
Autogenerate Poetry package manifests in a monorepo
https://github.com/narrativescience-old/ns-poet
Last synced: 7 months ago
JSON representation
Autogenerate Poetry package manifests in a monorepo
- Host: GitHub
- URL: https://github.com/narrativescience-old/ns-poet
- Owner: NarrativeScience-old
- License: bsd-3-clause
- Created: 2021-11-10T22:13:28.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-12-27T17:31:30.000Z (over 3 years ago)
- Last Synced: 2025-02-13T20:07:37.964Z (over 1 year ago)
- Language: Python
- Size: 131 KB
- Stars: 0
- Watchers: 11
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
# ns-poet
[](https://pypi.org/pypi/ns_poet/) [](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
## 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
```