nextcloud-talk-core
A reusable, MCP-free Python client for the Nextcloud Talk (Spreed) OCS API.
This is the shared core extracted from
nextcloud-talk-mcp: the HTTP/OCS layer, typed models,
config, and errors, with no dependency on any MCP framework — so other projects
(e.g. a polling bridge) can depend on it directly.
Install
pip install nextcloud-talk-core
Or pin to a Git tag without PyPI:
pip install "git+https://github.com/leiverkus/nextcloud-talk-mcp.git@core-v1.0.1#subdirectory=packages/nextcloud-talk-core"
Use
from nextcloud_talk_core import TalkClient
# Reads NC_URL / NC_USER / NC_APP_PASSWORD (use an app password, not your login).
with TalkClient.from_env() as talk:
for c in talk.list_conversations():
print(c.token, c.name, c.unread)
msg = talk.send_message("<token>", "Hello from nextcloud-talk-core")
print(msg.id)
Public API
TalkClient (one method per Talk operation, returning typed models),
OCSClient (low-level OCS HTTP), Settings, the models (Conversation,
Message, Attachment, Participant, Mention, Reaction), the error
hierarchy (NextcloudTalkError and subclasses), and permissions_from_flags.
All re-exported from the package root.
This surface is a SemVer-stable contract: breaking changes require a major
version (and a new core-vX.Y.Z tag). See CHANGELOG.md.
License
MIT © Patrick Leiverkus
Metadata
Release files for nextcloud-talk-core 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| nextcloud_talk_core-1.0.2.tar.gz | 14.8 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nextcloud_talk_core-1.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 26.6 kB
Release files / nextcloud_talk_core-1.0.2.tar.gz
| Download URL | nextcloud_talk_core-1.0.2.tar.gz |
|---|---|
| Size | 14.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7f2dcfd42224c24b1c639ad0b8d7e93821e7c535e29f707fc1771a14a8d1570b
|
|
BLAKE2b-256 checksum How to use checksums |
36a58b87b54bb1a9a267cded1ff8ab8e20c6d29ccec929cbbf020514272ea672
|
| 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 Jun 1, 2026.
Transparency logRelease files / nextcloud_talk_core-1.0.2-py3-none-any.whl
| Download URL | nextcloud_talk_core-1.0.2-py3-none-any.whl |
|---|---|
| Size | 11.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a953a08023d561556d4d3ee790602c1f0b14dac4b6bc70dc2f8c80c6b9a165cf
|
|
BLAKE2b-256 checksum How to use checksums |
7e4459b58ef0a65b944b5911716f822f3802df8717efe94375309eff6c705e38
|
| 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 Jun 1, 2026.
Transparency logSecurity for nextcloud-talk-core 1.0.2
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.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for nextcloud_talk_core-1.0.2.tar.gz
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 Jun 1, 2026.
Transparency logA 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.