Skip to main content

A CLI pastebin tool.

Project description

PasteMe is a RESTful pastebin service. Install this CLI tool and paste right from your command-line interface.

docs

Documentation Status

tests



package

PyPI Package latest release PyPI Wheel Supported versions Supported implementations
Commits since latest release

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pasteme-cli-1.0.6.tar.gz (15.1 kB view details)

Uploaded Source

Built Distribution

pasteme_cli-1.0.6-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

Details for the file pasteme-cli-1.0.6.tar.gz.

File metadata

  • Download URL: pasteme-cli-1.0.6.tar.gz
  • Upload date:
  • Size: 15.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.15

File hashes

Hashes for pasteme-cli-1.0.6.tar.gz
Algorithm Hash digest
SHA256 8b386ba0a5a9a7ba14ef63386e9b054d660fd95c4d6373dcb00ee8a9844ec909
MD5 c8e061e86dcf8086871d93bc63a19b7c
BLAKE2b-256 152ba1e37365cfea26785ad6c120a89b29625ad59e149c0671872dca4680d0e8

See more details on using hashes here.

File details

Details for the file pasteme_cli-1.0.6-py3-none-any.whl.

File metadata

  • Download URL: pasteme_cli-1.0.6-py3-none-any.whl
  • Upload date:
  • Size: 8.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.15

File hashes

Hashes for pasteme_cli-1.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 197e7b311cddd19b321a02281b707fcb104f7486e16547fe6c1cdd4212350324
MD5 ed08b7e8373481181adca2f09f99351e
BLAKE2b-256 b0f8509a5a3ff0312f3efd580a8a2b9ead7d5ca953a2feb6ddf8c13c3f0f5c35

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page