mocket

A socket mock framework with gevent/asyncio/SSL support for Python.

EstablishedOpen SourceLow lock-in

Pricing

See website

Flat rate

Adoption

Stable

License

Open Source

Data freshness

Overview

What is mocket?

Mocket is a powerful tool that allows developers to mock network sockets in their Python applications, supporting gevent, asyncio, and SSL. It's essential for testing network interactions without actual network traffic.

Key differentiator

Mocket stands out as the only Python library providing robust support for socket mocking with gevent, asyncio, and SSL, making it ideal for comprehensive network testing in Python applications.

Capability profile

Strength Radar

Supports gevent …SSL support for …Extensive docume…

Honest assessment

Strengths & Weaknesses

↑ Strengths

Supports gevent and asyncio for asynchronous testing.

SSL support for secure socket mocking.

Extensive documentation and community support.

Fit analysis

Who is it for?

✓ Best for

Python developers who need to mock socket operations for testing purposes.

Teams working on applications that require extensive network interaction testing.

Projects where secure (SSL) socket mocking is necessary for comprehensive testing.

✕ Not a fit for

Developers looking for a cloud-based service for managing their tests.

Projects that do not involve Python or require non-socket-related mocking.

Cost structure

Pricing

Free Tier

None

Starts at

See website

Model

Flat rate

Enterprise

None

Performance benchmarks

How Fast Is It?

Next step

Get Started with mocket

Step-by-step setup guide with code examples and common gotchas.

View Setup Guide →