DPASTE -- a CLI paste tool
This script can help you paste content from the CLI onto a web service at dpaste.de.
Usage
Paste one liners
dpaste --content <content> --expire <time> --lexer <content_type>
Pase a file content
dpaste --file <file> --expire <time> --lexer <content_type>
Using a pipe to send pastes
You can also use a pipe to send text to dpaste, for example
journalctl -b | dpaste
When successful, the link to the pasted content will be printed to the console.
Variables
Expiration time
This variable sets how long the page will keep your snippet. You can use:
- onetime (This will let you display once.)
- hour (default)
- day
- week
Content type (lexer)
This variable tells the engine how to highlight the content.
- _text (default)
- bash
- c
- html
- perl
- python
- java
- rst
- tex
- vim
More can be seen in the Dpaste documentaton.
Example
When you have a python script program.py and you want to paste it for a week, with Python highlighting, do:
dpaste --file program.py --expire week --lexer python
You can also use -f, -e, and -l shortcuts to provide arguments.
Metadata
Release files for deepaste 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| deepaste-1.0.2.tar.gz | 15.4 kB | Without provenance | Details for deepaste-1.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| deepaste-1.0.2-py3-none-any.whl | Python 3 | none | any | Details for deepaste-1.0.2-py3-none-any.whl |
Total release size: 31.1 kB
Release files / deepaste-1.0.2.tar.gz
| Download URL | deepaste-1.0.2.tar.gz |
|---|---|
| Size | 15.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a217fcde78db26955a0174de04927358e8346e29b95b95981f66c6793cb2d9f3
|
|
BLAKE2b-256 checksum How to use checksums |
a61449e19ed435cc9d8dcf5828e86617a1c34740ebb7b4853d300329577521c5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.12 CPython/3.10.2 Linux/5.17.0-0.rc5.102.fc36.x86_64
|
Release files / deepaste-1.0.2-py3-none-any.whl
| Download URL | deepaste-1.0.2-py3-none-any.whl |
|---|---|
| Size | 15.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0e3fdb954a67c6d350d5fbfda146a7973e2a2fd060663fc21f69bebb1f6487ba
|
|
BLAKE2b-256 checksum How to use checksums |
3b01fb7177cba6340195941e6486d09e10eca662ed45bdf3c606f503c220f9a0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.12 CPython/3.10.2 Linux/5.17.0-0.rc5.102.fc36.x86_64
|
Security for deepaste 1.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.