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.0.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.0-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: py_deviceid-0.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 459040fde0b28563e3c75fffd98f333e1999e41cc4a0d09873e0050bd50d9049
MD5 ad2f6f098ca0bb3a20fd72a7f87a8b55
BLAKE2b-256 369b7db88c77dad31a10e615c0bf1beffdaa5d464c1fedfdcea75b42eeb0b025

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for py_deviceid-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bfb2daeed6b1dcc0bdfa65977fccd30ed6e3c44d1c68b23340f8f32131774408
MD5 2dfaeda170b08706cd436f55a2a30699
BLAKE2b-256 e239b7a9b3e600a912a8c955aa7e32cebbd5d95bb4073a0af9de76ace9574369

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