Skip to main content

C-PAC Python Package

Project description

A Python package that wraps C-PAC, enabling users to install cpac with pip and run from the command line.


C-PAC Python Package is a lightweight Python package that handles interfacing a user’s machine and a C-PAC container through a command line interface.



cpac --help
usage: cpac [-h] [--platform {docker,singularity}] [--image IMAGE] [--tag TAG]
            [--version] [-v] [-vv] [--working_dir PATH] [--temp_dir PATH]
            [--output_dir PATH] [-o OPT [OPT ...]]
            {run,utils} ...

cpac: a Python package that simplifies using C-PAC <>
containerized images. If no platform nor image is specified, cpac will try
Docker first, then try Singularity if Docker fails.

positional arguments:

optional arguments:
  -h, --help            show this help message and exit
  --platform {docker,singularity}
  --image IMAGE         path to Singularity image file OR name of Docker image
                        (eg, "fcpindi/c-pac"). Will attempt to pull from
                        Singularity Hub or Docker Hub if not provided.
  --tag TAG             tag of the Docker image to use (eg, "latest" or
  --version             show program's version number and exit
  -v, --verbose         set loglevel to INFO
  -vv, --very-verbose   set loglevel to DEBUG
  --working_dir PATH    working directory
  --temp_dir PATH       directory for temporary files
  --output_dir PATH     directory where output files should be stored
  -o OPT [OPT ...], --container_options OPT [OPT ...]
                        parameters and flags to pass through to Docker or

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

cpac_py-0.2.2.tar.gz (26.4 kB view hashes)

Uploaded source

Built Distribution

cpac_py-0.2.2-py2.py3-none-any.whl (12.5 kB view hashes)

Uploaded py2 py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page