pibooth-dropbox is a plugin for the pibooth application.
Its permits to upload the pictures to a Dropbox folder. It requires an internet connection.
Install
$ pip3 install pibooth-dropbox
Configuration
Here below the new configuration options available in the pibooth configuration. The keys and their default values are automatically added to your configuration after first pibooth restart.
[DROPBOX]
# Dropbox folder where pictures are uploaded. Subfolders can be separated by /
album_name = Pibooth
# Refresh-Token for the dropbox api
token =
# Dropbox Application Key
app_key =
# Dropbox Application Password
app_secret =
Picture URL
Uploaded picture URL is set to app.previous_picture_url attribute at the end of processing state (state_processing_exit hook).
Grant secured access
The upload part was mainly taken und adapted from the Dropbox Api example updown.py from the dropbox-sdk-python https://github.com/dropbox/dropbox-sdk-python https://github.com/dropbox/dropbox-sdk-python/blob/master/example/updown.py
Description on how to create a dropbox app is described here for a Gravity app, but it can be used to create any other custom app: https://docs.gravityforms.com/creating-a-custom-dropbox-app/
Description on how to create a refresh token and how to implement this into a python code is very good described here: https://stackoverflow.com/questions/70641660/how-do-you-get-and-use-a-refresh-token-for-the-dropbox-api-python-3-x
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
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 pibooth_dropbox-0.0.1-py3-none-any.whl.
File metadata
- Download URL: pibooth_dropbox-0.0.1-py3-none-any.whl
- Upload date:
- Size: 16.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.1 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
328db930a4b4a6abb5c9b9f2ee2c811926d891151b6d3341eeaa3f7effa438d7
|
|
| MD5 |
4d1f6d9c74471a87457b91fe43baadba
|
|
| BLAKE2b-256 |
f0a5ab815e0ffd4003292d803155d663ad423d76565ed056916c95e604ed9cd9
|