# AuthSys
![GitHub stars](https://img.shields.io/github/stars/IceBytes/AuthSys?style=social)
![GitHub followers](https://img.shields.io/github/followers/IceBytes?style=social)
## Introduction
AuthSys is a Python library for Memberships system.
## Installation
You can install AuthSys using pip:
```bash
pip install AuthSys
```
## Usage
### Initialization
```python
from AuthSys import AuthSys
auth = AuthSys()
```
### Login
```python
# Logging in with a key and access token
response = auth.login(key="your_key", access_token="your_access_token")
print(response)
```
### Registration
```python
# Registering a new user
response = auth.register(time="registration_time")
print(response)
```
### Removing a user
```python
# Removing a user using their key and authentication secret
response = auth.remove(key="user_key", secret_auth="user_secret_auth")
print(response)
```
### Editing user information
```python
# Editing user information
response = auth.edit(key="user_key", auth="user_auth", time="new_time")
print(response)
```
## Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
## License
[MIT](https://choosealicense.com/licenses/mit/)
Raw data
{
"_id": null,
"home_page": "https://github.com/IceBytes/AuthSys/",
"name": "AuthSys",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "AuthSys, Membership, Python library",
"author": "Just Ice",
"author_email": "MrAws.developer@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/06/77/57d0d93bb36c90c447e73fde9b9989fc6d957298f091653b97e7e9db6bc4/authsys-0.0.3.tar.gz",
"platform": null,
"description": "\n# AuthSys\n\n![GitHub stars](https://img.shields.io/github/stars/IceBytes/AuthSys?style=social)\n![GitHub followers](https://img.shields.io/github/followers/IceBytes?style=social)\n\n## Introduction\nAuthSys is a Python library for Memberships system.\n\n## Installation\nYou can install AuthSys using pip:\n```bash\npip install AuthSys\n```\n\n## Usage\n\n### Initialization\n```python\nfrom AuthSys import AuthSys\n\nauth = AuthSys()\n```\n\n### Login\n```python\n# Logging in with a key and access token\nresponse = auth.login(key=\"your_key\", access_token=\"your_access_token\")\nprint(response)\n```\n\n### Registration\n```python\n# Registering a new user\nresponse = auth.register(time=\"registration_time\")\nprint(response)\n```\n\n### Removing a user\n```python\n# Removing a user using their key and authentication secret\nresponse = auth.remove(key=\"user_key\", secret_auth=\"user_secret_auth\")\nprint(response)\n```\n\n### Editing user information\n```python\n# Editing user information\nresponse = auth.edit(key=\"user_key\", auth=\"user_auth\", time=\"new_time\")\nprint(response)\n```\n\n## Contributing\nPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.\n\nPlease make sure to update tests as appropriate.\n\n## License\n[MIT](https://choosealicense.com/licenses/mit/)\n",
"bugtrack_url": null,
"license": null,
"summary": "AuthSys is a Python library Allows you to create a membership system, so you add keys to your tools.",
"version": "0.0.3",
"project_urls": {
"Bug Reports": "https://github.com/IceBytes/AuthSys/issues",
"Documentation": "https://github.com/IceBytes/AuthSys/",
"Homepage": "https://github.com/IceBytes/AuthSys/",
"Source": "https://github.com/IceBytes/AuthSys/"
},
"split_keywords": [
"authsys",
" membership",
" python library"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "ca88f83d37fbe11c989d002fe8b6d989da330f7e4f46510d6e1bdc5058ff9cde",
"md5": "64b87dce958f318735b11250471526ee",
"sha256": "9f29538863f36d07737739988cb1019bb1f8bfe5771d446f18e61c7cf8e73c62"
},
"downloads": -1,
"filename": "AuthSys-0.0.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "64b87dce958f318735b11250471526ee",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 9426,
"upload_time": "2024-05-03T19:37:38",
"upload_time_iso_8601": "2024-05-03T19:37:38.472127Z",
"url": "https://files.pythonhosted.org/packages/ca/88/f83d37fbe11c989d002fe8b6d989da330f7e4f46510d6e1bdc5058ff9cde/AuthSys-0.0.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "067757d0d93bb36c90c447e73fde9b9989fc6d957298f091653b97e7e9db6bc4",
"md5": "ee77b76d1d5f026e7254c86f050449d4",
"sha256": "da06bae840e571065dd8f8f04efa2dd55c358ccb7d2f14907f3ddabbe3f19aa9"
},
"downloads": -1,
"filename": "authsys-0.0.3.tar.gz",
"has_sig": false,
"md5_digest": "ee77b76d1d5f026e7254c86f050449d4",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 9731,
"upload_time": "2024-05-03T19:37:40",
"upload_time_iso_8601": "2024-05-03T19:37:40.193066Z",
"url": "https://files.pythonhosted.org/packages/06/77/57d0d93bb36c90c447e73fde9b9989fc6d957298f091653b97e7e9db6bc4/authsys-0.0.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-05-03 19:37:40",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "IceBytes",
"github_project": "AuthSys",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "authsys"
}