Install
pip install astrow-images
Usage
Memes:
from astrow_images import memes
# for a discord bot
@bot.command()
async def drake(ctx, first, second):
await ctx.reply(file=discord.File(memes.drake(first, second)))
# it's so easy to use
Effects:
from astrow_images import effects
@bot.command()
async def blur(ctx, user: discord.User):
await ctx.reply(file=discord.File(effects.blur(await user.avatar.read())))
# 1 line go brr
Advanced Usage (recommended):
from astrow_images import effects
from functools import partial
@bot.command()
async def wiggle(ctx, user: discord.User):
await ctx.reply(file=discord.File(
await bot.loop.run_in_executor(None, partial(effects.wiggle, img=await user.avatar.read()))
))
I won't be making docs for these, refer to the source code or ask in the support server if you have any questions
Meme templates
drake,disappointed,flex_tape,bernie,panik,doge,my_heart
Effects
blur,flip,rotate,enhance,ascii,blend,wiggle
Metadata
Release files for astrow-images 2.0
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 |
|---|---|---|---|---|
| astrow-images-2.0.tar.gz | 5.5 kB | Without provenance | Details for astrow-images-2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| astrow_images-2.0-py3-none-any.whl | Python 3 | none | any | Details for astrow_images-2.0-py3-none-any.whl |
Total release size: 12.1 kB
Release files / astrow-images-2.0.tar.gz
| Download URL | astrow-images-2.0.tar.gz |
|---|---|
| Size | 5.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8badcb8e7f9b68596210945052e099cf062d0937d351e1bee978de08e706f78c
|
|
BLAKE2b-256 checksum How to use checksums |
e5cd291388f0a85c94204a9bfc029a7c3190cac4ea6a3ef40158ef06f6c41f2d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.10.1
|
Release files / astrow_images-2.0-py3-none-any.whl
| Download URL | astrow_images-2.0-py3-none-any.whl |
|---|---|
| Size | 6.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4a598b273713a5d7050c39a6cfdbdca461223c09b785dd0f5a551604db611754
|
|
BLAKE2b-256 checksum How to use checksums |
348ac7cee7683c21aee896d6db4e3b22bc3d416dc114418cf277782ce4e23dbe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.10.1
|
Security for astrow-images 2.0
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.