Scalafunctional

Latest version: v0.6.0

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

Scan your dependencies

Page 1 of 2

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. The library is also relatively feature complete at this point almost two years after the first commit (February 5, 2015).

This release includes several new minor features and usability improvements in jupyter notebook environments

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.7.1

This is a hotfix release which separates Python 2 and 3 wheels on PyPI. This is primarily motivated by the different installation requirements for each. The python 2 version has dependencies on several libraries that are backports of python 3 libraries.

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.org](http://www.pyfunctional.org) and docs at [docs.pyfunctional.org](http://docs.pyfunctional.org)

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

Largest changes in this release are adding SQLite support and changing the project name to `PyFunctional`.

Name Change

Details can be found in the [RFC](https://github.com/EntilZha/PyFunctional/issues/62) issue. On PyPI, `0.6.0` was published as `PyFunctional` and `ScalaFunctional` to support transition to new name. Overall, name change better suits the package as it is about functional programming with python, even if it is inspired by Scala/Spark.

New Features
- Added support for reading to and from SQLite databases with `seq.sqlite3`
- Added `to_pandas` call integration

Internal Changes
- Changed code quality check service

0.5.0

Breaking Changes
- `Sequence.zip_with_index` has modified behavior to extend usability and conform to scala/spark APIs which breaks prior compatibility. The drop in replacement to fix this issue in code bases upgrading to `0.5.0` is changing `zip_with_index` to `enumerate`.

New Features
- Delimiter option on `to_file`
- `Sequence.sliding` for sliding windows over sequence of elements

Internal Changes
- Changed relative imports to absolute imports

Bug Fixes
- `_wrap` incorrectly converted tuples to arrays
- `to_file` documentation fixed
- Prior mentioned `zip_with_index` in breaking changes

Changelog: https://github.com/EntilZha/ScalaFunctional/blob/master/CHANGELOG.md
Milestone: https://github.com/EntilZha/ScalaFunctional/milestones/0.5.0

0.4.1

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

Contributors

Thank you to [adrian17](https://github.com/adrian17) for contributing `seq.range` to the release.

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.