Skip to main content

SourPy is a scraper for Ekşi Sözlük, the popular Turkish social media site.

Warning

This project is not mature enough and requires a lot of testing. Use it at your own risk.

Installation

pip install sourpy

Documentation

In progress.

Usage

User statistics can be gathered as follows:

import sourpy
import pprint

user = sourpy.suser.Suser("ssg")

# son entry'leri
pprint.pprint(user.get_most_recent_entries())

# en beğenilenleri
pprint.pprint(user.get_top_entries())

# en çok favorilenen entry'leri
pprint.pprint(user.get_most_favorited_entries())

# bu hafta dikkat çekenleri
pprint.pprint(user.get_entries_rated_this_week())

#favori entry'leri
pprint.pprint(user.get_favorite_entries())

Ekşi Sözlük interface can be used as follows:

import sourpy
import pprint

debe = sourpy.get_debe()
pprint.pprint(debe)

gundem = sourpy.get_gundem()
pprint.pprint(gundem)

pena = sourpy.get_entry("1")
pprint.pprint(pena)

sukela = sourpy.get_sukela()
pprint.pprint(sukela)

License

Copyright (c) 2014 Eren Inan Canpolat

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.

Metadata

Release files for sourpy 0.2.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 sourpy 0.2.1
File Size Uploaded Provenance Actions
sourpy-0.2.1.tar.gz 5.4 kB Without provenance Details for sourpy-0.2.1.tar.gz

Release files / sourpy-0.2.1.tar.gz

Download URL sourpy-0.2.1.tar.gz
Size 5.4 kB
Tags Source
SHA-256 checksum
How to use checksums
eee406f0aed304a81369f9431efffd490c3667ffa7b740b527dc94d262ae7fc5
BLAKE2b-256 checksum
How to use checksums
7be78a2235f661b0bfb41878bbac367da4353f9bef49ce06bce6e6faf2f5717c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for sourpy 0.2.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.

Release history Release notifications | RSS feed

This release

0.2.1 This release

1 release file No provenance

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