LevelDB Export
This package allows to export documents from a LevelDB file. For instance it can be used to extract documents from a previously created Firestore export. Note, this package is a fork from labbots/firestore-export-json. This fork is different in:
- Makes it an installable package. The original is designed to run as a script.
- Solves some parsing issues regarding arrays.
Installation
Install the package from pypi.
pip install leveldb-export
Example
Use the function parse_leveldb_documents to parse documents from a LevelDB / Firestore dump. As input either:
- Use path to file
- Use open file handle
For example
>>> from leveldb_export import parse_leveldb_documents
>>> docs = list(parse_leveldb_documents("./firestore/export-0"))
>>> print(f"Got {len(docs)} documents")
Got 288 documents
Metadata
Release files for leveldb-export 0.1.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 | Provenance | Actions |
|---|---|---|---|---|
| leveldb-export-0.1.1.tar.gz | 6.1 kB | Without provenance | Details for leveldb-export-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| leveldb_export-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for leveldb_export-0.1.1-py3-none-any.whl |
Total release size: 13.1 kB
Release files / leveldb-export-0.1.1.tar.gz
| Download URL | leveldb-export-0.1.1.tar.gz |
|---|---|
| Size | 6.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
668ba4c710ebcecb5c34ae6c5b29f2236232c68ae24c671c934d160dc4539c54
|
|
BLAKE2b-256 checksum How to use checksums |
44558644d6fef40be78712acd63536d1902e718e480ddf4c9eb4ae3002ac005c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.11 CPython/3.8.12 Darwin/21.1.0
|
Release files / leveldb_export-0.1.1-py3-none-any.whl
| Download URL | leveldb_export-0.1.1-py3-none-any.whl |
|---|---|
| Size | 6.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
13d1909b52db4e6cbed8cec3a6bcaeecec8ce3df846cc4a839002f6b0cb35efa
|
|
BLAKE2b-256 checksum How to use checksums |
07163d3eba6b53e3b37cb21a0240278c874685451c44aa8cd9fcc4fb9d596b90
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.11 CPython/3.8.12 Darwin/21.1.0
|
Security for leveldb-export 0.1.1
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.