Skip to content

Add support for use as an installable package #152

Description

@EchoStatements

Hi,

I've been trying out this library and found it really useful. Thanks for all the work you've put into it.

However, I did find it somewhat fiddly to integrate into my own Python environments since it's not currently set up to be used as a Python package. I'd be happy to contribute a PR to add this if you'd be interested?

Essentially, what I'm proposing is to change the way the library is set up, so that rather than having to create an environment specifically for the library, you could also install it into an existing environment with pip/poetry/uv/etc...

    # pip
    pip install git+https://github.com/privacytrustlab/ml_privacy_meter.git

    # uv
    uv add git+https://github.com/privacytrustlab/ml_privacy_meter.git

    # Poetry
    poetry add git+https://github.com/privacytrustlab/ml_privacy_meter.git

I don't think this would require huge changes: mostly adding package metadata and moving where dependencies are listed, updating documentation and a bit of thought/discussion about how to make sure your current workflows with the library aren't affected.

Let me know if this sounds like something that would be useful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions