Code Monkey home page Code Monkey logo

Comments (5)

rwnx avatar rwnx commented on August 23, 2024

Sounds like a useful suggestion for automation projects! ✨

Can you give me an example of how the interface might work? I assume you were thinking of piping the sql dump directly from mysqldump or cat'ing a file:

mysqldump | pynonymizer 

I can say with some certainty that this is essentially only going to be available to mysql/postgresql, because of the way the mssql integration works. Not sure if it affects you, but it's worth saying.

from pynonymizer.

jcbeukes avatar jcbeukes commented on August 23, 2024

Hi, thanks for your fast reply!

Yeah, we're using mysql. So we'd like to ssh mysqldump... ... | panonamizer --input -
That way we don't have to have an un-anonymized data dump on our local computer.

from pynonymizer.

rwnx avatar rwnx commented on August 23, 2024

This is such a good idea!!! 🥳
it paves the way for all kinds of stuff i was originally going to have to abstract behind a load of command line options. I need to bake this into more tools!

The interface will be --input - and i've also added --output - for stdout, since what's a pipe without both ends!

I've created PR #17 for this.

This should go out with 1.12.0 after merging.

from pynonymizer.

rwnx avatar rwnx commented on August 23, 2024

please test in v1.12.0 and let me know if there's anything i've missed. https://pypi.org/project/pynonymizer/1.12.0/

from pynonymizer.

jcbeukes avatar jcbeukes commented on August 23, 2024

Awesome! Thanks so much. I'll test it and let you know!

from pynonymizer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.