Skip to main content

Python 3.6+ PyPi package PyPi downloads

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

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

pibooth_dropbox-0.0.1-py3-none-any.whl (16.8 kB view details)

Uploaded Python 3

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

Hashes for pibooth_dropbox-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 328db930a4b4a6abb5c9b9f2ee2c811926d891151b6d3341eeaa3f7effa438d7
MD5 4d1f6d9c74471a87457b91fe43baadba
BLAKE2b-256 f0a5ab815e0ffd4003292d803155d663ad423d76565ed056916c95e604ed9cd9

See more details on using hashes here.

Release history Release notifications | RSS feed

0.0.3

2 files

0.0.2

2 files

This release

0.0.1 This release

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page