Skip to main content

Local board game collection manager. Powered by BoardGameGeek.

Project description

meeple-cli

build status pre-commit codecov pypi downloads

Local board game collection manager. Powered by BoardGameGeek.

Disclaimer: Neither meeple-cli nor its maintainers are affiliated with BoardGameGeek.

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 an item to a collection.
  collections  List all collections.
  delete       Delete a collection.
  drop         Remove an item 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 a new collection.
  rename       Rename a local collection.
  stats        Print out the details of a collection.
  update       Update local collection data.

BoardGameGeek Commands:
  hot     List current BoardGameGeek trending items.
  info    Print out the details of an item.
  open    Open an item on BoardGameGeek.
  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/GeekLists.

While it is technically feasible to interface with GeekLists via webscrapers/spiders, this kind of practice would be both complex and also violate BoardGameGeek Terms of Service.

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 account for this automatically and display 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.

License

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

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

meeple_cli-0.1.0rc1.tar.gz (25.3 kB view details)

Uploaded Source

Built Distribution

meeple_cli-0.1.0rc1-py3-none-any.whl (30.3 kB view details)

Uploaded Python 3

File details

Details for the file meeple_cli-0.1.0rc1.tar.gz.

File metadata

  • Download URL: meeple_cli-0.1.0rc1.tar.gz
  • Upload date:
  • Size: 25.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.3

File hashes

Hashes for meeple_cli-0.1.0rc1.tar.gz
Algorithm Hash digest
SHA256 607e81cc16f8b6736ca30f92707a8b72f4ea0e14046d3380aaf0606a9466e9e4
MD5 5c95c363cbbeed3efc6ec95bded4570c
BLAKE2b-256 3d612a2bb475519185dddeaeeb49b95a29339a1e8c662de24b33d1bde707d937

See more details on using hashes here.

File details

Details for the file meeple_cli-0.1.0rc1-py3-none-any.whl.

File metadata

File hashes

Hashes for meeple_cli-0.1.0rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 75cab8faa4ae9186bdd080275c9a11c0b6eb86c0c8fc855bfde8df9be670af13
MD5 0f5435079b16b2533b57fbe9f0d92591
BLAKE2b-256 c5b129f12180f0ed731fd25217bcc4bf7eaac146f2106c39e9d36ba274dbd4bb

See more details on using hashes here.

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