Manage user profiles easily in Python
Project description
Pyaccount (or Pyacnt)
Pyaccount is a Python extension that allows you to manage profiles: easily create, connect, delete, add data, read data and greet users.
Installation
pip install pyaccount
Usage
import pyaccount
# Create an account
pyaccount.enter("Alice", "password123")
# Log in
pyaccount.connect("Alice", "password123")
# Welcome message
pyaccount.welcome("Alice")
# Add data
pyaccount.set_data("Alice", "age", 20)
# Read data
print(pyaccount.get_data("Alice", "age"))
# Disconnect
pyaccount.exit("Alice")
Commands
| Command | Description |
|---|---|
enter(name, password) |
Create an account |
connect(name, password) |
Log in |
exit(name) |
Disconnect |
welcome(name) |
Display welcome message |
set_data(name, key, value) |
Add data to account |
get_data(name, key) |
Read data from account |
💡 Passwords are secured using SHA-256 hashing.
License
MIT
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
pyacnt-1.0.1.tar.gz
(2.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyacnt-1.0.1.tar.gz.
File metadata
- Download URL: pyacnt-1.0.1.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6c7ebd98de6bf37d4165edb89e4744cecf3dfa8d65817c05061936dcfa31a404
|
|
| MD5 |
79fcb96ffd779bcb0365f8a2cd07003a
|
|
| BLAKE2b-256 |
3abfb365db01862dfa86131b2ea09017350f4e1c7cbaac05fe23908389c2147b
|
File details
Details for the file pyacnt-1.0.1-py3-none-any.whl.
File metadata
- Download URL: pyacnt-1.0.1-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
586c48d8f1b11c44209de59e2060532d86ee8ff4d983ddeac6b82c930867c348
|
|
| MD5 |
8c5e95282caff18961b3a53652a0fd5e
|
|
| BLAKE2b-256 |
a29ba967a9e1d1ff059538548409e1785ff688bd71e9403676a55ca460d53173
|