Removes dots “.” from keys, as mongo doesn’t like that.
Also, convert ints more than 8-bytes to string cause BSON can only handle up to 8-bytes ints.
Finaly, your lovely MongoDB can accept your dict and store it.
Metadata
Release files for fixDict 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| fixDict-0.2.1.tar.gz | 2.9 kB | Details |
Release files / fixDict-0.2.1.tar.gz
| Download URL | fixDict-0.2.1.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3de4e1d26fa1b35a452254e01eb80b94233312c2d966fbb71bc30e98d7c8d334
|
|
BLAKE2b-256 checksum How to use checksums |
6a78de17c142c67a87ab48e4ffbd5ecdfd7a1277596113afb655665996a32876
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |