apt-search-0.1.3
توضیحات
Search Ubuntu packages.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | apt-search-0.1.3 |
| نام | apt-search |
| نسخه کتابخانه | 0.1.3 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | David Härer |
| ایمیل نویسنده | david@familie-haerer.de |
| آدرس صفحه اصلی | https://github.com/DavidHeresy/apt-search |
| آدرس اینترنتی | https://pypi.org/project/apt-search/ |
| مجوز | MIT |
# apt-search
*Search Ubuntu packages.*
## Motivation
I needed a way to find the right package for missing header files.
I tried `apt-file`, but for some reason it was constantly complaining with
```
E: The cache is empty. You need to run "apt-file update" first.
```
The alternative was to search the Ubuntu packages in the browser, but I wanted a tool for the CLI.
So I had the idea to parse the HTML search result and give a nice terminal output.
## Installation
Use `pip` or `pipx` for installation:
```bash
pip install --user apt-search
# or
pipx install apt-search
```
## Usage
Just execute the `apt-search` command with the filename you are looking for:
```bash
apt-search --help
# Usage: main.py [OPTIONS] FILENAME
#
# Arguments:
# FILENAME [required]
#
# Options:
# --suite TEXT [default: jammy]
# --arch TEXT [default: any]
# --help Show this message and exit.
```
نیازمندی
| مقدار | نام |
|---|---|
| >=4.11.1,<5.0.0 | beautifulsoup4 |
| >=0.7.0,<0.8.0 | typer |
| >=0.23.3,<0.24.0 | httpx |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.10,<4.0 | Python |
نحوه نصب
نصب پکیج whl apt-search-0.1.3:
pip install apt-search-0.1.3.whl
نصب پکیج tar.gz apt-search-0.1.3:
pip install apt-search-0.1.3.tar.gz