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.2.tar.gz (4.3 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.2-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file wikipedia_tablo_cekici-1.0.2.tar.gz.

File metadata

  • Download URL: wikipedia_tablo_cekici-1.0.2.tar.gz
  • Upload date:
  • Size: 4.3 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.2.tar.gz
Algorithm Hash digest
SHA256 19d0b8ac1b0b83bbc4aa79bc7850e23c474b662dc8e19674bd94b19696b18507
MD5 d125e8250ab3ccfbd09a3763de182fa6
BLAKE2b-256 e26c4c837111583c4472da54484eb7d509e4149aad7a7709ef5f42cdfdda9d87

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for wikipedia_tablo_cekici-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1bd67997fed1b074fe7d341e07eada53213c32814365795256c01e0c10b02336
MD5 a60fcc0ba6d748a3b9b93675da375d03
BLAKE2b-256 9abeae24e51d9d11e4648b6c48e442ca3335f868fb2968fdd0537fbac20ecacd

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