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 Distribution

pyportable-0.2.0.tar.gz (6.2 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.2.0-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pyportable-0.2.0.tar.gz
Algorithm Hash digest
SHA256 187986ab51543b85238beb597a9f050d3a09c09f1113dcfb4786befe82c2fbbb
MD5 66a2401c4fdcee7bfa2ea0cd9025c011
BLAKE2b-256 d9e9ab17fa47ec93bc036240f6afd8d6afccfc7dd4615e1031c1a12fe97dae21

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyportable-0.2.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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1fbf5b2da05907a01fb6b331658e722b60b2a5bee71fc19dab3648d6211c05c4
MD5 b72d9f699fa76d8c72a4c5269cd98654
BLAKE2b-256 e0fd4e3c16ad848160c1b13c89ef1f1e991aa3c0965a41c800025d7a6a0a075a

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