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:
- Create a new app from the dropbox developer section and get the access token,
- Insert your dropbox access token between "" on line 16 of codedrop.py,
- 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
Release history Release notifications | RSS feed
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 details)
Built Distribution
File details
Details for the file CodeDrop-0.0.1.tar.gz
.
File metadata
- Download URL: CodeDrop-0.0.1.tar.gz
- Upload date:
- Size: 1.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e273d2ac38cc8a756a9a770403c38e02c85502bc41ec03aee63d35a0384fa7a3 |
|
MD5 | e58f7846df6703049573317917356adc |
|
BLAKE2b-256 | 1fc404bd10a5f3f1f9c85d1835bc24bef969ff9b09255476cc67e02502c23952 |
Provenance
File details
Details for the file CodeDrop-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: CodeDrop-0.0.1-py3-none-any.whl
- Upload date:
- Size: 2.2 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.3 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bb7ada23ba32acd6bc5e4ab4cc61b5183ac42dc313534cfe569fa9edabdb737a |
|
MD5 | b62ecd7371b8ec329107316ba481b031 |
|
BLAKE2b-256 | 9cd3896c95924edf8e54383bac1c8bc59dda0b8583bd581f6d9f5fe1b3961522 |