Skip to content

v2.0.0

Choose a tag to compare

@adrgs adrgs released this 20 Jan 15:02
· 6 commits to main since this release

requestrepo v2.0.0

Complete rewrite for the requestrepo v2 API.

Features

  • Session creation with optional admin token
  • DNS record management (A, AAAA, CNAME, TXT)
  • Custom HTTP response configuration via file tree API
  • Request listing, deletion, and sharing
  • Real-time WebSocket streaming with callbacks
  • Typed models for HTTP, DNS, SMTP, and TCP requests
  • Auto-connect WebSocket on initialization

Installation

pip install requestrepo

Quick Start

from requestrepo import Requestrepo

repo = Requestrepo()
print(f"Send requests to: {repo.subdomain}.{repo.domain}")

request = repo.get_http_request()
print(f"Got {request.method} {request.path}")