Skip to main content

apipt

APIPT is a package which installs Python packages by apt if possible, otherwise using pip.

It's better to use apt.

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:

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.

Metadata

Release files for apipt 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for apipt 0.1.1
File Size Uploaded Provenance Actions
apipt-0.1.1.0.tar.gz 3.7 kB Without provenance Details for apipt-0.1.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for apipt 0.1.1
File Interpreter ABI Platform Actions
apipt-0.1.1.0-py3-none-any.whl Python 3 none any Details for apipt-0.1.1.0-py3-none-any.whl

Total release size: 8.6 kB

Release files / apipt-0.1.1.0.tar.gz

Download URL apipt-0.1.1.0.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
88653ddf97533c8bfec6d896dfbe3863cbf95590c4ca1613cc2bf5ec83b07d39
BLAKE2b-256 checksum
How to use checksums
44b7928cf2a54651229622ec5075fe14b5e9d1dc32433a5f1ec79523c2445a07
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.22.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5

Release files / apipt-0.1.1.0-py3-none-any.whl

Download URL apipt-0.1.1.0-py3-none-any.whl
Size 4.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c8b3baf559958ef2c80e9ab2df6e0115637ffe3b9ada21b714ebd05ef58aaca4
BLAKE2b-256 checksum
How to use checksums
2b66245b6341df38f97854224c25a0ebc2055a3c2506e090a1147eef28d7a65c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.22.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5

Security for apipt 0.1.1

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