Skip to main content

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

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 UTF-8 message on stdin. It does not prompt. Use the same --user-id flag again 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.0*
python -m twine upload dist/zulip_nod-0.1.0*

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.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 zulip-nod 0.1.0
File Size Uploaded Provenance Actions
zulip_nod-0.1.0.tar.gz 6.6 kB Without provenance Details for zulip_nod-0.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 12.0 kB

Release files / zulip_nod-0.1.0.tar.gz

Download URL zulip_nod-0.1.0.tar.gz
Size 6.6 kB
Tags Source
SHA-256 checksum
How to use checksums
be0f01e502b5df806ca17d08b8545dc160b6a985eb49fcee610fddc84d024bbd
BLAKE2b-256 checksum
How to use checksums
aa509c68d645a38e0972181ff8bc9b8f3768412a2d5101544e2299e9d62f8baa
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.0-py3-none-any.whl

Download URL zulip_nod-0.1.0-py3-none-any.whl
Size 5.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
084059ab8114eaf530256c1d546858113fc95f2d955d0892ef3e2399bdec4aca
BLAKE2b-256 checksum
How to use checksums
37c06872d1de56f6802594e408c536d5284822875d0dcd5bcd48e34fb1a3979e
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.0

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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