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 hashes)

Uploaded Source

Built Distributions

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

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 hashes)

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 hashes)

Uploaded CPython 3.10 macOS 10.15+ x86-64

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

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 hashes)

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 hashes)

Uploaded CPython 3.9 macOS 10.15+ x86-64

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

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 hashes)

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 hashes)

Uploaded CPython 3.8 macOS 10.15+ x86-64

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