A python3 CLI utility to interface with cpy.pt
Project description
A python3 CLI utility to interface with pastething
Example: https://cpy.pt
Dependencies
- python3
- requests
Installation
Using uv is the easiest way run:
uvx capyt
Installing is also easy:
uv tool install capyt
Usage
capyt -h to see all available options
Pasting
- paste a single file
capyt somefile - create a single paste with many files concatenated
capyt file1 file2 file3 - paste from stdin
somestdout | capyt -
Deleting a paste
capyt -d DELETE_TOKEN PASTE_IDcapyt -d DELETE_TOKEN https://cpy.pt/PASTE_ID
Extra Features
- Transparently open gzip and bzip compressed files
Warning
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.
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
capyt-1.2.1.tar.gz
(3.0 kB
view details)
File details
Details for the file capyt-1.2.1.tar.gz.
File metadata
- Download URL: capyt-1.2.1.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
06501cf6ebe2027312ef04a66c3706dbb16f74ed585447c01b53c5a020cc5538
|
|
| MD5 |
0a6be4ec1f23c995faf021282dcf9421
|
|
| BLAKE2b-256 |
1db5be44943a2d0355415fcc4b33231e17cc3af3e6790a6aa9c93d206d31fed6
|