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 password-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.2.3.tar.gz (8.2 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.2.3-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

Details for the file password_converter-0.2.3.tar.gz.

File metadata

  • Download URL: password_converter-0.2.3.tar.gz
  • Upload date:
  • Size: 8.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.11.11

File hashes

Hashes for password_converter-0.2.3.tar.gz
Algorithm Hash digest
SHA256 a3d06de704097c349c20b5b2e42c5f6e7ed3325d79b3789d896dec96820a2daa
MD5 606df4ea18401deef9a9b26c3ece7b18
BLAKE2b-256 24d48f6ea9efdc70e91ed9f42457a1792f80949ffcfe1e993a860bb7496dccb4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for password_converter-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 8ddf3805a3c1654129ee2dbb369eedff12e0753806f2a5cfcc03a95ce9f71d63
MD5 e5784384254ba4b153adbaa71cde648a
BLAKE2b-256 0f2e1d27d3ab8f1c14eaa9476d474d396e684523eabd00d5caa3c1122e010fea

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