Skip to main content

A Python library for generating sitemap

Project description

A Python library for generating a sitemap

Latest Version

The latest version of this project can be found at : http://github.com/vitalvas/pysitemap.

Installation

  • Option 1 : Install via pip

    pip install pysitemap
    
  • Option 2 : If you have downloaded the source

    python setup.py install
    

Documentation

How to use?

from pysitemap import SiteMap
from datetime import datetime

site = SiteMap()
site.add(
        loc='http://example.com/webhp',
        lastmod=datetime.now(),
        changefreq='weekly')

print site.to_string()

Reporting Bugs

Please report the bugs at github issue tracker. https://github.com/vitalvas/pysitemap/issues

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

pysitemap-0.5.tar.gz (2.2 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page