Skip to main content

Python Boilerplate contains all the boilerplate you need to create a Python package.

Project description

======== Korodata

.. image:: https://img.shields.io/pypi/v/korodata.svg :target: https://pypi-hypernode.com/pypi/korodata

.. image:: https://img.shields.io/travis/ionlizarazu/korodata.svg :target: https://travis-ci.com/ionlizarazu/korodata

.. image:: https://readthedocs.org/projects/korodata/badge/?version=latest :target: https://korodata.readthedocs.io/en/latest/?badge=latest :alt: Documentation Status

EAEko herriz herriko Koronabirus datuak kontsultatzeko tresna

  • Free software: GNU General Public License v3

Erabilera eta instalazioa

Instalatu paketea pip erabiliz:

$ pip install korodata

Erabiltzeko inportatu paketea eta deitu metodoei:

>>> from korodata import Korodata
>>> Korodata.azken_eguneraketa()
...
>>>
>>> fitxategia, herri_izena = Korodata.herria('Antzuola', 60)
...
>>>
>>> fitxategia = Korodata.probintzia('01', 60)
...
>>>
>>> fitxategia = Korodata.eae(60)

Funtzioen azalpena

azken_eguneraketa()


Publikatuta dagoen JSON fitxategiaren azken eguneraketa itzultzen du.

herria(herri_izena, zenbat_egun)

Bi parametro hartzen ditu, herriaren izena eta zenbat egun. Egun kopurua pasa ezean azken 60 egunetako datuak itzuliko ditu. Eskatzen zaion herriaren azken egunetako positibo bilakaera duen grafika bat eta herriaren izena itzultzen ditu.

probintzia(kodea, zenbat_egun)


Bi parametro hartzen ditu, probintziaren kodea eta zenbat egun.
Probintzia kodeak hauek dira: 
  - '01' - Araba
  - '48' - Bizkaia
  - '20' - Gipuzkoa
Egun kopurua pasa ezean azken 60 egunetako datuak itzuliko ditu. 
Eskatzen zaion probintziaren azken egunetako positibo bilakaera duen grafika bat itzultzen du.

eae(zenbat_egun)

Parametro bakarra hartzen du, zenbat egun. Egun kopurua pasa ezean azken 60 egunetako datuak itzuliko ditu. Euskal Autonomia Erkidegoko azken egunetako positibo bilakaera duen grafika bat itzultzen du.

Credits

This package was created with Cookiecutter_ and the audreyr/cookiecutter-pypackage_ project template.

.. _Cookiecutter: https://github.com/audreyr/cookiecutter .. _audreyr/cookiecutter-pypackage: https://github.com/audreyr/cookiecutter-pypackage

======= History

1.0.0 (2020-09-09)

  • First release on PyPI.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

korodata-2.0.0.tar.gz (14.0 kB view details)

Uploaded Source

Built Distributions

korodata-2.0.0-py3.8.egg (10.4 kB view details)

Uploaded Source

korodata-2.0.0-py2.py3-none-any.whl (6.6 kB view details)

Uploaded Python 2 Python 3

korodata-2.0.0-py2.7.egg (10.4 kB view details)

Uploaded Source

File details

Details for the file korodata-2.0.0.tar.gz.

File metadata

  • Download URL: korodata-2.0.0.tar.gz
  • Upload date:
  • Size: 14.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.10

File hashes

Hashes for korodata-2.0.0.tar.gz
Algorithm Hash digest
SHA256 41d7c62d0b703dedcce05881053511434e4a86a24f1a08cd421e7d560a11f245
MD5 45ccd1cc90d4009f3f378ff877d4171c
BLAKE2b-256 c8f8f20afd259b49ec34cafea28d48d3d158b4fbe91834f2ffba23a8288d79e8

See more details on using hashes here.

Provenance

File details

Details for the file korodata-2.0.0-py3.8.egg.

File metadata

  • Download URL: korodata-2.0.0-py3.8.egg
  • Upload date:
  • Size: 10.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.10

File hashes

Hashes for korodata-2.0.0-py3.8.egg
Algorithm Hash digest
SHA256 71bf4f025da6a573535cfb7248c9afb4d7bd3cb257b8446291afd48aba0bd4a1
MD5 13e7c40e0fd0ea232970e34c5a9c7496
BLAKE2b-256 dcb2157a096aac3621bedc28faaca4044548920df0320711f955d0ecb34320e6

See more details on using hashes here.

Provenance

File details

Details for the file korodata-2.0.0-py2.py3-none-any.whl.

File metadata

  • Download URL: korodata-2.0.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 6.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.10

File hashes

Hashes for korodata-2.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 41c48fc60c4b179bbad65a127ba42e209d453129b5d722806aa1998936244a2f
MD5 6ff208092bb5c812934489d1356fc1df
BLAKE2b-256 cf0c09d9cf9a381bdfff1d580c6da7ec20a172091e0d6ae61fa1772e141fb0af

See more details on using hashes here.

Provenance

File details

Details for the file korodata-2.0.0-py2.7.egg.

File metadata

  • Download URL: korodata-2.0.0-py2.7.egg
  • Upload date:
  • Size: 10.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.10

File hashes

Hashes for korodata-2.0.0-py2.7.egg
Algorithm Hash digest
SHA256 a2e30ea4f3df7aaa301e6781ef25a084f6275f558a8f9ba9be0176bd086aec32
MD5 6e192b65c98b59e58032a59fb8413dd8
BLAKE2b-256 26f507bdf4df96546e7741dde6266cf89c1a44f3c8ed55b366505e1db7d04a53

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page