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.0.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.0.tar.gz.
File metadata
- Download URL: pyacnt-1.0.0.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 |
f35e0b75fb76e1e2e8b7b98074a6c194f833ff49ed4b61b86487782056c83bf3
|
|
| MD5 |
2a747ca69e350fc54d23b7fe69d46323
|
|
| BLAKE2b-256 |
708097e68f30e88ee927d94368e4c158ef4d81cdb449bb480a26924db7fcf9d9
|
File details
Details for the file pyacnt-1.0.0-py3-none-any.whl.
File metadata
- Download URL: pyacnt-1.0.0-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 |
e306f9872f3fdf9d0e9a2b39c2107ae8031162f0855d14880f315b924187922c
|
|
| MD5 |
f32ea879767a7a93d6dfbca55ba0aaa2
|
|
| BLAKE2b-256 |
b87f8f90ffef993f2fabeca214db4a696e8e4ad3a28701cfd5b8555bbe05e5fb
|