Skip to main content

guess_logo

猜测网址的logo链接 Detection of logo url from any website.

How to install.

pip3 install guess_logo

How to use.

from guess_logo import GuessLogo


url = 'http://www.txdkj.com/'


logos = GuessLogo.guess(url)
print(logos)

# 调整logo大小
from guess_logo import Logo
height = 256
width = 512
source = 'demo/ifengLogo.png'
target = 'demo/ifengLogo_{}_{}.png'.format(width, height)
Logo.resize(source, target, width, height, bgcolor='transparent')


# 替换白色为透明
from guess_logo import ColorLogo
source = 'demo/logo.jpeg'
target = 'demo/logo.transparent.png'
ColorLogo.replace(source, target)

Metadata

Release files for guess-logo 0.0.8

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

Source distribution (sdist)

Source distribution for guess-logo 0.0.8
File Size Uploaded Provenance Actions
guess_logo-0.0.8.tar.gz 3.4 kB Without provenance Details for guess_logo-0.0.8.tar.gz

Release files / guess_logo-0.0.8.tar.gz

Download URL guess_logo-0.0.8.tar.gz
Size 3.4 kB
Tags Source
SHA-256 checksum
How to use checksums
433645b01632d7f81ca4c9529faa002edbb4d073589685cf3ed0a0f283af9dbf
BLAKE2b-256 checksum
How to use checksums
a19f4b71878bc3a63f33ef1925eafc5409ee855c9538d233508b5dc1894349d2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.8

Security for guess-logo 0.0.8

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.

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