Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

pyelement

Send messages to element.io messanger from python

Install pyelement

pip install pyelement

Usage example

element = Element(messanger_path="https://host.ru", email = "your_mail@mail.ru", password = "secret_password"))

OR use a token (preferred way). It'll not create additional session

element = Element(messanger_path="https://host.ru", token = "secret_token"))

If you don't have token get it:

element = Element(messanger_path="https://host.ru", email = "your_mail@mail.ru", password = "secret_password"))
token = element.get_token()

Send message

element.send_message(room_name="RoomName", message="Hello from pyelement!")

You can find room name in settings section of the room

Log out

element.logout()

Release files for pyelement 0.0.1b2

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

Source distribution (sdist)

Source distribution for pyelement 0.0.1b2
File Size Uploaded
pyelement-0.0.1b2.tar.gz 7.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyelement 0.0.1b2
File Interpreter ABI Platform
pyelement-0.0.1b2-py3-none-any.whl Python 3 none any Details

Total release size: 14.9 kB

Release files / pyelement-0.0.1b2.tar.gz

Download URL pyelement-0.0.1b2.tar.gz
Size 7.2 kB
Tags Source
SHA-256 checksum
How to use checksums
3dfa086233b90154f055cd5efb990223396b6e21a46c74fc42fce61bd0f8f5dd
BLAKE2b-256 checksum
How to use checksums
fbc03f9d1cb93d67ba2c2ef402f7a763ab1bd205e77ab21d31ac459ac321c503
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.11.4

Release files / pyelement-0.0.1b2-py3-none-any.whl

Download URL pyelement-0.0.1b2-py3-none-any.whl
Size 7.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1d16653de8b6a3155dea6d3d4c42a18eade45f2cb8004e557b25467ca6eebf8f
BLAKE2b-256 checksum
How to use checksums
06c6374918841620ae71fa3ae53b7efe588169bb743ecee26b89c8c3304a0548
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.11.4

Release history Release notifications | RSS feed

This release

0.0.1b2 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