summaryrefslogtreecommitdiff
path: root/tablib/packages
Commit message (Collapse)AuthorAgeFilesLines
* Made blank lines PEP-8 compatibleClaude Paroz2019-10-031-1/+0
|
* Refs #273 - Replaced vendored markup lib by dependencyClaude Paroz2019-10-032-966/+0
|
* Trim trailing white space throughout the projectJon Dufresne2019-03-022-19/+19
| | | | | | Many editors clean up trailing white space on save. By removing it all in one go, it helps keep future diffs cleaner by avoiding spurious white space changes on unrelated lines.
* Remove vendored ordereddict packageJon Dufresne2019-01-011-127/+0
| | | | | Now that Python 2.6 support has been dropped, can remove the vendored ordereddict package. Use the stdlib collections.OrderedDict instead.
* reStructuredText (#336)Norman Hooper2018-09-121-0/+24
| | | | | | | | | | * median for Python 2 * More compat * Support reStructuredText * Tests
* Replaced vendored odfpy by a dependency (#280)Claude Paroz2017-02-2668-33780/+0
| | | Refs #273.
* Replaced vendored omnijson by the standard lib version (#279)Claude Paroz2017-02-248-1657/+0
| | | Refs #273.
* Replaced vendored pyyaml by a dependency (#278)Claude Paroz2017-02-2034-11520/+0
|
* Replaced vendored xlrd/xlwt by dependencies (#277)Claude Paroz2017-02-2091-42745/+0
| | | Refs #273.
* Replaced vendored openpyxl by a dependency (#221)Claude Paroz2017-02-2064-11281/+0
| | | | | | | | | | | | 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.
* Replaced vendored unicodecsv by a dependencyBruno Alla2017-01-151-197/+0
| | | | Using https://pypi.python.org/pypi/unicodecsv/0.14.1
* Remove LOCALE from str regular expressionAndrii Soldatenko2016-12-182-4/+4
|
* changes in code refactoringSushrut Rathi2016-05-031-4/+2
|
* Reverted back yaml3 for ci failuretusharmakkar082016-02-222-13/+5
|
* PEP-8 standards followedtusharmakkar082016-02-228-204/+228
|
* More Python 3 -friendly formatting.Rumpu-Jussi2015-10-271-1/+1
|
* More Python 3 -friendly formatting.Rumpu-Jussi2015-10-271-1/+1
|
* More Python 3 -friendly formatting.Rumpu-Jussi2015-10-271-2/+2
|
* Two 'raise AttributeError' converted to Python 3 -friendly format.Rumpu-Jussi2015-10-271-20/+20
|
* Adding DBF support.James Douglass2014-08-2114-0/+3304
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Squashing two squashes. Adding DBF support Adding the DBFpy python package The DBFpy package provides basic dbf support for python. Still need to write an interface format file for tablib. Adding DBF format and imports in compat.py Adding DBF format to formats.__init__ DBF format had not been committed to formats.__init__, so I’m adding it. Adding a dbf import test Adding at test to check whether a DBF can be created properly and compare it against a regression binary string. Adding an import_set test (and renaming another) Adding an import_set test that conforms with the other import_set tests for other formats. I’m also adding an export_set function. Fixing system site-packages import Importing dbfpy from tab lib.packages instead of system site packages. Fixing a syntaxError in dbfpy/dbfnew.py Fixing an issue with ending field definitions DBFPY, when writing a DBF, terminates the field definitions with a newline character. When importing a DBF from a stream, however, DBFPY was looking only for the \x0D character rather than the newline. Now we consider both cases. Adding a test for dbf format detection Adding DBF filetype detection tests Adding tests for YAML, JSON, TSV, CSV using the DBF detection function. Handling extra exceptions in dbf detection Adding exception handling for struct.error, an exception that DBFPY raises when trying to unpack a TSV table. Since it’s not a DBF file, we know it’s not a DBF and return False. Fixing an issue with the DBF set exporting test The DBF set export test needed a bit enabled (probably the writeable bit?) before the test would match the regression output. Updating dbf interface Updating the int/float class/type checking in the dbf format file. This allows for python2 and python3 compatibility. Tweaking dbfpy to work with python3 Altering a couple of imports. Updating dbf tests for binary data compatibility Making regression strings binary and improving debug messages for dbf assertion errors. Improving file handling for python 2 and 3 Updating DBF file handling for both python 2 and 3 in the _dbf interface. Adding a (seemingly) functional dbfpy for python3 I’ve made dbfpy python3 compatible! Tests appear to pass. A significant change was made to the format detection test whereby I made the input string a binary (bytes) string. If the string is not a bytes string by the time we try to detect the format, we try to decode the string as utf-8 (which admittedly might not be the safest thing to do) and try to decode anyways. Updating imports for tablib dbf interface Now importing python2 or python3 versions as appropriate. Updating dbf package references in compat.py Cleaning up debugging print statements Updating stream handling in dbf interface Factoring the open() call out of the py3 conditional and removing the temp file before returning the stream value. Adding dbfpy3 init.py I had apparently missed the dbfpy3 init file when committing dbfpy3. Adding dbfpy and dbfpy3 to setup.py's package list Switching test order of formats Putting dbf format testing ahead of TSV. In some of my tests with numeric DBF files, I encountered an issue where the ASCII horizontal tab character (0x09) would appear in a numeric DBF. Because of the order of tabular format imports, though, format detection would recognize it as a TSV and not as a DBF. Adding my name to AUTHORS. Adding a DBF property to tab lib core Documentation includes examples on how to explicitly load a DBF straight from a file and how to load a DBF from a binary string. Also, how to write the binary data to a file. Adding DBF format notes to README Adding exclamation point to DBF section title Matching formatting of XLS section Updating setup.py to match current dev state Setup.py had been updated since I forked the tablib repo, so I’m updating setup.py to match its current structure while still maintaining DBF compatibility. Fixed callable collumn test the test was sending a list instead of a function CORE CONTRIBUTORS :cake: @iurisilvio v0.10.0 WHEELS 3.3, 3.4 makefile for WHEELS v0.10.0 history ALL Separate py2 and py3 packages to avoid installation errors. Fix #151 Running travis and tox with python 3.4. Adding DBF support Adding the DBFpy python package The DBFpy package provides basic dbf support for python. Still need to write an interface format file for tablib. Adding DBF format and imports in compat.py Adding DBF format to formats.__init__ DBF format had not been committed to formats.__init__, so I’m adding it. Adding a dbf import test Adding at test to check whether a DBF can be created properly and compare it against a regression binary string. Adding an import_set test (and renaming another) Adding an import_set test that conforms with the other import_set tests for other formats. I’m also adding an export_set function. Fixing system site-packages import Importing dbfpy from tab lib.packages instead of system site packages. Fixing a syntaxError in dbfpy/dbfnew.py Fixing an issue with ending field definitions DBFPY, when writing a DBF, terminates the field definitions with a newline character. When importing a DBF from a stream, however, DBFPY was looking only for the \x0D character rather than the newline. Now we consider both cases. Adding a test for dbf format detection Adding DBF filetype detection tests Adding tests for YAML, JSON, TSV, CSV using the DBF detection function. Handling extra exceptions in dbf detection Adding exception handling for struct.error, an exception that DBFPY raises when trying to unpack a TSV table. Since it’s not a DBF file, we know it’s not a DBF and return False. Fixing an issue with the DBF set exporting test The DBF set export test needed a bit enabled (probably the writeable bit?) before the test would match the regression output. Updating dbf interface Updating the int/float class/type checking in the dbf format file. This allows for python2 and python3 compatibility. Tweaking dbfpy to work with python3 Altering a couple of imports. Updating dbf tests for binary data compatibility Making regression strings binary and improving debug messages for dbf assertion errors. Improving file handling for python 2 and 3 Updating DBF file handling for both python 2 and 3 in the _dbf interface. Adding a (seemingly) functional dbfpy for python3 I’ve made dbfpy python3 compatible! Tests appear to pass. A significant change was made to the format detection test whereby I made the input string a binary (bytes) string. If the string is not a bytes string by the time we try to detect the format, we try to decode the string as utf-8 (which admittedly might not be the safest thing to do) and try to decode anyways. Updating imports for tablib dbf interface Now importing python2 or python3 versions as appropriate. Updating dbf package references in compat.py Cleaning up debugging print statements Updating stream handling in dbf interface Factoring the open() call out of the py3 conditional and removing the temp file before returning the stream value. Adding dbfpy3 init.py I had apparently missed the dbfpy3 init file when committing dbfpy3. Adding dbfpy and dbfpy3 to setup.py's package list Switching test order of formats Putting dbf format testing ahead of TSV. In some of my tests with numeric DBF files, I encountered an issue where the ASCII horizontal tab character (0x09) would appear in a numeric DBF. Because of the order of tabular format imports, though, format detection would recognize it as a TSV and not as a DBF. Adding my name to AUTHORS. Adding a DBF property to tab lib core Documentation includes examples on how to explicitly load a DBF straight from a file and how to load a DBF from a binary string. Also, how to write the binary data to a file. Adding DBF format notes to README Adding exclamation point to DBF section title Matching formatting of XLS section Updating setup.py to match current dev state Setup.py had been updated since I forked the tablib repo, so I’m updating setup.py to match its current structure while still maintaining DBF compatibility. Fixed callable collumn test the test was sending a list instead of a function CORE CONTRIBUTORS :cake: @iurisilvio v0.10.0 WHEELS 3.3, 3.4 makefile for WHEELS v0.10.0 history ALL Separate py2 and py3 packages to avoid installation errors. Fix #151 Running travis and tox with python 3.4.
* Update the vendored unicodecsv to fix None handlingGavin Wahl2014-06-241-51/+143
| | | | | | | | | | | The old version of unicodecsv incorrectly (according https://docs.python.org/2/library/csv.html#csv.writer) encoding None values as the string 'None', instead of the string '' as the python documentation specifies. The newest version of unicodecsv has fixed this. Fixes #121
* Fix test_unicode_appendfix/unicode_appendIuri de Silvio2014-04-191-1/+5
|
* Merge pull request #63 from jsdalton/fix_unicode_error_in_html_outputKenneth Reitz2014-01-081-6/+6
|\ | | | | Fix unicode error in html output
| * Fix UnicodeError in HTML outputJim Dalton2012-05-101-6/+6
| | | | | | | | | | | | | | | | * Alter `test_unicode_append` so that actual unicode characters outside the ASCII bytestring range are tested. * Make sure output of `render` in markup.py is unicode * Add wrapper around output of `export_set` in _html.py so that unicode characters are output.
* | Merge pull request #68 from msabramo/python3Kenneth Reitz2012-11-159-0/+8015
|\ \ | | | | | | Improve Python 3 compatibility
| * | Changes for Python 3 compatibility, including vendorizing xlrd3Marc Abramowitz2012-05-159-0/+8015
| |/
* | Remove __init__ from slots in ExcelFormula.py for Python 3.3 compatibilityPaul Moore2012-09-211-1/+1
|/
* that wasn't right.Kenneth Reitz2011-08-151-1/+1
|
* Added XLS import supportGreg Thornton2011-07-1413-0/+10217
|
* add omnijsonKenneth Reitz2011-06-208-0/+1657
|
* remove anyjsonKenneth Reitz2011-06-202-235/+0
|
* Python3 ods fixKenneth Reitz2011-05-221-5/+5
|
* py3k tests now passMark Rogers2011-05-152-3/+9
|
* start of the py3k port of odfpyMark Rogers2011-05-1434-0/+16887
|
* adding odfpy to packagesMark Rogers2011-05-1434-0/+16887
|
* fallback on from xml.etree.ElementTree for pypyKenneth Reitz2011-05-131-1/+6
|
* no vendored testsKenneth Reitz2011-05-1372-4793/+0
|
* less compat reliance Kenneth Reitz2011-05-132-3/+1
|
* Finally! :sparkles:Python 3:sparkles: port of openpyxlKenneth Reitz2011-05-1329-1651/+1657
|
* ughKenneth Reitz2011-05-12101-31/+8192
|
* Convert openpyxl to relative importsKenneth Reitz2011-05-1226-338/+337
|
* Merely a proof of concept, soon to be tidied upMark Rogers2011-05-1250-0/+7777
|
* integration of unicodecsv moduleKenneth Reitz2011-05-121-0/+105
| | | refs #7
* 3.2 compatibilityKenneth Reitz2011-03-231-2392/+2392
|
* fix imports for 2xKenneth Reitz2011-03-231-7/+7
|
* import magicKenneth Reitz2011-03-231-0/+118
|
* 2.5 compatible version checkingKenneth Reitz2011-03-231-10/+7
|
* python3 AND python2 packages.Kenneth Reitz2011-03-2384-11963/+20179
|
* xlwt3 packageKenneth Reitz2011-03-2318-0/+11308
|
* cyaml fixesKenneth Reitz2011-03-231-13/+16
|