pasteme-cli Python Package
PasteMe is a RESTful pastebin service. Install this CLI tool and paste right from your command-line interface.
docs |
|
|---|---|
tests |
|
package |
Setup & Installation
Since PasteMe provides API endpoints, you can install the following Python package and paste your source codes and code snippets using your CLIs or Terminals.
$ pip install pasteme-cli
Usage
$ pasteme [OPTIONS] file.py
PASTE -> <URL>
To paste with the following attributes, run the command with the specified options and values.
title -> "Here is the Title" (default: Untitled)
line_start -> 20 (default: First line)
line_end -> 35 (defalut: Last line)
language -> C++ (default: PlainText)
expires at -> One month (default: One week)
$ pasteme --start 20 --end 35 --title "Here is the Title" --language cpp -x 1m program.cpp
You will have your 15 lines of code highlighted in C++ ready to share. Also visit the manual by typing $ pasteme --help and you have more hints on the options and arguments.
License
PasteMe is being licensed under the MIT License.
Special Thanks to
Drop support for Python 3.6
Metadata
Release files for pasteme-cli 1.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pasteme-cli-1.0.6.tar.gz | 15.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pasteme_cli-1.0.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 23.5 kB
Release files / pasteme-cli-1.0.6.tar.gz
| Download URL | pasteme-cli-1.0.6.tar.gz |
|---|---|
| Size | 15.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8b386ba0a5a9a7ba14ef63386e9b054d660fd95c4d6373dcb00ee8a9844ec909
|
|
BLAKE2b-256 checksum How to use checksums |
152ba1e37365cfea26785ad6c120a89b29625ad59e149c0671872dca4680d0e8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.15
|
Release files / pasteme_cli-1.0.6-py3-none-any.whl
| Download URL | pasteme_cli-1.0.6-py3-none-any.whl |
|---|---|
| Size | 8.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
197e7b311cddd19b321a02281b707fcb104f7486e16547fe6c1cdd4212350324
|
|
BLAKE2b-256 checksum How to use checksums |
b0f8509a5a3ff0312f3efd580a8a2b9ead7d5ca953a2feb6ddf8c13c3f0f5c35
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.15
|