python-docraptor is a python interface to the Doc Raptor document generation API. It is designed to mirror (well almost) the behaviour of the doc-raptor-gem, including asynchronous support. Here’s an example of it in action: from docraptor import DocRaptor docraptor = DocRaptor() resp = docraptor.create({ ‘document_content’: ‘<p>python-docraptor Test</p>’, ‘test’: True }) # PDF data is now [...]
New version of pathfinder released with support for limiting the depth of a search, and sequence Filters now inherit from list. import pathfinder # only search top 2 levels of the directory tree paths = pathfinder.pathfind(“.”, depth=2)
While investigating support for compound keys I came to the conclusion that the best way to support them was to rewrite. I’m not a fan of the impulsive “it’s broken we have to rewrite it” clan, but sometimes it’s a necessary thing to do. The previous code didn’t handle dependency cycles gracefully, and the type [...]
Comments are not part of the JSON specification, but it is very useful (and sometimes necessary) to have well commented configuration files. I have added support for comments (multi-line and in-line) to configpy, therefore if a configuration has comments it is not JSON. Internally, configpy just strips the comments before parsing. Here’s a brief example: [...]
pathfinder-0.2 fixes a bug in the NotFilter and the project is now registered on PyPI. configpy-0.2 (PyPI) has seen some big changes, the biggest of which is a change to JSON for the configuration format. There is also new expression support, with an unrestricted mode (full access to globals()).