Skip to main content

Clearbit Logo API client

Project description

clearbot

Clearbit Logo API client.

clearbot fetches the logo of company (png file) based on their domain name.

Install

The script in available through a python package.

pip install clearbot

Get started

You can run directly the script on a domain.

clearbot github.com

You can pass several domains as well.

clearbot github.com gitlab.com

By default it will output /tmp/github.com.png. You can change the destination directory with the -o option.

clearbot -o . github.com

By default it outputs 512px png file (i.e. the greatest side has 512px). You can change it with the -s option.

clearbot -s 128 github.com

Finally sometimes we may want to remove the white background (transparence). For this purpose, you can use the -t options that thresholds the whites (it must between 0 and 255 as it is applied on a grayscale version of the image).

clearbot -t 250 github.com

What's next?

  • Use a file as input
  • Colorize image

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

clearbot-0.1.1.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

clearbot-0.1.1-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file clearbot-0.1.1.tar.gz.

File metadata

  • Download URL: clearbot-0.1.1.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.10.9 Linux/6.1.7-100.fc36.x86_64

File hashes

Hashes for clearbot-0.1.1.tar.gz
Algorithm Hash digest
SHA256 86731eb86c78f269150c91237105d11bc42890ef390ff1f9535d9fa574bd8eca
MD5 930f18017128372560dca0e8189d4a2f
BLAKE2b-256 2668ef0183f5441755b5f796ff9794ad285e2bddbe7e8ca5fbdc2237ae8d8c8b

See more details on using hashes here.

File details

Details for the file clearbot-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: clearbot-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 3.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.10.9 Linux/6.1.7-100.fc36.x86_64

File hashes

Hashes for clearbot-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9894c5dea138198d23721979cd6bc36838a5c01f6f18ee30f3851292700ec022
MD5 4327d20db6625abdafa3484a0f1ef99a
BLAKE2b-256 ac033968d0914289a4f65593991a28b412e29abbd87078d0a66bc0391dca0991

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