Firebase Storage Uploader
Project description
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
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
firebase-fireup-0.0.8.tar.gz
(5.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file firebase-fireup-0.0.8.tar.gz.
File metadata
- Download URL: firebase-fireup-0.0.8.tar.gz
- Upload date:
- Size: 5.4 kB
- Tags: Source
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a13e86f048f69c39e2e86245a2e10a8b15d8d7584daf9584eea07e88d481830b
|
|
| MD5 |
00961998be13a98946f7e2d330262a6e
|
|
| BLAKE2b-256 |
e1a15d9d2c9a1c0beaa17dbc0806812fdba737c347f9e62e55470088db353590
|
File details
Details for the file firebase_fireup-0.0.8-py3-none-any.whl.
File metadata
- Download URL: firebase_fireup-0.0.8-py3-none-any.whl
- Upload date:
- Size: 6.1 kB
- Tags: Python 3
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
01a18ed3166c760b0ce8bad7a81a4cb60e2e67afacd1e2cc1dea0305501b2827
|
|
| MD5 |
206e6800b60ff6924d536194bff1fd67
|
|
| BLAKE2b-256 |
4a8afefe501586d3a089a82a935ab6227f68b284ae71b14efe82a1881c2bd91a
|