Hello Projects Anemos
This library for Anemos API develop by Solufit.
Anemos API provides Weather Information, Earthquake Information and more.
Visit Project Anemos Website!
Install
Install using pip install -U anemos-py.
A Simple Example
Using Anemos v2 API
Get Weather Information with postnumber
from anemos.weather import AnemosObjectType, v2get
weather_informations = v2get("5320011")
Warning: Some Ordinance designated city is not supported. ( For example, Minato Ward, Tokyo)
Return Value Example
[
{
"prefcode": null,
"object_type": "Anemos.WeatherForecast",
"regioncode": "270000",
"title": "天気予報",
"detail": {
"weather_today": "101",
"weather_tomorrow": "101",
"max_temp": 28,
"min_temp": 28,
"rain_percent_now": 0,
"rain_percent_6h": 10,
"rain_percent_12h": 10,
"rain_percent_18h": 10,
"rain_percent_24h": 10,
"rain_percent_30h": 0,
"publishing_office": "大阪管区気象台",
"reported_time": "2024-10-10T05:00:00+09:00"
},
"info_objectId": "5593591d-0de6-4d4a-a997-532c9eed1899",
"areacode": null,
"id": 178228,
"status": "発表",
"info_domain": "jma.go.jp",
"reported_at": "2024-10-10T05:15:00"
},
{
"prefcode": null,
"object_type": "Anemos.WeatherWarning",
"regioncode": null,
"title": "大雨注意報",
"detail": {
"entryid": "20241007072516",
"editorial_office": "大阪管区気象台",
"publishing_office": "大阪管区気象台",
"category": "大雨注意報",
"datetime": "2024-10-07T07:25:15Z",
"headline": "大阪府では、8日明け方まで急な強い雨や落雷に注意してください。",
"pref": "大阪市"
},
"info_objectId": "51db0184-97b2-4040-9fe5-3aad9304c849",
"areacode": "2710000",
"id": 172614,
"status": "解除",
"info_domain": "jma.go.jp",
"reported_at": "2024-10-07T16:30:00"
},
・・・
]
Get Weather Information with postcode and objectType
from anemos.weather import AnemosObjectType, v2get
weather_informations = v2get("5320011", AnemosObjectTypes.WeatherWarning)
If you contact us
Repository developer is Anemos Develop Team on Email.
Metadata
Release files for anemos-py 0.0.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 |
|---|---|---|---|---|
| anemos-py-0.0.5.tar.gz | 4.2 kB | Without provenance | Details for anemos-py-0.0.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| anemos_py-0.0.5-py3-none-any.whl | Python 3 | none | any | Details for anemos_py-0.0.5-py3-none-any.whl |
Total release size: 7.9 kB
Release files / anemos-py-0.0.5.tar.gz
| Download URL | anemos-py-0.0.5.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
81663f511230f36d95d120be17020ae335c2b538c679db0a26e39150fc4ecbcb
|
|
BLAKE2b-256 checksum How to use checksums |
7895b795c0554f9b15a57d2f413214af6c77d8472735609b99f7d35cb8a14272
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.6
|
Release files / anemos_py-0.0.5-py3-none-any.whl
| Download URL | anemos_py-0.0.5-py3-none-any.whl |
|---|---|
| Size | 3.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
34a85debfda8d893008c92e22344ae87987c9771d7fe56414b71b6ace456a36d
|
|
BLAKE2b-256 checksum How to use checksums |
4fc4c284c233374fc0eae1ee6a56795ede01a3f8fe68300b88314a71f5f983c8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.6
|
Security for anemos-py 0.0.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.