Skip to main content

PhotoLink

Python PhotoLink API wrapper

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

Example

from photolink import PhotoLink

photolink = PhotoLink(client_id='lSeA0sSUgd')
upload = photolink.upload_image(file_path='doppi.png')
uploadFromUrl = photolink.upload_image_url(url="https://example.com/doppi.png")

print(upload)
print(uploadFromUrl)

Async Example

import asyncio
from photolink.aio import PhotoLink

async def main():
    photolink = PhotoLink(client_id='lSeA0sSUgd')
    print(await photolink.upload_image(file_path='doppi.png'))
    print(await photolink.upload_image_url(url='https://example.com/doppi.png'))


asyncio.run(main())

Metadata

Release files for photolink 1.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for photolink 1.0.3
File Size Uploaded Provenance Actions
photolink-1.0.3.tar.gz 4.7 kB Without provenance Details for photolink-1.0.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for photolink 1.0.3
File Interpreter ABI Platform Actions
photolink-1.0.3-py3-none-any.whl Python 3 none any Details for photolink-1.0.3-py3-none-any.whl

Total release size: 10.9 kB

Security for photolink 1.0.3

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page