Straightforward pastebin software.
Project description
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pinnwand-0.2.0.tar.gz
.
File metadata
- Download URL: pinnwand-0.2.0.tar.gz
- Upload date:
- Size: 17.7 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f21ea426361bdc851a86369f433e0cda36778ddf812c8e7fabdb0b7c9543b3e |
|
MD5 | 477102f0806299cc734275eb9ff141d2 |
|
BLAKE2b-256 | 34723ad1af4979f4a2b735304fb28e2d1dcfbbdf54349cb8e0eaa393a58fdfa4 |
File details
Details for the file pinnwand-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: pinnwand-0.2.0-py3-none-any.whl
- Upload date:
- Size: 19.8 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd76f725a0c4332b03ed696084964ba2040f8194f3ae3b54d5739ba0cd0d6642 |
|
MD5 | 0a63c6c1a111011a619494c85854b412 |
|
BLAKE2b-256 | 5f0443135eb3769337f17da5bdabe46ee5a56ec6e71c5ae92cd74ab6c578703b |