Skip to main content

Doorman keeps your secret things

Project description

https://pypip.in/v/doorman/badge.png https://pypip.in/d/doorman/badge.png https://api.travis-ci.org/halitalptekin/doorman.png https://pypip.in/license/doorman/badge.png

Doorman keeps your secret things but main purpose of this tool, the convenience of the people working on the same file does not store passwords.

Install

pip install doorman

Usage

Firstly, you should create a config file(~/.config/doorman/doorman.yml) or put in text like below lines:

# social accounts
/home/user/twitter.rb:
 twitter_password: bHc0yz
 private_key: 1VpzKbLDTqC1vXb
/home/user/pythoncodes/githubapi.py:
 github_password: wKJ4cV

# secret text
/etc/secret.conf:
 my_secret: really secret thing

# secret function
../settings/my_settings.py:
 my_func: [i for i in others if i < 3]

Hide all secret things;

doorman -s
# Doorman defaults to -s when no argument is given
doorman
... my twitter password is {{ twitter_password }} ...
... i keep {{ my_secret }} from other ...

Un-hide all secret things;

doorman -u
... my twitter password is bHc0yz ...
... i keep really secret thing from other ...

Help for usage;

doorman -h
usage: doorman [-h] [-s | -u] [-v] [-c CONFIG_FILE]

Doorman keeps your secret things

optional arguments:
  -h, --help            show this help message and exit
  -u, --unsecret        Open all secret things
  -s, --secret          Hide all secret things
  -v, --verbose         Show all messages
  -c CONFIG_FILE, --config CONFIG_FILE
                        Config file

TODO

File open and replace: need to completely re-write

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
doorman-0.4.2.tar.gz (3.3 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page