PhotoMaker
PhotoMaker is a library to create funny pictures with your friends' photos.
Installation
pip install photomaker
Examples
from photomaker import *
MainKronos = None
someone = None
with open("documentation/input/me.jpeg", 'wb') as f:
MainKronos = f.read()
with open("documentation/input/someone.jpeg", 'wb') as f:
someone = f.read()
MainKronos someone
Burn
MainKronosis on fire.
with open("output.gif", 'wb') as f:
f.write(burn(MainKronos))
Salt
MainKronosneeds to be salty.
with open("output.gif", 'wb') as f:
f.write(salt(MainKronos))
Trash
MainKronosis actually trash.
with open("output.png", 'wb') as f:
f.write(trash(MainKronos))
Delete
It is better to delete
MainKronos.
with open("output.png", 'wb') as f:
f.write(delete(MainKronos))
Hitler
MainKronosis worst than Hitler.
with open("output.png", 'wb') as f:
f.write(hitler(MainKronos))
RIP
MainKronosis dead.
with open("output.png", 'wb') as f:
f.write(rip(MainKronos))
Facepalm
MainKronosis facepalming.
with open("output.png", 'wb') as f:
f.write(facepalm(MainKronos))
Leader
MainKronosis a good leader.
with open("output.png", 'wb') as f:
f.write(leader(MainKronos))
Beautiful
MainKronosis really beautiful.
with open("output.png", 'wb') as f:
f.write(beautiful(MainKronos))
Affect
MainKronosis the worst.
with open("output.png", 'wb') as f:
f.write(affect(MainKronos))
Kiss
MainKronoskissessomeone.
with open("output.png", 'wb') as f:
f.write(kiss(MainKronos, someone))
Spank
MainKronosspankssomeone.
with open("output.png", 'wb') as f:
f.write(spank(MainKronos, someone))
Bed
MainKronossays thatsomeoneis worse than a monster.
with open("output.png", 'wb') as f:
f.write(bed(MainKronos, someone))
Metadata
Release files for photomaker 1.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 | Provenance | Actions |
|---|---|---|---|---|
| photomaker-1.0.1.tar.gz | 3.9 kB | Without provenance | Details for photomaker-1.0.1.tar.gz |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| photomaker-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for photomaker-1.0.1-py3-none-any.whl |
| photomaker-1.0.1-1-py3-none-any.whl | Python 3 | none | any | Details for photomaker-1.0.1-1-py3-none-any.whl |
Total release size: 3.1 MB
Release files / photomaker-1.0.1.tar.gz
| Download URL | photomaker-1.0.1.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
695684c8c3c90d116789dbbd572c028665e12c55f3b6902be5f09204bb72ffce
|
|
BLAKE2b-256 checksum How to use checksums |
570f28e53c8814f7b717786aec3246c55508696e090b5443b21903221f6a144c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.15
|
Release files / photomaker-1.0.1-py3-none-any.whl
| Download URL | photomaker-1.0.1-py3-none-any.whl |
|---|---|
| Size | 4.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bba0bb5ba2715a4708d24fd4ba2d5ec6fb5064b0fb429f342fdfc90a0cb75a7a
|
|
BLAKE2b-256 checksum How to use checksums |
415d4f79fcca13f366f4b0188ec1c02c896a5da450c0818a2405d7d0ba00387c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.15
|
Release files / photomaker-1.0.1-1-py3-none-any.whl
| Download URL | photomaker-1.0.1-1-py3-none-any.whl |
|---|---|
| Size | 3.1 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
78cff92bd6e8383efb547160f22fdb34d63ca7dacd5dde9dd7b989a33773d2f5
|
|
BLAKE2b-256 checksum How to use checksums |
cea6c1eca09f99b5b9f36d126e026bef4203289df309d27b207f88a58255157e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.7
|
Security for photomaker 1.0.1
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.