Skip to content

Commit 0cb01dc

Browse files
Pre-built list of iOS and Android binary wheels updated and moved to reference (#372)
1 parent 85d5fc6 commit 0cb01dc

File tree

4 files changed

+77
-84
lines changed

4 files changed

+77
-84
lines changed

docs/publish/android.md

Lines changed: 5 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -9,48 +9,11 @@ Flet CLI provides `flet build apk` and `flet build aab` commands that allow pack
99

1010
## Prerequisites
1111

12-
### Binary Python packages
13-
14-
Binary Python packages (vs "pure" Python packages written in Python only) are packages that partially written in C, Rust or other languages producing native code. Example packages are `numpy`, `cryptography`, or `pydantic`.
15-
16-
Flet provides an alternative index https://pypi.flet.dev to host Python binary wheels (`.whl` files downloaded by pip) for iOS and Android platforms.
17-
18-
The following packages are currently available for Android:
19-
20-
| Name | Version |
21-
|---------------|--------------|
22-
| aiohttp | 3.9.5 |
23-
| argon2-cffi-bindings | 21.2.0 |
24-
| bcrypt | 4.2.0 |
25-
| bitarray | 2.9.2 |
26-
| blis | 1.0.0 |
27-
| Brotli | 1.1.0 |
28-
| cffi | 1.17.1 |
29-
| contourpy | 1.3.0 |
30-
| cryptography | 43.0.1 |
31-
| google-crc32 | 1.6.0 |
32-
| grpcio | 1.67.1 |
33-
| kiwisolver | 1.4.7 |
34-
| lru-dict | 1.3.0 |
35-
| lxml | 5.3.0 |
36-
| MarkupSafe | 2.1.5 |
37-
| matplotlib | 3.9.2 |
38-
| numpy | 2.1.1 |
39-
| numpy | 1.26.4 |
40-
| opencv-python | 4.10.0.84 |
41-
| pandas | 2.2.2 |
42-
| pillow | 10.4.0 |
43-
| protobuf | 5.28.3 |
44-
| pydantic-core | 2.23.3 |
45-
| time-machine | 2.16.0 |
46-
| websockets | 13.0.1 |
47-
| yarl | 1.11.1 |
48-
49-
:::warning Work in progress
50-
New packages can be built with creating a recipe in [Mobile Forge](https://github.com/flet-dev/mobile-forge) project. For now, Flet team is authoring those recipes for you, but when the process is polished and fully-automated you'll be able to send a PR and test the compiled package right away.
51-
52-
If you don't yet see a package at https://pypi.flet.dev you can request it in [Flet discussions - Packages](https://github.com/flet-dev/flet/discussions/categories/packages). Please do not request pure Python packages. Go to package's "Download files" section at https://pypi.org and make sure it contains binary platform-specific wheels.
53-
:::
12+
### Android wheels for binary Python packages
13+
14+
Binary Python packages (vs "pure" Python packages written in Python only) are packages that partially written in C, Rust or other languages producing native code. Example packages are `numpy`, `cryptography`, or `pydantic-core`.
15+
16+
Make sure all non-pure (binary) packages used in your Flet app have [pre-built wheels for Android](/docs/reference/binary-packages-android-ios).
5417

5518
### Android SDK
5619

docs/publish/ios.md

Lines changed: 5 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -13,48 +13,11 @@ The command can be run on macOS only.
1313

1414
## Prerequisites
1515

16-
### Binary Python packages
17-
18-
Binary Python packages (vs "pure" Python packages written in Python only) are packages that partially written in C, Rust or other languages producing native code. Example packages are `numpy`, `cryptography`, or `pydantic`.
19-
20-
Flet provides an alternative index https://pypi.flet.dev to host Python binary wheels (`.whl` files downloaded by pip) for iOS and Android platforms.
21-
22-
The following packages are currently available for iOS:
23-
24-
| Name | Version |
25-
|---------------|--------------|
26-
| aiohttp | 3.9.5 |
27-
| argon2-cffi-bindings | 21.2.0 |
28-
| bcrypt | 4.2.0 |
29-
| bitarray | 2.9.2 |
30-
| blis | 1.0.0 |
31-
| Brotli | 1.1.0 |
32-
| cffi | 1.17.1 |
33-
| contourpy | 1.3.0 |
34-
| cryptography | 43.0.1 |
35-
| google-crc32 | 1.6.0 |
36-
| grpcio | 1.67.1 |
37-
| kiwisolver | 1.4.7 |
38-
| lru-dict | 1.3.0 |
39-
| lxml | 5.3.0 |
40-
| MarkupSafe | 2.1.5 |
41-
| matplotlib | 3.9.2 |
42-
| numpy | 2.1.1 |
43-
| numpy | 1.26.4 |
44-
| opencv-python | 4.10.0.84 |
45-
| pandas | 2.2.2 |
46-
| pillow | 10.4.0 |
47-
| protobuf | 5.28.3 |
48-
| pydantic-core | 2.23.3 |
49-
| time-machine | 2.16.0 |
50-
| websockets | 13.0.1 |
51-
| yarl | 1.11.1 |
52-
53-
:::warning Work in progress
54-
New packages can be built with creating a recipe in [Mobile Forge](https://github.com/flet-dev/mobile-forge) project. For now, Flet team is authoring those recipes for you, but when the process is polished and fully-automated you'll be able to send a PR and test the compiled package right away.
55-
56-
If you don't yet see a package at https://pypi.flet.dev you can request it in [Flet discussions - Packages](https://github.com/flet-dev/flet/discussions/categories/packages). Please do not request pure Python packages. Go to package's "Download files" section at https://pypi.org and make sure it contains binary platform-specific wheels.
57-
:::
16+
### iOS wheels for binary Python packages
17+
18+
Binary Python packages (vs "pure" Python packages written in Python only) are packages that partially written in C, Rust or other languages producing native code. Example packages are `numpy`, `cryptography`, or `pydantic-core`.
19+
20+
Make sure all non-pure (binary) packages used in your Flet app have [pre-built wheels for iOS](/docs/reference/binary-packages-android-ios).
5821

5922
## `flet build ipa`
6023

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
---
2+
title: Built-in binary Python packages for Android and iOS
3+
sidebar_label: Packages for Android and iOS
4+
---
5+
6+
Binary Python packages (vs "pure" Python packages written in Python only) are packages that partially written in C, Rust or other languages producing native code. Example packages are `numpy`, `cryptography`, or `pydantic`.
7+
8+
Flet provides an alternative index https://pypi.flet.dev to host Python binary wheels (`.whl` files downloaded by pip) for iOS and Android platforms.
9+
10+
This is the list of packages that are currently available for Android and iOS:
11+
12+
| Name | Version |
13+
|---------------|--------------|
14+
| aiohttp | 3.9.5 |
15+
| argon2-cffi-bindings | 21.2.0 |
16+
| bcrypt | 4.2.0 |
17+
| bitarray | 2.9.2 |
18+
| blis | 1.0.0 |
19+
| Brotli | 1.1.0 |
20+
| cffi | 1.17.1 |
21+
| contourpy | 1.3.0 |
22+
| cryptography | 43.0.1 |
23+
| fiona | 1.10.1 |
24+
| GDAL | 3.10.0 |
25+
| google-crc32 | 1.6.0 |
26+
| grpcio | 1.67.1 |
27+
| jq | 1.8.0 |
28+
| kiwisolver | 1.4.7 |
29+
| lru-dict | 1.3.0 |
30+
| lxml | 5.3.0 |
31+
| MarkupSafe | 2.1.5 |
32+
| matplotlib | 3.9.2 |
33+
| msgpack | 1.1.0 |
34+
| msgspec | 0.8.16 |
35+
| numpy | 2.1.1 |
36+
| numpy | 1.26.4 |
37+
| opaque | 0.2.0 |
38+
| opencv-python | 4.10.0.84 |
39+
| pandas | 2.2.2 |
40+
| pendulum | 3.0.0 |
41+
| pillow | 10.4.0 |
42+
| protobuf | 5.28.3 |
43+
| pycryptodome | 3.21.0 |
44+
| pycryptodomex | 3.21.0 |
45+
| pydantic-core | 2.23.3 |
46+
| pyjnius (Android only) | 1.6.1 |
47+
| PyNaCl | 1.5.0 |
48+
| pyobjus (iOS only) | 1.2.3 |
49+
| pyogrio | 0.10.0 |
50+
| pyproj | 3.7.0 |
51+
| pysodium | 0.7.18 |
52+
| PyYAML | 6.0.2 |
53+
| regex | 2024.11.6 |
54+
| ruamel.yaml.clib | 0.2.12 |
55+
| shapely | 2.0.6 |
56+
| SQLAlchemy | 2.0.36 |
57+
| time-machine | 2.16.0 |
58+
| websockets | 13.0.1 |
59+
| yarl | 1.11.1 |
60+
| zstandard | 0.23.0 |
61+
62+
:::warning Work in progress
63+
New packages can be built with creating a recipe in [Mobile Forge](https://github.com/flet-dev/mobile-forge) project. For now, Flet team is authoring those recipes for you, but when the process is polished and fully-automated you'll be able to send a PR and test the compiled package right away.
64+
65+
If you don't yet see a package at https://pypi.flet.dev you can request it in [Flet discussions - Packages](https://github.com/flet-dev/flet/discussions/categories/packages). Please do not request pure Python packages. Go to package's "Download files" section at https://pypi.org and make sure it contains binary platform-specific wheels.
66+
:::

sidebars.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -414,6 +414,7 @@ module.exports = {
414414
],
415415
},
416416
"reference/environment-variables",
417+
"reference/binary-packages-android-ios",
417418
"reference/icons",
418419
{
419420
type: "category",

0 commit comments

Comments
 (0)