Skip to main content

ConfigParser (in text) created for read/edit/write Unreal Engine Config files

Project description

UEConfigParser

An textfile reader that acts as INI parser that reads/modifies/writes ini files regardless of duplicate keys and special characters, comments. This parser is specially designed for Unreal Engine configuration files. Compatible with Python 2.7 and 3.x.

Installation

pip install UEConfigParser

Usage

from UEConfigParser import UnrealConfigParser

parser = UnrealConfigParser()
parser.read('example.ini')
parser.display()

parser.modify('/Script/HardwareTargeting.HardwareTargetingSettings', 'AppliedTargetedHardwareClass', 'Mobile')
parser.disable_key('DevOptions.Shaders', 'NeedsShaderStableKeys')
parser.enable_key('ConsoleVariables', 'Slate.EnableGlobalInvalidation')

newline_option = '\n' # option: None, '\n' (LF), '\r\n' (CRLF)
parser.write('example.ini', newline_option=newline_option)

parser.display()

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

ueconfigparser-1.0.5.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

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

ueconfigparser-1.0.5-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file ueconfigparser-1.0.5.tar.gz.

File metadata

  • Download URL: ueconfigparser-1.0.5.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.9.13

File hashes

Hashes for ueconfigparser-1.0.5.tar.gz
Algorithm Hash digest
SHA256 df367b4cbdfb02c1dfd2cccec4a21353702892a50361142feeba17a029f227b3
MD5 97fe207ad38b930b029e3a39d581a057
BLAKE2b-256 fb388f155db0c43b76a03814df5ce974e2f761b514a228a3f91e9bbf75472ca3

See more details on using hashes here.

File details

Details for the file ueconfigparser-1.0.5-py3-none-any.whl.

File metadata

  • Download URL: ueconfigparser-1.0.5-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.9.13

File hashes

Hashes for ueconfigparser-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 2e4ea1604607eaa9af48a0825fde1f7443aa7bc258b73c4f1e4260ed34d90083
MD5 9884d85ea70a408272ff900451b59b57
BLAKE2b-256 74322c84c8cabeea818850ce1b634982dba0858549396d525a000493b2d31a15

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