blog.tonyseek.com
为 C/C++ 库定制 Python Binding
https://blog.tonyseek.com/post/make-python-binding-for-c-library
为 C/C 库定制 Python Binding. 2013 年 12 月 10 日. 可能因为性能原因需要自己编写一部分 C 代码,可能因为需要的第三方库是 C/C 编写的。 直接 port 到 Python 上. 实现例子: https:/ github.com/CNBorn/pytclip. Tclip 是使用 OpenCV 实现的,所以一个可行的途径是直接使用 OpenCV 的 Python Binding,将逻辑在 Python 中实现一遍。 所以如果目标库本身代码比较简单,但是用到了第三方 C/C 库,可以寻找有没有第三方库的 Python Binding。 如果有,可以将逻辑 port 到 Python 上实现。 编写快,只需要编写 Python 代码,不需要写 C/C. 由于将构建过程推给了第三方 Python Binding,所以直接用 setuptools 内置的依赖管理指向 PyPI 上的包即可。 而且最终质量依赖第三方 Python Binding 库的质量。 使用 CPython ABI 绑定. 实现例子: https:/ github.com/xtao/tclip.
github.com
GitHub - mariocesar/sorl-thumbnail: Thumbnails for Django
https://github.com/mariocesar/sorl-thumbnail
Http:/ sorl-thumbnail.readthedocs.org/en/latest/. Use Git or checkout with SVN using the web URL. Feb 1, 2016. Failed to load latest commit information. Jan 18, 2016. Feb 1, 2016. Feb 1, 2016. Fix import for python 2.7 in dbm kvstore. Dec 26, 2014. Jan 18, 2016. Merge branch 'master' of. Jan 18, 2016. Update changes list for version 12. Oct 26, 2014. Sep 9, 2011. MANIFEST.in updated, thanks Michael Fladischer. Dec 29, 2011. Merge branch 'master' into jcupitt-add-vipsthumbnail. Jan 18, 2016. Feb 15, 2014.