Description
rentry is the official set of Python clients for rentry.co, a Markdown-powered paste and publishing service with preview, custom URLs and editing. The repository has three parts: rentry.py, a single-file command-line tool with no dependencies, rentry_client, an installable library, and an examples folder with one runnable script per API use case. Installing the package gives you both the rentry command and the rentry_client library, and the CLI can also be used as one self-contained file. You can choose a custom URL for a page, or let the tool generate a random one. An edit code lets you change the page later, and you can share it so a group can edit the same entry. The edit code is shown only once when it is generated. A captcha code is needed only for a page that has been temporarily locked after too many wrong edit codes, and it can be kept in the CAPTCHA_CODE environment variable or a .env file. Both the CLI and the examples default to rentry.co and can be pointed at a local dev server. The README links the API reference for anyone writing their own client.…
Highlights
- Single-file CLI with no dependencies
- rentry_client library
- Examples for each API use case
- Custom URLs and edit codes
- Configuration through a .env file
Ratings & Reviews
No ratings yet
Be the first to rate Rentry.
People also visit
Chiyogami
Pastebin with API, client-side encryption, user accounts, syntax highlighting
Rentry FAQ
What is rentry?
A Markdown pastebin and publishing service at rentry.co, with preview, custom URLs and editing. This repository holds its official Python clients.
How do I get the command-line tool?
Install the package for both the rentry command and the rentry_client library, or use the single rentry.py file with no installation.
How do I edit a page later?
Keep the edit code. It is shown only once when generated, and you can share it so others can edit the same entry.
What is the captcha code for?
It is needed only for a page temporarily locked after too many wrong edit codes. Set it with -c or the CAPTCHA_CODE variable.
Can I use a local server?
Yes. Copy .env.example to .env and change BASE_PROTOCOL and BASE_URL to point at a local dev server.
What are the best Rentry alternatives?
Popular alternatives to Rentry include Typo, pacebin and cowyo. See all Rentry alternatives




