bpaste

Code snippet uploader for bpaste.net


Keywords
code, snippet, bpaste, syntax
License
GPL-3.0
Install
pip install bpaste==1.0.1

Documentation

bpaste

Purpose

This tools aims at making life easier by allowing to upload code files directly to http://www.bpaste.net for the chosen language and/or expiry date.

This program is provided as open source under the GNU GPL 3 License (see the LICENSE.md file for complete details). Use at your own risk.

Resources

Installation

pip install bpaste

Usage

The program works provide two commands described below:

  • upload is the main command and is used to upload the provided file using the following format:

    bpaste.py upload [-l, --lang LANGUAGE] [-e, --expire EXPIRY] FILE

    • LANGUAGE being one of the supported language (see list command)
    • EXPIRY being one of the following self-explanatory expiry options:
      • 1day
      • 1week
      • 1month
      • never
  • list displays the list of all the languages supported by this tool for upload. The is pretty big, so expect a long output when using this command:

    bpaste.py list

Dependencies

Author(s)

  • Clement Bramy

Contributors