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

v0.0.5 - v0.1.3 21/05/2022

  • Bug fixes

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

Uploaded Source

File details

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

File metadata

  • Download URL: SLYLogin-0.1.3.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.3.tar.gz
Algorithm Hash digest
SHA256 8254f2ffa387f24d90c2b54a701dc757a6a69f3f49a901b3d5c37e81da75e312
MD5 93a28580179c7762a42841af4edaaae5
BLAKE2b-256 5dbfebb1480e0a51581113b773c8b470346364a536fe411d10b70bd009e3eede

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