A Python library for listing locations in Rwanda
Project description
Rwanda Locations
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
- 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'
}
- District
{
'district_name':'Bugesera',
'district_code':507,
'province_name':'EAST'
}
Contributing 🙏
Pull requests and potential features are welcome.
- Make all changes to your forked branch
- 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
Release history Release notifications | RSS feed
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.1.tar.gz
(4.2 kB
view hashes)
Built Distribution
Close
Hashes for rwalocation-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 37d6a741adfece89490310868c05b45176c1aa886b4fa0af4accef6b3255cab3 |
|
MD5 | df287231cf4ab050dda7dd4393585d77 |
|
BLAKE2b-256 | 3d44c8dcb1ae3da2efea8efc0ff9c8ab7cacb24bc452e0e1fd3c5a8ddd7a2f71 |