Skip to main content

A command line application for adding user contributed docset feeds to Zeal.

Project description

zeal-feeds

PyPI - Version PyPI - Python Version GitHub CI Code style: black Ruff


zeal-feeds is a command line application for adding user contributed docsets to Zeal, as an alternative to looking up the URL of the XML feed and pasting in the Add Feed option.

Table of Contents

Installation

The recommended way to install zeal-feeds is via uv or pipx, to provide an isolated installation.

# install with uv
$ uv tool install zeal-feeds
$ zeal-feeds --help

# run without "installing"
$ uvx zeal-feeds

# install with pipx
$ pipx install zeal-feeds
$ zeal-feeds --help

Alternatively, zeal-feeds can be installed via pip, either for the current user or into the current Python virtual environment.

Warning

This package will install several dependencies into the current environment. Consider using uv or pipx to avoid dependency conflicts.

$ pip install --user zeal-feeds

or

$ pip install zeal-feeds

Usage

To search available feeds, use zeal-feeds search:

$ zeal-feeds search alpine
⠴ Loading index of user contributed docsets
Matching docsets:
Alpinejs (3.7.x/5_2021-12-14)

To install feeds, use zeal-feeds install. The docset name needs to match the name from the search results:

$ zeal-feeds install alpinejs attrs
Using cached index of user contributed docsets
Downloading Alpinejs ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100% 0:00:00
.   Installing Alpinejs
Downloading attrs ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100% 0:00:00
.   Installing attrs

If a docset is already installed then it will be skipped.

Acknowledgements

This project was inspired by zeal-user-contrib, but the apparent lack of an npm equivalent of pipx for isolated installations prompted writing a Python version (I didn't know about npx at the time).

This article by Hynek Schlawack for introducing Dash/Zeal.

https://zealusercontributions.vercel.app/ for providing the docset API with XML feeds for Zeal.

Contributing

Please open an issue or pull request on GitHub if you have questions, ideas, or issues.

zeal-feeds uses hatch. Run hatch run lint to run checks (Black, Ruff, and mypy) and hatch run test:pytest to run unit tests.

License

zeal-feeds is distributed under the terms of the MIT license.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

zeal_feeds-0.3.0.tar.gz (1.7 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

zeal_feeds-0.3.0-py3-none-any.whl (11.0 kB view details)

Uploaded Python 3

File details

Details for the file zeal_feeds-0.3.0.tar.gz.

File metadata

  • Download URL: zeal_feeds-0.3.0.tar.gz
  • Upload date:
  • Size: 1.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for zeal_feeds-0.3.0.tar.gz
Algorithm Hash digest
SHA256 d30f73b7add957395f7e2230c2e8ea3e9d624912da20464ddc6238a925aa8a81
MD5 5238a36b34a964ae7eecd6d7caa4b2f4
BLAKE2b-256 0d328118e45ebfc76d5a233a6aa9a1c60b377a39c19e7174bfc3d0b2e45d7a46

See more details on using hashes here.

File details

Details for the file zeal_feeds-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: zeal_feeds-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 11.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for zeal_feeds-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 90c0c96cdf0d9b6606909c13ddc6c82382e2570375a4b6edd7c820f158526db2
MD5 988d7cdf1cac509655ccfa9157342691
BLAKE2b-256 fca412e19b9966512aa71f7492763f4268dc49736bcd0f19b66d016a177a7e04

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page