Skip to main content

Windows Registry Manipulation

Project description

Easy Windows-Registry display & manipulation in Python.

from rage import RegistryKey

# Open some key
key = RegistryKey(some_registry_path)

# Print names of all subkeys
for key_name in key.enum_keys():
    print key

# Get a subkey
subkey = key["subkey-name"]

# Print out all the subkey's values
for name, value in subkey.values:
    print repr(name), value

# Set one of the values
editable_subkey = subkey.get_editable()
editable_subkey.values["my value name"] = RegSZ("Value value!")

# Delete a value
del editable_subkey.values["value to delete"]

# Delete a subkey
editable_subkey.delete_subkey("subkey name", recurse=False)

Project details

Release history Release notifications

This version
History Node


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
rage-0.1.0-py2.py3-none-any.whl (5.4 kB) Copy SHA256 hash SHA256 Wheel 2.7 Jan 2, 2015 (6.9 kB) Copy SHA256 hash SHA256 Source None Jan 2, 2015

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page