Metadata-Version: 2.4
Name: countrykit
Version: 0.1.0
Summary: 
Author: FeliciaUmana
Author-email: feliciaumana1235@gmail.com
Requires-Python: >=3.13
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Requires-Dist: requests (>=2.34.2,<3.0.0)
Description-Content-Type: text/markdown

\# countrykit



A simple Python library and CLI tool for looking up facts about any country, comparing two countries, and caching results locally so repeat lookups don't hit the internet.



\## Install



pip install countrykit



\## PyPI



https://pypi.org/project/countrykit/



\## Usage



\*\*From the terminal:\*\*



&#x20;   countrykit info Nigeria

&#x20;   countrykit compare Nigeria Ghana



\*\*From Python:\*\*



&#x20;   from countrykit.api import fetch\_country



&#x20;   nigeria = fetch\_country("Nigeria")

&#x20;   print(nigeria.to\_dict())



\## About the caret (^) in dependencies



In `pyproject.toml`, a dependency like `requests = "^2.34.2"` uses Poetry's caret constraint. This means any version from `2.34.2` up to (but not including) `3.0.0` is accepted. The caret allows automatic updates that don't change the leftmost non-zero version digit, which follows semantic versioning: minor and patch updates are expected to be backward-compatible, while a major version bump signals breaking changes. This helps prevent dependency mismatches, since it lets Poetry's resolver pick a version that satisfies multiple packages' requirements, while still protecting your project from unexpected breaking changes.


