frictionlessdata / tabulator-py

Python library for reading and writing tabular data via streams.
https://frictionlessdata.io
MIT License
236 stars 42 forks source link

Ability to skip last rows. #225

Closed AcckiyGerman closed 6 years ago

AcckiyGerman commented 6 years ago

Added tests, code and updated readme.

Details

I added one more built-in processor for Stream (tabulator/stream.py line 448) , which has a buffer, so it could delete rows counting them from the end.

AcckiyGerman commented 6 years ago

Strange error in the travis logs: pytest requires Python '>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*' but the running Python is 3.3.6 @roll ?

AcckiyGerman commented 6 years ago

Update from @akariv : Pytest no longer supports Python 2.6 and 3.3 https://docs.pytest.org/en/latest/changelog.html#deprecations-and-removals

roll commented 6 years ago

@AcckiyGerman Thanks. Great work.

Could you please also address in this PR this issue - https://github.com/frictionlessdata/tabulator-py/issues/226 - just remove Pyhton 3.3 from tox/travis and other places. So we will be able to have a green build.

AcckiyGerman commented 6 years ago

@akariv @roll

roll commented 6 years ago

@AcckiyGerman Thanks. I'll be able to review and merge tomorrow morning.

roll commented 6 years ago

Sorry for the delay. Can't do today. I'm looking forward for a tomorrow merge.

AcckiyGerman commented 6 years ago

That's no problem with time, just hope it will be done :)

roll commented 6 years ago

If it's not blocking for today then I prefer to do it on Monday because today is super busy day in OKI)

roll commented 6 years ago

Released as v1.13.0