Skip to main content

A simple Python package to convert URLs to Markdown.

Project description

PyPI version License: MIT Downloads LinkedIn

Pull.md

Deprecated: This package is deprecated because the pull.md service was switched off on 25/12/2025.

pull_md is a straightforward Python package that enables developers to convert web pages to Markdown format using the https://pull.md/ service. It provides a simple function that accepts a URL and returns the Markdown conversion of the web page.

Installation

Get started by installing pull_md using pip:

pip install pull_md

Usage

pull_md is easy to use with a simple function that takes a URL as input and outputs the Markdown. Here's a basic example of converting a webpage to Markdown:

from pull_md import pull_markdown

url = "http://example.com"
markdown = pull_markdown(url)
print(markdown)

This function checks the validity of the URL and retrieves the Markdown from the Pull.md service, handling any errors gracefully by providing informative messages.

Note: pull_md is capable of handling web pages that use JavaScript for rendering content, such as those built with ReactJS, Angular, or Vue.js. This makes it suitable for converting modern web applications into Markdown format.

Features

  • Simple function call to convert any URL to Markdown.
  • Capable of handling JavaScript-rendered pages like those built with React, ensuring broad compatibility.
  • Error handling for non-existent URLs or access issues.
  • Dependency only on the requests library for HTTP requests.

Contributing

Contributions to pull_md are welcome! Whether it's bug fixes, feature enhancements, or improvements to the documentation, we appreciate your help. Please feel free to fork the repository and submit pull requests.

  • Fork the Repository: Go to GitHub repository and use the 'fork' button to create your own copy.
  • Clone Your Fork: git clone https://github.com/your-username/pull_md.git
  • Create a Branch: git checkout -b your-branch-name
  • Make Changes and Commit: git add . then git commit -m "Add some changes"
  • Push to GitHub: git push origin your-branch-name
  • Submit a Pull Request: Open your fork on GitHub, select your branch, and click on 'Compare & pull request' button.

For more information on the development process, please check our issues page.

License

pull_md is released under the MIT License. Feel free to use it in any commercial or personal projects.

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

pull_md-2025.1225.1016.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

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

pull_md-2025.1225.1016-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file pull_md-2025.1225.1016.tar.gz.

File metadata

  • Download URL: pull_md-2025.1225.1016.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.14

File hashes

Hashes for pull_md-2025.1225.1016.tar.gz
Algorithm Hash digest
SHA256 db27cca1ea3c8938ed0d73c72744bcd53b211053d7952ad1ef9c837b57da79b3
MD5 e7092a4a8b61a3be27e5a033261e7928
BLAKE2b-256 8c792cb787f5eef873776e6b574e39260e7021a32a53dbd2609af09c0dc14621

See more details on using hashes here.

File details

Details for the file pull_md-2025.1225.1016-py3-none-any.whl.

File metadata

File hashes

Hashes for pull_md-2025.1225.1016-py3-none-any.whl
Algorithm Hash digest
SHA256 f6ced5b14fd06073c6c5f10835beb5ddfc1c6f1726a01e41e745adb67b2d3cba
MD5 790e2c31b01a9c4a367e960b0e6bd9f5
BLAKE2b-256 4a9633509d04f057fdae87a9d59933575cfa9e9be01a83f9f866cc15d82d5791

See more details on using hashes here.

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