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.3.tar.gz (23.4 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.3-py3-none-any.whl (16.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pymbrewclient-1.7.3.tar.gz
Algorithm Hash digest
SHA256 1f93baa7cc7433a4c810ce7fdb3b2fad6784b8d1742c6dca2769d0cd3755fd07
MD5 5bfe9f7e104ea1731b3f5ed5995e5005
BLAKE2b-256 e123e470dbd1ba598ad9928971274a2018782d025c55c4cc26ecb7e61fccc981

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: pymbrewclient-1.7.3-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.12

File hashes

Hashes for pymbrewclient-1.7.3-py3-none-any.whl
Algorithm Hash digest
SHA256 4e240028750309624ac9d2fba30aa5c6e2d25e9c9d26049ec5ca578b06983fe7
MD5 055367da0386e808293b92daf50351e2
BLAKE2b-256 2958294b0686b2bc186c581f57914bd1f31862cb148e264c84fbe6870f21cbfc

See more details on using hashes here.

Provenance

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