Pyupfile allows you to upload any file to https://file.io site using their API
Pyupfile can be installed through python package manager (pip):
python -m pip install pyupfileNote: You need to have tkinter installed on the platform on which you are running this.
Note: On Linux systems, you may need to install additional packages for clipboard function to run correctly. Otherwise, this would result into an error.
Installation (for Ubuntu/Debian based systems)
# apt install xclipFor other distros, install xclip through your package manager.
Pyupfile can be used in two ways:
- by running directly through command line:
pyupfileor
python -m pyupfile- by importing the 'main' function from the module and using it in other python program:
import pyupfile
pyupfile.__main__.main()In both the cases, a window would pop up asking you the location of the file to be uploaded and download link would be copied to clipboard.