f3dx-router (DEPRECATED)
This package has moved. As of 2026-04-30,
f3dx-routeris consolidated intof3dxas a Python sub-module + Cargo workspace member. Install the new home and update your imports.
pip install f3dx[router]
from f3dx.router import Router
router = Router(
providers=[
{"name": "openai", "kind": "openai",
"base_url": "https://api.openai.com/v1",
"api_key": "sk-..."},
{"name": "groq", "kind": "openai",
"base_url": "https://api.groq.com/openai/v1",
"api_key": "gsk_..."},
],
policy="hedged",
hedge_k=2,
)
Why moved
Single wheel, single ABI, single CI, single release cadence. The router is one of f3dx's runtime layers (alongside the agent runtime, HTTP clients, cache, MCP, trace sink); shipping it as a separate package created cross-repo version drift and discoverability friction. See the consolidation reasoning at smigolsmigol/f3dx.
Transition timeline
- v0.0.4 (this version, 2026-04-30): re-exports from
f3dx.router, emitsDeprecationWarningon import. Install pulls inf3dx>=0.0.18automatically. - +4 weeks (2026-05-28): this GitHub repo flips to read-only / archived. PyPI installs of
f3dx-router==0.0.4continue to work. - +4-6 months (2026-08 to 2026-10): all
f3dx-routerversions on PyPI get yanked. Cached wheels still resolve for old installs; newpip install f3dx-routerwill fail by then.
Migration
| Old | New |
|---|---|
pip install f3dx-router |
pip install f3dx[router] |
from f3dx_router import Router |
from f3dx.router import Router |
The Router API is identical: same constructor, same chat_completions() method, same sequential / hedged policies, same provider dict shape.
License
MIT, same as the upstream f3dx project.
Metadata
Release files for f3dx-router 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| f3dx_router-0.0.4.tar.gz | 3.0 kB | With provenance | Details for f3dx_router-0.0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| f3dx_router-0.0.4-py3-none-any.whl | Python 3 | none | any | Details for f3dx_router-0.0.4-py3-none-any.whl |
Total release size: 6.4 kB
Release files / f3dx_router-0.0.4.tar.gz
| Download URL | f3dx_router-0.0.4.tar.gz |
|---|---|
| Size | 3.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e166ca56f9dbdec84735d1a58b99fe48f26469c3d6c36424387d96cfe56ba659
|
|
BLAKE2b-256 checksum How to use checksums |
cd3a8fc43ceb57a6cd29a7e318c5b8503cdb6a6d2c03887dd88101a783042903
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 30, 2026.
Transparency logRelease files / f3dx_router-0.0.4-py3-none-any.whl
| Download URL | f3dx_router-0.0.4-py3-none-any.whl |
|---|---|
| Size | 3.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
794f6a246df721eece967320fbd01b126a0909917e302955f281e7c598ca0122
|
|
BLAKE2b-256 checksum How to use checksums |
e0a7b0f1dcc0a22a8690c7394fb543849811a1c5cca55a5894cb61bf67df2576
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 30, 2026.
Transparency logSecurity for f3dx-router 0.0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for f3dx_router-0.0.4.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 30, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.