Registry / http-networking / sprang

sprang

JSON →
library0.21pypypi✓ verified 85d ago

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.

pip install sprang
INSTALL
IMPORT
SIG · SPRANG
S
sprang
http-networkingpythonv0.21
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Sprange
✓ import sprang
✗ from sprang import Sprange

Basic usage: create and retrieve a paste.

from sprang import Sprange s = Sprange() url = s.paste('Hello, world!') print(url) # Retrieve content = s.get(url.split('/')[-1]) print(content)
sprang --version
Debug
Known issues
deprecatedsprang is unmaintained and the sprunge.us service may be unreliable or offline.
fix
Consider using an alternative like dpaste, ix.io, or a self-hosted service.
affects: all
gotchaThe library does not handle network errors gracefully; exceptions may be unhelpful.
fix
Wrap calls in try/except blocks and check response status.
affects: all
Upgrade
Version history
0.21latest on PyPI · released Dec 19, 2009
Audit
Dependencies

No dependency data recorded yet.

Agent activity
22 hits · last 30 days
node
20
Amazon
1
OpenAI (training)
1
Resources