Skip to main content

A simple package for reading Halo tag files.

Project description

A simple python library for reading (and perhaps writing in the future) Halo 2 tag files. Allows for tags to be introspected on any platform without the hassle of using the official tools.

SemVer may eventually be used but for now the API is unstable and subject to change at any time. Tag layouts are defined in XML in a separate repository and are compiled into a pickled format during package installation. The package license does not cover this layout metadata.

Sample usage

from Pytolith import TagSystem
import os

# initialize new tag system using layouts packaged with Pytolith
system = TagSystem()

MY_H2EK_TAGS_FOLDER = r"T:\SteamLibrary\steamapps\common\H2EK\tags"
BRUTE_TAG_PATH = r"objects\characters\brute\brute.biped"

path = os.path.join(MY_H2EK_TAGS_FOLDER, BRUTE_TAG_PATH)

# load the brute tag
tag1 = system.load_tag_from_path(path)
# inspect the feign_death_chance setting
print(tag1.fields.feign_death_chance)

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

pytolith-0.0.6.tar.gz (362.7 kB view details)

Uploaded Source

Built Distribution

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

Pytolith-0.0.6-py3-none-any.whl (452.4 kB view details)

Uploaded Python 3

File details

Details for the file pytolith-0.0.6.tar.gz.

File metadata

  • Download URL: pytolith-0.0.6.tar.gz
  • Upload date:
  • Size: 362.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for pytolith-0.0.6.tar.gz
Algorithm Hash digest
SHA256 4598f6b0de1b147da6cba838f50c9bdd4eca8a4d4e774a2aa39c3de5569e1f02
MD5 479e74ee5baf11a147900e2b9dc2095b
BLAKE2b-256 727bea04e76ff81452783828c30e6e7a034a7d66d9a74fc9d40bc340a472e087

See more details on using hashes here.

Provenance

The following attestation bundles were made for pytolith-0.0.6.tar.gz:

Publisher: build.yml on num0005/Pytolith

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file Pytolith-0.0.6-py3-none-any.whl.

File metadata

  • Download URL: Pytolith-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 452.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for Pytolith-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 82ed124d2c80b3f14e468126924efb7c428f60767a9ca241d18cbd53bba06a7c
MD5 a692a7289c44cef0fd8c25d3026e75cb
BLAKE2b-256 9d883d5b5f2be9213f4284f4f0ee97e25042c70bfbc80dea3a5e73ec3b498748

See more details on using hashes here.

Provenance

The following attestation bundles were made for Pytolith-0.0.6-py3-none-any.whl:

Publisher: build.yml on num0005/Pytolith

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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