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 details)

Uploaded Source

File details

Details for the file ub-paste-0.1.0.tar.gz.

File metadata

  • Download URL: ub-paste-0.1.0.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ub-paste-0.1.0.tar.gz
Algorithm Hash digest
SHA256 952769befc6093eb525c3c57fc8a5ce49fd00f38859c0ff3d49372615f1edc6c
MD5 dc007719e401895c30f4e83c830c1441
BLAKE2b-256 ac1484d514347f3422d019c36ea2d1a4e8d9e06652b3a8b55bc5d8527885a0f3

See more details on using hashes here.

Supported by

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