{ "info": { "author": "Florian Diesch", "author_email": "devel@florian-diesch.de", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "License :: OSI Approved :: GNU General Public License (GPL)", "Natural Language :: English", "Natural Language :: German", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Internet :: WWW/HTTP", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": ".. -*- coding: utf-8 -*-\n\nTHIS IS A FORK\n==============\n\nThe metadata for the Apesmit package by Florian Diesch indicates Python 3\ncompatibility, but it actually works fine with Python 2. This fork just removes\nthe Python 3-only flag.\n\nWhat is ApeSmit?\n================\n\nApeSmit is a very simple Python module to create XML sitemaps\nas defined at http://www.sitemaps.org. ApeSmit doesn't contain any web\nspider or something like that, it just writes the data you provide to\na file using the proper syntax.\n\n\nUsage\n=====\n\nFirst we create an instance of `SiteMap`:\n\n>>> sm=Sitemap(changefreq='weekly')\n\nThe ``changefreq`` keyword sets a default value for that parameter.\n\nNow we add some URL's to our sitemap:\n\n>>> sm.add('http://www.example.com/')\n\nWe may use some parameters:\n\n>>> sm.add('http://www.example.com/news/', changefreq='daily',\n... priority=1.0,\n... lastmod='1891-1-1')\n\nThere's a shortcut for URL's that changed today:\n\n>>> sm.add('http://www.example.org/about.html', lastmod='today')\n\nThat's all for now. Next we need a file to write the sitemap in:\n\n>>> out=open('sitemap.xml', 'w')\n\nNow we write our sitemap and then close the file:\n\n>>> sm.write(out)\n>>> out.close()\n\nAnd that's the content of our shiny new sitemap::\n\n \n \n \n http://www.example.com/\n weekly\n \n \n http://www.example.com/news/\n 1891-1-1\n daily\n 1.0\n \n \n http://www.example.org/about.html\n 2008-04-03\n weekly\n \n ", "description_content_type": null, "docs_url": null, "download_url": "http://www.florian-diesch.de/software/apesmit/", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://www.florian-diesch.de/software/apesmit/", "keywords": "xml,sitemap,web,website", "license": "GPLv2", "maintainer": null, "maintainer_email": null, "name": "apesmit-py2", "package_url": "https://pypi.org/project/apesmit-py2/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/apesmit-py2/", "project_urls": { "Download": "http://www.florian-diesch.de/software/apesmit/", "Homepage": "http://www.florian-diesch.de/software/apesmit/" }, "release_url": "https://pypi.org/project/apesmit-py2/0.01/", "requires_dist": null, "requires_python": null, "summary": "simple Python module to create XML sitemaps", "version": "0.01" }, "last_serial": 2047930, "releases": { "0.01": [ { "comment_text": "", "digests": { "md5": "5e1fc36b96e239a847aaf025dccd73a4", "sha256": "6cb4ef96825261b8637b69256aac853c1b11ebb9c5ab04d15bb1d036d088eb93" }, "downloads": -1, "filename": "apesmit-py2-0.01.tar.gz", "has_sig": false, "md5_digest": "5e1fc36b96e239a847aaf025dccd73a4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18083, "upload_time": "2016-04-05T20:54:51", "url": "https://files.pythonhosted.org/packages/ad/69/ac08184c29b9ced2aab2074bb1c7015df73dd51347cc67a03067fcb28af2/apesmit-py2-0.01.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "5e1fc36b96e239a847aaf025dccd73a4", "sha256": "6cb4ef96825261b8637b69256aac853c1b11ebb9c5ab04d15bb1d036d088eb93" }, "downloads": -1, "filename": "apesmit-py2-0.01.tar.gz", "has_sig": false, "md5_digest": "5e1fc36b96e239a847aaf025dccd73a4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18083, "upload_time": "2016-04-05T20:54:51", "url": "https://files.pythonhosted.org/packages/ad/69/ac08184c29b9ced2aab2074bb1c7015df73dd51347cc67a03067fcb28af2/apesmit-py2-0.01.tar.gz" } ] }