Introduction
Make Kenneth Reitz’s tablib available to PlominoUtils.
Installation
Include plomino.tablib in the eggs section of your buildout:
eggs =
...
plomino.tablib
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
1.1 (2014-07-28)
Fix packaging [Jean Jordaan]
1.0 (2013-01-24)
Package created using templer [Jean Jordaan]
Release files for plomino.tablib 1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| plomino.tablib-1.1.zip | 14.1 kB | Details |
Release files / plomino.tablib-1.1.zip
| Download URL | plomino.tablib-1.1.zip |
|---|---|
| Size | 14.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
466e7c193ae6796689332169b85919cc57a14e421a905557b0690cea27bd95d3
|
|
BLAKE2b-256 checksum How to use checksums |
d263113df3dbd395270e439222f3ef9b1fa8efc3732d50e0c0448251ef2d00a5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |