clove-proxy


Nameclove-proxy JSON
Version 0.1.1 PyPI version JSON
download
home_pageNone
SummaryA Claude.ai reverse proxy
upload_time2025-07-08 15:57:49
maintainerNone
docs_urlNone
authorNone
requires_python>=3.11
licenseMIT
keywords ai claude fastapi proxy
VCS
bugtrack_url
requirements httpx curl-cffi fastapi loguru pydantic pydantic-settings tiktoken uvicorn json5 tenacity
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Clove 🍀

<div align="center">

[![License](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)
[![Python](https://img.shields.io/badge/python-3.13+-blue.svg)](https://www.python.org/downloads/)
[![FastAPI](https://img.shields.io/badge/FastAPI-0.115+-green.svg)](https://fastapi.tiangolo.com)

全力以赴的 Claude.ai 反向代理!

[English](#) | [简体中文](#)

</div>

## ✨ 特性

- 🔄 **完整的 Claude API 兼容** - 完全兼容 Anthropic Claude API,支持流式和非流式响应
- 🔐 **Claude OAuth API 支持** - 支持通过 OAuth 调用 Claude 官方 API
- 👥 **多账户管理** - 支持多个 Claude.ai 账户,通过轮询实现负载均衡
- 🛠️ **工具调用支持** - 完整支持 Claude 的工具调用功能
- 🖼️ **图片支持** - 支持图片上传和处理
- 🌐 **Web 管理界面** - 现代化的 React 管理界面
- ⚡ **高性能** - 基于 FastAPI 和异步处理,提供卓越的性能

## 📄 许可证

本项目采用 MIT 许可证 - 查看 [LICENSE](LICENSE) 文件了解详情。

## 🙏 致谢

- [Anthropic Claude](https://www.anthropic.com/claude) - ~~可爱的小克~~ 强大的 AI 助手
- [Clewd](https://github.com/teralomaniac/clewd/) - 初代 Claude.ai 反向代理
- [ClewdR](https://github.com/Xerxes-2/clewdr) - 高性能 Claude.ai 反向代理
- [FastAPI](https://fastapi.tiangolo.com/) - 现代、快速的 Web 框架
- [Tailwind CSS](https://tailwindcss.com/) - CSS 框架
- [Shadcn UI](https://ui.shadcn.com/) - 现代化的 UI 组件库
- [Vite](https://vitejs.dev/) - 现代化的前端构建工具
- [React](https://reactjs.org/) - JavaScript 库

## ⚠️ 免责声明

本项目仅供学习和研究使用。使用本项目时,请遵守相关服务的使用条款和条件。作者不对任何滥用或违反服务条款的行为负责。

## 📮 联系方式

如有问题或建议,请通过以下方式联系:

- 提交 [Issue](https://github.com/mirrorange/clove/issues)
- 发送 Pull Request
- 发送邮件至:orange@freesia.ink

---

<div align="center">
Made with ❤️ by 🍊
</div>

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "clove-proxy",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.11",
    "maintainer_email": null,
    "keywords": "ai, claude, fastapi, proxy",
    "author": null,
    "author_email": "mirrorange <orange@freesia.ink>",
    "download_url": null,
    "platform": null,
    "description": "# Clove \ud83c\udf40\n\n<div align=\"center\">\n\n[![License](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)\n[![Python](https://img.shields.io/badge/python-3.13+-blue.svg)](https://www.python.org/downloads/)\n[![FastAPI](https://img.shields.io/badge/FastAPI-0.115+-green.svg)](https://fastapi.tiangolo.com)\n\n\u5168\u529b\u4ee5\u8d74\u7684 Claude.ai \u53cd\u5411\u4ee3\u7406\uff01\n\n[English](#) | [\u7b80\u4f53\u4e2d\u6587](#)\n\n</div>\n\n## \u2728 \u7279\u6027\n\n- \ud83d\udd04 **\u5b8c\u6574\u7684 Claude API \u517c\u5bb9** - \u5b8c\u5168\u517c\u5bb9 Anthropic Claude API\uff0c\u652f\u6301\u6d41\u5f0f\u548c\u975e\u6d41\u5f0f\u54cd\u5e94\n- \ud83d\udd10 **Claude OAuth API \u652f\u6301** - \u652f\u6301\u901a\u8fc7 OAuth \u8c03\u7528 Claude \u5b98\u65b9 API\n- \ud83d\udc65 **\u591a\u8d26\u6237\u7ba1\u7406** - \u652f\u6301\u591a\u4e2a Claude.ai \u8d26\u6237\uff0c\u901a\u8fc7\u8f6e\u8be2\u5b9e\u73b0\u8d1f\u8f7d\u5747\u8861\n- \ud83d\udee0\ufe0f **\u5de5\u5177\u8c03\u7528\u652f\u6301** - \u5b8c\u6574\u652f\u6301 Claude \u7684\u5de5\u5177\u8c03\u7528\u529f\u80fd\n- \ud83d\uddbc\ufe0f **\u56fe\u7247\u652f\u6301** - \u652f\u6301\u56fe\u7247\u4e0a\u4f20\u548c\u5904\u7406\n- \ud83c\udf10 **Web \u7ba1\u7406\u754c\u9762** - \u73b0\u4ee3\u5316\u7684 React \u7ba1\u7406\u754c\u9762\n- \u26a1 **\u9ad8\u6027\u80fd** - \u57fa\u4e8e FastAPI \u548c\u5f02\u6b65\u5904\u7406\uff0c\u63d0\u4f9b\u5353\u8d8a\u7684\u6027\u80fd\n\n## \ud83d\udcc4 \u8bb8\u53ef\u8bc1\n\n\u672c\u9879\u76ee\u91c7\u7528 MIT \u8bb8\u53ef\u8bc1 - \u67e5\u770b [LICENSE](LICENSE) \u6587\u4ef6\u4e86\u89e3\u8be6\u60c5\u3002\n\n## \ud83d\ude4f \u81f4\u8c22\n\n- [Anthropic Claude](https://www.anthropic.com/claude) - ~~\u53ef\u7231\u7684\u5c0f\u514b~~ \u5f3a\u5927\u7684 AI \u52a9\u624b\n- [Clewd](https://github.com/teralomaniac/clewd/) - \u521d\u4ee3 Claude.ai \u53cd\u5411\u4ee3\u7406\n- [ClewdR](https://github.com/Xerxes-2/clewdr) - \u9ad8\u6027\u80fd Claude.ai \u53cd\u5411\u4ee3\u7406\n- [FastAPI](https://fastapi.tiangolo.com/) - \u73b0\u4ee3\u3001\u5feb\u901f\u7684 Web \u6846\u67b6\n- [Tailwind CSS](https://tailwindcss.com/) - CSS \u6846\u67b6\n- [Shadcn UI](https://ui.shadcn.com/) - \u73b0\u4ee3\u5316\u7684 UI \u7ec4\u4ef6\u5e93\n- [Vite](https://vitejs.dev/) - \u73b0\u4ee3\u5316\u7684\u524d\u7aef\u6784\u5efa\u5de5\u5177\n- [React](https://reactjs.org/) - JavaScript \u5e93\n\n## \u26a0\ufe0f \u514d\u8d23\u58f0\u660e\n\n\u672c\u9879\u76ee\u4ec5\u4f9b\u5b66\u4e60\u548c\u7814\u7a76\u4f7f\u7528\u3002\u4f7f\u7528\u672c\u9879\u76ee\u65f6\uff0c\u8bf7\u9075\u5b88\u76f8\u5173\u670d\u52a1\u7684\u4f7f\u7528\u6761\u6b3e\u548c\u6761\u4ef6\u3002\u4f5c\u8005\u4e0d\u5bf9\u4efb\u4f55\u6ee5\u7528\u6216\u8fdd\u53cd\u670d\u52a1\u6761\u6b3e\u7684\u884c\u4e3a\u8d1f\u8d23\u3002\n\n## \ud83d\udcee \u8054\u7cfb\u65b9\u5f0f\n\n\u5982\u6709\u95ee\u9898\u6216\u5efa\u8bae\uff0c\u8bf7\u901a\u8fc7\u4ee5\u4e0b\u65b9\u5f0f\u8054\u7cfb\uff1a\n\n- \u63d0\u4ea4 [Issue](https://github.com/mirrorange/clove/issues)\n- \u53d1\u9001 Pull Request\n- \u53d1\u9001\u90ae\u4ef6\u81f3\uff1aorange@freesia.ink\n\n---\n\n<div align=\"center\">\nMade with \u2764\ufe0f by \ud83c\udf4a\n</div>\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "A Claude.ai reverse proxy",
    "version": "0.1.1",
    "project_urls": {
        "Bug Tracker": "https://github.com/mirrorange/clove/issues",
        "Documentation": "https://github.com/mirrorange/clove#readme",
        "Homepage": "https://github.com/mirrorange/clove"
    },
    "split_keywords": [
        "ai",
        " claude",
        " fastapi",
        " proxy"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "f5245cc78ec6094fe7f5512a4ab12fdc5dc1213c191f3431339d91f73b9e35fd",
                "md5": "d3690f5d21bc3de0986193aace60ef46",
                "sha256": "010e5c5d69747e0368d68fe18826b4fbef15f489ecdb017a1eed8f61f1d5b2e5"
            },
            "downloads": -1,
            "filename": "clove_proxy-0.1.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "d3690f5d21bc3de0986193aace60ef46",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.11",
            "size": 248967,
            "upload_time": "2025-07-08T15:57:49",
            "upload_time_iso_8601": "2025-07-08T15:57:49.883021Z",
            "url": "https://files.pythonhosted.org/packages/f5/24/5cc78ec6094fe7f5512a4ab12fdc5dc1213c191f3431339d91f73b9e35fd/clove_proxy-0.1.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-07-08 15:57:49",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "mirrorange",
    "github_project": "clove",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [
        {
            "name": "httpx",
            "specs": [
                [
                    ">=",
                    "0.28.3"
                ]
            ]
        },
        {
            "name": "curl-cffi",
            "specs": [
                [
                    ">=",
                    "0.11.4"
                ]
            ]
        },
        {
            "name": "fastapi",
            "specs": [
                [
                    ">=",
                    "0.115.14"
                ]
            ]
        },
        {
            "name": "loguru",
            "specs": [
                [
                    ">=",
                    "0.7.3"
                ]
            ]
        },
        {
            "name": "pydantic",
            "specs": [
                [
                    ">=",
                    "2.11.7"
                ]
            ]
        },
        {
            "name": "pydantic-settings",
            "specs": [
                [
                    ">=",
                    "2.10.1"
                ]
            ]
        },
        {
            "name": "tiktoken",
            "specs": [
                [
                    ">=",
                    "0.9.0"
                ]
            ]
        },
        {
            "name": "uvicorn",
            "specs": [
                [
                    ">=",
                    "0.35.0"
                ]
            ]
        },
        {
            "name": "json5",
            "specs": [
                [
                    ">=",
                    "0.12.0"
                ]
            ]
        },
        {
            "name": "tenacity",
            "specs": [
                [
                    ">=",
                    "9.1.2"
                ]
            ]
        }
    ],
    "lcname": "clove-proxy"
}
        
Elapsed time: 0.43734s