Skip to main content

mochi-analytics-pycord

Py-cord adapter for Mochi analytics.

Py-cord installs itself under the discord import name, exactly as discord.py does, so the two cannot coexist in one environment. Install mochi-analytics-pycord or mochi-analytics-discordpy, never both.

Install

pip install mochi-analytics mochi-analytics-pycord py-cord

Usage

import discord
from mochi_analytics import MochiClient
from mochi_analytics_pycord import attach_mochi

mochi = MochiClient(url="https://mochi.example.com", api_key="mochi_sk_...")

bot = discord.Bot(intents=discord.Intents.default())
detach = attach_mochi(bot, mochi)

An AutoShardedClient sends one snapshot per shard, each carrying that shard's own guild count.

See the Py-cord guide for the full documentation.

License

Apache-2.0

Metadata

Release files for mochi-analytics-pycord 0.2.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 mochi-analytics-pycord 0.2.0
File Size Uploaded
mochi_analytics_pycord-0.2.0.tar.gz 10.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mochi-analytics-pycord 0.2.0
File Interpreter ABI Platform
mochi_analytics_pycord-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 20.3 kB

Release files / mochi_analytics_pycord-0.2.0.tar.gz

Download URL mochi_analytics_pycord-0.2.0.tar.gz
Size 10.8 kB
Tags Source
SHA-256 checksum
How to use checksums
98a29f6b6b33b459c818d967cee0f87866c261794d941c4c38aa55a685cd31fc
BLAKE2b-256 checksum
How to use checksums
1612095dd34031edf5dfe23395727d49652ba4f15020e9a27a2860d828dc83a7
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

Release files / mochi_analytics_pycord-0.2.0-py3-none-any.whl

Download URL mochi_analytics_pycord-0.2.0-py3-none-any.whl
Size 9.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ad5c4a0c5eeefa20f214cc9b1ca5a1ccb0e3ae8b4d7ff7207941c2bfe2fa116e
BLAKE2b-256 checksum
How to use checksums
e787e68a21993b4c6062d11d1d6ebc7b5c78363a83a5a02db7d01e3d9d9d5324
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

Release history Release notifications | RSS feed

This release

0.2.0 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