Skip to main content

colourful

colourful is a package to colorize any greyscale image.

Usage

from colourful import Colour
api = Colour("your-api-key")
image = api.colourize("path/to/file/or/url")
print(image)

Example

from colourful import Colour
api = Colour("api-key")
image_url = api.colourize("https://encrypted-tbn0.gstatic.com/images?q=tbn%3AANd9GcSquKY_mSuJBAAiJ96LPdqS3yWFLMqZSvL73g&usqp=CAU")
print(image_url)
> https://api.deepai.org/job-view-file/8ef87b60-aecc-4ac4-8e8b-cc4de7a107eb/outputs/output.jpg

Example Using Images

Input -

Input

Output -

Output

Get API Key

1 - Go to DeepAI and create an account

2 - Verify by clicking on the URL sent by DeepAI to your E-Mail

3 - Go to DeepAI Dashboard and get your API Key

Note - This package is currently under development

Metadata

Release files for colourful 1.2.5

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

Source distribution (sdist)

Source distribution for colourful 1.2.5
File Size Uploaded
colourful-1.2.5.tar.gz 2.0 kB Details

Built distribution (wheel)

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

Total release size: 4.8 kB

Release files / colourful-1.2.5.tar.gz

Download URL colourful-1.2.5.tar.gz
Size 2.0 kB
Tags Source
SHA-256 checksum
How to use checksums
b7047646b18e969c0cae52da3b37f400fe14d11315d62c924e66277e1d3a2698
BLAKE2b-256 checksum
How to use checksums
1792a836d2e00422fdbf34b85f7038dd5df7dd43fff57396d5a6872e51e9ee60
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3

Release files / colourful-1.2.5-py3-none-any.whl

Download URL colourful-1.2.5-py3-none-any.whl
Size 2.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6381f4e9c31d27afdd87e95e3a435336aba3bed191a2f886147de64f7ff6b7e5
BLAKE2b-256 checksum
How to use checksums
e4ed292dd6e05eb52d11b86a7015f38a1ca3a338c83bb2b8f9888c285cd11331
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3

Release history Release notifications | RSS feed

This release

1.2.5 This release

2 release files

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