$npx skillfedfor your agent

py-machineid

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

With conditionsPyPI UtilitiesReleased Dec 2025851.8K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — py_machineid-1.0.0-py3-none-any.whl
v1.0.0 · released 2025-12-02 · 1 runtime deps: winregistry

Yes, if you need a simple, low-friction way to retrieve machine identifiers for licensing or telemetry. The MIT license is permissive, install friction is minimal, and there are no known vulnerabilities. However, aging maintenance means you should verify that the library's behavior on your target platforms matches your security and accuracy requirements before relying on it in production.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low install friction with a single runtime dependency (winregistry).
  • Maintenance status is aging—last commit was 2025-12-02—so expect slower response to issues, though the repository remains active and not archived.

License · maintenance · safety

MIT (permissive) — MIT license permits free use, modification, and distribution with minimal restrictions, making it suitable for both open-source and commercial projects.

last release 2025-12-02 (255 days) · last repo commit 2025-12-02 · 98 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 851,778 downloads/mo, #4,902 on PyPI

Verify before relying

pip install py-machineid

import machineid

print(machineid.id())
print(machineid.hashed_id('myappid'))
  • Exact behavior and platform coverage across Windows, macOS, and Linux—documentation does not specify which platforms are supported or how fallback logic works.
  • Whether the hashed_id() function is cryptographically suitable for security-sensitive use cases or licensing enforcement.
  • Performance characteristics and any potential side effects of querying Windows registry when winregistry=True.
Same gist for agents: .md · .json

What it is and what it does

py-machineid is a lightweight Python library that retrieves a unique identifier for the host machine without requiring administrator privileges. It provides two main functions: id() returns the raw machine GUID, and hashed_id() returns a cryptographic hash of that identifier, optionally scoped to a specific application. On Windows, the library can query the registry to construct the identifier; this behavior can be disabled via a kwarg for security-conscious deployments.

The package is typically used for device licensing, telemetry, or machine fingerprinting in applications that need to identify or track individual hosts. It has one runtime dependency (winregistry) and installs as a pure Python wheel with low friction. The maintenance status is aging—the last commit was 2025-12-02—so updates and bug fixes may come slowly, but the repository remains active and has not been archived.

Use it for

  • Implement per-device licensing checks in software distribution systems to bind licenses to specific machines.
  • Generate stable, anonymized device identifiers for telemetry or analytics without exposing raw hardware details.
  • Build machine fingerprinting for security audits or compliance logging without requiring elevated privileges.
  • Scope application-specific identifiers to ensure the same device gets a unique ID per application.
  • Disable registry queries on Windows to prevent machine fingerprints from being manually modified by users.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need a simple, low-friction way to retrieve machine identifiers for licensing or telemetry.

The MIT license is permissive, install friction is minimal, and there are no known vulnerabilities. However, aging maintenance means you should verify that the library's behavior on your target platforms matches your security and accuracy requirements before relying on it in production.

Install

py-machineid on PyPI

Before you install

Low install friction with a single runtime dependency (winregistry). Maintenance status is aging—last commit was 2025-12-02—so expect slower response to issues, though the repository remains active and not archived.

License in practice

MIT license permits free use, modification, and distribution with minimal restrictions, making it suitable for both open-source and commercial projects.

Quickstart

pip install py-machineid

import machineid

print(machineid.id())
print(machineid.hashed_id('myappid'))

Verify before relying

  • Exact behavior and platform coverage across Windows, macOS, and Linux—documentation does not specify which platforms are supported or how fallback logic works.
  • Whether the hashed_id() function is cryptographically suitable for security-sensitive use cases or licensing enforcement.
  • Performance characteristics and any potential side effects of querying Windows registry when winregistry=True.

Package facts

LicenseMIT permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
winregistry
MaintenanceAging 255 days since the last release
Last repo commit
First released
Downloads851,778 / month, #4,902 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
License :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3

Evidence: py_machineid-1.0.0-py3-none-any.whl

Tags

Capabilities
machine id detectionunique device identifierhardware fingerprintsystem uuid retrievaldevice identificationmachine guid lookuphost identifier
Topics
device-identificationlicensing

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “machine id detection”

  • py-machineidRetrieves the unique machine ID of a host without requiring admin…
  • py-deviceidGenerates or retrieves a unique device identifier for a system based…
  • pidManages process ID files with stale detection, file locking, and…

Give your agent the search over MCP, or paste the wish link into any chat.

More Utilities packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
charset-normalizer Worth it
PyPI · Utilities · released Aug 2026

Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.

permissive licensepure Python · 3.7+
1.7Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
Pygments Worth it
PyPI · Utilities · released Mar 2026

Pygments is a syntax highlighter that colorizes source code and text in over 500 languages and formats, outputting to HTML, LaTeX, RTF, SVG, images, or ANSI terminal sequences.

Install it if you need to display or transform source code.

BSD-2-Clausepure Python · 3.9+
1.3Bdownloads / mo
six With conditions
PyPI · Libraries · released Dec 2024

Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.

MITpure Python
1.2Bdownloads / mo

See also cuid2 · uuid · py-deviceid · django-guid · elevate · nanoid · ulid-py · uuid-v7 · ulid · typeid-python