Skip to main content

Sitemap library

Project description

Sitemap library for dynamically generating sitemap.xml

Installation

pip install sitemap

Usage

from sitemap import Url, UrlSet

urlset = UrlSet()
url = Url('https://www.example.com/', changefreq='weekly')

urlset.add_url(url)

urlset.write_xml('sitemap.xml')

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

sitemap-20191119.tar.gz (1.9 kB view hashes)

Uploaded source

Supported by

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