Skip to main content

pymbrewclient: A Python library and CLI for readonly access to Minibrew's API

Project description

pymbrewclient

pymbrewclient is a Python library and CLI tool for interacting with Minibrew's API. It provides both programmatic access and a command-line interface for fetching brewery and session information.

Disclaimer

This project is an independent, community-driven tool and is not affiliated with, endorsed by, or supported by Minibrew. It is developed and maintained by independent contributors.

Requirements

This library will only work if you have access to Minibrew's Pro Portal subscription.


Features

  • Fetch brewery overview data.
  • Retrieve session information.
  • Easy-to-use CLI for quick access.
  • Python library for programmatic integration.

Installation

You can install pymbrewclient using pip:

CLI

pip install pymbrewclient
pymbrewclient get-token --username <USERNAME> --password <PASSWORD>
pymbrewclient brewery-overview
pymbrewclient session-info --username <USERNAME> --password <PASSWORD> --session-id <SESSION_ID>

Library Usage

from pymbrewclient.client import BreweryClient

# Initialize the client
client = pymbrewclient(username,password)

# Fetch brewery overview
brewery_overview = client.get_brewery_overview()
print(brewery_overview)
from pymbrewclient.client import BreweryClient

# Initialize the client
client = pymbrewclient(username,password)

# Fetch session info
session_id = 12345
session_info = client.get_session_info(session_id)
print(session_info)

Development

Clone the repository:

git clone https://github.com/yourusername/pymbrewclient.git
cd pymbrewclient

Install dependencies:

pip install .[dev]

Run tests:

pytest

Lint the code:

make lint

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

pymbrewclient-1.7.2.tar.gz (23.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pymbrewclient-1.7.2-py3-none-any.whl (16.5 kB view details)

Uploaded Python 3

File details

Details for the file pymbrewclient-1.7.2.tar.gz.

File metadata

  • Download URL: pymbrewclient-1.7.2.tar.gz
  • Upload date:
  • Size: 23.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pymbrewclient-1.7.2.tar.gz
Algorithm Hash digest
SHA256 484fab2f25648b1def7d3f40bf5ab9c7877bb839a3a870a339bf0a36feeddc9e
MD5 64dd3cae89e6752441ff14aee52af79b
BLAKE2b-256 1ee8d846afbfa9811e323d34536f7089b5b6e1ea6d96437033c392ce13fa7095

See more details on using hashes here.

Provenance

The following attestation bundles were made for pymbrewclient-1.7.2.tar.gz:

Publisher: test-and-release.yml on stuartp44/pymbrewclient

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pymbrewclient-1.7.2-py3-none-any.whl.

File metadata

  • Download URL: pymbrewclient-1.7.2-py3-none-any.whl
  • Upload date:
  • Size: 16.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pymbrewclient-1.7.2-py3-none-any.whl
Algorithm Hash digest
SHA256 550140361935327f7ea343642de38236a93eccf853f4b8eef8790a3188e89b36
MD5 7f6a4f04dbc7f1fd48162abc17f04d75
BLAKE2b-256 bae67eebd603a4004b5ab4b43146b61aeed71a3b6c3bbca0d55a3ae5967acdb9

See more details on using hashes here.

Provenance

The following attestation bundles were made for pymbrewclient-1.7.2-py3-none-any.whl:

Publisher: test-and-release.yml on stuartp44/pymbrewclient

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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