Skip to main content

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

https://github.com/ozgurrozennn/my_project

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

wikipedia_tablo_cekici-1.0.4.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

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

wikipedia_tablo_cekici-1.0.4-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

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

Hashes for wikipedia_tablo_cekici-1.0.4.tar.gz
Algorithm Hash digest
SHA256 12fb06bfa4645b4d8142847844175622c38d105ed3542c29aecd9cd1b24e5190
MD5 7904bb264d133b315ae0e7515d21bef3
BLAKE2b-256 887d4a50ebb2809446588850c1e6d92bcef1e04725fa5e6f18c33c864d1ccd80

See more details on using hashes here.

File details

Details for the file wikipedia_tablo_cekici-1.0.4-py3-none-any.whl.

File metadata

File hashes

Hashes for wikipedia_tablo_cekici-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 e7a6219b1b2891cd43372390a92eac48cf5e617b20ec7226a07731ee397e6a2e
MD5 0b69f4b627d1d84eca387562c5b607b5
BLAKE2b-256 f123b2f219c54b858dd3b6c0adf3e2f54dcc90b8148a63e77ef8718b4d3df8fa

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