Skip to main content

aseprite_reader is a Python module for reading and rendering Aseprite files.

Usage

The AsepriteFile class can read and render Aseprite files.

Example: Render an Aseprite file to a PNG

from pathlib import Path

from aseprite_reader impor AsepriteFile

src = Path("my_sprite.aseprite")
dst = Path("my_sprite.png")

file = AsepriteFile(src)
file.render(file.frame(1), dst)

Example: Render all frames in an Asprite file as PNGs

from pathlib import Path

from aseprite_reader impor AsepriteFile

src = Path("my_sprite.aseprite")

file = AsepriteFile(src)
for frame_number, frame in file.iter_frames():
    dst = Path(f"my_sprite.{frame_number:04d}.png")
    file.render(frame, dst)

Development

Create a virtual environment:

uv venv

Install requirements:

uv sync

A note from Andrew

This is a module that I created and maintain for my own personal projects. Please keep the following in mind:

  • Not all Asprite features are supported.
  • Issues are fixed as my time and interest allow.
  • Version updates may introduce breaking changes.

Metadata

Release files for aseprite-reader 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aseprite-reader 1.1.0
File Size Uploaded
aseprite_reader-1.1.0.tar.gz 13.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for aseprite-reader 1.1.0
File Interpreter ABI Platform
aseprite_reader-1.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 37.7 kB

Release files / aseprite_reader-1.1.0.tar.gz

Download URL aseprite_reader-1.1.0.tar.gz
Size 13.3 kB
Tags Source
SHA-256 checksum
How to use checksums
36a416c95e9f0225c3bb16820c352725ae695bf1378ec74b4151824e894001f7
BLAKE2b-256 checksum
How to use checksums
a7ef89db46b10b40acdf9fb29af3300bd82398cff3ebfa60155ec997e319e3c6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.10 {"installer":{"name":"uv","version":"0.9.10"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Linux Mint","version":"22.3","id":"zena","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / aseprite_reader-1.1.0-py3-none-any.whl

Download URL aseprite_reader-1.1.0-py3-none-any.whl
Size 24.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0b443f7f6b1af279d1c16b12a2095165ab3e367d5488f50e27e462cdcdcc756f
BLAKE2b-256 checksum
How to use checksums
86a537851b633dc23b396dbae8b90e4b3bff5a61070e9c3e26a360e168ee2b0e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.10 {"installer":{"name":"uv","version":"0.9.10"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Linux Mint","version":"22.3","id":"zena","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page