Skip to main content

A Python library for listing locations in Rwanda

Project description

Rwanda Locations

Build Status Coverage Status Codacy Badge PyPI version

A Python library for listing locations in Rwanda

Installation

pip install rwalocation

USAGE

1.
>>> import rwalocation 
>>> rwalocation.province()
Results
>>> [{'id': '84b17f22-c14e-4931-98b2-bdf0cfd90090', 'country_code': 'RWA', 'country_name': 'RWANDA', 'province_code': 5, 'province_name': 'EAST', 'district_code': 501, 'district_name': 'Rwamagana', 'sector_code': '050114', 'sector_name': 'Rubona', 'cell_code': 5011406, 'cell_name': 'Nawe', 'village_code': 501140603, 'village_name': 'Rudashya'}, ...]

2. 
>> from rwalocation import district
>>> district()
results
>>> [{'district_name': 'Bugesera', 'district_code': 507, 'province_name': 'EAST'}, ...]

DATA Spec

  1. Province
{ 
   'id':'84b17f22-c14e-4931-98b2-bdf0cfd90090',
   'country_code':'RWA',
   'country_name':'RWANDA',
   'province_code':5,
   'province_name':'EAST',
   'district_code':501,
   'district_name':'Rwamagana',
   'sector_code':'050114',
   'sector_name':'Rubona',
   'cell_code':5011406,
   'cell_name':'Nawe',
   'village_code':501140603,
   'village_name':'Rudashya'
}
  1. District
{ 
   'district_name':'Bugesera',
   'district_code':507,
   'province_name':'EAST'
}

Contributing 🙏

Pull requests and potential features are welcome.

  1. Make all changes to your forked branch
  2. Submit a Pull Request.

Submit Issues 🐛

Facing any Issues or weird behavior(bug)? Feel free to open a new issue.

License

MIT Copyright © 2019, Kasule Joseph. All rights reserved.

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

rwalocation-0.1.2.tar.gz (529.1 kB view details)

Uploaded Source

Built Distribution

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

rwalocation-0.1.2-py3-none-any.whl (546.7 kB view details)

Uploaded Python 3

File details

Details for the file rwalocation-0.1.2.tar.gz.

File metadata

  • Download URL: rwalocation-0.1.2.tar.gz
  • Upload date:
  • Size: 529.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.7.5

File hashes

Hashes for rwalocation-0.1.2.tar.gz
Algorithm Hash digest
SHA256 06a763ada03a8f5d3102b2f22cfa482afc028c83f9b8d62b68232c1ea6440e3d
MD5 5e03eda27c6faf2519cb706574ba6ed0
BLAKE2b-256 27ff1386b3819009d6c89a6914cfca3eb77826b5937507dedd4b5239c28173be

See more details on using hashes here.

File details

Details for the file rwalocation-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: rwalocation-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 546.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.7.5

File hashes

Hashes for rwalocation-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1ea6a7b4cc0014d883fda03c517723a76c916b9ac28eca073b2c4cf57bf8c08a
MD5 ad592903acc69a5f369ff2cf04229d06
BLAKE2b-256 4ad98e1a796f94063fab6efde81920c4b09cb4859ec8667250d93c5630ebd037

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