maltrail
maltrail copied to clipboard
PyPI
It would be very helpful to be able to use maltrail as a library as part of other apps.
The name is currently available on PyPI https://pypi.org/project/maltrail/ , and even if there is no interest in regularly publishing on PyPI it would be sensible to reserve that name on PyPI to prevent someone else taking it.
This could be done without much restructuring I believe, with trails
included as-is, and with core
mapped to a library package called maltrail
. That would be more than sufficient to make the package usable as part of other projects.
The main change I see being needed is use of thirdparty
should be changed so that thirdparty
is inserted into sys.path
in the scripts, and then odict
and six
loaded as normal packages.
There is at least one other app which is using maltrail as a component https://github.com/GlacierSheep/DomainBlockList/tree/master/craw/modules/trail
Some more copy&pastes https://github.com/search?utf8=%E2%9C%93&q=suspendedpage.cgi+language%3APython&type=Code&ref=advsearch&l=Python&l=