semvec/pypi-packages huggingface dataset:
firebase-fireup 0.0.8
Firebase Storage Uploader
Requires Python: >=3.6

## 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

```json
{
  "apiKey": "12312asdasdzxc123123213",
  "storageBucket": "testing.appspot.com",
  "authDomain": "testing.firebaseapp.com",
  "databaseURL": "https://testing.firebaseio.com",
  "serviceAccount": "./firebasadmin-sa.json"
}
```

### Upload

```bash
$ fireup upload --origin <file> --dest <path>

# Example
$ fireup upload --origin some.apk --dest apk/testing.apk
```

### Delete

```bash
$ fireup delete --path <path> --expire <expire_in_days>

# Example
$ fireup delete --path apk/ --expire 1
```

### List	

```bash
$ fireup list --path <path> --expire <expire_in_days>

# Example
$ fireup list --path /apk
```

## Including in another script

```python
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