FireUp
Upload, delete, and list your files in Firebse Storage
Firebase storage management tools
positional arguments:
{delete,upload,list} Sub commands
delete Delete files in firebase storage
upload Upload file use --origin and --dest
list List files in --target dir
optional arguments:
-h, --help show this help message and exit
Usage:
Set FIREUP_CONFIG environment variables to config json files. Example
{
"apiKey": "12312asdasdzxc123123213",
"storageBucket": "testing.appspot.com",
"authDomain": "testing.firebaseapp.com",
"databaseURL": "https://testing.firebaseio.com",
"serviceAccount": "./firebasadmin-sa.json"
}
Upload
$ fireup upload --origin <file> --dest <path>
# Example
$ fireup upload --origin some.apk --dest apk/testing.apk
Delete
$ fireup delete --path <path> --expire <expire_in_days>
# Example
$ fireup delete --path apk/ --expire 1
List
$ fireup list --path <path> --expire <expire_in_days>
# Example
$ fireup list --path /apk
Including in another script
from fireup.fireup import FireUp
fire = FireUp()
fire.upload(origin="test.py", dest="script/test.py")
Building
Install the package locally
$ pip install <code_dir>
Building and upload to pypi
$ python setup.py sdist bdist_wheel
$ twine upload dist/*
License
MIT @ Esa Firman
Metadata
Release files for firebase-fireup 0.0.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| firebase-fireup-0.0.8.tar.gz | 5.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| firebase_fireup-0.0.8-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.5 kB
Release files / firebase-fireup-0.0.8.tar.gz
| Download URL | firebase-fireup-0.0.8.tar.gz |
|---|---|
| Size | 5.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a13e86f048f69c39e2e86245a2e10a8b15d8d7584daf9584eea07e88d481830b
|
|
BLAKE2b-256 checksum How to use checksums |
e1a15d9d2c9a1c0beaa17dbc0806812fdba737c347f9e62e55470088db353590
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.2
|
Release files / firebase_fireup-0.0.8-py3-none-any.whl
| Download URL | firebase_fireup-0.0.8-py3-none-any.whl |
|---|---|
| Size | 6.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
01a18ed3166c760b0ce8bad7a81a4cb60e2e67afacd1e2cc1dea0305501b2827
|
|
BLAKE2b-256 checksum How to use checksums |
4a8afefe501586d3a089a82a935ab6227f68b284ae71b14efe82a1881c2bd91a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.2
|