Metadata-Version: 2.1
Name: py-machineid
Version: 0.1.0
Summary: Get the unique machine ID of any host (without admin privileges)
Home-page: https://github.com/keygen-sh/py-machineid
Author: Zeke Gabrielse
Author-email: oss@keygen.sh
License: MIT
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
License-File: LICENSE

# py-machineid

Get the unique machine ID of any host (without admin privileges).

Sponsored by:

[![Keygen logo](https://user-images.githubusercontent.com/6979737/175406169-bd8bf064-7343-4bd1-94b7-a773ecec07b8.png)](https://keygen.sh)

_A software licensing and distribution API built for developers._

## Usage

To obtain the raw GUID of the device, use `id() -> str`:

```python
import machineid

print(machineid.id())
```

To obtain an anonymized (hashed) version of the GUID, see below. The
`hashed_id(str) -> str` function takes an optional application ID,
which will ensure a unique ID per-app for the same device.

```python
import machineid

print(machine.hashed_id('myappid'))
print(machine.hashed_id())
```
