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.3.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.3-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: wikipedia_tablo_cekici-1.0.3.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.3.tar.gz
Algorithm Hash digest
SHA256 3043c4b3904e42561ccf38f22078184ac7c47839a233f45431527965af6b5e4f
MD5 ca702e8ca284369bfb07f30ba69ac0b0
BLAKE2b-256 d574144360bf86d590285700279186dd99af1c9f2a1e3e7dc44276b68ab5873e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for wikipedia_tablo_cekici-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 f3531d3ab9857c3c96490942368532834a659f3f4e4ef16417da2b39f7652036
MD5 22aacdd810c2077f067f65fb6950ba1a
BLAKE2b-256 8a3fcb576ff057ccd21229c9f187b62cc231cc69beeae9ab869c174cdca93113

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