AIToday

Developer releases Extra-Platforms, a zero-dependency Python library filling the gap left by Python 3.8's removal of platform.linux_distribution()

Hacker NewsApr 2, 20261 min read
Developer releases Extra-Platforms, a zero-dependency Python library filling the gap left by Python 3.8's removal of platform.linux_distribution()

Summaries like this, in your inbox every morning.

Sign up free →

3 Key Points

  1. Detects six system traits: CPU architecture, OS/distribution, shell, terminal, CI environment, and AI agents, grouped into convenient families like BSD, LINUX, and UNIX

  2. Created over 5 years to eliminate repeated detection boilerplate code and extend beyond Linux detection (improving on the Distro library)

  3. Zero dependencies, Apache-2.0 licensed, and testable without installation using uvx command

  4. Author actively seeking edge cases from users to improve detection accuracy across diverse systems

Discussion

No discussion yet for this article

Stay ahead with AI news

Get curated AI news from 200+ sources delivered daily to your inbox. Free to use.

Get Started Free

Free · takes 30 seconds · unsubscribe anytime

1 minute a day. The AI essentials.

200+ sources · Email / LINE / Slack

Get it free →