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 input.txt output.csv
python -m password-converter 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.4.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.4-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: password_converter-0.2.4.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.4.tar.gz
Algorithm Hash digest
SHA256 5a752fa8830d621b9aa249c69d284d543280ae70180e134494b0881ab570c82e
MD5 60a04d83feaad17f96fbc97ca980ddf4
BLAKE2b-256 60c98d16b155923e44566c9906360e4f628619e0ddae1b6d8e902b538b20a3a0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for password_converter-0.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 fba244d241885cd23816e408dcb630ea5fc1738204a13b3c0151e380db438997
MD5 3ef9bd16b13f3d62267a258df002e757
BLAKE2b-256 fedce4d200746c1a9e26527f3ab7608131473aa9df05675afea0abfb0a353033

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