Skip to content
This repository was archived by the owner on Mar 24, 2026. It is now read-only.

Latest commit

 

History

187 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

levelz-py

Python bindings & API for the LevelZ File Format

GitHub Release

Overview

Provides Python Parsing/Support for the LevelZ File Format.

Download

pip install levelz

Usage

from levelz import Coordiante2D

coord = Coordiante2D(1, 2)
print(coord)
from levelz import parse_lines, Level2D

lines = [
    "@type 2",
    "@spawn default",
    "---",
    "grass: [0, 0]*[0, 1]"
]

level: Level2D = parse_lines(lines)
from levelz import parse_file

level = parse_file("level.lvlz")
print(level)

About

Python Parser & API for the LevelZ File Format

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

1 star

Watchers

1 watching

Forks

Releases

Sponsor this project

Used by

Contributors

Languages