Skip to main content

lpip

Git-backed, name-oriented front end to pip for internal Python packages — no internal PyPI registry required.

Install from PyPI as esys-lpip (pip install esys-lpip); the command and import remain lpip.

Status

Item Value
Workflow A2C 0.10.0 (ADR-0000)
Profile python-pypi
Product v1 CLI on PyPI as esys-lpip (0.1.1)

What this is

lpip (local-pip) resolves a logical package name from a TOML catalog (lpip-sources.toml), validates configuration and prerequisites, and delegates installation to python -m pip install .... The catalog may be a local file or a Git-backed checkout in a persistent user cache.

It is a small client, not a package manager replacement, registry, or service (ADR-0001, ADR-0004).

Why Git instead of a private index

A private package index is a second service: you host it, keep it up, and invent another login. lpip treats Git as the index. Names resolve to git+ URLs; pip installs the tree. Access control is whatever you already use to clone — typically SSH keys or deploy keys. No extra account, no extra host, no extra secret type.

Public PyPI is how you install this tool. Internal packages stay in the Git you already operate.

Non-goals (v1)

  • Internal package index or hosted registry
  • A dependency resolver other than pip
  • Background daemons, lockfile solving, or workspace orchestration

Quick start

pip install esys-lpip
lpip --help

From a clone (contributors):

python -m venv .venv
# Windows: .venv\Scripts\activate
# Unix: source .venv/bin/activate
pip install -e ".[dev]"
pytest

Re-run scripts/setup-dev after clone if you need pre-commit and gitlint hooks (see docs/workflow/adoption.md).

Intended configuration

Local catalog:

[source]
type = "file"
path = "~/company/lpip-sources.toml"

Git-backed catalog:

[source]
type = "git"
url = "ssh://git.company/dev/lpip-catalog.git"
revision = "main"
path = "lpip-sources.toml"
refresh = "auto"

Example catalog entry:

[packages.libfoo]
url = "git+ssh://git.company/libs/libfoo.git"
revision = "main"
subdirectory = "python"

Author that file in the catalog Git repository (then commit and push). --url is a normal clone URL (ssh://, https://, or git@host:path); lpip stores git+ssh / git+https for pip:

cd /path/to/lpip-catalog
lpip catalog init
lpip catalog add libfoo --url ssh://git.company/libs/libfoo.git --revision main --subdirectory python
# or: lpip catalog add   # prompts for missing fields

Consumers only fetch (source.type = git + lpip catalog refresh). add / init do not write the consumer cache.

Install a mixed list (lpip-requirements.txt is the usual name): catalog names first, then pip for the rest. Bare lpip install NAME still fails if the name is not in the catalog.

lpip install libfoo==1.2.3
lpip install -r lpip-requirements.txt
lpip install -r lpip-requirements.txt --catalog-only

== on a catalog name selects the Git tag (1.2.3 or v1.2.3). Other specifiers on catalog names fail; PyPI lines in -r are passed to pip as-is.

List Git tags that parse as versions (optional leading v): lpip versions libfoo or lpip index versions libfoo (--pre, --all).

lpip version / lpip --version print this tool’s installed version.

lpip install --upgrade / -U and lpip upgrade pass pip --upgrade (same for -r).

Commands: lpip install, lpip upgrade, lpip list, lpip show, lpip versions, lpip version, lpip validate, lpip doctor, lpip catalog … (init, add, refresh, …), lpip config …, lpip index versions. Details: docs/architecture/cli-and-configuration.md.

Documentation

Topic Location
Architecture docs/architecture/overview.md
Artifact chain docs/workflow/documentation-structure.md
ASRs docs/asr/
ADRs docs/adr/INDEX.md
Acceptance criteria docs/ac/
A2C adoption docs/workflow/adoption.md
Release docs/release-pipeline.md
Publishing docs/package-publishing.md
GitLab CI docs/gitlab-ci.md
Agent entry AGENTS.md

License

MIT (pyproject.toml).

Download files

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

Source Distribution

esys_lpip-0.3.0.tar.gz (38.3 kB view details)

Uploaded Source

Built Distribution

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

esys_lpip-0.3.0-py3-none-any.whl (28.0 kB view details)

Uploaded Python 3

File details

Details for the file esys_lpip-0.3.0.tar.gz.

File metadata

  • Download URL: esys_lpip-0.3.0.tar.gz
  • Upload date:
  • Size: 38.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.11.16

File hashes

Hashes for esys_lpip-0.3.0.tar.gz
Algorithm Hash digest
SHA256 4efad55e1efb155073f5ac3950234794e1363b08b18f5c93cdf8a5ffc22630f5
MD5 7892b957966595c4e5c9b96f40d0eb3f
BLAKE2b-256 9c988d6409c78ac1661e3701ecd2e36323888c64f3547a50c16bed6036f34c29

See more details on using hashes here.

File details

Details for the file esys_lpip-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: esys_lpip-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 28.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.11.16

File hashes

Hashes for esys_lpip-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 866ed601c8d81caed874d58ef2c52db31ea11d005047d706eaab0ef20f867553
MD5 f80a4899d07f50983a0fdf63488b6f1a
BLAKE2b-256 0d8423983e166159e349e77625d4355058d4bf86ca475380bb283e83b2174589

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 files

0.2.0

2 files

0.1.1

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page