Skip to main content

Codex of the Damned

PyPI version Validation Python version License Code Style

This site is a compilation of Vampire: the Eternal Struggle strategy resources. The site is publicly available at codex-of-the-damned.org.

Portions of the materials are the copyrights and trademarks of Paradox Interactive AB, and are used with permission. All rights reserved. For more information please visit www.worldofdarkness.com.

Dark Pack

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]"

Translating

Install a PO editor like POEdit, call the following command to generate the messages in the language you're interested in:

BABEL_LANG=es make po-update

Then open the generated catalog file, codex_of_the_damned/translations/es/LC_MESSAGES/messages.po, in your PO editor.

While translating, beware to keep the HTML tags like <p>, <em> as they are, and make sure you keep the exact same format parameters in the translated text. They include anything dynamic, from disciplines like %(cel)s and clans like %(brujah)s, to cards like %(alastor)s and external urls like %(johns_deck).

Once you're done translating, generate the translation files with:

make po

To make a new language accessible in the website, you simply have to add the matching line in the translation nav header of the global layout codex_of_the_damned/templates/layout.html:

<nav role="translation">
    {{ translation('en', "🇬🇧") }}
    {{ translation('fr', "🇫🇷") }}
</nav>

Run a dev server

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

$ codex
 * Serving Flask app "codex_of_the_damned" (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

Production deployment

To run the production server, you'll need a web server like uWSGI:

uwsgi --module codex_of_the_damned:app

or Gunicorn:

gunicorn codex_of_the_damned:app

Useful tools

Icons

Convert icons from raster to SVG using imagemagick and potrace, depending on the icon, smoothing may be better or not:

convert -morphology Smooth Octagon:2 clan-ahrimanes.gif clan-ahrimanes.svg

Google Translate

Use POEdit and Google Translate to help with translations.

Run make po to build the translation files under codex-of-the-damned/translations, edit them with POEdit, then run make po when you're done to streamline them.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

codex_of_the_damned-1.95.tar.gz (12.2 MB view details)

Uploaded Source

Built Distribution

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

codex_of_the_damned-1.95-py3-none-any.whl (12.4 MB view details)

Uploaded Python 3

File details

Details for the file codex_of_the_damned-1.95.tar.gz.

File metadata

  • Download URL: codex_of_the_damned-1.95.tar.gz
  • Upload date:
  • Size: 12.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.5

File hashes

Hashes for codex_of_the_damned-1.95.tar.gz
Algorithm Hash digest
SHA256 b233badf72d76ff7f7c98f3a6e19fa39081d16e529fcba5f7000659049192c6b
MD5 16a4306e6c9688b33d7ad2814e199271
BLAKE2b-256 1901a499fd6a899679a9cac2fe0c760f678624b77994aa413c1d1a74a119d922

See more details on using hashes here.

File details

Details for the file codex_of_the_damned-1.95-py3-none-any.whl.

File metadata

File hashes

Hashes for codex_of_the_damned-1.95-py3-none-any.whl
Algorithm Hash digest
SHA256 9d2c8a82df2ead423b75d9eff66bf73e588db860111d3cc6d9ea9e80fb4f417f
MD5 192536a4c3dec6a5068e2218d1acc193
BLAKE2b-256 09ed00b718cdfa063a2ce74a593e249996e153de5a6f15166013e41c3438497b

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.95 This release

2 files

1.94

2 files

1.93

2 files

1.92

2 files

1.91

2 files

1.90

2 files

1.89

2 files

1.88

2 files

1.87

2 files

1.86

2 files

1.85

2 files

1.84

2 files

1.83

2 files

1.82

2 files

1.81

2 files

1.80

2 files

1.79

2 files

1.78

2 files

1.77

2 files

1.76

2 files

1.75

2 files

1.74

2 files

1.73

2 files

1.72

2 files

1.71

2 files

1.70

2 files

1.69

2 files

1.68

2 files

1.67

2 files

1.66

2 files

1.65

2 files

1.64

2 files

1.63

2 files

1.62

2 files

1.61

2 files

1.60

2 files

1.59

2 files

1.58

2 files

1.57

2 files

1.56

2 files

1.55

2 files

1.54

2 files

1.53

2 files

1.52

2 files

1.51

2 files

1.50

2 files

1.49

2 files

1.48

2 files

1.47

2 files

1.46

2 files

1.45

2 files

1.44

2 files

1.43

2 files

1.42

2 files

1.41

2 files

1.40

2 files

1.39

2 files

1.38

2 files

1.37

2 files

1.36

2 files

1.35

2 files

1.34

2 files

1.33

2 files

1.32

2 files

1.31

2 files

1.30

2 files

1.29

2 files

1.28

2 files

1.27

2 files

1.26

2 files

1.25

2 files

1.24

2 files

1.23

2 files

1.22

2 files

1.21

2 files

1.20

2 files

1.19

2 files

1.18

2 files

1.17

2 files

1.16

2 files

1.15

2 files

1.14

2 files

1.13

2 files

1.12

2 files

1.11

2 files

1.10

2 files

1.9

2 files

1.8

2 files

1.7

2 files

1.6

2 files

1.5

2 files

1.4

2 files

1.3

2 files

1.2

2 files

1.1

2 files

1.0

2 files

0.22

2 files

0.21

2 files

0.20

2 files

0.19

2 files

0.18

2 files

0.17

2 files

0.16

2 files

0.15

2 files

0.14

2 files

0.13

2 files

0.12

2 files

0.11

2 files

0.10

2 files

0.9

2 files

0.8

2 files

0.7

2 files

0.6

2 files

0.5

2 files

0.4

2 files

0.3

2 files

0.2

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page