在python中使用google firestore的有用工具
firestoretools的Python项目详细描述
在python中使用google cloud firestore数据库的有用工具
说明
主要功能
read
:递归地读取集合和文档,并保存到磁盘。对备份操作有用。write
:用任意层次的嵌套结构编写整个文件夹。对还原操作有用。
安装
正常安装
pip install firestoretools
开发安装
git clone https://github.com/ncthuc/firestoretools.git
cd firestoretools
pip install --editable .
用法
备份数据
firestoretools read --help
还原数据
firestoretools write --help
更改日志
[0.1.2]-2019-03-06
添加了
- 添加从本地文件夹读取数据并写入firestore的
write
[0.1.1]-2019-02-27
添加了
- 添加从firestore读取数据(文档/集合)并保存到本地文件系统的
read
[0.1.0]-2019-02-27
添加了
- 初始项目
- 使用
firebase-admin
python库的firestore设置