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.2.tar.gz (6.1 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.2-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for sims_reia-0.1.2.tar.gz
Algorithm Hash digest
SHA256 ebedd4c834c4526c7519b805fae9b48b851245aa2122f642a15fed398bdfe4e2
MD5 3f7d871835341a589e5e12ce6104c570
BLAKE2b-256 b2e2be59ee23dc661fc0237c7aeead916242e7271f597b16f830c2698b0f4fc1

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for sims_reia-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 fe1c764ff8ce0919500d17e23df330b7955e0331d0b99584b9b9d5d454b7d4c9
MD5 d27a3c2bc191b5a59ab0efae4f37c34c
BLAKE2b-256 bf5e3529ea704bb6a27cd6c7444416337cdad2131c6c6269cd4263d14662249e

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