Metadata-Version: 2.1
Name: pywowgen
Version: 0.0.21a0
Summary: Generate and configure Workadventure worlds, maps and resources
Home-page: https://git.cccwi.de/2dwt/wowgen
Author: tigabeatz
Author-email: tigabeatz@cccwi.de
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Development Status :: 3 - Alpha
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: Pillow (>=9.0.0)
Requires-Dist: requests (>=2.27.1)
Requires-Dist: flask (>=1.10.1)
Requires-Dist: GitPython (>=3.1.26)

# pywowgen

Create Workadventure maps and worlds (set of interconnected maps) suitable for "rc3" or "vanilla" Workadventure
instances

- Generate Maps from templates and generator scripts
- Check maps for errors and missing resources and display this in an interactive graph view
- Fix map errors using the graph view
- Apply some overwrites and fixes to generate maps which will run in default workadventure and / or the community / rc3
  edition.
- Merge resources metadata (licenses, ...) into a single file info to be used in maps

## Use the CLI

    # optionally set the env WOWGEN_EXTRA prior execution to define where all the resources go. If not set, its will be set to the operating systems temp dir
    # e.g. WOWGEN_EXTRA=/tmp/wowgen_extra

    # load external resources from git and verify installation
    pywowgen test

    # run the api
    pywowgen api --res ${WOWGEN_EXTRA}\wowgen.git\res --tmp ${WOWGEN_EXTRA}\TMP --fin ${WOWGEN_EXTRA}\sites --force True
    
    # check a resource folder
    pywowgen overview --path ${WOWGEN_EXTRA}\wowgen.git\res 
    
    # run a world build
    pywowgen world --file . ${WOWGEN_EXTRA}\wowgen.git\examples\default_pipeline.json --res ${WOWGEN_EXTRA}\wowgen.git\res --tmp .${WOWGEN_EXTRA}\wowgen.git\sites\default_pipeline --fin ${WOWGEN_EXTRA}
    
    # analyze a world build
    pywowgen check --path  ${WOWGEN_EXTRA}\wowgen.git\sites\default_pipeline

    
    

