Skip to main content

Download and upload package files for GitLab projects and groups

This project has been archived.

The maintainers of this project have marked this project as archived. No new releases are expected.

Project description

cal-gitlab-packages

Download and upload package files for GitLab projects and groups.

Installation

pip install cal-gitlab-packages

Usage

# Download package files from a group
cal-gitlab-packages download -u https://gitlab.com -p myorg/public -o ./packages

# Upload package files to a target GitLab
cal-gitlab-packages upload -u https://gitlab.example.com -p target-group -i ./packages -t TOKEN

Commands

download

Download package files from GitLab package registries. Supports version filtering, package type filtering, manifest-based incremental downloads, and parallel threads.

Use --flat to download all files into a single directory (useful for manual inspection). Note that flat output cannot be used with the upload command, which requires the project/package/version directory structure.

upload

Upload package files to GitLab via the generic package registry. Reads the same directory structure produced by download and uploads files to the target instance.

Configuration

Settings can be provided via CLI args, environment variables, or a config file at ~/.config/cal-gitlab-packages/config.json:

{
    "gitlab_url": "https://gitlab.example.com",
    "token": "glpat-xxxxxxxxxxxx",
    "base_group": "myorg",
    "output": "./downloads",
    "version_filter": "release",
    "parallel": 32
}

Licence

MIT License — Copyright (c) 2026 Cyber Assessment Labs

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

cal_gitlab_packages-1.0.0b1-py3-none-any.whl (36.7 kB view details)

Uploaded Python 3

File details

Details for the file cal_gitlab_packages-1.0.0b1-py3-none-any.whl.

File metadata

File hashes

Hashes for cal_gitlab_packages-1.0.0b1-py3-none-any.whl
Algorithm Hash digest
SHA256 2ebf43b7dded3f764eb5f6c904ad619ebbccef4f5fb7092960e999c5609ebab4
MD5 06b6fd7d132f023a3a0b24282ea715c5
BLAKE2b-256 fe17715023671591af00a2f2edbd2cb186abf634d616fc4d024e455c98317968

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