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)
Metadata
Release files for fake-profile 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| fake_profile-0.3.0.tar.gz | 17.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| fake_profile-0.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 33.4 kB
Release files / fake_profile-0.3.0.tar.gz
| Download URL | fake_profile-0.3.0.tar.gz |
|---|---|
| Size | 17.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
38d6abe9bfad0e400450720738e429fc2b3113b01c6c83923952d6d54551c0b0
|
|
BLAKE2b-256 checksum How to use checksums |
aff3d70e4c41efb3aa116652a8df883fa27a354dacda6023606256a048410232
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.8
|
Release files / fake_profile-0.3.0-py3-none-any.whl
| Download URL | fake_profile-0.3.0-py3-none-any.whl |
|---|---|
| Size | 16.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ee7507c4beae249d427ab1b77065a9ac4a273abfd38b7b3e6d4ab928e1d19486
|
|
BLAKE2b-256 checksum How to use checksums |
c823c8bdaa9bbae6a0f4b16688fb55a31591c907793ab41f1aab41c50a51a832
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.8
|