使用异步运行棱锥体的工具。

aiopyramid的Python项目详细描述


简介

使用新的asyncio异步利用金字塔基础结构的库。

Aiopyramid提供了使用Pyramidasyncio生成web应用程序的工具。 它不一定会使应用程序运行得更快。相反,它给了你一些工具 以及在异步服务器上构建应用程序的模式。 请记住,在适当的情况下,您需要为io使用异步库。

因为这个库是建立在相对较新的技术之上的,所以它不打算用于生产。

开始

Aiopyramid包含创建“hello world”应用程序的脚手架, 过来看。脚手架的设计目的是使用gunicorn 通过自定义工作进程或uWSGI通过uWSGI asyncio plugin

例如:

pip install aiopyramid gunicorn
pcreate -s aio_starter <project>
cd <project>
python setup.py develop
pserve development.ini

还有一个websocketscaffoldaio\u websocket供那些设置基本工具的人使用 一个websocket服务器。

文件

可以找到Aiopyramid的完整文档here

更改

0.4.1(2016-06-04)

  • Fix dependency mismatch for cases of aiohttp > 1.0 but < 2.0

0.4.0(2016-05-29)

  • Refactor to support latests aiohttp

0.3.7(2017-05-07)

  • Peg aiohttp dependency

0.3.6(2016-09-22)

  • Fix header normalization for Gunicorn

0.3.5(2016-02-18)

  • Fix Gunicorn logging support

0.3.4(2016-02-03)

  • Fix compatiblity with websockets 3+

0.3.3(2015-11-21)

  • Merge fix for ignore_websocket_closed to allow chained exceptions
  • Add option to coerce bytes to str for uwsgi websockets

0.3.2(2015-09-24)

  • Support Python3.5

0.3.1(2015-01-31)

  • Fix issues related to POST requests
  • Fix issues related to coroutine mappers
  • Sync with Gunicorn settings a la issue #917

0.3.0(2014-12-06)

  • Add sphinx
  • Migrate README to sphinx docs
  • Add helpers for authentication
  • Deprecated aiopyramid.traversal, use aiopyramid.helpers.synchronize
  • Deprecated aiopyramid.tweens, moved examples to docs

0.2.4(2014-10-06)

  • Fix issue with gunicorn websockets
  • Fix issue with class-based view mappers

0.2.3(2014-10-01)

  • Fix issue with synchronize

0.2.2(2014-09-30)

  • Update example tween to work with gunicorn
  • Add kwargs support to helpers
  • Add tox for testing
  • Add decorator synchronize for wrapping coroutines
  • Refactored mappers and tween example to use synchronize
  • Bug fixes

0.2.1(2014-09-15)

  • Update scaffold example tests
  • Add test suite
  • Update README

0.2.0(2014-09-01)

  • Update README
  • added websocket mappers for uwsgi and gunicorn
  • added websocket view class

0.1.2(2014-08-02)

  • Update MANIFEST.in

0.1.0(2014-08-01)

  • Update README ready for release
  • Added asyncio traverser (patched from ResourceTreeTraverser)
  • Added custom gunicorn worker
  • Fix issue with uwsgi and executor threads
  • Update starter scaffold

0.0.3(2014-07-30)

  • Moving to an extension-based rather than patched-based approach
  • removed most code based on pyramid_asyncio except testing and scaffolds
  • added view mappers for running views in asyncio
  • added example tween that can come before or after synchronous tweens

0.0.2(2014-07-22)

  • Removed Gunicorn specific code
  • disabled excview_tween_factory
  • made viewresult_to_response a coroutine
  • added dummy code for testing with uwsgi

0.0.1(2014-07-22)

  • Migrated from pyramid_asyncio (Thank you Guillaume)
  • Removed worker.py and Gunicorn dependency
  • Added greenlet dependency
  • Changed contact information in setup.py

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
Java中的开源字典组件   即使在成功执行删除查询之后,java更新的列表也不会显示在jsp页面中   java Apache:无法启动上下文路径/网站上的失败应用程序   java验证CSV中的特定列   对于具有专用内存的java应用程序,最小堆大小低于最大堆大小有意义吗?   java将数组中的值转换为多维数组   java在给定程序中,垃圾收集器在对象被取消引用之前正在运行。。。使用jre 7(32位)   java在运行时动态刷新文件夹   eclipse如何解决“java.net.BindException:地址已在使用:JVM_Bind”错误?   Java数组与数组   每次任务完成任务时,Java多线程都会安排任务   java部分编译时使用maven编织第三方jar   java Dokku单一回购中的多个应用程序   用apachevelocity生成javac/C++语言文件   java如何使用spring应用程序上下文中的属性文件实例化列表   java访问智能卡文件结构   具有GlobalMethodSecurity的java自定义UserDetailService循环引用   java如何集成Spring和JSF