A python3 CLI utility to interface with pastething
Example: https://cpy.pt
- python3
 - requests
 
Using pip is the easiest way to install:
pip install capyt
You can also manually install this from source:
- install dependencies - 
pip install -r requirements.txt - symlink 
capyt/capyt.pyto a location of your choice - adjust defaults and options if required
 
capyt -h to see all available options
- paste a single file 
capyt somefile - create a single paste with many files concatenated 
capyt file1 file2 file3 - paste from stdin 
somestdout | capyt - 
capyt -d DELETE_TOKEN PASTE_IDcapyt -d DELETE_TOKEN https://cpy.pt/PASTE_ID
- Transparently open gzip and bzip compressed files
 
The optional encoding flag only serves to open the file, internally everything is handled and converted to utf-8. Retrieved pastes are utf-8 encoded.