Generation-Image-Gaston


NameGeneration-Image-Gaston JSON
Version 0.2.2 PyPI version JSON
download
home_page
Summary
upload_time2023-06-30 09:43:51
maintainer
docs_urlNone
authorGaston Robé
requires_python
licenseMIT
keywords capitain america avengers
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            Generation-image_Gaston
Description
Generation-image_Gaston is a Python package that allows you to generate images from a given prompt using the craiyon.com site. This package uses Selenium to automate the image build and upload process.

Facility
You can install the Generation-image_Gaston package using pip:

pip install Generation-image_Gaston
Make sure you have the following dependencies installed:

undetected_chromedriver
selenium
It settles down on its own normally.
Use
Here is an example of using the package:


from Generation_Image_Gaston import SelectStyle

SelectStyle("Three Crying Cat...", "PHOTO")
The SelectStyle function takes two parameters:

Prompt: The text to use as a prompt to generate the image.
Style: The desired image style. The available options are "PHOTO", "DRAWING" and "ART".
The function performs the following steps:

Opens the craiyon.com website.
Accept cookies (if necessary).
Selects the specified Picture Style.
Enters the given prompt.
Generates the image.
Download the image to your computer.
Please note that the build process may take some time. When the download is complete, the message "Download is complete" will be displayed.

Make sure you have Chrome installed on your system, as the package uses Chrome to interact with the website.

Change Log
==========

0.0.1 (26/06/2023)
-------------------
- First Release

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "Generation-Image-Gaston",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "Capitain America Avengers",
    "author": "Gaston Rob\u00e9",
    "author_email": "gaston01.robe@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/7e/f2/996ca85ea9622487b527a55ef2053b2ab5dae300dbfa588add5ce7465872/Generation_Image_Gaston-0.2.2.tar.gz",
    "platform": null,
    "description": "Generation-image_Gaston\r\nDescription\r\nGeneration-image_Gaston is a Python package that allows you to generate images from a given prompt using the craiyon.com site. This package uses Selenium to automate the image build and upload process.\r\n\r\nFacility\r\nYou can install the Generation-image_Gaston package using pip:\r\n\r\npip install Generation-image_Gaston\r\nMake sure you have the following dependencies installed:\r\n\r\nundetected_chromedriver\r\nselenium\r\nIt settles down on its own normally.\r\nUse\r\nHere is an example of using the package:\r\n\r\n\r\nfrom Generation_Image_Gaston import SelectStyle\r\n\r\nSelectStyle(\"Three Crying Cat...\", \"PHOTO\")\r\nThe SelectStyle function takes two parameters:\r\n\r\nPrompt: The text to use as a prompt to generate the image.\r\nStyle: The desired image style. The available options are \"PHOTO\", \"DRAWING\" and \"ART\".\r\nThe function performs the following steps:\r\n\r\nOpens the craiyon.com website.\r\nAccept cookies (if necessary).\r\nSelects the specified Picture Style.\r\nEnters the given prompt.\r\nGenerates the image.\r\nDownload the image to your computer.\r\nPlease note that the build process may take some time. When the download is complete, the message \"Download is complete\" will be displayed.\r\n\r\nMake sure you have Chrome installed on your system, as the package uses Chrome to interact with the website.\r\n\r\nChange Log\r\n==========\r\n\r\n0.0.1 (26/06/2023)\r\n-------------------\r\n- First Release\r\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "",
    "version": "0.2.2",
    "project_urls": null,
    "split_keywords": [
        "capitain",
        "america",
        "avengers"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7ef2996ca85ea9622487b527a55ef2053b2ab5dae300dbfa588add5ce7465872",
                "md5": "ba7a17249149b05d26e6f1b6dd418619",
                "sha256": "50daabafb2835354bd15aabc44eea3846d6ba2cd00d5f330a89e3d80925e7016"
            },
            "downloads": -1,
            "filename": "Generation_Image_Gaston-0.2.2.tar.gz",
            "has_sig": false,
            "md5_digest": "ba7a17249149b05d26e6f1b6dd418619",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 3831,
            "upload_time": "2023-06-30T09:43:51",
            "upload_time_iso_8601": "2023-06-30T09:43:51.268517Z",
            "url": "https://files.pythonhosted.org/packages/7e/f2/996ca85ea9622487b527a55ef2053b2ab5dae300dbfa588add5ce7465872/Generation_Image_Gaston-0.2.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-06-30 09:43:51",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "generation-image-gaston"
}
        
Elapsed time: 0.08150s