Skip to main content

Small lib to interact with LCSB privatebin

Project description

LCSB-PBIN

Small library to send a paste on the LCSB private bin.

This one is a bit modified and does not allow paste to be sent without authentication.

Install

pip install lcsb_pbin

Usage

import lcsb_pbin
link = lcsb_pbin.paste(
    "https://privatebin.lcsb.uni.lu",
    """
# Header
lorem ipsum
    """,
    "lums-username",
    "lums-password",
    paste_password='passw0rd',
    formatter="markdown",
    opendiscussion=True,
    burnafterreading=False,
    expire="1month",
    debug=False,
)
print(link)

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

lcsb_pbin-0.0.4.tar.gz (3.6 kB view hashes)

Uploaded source

Built Distribution

lcsb_pbin-0.0.4-py3-none-any.whl (3.9 kB view hashes)

Uploaded py3

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