Skip to main content

A simple library to get or create a unique device id for a device in Python.

Project description

Device ID for Python

deviceid provides a device ID for a given system, based on the DevDeviceId specification.

Installation

pip install deviceid

Usage

from deviceid import get_device_id

device_id: str = get_device_id()

print(f'Device ID is: {deviceid}')

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.

When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

Trademarks

This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.

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

py_deviceid-0.1.1.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

py_deviceid-0.1.1-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

Details for the file py_deviceid-0.1.1.tar.gz.

File metadata

  • Download URL: py_deviceid-0.1.1.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: RestSharp/106.13.0.0

File hashes

Hashes for py_deviceid-0.1.1.tar.gz
Algorithm Hash digest
SHA256 c3e7577ada23666e7f39e69370dfdaa76fe9de79c02635376d6aa0229bfa30e3
MD5 9e837088d4a85237c85e8d92f3a0b358
BLAKE2b-256 0cfe1beb99282853f4f6fd32af50dc1f77d15e8883627bf5014a14a7eb024963

See more details on using hashes here.

File details

Details for the file py_deviceid-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: py_deviceid-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 5.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: RestSharp/106.13.0.0

File hashes

Hashes for py_deviceid-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c0e32815e87a08087a0811c18f4402ee88b28a321f997753d75ecdaab570321b
MD5 450beb569cdd16ab93a53fa026e8d0a8
BLAKE2b-256 4ba5a598864cd753af149a4714482da1396d3f772b089d1a26579a3e4545b7a3

See more details on using hashes here.

Supported by

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