Skip to main content

sitemap_maker

Pypi Build Status codecov MIT licensed

Python tool to generate sitemap XML files.

This tool relies mainly on the Python crawler sitecrawl.

Installation

Using pip:

pip3 install sitemap_maker

sitemap_maker --help

Or build from sources:

# Clone project
git clone https://github.com/gabfl/sitemap_maker && cd sitemap_maker

# Installation
pip3 install .

Usage

sitemap_maker --url https://www.weather.gov/ \
    --sitemap output.xml \
    --depth 1 \
    --max 5 \
    --no_pound \
    --verbose

# For help:
# sitemap_maker --help

Will create a file sitemap.xml:

<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <url>
    <loc>https://www.weather.gov</loc>
  </url>
  <url>
    <loc>https://www.weather.gov/wrh/climate</loc>
  </url>
  <url>
    <loc>https://www.weather.gov/safety/flood</loc>
  </url>
  <url>
    <loc>https://www.weather.gov/safety/tsunami</loc>
  </url>
  <url>
    <loc>https://www.weather.gov/safety/beachhazards</loc>
  </url>
</urlset>

Metadata

Release files for sitemap-maker 1.0.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 sitemap-maker 1.0.1
File Size Uploaded
sitemap-maker-1.0.1.tar.gz 3.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sitemap-maker 1.0.1
File Interpreter ABI Platform
sitemap_maker-1.0.1-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 8.3 kB

Release files / sitemap-maker-1.0.1.tar.gz

Download URL sitemap-maker-1.0.1.tar.gz
Size 3.5 kB
Tags Source
SHA-256 checksum
How to use checksums
f68d96f66b2655299dd970507e9b0b4c2770ffe9699c72e04bafb48a408d0f13
BLAKE2b-256 checksum
How to use checksums
4e5e657ed6dab01f68b80f504d9789fd57335e1429bffee1646238d293cfedb5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.3

Release files / sitemap_maker-1.0.1-py2.py3-none-any.whl

Download URL sitemap_maker-1.0.1-py2.py3-none-any.whl
Size 4.8 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
85aedbf6d8e05f83795863836abef54e64850e40e2c801a5655886d80579f592
BLAKE2b-256 checksum
How to use checksums
616a5fb2bc4f8dc6dc89c16ffea1aa70d93b20cfe4a646602a86848d1091a289
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.3

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

1.0

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