{"categories":[{"label":"Software Development","url":"https://skillfed.io/packages/category/software-development/14"}],"enrichment":{"capability":"Reads and parses ISC DHCP server lease files (dhcpd.leases) for both IPv4 and IPv6, returning lease data as structured objects with expiration, binding state, and host information.","skillfed_tags":["dhcp","network-admin","lease-parser"],"use_cases":["Monitor active DHCP leases on a server to track which devices are currently connected and their IP assignments.","Audit expired or abandoned leases to understand historical DHCP allocation patterns.","Integrate lease data into a network management dashboard or monitoring system.","Query lease information by MAC address to find the IP assigned to a specific device.","Parse IPv6 lease files to track temporary and delegated prefix assignments in dual-stack networks."],"what_it_does":"isc-dhcp-leases is a small parser for ISC DHCP server lease database files. It reads the dhcpd.leases file (or dhcpd6.leases for IPv6) and exposes lease records as Python objects with properties like IP address, MAC address, expiration time, binding state, and hostname. You instantiate IscDhcpLeases with a file path, then call get() to retrieve all leases or get_current() to filter only active, non-expired leases.\n\nThe package supports both IPv4 (Lease objects) and IPv6 (Lease6 objects) lease formats. It can read plain text or gzip-compressed lease files. Its only runtime dependency is six, making it lightweight. The module is useful for monitoring DHCP server state, auditing active leases, or integrating lease data into network management tools.","worth_installing":"Yes, if you need to read ISC DHCP lease files on a system running the isc-dhcp-server daemon. The package is stable, has no known vulnerabilities, and installs with minimal friction. However, be aware that maintenance is dormant (last update 1244 days ago); if you encounter issues with modern Python versions or need active support, you may need to fork or patch it yourself."},"id":"isc-dhcp-leases","links":{"html":"https://skillfed.io/packages/isc-dhcp-leases","md":"https://skillfed.io/packages/isc-dhcp-leases.md","pypi":"https://pypi.org/project/isc-dhcp-leases/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2023-03-19","license_spdx":null,"license_treatment":"permissive","name":"isc-dhcp-leases","python_support":"unspecified","summary":"Small python module for reading /var/lib/dhcp/dhcpd.leases from isc-dhcp-server"},"popularity":{"monthly_downloads":194267,"position":9840,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.10.0"}
