Wikipedia sayfalarından tablo verilerini çeken Python kütüphanesi
Project description
Wikipedia Tablo Çekici
Wikipedia sayfalarından tablo verilerini çeken Python kütüphanesi.
Kurulum
pip install wikipedia-tablo-cekici
Kullanım
Temel Kullanım
from wikipedia_tablo_cekici import wikipedia_tablo_cek, tablo_kaydet
url = "https://en.wikipedia.org/wiki/List_of_countries_by_GDP_(nominal)"
df = wikipedia_tablo_cek(url, tablo_index=0)
tablo_kaydet(df, 'veriler', 'csv')
Tüm Tabloları Görüntüleme
from wikipedia_tablo_cekici import tum_tablolari_goster
url = "https://en.wikipedia.org/wiki/List_of_countries_by_GDP_(nominal)"
tum_tablolari_goster(url)
Farklı Formatlarda Kaydetme
# CSV
tablo_kaydet(df, 'veriler', 'csv')
# Excel
tablo_kaydet(df, 'veriler', 'excel')
# JSON
tablo_kaydet(df, 'veriler', 'json')
Özellikler
- Wikipedia tablolarını Pandas DataFrame'e dönüştürme
- CSV, Excel ve JSON formatlarında kaydetme
- Basit ve kullanımı kolay API
Gereksinimler
- Python 3.7+
- requests
- beautifulsoup4
- pandas
- lxml
- openpyxl
Lisans
MIT
Yazar
Özgür Özen
GitHub
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 wikipedia_tablo_cekici-1.0.4.tar.gz.
File metadata
- Download URL: wikipedia_tablo_cekici-1.0.4.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
12fb06bfa4645b4d8142847844175622c38d105ed3542c29aecd9cd1b24e5190
|
|
| MD5 |
7904bb264d133b315ae0e7515d21bef3
|
|
| BLAKE2b-256 |
887d4a50ebb2809446588850c1e6d92bcef1e04725fa5e6f18c33c864d1ccd80
|
File details
Details for the file wikipedia_tablo_cekici-1.0.4-py3-none-any.whl.
File metadata
- Download URL: wikipedia_tablo_cekici-1.0.4-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e7a6219b1b2891cd43372390a92eac48cf5e617b20ec7226a07731ee397e6a2e
|
|
| MD5 |
0b69f4b627d1d84eca387562c5b607b5
|
|
| BLAKE2b-256 |
f123b2f219c54b858dd3b6c0adf3e2f54dcc90b8148a63e77ef8718b4d3df8fa
|