Skip to main content

Support for including Excel spreadsheets into Sphinx documents

Project description

Module sphinxcontrib.exceltable is an extension for Sphinx, that adds support for including Excel spreadsheets, or part of them, into Sphinx document. See documentation for further information. It works with Python >=3.7


mkdir my-docs
cd my-docs/

# Install dependencies
python3 -v venv
source vevn/bin/activate
pip3 install sphinx sphinxcontrib-exceltable

# Alternatively, install pre-release
# pip3 install sphinxcontrib-exceltable --pre

# Create simple docs


Enable the extension by adding

extensions = [
  # ...other extensions


My document
The contents of the setup script:

.. exceltable:: Table caption
   :file: path/to/document.xls
   :header: 1
   :selection: A1:B3

Read complete documentation: Report issues:


# Create virtual environment
python3 -m venv venv3
source venv3/bin/activate

# Install dependencies
python3 -m pip install --upgrade pip
pip3 install -r requirements.txt

# Run tests
PYTHONPATH=$(pwd)/src python3 -m pytest

# Run
python3 -m tox

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

sphinxcontrib-exceltable-0.3.0.tar.gz (9.9 kB view hashes)

Uploaded source

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page