Skip to main content

Install packages through clipboard.

Project description

clipinstall

Install packages on an offline machine through clipboard.

Installation

$ pip install clipinstall

Requirements

click

Usage

# 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.4

  • Bugfix for v0.0.3.

v0.0.3

  • Removed __version__, use importlib.metadata.version(__name__) instead.

v0.0.2

  • Local build mode: can download from local folder now.
  • clipin install:
    • New option --force/--no-force to reinstall the package if exists.

v0.0.1

  • New subcommand clipin paste to restore wheels from clipboard only (without installation).
  • clipin install:
    • renamed option --temp-dir to --dir for convenience.
    • new option --clean/--no-clean to determine whether temp files should be removed after installation.

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.4.tar.gz (8.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

clipinstall-0.0.4-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

Details for the file clipinstall-0.0.4.tar.gz.

File metadata

  • Download URL: clipinstall-0.0.4.tar.gz
  • Upload date:
  • Size: 8.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.7

File hashes

Hashes for clipinstall-0.0.4.tar.gz
Algorithm Hash digest
SHA256 d8018cc662d40400f8666fc4d5fd41d6da00d06506cd527996cd6b85b40f4433
MD5 5bb361c08eae551abb2f0a2c9b86b05e
BLAKE2b-256 2e81aa2a68720f0c428632867a2b88b00861990b168ff17dabf7bad2a3f7954f

See more details on using hashes here.

File details

Details for the file clipinstall-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: clipinstall-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 7.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.7

File hashes

Hashes for clipinstall-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 48eccd061c2febb10aaae20113f8c55bf4a0b4a1c7db343c0afdcd1993f2000b
MD5 12b134b67242001813333da1d7a7a14a
BLAKE2b-256 420b6e10421f45e7cbbb7221d92e63f3fad4cc4f021d93576a3a77a4816e7881

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page