Skip to main content

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

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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

firestoretools-0.1.2-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

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

Hashes for firestoretools-0.1.2.tar.gz
Algorithm Hash digest
SHA256 b0aca165419d07e56e59f0360f0571a1e8f5f0dbf61d6b9ef5878fdc392796ef
MD5 6cbe99b0bd32d7768f231058934e0a12
BLAKE2b-256 b081a485e6c6a6b61efa8d5f31bf6623dac112770c7e541c5986613f00ad9854

See more details on using hashes here.

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

Hashes for firestoretools-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 da444f767f28c5116560df48d88c95fe2c9a57fabc8075507474555322ae73fc
MD5 30586dbc1059b0ddf9a279139bbc08db
BLAKE2b-256 1740326af76ff37ff8a20fa33503234965a0b30ea41e0cc76a7eaaac2adff4df

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 files

0.1.1

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page