Giter VIP home page Giter VIP logo

pyspellbook's Introduction

pySpellbook

A PDF spellbook creation utility in python

What is it?

Do you play a spellcaster in a d20 like game? Chances are, that you do not know all your spells and effects by heart. This software lets you browse, filter and organize your spells and choose a selection of spells to generate a pdf version of the spellbook for printing and looking awesome at the table.

Previews

How to install?

Windows

Download the current release from [Releases] (https://github.com/christofsteel/pySpellbook/releases)

Mac OSX

Download the current release from [Releases] (https://github.com/christofsteel/pySpellbook/releases)

Linux (Ubuntu/Debian)

See https://launchpad.net/~christofsteel/+archive/ubuntu/pyspellbook for instructions on how to add the PPA to your system. Debian users can pick any release, they contain the same files anyway.

Linux (Archlinux)

You can install pyspellbook from the [AUR] (http://aur.archlinux.org)

Linux (Other)

If you are on linux and have python 3 and pip installed, then install it via

pip install pySpellbook

this will fetch all python dependencies and install the binary pySpellbook.

Prince

pySpellbook uses Prince to render the pdf output. Unfortunately Prince is not open source software, but free for personal use.

The first run wizard should install Prince on your system, but you can decide to install it manually from http://www.princexml.com.

If you do not want to use Prince, you can use an internal renderer or print the intermediate html with your favourite browser (Firefox recommended), but those have serious drawbacks in terms of support for printed media css.

How to add spells?

Either by [hand] (https://github.com/christofsteel/pySpellbook/wiki/generateDatasets), or import a dataset through the wizard or download it here:

Licenses

The text of every license can be found under LICENSES.

Since the windows binary builds also include the libraries used:

pyspellbook's People

Contributors

christofsteel avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

pyspellbook's Issues

Somehow get domain lists into the Spellbook

One Idea would be, to abstract from the levels.

Currently a 'Level' is just an integer 0 means 'Level 0' etc... one could implement it as a String 'Level 0', so the strings 'air', 'earth', 'chaos' are just levels as well. This would break compatibility with old datasets.

Add dndtools parser

Same problems as #7, but they offer a downloadable version of the page. Some work is already done.

Change area, target, etc into one attribute

More exactly two attributes. One for the name, the other for the value.

E.g.:

effect_name:  "Target", 
effect_value: "Self"

or

effect_name:  "Area or Target",
effect_value: "15 foot cone or creature touched"

This again will break compatibility.

Update notifications

Windows and Mac OS users do not have a package manager. One should insert an update notification, if the running version is outdated.

Add Archive of Nethys parser

The Problem here is, that the dataset HAS to be created locally, since I cannot redistribute the content of AoN as it does not completely fall under OGL. This can be integrated into the First Run Wizard, but:

  • This makes installing pySpellbook less straight forward
  • This will take a lot of time, since the Server ist quite slow sometimes

Make an android app

Maybe.. far far in the future... make this an Android app. Likely without the pdf generation part, browsing and filtering should be possible.

Translatable Stings

As of now, all strings are hardcoded english. Using QT one can use the systems default language.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.