Skip to main content

local package creator

Project description

localpkg: Create OS Packages from pip-installed Python Software

localpkg is a tool for converting Python packages into native OS package formats (e.g., .rpm, .deb, .apk, etc.). It automatically bundles dependencies and helps you package your Python projects, making distribution and installation on various operating systems simple and efficient.

Main features:

  • Convert Python packages to native package formats.
  • Simplify distribution and installation across different package systems.
  • Support local package management.

install

  • (pip)
    • pip install localpkg
    • or pip install git+https://github.com/wtnb75/localpkg/
  • (alpine)
    • wget https://wtnb75.github.io/localpkg/pkg/localpkg-0.0.1-r1.apk
    • apk add localpkg-0.0.1-r1.apk --allow-untrusted
  • (debian/ubuntu)
    • curl -LO https://wtnb75.github.io/localpkg/pkg/localpkg_0.0.1_all.deb
    • apt install ./localpkg_0.0.1_all.deb
  • (redhat variant)
    • dnf localinstall https://wtnb75.github.io/localpkg/pkg/localpkg-0.0.1-1.noarch.rpm
  • (archlinux)
    • curl -LO https://wtnb75.github.io/localpkg/pkg/localpkg-0.0.1-1-x86_64.pkg.tar.zst
    • pacman -U ./localpkg-0.0.1-1-x86_64.pkg.tar.zst

Usage

  • create tarball
    • localpkg tar --name (pkgname) --version (version) -- (pip arguments)
  • create .apk
    • localpkg apk --name (pkgname) --version (version) --key (private-keyfile) -- (pip arguments)
  • create .deb
    • localpkg deb --name (pkgname) --version (version) -- (pip arguments)
  • create .rpm
    • localpkg rpm --name (pkgname) --version (version) -- (pip arguments)
  • create pacman
    • localpkg pacman --name (pkgname) --version (version) -- (pip arguments)

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.

localpkg-0.2-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

Details for the file localpkg-0.2-py3-none-any.whl.

File metadata

  • Download URL: localpkg-0.2-py3-none-any.whl
  • Upload date:
  • Size: 7.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for localpkg-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 216713a98779bb790a088b3f902b68b8b2e3d9d2444f4d1600e3d612ca9cc9fb
MD5 c513b0ec02ba2572225b7c131db95eca
BLAKE2b-256 00a9d6bfec8c39b9cfe7739e42bdd519eab8756e1f58eb6264bd044381940925

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