tiny-dungeon


Nametiny-dungeon JSON
Version 0.9.0 PyPI version JSON
download
home_page
SummaryCharacter Generator for the Tiny Dungeon RPG (1st Edition)
upload_time2024-01-18 03:59:38
maintainer
docs_urlNone
authorJeremy Deram
requires_python>=3.8
license
keywords dungeons dragons tiny dungeon rpg
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # tiny-dungeon-chargen
Python package to generate player characters for the
[Tiny Dungeon](https://www.drivethrurpg.com/product/144545/Tiny-Dungeon-Print-and-Play-Bundle)
tabletop roleplaying game (1st edition) by Brandon McFaddon.

## Installation
This package may be installed from pypi via pip:
```
python -m pip install tiny-dungeon
```

## Usage
Instantiate a character
```python
>>> from tiny_dungeon.char import TinyDungeonPC
>>>
>>> pc = TinyDungeonPC()
>>>
>>> # view as dictionary
>>> pc.as_dict()
{'race': 'Fey', 'hp': 6, 'race_trait': 'Bow Mastery', 'race_trait_desc': 'You have Mastered bows and have Advantage when using them. This is in addition to the Mastered weapon chosen at Adventurer Creation.', 'trait1': 'Acrobat', 'trait1_desc': 'You gain Advantage when Testing to do acrobatic tricks such as tumbling, long-distance jumps, climbing, and maintaining balance.', 'trait2': 'Marksman', 'trait2_desc': 'When you Focus, your next attack with a ranged weapon is successful on a Test of 3, 4, 5, or 6.', 'trait3': 'Nimble Fingers', 'trait3_desc': 'You gain Advantage when Testing to pick locks, pick pockets, or steal.', 'weapon_proficiency': 'Ranged', 'weapon': 'Throwing Knives', 'gold_pieces': 10, 'equipment': ['bedroll', 'flint and steel', 'belt pouch', 'rucksack', 'lantern', 'empty waterskin', 'oil (3 pints)', "50' rope", 'rations (7 days)', 'torch', 'cloak'], 'family_trade': ''}
>>>
>>> # print character to STDOUT
>>> pc.print_char()


NAME: _________________________________

RACE: Fey

HIT POINTS: 6

WEAPON PROFICIENCY: Ranged

WEAPON: Throwing Knives

MASTERED WEAPON: ______________________

TRAITS
------------
Bow Mastery: You have Mastered bows and have Advantage when using them. This is in addition to the Mastered weapon chosen at Adventurer Creation.
Acrobat: You gain Advantage when Testing to do acrobatic tricks such as tumbling, long-distance jumps, climbing, and maintaining balance.
Marksman: When you Focus, your next attack with a ranged weapon is successful on a Test of 3, 4, 5, or 6.
Nimble Fingers: You gain Advantage when Testing to pick locks, pick pockets, or steal.

EQUIPMENT
------------
bedroll
flint and steel
belt pouch
rucksack
lantern
empty waterskin
oil (3 pints)
50' rope
rations (7 days)
torch
cloak

GOLD PIECES: 10

```

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "tiny-dungeon",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": "",
    "keywords": "Dungeons,Dragons,Tiny Dungeon,RPG",
    "author": "Jeremy Deram",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/51/0c/72d787c193e5daa18f6756a7889e91e6acf6d52da5a32167b0bda3931029/tiny_dungeon-0.9.0.tar.gz",
    "platform": null,
    "description": "# tiny-dungeon-chargen\nPython package to generate player characters for the\n[Tiny Dungeon](https://www.drivethrurpg.com/product/144545/Tiny-Dungeon-Print-and-Play-Bundle)\ntabletop roleplaying game (1st edition) by Brandon McFaddon.\n\n## Installation\nThis package may be installed from pypi via pip:\n```\npython -m pip install tiny-dungeon\n```\n\n## Usage\nInstantiate a character\n```python\n>>> from tiny_dungeon.char import TinyDungeonPC\n>>>\n>>> pc = TinyDungeonPC()\n>>>\n>>> # view as dictionary\n>>> pc.as_dict()\n{'race': 'Fey', 'hp': 6, 'race_trait': 'Bow Mastery', 'race_trait_desc': 'You have Mastered bows and have Advantage when using them. This is in addition to the Mastered weapon chosen at Adventurer Creation.', 'trait1': 'Acrobat', 'trait1_desc': 'You gain Advantage when Testing to do acrobatic tricks such as tumbling, long-distance jumps, climbing, and maintaining balance.', 'trait2': 'Marksman', 'trait2_desc': 'When you Focus, your next attack with a ranged weapon is successful on a Test of 3, 4, 5, or 6.', 'trait3': 'Nimble Fingers', 'trait3_desc': 'You gain Advantage when Testing to pick locks, pick pockets, or steal.', 'weapon_proficiency': 'Ranged', 'weapon': 'Throwing Knives', 'gold_pieces': 10, 'equipment': ['bedroll', 'flint and steel', 'belt pouch', 'rucksack', 'lantern', 'empty waterskin', 'oil (3 pints)', \"50' rope\", 'rations (7 days)', 'torch', 'cloak'], 'family_trade': ''}\n>>>\n>>> # print character to STDOUT\n>>> pc.print_char()\n\n\nNAME: _________________________________\n\nRACE: Fey\n\nHIT POINTS: 6\n\nWEAPON PROFICIENCY: Ranged\n\nWEAPON: Throwing Knives\n\nMASTERED WEAPON: ______________________\n\nTRAITS\n------------\nBow Mastery: You have Mastered bows and have Advantage when using them. This is in addition to the Mastered weapon chosen at Adventurer Creation.\nAcrobat: You gain Advantage when Testing to do acrobatic tricks such as tumbling, long-distance jumps, climbing, and maintaining balance.\nMarksman: When you Focus, your next attack with a ranged weapon is successful on a Test of 3, 4, 5, or 6.\nNimble Fingers: You gain Advantage when Testing to pick locks, pick pockets, or steal.\n\nEQUIPMENT\n------------\nbedroll\nflint and steel\nbelt pouch\nrucksack\nlantern\nempty waterskin\noil (3 pints)\n50' rope\nrations (7 days)\ntorch\ncloak\n\nGOLD PIECES: 10\n\n```\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "Character Generator for the Tiny Dungeon RPG (1st Edition)",
    "version": "0.9.0",
    "project_urls": {
        "homepage": "https://github.com/jderam/tiny-dungeon-chargen"
    },
    "split_keywords": [
        "dungeons",
        "dragons",
        "tiny dungeon",
        "rpg"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d4c7fa06513a40476c2bbabd1eb092301ea75e5c63890356c67ca43bdd0da58c",
                "md5": "4b378766cfa987ae8d9c1810cc29a11a",
                "sha256": "77b627366be6d5ab78fb98695db4816a4f3ce197d1938fa51281d43f348a937a"
            },
            "downloads": -1,
            "filename": "tiny_dungeon-0.9.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "4b378766cfa987ae8d9c1810cc29a11a",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 5975,
            "upload_time": "2024-01-18T03:59:36",
            "upload_time_iso_8601": "2024-01-18T03:59:36.460435Z",
            "url": "https://files.pythonhosted.org/packages/d4/c7/fa06513a40476c2bbabd1eb092301ea75e5c63890356c67ca43bdd0da58c/tiny_dungeon-0.9.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "510c72d787c193e5daa18f6756a7889e91e6acf6d52da5a32167b0bda3931029",
                "md5": "96c858171f6d187ede4e9b62d16e2534",
                "sha256": "f1ec7247530b9557f186388f6b1a13a60170ad861390570f9a4ab1c74fdd5d25"
            },
            "downloads": -1,
            "filename": "tiny_dungeon-0.9.0.tar.gz",
            "has_sig": false,
            "md5_digest": "96c858171f6d187ede4e9b62d16e2534",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 6208,
            "upload_time": "2024-01-18T03:59:38",
            "upload_time_iso_8601": "2024-01-18T03:59:38.182514Z",
            "url": "https://files.pythonhosted.org/packages/51/0c/72d787c193e5daa18f6756a7889e91e6acf6d52da5a32167b0bda3931029/tiny_dungeon-0.9.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-01-18 03:59:38",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "jderam",
    "github_project": "tiny-dungeon-chargen",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "tiny-dungeon"
}
        
Elapsed time: 0.23505s