jeafreezy / nigeria_geodata

Fast and efficient access to geospatial data for Nigeria.
https://jeafreezy.github.io/nigeria_geodata
MIT License
5 stars 1 forks source link

feat: async support + tests #27

Closed jeafreezy closed 2 months ago

jeafreezy commented 2 months ago

Added async support.

To avoid repetitions, I used threading to run the async code. Unfortunately, I couldn't use the httpx async client. However, after benchmarking there's some performance gain. See benchmark.py

If need be, we can come back to this later to improve the structure.

Closes https://github.com/jeafreezy/nigeria_geodata/issues/6