Skip to main content

Sitemap library

Project description

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

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

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