CLI and Utility for fabdb.net
Project description
fabdb-cli
A Command Line Interface and general-purpose library for querying fabdb in python.
Usage
:warning: Currently under construction :warning:
from fabdb.client import FabDBClient
client = FabDBClient()
print("Single card by ID:")
nimblism = client.get_card("nimblism-yellow")
print(nimblism.name)
print()
print("Search Cards:")
ranger_cards = client.search_cards(class_="ranger", pitch=2)
for c in ranger_cards:
# automatically handles requesting additional pages as needed
print(c)
print()
print("Find a deck:")
deck = client.get_deck("bYDmozyB")
print(deck.name)
print(deck.cards[0])
Coming Soon
- CLI interface
- Textual output formatters
- Interactive/expanded search
- Local card cache
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
fabdb-0.0.1.tar.gz
(5.7 kB
view details)
Built Distribution
fabdb-0.0.1-py3-none-any.whl
(7.0 kB
view details)
File details
Details for the file fabdb-0.0.1.tar.gz
.
File metadata
- Download URL: fabdb-0.0.1.tar.gz
- Upload date:
- Size: 5.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c9c9ce529427d19e449fc67caa7a5dadfb0bf438d1baea62d6f60dfc39d3feb4 |
|
MD5 | d80f67ce80531675666837f76a1eac54 |
|
BLAKE2b-256 | 88e37716e23c29798ae8f02278ecc45965073192c37fb3c925a7911b5a3fb8fa |
File details
Details for the file fabdb-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: fabdb-0.0.1-py3-none-any.whl
- Upload date:
- Size: 7.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 854a3d29896ba8edd0745ea8823da0cef0919d64279349bc4293d6664e28ddb7 |
|
MD5 | ed77b325eed86141d3ce4173989c46e9 |
|
BLAKE2b-256 | 242866f07b49f5adf43b8ff48169987e8afe25041f6df081aef3ae4f502656ad |