Json converter
Project description
jsonconverter
A one step stop for all Json conversions.
Installation
pip install jsonConverter
Usage
from jsonConverter import jsonConverter json_converter = jsonConverter(ANY_JSON)
Invoke jsonConverter from json file
from jsonConverter import jsonConverter json_converter = jsonConverter.from_file(json_path)
Invoke jsonConverter from json string
from jsonConverter import jsonConverter json_converter = jsonConverter.from_string(json_str)
Get htmltable from json
from jsonConverter import jsonConverter json_converter = jsonConverter(ANY_JSON) json_converter.get_html_table()
How to change default attributes for html table
Below attributes are exposed. So, pass these parameters to get_html_table method.
table_border_color header_cell_border_color header_background_color header_text_color header_font_size
Example 1 : get html table with header background color as red
from jsonConverter import jsonConverter json_converter = jsonConverter(ANY_JSON) json_converter.get_html_table(header_background_color = "#ff0000")
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
jsonConverter-1.0.3.tar.gz
(2.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file jsonConverter-1.0.3.tar.gz.
File metadata
- Download URL: jsonConverter-1.0.3.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.1.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.6.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dcd105a0a8c1017476b93b2c217770b59ed4ef6545447bb262e28aad6cfb0c51
|
|
| MD5 |
f6cb9592a7e36adfe723e9d2b7b7f4b6
|
|
| BLAKE2b-256 |
2c12a9c1692509d1f160ac9bec039ebc49e018a2647f7183c1773f23ed274c45
|
File details
Details for the file jsonConverter-1.0.3-py3-none-any.whl.
File metadata
- Download URL: jsonConverter-1.0.3-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.1.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.6.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
417fa1e5b4e1680db86ecc3c0d273ce66bc939de9737d61314a0a2bf94dbc9d5
|
|
| MD5 |
31b17113fe68f210ae9eee998385d6ac
|
|
| BLAKE2b-256 |
de6b4b3d851970cd239b10b8ec3e665262378c86c172bb9695054c80a826706d
|