kennethreitz
69abfc3ada
use safe load
2017-06-13 12:29:55 -04:00
Bruno Alla
80e72cfa27
Fix unicode encode errors on Python 2 -- Fixes #215
...
Switch csv library to backports.csv as the implementation
is closer to the python 3 one. Add a test case covering the
problem.
Run tests with unicode_literals from future
Fix unicode encode errors with unicode characters
- Use `backports.csv` instead of `unicodecsv`
- Use StringIO instead of cStringIO
- Clean-up some Python 2 specific code
2017-05-02 17:33:14 +01:00
Nicolas Appriou
05bd0d1d42
fix python interpreter supported version in doc ( #286 )
2017-04-19 11:02:55 -03:00
Claude Paroz
62807734bd
Replaced vendored odfpy by a dependency ( #280 )
...
Refs #273 .
2017-02-26 19:05:01 -03:00
yarko
c5c2dffe42
correct example ( #276 )
...
map() is a function in python2, and iterator in python3+;
In any case - map is inefficient compared to either comprehensions (most efficient), or simple loops (close second).
SInce in this case, data.append() returns nothing, use a simple look.
It is clearer, more efficient, and works with both python2 and python3
2017-02-24 09:39:53 -03:00
Claude Paroz
46102d4be7
Replaced vendored omnijson by the standard lib version ( #279 )
...
Refs #273 .
2017-02-24 09:38:07 -03:00
Claude Paroz
44e9e24fec
Replaced vendored pyyaml by a dependency ( #278 )
2017-02-20 19:41:38 -03:00
Claude Paroz
0ca5520bbc
Replaced vendored xlrd/xlwt by dependencies ( #277 )
...
Refs #273 .
2017-02-20 17:29:22 -03:00
Claude Paroz
e66eb4a189
Replaced vendored openpyxl by a dependency ( #221 )
...
It is time to make it happen.
* Dropped Python 3.2 support
Recent dependencies are dropping Python 3.2 too.
* Replaced vendored openpyxl by a dependency
Thanks Tommy Anthony for the initial patch.
2017-02-20 12:41:33 -03:00
kennethreitz
0e720d78ca
Merge pull request #272 from founders4schools/unicodecsv
...
Replaced vendored unicodecsv by a dependency
2017-01-24 23:48:54 -05:00
Iuri de Silvio
6afe716d64
Version bump: 0.11.4
v0.11.4
2017-01-23 19:10:36 -02:00
Bruno Alla
76cbf9fadf
Read version in setup.py without importing tablib
2017-01-15 14:59:49 +00:00
Bruno Alla
a93f93a458
Replaced vendored unicodecsv by a dependency
...
Using https://pypi.python.org/pypi/unicodecsv/0.14.1
2017-01-15 14:47:14 +00:00
Iuri de Silvio
3d44bdec40
Merge pull request #269 from kammala/master
...
Fixed classifiers in setup.py
2017-01-10 10:14:11 -02:00
kammala
319505817a
Fixed classifiers in setup.py
...
moved classifiers from tuple to list(this allow to use setup.py upload command in python >= 3.5)
2017-01-10 12:20:08 +03:00
kennethreitz
6cb9a69746
Merge pull request #266 from wenzhihong2003/master
...
remove file must be close it.
2017-01-05 12:51:01 -05:00
tomwen
bb1354b61f
remove file must be close it.
...
in windows if you don't close template file, remove it will raise
WindowsError: [Error 32]
2016-12-30 10:21:43 +08:00
Iuri de Silvio
ddc4bd30f2
Merge pull request #234 from BrianPainter/master
...
if the object is a decimal, return the string representation of it.
2016-12-18 19:10:18 -02:00
Iuri de Silvio
52e547daf9
Merge pull request #259 from dyve/master
...
Fix #260 date and datetime export to JSON
2016-12-18 19:09:26 -02:00
Iuri de Silvio
7f0b7a0a22
Merge pull request #263 from andriisoldatenko/develop
...
Remove LOCALE from str regular expression
2016-12-18 19:08:41 -02:00
Andrii Soldatenko
ddac443732
Added py36 to tox.ini
2016-12-18 17:04:28 +02:00
Andrii Soldatenko
e13f4d0aba
Added py35 to tox.ini
2016-12-18 16:54:22 +02:00
Andrii Soldatenko
54f9041f2c
Remove LOCALE from str regular expression
2016-12-18 16:44:18 +02:00
Dylan Verheul
91d3299280
Fix date and datetime export to JSON in Python versions with a json package
...
Python without a json package will use omnijson and fail on date and datetime objects.
Added unit tests.
2016-11-30 12:32:47 +01:00
Jean Jordaan
cd67a63b43
Fix typo in label, add missing newline before directive
...
Label: s/peed/speed/
2016-08-01 11:13:25 +07:00
Jean Jordaan
19b3d6d06a
Change the blind reference mit to an URL
...
:ref:`MIT Licensed <mit>` had no target in the docs, so change it to a
canonical URL.
2016-08-01 11:11:01 +07:00
Jean Jordaan
59090d33a8
Missed some tabs.
2016-07-31 18:23:21 +07:00
Jean Jordaan
a4f974287b
Editing while reading: punctuation, markup, linebreaks
...
I fixed some extra commas, missing apostrophes, and typos;
added some linebreaks between sentences for very long lines;
added explicit markup for console blocks,
got rid of some tabs,
fixed indentation of an admonition, and some more small tweaks.
This supersedes https://github.com/kennethreitz/tablib/pull/84
2016-07-31 18:15:12 +07:00
kennethreitz
f59abe84be
Merge pull request #239 from ErwinJunge/dataset-title-in-docs
...
Put Dataset.title in the documentation
2016-05-21 15:13:30 -04:00
Erwin Junge
cf23f2344f
Put Dataset.title in the documentation
2016-05-20 16:13:22 +02:00
kennethreitz
e16bb38c48
Merge pull request #238 from sushrutrathi/code_changes
...
changes in code refactoring
2016-05-03 21:30:25 -04:00
Sushrut Rathi
71ca275dd1
changes in code refactoring
2016-05-03 13:47:25 +05:30
kennethreitz
75bbfbbaf4
Merge pull request #233 from ScorpionResponse/html_book_test
...
Add HTML format to the book_export test and fix the format to work properly
2016-04-10 18:12:37 -04:00
Iuri de Silvio
b35d505621
Merge pull request #236 from candy0427/master
...
Update README.rst
2016-03-24 10:18:34 -03:00
CandyLikeSmile
cd491c062c
Update README.rst
2016-03-24 14:19:59 +08:00
Brian Painter
9fdb72cc5c
if the object is a decimal, return the string representation of it.
2016-03-23 08:21:36 -04:00
kennethreitz
a5b1f7987e
Merge pull request #232 from chimeno/patch-1
...
[docs] Update variable name in tuto
2016-03-18 14:37:19 -04:00
Paul Moss
8cf6770a76
Add HTML format to the book_export test and fix the format to work properly
2016-03-18 18:17:19 +00:00
Daniel Chimeno
5fa3d2f886
[docs] Update variable name in tuto
...
The tutorial has been using the 'data' variable, but in this case it's using 'd'.
This change that.
2016-03-18 09:22:59 +01:00
kennethreitz
d4c66c7a4e
Merge pull request #229 from pmlandwehr/patch-1
...
python 3 fix: map filter to ifilter
2016-02-28 00:20:37 -05:00
Peter M. Landwehr
af17586581
python 3 fix: map filter to ifilter
2016-02-27 21:14:13 -08:00
kennethreitz
23d21f00f3
Update HISTORY.rst
2016-02-25 12:59:18 -05:00
kennethreitz
7ee924b5a6
Merge pull request #228 from tomchristie/print-dataset-with-no-headers
...
Fixed textual representation for Dataset with no headers
2016-02-25 12:58:35 -05:00
Tom Christie
d720beadac
Fixed __unicode__/__str__ for dataset with no headers
2016-02-25 13:28:29 +00:00
kennethreitz
ee9666a146
Merge pull request #225 from tusharmakkar08/master
...
PEP-8 standards followed
2016-02-22 09:17:34 -05:00
tusharmakkar08
77a9e25795
Reverted back yaml3 for ci failure
2016-02-22 17:05:06 +05:30
tusharmakkar08
d515724817
PEP-8 standards followed
2016-02-22 16:36:26 +05:30
kennethreitz
2814fbc381
v0.11.3
v0.11.3
2016-02-16 08:49:28 -05:00
kennethreitz
9ca1d4ec54
Merge pull request #220 from kennethreitz/master
...
Master
2016-02-16 08:46:37 -05:00
kennethreitz
abbb4e32d8
update footer in docs
2016-02-16 08:29:17 -05:00