[![Tests](https://github.com/mutantsan/ckanext-let-me-in/actions/workflows/test.yml/badge.svg?branch=master)](https://github.com/mutantsan/ckanext-let-me-in/actions/workflows/test.yml)
# ckanext-let-me-in
An extension that generates a one-time login link for a user by its `id`, `name` or `email`.
Use `lmi_generate_otl` API action or `ckan letmein uli` CLI command to generate an OTL link.
The link will expire in 24h, by default or after it was used.
## Requirements
Compatibility with core CKAN versions:
| CKAN version | Compatible? |
| --------------- | ----------- |
| 2.8 and earlier | no |
| 2.9 | not yet |
| 2.10+ | yes |
## Installation
1. Use `pip` to install an extension: `pip install ckanext-let-me-in`
2. Add `let_me_in` to the `ckan.plugins` setting in your CKAN config file.
## Config settings
Available configuration options:
# The number in seconds that specifies the OTL link TTL (optional, default: 86400).
ckanext.let_me_in.otl_link_ttl= 3600
## Developer installation
To install ckanext-let-me-in for development, activate your CKAN virtualenv and
do:
git clone https://github.com/mutantsan/ckanext-let-me-in.git
cd ckanext-let-me-in
python setup.py develop
## Tests
To run the tests, do:
pytest --ckan-ini=test.ini
## License
[AGPL](https://www.gnu.org/licenses/agpl-3.0.en.html)
Raw data
{
"_id": null,
"home_page": "https://github.com/mutantsan/ckanext-let-me-in",
"name": "ckanext-let-me-in",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "CKAN",
"author": "Oleksandr Cherniavskyi",
"author_email": "mutantsan@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/82/cd/37f32c8295a96df7ce8357bae967adbe6ebbdc95c21cbfe86c6d87385378/ckanext-let-me-in-1.0.1.tar.gz",
"platform": null,
"description": "[![Tests](https://github.com/mutantsan/ckanext-let-me-in/actions/workflows/test.yml/badge.svg?branch=master)](https://github.com/mutantsan/ckanext-let-me-in/actions/workflows/test.yml)\n\n# ckanext-let-me-in\n\nAn extension that generates a one-time login link for a user by its `id`, `name` or `email`.\n\nUse `lmi_generate_otl` API action or `ckan letmein uli` CLI command to generate an OTL link.\n\nThe link will expire in 24h, by default or after it was used.\n\n## Requirements\n\nCompatibility with core CKAN versions:\n\n| CKAN version | Compatible? |\n| --------------- | ----------- |\n| 2.8 and earlier | no |\n| 2.9 | not yet |\n| 2.10+ | yes |\n\n## Installation\n\n1. Use `pip` to install an extension: `pip install ckanext-let-me-in`\n2. Add `let_me_in` to the `ckan.plugins` setting in your CKAN config file.\n\n## Config settings\n\nAvailable configuration options:\n\n # The number in seconds that specifies the OTL link TTL (optional, default: 86400).\n\tckanext.let_me_in.otl_link_ttl= 3600\n\n## Developer installation\n\nTo install ckanext-let-me-in for development, activate your CKAN virtualenv and\ndo:\n\n git clone https://github.com/mutantsan/ckanext-let-me-in.git\n cd ckanext-let-me-in\n python setup.py develop\n\n## Tests\n\nTo run the tests, do:\n\n pytest --ckan-ini=test.ini\n\n## License\n\n[AGPL](https://www.gnu.org/licenses/agpl-3.0.en.html)\n",
"bugtrack_url": null,
"license": "AGPL",
"summary": "An extension that generates a one-time login link for a user",
"version": "1.0.1",
"project_urls": {
"Homepage": "https://github.com/mutantsan/ckanext-let-me-in"
},
"split_keywords": [
"ckan"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "46e37019b5893ccf98eb4ee964432999b4ba456e082b95a8028ea93dc891906b",
"md5": "b238a2c0b40fe8286a1cdb96f168d8b5",
"sha256": "e9c22361b6e5105abd7f0fc7a3541b0fbde66863190e5e4e9dd7e13560e55b92"
},
"downloads": -1,
"filename": "ckanext_let_me_in-1.0.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "b238a2c0b40fe8286a1cdb96f168d8b5",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 23086,
"upload_time": "2023-10-10T13:26:14",
"upload_time_iso_8601": "2023-10-10T13:26:14.771183Z",
"url": "https://files.pythonhosted.org/packages/46/e3/7019b5893ccf98eb4ee964432999b4ba456e082b95a8028ea93dc891906b/ckanext_let_me_in-1.0.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "82cd37f32c8295a96df7ce8357bae967adbe6ebbdc95c21cbfe86c6d87385378",
"md5": "be15ce1dd2f20852cd6325052bd913b9",
"sha256": "cc666740c55efb3817b23a8118bcefdafc9a08ff0279d312f2b7fbadbc9dc396"
},
"downloads": -1,
"filename": "ckanext-let-me-in-1.0.1.tar.gz",
"has_sig": false,
"md5_digest": "be15ce1dd2f20852cd6325052bd913b9",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 21008,
"upload_time": "2023-10-10T13:26:16",
"upload_time_iso_8601": "2023-10-10T13:26:16.031285Z",
"url": "https://files.pythonhosted.org/packages/82/cd/37f32c8295a96df7ce8357bae967adbe6ebbdc95c21cbfe86c6d87385378/ckanext-let-me-in-1.0.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-10-10 13:26:16",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "mutantsan",
"github_project": "ckanext-let-me-in",
"travis_ci": false,
"coveralls": true,
"github_actions": true,
"requirements": [],
"lcname": "ckanext-let-me-in"
}