Pynonymizer

Latest version: v2.2.0

Safety actively analyzes 622059 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 7

2.2.0

Added
- pynonmizer now has docker images with the database client and dependencies built in. These are in beta, please report any issues to the github.
See https://hub.docker.com/r/rwnxt/pynonymizer

Changed
- mssql now sets Mars_Connection=Yes on connection as this allows support for threading without connection busy.

2.1.1

Fixed
- Fixed a bug where `--skip-steps` would be ignored if passed via the CLI. [152]

2.1.0

Added
- `--workers` option to control number of threads to use when anonymizing. Table anonymization will be done in threads and should result in a major speed boost. By default, a single worker is used.
- `--mssql-ansi-warnings-off` option (default: on) to disable ansi warnings when making updates

Fixed
- Fixed a bug where using the raw `pynonymizer` command would cause an unexpected error.

2.0.0

Added
- Better error messages for unsupported fake types - the error should now explain the problem and link to the docs in the right section. [133]
- Error message for when a fake_type is used with the wrong config kwargs (these would have previously been caught under "unsupported fake types")
- event hooks for progress events. you can now use your own progress bar if you're invoking the process via the python interface.
- support for connection strings in mssql.

Changed
- removed credentials validation (db_user, db_password) from the initial cli validation, as these are now handled by your original database. This should grant the most flexibility for different types of credentials.

Removed
- Positional INPUT. Use the -i/--input option instead
- Positional STRATEGYFILE. Use the -s/--strategy option instead
- Positional OUTPUT. Use the -o/--output option instead
- Deprecated environment keys: `DB_TYPE, DB_HOST, DB_NAME, DB_USER, DB_PASS`.
- `--fake-locale` `-l` `$PYNONYMIZER_FAKE_LOCALE` cli option. Use the `locale:` key in your strategyfile instead
- `dotenv` is no longer a dependency. you are expected to load your environment variables yourself!
- Removed local server check for mssql, as manual overrides using connection string will be possible. pynonymizer isn't going to stop you!

1.25.0

Changed
- Postgres FAKE_UPDATE strategy now uses an id-based randomization to pick from the seed table.
This speeds up updates on large tables, as the seed table no longer needs to be ordered for every row in the target table.
Also this makes performances less dependent on the length of the seed table.

1.24.0

Changed
- In MySQL,`db_host`, `db_user`, `db_pass` and `db_port` are now optional and will be omitted from CLI options if not passed.
You can now use the `my.cnf` file to pass config to the mysql CLI. [108]. Read more about the rationale behind these changes in [doc/database-credentials.md](doc/database-credentials.md).
- In Postgres, `db_pass` will be optional and will be omitted from CLI options if not passed. You can now use the `.pgpass` file to securely pass the password to the pg CLI. Read more about the rationale behind these changes in [doc/database-credentials.md](doc/database-credentials.md).

Page 1 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.