photolink


Namephotolink JSON
Version 0.0.6 PyPI version JSON
download
home_pagehttps://github.com/xudoberdigayratov/PhotoLink
SummaryPhotoLink API wrapper
upload_time2024-09-10 16:54:35
maintainerNone
docs_urlNone
authorXudoberdi G'ayratov
requires_pythonNone
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # PhotoLink

Python PhotoLink API wrapper

[//]: # (- [Documentation](https://python-telegraph.readthedocs.io/en/latest/))

```bash
$ python3 -m pip install photolink
# with asyncio support
$ python3 -m pip install 'photolink[aio]'
```

## Example
```python
from photolink import PhotoLink

photolink = PhotoLink()
upload = photolink.upload_image(file_path='doppi.png')

print(upload)

```

## Async Example
```python
import asyncio
from photolink.aio import PhotoLink

async def main():
    photolink = PhotoLink()
    print(await photolink(file_path='doppi.png'))


asyncio.run(main())
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/xudoberdigayratov/PhotoLink",
    "name": "photolink",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": null,
    "author": "Xudoberdi G'ayratov",
    "author_email": "gayratov@xudoberdi.uz",
    "download_url": "https://files.pythonhosted.org/packages/1a/e2/2d6ab0b01e99c37d8b95107cbc0016c824c9e03b177708125ecc1602a5cf/photolink-0.0.6.tar.gz",
    "platform": null,
    "description": "# PhotoLink\r\n\r\nPython PhotoLink API wrapper\r\n\r\n[//]: # (- [Documentation](https://python-telegraph.readthedocs.io/en/latest/))\r\n\r\n```bash\r\n$ python3 -m pip install photolink\r\n# with asyncio support\r\n$ python3 -m pip install 'photolink[aio]'\r\n```\r\n\r\n## Example\r\n```python\r\nfrom photolink import PhotoLink\r\n\r\nphotolink = PhotoLink()\r\nupload = photolink.upload_image(file_path='doppi.png')\r\n\r\nprint(upload)\r\n\r\n```\r\n\r\n## Async Example\r\n```python\r\nimport asyncio\r\nfrom photolink.aio import PhotoLink\r\n\r\nasync def main():\r\n    photolink = PhotoLink()\r\n    print(await photolink(file_path='doppi.png'))\r\n\r\n\r\nasyncio.run(main())\r\n```\r\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "PhotoLink API wrapper",
    "version": "0.0.6",
    "project_urls": {
        "Download": "https://github.com/xudoberdigayratov/PhotoLink.git",
        "Homepage": "https://github.com/xudoberdigayratov/PhotoLink"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8528e3ab74e5c81ea9c08288b2ebfec3512ee0db31c262d1b4b7b7f1727c4a30",
                "md5": "9d3f954adeff2915011085d40f5de8a8",
                "sha256": "35bc45e61fea4f7c887f1860e775c7c232d7bfeb07101416e09627a588018847"
            },
            "downloads": -1,
            "filename": "photolink-0.0.6-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "9d3f954adeff2915011085d40f5de8a8",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 5625,
            "upload_time": "2024-09-10T16:54:34",
            "upload_time_iso_8601": "2024-09-10T16:54:34.638858Z",
            "url": "https://files.pythonhosted.org/packages/85/28/e3ab74e5c81ea9c08288b2ebfec3512ee0db31c262d1b4b7b7f1727c4a30/photolink-0.0.6-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "1ae22d6ab0b01e99c37d8b95107cbc0016c824c9e03b177708125ecc1602a5cf",
                "md5": "b33234d7079fbc9b30dc2b2bf4b21ad0",
                "sha256": "e7b9e91507978c6389b807e5c5715985db8de14d99d92534756f01227aebaf47"
            },
            "downloads": -1,
            "filename": "photolink-0.0.6.tar.gz",
            "has_sig": false,
            "md5_digest": "b33234d7079fbc9b30dc2b2bf4b21ad0",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 4221,
            "upload_time": "2024-09-10T16:54:35",
            "upload_time_iso_8601": "2024-09-10T16:54:35.676652Z",
            "url": "https://files.pythonhosted.org/packages/1a/e2/2d6ab0b01e99c37d8b95107cbc0016c824c9e03b177708125ecc1602a5cf/photolink-0.0.6.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-09-10 16:54:35",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "xudoberdigayratov",
    "github_project": "PhotoLink",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [],
    "lcname": "photolink"
}
        
Elapsed time: 0.36352s