Skip to main content

A Python package for Lebanon.

This project has been archived.

The maintainers of this project have marked this project as archived. No new releases are expected.

Project description

pylebanon

A Python package for ... Lebanon. And yes I had nothing better to do.

from pylebanon import Lebanon
lb = Lebanon()
Habibi welcome to Lebanon 🇱🇧
import random 

print("Flag:", lb.get_flag())
print("Names:", lb.get_names())
print("Capital:", lb.get_capital())
print("Area:", lb.get_area())
print("Location:", lb.get_location())
print("Timezone:", lb.get_timezone())
governorates =  lb.get_governorates()
print("Governorates:", governorates)
idx = random.randint(0, len(governorates)-1)
print(f"Cities in {governorates[idx]}:", lb.get_governorate_cities(governorates[idx]))
print("Phone codes:", lb.get_phone_code())
print("Currency:", lb.get_currency())
print("Languages:", lb.get_languages())
print("Wiki:", lb.get_wiki())
Flag: 🇱🇧
Names: ['LB', 'Lebanese Republic', 'Al-Jumhūrīyah Al-Libnānīyah', 'Lebanon', 'لبنان', 'Líbano', 'Liban', 'レバノン', 'Libano']
Capital: Beirut
Area: 10452
Location: Middle East
Timezone: UTC+02:00
Governorates: ['Akkar Governorate', 'Baalbek-Hermel Governorate', 'Beirut Governorate', 'Beqaa Governorate', 'Mount Lebanon Governorate', 'Nabatieh Governorate', 'North Governorate', 'South Governorate']
Cities in Mount Lebanon Governorate: ['Baabda', 'Bhamdoun', 'Bhamdoûn el Mhatta', 'Caza de Baabda', 'Jbaïl', 'Jounieh']
Phone codes: +961
Currency: LBP
Languages: ['Arabic', 'Armenian', 'French']
Wiki: http://en.wikipedia.org/wiki/lebanon

Project details


Download files

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

Source Distribution

pylebanon-0.1.6.tar.gz (10.0 kB view details)

Uploaded Source

Built Distribution

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

pylebanon-0.1.6-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

Details for the file pylebanon-0.1.6.tar.gz.

File metadata

  • Download URL: pylebanon-0.1.6.tar.gz
  • Upload date:
  • Size: 10.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pylebanon-0.1.6.tar.gz
Algorithm Hash digest
SHA256 e53ccdb32ebefa91c244e93d1055f7a7c43c4468165d3107bd3e0158384c199a
MD5 2a52bd9e92cc44cace811ea5e8ef8d12
BLAKE2b-256 68e3f5e357bf7b03f4c05c1cd6760d63a78c9352bcf41fcd57b13e1aedab336d

See more details on using hashes here.

Provenance

The following attestation bundles were made for pylebanon-0.1.6.tar.gz:

Publisher: python-publish.yml on MohammadElSakka/pylebanon

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pylebanon-0.1.6-py3-none-any.whl.

File metadata

  • Download URL: pylebanon-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 6.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pylebanon-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 dde45e994d8265074405c19cbc39e8860a622c7edaa785dccca09b83d4478670
MD5 24ff4661bcc337d836d28a3c60e72850
BLAKE2b-256 2d71f9f4eaa1f03b5bbb8753ed6d45715dbf62132bfcf69cc585a0369ee831bd

See more details on using hashes here.

Provenance

The following attestation bundles were made for pylebanon-0.1.6-py3-none-any.whl:

Publisher: python-publish.yml on MohammadElSakka/pylebanon

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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