Registry / devops / pyexcel-webio

pyexcel-webio

JSON →
library0.1.4pypypi✓ verified 82d ago

A generic request and response interface for pyexcel web extensions, providing a bridge between pyexcel and web frameworks like Flask, Django, and Pyramid. Current version 0.1.4 is in maintenance mode with no recent releases.

pip install pyexcel-webio
INSTALL
IMPORT
SIG · PYEXCEL-WEBIO
P
pyexcel-webio
devopspythonv0.1.4
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ExcelInput
from pyexcel_webio import ExcelInput
from pyexcel_webio import IExcel
init_webio
from pyexcel_webio import init_webio
make_response
from pyexcel_webio import make_response

Create an Excel response from a list of arrays. Note: pyexcel-webio is meant to be used with web frameworks like Flask. The response object is a Response class that can be returned directly.

import pyexcel as pe from pyexcel_webio import make_response_from_array data = [[1, 2, 3], [4, 5, 6]] response = make_response_from_array(data, file_type='xlsx', status=200) # In a web framework (e.g., Flask), return the response # return response
Debug
Known issues
gotchapyexcel-webio does not work standalone; it requires a web framework to handle the response objects. Trying to use make_response outside a request context will fail.
fix
Ensure you are using pyexcel-webio within a web framework. For testing, mock the request/response context.
affects: all
deprecatedThe library is in maintenance mode; no new features are being added. Some functions may be deprecated in favor of pyexcel's built-in support.
fix
Consider migrating to pyexcel's direct file output if possible, as pyexcel-webio may not receive updates.
affects: 0.1.x
breakingpyexcel-webio 0.1.4 changed the signature of make_response_from_array; it now expects keyword arguments for some parameters.
fix
Use keyword arguments: make_response_from_array(array, file_type='xlsx')
affects: 0.1.4
Upgrade
Version history
0.1.4latest on PyPI · released Oct 23, 2017
Audit
Dependencies
pyexcelrequiredCore library for Excel file handling
pyexcel-iorequiredInput/output operations for pyexcel
Agent activity
10 hits · last 30 days
node
10
Resources
pyexcel-webio — pip install pyexcel-webio · libregistry