Skip to main content

A library to create funny pictures with your friends' photos.

Project description

PhotoMaker

Publish to PyPI

PyPI - Downloads PyPI - Downloads PyPI - Downloads

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

MainKronos is on fire.

with open("output.gif", 'wb') as f:
	f.write(burn(MainKronos))

Salt

MainKronos needs to be salty.

with open("output.gif", 'wb') as f:
	f.write(salt(MainKronos))

Trash

MainKronos is 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

MainKronos is worst than Hitler.

with open("output.png", 'wb') as f:
	f.write(hitler(MainKronos))

RIP

MainKronos is dead.

with open("output.png", 'wb') as f:
	f.write(rip(MainKronos))

Facepalm

MainKronos is facepalming.

with open("output.png", 'wb') as f:
	f.write(facepalm(MainKronos))

Leader

MainKronos is a good leader.

with open("output.png", 'wb') as f:
	f.write(leader(MainKronos))

Beautiful

MainKronos is really beautiful.

with open("output.png", 'wb') as f:
	f.write(beautiful(MainKronos))

Affect

MainKronos is the worst.

with open("output.png", 'wb') as f:
	f.write(affect(MainKronos))

Kiss

MainKronos kisses someone.

with open("output.png", 'wb') as f:
	f.write(kiss(MainKronos, someone))

Spank

MainKronos spanks someone.

with open("output.png", 'wb') as f:
	f.write(spank(MainKronos, someone))

Bed

MainKronos says that someone is worse than a monster.

with open("output.png", 'wb') as f:
	f.write(bed(MainKronos, someone))

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

photomaker-1.0.1.tar.gz (3.9 kB view details)

Uploaded Source

Built Distributions

photomaker-1.0.1-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

photomaker-1.0.1-1-py3-none-any.whl (3.1 MB view details)

Uploaded Python 3

File details

Details for the file photomaker-1.0.1.tar.gz.

File metadata

  • Download URL: photomaker-1.0.1.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.15

File hashes

Hashes for photomaker-1.0.1.tar.gz
Algorithm Hash digest
SHA256 695684c8c3c90d116789dbbd572c028665e12c55f3b6902be5f09204bb72ffce
MD5 6fbf49e6607e3a23ca5acaacffc8850b
BLAKE2b-256 570f28e53c8814f7b717786aec3246c55508696e090b5443b21903221f6a144c

See more details on using hashes here.

File details

Details for the file photomaker-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: photomaker-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.15

File hashes

Hashes for photomaker-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bba0bb5ba2715a4708d24fd4ba2d5ec6fb5064b0fb429f342fdfc90a0cb75a7a
MD5 376bf9e24983a7b7982d9776bb391154
BLAKE2b-256 415d4f79fcca13f366f4b0188ec1c02c896a5da450c0818a2405d7d0ba00387c

See more details on using hashes here.

File details

Details for the file photomaker-1.0.1-1-py3-none-any.whl.

File metadata

File hashes

Hashes for photomaker-1.0.1-1-py3-none-any.whl
Algorithm Hash digest
SHA256 78cff92bd6e8383efb547160f22fdb34d63ca7dacd5dde9dd7b989a33773d2f5
MD5 f08d15aacd677f03b9655aa4f99a472a
BLAKE2b-256 cea6c1eca09f99b5b9f36d126e026bef4203289df309d27b207f88a58255157e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page