Skip to main content

A CLI tool to download and configure Portable Python (Embedded) automatically.

Project description

PyPortable Installer

image

Uma ferramenta CLI e biblioteca Python para baixar, configurar e gerenciar instalações do Python Portable (Embeddable) automaticamente. Ideal para criar ambientes Python isolados para distribuição sem necessidade de instalação administrativa.

Funcionalidades

  • Download Automático: Baixa a versão selecionada do Python Embeddable.
  • Configuração: Ajusta o arquivo ._pth para permitir importação de módulos e site-packages.
  • Pip & Tools: Instala automaticamente o pip, setuptools e wheel.
  • Isolamento: Todo o ambiente fica contido na pasta .python (ou onde for configurado).

Instalação

Instale diretamente do PyPI:

pip install pyportable

Instalação Local (Desenvolvimento)

  1. Clone o repositório.
  2. No diretório raiz, execute:
pip install .

Uso

Como CLI

Após instalar, o comando pyportable estará disponível no seu terminal (CMD, PowerShell ou Bash).

  1. Abra o prompt de comando (CMD) ou PowerShell.
  2. Navegue até a pasta onde deseja criar o ambiente Python.
  3. Execute os comandos abaixo:

Listar versões disponíveis:

pyportable --list

Instalar a versão mais recente na pasta atual (.python):

pyportable latest

Instalar uma versão específica:

pyportable 3.12

Estrutura do Projeto

  • pyportable/: Código fonte do pacote.
    • cli.py: Lógica principal e interface de linha de comando.
    • config.py: Definições de versões e URLs.
  • setup.py: Script de instalação legado/compatibilidade.
  • pyproject.toml: Configuração moderna de build.

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.

pyportable-0.1.0-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

Details for the file pyportable-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: pyportable-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for pyportable-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8dffc53714d574d6e3f608b8258186dbad7fc365df934a69669a09c249dd6d8a
MD5 1dd936fe792d564cb6fa9d49e6c62989
BLAKE2b-256 2aef6ffbb47050be4d2b2efc632584f216093bd9b3063b7f8905a4c49bccf24d

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