Skip to main content

Convert World Socialist Web Site articles to Markdown

Project description

WSWS Markdown

CI Publish to PyPI

A tool to convert articles from the World Socialist Web Site to Markdown format.

Install

pip install wsws-md

Usage

wswsmd "https://www.wsws.org/en/articles/2026/07/03/coeq-j03.html"

Prints the article as Markdown (with YAML frontmatter containing title, author, date, description and source URL) to stdout. Use -o FILE / --output FILE to write to a file instead:

wswsmd "https://www.wsws.org/en/articles/2026/07/03/coeq-j03.html" -o article.md

Development

pip install -e ".[test]"
pytest

Pull request titles must follow Conventional Commits — see CONTRIBUTING.md. Releases are automated with release-please.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wsws_md-0.1.2.tar.gz (7.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wsws_md-0.1.2-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

Details for the file wsws_md-0.1.2.tar.gz.

File metadata

  • Download URL: wsws_md-0.1.2.tar.gz
  • Upload date:
  • Size: 7.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for wsws_md-0.1.2.tar.gz
Algorithm Hash digest
SHA256 6da9ebbfc058c5d64bffb1ec0105e8759cf59120d8596023594be064a78fda74
MD5 ce115db7370c803dc821571a021d2d0e
BLAKE2b-256 147123526da1d6f4c7caad144e9d022ca0b276093fcbb65ce04a3c6f3273f032

See more details on using hashes here.

Provenance

The following attestation bundles were made for wsws_md-0.1.2.tar.gz:

Publisher: publish.yml on JoeMountWSWS/wsws-md

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file wsws_md-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: wsws_md-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 6.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for wsws_md-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 37df3fd4a9aeca0522310b6fb6ce0732b50bf06cb62a9196587e8d39c92f3c67
MD5 405455a7c1590062e1d876807f0fd814
BLAKE2b-256 abfba684bde4f6ef0a5ec2fa03d0bccaa67ed6924c927047eda568ae487f9e0a

See more details on using hashes here.

Provenance

The following attestation bundles were made for wsws_md-0.1.2-py3-none-any.whl:

Publisher: publish.yml on JoeMountWSWS/wsws-md

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page