Skip to main content

meeple-cli

build status pre-commit codecov pypi downloads

meeple-cli is a local board game collection manager. Powered by BoardGameGeek.

Jump to: Installation | Usage | Completions | Changelog | Roadmap | FAQ | Legal

Install

Via Homebrew (Recommended on macOS/Linux)

brew tap boldandbrad/tap
brew install meeple-cli

Via pipx (Recommended on Windows):

pipx install meeple-cli

Via pip:

pip install meeple-cli

Usage

$ meeple --help
Usage: meeple [OPTIONS] COMMAND [ARGS]...

  Local board game collection manager. Powered by BoardGameGeek.

Options:
  -h, --help     Show this message and exit.
  -v, --version  Show the version and exit.

Collection Commands:
  add          Add items to a collection.
  collections  List all collections.
  delete       Delete collections.
  drop         Drop items from a collection.
  find         Search collections for items.
  list         List contents of a collection.
  move         Move an item from one collection to another.
  new          Create new collections.
  rename       Rename a collection.
  stats        View collection statistics.
  update       Update collection data.

BoardGameGeek Commands:
  campaigns  List active crowdfunding campaigns.
  hot        List current BoardGameGeek trending items.
  import     Import BoardGameGeek user collections.
  info       View item details.
  open       Open items in the browser.
  search     Search BoardGameGeek for items.

Other Commands:
  completions  Setup meeple shell completions.

Completions

meeple-cli supports shell completions for bash, zsh, and fish. For setup, use meeple completions <SHELL>, or the following instructions:

bash

Add the following to ~/.bashrc:

eval "$(_MEEPLE_COMPLETE=bash_source meeple)"
zsh

Add the following to ~/.zshrc:

eval "$(_MEEPLE_COMPLETE=zsh_source meeple)"
fish

Save the script to ~/.config/fish/completions/meeple.fish:

_MEEPLE_COMPLETE=fish_source meeple > ~/.config/fish/completions/meeple.fish

Changelog

See a history of implemented features/changes in the Changelog.

Roadmap

See a list of planned features and milestones here.

FAQ

Why local only collections?

Currently, the BoardGameGeek Public API provides limited read-only data about user Collections and GeekLists.

While it is technically feasible to interface with Collections and GeekLists via webscrapers or spiders, these approaches would be complex and also violate BoardGameGeek Terms of Service.

For now, it is possible to import BGG user collections into meeple-cli via meeple import.

Why does collection import take so long?

Currently, the BoardGameGeek Public API relies on queued jobs to create a snapshot of a user's collection on demand. Depending on the length of the queue or size of your BGG collection, the job may take several minutes or longer to complete. You can read more about this issue in this thread.

If your request times out, or exceeds the BGG API rate limit, please be patient and try again later.

Why do some items show a weight of NA when boardgamegeek.com has a value?

This is a known and occasionally recurring bug in the BoardGameGeek database. It usually resolves itself within a day. For more info or additional support, read this thread.

Luckily for us, game weights do not often change drastically. In most cases, we can assume that the weight from yesterday is close enough. In the future, meeple-cli will attempt to compensate for this issue automatically by displaying the last known value by default, if there is one.

Where does meeple-cli store data?

meeple-cli stores collection data in ~/.meeple and only makes network connections to retrieve data from the BoardGameGeek API.

Disclaimers

  • Neither meeple-cli nor its maintainers are affiliated with BoardGameGeek.
  • Neither meeple-cli nor its maintainers are affiliated with Kickstarter, Gamefound, or any other crowdfunding site or campaign. Links to crowdfunding campaigns surfaced by meeple-cli are sourced from Boardgamegeek and are provided for convenience purposes only. Back campaigns at your own risk.

License

Copyright (c) 2023 Bradley Wojcik. Released under the MIT License. See LICENSE for details.

Metadata

Release files for meeple-cli 1.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for meeple-cli 1.3.1
File Size Uploaded
meeple_cli-1.3.1.tar.gz 34.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for meeple-cli 1.3.1
File Interpreter ABI Platform
meeple_cli-1.3.1-py3-none-any.whl Python 3 none any Details

Total release size: 74.0 kB

Release files / meeple_cli-1.3.1.tar.gz

Download URL meeple_cli-1.3.1.tar.gz
Size 34.7 kB
Tags Source
SHA-256 checksum
How to use checksums
382b47f9b327a28539bc6504ef3fade0dae51410acb96bd3fff9175dbf99081a
BLAKE2b-256 checksum
How to use checksums
0171a6cce77a9d0eecc8cea7ec4e71c7e3f643f3c1c410b1288bc117a9466efa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.7

Release files / meeple_cli-1.3.1-py3-none-any.whl

Download URL meeple_cli-1.3.1-py3-none-any.whl
Size 39.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
47f4203accaac83a39005915dae4b0d4cb27f148919290f72af66ec1ae62fd37
BLAKE2b-256 checksum
How to use checksums
512be48a4c53c6b1c6fe4f1a9fffa4055f6b2c7045ecbf77c25550e43c43682d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.7
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page