Skip to content

4l1fe/reference-checker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Motivation

Having dozens of accounts and their relations require convenient management to keep them updated. Updating is manual ,therefore, the utility is auxiliary.

The article demonstrating a real usage.

Basic concept

Accounts are toml files that contain sensitive data where every file can refer to any other type of one by reference keyword.

Features

  1. Checking file existence and out of scope cases.
  2. Visualizing the references graph and errors.

Demonstration

Demo account files and with references and an error.

$ tree secrets
secrets
├── acc-bank.toml
├── acc-mail.toml
└── cert.pem

acc-bank.toml

login = "login"
password = "pass"
references = ["acc-mail.toml", "nonexistent.txt"]

acc-mail.toml

user = "user"
reference = "cert.pem"

Run checking and creating a plot.

$ python3 references.py create-plot --layout "kamada kawai" --relations --emphasize --names --dpi 400 --output-file demo.png accounts-folder

TO DO

  • Add per node subplots image colored in chess board way

About

Utility to help you check references integrity and visualize it.

Topics

Resources

Stars

Watchers

Forks

Languages