This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description


The metadata for the Apesmit package by Florian Diesch indicates Python 3 compatibility, but it actually works fine with Python 2. This fork just removes the Python 3-only flag.

What is ApeSmit?

ApeSmit is a very simple Python module to create XML sitemaps as defined at ApeSmit doesn’t contain any web spider or something like that, it just writes the data you provide to a file using the proper syntax.


First we create an instance of SiteMap:

>>> sm=Sitemap(changefreq='weekly')

The changefreq keyword sets a default value for that parameter.

Now we add some URL’s to our sitemap:

>>> sm.add('')

We may use some parameters:

>>> sm.add('', changefreq='daily',
...                                        priority=1.0,
...                                        lastmod='1891-1-1')

There’s a shortcut for URL’s that changed today:

>>> sm.add('', lastmod='today')

That’s all for now. Next we need a file to write the sitemap in:

>>> out=open('sitemap.xml', 'w')

Now we write our sitemap and then close the file:

>>> sm.write(out)
>>> out.close()

And that’s the content of our shiny new sitemap:

<?xml version='1.0' encoding='UTF-8'?>
<urlset xmlns:xsi=""
Release History

Release History


This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
apesmit-py2-0.01.tar.gz (18.1 kB) Copy SHA256 Checksum SHA256 Source Apr 5, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting