{"id":18622330,"url":"https://github.com/marcanuy/sitemap-builder","last_synced_at":"2025-06-23T20:07:09.576Z","repository":{"id":50135776,"uuid":"146187996","full_name":"marcanuy/sitemap-builder","owner":"marcanuy","description":"Generate sitemaps from programmatically collected URLs.","archived":false,"fork":false,"pushed_at":"2024-07-06T01:18:06.000Z","size":45,"stargazers_count":2,"open_issues_count":5,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-12T00:12:19.684Z","etag":null,"topics":["pip","python","sitemap","sitemap-generator"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/sitemap-builder/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/marcanuy.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2018-08-26T14:31:42.000Z","updated_at":"2024-04-15T15:22:51.000Z","dependencies_parsed_at":"2024-05-03T20:44:58.932Z","dependency_job_id":"4d0d67e9-ff2e-4ddf-bbdf-002c87cc6897","html_url":"https://github.com/marcanuy/sitemap-builder","commit_stats":{"total_commits":20,"total_committers":2,"mean_commits":10.0,"dds":"0.19999999999999996","last_synced_commit":"6e3a57f1ec21eb35ed3f9ce449e8ccd7c4d525fa"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/marcanuy/sitemap-builder","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcanuy%2Fsitemap-builder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcanuy%2Fsitemap-builder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcanuy%2Fsitemap-builder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcanuy%2Fsitemap-builder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marcanuy","download_url":"https://codeload.github.com/marcanuy/sitemap-builder/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcanuy%2Fsitemap-builder/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259982103,"owners_count":22941181,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["pip","python","sitemap","sitemap-generator"],"created_at":"2024-11-07T04:16:29.593Z","updated_at":"2025-06-23T20:07:09.544Z","avatar_url":"https://github.com/marcanuy.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sitemap Builder\n\nGenerate sitemaps from programmatically collected URLs.\n\n# Features\n\n- Adheres to Sitemap Protocal as defined at https://www.sitemaps.org/protocol.html\n- Generates an index that points to compressed sitemaps files\n- each generated sitemap won't have more than the allowed amount (50.000 URLs)\n- jinja2 templates\n\n# Install\n\n~~~\npip install sitemap-builder\n~~~\n\n# Usage\n\n1. Import \n\n~~~\nfrom sitemap import Sitemap\n~~~\n\n2. Initialize\n\n~~~\nsitemap = Sitemap()\n~~~\n\n3. Add urls to process them later:\n\n~~~\nsitemap.add_item(\"dummy-page\")\nsitemap.add_item(\"another-page\")\nsitemap.add_item(\"category/foo-bar\")\n~~~\n\n4. Generate sitemap index and files\n\n~~~\nsitemap.generate()\n~~~\n\n# Example:\n\nGenerated files:\n\n~~~\n.\n├── sitemap.xml\n└── sitemaps\n    ├── sitemap-0.xml.gz\n    ├── sitemap-1.xml.gz\n    ├── sitemap-2.xml.gz\n\t└── sitemap-3.xml.gz\n~~~\n\n# Development\n\n## Crete virtualenv\n\n~~~\nvirtualenv -p /usr/bin/python3.6 ~/.virtualenvs/sitemap-builder\n~~~\n\nActivate it\n\n~~~\nworkon sitemap-builder\nmake install\n~~~\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcanuy%2Fsitemap-builder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarcanuy%2Fsitemap-builder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcanuy%2Fsitemap-builder/lists"}