Logo Lanfrica

AllDotPy/EasySwitch

Domain:

digital infrastructure

Record type:

software
Creator:
All
Host:
EasySwitch is a unified Python SDK for Mobile Money integration across major aggregators in Africa. It provides a single, consistent interface to simplify payment processing, reduce code duplication, and accelerate development. # EasySwitch😎 Python Library # What is EasySwitch? **EasySwitch** is a unified **Python SDK for Mobile Money** integration across major aggregators in West Africa. It provides a single, consistent interface to simplify payment processing, reduce code duplication, and accelerate development. # Why EasySwitch? Integrating different payment providers usually means learning different APIs, handling inconsistent error messages, and rewriting code to switch providers. EasySwitch was created to eliminate this complexity: - πŸš€ Accelerate your integrations - πŸ” Switch providers without changing your code - 🧱 Leverage a robust, type-safe, async-first architecture - 🌍 Support local and international aggregators ## Currently Supported Providers CinetPay Semoa PayGate Bizao FedaPay PayStack Airtel Money ## πŸš€ Features - πŸ”Œ Unified API for multiple payment gateways - βš™οΈ Supports configuration from `.env`, JSON, YAML, or native Python dict - πŸ” Centralized management of API keys and credentials - πŸ“ˆ Fully customizable logging (file, console, rotating, compression) - 🧩 Extensible via a plugin-like adapter registration system - βœ… Strong **Exception** handling - βœ… **Asynchronous** support for optimal performance - βœ… **Automatic Retry** in case of network failures --- ## Community & Support πŸ’¬ - Documentation πŸ“š (under contructions.) - Issue Tracker πŸ› --- ## Prerequisites You need to have at least 3.13 version of python to be able to continue. ## Install ```sh # Uising pip pip install easyswitch # Or using uv uv add easyswitch ``` # Core Concepts ## βš™οΈ Configuration EasySwitch uses a centralized configuration object to define providers, credentials, default settings, and adapter mappings. ### **1. βš™οΈ Supported Configuration sources** | Source | Description | Example | |-----------------------|---------------------------------------------|---------| | **Environment Variables** | Load configs …