Skip to main content

libnw wrapper

Project description

License: MIT ci CodeQL

pynwn

pynwn is now a wrapper (or will be) around rollnw. Older versions can be found on master-obsolete and develop-obsolete. Getting CI going, first.. then the rest.

import pynwn

pynwn.kernel.start()
mod = pynwn.kernel.load_module("mymodule.mod")
for area in mod:
    # Do neat things

Status

formats

  • Image
  • Ini
  • Nss
  • NssLexer
  • NssParser
  • TwoDA

i18n

  • Language
  • LocString
  • Tlk
  • conversion - unneeded, Python strings are already utf8

kernel

  • Config
  • Kernel
  • Objects
  • Resources
  • Strings

objects

  • Area
  • Creature
  • Dialog
  • Door
  • Encounter
  • Faction
  • Item
  • Journal
  • Module
  • ObjectBase
  • Palette
  • Placeable
  • Sound
  • Store
  • Trigger
  • Waypoint

components

  • Appearance
  • CombatInfo
  • Common
  • CreatureStats
  • Equips
  • Inventory
  • LevelStats
  • LocalData
  • Location
  • Lock
  • Saves
  • SpellBook
  • Trap

resources

  • Bif - unexposed
  • Container
  • Directory
  • Erf
  • Key
  • NWSync
  • Resource
  • ResourceDescriptor
  • ResourceType
  • Resref
  • Zip

serialization

  • Archives
  • GffInputArchive
  • GffOutputArchive
  • Serialization
  • gff_common

util

  • ByteArray
  • Tokenizer - unneeded
  • base64 - unneeded
  • compression
  • enum_flags - unneeded
  • game_install
  • macros - unneeded
  • platform
  • scope_exit - unneeded
  • string - unneeded
  • templates - unneeded

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

pynwn-0.1.dev0.tar.gz (25.4 MB view details)

Uploaded Source

Built Distributions

pynwn-0.1.dev0-cp310-cp310-win_amd64.whl (2.8 kB view details)

Uploaded CPython 3.10 Windows x86-64

pynwn-0.1.dev0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.3 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

pynwn-0.1.dev0-cp310-cp310-macosx_10_15_x86_64.whl (2.9 MB view details)

Uploaded CPython 3.10 macOS 10.15+ x86-64

pynwn-0.1.dev0-cp39-cp39-win_amd64.whl (2.8 kB view details)

Uploaded CPython 3.9 Windows x86-64

pynwn-0.1.dev0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.3 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

pynwn-0.1.dev0-cp39-cp39-macosx_10_15_x86_64.whl (2.9 MB view details)

Uploaded CPython 3.9 macOS 10.15+ x86-64

pynwn-0.1.dev0-cp38-cp38-win_amd64.whl (2.8 kB view details)

Uploaded CPython 3.8 Windows x86-64

pynwn-0.1.dev0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.3 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

pynwn-0.1.dev0-cp38-cp38-macosx_10_15_x86_64.whl (2.9 MB view details)

Uploaded CPython 3.8 macOS 10.15+ x86-64

File details

Details for the file pynwn-0.1.dev0.tar.gz.

File metadata

  • Download URL: pynwn-0.1.dev0.tar.gz
  • Upload date:
  • Size: 25.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.15

File hashes

Hashes for pynwn-0.1.dev0.tar.gz
Algorithm Hash digest
SHA256 21ab24343a0a8567c16179796365e34b662cf549d577e09ca2b813afe78c2542
MD5 c66c109c08ca376686118b091aea6d85
BLAKE2b-256 7a1e66918865c608b6665706f39af8a4f8f5bfeeebb85566dec6ccfbc5c7521f

See more details on using hashes here.

File details

Details for the file pynwn-0.1.dev0-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for pynwn-0.1.dev0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 0c90c95b141326127f6d8e241de1cb05d80ce51063e918eb1e771cb51352a177
MD5 307be0e0d29da900e171c50b4c4b70cf
BLAKE2b-256 343a35ddafa42d31f509f14397e19e5c7b4d30789f73d67ebea56f253615c7e8

See more details on using hashes here.

File details

Details for the file pynwn-0.1.dev0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pynwn-0.1.dev0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 093d06b4c5d024ea67b9eb67b8edf4003344192ed029cd71064d7f1eaf3b4973
MD5 224757112836d09ff26a1822c2bee743
BLAKE2b-256 6f9a5deae8c305f20c34dd105e3914959209549364c5aeaf015674562abb8d41

See more details on using hashes here.

File details

Details for the file pynwn-0.1.dev0-cp310-cp310-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for pynwn-0.1.dev0-cp310-cp310-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 dbcf6fa544323fb1bec371747aae2b2a6415ad58253c470c8fa4fa54705d5379
MD5 93b54bd463ee72e49272b5ad6b37c186
BLAKE2b-256 c0e4afbe13dfe93c4019cd6af7033692a37520ed6c88d7f97ec4521344d953cd

See more details on using hashes here.

File details

Details for the file pynwn-0.1.dev0-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: pynwn-0.1.dev0-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 2.8 kB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.15

File hashes

Hashes for pynwn-0.1.dev0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 a959d90da9ccce682def4159d385746b426c666dd75e32fb32cda5ee302ca212
MD5 22d9031f7ac0ecdfb9116a5e8e6c243c
BLAKE2b-256 03014758298a3d94da763ec850ce7c33ac9975c26782e970f576bde53ba99d06

See more details on using hashes here.

File details

Details for the file pynwn-0.1.dev0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pynwn-0.1.dev0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 861c3874caac20efa21f5dbeb6a9d67068754c9481f0726498f884734d1081da
MD5 5c52c6d94e2ffaf43ab8f91f9310b688
BLAKE2b-256 6864df5e1726dbf23b5883ecf51765437fe831a2b9120b60bdeebe36dea87a87

See more details on using hashes here.

File details

Details for the file pynwn-0.1.dev0-cp39-cp39-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for pynwn-0.1.dev0-cp39-cp39-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 ed3b357f9da64fcbd6c1f28f29a786290155b18c12c74ccd47023124795501e5
MD5 f506c17152f20832823383b6618d7a94
BLAKE2b-256 ac070ff039410363b88f35f25693f57e546488deb99da54749157630b8f0afa8

See more details on using hashes here.

File details

Details for the file pynwn-0.1.dev0-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: pynwn-0.1.dev0-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 2.8 kB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.15

File hashes

Hashes for pynwn-0.1.dev0-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 5a7628c9648520ca0f32f0709945162d5dc775cd89659c4978f8a8c577f294f1
MD5 6546c2782946448d2f64aafa8e58c1a7
BLAKE2b-256 901f7e3ed73b4d78ad5f271eda47a34a875fd984719bd9037666eaf5d4f2f6c7

See more details on using hashes here.

File details

Details for the file pynwn-0.1.dev0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pynwn-0.1.dev0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 fdc95f934cf46183bd8a28317851927ab303f55b8a1bdf2443e3290513751dca
MD5 500b2eb57d551a2984414151e6cadc61
BLAKE2b-256 485459d3dd1b097922b3843a96a289c9622463ab07ad8dba6737be8f2ada57cf

See more details on using hashes here.

File details

Details for the file pynwn-0.1.dev0-cp38-cp38-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for pynwn-0.1.dev0-cp38-cp38-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 1ee887286b3d9d243be78365b613340acfa8231c64fbf2d870c2a514ade603e2
MD5 0cdd0c32ffc2f2b94f16ae8fcc3c4c79
BLAKE2b-256 36d93d4a1297600e2dd0ec03228e110c0410503b8b0627813f41960a8a858c6d

See more details on using hashes here.

Supported by

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