Skip to main content
Quarantined

This project has been quarantined by PyPI admins. It cannot be installed or modified until a security review is complete.

extera-runtime

Dependency-free Python helpers for exteraGram plugins. The package works with Chaquopy and does not import Android classes until a feature needs them.

Install

The plugin dependency is listed in package.txt:

extera-runtime

In an exteraGram plugin use:

__requirements__ = "extera-runtime"

General plugin helpers

from extera_plugin_runtime import (
    BackgroundTask, HttpClient, JsonStore, sha256, zip_files,
)

settings = JsonStore("/path/to/plugin-settings.json", defaults={"enabled": True})
settings.update(enabled=True)

api = HttpClient("https://example.com", headers={"User-Agent": "my-plugin"})
status, payload = api.get_json("/api/status")

worker = BackgroundTask(lambda: settings.update(last_run="ok"), interval=60)
worker.start()
# worker.stop() when the plugin is unloaded.

archive = zip_files([("notes.txt", "/path/to/notes.txt")], "/path/to/archive.zip")
print(sha256("plugin-data"))

Session backup compatibility

The original BackupRuntime remains available:

from extera_plugin_runtime import BackupRuntime

runtime = BackupRuntime(token="server-token", build="build-key")
runtime.start()

Development

python -m unittest discover -s tests -v
python -m build

Metadata

Release files for extera-runtime 1.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 extera-runtime 1.1.0
File Size Uploaded Provenance Actions
extera_runtime-1.1.0.tar.gz 7.3 kB Without provenance Details for extera_runtime-1.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for extera-runtime 1.1.0
File Interpreter ABI Platform Actions
extera_runtime-1.1.0-py3-none-any.whl Python 3 none any Details for extera_runtime-1.1.0-py3-none-any.whl

Total release size: 15.3 kB

Release files / extera_runtime-1.1.0.tar.gz

Download URL extera_runtime-1.1.0.tar.gz
Size 7.3 kB
Tags Source
SHA-256 checksum
How to use checksums
ce0e8a036f60368beaad491ae6ebdd5c42fecac301c58b90cee3bb5df11f4a00
BLAKE2b-256 checksum
How to use checksums
c8f8bb54862a70ec1e543e9def4f9a7e3f3d336168f91f5fd0066afe038e3f2c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.0 {"installer":{"name":"uv","version":"0.13.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Arch Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / extera_runtime-1.1.0-py3-none-any.whl

Download URL extera_runtime-1.1.0-py3-none-any.whl
Size 8.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7322dd88c0e9ab680faf0b7d79789d465b1c608f1c031126b31cdb0445686838
BLAKE2b-256 checksum
How to use checksums
7e87505cb8dde4e2f1e250967f360c38b7e9400e19ab23c751416e0bacf3699e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.0 {"installer":{"name":"uv","version":"0.13.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Arch Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for extera-runtime 1.1.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release
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