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', Spacing=False)    
# Spacing between key/value = (default is False)

parser.add_key('DevOptions.Shaders', 'NeedsShaderStableKeys', 'True')  
parser.remove_key('ConsoleVariables', 'Slate.EnableGlobalInvalidation')  
parser.comment_key('DevOptions.Shaders', 'NeedsShaderStableKeys')  
parser.uncomment_key('ConsoleVariables', 'Slate.EnableGlobalInvalidation')  

newline_option = '\n'  # option: None, '\n' (LF), '\r\n' (CRLF),  Default is None
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.8.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.

ueconfigparser-1.0.8-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ueconfigparser-1.0.8.tar.gz
  • Upload date:
  • Size: 6.1 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.8.tar.gz
Algorithm Hash digest
SHA256 e213eef6a10a16be197f045e0ee204c1823d4b342ca2c10c71674aba036c7e9b
MD5 6ceec1413100ace65f76047222f547bc
BLAKE2b-256 086aa114dd64afb958a3a4f8efc5fe68560faa04a6521f76540b3a7755667b76

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ueconfigparser-1.0.8-py3-none-any.whl
  • Upload date:
  • Size: 5.5 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.8-py3-none-any.whl
Algorithm Hash digest
SHA256 a5235f678c2d7f7e207942e5c7e09848eea8f6d8ba28bec2e6a7ca8a33224bd0
MD5 cdf1c6e2f17bbbdf27b6859fe5181280
BLAKE2b-256 fbedaf22bdc98debe971b01a422a9803b6865b99b56017093262921e484a7a02

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