Snippets - PySnippets Client Module
Import any snippet from PySnippets with just one line in your python code (well, two, if you count importing this module)
Usage
import snippets snippet_name = snippets.get('snippet_name')
Now your module is running and ready to use.
Options to get are:
- version - Which version of the snippet to import. Leave blank to get the latest.
- verbose (True/False) - should get print out messages before downloading/updating snippets
- check_updates (True/False) - should get periodically check for updates for this snippet. Should probably be used in conjunction with version.
Download
To install it, just put it somewhere with a pythonpath (like, your site-packages).
Yes, I know, I'll make an installer soon.
$$latest_version=0.1$$
page_revision: 8, last_edited: 1243942432|%e %b %Y, %H:%M %Z (%O ago)





