cardlink


Namecardlink JSON
Version 1.0.4 PyPI version JSON
download
home_pageNone
SummaryPython SDK for Cardlink API
upload_time2025-08-27 23:20:22
maintainerNone
docs_urlNone
authorNone
requires_python>=3.10
licenseNone
keywords cardlink cardlink api payments sdk api
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <p align="center">
  <img src="https://raw.githubusercontent.com/LaFTonTechnology/cardlink/main/assets/cardlinkLogo.png" width="300"/>
  <h1 align="center">cardlink</h1>
  <p align="center">Асинхронный Python клиент для <a href="https://cardlink.link/merchant/api">Cardlink API</a></p>
</p>

<p align="center">
  <a href="https://www.python.org/"><img src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/LaFTonTechnology/cardlink/main/assets/python-version.json" alt="Python"></a>
  <a href="https://pydantic.dev"><img src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/pydantic/pydantic/main/docs/badge/v2.json" alt="Pydantic v2"></a>
  <a href="https://docs.aiohttp.org/en/stable/"><img src="https://img.shields.io/badge/aiohttp-v3-2c5bb4?logo=aiohttp" alt="Aiohttp"></a>
</p>

---

## 📌 О проекте

**cardlink** — асинхронный Python клиент для работы с [Cardlink API](https://cardlink.link/merchant/api).  
Позволяет создавать счета, получать ссылки на оплату и обрабатывать платежи полностью асинхронно.

---

## [Документация](https://laftontechnology.github.io/cardlink/)

---

## 💬 Сообщество

Присоединяйтесь к нашему чату в Telegram: [@pythonCardlink](https://t.me/pythonCardlink)

---

## 🛠 Установка

```bash
pip install cardlink
```

## Quick start

```python
import asyncio
from cardlink import CardLink

async def main():
    cl = CardLink(token="YOUR_TOKEN", shop_id="YOUR_SHOP_ID")

    bill = await cl.create_bill(amount=100)
    return bill.link_page_url  # Ссылка для оплаты счёта

if __name__ == "__main__":
    print(asyncio.run(main()))
```


## 📦 Основные возможности

- ✅ Асинхронный клиент на `aiohttp`  
- ✅ Полная поддержка [Cardlink API](https://cardlink.link/merchant/api)  
- ✅ Быстрое создание счетов и получение ссылок для оплаты  
- ✅ Совместимость с Python 3.10+  

---

## 💖 Поддержка проекта

Вы можете поддержать разработку донатом:

| Сеть     | Адрес                                                                 |
|----------|-----------------------------------------------------------------------|
| **TON**  | `UQCekZTSqysK4OUQFovzI31CILQj0GGjnYxBV77HlK2Zv1BM`                    |
| **TRON** | `TVr8bD8toKF14YY46apFgS1PgiBBtvKsfu`                                  |
| **ETH**  | `0x6406D459D592456dA5E78D789b68029EC7950890`                           |

---

## 📝 Лицензия

Проект распространяется под лицензией MIT.

---

## 📌 Контакты и обратная связь

- Telegram: [@pythonCardlink](https://t.me/pythonCardlink)  
- GitHub Issues: открывайте любые баги или предложения прямо в репозитории.

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "cardlink",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": null,
    "keywords": "Cardlink, Cardlink API, Payments, SDK, API",
    "author": null,
    "author_email": "LaFTon Technology <laftonsup@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/43/c0/d081df8d1053cd36276184a03680c6e2d0111aebd20944a68e7f31805922/cardlink-1.0.4.tar.gz",
    "platform": null,
    "description": "<p align=\"center\">\n  <img src=\"https://raw.githubusercontent.com/LaFTonTechnology/cardlink/main/assets/cardlinkLogo.png\" width=\"300\"/>\n  <h1 align=\"center\">cardlink</h1>\n  <p align=\"center\">\u0410\u0441\u0438\u043d\u0445\u0440\u043e\u043d\u043d\u044b\u0439 Python \u043a\u043b\u0438\u0435\u043d\u0442 \u0434\u043b\u044f <a href=\"https://cardlink.link/merchant/api\">Cardlink API</a></p>\n</p>\n\n<p align=\"center\">\n  <a href=\"https://www.python.org/\"><img src=\"https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/LaFTonTechnology/cardlink/main/assets/python-version.json\" alt=\"Python\"></a>\n  <a href=\"https://pydantic.dev\"><img src=\"https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/pydantic/pydantic/main/docs/badge/v2.json\" alt=\"Pydantic v2\"></a>\n  <a href=\"https://docs.aiohttp.org/en/stable/\"><img src=\"https://img.shields.io/badge/aiohttp-v3-2c5bb4?logo=aiohttp\" alt=\"Aiohttp\"></a>\n</p>\n\n---\n\n## \ud83d\udccc \u041e \u043f\u0440\u043e\u0435\u043a\u0442\u0435\n\n**cardlink** \u2014 \u0430\u0441\u0438\u043d\u0445\u0440\u043e\u043d\u043d\u044b\u0439 Python \u043a\u043b\u0438\u0435\u043d\u0442 \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 [Cardlink API](https://cardlink.link/merchant/api).  \n\u041f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u0441\u0447\u0435\u0442\u0430, \u043f\u043e\u043b\u0443\u0447\u0430\u0442\u044c \u0441\u0441\u044b\u043b\u043a\u0438 \u043d\u0430 \u043e\u043f\u043b\u0430\u0442\u0443 \u0438 \u043e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0442\u044c \u043f\u043b\u0430\u0442\u0435\u0436\u0438 \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u0430\u0441\u0438\u043d\u0445\u0440\u043e\u043d\u043d\u043e.\n\n---\n\n## [\u0414\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f](https://laftontechnology.github.io/cardlink/)\n\n---\n\n## \ud83d\udcac \u0421\u043e\u043e\u0431\u0449\u0435\u0441\u0442\u0432\u043e\n\n\u041f\u0440\u0438\u0441\u043e\u0435\u0434\u0438\u043d\u044f\u0439\u0442\u0435\u0441\u044c \u043a \u043d\u0430\u0448\u0435\u043c\u0443 \u0447\u0430\u0442\u0443 \u0432 Telegram: [@pythonCardlink](https://t.me/pythonCardlink)\n\n---\n\n## \ud83d\udee0 \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430\n\n```bash\npip install cardlink\n```\n\n## Quick start\n\n```python\nimport asyncio\nfrom cardlink import CardLink\n\nasync def main():\n    cl = CardLink(token=\"YOUR_TOKEN\", shop_id=\"YOUR_SHOP_ID\")\n\n    bill = await cl.create_bill(amount=100)\n    return bill.link_page_url  # \u0421\u0441\u044b\u043b\u043a\u0430 \u0434\u043b\u044f \u043e\u043f\u043b\u0430\u0442\u044b \u0441\u0447\u0451\u0442\u0430\n\nif __name__ == \"__main__\":\n    print(asyncio.run(main()))\n```\n\n\n## \ud83d\udce6 \u041e\u0441\u043d\u043e\u0432\u043d\u044b\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438\n\n- \u2705 \u0410\u0441\u0438\u043d\u0445\u0440\u043e\u043d\u043d\u044b\u0439 \u043a\u043b\u0438\u0435\u043d\u0442 \u043d\u0430 `aiohttp`  \n- \u2705 \u041f\u043e\u043b\u043d\u0430\u044f \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 [Cardlink API](https://cardlink.link/merchant/api)  \n- \u2705 \u0411\u044b\u0441\u0442\u0440\u043e\u0435 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0441\u0447\u0435\u0442\u043e\u0432 \u0438 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u0441\u0441\u044b\u043b\u043e\u043a \u0434\u043b\u044f \u043e\u043f\u043b\u0430\u0442\u044b  \n- \u2705 \u0421\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u043e\u0441\u0442\u044c \u0441 Python 3.10+  \n\n---\n\n## \ud83d\udc96 \u041f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 \u043f\u0440\u043e\u0435\u043a\u0442\u0430\n\n\u0412\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0430\u0442\u044c \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0443 \u0434\u043e\u043d\u0430\u0442\u043e\u043c:\n\n| \u0421\u0435\u0442\u044c     | \u0410\u0434\u0440\u0435\u0441                                                                 |\n|----------|-----------------------------------------------------------------------|\n| **TON**  | `UQCekZTSqysK4OUQFovzI31CILQj0GGjnYxBV77HlK2Zv1BM`                    |\n| **TRON** | `TVr8bD8toKF14YY46apFgS1PgiBBtvKsfu`                                  |\n| **ETH**  | `0x6406D459D592456dA5E78D789b68029EC7950890`                           |\n\n---\n\n## \ud83d\udcdd \u041b\u0438\u0446\u0435\u043d\u0437\u0438\u044f\n\n\u041f\u0440\u043e\u0435\u043a\u0442 \u0440\u0430\u0441\u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u044f\u0435\u0442\u0441\u044f \u043f\u043e\u0434 \u043b\u0438\u0446\u0435\u043d\u0437\u0438\u0435\u0439 MIT.\n\n---\n\n## \ud83d\udccc \u041a\u043e\u043d\u0442\u0430\u043a\u0442\u044b \u0438 \u043e\u0431\u0440\u0430\u0442\u043d\u0430\u044f \u0441\u0432\u044f\u0437\u044c\n\n- Telegram: [@pythonCardlink](https://t.me/pythonCardlink)  \n- GitHub Issues: \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u0439\u0442\u0435 \u043b\u044e\u0431\u044b\u0435 \u0431\u0430\u0433\u0438 \u0438\u043b\u0438 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u043f\u0440\u044f\u043c\u043e \u0432 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0438.\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Python SDK for Cardlink API",
    "version": "1.0.4",
    "project_urls": {
        "Homepage": "https://github.com/LaFTonTechnology/cardlink",
        "Issues": "https://github.com/LaFTonTechnology/cardlink/issues",
        "Repository": "https://github.com/LaFTonTechnology/cardlink"
    },
    "split_keywords": [
        "cardlink",
        " cardlink api",
        " payments",
        " sdk",
        " api"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "b678aeff67fc4bc5420f8b3c5bf24d82e66ed74d695cca0d6281fad0fd961fb1",
                "md5": "fbe3e3e1c745a226d30d2ab3d86da1c7",
                "sha256": "7b1fb610c4ccf16890c1365fb2d73c258528710837fb5b2d283f192ade0c4e86"
            },
            "downloads": -1,
            "filename": "cardlink-1.0.4-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "fbe3e3e1c745a226d30d2ab3d86da1c7",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 38317,
            "upload_time": "2025-08-27T23:20:20",
            "upload_time_iso_8601": "2025-08-27T23:20:20.664169Z",
            "url": "https://files.pythonhosted.org/packages/b6/78/aeff67fc4bc5420f8b3c5bf24d82e66ed74d695cca0d6281fad0fd961fb1/cardlink-1.0.4-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "43c0d081df8d1053cd36276184a03680c6e2d0111aebd20944a68e7f31805922",
                "md5": "dfd452613eb875e8ea904d2903c1bbfe",
                "sha256": "479f8d26d0ed2cdb618c506789c13bd0f2b195a5f904ead71f33cabdf7878c04"
            },
            "downloads": -1,
            "filename": "cardlink-1.0.4.tar.gz",
            "has_sig": false,
            "md5_digest": "dfd452613eb875e8ea904d2903c1bbfe",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 19869,
            "upload_time": "2025-08-27T23:20:22",
            "upload_time_iso_8601": "2025-08-27T23:20:22.006594Z",
            "url": "https://files.pythonhosted.org/packages/43/c0/d081df8d1053cd36276184a03680c6e2d0111aebd20944a68e7f31805922/cardlink-1.0.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-08-27 23:20:22",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "LaFTonTechnology",
    "github_project": "cardlink",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "cardlink"
}
        
Elapsed time: 1.77985s