Local board game collection manager. Powered by BoardGameGeek.
Project description
meeple-cli
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 collections.
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 new collections.
rename Rename a collection.
stats Print out the details of a collection.
update Update collection data.
BoardGameGeek Commands:
hot List current BoardGameGeek trending items.
import Import BoardGameGeek user collections.
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 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 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file meeple_cli-1.0.0.tar.gz
.
File metadata
- Download URL: meeple_cli-1.0.0.tar.gz
- Upload date:
- Size: 30.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff3f8504b1240ae4617371696941a9e0a443566572720d9a752b975f6576a6a2 |
|
MD5 | baf1273c6c2758047a4930222c822585 |
|
BLAKE2b-256 | 3043023ef30bb5fb0c1e8dd9697216e1cf8acb31483081c94d43bc9ffc1dc672 |
File details
Details for the file meeple_cli-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: meeple_cli-1.0.0-py3-none-any.whl
- Upload date:
- Size: 35.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7fc58d3dac2af43c3788620a3ccc1baf425dc5a3edbda81e9d7efe44a62945da |
|
MD5 | c8850b11d5d96adef4dc44a981a99654 |
|
BLAKE2b-256 | 1f219cf70728fcff2b3c1766701f6d62041ad549d714b8693a3a4f8c31f15baa |