Metadata-Version: 2.1
Name: pab
Version: 2.0.7
Summary: A build tool for multi-projects that leverages package registries (pypi, npmjs, etc.)
Home-page: https://github.com/binh-vu/pbt
License: MIT
Author: Binh Vu
Author-email: binh@toan2.com
Requires-Python: >=3.8,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Requires-Dist: click (>=8.0.3,<9.0.0)
Requires-Dist: lbry-rocksdb-optimized (>=0.8.1,<0.9.0)
Requires-Dist: loguru (>=0.5.3,<0.6.0)
Requires-Dist: networkx (>=2.6.3,<3.0.0)
Requires-Dist: orjson (>=3.6.4,<4.0.0)
Requires-Dist: semver (>=2.13.0,<3.0.0)
Requires-Dist: tomlkit (>=0.7.2,<0.8.0)
Project-URL: Repository, https://github.com/binh-vu/pbt
Description-Content-Type: text/markdown

<h1 align="center">PBT</h1>

<div align="center">
<b>pbt</b> — a build tool for multi-projects that leverages package registries (pypi, npmjs, etc.).
    
![PyPI](https://img.shields.io/pypi/v/pbt)
![Python](https://img.shields.io/badge/python-v3.7+-blue.svg)
[![GitHub Issues](https://img.shields.io/github/issues/binh-vu/pbt.svg)](https://github.com/binh-vu/pbt/issues)
![Contributions welcome](https://img.shields.io/badge/contributions-welcome-orange.svg)
[![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://opensource.org/licenses/MIT)

</div>

## Introduction

Having all projects in the same repository make it much easier to develop, share, reuse, and refactor code. Building and publishing the projects should not be done manually because it is time-consuming and may be frustrated if the projects are depending on each other. pbt is a tool designed to help make the process easier and faster. It supports building, installing, and updating versions of your projects and their dependencies consistently. It also provides utility commands to help you work with your projects in multi-repositories as if you are working with a monorepo.

## Installation

```bash
pip install -U pab  # not pbt
```

## Usage

Note: currently, **pbt** supports Python projects configured with Poetry (an awesome dependency management that you should consider using).

1. **Installing, cleaning, updating and publishing your projects**

Assuming that you organized your projects as different sub-folders, each has their own project configuration file. 
In the root directory (containing your projects), you can run `install` to install a specific project

```bash
pbt install -p <project> [-e] [-d] [-v]
```

