Code Monkey home page Code Monkey logo

lightning-pass's Introduction

Lightning Pass


Lightning Pass is using Python, PyQt and MySQL


Installation

Install instructions

  1. Install Python https://www.python.org/
  2. Install Poetry https://python-poetry.org/docs/
  3. Install MySQL https://dev.mysql.com/doc/mysql-installation-excerpt/5.7/en/
  4. Clone this repository
git clone [email protected]:kucera-lukas/lightning-pass.git
  1. Install dependencies
poetry install

Create the .env file

Create a .env file and copy the contents of .env.example file into the .env file

cp .env.example .env

Initialize database

mysql -u user -e "CREATE DATABASE lightning_pass";

Development

GUI window

python ligtning_pass

Tests

pytest

Qt Creator

qtcreator lightning_pass/gui/static/qt_designer/*.ui
# generate python code from `main.ui`
pyuic5 lightning_pass/gui/static/qt_designer/main.ui -o lightning_pass/gui/static/qt_designer/output/main.py

Qt Style Sheets

Both light and dark mode stylesheets are located in the static folder

Features

  • Random password generation based on mouse movement
  • Account manager
  • Password manager
  • Secure password storage in database

What I've learned

  • Python - Advanced decorator, descriptor and context manager usage. Gained more familiarity with standard library modules like functools or contextlib
  • PyQT - QSS files and stylesheets, QtDesigner, QtSlots - mouse tracking, QStackedWidget, QInputDialog and many more...
  • Cryptography - hashing and symmetric encryption by deriving a key from "master password"
  • SQL/MySQL - table relationships, unique keys, proper way to handle SQL injection
  • VCS and GitLab - pre-commit hooks, continuous integration, git rollbacks,...

Preview

OS Support

Tested on Linux and Windows 10

Contributing

pre-commit install

License

Developed under the MIT license

lightning-pass's People

Contributors

kucera-lukas avatar imgbotapp avatar pre-commit-ci[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.