0.1.31 • Published 25 days ago

@bjia56/portable-python v0.1.31

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
25 days ago

portable-python

This project provides self-contained (hence, "portable") Python distributions to a variety of target platforms and architectures. These Python distributions can be downloaded and extracted to anywhere on the filesystem, making installation trivially easy and configurable.

Usage

To get started, download archives from GitHub releases. Alternatively, use any of the following installers:

  • npm i @bjia56/portable-python-3.8
  • npm i @bjia56/portable-python-3.9
  • npm i @bjia56/portable-python-3.10
  • npm i @bjia56/portable-python-3.11
  • npm i @bjia56/portable-python-3.12

For example, on Linux via bash:

$ wget -q https://github.com/bjia56/portable-python/releases/download/v3.9.17-build.4/python-3.9
.17-linux-x86_64.zip
$ unzip -qq python-3.9.17-linux-x86_64.zip
$ ./python-3.9.17-linux-x86_64/bin/python --version
Python 3.9.17

Or via the node installer:

$ npm i --silent @bjia56/portable-python-3.9
$ ./node_modules/@bjia56/portable-python-3.9/python-3.9.17-linux-x86_64/bin/python --version
Python 3.9.17

Or via node:

var pythonExe = require("@bjia56/portable-python-3.9");
var child_process = require("child_process");
console.log(child_process.execSync(`${pythonExe} --version`).toString());

Available distributions

Currently, Python 3.9, 3.10, 3.11, and 3.12 are built for the following targets:

  • Linux x86_64, i386, aarch64, arm 1, riscv64
  • Windows x86_64
  • MacOS x86_64, arm64 2

Python 3.8 builds are available, but will no longer be actively updated.

1 The arm builds target armv6, specifically the configuration of the Raspberry Pi 1. Current arm builds do not work properly on old glibc, but a recent version of Raspbian like Debian bullseye should provide a new enough glibc to work. ↩

2 MacOS distributions are provided as universal2, which will work on both x86_64 and arm64. ↩

Download stats: 📊

Licensing

The build scripts and code in this repository are available under the Apache-2.0 License. Note that compilation of Python involves linking against other libraries, some of which may include different licensing terms. Copies of the licenses from known dependencies are included under the licenses directory of each Python distribution.

0.1.31

25 days ago

0.1.30

28 days ago

0.1.27

1 month ago

0.1.28

1 month ago

0.1.29

1 month ago

0.1.25

1 month ago

0.1.26

1 month ago

0.1.24

1 month ago

0.1.20

2 months ago

0.1.21

2 months ago

0.1.22

2 months ago

0.1.23

2 months ago

0.1.19

2 months ago

0.1.17

2 months ago

0.1.18

2 months ago

0.1.16

2 months ago

0.1.12

2 months ago

0.1.13

2 months ago

0.1.14

2 months ago

0.1.15

2 months ago

0.1.11

2 months ago

0.1.10

2 months ago

0.1.8

2 months ago

0.1.9

2 months ago

0.1.0

2 months ago

0.1.2

2 months ago

0.1.1

2 months ago

0.1.7

2 months ago

0.1.4

2 months ago

0.1.3

2 months ago

0.1.6

2 months ago

0.1.5

2 months ago

0.0.6

3 months ago

0.0.5

3 months ago

0.0.4

5 months ago

0.0.3

5 months ago

0.0.2

5 months ago

0.0.1

5 months ago