This is a python package that helps developers to generate fake social media user profiles and interactions for development purposes
Project description
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)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
fake_profile-0.3.0.tar.gz
(17.4 kB
view details)
Built Distribution
File details
Details for the file fake_profile-0.3.0.tar.gz
.
File metadata
- Download URL: fake_profile-0.3.0.tar.gz
- Upload date:
- Size: 17.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 38d6abe9bfad0e400450720738e429fc2b3113b01c6c83923952d6d54551c0b0 |
|
MD5 | 2748019c241e98906c44339631386a81 |
|
BLAKE2b-256 | aff3d70e4c41efb3aa116652a8df883fa27a354dacda6023606256a048410232 |
File details
Details for the file fake_profile-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: fake_profile-0.3.0-py3-none-any.whl
- Upload date:
- Size: 16.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee7507c4beae249d427ab1b77065a9ac4a273abfd38b7b3e6d4ab928e1d19486 |
|
MD5 | 3f8424fa046acdfec06ac31ed306b7a1 |
|
BLAKE2b-256 | c823c8bdaa9bbae6a0f4b16688fb55a31591c907793ab41f1aab41c50a51a832 |