summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorKenneth Reitz <me@kennethreitz.com>2011-05-16 02:18:03 -0400
committerKenneth Reitz <me@kennethreitz.com>2011-05-16 02:18:03 -0400
commita4a211b5a6b96e751f79743e1fd44f08ee2dd5b5 (patch)
tree7a139b871d4ad3b4bdaddd09b2f00a9f104fd505 /docs
parentc9766a48b07daa8e72d5109d644c05e115a55318 (diff)
downloadtablib-a4a211b5a6b96e751f79743e1fd44f08ee2dd5b5.tar.gz
theme update
Diffstat (limited to 'docs')
-rw-r--r--docs/_templates/sidebarintro.html20
-rw-r--r--docs/_templates/sidebarlogo.html4
-rw-r--r--docs/index.rst16
3 files changed, 40 insertions, 0 deletions
diff --git a/docs/_templates/sidebarintro.html b/docs/_templates/sidebarintro.html
new file mode 100644
index 0000000..470ce04
--- /dev/null
+++ b/docs/_templates/sidebarintro.html
@@ -0,0 +1,20 @@
+<h3><a href="http://tablib.org">About Tablib</a></h3>
+<p>
+ Tablib is an MIT Licensed format-agnostic tabular dataset library, written in Python. It allows you to import, export, and manipulate tabular data sets. Advanced features include, segregation, dynamic columns, tags & filtering, and seamless format import & export.
+</p>
+
+<h3>Feedback</h3>
+<p>
+ Feedback is greatly appreciated. If you have any questions, comments,
+ random praise, or anonymous threats, <a href="mailto:me@kennethreitz.com">
+ shoot me an email</a>.
+</p>
+
+
+<h3>Useful Links</h3>
+<ul>
+ <li><a href="http://tablib.org/">The Tablib Website</a></li>
+ <li><a href="http://pypi.python.org/pypi/tablib">Tablib @ PyPI</a></li>
+ <li><a href="http://github.com/kennethreitz/tablib">Tablib @ GitHub</a></li>
+ <li><a href="http://github.com/kennethreitz/tablib/issues">Issue Tracker</a></li>
+</ul>
diff --git a/docs/_templates/sidebarlogo.html b/docs/_templates/sidebarlogo.html
new file mode 100644
index 0000000..573da08
--- /dev/null
+++ b/docs/_templates/sidebarlogo.html
@@ -0,0 +1,4 @@
+<h3><a href="http://tablib.org">About Tablib</a></h3>
+<p>
+ Tablib is an MIT Licensed format-agnostic tabular dataset library, written in Python. It allows you to import, export, and manipulate tabular data sets. Advanced features include, segregation, dynamic columns, tags & filtering, and seamless format import & export.
+</p> \ No newline at end of file
diff --git a/docs/index.rst b/docs/index.rst
index bb530bf..bdf24dc 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -24,8 +24,24 @@ Release v\ |version|.
Tablib is an :ref:`MIT Licensed <mit>` format-agnostic tabular dataset library, written in Python. It allows you to import, export, and manipulate tabular data sets. Advanced features include, segregation, dynamic columns, tags & filtering, and seamless format import & export.
+::
+
+ >>> data = tablib.Dataset(headers=['First Name', 'Last Name', 'Age'])
+ >>> map(data.append, [('Kenneth', 'Reitz', 22), ('Bessie', 'Monke', 21)])
+
+ >>> data.json
+ [{"Last Name": "Reitz", "First Name": "Kenneth", "Age": 22}, {"Last Name": "Monke", "First Name": "Bessie", "Age": 21}]
+
+ >>> data.yaml
+ - {Age: 22, First Name: Kenneth, Last Name: Reitz}
+ - {Age: 21, First Name: Bessie, Last Name: Monke}
+
+ >>> data.xlsx
+ <censored binary data>
+
I recommend you start with :ref:`Installation <install>`.
+
Testimonials
------------