O librarie folosiind date XML de la INFP pentru a afla magnitudinea la secunda.
Github: https://github.com/TudorGruian/alerta-seism-python3
Exemplu:
```python
import alertaseism
print(alertaseism.mag()) # <- pentru magnitudine
print(alertaseism.heart()) # <- pentru stare server
if alertaseism.mag() >= 1:
print("CUTREMUUUR")
```
Tot pe Git gasesti si exemple de loop
Github: https://github.com/TudorGruian/alerta-seism-python3
Exemplu:
```python
import alertaseism
print(alertaseism.mag()) # <- pentru magnitudine
print(alertaseism.heart()) # <- pentru stare server
if alertaseism.mag() >= 1:
print("CUTREMUUUR")
```
Tot pe Git gasesti si exemple de loop
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
alertaseism-0.0.5.tar.gz
(2.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file alertaseism-0.0.5.tar.gz.
File metadata
- Download URL: alertaseism-0.0.5.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6a04c57415f85306fb74712c4a7ecf379f914c1b6b291f1d31c85bf1e8f91b07
|
|
| MD5 |
7a13d640c710f379751ca948d175aa8b
|
|
| BLAKE2b-256 |
c5045636c5fd8b29a77b72a11fbb5d53fa4baae0b57a67d5b96f8c4d5ebab802
|
File details
Details for the file alertaseism-0.0.5-py3-none-any.whl.
File metadata
- Download URL: alertaseism-0.0.5-py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bca16d0ad3b74838358d909c855514867b795bcb7e55e4cd021a9464378fb0da
|
|
| MD5 |
b148c533ac1e05ebf3c00f9365dbb8aa
|
|
| BLAKE2b-256 |
e36ba04c3975f09903d2968ad4f2468e43c27d3df45b374bc9d6efc35e15de71
|