Metadata-Version: 2.1
Name: papermc-bibliothek
Version: 3.0.1
Summary: bibliothek API wrapper with a CLI
Home-page: https://github.com/OskarsMC-Network/papermc-bibliothek
Author: OskarZyg
Author-email: oskar@oskarsmc.com
License: MIT
Platform: UNKNOWN
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Topic :: Utilities
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.9
Classifier: Operating System :: OS Independent
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE

# papermc-bibliothek

pythonic [bibliothek](https://github.com/PaperMC/bibliothek) API wrapper with a CLI

## Installation

papermc-bibliothek requires python 3.9 or above

```shell
# PIP3
pip3 install papermc-bibliothek
# PIP
pip install papermc-bibliothek
```

## API

All functions and classes are properly type hinted and documented with triple quotes. Please file an issue or pull
request with any corrections if any issues are found.

### Basic Usage

```python
from bibliothek import Bibliothek, BibliothekException

bibliothek = Bibliothek()  # Create an instance of the Bibliothek class
try:
    projects = bibliothek.get_projects()
    print(projects)  # ['paper', 'travertine', 'waterfall', 'velocity']
except BibliothekException as e:  # Catch BibliothekException in case something goes wrong
    print(f"Error: {e}")
```

## CLI

Will generally contain most features of the API<!--, use (the secret project) for proper server managment-->.

```shell
Usage: bibliothek [OPTIONS] COMMAND [ARGS]...

Options:
  --help  Show this message and exit.

Commands:
  download-build
  get-build
  get-project
  get-projects
  get-version
  get-version-group
  get-version-group-builds
```

