PyFABDB
PyFABDB is a Python library to access the Flesh and Blood DB API. The Python library enables you to access all public Flesh and Blood DB API endpoints using Python.
Install
$ pip install pyfabdb
Examples
>>> from pyfabdb import pyfabdb
>>> fabdb = pyfabdb.PyFabdb()
>>> card = fabdb.get_card(id="absorb-in-aether-red")
>>> print(card["name"])
Absorb in Aether
Contributing
All help is welcomed!
1. Setting up an environment
The easiest way to set up a test environment is to run:
tox --devenv venvsource venv/bin/activate
2. Running all the tests
After making your changes and creating new test for any changes, you will need to ensure all test pass. Running all the test can be done by running tox -e py.
3. Install pre-commit
With the environment created by tox, run:
pip install pre-commitpre-commit install
4. Create a pull requests
Create a pull request following the pull request template. A maintainer will review the changes made, update the changelog and release the new version of pyfabdb.
Metadata
Release files for pyfabdb 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyfabdb-0.1.0.tar.gz | 4.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyfabdb-0.1.0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 10.2 kB
Release files / pyfabdb-0.1.0.tar.gz
| Download URL | pyfabdb-0.1.0.tar.gz |
|---|---|
| Size | 4.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ce289356a3850c3993488d13fa4c2016a760eecb9235c5978c89e1318cc42b7d
|
|
BLAKE2b-256 checksum How to use checksums |
c93ca81c338cdbbd200ccdd8bcb4be7bd24c716f39343841a7bffa28cee5e659
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.10
|
Release files / pyfabdb-0.1.0-py2.py3-none-any.whl
| Download URL | pyfabdb-0.1.0-py2.py3-none-any.whl |
|---|---|
| Size | 5.4 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
86d41a267ca8850b2a08430c794facce584a57e9f66349723ddf93a400445b04
|
|
BLAKE2b-256 checksum How to use checksums |
20b75ee345ffd03b2ecbb4c457fa3d750e8e49b50ef904079f65a70a27748388
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.10
|