Skip to main content

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

Description de l'image

Project details


Release history Release notifications | RSS feed

This version

0.2

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

py_country_info_all-0.2.tar.gz (6.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

py_country_info_all-0.2-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

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

Hashes for py_country_info_all-0.2.tar.gz
Algorithm Hash digest
SHA256 95b6f5f56932d97a6ee46d4c4fc913bab14bae10feec3fcef2b4052afc4e0c3b
MD5 7f331bc941d27fb96aebfa32327c1b84
BLAKE2b-256 e0c951f1c1c6861a92e6043dd787003274d1bbbfe5e63cdf6b4196182ca3603b

See more details on using hashes here.

File details

Details for the file py_country_info_all-0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for py_country_info_all-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f8afef51da229150bfebba77a4ed9127753339ec2cf808ab95245f6cd94d9e18
MD5 33729bead5f2ba8396e124c7ad35936d
BLAKE2b-256 bd3db5642f7e3870a6fbc47686d6df1b5ec59f58abe28f213bef44a84a7f2ebf

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page