Skip to main content

habraparse

Библиотека работы с статями с Habr сделана на основе habraparse

Пример использования

from habraparse.parser.classic import HabrParser
from habraparse.renderer.classic import HabrArticleRenderer

topics = ["750270", "750608", "750794", "752132", "751002", "751060"]
for topic in topics:
    parser = HabrParser(topic_id=topic)
    a = parser.parse()
    renderer = HabrArticleRenderer()
    renderer.render(f"article_{topic}.pdf", a)

Metadata

Release files for habraparse 1.0.0

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

Source distribution (sdist)

Source distribution for habraparse 1.0.0
File Size Uploaded Provenance Actions
habraparse-1.0.0.tar.gz 13.3 kB Without provenance Details for habraparse-1.0.0.tar.gz

Built distribution (wheel)

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

Total release size: 29.5 kB

Release files / habraparse-1.0.0.tar.gz

Download URL habraparse-1.0.0.tar.gz
Size 13.3 kB
Tags Source
SHA-256 checksum
How to use checksums
6766cc86d4fb35610396825e033c92b3cbf8f9f353dc7e9eb2eb0e12ff4c9033
BLAKE2b-256 checksum
How to use checksums
6bf0581259ff5b13603b0a58c7ca62fd718e1573fcca046ba0ca7eb3bd83d1ce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.8.13

Release files / habraparse-1.0.0-py3-none-any.whl

Download URL habraparse-1.0.0-py3-none-any.whl
Size 16.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
20796745b5cdefc851e17380f69043355b07c643fe8e5a92738b95dad210f2a9
BLAKE2b-256 checksum
How to use checksums
863fc566c16c2582c0ec91de3f2fe89e554be8073db08503a81cb6a364df0e9f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.8.13

Security for habraparse 1.0.0

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

1.0.0 This release

2 release files 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