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.0.tar.gz (5.9 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.0-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sims_reia-0.1.0.tar.gz
  • Upload date:
  • Size: 5.9 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.0.tar.gz
Algorithm Hash digest
SHA256 0be9aff60c6d1869aed818e73fcb3f321d94f9f7798c0d357185934a010504e2
MD5 4a7d70e804f39c0051bd167eefe22d49
BLAKE2b-256 ea95febcca2e2f8c3f951a468cc565921b25e8727dfef466392810b9cfa47830

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sims_reia-0.1.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 032100fcb227be2d87e3da0bf5ae1bc27875260e381651bf74f02cd4bd1845a2
MD5 a543ceb388b4efa7b804b2dbb438fa14
BLAKE2b-256 089251182a4c4a2e68f66b2e381457cb37171ec612cdf1ca722c64b43f478a59

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