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 -
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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| colourful-1.2.5.tar.gz | 2.0 kB | Without provenance | Details for colourful-1.2.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| colourful-1.2.5-py3-none-any.whl | Python 3 | none | any | Details for colourful-1.2.5-py3-none-any.whl |
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
|
Security for colourful 1.2.5
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.