view pytouhou/formats/__init__.py @ 784:1f152ca95658

Replace pytouhou.utils.random.Random with a Rust version libtouhou.Prng now supports having its seed generated randomly using the getrandom crate, and is now exposed to Python.
author Link Mauve <linkmauve@linkmauve.fr>
date Sun, 23 Nov 2025 12:48:03 +0100
parents 70e2ed71b09c
children
line wrap: on
line source

"""Touhou games file formats handling.

This package provides modules to handle the various proprietary file formats
used by Touhou games.
"""

class WrongFormatError(Exception):
    pass

class ChecksumError(Exception):
    pass