Clone of pyfim making it installable as a dependency. Copied from http://www.borgelt.net/pyfim.html - I did not write any of this code.
pip install git+https://github.com/csinva/pyfim-clone
Now we can import pyfim (from python):
from fim import fpgrowth
If you would like to include pyfim as a dependency for your project, simply add this to your setup.py
file:
setup(
...
install_requires=[
'fim @ git+https://github.com/csinva/pyfim-clone',
],
...
)
Alternatively, you can add it via these lines:
setup(
...
install_requires=[
'fim',
],
dependency_links=[
'https://github.com/csinva/pyfim-clone/tarball/master#egg=fim-6.28'
],
...
)