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.8.0.tar.gz (24.1 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.8.0-py3-none-any.whl (16.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pymbrewclient-1.8.0.tar.gz
Algorithm Hash digest
SHA256 c79d00b1f9d4d61dea5a8e55bb8d46c3bf9cda26eac20299476856bb69afd50e
MD5 42c1abf860655a4ba96651a6c535219f
BLAKE2b-256 4dd4e1e869a14d854059bdd2d9e1dbbeec5e5d31efd19acd1d92b24b80f39fc9

See more details on using hashes here.

Provenance

The following attestation bundles were made for pymbrewclient-1.8.0.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.8.0-py3-none-any.whl.

File metadata

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

File hashes

Hashes for pymbrewclient-1.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b5d6ed55773b2b60b18eba82a3a5c760182e21dd3acc0987f909dea5600bf513
MD5 bcc3e24766c5ac0df1e83ce6064fc08b
BLAKE2b-256 75a28990f0b0c27088b34eefe4a60d3063344a2ee5ea9dccb3f3fc0eb9c7dcd0

See more details on using hashes here.

Provenance

The following attestation bundles were made for pymbrewclient-1.8.0-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