Skip to main content

PyWeek CLI

Command line interface for pyweek.org.

So far, the only feature is downloading entries:

pyweek download 29

This downloads into a new directory 29 inside the current directory.

History

  • 0.5.3 - Revert certificate verification
  • 0.5.2 - Disable certificate verification (temporary)
  • 0.5.1 - Fix: downloading .tar.gz files from S3 decompresses them and then crashes
  • 0.5.0 - remove rate limits, as the server's download bandwidth is no longer constrained
  • 0.4.0 - resume partial downloads
  • 0.3.0 - resume a download run
  • 0.2.0 - check for upgrades
  • 0.1.0 - initial downloader CLI

Installing

PyWeek CLI can be installed with pip:

pip install pyweek

Development

Install uv, then run:

uv sync --frozen
uv run --frozen python -m unittest -v
uv build

Dependencies are declared in pyproject.toml and locked in uv.lock. Use uv lock after changing dependencies. The version comes from Git tags; the pyweek/_version.py file is generated at build time and is not committed.

Releasing

The release workflow uses PyPI Trusted Publishing. Before the first release, add a trusted publisher to the existing pyweek project on PyPI with:

  • GitHub owner: pyweekorg
  • Repository: cli
  • Workflow: publish.yml
  • Environment: pypi

In the GitHub Releases UI, create and publish a release from master with a new tag such as v0.5.4. The workflow builds the wheel and source distribution from that tag and uploads them to PyPI. Drafts and pre-releases are not published. The version in the tag must use three numeric components; no version number needs to be edited in source code.

Metadata

Release files for pyweek 0.5.4

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

Source distribution (sdist)

Source distribution for pyweek 0.5.4
File Size Uploaded Provenance
pyweek-0.5.4.tar.gz 5.6 kB With provenance Details

Built distribution (wheel)

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

Total release size: 12.3 kB

Release files / pyweek-0.5.4.tar.gz

Download URL pyweek-0.5.4.tar.gz
Size 5.6 kB
Tags Source
SHA-256 checksum
How to use checksums
b5fc65e57946b627f0dcb358f69c0d9eddbdddbb02d2833d50d153e0a92730cd
BLAKE2b-256 checksum
How to use checksums
6aa18db82746d462c8b701bca4f8c20d019cace8a8a503e4141f9e58bbefa108
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 28, 2026.

Transparency log

Release files / pyweek-0.5.4-py3-none-any.whl

Download URL pyweek-0.5.4-py3-none-any.whl
Size 6.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cbc0c165c7b5c6cd98d152a677a837b798e630413b0b4fc10a4fa509d34ac346
BLAKE2b-256 checksum
How to use checksums
cba23223fb7da3bdaa5ba697bfec312f33eecac2442b9ad3f21a4fdd91591a7a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 28, 2026.

Transparency log

Security for pyweek 0.5.4

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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for pyweek-0.5.4.tar.gz

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 Sep 28, 2026.

Transparency log

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.

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