eksipy
kutsal bilgi kaynağı için unofficial ve private ASYNC API, giriş yapabilir; mesaj gönderebilir, entry gönderebilirsiniz.
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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| eksipy-2.0.1.tar.gz | 8.7 kB | Without provenance | Details for eksipy-2.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| eksipy-2.0.1-py3-none-any.whl | Python 3 | none | any | Details for eksipy-2.0.1-py3-none-any.whl |
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
|
Security for eksipy 2.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.