Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Ze1598/f5edb638596d9bb964283b4d327c5975 to your computer and use it in GitHub Desktop.
Save Ze1598/f5edb638596d9bb964283b4d327c5975 to your computer and use it in GitHub Desktop.
quotespy: basic quotespy.tweet_graphics usage with custom graphic settings
import quotespy.tweet_graphics.tweet_graphics as t
tweet_info = {
"tweet_name": "mistakes",
"user_name": "José Fernando Costa",
"user_tag": "@soulsinporto",
"user_pic": "",
"tweet_text": "Some mistakes and, dare I say, failures may lead to results you had never thought you could achieve."
}
graphic_settings = {
"font_family": "arial.ttf",
"font_size_text": 100,
"font_size_header": 80,
"size": [1800, 1800],
"color_scheme": ["#000000", "#ffffff"],
"wrap_limit": 32,
"margin_bottom": 30
}
t.create_tweet(tweet_info, graphic_settings)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment