Convert Kaspersky password manager exports to Apple Password format
Project description
Password Converter
A Python tool for converting Kaspersky password manager exports to Apple Password format.
Features
- Convert password exports to Apple Password CSV format
- Support for both website and application passwords
- Robust error handling and validation
- Detailed logging
- Command-line interface
- Python API for programmatic usage
Installation
pip install kaspersky-apple-converter
Usage
Command Line
python -m password_converter convert input.txt output.csv
python -m password_converter convert input.txt output.csv --log-level DEBUG --log-file convert.log
Python API
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.com
Website URL: https://example.com
Login: username
Password: password123
Comment: Optional comment
For applications:
Application: AppName
Login: username
Password: password123
Comment: Optional comment
Development
- Clone the repository
- Install development dependencies:
pip install -e ".[dev]"
- Run tests:
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.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file password_converter-0.1.0.tar.gz.
File metadata
- Download URL: password_converter-0.1.0.tar.gz
- Upload date:
- Size: 8.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c7b8896604586782f68ff49cf884f65032ec7965943b10ac2f460760985f8d5b
|
|
| MD5 |
93301a4806f461ab6065dafe99fa517f
|
|
| BLAKE2b-256 |
5d95db02b4b8cdd8c23e13db19e5551f756a7c15942d1faf314e9f6efdaed657
|
File details
Details for the file password_converter-0.1.0-py3-none-any.whl.
File metadata
- Download URL: password_converter-0.1.0-py3-none-any.whl
- Upload date:
- Size: 7.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f8086d491228280748bbf618ee2d3db076a685e19ae2b6874da884202d7f6261
|
|
| MD5 |
9237d28670e54e120473bd0e38f9db3e
|
|
| BLAKE2b-256 |
288eaeb58e874414adde6ca24b4d12071491df34a5e9fb6053dd8b4a32825be6
|