Skip to main content

proton-camoufox

Python-библиотека для работы с Proton Mail через Camoufox и Playwright. Поддерживает вход, регистрацию с ручным прохождением проверки, просмотр и поиск писем. Независимый проект, не связанный с Proton.

Установка

Требуется Python 3.10 или новее. После установки пакета загрузите браузер Camoufox:

py -m pip install proton-camoufox
py -m camoufox fetch

Для установки из исходного кода используйте py -m pip install .. Файл requirements.txt содержит зависимости проекта для установки из каталога исходников.

Примеры

Примеры находятся в папке examples/ исходного проекта:

  • examples/login.py — вход и вывод тем последних писем;
  • examples/register.py — регистрация;
  • examples/proxy.py — вход через прокси с необязательной авторизацией на прокси.

Логин и пароль передаются через переменные окружения PROTON_USERNAME и PROTON_PASSWORD. Пример запуска в PowerShell:

$env:PROTON_USERNAME = "example@proton.me"
$env:PROTON_PASSWORD = "ваш-пароль"
py examples/login.py

Для регистрации используйте желаемый логин в PROTON_USERNAME и запустите py examples/register.py. Чтобы сохранить фразу восстановления, задайте путь через PROTON_RECOVERY_FILE. Для примера с прокси задайте PROXY_SERVER (например, http://127.0.0.1:8080); при необходимости также задайте PROXY_USERNAME и PROXY_PASSWORD, затем запустите py examples/proxy.py.

Интерфейс Proton может меняться и влиять на работу автоматизации.

Release files for proton-camoufox 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for proton-camoufox 0.1.0
File Size Uploaded
proton_camoufox-0.1.0.tar.gz 21.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for proton-camoufox 0.1.0
File Interpreter ABI Platform
proton_camoufox-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 41.7 kB

Release files / proton_camoufox-0.1.0.tar.gz

Download URL proton_camoufox-0.1.0.tar.gz
Size 21.2 kB
Tags Source
SHA-256 checksum
How to use checksums
f7069a7258e444b0d43ff90ad37bdaf3efb0ec1fc80cd702ea44db6e75906782
BLAKE2b-256 checksum
How to use checksums
e4c6f5e644dc4ff0ce886b238453b673dabfb5e0fb60aa5ba03f33efcb96a5a0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 24, 2026.

Transparency log

Release files / proton_camoufox-0.1.0-py3-none-any.whl

Download URL proton_camoufox-0.1.0-py3-none-any.whl
Size 20.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
55a31ef674a92f41996d082dab6fab9d36ba6c80b5d18ce5981dc532591d7daa
BLAKE2b-256 checksum
How to use checksums
058ab086afebd1e8269913284a47b25f6430beb0af77a8c0d2fc9377560e92f6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 24, 2026.

Transparency log

Release history Release notifications | RSS feed

0.1.2

2 release files

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page