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.1.0.tar.gz (37.0 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.1.0-py3-none-any.whl (38.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for oldmemo-2.1.0.tar.gz
Algorithm Hash digest
SHA256 06d891d1f0b57a08773cfca0270b35f3d82f6e38a1b2c52bcb94b14a1f913758
MD5 c1c82783d9816491a2ba2eba29d7f29a
BLAKE2b-256 e6fbefab6bd38d0b7e1faa41980c53a1b2008fc15cd52140f6cf09481894663c

See more details on using hashes here.

Provenance

The following attestation bundles were made for oldmemo-2.1.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.1.0-py3-none-any.whl.

File metadata

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

File hashes

Hashes for oldmemo-2.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8081164ff9d2d621624841efbb4b9b0b26ab59b32225ee0ca9351d4d265ca70a
MD5 7198cff1a3b44abd9031b1c7c95f74c1
BLAKE2b-256 797dea851d1d967e7427153dec064b44143f52167d496c70c6251caa2b5f053f

See more details on using hashes here.

Provenance

The following attestation bundles were made for oldmemo-2.1.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