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
Release files for alertaseism 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 | |
|---|---|---|---|
| alertaseism-0.0.5.tar.gz | 2.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| alertaseism-0.0.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.4 kB
Release files / alertaseism-0.0.5.tar.gz
| Download URL | alertaseism-0.0.5.tar.gz |
|---|---|
| Size | 2.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6a04c57415f85306fb74712c4a7ecf379f914c1b6b291f1d31c85bf1e8f91b07
|
|
BLAKE2b-256 checksum How to use checksums |
c5045636c5fd8b29a77b72a11fbb5d53fa4baae0b57a67d5b96f8c4d5ebab802
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / alertaseism-0.0.5-py3-none-any.whl
| Download URL | alertaseism-0.0.5-py3-none-any.whl |
|---|---|
| Size | 3.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bca16d0ad3b74838358d909c855514867b795bcb7e55e4cd021a9464378fb0da
|
|
BLAKE2b-256 checksum How to use checksums |
e36ba04c3975f09903d2968ad4f2468e43c27d3df45b374bc9d6efc35e15de71
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|