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 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.

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