View Single Post
Old 09-10-2013, 09:36 AM   #1
gabalese
Junior Member
gabalese began at the beginning.
 
gabalese's Avatar
 
Posts: 3
Karma: 10
Join Date: Sep 2013
Device: Sony PRS-T1
Lightbulb py-clave, simple RESTful epub distribution system

{I feel it's about time to share back something to this forum, which really helped me in countless occasions.}

py-clave is a prototype server implementation of a set of public RESTful APIs meant to enable clients to retrieve metadata and contents from a bunch of digital publications in EPUB2 format stored in free-form directory structure. The full source code is available on github.

Written in Python, it is built on the tornado framework, an asynchronous non-blocking web library tuned for high performance and scalability.

The API documentation is available here.

The source code is provided as-is under the MIT License.

Suggestions, pull requests, issues and NOS feedback are welcome. The present code shows a few weakness, in particular the database access abstraction (or the lack of one) and could be extended in many ways, for example user authentication. Also, the EPUB class might be extended to comply with richer EPUB3 metadata.
gabalese is offline   Reply With Quote