fake-profile


Namefake-profile JSON
Version 0.3.0 PyPI version JSON
download
home_pagehttps://github.com/C-o-m-o-n/fake_profile
SummaryThis is a python package that helps developers to generate fake social media user profiles and interactions for development purposes
upload_time2024-08-12 15:05:46
maintainerNone
docs_urlNone
authorCollins O. Odhiambo
requires_python>=3.6
licenseNone
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
# Fake Profile

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

<em> currently supports twitter(X), Instagram, LinkedIn, more comming soon </em>

## Installation

Install the package using pip:

```bash
pip install fake-profile

```


# Example usage
### For LinkedIn
```python
from fake_profile import LinkedInProfile

linkedInProfile = LinkedInProfile()
print(linkedInProfile.generate_fake_linkedin_data())
```
### For X/Twitter
```python
from fake_profile import Xprofile

xProfile = Xprofile()
print(xProfile.generate_fake_twitter_data())
```
### For Instagram
```python
from fake_profile import InstaProfile

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

### For more specific usage
```python
from fake_profile import Xprofile, InstaProfile, LinkedInProfile
```
## Create an instance of Xprofile
```python
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
```python
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
```python
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)
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/C-o-m-o-n/fake_profile",
    "name": "fake-profile",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": null,
    "keywords": null,
    "author": "Collins O. Odhiambo",
    "author_email": "comon928@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/af/f3/d70e4c41efb3aa116652a8df883fa27a354dacda6023606256a048410232/fake_profile-0.3.0.tar.gz",
    "platform": null,
    "description": "\n# Fake Profile\n\nA Python package to generate fake social media user data and interactions for testing and development.\n\n<em> currently supports twitter(X), Instagram, LinkedIn, more comming soon </em>\n\n## Installation\n\nInstall the package using pip:\n\n```bash\npip install fake-profile\n\n```\n\n\n# Example usage\n### For LinkedIn\n```python\nfrom fake_profile import LinkedInProfile\n\nlinkedInProfile = LinkedInProfile()\nprint(linkedInProfile.generate_fake_linkedin_data())\n```\n### For X/Twitter\n```python\nfrom fake_profile import Xprofile\n\nxProfile = Xprofile()\nprint(xProfile.generate_fake_twitter_data())\n```\n### For Instagram\n```python\nfrom fake_profile import InstaProfile\n\ninstaProfile = InstaProfile()\nprint(instaProfile.generate_fake_instagram_data())\n```\n\n### For more specific usage\n```python\nfrom fake_profile import Xprofile, InstaProfile, LinkedInProfile\n```\n## Create an instance of Xprofile\n```python\ngenerator = Xprofile()\n\n# Generate Twitter data\nusers, tweets, comments, likes, retweets = generator.generate_fake_twitter_data(user_count=5, tweets_per_user=3)\n\nprint(users)\nprint(tweets)\nprint(comments)\nprint(likes)\nprint(retweets)\n```\n## Create an instance of InstaProfile\n```python\ngenerator = InstaProfile()\n\n# Generate Instagram data\nusers, posts, comments, likes, reposts = generator.generate_fake_instagram_data(user_count=5, posts_per_user=3)\n\nprint(users)\nprint(posts)\nprint(comments)\nprint(likes)\nprint(reposts)\n```\n## Create an instance of LinkedInProfile\n```python\ngenerator = LinkedInProfile()\n\n# Generate LinkedIn data\nusers, posts, comments, likes, shares = generator.generate_fake_linkedin_data(user_count=5, posts_per_user=3)\n\nprint(users)\nprint(posts)\nprint(comments)\nprint(likes)\nprint(shares)\n```\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "This is a python package that helps developers to generate fake social media user profiles and interactions for development purposes",
    "version": "0.3.0",
    "project_urls": {
        "Homepage": "https://github.com/C-o-m-o-n/fake_profile"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c823c8bdaa9bbae6a0f4b16688fb55a31591c907793ab41f1aab41c50a51a832",
                "md5": "3f8424fa046acdfec06ac31ed306b7a1",
                "sha256": "ee7507c4beae249d427ab1b77065a9ac4a273abfd38b7b3e6d4ab928e1d19486"
            },
            "downloads": -1,
            "filename": "fake_profile-0.3.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "3f8424fa046acdfec06ac31ed306b7a1",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 16000,
            "upload_time": "2024-08-12T15:05:43",
            "upload_time_iso_8601": "2024-08-12T15:05:43.609927Z",
            "url": "https://files.pythonhosted.org/packages/c8/23/c8bdaa9bbae6a0f4b16688fb55a31591c907793ab41f1aab41c50a51a832/fake_profile-0.3.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "aff3d70e4c41efb3aa116652a8df883fa27a354dacda6023606256a048410232",
                "md5": "2748019c241e98906c44339631386a81",
                "sha256": "38d6abe9bfad0e400450720738e429fc2b3113b01c6c83923952d6d54551c0b0"
            },
            "downloads": -1,
            "filename": "fake_profile-0.3.0.tar.gz",
            "has_sig": false,
            "md5_digest": "2748019c241e98906c44339631386a81",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 17355,
            "upload_time": "2024-08-12T15:05:46",
            "upload_time_iso_8601": "2024-08-12T15:05:46.380662Z",
            "url": "https://files.pythonhosted.org/packages/af/f3/d70e4c41efb3aa116652a8df883fa27a354dacda6023606256a048410232/fake_profile-0.3.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-08-12 15:05:46",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "C-o-m-o-n",
    "github_project": "fake_profile",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "fake-profile"
}
        
Elapsed time: 0.46743s