Skip to main content

"A website about MtG Duel Strategy",

Project description

Barrin's Codex

A website about MtG Duel Commander Strategy

Special Thanks

I started working with lionel-panhaleux on a project during first lockdown (around April 2020). We worked on his Codex of the Damned (repo) to support internationalisation. The whole structure of this project is derived from his Codex, hence the name as a small tribute.

Contributing

Contributions are welcome. Pull Requests will be merged if they respect the general style. Issues will be dealt with as quickly as possible.

This site uses Flask and Babel to generate pages dynamically and handle internationalisation.

Installation

To install a working developpment version of the site, use pip:

python3 -m venv venv
pip install -e ".[dev]"

Before running the Codex

You will have to run a few commands to have an updated card database :

cd ./barrins_codex
make library
make clean

Run the Codex

You can run the development version of the site using the codex entrypoint:

$ codex
* Serving Flask app "barrins_codex" (lazy loading)
* Environment: production
  WARNING: This is a development server. Do not use it in a production deployment.
  Use a production WSGI server instead.
* Debug mode: off
* Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)

You can set the DEBUG environment variable to activate the debug mode:

DEBUG=1 codex

Utils

There are some utils provided in the codex:

  • decklist to JSON
cd ./barrins_codex
python ./build_deck.py PATH_TO_FILE

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

barrins_codex-0.2.1.tar.gz (3.8 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

barrins_codex-0.2.1-py3-none-any.whl (3.8 MB view details)

Uploaded Python 3

File details

Details for the file barrins_codex-0.2.1.tar.gz.

File metadata

  • Download URL: barrins_codex-0.2.1.tar.gz
  • Upload date:
  • Size: 3.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.8.2

File hashes

Hashes for barrins_codex-0.2.1.tar.gz
Algorithm Hash digest
SHA256 645ea6e1d8266a9930bc4025169757d090635ff9151cb4b9220a4c3848e4210a
MD5 3a4f10c847bfa313447d5ab3af5c63f7
BLAKE2b-256 b137d13d4ec870401303c506eb21f941c117cc73c078d2fb9a70b60eda640dda

See more details on using hashes here.

File details

Details for the file barrins_codex-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: barrins_codex-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 3.8 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.8.2

File hashes

Hashes for barrins_codex-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 13fd2d3e374ca8a36361e009efb41d9833a56b8de7376ec363ff5bdbfafd57d6
MD5 8afa2283bb6433d7369eca0753ee3352
BLAKE2b-256 34ed5f1cab72baf9d939185b3f35758d73fd355dfd39337bc467df34d4b12292

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page