Backend implementation of the namespace `urn:xmpp:omemo:2` for python-omemo.
Project description
python-twomemo
Backend implementation for python-omemo, equipping python-omemo with support for OMEMO under the namespace urn:xmpp:omemo:2 (casually/jokingly referred to as "twomemo").
Installation
Install the latest release using pip (pip install twomemo) 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=twomemo/ --mypy_out=twomemo/ twomemo.proto
This will generate twomemo/twomemo_pb2.py and twomemo/twomemo_pb2.pyi.
Type Checks and Linting
python-twomemo 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 twomemo/
$ pylint twomemo/
$ flake8 twomemo/
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file twomemo-2.1.0.tar.gz.
File metadata
- Download URL: twomemo-2.1.0.tar.gz
- Upload date:
- Size: 16.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1f585b959eb1a9aef411dca954153604df66d3c233b161e22a6895316821c827
|
|
| MD5 |
e58898fc82c1a18fb6b0cf05cb52bdc2
|
|
| BLAKE2b-256 |
d454ab3a151bc61771f2528a75cf7ab9d2f5ec30292402adb36974a955609793
|
Provenance
The following attestation bundles were made for twomemo-2.1.0.tar.gz:
Publisher:
test-and-publish.yml on Syndace/python-twomemo
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
twomemo-2.1.0.tar.gz -
Subject digest:
1f585b959eb1a9aef411dca954153604df66d3c233b161e22a6895316821c827 - Sigstore transparency entry: 870940012
- Sigstore integration time:
-
Permalink:
Syndace/python-twomemo@9a9c76183e8bb3bdd677df27004464a5d4954e52 -
Branch / Tag:
refs/tags/v2.1.0 - Owner: https://github.com/Syndace
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
test-and-publish.yml@9a9c76183e8bb3bdd677df27004464a5d4954e52 -
Trigger Event:
push
-
Statement type:
File details
Details for the file twomemo-2.1.0-py3-none-any.whl.
File metadata
- Download URL: twomemo-2.1.0-py3-none-any.whl
- Upload date:
- Size: 17.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dc799851d85f8badde8632511b5ad1091d9de95588a8d9c4d555764238f17f1a
|
|
| MD5 |
a0a164022c43214b663ccf3368300b0d
|
|
| BLAKE2b-256 |
c5f49ce83bc98c6cdf9df88f9a1949cb8d4f34dea7bf0ae7e34a7aebc8382e05
|
Provenance
The following attestation bundles were made for twomemo-2.1.0-py3-none-any.whl:
Publisher:
test-and-publish.yml on Syndace/python-twomemo
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
twomemo-2.1.0-py3-none-any.whl -
Subject digest:
dc799851d85f8badde8632511b5ad1091d9de95588a8d9c4d555764238f17f1a - Sigstore transparency entry: 870940016
- Sigstore integration time:
-
Permalink:
Syndace/python-twomemo@9a9c76183e8bb3bdd677df27004464a5d4954e52 -
Branch / Tag:
refs/tags/v2.1.0 - Owner: https://github.com/Syndace
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
test-and-publish.yml@9a9c76183e8bb3bdd677df27004464a5d4954e52 -
Trigger Event:
push
-
Statement type: