Skip to main content
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Description: # Sitemapper

A utility for generating sitemaps from a list of URLs.

## Installation

```
pip install sitemapper
```

## Usage

```
sitemapper --input-file URLs.txt --output-directory out --change-freq weekly --max-urls-per-sitemap 50000 --sitemap-root https://example.com --pretty-print
```


## Sample output

```
<?xml version='1.0' encoding='utf-8'?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<sitemap>
<loc>https://marcomontagna.com/sitemap0.xml</loc>
<lastmod>2018-06-01T19:02:17.440168</lastmod>
</sitemap>
<sitemap>
<loc>https://marcomontagna.com/sitemap1.xml</loc>
<lastmod>2018-06-01T19:02:17.440168</lastmod>
</sitemap>
</sitemapindex>
```

```
<?xml version='1.0' encoding='utf-8'?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://marcomontagna.com/</loc>
<changefreq>weekly</changefreq>
</url>
<url>
<loc>https://marcomontagna.com/blog.html</loc>
<changefreq>weekly</changefreq>
</url>
</urlset>
```

Keywords: sitemaps,sitemap index,sitemap generator
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Requires-Python: >=2.7
Description-Content-Type: text/markdown

Metadata

Release files for sitemapper 1.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sitemapper 1.1.2
File Size Uploaded
sitemapper-1.1.2.tar.gz 4.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sitemapper 1.1.2
File Interpreter ABI Platform
sitemapper-1.1.2-py2-none-any.whl Python 2 none any Details

Total release size: 11.4 kB

Release files / sitemapper-1.1.2.tar.gz

Download URL sitemapper-1.1.2.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
38a78558102addc2e2b26416e8e98c6a0d3540b97bf40b0aa8433cdd56b9d735
BLAKE2b-256 checksum
How to use checksums
1b9683f147a9c0807ae7aa9afb562b8aab61ef517219e1ba52b23d231465f20e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / sitemapper-1.1.2-py2-none-any.whl

Download URL sitemapper-1.1.2-py2-none-any.whl
Size 7.5 kB
Tags Python 2
SHA-256 checksum
How to use checksums
582a7367c94067c38725c8edfd6356a88a0c0b8245a86f3e9d6e661576f37a94
BLAKE2b-256 checksum
How to use checksums
b6d5eaf658713fcf38d237671360581b3f8810daf7bf0cf088efa7645737b7c1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.1.2 This release

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page