Saravanan666/pypi-org huggingface dataset:
Package: imgaugtf
imgaug-tfAn image augmentation library for tensorflow.
This library is implemented in TF native and has been tested to work with TPU.Installation!pipinstall-Ugit+https://github.com/hirune924/imgaug-tfRequired packages:tensorflow (2.6.3 or higher recommended)tensorflow_addons (0.14.0 or higher recommended)tensorflow_probability (0.14.1 or higher recommended)Quick Startimgaugtf is implemented to work simply with tf.data.
Example of use single transform.importimgaugtfimage=imgaugtf.random_solarize_add(image,addition=30,prob=0.5)You can also apply transform for a mask as same as a image.importimgaugtfimage=imgaugtf.seg.random_solarize_add(image,mask,addition=30,prob=0.5)You can also randomly select n of multiple transformations to apply, as shown below. You can use mixup or cutmix on batched images.importimgaugtfdefaugmentation(example):example['image']=imgaugtf.random_resized_crop(example['image'],size=[256,256],prob=1.0)example['image']=imgaugtf.apply_n(example['image'],functions=imgaugtf.OPERATORS,num_ops=2,prob=1.0)returnexampledefbatch_augmentation(example,num_class=120):image=example['image']label=tf.one_hot(example['label'],num_class)image,label=imgaugtf.cutmix(image,label)returnimage,labelresult=next(iter(dataset.map(augmentation).batch(15).map(batch_augmentation)))foriinrange(10):plt.imshow(result[0][i])plt.show()functions is list of dict like this example. dict has keys of 'func' and 'option'. you can customize it you like.[{"func":imgaugtf.random_cutout,"option":{"num_holes":8,"hole_size":20,"replace":0}},{"func":imgaugtf.random_solarize,"option":{"threshold":128}},{"func":imgaugtf.random_solarize_add,"option":{"addition":30,"threshold":128}},]Augmentationspixelimagemaskoriginalrandom_solarizerandom_solarize_addrandom_colorrandom_contrastrandom_brightnessrandom_posterizerandom_invertrandom_equalizerandom_sharpnessrandom_autocontrastrandom_hsv_in_yiqrandom_gaussian_filter2drandom_mean_filter2drandom_median_filter2drandom_cutoutrandom_grayrandom_huerandom_saturationrandom_gammarandom_jpeg_qualityrandom_gaussian_noiserandom_speckle_noisegeometoryimagemaskoriginalrandom_flip_left_rightrandom_flip_up_downrandom_resized_croprandom_rotaterandom_translate_xrandom_translate_yrandom_shear_xrandom_shear_yrandom_zoomrandom_grid_shufflerandom_affinerandom_elastic_deformrandom_sparse_warprandom_cropblendmixupcutmixcomposeapply_oneapply_n
Package: imgbbb
Imgbb public UploaderUpload Images without API keyUnlimited uploadsNo API limitSupport Url & Local uploadImage link and delete link saved in db.txt.⚠️Warning: Do not upload private or personal pictures because this library uses the Imgbb public APIInstallpip install imgbbbExample useLocal uploadfrom imgbbb import ImgBbUploader

upload = ImgBbUploader()
up = upload.upload_image("Drive/lol/ofh.jpg")#full image path
print(up)>>> imgbbb -i Drive/lol/ofh.jpgUrl uploadfrom imgbbb import ImgBbUploader

upload = ImgBbUploader()
up = upload.upload_url("https://i.pinimg.com/originals/fe/ea/71/feea71eaa793b00d9e927985a9d4b199.jpg")
print(up)imgbbb -u https://i.pinimg.com/originals/fe/ea/71/feea71eaa793b00d9e927985a9d4b199.jpg
Package: imgbbpy
imgbbpyAn Asynchronous and Synchronous API Wrapper for the Imgbb API.InstallationInstall imgbbpy viapip.pipinstallimgbbpyimgbbpy requires Python 3.7+QuickstartAsynchronous usage:importasyncioimportimgbbpyasyncdefmain():client=imgbbpy.AsyncClient('API KEY')image=awaitclient.upload(file='path/to/image.jpeg')print(image.url)asyncio.run(main())Synchronous usage:importimgbbpyclient=imgbbpy.SyncClient('API KEY')image=client.upload(file='path/to/image.png')print(image.url)You can get an API Key fromhttps://api.imgbb.com.DocumentationDocumentation can be found in thedocumentation.mdfile.LicenseMIT, see LICENSE for more details.
Package: imgbox
用 pillow 画目标检测的框，支持中文（自带字体）用法见→ test.py#!/usr/bin/env pythonfromimgboximportimgboxfromPILimportImagefromos.pathimportabspath,dirname,joinDIR=dirname(abspath(__file__))img=join(DIR,'test.webp')img=Image.open(img)imgbox(img,('测试',(30,30,60,60)))img.save(join(DIR,'box.webp'),quality=80)
Package: imgbox-cli
CLI tool for uploading images tohttps://imgbox.com/.Usage$imgboxfoo.jpgbar.png--title"My Gallery"--thumb-width500$imgbox--thumb-width123<list_of_file_paths.txt
$generate_file_paths|imgbox--json|jq-r".[].image_url"BBcodewhilereadimage;dosuccess=$(jq-r'.success'<<<"$image")if["$success"!='true'];thenerror="$(jq-r'.error'<<<"$image")"filename="$(jq-r'.filename'<<<"$image")"echo"$filename:$error">&2elseimage_url=$(jq-r'.image_url'<<<"$image")thumbnail_url=$(jq-r'.thumbnail_url'<<<"$image")echo"[url=$image_url][img]$thumbnail_url[/img][/url]"fidone<<<$(imgbox--json"$@"|jq-c'.[]')Installation$sudoaptinstallpipx
$pipxinstall--upgradeimgbox-cli
Package: img-captcha
PDisk.pro API WrapperA Python package to interact with the unofficial API of PDisk.pro.InstallationTo install the package, you can use pip:pipinstallpdiskUsageTo use the package, you must first create an instance of the Pdisk class, passing your API key as a parameter:frompdiskimportPdiskapi_key="YOUR_API_KEY_HERE"pdisk=Pdisk(api_key)AccountYou can retrieve your account info and stats using the following methods:account_info=awaitpdisk.account_info()print(account_info.email,account_info.balance,account_info.storage_used)account_stats=awaitpdisk.account_stats()forstatinaccount_stats:print(f"{stat.profit_total}:{stat.downloads}:{stat.refs}")File UploadYou can upload files using the following methods:# Upload a file from local storageresponses=awaitpdisk.upload_file("/path/to/file")forresponseinresponses:print(response)# Upload a remote fileresponses=awaitpdisk.upload_remote_file("https://example.com/file.mp4",folder_id=12345)forresponseinresponses:print(response)You can check the upload status of a file using the following method:file_code="FILE_CODE"status=awaitpdisk.check_upload_status(file_code)print(status)File ManagementYou can retrieve information about a file using the following method:file_code="FILE_CODE"file_info=awaitpdisk.file_info(file_code)forinfoinfile_info:print(info)You can also retrieve a list of files using the following method:files=awaitpdisk.get_file_list(page=1,per_page=20)forfileinfiles:print(file)Check Documentaion For More ...comming soon ...LicenseThis project is licensed under the MIT License (c) 2023 kalanakt.
Package: imgcat
imgcatThe imgcat CLI, written in Python (and Python API, too).It works withiTerm2, andeven inside tmux.Installation and Usagepip install imgcatCommand-line interface (similar toiTerm2's imgcat):$imgcatlocal_image.png
$imgcata.pngb.pngc.png
$catfrom_stdin.gif|imgcat# height is 10 lines$imgcata.png--height10Python API:>>>fromimgcatimportimgcat# from the content of image (e.g. buffer in python3, str in python2)>>>imgcat(open("./local_image.png"))# or numpy arrays!>>>im=skimage.data.chelsea()# [300, 451, 3] ndarray, dtype=uint8>>>imgcat(im,height=7)# matplotlib, PIL.Image, etc.>>>imgcat(Image.fromarray(im))>>>importmatplotlib.pyplotasplt>>>fig,ax=plt.subplots();ax.plot([1,2,3,4,5])>>>imgcat(fig)Matplotlib Backend:module://imgcatMPLBACKEND="module://imgcat"pythondraw_matplotlib.py>>>importmatplotlib>>>matplotlib.use("module://imgcat")>>>importmatplotlib.pyplotasplt>>>fig,ax=plt.subplots()>>>ax.text(0.5,0.5,"Hello World!");>>>fig.show()# an image shall be displayed on your terminal!IPython magic (works both in terminal and notebook)%load_ext imgcat
%imgcat skimage.data.chelsea()NotesCurrently,tmux 2.5+ cannot display big images. Use tmux <= 2.4 or run outside tmux.TODO: General platform/emulator support (introduce multiple backends)Related ProjectsOriginal implementation:imgcatfrom iTerm2  (limited tmux support)There are modified versions with better tmux support byEric Dobsonand by@krtxNode.js:term-img(no tmux support)Go:iterm2-imagetools(no tmux support)LicenseMIT License
Package: img-clust
Image Clustering using K-Means AlgorithmThis package provides an easy-to-use function for clustering pixels in an image using the K-Means algorithm. It requires the OpenCV, Numpy, and Scikit-learn libraries.InstallationYou can install this package using pip:pipinstallimg_clustUsagefromimg_clustimportimage_clustering# Load and cluster the image with 5 clusterssegmented_image=image_clustering('path/to/image.jpg',5)# Display the segmented imagecv2.imshow('Segmented Image',segmented_image)cv2.waitKey()Theimage_clusteringfunction takes two arguments: the path to the image file and the desired number of clusters.LicenseMIT.
Package: imgcompare
imgcompareCalculates the difference between images in percent, checks equality with optional fuzzyness.AlgorithmGet diff image using Pillow's ImageChops.differenceConvert the diff image to greyscaleSum up all diff pixels by summing up their histogram valuesCalculate a percentage based on a black and white image of the same sizeCheck the tests to see example diffs for different scenarios.
Don't expect the diff of two jpg images be the same for the same images converted to png.
Don't do interformat compares (e.g. JPG with PNG).CAUTION: Due to a bugfix in the RGB -> L (Luminosity Greyscale) conversion in Pillow 7.0.0the calculated outputs (percentages, etc.) differ between 6.2.2 and 7.0.0.https://github.com/datenhahn/imgcompare/pull/3#issuecomment-576053494DependenciesPillow (https://python-pillow.org/)imgcompare 0.1.0: no version checksimgcompare 1.0.0: Python 2.7, Pillow <= 6.2.2imgcompare 2.0.0: Python 3.x, Pillow >= 7.0.0, (calculated percentages will differ to Pillow 6.2.2)Installationpip install imgcompareUsagecompare imagesis_same = is_equal("image_a.jpg", "image_b.jpg")use the tolerance parameter to allow a certain diff pass as sameis_same = is_equal("image_a.jpg", "image_b.jpg", tolerance=2.5)get the diff percentagepercentage = image_diff_percent("image_a.jpg", "image_b.jpg")or work directly with pillow image instances (also works for is_equal)image_a = Image.open("image_a.jpg")
image_b = Image.open("image_b.jpg")
percentage = image_diff_percent(image_a, image_b)ExamplesOn Image B the cat wears some fancy goggles which results in a small difference.Slight DifferenceImage AImage Bimgcompare.image_diff_percent(JPG_CAT, JPG_CAT_SLIGHT_DIFF)

result => 0.344547385621Difference between jpg and same jpg encoded againImage B is Image A, but run again through the JPEG encoder, so Image B now
has slightly more compression artefacts than Image A, which results in a small diff.Image AImage Bimgcompare.image_diff_percent(JPG_CAT, JPG_CAT_REENCODED)

result => 0.0149232026144Black and WhiteWhen comparing a fully black image with a fully white one, the expected
difference is 100%.Image AImage Bimgcompare.image_diff_percent(JPG_BLACK, JPG_WHITE)

result => 100.0Black and Half-Black-WhiteComparing a full black image with a half black, half white one
gives a difference of 50%.Image AImage Bimgcompare.image_diff_percent(JPG_BLACK, JPG_HALF_BW)

result => 50.0LicenseMIT License
Package: img-compress
一个主流图片压缩方案的自动化脚本（利用 tinify 实现）实现三种图片输入的方式用户可以指定需要压缩的图片文件名称（支持多个图片文件，使用空格隔开）如果用户未指定图片，默认压缩当前文件夹下所有的 jpg/jpeg/png/webp 图片支持图片的尺寸调整输入宽度和高度（比如 600 800），表示按比例缩小图片，使其适合给定的尺寸输入宽度（比如 600 0），表示按确定的宽度调整图片，高度适配输入高度（比如 0 800），表示按确定的高度调整图片，宽度适配如未输入宽度和高度，则表示按照原始分辨率来压缩图片调用方法import img_compress

img_compress.tinify.key = "" # 请在https://tinify.cn/developers申请密匙
img_compress.compress() # 可以指定多个图片文件，未指定则压缩当前路径下的图片注意：需先到tifiny官网申请API密匙 ->传送门
Package: img-compress2
一个主流图片 压缩方案的自动化脚本 （利用 tinify 实现）实现三种图片输入的方式*用户可以指定需要压缩的图片文件名称（支持多个图片文件，使用空格隔开）如果用户未指定图片，默认压缩当前文件夹下所有的 jpg/ jpeg/ png/webp 图片支持图片的尺寸调整*输入宽度和高度（比如 600 800），表示按比例縮小图片，使其适合给定的尺寸
*输入宽度（ 比如 600 0），表示按照正确的宽度调整照片，高度适配
*输入高度（比如0 800），表示按照正确的高度调整照片，宽度适配
*如果未输入宽度和高度，则表示按照原始分辦率来压縮图片调用方法import img_compress
img_compress.tinify.key= “ ” #请在https://tinify.cn/developers申请密匙img_compress.compress(）＃可以指定多个图片文件，未指定则压缩当前路径下的图片注意：需先到tifiny官网申请API密匙 一>(https://tinify.cn/developers）
Package: img-compressio
CompressioCompressio is a python application that allows to edit images in bulk. Originally, it's purpose was to compress a
directory of pictures, but now it has the following functionality:Compressio can compress (wow) multiple images depending on a chosen quality.Compressio can resize all the images to a given width and height.Compressio can change a format of all the pictures to a given one.InstallationUsing Poetry (Linux, macOS, Windows(WSL))# Installing Poetrycurl-sSLhttps://install.python-poetry.org|python3-# Cloning the repogitclonehttps://github.com/knikolaeff/img-compressio.gitcdimg-compressio# Installing dependenciespoetryinstall# Running the scriptpython3compressio.pyUsing Poetry (Windows(Powershell))# Installing Poetry(Invoke-WebRequest-Urihttps://install.python-poetry.org-UseBasicParsing).Content|py-# Cloning the repogitclonehttps://github.com/knikolaeff/img-compressio.gitcdimg-compressio# Installing dependenciespoetryinstall# Running the scriptpythoncompressio.py
Package: img-convert
img-convertEste pacote Ã© usado para converter uma imagem RGB para Pecil Sketch.InstalaÃ§Ã£oUse o gerenciador de pacotespippara instalar este pacote.pipinstallimg_convertUsofromimg_convert.utils.ioimportConvertImgimage_path=''img=ConvertImg()img.to_pencil_sketch(image_path)AutorThiago OliveiraLicenseMIT
Package: imgdownloader
imgdownloaderUse this library to download any image from a given URL.InstallationpipinstallimgdownloaderUsageimportimgdownloaderaspypy.download(url="www.google.com/image-kim-jon-un",path="C/User/pc/Desktop/img.png")#Will download image at the given URL to the given path.py.download_bulk(txt_file="Path to text file, containing URLs",folder="Path to folder where you what to save images")Source codehttps://github.com/Ankit404butfound/pydownimgContributingPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.LicenseMIT
Package: imgdups
imgdupsMost image duplicate checkers can find duplicates within a single folder. This solution can verify that no duplicates from one path (search) exists in another path (target). It will use opencv to create image descriptors and cache them into a pickle file for faster processing after it was run the first time. With this approach we can not just find exact duplicates but similar images based on a match score.RequirementsPython 3.6+ was testedsudo apt install python3 python3-pipOption 1: Install from Sourcegit clone https://github.com/ChuckNorrison/imgdups
cd imgdups
pip3 install .Option 2: Install from PyPi (recommended)pip3 install imgdupsCLI Usageimgdups --search "/path/to/reference" --target "/path/to/check"or if not installed (git clone first)cd imgdups
python3 imgdups.py --search "/path/to/reference" --target "/path/to/check"Python example#!/usr/bin/env python3
import imgdups

SEARCH_PATH = "/path/to/reference"
TARGET_PATH = "/path/to/check"

img_dups = imgdups.ImgDups(TARGET_PATH, SEARCH_PATH)
duplicates = img_dups.find_duplicates()

for duplicate in duplicates:
    print("%s == %s (score: %d)",
            duplicate["target"],
            duplicate["search"],
            duplicate["score"]
    )

print("%d duplicates found", len(duplicates))
Package: img-en
image-enlargeIt takes img and int zoom level and output zoomed image.##Installationpip install img_enHow to use it?Exampleimport img_en
 #importing module

 img = img_en.load("image.jpg")
 #loading image

 zoom = 2 
 #declaring int value for level of zoom

 zoomimg = img_en.enlarge(img,zoom) 
 #zooming image

 img_en.save("zoomimage.jpg",zoomimg)
 #saving zoom image 

 img_en.show("title",zoomimg)
 #displaying image

 img_en.wait(0)
 #0 for stop
 #1 for don't stop
Package: imgetr
imgetrA command line tool to help download images from a web page.ExamplesDownload all of the nhl logos from the fox website.Output the images into the directory./nhl_logosusing the-oflag.Selectimgelements using-tflagSelectimgelements containing the class.image-logousing the-cflage.The image urls all have a similar format likeCoyotes.vresize.72.72.medium.0.png, so lets rename them to a format likeCoyotes.pngusing the-rflag and passing a regex selecting two groups. The first group up to the first "." and the second group selecting the file extension"([^.]+).+(\\..+$)".Finally lets pass the-vflag to print out each filename to the command line as they download.imgetrhttps://www.foxsports.com/nhl/teams-o./nhl_logos-timg-c"image-logo"-r"([^.]+).+(\\..+$)"-vrunning the above produces the following output:[✓] NHL.png
[✓] Ducks.png
[✓] Coyotes.png
[✓] Bruins.png
[✓] Sabres.png
[✓] Flames.png
[✓] Hurricanes.png
[✓] Blackhawks.png
[✓] Avalanche.png
[✓] BlueJackets.png
[✓] Stars.png
[✓] RedWings.png
[✓] Oilers.png
[✓] Panthers.png
[✓] Kings.png
[✓] Wild.png
[✓] Canadiens.png
[✓] Predators.png
[✓] Devils.png
[✓] Islanders.png
[✓] Rangers.png
[✓] Senators.png
[✓] Flyers.png
[✓] Penguins.png
[✓] Sharks.png
[✓] Kraken.png
[✓] Blues.png
[✓] Lightning.png
[✓] MapleLeafs.png
[✓] Canucks.png
[✓] GoldenKnights.png
[✓] Capitals.png
[✓] Jets.png
[====================] 100% Complete.Helpusage: imgetr [-h] [-o [OUTPUT_DIR]]                                                                                                    
                                  [-c class [class ...]] [-t [tag [tag ...]]]
                                  [-q [query_key]] [-u [.ext]] [-r [regex]]
                                  [-v]
                                  website

Download images from a website.

positional arguments:
  website               the website to download images from

optional arguments:
  -h, --help            show this help message and exit
  -o [OUTPUT_DIR], --output_dir [OUTPUT_DIR]
                        the directory to download the files into
  -c class [class ...], --class_list class [class ...]
                        list of css classes the images on the page contains
  -t [tag [tag ...]], --tag [tag [tag ...]]
                        list of html tags where images are contained
  -q [query_key], --query_key [query_key]
                        query key in an img src that contains image filename
  -u [.ext], --unknown_img_ext [.ext]
                        name of ext for images with no ext
  -r [regex], --rename [regex]
                        regex pattern selecting groups of the output image
                        filename to be concat together
  -v, --verbose         print out the name of each file downloadedTODO[] add option for selenium (headless) to download images which load on the page with javascript.[] add testing[] add more examplesWorking on imgetrTo create conda environment:condaenvcreate-fenvironment.ymlTo remove conda environment:condaremove--nameimgetr--allTo update requirements.txt:condaenvcreate-fenvironment.yml
pipfreeze>requirements.txtBefore publishing anythingpipinstall--upgradebuild
python-mbuild
Package: imgextract
imgextractimgextract v0.0.2This python package can be used for extracting pages from PDF and TIF/TIFF files.This packages uses poppler for reading pdf files and tkinter for gui, for windows platform poppler has been included in package and tkinter can be installed with python but for linux we have to install them manually.How to install poppler and tkinterWe can download poppler frompopplerORWe can install poppler using below commandsudo apt-get install python-popplerInstall tkinter in linux using below commandsudo apt-get update
sudo apt-get install python3-tkHow to usepdf page extractionfromimgextract.imgextimportImgExtractorif__name__=="__main__":ss=ImgExtractor()# input files path, out put files path and file typess.extract("/home/user/pdf_files","/home/user/image_files","pdf")tif/tiff image extractionfromimgextract.imgextimportImgExtractorif__name__=="__main__":ss=ImgExtractor()# input files path, out put files path and file typess.extract("/home/user/tif_files","/home/user/image_files","tif")GUI for Image extractionfromimgextract.imgguiimportGuiExtractorif__name__=="__main__":ss=GuiExtractor()ss.openwindow()Installation$pipinstallimgextractLicenseMIT
Package: imgflip
A python api to imgflip.Installpip install imgflipHow to use?python -m imgflip.cli
python -m imgflip
imgflipDevelopmentsetup:python -m pip install --upgrade pip wheel setuptools flake8 twine
python -m pip install -e .run tests:coverage run --source=imgflip -m unittest discover
coverage report -mcheck src:flake8 imgflipcheck readme:python setup.py sdist
twine check dist/*make package:python setup.py sdist bdist_wheel
python -m twine upload dist/*
Package: imgflippy
imgflippyAn open source Python interface for theimgflip RESTful APIimgflippyhas been developed
to remain true to the original API while offering the conveniences that Python allows.Quickstartimgflippyhas been written with the intention of allowing for meme generation from either a command line
interfaceoran interpreted environment.Command Lineget_memesPrint a table of the popular memes that may be captioned with this API:From the imgflip API documentation:The size of this array and the order of memes may change at any time. When this description was written, it returned
100 memes ordered by how many times they were captioned in the last 30 days. Additional properties other than those
listed below may be added in the future without warning, so do not assume the JSON structure of each meme will never
have new properties.$ python -m imgflippy get_memes
Template ID |                      Name                      |               URL
------------+------------------------------------------------+---------------------------------
112126428   | Distracted Boyfriend                           | https://i.imgflip.com/1ur9b0.jpg
181913649   | Drake Hotline Bling                            | https://i.imgflip.com/30b1gx.jpg
87743020    | Two Buttons                                    | https://i.imgflip.com/1g8my4.jpg
...add_captionFrom the imgflip API documentation:Add a caption to an Imgflip meme template. Images created with this API will be publicly accessible by anyone through
the url in the response - there is no "private" option. This does not mean these memes will be posted publicly though,
one still needs to know the exact URL to find the image. If the image hangs around on Imgflip servers for a while and
gets very few views (direct image views and image page views both count), it will be auto-deleted to save space.
Package: imgflip.py
Create memes with imgflip easily!InstallationTo install, do# Linux/macOSpython3-mpipinstall-Uimgflip.py# Windowspy-3-mpipinstall-Uimgflip.pyExamplesCLIpy-3-mimgflip-uUSERNAME-pPASSWORD-tname"drake hotline bling"-top"interacting with raw imgflip api"-bot"using imgflip.py"# use python3 on Linux/macOSResult:meme created!
You can find it at: https://imgflip.com/i/5gmxqp
Image link: https://i.imgflip.com/5gmxqp.jpgCodeSyncimportimgflipimportrequestsimgflip_client=imgflip.Imgflip(username="username",password="password",session=requests.Session())# create an Imgflip instancetemplates=imgflip_client.popular_memes(limit=10)# get popular meme templates from imgflipmeme=imgflip_client.make_meme(template=templates["Drake Hotline Bling"],top_text="interacting with raw imgflip api",bottom_text="using imgflip.py")# create a memeprint(meme.url)# print the meme image urlAsyncimportimgflipimportaiohttpimportasyncioasyncdefmain():asyncwithaiohttp.ClientSession()assession:imgflip_client=imgflip.Imgflip(username="username",password="password",session=session)# create an Imgflip instancetemplates=awaitimgflip_client.popular_memes(limit=10)# get popular meme templates from imgflipmeme=awaitimgflip_client.make_meme(template=templates["Drake Hotline Bling"],top_text="interacting with raw imgflip api",bottom_text="using imgflip.py")# create a memeprint(meme.url)# print the meme image urlasyncio.run(main())Result:https://i.imgflip.com/5f7zzm.jpgFor documentation, gohereChanges in v1.0Fixed docstringsAdded documentationAdded a command line interface