Code Monkey home page Code Monkey logo

winregistrycrud's Introduction

WinRegistry CRUD

  • Developed by: SebastianEPH
  • Product name: WinRegistry CRUD
  • Type software: Library
  • File version: 1.0
  • State: Finish
  • Plataform: Only Windows 7, 8.1, 10
  • Programming language: Python 3.9
  • Licence: MIT
  • IDE or text editor: PyCharm
  • Documentation date: 08-12-2020
  • Description: Biblioteca que permite, leer, crear, eliminar llaves y valores del registro de Windows

Ejemplos de Uso

Create Key

Código de ejemplo

path = r'Computer\HKEY_CURRENT_USER\SOFTWARE\Adobe'
nameKey = 'config'
k = WinRegistry(path)
k.create_key(nameKey)

Antes

Despues

Delete Key

Código de ejemplo

path = r'Computer\HKEY_CURRENT_USER\SOFTWARE\Adobe'
nameKey = 'config'
k = WinRegistry(path)
k.delete_key(nameKey)

Antes

Despues

Set value String

Código de ejemplo

path = r'Computer\HKEY_CURRENT_USER\SOFTWARE\test'
nameValue = 'config'
value = "soy un valor String"
k = WinRegistry(path)
k.set_value_String(nameValue, value)

Antes

Despues

Set value Binary

Código de ejemplo

path = r'Computer\HKEY_CURRENT_USER\SOFTWARE\test'
nameValue = 'Typebinary'
value = b'v\x00l\x00c\x00.\x00e\x00x\x00e\x00\x00\x00\x00'
k = WinRegistry(path)
k.set_value_Binary(nameValue, value)

Antes

Despues

Set value DWORD

Código de ejemplo

path = r'Computer\HKEY_CURRENT_USER\SOFTWARE\test'
nameValue = 'TypeDWORD'
value = 45
k = WinRegistry(path)
k.set_value_DWORD(nameValue, value)

Antes

Despues

Set value QWORD

Código de ejemplo

path = r'Computer\HKEY_CURRENT_USER\SOFTWARE\test'
nameValue = 'TypeQWORD'
value = 45545454545
k = WinRegistry(path)
k.set_value_QWORD(nameValue, value)

Antes

Despues

Set value Multi-String

Código de ejemplo

path = r'Computer\HKEY_CURRENT_USER\SOFTWARE\test'
nameValue = 'TypeMultiString'
value = ['linea 1', 'linea 2', 'linea fin']
k = WinRegistry(path)
k.set_value_MultiString(nameValue, value)

Antes

Despues

Set value Expandable-String

Código de ejemplo

path = r'Computer\HKEY_CURRENT_USER\SOFTWARE\test'
nameValue = 'TypeExpandableString'
value = "texto largo..."
k = WinRegistry(path)
k.set_value_ExpandableString(nameValue, value)

Antes

Despues

Delete Value

Código de ejemplo

path = r'Computer\HKEY_CURRENT_USER\SOFTWARE\test'
nameValue = "name"
k = WinRegistry(path)
k.delete_value(nameValue)
Read Value

Código de ejemplo

path = r'Computer\HKEY_CURRENT_USER\SOFTWARE\test'
nameValue = "name"
k = WinRegistry(path)
print(k.read_value(nameValue))

Versión de esta lib pero en en C# .net

Windows Registry Tools C# || link del repositorio

winregistrycrud's People

Contributors

sebastianeph avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.