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 https://img.shields.io/pypi/v/pinnwand

pinnwand

pinnwand is Python pastebin software that tried to keep it simple but got a little more complex.

Prerequisites

  • Python >= 3.6
  • Tornado
  • sqlalchemy
  • click
  • a database driver

Usage

Web

Enter text, click “Paste”, easy enough.

curl

pinnwand has a direct endpoint for curl users:

€ echo "foo" | curl -X POST http://localhost:8000/curl -F 'raw=<-'
Paste URL:   http://localhost:8000/OE
Raw URL:     http://localhost:8000/raw/GU
Removal URL: http://localhost:8000/remove/GQBHGJYKRWIS34D6FNU6CJ3B5M
€ curl http://localhost:8000/raw/GU
foo%

This will preselect the lexer and expiry arguments to be text and 1day respectively. You can provide those to change them.

API

There is also an API.

More ways to use pinnwand

Various deprecated ways of posting are still supported, don’t implement these for any new software but if you are maintaining old software and want to know how they used to work you can read our documentation.

If you do use a deprecated endpoint to post a warning will be shown below any pastes that are created this way.

Reporting bugs

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

License

pinnwand is distributed under the MIT 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.

Files for pinnwand, version 0.3.0
Filename, size File type Python version Upload date Hashes
Filename, size pinnwand-0.3.0-py3-none-any.whl (24.4 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size pinnwand-0.3.0.tar.gz (22.4 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page