Skip to main content

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')

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 details)

Uploaded Source

File details

Details for the file sitemap-20191119.tar.gz.

File metadata

  • Download URL: sitemap-20191119.tar.gz
  • Upload date:
  • Size: 1.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.5

File hashes

Hashes for sitemap-20191119.tar.gz
Algorithm Hash digest
SHA256 0f621ecd0d3f9fbd7363ca5a0a4387e1a622b521fe8b1831846ba538b046793e
MD5 1f9366e70660b9d7739e92ae8ab9202e
BLAKE2b-256 5755c4f4fb8b8ec21636bc51dd84c16acb8a8295bec1d5bdee71e122a1002efd

See more details on using hashes here.

Release history Release notifications | RSS feed

20191121

1 file

20191120

1 file

This release

20191119 This release

1 file

20191118

1 file

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