About PyTextBin
PyTextBin is a versatile Python library facilitating seamless conversion between text, binary, JSON, base64, xml and CSV formats with ease.
Installation
You can install textbin through your terminal using pip from PyPI
@@ -103,6 +103,28 @@+ +Convert JSON and Base64
Convert JSON and CSV
+
+
+ Add more usage
+
+ from textbin.textbin import *
+ textbin_obj = textbin.Textbin()
+
+
+ # Convert a JSON object to CSV
+ json_list = [{ 'id' : 12 , 'name' : 'Collins' }]
+ converted = textbin_obj.json_to_csv(json_list)
+ print(converted)
+
+ #Output
+ #id,name
+ #12,Collins
+
+
+
+