Skip to main content

Create a SIF file from a Singularity definition file for COMPS

Project description

comps-sif-constructor

Create SIF images for COMPS

To use (with uv):

uvx comps_sif_constructor -d lolcow.def

This will launch the image creation on COMPS and leave behind a sif.id for the jobs that need the image.

Usage

comps_sif_constructor -h
usage: comps_sif_constructor [-h] [--definition_file DEFINITION_FILE] [--output_id OUTPUT_ID] [--image_name IMAGE_NAME] [--work_item_name WORK_ITEM_NAME] [--requirements REQUIREMENTS]

options:
  -h, --help            show this help message and exit
  --definition_file DEFINITION_FILE, -d DEFINITION_FILE
                        Path to the Singularity definition file
  --output_id OUTPUT_ID, -o OUTPUT_ID
                        Name out Asset id file
  --image_name IMAGE_NAME, -i IMAGE_NAME
                        Name of the Singularity image file
  --work_item_name WORK_ITEM_NAME, -w WORK_ITEM_NAME
                        Name of the work item
  --requirements REQUIREMENTS, -r REQUIREMENTS
                        Path to the requirements file

To create a Singularity image from a definition file:

python -m comps_sif_constructor.create_sif \
  -d <path_to_definition_file> \
  -o <output_id> \
  -i <image_name> \
  -w <work_item_name> \
  [-r <requirements_file>]

Or using the console script:

comps_sif_constructor \
  -d <path_to_definition_file> \
  -o <output_id> \
  -i <image_name> \
  -w <work_item_name> \
  [-r <requirements_file>]

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

comps_sif_constructor-0.0.8.tar.gz (247.6 kB view details)

Uploaded Source

Built Distribution

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

comps_sif_constructor-0.0.8-py3-none-any.whl (362.7 kB view details)

Uploaded Python 3

File details

Details for the file comps_sif_constructor-0.0.8.tar.gz.

File metadata

  • Download URL: comps_sif_constructor-0.0.8.tar.gz
  • Upload date:
  • Size: 247.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for comps_sif_constructor-0.0.8.tar.gz
Algorithm Hash digest
SHA256 355172478ede40e27ec5d176d79dcf68733424e475f9274918a452045b7cc8ad
MD5 eacc9a15d93e388a65d43fb9bfd59670
BLAKE2b-256 51271d2f7757250e6fff79caa788a97f1ce00c41fb01672050c56acb3d2b0224

See more details on using hashes here.

Provenance

The following attestation bundles were made for comps_sif_constructor-0.0.8.tar.gz:

Publisher: publish-pypi.yml on krosenfeld-IDM/comps-sif-constructor

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file comps_sif_constructor-0.0.8-py3-none-any.whl.

File metadata

File hashes

Hashes for comps_sif_constructor-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 61a816a1c1982c17a00616351fe8a98dae3ae6c335cf851effc995c180b68680
MD5 b34405fd9fbf4b3a7f861d05f8f5a0cc
BLAKE2b-256 6abf6ab31e56ca729e772623938e63e1db4accb920a6218445619c8aed390f6c

See more details on using hashes here.

Provenance

The following attestation bundles were made for comps_sif_constructor-0.0.8-py3-none-any.whl:

Publisher: publish-pypi.yml on krosenfeld-IDM/comps-sif-constructor

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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