Niceposter
A library that allows you to create your own image poster which you can use to share on social media. Implemented in Python using the PIL module.
Installation
pip install niceposter
Important: depending on your system, make sure to use pip3 and python3 instead.
That's all! 🎉
If you would like to install a specific version of Niceposter you may do so with:
pip install niceposter==0.1.1
Using Niceposter
To start creating an image poster, you have to initialize it, like so:
from niceposter import Create
bg_image = Create.Poster() # default size of 500x500
Then use any one of the methods to make or add changes to an image. Examples:
bg_image.add_image('cool-image.png', position='cc', scale=20)
bg_image.text('Interesting text!', position(50,50), color='red', align='center')
bg_image.frame(thickness=10)
bg_image.filter(rgb=(255,255,255), opacity=50)
Updating Niceposter
pip install niceposter -U
Basic functions
[In progress]
Features in progress
⬜ Add add_shape method option to provide variety of available shapes
⬜ Add image transformations options
⬜ Add image effects options
Documentation
Contributions are welcome, and they are greatly appreciated! Every little bit helps, and credit will always be given.
Metadata
Release files for niceposter 0.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| niceposter-0.1.5.tar.gz | 3.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| niceposter-0.1.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.5 kB
Release files / niceposter-0.1.5.tar.gz
| Download URL | niceposter-0.1.5.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
951390299e1c63772aef6d10f8f3e76b2e318328b7a1b2337415a4a4c3ccbfd7
|
|
BLAKE2b-256 checksum How to use checksums |
5531acf8fa3472e7b86619d2c46d5d80fcb3fd23a3ace94cc1060707a4001d87
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.4 CPython/3.8.1 Windows/10
|
Release files / niceposter-0.1.5-py3-none-any.whl
| Download URL | niceposter-0.1.5-py3-none-any.whl |
|---|---|
| Size | 3.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a6a4a9a784d7918b0579910b471dc86ee5d8a7618dd30392632989818c0fc47c
|
|
BLAKE2b-256 checksum How to use checksums |
1aa01e62ad031e80d39aa87119a3860fa4805fbfd4ac03344420fed9deec10b6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.4 CPython/3.8.1 Windows/10
|