在没有lxml的Google Appengine上使用python-amazon-product-api [英] Using python-amazon-product-api on Google Appengine without lxml

查看:155
本文介绍了在没有lxml的Google Appengine上使用python-amazon-product-api的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


可能重复:

用于Python的Amazon API库?


我想要使用python-amazon-product-api包装来访问Amazon API:

http://pypi.python.org/pypi/python-amazon-product-api/

不幸的是,它依赖于Google Appengine不支持的lxml。



有谁知道解决方法?我只是想用API来做基本的东西,所以我可以用Elementtree来代替?我是一个新手,所以使用任何东西,除了它是如何从盒子里出来的仍然是一个挑战:)

谢谢
Tom

解决方案

您可以尝试使用这个分支。


这是
python-amazon产品的小分支api位于:

http://bitbucket.org/basti/python-amazon-product-api/wiki/Home



该库使用lxml,它是
被谷歌应用程序引擎禁止。此
分支用BeautifulSoup替换lxml。



Possible Duplicate:
Amazon API library for Python?

I'm wanting to use the python-amazon-product-api wrapper to access the Amazon API:

http://pypi.python.org/pypi/python-amazon-product-api/

Unfortunately it relies on lxml which is not supported on Google Appengine.

Does anyone know a workaround? I'm only looking to do basic stuff with the API so could I use Elementtree instead? I'm a newbie so using anything other than how it comes out of the box is still a challenge :)

Thanks Tom

解决方案

You could try to use this fork.

This is a minor fork of the python-amazon-product api located at:

http://bitbucket.org/basti/python-amazon-product-api/wiki/Home

That library uses lxml which is disallowed by google app engine. This fork replaces lxml with BeautifulSoup.

这篇关于在没有lxml的Google Appengine上使用python-amazon-product-api的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆