[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分佈式

相關文章
相關標籤/搜索