Install packages through clipboard.
Project description
clipinstall
Install packages on an offline machine through clipboard.
Installation
$ pip install clipinstall
Requirements
click
Usage
CLI Command
# 1) Download the package and copy it to clipboard on an online machine
clipin copy requests==2.32.3
# Optional: download with dependencies
clipin copy requests==2.32.3 --deps
# Local build mode: if PACKAGE_SPEC is a folder, run install.py in it and copy
# the newest wheel under dist/
clipin copy /path/to/your/project
# 2) Restore wheels from clipboard and install them on the target machine
clipin install
# Optional: specify the temp dir to store .whl files, the temp dir will be removed after
# successful installation
clipin install --dir temp
# Optional: don't remove the temp files after installation
clipin install --no-clean
# 3) Restore wheels from clipboard only (without installation)
clipin paste
# Optional: specify the dir to store .whl files
clipin paste --dir temp
See Also
Github repository
PyPI project
License
This project falls under the BSD 3-Clause License.
History
v0.0.2
- Local build mode: can download from local folder now.
clipin install:- New option
--force/--no-forceto reinstall the package if exists.
- New option
v0.0.1
- New subcommand
clipin pasteto restore wheels from clipboard only (without installation). clipin install:- renamed option
--temp-dirto--dirfor convenience. - new option
--clean/--no-cleanto determine whether temp files should be removed after installation.
- renamed option
v0.0.0
- Initial release.
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
clipinstall-0.0.2.tar.gz
(8.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file clipinstall-0.0.2.tar.gz.
File metadata
- Download URL: clipinstall-0.0.2.tar.gz
- Upload date:
- Size: 8.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a450b58686eadde7ea217963c053e911a557b428f21e8d837e6410d589c37b8c
|
|
| MD5 |
174c0203c4a8040a68264435f0f9bb8a
|
|
| BLAKE2b-256 |
aaa2d960d599ef18112177048d10ac749ab8285584eb9ef7d020e94f824786d8
|
File details
Details for the file clipinstall-0.0.2-py3-none-any.whl.
File metadata
- Download URL: clipinstall-0.0.2-py3-none-any.whl
- Upload date:
- Size: 8.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cfc250a0ce9d556bc928670f74344042a07dd5fe6cf95264e584d854aeac7d12
|
|
| MD5 |
0abb8afe83d7f48ec96dd608024bce3a
|
|
| BLAKE2b-256 |
c3eb7ccb7627a81f98afb44acf9d8577ffa34e57aa067cfda1537923cb4d9067
|