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.
Metadata
Release files for quote-maker 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| quote_maker-0.0.1.tar.gz | 143.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| quote_maker-0.0.1-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 177.8 kB
Release files / quote_maker-0.0.1.tar.gz
| Download URL | quote_maker-0.0.1.tar.gz |
|---|---|
| Size | 143.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dea02ef303f66f3b9597c2b551f1c3e7cd3168b7fe4926f583ba0a45de61a7c4
|
|
BLAKE2b-256 checksum How to use checksums |
e8bf1c1ef95f2f64a37a15831ff17e775be03baf91223fbf3f66db6dac83f0ce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / quote_maker-0.0.1-py2.py3-none-any.whl
| Download URL | quote_maker-0.0.1-py2.py3-none-any.whl |
|---|---|
| Size | 34.5 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
d543d8e0a779cd92875f8680ecb9ede166bde03d944fc2f9cb9fdbb3fb3292ee
|
|
BLAKE2b-256 checksum How to use checksums |
422dc177ae59a5918700e252e86515e5bf1eb55eddbe8fbddd7d5f9b1034a757
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|