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.1.1.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.1-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: password_converter-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 80de48a3e42095b2a4000fc5a770b0fa5c936192ee3d2d7ac2d2e2542f7d62a2
MD5 eed5ce0eace5c7dfc409cc80e1d8917e
BLAKE2b-256 7f1e44b10c52d1335bc9fb00b0bfb9881721e0d4d7f415d1cfb75859f732182f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for password_converter-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fcfdc90138d07f001fd3527e52398017dc63ac0a512cf0d33b512c04bb8b5696
MD5 c31bc9ba31eca14b72f625d03127c4ae
BLAKE2b-256 91238fc6c55573389c8d88577b20567aa253a586adcffee289a1f78337072a1a

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