有哪些好的 python 库可以满足以下需求?
什么是满足以下需求的优秀 python 库:
- MVC
- 域抽象
- 数据库抽象
- 视频库(仅用于创建缩略图)
我已经知道 SQLAlchemy 对于数据库抽象非常有用,因此除非您想建议一个更好的库,否则不要费心使用它。
编辑:提及这似乎很愚蠢,但我谈论的是 GUI 的 MVC,而不是 Web,只是为了澄清而提及
编辑: MVC 部分也包含 GUI 部分或者我可以使用像 PyQt 这样的单独的 GUI 库吗
What are good python libraries for the following needs:
- MVC
- Domain Abstraction
- Database Abstraction
- Video library (just to create thumbnails)
I already know that SQLAlchemy is really good for Database Abstraction so don't bother with it unless you want to suggest a better one.
Edit: This might seem stupid to mention but I'm talking about MVC for GUI and not for web, just mentioning for clarification
Edit: Also does the MVC part contain GUI part or can I use a separate library for GUI like PyQt
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
您是否尝试过 wxWidgets(事实上,wxPython)?
它有很好的文档(这总是一件好事),并且允许以 MVC 方式创建代码。它只是 GUI 库,但允许一些简单的图像操作(如果它不够好,请尝试使用 Python 版本的 ImageMagick)。它使用本机控件,因此应用程序在其运行的操作系统上看起来是本机的。
另一方面, PyQt 拥有比 wxWidgets 或 wxPython 更好的文档,但我永远无法习惯其 GUI 的外观和感觉(它是自定义的,因此在任何操作系统上看起来都不是原生的)。由于 Riverbankcomputing 无法与诺基亚就许可证达成一致,诺基亚启动了一个名为 PySide 的项目,该项目是 Qt 的 LGPL 版本 -绑定。预计将于 2010 年初完成。
Have you tried wxWidgets (well, wxPython in fact)?
It has nice documentation (which is always a good thing), and allows creating code in MVC manner. It's just the GUI library, but allows some simple image manipulation (if it's not good enough for you try using Python version of ImageMagick). It uses native controls, so the application looks native on the OS it's being ran.
PyQt on the other hand has even better docs than wxWidgets or wxPython, but I could never get used to the look&feel of its GUI (it's custom, so it doesn't look native on any OS). Because riverbankcomputing couldn't agree with nokia on a license nokia started a project called PySide which is a LGPL version of the Qt-bindings. It's supposed to be finished in early 2010.
django 是一个非常好的mvc框架,带有orm
django is a pretty good mvc framework with an orm
您可以使用 http://turbogears.org/ 。它类似于 Django,但使用“架子上的”现有模块。
You could go with http://turbogears.org/ . Its like Django, but uses "of the shelves" existing modules.