Skip to main content

writ-cli (PyPI packaging)

Installable distribution of the Writ CLI. pip install writ-cli gives you the writ command — no curl + chmod dance.

Layout

  • pyproject.toml — package metadata, writ console-script entry point
  • writ_cli/__init__.py — version
  • writ_cli/cli.py — the CLI itself (stdlib-only: argparse, json, urllib)

Relationship to gate/web/writ

gate/web/writ is the self-contained single-file script served by the Lambda at /writ (the curl -fsSL ... -o writ download path). It must stay a single file with no install step.

writ_cli/cli.py is the PyPI package source. The two files are currently byte-identical by copy. If you change CLI behavior, update both and keep them in sync — the download path and the pip path must behave the same.

Build & test locally

cd cli
python -m build                    # needs `pip install build`
pip install -e .                   # editable install, creates the `writ` command
writ --help

Publish (needs Chad's approval + PyPI credentials)

cd cli
python -m build
twine upload dist/*

Open decisions (before first publish)

  1. Distribution name: writ is taken on PyPI. pyproject.toml uses writ-cli as a placeholder — Chad picks the final name.
  2. License: the repo has no LICENSE file yet. Pick one (MIT recommended) and add license = { text = "MIT" } + trove classifier before publishing.
  3. Docs: once published, update fern/pages/quickstart.mdx and fern/pages/cli.mdx to offer pip install <name> alongside the curl path (per the repo docs rule — every change ships with its docs).

Metadata

Release files for pywrit 0.1.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 pywrit 0.1.0
File Size Uploaded
pywrit-0.1.0.tar.gz 5.9 kB Details

Built distribution (wheel)

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

Total release size: 12.3 kB

Release files / pywrit-0.1.0.tar.gz

Download URL pywrit-0.1.0.tar.gz
Size 5.9 kB
Tags Source
SHA-256 checksum
How to use checksums
0a4b6e1a63d496bae6d583dc528c86e16c2f369320134505627f942c987ce7c3
BLAKE2b-256 checksum
How to use checksums
6c4cd85037419f3d5875b2e543ef6fb4fe3c0bcd6cca33cf858500b3b72b5399
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release files / pywrit-0.1.0-py3-none-any.whl

Download URL pywrit-0.1.0-py3-none-any.whl
Size 6.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7ae1e26ea98146447ef1f88ecdd8e62adf102626235e80fd085d53b199caf70c
BLAKE2b-256 checksum
How to use checksums
ffd36819886c28909a5ca88714ede953244b1d2f1843d99e1e463bce9841a714
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release history Release notifications | RSS feed

0.2.7

2 release files

0.2.6

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

This release

0.1.0 This release

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