ApiLinker
A universal bridge to connect, map, and automate data transfer between any two REST APIs.
📚 Documentation
Full documentation is available at https://kkartas.github.io/APILinker/.
🚀 Quick Install
pip install apilinker
⭐ Message Queue Connectors
Message-queue connectors are optional.
pip install apilinker[mq]
Minimal example (worker loop):
from apilinker.core.error_handling import DeadLetterQueue
from apilinker.core.message_queue import MessagePipeline, MessageWorker
from apilinker.core.message_queue_connectors import RabbitMQConnectorPlugin
consumer = RabbitMQConnectorPlugin()
producer = RabbitMQConnectorPlugin()
consumer_conn = consumer.connect(host="localhost")
producer_conn = producer.connect(host="localhost")
pipeline = MessagePipeline(
consumer=consumer,
producer=producer,
dlq=DeadLetterQueue("./dlq"),
)
worker = MessageWorker(
pipeline,
consumer_connection=consumer_conn,
producer_connection=producer_conn,
source="input_queue",
default_destination="output_queue",
)
worker.run()
🌟 Features
- 🔄 Universal Connectivity - Connect any two REST APIs.
- 🗺️ Powerful Mapping - Transform data with ease.
- 🔗 Multi-Source Aggregation (v0.7.1) - Join data from multiple APIs (inner/left/right/outer joins) via the Python API.
- 📥 Large Download Streaming (v0.7.1) - Stream HTTP responses to disk with resume and progress callbacks.
- ⭐ Event-Driven Pipelines - Optional message queue connectors (RabbitMQ, Redis Pub/Sub, AWS SQS, Kafka).
- SSE Streaming - Built-in SSE connector with reconnection, chunked processing, and backpressure controls.
- 🔒 Secure - Enterprise secret management (Vault, AWS, Azure, GCP).
- 🧬 Scientific Connectors - Built-in support for NCBI, arXiv, and more.
Multi-source aggregation (v0.7.1)
from apilinker import ApiLinker
linker = ApiLinker()
linker.register_source("crm", crm_connector)
linker.register_source("billing", billing_connector)
rows = linker.aggregate_sources(
source_requests={
"crm": {"connector": "crm", "endpoint": "list_users"},
"billing": {"connector": "billing", "endpoint": "list_plans"},
},
aggregation_config={
"join_type": "inner",
"merge_strategy": "flat",
"sources": [
{"name": "crm", "join_key": "id", "fields": [...]},
{"name": "billing", "join_key": "customer_id", "fields": [...]},
],
},
)
See Multi-Source Aggregation and examples/multi_source_aggregation.py.
🤝 Contributing
We welcome contributions! Please see our Contributing Guide for details.
📄 License
This project is licensed under the MIT License - see the LICENSE file for details.
Metadata
Release files for apilinker 0.7.1
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 |
|---|---|---|---|---|
| apilinker-0.7.1.tar.gz | 185.5 kB | With provenance | Details for apilinker-0.7.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| apilinker-0.7.1-py3-none-any.whl | Python 3 | none | any | Details for apilinker-0.7.1-py3-none-any.whl |
Total release size: 327.3 kB
Release files / apilinker-0.7.1.tar.gz
| Download URL | apilinker-0.7.1.tar.gz |
|---|---|
| Size | 185.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ca9a42c6dfee3d468e7810d466073cc9f1e32bc47ac44e834e1bbe55ed4e7281
|
|
BLAKE2b-256 checksum How to use checksums |
450055c074047cb1b597d596c3acb68957a49ca6d9a4f3cf6cbadfe7e396b617
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 May 27, 2026.
Transparency logRelease files / apilinker-0.7.1-py3-none-any.whl
| Download URL | apilinker-0.7.1-py3-none-any.whl |
|---|---|
| Size | 141.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d7f55d13df96e44e3f3b76bbb29db9f8e2c71590b745969e225ae30e544a1090
|
|
BLAKE2b-256 checksum How to use checksums |
6a672b0d2ebacb53342935102756146c8e550bd9b45b86ef3938be17f3afd327
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 May 27, 2026.
Transparency logSecurity for apilinker 0.7.1
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 apilinker-0.7.1.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 May 27, 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.