Created
June 1, 2020 19:04
-
-
Save Ze1598/f5edb638596d9bb964283b4d327c5975 to your computer and use it in GitHub Desktop.
quotespy: basic quotespy.tweet_graphics usage with custom graphic settings
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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