apipt-0.1.1
توضیحات
Install Python packages by apt
| ویژگی | مقدار |
|---|---|
| سیستم عامل | POSIX :: Linux |
| نام فایل | apipt-0.1.1 |
| نام | apipt |
| نسخه کتابخانه | 0.1.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | KumaTea |
| ایمیل نویسنده | contact@maku.ml |
| آدرس صفحه اصلی | https://github.com/KumaTea/apipt |
| آدرس اینترنتی | https://pypi.org/project/apipt/ |
| مجوز | MIT |
# apipt
`APIPT` is a package which installs Python packages by `apt` if possible, otherwise using `pip`.
[It's better to use `apt`](https://stackoverflow.com/questions/6874527).
## Example
Say there are a few packages we want to install:
Python packages that can be install by `apt`:
* numpy
* requests
Python packages that can't:
* fastai
* tensorflow
Normal packages:
* bind9
* curl
Let's run `apipt install numpy requests fastai tensorflow bind9 curl`:
```shell script
root@Ubuntu ~# apipt install numpy requests fastai tensorflow bind9 curl
Running: apt install python3-numpy python3-requests bind9 curl
Press any key if no [y/N] prompt.
...
After this operation, 27.0 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
...
Running: pip install fastai tensorflow
Press any key if no [y/N] prompt.
Collecting fastai
...
```
Like what is shown above, `apipt` automatically divide those package into two group.
For one group, it calls `apt install python3-numpy python3-requests bind9 curl`, and for another, `pip install fastai tensorflow`.
نیازمندی
| مقدار | نام |
|---|---|
| - | lz4 |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl apipt-0.1.1:
pip install apipt-0.1.1.whl
نصب پکیج tar.gz apipt-0.1.1:
pip install apipt-0.1.1.tar.gz