rwnx / pynonymizer

A universal tool for translating sensitive production database dumps into anonymized copies.
https://pypi.org/project/pynonymizer/
MIT License
105 stars 38 forks source link

Improve Programmatic Invokation: convenience methods/interface #31

Closed rwnx closed 3 years ago

rwnx commented 3 years ago

Is your feature request related to a problem? Please describe. At the present time, pynonymizer only has 1 way to be invoked, and it is analagous to the CLI, so it has a lot of flags and kwargs to set.

Describe the solution you'd like The main ways of invoking pynonymizer should be covered with convenience methods.

When i say "main ways" I'm refering to common workflows, like:

This is quite an abstract request but I think we recognise pynonymizer can do more for you if you're not using the CLI !

rwnx commented 3 years ago

I've added a "run" import for the main function, which i plan to improve in subsequent versions. Check out #34 for more info!

rwnx commented 3 years ago

I'm closing this to focus on #32 , since being able to interact with pynonymizer classes directly should give users ultimate control on what the tool does (and in what order, etc)