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
Release history Release notifications | RSS feed
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.1.tar.gz
(4.6 kB
view details)
Built Distribution
File details
Details for the file picwish-0.0.1.tar.gz
.
File metadata
- Download URL: picwish-0.0.1.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7db2bf8346041ef82bae13f32ef759ad044587205a4756076079ab147830ff17 |
|
MD5 | 8c88915d8ae8aeec52006cedbf8ad743 |
|
BLAKE2b-256 | 331c8c4781dcacd10e42f49327f4bc1d5202ea22a704de271a33b61547feb420 |
File details
Details for the file picwish-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: picwish-0.0.1-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2ec9cdca33f95f1151cdf7ad40cea34b1f021334af55fcaf6c7e19838f027f6 |
|
MD5 | 60c7ca4f227e22c0327211aa4a490307 |
|
BLAKE2b-256 | 3976c62ac5c9fd74fa68d1b65869685fd4aa9849b6edcd1c428172342dff2c7d |