Skip to main content

Cross-platform local authentication library for Python applications.

Project description

pylocalauth


pylocalauth

Cross-platform local authentication library for Python applications.


build PyPI version Downloads


Documentation: README

Source Code: Repository


Add local authentication to your Python applications with ease. pylocalauth provides a simple and secure way to authenticate users using platform-specific methods such as passwords, biometrics, and PINs.

Features

Feature Status
Cross-platform: Works on Windows, macOS, and Linux. (macOS is still in beta, but it should work reliably)
Multiple authentication methods: Supports password-based, biometric (Windows Hello, Touch ID, etc.), and PIN-based authentication.
Easy integration: Simple API for integrating local authentication into your Python applications.
Secure: Utilizes platform-specific security features to ensure user data is protected.
Lightweight: Minimal dependencies and easy to install.

Contributing

We welcome contributions from the community! If you'd like to contribute, please follow the steps explained in the CONTRIBUTORS file.

Contributions Needed

We are especially looking for help with the following:

  • macOS support: Testing, bug reports, and improvements for the macOS backend.
  • Documentation & Tests: Examples, API docs, tests (using pytest and pytest-asyncio) and usage guides.
  • CI/CD: Enhancements to cross-platform test automation.
  • New authentication methods: Suggestions or PRs for additional local authentication backends.
  • Issue triage: Help us reproduce and resolve open issues.

If you want to help, please see CONTRIBUTORS and open an issue or pull request!

Development

Setup environment

We use Hatch to manage the development environment and production build. Ensure it's installed on your system.

Run unit tests

You can run all the tests with:

hatch run test

Format the code

Execute the following command to apply isort and black formatting:

hatch run lint

License

This project is licensed under the terms of the Apache 2.0 license. See the LICENSE file for more information.

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

pylocalauth-1.0.0.tar.gz (206.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pylocalauth-1.0.0-py3-none-any.whl (12.1 kB view details)

Uploaded Python 3

File details

Details for the file pylocalauth-1.0.0.tar.gz.

File metadata

  • Download URL: pylocalauth-1.0.0.tar.gz
  • Upload date:
  • Size: 206.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.28.1

File hashes

Hashes for pylocalauth-1.0.0.tar.gz
Algorithm Hash digest
SHA256 c847b99a00491605a3e6becde3fddece48f5382992836ec077d2f853604e94e9
MD5 5969e85a5a4a681db1869dcebe72a866
BLAKE2b-256 cbc7543f8175c1c8013a050ec69ff6b52a277c78c8d96bd6dce1be0574d8a2de

See more details on using hashes here.

File details

Details for the file pylocalauth-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: pylocalauth-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 12.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.28.1

File hashes

Hashes for pylocalauth-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c39d480dbc1729098aabffafc2bbc355f75740ef6aa30d55fe55420a546984fa
MD5 3b14cb6f1de7781af63e258df2ff6da6
BLAKE2b-256 a4f679fe7a97d73064ca9dd11460405ef2e9a12bce188023720de54c29445a58

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