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,writconsole-script entry pointwrit_cli/__init__.py— versionwrit_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)
- Distribution name:
writis taken on PyPI.pyproject.tomluseswrit-clias a placeholder — Chad picks the final name. - License: the repo has no LICENSE file yet. Pick one (MIT recommended)
and add
license = { text = "MIT" }+ trove classifier before publishing. - Docs: once published, update
fern/pages/quickstart.mdxandfern/pages/cli.mdxto offerpip 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)
| File | Size | Uploaded | |
|---|---|---|---|
| pywrit-0.1.0.tar.gz | 5.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|