decfunc VS httpretty

Compare decfunc vs httpretty and see what are their differences.

decfunc

Creating decorators with arguments made easy. (by realsuayip)

httpretty

Intercept HTTP requests at the Python socket level. Fakes the whole socket module (by gabrielfalcao)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
decfunc httpretty
2 -
5 2,091
- -
2.3 0.0
3 months ago about 1 month ago
Python Python
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

decfunc

Posts with mentions or reviews of decfunc. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-01-16.
  • decfunc - a library to create decorators in a simple way, using classes
    2 projects | /r/Python | 16 Jan 2022
    u/Rawing7 Hey, thanks to your comment, I inspected my code and found some other major problems.I was able to fix them by some refactoring. And I also realized & understood your point on writing decorators via functions. Also, If it is OK with you, I could insert your name into the contributors file.

httpretty

Posts with mentions or reviews of httpretty. We have used some of these posts to build our list of alternatives and similar projects.

We haven't tracked posts mentioning httpretty yet.
Tracking mentions began in Dec 2020.

What are some alternatives?

When comparing decfunc and httpretty you can also consider the following projects:

responses - A utility for mocking out the Python Requests library.

VCR.py - Automatically mock your HTTP interactions to simplify and speed up testing

httmock - A mocking library for requests

Mocket - a socket mock framework - for all kinds of socket animals, web-clients included

freezegun - Let your Python tests travel through time

Moto - A library that allows you to easily mock out tests based on AWS infrastructure.

mock - The Python mock library

betamax - A VCR imitation designed only for python-requests.

Mock Generator - A tool to auto generate the basic mocks and asserts for faster unit testing

python-libfaketime - A fast time mocking alternative to freezegun that wraps libfaketime.

time-machine - Travel through time in your tests.

cornell - Cornell - record & replay mock server