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
._pthpara permitir importação de módulos esite-packages. - Pip & Tools: Instala automaticamente o
pip,setuptoolsewheel. - 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)
- Clone o repositório.
- 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).
- Abra o prompt de comando (CMD) ou PowerShell.
- Navegue até a pasta onde deseja criar o ambiente Python.
- 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e402cd7b70b7304336b08c1ee336d1bbe65dbfe2b7e66c5e8743e7037b32980d
|
|
| MD5 |
dee43e72eac99b92407a850c1f35825a
|
|
| BLAKE2b-256 |
93b19d7e79ed55fb3a1de753e5f707f205b11ecaf1c8867e358637dc5a4f85c9
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9bf78eefcb44d3170d23561be0ec5082fecdf671450b1347ee0caebac384783c
|
|
| MD5 |
df5b2ba9b0d9aa8d30581a720d2b50f5
|
|
| BLAKE2b-256 |
954233584595280026a637817ae9911bdc2940c7a1e11efec70c80c838e0e0d3
|