Skip to content

This is a python package that helps developers to generate fake social media profiles for development purposes

License

Notifications You must be signed in to change notification settings

C-o-m-o-n/fake_profile

Repository files navigation

Fake Profile

A Python package to generate fake social media user data and interactions for testing and development.

currently supports twitter(X), Instagram, LinkedIn, more comming soon

Installation

Install the package using pip:

pip install fake-profile

Example usage

For LinkedIn

from fake_profile import LinkedInProfile

linkedInProfile = LinkedInProfile()
print(linkedInProfile.generate_fake_linkedin_data())

For X/Twitter

from fake_profile import Xprofile

xProfile = Xprofile()
print(xProfile.generate_fake_twitter_data())

For Instagram

from fake_profile import InstaProfile

instaProfile = InstaProfile()
print(instaProfile.generate_fake_instagram_data())

For more specific usage

from fake_profile import Xprofile, InstaProfile, LinkedInProfile

Create an instance of Xprofile

generator = Xprofile()

# Generate Twitter data
users, tweets, comments, likes, retweets = generator.generate_fake_twitter_data(user_count=5, tweets_per_user=3)

print(users)
print(tweets)
print(comments)
print(likes)
print(retweets)

Create an instance of InstaProfile

generator = InstaProfile()

# Generate Instagram data
users, posts, comments, likes, reposts = generator.generate_fake_instagram_data(user_count=5, posts_per_user=3)

print(users)
print(posts)
print(comments)
print(likes)
print(reposts)

Create an instance of LinkedInProfile

generator = LinkedInProfile()

# Generate LinkedIn data
users, posts, comments, likes, shares = generator.generate_fake_linkedin_data(user_count=5, posts_per_user=3)

print(users)
print(posts)
print(comments)
print(likes)
print(shares)

Create an Instance of FacebookProfile

generator = FacebookProfile()

# Generate Facebook data
users, posts, comments, likes, shares = generator.generate_fake_facebook_data(user_count=5, posts_per_user=3)

print(users)
print(posts)
print(comments)
print(likes)
print(shares)

About

This is a python package that helps developers to generate fake social media profiles for development purposes

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages