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
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 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e53ccdb32ebefa91c244e93d1055f7a7c43c4468165d3107bd3e0158384c199a
|
|
| MD5 |
2a52bd9e92cc44cace811ea5e8ef8d12
|
|
| BLAKE2b-256 |
68e3f5e357bf7b03f4c05c1cd6760d63a78c9352bcf41fcd57b13e1aedab336d
|
Provenance
The following attestation bundles were made for pylebanon-0.1.6.tar.gz:
Publisher:
python-publish.yml on MohammadElSakka/pylebanon
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pylebanon-0.1.6.tar.gz -
Subject digest:
e53ccdb32ebefa91c244e93d1055f7a7c43c4468165d3107bd3e0158384c199a - Sigstore transparency entry: 634967724
- Sigstore integration time:
-
Permalink:
MohammadElSakka/pylebanon@26b4a719707a69c0457238a9cc6f89a83d09f7d4 -
Branch / Tag:
refs/tags/v0.1.6 - Owner: https://github.com/MohammadElSakka
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@26b4a719707a69c0457238a9cc6f89a83d09f7d4 -
Trigger Event:
release
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dde45e994d8265074405c19cbc39e8860a622c7edaa785dccca09b83d4478670
|
|
| MD5 |
24ff4661bcc337d836d28a3c60e72850
|
|
| BLAKE2b-256 |
2d71f9f4eaa1f03b5bbb8753ed6d45715dbf62132bfcf69cc585a0369ee831bd
|
Provenance
The following attestation bundles were made for pylebanon-0.1.6-py3-none-any.whl:
Publisher:
python-publish.yml on MohammadElSakka/pylebanon
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pylebanon-0.1.6-py3-none-any.whl -
Subject digest:
dde45e994d8265074405c19cbc39e8860a622c7edaa785dccca09b83d4478670 - Sigstore transparency entry: 634967745
- Sigstore integration time:
-
Permalink:
MohammadElSakka/pylebanon@26b4a719707a69c0457238a9cc6f89a83d09f7d4 -
Branch / Tag:
refs/tags/v0.1.6 - Owner: https://github.com/MohammadElSakka
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@26b4a719707a69c0457238a9cc6f89a83d09f7d4 -
Trigger Event:
release
-
Statement type: