Skip to content

nobrin/htauthfile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

htauthfile: Utility for basic htpasswd with pure Python

Overview

Basic authentication is one of simple authentication on http. This module provides easy way for modifing htpasswd file.

Usage

>>> import htauthfile
>>> ht = htauthfile.Basic("siteuser.htpasswd")
>>> print ht.authenticate("user1", "password")
True
>>> ht.update("user1", "newPassword")
>>> ht.save("siteuser.htpasswd")

About

Utility for basic htpasswd with pure Python.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages