Lodgeit client library: An easy-to-use software that allows clients to connect and interact with Lodgeit service, enabling them to upload and archive logs and code snippets for debugging and collaboration.
With lodgeit, you can easily create and retrieve pastes using a wide range of options, including convenient features like colored output (thanks to the pygments library). The command-line script, for instance, allows you to directly interact with pastes, while the library (lodgeitlib) wraps everything up in a comprehensive, object-oriented package.
One of the most impressive features of lodgeitlib is its simplicity. With just a few lines of code (such as the one shown in the example below), you can create, retrieve, and manage pastes with ease:
from lodgeitlib import lodgeit
# some python code
code = 'print "Hello World"'
# create a paste
paste_id = lodgeit.new_paste(code, 'python')
# fetch some pastes
my_paste = lodgeit.get_paste_by_id(paste_id)
last = lodgeit.get_last_paste()
# print some information about a paste
print 'date:', last.publication_date.isoformat()
print 'url: ', last.url
print 'language: ', last.language_desc
All in all, if you're looking for a flexible, powerful, and easy-to-use tool for managing your pastebin, lodgeitlib is an excellent choice. Be sure to check out the project site for more information and to get started today.
Version 0.2: N/A