Skip to main content

schlepper

Actions status Discord

A Python library for deploying static assets to Cloudflare Pages.

Installation

uv add schlepper

Usage

import schlepper

result = schlepper.deploy(
    "./dist",
    project_name="my-site",
    account_id="your-account-id",
    credentials=schlepper.ApiToken(token="your-api-token"),
    branch="production",
    commit_message="Deploy v1.0.0",
)

print(f"Deployed to {result.url} (status: {result.status})")

ApiKey credentials are also supported:

credentials = schlepper.ApiKey(key="your-global-api-key", email="you@example.com")

Development

Linting/formatting/type checking:

uv run ruff check
uv run ruff format --check
uv run ty check

Unit testing:

uv run pytest
# with coverage
uv run coverage run -m pytest

Integration tests (requires Cloudflare credentials):

# see it.env.example
export $(cat it.env | xargs)
uv run pytest -m integration

Build docs:

uv run sphinx-build -b html docs docs/_build/html

Licence

schlepper is licensed under either of

at your option.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in schlepper by you, as defined in the Apache-2.0 license, shall be dually licensed as above, without any additional terms or conditions.

Metadata

Release files for schlepper 0.1.1

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

Source distribution (sdist)

Source distribution for schlepper 0.1.1
File Size Uploaded
schlepper-0.1.1.tar.gz 13.3 kB Details

Built distribution (wheel)

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

Total release size: 31.0 kB

Release files / schlepper-0.1.1.tar.gz

Download URL schlepper-0.1.1.tar.gz
Size 13.3 kB
Tags Source
SHA-256 checksum
How to use checksums
3d5d4b0ad594ac1c67a4d9e1f53ba743db20a7529b5258e045330d07d771e6c8
BLAKE2b-256 checksum
How to use checksums
71a48741ff8db5a5d0679237dd2f308a368804920b12f79927fefe7f4def8fca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 15, 2026.

Transparency log

Release files / schlepper-0.1.1-py3-none-any.whl

Download URL schlepper-0.1.1-py3-none-any.whl
Size 17.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c636bf17bb35e9e23d12045c05c4702c89b92105a2904c8d9b52cceecb44ce07
BLAKE2b-256 checksum
How to use checksums
67070f04c1d0817f458878ceed1a887d34ee7fc1da4d095dff377ad1b7fa6191
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 15, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.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