Rows

Latest version: v0.4.1

Safety actively analyzes 630656 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 2

0.2.0

**Released on: 2016-07-15**

Backwards Incompatible Changes

- `rows.fields.UnicodeField` was renamed to `rows.fields.TextField`
- `rows.fields.BytesField` was renamed to `rows.fields.BinaryField`

Bug Fixes

- Fix import errors on older versions of urllib3 and Python (thanks to
[jeanferri](https://github.com/jeanferri))
- [156](https://github.com/turicas/rows/issues/156) `BoolField` should not
accept "0" and "1" as possible values
- [86](https://github.com/turicas/rows/issues/86) Fix `Content-Type` parsing
- Fix locale-related tests
- [85](https://github.com/turicas/rows/issues/85) Fix `preserve_html` if
`fields` is not provided
- Fix problem with big integers
- [131](https://github.com/turicas/rows/issues/131) Fix problem when empty
sample data
- Fix problem with `unicode` and `DateField`
- Fix `PercentField.serialize(None)`
- Fix bug with `Decimal` receiving `''`
- Fix bug in `PercentField.serialize(Decimal('0'))`
- Fix nested table behaviour on HTML plugin

General Changes

- (EXPERIMENTAL) Add `rows.FlexibleTable` class (with help on tests from
[maurobaraildi](https://github.com/maurobaraldi))
- Lots of refactorings
- Add `rows.operations.transpose`
- Add `Table.__repr__`
- Renamte `rows.fields.UnicodeField` to `rows.fields.TextField` and
`rows.fields.ByteField` to `rows.fields.BinaryField`
- Add a man page (thanks to [kretcheu](https://github.com/kretcheu))
- [40](https://github.com/turicas/rows/issues/40) The package is available on
Debian!
- [120](https://github.com/turicas/rows/issues/120) The package is available
on Fedora!
- Add some examples
- [138](https://github.com/turicas/rows/issues/138) Add
`rows.fields.JSONField`
- [146](https://github.com/turicas/rows/issues/146) Add
`rows.fields.EmailField`
- Enhance encoding detection using
[file-magic](https://pypi.python.org/pypi/file-magic) library
- [160](https://github.com/turicas/rows/issues/160) Add
support for column get/set/del in `rows.Table`

Tests

- Fix "\r\n" on tests to work on Windows
- Enhance tests with `mock` to assure some functions are being called
- Improve some tests

Plugins

- Add plugin JSON (thanks [sxslex](https://github.com/sxslex))
- [107](https://github.com/turicas/rows/issues/107) Add `import_from_txt`
- [149](https://github.com/turicas/rows/issues/149) Add `import_from_xpath`
- (EXPERIMENTAL) Add `import_from_ods`
- (EXPERIMENTAL) Add `import_from_parquet`
- Add `import_from_sqlite` and `export_to_sqlite` (implemented by
[turicas](https://github.com/turicas) with help from
[infog](https://github.com/infog))
- Add `import_from_xlsx` and `export_to_xlsx` (thanks to
[RhenanBartels](https://github.com/turicas/RhenanBartels))
- Autodetect delimiter in CSV files
- Export to TXT, JSON and XLS also support an already opened file and CSV can
export to memory (thanks to [jeanferri](https://github.com/jeanferri))
- [93](https://github.com/turicas/rows/issues/93) Add HTML helpers inside
`rows.plugins.html`: `count_tables`, `extract_text`, `extract_links` and
`tag_to_dict`
- [162](https://github.com/turicas/rows/issues/162) Add `import_from_dicts`
and `export_to_dicts`
- Refactor `export_to_txt`

Utils

- Create `rows.plugins.utils`
- [119](https://github.com/turicas/rows/issues/119) Rename field name if name
is duplicated (to "field_2", "field_3", ..., "field_N") or if starts with a
number.
- Add option to import only some fields (`import_fields` parameter inside
`create_table`)
- Add option to export only some fields (`export_fields` parameter inside
`prepare_to_export`)
- Add option `force_types` to force field types in some columns (instead of
detecting) on `create_table`.
- Support lazy objects on `create_table`
- Add `samples` parameter to `create_table`

CLI

- Add option to disable SSL verification (`--verify-ssl=no`)
- Add `print` command
- Add `--version`
- CLI is not installed by default (should be installed as
`pip install rows[cli]`)
- Automatically detect default encoding (if not specified)
- Add `--order-by` to some commands and remove `sort` command. 111
- Do not use locale by default
- Add `query` command: converts (from many sources) internally to SQLite,
execute the query and then export

0.1.1

**Released on: 2015-09-03**

- Fix code to run on Windows (thanks [sxslex](https://github.com/sxslex))
- Fix locale (name, default name etc.)
- Remove `filemagic` dependency (waiting for `python-magic` to be available on
PyPI)
- Write log of changes for `0.1.0` and `0.1.1`

0.1.0

**Released on: 2015-08-29**

- Implement `Table` and its basic methods
- Implement basic plugin support with many utilities and the following formats:
- `csv` (input/output)
- `html` (input/output)
- `txt` (output)
- `xls` (input/output)
- Implement the following field types - many of them with locale support:
- `ByteField`
- `BoolField`
- `IntegerField`
- `FloatField`
- `DecimalField`
- `PercentField`
- `DateField`
- `DatetimeField`
- `UnicodeField`
- Implement basic `Table` operations:
- `sum`
- `join`
- `transform`
- `serialize`
- Implement a command-line interface with the following commands:
- `convert`
- `join`
- `sort`
- `sum`
- Add examples to the repository

Page 2 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.