{"id":28258,"library":"sprang","title":"sprang","description":"A command-line tool and Python library for posting and retrieving text snippets via the sprunge.us pastebin service. Current version 0.21. No recent updates; repository archived/unmaintained.","status":"deprecated","version":"0.21","language":"python","source_language":"en","source_url":"http://github.com/jingleman/sprang","tags":["pastebin","sprunge","cli","snippet"],"install":[{"cmd":"pip install sprang","lang":"bash","label":"pip install"}],"dependencies":[],"imports":[{"wrong":"from sprang import Sprange","symbol":"Sprange","correct":"import sprang"}],"quickstart":{"code":"from sprang import Sprange\ns = Sprange()\nurl = s.paste('Hello, world!')\nprint(url)\n# Retrieve\ncontent = s.get(url.split('/')[-1])\nprint(content)","lang":"python","description":"Basic usage: create and retrieve a paste."},"warnings":[{"fix":"Consider using an alternative like dpaste, ix.io, or a self-hosted service.","message":"sprang is unmaintained and the sprunge.us service may be unreliable or offline.","severity":"deprecated","affected_versions":"all"},{"fix":"Wrap calls in try/except blocks and check response status.","message":"The library does not handle network errors gracefully; exceptions may be unhelpful.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"search_vec":"'0.21':23 'archived/unmaintained':28 'cli':31 'command':4 'command-lin':3 'current':21 'librari':9 'line':5 'pastebin':19,29 'post':11 'python':8 'recent':25 'repositori':27 'retriev':13 'servic':20 'snippet':15,32 'sprang':1 'sprung':30 'sprunge.us':18 'text':14 'tool':6 'updat':26 'version':22 'via':16","created_at":"2026-05-09T05:54:33.809951+00:00","updated_at":"2026-05-09T05:54:33.809951+00:00","problems":null,"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":"sprang","cli_version":"File \"/usr/local/bin/sprang\", line 210","type":"library","homepage":null,"github":"http://github.com/jingleman/sprang","docs":null,"changelog":null,"pypi":"https://pypi.org/project/sprang/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["http-networking"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"passing","verified_at":"2026-07-03","last_verified":"2026-07-03","next_check":"2026-08-02","install_tag":null}}