zulip-nod
A small, non-interactive Zulip CLI using the official Python zulip client.
Requires Python 3.10 or newer. No Node.js or terminal UI is required.
Install and configure
Install the wheel with python -m pip install ./zulip_nod-0.1.1-py3-none-any.whl.
For Nod, supply these variables in private setup, not as CLI arguments:
ZULIP_URL: your Zulip HTTPS origin, with no path or credentials.ZULIP_EMAIL: the user or bot's Zulip API email.ZULIP_API_KEY: the account's Zulip API key.
This CLI ignores ~/.zuliprc, proxy settings and TLS override variables. It
verifies TLS, does not follow redirects, and disables SDK retries. The SDK fetches
server settings before the requested operation. No other commands mutate Zulip.
Usage
zulip profile
zulip read --limit 10
zulip read --channel engineering --topic planning --limit 10
zulip search 'quarterly budget' --channel finance --limit 10
zulip send --channel-id 42 --topic planning < message.txt
zulip send --user-id 12 --user-id 34 < message.txt
zulip send --user-id 12 --content 'Hello from Zulip'
Reads and searches default to 20 messages and accept a limit of 1 to 100, with
no auto-pagination or mark-as-read calls. Search follows Zulip's own permissions
and history rules. send requires an explicit destination and a nonblank UTF-8
message of at most 64 KiB (Zulip may impose a lower limit). Pass the message as
one --content argument, or omit the flag to read from stdin. When the flag is
present, stdin is ignored, even if the argument is empty and fails validation.
Use --content=VALUE for text starting with a dash. Command-line arguments may
appear in process listings or shell history; prefer stdin where available for
sensitive content. The command never prompts. Repeat --user-id for a group DM.
If a send reports an unknown outcome, check Zulip before retrying.
Commands write one JSON object to stdout. Exit codes: 0 success, 2 invalid
input or missing configuration, 1 request failure or unknown send outcome.
--help and --version are plain text and work offline. Successful profile and
message output contains private account data; treat it accordingly.
Package and upload
From the source tree, run python -m pip install build twine and then
python -m build to build both distributions. To publish the supplied files
without rebuilding, put only those two files in a clean dist/ directory, review
them, and run:
python -m twine check dist/zulip_nod-0.1.1*
python -m twine upload dist/zulip_nod-0.1.1*
Use your own PyPI account and enter an upload token privately if prompted. Do not put the token in the command line or send it in chat. The upload is public.
Offline tests
After installing the wheel, run python -m unittest discover -s tests -v from
an extracted source distribution. The tests exercise the installed package and
stub the HTTP adapter; no Zulip server or real credentials are used.
Metadata
Release files for zulip-nod 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| zulip_nod-0.1.1.tar.gz | 7.2 kB | Without provenance | Details for zulip_nod-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| zulip_nod-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for zulip_nod-0.1.1-py3-none-any.whl |
Total release size: 13.0 kB
Release files / zulip_nod-0.1.1.tar.gz
| Download URL | zulip_nod-0.1.1.tar.gz |
|---|---|
| Size | 7.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
40749048e5271037c92e9b164897e247efcb920db01e3033e6c074315e67345f
|
|
BLAKE2b-256 checksum How to use checksums |
cd6ea5940b1a8561d3628900b06d87848a1b11790468433093e6ca13eb6a8181
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.4
|
Release files / zulip_nod-0.1.1-py3-none-any.whl
| Download URL | zulip_nod-0.1.1-py3-none-any.whl |
|---|---|
| Size | 5.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
df6e0c5252d2d9681db40cfceb892235485701b7264e55a7d2d7dfee981930ec
|
|
BLAKE2b-256 checksum How to use checksums |
e10fdc0c06ff51ffcc7ecd4a2cc7f748bcf1866542852d60e0b191eab4b4c219
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.4
|
Security for zulip-nod 0.1.1
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.