Name | password-converter JSON |
Version |
0.3.0
JSON |
| download |
home_page | None |
Summary | Convert Kaspersky password manager exports to Apple Password format |
upload_time | 2024-12-30 02:07:08 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.11 |
license | MIT License Copyright (c) 2024 Daniel Lozano Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
keywords |
password
converter
apple
security
kaspersky
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# Password Converter
**Password Converter** is a Python tool designed to convert exported password files from Kaspersky Password Manager into a format compatible with Apple Passwords. This utility simplifies the migration process for users switching between password management systems.
---
## Features
- Converts Kaspersky Password Manager exports into Apple Password format.
- Validates password entries to ensure data integrity.
- Logs invalid entries with helpful error messages for troubleshooting.
- Outputs the converted data as a CSV file for easy import into Apple Passwords.
- Command-line interface (CLI) for simple usage.
---
## Installation
### Requirements
- Python 3.10 or higher.
### Install via pip
```bash
pip install password-converter
```
## Usage
### Command Line
The input.txt file is the file that is generated automatically with the Kaspersky password manager, and the output.csv is the file that is going to be generated with your passwords. You can import this .csv file directly into the Passwords app.
```bash
password-converter input.txt output.csv
password-converter input.txt output.csv --log-level DEBUG --log-file convert.log
```
### Python API
```python
from password_converter import convert_file, convert_text
# Convert a file
convert_file("input.txt", "output.csv")
# Convert text directly
text = """
Website name: example.com
Website URL: https://example.com
Login: user@example.com
Password: secretpass
Comment: My account
---
"""
entries = convert_text(text)
```
## Input Format
The input file should contain password entries separated by "---". Each entry should have the following format:
For websites:
```
Website name: Example Website
Website URL: https://example.com
Login: user@example.com
Password: secretpassword123
Comment: My favorite website
```
For applications:
```
Application: Example App
Login: user@example.com
Password: anotherpassword456
Comment:
```
## Output Format
```
Title,URL,Username,Password,Notes,OTPAuth
Example Website (user@example.com),https://example.com,user@example.com,secretpassword123,My favorite website,
Example App (user@example.com),,user@example.com,anotherpassword456,,
```
## Development
1. Clone the repository
2. Install development dependencies:
```bash
pip install -e ".[dev]"
```
3. Run tests:
```bash
pytest
```
## Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
## License
This project is licensed under the MIT License - see the LICENSE file for details.
Raw data
{
"_id": null,
"home_page": null,
"name": "password-converter",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.11",
"maintainer_email": null,
"keywords": "password, converter, apple, security, kaspersky",
"author": null,
"author_email": "Daniel Lozano G\u00f3mez <daniellg7@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/73/29/4e34d8ca8dd240c4905e1e5fc71938a54438c1f75b6689dd62cab08a8bd3/password_converter-0.3.0.tar.gz",
"platform": null,
"description": "# Password Converter\n\n**Password Converter** is a Python tool designed to convert exported password files from Kaspersky Password Manager into a format compatible with Apple Passwords. This utility simplifies the migration process for users switching between password management systems.\n\n---\n\n## Features\n\n- Converts Kaspersky Password Manager exports into Apple Password format.\n- Validates password entries to ensure data integrity.\n- Logs invalid entries with helpful error messages for troubleshooting.\n- Outputs the converted data as a CSV file for easy import into Apple Passwords.\n- Command-line interface (CLI) for simple usage.\n\n---\n\n## Installation\n\n### Requirements\n- Python 3.10 or higher.\n\n### Install via pip\n```bash\npip install password-converter\n```\n\n## Usage\n\n### Command Line\n\nThe input.txt file is the file that is generated automatically with the Kaspersky password manager, and the output.csv is the file that is going to be generated with your passwords. You can import this .csv file directly into the Passwords app.\n\n```bash\npassword-converter input.txt output.csv\npassword-converter input.txt output.csv --log-level DEBUG --log-file convert.log\n```\n\n### Python API\n\n```python\nfrom password_converter import convert_file, convert_text\n\n# Convert a file\nconvert_file(\"input.txt\", \"output.csv\")\n\n# Convert text directly\ntext = \"\"\"\nWebsite name: example.com\nWebsite URL: https://example.com\nLogin: user@example.com\nPassword: secretpass\nComment: My account\n---\n\"\"\"\nentries = convert_text(text)\n```\n\n## Input Format\n\nThe input file should contain password entries separated by \"---\". Each entry should have the following format:\n\nFor websites:\n```\nWebsite name: Example Website\nWebsite URL: https://example.com\nLogin: user@example.com\nPassword: secretpassword123\nComment: My favorite website\n```\n\nFor applications:\n```\nApplication: Example App\nLogin: user@example.com\nPassword: anotherpassword456\nComment:\n```\n\n## Output Format\n\n```\nTitle,URL,Username,Password,Notes,OTPAuth\nExample Website (user@example.com),https://example.com,user@example.com,secretpassword123,My favorite website,\nExample App (user@example.com),,user@example.com,anotherpassword456,,\n```\n\n## Development\n\n1. Clone the repository\n2. Install development dependencies:\n```bash\npip install -e \".[dev]\"\n```\n3. Run tests:\n```bash\npytest\n```\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\n## License\n\nThis project is licensed under the MIT License - see the LICENSE file for details.\n",
"bugtrack_url": null,
"license": "MIT License Copyright (c) 2024 Daniel Lozano Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ",
"summary": "Convert Kaspersky password manager exports to Apple Password format",
"version": "0.3.0",
"project_urls": {
"Documentation": "https://github.com/Mr-Physicist/kaspersky_to_apple_parser#readme",
"Homepage": "https://github.com/Mr-Physicist/kaspersky_to_apple_parser",
"Issues": "https://github.com/Mr-Physicist/kaspersky_to_apple_parser/issues",
"Repository": "https://github.com/Mr-Physicist/kaspersky_to_apple_parser.git"
},
"split_keywords": [
"password",
" converter",
" apple",
" security",
" kaspersky"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "0b63a7f198438ae55c2e1dc0f27531213877979241189f594ba5868435f2d968",
"md5": "9dda689569036aebc7e7998f3773ac8d",
"sha256": "74fe6ea585f33615902304645005195fc5fa4e108203c2701734500174736198"
},
"downloads": -1,
"filename": "password_converter-0.3.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "9dda689569036aebc7e7998f3773ac8d",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.11",
"size": 7880,
"upload_time": "2024-12-30T02:07:06",
"upload_time_iso_8601": "2024-12-30T02:07:06.452860Z",
"url": "https://files.pythonhosted.org/packages/0b/63/a7f198438ae55c2e1dc0f27531213877979241189f594ba5868435f2d968/password_converter-0.3.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "73294e34d8ca8dd240c4905e1e5fc71938a54438c1f75b6689dd62cab08a8bd3",
"md5": "a7f0b18fe3299ec5e10f15229d7b7d59",
"sha256": "2761aa79496bd54c8d06338fa32b67328882ecc01c51042bceadf859ff5cc0ad"
},
"downloads": -1,
"filename": "password_converter-0.3.0.tar.gz",
"has_sig": false,
"md5_digest": "a7f0b18fe3299ec5e10f15229d7b7d59",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.11",
"size": 8624,
"upload_time": "2024-12-30T02:07:08",
"upload_time_iso_8601": "2024-12-30T02:07:08.554897Z",
"url": "https://files.pythonhosted.org/packages/73/29/4e34d8ca8dd240c4905e1e5fc71938a54438c1f75b6689dd62cab08a8bd3/password_converter-0.3.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-12-30 02:07:08",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "Mr-Physicist",
"github_project": "kaspersky_to_apple_parser#readme",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "password-converter"
}