Skip to main content

fastexcel

A fast excel file reader for Python, written in Rust.

Based on calamine and Apache Arrow.

Docs available here.

Dev setup

Prerequisites

Python>=3.8 and a recent Rust toolchain must be installed on your machine. cargo must be available in your PATH.

First setup

On the very first time you setup the project, you'll need to create a virtualenv and install the necessary tools:

python -m venv .venv
source .venv/bin/activate
(.venv) make dev-setup

This will also set up pre-commit.

Installing the project in dev mode

In order to install the project in dev mode (for local tests for example), use make dev-install. This will compile the wheel (in debug mode) and install it. It will then be available in your venv.

Installing the project in prod mode

This is required for profiling, as dev mode wheels are much slower. make prod-install will compile the project in release mode and install it in your local venv, overriding previous dev installs.

Linting and formatting

The Makefile provides the lint and format extras to ease this.

Running the tests

make test

Running the benchmarks

Speed benchmark

make benchmarks

Memory benchmark

mprof run -T 0.01 python python/tests/benchmarks/memory.py python/tests/benchmarks/fixtures/plain_data.xls

Building the docs

make doc

Creating a release

  1. Create a PR containing a commit that only updates the version in Cargo.toml.
  2. Once it is approved, squash and merge it into main.
  3. Tag the squashed commit, and push it.
  4. The release GitHub action will take care of the rest.

Dev tips

  • Use cargo check to verify that your rust code compiles, no need to go through maturin every time
  • cargo clippy = 💖
  • Careful with arrow constructors, they tend to allocate a lot
  • mprof and time go a long way for perf checks, no need to go fancy right from the start

Metadata

Release files for fastexcel 0.10.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for fastexcel 0.10.4
File Actions
fastexcel-0.10.4-cp38-abi3-win_amd64.whl CPython 3.8 abi3 Windows x86-64 Details for fastexcel-0.10.4-cp38-abi3-win_amd64.whl
fastexcel-0.10.4-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.8 abi3 Linux glibc 2.17+ x86-64 Details for fastexcel-0.10.4-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
fastexcel-0.10.4-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.8 abi3 Linux glibc 2.17+ ARM64 Details for fastexcel-0.10.4-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
fastexcel-0.10.4-cp38-abi3-macosx_11_0_arm64.whl CPython 3.8 abi3 macOS 11.0+ ARM64 Details for fastexcel-0.10.4-cp38-abi3-macosx_11_0_arm64.whl
fastexcel-0.10.4-cp38-abi3-macosx_10_12_x86_64.whl CPython 3.8 abi3 macOS 10.12+ x86-64 Details for fastexcel-0.10.4-cp38-abi3-macosx_10_12_x86_64.whl

Total release size: 6.1 MB

Release files / fastexcel-0.10.4-cp38-abi3-win_amd64.whl

Download URL fastexcel-0.10.4-cp38-abi3-win_amd64.whl
Size 888.3 kB
Tags CPython 3.8 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
75c32a46e788151ec043ecd1ba814bfc5416485221261aa6f14fd4ececf9e32d
BLAKE2b-256 checksum
How to use checksums
71818c8235212705567d8b17f41ff06054e4c57e27ad07e23d37962319ad5ffc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.5.1

Release files / fastexcel-0.10.4-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL fastexcel-0.10.4-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 1.2 MB
Tags CPython 3.8 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
3081cac3be3c26ad118e62f536f8d3c8b8cb5d96da5e13a54435c8115c6fb697
BLAKE2b-256 checksum
How to use checksums
27bfbdfd9c8d1c23a7057c288345eb7d641f920907c6c979dc58fd58451f0cf2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.5.1

Release files / fastexcel-0.10.4-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL fastexcel-0.10.4-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 1.9 MB
Tags CPython 3.8 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
43d456fdf4a3d87d579620ec607f9cc4d88d2c4fbea1474c2bb3378ddfb65021
BLAKE2b-256 checksum
How to use checksums
bb851d440ec129fdb486b4b823fdaac2096ba2506a645ebb22adfdd964ab9057
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.5.1

Release files / fastexcel-0.10.4-cp38-abi3-macosx_11_0_arm64.whl

Download URL fastexcel-0.10.4-cp38-abi3-macosx_11_0_arm64.whl
Size 1.0 MB
Tags CPython 3.8 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
03c58045e8aee03612fb76da67a41179d23f80a79615f894258561004748de92
BLAKE2b-256 checksum
How to use checksums
11ae8423579d63ff328ee88cc5f3dae4a36897104cec54390d8f1fe1673fd996
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.5.1

Release files / fastexcel-0.10.4-cp38-abi3-macosx_10_12_x86_64.whl

Download URL fastexcel-0.10.4-cp38-abi3-macosx_10_12_x86_64.whl
Size 1.0 MB
Tags CPython 3.8 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
be881f6828c7a5c3a8dd6e57c64f94c2d9499d2616848436c5040908cc77800f
BLAKE2b-256 checksum
How to use checksums
281c40c4895cad85c05dc4e2feb101eb598c5c4d4b3aea764695f9aa1f7a72ac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.5.1

Security for fastexcel 0.10.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.10.4 This release

5 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page