Skip to main content

A simple login library

Project description

This is a simple login library that will check if a username and password are a match on a line in a accounts file. Format of file must be USERNAME PASSWORD. The library takes three inputs, username, password, accountsFile. Register function takes 3 inputs, username, password, accountFile. Then it stores the username and password in the accountFile by appending it to the existing data. genPassword takes one input which is the length of the generated password and will return the password. View accounts takes the account file and prints the contents if the user is logged in. ViewAccounts takes loggedIn boolean and accounts file input.

Change Log

V0.0.1 21/05/2022

  • First release

V0.0.2 21/05/2022

  • Bug fixes

V0.0.3 21/05/2022

  • Added register function

v0.0.4 21/05/2022

  • Added view account function

  • Added genPassword function

Project details


Download files

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

Source Distribution

SLYLogin-0.1.2.tar.gz (3.0 kB view details)

Uploaded Source

File details

Details for the file SLYLogin-0.1.2.tar.gz.

File metadata

  • Download URL: SLYLogin-0.1.2.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.2

File hashes

Hashes for SLYLogin-0.1.2.tar.gz
Algorithm Hash digest
SHA256 05f1b98d8991066d793e2be38fd47621f7a82ecf42a7e13dbceaf883a5a1b08e
MD5 3132454a30aafc48faca4236a1fd1a0d
BLAKE2b-256 9a86760b348528008a31ac9aa6e3c09b2b9bb873aa1cdfe6c7362661dce9b7b5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page