A previous release had provenance metadata, but this release does not. View details.
DictDumper
The dictdumper project is an open source Python program works as a stream formatted output dumper for dict.
- About
dictdumper.Dumperdictdumper.JSONdictdumper.PLISTdictdumper.Treedictdumper.XMLdictdumper.HTML
- Installation
- Usage
About
Currently, it supports following formats --
dictdumper.Dumper-- abstract base class of all dumpersdictdumper.JSON-- dump JavaScript object notation (JSON) format filedictdumper.PLIST-- dump Apple property list (PLIST) format filedictdumper.Tree-- dump tree-view text (TXT) format filedictdumper.XML-- dump extensible markup language (XML) file (base class)dictdumper.HTML-- dump JavaScript file underVue.jsframework (DEPRECATED)
Installation:
Note that
dictdumpersupports Python versions 2.7 and all versions since 3.0
pip install dictdumper
Usage
dictdumper is quite easy to use. After installation, importation, and initialisation, you can simple call the instance to dump contents.
Take
dictdumper.Treefor example
import dictdumper
dumper = dictdumper.Tree('out.txt')
test_1 = dict(
foo=-1,
bar='Hello, world!',
boo=dict(
foo_again=True,
bar_again=memoryview(b'bytes'),
boo_again=None,
),
)
dumper(test_1, name='test_1')
$ cat out.txt
test_1
|-- foo -> -1
|-- bar -> Hello, world!
|-- boo
|-- foo_again -> True
|-- bar_again
| |-- type -> memoryview
| |-- value -> 62 79 74 65 73
| |-- text -> bytes
|-- boo_again -> NIL
import datetime
test_2 = dict(
foo=[1, 2.0, 3],
bar=(1.0, bytearray(b'a long long bytes'), 3.0),
boo=dict(
foo_again=b'bytestring',
bar_again=datetime.datetime(2020, 1, 31, 20, 15, 10, 163010),
boo_again=float('-inf'),
),
)
dumper(test_2, name='test_2')
$ cat out.txt
test_1
|-- foo -> -1
|-- bar -> Hello, world!
|-- boo
|-- foo_again -> True
|-- bar_again
| |-- type -> memoryview
| |-- value -> 62 79 74 65 73
| |-- text -> bytes
|-- boo_again -> NIL
test_2
|-- foo
| |--> 1
| |--> 2.0
| |--> 3
|-- bar
| |-- type -> tuple
| |-- value
| |--> 1.0
| |--> --
| | |-- type -> bytearray
| | |-- value
| | | |--> 61 20 6c 6f 6e 67 20 6c 6f 6e 67 20 62 79 74 65
| | | 73
| | |-- text -> a long long bytes
| |--> 3.0
|-- boo
|-- foo_again -> 62 79 74 65 73 74 72 69 6e 67
|-- bar_again -> 2020-01-31T20:15:10.163010
|-- boo_again -> -Infinity
test_3 = dict(
foo="stringstringstringstringstringstringstringstringstringstring",
bar=[
"s1", False, "s3",
],
boo=[
"s4", dict(s="5", j="5"), "s6"
],
far=dict(
far_foo=["s1", "s2", "s3"],
far_var="s4",
),
biu=float('nan'),
)
dumper(test_3, name='test_3')
$ cat out.txt
test_1
|-- foo -> -1
|-- bar -> Hello, world!
|-- boo
|-- foo_again -> True
|-- bar_again
| |-- type -> memoryview
| |-- value -> 62 79 74 65 73
| |-- text -> bytes
|-- boo_again -> NIL
test_2
|-- foo
| |--> 1
| |--> 2.0
| |--> 3
|-- bar
| |-- type -> tuple
| |-- value
| |--> 1.0
| |--> --
| | |-- type -> bytearray
| | |-- value
| | | |--> 61 20 6c 6f 6e 67 20 6c 6f 6e 67 20 62 79 74 65
| | | 73
| | |-- text -> a long long bytes
| |--> 3.0
|-- boo
|-- foo_again -> 62 79 74 65 73 74 72 69 6e 67
|-- bar_again -> 2020-01-31T20:15:10.163010
|-- boo_again -> -Infinity
test_3
|-- foo
| |--> stringstringstringstringstringstringstri
| ngstringstringstring
|-- bar
| |--> s1
| |--> False
| |--> s3
|-- boo
| |--> s4
| |--> --
| | |-- s -> 5
| | |-- j -> 5
| |--> s6
|-- far
| |-- far_foo
| | |--> s1
| | |--> s2
| | |--> s3
| |-- far_var -> s4
|-- biu -> NaN
Metadata
Release files for dictdumper 0.8.4.post6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Loss of provenance
These files do not have provenance metadata, despite files in a prior release including this data.
We recommend further investigation before installing these files. View details.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| dictdumper-0.8.4.post6.tar.gz | 76.2 kB | Without provenance | Details |
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| dictdumper-0.8.4.post6-pp310-none-any.whl | PyPy 3.10 | none | any | Details |
| dictdumper-0.8.4.post6-pp39-none-any.whl | PyPy 3.9 | none | any | Details |
| dictdumper-0.8.4.post6-pp38-none-any.whl | PyPy 3.8 | none | any | Details |
| dictdumper-0.8.4.post6-cp313-none-any.whl | CPython 3.13 | none | any | Details |
| dictdumper-0.8.4.post6-cp312-none-any.whl | CPython 3.12 | none | any | Details |
| dictdumper-0.8.4.post6-cp311-none-any.whl | CPython 3.11 | none | any | Details |
| dictdumper-0.8.4.post6-cp310-none-any.whl | CPython 3.10 | none | any | Details |
| dictdumper-0.8.4.post6-cp39-none-any.whl | CPython 3.9 | none | any | Details |
Total release size: 224.3 kB
Release files / dictdumper-0.8.4.post6.tar.gz
Loss of provenance
This file belongs to a release without provenance metadata, despite a prior release including this data.
We recommend further investigation before installing this file. View details.
| Download URL | dictdumper-0.8.4.post6.tar.gz |
|---|---|
| Size | 76.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7826615acb3db3e9bbd493a950d7a06edc033a091ce9da8b65c69fa940f495b0
|
|
BLAKE2b-256 checksum How to use checksums |
9d79516e17cb2445d79daa4f7f4dd6330cc014e997a4bf0e0d8b2817f2c150a5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / dictdumper-0.8.4.post6-pp310-none-any.whl
Loss of provenance
This file belongs to a release without provenance metadata, despite a prior release including this data.
We recommend further investigation before installing this file. View details.
| Download URL | dictdumper-0.8.4.post6-pp310-none-any.whl |
|---|---|
| Size | 18.5 kB |
| Tags | PyPy 3.10 |
|
SHA-256 checksum How to use checksums |
5e095e023e91cbd161e7f939f842364e68a91629d01c7f957997c3b81c83c3b5
|
|
BLAKE2b-256 checksum How to use checksums |
81b75635e41482007f1f93913d40431c4f4e3c2f5ab8118fc5005862cfcd284d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / dictdumper-0.8.4.post6-pp39-none-any.whl
Loss of provenance
This file belongs to a release without provenance metadata, despite a prior release including this data.
We recommend further investigation before installing this file. View details.
| Download URL | dictdumper-0.8.4.post6-pp39-none-any.whl |
|---|---|
| Size | 18.5 kB |
| Tags | PyPy 3.9 |
|
SHA-256 checksum How to use checksums |
c111c1d1d2c17e593086996598912c26915eb70e569d06b70cad83c2b2d5a250
|
|
BLAKE2b-256 checksum How to use checksums |
7efc65a0055346ab39048b964334f6f02f033a9bf537da1e3466532a8fed6dc9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / dictdumper-0.8.4.post6-pp38-none-any.whl
Loss of provenance
This file belongs to a release without provenance metadata, despite a prior release including this data.
We recommend further investigation before installing this file. View details.
| Download URL | dictdumper-0.8.4.post6-pp38-none-any.whl |
|---|---|
| Size | 18.5 kB |
| Tags | PyPy 3.8 |
|
SHA-256 checksum How to use checksums |
1e194e7eb9a3cbbdf8c0ddeb6573366ae3961a2f3199e04dbe515b698b0d316c
|
|
BLAKE2b-256 checksum How to use checksums |
3c5b37a72530551357f785690a879e2eaa34cb18de7853b6f6acd9e146e15e3c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / dictdumper-0.8.4.post6-cp313-none-any.whl
Loss of provenance
This file belongs to a release without provenance metadata, despite a prior release including this data.
We recommend further investigation before installing this file. View details.
| Download URL | dictdumper-0.8.4.post6-cp313-none-any.whl |
|---|---|
| Size | 18.5 kB |
| Tags | CPython 3.13 |
|
SHA-256 checksum How to use checksums |
fcdca7909cdd142ec21d18bcbe5162aceaf00e4bfe502747b12676cf3b77d391
|
|
BLAKE2b-256 checksum How to use checksums |
9d80a117306c161eeedd669a56de1d84fe32981ea9a64272443dedd8c9377bb8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / dictdumper-0.8.4.post6-cp312-none-any.whl
Loss of provenance
This file belongs to a release without provenance metadata, despite a prior release including this data.
We recommend further investigation before installing this file. View details.
| Download URL | dictdumper-0.8.4.post6-cp312-none-any.whl |
|---|---|
| Size | 18.5 kB |
| Tags | CPython 3.12 |
|
SHA-256 checksum How to use checksums |
1b04a2e7c989f059ce99b9a9cf614403b311e48efe26b5100dec326a472da088
|
|
BLAKE2b-256 checksum How to use checksums |
fedb74224dc7f5092a43c376da3f76f1d82744b7ab5b16998ccb46aaaea221d4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / dictdumper-0.8.4.post6-cp311-none-any.whl
Loss of provenance
This file belongs to a release without provenance metadata, despite a prior release including this data.
We recommend further investigation before installing this file. View details.
| Download URL | dictdumper-0.8.4.post6-cp311-none-any.whl |
|---|---|
| Size | 18.5 kB |
| Tags | CPython 3.11 |
|
SHA-256 checksum How to use checksums |
5dba83de43c3ec12e4694c339f5da2092edce974963ea90be664936c58f9d4a9
|
|
BLAKE2b-256 checksum How to use checksums |
10e4c9656063cb97ee6c213f63070a0c18bb1f4cdae77dc84f4d2e062f137756
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / dictdumper-0.8.4.post6-cp310-none-any.whl
Loss of provenance
This file belongs to a release without provenance metadata, despite a prior release including this data.
We recommend further investigation before installing this file. View details.
| Download URL | dictdumper-0.8.4.post6-cp310-none-any.whl |
|---|---|
| Size | 18.5 kB |
| Tags | CPython 3.10 |
|
SHA-256 checksum How to use checksums |
6640248eacfcd2490cf7d7197c6edcd322c5c4e81b357d07279f80daa958639a
|
|
BLAKE2b-256 checksum How to use checksums |
d90e794d308340a9fdfcdd5efcff5020a230e6948daee8c3066e3c64a5e91c9e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / dictdumper-0.8.4.post6-cp39-none-any.whl
Loss of provenance
This file belongs to a release without provenance metadata, despite a prior release including this data.
We recommend further investigation before installing this file. View details.
| Download URL | dictdumper-0.8.4.post6-cp39-none-any.whl |
|---|---|
| Size | 18.5 kB |
| Tags | CPython 3.9 |
|
SHA-256 checksum How to use checksums |
4cf28f67e186076c4d8ee806979e5e412b4bf1d319826be50d0c9c19f5829f83
|
|
BLAKE2b-256 checksum How to use checksums |
8e39e300b7024bdb98b4667dbe397974b58e6246666c1b90491784efbf3cd0ed
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Security for dictdumper 0.8.4.post6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Loss of provenance
A previous release of these files had provenance metadata, but this release does not.
While this could reflect a routine change by the project maintainers, it may also indicate that the release files have been compromised.
Release comparison
- Removed 0.8.4.post4 6 files With provenance
- Added 0.8.4.post6 9 files Without provenance
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.