You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
428 B

"""
AKShare HTTP 服务启动脚本
Windows 用户双击运行或 python start.py 启动
"""
import uvicorn
import sys
if __name__ == "__main__":
print("Starting AKShare HTTP API Server...")
print("URL: http://localhost:8000")
print("Press Ctrl+C to stop")
print("-" * 50)
uvicorn.run(
"main:app",
host="0.0.0.0",
port=8000,
reload=False,
log_level="info"
)