Skip to main content

A library and CLI utilities for creating transient Python packages.

Project description

transient-package

CLI utility for creating transient Python packages.

Installation

$ pip3 install transient-package

Usage

Create a transient package

$ transient-package create \
    --source triton        \
    --target triton-pascal \
    --output-directory .

Result

A triton package with version 0.0.0 will be created, which depends on the triton-pascal package.

Create a transient package with explicit versions

$ transient-package create \
    --source triton        \
    --source-version 3.0.0 \
    --target triton-pascal \
    --target-version 3.0.0 \
    --output-directory .

Result

A triton package with version 3.0.0 will be created, which depends on the triton-pascal package with version 3.0.0.

Create a transient package and install it

$ transient-package install \
    --source triton         \
    --target triton-pascal

Result

If the source package is not installed

A triton package with version 0.0.0 will be installed, which depends on the triton-pascal package.

If the source package is installed

A triton package with version <source package version> will be installed, which depends on the triton-pascal package with version <source package version>.

The source package will be uninstalled before installing the transient package.

Remove a transient package

$ transient-package uninstall triton

Result

If the triton package is installed and transient, it will be removed.

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

transient_package-1.0.0.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

transient_package-1.0.0-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

Details for the file transient_package-1.0.0.tar.gz.

File metadata

  • Download URL: transient_package-1.0.0.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.5

File hashes

Hashes for transient_package-1.0.0.tar.gz
Algorithm Hash digest
SHA256 0146a3a233542ed7c1e8581868a2ebf4934178b606c61af479a39c1f7faf485e
MD5 42bb75f053fef153199eb8fe37559a3f
BLAKE2b-256 1aaececdd61abe7e758b0d4240a867069c9d46c4de8f36f6ef535ab59f266b89

See more details on using hashes here.

File details

Details for the file transient_package-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for transient_package-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3792e3a02bf58c8dc843d73a280240f18030d7a270e0c891b88b5dff76f9252a
MD5 3d1b118edfef611642e8b283c74ddee0
BLAKE2b-256 803fc7a6df3d756ca13ad961dab970c2b38a61aa369a51ebb13f2f21e69a4bd6

See more details on using hashes here.

Supported by

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