Skip to main content

Picwish Photo Enhancer

Project description

PicWish Photo Enhancer for Python

Usage

1. Install

pip install picwish

2. Obtain Your API Token

  • 1 Log in to your PicWish account
  • 2 Open the console and enter localStorage['passport_api_token'].
  • 3 Copy the API token displayed.

3. Write the Code

import asyncio
from picwish import Enhancer

# Replace '<Your-token-here>' with your actual API token
enhancer = Enhancer('<Your-token-here>')

async def main():
    enhanced_image = await enhancer.enhance('/path/to/input.jpg')
    await enhanced_image.download('output.jpg')

asyncio.run(main())

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

picwish-0.0.2.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

picwish-0.0.2-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file picwish-0.0.2.tar.gz.

File metadata

  • Download URL: picwish-0.0.2.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.5

File hashes

Hashes for picwish-0.0.2.tar.gz
Algorithm Hash digest
SHA256 dc26b6a57d4490c1138a560a202bbb3a92354b0b563e386298c40f0677e1f6a1
MD5 db6245b81cdf2e7a50bf5b4cf6fc0f7b
BLAKE2b-256 820ef3240ec3974f836d65ed133e28c08bd418ed15c9c30d2628cc6aa16a553f

See more details on using hashes here.

File details

Details for the file picwish-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: picwish-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 5.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.5

File hashes

Hashes for picwish-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 216721565c537b73ad098f4c81bb6d6dc8d9f6eb8103857f78e9f38c532662ad
MD5 19f201aca9b02300a412cd7306c49e38
BLAKE2b-256 6e719359da85afdd487acae85a149b6f81082546b8822c9bcf85d70940573755

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page