Skip to main content

Guidewd Sitemap Generator

Guidewd Sitemap Generator is a command-line tool designed to generate XML sitemaps for SEO optimization.
It crawls websites, extracts URLs, and generates a sitemap that can be submitted to search engines like Google.


Features

  • Crawl a website to generate a sitemap
  • Respect robots.txt rules (optional)
  • Limit the number of pages to crawl
  • Lightweight and easy to use from the command line
  • Generates a standard XML sitemap format for SEO purposes

Installation

You can install the package using pip:

pip install guidewd-sitemap-generator

Usage

After installation, you can run the guidewd-sitemap-generator command directly from your terminal.

  • Command-Line Interface:
guidewd-sitemap-generator <starting-url> --max-pages <max-pages> --respect-robots
  • <starting-url>: The URL to start crawling from (e.g., https://example.com).
  • --max-pages <max-pages>: Optional. Maximum number of pages to crawl (default: 200).
  • --respect-robots: Optional. If specified, the tool will respect the site's robots.txt rules.

Example

guidewd-sitemap-generator https://example.com --max-pages 100 --respect-robots

This will crawl the website starting from https://example.com, limit the crawl to 100 pages, and respect the robots.txt file.


Input

  • A valid website URL to start the crawl.

Output

  • An XML sitemap file (default: sitemap.xml) that contains a list of crawled URLs.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Metadata

Release files for guidewd-sitemap-generator 0.1.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 guidewd-sitemap-generator 0.1.1
File Size Uploaded
guidewd-sitemap-generator-0.1.1.tar.gz 16.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for guidewd-sitemap-generator 0.1.1
File Interpreter ABI Platform
guidewd_sitemap_generator-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 32.9 kB

Release files / guidewd-sitemap-generator-0.1.1.tar.gz

Download URL guidewd-sitemap-generator-0.1.1.tar.gz
Size 16.1 kB
Tags Source
SHA-256 checksum
How to use checksums
4dd7147f48534ef4b95f994ac4d30842a8f1fef531758487b556c0c342aaf616
BLAKE2b-256 checksum
How to use checksums
b76765590d67c3920ce866d2b0474ac4b632f17163729c55407dca865afa712f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.9

Release files / guidewd_sitemap_generator-0.1.1-py3-none-any.whl

Download URL guidewd_sitemap_generator-0.1.1-py3-none-any.whl
Size 16.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
93528eec63bbe8f24b0ed5917382809a924f22eac3ea5aa5f133c71727b5fb2d
BLAKE2b-256 checksum
How to use checksums
3caeb59f62cc8e80cdbc6b815e31cc0c12c723f4a52974a7eb72197b785cb7cd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.9

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

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