Skip to main content

Get Cloud Image from Internet

Project description

PyCloudImage 0.1.4

介绍

强大的获取卫星云图的工具

例子

from pycloudimage import *
#显示最新的风云四号A星全彩圆盘图
FY4A_DISK.getlatest().show()

class CloudImage(ciinfo = '', latestapi = None, timeapi = None)

ciinfo : 云图的简要介绍

latestapi : URL字符串或字典

timeapi : URL字符串或字典,目前没有内置云图设置

方法

CloudImage.ciinfo => str

云图的简要介绍

CloudImage.getlatest(size = None, delwatermark = True) => PIL.Image.Image

下载最新云图

CloudImage.gettime(self, itime, size = None) => PIL.Image.Image

下载具体时间的云图,目前还不稳定

API参数

url : 云图URL(必填)

crop : 云图裁剪

del : 云图填充去水印

size : 云图大小

内置云图

你可以通过查看源码或使用dir命令查看内置云图。

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

pycloudimage-0.1.4.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pycloudimage-0.1.4-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file pycloudimage-0.1.4.tar.gz.

File metadata

  • Download URL: pycloudimage-0.1.4.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1

File hashes

Hashes for pycloudimage-0.1.4.tar.gz
Algorithm Hash digest
SHA256 d7b46f8f682f1d1b785caef8dfd06ddffdb728e5d0a2c935cf4844a76dd30bd1
MD5 ab3dfaf63dac578f1dca5c43af3d301e
BLAKE2b-256 5fc9c976938e3efcd453e44827fc9affe69111e16fd43a47feebde89bd0d0450

See more details on using hashes here.

File details

Details for the file pycloudimage-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: pycloudimage-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 5.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1

File hashes

Hashes for pycloudimage-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 08c1f13e9c2352aeaaba3f8ace62bcea976b6c298dda734d1b1cf694e7465ff7
MD5 b33569920e94d5211eb8efc2a46bb14d
BLAKE2b-256 a1298859e795da098b9bdaaa6d5572b639a373f9f865319eab68e1469c31200d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page