Skip to content

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