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


Download files

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

Source Distribution

rage-0.1.0.zip (6.9 kB view details)

Uploaded Source

Built Distribution

rage-0.1.0-py2.py3-none-any.whl (5.4 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file rage-0.1.0.zip.

File metadata

  • Download URL: rage-0.1.0.zip
  • Upload date:
  • Size: 6.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for rage-0.1.0.zip
Algorithm Hash digest
SHA256 7b89cae2639609b4786e09377d12b3385b7eda8e55681fc181693d58bc732d32
MD5 9491d070fb99edd9a3bd714bd0a079db
BLAKE2b-256 92ac5fb44e65f3c587105c043eb4a12ca582248ecadc842d0327d8c501909a44

See more details on using hashes here.

File details

Details for the file rage-0.1.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for rage-0.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 1d206b655abb8feae315bf82aca5dadfb937ed40408a58a3bdacf49d3570c4d7
MD5 87788e226ab4694fda993e244befdcf3
BLAKE2b-256 3a003c4b21e2a55fcdee14542383febb216ad50af9d53ba7aace29b5c64b0a13

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page