Dynamic Avatar Generator [API]
This library will help you to generate profile image for newly registered user on your application, like GitHub create profile picture for new users E.g.
Generated images
Usage
import embodier
# Initialize image generator
obj = embodier.AvatarGenerator()
# To Generate block image
img = obj.BlockAvatar()
img.show()
# To Generate text image
img = obj.TextAvatar('PP')
img.show()
Advance
BlockAvatar generate bit block image
obj.BlockAvatar(row_columns,pixel_size,background_color)
@row_columns Integer, block size of row and columns, default 5
@pixel_size Integer, pixel size, default 300
@background_color String, background color of blocks in image, default lightgrey
@border Boolean, True to add border to image, False to without border image, default True
TextAvatar generate text image
obj.TextAvatar(text,background_color)
@text String, Text to print on image
@background_color String, background color of image, default random color
Export options
img.show() to open generated image
img.save('image.png') to save image with image name
obj.toBase64(img) to get Base64 value of generated image
Metadata
Release files for embodier 1.0.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| embodier-1.0.9.tar.gz | 4.5 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| embodier-1.0.9-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.8 kB
Release files / embodier-1.0.9.tar.gz
| Download URL | embodier-1.0.9.tar.gz |
|---|---|
| Size | 4.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0c50570fa725b24aa256bbf68f0d39fe896e7847d2fdf8bc760208dc79326b1d
|
|
BLAKE2b-256 checksum How to use checksums |
20afe5e403b6b2b5e536ac6b44fb1a1119b032c4b2b145d4eaee3c2774ed63d4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.10.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.7
|
Release files / embodier-1.0.9-py3-none-any.whl
| Download URL | embodier-1.0.9-py3-none-any.whl |
|---|---|
| Size | 6.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1e25152fcc9d226b8c5b41e311ee0871905fa02723a9d01ce74707c3c5f2e790
|
|
BLAKE2b-256 checksum How to use checksums |
b7be35928d0d296c80780ee520cb562cb67ccaaeaf592d650a451c2cb41165e9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.10.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.7
|
Security for embodier 1.0.9
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.