首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > Python > 可嵌入Python WSGI服务器基于π网络。

可嵌入Python WSGI服务器基于π网络。

  • 资源大小:1.05 MB
  • 上传时间:2021-06-29
  • 下载次数:0次
  • 浏览次数:1次
  • 资源积分:1积分
  • 标      签: python http webserver Extension wsgi CC

资 源 简 介

A Python web server designed for embedding. If you need a lightweight WSGI compatible web server to be embeded in your project, this might be a good choice. It based on Pion-Net project which uses admirable C++ Boost Asio framework as backend HTTP server implementation. PyCaduceus is based on Pion-Net project and WSGI glue code written by ajp-wsgi project. Getting Started Install The simplest way is to download compiled binaries and copy .pyd (for windows) or .so (for linux) to your python site-packages. You can compile by yourself using our project files (Visual Studio for Windows, Eclipse project or makefile for Linux). Example (integration with Django) It is easy to start PyCaduceus embedding WSGI server: ``` import sys import os sys.path.insert(0, os.path.join(path, "app")) os.environ["DJANGO_SETTINGS_MODULE"] = "settings" from django.core.handlers.ws

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP
0.211249s