General code cleanup, fixed all naming conventions and coding standards to adhere to PEP8 conventions.Īdded thead and tbody tags to group header and content rows when creating a table from an array of objects. Now by default escapes html in text nodes to prevent XSS attacks.įixed issue with one-item lists not rendering correctly. Python 3 support Added integration tests for Python 2.6, 3.4 and 3.5 such that support doesn’t break.Ĭan now also do the proper encoding for you (disabled by default to not break backwards compatibility).Ĭan now handle non-JSON objects on a best-effort principle. Now supports empty inputs and positional arguments for convert. Now supports JSON Lists (at top level), including clubbing. Output now should always appear in the same order as input. ContributorsĪdded support for clubbing Array of Objects with same keys, more readable format.Īdded support for adding custom table_attributes.Ĭonvert now accepts unicode and bytestrings for the keyword argument “json”. Output: glossaryGlossDivGlossListGlossEntryGlossDefGlossSeeAlsoGMLXMLparaA meta-markup language, used to create markup languages such as DocBook.GlossSeemarkupAcronymSGMLGlossTermStandard Generalized Markup LanguageAbbrevISO 8879:1986SortAsSGMLIDSGMLtitleStitleexample glossary Tests cd test/ If value of the key is array of objects and all the keys are same(value of the key is a dict of list), the module will club by default. User friendly tablular fomat, easy to read and share. Python wrapper to convert JSON into a human readable HTML Table representation.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |