Just another python script to automate boring stuff. Quote maker easy to create a quoted image and publish to a Facebook page.
Project description
Quote Maker
Just another python script to automate boring stuff. Quote maker easy to create a quoted image and publish to a Facebook page.
Depended Python libs
- textwrap
- PIL
Install by "pip3 install --upgrade -r requirements.txt" or "conan install --file requirements.txt"
Depended libs
* curl 7.52.1 (x86_64-pc-linux-gnu)
* libcurl/7.52.1
* OpenSSL/1.0.2l
* zlib/1.2.8
Run
run the script by
$:python3.6 main.py
****************************************************************************************
~~~ quote_maker.py ~~~
quote: Infinite love is the only truth. Everything else is illusion. David Icke
Output
Post to Facebook
To enable access of Facebook to publish, following variable has to be hardcoded to achieve.
page_id
- facebook page ID, information can obtain from the page about. if you want to post on the personal wall
just hardcode page_id
= "me".
facebook_token
- facebook access token with publish_action enable. for more visit
Graph API explorer: https://developers.facebook.com/tools/explorer/145634995501895/
Please uncomment #os.system(command) in main.py
How to change image size?
image_size_x
image_size_y
responcible for image size.
Note: background colour is random, but the fourground colour is always white.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file quote_maker-0.0.1.tar.gz
.
File metadata
- Download URL: quote_maker-0.0.1.tar.gz
- Upload date:
- Size: 143.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dea02ef303f66f3b9597c2b551f1c3e7cd3168b7fe4926f583ba0a45de61a7c4 |
|
MD5 | 3fd7de3312455fff1b752a0816b17725 |
|
BLAKE2b-256 | e8bf1c1ef95f2f64a37a15831ff17e775be03baf91223fbf3f66db6dac83f0ce |
File details
Details for the file quote_maker-0.0.1-py2.py3-none-any.whl
.
File metadata
- Download URL: quote_maker-0.0.1-py2.py3-none-any.whl
- Upload date:
- Size: 34.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d543d8e0a779cd92875f8680ecb9ede166bde03d944fc2f9cb9fdbb3fb3292ee |
|
MD5 | a2c9fb3959f97eddd84b6d983ae40e20 |
|
BLAKE2b-256 | 422dc177ae59a5918700e252e86515e5bf1eb55eddbe8fbddd7d5f9b1034a757 |