Skip to main content

Python module for getting data from covid19.go.id

Project description

covid19-id

covid19-id - PyPi Supported Python versions LICENSE

Python module for getting data from covid19.go.id Modul python untuk mengambil data dari covid19.go.id

Install

You can install or upgrade covid19-id with:

pip install covid19-id --upgrade

Optional Dependencies

covid19-id can be installed with optional ujson dependency.

pip install covid19-id[ujson]`.

It will then be used for JSON decoding, which can bring speed up compared to the standard json library.

Example

import covid19_id

all_update = covid19_id.get_update()

total = all_update.update.total

print(f"covid19; positive cases in Indonesia : {total.jumlah_positif}")
print(f"covid19; patients treated in Indonesia {total.jumlah_dirawat}")
print(f"covid19; patients recovered in Indonesia {total.jumlah_sembuh}")
print(f"covid19; patients died in Indonesia {total.jumlah_meninggal}")

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

covid19-id-0.2.0.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

covid19_id-0.2.0-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

Details for the file covid19-id-0.2.0.tar.gz.

File metadata

  • Download URL: covid19-id-0.2.0.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.5 CPython/3.7.10 Linux/5.4.0-1040-azure

File hashes

Hashes for covid19-id-0.2.0.tar.gz
Algorithm Hash digest
SHA256 628937828f94108798764a2afd990f19df9dd2b1351eab685293b72fc99fa692
MD5 2a68bea8965f99122049a674d1da7014
BLAKE2b-256 6b3197993f3a732d6ebbee84021e0ec21f22a0e1f6cbd11cffc0b2786737e9e2

See more details on using hashes here.

File details

Details for the file covid19_id-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: covid19_id-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 6.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.5 CPython/3.7.10 Linux/5.4.0-1040-azure

File hashes

Hashes for covid19_id-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 674b64bc852fe6f7c8f29eeac633f5dd777ead55ca33d612bc5f49f2d3990b42
MD5 802b4cb170173db9d32192f2ecc240dc
BLAKE2b-256 a3aa4409efcee65b4b1a85627945a5aa88e1a781e7e697150ed871224ea8a97b

See more details on using hashes here.

Supported by

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