maltrail icon indicating copy to clipboard operation
maltrail copied to clipboard

PyPI

Open jayvdb opened this issue 4 years ago • 2 comments

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.

jayvdb avatar Jan 23 '20 04:01 jayvdb

There is at least one other app which is using maltrail as a component https://github.com/GlacierSheep/DomainBlockList/tree/master/craw/modules/trail

jayvdb avatar Jan 23 '20 05:01 jayvdb

Some more copy&pastes https://github.com/search?utf8=%E2%9C%93&q=suspendedpage.cgi+language%3APython&type=Code&ref=advsearch&l=Python&l=

jayvdb avatar Jan 31 '20 01:01 jayvdb