Skip to main content

Upload python files directly from your script to dropbox.

Project description

This script uses Dropbox API to upload your python code to your Dropbox app folder.

How to use:

  1. Create a new app from the dropbox developer section and get the access token,
  2. Insert your dropbox access token between "" on line 16 of codedrop.py,
  3. Import codedrop in your python script and use drop() function to upload codes to your dropbox app folder.

drop() needs two parameters, file_source & file_name. Type file for file_source and your desired string for file_name.

Example:

drop(file, "test-drop")

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

CodeDrop-0.0.1.tar.gz (1.3 kB view hashes)

Uploaded Source

Built Distribution

CodeDrop-0.0.1-py3-none-any.whl (2.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page