# Locksys
Locksys is a Python library by Lifsys, Inc. for securely retrieving API keys from 1Password vaults using the 1Password Connect SDK.
## Installation
You can install Locksys using pip:
```
pip install locksys
```
## Usage
Here's a quick example of how to use Locksys:
```python
from locksys import Locksys
# Initialize Locksys with a vault name (default is "API")
lock = Locksys("MyVault")
# Retrieve an API key
api_key = lock.item("MyItem").key("API_KEY").results()
print(f"Retrieved API key: {api_key}")
```
## Features
- Secure retrieval of API keys from 1Password vaults
- Caching of 1Password client for improved performance
- Simple and intuitive API
## Requirements
- Python 3.6+
- 1Password Connect SDK
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
## Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
## Support
If you encounter any problems or have any questions, please open an issue on the GitHub repository.
Raw data
{
"_id": null,
"home_page": "https://github.com/yourusername/locksys",
"name": "locksys",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": null,
"keywords": null,
"author": "Mark Powers",
"author_email": "mpoweru@lifsys.com",
"download_url": "https://files.pythonhosted.org/packages/83/90/f5ecc3df994348c80c4ce6b2825924d9b29bb68562e10e500583421b8278/locksys-0.1.0.tar.gz",
"platform": null,
"description": "# Locksys\n\nLocksys is a Python library by Lifsys, Inc. for securely retrieving API keys from 1Password vaults using the 1Password Connect SDK.\n\n## Installation\n\nYou can install Locksys using pip:\n\n```\npip install locksys\n```\n\n## Usage\n\nHere's a quick example of how to use Locksys:\n\n```python\nfrom locksys import Locksys\n\n# Initialize Locksys with a vault name (default is \"API\")\nlock = Locksys(\"MyVault\")\n\n# Retrieve an API key\napi_key = lock.item(\"MyItem\").key(\"API_KEY\").results()\n\nprint(f\"Retrieved API key: {api_key}\")\n```\n\n## Features\n\n- Secure retrieval of API keys from 1Password vaults\n- Caching of 1Password client for improved performance\n- Simple and intuitive API\n\n## Requirements\n\n- Python 3.6+\n- 1Password Connect SDK\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\n## Support\n\nIf you encounter any problems or have any questions, please open an issue on the GitHub repository.\n",
"bugtrack_url": null,
"license": null,
"summary": "A Python library for securely retrieving API keys from 1Password",
"version": "0.1.0",
"project_urls": {
"Homepage": "https://github.com/yourusername/locksys"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "72c696c91fa935cc824d40422b8c9bac538bdcf7e9810aa1b4cc7f747e8baa17",
"md5": "6becd6c9c0bd56a02c2734b6d0f6775b",
"sha256": "472a68205a16c0be4e2762cd6bb8eb69c0de7f0893605c86ff397f9e2013fbe4"
},
"downloads": -1,
"filename": "locksys-0.1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "6becd6c9c0bd56a02c2734b6d0f6775b",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 3683,
"upload_time": "2024-08-04T14:14:32",
"upload_time_iso_8601": "2024-08-04T14:14:32.879537Z",
"url": "https://files.pythonhosted.org/packages/72/c6/96c91fa935cc824d40422b8c9bac538bdcf7e9810aa1b4cc7f747e8baa17/locksys-0.1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "8390f5ecc3df994348c80c4ce6b2825924d9b29bb68562e10e500583421b8278",
"md5": "148c0ea4ca7aa1c180ffb5e9c6d9b9e4",
"sha256": "ad7005ebcf4049ac1d6904112d5d88ad8e8c55fb13fd884d7792d95cc7db5a03"
},
"downloads": -1,
"filename": "locksys-0.1.0.tar.gz",
"has_sig": false,
"md5_digest": "148c0ea4ca7aa1c180ffb5e9c6d9b9e4",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 3317,
"upload_time": "2024-08-04T14:14:37",
"upload_time_iso_8601": "2024-08-04T14:14:37.870515Z",
"url": "https://files.pythonhosted.org/packages/83/90/f5ecc3df994348c80c4ce6b2825924d9b29bb68562e10e500583421b8278/locksys-0.1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-08-04 14:14:37",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "yourusername",
"github_project": "locksys",
"github_not_found": true,
"lcname": "locksys"
}