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命令查看内置云图。
Release files for pycloudimage 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pycloudimage-0.1.4.tar.gz | 4.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pycloudimage-0.1.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.9 kB
Release files / pycloudimage-0.1.4.tar.gz
| Download URL | pycloudimage-0.1.4.tar.gz |
|---|---|
| Size | 4.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d7b46f8f682f1d1b785caef8dfd06ddffdb728e5d0a2c935cf4844a76dd30bd1
|
|
BLAKE2b-256 checksum How to use checksums |
5fc9c976938e3efcd453e44827fc9affe69111e16fd43a47feebde89bd0d0450
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / pycloudimage-0.1.4-py3-none-any.whl
| Download URL | pycloudimage-0.1.4-py3-none-any.whl |
|---|---|
| Size | 5.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
08c1f13e9c2352aeaaba3f8ace62bcea976b6c298dda734d1b1cf694e7465ff7
|
|
BLAKE2b-256 checksum How to use checksums |
a1298859e795da098b9bdaaa6d5572b639a373f9f865319eab68e1469c31200d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|