Skip to main content

Backend implementation of the namespace `eu.siacs.conversations.axolotl` for python-omemo.

Project description

PyPI PyPI - Python Version Build Status Documentation Status

python-oldmemo

Backend implementation for python-omemo, equipping python-omemo with support for OMEMO under the namespace eu.siacs.conversations.axolotl (casually/jokingly referred to as "oldmemo").

This repository is based on python-twomemo and will be rebased on top of new commits to that repository regularly, so expect commit hashes to be unstable. For the same reason, release tags might not be available or point to non-existing commit hashes.

Installation

Install the latest release using pip (pip install oldmemo) or manually from source by running pip install . in the cloned repository.

Protobuf

Install protoc. Then, in the root directory of this repository, run:

$ pip install --upgrade .[dev]
$ protoc --python_out=oldmemo/ --mypy_out=oldmemo/ oldmemo.proto

This will generate oldmemo/oldmemo_pb2.py and oldmemo/oldmemo_pb2.pyi.

Type Checks and Linting

python-oldmemo uses mypy for static type checks and both pylint and Flake8 for linting. All checks can be run locally with the following commands:

$ pip install --upgrade .[lint]
$ mypy oldmemo/
$ pylint oldmemo/
$ flake8 oldmemo/

Getting Started

Refer to the documentation on readthedocs.io, or build it locally. Additional requirements to build the docs can be installed using pip install .[docs]. With all dependencies installed, run make html in the docs/ directory. The documentation can then be found in docs/_build/html/.

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

oldmemo-2.0.0.tar.gz (38.6 kB view details)

Uploaded Source

Built Distribution

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

oldmemo-2.0.0-py3-none-any.whl (40.3 kB view details)

Uploaded Python 3

File details

Details for the file oldmemo-2.0.0.tar.gz.

File metadata

  • Download URL: oldmemo-2.0.0.tar.gz
  • Upload date:
  • Size: 38.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for oldmemo-2.0.0.tar.gz
Algorithm Hash digest
SHA256 ad3031417db10bed9e0b593c24048a61136651e6fce6efaacd86bfaa72ad2424
MD5 5c1535b827ddf871d682fe6def1f6575
BLAKE2b-256 1823cbfcb68ee32cea59e4c15071b004ebea6dd159b5c79e00c34aa82a4f9773

See more details on using hashes here.

Provenance

The following attestation bundles were made for oldmemo-2.0.0.tar.gz:

Publisher: test-and-publish.yml on Syndace/python-oldmemo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file oldmemo-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: oldmemo-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 40.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for oldmemo-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 99a341d58411ecca3388f294378558966259679d263a97da7dfd69f01be8f97e
MD5 097b94e66770356541029c898cbd9578
BLAKE2b-256 377a544c24dbb2329834618f427308780d86df8e1d3044c51504282e436f8db0

See more details on using hashes here.

Provenance

The following attestation bundles were made for oldmemo-2.0.0-py3-none-any.whl:

Publisher: test-and-publish.yml on Syndace/python-oldmemo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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