This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

Installation

By using pip:

pip install phg

Example

Generate a random password, default to 16 characters:

$ phg
xz2jlVQoSLT8+V_+

Generate 20 random characters password:

$ phg -l 20
L`>jDtSHc+b5)Ef07.^s

Generate random password which may contain single quotes or double quotes:

$ phg -q
D5!&xG73\&n\&"BC

Generate multiple passwords for multiple users:

$ phg hvn htl daivq tuda namnh thanhnt
hvn: DyZ9CCzaK!B5m-ms
htl: R;#SF(6dkr>)0pNI
daivq: !Bk6}tX.qlO/:?{2
tuda: z7.(}qZ:9[IMv,op
namnh: z(Dj5BRv/al>}O=j
thanhnt: w8,oG-e!uRV$CiE6

Generate password and hash it with an external command (uses password as STDIN):

$ phg hvn -c 'shasum -a 512256' -i  # -i for stdin
hvn: 7Qm?i250R\06>&^*
ca6a3fa6a2e8bf2929f085c9bb043cf7aaec50e7cd532193634972869c9e0988  -

This is corresponding to generate password then pass it to command specified in -c through pipeline. Notice: shasum is command on OSX.

Generate password and hash it with an external command, password used as command argument, this mainly targets command that does not support reading from STDIN:

$ phg hvn -c '/tmp/addprefix'
hvn: 93k/0E{cZVc6jWz/
PREFIX93k/0E{cZVc6jWz/

Generate passwords for many users, construct a message that you can sent over Markdown powered chat app such as Slack, Mattermost:

$ phg -m -s https://grafana.pymi.vn hvn nvh pikachu pukachi
Address https://grafana.pymi.vn User: hvn Passwd: ``$8pZTMWX~NU5Z-2e``
Address https://grafana.pymi.vn User: nvh Passwd: ``S%]JWO-_bS]:w7QI``
Address https://grafana.pymi.vn User: pikachu Passwd: ``7^_c+e<|_%`RLMf1``
Address https://grafana.pymi.vn User: pukachi Passwd: ``E@EC5XcQPoN$+>57``

Authors

Viet Hung Nguyen <hvn@familug.org>

Release History

Release History

1.1.0

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

1.0.4

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

1.0.0

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
phg-1.1.0.tar.gz (3.2 kB) Copy SHA256 Checksum SHA256 Source Nov 9, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting