Skip to main content

bibliothek API wrapper with a CLI

Project description

papermc-bibliothek

pythonic bibliothek API wrapper with a CLI

Installation

papermc-bibliothek requires python 3.9 or above

# 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

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.

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

papermc-bibliothek-3.0.0.tar.gz (5.6 kB view hashes)

Uploaded Source

Built Distribution

papermc_bibliothek-3.0.0-py3-none-any.whl (6.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page