Manual Sitemap
Introduction
Nowadays, SPA (Single Page Application) Websites using Vue, React and Angular are booming. But, for those SPA websites, creating sitemap is not easy task for considering all uri query string and uri parameters. This module helps create sitemap manually using python file where we define urls, and query strings.
Installation
pip install manual-sitemap
Example
Make config.py and set DOMAIN, ROUTES and QUERIES (optional).
# config.py
DOMAIN = 'https://example.com'
# (route, [querie string keys])
# queries must be emtpy list if it has no query strings.
ROUTES = [
('/exercise', ['page', 'date']),
('/homework', ['date']),
]
# { query string key: [query string values ]}
QUERIES = {
'page': [1, 2, 3, 4, 5, 6, 7, 8, 9, 10],
'date': ['2019-01-01', '2019-04-03', '2019-04-08', '2019-05-06']
}
Manual-sitemap can be easily run using manual-sitemap
$ manual-sitemap config
Metadata
Release files for manual-sitemap 19.6.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| manual-sitemap-19.6.0.tar.gz | 3.3 kB | Without provenance | Details for manual-sitemap-19.6.0.tar.gz |
Release files / manual-sitemap-19.6.0.tar.gz
| Download URL | manual-sitemap-19.6.0.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7261bcae1f1a11827666e49b405d87a5e2487eeecd05801bbb40265ee1f539ce
|
|
BLAKE2b-256 checksum How to use checksums |
fb62218a99c4a8510109964c4fa543906ebc37950821753f8494fd4490d9bfa7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3
|
Security for manual-sitemap 19.6.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.