Skip to content
This repository was archived by the owner on Jan 16, 2026. It is now read-only.
/ regparse Public archive

Read and parse exported windows registry text files

License

Notifications You must be signed in to change notification settings

Diverto/regparse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

regparse

Read and parse exported windows registry text files

Install

Install using pip:

pip install regparse

Usage

Typical usage:

import regparse
r=regparse.RegParse()
c=r.readfile('Computer_HKLM.reg')
r.getkey('HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\System','EnableLUA','n/a-dword:00000001')

Raw function to get the key:

r.getconfig('HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\System','"EnableLUA"','n/a-dword:00000001')

Automatically parse value from the registry (note: default should be also parseable):

current = reg.getval('HKEY_LOCAL_MACHINE\\SYSTEM\\Select','Current','dword:00000001')

About

Read and parse exported windows registry text files

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages