Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

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.

Files for rwalocation, version 0.1.2
Filename, size File type Python version Upload date Hashes
Filename, size rwalocation-0.1.2-py3-none-any.whl (546.7 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size rwalocation-0.1.2.tar.gz (529.1 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page