mirror of
https://github.com/vinta/awesome-python.git
synced 2026-03-22 14:12:18 -05:00
[PR #2689] Add fake.py package to Testing :: Object Factories and Testing :: Fake Data
#2002
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/vinta/awesome-python/pull/2689
Author: @barseghyanartur
Created: 4/23/2025
Status: 🔄 Open
Base:
master← Head:patch-1📝 Commits (1)
c72fcebAddfake.pypackage toTesting :: Object FactoriesandTesting :: Fake Data📊 Changes
1 file changed (+2 additions, -0 deletions)
View changed files
📝
README.md(+2 -0)📄 Description
Add fake.py package to Testing :: Object Factories and Testing :: Fake Data.
What is this Python project?
fake.py is a standalone, portable library designed for generating various random data types for testing.
It offers a simplified, dependency-free alternative for creating random texts, (person) names, URLs, dates, file names, IPs, primitive Python data types (such as
uuid,str,int,float,bool), GEO data such as city, country, geo-location, country code, latitude, longitude and locales, IBANs and ISBNs, as well as byte content for multiple file formats including PDF, DOCX, ODT, PNG, SVG, BMP, GIF, TIF, PPM, JPG, WAV, ZIP, TAR and EML.The package also supports file creation on the filesystem and includes factories (dynamic fixtures) compatible with Django, TortoiseORM, Pydantic and SQLAlchemy (which means it works with SQLModel too).
What's the difference between this Python project and similar ones?
Primary competitors are
FakerandMimesis.fake.pydoes support file creation on the file system (also cleaning up), supports factories, and is fully portable: if you want to ship a zero-dependency package and need fake data + files + factories, you simply include a single filefake.pyinto your codebase, and you're good.--
Anyone who agrees with this pull request could submit an Approve review to it.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.