[python]python中的一些包以及他们的基本用处和安装

pika能够用来链接rabbitmq
pip install pika -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.compython

requests是HTTP库
Request支持HTTP链接保持和链接池,支持使用cookie保持会话,支持文件上传,支持自动响应内容的编码,支持国际化的URL和POST数据自动编码。
pip install requests -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.commysql

SQLAlchemy是ORM框架
pip install SQLAlchemy -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.comsql

pymongo是链接mongodb的库
pip install pymongo -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.commongodb

MySQL-python是链接mysql的库
apt-get install python-mysqldbcookie

gearman分布式任务系统
pip install gearman -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com框架

lxml是python的一个解析库,支持HTML和XML的解析
pip install lxml -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.comcurl

elasticsearch库,es的客户端库
pip install elasticsearch -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.comelasticsearch

pycurl是curl库
pip install pycurl -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com
报错
__main__.ConfigurationError: Could not run curl-config: [Errno 2] No such file or directory
apt-get install libcurl4-openssl-dev分布式

相关文章
相关标签/搜索