https://github.com/ishanoshada/sri-lanka
The srilanka package provides data and utility functions to work with information about Sri Lanka, including its provinces, districts, cities, and divisional secretariats.
https://github.com/ishanoshada/sri-lanka
lanka pypi python sri-lanka srilanka srilanka-cities srilanka-geographics
Last synced: 2 months ago
JSON representation
The srilanka package provides data and utility functions to work with information about Sri Lanka, including its provinces, districts, cities, and divisional secretariats.
- Host: GitHub
- URL: https://github.com/ishanoshada/sri-lanka
- Owner: Ishanoshada
- License: mit
- Created: 2025-01-21T20:33:56.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2025-01-22T12:32:08.000Z (4 months ago)
- Last Synced: 2025-02-06T02:51:51.604Z (4 months ago)
- Topics: lanka, pypi, python, sri-lanka, srilanka, srilanka-cities, srilanka-geographics
- Language: Python
- Homepage: https://pypi.org/project/srilanka
- Size: 355 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Srilanka
The `srilanka` package provides data and utility functions to work with information about Sri Lanka, including its provinces, districts, cities, and divisional secretariats.
## Installation
```sh
pip install srilanka
```## Usage
```python
from srilanka import SriLanka# Access core data
info = SriLanka.sri_lanka_info
provinces = SriLanka.sri_lanka_provinces
districts = SriLanka.sri_lanka_districts
cities = SriLanka.sri_lanka_cities
divisional = SriLanka.sri_lanka_divisional```
## Available Data
- `sri_lanka_info`: General information about Sri Lanka
- `sri_lanka_provinces`: List of provinces
- `sri_lanka_districts`: List of districts
- `sri_lanka_cities`: List of cities
- `sri_lanka_divisional`: List of divisional secretariats## License
MIT License - see [LICENSE](LICENSE)
**Repository Views** 