Skip to main content

eksipy

kutsal bilgi kaynağı için unofficial ve private ASYNC API, giriş yapabilir; mesaj gönderebilir, entry gönderebilirsiniz.

PyPI - License DeepSource PyPI - Downloads

bu proje mobil(rest) api veya herhangi bir api kullanmamaktadır. tamamen requests ile web'e istek gönderilmektedir. requests-html ile de (PyQuery) ile de parçalanmaktadır. projenin temel amacı ekşi sözlükte ne yapabiliyorsanız bu kütüphane yapabilmektedir. v2.0 itibariyle çoğu fonksiyon desteklenmektedir.

bu kütüphane python 3.6 ve üstünde çalışmaktadır.

📦 Kurulum

pip kullanarak kolay bir şekilde kurabilirsiniz:

pip install eksipy

🛠 Doküman

Dokümanlar docs klasöründedir.

🔷 Örnek Kullanımlar

Burdaki klasöre bakabilirsiniz

Ayrıca hemen birkaç örnek verelim.

Başlık entrylerini getirelim:

import eksipy
import asyncio
import os


async def getTopic():
    eksi = eksipy.Eksi()
    topic = await eksi.getTopic("php")
    entrys = await topic.getEntrys()
    for entry in entrys:
        print("*" * 10)
        print(entry.text())
        print(entry.author.nick)
        print("*" * 10)

loop = asyncio.get_event_loop()
loop.run_until_complete(getTopic())

☑️ To-Do

  • Kendi Exception sınıflarımız.
  • Olay.
  • Daha iyi bir dokümantasyon.
  • Tüm kullanıcı istatistikleri, görseller, sorunsallar...
  • Zengin bir CLI uygulaması
  • Özel mesaj
  • Async
  • Testler
  • Sorunsallar

💻 Contributors

Developer Yusuf Usta, yusuf@usta.email

📒 License

eksipy is available under the GPLv3 license. See the LICENSE file for more info.

Metadata

Release files for eksipy 2.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for eksipy 2.0.1
File Size Uploaded
eksipy-2.0.1.tar.gz 8.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for eksipy 2.0.1
File Interpreter ABI Platform
eksipy-2.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 29.7 kB

Release files / eksipy-2.0.1.tar.gz

Download URL eksipy-2.0.1.tar.gz
Size 8.7 kB
Tags Source
SHA-256 checksum
How to use checksums
bf398be5776f0431978c878f38e8604602171482c0e092b748de0cc6d5a4624b
BLAKE2b-256 checksum
How to use checksums
612b26be510e8647ad4b311d67d097820774ecb0b764c50afcba05f5e127de5d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.2

Release files / eksipy-2.0.1-py3-none-any.whl

Download URL eksipy-2.0.1-py3-none-any.whl
Size 21.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7d17a2728286c261866044a6382c6da21e9ba1c47d6f4c2818bb1701b8a2ccb8
BLAKE2b-256 checksum
How to use checksums
28cfd2d49c42e66856cb40467b27aff01fba2abea1c1862217a87e76a31e031f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.2

Release history Release notifications | RSS feed

This release

2.0.1 This release

2 release files

2.0.0

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page