Pyfunctional

Latest version: v1.5.0

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

Scan your dependencies

Page 2 of 3

1.0.0

Reaching `1.0` primarily means that API stability has been reached so I don't expect to run into many new breaking changes.

New Features

- Added optional initial value for `reduce` (https://github.com/EntilZha/PyFunctional/issues/86)
- Added table of contents to readme (https://github.com/EntilZha/PyFunctional/issues/88)
- Added data interchange tutorial with pandas (https://github.com/EntilZha/PyFunctional/blob/master/examples/PyFunctional-pandas-tutorial.ipynb)
- Implemented `itertools.starmap` as `Sequence.starmap` and `Sequence.smap` (https://github.com/EntilZha/PyFunctional/issues/90)
- Added interface to `csv.DictReader` via `seq.csv_dict_reader` (https://github.com/EntilZha/PyFunctional/issues/92)
- Improved `_html_repr_`, `show` and `tabulate` by auto detecting named tuples as column names (https://github.com/EntilZha/PyFunctional/issues/91)
- Improved `_html_repr_` and `show` to tell the user 10 of N rows are being shown if there are more than 10 rows (https://github.com/EntilZha/PyFunctional/issues/94)

Dependencies and Supported Python Versions

- Bumped version dependencies (https://github.com/EntilZha/PyFunctional/issues/89)
- Added Python 3.6 via Travis CI testing

0.8.0

New Features

- Implemented pretty html repr for Jupyter
- Implemented proper parsing of pandas DataFrames
- Detect when its possible to pretty print a table and do so
- `list`/`to_list` have a parameter `n` to limit number of results

Bug Fixes

- Fixed bug where `grouped` unnecessarily forces precomputation of sequence
- Remove package installations from default requirements that sometimes break installation on barebones systems in python 2.7

0.7.0

New Features

- Auto parallelization by using `pseq` instead of `seq`. Details at https://github.com/EntilZha/PyFunctional/issues/47
- Parallel functions: `map`, `select`, `filter`, `filter_not`, `where`, `flatten`, and `flat_map`
- Compressed file IO support for `gzip`/`lzma`/`bz2` as detailed at https://github.com/EntilZha/PyFunctional/issues/54
- Cartesian product from `itertools.product` implemented as `Pipeline.cartesian`
- Website at [pyfunctional.pedro.ai](http://pyfunctional.pedro.ai) and docs at [docs.pyfunctional.pedro.ai](http://docs.pyfunctional.pedro.ai)

Bug Fixes

- No option for encoding in `to_json` https://github.com/EntilZha/PyFunctional/issues/70

Internal Changes

- Pinned versions of all dependencies

Contributors

- Thanks to [versae](https://github.com/versae) for implementing most of the `pseq` feature!
- Thanks to [ChuyuHsu](https://github.com/ChuyuHsu) for implemented large parts of the compression feature!

0.6.0

New Features

- Added support for reading to and from SQLite databases
- Change project name to `PyFunctional` from `ScalaFunctional`
- Added `to_pandas` call integration

Internal Changes

- Changed code quality check service

0.5.0

New Features

- Added delimiter option on `to_file`
- `Sequence.sliding` to create a sliding window from a list of elements

Internal Changes

- Changed all relative imports to absolute imports with `__future__.absolute_import`

Bug Fixes

- Fixed case where `_wrap` is changing named tuples to arrays when it should preserve them
- Fixed documentation on `to_file` which incorrectly copied from `seq.open` delimiter parameter
- Fixed `Sequence.zip_with_index` behavior. used to mimic `enumerate` by zipping on the left size
while scala and spark do zip on the right side. This introduces different behavior and more flexible
behavior in combination with `enumerate` A start parameter was also added like in `enumerate`

0.4.1

Fix python 3 build error due to wheel installation of enum34. Package no longer depends on enum34

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.