bigjpg


Namebigjpg JSON
Version 1.1.0 PyPI version JSON
download
home_page
SummaryWrappper for https://bigjpg.com/
upload_time2024-02-14 19:54:46
maintainer
docs_urlNone
authorMarcuth
requires_python
licenseMIT License
keywords bigjpg wrapper api
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Instalation

**Pypi**
```
pip install bigjpg
```

**GitHub**
```
pip install git+https://github.com/1Marcuth/py.bigjpg.git
```

# Simple use example
```py
from bigjpg import Bigjpg, Styles, Noises, EnlargeValues

bigjpg = Bigjpg("YOUR API TOKEN HERE")

image_info = bigjpg.enlarge(
    style = Styles.Art, # Type of image
    noise = Noises._None, # Noise level to be removed
    enlarge_value = EnlargeValues._4x, # Enlargement value
    image_url = "https://avatars.githubusercontent.com/u/91915075?v=4" # Url of image to be enlarged
)

image_url = image_info.get_url() # Enlarged image url
image_info.download("enlarged_image.png") # Method to download enlarged image

print(image_url)
```

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "bigjpg",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "bigjpg wrapper api",
    "author": "Marcuth",
    "author_email": "marcuth2006@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/b6/04/f6c2db6a6b6a75891e271577c2ae1eb80df8d46f2acc07f379cfd2df9afb/bigjpg-1.1.0.tar.gz",
    "platform": null,
    "description": "# Instalation\r\n\r\n**Pypi**\r\n```\r\npip install bigjpg\r\n```\r\n\r\n**GitHub**\r\n```\r\npip install git+https://github.com/1Marcuth/py.bigjpg.git\r\n```\r\n\r\n# Simple use example\r\n```py\r\nfrom bigjpg import Bigjpg, Styles, Noises, EnlargeValues\r\n\r\nbigjpg = Bigjpg(\"YOUR API TOKEN HERE\")\r\n\r\nimage_info = bigjpg.enlarge(\r\n    style = Styles.Art, # Type of image\r\n    noise = Noises._None, # Noise level to be removed\r\n    enlarge_value = EnlargeValues._4x, # Enlargement value\r\n    image_url = \"https://avatars.githubusercontent.com/u/91915075?v=4\" # Url of image to be enlarged\r\n)\r\n\r\nimage_url = image_info.get_url() # Enlarged image url\r\nimage_info.download(\"enlarged_image.png\") # Method to download enlarged image\r\n\r\nprint(image_url)\r\n```\r\n",
    "bugtrack_url": null,
    "license": "MIT License",
    "summary": "Wrappper for https://bigjpg.com/",
    "version": "1.1.0",
    "project_urls": null,
    "split_keywords": [
        "bigjpg",
        "wrapper",
        "api"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b604f6c2db6a6b6a75891e271577c2ae1eb80df8d46f2acc07f379cfd2df9afb",
                "md5": "d7f6d89f82d4a4e5e3408c5d8e3cf3c8",
                "sha256": "d9eb21780ac73aff49c577b644ae8ceb2570ede66aba3ded39532f2cb7765ae8"
            },
            "downloads": -1,
            "filename": "bigjpg-1.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "d7f6d89f82d4a4e5e3408c5d8e3cf3c8",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 2834,
            "upload_time": "2024-02-14T19:54:46",
            "upload_time_iso_8601": "2024-02-14T19:54:46.946647Z",
            "url": "https://files.pythonhosted.org/packages/b6/04/f6c2db6a6b6a75891e271577c2ae1eb80df8d46f2acc07f379cfd2df9afb/bigjpg-1.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-02-14 19:54:46",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "bigjpg"
}
        
Elapsed time: 0.17990s