• Python Login System

    This is a simple login system built using python. It is made for backend and used in the terminal but does have colors for a good aesthethic. It is lightweight and includes features like banning and messaging


    This is my first project I have made. The idea was that it is a simple login system built in python, because that was what I was learning. I made it as a way of learning python. With that it is not the most complex project ive made but definitely a memorable one.

    • Readme

      Simple file-based authentication system with messaging, permissions, and moderation.

      Documentation β€’ Report Bug β€’ Request Feature


      🌟 Why This Login System? 🌟

      • Fully customizable and easy to extend
      • Includes real-world features (messaging, permissions, banning, etc.)
      • Optimized and Lightweight β€” no database required

      ✨ Features ✨

      • User authentication (login & signup)
      • Password hashing using SHA-256
      • Between-user messaging
      • Mailbox system (read, send, clear)
      • Permission system (5 tiers)
      • User promotion system
      • User banning system
      • Account deletion
      • Initial setup mode

      πŸ“ Data Storage Overview

      • users.txt β†’ Stores usernames and hashed passwords
      • bannedusers.txt β†’ Stores banned usernames
      • user_(id).txt β†’ Stores user permissions
      • mailbox_(username).txt β†’ Stores user messages

      πŸš€ Quick-Start Guide

      download the program by running:

      pip install simple-login-system==0.{version}

      Run it by typing

      python -m simplelogin.login

      Run the program and type:

      setup

      !DISCLAIMER!

      Setup user can only be used for promoting and some default features

      Make a different user and promote it to use more features

      This will:

      • Create a default admin account
      • Grant admin promotion permissions

      Default credentials:

      • Username: setup
      • Password: setup

      Important: Delete this account after creating your own admin account and give it perms.


      Commands

      CommandDescription
      helpShow all commands
      date/timeShows the current date and time
      messageSend a message to a user
      readmailRead your mailbox
      promotePromote a user (requires permission)
      banBan a user
      blacklistBlacklists a username from use for a new account
      deleteaccountDelete your account
      changelogView changes
      quitExit the program

      🀝 Contributing

      • Found a bug? Open an issue
      • Have an idea? Suggest a feature
      • Want to improve the code? Submit a PR

      All contributions are welcome.


      AI declaration

      Used copilot for deployment to PyPi and chatgpt for simple bug fixes early on.


      Optimization

      • I made the program as optimized as possible by using defs to make it run smooth, I also dont use any databases or external programs that might make it take more memory or cpu capability.
      • I made it run fast and smooth with not too much random bulk that would be in the way of users access to the program


      Made with learning in mind.
      If you like it, consider ⭐ starring the repo!

      **I will try to update this program once in a while so I have a changelog aswel.**

    • Github Repository

  • thumbnail

Recent Devlogs:

Fixed Ban system

Pepino worked on Python Login System on 2026-03-25

First work on project didnt log but Made ban system and message system work flawlessly again :)

Also working on some more bug fixes and making database :p

Fixed Ban system

Improved readme

Pepino worked on Python Login System on 2026-03-25

I made a better and more appealing readme. I will later add redirects under the links for documentation, bug reports and feature requests.

Improved readme

Fixed program restarting to log out

Pepino worked on Python Login System on 2026-03-25

Made it so you don’t have to restart the program after quitting. Automatic rollback to login screen after quit or logging out

Fixed program restarting to log out

Added pypi support

Pepino worked on Python Login System on 2026-03-25

added pypi support and time command

Added pypi support

Improved readme even more

Pepino worked on Python Login System on 2026-03-25

I improved the readme and added ai declaration to it as requested by flavortown staff

Improved readme even more

Blacklist command

Pepino worked on Python Login System on 2026-03-25

Hello everyone, Today I did a lot of random stuff because there was still a lot of bugs in my project. It was kind of hard to figure out some things but it worked out so yeah thats cool. Also I will put the changelog ↓ and in the corresponding file in the repository. Thank you

!Try now!

blacklist

To create a blacklist for usernames
β€Žβ€”

Changelog version 0.1.3

  • Did A LOT of random bug fixes
  • Fixed changelog not working on some devices
  • Fixed time system
  • Added time system
  • Fixed ban system
  • Added PyPi deployment support
  • Added unban mechanic
  • Renamed banusername to blacklist to avoid confusion
  • More that I forgot
Blacklist command

Added better install explanation

Pepino worked on Python Login System on 2026-03-25

Hello everyone, Today I figured out another time that people are dumb and cant read check out the repository. Anyways I updated the readme on the pypi aswel so now it should be more straightforward to install my project. Thank you
β€Žβ€”
Changelog version 0.1.4

  • made better install explanation cus people dumb
Added better install explanation

Rewrote everything

Pepino worked on Python Login System on 2026-04-30

Final ft devlog sobspin

Yo everyone, I am dumb and I left a lot of bugs in the program pf . So I rewrote the whole thing yayayayayay . Took a lot of work and learned a lot and with a little help of ai with some repetitive ass tasks I got through it. Now everything should work a lot more clean and without bugs :D

Changelog version 1.0

  • Rewrote everything…
Rewrote everything