sitemap generator
Project description
Installation
$ [sudo] pip install sitemap42
Examples
from sitemap42 import Sitemap
sitemap = Sitemap()
sitemap.append('https://domain.com/page1', )
sitemap.append('https://domain.com/page2', changefreq='daily', priority=0.5, lastmod=datetime.now())
sitemap.tostring()
sitemap.write('sitemap.xml')
from sitemap42 import Sitemapindex
sitemapindex = Sitemap()
sitemapindex.append('https://domain.com/sitemap1.xml')
sitemapindex.append('https://domain.com/sitemap2.xml', lastmod=datetime.now())
Links
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
sitemap42-2021.1.17.tar.gz
(2.0 kB
view details)
File details
Details for the file sitemap42-2021.1.17.tar.gz
.
File metadata
- Download URL: sitemap42-2021.1.17.tar.gz
- Upload date:
- Size: 2.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | be789f687af2b61f0ac53bd4d67efb2b4b0ecfe4a5deb97a80c2c8cefe63e39f |
|
MD5 | f328004817e27b166c53c1c5d447ff1a |
|
BLAKE2b-256 | 8a0aa092cb2903c2c294cce3c4ec681e7836cfb2530391ebb88143cdf4ea1303 |