mochi-analytics-hikari
hikari adapter for Mochi analytics.
Install
pip install mochi-analytics mochi-analytics-hikari hikari
Usage
import hikari
from mochi_analytics import MochiClient
from mochi_analytics_hikari import attach_mochi
mochi = MochiClient(url="https://mochi.example.com", api_key="mochi_sk_...")
bot = hikari.GatewayBot(token="...")
detach = attach_mochi(bot, mochi)
bot.run()
hikari runs every shard inside one process, so one snapshot is sent per shard, each carrying that shard's own guild count.
hikari has no built-in command framework, so attach_mochi records commands
straight off InteractionCreateEvent. For accurate success and duration,
pass auto_track_commands=False and wrap your handlers with wrap_command.
See the hikari guide for the full documentation.
License
Apache-2.0
Metadata
Release files for mochi-analytics-hikari 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mochi_analytics_hikari-0.2.0.tar.gz | 11.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mochi_analytics_hikari-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 20.5 kB
Release files / mochi_analytics_hikari-0.2.0.tar.gz
| Download URL | mochi_analytics_hikari-0.2.0.tar.gz |
|---|---|
| Size | 11.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
aa796d07078ec9173518037839ce9b1b84666e607242914942d0c978d1ee156c
|
|
BLAKE2b-256 checksum How to use checksums |
93ea99bfe9c5dc8260d96a6cffcd421060872e52ffcec70e5e9edd0f8f6c48a0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 10, 2026.
Transparency logRelease files / mochi_analytics_hikari-0.2.0-py3-none-any.whl
| Download URL | mochi_analytics_hikari-0.2.0-py3-none-any.whl |
|---|---|
| Size | 9.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ecffe0401ec3ab46988b78863796d9f005e8042ee4def65142306f163457728a
|
|
BLAKE2b-256 checksum How to use checksums |
67bfa62fdf3b1afca3a3d0424247854783dbbed27d285cafcefeec288577d781
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 10, 2026.
Transparency log