aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: a8c167c7da55e767c76c4648a248d053e42c2e80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# unixreg

## why
While working on porting a python application to Linux I came across many uses of winreg that could not easily be ported over.

Instead of reworking the system I decided to implement a bandaid solution that deals with it transparently.

## how to use
Update your winreg imports with this

```py
try:
    import winreg
except ImportError:
    import unixreg as winreg
```

simply importing unixreg should be enough though, winreg is imported if found

## license
this project is licensed under the [MIT License](LICENSE)  
feel free to do whatever you want with it