Straightforward pastebin software.
Project description
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
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.3.0.tar.gz
.
File metadata
- Download URL: pinnwand-0.3.0.tar.gz
- Upload date:
- Size: 22.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.0 CPython/3.8.0 Linux/4.15.0-88-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 394f4a4b037ab36d70eaf7e85215d4f07ed403c0ace6f193d01db58e2b9c52c5 |
|
MD5 | f3a6a911e71a3a9fd262d024c3f68d97 |
|
BLAKE2b-256 | c5db93e601fcf85d9c2190fb375665482acdea06998f054cc7ad312dd6d84509 |
File details
Details for the file pinnwand-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: pinnwand-0.3.0-py3-none-any.whl
- Upload date:
- Size: 24.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.0 CPython/3.8.0 Linux/4.15.0-88-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2c854b74e1d54219384bb09f4d32f70a255ef92a19811df4cf14319f346f8f3f |
|
MD5 | dbd43b6a0a269df16f212b7e8a29fccf |
|
BLAKE2b-256 | db02c65c0e7ba27fbe7e90144c5b3206b8b203f283ab12d759027ed8517c7db2 |