authivate


Nameauthivate JSON
Version 0.2.2 PyPI version JSON
download
home_pageNone
SummaryNone
upload_time2024-06-25 15:37:00
maintainerNone
docs_urlNone
authorPeter Akande
requires_python<4.0,>=3.7
licenseNone
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ## Authivate (Python SDK)

This is the official python package for the [Authivate](https://authivate.com) service.

Authivate is an easy-to-use User Authentication and Management service.

### Install
To Install, using pip
```sh
pip install authivate
```

Using poetry
```shell
poetry add authivate
```

### Example Usage

```python
from authivate import  Authivate, AuthivateConfig
from pprint import pprint



# Initialize AuthivateConfig
authivate_config = AuthivateConfig(api_key="your-api-key", project_id="project-id")

# Create an instance of Authivate
authivate_instance = Authivate(config=authivate_config)

# Add user to waitlist
"""Response
{'message': 'Yah!, you are now on the waitlist for {project name}. Please confirm your email to seal your spot'}
"""

authivate_instance.add_user_to_waitlist(authivate_instance)

# Get all users
pprint(authivate_instance.get_all_users())

"""
Response
{'user_records': [
    {'country_code': 'NG',
                'country_name': 'Nigeria',
                'date_created': '2023-12-23T04: 47: 30.776501Z',
                'fields': {
                    'email': 'email@mail.com',
                    'first_name': 'John',
                    'last_name': 'Doe'
                    },
                'is_verified': False,
                'status_in_project': 'WAITLISTED',
                'user_unique_id': 'edg0aoyleai.0iael0ya'
    },
    {'country_code': 'NG',
                'country_name': 'Nigeria',
                'date_created': '2023-12-23T04: 54: 38.697351Z',
                'fields':  {
                    'email': 'email2@mail.com',
                    'first_name': 'Peter',
                    'last_name': 'Akande'
                    },
                'is_verified': False,
                'status_in_project': 'WAITLISTED',
                'user_unique_id': 'decwc.oyeyayaiioadeb'
    }
]
}
"""

```
### PS
If you have used authivate before now June 17, 2024, what you think of authivate is definitely different from what it is now.
it was completely rewritten to support only waitlist collection.

Thanks,
Peter.
            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "authivate",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0,>=3.7",
    "maintainer_email": null,
    "keywords": null,
    "author": "Peter Akande",
    "author_email": "akandepeter86@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/93/89/49c31697bfcb467a4ca19153558f581fe3e3f993cde1647abe4756a6dbaf/authivate-0.2.2.tar.gz",
    "platform": null,
    "description": "## Authivate (Python SDK)\n\nThis is the official python package for the [Authivate](https://authivate.com) service.\n\nAuthivate is an easy-to-use User Authentication and Management service.\n\n### Install\nTo Install, using pip\n```sh\npip install authivate\n```\n\nUsing poetry\n```shell\npoetry add authivate\n```\n\n### Example Usage\n\n```python\nfrom authivate import  Authivate, AuthivateConfig\nfrom pprint import pprint\n\n\n\n# Initialize AuthivateConfig\nauthivate_config = AuthivateConfig(api_key=\"your-api-key\", project_id=\"project-id\")\n\n# Create an instance of Authivate\nauthivate_instance = Authivate(config=authivate_config)\n\n# Add user to waitlist\n\"\"\"Response\n{'message': 'Yah!, you are now on the waitlist for {project name}. Please confirm your email to seal your spot'}\n\"\"\"\n\nauthivate_instance.add_user_to_waitlist(authivate_instance)\n\n# Get all users\npprint(authivate_instance.get_all_users())\n\n\"\"\"\nResponse\n{'user_records': [\n    {'country_code': 'NG',\n                'country_name': 'Nigeria',\n                'date_created': '2023-12-23T04: 47: 30.776501Z',\n                'fields': {\n                    'email': 'email@mail.com',\n                    'first_name': 'John',\n                    'last_name': 'Doe'\n                    },\n                'is_verified': False,\n                'status_in_project': 'WAITLISTED',\n                'user_unique_id': 'edg0aoyleai.0iael0ya'\n    },\n    {'country_code': 'NG',\n                'country_name': 'Nigeria',\n                'date_created': '2023-12-23T04: 54: 38.697351Z',\n                'fields':  {\n                    'email': 'email2@mail.com',\n                    'first_name': 'Peter',\n                    'last_name': 'Akande'\n                    },\n                'is_verified': False,\n                'status_in_project': 'WAITLISTED',\n                'user_unique_id': 'decwc.oyeyayaiioadeb'\n    }\n]\n}\n\"\"\"\n\n```\n### PS\nIf you have used authivate before now June 17, 2024, what you think of authivate is definitely different from what it is now.\nit was completely rewritten to support only waitlist collection.\n\nThanks,\nPeter.",
    "bugtrack_url": null,
    "license": null,
    "summary": null,
    "version": "0.2.2",
    "project_urls": null,
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "fe5736b98b95a3c8884720caec41d5d7504c23fc985166bfe2c65b12bb6c0d6d",
                "md5": "1d58afd5d4994921522daf90abf2dd69",
                "sha256": "60a666a637a8707a9d62174cad5c4a3f2913fb56097e4c297ee7be9ea48ae8d2"
            },
            "downloads": -1,
            "filename": "authivate-0.2.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "1d58afd5d4994921522daf90abf2dd69",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.7",
            "size": 6327,
            "upload_time": "2024-06-25T15:36:59",
            "upload_time_iso_8601": "2024-06-25T15:36:59.078532Z",
            "url": "https://files.pythonhosted.org/packages/fe/57/36b98b95a3c8884720caec41d5d7504c23fc985166bfe2c65b12bb6c0d6d/authivate-0.2.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "938949c31697bfcb467a4ca19153558f581fe3e3f993cde1647abe4756a6dbaf",
                "md5": "3c6690f76c3c2c9b7c9b224c1f0e6ecd",
                "sha256": "3fdceb4721145457e327d1535e1d1485368d9ed4ef3c9aa3cf4e839fb8447c45"
            },
            "downloads": -1,
            "filename": "authivate-0.2.2.tar.gz",
            "has_sig": false,
            "md5_digest": "3c6690f76c3c2c9b7c9b224c1f0e6ecd",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.7",
            "size": 8365,
            "upload_time": "2024-06-25T15:37:00",
            "upload_time_iso_8601": "2024-06-25T15:37:00.497274Z",
            "url": "https://files.pythonhosted.org/packages/93/89/49c31697bfcb467a4ca19153558f581fe3e3f993cde1647abe4756a6dbaf/authivate-0.2.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-06-25 15:37:00",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "authivate"
}
        
Elapsed time: 0.54096s