mirror of
https://github.com/kennethreitz/tablib.git
synced 2026-06-05 23:10:17 +00:00
Packaging for distribution.
This commit is contained in:
@@ -13,3 +13,4 @@ profile
|
||||
# pycharm noise
|
||||
.idea
|
||||
.idea/*
|
||||
hi
|
||||
|
||||
+6
-2
@@ -1,7 +1,11 @@
|
||||
History
|
||||
=======
|
||||
|
||||
0.1.0 (2010-09-??)
|
||||
0.6.0 (2010-09-11)
|
||||
------------------
|
||||
|
||||
* Initial Release
|
||||
* Public Release.
|
||||
* Export Support for XLS, JSON, YAML, and CSV.
|
||||
* DataBook Export for XLS, JSON, and YAML.
|
||||
* Python Dict Property Support.
|
||||
|
||||
|
||||
+5
-22
@@ -32,19 +32,6 @@ Please note that tabbed *purposefully* excludes XML support. It always will.
|
||||
Features
|
||||
--------
|
||||
|
||||
.. Convert datafile formats via API: ::
|
||||
..
|
||||
.. tablib.source(filename='data.csv').export('data.json')
|
||||
|
||||
|
||||
.. Convert datafile formats via CLI: ::
|
||||
..
|
||||
.. $ tabbed data.csv data.json
|
||||
|
||||
.. Convert data formats via CLI pipe interface: ::
|
||||
..
|
||||
.. $ curl http://domain.dev/dataset.json | tabbed --to excel | gist -p
|
||||
|
||||
|
||||
Populate fresh data files: ::
|
||||
|
||||
@@ -76,11 +63,11 @@ Slice rows: ::
|
||||
# >>> [('John', 'Adams', 4.0), ('George', 'Washington', 2.6)]
|
||||
|
||||
|
||||
.. Slice columns by header: ::
|
||||
..
|
||||
.. print data['first_name']
|
||||
.. # >>> ['John', 'George', 'Henry']
|
||||
..
|
||||
Slice columns by header: ::
|
||||
|
||||
print data['first_name']
|
||||
# >>> ['John', 'George', 'Henry']
|
||||
|
||||
|
||||
Manipulate rows by index: ::
|
||||
|
||||
@@ -92,10 +79,6 @@ Manipulate rows by index: ::
|
||||
.. data.save()
|
||||
|
||||
|
||||
.. Export to various formats: ::
|
||||
..
|
||||
.. # Save copy as CSV
|
||||
.. data.export('backup.csv')
|
||||
|
||||
Roadmap
|
||||
-------
|
||||
|
||||
Reference in New Issue
Block a user