afsapi
Asynchronous implementation of the Frontier Silicon API
Decision gist · record as of 2026-08-14
Yes. The package is actively maintained, has low install friction, carries a permissive license, and solves a specific problem (Frontier Silicon device control) with a clean async API. No known vulnerabilities. Install if you own a compatible Frontier Silicon device and need to control it from Python.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later; device must be on the same network and accessible at a known IP address with PIN authentication.
- Low install friction with only two runtime dependencies (aiohttp and defusedxml).
- Actively maintained with a recent release; repository is not archived.
License · maintenance · safety
Apache-2.0 (permissive) — Licensed under Apache-2.0 (permissive), allowing commercial and private use with minimal restrictions.
last release 2026-07-27 (18 days) · last repo commit 2026-07-27 · 2 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 74,528 downloads/mo, #14,821 on PyPI
Alternatives
Verify before relying
import asyncio
from afsapi import AFSAPI
async def control_radio():
afsapi = await AFSAPI.create('http://192.168.1.XYZ:80/device', 1234, 1)
await afsapi.set_power(True)
print(await afsapi.get_friendly_name())
asyncio.run(control_radio())- Whether the package supports all Frontier Silicon device models or only specific ones.
- Performance characteristics when controlling multiple devices concurrently.
- Timeout and retry behavior for unreliable network conditions.
What it is and what it does
afsapi is an async Python library for communicating with Frontier Silicon internet radio devices over HTTP. It wraps the device's REST API, allowing you to query and control power state, input modes, presets, equalizer settings, and sleep timers from Python code. The library was originally built to integrate Frontier Silicon radios into Home Assistant but works as a standalone client for any application needing programmatic radio control.
The package depends on aiohttp for async HTTP requests and defusedxml for safe XML parsing of device responses. It supports Python 3.10 through 3.14 and includes integration tests that can record and replay real device responses, making it testable without hardware access.
Use it for
- Integrate Frontier Silicon radios into Home Assistant or other home automation systems.
- Build a web dashboard to control multiple radios from a central interface.
- Automate radio power and preset selection based on time of day or events.
- Query device state (current mode, power status, available presets) for monitoring.
- Set sleep timers and equalizer presets programmatically.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The package is actively maintained, has low install friction, carries a permissive license, and solves a specific problem (Frontier Silicon device control) with a clean async API. No known vulnerabilities. Install if you own a compatible Frontier Silicon device and need to control it from Python.
Install
afsapi on PyPI
Before you install
Low install friction with only two runtime dependencies (aiohttp and defusedxml). Actively maintained with a recent release; repository is not archived.
Requires Python 3.10 or later; device must be on the same network and accessible at a known IP address with PIN authentication.
License in practice
Licensed under Apache-2.0 (permissive), allowing commercial and private use with minimal restrictions.
Quickstart
import asyncio
from afsapi import AFSAPI
async def control_radio():
afsapi = await AFSAPI.create('http://192.168.1.XYZ:80/device', 1234, 1)
await afsapi.set_power(True)
print(await afsapi.get_friendly_name())
asyncio.run(control_radio())
Verify before relying
- Whether the package supports all Frontier Silicon device models or only specific ones.
- Performance characteristics when controlling multiple devices concurrently.
- Timeout and retry behavior for unreliable network conditions.
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagesaiohttpdefusedxml |
| Maintenance | Actively maintained 18 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 74,528 / month, #14,821 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Intended Audience :: DevelopersOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Software Development :: Libraries |
Evidence: afsapi-1.0.2-py3-none-any.whl
Tags
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 › “frontier silicon api client”
- afsapiAsynchronous Python client for controlling Frontier Silicon radio…
- paretosetComputes the Pareto (non-dominated) set from multi-dimensional data,…
- pyportfoliooptPyPortfolioOpt implements portfolio optimization methods including…
Give your agent the search over MCP, or paste the wish link into any chat.
More Libraries packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
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.
Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.
Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.
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.
pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.
See also pybravia · pysensibo · rf-protocols · rokuecp · aiohomekit · python-kasa · directv · pyisy · aiomusiccast · aiohomematic