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.1.tar.gz (3.0 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: SLYLogin-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 8f94083532406050f897d715bf36c0e275447f22c4af5980557a5215c753cc10
MD5 a2b676dd51095296f379564f030677b8
BLAKE2b-256 1bd3ffe83c101f08cc51e252d10947bbbcb6376ac4b0a3db1439e2d9e1a42dfe

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