This module provides module and command line tool to retrieve official current
weathe awareness level (*vigilance météo*) for French West Indies areas
(Guadeloupe, Martinique, Saint Martin/Saint Barth and french Guyana) scraping
meteofrance.gp web site.
## Install
### From PIP
```bash
pip install vigimeteo-cli
```
### From source
```bash
git clone https://work.ipeos.com/gitlab/vigimeteo/vigimeteo-cli.git vigimeteo-cli
cd vigimeteo-cli
python setup.py install
```
## Usage
### Command Line Tool
```
Vigilance Meteo : French West Indies weather awareness level
Usage:
vigimeteo AREA [--datastore=FILE_PATH] [--quiet] [--verbose]
vigimeteo (-h |--help)
vigimeteo (-v |--version)
Arguments:
AREA geographic area
(gp=Guadeloupe, mq=Martinique, gf=Guyane, idn=Iles du Nord)
Options:
-h --help Shows this help message and exit
-v --version Shows version number and exit
--datastore=FILE_PATH Datastore json file path (no datastore = no save)
--quiet print less text
--verbose print more text
```
#### Examples
Get current level for GP
```bash
$ vigimeteo gp
vert
```
Get current level, verbose mode
```bash
$ vigimeteo gp --verbose
Guadeloupe
vert
Pas de vigilance particulière
Département en vigilance verte.Pas de vigilance particulière.
```
Get current level, and store the record
```bash
$ vigimeteo gp --quiet --datastore=/data/vigimeteo.gp.json
```
### Python module
``` py
>>> from vigimeteo_cli import meteoGP
>>> vigilance = meteoGP(area='gp', datastore='/data/vigimeteo.gp.json')
>>> vigilance.scrap()
>>> print(vigilance.bulletin['vigilance'])
>>> vigilance.save()
```
## Licence
This project is distributed under the [GPL V3 licence](LICENSE.md)
Metadata
Release files for vigimeteo-cli 0.5.0
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 |
|---|---|---|---|---|
| vigimeteo_cli-0.5.0.tar.gz | 18.3 kB | Without provenance | Details for vigimeteo_cli-0.5.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| vigimeteo_cli-0.5.0-py3-none-any.whl | Python 3 | none | any | Details for vigimeteo_cli-0.5.0-py3-none-any.whl |
Total release size: 23.9 kB
Release files / vigimeteo_cli-0.5.0.tar.gz
| Download URL | vigimeteo_cli-0.5.0.tar.gz |
|---|---|
| Size | 18.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
afd3b7f7faa638a5ff1c6094174f6466d75cc2975a737fc292a3c5d98d142a9f
|
|
BLAKE2b-256 checksum How to use checksums |
e572f69f13d9cbe4016436f7b0f453ed3bcbf9f3003aee9563238a2dee962dcf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / vigimeteo_cli-0.5.0-py3-none-any.whl
| Download URL | vigimeteo_cli-0.5.0-py3-none-any.whl |
|---|---|
| Size | 5.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f7a0a5d7e30798a3acef61da26b327b26eaf9ffa32814f335a2f2a6c33d6750f
|
|
BLAKE2b-256 checksum How to use checksums |
fafcb36be473c4cf54d69e69f740a96e99833126aab4671fc9735b50e235c939
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for vigimeteo-cli 0.5.0
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.