Both sides previous revisionPrevious revisionNext revision | Previous revision |
programming:python:libgal3 [2012/02/22 23:10] – [Downloading] jay | programming:python:libgal3 [2023/11/10 20:06] (current) – [Donations] jay |
---|
| |
===== Downloading ===== | ===== Downloading ===== |
You can download the package here: {{:programming:python:pylibgal3-0.1.4.tar.gz|pylibgal3-0.1.4.tar.gz}}. | You can download the package here: {{:programming:python:pylibgal3-0.1.6.tar.gz|pylibgal3-0.1.6.tar.gz}}. |
| |
You can also track this project on [[https://github.com/crustymonkey/pylibgal3|github]] | You can also track this project on [[https://github.com/crustymonkey/pylibgal3|github]] |
| |
===== Donations ===== | |
Click the donate button to donate to my [[http://www.surlybrewing.com/|Surly]] fund (that stuff isn't cheap, but it's soooooo good). | |
<html> | |
<form action="https://www.paypal.com/cgi-bin/webscr" method="post"> | |
<input type="hidden" name="cmd" value="_s-xclick"> | |
<input type="hidden" name="hosted_button_id" value="83ENX2ZV8E694"> | |
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!"> | |
<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1"> | |
</form> | |
</html> | |
===== Installing ===== | ===== Installing ===== |
Install is pretty easy if you've ever installed another Python package. It's the standard ''python setup.py install'' as root thing. | Install is pretty easy if you've ever installed another Python package. It's the standard ''python setup.py install'' as root thing. |
updatedDatetime = root.getUpdDT() | updatedDatetime = root.getUpdDT() |
</code> | </code> |
An important thing to note with some of the above. All the "members", "tags", "album_cover", and as we will see with images, "comments" are created on the fly with a //lazy// pull from the server. If you are not familiar with what I mean by "lazy", that means that when, in your code, you access the "members" property of your album, a call will be made to the //at that time// to generate the objects for each member. It is an on-demand approach to object creation. It keeps the server access to a minimum so that there aren't calls being made to retrieve items that aren't going to be used. The calls to the server for these items is only made once and all the "members" will be stored in memory for access after that. **NOTE**: this also means that there will be a bit of a delay when you are first accessing properties like "members", "tags", "comments", etc. | An important thing to note with some of the above. All the "members", "tags", "album_cover", and as we will see with images, "comments", are created on the fly with a //lazy// pull from the server. If you are not familiar with what I mean by "lazy", it means that when, in your code, you access the "members" property of your album, a call will be made to the //at that time// to generate the objects for each member. It is an on-demand approach to object creation. It keeps the server access to a minimum so that there aren't calls being made to retrieve items that aren't going to be used. The calls to the server for these items are only made once and all the "members" will be stored in memory for access after that. **NOTE**: this also means that there will be a bit of a delay when you are first accessing properties like "members", "tags", "comments", etc. |
| |
==== Images ==== | ==== Images ==== |