auth-package


Nameauth-package JSON
Version 1.4 PyPI version JSON
download
home_pagehttps://www.ramzamani.com/
SummaryAuth package for authentication with microservices
upload_time2023-05-31 07:47:38
maintainer
docs_urlNone
authorRamin Zamanighiri
requires_python
licensemit
keywords microservices auth package api
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            Auth package is crated for authenticating user for microservices.
It is in beta version and I don't recomd to use it for production until the stable release.

In order to use auth package first install the package by 

pip install auth-package==1.1

then import it 

from auth_package import user, permission

api_key = 'test_api_e56643c8-2311-4e25-991f-03d365243f51'

email = 'test@gmail.com'
first_name = 'test1'
last_name = 'test2'
password = 'password'

for creating user

create_user = user.create_user(email, first_name, last_name, password, api_key)
user_list = user.user_list(api_key)


for authenticating user 

authenticate = user.authenticate_user(email, password, api_key)
print(authenticate)

            

Raw data

            {
    "_id": null,
    "home_page": "https://www.ramzamani.com/",
    "name": "auth-package",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "microservices,Auth package,API",
    "author": "Ramin Zamanighiri",
    "author_email": "zamaniramin549@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/94/8d/e129eb50a0f41136a82a10f9a6a7e74b12de1a89e2e33841477ae21c7254/auth_package-1.4.tar.gz",
    "platform": null,
    "description": "Auth package is crated for authenticating user for microservices.\nIt is in beta version and I don't recomd to use it for production until the stable release.\n\nIn order to use auth package first install the package by \n\npip install auth-package==1.1\n\nthen import it \n\nfrom auth_package import user, permission\n\napi_key = 'test_api_e56643c8-2311-4e25-991f-03d365243f51'\n\nemail = 'test@gmail.com'\nfirst_name = 'test1'\nlast_name = 'test2'\npassword = 'password'\n\nfor creating user\n\ncreate_user = user.create_user(email, first_name, last_name, password, api_key)\nuser_list = user.user_list(api_key)\n\n\nfor authenticating user \n\nauthenticate = user.authenticate_user(email, password, api_key)\nprint(authenticate)\n",
    "bugtrack_url": null,
    "license": "mit",
    "summary": "Auth package for authentication with microservices",
    "version": "1.4",
    "project_urls": {
        "Download": "https://github.com/zamaniramin549/auth_project_package/archive/refs/tags/1.4.tar.gz",
        "Homepage": "https://www.ramzamani.com/"
    },
    "split_keywords": [
        "microservices",
        "auth package",
        "api"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "948de129eb50a0f41136a82a10f9a6a7e74b12de1a89e2e33841477ae21c7254",
                "md5": "241e46df6f6b49e7fbe68f9d8bac10f7",
                "sha256": "310587ad284877732246be9516f749257b525455c54ac013efcfbbc42bace1e0"
            },
            "downloads": -1,
            "filename": "auth_package-1.4.tar.gz",
            "has_sig": false,
            "md5_digest": "241e46df6f6b49e7fbe68f9d8bac10f7",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 3415,
            "upload_time": "2023-05-31T07:47:38",
            "upload_time_iso_8601": "2023-05-31T07:47:38.985294Z",
            "url": "https://files.pythonhosted.org/packages/94/8d/e129eb50a0f41136a82a10f9a6a7e74b12de1a89e2e33841477ae21c7254/auth_package-1.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-05-31 07:47:38",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "zamaniramin549",
    "github_project": "auth_project_package",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "auth-package"
}
        
Elapsed time: 0.08346s