Comments (6)
Any specific library missing in python3 to be replaced?
from rows.
@ocarneiro, I actually don't know. We currently have these dependencies:
unicodecsv
(for CSV plugin -- we may usecsv
from standard library on Python3)click
andrequests
(for command-line interface)lxml
(HTML and ODS plugins)xlrd
andxlwt
(XLS)openpyxl
(XLSX)
And also development requirements:
coverage
ipdb
mock
nose
pylint
yanc
from rows.
@ocarneiro, all dependencies are ported.
csv
is Unicode-only in Python 3, and mock
is in the standard library as unittest.mock
since 3.3. The others claim py3 compatibility on PyPI.
from rows.
Working in progress by @henriquebastos on #151.
from rows.
Since many changes related to rows.fields
were made on last version 0.2.1, I've started a new branch with Python 3 migration, from scratch: feature/python3-support.
First I converted the rows.fields
module, utility functions and the library core, then I converted some plugins. By now I just need to convert the JSON and Parquet plugins. All tests are passing on Python 2.
@henriquebastos, I'd like somebody to review this branch once I finished -- could you please to it? I think I'm going to finish early this week.
from rows.
Update: the work is almost complete! By now all tests are passing on both versions, but still need to:
- Create test and fix a little issue I found on plugin HTML
- Create test and fix a little issue I found on BinaryField
- Fix problem with BinaryField precedence
- Fix examples
ecuador_radiodifusoras.py
(Python 2),slip_opinions.py
(2 and 3) andtests_uwsgi_log.py
/uwsgi_log_plugin.py
and the related problems on the library which are causing them to fail - Configure tox
- Verify the best way to expose plugin functions (
from rows.plugins.html import extract_links
won't work, for example)
from rows.
Related Issues (20)
- Support shapefiles (SHP and GeoJSON)
- Create Schema class
- Handle timezones more efficiently
- Error importing XHTML with encoding declaration
- [XLS] support file object
- Python 3.7.0 error on import rows HOT 2
- Make Row object pickable
- Feature request: add option to disable field type inferencing HOT 6
- pgimport enhancements
- Support feather file type
- After pip install, import immediately breaks in interpreter due to plugin error with sys.maxsize HOT 1
- Use psycopg2' cursor.copy_expert instead of psql's copy
- Should support on python 3.5 be dropped, as is no longer officially supported?
- Add documentation about slugifying process of field names
- [pgimport] Option to do not store values as NULL
- Python 3.10: cannot import name 'Iterator' from 'collections'
- NameError: name 'obj' is not defined
- pgexport should dump JSON/JSONB fields using JSON representation (not Python's)
- New release on pypi HOT 7
- [pgimport] Wrong imported bytes
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rows.