hprint 2.1.0__py3-none-any.whl → 2.1.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
hprint/__init__.py CHANGED
@@ -35,10 +35,10 @@ def _pprint(obj):
35
35
 
36
36
  def json_print(data):
37
37
  if isinstance(data, dict):
38
- _print(json.dumps(data, indent=4, sort_keys=True, default=str))
38
+ _print(json.dumps(data, indent=4, sort_keys=True, default=str, ensure_ascii=False))
39
39
  elif isinstance(data, list):
40
40
  try:
41
- _print(json.dumps([dict(d) for d in data], indent=4, sort_keys=True, default=str))
41
+ _print(json.dumps([dict(d) for d in data], indent=4, sort_keys=True, default=str, ensure_ascii=False))
42
42
  except Exception:
43
43
  try:
44
44
  _pprint([dict(d) for d in data])
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: hprint
3
- Version: 2.1.0
3
+ Version: 2.1.1
4
4
  Summary: Print python object in table/json format
5
5
  Home-page: https://github.com/ruanhao/hprint
6
6
  Author: Hao Ruan
@@ -26,6 +26,18 @@ Requires-Python: >=3.7, <4
26
26
  Description-Content-Type: text/markdown
27
27
  License-File: LICENSE
28
28
  Requires-Dist: tabulate
29
+ Dynamic: author
30
+ Dynamic: author-email
31
+ Dynamic: classifier
32
+ Dynamic: description
33
+ Dynamic: description-content-type
34
+ Dynamic: home-page
35
+ Dynamic: keywords
36
+ Dynamic: license
37
+ Dynamic: license-file
38
+ Dynamic: requires-dist
39
+ Dynamic: requires-python
40
+ Dynamic: summary
29
41
 
30
42
  hprint
31
43
  ======
@@ -0,0 +1,8 @@
1
+ hprint/__init__.py,sha256=zJYTFYq88Qgppddo2TIdm_5ocaQ6AdqAxyi9bcWhJpU,5663
2
+ hprint/dsutils.py,sha256=UD1L8-23_0320w7ESc_Vwc148w_CLSyJ6t7T5t3yu9M,786
3
+ hprint/utils.py,sha256=ziZQyo-c3QhACQCnFaRjoKZTT9EhjMLu2Qf53jimhHo,603
4
+ hprint-2.1.1.dist-info/licenses/LICENSE,sha256=5IASoCg1AtQddnqyVxltUyoadbZzUpRa_0QvUB-Hwlg,1065
5
+ hprint-2.1.1.dist-info/METADATA,sha256=bQWzNdxemNJ4uEizWAg41sHHAW92K4B2qSoD3uYbXTw,5552
6
+ hprint-2.1.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
7
+ hprint-2.1.1.dist-info/top_level.txt,sha256=yHUSDt5IDs8J8taLMOu-SaOZK24DyzM0TidniiEJ-Ng,7
8
+ hprint-2.1.1.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: bdist_wheel (0.42.0)
2
+ Generator: setuptools (80.9.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -1,8 +0,0 @@
1
- hprint/__init__.py,sha256=AqKaCS5sv6NuDFbJYf5TDYKEhZGOQclGnHopD2q-GTM,5623
2
- hprint/dsutils.py,sha256=UD1L8-23_0320w7ESc_Vwc148w_CLSyJ6t7T5t3yu9M,786
3
- hprint/utils.py,sha256=ziZQyo-c3QhACQCnFaRjoKZTT9EhjMLu2Qf53jimhHo,603
4
- hprint-2.1.0.dist-info/LICENSE,sha256=5IASoCg1AtQddnqyVxltUyoadbZzUpRa_0QvUB-Hwlg,1065
5
- hprint-2.1.0.dist-info/METADATA,sha256=LU7M7DAwV3OfDsgxyaW4_Q8pcu8jsRQjalUnVuxHdaw,5298
6
- hprint-2.1.0.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
7
- hprint-2.1.0.dist-info/top_level.txt,sha256=yHUSDt5IDs8J8taLMOu-SaOZK24DyzM0TidniiEJ-Ng,7
8
- hprint-2.1.0.dist-info/RECORD,,