Skip to main content

Manage user profiles easily in Python

Project description

Pyacnt

Pyacnt is a Python extension that allows you to manage profiles: easily create, connect, delete, add data, read data and greet users.

Installation

pip install pyacnt

Usage

import pyacnt

# Create an account
pyacnt.enter("Alice", "password123")

# Log in
pyacnt.connect("Alice", "password123")

# Welcome message
pyacnt.welcome("Alice")

# Add data
pyacnt.set_data("Alice", "age", 20)

#Delete data
pyacnt.delete_data("Alice", "age")

#Change data
pyacnt.change_data("Alice", "age", "21")

# Read data
pyacnt.get_data("Alice", "age")

# Disconnect
pyacnt.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
delete_data(name, key) Delete data from account
change_data(name, key, value) Change 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.3.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

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

pyacnt-1.0.3-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file pyacnt-1.0.3.tar.gz.

File metadata

  • Download URL: pyacnt-1.0.3.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for pyacnt-1.0.3.tar.gz
Algorithm Hash digest
SHA256 d9ee0bc33d7d2f645cad75d825afcac08275ddeb9b8321bfd5a72f9051aca05b
MD5 19eea54dfa5f6d0564fdc47d6435b7cd
BLAKE2b-256 3cba68b3a5b4663a5eaf65943e7b90cde152d613c993e9c294cfc19e61f634f3

See more details on using hashes here.

File details

Details for the file pyacnt-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: pyacnt-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for pyacnt-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 b759ccba8eecd5fb8717d32e5bbf11b904058c7ae287570b73562f7ad0896f5c
MD5 ad9bea39580016f488916d31fab17974
BLAKE2b-256 de0a4f676d6ba49e788fd1216bbdc67b8bfd55e667837aa1d87e3aa1fea5b9af

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