Skip to main content

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

  1. Clone the repository
  2. Install development dependencies:
pip install -e ".[dev]"
  1. 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

password_converter-0.1.0.tar.gz (8.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

password_converter-0.1.0-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

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

Hashes for password_converter-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c7b8896604586782f68ff49cf884f65032ec7965943b10ac2f460760985f8d5b
MD5 93301a4806f461ab6065dafe99fa517f
BLAKE2b-256 5d95db02b4b8cdd8c23e13db19e5551f756a7c15942d1faf314e9f6efdaed657

See more details on using hashes here.

File details

Details for the file password_converter-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for password_converter-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f8086d491228280748bbf618ee2d3db076a685e19ae2b6874da884202d7f6261
MD5 9237d28670e54e120473bd0e38f9db3e
BLAKE2b-256 288eaeb58e874414adde6ca24b4d12071491df34a5e9fb6053dd8b4a32825be6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page