Skip to main content

Help you paste your file content to ubuntu pastebin

Project description

# ub-paste

A handy tool helping you paste your file content to [ubuntu pastebin](pastebin.ubuntu.com)

# Installation

Installation via pip

` pip install ub-paste `

# Uasge

Just specify a file

` ub-paste [filepath] `

Examples:

` ub-paste test.py `

` ub-paste /tmp/Main.java `

![](https://s11.postimg.org/p47f1breb/ub-paste-demo.gif)

ub-paste will paste their contents to [ubuntu pastebin](pastebin.ubuntu.com) and then automatically open the web page in the browser.

Additionally, ub-paste can automatically detect the language by the filename extension. If it encounters an unknown filename extension, it will handle the file as a normal text file.

# Available Options

-a or –author The author name shown on the post (defaults to your username on your computer)

-n or –no-browser Disallow the program to open the browser after pasting (defaults to ‘False’)

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

ub-paste-0.1.0.tar.gz (4.9 kB view hashes)

Uploaded Source

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