Postdoc

Latest version: v1.0.0

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

Scan your dependencies

1.0.0

Initial release

0.4.0

Add better support for controlling the output via command flags.

For example, with these aliases:


alias dphd="phd --postdoc-dry-run"
alias qphd="phd --postdoc-quiet"


running `dphd psql` will print the connection args and that's it. This may be useful if you're doing something like `docker run --env PGPASSWORD=hunter2 pg94-util $(dphd psql)`.

running `qphd psql` is useful if you're logging stderr and don't want that extra output `phd` will spit out.

https://github.com/crccheck/postdoc/compare/v0.3.0...v0.4.0

0.3.0

https://github.com/crccheck/postdoc/compare/v0.2.0...v0.3.0

0.2.0

- Add ability to connect to mysql too
- Add ability to connect to a url besides the one stored in `DATABASE_URL`
- Don't show traceback if user uses ^C
- Echo helper output to stderr instead of stdout
- Use a makefile for managing the project

0.1.4

- Fixes how `pg_restore` expects the database name a little differently. Use it like `phd pg_restore < db.dump`
- Some minor usability tweaks
- Outputs the command it runs so you can copy paste it
- Adds support for basic `--version` and `--help` flags

0.1.3

Fixes how trying to connect with a password would not work on some systems.

This was the error users would see:

bash
Traceback (most recent call last):
File "/usr/lib/python2.7/subprocess.py", line 1249, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory


Environment variables are passed into the `env` kwarg now instead of in the process name.

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.