Make Tablib by Kenneth Reitz available to PlominoUtils.
Project description
Introduction
Make Kenneth Reitz’s tablib available to PlominoUtils.
Installation
Include plomino.tablib in the eggs section of your buildout:
eggs = ... plomino.tablib
The package has not yet been released to PyPI, so you’ll need to check out the egg from github.
When this package is present, the dataset function is available to Plomino formulas.
Examples:
# Create a table from a list of lists: mytable = dataset([[1,2], [3,4]]) # Create a table and specify headers: mytable = dataset([[1,2], [3,4]], headers=['col1', 'col2']) # Create a table from a list of dicts (sets headers): mytable = dataset([{'col1': 1, 'col2': 2]}, {'col1': 3, 'col2': 4}]) # Get the table as CSV or JSON: mytable.csv mytable.json # Get the table as HTML or Excel: mytable.html mytable.xls
See tablib for more.
Contributors
Jean Jordaan
Changelog
0.9dev0 (2012-10-13)
Package created using templer [Jean Jordaan]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
plomino.tablib-0.9dev0.zip
(5.2 kB
view details)
File details
Details for the file plomino.tablib-0.9dev0.zip
.
File metadata
- Download URL: plomino.tablib-0.9dev0.zip
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5cafb67863219aa68262b1f4fdcc5eb3523576ae405ece644fa1352d424040d5 |
|
MD5 | 3020719caab46fef618e18490f023e5a |
|
BLAKE2b-256 | d2e9e39fd450f3a08da758f18676fb8f32c889dfa7c9c354b01e47a572aa8fa4 |