Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/pskc/__init__.py
Commit message (Collapse)AuthorAgeFilesLines
* Get files ready for 0.2 release0.2Arthur de Jong2014-06-191-1/+1
|
* Only catch normal exceptionsArthur de Jong2014-06-191-1/+1
|
* Remove unused importArthur de Jong2014-06-181-2/+0
|
* Support various ElementTree implementationsArthur de Jong2014-06-141-3/+3
| | | | | | | | | | | When using a recent enough lxml, even Python 2.6 should work now. The most important requirement is that the findall() function supports the namespaces argument. This also now catches all exceptions when parsing the PSKC file fails and wraps it in ParseError because various implementations raise different exceptions, even between versions (Python 2.6's ElementTree raises ExpatError, lxml raises XMLSyntaxError).
* Have parse module provide find() functionsArthur de Jong2014-06-141-7/+4
| | | | | | | | This changes the parse module functions to better match the ElementTree API and extends it with findint(), findtime() and findbin(). It also passes the namespaces to all calls that require it without duplicating this throughout the normal code.
* Use get() instead of attrib.get() (shorter)Arthur de Jong2014-06-141-2/+2
|
* Always put a space between RFC and numberArthur de Jong2014-05-291-7/+7
|
* Add a function for adding a new keyArthur de Jong2014-05-251-0/+15
|
* Consistency improvementArthur de Jong2014-05-251-2/+2
|
* Support creating an empty PSKC instanceArthur de Jong2014-05-251-6/+9
|
* Raise exceptions on some parsing problemsArthur de Jong2014-05-231-2/+13
|
* Use pskcxml as file name extensionArthur de Jong2014-05-231-1/+1
| | | | This is the extension that is suggested in RFC6030.
* Move PSKC class to toplevel moduleArthur de Jong2014-04-191-4/+44
| | | | This also splits the parsing to a parse() function for consistency.
* Add initial setup scriptArthur de Jong2014-04-161-2/+22
|
* Basic implementation of PSKC classArthur de Jong2014-04-071-0/+6
| | | | | | | | | This class is used for handling PSKC files. It will parse the file and store relevant properties for easy access. The Key class corresponds to a single key defined in the PSKC file. This is a very minimal implementation that only provides some meta-data from the file and keys (work in progress).
* Initial project layoutArthur de Jong2014-04-041-0/+28