A package to retrieve country info including ISO codes, country code, and flags.
Project description
Country Info Package
Ce package fournit des informations sur les pays, y compris :
- Le nom du pays
- Le code ISO
- L'indicatif téléphonique
- Le drapeau
Installation
Pour installer le package, utilisez :
pip install py-country-info-all
Importation
Pour impoter le package, utilisez :
from py_country_info_all import py_country_info_all
country = py_country_info_all.get_country_info("Burkina Faso")
print(country)
Resultat :
{'name': 'Burkina Faso', 'code': '226', 'iso': 'BF / BFA', 'flag': '🇧🇫'}
Pour afficher tous les pays , utiliser :
countries = py_country_info_all.get_all_countries()
Illustration
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file py_country_info_all-0.2.tar.gz.
File metadata
- Download URL: py_country_info_all-0.2.tar.gz
- Upload date:
- Size: 6.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
95b6f5f56932d97a6ee46d4c4fc913bab14bae10feec3fcef2b4052afc4e0c3b
|
|
| MD5 |
7f331bc941d27fb96aebfa32327c1b84
|
|
| BLAKE2b-256 |
e0c951f1c1c6861a92e6043dd787003274d1bbbfe5e63cdf6b4196182ca3603b
|
File details
Details for the file py_country_info_all-0.2-py3-none-any.whl.
File metadata
- Download URL: py_country_info_all-0.2-py3-none-any.whl
- Upload date:
- Size: 7.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f8afef51da229150bfebba77a4ed9127753339ec2cf808ab95245f6cd94d9e18
|
|
| MD5 |
33729bead5f2ba8396e124c7ad35936d
|
|
| BLAKE2b-256 |
bd3db5642f7e3870a6fbc47686d6df1b5ec59f58abe28f213bef44a84a7f2ebf
|