Skip to main content

Website SiteMap Preloader 🚀

py.test codecov

Package for preloading website URLS from a provided SITEMAP URL. You can use this package to preload your website URLS in the background, so that your website will be faster for your users. You can set the depth in case It has more than one level.

Requirements 📋

  • Python 3.6+

Installation 🔧

Use the package manager pip to install preloader.

    pip install .

How to use ❓

Follow the steps below to use the package on a python project.

    from preloader import Preloader
    sitemap_url = 'https://www.example.com/sitemap.xml'
    preloader = Preloader(sitemap_url, depth=2)

    preloader.fetch_pages()

Testing ✅

We use pytest for testing. To run the tests, run the following command in the root directory of the project.

    pytest -s
    

Contributing 🤝

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Metadata

Release files for preloader 0.3.0

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

Source distribution (sdist)

Source distribution for preloader 0.3.0
File Size Uploaded Provenance Actions
preloader-0.3.0.tar.gz 3.1 kB Without provenance Details for preloader-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for preloader 0.3.0
File Interpreter ABI Platform Actions
preloader-0.3.0-py3-none-any.whl Python 3 none any Details for preloader-0.3.0-py3-none-any.whl

Total release size: 4.9 kB

Release files / preloader-0.3.0.tar.gz

Download URL preloader-0.3.0.tar.gz
Size 3.1 kB
Tags Source
SHA-256 checksum
How to use checksums
b46675f3b3b122eacb5f2d45b9ef5d715f2defd34358de44df9efbaed6937808
BLAKE2b-256 checksum
How to use checksums
77e97d139dc06ae65ea6b092697b568482532029ef7d64c69ed208eb95f59952
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.5

Release files / preloader-0.3.0-py3-none-any.whl

Download URL preloader-0.3.0-py3-none-any.whl
Size 1.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b60ba0799abc5b9548dc249540cecd10409993acf9e340a9754c035cfae24817
BLAKE2b-256 checksum
How to use checksums
eda85560214691be6bf2b0a5a0e378c0b2ec0b5088078cf4182f385409fa0df6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.5

Security for preloader 0.3.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.

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files No provenance

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