openzim / openzim/python-scraperlib

Support à la carte dependencies

オープン
#244 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

enhancement
主要言語
Python
スター
31
フォーク
27
平均マージ
3日 7時間
マージ済み PR(30日)
2

説明

scraperlib grew significantly over the years, with modules very useful even beyond pure scraper usages. The ZIM wrapper is very useful in itself to name only one.

We are also considering addition of the currently separate kiwixstorage module, or the Kiwix catalog reader.

To support this Kiwix Swiss-army knife layout, we'd need to be able to install only some of the dependencies.

Dependencies would thus be organized into extra groups (ZIM, image, video, etc) with an all group that installs everything of course.

In addition, we could maybe had a try block on imports in each module to print a user-actionable message when importing code for which dependencies are not installed.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず、プロジェクトの依存関係設定と、issue で言及されているモジュールの import を確認します。all グループを含め、ZIM、image、video の extras をどのように整理するかを定義し、依存関係が不足している場合のメッセージを対象範囲に含めるかどうかを判断します。選択した extras を個別にインストールでき、合意した import の動作がカバーされれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
python
領域
build-system
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。