Skip to main content

Sitemap library for dynamically generate 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-20191118.tar.gz (1.8 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: sitemap-20191118.tar.gz
  • Upload date:
  • Size: 1.8 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-20191118.tar.gz
Algorithm Hash digest
SHA256 4f16a4b2de2923b07769849ec75e55f95967c582609a1bbbc108bcdee422453a
MD5 25bd7f7451d3388bf65f44ba3934cb69
BLAKE2b-256 b07accaf2e014c71f455a46d9d7ed17484509519b4c3fc6582fc4903b0aa1c32

See more details on using hashes here.

Release history Release notifications | RSS feed

20191121

1 file

20191120

1 file

20191119

1 file

This release

20191118 This release

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