Skip to main content

Make up your twitter profile, from 🐴 to 🦄 !

Project description

Make up your Twitter Profile! [python package]

Small library to make up your twitter profile, from 🐴 to 🦄 !

Here is a dedicated docker service including a scheduler to use it directly without any development work.

You can see it live on my Twitter profile 🐦

Examples 🦄

Example Result
Change the banner for the day alt text
And the night alt text
Change your display name the morning Nico ☕
And during the day Nico 💻
And for the night Nico 😴
Change your location when traveling Boston
Change your description when attending an event Currently at #craftconf, let's have a chat 💬

Install 📦

pip install twitter-makeup

Configure 🛠️

Twitter MakeUp allows to programmatically change your profile on your behalf.

To configure it, you need to generate Twitter credentials.

Follow the Twitter guide (OAuth 1.0a).

Use it! 🦄

import tweepy
from twitter_makeup import MakeUp

# Configure Tweepy
consumer_key = 'YourKey'
consumer_secret = 'YourSecret'
access_token = 'YourAccessToken'
access_secret = 'YourAccessSecret'
auth = tweepy.OAuthHandler(consumer_key, consumer_secret)
auth.set_access_token(access_token, access_secret)
api = tweepy.API(auth, wait_on_rate_limit=True, wait_on_rate_limit_notify=True, compression=True)

# Make up your profile 🦄
makeup = MakeUp(api)

# Change your banner 
banner_path = 'images/banner-night.jpg'
makeup.change_banner_picture(banner_path)
print('Banner picture has been changed using "'+ banner_path + '" 🦄')

# Change your profile picture
profile_path = 'images/profile-weekend.jpg'
makeup.change_profile_picture(profile_path)
print('Profile picture has been changed using "'+ profile_path + '" 🦄')

# Change your profile name
profile_name = 'Nicolas Dupont ☕'
makeup.change_profile_name(profile_name)
print('Profile name has been changed by "' + profile_name + '" 🦄')

# Change your profile location
profile_location = 'Nantes'
makeup.change_profile_location(profile_location)
print('Profile location has been changed by "' + profile_location + '" 🦄')

# Change your profile description
profile_description = "Co-founder and CPO at @akeneopim\
\n❤️ crafting products to create value for users and businesses\
\n💬 and 📝 about product, engineering, teamwork, learnings"
makeup.change_profile_description(profile_description)
print('Profile description has been changed by "' + profile_description + '" 🦄')

License

MIT

Third party

This library uses the excellent Tweepy, providing a wrapper around a small subset of Tweepy capabilities.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

twitter-makeup-1.0.1.tar.gz (190.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

twitter_makeup-1.0.1-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file twitter-makeup-1.0.1.tar.gz.

File metadata

  • Download URL: twitter-makeup-1.0.1.tar.gz
  • Upload date:
  • Size: 190.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.23.3 CPython/3.6.9

File hashes

Hashes for twitter-makeup-1.0.1.tar.gz
Algorithm Hash digest
SHA256 16f4aba19b83512ed29553366caf6a3478b36bc8dbd698338dd3a87b057de0bc
MD5 f60ae49c12e2a2fa3782ff757b3a263e
BLAKE2b-256 d884c700f681d70805d6fc5cb106799670af603ada01b7f11fec44d16efc1abb

See more details on using hashes here.

File details

Details for the file twitter_makeup-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: twitter_makeup-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.23.3 CPython/3.6.9

File hashes

Hashes for twitter_makeup-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7d2291ad292bccad54e0653310c1b77df53de896adced24b89de251ed62a3c49
MD5 b9aa7487aa2a99a9fadec930a1910842
BLAKE2b-256 eb869cb8a2235b803288d748cc76dae22963f59e348cebb8e6c4167a6954bc81

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page