Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tchx84/gpaste

Use fedora pastebin service in your Glib2 code
https://github.com/tchx84/gpaste

Last synced: about 1 month ago
JSON representation

Use fedora pastebin service in your Glib2 code

Awesome Lists containing this project

README

        

## gpaste
gpaste helps you integrate fedora pastebin service in your Glib2 code.

### Example
from gpaste.paste import Paste

paste = Paste()
paste.connect('completed', __phase1_completed_cb)
paste.connect('failed', __phase2_failed_cb)
paste.create('import os', 'python', 'tch')

For more examples, check the tests folder.

### Dependencies
* grestful [https://github.com/tchx84/grestful]

### Development
* Feel free to hack it and send pull requests!

### Documentation
* Take a look at the API docs [http://fpaste.org/doc/api/]