Skip to main content

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.

Metadata

Release files for py-deviceid 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for py-deviceid 0.1.1
File Size Uploaded
py_deviceid-0.1.1.tar.gz 5.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for py-deviceid 0.1.1
File Interpreter ABI Platform
py_deviceid-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 10.8 kB

Release files / py_deviceid-0.1.1.tar.gz

Download URL py_deviceid-0.1.1.tar.gz
Size 5.0 kB
Tags Source
SHA-256 checksum
How to use checksums
c3e7577ada23666e7f39e69370dfdaa76fe9de79c02635376d6aa0229bfa30e3
BLAKE2b-256 checksum
How to use checksums
0cfe1beb99282853f4f6fd32af50dc1f77d15e8883627bf5014a14a7eb024963
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via RestSharp/106.13.0.0

Release files / py_deviceid-0.1.1-py3-none-any.whl

Download URL py_deviceid-0.1.1-py3-none-any.whl
Size 5.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c0e32815e87a08087a0811c18f4402ee88b28a321f997753d75ecdaab570321b
BLAKE2b-256 checksum
How to use checksums
4ba5a598864cd753af149a4714482da1396d3f772b089d1a26579a3e4545b7a3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via RestSharp/106.13.0.0

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page