# python-mq-consumer **Repository Path**: jiang5sx/python-mq-consumer ## Basic Information - **Project Name**: python-mq-consumer - **Description**: No description available - **Primary Language**: Python - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-06-29 - **Last Updated**: 2024-06-30 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ### 安装依赖 ```bash pip install fastapi pika uvicorn ``` ### 输出依赖 ```bash pip freeze > requirements.txt ``` ### 安装打包依赖 ```bash pip install setuptools wheel ``` ### 如果安装依赖出现问题,尝试清除pip缓存 ```bash pip cache purge ``` ### 运行 ```bash uvicorn main:app --host 0.0.0.0 --port 8000 --reload ``` ### 下载依赖成离线包 ```bash pip download setuptools wheel ``` ### 打包项目 ```bash python setup.py bdist_wheel ``` ### 使用 whl文件 ```bash pip install xxx.whl ```