Skip to main content

A simple package for usage of Firebase for novice Python users

Project description

Simplebase

A simple Firebase wrapper for Python. It uses the firebase_admin package for requests to Firebase, and makes things WAY easier to use.

To use the package, you must have Realtime Database and Storage enabled and a private key, stored in a JSON file.

You can connect to Firebase like this:

connect("dbkey.json", "https://xxxxxxx-default-rtdb.firebaseio.com", "xxxxxxx.appspot.com")

Go to a path:

refdb("/test/")

Get from the path:

get()

Add to / create a nested path with a value:

addToNest("/test/", "key", "value")

Add to a path with a value:

add("key", "value")

Delete a nested path:

deleteNest("/test/")

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

simplebase-0.0.2.tar.gz (2.1 kB view details)

Uploaded Source

Built Distribution

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

simplebase-0.0.2-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

Details for the file simplebase-0.0.2.tar.gz.

File metadata

  • Download URL: simplebase-0.0.2.tar.gz
  • Upload date:
  • Size: 2.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.2

File hashes

Hashes for simplebase-0.0.2.tar.gz
Algorithm Hash digest
SHA256 84406946a027de3018ae2d1d3d88ec4a99579c7219aa94b74b1e980f068c7728
MD5 4a3ba5ee0958111b4e64db8af71c2964
BLAKE2b-256 b1b89927840e1fe3824f5a21eef5c510f1c3d5fa39a8d37764ef1ddbeae42fb6

See more details on using hashes here.

File details

Details for the file simplebase-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: simplebase-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 3.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.2

File hashes

Hashes for simplebase-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d876139fb4cf09bf37f6b93ff70758d6a8ade9935c32ed231ab2118878dab7cb
MD5 3cf4ba31f343fe4a6ebb5ba218615de3
BLAKE2b-256 532f21320ccb3e6ecebbc62953f70511517a4d6dba769713e0976f87838e84a4

See more details on using hashes here.

Supported by

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