Skip to main content

No project description provided

Project description

Sims2 Reia File Library

This is a parser for Sims 2 .reia files in Python.

Basic Usage

Read a .reia file:

with open("N001.reia", "rb") as f:
    reia_file = sims_reia.read_from_file(input)
    print(f"resolution={reia_file.width}x{reia_file.height}, fps={reia_file.frames_per_second}")

    for i, frame in enuemrate(reia_file.frames):
        frame.image.save(f"frame{i}.png")

Testing

poetry run pytest

Formatting

poetry run black .

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sims_reia-0.1.1.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sims_reia-0.1.1-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

Details for the file sims_reia-0.1.1.tar.gz.

File metadata

  • Download URL: sims_reia-0.1.1.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.8.3 Windows/10

File hashes

Hashes for sims_reia-0.1.1.tar.gz
Algorithm Hash digest
SHA256 e39975942722aa0b77ff26e1f58114ef340361cbd9d2e1dc996ebbf9fd3f47d7
MD5 b91648bcb4f9919eef068e9dd4afeb41
BLAKE2b-256 0bcf1c8c3372220e16bf25f98292b0f778d28a444d7f4ec41ca3a9fc503082e0

See more details on using hashes here.

File details

Details for the file sims_reia-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: sims_reia-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 7.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.8.3 Windows/10

File hashes

Hashes for sims_reia-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 67228dfeb57d95f9843ca1076bf5e20ad66e6ee7ca1465513205d73d886977af
MD5 5894adbd83c01b7359861eb6ba30aa61
BLAKE2b-256 922c3db33282be0f758632d455eb0a1598c5c9e4358edebe6d888b6b6834f574

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page