Skip to main content

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

Project description

PyPortable Installer

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

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 Distribution

pyportable-0.1.1.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

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

pyportable-0.1.1-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

Details for the file pyportable-0.1.1.tar.gz.

File metadata

  • Download URL: pyportable-0.1.1.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.0

File hashes

Hashes for pyportable-0.1.1.tar.gz
Algorithm Hash digest
SHA256 e402cd7b70b7304336b08c1ee336d1bbe65dbfe2b7e66c5e8743e7037b32980d
MD5 dee43e72eac99b92407a850c1f35825a
BLAKE2b-256 93b19d7e79ed55fb3a1de753e5f707f205b11ecaf1c8867e358637dc5a4f85c9

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pyportable-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9bf78eefcb44d3170d23561be0ec5082fecdf671450b1347ee0caebac384783c
MD5 df5b2ba9b0d9aa8d30581a720d2b50f5
BLAKE2b-256 954233584595280026a637817ae9911bdc2940c7a1e11efec70c80c838e0e0d3

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