Skip to main content

Stenographer

An HTTP interaction recorder for Twisted Web. It aims to be compatible with the cassette format used by the VCR library for Ruby and ports like Betamax for Python, but with an API based on Twisted Web Agents.

Stenographer is not production-ready software. It’s currently composed mostly of bits hacked out of Omnipresence’s test helpers, is nowhere near feature parity with VCR, and ironically doesn’t have a comprehensive test suite. Improvements are welcome.

Basic usage, in case the warning above wasn’t scary enough:

from stenographer import CassetteAgent
from twisted.internet import reactor
from twisted.web.client import Agent, RedirectAgent

# Use CassetteAgent to wrap the innermost agent object.  In most
# cases, this will be the basic Agent in twisted.web.client.
cassette_agent = CassetteAgent(Agent(reactor), 'cassette_path.json')
agent = RedirectAgent(cassette_agent)
deferred = agent.request('GET', 'http://www.example.com/')
# Don't forget to add a save callback to the response Deferred.
deferred.addCallback(cassette_agent.save)

Metadata

Release files for stenographer 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for stenographer 0.1.3
File Size Uploaded Provenance Actions
stenographer-0.1.3.tar.gz 9.6 kB Without provenance Details for stenographer-0.1.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for stenographer 0.1.3
File Interpreter ABI Platform Actions
stenographer-0.1.3-py2-none-any.whl Python 2 none any Details for stenographer-0.1.3-py2-none-any.whl

Total release size: 21.8 kB

Release files / stenographer-0.1.3.tar.gz

Download URL stenographer-0.1.3.tar.gz
Size 9.6 kB
Tags Source
SHA-256 checksum
How to use checksums
b1e33c03bc27bc5b66e977be4f7c60cd7c5f12110866b2ea000c6826e521020e
BLAKE2b-256 checksum
How to use checksums
cfd337f847ed5d785f4018db57ce9ee013a60a6dbdecd238477c3d439611684c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / stenographer-0.1.3-py2-none-any.whl

Download URL stenographer-0.1.3-py2-none-any.whl
Size 12.2 kB
Tags Python 2
SHA-256 checksum
How to use checksums
6ea5148faaca4992cf3511f5732a30c1a3b9c92dfd3550966ad541c1af5e5808
BLAKE2b-256 checksum
How to use checksums
0fb670c68e03b13025d01e3a9fcd1bc4c48541bc5f3b5ad66f1c9ff5ef5cb993
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for stenographer 0.1.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page