How to Publish Python Packages to a Private PyPI from GitLab CI/CD

This tutorial shows how to automatically build and publish Python packages to a private repository using GitLab CI/CD. By the end, every tagged commit will trigger a pipeline that packages your code and uploads it to RepoForge.io. Prerequisites A RepoForge.io account (free trial works for this tutorial) A GitLab account A recent version of Python 3 Basic familiarity with git Step 1 — Create the folder structure Create an empty folder for your project and add a subfolder for your package code: ...

January 28, 2026 · 5 min · RepoForge

How to Publish Python Packages to a Private Repository with Poetry

This tutorial shows you how to publish Python packages built with Poetry to a private PyPI repository on RepoForge.io. Prerequisites A RepoForge.io account Your RepoForge repository URL (found under Show me how to publish packages) An access token with Python write permissions Installing Poetry Install Poetry using the official installer: curl -sSL https://install.python-poetry.org | python3 - Verify the installation: poetry --version Creating a Package in Poetry Now that poetry is installed you can create a poetry project like this: ...

January 28, 2026 · 2 min · RepoForge