Useful tools to work with Google Firestore in Python
Project description
Useful tools to work with Google Cloud Firestore database in Python
Description
Main functions
read
: recursively read collections and documents, and save to disk. Useful for backup operation.write
: write whole folder with arbitrary levels of nested structure. Useful for restore operation.
Installation
Normal installation
pip install firestoretools
Development installation
git clone https://github.com/ncthuc/firestoretools.git
cd firestoretools
pip install --editable .
Usage
Backup data
firestoretools read --help
Restore data
firestoretools write --help
Change log
[0.1.2] - 2019-03-06
Added
- Add
write
that read data from local folder and write to Firestore
[0.1.1] - 2019-02-27
Added
- Add
read
that read data (document/collection) from Firestore and save to local file system
[0.1.0] - 2019-02-27
Added
- Init project
- Firestore setup with
firebase-admin
Python library
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
firestoretools-0.1.2.tar.gz
(5.2 kB
view details)
Built Distribution
File details
Details for the file firestoretools-0.1.2.tar.gz
.
File metadata
- Download URL: firestoretools-0.1.2.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b0aca165419d07e56e59f0360f0571a1e8f5f0dbf61d6b9ef5878fdc392796ef |
|
MD5 | 6cbe99b0bd32d7768f231058934e0a12 |
|
BLAKE2b-256 | b081a485e6c6a6b61efa8d5f31bf6623dac112770c7e541c5986613f00ad9854 |
File details
Details for the file firestoretools-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: firestoretools-0.1.2-py3-none-any.whl
- Upload date:
- Size: 6.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | da444f767f28c5116560df48d88c95fe2c9a57fabc8075507474555322ae73fc |
|
MD5 | 30586dbc1059b0ddf9a279139bbc08db |
|
BLAKE2b-256 | 1740326af76ff37ff8a20fa33503234965a0b30ea41e0cc76a7eaaac2adff4df |