Skip to main content

Straightforward pastebin software.

Project description

https://travis-ci.org/supakeen/pinnwand.svg?branch=master https://readthedocs.org/projects/pinnwand/badge/?version=latest https://pinnwand.readthedocs.io/en/latest/_static/license.svg https://img.shields.io/badge/code%20style-black-000000.svg

pinnwand

pinnwand is Python pastebin software.

Prerequisites

  • Python >= 3.6

  • Tornado

  • sqlalchemy

  • click

  • a database driver

Usage

Enter text, click “Paste”. Easy enough.

Using API is slightly more difficult but certainly recommended for programmatic usage. pinnwand accepts HTTP POST requests to /json/new with following body:

{
    "code": "text to send",
    "lexer": "text",
    "expiry": "1day",
    "filename": "source.txt"
}

filename is optional here.

API will return JSON response with full URL for convenience and paste_id, removal_id keys. Use first one to query existing records by GET request to /json/show/paste_id.

To remove existing paste send POST request to /json/remove with data

{"removal_id": <removal_id>}

Reporting bugs

Bugs are reported best at pinnwand’s project page on github.

License

pinnwand is distributed under a 3-clause BSD-style license. See LICENSE for details.

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

pinnwand-0.1.1.tar.gz (17.6 kB view details)

Uploaded Source

Built Distribution

pinnwand-0.1.1-py3-none-any.whl (19.5 kB view details)

Uploaded Python 3

File details

Details for the file pinnwand-0.1.1.tar.gz.

File metadata

  • Download URL: pinnwand-0.1.1.tar.gz
  • Upload date:
  • Size: 17.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/0.12.17 CPython/3.7.3 Linux/4.15.0-70-generic

File hashes

Hashes for pinnwand-0.1.1.tar.gz
Algorithm Hash digest
SHA256 6968fd0c95a8be712703a5a18a7d110460bfe908574d5e3b018418160ad8438d
MD5 cf23acd1e75b0e8c19997e2bd7f12bc5
BLAKE2b-256 8ab4c9356333c9630ba01784d35359458db34645fc4ef7608bf13e6c5ccd354c

See more details on using hashes here.

File details

Details for the file pinnwand-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: pinnwand-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 19.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/0.12.17 CPython/3.7.3 Linux/4.15.0-70-generic

File hashes

Hashes for pinnwand-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c9dec884f2ed18249b609af951e9e97a1240b74edc355f7490cf8a58aeb0622f
MD5 068916cecb1c6156151b8de552fd0618
BLAKE2b-256 aced489e626e54795bdcc8d36e1c6ab9d6e993f885fbc23146ba4c03cf529c80

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