Current collected state Current
Observed since 20 Oct, 18:00 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
Make flat dict and back from dict
Make flat dict and back from dict
With pip:
pip install accordion
from accordion import compress, expand
data = {
"a": [1, 2, 3],
"b": {
"c": "d"
}
}
expected = {
"a/0": 1,
"a/1": 2,
"a/2": 3,
"b.c": "d"
}
assert compress(data) == expected
assert expand(compress(data)) == data
Tested with python3.6
git clone <your-fork>pip install -r requirements.txt && pip install -r dev-requirements./run_tests.shDownload counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.2.3 | 1 May 2019 | 0 |
This describes our collected data; it is not a security assessment.
Shared repository data · GitHub
Public sponsor counts have not been collected. These signals belong to the repository owner.
github · 1 observations shown. Missing days are unknown.
| Date / source period | Value | Observed at |
|---|---|---|
| 2026-10-21 | 1 | 2026-10-21T20:04:49.5826639Z |
Observed since 20 Oct, 18:00 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:72e9ce246529040cac3dea860bfddb7cf10f293f8f9a350a668ef58c3771ee68