{ "info": { "author": "", "author_email": "", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Console", "Intended Audience :: Developers", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "[Installation](#installation) |\n[Documentation](https://bff.readthedocs.io/en/latest/)\n\n# bff\n> Best Fancy Functions, your Best Friend Forever\n\n
\n\nThis package contains some utility functions from plots to data manipulations and could become your new bff.\n\n## Installation\n\n```sh\npip install bff\n```\n\n## Documentation\n\nAvailable [here](https://bff.readthedocs.io/en/latest/).\n\n## Development setup\n\n```sh\ngit clone https://github.com/axelfahy/bff.git\ncd bff\npython -m venv venv-dev\nsource venv-dev/bin/activate\npip install -r requirements_dev.txt\npip install -e .\n```\n\n## Tests\n\n```sh\nmake all\n```\n\nTo test plots, images with baseline should be placed in `tests/baseline` and can be generated using `make build-baseline`.\n\nAs of *v0.2*, plots are not yet tested in the travis build.\n\n## Release History\n\n* 0.2.3\n * ADD: Function ``normalization_pd`` to normalize a DataFrame.\n* 0.2.2\n * FIX: Function ``value_2_list`` renamed to ``kwargs_2_list``.\n * ADD: Function ``value_2_list`` to cast a single value.\n* 0.2.1\n * ADD: Function ``plot_counter`` to plot counter as bar plot.\n* 0.2.0\n * ADD: Separation of plots in submodule ``plot``. This breaks the previous API.\n * ADD: Tests for the plot module using ``pytest-mlp``.\n * ADD: Images from plot in the documentation and notebook with examples.\n * FIX: Correction of resampling in the ``plot_series`` function.\n* 0.1.9\n * ADD: Option ``loc`` in ``plot_series`` function.\n * ADD: Function ``cast_to_category_pd`` to cast columns to category ``dtype`` automatically.\n* 0.1.8\n * ADD: Option ``with_missing_datetimes`` in ``plot_series`` function.\n * ADD: Mypy for type verification.\n * FIX: Tests when raising exceptions in ``sliding_window`` function.\n* 0.1.7\n * ADD: ``FancyConfig`` to handle configuration files.\n* 0.1.6\n * FIX: Correction of dependencies for doc.\n* 0.1.5\n * ADD: Documentation of project on Read the Docs.\n* 0.1.4\n * ADD: Function ``mem_usage_pd`` to calculate the memory usage of a pandas object.\n * ADD: Function ``idict`` to invert the key / values of a dictionary.\n * ADD: Add Makefile for testing code and style.\n * ADD: Add python-versioneer to handle version of package.\n* 0.1.3\n * ADD: Travis, flake8, coveralls and PyUp configurations.\n * ADD: Function ``get_peaks`` to get the peaks of a time series.\n * ADD: Function ``plot_series`` to plot a time series.\n * CHANGE: Restructuration of repo.\n* 0.1.2\n * ADD: Function ``plot_predictions`` function to plot the actual values and the predictions of a model.\n * CHANGE: Add axes in plot functions.\n* 0.1.1\n * ADD: Readme with instructions.\n * CHANGE: Improvement of `plot_history` function.\n * FIX: Fix the imports in the test.\n* 0.1.0\n * Initial release.\n\n## Meta\n\nAxel Fahy \u2013 axel@fahy.net\n\nDistributed under the MIT license. See ``LICENSE`` for more information.\n\n[https://github.com/axelfahy](https://github.com/axelfahy)\n\n## Contributing\n\n1. Fork it (