Skip to main content

A Django app for the Oracle text of all Magic: the Gathering cards.

Project description

https://badge.fury.io/py/django-magic-cards.svg https://travis-ci.org/pbaranay/django-magic-cards.svg?branch=master https://codecov.io/gh/pbaranay/django-magic-cards/branch/master/graph/badge.svg

Django Magic Cards is a pluggable Django app for the Oracle text of all Magic: the Gathering cards.

Documentation

The full documentation is at https://django-magic-cards.readthedocs.io.

Quickstart

Install the package:

pip install django-magic-cards

Add the app to your INSTALLED_APPS:

INSTALLED_APPS = (
    ...
    'magic_cards.apps.MagicCardsConfig',
    ...
)

Add Django Magic Cards’ tables to your the database:

./manage.py migrate magic_cards

Populate the card database:

./manage.py import_magic_cards

Acknowledgments

Disclaimer

The literal and graphical information presented in this software about Magic: the Gathering, including Oracle text and card images, is copyright Wizards of the Coast, LLC, a subsidiary of Hasbro, Inc. This project is not produced by, endorsed by, supported by, or affiliated with Wizards of the Coast.

History

0.4.1 (2017-10-26)

  • Improve Unicode handling on Python 2, allowing the Printings admin page to load properly (#27).

0.4.0 (2017-10-04)

  • Update a Card’s data (text, loyalty, types, etc.) when a set is re-imported (#23).

0.3.0 (2017-09-28)

  • Store planeswalkers’ starting loyalty (#19).

  • Correctly populate flavor text.

  • Fix issue that crashed re-importing a set without multiverse IDs.

0.2.0 (2017-08-16)

  • Speed up import function (#9).

  • Implement basic admin pages (#7).

0.1.1 (2017-08-10)

  • Increase maximum length of a Card’s name (#2).

0.1.0 (2017-08-08)

  • First release on PyPI.

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

django-magic-cards-0.4.1.tar.gz (10.4 kB view details)

Uploaded Source

Built Distribution

django_magic_cards-0.4.1-py2.py3-none-any.whl (14.7 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file django-magic-cards-0.4.1.tar.gz.

File metadata

File hashes

Hashes for django-magic-cards-0.4.1.tar.gz
Algorithm Hash digest
SHA256 87e60b488e103a653e73d2f15babcbba90a28242c7ed3085303e1e7b7673c08d
MD5 376418a5f1dfa690b0ce841a71854fb3
BLAKE2b-256 73c204f209dde988068aa672f42d56b26bc7be0c28be34a0d9df59abefff3e90

See more details on using hashes here.

File details

Details for the file django_magic_cards-0.4.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for django_magic_cards-0.4.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 8fca56951dbe06657f210671498e8bfe4a8d0ff50ae0a1908e55861b6842083b
MD5 7067c6ab74f98a4c7441931d609a5a3e
BLAKE2b-256 0e38e5b8a502f68f284d57613efb344ff422204f7556544834501414819fa934

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