Набор удобных и структурированных парсеров для популярной биржи игровых ценностей FunPay.
⚡ Скорость
FunPay Parser использует Selectolax на Lexbor, что делает скорость парсинга крайне высокой. Например, парсинг 4000 лотов занимает всего ~0.2 секунды!
✅ Удобство
Парсеры преобразуют HTML в удобные и структурированные датаклассы.
📊 Покрытие
С помощью FunPay Parser можно спарсить 99% всех сущностей FunPay. Начиная с бейджиков и заканчивая целыми страницами.
🛠️ Надёжность
Для большинства парсеров написано по несколько тест-кейсов, основанных на реальном HTML FunPay.
🧪 Поддержка MyPy
FunPay Parsers полностью поддерживает Mypy и обеспечивает строгую статическую типизацию для повышения надёжности кода.
Установка
pip install funpayparsers
Пример использования
from funpayparsers.parsers.page_parsers import MainPageParser
import requests
html = requests.get('https://funpay.com').content.decode()
main_page = MainPageParser(html).parse()
for i in main_page.categories:
print(f'{i.full_name} (ID: {i.id})')
Abyss of Dungeons (ID: 754)
Acrobat (ID: 655)
Adobe (ID: 652)
AFK Arena (ID: 250)
AFK Journey (ID: 503)
After Effects (ID: 654)
Age of Empires Mobile (ID: 628)
Age of Mythology: Retold (ID: 534)
Age of Wonders 4 (ID: 344)
...
🗨️ Telegram чат
Если у вас возникли какие-либо вопросы, вы можете задать их в нашем Telegram чате
⭐ Понравился проект?
Если вы нашли использование funpayparsers удобным, будем рады, если вы поставите звезду 😀
Metadata
Release files for funpayparsers 0.10.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 |
|---|---|---|---|---|
| funpayparsers-0.10.1.tar.gz | 67.0 kB | Without provenance | Details for funpayparsers-0.10.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| funpayparsers-0.10.1-py3-none-any.whl | Python 3 | none | any | Details for funpayparsers-0.10.1-py3-none-any.whl |
Total release size: 149.3 kB
Release files / funpayparsers-0.10.1.tar.gz
| Download URL | funpayparsers-0.10.1.tar.gz |
|---|---|
| Size | 67.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ff00840d3220731dcb7cff416a0a4cddfdbfa9476cdc5d62cd5a2067d4db4178
|
|
BLAKE2b-256 checksum How to use checksums |
242d50507395159e4f3014178f2a24cad24259890cc3436158b051a2a18f8658
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.10.2 {"installer":{"name":"uv","version":"0.10.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Arch Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / funpayparsers-0.10.1-py3-none-any.whl
| Download URL | funpayparsers-0.10.1-py3-none-any.whl |
|---|---|
| Size | 82.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0cd834c37d52ecb0f148739a54528b76b6251d89ac6b3e1bb30eb8ff92a84820
|
|
BLAKE2b-256 checksum How to use checksums |
0009e7e9dc8ee1fca683406fca8f356303dc60a88074a1733f80686eba75742b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.10.2 {"installer":{"name":"uv","version":"0.10.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Arch Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for funpayparsers 0.10.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.