{"repo":"radude/rentry","free":true,"listed":false,"github":"https://github.com/radude/rentry","clone":"git clone https://github.com/radude/rentry.git","description":"Markdown pastebin from command line","language":"Python","stars":586,"topics":["markdown","pastebin","paste","pastebin-service","pastebin-client","publishing","markup","markdown-editor","cli","console"],"license":"MIT","category":"cli-tools","readme_excerpt":"rentry Rentry.co is a markdown-powered paste/publishing service with preview, custom urls and editing. This repo holds the official Python clients for the rentry API. rentry.py is a command-line tool in a single file with no dependencies. rentry client is an installable library. examples/ has one runnable script per API use case. If you'd rather write your own client, skip to the API reference. Installation That gives you both the rentry command-line tool and the rentry client library, with no dependencies. Single-file CLI (no pip) The CLI also works as a single self-contained file: From source The scripts in examples/ additionally want pip install -r requirements.txt , which pulls in python-dotenv for reading a .env file. Configuration Both the CLI and the examples default to https://rentry.co . Copy .env.example to .env and adjust BASE PROTOCOL / BASE URL if you need to point them somewhere else, such as a local dev server. Usage (Command-line) Url Optional Url can be set ( -u, --url URL ) It goes rentry.co/HERE. If no Url was set then random Url will be generated automatically. Edit code Optional edit code can be set ( -p, --edit-code EDIT-CODE ) It can be used to edit the entry later. If no edit code was set then random edit code will be generated automatically. Generated edit code will be shown to you only once, so remember it or save it. You can share this code with anyone so a group of people can edit the same entry. Usage (Library) Every method hands back the parsed A","default_branch":null,"files":null,"tree":[],"storefront":"/r/radude","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/radude/rentry/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}